hegg: Fast equality saturation in Haskell
Fast equality saturation and equality graphs based on "egg: Fast and Extensible Equality Saturation" and "Relational E-matching".
This package provides e-graphs (see Data.Equality.Graph
),
a data structure which efficiently represents a congruence
relation over many expressions
Secondly, it provides functions for doing equality
saturation (see Data.Equality.Saturation
), an
optimization/term-rewriting technique that applies rewrite
rules non-destructively to an expression represented in an
e-graph until saturation, and then extracts the best
representation.
Equality matching (see Data.Equality.Matching
) is done as
described in "Relational E-Matching"
For a walkthrough of writing a simple symbolic simplification program see the hegg symbolic tutorial.
Additional information can be found in the README.
Modules
[Index] [Quick Jump]
Flags
Manual Flags
Name | Description | Default |
---|---|---|
vizdot | Compile | Disabled |
Use -f <flag> to enable a flag, or -f -<flag> to disable that flag. More info
Downloads
- hegg-0.1.0.0.tar.gz [browse] (Cabal source package)
- Package description (revised from the package)
Note: This package has metadata revisions in the cabal description newer than included in the tarball. To unpack the package including the revisions, use 'cabal get'.
Maintainer's Corner
For package maintainers and hackage trustees
Candidates
Versions [RSS] | 0.1.0.0, 0.2.0.0, 0.3.0.0, 0.4.0.0, 0.5.0.0 |
---|---|
Change log | CHANGELOG.md |
Dependencies | base (>=4.4 && <5), containers (>=0.4 && <0.7), transformers (>=0.4 && <0.7) [details] |
Tested with | ghc ==9.4.1 || ==9.2.2 || ==9.0.2 || ==8.10.7 |
License | BSD-3-Clause |
Copyright | Copyright (C) 2022 Rodrigo Mesquita |
Author | Rodrigo Mesquita <romes> |
Maintainer | Rodrigo Mesquita <rodrigo.m.mesquita@gmail.com> |
Revised | Revision 1 made by phadej at 2023-08-11T16:47:15Z |
Category | Data |
Home page | https://github.com/alt-romes/hegg |
Bug tracker | https://github.com/alt-romes/hegg/issues |
Source repo | head: git clone https://github.com/alt-romes/hegg |
Uploaded | by romes at 2022-08-25T22:23:31Z |
Distributions | LTSHaskell:0.5.0.0, NixOS:0.5.0.0 |
Reverse Dependencies | 1 direct, 0 indirect [details] |
Downloads | 465 total (1 in the last 30 days) |
Rating | 2.0 (votes: 1) [estimated by Bayesian average] |
Your Rating | |
Status | Docs uploaded by user Build status unknown [no reports yet] |