E-graphs have emerged as a versatile data structure with applications in synthesis, optimization, and verification through techniques such as equality saturation. This paper introduces Python bindings for the experimental egg-smol library, which aims to bring the benefits of e-graphs to the Python ecosystem. The bindings offer a high-level, Pythonic API providing an accessible and familiar interface for Python users. By integrating e-graph techniques with Python, we hope to enable collaboration and innovation across various domains in the scientific computing and machine learning communities. We discuss the advantages of using Python bindings for both Python and existing egg-smol users, as well as possible future directions for development.
翻译:E-graphs作为一种多功能数据结构,已通过等饱和度等技术在综合、优化与验证领域展现出应用价值。本文介绍了实验性egg-smol库的Python绑定,旨在将e-graphs的优势引入Python生态系统。该绑定提供高级Python化API,为Python用户构建了可访问且熟悉的交互界面。通过将e-graph技术与Python结合,我们期望推动科学计算与机器学习社区跨领域的协作创新。文中探讨了Python绑定对Python现有用户及egg-smol用户的双重优势,并展望了未来开发方向。