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.CMExtraction.RationalLatticeTopology |
| 2 | import OAI.AlgebraicGeometry.HodgeConjecture.CMExtraction.IntegralBasisLattice |
| 3 | import OAI.AlgebraicGeometry.HodgeConjecture.CMExtraction.DenseAdditiveCompletion |
| 4 | import OAI.RepresentationTheory.Weil.AdelicSplitting.FiniteCosets |
| 5 | import OAI.RepresentationTheory.Theta.PoissonAutomorphyFiniteFourier |
| 6 | |
| 7 | /-! # Integral Adelic Coordinates -/ |
| 8 | |
| 9 | namespace OAI.AlgebraicGeometry.HodgeConjecture.CMExtraction.IntegralAdelicCoordinates.TestTransport |
| 10 | |
| 11 | noncomputable section |
| 12 | |
| 13 | section |
| 14 | |
| 15 | /-! Extend integral-basis coordinates from the dense rational position |
| 16 | space to its two actual finite-adelic completions. -/ |
| 17 | |
| 18 | open scoped Classical _root_.NumberField _root_.Topology |
| 19 | open _root_.NumberField OAI.RepresentationTheory.Theta.PoissonAutomorphyFiniteFourier.Construction OAI.RepresentationTheory.Weil.AdelicSplitting.FiniteCosets.Construction Filter |
| 20 | |
| 21 | variable (F : Type) [Field F] [NumberField F] (I : Type*) [Fintype I] |
| 22 | |
| 23 | def integralPositionCoordinates : (I → F) ≃ₗ[ℚ] ((I × Module.Free.ChooseBasisIndex ℤ (𝓞 F)) → ℚ) where |
| 24 | toFun x ij := (integralBasis F).equivFun (x ij.1) ij.2 |
| 25 | invFun y i := (integralBasis F).equivFun.symm (fun j => y (i, j)) |
| 26 | left_inv x := by funext i; exact (integralBasis F).equivFun.symm_apply_apply (x i) |
| 27 | right_inv y := by |
| 28 | funext ij |
| 29 | exact congr_fun ((integralBasis F).equivFun.apply_symm_apply (fun j => y (ij.1, j))) ij.2 |
| 30 | map_add' x y := by funext ij; simp only [Pi.add_apply, map_add] |
| 31 | map_smul' c x := by funext ij; simp only [Pi.smul_apply, map_smul, RingHom.id_apply] |
| 32 | |
| 33 | def fieldPositionDiagonal : (I → F) →+ (I → RepresentationTheory.Weil.AdelicSplitting.ArchimedeanAdeles.Construction.FiniteAdeles F) where |
| 34 | toFun := RepresentationTheory.Weil.AdelicSplitting.FiniteCosets.Construction.finiteRationalPosition |
| 35 | map_zero' := by funext i; exact map_zero _ |
| 36 | map_add' x y := by funext i; exact map_add _ _ _ |
| 37 | |
| 38 | def integralCoordinateDiagonal : (I → F) →+ ((I × Module.Free.ChooseBasisIndex ℤ (𝓞 F)) → RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.AQf) where |
| 39 | toFun x := RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.finiteDiagonal (integralPositionCoordinates F I x) |
| 40 | map_zero' := by funext i; simp [RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.finiteDiagonal] |
| 41 | map_add' x y := by funext i; simp [RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.finiteDiagonal] |
| 42 | |
| 43 | theorem rationalDiagonal_scaled_integral_iff {J : Type*} (q : ℚ) (hq : q ≠ 0) |
| 44 | (x : J → ℚ) : |
| 45 | RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.finiteDiagonal x ∈ RepresentationTheory.Theta.PoissonAutomorphyFiniteFourier.Construction.finiteLattice q hq ↔ ∀ i, ∃ z : ℤ, q * (z : ℚ) = x i := by |
| 46 | rw [RepresentationTheory.Theta.PoissonAutomorphyFiniteFourier.Construction.finiteLattice_mem_iff] |
| 47 | change (∀ i, algebraMap ℚ RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.AQf q⁻¹ * algebraMap ℚ RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.AQf (x i) ∈ RepresentationTheory.Theta.AdelicSupport.PoissonAutomorphyConstruction.integralAdele) ↔ _ |
| 48 | simp only [← map_mul, RepresentationTheory.Theta.AdelicSupport.PoissonAutomorphyConstruction.rational_integral_iff] |
| 49 | apply forall_congr' |
| 50 | intro i |
| 51 | apply exists_congr |
| 52 | intro z |
| 53 | constructor |
| 54 | · intro hz |
| 55 | rw [hz, ← mul_assoc, mul_inv_cancel₀ hq, one_mul] |
| 56 | · intro hz |
| 57 | rw [← hz, ← mul_assoc, inv_mul_cancel₀ hq, one_mul] |
| 58 | |
| 59 | omit [Fintype I] in |
| 60 | theorem integralCoordinateDiagonal_lattice_iff (q : ℚ) (hq : q ≠ 0) (x : I → F) : |
| 61 | integralCoordinateDiagonal F I x ∈ RepresentationTheory.Theta.PoissonAutomorphyFiniteFourier.Construction.finiteLattice q hq ↔ |
| 62 | fieldPositionDiagonal F I x ∈ RepresentationTheory.Weil.AdelicSplitting.FiniteLattices.Construction.finiteAdelicPositionLattice (algebraMap ℚ F q) |
| 63 | ((map_ne_zero (algebraMap ℚ F)).mpr hq) := by |
| 64 | change RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.finiteDiagonal (integralPositionCoordinates F I x) ∈ RepresentationTheory.Theta.PoissonAutomorphyFiniteFourier.Construction.finiteLattice q hq ↔ |
| 65 | (fun i => algebraMap F (RepresentationTheory.Weil.AdelicSplitting.ArchimedeanAdeles.Construction.FiniteAdeles F) (x i)) ∈ |
| 66 | RepresentationTheory.Weil.AdelicSplitting.FiniteLattices.Construction.finiteAdelicPositionLattice (algebraMap ℚ F q) _ |
| 67 | rw [rationalDiagonal_scaled_integral_iff, RepresentationTheory.Weil.AdelicSplitting.FiniteLattices.Construction.rational_mem_finiteAdelicPositionLattice_iff] |
| 68 | change (∀ ij : I × Module.Free.ChooseBasisIndex ℤ (𝓞 F), |
| 69 | ∃ z : ℤ, q * (z : ℚ) = (integralBasis F).equivFun (x ij.1) ij.2) ↔ _ |
| 70 | simp only [Prod.forall] |
| 71 | exact forall_congr' (fun i => IntegralBasisLattice.TestTransport.integralBasis_scaled_integral_iff F q (x i)) |
| 72 | |
| 73 | theorem integralCoordinateDiagonal_nhds : |
| 74 | comap (fieldPositionDiagonal F I) (𝓝 0) = |
| 75 | comap (integralCoordinateDiagonal F I) (𝓝 0) := by |
| 76 | apply Filter.ext |
| 77 | intro U |
| 78 | constructor |
| 79 | · intro hU |
| 80 | obtain ⟨V, hV, hVU⟩ := mem_comap.mp hU |
| 81 | obtain ⟨N, hN, hNV⟩ := Finite.LatticeTopology.TestTransport.finitePosition_integer_lattice_nhds F V hV |
| 82 | have hnQ : (N : ℚ) ≠ 0 := by exact_mod_cast hN.ne' |
| 83 | have hW : (RepresentationTheory.Theta.PoissonAutomorphyFiniteFourier.Construction.finiteLattice (ι := I × Module.Free.ChooseBasisIndex ℤ (𝓞 F)) |
| 84 | (N : ℚ) hnQ).carrier ∈ 𝓝 (0 : (I × Module.Free.ChooseBasisIndex ℤ (𝓞 F)) → RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.AQf) := |
| 85 | (RepresentationTheory.Theta.PoissonAutomorphyFiniteFourier.Construction.finiteLattice_isOpen (ι := I × Module.Free.ChooseBasisIndex ℤ (𝓞 F)) |
| 86 | (N : ℚ) hnQ).mem_nhds (zero_mem _) |
| 87 | apply mem_of_superset (preimage_mem_comap (m := integralCoordinateDiagonal F I) hW) |
| 88 | intro x hx |
| 89 | apply hVU |
| 90 | apply hNV |
| 91 | change fieldPositionDiagonal F I x ∈ RepresentationTheory.Weil.AdelicSplitting.FiniteLattices.Construction.finiteAdelicPositionLattice (N : F) _ |
| 92 | simpa only [map_natCast] using (integralCoordinateDiagonal_lattice_iff F I _ hnQ x).mp hx |
| 93 | · intro hU |
| 94 | obtain ⟨V, hV, hVU⟩ := mem_comap.mp hU |
| 95 | obtain ⟨N, hN, hNV⟩ := RationalLatticeTopology.TestTransport.rationalPosition_integer_lattice_nhds V hV |
| 96 | have hnQ : (N : ℚ) ≠ 0 := by exact_mod_cast hN.ne' |
| 97 | have hnF : (N : F) ≠ 0 := by exact_mod_cast hN.ne' |
| 98 | have hW : (RepresentationTheory.Weil.AdelicSplitting.FiniteLattices.Construction.finiteAdelicPositionLattice (ι := I) (N : F) hnF).carrier ∈ |
| 99 | 𝓝 (0 : I → RepresentationTheory.Weil.AdelicSplitting.ArchimedeanAdeles.Construction.FiniteAdeles F) := |
| 100 | (RepresentationTheory.Weil.AdelicSplitting.FiniteLattices.Construction.finiteAdelicPositionLattice_isOpen (ι := I) (N : F) hnF).mem_nhds (zero_mem _) |
| 101 | apply mem_of_superset (preimage_mem_comap (m := fieldPositionDiagonal F I) hW) |
| 102 | intro x hx |
| 103 | change fieldPositionDiagonal F I x ∈ RepresentationTheory.Weil.AdelicSplitting.FiniteLattices.Construction.finiteAdelicPositionLattice (N : F) hnF at hx |
| 104 | apply hVU |
| 105 | apply hNV |
| 106 | apply (integralCoordinateDiagonal_lattice_iff F I _ hnQ x).mpr |
| 107 | simpa only [map_natCast] using hx |
| 108 | |
| 109 | omit [Fintype I] in |
| 110 | theorem integralCoordinateDiagonal_dense : DenseRange (integralCoordinateDiagonal F I) := by |
| 111 | intro y |
| 112 | have hr : Set.range (integralCoordinateDiagonal F I) = Set.range RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.finiteDiagonal := by |
| 113 | apply Set.ext |
| 114 | intro z |
| 115 | constructor |
| 116 | · rintro ⟨x, rfl⟩ |
| 117 | exact ⟨integralPositionCoordinates F I x, rfl⟩ |
| 118 | · rintro ⟨x, rfl⟩ |
| 119 | exact ⟨(integralPositionCoordinates F I).symm x, |
| 120 | congrArg RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.finiteDiagonal ((integralPositionCoordinates F I).apply_symm_apply x)⟩ |
| 121 | rw [hr] |
| 122 | exact RepresentationTheory.Theta.PoissonAutomorphyFiniteFourier.Construction.denseRange_finiteDiagonal y |
| 123 | |
| 124 | theorem exists_integralAdelicCoordinates : |
| 125 | ∃ e : (I → RepresentationTheory.Weil.AdelicSplitting.ArchimedeanAdeles.Construction.FiniteAdeles F) ≃ₜ ((I × Module.Free.ChooseBasisIndex ℤ (𝓞 F)) → RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.AQf), |
| 126 | (∀ x, e (fieldPositionDiagonal F I x) = integralCoordinateDiagonal F I x) ∧ |
| 127 | ∀ x y, e (x + y) = e x + e y := by |
| 128 | let := Finite.LatticeTopology.TestTransport.finiteAdeles_locallyCompact F |
| 129 | let := Finite.LatticeTopology.TestTransport.finiteAdeles_t2 F |
| 130 | let : UniformSpace (I → RepresentationTheory.Weil.AdelicSplitting.ArchimedeanAdeles.Construction.FiniteAdeles F) := IsTopologicalAddGroup.rightUniformSpace _ |
| 131 | let : UniformSpace ((I × Module.Free.ChooseBasisIndex ℤ (𝓞 F)) → RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.AQf) := |
| 132 | IsTopologicalAddGroup.rightUniformSpace _ |
| 133 | let : IsUniformAddGroup (I → RepresentationTheory.Weil.AdelicSplitting.ArchimedeanAdeles.Construction.FiniteAdeles F) := isUniformAddGroup_of_addCommGroup |
| 134 | let : IsUniformAddGroup ((I × Module.Free.ChooseBasisIndex ℤ (𝓞 F)) → RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.AQf) := |
| 135 | isUniformAddGroup_of_addCommGroup |
| 136 | let : CompleteSpace (I → RepresentationTheory.Weil.AdelicSplitting.ArchimedeanAdeles.Construction.FiniteAdeles F) := |
| 137 | IsRightUniformAddGroup.completeSpace_of_weaklyLocallyCompactSpace (I → RepresentationTheory.Weil.AdelicSplitting.ArchimedeanAdeles.Construction.FiniteAdeles F) |
| 138 | let : CompleteSpace ((I × Module.Free.ChooseBasisIndex ℤ (𝓞 F)) → RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.AQf) := |
| 139 | IsRightUniformAddGroup.completeSpace_of_weaklyLocallyCompactSpace |
| 140 | ((I × Module.Free.ChooseBasisIndex ℤ (𝓞 F)) → RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.AQf) |
| 141 | exact DenseAdditiveCompletion.TestTransport.exists_additive_completion_homeomorph |
| 142 | (fieldPositionDiagonal F I) (integralCoordinateDiagonal F I) |
| 143 | RepresentationTheory.Weil.AdelicSplitting.FiniteCosets.Construction.denseRange_finiteRationalPosition (integralCoordinateDiagonal_dense F I) |
| 144 | (integralCoordinateDiagonal_nhds F I) |
| 145 | |
| 146 | end |
| 147 | |
| 148 | /-! Retain one chosen integral-basis completion map as a continuous |
| 149 | rational linear equivalence. -/ |
| 150 | |
| 151 | open scoped Classical _root_.NumberField |
| 152 | open OAI.RepresentationTheory.Weil.AdelicSplitting.FiniteCosets.Construction |
| 153 | |
| 154 | variable (F : Type) [Field F] [NumberField F] (I : Type*) [Fintype I] |
| 155 | |
| 156 | instance finiteAdelesRatAlgebra : Algebra ℚ (RepresentationTheory.Weil.AdelicSplitting.ArchimedeanAdeles.Construction.FiniteAdeles F) := |
| 157 | ((algebraMap F (RepresentationTheory.Weil.AdelicSplitting.ArchimedeanAdeles.Construction.FiniteAdeles F)).comp (algebraMap ℚ F)).toAlgebra |
| 158 | |
| 159 | def integralAdelicHomeomorph : |
| 160 | (I → RepresentationTheory.Weil.AdelicSplitting.ArchimedeanAdeles.Construction.FiniteAdeles F) ≃ₜ ((I × Module.Free.ChooseBasisIndex ℤ (𝓞 F)) → RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.AQf) := |
| 161 | (exists_integralAdelicCoordinates F I).choose |
| 162 | |
| 163 | theorem integralAdelicHomeomorph_rational (x : I → F) : |
| 164 | integralAdelicHomeomorph F I (fieldPositionDiagonal F I x) = |
| 165 | integralCoordinateDiagonal F I x := |
| 166 | (exists_integralAdelicCoordinates F I).choose_spec.1 x |
| 167 | |
| 168 | theorem integralAdelicHomeomorph_add (x y : I → RepresentationTheory.Weil.AdelicSplitting.ArchimedeanAdeles.Construction.FiniteAdeles F) : |
| 169 | integralAdelicHomeomorph F I (x + y) = |
| 170 | integralAdelicHomeomorph F I x + integralAdelicHomeomorph F I y := |
| 171 | (exists_integralAdelicCoordinates F I).choose_spec.2 x y |
| 172 | |
| 173 | def integralAdelicAddEquiv : |
| 174 | (I → RepresentationTheory.Weil.AdelicSplitting.ArchimedeanAdeles.Construction.FiniteAdeles F) ≃+ ((I × Module.Free.ChooseBasisIndex ℤ (𝓞 F)) → RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.AQf) where |
| 175 | toEquiv := (integralAdelicHomeomorph F I).toEquiv |
| 176 | map_add' := integralAdelicHomeomorph_add F I |
| 177 | |
| 178 | def integralAdelicLinearEquiv : |
| 179 | (I → RepresentationTheory.Weil.AdelicSplitting.ArchimedeanAdeles.Construction.FiniteAdeles F) ≃L[ℚ] ((I × Module.Free.ChooseBasisIndex ℤ (𝓞 F)) → RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.AQf) where |
| 180 | toLinearEquiv := |
| 181 | { toAddEquiv := integralAdelicAddEquiv F I |
| 182 | map_smul' := map_rat_smul (integralAdelicAddEquiv F I) } |
| 183 | continuous_toFun := (integralAdelicHomeomorph F I).continuous |
| 184 | continuous_invFun := (integralAdelicHomeomorph F I).symm.continuous |
| 185 | |
| 186 | theorem integralAdelicLinearEquiv_rational (x : I → F) : |
| 187 | integralAdelicLinearEquiv F I (fieldPositionDiagonal F I x) = |
| 188 | integralCoordinateDiagonal F I x := integralAdelicHomeomorph_rational F I x |
| 189 | |
| 190 | end |
| 191 | |
| 192 | end OAI.AlgebraicGeometry.HodgeConjecture.CMExtraction.IntegralAdelicCoordinates.TestTransport |