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.PELModuli.IntegralModel.InvariantAffineCoverIso |
| 2 | |
| 3 | /-! # Relation Affine Cover Iso -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.PELModuli.IntegralModel.RelationAffineCoverIso |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Transport of relation-invariant affine covers through compatible |
| 10 | isomorphisms of the ambient schemes. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.AlgebraicGeometry _root_.TopologicalSpace |
| 13 | |
| 14 | theorem relation_invariant_affine_cover_of_iso {S : Scheme.{0}} |
| 15 | {X Y Z W : Over S} {I : Type} |
| 16 | (e : X ≅ Y) (d : Z ⟶ W) (a b : Z ⟶ X) (a' b' : W ⟶ Y) |
| 17 | (ha : a ≫ e.hom = d ≫ a') (hb : b ≫ e.hom = d ≫ b') |
| 18 | (V : I → Y.left.Opens) (hV : ∀ i, IsAffineOpen (V i)) (hcover : iSup V = ⊤) |
| 19 | (hInv : ∀ i, a'.left ⁻¹ᵁ V i = b'.left ⁻¹ᵁ V i) : |
| 20 | ∃ U : I → X.left.Opens, (∀ i, IsAffineOpen (U i)) ∧ iSup U = ⊤ ∧ |
| 21 | (∀ i, a.left ⁻¹ᵁ U i = b.left ⁻¹ᵁ U 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 i |
| 30 | have ha' : a.left ≫ e.hom.left = d.left ≫ a'.left := congrArg Over.Hom.left ha |
| 31 | have hb' : b.left ≫ e.hom.left = d.left ≫ b'.left := congrArg Over.Hom.left hb |
| 32 | rw [← Scheme.Hom.comp_preimage, ha', Scheme.Hom.comp_preimage, hInv i, |
| 33 | ← Scheme.Hom.comp_preimage, ← hb', Scheme.Hom.comp_preimage] |
| 34 | |
| 35 | end |
| 36 | |
| 37 | end OAI.AlgebraicGeometry.PELModuli.IntegralModel.RelationAffineCoverIso |