X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=matita%2Fmatita%2Fcontribs%2Flambda_delta%2FBasic_2%2Fnotation.ma;h=7d05a2f6702028fc976b16b6724c8c4ce9bbc128;hb=16bbb2d6b16d5647d944f18f0fd6d4dd3df431fe;hp=4383616be341fa7ee8a22a00c72558608494551a;hpb=035e3f52f8da3cb3cdb493aa20568ad673cc2cf5;p=helm.git diff --git a/matita/matita/contribs/lambda_delta/Basic_2/notation.ma b/matita/matita/contribs/lambda_delta/Basic_2/notation.ma index 4383616be..7d05a2f67 100644 --- a/matita/matita/contribs/lambda_delta/Basic_2/notation.ma +++ b/matita/matita/contribs/lambda_delta/Basic_2/notation.ma @@ -16,6 +16,14 @@ (* Grammar ******************************************************************) +notation "hvbox( ⓪ )" + non associative with precedence 90 + for @{ 'Item0 }. + +notation "hvbox( ⓪ { I } )" + non associative with precedence 90 + for @{ 'Item0 $I }. + notation "hvbox( ⋆ )" non associative with precedence 90 for @{ 'Star }. @@ -32,30 +40,62 @@ notation "hvbox( § term 90 p )" non associative with precedence 90 for @{ 'GRef $p }. -notation "hvbox( 𝕒 { I } )" +notation "hvbox( ② term 90 T1 . break term 90 T )" non associative with precedence 90 - for @{ 'SItem $I }. + for @{ 'SnItem2 $T1 $T }. -notation "hvbox( 𝕔 { I } break term 90 T1 . break term 90 T )" +notation "hvbox( ② { I } break term 90 T1 . break term 90 T )" non associative with precedence 90 - for @{ 'SItem $I $T1 $T }. + for @{ 'SnItem2 $I $T1 $T }. -notation "hvbox( 𝕓 { I } break term 90 T1 . break term 90 T )" +notation "hvbox( ⓑ { I } break term 90 T1 . break term 90 T )" non associative with precedence 90 - for @{ 'SBind $I $T1 $T }. + for @{ 'SnBind2 $I $T1 $T }. -notation "hvbox( 𝕗 { I } break term 90 T1 . break term 90 T )" +notation "hvbox( ⓕ { I } break term 90 T1 . break term 90 T )" non associative with precedence 90 - for @{ 'SFlat $I $T1 $T }. + for @{ 'SnFlat2 $I $T1 $T }. -notation "hvbox( T . break 𝕓 { I } break term 90 T1 )" - non associative with precedence 89 - for @{ 'DBind $T $I $T1 }. -(* -notation > "hvbox( T . break 𝕔 { I } break term 90 T1 )" +notation "hvbox( ⓓ term 90 T1 . break term 90 T2 )" + non associative with precedence 90 + for @{ 'SnAbbr $T1 $T2 }. + +notation "hvbox( ⓛ term 90 T1 . break term 90 T2 )" + non associative with precedence 90 + for @{ 'SnAbst $T1 $T2 }. + +notation "hvbox( ⓐ term 90 T1 . break term 90 T2 )" + non associative with precedence 90 + for @{ 'SnAppl $T1 $T2 }. + +notation "hvbox( ⓣ term 90 T1 . break term 90 T2 )" + non associative with precedence 90 + for @{ 'SnCast $T1 $T2 }. + +notation "hvbox( Ⓐ term 90 T1 . break term 90 T )" + non associative with precedence 90 + for @{ 'SnApplV $T1 $T }. + +notation > "hvbox( T . break ②{ I } break term 47 T1 )" + non associative with precedence 46 + for @{ 'DxBind2 $T $I $T1 }. + +notation "hvbox( T . break ⓑ { I } break term 90 T1 )" non associative with precedence 89 - for @{ 'DBind $T $I $T1 }. -*) (**) (* this breaks all parsing *) + for @{ 'DxBind2 $T $I $T1 }. + +notation "hvbox( T1 . break ⓓ T2 )" + left associative with precedence 48 + for @{ 'DxAbbr $T1 $T2 }. + +notation "hvbox( T1 . break ⓛ T2 )" + left associative with precedence 49 + for @{ 'DxAbst $T1 $T2 }. + +notation "hvbox( T . break ④ { I } break { T1 , break T2 , break T3 } )" + non associative with precedence 47 + for @{ 'DxItem4 $T $I $T1 $T2 $T3 }. + notation "hvbox( # [ x ] )" non associative with precedence 90 for @{ 'Weight $x }. @@ -64,66 +104,206 @@ notation "hvbox( # [ x , break y ] )" non associative with precedence 90 for @{ 'Weight $x $y }. -notation "hvbox( 𝕊 [ T ] )" +notation "hvbox( 𝐒 [ T ] )" non associative with precedence 45 for @{ 'Simple $T }. +notation "hvbox( L ⊢ break term 90 T1 ≈ break T2 )" + non associative with precedence 45 + for @{ 'Hom $L $T1 $T2 }. + +notation "hvbox( T1 ≃ break T2 )" + non associative with precedence 45 + for @{ 'Iso $T1 $T2 }. + notation "hvbox( T1 break [ d , break e ] ≼ break T2 )" non associative with precedence 45 for @{ 'SubEq $T1 $d $e $T2 }. (* Substitution *************************************************************) -notation "hvbox( ↑ [ d , break e ] break T1 ≡ break T2 )" +notation "hvbox( L ⊢ break [ d , break e ] break 𝐑 [ T ] )" + non associative with precedence 45 + for @{ 'Reducible $L $d $e $T }. + +notation "hvbox( L ⊢ break [ d , break e ] break 𝐈 [ T ] )" + non associative with precedence 45 + for @{ 'NotReducible $L $d $e $T }. + +notation "hvbox( L ⊢ break [ d , break e ] break 𝐍 [ T ] )" + non associative with precedence 45 + for @{ 'Normal $L $d $e $T }. + +notation "hvbox( ⇧ [ d , break e ] break T1 ≡ break T2 )" non associative with precedence 45 for @{ 'RLift $d $e $T1 $T2 }. -notation "hvbox( ↓ [ d , break e ] break L1 ≡ break L2 )" +notation "hvbox( ⇩ [ e ] break L1 ≡ break L2 )" + non associative with precedence 45 + for @{ 'RDrop $e $L1 $L2 }. + +notation "hvbox( ⇩ [ d , break e ] break L1 ≡ break L2 )" non associative with precedence 45 for @{ 'RDrop $d $e $L1 $L2 }. -notation "hvbox( T1 break [ d , break e ] ≫ break T2 )" +notation "hvbox( T1 break [ d , break e ] ▶ break T2 )" non associative with precedence 45 for @{ 'PSubst $T1 $d $e $T2 }. -notation "hvbox( L ⊢ break term 90 T1 break [ d , break e ] ≫ break T2 )" +notation "hvbox( L ⊢ break term 90 T1 break [ d , break e ] ▶ break T2 )" non associative with precedence 45 for @{ 'PSubst $L $T1 $d $e $T2 }. (* Unfold *******************************************************************) -notation "hvbox( T1 break [ d , break e ] ≫* break T2 )" +notation "hvbox( @ [ T1 ] break f ≡ break T2 )" + non associative with precedence 45 + for @{ 'RAt $T1 $f $T2 }. + +notation "hvbox( T1 ▭ break T2 ≡ break T )" + non associative with precedence 45 + for @{ 'RMinus $T1 $T2 $T }. + +notation "hvbox( ⇧ * [ e ] break T1 ≡ break T2 )" + non associative with precedence 45 + for @{ 'RLiftStar $e $T1 $T2 }. + +notation "hvbox( ⇩ * [ e ] break L1 ≡ break L2 )" + non associative with precedence 45 + for @{ 'RDropStar $e $L1 $L2 }. + +notation "hvbox( T1 break [ d , break e ] ▶* break T2 )" non associative with precedence 45 for @{ 'PSubstStar $T1 $d $e $T2 }. -notation "hvbox( L ⊢ break term 90 T1 break [ d , break e ] ≫* break T2 )" +notation "hvbox( L ⊢ break term 90 T1 break [ d , break e ] ▶* break T2 )" non associative with precedence 45 for @{ 'PSubstStar $L $T1 $d $e $T2 }. -(* Reduction ****************************************************************) +notation "hvbox( T1 break [ d , break e ] ≡ break T2 )" + non associative with precedence 45 + for @{ 'TSubst $T1 $d $e $T2 }. + +notation "hvbox( L ⊢ break term 90 T1 break [ d , break e ] ≡ break T2 )" + non associative with precedence 45 + for @{ 'TSubst $L $T1 $d $e $T2 }. + +(* Static Typing ************************************************************) -notation "hvbox( T1 ⇒ break T2 )" +notation "hvbox( L ⊢ break term 90 T ÷ break A )" + non associative with precedence 45 + for @{ 'AtomicArity $L $T $A }. + +notation "hvbox( T1 ÷ ⊑ break T2 )" + non associative with precedence 45 + for @{ 'CrSubEqA $T1 $T2 }. + +(* Reducibility *************************************************************) + +notation "hvbox( 𝐑 [ T ] )" + non associative with precedence 45 + for @{ 'Reducible $T }. + +notation "hvbox( L ⊢ break 𝐑 [ T ] )" + non associative with precedence 45 + for @{ 'Reducible $L $T }. + +notation "hvbox( 𝐈 [ T ] )" + non associative with precedence 45 + for @{ 'NotReducible $T }. + +notation "hvbox( L ⊢ break 𝐈 [ T ] )" + non associative with precedence 45 + for @{ 'NotReducible $L $T }. + +notation "hvbox( 𝐍 [ T ] )" + non associative with precedence 45 + for @{ 'Normal $T }. + +notation "hvbox( L ⊢ break 𝐍 [ T ] )" + non associative with precedence 45 + for @{ 'Normal $L $T }. + +notation "hvbox( 𝐖𝐇𝐑 [ T ] )" + non associative with precedence 45 + for @{ 'WHdReducible $T }. + +notation "hvbox( L ⊢ break 𝐖𝐇𝐑 [ T ] )" + non associative with precedence 45 + for @{ 'WHdReducible $L $T }. + +notation "hvbox( 𝐖𝐇𝐈 [ T ] )" + non associative with precedence 45 + for @{ 'NotWHdReducible $T }. + +notation "hvbox( L ⊢ break 𝐖𝐇𝐈 [ T ] )" + non associative with precedence 45 + for @{ 'NotWHdReducible $L $T }. + +notation "hvbox( 𝐖𝐇𝐍 [ T ] )" + non associative with precedence 45 + for @{ 'WHdNormal $T }. + +notation "hvbox( L ⊢ break 𝐖𝐇𝐍 [ T ] )" + non associative with precedence 45 + for @{ 'WHdNormal $L $T }. + +notation "hvbox( T1 ➡ break T2 )" non associative with precedence 45 for @{ 'PRed $T1 $T2 }. -notation "hvbox( L ⊢ break term 90 T1 ⇒ break T2 )" +notation "hvbox( L ⊢ break term 90 T1 ➡ break T2 )" non associative with precedence 45 for @{ 'PRed $L $T1 $T2 }. -notation "hvbox( L1 ⊢ ⇒ break L2 )" +notation "hvbox( L1 ⊢ ➡ break L2 )" non associative with precedence 45 for @{ 'CPRed $L1 $L2 }. (* Computation **************************************************************) -notation "hvbox( T1 ⇒* break T2 )" +notation "hvbox( T1 ➡* break T2 )" non associative with precedence 45 for @{ 'PRedStar $T1 $T2 }. -notation "hvbox( L ⊢ break term 90 T1 ⇒* break T2 )" +notation "hvbox( L ⊢ break term 90 T1 ➡* break T2 )" non associative with precedence 45 for @{ 'PRedStar $L $T1 $T2 }. -notation "hvbox( L1 ⊢ ⇒* break L2 )" +notation "hvbox( L1 ⊢ ➡* break L2 )" non associative with precedence 45 for @{ 'CPRedStar $L1 $L2 }. + +notation "hvbox( ⬇ * T )" + non associative with precedence 45 + for @{ 'SN $T }. + +notation "hvbox( L ⊢ ⬇ * T )" + non associative with precedence 45 + for @{ 'SN $L $T }. + +notation "hvbox( L ⊢ ⬇ * * T )" + non associative with precedence 45 + for @{ 'SNStar $L $T }. + +notation "hvbox( ⦃ L, break T ⦄ break [ R ] ϵ break 〚 A 〛 )" + non associative with precedence 45 + for @{ 'InEInt $R $L $T $A }. + +notation "hvbox( T1 break [ R ] ⊑ break T2 )" + non associative with precedence 45 + for @{ 'CrSubEq $T1 $R $T2 }. + +(* Functional ***************************************************************) + +notation "hvbox( ↑ [ d , break e ] break T )" + non associative with precedence 55 + for @{ 'Lift $d $e $T }. + +notation "hvbox( [ d ← break V ] break T )" + non associative with precedence 55 + for @{ 'Subst $V $d $T }. + +notation "hvbox( T1 ⇨ break T2 )" + non associative with precedence 45 + for @{ 'SRed $T1 $T2 }.