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.AbelianModuli.HilbertConstruction.Polarization.KernelGeometricEtale |
| 2 | |
| 3 | /-! # Kernel Geometric Points -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Geometric base changes of the actual isogeny kernel have precisely the specified geometric kernel points and the specified finite rank. -/ |
| 10 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 11 | open scoped _root_.CategoryTheory.MonObj BigOperators |
| 12 | universe u |
| 13 | |
| 14 | variable {S : Scheme.{u}} {g h : ℕ} {A : Abelian.Schemes.AbelianScheme g S} {B : Abelian.Schemes.AbelianScheme h S} |
| 15 | |
| 16 | def Abelian.Schemes.AbelianScheme.Isogeny.kernelGeometricPointsEquiv (p : Abelian.Schemes.AbelianScheme.Isogeny A B) |
| 17 | {K : Type u} [Field K] (s : Spec (.of K) ⟶ S) : |
| 18 | (Over.mk (𝟙 (Spec (.of K))) ⟶ (Over.pullback s).obj p.kernelScheme) ≃ p.kernelAt (Over.mk s) := by |
| 19 | let e : (Over.map s).obj (Over.mk (𝟙 (Spec (.of K)))) ≅ Over.mk s := |
| 20 | Over.isoMk (Iso.refl _) (by simp) |
| 21 | exact ((Over.mapPullbackAdj s).homEquiv (Over.mk (𝟙 (Spec (.of K)))) p.kernelScheme).symm.trans |
| 22 | ((e.homCongr (Iso.refl p.kernelScheme)).trans (p.kernelSchemePointsEquiv (Over.mk s))) |
| 23 | |
| 24 | theorem Abelian.Schemes.AbelianScheme.Isogeny.HasPolarizationType.kernel_geometricBaseChange_points_card |
| 25 | {A B : Abelian.Schemes.AbelianScheme g S} {p : Abelian.Schemes.AbelianScheme.Isogeny A B} {δ : Fin g → ℕ} |
| 26 | (hp : p.HasPolarizationType δ) (hδ : ∀ i, 0 < δ i) |
| 27 | (K : Type u) [Field K] [IsAlgClosed K] (s : Spec (.of K) ⟶ S) : |
| 28 | Nat.card (Over.mk (𝟙 (Spec (.of K))) ⟶ (Over.pullback s).obj p.kernelScheme) = (∏ i, δ i) ^ 2 := by |
| 29 | classical |
| 30 | have hδnz (i : Fin g) : NeZero (δ i) := ⟨Nat.ne_of_gt (hδ i)⟩ |
| 31 | obtain ⟨e⟩ := hp.geometricKernel K s |
| 32 | calc |
| 33 | _ = Nat.card (p.kernelAt (Over.mk s)) := Nat.card_congr (p.kernelGeometricPointsEquiv s) |
| 34 | _ = Nat.card (Multiplicative ((∀ i : Fin g, ZMod (δ i)) × (∀ i : Fin g, ZMod (δ i)))) := |
| 35 | Nat.card_congr e.toEquiv |
| 36 | _ = _ := by simp [Nat.card_eq_fintype_card, Fintype.card_pi, sq] |
| 37 | |
| 38 | theorem Abelian.Schemes.AbelianScheme.Isogeny.HasPolarizationType.kernel_geometricBaseChange_etale |
| 39 | {A B : Abelian.Schemes.AbelianScheme g S} {p : Abelian.Schemes.AbelianScheme.Isogeny A B} {δ : Fin g → ℕ} |
| 40 | (hp : p.HasPolarizationType δ) (hδ : ∀ i, 0 < δ i) |
| 41 | (K : Type u) [Field K] [IsAlgClosed K] (s : Spec (.of K) ⟶ S) : |
| 42 | Etale (pullback.snd p.kernelScheme.hom s) := by |
| 43 | let M := (Over.pullback s).obj p.kernelScheme |
| 44 | have : IsFinite M.hom := inferInstanceAs (IsFinite (pullback.snd p.kernelScheme.hom s)) |
| 45 | let x := IsLocalRing.closedPoint K |
| 46 | apply Finite.FieldPointRankCriterion.finiteFieldScheme_etale_of_point_card_eq M x |
| 47 | exact (hp.kernel_geometricBaseChange_points_card hδ K s).trans |
| 48 | (((Scheme.Hom.finrank_pullback_snd p.kernelScheme.hom s x).trans |
| 49 | (p.kernelScheme_finrank (s x))).trans (hp.degree (η[B.scheme].left (s x)))).symm |
| 50 | |
| 51 | end |
| 52 | |
| 53 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction |