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.CMPoints.EnhancementTransportCodes |
| 2 | import OAI.AlgebraicGeometry.PELModuli.CMPoints.CountableFiberImages |
| 3 | import OAI.ArithmeticGeometry.Descent.CMVariety.CountableEncodings |
| 4 | |
| 5 | /-! # Countable Enhanced Fiber Images -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.PELModuli.CMPoints.CountableEnhancedFiberImages |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! The countability argument applies directly to any classifying |
| 12 | family that is faithful on the original enhanced fibers. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 15 | open scoped _root_.CategoryTheory.MonObj Classical |
| 16 | |
| 17 | open OAI.ArithmeticGeometry.Descent.CMVariety.CountableEncodings.Abelian |
| 18 | |
| 19 | theorem countable_image_of_unpolarized_enhanced_isos |
| 20 | {g N r : ℕ} {δ : Fin g → ℕ} {I X : Type} |
| 21 | (p : I → X) (B : I → ArithmeticGeometry.Descent.CMVariety.ModuliObjects.Abelian.EnhancedAbelianData g δ N r Foundations.Scheme.ProjectiveSpace.complexBase) |
| 22 | (A : ArithmeticGeometry.Descent.CMVariety.ModuliObjects.Abelian.EnhancedAbelianData g δ N r Foundations.Scheme.ProjectiveSpace.complexBase) |
| 23 | (P : ArithmeticGeometry.Descent.CMVariety.StandardModuli.Abelian.ComplexAbelianPresentation A.polarized.abelian) |
| 24 | (e : ∀ i, ArithmeticGeometry.Descent.CMVariety.UnpolarizedComparisons.Abelian.UnpolarizedEnhancedIso A (B i)) |
| 25 | (hfaithful : ∀ i j, Nonempty (ArithmeticGeometry.Descent.CMVariety.ModuliObjects.Abelian.EnhancedAbelianIso (B i) (B j)) → p i = p j) : |
| 26 | (Set.range p).Countable := by |
| 27 | let Code := {f : A.polarized.abelian.scheme ⟶ A.polarized.dual.abelian.scheme // IsMonHom f} |
| 28 | let : Countable Code := ArithmeticGeometry.Descent.CMVariety.CountablePolarizationMaps.Abelian.dual_group_maps_countable A.polarized P |
| 29 | let code := fun i => (⟨(e i).transportedPolarization, inferInstance⟩ : Code) |
| 30 | apply ArithmeticGeometry.Descent.CMVariety.CountableEncodings.Abelian.countable_range_of_countable_encoding code p |
| 31 | intro i j hij |
| 32 | exact hfaithful i j ⟨(e i).enhancedIsoOfTransportedEq (e j) (congrArg Subtype.val hij)⟩ |
| 33 | |
| 34 | theorem countable_image_of_group_isomorphic_enhanced |
| 35 | {g N r : ℕ} {δ : Fin g → ℕ} [NeZero N] {I X : Type} |
| 36 | (p : I → X) (B : I → ArithmeticGeometry.Descent.CMVariety.ModuliObjects.Abelian.EnhancedAbelianData g δ N r Foundations.Scheme.ProjectiveSpace.complexBase) |
| 37 | (A : AbelianModuli.HilbertConstruction.PolarizationData.PolarizedAbelianWithFullLevel g δ N Foundations.Scheme.ProjectiveSpace.complexBase) |
| 38 | (P : ArithmeticGeometry.Descent.CMVariety.StandardModuli.Abelian.ComplexAbelianPresentation A.abelian) |
| 39 | (present : ∀ i, ArithmeticGeometry.Descent.CMVariety.StandardModuli.Abelian.ComplexAbelianPresentation (B i).polarized.abelian) |
| 40 | (e : ∀ i, A.abelian.scheme ≅ (B i).polarized.abelian.scheme) |
| 41 | (he : ∀ i, IsMonHom (e i).hom) |
| 42 | (hfaithful : ∀ i j, Nonempty (ArithmeticGeometry.Descent.CMVariety.ModuliObjects.Abelian.EnhancedAbelianIso (B i) (B j)) → p i = p j) : |
| 43 | (Set.range p).Countable := by |
| 44 | let (i : I) : IsMonHom (e i).hom := he i |
| 45 | let Code := EnhancementTransportCodes.EnhancementTransportCode A.abelian N r |
| 46 | let : Countable Code := EnhancementTransportCodes.enhancementTransportCode_countable A.abelian A.level P |
| 47 | let code := fun i => EnhancementTransportCodes.enhancementTransportCode A.abelian (B i) (e i) |
| 48 | apply CountableFiberImages.countable_range_of_countable_code_fiber_images code p |
| 49 | intro c |
| 50 | let J := {i : I // code i = c} |
| 51 | by_cases hn : Nonempty J |
| 52 | · let j₀ : J := Classical.choice hn |
| 53 | apply countable_image_of_unpolarized_enhanced_isos (fun j : J => p j) (fun j : J => B j) |
| 54 | (B j₀) (present j₀) |
| 55 | · intro j |
| 56 | exact EnhancementTransportCodes.unpolarizedComparisonOfTransportCodeEq A.abelian (B j₀) (B j) (e j₀) (e j) |
| 57 | (j₀.property.trans j.property.symm) |
| 58 | · intro i j hij |
| 59 | exact hfaithful i j hij |
| 60 | · let : IsEmpty J := not_nonempty_iff.mp hn |
| 61 | exact Set.countable_range (fun j : J => p j) |
| 62 | |
| 63 | end |
| 64 | |
| 65 | end OAI.AlgebraicGeometry.PELModuli.CMPoints.CountableEnhancedFiberImages |