1 (**************************************************************************)
4 (* ||A|| A project by Andrea Asperti *)
6 (* ||I|| Developers: *)
7 (* ||T|| The HELM team. *)
8 (* ||A|| http://helm.cs.unibo.it *)
10 (* \ / This file is distributed under the terms of the *)
11 (* v GNU General Public License Version 2 *)
13 (**************************************************************************)
15 set "baseuri" "cic:/matita/RELATIONAL/BEq/defs".
17 include "logic/equality.ma".
19 include "Bool/defs.ma".
21 inductive BEq (A:Type) (a1:A): A \to Bool \to Prop \def
22 | beq_true : BEq A a1 a1 true
23 | beq_false: \forall a2. (a1 = a2 -> False) \to BEq A a1 a2 false
26 (*CSC: the URI must disappear: there is a bug now *)
27 interpretation "boolean equality" 'beq x y z =
28 (cic:/matita/RELATIONAL/BEq/defs/BEq.ind#xpointer(1/1) _ x y z).
30 notation "hvbox(a break -- b break == c)"
31 non associative with precedence 95
32 for @{ 'beq $a $b $c}.