]> matita.cs.unibo.it Git - helm.git/blobdiff - helm/software/matita/contribs/ng_assembly/freescale/bool_lemmas.ma
freescale porting to ng, work in progress
[helm.git] / helm / software / matita / contribs / ng_assembly / freescale / bool_lemmas.ma
index 493a8e5b6524af78bf0abbfd62219340b23ac35a..b03e5a62ddc181cc0378befe0728cf3cebd2f451 100755 (executable)
@@ -31,12 +31,14 @@ include "freescale/bool.ma".
 (* BOOLEANI *)
 (* ******** *)
 
-ndefinition bool_destruct :
- Πb1,b2:bool.ΠP:Prop.b1 = b2 →
+ndefinition bool_destruct_aux ≝
+Πb1,b2:bool.ΠP:Prop.b1 = b2 →
  match b1 with
   [ true ⇒ match b2 with [ true ⇒ P → P | false ⇒ P ]
   | false ⇒ match b2 with [ true ⇒ P | false ⇒ P → P ]
   ].
+
+ndefinition bool_destruct : bool_destruct_aux.
  #b1; #b2; #P;
  nelim b1;
  nelim b2;