Method
Procedure 1. Two-ended search.
Search expands from the axioms and from the target. Each end keeps a frontier of at most 15 lemmas. The ends alternate one move each until the gap reaches 0.
Here is the forward frontier at round , the backward frontier, the shortest implication path from to , the gap.
Definition 2. Middle points.
A middle point is a statement that completes the proof once proved from both sides. The search keeps 5 of them per target and each end works toward its nearest one.
Here is the set of middle points, the forward frontier, the target, the cheapest middle point.
Definition 3. Lemma frontier.
Each end ranks candidate lemmas by coverage per cost and keeps the top 15. The ranking is recomputed after every round.
Here is a candidate lemma, its weighted downstream reach, the probability it is provable, the tokens to prove it.
Procedure 4. Bridge finding.
From the target, ask what would need to be true for it to be true. Each answer becomes a new statement one step closer to the forward frontier.
Here is the set of bridge hypotheses after backward steps, the target, a hypothesis, a statement already in .
Procedure 5. Cheapest question first.
Each goal gets three attempts in order of cost: disprove it, prove its double negation, prove it directly. A proof of the double negation gives the goal with Classical.choice, one of the 3 allowed axioms.
Here is the goal statement, its negation, and means "is tried before".
Definition 6. Optimal question.
The best question closes the most open goals per token. For targets it is the problem whose solution unlocks the most downstream problems. For lemmas it is the sub-lemma that closes the most subgoals.
Here is a candidate question, the set of open goals closed by answering , the tokens to answer it.
Definition 7. Failure lemma bank.
Every Lean-verified sub-lemma from a failed attempt enters the bank if it is non-trivial. Its score is the number of open goals it closes.
Here is a verified sub-lemma, the open goals, the bank score, the non-trivial filter.
Definition 8. Coverage graph.
The graph joins LeanGraph (388,105 nodes, 11.3M edges) with the 909 formal-conjectures Erdős files and the 68 FME conjectures. Reach counts open nodes weighted by distance.
Here is a node, the open nodes reachable from , the bridge distance from to , the weighted downstream reach.
Definition 9. AI-rated hypotheses.
A model rates which bridge hypotheses and middle points to try. The rating combines four inputs.
Here is a hypothesis, the estimated provability, and the distances to the forward and backward frontiers, the concept novelty, the combining function fitted on past success.
Procedure 10. Shortener cascade.
Five steps shorten a verified proof. Every step must Lean-verify. Steps 1 to 3 run twice on CPU as an idempotence test: a second pass that shortens again is a defect in the first.
Here is the input proof, the proof after step , its step count, the reduction.
Procedure 11. Physarum shortest path.
Conductivity on each implication edge grows with the flow it carries and decays otherwise. Edges on short bridges end with high conductivity. The method keeps several parallel paths and adapts as the bank grows.
Here is an edge, its conductivity, its length, and the pressures at its ends, the flow.
Definition 12. One shared engine.
One function scores targets, scores lemmas, and defines the objective that Optuna maximizes in C4. The optimizer and the system therefore rank by the same quantity.
Here is weighted downstream reach, the probability of being provable, the tokens, the C4 objective, the non-trivial verified solves on the held-out PutnamBench slice, the CPU-minutes.