roseking commited on
Commit
0dd3af4
·
verified ·
1 Parent(s): 5a702e7

Add lean source and binary files (part 83)

Browse files
This view is limited to 50 files because it contains too many changes.   See raw diff
Files changed (50) hide show
  1. lean/OAI/GroupTheory/PolycyclicRecognition.lean +0 -0
  2. lean/OAI/GroupTheory/PolycyclicRecognition/Geometry/WordLieProjection.lean +69 -0
  3. lean/OAI/GroupTheory/PolycyclicRecognition/Geometry/WordProjectionAdjoint.lean +50 -0
  4. lean/OAI/GroupTheory/PolycyclicRecognition/GromovImport.lean +19 -0
  5. lean/OAI/GroupTheory/PolycyclicRecognition/Lattices/AbelianCyclicFiniteIndexLattice.lean +45 -0
  6. lean/OAI/GroupTheory/PolycyclicRecognition/Lattices/AbelianCyclicLattice.lean +59 -0
  7. lean/OAI/GroupTheory/PolycyclicRecognition/Lattices/AbelianCyclicLogarithmLattice.lean +36 -0
  8. lean/OAI/GroupTheory/PolycyclicRecognition/Lattices/AbelianLatticeKernel.lean +41 -0
  9. lean/OAI/GroupTheory/PolycyclicRecognition/Lattices/AbelianLatticeRealization.lean +50 -0
  10. lean/OAI/GroupTheory/PolycyclicRecognition/Lattices/BilinearCentralLattice.lean +80 -0
  11. lean/OAI/GroupTheory/PolycyclicRecognition/Lattices/CartanNilshadow.lean +124 -0
  12. lean/OAI/GroupTheory/PolycyclicRecognition/Lattices/CompletedExtensionCentralizer.lean +49 -0
  13. lean/OAI/GroupTheory/PolycyclicRecognition/Lattices/CyclicCompletionHomUniqueness.lean +64 -0
  14. lean/OAI/GroupTheory/PolycyclicRecognition/Lattices/DerivationSolvableModel.lean +66 -0
  15. lean/OAI/GroupTheory/PolycyclicRecognition/Lattices/ExtensionFixedCocycleSection.lean +80 -0
  16. lean/OAI/GroupTheory/PolycyclicRecognition/Lattices/FiniteFixedCocycleSection.lean +113 -0
  17. lean/OAI/GroupTheory/PolycyclicRecognition/Lattices/FreeAbelianCyclicLattice.lean +57 -0
  18. lean/OAI/GroupTheory/PolycyclicRecognition/Lattices/IntegerCyclicHomExtension.lean +63 -0
  19. lean/OAI/GroupTheory/PolycyclicRecognition/Lattices/IntegerSemidirectLattice.lean +129 -0
  20. lean/OAI/GroupTheory/PolycyclicRecognition/Lattices/IntegerTimeLattice.lean +48 -0
  21. lean/OAI/GroupTheory/PolycyclicRecognition/Lattices/IntegralBilinearLattice.lean +63 -0
  22. lean/OAI/GroupTheory/PolycyclicRecognition/Lattices/IntegralLatticeGenerators.lean +69 -0
  23. lean/OAI/GroupTheory/PolycyclicRecognition/Lattices/IntegralLatticePowerIndex.lean +91 -0
  24. lean/OAI/GroupTheory/PolycyclicRecognition/Lattices/IntegralNilshadow.lean +113 -0
  25. lean/OAI/GroupTheory/PolycyclicRecognition/Lattices/JointFixedActionFiltration.lean +60 -0
  26. lean/OAI/GroupTheory/PolycyclicRecognition/Lattices/JointFixedFactorSystem.lean +96 -0
  27. lean/OAI/GroupTheory/PolycyclicRecognition/Lattices/JointFixedLayerAction.lean +91 -0
  28. lean/OAI/GroupTheory/PolycyclicRecognition/Lattices/JointFixedReductionData.lean +92 -0
  29. lean/OAI/GroupTheory/PolycyclicRecognition/Lattices/JointFixedResidualNilpotent.lean +62 -0
  30. lean/OAI/GroupTheory/PolycyclicRecognition/Lattices/JointFixedSubalgebra.lean +98 -0
  31. lean/OAI/GroupTheory/PolycyclicRecognition/Lattices/KernelCompletionAction.lean +95 -0
  32. lean/OAI/GroupTheory/PolycyclicRecognition/Lattices/KernelCompletionCyclicHom.lean +76 -0
  33. lean/OAI/GroupTheory/PolycyclicRecognition/Lattices/KernelCompletionCyclicStep.lean +123 -0
  34. lean/OAI/GroupTheory/PolycyclicRecognition/Lattices/KernelCompletionEmbedding.lean +102 -0
  35. lean/OAI/GroupTheory/PolycyclicRecognition/Lattices/KernelCompletionHeight.lean +154 -0
  36. lean/OAI/GroupTheory/PolycyclicRecognition/Lattices/KernelCompletionTransport.lean +58 -0
  37. lean/OAI/GroupTheory/PolycyclicRecognition/Lattices/KernelCompletionUnipotentLift.lean +39 -0
  38. lean/OAI/GroupTheory/PolycyclicRecognition/Lattices/LatticeAutomorphismFlow.lean +40 -0
  39. lean/OAI/GroupTheory/PolycyclicRecognition/Lattices/LatticeAutomorphismUnipotent.lean +57 -0
  40. lean/OAI/GroupTheory/PolycyclicRecognition/Lattices/LatticeCharacterGeometry.lean +62 -0
  41. lean/OAI/GroupTheory/PolycyclicRecognition/Lattices/LatticeCharacterSeparation.lean +40 -0
  42. lean/OAI/GroupTheory/PolycyclicRecognition/Lattices/LatticeCharacterization.lean +40 -0
  43. lean/OAI/GroupTheory/PolycyclicRecognition/Lattices/LatticeKernelTail.lean +53 -0
  44. lean/OAI/GroupTheory/PolycyclicRecognition/Lattices/LatticeMetricChains.lean +71 -0
  45. lean/OAI/GroupTheory/PolycyclicRecognition/Lattices/LatticeNormalFlag.lean +98 -0
  46. lean/OAI/GroupTheory/PolycyclicRecognition/Lattices/LatticeQuotientDimension.lean +42 -0
  47. lean/OAI/GroupTheory/PolycyclicRecognition/Lattices/LatticeRealizationFiniteIndex.lean +42 -0
  48. lean/OAI/GroupTheory/PolycyclicRecognition/Lattices/LatticeTopLine.lean +93 -0
  49. lean/OAI/GroupTheory/PolycyclicRecognition/Lattices/LatticeWordExtension.lean +91 -0
  50. lean/OAI/GroupTheory/PolycyclicRecognition/Lattices/NilpotentCyclicFiniteIndexLattice.lean +30 -0
lean/OAI/GroupTheory/PolycyclicRecognition.lean ADDED
The diff for this file is too large to render. See raw diff
 
