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.NumberField.TestProducts |
| 2 | import OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.NumberField.IntegralComparison |
| 3 | import OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.Finite.PureFunctionExt |
| 4 | import OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.Finite.FunctionAction |
| 5 | |
| 6 | /-! # Function Unitarity -/ |
| 7 | |
| 8 | namespace OAI |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | namespace AlgebraicGeometry.HodgeConjecture.HeckeCycles.NumberField.FunctionUnitarity.CM.GlobalPairing |
| 13 | |
| 14 | /-! The global sesquilinear form is actual Haar integration in rational |
| 15 | coordinates and the product of normalized local Haar pairings on pure tests. -/ |
| 16 | |
| 17 | open scoped Classical _root_.NumberField |
| 18 | open Filter |
| 19 | open OAI.RepresentationTheory.Theta.Adelic.FiniteSchwartz OAI.RepresentationTheory.Theta.Adelic.CompactSupport.AdelicSchwartz |
| 20 | open OAI.RepresentationTheory.Theta.Adelic.TensorProjective.Restricted |
| 21 | |
| 22 | variable (F : Type) [Field F] [NumberField F] (N : ℕ) |
| 23 | |
| 24 | def productForm : RepresentationTheory.Theta.Adelic.CompactSupport.AdelicSchwartz.adelicSchwartzFunctions F N →ₗ[ℂ] |
| 25 | RepresentationTheory.Theta.Adelic.CompactSupport.AdelicSchwartz.adelicSchwartzFunctions F N →ₗ⋆[ℂ] RepresentationTheory.Theta.Adelic.CompactSupport.AdelicSchwartz.adelicSchwartzFunctions F N where |
| 26 | toFun f := |
| 27 | { toFun h := TestProducts.CM.product F N f h |
| 28 | map_add' h k := by |
| 29 | apply Subtype.ext |
| 30 | funext x |
| 31 | exact (congrArg (fun z => f.val x * z) (star_add (h.val x) (k.val x))).trans (mul_add _ _ _) |
| 32 | map_smul' c h := by |
| 33 | apply Subtype.ext |
| 34 | funext x |
| 35 | change f.val x * star (c * h.val x) = star c * (f.val x * star (h.val x)) |
| 36 | rw [star_mul] |
| 37 | ring } |
| 38 | map_add' f h := by |
| 39 | apply LinearMap.ext |
| 40 | intro k |
| 41 | apply Subtype.ext |
| 42 | funext x |
| 43 | exact add_mul _ _ _ |
| 44 | map_smul' c f := by |
| 45 | apply LinearMap.ext |
| 46 | intro h |
| 47 | apply Subtype.ext |
| 48 | funext x |
| 49 | exact mul_assoc _ _ _ |
| 50 | |
| 51 | def pairing : RepresentationTheory.Theta.Adelic.CompactSupport.AdelicSchwartz.adelicSchwartzFunctions F N →ₗ[ℂ] RepresentationTheory.Theta.Adelic.CompactSupport.AdelicSchwartz.adelicSchwartzFunctions F N →ₗ⋆[ℂ] ℂ where |
| 52 | toFun f := (LocalIntegral.CM.globalIntegral F N).comp (productForm F N f) |
| 53 | map_add' f h := by |
| 54 | apply LinearMap.ext |
| 55 | intro k |
| 56 | change LocalIntegral.CM.globalIntegral F N (productForm F N (f + h) k) = _ |
| 57 | rw [map_add, LinearMap.add_apply, map_add] |
| 58 | rfl |
| 59 | map_smul' c f := by |
| 60 | apply LinearMap.ext |
| 61 | intro h |
| 62 | change LocalIntegral.CM.globalIntegral F N (productForm F N (c • f) h) = _ |
| 63 | rw [map_smul, LinearMap.smul_apply, map_smul] |
| 64 | rfl |
| 65 | |
| 66 | theorem pure_pairing |
| 67 | (f h : ∀ v : RepresentationTheory.Theta.Adelic.FiniteSchwartz.FinitePlace F, RepresentationTheory.Weil.Local.FunctionsMetaplectic.Construction.schwartzBruhat (v.adicCompletion F) N) |
| 68 | (hf : ∀ᶠ v in cofinite, f v = RepresentationTheory.Weil.AdelicSplitting.Vacuum.Construction.finiteVacuum F N v) |
| 69 | (hh : ∀ᶠ v in cofinite, h v = RepresentationTheory.Weil.AdelicSplitting.Vacuum.Construction.finiteVacuum F N v) : |
| 70 | pairing F N (RepresentationTheory.Theta.Adelic.CompactSupport.AdelicSchwartz.toAdelicSchwartz F N (RepresentationTheory.Theta.Adelic.TensorProjective.Restricted.pure (RepresentationTheory.Weil.AdelicSplitting.Vacuum.Construction.finiteVacuum F N) f hf)) |
| 71 | (RepresentationTheory.Theta.Adelic.CompactSupport.AdelicSchwartz.toAdelicSchwartz F N (RepresentationTheory.Theta.Adelic.TensorProjective.Restricted.pure (RepresentationTheory.Weil.AdelicSplitting.Vacuum.Construction.finiteVacuum F N) h hh)) = |
| 72 | ∏ᶠ v, LocalPairing.CM.pairing F N v (f v) (h v) := by |
| 73 | change LocalIntegral.CM.globalIntegral F N |
| 74 | (TestProducts.CM.product F N _ _) = _ |
| 75 | rw [TestProducts.CM.pure_product] |
| 76 | unfold LocalIntegral.CM.globalIntegral |
| 77 | rw [Finite.FunctionAction.CM.FunctionalDescent.function_pure] |
| 78 | rfl |
| 79 | |
| 80 | theorem rational_pairing |
| 81 | (f h : RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.finiteSchwartz (Finite.AdelicTestCoordinates.CM.Index F N)) : |
| 82 | pairing F N (Finite.AdelicTestCoordinates.CM.equivalence F N f) |
| 83 | (Finite.AdelicTestCoordinates.CM.equivalence F N h) = |
| 84 | Finite.FiniteOscillator.CM.integralPairing f h := by |
| 85 | let p : RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.finiteSchwartz (Finite.AdelicTestCoordinates.CM.Index F N) := |
| 86 | ⟨fun x => f.val x * star (h.val x), (RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.Construction.finiteSchwartz_mem_iff _).mpr |
| 87 | ⟨((RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.Construction.finiteSchwartz_mem_iff _).mp f.property).1.mul |
| 88 | (((RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.Construction.finiteSchwartz_mem_iff _).mp h.property).1.comp star), |
| 89 | (RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.Construction.finiteSchwartz_hasCompactSupport f).mul_right⟩⟩ |
| 90 | exact IntegralComparison.CM.integral F N p |
| 91 | |
| 92 | def pulled (U : RepresentationTheory.Theta.Adelic.CompactSupport.AdelicSchwartz.adelicSchwartzFunctions F N ≃ₗ[ℂ] RepresentationTheory.Theta.Adelic.CompactSupport.AdelicSchwartz.adelicSchwartzFunctions F N) : |
| 93 | RepresentationTheory.Theta.Adelic.CompactSupport.AdelicSchwartz.adelicSchwartzFunctions F N →ₗ[ℂ] RepresentationTheory.Theta.Adelic.CompactSupport.AdelicSchwartz.adelicSchwartzFunctions F N →ₗ⋆[ℂ] ℂ where |
| 94 | toFun f := (pairing F N (U f)).comp U.toLinearMap |
| 95 | map_add' f h := by |
| 96 | apply LinearMap.ext |
| 97 | intro k |
| 98 | change pairing F N (U (f + h)) (U k) = _ |
| 99 | rw [map_add, map_add] |
| 100 | rfl |
| 101 | map_smul' c f := by |
| 102 | apply LinearMap.ext |
| 103 | intro h |
| 104 | change pairing F N (U (c • f)) (U h) = _ |
| 105 | rw [map_smul, map_smul] |
| 106 | rfl |
| 107 | |
| 108 | end AlgebraicGeometry.HodgeConjecture.HeckeCycles.NumberField.FunctionUnitarity.CM.GlobalPairing |
| 109 | |
| 110 | namespace AlgebraicGeometry.HodgeConjecture.HeckeCycles.NumberField.FunctionUnitarity.CM |
| 111 | |
| 112 | /-! Local unitarity implies global Haar unitarity on the actual finite |
| 113 | Schwartz functions through the proved pure-product pairing formula. -/ |
| 114 | |
| 115 | open scoped Classical _root_.NumberField |
| 116 | open Filter |
| 117 | open OAI.RepresentationTheory.Theta.Adelic.FiniteSchwartz OAI.RepresentationTheory.Theta.Adelic.CompactSupport.AdelicSchwartz OAI.RepresentationTheory.Theta.Adelic.TensorProjective.Restricted |
| 118 | |
| 119 | variable (F : Type) [Field F] [NumberField F] (N : ℕ) |
| 120 | {G : RepresentationTheory.Theta.Adelic.FiniteSchwartz.FinitePlace F → Type*} [∀ v, Group (G v)] |
| 121 | (K : ∀ v, Subgroup (G v)) |
| 122 | (ρ : ∀ v, G v →* (RepresentationTheory.Weil.Local.FunctionsMetaplectic.Construction.schwartzBruhat (v.adicCompletion F) N ≃ₗ[ℂ] |
| 123 | RepresentationTheory.Weil.Local.FunctionsMetaplectic.Construction.schwartzBruhat (v.adicCompletion F) N)) |
| 124 | (hρ : ∀ᶠ v in cofinite, ∀ g ∈ K v, ρ v g (RepresentationTheory.Weil.AdelicSplitting.Vacuum.Construction.finiteVacuum F N v) = RepresentationTheory.Weil.AdelicSplitting.Vacuum.Construction.finiteVacuum F N v) |
| 125 | (hu : ∀ v g f h, LocalPairing.CM.pairing F N v (ρ v g f) (ρ v g h) = |
| 126 | LocalPairing.CM.pairing F N v f h) |
| 127 | |
| 128 | include hu in |
| 129 | theorem unitary (g : RepresentationTheory.Weil.AdelicSplitting.RestrictedLimits.Construction.RestrictedGroup K) (φ ψ : RepresentationTheory.Theta.Adelic.CompactSupport.AdelicSchwartz.adelicSchwartzFunctions F N) : |
| 130 | GlobalPairing.pairing F N |
| 131 | (Finite.FunctionAction.CM.functionAction F N K ρ hρ g φ) |
| 132 | (Finite.FunctionAction.CM.functionAction F N K ρ hρ g ψ) = |
| 133 | GlobalPairing.pairing F N φ ψ := by |
| 134 | have h := Finite.PureFunctionExt.CM.Sesquilinear.ext F N |
| 135 | (GlobalPairing.pulled F N (Finite.FunctionAction.CM.functionAction F N K ρ hρ g)) |
| 136 | (GlobalPairing.pairing F N) (by |
| 137 | intro f k hf hk |
| 138 | change GlobalPairing.pairing F N |
| 139 | (Finite.FunctionAction.CM.functionAction F N K ρ hρ g |
| 140 | (RepresentationTheory.Theta.Adelic.CompactSupport.AdelicSchwartz.toAdelicSchwartz F N (RepresentationTheory.Theta.Adelic.TensorProjective.Restricted.pure (RepresentationTheory.Weil.AdelicSplitting.Vacuum.Construction.finiteVacuum F N) f hf))) |
| 141 | (Finite.FunctionAction.CM.functionAction F N K ρ hρ g |
| 142 | (RepresentationTheory.Theta.Adelic.CompactSupport.AdelicSchwartz.toAdelicSchwartz F N (RepresentationTheory.Theta.Adelic.TensorProjective.Restricted.pure (RepresentationTheory.Weil.AdelicSplitting.Vacuum.Construction.finiteVacuum F N) k hk))) = _ |
| 143 | rw [Finite.FunctionAction.CM.intertwines, Finite.FunctionAction.CM.intertwines, |
| 144 | RestrictedTensorExpansion.CM.action_pure, RestrictedTensorExpansion.CM.action_pure, |
| 145 | GlobalPairing.pure_pairing, GlobalPairing.pure_pairing] |
| 146 | apply finprod_congr |
| 147 | intro v |
| 148 | exact hu v (g v) (f v) (k v)) |
| 149 | exact congrArg (fun L : RepresentationTheory.Theta.Adelic.CompactSupport.AdelicSchwartz.adelicSchwartzFunctions F N →ₗ[ℂ] |
| 150 | RepresentationTheory.Theta.Adelic.CompactSupport.AdelicSchwartz.adelicSchwartzFunctions F N →ₗ⋆[ℂ] ℂ => L φ ψ) h |
| 151 | |
| 152 | end AlgebraicGeometry.HodgeConjecture.HeckeCycles.NumberField.FunctionUnitarity.CM |
| 153 | |
| 154 | end |
| 155 | |
| 156 | end OAI |