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.EtaleDual |
| 2 | import OAI.AlgebraicGeometry.AbelianScheme.FrobeniusKernel.OrdinaryOppositeModels |
| 3 | import OAI.AlgebraicGeometry.AbelianScheme.FrobeniusKernel.Multiplicative |
| 4 | import OAI.AlgebraicGeometry.AbelianScheme.FrobeniusKernel.PairedKernels |
| 5 | |
| 6 | /-! # Ordinary Opposite -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.AbelianScheme.FrobeniusKernel.OrdinaryOpposite.Construction |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! |
| 13 | Relative Frobenius vanishes on the actual paired ordinary kernel: |
| 14 | the chosen multiplicative factor and its opposite Cartier annihilator. |
| 15 | -/ |
| 16 | |
| 17 | open _root_.CategoryTheory _root_.AlgebraicGeometry Opposite |
| 18 | open _root_.CategoryTheory.MonoidalCategory _root_.CategoryTheory.CartesianMonoidalCategory |
| 19 | open scoped _root_.CategoryTheory.MonObj _root_.CategoryTheory.Obj |
| 20 | |
| 21 | universe u |
| 22 | |
| 23 | section Products |
| 24 | |
| 25 | variable {S : Scheme.{u}} (p : ℕ) (hp : p.Prime) (hS : (p : Γ(S, ⊤)) = 0) |
| 26 | |
| 27 | theorem product_trivialFrobenius (G H : Grp (Over S)) |
| 28 | (hG : Picard.Homomorphisms.Frobenius.Construction.relativeFrobenius p hp hS G.X = 1) |
| 29 | (hH : Picard.Homomorphisms.Frobenius.Construction.relativeFrobenius p hp hS H.X = 1) : |
| 30 | Picard.Homomorphisms.Frobenius.Construction.relativeFrobenius p hp hS (G ⊗ H).X = 1 := by |
| 31 | let F := Over.pullback (Picard.Homomorphisms.Frobenius.Construction.absoluteFrobenius p hp S hS) |
| 32 | let c := prodComparison F G.X H.X |
| 33 | have : IsIso c := inferInstanceAs (IsIso (prodComparison F G.X H.X)) |
| 34 | have : IsMonHom (F.map (fst G.X H.X)) := |
| 35 | Functor.map.instIsMonHom (F := F) (f := fst G.X H.X) (G.X ⊗ H.X) G.X |
| 36 | have : IsMonHom (F.map (snd G.X H.X)) := |
| 37 | Functor.map.instIsMonHom (F := F) (f := snd G.X H.X) (G.X ⊗ H.X) H.X |
| 38 | have : IsMonHom c := by |
| 39 | change IsMonHom (lift (F.map (fst G.X H.X)) (F.map (snd G.X H.X))) |
| 40 | infer_instance |
| 41 | apply (cancel_mono c).mp |
| 42 | erw [MonObj.one_comp] |
| 43 | apply CartesianMonoidalCategory.hom_ext |
| 44 | · erw [Category.assoc, prodComparison_fst, MonObj.one_comp] |
| 45 | exact ((Picard.Homomorphisms.Group.Construction.relativeFrobeniusNat p hp hS).naturality (fst G.X H.X)).symm.trans |
| 46 | ((congrArg (fun f => fst G.X H.X ≫ f) hG).trans (MonObj.comp_one _)) |
| 47 | · erw [Category.assoc, prodComparison_snd, MonObj.one_comp] |
| 48 | exact ((Picard.Homomorphisms.Group.Construction.relativeFrobeniusNat p hp hS).naturality (snd G.X H.X)).symm.trans |
| 49 | ((congrArg (fun f => snd G.X H.X ≫ f) hH).trans (MonObj.comp_one _)) |
| 50 | |
| 51 | end Products |
| 52 | |
| 53 | theorem etaleGroupScheme_power (S : Scheme.{u}) (M : Type u) [Group M] |
| 54 | (n : ℕ) (hM : ∀ m : M, m ^ n = 1) : |
| 55 | (𝟙 (EtaleSubgroups.Construction.etaleGroupScheme S M).X) ^ n = 1 := by |
| 56 | let e := ((EtaleSubgroups.Construction.etaleGroupPointIso S M).app (op (EtaleSubgroups.Construction.etaleGroupScheme S M).X)).groupIsoToMulEquiv |
| 57 | apply e.injective |
| 58 | exact (map_pow e _ n).trans ((show e (𝟙 _) ^ n = 1 from by |
| 59 | apply LocallyConstant.ext |
| 60 | intro x |
| 61 | exact hM _).trans e.map_one.symm) |
| 62 | |
| 63 | theorem etaleOrdinaryBlock_power (k : Type u) [CommRing k] (p r : ℕ) : |
| 64 | (𝟙 (OrdinaryBlocks.Construction.etaleOrdinaryBlock k p 1 r).X) ^ p = 1 := by |
| 65 | apply etaleGroupScheme_power |
| 66 | intro m |
| 67 | apply ULift.ext |
| 68 | apply Multiplicative.toAdd.injective |
| 69 | change p • m.down.toAdd = 0 |
| 70 | ext j |
| 71 | change p • m.down.toAdd j = 0 |
| 72 | rw [nsmul_eq_mul] |
| 73 | have hp : (p : ZMod (p ^ 1)) = 0 := |
| 74 | (congrArg (fun n : ℕ => (n : ZMod (p ^ 1))) (pow_one p)).symm.trans (ZMod.natCast_self _) |
| 75 | rw [hp, zero_mul] |
| 76 | |
| 77 | variable (p : ℕ) [Fact p.Prime] (k : Type u) [Field k] [CharP k p] [PerfectRing k p] |
| 78 | variable {B : Grp (Over (Spec (.of k)))} {d r : ℕ} |
| 79 | variable (e : OrdinaryBlocks.Construction.OrdinaryBlockSplitting k B p 1 d r) |
| 80 | variable (P : CartierModel.Construction.CartierCoordinates (.of k) B) |
| 81 | variable (Q : CartierModel.Construction.CartierCoordinates (.of k) (OrdinaryBlocks.Construction.multiplicativeOrdinaryBlock k p 1 d)) |
| 82 | variable (V : CartierModel.Construction.CartierCoordinates (.of k) (OrdinaryBlocks.Construction.etaleOrdinaryBlock k p 1 r)) |
| 83 | |
| 84 | include V in |
| 85 | /-- The opposite annihilator itself has trivial Frobenius. -/ |
| 86 | theorem ordinaryOpposite_trivialFrobenius : |
| 87 | Picard.Homomorphisms.Frobenius.Construction.relativeFrobenius p (Fact.out : p.Prime) |
| 88 | (Picard.Homomorphisms.Affine.Construction.prime_eq_zero_spec p k (CharP.cast_eq_zero k p)) |
| 89 | (P.annihilatorGroup Q (OrdinaryBlocks.Construction.ordinaryMultiplicativeInclusion k e)).X = 1 := by |
| 90 | have : Etale (OrdinaryBlocks.Construction.etaleOrdinaryBlock k p 1 r).X.hom := EtaleSubgroups.Construction.etaleGroupScheme_etale _ _ |
| 91 | exact FiniteTorsion.Construction.trivialFrobenius_of_groupIso p (Fact.out : p.Prime) |
| 92 | (Picard.Homomorphisms.Affine.Construction.prime_eq_zero_spec p k (CharP.cast_eq_zero k p)) |
| 93 | (OrdinaryOppositeModels.Construction.splitOppositeGroupIso e P Q V) |
| 94 | (V.dual_frobenius_of_etale_torsion p k (etaleOrdinaryBlock_power k p r)) |
| 95 | |
| 96 | include V in |
| 97 | /-- The assembled chosen/opposite pair, with the actual annihilator |
| 98 | source, is annihilated by relative Frobenius. -/ |
| 99 | theorem ordinaryPairedKernel_trivialFrobenius : |
| 100 | Picard.Homomorphisms.Frobenius.Construction.relativeFrobenius p (Fact.out : p.Prime) |
| 101 | (Picard.Homomorphisms.Affine.Construction.prime_eq_zero_spec p k (CharP.cast_eq_zero k p)) |
| 102 | (P.pairedKernel Q (OrdinaryBlocks.Construction.ordinaryMultiplicativeInclusion k e)).X = 1 := |
| 103 | product_trivialFrobenius p (Fact.out : p.Prime) |
| 104 | (Picard.Homomorphisms.Affine.Construction.prime_eq_zero_spec p k (CharP.cast_eq_zero k p)) _ _ |
| 105 | (FrobeniusKernel.Multiplicative.Construction.ordinaryMultiplicative_relativeFrobenius p k d) |
| 106 | (ordinaryOpposite_trivialFrobenius p k e P Q V) |
| 107 | |
| 108 | end |
| 109 | |
| 110 | end OAI.AlgebraicGeometry.AbelianScheme.FrobeniusKernel.OrdinaryOpposite.Construction |