The Commonplace
Home Papers Evidence Explore Trends Syntheses Digests References Docs 🎲 Workforce Futures
← Papers
Direction, evidence grade, and study type are AI-generated labels (gpt-5-mini), not human-verified. Syntheses are LLM-written. "Tensions" are machine-detected candidates, not confirmed contradictions. A research-acceleration tool, not peer review. How this is built →

A system can autonomously generate and machine-verify causal-inference theorems, but formal correctness alone is insufficient — an audit step is required to ensure the formal statements reflect the intended scientific claims.

CausalForge: A Formally Grounded, Self-Improving Agentic Framework for Automated Research in Causal Inference
Jiyuan Tan, Vasilis Syrgkanis · July 24, 2026
arxiv theoretical n/a evidence 7/10 relevance Full text usable extracted full text Source PDF

Structured author observations

Linked only from stored provider relations; the raw author line above is never matched by name.

Arxiv

Latest observation:

  1. Jiyuan Tan unresolved corpus identity
  2. Vasilis Syrgkanis unresolved corpus identity

Semantic Scholar

Latest observation:

  1. Jiyuan Tan provider ID
  2. Vasilis Syrgkanis provider ID
CausalForge pairs a large machine-checked Lean causal-inference library with an agentic pipeline that autonomously proposes, formalizes, and proves causal theorems, supplementing kernel verification with an audit comparing formal statements to intended informal claims.

Citation observations

Cumulative provider counts captured on specific dates; providers are never combined.

Automating theoretical research is constrained not only by the generation of candidate results, but also by their reliable evaluation. A common approach is to close the research loop with a large language model (LLM) reviewer. However, such reviewers remain empirically unreliable: they may accept fabricated papers and detect them at rates close to chance (Bad Scientist, 2025). We present CausalForge, a framework for automated theoretical research in causal inference grounded in the Lean proof assistant. CausalForge combines Causalean, a foundational Lean library for causal inference containing 7,035 machine-checked declarations developed with language-model assistance under human design and review, with CausalSmith, a self-improving agentic pipeline that selects research topics, proposes results, formalizes statements, constructs proofs, and presents the resulting artifacts for human inspection. Because a machine-checked proof establishes only that a formal statement follows from its assumptions, not that the statement faithfully captures the intended scientific claim, the pipeline augments kernel verification with a statement audit that compares each formal theorem against the informal claim it is intended to express. We evaluate the system using artifacts produced by completed autonomous research runs. The source code, formal library, and run records are available at https://github.com/Jiyuan-Tan/CausalForge.

Summary

Main Finding

CausalForge demonstrates that autonomous theoretical research in causal inference can be made verifiably reliable by combining (a) a large, reusable Lean 4 formal library of causal-inference mathematics (Causalean) with (b) a self-improving agentic pipeline (CausalSmith) that proposes, formalizes, proves, and audits results. The system supplies a two-part guarantee: proofs are machine-checked by the Lean kernel, and each formal statement is audited against the intended natural-language claim to ensure the formalization actually expresses the claimed result.

Key Points

  • Architecture and novelty

    • Causalean: a foundational Lean 4 library for causal inference (graphs, SCMs, potential outcomes, identification, estimation, asymptotic statistics, panel methods, experimentation, discovery tools).
    • CausalSmith: an agentic discovery pipeline that selects topics, proposes theorems, auto-formalizes and proves them, audits statement–claim fidelity, and can promote newly proved reusable lemmas back into Causalean after human review.
    • Two-layer trust model: (1) Lean kernel gives proof soundness (no untrusted component can alter correctness of accepted proofs); (2) a fine-grained statement audit checks that the formal theorem matches the informal claim (addresses vacuity, axiomatization shortcuts, and altered hypotheses).
  • Scale and artifacts

    • Library snapshot: 7,035 machine-checked declarations (4,616 theorems, 2,015 definitions, 404 structures/instances/inductives), across 973 files and ~262k lines.
    • Curators marked 1,597 library theorems as headline results and recorded 3,677 human statement-review stamps.
    • Evaluation used 123 recorded autonomous runs; the authors catalogued the machine-checked results and report at least one novel headline result that filled a gap in the literature (Zeng et al.).
  • Empirical/behavioral observations about automated discovery

    • LLM-based reviewers are empirically unreliable (can accept fabricated papers at high rates). Formal verification via proof assistants avoids this failure mode for proofs, but does not automatically ensure the formal statement corresponds to the intended claim.
    • Without audit, agents can (and did) introduce axioms, alter hypotheses, or produce vacuous statements that pass the kernel.
    • The pipeline’s Discovery stage tends to succeed on problems where the missing work is technical (i.e., reductions or filling technical lemmas) and struggles to originate genuinely new conceptual ideas; when asked to choose topics autonomously, accepted results concentrate on "low-idea/high-technical" gaps.
  • Practical design choices

    • Human-in-the-loop roles: humans set scope and definitions for library entries, review and accept promoted declarations, and inspect the audited outputs; agents draft and iterate against the compiler.
    • Retrieval interface: agents query a retrieval index over all declared items to compose proofs from existing results.
    • Incremental, graph-localized audit: the system represents each result as a logic graph of dependent statements and audits nodes locally, so changes re-open only affected nodes.
  • Availability: the code, library, and run records are public at https://github.com/Jiyuan-Tan/CausalForge and browsable via a companion site.

