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.Picard.ThetaConstruction.UnramifiedStalkNeighborhood |
| 2 | import OAI.AlgebraicGeometry.Picard.ThetaConstruction.OpenUnitUnramifiedGroup |
| 3 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.UnramifiedSections |
| 4 | import OAI.AlgebraicGeometry.FormalGeometry.Completion.StalkFlat |
| 5 | |
| 6 | /-! # Local Open Identity -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.Picard.ThetaConstruction.LocalOpenIdentity.Geometric |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! Over an actual local-ring spectrum, unramifiedness at the |
| 13 | closed identity makes the whole identity section open. The resulting |
| 14 | group is formally unramified over the original base. -/ |
| 15 | |
| 16 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 17 | open scoped _root_.CategoryTheory.MonObj _root_.CategoryTheory.Obj |
| 18 | |
| 19 | universe u |
| 20 | |
| 21 | theorem local_section_open_of_unramified_stalk |
| 22 | {R : Type u} [CommRing R] [IsLocalRing R] {X : Scheme.{u}} |
| 23 | (p : X ⟶ Spec (.of R)) [LocallyOfFiniteType p] |
| 24 | (s : Spec (.of R) ⟶ X) (hs : s ≫ p = 𝟙 _) |
| 25 | (h : (p.stalkMap (s (IsLocalRing.closedPoint R))).hom.FormallyUnramified) : |
| 26 | IsOpenImmersion s := by |
| 27 | obtain ⟨V, hV, hp⟩ := UnramifiedStalkNeighborhood.Geometric.exists_unramified_of_stalk p (s (IsLocalRing.closedPoint R)) h |
| 28 | let := hp |
| 29 | have htop : s ⁻¹ᵁ V = ⊤ := Scheme.preimage_eq_top_of_closedPoint_mem s hV |
| 30 | have hrange : Set.range s ⊆ Set.range V.ι := by |
| 31 | rintro _ ⟨y, rfl⟩ |
| 32 | have hy : s y ∈ V := by |
| 33 | change y ∈ s ⁻¹ᵁ V |
| 34 | rw [htop] |
| 35 | trivial |
| 36 | exact ⟨⟨s y, hy⟩, rfl⟩ |
| 37 | let t := IsOpenImmersion.lift V.ι s hrange |
| 38 | have ht : t ≫ V.ι = s := IsOpenImmersion.lift_fac V.ι s hrange |
| 39 | have ht' : t ≫ (V.ι ≫ p) = 𝟙 _ := (Category.assoc t V.ι p).symm.trans |
| 40 | ((congrArg (fun z => z ≫ p) ht).trans hs) |
| 41 | let : IsOpenImmersion t := AbelianModuli.HilbertConstruction.UnramifiedSections.section_isOpenImmersion_of_unramified (V.ι ≫ p) t ht' |
| 42 | have hi : IsOpenImmersion (t ≫ V.ι) := inferInstance |
| 43 | exact ht ▸ hi |
| 44 | |
| 45 | theorem group_formallyUnramified_of_closed_identity_stalk |
| 46 | {R : Type u} [CommRing R] [IsLocalRing R] |
| 47 | (G : Over (Spec (.of R))) [GrpObj G] [LocallyOfFiniteType G.hom] |
| 48 | (h : (G.hom.stalkMap (η[G].left (IsLocalRing.closedPoint R))).hom.FormallyUnramified) : |
| 49 | FormallyUnramified G.hom := by |
| 50 | let : IsOpenImmersion η[G].left := |
| 51 | local_section_open_of_unramified_stalk G.hom η[G].left η[G].w h |
| 52 | exact OpenUnitUnramifiedGroup.Geometric.group_formallyUnramified_of_open_unit G |
| 53 | |
| 54 | end |
| 55 | |
| 56 | end OAI.AlgebraicGeometry.Picard.ThetaConstruction.LocalOpenIdentity.Geometric |