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.AbelianScheme.FrobeniusKernel.QuotientActionBase |
| 2 | import OAI.AlgebraicGeometry.AbelianScheme.FrobeniusKernel.FrobeniusLevel |
| 3 | import OAI.AlgebraicGeometry.AbelianScheme.FrobeniusKernel.Prescribed |
| 4 | |
| 5 | /-! # Action -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.AbelianScheme.FrobeniusKernel.Action.Construction |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! |
| 12 | The isogeny underlying the Frobenius quotient carries exactly the pulled |
| 13 | back integral action and full marking. The action comparison is derived |
| 14 | from naturality and uniqueness of fpqc descent. |
| 15 | -/ |
| 16 | |
| 17 | open _root_.CategoryTheory _root_.AlgebraicGeometry Opposite |
| 18 | open scoped _root_.CategoryTheory.MonObj |
| 19 | |
| 20 | universe u v |
| 21 | |
| 22 | variable {S : Scheme.{u}} {g : ℕ} |
| 23 | variable (q : ℕ) (hq : q.Prime) (hS : (q : Γ(S, ⊤)) = 0) |
| 24 | variable (A : AbelianModuli.HilbertConstruction.Abelian.Schemes.AbelianScheme g S) |
| 25 | |
| 26 | /-- Homomorphisms supplies the finite flat relative Frobenius map; its target is the |
| 27 | native base change of the original abelian scheme. -/ |
| 28 | def frobeniusIsogeny : AbelianModuli.HilbertConstruction.Abelian.Schemes.AbelianScheme.Isogeny A |
| 29 | (A.pullback (Picard.Homomorphisms.Frobenius.Construction.absoluteFrobenius q hq S hS)) where |
| 30 | hom := Picard.Homomorphisms.Frobenius.Construction.relativeFrobenius q hq hS A.scheme |
| 31 | preservesGroup := Picard.Homomorphisms.Group.Construction.relativeFrobenius_isMonHom q hq hS A.scheme |
| 32 | finite := (Picard.Homomorphisms.Quotient.Construction.relativeFrobenius_finiteLocallyFree_quotient q hq hS A.scheme).1.1 |
| 33 | flat := (Picard.Homomorphisms.Quotient.Construction.relativeFrobenius_finiteLocallyFree_quotient q hq hS A.scheme).1.2.1 |
| 34 | surjective := (Picard.Homomorphisms.Quotient.Construction.relativeFrobenius_finiteLocallyFree_quotient q hq hS A.scheme).2.1 |
| 35 | |
| 36 | variable {A} {R : Type v} [CommRing R] |
| 37 | |
| 38 | theorem relativeFrobenius_action_intertwines (ρ : AbelianModuli.ReferenceFamily.ActionData.IntegralAction R A) (r : R) : |
| 39 | ρ.map r ≫ (frobeniusIsogeny q hq hS A).hom = |
| 40 | (frobeniusIsogeny q hq hS A).hom ≫ |
| 41 | (ρ.pullback (Picard.Homomorphisms.Frobenius.Construction.absoluteFrobenius q hq S hS)).map r := |
| 42 | (Picard.Homomorphisms.Group.Construction.relativeFrobeniusNat q hq hS).naturality (ρ.map r) |
| 43 | |
| 44 | /-- Kernel stability follows from relative Frobenius naturality on the |
| 45 | actual action, including on nonreduced tests. -/ |
| 46 | theorem frobenius_actionStableKernel (ρ : AbelianModuli.ReferenceFamily.ActionData.IntegralAction R A) : |
| 47 | QuotientActionBase.Construction.ActionStableKernel ρ (frobeniusIsogeny q hq hS A) := by |
| 48 | intro r T x hx |
| 49 | exact (Category.assoc _ _ _).trans |
| 50 | ((congrArg (fun f => x ≫ f) (relativeFrobenius_action_intertwines q hq hS ρ r)).trans |
| 51 | ((Category.assoc _ _ _).symm.trans |
| 52 | ((congrArg (fun f => f ≫ (ρ.pullback (Picard.Homomorphisms.Frobenius.Construction.absoluteFrobenius q hq S hS)).map r) hx).trans |
| 53 | (MonObj.one_comp _)))) |
| 54 | |
| 55 | /-- The action constructed by quotient descent equals the action on the |
| 56 | Frobenius twist, for every coefficient. -/ |
| 57 | theorem frobenius_quotientAction_eq_pullback (ρ : AbelianModuli.ReferenceFamily.ActionData.IntegralAction R A) (r : R) : |
| 58 | (QuotientActionBase.Construction.quotientAction ρ (frobeniusIsogeny q hq hS A) |
| 59 | (frobenius_actionStableKernel q hq hS ρ)).map r = |
| 60 | (ρ.pullback (Picard.Homomorphisms.Frobenius.Construction.absoluteFrobenius q hq S hS)).map r := |
| 61 | (QuotientActionBase.Construction.quotientAction_unique ρ (frobeniusIsogeny q hq hS A) |
| 62 | (frobenius_actionStableKernel q hq hS ρ) |
| 63 | (ρ.pullback (Picard.Homomorphisms.Frobenius.Construction.absoluteFrobenius q hq S hS)) |
| 64 | (fun r => (relativeFrobenius_action_intertwines q hq hS ρ r).symm) r).symm |
| 65 | |
| 66 | /-- A prescribed subgroup killed by n gives the killed-kernel input needed |
| 67 | to transport prime-to-n level. This again quantifies over every test scheme. -/ |
| 68 | theorem prescribedKernel_killedBy {B H : Over S} [GrpObj B] |
| 69 | (F : A.scheme ⟶ B) (i : H ⟶ A.scheme) (h : Prescribed.Construction.PrescribedKernel F i) |
| 70 | (n : ℕ) (hi : i ^ n = 1) (T : Over S) (x : T ⟶ A.scheme) |
| 71 | (hx : x ≫ F = 1) : x ^ n = 1 := by |
| 72 | obtain ⟨y, hy, _⟩ := (h T x).mp hx |
| 73 | have ht : (y ≫ i) ^ n = 1 := by |
| 74 | rw [← MonObj.comp_pow, hi, MonObj.comp_one] |
| 75 | exact (congrArg (fun a => a ^ n) hy.symm).trans ht |
| 76 | |
| 77 | /-- The descended full marking is equal to the Frobenius-pulled-back |
| 78 | marking as a natural isomorphism, including its actual chosen basis. -/ |
| 79 | theorem frobenius_quotientLevel_eq_pullback {n N : ℕ} |
| 80 | (hnN : Nat.Coprime n N) |
| 81 | (hkernel : ∀ (T : Over S) (x : T ⟶ A.scheme), |
| 82 | x ≫ (frobeniusIsogeny q hq hS A).hom = 1 → x ^ n = 1) |
| 83 | (level : A.FullLevel N) : |
| 84 | Power.Construction.quotientLevel (frobeniusIsogeny q hq hS A) hnN hkernel level = |
| 85 | level.pullback (Picard.Homomorphisms.Frobenius.Construction.absoluteFrobenius q hq S hS) := by |
| 86 | apply Iso.ext |
| 87 | apply NatTrans.ext |
| 88 | funext T |
| 89 | apply GrpCat.hom_ext |
| 90 | apply MonoidHom.ext |
| 91 | intro c |
| 92 | apply Subtype.ext |
| 93 | exact (Power.Construction.quotientLevel_transports (frobeniusIsogeny q hq hS A) hnN hkernel level T c).trans |
| 94 | (FrobeniusLevel.Construction.relativeFrobenius_transports_level q hq hS level T.unop c).symm |
| 95 | |
| 96 | end |
| 97 | |
| 98 | end OAI.AlgebraicGeometry.AbelianScheme.FrobeniusKernel.Action.Construction |