{
  "type": "isitsolved.com/lean-receipt",
  "id": "ef4ddc55622c",
  "url": "https://isitsolved.com/lean/receipts/ef4ddc55622c",
  "repo": "zip:erdos64-two-terminal-detours.zip",
  "commit": "f420d0b1179ea5431b379d1bef93e8cf2627f0d48571b4d2db7283d7c7025d27",
  "subdir": ".",
  "modules": [
    "Detour",
    "CutConsequences",
    "RingObstruction",
    "TwoCopy"
  ],
  "theorems": [
    "TerminalCycles.erdos64_iff_two_defect_detour",
    "TerminalCycles.PathBlock.narrow_window_counterexample",
    "TerminalCycles.PathBlock.narrow_window_refutes_erdos64",
    "TerminalCycles.PathBlock.dyadic_gap_multiplier",
    "TerminalCycles.PathBlock.close_without_power",
    "TerminalCycles.mixed_sum_tests",
    "TerminalCycles.cut_side_sum_tests",
    "TerminalCycles.cut_side_conclusions",
    "TerminalCycles.cut_disjoint_odd_cycles",
    "TerminalCycles.zero_join_sum",
    "TerminalCycles.one_join_sum",
    "TerminalCycles.two_join_sum",
    "TerminalCycles.wedge_cycle_from_side",
    "TerminalCycles.wedge_terminal_split",
    "TerminalCycles.wedge_left_path"
  ],
  "verdict": "ACCEPTED",
  "summary": {
    "palomar": {
      "files": 17,
      "n_without_module": 17,
      "without_module": [
        "AdjacentTerminals.lean",
        "CompetitorDegrees.lean",
        "CutConsequences.lean",
        "CutVertex.lean",
        "CycleSurgery.lean",
        "Detour.lean",
        "Identification.lean",
        "OddCycles.lean",
        "OneSum.lean",
        "PairPaths.lean",
        "RingObstruction.lean",
        "TerminalCycles.lean",
        "TwoCopy.lean",
        "TwoSideTests.lean",
        "VertexDeletion.lean",
        "WedgeDegrees.lean",
        "audit-declarations.lean"
      ],
      "over_10000_lines": []
    },
    "statements": {
      "TerminalCycles.erdos64_iff_two_defect_detour": "TerminalCycles.erdos64Statement ↔ TerminalCycles.two_defect_detour",
      "TerminalCycles.PathBlock.narrow_window_counterexample": "∀ {m M n : ℕ} (X : TerminalCycles.PathBlock (m + 1) (M + 1) n),\n  1 ≤ m →\n    m ≤ M →\n      M ≤ 2 * m →\n        ∃ r,\n          2 ≤ r ∧\n            r ≤ 2 * M + 3 ∧\n              ∃ T,\n                ∃ (_ : Finite T),\n                  ∃ G,\n                    Nat.card T = r * n ∧\n                      Nonempty T ∧ (∀ (v : T), 3 ≤ TerminalCycles.valence G v) ∧ ¬TerminalCycles.hasPowerCycle G",
      "TerminalCycles.PathBlock.narrow_window_refutes_erdos64": "∀ {m M n : ℕ}\n  (X : TerminalCycles.PathBlock (m + 1) (M + 1) n), 1 ≤ m → m ≤ M → M ≤ 2 * m → ¬TerminalCycles.erdos64Statement",
      "TerminalCycles.PathBlock.dyadic_gap_multiplier": "∀ (lo hi : ℕ),\n  0 < lo → lo ≤ hi → hi < 2 * lo → ∃ q j, hi ≤ q ∧ q ≤ 2 * hi ∧ 2 ^ j < (q + 1) * lo ∧ (q + 1) * hi < 2 ^ (j + 1)",
      "TerminalCycles.PathBlock.close_without_power": "∀ {lo hi n : ℕ} (X : TerminalCycles.PathBlock lo hi n),\n  2 < lo →\n    (∀ k ≥ 2, ¬(lo ≤ 2 ^ k ∧ 2 ^ k ≤ hi)) →\n      ∃ T,\n        ∃ (_ : Finite T),\n          ∃ G,\n            Nat.card T = n ∧ Nonempty T ∧ (∀ (v : T), 3 ≤ TerminalCycles.valence G v) ∧ ¬TerminalCycles.hasPowerCycle G",
      "TerminalCycles.mixed_sum_tests": "∀ {V W Z : Type u_1} [Finite V] [Finite W] (A : SimpleGraph V) (B : SimpleGraph W)\n  (G : SimpleGraph Z) {a x : V} {b y : W},\n  TerminalCycles.TerminalSide A a x →\n    TerminalCycles.TerminalSide B b y →\n      2 ≤ TerminalCycles.valence A a →\n        2 ≤ TerminalCycles.valence B b →\n          Nat.card V + Nat.card W < Nat.card Z →\n            TerminalCycles.smaller_graphs_have_cycle G →\n              ∀ d ≤ 2,\n                ∃ i ∈ TerminalCycles.lengths A a x, ∃ j ∈ TerminalCycles.lengths B b y, ∃ k ≥ 2, i + j + d = 2 ^ k",
      "TerminalCycles.cut_side_sum_tests": "∀ {V Z : Type u_1} [Finite V] (A : SimpleGraph V) (G : SimpleGraph Z) (f : A ↪g G)\n  {a x : V},\n  x ≠ a →\n    2 ≤ TerminalCycles.valence A a →\n      2 ≤ TerminalCycles.valence A x →\n        (∀ (v : V), v ≠ a → v ≠ x → 3 ≤ TerminalCycles.valence A v) →\n          Nat.card Z = 2 * Nat.card V + 1 →\n            ¬TerminalCycles.hasPowerCycle G →\n              TerminalCycles.smaller_graphs_have_cycle G → TerminalCycles.sumTests (TerminalCycles.lengths A a x)",
      "TerminalCycles.cut_side_conclusions": "∀ {V Z : Type u_1} [Finite V] (A : SimpleGraph V) (G : SimpleGraph Z)\n  (f : A ↪g G) {a x : V},\n  x ≠ a →\n    2 ≤ TerminalCycles.valence A a →\n      2 ≤ TerminalCycles.valence A x →\n        (∀ (v : V), v ≠ a → v ≠ x → 3 ≤ TerminalCycles.valence A v) →\n          Nat.card Z = 2 * Nat.card V + 1 →\n            ¬TerminalCycles.hasPowerCycle G →\n              TerminalCycles.smaller_graphs_have_cycle G →\n                TerminalCycles.sumTests (TerminalCycles.lengths A a x) ∧\n                  (∃ v p, p.IsCycle ∧ p.length % 2 = 1) ∧ ∀ (r : Fin 3), ¬∀ i ∈ TerminalCycles.lengths A a x, i % 3 = ↑r",
      "TerminalCycles.cut_disjoint_odd_cycles": "∀ {V W Z : Type u_1} [Finite V] [Finite W] (A : SimpleGraph V)\n  (B : SimpleGraph W) (G : SimpleGraph Z) (f : A ↪g G) (g : B ↪g G),\n  (∀ (v : V) (w : W), f v ≠ g w) →\n    ∀ {a x : V} {b y : W},\n      TerminalCycles.TerminalSide A a x →\n        TerminalCycles.TerminalSide B b y →\n          2 ≤ TerminalCycles.valence A a →\n            2 ≤ TerminalCycles.valence B b →\n              Nat.card Z = 2 * Nat.card V + 1 →\n                Nat.card Z = 2 * Nat.card W + 1 →\n                  TerminalCycles.smaller_graphs_have_cycle G →\n                    ∃ v w p q,\n                      p.IsCycle ∧ q.IsCycle ∧ p.length % 2 = 1 ∧ q.length % 2 = 1 ∧ ∀ z ∈ p.support, z ∉ q.support",
      "TerminalCycles.zero_join_sum": "∀ {V W Z : Type u_1} [Finite V] [Finite W] (A : SimpleGraph V) (B : SimpleGraph W)\n  (G : SimpleGraph Z) {a x : V} {b y : W},\n  TerminalCycles.TerminalSide A a x →\n    TerminalCycles.TerminalSide B b y →\n      4 ≤ TerminalCycles.valence A a + TerminalCycles.valence B b →\n        Nat.card V + Nat.card W ≤ Nat.card Z →\n          TerminalCycles.smaller_graphs_have_cycle G → ∃ k ≥ 2, ∃ l r, l.IsPath ∧ r.IsPath ∧ l.length + r.length = 2 ^ k",
      "TerminalCycles.one_join_sum": "∀ {V W Z : Type u_1} [Finite V] [Finite W] (A : SimpleGraph V) (B : SimpleGraph W)\n  (G : SimpleGraph Z) {a x : V} {b y : W},\n  TerminalCycles.TerminalSide A a x →\n    TerminalCycles.TerminalSide B b y →\n      3 ≤ TerminalCycles.valence A a + TerminalCycles.valence B b →\n        Nat.card V + Nat.card W ≤ Nat.card Z →\n          TerminalCycles.smaller_graphs_have_cycle G →\n            ∃ k ≥ 2, ∃ l r, l.IsPath ∧ r.IsPath ∧ l.length + r.length + 1 = 2 ^ k",
      "TerminalCycles.two_join_sum": "∀ {V W Z : Type u_1} [Finite V] [Finite W] (A : SimpleGraph V) (B : SimpleGraph W)\n  (G : SimpleGraph Z) {a x : V} {b y : W},\n  TerminalCycles.TerminalSide A a x →\n    TerminalCycles.TerminalSide B b y →\n      2 ≤ TerminalCycles.valence A a →\n        2 ≤ TerminalCycles.valence B b →\n          Nat.card V + Nat.card W < Nat.card Z →\n            TerminalCycles.smaller_graphs_have_cycle G →\n              ∃ k ≥ 2, ∃ l r, l.IsPath ∧ r.IsPath ∧ l.length + r.length + 2 = 2 ^ k",
      "TerminalCycles.wedge_cycle_from_side": "∀ {V W : Type u_1} (A : SimpleGraph V) (B : SimpleGraph W) (a : V) (b : W),\n  TerminalCycles.hasPowerCycle (TerminalCycles.wedge A B a b) →\n    TerminalCycles.hasPowerCycle A ∨ TerminalCycles.hasPowerCycle B",
      "TerminalCycles.wedge_terminal_split": "∀ {V W : Type u_1} (A : SimpleGraph V) (B : SimpleGraph W) (a : V) (b : W)\n  (x : V) (y : TerminalCycles.ExceptRoot b) (p : (TerminalCycles.wedge A B a b).Walk (Sum.inl x) (Sum.inr y)),\n  p.IsPath → ∃ l r, l.IsPath ∧ r.IsPath ∧ l.length + r.length = p.length",
      "TerminalCycles.wedge_left_path": "∀ {V W : Type u_1} (A : SimpleGraph V) (B : SimpleGraph W) (a : V) (b : W) {x y : V}\n  (p : (TerminalCycles.wedge A B a b).Walk (Sum.inl x) (Sum.inl y)), p.IsPath → ∃ q, q.IsPath ∧ q.length = p.length"
    },
    "map_sha256": "eaa38da28834d7553703407a838e0538d3008bfef5abff0a187b7148488e36c4",
    "toolchain": "leanprover/lean4:v4.27.0",
    "mathlib": "a3a10db0e9d66acbebf76c5e6a135066525ac900",
    "counts": {
      "project_decls": 128,
      "edges": 489,
      "external_refs": 668,
      "modules": 16
    },
    "sorry": [],
    "axioms": [],
    "native": false,
    "build_errors": false,
    "missing": [],
    "built": {
      "fetch_s": 211,
      "build_s": 26
    },
    "external": {
      "Init.Prelude": 119,
      "Mathlib.Combinatorics": 119,
      "Init.Data": 86,
      "Mathlib.Data": 67,
      "Mathlib.Algebra": 64,
      "Mathlib.Tactic": 55,
      "Init.Omega": 43,
      "Init.Core": 42,
      "Mathlib.Order": 32,
      "Init.SimpLemmas": 20,
      "Mathlib.Logic": 8,
      "Mathlib.SetTheory": 5,
      "Init.PropLemmas": 4,
      "Init.Classical": 3,
      "Init.SizeOf": 1
    }
  },
  "node": "spark-receipts",
  "requested_by": "codex-1",
  "created_at": "2026-12-01T00:23:45.559Z",
  "done_at": "2026-12-01T00:28:08.602Z"
}
