]> matita.cs.unibo.it Git - helm.git/blobdiff - matita/matita/contribs/lambdadelta/basic_2/i_static/tc_lfxs_fqup.ma
- some proposition name clashes removed
[helm.git] / matita / matita / contribs / lambdadelta / basic_2 / i_static / tc_lfxs_fqup.ma
index e17a1c85df947b6e961ea35d44937faed49ca38f..c92a4ad7b861832d3fa34ca6233ecc2e466e186d 100644 (file)
@@ -23,26 +23,45 @@ lemma tc_lfxs_refl: ∀R. (∀L. reflexive … (R L)) → ∀T. reflexive … (t
 /3 width=1 by lfxs_refl, inj/ qed.
 
 (* Basic_2A1: uses: TC_lpx_sn_pair TC_lpx_sn_pair_refl *)
-lemma tc_lfxs_pair: ∀R. (∀L. reflexive … (R L)) →
-                    ∀L,V1,V2. LTC … R L V1 V2 → ∀I,T. L.ⓑ{I}V1 ⦻**[R, T] L.ⓑ{I}V2.
+lemma tc_lfxs_pair_refl: ∀R. (∀L. reflexive … (R L)) →
+                         ∀L,V1,V2. LTC … R L V1 V2 → ∀I,T. L.ⓑ{I}V1 ⪤**[R, T] L.ⓑ{I}V2.
 #R #HR #L #V1 #V2 #H elim H -V2
-/3 width=3 by tc_lfxs_step_dx, lfxs_pair, inj/
+/3 width=3 by tc_lfxs_step_dx, lfxs_pair_refl, inj/
 qed.
 
 (* Advanced eliminators *****************************************************)
 
 lemma tc_lfxs_ind_sn: ∀R. (∀L. reflexive … (R L)) →
                       ∀L1,T. ∀R0:predicate …. R0 L1 →
-                      (â\88\80L,L2. L1 â¦»**[R, T] L â\86\92 L â¦»*[R, T] L2 → R0 L → R0 L2) →
-                      â\88\80L2. L1 â¦»**[R, T] L2 → R0 L2.
+                      (â\88\80L,L2. L1 âª¤**[R, T] L â\86\92 L âª¤*[R, T] L2 → R0 L → R0 L2) →
+                      â\88\80L2. L1 âª¤**[R, T] L2 → R0 L2.
 #R #HR #L1 #T #R0 #HL1 #IHL1 #L2 #HL12
 @(TC_star_ind … HL1 IHL1 … HL12) /2 width=1 by lfxs_refl/
 qed-.
 
 lemma tc_lfxs_ind_dx: ∀R. (∀L. reflexive … (R L)) →
                       ∀L2,T. ∀R0:predicate …. R0 L2 →
-                      (â\88\80L1,L. L1 â¦»*[R, T] L â\86\92 L â¦»**[R, T] L2 → R0 L → R0 L1) →
-                      â\88\80L1. L1 â¦»**[R, T] L2 → R0 L1.
+                      (â\88\80L1,L. L1 âª¤*[R, T] L â\86\92 L âª¤**[R, T] L2 → R0 L → R0 L1) →
+                      â\88\80L1. L1 âª¤**[R, T] L2 → R0 L1.
 #R #HR #L2 #R0 #HL2 #IHL2 #L1 #HL12
 @(TC_star_ind_dx … HL2 IHL2 … HL12) /2 width=4 by lfxs_refl/
 qed-.
+
+(* Advanced inversion lemmas ************************************************)
+
+lemma tc_lfxs_inv_bind_void: ∀R. (∀L. reflexive … (R L)) →
+                             ∀p,I,L1,L2,V,T. L1 ⪤**[R, ⓑ{p,I}V.T] L2 →
+                             L1 ⪤**[R, V] L2 ∧ L1.ⓧ ⪤**[R, T] L2.ⓧ.
+#R #HR #p #I #L1 #L2 #V #T #H @(tc_lfxs_ind_sn … HR … H) -L2
+[ /3 width=1 by tc_lfxs_refl, conj/
+| #L #L2 #_ #H * elim (lfxs_inv_bind_void … H) -H /3 width=3 by tc_lfxs_step_dx, conj/
+]
+qed-.
+
+(* Advanced forward lemmas **************************************************)
+
+lemma tc_lfxs_fwd_bind_dx_void: ∀R. (∀L. reflexive … (R L)) →
+                                ∀p,I,L1,L2,V,T. L1 ⪤**[R, ⓑ{p,I}V.T] L2 →
+                                L1.ⓧ ⪤**[R, T] L2.ⓧ.
+#R #HR #p #I #L1 #L2 #V #T #H elim (tc_lfxs_inv_bind_void … H) -H //
+qed-.