X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=matita%2Fmatita%2Fcontribs%2Flambdadelta%2Fground_2%2Fsteps%2Frtc_max.ma;h=a6e0efa87c5cb4ec93ceaaff7820e23c2b2ab82f;hb=25c634037771dff0138e5e8e3d4378183ff49b86;hp=1c8861fa89c239582dd8074ff06a363af8b4fa56;hpb=b6e1db4f1b0f1d5121f2b214562f96c5b0fa544e;p=helm.git diff --git a/matita/matita/contribs/lambdadelta/ground_2/steps/rtc_max.ma b/matita/matita/contribs/lambdadelta/ground_2/steps/rtc_max.ma index 1c8861fa8..a6e0efa87 100644 --- a/matita/matita/contribs/lambdadelta/ground_2/steps/rtc_max.ma +++ b/matita/matita/contribs/lambdadelta/ground_2/steps/rtc_max.ma @@ -12,13 +12,14 @@ (* *) (**************************************************************************) -include "ground_2/steps/rtc_shift.ma". +include "ground_2/xoa/ex_6_8.ma". +include "ground_2/steps/rtc.ma". (* RT-TRANSITION COUNTER ****************************************************) definition max (c1:rtc) (c2:rtc): rtc ≝ match c1 with [ mk_rtc ri1 rs1 ti1 ts1 ⇒ match c2 with [ - mk_rtc ri2 rs2 ti2 ts2 ⇒ 〈ri1∨ri2, rs1∨rs2, ti1∨ti2, ts1∨ts2〉 + mk_rtc ri2 rs2 ti2 ts2 ⇒ 〈ri1∨ri2,rs1∨rs2,ti1∨ti2,ts1∨ts2〉 ] ]. @@ -28,7 +29,7 @@ interpretation "maximum (rtc)" (* Basic properties *********************************************************) lemma max_rew: ∀ri1,ri2,rs1,rs2,ti1,ti2,ts1,ts2. - 〈ri1∨ri2, rs1∨rs2, ti1∨ti2, ts1∨ts2〉 = + 〈ri1∨ri2,rs1∨rs2,ti1∨ti2,ts1∨ts2〉 = (〈ri1,rs1,ti1,ts1〉 ∨ 〈ri2,rs2,ti2,ts2〉). // qed. @@ -36,6 +37,10 @@ lemma max_O_dx: ∀c. c = (c ∨ 𝟘𝟘). * #ri #rs #ti #ts (max_O2 n) /2 width=1 by isrt_max/ -qed. - -(* Inversion properties with test for constrained rt-transition counter *****) - -lemma isrt_inv_max: ∀n,c1,c2. 𝐑𝐓⦃n, c1 ∨ c2⦄ → - ∃∃n1,n2. 𝐑𝐓⦃n1, c1⦄ & 𝐑𝐓⦃n2, c2⦄ & (n1 ∨ n2) = n. -#n #c1 #c2 * #ri #rs #H -elim (max_inv_dx … H) -H #ri1 #rs1 #ti1 #ts1 #ri2 #rs2 #ti2 #ts2 #_ #_ #H1 #H2 #H3 #H4 -elim (max_inv_O3 … H1) -H1 /3 width=5 by ex3_2_intro, ex1_2_intro/ -qed-. - -lemma isrt_inv_max_O_dx: ∀n,c1,c2. 𝐑𝐓⦃n, c1 ∨ c2⦄ → 𝐑𝐓⦃0, c2⦄ → 𝐑𝐓⦃n, c1⦄. -#n #c1 #c2 #H #H2 -elim (isrt_inv_max … H) -H #n1 #n2 #Hn1 #Hn2 #H destruct -lapply (isrt_mono … Hn2 H2) -c2 #H destruct // -qed-. +(* Main Properties **********************************************************) -(* Properties with shift ****************************************************) -(* -lemma max_shift: ∀c1,c2. (↓c1) ∨ (↓c2) = ↓(c1∨c2). -* #ri1 #rs1 #ti1 #ts1 * #ri2 #rs2 #ti2 #ts2 -