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.HodgeConjecture.HeckeCycles.Finite.SupportPlaces |
| 2 | import OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.Finite.PlaceAt |
| 3 | |
| 4 | /-! # Truncated Lower -/ |
| 5 | |
| 6 | namespace OAI |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | namespace AlgebraicGeometry.HodgeConjecture.HeckeCycles.Finite.TruncatedLower.CM.Quadratic |
| 11 | |
| 12 | /-! Truncating quadratic coefficients to sufficiently many primes |
| 13 | preserves the action on any fixed finite Schwartz function exactly. -/ |
| 14 | |
| 15 | open scoped Classical _root_.Matrix |
| 16 | open Filter |
| 17 | open OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.Finite.PlaceAt.CM.Mask |
| 18 | open OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.Finite.Quadratic.CM |
| 19 | variable {I : Type*} [Fintype I] |
| 20 | |
| 21 | theorem tail_quadratic_integral (S : Set RepresentationTheory.Theta.AdelicSupport.PoissonAutomorphyConstruction.FinitePlace) (B : Matrix I I RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.AQf) |
| 22 | (hB : ∀ i j v, v ∉ S → (algebraMap ℚ RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.AQf (1 / 2) * B i j) v ∈ v.adicCompletionIntegers ℚ) |
| 23 | (x : I → RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.AQf) (hx : ∀ i v, v ∉ S → x i v ∈ v.adicCompletionIntegers ℚ) : |
| 24 | RepresentationTheory.Hecke.RadialDilation.QuadraticCommutator.Realization.ringQuadratic (PlaceAt.CM.Mask.matrixMask Sᶜ B) x ∈ RepresentationTheory.Theta.AdelicSupport.PoissonAutomorphyConstruction.integralAdele := by |
| 25 | rw [RepresentationTheory.Hecke.RadialDilation.QuadraticCommutator.Realization.ringQuadratic_entries] |
| 26 | apply RepresentationTheory.Theta.AdelicSupport.PoissonAutomorphyConstruction.integralAdele.sum_mem |
| 27 | intro i _ |
| 28 | apply RepresentationTheory.Theta.AdelicSupport.PoissonAutomorphyConstruction.integralAdele.sum_mem |
| 29 | intro j _ v |
| 30 | change SymplecticLocal.CM.localEval v |
| 31 | (x i * (algebraMap ℚ RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.AQf (1 / 2) * PlaceAt.CM.Mask.matrixMask Sᶜ B i j) * x j) ∈ v.adicCompletionIntegers ℚ |
| 32 | simp only [map_mul] |
| 33 | change x i v * ((algebraMap ℚ RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.AQf (1 / 2)) v * PlaceAt.CM.Mask.mask Sᶜ (B i j) v) * x j v ∈ v.adicCompletionIntegers ℚ |
| 34 | rw [PlaceAt.CM.Mask.mask_eval] |
| 35 | simp only [Set.mem_compl_iff] |
| 36 | by_cases hv : v ∈ S |
| 37 | · rw [ite_eq_right (not_not.mpr hv), mul_zero, mul_zero, zero_mul] |
| 38 | exact (v.adicCompletionIntegers ℚ).zero_mem |
| 39 | · rw [ite_eq_left hv] |
| 40 | exact (v.adicCompletionIntegers ℚ).mul_mem _ _ |
| 41 | ((v.adicCompletionIntegers ℚ).mul_mem _ _ (hx i v hv) (hB i j v hv)) (hx j v hv) |
| 42 | |
| 43 | theorem tail_fixes (S : Set RepresentationTheory.Theta.AdelicSupport.PoissonAutomorphyConstruction.FinitePlace) (B : Matrix I I RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.AQf) |
| 44 | (hB : ∀ i j v, v ∉ S → (algebraMap ℚ RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.AQf (1 / 2) * B i j) v ∈ v.adicCompletionIntegers ℚ) |
| 45 | (f : RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.finiteSchwartz I) |
| 46 | (hf : ∀ x ∈ tsupport f.val, ∀ i v, v ∉ S → x i v ∈ v.adicCompletionIntegers ℚ) : |
| 47 | Quadratic.CM.finiteQuadratic (PlaceAt.CM.Mask.matrixMask Sᶜ B) f = f := by |
| 48 | apply Subtype.ext |
| 49 | funext x |
| 50 | rw [Quadratic.CM.finiteQuadratic_apply] |
| 51 | by_cases hx : f.val x = 0 |
| 52 | · rw [hx, mul_zero] |
| 53 | · rw [Constructed.AdelicCharacter.CM.Finite.character_integral _ |
| 54 | (tail_quadratic_integral S B hB x (hf x (subset_tsupport f.val hx))), one_mul] |
| 55 | |
| 56 | theorem exists_truncation (B : Matrix I I RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.AQf) (f : RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.finiteSchwartz I) : |
| 57 | ∃ S : Finset RepresentationTheory.Theta.AdelicSupport.PoissonAutomorphyConstruction.FinitePlace, ∀ T : Finset RepresentationTheory.Theta.AdelicSupport.PoissonAutomorphyConstruction.FinitePlace, S ⊆ T → |
| 58 | Quadratic.CM.finiteQuadratic (PlaceAt.CM.Mask.matrixMask (T : Set RepresentationTheory.Theta.AdelicSupport.PoissonAutomorphyConstruction.FinitePlace) B) f = Quadratic.CM.finiteQuadratic B f := by |
| 59 | have hB : ∀ᶠ v in cofinite, ∀ i j, |
| 60 | (algebraMap ℚ RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.AQf (1 / 2) * B i j) v ∈ v.adicCompletionIntegers ℚ := by |
| 61 | apply Filter.eventually_all.mpr |
| 62 | intro i |
| 63 | apply Filter.eventually_all.mpr |
| 64 | intro j |
| 65 | exact (algebraMap ℚ RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.AQf (1 / 2) * B i j).property |
| 66 | have he := hB.and (SupportPlaces.CM.compact_eventually_integral |
| 67 | (tsupport f.val) (RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.Construction.finiteSchwartz_hasCompactSupport f)) |
| 68 | have hbad : {v | ¬((∀ i j, (algebraMap ℚ RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.AQf (1 / 2) * B i j) v ∈ v.adicCompletionIntegers ℚ) ∧ |
| 69 | (∀ x ∈ tsupport f.val, ∀ i, x i v ∈ v.adicCompletionIntegers ℚ))}.Finite := he |
| 70 | refine ⟨hbad.toFinset, ?_⟩ |
| 71 | intro T hT |
| 72 | have hg (v : RepresentationTheory.Theta.AdelicSupport.PoissonAutomorphyConstruction.FinitePlace) (hv : v ∉ T) : |
| 73 | (∀ i j, (algebraMap ℚ RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.AQf (1 / 2) * B i j) v ∈ v.adicCompletionIntegers ℚ) ∧ |
| 74 | (∀ x ∈ tsupport f.val, ∀ i, x i v ∈ v.adicCompletionIntegers ℚ) := by |
| 75 | have hs : v ∉ hbad.toFinset := fun h => hv (hT h) |
| 76 | simpa only [Set.Finite.mem_toFinset, Set.mem_ofPred_eq, not_not] using hs |
| 77 | have ht := tail_fixes (T : Set RepresentationTheory.Theta.AdelicSupport.PoissonAutomorphyConstruction.FinitePlace) B |
| 78 | (fun i j v hv => (hg v hv).1 i j) f (fun x hx i v hv => (hg v hv).2 x hx i) |
| 79 | have hh := congrArg (fun U : RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.finiteSchwartz I ≃ₗ[ℂ] RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.finiteSchwartz I => U f) |
| 80 | (PlaceAt.CM.QuadraticAddition.operator_add (PlaceAt.CM.Mask.matrixMask (T : Set RepresentationTheory.Theta.AdelicSupport.PoissonAutomorphyConstruction.FinitePlace) B) |
| 81 | (PlaceAt.CM.Mask.matrixMask (T : Set RepresentationTheory.Theta.AdelicSupport.PoissonAutomorphyConstruction.FinitePlace)ᶜ B)) |
| 82 | rw [PlaceAt.CM.Mask.matrixMask_add_compl] at hh |
| 83 | change Quadratic.CM.finiteQuadratic B f = Quadratic.CM.finiteQuadratic (PlaceAt.CM.Mask.matrixMask (T : Set RepresentationTheory.Theta.AdelicSupport.PoissonAutomorphyConstruction.FinitePlace) B) |
| 84 | (Quadratic.CM.finiteQuadratic (PlaceAt.CM.Mask.matrixMask (T : Set RepresentationTheory.Theta.AdelicSupport.PoissonAutomorphyConstruction.FinitePlace)ᶜ B) f) at hh |
| 85 | rw [ht] at hh |
| 86 | exact hh.symm |
| 87 | |
| 88 | end AlgebraicGeometry.HodgeConjecture.HeckeCycles.Finite.TruncatedLower.CM.Quadratic |
| 89 | |
| 90 | namespace AlgebraicGeometry.HodgeConjecture.HeckeCycles.Finite.TruncatedLower.CM |
| 91 | |
| 92 | /-! Exact finite-prime truncation for lower operators, obtained from |
| 93 | the proved quadratic truncation by the actual Fourier conjugation. -/ |
| 94 | |
| 95 | open scoped Classical _root_.Matrix |
| 96 | open OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.Finite.PlaceAt.CM.Mask |
| 97 | open OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.Finite.IntegralVacuum.CM.LowerBare |
| 98 | open OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.Finite.FourierHeisenberg.CM.Equiv |
| 99 | |
| 100 | theorem mask_neg (S : Set RepresentationTheory.Theta.AdelicSupport.PoissonAutomorphyConstruction.FinitePlace) (a : RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.AQf) : PlaceAt.CM.Mask.mask S (-a) = -PlaceAt.CM.Mask.mask S a := by |
| 101 | apply DFunLike.ext |
| 102 | intro v |
| 103 | change SymplecticLocal.CM.localEval v (PlaceAt.CM.Mask.mask S (-a)) = |
| 104 | SymplecticLocal.CM.localEval v (-PlaceAt.CM.Mask.mask S a) |
| 105 | rw [map_neg] |
| 106 | change PlaceAt.CM.Mask.mask S (-a) v = -PlaceAt.CM.Mask.mask S a v |
| 107 | rw [PlaceAt.CM.Mask.mask_eval, PlaceAt.CM.Mask.mask_eval] |
| 108 | by_cases hv : v ∈ S |
| 109 | · rw [ite_eq_left hv, ite_eq_left hv] |
| 110 | exact (SymplecticLocal.CM.localEval v).map_neg a |
| 111 | · rw [ite_eq_right hv, ite_eq_right hv, neg_zero] |
| 112 | |
| 113 | variable {I : Type*} [Fintype I] |
| 114 | |
| 115 | omit [Fintype I] in |
| 116 | theorem matrixMask_neg (S : Set RepresentationTheory.Theta.AdelicSupport.PoissonAutomorphyConstruction.FinitePlace) (B : Matrix I I RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.AQf) : |
| 117 | PlaceAt.CM.Mask.matrixMask S (-B) = -PlaceAt.CM.Mask.matrixMask S B := by |
| 118 | apply Matrix.ext |
| 119 | intro i j |
| 120 | exact mask_neg S (B i j) |
| 121 | |
| 122 | theorem exists_truncation (B : Matrix I I RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.AQf) (hB : B.IsSymm) (f : RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.finiteSchwartz I) : |
| 123 | ∃ S : Finset RepresentationTheory.Theta.AdelicSupport.PoissonAutomorphyConstruction.FinitePlace, ∀ T : Finset RepresentationTheory.Theta.AdelicSupport.PoissonAutomorphyConstruction.FinitePlace, S ⊆ T → |
| 124 | BareNe.CM.Group.bareAction |
| 125 | (IntegralVacuum.CM.LowerBare.lowerLift (PlaceAt.CM.Mask.matrixMask (T : Set RepresentationTheory.Theta.AdelicSupport.PoissonAutomorphyConstruction.FinitePlace) B) (PlaceAt.CM.Mask.matrixMask_symmetric _ B hB)) f = |
| 126 | BareNe.CM.Group.bareAction (IntegralVacuum.CM.LowerBare.lowerLift B hB) f := by |
| 127 | obtain ⟨S, hS⟩ := Quadratic.exists_truncation (-B) (FourierHeisenberg.CM.Equiv.fourierEquiv f) |
| 128 | refine ⟨S, ?_⟩ |
| 129 | intro T hT |
| 130 | change FourierHeisenberg.CM.Equiv.fourierEquiv.symm (Quadratic.CM.finiteQuadratic (-PlaceAt.CM.Mask.matrixMask (T : Set RepresentationTheory.Theta.AdelicSupport.PoissonAutomorphyConstruction.FinitePlace) B) |
| 131 | (FourierHeisenberg.CM.Equiv.fourierEquiv f)) = FourierHeisenberg.CM.Equiv.fourierEquiv.symm (Quadratic.CM.finiteQuadratic (-B) (FourierHeisenberg.CM.Equiv.fourierEquiv f)) |
| 132 | apply congrArg FourierHeisenberg.CM.Equiv.fourierEquiv.symm |
| 133 | rw [← matrixMask_neg] |
| 134 | exact hS T hT |
| 135 | |
| 136 | end AlgebraicGeometry.HodgeConjecture.HeckeCycles.Finite.TruncatedLower.CM |
| 137 | |
| 138 | end |
| 139 | |
| 140 | end OAI |