
Briggs, Ian

EGRAPHS '22: "Synthesizing Mathematical ..."
Synthesizing Mathematical Identities with EGraphs
Ian Briggs and Pavel Panchekha
(University of Utah, USA)
Identities compactly describe properties of a mathematical expression and can be leveraged into faster and more accurate function implementations. However, identities must currently be discovered manually, which requires a lot of expertise. We propose a twophase synthesis and deduplication pipeline that discovers these identities automatically. In the synthesis step, a set of rewrite rules is composed, using an egraph, to discover candidate identities. However, most of these candidates are duplicates, which a secondary deduplication step discards using integer linear programming and another egraph. Applied to a set of 61 benchmarks, the synthesis phase generates 7215 candidate identities which the deduplication phase then reduces down to 125 core identities.
@InProceedings{EGRAPHS22p1,
author = {Ian Briggs and Pavel Panchekha},
title = {Synthesizing Mathematical Identities with EGraphs},
booktitle = {Proc.\ EGRAPHS},
publisher = {ACM},
pages = {16},
doi = {10.1145/3520308.3534506},
year = {2022},
}
Publisher's Version
Article Search


Panchekha, Pavel

EGRAPHS '22: "Synthesizing Mathematical ..."
Synthesizing Mathematical Identities with EGraphs
Ian Briggs and Pavel Panchekha
(University of Utah, USA)
Identities compactly describe properties of a mathematical expression and can be leveraged into faster and more accurate function implementations. However, identities must currently be discovered manually, which requires a lot of expertise. We propose a twophase synthesis and deduplication pipeline that discovers these identities automatically. In the synthesis step, a set of rewrite rules is composed, using an egraph, to discover candidate identities. However, most of these candidates are duplicates, which a secondary deduplication step discards using integer linear programming and another egraph. Applied to a set of 61 benchmarks, the synthesis phase generates 7215 candidate identities which the deduplication phase then reduces down to 125 core identities.
@InProceedings{EGRAPHS22p1,
author = {Ian Briggs and Pavel Panchekha},
title = {Synthesizing Mathematical Identities with EGraphs},
booktitle = {Proc.\ EGRAPHS},
publisher = {ACM},
pages = {16},
doi = {10.1145/3520308.3534506},
year = {2022},
}
Publisher's Version
Article Search
