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.ClosedGeometricPoint |
| 2 | import OAI.ArithmeticGeometry.OrdinaryLocus.Openness.FieldMultiplicationFlat |
| 3 | |
| 4 | /-! # Torsion Generic Count -/ |
| 5 | |
| 6 | namespace OAI.ArithmeticGeometry.OrdinaryLocus.Openness.TorsionGenericCount.Construction |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Comparing rational torsion points with the generic multiplication fiber. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 13 | open MonoidalCategory CartesianMonoidalCategory MonObj |
| 14 | open scoped _root_.CategoryTheory.MonObj |
| 15 | |
| 16 | /-- The torsion scheme is the base change of multiplication along the unit. -/ |
| 17 | def torsionIdentityFiberIso |
| 18 | {S : Scheme} (A : Over S) [GrpObj A] [IsCommMonObj A] (n : ℕ) : |
| 19 | DefinitionsTorsion.Construction.torsionScheme A n ≅ |
| 20 | (Over.pullback η[A].left).obj (Over.mk (Multiplication.Construction.multiplicationMap A n).left) := by |
| 21 | let h := FinitePresentation.Construction.torsion_isPullback A n |
| 22 | let h' := IsPullback.of_hasPullback (Multiplication.Construction.multiplicationMap A n).left η[A].left |
| 23 | exact Over.isoMk (h.isoIsPullback _ _ h') (h.isoIsPullback_hom_snd _ _ h') |
| 24 | |
| 25 | theorem torsionPointCard_eq_identityFiberCard |
| 26 | {S : Scheme} (A : Over S) [GrpObj A] [IsCommMonObj A] (n : ℕ) : |
| 27 | Nat.card {x : Over.mk (𝟙 S) ⟶ A // x ^ n = 1} = |
| 28 | Nat.card (Over.mk η[A].left ⟶ Over.mk (Multiplication.Construction.multiplicationMap A n).left) := by |
| 29 | let P : Over S := Over.mk (𝟙 S) |
| 30 | let T : Over A.left := Over.mk (Multiplication.Construction.multiplicationMap A n).left |
| 31 | let e₀ : (Over.map η[A].left).obj P ≅ Over.mk η[A].left := |
| 32 | Over.isoMk (Iso.refl _) (by simp [P]) |
| 33 | let e := (DefinitionsTorsion.Construction.torsionPointsEquiv A n P).symm.trans |
| 34 | ((Iso.homCongr (Iso.refl P) (torsionIdentityFiberIso A n)).trans |
| 35 | (((Over.mapPullbackAdj η[A].left).homEquiv P T).symm.trans |
| 36 | (Iso.homCongr e₀ (Iso.refl T)))) |
| 37 | exact Nat.card_congr e |
| 38 | |
| 39 | /-- For the natural abelian fibers in Openness, the rational torsion count is |
| 40 | bounded by the generic geometric fiber count of multiplication. -/ |
| 41 | theorem torsionPointCard_le_generic_multiplication |
| 42 | {K : Type*} [Field K] [IsAlgClosed K] |
| 43 | (A : Over (Spec (.of K))) [GrpObj A] [IsCommMonObj A] |
| 44 | [Smooth A.hom] [IsProper A.hom] [GeometricallyConnected A.hom] |
| 45 | (n : ℕ) [IsFinite (DefinitionsTorsion.Construction.torsionScheme A n).hom] : |
| 46 | letI : IsIntegral A.left := ConnectedGroupIntegral.Construction.isIntegral_connected_smooth_proper_group A |
| 47 | Nat.card {x : Over.mk (𝟙 (Spec (.of K))) ⟶ A // x ^ n = 1} ≤ |
| 48 | Nat.card (DefinitionsTorsion.geometricPoint A.left (genericPoint A.left) ⟶ |
| 49 | Over.mk (Multiplication.Construction.multiplicationMap A n).left) := by |
| 50 | have : IsIntegral A.left := ConnectedGroupIntegral.Construction.isIntegral_connected_smooth_proper_group A |
| 51 | have : IsFinite (Multiplication.Construction.multiplicationMap A n).left := |
| 52 | Multiplication.Construction.isFinite_multiplication_of_isFinite_torsion A n |
| 53 | have : Flat (Multiplication.Construction.multiplicationMap A n).left := |
| 54 | FieldMultiplicationFlat.Construction.flat_multiplication_of_isFinite_torsion_over_algClosed A n |
| 55 | have : LocallyOfFinitePresentation (Multiplication.Construction.multiplicationMap A n).left := |
| 56 | FinitePresentation.Construction.locallyOfFinitePresentation_multiplication A n |
| 57 | let x : A.left := η[A].left (IsLocalRing.closedPoint K) |
| 58 | have hx : IsClosed {x} := by |
| 59 | exact (pointEquivClosedPoint A.hom ⟨η[A].left, by simp⟩).property |
| 60 | have hp : pointOfClosedPoint A.hom x hx = η[A].left := |
| 61 | ext_of_apply_closedPoint_eq A.hom (pointOfClosedPoint_comp A.hom x hx) |
| 62 | (by simp) (pointOfClosedPoint_apply A.hom x hx _) |
| 63 | have hc := ClosedGeometricPoint.Construction.geometricPointCard_closed A.hom |
| 64 | (Over.mk (Multiplication.Construction.multiplicationMap A n).left) x hx |
| 65 | rw [hp] at hc |
| 66 | rw [torsionPointCard_eq_identityFiberCard, ← hc] |
| 67 | exact @GenericPointCount.Construction.geometricPointCard_le_generic A.left inferInstance |
| 68 | (Over.mk (Multiplication.Construction.multiplicationMap A n).left) |
| 69 | ‹IsFinite (Multiplication.Construction.multiplicationMap A n).left› ‹Flat (Multiplication.Construction.multiplicationMap A n).left› |
| 70 | ‹LocallyOfFinitePresentation (Multiplication.Construction.multiplicationMap A n).left› x |
| 71 | |
| 72 | end |
| 73 | |
| 74 | end OAI.ArithmeticGeometry.OrdinaryLocus.Openness.TorsionGenericCount.Construction |