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.FormalGeometry.Completion.LocalDomainComponents |
| 2 | import Mathlib.AlgebraicGeometry.Properties |
| 3 | |
| 4 | /-! # Scheme Domain Components -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.FormalGeometry.Completion.SchemeDomainComponents.Construction |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! |
| 11 | # Completion: scheme components are disjoint when their stalks are domains |
| 12 | -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.AlgebraicGeometry _root_.TopologicalSpace |
| 15 | |
| 16 | set_option backward.defeqAttrib.useBackward true |
| 17 | set_option backward.isDefEq.respectTransparency false |
| 18 | |
| 19 | universe u |
| 20 | |
| 21 | /-- Components meeting at a point with a domain stalk must coincide. -/ |
| 22 | theorem scheme_components_eq_of_domain_stalk (X : Scheme.{u}) (x : X) |
| 23 | [IsDomain (X.presheaf.stalk x)] {C D : Set X} |
| 24 | (hC : C ∈ irreducibleComponents X) (hD : D ∈ irreducibleComponents X) |
| 25 | (hxC : x ∈ C) (hxD : x ∈ D) : C = D := by |
| 26 | obtain ⟨R, g, hg, y, rfl⟩ := Scheme.exists_Spec_apply_eq x |
| 27 | let e := (Spec.stalkIso R y).symm ≪≫ (asIso (g.stalkMap y)).symm |
| 28 | have : IsDomain (Localization.AtPrime y.asIdeal) := |
| 29 | e.commRingCatIsoToRingEquiv.toMulEquiv.isDomain _ |
| 30 | have he : g ⁻¹' C = g ⁻¹' D := |
| 31 | LocalDomainComponents.Construction.affine_components_eq_of_domain_localization R y |
| 32 | (preimage_mem_irreducibleComponents hC g.isOpenEmbedding ⟨g y, hxC, y, rfl⟩) |
| 33 | (preimage_mem_irreducibleComponents hD g.isOpenEmbedding ⟨g y, hxD, y, rfl⟩) |
| 34 | hxC hxD |
| 35 | calc |
| 36 | C = closure (g '' (g ⁻¹' C)) := |
| 37 | (closure_image_preimage_of_isPreirreducible g g.isOpenEmbedding.isOpenMap C |
| 38 | ⟨y, hxC⟩ hC.1.2 (isClosed_of_mem_irreducibleComponents C hC)).symm |
| 39 | _ = closure (g '' (g ⁻¹' D)) := by rw [he] |
| 40 | _ = D := closure_image_preimage_of_isPreirreducible g g.isOpenEmbedding.isOpenMap D |
| 41 | ⟨y, hxD⟩ hD.1.2 (isClosed_of_mem_irreducibleComponents D hD) |
| 42 | |
| 43 | end |
| 44 | |
| 45 | end OAI.AlgebraicGeometry.FormalGeometry.Completion.SchemeDomainComponents.Construction |