2
(* Polymorphic First-Order Logic (that is Why's input logic) *)
6
| Tid of string * typ list
11
| Moins of term * term
14
| App of string * term list
22
| Pred of string * term list
31
| Forall of string * typ * form
32
| Exists of string * typ * form
36
(* the integer indicates the number of type variables *)
38
| DeclType of string * int
39
| DeclFun of string * int * typ list * typ
40
| DeclPred of string * int * typ list
41
| Axiom of string * form
43
type query = decl list * form
49
| Valid of string option