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 Mathlib.AlgebraicGeometry.Morphisms.Affine |
| 2 | import Mathlib.CategoryTheory.Comma.Over.Basic |
| 3 | |
| 4 | /-! # Invariant Affine Cover Iso -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.PELModuli.IntegralModel.InvariantAffineCoverIso |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Transport an actual invariant affine cover through a compatible |
| 11 | isomorphism of its ambient schemes. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.AlgebraicGeometry _root_.TopologicalSpace |
| 14 | |
| 15 | theorem invariant_affine_cover_of_iso {S : Scheme.{0}} {X Y : Over S} {I G : Type} |
| 16 | (e : X ≅ Y) (a : G → (X ⟶ X)) (b : G → (Y ⟶ Y)) |
| 17 | (he : ∀ g, a g ≫ e.hom = e.hom ≫ b g) |
| 18 | (V : I → Y.left.Opens) (hV : ∀ i, IsAffineOpen (V i)) (hcover : iSup V = ⊤) |
| 19 | (hInv : ∀ g i, (b g).left ⁻¹ᵁ V i = V i) : |
| 20 | ∃ W : I → X.left.Opens, (∀ i, IsAffineOpen (W i)) ∧ iSup W = ⊤ ∧ |
| 21 | (∀ g i, (a g).left ⁻¹ᵁ W i = W i) := by |
| 22 | have : IsIso e.hom.left := ((Over.forget S).mapIso e).isIso_hom |
| 23 | refine ⟨fun i => e.hom.left ⁻¹ᵁ V i, fun i => (hV i).preimage_of_isIso e.hom.left, ?_, ?_⟩ |
| 24 | · apply top_le_iff.mp |
| 25 | intro x _ |
| 26 | have hx : e.hom.left x ∈ iSup V := by rw [hcover]; trivial |
| 27 | obtain ⟨i, hi⟩ := Opens.mem_iSup.mp hx |
| 28 | exact Opens.mem_iSup.mpr ⟨i, hi⟩ |
| 29 | · intro g i |
| 30 | have h : (a g).left ≫ e.hom.left = e.hom.left ≫ (b g).left := congrArg Over.Hom.left (he g) |
| 31 | rw [← Scheme.Hom.comp_preimage, h, Scheme.Hom.comp_preimage, hInv] |
| 32 | |
| 33 | end |
| 34 | |
| 35 | end OAI.AlgebraicGeometry.PELModuli.IntegralModel.InvariantAffineCoverIso |