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.IntegralModel.Specialization |
| 2 | import Mathlib.AlgebraicGeometry.Geometrically.Reduced |
| 3 | import OAI.AlgebraicGeometry.Foundations.Scheme.SmoothProjectiveDecomposition |
| 4 | |
| 5 | /-! # Generic Identities -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.PELModuli.IntegralModel.GenericIdentities |
| 8 | |
| 9 | /-! |
| 10 | Morphisms between the actual models are determined by their generic fibers. |
| 11 | This supplies the identity bridge for spread group laws, diagrams, and |
| 12 | sum-of-differences maps, without adding their compatibility as hypotheses. |
| 13 | -/ |
| 14 | |
| 15 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 16 | |
| 17 | universe u |
| 18 | |
| 19 | /-- Every field-valued base change of a smooth morphism is reduced. -/ |
| 20 | theorem geometricallyReduced_of_smooth {X S : Scheme.{u}} (f : X ⟶ S) |
| 21 | [Smooth f] : GeometricallyReduced f := by |
| 22 | constructor |
| 23 | intro K _ y Z fst snd hcart |
| 24 | let : Smooth snd := MorphismProperty.of_isPullback hcart inferInstance |
| 25 | exact Foundations.Scheme.SmoothProjectiveDecomposition.smoothScheme_isReduced snd |
| 26 | |
| 27 | /-- A dominant base change has dense image in a family open over its base. -/ |
| 28 | theorem base_change_projection_dominant |
| 29 | {S T : Scheme.{u}} (g : T ⟶ S) [IsDominant g] |
| 30 | (X : Over S) [UniversallyOpen X.hom] : |
| 31 | IsDominant (pullback.fst X.hom g) := by |
| 32 | constructor |
| 33 | change Dense (Set.range (pullback.fst X.hom g)) |
| 34 | rw [Scheme.Pullback.range_fst] |
| 35 | exact g.denseRange.preimage X.hom.isOpenMap |
| 36 | |
| 37 | /-- Equality on a dominant fiber determines maps from reduced open families |
| 38 | to separated families. No scheme-theoretic compatibility is stored as data. -/ |
| 39 | theorem hom_eq_of_dominant_base_change |
| 40 | {S T : Scheme.{u}} (g : T ⟶ S) [IsDominant g] |
| 41 | {X Y : Over S} [IsReduced X.left] [UniversallyOpen X.hom] |
| 42 | [IsSeparated Y.hom] (f h : X ⟶ Y) |
| 43 | (heq : (Over.pullback g).map f = (Over.pullback g).map h) : f = h := by |
| 44 | let : IsDominant (pullback.fst X.hom g) := base_change_projection_dominant g X |
| 45 | have hleft : pullback.fst X.hom g ≫ f.left = pullback.fst X.hom g ≫ h.left := by |
| 46 | have he := congrArg |
| 47 | (fun k => k.left ≫ pullback.fst Y.hom g) heq |
| 48 | simpa only [Over.pullback_map_left, pullback.lift_fst] using he |
| 49 | ext1 |
| 50 | exact ext_of_isDominant_of_isSeparated Y.hom (f.w.trans h.w.symm) |
| 51 | (pullback.fst X.hom g) hleft |
| 52 | |
| 53 | /-- The hypotheses needed above hold for smooth models over a reduced |
| 54 | locally Noetherian arithmetic base. -/ |
| 55 | theorem smooth_hom_eq_of_dominant_base_change |
| 56 | {S T : Scheme.{u}} [IsReduced S] [IsLocallyNoetherian S] |
| 57 | (g : T ⟶ S) [IsDominant g] |
| 58 | {X Y : Over S} [Smooth X.hom] [IsSeparated Y.hom] |
| 59 | (f h : X ⟶ Y) |
| 60 | (heq : (Over.pullback g).map f = (Over.pullback g).map h) : f = h := by |
| 61 | let : GeometricallyReduced X.hom := geometricallyReduced_of_smooth X.hom |
| 62 | let : IsReduced X.left := |
| 63 | GeometricallyReduced.isReduced_of_flat_of_isLocallyNoetherian X.hom |
| 64 | exact hom_eq_of_dominant_base_change g f h heq |
| 65 | |
| 66 | end OAI.AlgebraicGeometry.PELModuli.IntegralModel.GenericIdentities |