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.RepresentationTheory.Theta.Adelic.Evaluation |
| 2 | |
| 3 | /-! # Place Positions -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.Finite.PlacePositions.CM |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Extend arbitrary positions at finitely many places by zero, in the |
| 10 | actual finite adele ring, and evaluate restricted pure tensors there. -/ |
| 11 | |
| 12 | open scoped Classical _root_.NumberField |
| 13 | open Filter |
| 14 | open OAI.RepresentationTheory.Theta.Adelic.FiniteSchwartz OAI.RepresentationTheory.Theta.Adelic.Evaluation.AdelicLocalConstancy |
| 15 | |
| 16 | variable (F : Type) [Field F] [NumberField F] (N : ℕ) (S : Finset (RepresentationTheory.Theta.Adelic.FiniteSchwartz.FinitePlace F)) |
| 17 | |
| 18 | def extend (x : (v : S) → Fin N → v.val.adicCompletion F) : Fin N → RepresentationTheory.Weil.AdelicSplitting.ArchimedeanAdeles.Construction.FiniteAdeles F := |
| 19 | fun i => ⟨fun v => if hv : v ∈ S then x ⟨v, hv⟩ i else 0, by |
| 20 | filter_upwards [show ∀ᶠ v : RepresentationTheory.Theta.Adelic.FiniteSchwartz.FinitePlace F in cofinite, v ∉ S from by simp] with v hv |
| 21 | simp only [dite_eq_right hv] |
| 22 | exact (v.adicCompletionIntegers F).zero_mem⟩ |
| 23 | |
| 24 | theorem extend_inside (x : (v : S) → Fin N → v.val.adicCompletion F) (v : S) (i : Fin N) : |
| 25 | extend F N S x i v.val = x v i := by |
| 26 | change (if hv : v.val ∈ S then x ⟨v.val, hv⟩ i else 0) = x v i |
| 27 | rw [dite_eq_left v.property] |
| 28 | |
| 29 | theorem extend_outside (x : (v : S) → Fin N → v.val.adicCompletion F) |
| 30 | (v : RepresentationTheory.Theta.Adelic.FiniteSchwartz.FinitePlace F) (hv : v ∉ S) (i : Fin N) : extend F N S x i v = 0 := |
| 31 | dite_eq_right hv |
| 32 | |
| 33 | theorem extend_integral (x : (v : S) → Fin N → v.val.adicCompletion F) : |
| 34 | extend F N S x ∈ RepresentationTheory.Theta.Adelic.Evaluation.AdelicLocalConstancy.integralOutside F N S := by |
| 35 | intro v hv i |
| 36 | rw [extend_outside F N S x v hv i] |
| 37 | exact (v.adicCompletionIntegers F).zero_mem |
| 38 | |
| 39 | theorem pure_product_extension |
| 40 | (f : ∀ v : RepresentationTheory.Theta.Adelic.FiniteSchwartz.FinitePlace F, RepresentationTheory.Weil.Local.FunctionsMetaplectic.Construction.schwartzBruhat (v.adicCompletion F) N) |
| 41 | (hf : ∀ᶠ v in cofinite, f v = RepresentationTheory.Weil.AdelicSplitting.Vacuum.Construction.finiteVacuum F N v) |
| 42 | (hs : ∀ v, v ∉ S → f v = RepresentationTheory.Weil.AdelicSplitting.Vacuum.Construction.finiteVacuum F N v) |
| 43 | (x : (v : S) → Fin N → v.val.adicCompletion F) : |
| 44 | (∏ᶠ v, (f v).val (fun i => extend F N S x i v)) = ∏ v : S, (f v.val).val (x v) := by |
| 45 | rw [RepresentationTheory.Theta.Adelic.Evaluation.AdelicLocalConstancy.pure_product_decomposition F N f hf S hs, |
| 46 | (LocallyConstant.charFn_eq_one ℂ _ _).mpr (extend_integral F N S x), one_mul, |
| 47 | ← Finset.prod_coe_sort S] |
| 48 | apply Finset.prod_congr rfl |
| 49 | intro v _ |
| 50 | exact congrArg (f v.val).val (funext (extend_inside F N S x v)) |
| 51 | |
| 52 | end |
| 53 | |
| 54 | end OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.Finite.PlacePositions.CM |