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 (* Project started Wed Oct 12, 2005 ***************************************)
16 (* Project taken over by "formal_topology" and restarted Mon Apr 6, 2009 **)
18 include "logic/connectives.ma".
19 include "datatypes/constructors.ma".
20 include "datatypes/bool.ma".
22 (* notations **************************************************************)
24 notation < "hvbox(\iforall ident i opt (: ty) break . p)"
25 right associative with precedence 20
26 for @{ 'iforall ${ default
27 @{λ ${ident i}: $ty. $p}
31 notation > "\iforall list1 ident x sep , opt (: T). term 19 Px"
34 @{ ${ fold right @{$Px} rec acc @{'iforall (λ ${ident x} :$T . $acc)} } }
35 @{ ${ fold right @{$Px} rec acc @{'iforall (λ ${ident x} . $acc)} } }
38 notation < "hvbox(\iexists ident i opt (: ty) break . p)"
39 right associative with precedence 20
40 for @{ 'iexists ${ default
41 @{λ ${ident i}: $ty. $p}
45 notation > "\iexists list1 ident x sep , opt (: T). term 19 Px"
48 @{ ${ fold right @{$Px} rec acc @{'iexists (λ ${ident x}: $T. $acc)} } }
49 @{ ${ fold right @{$Px} rec acc @{'iexists (λ ${ident x}. $acc)} } }