FormulaNet
Graph embedding network that selects mathematical statements relevant for proving a given conjecture.
Graphs and geometry · 1,869 operations Checked
Click or tap a spot to read it up close. Scroll or drag inside the diagram to move through it. Zoom with + and − or Ctrl and scroll. Press 0 for the whole graph. Swipe inside the diagram to move through it. Use + and − to zoom.
At a glance
- Task
- Graphs and geometry
- Parameters
- 5.4M
- Operations
- 1,869
- Framework
- PyTorch
- Recurrent
- Yes
- Published
- NIPS 2017
- Cited by
- 77 (as of 29 October 2026)
- Authors
- Mingzhe Wang, Yihe Tang, Jian Wang, Jia Deng
- License
- BSD-3-Clause
- Checked
- Passed: the trace was replayed operation by operation and matched the model's own output for this input.
Files
The file opened in a new tab. Use your browser's Save command there to keep it.
The diagram is a drawing of a TorchLens trace of the source code. It contains no code or weights.
Details
- Stable ID
- m16736
- Graph hash
- 43b3da50732c79d3765e62e4e9ffbac0b36a238fa1fcc3e30363f3835bb7c1b1
- Skeleton hash
- 49c729aa1d1ab702dd851dd5b133d3b4da841839f9c0b278cd322f8837d1eeae
- Architecture hash
- 223b42d9e7a97c92cbecb7fcdb46e3ce80334d84a1c394d3f9d35741ff156fcf
- Diagram SHA-256
- 2341ba06393051022f7dda279781d2aceec12e8862334e88389e9ec38adb2bbd
- TorchLens version
- 2.36.0
- Renderer
- graphviz 2.43.0+pyvips 3.2.0+libvips 8.18.7+render-opts@06c1f0d3
- Check
- Forward pass replayed in PyTorch
What it is
FormulaNet is the model from the paper Premise Selection for Theorem Proving by Deep Graph Embedding. Premise selection means selecting mathematical statements relevant for proving a given conjecture. The approach represents a higher-order logic formula as a graph that is invariant to variable renaming but still fully preserves syntactic and semantic information. It then embeds the graph into a vector with an embedding method that preserves the information of edge ordering.
The paper reports that the approach improved classification accuracy on the HolStep dataset from 83% to 90.3%. In the repository, a training option that turns on the order-preserving terms separates FormulaNet from FormulaNet-basic. Pretrained models are listed for both conditional and unconditional premise selection.
Key idea. The paper represents a higher-order logic formula as a graph and embeds it into a vector with a method that preserves edge ordering, for premise selection.
- FormulaNet
- FormulaNet-basic
- premise selection
- theorem proving
- automated theorem proving
- deep graph embedding
- higher-order logic
- HolStep
- formula graph
AI-written summary, based on the paper's abstract and checked automatically against it; not reviewed by a person. Corrections welcome.
Cite the paper
@misc{wang2017premiseselectiontheoremproving,
title={Premise Selection for Theorem Proving by Deep Graph Embedding},
author={Mingzhe Wang and Yihe Tang and Jian Wang and Jia Deng},
year={2017},
eprint={1709.09994},
archivePrefix={arXiv},
primaryClass={cs.AI},
url={https://arxiv.org/abs/1709.09994},
}