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.MultiplicationFlat |
| 2 | import OAI.ArithmeticGeometry.OrdinaryLocus.Openness.GeometricPointCount |
| 3 | |
| 4 | /-! # Finite Flat Neighborhood -/ |
| 5 | |
| 6 | namespace OAI.ArithmeticGeometry.OrdinaryLocus.Openness.FiniteFlatNeighborhood.Construction |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Finite flat torsion near an ordinary point in Openness. -/ |
| 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 | /-- Near an ordinary point, the torsion scheme is finite, flat, and |
| 19 | locally of finite presentation over the base. -/ |
| 20 | theorem exists_finite_flat_torsion_neighborhood |
| 21 | (p : ℕ) [Fact p.Prime] (s : S) (hs : DefinitionsTorsion.IsOrdinaryAt p A s) : |
| 22 | ∃ U : S.Opens, s ∈ U ∧ IsFinite ((DefinitionsTorsion.Construction.torsionScheme A p).hom ∣_ U) ∧ |
| 23 | Flat ((DefinitionsTorsion.Construction.torsionScheme A p).hom ∣_ U) ∧ |
| 24 | LocallyOfFinitePresentation ((DefinitionsTorsion.Construction.torsionScheme A p).hom ∣_ U) := by |
| 25 | obtain ⟨U, hsU, hfin⟩ := DefinitionsTorsion.Construction.exists_finite_torsion_neighborhood s A p hs |
| 26 | have : IsFinite ((DefinitionsTorsion.Construction.torsionScheme A p).hom ∣_ U) := hfin |
| 27 | let B := (Over.pullback U.ι).obj A |
| 28 | have : Smooth B.hom := by change Smooth (pullback.snd A.hom U.ι); infer_instance |
| 29 | have : IsProper B.hom := by change IsProper (pullback.snd A.hom U.ι); infer_instance |
| 30 | have : GeometricallyConnected B.hom := by |
| 31 | change GeometricallyConnected (pullback.snd A.hom U.ι) |
| 32 | infer_instance |
| 33 | have : IsFinite (DefinitionsTorsion.Construction.torsionScheme B p).hom := BaseChange.Construction.isFinite_torsion_openRestriction A p U |
| 34 | have : Flat (DefinitionsTorsion.Construction.torsionScheme B p).hom := MultiplicationFlat.Construction.flat_torsion_of_isFinite B p |
| 35 | have hpb : Flat ((Over.pullback U.ι).obj (DefinitionsTorsion.Construction.torsionScheme A p)).hom := |
| 36 | RelativeBaseChange.Construction.flat_of_overIso (BaseChange.Construction.torsionBaseChangeIso U.ι A p) |
| 37 | have : Flat (pullback.snd (DefinitionsTorsion.Construction.torsionScheme A p).hom U.ι) := hpb |
| 38 | have hflat : Flat ((DefinitionsTorsion.Construction.torsionScheme A p).hom ∣_ U) := by |
| 39 | rw [morphismRestrict] |
| 40 | infer_instance |
| 41 | have : LocallyOfFinitePresentation (DefinitionsTorsion.Construction.torsionScheme A p).hom := |
| 42 | FinitePresentation.Construction.locallyOfFinitePresentation_torsion A p |
| 43 | exact ⟨U, hsU, hfin, hflat, inferInstance⟩ |
| 44 | |
| 45 | /-- When the torsion kernel is finite, its actual geometric torsion-point |
| 46 | count is lower semicontinuous under the hypotheses of Openness. -/ |
| 47 | theorem lowerSemicontinuous_torsionPointCard_of_isFinite (n : ℕ) |
| 48 | [IsFinite (DefinitionsTorsion.Construction.torsionScheme A n).hom] : |
| 49 | LowerSemicontinuous |
| 50 | (fun s : S => Nat.card {x : DefinitionsTorsion.geometricPoint S s ⟶ A // x ^ n = 1}) := by |
| 51 | have : Flat (DefinitionsTorsion.Construction.torsionScheme A n).hom := MultiplicationFlat.Construction.flat_torsion_of_isFinite A n |
| 52 | have : LocallyOfFinitePresentation (DefinitionsTorsion.Construction.torsionScheme A n).hom := |
| 53 | FinitePresentation.Construction.locallyOfFinitePresentation_torsion A n |
| 54 | simpa only [DefinitionsTorsion.Construction.geometric_torsion_card] using |
| 55 | GeometricPointCount.Construction.lowerSemicontinuous_finite_geometricPointCard (DefinitionsTorsion.Construction.torsionScheme A n) |
| 56 | |
| 57 | end |
| 58 | |
| 59 | end OAI.ArithmeticGeometry.OrdinaryLocus.Openness.FiniteFlatNeighborhood.Construction |