From f841a6a906de888ee54f4c3bf95cd444e9bc06b0 Mon Sep 17 00:00:00 2001 From: Ferruccio Guidi Date: Wed, 16 Nov 2011 13:14:07 +0000 Subject: [PATCH] support for weak head normal forms started ... --- .../contribs/lambda_delta/Basic_2/notation.ma | 24 +++++++++++++++++++ .../Basic_2/reducibility/twhnf.ma | 12 ++++++++++ 2 files changed, 36 insertions(+) create mode 100644 matita/matita/contribs/lambda_delta/Basic_2/reducibility/twhnf.ma 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 *********************************************************) -- 2.39.2