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.ThetaCycle.RestrictedPositions |
| 2 | import OAI.RepresentationTheory.Theta.Adelic.CompactSupport |
| 3 | |
| 4 | /-! # Adelic Local Factorization -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.HodgeConjecture.ThetaCycle.AdelicLocalFactorization.CM |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | section |
| 11 | |
| 12 | /-! ThetaCycle: every actual finite adelic Schwartz function has a finite local |
| 13 | factorization, with the integral vacuum outside finitely many places. -/ |
| 14 | |
| 15 | open scoped Classical _root_.NumberField |
| 16 | open Filter |
| 17 | open OAI.RepresentationTheory.Theta.Adelic.FiniteSchwartz OAI.RepresentationTheory.Theta.Adelic.CompactSupport.AdelicSchwartz |
| 18 | |
| 19 | variable (F : Type) [Field F] [NumberField F] (N : ℕ) |
| 20 | |
| 21 | def finiteAdelicPositionHomeomorph : |
| 22 | (Fin N → RepresentationTheory.Weil.AdelicSplitting.ArchimedeanAdeles.Construction.FiniteAdeles F) ≃ₜ |
| 23 | RestrictedProduct (fun v : RepresentationTheory.Theta.Adelic.FiniteSchwartz.FinitePlace F => Fin N → v.adicCompletion F) |
| 24 | (fun v => {x | ∀ i, x i ∈ v.adicCompletionIntegers F}) cofinite := |
| 25 | RestrictedPositions.CM.restrictedPositionHomeomorph |
| 26 | (fun v : RepresentationTheory.Theta.Adelic.FiniteSchwartz.FinitePlace F => v.adicCompletion F) |
| 27 | (fun v => (v.adicCompletionIntegers F : Set (v.adicCompletion F))) |
| 28 | (fun v => Valued.isOpen_integer (v.adicCompletion F)) |
| 29 | |
| 30 | theorem finite_adelic_position_lattice_compact (v : RepresentationTheory.Theta.Adelic.FiniteSchwartz.FinitePlace F) : |
| 31 | IsCompact {x : Fin N → v.adicCompletion F | ∀ i, x i ∈ v.adicCompletionIntegers F} := by |
| 32 | simpa only [RepresentationTheory.Weil.AdelicSplitting.Vacuum.Construction.finitePositionLattice, Set.pi, Set.mem_univ, forall_true_left] using! |
| 33 | RepresentationTheory.Weil.AdelicSplitting.Vacuum.Construction.finitePositionLattice_compact F N v |
| 34 | |
| 35 | theorem finite_adelic_position_lattice_open (v : RepresentationTheory.Theta.Adelic.FiniteSchwartz.FinitePlace F) : |
| 36 | IsOpen {x : Fin N → v.adicCompletion F | ∀ i, x i ∈ v.adicCompletionIntegers F} := by |
| 37 | simpa only [RepresentationTheory.Weil.AdelicSplitting.Vacuum.Construction.finitePositionLattice, Set.pi, Set.mem_univ, forall_true_left] using! |
| 38 | (RepresentationTheory.Weil.AdelicSplitting.Vacuum.Construction.finitePositionLattice_clopen F N v).isOpen |
| 39 | |
| 40 | theorem finite_adelic_local_factorization (p : RepresentationTheory.Theta.Adelic.FiniteSchwartz.FinitePlace F) |
| 41 | (φ : RepresentationTheory.Theta.Adelic.CompactSupport.AdelicSchwartz.adelicSchwartzFunctions F N) : |
| 42 | ∃ (S : Finset (RepresentationTheory.Theta.Adelic.FiniteSchwartz.FinitePlace F)) (n : ℕ) (c : Fin n → ℂ) |
| 43 | (ψ : Fin n → (v : S) → Analysis.Schwartz.TensorDecomposition.Constructions.SchwartzBruhat (Fin N → v.val.adicCompletion F)), |
| 44 | p ∈ S ∧ ∀ x : Fin N → RepresentationTheory.Weil.AdelicSplitting.ArchimedeanAdeles.Construction.FiniteAdeles F, |
| 45 | φ.val x = if ∀ v, v ∉ S → ∀ i, x i v ∈ v.adicCompletionIntegers F then |
| 46 | ∑ j : Fin n, c j * ∏ v : S, (ψ j v).val (fun i => x i v.val) else 0 := by |
| 47 | let h := finiteAdelicPositionHomeomorph F N |
| 48 | let f : Analysis.Schwartz.TensorDecomposition.Constructions.SchwartzBruhat _ := |
| 49 | ⟨φ.val ∘ h.symm, φ.property.1.comp_continuous h.symm.continuous, |
| 50 | φ.property.2.comp_homeomorph h.symm⟩ |
| 51 | obtain ⟨S, n, c, ψ, hp, he⟩ := Analysis.Schwartz.TensorDecomposition.Constructions.finite_local_factorization |
| 52 | (fun v : RepresentationTheory.Theta.Adelic.FiniteSchwartz.FinitePlace F => Fin N → v.adicCompletion F) |
| 53 | (fun v => {x | ∀ i, x i ∈ v.adicCompletionIntegers F}) |
| 54 | (finite_adelic_position_lattice_compact F N) (finite_adelic_position_lattice_open F N) |
| 55 | (fun v => ⟨0, fun _ => (v.adicCompletionIntegers F).zero_mem⟩) p f |
| 56 | refine ⟨S, n, c, ψ, hp, fun x => ?_⟩ |
| 57 | have hx := he (h x) |
| 58 | change φ.val (h.symm (h x)) = _ at hx |
| 59 | rw [h.symm_apply_apply] at hx |
| 60 | exact hx |
| 61 | |
| 62 | end |
| 63 | |
| 64 | /-! ThetaCycle: the native restricted tensor evaluation represents every actual |
| 65 | finite adelic Schwartz function. This is an existence theorem for the full |
| 66 | function space, without a tensor-factorization hypothesis on the input. -/ |
| 67 | |
| 68 | open scoped Classical _root_.NumberField |
| 69 | open Filter |
| 70 | open OAI.RepresentationTheory.Theta.Adelic.FiniteSchwartz OAI.RepresentationTheory.Theta.Adelic.CompactSupport.AdelicSchwartz |
| 71 | open OAI.RepresentationTheory.Theta.Adelic.Evaluation OAI.RepresentationTheory.Theta.Adelic.Evaluation.AdelicLocalConstancy |
| 72 | open OAI.RepresentationTheory.Theta.Adelic.TensorProjective.Restricted |
| 73 | |
| 74 | variable (F : Type) [Field F] [NumberField F] (N : ℕ) |
| 75 | |
| 76 | def localFactorFamily (S : Finset (RepresentationTheory.Theta.Adelic.FiniteSchwartz.FinitePlace F)) |
| 77 | (ψ : (v : S) → Analysis.Schwartz.TensorDecomposition.Constructions.SchwartzBruhat (Fin N → v.val.adicCompletion F)) |
| 78 | (v : RepresentationTheory.Theta.Adelic.FiniteSchwartz.FinitePlace F) : RepresentationTheory.Weil.Local.FunctionsMetaplectic.Construction.schwartzBruhat (v.adicCompletion F) N := |
| 79 | if hv : v ∈ S then |
| 80 | ⟨(ψ ⟨v, hv⟩).val, RepresentationTheory.Weil.Local.FunctionsMetaplectic.Construction.compact_locallyConstant_mem (ψ ⟨v, hv⟩).property.1 |
| 81 | (ψ ⟨v, hv⟩).property.2⟩ |
| 82 | else RepresentationTheory.Weil.AdelicSplitting.Vacuum.Construction.finiteVacuum F N v |
| 83 | |
| 84 | theorem local_factor_family_inside (S : Finset (RepresentationTheory.Theta.Adelic.FiniteSchwartz.FinitePlace F)) |
| 85 | (ψ : (v : S) → Analysis.Schwartz.TensorDecomposition.Constructions.SchwartzBruhat (Fin N → v.val.adicCompletion F)) |
| 86 | (v : S) : (localFactorFamily F N S ψ v.val).val = (ψ v).val := by |
| 87 | simp only [localFactorFamily, dite_eq_left v.property] |
| 88 | |
| 89 | theorem local_factor_family_outside (S : Finset (RepresentationTheory.Theta.Adelic.FiniteSchwartz.FinitePlace F)) |
| 90 | (ψ : (v : S) → Analysis.Schwartz.TensorDecomposition.Constructions.SchwartzBruhat (Fin N → v.val.adicCompletion F)) |
| 91 | (v : RepresentationTheory.Theta.Adelic.FiniteSchwartz.FinitePlace F) (hv : v ∉ S) : localFactorFamily F N S ψ v = RepresentationTheory.Weil.AdelicSplitting.Vacuum.Construction.finiteVacuum F N v := |
| 92 | dite_eq_right hv |
| 93 | |
| 94 | theorem local_factor_family_restricted (S : Finset (RepresentationTheory.Theta.Adelic.FiniteSchwartz.FinitePlace F)) |
| 95 | (ψ : (v : S) → Analysis.Schwartz.TensorDecomposition.Constructions.SchwartzBruhat (Fin N → v.val.adicCompletion F)) : |
| 96 | ∀ᶠ v in cofinite, localFactorFamily F N S ψ v = RepresentationTheory.Weil.AdelicSplitting.Vacuum.Construction.finiteVacuum F N v := by |
| 97 | filter_upwards [show ∀ᶠ v in cofinite, v ∉ S from by simp] with v hv |
| 98 | exact local_factor_family_outside F N S ψ v hv |
| 99 | |
| 100 | def localFactorTensor (S : Finset (RepresentationTheory.Theta.Adelic.FiniteSchwartz.FinitePlace F)) |
| 101 | (ψ : (v : S) → Analysis.Schwartz.TensorDecomposition.Constructions.SchwartzBruhat (Fin N → v.val.adicCompletion F)) : |
| 102 | RepresentationTheory.Theta.Adelic.FiniteSchwartz.finiteSchwartz F N := |
| 103 | RepresentationTheory.Theta.Adelic.TensorProjective.Restricted.pure (RepresentationTheory.Weil.AdelicSplitting.Vacuum.Construction.finiteVacuum F N) (localFactorFamily F N S ψ) (local_factor_family_restricted F N S ψ) |
| 104 | |
| 105 | theorem local_factor_tensor_evaluation (S : Finset (RepresentationTheory.Theta.Adelic.FiniteSchwartz.FinitePlace F)) |
| 106 | (ψ : (v : S) → Analysis.Schwartz.TensorDecomposition.Constructions.SchwartzBruhat (Fin N → v.val.adicCompletion F)) |
| 107 | (x : Fin N → RepresentationTheory.Weil.AdelicSplitting.ArchimedeanAdeles.Construction.FiniteAdeles F) : |
| 108 | RepresentationTheory.Theta.Adelic.Evaluation.finiteSchwartzFunction F N (localFactorTensor F N S ψ) x = |
| 109 | if ∀ v, v ∉ S → ∀ i, x i v ∈ v.adicCompletionIntegers F then |
| 110 | ∏ v : S, (ψ v).val (fun i => x i v.val) else 0 := by |
| 111 | rw [localFactorTensor, RepresentationTheory.Theta.Adelic.Evaluation.finiteSchwartzFunction_pure, |
| 112 | RepresentationTheory.Theta.Adelic.Evaluation.AdelicLocalConstancy.pure_product_decomposition F N _ (local_factor_family_restricted F N S ψ) S |
| 113 | (local_factor_family_outside F N S ψ)] |
| 114 | by_cases hx : ∀ v, v ∉ S → ∀ i, x i v ∈ v.adicCompletionIntegers F |
| 115 | · rw [ite_eq_left hx, (LocallyConstant.charFn_eq_one ℂ x (RepresentationTheory.Theta.Adelic.Evaluation.AdelicLocalConstancy.integralOutside_clopen F N S)).mpr hx, |
| 116 | one_mul] |
| 117 | rw [← Finset.prod_coe_sort S] |
| 118 | apply Finset.prod_congr rfl |
| 119 | intro v _ |
| 120 | exact congrFun (local_factor_family_inside F N S ψ v) (fun i => x i v.val) |
| 121 | · rw [ite_eq_right hx, (LocallyConstant.charFn_eq_zero ℂ x (RepresentationTheory.Theta.Adelic.Evaluation.AdelicLocalConstancy.integralOutside_clopen F N S)).mpr hx, |
| 122 | zero_mul] |
| 123 | |
| 124 | theorem finite_schwartz_evaluation_surjective (p : RepresentationTheory.Theta.Adelic.FiniteSchwartz.FinitePlace F) : |
| 125 | Function.Surjective (RepresentationTheory.Theta.Adelic.CompactSupport.AdelicSchwartz.toAdelicSchwartz F N) := by |
| 126 | intro φ |
| 127 | obtain ⟨S, n, c, ψ, _, hdec⟩ := finite_adelic_local_factorization F N p φ |
| 128 | refine ⟨∑ j : Fin n, c j • localFactorTensor F N S (ψ j), ?_⟩ |
| 129 | apply Subtype.ext |
| 130 | funext x |
| 131 | change RepresentationTheory.Theta.Adelic.Evaluation.finiteSchwartzFunction F N (∑ j : Fin n, c j • localFactorTensor F N S (ψ j)) x = φ.val x |
| 132 | rw [map_sum, Finset.sum_apply] |
| 133 | simp only [map_smul, Pi.smul_apply, smul_eq_mul, local_factor_tensor_evaluation] |
| 134 | rw [hdec x] |
| 135 | split_ifs with hx |
| 136 | · rfl |
| 137 | · simp only [mul_zero, Finset.sum_const_zero] |
| 138 | |
| 139 | end |
| 140 | |
| 141 | end OAI.AlgebraicGeometry.HodgeConjecture.ThetaCycle.AdelicLocalFactorization.CM |