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.FiniteTorsion |
| 2 | import OAI.AlgebraicGeometry.AbelianScheme.FrobeniusKernel.Action |
| 3 | import OAI.AlgebraicGeometry.AbelianScheme.FrobeniusKernel.FiniteOverField |
| 4 | import OAI.AlgebraicGeometry.AbelianScheme.FrobeniusKernel.Assembly |
| 5 | import OAI.AlgebraicGeometry.AbelianScheme.FrobeniusKernel.OrdinaryBlocks |
| 6 | import OAI.AlgebraicGeometry.Picard.PoincareBundle.Kernel.Scheme |
| 7 | |
| 8 | /-! # Torsion -/ |
| 9 | |
| 10 | namespace OAI.AlgebraicGeometry.AbelianScheme.FrobeniusKernel.Torsion.Construction |
| 11 | |
| 12 | noncomputable section |
| 13 | |
| 14 | /-! |
| 15 | The actual relative Frobenius kernel is killed by p. Naturality first |
| 16 | shows that its own Frobenius vanishes; the finite Hopf height-one argument |
| 17 | then embeds the entire kernel scheme into A[p], retaining infinitesimals. |
| 18 | -/ |
| 19 | |
| 20 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 21 | open scoped _root_.CategoryTheory.MonObj |
| 22 | |
| 23 | universe u |
| 24 | |
| 25 | attribute [local instance] Picard.PoincareBundle.Kernel.Scheme.kernelGroup |
| 26 | |
| 27 | variable (p : ℕ) [Fact p.Prime] (k : Type u) [Field k] [IsAlgClosed k] [CharP k p] |
| 28 | variable {g : ℕ} (A : AbelianModuli.HilbertConstruction.Abelian.Schemes.AbelianScheme g (Spec (.of k))) |
| 29 | |
| 30 | abbrev geometricFrobeniusIsogeny := Action.Construction.frobeniusIsogeny p (Fact.out : p.Prime) |
| 31 | (Picard.Homomorphisms.Affine.Construction.prime_eq_zero_spec p k (CharP.cast_eq_zero k p)) A |
| 32 | |
| 33 | abbrev nativeFrobeniusKernel : Grp (Over (Spec (.of k))) := |
| 34 | @Grp.mk _ _ _ (Picard.PoincareBundle.Kernel.Scheme.kernelObject (geometricFrobeniusIsogeny p k A).hom) |
| 35 | (Picard.PoincareBundle.Kernel.Scheme.kernelGroup (geometricFrobeniusIsogeny p k A).hom) |
| 36 | |
| 37 | instance nativeFrobeniusKernel_finite : IsFinite (nativeFrobeniusKernel p k A).X.hom := |
| 38 | Picard.PoincareBundle.Kernel.Scheme.kernel_isFinite (geometricFrobeniusIsogeny p k A).hom |
| 39 | |
| 40 | instance nativeFrobeniusKernel_commutative : IsCommMonObj (nativeFrobeniusKernel p k A).X := |
| 41 | Picard.PoincareBundle.Kernel.Scheme.kernelGroup_commutative (geometricFrobeniusIsogeny p k A).hom |
| 42 | |
| 43 | omit [IsAlgClosed k] in |
| 44 | theorem nativeFrobeniusKernel_frobenius : |
| 45 | Picard.Homomorphisms.Frobenius.Construction.relativeFrobenius p (Fact.out : p.Prime) |
| 46 | (Picard.Homomorphisms.Affine.Construction.prime_eq_zero_spec p k (CharP.cast_eq_zero k p)) |
| 47 | (nativeFrobeniusKernel p k A).X = 1 := by |
| 48 | let hp : p.Prime := Fact.out |
| 49 | let hS := Picard.Homomorphisms.Affine.Construction.prime_eq_zero_spec p k (CharP.cast_eq_zero k p) |
| 50 | let F := (geometricFrobeniusIsogeny p k A).hom |
| 51 | let H := (nativeFrobeniusKernel p k A).X |
| 52 | let i : H ⟶ A.scheme := Picard.PoincareBundle.Kernel.Scheme.kernelInclusion F |
| 53 | have : Mono i := inferInstanceAs (Mono (Picard.PoincareBundle.Kernel.Scheme.kernelInclusion F)) |
| 54 | have : IsMonHom i := inferInstanceAs (IsMonHom (Picard.PoincareBundle.Kernel.Scheme.kernelInclusion F)) |
| 55 | let P := Over.pullback (Picard.Homomorphisms.Frobenius.Construction.absoluteFrobenius p hp _ hS) |
| 56 | let j : Picard.Homomorphisms.Frobenius.Construction.frobeniusTwist p hp hS H ⟶ Picard.Homomorphisms.Frobenius.Construction.frobeniusTwist p hp hS A.scheme := P.map i |
| 57 | have : Mono j := inferInstanceAs (Mono (P.map i)) |
| 58 | have : IsMonHom j := Functor.map.instIsMonHom (F := P) (f := i) H A.scheme |
| 59 | apply (cancel_mono j).mp |
| 60 | have hn := (Picard.Homomorphisms.Group.Construction.relativeFrobeniusNat p hp hS).naturality i |
| 61 | have hi : i ≫ F = 1 := Picard.PoincareBundle.Kernel.Scheme.kernelInclusion_comp F |
| 62 | exact hn.symm.trans (hi.trans (MonObj.one_comp j).symm) |
| 63 | |
| 64 | /-- Multiplication by p vanishes on the whole relative Frobenius kernel. -/ |
| 65 | theorem nativeFrobeniusKernel_killed : (𝟙 (nativeFrobeniusKernel p k A).X) ^ p = 1 := by |
| 66 | have hflat := FiniteOverField.Construction.finiteOverField_finiteLocallyFree (nativeFrobeniusKernel p k A).X.hom |
| 67 | have : Flat (nativeFrobeniusKernel p k A).X.hom := hflat.1 |
| 68 | have : LocallyOfFinitePresentation (nativeFrobeniusKernel p k A).X.hom := hflat.2 |
| 69 | exact FiniteTorsion.Construction.finiteGroup_killed_of_trivial_frobenius p k (nativeFrobeniusKernel p k A) |
| 70 | (nativeFrobeniusKernel_frobenius p k A) |
| 71 | |
| 72 | theorem nativeFrobeniusKernelInclusion_killed : |
| 73 | (Picard.PoincareBundle.Kernel.Scheme.kernelInclusion (geometricFrobeniusIsogeny p k A).hom) ^ p = 1 := by |
| 74 | let i := Picard.PoincareBundle.Kernel.Scheme.kernelInclusion (geometricFrobeniusIsogeny p k A).hom |
| 75 | have hi : IsMonHom i := inferInstance |
| 76 | have h := congrArg (fun f => f ≫ i) (nativeFrobeniusKernel_killed p k A) |
| 77 | rw [MonObj.pow_comp, Category.id_comp, MonObj.one_comp] at h |
| 78 | exact h |
| 79 | |
| 80 | /-- The canonical map embeds the native Frobenius kernel in scheme-theoretic |
| 81 | p-torsion by the zero-fiber universal property. -/ |
| 82 | def nativeFrobeniusKernelToTorsion : (nativeFrobeniusKernel p k A).X ⟶ A.torsionScheme p := |
| 83 | (A.torsionSchemePointsEquiv p (nativeFrobeniusKernel p k A).X).symm |
| 84 | ⟨Picard.PoincareBundle.Kernel.Scheme.kernelInclusion (geometricFrobeniusIsogeny p k A).hom, |
| 85 | nativeFrobeniusKernelInclusion_killed p k A⟩ |
| 86 | |
| 87 | theorem nativeFrobeniusKernelToTorsion_inclusion : |
| 88 | nativeFrobeniusKernelToTorsion p k A ≫ A.torsionInclusion p = |
| 89 | Picard.PoincareBundle.Kernel.Scheme.kernelInclusion (geometricFrobeniusIsogeny p k A).hom := |
| 90 | congrArg (fun x : A.torsionPoints p (nativeFrobeniusKernel p k A).X => x.val) |
| 91 | ((A.torsionSchemePointsEquiv p (nativeFrobeniusKernel p k A).X).apply_symm_apply _) |
| 92 | |
| 93 | instance nativeFrobeniusKernelToTorsion_isMonHom : |
| 94 | IsMonHom (nativeFrobeniusKernelToTorsion p k A) := by |
| 95 | apply RepresentedGroups.Construction.isMonHom_of_point_operations |
| 96 | · intro T |
| 97 | apply (cancel_mono (A.torsionInclusion p)).mp |
| 98 | rw [Category.assoc, nativeFrobeniusKernelToTorsion_inclusion, |
| 99 | MonObj.one_comp, MonObj.one_comp] |
| 100 | · intro T x y |
| 101 | apply (cancel_mono (A.torsionInclusion p)).mp |
| 102 | rw [Category.assoc, nativeFrobeniusKernelToTorsion_inclusion, MonObj.mul_comp, |
| 103 | MonObj.mul_comp, Category.assoc, Category.assoc, nativeFrobeniusKernelToTorsion_inclusion] |
| 104 | |
| 105 | instance nativeFrobeniusKernelToTorsion_mono : Mono (nativeFrobeniusKernelToTorsion p k A) := |
| 106 | mono_of_mono_fac (nativeFrobeniusKernelToTorsion_inclusion p k A) |
| 107 | |
| 108 | theorem nativeFrobeniusKernelToTorsion_closed : |
| 109 | IsClosedImmersion (nativeFrobeniusKernelToTorsion p k A).left := |
| 110 | OrdinaryBlocks.Construction.closedSubgroupOfFiniteMono (nativeFrobeniusKernelToTorsion p k A) |
| 111 | |
| 112 | end |
| 113 | |
| 114 | end OAI.AlgebraicGeometry.AbelianScheme.FrobeniusKernel.Torsion.Construction |