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.Block |
| 2 | import OAI.AlgebraicGeometry.AbelianScheme.FrobeniusKernel.ChosenOrdinaryKernels |
| 3 | import OAI.AlgebraicGeometry.AbelianScheme.FrobeniusKernel.SplitOrdinary |
| 4 | |
| 5 | /-! # Ordinary Frobenius -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.AbelianScheme.FrobeniusKernel.OrdinaryFrobenius.Construction |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! |
| 12 | The full X-kernel uses each actual chosen multiplicative factor and its |
| 13 | opposite annihilator. Its equality with the native Frobenius kernel is |
| 14 | proved from the ordinary block splittings and source Cartier pairings. |
| 15 | No Frobenius-kernel or quotient compatibility is stored in the data. |
| 16 | -/ |
| 17 | |
| 18 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 19 | open _root_.CategoryTheory.MonoidalCategory |
| 20 | open scoped _root_.CategoryTheory.MonObj |
| 21 | |
| 22 | universe u |
| 23 | |
| 24 | /-- The native source geometry of one conjugate pair of ordinary blocks. |
| 25 | The pairing is the source polarized Cartier identification; its |
| 26 | annihilator and all kernel properties are constructed below. -/ |
| 27 | structure NativeOrdinaryPairedBlock (p : ℕ) (k : Type u) [Field k] where |
| 28 | chosen : Grp (Over (Spec (.of k))) |
| 29 | opposite : Grp (Over (Spec (.of k))) |
| 30 | multiplicativeHeight : ℕ |
| 31 | etaleHeight : ℕ |
| 32 | splitting : OrdinaryBlocks.Construction.OrdinaryBlockSplitting k chosen p 1 multiplicativeHeight etaleHeight |
| 33 | coordinates : CartierModel.Construction.CartierCoordinates (.of k) chosen |
| 34 | pairing : opposite ≅ coordinates.dualGroup |
| 35 | |
| 36 | namespace NativeOrdinaryPairedBlock |
| 37 | |
| 38 | variable {p : ℕ} [Fact p.Prime] {k : Type u} [Field k] (D : NativeOrdinaryPairedBlock p k) |
| 39 | |
| 40 | abbrev chosenKernel : Grp (Over (Spec (.of k))) := |
| 41 | OrdinaryBlocks.Construction.multiplicativeOrdinaryBlock k p 1 D.multiplicativeHeight |
| 42 | |
| 43 | abbrev chosenKernelCoordinates : CartierModel.Construction.CartierCoordinates (.of k) D.chosenKernel := |
| 44 | MultiplicativeDual.Construction.diagonalizableCartierCoordinates k (OrdinaryBlocks.Construction.OrdinaryBlockLabels p 1 D.multiplicativeHeight) |
| 45 | |
| 46 | def etaleCoordinates : CartierModel.Construction.CartierCoordinates (.of k) (OrdinaryBlocks.Construction.etaleOrdinaryBlock k p 1 D.etaleHeight) := by |
| 47 | have : IsCommMonObj (OrdinaryBlocks.Construction.etaleOrdinaryBlock k p 1 D.etaleHeight).X := |
| 48 | inferInstanceAs (IsCommMonObj (EtaleSubgroups.Construction.etaleGroupScheme (Spec (.of k)) |
| 49 | (OrdinaryBlocks.Construction.OrdinaryBlockLabels p 1 D.etaleHeight)).X) |
| 50 | have h := OrdinaryBlocks.Construction.etaleOrdinaryBlock_finiteLocallyFree k p 1 D.etaleHeight |
| 51 | have : IsFinite (OrdinaryBlocks.Construction.etaleOrdinaryBlock k p 1 D.etaleHeight).X.hom := h.1 |
| 52 | have : Flat (OrdinaryBlocks.Construction.etaleOrdinaryBlock k p 1 D.etaleHeight).X.hom := h.2.1 |
| 53 | have : LocallyOfFinitePresentation (OrdinaryBlocks.Construction.etaleOrdinaryBlock k p 1 D.etaleHeight).X.hom := h.2.2 |
| 54 | exact CartierModel.Construction.cartierCoordinates (.of k) _ |
| 55 | |
| 56 | abbrev chosenInclusion : D.chosenKernel ⟶ D.chosen := |
| 57 | OrdinaryBlocks.Construction.ordinaryMultiplicativeInclusion k D.splitting |
| 58 | |
| 59 | def kernel : Grp (Over (Spec (.of k))) := |
| 60 | D.coordinates.pairedKernel D.chosenKernelCoordinates D.chosenInclusion |
| 61 | |
| 62 | def inclusion : D.kernel ⟶ D.chosen ⊗ D.opposite := |
| 63 | D.coordinates.pairedKernelInclusion D.chosenKernelCoordinates D.chosenInclusion D.pairing |
| 64 | |
| 65 | theorem inclusion_closed : IsClosedImmersion D.inclusion.hom.hom.left := |
| 66 | D.coordinates.pairedKernelInclusion_closed D.chosenKernelCoordinates D.chosenInclusion D.pairing |
| 67 | (OrdinaryBlocks.Construction.ordinaryMultiplicativeInclusion_closed k D.splitting) |
| 68 | |
| 69 | theorem kernel_finiteLocallyFree : |
| 70 | IsFinite D.kernel.X.hom ∧ Flat D.kernel.X.hom ∧ LocallyOfFinitePresentation D.kernel.X.hom := by |
| 71 | have h := OrdinaryBlocks.Construction.multiplicativeOrdinaryBlock_finiteLocallyFree k p 1 D.multiplicativeHeight |
| 72 | have : IsFinite D.chosenKernel.X.hom := h.1 |
| 73 | have : Flat D.chosenKernel.X.hom := h.2.1 |
| 74 | have : LocallyOfFinitePresentation D.chosenKernel.X.hom := h.2.2 |
| 75 | exact D.coordinates.pairedKernel_finiteLocallyFree D.chosenKernelCoordinates D.chosenInclusion |
| 76 | |
| 77 | variable [CharP k p] [PerfectRing k p] |
| 78 | |
| 79 | theorem kernel_trivialFrobenius : |
| 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)) D.kernel.X = 1 := |
| 82 | OrdinaryOpposite.Construction.ordinaryPairedKernel_trivialFrobenius p k D.splitting D.coordinates |
| 83 | D.chosenKernelCoordinates D.etaleCoordinates |
| 84 | |
| 85 | omit [PerfectRing k p] in |
| 86 | theorem factor_of_trivialFrobenius (T : Grp (Over (Spec (.of k)))) |
| 87 | (f : T ⟶ D.chosen ⊗ D.opposite) |
| 88 | (hT : Picard.Homomorphisms.Frobenius.Construction.relativeFrobenius p (Fact.out : p.Prime) |
| 89 | (Picard.Homomorphisms.Affine.Construction.prime_eq_zero_spec p k (CharP.cast_eq_zero k p)) T.X = 1) : |
| 90 | ∃ a : T.X ⟶ D.kernel.X, a ≫ D.inclusion.hom.hom = f.hom.hom := by |
| 91 | have : Etale (OrdinaryBlocks.Construction.etaleOrdinaryBlock k p 1 D.etaleHeight).X.hom := EtaleSubgroups.Construction.etaleGroupScheme_etale _ _ |
| 92 | have : Etale D.chosenKernelCoordinates.dualGroup.X.hom := |
| 93 | MultiplicativeDual.Construction.diagonalizableCartierDual_etale k (OrdinaryBlocks.Construction.OrdinaryBlockLabels p 1 D.multiplicativeHeight) |
| 94 | exact OrdinaryFactorization.Construction.pairedFactor_of_trivialFrobenius p (Fact.out : p.Prime) |
| 95 | (Picard.Homomorphisms.Affine.Construction.prime_eq_zero_spec p k (CharP.cast_eq_zero k p)) D.splitting |
| 96 | D.coordinates D.chosenKernelCoordinates D.pairing f hT |
| 97 | |
| 98 | end NativeOrdinaryPairedBlock |
| 99 | |
| 100 | variable (p : ℕ) [Fact p.Prime] (k : Type u) [Field k] [IsAlgClosed k] [CharP k p] |
| 101 | variable {g : ℕ} (A : AbelianModuli.HilbertConstruction.Abelian.Schemes.AbelianScheme g (Spec (.of k))) |
| 102 | variable (n : ℕ) (D : Fin n → NativeOrdinaryPairedBlock p k) |
| 103 | variable (split : Assembly.Construction.torsionGroup A p ≅ BlockProducts.Construction.groupBlockProduct n (fun v => (D v).chosen ⊗ (D v).opposite)) |
| 104 | |
| 105 | /-- The actual full chosen/opposite prescription, embedded through A[p]. -/ |
| 106 | def fullOrdinaryPairedKernelToAbelian : (BlockProducts.Construction.groupBlockProduct n (fun v => (D v).kernel)).X ⟶ A.scheme := |
| 107 | Assembly.Construction.fullKernelToAbelian A p n (fun v => (D v).kernel) (fun v => (D v).chosen ⊗ (D v).opposite) |
| 108 | (fun v => (D v).inclusion) split |
| 109 | |
| 110 | omit [IsAlgClosed k] [CharP k p] in |
| 111 | theorem fullOrdinaryPairedKernelToAbelian_eq_paired : |
| 112 | fullOrdinaryPairedKernelToAbelian p k A n D split = |
| 113 | PairedKernels.Construction.fullPairedKernelToAbelian A p n (fun v => (D v).chosen) (fun v => (D v).chosenKernel) |
| 114 | (fun v => (D v).opposite) (fun v => (D v).coordinates) |
| 115 | (fun v => (D v).chosenKernelCoordinates) (fun v => (D v).chosenInclusion) |
| 116 | (fun v => (D v).pairing) split := rfl |
| 117 | |
| 118 | instance fullOrdinaryPairedKernelToAbelian_isMonHom : |
| 119 | IsMonHom (fullOrdinaryPairedKernelToAbelian p k A n D split) := by |
| 120 | unfold fullOrdinaryPairedKernelToAbelian |
| 121 | infer_instance |
| 122 | |
| 123 | instance fullOrdinaryPairedKernelToAbelian_closed : |
| 124 | IsClosedImmersion (fullOrdinaryPairedKernelToAbelian p k A n D split).left := |
| 125 | Assembly.Construction.fullKernelToAbelian_closed A p n _ _ _ (fun v => (D v).inclusion_closed) split |
| 126 | |
| 127 | instance fullOrdinaryPairedKernelToAbelian_mono : |
| 128 | Mono (fullOrdinaryPairedKernelToAbelian p k A n D split) := |
| 129 | Over.mono_of_mono_left _ |
| 130 | |
| 131 | /-- Exact all-test kernel equality for the full native ordinary prescription. -/ |
| 132 | theorem fullOrdinaryPaired_frobeniusKernel : |
| 133 | Prescribed.Construction.PrescribedKernel (Torsion.Construction.geometricFrobeniusIsogeny p k A).hom |
| 134 | (fullOrdinaryPairedKernelToAbelian p k A n D split) := |
| 135 | Block.Construction.fullBlockKernel_is_frobeniusKernel p k A n _ _ _ split |
| 136 | (fun v => (D v).kernel_trivialFrobenius) (fun v => (D v).inclusion_closed) |
| 137 | (fun v => (D v).factor_of_trivialFrobenius) |
| 138 | |
| 139 | theorem fullOrdinaryPaired_frobeniusKernel_subobject : |
| 140 | Subobject.mk (fullOrdinaryPairedKernelToAbelian p k A n D split) = |
| 141 | Subobject.mk (Picard.Homomorphisms.Kernel.Construction.kernelInclusion (Torsion.Construction.geometricFrobeniusIsogeny p k A).hom) := |
| 142 | Subobject.mk_eq_mk_of_comm _ _ |
| 143 | (Prescribed.Construction.prescribedKernelIso (Torsion.Construction.geometricFrobeniusIsogeny p k A).hom _ |
| 144 | (fullOrdinaryPaired_frobeniusKernel p k A n D split)) |
| 145 | (Prescribed.Construction.prescribedKernelIso_inclusion (Torsion.Construction.geometricFrobeniusIsogeny p k A).hom _ |
| 146 | (fullOrdinaryPaired_frobeniusKernel p k A n D split)) |
| 147 | |
| 148 | def fullOrdinaryPairedFrobeniusQuotientIso : |
| 149 | BaseChange.Construction.subgroupQuotient (fullOrdinaryPairedKernelToAbelian p k A n D split) ≅ |
| 150 | (BaseChange.Construction.fppfPoints (Spec (.of k))).obj |
| 151 | (A.pullback (Picard.Homomorphisms.Frobenius.Construction.absoluteFrobenius p (Fact.out : p.Prime) _ |
| 152 | (Picard.Homomorphisms.Affine.Construction.prime_eq_zero_spec p k (CharP.cast_eq_zero k p)))).scheme := |
| 153 | Prescribed.Construction.prescribedFrobeniusQuotientIsoOfHomomorphisms (Torsion.Construction.geometricFrobeniusIsogeny p k A).hom _ |
| 154 | (fullOrdinaryPaired_frobeniusKernel p k A n D split) |
| 155 | (SplitOrdinary.Construction.geometricFrobenius_isFppfQuotient p k A) |
| 156 | |
| 157 | theorem fullOrdinaryPairedFrobeniusQuotientIso_projection : |
| 158 | Prescribed.Construction.subgroupQuotientProjection (fullOrdinaryPairedKernelToAbelian p k A n D split) ≫ |
| 159 | (fullOrdinaryPairedFrobeniusQuotientIso p k A n D split).hom = |
| 160 | (BaseChange.Construction.fppfPoints (Spec (.of k))).map (Torsion.Construction.geometricFrobeniusIsogeny p k A).hom := |
| 161 | Prescribed.Construction.prescribedFrobeniusQuotientIsoOfHomomorphisms_projection (Torsion.Construction.geometricFrobeniusIsogeny p k A).hom _ |
| 162 | (fullOrdinaryPaired_frobeniusKernel p k A n D split) |
| 163 | (SplitOrdinary.Construction.geometricFrobenius_isFppfQuotient p k A) |
| 164 | |
| 165 | end |
| 166 | |
| 167 | end OAI.AlgebraicGeometry.AbelianScheme.FrobeniusKernel.OrdinaryFrobenius.Construction |