TheoremDB
R1824formalizationStatus: pending verificationEvidence: ReportedLean: kernel unchecked

[#R1824] Pinned Lean proof in sabidussi-lean

View verificationOpen source ↗

1Summary

A public Lean 4.31.0 development proves the compatibility endpoint and records a clean upstream audit; controlled TheoremDB verification is still pending.

The endpoint `Sabidussi.LoopMultigraph.loop_sabidussi_compatibility_ordinary` takes an explicit Euler tour and a minimum-degree-four hypothesis, then produces an ordinary circuit decomposition compatible with that tour. Its graph model includes loops and parallel edges. The repository's production-source scan excludes `Challenge.lean`, which intentionally contains the statement placeholder used by Comparator. The production modules report no `sorry` or `admit`, and the upstream audit records only `propext`, `Classical.choice`, and `Quot.sound`. A separate Comparator workflow checks the solution wrapper against the reviewed statement. TheoremDB has pinned these materials but has not executed them inside its own controlled verifier.

Reported evidence. Recorded scope: the circuit-decomposition consequence for the finite endpoint multigraph model represented by Sabidussi.LoopMultigraph.

2Verification

Verification material: partial

Part of the replay path is recorded. Check the missing fields before comparing a new run.

lake build && lake env lean Sabidussi/Audit.lean
Entry point
Sabidussi.LoopMultigraph.loop_sabidussi_compatibility_ordinary
Runtime
Lean 4.31.0 with mathlib4@9a9483a92959bc92bd6a60176dd1fe597298c1f8

Verification source: github.com ↗, Sabidussi/OrdinaryCircuit.lean theorem Sabidussi.LoopMultigraph.loop_sabidussi_compatibility_ordinary and VERIFICATION.md

Expected output

{
  "upstream_expected_exit_code": 0,
  "upstream_axiom_audit": [
    "propext",
    "Classical.choice",
    "Quot.sound"
  ],
  "upstream_comparator": "reported passing",
  "theoremdb_controlled_verification": "pending"
}

3Formal statement

leanlean-4.31.0/mathlib4@9a9483a92959bc92bd6a60176dd1fe597298c1f8+sabidussi-lean@da2f6ff7a7c7cc04e9ad34a53c3b6b8a18bd9ffa
theorem Sabidussi.LoopMultigraph.loop_sabidussi_compatibility_ordinary
    {G : LoopMultigraph V E} (T : G.EulerTour)
    (hmin : ∀ v : V, 4 ≤ G.degree v) :
    ∃ S : G.OrdinaryCircuitDecomposition, S.Compatible T

4What was measured

Source url
https://github.com/gexahedron/sabidussi-lean/blob/da2f6ff7a7c7cc04e9ad34a53c3b6b8a18bd9ffa/Sabidussi/OrdinaryCircuit.lean
Source revision
da2f6ff7a7c7cc04e9ad34a53c3b6b8a18bd9ffa
Source sha256
1609da42dc109ef478bf42b9283f9f37d0815967c8e8554737f241961d82c92c
Network requirements
none after the pinned Lake dependencies are available
Verification statement
theorem Sabidussi.LoopMultigraph.loop_sabidussi_compatibility_ordinary {G : LoopMultigraph V E} (T : G.EulerTour) (hmin : ∀ v : V, 4 ≤ G.degree v) : ∃ S : G.OrdinaryCircuitDecomposition, S.Compatible T
Statement fidelity
The endpoint includes loops, parallel edges, cyclic tour transitions, minimum degree four, and ordinary connected 2-regular circuits. It proves the compatibility consequence rather than the paper's stronger four-colouring theorem.
Upstream verification record sha256
a181e595165c877ae68c0921ed3114d1c3ffb9c635d7863f166ca09033a642d0

5How it connects

Recorded for

6Agent packet

A compact handoff with the evidence boundary, replay manifest, and relation pointers.

View structured packet
json
{
  "schema": "theoremdb-agent-record-v1",
  "ref": "R1824",
  "content_hash": null,
  "slug": "sabidussi-formalization-upstream-lean-v1",
  "type": "formalization",
  "title": "Pinned Lean proof in sabidussi-lean",
  "summary": "A public Lean 4.31.0 development proves the compatibility endpoint and records a clean upstream audit; controlled TheoremDB verification is still pending.",
  "relevance": "This is a complete public formal proof of the packet's compatibility target in a pinned Lean world, awaiting replay by TheoremDB's verifier.",
  "relevance_source": "recorded",
  "body": "The endpoint `Sabidussi.LoopMultigraph.loop_sabidussi_compatibility_ordinary` takes an explicit Euler tour and a minimum-degree-four hypothesis, then produces an ordinary circuit decomposition compatible with that tour. Its graph model includes loops and parallel edges. The repository's production-source scan excludes `Challenge.lean`, which intentionally contains the statement placeholder used by Comparator. The production modules report no `sorry` or `admit`, and the upstream audit records only `propext`, `Classical.choice`, and `Quot.sound`. A separate Comparator workflow checks the solution wrapper against the reviewed statement. TheoremDB has pinned these materials but has not executed them inside its own controlled verifier.",
  "status": "pending_verification",
  "evidence_grade": "unverified_formalization",
  "scope": {
    "kind": "universal",
    "statement": "the circuit-decomposition consequence for the finite endpoint multigraph model represented by Sabidussi.LoopMultigraph"
  },
  "reproduction": {
    "schema": "theoremdb-reproduction-v1",
    "readiness": "partial",
    "kind": "lean4_formalization_source",
    "command": "lake build && lake env lean Sabidussi/Audit.lean",
    "entrypoint": "Sabidussi.LoopMultigraph.loop_sabidussi_compatibility_ordinary",
    "runtime": "Lean 4.31.0 with mathlib4@9a9483a92959bc92bd6a60176dd1fe597298c1f8",
    "citation": {
      "url": "https://github.com/gexahedron/sabidussi-lean/tree/da2f6ff7a7c7cc04e9ad34a53c3b6b8a18bd9ffa",
      "locator": "Sabidussi/OrdinaryCircuit.lean theorem Sabidussi.LoopMultigraph.loop_sabidussi_compatibility_ordinary and VERIFICATION.md"
    },
    "outputs": {
      "upstream_expected_exit_code": 0,
      "upstream_axiom_audit": [
        "propext",
        "Classical.choice",
        "Quot.sound"
      ],
      "upstream_comparator": "reported passing",
      "theoremdb_controlled_verification": "pending"
    },
    "missing": [
      "source"
    ]
  },
  "formal_statement": "theorem Sabidussi.LoopMultigraph.loop_sabidussi_compatibility_ordinary\n    {G : LoopMultigraph V E} (T : G.EulerTour)\n    (hmin : ∀ v : V, 4 ≤ G.degree v) :\n    ∃ S : G.OrdinaryCircuitDecomposition, S.Compatible T",
  "source": {
    "url": "https://github.com/gexahedron/sabidussi-lean/tree/da2f6ff7a7c7cc04e9ad34a53c3b6b8a18bd9ffa",
    "locator": "Sabidussi/OrdinaryCircuit.lean theorem Sabidussi.LoopMultigraph.loop_sabidussi_compatibility_ordinary and VERIFICATION.md"
  },
  "relations": [
    {
      "slug": "R1823",
      "title": "A compatible circuit decomposition is claimed for every eligible Euler tour",
      "object_type": "claim",
      "relation": "formalizes",
      "direction": "outgoing"
    },
    {
      "slug": "sabidussi-compatibility-conjecture",
      "title": "sabidussi compatibility conjecture",
      "object_type": "problem",
      "relation": "recorded_for",
      "direction": "outgoing"
    }
  ]
}

7Provenance

View source, identifiers, and projection details
Project
sabidussi-compatibility-conjecture
Locator
Sabidussi/OrdinaryCircuit.lean theorem Sabidussi.LoopMultigraph.loop_sabidussi_compatibility_ordinary and VERIFICATION.md
License
CC0-1.0
Contributors
TheoremDB entry research, 2026-08-01
Public record
R1824
Stable alias
sabidussi-formalization-upstream-lean-v1
Projection
Reproduction fields are derived from the immutable record.

A machine-checkable rendering of a statement, with the world it was written against.

Report a problem

Your ChatGPT account

Opening ChatGPT

ChatGPT is opening in a new tab.