]> matita.cs.unibo.it Git - helm.git/blobdiff - matita/matita/contribs/lambdadelta/basic_2/rt_computation/lfsx_lfpxs.ma
lfsx_drops completed
[helm.git] / matita / matita / contribs / lambdadelta / basic_2 / rt_computation / lfsx_lfpxs.ma
index 31a027834c09f98cec0a489ff49c060591863458..ff5ddc3049ac5bf39eaf41acc13629e9cf651799 100644 (file)
@@ -120,3 +120,27 @@ qed-.
 lemma lfsx_flat: āˆ€h,o,I,G,L,V. G āŠ¢ ā¬ˆ*[h, o, V] š’ā¦ƒLā¦„ ā†’
                  āˆ€T. G āŠ¢ ā¬ˆ*[h, o, T] š’ā¦ƒLā¦„ ā†’ G āŠ¢ ā¬ˆ*[h, o, ā“•{I}V.T] š’ā¦ƒLā¦„.
 /2 width=3 by lfsx_flat_lfpxs/ qed.
+
+fact lfsx_bind_lfpxs_void_aux: āˆ€h,o,p,I,G,L1,V. G āŠ¢ ā¬ˆ*[h, o, V] š’ā¦ƒL1ā¦„ ā†’
+                               āˆ€Y,T. G āŠ¢ ā¬ˆ*[h, o, T] š’ā¦ƒYā¦„ ā†’
+                               āˆ€L2. Y = L2.ā“§ ā†’ ā¦ƒG, L1ā¦„ āŠ¢ ā¬ˆ*[h, ā“‘{p,I}V.T] L2 ā†’
+                               G āŠ¢ ā¬ˆ*[h, o, ā“‘{p,I}V.T] š’ā¦ƒL2ā¦„.
+#h #o #p #I #G #L1 #V #H @(lfsx_ind_lfpxs ā€¦ H) -L1
+#L1 #_ #IHL1 #Y #T #H @(lfsx_ind_lfpxs ā€¦ H) -Y
+#Y #HY #IHY #L2 #H #HL12 destruct
+@lfsx_intro_lfpxs #L0 #HL20
+lapply (lfpxs_trans ā€¦ HL12 ā€¦ HL20) #HL10 #H
+elim (lfdneq_inv_bind_void ā€¦ H) -H [ -IHY | -HY -IHL1 -HL12 ]
+[ #HnV elim (lfdeq_dec h o L1 L2 V)
+  [ #HV @(IHL1 ā€¦ L0) -IHL1 -HL12
+    /3 width=6 by lfsx_lfpxs_trans, lfpxs_fwd_bind_dx_void, lfpxs_fwd_pair_sn, lfdeq_canc_sn/ (**) (* full auto too slow *)
+  | -HnV -HL10 /4 width=4 by lfsx_lfpxs_trans, lfpxs_fwd_pair_sn/
+  ]
+| /3 width=4 by lfpxs_fwd_bind_dx_void/
+]
+qed-.
+
+lemma lfsx_bind_void: āˆ€h,o,p,I,G,L,V. G āŠ¢ ā¬ˆ*[h, o, V] š’ā¦ƒLā¦„ ā†’
+                      āˆ€T. G āŠ¢ ā¬ˆ*[h, o, T] š’ā¦ƒL.ā“§ā¦„ ā†’
+                      G āŠ¢ ā¬ˆ*[h, o, ā“‘{p,I}V.T] š’ā¦ƒLā¦„.
+/2 width=3 by lfsx_bind_lfpxs_void_aux/ qed.