From: Ferruccio Guidi Date: Wed, 16 Nov 2011 13:14:07 +0000 (+0000) Subject: support for weak head normal forms started ... X-Git-Tag: make_still_working~2104 X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=commitdiff_plain;h=f841a6a906de888ee54f4c3bf95cd444e9bc06b0;p=helm.git support for weak head normal forms started ... --- diff --git a/matita/matita/contribs/lambda_delta/Basic_2/notation.ma b/matita/matita/contribs/lambda_delta/Basic_2/notation.ma index 7704c6581..5fcf58833 100644 --- a/matita/matita/contribs/lambda_delta/Basic_2/notation.ma +++ b/matita/matita/contribs/lambda_delta/Basic_2/notation.ma @@ -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 index 000000000..c96bf4762 --- /dev/null +++ b/matita/matita/contribs/lambda_delta/Basic_2/reducibility/twhnf.ma @@ -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 *********************************************************)