3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-08-27 13:39:49 +00:00

Added ml component

Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
This commit is contained in:
Leonardo de Moura 2012-10-02 12:44:06 -07:00
parent 454fa7dcdd
commit bcca613cb2
60 changed files with 40332 additions and 16 deletions

21
ml/mlx_mk_numeral.idl Normal file
View file

@ -0,0 +1,21 @@
/* Copyright (c) Microsoft Corporation */
quote(mlmli,"
(**
Summary: \[ [ numeral_refined ] \] is the refined view of a numeral .
*)
type numeral_refined =
| Numeral_int of int * sort
| Numeral_int64 of int64 * sort
| Numeral_large of string * sort
| Numeral_rational of numeral_refined * numeral_refined
");
quote(mli,"
(**
Summary: \[ [ embed_numeral c nr ] \] constructs the numeral described by [nr].
- {b See also}: {!numeral_refine}
*)
val embed_numeral: context -> numeral_refined -> ast
");