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.PELModuli.CMPoints.BlocksProjectors |
| 2 | import OAI.AlgebraicGeometry.AbelianScheme.IsogenyQuotient.OppositeKernel |
| 3 | |
| 4 | /-! # Points Projector Sum -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianScheme.IsogenyQuotient.CM.PointsProjectorSum.Construction |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | section |
| 11 | |
| 12 | /-! |
| 13 | Adapt CMPoints's actual split residue coordinates and integral projector lifts |
| 14 | to the native IsogenyQuotient torsion blocks. Orthogonality and scalar restriction |
| 15 | are consequences of those coordinates, not extra quotient hypotheses. |
| 16 | -/ |
| 17 | |
| 18 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 19 | open scoped _root_.CategoryTheory.MonObj |
| 20 | |
| 21 | variable {E K : Type} [Field E] [NumberField E] [Algebra ℚ E] |
| 22 | [Field K] [NumberField K] {κ : K →+* ℂ} {q : ℕ} [Fact q.Prime] |
| 23 | (j : PELModuli.CMPoints.Arithmetic.QadicChoice K κ q) (iota : E →+* K) (hsplit : j.HasSplitCoordinates iota) |
| 24 | {S : Scheme} {d : ℕ} (A : AbelianModuli.HilbertConstruction.Abelian.Schemes.AbelianScheme d S) |
| 25 | (σ : AbelianModuli.ReferenceFamily.ActionData.IntegralAction (NumberField.RingOfIntegers E) A) |
| 26 | |
| 27 | theorem l45_native_projectors_orthogonal (n : ℕ) (τ υ : Gal(E/ℚ)) (hne : τ ≠ υ) : |
| 28 | Torsion.Groups.Construction.nativeTorsionMap (q ^ n) (σ.map (j.projector iota hsplit n τ)) ≫ |
| 29 | Torsion.Groups.Construction.nativeTorsionMap (q ^ n) (σ.map (j.projector iota hsplit n υ)) = 1 := by |
| 30 | classical |
| 31 | let eτ := j.projector iota hsplit n τ |
| 32 | let eυ := j.projector iota hsplit n υ |
| 33 | have hc : eυ * eτ - 0 ∈ Ideal.span ({(q ^ n : NumberField.RingOfIntegers E)} : |
| 34 | Set (NumberField.RingOfIntegers E)) := by |
| 35 | rw [← (hsplit n).2] |
| 36 | change j.residueCoordinates iota n (eυ * eτ - 0) = 0 |
| 37 | rw [map_sub, map_mul, map_zero, sub_zero, |
| 38 | j.projector_coordinates iota hsplit n υ, j.projector_coordinates iota hsplit n τ] |
| 39 | ext ω |
| 40 | by_cases hω : ω = υ |
| 41 | · subst ω |
| 42 | simp [hne] |
| 43 | · simp [hω] |
| 44 | have hh := PELModuli.CMPoints.BlocksProjectors.action_eq_of_congruence A σ (eυ * eτ) 0 (q ^ n) |
| 45 | (by simpa only [Nat.cast_pow] using hc) (Torsion.Groups.Construction.nativeTorsionScheme A.scheme (q ^ n)) |
| 46 | (Torsion.Groups.Construction.nativeTorsionInclusion A.scheme (q ^ n)) (Torsion.Groups.Construction.nativeTorsionInclusion_killed A.scheme (q ^ n)) |
| 47 | rw [σ.map_mul, σ.map_zero, MonObj.comp_one] at hh |
| 48 | apply (cancel_mono (Torsion.Groups.Construction.nativeTorsionInclusion A.scheme (q ^ n))).mp |
| 49 | rw [Category.assoc, Torsion.Groups.Construction.nativeTorsionMap_inclusion, ← Category.assoc, |
| 50 | Torsion.Groups.Construction.nativeTorsionMap_inclusion, Category.assoc, MonObj.one_comp] |
| 51 | exact hh |
| 52 | |
| 53 | theorem l45_native_projector_scalar (n : ℕ) (τ : Gal(E/ℚ)) (a : NumberField.RingOfIntegers E) : |
| 54 | OppositeKernel.Construction.torsionBlockInclusion (q ^ n) (σ.map (j.projector iota hsplit n τ)) ≫ σ.map a = |
| 55 | (OppositeKernel.Construction.torsionBlockInclusion (q ^ n) (σ.map (j.projector iota hsplit n τ))) ^ |
| 56 | ((j.residueCharacter iota τ n a).val : ℤ) := by |
| 57 | have hx := (PELModuli.CMPoints.BlocksProjectors.mem_block_iff_fixed j iota hsplit A σ n τ _ |
| 58 | (OppositeKernel.Construction.torsionBlockInclusion (q ^ n) (σ.map (j.projector iota hsplit n τ)))).mpr |
| 59 | ⟨OppositeKernel.Construction.torsionBlockInclusion_killed _ _, OppositeKernel.Construction.torsionBlockInclusion_supported _ _⟩ |
| 60 | simpa only [zpow_natCast, PELModuli.CMPoints.Arithmetic.QadicChoice.residueCharacter, RingHom.comp_apply] using hx.2 a |
| 61 | |
| 62 | def l45NativeBlockPointsEquiv (n : ℕ) (τ : Gal(E/ℚ)) (T : Over S) : |
| 63 | (T ⟶ OppositeKernel.Construction.torsionBlock (q ^ n) (σ.map (j.projector iota hsplit n τ))) ≃* |
| 64 | PELModuli.CMPoints.BlocksProjectors.blockPoints A σ (j.localCharacter iota τ) n T where |
| 65 | toFun f := ⟨f ≫ OppositeKernel.Construction.torsionBlockInclusion (q ^ n) (σ.map (j.projector iota hsplit n τ)), by |
| 66 | apply (PELModuli.CMPoints.BlocksProjectors.mem_block_iff_fixed j iota hsplit A σ n τ T _).mpr |
| 67 | constructor |
| 68 | · rw [← MonObj.comp_pow, OppositeKernel.Construction.torsionBlockInclusion_killed, MonObj.comp_one] |
| 69 | · rw [Category.assoc, OppositeKernel.Construction.torsionBlockInclusion_supported]⟩ |
| 70 | invFun x := OppositeKernel.Construction.torsionBlockLift (q ^ n) (σ.map (j.projector iota hsplit n τ)) x.val |
| 71 | ((PELModuli.CMPoints.BlocksProjectors.mem_block_iff_fixed j iota hsplit A σ n τ T x.val).mp x.property).1 |
| 72 | ((PELModuli.CMPoints.BlocksProjectors.mem_block_iff_fixed j iota hsplit A σ n τ T x.val).mp x.property).2 |
| 73 | left_inv f := by |
| 74 | apply (cancel_mono (OppositeKernel.Construction.torsionBlockInclusion (q ^ n) (σ.map (j.projector iota hsplit n τ)))).mp |
| 75 | exact OppositeKernel.Construction.torsionBlockLift_inclusion _ _ _ _ _ |
| 76 | right_inv x := Subtype.ext (OppositeKernel.Construction.torsionBlockLift_inclusion _ _ _ _ _) |
| 77 | map_mul' f g := Subtype.ext (MonObj.mul_comp f g _) |
| 78 | |
| 79 | def l45NativeBlockRepresentable (n : ℕ) (τ : Gal(E/ℚ)) : |
| 80 | (PELModuli.CMPoints.BlocksProjectors.blockFunctor A σ (j.localCharacter iota τ) n ⋙ forget GrpCat).RepresentableBy |
| 81 | (OppositeKernel.Construction.torsionBlock (q ^ n) (σ.map (j.projector iota hsplit n τ))) where |
| 82 | homEquiv := (l45NativeBlockPointsEquiv j iota hsplit A σ n τ _).toEquiv |
| 83 | homEquiv_comp f a := Subtype.ext (Category.assoc f a _) |
| 84 | |
| 85 | /-- The native IsogenyQuotient block and CMPoints's equalizer represent the same actual |
| 86 | character subfunctor on every test scheme. -/ |
| 87 | def l45NativeBlockIso (n : ℕ) (τ : Gal(E/ℚ)) : |
| 88 | OppositeKernel.Construction.torsionBlock (q ^ n) (σ.map (j.projector iota hsplit n τ)) ≅ |
| 89 | PELModuli.CMPoints.BlocksProjectors.idempotentBlockScheme A σ (q ^ n) (j.projector iota hsplit n τ) := |
| 90 | (l45NativeBlockRepresentable j iota hsplit A σ n τ).uniqueUpToIso |
| 91 | (PELModuli.CMPoints.BlocksProjectors.splitBlockRepresentable j iota hsplit A σ n τ) |
| 92 | |
| 93 | end |
| 94 | |
| 95 | /-! |
| 96 | The lifted residue idempotents form a complete decomposition on the |
| 97 | actual torsion scheme. Their sum is proved to be the identity from the |
| 98 | split residue coordinates, without assuming a torsion-product splitting. |
| 99 | -/ |
| 100 | |
| 101 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 102 | open scoped _root_.CategoryTheory.MonObj BigOperators |
| 103 | |
| 104 | theorem integral_action_sum_on_points {O : Type*} [CommRing O] |
| 105 | {S : Scheme} {d : ℕ} (A : AbelianModuli.HilbertConstruction.Abelian.Schemes.AbelianScheme d S) (σ : AbelianModuli.ReferenceFamily.ActionData.IntegralAction O A) |
| 106 | {I : Type*} (s : Finset I) (a : I → O) (T : Over S) (x : T ⟶ A.scheme) : |
| 107 | x ≫ σ.map (∑ i ∈ s, a i) = ∏ i ∈ s, x ≫ σ.map (a i) := by |
| 108 | classical |
| 109 | induction s using Finset.induction_on with |
| 110 | | empty => simp [σ.map_zero, MonObj.comp_one] |
| 111 | | @insert i s hi ih => |
| 112 | rw [Finset.sum_insert hi, σ.map_add, MonObj.comp_mul, ih, Finset.prod_insert hi] |
| 113 | |
| 114 | variable {E K : Type} [Field E] [NumberField E] [Algebra ℚ E] |
| 115 | [Field K] [NumberField K] {κ : K →+* ℂ} {q : ℕ} [Fact q.Prime] |
| 116 | (j : PELModuli.CMPoints.Arithmetic.QadicChoice K κ q) (iota : E →+* K) (hsplit : j.HasSplitCoordinates iota) |
| 117 | {S : Scheme} {d : ℕ} (A : AbelianModuli.HilbertConstruction.Abelian.Schemes.AbelianScheme d S) |
| 118 | (σ : AbelianModuli.ReferenceFamily.ActionData.IntegralAction (NumberField.RingOfIntegers E) A) |
| 119 | |
| 120 | theorem l45_projectors_sum_on_torsion (n : ℕ) (T : Over S) |
| 121 | (x : T ⟶ A.scheme) (hx : x ^ (q ^ n) = 1) : |
| 122 | (∏ τ : Gal(E/ℚ), x ≫ σ.map (j.projector iota hsplit n τ)) = x := by |
| 123 | classical |
| 124 | have hcoord : j.residueCoordinates iota n (∑ τ : Gal(E/ℚ), j.projector iota hsplit n τ) = 1 := by |
| 125 | rw [map_sum] |
| 126 | ext υ |
| 127 | simp [j.projector_coordinates, Pi.single_apply] |
| 128 | have hc : (∑ τ : Gal(E/ℚ), j.projector iota hsplit n τ) - 1 ∈ |
| 129 | Ideal.span ({(q ^ n : NumberField.RingOfIntegers E)} : Set (NumberField.RingOfIntegers E)) := by |
| 130 | rw [← (hsplit n).2] |
| 131 | change j.residueCoordinates iota n ((∑ τ : Gal(E/ℚ), j.projector iota hsplit n τ) - 1) = 0 |
| 132 | rw [map_sub, hcoord, map_one, sub_self] |
| 133 | have he := PELModuli.CMPoints.BlocksProjectors.action_eq_of_congruence A σ _ 1 (q ^ n) |
| 134 | (by simpa only [Nat.cast_pow] using hc) T x hx |
| 135 | rw [integral_action_sum_on_points, σ.map_one, Category.comp_id] at he |
| 136 | exact he |
| 137 | |
| 138 | /-- Completeness of the native projectors, as an equality of actual |
| 139 | endomorphisms of the entire torsion group scheme. -/ |
| 140 | theorem l45_native_projectors_complete (n : ℕ) : |
| 141 | (∏ τ : Gal(E/ℚ), Torsion.Groups.Construction.nativeTorsionMap (q ^ n) (σ.map (j.projector iota hsplit n τ))) = |
| 142 | 𝟙 (Torsion.Groups.Construction.nativeTorsionScheme A.scheme (q ^ n)) := by |
| 143 | apply (cancel_mono (Torsion.Groups.Construction.nativeTorsionInclusion A.scheme (q ^ n))).mp |
| 144 | rw [Category.id_comp] |
| 145 | calc |
| 146 | (∏ τ : Gal(E/ℚ), Torsion.Groups.Construction.nativeTorsionMap (q ^ n) (σ.map (j.projector iota hsplit n τ))) ≫ |
| 147 | Torsion.Groups.Construction.nativeTorsionInclusion A.scheme (q ^ n) = |
| 148 | ∏ τ : Gal(E/ℚ), Torsion.Groups.Construction.nativeTorsionMap (q ^ n) (σ.map (j.projector iota hsplit n τ)) ≫ |
| 149 | Torsion.Groups.Construction.nativeTorsionInclusion A.scheme (q ^ n) := |
| 150 | map_prod (IsMonHom.monoidHom (Torsion.Groups.Construction.nativeTorsionInclusion A.scheme (q ^ n)) |
| 151 | (Torsion.Groups.Construction.nativeTorsionScheme A.scheme (q ^ n))) _ _ |
| 152 | _ = ∏ τ : Gal(E/ℚ), Torsion.Groups.Construction.nativeTorsionInclusion A.scheme (q ^ n) ≫ |
| 153 | σ.map (j.projector iota hsplit n τ) := |
| 154 | Finset.prod_congr rfl (fun τ _ => Torsion.Groups.Construction.nativeTorsionMap_inclusion (q ^ n) _) |
| 155 | _ = Torsion.Groups.Construction.nativeTorsionInclusion A.scheme (q ^ n) := |
| 156 | l45_projectors_sum_on_torsion j iota hsplit A σ n _ _ (Torsion.Groups.Construction.nativeTorsionInclusion_killed _ _) |
| 157 | |
| 158 | end |
| 159 | |
| 160 | end OAI.AlgebraicGeometry.AbelianScheme.IsogenyQuotient.CM.PointsProjectorSum.Construction |