lean/OAI/GroupTheory/PolycyclicRecognition/Geometry/WordLieProjection.lean ADDED
@@ -0,0 +1,69 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import Mathlib.Algebra.MonoidAlgebra.Module
2
+ import Mathlib.Algebra.FreeMonoid.Basic
3
+ import Mathlib.LinearAlgebra.Finsupp.LinearCombination
4
+ import Mathlib.Algebra.Algebra.Rat
5
+ import Mathlib.Tactic.Abel
6
+
7
+ namespace OAI
8
+
9
+ /-! # The right-nested commutator projection of rational words -/
10
+
11
+ noncomputable section
12
+ namespace PolycyclicRecognition
13
+
14
+ abbrev RationalWords (n : ℕ) := MonoidAlgebra ℚ (FreeMonoid (Fin n))
15
+
16
+ variable {A : Type*} [Ring A] [Algebra ℚ A] {n : ℕ} (X : Fin n → A)
17
+
18
+ def wordRightLie : List (Fin n) → A
19
+ | [] => 0
20
+ | [i] => X i
21
+ | i :: j :: l => X i * wordRightLie (j :: l) - wordRightLie (j :: l) * X i
22
+
23
+ def wordLieProjection : RationalWords n →ₗ[ℚ] A :=
24
+ (Finsupp.linearCombination ℚ (fun w : FreeMonoid (Fin n) => wordRightLie X w.toList)).comp
25
+ (MonoidAlgebra.coeffLinearEquiv ℚ).toLinearMap
26
+
27
+ theorem wordLieProjection_single (w : FreeMonoid (Fin n)) (q : ℚ) :
28
+ wordLieProjection X (MonoidAlgebra.single w q) = q • wordRightLie X w.toList := by
29
+ change Finsupp.linearCombination ℚ _ (Finsupp.single w q) = _
30
+ exact Finsupp.linearCombination_single (R := ℚ)
31
+ (v := fun w : FreeMonoid (Fin n) => wordRightLie X w.toList) q w
32
+
33
+ def rationalWordLetter (i : Fin n) : RationalWords n :=
34
+ MonoidAlgebra.single (FreeMonoid.of i) 1
35
+
36
+ theorem wordLieProjection_letter_mul (i : Fin n) (p : RationalWords n) :
37
+ wordLieProjection X (rationalWordLetter i * p) =
38
+ X i * wordLieProjection X p - wordLieProjection X p * X i + p.coeff 1 • X i := by
39
+ induction p using MonoidAlgebra.induction_on with
40
+ | of w =>
41
+ change wordLieProjection X (rationalWordLetter i * MonoidAlgebra.single w 1) =
42
+ X i * wordLieProjection X (MonoidAlgebra.single w 1) -
43
+ wordLieProjection X (MonoidAlgebra.single w 1) * X i +
44
+ (MonoidAlgebra.single w (1 : ℚ)).coeff 1 • X i
45
+ rw [rationalWordLetter, MonoidAlgebra.single_mul_single, one_mul,
46
+ wordLieProjection_single, wordLieProjection_single, one_smul, one_smul]
47
+ cases hw : w.toList with
48
+ | nil =>
49
+ have hw1 : w = 1 := FreeMonoid.toList.injective hw
50
+ subst w
51
+ simp [wordRightLie, MonoidAlgebra.coeff_single]
52
+ | cons j l =>
53
+ have hw1 : w ≠ 1 := by
54
+ intro h
55
+ simp [h] at hw
56
+ simp [wordRightLie, hw, MonoidAlgebra.coeff_single, hw1]
57
+ | add p q hp hq =>
58
+ simp only [mul_add, map_add, hp, hq, add_mul, MonoidAlgebra.coeff_add,
59
+ Finsupp.add_apply, add_smul]
60
+ abel
61
+ | smul r p hp =>
62
+ simp only [mul_smul_comm, map_smul, hp, smul_mul_assoc, MonoidAlgebra.coeff_smul,
63
+ Finsupp.smul_apply, smul_sub, smul_add, smul_smul, Algebra.mul_smul_comm, smul_eq_mul]
64
+
65
+ end PolycyclicRecognition
66
+
67
+ end
68
+
69
+ end OAI
lean/OAI/GroupTheory/PolycyclicRecognition/Geometry/WordProjectionAdjoint.lean ADDED
@@ -0,0 +1,50 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import OAI.GroupTheory.PolycyclicRecognition.Algebra.RationalWordEvaluation
2
+ import Mathlib.Algebra.Lie.OfAssociative
3
+
4
+ namespace OAI
5
+
6
+ /-! # The adjoint action on the right-nested word projection -/
7
+
8
+ noncomputable section
9
+ namespace PolycyclicRecognition
10
+
11
+ attribute [local instance 100] LieRing.ofAssociativeRing
12
+
13
+ variable {A : Type*} [Ring A] [Algebra ℚ A] {n : ℕ} (X : Fin n → A)
14
+
15
+ def rationalWordAdjoint : RationalWords n →ₐ[ℚ] Module.End ℚ A :=
16
+ rationalWordEvaluation (fun i => LieAlgebra.ad ℚ A (X i))
17
+
18
+ theorem wordLieProjection_word_mul (w : FreeMonoid (Fin n)) (q : RationalWords n)
19
+ (hq : q.coeff 1 = 0) :
20
+ wordLieProjection X (MonoidAlgebra.single w 1 * q) =
21
+ FreeMonoid.lift (fun i => LieAlgebra.ad ℚ A (X i)) w (wordLieProjection X q) := by
22
+ induction w using FreeMonoid.recOn with
23
+ | one => simp [← MonoidAlgebra.one_def]
24
+ | of_mul i w ih =>
25
+ have heq : MonoidAlgebra.single (FreeMonoid.of i * w) (1 : ℚ) =
26
+ rationalWordLetter i * MonoidAlgebra.single w 1 := by
27
+ rw [rationalWordLetter, MonoidAlgebra.single_mul_single, one_mul]
28
+ rw [heq, mul_assoc, wordLieProjection_letter_mul, rationalWord_emptyCoeff_mul,
29
+ hq, mul_zero, zero_smul, add_zero, ih, map_mul]
30
+ rw [show FreeMonoid.lift (fun i => LieAlgebra.ad ℚ A (X i)) (FreeMonoid.of i) =
31
+ LieAlgebra.ad ℚ A (X i) from rfl]
32
+ rfl
33
+
34
+ theorem wordLieProjection_mul (p q : RationalWords n) (hq : q.coeff 1 = 0) :
35
+ wordLieProjection X (p * q) = rationalWordAdjoint X p (wordLieProjection X q) := by
36
+ induction p using MonoidAlgebra.induction_on with
37
+ | of w =>
38
+ change wordLieProjection X (MonoidAlgebra.single w 1 * q) = _
39
+ rw [wordLieProjection_word_mul X w q hq]
40
+ change _ = rationalWordEvaluation (fun i => LieAlgebra.ad ℚ A (X i))
41
+ (MonoidAlgebra.single w 1) (wordLieProjection X q)
42
+ rw [rationalWordEvaluation_single, one_smul, ← FreeMonoid.lift_apply]
43
+ | add p r hp hr => simp only [add_mul, map_add, hp, hr, LinearMap.add_apply]
44
+ | smul r p hp => simp only [smul_mul_assoc, map_smul, hp, LinearMap.smul_apply]
45
+
46
+ end PolycyclicRecognition
47
+
48
+ end
49
+
50
+ end OAI
lean/OAI/GroupTheory/PolycyclicRecognition/GromovImport.lean ADDED
@@ -0,0 +1,19 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import OAI.GroupTheory.PolycyclicRecognition.Algebra.GromovGrowthBridge
2
+ import Gromov.FormalConjecturesCheck
3
+
4
+ namespace OAI
5
+
6
+ /-! # Gromov’s polynomial-growth theorem in arbitrary universes. -/
7
+ namespace PolycyclicRecognition
8
+ universe u
9
+ variable {J : Type u} [Group J] [DecidableEq J]
10
+
11
+ /-- Polynomial word growth implies virtual nilpotence in every universe. -/
12
+ theorem gromovPolynomialGrowthInput : GromovPolynomialGrowthInput J := by
13
+ intro T hT hgen hgrowth
14
+ exact FormalConjecturesCheck.gromov_forward J
15
+ (hasPolynomialGrowth_of_wordBall T hT hgen hgrowth)
16
+
17
+ end PolycyclicRecognition
18
+
19
+ end OAI
lean/OAI/GroupTheory/PolycyclicRecognition/Lattices/AbelianCyclicFiniteIndexLattice.lean ADDED
@@ -0,0 +1,45 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import OAI.GroupTheory.PolycyclicRecognition.Algebra.RealMatrixSquareLogarithm
2
+ import OAI.GroupTheory.PolycyclicRecognition.Algebra.AbelianCyclicSquareLog
3
+
4
+ namespace OAI
5
+
6
+ /-! # Free-abelian-by-cyclic groups are virtually solvable Lie lattices
7
+
8
+ No nilpotence assumption is required. Squaring the integral automorphism
9
+ permits a real logarithm, and its exponential supplies the real action.
10
+ -/
11
+
12
+ noncomputable section
13
+ namespace PolycyclicRecognition
14
+ variable {d : ℕ}
15
+
16
+ theorem realIntegralLinearEquiv_square (a : MulAut (Multiplicative (Fin d → ℤ))) :
17
+ (realIntegralLinearEquiv (a ^ 2).toAdditive.toIntLinearEquiv).toLinearMap =
18
+ (realIntegralLinearEquiv a.toAdditive.toIntLinearEquiv).toLinearMap ^ 2 := by
19
+ let f : (Fin d → ℤ) →ₗ[ℤ] (Fin d → ℤ) := a.toAdditive.toIntLinearEquiv.toLinearMap
20
+ let g : (Fin d → ℤ) →ₗ[ℤ] (Fin d → ℤ) := (a ^ 2).toAdditive.toIntLinearEquiv.toLinearMap
21
+ change realLinearExtension g = realLinearExtension f ^ 2
22
+ apply (Pi.basisFun ℝ (Fin d)).ext
23
+ intro i
24
+ change realLinearExtension g ((Pi.basisFun ℝ (Fin d)) i) =
25
+ realLinearExtension f (realLinearExtension f ((Pi.basisFun ℝ (Fin d)) i))
26
+ rw [realLinearExtension_basis, realLinearExtension_basis, realLinearExtension_cast]
27
+ rfl
28
+
29
+ theorem freeAbelian_cyclic_finiteIndex_lattice
30
+ (a : MulAut (Multiplicative (Fin d → ℤ))) :
31
+ ∃ Γ : Subgroup (Multiplicative (Fin d → ℤ) ⋊[integerPowerAction a] Multiplicative ℤ),
32
+ Γ.FiniteIndex ∧
33
+ ∃ (S : SimplyConnectedSolvableLieModel) (Λ : Subgroup S.carrier),
34
+ IsUniformLattice Λ ∧ Nonempty (Γ ≃* Λ) := by
35
+ let A := realIntegralLinearEquiv a.toAdditive.toIntLinearEquiv
36
+ have hA : IsUnit A.toLinearMap := (Module.End.isUnit_iff _).mpr A.bijective
37
+ obtain ⟨D, hD⟩ := real_linear_square_has_log A.toLinearMap hA
38
+ apply freeAbelian_cyclic_finiteIndex_lattice_of_square_log a D
39
+ exact hD.trans (congrArg LinearMap.toContinuousLinearMap (realIntegralLinearEquiv_square a).symm)
40
+
41
+ end PolycyclicRecognition
42
+
43
+ end
44
+
45
+ end OAI
lean/OAI/GroupTheory/PolycyclicRecognition/Lattices/AbelianCyclicLattice.lean ADDED
@@ -0,0 +1,59 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import OAI.GroupTheory.PolycyclicRecognition.Lattices.FreeAbelianCyclicLattice
2
+ import OAI.GroupTheory.PolycyclicRecognition.Algebra.CyclicKernelSplitting
3
+ import OAI.GroupTheory.PolycyclicRecognition.Algebra.PolycyclicTorsionFree
4
+
5
+ namespace OAI
6
+
7
+ /-! # Lattice realization for torsion-free nilpotent groups with abelian cyclic kernel
8
+
9
+ The nilpotency class is unrestricted. An abstract abelian kernel is identified
10
+ with its integral basis before applying the constructed real flow.
11
+ -/
12
+
13
+ noncomputable section
14
+ namespace PolycyclicRecognition
15
+ open scoped IsMulCommutative
16
+
17
+ theorem abelian_cyclic_nilpotent_lattice {H : Type} [CommGroup H] [Group.FG H]
18
+ (htf : HasNoNontrivialTorsion H) (a : MulAut H)
19
+ [Group.IsNilpotent (H ⋊[integerPowerAction a] Multiplicative ℤ)] :
20
+ ∃ (S : SimplyConnectedSolvableLieModel) (Γ : Subgroup S.carrier),
21
+ IsUniformLattice Γ ∧ Nonempty ((H ⋊[integerPowerAction a] Multiplicative ℤ) ≃* Γ) := by
22
+ obtain ⟨d, ⟨e⟩⟩ := exists_integralLattice_equiv htf
23
+ let aZ : MulAut (IntegralLatticeGroup d) := e.trans (a.trans e.symm)
24
+ have he (x : IntegralLatticeGroup d) : e (aZ x) = a (e x) := by
25
+ change e (e.symm (a (e x))) = _
26
+ exact e.apply_symm_apply _
27
+ let E : (IntegralLatticeGroup d ⋊[integerPowerAction aZ] Multiplicative ℤ) ≃*
28
+ (H ⋊[integerPowerAction a] Multiplicative ℤ) :=
29
+ SemidirectProduct.congr e (MulEquiv.refl _) (by
30
+ intro n
31
+ ext x
32
+ exact mulAut_zpow_semiconj aZ a e he n.toAdd x)
33
+ let : Group.IsNilpotent
34
+ (IntegralLatticeGroup d ⋊[integerPowerAction aZ] Multiplicative ℤ) :=
35
+ Group.nilpotent_of_mulEquiv E.symm
36
+ obtain ⟨S, Γ, hΓ, ⟨f⟩⟩ := freeAbelian_cyclic_nilpotent_lattice aZ
37
+ exact ⟨S, Γ, hΓ, ⟨E.symm.trans f⟩⟩
38
+
39
+ theorem nilpotent_abelian_kernel_cyclic_lattice {G : Type} [Group G]
40
+ [Group.FG G] [Group.IsNilpotent G] (htf : HasNoNontrivialTorsion G)
41
+ (q : G →* Multiplicative ℤ) (hq : Function.Surjective q)
42
+ [IsMulCommutative q.ker] :
43
+ ∃ (S : SimplyConnectedSolvableLieModel) (Γ : Subgroup S.carrier),
44
+ IsUniformLattice Γ ∧ Nonempty (G ≃* Γ) := by
45
+ obtain ⟨t, ht⟩ := hq (Multiplicative.ofAdd 1)
46
+ let E := cyclicKernelEquiv q t ht
47
+ let : Group.FG q.ker := CriticalPercolation.nilpotent_subgroup_fg G q.ker
48
+ let : Group.IsNilpotent
49
+ (q.ker ⋊[integerPowerAction (MulAut.conjNormal t)] Multiplicative ℤ) :=
50
+ Group.nilpotent_of_mulEquiv E.symm
51
+ obtain ⟨S, Γ, hΓ, ⟨f⟩⟩ := abelian_cyclic_nilpotent_lattice
52
+ (htf.of_injective q.ker.subtype Subtype.val_injective) (MulAut.conjNormal t)
53
+ exact ⟨S, Γ, hΓ, ⟨E.symm.trans f⟩⟩
54
+
55
+ end PolycyclicRecognition
56
+
57
+ end
58
+
59
+ end OAI
lean/OAI/GroupTheory/PolycyclicRecognition/Lattices/AbelianCyclicLogarithmLattice.lean ADDED
@@ -0,0 +1,36 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import OAI.GroupTheory.PolycyclicRecognition.Geometry.LinearExponentialAction
2
+ import OAI.GroupTheory.PolycyclicRecognition.Lattices.SmoothRealActionLattice
3
+ import OAI.GroupTheory.PolycyclicRecognition.Lattices.FreeAbelianCyclicLattice
4
+
5
+ namespace OAI
6
+
7
+ /-! # The abelian cyclic lattice step from a real matrix logarithm
8
+
9
+ The real logarithm is a separate, explicit linear algebra obligation. Once
10
+ it is provided, the actual Lie model and compact lattice cover are constructed.
11
+ -/
12
+
13
+ noncomputable section
14
+ namespace PolycyclicRecognition
15
+ variable {d : ℕ}
16
+
17
+ theorem freeAbelian_cyclic_lattice_of_linear_log
18
+ (a : MulAut (Multiplicative (Fin d → ℤ)))
19
+ (D : AbelianRealSpace d →L[ℝ] AbelianRealSpace d)
20
+ (hD : NormedSpace.exp D =
21
+ (realIntegralLinearEquiv a.toAdditive.toIntLinearEquiv).toContinuousLinearEquiv.toContinuousLinearMap) :
22
+ ∃ (S : SimplyConnectedSolvableLieModel) (Γ : Subgroup S.carrier),
23
+ IsUniformLattice Γ ∧
24
+ Nonempty ((Multiplicative (Fin d → ℤ) ⋊[integerPowerAction a] Multiplicative ℤ) ≃* Γ) := by
25
+ apply smooth_realAction_cyclic_lattice (linearExponentialAction D)
26
+ (linearExponentialAction_smooth D) a (abelianRealLattice d)
27
+ (abelianRealLattice_uniform d) (abelianRealLatticeEquiv d)
28
+ intro x
29
+ rw [linearExponentialAction_apply, one_smul, hD]
30
+ exact (realIntegralGroupAut_lattice a x).symm
31
+
32
+ end PolycyclicRecognition
33
+
34
+ end
35
+
36
+ end OAI
lean/OAI/GroupTheory/PolycyclicRecognition/Lattices/AbelianLatticeKernel.lean ADDED
@@ -0,0 +1,41 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import OAI.GroupTheory.PolycyclicRecognition.Lattices.NilpotentLatticeInnerAdjoint
2
+
3
+ namespace OAI
4
+
5
+ /-! # Commutativity passes to the actual nilpotent lattice completion -/
6
+
7
+ noncomputable section
8
+ namespace PolycyclicRecognition.NilpotentLatticeCoordinates
9
+ open scoped IsMulCommutative
10
+ variable {N : Type} [Group N] [IsMulCommutative N] (C : NilpotentLatticeCoordinates N)
11
+
12
+ theorem completed_kernel_mul_comm (u v : C.carrier) : u * v = v * u := by
13
+ have hl (n : N) (x : C.carrier) : (C.equiv n : C.carrier) * x * (C.equiv n : C.carrier)⁻¹ = x := by
14
+ rw [← C.automorphism_inner_apply]
15
+ have hn : MulAut.conj n = 1 := by
16
+ apply DFunLike.ext
17
+ intro y
18
+ change n * y * n⁻¹ = y
19
+ rw [mul_comm n y, mul_inv_cancel_right]
20
+ rw [hn, C.automorphism_one]
21
+ rfl
22
+ have hp : IsPolynomialInBasis C.basis C.basis
23
+ (fun x : C.carrier => u * x * u⁻¹) := by
24
+ have he : (fun x : C.carrier => u * x * u⁻¹) = adjointLinearMap (E := C.carrier) u :=
25
+ funext (fun x => (polynomial_adjoint_apply u x).symm)
26
+ rw [he]
27
+ exact IsPolynomialInBasis.linear (adjointLinearMap (E := C.carrier) u).toLinearMap
28
+ have he : (fun x : C.carrier => u * x * u⁻¹) = id :=
29
+ C.ext_polynomial hp (IsPolynomialInBasis.linear (LinearMap.id)) (by
30
+ intro n
31
+ have hn := hl n u
32
+ rw [mul_inv_eq_iff_eq_mul] at hn
33
+ change u * (C.equiv n : C.carrier) * u⁻¹ = C.equiv n
34
+ rw [← hn, mul_inv_cancel_right])
35
+ exact mul_inv_eq_iff_eq_mul.mp (congrFun he v)
36
+
37
+ end PolycyclicRecognition.NilpotentLatticeCoordinates
38
+
39
+ end
40
+
41
+ end OAI
lean/OAI/GroupTheory/PolycyclicRecognition/Lattices/AbelianLatticeRealization.lean ADDED
@@ -0,0 +1,50 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import OAI.GroupTheory.PolycyclicRecognition.Lattices.VectorLatticeModel
2
+ import OAI.GroupTheory.PolycyclicRecognition.Algebra.PolycyclicTorsionFree
3
+
4
+ namespace OAI
5
+
6
+ /-! # Solvable lattice realization for virtually abelian groups
7
+
8
+ The finite-index torsion-free subgroup is an integral lattice. Its embedding
9
+ into the actual additive vector Lie group has a compact fundamental cover.
10
+ This discharges the virtually abelian case of Dekimpe's realization input.
11
+ -/
12
+
13
+ noncomputable section
14
+ namespace PolycyclicRecognition
15
+ open scoped IsMulCommutative Manifold
16
+ variable {P : Type} [Group P] [Group.FG P]
17
+
18
+ theorem solvable_lattice_realization_of_finiteIndex_abelian
19
+ (H : Subgroup P) [H.FiniteIndex] [IsMulCommutative H] :
20
+ ∃ Γ : Subgroup P, Γ.FiniteIndex ∧
21
+ ∃ (S : SimplyConnectedSolvableLieModel) (Λ : Subgroup S.carrier),
22
+ IsUniformLattice Λ ∧ Nonempty (Γ ≃* Λ) := by
23
+ have hH : IsPolycyclic H := isPolycyclic_of_finitelyGenerated_commGroup H
24
+ obtain ⟨K, hKi, hKtf⟩ := hH.exists_torsionFree_finiteIndex
25
+ let := hKi
26
+ obtain ⟨n, ⟨e⟩⟩ := exists_integralLattice_equiv hKtf
27
+ let Γ := K.map H.subtype
28
+ have hΓi : Γ.FiniteIndex := ⟨by
29
+ change (K.map H.subtype).index ≠ 0
30
+ rw [Subgroup.index_map_subtype]
31
+ exact mul_ne_zero hKi.index_ne_zero (inferInstance : H.FiniteIndex).index_ne_zero⟩
32
+ let eK : K ≃* Γ := K.equivMapOfInjective H.subtype H.subtype_injective
33
+ exact ⟨Γ, hΓi, vectorSolvableLieModel n, standardVectorLattice n,
34
+ standardVectorLattice_uniform n,
35
+ ⟨(eK.symm.trans e.symm).trans (standardVectorLatticeEquiv n)⟩⟩
36
+
37
+ theorem dekimpe_realization_of_finiteIndex_abelian
38
+ (H : Subgroup P) [H.FiniteIndex] [IsMulCommutative H] :
39
+ ∃ Γ : Subgroup P, Γ.FiniteIndex ∧
40
+ ∃ (S : SimplyConnectedSolvableLieModel) (Λ : Subgroup S.carrier),
41
+ DiscreteTopology Λ ∧ CompactSpace (S.carrier ⧸ Λ) ∧ Nonempty (Γ ≃* Λ) := by
42
+ obtain ⟨Γ, hΓ, S, Λ, hΛ, e⟩ := solvable_lattice_realization_of_finiteIndex_abelian H
43
+ let : IsTopologicalGroup S.carrier := topologicalGroup_of_lieGroup (𝓘(ℝ, S.modelSpace)) ⊤
44
+ exact ⟨Γ, hΓ, S, Λ, hΛ.1, hΛ.compactSpace_quotient, e⟩
45
+
46
+ end PolycyclicRecognition
47
+
48
+ end
49
+
50
+ end OAI
lean/OAI/GroupTheory/PolycyclicRecognition/Lattices/BilinearCentralLattice.lean ADDED
@@ -0,0 +1,80 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import OAI.GroupTheory.PolycyclicRecognition.Geometry.BilinearCentralLieModel
2
+
3
+ namespace OAI
4
+
5
+ /-! # Uniform lattices for integral bilinear central extensions
6
+
7
+ The central coordinate of a fundamental-domain representative is reduced
8
+ after subtracting the bilinear correction from the first coordinate.
9
+ -/
10
+
11
+ noncomputable section
12
+ namespace PolycyclicRecognition
13
+ open Set Module
14
+
15
+ variable {V W : Type} [NormedAddCommGroup V] [NormedAddCommGroup W]
16
+ [NormedSpace ℝ V] [NormedSpace ℝ W] [FiniteDimensional ℝ V] [FiniteDimensional ℝ W]
17
+ {d e : ℕ} (b : Basis (Fin d) ℝ V) (c : Basis (Fin e) ℝ W)
18
+ (B : V →L[ℝ] V →L[ℝ] W)
19
+ (hB : ∀ x ∈ Submodule.span ℤ (range b), ∀ y ∈ Submodule.span ℤ (range b),
20
+ B x y ∈ Submodule.span ℤ (range c))
21
+
22
+ def bilinearCentralLattice : Subgroup (bilinearCentralLieModel B).carrier where
23
+ carrier := {x | x.1 ∈ Submodule.span ℤ (range b) ∧
24
+ x.2 ∈ Submodule.span ℤ (range c)}
25
+ one_mem' := ⟨Submodule.zero_mem _, Submodule.zero_mem _⟩
26
+ mul_mem' := by
27
+ intro x y hx hy
28
+ exact ⟨Submodule.add_mem _ hx.1 hy.1,
29
+ Submodule.add_mem _ (Submodule.add_mem _ hx.2 hy.2) (hB _ hx.1 _ hy.1)⟩
30
+ inv_mem' := by
31
+ intro x hx
32
+ exact ⟨Submodule.neg_mem _ hx.1,
33
+ Submodule.add_mem _ (Submodule.neg_mem _ hx.2) (hB _ hx.1 _ hx.1)⟩
34
+
35
+ theorem bilinearCentralLattice_discrete :
36
+ DiscreteTopology (bilinearCentralLattice b c B hB) := by
37
+ let L := Submodule.span ℤ (range b)
38
+ let M := Submodule.span ℤ (range c)
39
+ let f : bilinearCentralLattice b c B hB → L × M :=
40
+ fun x => (⟨x.val.1, x.property.1⟩, ⟨x.val.2, x.property.2⟩)
41
+ have hval : Continuous (fun x : bilinearCentralLattice b c B hB => (x.val : V × W)) :=
42
+ continuous_subtype_val
43
+ have hf : Continuous f := by
44
+ exact (hval.fst.subtype_mk _).prodMk (hval.snd.subtype_mk _)
45
+ apply DiscreteTopology.of_continuous_injective hf
46
+ intro x y h
47
+ apply Subtype.ext
48
+ exact Prod.ext (congrArg (fun z : L × M => z.1.val) h)
49
+ (congrArg (fun z : L × M => z.2.val) h)
50
+
51
+ theorem bilinearCentralLattice_uniform :
52
+ IsUniformLattice (bilinearCentralLattice b c B hB) := by
53
+ refine ⟨bilinearCentralLattice_discrete b c B hB, ?_⟩
54
+ let K : Set (V × W) := parallelepiped b ×ˢ parallelepiped c
55
+ have hK : IsCompact K := b.parallelepiped.isCompact.prod c.parallelepiped.isCompact
56
+ refine ⟨K, hK, ?_⟩
57
+ intro g
58
+ let a := ZSpan.floor b g.1
59
+ let u := ZSpan.fract b g.1
60
+ let z := g.2 - B a u
61
+ let q := ZSpan.floor c z
62
+ let v := ZSpan.fract c z
63
+ refine ⟨⟨((a : V), (q : W)), a.property, q.property⟩, (u, v), ?_, ?_⟩
64
+ · exact ⟨ZSpan.fundamentalDomain_subset_parallelepiped b
65
+ (ZSpan.fract_mem_fundamentalDomain b g.1),
66
+ ZSpan.fundamentalDomain_subset_parallelepiped c
67
+ (ZSpan.fract_mem_fundamentalDomain c z)⟩
68
+ · apply Prod.ext
69
+ · change (a : V) + u = g.1
70
+ dsimp only [a, u, ZSpan.fract]
71
+ abel
72
+ · change (q : W) + v + B a u = g.2
73
+ dsimp only [q, v, ZSpan.fract, z]
74
+ abel
75
+
76
+ end PolycyclicRecognition
77
+
78
+ end
79
+
80
+ end OAI
lean/OAI/GroupTheory/PolycyclicRecognition/Lattices/CartanNilshadow.lean ADDED
@@ -0,0 +1,124 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import OAI.GroupTheory.PolycyclicRecognition.Geometry.CartanJordanDecomposition
2
+ import Mathlib.Algebra.Lie.SemiDirect
3
+
4
+ namespace OAI
5
+
6
+ /-! # The nilpotent Lie algebra attached to the Cartan height action
7
+
8
+ The graph of minus the semisimple height action is a Lie subalgebra of the
9
+ affine derivation algebra. Its first coordinate is linearly the original Lie
10
+ algebra, while its bracket has the semisimple action removed.
11
+ -/
12
+
13
+ noncomputable section
14
+ namespace PolycyclicRecognition
15
+
16
+ open LieAlgebra Module
17
+
18
+ variable {L : Type*} [LieRing L] [LieAlgebra ℝ L] [FiniteDimensional ℝ L]
19
+ {n : ℕ} (T : TriangularAdjoint L n)
20
+ (H : LieSubalgebra ℝ L) [H.IsCartanSubalgebra]
21
+
22
+ def cartanNilshadowSubalgebra :
23
+ LieSubalgebra ℝ (L ⋊⁅(LieHom.id : LieDerivation ℝ L L →ₗ⁅ℝ⁆ LieDerivation ℝ L L)⁆
24
+ LieDerivation ℝ L L) where
25
+ carrier := {p | p.right = -heightSemisimpleAction T H p.left}
26
+ zero_mem' := by simp
27
+ add_mem' {p q} hp hq := by
28
+ change p.right + q.right = -heightSemisimpleAction T H (p.left + q.left)
29
+ rw [hp, hq, map_add, neg_add]
30
+ smul_mem' r {p} hp := by
31
+ change r • p.right = -heightSemisimpleAction T H (r • p.left)
32
+ rw [hp, map_smul, smul_neg]
33
+ lie_mem' {p q} hp hq := by
34
+ change ⁅p.right, q.right⁆ = -heightSemisimpleAction T H
35
+ (⁅p.left, q.left⁆ + p.right q.left - q.right p.left)
36
+ rw [hp, hq]
37
+ simp only [neg_lie, lie_neg, heightSemisimpleAction_commute,
38
+ LieDerivation.neg_apply, map_add, map_sub, map_neg,
39
+ heightSemisimpleAction_lie, heightSemisimpleAction_annihilate, neg_zero,
40
+ add_zero, sub_zero]
41
+
42
+ abbrev CartanNilshadow := cartanNilshadowSubalgebra T H
43
+
44
+ def cartanNilshadowEquiv : L ≃ₗ[ℝ] CartanNilshadow T H where
45
+ toFun x := ⟨⟨x, -heightSemisimpleAction T H x⟩, rfl⟩
46
+ invFun p := p.val.left
47
+ left_inv _ := rfl
48
+ right_inv p := by
49
+ apply Subtype.ext
50
+ apply SemiDirectSum.ext
51
+ · rfl
52
+ · exact p.property.symm
53
+ map_add' x y := by
54
+ apply Subtype.ext
55
+ apply SemiDirectSum.ext
56
+ · rfl
57
+ · change -heightSemisimpleAction T H (x + y) =
58
+ -heightSemisimpleAction T H x + -heightSemisimpleAction T H y
59
+ rw [map_add, neg_add]
60
+ map_smul' r x := by
61
+ apply Subtype.ext
62
+ apply SemiDirectSum.ext
63
+ · rfl
64
+ · change -heightSemisimpleAction T H (r • x) = r • -heightSemisimpleAction T H x
65
+ rw [map_smul, smul_neg]
66
+
67
+ instance : FiniteDimensional ℝ (CartanNilshadow T H) :=
68
+ (cartanNilshadowEquiv T H).finiteDimensional
69
+
70
+ theorem cartanNilshadow_bracket (x y : L) :
71
+ (cartanNilshadowEquiv T H).symm ⁅cartanNilshadowEquiv T H x,
72
+ cartanNilshadowEquiv T H y⁆ =
73
+ ⁅x, y⁆ - heightSemisimpleAction T H x y + heightSemisimpleAction T H y x := by
74
+ change ⁅x, y⁆ + (-heightSemisimpleAction T H x) y -
75
+ (-heightSemisimpleAction T H y) x = _
76
+ simp only [LieDerivation.neg_apply]
77
+ abel
78
+
79
+ private theorem nilpotent_of_square_eq_mul {V : Type*} [AddCommGroup V] [Module ℝ V]
80
+ {A F : Module.End ℝ V} (hA : IsNilpotent A) (hFF : F * F = A * F) : IsNilpotent F := by
81
+ have hp (k : ℕ) : F ^ (k + 1) = A ^ k * F := by
82
+ induction k with
83
+ | zero => simp
84
+ | succ k hk =>
85
+ calc
86
+ F ^ (k + 1 + 1) = F ^ (k + 1) * F := pow_succ _ _
87
+ _ = A ^ k * (F * F) := by rw [hk, mul_assoc]
88
+ _ = A ^ (k + 1) * F := by rw [hFF, ← mul_assoc, pow_succ]
89
+ obtain ⟨k, hk⟩ := hA
90
+ exact ⟨k + 1, by rw [hp, hk, zero_mul]⟩
91
+
92
+ /-- The Cartan graph is nilpotent; no nilshadow theorem is assumed. -/
93
+ theorem cartanNilshadow_nilpotent : LieRing.IsNilpotent (CartanNilshadow T H) := by
94
+ let e := cartanNilshadowEquiv T H
95
+ apply (LieAlgebra.isNilpotent_iff_forall (R := ℝ)).mpr
96
+ intro p
97
+ obtain ⟨x, rfl⟩ := e.surjective p
98
+ let F : Module.End ℝ L := e.symm.conjRingEquiv (ad ℝ (CartanNilshadow T H) (e x))
99
+ let A : Module.End ℝ L := ad ℝ L x - (heightSemisimpleAction T H x).toLinearMap
100
+ have hF (y : L) : F y = ⁅x, y⁆ - heightSemisimpleAction T H x y +
101
+ heightSemisimpleAction T H y x := cartanNilshadow_bracket T H x y
102
+ have hFh (y : L) : heightProjection T.character (F y) = 0 := by
103
+ rw [hF, map_add, map_sub, T.height_lie, heightSemisimpleAction_height_zero,
104
+ heightSemisimpleAction_height_zero, sub_self, add_zero]
105
+ have hFr (y : L) (hy : heightProjection T.character y = 0) : F y = A y := by
106
+ have hs : heightSemisimpleAction T H y = 0 := by
107
+ change cartanWeightDerivationLinear T H
108
+ (cartanHeightSection T H (heightProjection T.character y)) = 0
109
+ rw [hy, map_zero, map_zero]
110
+ rw [hF, hs, LieDerivation.zero_apply, add_zero]
111
+ rfl
112
+ have hFF : F * F = A * F := by
113
+ ext y
114
+ exact hFr (F y) (hFh y)
115
+ obtain ⟨k, hk⟩ := nilpotent_of_square_eq_mul (heightReducedAdjoint_nilpotent T H x) hFF
116
+ refine ⟨k, e.symm.conjRingEquiv.injective ?_⟩
117
+ rw [map_pow, map_zero]
118
+ exact hk
119
+
120
+ end PolycyclicRecognition
121
+
122
+ end
123
+
124
+ end OAI
lean/OAI/GroupTheory/PolycyclicRecognition/Lattices/CompletedExtensionCentralizer.lean ADDED
@@ -0,0 +1,49 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import OAI.GroupTheory.PolycyclicRecognition.Algebra.NilpotentExtensionLangSplitting
2
+ import OAI.GroupTheory.PolycyclicRecognition.Algebra.ExtensionCentralizerKernel
3
+
4
+ namespace OAI
5
+
6
+ /-! # Semisimple centralizer reduction for the completed lattice extension -/
7
+
8
+ noncomputable section
9
+ namespace PolycyclicRecognition.NilpotentLatticeCoordinates
10
+ open scoped Manifold ContDiff IsMulCommutative
11
+ variable {N G Q : Type} [Group N] [Group G] [Group Q]
12
+ (C : NilpotentLatticeCoordinates N) (S : GroupExtension N G Q)
13
+ (σ : S.Section) (hσ : σ 1 = 1)
14
+
15
+ theorem completedExtension_conjugation_smooth
16
+ (g : FactorExtension (C.extensionFactorSystem S σ hσ)) :
17
+ ContMDiff (𝓘(ℝ, C.carrier)) (𝓘(ℝ, C.carrier)) ∞
18
+ ((FactorExtension.groupExtension (C.extensionFactorSystem S σ hσ)).conjAct g) := by
19
+ rw [FactorExtension.conjugation_eq]
20
+ exact ((contMDiff_conjugation g.left).of_le (by simp)).comp
21
+ (C.extensionFactorSystem_smooth S σ hσ g.right)
22
+
23
+ /-- No fixed-point-free condition: the actual centralizer surjects onto the
24
+ whole original quotient, and its intersection with the kernel is explicit. -/
25
+ theorem completedExtension_semisimple_centralizer [IsMulCommutative Q] (q : Q) :
26
+ ∃ T : C.carrier ≃ₗ⁅ℝ⁆ C.carrier, Module.End.IsSemisimple T.toLinearMap ∧
27
+ Function.Surjective
28
+ ((FactorExtension.groupExtension (C.extensionFactorSystem S σ hσ)).rightHom.comp
29
+ (semisimpleActionCentralizer
30
+ (FactorExtension.groupExtension (C.extensionFactorSystem S σ hσ)) T).subtype) ∧
31
+ ∀ x : C.carrier,
32
+ (FactorExtension.groupExtension (C.extensionFactorSystem S σ hσ)).inl x ∈
33
+ semisimpleActionCentralizer
34
+ (FactorExtension.groupExtension (C.extensionFactorSystem S σ hσ)) T ↔
35
+ ∃ z y : C.carrier, z ∈ Subgroup.center C.carrier ∧ T y = y ∧ x = z * y := by
36
+ let E := FactorExtension.groupExtension (C.extensionFactorSystem S σ hσ)
37
+ let t : FactorExtension (C.extensionFactorSystem S σ hσ) := ⟨1, q⟩
38
+ let hs := C.completedExtension_conjugation_smooth S σ hσ
39
+ let A := polynomialModelLieEquiv (E.conjAct t) (hs t)
40
+ obtain ⟨T, U, hT, hU, hTU, hA⟩ := real_lie_jordan_decomposition A
41
+ refine ⟨T, hT, extension_semisimple_centralizer_surjective E hs t T U hT hU hTU hA, ?_⟩
42
+ intro x
43
+ exact extension_semisimple_centralizer_kernel E T hT x
44
+
45
+ end PolycyclicRecognition.NilpotentLatticeCoordinates
46
+
47
+ end
48
+
49
+ end OAI
lean/OAI/GroupTheory/PolycyclicRecognition/Lattices/CyclicCompletionHomUniqueness.lean ADDED
@@ -0,0 +1,64 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import OAI.GroupTheory.PolycyclicRecognition.Geometry.NilpotentSemidirectGroup
2
+ import OAI.GroupTheory.PolycyclicRecognition.Algebra.PolynomialOneParameterUniqueness
3
+
4
+ namespace OAI
5
+
6
+ /-! # Uniqueness of smooth homomorphisms from a real cyclic completion -/
7
+
8
+ noncomputable section
9
+ namespace PolycyclicRecognition
10
+ open scoped Manifold ContDiff
11
+ variable {L M : Type} [RealNormedLieAlgebra L] [FiniteDimensional ℝ L]
12
+ [RealNormedLieAlgebra M] [FiniteDimensional ℝ M]
13
+ [P : PolynomialExponentialCoordinates L] [Q : PolynomialExponentialCoordinates M]
14
+
15
+ theorem cyclicCompletionHom_ext (D : LieDerivation ℝ L L) (hD : IsNilpotent D.toLinearMap) :
16
+ letI := derivationSemidirectGroup D hD
17
+ letI : MulOneClass (L × ℝ) := (derivationSemidirectGroup D hD).toMulOneClass
18
+ ∀ (φ ψ : (L × ℝ) →* M),
19
+ ContMDiff (𝓘(ℝ, L × ℝ)) (𝓘(ℝ, M)) ∞ φ →
20
+ ContMDiff (𝓘(ℝ, L × ℝ)) (𝓘(ℝ, M)) ∞ ψ →
21
+ (∀ x : L, φ (x, 0) = ψ (x, 0)) →
22
+ φ (0, 1) = ψ (0, 1) → φ = ψ := by
23
+ let := derivationSemidirectGroup D hD
24
+ let : Mul (L × ℝ) := (derivationSemidirectGroup D hD).toMul
25
+ let : One (L × ℝ) := (derivationSemidirectGroup D hD).toOne
26
+ let : Monoid (L × ℝ) := (derivationSemidirectGroup D hD).toMonoid
27
+ let : MulOneClass (L × ℝ) := (derivationSemidirectGroup D hD).toMulOneClass
28
+ intro φ ψ hφ hψ hk ht
29
+ have haxis (s t : ℝ) : ((0, s + t) : L × ℝ) =
30
+ (derivationSemidirectGroup D hD).mul (0, s) (0, t) := by
31
+ rw [derivationSemidirect_mul]
32
+ change (0, s + t) = (0 * nilpotentDerivationFlow D hD s 0, s + t)
33
+ rw [map_zero]
34
+ have hz : (0 : L) * 0 = 0 := by rw [← P.one_eq_zero, mul_one]
35
+ rw [hz]
36
+ have hφ0 : φ (0, 0) = 1 :=
37
+ (congrArg φ (derivationSemidirect_one D hD).symm).trans φ.map_one
38
+ have hψ0 : ψ (0, 0) = 1 :=
39
+ (congrArg ψ (derivationSemidirect_one D hD).symm).trans ψ.map_one
40
+ have htime (t : ℝ) : φ (0, t) = ψ (0, t) := by
41
+ rw [polynomial_oneParameter_eq_smul (fun r => φ (0, r)) hφ0
42
+ (fun s t => (congrArg φ (haxis s t)).trans (φ.map_mul _ _))
43
+ (hφ.contDiff.comp (contDiff_const.prodMk contDiff_id)),
44
+ polynomial_oneParameter_eq_smul (fun r => ψ (0, r)) hψ0
45
+ (fun s t => (congrArg ψ (haxis s t)).trans (ψ.map_mul _ _))
46
+ (hψ.contDiff.comp (contDiff_const.prodMk contDiff_id)), ht]
47
+ apply MonoidHom.ext
48
+ intro p
49
+ have hp : p = (derivationSemidirectGroup D hD).mul (p.1, 0) (0, p.2) := by
50
+ rw [derivationSemidirect_mul, map_zero]
51
+ change p = (p.1 * (0 : L), 0 + p.2)
52
+ rw [← P.one_eq_zero, mul_one, zero_add]
53
+ calc
54
+ φ p = φ ((derivationSemidirectGroup D hD).mul (p.1, 0) (0, p.2)) := congrArg φ hp
55
+ _ = φ (p.1, 0) * φ (0, p.2) := φ.map_mul _ _
56
+ _ = ψ (p.1, 0) * ψ (0, p.2) := by rw [hk, htime]
57
+ _ = ψ ((derivationSemidirectGroup D hD).mul (p.1, 0) (0, p.2)) := (ψ.map_mul _ _).symm
58
+ _ = ψ p := congrArg ψ hp.symm
59
+
60
+ end PolycyclicRecognition
61
+
62
+ end
63
+
64
+ end OAI
lean/OAI/GroupTheory/PolycyclicRecognition/Lattices/DerivationSolvableModel.lean ADDED
@@ -0,0 +1,66 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import OAI.GroupTheory.PolycyclicRecognition.Geometry.NilpotentSemidirectGroup
2
+ import OAI.GroupTheory.PolycyclicRecognition.Lattices.SolvableLatticeModel
3
+ import OAI.GroupTheory.PolycyclicRecognition.Geometry.CompactSemidirectModel
4
+ import OAI.GroupTheory.PolycyclicRecognition.Lattices.UniformLatticeTransport
5
+ import OAI.GroupTheory.PolycyclicRecognition.Lattices.SemidirectUniformLattice
6
+ import Mathlib.Analysis.Convex.Contractible
7
+
8
+ namespace OAI
9
+
10
+ /-! # The solvable real model of a nilpotent derivation extension -/
11
+
12
+ noncomputable section
13
+ namespace PolycyclicRecognition
14
+ open scoped Manifold
15
+ variable {L : Type} [RealNormedLieAlgebra L] [FiniteDimensional ℝ L]
16
+ [P : PolynomialExponentialCoordinates L] [Group.IsSolvable L]
17
+ (D : LieDerivation ℝ L L) (hD : IsNilpotent D.toLinearMap)
18
+
19
+ def derivationSolvableLieModel : SimplyConnectedSolvableLieModel := by
20
+ let g : Group (L × ℝ) := derivationSemidirectGroup D hD
21
+ let : Mul (L × ℝ) := g.toMul
22
+ let : One (L × ℝ) := g.toOne
23
+ let : Monoid (L × ℝ) := g.toMonoid
24
+ let : MulOneClass (L × ℝ) := g.toMulOneClass
25
+ let : Group (L × ℝ) := g
26
+ let : LieGroup (𝓘(ℝ, L × ℝ)) ⊤ (L × ℝ) := derivationSemidirectLieGroup D hD
27
+ let e : (L × ℝ) ≃* (L ⋊[P.derivationAction D hD] Multiplicative ℝ) :=
28
+ { derivationSemidirectEquiv D hD with map_mul' := fun _ _ => rfl }
29
+ let : Group.IsSolvable (L ⋊[P.derivationAction D hD] Multiplicative ℝ) :=
30
+ semidirect_solvable _
31
+ let : Group.IsSolvable (L × ℝ) :=
32
+ @Group.isSolvable_of_isSolvable_injective (L × ℝ)
33
+ (L ⋊[P.derivationAction D hD] Multiplicative ℝ)
34
+ g inferInstance e.toMonoidHom e.injective inferInstance
35
+ exact { modelSpace := L × ℝ, carrier := L × ℝ }
36
+
37
+ def derivationModelEquiv : (derivationSolvableLieModel D hD).carrier ≃*
38
+ (L ⋊[P.derivationAction D hD] Multiplicative ℝ) :=
39
+ { derivationSemidirectEquiv D hD with map_mul' := fun _ _ => rfl }
40
+
41
+ attribute [local instance] semidirectProductTopology
42
+
43
+ theorem continuous_derivationModelEquiv : Continuous (derivationModelEquiv D hD) := by
44
+ change Continuous ((semidirectProductHomeomorph (P.derivationAction D hD)).symm ∘
45
+ (fun p : L × ℝ => (p.1, Multiplicative.ofAdd p.2)))
46
+ exact (semidirectProductHomeomorph _).symm.continuous.comp continuous_id
47
+
48
+ theorem continuous_derivationModelEquiv_symm : Continuous (derivationModelEquiv D hD).symm := by
49
+ change Continuous ((fun p : L × Multiplicative ℝ => (p.1, p.2.toAdd)) ∘
50
+ (semidirectProductHomeomorph (P.derivationAction D hD)))
51
+ exact continuous_id.comp (semidirectProductHomeomorph _).continuous
52
+
53
+ theorem derivationModel_lattice (Λ : Subgroup L) (Δ : Subgroup (Multiplicative ℝ))
54
+ (hstable : ∀ t ∈ Δ, ∀ x ∈ Λ, P.derivationAction D hD t x ∈ Λ)
55
+ (hΛ : IsUniformLattice Λ) (hΔ : IsUniformLattice Δ) :
56
+ IsUniformLattice ((semidirectLattice (P.derivationAction D hD) Λ Δ hstable).comap
57
+ (derivationModelEquiv D hD).toMonoidHom) := by
58
+ exact (semidirectLattice_uniform _ _ _ hstable hΛ hΔ).comap_mulEquiv
59
+ (derivationModelEquiv D hD) (continuous_derivationModelEquiv D hD)
60
+ (continuous_derivationModelEquiv_symm D hD)
61
+
62
+ end PolycyclicRecognition
63
+
64
+ end
65
+
66
+ end OAI
lean/OAI/GroupTheory/PolycyclicRecognition/Lattices/ExtensionFixedCocycleSection.lean ADDED
@@ -0,0 +1,80 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import OAI.GroupTheory.PolycyclicRecognition.Geometry.CentralizerLiftJordanFactor
2
+ import OAI.GroupTheory.PolycyclicRecognition.Algebra.SemisimpleCocycleReduction
3
+ import OAI.GroupTheory.PolycyclicRecognition.Algebra.GaugeExtensionSection
4
+
5
+ namespace OAI
6
+
7
+ /-! # A section with semisimple-fixed factors in the original extension
8
+
9
+ Starting with an actual quotient lift, the semisimple centralizer still maps
10
+ onto the quotient. Its moving central cocycle is removed by the constructed
11
+ Lang correction, and the resulting section is returned in the original group.
12
+ -/
13
+
14
+ noncomputable section
15
+ namespace PolycyclicRecognition
16
+ open scoped Manifold ContDiff IsMulCommutative
17
+ attribute [local instance] polynomialSubalgebraGroup
18
+ variable {L G Q : Type} [RealNormedLieAlgebra L] [FiniteDimensional ℝ L]
19
+ [P : PolynomialExponentialCoordinates L] [LieRing.IsNilpotent L]
20
+ [Group G] [Group Q] [IsMulCommutative Q]
21
+
22
+ theorem extension_exists_semisimple_fixed_cocycle_section (E : GroupExtension L G Q)
23
+ (hsmooth : ∀ g : G, ContMDiff (𝓘(ℝ, L)) (𝓘(ℝ, L)) ∞ (E.conjAct g))
24
+ (t : G) (S U : L ≃ₗ⁅ℝ⁆ L)
25
+ (hS : Module.End.IsSemisimple S.toLinearMap)
26
+ (hU : IsNilpotent (U.toLinearMap - 1))
27
+ (hSU : Commute S.toLinearMap U.toLinearMap)
28
+ (hA : (polynomialModelLieEquiv (E.conjAct t) (hsmooth t)).toLinearMap =
29
+ S.toLinearMap * U.toLinearMap) :
30
+ ∃ σ : E.Section, σ 1 = 1 ∧
31
+ (∀ q, σ q ∈ semisimpleActionCentralizer E S) ∧
32
+ ∀ q r, S (GroupExtensionSection.factor E σ q r) = GroupExtensionSection.factor E σ q r := by
33
+ have hsurj := extension_semisimple_centralizer_surjective E hsmooth t S U hS hU hSU hA
34
+ let D := semisimpleCentralizerExtension E S hsurj
35
+ let σ := normalizedExtensionSection D
36
+ have hσ : σ 1 = 1 := normalizedExtensionSection_one D
37
+ let F := GroupExtensionSection.factorSystem D σ hσ
38
+ let A := fun q => polynomialModelLieEquiv (E.conjAct (σ q : G)) (hsmooth (σ q))
39
+ have hSA : ∀ q, Commute S.toLinearMap (A q).toLinearMap := by
40
+ intro q
41
+ exact (mem_semisimpleActionCentralizer_iff E S (σ q) (hsmooth (σ q))).mp (σ q).property
42
+ have hact : ∀ q x, (F.action q x : L) = A q x := by
43
+ intro q x
44
+ change (D.conjAct (σ q) x : L) = A q x
45
+ rw [semisimpleCentralizerExtension_conjAct]
46
+ exact (polynomialModelLieEquiv_apply _ _ _).symm
47
+ have ht : t ∈ semisimpleActionCentralizer E S := by
48
+ apply (mem_semisimpleActionCentralizer_iff E S t (hsmooth t)).mpr
49
+ rw [hA]
50
+ exact (Commute.refl _).mul_right hSU
51
+ obtain ⟨W, hW, hSW, he⟩ := centralizer_same_fiber_jordan_factor E hsmooth S U t
52
+ (σ (E.rightHom t)) ht (σ _).property
53
+ (σ.rightHom_section (E.rightHom t)) hU hSU hA
54
+ obtain ⟨b, hb, hfixed⟩ := semisimple_cocycle_reduction S hS F A hSA hact
55
+ (E.rightHom t) W hW hSW he
56
+ let σb := GroupExtensionSection.gaugeSection D σ b
57
+ let θ : E.Section :=
58
+ { toFun q := (σb q : G)
59
+ rightInverse_rightHom q := σb.rightHom_section q }
60
+ refine ⟨θ, ?_, fun q => (σb q).property, ?_⟩
61
+ · exact congrArg Subtype.val (GroupExtensionSection.gaugeSection_one D σ hσ b hb)
62
+ · intro q r
63
+ have hfactor : ((GroupExtensionSection.factor D σb q r : innerCentralizerLieSubalgebra S) : L) =
64
+ GroupExtensionSection.factor E θ q r := by
65
+ apply E.inl_injective
66
+ have hh := congrArg Subtype.val (GroupExtensionSection.inl_factor D σb q r)
67
+ change E.inl ((GroupExtensionSection.factor D σb q r : innerCentralizerLieSubalgebra S) : L) =
68
+ (σb q : G) * (σb r : G) * (σb (q * r) : G)⁻¹ at hh
69
+ exact hh.trans (GroupExtensionSection.inl_factor E θ q r).symm
70
+ rw [← hfactor]
71
+ have heq := GroupExtensionSection.factor_gaugeSection D σ hσ b hb q r
72
+ change GroupExtensionSection.factor D σb q r = (F.gauge b hb).factor q r at heq
73
+ rw [heq]
74
+ exact hfixed q r
75
+
76
+ end PolycyclicRecognition
77
+
78
+ end
79
+
80
+ end OAI
lean/OAI/GroupTheory/PolycyclicRecognition/Lattices/FiniteFixedCocycleSection.lean ADDED
@@ -0,0 +1,113 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import OAI.GroupTheory.PolycyclicRecognition.Algebra.FiniteSemisimpleCocycleReduction
2
+ import OAI.GroupTheory.PolycyclicRecognition.Lattices.ExtensionFixedCocycleSection
3
+ import OAI.GroupTheory.PolycyclicRecognition.Algebra.SubgroupExtensionSection
4
+
5
+ namespace OAI
6
+
7
+ /-! # Simultaneously fixed section factors for finitely many quotient lifts
8
+
9
+ The original extension has a normalized section centralizing a finite
10
+ commuting semisimple family. All its factors are fixed by that entire family,
11
+ and the specified quotient elements retain their semisimple Jordan factors.
12
+ -/
13
+
14
+ noncomputable section
15
+ namespace PolycyclicRecognition
16
+ open scoped Manifold ContDiff IsMulCommutative
17
+ variable {L G Q : Type} [RealNormedLieAlgebra L] [FiniteDimensional ℝ L]
18
+ [P : PolynomialExponentialCoordinates L] [LieRing.IsNilpotent L]
19
+ [Group G] [Group Q] [IsMulCommutative Q]
20
+
21
+ omit [LieRing.IsNilpotent L] [IsMulCommutative Q] in
22
+ theorem inl_mem_semisimpleCentralizer_of_center (E : GroupExtension L G Q)
23
+ (S : L ≃ₗ⁅ℝ⁆ L) (x : L) (hx : x ∈ Subgroup.center L) :
24
+ E.inl x ∈ semisimpleActionCentralizer E S := by
25
+ have hi : MulAut.conj x = 1 := by
26
+ apply DFunLike.ext
27
+ intro y
28
+ change x * y * x⁻¹ = y
29
+ rw [← Subgroup.mem_center_iff.mp hx y]
30
+ group
31
+ change E.conjAct (E.inl x) ∈
32
+ Subgroup.centralizer {PolynomialExponentialCoordinates.groupAutomorphism (P := P) S}
33
+ rw [extension_conjAct_inl, hi]
34
+ exact Subgroup.one_mem _
35
+
36
+ theorem exists_finite_fixed_cocycle_section (E : GroupExtension L G Q)
37
+ (hsmooth : ∀ g : G, ContMDiff (𝓘(ℝ, L)) (𝓘(ℝ, L)) ∞ (E.conjAct g)) (qs : List Q) :
38
+ ∃ ss : List (L ≃ₗ⁅ℝ⁆ L),
39
+ (∀ S ∈ ss, Module.End.IsSemisimple S.toLinearMap) ∧
40
+ (∀ S ∈ ss, ∀ T ∈ ss, Commute S.toLinearMap T.toLinearMap) ∧
41
+ ∃ σ : E.Section, σ 1 = 1 ∧
42
+ (∀ S ∈ ss, ∀ q, σ q ∈ semisimpleActionCentralizer E S) ∧
43
+ (∀ S ∈ ss, ∀ q r, S (GroupExtensionSection.factor E σ q r) =
44
+ GroupExtensionSection.factor E σ q r) ∧
45
+ ∀ q ∈ qs, ∃ S ∈ ss, ∃ U : L ≃ₗ⁅ℝ⁆ L,
46
+ IsNilpotent (U.toLinearMap - 1) ∧ Commute S.toLinearMap U.toLinearMap ∧
47
+ (polynomialModelLieEquiv (E.conjAct (σ q)) (hsmooth (σ q))).toLinearMap =
48
+ S.toLinearMap * U.toLinearMap := by
49
+ classical
50
+ obtain ⟨ss₀, hss₀, hpair₀, hsurj, hlifts⟩ := exists_finite_semisimple_lift_family E hsmooth qs
51
+ have hh : ∀ q : {q : Q // q ∈ qs}, ∃ g : G,
52
+ g ∈ commonSemisimpleCentralizer E ss₀ ∧ E.rightHom g = (q : Q) ∧
53
+ ∃ S ∈ ss₀, ∃ U : L ≃ₗ⁅ℝ⁆ L, IsNilpotent (U.toLinearMap - 1) ∧
54
+ Commute S.toLinearMap U.toLinearMap ∧
55
+ (polynomialModelLieEquiv (E.conjAct g) (hsmooth g)).toLinearMap =
56
+ S.toLinearMap * U.toLinearMap := fun q => hlifts q q.property
57
+ choose g hg hgq s hs u hu hsu hgu using hh
58
+ let ss := qs.attach.map s
59
+ have hmem (S : L ≃ₗ⁅ℝ⁆ L) (hS : S ∈ ss) : S ∈ ss₀ := by
60
+ obtain ⟨q, _, hq⟩ := List.mem_map.mp hS
61
+ rw [← hq]
62
+ exact hs q
63
+ obtain ⟨σ, hσ, hσH⟩ := exists_normalized_section_in_subgroup E
64
+ (commonSemisimpleCentralizer E ss₀) hsurj
65
+ have hσS : ∀ S ∈ ss₀, ∀ q, σ q ∈ semisimpleActionCentralizer E S :=
66
+ fun S hS q => (mem_commonSemisimpleCentralizer E ss₀ (σ q)).mp (hσH q) S hS
67
+ let F := GroupExtensionSection.factorSystem E σ hσ
68
+ let A := fun q => polynomialModelLieEquiv (E.conjAct (σ q)) (hsmooth (σ q))
69
+ have hact : ∀ q x, F.action q x = A q x :=
70
+ fun _ _ => (polynomialModelLieEquiv_apply _ _ _).symm
71
+ have hcomm : ∀ S ∈ ss, ∀ q, Commute S.toLinearMap (A q).toLinearMap := by
72
+ intro S hS q
73
+ exact (mem_semisimpleActionCentralizer_iff E S (σ q) (hsmooth (σ q))).mp
74
+ (hσS S (hmem S hS) q)
75
+ have hpair : ∀ S ∈ ss, ∀ T ∈ ss, Commute S.toLinearMap T.toLinearMap :=
76
+ fun S hS T hT => hpair₀ S (hmem S hS) T (hmem T hT)
77
+ have hsemisimple : ∀ S ∈ ss, Module.End.IsSemisimple S.toLinearMap :=
78
+ fun S hS => hss₀ S (hmem S hS)
79
+ have hlift : ∀ S ∈ ss, ∃ q₀ : Q, ∃ U : L ≃ₗ⁅ℝ⁆ L,
80
+ IsNilpotent (U.toLinearMap - 1) ∧ Commute S.toLinearMap U.toLinearMap ∧
81
+ (A q₀).toLinearMap = S.toLinearMap * U.toLinearMap := by
82
+ intro S hS
83
+ obtain ⟨q, _, hq⟩ := List.mem_map.mp hS
84
+ subst S
85
+ obtain ⟨W, hW, hsW, he⟩ := centralizer_same_fiber_jordan_factor E hsmooth (s q) (u q)
86
+ (g q) (σ q) ((mem_commonSemisimpleCentralizer E ss₀ _).mp (hg q) _ (hs q))
87
+ (hσS _ (hs q) q) ((σ.rightHom_section q).trans (hgq q).symm) (hu q) (hsu q) (hgu q)
88
+ exact ⟨q, W, hW, hsW, he⟩
89
+ obtain ⟨b, hb, hbZ, _, hfixed⟩ := finite_semisimple_cocycle_reduction F A hact ss
90
+ hsemisimple hpair hcomm hlift
91
+ let θ := GroupExtensionSection.gaugeSection E σ b
92
+ have hθS : ∀ S ∈ ss, ∀ q, θ q ∈ semisimpleActionCentralizer E S := by
93
+ intro S hS q
94
+ exact (semisimpleActionCentralizer E S).mul_mem
95
+ (inl_mem_semisimpleCentralizer_of_center E S (b q) (hbZ q)) (hσS S (hmem S hS) q)
96
+ refine ⟨ss, hsemisimple, hpair, θ, GroupExtensionSection.gaugeSection_one E σ hσ b hb,
97
+ hθS, ?_, ?_⟩
98
+ · intro S hS q r
99
+ rw [GroupExtensionSection.factor_gaugeSection E σ hσ b hb]
100
+ exact hfixed S hS q r
101
+ · intro q hq
102
+ let i : {q : Q // q ∈ qs} := ⟨q, hq⟩
103
+ have hi : s i ∈ ss := List.mem_map.mpr ⟨i, List.mem_attach _ _, rfl⟩
104
+ obtain ⟨W, hW, hsW, he⟩ := centralizer_same_fiber_jordan_factor E hsmooth (s i) (u i)
105
+ (g i) (θ q) ((mem_commonSemisimpleCentralizer E ss₀ _).mp (hg i) _ (hs i))
106
+ (hθS _ hi q) ((θ.rightHom_section q).trans (hgq i).symm) (hu i) (hsu i) (hgu i)
107
+ exact ⟨s i, hi, W, hW, hsW, he⟩
108
+
109
+ end PolycyclicRecognition
110
+
111
+ end
112
+
113
+ end OAI
lean/OAI/GroupTheory/PolycyclicRecognition/Lattices/FreeAbelianCyclicLattice.lean ADDED
@@ -0,0 +1,57 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import OAI.GroupTheory.PolycyclicRecognition.Algebra.AbelianRealSpace
2
+ import OAI.GroupTheory.PolycyclicRecognition.Lattices.NilpotentCyclicLatticeExtension
3
+ import Mathlib.Algebra.Group.Equiv.TypeTags
4
+
5
+ namespace OAI
6
+
7
+ /-! # Realizing nilpotent integral abelian-by-cyclic groups as Lie lattices
8
+
9
+ The nilpotency class is unrestricted. The real action is constructed by the
10
+ finite logarithm of the extended integral automorphism.
11
+ -/
12
+
13
+ noncomputable section
14
+ namespace PolycyclicRecognition
15
+ open scoped Manifold ContDiff
16
+ variable {d : ℕ}
17
+
18
+ def realIntegralGroupAut (a : MulAut (Multiplicative (Fin d → ℤ))) :
19
+ MulAut (AbelianRealSpace d) :=
20
+ { (realIntegralLinearEquiv a.toAdditive.toIntLinearEquiv).toEquiv with
21
+ map_mul' := fun x y => (realIntegralLinearEquiv a.toAdditive.toIntLinearEquiv).map_add x y }
22
+
23
+ theorem contMDiff_realIntegralGroupAut (a : MulAut (Multiplicative (Fin d → ℤ))) :
24
+ ContMDiff (𝓘(ℝ, AbelianRealSpace d)) (𝓘(ℝ, AbelianRealSpace d)) ∞ (realIntegralGroupAut a) :=
25
+ (realIntegralLinearEquiv a.toAdditive.toIntLinearEquiv).toContinuousLinearEquiv.contDiff.contMDiff
26
+
27
+ theorem realIntegralGroupAut_lattice (a : MulAut (Multiplicative (Fin d → ℤ)))
28
+ (x : Multiplicative (Fin d → ℤ)) :
29
+ realIntegralGroupAut a (abelianRealLatticeEquiv d x) =
30
+ (abelianRealLatticeEquiv d (a x) : AbelianRealSpace d) := by
31
+ rw [abelianRealLatticeEquiv_apply, abelianRealLatticeEquiv_apply]
32
+ exact realIntegralLinearEquiv_cast a.toAdditive.toIntLinearEquiv x.toAdd
33
+
34
+ theorem freeAbelian_cyclic_nilpotent_lattice
35
+ (a : MulAut (Multiplicative (Fin d → ℤ)))
36
+ [Group.IsNilpotent (Multiplicative (Fin d → ℤ) ⋊[integerPowerAction a] Multiplicative ℤ)] :
37
+ ∃ (S : SimplyConnectedSolvableLieModel) (Γ : Subgroup S.carrier),
38
+ IsUniformLattice Γ ∧
39
+ Nonempty ((Multiplicative (Fin d → ℤ) ⋊[integerPowerAction a] Multiplicative ℤ) ≃* Γ) := by
40
+ let b : Module.Basis (Fin d) ℝ (AbelianRealSpace d) := Pi.basisFun ℝ (Fin d)
41
+ refine nilpotent_cyclic_lattice_extension a b id
42
+ (IsPolynomialInBasis.linear (LinearMap.id : AbelianRealSpace d →ₗ[ℝ] AbelianRealSpace d))
43
+ Function.surjective_id (abelianRealLattice d) (abelianRealLattice_uniform d)
44
+ (abelianRealLatticeEquiv d) ?_ (realIntegralGroupAut a)
45
+ (contMDiff_realIntegralGroupAut a) (realIntegralGroupAut_lattice a)
46
+ intro z
47
+ refine ⟨Multiplicative.ofAdd z, ?_⟩
48
+ rw [abelianRealLatticeEquiv_apply]
49
+ change (fun i => (z i : ℝ)) = (Pi.basisFun ℝ (Fin d)).equivFun.symm (fun i => (z i : ℝ))
50
+ rw [Pi.basisFun_equivFun]
51
+ rfl
52
+
53
+ end PolycyclicRecognition
54
+
55
+ end
56
+
57
+ end OAI
lean/OAI/GroupTheory/PolycyclicRecognition/Lattices/IntegerCyclicHomExtension.lean ADDED
@@ -0,0 +1,63 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import OAI.GroupTheory.PolycyclicRecognition.Lattices.NilpotentCyclicHomExtension
2
+ import OAI.GroupTheory.PolycyclicRecognition.Algebra.UnipotentCyclicEmbedding
3
+ import OAI.GroupTheory.PolycyclicRecognition.Algebra.PolynomialModelHom
4
+ import OAI.GroupTheory.PolycyclicRecognition.Algebra.PolynomialModelWords
5
+
6
+ namespace OAI
7
+
8
+ /-! # The real cyclic completion extends the given integral homomorphism -/
9
+
10
+ noncomputable section
11
+ namespace PolycyclicRecognition
12
+ open scoped Manifold ContDiff
13
+ variable {L M : Type} [RealNormedLieAlgebra L] [FiniteDimensional ℝ L]
14
+ [RealNormedLieAlgebra M] [FiniteDimensional ℝ M]
15
+ [P : PolynomialExponentialCoordinates L] [Q : PolynomialExponentialCoordinates M]
16
+ [LieRing.IsNilpotent L] [LieRing.IsNilpotent M]
17
+
18
+ theorem integer_cyclic_hom_extension (A : L ≃ₗ⁅ℝ⁆ L)
19
+ (hA : IsNilpotent (A.toLinearMap - 1)) (F : PolynomialCyclicGroup A →* M)
20
+ (hF : ContMDiff (𝓘(ℝ, L)) (𝓘(ℝ, M)) ∞ (F.comp SemidirectProduct.inl)) :
21
+ let D := unipotentLieLogarithm A hA
22
+ let hD := unipotentLieLogarithm_nilpotent A hA
23
+ letI := derivationSemidirectGroup D hD
24
+ letI : MulOneClass (L × ℝ) := (derivationSemidirectGroup D hD).toMulOneClass
25
+ ∃ φ : (L × ℝ) →* M, ContMDiff (𝓘(ℝ, L × ℝ)) (𝓘(ℝ, M)) ∞ φ ∧
26
+ ∀ z, φ (unipotentCyclicEmbedding A hA z) = F z := by
27
+ let k := F.comp SemidirectProduct.inl
28
+ let f := polynomialModelLieHom k hF
29
+ let t : PolynomialCyclicGroup A := SemidirectProduct.inr (Multiplicative.ofAdd (1 : ℤ))
30
+ let u := F t
31
+ have hf (x : L) : f x = F (SemidirectProduct.inl x) := polynomialModelLieHom_apply k hF x
32
+ have hconj (x : L) : f (A x) = u * f x * u⁻¹ := by
33
+ rw [hf, hf]
34
+ have hh := SemidirectProduct.inl_aut
35
+ (φ := integerPowerAction (PolynomialExponentialCoordinates.groupAutomorphism A))
36
+ (Multiplicative.ofAdd (1 : ℤ)) x
37
+ rw [map_inv] at hh
38
+ change SemidirectProduct.inl
39
+ (((PolynomialExponentialCoordinates.groupAutomorphism A) ^ (1 : ℤ)) x) =
40
+ t * SemidirectProduct.inl x * t⁻¹ at hh
41
+ have hh' := congrArg F hh
42
+ simpa only [zpow_one, PolynomialExponentialCoordinates.groupAutomorphism_apply,
43
+ map_mul, map_inv] using hh'
44
+ obtain ⟨φ, hφ, hφx⟩ := nilpotent_cyclic_hom_extension A hA f u hconj
45
+ refine ⟨φ, hφ, ?_⟩
46
+ intro z
47
+ rw [unipotentCyclicEmbedding_apply, hφx, hf]
48
+ have hz : (SemidirectProduct.inr z.right : PolynomialCyclicGroup A) = t ^ z.right.toAdd := by
49
+ rw [← map_zpow]
50
+ congr 1
51
+ apply Multiplicative.ext
52
+ change z.right.toAdd = z.right.toAdd • (1 : ℤ)
53
+ simp
54
+ rw [← model_zpow, ← map_zpow, ← hz]
55
+ rw [← map_mul]
56
+ congr 1
57
+ exact (SemidirectProduct.mk_eq_inl_mul_inr z.right z.left).symm
58
+
59
+ end PolycyclicRecognition
60
+
61
+ end
62
+
63
+ end OAI
lean/OAI/GroupTheory/PolycyclicRecognition/Lattices/IntegerSemidirectLattice.lean ADDED
@@ -0,0 +1,129 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import OAI.GroupTheory.PolycyclicRecognition.Lattices.RealActionIntegerLattice
2
+
3
+ namespace OAI
4
+
5
+ /-! # The integral semidirect product is the lattice in its real extension -/
6
+
7
+ noncomputable section
8
+ namespace PolycyclicRecognition
9
+ variable {H N : Type*} [Group H] [Group N]
10
+
11
+ def integerPowerAction (a : MulAut H) : Multiplicative ℤ →* MulAut H where
12
+ toFun n := a ^ n.toAdd
13
+ map_one' := zpow_zero a
14
+ map_mul' n m := zpow_add a n.toAdd m.toAdd
15
+
16
+ def integerTimeHom : Multiplicative ℤ →* Multiplicative ℝ where
17
+ toFun n := Multiplicative.ofAdd (n.toAdd : ℝ)
18
+ map_one' := by apply Multiplicative.ext; exact Int.cast_zero
19
+ map_mul' n m := by apply Multiplicative.ext; exact Int.cast_add _ _
20
+
21
+ theorem integerTimeHom_injective : Function.Injective integerTimeHom := by
22
+ intro n m h
23
+ apply Multiplicative.ext
24
+ have he : (n.toAdd : ℝ) = (m.toAdd : ℝ) := congrArg Multiplicative.toAdd h
25
+ exact_mod_cast he
26
+
27
+ theorem realAction_int (φ : Multiplicative ℝ →* MulAut N) (n : ℤ) :
28
+ φ (Multiplicative.ofAdd (n : ℝ)) = φ (Multiplicative.ofAdd 1) ^ n := by
29
+ have he : (Multiplicative.ofAdd (1 : ℝ)) ^ n = Multiplicative.ofAdd (n : ℝ) := by
30
+ apply Multiplicative.ext
31
+ change n • (1 : ℝ) = (n : ℝ)
32
+ simp
33
+ rw [← he, map_zpow]
34
+
35
+ theorem mulAut_zpow_semiconj (a : MulAut H) (b : MulAut N) (e : H → N)
36
+ (he : ∀ x, e (a x) = b (e x)) (n : ℤ) (x : H) :
37
+ e ((a ^ n) x) = (b ^ n) (e x) := by
38
+ have hi (y : H) : e (a.symm y) = b.symm (e y) := by
39
+ apply b.injective
40
+ rw [← he, a.apply_symm_apply, b.apply_symm_apply]
41
+ have hp (a' : MulAut H) (b' : MulAut N) (h : ∀ y, e (a' y) = b' (e y)) (k : ℕ) :
42
+ ∀ y, e ((a' ^ k) y) = (b' ^ k) (e y) := by
43
+ induction k with
44
+ | zero => exact fun _ => rfl
45
+ | succ k ih =>
46
+ intro y
47
+ rw [pow_succ', pow_succ']
48
+ change e (a' ((a' ^ k) y)) = b' ((b' ^ k) (e y))
49
+ rw [h, ih]
50
+ cases n with
51
+ | ofNat n => exact hp a b he n x
52
+ | negSucc n =>
53
+ change e ((a ^ (-((n + 1 : ℕ) : ℤ))) x) = (b ^ (-((n + 1 : ℕ) : ℤ))) (e x)
54
+ rw [zpow_neg, zpow_neg, zpow_natCast, zpow_natCast, ← inv_pow, ← inv_pow]
55
+ exact hp a.symm b.symm hi (n + 1) x
56
+
57
+ def realIntegerSemidirectMap (φ : Multiplicative ℝ →* MulAut N) (a : MulAut H)
58
+ (e : H →* N) (he : ∀ x, e (a x) = φ (Multiplicative.ofAdd 1) (e x)) :
59
+ (H ⋊[integerPowerAction a] Multiplicative ℤ) →* (N ⋊[φ] Multiplicative ℝ) :=
60
+ SemidirectProduct.map e integerTimeHom (by
61
+ intro n
62
+ ext x
63
+ change e ((a ^ n.toAdd) x) = φ (Multiplicative.ofAdd (n.toAdd : ℝ)) (e x)
64
+ rw [realAction_int]
65
+ exact mulAut_zpow_semiconj a _ e he n.toAdd x)
66
+
67
+ theorem realIntegerSemidirectMap_injective
68
+ (φ : Multiplicative ℝ →* MulAut N) (a : MulAut H)
69
+ (e : H →* N) (he : ∀ x, e (a x) = φ (Multiplicative.ofAdd 1) (e x))
70
+ (hej : Function.Injective e) : Function.Injective (realIntegerSemidirectMap φ a e he) := by
71
+ intro x y h
72
+ apply SemidirectProduct.ext
73
+ · exact hej (congrArg SemidirectProduct.left h)
74
+ · exact integerTimeHom_injective (congrArg SemidirectProduct.right h)
75
+
76
+ variable [TopologicalSpace N]
77
+ attribute [local instance] semidirectProductTopology
78
+
79
+ theorem integer_semidirect_lattice_realization_with_coordinates
80
+ (φ : Multiplicative ℝ →* MulAut N) (a : MulAut H)
81
+ (Λ : Subgroup N) (hΛ : IsUniformLattice Λ) (e : H ≃* Λ)
82
+ (he : ∀ x, (e (a x) : N) = φ (Multiplicative.ofAdd 1) (e x)) :
83
+ ∃ Γ : Subgroup (N ⋊[φ] Multiplicative ℝ), IsUniformLattice Γ ∧
84
+ ∃ f : (H ⋊[integerPowerAction a] Multiplicative ℤ) ≃* Γ,
85
+ ∀ x, (f x : N ⋊[φ] Multiplicative ℝ) =
86
+ realIntegerSemidirectMap φ a (Λ.subtype.comp e.toMonoidHom) he x := by
87
+ let j : H →* N := Λ.subtype.comp e.toMonoidHom
88
+ have hstable : ∀ t ∈ integerTimeLattice, ∀ x ∈ Λ, φ t x ∈ Λ := by
89
+ intro t ht x hx
90
+ obtain ⟨n, rfl⟩ := integerTimeLattice_exists ht
91
+ obtain ⟨y, hy⟩ := e.surjective ⟨x, hx⟩
92
+ have hj : j y = x := congrArg Subtype.val hy
93
+ rw [← hj, realAction_int, ← mulAut_zpow_semiconj a _ j he]
94
+ exact (e ((a ^ n) y)).property
95
+ let Γ := semidirectLattice φ Λ integerTimeLattice hstable
96
+ let f := realIntegerSemidirectMap φ a j he
97
+ have hf (x) : f x ∈ Γ := ⟨(e x.left).property, integerTimeLattice_mem x.right.toAdd⟩
98
+ let f' : (H ⋊[integerPowerAction a] Multiplicative ℤ) →* Γ := f.codRestrict Γ hf
99
+ have hinj : Function.Injective f' := by
100
+ intro x y h
101
+ exact realIntegerSemidirectMap_injective φ a j he
102
+ (Λ.subtype_injective.comp e.injective) (congrArg Subtype.val h)
103
+ have hsurj : Function.Surjective f' := by
104
+ intro z
105
+ obtain ⟨x, hx⟩ := e.surjective ⟨z.val.left, z.property.1⟩
106
+ obtain ⟨n, hn⟩ := integerTimeLattice_exists z.property.2
107
+ refine ⟨⟨x, Multiplicative.ofAdd n⟩, ?_⟩
108
+ apply Subtype.ext
109
+ apply SemidirectProduct.ext
110
+ · exact congrArg Subtype.val hx
111
+ · exact hn.symm
112
+ exact ⟨Γ, semidirectLattice_uniform φ Λ integerTimeLattice hstable hΛ
113
+ integerTimeLattice_uniform, MulEquiv.ofBijective f' ⟨hinj, hsurj⟩, fun _ => rfl⟩
114
+
115
+ theorem integer_semidirect_lattice_realization
116
+ (φ : Multiplicative ℝ →* MulAut N) (a : MulAut H)
117
+ (Λ : Subgroup N) (hΛ : IsUniformLattice Λ) (e : H ≃* Λ)
118
+ (he : ∀ x, (e (a x) : N) = φ (Multiplicative.ofAdd 1) (e x)) :
119
+ ∃ Γ : Subgroup (N ⋊[φ] Multiplicative ℝ), IsUniformLattice Γ ∧
120
+ Nonempty ((H ⋊[integerPowerAction a] Multiplicative ℤ) ≃* Γ) := by
121
+ obtain ⟨Γ, hΓ, f, _⟩ :=
122
+ integer_semidirect_lattice_realization_with_coordinates φ a Λ hΛ e he
123
+ exact ⟨Γ, hΓ, ⟨f⟩⟩
124
+
125
+ end PolycyclicRecognition
126
+
127
+ end
128
+
129
+ end OAI
lean/OAI/GroupTheory/PolycyclicRecognition/Lattices/IntegerTimeLattice.lean ADDED
@@ -0,0 +1,48 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import OAI.GroupTheory.PolycyclicRecognition.Lattices.UniformLatticeMetric
2
+ import Mathlib.Topology.Instances.ZMultiples
3
+ import Mathlib.Algebra.Group.TypeTags.Basic
4
+
5
+ namespace OAI
6
+
7
+ /-! # The integer time lattice in the real one-parameter group -/
8
+
9
+ noncomputable section
10
+ namespace PolycyclicRecognition
11
+ open Set
12
+
13
+ def integerTimeLattice : Subgroup (Multiplicative ℝ) :=
14
+ (AddSubgroup.zmultiples (1 : ℝ)).toSubgroup
15
+
16
+ theorem integerTimeLattice_mem (n : ℤ) :
17
+ Multiplicative.ofAdd (n : ℝ) ∈ integerTimeLattice := by
18
+ change (n : ℝ) ∈ AddSubgroup.zmultiples (1 : ℝ)
19
+ exact AddSubgroup.mem_zmultiples_iff.mpr ⟨n, by simp⟩
20
+
21
+ theorem integerTimeLattice_exists {x : Multiplicative ℝ} (hx : x ∈ integerTimeLattice) :
22
+ ∃ n : ℤ, x = Multiplicative.ofAdd (n : ℝ) := by
23
+ change x.toAdd ∈ AddSubgroup.zmultiples (1 : ℝ) at hx
24
+ obtain ⟨n, hn⟩ := AddSubgroup.mem_zmultiples_iff.mp hx
25
+ refine ⟨n, ?_⟩
26
+ apply Multiplicative.ext
27
+ simpa using hn.symm
28
+
29
+ theorem integerTimeLattice_uniform : IsUniformLattice integerTimeLattice := by
30
+ have hd : DiscreteTopology integerTimeLattice := by
31
+ change DiscreteTopology (AddSubgroup.zmultiples (1 : ℝ))
32
+ infer_instance
33
+ refine ⟨hd, Multiplicative.ofAdd '' Icc (0 : ℝ) 1,
34
+ isCompact_Icc.image (show Continuous (Multiplicative.ofAdd : ℝ → Multiplicative ℝ)
35
+ from continuous_id), ?_⟩
36
+ intro x
37
+ refine ⟨⟨Multiplicative.ofAdd (⌊x.toAdd⌋ : ℝ), integerTimeLattice_mem _⟩,
38
+ Multiplicative.ofAdd (Int.fract x.toAdd), ?_, ?_⟩
39
+ · exact ⟨Int.fract x.toAdd, ⟨Int.fract_nonneg _, (Int.fract_lt_one _).le⟩, rfl⟩
40
+ · apply Multiplicative.ext
41
+ change (⌊x.toAdd⌋ : ℝ) + (x.toAdd - (⌊x.toAdd⌋ : ℝ)) = x.toAdd
42
+ abel
43
+
44
+ end PolycyclicRecognition
45
+
46
+ end
47
+
48
+ end OAI
lean/OAI/GroupTheory/PolycyclicRecognition/Lattices/IntegralBilinearLattice.lean ADDED
@@ -0,0 +1,63 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import OAI.GroupTheory.PolycyclicRecognition.Analysis.IntegralBilinearExtension
2
+
3
+ namespace OAI
4
+
5
+ /-! # The Lie lattice attached to an integral bilinear group law -/
6
+
7
+ noncomputable section
8
+ namespace PolycyclicRecognition
9
+
10
+ variable {d e : ℕ} (a : Fin e → Fin d → Fin d → ℤ)
11
+
12
+ def integralBilinearEmbedding : BilinearCentralGroup (coefficientBilinear a) →*
13
+ (bilinearCentralLieModel (realCoefficientBilinear a)).carrier where
14
+ toFun x := (integerVectorMap d x.1, integerVectorMap e x.2)
15
+ map_one' := by apply Prod.ext <;> exact map_zero _
16
+ map_mul' x y := by
17
+ apply Prod.ext
18
+ · exact map_add _ _ _
19
+ · change integerVectorMap e (x.2 + y.2 + coefficientBilinear a x.1 y.1) =
20
+ integerVectorMap e x.2 + integerVectorMap e y.2 +
21
+ realCoefficientBilinear a (integerVectorMap d x.1) (integerVectorMap d y.1)
22
+ rw [map_add, map_add, realCoefficientBilinear_cast]
23
+
24
+ theorem integralBilinearEmbedding_injective : Function.Injective (integralBilinearEmbedding a) := by
25
+ intro x y h
26
+ exact Prod.ext (integerVectorMap_injective d (congrArg Prod.fst h))
27
+ (integerVectorMap_injective e (congrArg Prod.snd h))
28
+
29
+ def integralBilinearLattice :
30
+ Subgroup (bilinearCentralLieModel (realCoefficientBilinear a)).carrier :=
31
+ bilinearCentralLattice (Pi.basisFun ℝ (Fin d)) (Pi.basisFun ℝ (Fin e))
32
+ (realCoefficientBilinear a) (realCoefficientBilinear_integral a)
33
+
34
+ theorem integralBilinearLattice_uniform : IsUniformLattice (integralBilinearLattice a) :=
35
+ bilinearCentralLattice_uniform _ _ _ _
36
+
37
+ def integralBilinearLatticeEquiv :
38
+ BilinearCentralGroup (coefficientBilinear a) ≃* integralBilinearLattice a := by
39
+ let f : BilinearCentralGroup (coefficientBilinear a) →* integralBilinearLattice a :=
40
+ (integralBilinearEmbedding a).codRestrict _ (fun x =>
41
+ ⟨integerVectorMap_mem d x.1, integerVectorMap_mem e x.2⟩)
42
+ apply MulEquiv.ofBijective f
43
+ constructor
44
+ · intro x y h
45
+ exact integralBilinearEmbedding_injective a (congrArg Subtype.val h)
46
+ · intro x
47
+ obtain ⟨u, hu⟩ := exists_integerVectorMap_of_mem d x.val.1 x.property.1
48
+ obtain ⟨v, hv⟩ := exists_integerVectorMap_of_mem e x.val.2 x.property.2
49
+ refine ⟨(u, v), ?_⟩
50
+ apply Subtype.ext
51
+ exact Prod.ext hu hv
52
+
53
+ theorem integralBilinear_solvable_realization :
54
+ ∃ (S : SimplyConnectedSolvableLieModel) (Λ : Subgroup S.carrier),
55
+ IsUniformLattice Λ ∧ Nonempty (BilinearCentralGroup (coefficientBilinear a) ≃* Λ) :=
56
+ ⟨bilinearCentralLieModel (realCoefficientBilinear a), integralBilinearLattice a,
57
+ integralBilinearLattice_uniform a, ⟨integralBilinearLatticeEquiv a⟩⟩
58
+
59
+ end PolycyclicRecognition
60
+
61
+ end
62
+
63
+ end OAI
lean/OAI/GroupTheory/PolycyclicRecognition/Lattices/IntegralLatticeGenerators.lean ADDED
@@ -0,0 +1,69 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import OAI.GroupTheory.PolycyclicRecognition.Analysis.IntegralLinearExtension
2
+
3
+ namespace OAI
4
+
5
+ /-! # Coordinate generators and the standard embedding of the integral lattice -/
6
+
7
+ noncomputable section
8
+ namespace PolycyclicRecognition
9
+
10
+ def integralLatticeGenerator (n : ℕ) (i : Fin n) : IntegralLatticeGroup n :=
11
+ Multiplicative.ofAdd ((Pi.basisFun ℤ (Fin n)) i)
12
+
13
+ theorem integralLatticeGenerator_prod (n : ℕ) (z : IntegralLatticeGroup n) :
14
+ (∏ i, integralLatticeGenerator n i ^ z.toAdd i) = z := by
15
+ apply Multiplicative.toAdd.injective
16
+ simpa only [toAdd_prod, toAdd_zpow, integralLatticeGenerator, toAdd_ofAdd,
17
+ Pi.basisFun_equivFun, LinearEquiv.refl_apply] using
18
+ (Pi.basisFun ℤ (Fin n)).sum_equivFun z.toAdd
19
+
20
+ theorem integralLatticeGenerator_closure (n : ℕ) :
21
+ Subgroup.closure (Set.range (integralLatticeGenerator n)) = ⊤ := by
22
+ apply top_unique
23
+ intro z _
24
+ rw [← integralLatticeGenerator_prod n z]
25
+ exact Subgroup.prod_mem _ fun i _ => Subgroup.zpow_mem _
26
+ (Subgroup.subset_closure (Set.mem_range_self i)) _
27
+
28
+ theorem integralLattice_hom_ext {n : ℕ} {K : Type*} [Group K]
29
+ {f g : IntegralLatticeGroup n →* K}
30
+ (h : ∀ i, f (integralLatticeGenerator n i) = g (integralLatticeGenerator n i)) : f = g := by
31
+ apply MonoidHom.eq_of_eqOn_dense (integralLatticeGenerator_closure n)
32
+ rintro _ ⟨i, rfl⟩
33
+ exact h i
34
+
35
+ def integerVectorHom (n : ℕ) : IntegralLatticeGroup n →* Multiplicative (Fin n → ℝ) where
36
+ toFun z := Multiplicative.ofAdd (integerVectorMap n z.toAdd)
37
+ map_one' := by apply Multiplicative.ext; exact (integerVectorMap n).map_zero
38
+ map_mul' z w := by apply Multiplicative.ext; exact (integerVectorMap n).map_add z.toAdd w.toAdd
39
+
40
+ theorem integerVectorHom_injective (n : ℕ) : Function.Injective (integerVectorHom n) := by
41
+ intro z w h
42
+ exact Multiplicative.ext (integerVectorMap_injective n (congrArg Multiplicative.toAdd h))
43
+
44
+ def integerVectorRangeEquiv (n : ℕ) : IntegralLatticeGroup n ≃* (integerVectorHom n).range :=
45
+ MulEquiv.ofBijective (integerVectorHom n).rangeRestrict
46
+ ⟨fun _ _ h => integerVectorHom_injective n (congrArg Subtype.val h),
47
+ (integerVectorHom n).rangeRestrict_surjective⟩
48
+
49
+ theorem integerVectorHom_range (n : ℕ) : (integerVectorHom n).range = standardVectorLattice n := by
50
+ ext x
51
+ change (∃ z : IntegralLatticeGroup n,
52
+ Multiplicative.ofAdd (integerVectorMap n z.toAdd) = x) ↔
53
+ x.toAdd ∈ Submodule.span ℤ (Set.range (Pi.basisFun ℝ (Fin n)))
54
+ constructor
55
+ · rintro ⟨z, rfl⟩
56
+ exact integerVectorMap_mem n z.toAdd
57
+ · intro hx
58
+ obtain ⟨z, hz⟩ := exists_integerVectorMap_of_mem n x.toAdd hx
59
+ exact ⟨Multiplicative.ofAdd z, Multiplicative.ext hz⟩
60
+
61
+ theorem integerVectorHom_uniform (n : ℕ) : IsUniformLattice (integerVectorHom n).range := by
62
+ rw [integerVectorHom_range]
63
+ exact standardVectorLattice_uniform n
64
+
65
+ end PolycyclicRecognition
66
+
67
+ end
68
+
69
+ end OAI
lean/OAI/GroupTheory/PolycyclicRecognition/Lattices/IntegralLatticePowerIndex.lean ADDED
@@ -0,0 +1,91 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import OAI.GroupTheory.PolycyclicRecognition.Lattices.IntegralLatticeGenerators
2
+ import OAI.GroupTheory.PolycyclicRecognition.Algebra.CyclicPowerIndex
3
+
4
+ namespace OAI
5
+
6
+ /-! # Finite-index powers in an integral vector lattice -/
7
+
8
+ noncomputable section
9
+ namespace PolycyclicRecognition
10
+
11
+ def latticePowerHom (n m : ℕ) : IntegralLatticeGroup n →* IntegralLatticeGroup n where
12
+ toFun z := z ^ m
13
+ map_one' := one_pow m
14
+ map_mul' z w := (Commute.all z w).mul_pow m
15
+
16
+ def latticeCoordinateHom (n : ℕ) (i : Fin n) : IntegralLatticeGroup n →* Multiplicative ℤ where
17
+ toFun z := Multiplicative.ofAdd (z.toAdd i)
18
+ map_one' := rfl
19
+ map_mul' _ _ := rfl
20
+
21
+ theorem latticePowerHom_injective (n : ℕ) {m : ℕ} (hm : 0 < m) :
22
+ Function.Injective (latticePowerHom n m) := by
23
+ intro z w h
24
+ apply Multiplicative.ext
25
+ funext i
26
+ have hi := congrArg (fun a : IntegralLatticeGroup n => a.toAdd i) h
27
+ change (m : ℤ) * z.toAdd i = (m : ℤ) * w.toAdd i at hi
28
+ exact mul_left_cancel₀ (by exact_mod_cast Nat.ne_of_gt hm) hi
29
+
30
+ theorem latticePowerHom_range (n m : ℕ) :
31
+ (latticePowerHom n m).range =
32
+ ⨅ i, (integerScaleHom m).range.comap (latticeCoordinateHom n i) := by
33
+ ext z
34
+ simp only [Subgroup.mem_iInf, Subgroup.mem_comap, MonoidHom.mem_range]
35
+ constructor
36
+ · rintro ⟨w, rfl⟩ i
37
+ exact ⟨Multiplicative.ofAdd (w.toAdd i), rfl⟩
38
+ · intro h
39
+ choose w hw using h
40
+ refine ⟨Multiplicative.ofAdd (fun i => (w i).toAdd), ?_⟩
41
+ apply Multiplicative.ext
42
+ funext i
43
+ exact congrArg Multiplicative.toAdd (hw i)
44
+
45
+ theorem latticePowerHom_finiteIndex (n : ℕ) {m : ℕ} (hm : 0 < m) :
46
+ (latticePowerHom n m).range.FiniteIndex := by
47
+ let := integerScaleHom_range_finiteIndex hm
48
+ rw [latticePowerHom_range]
49
+ apply Subgroup.finiteIndex_iInf
50
+ intro i
51
+ infer_instance
52
+
53
+ variable {H : Type} [Group H]
54
+
55
+ def integralSemidirectPowerMap {n : ℕ} (ρ : IntegralLatticeGroup n →* MulAut H) (m : ℕ) :
56
+ (H ⋊[ρ.comp (latticePowerHom n m)] IntegralLatticeGroup n) →*
57
+ (H ⋊[ρ] IntegralLatticeGroup n) :=
58
+ SemidirectProduct.map (MonoidHom.id H) (latticePowerHom n m) (by intros; rfl)
59
+
60
+ theorem integralSemidirectPowerMap_injective {n m : ℕ} (ρ : IntegralLatticeGroup n →* MulAut H)
61
+ (hm : 0 < m) : Function.Injective (integralSemidirectPowerMap ρ m) := by
62
+ intro x y h
63
+ apply SemidirectProduct.ext
64
+ · exact congrArg (fun z : H ⋊[ρ] IntegralLatticeGroup n => z.left) h
65
+ · exact latticePowerHom_injective n hm
66
+ (congrArg (fun z : H ⋊[ρ] IntegralLatticeGroup n => z.right) h)
67
+
68
+ theorem integralSemidirectPowerMap_range {n : ℕ} (ρ : IntegralLatticeGroup n →* MulAut H) (m : ℕ) :
69
+ (integralSemidirectPowerMap ρ m).range =
70
+ (latticePowerHom n m).range.comap SemidirectProduct.rightHom := by
71
+ ext g
72
+ constructor
73
+ · rintro ⟨x, rfl⟩
74
+ exact ⟨x.right, rfl⟩
75
+ · rintro ⟨v, hv⟩
76
+ refine ⟨⟨g.left, v⟩, ?_⟩
77
+ apply SemidirectProduct.ext
78
+ · rfl
79
+ · exact hv
80
+
81
+ theorem integralSemidirectPowerMap_finiteIndex {n m : ℕ} (ρ : IntegralLatticeGroup n →* MulAut H)
82
+ (hm : 0 < m) : (integralSemidirectPowerMap ρ m).range.FiniteIndex := by
83
+ let := latticePowerHom_finiteIndex n hm
84
+ rw [integralSemidirectPowerMap_range]
85
+ infer_instance
86
+
87
+ end PolycyclicRecognition
88
+
89
+ end
90
+
91
+ end OAI
lean/OAI/GroupTheory/PolycyclicRecognition/Lattices/IntegralNilshadow.lean ADDED
@@ -0,0 +1,113 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import OAI.GroupTheory.PolycyclicRecognition.Analysis.IntegralSemisimpleTwist
2
+ import OAI.GroupTheory.PolycyclicRecognition.Algebra.UnipotentFactorSystem
3
+ import OAI.GroupTheory.PolycyclicRecognition.Lattices.KernelCompletionAction
4
+ import OAI.GroupTheory.PolycyclicRecognition.Algebra.FactorSystemTwistAction
5
+
6
+ namespace OAI
7
+
8
+ /-! # Constructing the nilshadow of an integral abelian extension
9
+
10
+ Both the section and the removed action are constructed from the original
11
+ extension. The twisted group has a nilpotent real completion of the correct
12
+ dimension. Its removed action extends, and the original group embeds faithfully
13
+ in the corresponding semidirect product. The quotient here is still integral.
14
+ -/
15
+
16
+ noncomputable section
17
+ namespace PolycyclicRecognition
18
+ open scoped Manifold ContDiff
19
+ variable {L G : Type} [RealNormedLieAlgebra L] [FiniteDimensional ℝ L]
20
+ [P : PolynomialExponentialCoordinates L] [LieRing.IsNilpotent L] [Group G] {n : ℕ}
21
+
22
+ structure IntegralNilshadowData (E : GroupExtension L G (IntegralLatticeGroup n)) where
23
+ sectionMap : E.Section
24
+ normalized : sectionMap 1 = 1
25
+ removed : IntegralLatticeGroup n →* MulAut L
26
+ commutes : ∀ q r, Commute
27
+ ((GroupExtensionSection.factorSystem E sectionMap normalized).action q) (removed r)
28
+ fixes : ∀ q r s, removed q
29
+ ((GroupExtensionSection.factorSystem E sectionMap normalized).factor r s) =
30
+ (GroupExtensionSection.factorSystem E sectionMap normalized).factor r s
31
+ smooth : ∀ q, ContMDiff (𝓘(ℝ, L)) (𝓘(ℝ, L)) ∞ (removed q)
32
+ twist_smooth : ∀ q, ContMDiff (𝓘(ℝ, L)) (𝓘(ℝ, L)) ∞
33
+ (((GroupExtensionSection.factorSystem E sectionMap normalized).twist removed commutes fixes).action q)
34
+ twist_nilpotent : Group.IsNilpotent (FactorExtension
35
+ ((GroupExtensionSection.factorSystem E sectionMap normalized).twist removed commutes fixes))
36
+ completion : NilpotentKernelCompletion (FactorExtension.inl
37
+ ((GroupExtensionSection.factorSystem E sectionMap normalized).twist removed commutes fixes))
38
+ dimension : completion.dimension = Module.finrank ℝ L + n
39
+
40
+ theorem exists_integralNilshadowData (E : GroupExtension L G (IntegralLatticeGroup n))
41
+ (hsmooth : ∀ g : G, ContMDiff (𝓘(ℝ, L)) (𝓘(ℝ, L)) ∞ (E.conjAct g)) :
42
+ Nonempty (IntegralNilshadowData E) := by
43
+ obtain ⟨σ, hσ, χ, hc, hf, hχ, hT, hu⟩ := integral_semisimple_twist E hsmooth
44
+ let R := GroupExtensionSection.factorSystem E σ hσ
45
+ let T := R.twist χ hc hf
46
+ let qs := List.ofFn (integralLatticeGenerator n)
47
+ have hgen : Subgroup.closure {q | q ∈ qs} = ⊤ := by
48
+ convert integralLatticeGenerator_closure n using 2
49
+ ext q
50
+ exact List.mem_ofFn
51
+ have hnil : Group.IsNilpotent (FactorExtension T) :=
52
+ factorSystem_nilpotent_of_unipotent T hT qs hgen (by
53
+ intro q hq
54
+ obtain ⟨i, rfl⟩ := List.mem_ofFn.mp hq
55
+ exact hu i)
56
+ let := hnil
57
+ obtain ⟨C, hC⟩ := nilpotent_integral_kernel_completion_with_dimension
58
+ (FactorExtension.groupExtension T) (factorSystem_conjugation_smooth T hT)
59
+ exact ⟨⟨σ, hσ, χ, hc, hf, hχ, hT, hnil, C, hC⟩⟩
60
+
61
+ namespace IntegralNilshadowData
62
+ variable {E : GroupExtension L G (IntegralLatticeGroup n)} (D : IntegralNilshadowData E)
63
+ omit [LieRing.IsNilpotent L]
64
+
65
+ abbrev system := GroupExtensionSection.factorSystem E D.sectionMap D.normalized
66
+ abbrev twistedSystem := D.system.twist D.removed D.commutes D.fixes
67
+ abbrev integralAction := factorTwistAction D.system D.removed D.commutes D.fixes
68
+
69
+ theorem integralAction_kernel_smooth (q : IntegralLatticeGroup n) :
70
+ ContMDiff (𝓘(ℝ, L)) (𝓘(ℝ, D.completion.carrier)) ∞
71
+ ((D.completion.embed.comp (D.integralAction q).toMonoidHom).comp
72
+ (FactorExtension.inl D.twistedSystem)) := by
73
+ exact D.completion.kernel_smooth.comp (D.smooth q)
74
+
75
+ def completedAction : IntegralLatticeGroup n →* MulAut D.completion.carrier :=
76
+ D.completion.extendedAction D.integralAction D.integralAction_kernel_smooth
77
+
78
+ theorem completedAction_smooth (q : IntegralLatticeGroup n) :
79
+ ContMDiff (𝓘(ℝ, D.completion.carrier)) (𝓘(ℝ, D.completion.carrier)) ∞ (D.completedAction q) :=
80
+ D.completion.extendedAction_smooth D.integralAction D.integralAction_kernel_smooth q
81
+
82
+ def completionSemidirectMap :
83
+ (FactorExtension D.twistedSystem ⋊[D.integralAction] IntegralLatticeGroup n) →*
84
+ (D.completion.carrier ⋊[D.completedAction] IntegralLatticeGroup n) :=
85
+ SemidirectProduct.map D.completion.embed (MonoidHom.id _) (by
86
+ intro q
87
+ apply MonoidHom.ext
88
+ intro x
89
+ exact (D.completion.extendedAction_embed D.integralAction
90
+ D.integralAction_kernel_smooth q x).symm)
91
+
92
+ def originalEmbedding : G →*
93
+ (D.completion.carrier ⋊[D.completedAction] IntegralLatticeGroup n) :=
94
+ D.completionSemidirectMap.comp
95
+ ((factorTwistGraph D.system D.removed D.commutes D.fixes).comp
96
+ (GroupExtensionSection.mulEquiv E D.sectionMap D.normalized).toMonoidHom)
97
+
98
+ theorem originalEmbedding_injective : Function.Injective D.originalEmbedding := by
99
+ have hC : Function.Injective D.completionSemidirectMap := by
100
+ intro a b h
101
+ apply SemidirectProduct.ext
102
+ · apply D.completion.injective
103
+ exact congrArg (fun z => z.left) h
104
+ · exact congrArg (fun z => z.right) h
105
+ exact hC.comp ((factorTwistGraph_injective D.system D.removed D.commutes D.fixes).comp
106
+ (GroupExtensionSection.mulEquiv E D.sectionMap D.normalized).injective)
107
+
108
+ end IntegralNilshadowData
109
+ end PolycyclicRecognition
110
+
111
+ end
112
+
113
+ end OAI
lean/OAI/GroupTheory/PolycyclicRecognition/Lattices/JointFixedActionFiltration.lean ADDED
@@ -0,0 +1,60 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import OAI.GroupTheory.PolycyclicRecognition.Lattices.JointFixedReductionData
2
+ import OAI.GroupTheory.PolycyclicRecognition.Algebra.PolynomialSubalgebraFiltration
3
+
4
+ namespace OAI
5
+
6
+ /-! # The residual quotient actions commute on lower-central factors
7
+
8
+ The two orders of quotient lifts differ by inner automorphisms. Intrinsic BCH
9
+ commutator estimates make both inner corrections disappear on the next Lie
10
+ lower-central quotient.
11
+ -/
12
+
13
+ noncomputable section
14
+ namespace PolycyclicRecognition
15
+ open LieModule
16
+ open scoped IsMulCommutative
17
+ attribute [local instance] polynomialSubalgebraGroup
18
+ variable {L Q : Type} [RealNormedLieAlgebra L] [FiniteDimensional ℝ L]
19
+ [P : PolynomialExponentialCoordinates L] [Group Q] [IsMulCommutative Q]
20
+
21
+ theorem jointFixed_action_preserves_lowerCentral (ss : List (L ≃ₗ⁅ℝ⁆ L))
22
+ (T : L ≃ₗ⁅ℝ⁆ L) (hT : ∀ S ∈ ss, Commute S.toLinearMap T.toLinearMap)
23
+ (k : ℕ) (x : jointFixedLieSubalgebra ss)
24
+ (hx : x ∈ lowerCentralSeries ℝ (jointFixedLieSubalgebra ss) (jointFixedLieSubalgebra ss) k) :
25
+ jointFixedGroupAction ss T hT x ∈
26
+ lowerCentralSeries ℝ (jointFixedLieSubalgebra ss) (jointFixedLieSubalgebra ss) k :=
27
+ LieIdeal.map_lowerCentralSeries_le k (LieIdeal.mem_map (f := (jointFixedLieAction ss T hT).toLieHom) hx)
28
+
29
+ theorem jointFixed_actions_commute_mod_lowerCentral (F : NonabelianFactorSystem L Q)
30
+ (A : Q → L ≃ₗ⁅ℝ⁆ L) (hact : ∀ q x, F.action q x = A q x)
31
+ (ss : List (L ≃ₗ⁅ℝ⁆ L))
32
+ (hcomm : ∀ S ∈ ss, ∀ q, Commute S.toLinearMap (A q).toLinearMap)
33
+ (hfixed : ∀ S ∈ ss, ∀ q r, S (F.factor q r) = F.factor q r)
34
+ (q r : Q) (k : ℕ) (x : jointFixedLieSubalgebra ss)
35
+ (hx : x ∈ lowerCentralSeries ℝ (jointFixedLieSubalgebra ss) (jointFixedLieSubalgebra ss) k) :
36
+ jointFixedLinearAction ss (A q) (fun S hS => hcomm S hS q)
37
+ (jointFixedLinearAction ss (A r) (fun S hS => hcomm S hS r) x) -
38
+ jointFixedLinearAction ss (A r) (fun S hS => hcomm S hS r)
39
+ (jointFixedLinearAction ss (A q) (fun S hS => hcomm S hS q) x) ∈
40
+ lowerCentralSeries ℝ (jointFixedLieSubalgebra ss) (jointFixedLieSubalgebra ss) (k + 1) := by
41
+ let R := jointFixedFactorSystem F A hact ss hcomm hfixed
42
+ let K := jointFixedLieSubalgebra ss
43
+ have hy : R.action (q * r) x ∈ lowerCentralSeries ℝ K K k :=
44
+ jointFixed_action_preserves_lowerCentral ss (A (q * r)) (fun S hS => hcomm S hS _) k x hx
45
+ have hq := polynomialSubalgebra_inner_difference K (R.factor q r) k (R.action (q * r) x) hy
46
+ have hr := polynomialSubalgebra_inner_difference K (R.factor r q) k (R.action (q * r) x) hy
47
+ rw [← R.action_mul_apply] at hq
48
+ rw [show q * r = r * q from mul_comm q r, ← R.action_mul_apply] at hr
49
+ rw [mul_comm r q] at hr
50
+ have hh := (lowerCentralSeries ℝ K K (k + 1)).sub_mem hq hr
51
+ change R.action q (R.action r x) - R.action r (R.action q x) ∈
52
+ (lowerCentralSeries ℝ K K (k + 1)).toSubmodule
53
+ convert hh using 1
54
+ abel
55
+
56
+ end PolycyclicRecognition
57
+
58
+ end
59
+
60
+ end OAI
lean/OAI/GroupTheory/PolycyclicRecognition/Lattices/JointFixedFactorSystem.lean ADDED
@@ -0,0 +1,96 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import OAI.GroupTheory.PolycyclicRecognition.Lattices.JointFixedSubalgebra
2
+ import OAI.GroupTheory.PolycyclicRecognition.Algebra.FactorExtensionMap
3
+ import OAI.GroupTheory.PolycyclicRecognition.Algebra.GroupExtensionFactorSystem
4
+
5
+ namespace OAI
6
+
7
+ /-! # The actual extension on the joint fixed kernel
8
+
9
+ Once the section factors are fixed by the family, the joint fixed subgroup
10
+ supports the same nonabelian cocycle. Its factor extension embeds faithfully
11
+ in the original group.
12
+ -/
13
+
14
+ noncomputable section
15
+ namespace PolycyclicRecognition
16
+ attribute [local instance] polynomialSubalgebraGroup
17
+ variable {L Q : Type} [RealNormedLieAlgebra L] [FiniteDimensional ℝ L]
18
+ [P : PolynomialExponentialCoordinates L] [Group Q]
19
+
20
+ def jointFixedFactorSystem (F : NonabelianFactorSystem L Q)
21
+ (A : Q → L ≃ₗ⁅ℝ⁆ L) (hact : ∀ q x, F.action q x = A q x)
22
+ (ss : List (L ≃ₗ⁅ℝ⁆ L))
23
+ (hcomm : ∀ S ∈ ss, ∀ q, Commute S.toLinearMap (A q).toLinearMap)
24
+ (hfixed : ∀ S ∈ ss, ∀ q r, S (F.factor q r) = F.factor q r) :
25
+ NonabelianFactorSystem (jointFixedLieSubalgebra ss) Q where
26
+ action q := jointFixedGroupAction ss (A q) (fun S hS => hcomm S hS q)
27
+ factor q r := ⟨F.factor q r, (mem_jointFixedLieSubalgebra ss _).mpr
28
+ (fun S hS => hfixed S hS q r)⟩
29
+ action_one := by
30
+ apply DFunLike.ext
31
+ intro x
32
+ apply Subtype.ext
33
+ change A 1 x = x
34
+ rw [← hact, F.action_one]
35
+ rfl
36
+ factor_one_left q := Subtype.ext (F.factor_one_left q)
37
+ factor_one_right q := Subtype.ext (F.factor_one_right q)
38
+ action_mul q r := by
39
+ apply DFunLike.ext
40
+ intro x
41
+ apply Subtype.ext
42
+ change A q (A r x) = F.factor q r * A (q * r) x * (F.factor q r)⁻¹
43
+ rw [← hact, ← hact, ← hact, F.action_mul_apply]
44
+ cocycle q r s := by
45
+ apply Subtype.ext
46
+ change F.factor q r * F.factor (q * r) s = A q (F.factor r s) * F.factor q (r * s)
47
+ rw [← hact]
48
+ exact F.cocycle q r s
49
+
50
+ def jointFixedFactorInclusion (F : NonabelianFactorSystem L Q)
51
+ (A : Q → L ≃ₗ⁅ℝ⁆ L) (hact : ∀ q x, F.action q x = A q x)
52
+ (ss : List (L ≃ₗ⁅ℝ⁆ L))
53
+ (hcomm : ∀ S ∈ ss, ∀ q, Commute S.toLinearMap (A q).toLinearMap)
54
+ (hfixed : ∀ S ∈ ss, ∀ q r, S (F.factor q r) = F.factor q r) :
55
+ FactorExtension (jointFixedFactorSystem F A hact ss hcomm hfixed) →* FactorExtension F :=
56
+ FactorExtension.map _ _
57
+ (polynomialSubalgebraHom _ (jointFixedLieSubalgebra ss).incl)
58
+ (fun q x => (hact q x).symm) (fun _ _ => rfl)
59
+
60
+ theorem jointFixedFactorInclusion_injective (F : NonabelianFactorSystem L Q)
61
+ (A : Q → L ≃ₗ⁅ℝ⁆ L) (hact : ∀ q x, F.action q x = A q x)
62
+ (ss : List (L ≃ₗ⁅ℝ⁆ L))
63
+ (hcomm : ∀ S ∈ ss, ∀ q, Commute S.toLinearMap (A q).toLinearMap)
64
+ (hfixed : ∀ S ∈ ss, ∀ q r, S (F.factor q r) = F.factor q r) :
65
+ Function.Injective (jointFixedFactorInclusion F A hact ss hcomm hfixed) :=
66
+ FactorExtension.map_injective _ _ _ _ _ Subtype.val_injective
67
+
68
+ variable {G : Type} [Group G]
69
+
70
+ def jointFixedExtensionEmbedding (E : GroupExtension L G Q) (σ : E.Section) (hσ : σ 1 = 1)
71
+ (A : Q → L ≃ₗ⁅ℝ⁆ L) (hact : ∀ q x, E.conjAct (σ q) x = A q x)
72
+ (ss : List (L ≃ₗ⁅ℝ⁆ L))
73
+ (hcomm : ∀ S ∈ ss, ∀ q, Commute S.toLinearMap (A q).toLinearMap)
74
+ (hfixed : ∀ S ∈ ss, ∀ q r, S (GroupExtensionSection.factor E σ q r) =
75
+ GroupExtensionSection.factor E σ q r) :
76
+ FactorExtension (jointFixedFactorSystem (GroupExtensionSection.factorSystem E σ hσ)
77
+ A hact ss hcomm hfixed) →* G :=
78
+ (GroupExtensionSection.mulEquiv E σ hσ).symm.toMonoidHom.comp
79
+ (jointFixedFactorInclusion _ A hact ss hcomm hfixed)
80
+
81
+ theorem jointFixedExtensionEmbedding_injective (E : GroupExtension L G Q)
82
+ (σ : E.Section) (hσ : σ 1 = 1)
83
+ (A : Q → L ≃ₗ⁅ℝ⁆ L) (hact : ∀ q x, E.conjAct (σ q) x = A q x)
84
+ (ss : List (L ≃ₗ⁅ℝ⁆ L))
85
+ (hcomm : ∀ S ∈ ss, ∀ q, Commute S.toLinearMap (A q).toLinearMap)
86
+ (hfixed : ∀ S ∈ ss, ∀ q r, S (GroupExtensionSection.factor E σ q r) =
87
+ GroupExtensionSection.factor E σ q r) :
88
+ Function.Injective (jointFixedExtensionEmbedding E σ hσ A hact ss hcomm hfixed) :=
89
+ (GroupExtensionSection.mulEquiv E σ hσ).symm.injective.comp
90
+ (jointFixedFactorInclusion_injective _ A hact ss hcomm hfixed)
91
+
92
+ end PolycyclicRecognition
93
+
94
+ end
95
+
96
+ end OAI
lean/OAI/GroupTheory/PolycyclicRecognition/Lattices/JointFixedLayerAction.lean ADDED
@@ -0,0 +1,91 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import OAI.GroupTheory.PolycyclicRecognition.Lattices.JointFixedActionFiltration
2
+ import OAI.GroupTheory.PolycyclicRecognition.Algebra.InvariantLinearLayer
3
+ import OAI.GroupTheory.PolycyclicRecognition.Algebra.GeneratedUnipotentAction
4
+
5
+ namespace OAI
6
+
7
+ /-! # The abelian quotient acts on the residual lower-central layers
8
+
9
+ Inner section factors disappear on these layers, so this is an actual linear
10
+ representation of the quotient. Its selected generators are unipotent.
11
+ -/
12
+
13
+ noncomputable section
14
+ namespace PolycyclicRecognition
15
+ open LieModule
16
+ open scoped Manifold ContDiff IsMulCommutative
17
+ attribute [local instance] polynomialSubalgebraGroup
18
+ variable {L G Q : Type} [RealNormedLieAlgebra L] [FiniteDimensional ℝ L]
19
+ [P : PolynomialExponentialCoordinates L] [LieRing.IsNilpotent L]
20
+ [Group G] [Group Q]
21
+ {E : GroupExtension L G Q}
22
+ {hsmooth : ∀ g : G, ContMDiff (𝓘(ℝ, L)) (𝓘(ℝ, L)) ∞ (E.conjAct g)} {qs : List Q}
23
+
24
+ namespace JointFixedReductionData
25
+ variable (D : JointFixedReductionData E hsmooth qs)
26
+
27
+ abbrev lowerCentralLayer (k : ℕ) := InvariantLinearLayer
28
+ (lowerCentralSeries ℝ (jointFixedLieSubalgebra D.operators) (jointFixedLieSubalgebra D.operators) k).toSubmodule
29
+ (lowerCentralSeries ℝ (jointFixedLieSubalgebra D.operators) (jointFixedLieSubalgebra D.operators) (k + 1)).toSubmodule
30
+
31
+ def layerEnd (k : ℕ) (q : Q) : Module.End ℝ (D.lowerCentralLayer k) :=
32
+ invariantLayerEnd _ _ (jointFixedLinearAction D.operators (D.action q)
33
+ (fun S hS => D.action_commutes S hS q))
34
+ (jointFixed_action_preserves_lowerCentral D.operators (D.action q)
35
+ (fun S hS => D.action_commutes S hS q) k)
36
+ (jointFixed_action_preserves_lowerCentral D.operators (D.action q)
37
+ (fun S hS => D.action_commutes S hS q) (k + 1))
38
+
39
+ def layerAction (k : ℕ) : Q →* Module.End ℝ (D.lowerCentralLayer k) where
40
+ toFun := D.layerEnd k
41
+ map_one' := by
42
+ apply LinearMap.ext
43
+ intro y
44
+ refine Quotient.inductionOn' y ?_
45
+ intro x
46
+ apply congrArg Submodule.Quotient.mk
47
+ apply Subtype.ext
48
+ apply Subtype.ext
49
+ change D.action 1 (x : jointFixedLieSubalgebra D.operators) = (x : L)
50
+ rw [action, polynomialModelLieEquiv_apply, D.normalized, map_one]
51
+ rfl
52
+ map_mul' q r := by
53
+ apply LinearMap.ext
54
+ intro y
55
+ refine Quotient.inductionOn' y ?_
56
+ intro x
57
+ let K := jointFixedLieSubalgebra D.operators
58
+ let R := D.residualSystem
59
+ have hx : (x : K) ∈ lowerCentralSeries ℝ K K k := x.property
60
+ have hy : R.action (q * r) x ∈ lowerCentralSeries ℝ K K k :=
61
+ jointFixed_action_preserves_lowerCentral D.operators (D.action (q * r))
62
+ (fun S hS => D.action_commutes S hS _) k x hx
63
+ have hh := polynomialSubalgebra_inner_difference K (R.factor q r) k (R.action (q * r) x) hy
64
+ rw [← R.action_mul_apply] at hh
65
+ symm
66
+ apply (Submodule.Quotient.eq _).mpr
67
+ exact hh
68
+
69
+ omit [LieRing.IsNilpotent L] in
70
+ theorem layer_generator_unipotent (k : ℕ) (q : Q) (hq : q ∈ qs) :
71
+ IsNilpotent (D.layerAction k q - 1) :=
72
+ invariantLayerEnd_unipotent _ _ _
73
+ (jointFixed_action_preserves_lowerCentral D.operators (D.action q)
74
+ (fun S hS => D.action_commutes S hS q) k)
75
+ (jointFixed_action_preserves_lowerCentral D.operators (D.action q)
76
+ (fun S hS => D.action_commutes S hS q) (k + 1))
77
+ (D.residual_generator_unipotent q hq)
78
+
79
+ omit [LieRing.IsNilpotent L] in
80
+ theorem layer_action_filtration [IsMulCommutative Q]
81
+ (hgen : Subgroup.closure {q | q ∈ qs} = ⊤) (k : ℕ) :
82
+ ∃ c, linearActionFiltration (fun q => D.layerAction k q - 1) c = ⊥ :=
83
+ unipotent_generated_abelian_action_filtration (D.layerAction k) qs hgen
84
+ (D.layer_generator_unipotent k)
85
+
86
+ end JointFixedReductionData
87
+ end PolycyclicRecognition
88
+
89
+ end
90
+
91
+ end OAI
lean/OAI/GroupTheory/PolycyclicRecognition/Lattices/JointFixedReductionData.lean ADDED
@@ -0,0 +1,92 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import OAI.GroupTheory.PolycyclicRecognition.Lattices.JointFixedFactorSystem
2
+ import OAI.GroupTheory.PolycyclicRecognition.Lattices.FiniteFixedCocycleSection
3
+ import OAI.GroupTheory.PolycyclicRecognition.Algebra.PolynomialSubalgebraNilpotence
4
+
5
+ namespace OAI
6
+
7
+ /-! # Constructed joint-fixed residual data for an actual extension
8
+
9
+ The residual group is defined by the actual section factors and embeds in the
10
+ original extension. The prescribed quotient lifts act unipotently on its
11
+ kernel Lie algebra.
12
+ -/
13
+
14
+ noncomputable section
15
+ namespace PolycyclicRecognition
16
+ open scoped Manifold ContDiff IsMulCommutative
17
+ attribute [local instance] polynomialSubalgebraGroup
18
+ variable {L G Q : Type} [RealNormedLieAlgebra L] [FiniteDimensional ℝ L]
19
+ [P : PolynomialExponentialCoordinates L] [LieRing.IsNilpotent L]
20
+ [Group G] [Group Q]
21
+
22
+ structure JointFixedReductionData (E : GroupExtension L G Q)
23
+ (hsmooth : ∀ g : G, ContMDiff (𝓘(ℝ, L)) (𝓘(ℝ, L)) ∞ (E.conjAct g)) (qs : List Q) where
24
+ operators : List (L ≃ₗ⁅ℝ⁆ L)
25
+ semisimple : ∀ S ∈ operators, Module.End.IsSemisimple S.toLinearMap
26
+ commute : ∀ S ∈ operators, ∀ T ∈ operators, Commute S.toLinearMap T.toLinearMap
27
+ sectionMap : E.Section
28
+ normalized : sectionMap 1 = 1
29
+ centralizes : ∀ S ∈ operators, ∀ q, sectionMap q ∈ semisimpleActionCentralizer E S
30
+ factorsFixed : ∀ S ∈ operators, ∀ q r, S (GroupExtensionSection.factor E sectionMap q r) =
31
+ GroupExtensionSection.factor E sectionMap q r
32
+ jordanLifts : ∀ q ∈ qs, ∃ S ∈ operators, ∃ U : L ≃ₗ⁅ℝ⁆ L,
33
+ IsNilpotent (U.toLinearMap - 1) ∧ Commute S.toLinearMap U.toLinearMap ∧
34
+ (polynomialModelLieEquiv (E.conjAct (sectionMap q)) (hsmooth (sectionMap q))).toLinearMap =
35
+ S.toLinearMap * U.toLinearMap
36
+
37
+ theorem exists_jointFixedReductionData [IsMulCommutative Q] (E : GroupExtension L G Q)
38
+ (hsmooth : ∀ g : G, ContMDiff (𝓘(ℝ, L)) (𝓘(ℝ, L)) ∞ (E.conjAct g)) (qs : List Q) :
39
+ Nonempty (JointFixedReductionData E hsmooth qs) := by
40
+ obtain ⟨ss, hss, hpair, σ, hσ, hcent, hfixed, hlifts⟩ :=
41
+ exists_finite_fixed_cocycle_section E hsmooth qs
42
+ exact ⟨⟨ss, hss, hpair, σ, hσ, hcent, hfixed, hlifts⟩⟩
43
+
44
+ namespace JointFixedReductionData
45
+ variable {E : GroupExtension L G Q}
46
+ {hsmooth : ∀ g : G, ContMDiff (𝓘(ℝ, L)) (𝓘(ℝ, L)) ∞ (E.conjAct g)} {qs : List Q}
47
+ (D : JointFixedReductionData E hsmooth qs)
48
+
49
+ def action (q : Q) : L ≃ₗ⁅ℝ⁆ L :=
50
+ polynomialModelLieEquiv (E.conjAct (D.sectionMap q)) (hsmooth (D.sectionMap q))
51
+
52
+ omit [LieRing.IsNilpotent L] in
53
+ theorem action_commutes (S : L ≃ₗ⁅ℝ⁆ L) (hS : S ∈ D.operators) (q : Q) :
54
+ Commute S.toLinearMap (D.action q).toLinearMap :=
55
+ (mem_semisimpleActionCentralizer_iff E S _ _).mp (D.centralizes S hS q)
56
+
57
+ def residualSystem : NonabelianFactorSystem (jointFixedLieSubalgebra D.operators) Q :=
58
+ jointFixedFactorSystem (GroupExtensionSection.factorSystem E D.sectionMap D.normalized)
59
+ D.action (fun _ _ => (polynomialModelLieEquiv_apply _ _ _).symm)
60
+ D.operators D.action_commutes D.factorsFixed
61
+
62
+ def residualEmbedding : FactorExtension D.residualSystem →* G :=
63
+ jointFixedExtensionEmbedding E D.sectionMap D.normalized D.action
64
+ (fun _ _ => (polynomialModelLieEquiv_apply _ _ _).symm)
65
+ D.operators D.action_commutes D.factorsFixed
66
+
67
+ omit [LieRing.IsNilpotent L] in
68
+ theorem residualEmbedding_injective : Function.Injective D.residualEmbedding :=
69
+ jointFixedExtensionEmbedding_injective E D.sectionMap D.normalized D.action
70
+ (fun _ _ => (polynomialModelLieEquiv_apply _ _ _).symm)
71
+ D.operators D.action_commutes D.factorsFixed
72
+
73
+ omit [LieRing.IsNilpotent L] in
74
+ theorem residual_generator_unipotent (q : Q) (hq : q ∈ qs) :
75
+ IsNilpotent (jointFixedLinearAction D.operators (D.action q)
76
+ (fun S hS => D.action_commutes S hS q) - 1) := by
77
+ obtain ⟨S, hS, U, hU, hSU, hA⟩ := D.jordanLifts q hq
78
+ exact jointFixedLinearAction_unipotent D.operators S U (D.action q) hS
79
+ (fun T hT => D.action_commutes T hT q) hU hSU hA
80
+
81
+ theorem residual_kernel_nilpotent : Group.IsNilpotent (jointFixedLieSubalgebra D.operators) := by
82
+ let K := jointFixedLieSubalgebra D.operators
83
+ let : LieRing.IsNilpotent K := Function.Injective.lieAlgebra_isNilpotent
84
+ (f := K.incl) Subtype.val_injective
85
+ exact polynomialSubalgebra_group_nilpotent K
86
+
87
+ end JointFixedReductionData
88
+ end PolycyclicRecognition
89
+
90
+ end
91
+
92
+ end OAI
lean/OAI/GroupTheory/PolycyclicRecognition/Lattices/JointFixedResidualNilpotent.lean ADDED
@@ -0,0 +1,62 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import OAI.GroupTheory.PolycyclicRecognition.Algebra.ResidualLowerCentralLayers
2
+ import OAI.GroupTheory.PolycyclicRecognition.Algebra.RelativeNilpotentExtension
3
+
4
+ namespace OAI
5
+
6
+ /-! # The actual joint-fixed residual extension is nilpotent
7
+
8
+ The quotient need not split. Its unipotent action has finite length on every
9
+ intrinsic Lie lower-central layer, and the cocycle disappears on those layers.
10
+ -/
11
+
12
+ noncomputable section
13
+ namespace PolycyclicRecognition
14
+ open LieModule
15
+ open scoped Manifold ContDiff IsMulCommutative
16
+ attribute [local instance] polynomialSubalgebraGroup
17
+ variable {L G Q : Type} [RealNormedLieAlgebra L] [FiniteDimensional ℝ L]
18
+ [P : PolynomialExponentialCoordinates L] [LieRing.IsNilpotent L]
19
+ [Group G] [Group Q] [IsMulCommutative Q]
20
+ {E : GroupExtension L G Q}
21
+ {hsmooth : ∀ g : G, ContMDiff (𝓘(ℝ, L)) (𝓘(ℝ, L)) ∞ (E.conjAct g)} {qs : List Q}
22
+
23
+ namespace JointFixedReductionData
24
+ variable (D : JointFixedReductionData E hsmooth qs)
25
+
26
+ theorem residual_nilpotent (hgen : Subgroup.closure {q | q ∈ qs} = ⊤) :
27
+ Group.IsNilpotent (FactorExtension D.residualSystem) := by
28
+ let K := jointFixedLieSubalgebra D.operators
29
+ let : LieRing.IsNilpotent K := Function.Injective.lieAlgebra_isNilpotent
30
+ (f := K.incl) Subtype.val_injective
31
+ obtain ⟨d, hd⟩ := (LieModule.isNilpotent_iff ℝ K K).mp
32
+ (inferInstance : LieModule.IsNilpotent K K)
33
+ have hbot : D.residualLayer d = ⊥ := by
34
+ have hk : D.residualKernelLayer d = ⊥ := by
35
+ apply eq_bot_iff.mpr
36
+ intro x hx
37
+ change x ∈ lowerCentralSeries ℝ K K d at hx
38
+ rw [hd] at hx
39
+ change x = 1
40
+ exact hx.trans (Subtype.ext P.one_eq_zero).symm
41
+ rw [residualLayer, hk, Subgroup.map_bot]
42
+ have hzero : D.residualLayer 0 =
43
+ (FactorExtension.groupExtension D.residualSystem).inl.range := by
44
+ have hk : D.residualKernelLayer 0 = ⊤ := by
45
+ ext x
46
+ simp only [Subgroup.mem_top, iff_true]
47
+ change x ∈ lowerCentralSeries ℝ K K 0
48
+ simp
49
+ rw [residualLayer, hk, Subgroup.map_top]
50
+ rfl
51
+ obtain ⟨c, hc⟩ := relative_series_descends_finite_layers ⊤ D.residualLayer
52
+ (D.residualLayer_commutator_bound hgen) d
53
+ apply nilpotent_of_relative_kernel_series (FactorExtension.groupExtension D.residualSystem) c
54
+ rw [← hzero]
55
+ exact eq_bot_iff.mpr (hbot ▸ hc)
56
+
57
+ end JointFixedReductionData
58
+ end PolycyclicRecognition
59
+
60
+ end
61
+
62
+ end OAI
lean/OAI/GroupTheory/PolycyclicRecognition/Lattices/JointFixedSubalgebra.lean ADDED
@@ -0,0 +1,98 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import OAI.GroupTheory.PolycyclicRecognition.Algebra.SemisimpleMovingAction
2
+ import Mathlib.RingTheory.Nilpotent.Lemmas
3
+
4
+ namespace OAI
5
+
6
+ /-! # The joint fixed algebra and its unipotent quotient-lift actions -/
7
+
8
+ noncomputable section
9
+ namespace PolycyclicRecognition
10
+ attribute [local instance] polynomialSubalgebraGroup
11
+ variable {L : Type} [RealNormedLieAlgebra L] [FiniteDimensional ℝ L]
12
+
13
+ def jointFixedLieSubalgebra (ss : List (L ≃ₗ⁅ℝ⁆ L)) : LieSubalgebra ℝ L where
14
+ toSubmodule :=
15
+ { carrier := {x | ∀ S ∈ ss, S x = x}
16
+ zero_mem' := by intro S _; exact map_zero S
17
+ add_mem' := by
18
+ intro x y hx hy S hS
19
+ rw [map_add, hx S hS, hy S hS]
20
+ smul_mem' := by
21
+ intro r x hx S hS
22
+ rw [map_smul, hx S hS] }
23
+ lie_mem' := by
24
+ intro x y hx hy S hS
25
+ rw [S.map_lie, hx S hS, hy S hS]
26
+
27
+ omit [FiniteDimensional ℝ L] in
28
+ theorem mem_jointFixedLieSubalgebra (ss : List (L ≃ₗ⁅ℝ⁆ L)) (x : L) :
29
+ x ∈ jointFixedLieSubalgebra ss ↔ ∀ S ∈ ss, S x = x := Iff.rfl
30
+
31
+ omit [FiniteDimensional ℝ L] in
32
+ theorem commuting_lieEquiv_preserves_jointFixed (ss : List (L ≃ₗ⁅ℝ⁆ L))
33
+ (T : L ≃ₗ⁅ℝ⁆ L) (hT : ∀ S ∈ ss, Commute S.toLinearMap T.toLinearMap)
34
+ (x : L) (hx : x ∈ jointFixedLieSubalgebra ss) : T x ∈ jointFixedLieSubalgebra ss := by
35
+ apply (mem_jointFixedLieSubalgebra ss _).mpr
36
+ intro S hS
37
+ have hh : S (T x) = T (S x) := LinearMap.congr_fun (hT S hS).eq x
38
+ rw [hh, (mem_jointFixedLieSubalgebra ss x).mp hx S hS]
39
+
40
+ def jointFixedLinearAction (ss : List (L ≃ₗ⁅ℝ⁆ L))
41
+ (T : L ≃ₗ⁅ℝ⁆ L) (hT : ∀ S ∈ ss, Commute S.toLinearMap T.toLinearMap) :
42
+ Module.End ℝ (jointFixedLieSubalgebra ss) :=
43
+ T.toLinearMap.restrict (commuting_lieEquiv_preserves_jointFixed ss T hT)
44
+
45
+ def jointFixedLieAction (ss : List (L ≃ₗ⁅ℝ⁆ L))
46
+ (T : L ≃ₗ⁅ℝ⁆ L) (hT : ∀ S ∈ ss, Commute S.toLinearMap T.toLinearMap) :
47
+ jointFixedLieSubalgebra ss ≃ₗ⁅ℝ⁆ jointFixedLieSubalgebra ss where
48
+ toFun x := ⟨T x, commuting_lieEquiv_preserves_jointFixed ss T hT x x.property⟩
49
+ invFun x := ⟨T.symm x, commuting_lieEquiv_preserves_jointFixed ss T.symm
50
+ (fun S hS => linear_commute_symm T.toLinearEquiv S.toLinearMap (hT S hS)) x x.property⟩
51
+ left_inv x := Subtype.ext (T.symm_apply_apply x)
52
+ right_inv x := Subtype.ext (T.apply_symm_apply x)
53
+ map_add' x y := Subtype.ext (T.map_add x y)
54
+ map_smul' r x := Subtype.ext (T.map_smul r x)
55
+ map_lie' {x y} := Subtype.ext (T.map_lie x y)
56
+
57
+ omit [FiniteDimensional ℝ L] in
58
+ theorem jointFixedLinearAction_unipotent (ss : List (L ≃ₗ⁅ℝ⁆ L))
59
+ (S U T : L ≃ₗ⁅ℝ⁆ L) (hS : S ∈ ss)
60
+ (hT : ∀ R ∈ ss, Commute R.toLinearMap T.toLinearMap)
61
+ (hU : IsNilpotent (U.toLinearMap - 1)) (hSU : Commute S.toLinearMap U.toLinearMap)
62
+ (hTU : T.toLinearMap = S.toLinearMap * U.toLinearMap) :
63
+ IsNilpotent (jointFixedLinearAction ss T hT - 1) := by
64
+ have hUx (x : L) (hx : x ∈ jointFixedLieSubalgebra ss) : T x = U x := by
65
+ have hh : T x = S (U x) := LinearMap.congr_fun hTU x
66
+ have hc : S (U x) = U (S x) := LinearMap.congr_fun hSU.eq x
67
+ rw [hh, hc, (mem_jointFixedLieSubalgebra ss x).mp hx S hS]
68
+ have hUp : ∀ x ∈ (jointFixedLieSubalgebra ss).toSubmodule, U x ∈ jointFixedLieSubalgebra ss := by
69
+ intro x hx
70
+ rw [← hUx x hx]
71
+ exact commuting_lieEquiv_preserves_jointFixed ss T hT x hx
72
+ have hdiffp : ∀ x ∈ (jointFixedLieSubalgebra ss).toSubmodule,
73
+ (U.toLinearMap - 1) x ∈ jointFixedLieSubalgebra ss := by
74
+ intro x hx
75
+ exact (jointFixedLieSubalgebra ss).sub_mem (hUp x hx) hx
76
+ have hn := Module.End.isNilpotent.restrict hdiffp hU
77
+ have he : jointFixedLinearAction ss T hT - 1 = (U.toLinearMap - 1).restrict hdiffp := by
78
+ apply LinearMap.ext
79
+ intro x
80
+ apply Subtype.ext
81
+ change T x - (x : L) = U x - (x : L)
82
+ rw [hUx x x.property]
83
+ rwa [he]
84
+
85
+ variable [P : PolynomialExponentialCoordinates L]
86
+
87
+ def jointFixedGroupAction (ss : List (L ≃ₗ⁅ℝ⁆ L))
88
+ (T : L ≃ₗ⁅ℝ⁆ L) (hT : ∀ S ∈ ss, Commute S.toLinearMap T.toLinearMap) :
89
+ MulAut (jointFixedLieSubalgebra ss) :=
90
+ polynomialSubalgebraEquiv _ _ T (commuting_lieEquiv_preserves_jointFixed ss T hT)
91
+ (commuting_lieEquiv_preserves_jointFixed ss T.symm
92
+ (fun S hS => linear_commute_symm T.toLinearEquiv S.toLinearMap (hT S hS)))
93
+
94
+ end PolycyclicRecognition
95
+
96
+ end
97
+
98
+ end OAI
lean/OAI/GroupTheory/PolycyclicRecognition/Lattices/KernelCompletionAction.lean ADDED
@@ -0,0 +1,95 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import OAI.GroupTheory.PolycyclicRecognition.Lattices.KernelCompletionHeight
2
+
3
+ namespace OAI
4
+
5
+ /-! # Extending an action to the nilpotent completion
6
+
7
+ Existence comes from the constructed homomorphism extension. Uniqueness on
8
+ the integer grid forces the extensions to satisfy the action law.
9
+ -/
10
+
11
+ noncomputable section
12
+ namespace PolycyclicRecognition
13
+ open scoped Manifold ContDiff
14
+ variable {K G Q : Type} [RealNormedLieAlgebra K] [FiniteDimensional ℝ K]
15
+ [PK : PolynomialExponentialCoordinates K] [Group G] [Group Q]
16
+ {i : K →* G} (C : NilpotentKernelCompletion i) (ρ : Q →* MulAut G)
17
+ (hρ : ∀ q, ContMDiff (𝓘(ℝ, K)) (𝓘(ℝ, C.carrier)) ∞
18
+ ((C.embed.comp (ρ q).toMonoidHom).comp i))
19
+
20
+ namespace NilpotentKernelCompletion
21
+
22
+ include hρ in
23
+ theorem action_extension_exists (q : Q) :
24
+ ∃ A : MulAut C.carrier, ContMDiff (𝓘(ℝ, C.carrier)) (𝓘(ℝ, C.carrier)) ∞ A ∧
25
+ ContMDiff (𝓘(ℝ, C.carrier)) (𝓘(ℝ, C.carrier)) ∞ A.symm ∧
26
+ ∀ g, A (C.embed g) = C.embed (ρ q g) := by
27
+ apply C.automorphism_extension (ρ q) (hρ q)
28
+ have hi : (ρ q).symm = ρ q⁻¹ := (map_inv ρ q).symm
29
+ rw [hi]
30
+ exact hρ q⁻¹
31
+
32
+ def extendedAutomorphism (q : Q) : MulAut C.carrier :=
33
+ (C.action_extension_exists ρ hρ q).choose
34
+
35
+ theorem extendedAutomorphism_smooth (q : Q) :
36
+ ContMDiff (𝓘(ℝ, C.carrier)) (𝓘(ℝ, C.carrier)) ∞
37
+ (C.extendedAutomorphism ρ hρ q) :=
38
+ (C.action_extension_exists ρ hρ q).choose_spec.1
39
+
40
+ theorem extendedAutomorphism_embed (q : Q) (g : G) :
41
+ C.extendedAutomorphism ρ hρ q (C.embed g) = C.embed (ρ q g) :=
42
+ (C.action_extension_exists ρ hρ q).choose_spec.2.2 g
43
+
44
+ def extendedAction : Q →* MulAut C.carrier where
45
+ toFun := C.extendedAutomorphism ρ hρ
46
+ map_one' := by
47
+ apply MulEquiv.toMonoidHom_injective
48
+ apply C.hom_ext C.carrier _ _ (C.extendedAutomorphism_smooth ρ hρ 1) contMDiff_id
49
+ intro g
50
+ rw [MulEquiv.coe_toMonoidHom, C.extendedAutomorphism_embed]
51
+ simp only [map_one, MulAut.one_apply]
52
+ rfl
53
+ map_mul' q r := by
54
+ apply MulEquiv.toMonoidHom_injective
55
+ apply C.hom_ext C.carrier
56
+ (C.extendedAutomorphism ρ hρ (q * r)).toMonoidHom
57
+ ((C.extendedAutomorphism ρ hρ q) * (C.extendedAutomorphism ρ hρ r)).toMonoidHom
58
+ (C.extendedAutomorphism_smooth ρ hρ (q * r))
59
+ ((C.extendedAutomorphism_smooth ρ hρ q).comp
60
+ (C.extendedAutomorphism_smooth ρ hρ r))
61
+ intro g
62
+ change C.extendedAutomorphism ρ hρ (q * r) (C.embed g) =
63
+ C.extendedAutomorphism ρ hρ q (C.extendedAutomorphism ρ hρ r (C.embed g))
64
+ rw [C.extendedAutomorphism_embed, C.extendedAutomorphism_embed,
65
+ C.extendedAutomorphism_embed, map_mul]
66
+ rfl
67
+
68
+ @[simp] theorem extendedAction_embed (q : Q) (g : G) :
69
+ C.extendedAction ρ hρ q (C.embed g) = C.embed (ρ q g) :=
70
+ C.extendedAutomorphism_embed ρ hρ q g
71
+
72
+ theorem extendedAction_smooth (q : Q) :
73
+ ContMDiff (𝓘(ℝ, C.carrier)) (𝓘(ℝ, C.carrier)) ∞ (C.extendedAction ρ hρ q) :=
74
+ C.extendedAutomorphism_smooth ρ hρ q
75
+
76
+ theorem extendedAction_preserves_hom {M : Type} [RealNormedLieAlgebra M]
77
+ [FiniteDimensional ℝ M] [PM : PolynomialExponentialCoordinates M]
78
+ (π : C.carrier →* M) (hπ : ContMDiff (𝓘(ℝ, C.carrier)) (𝓘(ℝ, M)) ∞ π)
79
+ (hinv : ∀ q g, π (C.embed (ρ q g)) = π (C.embed g)) (q : Q) (x : C.carrier) :
80
+ π (C.extendedAction ρ hρ q x) = π x := by
81
+ have he : π.comp (C.extendedAction ρ hρ q).toMonoidHom = π := by
82
+ apply C.hom_ext M (π.comp (C.extendedAction ρ hρ q).toMonoidHom) π
83
+ (hπ.comp (C.extendedAction_smooth ρ hρ q)) hπ
84
+ intro g
85
+ change π (C.extendedAction ρ hρ q (C.embed g)) = π (C.embed g)
86
+ rw [extendedAction_embed]
87
+ exact hinv q g
88
+ exact DFunLike.congr_fun he x
89
+
90
+ end NilpotentKernelCompletion
91
+ end PolycyclicRecognition
92
+
93
+ end
94
+
95
+ end OAI
lean/OAI/GroupTheory/PolycyclicRecognition/Lattices/KernelCompletionCyclicHom.lean ADDED
@@ -0,0 +1,76 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import OAI.GroupTheory.PolycyclicRecognition.Lattices.NilpotentKernelCompletion
2
+ import OAI.GroupTheory.PolycyclicRecognition.Lattices.NilpotentCyclicHomExtension
3
+ import OAI.GroupTheory.PolycyclicRecognition.Lattices.IntegerSemidirectLattice
4
+
5
+ namespace OAI
6
+
7
+ /-! # Extending homomorphisms after one cyclic completion step -/
8
+
9
+ noncomputable section
10
+ namespace PolycyclicRecognition
11
+ open scoped Manifold ContDiff
12
+ variable {K H M : Type} [RealNormedLieAlgebra K] [FiniteDimensional ℝ K]
13
+ [PK : PolynomialExponentialCoordinates K] [Group H]
14
+ [RealNormedLieAlgebra M] [FiniteDimensional ℝ M]
15
+ [PM : PolynomialExponentialCoordinates M] [LieRing.IsNilpotent M]
16
+ {i : K →* H} (C : NilpotentKernelCompletion i)
17
+
18
+ theorem kernelCompletion_cyclic_hom (a : MulAut H)
19
+ (A : C.carrier ≃ₗ⁅ℝ⁆ C.carrier) (hA : IsNilpotent (A.toLinearMap - 1))
20
+ (hAe : ∀ h, A (C.embed h) = C.embed (a h))
21
+ (F : (H ⋊[integerPowerAction a] Multiplicative ℤ) →* M)
22
+ (hF : ContMDiff (𝓘(ℝ, K)) (𝓘(ℝ, M)) ∞ ((F.comp SemidirectProduct.inl).comp i)) :
23
+ let D := unipotentLieLogarithm A hA
24
+ let hD := unipotentLieLogarithm_nilpotent A hA
25
+ letI := derivationSemidirectGroup D hD
26
+ letI : MulOneClass (C.carrier × ℝ) := (derivationSemidirectGroup D hD).toMulOneClass
27
+ ∃ φ : (C.carrier × ℝ) →* M,
28
+ ContMDiff (𝓘(ℝ, C.carrier × ℝ)) (𝓘(ℝ, M)) ∞ φ ∧
29
+ ∀ (h : H) (n : ℤ), φ (C.embed h, (n : ℝ)) = F ⟨h, Multiplicative.ofAdd n⟩ := by
30
+ obtain ⟨f, hf, hfe⟩ := C.extend M (F.comp SemidirectProduct.inl) hF
31
+ simp only [MonoidHom.comp_apply] at hfe
32
+ let t : H ⋊[integerPowerAction a] Multiplicative ℤ :=
33
+ SemidirectProduct.inr (Multiplicative.ofAdd (1 : ℤ))
34
+ let u := F t
35
+ have hconj (h : H) : F (SemidirectProduct.inl (a h)) =
36
+ u * F (SemidirectProduct.inl h) * u⁻¹ := by
37
+ have hh := SemidirectProduct.inl_aut (φ := integerPowerAction a)
38
+ (Multiplicative.ofAdd (1 : ℤ)) h
39
+ rw [map_inv] at hh
40
+ change SemidirectProduct.inl ((a ^ (1 : ℤ)) h) = t * SemidirectProduct.inl h * t⁻¹ at hh
41
+ simpa only [zpow_one, map_mul, map_inv] using congrArg F hh
42
+ let B := PolynomialExponentialCoordinates.groupAutomorphism A
43
+ have hb : ContMDiff (𝓘(ℝ, C.carrier)) (𝓘(ℝ, C.carrier)) ∞ B :=
44
+ A.toLinearMap.toContinuousLinearMap.contDiff.contMDiff
45
+ have hu : ContMDiff (𝓘(ℝ, M)) (𝓘(ℝ, M)) ∞ (MulAut.conj u) :=
46
+ (contMDiff_conjugation u).of_le (by simp)
47
+ have heq : f.comp B.toMonoidHom = (MulAut.conj u).toMonoidHom.comp f := by
48
+ apply C.hom_ext M (f.comp B.toMonoidHom) ((MulAut.conj u).toMonoidHom.comp f)
49
+ (hf.comp hb) (hu.comp hf)
50
+ intro h
51
+ change f (A (C.embed h)) = u * f (C.embed h) * u⁻¹
52
+ rw [hAe, hfe, hfe]
53
+ exact hconj h
54
+ let fL := polynomialModelLieHom f hf
55
+ have hL (x : C.carrier) : fL (A x) = u * fL x * u⁻¹ := by
56
+ rw [polynomialModelLieHom_apply, polynomialModelLieHom_apply]
57
+ exact DFunLike.congr_fun heq x
58
+ obtain ⟨φ, hφ, hφx⟩ := nilpotent_cyclic_hom_extension A hA fL u hL
59
+ refine ⟨φ, hφ, ?_⟩
60
+ intro h n
61
+ rw [hφx, polynomialModelLieHom_apply, hfe, ← model_zpow, ← map_zpow, ← map_mul]
62
+ congr 1
63
+ have ht : t ^ n = SemidirectProduct.inr (Multiplicative.ofAdd n) := by
64
+ rw [← map_zpow]
65
+ congr 1
66
+ apply Multiplicative.ext
67
+ change n • (1 : ℤ) = n
68
+ simp
69
+ rw [ht]
70
+ exact (SemidirectProduct.mk_eq_inl_mul_inr _ _).symm
71
+
72
+ end PolycyclicRecognition
73
+
74
+ end
75
+
76
+ end OAI
lean/OAI/GroupTheory/PolycyclicRecognition/Lattices/KernelCompletionCyclicStep.lean ADDED
@@ -0,0 +1,123 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import OAI.GroupTheory.PolycyclicRecognition.Lattices.KernelCompletionCyclicHom
2
+ import OAI.GroupTheory.PolycyclicRecognition.Algebra.CyclicParameterBasis
3
+ import OAI.GroupTheory.PolycyclicRecognition.Geometry.SemidirectExponentialCoordinates
4
+
5
+ namespace OAI
6
+
7
+ /-! # A cyclic step in completing a nilpotent extension with a real kernel
8
+
9
+ This constructs the next polynomial model, its faithful embedding, its integer
10
+ grid and its homomorphism extension property. No lattice in the kernel is
11
+ required.
12
+ -/
13
+
14
+ noncomputable section
15
+ namespace PolycyclicRecognition
16
+ open scoped Manifold ContDiff
17
+ variable {K H : Type} [RealNormedLieAlgebra K] [FiniteDimensional ℝ K]
18
+ [PK : PolynomialExponentialCoordinates K] [Group H]
19
+ {i : K →* H} (C : NilpotentKernelCompletion i)
20
+
21
+ namespace NilpotentKernelCompletion
22
+
23
+ theorem cyclic_step_with_dimension (a : MulAut H) (A : C.carrier ≃ₗ⁅ℝ⁆ C.carrier)
24
+ (hA : IsNilpotent (A.toLinearMap - 1))
25
+ (hAe : ∀ h, A (C.embed h) = C.embed (a h)) :
26
+ ∃ C' : NilpotentKernelCompletion
27
+ ((SemidirectProduct.inl : H →* H ⋊[integerPowerAction a] Multiplicative ℤ).comp i),
28
+ C'.dimension = C.dimension + 1 := by
29
+ let L := C.carrier
30
+ let D := unipotentLieLogarithm A hA
31
+ let hD := unipotentLieLogarithm_nilpotent A hA
32
+ let φ := PolynomialExponentialCoordinates.derivationAction D hD
33
+ have hstep (h : H) : C.embed (a h) = φ (Multiplicative.ofAdd 1) (C.embed h) := by
34
+ change C.embed (a h) = unipotentLieFlow A hA 1 (C.embed h)
35
+ rw [unipotentLieFlow_one, hAe]
36
+ let I := realIntegerSemidirectMap φ a C.embed hstep
37
+ have hI : Function.Injective I := realIntegerSemidirectMap_injective φ a C.embed hstep C.injective
38
+ let := derivationSemidirectGroup D hD
39
+ let : Mul (L × ℝ) := (derivationSemidirectGroup D hD).toMul
40
+ let : MulOneClass (L × ℝ) := (derivationSemidirectGroup D hD).toMulOneClass
41
+ let e : (L × ℝ) ≃* (L ⋊[φ] Multiplicative ℝ) :=
42
+ { derivationSemidirectEquiv D hD with map_mul' := fun _ _ => rfl }
43
+ let jR := e.symm.toMonoidHom.comp I
44
+ have hjR (z : H ⋊[integerPowerAction a] Multiplicative ℤ) :
45
+ jR z = (C.embed z.left, (z.right.toAdd : ℝ)) := rfl
46
+ obtain ⟨Q, E, hE⟩ := exists_semidirect_polynomial_exponential_coordinates D hD
47
+ let := Q
48
+ let T := DerivationLieSpace D hD
49
+ let : Group T := Q.group
50
+ let : Mul T := Q.group.toMul
51
+ let j := E.symm.toMonoidHom.comp jR
52
+ have hj (z : H ⋊[integerPowerAction a] Multiplicative ℤ) :
53
+ E (j z) = (C.embed z.left, (z.right.toAdd : ℝ)) := by
54
+ change E (E.symm (jR z)) = _
55
+ rw [E.apply_symm_apply, hjR]
56
+ let s := derivationLieSpaceSplit D hD
57
+ let b := cyclicParameterBasis C.basis s
58
+ let c := Module.finBasis ℝ (L × ℝ)
59
+ let p := transportedProductParameter C.parameter s E.toEquiv
60
+ have hp := polynomial_transported_product_parameter C.basis c b
61
+ C.parameter s E.toEquiv C.polynomial C.polynomial_symm (hE b c).1 (hE b c).2
62
+ have hEinv : ContMDiff (𝓘(ℝ, L × ℝ)) (𝓘(ℝ, T)) ∞ E.symm :=
63
+ ((hE b c).2.contDiff.of_le le_top).contMDiff
64
+ have hEfor : ContMDiff (𝓘(ℝ, T)) (𝓘(ℝ, L × ℝ)) ∞ E :=
65
+ ((hE b c).1.contDiff.of_le le_top).contMDiff
66
+ refine ⟨{
67
+ carrier := T
68
+ nilpotent := derivationLieSpace_nilpotent D hD
69
+ embed := j
70
+ injective := E.symm.injective.comp (e.symm.injective.comp hI)
71
+ kernel_smooth := ?_
72
+ dimension := C.dimension + 1
73
+ basis := b
74
+ parameter := p
75
+ polynomial := hp.1
76
+ polynomial_symm := hp.2
77
+ integer_grid := ?_
78
+ extend := ?_ }, rfl⟩
79
+ · have heq : (j.comp ((SemidirectProduct.inl : H →*
80
+ H ⋊[integerPowerAction a] Multiplicative ℤ).comp i) : K → T) =
81
+ fun x => E.symm (C.embed (i x), 0) := by
82
+ funext x
83
+ apply E.injective
84
+ rw [E.apply_symm_apply]
85
+ change E (j (SemidirectProduct.inl (i x))) = (C.embed (i x), 0)
86
+ rw [hj]
87
+ simp
88
+ rw [heq]
89
+ exact hEinv.comp (C.kernel_smooth.prodMk_space contMDiff_const)
90
+ · intro z
91
+ obtain ⟨h, hh⟩ := C.integer_grid (fun k => z k.castSucc)
92
+ refine ⟨⟨h, Multiplicative.ofAdd (z (Fin.last C.dimension))⟩, ?_⟩
93
+ apply E.injective
94
+ rw [hj]
95
+ have hparam := transportedProductParameter_integer C.basis C.parameter s E.toEquiv z
96
+ change E (p (b.equivFun.symm (fun k => (z k : ℝ)))) =
97
+ (C.parameter (C.basis.equivFun.symm (fun k => (z k.castSucc : ℝ))),
98
+ (z (Fin.last C.dimension) : ℝ)) at hparam
99
+ rw [hparam, hh]
100
+ rfl
101
+ · intro M _ _ PM hnil F hF
102
+ obtain ⟨r, hr, hre⟩ := kernelCompletion_cyclic_hom C a A hA hAe F hF
103
+ let f := r.comp E.toMonoidHom
104
+ refine ⟨f, hr.comp hEfor, ?_⟩
105
+ intro z
106
+ change r (E (j z)) = F z
107
+ rw [hj]
108
+ exact hre z.left z.right.toAdd
109
+
110
+ theorem cyclic_step (a : MulAut H) (A : C.carrier ≃ₗ⁅ℝ⁆ C.carrier)
111
+ (hA : IsNilpotent (A.toLinearMap - 1))
112
+ (hAe : ∀ h, A (C.embed h) = C.embed (a h)) :
113
+ Nonempty (NilpotentKernelCompletion
114
+ ((SemidirectProduct.inl : H →* H ⋊[integerPowerAction a] Multiplicative ℤ).comp i)) := by
115
+ obtain ⟨C', _⟩ := C.cyclic_step_with_dimension a A hA hAe
116
+ exact ⟨C'⟩
117
+
118
+ end NilpotentKernelCompletion
119
+ end PolycyclicRecognition
120
+
121
+ end
122
+
123
+ end OAI
lean/OAI/GroupTheory/PolycyclicRecognition/Lattices/KernelCompletionEmbedding.lean ADDED
@@ -0,0 +1,102 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import OAI.GroupTheory.PolycyclicRecognition.Lattices.KernelCompletionHeight
2
+ import OAI.GroupTheory.PolycyclicRecognition.Algebra.FactorExtensionTopology
3
+ import Mathlib.LinearAlgebra.Basis.VectorSpace
4
+
5
+ namespace OAI
6
+
7
+ /-! # The completion embeds the original topology
8
+
9
+ The integer quotient is recovered continuously from the real height. On each
10
+ fiber a continuous linear left inverse recovers the original kernel coordinate.
11
+ -/
12
+
13
+ noncomputable section
14
+ namespace PolycyclicRecognition
15
+ open scoped Manifold ContDiff
16
+ attribute [local instance] factorExtensionTopology
17
+ variable {L : Type} [RealNormedLieAlgebra L] [FiniteDimensional ℝ L]
18
+ [P : PolynomialExponentialCoordinates L] {n : ℕ}
19
+ (R : NonabelianFactorSystem L (IntegralLatticeGroup n))
20
+ (C : NilpotentKernelCompletion (FactorExtension.inl R))
21
+ (π : C.carrier →* AbelianRealSpace n)
22
+ (hπ : ContMDiff (𝓘(ℝ, C.carrier)) (𝓘(ℝ, AbelianRealSpace n)) ∞ π)
23
+ (he : ∀ a, π (C.embed a) = integralRealHeight a.right)
24
+
25
+ local instance completionEmbeddingTopologicalGroup : IsTopologicalGroup C.carrier :=
26
+ topologicalGroup_of_lieGroup (𝓘(ℝ, C.carrier)) ⊤
27
+
28
+ theorem completion_factorization (a : FactorExtension R) :
29
+ C.embed a = C.embed (FactorExtension.inl R a.left) *
30
+ C.embed (⟨1, a.right⟩ : FactorExtension R) := by
31
+ rw [← map_mul]
32
+ apply congrArg C.embed
33
+ apply FactorExtension.ext
34
+ · change a.left = a.left * R.action 1 1 * R.factor 1 a.right
35
+ rw [map_one, R.factor_one_left, mul_one, mul_one]
36
+ · exact (one_mul _).symm
37
+
38
+ theorem kernelCompletion_continuous : Continuous C.embed := by
39
+ have hs : Continuous (fun q : IntegralLatticeGroup n => C.embed (⟨1, q⟩ : FactorExtension R)) :=
40
+ continuous_of_discreteTopology
41
+ have hc := (C.kernel_smooth.continuous.comp (continuous_factor_left R)).mul
42
+ (hs.comp (continuous_factor_right R))
43
+ exact hc.congr (fun a => (completion_factorization R C a).symm)
44
+
45
+ include hπ he in
46
+ theorem kernelCompletion_isEmbedding : Topology.IsEmbedding C.embed := by
47
+ let j := (polynomialModelLieHom (C.embed.comp (FactorExtension.inl R)) C.kernel_smooth).toLinearMap
48
+ have hj (x : L) : j x = C.embed (FactorExtension.inl R x) :=
49
+ polynomialModelLieHom_apply _ C.kernel_smooth x
50
+ have hji : Function.Injective j := by
51
+ intro x y h
52
+ apply FactorExtension.inl_injective R
53
+ apply C.injective
54
+ exact (hj x).symm.trans (h.trans (hj y))
55
+ obtain ⟨l, hl⟩ := j.exists_leftInverse_of_injective (LinearMap.ker_eq_bot.mpr hji)
56
+ let e : FactorExtension R ≃* C.embed.range := MonoidHom.ofInjective C.injective
57
+ have hlat (x : C.embed.range) : π x.val ∈ abelianRealLattice n := by
58
+ obtain ⟨a, ha⟩ := x.property
59
+ rw [← ha, he]
60
+ exact integerVectorMap_mem n a.right.toAdd
61
+ let q : C.embed.range → IntegralLatticeGroup n := fun x =>
62
+ (abelianRealLatticeEquiv n).symm ⟨π x.val, hlat x⟩
63
+ have hq (a : FactorExtension R) : q (e a) = a.right := by
64
+ apply (abelianRealLatticeEquiv n).injective
65
+ apply Subtype.ext
66
+ change ((abelianRealLatticeEquiv n) ((abelianRealLatticeEquiv n).symm
67
+ ⟨π (C.embed a), hlat (e a)⟩) : AbelianRealSpace n) = _
68
+ rw [MulEquiv.apply_symm_apply]
69
+ exact he a
70
+ have hqc : Continuous q := by
71
+ let := (abelianRealLattice_uniform n).1
72
+ exact (continuous_of_discreteTopology : Continuous (abelianRealLatticeEquiv n).symm).comp
73
+ ((hπ.continuous.comp continuous_subtype_val).subtype_mk hlat)
74
+ let r : C.embed.range → L := fun x => l
75
+ (x.val * (C.embed (⟨1, q x⟩ : FactorExtension R))⁻¹)
76
+ have hr (a : FactorExtension R) : r (e a) = a.left := by
77
+ change l (C.embed a * (C.embed (⟨1, q (e a)⟩ : FactorExtension R))⁻¹) = a.left
78
+ rw [hq, completion_factorization R C a, mul_inv_cancel_right, ← hj]
79
+ exact LinearMap.congr_fun hl a.left
80
+ have hrc : Continuous r := by
81
+ have hs : Continuous (fun q : IntegralLatticeGroup n => C.embed (⟨1, q⟩ : FactorExtension R)) :=
82
+ continuous_of_discreteTopology
83
+ exact l.toContinuousLinearMap.continuous.comp
84
+ (continuous_subtype_val.mul (hs.comp hqc).inv)
85
+ have hinv : (e.symm : C.embed.range → FactorExtension R) = fun x => ⟨r x, q x⟩ := by
86
+ funext x
87
+ obtain ⟨a, rfl⟩ := e.surjective x
88
+ rw [e.symm_apply_apply, hr, hq]
89
+ have hei : Continuous e.symm := by
90
+ rw [hinv]
91
+ exact (factorExtensionHomeomorph R).symm.continuous.comp (hrc.prodMk hqc)
92
+ let homeo : FactorExtension R ≃ₜ C.embed.range :=
93
+ { e.toEquiv with
94
+ continuous_toFun := (kernelCompletion_continuous R C).subtype_mk _
95
+ continuous_invFun := hei }
96
+ exact Topology.IsEmbedding.subtypeVal.comp homeo.isEmbedding
97
+
98
+ end PolycyclicRecognition
99
+
100
+ end
101
+
102
+ end OAI
lean/OAI/GroupTheory/PolycyclicRecognition/Lattices/KernelCompletionHeight.lean ADDED
@@ -0,0 +1,154 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import OAI.GroupTheory.PolycyclicRecognition.Lattices.NilpotentIntegralKernelCompletion
2
+ import OAI.GroupTheory.PolycyclicRecognition.Algebra.AbelianRealSpace
3
+ import OAI.GroupTheory.PolycyclicRecognition.Lattices.IntegralLatticeGenerators
4
+ import Mathlib.LinearAlgebra.FiniteDimensional.Lemmas
5
+
6
+ namespace OAI
7
+
8
+ /-! # The real quotient of a nilpotent kernel completion
9
+
10
+ The quotient homomorphism extends to the constructed completion. Its kernel
11
+ is exactly the original real kernel, by the dimension retained in the cyclic
12
+ construction. No exactness property is postulated for the completion.
13
+ -/
14
+
15
+ noncomputable section
16
+ namespace PolycyclicRecognition
17
+ open scoped Manifold ContDiff
18
+ variable {K G : Type} [RealNormedLieAlgebra K] [FiniteDimensional ℝ K]
19
+ [PK : PolynomialExponentialCoordinates K] [Group G] {n : ℕ}
20
+
21
+ def integralRealHeight : IntegralLatticeGroup n →* AbelianRealSpace n where
22
+ toFun z := integerVectorMap n z.toAdd
23
+ map_one' := (integerVectorMap n).map_zero
24
+ map_mul' z w := (integerVectorMap n).map_add z.toAdd w.toAdd
25
+
26
+ theorem integralRealHeight_injective : Function.Injective (integralRealHeight (n := n)) := by
27
+ intro z w h
28
+ exact Multiplicative.ext (integerVectorMap_injective n h)
29
+
30
+ theorem integralRealHeight_range :
31
+ (integralRealHeight (n := n)).range = abelianRealLattice n := by
32
+ ext x
33
+ constructor
34
+ · rintro ⟨z, rfl⟩
35
+ exact integerVectorMap_mem n z.toAdd
36
+ · intro hx
37
+ obtain ⟨z, hz⟩ := (abelianRealLatticeEquiv n).surjective ⟨x, hx⟩
38
+ exact ⟨z, congrArg Subtype.val hz⟩
39
+
40
+ namespace NilpotentKernelCompletion
41
+ variable (E : GroupExtension K G (IntegralLatticeGroup n))
42
+ (C : NilpotentKernelCompletion E.inl)
43
+
44
+ theorem exists_height :
45
+ ∃ π : C.carrier →* AbelianRealSpace n,
46
+ ContMDiff (𝓘(ℝ, C.carrier)) (𝓘(ℝ, AbelianRealSpace n)) ∞ π ∧
47
+ ∀ g, π (C.embed g) = integralRealHeight (E.rightHom g) := by
48
+ apply C.extend (AbelianRealSpace n) (integralRealHeight.comp E.rightHom)
49
+ have he : (integralRealHeight.comp E.rightHom).comp E.inl =
50
+ (1 : K →* AbelianRealSpace n) := by
51
+ ext x
52
+ simp only [MonoidHom.comp_apply, E.rightHom_inl, map_one, MonoidHom.one_apply]
53
+ rw [he]
54
+ exact contMDiff_const
55
+
56
+ variable (π : C.carrier →* AbelianRealSpace n)
57
+ (hπ : ContMDiff (𝓘(ℝ, C.carrier)) (𝓘(ℝ, AbelianRealSpace n)) ∞ π)
58
+ (he : ∀ g, π (C.embed g) = integralRealHeight (E.rightHom g))
59
+
60
+ include hπ he in
61
+ theorem height_surjective : Function.Surjective π := by
62
+ let f := (polynomialModelLieHom π hπ).toLinearMap
63
+ have hr : LinearMap.range f = ⊤ := by
64
+ apply top_unique
65
+ have hb : Submodule.span ℝ (Set.range (Pi.basisFun ℝ (Fin n))) =
66
+ (⊤ : Submodule ℝ (AbelianRealSpace n)) := (Pi.basisFun ℝ (Fin n)).span_eq
67
+ rw [← hb]
68
+ apply Submodule.span_le.mpr
69
+ rintro _ ⟨j, rfl⟩
70
+ obtain ⟨g, hg⟩ := E.rightHom_surjective (integralLatticeGenerator n j)
71
+ refine ⟨C.embed g, ?_⟩
72
+ change polynomialModelLieHom π hπ (C.embed g) = _
73
+ rw [polynomialModelLieHom_apply, he, hg]
74
+ exact integerVectorMap_basis j
75
+ intro x
76
+ obtain ⟨y, hy⟩ := (LinearMap.range_eq_top.mp hr) x
77
+ exact ⟨y, (polynomialModelLieHom_apply π hπ y).symm.trans hy⟩
78
+
79
+ include hπ he in
80
+ theorem height_kernel_eq
81
+ (hdim : C.dimension = Module.finrank ℝ K + n) :
82
+ π.ker = (C.embed.comp E.inl).range := by
83
+ let f := (polynomialModelLieHom π hπ).toLinearMap
84
+ let k := (polynomialModelLieHom (C.embed.comp E.inl) C.kernel_smooth).toLinearMap
85
+ have hk : Function.Injective k := by
86
+ intro x y h
87
+ apply E.inl_injective
88
+ apply C.injective
89
+ exact (polynomialModelLieHom_apply _ C.kernel_smooth x).symm.trans
90
+ (h.trans (polynomialModelLieHom_apply _ C.kernel_smooth y))
91
+ have hle : LinearMap.range k ≤ LinearMap.ker f := by
92
+ rintro _ ⟨x, rfl⟩
93
+ change polynomialModelLieHom π hπ (polynomialModelLieHom _ C.kernel_smooth x) = 0
94
+ rw [polynomialModelLieHom_apply, polynomialModelLieHom_apply]
95
+ change π (C.embed (E.inl x)) = 0
96
+ rw [he, E.rightHom_inl, map_one]
97
+ rfl
98
+ have hfdim : Module.finrank ℝ (LinearMap.ker f) = Module.finrank ℝ K := by
99
+ have hsurj : Function.Surjective f := by
100
+ intro x
101
+ obtain ⟨y, hy⟩ := C.height_surjective E π hπ he x
102
+ exact ⟨y, (polynomialModelLieHom_apply π hπ y).trans hy⟩
103
+ have hr := LinearMap.finrank_range_add_finrank_ker f
104
+ rw [LinearMap.range_eq_top.mpr hsurj, finrank_top] at hr
105
+ have hn : Module.finrank ℝ (AbelianRealSpace n) = n := by
106
+ change Module.finrank ℝ (Fin n → ℝ) = n
107
+ simp
108
+ have hc : Module.finrank ℝ C.carrier = C.dimension := by
109
+ simpa only [Fintype.card_fin] using Module.finrank_eq_card_basis C.basis
110
+ rw [hn, hc, hdim] at hr
111
+ omega
112
+ have hkr : LinearMap.range k = LinearMap.ker f :=
113
+ Submodule.eq_of_le_of_finrank_eq hle
114
+ ((LinearMap.finrank_range_of_inj hk).trans hfdim.symm)
115
+ ext y
116
+ change π y = 1 ↔ ∃ x, C.embed (E.inl x) = y
117
+ constructor
118
+ �� intro hy
119
+ have hy' : y ∈ LinearMap.ker f := by
120
+ change polynomialModelLieHom π hπ y = 0
121
+ rw [polynomialModelLieHom_apply, hy]
122
+ rfl
123
+ rw [← hkr] at hy'
124
+ obtain ⟨x, hx⟩ := hy'
125
+ exact ⟨x, (polynomialModelLieHom_apply _ C.kernel_smooth x).symm.trans hx⟩
126
+ · rintro ⟨x, rfl⟩
127
+ rw [he, E.rightHom_inl, map_one]
128
+
129
+ include hπ he in
130
+ theorem embed_range_eq_height_lattice
131
+ (hdim : C.dimension = Module.finrank ℝ K + n) :
132
+ C.embed.range = (abelianRealLattice n).comap π := by
133
+ rw [← integralRealHeight_range]
134
+ ext x
135
+ constructor
136
+ · rintro ⟨g, rfl⟩
137
+ exact ⟨E.rightHom g, (he g).symm⟩
138
+ · rintro ⟨q, hq⟩
139
+ obtain ⟨g, hg⟩ := E.rightHom_surjective q
140
+ have hk : x * (C.embed g)⁻¹ ∈ π.ker := by
141
+ change π (x * (C.embed g)⁻¹) = 1
142
+ rw [map_mul, map_inv, he, hg, ← hq, mul_inv_cancel]
143
+ rw [C.height_kernel_eq E π hπ he hdim] at hk
144
+ obtain ⟨k, hk⟩ := hk
145
+ refine ⟨E.inl k * g, ?_⟩
146
+ rw [map_mul, show C.embed (E.inl k) = x * (C.embed g)⁻¹ from hk]
147
+ exact inv_mul_cancel_right x (C.embed g)
148
+
149
+ end NilpotentKernelCompletion
150
+ end PolycyclicRecognition
151
+
152
+ end
153
+
154
+ end OAI
lean/OAI/GroupTheory/PolycyclicRecognition/Lattices/KernelCompletionTransport.lean ADDED
@@ -0,0 +1,58 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import OAI.GroupTheory.PolycyclicRecognition.Lattices.NilpotentKernelCompletion
2
+
3
+ namespace OAI
4
+
5
+ /-! # Transporting a constructed completion across an exact group isomorphism -/
6
+
7
+ noncomputable section
8
+ namespace PolycyclicRecognition
9
+ open scoped Manifold ContDiff
10
+ variable {K H J : Type} [RealNormedLieAlgebra K] [FiniteDimensional ℝ K]
11
+ [PK : PolynomialExponentialCoordinates K] [Group H] [Group J]
12
+ {i : K →* H}
13
+
14
+ namespace NilpotentKernelCompletion
15
+
16
+ def of_equiv (C : NilpotentKernelCompletion i) (e : H ≃* J) :
17
+ NilpotentKernelCompletion (e.toMonoidHom.comp i) where
18
+ carrier := C.carrier
19
+ embed := C.embed.comp e.symm.toMonoidHom
20
+ injective := C.injective.comp e.symm.injective
21
+ kernel_smooth := by
22
+ convert C.kernel_smooth using 1
23
+ ext x
24
+ exact congrArg C.embed (e.symm_apply_apply (i x))
25
+ dimension := C.dimension
26
+ basis := C.basis
27
+ parameter := C.parameter
28
+ polynomial := C.polynomial
29
+ polynomial_symm := C.polynomial_symm
30
+ integer_grid z := by
31
+ obtain ⟨h, hh⟩ := C.integer_grid z
32
+ refine ⟨e h, ?_⟩
33
+ simpa only [MonoidHom.comp_apply, MulEquiv.coe_toMonoidHom, e.symm_apply_apply] using hh
34
+ extend M _ _ _ _ f hf := by
35
+ obtain ⟨φ, hφ, he⟩ := C.extend M (f.comp e.toMonoidHom) hf
36
+ refine ⟨φ, hφ, ?_⟩
37
+ intro j
38
+ exact (he (e.symm j)).trans (congrArg f (e.apply_symm_apply j))
39
+
40
+ theorem exists_of_bijective_kernel_with_dimension [LieRing.IsNilpotent K]
41
+ (i : K →* H) (hi : Function.Bijective i) :
42
+ ∃ C : NilpotentKernelCompletion i, C.dimension = Module.finrank ℝ K := by
43
+ let e := MulEquiv.ofBijective i hi
44
+ have he : e.toMonoidHom.comp (MonoidHom.id K) = i := by ext x; rfl
45
+ rw [← he]
46
+ exact ⟨of_equiv of_polynomial_kernel e, rfl⟩
47
+
48
+ theorem exists_of_bijective_kernel [LieRing.IsNilpotent K]
49
+ (i : K →* H) (hi : Function.Bijective i) : Nonempty (NilpotentKernelCompletion i) := by
50
+ obtain ⟨C, _⟩ := exists_of_bijective_kernel_with_dimension i hi
51
+ exact ⟨C⟩
52
+
53
+ end NilpotentKernelCompletion
54
+ end PolycyclicRecognition
55
+
56
+ end
57
+
58
+ end OAI
lean/OAI/GroupTheory/PolycyclicRecognition/Lattices/KernelCompletionUnipotentLift.lean ADDED
@@ -0,0 +1,39 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import OAI.GroupTheory.PolycyclicRecognition.Lattices.NilpotentKernelCompletion
2
+ import OAI.GroupTheory.PolycyclicRecognition.Lattices.LatticeAutomorphismUnipotent
3
+
4
+ namespace OAI
5
+
6
+ /-! # Nilpotent ambient conjugations extend as unipotent Lie automorphisms -/
7
+
8
+ noncomputable section
9
+ namespace PolycyclicRecognition
10
+ open scoped Manifold ContDiff
11
+ variable {K H G : Type} [RealNormedLieAlgebra K] [FiniteDimensional ℝ K]
12
+ [PK : PolynomialExponentialCoordinates K] [Group H] [Group G] [Group.IsNilpotent G]
13
+ {i : K →* H} (C : NilpotentKernelCompletion i)
14
+
15
+ namespace NilpotentKernelCompletion
16
+
17
+ theorem unipotent_conjugation_extension (j : H →* G) (hj : Function.Injective j)
18
+ (a : MulAut H) (t : G) (hconj : ∀ h, j (a h) = t * j h * t⁻¹)
19
+ (ha : ContMDiff (𝓘(ℝ, K)) (𝓘(ℝ, C.carrier)) ∞
20
+ ((C.embed.comp a.toMonoidHom).comp i))
21
+ (hai : ContMDiff (𝓘(ℝ, K)) (𝓘(ℝ, C.carrier)) ∞
22
+ ((C.embed.comp a.symm.toMonoidHom).comp i)) :
23
+ ∃ A : C.carrier ≃ₗ⁅ℝ⁆ C.carrier,
24
+ IsNilpotent (A.toLinearMap - 1) ∧ ∀ h, A (C.embed h) = C.embed (a h) := by
25
+ obtain ⟨B, hB, _, hBe⟩ := C.automorphism_extension a ha hai
26
+ let A := polynomialModelLieEquiv B hB
27
+ have hAe (h : H) : A (C.embed h) = C.embed (a h) := by
28
+ rw [polynomialModelLieEquiv_apply]
29
+ exact hBe h
30
+ refine ⟨A, ?_, hAe⟩
31
+ exact lattice_automorphism_unipotent C.basis C.parameter C.polynomial
32
+ C.parameter.surjective C.embed C.integer_grid j hj a t hconj A.toLinearMap hAe
33
+
34
+ end NilpotentKernelCompletion
35
+ end PolycyclicRecognition
36
+
37
+ end
38
+
39
+ end OAI
lean/OAI/GroupTheory/PolycyclicRecognition/Lattices/LatticeAutomorphismFlow.lean ADDED
@@ -0,0 +1,40 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import OAI.GroupTheory.PolycyclicRecognition.Lattices.LatticeAutomorphismUnipotent
2
+ import OAI.GroupTheory.PolycyclicRecognition.Algebra.PolynomialModelHom
3
+ import OAI.GroupTheory.PolycyclicRecognition.Geometry.UnipotentLieFlow
4
+
5
+ namespace OAI
6
+
7
+ /-! # Extending nilpotent lattice conjugation to a real automorphism flow -/
8
+
9
+ noncomputable section
10
+ namespace PolycyclicRecognition
11
+ open Module
12
+ open scoped Manifold ContDiff
13
+ variable {L G H : Type*} [RealNormedLieAlgebra L] [FiniteDimensional ℝ L]
14
+ [P : PolynomialExponentialCoordinates L] [Group G] [Group H] [Group.IsNilpotent G]
15
+
16
+ theorem exists_nilpotent_lattice_automorphism_log {d : ℕ} (b : Basis (Fin d) ℝ L)
17
+ (p : L → L) (hp : IsPolynomialInBasis b b p) (hsurj : Function.Surjective p)
18
+ (e : H →* L)
19
+ (hgrid : ∀ z : Fin d → ℤ, ∃ x : H,
20
+ e x = p (b.equivFun.symm (fun i => (z i : ℝ))))
21
+ (j : H →* G) (hj : Function.Injective j)
22
+ (a : H ≃* H) (t : G) (ha : ∀ x, j (a x) = t * j x * t⁻¹)
23
+ (F : L ≃* L) (hF : ContMDiff (𝓘(ℝ, L)) (𝓘(ℝ, L)) ∞ F)
24
+ (he : ∀ x, F (e x) = e (a x)) :
25
+ ∃ D : LieDerivation ℝ L L, ∃ hD : IsNilpotent D.toLinearMap,
26
+ ∀ x, nilpotentDerivationFlow D hD 1 x = F x := by
27
+ let A := polynomialModelLieEquiv F hF
28
+ have hA : IsNilpotent (A.toLinearMap - 1) :=
29
+ lattice_automorphism_unipotent b p hp hsurj e hgrid j hj a t ha A.toLinearMap
30
+ (by intro x; change A (e x) = e (a x); rw [polynomialModelLieEquiv_apply]; exact he x)
31
+ refine ⟨unipotentLieLogarithm A hA, unipotentLieLogarithm_nilpotent A hA, ?_⟩
32
+ intro x
33
+ change unipotentLieFlow A hA 1 x = F x
34
+ rw [unipotentLieFlow_one, polynomialModelLieEquiv_apply]
35
+
36
+ end PolycyclicRecognition
37
+
38
+ end
39
+
40
+ end OAI
lean/OAI/GroupTheory/PolycyclicRecognition/Lattices/LatticeAutomorphismUnipotent.lean ADDED
@@ -0,0 +1,57 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import OAI.GroupTheory.PolycyclicRecognition.Algebra.PolynomialModelDifference
2
+ import OAI.GroupTheory.PolycyclicRecognition.Algebra.NilpotentAutomorphismDifference
3
+
4
+ namespace OAI
5
+
6
+ /-! # Unipotence of a lattice automorphism induced by nilpotent conjugation
7
+
8
+ A polynomial surjective coordinate parameter suffices. Its integral grid
9
+ only has to land in the lattice; no additive description of that lattice is
10
+ assumed.
11
+ -/
12
+
13
+ noncomputable section
14
+ namespace PolycyclicRecognition
15
+ open Module
16
+ variable {L G H : Type*} [RealNormedLieAlgebra L] [FiniteDimensional ℝ L]
17
+ [P : PolynomialExponentialCoordinates L] [Group G] [Group H] [Group.IsNilpotent G]
18
+
19
+ theorem lattice_automorphism_unipotent {d : ℕ} (b : Basis (Fin d) ℝ L)
20
+ (p : L → L) (hp : IsPolynomialInBasis b b p) (hsurj : Function.Surjective p)
21
+ (e : H →* L)
22
+ (hgrid : ∀ z : Fin d → ℤ, ∃ x : H,
23
+ e x = p (b.equivFun.symm (fun i => (z i : ℝ))))
24
+ (j : H →* G) (hj : Function.Injective j)
25
+ (a : H ≃* H) (t : G) (ha : ∀ x, j (a x) = t * j x * t⁻¹)
26
+ (A : L →ₗ[ℝ] L) (hA : ∀ x, A (e x) = e (a x)) :
27
+ IsNilpotent (A - 1) := by
28
+ let f : L → L := fun x => A x * (-x)
29
+ let n := Group.nilpotencyClass G
30
+ have hf : IsPolynomialInBasis b b f := polynomial_model_difference A b
31
+ have hs : Function.Semiconj e (fun y => a y * y⁻¹) f := by
32
+ intro x
33
+ change e (a x * x⁻¹) = A (e x) * (-e x)
34
+ rw [map_mul, map_inv, hA, P.inv_eq_neg]
35
+ have hezero (x : H) : f^[n] (e x) = 0 := by
36
+ rw [← hs.iterate_right n x, automorphism_difference_iterate_one j hj a t ha,
37
+ map_one, P.one_eq_zero]
38
+ have hz : IsPolynomialInBasis b b (fun _ : L => (0 : L)) := by
39
+ simpa only [IsPolynomialInBasis, map_zero] using
40
+ (IsCoordinatePolynomial.const (I := Fin d) (0 : Fin d → ℝ))
41
+ have heq : f^[n] ∘ p = fun _ => (0 : L) :=
42
+ ((hf.iterate n).comp hp).ext_integer_grid hz (by
43
+ intro z
44
+ obtain ⟨x, hx⟩ := hgrid z
45
+ change f^[n] (p (b.equivFun.symm (fun i => (z i : ℝ)))) = 0
46
+ rw [← hx]
47
+ exact hezero x)
48
+ apply nilpotent_linear_of_group_difference A n
49
+ intro y
50
+ obtain ⟨x, rfl⟩ := hsurj y
51
+ exact congrFun heq x
52
+
53
+ end PolycyclicRecognition
54
+
55
+ end
56
+
57
+ end OAI
lean/OAI/GroupTheory/PolycyclicRecognition/Lattices/LatticeCharacterGeometry.lean ADDED
@@ -0,0 +1,62 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import OAI.GroupTheory.PolycyclicRecognition.Geometry.CharacterHemisphereContraction
2
+ import Mathlib.Algebra.Module.ZLattice.Basic
3
+
4
+ namespace OAI
5
+
6
+ /-! # The actual vector lattice for the character criterion -/
7
+
8
+ noncomputable section
9
+ namespace PolycyclicRecognition
10
+ open Module
11
+ variable {E ι : Type} [NormedAddCommGroup E] [InnerProductSpace ℝ E]
12
+ [ProperSpace E] [Finite ι] (b : Basis ι ℝ E)
13
+
14
+ def basisLatticeEmbedding :
15
+ Multiplicative (Submodule.span ℤ (Set.range b)) →* Multiplicative E :=
16
+ (Submodule.span ℤ (Set.range b)).subtype.toAddMonoidHom.toMultiplicative
17
+
18
+ omit [ProperSpace E] [Finite ι] in
19
+ theorem basisLatticeEmbedding_span :
20
+ Submodule.span ℝ (Set.range (fun q => (basisLatticeEmbedding b q).toAdd)) = ⊤ := by
21
+ have he : Set.range (fun q => (basisLatticeEmbedding b q).toAdd) =
22
+ (Submodule.span ℤ (Set.range b) : Set E) := by
23
+ ext x
24
+ constructor
25
+ · rintro ⟨q, rfl⟩
26
+ exact q.toAdd.property
27
+ · intro hx
28
+ exact ⟨Multiplicative.ofAdd ⟨x, hx⟩, rfl⟩
29
+ rw [he]
30
+ exact ZSpan.span_top b
31
+
32
+ theorem basisLatticeEmbedding_bounded (R : ℝ) :
33
+ Set.Finite {q | ‖(basisLatticeEmbedding b q).toAdd‖ ≤ R} := by
34
+ let L := Submodule.span ℤ (Set.range b)
35
+ have h := ZSpan.setFinite_inter b (Metric.isBounded_closedBall (x := (0 : E)) (r := R))
36
+ have hi : Function.Injective (fun q : Multiplicative L => ((q.toAdd : L) : E)) := by
37
+ intro q r hqr
38
+ apply Multiplicative.toAdd.injective
39
+ exact Subtype.ext hqr
40
+ have hp := Set.Finite.preimage hi.injOn h
41
+ apply hp.subset
42
+ intro q hq
43
+ change ‖((q.toAdd : L) : E)‖ ≤ R at hq
44
+ exact ⟨by simpa only [Metric.mem_closedBall, dist_zero_right] using hq, q.toAdd.property⟩
45
+
46
+ omit [ProperSpace E] in
47
+ theorem basisLatticeEmbedding_coarseCover :
48
+ ∃ R : ℝ, ∀ x : E, ∃ q, ‖(basisLatticeEmbedding b q).toAdd - x‖ ≤ R := by
49
+ let := Fintype.ofFinite ι
50
+ obtain ⟨R, hR⟩ := b.parallelepiped.isCompact.isBounded.subset_closedBall (0 : E)
51
+ refine ⟨R, fun x => ⟨Multiplicative.ofAdd (ZSpan.floor b x), ?_⟩⟩
52
+ have hf := hR (ZSpan.fundamentalDomain_subset_parallelepiped b
53
+ (ZSpan.fract_mem_fundamentalDomain b x))
54
+ change ‖(ZSpan.floor b x : E) - x‖ ≤ R
55
+ rw [norm_sub_rev]
56
+ simpa only [dist_zero_right, ZSpan.fract_apply] using (Metric.mem_closedBall.mp hf)
57
+
58
+ end PolycyclicRecognition
59
+
60
+ end
61
+
62
+ end OAI
lean/OAI/GroupTheory/PolycyclicRecognition/Lattices/LatticeCharacterSeparation.lean ADDED
@@ -0,0 +1,40 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import OAI.GroupTheory.PolycyclicRecognition.Analysis.CompactCharacterSeparation
2
+ import OAI.GroupTheory.PolycyclicRecognition.Algebra.InwardVectorCharacters
3
+
4
+ namespace OAI
5
+
6
+ /-! # An integral separating direction from a compact character set -/
7
+
8
+ noncomputable section
9
+ namespace PolycyclicRecognition
10
+ open scoped InnerProductSpace
11
+ variable {Q E : Type} [CommGroup Q] [NormedAddCommGroup E]
12
+ [InnerProductSpace ℝ E] [FiniteDimensional ℝ E]
13
+
14
+ theorem exists_lattice_character_separator (e : Q →* Multiplicative E)
15
+ (hcover : ∃ R : ℝ, ∀ x : E, ∃ q, ‖(e q).toAdd - x‖ ≤ R)
16
+ {C : Set E} (hC : IsCompact C) (hunit : ∀ v ∈ C, ‖v‖ = 1)
17
+ (hzero : (0 : E) ∉ convexHull ℝ C) :
18
+ ∃ t : Q, ∀ v ∈ C, 0 < (inwardVectorCharacter e v t).toAdd := by
19
+ obtain ⟨w, δ, hδ, hw⟩ := exists_inner_separator_of_compact_no_convex_zero hC hzero
20
+ obtain ⟨R, hR⟩ := hcover
21
+ obtain ⟨n, hn⟩ := exists_nat_gt (R / δ)
22
+ have hnR : R < (n : ℝ) * δ := (div_lt_iff₀ hδ).mp hn
23
+ obtain ⟨t, ht⟩ := hR (-((n : ℝ) • w))
24
+ refine ⟨t, ?_⟩
25
+ intro v hv
26
+ have herror : ⟪v, (e t).toAdd + (n : ℝ) • w⟫_ℝ ≤ R := by
27
+ have hb := real_inner_le_norm v ((e t).toAdd + (n : ℝ) • w)
28
+ rw [hunit v hv, one_mul] at hb
29
+ exact hb.trans (by simpa only [sub_neg_eq_add] using ht)
30
+ rw [inner_add_right, real_inner_smul_right, ← real_inner_comm v w] at herror
31
+ have hn0 : 0 ≤ (n : ℝ) := Nat.cast_nonneg n
32
+ have hmul := mul_le_mul_of_nonneg_left (hw v hv).le hn0
33
+ change 0 < -⟪v, (e t).toAdd⟫_ℝ
34
+ linarith
35
+
36
+ end PolycyclicRecognition
37
+
38
+ end
39
+
40
+ end OAI
lean/OAI/GroupTheory/PolycyclicRecognition/Lattices/LatticeCharacterization.lean ADDED
@@ -0,0 +1,40 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import OAI.GroupTheory.PolycyclicRecognition.Lattices.SolvableLatticeRecognition
2
+
3
+ namespace OAI
4
+
5
+ /-!
6
+ # Virtual polycyclicity and finite-index solvable lattices
7
+
8
+ Dekimpe's realization and polycyclicity of solvable Lie lattices identify
9
+ virtual polycyclicity with a finite-index solvable-lattice realization.
10
+ -/
11
+
12
+ namespace PolycyclicRecognition
13
+
14
+ /-- A group with a finite-index subgroup isomorphic to a uniform solvable Lie
15
+ lattice is virtually polycyclic. -/
16
+ theorem virtuallyPolycyclic_of_finiteIndex_solvableLattice
17
+ (fw : FarbWeinbergerLatticeInput) {H : Type} [Group H]
18
+ (Γ : Subgroup H) (hΓ : Γ.FiniteIndex)
19
+ (S : SimplyConnectedSolvableLieModel) (Λ : Subgroup S.carrier)
20
+ (hΛ : IsUniformLattice Λ) (e : Γ ≃* Λ) :
21
+ IsVirtuallyPolycyclic H :=
22
+ ⟨Γ, hΓ, (fw S Λ hΛ).of_injective e.toMonoidHom e.injective⟩
23
+
24
+ /-- Virtual polycyclicity is equivalent to finite-index realization as a
25
+ discrete uniform lattice in a simply connected solvable Lie group. -/
26
+ theorem virtuallyPolycyclic_iff_finiteIndex_solvableLattice
27
+ (dekimpe : DekimpeLatticeRealizationInput) (fw : FarbWeinbergerLatticeInput)
28
+ (H : Type) [Group H] :
29
+ IsVirtuallyPolycyclic H ↔
30
+ ∃ Γ : Subgroup H, Γ.FiniteIndex ∧
31
+ ∃ (S : SimplyConnectedSolvableLieModel) (Λ : Subgroup S.carrier),
32
+ IsUniformLattice Λ ∧ Nonempty (Γ ≃* Λ) := by
33
+ constructor
34
+ · exact exists_uniform_solvable_lattice_of_virtuallyPolycyclic dekimpe H
35
+ · rintro ⟨Γ, hΓ, S, Λ, hΛ, ⟨e⟩⟩
36
+ exact virtuallyPolycyclic_of_finiteIndex_solvableLattice fw Γ hΓ S Λ hΛ e
37
+
38
+ end PolycyclicRecognition
39
+
40
+ end OAI
lean/OAI/GroupTheory/PolycyclicRecognition/Lattices/LatticeKernelTail.lean ADDED
@@ -0,0 +1,53 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import OAI.GroupTheory.PolycyclicRecognition.Finiteness.FreeAbelianDuality
2
+
3
+ namespace OAI
4
+
5
+ /-! # Removing the first coordinate of a free abelian quotient -/
6
+
7
+ noncomputable section
8
+ namespace PolycyclicRecognition
9
+
10
+ def latticeTail (n : ℕ) : IntegralLatticeGroup (n + 1) →* IntegralLatticeGroup n where
11
+ toFun a := Multiplicative.ofAdd (fun i => a.toAdd i.succ)
12
+ map_one' := rfl
13
+ map_mul' _ _ := rfl
14
+
15
+ variable {G : Type} [Group G] {n : ℕ} (q : G →* IntegralLatticeGroup (n + 1))
16
+
17
+ def latticeKernelTail : ( (latticeCoordinate n).comp q).ker →* IntegralLatticeGroup n :=
18
+ (latticeTail n).comp (q.comp ((latticeCoordinate n).comp q).ker.subtype)
19
+
20
+ theorem latticeKernelTail_surjective (hq : Function.Surjective q) :
21
+ Function.Surjective (latticeKernelTail q) := by
22
+ intro a
23
+ obtain ⟨g, hg⟩ := hq (Multiplicative.ofAdd (Fin.cases 0 a.toAdd))
24
+ have hg0 : g ∈ ((latticeCoordinate n).comp q).ker := by
25
+ change latticeCoordinate n (q g) = 1
26
+ rw [hg]
27
+ rfl
28
+ refine ⟨⟨g, hg0⟩, ?_⟩
29
+ change latticeTail n (q g) = a
30
+ rw [hg]
31
+ rfl
32
+
33
+ def latticeKernelTailEquiv : q.ker ≃* (latticeKernelTail q).ker where
34
+ toFun a := ⟨⟨a, by
35
+ change latticeCoordinate n (q a) = 1
36
+ rw [a.property, map_one]⟩, by
37
+ change latticeTail n (q a) = 1
38
+ rw [a.property, map_one]⟩
39
+ invFun a := ⟨a.val.val, by
40
+ apply Multiplicative.toAdd.injective
41
+ funext i
42
+ refine Fin.cases ?_ (fun j => ?_) i
43
+ · exact congrArg Multiplicative.toAdd a.val.property
44
+ · exact congrFun (congrArg Multiplicative.toAdd a.property) j⟩
45
+ left_inv _ := rfl
46
+ right_inv _ := rfl
47
+ map_mul' _ _ := rfl
48
+
49
+ end PolycyclicRecognition
50
+
51
+ end
52
+
53
+ end OAI
lean/OAI/GroupTheory/PolycyclicRecognition/Lattices/LatticeMetricChains.lean ADDED
@@ -0,0 +1,71 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import OAI.GroupTheory.PolycyclicRecognition.Lattices.UniformLatticeMetric
2
+ import OAI.GroupTheory.PolycyclicRecognition.Analysis.LinearMetricChains
3
+ import OAI.GroupTheory.PolycyclicRecognition.Analysis.MetricQuasiEquivalence
4
+
5
+ namespace OAI
6
+
7
+ /-! # Linear metric chains on a uniform lattice -/
8
+
9
+ noncomputable section
10
+ namespace PolycyclicRecognition
11
+
12
+ variable {G : Type*} [Group G] [MetricSpace G] [IsTopologicalGroup G]
13
+ [IsIsometricSMul G G] {Λ : Subgroup G}
14
+
15
+ omit [IsTopologicalGroup G] in
16
+ /-- Rounding an ambient chain to a uniformly close lattice section keeps
17
+ the linear length bound and enlarges only the step size. -/
18
+ theorem IsUniformLattice.nonempty_linearMetricChains
19
+ (hΛ : IsUniformLattice Λ) (C : LinearMetricChains G) :
20
+ Nonempty (LinearMetricChains Λ) := by
21
+ classical
22
+ obtain ⟨r, R, hR, hr, _⟩ := hΛ.exists_metric_section
23
+ let s : G → Λ := fun x => if h : x ∈ Λ then ⟨x, h⟩ else r x
24
+ have hs (x : G) : dist x (s x : G) ≤ R := by
25
+ dsimp [s]
26
+ split
27
+ · simpa using hR
28
+ · exact hr x
29
+ have hfix (x : Λ) : s x = x := by simp [s]
30
+ refine ⟨{
31
+ step := C.step + (R + R)
32
+ step_pos := by linarith [C.step_pos]
33
+ slope := C.slope
34
+ slope_nonneg := C.slope_nonneg
35
+ error := C.error
36
+ error_nonneg := C.error_nonneg
37
+ chain := ?_ }⟩
38
+ intro x y
39
+ obtain ⟨n, p, h0, hn, hlen, hstep⟩ := C.chain (x : G) (y : G)
40
+ refine ⟨n, s ∘ p, by simpa only [Function.comp_apply, h0] using hfix x,
41
+ by simpa only [Function.comp_apply, hn] using hfix y, hlen, ?_⟩
42
+ intro i hi
43
+ change dist (s (p i) : G) (s (p (i + 1)) : G) ≤ _
44
+ calc
45
+ _ ≤ dist (s (p i) : G) (p i) + dist (p i) (p (i + 1)) +
46
+ dist (p (i + 1)) (s (p (i + 1)) : G) := dist_triangle4 _ _ _ _
47
+ _ ≤ R + C.step + R := add_le_add (add_le_add
48
+ ((dist_comm _ _).trans_le (hs _)) (hstep i hi)) (hs _)
49
+ _ = C.step + (R + R) := by ring
50
+
51
+ omit [IsTopologicalGroup G] in
52
+ /-- Inclusion and a bounded section are metric quasi-inverses. -/
53
+ theorem IsUniformLattice.nonempty_metricQuasiEquivalence
54
+ (hΛ : IsUniformLattice Λ) : Nonempty (MetricQuasiEquivalence Λ G) := by
55
+ obtain ⟨r, R, hR, hr, hrlip⟩ := hΛ.exists_metric_section
56
+ refine ⟨{
57
+ toFun := Subtype.val
58
+ invFun := r
59
+ toFun_control := ⟨1, 0, by norm_num, by norm_num, fun x y => by
60
+ change dist (x : G) (y : G) ≤ 1 * dist (x : G) (y : G) + 0
61
+ simp⟩
62
+ invFun_control := ⟨1, R + R, by norm_num, add_nonneg hR hR,
63
+ fun x y => by simpa using hrlip x y⟩
64
+ left_close := ⟨R, hR, fun x => hr x⟩
65
+ right_close := ⟨R, hR, hr⟩ }⟩
66
+
67
+ end PolycyclicRecognition
68
+
69
+ end
70
+
71
+ end OAI
lean/OAI/GroupTheory/PolycyclicRecognition/Lattices/LatticeNormalFlag.lean ADDED
@@ -0,0 +1,98 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import OAI.GroupTheory.PolycyclicRecognition.Finiteness.FreeAbelianDuality
2
+
3
+ namespace OAI
4
+
5
+ /-! # The normal cyclic flag of a lattice quotient -/
6
+
7
+ noncomputable section
8
+ namespace PolycyclicRecognition
9
+ variable {G : Type} [Group G] {r : ℕ} (q : G →* IntegralLatticeGroup r)
10
+
11
+ def latticeNormalFlag (i : ℕ) : Subgroup G where
12
+ carrier := {g | ∀ j : Fin r, i ≤ j.val → (q g).toAdd j = 0}
13
+ one_mem' := by intro j _; rw [q.map_one]; rfl
14
+ mul_mem' := by
15
+ intro a b ha hb j hj
16
+ rw [map_mul]
17
+ change (q a).toAdd j + (q b).toAdd j = 0
18
+ rw [ha j hj, hb j hj, add_zero]
19
+ inv_mem' := by
20
+ intro a ha j hj
21
+ rw [map_inv]
22
+ change -(q a).toAdd j = 0
23
+ rw [ha j hj, neg_zero]
24
+
25
+ instance latticeNormalFlag_normal (i : ℕ) : (latticeNormalFlag q i).Normal where
26
+ conj_mem x hx g := by
27
+ intro j hj
28
+ rw [q.map_mul, q.map_mul, q.map_inv]
29
+ change (q g).toAdd j + (q x).toAdd j + -(q g).toAdd j = 0
30
+ rw [hx j hj]
31
+ abel
32
+
33
+ theorem latticeNormalFlag_mono {i j : ℕ} (hij : i ≤ j) :
34
+ latticeNormalFlag q i ≤ latticeNormalFlag q j :=
35
+ fun _ hx k hk => hx k (hij.trans hk)
36
+
37
+ theorem latticeNormalFlag_zero : latticeNormalFlag q 0 = q.ker := by
38
+ ext g
39
+ constructor
40
+ · intro hg
41
+ change q g = 1
42
+ apply Multiplicative.toAdd.injective
43
+ funext j
44
+ exact hg j (Nat.zero_le _)
45
+ · intro hg j _
46
+ change q g = 1 at hg
47
+ rw [hg]
48
+ rfl
49
+
50
+ theorem latticeNormalFlag_top : latticeNormalFlag q r = ⊤ := by
51
+ apply top_unique
52
+ intro g _ j hj
53
+ exact False.elim (Nat.not_le_of_gt j.isLt hj)
54
+
55
+ def latticeNormalFlagStep (i : Fin r) :
56
+ latticeNormalFlag q (i.val + 1) →* Multiplicative ℤ where
57
+ toFun g := Multiplicative.ofAdd ((q (g : G)).toAdd i)
58
+ map_one' := by change Multiplicative.ofAdd ((q 1).toAdd i) = 1; rw [q.map_one]; rfl
59
+ map_mul' a b := by
60
+ apply Multiplicative.toAdd.injective
61
+ change (q ((a : G) * (b : G))).toAdd i = (q (a : G)).toAdd i + (q (b : G)).toAdd i
62
+ rw [map_mul]
63
+ rfl
64
+
65
+ theorem latticeNormalFlagStep_ker (i : Fin r) :
66
+ (latticeNormalFlagStep q i).ker =
67
+ (latticeNormalFlag q i.val).subgroupOf (latticeNormalFlag q (i.val + 1)) := by
68
+ ext g
69
+ constructor
70
+ · intro hg j hj
71
+ have hh := congrArg Multiplicative.toAdd hg
72
+ change (q (g : G)).toAdd i = 0 at hh
73
+ by_cases hji : j = i
74
+ · subst j; exact hh
75
+ · exact g.property j (by have hne : j.val ≠ i.val := fun h => hji (Fin.ext h); omega)
76
+ · intro hg
77
+ exact congrArg Multiplicative.ofAdd (hg i (le_refl _))
78
+
79
+ theorem latticeNormalFlagStep_generator (hq : Function.Surjective q) (i : Fin r) :
80
+ ∃ t : latticeNormalFlag q (i.val + 1), latticeNormalFlagStep q i t = Multiplicative.ofAdd 1 := by
81
+ classical
82
+ obtain ⟨g, hg⟩ := hq (Multiplicative.ofAdd (Pi.single i 1))
83
+ have hmem : g ∈ latticeNormalFlag q (i.val + 1) := by
84
+ intro j hj
85
+ rw [hg]
86
+ change (Pi.single i 1 : Fin r → ℤ) j = 0
87
+ have hji : j ≠ i := by intro h; subst j; omega
88
+ simp [hji]
89
+ refine ⟨⟨g, hmem⟩, ?_⟩
90
+ change Multiplicative.ofAdd ((q g).toAdd i) = _
91
+ rw [hg]
92
+ simp
93
+
94
+ end PolycyclicRecognition
95
+
96
+ end
97
+
98
+ end OAI
lean/OAI/GroupTheory/PolycyclicRecognition/Lattices/LatticeQuotientDimension.lean ADDED
@@ -0,0 +1,42 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import OAI.GroupTheory.PolycyclicRecognition.Algebra.CyclicQuotientDimension
2
+ import OAI.GroupTheory.PolycyclicRecognition.Analysis.GroupDimensionTransport
3
+ import OAI.GroupTheory.PolycyclicRecognition.Lattices.LatticeKernelTail
4
+
5
+ namespace OAI
6
+
7
+ /-! # Integral dimension through a free abelian quotient -/
8
+
9
+ noncomputable section
10
+ namespace PolycyclicRecognition
11
+ open CategoryTheory
12
+
13
+ theorem cohomologicalDimension_le_of_lattice_quotient (r : ℕ)
14
+ {G : Type} [Group G] (q : G →* IntegralLatticeGroup r)
15
+ (hq : Function.Surjective q) (d : ℕ)
16
+ [HasProjectiveDimensionLE (trivialIntegral q.ker) d] :
17
+ HasProjectiveDimensionLE (trivialIntegral G) (d + r) := by
18
+ induction r generalizing G with
19
+ | zero =>
20
+ have hker : q.ker = ⊤ := by
21
+ ext g
22
+ exact iff_of_true (Subsingleton.elim (q g) 1) (Subgroup.mem_top g)
23
+ let e := (MulEquiv.subgroupCongr hker).trans Subgroup.topEquiv
24
+ simpa only [Nat.add_zero] using cohomologicalDimension_le_of_equiv e d
25
+ | succ r ih =>
26
+ let p := (latticeCoordinate r).comp q
27
+ obtain ⟨t, ht⟩ := hq (latticeCoordinateSection r)
28
+ have hpt : p t = Multiplicative.ofAdd 1 := by
29
+ change latticeCoordinate r (q t) = _
30
+ rw [ht, latticeCoordinate_section]
31
+ let := integerQuotient_isCyclic p t hpt
32
+ let := integerQuotient_infinite p t hpt
33
+ let := cohomologicalDimension_le_of_equiv (latticeKernelTailEquiv q) d
34
+ let := ih (latticeKernelTail q) (latticeKernelTail_surjective q hq)
35
+ simpa only [Nat.add_assoc] using
36
+ cohomologicalDimension_le_of_infiniteCyclicQuotient p.ker (d + r)
37
+
38
+ end PolycyclicRecognition
39
+
40
+ end
41
+
42
+ end OAI
lean/OAI/GroupTheory/PolycyclicRecognition/Lattices/LatticeRealizationFiniteIndex.lean ADDED
@@ -0,0 +1,42 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import OAI.GroupTheory.PolycyclicRecognition.Algebra.NilpotentExtensionRealization
2
+ import OAI.GroupTheory.PolycyclicRecognition.Lattices.NilpotentLatticeInduction
3
+
4
+ namespace OAI
5
+
6
+ /-! # Finite-index transport and integral-quotient realization -/
7
+
8
+ noncomputable section
9
+ namespace PolycyclicRecognition
10
+ variable {G : Type} [Group G]
11
+
12
+ theorem uniform_lattice_realization_of_finiteIndex (H : Subgroup G) [H.FiniteIndex]
13
+ (hH : ∃ K : Subgroup H, K.FiniteIndex ∧ ∃ (S : SimplyConnectedSolvableLieModel)
14
+ (Λ : Subgroup S.carrier), IsUniformLattice Λ ∧ Nonempty (K ≃* Λ)) :
15
+ ∃ K : Subgroup G, K.FiniteIndex ∧ ∃ (S : SimplyConnectedSolvableLieModel)
16
+ (Λ : Subgroup S.carrier), IsUniformLattice Λ ∧ Nonempty (K ≃* Λ) := by
17
+ obtain ⟨K, hK, S, Λ, hΛ, ⟨e⟩⟩ := hH
18
+ have hi : (K.map H.subtype).FiniteIndex := ⟨by
19
+ rw [Subgroup.index_map_subtype]
20
+ exact mul_ne_zero hK.index_ne_zero (Subgroup.FiniteIndex.index_ne_zero (H := H))⟩
21
+ let eK := K.equivMapOfInjective H.subtype H.subtype_injective
22
+ exact ⟨K.map H.subtype, hi, S, Λ, hΛ, ⟨eK.symm.trans e⟩⟩
23
+
24
+ theorem nilpotent_integer_extension_realization {n : ℕ}
25
+ (q : G →* IntegralLatticeGroup n) (hq : Function.Surjective q)
26
+ [Group.FG q.ker] [Group.IsNilpotent q.ker] (ht : HasNoNontrivialTorsion q.ker) :
27
+ ∃ K : Subgroup G, K.FiniteIndex ∧ ∃ (S : SimplyConnectedSolvableLieModel)
28
+ (Λ : Subgroup S.carrier), IsUniformLattice Λ ∧ Nonempty (K ≃* Λ) := by
29
+ let E : GroupExtension q.ker G (IntegralLatticeGroup n) :=
30
+ { inl := q.ker.subtype
31
+ rightHom := q
32
+ inl_injective := Subtype.val_injective
33
+ range_inl_eq_ker_rightHom := Subgroup.range_subtype _
34
+ rightHom_surjective := hq }
35
+ obtain ⟨C⟩ := nilpotent_lattice_coordinates ht
36
+ exact C.extension_realization E (normalizedExtensionSection E) (normalizedExtensionSection_one E)
37
+
38
+ end PolycyclicRecognition
39
+
40
+ end
41
+
42
+ end OAI
lean/OAI/GroupTheory/PolycyclicRecognition/Lattices/LatticeTopLine.lean ADDED
@@ -0,0 +1,93 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import OAI.GroupTheory.PolycyclicRecognition.Lattices.LatticeNormalFlag
2
+ import OAI.GroupTheory.PolycyclicRecognition.Algebra.NormalCyclicTopStep
3
+ import OAI.GroupTheory.PolycyclicRecognition.Finiteness.IntegerExtensionHomologyBound
4
+ import OAI.GroupTheory.PolycyclicRecognition.Algebra.RationalInvariantTopClass
5
+
6
+ namespace OAI
7
+
8
+ /-! # A nonzero top class above a free abelian quotient -/
9
+
10
+ noncomputable section
11
+ namespace PolycyclicRecognition
12
+ open CategoryTheory CategoryTheory.Limits
13
+ attribute [local instance 2000] Rep.hV2 Rep.instLinear ModuleCat.isModule
14
+ variable {G : Type} [Group G] {r : ℕ}
15
+
16
+ theorem invariantTopLine_of_subgroup_eq (N M : Subgroup G) [N.Normal] [M.Normal]
17
+ (h : N = M) (d : ℕ)
18
+ (hN : ∃ A : Rep ℤ G,
19
+ Nonempty (groupHomology (Rep.res N.subtype A) d ≃ₗ[ℤ] ℚ) ∧
20
+ ∀ g, normalHomologyMap ℤ N A d g = 𝟙 _) :
21
+ ∃ A : Rep ℤ G,
22
+ Nonempty (groupHomology (Rep.res M.subtype A) d ≃ₗ[ℤ] ℚ) ∧
23
+ ∀ g, normalHomologyMap ℤ M A d g = 𝟙 _ := by
24
+ subst M
25
+ exact hN
26
+
27
+ theorem exists_latticeTopLine_of_kernelLine
28
+ (q : G →* IntegralLatticeGroup r) (hq : Function.Surjective q) (d : ℕ)
29
+ (hbound : ∀ R : Rep ℤ q.ker, ∀ j, d < j → IsZero (groupHomology R j))
30
+ (A : Rep ℤ G) (eA : groupHomology (Rep.res q.ker.subtype A) d ≃ₗ[ℤ] ℚ)
31
+ (hA : ∀ g, normalHomologyMap ℤ q.ker A d g = 𝟙 _) :
32
+ ∃ B : Rep ℤ G, Nonempty (groupHomology B (d + r) ≃ₗ[ℤ] ℚ) := by
33
+ have H : ∀ i, i ≤ r →
34
+ (∀ R : Rep ℤ (latticeNormalFlag q i), ∀ j, d + i < j → IsZero (groupHomology R j)) ∧
35
+ ∃ B : Rep ℤ G,
36
+ Nonempty (groupHomology (Rep.res (latticeNormalFlag q i).subtype B) (d + i) ≃ₗ[ℤ] ℚ) ∧
37
+ ∀ g, normalHomologyMap ℤ (latticeNormalFlag q i) B (d + i) g = 𝟙 _ := by
38
+ intro i
39
+ induction i with
40
+ | zero =>
41
+ intro _
42
+ let e := MulEquiv.subgroupCongr (latticeNormalFlag_zero q).symm
43
+ exact ⟨homology_bound_of_equiv e d hbound,
44
+ invariantTopLine_of_subgroup_eq q.ker (latticeNormalFlag q 0)
45
+ (latticeNormalFlag_zero q).symm d ⟨A, ⟨eA⟩, hA⟩⟩
46
+
47
+ | succ i ih =>
48
+ intro hi
49
+ obtain ⟨hb, B, ⟨eB⟩, hB⟩ := ih (by omega)
50
+ let j : Fin r := ⟨i, by omega⟩
51
+ let p := latticeNormalFlagStep q j
52
+ obtain ⟨t, ht⟩ := latticeNormalFlagStep_generator q hq j
53
+ have hker : p.ker = (latticeNormalFlag q i).subgroupOf (latticeNormalFlag q (i + 1)) :=
54
+ latticeNormalFlagStep_ker q j
55
+ have hle : latticeNormalFlag q i ≤ latticeNormalFlag q (i + 1) :=
56
+ latticeNormalFlag_mono q (Nat.le_succ i)
57
+ let e : p.ker ≃* latticeNormalFlag q i :=
58
+ (MulEquiv.subgroupCongr hker).trans (Subgroup.subgroupOfEquivOfLe hle)
59
+ have hbker := homology_bound_of_equiv e.symm (d + i) hb
60
+ have hbnext := homology_bound_of_integer_quotient p t ht (d + i) hbker
61
+ have hnext := exists_normalCyclicTopStep (latticeNormalFlag q i)
62
+ (latticeNormalFlag q (i + 1)) hle p t ht hker (d + i) hb B eB hB
63
+ have hdim : d + i + 1 = d + (i + 1) := Nat.add_assoc d i 1
64
+ rw [hdim] at hbnext hnext
65
+ exact ⟨hbnext, hnext⟩
66
+ obtain ⟨_, B, ⟨eB⟩, _⟩ := H r (le_refl r)
67
+ have eTop : groupHomology (Rep.res (⊤ : Subgroup G).subtype B) (d + r) ≃ₗ[ℤ] ℚ := by
68
+ rw [latticeNormalFlag_top] at eB
69
+ exact eB
70
+ let E := groupHomology.mapIso (A := Rep.res (⊤ : Subgroup G).subtype B) (B := B)
71
+ Subgroup.topEquiv (LinearEquiv.refl ℤ B.V) (by intro g; rfl) (d + r)
72
+ exact ⟨B, ⟨E.symm.toLinearEquiv.trans eTop⟩⟩
73
+
74
+ theorem exists_latticeTopLine
75
+ (q : G →* IntegralLatticeGroup r) (hq : Function.Surjective q) (d : ℕ)
76
+ (hbound : ∀ A : Rep ℤ q.ker, ∀ j, d < j → IsZero (groupHomology A j))
77
+ (R : Rep ℤ q.ker) (eR : R.V ≃ₗ[ℤ] ℤ)
78
+ (x : groupHomology R d) (hx : x ≠ 0)
79
+ (htor : ∀ (a : ℤ) (y : groupHomology R d), a • y = 0 → a = 0 ∨ y = 0)
80
+ (hcomm : ∀ y z : groupHomology R d, y ≠ 0 → z ≠ 0 →
81
+ ∃ a b : ℤ, a ≠ 0 ∧ b ≠ 0 ∧ a • y = b • z)
82
+ (hdetect : ∀ A : Rep ℤ q.ker, Nonempty (A.V ≃ₗ[ℤ] ℤ) →
83
+ (∃ y : groupHomology A d, y ≠ 0) → Nonempty (R ≅ A)) :
84
+ ∃ B : Rep ℤ G, Nonempty (groupHomology B (d + r) ≃ₗ[ℤ] ℚ) := by
85
+ obtain ⟨χ, _, hχ, _, hact⟩ := exists_rationalInvariantTopClass q.ker R eR d x hx htor hcomm hdetect
86
+ obtain ⟨eA⟩ := rationalOrientation_topLine q.ker R eR d χ hχ x hx htor hcomm
87
+ exact exists_latticeTopLine_of_kernelLine q hq d hbound (rationalCharacterRep χ) eA hact
88
+
89
+ end PolycyclicRecognition
90
+
91
+ end
92
+
93
+ end OAI
lean/OAI/GroupTheory/PolycyclicRecognition/Lattices/LatticeWordExtension.lean ADDED
@@ -0,0 +1,91 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import OAI.GroupTheory.PolycyclicRecognition.Algebra.PolynomialModelWords
2
+ import OAI.GroupTheory.PolycyclicRecognition.Algebra.PolynomialParameterExtension
3
+
4
+ namespace OAI
5
+
6
+ /-! # Extending lattice automorphisms through ordered polynomial coordinates
7
+
8
+ The extension is constructed by replacing each integral generator power by
9
+ the corresponding real one-parameter subgroup. Polynomial identities prove
10
+ both multiplicativity and the inverse identities.
11
+ -/
12
+
13
+ noncomputable section
14
+ namespace PolycyclicRecognition
15
+ open Module
16
+ open scoped Manifold ContDiff
17
+ variable {L H : Type*} [RealNormedLieAlgebra L] [FiniteDimensional ℝ L]
18
+ [P : PolynomialExponentialCoordinates L] [Group H] {d : ℕ}
19
+ (b : Basis (Fin d) ℝ L) (p : L ≃ L) (e : H →* L) (X : Fin d → H)
20
+
21
+ def latticeWordMap (a : H →* H) : L → L :=
22
+ fun x => orderedRealWord b (fun i => e (a (X i))) (p.symm x)
23
+
24
+ theorem latticeWordMap_polynomial (hq : IsPolynomialInBasis b b p.symm) (a : H →* H) :
25
+ IsPolynomialInBasis b b (latticeWordMap b p e X a) :=
26
+ (orderedRealWord_polynomial b _).comp hq
27
+
28
+ theorem latticeWordMap_on_lattice
29
+ (hparam : ∀ z : Fin d → ℤ,
30
+ p (b.equivFun.symm (fun i => (z i : ℝ))) = e (orderedWord X z))
31
+ (hX : Function.Surjective (orderedWord X)) (a : H →* H) (x : H) :
32
+ latticeWordMap b p e X a (e x) = e (a x) := by
33
+ obtain ⟨z, rfl⟩ := hX x
34
+ rw [← hparam z]
35
+ change orderedRealWord b (fun i => e (a (X i)))
36
+ (p.symm (p (b.equivFun.symm (fun i => (z i : ℝ))))) = _
37
+ rw [p.symm_apply_apply, orderedRealWord_integer]
38
+ exact orderedWord_map (e.comp a) X z
39
+
40
+ def latticeWordAut (hp : IsPolynomialInBasis b b p) (hq : IsPolynomialInBasis b b p.symm)
41
+ (hparam : ∀ z : Fin d → ℤ,
42
+ p (b.equivFun.symm (fun i => (z i : ℝ))) = e (orderedWord X z))
43
+ (hX : Function.Surjective (orderedWord X)) (a : MulAut H) : MulAut L := by
44
+ let f := latticeWordMap b p e X a.toMonoidHom
45
+ let g := latticeWordMap b p e X a.symm.toMonoidHom
46
+ have hf := latticeWordMap_polynomial b p e X hq a.toMonoidHom
47
+ have hg := latticeWordMap_polynomial b p e X hq a.symm.toMonoidHom
48
+ have hF (x : H) : f (e x) = e (a x) :=
49
+ latticeWordMap_on_lattice b p e X hparam hX a.toMonoidHom x
50
+ have hG (x : H) : g (e x) = e (a.symm x) :=
51
+ latticeWordMap_on_lattice b p e X hparam hX a.symm.toMonoidHom x
52
+ refine polynomialGroupEquivFromParameter b hf hg hp p.surjective ?_ ?_ ?_
53
+ · intro z w
54
+ rw [hparam z, hparam w]
55
+ calc
56
+ f (e (orderedWord X z) * e (orderedWord X w)) =
57
+ e (a (orderedWord X z * orderedWord X w)) := by rw [← map_mul, hF]
58
+ _ = e (a (orderedWord X z)) * e (a (orderedWord X w)) := by rw [map_mul, map_mul]
59
+ _ = f (e (orderedWord X z)) * f (e (orderedWord X w)) := by rw [hF, hF]
60
+ · intro z
61
+ change g (f (p (b.equivFun.symm (fun i => (z i : ℝ))))) =
62
+ p (b.equivFun.symm (fun i => (z i : ℝ)))
63
+ rw [hparam z, hF, hG, a.symm_apply_apply]
64
+ · intro z
65
+ change f (g (p (b.equivFun.symm (fun i => (z i : ℝ))))) =
66
+ p (b.equivFun.symm (fun i => (z i : ℝ)))
67
+ rw [hparam z, hG, hF, a.apply_symm_apply]
68
+
69
+ theorem latticeWordAut_on_lattice (hp : IsPolynomialInBasis b b p)
70
+ (hq : IsPolynomialInBasis b b p.symm)
71
+ (hparam : ∀ z : Fin d → ℤ,
72
+ p (b.equivFun.symm (fun i => (z i : ℝ))) = e (orderedWord X z))
73
+ (hX : Function.Surjective (orderedWord X)) (a : MulAut H) (x : H) :
74
+ latticeWordAut b p e X hp hq hparam hX a (e x) = e (a x) :=
75
+ latticeWordMap_on_lattice b p e X hparam hX a.toMonoidHom x
76
+
77
+ theorem contMDiff_latticeWordAut (hp : IsPolynomialInBasis b b p)
78
+ (hq : IsPolynomialInBasis b b p.symm)
79
+ (hparam : ∀ z : Fin d → ℤ,
80
+ p (b.equivFun.symm (fun i => (z i : ℝ))) = e (orderedWord X z))
81
+ (hX : Function.Surjective (orderedWord X)) (a : MulAut H) :
82
+ ContMDiff (𝓘(ℝ, L)) (𝓘(ℝ, L)) ∞ (latticeWordAut b p e X hp hq hparam hX a) := by
83
+ have h : ContDiff ℝ ∞ (latticeWordMap b p e X a.toMonoidHom) :=
84
+ (latticeWordMap_polynomial b p e X hq a.toMonoidHom).contDiff.of_le le_top
85
+ exact h.contMDiff
86
+
87
+ end PolycyclicRecognition
88
+
89
+ end
90
+
91
+ end OAI
lean/OAI/GroupTheory/PolycyclicRecognition/Lattices/NilpotentCyclicFiniteIndexLattice.lean ADDED
@@ -0,0 +1,30 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import OAI.GroupTheory.PolycyclicRecognition.Lattices.NilpotentLatticeDerivationLog
2
+ import OAI.GroupTheory.PolycyclicRecognition.Geometry.RealLieAutomorphismPowerLog
3
+
4
+ namespace OAI
5
+
6
+ /-! # Cyclic extensions of the constructed nilpotent lattice model -/
7
+
8
+ noncomputable section
9
+ namespace PolycyclicRecognition.NilpotentLatticeCoordinates
10
+ variable {H : Type} [Group H] (C : NilpotentLatticeCoordinates H)
11
+ include C
12
+
13
+ theorem cyclic_finiteIndex_lattice (a : MulAut H) :
14
+ ∃ Γ : Subgroup (H ⋊[integerPowerAction a] Multiplicative ℤ), Γ.FiniteIndex ∧
15
+ ∃ (S : SimplyConnectedSolvableLieModel) (Λ : Subgroup S.carrier),
16
+ IsUniformLattice Λ ∧ Nonempty (Γ ≃* Λ) := by
17
+ obtain ⟨m, hm, D, hD⟩ := real_lie_automorphism_has_power_log (C.automorphismLieEquiv a)
18
+ apply C.cyclic_finiteIndex_lattice_of_derivation_log a hm D
19
+ apply ContinuousLinearMap.ext
20
+ intro x
21
+ have h := congrArg (fun T : Module.End ℝ C.carrier => T x) hD
22
+ change _ = (C.automorphismLinear (a ^ m)) x
23
+ rw [map_pow]
24
+ exact h
25
+
26
+ end PolycyclicRecognition.NilpotentLatticeCoordinates
27
+
28
+ end
29
+
30
+ end OAI