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.Quotients.FiniteDescent.MultiplicationQuotient |
| 2 | import OAI.AlgebraicGeometry.AbelianScheme.TorsionQuotient.LocalPowerIn |
| 3 | import OAI.AlgebraicGeometry.AbelianScheme.TorsionQuotient.LocalUnramified |
| 4 | import Mathlib.RingTheory.Unramified.LocalStructure |
| 5 | |
| 6 | /-! # Characteristic Zero Is -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.Quotients.FiniteDescent.CharacteristicZeroIs |
| 9 | |
| 10 | /-! |
| 11 | # FiniteDescent over bases with residue characteristic zero |
| 12 | |
| 13 | Multiplication by a unit is formally unramified, by the actual |
| 14 | infinitesimal group-point lifting lemmas. Properness makes it finite. |
| 15 | When every residue field has characteristic zero, every positive integer |
| 16 | is a unit in each base stalk, so the multiplication quotient construction |
| 17 | proves all conclusions of FiniteDescent over that base. |
| 18 | -/ |
| 19 | |
| 20 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 21 | open scoped _root_.CategoryTheory.MonObj |
| 22 | |
| 23 | universe u |
| 24 | |
| 25 | namespace Construction.CharacteristicZero |
| 26 | |
| 27 | theorem power_formallyUnramified {S : Scheme.{u}} |
| 28 | (A : Over S) [GrpObj A] [IsCommMonObj A] |
| 29 | (n : ℕ) (hn : ∀ x : S, IsUnit (n : S.presheaf.stalk x)) : |
| 30 | FormallyUnramified ((𝟙 A : A ⟶ A) ^ n).left := by |
| 31 | apply AbelianScheme.TorsionQuotient.LocalUnramified.LocalUnramifiedCriterion.of_local_hom_ext |
| 32 | intro C hC J hJ a b hred hp |
| 33 | let s := a ≫ A.hom |
| 34 | have hb : b ≫ A.hom = s := by |
| 35 | have h := congrArg (fun z => z ≫ A.hom) hp |
| 36 | simpa only [Category.assoc, Over.w] using h.symm |
| 37 | let α : Over.mk s ⟶ A := Over.homMk a rfl |
| 38 | let β : Over.mk s ⟶ A := Over.homMk b hb |
| 39 | have hp' : α ^ n = β ^ n := by |
| 40 | apply Over.OverMorphism.ext |
| 41 | change (α ≫ (𝟙 A : A ⟶ A) ^ n).left = (β ≫ (𝟙 A : A ⟶ A) ^ n).left at hp |
| 42 | simpa only [MonObj.comp_pow, Category.comp_id] using hp |
| 43 | have hred' : AbelianScheme.TorsionQuotient.LocalPowerIn.LocalPower.reduction s J A α = |
| 44 | AbelianScheme.TorsionQuotient.LocalPowerIn.LocalPower.reduction s J A β := Over.OverMorphism.ext hred |
| 45 | have hnC : IsUnit (n : C) := by |
| 46 | simpa only [map_natCast] using |
| 47 | (hn (s (IsLocalRing.closedPoint C))).map (Scheme.stalkClosedPointTo s).hom |
| 48 | exact congrArg (fun z : Over.mk s ⟶ A => z.left) |
| 49 | (AbelianScheme.TorsionQuotient.LocalPowerIn.LocalPower.power_lift_unique s J hJ A n hnC α β hred' hp') |
| 50 | |
| 51 | theorem finite_of_proper_formallyUnramified {X Y : Scheme.{u}} |
| 52 | (f : X ⟶ Y) [IsProper f] [FormallyUnramified f] : IsFinite f := by |
| 53 | have : LocallyQuasiFinite f := by |
| 54 | constructor |
| 55 | intro U hU V hV e |
| 56 | let p := (f.appLE U V e).hom |
| 57 | let : Algebra Γ(Y, U) Γ(X, V) := p.toAlgebra |
| 58 | have : Algebra.FormallyUnramified Γ(Y, U) Γ(X, V) := |
| 59 | f.formallyUnramified_appLE hU hV e |
| 60 | have : Algebra.FiniteType Γ(Y, U) Γ(X, V) := f.finiteType_appLE hU hV e |
| 61 | exact (inferInstance : Algebra.QuasiFinite Γ(Y, U) Γ(X, V)) |
| 62 | exact IsFinite.of_isProper_of_locallyQuasiFinite f |
| 63 | |
| 64 | theorem finite_power_of_stalk_units {S : Scheme.{u}} |
| 65 | (A : Over S) [GrpObj A] [IsCommMonObj A] [IsProper A.hom] |
| 66 | (n : ℕ) (hn : ∀ x : S, IsUnit (n : S.presheaf.stalk x)) : |
| 67 | IsFinite ((𝟙 A : A ⟶ A) ^ n).left := by |
| 68 | have := RelativeFinitenessIs.Construction.RelativeFiniteness.power_isProper A n |
| 69 | have := power_formallyUnramified A n hn |
| 70 | exact finite_of_proper_formallyUnramified _ |
| 71 | |
| 72 | theorem natCast_stalk_isUnit (S : Scheme.{u}) |
| 73 | [∀ x : S, CharZero (S.residueField x)] (n : ℕ) (hn : 0 < n) (x : S) : |
| 74 | IsUnit (n : S.presheaf.stalk x) := by |
| 75 | apply (IsLocalRing.residue_ne_zero_iff_isUnit _).mp |
| 76 | rw [map_natCast] |
| 77 | change (n : S.residueField x) ≠ 0 |
| 78 | exact Nat.cast_ne_zero.mpr hn.ne' |
| 79 | |
| 80 | end Construction.CharacteristicZero |
| 81 | |
| 82 | theorem FiniteDescentProof.exists_abelian_scheme_quotient_of_residue_charZero |
| 83 | (S : Scheme.{u}) [∀ x : S, CharZero (S.residueField x)] |
| 84 | (A : AbelianQuotient.Construction.AbelianScheme S) (H : Over S) [GrpObj H] |
| 85 | (i : H ⟶ A.toOver) [IsMonHom i] |
| 86 | (hi : IsClosedImmersion i.left) (hH : AbelianQuotient.Construction.FiniteLocallyFree H.hom) : |
| 87 | ∃ (B : AbelianQuotient.Construction.AbelianScheme S) (q : A.toOver ⟶ B.toOver), |
| 88 | IsMonHom q ∧ AbelianQuotient.Construction.FiniteLocallyFree q.left ∧ Surjective q.left ∧ |
| 89 | (∀ (T : Over S) (a : T ⟶ A.toOver), |
| 90 | a ≫ q = 1 ↔ ∃! h : T ⟶ H, h ≫ i = a) ∧ |
| 91 | (∀ (T : Over S) (f : A.toOver ⟶ T), |
| 92 | (∀ (U : Over S) (a : U ⟶ A.toOver) (h : U ⟶ H), |
| 93 | ((h ≫ i) * a) ≫ f = a ≫ f) → |
| 94 | ∃! g : B.toOver ⟶ T, q ≫ g = f) := by |
| 95 | apply MultiplicationQuotient.Construction.exists_abelian_scheme_quotient_of_finite_multiplication S A H i hi hH |
| 96 | intro n hn |
| 97 | exact Construction.CharacteristicZero.finite_power_of_stalk_units A.toOver n |
| 98 | (Construction.CharacteristicZero.natCast_stalk_isUnit S n hn) |
| 99 | |
| 100 | end OAI.AlgebraicGeometry.Quotients.FiniteDescent.CharacteristicZeroIs |