Download data/lean/OAI/NumberTheory/DukePrimeDegree/Geometry/DenseDiagonalGenerators.lean from introvoyz045/math: direct link, hf CLI and curl.
- Browser
- Download file 4.93 kB
-
https://huggingface.co/datasets/introvoyz045/math/resolve/main/data/lean/OAI/NumberTheory/DukePrimeDegree/Geometry/DenseDiagonalGenerators.lean
- Command line
-
hf download hf://datasets/introvoyz045/math/data/lean/OAI/NumberTheory/DukePrimeDegree/Geometry/DenseDiagonalGenerators.lean
-
curl -L -o DenseDiagonalGenerators.lean https://huggingface.co/datasets/introvoyz045/math/resolve/main/data/lean/OAI/NumberTheory/DukePrimeDegree/Geometry/DenseDiagonalGenerators.lean
4.93 kB
| import Mathlib.Topology.Instances.AddCircle.DenseSubgroup | |
| import Mathlib.NumberTheory.Real.Irrational | |
| import Mathlib.LinearAlgebra.Pi | |
| import Mathlib.Topology.Algebra.Group.Subgroup | |
| import Mathlib.Topology.Algebra.Constructions.DomMulAct | |
| namespace OAI | |
| /-! | |
| # A finite dense generating family for diagonal parameters | |
| In each real logarithmic coordinate, shifts by one and by square root | |
| of two generate a dense additive subgroup. Thus the diagonal action | |
| has a concrete finite topologically generating family; no one of its | |
| elements is asserted to be ergodic. | |
| -/ | |
| noncomputable section | |
| open Set | |
| open scoped BigOperators | |
| namespace DukePrimeDegree | |
| variable {I : Type*} [Fintype I] [DecidableEq I] | |
| def diagonalParameterGenerators (p : I Γ Bool) : I β β := | |
| Pi.single p.1 (if p.2 then Real.sqrt 2 else 1) | |
| def singleCoordinateAddHom (i : I) : β β+ (I β β) where | |
| toFun := fun t : β => (Pi.single i t : I β β) | |
| map_zero' := by ext j; simp | |
| map_add' s t := by ext j; by_cases h : i = j <;> simp [h] | |
| omit [Fintype I] in | |
| lemma continuous_singleCoordinateAddHom (i : I) : | |
| Continuous (singleCoordinateAddHom i : β β I β β) := by | |
| apply continuous_pi | |
| intro j | |
| by_cases h : i = j | |
| Β· subst j | |
| have he : (fun t : β => singleCoordinateAddHom i t i) = id := by | |
| funext t | |
| simp [singleCoordinateAddHom] | |
| change Continuous (fun t : β => singleCoordinateAddHom i t i) | |
| rw [he] | |
| exact continuous_id | |
| Β· simpa [singleCoordinateAddHom, h] using | |
| (continuous_const : Continuous (fun _ : β => (0 : β))) | |
| theorem dense_diagonalParameterGenerators : | |
| Dense (AddSubgroup.closure (range (diagonalParameterGenerators (I := I))) : Set (I β β)) := by | |
| let H := AddSubgroup.closure (range (diagonalParameterGenerators (I := I))) | |
| have hline (i : I) (t : β) : Pi.single i t β H.topologicalClosure := by | |
| let S : AddSubgroup β := H.topologicalClosure.comap (singleCoordinateAddHom i) | |
| have hSclosed : IsClosed (S : Set β) := | |
| H.isClosed_topologicalClosure.preimage (continuous_singleCoordinateAddHom i) | |
| have h1 : (1 : β) β S := by | |
| apply H.le_topologicalClosure | |
| apply AddSubgroup.subset_closure | |
| exact β¨(i, false), by simp [diagonalParameterGenerators, singleCoordinateAddHom]β© | |
| have h2 : Real.sqrt 2 β S := by | |
| apply H.le_topologicalClosure | |
| apply AddSubgroup.subset_closure | |
| exact β¨(i, true), by simp [diagonalParameterGenerators, singleCoordinateAddHom]β© | |
| have hd : Dense (AddSubgroup.closure {Real.sqrt 2, 1} : Set β) := | |
| dense_addSubgroupClosure_pair_iff.mpr (by simpa using irrational_sqrt_two) | |
| have hle : AddSubgroup.closure {Real.sqrt 2, 1} β€ S := | |
| (AddSubgroup.closure_le _).mpr (by rw [pair_subset_iff]; exact β¨h2, h1β©) | |
| have hdS : Dense (S : Set β) := hd.mono hle | |
| have ht : t β (S : Set β) := by | |
| rw [β hSclosed.closure_eq] | |
| exact hdS t | |
| exact ht | |
| intro v | |
| change v β closure (H : Set (I β β)) | |
| change v β H.topologicalClosure | |
| have he : (β i, Pi.single i (v i)) = v := by | |
| ext j | |
| simp | |
| rw [β he] | |
| exact H.topologicalClosure.sum_mem (fun i _ => hline i (v i)) | |
| def multiplicativeParameterGenerators (p : I Γ Bool) : Multiplicative (I β β) := | |
| Multiplicative.ofAdd (diagonalParameterGenerators p) | |
| lemma dense_multiplicativeParameterGenerators : | |
| Dense (Subgroup.closure (range (multiplicativeParameterGenerators (I := I))) : | |
| Set (Multiplicative (I β β))) := by | |
| have he : (AddSubgroup.closure (range (diagonalParameterGenerators (I := I)))).toSubgroup = | |
| Subgroup.closure (range (multiplicativeParameterGenerators (I := I))) := by | |
| rw [AddSubgroup.toSubgroup_closure] | |
| congr 1 | |
| rw [β he] | |
| exact dense_diagonalParameterGenerators | |
| /-- On an abelian group the domain-action type tag is also a group | |
| homomorphism, so dense generators transfer to the Koopman action. -/ | |
| def parameterDomainHom : Multiplicative (I β β) β* | |
| (Multiplicative (I β β))α΅α΅α΅ where | |
| toFun := DomMulAct.mk | |
| map_one' := rfl | |
| map_mul' g h := by rw [DomMulAct.mk_mul, mul_comm] | |
| def domainParameterGenerators (p : I Γ Bool) : (Multiplicative (I β β))α΅α΅α΅ := | |
| parameterDomainHom (multiplicativeParameterGenerators p) | |
| theorem dense_domainParameterGenerators : | |
| Dense (Subgroup.closure (range (domainParameterGenerators (I := I))) : | |
| Set (Multiplicative (I β β))α΅α΅α΅) := by | |
| have he : (Subgroup.closure (range (multiplicativeParameterGenerators (I := I)))).map | |
| parameterDomainHom = Subgroup.closure (range (domainParameterGenerators (I := I))) := by | |
| rw [MonoidHom.map_closure, β Set.range_comp] | |
| rfl | |
| rw [β he, Subgroup.coe_map] | |
| have hd : DenseRange (parameterDomainHom (I := I)) := DomMulAct.mk.surjective.denseRange | |
| exact hd.dense_image DomMulAct.continuous_mk dense_multiplicativeParameterGenerators | |
| end DukePrimeDegree | |
| end | |
| end OAI | |