]> matita.cs.unibo.it Git - helm.git/blobdiff - helm/software/matita/library/logic/cprop_connectives.ma
- Added new output in standard C.
[helm.git] / helm / software / matita / library / logic / cprop_connectives.ma
index 3b43ef3993670c4699354fd8417d37cda8e83025..facda284891ed948ba1ed1e650e69c405fdd6b84 100644 (file)
@@ -58,6 +58,21 @@ notation < "hvbox(a break ∧ b break ∧ c break ∧ d)" with precedence 35 for
  
 interpretation "constructive quaternary and" 'and4 x y z t = (And4 x y z t).
 
+record Iff (A,B:CProp) : CProp ≝
+ { if: A → B;
+   fi: B → A
+ }.
+record Iff1 (A,B:CProp) : CProp ≝
+ { if1: A → B;
+   fi1: B → A
+ }.
+interpretation "logical iff" 'iff x y = (Iff x y).
+
+notation "hvbox(a break ⇔ b)" right associative with precedence 25 for @{'iff1 $a $b}.
+interpretation "logical iff type1" 'iff1 x y = (Iff1 x y).
+
 inductive exT (A:Type) (P:A→CProp) : CProp ≝
   ex_introT: ∀w:A. P w → exT A P.