Add stub for the new coqleq_complete'
This commit is contained in:
parent
181e06ae01
commit
96ad0a4740
5 changed files with 193 additions and 300 deletions
|
@ -3,19 +3,3 @@ From Hammer Require Import Tactics.
|
|||
Require Import ssreflect ssrbool.
|
||||
From stdpp Require Import relations (nsteps (..), rtc(..)).
|
||||
Import Psatz.
|
||||
|
||||
Lemma sn_term_metric (a b : PTm) : SN a -> SN b -> exists k, term_metric k a b.
|
||||
Proof.
|
||||
move /LoReds.FromSN => [va [ha0 ha1]].
|
||||
move /LoReds.FromSN => [vb [hb0 hb1]].
|
||||
eapply relations.rtc_nsteps in ha0.
|
||||
eapply relations.rtc_nsteps in hb0.
|
||||
hauto lq:on unfold:term_metric solve+:lia.
|
||||
Qed.
|
||||
|
||||
Lemma sn_algo_dom a b : SN a -> SN b -> algo_dom_r a b.
|
||||
Proof.
|
||||
move : sn_term_metric; repeat move/[apply].
|
||||
move => [k]+.
|
||||
eauto using term_metric_algo_dom.
|
||||
Qed.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue