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.HeightOneTorsion |
| 2 | import OAI.AlgebraicGeometry.Picard.Homomorphisms.Diagonalizable |
| 3 | |
| 4 | /-! # Height One -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianScheme.FrobeniusKernel.HeightOne.Construction |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! |
| 11 | Translate triviality of relative Frobenius into the height-one equation |
| 12 | in a finite Hopf coordinate algebra. This yields the scheme-theoretic |
| 13 | p-torsion bound, with no use of geometric-point detection. |
| 14 | -/ |
| 15 | |
| 16 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 17 | open _root_.CategoryTheory.MonoidalCategory |
| 18 | open scoped _root_.CategoryTheory.MonObj |
| 19 | |
| 20 | universe u |
| 21 | |
| 22 | variable (p : ℕ) [Fact p.Prime] (k A : Type u) [Field k] [CharP k p] [PerfectRing k p] |
| 23 | variable [CommRing A] [HopfAlgebra k A] [Coalgebra.IsCocomm k A] [Module.Finite k A] |
| 24 | |
| 25 | omit [Module.Finite k A] in |
| 26 | theorem affineGroup_one_left : |
| 27 | (1 : (Spec (.of A)).asOver (Spec (.of k)) ⟶ (Spec (.of A)).asOver (Spec (.of k))).left = |
| 28 | Spec.map (CommRingCat.ofHom ((algebraMap k A).comp (Bialgebra.counitAlgHom k A).toRingHom)) := by |
| 29 | rw [Hom.one_def, Over.comp_left, one_spec_asOver_spec_left] |
| 30 | change Spec.map (CommRingCat.ofHom (algebraMap k A)) ≫ _ = _ |
| 31 | erw [← Spec.map_comp, ← CommRingCat.ofHom_comp] |
| 32 | rfl |
| 33 | |
| 34 | omit [PerfectRing k p] [Module.Finite k A] in |
| 35 | theorem hopfHeightOne_of_trivial_frobenius |
| 36 | (hF : Picard.Homomorphisms.Frobenius.Construction.relativeFrobenius p (Fact.out : p.Prime) |
| 37 | (Picard.Homomorphisms.Affine.Construction.prime_eq_zero_spec p k (CharP.cast_eq_zero k p)) |
| 38 | ((Spec (.of A)).asOver (Spec (.of k))) = 1) : HeightOneTorsion.Construction.HopfHeightOne p k A := by |
| 39 | let G := (Spec (.of A)).asOver (Spec (.of k)) |
| 40 | let hp : p.Prime := Fact.out |
| 41 | let hS := Picard.Homomorphisms.Affine.Construction.prime_eq_zero_spec p k (CharP.cast_eq_zero k p) |
| 42 | let F := Picard.Homomorphisms.Frobenius.Construction.relativeFrobenius p hp hS G |
| 43 | have hF' : F = (1 : G ⟶ G) ≫ F := hF.trans (MonObj.one_comp F).symm |
| 44 | let π : (Picard.Homomorphisms.Frobenius.Construction.frobeniusTwist p hp hS G).left ⟶ G.left := |
| 45 | CategoryTheory.Limits.pullback.fst G.hom (Picard.Homomorphisms.Frobenius.Construction.absoluteFrobenius p hp _ hS) |
| 46 | have hπ : F.left ≫ π = |
| 47 | Picard.Homomorphisms.Frobenius.Construction.absoluteFrobenius p hp G.left (Picard.Homomorphisms.Frobenius.Construction.prime_eq_zero_of_map p hS G.hom) := |
| 48 | Picard.Homomorphisms.Frobenius.Construction.relativeFrobenius_comp_fst p hp hS G |
| 49 | have hh := hπ.symm.trans |
| 50 | ((congrArg (fun f : G ⟶ Picard.Homomorphisms.Frobenius.Construction.frobeniusTwist p hp hS G => f.left ≫ π) hF').trans |
| 51 | ((Category.assoc (1 : G ⟶ G).left F.left π).trans |
| 52 | (congrArg (fun f => (1 : G ⟶ G).left ≫ f) hπ))) |
| 53 | have hA : (p : A) = 0 := by |
| 54 | rw [← map_natCast (algebraMap k A), CharP.cast_eq_zero k p, map_zero] |
| 55 | change Picard.Homomorphisms.Frobenius.Construction.absoluteFrobenius p hp (Spec (.of A)) _ = |
| 56 | (1 : (Spec (.of A)).asOver (Spec (.of k)) ⟶ |
| 57 | (Spec (.of A)).asOver (Spec (.of k))).left ≫ |
| 58 | Picard.Homomorphisms.Frobenius.Construction.absoluteFrobenius p hp (Spec (.of A)) _ at hh |
| 59 | erw [affineGroup_one_left k A, Picard.Homomorphisms.Affine.Construction.absoluteFrobenius_spec p hp A hA, ← Spec.map_comp] at hh |
| 60 | have hr := Spec.map_injective hh |
| 61 | intro a |
| 62 | have ha := congrArg (fun f : CommRingCat.of A ⟶ CommRingCat.of A => f.hom a) hr |
| 63 | change a ^ p = algebraMap k A (Coalgebra.counit (R := k) (a ^ p)) at ha |
| 64 | exact ha.trans (congrArg (algebraMap k A) (Bialgebra.counit_pow a p)) |
| 65 | |
| 66 | /-- A finite affine group with trivial relative Frobenius is killed by p |
| 67 | as an actual scheme endomorphism. -/ |
| 68 | theorem affineGroup_killed_of_trivial_frobenius |
| 69 | (hF : Picard.Homomorphisms.Frobenius.Construction.relativeFrobenius p (Fact.out : p.Prime) |
| 70 | (Picard.Homomorphisms.Affine.Construction.prime_eq_zero_spec p k (CharP.cast_eq_zero k p)) |
| 71 | ((Spec (.of A)).asOver (Spec (.of k))) = 1) : |
| 72 | (𝟙 ((Spec (.of A)).asOver (Spec (.of k))) : |
| 73 | (Spec (.of A)).asOver (Spec (.of k)) ⟶ (Spec (.of A)).asOver (Spec (.of k))) ^ p = 1 := |
| 74 | HeightOneTorsion.Construction.heightOne_scheme_power p k A (hopfHeightOne_of_trivial_frobenius p k A hF) |
| 75 | |
| 76 | omit [PerfectRing k p] [Module.Finite k A] in |
| 77 | /-- The height-one coordinate equation also implies triviality of the |
| 78 | actual relative Frobenius morphism. -/ |
| 79 | theorem trivial_frobenius_of_hopfHeightOne (h : HeightOneTorsion.Construction.HopfHeightOne p k A) : |
| 80 | Picard.Homomorphisms.Frobenius.Construction.relativeFrobenius p (Fact.out : p.Prime) |
| 81 | (Picard.Homomorphisms.Affine.Construction.prime_eq_zero_spec p k (CharP.cast_eq_zero k p)) |
| 82 | ((Spec (.of A)).asOver (Spec (.of k))) = 1 := by |
| 83 | apply Picard.Homomorphisms.Diagonalizable.Construction.relativeFrobenius_eq_one_of_absolute |
| 84 | have hA : (p : A) = 0 := by |
| 85 | rw [← map_natCast (algebraMap k A), CharP.cast_eq_zero k p, map_zero] |
| 86 | erw [affineGroup_one_left k A, |
| 87 | Picard.Homomorphisms.Affine.Construction.absoluteFrobenius_spec p (Fact.out : p.Prime) A hA, ← Spec.map_comp] |
| 88 | apply congrArg Spec.map |
| 89 | apply CommRingCat.hom_ext |
| 90 | ext a |
| 91 | change a ^ p = algebraMap k A (Coalgebra.counit (R := k) (a ^ p)) |
| 92 | exact (h a).trans (congrArg (algebraMap k A) (Bialgebra.counit_pow a p).symm) |
| 93 | |
| 94 | end |
| 95 | |
| 96 | end OAI.AlgebraicGeometry.AbelianScheme.FrobeniusKernel.HeightOne.Construction |