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.NumberTheory.Quaternion.Arithmetic.OpennessOfVolume |
| 2 | import Mathlib.Topology.Algebra.ContinuousMonoidHom |
| 3 | |
| 4 | /-! # Selected Arithmetic Product -/ |
| 5 | |
| 6 | namespace OAI.NumberTheory.Quaternion.Arithmetic.SelectedArithmeticProduct |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | section |
| 11 | |
| 12 | /-! Reindex the actual selected-place product by finite places once |
| 13 | the omitted set contains every archimedean place. -/ |
| 14 | |
| 15 | open scoped Classical _root_.NumberField |
| 16 | open IsDedekindDomain Set |
| 17 | |
| 18 | variable {F : Type} [Field F] [NumberField F] {n : ℕ} |
| 19 | |
| 20 | def awayFinitePlace (S : Finset (LocalAdeles.Place F)) |
| 21 | (harch : ∀ w : NumberField.InfinitePlace F, Sum.inl w ∈ S) (v : ApproximationTopology.AwayPlace S) : |
| 22 | HeightOneSpectrum (𝓞 F) := by |
| 23 | obtain ⟨v, hv⟩ := v |
| 24 | cases v with |
| 25 | | inl w => exact (hv (harch w)).elim |
| 26 | | inr w => exact w |
| 27 | |
| 28 | omit [NumberField F] in |
| 29 | theorem inr_awayFinitePlace (S : Finset (LocalAdeles.Place F)) |
| 30 | (harch : ∀ w : NumberField.InfinitePlace F, Sum.inl w ∈ S) (v : ApproximationTopology.AwayPlace S) : |
| 31 | Sum.inr (awayFinitePlace S harch v) = v.val := by |
| 32 | obtain ⟨v, hv⟩ := v |
| 33 | cases v with |
| 34 | | inl w => exact (hv (harch w)).elim |
| 35 | | inr w => rfl |
| 36 | |
| 37 | def localPointsPlaceEquiv (G : ArithmeticGroups.Lattices.Algebraic.MatrixAlgebraicGroup F n) {v w : LocalAdeles.Place F} (h : v = w) : |
| 38 | LocalAdeles.LocalPoints G v ≃ₜ* LocalAdeles.LocalPoints G w := by |
| 39 | subst w |
| 40 | exact ContinuousMulEquiv.refl _ |
| 41 | |
| 42 | theorem localPointsPlaceEquiv_diagonal (G : ArithmeticGroups.Lattices.Algebraic.MatrixAlgebraicGroup F n) {v w : LocalAdeles.Place F} (h : v = w) |
| 43 | (g : G.RationalPoints) : localPointsPlaceEquiv G h (LocalAdeles.diagonalLocal G v g) = LocalAdeles.diagonalLocal G w g := by |
| 44 | subst w |
| 45 | rfl |
| 46 | |
| 47 | def selectedFinitePlaces (S : Finset (LocalAdeles.Place F)) (T : Finset (ApproximationTopology.AwayPlace S)) |
| 48 | (harch : ∀ w : NumberField.InfinitePlace F, Sum.inl w ∈ S) : |
| 49 | ↥(T : Set (ApproximationTopology.AwayPlace S)) → HeightOneSpectrum (𝓞 F) := |
| 50 | fun v => awayFinitePlace S harch v.val |
| 51 | |
| 52 | omit [NumberField F] in |
| 53 | theorem selectedFinitePlaces_injective (S : Finset (LocalAdeles.Place F)) (T : Finset (ApproximationTopology.AwayPlace S)) |
| 54 | (harch : ∀ w : NumberField.InfinitePlace F, Sum.inl w ∈ S) : |
| 55 | Function.Injective (selectedFinitePlaces S T harch) := by |
| 56 | intro v w h |
| 57 | apply Subtype.ext |
| 58 | apply Subtype.ext |
| 59 | rw [← inr_awayFinitePlace S harch v.val, ← inr_awayFinitePlace S harch w.val] |
| 60 | exact congrArg Sum.inr h |
| 61 | |
| 62 | def selectedFiniteProductEquiv (G : ArithmeticGroups.Lattices.Algebraic.MatrixAlgebraicGroup F n) (S : Finset (LocalAdeles.Place F)) |
| 63 | (T : Finset (ApproximationTopology.AwayPlace S)) (harch : ∀ w : NumberField.InfinitePlace F, Sum.inl w ∈ S) : |
| 64 | Groups.SelectedLocalProduct G S T ≃ₜ* |
| 65 | (∀ v : (T : Set (ApproximationTopology.AwayPlace S)), LocalAdeles.LocalPoints G (Sum.inr (selectedFinitePlaces S T harch v))) := |
| 66 | ContinuousMulEquiv.mk' |
| 67 | (Homeomorph.piCongrRight (fun v : (T : Set (ApproximationTopology.AwayPlace S)) => |
| 68 | (localPointsPlaceEquiv G (inr_awayFinitePlace S harch v.val).symm).toHomeomorph)) |
| 69 | (fun x y => funext fun v => map_mul (localPointsPlaceEquiv G |
| 70 | (inr_awayFinitePlace S harch v.val).symm) (x v) (y v)) |
| 71 | |
| 72 | theorem selectedFiniteProductEquiv_projection (G : ArithmeticGroups.Lattices.Algebraic.MatrixAlgebraicGroup F n) |
| 73 | (S : Finset (LocalAdeles.Place F)) (T : Finset (ApproximationTopology.AwayPlace S)) |
| 74 | (harch : ∀ w : NumberField.InfinitePlace F, Sum.inl w ∈ S) (g : Groups.arithmeticSubgroup G S T) : |
| 75 | selectedFiniteProductEquiv G S T harch (Groups.arithmeticProjection G S T g) = |
| 76 | Product.diagonalFiniteProduct G (selectedFinitePlaces S T harch) g.val := by |
| 77 | funext v |
| 78 | exact localPointsPlaceEquiv_diagonal G (inr_awayFinitePlace S harch v.val).symm g.val |
| 79 | |
| 80 | end |
| 81 | |
| 82 | section |
| 83 | |
| 84 | /-! The selected arithmetic projection is exactly the reindexed |
| 85 | finite-place arithmetic subgroup, with the same integrality conditions. -/ |
| 86 | |
| 87 | open scoped Classical _root_.NumberField |
| 88 | open IsDedekindDomain Set |
| 89 | |
| 90 | variable {F : Type} [Field F] [NumberField F] {n : ℕ} |
| 91 | |
| 92 | def selectedArithmeticPlaces (S : Finset (LocalAdeles.Place F)) (T : Finset (ApproximationTopology.AwayPlace S)) : Finset (LocalAdeles.Place F) := |
| 93 | S ∪ T.image Subtype.val |
| 94 | |
| 95 | theorem arithmeticSubgroup_eq_selectedIntegral (G : ArithmeticGroups.Lattices.Algebraic.MatrixAlgebraicGroup F n) |
| 96 | (S : Finset (LocalAdeles.Place F)) (T : Finset (ApproximationTopology.AwayPlace S)) : |
| 97 | Groups.arithmeticSubgroup G S T = Groups.sIntegralPoints G (selectedArithmeticPlaces S T : Set (LocalAdeles.Place F)) := by |
| 98 | rw [Groups.arithmeticSubgroup_eq_sIntegralPoints] |
| 99 | congr 1 |
| 100 | simp only [selectedArithmeticPlaces, Finset.coe_union, Finset.coe_image] |
| 101 | |
| 102 | theorem selectedFiniteProductEquiv_arithmetic_range (G : ArithmeticGroups.Lattices.Algebraic.MatrixAlgebraicGroup F n) |
| 103 | (S : Finset (LocalAdeles.Place F)) (T : Finset (ApproximationTopology.AwayPlace S)) |
| 104 | (harch : ∀ w : NumberField.InfinitePlace F, Sum.inl w ∈ S) : |
| 105 | (Groups.arithmeticProjection G S T).range.map (selectedFiniteProductEquiv G S T harch).toMulEquiv.toMonoidHom = |
| 106 | Product.arithmeticProductSubgroup G (selectedArithmeticPlaces S T) (selectedFinitePlaces S T harch) := by |
| 107 | apply Subgroup.ext |
| 108 | intro x |
| 109 | constructor |
| 110 | · rintro ⟨y, ⟨g, rfl⟩, rfl⟩ |
| 111 | refine ⟨g.val, ?_, (selectedFiniteProductEquiv_projection G S T harch g).symm⟩ |
| 112 | exact (arithmeticSubgroup_eq_selectedIntegral G S T).le g.property |
| 113 | · rintro ⟨g, hg, rfl⟩ |
| 114 | have hg' : g ∈ Groups.arithmeticSubgroup G S T := |
| 115 | (arithmeticSubgroup_eq_selectedIntegral G S T).ge hg |
| 116 | refine ⟨Groups.arithmeticProjection G S T ⟨g, hg'⟩, ⟨⟨g, hg'⟩, rfl⟩, ?_⟩ |
| 117 | exact selectedFiniteProductEquiv_projection G S T harch ⟨g, hg'⟩ |
| 118 | |
| 119 | end |
| 120 | |
| 121 | /-! The actual selected arithmetic projection has open closure, and |
| 122 | then finite index, from the remaining invariant-volume obligation. -/ |
| 123 | |
| 124 | open scoped Classical _root_.NumberField |
| 125 | open IsDedekindDomain Set _root_.Topology |
| 126 | |
| 127 | theorem subgroup_closure_isOpen_of_equiv_map |
| 128 | {L M : Type*} [Group L] [Group M] [TopologicalSpace L] [TopologicalSpace M] |
| 129 | [IsTopologicalGroup L] [IsTopologicalGroup M] |
| 130 | (e : L ≃ₜ* M) (H : Subgroup L) |
| 131 | (hopen : IsOpen ((H.map e.toMulEquiv.toMonoidHom).topologicalClosure : Set M)) : |
| 132 | IsOpen (H.topologicalClosure : Set L) := by |
| 133 | have he : (H.topologicalClosure : Set L) = |
| 134 | e ⁻¹' ((H.map e.toMulEquiv.toMonoidHom).topologicalClosure : Set M) := by |
| 135 | change closure (H : Set L) = e ⁻¹' closure (e '' (H : Set L)) |
| 136 | apply Eq.trans ?_ (e.toHomeomorph.preimage_closure (e '' (H : Set L))).symm |
| 137 | congr 1 |
| 138 | exact (Set.preimage_image_eq _ e.injective).symm |
| 139 | rw [he] |
| 140 | exact hopen.preimage e.continuous |
| 141 | |
| 142 | variable {F : Type} [Field F] [NumberField F] {n : ℕ} |
| 143 | |
| 144 | theorem arithmeticProjection_closure_isOpen_of_volume |
| 145 | (G : ArithmeticGroups.Lattices.Algebraic.MatrixAlgebraicGroup F n) (hconn : G.IsGeometricallyConnected) |
| 146 | (hsimple : AlgebraicHypotheses.IsAbsolutelyAlmostSimple G) (hsemi : G.IsSemisimple) |
| 147 | (S : Finset (LocalAdeles.Place F)) (harch : ∀ w : NumberField.InfinitePlace F, Sum.inl w ∈ S) |
| 148 | (hnoncompact : ∃ w : LocalAdeles.Place F, w ∈ S ∧ ¬ CompactSpace (LocalAdeles.LocalPoints G w)) |
| 149 | (hvolume : ∀ v : ApproximationTopology.AwayPlace S, CompactQuotientProjection.QuotientHasInvariantProbability (Ambient.arithmeticAmbientSubgroup G S {v})) |
| 150 | (T : Finset (ApproximationTopology.AwayPlace S)) : |
| 151 | IsOpen ((Groups.arithmeticProjection G S T).range.topologicalClosure : Set (Groups.SelectedLocalProduct G S T)) := by |
| 152 | let v := selectedFinitePlaces S T harch |
| 153 | have haway (i : (T : Set (ApproximationTopology.AwayPlace S))) : Sum.inr (v i) ∉ S := by |
| 154 | change Sum.inr (awayFinitePlace S harch i.val) ∉ S |
| 155 | rw [inr_awayFinitePlace] |
| 156 | exact i.val.property |
| 157 | have hSU : S ⊆ selectedArithmeticPlaces S T := Finset.subset_union_left |
| 158 | have hU (i : (T : Set (ApproximationTopology.AwayPlace S))) : Sum.inr (v i) ∈ selectedArithmeticPlaces S T := by |
| 159 | change Sum.inr (awayFinitePlace S harch i.val) ∈ selectedArithmeticPlaces S T |
| 160 | rw [inr_awayFinitePlace] |
| 161 | exact Finset.mem_union_right _ (Finset.mem_image.mpr ⟨i.val, i.property, rfl⟩) |
| 162 | have hopen := OpennessOfVolume.arithmetic_finite_product_closure_isOpen_of_volume G hconn hsimple hsemi |
| 163 | S (selectedArithmeticPlaces S T) harch v (selectedFinitePlaces_injective S T harch) |
| 164 | haway hSU hU hnoncompact (fun i => hvolume ⟨Sum.inr (v i), haway i⟩) |
| 165 | apply subgroup_closure_isOpen_of_equiv_map (selectedFiniteProductEquiv G S T harch) |
| 166 | (Groups.arithmeticProjection G S T).range |
| 167 | rwa [selectedFiniteProductEquiv_arithmetic_range] |
| 168 | |
| 169 | theorem arithmeticProjection_closure_finiteIndex_of_volume |
| 170 | (G : ArithmeticGroups.Lattices.Algebraic.MatrixAlgebraicGroup F n) (hconn : G.IsGeometricallyConnected) |
| 171 | (hsimple : AlgebraicHypotheses.IsAbsolutelyAlmostSimple G) (hsemi : G.IsSemisimple) |
| 172 | (S : Finset (LocalAdeles.Place F)) (harch : ∀ w : NumberField.InfinitePlace F, Sum.inl w ∈ S) |
| 173 | (hnoncompact : ∃ w : LocalAdeles.Place F, w ∈ S ∧ ¬ CompactSpace (LocalAdeles.LocalPoints G w)) |
| 174 | (hvolume : ∀ T : Finset (ApproximationTopology.AwayPlace S), CompactQuotientProjection.QuotientHasInvariantProbability (Ambient.arithmeticAmbientSubgroup G S T)) |
| 175 | (T : Finset (ApproximationTopology.AwayPlace S)) : (Groups.arithmeticProjection G S T).range.topologicalClosure.FiniteIndex := |
| 176 | Ambient.arithmeticProjection_closure_finiteIndex G S T (hvolume T) |
| 177 | (arithmeticProjection_closure_isOpen_of_volume G hconn hsimple hsemi S harch hnoncompact |
| 178 | (fun v => hvolume {v}) T) |
| 179 | |
| 180 | end |
| 181 | |
| 182 | end OAI.NumberTheory.Quaternion.Arithmetic.SelectedArithmeticProduct |