]> matita.cs.unibo.it Git - helm.git/commitdiff
support for weak head normal forms started ...
authorFerruccio Guidi <ferruccio.guidi@unibo.it>
Wed, 16 Nov 2011 13:14:07 +0000 (13:14 +0000)
committerFerruccio Guidi <ferruccio.guidi@unibo.it>
Wed, 16 Nov 2011 13:14:07 +0000 (13:14 +0000)
matita/matita/contribs/lambda_delta/Basic_2/notation.ma
matita/matita/contribs/lambda_delta/Basic_2/reducibility/twhnf.ma [new file with mode: 0644]

index 7704c6581cf56f9df8382f7d262b949711f2c6cf..5fcf588334ad6043c19303cb5a31dea641864b24 100644 (file)
@@ -130,6 +130,30 @@ notation "hvbox( L ⊢ ℕ [ T ] )"
    non associative with precedence 45
    for @{ 'Normal $L $T }.
 
+notation "hvbox( 𝕎ℍℝ [ T ] )"
+   non associative with precedence 45
+   for @{ 'WHdReducible $T }.
+
+notation "hvbox( L ⊢ 𝕎ℍℝ [ T ] )"
+   non associative with precedence 45
+   for @{ 'WHdReducible $L $T }.
+
+notation "hvbox( 𝕎ℍ𝕀 [ T ] )"
+   non associative with precedence 45
+   for @{ 'NotWHdReducible $T }.
+
+notation "hvbox( L ⊢ 𝕎ℍ𝕀 [ T ] )"
+   non associative with precedence 45
+   for @{ 'NotWHdReducible $L $T }.
+
+notation "hvbox( 𝕎ℍℕ [ T ] )"
+   non associative with precedence 45
+   for @{ 'WHdNormal $T }.
+
+notation "hvbox( L ⊢ 𝕎ℍℕ [ T ] )"
+   non associative with precedence 45
+   for @{ 'WHdNormal $L $T }.
+
 notation "hvbox( T1 ⇒ break T2 )"
    non associative with precedence 45
    for @{ 'PRed $T1 $T2 }.
diff --git a/matita/matita/contribs/lambda_delta/Basic_2/reducibility/twhnf.ma b/matita/matita/contribs/lambda_delta/Basic_2/reducibility/twhnf.ma
new file mode 100644 (file)
index 0000000..c96bf47
--- /dev/null
@@ -0,0 +1,12 @@
+include "Basic_2/reducibility/tpr.ma".
+
+(* CONTEXT-FREE WEAK HEAD NORMAL TERMS **************************************)
+
+definition twhnf: term → Prop ≝
+   NF … tpr (thom …).
+
+interpretation
+   "context-free weak head normality (term)"
+   'WHdNormal T = (twhnf T).
+
+(* Basic properties *********************************************************)