Skip to content

Lean deep-dive: stress-test the proof-assistant park in dn-research-register — coverage, bridge, cost, and the agent-era premise #48

Description

@ascalva

The ask (owner, 2026-08-09): dn-research-register (the research-register design note, PR #47, open) parks Lean/proof-assistant adoption with default not adopted and re-entry a claim a property test cannot falsify. The owner: "I didn't really see much in there about Lean — I think it's worth a deeper investigation." This issue is that investigation, pulled forward by owner directive rather than waiting on the park's re-entry condition.

What to establish or falsify:

  1. Coverage — does Mathlib 4, today, actually carry the palace's objects: graph Laplacian + positive semidefiniteness, the spectral theorem, algebraic connectivity, Boolean algebras (the memberships store is a finite multiset relation over one), semirings, inner-product spaces, optimal transport / W₁ (Ollivier-Ricci's substrate, core/kernel/complex/curvature.py), Cheeger-type inequalities (core/graph/conductance.py, core/complex/cut.py)?
  2. The bridge — the honest Python↔Lean gap: what exists between "prove the math, property-test the code" (the note's current posture) and verified kernels? Statement-only formalization, Plausible property testing inside Lean, float/IEEE-754 formal semantics, extraction reality.
  3. The agent-era premise — the park's unstated premise is that formalization is expensive in human time. The palace's builders are LLM agents; the state of LLM-driven Lean proof/autoformalization in mid-2026 may invalidate the premise. Establish the current state with verified sources.
  4. Ops cost — toolchain (elan/lake, Mathlib cache) in CI as a verdict job; maintenance burden across Mathlib versions.
  5. The learning axis — the owner's stated motive for the register includes learning research language; Lean-as-curriculum (Natural Number Game → Mathematics in Lean → formalizing the palace's own laws ledger) may serve it directly.

Deliverable: a claim-ladder-disciplined report (per the register's own §2.3, eating the dogfood) as a comment on this issue, external claims verified per the external-grounding gate — plus, if findings warrant, a proposed revision to the parked row on PR #47's open branch (an adoption ladder with per-rung falsifiers replacing the flat park), presented for the owner's call, never self-applied to the note without his direction.

Grounding at HEAD (68d8d39 + staged): no .lean anywhere in the repo. First-candidate surfaces, in blast-radius order: core/stores/memberships.py (staged — Boolean-algebra/multiset laws, already spec-headed OBJECT/INVARIANT), core/kernel/complex/laplacian.py (laplacian_sym), core/complex/spectral.py (Fiedler λ₂, eigengap, normalized cut), core/graph/conductance.py (L⁺ effective resistance, heat kernel), core/kernel/complex/curvature.py (Ollivier-Ricci over W₁).

Related: #47 (the note carrying the park) · #46 (the ACM re-verification sibling — same external-grounding discipline).

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    route:orchestratordesign/direction — orchestrator settles or escalatestrack:workflowthe agent-workflow/regime tracktype:investigationsomething to establish or falsify

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions