package alt-ergo-lib

  1. Overview
  2. Docs
type constant =
  1. | ConstBitv of string
  2. | ConstInt of string
  3. | ConstReal of Num.num
  4. | ConstTrue
  5. | ConstFalse
  6. | ConstVoid
type pp_infix =
  1. | PPand
  2. | PPor
  3. | PPxor
  4. | PPimplies
  5. | PPiff
  6. | PPlt
  7. | PPle
  8. | PPgt
  9. | PPge
  10. | PPeq
  11. | PPneq
  12. | PPadd
  13. | PPsub
  14. | PPmul
  15. | PPdiv
  16. | PPmod
  17. | PPpow_int
  18. | PPpow_real
type pp_prefix =
  1. | PPneg
  2. | PPnot
type ppure_type =
  1. | PPTint
  2. | PPTbool
  3. | PPTreal
  4. | PPTunit
  5. | PPTbitv of int
  6. | PPTvarid of string * Loc.t
  7. | PPTexternal of ppure_type list * string * Loc.t
type pattern = {
  1. pat_loc : Loc.t;
  2. pat_desc : string * string list;
}
type lexpr = {
  1. pp_loc : Loc.t;
  2. pp_desc : pp_desc;
}
and pp_desc =
  1. | PPvar of string
  2. | PPapp of string * lexpr list
  3. | PPmapsTo of string * lexpr
  4. | PPinInterval of lexpr * bool * lexpr * lexpr * bool
  5. | PPdistinct of lexpr list
  6. | PPconst of constant
  7. | PPinfix of lexpr * pp_infix * lexpr
  8. | PPprefix of pp_prefix * lexpr
  9. | PPget of lexpr * lexpr
  10. | PPset of lexpr * lexpr * lexpr
  11. | PPdot of lexpr * string
  12. | PPrecord of (string * lexpr) list
  13. | PPwith of lexpr * (string * lexpr) list
  14. | PPextract of lexpr * lexpr * lexpr
  15. | PPconcat of lexpr * lexpr
  16. | PPif of lexpr * lexpr * lexpr
  17. | PPforall of (string * ppure_type) list * (lexpr list * bool) list * lexpr list * lexpr
  18. | PPexists of (string * ppure_type) list * (lexpr list * bool) list * lexpr list * lexpr
  19. | PPforall_named of (string * string * ppure_type) list * (lexpr list * bool) list * lexpr list * lexpr
  20. | PPexists_named of (string * string * ppure_type) list * (lexpr list * bool) list * lexpr list * lexpr
  21. | PPnamed of string * lexpr
  22. | PPlet of (string * lexpr) list * lexpr
  23. | PPcheck of lexpr
  24. | PPcut of lexpr
  25. | PPcast of lexpr * ppure_type
  26. | PPmatch of lexpr * (pattern * lexpr) list
  27. | PPisConstr of lexpr * string
  28. | PPproject of bool * lexpr * string
type plogic_type =
  1. | PPredicate of ppure_type list
  2. | PFunction of ppure_type list * ppure_type
type body_type_decl =
  1. | Record of string * (string * ppure_type) list
  2. | Enum of string list
  3. | Algebraic of (string * (string * ppure_type) list) list
  4. | Abstract
type type_decl = Loc.t * string list * string * body_type_decl
type decl =
  1. | Theory of Loc.t * string * string * decl list
  2. | Axiom of Loc.t * string * Util.axiom_kind * lexpr
  3. | Rewriting of Loc.t * string * lexpr list
  4. | Goal of Loc.t * string * lexpr
  5. | Logic of Loc.t * Symbols.name_kind * (string * string) list * plogic_type
  6. | Predicate_def of Loc.t * string * string * (Loc.t * string * ppure_type) list * lexpr
  7. | Function_def of Loc.t * string * string * (Loc.t * string * ppure_type) list * ppure_type * lexpr
  8. | TypeDecl of type_decl list
  9. | Push of Loc.t * int
  10. | Pop of Loc.t * int
type file = decl list
OCaml

Innovation. Community. Security.