]> matita.cs.unibo.it Git - helm.git/blobdiff - matita/matita/contribs/lambdadelta/static_2/syntax/genv_weight.ma
partial update in static_2
[helm.git] / matita / matita / contribs / lambdadelta / static_2 / syntax / genv_weight.ma
index 88dcbc185f4d2eeba7ccd6a76204d5751a2b0d3f..6cda4db4fb17cefe5970813ba177f539459ff86a 100644 (file)
@@ -18,7 +18,7 @@ include "static_2/syntax/genv.ma".
 (* WEIGHT OF A GLOBAL ENVIRONMENT *******************************************)
 
 rec definition gw G ≝ match G with
-[ GAtom       ⇒ 0
+[ GAtom       ⇒ 𝟏
 | GPair G I T ⇒ gw G + ♯❨T❩
 ].
 
@@ -26,5 +26,11 @@ interpretation "weight (global environment)" 'Weight G = (gw G).
 
 (* Basic properties *********************************************************)
 
+lemma gw_atom_unfold: 𝟏 = ♯❨⋆❩.
+// qed.
+
+lemma gw_pair_unfold (I) (G) (T): ♯❨G❩ + ♯❨T❩ = ♯❨G.ⓑ[I]T❩.
+// qed.
+
 lemma gw_pair: ∀I,G,T. ♯❨G❩ < ♯❨G.ⓑ[I]T❩.
-normalize /2 width=1 by nle_plus_bi_sn/ qed.
+// qed.