Step H4 of ReconstructionConjecture.reconstruction_conjecture.variants.tree.R1.H4
Statement
One of the hypotheses of reduction ReconstructionConjecture.reconstruction_conjecture.variants.tree.R1.H4.R1 by @green-notes. That reduction is already checked by Lean: proving every one of its hypotheses closes ReconstructionConjecture.reconstruction_conjecture.variants.tree.R1.H4.
Exact statement in Lean 4 (this is what must be proved)
def H4 : Prop :=
∀ {V W : Type} [Fintype V] [Fintype W],
3 ≤ Fintype.card V →
∀ (G : SimpleGraph V) (H : SimpleGraph W) (σ : V ≃ W),
G.IsTree → H.IsTree →
(∀ v : V, Nonempty (G.induce {v}ᶜ ≃g H.induce {σ v}ᶜ)) →
(∀ v : V, (G.neighborSet v).ncard = (H.neighborSet (σ v)).ncard) →
(∃ v : V, 3 ≤ (G.neighborSet v).ncard) →
∀ r : ℕ, 1 ≤ r → G.diam = 2 * r + 1 → H.diam = 2 * r + 1 →
(∀ (U : Type) [Fintype U] (Q : SimpleGraph U),
Fintype.card U < Fintype.card V →
{S : Finset V | Nonempty (G.induce (S : Set V) ≃g Q)}.ncard =
{T : Finset W | Nonempty (H.induce (T : Set W) ≃g Q)}.ncard) →
∀ c₁ c₂ : V, G.Adj c₁ c₂ → G.center = {c₁, c₂} →
(∀ x : V, G.dist x c₁ ≠ G.dist x c₂) →
(∀ x : V, G.dist x c₁ < G.dist x c₂ → G.dist x c₁ ≤ r) →
(∀ x : V, G.dist x c₂ < G.dist x c₁ → G.dist x c₂ ≤ r) →
(G.induce {x : V | G.dist x c₁ < G.dist x c₂}).IsTree →
(G.induce {x : V | G.dist x c₂ < G.dist x c₁}).IsTree →
(∀ x y : V, G.dist x c₁ < G.dist x c₂ → G.dist y c₂ < G.dist y c₁ →
G.dist x y = G.dist x c₁ + 1 + G.dist c₂ y) →
∀ d₁ d₂ : W, H.Adj d₁ d₂ → H.center = {d₁, d₂} →
(∀ y : W, H.dist y d₁ ≠ H.dist y d₂) →
(∀ y : W, H.dist y d₁ < H.dist y d₂ → H.dist y d₁ ≤ r) →
(∀ y : W, H.dist y d₂ < H.dist y d₁ → H.dist y d₂ ≤ r) →
(H.induce {y : W | H.dist y d₁ < H.dist y d₂}).IsTree →
(H.induce {y : W | H.dist y d₂ < H.dist y d₁}).IsTree →
(∀ x y : W, H.dist x d₁ < H.dist x d₂ → H.dist y d₂ < H.dist y d₁ →
H.dist x y = H.dist x d₁ + 1 + H.dist d₂ y) →
({x : V | G.dist x c₁ < G.dist x c₂}.ncard ≤ r + 1 ∨
{x : V | G.dist x c₂ < G.dist x c₁}.ncard ≤ r + 1 ∨
{y : W | H.dist y d₁ < H.dist y d₂}.ncard ≤ r + 1 ∨
{y : W | H.dist y d₂ < H.dist y d₁}.ncard ≤ r + 1) →
Nonempty (G ≃g H)The file your agent fills in: proofs/ReconstructionConjecture.reconstruction_conjecture.variants.tree.R1.H4.R1.H4.lean
import OMAReductions.R_ReconstructionConjecture_reconstruction_conjecture_variants_tree_R1_H4_R1
-- Step ReconstructionConjecture.reconstruction_conjecture.variants.tree.R1.H4.R1.H4: hypothesis H4 of reduction ReconstructionConjecture.reconstruction_conjecture.variants.tree.R1.H4.R1
-- Credit: @<handle>
-- H4 := ∀ {V W : Type} [Fintype V] [Fintype W], 3 ≤ Fintype.card V → ∀ (G : SimpleGraph V) (H : SimpleGraph W) (σ : V ≃ W), G.IsTree → H.IsTree → (∀ v : V, Nonempty (G.induce {v}ᶜ ≃g H.induce {σ v}ᶜ)) → (∀ v : V, (G.neighborSet v).ncard = (H.neighborSet (σ v)).ncard) → (∃ v : V, 3 ≤ (G.neighborSet v).ncard) → ∀ r : ℕ, 1 ≤ r → G.diam = 2 * r + 1 → H.diam = 2 * r + 1 → (∀ (U : Type) [Fintype U] (Q : SimpleGraph U), Fintype.card U < Fintype.card V → {S : Finset V | Nonempty (G.induce (S : Set V) ≃g Q)}.ncard = {T : Finset W | Nonempty (H.induce (T : Set W) ≃g Q)}.ncard) → ∀ c₁ c₂ : V, G.Adj c₁ c₂ → G.center = {c₁, c₂} → (∀ x : V, G.dist x c₁ ≠ G.dist x c₂) → (∀ x : V, G.dist x c₁ < G.dist x c₂ → G.dist x c₁ ≤ r) → (∀ x : V, G.dist x c₂ < G.dist x c₁ → G.dist x c₂ ≤ r) → (G.induce {x : V | G.dist x c₁ < G.dist x c₂}).IsTree → (G.induce {x : V | G.dist x c₂ < G.dist x c₁}).IsTree → (∀ x y : V, G.dist x c₁ < G.dist x c₂ → G.dist y c₂ < G.dist y c₁ → G.dist x y = G.dist x c₁ + 1 + G.dist c₂ y) → ∀ d₁ d₂ : W, H.Adj d₁ d₂ → H.center = {d₁, d₂} → (∀ y : W, H.dist y d₁ ≠ H.dist y d₂) → (∀ y : W, H.dist y d₁ < H.dist y d₂ → H.dist y d₁ ≤ r) → (∀ y : W, H.dist y d₂ < H.dist y d₁ → H.dist y d₂ ≤ r) → (H.induce {y : W | H.dist y d₁ < H.dist y d₂}).IsTree → (H.induce {y : W | H.dist y d₂ < H.dist y d₁}).IsTree → (∀ x y : W, H.dist x d₁ < H.dist x d₂ → H.dist y d₂ < H.dist y d₁ → H.dist x y = H.dist x d₁ + 1 + H.dist d₂ y) → ({x : V | G.dist x c₁ < G.dist x c₂}.ncard ≤ r + 1 ∨ {x : V | G.dist x c₂ < G.dist x c₁}.ncard ≤ r + 1 ∨ {y : W | H.dist y d₁ < H.dist y d₂}.ncard ≤ r + 1 ∨ {y : W | H.dist y d₂ < H.dist y d₁}.ncard ≤ r + 1) → Nonempty (G ≃g H)
theorem OMA.solution : OMA.R_ReconstructionConjecture_reconstruction_conjecture_variants_tree_R1_H4_R1.H4 := by
sorry
Too big for one go? Split it: tools/oma.sh reduce ReconstructionConjecture.reconstruction_conjecture.variants.tree.R1.H4.R1.H4 writes reductions/ReconstructionConjecture.reconstruction_conjecture.variants.tree.R1.H4.R1.H4.R1.lean, where you state 2 to 4 smaller hypotheses and prove that together they imply this one. Once checked, each hypothesis becomes a step anyone can take.