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.PoissonAutomorphyFiniteFourier |
| 2 | import OAI.RepresentationTheory.Theta.Convergence |
| 3 | |
| 4 | /-! # Coset Tests -/ |
| 5 | |
| 6 | namespace OAI.RepresentationTheory.Theta.CosetTests.PoissonAutomorphyConstruction |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Lattice cosets as actual finite test functions and linearity of pure tensors. -/ |
| 11 | |
| 12 | open scoped Classical |
| 13 | |
| 14 | variable {ι : Type*} [Fintype ι] |
| 15 | |
| 16 | def latticeTestFunction (q : ℚ) (hq : q ≠ 0) : PoissonAutomorphyNormalizationData.finiteSchwartz ι := by |
| 17 | refine ⟨PoissonAutomorphyFiniteFourier.Construction.latticeIndicator q hq, (PoissonAutomorphyNormalizationData.Construction.finiteSchwartz_mem_iff _).mpr ⟨?_, ?_⟩⟩ |
| 18 | · exact ((LocallyConstant.const (ι → PoissonAutomorphyNormalizationData.AQf) (1 : ℂ)).indicator |
| 19 | ⟨(PoissonAutomorphyFiniteFourier.Construction.finiteLattice_isCompact q hq).isClosed, PoissonAutomorphyFiniteFourier.Construction.finiteLattice_isOpen q hq⟩).isLocallyConstant |
| 20 | · apply (PoissonAutomorphyFiniteFourier.Construction.finiteLattice_isCompact q hq).of_isClosed_subset isClosed_closure |
| 21 | apply closure_minimal _ (PoissonAutomorphyFiniteFourier.Construction.finiteLattice_isCompact q hq).isClosed |
| 22 | exact Set.support_indicator_subset |
| 23 | |
| 24 | def latticeCosetTest (q : ℚ) (hq : q ≠ 0) (a : ι → PoissonAutomorphyNormalizationData.AQf) : PoissonAutomorphyNormalizationData.finiteSchwartz ι := by |
| 25 | refine ⟨PoissonAutomorphyFiniteFourier.Construction.latticeCosetIndicator q hq a, (PoissonAutomorphyNormalizationData.Construction.finiteSchwartz_mem_iff _).mpr ⟨?_, ?_⟩⟩ |
| 26 | · exact ((PoissonAutomorphyNormalizationData.Construction.finiteSchwartz_mem_iff _).mp (latticeTestFunction q hq).property).1.comp_continuous |
| 27 | (continuous_id.sub continuous_const) |
| 28 | · have heq : PoissonAutomorphyFiniteFourier.Construction.latticeCosetIndicator q hq a = |
| 29 | (latticeTestFunction q hq).val ∘ Homeomorph.addRight (-a) := by |
| 30 | funext x |
| 31 | change PoissonAutomorphyFiniteFourier.Construction.latticeIndicator q hq (x - a) = PoissonAutomorphyFiniteFourier.Construction.latticeIndicator q hq (x + -a) |
| 32 | rw [sub_eq_add_neg] |
| 33 | rw [heq] |
| 34 | exact (PoissonAutomorphyNormalizationData.Construction.finiteSchwartz_hasCompactSupport (latticeTestFunction q hq)).comp_homeomorph _ |
| 35 | |
| 36 | theorem latticeCosetTest_apply (q : ℚ) (hq : q ≠ 0) (a x : ι → PoissonAutomorphyNormalizationData.AQf) : |
| 37 | (latticeCosetTest q hq a).val x = PoissonAutomorphyFiniteFourier.Construction.latticeCosetIndicator q hq a x := rfl |
| 38 | |
| 39 | def tensorLeft (f : PoissonAutomorphyNormalizationData.realSchwartz ι) : PoissonAutomorphyNormalizationData.finiteSchwartz ι →ₗ[ℂ] PoissonAutomorphyNormalizationData.adelicSchwartz ι where |
| 40 | toFun := PoissonAutomorphyNormalizationData.tensor f |
| 41 | map_add' φ ψ := by |
| 42 | apply Subtype.ext |
| 43 | funext x |
| 44 | change f.val _ * (φ.val _ + ψ.val _) = f.val _ * φ.val _ + f.val _ * ψ.val _ |
| 45 | ring |
| 46 | map_smul' c φ := by |
| 47 | apply Subtype.ext |
| 48 | funext x |
| 49 | change f.val _ * (c * φ.val _) = c * (f.val _ * φ.val _) |
| 50 | ring |
| 51 | |
| 52 | def tensorRight (φ : PoissonAutomorphyNormalizationData.finiteSchwartz ι) : PoissonAutomorphyNormalizationData.realSchwartz ι →ₗ[ℂ] PoissonAutomorphyNormalizationData.adelicSchwartz ι where |
| 53 | toFun f := PoissonAutomorphyNormalizationData.tensor f φ |
| 54 | map_add' f g := by |
| 55 | apply Subtype.ext |
| 56 | funext x |
| 57 | change (f.val _ + g.val _) * φ.val _ = f.val _ * φ.val _ + g.val _ * φ.val _ |
| 58 | ring |
| 59 | map_smul' c f := by |
| 60 | apply Subtype.ext |
| 61 | funext x |
| 62 | change (c * f.val _) * φ.val _ = c * (f.val _ * φ.val _) |
| 63 | ring |
| 64 | |
| 65 | theorem finiteSchwartz_coset_expansion_eq (φ : PoissonAutomorphyNormalizationData.finiteSchwartz ι) : |
| 66 | ∃ n : ℕ, ∃ hn : 0 < n, ∃ s : Finset (PoissonAutomorphyFiniteFourier.Construction.FiniteQuotient (ι := ι) (n : ℚ) (by exact_mod_cast hn.ne')), |
| 67 | φ = ∑ c ∈ s, φ.val (PoissonAutomorphyNormalizationData.finiteDiagonal (PoissonAutomorphyFiniteFourier.Construction.finiteQuotientRep (n : ℚ) (by exact_mod_cast hn.ne') c)) • |
| 68 | latticeCosetTest (n : ℚ) (by exact_mod_cast hn.ne') |
| 69 | (PoissonAutomorphyNormalizationData.finiteDiagonal (PoissonAutomorphyFiniteFourier.Construction.finiteQuotientRep (n : ℚ) (by exact_mod_cast hn.ne') c)) := by |
| 70 | obtain ⟨n, hn, hp⟩ := PoissonAutomorphyFiniteFourier.Construction.finiteSchwartz_lattice_period φ |
| 71 | obtain ⟨s, hs⟩ := PoissonAutomorphyFiniteFourier.Construction.finiteSchwartz_coset_expansion φ (n : ℚ) (by exact_mod_cast hn.ne') hp |
| 72 | refine ⟨n, hn, s, ?_⟩ |
| 73 | apply Subtype.ext |
| 74 | funext x |
| 75 | simpa only [Submodule.coe_sum, Finset.sum_apply, Submodule.coe_smul, |
| 76 | Pi.smul_apply, smul_eq_mul, latticeCosetTest_apply] using hs x |
| 77 | |
| 78 | end |
| 79 | |
| 80 | end OAI.RepresentationTheory.Theta.CosetTests.PoissonAutomorphyConstruction |