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.Multiplication |
| 2 | import Mathlib.CategoryTheory.Limits.Preserves.Shapes.Equalizers |
| 3 | |
| 4 | /-! # Base Change -/ |
| 5 | |
| 6 | namespace OAI.ArithmeticGeometry.OrdinaryLocus.Openness.BaseChange.Construction |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Base change of the actual torsion scheme 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 T : Scheme} (f : T ⟶ S) (A : Over S) [GrpObj A] |
| 16 | |
| 17 | /-- Base change preserves the kernel of multiplication by n. -/ |
| 18 | def torsionBaseChangeIso (n : ℕ) : |
| 19 | (Over.pullback f).obj (DefinitionsTorsion.Construction.torsionScheme A n) ≅ |
| 20 | DefinitionsTorsion.Construction.torsionScheme ((Over.pullback f).obj A) n := by |
| 21 | let F := Over.pullback f |
| 22 | have hp : F.map ((𝟙 A) ^ n) = (𝟙 (F.obj A)) ^ n := by |
| 23 | exact ((F.homMonoidHom (X := A) (M := A)).map_pow (𝟙 A) n).trans |
| 24 | (congrArg (fun k => k ^ n) (F.map_id A)) |
| 25 | have h1 : F.map (1 : A ⟶ A) = 1 := F.map_one |
| 26 | exact (PreservesEqualizer.iso F ((𝟙 A) ^ n) (1 : A ⟶ A)) ≪≫ |
| 27 | eqToIso (by rw [hp, h1]; rfl) |
| 28 | |
| 29 | /-- Finiteness can be transported across an isomorphism of S-schemes. -/ |
| 30 | theorem isFinite_of_overIso {B C : Over S} (e : B ≅ C) [IsFinite B.hom] : |
| 31 | IsFinite C.hom := by |
| 32 | have : IsIso e.inv.left := (Over.forget S).map_isIso e.inv |
| 33 | rw [← e.inv.w] |
| 34 | infer_instance |
| 35 | |
| 36 | /-- A finite torsion kernel remains finite after any base change. -/ |
| 37 | theorem isFinite_torsion_baseChange (n : ℕ) [IsFinite (DefinitionsTorsion.Construction.torsionScheme A n).hom] : |
| 38 | IsFinite (DefinitionsTorsion.Construction.torsionScheme ((Over.pullback f).obj A) n).hom := by |
| 39 | have : IsFinite ((Over.pullback f).obj (DefinitionsTorsion.Construction.torsionScheme A n)).hom := by |
| 40 | change IsFinite (pullback.snd (DefinitionsTorsion.Construction.torsionScheme A n).hom f) |
| 41 | infer_instance |
| 42 | exact isFinite_of_overIso (torsionBaseChangeIso f A n) |
| 43 | |
| 44 | /-- The finite restriction supplied by the geometric-fiber argument is |
| 45 | the finite torsion scheme of the base-changed group. -/ |
| 46 | theorem isFinite_torsion_openRestriction (n : ℕ) (U : S.Opens) |
| 47 | [IsFinite ((DefinitionsTorsion.Construction.torsionScheme A n).hom ∣_ U)] : |
| 48 | IsFinite (DefinitionsTorsion.Construction.torsionScheme ((Over.pullback U.ι).obj A) n).hom := by |
| 49 | have : IsFinite ((Over.pullback U.ι).obj (DefinitionsTorsion.Construction.torsionScheme A n)).hom := by |
| 50 | change IsFinite (pullback.snd (DefinitionsTorsion.Construction.torsionScheme A n).hom U.ι) |
| 51 | rw [← pullbackRestrictIsoRestrict_hom_morphismRestrict] |
| 52 | infer_instance |
| 53 | exact isFinite_of_overIso (torsionBaseChangeIso U.ι A n) |
| 54 | |
| 55 | /-- Near an ordinary point, multiplication by p is finite on the |
| 56 | base-changed proper group scheme. -/ |
| 57 | theorem exists_finite_multiplication_neighborhood |
| 58 | [IsProper A.hom] [IsCommMonObj A] |
| 59 | (p : ℕ) [Fact p.Prime] (s : S) (hs : DefinitionsTorsion.IsOrdinaryAt p A s) : |
| 60 | ∃ U : S.Opens, s ∈ U ∧ |
| 61 | IsFinite (Multiplication.Construction.multiplicationMap ((Over.pullback U.ι).obj A) p).left := by |
| 62 | obtain ⟨U, hsU, hU⟩ := DefinitionsTorsion.Construction.exists_finite_torsion_neighborhood s A p hs |
| 63 | have : IsFinite ((DefinitionsTorsion.Construction.torsionScheme A p).hom ∣_ U) := hU |
| 64 | have : IsFinite (DefinitionsTorsion.Construction.torsionScheme ((Over.pullback U.ι).obj A) p).hom := |
| 65 | isFinite_torsion_openRestriction A p U |
| 66 | have : IsProper ((Over.pullback U.ι).obj A).hom := by |
| 67 | change IsProper (pullback.snd A.hom U.ι) |
| 68 | infer_instance |
| 69 | exact ⟨U, hsU, Multiplication.Construction.isFinite_multiplication_of_isFinite_torsion |
| 70 | ((Over.pullback U.ι).obj A) p⟩ |
| 71 | |
| 72 | end |
| 73 | |
| 74 | end OAI.ArithmeticGeometry.OrdinaryLocus.Openness.BaseChange.Construction |