]> matita.cs.unibo.it Git - helm.git/blobdiff - matita/matita/contribs/lambdadelta/basic_2/dynamic/snv_ssta.ma
- lambdadelta: we removed focalized reduction from snv preservation
[helm.git] / matita / matita / contribs / lambdadelta / basic_2 / dynamic / snv_ssta.ma
index ea04940d88d5b7fb6923c2800584a51dbca876b1..2bee82488cfca6e682f7f849d4d5f104b375183d 100644 (file)
 (*                                                                        *)
 (**************************************************************************)
 
-include "basic_2/dynamic/snv.ma".
+include "basic_2/dynamic/snv_cpcs.ma".
 
 (* STRATIFIED NATIVE VALIDITY FOR TERMS *************************************)
 
 (* Properties on stratified static type assignment for terms ****************)
 
-lemma snv_ssta: ∀h,g,L,T. ⦃h, L⦄ ⊩ T :[g] → ∃∃U,l. ⦃h, L⦄ ⊢ T •[g, l] U.
-#h #g #L #T #H elim H -L -T
-[ #L #k elim (deg_total h g k) /3 width=3/
-| * #L #K #V #i #HLK #_ * #W #l0 #HVW
-  [ elim (lift_total W 0 (i+1)) /3 width=8/
-  | elim (lift_total V 0 (i+1)) /3 width=8/
-  ]
-| #a #I #L #V #T #_ #_ #_ * /3 width=3/
-| #a #L #V #W #W1 #T0 #T1 #l #_ #_ #_ #_ #_ #_ * /3 width=3/
-| #L #W #T #U #l #_ #_ #HTU #_ #_ #_ /3 width=3/ (**) (* auto fails without the last #_ *) 
-]
-qed-.
-
-fact snv_ssta_conf_aux: ∀h,g,L,T. (
-                           ∀L0,T0. ⦃h, L0⦄ ⊩ T0 :[g] →
-                           ∀U0,l. ⦃h, L0⦄ ⊢ T0 •[g, l + 1] U0 →
-                           ♯{L0, T0} < ♯{L, T} → ⦃h, L0⦄ ⊩ U0 :[g]
-                        ) →
-                        ∀L0,T0. ⦃h, L0⦄ ⊩ T0 :[g] →
-                        ∀U0,l. ⦃h, L0⦄ ⊢ T0 •[g, l + 1] U0 →
-                        L0 = L → T0 = T → ⦃h, L0⦄ ⊩ U0 :[g].
+fact snv_ssta_aux: ∀h,g,L,T. (
+                      ∀L0,T0. ⦃h, L0⦄ ⊩ T0 :[g] →
+                      ∀U0,l. ⦃h, L0⦄ ⊢ T0 •[g, l + 1] U0 →
+                      ♯{L0, T0} < ♯{L, T} → ⦃h, L0⦄ ⊩ U0 :[g]
+                   ) →
+                   ∀L0,T0. ⦃h, L0⦄ ⊩ T0 :[g] →
+                   ∀U0,l. ⦃h, L0⦄ ⊢ T0 •[g, l + 1] U0 →
+                   L0 = L → T0 = T → ⦃h, L0⦄ ⊩ U0 :[g].
 #h #g #L #T #IH1 #L0 #T0 * -L0 -T0
 [
 |