Hodge conjecture: the CM case in Lean, read and discussed
OpenAI's Lean proof of the Hodge conjecture for CM abelian varieties: rerun it, read its statement, and keep the open questions with their sources. The conjecture is open

| 1 | import OAI.AlgebraicGeometry.Resolution.Blowups.ReplacedCenterCoordinateIndices |
| 2 | |
| 3 | /-! # Replacement Boundary Embedding -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.Resolution.Blowups.ReplacementBoundaryEmbedding.Construction |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Retained boundary coordinates keep their exact center membership after a transverse replacement. -/ |
| 10 | |
| 11 | universe u |
| 12 | |
| 13 | def replacementBoundaryEmbedding {σ : Type u} (B : Finset σ) (i : σ) (hi : i ∉ B) : |
| 14 | B ↪ Option {j : σ // i ≠ j} where |
| 15 | toFun s := some ⟨s.val, fun h => hi (h.symm ▸ s.property)⟩ |
| 16 | inj' _a _b h := Subtype.ext (congrArg (fun s : {j : σ // i ≠ j} => s.val) (Option.some.inj h)) |
| 17 | |
| 18 | theorem replacementBoundaryEmbedding_ne_none {σ : Type u} |
| 19 | (B : Finset σ) (i : σ) (hi : i ∉ B) (s : B) : |
| 20 | replacementBoundaryEmbedding B i hi s ≠ none := by |
| 21 | intro h |
| 22 | cases h |
| 23 | |
| 24 | theorem replacement_boundary_center_iff {σ : Type u} [Fintype σ] [DecidableEq σ] |
| 25 | (C B : Finset σ) (i : C) (hi : i.val ∉ B) (b : Option B) : |
| 26 | (∃ s ∈ Finset.univ.image (ReplacedCenterCoordinateIndices.Construction.centerReplacementCoordinateEmbedding C i), |
| 27 | b.map (replacementBoundaryEmbedding B i.val hi) = some s) ↔ |
| 28 | ∃ s ∈ C, b.map Subtype.val = some s := by |
| 29 | cases b with |
| 30 | | none => simp |
| 31 | | some b => |
| 32 | simp only [Option.map_some, Option.some.injEq] |
| 33 | have hm := ReplacedCenterCoordinateIndices.Construction.centerReplacementCoordinateEmbedding_mem_iff C i |
| 34 | ⟨b.val, fun h => hi (h.symm ▸ b.property)⟩ |
| 35 | constructor |
| 36 | · rintro ⟨s, hs, he⟩ |
| 37 | have hb : replacementBoundaryEmbedding B i.val hi b ∈ |
| 38 | Finset.univ.image (ReplacedCenterCoordinateIndices.Construction.centerReplacementCoordinateEmbedding C i) := he.symm ▸ hs |
| 39 | exact ⟨b.val, hm.mp hb, rfl⟩ |
| 40 | · rintro ⟨s, hs, he⟩ |
| 41 | exact ⟨replacementBoundaryEmbedding B i.val hi b, hm.mpr (he.symm ▸ hs), rfl⟩ |
| 42 | |
| 43 | end |
| 44 | |
| 45 | end OAI.AlgebraicGeometry.Resolution.Blowups.ReplacementBoundaryEmbedding.Construction |