Data & Methods

  • Formal-verification platform: Lean 4 proof assistant. Kernel-only trust model ensures proof soundness; the compiler/tactics/agents remain untrusted.
  • Causalean construction process:
    • Scope and definitions chosen by humans.
    • Language models (LLMs) drafted definitions, proofs, and docstrings; humans reviewed and accepted statements into the library only after kernel acceptance and a statement-level audit.
    • Library statistics (snapshot): 7,035 declarations; 973 files; ~262,000 lines; cluster breakdown across Graph, SCM, Potential Outcomes (PO), Estimation, Stat (probability/empirical-process theory), Panel, Experimentation, ML and Discovery.
    • Flagship machine-checked results include do-calculus rules, backdoor/frontdoor adjustment, ID algorithm soundness, LATE Wald identification, DiD identification results, Manski and Balke–Pearl bounds, DML asymptotics, CLTs, entropy tools, etc.
  • CausalSmith pipeline:
    • Stages: Discovery (topic selection and conjecture generation), Formalization (translate conjecture into Lean statement), Proof-search (construct proof using retrieved lemmas and generated tactics), Statement audit (compare formal statement to informal claim), Promotion loop (proved reusable lemmas can be proposed for inclusion into Causalean subject to human review).
    • Statement audit: a fine-grained, nodewise procedure that checks for vacuity, axiomatization shortcuts, semantic mismatch (e.g., altered hypotheses), and other failure modes not caught by type-checking.
  • Evaluation:
    • 123 autonomous runs recorded and analyzed.
    • Artifacts: catalogue of machine-checked theorems produced by runs; the system discovered at least one substantive new theorem that resolved a gap in prior work (Zeng et al.); empirical pattern that autonomously chosen problems focus on technical gaps rather than conceptual novelty.
    • The run record includes proofs, formal statements, audit records, and human review stamps.

Implications for AI Economics

  • Productivity gains and research supply

    • Formalized, agent-driven pipelines like CausalForge can substantially lower the marginal cost of producing formally verified technical results in domains amenable to formalization (causal inference here). This could accelerate the supply of rigorous, machine-checked methodological results, especially for technically intricate but conceptually incremental work.
    • If generalized across fields, such systems could shift academic and industrial research toward higher throughput of formal results, expanding the stock of reusable scientific public goods (formal libraries).
  • Complementarity with human labor and skill reallocation

    • The system highlights a division of labor: agents handle drafting and technical formalization; humans retain roles in setting scope, conceptual innovation, auditing, and curatorial promotion. Demand for researchers may shift from routine theorem-proving or routine technical formalization toward conceptual idea generation, high-level modeling, and auditing/curation skills (including familiarity with proof assistants).
    • Economists and institutions will need to value and reward new contributions (e.g., building and curating formal libraries) that underpin automated discovery.
  • Quality, trust, and verification infrastructure

    • Machine-checked proofs plus explicit statement-auditing raise the verifiability standard beyond standard LLM review. This reduces information asymmetries about correctness, potentially lowering verification costs for downstream users (journals, policy analysts, firms) who rely on theoretically sound causal claims.
    • However, formalization is costly. There is an upfront investment in building and maintaining a high-quality formal library; returns accrue as reuse. Economically, this suggests public or subsidized investment may be optimal to create infrastructure with positive externalities.
  • Incentives, strategic behavior, and standards

    • The paper documents failure modes (axioms, vacuity, altered hypotheses) that agents can exploit to pass naive checks. Governance mechanisms (audits, human promotion, transparent run records) matter. Standards for audits and provenance of formal artifacts will become important for market and policy trust.
    • Formal libraries as public goods: open repositories (like Causalean) are valuable inputs into automated discovery; incentives to contribute (credit, citation, funding) and mechanisms to prevent fragmentation or duplication will affect growth and adoption.
  • Market and policy impacts of faster causal-methods development

    • Faster, machine-verified progress in causal methods could speed the diffusion of better identification/estimation tools into applied work (econometrics, policy evaluation, industry A/B testing). This may improve decision quality in firms and public agencies, amplifying welfare gains when better causal methods change policies or business strategies.
    • Conversely, unequal access (expertise in proof assistants; proprietary formal libraries) could create competitive asymmetries between well-resourced organizations and others.
  • Limits and cautionary notes for economic modeling

    • Current systems are better at producing technical extensions than originating new conceptual frameworks. Forecasts about research productivity or labor displacement should account for this qualitative limitation.
    • Formalization and audit reduce but do not eliminate human oversight needs; scaling to multiple fields requires sustained investment in domain-specific formal libraries and skilled curators.
    • There is potential for misalignment if economic incentives value quantity of machine-checked artifacts rather than substantive conceptual advances; incentives must be designed to reward novelty and relevance, not only provability.
  • Research-policy recommendations

    • Support publicly accessible formal infrastructure (libraries, indices, audit frameworks) to maximize positive externalities.
    • Fund interdisciplinary training (proof assistants + domain expertise) to grow the pool of auditors/curators.
    • Develop standards for provenance, audit logs, and human-review stamps so machine-verified results can be certified for downstream decision-making.
    • Monitor labor-market effects: measure impacts on demand for formalizers vs. idea-generators and adapt evaluation/credit systems (journals, tenure) to recognize contributions to formal infrastructure and auditing.

