From: Ferruccio Guidi Date: Thu, 9 Jun 2022 13:39:52 +0000 (+0200) Subject: update in delayed_updating X-Git-Tag: make_still_working~61 X-Git-Url: http://matita.cs.unibo.it/gitweb/?p=helm.git;a=commitdiff_plain;h=f5b6fd3125c0aefa1db23fbdd23b887fa964f385 update in delayed_updating + bug fixed in ifr allows to prove ifr_unwind_bi --- diff --git a/matita/matita/contribs/lambdadelta/delayed_updating/reduction/dfr.ma b/matita/matita/contribs/lambdadelta/delayed_updating/reduction/dfr.ma index 7ae112491..0a4b7cf1f 100644 --- a/matita/matita/contribs/lambdadelta/delayed_updating/reduction/dfr.ma +++ b/matita/matita/contribs/lambdadelta/delayed_updating/reduction/dfr.ma @@ -30,5 +30,5 @@ definition dfr (p) (q): relation2 prototerm prototerm ≝ . interpretation - "focused balanced reduction with delayed updating (prototerm)" + "focused reduction with delayed updating (prototerm)" 'BlackRightArrowDF t1 p q t2 = (dfr p q t1 t2). diff --git a/matita/matita/contribs/lambdadelta/delayed_updating/reduction/ifr.ma b/matita/matita/contribs/lambdadelta/delayed_updating/reduction/ifr.ma index 90cd693c3..6469bb2a0 100644 --- a/matita/matita/contribs/lambdadelta/delayed_updating/reduction/ifr.ma +++ b/matita/matita/contribs/lambdadelta/delayed_updating/reduction/ifr.ma @@ -16,7 +16,6 @@ include "delayed_updating/unwind/unwind2_prototerm.ma". include "delayed_updating/substitution/fsubst.ma". include "delayed_updating/syntax/prototerm_equivalence.ma". include "delayed_updating/syntax/path_head.ma". -include "delayed_updating/syntax/path_depth.ma". include "delayed_updating/syntax/path_reverse.ma". include "delayed_updating/notation/relations/black_rightarrow_f_4.ma". @@ -26,9 +25,9 @@ definition ifr (p) (q): relation2 prototerm prototerm ≝ λt1,t2. ∃n:pnat. let r ≝ p●𝗔◗𝗟◗q in ∧∧ (𝗟◗q)ᴿ = ↳[n](rᴿ) & r◖𝗱n ϵ t1 & - t1[⋔r←▼[𝐮❨♭(𝗟◗q)❩](t1⋔(p◖𝗦))] ⇔ t2 + t1[⋔r←▼[𝐮❨n❩](t1⋔(p◖𝗦))] ⇔ t2 . interpretation - "focused balanced reduction with immediate updating (prototerm)" + "focused reduction with immediate updating (prototerm)" 'BlackRightArrowF t1 p q t2 = (ifr p q t1 t2). diff --git a/matita/matita/contribs/lambdadelta/delayed_updating/reduction/ifr_unwind.ma b/matita/matita/contribs/lambdadelta/delayed_updating/reduction/ifr_unwind.ma index 9bd4cd7c4..21e4ac27f 100644 --- a/matita/matita/contribs/lambdadelta/delayed_updating/reduction/ifr_unwind.ma +++ b/matita/matita/contribs/lambdadelta/delayed_updating/reduction/ifr_unwind.ma @@ -32,9 +32,9 @@ include "delayed_updating/syntax/path_depth_reverse.ma". (* Constructions with unwind ************************************************) -theorem ifr_unwind_bi (f) (p) (q) (t1) (t2): - t1 ϵ 𝐓 → t1⋔(p◖𝗦) ⧸≬ 𝐈 → - t1 ➡𝐟[p,q] t2 → ▼[f]t1 ➡𝐟[⊗p,⊗q] ▼[f]t2. +lemma ifr_unwind_bi (f) (p) (q) (t1) (t2): + t1 ϵ 𝐓 → t1⋔(p◖𝗦) ⧸≬ 𝐈 → + t1 ➡𝐟[p,q] t2 → ▼[f]t1 ➡𝐟[⊗p,⊗q] ▼[f]t2. #f #p #q #t1 #t2 #H1t1 #H2t1 * #n * #H1n #Ht1 #Ht2 @(ex_intro … (↑♭q)) @and3_intro