egg-smol
Python#
egg-smol
is a Python package that provides bindings to the Rust library egg-smol
,
allowing you to use e-graphs in Python for optimization, symbolic computation, and analysis.
pip install egg-smol
- Examples Gallery
- Tutorials
- How-to guides
- Explanation
- Reference
- Changelog
egg_smol
egg_smol.bindings
ActionCommand
Call
Check
Clear
ClearRules
Datatype
Define
Delete
EGraph
EGraph.add_rewrite()
EGraph.add_rule()
EGraph.check_fact()
EGraph.clear()
EGraph.clear_rules()
EGraph.declare_constructor()
EGraph.declare_function()
EGraph.declare_sort()
EGraph.define()
EGraph.eval_actions()
EGraph.extract_expr()
EGraph.parse_and_run_program()
EGraph.pop()
EGraph.print_function()
EGraph.print_size()
EGraph.push()
EGraph.run_rules()
EggSmolError
Eq
Expr_
Extract
Fact
Function
FunctionDecl
Input
Int
Let
Lit
Panic
Pop
Print
PrintSize
Push
Query
Rewrite
RewriteCommand
Rule
RuleCommand
Run
Schema
Set
Sort
String
Union
Unit
Var
Variant
parse()