package alt-ergo-lib
Install
dune-project
Dependency
Authors
Maintainers
Sources
md5=35d6c6f3fa43bcd10fe7f524b1eb59ca
sha512=c3eee41d3c588ca89c2a1eebe9f10914ef647743b58fb562b682172cf6b6bdeb0920ebbba8a850820c0cb53bad0260f11b82fe71f00830ea9b33f5bb5d4fd048
doc/index.html
The Alt-ergo library
Since version 2.2.0, the alt-ergo library is built and installed.
You can access the list of modules.
General organisation
The Alt-Ergo codebase is roughly divided into the following categories:
- Utilities, augmenting the standard library with useful types and fonctions, and defining some pervasives structures, such as the global options of Alt-Ergo and a bit of configuration.
- Structures, defining the main structures used throughout Alt-Ergo, defining the structures of parsed terms, typed terms, expressions and statements used as input for Alt-Ergo
- The Frontend, defining the frontend-related functions in Alt-Ergo, including typechecking and transformation from typed terms to expressions.
- The Backend where most of the proof search occurs
Structures
In this category are defined most of the structures used in Alt-Ergo.
First are the Abstract Syntax Trees used in Alt-Ergo. There exists three main different ASTs: the AltErgoLib.Parsed module defines the terms generated by the native parser of Alt-Ergo, the AltErgoLib.Typed module defines typechecked terms, which are an intermediary used by Alt-Ergo before translating them into hashconsed expressions as defined in AltErgoLib.Expr. The AltErgoLib.Ty module defines the structure used to represent types (which are common between typed terms and hashconsed expressions). Finally, the AltErgoLib.Commands module defines a notion of commands that can be sent to the SMT solver.
AltErgoLib.ParsedAltErgoLib.TyTypesAltErgoLib.TypedTyped ASTAltErgoLib.ExprData structuresAltErgoLib.Commands
These modules make use of the following modules to abstract over variables and symbols:
Lastly, the following modules are used by the reasonners in the backend:
AltErgoLib.ExplanationAltErgoLib.Satml_typesAltErgoLib.Fpa_roundingAltErgoLib.XliteralAltErgoLib.Profiling
The Frontend
The frontend provides an easily usable user interface for the Alt-Ergo solver. It is split into three main parts.
The AltErgoLib.Frontend defines a frontend for the core solver, as a functor parametrized by a SAT solver implementation, and returning a solver that can process commands as defined by the AltErgoLib.Commands module.
The AltErgoLib.Input module defines a notion of input method. An input method is used to transform a string input (typically one or more files), into typed terms and statements. These typed terms can then be translated into commands using the AltErgoLib.Cnf module.
Finally, the native input method is defined in the AltErgoLib.Parsed_interface and AltErgoLib.Typechecker modules.
AltErgoLib.CnfAltErgoLib.FrontendAltErgoLib.InputTyped inputAltErgoLib.Parsed_interfaceDeclaration of types *AltErgoLib.Typechecker
The Backend
TODO: Add some more explanations.
AltErgoLib.Arrays_relAltErgoLib.TheoryAltErgoLib.CcxAltErgoLib.RelationAltErgoLib.IntervalsAltErgoLib.InequalitiesAltErgoLib.IntervalCalculusAltErgoLib.Records_relAltErgoLib.Ite_relAltErgoLib.Sig_relAltErgoLib.Enum_relAltErgoLib.Bitv_relAltErgoLib.UfAltErgoLib.UseAltErgoLib.MatchingAltErgoLib.InstancesAltErgoLib.Sat_solver_sigAltErgoLib.Fun_satAltErgoLib.SatmlAltErgoLib.Satml_frontendAltErgoLib.Satml_frontend_hybridAltErgoLib.Sat_solverAltErgoLib.Matching_typesAltErgoLib.ShostakAltErgoLib.AcAltErgoLib.ArithAltErgoLib.ArraysAltErgoLib.BitvAltErgoLib.EnumAltErgoLib.IteAltErgoLib.PolynomeAltErgoLib.RecordsAltErgoLib.SigAltErgoLib.Th_util
Utilities
Utilities module specific to Alt-Ergo:
AltErgoLib.ConfigAltErgoLib.ErrorsAltErgoLib.StepsModule_NameAltErgoLib.OptionsAltErgoLib.VersionAltErgoLib.Printer
Stdlib extensions/replacements/wrappers:
AltErgoLib.UtilAltErgoLib.IheapInteger heapsAltErgoLib.EmapAltErgoLib.HstringAltErgoLib.ListsLists utiliesAltErgoLib.MyDynlinkDynlink wrapperAltErgoLib.Gc_debugAltErgoLib.TimersAltErgoLib.HconsingGeneric Hashconsing.AltErgoLib.VecAltErgoLib.LocPosition in input filesAltErgoLib.MyUnixUnix wrapperAltErgoLib.NumbersAltErgoLib.ZarithNumbersAltErgoLib.NumsNumbersAltErgoLib.NumbersInterface
Module index
Unfortunately, odoc doesn't seem to correctly generate the index list the same way that ocamldoc does, :/ While the index of types and values is not generated yet, you can always browse the list of modules.
indexlist