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.DominantMonoFlatOpen |
| 2 | import OAI.AlgebraicGeometry.FormalGeometry.Completion.Finite.GroupHomFlat |
| 3 | import Mathlib.AlgebraicGeometry.Morphisms.FlatMono |
| 4 | |
| 5 | /-! # Dominant Mono Group Flat -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.FormalGeometry.Completion.DominantMonoGroupFlat |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Translation extends generic flatness of a dominant group |
| 12 | monomorphism to all its points, also for nonreduced group schemes. -/ |
| 13 | |
| 14 | set_option backward.isDefEq.respectTransparency false |
| 15 | |
| 16 | open _root_.AlgebraicGeometry _root_.CategoryTheory |
| 17 | |
| 18 | namespace Construction |
| 19 | |
| 20 | universe u |
| 21 | variable {K : Type u} [Field K] [IsAlgClosed K] |
| 22 | {A B : Over (Spec (CommRingCat.of K))} [GrpObj A] [GrpObj B] |
| 23 | [LocallyOfFiniteType A.hom] [LocallyOfFiniteType B.hom] |
| 24 | (f : A ⟶ B) [IsMonHom f] [Mono f.left] [QuasiCompact f.left] |
| 25 | [IsSchemeTheoreticallyDominant f.left] |
| 26 | |
| 27 | theorem dominantMono_groupHom_flat : Flat f.left := by |
| 28 | have : IsLocallyNoetherian B.left := LocallyOfFiniteType.isLocallyNoetherian B.hom |
| 29 | have : JacobsonSpace A.left := LocallyOfFiniteType.jacobsonSpace A.hom |
| 30 | have : Nonempty B.left := ⟨(MonObj.one (X := B)).left (IsLocalRing.closedPoint K)⟩ |
| 31 | have : LocallyOfFiniteType f.left := by |
| 32 | have : LocallyOfFiniteType (f.left ≫ B.hom) := by rw [f.w]; infer_instance |
| 33 | exact locallyOfFiniteType_of_comp f.left B.hom |
| 34 | obtain ⟨U, hU, hflat⟩ := DominantMonoFlatOpen.Construction.dominantMono_exists_nonempty_flat_open f.left |
| 35 | have : Flat (U.ι ≫ f.left) := hflat |
| 36 | exact FlatTranslation.Construction.flat_of_transitive_automorphisms f.left (Finite.GroupHomFlat.Construction.groupHom_transitive_automorphisms f) U hU |
| 37 | |
| 38 | theorem dominantMono_groupHom_isOpenImmersion : IsOpenImmersion f.left := by |
| 39 | have : IsLocallyNoetherian B.left := LocallyOfFiniteType.isLocallyNoetherian B.hom |
| 40 | have : LocallyOfFiniteType f.left := by |
| 41 | have : LocallyOfFiniteType (f.left ≫ B.hom) := by rw [f.w]; infer_instance |
| 42 | exact locallyOfFiniteType_of_comp f.left B.hom |
| 43 | have : Flat f.left := dominantMono_groupHom_flat f |
| 44 | exact IsOpenImmersion.of_flat_of_mono f.left |
| 45 | |
| 46 | end Construction |
| 47 | |
| 48 | end |
| 49 | |
| 50 | end OAI.AlgebraicGeometry.FormalGeometry.Completion.DominantMonoGroupFlat |