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.TateComparison.Interface |
| 2 | |
| 3 | /-! # Tate Comparison -/ |
| 4 | |
| 5 | namespace OAI.RepresentationTheory.Theta.Geometric.TateComparison |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Exact, explicit prerequisite from TateComparison. Its entire conclusion is retained; |
| 10 | no active-block, period, or theta covariance assertion is added to it. This |
| 11 | module imports the implemented interface, never the admitted statement. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 14 | open scoped _root_.CategoryTheory.MonObj _root_.CategoryTheory.Obj |
| 15 | |
| 16 | def TateComparisonOutput |
| 17 | {E K : Type} [Field E] [NumberField E] [NumberField.IsCMField E] |
| 18 | [Field K] [NumberField K] {s q : ℕ} [Fact q.Prime] |
| 19 | (D : AlgebraicGeometry.AbelianScheme.TateComparison.Data.SphericalPELAlbaneseData E K s q) |
| 20 | (hgeometry : D.HasIntegralModelGeometry) |
| 21 | (hgood : D.IsGoodCompletelySplitPrime) |
| 22 | (hcorrespondences : D.RealizesIsogenyQuotient) : Prop := |
| 23 | -- All geometric flags have ordinary chosen-block lattice realizations; |
| 24 | -- opposite lattices, composite polarizations, and markings agree. |
| 25 | D.HasPolarizedFlagRealizations hcorrespondences ∧ |
| 26 | |
| 27 | ∃ (basis : AlgebraicGeometry.AbelianScheme.TateComparison.Local.LocalType s → AlgebraicGeometry.AbelianScheme.TateComparison.HeckeKernel.Hecke s q) |
| 28 | (coeff : AlgebraicGeometry.AbelianScheme.TateComparison.Local.IntegralType s → AlgebraicGeometry.AbelianScheme.TateComparison.Local.IntegralType s → AlgebraicGeometry.AbelianScheme.TateComparison.Local.IntegralType s →₀ ℕ) |
| 29 | (markingShift : D.space ≅ D.space), |
| 30 | |
| 31 | -- The basis and its coefficients have their actual raw convolution meaning. |
| 32 | (∀ t, AlgebraicGeometry.AbelianScheme.TateComparison.HeckeKernel.IsRawDoubleCoset (AlgebraicGeometry.AbelianScheme.TateComparison.HeckeKernel.integralLevel s q) (AlgebraicGeometry.AbelianScheme.TateComparison.HeckeKernel.representative s q t) (basis t)) ∧ |
| 33 | (∀ u v : AlgebraicGeometry.AbelianScheme.TateComparison.Local.IntegralType s, |
| 34 | basis u.val * basis v.val = |
| 35 | (coeff u v).sum (fun w n => n • basis w.val)) ∧ |
| 36 | (∀ (u v : AlgebraicGeometry.AbelianScheme.TateComparison.Local.IntegralType s) (k : Type) [Field k] [IsAlgClosed k] |
| 37 | (b : Spec (.of k) ⟶ Spec (.of K)) (x : D.GeometricPoint b), |
| 38 | (D.neighbors u b x).bind (D.neighbors v b) = |
| 39 | (coeff u v).sum (fun w n => n • D.neighbors w b x)) ∧ |
| 40 | |
| 41 | -- The central isogeny is [q] with the transported prime-to-q marking. |
| 42 | D.CentralIsMultiplicationByQ hcorrespondences hgood.2.2.1 ∧ |
| 43 | D.IsCentralGraph markingShift ∧ |
| 44 | (∀ (k : Type) [Field k] [IsAlgClosed k] |
| 45 | (b : Spec (.of k) ⟶ Spec (.of K)) (x : D.GeometricPoint b), |
| 46 | D.neighbors (AlgebraicGeometry.AbelianScheme.TateComparison.Local.IntegralType.central s) b x = {x ≫ markingShift.hom}) ∧ |
| 47 | |
| 48 | -- Central shifts clear arbitrary chosen and opposite exponents. |
| 49 | (∀ t : AlgebraicGeometry.AbelianScheme.TateComparison.Local.LocalType s, ∃ (n : ℕ) (u : AlgebraicGeometry.AbelianScheme.TateComparison.Local.IntegralType s), |
| 50 | basis (AlgebraicGeometry.AbelianScheme.TateComparison.Local.LocalType.central s) ^ n * basis t = basis u.val) ∧ |
| 51 | |
| 52 | ∃ (TAlb : AlgebraicGeometry.AbelianScheme.TateComparison.Local.IntegralType s → D.EndK) |
| 53 | (ρ : AlgebraicGeometry.AbelianScheme.TateComparison.HeckeKernel.Hecke s q →ₐ[ℚ] D.EndQ) |
| 54 | (ρH1 : AlgebraicGeometry.AbelianScheme.TateComparison.HeckeKernel.Hecke s q →ₐ[ℚ] Module.End ℚ D.H1), |
| 55 | |
| 56 | (∀ t : AlgebraicGeometry.AbelianScheme.TateComparison.Local.IntegralType s, D.toRational (TAlb t) = ρ (basis t.val)) ∧ |
| 57 | |
| 58 | -- Actual homomorphisms over K act by point push on component differences. |
| 59 | (∀ (t : AlgebraicGeometry.AbelianScheme.TateComparison.Local.IntegralType s) (k : Type) [Field k] [IsAlgClosed k] |
| 60 | (b : Spec (.of k) ⟶ Spec (.of K)) (j : Fin D.componentCount) |
| 61 | (x y : Over.mk b ⟶ D.componentGeneric j), |
| 62 | D.endPoint (TAlb t) (D.aPoint hgeometry j x - D.aPoint hgeometry j y) = |
| 63 | ((D.neighbors t b (x ≫ D.componentInclusion j)).map |
| 64 | (D.aTotalPoint hgeometry)).sum - |
| 65 | ((D.neighbors t b (y ≫ D.componentInclusion j)).map |
| 66 | (D.aTotalPoint hgeometry)).sum) ∧ |
| 67 | |
| 68 | (∀ u v : AlgebraicGeometry.AbelianScheme.TateComparison.Local.IntegralType s, |
| 69 | TAlb u * TAlb v = (coeff u v).sum (fun w n => n • TAlb w)) ∧ |
| 70 | IsUnit (ρ (basis (AlgebraicGeometry.AbelianScheme.TateComparison.Local.LocalType.central s))) ∧ |
| 71 | |
| 72 | -- Pullback on actual rational Betti H1, including rational endomorphisms. |
| 73 | (∀ h : AlgebraicGeometry.AbelianScheme.TateComparison.HeckeKernel.Hecke s q, D.IsRationalH1Pullback (ρ h) (ρH1 h)) ∧ |
| 74 | |
| 75 | -- Pullback on one-forms equals the actual sum over target branches. |
| 76 | (∀ (t : AlgebraicGeometry.AbelianScheme.TateComparison.Local.IntegralType s) (ω : D.OneFormsA), |
| 77 | AlgebraicGeometry.AbelianScheme.TateComparison.Branches.IsBranchTrace (D.complexCorrespondence t) |
| 78 | (D.albanesePullback hgeometry ω) |
| 79 | (D.albanesePullback hgeometry (D.pullbackForms (TAlb t) ω))) |
| 80 | |
| 81 | def TateComparisonInput : Prop := |
| 82 | ∀ {E K : Type} |
| 83 | [Field E] [NumberField E] [NumberField.IsCMField E] [IsGalois ℚ E] |
| 84 | [Field K] [NumberField K] |
| 85 | (s : ℕ) (_hs : 0 < s) (_hdegree : Module.finrank ℚ E = 2 * s) |
| 86 | (q : ℕ) [Fact q.Prime] |
| 87 | (D : AlgebraicGeometry.AbelianScheme.TateComparison.Data.SphericalPELAlbaneseData E K s q) |
| 88 | (hgeometry : D.HasIntegralModelGeometry) |
| 89 | (hgood : D.IsGoodCompletelySplitPrime) |
| 90 | (hcorrespondences : D.RealizesIsogenyQuotient) |
| 91 | (_hE07 : AlgebraicGeometry.PELModuli.IntegralModel.Albanese.ConstructionInput) (_hE46 : AlgebraicGeometry.AbelianScheme.TateComparison.Duality.ElementaryDivisorsInput ℤ_[q] ℚ_[q]), |
| 92 | TateComparisonOutput D hgeometry hgood hcorrespondences |
| 93 | |
| 94 | variable {E K : Type} [Field E] [NumberField E] [NumberField.IsCMField E] |
| 95 | [Field K] [NumberField K] {s q : ℕ} [Fact q.Prime] |
| 96 | (D : AlgebraicGeometry.AbelianScheme.TateComparison.Data.SphericalPELAlbaneseData E K s q) |
| 97 | |
| 98 | /-- Candidate operators of the supplied TateComparison theorem. This record contains |
| 99 | no realization proofs and no active-block or theta assertions. -/ |
| 100 | structure Action where |
| 101 | basis : AlgebraicGeometry.AbelianScheme.TateComparison.Local.LocalType s → AlgebraicGeometry.AbelianScheme.TateComparison.HeckeKernel.Hecke s q |
| 102 | shift : D.space ≅ D.space |
| 103 | integral : AlgebraicGeometry.AbelianScheme.TateComparison.Local.IntegralType s → D.EndK |
| 104 | algebraAction : AlgebraicGeometry.AbelianScheme.TateComparison.HeckeKernel.Hecke s q →ₐ[ℚ] D.EndQ |
| 105 | cohomologyAction : AlgebraicGeometry.AbelianScheme.TateComparison.HeckeKernel.Hecke s q →ₐ[ℚ] Module.End ℚ D.H1 |
| 106 | |
| 107 | variable (A : Action D) (hg : D.HasIntegralModelGeometry) |
| 108 | (hq : D.IsGoodCompletelySplitPrime) (hIsogenyQuotient : D.RealizesIsogenyQuotient) |
| 109 | |
| 110 | /-- Only TateComparison's already supplied conclusions, projected from its complete |
| 111 | output. In particular, branch formulas here are on actual affine splittings. -/ |
| 112 | structure Action.IsRealization : Prop where |
| 113 | flags : D.HasPolarizedFlagRealizations hIsogenyQuotient |
| 114 | basis : ∀ t, AlgebraicGeometry.AbelianScheme.TateComparison.HeckeKernel.IsRawDoubleCoset (AlgebraicGeometry.AbelianScheme.TateComparison.HeckeKernel.integralLevel s q) (AlgebraicGeometry.AbelianScheme.TateComparison.HeckeKernel.representative s q t) (A.basis t) |
| 115 | central : D.CentralIsMultiplicationByQ hIsogenyQuotient hq.2.2.1 |
| 116 | graph : D.IsCentralGraph A.shift |
| 117 | integral : ∀ t, D.toRational (A.integral t) = A.algebraAction (A.basis t.val) |
| 118 | centralUnit : IsUnit (A.algebraAction (A.basis (AlgebraicGeometry.AbelianScheme.TateComparison.Local.LocalType.central s))) |
| 119 | pointPush : ∀ (t : AlgebraicGeometry.AbelianScheme.TateComparison.Local.IntegralType s) (k : Type) [Field k] [IsAlgClosed k] |
| 120 | (b : Spec (.of k) ⟶ Spec (.of K)) (j : Fin D.componentCount) |
| 121 | (x y : Over.mk b ⟶ D.componentGeneric j), |
| 122 | D.endPoint (A.integral t) (D.aPoint hg j x - D.aPoint hg j y) = |
| 123 | ((D.neighbors t b (x ≫ D.componentInclusion j)).map (D.aTotalPoint hg)).sum - |
| 124 | ((D.neighbors t b (y ≫ D.componentInclusion j)).map (D.aTotalPoint hg)).sum |
| 125 | cohomology : ∀ h, D.IsRationalH1Pullback (A.algebraAction h) (A.cohomologyAction h) |
| 126 | forms : ∀ t ω, AlgebraicGeometry.AbelianScheme.TateComparison.Branches.IsBranchTrace (D.complexCorrespondence t) |
| 127 | (D.albanesePullback hg ω) (D.albanesePullback hg (D.pullbackForms (A.integral t) ω)) |
| 128 | |
| 129 | theorem TateComparisonOutput.produces_action (h : TateComparisonOutput D hg hq hIsogenyQuotient) : |
| 130 | ∃ A : Action D, A.IsRealization D hg hq hIsogenyQuotient := by |
| 131 | obtain ⟨hflags, basis, coeff, shift, hbasis, _, _, hcentral, hgraph, _, _, |
| 132 | integral, rho, rhoH1, hint, hpush, _, hunit, hH1, hforms⟩ := h |
| 133 | refine ⟨⟨basis, shift, integral, rho, rhoH1⟩, ?_⟩ |
| 134 | exact ⟨hflags, hbasis, hcentral, hgraph, hint, hunit, hpush, hH1, hforms⟩ |
| 135 | |
| 136 | end |
| 137 | |
| 138 | end OAI.RepresentationTheory.Theta.Geometric.TateComparison |