Limitations to keep in mind - Formalization is costly and not universally applicable; many empirical or highly conceptual claims resist clean formalization. - The pipeline empirically prefers filling technical gaps rather than generating wholly new ideas; the role of human creativity remains central. - Statement audits mitigate but may not fully eliminate semantic mismatches between formal and informal claims; human review and standards remain necessary.

If helpful, I can: - produce a short economic model sketch (simple supply–demand or task-reallocation model) of how such automation shifts researcher labor and productivity; or - list concrete policy actions and costing that a funder or university should consider when investing in formal-library infrastructure.

Assessment

Paper Typetheoretical Evidence Strengthn/a — The paper is a systems/theoretical contribution that constructs a formal library and an automated research pipeline and evaluates them via produced artifacts; it does not present empirical causal estimates or tests about economic outcomes, so traditional evidence-strength grading for causal claims is not applicable. Methods Rigormedium — The project uses rigorous machine-checked proofs in Lean (7,035 declarations) and documents an audit step to compare formal statements to informal claims, which is strong from a formal-methods perspective; however, the workflow relies substantially on LLM assistance in library creation and on agentic heuristics whose failure modes and external validation are not fully characterized, and evaluation appears limited to artifacts from autonomous runs rather than broad benchmarks or independent replication. SampleA foundational Lean library for causal inference (Causalean) containing 7,035 machine-checked declarations developed with LLM assistance plus artifacts (theorems, formalizations, proofs) produced by autonomous runs of the CausalSmith pipeline; source code, library, and run records are available on GitHub; the paper does not report a separate empirical dataset or large-scale human-subject evaluation. Themeshuman_ai_collab productivity GeneralizabilityFocused on formal theorem-proving in causal inference and the Lean proof assistant, so applicability to empirical economics or non-formalized domains is limited, Depends on the expressiveness and conventions of Lean — results may not transfer to other proof assistants or informal research workflows, Relies on LLM behavior and prompts; performance and reliability will vary with model choice and updates, Formal proofs guarantee logical derivation from stated assumptions but do not ensure that formal statements capture real-world causal questions, Evaluation based on produced artifacts from runs (no broad external benchmarks, user studies, or application to empirical datasets) limits claims about practical research productivity gains

Claims (7)

ClaimDirectionOutcomeConfidence & EvidenceDetails
LLM reviewers remain empirically unreliable: they may accept fabricated papers and detect them at rates close to chance (Bad Scientist, 2025). Decision Quality negative reviewer_detection_rate (accepting fabricated papers / detection rate)
Reading fidelity high
Study strength medium
detect them at rates close to chance
0.12
We present CausalForge, a framework for automated theoretical research in causal inference grounded in the Lean proof assistant. Research Productivity positive ability to automate theoretical research workflows
Reading fidelity high
Study strength medium
not reported
0.12
Causalean, a foundational Lean library for causal inference, contains 7,035 machine-checked declarations developed with language-model assistance under human design and review. Research Productivity positive size of formalized library (number of machine-checked declarations)
Reading fidelity high
Study strength medium
n=7035
0.12
CausalSmith is a self-improving agentic pipeline that selects research topics, proposes results, formalizes statements, constructs proofs, and presents the resulting artifacts for human inspection. Research Productivity positive automation of research tasks (topic selection, result proposal, formalization, proof construction, artifact presentation)
Reading fidelity high
Study strength medium
not reported
0.12
Because a machine-checked proof establishes only that a formal statement follows from its assumptions, not that the statement faithfully captures the intended scientific claim, the pipeline augments kernel verification with a statement audit that compares each formal theorem against the informal claim it is intended to express. Research Productivity positive fidelity between formal theorem and intended informal claim (audit coverage / mismatch detection)
Reading fidelity high
Study strength low
not reported
0.06
We evaluate the system using artifacts produced by completed autonomous research runs. Research Productivity positive system evaluation on produced artifacts
Reading fidelity high
Study strength low
not reported
0.06
The source code, formal library, and run records are available at https://github.com/Jiyuan-Tan/CausalForge. Research Productivity positive artifact availability (public repository access)
Reading fidelity high
Study strength high
not reported
0.2

Notes