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.Isogenies.NeighborCounting.CompactKernelRecovery |
| 2 | import OAI.AlgebraicGeometry.Isogenies.NeighborCounting.ProjectorLevels |
| 3 | import OAI.AlgebraicGeometry.AbelianScheme.IsogenyQuotient.CM.PointsIntrinsicFamily |
| 4 | |
| 5 | /-! # All Kernel Components -/ |
| 6 | |
| 7 | namespace OAI |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | namespace AlgebraicGeometry.Isogenies.NeighborCounting.Intrinsic.AllKernelComponents.IntrinsicChosenRecovery |
| 12 | |
| 13 | /-! Recover the one-step active chosen kernel from the complete native |
| 14 | prescription, even when the tested section is specified using a higher |
| 15 | coefficient projector. Both the torsion bound and every separation |
| 16 | equation are derived from the complete kernel and CMPoints coordinates. -/ |
| 17 | |
| 18 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 19 | open scoped _root_.CategoryTheory.MonObj |
| 20 | |
| 21 | open OAI.AlgebraicGeometry.AbelianScheme.IsogenyQuotient.CM.PointsIntrinsicFamily.Construction OAI.AlgebraicGeometry.Isogenies.NeighborCounting.CompactKernelRecovery OAI.AlgebraicGeometry.Isogenies.NeighborCounting.Kernel.Models OAI.AlgebraicGeometry.Isogenies.NeighborCounting.ProjectorLevels |
| 22 | |
| 23 | variable {E K : Type} [Field E] [NumberField E] [Algebra ℚ E] |
| 24 | [Field K] [NumberField K] {κ : K →+* ℂ} {q : ℕ} [Fact q.Prime] |
| 25 | variable (j : PELModuli.CMPoints.Arithmetic.QadicChoice K κ q) (iota : E →+* K) (hsplit : j.HasSplitCoordinates iota) |
| 26 | variable {S : Scheme} {d s : ℕ} (A : AbelianModuli.HilbertConstruction.Abelian.Schemes.AbelianScheme d S) |
| 27 | variable (σ : AbelianModuli.ReferenceFamily.ActionData.IntegralAction (NumberField.RingOfIntegers E) A) |
| 28 | variable (labels : AbelianScheme.IsogenyQuotient.ChoiceKernel.Construction.KernelIndex s ≃ Gal(E/ℚ)) |
| 29 | variable {m n : ℕ} (hmn : m ≤ n) |
| 30 | variable {W P : Over S} [GrpObj W] |
| 31 | variable (pairing : ∀ v, AbelianScheme.IsogenyQuotient.Annihilator.Construction.SchemeBicharacter |
| 32 | (A := AbelianScheme.IsogenyQuotient.OppositeKernel.Construction.torsionBlock (q ^ m) (AbelianScheme.IsogenyQuotient.CM.PointsIntrinsicFamily.Construction.l45ChosenProjectors j iota hsplit A σ m s labels v)) |
| 33 | (B := AbelianScheme.IsogenyQuotient.OppositeKernel.Construction.torsionBlock (q ^ m) (AbelianScheme.IsogenyQuotient.CM.PointsIntrinsicFamily.Construction.l45OppositeProjectors j iota hsplit A σ m s labels v)) (W := W)) |
| 34 | variable (active : Fin s) (multiplicative : Fin s → Bool) |
| 35 | variable (F : AbelianScheme.TorsionQuotient.SubgroupFunctor.RelativeSubgroup A.scheme P) (hF : F.KilledBy (q ^ m)) |
| 36 | variable (hFs : AbelianScheme.IsogenyQuotient.SubgroupFunctor.Construction.SupportedOn F (AbelianScheme.IsogenyQuotient.CM.PointsIntrinsicFamily.Construction.l45ChosenProjectors j iota hsplit A σ m s labels active)) |
| 37 | |
| 38 | include hmn hF hFs in |
| 39 | theorem active_component_at_higher_projector (T : Over S) (t : T ⟶ P) (a : T ⟶ A.scheme) |
| 40 | (ha : a ≫ AbelianScheme.IsogenyQuotient.CM.PointsIntrinsicFamily.Construction.l45ChosenProjectors j iota hsplit A σ n s labels active = a) |
| 41 | (hk : a ∈ (Kernel.Models.multiplierFullKernel (q ^ m) |
| 42 | (AbelianScheme.IsogenyQuotient.CM.PointsIntrinsicFamily.Construction.l45ChosenProjectors j iota hsplit A σ m s labels) |
| 43 | (AbelianScheme.IsogenyQuotient.CM.PointsIntrinsicFamily.Construction.l45OppositeProjectors j iota hsplit A σ m s labels) pairing active multiplicative F).points T t) : |
| 44 | a ∈ F.points T t := by |
| 45 | have hkill := Kernel.Models.multiplierFullKernel_killed (q ^ m) |
| 46 | (AbelianScheme.IsogenyQuotient.CM.PointsIntrinsicFamily.Construction.l45ChosenProjectors j iota hsplit A σ m s labels) |
| 47 | (AbelianScheme.IsogenyQuotient.CM.PointsIntrinsicFamily.Construction.l45OppositeProjectors j iota hsplit A σ m s labels) pairing active multiplicative F hF T t a hk |
| 48 | have hc := PELModuli.CMPoints.BlocksProjectors.action_eq_of_congruence A σ _ _ (q ^ m) |
| 49 | (by simpa only [Nat.cast_pow] using |
| 50 | ProjectorLevels.projector_level_congruence j iota hsplit hmn (labels (Sum.inl active))) T a hkill |
| 51 | have hlow : a ≫ AbelianScheme.IsogenyQuotient.CM.PointsIntrinsicFamily.Construction.l45ChosenProjectors j iota hsplit A σ m s labels active = a := hc.symm.trans ha |
| 52 | have hpp : ∀ v w : Fin s, w ≠ v → |
| 53 | AbelianScheme.IsogenyQuotient.Torsion.Groups.Construction.nativeTorsionMap (q ^ m) (AbelianScheme.IsogenyQuotient.CM.PointsIntrinsicFamily.Construction.l45ChosenProjectors j iota hsplit A σ m s labels w) ≫ |
| 54 | AbelianScheme.IsogenyQuotient.Torsion.Groups.Construction.nativeTorsionMap (q ^ m) (AbelianScheme.IsogenyQuotient.CM.PointsIntrinsicFamily.Construction.l45ChosenProjectors j iota hsplit A σ m s labels v) = 1 := by |
| 55 | intro v w hw |
| 56 | exact AbelianScheme.IsogenyQuotient.CM.PointsProjectorSum.Construction.l45_native_projectors_orthogonal j iota hsplit A σ m |
| 57 | (labels (Sum.inl w)) (labels (Sum.inl v)) (fun he => hw (Sum.inl.inj (labels.injective he))) |
| 58 | have hrp : ∀ v w : Fin s, |
| 59 | AbelianScheme.IsogenyQuotient.Torsion.Groups.Construction.nativeTorsionMap (q ^ m) (AbelianScheme.IsogenyQuotient.CM.PointsIntrinsicFamily.Construction.l45OppositeProjectors j iota hsplit A σ m s labels w) ≫ |
| 60 | AbelianScheme.IsogenyQuotient.Torsion.Groups.Construction.nativeTorsionMap (q ^ m) (AbelianScheme.IsogenyQuotient.CM.PointsIntrinsicFamily.Construction.l45ChosenProjectors j iota hsplit A σ m s labels v) = 1 := by |
| 61 | intro v w |
| 62 | exact AbelianScheme.IsogenyQuotient.CM.PointsProjectorSum.Construction.l45_native_projectors_orthogonal j iota hsplit A σ m |
| 63 | (labels (Sum.inr w)) (labels (Sum.inl v)) (by |
| 64 | intro he |
| 65 | have hc := labels.injective he |
| 66 | cases hc) |
| 67 | have h := (CompactKernelRecovery.multiplierFullKernel_chosen_component (q ^ m) |
| 68 | (AbelianScheme.IsogenyQuotient.CM.PointsIntrinsicFamily.Construction.l45ChosenProjectors j iota hsplit A σ m s labels) |
| 69 | (AbelianScheme.IsogenyQuotient.CM.PointsIntrinsicFamily.Construction.l45OppositeProjectors j iota hsplit A σ m s labels) pairing active multiplicative F |
| 70 | hF hFs hpp hrp active T t a hlow).mp hk |
| 71 | simpa only [Kernel.Base.chosenKernel, ↓reduceIte] using h |
| 72 | |
| 73 | include hmn hF hFs in |
| 74 | theorem active_factor_at_higher_projector {H : Over S} [GrpObj H] (i : H ⟶ A.scheme) [IsMonHom i] |
| 75 | (hFi : F = Kernel.Base.fixedKernelFamily (P := P) i) |
| 76 | (T : Over S) (t : T ⟶ P) (a : T ⟶ A.scheme) |
| 77 | (ha : a ≫ AbelianScheme.IsogenyQuotient.CM.PointsIntrinsicFamily.Construction.l45ChosenProjectors j iota hsplit A σ n s labels active = a) |
| 78 | (hk : a ∈ (Kernel.Models.multiplierFullKernel (q ^ m) |
| 79 | (AbelianScheme.IsogenyQuotient.CM.PointsIntrinsicFamily.Construction.l45ChosenProjectors j iota hsplit A σ m s labels) |
| 80 | (AbelianScheme.IsogenyQuotient.CM.PointsIntrinsicFamily.Construction.l45OppositeProjectors j iota hsplit A σ m s labels) pairing active multiplicative F).points T t) : |
| 81 | ∃ h : T ⟶ H, h ≫ i = a := by |
| 82 | have h := active_component_at_higher_projector j iota hsplit A σ labels hmn pairing active multiplicative |
| 83 | F hF hFs T t a ha hk |
| 84 | rw [hFi] at h |
| 85 | exact h |
| 86 | |
| 87 | end AlgebraicGeometry.Isogenies.NeighborCounting.Intrinsic.AllKernelComponents.IntrinsicChosenRecovery |
| 88 | |
| 89 | namespace AlgebraicGeometry.Isogenies.NeighborCounting.Intrinsic.AllKernelComponents |
| 90 | |
| 91 | /-! Recover any chosen or opposite component of the native complete |
| 92 | kernel, including when the test section is fixed by a higher-level |
| 93 | coefficient projector. Every separation equation is derived. -/ |
| 94 | |
| 95 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 96 | open scoped _root_.CategoryTheory.MonObj |
| 97 | |
| 98 | open OAI.AlgebraicGeometry.AbelianScheme.IsogenyQuotient.CM.PointsIntrinsicFamily.Construction OAI.AlgebraicGeometry.Isogenies.NeighborCounting.CompactKernelRecovery OAI.AlgebraicGeometry.Isogenies.NeighborCounting.Kernel.Models OAI.AlgebraicGeometry.Isogenies.NeighborCounting.ProjectorLevels |
| 99 | |
| 100 | variable {E K : Type} [Field E] [NumberField E] [Algebra ℚ E] |
| 101 | [Field K] [NumberField K] {κ : K →+* ℂ} {q : ℕ} [Fact q.Prime] |
| 102 | variable (j : PELModuli.CMPoints.Arithmetic.QadicChoice K κ q) (iota : E →+* K) (hsplit : j.HasSplitCoordinates iota) |
| 103 | variable {S : Scheme} {d s : ℕ} (A : AbelianModuli.HilbertConstruction.Abelian.Schemes.AbelianScheme d S) |
| 104 | variable (σ : AbelianModuli.ReferenceFamily.ActionData.IntegralAction (NumberField.RingOfIntegers E) A) |
| 105 | variable (labels : AbelianScheme.IsogenyQuotient.ChoiceKernel.Construction.KernelIndex s ≃ Gal(E/ℚ)) |
| 106 | |
| 107 | theorem native_label_separation (m : ℕ) (a b : AbelianScheme.IsogenyQuotient.ChoiceKernel.Construction.KernelIndex s) (hab : a ≠ b) : |
| 108 | AbelianScheme.IsogenyQuotient.Torsion.Groups.Construction.nativeTorsionMap (q ^ m) (σ.map (j.projector iota hsplit m (labels a))) ≫ |
| 109 | AbelianScheme.IsogenyQuotient.Torsion.Groups.Construction.nativeTorsionMap (q ^ m) (σ.map (j.projector iota hsplit m (labels b))) = 1 := |
| 110 | AbelianScheme.IsogenyQuotient.CM.PointsProjectorSum.Construction.l45_native_projectors_orthogonal j iota hsplit A σ m (labels a) (labels b) |
| 111 | (fun h => hab (labels.injective h)) |
| 112 | |
| 113 | variable {m n : ℕ} (hmn : m ≤ n) |
| 114 | variable {W P : Over S} [GrpObj W] |
| 115 | variable (pairing : ∀ v, AbelianScheme.IsogenyQuotient.Annihilator.Construction.SchemeBicharacter |
| 116 | (A := AbelianScheme.IsogenyQuotient.OppositeKernel.Construction.torsionBlock (q ^ m) (AbelianScheme.IsogenyQuotient.CM.PointsIntrinsicFamily.Construction.l45ChosenProjectors j iota hsplit A σ m s labels v)) |
| 117 | (B := AbelianScheme.IsogenyQuotient.OppositeKernel.Construction.torsionBlock (q ^ m) (AbelianScheme.IsogenyQuotient.CM.PointsIntrinsicFamily.Construction.l45OppositeProjectors j iota hsplit A σ m s labels v)) (W := W)) |
| 118 | variable (active : Fin s) (multiplicative : Fin s → Bool) |
| 119 | variable (F : AbelianScheme.TorsionQuotient.SubgroupFunctor.RelativeSubgroup A.scheme P) (hF : F.KilledBy (q ^ m)) |
| 120 | |
| 121 | include hmn hF in |
| 122 | theorem kernel_section_lower_projector (τ : Gal(E/ℚ)) (T : Over S) (t : T ⟶ P) (a : T ⟶ A.scheme) |
| 123 | (ha : a ≫ σ.map (j.projector iota hsplit n τ) = a) |
| 124 | (hk : a ∈ (Kernel.Models.multiplierFullKernel (q ^ m) |
| 125 | (AbelianScheme.IsogenyQuotient.CM.PointsIntrinsicFamily.Construction.l45ChosenProjectors j iota hsplit A σ m s labels) |
| 126 | (AbelianScheme.IsogenyQuotient.CM.PointsIntrinsicFamily.Construction.l45OppositeProjectors j iota hsplit A σ m s labels) pairing active multiplicative F).points T t) : |
| 127 | a ≫ σ.map (j.projector iota hsplit m τ) = a := by |
| 128 | have hkill := Kernel.Models.multiplierFullKernel_killed (q ^ m) |
| 129 | (AbelianScheme.IsogenyQuotient.CM.PointsIntrinsicFamily.Construction.l45ChosenProjectors j iota hsplit A σ m s labels) |
| 130 | (AbelianScheme.IsogenyQuotient.CM.PointsIntrinsicFamily.Construction.l45OppositeProjectors j iota hsplit A σ m s labels) pairing active multiplicative F hF T t a hk |
| 131 | have hc := PELModuli.CMPoints.BlocksProjectors.action_eq_of_congruence A σ _ _ (q ^ m) |
| 132 | (by simpa only [Nat.cast_pow] using ProjectorLevels.projector_level_congruence j iota hsplit hmn τ) T a hkill |
| 133 | exact hc.symm.trans ha |
| 134 | |
| 135 | variable (hFs : AbelianScheme.IsogenyQuotient.SubgroupFunctor.Construction.SupportedOn F (AbelianScheme.IsogenyQuotient.CM.PointsIntrinsicFamily.Construction.l45ChosenProjectors j iota hsplit A σ m s labels active)) |
| 136 | |
| 137 | include hmn hF hFs in |
| 138 | theorem chosen_component_higher (v : Fin s) (T : Over S) (t : T ⟶ P) (a : T ⟶ A.scheme) |
| 139 | (ha : a ≫ AbelianScheme.IsogenyQuotient.CM.PointsIntrinsicFamily.Construction.l45ChosenProjectors j iota hsplit A σ n s labels v = a) |
| 140 | (hk : a ∈ (Kernel.Models.multiplierFullKernel (q ^ m) |
| 141 | (AbelianScheme.IsogenyQuotient.CM.PointsIntrinsicFamily.Construction.l45ChosenProjectors j iota hsplit A σ m s labels) |
| 142 | (AbelianScheme.IsogenyQuotient.CM.PointsIntrinsicFamily.Construction.l45OppositeProjectors j iota hsplit A σ m s labels) pairing active multiplicative F).points T t) : |
| 143 | a ∈ (Kernel.Base.chosenKernel |
| 144 | (fun w => AbelianScheme.IsogenyQuotient.OppositeKernel.Construction.torsionBlock (q ^ m) (AbelianScheme.IsogenyQuotient.CM.PointsIntrinsicFamily.Construction.l45ChosenProjectors j iota hsplit A σ m s labels w)) |
| 145 | (fun w => AbelianScheme.IsogenyQuotient.OppositeKernel.Construction.torsionBlockInclusion (q ^ m) (AbelianScheme.IsogenyQuotient.CM.PointsIntrinsicFamily.Construction.l45ChosenProjectors j iota hsplit A σ m s labels w)) |
| 146 | active multiplicative F v).points T t := by |
| 147 | have hl := kernel_section_lower_projector j iota hsplit A σ labels hmn pairing active multiplicative F hF |
| 148 | (labels (.inl v)) T t a ha hk |
| 149 | apply (CompactKernelRecovery.multiplierFullKernel_chosen_component (q ^ m) |
| 150 | (AbelianScheme.IsogenyQuotient.CM.PointsIntrinsicFamily.Construction.l45ChosenProjectors j iota hsplit A σ m s labels) |
| 151 | (AbelianScheme.IsogenyQuotient.CM.PointsIntrinsicFamily.Construction.l45OppositeProjectors j iota hsplit A σ m s labels) pairing active multiplicative F hF hFs |
| 152 | (fun v w hw => native_label_separation j iota hsplit A σ labels m (.inl w) (.inl v) |
| 153 | (fun h => hw (Sum.inl.inj h))) |
| 154 | (fun v w => native_label_separation j iota hsplit A σ labels m (.inr w) (.inl v) |
| 155 | (by intro h; cases h)) v T t a hl).mp hk |
| 156 | |
| 157 | include hmn hF hFs in |
| 158 | theorem opposite_component_higher (v : Fin s) (T : Over S) (t : T ⟶ P) (a : T ⟶ A.scheme) |
| 159 | (ha : a ≫ AbelianScheme.IsogenyQuotient.CM.PointsIntrinsicFamily.Construction.l45OppositeProjectors j iota hsplit A σ n s labels v = a) |
| 160 | (hk : a ∈ (Kernel.Models.multiplierFullKernel (q ^ m) |
| 161 | (AbelianScheme.IsogenyQuotient.CM.PointsIntrinsicFamily.Construction.l45ChosenProjectors j iota hsplit A σ m s labels) |
| 162 | (AbelianScheme.IsogenyQuotient.CM.PointsIntrinsicFamily.Construction.l45OppositeProjectors j iota hsplit A σ m s labels) pairing active multiplicative F).points T t) : |
| 163 | a ∈ (AbelianScheme.IsogenyQuotient.OppositeKernel.Construction.oppositeKernel (q ^ m) |
| 164 | (AbelianScheme.IsogenyQuotient.CM.PointsIntrinsicFamily.Construction.l45ChosenProjectors j iota hsplit A σ m s labels v) |
| 165 | (AbelianScheme.IsogenyQuotient.CM.PointsIntrinsicFamily.Construction.l45OppositeProjectors j iota hsplit A σ m s labels v) (pairing v) |
| 166 | (Kernel.Base.chosenKernel |
| 167 | (fun w => AbelianScheme.IsogenyQuotient.OppositeKernel.Construction.torsionBlock (q ^ m) (AbelianScheme.IsogenyQuotient.CM.PointsIntrinsicFamily.Construction.l45ChosenProjectors j iota hsplit A σ m s labels w)) |
| 168 | (fun w => AbelianScheme.IsogenyQuotient.OppositeKernel.Construction.torsionBlockInclusion (q ^ m) (AbelianScheme.IsogenyQuotient.CM.PointsIntrinsicFamily.Construction.l45ChosenProjectors j iota hsplit A σ m s labels w)) |
| 169 | active multiplicative F v)).points T t := by |
| 170 | have hl := kernel_section_lower_projector j iota hsplit A σ labels hmn pairing active multiplicative F hF |
| 171 | (labels (.inr v)) T t a ha hk |
| 172 | apply (CompactKernelRecovery.multiplierFullKernel_opposite_component (q ^ m) |
| 173 | (AbelianScheme.IsogenyQuotient.CM.PointsIntrinsicFamily.Construction.l45ChosenProjectors j iota hsplit A σ m s labels) |
| 174 | (AbelianScheme.IsogenyQuotient.CM.PointsIntrinsicFamily.Construction.l45OppositeProjectors j iota hsplit A σ m s labels) pairing active multiplicative F hF hFs |
| 175 | (fun v w => native_label_separation j iota hsplit A σ labels m (.inl w) (.inr v) |
| 176 | (by intro h; cases h)) |
| 177 | (fun v w hw => native_label_separation j iota hsplit A σ labels m (.inr w) (.inr v) |
| 178 | (fun h => hw (Sum.inr.inj h))) v T t a hl).mp hk |
| 179 | |
| 180 | end AlgebraicGeometry.Isogenies.NeighborCounting.Intrinsic.AllKernelComponents |
| 181 | |
| 182 | end |
| 183 | |
| 184 | end OAI |