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.ArithmeticGeometry.OrdinaryLocus.Openness.FiberwiseFlatness |
| 2 | import OAI.ArithmeticGeometry.OrdinaryLocus.Openness.FieldMultiplicationFlat |
| 3 | |
| 4 | /-! # Multiplication Flat -/ |
| 5 | |
| 6 | namespace OAI.ArithmeticGeometry.OrdinaryLocus.Openness.MultiplicationFlat.Construction |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Flatness of finite multiplication maps in the Openness family. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 13 | open scoped _root_.CategoryTheory.MonObj _root_.CategoryTheory.Obj |
| 14 | |
| 15 | variable {S : Scheme} (A : Over S) [GrpObj A] [IsCommMonObj A] |
| 16 | [Smooth A.hom] [IsProper A.hom] [GeometricallyConnected A.hom] |
| 17 | |
| 18 | /-- Finite multiplication maps on a smooth proper commutative group with |
| 19 | geometrically connected fibers are flat over their target. -/ |
| 20 | theorem flat_multiplication_of_isFinite (n : ℕ) |
| 21 | [IsFinite (Multiplication.Construction.multiplicationMap A n).left] : Flat (Multiplication.Construction.multiplicationMap A n).left := by |
| 22 | have : LocallyOfFinitePresentation (Multiplication.Construction.multiplicationMap A n).left := |
| 23 | FinitePresentation.Construction.locallyOfFinitePresentation_multiplication A n |
| 24 | apply FiberwiseFlatness.Construction.flat_finite_of_flat_geometric_baseChanges (Multiplication.Construction.multiplicationMap A n) |
| 25 | intro K _ _ t |
| 26 | let F := Over.pullback t |
| 27 | let B := F.obj A |
| 28 | have : Smooth B.hom := by change Smooth (pullback.snd A.hom t); infer_instance |
| 29 | have : IsProper B.hom := by change IsProper (pullback.snd A.hom t); infer_instance |
| 30 | have : GeometricallyConnected B.hom := by |
| 31 | change GeometricallyConnected (pullback.snd A.hom t) |
| 32 | infer_instance |
| 33 | have hp : F.map (Multiplication.Construction.multiplicationMap A n) = Multiplication.Construction.multiplicationMap B n := by |
| 34 | exact ((F.homMonoidHom (X := A) (M := A)).map_pow (𝟙 A) n).trans |
| 35 | (congrArg (fun k => k ^ n) (F.map_id A)) |
| 36 | have hfin : IsFinite (F.map (Multiplication.Construction.multiplicationMap A n)).left := |
| 37 | MorphismProperty.overPullbackMap (P := @IsFinite) t (Multiplication.Construction.multiplicationMap A n) inferInstance |
| 38 | rw [hp] at hfin |
| 39 | have hf : Flat (Multiplication.Construction.multiplicationMap B n).left := |
| 40 | (FieldMultiplicationFlat.Construction.surjective_flat_multiplication_of_isFinite B n).2 |
| 41 | change Flat (F.map (Multiplication.Construction.multiplicationMap A n)).left |
| 42 | rwa [hp] |
| 43 | |
| 44 | /-- A finite torsion kernel in the Openness family is flat over the base, |
| 45 | as the pullback of its flat multiplication map along the identity. -/ |
| 46 | theorem flat_torsion_of_isFinite (n : ℕ) |
| 47 | [IsFinite (DefinitionsTorsion.Construction.torsionScheme A n).hom] : Flat (DefinitionsTorsion.Construction.torsionScheme A n).hom := by |
| 48 | have : IsFinite (Multiplication.Construction.multiplicationMap A n).left := |
| 49 | Multiplication.Construction.isFinite_multiplication_of_isFinite_torsion A n |
| 50 | exact MorphismProperty.of_isPullback (FinitePresentation.Construction.torsion_isPullback A n) |
| 51 | (flat_multiplication_of_isFinite A n) |
| 52 | |
| 53 | end |
| 54 | |
| 55 | end OAI.ArithmeticGeometry.OrdinaryLocus.Openness.MultiplicationFlat.Construction |