X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=helm%2Fmatita%2Flibrary%2Fdatatypes%2Fbool.ma;h=cac5ebbe97c2fdad3b421bd98d522c0525c4e413;hb=e6b28085c97ae7b9bd3f3262b105f6b84f42b047;hp=fdb376c605b80b54d4d1a5f8a612aaf8c714f454;hpb=244d65f63ca6a736b871f9f91328fe8c5524ff05;p=helm.git diff --git a/helm/matita/library/datatypes/bool.ma b/helm/matita/library/datatypes/bool.ma index fdb376c60..cac5ebbe9 100644 --- a/helm/matita/library/datatypes/bool.ma +++ b/helm/matita/library/datatypes/bool.ma @@ -24,6 +24,9 @@ definition notb : bool \to bool \def [ true \Rightarrow false | false \Rightarrow true ]. +(*CSC: the URI must disappear: there is a bug now *) +interpretation "boolean not" 'not x = (cic:/matita/datatypes/bool/notb.con x). + definition andb : bool \to bool \to bool\def \lambda b1,b2:bool. match b1 with @@ -31,6 +34,9 @@ definition andb : bool \to bool \to bool\def match b2 with [true \Rightarrow true | false \Rightarrow false] | false \Rightarrow false ]. +(*CSC: the URI must disappear: there is a bug now *) +interpretation "boolean and" 'and x y = (cic:/matita/datatypes/bool/andb.con x y). + definition orb : bool \to bool \to bool\def \lambda b1,b2:bool. match b1 with @@ -38,8 +44,13 @@ definition orb : bool \to bool \to bool\def match b2 with [true \Rightarrow true | false \Rightarrow false] | false \Rightarrow false ]. +(*CSC: the URI must disappear: there is a bug now *) +interpretation "boolean or" 'or x y = (cic:/matita/datatypes/bool/orb.con x y). + definition if_then_else : bool \to Prop \to Prop \to Prop \def \lambda b:bool.\lambda P,Q:Prop. match b with [ true \Rightarrow P | false \Rightarrow Q]. + +(*CSC: missing notation for if_then_else *)