3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-08-21 10:41:35 +00:00

reorganizing the code

Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
This commit is contained in:
Leonardo de Moura 2012-10-24 14:47:40 -07:00
parent 61bd5a69ec
commit 12a255e36b
195 changed files with 11 additions and 526 deletions

View file

@ -0,0 +1,37 @@
/* Copyright (c) Microsoft Corporation */
quote(mlmli,"
(**
Summary: \[ [ binder_type ] \] is a universal or existential quantifier.
- {b See also}: {!term_refined}
*)
type binder_type = Forall | Exists
(**
Summary: \[ [ term_refined ] \] is the refinement of a {!ast} .
- {b See also}: {!term_refine}
*)
type term_refined =
| Term_numeral of numeral_refined
| Term_app of decl_kind * func_decl * ast array
| Term_quantifier of binder_type * int * ast array array * (symbol * sort) array * ast
| Term_var of int * sort
");
quote(mli,"
(**
Summary: \[ [ mk_term c tr ] \] constructs the term described by [tr].
- {b Precondition}: [tr] is not of form
- {b See also}: {!term_refine}
*)
(* val mk_term: context -> term_refined -> ast *)
(**
Summary: \[ [ term_refine c a ] \] is the refined view of [a].
*)
val term_refine : context -> ast -> term_refined
");