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.Picard.Homomorphisms.FiniteHopfPresentation |
| 2 | import OAI.AlgebraicGeometry.AbelianScheme.FrobeniusKernel.HeightOne |
| 3 | |
| 4 | /-! # Finite Frobenius Torsion -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.Picard.Homomorphisms.FiniteFrobeniusTorsion |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Trivial Frobenius kills multiplication by p on an actual finite |
| 11 | commutative group scheme over a perfect field. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.AlgebraicGeometry Opposite |
| 14 | open scoped _root_.CategoryTheory.MonObj |
| 15 | |
| 16 | set_option backward.isDefEq.respectTransparency.types false |
| 17 | |
| 18 | namespace Construction |
| 19 | |
| 20 | universe u |
| 21 | |
| 22 | theorem trivialFrobenius_of_groupIso {S : Scheme.{u}} |
| 23 | (p : ℕ) (hp : p.Prime) (hS : (p : Γ(S, ⊤)) = 0) |
| 24 | {G H : Grp (Over S)} (e : G ≅ H) (hH : Frobenius.Construction.relativeFrobenius p hp hS H.X = 1) : |
| 25 | Frobenius.Construction.relativeFrobenius p hp hS G.X = 1 := by |
| 26 | let F := Over.pullback (Frobenius.Construction.absoluteFrobenius p hp S hS) |
| 27 | let j : Frobenius.Construction.frobeniusTwist p hp hS G.X ⟶ Frobenius.Construction.frobeniusTwist p hp hS H.X := F.map e.hom.hom.hom |
| 28 | have : IsIso j := inferInstanceAs (IsIso (F.map e.hom.hom.hom)) |
| 29 | have : IsMonHom j := Functor.map.instIsMonHom (F := F) (f := e.hom.hom.hom) G.X H.X |
| 30 | apply (cancel_mono j).mp |
| 31 | have hn := (Group.Construction.relativeFrobeniusNat p hp hS).naturality e.hom.hom.hom |
| 32 | exact hn.symm.trans |
| 33 | ((congrArg (fun f => e.hom.hom.hom ≫ f) hH).trans |
| 34 | ((MonObj.comp_one e.hom.hom.hom).trans (MonObj.one_comp j).symm)) |
| 35 | |
| 36 | theorem group_power_of_iso {S : Scheme.{u}} {G H : Grp (Over S)} |
| 37 | (e : G ≅ H) (n : ℕ) (hG : (𝟙 G.X) ^ n = 1) : (𝟙 H.X) ^ n = 1 := by |
| 38 | let a : H.X ⟶ G.X := e.inv.hom.hom |
| 39 | let b : G.X ⟶ H.X := e.hom.hom.hom |
| 40 | have : IsMonHom b := inferInstanceAs (IsMonHom e.hom.hom.hom) |
| 41 | have he : a ≫ b = 𝟙 H.X := congrArg (fun f : H ⟶ H => f.hom.hom) e.inv_hom_id |
| 42 | have ha : a ^ n = 1 := |
| 43 | (congrArg (fun f => f ^ n) (Category.comp_id a)).symm.trans |
| 44 | ((MonObj.comp_pow (𝟙 G.X) n a).symm.trans |
| 45 | ((congrArg (fun f => a ≫ f) hG).trans (MonObj.comp_one a))) |
| 46 | exact (congrArg (fun f => f ^ n) he).symm.trans |
| 47 | ((MonObj.pow_comp a n b).symm.trans |
| 48 | ((congrArg (fun f => f ≫ b) ha).trans (MonObj.one_comp b))) |
| 49 | |
| 50 | theorem finiteGroup_killed_of_trivial_frobenius |
| 51 | (p : ℕ) [Fact p.Prime] (k : Type u) [Field k] [CharP k p] [PerfectRing k p] |
| 52 | (G : Grp (Over (Spec (.of k)))) [IsCommMonObj G.X] [IsFinite G.X.hom] |
| 53 | (hG : Frobenius.Construction.relativeFrobenius p Fact.out |
| 54 | (Affine.Construction.prime_eq_zero_spec p k (CharP.cast_eq_zero k p)) G.X = 1) : |
| 55 | (𝟙 G.X) ^ p = 1 := by |
| 56 | obtain ⟨A, hf, hc, ⟨e⟩⟩ := FiniteHopfPresentation.Construction.finite_commutative_hopfPresentation k G |
| 57 | have : Module.Finite k A := hf |
| 58 | have : Coalgebra.IsCocomm k A := hc |
| 59 | have hA := trivialFrobenius_of_groupIso p Fact.out |
| 60 | (Affine.Construction.prime_eq_zero_spec p k (CharP.cast_eq_zero k p)) e hG |
| 61 | exact group_power_of_iso e p (AbelianScheme.FrobeniusKernel.HeightOne.Construction.affineGroup_killed_of_trivial_frobenius p k A hA) |
| 62 | |
| 63 | end Construction |
| 64 | |
| 65 | end |
| 66 | |
| 67 | end OAI.AlgebraicGeometry.Picard.Homomorphisms.FiniteFrobeniusTorsion |