1#[cfg(feature = "bitslice")]
27mod bitslice;
28mod circuit;
29mod coi;
30mod diff;
31mod model;
32pub mod prelude;
33mod render;
34mod report;
35pub mod sat;
36mod simd;
37mod skolem;
38mod solve;
39mod symmetry;
40mod tests_gen;
41mod translate;
42
43#[cfg(feature = "bitslice")]
44pub use bitslice::count_bitsliced;
45pub use diff::{DiffReport, DiffVerdict, diff_functions, diff_models, diff_models_with_bitwidth};
46pub use elinvar_logic as logic;
47pub use model::{
48 Action, Command, InstanceIter, MODEL_CODES, Model, Ordering, Step, StepGuard, StepSpec,
49};
50pub use render::{
51 DiagramFormat, render_instance, render_instance_sql_with_values, render_model, render_report,
52 render_report_sql_with_values, render_states, render_states_sql_with_values, render_trace,
53};
54pub use report::{
55 Change, RESULT_SCHEMA, RESULT_VERSION, Report, SHRINK_CONFLICTS, Sizes, StepReport,
56 TraceReport, story, story_brief,
57};
58pub use tests_gen::{TestCase, TestKind};
59
60pub fn explain(code: &str) -> Option<&'static logic::Code> {
63 logic::explain(code).or_else(|| MODEL_CODES.iter().find(|c| c.code == code))
64}
65
66pub fn codes() -> impl Iterator<Item = &'static logic::Code> {
68 logic::CODES.iter().chain(MODEL_CODES)
69}
70pub use solve::{
71 Finder, HoldsCore, Next, Options, Outcome, Stats, StepLabel, Verdict, check, check_with_solver,
72 count, count_with_solver, explain_core, run, run_with_solver, tuples_named,
73};
74pub use symmetry::partition as symmetry_partition;