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.LocalPairing |
| 2 | import OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.Finite.PureFunctionExt |
| 3 | |
| 4 | /-! # Test Products -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.NumberField.TestProducts.CM |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Pointwise products with conjugation preserve actual local and |
| 11 | global Schwartz functions and agree exactly on restricted pure tests. -/ |
| 12 | |
| 13 | open scoped Classical _root_.NumberField |
| 14 | open Filter Function |
| 15 | open OAI.RepresentationTheory.Theta.Adelic.FiniteSchwartz OAI.RepresentationTheory.Theta.Adelic.CompactSupport.AdelicSchwartz |
| 16 | open OAI.RepresentationTheory.Theta.Adelic.Evaluation OAI.RepresentationTheory.Theta.Adelic.TensorProjective.Restricted |
| 17 | |
| 18 | variable (F : Type) [Field F] [NumberField F] (N : ℕ) |
| 19 | |
| 20 | def localProduct (v : RepresentationTheory.Theta.Adelic.FiniteSchwartz.FinitePlace F) (f h : RepresentationTheory.Weil.Local.FunctionsMetaplectic.Construction.schwartzBruhat (v.adicCompletion F) N) : |
| 21 | RepresentationTheory.Weil.Local.FunctionsMetaplectic.Construction.schwartzBruhat (v.adicCompletion F) N := |
| 22 | ⟨fun x => f.val x * star (h.val x), RepresentationTheory.Weil.Local.FunctionsMetaplectic.Construction.compact_locallyConstant_mem |
| 23 | ((RepresentationTheory.Weil.Local.NonarchimedeanTestSpace.Construction.schwartzBruhat_totallyDisconnected_iff.mp f.property).1.mul |
| 24 | ((RepresentationTheory.Weil.Local.NonarchimedeanTestSpace.Construction.schwartzBruhat_totallyDisconnected_iff.mp h.property).1.comp star)) |
| 25 | (RepresentationTheory.Weil.Local.NonarchimedeanTestSpace.Construction.schwartzBruhat_totallyDisconnected_iff.mp f.property).2.mul_right⟩ |
| 26 | |
| 27 | theorem local_vacuum (v : RepresentationTheory.Theta.Adelic.FiniteSchwartz.FinitePlace F) : |
| 28 | localProduct F N v (RepresentationTheory.Weil.AdelicSplitting.Vacuum.Construction.finiteVacuum F N v) (RepresentationTheory.Weil.AdelicSplitting.Vacuum.Construction.finiteVacuum F N v) = RepresentationTheory.Weil.AdelicSplitting.Vacuum.Construction.finiteVacuum F N v := by |
| 29 | apply Subtype.ext |
| 30 | change (fun x => (RepresentationTheory.Weil.AdelicSplitting.Vacuum.Construction.finiteVacuum F N v).val x * star ((RepresentationTheory.Weil.AdelicSplitting.Vacuum.Construction.finiteVacuum F N v).val x)) = _ |
| 31 | rw [HeisenbergFamily.CM.Family.vacuum_indicator] |
| 32 | funext x |
| 33 | unfold IntegralHeisenberg.CM.indicator |
| 34 | split_ifs <;> simp |
| 35 | |
| 36 | theorem family_restricted |
| 37 | (f h : ∀ v : RepresentationTheory.Theta.Adelic.FiniteSchwartz.FinitePlace F, RepresentationTheory.Weil.Local.FunctionsMetaplectic.Construction.schwartzBruhat (v.adicCompletion F) N) |
| 38 | (hf : ∀ᶠ v in cofinite, f v = RepresentationTheory.Weil.AdelicSplitting.Vacuum.Construction.finiteVacuum F N v) |
| 39 | (hh : ∀ᶠ v in cofinite, h v = RepresentationTheory.Weil.AdelicSplitting.Vacuum.Construction.finiteVacuum F N v) : |
| 40 | ∀ᶠ v in cofinite, localProduct F N v (f v) (h v) = RepresentationTheory.Weil.AdelicSplitting.Vacuum.Construction.finiteVacuum F N v := by |
| 41 | filter_upwards [hf, hh] with v hf hh |
| 42 | rw [hf, hh, local_vacuum] |
| 43 | |
| 44 | def product (f h : RepresentationTheory.Theta.Adelic.CompactSupport.AdelicSchwartz.adelicSchwartzFunctions F N) : RepresentationTheory.Theta.Adelic.CompactSupport.AdelicSchwartz.adelicSchwartzFunctions F N := |
| 45 | ⟨fun x => f.val x * star (h.val x), f.property.1.mul (h.property.1.comp star), f.property.2.mul_right⟩ |
| 46 | |
| 47 | theorem pure_product |
| 48 | (f h : ∀ v : RepresentationTheory.Theta.Adelic.FiniteSchwartz.FinitePlace F, RepresentationTheory.Weil.Local.FunctionsMetaplectic.Construction.schwartzBruhat (v.adicCompletion F) N) |
| 49 | (hf : ∀ᶠ v in cofinite, f v = RepresentationTheory.Weil.AdelicSplitting.Vacuum.Construction.finiteVacuum F N v) |
| 50 | (hh : ∀ᶠ v in cofinite, h v = RepresentationTheory.Weil.AdelicSplitting.Vacuum.Construction.finiteVacuum F N v) : |
| 51 | product 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)) |
| 52 | (RepresentationTheory.Theta.Adelic.CompactSupport.AdelicSchwartz.toAdelicSchwartz F N (RepresentationTheory.Theta.Adelic.TensorProjective.Restricted.pure (RepresentationTheory.Weil.AdelicSplitting.Vacuum.Construction.finiteVacuum F N) h hh)) = |
| 53 | RepresentationTheory.Theta.Adelic.CompactSupport.AdelicSchwartz.toAdelicSchwartz F N (RepresentationTheory.Theta.Adelic.TensorProjective.Restricted.pure (RepresentationTheory.Weil.AdelicSplitting.Vacuum.Construction.finiteVacuum F N) |
| 54 | (fun v => localProduct F N v (f v) (h v)) (family_restricted F N f h hf hh)) := by |
| 55 | apply Subtype.ext |
| 56 | funext x |
| 57 | change RepresentationTheory.Theta.Adelic.Evaluation.finiteSchwartzFunction F N (RepresentationTheory.Theta.Adelic.TensorProjective.Restricted.pure (RepresentationTheory.Weil.AdelicSplitting.Vacuum.Construction.finiteVacuum F N) f hf) x * |
| 58 | star (RepresentationTheory.Theta.Adelic.Evaluation.finiteSchwartzFunction F N (RepresentationTheory.Theta.Adelic.TensorProjective.Restricted.pure (RepresentationTheory.Weil.AdelicSplitting.Vacuum.Construction.finiteVacuum F N) h hh) x) = |
| 59 | RepresentationTheory.Theta.Adelic.Evaluation.finiteSchwartzFunction F N (RepresentationTheory.Theta.Adelic.TensorProjective.Restricted.pure (RepresentationTheory.Weil.AdelicSplitting.Vacuum.Construction.finiteVacuum F N) _ _) x |
| 60 | rw [RepresentationTheory.Theta.Adelic.Evaluation.finiteSchwartzFunction_pure, RepresentationTheory.Theta.Adelic.Evaluation.finiteSchwartzFunction_pure, RepresentationTheory.Theta.Adelic.Evaluation.finiteSchwartzFunction_pure] |
| 61 | have hs (u : ∀ v : RepresentationTheory.Theta.Adelic.FiniteSchwartz.FinitePlace F, RepresentationTheory.Weil.Local.FunctionsMetaplectic.Construction.schwartzBruhat (v.adicCompletion F) N) |
| 62 | (hu : ∀ᶠ v in cofinite, u v = RepresentationTheory.Weil.AdelicSplitting.Vacuum.Construction.finiteVacuum F N v) : |
| 63 | HasFiniteMulSupport (fun v => (u v).val (fun i => x i v)) := |
| 64 | RepresentationTheory.Theta.Adelic.TensorProjective.Evaluation.evaluation_finite_support (RepresentationTheory.Weil.AdelicSplitting.Vacuum.Construction.finiteVacuum F N) |
| 65 | (RepresentationTheory.Theta.Adelic.Evaluation.localEvaluation F N x) (RepresentationTheory.Theta.Adelic.Evaluation.vacuum_evaluation_eventually_one F N x) u hu |
| 66 | change (∏ᶠ v, (f v).val (fun i => x i v)) * star (∏ᶠ v, (h v).val (fun i => x i v)) = |
| 67 | ∏ᶠ v, (f v).val (fun i => x i v) * star ((h v).val (fun i => x i v)) |
| 68 | have hstar : star (∏ᶠ v, (h v).val (fun i => x i v)) = |
| 69 | ∏ᶠ v, star ((h v).val (fun i => x i v)) := |
| 70 | map_finprod (starRingEnd ℂ) (hs h hh) |
| 71 | have hsstar : HasFiniteMulSupport (fun v => star ((h v).val (fun i => x i v))) := by |
| 72 | filter_upwards [show ∀ᶠ v in cofinite, (h v).val (fun i => x i v) = 1 from hs h hh] with v hv |
| 73 | change star ((h v).val (fun i => x i v)) = 1 |
| 74 | rw [hv, star_one] |
| 75 | rw [hstar, finprod_mul_distrib (hs f hf) hsstar] |
| 76 | |
| 77 | end |
| 78 | |
| 79 | end OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.NumberField.TestProducts.CM |