arXiv Open Access 2022

Synthesizing Mathematical Identities with E-Graphs

Ian Briggs Pavel Panchekha
Lihat Sumber

Abstrak

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 two-phase synthesis and deduplication pipeline that discovers these identities automatically. In the synthesis step, a set of rewrite rules is composed, using an e-graph, to discover candidate identities. However, most of these candidates are duplicates, which a secondary deduplication step discards using integer linear programming and another e-graph. 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.

Topik & Kata Kunci

Penulis (2)

I

Ian Briggs

P

Pavel Panchekha

Format Sitasi

Briggs, I., Panchekha, P. (2022). Synthesizing Mathematical Identities with E-Graphs. https://arxiv.org/abs/2206.07086

Akses Cepat

Lihat di Sumber
Informasi Jurnal
Tahun Terbit
2022
Bahasa
en
Sumber Database
arXiv
Akses
Open Access ✓