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.RepresentationTheory.Theta.Geometric.Geometry |
| 2 | import OAI.AlgebraicGeometry.Foundations.Scheme.SmoothProjectiveDecomposition |
| 3 | |
| 4 | /-! # Components -/ |
| 5 | |
| 6 | namespace OAI.RepresentationTheory.Theta.Geometric |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Integrality of the actual complex PEL components follows from the |
| 11 | supplied smooth, proper, geometrically connected component geometry. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 14 | |
| 15 | open OAI.AlgebraicGeometry.Foundations.Scheme.SmoothProjectiveDecomposition |
| 16 | |
| 17 | theorem Components.smooth_proper_connected_integral (X : Over AlgebraicGeometry.Foundations.Scheme.ProjectiveSpace.complexBase) |
| 18 | [Smooth X.hom] [IsProper X.hom] [GeometricallyConnected X.hom] : |
| 19 | IsIntegral X.left := by |
| 20 | let : IsLocallyNoetherian X.left := LocallyOfFiniteType.isLocallyNoetherian X.hom |
| 21 | let : CompactSpace X.left := QuasiCompact.compactSpace_of_compactSpace X.hom |
| 22 | let : IsNoetherian X.left := ⟨⟩ |
| 23 | let : ConnectedSpace X.left := GeometricallyConnected.connectedSpace_of_subsingleton X.hom |
| 24 | let : IsReduced X.left := AlgebraicGeometry.Foundations.Scheme.SmoothProjectiveDecomposition.smoothScheme_isReduced X.hom |
| 25 | let x : X.left := Classical.choice inferInstance |
| 26 | let C : irreducibleComponents X.left := |
| 27 | ⟨irreducibleComponent x, irreducibleComponent_mem_irreducibleComponents x⟩ |
| 28 | have hC : IsClopen (C : Set X.left) := |
| 29 | ⟨isClosed_of_mem_irreducibleComponents _ C.property, |
| 30 | AlgebraicGeometry.Foundations.Scheme.LocalDomainComponents.isOpen_irreducibleComponent_of_stalkDomains (AlgebraicGeometry.Foundations.Scheme.SmoothProjectiveDecomposition.smoothScheme_stalk_isDomain X.hom) |
| 31 | (finite_irreducibleComponents_of_isNoetherian (X := X.left)) C.property⟩ |
| 32 | have hfull : (C : Set X.left) = Set.univ := hC.eq_univ ⟨x, mem_irreducibleComponent⟩ |
| 33 | let : IrreducibleSpace X.left := (irreducibleSpace_def X.left).mpr (by |
| 34 | change IsIrreducible Set.univ |
| 35 | rw [← hfull] |
| 36 | exact C.property.1) |
| 37 | exact isIntegral_of_irreducibleSpace_of_isReduced _ |
| 38 | |
| 39 | variable {E K : Type} [Field E] [NumberField E] [NumberField.IsCMField E] |
| 40 | [Field K] [NumberField K] {s q : ℕ} [Fact q.Prime] |
| 41 | {Index Ga MpR MpF MpA : Type} [Fintype Index] [DecidableEq Index] |
| 42 | [Group Ga] [TopologicalSpace Ga] [Group MpR] [Group MpF] [Group MpA] |
| 43 | (D : Data.ActiveHeckeThetaData E K s q Index Ga MpR MpF MpA) |
| 44 | |
| 45 | theorem Data.ActiveHeckeThetaData.component_smooth_proper_connected (hg : D.pel.HasIntegralModelGeometry) |
| 46 | (j : Fin D.pel.componentCount) : |
| 47 | Smooth (D.componentComplex j).hom ∧ IsProper (D.componentComplex j).hom ∧ |
| 48 | GeometricallyConnected (D.componentComplex j).hom := by |
| 49 | let : Smooth (D.pel.components.S j).hom := (hg.componentGeometry j).1 |
| 50 | let : IsProper (D.pel.components.S j).hom := (hg.componentGeometry j).2.1 |
| 51 | let : GeometricallyConnected (D.pel.components.S j).hom := (hg.componentGeometry j).2.2.2 |
| 52 | dsimp [Data.ActiveHeckeThetaData.componentComplex, AlgebraicGeometry.AbelianScheme.TateComparison.Data.SphericalPELAlbaneseData.componentGeneric] |
| 53 | exact ⟨inferInstance, inferInstance, inferInstance⟩ |
| 54 | |
| 55 | theorem Data.ActiveHeckeThetaData.component_integral (hg : D.pel.HasIntegralModelGeometry) (j : Fin D.pel.componentCount) : |
| 56 | IsIntegral (D.componentComplex j).left := by |
| 57 | obtain ⟨hs, hp, hc⟩ := D.component_smooth_proper_connected hg j |
| 58 | let := hs |
| 59 | let := hp |
| 60 | let := hc |
| 61 | exact Components.smooth_proper_connected_integral (D.componentComplex j) |
| 62 | |
| 63 | end |
| 64 | |
| 65 | end OAI.RepresentationTheory.Theta.Geometric |