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.AdelicTestCoordinates |
| 2 | import OAI.AlgebraicGeometry.HodgeConjecture.CMExtraction.Finite.TestTransport |
| 3 | |
| 4 | /-! # Tensor Representatives -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.Finite.TensorRepresentatives.CM |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Every actual finite adelic Schwartz function is represented by the |
| 11 | number-field restricted tensor construction. The proof expands the test |
| 12 | in genuine rational lattice cosets in integral-basis coordinates. -/ |
| 13 | |
| 14 | open scoped Classical _root_.NumberField |
| 15 | open OAI.AlgebraicGeometry.HodgeConjecture.CMExtraction.Finite.TestTransport OAI.RepresentationTheory.Theta.Adelic.CompactSupport.AdelicSchwartz |
| 16 | open OAI.RepresentationTheory.Theta.Adelic.Evaluation |
| 17 | |
| 18 | open OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.Finite.AdelicTestCoordinates.CM |
| 19 | |
| 20 | variable (F : Type) [Field F] [NumberField F] (N : ℕ) |
| 21 | |
| 22 | theorem rational_coset_value (q : ℚ) (hq : q ≠ 0) (a x : Fin N → F) : |
| 23 | RepresentationTheory.Theta.PoissonAutomorphyFiniteFourier.Construction.latticeCosetIndicator q hq (CMExtraction.IntegralAdelicCoordinates.TestTransport.integralCoordinateDiagonal F (Fin N) a) |
| 24 | (CMExtraction.IntegralAdelicCoordinates.TestTransport.integralCoordinateDiagonal F (Fin N) x) = |
| 25 | RepresentationTheory.Weil.AdelicSplitting.FiniteCosets.Construction.finitePositionCosetIndicator (algebraMap ℚ F q) |
| 26 | ((map_ne_zero (algebraMap ℚ F)).mpr hq) |
| 27 | (RepresentationTheory.Weil.AdelicSplitting.FiniteCosets.Construction.finiteRationalPosition a) (RepresentationTheory.Weil.AdelicSplitting.FiniteCosets.Construction.finiteRationalPosition x) := by |
| 28 | have he : CMExtraction.IntegralAdelicCoordinates.TestTransport.integralCoordinateDiagonal F (Fin N) x - CMExtraction.IntegralAdelicCoordinates.TestTransport.integralCoordinateDiagonal F (Fin N) a ∈ |
| 29 | RepresentationTheory.Theta.PoissonAutomorphyFiniteFourier.Construction.finiteLattice q hq ↔ |
| 30 | RepresentationTheory.Weil.AdelicSplitting.FiniteCosets.Construction.finiteRationalPosition x - RepresentationTheory.Weil.AdelicSplitting.FiniteCosets.Construction.finiteRationalPosition a ∈ |
| 31 | RepresentationTheory.Weil.AdelicSplitting.FiniteLattices.Construction.finiteAdelicPositionLattice (algebraMap ℚ F q) |
| 32 | ((map_ne_zero (algebraMap ℚ F)).mpr hq) := by |
| 33 | rw [← map_sub] |
| 34 | have hF : RepresentationTheory.Weil.AdelicSplitting.FiniteCosets.Construction.finiteRationalPosition x - RepresentationTheory.Weil.AdelicSplitting.FiniteCosets.Construction.finiteRationalPosition a = |
| 35 | CMExtraction.IntegralAdelicCoordinates.TestTransport.fieldPositionDiagonal F (Fin N) (x - a) := (map_sub (CMExtraction.IntegralAdelicCoordinates.TestTransport.fieldPositionDiagonal F (Fin N)) x a).symm |
| 36 | rw [hF] |
| 37 | exact CMExtraction.IntegralAdelicCoordinates.TestTransport.integralCoordinateDiagonal_lattice_iff F (Fin N) q hq (x - a) |
| 38 | simp only [RepresentationTheory.Theta.PoissonAutomorphyFiniteFourier.Construction.latticeCosetIndicator, RepresentationTheory.Theta.PoissonAutomorphyFiniteFourier.Construction.latticeIndicator, RepresentationTheory.Weil.AdelicSplitting.FiniteCosets.Construction.finitePositionCosetIndicator, |
| 39 | RepresentationTheory.Weil.AdelicSplitting.FiniteCosets.Construction.finitePositionIndicator, Set.indicator, SetLike.mem_coe, he] |
| 40 | |
| 41 | theorem exists_rational_values (φ : RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.finiteSchwartz (AdelicTestCoordinates.CM.Index F N)) : |
| 42 | ∃ f : RepresentationTheory.Theta.Adelic.FiniteSchwartz.finiteSchwartz F N, |
| 43 | ∀ x : Fin N → F, RepresentationTheory.Theta.Adelic.Evaluation.finiteSchwartzFunction F N f (RepresentationTheory.Weil.AdelicSplitting.FiniteCosets.Construction.finiteRationalPosition x) = |
| 44 | φ.val (CMExtraction.IntegralAdelicCoordinates.TestTransport.integralCoordinateDiagonal F (Fin N) x) := by |
| 45 | obtain ⟨n, hn, s, hs⟩ := RepresentationTheory.Theta.CosetTests.PoissonAutomorphyConstruction.finiteSchwartz_coset_expansion_eq φ |
| 46 | let q : ℚ := n |
| 47 | have hq : q ≠ 0 := by change (n : ℚ) ≠ 0; exact_mod_cast hn.ne' |
| 48 | let a := fun c => (CMExtraction.IntegralAdelicCoordinates.TestTransport.integralPositionCoordinates F (Fin N)).symm (RepresentationTheory.Theta.PoissonAutomorphyFiniteFourier.Construction.finiteQuotientRep q hq c) |
| 49 | let coeff := fun c => φ.val (RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.finiteDiagonal (RepresentationTheory.Theta.PoissonAutomorphyFiniteFourier.Construction.finiteQuotientRep q hq c)) |
| 50 | let T := fun c => CMExtraction.Finite.TestTransport.finiteCosetTensor F N (algebraMap ℚ F q) |
| 51 | ((map_ne_zero (algebraMap ℚ F)).mpr hq) (RepresentationTheory.Weil.AdelicSplitting.FiniteCosets.Construction.finiteRationalPosition (a c)) |
| 52 | have hT (c) (x : Fin N → F) : |
| 53 | RepresentationTheory.Theta.Adelic.Evaluation.finiteSchwartzFunction F N (T c) (RepresentationTheory.Weil.AdelicSplitting.FiniteCosets.Construction.finiteRationalPosition x) = |
| 54 | (RepresentationTheory.Theta.CosetTests.PoissonAutomorphyConstruction.latticeCosetTest q hq (RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.finiteDiagonal (RepresentationTheory.Theta.PoissonAutomorphyFiniteFourier.Construction.finiteQuotientRep q hq c))).val |
| 55 | (CMExtraction.IntegralAdelicCoordinates.TestTransport.integralCoordinateDiagonal F (Fin N) x) := by |
| 56 | dsimp only [T] |
| 57 | rw [CMExtraction.Finite.TestTransport.finiteCosetTensor_value, RepresentationTheory.Theta.CosetTests.PoissonAutomorphyConstruction.latticeCosetTest_apply, |
| 58 | ← rational_coset_value F N q hq (a c) x] |
| 59 | simp only [CMExtraction.IntegralAdelicCoordinates.TestTransport.integralCoordinateDiagonal, a, AddMonoidHom.coe_mk, ZeroHom.coe_mk, |
| 60 | LinearEquiv.apply_symm_apply] |
| 61 | refine ⟨∑ c ∈ s, coeff c • T c, fun x => ?_⟩ |
| 62 | have hx := congrArg (fun ψ : RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.finiteSchwartz (AdelicTestCoordinates.CM.Index F N) => |
| 63 | ψ.val (CMExtraction.IntegralAdelicCoordinates.TestTransport.integralCoordinateDiagonal F (Fin N) x)) hs |
| 64 | simp only [map_sum, map_smul, Finset.sum_apply, Pi.smul_apply, hT, smul_eq_mul] |
| 65 | simpa only [Submodule.coe_sum, Finset.sum_apply, Submodule.coe_smul, |
| 66 | Pi.smul_apply, smul_eq_mul] using hx.symm |
| 67 | |
| 68 | theorem evaluation_surjective : Function.Surjective (RepresentationTheory.Theta.Adelic.CompactSupport.AdelicSchwartz.toAdelicSchwartz F N) := by |
| 69 | intro φ |
| 70 | obtain ⟨f, hf⟩ := exists_rational_values F N ((AdelicTestCoordinates.CM.equivalence F N).symm φ) |
| 71 | refine ⟨f, ?_⟩ |
| 72 | apply Subtype.ext |
| 73 | apply RepresentationTheory.Weil.AdelicSplitting.FiniteCosets.Construction.denseRange_finiteRationalPosition.equalizer |
| 74 | (RepresentationTheory.Theta.Adelic.CompactSupport.AdelicSchwartz.finiteSchwartzFunction_mem F N f).1.continuous φ.property.1.continuous |
| 75 | funext x |
| 76 | exact (hf x).trans (AdelicTestCoordinates.CM.inverse_rational_value F N φ x) |
| 77 | |
| 78 | theorem exists_linear_section : |
| 79 | ∃ s : RepresentationTheory.Theta.Adelic.CompactSupport.AdelicSchwartz.adelicSchwartzFunctions F N →ₗ[ℂ] RepresentationTheory.Theta.Adelic.FiniteSchwartz.finiteSchwartz F N, |
| 80 | (RepresentationTheory.Theta.Adelic.CompactSupport.AdelicSchwartz.toAdelicSchwartz F N).comp s = LinearMap.id := |
| 81 | (RepresentationTheory.Theta.Adelic.CompactSupport.AdelicSchwartz.toAdelicSchwartz F N).exists_rightInverse_of_surjective |
| 82 | (LinearMap.range_eq_top.mpr (evaluation_surjective F N)) |
| 83 | |
| 84 | def sectionMap : |
| 85 | RepresentationTheory.Theta.Adelic.CompactSupport.AdelicSchwartz.adelicSchwartzFunctions F N →ₗ[ℂ] RepresentationTheory.Theta.Adelic.FiniteSchwartz.finiteSchwartz F N := |
| 86 | (exists_linear_section F N).choose |
| 87 | |
| 88 | theorem section_value (φ : RepresentationTheory.Theta.Adelic.CompactSupport.AdelicSchwartz.adelicSchwartzFunctions F N) (x : Fin N → RepresentationTheory.Weil.AdelicSplitting.ArchimedeanAdeles.Construction.FiniteAdeles F) : |
| 89 | RepresentationTheory.Theta.Adelic.Evaluation.finiteSchwartzFunction F N (sectionMap F N φ) x = φ.val x := |
| 90 | congrArg (fun ψ : RepresentationTheory.Theta.Adelic.CompactSupport.AdelicSchwartz.adelicSchwartzFunctions F N => ψ.val x) |
| 91 | (LinearMap.congr_fun (exists_linear_section F N).choose_spec φ) |
| 92 | |
| 93 | end |
| 94 | |
| 95 | end OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.Finite.TensorRepresentatives.CM |