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.DominantMonoArtinianStalk |
| 2 | import OAI.AlgebraicGeometry.FormalGeometry.Completion.ArtinianGenericStalk |
| 3 | import OAI.AlgebraicGeometry.FormalGeometry.Completion.MonoOpenSection |
| 4 | |
| 5 | /-! # Dominant Mono Flat Open -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.FormalGeometry.Completion.DominantMonoFlatOpen |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Every finite-type scheme-theoretically dominant monomorphism over |
| 12 | a nonempty locally Noetherian target is flat on a nonempty source open. -/ |
| 13 | |
| 14 | set_option backward.isDefEq.respectTransparency false |
| 15 | |
| 16 | open _root_.AlgebraicGeometry _root_.CategoryTheory |
| 17 | |
| 18 | namespace Construction |
| 19 | |
| 20 | universe u |
| 21 | |
| 22 | theorem dominantMono_exists_nonempty_flat_open {X Y : Scheme.{u}} (f : X ⟶ Y) |
| 23 | [Mono f] [LocallyOfFiniteType f] [QuasiCompact f] [IsSchemeTheoreticallyDominant f] |
| 24 | [IsLocallyNoetherian Y] [Nonempty Y] : |
| 25 | ∃ V : X.Opens, (V : Set X).Nonempty ∧ Flat (V.ι ≫ f) := by |
| 26 | obtain ⟨y, hy⟩ := ArtinianGenericStalk.Construction.exists_artinian_stalk Y |
| 27 | have : IsArtinianRing (Y.presheaf.stalk y) := hy |
| 28 | obtain ⟨U, hyU, j, hj⟩ := DominantMonoArtinianStalk.Construction.dominantMono_hasLocalSection f y |
| 29 | have : IsOpenImmersion j := MonoOpenSection.Construction.monoOpenSection_isOpenImmersion f U j hj |
| 30 | have : Flat (j ≫ f) := by rw [hj]; infer_instance |
| 31 | refine ⟨j.opensRange, ⟨j ⟨y, hyU⟩, ⟨⟨y, hyU⟩, rfl⟩⟩, ?_⟩ |
| 32 | rw [← j.isoOpensRange_inv_comp, Category.assoc] |
| 33 | infer_instance |
| 34 | |
| 35 | end Construction |
| 36 | |
| 37 | end |
| 38 | |
| 39 | end OAI.AlgebraicGeometry.FormalGeometry.Completion.DominantMonoFlatOpen |