All grant recipients are required to agree to the terms and conditions outlined here before receiving funds.
| 1 | Background |
1.1 Manifold for Charity, 1621 E 6th Street Unit 1440, Austin, TX 78702, United States, a registered 501(c)3-nonprofit with EIN 88-3668801 (the “Charity”). 1.2 vvauted (the “Recipient”) 1.3 Based on the information provided to Manifold for Charity, this grant is to be used exclusively for the following purposes in accordance with the terms and conditions of this letter, unless otherwise approved in advance [in writing] by Manifold for Charity: "Do Formal Theorem Provers Build a Lean World Model?" (the “Project”). 1.4 The start date for this grant will be December 2nd, 2026 (the “Commencement Date”) and will run for the duration (the “Grant Period”) until the Recipient marks the Project as complete (the “Expiry Date”). 1.5 The Charity has not yet decided to give this grant. Rather, it has been recommended to the Charity to give this grant. After the signing of this agreement, the Charity will review the grant application and may decide not to send funds to the Recipient if the Project is not in line with the Charity’s mission. | |
| 2 | Purpose and Use of Grant |
2.1 The Grant is conditional on the satisfactory use of the money and on compliance with the terms of this Agreement. 2.2 The Recipient shall not make any substantive change to the Project without the Charity’s prior written agreement. 2.3 Should any part of the Grant remain unspent at the end of the Grant Period, the Recipient shall ensure that the unspent money is returned to the Charity. | |
| 3 | Prohibited Uses |
3.1 The Recipient shall not use the Grant: (a) Otherwise than for the purposes which fall within the charitable purposes of the Recipient, or to undertake an activity for any purpose other than a religious, charitable, scientific, literary, educational, or other purpose specified in Section 170(c)(2)(B) of the Internal Revenue Code (“IRC”). (b) To attempt to influence legislation, within the meaning of Section 501(c)(3) of the IRC. (c) To participate or intervene in any political campaign on behalf of or in opposition to any candidate for public office, to induce or encourage violations of law or public policy, to cause any private inurement or improper private benefit to occur, or to take any other action inconsistent with Section 501(c)(3) of the IRC. | |
| 4 | Monitoring and Reporting |
4.1 The Recipient is responsible for ensuring that the purposes for which the Grant is given are being met throughout the Grant Period and that the terms of this letter are being adhered to. 4.2 The Recipient shall post a progress report on the Project’s public page on the Charity’s website at least every 3 months, beginning from the date the Charity approves the Grant, and shall post a final report upon the Expiry Date. The Charity will remind the Recipient when each report is due. | |
| 5 | Payment, Withholding, and Recovery of the Grant |
5.1 The Charity may at its discretion withhold or suspend payment of the Grant and/or require repayment of all or part of the Grant and/or terminate this Agreement if: (a) the Recipient uses any of the Grant for purposes other than those for which they have been awarded. (b) all activities associated with the Project are not run in accordance with all statutory or other regulatory requirements in the country where the Recipient is established and in the country where the Project takes place, and in a manner consistent with the good name and reputation of the Charity. (c) the Charity reasonably considers that the Recipient has not made satisfactory progress with the delivery of the Project, in which case any repayment shall be no greater than the unspent balance of the grant. (d) the Recipient provides the Charity with any materially misleading or inaccurate information. (e) the Recipient ceases to work on the Project for any reason. (f) the Recipient fails to comply with any of the terms and conditions of this Agreement. 5.2 The Recipient agrees and acknowledges that the Grant is expressed as a maximum sum and is not a guaranteed payment. It shall be paid only to the extent that the Charity has available funds. The Charity does it all it can to keep fees low and foreign exchange rates fair, however, due to the nature of these fees, the amount the Recipient receives may be reduced by bank transfer fees and, for international transfers, also by forex fees. 5.3 The Recipient shall promptly repay to the Charity any money incorrectly paid to it either as a result of an administrative error or otherwise. This includes (without limitation) situations where either an incorrect sum of money has been paid or where Grant money has been paid in error before all conditions attaching to the Grant have been complied with by the Recipient. 5.4 If the Charity exercises its right to terminate pursuant to Section 5.1, then without prejudice to any other rights and remedies of the Charity, the Recipient shall, at the Charity’s sole discretion, return any remaining part of the Grant to the Charity, or any money that has not been used in accordance with Section 2 of this Agreement. 5.5 The Charity will make the payment using the standard payment routes, but the onus is on the Recipient to help the Charity complete the payment if those routes fail, for example, by providing alternative bank accounts or payment methods, subject to the Charity's acceptance. | |
| 6 | Limitation of Liability |
| The Charity accepts no liability for any consequences, whether direct or indirect, that may come about from the Recipient running the Project, the use of the Grant or from withdrawal of the Grant. The Recipient shall indemnify and hold harmless the Charity, its employees, agents, officers or subcontractors with respect to all claims, demands, actions, costs, expenses, losses, damages and all other liabilities arising from or incurred by reason of the Recipient’s actions and/or omissions in relation to the Project, the non-fulfilment of the Recipient’s obligations under this letter or the Recipient’s obligations to third parties. Subject to the foregoing, the Charity’s liability under this letter is limited to the payment of the Grant. | |
| 7 | Personal taxes |
| If applicable, the Recipient is responsible to pay when due all local taxes, duties, and other governmental fees, taxes or other governmental charges that may apply to personal income. The Grant shall not be increased in the event of any tax become payable on the Grant money. The Grant may be classified as taxable income. It is up to the Recipient to check with an accountant or tax professional to see whether they need to declare the Grant for tax purposes. | |
| 8 | Federal tax law compliance |
| Recipient acknowledges that it understands its obligations imposed by this Agreement, including but not limited to those obligations imposed by reference to the IRC. Recipient agrees that if Recipient has any doubts about its obligations under this Agreement, including those incorporated by reference to the IRC, Recipient will promptly contact Charity or its own legal counsel. | |
| 9 | No employment |
| The making of this Grant does not represent or imply any kind of employment relationship between the Recipient and the Charity. | |
| 10 | Publications; License |
| Any information contained in publications, studies, or research funded by this Grant shall be made available to the public following such reasonable requirements or procedures as Charity may establish from time to time. Promptly after creation of any publications, studies, or research funded by this Grant, Recipient agrees to grant to Charity an irrevocable, worldwide, nonexclusive, fully-paid up license to publish, in Charity’s discretion, such intellectual property, and to execute promptly any documents and instruments that the Charity may reasonably request in order to effect such license, without further consideration. | |
| 11 | No Agency |
| Recipient is solely responsible for all activities supported by the Grant funds, the content of any product created with the Grant funds, and the manner in which any such product may be disseminated. This Agreement shall not create any agency relationship, partnership, or joint venture between the parties, and Recipient shall make no such representation to anyone. | |
| 12 | Terrorist Activity |
| Recipient warrants that it does not support or conduct, directly or indirectly, violence or terrorist activity of any kind. | |
| 13 | Variations |
| No variation of this Agreement shall be effective unless it is in writing and signed by or on behalf of each party. | |
| 14 | Entire agreement |
| This Agreement is the entire agreement between the parties, and replaces all previous agreements and understandings between them, relating to its subject matter. | |
| 15 | Governing Law |
| This Agreement shall be governed by the laws of the State of California applicable to contracts to be performed entirely within the State. |
The project's title and description when this agreement was signed on December 2nd, 2026. The project page shows the current version, which its creator may have edited since.
I am requesting $30,000 (minimum $8,000) for a 6-month independent research sprint in Shanghai studying how formal theorem provers in Lean 4 represent proof states, consume compiler feedback during multi-turn repair, and change across Base, SFT, and RL training.
Pre-publication note: To protect priority before arXiv submission, specific unpublished pilot measurements, effect sizes, and split diagnostics are withheld from this public page. Vetted Manifund regrantors and donors can email vvauted@gmail.com for private read access to the full audit ledger, pre-registered protocols, and preliminary findings.
In discrete board games like Othello or chess, moves are atomic and there is no external solver. If a sequence model predicts legal moves reliably over long horizons, it has little choice except to track board state in its hidden activations.
Lean 4 provers do not face that constraint. In practice, open-weight provers have two shortcuts that bypass internal kernel simulation:
Outsourcing algebra and logic to decision procedures: Lean tactics like ring, linarith, nlinarith, omega, and simp act as symbolic solvers. For routine subgoals, surface syntax routing is often enough. On harder goals, the real bottleneck is guessing nonlinear witnesses or lemma arguments rather than simulating internal reduction rules.
Externalizing state via explicit have blocks: In step-level search, the REPL prints the updated state back into context. Even in whole-proof generation without compiler echoes, provers heavily emit "have h : T := by ...", writing the intermediate proposition back into the text context so later steps can attend to explicit tokens instead of tracking hidden state across rewrites.
As a result, "formal world modeling" splits into two distinct questions:
A compiler-transition model: tracking variable bindings, hypothesis scope, rewrite effects, and tactic feasibility when intermediate states are not rewritten as explicit have anchors.
A mathematical planning model: deciding which intermediate subgoals advance a proof rather than burning search budget on valid but unhelpful lemmas, and recognizing compiler feedback during multi-turn repair.
Tactic prediction is not a single-label classification problem: tactic arguments, witness instantiation, and dependency structure matter at least as much as the tactic head. Over 180+ pilot experiments and an internal confound-audit ledger across open-weight provers (1.7B to 27B), I found several ways standard mechanistic interpretability methods produce false positives on formal provers:
Search-stopping bias: Logging search trees that stop at the first closing proof puts closing candidates last by construction, creating artificial anti-correlations between policy likelihood and proof closure unless full unpruned candidate pools are evaluated.
Surface and length confounders in supervised probes: Linear probes that look impressive against raw unnormalized log-probabilities often lose their edge once matched against text baselines that include token length, line counts, and multi-line formatting flags, or fail completely when holding out a tactic family like nlinarith.
Protocol and decoding mismatches: Chat vs completion formatting, piecewise UTF-8 decoding bugs on subscripts and Unicode symbols, half-precision (bf16) numerical drift, and unverified checkpoint lineages (mistaking sibling releases from the same base for a parent-child RL pair) can easily fabricate fake stage gaps.
Our public and internal audit work strips out these artifacts by enforcing official model toolchains, deterministic SHA-256 explore/confirm theorem splits (zero cross-split leakage of isomorphic or renamed theorems), fp32 causal checks, and Lean kernel replay as the ground-truth arbiter.
This grant funds systematic confirmatory runs and mechanistic interventions across weight-verified Base, SFT, and RL prover chains (7B to 27B) and multi-turn repair loops, organized around five core questions:
How do provers internally represent Lean state transitions and tactic feasibility, as distinct from surface prompt cues?
What does SFT and RL actually change internally, versus simply shifting sampling distributions and formatting?
What predictive signals exist in activations, sampling consistency, or compiler diagnostics that standard SFT/RL training fails to use?
Can causal interventions on targeted representations or attention paths rescue genuine failure modes?
Can these findings be made training-effective, improving end-to-end proof rates under matched training compute and Lean-verification budgets?
Milestones:
Months 1-2 (Confirmatory Behavioral & Counterfactual Controls): Run pre-registered, Lean-verified counterfactual experiments on our sealed confirm splits covering multi-turn compiler feedback utilization and in-place parameterized tactic feasibility transplantation (with matched shuffle and placebo controls).
Months 3-4 (Cross-Family Mechanistic Localization): Run 4x/8x H100 activation caching, KV-prefix interventions, attention-knockout checks, and weight-diff spectral attribution across 7B to 27B Base, SFT, and RL checkpoints.
Months 5-6 (Training-Time Tests & Open Release): Test whether mechanistic signals translate into equal-budget training improvements on held-out theorems, post an arXiv preprint and LessWrong technical report covering both positive and negative results, and open-source the Lean counterfactual harness and evaluation splits.
Pre-registered empirical rigor: Every reported claim must pass strict explore/confirm separation, matched lexical/random controls, and causal Lean-kernel verification (not probe AUROC alone).
Transparent null reporting: Confirmed negative and methodological confound findings will be published alongside positive mechanisms.
Open infrastructure: Public release of the Lean 4 counterfactual prefix/feedback replay toolkit and evaluation scripts upon arXiv posting.
Working independently in Shanghai keeps living expenses low with zero institutional overhead, putting 64% of the target budget directly into H100 compute:
Living stipend (6 months, Shanghai rent, food, health, local costs at $1,800/mo x 6): $10,800
Cloud GPU compute (4x/8x H100 for 7B-27B activation caching, patching, and confirmatory RL runs at ~$3,200/mo x 6): $19,200
Target funding total (6 months): $30,000
Minimum viable goal (3 months): $8,000 ($5,400 living for 3 months + $2,600 GPU compute to finish confirmatory controls and submit the initial preprint)
I am Shiyuan Zhang (vvauted@gmail.com, https://github.com/Vvauted), an 18+ high-school graduate taking a full-time research gap year in China (NOIP 2023 First Prize).
SphereLab, SLAI (Research Intern, Mar 2026 - Present): Lean 4 and formal-methods specialist working on formal benchmarks, math reasoning training, and prover training; solely led FormalCP (an unpublished 100-problem dual-track Lean 4 competitive-programming and complexity benchmark); co-author of a paper under review at ICLR 2027.
Public Lean 4 projects: Author of Complexity (https://github.com/Vvauted/Complexity, computational-model and certified Word-RAM running-time DSL in Lean 4 + mathlib) and OpLean (https://github.com/Vvauted/OpLean, Zero-TCB Lean 4 verification DSL extending Complexity to GPU operators, auditing 1,506 ROCm/aiter kernels with 5 filed upstream bugs #8890-#8894, 1 decoder crash #11, and 10 Lean-refuted bugs across vLLM, Unsloth, SGLang, FlagGems, and FlashInfer). Also 24 merged PRs in cslib-community/cslib-frontier (Nov 2026) formalizing optimal minimum-spanning-forest components on Word-RAM.
Conflict-of-interest & concurrent grants disclosure: No family or close associates receive funds from this grant. I have concurrent applications with EA Funds (for OpLean and a private unredacted track for formal-interp) and plan a separate Ethereum Foundation ESP proposal (zkVM verification). I commit strictly to zero double-funding of living stipends or compute: if multiple grants succeed, I will sequence work periods sequentially or reduce overlapping budgets. References are available upon request (SLAI SphereLab ICLR 2027 collaborator and cslib-frontier maintainer).