{
  "type": "isitsolved.com/lean-receipt",
  "id": "2a23089558ae",
  "url": "https://isitsolved.com/lean/receipts/2a23089558ae",
  "repo": "zip:erdos64-exceptional-pairs-lean.zip",
  "commit": "2ac8cbe8c457b834b27e0d593ac6b4d4b9024fd1609c0fb95e6d2bff3784fc87",
  "subdir": ".",
  "modules": [
    "AdjacentTerminals",
    "VertexDeletion",
    "PairPaths"
  ],
  "theorems": [
    "TerminalCycles.common_neighbors_unique",
    "TerminalCycles.identified_minimum_shared",
    "TerminalCycles.dyadic_path_unless_cubic_common",
    "TerminalCycles.dyadic_path_of_dist_three",
    "TerminalCycles.exceptional_pair_bound",
    "TerminalCycles.dyadic_path_avoiding_common",
    "TerminalCycles.exceptional_nonedge_cubic_edge",
    "TerminalCycles.exceptional_nonedge_bound",
    "TerminalCycles.separated_pair_dyadic_path",
    "TerminalCycles.adjacent_terminal_remainder",
    "TerminalCycles.adjacent_terminal_lift",
    "TerminalCycles.adjacent_terminal_lengths"
  ],
  "verdict": "ACCEPTED",
  "summary": {
    "palomar": {
      "files": 10,
      "n_without_module": 10,
      "without_module": [
        "AdjacentTerminals.lean",
        "CompetitorDegrees.lean",
        "CutVertex.lean",
        "CycleSurgery.lean",
        "Identification.lean",
        "OddCycles.lean",
        "PairPaths.lean",
        "TerminalCycles.lean",
        "VertexDeletion.lean",
        "audit-declarations.lean"
      ],
      "over_10000_lines": []
    },
    "statements": {
      "TerminalCycles.common_neighbors_unique": "∀ {V : Type u_1} (G : SimpleGraph V) {s t : V},\n  s ≠ t → ¬TerminalCycles.hasPowerCycle G → ∀ {a b : V}, G.Adj s a → G.Adj t a → G.Adj s b → G.Adj t b → a = b",
      "TerminalCycles.identified_minimum_shared": "∀ {V : Type u_1} [Finite V] (G : SimpleGraph V) (s t : V),\n  3 ≤ (TerminalCycles.outerNeighbors G s t).ncard →\n    (∀ (v : V), v ≠ s → v ≠ t → 3 ≤ TerminalCycles.valence G v) →\n      (∀ (v : V), G.Adj v s → G.Adj v t → 4 ≤ TerminalCycles.valence G v) →\n        ∀ (x : Option (TerminalCycles.Interior s t)), 3 ≤ TerminalCycles.valence (TerminalCycles.identify G s t) x",
      "TerminalCycles.dyadic_path_unless_cubic_common": "∀ {V : Type u_1} [Finite V] (G : SimpleGraph V) {s t : V},\n  s ≠ t →\n    (∀ (v : V), 3 ≤ TerminalCycles.valence G v) →\n      ¬TerminalCycles.hasPowerCycle G →\n        TerminalCycles.smaller_graphs_have_cycle G →\n          (∀ (v : V), G.Adj v s → G.Adj v t → 4 ≤ TerminalCycles.valence G v) →\n            ∃ k ≥ 2, ∃ p, p.IsPath ∧ p.length = 2 ^ k",
      "TerminalCycles.dyadic_path_of_dist_three": "∀ {V : Type u_1} [Finite V] (G : SimpleGraph V) (s t : V),\n  3 ≤ G.dist s t →\n    (∀ (v : V), 3 ≤ TerminalCycles.valence G v) →\n      ¬TerminalCycles.hasPowerCycle G →\n        TerminalCycles.smaller_graphs_have_cycle G → ∃ k ≥ 2, ∃ p, p.IsPath ∧ p.length = 2 ^ k",
      "TerminalCycles.exceptional_pair_bound": "∀ {V : Type u_1} [inst : Fintype V] (G : SimpleGraph V),\n  (∀ (v : V), 3 ≤ TerminalCycles.valence G v) →\n    ¬TerminalCycles.hasPowerCycle G →\n      TerminalCycles.smaller_graphs_have_cycle G →\n        (TerminalCycles.exceptionalPairs G).card ≤ 3 * {v | TerminalCycles.valence G v = 3}.card",
      "TerminalCycles.dyadic_path_avoiding_common": "∀ {V : Type u_1} [Finite V] (G : SimpleGraph V) {s t z : V},\n  s ≠ t →\n    ¬G.Adj s t →\n      G.Adj z s →\n        G.Adj z t →\n          (∀ (v : V), 3 ≤ TerminalCycles.valence G v) →\n            ¬TerminalCycles.hasPowerCycle G →\n              TerminalCycles.smaller_graphs_have_cycle G →\n                (∀ (w : V), G.Adj z w → w ≠ s → w ≠ t → 4 ≤ TerminalCycles.valence G w) →\n                  ∃ k ≥ 2, ∃ p, p.IsPath ∧ p.length = 2 ^ k ∧ z ∉ p.support",
      "TerminalCycles.exceptional_nonedge_cubic_edge": "∀ {V : Type u_1} [Finite V] (G : SimpleGraph V) {s t : V},\n  s ≠ t →\n    ¬G.Adj s t →\n      (∀ (v : V), 3 ≤ TerminalCycles.valence G v) →\n        ¬TerminalCycles.hasPowerCycle G →\n          TerminalCycles.smaller_graphs_have_cycle G →\n            (¬∃ k ≥ 2, ∃ p, p.IsPath ∧ p.length = 2 ^ k) →\n              ∃ z w,\n                G.Adj z s ∧\n                  G.Adj z t ∧\n                    TerminalCycles.valence G z = 3 ∧ G.Adj z w ∧ w ≠ s ∧ w ≠ t ∧ TerminalCycles.valence G w = 3",
      "TerminalCycles.exceptional_nonedge_bound": "∀ {V : Type u_1} [inst : Fintype V] (G : SimpleGraph V)\n  [inst_1 : DecidableRel G.Adj],\n  (∀ (v : V), 3 ≤ TerminalCycles.valence G v) →\n    ¬TerminalCycles.hasPowerCycle G →\n      TerminalCycles.smaller_graphs_have_cycle G →\n        have C := {v | TerminalCycles.valence G v = 3};\n        (TerminalCycles.exceptionalNonedges G).card ≤\n          ∑ v ∈ C, {w ∈ G.neighborFinset v | TerminalCycles.valence G w = 3}.card",
      "TerminalCycles.separated_pair_dyadic_path": "∀ {V : Type u_1} [Finite V] (G : SimpleGraph V) (c : V)\n  (a b : { v // v ≠ c }),\n  ¬(SimpleGraph.induce {v | v ≠ c} G).Reachable a b →\n    4 ≤ TerminalCycles.valence G c →\n      (∀ (v : V), 3 ≤ TerminalCycles.valence G v) →\n        ¬TerminalCycles.hasPowerCycle G →\n          TerminalCycles.smaller_graphs_have_cycle G →\n            ∃ k ≥ 2, ∃ p, p.IsPath ∧ p.length = 2 ^ k ∧ ∃ l r, l.IsPath ∧ r.IsPath ∧ l.append r = p",
      "TerminalCycles.adjacent_terminal_remainder": "∀ {V W : Type u_1} [Finite V] [Finite W] (H : SimpleGraph V)\n  (G : SimpleGraph W) (f : H ↪g G) {s t : V},\n  H.Adj s t →\n    ∀ (x y : TerminalCycles.Interior s t) (c : W),\n      (∀ (v : TerminalCycles.Interior s t), H.Adj s ↑v ↔ v = x) →\n        (∀ (v : TerminalCycles.Interior s t), H.Adj t ↑v ↔ v = y) →\n          (∀ (v : V), f v ≠ c) →\n            G.Adj c (f s) →\n              G.Adj c (f t) →\n                Nat.card V < Nat.card W →\n                  (∀ (v : TerminalCycles.Interior s t), 3 ≤ TerminalCycles.valence H ↑v) →\n                    ¬TerminalCycles.hasPowerCycle G →\n                      TerminalCycles.smaller_graphs_have_cycle G →\n                        have R := TerminalCycles.remainder H s t;\n                        (∃ j ≥ 2, ∃ p, p.IsPath ∧ p.length + 1 = 2 ^ j) ∧\n                          ((∀ (v : TerminalCycles.Interior s t),\n                              R.Adj v x → R.Adj v y → 4 ≤ TerminalCycles.valence R v) →\n                            ∃ i ≥ 2, ∃ p, p.IsPath ∧ p.length = 2 ^ i)",
      "TerminalCycles.adjacent_terminal_lift": "∀ {V W : Type u_1} (H : SimpleGraph V) (G : SimpleGraph W) (f : H ↪g G)\n  {s t : V},\n  H.Adj s t →\n    ∀ (x y : TerminalCycles.Interior s t),\n      H.Adj s ↑x →\n        H.Adj t ↑y →\n          ∀ (c : W),\n            (∀ (v : V), f v ≠ c) →\n              G.Adj c (f s) →\n                G.Adj c (f t) →\n                  ¬TerminalCycles.hasPowerCycle G →\n                    ∀ (p : (TerminalCycles.remainder H s t).Walk x y),\n                      p.IsPath →\n                        (∃ q, q.IsPath ∧ q.length = p.length + 2) ∧\n                          (∀ k ≥ 2, p.length + 3 ≠ 2 ^ k) ∧ ∀ k ≥ 2, p.length + 4 ≠ 2 ^ k",
      "TerminalCycles.adjacent_terminal_lengths": "∀ {V W : Type u_1} [Finite V] [Finite W] (H : SimpleGraph V)\n  (G : SimpleGraph W) (f : H ↪g G) {s t : V},\n  H.Adj s t →\n    ∀ (x y : TerminalCycles.Interior s t) (c : W),\n      (∀ (v : TerminalCycles.Interior s t), H.Adj s ↑v ↔ v = x) →\n        (∀ (v : TerminalCycles.Interior s t), H.Adj t ↑v ↔ v = y) →\n          (∀ (v : V), f v ≠ c) →\n            G.Adj c (f s) →\n              G.Adj c (f t) →\n                Nat.card V < Nat.card W →\n                  (∀ (v : TerminalCycles.Interior s t), 3 ≤ TerminalCycles.valence H ↑v) →\n                    ¬TerminalCycles.hasPowerCycle G →\n                      TerminalCycles.smaller_graphs_have_cycle G →\n                        (∃ j ≥ 2, ∃ q, q.IsPath ∧ q.length = 2 ^ j + 1) ∧\n                          ((∀ (v : TerminalCycles.Interior s t),\n                              (TerminalCycles.remainder H s t).Adj v x →\n                                (TerminalCycles.remainder H s t).Adj v y →\n                                  4 ≤ TerminalCycles.valence (TerminalCycles.remainder H s t) v) →\n                            ∃ i ≥ 2, ∃ q, q.IsPath ∧ q.length = 2 ^ i + 2)"
    },
    "map_sha256": "0bc61788f132d6b483f041d451a8a6bd2126a192e6f19bb546fdfad23b2a4c0b",
    "toolchain": "leanprover/lean4:v4.27.0",
    "mathlib": "a3a10db0e9d66acbebf76c5e6a135066525ac900",
    "counts": {
      "project_decls": 65,
      "edges": 215,
      "external_refs": 460,
      "modules": 9
    },
    "sorry": [],
    "axioms": [],
    "native": false,
    "build_errors": false,
    "missing": [],
    "built": {
      "fetch_s": 127,
      "build_s": 19
    },
    "external": {
      "Mathlib.Combinatorics": 104,
      "Init.Prelude": 97,
      "Mathlib.Data": 80,
      "Init.Data": 44,
      "Init.Core": 33,
      "Init.Omega": 32,
      "Mathlib.Algebra": 20,
      "Init.SimpLemmas": 17,
      "Mathlib.Order": 17,
      "Init.Classical": 5,
      "Mathlib.SetTheory": 5,
      "Init.PropLemmas": 3,
      "Mathlib.Logic": 2,
      "Init.SizeOf": 1
    }
  },
  "node": "spark-receipts",
  "requested_by": "codex-1",
  "created_at": "2026-11-30T23:54:52.833Z",
  "done_at": "2026-11-30T23:57:54.712Z"
}
