roseking commited on
Commit
4933cf7
·
verified ·
1 Parent(s): 5e445a7

Sync missing files (lean, preprints, history.md); remove stale build artifacts (part 13)

Browse files
This view is limited to 50 files because it contains too many changes.   See raw diff
Files changed (50) hide show
  1. .gitattributes +21 -0
  2. lean/OAI/Topology/ArtinGroups/ParabolicIntersections/ConnectedSupport.lean +153 -0
  3. lean/OAI/Topology/ArtinGroups/ParabolicIntersections/Consequences.lean +153 -0
  4. lean/OAI/Topology/ArtinGroups/ParabolicIntersections/CosetContainment.lean +89 -0
  5. lean/OAI/Topology/ArtinGroups/ParabolicIntersections/CoxeterChainMinimum.lean +85 -0
  6. lean/OAI/Topology/ArtinGroups/ParabolicIntersections/CoxeterChainRoots.lean +104 -0
  7. lean/OAI/Topology/ArtinGroups/ParabolicIntersections/CoxeterProjectionSupport.lean +77 -0
  8. lean/OAI/Topology/ArtinGroups/ParabolicIntersections/DynamicsDefinitions.lean +91 -0
  9. lean/OAI/Topology/ArtinGroups/ParabolicIntersections/DynamicsEquivalence.lean +43 -0
  10. lean/OAI/Topology/ArtinGroups/ParabolicIntersections/DynamicsMain.lean +44 -0
  11. lean/OAI/Topology/ArtinGroups/ParabolicIntersections/DynamicsUnconditional.lean +32 -0
  12. lean/OAI/Topology/ArtinGroups/ParabolicIntersections/EmptyPlacement.lean +65 -0
  13. lean/OAI/Topology/ArtinGroups/ParabolicIntersections/FixedFactor.lean +84 -0
  14. lean/OAI/Topology/ArtinGroups/ParabolicIntersections/FoldingGcd.lean +58 -0
  15. lean/OAI/Topology/ArtinGroups/ParabolicIntersections/FoldingGcdInput.lean +57 -0
  16. lean/OAI/Topology/ArtinGroups/ParabolicIntersections/FoldingHead.lean +103 -0
  17. lean/OAI/Topology/ArtinGroups/ParabolicIntersections/FoldingPositive.lean +88 -0
  18. lean/OAI/Topology/ArtinGroups/ParabolicIntersections/FoldingSimpleGcd.lean +93 -0
  19. lean/OAI/Topology/ArtinGroups/ParabolicIntersections/GeneratorPowers.lean +129 -0
  20. lean/OAI/Topology/ArtinGroups/ParabolicIntersections/GraphMetric.lean +45 -0
  21. lean/OAI/Topology/ArtinGroups/ParabolicIntersections/GraphRealizationAction.lean +114 -0
  22. lean/OAI/Topology/ArtinGroups/ParabolicIntersections/GraphRealizationAcylindrical.lean +59 -0
  23. lean/OAI/Topology/ArtinGroups/ParabolicIntersections/GraphRealizationDistance.lean +182 -0
  24. lean/OAI/Topology/ArtinGroups/ParabolicIntersections/GraphRealizationGeodesic.lean +82 -0
  25. lean/OAI/Topology/ArtinGroups/ParabolicIntersections/GraphRealizationHyperbolic.lean +54 -0
  26. lean/OAI/Topology/ArtinGroups/ParabolicIntersections/GraphRealizationSpace.lean +87 -0
  27. lean/OAI/Topology/ArtinGroups/ParabolicIntersections/GraphWalkLevels.lean +26 -0
  28. lean/OAI/Topology/ArtinGroups/ParabolicIntersections/IncomingSpanning.lean +85 -0
  29. lean/OAI/Topology/ArtinGroups/ParabolicIntersections/InitialMinimum.lean +111 -0
  30. lean/OAI/Topology/ArtinGroups/ParabolicIntersections/LayerErasure.lean +61 -0
  31. lean/OAI/Topology/ArtinGroups/ParabolicIntersections/Main.lean +11 -0
  32. lean/OAI/Topology/ArtinGroups/ParabolicIntersections/MainIntersection.lean +150 -0
  33. lean/OAI/Topology/ArtinGroups/ParabolicIntersections/MeshAdjacent.lean +88 -0
  34. lean/OAI/Topology/ArtinGroups/ParabolicIntersections/MeshContraction.lean +74 -0
  35. lean/OAI/Topology/ArtinGroups/ParabolicIntersections/MeshGraphNilpotence.lean +124 -0
  36. lean/OAI/Topology/ArtinGroups/ParabolicIntersections/MeshGraphWeights.lean +77 -0
  37. lean/OAI/Topology/ArtinGroups/ParabolicIntersections/MeshInsertionMatrix.lean +46 -0
  38. lean/OAI/Topology/ArtinGroups/ParabolicIntersections/MeshMain.lean +50 -0
  39. lean/OAI/Topology/ArtinGroups/ParabolicIntersections/MeshMatrixAction.lean +80 -0
  40. lean/OAI/Topology/ArtinGroups/ParabolicIntersections/MeshNaturality.lean +132 -0
  41. lean/OAI/Topology/ArtinGroups/ParabolicIntersections/MeshNilpotence.lean +84 -0
  42. lean/OAI/Topology/ArtinGroups/ParabolicIntersections/MeshNormalization.lean +90 -0
  43. lean/OAI/Topology/ArtinGroups/ParabolicIntersections/MeshPathEvaluation.lean +115 -0
  44. lean/OAI/Topology/ArtinGroups/ParabolicIntersections/MeshPathSpaces.lean +57 -0
  45. lean/OAI/Topology/ArtinGroups/ParabolicIntersections/MeshPerron.lean +63 -0
  46. lean/OAI/Topology/ArtinGroups/ParabolicIntersections/MeshProjection.lean +167 -0
  47. lean/OAI/Topology/ArtinGroups/ParabolicIntersections/MeshProjectionAlgebra.lean +93 -0
  48. lean/OAI/Topology/ArtinGroups/ParabolicIntersections/MeshProjectionCutoff.lean +109 -0
  49. lean/OAI/Topology/ArtinGroups/ParabolicIntersections/MeshProjectionInduction.lean +106 -0
  50. lean/OAI/Topology/ArtinGroups/ParabolicIntersections/MeshQuantum.lean +129 -0
.gitattributes CHANGED
@@ -790,3 +790,24 @@ preprints/Weighted-Dilation-Graphs-Smooth-Shifted-Primes-and-Totient-Fibers-Sept
790
  preprints/Weil-classes-and-Hodge-classes-on-abelian-powers-September-30-2026/paper.pdf filter=lfs diff=lfs merge=lfs -text
791
  preprints/Witnessed-symmetric-choice-is-strictly-stronger-than-choiceless-polynomial-time-with-counting-September-24-2026/paper.pdf filter=lfs diff=lfs merge=lfs -text
792
  preprints/Zero-Plane-Rigidity-for-Einstein-Four-Manifolds-October-4-2026/einstein-boundary.pdf filter=lfs diff=lfs merge=lfs -text
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
790
  preprints/Weil-classes-and-Hodge-classes-on-abelian-powers-September-30-2026/paper.pdf filter=lfs diff=lfs merge=lfs -text
791
  preprints/Witnessed-symmetric-choice-is-strictly-stronger-than-choiceless-polynomial-time-with-counting-September-24-2026/paper.pdf filter=lfs diff=lfs merge=lfs -text
792
  preprints/Zero-Plane-Rigidity-for-Einstein-Four-Manifolds-October-4-2026/einstein-boundary.pdf filter=lfs diff=lfs merge=lfs -text
793
+ preprints/A-pointwise-2-converse-for-elliptic-curves-with-rational-two-torsion-October-7-2026/paper.pdf filter=lfs diff=lfs merge=lfs -text
794
+ preprints/Abelian-covers-Gale-correspondences-and-the-Hodge-conjecture-for-powers-October-6-2026/paper.pdf filter=lfs diff=lfs merge=lfs -text
795
+ preprints/Conditional-good-minimal-models-for-compact-Kahler-fourfolds-October-6-2026/paper.pdf filter=lfs diff=lfs merge=lfs -text
796
+ preprints/Deforming-hypersymplectic-four-manifolds-to-hyperkahler-triples-October-7-2026/paper.pdf filter=lfs diff=lfs merge=lfs -text
797
+ preprints/Exact-Birch-Swinnerton-Dyer-Formula-from-Low-Selmer-Corank-October-7-2026/exact-bsd-low-selmer-corank.pdf filter=lfs diff=lfs merge=lfs -text
798
+ preprints/Finite-ordinary-minimal-model-programs-on-compact-Kahler-fourfolds-October-6-2026/paper.pdf filter=lfs diff=lfs merge=lfs -text
799
+ preprints/Fontaine-Mazur-modularity-at-the-prime-2-October-6-2026/paper.pdf filter=lfs diff=lfs merge=lfs -text
800
+ preprints/Gaussian-free-field-limits-of-weighted-integer-Lipschitz-heights-October-6-2026/paper.pdf filter=lfs diff=lfs merge=lfs -text
801
+ preprints/Goldfelds-analytic-density-conjecture-and-the-2-converse-for-elliptic-curves-October-7-2026/paper.pdf filter=lfs diff=lfs merge=lfs -text
802
+ preprints/Hilberts-tenth-problem-over-the-rational-numbers-October-6-2026/main.pdf filter=lfs diff=lfs merge=lfs -text
803
+ preprints/Incompressible-Box-Transport-and-Finite-Computation-October-6-2026/manuscript.pdf filter=lfs diff=lfs merge=lfs -text
804
+ preprints/Log-abundance-for-compact-Kahler-spaces-under-logarithmic-Iitaka-subadditivity-October-6-2026/main.pdf filter=lfs diff=lfs merge=lfs -text
805
+ preprints/Milnes-rationality-conjecture-for-abelian-varieties-October-7-2026/paper.pdf filter=lfs diff=lfs merge=lfs -text
806
+ preprints/Numerical-semiampleness-of-nef-adjoint-classes-on-compact-Kahler-manifolds-October-6-2026/numerical-generalized-abundance.pdf filter=lfs diff=lfs merge=lfs -text
807
+ preprints/Taming-implies-compatibility-on-four-manifolds-October-6-2026/paper.pdf filter=lfs diff=lfs merge=lfs -text
808
+ preprints/Termination-of-generalized-canonical-flips-on-compact-Kahler-fourfolds-October-6-2026/termination-generalized-terminal-flips-compact-kahler-fourfolds.pdf filter=lfs diff=lfs merge=lfs -text
809
+ preprints/Termination-of-generalized-log-canonical-flips-on-compact-Kahler-fourfolds-October-7-2026/termination-generalized-lc-kahler-fourfolds.pdf filter=lfs diff=lfs merge=lfs -text
810
+ preprints/The-Gaussian-free-field-limit-of-integer-Lipschitz-heights-with-two-arc-boundary-data-October-6-2026/paper.pdf filter=lfs diff=lfs merge=lfs -text
811
+ preprints/The-joint-scaling-limit-of-critical-Ashkin-Teller-currents-October-6-2026/main.pdf filter=lfs diff=lfs merge=lfs -text
812
+ preprints/The-mean-analytic-rank-of-quadratic-twists-of-elliptic-curves-October-6-2026/paper.pdf filter=lfs diff=lfs merge=lfs -text
813
+ preprints/The-p-adic-section-conjecture-October-6-2026/main.pdf filter=lfs diff=lfs merge=lfs -text
lean/OAI/Topology/ArtinGroups/ParabolicIntersections/ConnectedSupport.lean ADDED
@@ -0,0 +1,153 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import OAI.Topology.ArtinGroups.Complexes.BlockClosed
2
+ import OAI.Topology.ArtinGroups.Complexes.HomDetector
3
+ import OAI.Topology.ArtinGroups.Complexes.DiagonalVertex
4
+ import OAI.Topology.ArtinGroups.Complexes.ColorBoundary
5
+ import OAI.Topology.ArtinGroups.Harmonic.FusionOrbitModel
6
+
7
+ namespace OAI
8
+
9
+ /-!
10
+ # Connected support of transported indecomposable projectives
11
+
12
+ This proves the support-cut form of the connectedness assertion in
13
+ Proposition 2.7 of paper 082-03. The input is the dimension of the actual
14
+ endomorphism cohomology, rather than an assumed connectedness property.
15
+ -/
16
+
17
+ namespace HarmonicArtin.ParabolicIntersections
18
+
19
+ open ReversibleQuiver ReversibleQuiver.Zigzag ReversibleQuiver.Zigzag.BasedComplex
20
+
21
+ attribute [local instance] Classical.decEq Classical.propDecidable
22
+
23
+ variable {V A K : Type*} (Q : ReversibleQuiver V A) [Field K]
24
+ [Fintype V] [Fintype A] [DecidableEq V] [DecidableEq A]
25
+ {I : Type*} [Fintype I] [DecidableEq I]
26
+
27
+ private noncomputable def blockProjector (E : BasedComplex Q (K := K) I) (T : Set I)
28
+ (hT : BlockClosed Q E T) : Map Q E E :=
29
+ (blockProjectionMap Q E T hT).comp Q (blockInclusionMap Q E T hT)
30
+
31
+ omit [Fintype V] [DecidableEq A] in
32
+ private theorem blockProjector_diagonal (E : BasedComplex Q (K := K) I)
33
+ (T : Set I) (hT : BlockClosed Q E T) (i : I) :
34
+ diagonalVertex Q E i (blockProjector Q E T hT).matrix = if i ∈ T then 1 else 0 := by
35
+ change ((blockProjection Q E T * blockInclusion Q E T) i i).vertex _ = _
36
+ by_cases hi : i ∈ T
37
+ · rw [Matrix.mul_apply, Finset.sum_eq_single (⟨i, hi⟩ : T)]
38
+ · simp [blockProjection, blockInclusion, projectiveIdentity, hi, vertexId_mul_self]
39
+ · intro j _ hji
40
+ have hne : i ≠ (j : I) := fun he => hji (Subtype.ext he.symm)
41
+ simp [blockProjection, projectiveIdentity, hne]
42
+ · simp
43
+ · have hz : (blockProjection Q E T * blockInclusion Q E T) i i = 0 := by
44
+ apply Finset.sum_eq_zero
45
+ intro j _
46
+ have hne : i ≠ (j : I) := fun he => hi (he.symm ▸ j.property)
47
+ simp [blockProjection, projectiveIdentity, hne]
48
+ simp [hz, hi]
49
+
50
+ omit [DecidableEq A] in
51
+ /-- A minimal complex with at most one-dimensional degree-zero
52
+ endomorphism cohomology cannot have two nonempty differential blocks. -/
53
+ theorem no_proper_block (E : BasedComplex Q (K := K) I) (hE : E.IsMinimal Q)
54
+ (hd : homDimension Q E E 0 0 ≤ 1) (T : Set I) (hT : BlockClosed Q E T)
55
+ (i j : I) (hi : i ∈ T) (hj : j ∉ T) : False := by
56
+ have hf := map_mem_homCycles Q (blockProjector Q E T hT)
57
+ have hb := boundary_of_homDimension_le_one Q E E 0 0 hd
58
+ (diagonalVertex Q E j) (fun _ h => diagonalVertex_boundary Q E hE j 0 0 h)
59
+ (identity_mem_homCycles Q E) (by rw [diagonalVertex_identity]; exact one_ne_zero)
60
+ hf (by rw [blockProjector_diagonal]; simp [hj])
61
+ have hz := diagonalVertex_boundary Q E hE i 0 0 hb
62
+ have he : diagonalVertex Q E i (blockProjector Q E T hT).matrix = 1 := by
63
+ rw [blockProjector_diagonal]
64
+ simp only [hi, ↓reduceIte]
65
+ rw [he] at hz
66
+ exact one_ne_zero hz
67
+
68
+ omit [Fintype V] [DecidableEq A] [DecidableEq I] in
69
+ /-- Nonzero minimal differential entries either stay at one color or
70
+ follow an arrow of the quiver. This includes the token entries between
71
+ successive layers. -/
72
+ theorem differential_same_or_arrow (E : BasedComplex Q (K := K) I)
73
+ (hE : E.IsMinimal Q) (i j : I) (hn : E.differential i j ≠ 0) :
74
+ (E.placement i).color = (E.placement j).color ∨
75
+ ∃ a : A, Q.source a = (E.placement i).color ∧
76
+ Q.target a = (E.placement j).color := by
77
+ by_cases hc : (E.placement i).color = (E.placement j).color
78
+ · exact Or.inl hc
79
+ right
80
+ by_contra ha
81
+ push Not at ha
82
+ apply hn
83
+ apply ReversibleQuiver.Zigzag.ext
84
+ · exact hE i j
85
+ · funext a
86
+ by_contra hnz
87
+ have hh := coordinates_corner Q (E.entries.1 i j) (E.entries.2 i j)
88
+ (p := .inr (.inl a)) hnz
89
+ exact ha a hh.1 hh.2
90
+ · funext v
91
+ by_contra hnz
92
+ have hh := coordinates_corner Q (E.entries.1 i j) (E.entries.2 i j)
93
+ (p := .inr (.inr v)) hnz
94
+ exact hc (hh.1.symm.trans hh.2)
95
+
96
+ omit [DecidableEq A] in
97
+ /-- If the support meets both a color set and its complement, it must
98
+ meet the exterior boundary of that set. This is the exact support fact
99
+ needed to find a boundary level below an isolated null layer. -/
100
+ theorem support_meets_boundary (E : BasedComplex Q (K := K) I) (hE : E.IsMinimal Q)
101
+ (hd : homDimension Q E E 0 0 ≤ 1) (U : Set V)
102
+ (i j : I) (hi : (E.placement i).color ∈ U) (hj : (E.placement j).color ∉ U) :
103
+ ∃ k : I, (E.placement k).color ∈ colorBoundary Q U := by
104
+ by_contra hb
105
+ push Not at hb
106
+ apply no_proper_block Q E hE hd {k | (E.placement k).color ∈ U} _ i j hi hj
107
+ intro a b hn
108
+ rcases differential_same_or_arrow Q E hE a b hn with he | ⟨c, hs, ht⟩
109
+ · change (E.placement a).color ∈ U ↔ (E.placement b).color ∈ U
110
+ rw [he]
111
+ · constructor
112
+ · intro ha
113
+ by_contra hnb
114
+ exact hb b ⟨hnb, c, hs ▸ ha, ht⟩
115
+ · intro hbb
116
+ change (E.placement b).color ∈ U at hbb
117
+ by_contra hna
118
+ exact hb a ⟨hna, Q.reverse c,
119
+ by simpa only [Q.source_reverse, ht] using hbb,
120
+ by simpa only [Q.target_reverse] using hs⟩
121
+
122
+ section Fusion
123
+
124
+ variable {E W : Type} [Fintype E] [DecidableEq E] [Fintype W] [DecidableEq W]
125
+ (m : E → ℕ) (d : W → W → FusionEdge E) (hd : ∀ s t, d s t = d t s)
126
+ (hdiag : ∀ s, d s s = .units 0)
127
+
128
+ /-- The preceding support statement applies unconditionally to the
129
+ minimal representative of every transported projective in the fusion
130
+ packet action. -/
131
+ theorem fusionOrbit_support_meets_boundary (w : List (W × Bool)) (s : W)
132
+ (L : FusionLabel m) (U : Set (FusionVertex (V := W) m))
133
+ (i j : (fusionOrbitModel m d hd hdiag w s L).Index)
134
+ (hi : ((fusionOrbitModel m d hd hdiag w s L).complex.placement i).color ∈ U)
135
+ (hj : ((fusionOrbitModel m d hd hdiag w s L).complex.placement j).color ∉ U) :
136
+ ∃ k : (fusionOrbitModel m d hd hdiag w s L).Index,
137
+ ((fusionOrbitModel m d hd hdiag w s L).complex.placement k).color ∈
138
+ colorBoundary (fusionQuiver m d hd) U := by
139
+ apply support_meets_boundary (fusionQuiver m d hd) _
140
+ (fusionOrbitModel_minimal m d hd hdiag w s L) _ U i j hi hj
141
+ change homDimension (fusionQuiver m d hd)
142
+ (minimalClassModel (fusionQuiver m d hd) (fusionPacketOrbit m d hd hdiag w s L)).complex
143
+ (minimalClassModel (fusionQuiver m d hd) (fusionPacketOrbit m d hd hdiag w s L)).complex
144
+ 0 0 ≤ 1
145
+ rw [minimalClassModel_homDimension, fusionOrbit_homDimension]
146
+ exact initial_homDimension_le_one (fusionQuiver m d hd)
147
+ (fusionQuiver_no_loops m d hd hdiag) (s, L) 0 0
148
+
149
+ end Fusion
150
+
151
+ end HarmonicArtin.ParabolicIntersections
152
+
153
+ end OAI
lean/OAI/Topology/ArtinGroups/ParabolicIntersections/Consequences.lean ADDED
@@ -0,0 +1,153 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import OAI.Topology.ArtinGroups.ParabolicIntersections.Basic
2
+
3
+ namespace OAI
4
+
5
+ /-!
6
+ # Consequences of the inside-parabolic intersection theorem
7
+
8
+ These are the deductions in the introduction of paper 082-03. The premise
9
+ `InsideIntersectionProperty` is a **new result of that paper**, not a
10
+ published input and not an established instance. These deductions alone
11
+ do not constitute a formalization of its main intersection theorem.
12
+ -/
13
+
14
+ namespace HarmonicArtin.ParabolicIntersections
15
+
16
+ variable {S : Type*} (M : CoxeterMatrix S)
17
+
18
+ /-- The inside-parabolic conclusion of §8. Its proof, for arbitrary
19
+ Artin matrices, must come from the relative stabilizer argument. -/
20
+ def InsideIntersectionProperty : Prop :=
21
+ ∀ (X Y : Set S) (g : Artin M), ∃ (Z : Set S) (c : Artin M),
22
+ Z ⊆ Y ∧ c ∈ artinParabolic M Y ∧
23
+ artinParabolic M Y ⊓ conjugate g (artinParabolic M X) =
24
+ conjugate c (artinParabolic M Z)
25
+
26
+ theorem inside_conjugate (h : InsideIntersectionProperty M)
27
+ (Y : Set S) (g : Artin M) {P : Subgroup (Artin M)} (hP : IsParabolic M P) :
28
+ ∃ (Z : Set S) (c : Artin M), Z ⊆ Y ∧ c ∈ artinParabolic M Y ∧
29
+ conjugate g (artinParabolic M Y) ⊓ P =
30
+ conjugate (g * c) (artinParabolic M Z) := by
31
+ obtain ⟨X, a, rfl⟩ := hP
32
+ obtain ⟨Z, c, hZ, hc, he⟩ := h X Y (g⁻¹ * a)
33
+ refine ⟨Z, c, hZ, hc, ?_⟩
34
+ have hh := congrArg (conjugate g) he
35
+ rw [conjugate_inf, ← conjugate_mul, ← conjugate_mul] at hh
36
+ simpa only [mul_inv_cancel_left] using hh
37
+
38
+ /-- The exact pairwise statement of Theorem 1.1, deduced from its stronger
39
+ inside-parabolic form. The hypothesis still needs to be proved. -/
40
+ theorem pairwise_of_inside (h : InsideIntersectionProperty M)
41
+ (X Y : Set S) (g a : Artin M) :
42
+ ∃ (Z : Set S) (k : Artin M),
43
+ conjugate g (artinParabolic M X) ⊓ conjugate a (artinParabolic M Y) =
44
+ conjugate k (artinParabolic M Z) := by
45
+ obtain ⟨Z, c, _, _, he⟩ := inside_conjugate M h X g
46
+ (show IsParabolic M (conjugate a (artinParabolic M Y)) from ⟨Y, a, rfl⟩)
47
+ exact ⟨Z, g * c, he⟩
48
+
49
+ theorem isParabolic_inf (h : InsideIntersectionProperty M)
50
+ {P Q : Subgroup (Artin M)} (hP : IsParabolic M P) (hQ : IsParabolic M Q) :
51
+ IsParabolic M (P ⊓ Q) := by
52
+ obtain ⟨X, g, rfl⟩ := hP
53
+ obtain ⟨Y, a, rfl⟩ := hQ
54
+ exact pairwise_of_inside M h X Y g a
55
+
56
+ private theorem insert_intersection {G : Type*} [Group G]
57
+ [DecidableEq (Subgroup G)]
58
+ (P : Subgroup G) (F : Finset (Subgroup G)) :
59
+ sInf (↑(insert P F) : Set (Subgroup G)) = P ⊓ sInf (↑F : Set (Subgroup G)) := by
60
+ classical
61
+ rw [Finset.coe_insert, sInf_insert]
62
+
63
+ variable [Finite S]
64
+
65
+ /-- The descent uses the displayed type, so no separate theorem asserting
66
+ that parabolic rank is invariant under conjugation is required. -/
67
+ private theorem finite_subfamily_aux (h : InsideIntersectionProperty M)
68
+ (F : Set (Subgroup (Artin M))) (hF : ∀ P ∈ F, IsParabolic M P) :
69
+ ∀ n : ℕ, ∀ (X : Set S), X.ncard = n → ∀ g : Artin M,
70
+ ∃ F₀ : Finset (Subgroup (Artin M)),
71
+ (↑F₀ : Set (Subgroup (Artin M))) ⊆ F ∧ F₀.card ≤ n ∧
72
+ conjugate g (artinParabolic M X) ⊓ sInf F =
73
+ conjugate g (artinParabolic M X) ⊓ sInf (↑F₀ : Set (Subgroup (Artin M))) ∧
74
+ IsParabolic M (conjugate g (artinParabolic M X) ⊓ sInf F) := by
75
+ classical
76
+ intro n
77
+ induction n using Nat.strong_induction_on with
78
+ | h n ih =>
79
+ intro X hX g
80
+ let Q := conjugate g (artinParabolic M X)
81
+ by_cases hQ : Q ≤ sInf F
82
+ · refine ⟨∅, by simp, by simp, ?_, ?_⟩
83
+ · simp only [Finset.coe_empty, sInf_empty, inf_top_eq]
84
+ exact inf_eq_left.mpr hQ
85
+ · change IsParabolic M (Q ⊓ sInf F)
86
+ rw [inf_eq_left.mpr hQ]
87
+ exact ⟨X, g, rfl⟩
88
+ · obtain ⟨P, hPF, hQP⟩ : ∃ P ∈ F, ¬ Q ≤ P := by
89
+ by_contra hn
90
+ push Not at hn
91
+ exact hQ (le_sInf hn)
92
+ obtain ⟨Z, c, hZX, hc, he⟩ := inside_conjugate M h X g (hF P hPF)
93
+ have hne : Z ≠ X := by
94
+ intro hz
95
+ rw [hz, conjugate_mul, conjugate_eq_self hc] at he
96
+ exact hQP (inf_eq_left.mp he)
97
+ have hlt : Z.ncard < n := by
98
+ rw [← hX]
99
+ exact Set.ncard_lt_ncard (ssubset_of_subset_of_ne hZX hne)
100
+ obtain ⟨F₀, hF₀, hcard, hEq, hPar⟩ := ih Z.ncard hlt Z rfl (g * c)
101
+ refine ⟨insert P F₀, ?_, ?_, ?_, ?_⟩
102
+ · intro A hA
103
+ rcases Finset.mem_insert.mp hA with rfl | hA
104
+ · exact hPF
105
+ · exact hF₀ hA
106
+ · have hi := Finset.card_insert_le P F₀
107
+ omega
108
+ · rw [insert_intersection]
109
+ calc
110
+ Q ⊓ sInf F = (Q ⊓ P) ⊓ sInf F := by
111
+ rw [inf_assoc, inf_eq_right.mpr (sInf_le hPF)]
112
+ _ = conjugate (g * c) (artinParabolic M Z) ⊓ sInf F := by rw [he]
113
+ _ = conjugate (g * c) (artinParabolic M Z) ⊓ sInf (↑F₀ : Set _) := hEq
114
+ _ = Q ⊓ (P ⊓ sInf (↑F₀ : Set _)) := by rw [← he, inf_assoc]
115
+ · have heF : Q ⊓ sInf F =
116
+ conjugate (g * c) (artinParabolic M Z) ⊓ sInf F := by
117
+ rw [← he, inf_assoc, inf_eq_right.mpr (sInf_le hPF)]
118
+ rw [heF]
119
+ exact hPar
120
+
121
+ /-- The full subfamily bound in Corollary 1.2, including the empty family.
122
+ This is conditional on the new inside-intersection theorem, explicitly. -/
123
+ theorem arbitrary_intersections_of_inside (h : InsideIntersectionProperty M)
124
+ (F : Set (Subgroup (Artin M))) (hF : ∀ P ∈ F, IsParabolic M P) :
125
+ (∃ F₀ : Finset (Subgroup (Artin M)),
126
+ (↑F₀ : Set (Subgroup (Artin M))) ⊆ F ∧ F₀.card ≤ Nat.card S ∧
127
+ sInf F = sInf (↑F₀ : Set (Subgroup (Artin M)))) ∧
128
+ IsParabolic M (sInf F) := by
129
+ obtain ⟨F₀, hF₀, hcard, he, hp⟩ :=
130
+ finite_subfamily_aux M h F hF (Set.univ : Set S).ncard Set.univ rfl 1
131
+ simp only [standard_univ, conjugate_top, top_inf_eq, Set.ncard_univ] at he hp hcard
132
+ exact ⟨⟨F₀, hF₀, hcard, he⟩, hp⟩
133
+
134
+ /-- The unique smallest parabolic containing an arbitrary subset, rather
135
+ than merely a smallest parabolic containing a finite set. -/
136
+ theorem parabolic_closure_of_inside (h : InsideIntersectionProperty M)
137
+ (E : Set (Artin M)) :
138
+ ∃! P : Subgroup (Artin M), IsParabolic M P ∧ E ⊆ P ∧
139
+ ∀ Q : Subgroup (Artin M), IsParabolic M Q → E ⊆ Q → P ≤ Q := by
140
+ let F := {P : Subgroup (Artin M) | IsParabolic M P ∧ E ⊆ P}
141
+ have hp := (arbitrary_intersections_of_inside M h F (fun _ hP => hP.1)).2
142
+ have he : E ⊆ (sInf F : Subgroup (Artin M)) := by
143
+ intro a ha
144
+ exact Subgroup.mem_sInf.mpr (fun P hP => hP.2 ha)
145
+ refine ⟨sInf F, ⟨hp, he, ?_⟩, ?_⟩
146
+ · intro Q hQ hEQ
147
+ exact sInf_le ⟨hQ, hEQ⟩
148
+ · intro Q hQ
149
+ exact le_antisymm (hQ.2.2 _ hp he) (sInf_le ⟨hQ.1, hQ.2.1⟩)
150
+
151
+ end HarmonicArtin.ParabolicIntersections
152
+
153
+ end OAI
lean/OAI/Topology/ArtinGroups/ParabolicIntersections/CosetContainment.lean ADDED
@@ -0,0 +1,89 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import OAI.Topology.ArtinGroups.ParabolicIntersections.Basic
2
+ import OAI.Topology.ArtinGroups.Harmonic.Coset
3
+
4
+ namespace OAI
5
+
6
+ /-!
7
+ # Confining paths of parabolic cosets
8
+
9
+ This is the coset argument in Proposition 6.9 of paper 082-03. A path
10
+ whose types stay in one set cannot escape its standard coset. The proof
11
+ uses actual subgroup cosets, including upward as well as downward edges.
12
+ -/
13
+
14
+ namespace HarmonicArtin.ParabolicIntersections
15
+
16
+ variable {S : Type*} (M : CoxeterMatrix S)
17
+
18
+ /-- A smaller-type coset through a point of a larger-type coset is
19
+ contained in that larger coset. -/
20
+ theorem rightCoset_subset_of_point {T D : Set S} (hTD : T ⊆ D)
21
+ {w z : Artin M} (hw : w ∈ rightCoset M D z) :
22
+ rightCoset M T w ⊆ rightCoset M D z := by
23
+ intro a ha
24
+ change a * w⁻¹ ∈ artinParabolic M T at ha
25
+ change w * z⁻¹ ∈ artinParabolic M D at hw
26
+ change a * z⁻¹ ∈ artinParabolic M D
27
+ have hh := (artinParabolic M D).mul_mem (standard_mono M hTD ha) hw
28
+ simpa only [mul_assoc, inv_mul_cancel_left] using hh
29
+
30
+ /-- A represented parabolic coset can be recentered at each of its points. -/
31
+ theorem deligne_coset_eq_at_point (P : Deligne M) (w : Artin M) (hw : w ∈ P.val.2) :
32
+ P.val.2 = rightCoset M P.val.1 w := by
33
+ obtain ⟨z, hz⟩ := P.property.2
34
+ rw [hz] at hw ⊢
35
+ ext a
36
+ change a * z⁻¹ ∈ artinParabolic M P.val.1 ↔ a * w⁻¹ ∈ artinParabolic M P.val.1
37
+ have he : a * z⁻¹ = (a * w⁻¹) * (w * z⁻¹) := by group
38
+ rw [he]
39
+ exact (artinParabolic M P.val.1).mul_mem_cancel_right hw
40
+
41
+ /-- Upward comparability preserves containment when the larger type is
42
+ still contained in the specified standard type. -/
43
+ theorem deligne_upper_contained {P R : Deligne M} (hPR : P ≤ R)
44
+ (D : Set S) (z : Artin M) (hR : R.val.1 ⊆ D)
45
+ (hP : P.val.2 ⊆ rightCoset M D z) : R.val.2 ⊆ rightCoset M D z := by
46
+ obtain ⟨w, hw⟩ : P.val.2.Nonempty := by
47
+ obtain ⟨w, hw⟩ := P.property.2
48
+ refine ⟨w, ?_⟩
49
+ rw [hw]
50
+ change w * w⁻¹ ∈ artinParabolic M P.val.1
51
+ simp
52
+ rw [deligne_coset_eq_at_point M R w (hPR.2 hw)]
53
+ exact rightCoset_subset_of_point M hR (hP hw)
54
+
55
+ /-- Every coset on a finite comparability path with types in `D` stays
56
+ inside the starting `D`-coset. This is the path confinement used at a
57
+ minimum of the relative height. -/
58
+ theorem deligne_path_contained (D : Set S) (z : Artin M) {P R : Deligne M}
59
+ (hP : P.val.2 ⊆ rightCoset M D z)
60
+ (path : Relation.ReflTransGen
61
+ (fun A B : Deligne M => A.val.1 ⊆ D ∧ B.val.1 ⊆ D ∧ (A ≤ B ∨ B ≤ A)) P R) :
62
+ R.val.2 ⊆ rightCoset M D z := by
63
+ induction path with
64
+ | refl => exact hP
65
+ | @tail A B path edge ih =>
66
+ rcases edge.2.2 with hAB | hBA
67
+ · exact deligne_upper_contained M hAB D z edge.2.1 ih
68
+ · exact hBA.2.trans ih
69
+
70
+ /-- If a confined path reaches the translate of its starting coset by
71
+ `r`, then `r` belongs to the corresponding conjugate standard subgroup. -/
72
+ theorem conjugate_membership_of_coset_path (D : Set S) (z r : Artin M)
73
+ {P R : Deligne M} (hP : z ∈ P.val.2) (hPT : P.val.1 ⊆ D)
74
+ (hR : z * r ∈ R.val.2)
75
+ (path : Relation.ReflTransGen
76
+ (fun A B : Deligne M => A.val.1 ⊆ D ∧ B.val.1 ⊆ D ∧ (A ≤ B ∨ B ≤ A)) P R) :
77
+ r ∈ conjugate z⁻¹ (artinParabolic M D) := by
78
+ have hstart : P.val.2 ⊆ rightCoset M D z := by
79
+ rw [deligne_coset_eq_at_point M P z hP]
80
+ exact rightCoset_subset_of_point M hPT (by
81
+ change z * z⁻¹ ∈ artinParabolic M D
82
+ simp)
83
+ have hend := deligne_path_contained M D z hstart path hR
84
+ change (z * r) * z⁻¹ ∈ artinParabolic M D at hend
85
+ simpa only [mem_conjugate, inv_inv] using hend
86
+
87
+ end HarmonicArtin.ParabolicIntersections
88
+
89
+ end OAI
lean/OAI/Topology/ArtinGroups/ParabolicIntersections/CoxeterChainMinimum.lean ADDED
@@ -0,0 +1,85 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import OAI.Topology.ArtinGroups.ParabolicIntersections.CoxeterChainRoots
2
+ import OAI.Topology.ArtinGroups.ParabolicIntersections.ParabolicMinimumStep
3
+
4
+ namespace OAI
5
+
6
+ /-! A noncommutation path starting outside a parabolic gives a minimal
7
+ Coxeter coset representative. -/
8
+ namespace HarmonicArtin.ParabolicIntersections
9
+ open Geometric CoxeterExchange
10
+ attribute [local instance] Classical.decEq Classical.propDecidable
11
+ variable {S : Type} [Fintype S] (M : CoxeterMatrix S)
12
+ local notation "cs" => M.toCoxeterSystem
13
+
14
+ lemma conjugate_simple_not_parabolic (X : Set S) (w : M.Group) (s t : S) (ht : t∉X)
15
+ (hr : representation cs w (Pi.single s 1) t≠0) :
16
+ w*(cs).simple s*w⁻¹∉parabolic cs X := by
17
+ intro hm
18
+ let x := representation cs w (Pi.single s 1)
19
+ have hn : simpleReflection M s (Pi.single s 1)=-(Pi.single s 1) := by
20
+ simp only [simpleReflection_apply,Matrix.mulVec_single,Matrix.col,Matrix.transpose_apply,
21
+ MulOpposite.op_one,one_smul,cartan_diag]
22
+ module
23
+ have he : representation cs (w*(cs).simple s*w⁻¹) x=-x := by
24
+ calc
25
+ representation cs (w*(cs).simple s*w⁻¹) x =
26
+ representation cs ((w*(cs).simple s*w⁻¹)*w) (Pi.single s 1) := by
27
+ exact (DFunLike.congr_fun (map_mul (representation cs)
28
+ (w*(cs).simple s*w⁻¹) w) (Pi.single s 1)).symm
29
+ _ = representation cs (w*(cs).simple s) (Pi.single s 1) := by
30
+ congr 2
31
+ group
32
+ _ = representation cs w (simpleReflection M s (Pi.single s 1)) := by
33
+ rw [map_mul,LinearEquiv.mul_apply,representation_simple]
34
+ _ = -x := by rw [hn,map_neg]
35
+ have hx := parabolic_exterior M X ⟨_,hm⟩ x t ht
36
+ change representation cs (w*(cs).simple s*w⁻¹) x t=x t at hx
37
+ rw [he] at hx
38
+ change -x t=x t at hx
39
+ exact hr (by change x t=0; linarith)
40
+
41
+ lemma minimum_append_chain (X : Set S) (u : List S) (s t : S)
42
+ (hmin : IsParabolicMinimum cs X ((cs).wordProd u))
43
+ (hN : (u++[s]).Nodup)
44
+ (hC : (u++[s]).IsChain (fun a b => a≠b ∧ M a b≠2))
45
+ (ht : t∈u++[s]) (htX : t∉X) :
46
+ IsParabolicMinimum cs X ((cs).wordProd (u++[s])) := by
47
+ rw [(cs).wordProd_append,(cs).wordProd_singleton]
48
+ rcases parabolic_minimum_step cs X _ hmin s with h|⟨j,hj,he⟩
49
+ · exact h
50
+ · have hr := (root_along_chain M u s hN hC).2.1 t ht
51
+ apply False.elim
52
+ apply conjugate_simple_not_parabolic M X ((cs).wordProd u) s t htX (ne_of_gt hr)
53
+ have hh : (cs).wordProd u*(cs).simple s*((cs).wordProd u)⁻¹=(cs).simple j := by
54
+ rw [he,mul_inv_cancel_right]
55
+ rw [hh]
56
+ exact simple_mem_parabolic cs X hj
57
+
58
+ /-- Every prefix of a simple noncommutation path starting outside `X` is
59
+ minimal in its left `X`-coset. -/
60
+ theorem chain_word_minimum (X : Set S) (a : S) (ha : a∉X) (u : List S)
61
+ (hN : (a::u).Nodup) (hC : (a::u).IsChain (fun a b => a≠b ∧ M a b≠2)) :
62
+ IsParabolicMinimum cs X ((cs).wordProd (a::u)) := by
63
+ induction u using List.reverseRecOn with
64
+ | nil =>
65
+ apply minimum_append_chain M X [] a a
66
+ · intro g _
67
+ simp only [(cs).wordProd_nil,(cs).length_one]
68
+ exact Nat.zero_le _
69
+ · exact hN
70
+ · exact hC
71
+ · simp only [List.nil_append,List.mem_singleton]
72
+ · exact ha
73
+ | append_singleton u s ih =>
74
+ have hn : ((a::u)++[s]).Nodup := hN
75
+ have hc : ((a::u)++[s]).IsChain (fun a b => a≠b ∧ M a b≠2) := hC
76
+ apply minimum_append_chain M X (a::u) s a
77
+ · exact ih (List.nodup_append.mp hn).1 hc.left_of_append
78
+ · exact hn
79
+ · exact hc
80
+ · exact List.mem_append_left _ List.mem_cons_self
81
+ · exact ha
82
+
83
+ end HarmonicArtin.ParabolicIntersections
84
+
85
+ end OAI
lean/OAI/Topology/ArtinGroups/ParabolicIntersections/CoxeterChainRoots.lean ADDED
@@ -0,0 +1,104 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import OAI.Topology.ArtinGroups.ParabolicIntersections.NormalParabolic
2
+ import OAI.Topology.ArtinGroups.Geometry.CartanOffNonpos
3
+
4
+ namespace OAI
5
+
6
+ /-! Positive roots carried along a simple path in the noncommutation graph. -/
7
+ namespace HarmonicArtin.ParabolicIntersections
8
+ open Geometric CoxeterExchange
9
+ open scoped _root_.Matrix _root_.OAI.Matrix
10
+ attribute [local instance] Classical.decEq Classical.propDecidable
11
+ variable {S : Type} [Fintype S] (M : CoxeterMatrix S)
12
+
13
+ lemma reflection_nonneg_of_zero (a : S) (x : S → ℝ) (hx : ∀ i, 0≤x i) (ha : x a=0) :
14
+ ∀ i, 0 ≤ simpleReflection M a x i := by
15
+ have hr : (cartan M *ᵥ x) a≤0 := by
16
+ apply Finset.sum_nonpos
17
+ intro j _
18
+ by_cases hj : a=j
19
+ · subst j
20
+ rw [ha,mul_zero]
21
+ · exact mul_nonpos_of_nonpos_of_nonneg (cartan_off_nonpos M a j hj) (hx j)
22
+ intro i
23
+ rw [simpleReflection_apply]
24
+ by_cases hi : i=a
25
+ · subst i
26
+ simpa only [Pi.sub_apply,Pi.smul_apply,smul_eq_mul,Pi.single_eq_same,mul_one,ha,zero_sub]
27
+ using neg_nonneg.mpr hr
28
+ · simpa only [Pi.sub_apply,Pi.smul_apply,smul_eq_mul,Pi.single_eq_of_ne hi,mul_zero,sub_zero]
29
+ using hx i
30
+
31
+ lemma reflection_pos_of_neighbor (a b : S) (hab : a≠b) (hm : M a b≠2)
32
+ (x : S → ℝ) (hx : ∀ i, 0≤x i) (ha : x a=0) (hb : 0<x b) :
33
+ 0 < simpleReflection M a x a := by
34
+ have hc : cartan M a b<0 :=
35
+ lt_of_le_of_ne (cartan_off_nonpos M a b hab) (cartan_ne_zero_of_not_commuting M a b hab hm)
36
+ have hrow : (cartan M *ᵥ x) a<0 := by
37
+ change (∑ j, cartan M a j*x j)<0
38
+ have hsum := Finset.sum_lt_sum (s := (Finset.univ : Finset S))
39
+ (f := fun j => cartan M a j*x j) (g := fun _ => (0 : ℝ))
40
+ (by
41
+ intro j _
42
+ by_cases hj : a=j
43
+ · subst j
44
+ rw [ha,mul_zero]
45
+ · exact mul_nonpos_of_nonpos_of_nonneg (cartan_off_nonpos M a j hj) (hx j))
46
+ ⟨b,Finset.mem_univ _,mul_neg_of_neg_of_pos hc hb⟩
47
+ simpa only [Finset.sum_const_zero] using hsum
48
+ rw [simpleReflection_apply]
49
+ simpa only [Pi.sub_apply,Pi.smul_apply,smul_eq_mul,Pi.single_eq_same,mul_one,ha,zero_sub]
50
+ using neg_pos.mpr hrow
51
+
52
+ /-- A word of distinct vertices along a noncommutation path carries the
53
+ last simple root to a nonnegative root positive at every vertex of the path. -/
54
+ theorem root_along_chain (u : List S) (s : S) (hN : (u++[s]).Nodup)
55
+ (hC : (u++[s]).IsChain (fun a b => a≠b ∧ M a b≠2)) :
56
+ let x := representation M.toCoxeterSystem (M.toCoxeterSystem.wordProd u) (Pi.single s 1)
57
+ (∀ i, 0 ≤ x i) ∧ (∀ i∈u++[s], 0 < x i) ∧ (∀ i, i∉u++[s] → x i=0) := by
58
+ induction u with
59
+ | nil =>
60
+ simp only [List.nil_append,CoxeterSystem.wordProd_nil,map_one]
61
+ change (∀ i, 0 ≤ (Pi.single s (1 : ℝ) : S → ℝ) i) ∧
62
+ (∀ i∈[s], 0 < (Pi.single s (1 : ℝ) : S → ℝ) i) ∧
63
+ (∀ i, i∉[s] → (Pi.single s (1 : ℝ) : S → ℝ) i=0)
64
+ refine ⟨?_,?_,?_⟩
65
+ · intro i
66
+ by_cases hi : i=s <;> simp [hi]
67
+ · intro i hi
68
+ have hi' : i=s := List.mem_singleton.mp hi
69
+ subst i
70
+ simpa only [Pi.single_eq_same] using (zero_lt_one : (0 : ℝ)<1)
71
+ · intro i hi
72
+ exact Pi.single_eq_of_ne (by simpa only [List.mem_singleton] using hi) 1
73
+ | cons a u ih =>
74
+ obtain ⟨hna,hn⟩ := List.nodup_cons.mp hN
75
+ have hc : (u++[s]).IsChain (fun a b => a≠b ∧ M a b≠2) := hC.tail
76
+ obtain ⟨hx,hpos,hzero⟩ := ih hn hc
77
+ let x := representation M.toCoxeterSystem (M.toCoxeterSystem.wordProd u) (Pi.single s 1)
78
+ have hxa : x a=0 := hzero a hna
79
+ obtain ⟨b,hb,hab,hm⟩ : ∃ b∈u++[s], a≠b ∧ M a b≠2 := by
80
+ cases u with
81
+ | nil => exact ⟨s,by simp,(List.isChain_cons_cons.mp hC).1⟩
82
+ | cons b u => exact ⟨b,by simp,(List.isChain_cons_cons.mp hC).1⟩
83
+ have hpa := reflection_pos_of_neighbor M a b hab hm x hx hxa (hpos b hb)
84
+ simp only [List.cons_append,CoxeterSystem.wordProd_cons,map_mul,LinearEquiv.mul_apply,
85
+ representation_simple]
86
+ change (∀ i,0 ≤ simpleReflection M a x i) ∧
87
+ (∀ i∈a::(u++[s]),0 < simpleReflection M a x i) ∧
88
+ (∀ i,i∉a::(u++[s]) → simpleReflection M a x i=0)
89
+ refine ⟨reflection_nonneg_of_zero M a x hx hxa,?_,?_⟩
90
+ · intro i hi
91
+ rcases List.mem_cons.mp hi with rfl|hi
92
+ · exact hpa
93
+ · have hia : i≠a := fun he => hna (he ▸ hi)
94
+ simpa only [simpleReflection_apply,Pi.sub_apply,Pi.smul_apply,smul_eq_mul,
95
+ Pi.single_eq_of_ne hia,mul_zero,sub_zero] using hpos i hi
96
+ · intro i hi
97
+ have hia : i≠a := fun he => hi (List.mem_cons.mpr (Or.inl he))
98
+ have hiu : i∉u++[s] := fun hm => hi (List.mem_cons_of_mem a hm)
99
+ simpa only [simpleReflection_apply,Pi.sub_apply,Pi.smul_apply,smul_eq_mul,
100
+ Pi.single_eq_of_ne hia,mul_zero,sub_zero] using hzero i hiu
101
+
102
+ end HarmonicArtin.ParabolicIntersections
103
+
104
+ end OAI
lean/OAI/Topology/ArtinGroups/ParabolicIntersections/CoxeterProjectionSupport.lean ADDED
@@ -0,0 +1,77 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import OAI.Topology.ArtinGroups.ParabolicIntersections.ParabolicCosetProjection
2
+
3
+ namespace OAI
4
+
5
+ /-! Parabolic projection preserves any standard subgroup containing its input. -/
6
+ namespace HarmonicArtin.ParabolicIntersections
7
+ open CoxeterExchange
8
+ attribute [local instance] Classical.decEq Classical.propDecidable
9
+ variable {S W : Type} [Group W] {M : CoxeterMatrix S} (cs : CoxeterSystem M W)
10
+
11
+ private lemma component_one (X : Set S) : parabolicComponent cs X 1=1 := by
12
+ have hr : parabolicRep cs X 1=1 := parabolicRep_of_minimum cs X 1 (by
13
+ intro a _
14
+ rw [cs.length_one]
15
+ exact Nat.zero_le _)
16
+ simp only [parabolicComponent,hr,inv_one,mul_one]
17
+
18
+ lemma rep_mem_of_component_mem (X C : Set S) (w : W)
19
+ (hw : w∈parabolic cs C) (hc : parabolicComponent cs X w∈parabolic cs C) :
20
+ parabolicRep cs X w∈parabolic cs C := by
21
+ have he : parabolicRep cs X w=(parabolicComponent cs X w)⁻¹*w := by
22
+ exact (eq_inv_mul_iff_mul_eq).mpr (parabolicComponent_mul_rep cs X w)
23
+ rw [he]
24
+ exact (parabolic cs C).mul_mem ((parabolic cs C).inv_mem hc) hw
25
+
26
+ lemma component_step_mem (X C : Set S) (w : W) (s : S)
27
+ (hw : w∈parabolic cs C) (hc : parabolicComponent cs X w∈parabolic cs C) (hs : s∈C) :
28
+ parabolicComponent cs X (w*cs.simple s)∈parabolic cs C := by
29
+ have hr := rep_mem_of_component_mem cs X C w hw hc
30
+ have hh : parabolicStepRatio cs X w s∈parabolic cs C := by
31
+ by_cases he : parabolicStepRatio cs X w s=1
32
+ · rw [he]
33
+ exact Subgroup.one_mem _
34
+ · rw [parabolicStepRatio_reflection cs X w s he]
35
+ exact (parabolic cs C).mul_mem
36
+ ((parabolic cs C).mul_mem hr (simple_mem_parabolic cs C hs))
37
+ ((parabolic cs C).inv_mem hr)
38
+ have he : parabolicComponent cs X (w*cs.simple s)=
39
+ parabolicComponent cs X w*parabolicStepRatio cs X w s := by
40
+ unfold parabolicStepRatio
41
+ rw [mul_inv_cancel_left]
42
+ rw [he]
43
+ exact (parabolic cs C).mul_mem hc hh
44
+
45
+ /-- The parabolic component of an element of `W_C` is again in `W_C`. -/
46
+ theorem component_mem_of_mem (X C : Set S) (w : W) (hw : w∈parabolic cs C) :
47
+ parabolicComponent cs X w∈parabolic cs C := by
48
+ obtain ⟨u,hu,rfl⟩ := (mem_parabolic_iff_word cs C w).mp hw
49
+ induction u using List.reverseRecOn with
50
+ | nil =>
51
+ rw [cs.wordProd_nil,component_one]
52
+ exact Subgroup.one_mem _
53
+ | append_singleton u s ih =>
54
+ have hu' : ∀ i∈u, i∈C := fun i hi => hu i (List.mem_append_left _ hi)
55
+ have hs : s∈C := hu s (List.mem_append_right _ (by simp))
56
+ rw [cs.wordProd_append,cs.wordProd_singleton]
57
+ exact component_step_mem cs X C _ s (wordProd_mem_parabolic cs C u hu')
58
+ (ih hu' (wordProd_mem_parabolic cs C u hu')) hs
59
+
60
+ /-- The canonical minimal representative also stays in `W_C`. -/
61
+ theorem rep_mem_of_mem (X C : Set S) (w : W) (hw : w∈parabolic cs C) :
62
+ parabolicRep cs X w∈parabolic cs C :=
63
+ rep_mem_of_component_mem cs X C w hw (component_mem_of_mem cs X C w hw)
64
+
65
+ /-- A minimal left representative outside `W_C` cannot lie in `W_X W_C`. -/
66
+ theorem minimum_not_product (X C : Set S) (w : W) (hmin : IsParabolicMinimum cs X w)
67
+ (hw : w∉parabolic cs C) (a b : W) (ha : a∈parabolic cs X) (hb : b∈parabolic cs C) :
68
+ w≠a*b := by
69
+ intro he
70
+ apply hw
71
+ have hr := rep_mem_of_mem cs X C b hb
72
+ rw [←parabolicRep_left_mul cs X a b ha,←he,parabolicRep_of_minimum cs X w hmin] at hr
73
+ exact hr
74
+
75
+ end HarmonicArtin.ParabolicIntersections
76
+
77
+ end OAI
lean/OAI/Topology/ArtinGroups/ParabolicIntersections/DynamicsDefinitions.lean ADDED
@@ -0,0 +1,91 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import OAI.Topology.ArtinGroups.ParabolicIntersections.Basic
2
+ import Mathlib.Topology.MetricSpace.Isometry
3
+
4
+ namespace OAI
5
+
6
+ /-!
7
+ # Acylindrical actions and visual splittings
8
+
9
+ The definitions below spell out the metric content of acylindrical
10
+ hyperbolicity. Non-elementarity means that an orbit has three distinct
11
+ Gromov-boundary limit points, represented by Gromov sequences whose
12
+ pairwise mixed products are bounded. No dynamical assertion is built
13
+ into a definition of an Artin group.
14
+ -/
15
+ namespace HarmonicArtin.ParabolicIntersections
16
+
17
+ noncomputable def gromovProduct {X : Type} [MetricSpace X] (o x y : X) : ℝ :=
18
+ (dist o x + dist o y - dist x y)/2
19
+
20
+ def IsGromovHyperbolic (X : Type) [MetricSpace X] : Prop :=
21
+ ∃ δ : ℝ, 0 ≤ δ ∧ ∀ o x y z : X,
22
+ min (gromovProduct o x y) (gromovProduct o y z) ≤ gromovProduct o x z + δ
23
+
24
+ def IsGeodesicMetric (X : Type) [MetricSpace X] : Prop :=
25
+ ∀ x y : X, ∃ γ : Set.Icc (0 : ℝ) (dist x y) → X,
26
+ Isometry γ ∧ γ ⟨0,le_rfl,dist_nonneg⟩=x ∧ γ ⟨dist x y,dist_nonneg,le_rfl⟩=y
27
+
28
+ def IsGromovSequence {X : Type} [MetricSpace X] (o : X) (u : ℕ → X) : Prop :=
29
+ ∀ R : ℝ, ∃ N : ℕ, ∀ m, N ≤ m → ∀ n, N ≤ n → R ≤ gromovProduct o (u m) (u n)
30
+
31
+ def IsAcylindrical (G X : Type) [Group G] [MetricSpace X] [MulAction G X] : Prop :=
32
+ ∀ ε : ℝ, 0 < ε → ∃ R : ℝ, ∃ N : ℕ, ∀ x y : X, R ≤ dist x y →
33
+ {g : G | dist x (g • x) ≤ ε ∧ dist y (g • y) ≤ ε}.Finite ∧
34
+ {g : G | dist x (g • x) ≤ ε ∧ dist y (g • y) ≤ ε}.ncard ≤ N
35
+
36
+ def HasThreeOrbitLimitPoints (G X : Type) [Group G] [MetricSpace X] [MulAction G X] : Prop :=
37
+ ∃ o : X, ∃ u : Fin 3 → ℕ → G,
38
+ (∀ i, IsGromovSequence o (fun n => u i n • o)) ∧
39
+ ∀ i j, i ≠ j → ∃ B : ℝ, ∀ m n, gromovProduct o (u i m • o) (u j n • o) ≤ B
40
+
41
+ /-- An isometric non-elementary acylindrical action on a geodesic
42
+ Gromov-hyperbolic metric space. -/
43
+ def AcylindricallyHyperbolic (G : Type) [Group G] : Prop :=
44
+ ∃ (X : Type) (metric : MetricSpace X) (action : MulAction G X),
45
+ @IsGeodesicMetric X metric ∧ @IsGromovHyperbolic X metric ∧
46
+ (∀ g : G, @Isometry X X metric.toPseudoMetricSpace.toPseudoEMetricSpace metric.toPseudoMetricSpace.toPseudoEMetricSpace
47
+ (fun x => @SMul.smul G X action.toSMul g x)) ∧
48
+ @IsAcylindrical G X _ metric action ∧ @HasThreeOrbitLimitPoints G X _ metric action
49
+
50
+ def WeaklyMalnormal {G : Type} [Group G] (P : Subgroup G) : Prop :=
51
+ ∃ g : G, (↑(P ⊓ conjugate g P) : Set G).Finite
52
+
53
+ variable {S : Type} (M : CoxeterMatrix S)
54
+
55
+ /-- No nontrivial partition has every cross label equal to two. -/
56
+ def IsIrreducible : Prop :=
57
+ ∀ Y : Set S, Y.Nonempty → Yᶜ.Nonempty → ∃ s ∈ Y, ∃ t ∉ Y, M s t ≠ 2
58
+
59
+ /-- The presentation-graph condition in CMMW Definition 2.4. The vertex
60
+ subgraphs are proper, cover every vertex, and omit no finite-label edge. -/
61
+ def IsVisualSplit (Y Z : Set S) : Prop :=
62
+ Y ∪ Z = Set.univ ∧ Y ⊂ Set.univ ∧ Z ⊂ Set.univ ∧
63
+ ∀ s ∈ Y \ Z, ∀ t ∈ Z \ Y, M s t = 0
64
+
65
+ lemma infinite_pair_visual_split (s t : S) (hst : s ≠ t) (hlabel : M s t=0) :
66
+ IsVisualSplit M {s}ᶜ {t}ᶜ := by
67
+ refine ⟨?_,?_,?_,?_⟩
68
+ · ext a
69
+ simp only [Set.mem_union,Set.mem_compl_iff,Set.mem_singleton_iff,Set.mem_univ,iff_true]
70
+ by_cases ha : a=s
71
+ · exact Or.inr (by simpa [ha] using hst)
72
+ · exact Or.inl ha
73
+ · apply Set.ssubset_univ_iff.mpr
74
+ intro h
75
+ have hs : s ∈ ({s}ᶜ : Set S) := h.symm ▸ Set.mem_univ s
76
+ simp at hs
77
+ · apply Set.ssubset_univ_iff.mpr
78
+ intro h
79
+ have ht : t ∈ ({t}ᶜ : Set S) := h.symm ▸ Set.mem_univ t
80
+ simp at ht
81
+ · intro a ha b hb
82
+ have hat : a=t := by simpa using ha.2
83
+ have hbs : b=s := by simpa using hb.2
84
+ subst a
85
+ subst b
86
+ rw [M.symmetric]
87
+ exact hlabel
88
+
89
+ end HarmonicArtin.ParabolicIntersections
90
+
91
+ end OAI
lean/OAI/Topology/ArtinGroups/ParabolicIntersections/DynamicsEquivalence.lean ADDED
@@ -0,0 +1,43 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import OAI.Topology.ArtinGroups.ParabolicIntersections.DynamicsDefinitions
2
+
3
+ namespace OAI
4
+
5
+ /-! Transport of the metric definition of acylindrical hyperbolicity. -/
6
+ namespace HarmonicArtin.ParabolicIntersections
7
+ variable {G H : Type} [Group G] [Group H]
8
+
9
+ /-- A group isomorphism transports the action, its uniform acylindricity
10
+ bounds, and all three distinct orbit limit points. -/
11
+ theorem AcylindricallyHyperbolic.of_equiv (e : G ≃* H) (h : AcylindricallyHyperbolic H) :
12
+ AcylindricallyHyperbolic G := by
13
+ obtain ⟨X,d,a,hgeo,hhyp,hiso,hacyl,hlim⟩ := h
14
+ let : MetricSpace X := d
15
+ let : MulAction H X := a
16
+ let : MulAction G X := MulAction.compHom X e.toMonoidHom
17
+ refine ⟨X,d,inferInstance,hgeo,hhyp,fun g => hiso (e g),?_,?_⟩
18
+ · intro ε hε
19
+ obtain ⟨R,N,hRN⟩ := hacyl ε hε
20
+ refine ⟨R,N,?_⟩
21
+ intro x y hxy
22
+ obtain ⟨hfin,hcard⟩ := hRN x y hxy
23
+ let Q : Set H := {h | dist x (h • x)≤ε ∧ dist y (h • y)≤ε}
24
+ change (e ⁻¹' Q).Finite ∧ (e ⁻¹' Q).ncard≤N
25
+ refine ⟨hfin.preimage e.injective.injOn,?_⟩
26
+ rw [Set.ncard_preimage_of_injective_subset_range e.injective
27
+ (by rw [e.surjective.range_eq]; exact Set.subset_univ _)]
28
+ exact hcard
29
+ · obtain ⟨o,u,hu,hB⟩ := hlim
30
+ refine ⟨o,fun i n => e.symm (u i n),?_,?_⟩
31
+ · intro i
32
+ change IsGromovSequence o (fun n => e (e.symm (u i n)) • o)
33
+ simpa only [MulEquiv.apply_symm_apply] using hu i
34
+ · intro i j hij
35
+ obtain ⟨B,hB⟩ := hB i j hij
36
+ refine ⟨B,?_⟩
37
+ intro m n
38
+ change gromovProduct o (e (e.symm (u i m)) • o) (e (e.symm (u j n)) • o)≤B
39
+ simpa only [MulEquiv.apply_symm_apply] using hB m n
40
+
41
+ end HarmonicArtin.ParabolicIntersections
42
+
43
+ end OAI
lean/OAI/Topology/ArtinGroups/ParabolicIntersections/DynamicsMain.lean ADDED
@@ -0,0 +1,44 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import OAI.Topology.ArtinGroups.ParabolicIntersections.ReducedDynamicsMain
2
+ import OAI.Topology.ArtinGroups.ParabolicIntersections.ProperParabolicMalnormal
3
+
4
+ namespace OAI
5
+
6
+ /-!
7
+ # Corollary 1.3 with only the general amalgam criterion remaining
8
+
9
+ The Artin-specific statements of Charney--Martin--Morris-Wright,
10
+ Theorem 3.2 and Proposition 4.2, are proved in this development.
11
+ The only remaining published input is Minasyan--Osin (2015), Corollary 2.2,
12
+ for arbitrary amalgamated products. In particular the weak-malnormality
13
+ half of the corollary has no published hypotheses.
14
+ -/
15
+ namespace HarmonicArtin.ParabolicIntersections
16
+ variable {S : Type} [Fintype S] [LinearOrder S] (M : CoxeterMatrix S)
17
+
18
+ /-- The sufficient case of CMMW Proposition 4.2, now proved locally. -/
19
+ theorem proper_parabolic_criterion : PublishedProperParabolicCriterion M where
20
+ criterion hIrred Y Z hsplit _ P hP hne := by
21
+ let : Fact (IsVisualSplit M Y Z) := ⟨hsplit⟩
22
+ exact proper_parabolic_weaklyMalnormal M Y Z hIrred P hP hne
23
+
24
+ /-- The weak-malnormality assertion of paper 082-03, Corollary 1.3,
25
+ without any published input. -/
26
+ theorem unconditional_nonclique_weaklyMalnormal
27
+ (hIrred : IsIrreducible M) (hInf : ∃ s t : S,s≠t ∧ M s t=0)
28
+ (P : Subgroup (Artin M)) (hP : IsParabolic M P) (hne : P≠⊤) : WeaklyMalnormal P := by
29
+ obtain ⟨s,t,hst,hm⟩ := hInf
30
+ let : Fact (IsVisualSplit M {s}ᶜ {t}ᶜ) := ⟨infinite_pair_visual_split M s t hst hm⟩
31
+ exact proper_parabolic_weaklyMalnormal M {s}ᶜ {t}ᶜ hIrred P hP hne
32
+
33
+ /-- Paper 082-03, Corollary 1.3, conditional only on the general published
34
+ amalgam theorem of Minasyan--Osin, with every Artin-specific input discharged. -/
35
+ theorem nonclique_dynamics_of_amalgam
36
+ (hMO : PublishedAmalgamCriterion)
37
+ (hIrred : IsIrreducible M) (hInf : ∃ s t : S,s≠t ∧ M s t=0) :
38
+ AcylindricallyHyperbolic (Artin M) ∧
39
+ ∀ P : Subgroup (Artin M),IsParabolic M P → P≠⊤ → WeaklyMalnormal P :=
40
+ nonclique_dynamics_of_amalgam_and_proper M hMO (proper_parabolic_criterion M) hIrred hInf
41
+
42
+ end HarmonicArtin.ParabolicIntersections
43
+
44
+ end OAI
lean/OAI/Topology/ArtinGroups/ParabolicIntersections/DynamicsUnconditional.lean ADDED
@@ -0,0 +1,32 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import OAI.Topology.ArtinGroups.ParabolicIntersections.VisualAcylindrical
2
+ import OAI.Topology.ArtinGroups.ParabolicIntersections.DynamicsMain
3
+
4
+ namespace OAI
5
+
6
+ /-!
7
+ # Paper 082-03, Corollary 1.3, without published hypotheses
8
+
9
+ For a finite-rank irreducible Artin group whose defining graph is not a
10
+ clique, the group is acylindrically hyperbolic and every proper parabolic
11
+ subgroup is weakly malnormal. The acylindrical action is constructed from
12
+ the genuine visual tree; the algebraic intersection theorem supplies a
13
+ segment with trivial stabilizer. All metric, boundary, and malnormality
14
+ arguments are proved in the imported development.
15
+ -/
16
+ namespace HarmonicArtin.ParabolicIntersections
17
+ variable {S : Type} [Fintype S] [LinearOrder S] (M : CoxeterMatrix S)
18
+
19
+ /-- The full third main result of *Parabolic intersections in Artin groups*. -/
20
+ theorem unconditional_nonclique_dynamics
21
+ (hIrred : IsIrreducible M) (hInf : ∃ s t : S,s≠t ∧ M s t=0) :
22
+ AcylindricallyHyperbolic (Artin M) ∧
23
+ ∀ P : Subgroup (Artin M),IsParabolic M P → P≠⊤ → WeaklyMalnormal P := by
24
+ constructor
25
+ · obtain ⟨s,t,hst,hm⟩ := hInf
26
+ let : Fact (IsVisualSplit M {s}ᶜ {t}ᶜ) := ⟨infinite_pair_visual_split M s t hst hm⟩
27
+ exact visual_acylindricallyHyperbolic M {s}ᶜ {t}ᶜ hIrred
28
+ · exact unconditional_nonclique_weaklyMalnormal M hIrred hInf
29
+
30
+ end HarmonicArtin.ParabolicIntersections
31
+
32
+ end OAI
lean/OAI/Topology/ArtinGroups/ParabolicIntersections/EmptyPlacement.lean ADDED
@@ -0,0 +1,65 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import OAI.Topology.ArtinGroups.ParabolicIntersections.LayerErasure
2
+
3
+ namespace OAI
4
+
5
+ /-! The empty-placement lemma (Lemma 7.3 of paper 082-03). -/
6
+ namespace HarmonicArtin.ParabolicIntersections
7
+ open ReversibleQuiver ReversibleQuiver.Zigzag ReversibleQuiver.Zigzag.BasedComplex
8
+ attribute [local instance] Classical.decEq Classical.propDecidable
9
+ variable {V A : Type} (Q : ReversibleQuiver V A) [Fintype V] [Fintype A]
10
+
11
+ /-- Exact vertex tests on a spherical interval force a gap after at most
12
+ `N` placements per occupied layer. Only the abstract published path
13
+ identity is assumed; the layer-removal argument is proved here. -/
14
+ theorem empty_placement_of_mesh (U : Set V) (hmesh : MeshNilpotent Q U) :
15
+ ∃ N : ℕ, 0 < N ∧ ∀ (I : Type) [Fintype I] (E : BasedComplex Q (K := ℂ) I),
16
+ E.IsMinimal Q → ∀ l r d₁ d₂ : ℤ, d₁ ≤ d₂ →
17
+ (∀ i, d₁ ≤ (E.placement i).level ∧ (E.placement i).level ≤ d₂) →
18
+ (∀ i, l ≤ (E.placement i).cochain → (E.placement i).cochain ≤ r →
19
+ (E.placement i).color ∈ U) →
20
+ (∀ α ∈ U, ∀ c, l ≤ c → c ≤ r → ∀ d,
21
+ ScalarExactAt Q (E.testComplex Q α) α d c) →
22
+ ∀ i, l+N*(d₂-d₁+1) ≤ (E.placement i).cochain →
23
+ (E.placement i).cochain ≤ r → False := by
24
+ obtain ⟨N, hN, hwords⟩ := hmesh
25
+ refine ⟨N, hN, ?_⟩
26
+ intro I _ E hE l r d₁ d₂ hdd hlevels hcolors hex
27
+ have herase : ∀ n : ℕ, ∀ i, l+(n:ℤ)*N ≤ (E.placement i).cochain →
28
+ (E.placement i).cochain ≤ r → d₂-(n:ℤ) < (E.placement i).level → False := by
29
+ intro n
30
+ induction n with
31
+ | zero =>
32
+ intro i _ _ hi
33
+ have := (hlevels i).2
34
+ simp only [Int.natCast_zero, sub_zero] at hi
35
+ omega
36
+ | succ n ih =>
37
+ intro i hi hir hlev
38
+ by_cases htop : d₂-(n:ℤ) < (E.placement i).level
39
+ · apply ih i _ hir htop
40
+ have : (0 : ℤ) ≤ N := Int.natCast_nonneg N
41
+ push_cast at hi
42
+ nlinarith
43
+ · have heq : (E.placement i).level = d₂-(n:ℤ) := by
44
+ push_cast at hlev
45
+ omega
46
+ apply one_layer_erasure Q U N hwords E hE (l+(n:ℤ)*N) r (d₂-(n:ℤ))
47
+ (fun j hj hjr => hcolors j (by have := Int.natCast_nonneg n; have := Int.natCast_nonneg N; nlinarith) hjr)
48
+ (fun α hα c hc hcr d => hex α hα c
49
+ (by have := Int.natCast_nonneg n; have := Int.natCast_nonneg N; nlinarith) hcr d)
50
+ (fun j hj hjr hhigh => ih j hj hjr hhigh) i heq _ hir
51
+ push_cast at hi
52
+ nlinarith
53
+ let n := (d₂-d₁+1).toNat
54
+ have hn : (n : ℤ) = d₂-d₁+1 := Int.toNat_of_nonneg (by omega)
55
+ intro i hi hir
56
+ apply herase n i _ hir _
57
+ · rw [hn]
58
+ nlinarith
59
+ · rw [hn]
60
+ have := (hlevels i).1
61
+ omega
62
+
63
+ end HarmonicArtin.ParabolicIntersections
64
+
65
+ end OAI
lean/OAI/Topology/ArtinGroups/ParabolicIntersections/FixedFactor.lean ADDED
@@ -0,0 +1,84 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import OAI.Topology.ArtinGroups.ParabolicIntersections.StabilizerDescent
2
+ import OAI.Topology.ArtinGroups.Coxeter.ParabolicProductMap
3
+
4
+ namespace OAI
5
+
6
+ /-!
7
+ # Removing an invisible factor
8
+
9
+ The nonspherical branch of §8 of paper 082-03 splits off a standard
10
+ factor fixing the entire family. This module proves that step for the
11
+ actual subgroup lattice and group action. Pairwise label 2 is the precise
12
+ commutation hypothesis; no product decomposition is assumed.
13
+ -/
14
+
15
+ namespace HarmonicArtin.ParabolicIntersections
16
+
17
+ variable {G V : Type*} [Group G] [MulAction G V]
18
+
19
+ /-- A subgroup centralized pointwise by an element is invariant under its
20
+ conjugation. -/
21
+ theorem conjugate_eq_of_commute (P : Subgroup G) (g : G)
22
+ (hc : ∀ a ∈ P, Commute a g) : conjugate g P = P := by
23
+ apply le_antisymm
24
+ · intro a ha
25
+ rw [mem_conjugate] at ha
26
+ have hh := (hc (g⁻¹ * a * g) ha).eq
27
+ have he : g⁻¹ * a * g = a := by
28
+ calc
29
+ g⁻¹ * a * g = (g⁻¹ * a * g) * g * g⁻¹ := by group
30
+ _ = g * (g⁻¹ * a * g) * g⁻¹ := by rw [hh]
31
+ _ = a := by group
32
+ rwa [he] at ha
33
+ · intro a ha
34
+ rw [mem_conjugate]
35
+ have he : g⁻¹ * a * g = a := by
36
+ calc
37
+ g⁻¹ * a * g = g⁻¹ * (a * g) := by group
38
+ _ = g⁻¹ * (g * a) := by rw [(hc a ha).eq]
39
+ _ = a := by group
40
+ rwa [he]
41
+
42
+ variable {S : Type} [Fintype S] [LinearOrder S] (M : CoxeterMatrix S)
43
+ {W : Type*} [MulAction (Artin M) W] (v : W)
44
+
45
+ omit [Fintype S] [LinearOrder S] in
46
+ /-- A fixed commuting standard factor splits off from the simultaneous
47
+ stabilizer. Surjectivity of the multiplication map suffices. -/
48
+ theorem relativeStabilizer_fixed_factor (K T : Set S) (x : Artin M)
49
+ (hc : ∀ k ∈ K, ∀ t ∈ T, M k t = 2)
50
+ (hfix : ∀ k ∈ artinParabolic M K, k • (x • v) = x • v) :
51
+ relativeStabilizer M v (K ∪ T) x =
52
+ artinParabolic M K ⊔ relativeStabilizer M v T x := by
53
+ apply le_antisymm
54
+ · intro a ha
55
+ have hr : a ∈ (sourceParabolicProductMap M K T hc).range := by
56
+ rw [sourceParabolicProductMap_range]
57
+ exact ha.1
58
+ obtain ⟨⟨k, t⟩, he⟩ := hr
59
+ change (k : Artin M) * t = a at he
60
+ have ht : (t : Artin M) • (x • v) = x • v := by
61
+ apply (smul_left_cancel_iff (k : Artin M)).mp
62
+ rw [hfix k k.property, ← mul_smul, he]
63
+ exact ha.2
64
+ rw [← he]
65
+ exact Subgroup.mul_mem _
66
+ ((show artinParabolic M K ≤ _ from le_sup_left) k.property)
67
+ ((show relativeStabilizer M v T x ≤ _ from le_sup_right) ⟨t.property, ht⟩)
68
+ · apply sup_le
69
+ · intro k hk
70
+ exact ⟨standard_mono M Set.subset_union_left hk, hfix k hk⟩
71
+ · exact inf_le_inf (standard_mono M Set.subset_union_right) le_rfl
72
+
73
+ omit [Fintype S] [LinearOrder S] in
74
+ /-- The fixed factor is normalized by the complementary standard factor,
75
+ as required by the rank induction. -/
76
+ theorem standard_factor_normalized (K T : Set S)
77
+ (hc : ∀ k ∈ K, ∀ t ∈ T, M k t = 2)
78
+ (t : Artin M) (ht : t ∈ artinParabolic M T) :
79
+ conjugate t (artinParabolic M K) = artinParabolic M K :=
80
+ conjugate_eq_of_commute _ t (fun k hk => sourceParabolics_commute M K T hc k t hk ht)
81
+
82
+ end HarmonicArtin.ParabolicIntersections
83
+
84
+ end OAI
lean/OAI/Topology/ArtinGroups/ParabolicIntersections/FoldingGcd.lean ADDED
@@ -0,0 +1,58 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import OAI.Topology.ArtinGroups.ParabolicIntersections.FoldingHead
2
+ import OAI.Topology.ArtinGroups.ParabolicIntersections.BraidRestriction
3
+
4
+ namespace OAI
5
+
6
+ /-! Discharge of the published common-left-atom folding input. -/
7
+ namespace HarmonicArtin.ParabolicIntersections
8
+ open CoxeterExchange Geometric
9
+ open ReversibleQuiver ReversibleQuiver.Zigzag ReversibleQuiver.Zigzag.BasedComplex
10
+ attribute [local instance] Classical.decEq Classical.propDecidable
11
+ variable {S : Type} [Fintype S] [LinearOrder S] (M : CoxeterMatrix S)
12
+ (Y : Set S) (hY : IsSpherical M Y)
13
+ local notation "R" => restrictedMatrix M Y
14
+ local notation "N" => unfoldedMatrix M Y
15
+ local notation "m" => fusionLabelSize M
16
+ local notation "Q" => fusionQuiver m (coxeterFusionEdge M) (coxeterFusionEdge_symm M)
17
+ local notation "f" => unfoldedInclusion M Y
18
+
19
+ private lemma expanded_braid_prefix (u : List Y) (a : Y × FusionLabel m)
20
+ (r : List (FusionVertex (V:=S⊕Unit) m))
21
+ (hu : PositiveBraidRel Q
22
+ (fusionExpandedWord m (u.map fun j : Y => (Sum.inl (j:S) : S⊕Unit))) (f a::r)) :
23
+ PositivePrefix N (positiveGenerator N a) (foldedPositiveHom M Y hY (wordPositive R u)) := by
24
+ let : Nonempty (Y × FusionLabel m) := ⟨a⟩
25
+ rw [fusionExpandedWord_map] at hu
26
+ have hs : ∀ x ∈ (fusionExpandedWord m u).map f, x ∈ Set.range f := by
27
+ intro x hx
28
+ obtain ⟨b,_,rfl⟩ := List.mem_map.mp hx
29
+ exact ⟨b,rfl⟩
30
+ have he := positiveBraidRel_restrict Q N f (unfoldedInclusion_injective M Y)
31
+ (unfolded_ordinaryMatrix M Y hY) hu hs
32
+ have hinv : ∀ x, Function.invFun f (f x)=x :=
33
+ Function.leftInverse_invFun (unfoldedInclusion_injective M Y)
34
+ have hw : ((fusionExpandedWord m u).map f).map (Function.invFun f)=fusionExpandedWord m u := by
35
+ rw [List.map_map]
36
+ have hi : (Function.invFun f ∘ f)=id := funext hinv
37
+ rw [hi,List.map_id]
38
+ rw [hw,List.map_cons,hinv] at he
39
+ rw [foldedPositiveHom_word]
40
+ exact ⟨wordPositive N (r.map (Function.invFun f)),he⟩
41
+
42
+ /-- Castella's common-atom consequence, now proved for the particular
43
+ color folding rather than supplied as a hypothesis. -/
44
+ theorem folding_gcd_input : PublishedFoldingGcd M Y hY where
45
+ common_atom := by
46
+ intro u v α r s hu hv
47
+ have hmem := (hu.mem_iff Q α).mpr (by simp)
48
+ rw [fusionExpandedWord_map] at hmem
49
+ obtain ⟨a,_,ha⟩ := List.mem_map.mp hmem
50
+ change f a=α at ha
51
+ subst α
52
+ exact ⟨a.1,
53
+ folded_atom_reflect M Y hY _ a (expanded_braid_prefix M Y hY u a r hu),
54
+ folded_atom_reflect M Y hY _ a (expanded_braid_prefix M Y hY v a s hv)⟩
55
+
56
+ end HarmonicArtin.ParabolicIntersections
57
+
58
+ end OAI
lean/OAI/Topology/ArtinGroups/ParabolicIntersections/FoldingGcdInput.lean ADDED
@@ -0,0 +1,57 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import OAI.Topology.ArtinGroups.Harmonic.UnfoldedHom
2
+ import OAI.Topology.ArtinGroups.Harmonic.UnfoldedInclusion
3
+ import OAI.Topology.ArtinGroups.Harmonic.PositivePrefix
4
+ import OAI.Topology.ArtinGroups.Complexes.PositiveTopDivisor
5
+
6
+ namespace OAI
7
+
8
+ /-!
9
+ # Published gcd input for an admissible folding
10
+
11
+ Castella, *Admissible submonoids of Artin--Tits monoids* (2008),
12
+ Proposition 41(2), states that an admissible folding preserves left and
13
+ right gcds. Source: https://arxiv.org/pdf/0804.0704, p. 15.
14
+ The field below is exactly its common-left-atom consequence: if two
15
+ expanded positive words have a common left atom, their original words
16
+ have a common left atom. The folding here is the color partition.
17
+ Its required Coxeter admissibility is already established by
18
+ `unfoldedHom_right_ascent` (constant ascent sign on every color).
19
+
20
+ The field involves positive words and braid relations only. It contains
21
+ no tests, family action, height, stabilizer, or intersection assertion.
22
+ -/
23
+ namespace HarmonicArtin.ParabolicIntersections
24
+ open ReversibleQuiver ReversibleQuiver.Zigzag ReversibleQuiver.Zigzag.BasedComplex
25
+ open CoxeterExchange Geometric
26
+ attribute [local instance] Classical.decEq Classical.propDecidable
27
+ variable {S : Type} [Fintype S] [LinearOrder S] (M : CoxeterMatrix S)
28
+ local notation "m" => fusionLabelSize M
29
+ local notation "Q" => fusionQuiver m (coxeterFusionEdge M) (coxeterFusionEdge_symm M)
30
+
31
+ /-- The precise part of published gcd preservation needed below. The
32
+ sphericity proof is retained in the type to identify the admissible
33
+ finite-type folding to which the source theorem is applied. -/
34
+ structure PublishedFoldingGcd (Y : Set S) (_hY : IsSpherical M Y) : Prop where
35
+ common_atom : ∀ (u v : List Y) (α : FusionVertex (V := S⊕Unit) m)
36
+ (r s : List (FusionVertex (V := S⊕Unit) m)),
37
+ PositiveBraidRel Q (fusionExpandedWord m (u.map fun j : Y => (Sum.inl (j:S) : S⊕Unit))) (α::r) →
38
+ PositiveBraidRel Q (fusionExpandedWord m (v.map fun j : Y => (Sum.inl (j:S) : S⊕Unit))) (α::s) →
39
+ ∃ i : Y, PositivePrefix (restrictedMatrix M Y) (positiveGenerator _ i) (wordPositive _ u) ∧
40
+ PositivePrefix (restrictedMatrix M Y) (positiveGenerator _ i) (wordPositive _ v)
41
+
42
+ /-- The Coxeter admissibility condition is proved, rather than included
43
+ as a categorical assumption: all vertices of a color have the same
44
+ right-ascent behavior on every element of the folded Coxeter group. -/
45
+ theorem unfolded_color_admissible (Y : Set S) (hY : IsSpherical M Y)
46
+ (w : (restrictedMatrix M Y).Group) (i : Y) (L H : FusionLabel m) :
47
+ let N := (unfoldedMatrix M Y).toCoxeterSystem
48
+ N.length (unfoldedHom M Y hY w * N.simple (i,L)) =
49
+ N.length (unfoldedHom M Y hY w)+1 ↔
50
+ N.length (unfoldedHom M Y hY w * N.simple (i,H)) =
51
+ N.length (unfoldedHom M Y hY w)+1 := by
52
+ exact (unfoldedHom_right_ascent M Y hY w (i,L)).trans
53
+ (unfoldedHom_right_ascent M Y hY w (i,H)).symm
54
+
55
+ end HarmonicArtin.ParabolicIntersections
56
+
57
+ end OAI
lean/OAI/Topology/ArtinGroups/ParabolicIntersections/FoldingHead.lean ADDED
@@ -0,0 +1,103 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import OAI.Topology.ArtinGroups.ParabolicIntersections.FoldingSimpleGcd
2
+ import OAI.Topology.ArtinGroups.ParabolicIntersections.PositiveHeadProduct
3
+
4
+ namespace OAI
5
+
6
+ /-! Greedy heads, and hence left atoms, are preserved by folding. -/
7
+ namespace HarmonicArtin.ParabolicIntersections
8
+ open CoxeterExchange Geometric
9
+ attribute [local instance] Classical.decEq Classical.propDecidable
10
+ variable {S : Type} [Fintype S] [LinearOrder S] (M : CoxeterMatrix S)
11
+ (Y : Set S) (hY : IsSpherical M Y)
12
+ local notation "R" => restrictedMatrix M Y
13
+ local notation "N" => unfoldedMatrix M Y
14
+ local notation "Φ" => foldedPositiveHom M Y hY
15
+ local notation "P" => positiveSimpleLift R
16
+
17
+ omit [Fintype S] [LinearOrder S] in
18
+ private lemma positive_nil : wordPositive R [] = 1 := rfl
19
+
20
+ omit [Fintype S] [LinearOrder S] in
21
+ private lemma positive_cons (i : Y) (w : List Y) :
22
+ wordPositive R (i::w)=positiveGenerator R i*wordPositive R w := rfl
23
+
24
+ /-- The original and folded positive elements have corresponding greedy heads. -/
25
+ theorem folded_positive_head (b : PositiveArtin R) :
26
+ ∃ h : (R).Group,
27
+ PositivePrefix R (P h) b ∧
28
+ (∀ w, PositivePrefix R (P w) b → PositivePrefix R (P w) (P h)) ∧
29
+ PositivePrefix N (Φ (P h)) (Φ b) ∧
30
+ (∀ w, PositivePrefix N (positiveSimpleLift N w) (Φ b) →
31
+ PositivePrefix N (positiveSimpleLift N w) (Φ (P h))) := by
32
+ let : Finite (R).Group := restricted_finite M Y hY
33
+ let : Finite (N).Group := unfolded_finite M Y hY
34
+ let : LinearOrder (Y × FusionLabel (fusionLabelSize M)) :=
35
+ LinearOrder.lift' (Fintype.equivFin _) (Fintype.equivFin _).injective
36
+ obtain ⟨z,hz⟩ := exists_longest (R).toCoxeterSystem
37
+ have hzN := unfolded_longest M Y hY z hz
38
+ have cancelR := spherical_positive_cancel_left M Y hY
39
+ have cancelN := finite_positive_cancel_left N
40
+ obtain ⟨word,rfl⟩ := positive_word_surjective R b
41
+ induction word with
42
+ | nil =>
43
+ refine ⟨1,?_,?_,?_,?_⟩
44
+ · simpa only [positiveSimpleLift_one,positive_nil] using positivePrefix_refl R 1
45
+ · intro w hw
46
+ simpa only [positiveSimpleLift_one,positive_nil] using hw
47
+ · simp only [positiveSimpleLift_one,positive_nil,map_one]
48
+ exact positivePrefix_refl N 1
49
+ · intro w hw
50
+ simpa only [positiveSimpleLift_one,positive_nil,map_one] using hw
51
+ | cons i word ih =>
52
+ obtain ⟨h,hh,hhead,hhN,hheadN⟩ := ih
53
+ obtain ⟨g,hgc,hgh,hgreat⟩ := exists_greatest_common_simplePrefix R
54
+ (((R).toCoxeterSystem.simple i)⁻¹*z) h
55
+ obtain ⟨k,hk,hkb,hkhead⟩ := positive_head_product R cancelR z hz
56
+ ((R).toCoxeterSystem.simple i) h g (wordPositive R word) hh hhead hgc hgh hgreat
57
+ have hcN : PositivePrefix N
58
+ (positiveSimpleLift N (unfoldedHom M Y hY g))
59
+ (positiveSimpleLift N ((unfoldedHom M Y hY ((R).toCoxeterSystem.simple i))⁻¹*
60
+ unfoldedHom M Y hY z)) := by
61
+ rw [←map_inv,←map_mul,←foldedPositiveHom_simpleLift,←foldedPositiveHom_simpleLift]
62
+ obtain ⟨r,hr⟩ := hgc
63
+ exact ⟨Φ r,by rw [hr,map_mul]⟩
64
+ have hgN : PositivePrefix N (positiveSimpleLift N (unfoldedHom M Y hY g))
65
+ (positiveSimpleLift N (unfoldedHom M Y hY h)) := by
66
+ rw [←foldedPositiveHom_simpleLift,←foldedPositiveHom_simpleLift]
67
+ obtain ⟨r,hr⟩ := hgh
68
+ exact ⟨Φ r,by rw [hr,map_mul]⟩
69
+ have hgreatN := folded_simple_gcd M Y hY _ _ _ hgc hgh hgreat
70
+ simp only [foldedPositiveHom_simpleLift,map_mul,map_inv] at hgreatN
71
+ obtain ⟨kN,hkN,hkbN,hkheadN⟩ := positive_head_product N cancelN
72
+ (unfoldedHom M Y hY z) hzN
73
+ (unfoldedHom M Y hY ((R).toCoxeterSystem.simple i))
74
+ (unfoldedHom M Y hY h) (unfoldedHom M Y hY g) (Φ (wordPositive R word))
75
+ (by simpa only [foldedPositiveHom_simpleLift] using hhN)
76
+ (by simpa only [foldedPositiveHom_simpleLift] using hheadN) hcN hgN hgreatN
77
+ have heN : positiveSimpleLift N kN=Φ (P k) := by
78
+ rw [hkN,←foldedPositiveHom_simpleLift,←foldedPositiveHom_simpleLift,←map_mul,←hk]
79
+ refine ⟨k,?_,?_,?_,?_⟩
80
+ · simpa only [positiveSimpleLift_simple,positive_cons] using hkb
81
+ · simpa only [positiveSimpleLift_simple,positive_cons] using hkhead
82
+ · rw [←heN]
83
+ simpa only [←foldedPositiveHom_simpleLift,positiveSimpleLift_simple,positive_cons,←map_mul] using hkbN
84
+ · intro w hw
85
+ rw [←heN]
86
+ apply hkheadN
87
+ simpa only [←foldedPositiveHom_simpleLift,positiveSimpleLift_simple,positive_cons,←map_mul] using hw
88
+
89
+ /-- Every atom dividing an expanded positive word has its entire color as
90
+ a left divisor. This is the exact divisibility consequence needed downstream. -/
91
+ theorem folded_atom_reflect (b : PositiveArtin R)
92
+ (α : Y × FusionLabel (fusionLabelSize M))
93
+ (hα : PositivePrefix N (positiveGenerator N α) (Φ b)) :
94
+ PositivePrefix R (positiveGenerator R α.1) b := by
95
+ obtain ⟨h,hh,_,_,hhead⟩ := folded_positive_head M Y hY b
96
+ have hp : PositivePrefix N (positiveGenerator N α) (Φ (P h)) := by
97
+ simpa only [positiveSimpleLift_simple,positive_cons] using
98
+ hhead ((N).toCoxeterSystem.simple α) (by simpa only [positiveSimpleLift_simple,positive_cons] using hα)
99
+ exact positivePrefix_trans R ((folded_simple_atom_iff M Y hY h α).mp hp) hh
100
+
101
+ end HarmonicArtin.ParabolicIntersections
102
+
103
+ end OAI
lean/OAI/Topology/ArtinGroups/ParabolicIntersections/FoldingPositive.lean ADDED
@@ -0,0 +1,88 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import OAI.Topology.ArtinGroups.ParabolicIntersections.FoldingGcdInput
2
+ import OAI.Topology.ArtinGroups.Harmonic.UnfoldedColorOrthogonal
3
+ import OAI.Topology.ArtinGroups.Cancellation.SphericalPositiveCancelLeft
4
+
5
+ namespace OAI
6
+
7
+ /-! Positive-monoid folding and its action on simple elements. These are
8
+ proved from the Coxeter word theorem and the established folding geometry. -/
9
+ namespace HarmonicArtin.ParabolicIntersections
10
+ open CoxeterExchange Geometric
11
+ attribute [local instance] Classical.decEq Classical.propDecidable
12
+ variable {S : Type} [Fintype S] [LinearOrder S] (M : CoxeterMatrix S)
13
+ (Y : Set S) (hY : IsSpherical M Y)
14
+ local notation "R" => restrictedMatrix M Y
15
+ local notation "N" => unfoldedMatrix M Y
16
+ local notation "m" => fusionLabelSize M
17
+
18
+ private lemma folded_word_product (w : List Y) :
19
+ (w.map (fun i => wordPositive N (fusionExpandedWord m [i]))).prod =
20
+ wordPositive N (fusionExpandedWord m w) := by
21
+ induction w with
22
+ | nil => rfl
23
+ | cons i w ih =>
24
+ rw [List.map_cons,List.prod_cons,ih]
25
+ simpa only [fusionExpandedWord, List.flatMap_cons, List.flatMap_nil, List.append_nil] using
26
+ (wordPositive_append N (fusionExpandedWord m [i]) (fusionExpandedWord m w)).symm
27
+
28
+ include hY in
29
+ private lemma folded_positive_relations :
30
+ ∀ a b : FreeMonoid Y, positiveBraidRelations R a b →
31
+ FreeMonoid.lift (fun i => wordPositive N (fusionExpandedWord m [i])) a =
32
+ FreeMonoid.lift (fun i => wordPositive N (fusionExpandedWord m [i])) b := by
33
+ rintro a b ⟨i,j,rfl,rfl⟩
34
+ simp only [FreeMonoid.lift_ofList,folded_word_product]
35
+ let : Finite (R).Group := restricted_finite M Y hY
36
+ obtain ⟨z,hz⟩ := exists_longest (R).toCoxeterSystem
37
+ apply wordPositive_eq_of_reduced N
38
+ · exact unfolded_reducedWord M Y hY _ (alternating_isReduced_of_longest R z hz i j)
39
+ · rw [(R).symmetric i j]
40
+ exact unfolded_reducedWord M Y hY _ (alternating_isReduced_of_longest R z hz j i)
41
+ · exact unfolded_word_eq M Y hY _ _ (altList_braid (R).toCoxeterSystem i j)
42
+
43
+ noncomputable def foldedPositiveHom : PositiveArtin R →* PositiveArtin N :=
44
+ PresentedMonoid.lift (fun i => wordPositive N (fusionExpandedWord m [i]))
45
+ (folded_positive_relations M Y hY)
46
+
47
+ @[simp] lemma foldedPositiveHom_generator (i : Y) :
48
+ foldedPositiveHom M Y hY (positiveGenerator R i)=
49
+ wordPositive N (fusionExpandedWord m [i]) := rfl
50
+
51
+ lemma foldedPositiveHom_word (w : List Y) :
52
+ foldedPositiveHom M Y hY (wordPositive R w)=wordPositive N (fusionExpandedWord m w) := by
53
+ unfold wordPositive
54
+ rw [map_list_prod]
55
+ simp only [List.map_map,Function.comp_def,foldedPositiveHom_generator]
56
+ exact folded_word_product M Y w
57
+
58
+ lemma foldedPositiveHom_simpleLift (w : (R).Group) :
59
+ foldedPositiveHom M Y hY (positiveSimpleLift R w)=
60
+ positiveSimpleLift N (unfoldedHom M Y hY w) := by
61
+ change foldedPositiveHom M Y hY (wordPositive R (reducedExpression R w))=_
62
+ rw [foldedPositiveHom_word]
63
+ have hu := unfolded_reducedWord M Y hY _ (reducedExpression_reduced R w)
64
+ have hw : (N).toCoxeterSystem.wordProd (fusionExpandedWord m (reducedExpression R w)) =
65
+ unfoldedHom M Y hY w := by
66
+ rw [← unfoldedHom_wordProd]
67
+ exact congrArg (unfoldedHom M Y hY) (wordCoxeter_reducedExpression R w)
68
+ rw [←hw]
69
+ exact (positiveSimpleLift_word N _ hu).symm
70
+
71
+ /-- A left atom divides the folded simple element precisely when its
72
+ original color divides the original simple element. -/
73
+ theorem folded_simple_atom_iff (w : (R).Group) (α : Y × FusionLabel m) :
74
+ PositivePrefix N (positiveGenerator N α)
75
+ (foldedPositiveHom M Y hY (positiveSimpleLift R w)) ↔
76
+ PositivePrefix R (positiveGenerator R α.1) (positiveSimpleLift R w) := by
77
+ rw [foldedPositiveHom_simpleLift,←positiveSimpleLift_simple N α,
78
+ ←positiveSimpleLift_simple R α.1,positivePrefix_simple_iff,positivePrefix_simple_iff,
79
+ weakPrefix_simple_iff,weakPrefix_simple_iff]
80
+ have h := unfoldedHom_left_ascent M Y hY w α
81
+ have hn := (N).toCoxeterSystem.length_simple_mul (unfoldedHom M Y hY w) α
82
+ have hr := (R).toCoxeterSystem.length_simple_mul w α.1
83
+ dsimp only at h
84
+ omega
85
+
86
+ end HarmonicArtin.ParabolicIntersections
87
+
88
+ end OAI
lean/OAI/Topology/ArtinGroups/ParabolicIntersections/FoldingSimpleGcd.lean ADDED
@@ -0,0 +1,93 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import OAI.Topology.ArtinGroups.ParabolicIntersections.FoldingPositive
2
+ import OAI.Topology.ArtinGroups.ParabolicIntersections.PositiveTransport
3
+
4
+ namespace OAI
5
+
6
+ /-! Folding preserves greatest common prefixes of simple elements. -/
7
+ namespace HarmonicArtin.ParabolicIntersections
8
+ open CoxeterExchange Geometric
9
+ attribute [local instance] Classical.decEq Classical.propDecidable
10
+ variable {S : Type} [Fintype S] [LinearOrder S] (M : CoxeterMatrix S)
11
+ (Y : Set S) (hY : IsSpherical M Y)
12
+ local notation "R" => restrictedMatrix M Y
13
+ local notation "N" => unfoldedMatrix M Y
14
+ local notation "Φ" => foldedPositiveHom M Y hY
15
+ local notation "P" => positiveSimpleLift R
16
+
17
+ private lemma folded_prefix {a b : PositiveArtin R} (h : PositivePrefix R a b) :
18
+ PositivePrefix N (Φ a) (Φ b) := by
19
+ obtain ⟨c,rfl⟩ := h
20
+ exact ⟨_,map_mul _ _ _⟩
21
+
22
+ /-- Greatest common prefixes of simples are preserved by the color folding.
23
+ The induction removes one complete color at a time. -/
24
+ theorem folded_simple_gcd (u v g : (R).Group)
25
+ (hgu : PositivePrefix R (P g) (P u)) (hgv : PositivePrefix R (P g) (P v))
26
+ (hg : ∀ e, PositivePrefix R e (P u) → PositivePrefix R e (P v) → PositivePrefix R e (P g)) :
27
+ ∀ e, PositivePrefix N e (Φ (P u)) → PositivePrefix N e (Φ (P v)) →
28
+ PositivePrefix N e (Φ (P g)) := by
29
+ let : Finite (N).Group := unfolded_finite M Y hY
30
+ let : LinearOrder (Y × FusionLabel (fusionLabelSize M)) :=
31
+ LinearOrder.lift' (Fintype.equivFin _) (Fintype.equivFin _).injective
32
+ have cancelR := spherical_positive_cancel_left M Y hY
33
+ have cancelN := finite_positive_cancel_left N
34
+ induction u using (measure (fun u => (R).toCoxeterSystem.length u)).wf.induction
35
+ generalizing v g with
36
+ | h u ih =>
37
+ intro e heu hev
38
+ obtain ⟨d,hdu,hdv,hd⟩ := exists_greatest_common_simplePrefix N
39
+ (unfoldedHom M Y hY u) (unfoldedHom M Y hY v)
40
+ simp only [←foldedPositiveHom_simpleLift] at hdu hdv hd
41
+ apply positivePrefix_trans N (hd e heu hev)
42
+ by_cases hd1 : positiveSimpleLift N d=1
43
+ · rw [hd1]
44
+ exact positivePrefix_one N _
45
+ obtain ⟨α,hα⟩ := exists_positive_first N hd1
46
+ have hau := positivePrefix_trans N hα hdu
47
+ have hav := positivePrefix_trans N hα hdv
48
+ have hiu := (folded_simple_atom_iff M Y hY u α).mp hau
49
+ have hiv := (folded_simple_atom_iff M Y hY v α).mp hav
50
+ have hig := hg _ hiu hiv
51
+ obtain ⟨ur,hur⟩ := hiu
52
+ obtain ⟨vr,hvr⟩ := hiv
53
+ obtain ⟨gr,hgr⟩ := hig
54
+ have su := (positive_simple_factors R _ _ _ hur.symm).2
55
+ have sv := (positive_simple_factors R _ _ _ hvr.symm).2
56
+ have sg := (positive_simple_factors R _ _ _ hgr.symm).2
57
+ have pgu : PositivePrefix R gr ur :=
58
+ (positivePrefix_mul_left_iff R cancelR _ _ _).mp (by rwa [←hur,←hgr])
59
+ have pgv : PositivePrefix R gr vr :=
60
+ (positivePrefix_mul_left_iff R cancelR _ _ _).mp (by rwa [←hvr,←hgr])
61
+ have pg : ∀ x, PositivePrefix R x ur → PositivePrefix R x vr → PositivePrefix R x gr := by
62
+ intro x hxu hxv
63
+ apply (positivePrefix_mul_left_iff R cancelR (positiveGenerator R α.1) x gr).mp
64
+ rw [←hgr]
65
+ apply hg
66
+ · rw [hur]; exact positivePrefix_mul_left R _ hxu
67
+ · rw [hvr]; exact positivePrefix_mul_left R _ hxv
68
+ have hcolor : PositivePrefix N (Φ (positiveGenerator R α.1)) (positiveSimpleLift N d) :=
69
+ hd _ (folded_prefix M Y hY ⟨ur,hur⟩) (folded_prefix M Y hY ⟨vr,hvr⟩)
70
+ obtain ⟨dr,hdr⟩ := hcolor
71
+ have dru : PositivePrefix N dr (Φ ur) :=
72
+ (positivePrefix_mul_left_iff N cancelN _ _ _).mp (by
73
+ simpa only [hur,map_mul,hdr] using hdu)
74
+ have drv : PositivePrefix N dr (Φ vr) :=
75
+ (positivePrefix_mul_left_iff N cancelN _ _ _).mp (by
76
+ simpa only [hvr,map_mul,hdr] using hdv)
77
+ have hlt : (R).toCoxeterSystem.length (positiveToCoxeter R ur) <
78
+ (R).toCoxeterSystem.length u := by
79
+ have hdg := congrArg (positiveDegree R) hur
80
+ simp only [positiveDegree_simpleLift,positiveDegree_mul,positiveDegree_generator] at hdg
81
+ rw [su,positiveDegree_simpleLift] at hdg
82
+ omega
83
+ have hr := ih (positiveToCoxeter R ur) hlt (positiveToCoxeter R vr)
84
+ (positiveToCoxeter R gr) (by rwa [←sg,←su]) (by rwa [←sg,←sv])
85
+ (by simpa only [←su,←sv,←sg] using pg) dr
86
+ (by rwa [←su]) (by rwa [←sv])
87
+ rw [←sg] at hr
88
+ rw [hdr,hgr,map_mul]
89
+ exact positivePrefix_mul_left N _ hr
90
+
91
+ end HarmonicArtin.ParabolicIntersections
92
+
93
+ end OAI
lean/OAI/Topology/ArtinGroups/ParabolicIntersections/GeneratorPowers.lean ADDED
@@ -0,0 +1,129 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import OAI.Topology.ArtinGroups.ParabolicIntersections.StandardEmbedding
2
+
3
+ namespace OAI
4
+
5
+ /-! Infinite cyclic generator subgroups and their intersections with standard
6
+ parabolics. The retraction argument supplies infinite branching in visual trees. -/
7
+ namespace HarmonicArtin.ParabolicIntersections
8
+ open CoxeterExchange Geometric
9
+ attribute [local instance] Classical.decEq Classical.propDecidable
10
+ variable {S : Type} (M : CoxeterMatrix S)
11
+
12
+ private lemma exponent_alternating (s t : S) (n : ℕ) :
13
+ FreeGroup.lift (fun _ : S => Multiplicative.ofAdd (1 : ℤ)) (alternating s t n)=
14
+ Multiplicative.ofAdd (n : ℤ) := by
15
+ induction n generalizing s t with
16
+ | zero => rfl
17
+ | succ n ih =>
18
+ rw [alternating,map_mul,FreeGroup.lift_apply_of,ih]
19
+ change Multiplicative.ofAdd (1+(n : ℤ))=Multiplicative.ofAdd (n+1 : ℤ)
20
+ congr 1
21
+ omega
22
+
23
+ private lemma exponent_relators : ∀ r∈braidRelators M,
24
+ FreeGroup.lift (fun _ : S => Multiplicative.ofAdd (1 : ℤ)) r=1 := by
25
+ rintro r ⟨⟨s,t⟩,rfl⟩
26
+ rw [map_mul,map_inv,exponent_alternating,exponent_alternating,mul_inv_cancel]
27
+
28
+ /-- The total exponent homomorphism for the Artin presentation. -/
29
+ def artinExponent : Artin M →* Multiplicative ℤ :=
30
+ PresentedGroup.toGroup (exponent_relators M)
31
+
32
+ @[simp] lemma artinExponent_generator (s : S) :
33
+ artinExponent M (generator M s)=Multiplicative.ofAdd (1 : ℤ) :=
34
+ PresentedGroup.toGroup.of _
35
+
36
+ lemma generator_zpow_eq_one_iff (s : S) (n : ℤ) :
37
+ generator M s ^ n=1 ↔ n=0 := by
38
+ constructor
39
+ · intro h
40
+ have he := congrArg (artinExponent M) h
41
+ simp only [map_zpow,map_one] at he
42
+ rw [artinExponent_generator] at he
43
+ simpa using congrArg Multiplicative.toAdd he
44
+ · rintro rfl
45
+ exact zpow_zero _
46
+
47
+ variable [Fintype S] (J : Set S)
48
+ local notation "cs" => M.toCoxeterSystem
49
+ local notation "R" => restrictedMatrix M J
50
+
51
+ lemma parabolicStepLetter_one_outside (t : S) (ht : t∉J) :
52
+ parabolicStepLetter cs J 1 t=none := by
53
+ have hrep : parabolicRep cs J 1=1 :=
54
+ parabolicRep_of_minimum cs J 1 (by intro a _; simp only [(cs).length_one]; omega)
55
+ have hcomp : parabolicComponent cs J 1=1 := by simp only [parabolicComponent,hrep,inv_one,mul_one]
56
+ cases hh : parabolicStepLetter cs J 1 t with
57
+ | none => rfl
58
+ | some s =>
59
+ have he := parabolicStepLetter_conjugate cs J 1 t s hh
60
+ simp only [hcomp,MulAut.conj_apply,one_mul,inv_one,mul_one] at he
61
+ exact False.elim (ht ((simple_injective cs he) ▸ s.property))
62
+
63
+ lemma parabolicStepArtin_one_outside (t : S) (ht : t∉J) :
64
+ parabolicStepArtin M J 1 t=1 := by
65
+ simp only [parabolicStepArtin,parabolicStepLetter_one_outside M J t ht,
66
+ Option.toList_none,wordArtin,List.map_nil,List.prod_nil]
67
+
68
+ /-- Every integral power of an outside generator has trivial parabolic read. -/
69
+ lemma generator_power_retraction (t : S) (ht : t∉J) (n : ℤ) :
70
+ (MulOpposite.unop (parabolicRetractionAction M J (generator M t ^ n))
71
+ (1,1)).2=1 := by
72
+ let f := parabolicStepPerm M J t
73
+ let B : Set (M.Group × Artin R) := {x | (x.1=1 ∨ x.1=(cs).simple t) ∧ x.2=1}
74
+ have hs := parabolicStepArtin_one_outside M J t ht
75
+ have hs' : parabolicStepArtin M J ((cs).simple t) t=1 := by
76
+ simpa only [one_mul] using (parabolicStepArtin_reverse M J 1 t).trans hs
77
+ have hf : ∀ x∈B, f x∈B := by
78
+ rintro ⟨w,a⟩ ⟨hw,ha⟩
79
+ rcases hw with rfl|rfl
80
+ · refine ⟨Or.inr (one_mul _),?_⟩
81
+ change a*parabolicStepArtin M J 1 t=1
82
+ rwa [hs,mul_one]
83
+ · refine ⟨Or.inl ((cs).simple_mul_simple_self t),?_⟩
84
+ change a*parabolicStepArtin M J ((cs).simple t) t=1
85
+ rwa [hs',mul_one]
86
+ have hfi : ∀ x∈B, f.symm x∈B := by
87
+ rintro ⟨w,a⟩ ⟨hw,ha⟩
88
+ rcases hw with rfl|rfl
89
+ · refine ⟨Or.inr (one_mul _),?_⟩
90
+ change a*(parabolicStepArtin M J 1 t)⁻¹=1
91
+ rwa [hs,inv_one,mul_one]
92
+ · refine ⟨Or.inl ((cs).simple_mul_simple_self t),?_⟩
93
+ change a*(parabolicStepArtin M J ((cs).simple t) t)⁻¹=1
94
+ rwa [hs',inv_one,mul_one]
95
+ have hall : ∀ n : ℤ, MulOpposite.unop (parabolicRetractionAction M J (generator M t ^ n)) (1,1)∈B := by
96
+ intro n
97
+ induction n using Int.induction_on with
98
+ | zero =>
99
+ simp only [zpow_zero,map_one,MulOpposite.unop_one,Equiv.Perm.one_apply]
100
+ exact ⟨Or.inl rfl,rfl⟩
101
+ | succ n ih =>
102
+ rw [zpow_add_one,map_mul,MulOpposite.unop_mul,Equiv.Perm.mul_apply,
103
+ parabolicRetractionAction_generator,MulOpposite.unop_op]
104
+ exact hf _ ih
105
+ | pred n ih =>
106
+ rw [zpow_sub_one,map_mul,map_inv,MulOpposite.unop_mul,Equiv.Perm.mul_apply,
107
+ parabolicRetractionAction_generator,MulOpposite.unop_inv,MulOpposite.unop_op]
108
+ exact hfi _ ih
109
+ exact (hall n).2
110
+
111
+ /-- A nonzero power of an omitted generator never lies in a standard parabolic. -/
112
+ theorem generator_zpow_not_mem (t : S) (ht : t∉J) (n : ℤ) (hn : n≠0) :
113
+ generator M t ^ n∉artinParabolic M J := by
114
+ intro hm
115
+ obtain ⟨a,ha⟩ := (restrictedArtinHom_range M J ▸ hm)
116
+ have h := parabolicRetractionAction_standard M J a 1
117
+ have he := generator_power_retraction M J t ht n
118
+ rw [←ha] at he
119
+ change (MulOpposite.unop (parabolicRetractionAction M J (restrictedArtinHom M J a))
120
+ (parabolicState M J 1)).2=1 at he
121
+ rw [h] at he
122
+ change 1*a=1 at he
123
+ rw [one_mul] at he
124
+ have hh : generator M t ^ n=1 := by rw [←ha,he,map_one]
125
+ exact hn ((generator_zpow_eq_one_iff M t n).mp hh)
126
+
127
+ end HarmonicArtin.ParabolicIntersections
128
+
129
+ end OAI
lean/OAI/Topology/ArtinGroups/ParabolicIntersections/GraphMetric.lean ADDED
@@ -0,0 +1,45 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import Mathlib.Combinatorics.SimpleGraph.Acyclic
2
+ import Mathlib.Topology.MetricSpace.Isometry
3
+ import Mathlib.GroupTheory.GroupAction.Basic
4
+
5
+ namespace OAI
6
+
7
+ /-! The real-valued graph metric and the induced isometric action. -/
8
+ namespace HarmonicArtin.ParabolicIntersections.TreeAction
9
+ variable {V : Type} (H : SimpleGraph V)
10
+
11
+ @[instance_reducible]
12
+ noncomputable def graphMetric (hH : H.Connected) : MetricSpace V where
13
+ dist x y := H.dist x y
14
+ dist_self x := by simp
15
+ dist_comm x y := by rw [H.dist_comm]
16
+ dist_triangle x y z := by exact_mod_cast hH.dist_triangle (u := x) (v := y) (w := z)
17
+ eq_of_dist_eq_zero h := hH.dist_eq_zero_iff.mp (Nat.cast_eq_zero.mp h)
18
+
19
+ variable {G : Type} [Group G] [MulAction G V]
20
+
21
+ lemma graph_action_dist (hH : H.Connected)
22
+ (hA : ∀ g : G,∀ ⦃x y : V⦄,H.Adj x y → H.Adj (g • x) (g • y))
23
+ (g : G) (x y : V) : H.dist (g • x) (g • y)=H.dist x y := by
24
+ have hle (a : G) (u v : V) : H.dist (a • u) (a • v)≤H.dist u v := by
25
+ obtain ⟨p,hp⟩ := hH.exists_walk_length_eq_dist u v
26
+ let f : H →g H := ⟨(a • ·),fun h => hA a h⟩
27
+ have h := H.dist_le (p.map f)
28
+ change H.dist (a • u) (a • v)≤(p.map f).length at h
29
+ simpa only [SimpleGraph.Walk.length_map,hp] using h
30
+ apply le_antisymm (hle g x y)
31
+ simpa only [inv_smul_smul] using hle g⁻¹ (g • x) (g • y)
32
+
33
+ lemma graph_action_isometric (hH : H.Connected)
34
+ (hA : ∀ g : G,∀ ⦃x y : V⦄,H.Adj x y → H.Adj (g • x) (g • y)) (g : G) :
35
+ let _ := graphMetric H hH
36
+ Isometry (fun x : V => g • x) := by
37
+ let _ := graphMetric H hH
38
+ apply isometry_iff_dist_eq.mpr
39
+ intro x y
40
+ change (H.dist (g • x) (g • y) : ℝ)=(H.dist x y : ℝ)
41
+ exact_mod_cast graph_action_dist H hH hA g x y
42
+
43
+ end HarmonicArtin.ParabolicIntersections.TreeAction
44
+
45
+ end OAI
lean/OAI/Topology/ArtinGroups/ParabolicIntersections/GraphRealizationAction.lean ADDED
@@ -0,0 +1,114 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import OAI.Topology.ArtinGroups.ParabolicIntersections.GraphRealizationSpace
2
+ import OAI.Topology.ArtinGroups.ParabolicIntersections.TreeActionDefinitions
3
+
4
+ namespace OAI
5
+
6
+ /-! An action on a graph extends isometrically to its unit-interval realization. -/
7
+ namespace HarmonicArtin.ParabolicIntersections.GraphRealization
8
+ open TreeAction
9
+ attribute [local instance] Classical.decEq Classical.propDecidable
10
+ variable {G V : Type} [Group G] [MulAction G V]
11
+ variable (H : SimpleGraph V) (hA : PreservesAdj (G := G) H)
12
+
13
+ def actDart (g : G) (e : H.Dart) : H.Dart := ⟨(g • e.fst,g • e.snd),hA g e.adj⟩
14
+
15
+ lemma actDart_injective (g : G) : Function.Injective (actDart H hA g) := by
16
+ intro e f he
17
+ apply SimpleGraph.Dart.ext
18
+ apply Prod.ext
19
+ · exact (MulAction.toPerm g).injective (congrArg (fun d : H.Dart => d.fst) he)
20
+ · exact (MulAction.toPerm g).injective (congrArg (fun d : H.Dart => d.snd) he)
21
+
22
+ def actPoint (g : G) : Point H → Point H
23
+ | .vertex v => .vertex (g • v)
24
+ | .edge e t => .edge (actDart H hA g e) t
25
+
26
+ lemma actPoint_one (p : Point H) : actPoint H hA 1 p=p := by
27
+ cases p with
28
+ | vertex v => simp [actPoint]
29
+ | edge e t =>
30
+ change Point.edge (actDart H hA 1 e) t=Point.edge e t
31
+ apply congrArg (fun d : H.Dart => Point.edge d t)
32
+ apply SimpleGraph.Dart.ext
33
+ simp [actDart,one_smul]
34
+
35
+ lemma actPoint_mul (g h : G) (p : Point H) :
36
+ actPoint H hA (g*h) p=actPoint H hA g (actPoint H hA h p) := by
37
+ cases p with
38
+ | vertex v => simp [actPoint,mul_smul]
39
+ | edge e t =>
40
+ change Point.edge (actDart H hA (g*h) e) t=
41
+ Point.edge (actDart H hA g (actDart H hA h e)) t
42
+ apply congrArg (fun d : H.Dart => Point.edge d t)
43
+ apply SimpleGraph.Dart.ext
44
+ simp [actDart,mul_smul]
45
+
46
+ lemma anchor_act (g : G) (p : Point H) (i : Bool) :
47
+ anchor H (actPoint H hA g p) i=g • anchor H p i := by
48
+ cases p <;> cases i <;> rfl
49
+
50
+ lemma weight_act (g : G) (p : Point H) (i : Bool) :
51
+ weight H (actPoint H hA g p) i=weight H p i := by
52
+ cases p <;> cases i <;> rfl
53
+
54
+ lemma route_act (hH : H.Connected) (g : G) (p q : Point H) (i j : Bool) :
55
+ route H (actPoint H hA g p) (actPoint H hA g q) i j=route H p q i j := by
56
+ simp only [route,anchor_act,weight_act,graph_action_dist H hH hA]
57
+
58
+ lemma distance_act (hH : H.Connected) (g : G) (p q : Point H) :
59
+ distance H (actPoint H hA g p) (actPoint H hA g q)=distance H p q := by
60
+ have hv (p q : Point H) : via H (actPoint H hA g p) (actPoint H hA g q)=via H p q := by
61
+ simp only [via,route_act H hA hH]
62
+ cases p with
63
+ | vertex x => cases q <;> exact hv _ _
64
+ | edge e t =>
65
+ cases q with
66
+ | vertex y =>
67
+ change via H (actPoint H hA g (.edge e t)) (actPoint H hA g (.vertex y))=via H (.edge e t) (.vertex y)
68
+ exact hv _ _
69
+ | edge f s =>
70
+ have he : actDart H hA g e=actDart H hA g f ↔ e=f := (actDart_injective H hA g).eq_iff
71
+ simp only [actPoint,distance,he]
72
+ rw [←actPoint,←actPoint,hv]
73
+
74
+ noncomputable def act (hH : H.Connected) (g : G) : Space H hH → Space H hH := by
75
+ let _ := premetric H hH
76
+ exact SeparationQuotient.map (actPoint H hA g)
77
+
78
+ lemma act_embed (hH : H.Connected) (g : G) (p : Point H) :
79
+ act H hA hH g (embed H hH p)=embed H hH (actPoint H hA g p) := by
80
+ let _ := premetric H hH
81
+ have hi : Isometry (actPoint H hA g) := by
82
+ apply isometry_iff_dist_eq.mpr
83
+ exact distance_act H hA hH g
84
+ exact SeparationQuotient.map_mk hi.uniformContinuous p
85
+
86
+ @[instance_reducible]
87
+ noncomputable def action (hH : H.Connected) : MulAction G (Space H hH) where
88
+ smul := act H hA hH
89
+ one_smul x := by
90
+ obtain ⟨p,rfl⟩ := embed_surjective H hH x
91
+ change act H hA hH 1 (embed H hH p)=embed H hH p
92
+ rw [act_embed,actPoint_one]
93
+ mul_smul g h x := by
94
+ obtain ⟨p,rfl⟩ := embed_surjective H hH x
95
+ change act H hA hH (g*h) (embed H hH p)=act H hA hH g (act H hA hH h (embed H hH p))
96
+ rw [act_embed,act_embed,act_embed,actPoint_mul]
97
+
98
+ lemma action_isometric (hH : H.Connected) (g : G) :
99
+ let _ := action H hA hH
100
+ Isometry (fun x : Space H hH => g • x) := by
101
+ let _ := action H hA hH
102
+ apply isometry_iff_dist_eq.mpr
103
+ intro x y
104
+ obtain ⟨p,rfl⟩ := embed_surjective H hH x
105
+ obtain ⟨q,rfl⟩ := embed_surjective H hH y
106
+ change dist (act H hA hH g (embed H hH p)) (act H hA hH g (embed H hH q))= _
107
+ rw [act_embed,act_embed,dist_embed,dist_embed,distance_act H hA hH g]
108
+
109
+ lemma act_vertex (hH : H.Connected) (g : G) (v : V) :
110
+ act H hA hH g (vertex H hH v)=vertex H hH (g • v) := act_embed H hA hH g (.vertex v)
111
+
112
+ end HarmonicArtin.ParabolicIntersections.GraphRealization
113
+
114
+ end OAI
lean/OAI/Topology/ArtinGroups/ParabolicIntersections/GraphRealizationAcylindrical.lean ADDED
@@ -0,0 +1,59 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import OAI.Topology.ArtinGroups.ParabolicIntersections.GraphRealizationAction
2
+ import OAI.Topology.ArtinGroups.ParabolicIntersections.GraphRealizationHyperbolic
3
+
4
+ namespace OAI
5
+
6
+ /-! Acylindricity passes from graph vertices to their unit-interval realization. -/
7
+ namespace HarmonicArtin.ParabolicIntersections.GraphRealization
8
+ open TreeAction
9
+ variable {G V : Type} [Group G] [MulAction G V]
10
+ variable (H : SimpleGraph V) (hA : PreservesAdj (G := G) H) (hH : H.Connected)
11
+
12
+ lemma vertex_displacement_le (g : G) (x : Space H hH) (v : V)
13
+ (hv : dist x (vertex H hH v) ≤ 1) (r : ℕ) :
14
+ let _ := action H hA hH
15
+ dist x (g • x) ≤ r →
16
+ (H.dist v (g • v) : ℝ) ≤ r+2 := by
17
+ let _ := action H hA hH
18
+ change dist x (g • x) ≤ (r : ℝ) → _
19
+ intro hg
20
+ have h₁ := dist_triangle (vertex H hH v) x (g • vertex H hH v)
21
+ have h₂ := dist_triangle x (g • x) (g • vertex H hH v)
22
+ rw [dist_comm (vertex H hH v) x] at h₁
23
+ rw [(action_isometric H hA hH g).dist_eq] at h₂
24
+ have he : dist (vertex H hH v) (g • vertex H hH v)=(H.dist v (g • v) : ℝ) := by
25
+ change dist (vertex H hH v) (act H hA hH g (vertex H hH v))= _
26
+ rw [act_vertex,dist_vertex]
27
+ rw [he] at h₁
28
+ linarith
29
+
30
+ theorem acylindricity_transfer (r R N : ℕ)
31
+ (hcount : ∀ v w : V,R ≤ H.dist v w →
32
+ {g : G | H.dist v (g • v) ≤ r+2 ∧ H.dist w (g • w) ≤ r+2}.Finite ∧
33
+ {g : G | H.dist v (g • v) ≤ r+2 ∧ H.dist w (g • w) ≤ r+2}.ncard ≤ N)
34
+ (x y : Space H hH) (hxy : (R : ℝ)+2 ≤ dist x y) :
35
+ let _ := action H hA hH
36
+ {g : G | dist x (g • x) ≤ r ∧ dist y (g • y) ≤ r}.Finite ∧
37
+ {g : G | dist x (g • x) ≤ r ∧ dist y (g • y) ≤ r}.ncard ≤ N := by
38
+ let _ := action H hA hH
39
+ obtain ⟨v,hv⟩ := exists_near_vertex H hH x
40
+ obtain ⟨w,hw⟩ := exists_near_vertex H hH y
41
+ have hdist : R ≤ H.dist v w := by
42
+ have h := (dist_change hv hw).1
43
+ rw [dist_vertex] at h
44
+ have h' : (R : ℝ) ≤ H.dist v w := by linarith
45
+ exact_mod_cast h'
46
+ obtain ⟨hfin,hcard⟩ := hcount v w hdist
47
+ have hsub : {g : G | dist x (g • x) ≤ r ∧ dist y (g • y) ≤ r} ⊆
48
+ {g : G | H.dist v (g • v) ≤ r+2 ∧ H.dist w (g • w) ≤ r+2} := by
49
+ intro g hg
50
+ constructor
51
+ · have h := vertex_displacement_le H hA hH g x v hv r hg.1
52
+ exact_mod_cast h
53
+ · have h := vertex_displacement_le H hA hH g y w hw r hg.2
54
+ exact_mod_cast h
55
+ exact ⟨hfin.subset hsub,(Set.ncard_le_ncard hsub hfin).trans hcard⟩
56
+
57
+ end HarmonicArtin.ParabolicIntersections.GraphRealization
58
+
59
+ end OAI
lean/OAI/Topology/ArtinGroups/ParabolicIntersections/GraphRealizationDistance.lean ADDED
@@ -0,0 +1,182 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import OAI.Topology.ArtinGroups.ParabolicIntersections.GraphMetric
2
+ import Mathlib.Tactic.Linarith
3
+
4
+ namespace OAI
5
+
6
+ /-! The path distance on unit intervals attached to graph edges. -/
7
+ namespace HarmonicArtin.ParabolicIntersections.GraphRealization
8
+ open TreeAction
9
+ attribute [local instance] Classical.decEq Classical.propDecidable
10
+ variable {V : Type} (H : SimpleGraph V)
11
+
12
+ /-- Endpoints are retained at this stage and identified by the metric quotient. -/
13
+ inductive Point where
14
+ | vertex : V → Point
15
+ | edge : H.Dart → Set.Icc (0 : ℝ) 1 → Point
16
+
17
+ def anchor : Point H → Bool → V
18
+ | .vertex v, _ => v
19
+ | .edge e _, false => e.fst
20
+ | .edge e _, true => e.snd
21
+
22
+ def weight : Point H → Bool → ℝ
23
+ | .vertex _, _ => 0
24
+ | .edge _ t, false => t
25
+ | .edge _ t, true => 1-t
26
+
27
+ noncomputable def route (p q : Point H) (i j : Bool) : ℝ :=
28
+ weight H p i+(H.dist (anchor H p i) (anchor H q j) : ℝ)+weight H q j
29
+
30
+ noncomputable def via (p q : Point H) : ℝ :=
31
+ min (route H p q false false) (min (route H p q false true)
32
+ (min (route H p q true false) (route H p q true true)))
33
+
34
+ noncomputable def distance : Point H → Point H → ℝ
35
+ | .edge e t, .edge f s => if e=f then min |(t : ℝ)-s| (via H (.edge e t) (.edge f s))
36
+ else via H (.edge e t) (.edge f s)
37
+ | p,q => via H p q
38
+
39
+ lemma weight_nonneg (p : Point H) (i : Bool) : 0 ≤ weight H p i := by
40
+ cases p with
41
+ | vertex v => rfl
42
+ | edge e t => cases i <;> simp only [weight] <;> linarith [t.property.1,t.property.2]
43
+
44
+ lemma route_nonneg (p q : Point H) (i j : Bool) : 0 ≤ route H p q i j := by
45
+ exact add_nonneg (add_nonneg (weight_nonneg H p i) (Nat.cast_nonneg _)) (weight_nonneg H q j)
46
+
47
+ lemma via_le_route (p q : Point H) (i j : Bool) : via H p q ≤ route H p q i j := by
48
+ cases i <;> cases j <;> simp only [via] <;> order
49
+
50
+ lemma via_eq_route (p q : Point H) : ∃ i j, via H p q=route H p q i j := by
51
+ rcases min_choice (route H p q false false)
52
+ (min (route H p q false true) (min (route H p q true false) (route H p q true true))) with h|h
53
+ · exact ⟨false,false,h⟩
54
+ · rcases min_choice (route H p q false true)
55
+ (min (route H p q true false) (route H p q true true)) with h'|h'
56
+ · exact ⟨false,true,h.trans h'⟩
57
+ · rcases min_choice (route H p q true false) (route H p q true true) with h''|h''
58
+ · exact ⟨true,false,h.trans (h'.trans h'')⟩
59
+ · exact ⟨true,true,h.trans (h'.trans h'')⟩
60
+
61
+ lemma distance_le_via (p q : Point H) : distance H p q ≤ via H p q := by
62
+ cases p <;> cases q <;> simp only [distance]
63
+ all_goals first | exact le_rfl | (split_ifs <;> order)
64
+
65
+ lemma distance_le_route (p q : Point H) (i j : Bool) : distance H p q ≤ route H p q i j :=
66
+ (distance_le_via H p q).trans (via_le_route H p q i j)
67
+
68
+ lemma distance_le_direct (e : H.Dart) (t s : Set.Icc (0 : ℝ) 1) :
69
+ distance H (.edge e t) (.edge e s) ≤ |(t : ℝ)-s| := by
70
+ simp [distance]
71
+
72
+ lemma distance_cases (p q : Point H) :
73
+ (∃ e t s,p=.edge e t ∧ q=.edge e s ∧ distance H p q=|(t : ℝ)-s|) ∨
74
+ ∃ i j,distance H p q=route H p q i j := by
75
+ cases p with
76
+ | vertex x => exact Or.inr (via_eq_route H _ _)
77
+ | edge e t =>
78
+ cases q with
79
+ | vertex y => exact Or.inr (via_eq_route H _ _)
80
+ | edge f s =>
81
+ by_cases he : e=f
82
+ · subst f
83
+ rcases min_choice |(t : ℝ)-s| (via H (.edge e t) (.edge e s)) with h|h
84
+ · exact Or.inl ⟨e,t,s,rfl,rfl,by simpa [distance] using h⟩
85
+ · obtain ⟨i,j,hv⟩ := via_eq_route H (.edge e t) (.edge e s)
86
+ exact Or.inr ⟨i,j,by simpa [distance] using h.trans hv⟩
87
+ · simpa only [distance,ite_eq_right he] using Or.inr (via_eq_route H (.edge e t) (.edge f s))
88
+
89
+ lemma distance_nonneg (p q : Point H) : 0 ≤ distance H p q := by
90
+ rcases distance_cases H p q with ⟨e,t,s,rfl,rfl,hd⟩|⟨i,j,hd⟩
91
+ · rw [hd]; exact abs_nonneg _
92
+ · rw [hd]; exact route_nonneg H p q i j
93
+
94
+ lemma route_comm (p q : Point H) (i j : Bool) : route H p q i j=route H q p j i := by
95
+ unfold route
96
+ rw [H.dist_comm]
97
+ ring
98
+
99
+ lemma distance_comm (p q : Point H) : distance H p q=distance H q p := by
100
+ have h (p q : Point H) : distance H p q ≤ distance H q p := by
101
+ rcases distance_cases H q p with ⟨e,t,s,rfl,rfl,hd⟩|⟨i,j,hd⟩
102
+ · rw [hd,abs_sub_comm]
103
+ exact distance_le_direct H e s t
104
+ · rw [hd,route_comm]
105
+ exact distance_le_route H p q j i
106
+ exact le_antisymm (h p q) (h q p)
107
+
108
+ lemma distance_self (p : Point H) : distance H p p=0 := by
109
+ apply le_antisymm _ (distance_nonneg H p p)
110
+ cases p with
111
+ | vertex v => simpa [route,anchor,weight] using distance_le_route H (.vertex v) (.vertex v) false false
112
+ | edge e t => simpa using distance_le_direct H e t t
113
+
114
+ lemma anchor_bridge (p : Point H) (i j : Bool) :
115
+ (H.dist (anchor H p i) (anchor H p j) : ℝ) ≤ weight H p i+weight H p j := by
116
+ cases p with
117
+ | vertex v => simp [anchor,weight]
118
+ | edge e t =>
119
+ have hd : H.dist e.fst e.snd=1 := H.dist_eq_one_iff_adj.mpr e.adj
120
+ have hd' : H.dist e.snd e.fst=1 := H.dist_eq_one_iff_adj.mpr e.adj.symm
121
+ cases i <;> cases j <;> simp only [anchor,weight,hd,hd',SimpleGraph.dist_self,Nat.cast_zero,Nat.cast_one]
122
+ all_goals linarith [t.property.1,t.property.2]
123
+
124
+ lemma edge_weight_le (e : H.Dart) (t s : Set.Icc (0 : ℝ) 1) (i : Bool) :
125
+ weight H (.edge e t) i ≤ weight H (.edge e s) i+|(t : ℝ)-s| := by
126
+ cases i <;> simp only [weight]
127
+ · linarith [le_abs_self ((t : ℝ)-s)]
128
+ · linarith [neg_le_abs ((t : ℝ)-s)]
129
+
130
+ lemma route_triangle (hH : H.Connected) (p q r : Point H) (i j k l : Bool) :
131
+ route H p r i l ≤ route H p q i j+route H q r k l := by
132
+ have h₁ := hH.dist_triangle (u := anchor H p i) (v := anchor H q j) (w := anchor H r l)
133
+ have h₂ := hH.dist_triangle (u := anchor H q j) (v := anchor H q k) (w := anchor H r l)
134
+ have h₁' : (H.dist (anchor H p i) (anchor H r l) : ℝ) ≤
135
+ H.dist (anchor H p i) (anchor H q j)+H.dist (anchor H q j) (anchor H r l) := by exact_mod_cast h₁
136
+ have h₂' : (H.dist (anchor H q j) (anchor H r l) : ℝ) ≤
137
+ H.dist (anchor H q j) (anchor H q k)+H.dist (anchor H q k) (anchor H r l) := by exact_mod_cast h₂
138
+ have hb := anchor_bridge H q j k
139
+ unfold route
140
+ linarith
141
+
142
+ theorem distance_triangle (hH : H.Connected) (p q r : Point H) :
143
+ distance H p r ≤ distance H p q+distance H q r := by
144
+ rcases distance_cases H p q with ⟨e,t,s,hp,hq,hd⟩|⟨i,j,hd⟩
145
+ · subst p; subst q
146
+ rcases distance_cases H (.edge e s) r with ⟨f,a,b,he,hr,hd'⟩|⟨i,j,hd'⟩
147
+ · cases he
148
+ subst r
149
+ have ht := abs_sub_le (t : ℝ) s b
150
+ exact (distance_le_direct H e t b).trans (by rw [hd,hd']; exact ht)
151
+ · have hle := distance_le_route H (.edge e t) r i j
152
+ have hw := edge_weight_le H e t s i
153
+ rw [hd,hd']
154
+ refine hle.trans ?_
155
+ unfold route
156
+ have ha : anchor H (.edge e t) i=anchor H (.edge e s) i := by cases i <;> rfl
157
+ rw [ha]
158
+ linarith
159
+ · rcases distance_cases H q r with ⟨e,t,s,hq,hr,hd'⟩|⟨k,l,hd'⟩
160
+ · subst q; subst r
161
+ have hle := distance_le_route H p (.edge e s) i j
162
+ have hw := edge_weight_le H e s t j
163
+ rw [hd,hd']
164
+ refine hle.trans ?_
165
+ unfold route
166
+ have ha : anchor H (.edge e s) j=anchor H (.edge e t) j := by cases j <;> rfl
167
+ rw [ha]
168
+ rw [abs_sub_comm (s : ℝ) t] at hw
169
+ linarith
170
+ · rw [hd,hd']
171
+ exact (distance_le_route H p r i l).trans (route_triangle H hH p q r i j k l)
172
+
173
+ @[instance_reducible]
174
+ noncomputable def premetric (hH : H.Connected) : PseudoMetricSpace (Point H) where
175
+ dist := distance H
176
+ dist_self := distance_self H
177
+ dist_comm := distance_comm H
178
+ dist_triangle := distance_triangle H hH
179
+
180
+ end HarmonicArtin.ParabolicIntersections.GraphRealization
181
+
182
+ end OAI
lean/OAI/Topology/ArtinGroups/ParabolicIntersections/GraphRealizationGeodesic.lean ADDED
@@ -0,0 +1,82 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import OAI.Topology.ArtinGroups.ParabolicIntersections.GraphRealizationSpace
2
+ import OAI.Topology.ArtinGroups.ParabolicIntersections.MetricUnitCurves
3
+ import Mathlib.Topology.MetricSpace.Lipschitz
4
+
5
+ namespace OAI
6
+
7
+ /-! Shortest paths in the unit-interval realization of a connected graph. -/
8
+ namespace HarmonicArtin.ParabolicIntersections.GraphRealization
9
+ variable {V : Type} (H : SimpleGraph V) (hH : H.Connected)
10
+
11
+ lemma arc_curve (e : H.Dart) (t s : Set.Icc (0 : ℝ) 1) :
12
+ HasCurve (arc H hH e t) (arc H hH e s) |(t : ℝ)-s| := by
13
+ let f : ℝ → Space H hH := fun r => arc H hH e (Set.projIcc 0 1 (by norm_num) r)
14
+ have hf (a b : ℝ) : dist (f a) (f b) ≤ |a-b| := by
15
+ rw [dist_arc]
16
+ simpa only [Subtype.dist_eq,Real.dist_eq,NNReal.coe_one,one_mul] using
17
+ (LipschitzWith.projIcc (by norm_num : (0 : ℝ) ≤ 1)).dist_le_mul a b
18
+ have ht : f t=arc H hH e t := by
19
+ simp only [f,Set.projIcc_val]
20
+ have hs : f s=arc H hH e s := by
21
+ simp only [f,Set.projIcc_val]
22
+ simpa only [ht,hs] using curve_subsegment f hf (t : ℝ) (s : ℝ)
23
+
24
+ lemma curve_to_anchor (p : Point H) (i : Bool) :
25
+ HasCurve (embed H hH p) (vertex H hH (anchor H p i)) (weight H p i) := by
26
+ cases p with
27
+ | vertex v => exact curve_const _
28
+ | edge e t =>
29
+ cases i
30
+ · have h := arc_curve H hH e t ⟨0,by norm_num⟩
31
+ change HasCurve (arc H hH e t) (vertex H hH e.fst) (t : ℝ)
32
+ simpa only [arc_zero,sub_zero,abs_of_nonneg t.property.1] using h
33
+ · have h := arc_curve H hH e t ⟨1,by norm_num⟩
34
+ change HasCurve (arc H hH e t) (vertex H hH e.snd) (1-(t : ℝ))
35
+ simpa only [arc_one,abs_of_nonpos (sub_nonpos.mpr t.property.2),neg_sub] using h
36
+
37
+ lemma curve_of_adj {x y : V} (hxy : H.Adj x y) :
38
+ HasCurve (vertex H hH x) (vertex H hH y) 1 := by
39
+ let e : H.Dart := ⟨(x,y),hxy⟩
40
+ have h := arc_curve H hH e ⟨0,by norm_num⟩ ⟨1,by norm_num⟩
41
+ simpa only [arc_zero,arc_one,zero_sub,abs_neg,abs_one] using h
42
+
43
+ lemma curve_of_walk {x y : V} (p : H.Walk x y) :
44
+ HasCurve (vertex H hH x) (vertex H hH y) (p.length : ℝ) := by
45
+ induction p with
46
+ | @nil x => simpa only [SimpleGraph.Walk.length_nil,Nat.cast_zero] using curve_const (vertex H hH x)
47
+ | @cons x z y hxz p ih =>
48
+ have h := curve_concat (by norm_num : (0 : ℝ) ≤ 1) (Nat.cast_nonneg p.length)
49
+ (curve_of_adj H hH hxz) ih
50
+ simpa only [SimpleGraph.Walk.length_cons,Nat.cast_add,Nat.cast_one,add_comm] using h
51
+
52
+ lemma curve_between_vertices (x y : V) :
53
+ HasCurve (vertex H hH x) (vertex H hH y) (H.dist x y : ℝ) := by
54
+ obtain ⟨p,hp⟩ := hH.exists_walk_length_eq_dist x y
55
+ simpa only [hp] using curve_of_walk H hH p
56
+
57
+ lemma curve_via (p q : Point H) (i j : Bool) :
58
+ HasCurve (embed H hH p) (embed H hH q) (route H p q i j) := by
59
+ have hc := curve_concat (weight_nonneg H p i)
60
+ (Nat.cast_nonneg (H.dist (anchor H p i) (anchor H q j)))
61
+ (curve_to_anchor H hH p i) (curve_between_vertices H hH (anchor H p i) (anchor H q j))
62
+ exact curve_concat (add_nonneg (weight_nonneg H p i) (Nat.cast_nonneg _))
63
+ (weight_nonneg H q j) hc (curve_reverse (curve_to_anchor H hH q j))
64
+
65
+ theorem curve_between (x y : Space H hH) : HasCurve x y (dist x y) := by
66
+ obtain ⟨p,rfl⟩ := embed_surjective H hH x
67
+ obtain ⟨q,rfl⟩ := embed_surjective H hH y
68
+ rw [dist_embed]
69
+ rcases distance_cases H p q with ⟨e,t,s,rfl,rfl,hd⟩|⟨i,j,hd⟩
70
+ · rw [hd]
71
+ exact arc_curve H hH e t s
72
+ · rw [hd]
73
+ exact curve_via H hH p q i j
74
+
75
+ theorem realization_geodesic (x y : Space H hH) :
76
+ ∃ γ : Set.Icc (0 : ℝ) (dist x y) → Space H hH, Isometry γ ∧
77
+ γ ⟨0,le_rfl,dist_nonneg⟩=x ∧ γ ⟨dist x y,dist_nonneg,le_rfl⟩=y :=
78
+ curve_realizes_distance (curve_between H hH x y)
79
+
80
+ end HarmonicArtin.ParabolicIntersections.GraphRealization
81
+
82
+ end OAI
lean/OAI/Topology/ArtinGroups/ParabolicIntersections/GraphRealizationHyperbolic.lean ADDED
@@ -0,0 +1,54 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import OAI.Topology.ArtinGroups.ParabolicIntersections.GraphRealizationSpace
2
+ import OAI.Topology.ArtinGroups.ParabolicIntersections.TreeShortcutHyperbolic
3
+
4
+ namespace OAI
5
+
6
+ /-! Hyperbolicity passes from graph vertices to the unit-interval realization. -/
7
+ namespace HarmonicArtin.ParabolicIntersections.GraphRealization
8
+ open TreeAction
9
+ variable {V : Type} (H : SimpleGraph V) (hH : H.Connected)
10
+
11
+ noncomputable def product (o x y : Space H hH) : ℝ := (dist o x+dist o y-dist x y)/2
12
+
13
+ lemma dist_change {X : Type} [MetricSpace X] {x y x' y' : X}
14
+ (hx : dist x x' ≤ 1) (hy : dist y y' ≤ 1) :
15
+ dist x y ≤ dist x' y'+2 ∧ dist x' y' ≤ dist x y+2 := by
16
+ have h₁ := dist_triangle x x' y
17
+ have h₂ := dist_triangle x' y' y
18
+ have h₃ := dist_triangle x' x y'
19
+ have h₄ := dist_triangle x y y'
20
+ rw [dist_comm y' y] at h₂
21
+ rw [dist_comm x' x] at h₃
22
+ constructor <;> linarith
23
+
24
+ lemma product_close {o x y : Space H hH} {a b c : V}
25
+ (ho : dist o (vertex H hH a) ≤ 1) (hx : dist x (vertex H hH b) ≤ 1)
26
+ (hy : dist y (vertex H hH c) ≤ 1) :
27
+ product H hH o x y ≤ graphProduct H a b c+3 ∧
28
+ graphProduct H a b c ≤ product H hH o x y+3 := by
29
+ have h₁ := dist_change ho hx
30
+ have h₂ := dist_change ho hy
31
+ have h₃ := dist_change hx hy
32
+ rw [dist_vertex] at h₁ h₂ h₃
33
+ unfold product graphProduct
34
+ constructor <;> linarith
35
+
36
+ theorem realization_hyperbolic (δ : ℝ)
37
+ (hδ : ∀ o x y z,min (graphProduct H o x y) (graphProduct H o y z) ≤ graphProduct H o x z+δ)
38
+ (o x y z : Space H hH) :
39
+ min (product H hH o x y) (product H hH o y z) ≤ product H hH o x z+(δ+6) := by
40
+ obtain ⟨a,ha⟩ := exists_near_vertex H hH o
41
+ obtain ⟨b,hb⟩ := exists_near_vertex H hH x
42
+ obtain ⟨c,hc⟩ := exists_near_vertex H hH y
43
+ obtain ⟨d,hd⟩ := exists_near_vertex H hH z
44
+ have h₁ := product_close H hH ha hb hc
45
+ have h₂ := product_close H hH ha hc hd
46
+ have h₃ := product_close H hH ha hb hd
47
+ have hm := min_le_min h₁.1 h₂.1
48
+ rw [min_add_add_right] at hm
49
+ have hh := hδ a b c d
50
+ linarith
51
+
52
+ end HarmonicArtin.ParabolicIntersections.GraphRealization
53
+
54
+ end OAI
lean/OAI/Topology/ArtinGroups/ParabolicIntersections/GraphRealizationSpace.lean ADDED
@@ -0,0 +1,87 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import OAI.Topology.ArtinGroups.ParabolicIntersections.GraphRealizationDistance
2
+
3
+ namespace OAI
4
+
5
+ /-! The metric realization of a connected graph by unit intervals. -/
6
+ namespace HarmonicArtin.ParabolicIntersections.GraphRealization
7
+ attribute [local instance] Classical.decEq Classical.propDecidable
8
+ variable {V : Type} (H : SimpleGraph V)
9
+
10
+ lemma distance_vertices (x y : V) : distance H (.vertex x) (.vertex y)=(H.dist x y : ℝ) := by
11
+ simp [distance,via,route,anchor,weight]
12
+
13
+ lemma distance_edge (e : H.Dart) (t s : Set.Icc (0 : ℝ) 1) :
14
+ distance H (.edge e t) (.edge e s)=|(t : ℝ)-s| := by
15
+ apply le_antisymm (distance_le_direct H e t s)
16
+ rcases distance_cases H (.edge e t) (.edge e s) with ⟨f,a,b,he,he',hd⟩|⟨i,j,hd⟩
17
+ · cases he
18
+ cases he'
19
+ exact hd.ge
20
+ · rw [hd]
21
+ have hdist : H.dist e.fst e.snd=1 := H.dist_eq_one_iff_adj.mpr e.adj
22
+ have hdist' : H.dist e.snd e.fst=1 := H.dist_eq_one_iff_adj.mpr e.adj.symm
23
+ cases i <;> cases j <;>
24
+ simp only [route,anchor,weight,hdist,hdist',SimpleGraph.dist_self,Nat.cast_zero,Nat.cast_one]
25
+ all_goals apply abs_le.mpr; constructor <;> linarith [t.property.1,t.property.2,s.property.1,s.property.2]
26
+
27
+ lemma weight_le_one (p : Point H) (i : Bool) : weight H p i ≤ 1 := by
28
+ cases p with
29
+ | vertex v => norm_num [weight]
30
+ | edge e t => cases i <;> simp only [weight] <;> linarith [t.property.1,t.property.2]
31
+
32
+ lemma distance_anchor_le (p : Point H) (i : Bool) :
33
+ distance H p (.vertex (anchor H p i)) ≤ weight H p i := by
34
+ simpa [route,anchor,weight] using distance_le_route H p (.vertex (anchor H p i)) i false
35
+
36
+ def Space (hH : H.Connected) :=
37
+ @SeparationQuotient (Point H) (premetric H hH).toUniformSpace.toTopologicalSpace
38
+
39
+ noncomputable instance spaceMetric (hH : H.Connected) : MetricSpace (Space H hH) :=
40
+ @SeparationQuotient.instMetricSpace (Point H) (premetric H hH)
41
+
42
+ noncomputable def embed (hH : H.Connected) : Point H → Space H hH :=
43
+ @SeparationQuotient.mk (Point H) (premetric H hH).toUniformSpace.toTopologicalSpace
44
+
45
+ lemma dist_embed (hH : H.Connected) (p q : Point H) :
46
+ dist (embed H hH p) (embed H hH q)=distance H p q := rfl
47
+
48
+ lemma embed_surjective (hH : H.Connected) : Function.Surjective (embed H hH) :=
49
+ @SeparationQuotient.surjective_mk (Point H) (premetric H hH).toUniformSpace.toTopologicalSpace
50
+
51
+ noncomputable def vertex (hH : H.Connected) (v : V) : Space H hH := embed H hH (.vertex v)
52
+
53
+ lemma dist_vertex (hH : H.Connected) (x y : V) :
54
+ dist (vertex H hH x) (vertex H hH y)=(H.dist x y : ℝ) := distance_vertices H x y
55
+
56
+ lemma vertex_injective (hH : H.Connected) : Function.Injective (vertex H hH) := by
57
+ intro x y he
58
+ have hd : (H.dist x y : ℝ)=0 := by rw [←dist_vertex H hH,he,dist_self]
59
+ exact hH.dist_eq_zero_iff.mp (Nat.cast_eq_zero.mp hd)
60
+
61
+ lemma exists_near_vertex (hH : H.Connected) (x : Space H hH) :
62
+ ∃ v,dist x (vertex H hH v) ≤ 1 := by
63
+ obtain ⟨p,rfl⟩ := embed_surjective H hH x
64
+ exact ⟨anchor H p false,(distance_anchor_le H p false).trans (weight_le_one H p false)⟩
65
+
66
+ noncomputable def arc (hH : H.Connected) (e : H.Dart) (t : Set.Icc (0 : ℝ) 1) : Space H hH :=
67
+ embed H hH (.edge e t)
68
+
69
+ lemma dist_arc (hH : H.Connected) (e : H.Dart) (t s : Set.Icc (0 : ℝ) 1) :
70
+ dist (arc H hH e t) (arc H hH e s)=|(t : ℝ)-s| := distance_edge H e t s
71
+
72
+ lemma arc_zero (hH : H.Connected) (e : H.Dart) :
73
+ arc H hH e ⟨0,by norm_num⟩=vertex H hH e.fst := by
74
+ apply dist_eq_zero.mp
75
+ apply le_antisymm _ dist_nonneg
76
+ exact distance_anchor_le H (.edge e ⟨0,by norm_num⟩) false
77
+
78
+ lemma arc_one (hH : H.Connected) (e : H.Dart) :
79
+ arc H hH e ⟨1,by norm_num⟩=vertex H hH e.snd := by
80
+ apply dist_eq_zero.mp
81
+ apply le_antisymm _ dist_nonneg
82
+ change distance H (.edge e ⟨1,by norm_num⟩) (.vertex e.snd) ≤ 0
83
+ simpa only [anchor,weight,sub_self] using distance_anchor_le H (.edge e ⟨1,by norm_num⟩) true
84
+
85
+ end HarmonicArtin.ParabolicIntersections.GraphRealization
86
+
87
+ end OAI
lean/OAI/Topology/ArtinGroups/ParabolicIntersections/GraphWalkLevels.lean ADDED
@@ -0,0 +1,26 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import OAI.Topology.ArtinGroups.ParabolicIntersections.GraphMetric
2
+
3
+ namespace OAI
4
+
5
+ /-! Integer distance levels along a graph walk. -/
6
+ namespace HarmonicArtin.ParabolicIntersections.TreeAction
7
+ variable {V : Type} (H : SimpleGraph V)
8
+
9
+ lemma walk_exists_dist_level (hH : H.Connected) (o : V) {x y : V}
10
+ (p : H.Walk x y) (k : ℕ) (hx : H.dist o x ≤ k) (hy : k ≤ H.dist o y) :
11
+ ∃ w∈p.support,H.dist o w=k := by
12
+ induction p with
13
+ | nil => exact ⟨_,by simp,Nat.le_antisymm hx hy⟩
14
+ | @cons x z y hxz p ih =>
15
+ by_cases he : H.dist o x=k
16
+ · exact ⟨x,by simp,he⟩
17
+ · have hz : H.dist o z ≤ k := by
18
+ have ht := hH.dist_triangle (u := o) (v := x) (w := z)
19
+ have hd := H.dist_eq_one_iff_adj.mpr hxz
20
+ omega
21
+ obtain ⟨w,hw,hd⟩ := ih hz hy
22
+ exact ⟨w,by simp only [SimpleGraph.Walk.support_cons,List.mem_cons]; exact Or.inr hw,hd⟩
23
+
24
+ end HarmonicArtin.ParabolicIntersections.TreeAction
25
+
26
+ end OAI
lean/OAI/Topology/ArtinGroups/ParabolicIntersections/IncomingSpanning.lean ADDED
@@ -0,0 +1,85 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import OAI.Topology.ArtinGroups.ParabolicIntersections.TokenBoundary
2
+ import OAI.Topology.ArtinGroups.ParabolicIntersections.PathImages
3
+
4
+ namespace OAI
5
+
6
+ /-! Incoming spanning inside a cochain interval, used to force an empty placement. -/
7
+ namespace HarmonicArtin.ParabolicIntersections
8
+ open ReversibleQuiver ReversibleQuiver.Zigzag ReversibleQuiver.Zigzag.BasedComplex
9
+ attribute [local instance] Classical.decEq Classical.propDecidable
10
+ variable {V A : Type} (Q : ReversibleQuiver V A) [Fintype V] [Fintype A]
11
+ {I : Type} [Fintype I]
12
+
13
+ /-- If the next higher layer is absent, exactness expresses every basis
14
+ vector through incoming arrows in the same layer. Iterated path images
15
+ record this statement without losing possible linear cancellations. -/
16
+ theorem incoming_spanning_step (E : BasedComplex Q (K := ℂ) I) (hE : E.IsMinimal Q)
17
+ (l r : ℤ) (i : {i | l ≤ (E.placement i).cochain ∧ (E.placement i).cochain ≤ r})
18
+ (hil : l < (E.placement i).cochain)
19
+ (hex : ScalarExactAt Q (E.testComplex Q (E.placement i).color)
20
+ (E.placement i).color ((E.placement i).level+2) (E.placement i).cochain)
21
+ (hhigher : ∀ j, (E.placement j).cochain = (E.placement i).cochain-1 →
22
+ (E.placement i).level < (E.placement j).level → False)
23
+ (n : ℕ)
24
+ (hprev : ∀ j : {j | l ≤ (E.placement j).cochain ∧ (E.placement j).cochain ≤ r},
25
+ (E.placement j).level = (E.placement i).level →
26
+ (E.placement j).cochain = (E.placement i).cochain-1 →
27
+ Pi.single j (1 : ℂ) ∈ pathImages (arrowMatrix Q (cochainInterval Q E l r)) n) :
28
+ Pi.single i (1 : ℂ) ∈ pathImages (arrowMatrix Q (cochainInterval Q E l r)) (n+1) := by
29
+ let J := {j | l ≤ (E.placement j).cochain ∧ (E.placement j).cochain ≤ r}
30
+ let B := arrowMatrix Q (cochainInterval Q E l r)
31
+ obtain ⟨y, hy, he⟩ := generator_token_boundary Q E hE i.val hex
32
+ let z (u : TestIndex Q E.placement (E.placement i).color) : J → ℂ :=
33
+ fun j => y u * pathCoordinates Q (E.differential u.1 j.val) (Path.dual Q u.2.val)
34
+ have heq : (Pi.single i (1 : ℂ) : J → ℂ) = ∑ u, z u := by
35
+ funext j
36
+ rw [Finset.sum_apply]
37
+ change (Pi.single i (1 : ℂ) : J → ℂ) j = ∑ u, y u * _
38
+ have h := he j.val
39
+ simpa only [Pi.single_apply, Subtype.val_inj] using h
40
+ rw [heq]
41
+ apply Submodule.sum_mem
42
+ intro u _
43
+ by_cases hzero : y u = 0
44
+ · have hz : z u = 0 := by
45
+ ext j
46
+ change y u * _ = 0
47
+ rw [hzero, MulZeroClass.zero_mul]
48
+ rw [hz]
49
+ exact Submodule.zero_mem _
50
+ obtain ⟨hdeg, hlev⟩ := hy u hzero
51
+ rcases hp : u.2.val with v | a | v
52
+ · have hlen : Path.length u.2.val = 0 := by rw [hp]; rfl
53
+ have hh : (E.placement i).level < (E.placement u.1).level := by omega
54
+ exact (hhigher u.1 hdeg hh).elim
55
+ · have hlen : Path.length u.2.val = 1 := by rw [hp]; rfl
56
+ have hu : l ≤ (E.placement u.1).cochain ∧ (E.placement u.1).cochain ≤ r := by
57
+ have hir := i.property.2
58
+ constructor <;> omega
59
+ let j₀ : J := ⟨u.1, hu⟩
60
+ have hj₀ : Pi.single j₀ (1 : ℂ) ∈ pathImages B n := hprev j₀ (by
61
+ change (E.placement u.1).level = (E.placement i).level
62
+ omega) hdeg
63
+ have hz : z u = y u • Matrix.vecMul (Pi.single j₀ (1 : ℂ)) (B (Q.reverse a)) := by
64
+ funext j
65
+ change y u * pathCoordinates Q (E.differential u.1 j.val) (Path.dual Q u.2.val) = _
66
+ rw [hp]
67
+ change y u * (E.differential u.1 j.val).arrow (Q.reverse a) = _
68
+ simp only [Pi.smul_apply, smul_eq_mul, Matrix.vecMul, dotProduct, Pi.single_apply,
69
+ ite_mul, _root_.one_mul, MulZeroClass.zero_mul, Finset.sum_ite_eq', Finset.mem_univ, ite_true]
70
+ rfl
71
+ rw [hz]
72
+ exact Submodule.smul_mem _ _ (pathImages_step B hj₀ (Q.reverse a))
73
+ · have hz : z u = 0 := by
74
+ funext j
75
+ change y u * pathCoordinates Q (E.differential u.1 j.val) (Path.dual Q u.2.val) = 0
76
+ rw [hp]
77
+ change y u * (E.differential u.1 j.val).vertex v = 0
78
+ rw [hE u.1 j.val]
79
+ exact MulZeroClass.mul_zero _
80
+ rw [hz]
81
+ exact Submodule.zero_mem _
82
+
83
+ end HarmonicArtin.ParabolicIntersections
84
+
85
+ end OAI
lean/OAI/Topology/ArtinGroups/ParabolicIntersections/InitialMinimum.lean ADDED
@@ -0,0 +1,111 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import OAI.Topology.ArtinGroups.ParabolicIntersections.PointedInitialCounts
2
+ import OAI.Topology.ArtinGroups.ParabolicIntersections.RelativeTranslation
3
+
4
+ namespace OAI
5
+
6
+ /-! The initial singleton is a minimum of the full relative harmonic height. -/
7
+ namespace HarmonicArtin.ParabolicIntersections
8
+ attribute [local instance] Classical.decEq Classical.propDecidable
9
+ variable {S : Type} [Fintype S] [LinearOrder S] (M : CoxeterMatrix S) (f : S)
10
+
11
+ private lemma vector_eq_single_of_sum {ι : Type*} [Fintype ι] [DecidableEq ι]
12
+ (v : ι → ℝ) (o : ι) (hn : ∀ i, 0 ≤ v i) (ho : v o = 1)
13
+ (hs : ∑ i, v i = 1) : v = (Pi.single o (1:ℝ) : ι → ℝ) := by
14
+ have hnon (i : ι) : 0 ≤ v i - (Pi.single o (1:ℝ) : ι → ℝ) i := by
15
+ by_cases hi : i = o
16
+ · subst i
17
+ simp only [Pi.single_eq_same, ho, sub_self, le_refl]
18
+ · simpa only [Pi.single_eq_of_ne hi, sub_zero] using hn i
19
+ have hsum : ∑ i, (v i - (Pi.single o (1:ℝ) : ι → ℝ) i) = 0 := by
20
+ rw [Finset.sum_sub_distrib, hs]
21
+ simp
22
+ funext i
23
+ exact sub_eq_zero.mp ((Finset.sum_eq_zero_iff_of_nonneg (fun i _ => hnon i)).mp hsum i
24
+ (Finset.mem_univ i))
25
+
26
+ lemma initial_profile (cutoff : ℤ) (k : ℕ) :
27
+ pointedProfile M f (sourceCoset M ∅ (spherical_empty M) 1) cutoff k =
28
+ if cutoff+k = 0 then Pi.single (.inl f) 1 else 0 := by
29
+ ext i
30
+ change pointedCosetVector M f (sourceCoset M ∅ (spherical_empty M) 1) (cutoff+k) i = _
31
+ rw [pointedCosetVector_empty, pointedMultiplicity_one]
32
+ by_cases hk : cutoff+k = 0 <;> simp [hk, Pi.single_apply]
33
+
34
+ lemma pointedCosetVector_frame_of_relative (Y : Set S) (hf : f ∉ Y)
35
+ (P : RelativeVertex M Y 1) (k : ℤ) :
36
+ pointedCosetVector M f P.val k (.inl f) = if k = 0 then 1 else 0 := by
37
+ have hfP : (.inl f : S ⊕ Unit) ∉ Sum.inl '' P.val.val.1 := by
38
+ rintro ⟨i, hi, he⟩
39
+ exact hf (Sum.inl.inj he ▸ P.property.1 hi)
40
+ have hz : sourceCosetRepresentative M P.val ∈ artinParabolic M Y := by
41
+ have h := P.property.2 (sourceCosetRepresentative_mem M P.val)
42
+ simpa only [rightCoset, Set.mem_ofPred_eq, inv_one, _root_.mul_one] using h
43
+ change pointedHarmonicAt M f P.val.val.1 _ k (.inl f) = _
44
+ rw [pointedHarmonicAt_outside M f _ _ k _ hfP]
45
+ exact pointedMultiplicity_frame M Y f hf _ hz k
46
+
47
+ lemma initial_block_le (U : Set (S ⊕ Unit)) (cutoff : ℤ) (Y : Set S) (hf : f ∉ Y)
48
+ (P : RelativeVertex M Y 1) (k : ℕ) :
49
+ relativeBlock M f U cutoff (sourceCoset M ∅ (spherical_empty M) 1) k ≤
50
+ relativeBlock M f U cutoff P.val k := by
51
+ let P₀ := sourceCoset M ∅ (spherical_empty M) 1
52
+ change relativeBlock M f U cutoff P₀ k ≤ relativeBlock M f U cutoff P.val k
53
+ have hmask₀ : relativeSignMask M f U cutoff P₀ k = 0 := by
54
+ funext i
55
+ simp only [relativeSignMask, P₀, sourceCoset, Set.image_empty, Set.notMem_empty,
56
+ ↓reduceIte, Pi.zero_apply]
57
+ by_cases hk : cutoff+k = 0
58
+ · have hv₀ : pointedProfile M f P₀ cutoff k = Pi.single (.inl f) 1 := by
59
+ simpa only [hk, ite_true] using initial_profile M f cutoff k
60
+ have hs₀ : pointedCosetSum M f P₀ (cutoff+k) = 1 := by
61
+ change (∑ i, pointedProfile M f P₀ cutoff k i) = 1
62
+ rw [hv₀]
63
+ simp
64
+ have hframe : pointedProfile M f P.val cutoff k (.inl f) = 1 := by
65
+ change pointedCosetVector M f P.val (cutoff+k) (.inl f) = 1
66
+ rw [pointedCosetVector_frame_of_relative M f Y hf P, hk, ite_eq_left rfl]
67
+ have hs : 1 ≤ pointedCosetSum M f P.val (cutoff+k) := by
68
+ rw [←hframe]
69
+ exact pointedCosetVector_le_sum M f P.val (cutoff+k) (.inl f)
70
+ rcases lt_or_eq_of_le hs with hlt | heq
71
+ · have hh : pointedCosetSum M f P₀ (cutoff+k) < pointedCosetSum M f P.val (cutoff+k) := by
72
+ rw [hs₀]
73
+ exact hlt
74
+ exact (Prod.Lex.lt_iff.mpr (Or.inl hh)).le
75
+ · have hv : pointedProfile M f P.val cutoff k = Pi.single (.inl f) 1 :=
76
+ vector_eq_single_of_sum _ _ (pointedCosetVector_nonneg M f P.val (cutoff+k)) hframe heq.symm
77
+ have hm : relativeSignMask M f U cutoff P.val k = 0 := by
78
+ funext i
79
+ unfold relativeSignMask
80
+ by_cases hi : ofLex i ∈ Sum.inl '' P.val.val.1
81
+ · have hne : ofLex i ≠ (.inl f : S ⊕ Unit) := by
82
+ intro h
83
+ obtain ⟨j, hj, hjf⟩ := hi
84
+ exact hf (Sum.inl.inj (hjf.trans h) ▸ P.property.1 hj)
85
+ simp only [hi, ↓reduceIte, relativeSign, hv, Pi.single_eq_of_ne hne,
86
+ ↓reduceIte, Pi.zero_apply]
87
+ · simp only [hi, ↓reduceIte, Pi.zero_apply]
88
+ unfold relativeBlock
89
+ rw [hs₀, ←heq, hv₀, hv, hmask₀, hm]
90
+ · have hz : pointedProfile M f P₀ cutoff k = 0 := by
91
+ simpa only [hk, ite_false] using initial_profile M f cutoff k
92
+ rw [relativeBlock_of_vector_zero M f U cutoff P₀ k hz]
93
+ exact relativeZeroBlock_le M f U cutoff _ (Or.inr ⟨P.val,k,rfl⟩)
94
+
95
+ /-- The minimum-height assertion in the proof of the initial stabilizer,
96
+ including the full vector and full sign mask. -/
97
+ theorem initial_height_minimum (U : Set (S ⊕ Unit)) (cutoff : ℤ) (Y : Set S) (hf : f ∉ Y)
98
+ (P : RelativeVertex M Y 1) :
99
+ relativeHeight M f U cutoff (sourceCoset M ∅ (spherical_empty M) 1) ≤
100
+ relativeHeight M f U cutoff P.val := by
101
+ apply Finsupp.toColex_monotone
102
+ intro k
103
+ have hb := initial_block_le M f U cutoff Y hf P k
104
+ change relativeBlockRank M f U cutoff _ ≤ relativeBlockRank M f U cutoff _
105
+ rcases lt_or_eq_of_le hb with hb | hb
106
+ · exact (relativeBlockRank_strictMono M f U cutoff (Or.inr ⟨_,k,rfl⟩) hb).le
107
+ · rw [hb]
108
+
109
+ end HarmonicArtin.ParabolicIntersections
110
+
111
+ end OAI
lean/OAI/Topology/ArtinGroups/ParabolicIntersections/LayerErasure.lean ADDED
@@ -0,0 +1,61 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import OAI.Topology.ArtinGroups.ParabolicIntersections.IncomingSpanning
2
+
3
+ namespace OAI
4
+
5
+ /-! Nilpotent coefficient paths remove one layer on a shorter interval. -/
6
+ namespace HarmonicArtin.ParabolicIntersections
7
+ open ReversibleQuiver ReversibleQuiver.Zigzag ReversibleQuiver.Zigzag.BasedComplex
8
+ attribute [local instance] Classical.decEq Classical.propDecidable
9
+ variable {V A : Type} (Q : ReversibleQuiver V A) [Fintype V] [Fintype A]
10
+ {I : Type} [Fintype I]
11
+
12
+ theorem one_layer_erasure (U : Set V) (N : ℕ)
13
+ (hwords : ∀ w : List A, w.length = N →
14
+ (w.map (FreeAlgebra.ι ℂ)).prod ∈ TwoSidedIdeal.span (meshRelations Q U))
15
+ (E : BasedComplex Q (K := ℂ) I) (hE : E.IsMinimal Q)
16
+ (l r q : ℤ)
17
+ (hcolors : ∀ i, l ≤ (E.placement i).cochain → (E.placement i).cochain ≤ r →
18
+ (E.placement i).color ∈ U)
19
+ (hex : ∀ α ∈ U, ∀ c, l ≤ c → c ≤ r → ∀ d,
20
+ ScalarExactAt Q (E.testComplex Q α) α d c)
21
+ (hhigher : ∀ i, l ≤ (E.placement i).cochain → (E.placement i).cochain ≤ r →
22
+ q < (E.placement i).level → False) :
23
+ ∀ i, (E.placement i).level = q → l+N ≤ (E.placement i).cochain →
24
+ (E.placement i).cochain ≤ r → False := by
25
+ let J := {i | l ≤ (E.placement i).cochain ∧ (E.placement i).cochain ≤ r}
26
+ let F := cochainInterval Q E l r
27
+ let B := arrowMatrix Q F
28
+ have hF : F.IsMinimal Q := restrict_minimal Q E hE _ _
29
+ have hU : ∀ i, (F.placement i).color ∈ U := fun i => hcolors i i.property.1 i.property.2
30
+ have hnil : ∀ w : List A, w.length = N → (w.map B).prod = 0 := by
31
+ intro w hw
32
+ exact mesh_word_evaluate Q B (arrowMatrix_outside Q F U hU)
33
+ (arrowMatrix_noncomposable Q F) (fun v _ => arrowMatrix_mesh Q F hF v) w (hwords w hw)
34
+ have hbound : ∀ n : ℕ, ∀ i : J, (E.placement i).level = q →
35
+ l+n ≤ (E.placement i).cochain → Pi.single i (1 : ℂ) ∈ pathImages B n := by
36
+ intro n
37
+ induction n with
38
+ | zero => exact fun i _ _ => mem_pathImages_zero B _
39
+ | succ n ih =>
40
+ intro i hi hp
41
+ apply incoming_spanning_step Q E hE l r i (by omega)
42
+ · exact hex _ (hU i) _ i.property.1 i.property.2 _
43
+ · intro j hj hlev
44
+ apply hhigher j
45
+ · omega
46
+ · have := i.property.2; omega
47
+ · rwa [← hi]
48
+ · intro j hj hpj
49
+ apply ih j (hj.trans hi)
50
+ omega
51
+ intro i hi hp hr
52
+ let j : J := ⟨i, by constructor <;> omega⟩
53
+ have hj := hbound N j hi hp
54
+ rw [pathImages_eq_bot B N hnil] at hj
55
+ have hz : (Pi.single j (1 : ℂ) : J → ℂ) = 0 := hj
56
+ have hc := congrFun hz j
57
+ exact one_ne_zero (by simpa only [Pi.single_eq_same, Pi.zero_apply] using hc)
58
+
59
+ end HarmonicArtin.ParabolicIntersections
60
+
61
+ end OAI
lean/OAI/Topology/ArtinGroups/ParabolicIntersections/Main.lean ADDED
@@ -0,0 +1,11 @@
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import OAI.Topology.ArtinGroups.ParabolicIntersections.ConditionalMain
2
+ import OAI.Topology.ArtinGroups.ParabolicIntersections.UnconditionalMain
3
+ import OAI.Topology.ArtinGroups.ParabolicIntersections.DynamicsUnconditional
4
+
5
+ /-!
6
+ # All main results of paper 082-03
7
+
8
+ This entry point retains the conditional development and exports
9
+ unconditional parabolic intersections, arbitrary intersections, parabolic
10
+ closure, and the complete irreducible non-clique dynamics corollary.
11
+ -/
lean/OAI/Topology/ArtinGroups/ParabolicIntersections/MainIntersection.lean ADDED
@@ -0,0 +1,150 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import OAI.Topology.ArtinGroups.ParabolicIntersections.SphericalReduction
2
+ import OAI.Topology.ArtinGroups.ParabolicIntersections.RelativeInvisibleFactor
3
+ import OAI.Topology.ArtinGroups.ParabolicIntersections.RelativeInitialStabilizer
4
+ import OAI.Topology.ArtinGroups.ParabolicIntersections.RankReduction
5
+
6
+ namespace OAI
7
+
8
+ /-!
9
+ # The main intersection theorems of paper 082-03
10
+
11
+ The hypotheses are exactly the published inputs documented in
12
+ `MeshNilpotence`, `FoldingGcdInput`, `AcyclicTwistInput`, and
13
+ `RelativeInitialStabilizer`. All relative-height, positive-height,
14
+ stabilizer-containment and rank-induction arguments are proved in this
15
+ local development; none of those new assertions is a hypothesis here.
16
+ -/
17
+ namespace HarmonicArtin.ParabolicIntersections
18
+ open ReversibleQuiver ReversibleQuiver.Zigzag ReversibleQuiver.Zigzag.BasedComplex
19
+ attribute [local instance] Classical.decEq Classical.propDecidable
20
+ variable {S : Type} [Fintype S] [LinearOrder S] (M : CoxeterMatrix S)
21
+
22
+ /-- Only the published general mesh-algebra, admissible-folding and
23
+ acyclic-evaluation facts; see the individual definitions for exact sources. -/
24
+ structure PublishedSphericalInputs : Prop where
25
+ mesh : ∀ Y : Set S, IsSpherical M Y →
26
+ MeshNilpotent (fusionQuiver (fusionLabelSize M) (coxeterFusionEdge M)
27
+ (coxeterFusionEdge_symm M)) (fusionColorRegion (fusionLabelSize M) (Sum.inl '' Y))
28
+ folding : ∀ (Y : Set S) (hY : IsSpherical M Y), PublishedFoldingGcd M Y hY
29
+ acyclic : PublishedAcyclicTwist (fusionQuiver (fusionLabelSize M)
30
+ (coxeterFusionEdge M) (coxeterFusionEdge_symm M))
31
+
32
+ /-- Theorem 8.2 on the actual pointed family with an unoperated frame. -/
33
+ theorem pointed_relative_stabilizers (hPub : PublishedSphericalInputs M)
34
+ (f : S) (Y : Set S) (hf : f ∉ Y) (x : Artin M)
35
+ (hx : x ∈ artinParabolic M {f}ᶜ) :
36
+ ∃ (R : Set S) (c : Artin M), R ⊆ Y ∧ c ∈ artinParabolic M Y ∧
37
+ relativeStabilizer M (pointedInitial M f) Y x = conjugate c⁻¹ (artinParabolic M R) := by
38
+ apply relativeStabilizers_of_reductions_on M (pointedInitial M f) {f}ᶜ _ Y
39
+ (by intro s hs hsf; exact hf (hsf ▸ hs)) x hx
40
+ intro D hD z hz
41
+ have hfD : f ∉ D := fun h => hD h rfl
42
+ by_cases hDs : IsSpherical M D
43
+ · exact spherical_reduction M f D hDs hfD (hPub.folding D hDs)
44
+ (hPub.mesh D hDs) hPub.acyclic z hz
45
+ · exact relative_nonspherical_reduction M f hfD hz hDs
46
+
47
+ section Relative
48
+ local instance : LinearOrder (S⊕Unit) := Sum.Lex.linearOrder
49
+ variable (X : Set S)
50
+ local notation "N" => relativeMatrix M X
51
+
52
+ omit [Fintype S] [LinearOrder S] in
53
+ private lemma relative_comap_standard (hEmb : VanDerLekRelativeEmbedding M X) (Y : Set S) :
54
+ (artinParabolic N (Sum.inl '' Y)).comap (relativeArtinHom M X) = artinParabolic M Y := by
55
+ rw [← relativeArtinHom_parabolic]
56
+ exact Subgroup.comap_map_eq_self_of_injective hEmb.injective _
57
+
58
+ omit [Fintype S] [LinearOrder S] in
59
+ private lemma relative_comap_conjugate (c : Artin M) (P : Subgroup (Artin N)) :
60
+ (conjugate (relativeArtinHom M X c) P).comap (relativeArtinHom M X) =
61
+ conjugate c (P.comap (relativeArtinHom M X)) := by
62
+ ext a
63
+ simp only [Subgroup.mem_comap,mem_conjugate,map_mul,map_inv]
64
+
65
+ /-- The stronger inside-parabolic form, with its conjugator inside the
66
+ acting parabolic. This is the result used by the arbitrary-family theorem. -/
67
+ theorem inside_intersection_at
68
+ (hEmb : VanDerLekRelativeEmbedding M X) (hPub : PublishedSphericalInputs N)
69
+ (Y : Set S) (g : Artin M) :
70
+ ∃ (R : Set S) (c : Artin M), R ⊆ Y ∧ c ∈ artinParabolic M Y ∧
71
+ artinParabolic M Y ⊓ conjugate g (artinParabolic M X) =
72
+ conjugate c (artinParabolic M R) := by
73
+ let F := relativeArtinHom M X
74
+ have hg : F g ∈ artinParabolic N {(.inr () : S⊕Unit)}ᶜ := by
75
+ apply standard_mono N (X := Set.range (Sum.inl : S → S⊕Unit))
76
+ (by rintro a ⟨s,rfl⟩; simp)
77
+ rw [← Set.image_univ, ← relativeArtinHom_parabolic]
78
+ exact ⟨g,by rw [standard_univ]; trivial,rfl⟩
79
+ obtain ⟨R,c,hR,hc,he⟩ := pointed_relative_stabilizers N hPub (.inr ()) (Sum.inl '' Y)
80
+ (by simp) (F g) hg
81
+ rw [← relativeArtinHom_parabolic M X Y] at hc
82
+ obtain ⟨b,hb,hbc⟩ := hc
83
+ let D : Set S := Sum.inl ⁻¹' R
84
+ have hD : D ⊆ Y := by
85
+ intro s hs
86
+ obtain ⟨t,ht,hte⟩ := hR hs
87
+ exact Sum.inl.inj hte ▸ ht
88
+ have hRD : R = Sum.inl '' D := by
89
+ ext a
90
+ constructor
91
+ · intro ha
92
+ obtain ⟨s,hs,rfl⟩ := hR ha
93
+ exact ⟨s,ha,rfl⟩
94
+ · rintro ⟨s,hs,rfl⟩
95
+ exact hs
96
+ have hleft : (relativeStabilizer N (pointedInitial N (.inr ())) (Sum.inl '' Y) (F g)).comap F =
97
+ relativeStabilizer M (relativeInitial M X) Y g := by
98
+ unfold relativeStabilizer
99
+ rw [Subgroup.comap_inf,relative_comap_standard M X hEmb Y]
100
+ rfl
101
+ have he' := congrArg (Subgroup.comap F) he
102
+ rw [hleft,hRD,←hbc,←map_inv,relative_comap_conjugate,
103
+ relative_comap_standard M X hEmb D] at he'
104
+ refine ⟨D,b⁻¹,hD,(artinParabolic M Y).inv_mem hb,?_⟩
105
+ have hinit := relative_initial_stabilizer M X hEmb
106
+ have hconj := conjugate_stabilizer M (relativeInitial M X) g 1
107
+ simp only [one_smul,_root_.mul_one,hinit] at hconj
108
+ simpa only [relativeStabilizer,←hconj] using he'
109
+ end Relative
110
+
111
+ local instance : LinearOrder (S⊕Unit) := Sum.Lex.linearOrder
112
+
113
+ /-- The entire inside-parabolic statement, conditional solely on published inputs. -/
114
+ theorem inside_intersection
115
+ (hEmb : ∀ X : Set S, VanDerLekRelativeEmbedding M X)
116
+ (hPub : ∀ X : Set S, PublishedSphericalInputs (relativeMatrix M X)) :
117
+ InsideIntersectionProperty M := fun X Y g => inside_intersection_at M X (hEmb X) (hPub X) Y g
118
+
119
+ /-- Theorem 1.1, including arbitrary nonspherical types and infinite labels. -/
120
+ theorem parabolic_intersections
121
+ (hEmb : ∀ X : Set S, VanDerLekRelativeEmbedding M X)
122
+ (hPub : ∀ X : Set S, PublishedSphericalInputs (relativeMatrix M X))
123
+ (X Y : Set S) (g h : Artin M) :
124
+ ∃ (Z : Set S) (k : Artin M),
125
+ conjugate g (artinParabolic M X) ⊓ conjugate h (artinParabolic M Y) =
126
+ conjugate k (artinParabolic M Z) :=
127
+ pairwise_of_inside M (inside_intersection M hEmb hPub) X Y g h
128
+
129
+ /-- Corollary 1.2: arbitrary intersections and the sharp rank subfamily bound. -/
130
+ theorem arbitrary_parabolic_intersections
131
+ (hEmb : ∀ X : Set S, VanDerLekRelativeEmbedding M X)
132
+ (hPub : ∀ X : Set S, PublishedSphericalInputs (relativeMatrix M X))
133
+ (F : Set (Subgroup (Artin M))) (hF : ∀ P ∈ F, IsParabolic M P) :
134
+ (∃ F₀ : Finset (Subgroup (Artin M)),
135
+ (↑F₀ : Set (Subgroup (Artin M))) ⊆ F ∧ F₀.card ≤ Nat.card S ∧
136
+ sInf F = sInf (↑F₀ : Set (Subgroup (Artin M)))) ∧ IsParabolic M (sInf F) :=
137
+ arbitrary_intersections_of_inside M (inside_intersection M hEmb hPub) F hF
138
+
139
+ /-- Corollary 1.2: every subset has a unique smallest parabolic closure. -/
140
+ theorem parabolic_closure
141
+ (hEmb : ∀ X : Set S, VanDerLekRelativeEmbedding M X)
142
+ (hPub : ∀ X : Set S, PublishedSphericalInputs (relativeMatrix M X))
143
+ (E : Set (Artin M)) :
144
+ ∃! P : Subgroup (Artin M), IsParabolic M P ∧ E ⊆ P ∧
145
+ ∀ Q : Subgroup (Artin M), IsParabolic M Q → E ⊆ Q → P ≤ Q :=
146
+ parabolic_closure_of_inside M (inside_intersection M hEmb hPub) E
147
+
148
+ end HarmonicArtin.ParabolicIntersections
149
+
150
+ end OAI
lean/OAI/Topology/ArtinGroups/ParabolicIntersections/MeshAdjacent.lean ADDED
@@ -0,0 +1,88 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import OAI.Topology.ArtinGroups.ParabolicIntersections.MeshContraction
2
+
3
+ namespace OAI
4
+
5
+ /-! Adjacent contraction identities on the actual finite path spaces. -/
6
+ namespace HarmonicArtin.ParabolicIntersections
7
+ attribute [local instance] Classical.decEq Classical.propDecidable
8
+ variable {V : Type} [Fintype V] (G : SimpleGraph V)
9
+
10
+ lemma meshContraction_mul (μ : V → ℝ) (n : ℕ) (v : V) {R : Type} [Fintype R]
11
+ (B : Matrix (MeshPaths G (n+2) v) R ℂ) (p : MeshPaths G n v) (r : R) :
12
+ (meshContractionMatrix G μ n v * B) p r =
13
+ ∑ u : {u : V // G.Adj u v},
14
+ (Real.sqrt (μ u/μ v) : ℂ) * B (meshInsertBacktrack G u p) r := by
15
+ change (∑ q, (∑ u : {u : V // G.Adj u v},
16
+ if q=meshInsertBacktrack G u p then (Real.sqrt (μ u/μ v) : ℂ) else 0)*B q r)=_
17
+ simp only [Finset.sum_mul,ite_mul,zero_mul]
18
+ rw [Finset.sum_comm]
19
+ simp
20
+
21
+ lemma meshContraction_head (μ : V → ℝ) (n : ℕ) (v : V)
22
+ (p : MeshPaths G n v) (u : {u : V // G.Adj u v})
23
+ (q : MeshPaths G (n+1) u.val) :
24
+ meshContractionMatrix G μ n v p ⟨u,q⟩ =
25
+ if q=⟨⟨v,u.property.symm⟩,p⟩ then (Real.sqrt (μ u/μ v) : ℂ) else 0 := by
26
+ change (∑ w : {w : V // G.Adj w v},
27
+ if (⟨u,q⟩ : MeshPaths G (n+2) v)=meshInsertBacktrack G w p
28
+ then (Real.sqrt (μ w/μ v) : ℂ) else 0)=_
29
+ rw [Finset.sum_eq_single u]
30
+ · by_cases hq : q=⟨⟨v,u.property.symm⟩,p⟩
31
+ · subst q
32
+ simp only [meshInsertBacktrack,ite_true]
33
+ exact (ite_eq_left rfl).symm
34
+ · have hne : (⟨u,q⟩ : MeshPaths G (n+2) v)≠meshInsertBacktrack G u p := by
35
+ intro h
36
+ exact hq (eq_of_heq (Sigma.mk.inj_iff.mp h).2)
37
+ simp only [hne,hq,ite_false]
38
+ · intro w _ hwu
39
+ have hne : (⟨u,q⟩ : MeshPaths G (n+2) v)≠meshInsertBacktrack G w p := by
40
+ intro h
41
+ exact hwu (congrArg Sigma.fst h).symm
42
+ simp [hne]
43
+ · simp
44
+
45
+ lemma meshContraction_return (μ : V → ℝ) (n : ℕ) (v : V)
46
+ (u : {u : V // G.Adj u v}) (p : MeshPaths G (n+1) v)
47
+ (r : MeshPaths G n u.val) :
48
+ meshContractionMatrix G μ n u.val r ⟨⟨v,u.property.symm⟩,p⟩ =
49
+ if p=⟨u,r⟩ then (Real.sqrt (μ v/μ u) : ℂ) else 0 := by
50
+ simpa only using meshContraction_head G μ n u.val r ⟨v,u.property.symm⟩ p
51
+
52
+ omit [Fintype V] in
53
+ lemma mesh_sqrt_reciprocal (μ : V → ℝ) (hμ : ∀ v, 0<μ v) (u v : V) :
54
+ (Real.sqrt (μ u/μ v) : ℂ)*(Real.sqrt (μ v/μ u) : ℂ)=1 := by
55
+ rw [←Complex.ofReal_mul,←Real.sqrt_mul (div_nonneg (hμ u).le (hμ v).le)]
56
+ have hratio : μ u/μ v*(μ v/μ u)=1 := by
57
+ field_simp [ne_of_gt (hμ u),ne_of_gt (hμ v)]
58
+ rw [hratio,Real.sqrt_one,Complex.ofReal_one]
59
+
60
+ /-- Contracting after insertion at the preceding position is the identity.
61
+ The two weights are reciprocal positive square roots. -/
62
+ theorem meshContraction_adjacent (μ : V → ℝ) (hμ : ∀ v, 0<μ v)
63
+ (n : ℕ) (v : V) :
64
+ meshContractionMatrix G μ (n+1) v *
65
+ meshExtendMatrix G (fun u => (meshContractionMatrix G μ n u).conjTranspose) v =
66
+ (1 : Matrix (MeshPaths G (n+1) v) (MeshPaths G (n+1) v) ℂ) := by
67
+ ext p r
68
+ rw [meshContraction_mul]
69
+ rw [Matrix.one_apply]
70
+ obtain ⟨u,r⟩ := r
71
+ let f (w : {w : V // G.Adj w v}) : MeshPaths G (n+2) w.val :=
72
+ ⟨⟨v,w.property.symm⟩,p⟩
73
+ change (∑ w : {w : V // G.Adj w v}, (Real.sqrt (μ w/μ v) : ℂ)*
74
+ Matrix.blockDiagonal' (fun z : {z : V // G.Adj z v} =>
75
+ (meshContractionMatrix G μ n z.val).conjTranspose)
76
+ ⟨w,f w⟩ ⟨u,r⟩)=_
77
+ rw [Finset.sum_eq_single u]
78
+ · rw [Matrix.blockDiagonal'_apply_eq,Matrix.conjTranspose_apply,meshContraction_return]
79
+ split_ifs with h
80
+ · rw [Complex.star_def,Complex.conj_ofReal,mesh_sqrt_reciprocal μ hμ]
81
+ · simp
82
+ · intro w _ hwu
83
+ rw [Matrix.blockDiagonal'_apply_ne _ _ _ hwu,mul_zero]
84
+ · simp
85
+
86
+ end HarmonicArtin.ParabolicIntersections
87
+
88
+ end OAI
lean/OAI/Topology/ArtinGroups/ParabolicIntersections/MeshContraction.lean ADDED
@@ -0,0 +1,74 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import OAI.Topology.ArtinGroups.ParabolicIntersections.MeshPathSpaces
2
+ import OAI.Topology.ArtinGroups.ParabolicIntersections.MeshInsertionMatrix
3
+
4
+ namespace OAI
5
+
6
+ /-! The path-space loop identity and extension functor. -/
7
+ namespace HarmonicArtin.ParabolicIntersections
8
+ attribute [local instance] Classical.decEq Classical.propDecidable
9
+ variable {V : Type} [Fintype V] (G : SimpleGraph V)
10
+
11
+ /-- Inserting and then contracting a final backtrack multiplies by the
12
+ Perron eigenvalue. This is proved for the actual path matrices. -/
13
+ theorem meshContraction_loop (μ : V → ℝ) (hμ : ∀ v, 0<μ v) (δ : ℝ)
14
+ (heigen : ∀ v, (∑ u : {u : V // G.Adj u v}, μ u)=δ*μ v)
15
+ (n : ℕ) (v : V) :
16
+ meshContractionMatrix G μ n v * (meshContractionMatrix G μ n v).conjTranspose =
17
+ (δ : ℂ) • (1 : Matrix (MeshPaths G n v) (MeshPaths G n v) ℂ) := by
18
+ have h := insertion_matrix_mul_conjTranspose
19
+ (fun up : {u : V // G.Adj u v} × MeshPaths G n v => meshInsertBacktrack G up.1 up.2)
20
+ (meshInsertBacktrack_injective G) (fun u => (Real.sqrt (μ u/μ v) : ℂ))
21
+ have hweight : (∑ u : {u : V // G.Adj u v},
22
+ (Real.sqrt (μ u/μ v) : ℂ)*star (Real.sqrt (μ u/μ v) : ℂ))=(δ : ℂ) := by
23
+ have hs : ∀ u : {u : V // G.Adj u v},
24
+ (Real.sqrt (μ u/μ v) : ℂ)*star (Real.sqrt (μ u/μ v) : ℂ)=(μ u/μ v : ℝ) := by
25
+ intro u
26
+ rw [Complex.star_def,Complex.conj_ofReal,←Complex.ofReal_mul,
27
+ Real.mul_self_sqrt (div_nonneg (hμ u).le (hμ v).le)]
28
+ simp only [hs,←Complex.ofReal_sum]
29
+ congr 1
30
+ rw [←Finset.sum_div,heigen,mul_div_cancel_right₀ _ (ne_of_gt (hμ v))]
31
+ rw [hweight] at h
32
+ exact h
33
+
34
+ omit [Fintype V] in
35
+ lemma meshExtend_one (n : ℕ) (v : V) :
36
+ meshExtendMatrix G (fun u => (1 : Matrix (MeshPaths G n u) (MeshPaths G n u) ℂ)) v=1 := by
37
+ unfold meshExtendMatrix
38
+ change Matrix.blockDiagonal'
39
+ (1 : ∀ u : {u : V // G.Adj u v},
40
+ Matrix (MeshPaths G n u.val) (MeshPaths G n u.val) ℂ) = _
41
+ rw [Matrix.blockDiagonal'_one]
42
+ ext p q
43
+ simp only [Matrix.one_apply]
44
+ change (if p=q then (1 : ℂ) else 0) =
45
+ @ite ℂ (p=q) (Classical.propDecidable _) 1 0
46
+ split_ifs <;> rfl
47
+
48
+ lemma meshExtend_mul {k m n : ℕ}
49
+ (A : ∀ v, Matrix (MeshPaths G k v) (MeshPaths G m v) ℂ)
50
+ (B : ∀ v, Matrix (MeshPaths G m v) (MeshPaths G n v) ℂ) (v : V) :
51
+ meshExtendMatrix G (fun u => A u*B u) v=meshExtendMatrix G A v*meshExtendMatrix G B v :=
52
+ Matrix.blockDiagonal'_mul _ _
53
+
54
+ omit [Fintype V] in
55
+ lemma meshExtend_adjoint {m n : ℕ}
56
+ (A : ∀ v, Matrix (MeshPaths G m v) (MeshPaths G n v) ℂ) (v : V) :
57
+ (meshExtendMatrix G A v).conjTranspose=meshExtendMatrix G (fun u => (A u).conjTranspose) v :=
58
+ Matrix.blockDiagonal'_conjTranspose _
59
+
60
+ omit [Fintype V] in
61
+ lemma meshExtend_sub {m n : ℕ}
62
+ (A B : ∀ v, Matrix (MeshPaths G m v) (MeshPaths G n v) ℂ) (v : V) :
63
+ meshExtendMatrix G (fun u => A u-B u) v=meshExtendMatrix G A v-meshExtendMatrix G B v :=
64
+ Matrix.blockDiagonal'_sub _ _
65
+
66
+ omit [Fintype V] in
67
+ lemma meshExtend_smul {m n : ℕ} (a : ℂ)
68
+ (A : ∀ v, Matrix (MeshPaths G m v) (MeshPaths G n v) ℂ) (v : V) :
69
+ meshExtendMatrix G (fun u => a • A u) v=a • meshExtendMatrix G A v :=
70
+ Matrix.blockDiagonal'_smul a (fun u : {u : V // G.Adj u v} => A u.val)
71
+
72
+ end HarmonicArtin.ParabolicIntersections
73
+
74
+ end OAI
lean/OAI/Topology/ArtinGroups/ParabolicIntersections/MeshGraphNilpotence.lean ADDED
@@ -0,0 +1,124 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import OAI.Topology.ArtinGroups.ParabolicIntersections.MeshGraphWeights
2
+ import OAI.Topology.ArtinGroups.ParabolicIntersections.MeshNormalization
3
+
4
+ namespace OAI
5
+
6
+ /-! Finite mesh path bounds, including disconnected positive Cartan graphs. -/
7
+ namespace HarmonicArtin.ParabolicIntersections
8
+ attribute [local instance] Classical.decEq Classical.propDecidable
9
+ open Matrix
10
+ variable {V R : Type} [Fintype V] (G : SimpleGraph V) [Ring R] [Algebra ℂ R]
11
+
12
+ theorem connected_mesh_paths_vanish (hG : G.Connected)
13
+ (hcartan : ((2 : ℝ) • (1 : Matrix V V ℝ)-G.adjMatrix ℝ).PosDef)
14
+ (B : ∀ u v, G.Adj u v → R)
15
+ (hmesh : ∀ v, (∑ u : {u : V // G.Adj u v},
16
+ B v u.val u.property.symm * B u.val v u.property)=0) :
17
+ ∃ N : ℕ, 0<N ∧ ∀ v p, meshPathEvaluate G B N v p=0 := by
18
+ by_cases hedge : ∃ u v, G.Adj u v
19
+ · obtain ⟨μ,d,hμ,hd0,hd2,heigen⟩ := mesh_graph_positive_weights G hG hedge hcartan
20
+ exact allPlus_mesh_paths_vanish G μ hμ d hd0 hd2 heigen B hmesh
21
+ · refine ⟨1,by omega,?_⟩
22
+ intro v p
23
+ exact (hedge ⟨p.1.val,v,p.1.property⟩).elim
24
+
25
+ omit [Fintype V] [Algebra ℂ R] in
26
+ lemma meshPathEvaluate_longer (B : ∀ u v, G.Adj u v → R) (N : ℕ)
27
+ (hN : ∀ v p, meshPathEvaluate G B N v p=0) :
28
+ ∀ n, N≤n → ∀ v p, meshPathEvaluate G B n v p=0 := by
29
+ intro n hn
30
+ obtain ⟨k,rfl⟩ := Nat.exists_eq_add_of_le hn
31
+ induction k with
32
+ | zero => exact hN
33
+ | succ k ih =>
34
+ intro v p
35
+ change meshPathEvaluate G B (N+k) p.1.val p.2 * B p.1.val v p.1.property=0
36
+ rw [ih (by omega),zero_mul]
37
+
38
+ omit [Fintype V] in
39
+ def meshPathInComponent (C : G.ConnectedComponent) :
40
+ (n : ℕ) → (v : C) → MeshPaths G n v.val → MeshPaths C.toSimpleGraph n v
41
+ | 0, _, _ => PUnit.unit
42
+ | n+1, v, p =>
43
+ let u : C := ⟨p.1.val,C.mem_supp_of_adj_mem_supp v.property p.1.property.symm⟩
44
+ ⟨⟨u,p.1.property⟩,meshPathInComponent C n u p.2⟩
45
+
46
+ omit [Fintype V] [Algebra ℂ R] in
47
+ lemma meshPathInComponent_evaluate (C : G.ConnectedComponent)
48
+ (B : ∀ u v, G.Adj u v → R) : ∀ n v p,
49
+ meshPathEvaluate C.toSimpleGraph (fun u v h => B u.val v.val h) n v
50
+ (meshPathInComponent G C n v p)=meshPathEvaluate G B n v.val p := by
51
+ intro n
52
+ induction n with
53
+ | zero => intro v p; rfl
54
+ | succ n ih =>
55
+ intro v p
56
+ dsimp only [meshPathInComponent,meshPathEvaluate]
57
+ rw [ih]
58
+
59
+ omit [Fintype V] in
60
+ lemma mesh_component_cartan (C : G.ConnectedComponent)
61
+ (hcartan : ((2 : ℝ) • (1 : Matrix V V ℝ)-G.adjMatrix ℝ).PosDef) :
62
+ let _ : DecidableEq C := Classical.decEq C
63
+ ((2 : ℝ) • (1 : Matrix C C ℝ)-C.toSimpleGraph.adjMatrix ℝ).PosDef := by
64
+ let : DecidableEq C := Classical.decEq C
65
+ have h := hcartan.submatrix (e := ((↑) : C → V)) Subtype.val_injective
66
+ convert h using 1
67
+ ext u v
68
+ by_cases huv : u=v
69
+ · subst v
70
+ simp [Matrix.submatrix_apply]
71
+ · have hval : u.val≠v.val := fun hh => huv (Subtype.ext hh)
72
+ simp [Matrix.submatrix_apply,SimpleGraph.adjMatrix_apply,
73
+ SimpleGraph.ConnectedComponent.toSimpleGraph,SimpleGraph.induce,huv,hval]
74
+ rfl
75
+
76
+ omit [Fintype V] in
77
+ def meshComponentNeighborEquiv (C : G.ConnectedComponent) (v : C) :
78
+ {u : C // C.toSimpleGraph.Adj u v} ≃ {u : V // G.Adj u v.val} where
79
+ toFun u := ⟨u.val.val,u.property⟩
80
+ invFun u := ⟨⟨u.val,C.mem_supp_of_adj_mem_supp v.property u.property.symm⟩,u.property⟩
81
+ left_inv u := by apply Subtype.ext; apply Subtype.ext; rfl
82
+ right_inv u := by apply Subtype.ext; rfl
83
+
84
+ /-- Every finite graph with positive definite Cartan form has a finite
85
+ all-plus mesh path bound, whether or not the graph is connected. -/
86
+ theorem positive_cartan_mesh_paths_vanish
87
+ (hcartan : ((2 : ℝ) • (1 : Matrix V V ℝ)-G.adjMatrix ℝ).PosDef)
88
+ (B : ∀ u v, G.Adj u v → R)
89
+ (hmesh : ∀ v, (∑ u : {u : V // G.Adj u v},
90
+ B v u.val u.property.symm * B u.val v u.property)=0) :
91
+ ∃ N : ℕ, 0<N ∧ ∀ v p, meshPathEvaluate G B N v p=0 := by
92
+ have hC (C : G.ConnectedComponent) : ∃ N : ℕ, 0<N ∧
93
+ ∀ v p, meshPathEvaluate C.toSimpleGraph (fun u v h => B u.val v.val h) N v p=0 := by
94
+ apply connected_mesh_paths_vanish C.toSimpleGraph C.connected_toSimpleGraph
95
+ (mesh_component_cartan G C hcartan)
96
+ intro v
97
+ calc
98
+ _ = ∑ u : {u : V // G.Adj u v.val}, B v.val u.val u.property.symm *
99
+ B u.val v.val u.property := by
100
+ apply Fintype.sum_equiv (meshComponentNeighborEquiv G C v)
101
+ intro u
102
+ rfl
103
+ _ = 0 := hmesh v.val
104
+ let n : G.ConnectedComponent → ℕ := fun C => (hC C).choose
105
+ have hn (C : G.ConnectedComponent) : ∀ v p,
106
+ meshPathEvaluate C.toSimpleGraph (fun u v h => B u.val v.val h) (n C) v p=0 :=
107
+ (hC C).choose_spec.2
108
+ let : Fintype G.ConnectedComponent := Fintype.ofFinite _
109
+ let N := Finset.univ.sup n+1
110
+ refine ⟨N,by dsimp [N]; omega,?_⟩
111
+ intro v p
112
+ let C := G.connectedComponentMk v
113
+ have hv : v∈C := by exact (C.mem_supp_iff v).mpr rfl
114
+ have hbound : n C≤N := by
115
+ have hle := Finset.le_sup (f := n) (Finset.mem_univ C)
116
+ dsimp [N]
117
+ omega
118
+ have hz := meshPathEvaluate_longer C.toSimpleGraph (fun u v h => B u.val v.val h)
119
+ (n C) (hn C) N hbound ⟨v,hv⟩ (meshPathInComponent G C N ⟨v,hv⟩ p)
120
+ rwa [meshPathInComponent_evaluate] at hz
121
+
122
+ end HarmonicArtin.ParabolicIntersections
123
+
124
+ end OAI
lean/OAI/Topology/ArtinGroups/ParabolicIntersections/MeshGraphWeights.lean ADDED
@@ -0,0 +1,77 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import OAI.Topology.ArtinGroups.ParabolicIntersections.MeshPerron
2
+
3
+ namespace OAI
4
+
5
+ /-! Positive mesh weights for a connected graph with positive Cartan form. -/
6
+ namespace HarmonicArtin.ParabolicIntersections
7
+ attribute [local instance] Classical.decEq Classical.propDecidable
8
+ open Matrix
9
+ variable {V : Type} [Fintype V] (G : SimpleGraph V)
10
+
11
+ lemma mesh_adjacency_sum (y : V → ℝ) (v : V) :
12
+ (G.adjMatrix ℝ *ᵥ y) v=∑ u : {u : V // G.Adj u v}, y u := by
13
+ rw [G.adjMatrix_mulVec_apply]
14
+ exact Finset.sum_subtype (G.neighborFinset v) (by intro u; simp [G.adj_comm]) y
15
+
16
+ lemma mesh_connected_eigenvector_pos (hG : G.Connected) (d : ℝ)
17
+ (y : V → ℝ) (hy : y≠0) (hnonneg : ∀ v, 0≤y v)
18
+ (heigen : G.adjMatrix ℝ *ᵥ y=d • y) : ∀ v, 0<y v := by
19
+ have hzero_adj {u v : V} (hadj : G.Adj u v) (hu : y u=0) : y v=0 := by
20
+ have hs : (∑ w : {w : V // G.Adj w u}, y w)=0 := by
21
+ have h := congrFun heigen u
22
+ rw [mesh_adjacency_sum] at h
23
+ simpa only [Pi.smul_apply,smul_eq_mul,hu,mul_zero] using h
24
+ exact (Finset.sum_eq_zero_iff_of_nonneg
25
+ (fun (w : {w : V // G.Adj w u}) _ => hnonneg w.val)).mp hs
26
+ ⟨v,hadj.symm⟩ (Finset.mem_univ _)
27
+ have hzero_path {u v : V} (p : G.Walk u v) : y u=0 → y v=0 := by
28
+ induction p with
29
+ | nil => exact id
30
+ | @cons a b c hab p ih => exact fun ha => ih (hzero_adj hab ha)
31
+ intro u
32
+ by_contra hpos
33
+ have hu : y u=0 := le_antisymm (le_of_not_gt hpos) (hnonneg u)
34
+ apply hy
35
+ funext v
36
+ exact hzero_path (hG.preconnected u v).some hu
37
+
38
+ /-- Positive definiteness of `2I-B` gives exactly the spectral interval
39
+ needed by the essential-path argument, on each nontrivial component. -/
40
+ theorem mesh_graph_positive_weights (hG : G.Connected)
41
+ (hedge : ∃ u v, G.Adj u v)
42
+ (hcartan : ((2 : ℝ) • (1 : Matrix V V ℝ)-G.adjMatrix ℝ).PosDef) :
43
+ ∃ (μ : V → ℝ) (d : ℝ), (∀ v, 0<μ v) ∧ 0<d ∧ d<2 ∧
44
+ ∀ v, (∑ u : {u : V // G.Adj u v}, μ u)=d*μ v := by
45
+ let : Nonempty V := hG.nonempty
46
+ have hsym : (G.adjMatrix ℝ).IsHermitian := by
47
+ rw [Matrix.isHermitian_iff_isSymm]
48
+ exact G.isSymm_adjMatrix
49
+ have hentries : ∀ u v, 0≤G.adjMatrix ℝ u v := by
50
+ intro u v
51
+ simp only [SimpleGraph.adjMatrix_apply]
52
+ split_ifs <;> norm_num
53
+ obtain ⟨d,μ,hne,hnonneg,heigen⟩ := mesh_nonnegative_top_eigenvector (G.adjMatrix ℝ) hsym hentries
54
+ have hμ := mesh_connected_eigenvector_pos G hG d μ hne hnonneg heigen
55
+ have heq (v : V) : (∑ u : {u : V // G.Adj u v}, μ u)=d*μ v := by
56
+ have h := congrFun heigen v
57
+ simpa only [mesh_adjacency_sum,Pi.smul_apply,smul_eq_mul] using h
58
+ obtain ⟨u,v,huv⟩ := hedge
59
+ have hsum : 0<(∑ w : {w : V // G.Adj w v}, μ w) := by
60
+ exact Finset.sum_pos' (fun w _ => (hμ w).le)
61
+ ⟨⟨u,huv⟩,Finset.mem_univ _,hμ u⟩
62
+ have hd : 0<d := by
63
+ rw [heq] at hsum
64
+ exact (mul_pos_iff.mp hsum).resolve_right (by intro h; exact (not_lt_of_ge (hμ v).le) h.2) |>.1
65
+ have hform := hcartan.dotProduct_mulVec_pos hne
66
+ simp only [star_trivial,sub_mulVec,smul_mulVec,one_mulVec,heigen,
67
+ dotProduct_sub,dotProduct_smul,smul_eq_mul] at hform
68
+ have hsq : 0≤μ ⬝ᵥ μ := Finset.sum_nonneg (fun i _ => mul_self_nonneg (μ i))
69
+ have hd2 : d<2 := by
70
+ by_contra h
71
+ have hm : d*(μ ⬝ᵥ μ)≥2*(μ ⬝ᵥ μ) := mul_le_mul_of_nonneg_right (le_of_not_gt h) hsq
72
+ linarith
73
+ exact ⟨μ,d,hμ,hd,hd2,heq⟩
74
+
75
+ end HarmonicArtin.ParabolicIntersections
76
+
77
+ end OAI
lean/OAI/Topology/ArtinGroups/ParabolicIntersections/MeshInsertionMatrix.lean ADDED
@@ -0,0 +1,46 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import Mathlib
2
+
3
+ namespace OAI
4
+
5
+ /-! Orthogonality of weighted path insertions. -/
6
+ namespace HarmonicArtin.ParabolicIntersections
7
+ attribute [local instance] Classical.decEq Classical.propDecidable
8
+ variable {I P Q : Type} [Fintype I] [Fintype P] [Fintype Q]
9
+
10
+ omit [Fintype P] in
11
+ /-- Rows obtained by inserting disjoint labeled detours are orthogonal. -/
12
+ theorem insertion_matrix_mul_conjTranspose (f : I × P → Q)
13
+ (hf : Function.Injective f) (a : I → ℂ) :
14
+ let C : Matrix P Q ℂ := fun p q => ∑ i, if q=f (i,p) then a i else 0
15
+ C*C.conjTranspose = (∑ i, a i*star (a i)) • (1 : Matrix P P ℂ) := by
16
+ ext p r
17
+ change (∑ q : Q, (∑ i : I, if q=f (i,p) then a i else 0) *
18
+ star (∑ j : I, if q=f (j,r) then a j else 0)) =
19
+ (∑ i : I, a i*star (a i)) * (if p=r then 1 else 0)
20
+ simp only [star_sum,apply_ite star,star_zero,Finset.sum_mul,Finset.mul_sum]
21
+ rw [Finset.sum_comm]
22
+ trans ∑ i : I, ∑ j : I, if f (i,r)=f (j,p) then a j*star (a i) else 0
23
+ · apply Finset.sum_congr rfl
24
+ intro i _
25
+ rw [Finset.sum_comm]
26
+ apply Finset.sum_congr rfl
27
+ intro j _
28
+ simp only [ite_mul,zero_mul,mul_ite,mul_zero]
29
+ simp
30
+ · have he : ∀ i j : I, f (i,r)=f (j,p) ↔ i=j ∧ p=r := by
31
+ intro i j
32
+ constructor
33
+ · intro h
34
+ obtain ⟨hi,hr⟩ := Prod.mk.inj (hf h)
35
+ exact ⟨hi,hr.symm⟩
36
+ · rintro ⟨rfl,rfl⟩
37
+ rfl
38
+ simp only [he]
39
+ by_cases hpr : p=r
40
+ · subst r
41
+ simp
42
+ · simp [hpr]
43
+
44
+ end HarmonicArtin.ParabolicIntersections
45
+
46
+ end OAI
lean/OAI/Topology/ArtinGroups/ParabolicIntersections/MeshMain.lean ADDED
@@ -0,0 +1,50 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import OAI.Topology.ArtinGroups.ParabolicIntersections.ReducedInputsMain
2
+ import OAI.Topology.ArtinGroups.ParabolicIntersections.RelativeEmbedding
3
+
4
+ namespace OAI
5
+
6
+ /-! Main results after discharging standard embeddings, acyclic twists,
7
+ and folding. Only mesh nilpotence and the dynamical criteria remain. -/
8
+ namespace HarmonicArtin.ParabolicIntersections
9
+ attribute [local instance] Classical.decEq Classical.propDecidable
10
+ variable {S : Type} [Fintype S] [LinearOrder S] (M : CoxeterMatrix S)
11
+ local instance : LinearOrder (S⊕Unit) := Sum.Lex.linearOrder
12
+
13
+ /-- Paper 082-03, Theorem 1.1, with all inputs except mesh nilpotence discharged. -/
14
+ theorem parabolic_intersections_of_mesh
15
+ (hMesh : ∀ X : Set S, PublishedMeshInput (relativeMatrix M X))
16
+ (X Y : Set S) (g h : Artin M) :
17
+ ∃ (Z : Set S) (k : Artin M),
18
+ conjugate g (artinParabolic M X) ⊓ conjugate h (artinParabolic M Y) =
19
+ conjugate k (artinParabolic M Z) :=
20
+ mesh_parabolic_intersections M (relative_embedding_input M) hMesh X Y g h
21
+
22
+ /-- Paper 082-03, Corollary 1.2, arbitrary intersections. -/
23
+ theorem arbitrary_intersections_of_mesh
24
+ (hMesh : ∀ X : Set S, PublishedMeshInput (relativeMatrix M X))
25
+ (F : Set (Subgroup (Artin M))) (hF : ∀ P ∈ F, IsParabolic M P) :
26
+ (∃ F₀ : Finset (Subgroup (Artin M)),
27
+ (↑F₀ : Set (Subgroup (Artin M))) ⊆ F ∧ F₀.card ≤ Nat.card S ∧
28
+ sInf F = sInf (↑F₀ : Set (Subgroup (Artin M)))) ∧ IsParabolic M (sInf F) :=
29
+ mesh_arbitrary_intersections M (relative_embedding_input M) hMesh F hF
30
+
31
+ /-- Paper 082-03, Corollary 1.2, parabolic closure. -/
32
+ theorem parabolic_closure_of_mesh
33
+ (hMesh : ∀ X : Set S, PublishedMeshInput (relativeMatrix M X))
34
+ (E : Set (Artin M)) :
35
+ ∃! P : Subgroup (Artin M), IsParabolic M P ∧ E ⊆ P ∧
36
+ ∀ Q : Subgroup (Artin M), IsParabolic M Q → E ⊆ Q → P ≤ Q :=
37
+ mesh_parabolic_closure M (relative_embedding_input M) hMesh E
38
+
39
+ /-- Paper 082-03, Corollary 1.3, with only the mesh and dynamics inputs. -/
40
+ theorem nonclique_dynamics_of_mesh
41
+ (hMesh : ∀ X : Set S, PublishedMeshInput (relativeMatrix M X))
42
+ (hVisual : PublishedVisualSplitting M)
43
+ (hIrred : IsIrreducible M) (hInf : ∃ s t : S, s ≠ t ∧ M s t=0) :
44
+ AcylindricallyHyperbolic (Artin M) ∧
45
+ ∀ P : Subgroup (Artin M), IsParabolic M P → P ≠ ⊤ → WeaklyMalnormal P :=
46
+ mesh_nonclique_dynamics M (relative_embedding_input M) hMesh hVisual hIrred hInf
47
+
48
+ end HarmonicArtin.ParabolicIntersections
49
+
50
+ end OAI
lean/OAI/Topology/ArtinGroups/ParabolicIntersections/MeshMatrixAction.lean ADDED
@@ -0,0 +1,80 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import OAI.Topology.ArtinGroups.ParabolicIntersections.MeshPathSpaces
2
+
3
+ namespace OAI
4
+
5
+ /-! Evaluating complex path matrices in an arbitrary complex module. -/
6
+ namespace HarmonicArtin.ParabolicIntersections
7
+ attribute [local instance] Classical.decEq Classical.propDecidable
8
+ variable {I J K R : Type} [Fintype I] [Fintype J] [Fintype K]
9
+ variable [AddCommGroup R] [Module ℂ R]
10
+
11
+ noncomputable def meshApply (A : Matrix I J ℂ) (f : I → R) (q : J) : R :=
12
+ ∑ p, A p q • f p
13
+
14
+ omit [Fintype J] [Fintype K] in
15
+ lemma meshApply_sub (A B : Matrix I J ℂ) (f : I → R) :
16
+ meshApply (A-B) f=meshApply A f-meshApply B f := by
17
+ funext q
18
+ simp only [meshApply,Matrix.sub_apply,sub_smul,Finset.sum_sub_distrib,Pi.sub_apply]
19
+
20
+ omit [Fintype J] [Fintype K] in
21
+ lemma meshApply_smul (a : ℂ) (A : Matrix I J ℂ) (f : I → R) :
22
+ meshApply (a • A) f=a • meshApply A f := by
23
+ funext q
24
+ simp only [meshApply,Matrix.smul_apply,smul_eq_mul,mul_smul,Finset.smul_sum,Pi.smul_apply]
25
+
26
+ omit [Fintype K] in
27
+ lemma meshApply_mul (A : Matrix I J ℂ) (B : Matrix J K ℂ) (f : I → R) :
28
+ meshApply (A*B) f=meshApply B (meshApply A f) := by
29
+ funext q
30
+ simp only [meshApply,Matrix.mul_apply,Finset.sum_smul,Finset.smul_sum,smul_smul]
31
+ rw [Finset.sum_comm]
32
+ apply Finset.sum_congr rfl
33
+ intro i _
34
+ apply Finset.sum_congr rfl
35
+ intro p _
36
+ rw [mul_comm]
37
+
38
+ omit [Fintype J] [Fintype K] in
39
+ lemma meshApply_one (f : I → R) : meshApply (1 : Matrix I I ℂ) f=f := by
40
+ funext q
41
+ simp [meshApply,Matrix.one_apply]
42
+
43
+ omit [Fintype J] [Fintype K] in
44
+ lemma meshApply_zero (f : I → R) : meshApply (0 : Matrix I J ℂ) f=0 := by
45
+ funext q
46
+ simp [meshApply]
47
+
48
+ omit [Fintype J] [Fintype K] in
49
+ lemma meshApply_zero_right (A : Matrix I J ℂ) : meshApply A (0 : I → R)=0 := by
50
+ funext q
51
+ simp [meshApply]
52
+
53
+ variable {V : Type} [Fintype V] (G : SimpleGraph V)
54
+
55
+ omit [Fintype I] [Fintype J] [Fintype K] in
56
+ /-- Extending a prefix matrix commutes with a linear last-edge operation. -/
57
+ lemma meshApply_extend {m n : ℕ}
58
+ (A : ∀ v, Matrix (MeshPaths G m v) (MeshPaths G n v) ℂ)
59
+ (f : ∀ v, MeshPaths G m v → R) (v : V)
60
+ (L : ∀ _u : {u : V // G.Adj u v}, R →ₗ[ℂ] R) :
61
+ meshApply (meshExtendMatrix G A v)
62
+ (fun p : MeshPaths G (m+1) v => L p.1 (f p.1.val p.2)) =
63
+ fun q : MeshPaths G (n+1) v => L q.1 (meshApply (A q.1.val) (f q.1.val) q.2) := by
64
+ funext q
65
+ obtain ⟨u,q⟩ := q
66
+ change (∑ p : Σ w : {w : V // G.Adj w v}, MeshPaths G m w.val,
67
+ Matrix.blockDiagonal' (fun w : {w : V // G.Adj w v} => A w.val) p ⟨u,q⟩ •
68
+ L p.1 (f p.1.val p.2))=_
69
+ rw [Fintype.sum_sigma]
70
+ rw [Finset.sum_eq_single u]
71
+ · simp only [Matrix.blockDiagonal'_apply_eq,meshApply,map_sum,map_smul]
72
+ · intro w _ hwu
73
+ apply Finset.sum_eq_zero
74
+ intro p _
75
+ rw [Matrix.blockDiagonal'_apply_ne _ _ _ hwu,zero_smul]
76
+ · simp
77
+
78
+ end HarmonicArtin.ParabolicIntersections
79
+
80
+ end OAI
lean/OAI/Topology/ArtinGroups/ParabolicIntersections/MeshNaturality.lean ADDED
@@ -0,0 +1,132 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import OAI.Topology.ArtinGroups.ParabolicIntersections.MeshAdjacent
2
+
3
+ namespace OAI
4
+
5
+ /-! A prefix operator commutes with contraction of the final backtrack. -/
6
+ namespace HarmonicArtin.ParabolicIntersections
7
+ attribute [local instance] Classical.decEq Classical.propDecidable
8
+ variable {V : Type} [Fintype V] (G : SimpleGraph V)
9
+
10
+ lemma meshContraction_insert (μ : V → ℝ) (n : ℕ) (v : V)
11
+ (p q : MeshPaths G n v) (u : {u : V // G.Adj u v}) :
12
+ meshContractionMatrix G μ n v p (meshInsertBacktrack G u q)=
13
+ if q=p then (Real.sqrt (μ u/μ v) : ℂ) else 0 := by
14
+ calc
15
+ _ = @ite ℂ ((⟨⟨v,u.property.symm⟩,q⟩ : MeshPaths G (n+1) u.val)=
16
+ ⟨⟨v,u.property.symm⟩,p⟩) (Classical.propDecidable _)
17
+ (Real.sqrt (μ u/μ v) : ℂ) 0 :=
18
+ meshContraction_head G μ n v p u ⟨⟨v,u.property.symm⟩,q⟩
19
+ _ = _ := by
20
+ have he : (⟨⟨v,u.property.symm⟩,q⟩ : MeshPaths G (n+1) u.val)=
21
+ ⟨⟨v,u.property.symm⟩,p⟩ ↔ q=p := by
22
+ constructor
23
+ · intro h
24
+ exact eq_of_heq (Sigma.mk.inj_iff.mp h).2
25
+ · rintro rfl
26
+ rfl
27
+ simp only [he]
28
+
29
+ lemma meshContraction_no_return (μ : V → ℝ) (n : ℕ) (v : V)
30
+ (p : MeshPaths G n v) (u : {u : V // G.Adj u v})
31
+ (w : {w : V // G.Adj w u.val}) (q : MeshPaths G n w.val) (hw : w.val≠v) :
32
+ meshContractionMatrix G μ n v p ⟨u,⟨w,q⟩⟩=0 := by
33
+ calc
34
+ _ = @ite ℂ ((⟨w,q⟩ : MeshPaths G (n+1) u.val)=⟨⟨v,u.property.symm⟩,p⟩)
35
+ (Classical.propDecidable _) (Real.sqrt (μ u/μ v) : ℂ) 0 :=
36
+ meshContraction_head G μ n v p u ⟨w,q⟩
37
+ _ = 0 := by
38
+ apply ite_eq_right
39
+ intro he
40
+ exact hw (congrArg (fun z => (Sigma.fst z).val) he)
41
+
42
+ omit [Fintype V] in
43
+ lemma meshExtend_twice_insert {m n : ℕ}
44
+ (A : ∀ v, Matrix (MeshPaths G m v) (MeshPaths G n v) ℂ) (v : V)
45
+ (p : MeshPaths G m v) (q : MeshPaths G n v)
46
+ (u w : {u : V // G.Adj u v}) :
47
+ meshExtendMatrix G (meshExtendMatrix G A) v
48
+ (meshInsertBacktrack G u p) (meshInsertBacktrack G w q)=
49
+ if u=w then A v p q else 0 := by
50
+ let lp : MeshPaths G (m+1) u.val := ⟨⟨v,u.property.symm⟩,p⟩
51
+ let rp : MeshPaths G (n+1) w.val := ⟨⟨v,w.property.symm⟩,q⟩
52
+ change Matrix.blockDiagonal' (fun z : {z : V // G.Adj z v} =>
53
+ meshExtendMatrix G A z.val) ⟨u,lp⟩ ⟨w,rp⟩=_
54
+ by_cases h : u=w
55
+ · subst w
56
+ rw [Matrix.blockDiagonal'_apply_eq,ite_eq_left rfl]
57
+ change Matrix.blockDiagonal' (fun z : {z : V // G.Adj z u.val} => A z.val)
58
+ ⟨⟨v,u.property.symm⟩,p⟩ ⟨⟨v,u.property.symm⟩,q⟩=_
59
+ exact Matrix.blockDiagonal'_apply_eq _ _ _ _
60
+ · rw [Matrix.blockDiagonal'_apply_ne _ _ _ h,ite_eq_right h]
61
+
62
+ omit [Fintype V] in
63
+ lemma meshExtend_twice_no_return {m n : ℕ}
64
+ (A : ∀ v, Matrix (MeshPaths G m v) (MeshPaths G n v) ℂ) (v : V)
65
+ (p : MeshPaths G m v) (u w : {u : V // G.Adj u v})
66
+ (x : {x : V // G.Adj x w.val}) (q : MeshPaths G n x.val) (hx : x.val≠v) :
67
+ meshExtendMatrix G (meshExtendMatrix G A) v
68
+ (meshInsertBacktrack G u p) ⟨w,⟨x,q⟩⟩=0 := by
69
+ let lp : MeshPaths G (m+1) u.val := ⟨⟨v,u.property.symm⟩,p⟩
70
+ let rp : MeshPaths G (n+1) w.val := ⟨x,q⟩
71
+ change Matrix.blockDiagonal' (fun z : {z : V // G.Adj z v} =>
72
+ meshExtendMatrix G A z.val) ⟨u,lp⟩ ⟨w,rp⟩=0
73
+ by_cases h : u=w
74
+ · subst w
75
+ rw [Matrix.blockDiagonal'_apply_eq]
76
+ change Matrix.blockDiagonal' (fun z : {z : V // G.Adj z u.val} => A z.val)
77
+ ⟨⟨v,u.property.symm⟩,p⟩ ⟨x,q⟩=0
78
+ apply Matrix.blockDiagonal'_apply_ne
79
+ intro he
80
+ exact hx (congrArg Subtype.val he).symm
81
+ · exact Matrix.blockDiagonal'_apply_ne _ _ _ h
82
+
83
+ /-- No property of the prefix operator is needed: the final pair is
84
+ disjoint from it, so contraction is natural for every endpoint family. -/
85
+ theorem meshContraction_naturality (μ : V → ℝ) {m n : ℕ}
86
+ (A : ∀ v, Matrix (MeshPaths G m v) (MeshPaths G n v) ℂ) (v : V) :
87
+ meshContractionMatrix G μ m v * meshExtendMatrix G (meshExtendMatrix G A) v =
88
+ A v * meshContractionMatrix G μ n v := by
89
+ ext p r
90
+ rw [meshContraction_mul]
91
+ obtain ⟨u,w,q⟩ := r
92
+ by_cases hw : w.val=v
93
+ · have he : w=⟨v,u.property.symm⟩ := Subtype.ext hw
94
+ subst w
95
+ change (∑ x : {x : V // G.Adj x v}, (Real.sqrt (μ x/μ v) : ℂ)*
96
+ meshExtendMatrix G (meshExtendMatrix G A) v
97
+ (meshInsertBacktrack G x p) (meshInsertBacktrack G u q))=_
98
+ simp only [meshExtend_twice_insert,mul_ite,mul_zero]
99
+ rw [Finset.sum_ite_eq']
100
+ change _ = ∑ t : MeshPaths G n v,
101
+ A v p t * meshContractionMatrix G μ n v t (meshInsertBacktrack G u q)
102
+ simp only [meshContraction_insert,mul_ite,mul_zero]
103
+ simp [mul_comm]
104
+ · change (∑ x : {x : V // G.Adj x v}, (Real.sqrt (μ x/μ v) : ℂ)*
105
+ meshExtendMatrix G (meshExtendMatrix G A) v
106
+ (meshInsertBacktrack G x p) ⟨u,���w,q⟩⟩)=_
107
+ simp only [meshExtend_twice_no_return G A v p _ u w q hw,mul_zero,Finset.sum_const_zero]
108
+ change 0 = ∑ t : MeshPaths G n v,
109
+ A v p t * meshContractionMatrix G μ n v t ⟨u,⟨w,q⟩⟩
110
+ simp only [meshContraction_no_return G μ n v _ u w q hw,mul_zero,Finset.sum_const_zero]
111
+
112
+ theorem meshContraction_adjacent_right (μ : V → ℝ) (hμ : ∀ v, 0<μ v)
113
+ (n : ℕ) (v : V) :
114
+ meshExtendMatrix G (meshContractionMatrix G μ n) v *
115
+ (meshContractionMatrix G μ (n+1) v).conjTranspose=1 := by
116
+ have h := congrArg Matrix.conjTranspose (meshContraction_adjacent G μ hμ n v)
117
+ simpa only [Matrix.conjTranspose_mul,meshExtend_adjoint,
118
+ Matrix.conjTranspose_conjTranspose,Matrix.conjTranspose_one] using h
119
+
120
+ theorem meshContraction_naturality_adjoint (μ : V → ℝ) {m n : ℕ}
121
+ (A : ∀ v, Matrix (MeshPaths G m v) (MeshPaths G n v) ℂ) (v : V) :
122
+ meshExtendMatrix G (meshExtendMatrix G A) v *
123
+ (meshContractionMatrix G μ n v).conjTranspose=
124
+ (meshContractionMatrix G μ m v).conjTranspose*A v := by
125
+ have h := congrArg Matrix.conjTranspose
126
+ (meshContraction_naturality G μ (fun v => (A v).conjTranspose) v)
127
+ simpa only [Matrix.conjTranspose_mul,meshExtend_adjoint,
128
+ Matrix.conjTranspose_conjTranspose] using h
129
+
130
+ end HarmonicArtin.ParabolicIntersections
131
+
132
+ end OAI
lean/OAI/Topology/ArtinGroups/ParabolicIntersections/MeshNilpotence.lean ADDED
@@ -0,0 +1,84 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import Mathlib.Algebra.FreeAlgebra
2
+ import Mathlib.RingTheory.TwoSidedIdeal.Operations
3
+ import Mathlib.RingTheory.TwoSidedIdeal.Kernel
4
+ import OAI.Topology.ArtinGroups.Quivers.ReversibleQuiver
5
+
6
+ namespace OAI
7
+
8
+ /-!
9
+ # The published finite-Dynkin path input
10
+
11
+ `MeshNilpotent` is the positive-degree nilpotence assertion for the
12
+ preprojective (mesh) algebra of an induced finite Dynkin graph. Its
13
+ relations are displayed explicitly, rather than asserted for a complex.
14
+ The standard finite-dimensionality input is Amiot, *On the structure of
15
+ triangulated categories with finitely many indecomposables*, Bull. Soc.
16
+ Math. France 135 (2007), Proposition 9.1; the essential-path formulation
17
+ is Coquereaux (2002), §§3.1–3.2, and Cooper (2007), Theorem 5.4.3 and
18
+ Proposition 5.6.10. On a bipartite Dynkin graph the usual signed mesh
19
+ relations have the same zero sets as the displayed all-plus relations.
20
+
21
+ This module proves evaluation of the abstract relations. It does not
22
+ assume their vanishing for coefficient maps of the target paper's
23
+ complexes, nor assume any stabilizer or bounded-height conclusion.
24
+ -/
25
+ namespace HarmonicArtin.ParabolicIntersections
26
+ attribute [local instance] Classical.decEq Classical.propDecidable
27
+ variable {V A : Type} (Q : ReversibleQuiver V A) [Fintype A]
28
+
29
+ noncomputable def meshRelation (v : V) : FreeAlgebra ℂ A :=
30
+ ∑ a, if Q.source a = v then FreeAlgebra.ι ℂ a * FreeAlgebra.ι ℂ (Q.reverse a) else 0
31
+
32
+ def meshRelations (U : Set V) : Set (FreeAlgebra ℂ A) :=
33
+ {z | ∃ a, (Q.source a ∉ U ∨ Q.target a ∉ U) ∧ z = FreeAlgebra.ι ℂ a} ∪
34
+ {z | ∃ a b, Q.target a ≠ Q.source b ∧ z = FreeAlgebra.ι ℂ a * FreeAlgebra.ι ℂ b} ∪
35
+ {z | ∃ v ∈ U, z = meshRelation Q v}
36
+
37
+ /-- Exact abstract algebra input: sufficiently long positive words lie
38
+ in the two-sided ideal generated by the mesh relations. -/
39
+ def MeshNilpotent (U : Set V) : Prop :=
40
+ ∃ N : ℕ, 0 < N ∧ ∀ w : List A, w.length = N →
41
+ (w.map (FreeAlgebra.ι ℂ)).prod ∈ TwoSidedIdeal.span (meshRelations Q U)
42
+
43
+ /-- Evaluation of one abstract path identity into an arbitrary complex algebra. -/
44
+ theorem mesh_word_evaluate {U : Set V}
45
+ {R : Type*} [Ring R] [Algebra ℂ R] (B : A → R)
46
+ (houtside : ∀ a, Q.source a ∉ U ∨ Q.target a ∉ U → B a = 0)
47
+ (hpath : ∀ a b, Q.target a ≠ Q.source b → B a * B b = 0)
48
+ (hmesh : ∀ v ∈ U, (∑ a, if Q.source a = v then B a * B (Q.reverse a) else 0) = 0)
49
+ (w : List A) (hw : (w.map (FreeAlgebra.ι ℂ)).prod ∈
50
+ TwoSidedIdeal.span (meshRelations Q U)) : (w.map B).prod = 0 := by
51
+ let φ : FreeAlgebra ℂ A →ₐ[ℂ] R := FreeAlgebra.lift ℂ B
52
+ have hk : TwoSidedIdeal.span (meshRelations Q U) ≤ TwoSidedIdeal.ker φ.toRingHom := by
53
+ apply TwoSidedIdeal.span_le.mpr
54
+ intro z hz
55
+ change φ z = φ 0
56
+ rw [map_zero]
57
+ rcases hz with (⟨a, ha, rfl⟩ | ⟨a, b, hab, rfl⟩) | ⟨v, hv, rfl⟩
58
+ · simpa only [φ, FreeAlgebra.lift_ι_apply] using houtside a ha
59
+ · simpa only [map_mul, φ, FreeAlgebra.lift_ι_apply] using hpath a b hab
60
+ · simp only [meshRelation, map_sum]
61
+ convert hmesh v hv using 1
62
+ apply Finset.sum_congr rfl
63
+ intro a _
64
+ split_ifs
65
+ · simp only [map_mul, φ, FreeAlgebra.lift_ι_apply]
66
+ · exact map_zero φ
67
+ have he : φ (w.map (FreeAlgebra.ι ℂ)).prod = φ 0 := hk hw
68
+ rw [map_zero] at he
69
+ simpa only [map_list_prod, List.map_map, Function.comp_def, φ, FreeAlgebra.lift_ι_apply] using he
70
+
71
+ /-- The nilpotence exponent depends only on the graph, not on the algebra
72
+ in which the paths are evaluated. -/
73
+ theorem meshNilpotent_evaluate {U : Set V} (h : MeshNilpotent Q U)
74
+ {R : Type*} [Ring R] [Algebra ℂ R] (B : A → R)
75
+ (houtside : ∀ a, Q.source a ∉ U ∨ Q.target a ∉ U → B a = 0)
76
+ (hpath : ∀ a b, Q.target a ≠ Q.source b → B a * B b = 0)
77
+ (hmesh : ∀ v ∈ U, (∑ a, if Q.source a = v then B a * B (Q.reverse a) else 0) = 0) :
78
+ ∃ N : ℕ, 0 < N ∧ ∀ w : List A, w.length = N → (w.map B).prod = 0 := by
79
+ obtain ⟨N, hN, hwords⟩ := h
80
+ exact ⟨N, hN, fun w hw => mesh_word_evaluate Q B houtside hpath hmesh w (hwords w hw)⟩
81
+
82
+ end HarmonicArtin.ParabolicIntersections
83
+
84
+ end OAI
lean/OAI/Topology/ArtinGroups/ParabolicIntersections/MeshNormalization.lean ADDED
@@ -0,0 +1,90 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import OAI.Topology.ArtinGroups.ParabolicIntersections.MeshPathEvaluation
2
+
3
+ namespace OAI
4
+
5
+ /-! Passage from the weighted essential-path relations to all-plus meshes. -/
6
+ namespace HarmonicArtin.ParabolicIntersections
7
+ attribute [local instance] Classical.decEq Classical.propDecidable
8
+ variable {V R : Type} [Fintype V] (G : SimpleGraph V) [Ring R] [Algebra ℂ R]
9
+
10
+ lemma mesh_normalization_weight (a b : ℝ) (ha : 0<a) (hb : 0<b) :
11
+ Real.sqrt (a/b)*(Real.sqrt a)⁻¹*(Real.sqrt b)⁻¹=b⁻¹ := by
12
+ rw [Real.sqrt_div ha.le]
13
+ have hsa := ne_of_gt (Real.sqrt_pos.mpr ha)
14
+ have hsb := ne_of_gt (Real.sqrt_pos.mpr hb)
15
+ calc
16
+ _ = ((Real.sqrt b)^2)⁻¹ := by field_simp
17
+ _ = b⁻¹ := by rw [Real.sq_sqrt hb.le]
18
+
19
+ noncomputable def meshRescale (μ : V → ℝ) (B : ∀ u v, G.Adj u v → R)
20
+ (u v : V) (h : G.Adj u v) : R :=
21
+ ((Real.sqrt (μ v))⁻¹ : ℂ) • B u v h
22
+
23
+ lemma meshRescale_relation (μ : V → ℝ) (hμ : ∀ v, 0<μ v)
24
+ (B : ∀ u v, G.Adj u v → R)
25
+ (hmesh : ∀ v, (∑ u : {u : V // G.Adj u v},
26
+ B v u.val u.property.symm * B u.val v u.property)=0) (v : V) :
27
+ (∑ u : {u : V // G.Adj u v}, (Real.sqrt (μ u/μ v) : ℂ) •
28
+ (meshRescale G μ B v u.val u.property.symm * meshRescale G μ B u.val v u.property))=0 := by
29
+ have hc (u : {u : V // G.Adj u v}) :
30
+ (Real.sqrt (μ u/μ v) : ℂ) * ((Real.sqrt (μ v))⁻¹ : ℂ) *
31
+ ((Real.sqrt (μ u))⁻¹ : ℂ)=(μ v)⁻¹ := by
32
+ calc
33
+ _ = (Real.sqrt (μ u/μ v) : ℂ) * ((Real.sqrt (μ u))⁻¹ : ℂ) *
34
+ ((Real.sqrt (μ v))⁻¹ : ℂ) := by ring
35
+ _ = _ := by exact_mod_cast mesh_normalization_weight (μ u) (μ v) (hμ u) (hμ v)
36
+ simp only [meshRescale,smul_mul_assoc,mul_smul_comm,smul_smul]
37
+ simp only [←mul_assoc,hc]
38
+ rw [←Finset.smul_sum,hmesh,smul_zero]
39
+
40
+ noncomputable def meshPathScale (μ : V → ℝ) :
41
+ (n : ℕ) → (v : V) → MeshPaths G n v → ℂ
42
+ | 0, _, _ => 1
43
+ | n+1, v, p => meshPathScale μ n p.1.val p.2 * ((Real.sqrt (μ v))⁻¹ : ℂ)
44
+
45
+ omit [Fintype V] in
46
+ lemma meshPathScale_ne_zero (μ : V → ℝ) (hμ : ∀ v, 0<μ v) :
47
+ ∀ n v p, meshPathScale G μ n v p≠0 := by
48
+ intro n
49
+ induction n with
50
+ | zero => intro v p; exact one_ne_zero
51
+ | succ n ih =>
52
+ intro v p
53
+ change meshPathScale G μ n p.1.val p.2 * ((Real.sqrt (μ v))⁻¹ : ℂ)≠0
54
+ apply mul_ne_zero (ih p.1.val p.2)
55
+ exact inv_ne_zero (Complex.ofReal_ne_zero.mpr (ne_of_gt (Real.sqrt_pos.mpr (hμ v))))
56
+
57
+ omit [Fintype V] in
58
+ lemma meshRescale_evaluate (μ : V → ℝ) (B : ∀ u v, G.Adj u v → R) :
59
+ ∀ n v p, meshPathEvaluate G (meshRescale G μ B) n v p=
60
+ meshPathScale G μ n v p • meshPathEvaluate G B n v p := by
61
+ intro n
62
+ induction n with
63
+ | zero => intro v p; exact (one_smul ℂ (1 : R)).symm
64
+ | succ n ih =>
65
+ intro v p
66
+ change meshPathEvaluate G (meshRescale G μ B) n p.1.val p.2 *
67
+ (((Real.sqrt (μ v))⁻¹ : ℂ) • B p.1.val v p.1.property)=_
68
+ rw [ih,smul_mul_assoc,mul_smul_comm,smul_smul]
69
+ rfl
70
+
71
+ /-- Unweighted all-plus mesh relations suffice for the same finite path
72
+ bound. The rescaling factors are explicitly proved nonzero. -/
73
+ theorem allPlus_mesh_paths_vanish (μ : V → ℝ) (hμ : ∀ v, 0<μ v)
74
+ (δ : ℝ) (hδ0 : 0<δ) (hδ2 : δ<2)
75
+ (heigen : ∀ v, (∑ u : {u : V // G.Adj u v}, μ u)=δ*μ v)
76
+ (B : ∀ u v, G.Adj u v → R)
77
+ (hmesh : ∀ v, (∑ u : {u : V // G.Adj u v},
78
+ B v u.val u.property.symm * B u.val v u.property)=0) :
79
+ ∃ N : ℕ, 0<N ∧ ∀ v p, meshPathEvaluate G B N v p=0 := by
80
+ obtain ⟨N,hN,hzero⟩ := weighted_mesh_paths_vanish G μ hμ δ hδ0 hδ2 heigen
81
+ (meshRescale G μ B) (meshRescale_relation G μ hμ B hmesh)
82
+ refine ⟨N,hN,?_⟩
83
+ intro v p
84
+ have h := hzero v p
85
+ rw [meshRescale_evaluate] at h
86
+ exact (smul_eq_zero.mp h).resolve_left (meshPathScale_ne_zero G μ hμ N v p)
87
+
88
+ end HarmonicArtin.ParabolicIntersections
89
+
90
+ end OAI
lean/OAI/Topology/ArtinGroups/ParabolicIntersections/MeshPathEvaluation.lean ADDED
@@ -0,0 +1,115 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import OAI.Topology.ArtinGroups.ParabolicIntersections.MeshProjectionCutoff
2
+ import OAI.Topology.ArtinGroups.ParabolicIntersections.MeshMatrixAction
3
+
4
+ namespace OAI
5
+
6
+ /-! Weighted mesh relations annihilate sufficiently long actual paths. -/
7
+ namespace HarmonicArtin.ParabolicIntersections
8
+ attribute [local instance] Classical.decEq Classical.propDecidable
9
+ variable {V R : Type} [Fintype V] (G : SimpleGraph V)
10
+ variable [Ring R] [Algebra ℂ R]
11
+
12
+ def meshPathEvaluate (B : ∀ u v, G.Adj u v → R) :
13
+ (n : ℕ) → (v : V) → MeshPaths G n v → R
14
+ | 0, _, _ => 1
15
+ | n+1, v, p => meshPathEvaluate B n p.1.val p.2 * B p.1.val v p.1.property
16
+
17
+ omit [Fintype V] [Algebra ℂ R] in
18
+ lemma meshPathEvaluate_insert (B : ∀ u v, G.Adj u v → R) (n : ℕ) (v : V)
19
+ (u : {u : V // G.Adj u v}) (p : MeshPaths G n v) :
20
+ meshPathEvaluate G B (n+2) v (meshInsertBacktrack G u p)=
21
+ meshPathEvaluate G B n v p * B v u.val u.property.symm * B u.val v u.property := rfl
22
+
23
+ lemma meshApply_contraction_adjoint (μ : V → ℝ) (n : ℕ) (v : V)
24
+ (f : MeshPaths G (n+2) v → R) (p : MeshPaths G n v) :
25
+ meshApply (meshContractionMatrix G μ n v).conjTranspose f p=
26
+ ∑ u : {u : V // G.Adj u v}, (Real.sqrt (μ u/μ v) : ℂ) •
27
+ f (meshInsertBacktrack G u p) := by
28
+ change (∑ q, star (∑ u : {u : V // G.Adj u v},
29
+ if q=meshInsertBacktrack G u p then (Real.sqrt (μ u/μ v) : ℂ) else 0) • f q)=_
30
+ simp only [star_sum,apply_ite star,star_zero,Complex.star_def,Complex.conj_ofReal,
31
+ Finset.sum_smul,ite_smul,zero_smul]
32
+ rw [Finset.sum_comm]
33
+ simp
34
+
35
+ lemma meshPathEvaluate_contracts (μ : V → ℝ) (B : ∀ u v, G.Adj u v → R)
36
+ (hmesh : ∀ v, (∑ u : {u : V // G.Adj u v},
37
+ (Real.sqrt (μ u/μ v) : ℂ) • (B v u.val u.property.symm * B u.val v u.property))=0)
38
+ (n : ℕ) (v : V) :
39
+ meshApply (meshContractionMatrix G μ n v).conjTranspose
40
+ (meshPathEvaluate G B (n+2) v)=0 := by
41
+ funext p
42
+ rw [meshApply_contraction_adjoint]
43
+ simp only [meshPathEvaluate_insert,Pi.zero_apply]
44
+ calc
45
+ _ = meshPathEvaluate G B n v p *
46
+ (∑ u : {u : V // G.Adj u v}, (Real.sqrt (μ u/μ v) : ℂ) •
47
+ (B v u.val u.property.symm * B u.val v u.property)) := by
48
+ rw [Finset.mul_sum]
49
+ apply Finset.sum_congr rfl
50
+ intro u _
51
+ rw [mul_assoc,mul_smul_comm]
52
+ _ = 0 := by rw [hmesh,mul_zero]
53
+
54
+ lemma meshPathEvaluate_extend (B : ∀ u v, G.Adj u v → R) {m n : ℕ}
55
+ (A : ∀ v, Matrix (MeshPaths G m v) (MeshPaths G n v) ℂ)
56
+ (hA : ∀ v, meshApply (A v) (meshPathEvaluate G B m v)=meshPathEvaluate G B n v)
57
+ (v : V) : meshApply (meshExtendMatrix G A v) (meshPathEvaluate G B (m+1) v)=
58
+ meshPathEvaluate G B (n+1) v := by
59
+ let L (u : {u : V // G.Adj u v}) : R →ₗ[ℂ] R := {
60
+ toFun := fun x => x*B u.val v u.property
61
+ map_add' := fun x y => add_mul x y _
62
+ map_smul' := fun a x => smul_mul_assoc a x _ }
63
+ change meshApply (meshExtendMatrix G A v)
64
+ (fun p => L p.1 (meshPathEvaluate G B m p.1.val p.2))=_
65
+ rw [meshApply_extend]
66
+ funext q
67
+ rw [hA]
68
+ rfl
69
+
70
+ /-- Every recursively defined projection acts as the identity after
71
+ evaluation in an algebra satisfying the weighted mesh relations. -/
72
+ theorem meshPathEvaluate_projection (μ : V → ℝ) (δ : ℝ)
73
+ (B : ∀ u v, G.Adj u v → R)
74
+ (hmesh : ∀ v, (∑ u : {u : V // G.Adj u v},
75
+ (Real.sqrt (μ u/μ v) : ℂ) • (B v u.val u.property.symm * B u.val v u.property))=0) :
76
+ ∀ n v, meshApply (meshProjection G μ δ n v) (meshPathEvaluate G B n v)=
77
+ meshPathEvaluate G B n v := by
78
+ intro n
79
+ induction n using Nat.twoStepInduction with
80
+ | zero => intro v; rw [meshProjection_zero,meshApply_one]
81
+ | one => intro v; rw [meshProjection_one,meshApply_one]
82
+ | more n _ ih =>
83
+ intro v
84
+ let Q := meshExtendMatrix G (meshProjection G μ δ (n+1)) v
85
+ let C := meshContractionMatrix G μ n v
86
+ let f := meshPathEvaluate G B (n+2) v
87
+ have hQ : meshApply Q f=f := meshPathEvaluate_extend G B _ ih v
88
+ have hQstar : Q.conjTranspose=Q := by
89
+ simp only [Q,meshExtend_adjoint,meshProjection_selfAdjoint]
90
+ have hkill : meshApply (C*Q).conjTranspose f=0 := by
91
+ rw [Matrix.conjTranspose_mul,hQstar,meshApply_mul,hQ]
92
+ exact meshPathEvaluate_contracts G μ B hmesh n v
93
+ rw [meshProjection_step,meshApply_sub,meshApply_smul,meshApply_mul]
94
+ change meshApply Q f - _ • meshApply (C*Q) (meshApply (C*Q).conjTranspose f)=f
95
+ rw [hQ,hkill,meshApply_zero_right,smul_zero,sub_zero]
96
+
97
+ /-- A single finite path length vanishes in every algebra satisfying the
98
+ weighted mesh relations. The proof uses the actual finite path matrices. -/
99
+ theorem weighted_mesh_paths_vanish (μ : V → ℝ) (hμ : ∀ v, 0<μ v)
100
+ (δ : ℝ) (hδ0 : 0<δ) (hδ2 : δ<2)
101
+ (heigen : ∀ v, (∑ u : {u : V // G.Adj u v}, μ u)=δ*μ v)
102
+ (B : ∀ u v, G.Adj u v → R)
103
+ (hmesh : ∀ v, (∑ u : {u : V // G.Adj u v},
104
+ (Real.sqrt (μ u/μ v) : ℂ) • (B v u.val u.property.symm * B u.val v u.property))=0) :
105
+ ∃ N : ℕ, 0<N ∧ ∀ v p, meshPathEvaluate G B N v p=0 := by
106
+ obtain ⟨N,hN,hzero⟩ := meshProjection_eventually_zero G μ hμ δ hδ0 hδ2 heigen
107
+ refine ⟨N,hN,?_⟩
108
+ intro v p
109
+ have h := meshPathEvaluate_projection G μ δ B hmesh N v
110
+ rw [hzero,meshApply_zero] at h
111
+ exact (congrFun h p).symm
112
+
113
+ end HarmonicArtin.ParabolicIntersections
114
+
115
+ end OAI
lean/OAI/Topology/ArtinGroups/ParabolicIntersections/MeshPathSpaces.lean ADDED
@@ -0,0 +1,57 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import Mathlib
2
+
3
+ namespace OAI
4
+
5
+ /-! The actual finite path spaces and weighted last-backtrack contractions. -/
6
+ namespace HarmonicArtin.ParabolicIntersections
7
+ attribute [local instance] Classical.decEq Classical.propDecidable
8
+ variable {V : Type} (G : SimpleGraph V)
9
+
10
+ /-- Paths of length `n`, indexed by their final vertex. The recursive
11
+ presentation makes extension of prefix operators a block-diagonal map. -/
12
+ def MeshPaths : ℕ → V → Type
13
+ | 0, _ => PUnit
14
+ | n+1, v => Σ u : {u : V // G.Adj u v}, MeshPaths n u.val
15
+
16
+ noncomputable instance meshPathsFintype [Fintype V] (n : ℕ) (v : V) : Fintype (MeshPaths G n v) := by
17
+ induction n generalizing v with
18
+ | zero => change Fintype PUnit; infer_instance
19
+ | succ n ih =>
20
+ change Fintype (Σ u : {u : V // G.Adj u v}, MeshPaths G n u.val)
21
+ let (u : V) : Fintype (MeshPaths G n u) := ih u
22
+ infer_instance
23
+
24
+ /-- Attach the last two edges `v,u,v` to a path ending at `v`. -/
25
+ def meshInsertBacktrack {n : ℕ} {v : V} (u : {u : V // G.Adj u v})
26
+ (p : MeshPaths G n v) : MeshPaths G (n+2) v :=
27
+ ⟨u,⟨⟨v,u.property.symm⟩,p⟩⟩
28
+
29
+ lemma meshInsertBacktrack_injective {n : ℕ} {v : V} :
30
+ Function.Injective (fun up : {u : V // G.Adj u v} × MeshPaths G n v =>
31
+ meshInsertBacktrack G up.1 up.2) := by
32
+ rintro ⟨u,p⟩ ⟨w,q⟩ h
33
+ change (⟨u,⟨⟨v,u.property.symm⟩,p⟩⟩ : MeshPaths G (n+2) v)=
34
+ ⟨w,⟨⟨v,w.property.symm⟩,q⟩⟩ at h
35
+ obtain ⟨hu,hinner⟩ := Sigma.mk.inj_iff.mp h
36
+ cases hu
37
+ have hp := (Sigma.mk.inj_iff.mp (eq_of_heq hinner)).2
38
+ exact Prod.ext rfl (eq_of_heq hp)
39
+
40
+ variable [Fintype V]
41
+
42
+ /-- The contraction coefficient is the positive square root used in the
43
+ essential-path representation of the mesh algebra. -/
44
+ noncomputable def meshContractionMatrix (μ : V → ℝ) (n : ℕ) (v : V) :
45
+ Matrix (MeshPaths G n v) (MeshPaths G (n+2) v) ℂ :=
46
+ fun p q => ∑ u : {u : V // G.Adj u v},
47
+ if q=meshInsertBacktrack G u p then (Real.sqrt (μ u/μ v) : ℂ) else 0
48
+
49
+ /-- Extending a prefix operator by one edge, without changing that edge. -/
50
+ noncomputable def meshExtendMatrix {m n : ℕ}
51
+ (T : ∀ v, Matrix (MeshPaths G m v) (MeshPaths G n v) ℂ) (v : V) :
52
+ Matrix (MeshPaths G (m+1) v) (MeshPaths G (n+1) v) ℂ :=
53
+ Matrix.blockDiagonal' (fun u : {u : V // G.Adj u v} => T u.val)
54
+
55
+ end HarmonicArtin.ParabolicIntersections
56
+
57
+ end OAI
lean/OAI/Topology/ArtinGroups/ParabolicIntersections/MeshPerron.lean ADDED
@@ -0,0 +1,63 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import OAI.Topology.ArtinGroups.ParabolicIntersections.MeshSpectralUpper
2
+
3
+ namespace OAI
4
+
5
+ /-! Nonnegative top eigenvectors, without a Perron--Frobenius axiom. -/
6
+ namespace HarmonicArtin.ParabolicIntersections
7
+ attribute [local instance] Classical.decEq Classical.propDecidable
8
+ open scoped BigOperators
9
+ open Matrix
10
+ variable {V : Type} [Fintype V]
11
+
12
+ lemma mesh_quadratic_abs_le (A : Matrix V V ℝ) (hA : ∀ i j, 0≤A i j)
13
+ (x : V → ℝ) : x ⬝ᵥ (A *ᵥ x) ≤ (fun i => |x i|) ⬝ᵥ (A *ᵥ fun i => |x i|) := by
14
+ simp only [dotProduct,mulVec,Finset.mul_sum]
15
+ apply Finset.sum_le_sum
16
+ intro i _
17
+ apply Finset.sum_le_sum
18
+ intro j _
19
+ have h := mul_le_mul_of_nonneg_left (le_abs_self (x i*x j)) (hA i j)
20
+ simpa only [abs_mul,mul_assoc,mul_left_comm,mul_comm] using h
21
+
22
+ lemma mesh_abs_top_eigenvector (A : Matrix V V ℝ) (hA : ∀ i j, 0≤A i j)
23
+ (d : ℝ) (hupper : (d • (1 : Matrix V V ℝ)-A).PosSemidef)
24
+ (x : V → ℝ) (heigen : A *ᵥ x=d • x) :
25
+ A *ᵥ (fun i => |x i|)=d • (fun i => |x i|) := by
26
+ let y : V → ℝ := fun i => |x i|
27
+ have hsq : y ⬝ᵥ y=x ⬝ᵥ x := by
28
+ simp only [dotProduct,y,←sq,sq_abs]
29
+ have hq := mesh_quadratic_abs_le A hA x
30
+ have hx : x ⬝ᵥ (A *ᵥ x)=d*(x ⬝ᵥ x) := by
31
+ rw [heigen,dotProduct_smul,smul_eq_mul]
32
+ have he : y ⬝ᵥ ((d • (1 : Matrix V V ℝ)-A) *ᵥ y)=d*(y ⬝ᵥ y)-y ⬝ᵥ (A *ᵥ y) := by
33
+ rw [sub_mulVec,smul_mulVec,one_mulVec,dotProduct_sub,dotProduct_smul,smul_eq_mul]
34
+ have hnonneg := hupper.dotProduct_mulVec_nonneg y
35
+ simp only [star_trivial] at hnonneg
36
+ have hz : y ⬝ᵥ ((d • (1 : Matrix V V ℝ)-A) *ᵥ y)=0 := by
37
+ change x ⬝ᵥ (A *ᵥ x)≤y ⬝ᵥ (A *ᵥ y) at hq
38
+ rw [he,hsq] at hnonneg ⊢
39
+ linarith
40
+ have hzero := hupper.dotProduct_mulVec_zero_iff.mp (by simpa only [star_trivial] using hz)
41
+ rw [sub_mulVec,smul_mulVec,one_mulVec] at hzero
42
+ exact (sub_eq_zero.mp hzero).symm
43
+
44
+ theorem mesh_nonnegative_top_eigenvector [Nonempty V] (A : Matrix V V ℝ)
45
+ (hA : A.IsHermitian) (hpos : ∀ i j, 0≤A i j) :
46
+ ∃ (d : ℝ) (y : V → ℝ), y≠0 ∧ (∀ i, 0≤y i) ∧ A *ᵥ y=d • y := by
47
+ obtain ⟨j,_,hj⟩ := Finset.exists_max_image Finset.univ hA.eigenvalues Finset.univ_nonempty
48
+ let d := hA.eigenvalues j
49
+ let x : V → ℝ := fun i => hA.eigenvectorBasis j i
50
+ have hx : x≠0 := by
51
+ exact (WithLp.ofLp_eq_zero 2).ne.2 (hA.eigenvectorBasis.orthonormal.ne_zero j)
52
+ have hupper : (d • (1 : Matrix V V ℝ)-A).PosSemidef :=
53
+ mesh_spectral_upper hA d (fun i => hj i (Finset.mem_univ i))
54
+ refine ⟨d,fun i => |x i|,?_,fun i => abs_nonneg _,?_⟩
55
+ · intro hz
56
+ apply hx
57
+ funext i
58
+ exact abs_eq_zero.mp (congrFun hz i)
59
+ · exact mesh_abs_top_eigenvector A hpos d hupper x (hA.mulVec_eigenvectorBasis j)
60
+
61
+ end HarmonicArtin.ParabolicIntersections
62
+
63
+ end OAI
lean/OAI/Topology/ArtinGroups/ParabolicIntersections/MeshProjection.lean ADDED
@@ -0,0 +1,167 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import OAI.Topology.ArtinGroups.ParabolicIntersections.MeshNaturality
2
+ import OAI.Topology.ArtinGroups.ParabolicIntersections.MeshQuantum
3
+ import OAI.Topology.ArtinGroups.ParabolicIntersections.MeshTrace
4
+
5
+ namespace OAI
6
+
7
+ /-! Jones--Wenzl projections on the actual finite path spaces. -/
8
+ namespace HarmonicArtin.ParabolicIntersections
9
+ attribute [local instance] Classical.decEq Classical.propDecidable
10
+ variable {V : Type} [Fintype V] (G : SimpleGraph V)
11
+
12
+ /-- The correction formula removes precisely the final contraction from
13
+ the already projected prefix. Only positive-index quantum integers occur
14
+ as denominators before the cutoff. -/
15
+ noncomputable def meshProjection (μ : V → ℝ) (δ : ℝ) :
16
+ (n : ℕ) → (v : V) → Matrix (MeshPaths G n v) (MeshPaths G n v) ℂ
17
+ | 0, _ => 1
18
+ | 1, _ => 1
19
+ | n+2, v =>
20
+ let Q := meshExtendMatrix G (meshProjection μ δ (n+1)) v
21
+ let T := meshContractionMatrix G μ n v * Q
22
+ Q - (((meshQuantum δ (n+2)/meshQuantum δ (n+1))⁻¹ : ℝ) : ℂ) •
23
+ (T.conjTranspose*T)
24
+
25
+ lemma meshProjection_zero (μ : V → ℝ) (δ : ℝ) (v : V) :
26
+ meshProjection G μ δ 0 v=1 := rfl
27
+
28
+ lemma meshProjection_one (μ : V → ℝ) (δ : ℝ) (v : V) :
29
+ meshProjection G μ δ 1 v=1 := rfl
30
+
31
+ lemma meshProjection_step (μ : V → ℝ) (δ : ℝ) (n : ℕ) (v : V) :
32
+ meshProjection G μ δ (n+2) v =
33
+ let Q := meshExtendMatrix G (meshProjection G μ δ (n+1)) v
34
+ let T := meshContractionMatrix G μ n v*Q
35
+ Q - (((meshQuantum δ (n+2)/meshQuantum δ (n+1))⁻¹ : ℝ) : ℂ) •
36
+ (T.conjTranspose*T) := rfl
37
+
38
+ /-- Self-adjointness uses only the real coefficients in the recursion;
39
+ it holds even beyond the range in which the matrices are projections. -/
40
+ theorem meshProjection_selfAdjoint (μ : V → ℝ) (δ : ℝ) :
41
+ ∀ n v, (meshProjection G μ δ n v).conjTranspose=meshProjection G μ δ n v := by
42
+ intro n
43
+ induction n using Nat.twoStepInduction with
44
+ | zero => intro v; rw [meshProjection_zero,Matrix.conjTranspose_one]
45
+ | one => intro v; rw [meshProjection_one,Matrix.conjTranspose_one]
46
+ | more n _ ih =>
47
+ intro v
48
+ have hQ : (meshExtendMatrix G (meshProjection G μ δ (n+1)) v).conjTranspose=
49
+ meshExtendMatrix G (meshProjection G μ δ (n+1)) v := by
50
+ simp only [meshExtend_adjoint,ih]
51
+ rw [meshProjection_step,Matrix.conjTranspose_sub,Matrix.conjTranspose_smul,
52
+ Matrix.conjTranspose_mul,Matrix.conjTranspose_conjTranspose,hQ]
53
+ simp only [Complex.star_def,Complex.conj_ofReal]
54
+
55
+ /-- One step of the actual recursion, once its scalar identity has been
56
+ established from the preceding path identities. -/
57
+ theorem meshProjection_correct (μ : V → ℝ) (δ : ℝ) (n : ℕ) (v : V)
58
+ (hden : meshQuantum δ (n+2)/meshQuantum δ (n+1)≠0)
59
+ (hQstar : (meshExtendMatrix G (meshProjection G μ δ (n+1)) v).conjTranspose=
60
+ meshExtendMatrix G (meshProjection G μ δ (n+1)) v)
61
+ (hQsq : meshExtendMatrix G (meshProjection G μ δ (n+1)) v *
62
+ meshExtendMatrix G (meshProjection G μ δ (n+1)) v=
63
+ meshExtendMatrix G (meshProjection G μ δ (n+1)) v)
64
+ (hscalar : meshContractionMatrix G μ n v *
65
+ meshExtendMatrix G (meshProjection G μ δ (n+1)) v *
66
+ (meshContractionMatrix G μ n v).conjTranspose =
67
+ ((meshQuantum δ (n+2)/meshQuantum δ (n+1) : ℝ) : ℂ) • meshProjection G μ δ n v)
68
+ (himage : meshProjection G μ δ n v * (meshContractionMatrix G μ n v *
69
+ meshExtendMatrix G (meshProjection G μ δ (n+1)) v)=
70
+ meshContractionMatrix G μ n v * meshExtendMatrix G (meshProjection G μ δ (n+1)) v) :
71
+ (meshProjection G μ δ (n+2) v).conjTranspose=meshProjection G μ δ (n+2) v ∧
72
+ meshProjection G μ δ (n+2) v * meshProjection G μ δ (n+2) v=
73
+ meshProjection G μ δ (n+2) v ∧
74
+ meshProjection G μ δ (n+2) v * meshExtendMatrix G (meshProjection G μ δ (n+1)) v=
75
+ meshProjection G μ δ (n+2) v ∧
76
+ meshContractionMatrix G μ n v * meshProjection G μ δ (n+2) v=0 ∧
77
+ Matrix.trace (meshProjection G μ δ (n+2) v)=
78
+ Matrix.trace (meshExtendMatrix G (meshProjection G μ δ (n+1)) v)-
79
+ Matrix.trace (meshProjection G μ δ n v) := by
80
+ let Q := meshExtendMatrix G (meshProjection G μ δ (n+1)) v
81
+ let C := meshContractionMatrix G μ n v
82
+ change Q.conjTranspose=Q at hQstar
83
+ change Q*Q=Q at hQsq
84
+ have hTQ : (C*Q)*Q=C*Q := by rw [Matrix.mul_assoc,hQsq]
85
+ have hTT : (C*Q)*(C*Q).conjTranspose=
86
+ ((meshQuantum δ (n+2)/meshQuantum δ (n+1) : ℝ) : ℂ) • meshProjection G μ δ n v := by
87
+ rw [Matrix.conjTranspose_mul,hQstar,Matrix.mul_assoc,←Matrix.mul_assoc Q,hQsq,
88
+ ←Matrix.mul_assoc]
89
+ exact hscalar
90
+ obtain ⟨hstar,hsq,hnest,hkill,htrace⟩ := mesh_projection_correction Q (C*Q)
91
+ (meshProjection G μ δ n v) (meshQuantum δ (n+2)/meshQuantum δ (n+1))
92
+ hden hQstar hQsq hTQ hTT himage
93
+ rw [meshProjection_step]
94
+ dsimp only
95
+ refine ⟨hstar,hsq,hnest,?_,htrace⟩
96
+ have hleft : Q*(Q-(((meshQuantum δ (n+2)/meshQuantum δ (n+1))⁻¹ : ℝ) : ℂ) •
97
+ ((C*Q).conjTranspose*(C*Q)))=
98
+ Q-(((meshQuantum δ (n+2)/meshQuantum δ (n+1))⁻¹ : ℝ) : ℂ) •
99
+ ((C*Q).conjTranspose*(C*Q)) := by
100
+ have h := congrArg Matrix.conjTranspose hnest
101
+ rw [Matrix.conjTranspose_mul,hQstar,hstar] at h
102
+ exact h
103
+ change C*(Q-(((meshQuantum δ (n+2)/meshQuantum δ (n+1))⁻¹ : ℝ) : ℂ) •
104
+ ((C*Q).conjTranspose*(C*Q)))=0
105
+ rw [←hleft,←Matrix.mul_assoc]
106
+ exact hkill
107
+
108
+ lemma meshProjection_extend_step (μ : V → ℝ) (δ : ℝ) (n : ℕ) (v : V)
109
+ (hstar : ∀ w, (meshProjection G μ δ (n+1) w).conjTranspose=
110
+ meshProjection G μ δ (n+1) w) :
111
+ let R := meshExtendMatrix G (meshExtendMatrix G (meshProjection G μ δ (n+1))) v
112
+ let D := meshExtendMatrix G (meshContractionMatrix G μ n) v
113
+ meshExtendMatrix G (meshProjection G μ δ (n+2)) v =
114
+ R-(((meshQuantum δ (n+2)/meshQuantum δ (n+1))⁻¹ : ℝ) : ℂ) •
115
+ (R*D.conjTranspose*D*R) := by
116
+ dsimp only
117
+ have hRstar : (meshExtendMatrix G (meshExtendMatrix G
118
+ (meshProjection G μ δ (n+1))) v).conjTranspose=
119
+ meshExtendMatrix G (meshExtendMatrix G (meshProjection G μ δ (n+1))) v := by
120
+ simp only [meshExtend_adjoint,hstar]
121
+ rw [funext (meshProjection_step G μ δ n)]
122
+ simp only [meshExtend_sub,meshExtend_smul,
123
+ meshExtend_mul,←meshExtend_adjoint,Matrix.conjTranspose_mul]
124
+ rw [hRstar]
125
+ simp only [Matrix.mul_assoc]
126
+
127
+ lemma meshProjection_scalar_zero (μ : V → ℝ) (hμ : ∀ v, 0<μ v) (δ : ℝ)
128
+ (heigen : ∀ v, (∑ u : {u : V // G.Adj u v}, μ u)=δ*μ v) (v : V) :
129
+ meshContractionMatrix G μ 0 v * meshExtendMatrix G (meshProjection G μ δ 1) v *
130
+ (meshContractionMatrix G μ 0 v).conjTranspose =
131
+ ((meshQuantum δ 2/meshQuantum δ 1 : ℝ) : ℂ) • meshProjection G μ δ 0 v := by
132
+ have hPone : meshProjection G μ δ 1=fun v =>
133
+ (1 : Matrix (MeshPaths G 1 v) (MeshPaths G 1 v) ℂ) :=
134
+ funext (meshProjection_one G μ δ)
135
+ have hq : meshQuantum δ 2/meshQuantum δ 1=δ := by norm_num [meshQuantum]
136
+ rw [hq,meshProjection_zero,hPone,meshExtend_one,Matrix.mul_one]
137
+ exact meshContraction_loop G μ hμ δ heigen 0 v
138
+
139
+ lemma meshProjection_scalar_succ (μ : V → ℝ) (hμ : ∀ v, 0<μ v) (δ : ℝ)
140
+ (heigen : ∀ v, (∑ u : {u : V // G.Adj u v}, μ u)=δ*μ v)
141
+ (n : ℕ) (hq : meshQuantum δ (n+2)≠0)
142
+ (hstar : ∀ w, (meshProjection G μ δ (n+1) w).conjTranspose=
143
+ meshProjection G μ δ (n+1) w)
144
+ (hsq : ∀ w, meshProjection G μ δ (n+1) w * meshProjection G μ δ (n+1) w=
145
+ meshProjection G μ δ (n+1) w) (v : V) :
146
+ meshContractionMatrix G μ (n+1) v *
147
+ meshExtendMatrix G (meshProjection G μ δ (n+2)) v *
148
+ (meshContractionMatrix G μ (n+1) v).conjTranspose =
149
+ ((meshQuantum δ (n+3)/meshQuantum δ (n+2) : ℝ) : ℂ) •
150
+ meshProjection G μ δ (n+1) v := by
151
+ rw [meshProjection_extend_step G μ δ n v hstar]
152
+ have h := mesh_scalar_step (meshContractionMatrix G μ (n+1) v)
153
+ (meshExtendMatrix G (meshContractionMatrix G μ n) v)
154
+ (meshProjection G μ δ (n+1) v)
155
+ (meshExtendMatrix G (meshExtendMatrix G (meshProjection G μ δ (n+1))) v)
156
+ (δ : ℂ) (((meshQuantum δ (n+2)/meshQuantum δ (n+1))⁻¹ : ℝ) : ℂ)
157
+ (hsq v) (meshContraction_naturality G μ (meshProjection G μ δ (n+1)) v)
158
+ (meshContraction_naturality_adjoint G μ (meshProjection G μ δ (n+1)) v)
159
+ (meshContraction_loop G μ hμ δ heigen (n+1) v)
160
+ (by simpa only [meshExtend_adjoint] using meshContraction_adjacent G μ hμ n v)
161
+ (meshContraction_adjacent_right G μ hμ n v)
162
+ rw [←Complex.ofReal_sub,meshQuantum_ratio_step δ n hq] at h
163
+ exact h
164
+
165
+ end HarmonicArtin.ParabolicIntersections
166
+
167
+ end OAI
lean/OAI/Topology/ArtinGroups/ParabolicIntersections/MeshProjectionAlgebra.lean ADDED
@@ -0,0 +1,93 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import Mathlib
2
+
3
+ namespace OAI
4
+
5
+ /-! The finite-dimensional projection calculation in the mesh argument. -/
6
+ namespace HarmonicArtin.ParabolicIntersections
7
+ open scoped ComplexOrder
8
+ attribute [local instance] Classical.decEq
9
+ variable {I J : Type} [Fintype I] [Fintype J]
10
+
11
+ /-- The loop, adjacent, and prefix identities give the next scalar in
12
+ the projection recurrence. -/
13
+ theorem mesh_scalar_step (C D : Matrix I J ℂ) (P : Matrix I I ℂ)
14
+ (R : Matrix J J ℂ) (delta a : ℂ)
15
+ (hPsq : P*P=P) (hCR : C*R=P*C) (hRC : R*C.conjTranspose=C.conjTranspose*P)
16
+ (hloop : C*C.conjTranspose=delta • (1 : Matrix I I ℂ))
17
+ (hadj : C*D.conjTranspose=1) (hadj' : D*C.conjTranspose=1) :
18
+ C*(R-a • (R*D.conjTranspose*D*R))*C.conjTranspose=(delta-a) • P := by
19
+ have hfirst : C*R*C.conjTranspose=delta • P := by
20
+ rw [hCR,Matrix.mul_assoc,hloop,Matrix.mul_smul,Matrix.mul_one]
21
+ have hsecond : C*(R*D.conjTranspose*D*R)*C.conjTranspose=P := by
22
+ calc
23
+ _ = (C*R)*D.conjTranspose*D*(R*C.conjTranspose) := by simp only [Matrix.mul_assoc]
24
+ _ = (P*C)*D.conjTranspose*D*(C.conjTranspose*P) := by rw [hCR,hRC]
25
+ _ = P*(C*D.conjTranspose)*(D*C.conjTranspose)*P := by simp only [Matrix.mul_assoc]
26
+ _ = P := by rw [hadj,hadj',Matrix.mul_one,Matrix.mul_one,hPsq]
27
+ rw [Matrix.mul_sub,Matrix.sub_mul,Matrix.mul_smul,Matrix.smul_mul,
28
+ hfirst,hsecond,sub_smul]
29
+
30
+ /-- Removing the scaled row-space projection imposes one more contraction.
31
+ All hypotheses here are matrix identities, proved for the path operators
32
+ in the mesh construction. -/
33
+ theorem mesh_projection_correction (Q : Matrix I I ℂ) (T : Matrix J I ℂ)
34
+ (P : Matrix J J ℂ) (lam : ℝ) (hlam : lam≠0)
35
+ (hQstar : Q.conjTranspose=Q) (hQsq : Q*Q=Q)
36
+ (hTQ : T*Q=T) (hTT : T*T.conjTranspose=(lam : ℂ) • P) (hPT : P*T=T) :
37
+ let R := Q - ((lam⁻¹ : ℝ) : ℂ) • (T.conjTranspose*T)
38
+ R.conjTranspose=R ∧ R*R=R ∧ R*Q=R ∧ T*R=0 ∧
39
+ Matrix.trace R=Matrix.trace Q-Matrix.trace P := by
40
+ let a : ℂ := (lam⁻¹ : ℝ)
41
+ let B : Matrix I I ℂ := a • (T.conjTranspose*T)
42
+ have ha : a*(lam : ℂ)=1 := by
43
+ dsimp [a]
44
+ rw [←Complex.ofReal_mul,inv_mul_cancel₀ hlam,Complex.ofReal_one]
45
+ have hQT : Q*T.conjTranspose=T.conjTranspose := by
46
+ have h := congrArg Matrix.conjTranspose hTQ
47
+ simpa only [Matrix.conjTranspose_mul,hQstar] using h
48
+ have hQB : Q*B=B := by
49
+ dsimp [B]
50
+ rw [Matrix.mul_smul,←Matrix.mul_assoc,hQT]
51
+ have hBQ : B*Q=B := by
52
+ dsimp [B]
53
+ rw [Matrix.smul_mul,Matrix.mul_assoc,hTQ]
54
+ have hBT : T*B=T := by
55
+ dsimp [B]
56
+ rw [Matrix.mul_smul,←Matrix.mul_assoc,hTT,Matrix.smul_mul,hPT,smul_smul,ha,one_smul]
57
+ have hBB : B*B=B := by
58
+ dsimp [B]
59
+ rw [Matrix.smul_mul,Matrix.mul_smul,Matrix.mul_assoc,
60
+ ←Matrix.mul_assoc T T.conjTranspose T,hTT,Matrix.smul_mul,hPT,
61
+ Matrix.mul_smul,smul_smul,smul_smul]
62
+ rw [mul_assoc,ha,mul_one]
63
+ have hBstar : B.conjTranspose=B := by
64
+ simp only [B,a,Matrix.conjTranspose_smul,Matrix.conjTranspose_mul,
65
+ Matrix.conjTranspose_conjTranspose,Complex.star_def,Complex.conj_ofReal]
66
+ have htrace : Matrix.trace B=Matrix.trace P := by
67
+ dsimp [B]
68
+ rw [Matrix.trace_smul,Matrix.trace_mul_comm,hTT,Matrix.trace_smul,smul_smul,ha,one_smul]
69
+ change (Q-B).conjTranspose=Q-B ∧ (Q-B)*(Q-B)=Q-B ∧
70
+ (Q-B)*Q=Q-B ∧ T*(Q-B)=0 ∧ Matrix.trace (Q-B)=_
71
+ refine ⟨?_,?_,?_,?_,?_⟩
72
+ · rw [Matrix.conjTranspose_sub,hQstar,hBstar]
73
+ · rw [Matrix.sub_mul,Matrix.mul_sub,Matrix.mul_sub,hQsq,hQB,hBQ,hBB]
74
+ abel
75
+ · rw [Matrix.sub_mul,hQsq,hBQ]
76
+ · rw [Matrix.mul_sub,hTQ,hBT,sub_self]
77
+ · rw [Matrix.trace_sub,htrace]
78
+
79
+ /-- A self-adjoint idempotent is positive, and trace zero forces it to
80
+ vanish. These are the positivity facts used at the scalar cutoff. -/
81
+ theorem mesh_projection_trace (P : Matrix I I ℂ)
82
+ (hstar : P.conjTranspose=P) (hsq : P*P=P) :
83
+ 0≤(Matrix.trace P).re ∧ (Matrix.trace P=0 ↔ P=0) := by
84
+ have hpos : P.PosSemidef := by
85
+ have h := Matrix.posSemidef_conjTranspose_mul_self P
86
+ rwa [hstar,hsq] at h
87
+ have hz := Matrix.trace_conjTranspose_mul_self_eq_zero_iff (A := P)
88
+ rw [hstar,hsq] at hz
89
+ exact ⟨(Complex.nonneg_iff.mp hpos.trace_nonneg).1,hz⟩
90
+
91
+ end HarmonicArtin.ParabolicIntersections
92
+
93
+ end OAI
lean/OAI/Topology/ArtinGroups/ParabolicIntersections/MeshProjectionCutoff.lean ADDED
@@ -0,0 +1,109 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import OAI.Topology.ArtinGroups.ParabolicIntersections.MeshProjectionInduction
2
+
3
+ namespace OAI
4
+
5
+ /-! The actual path projections vanish at a finite quantum cutoff. -/
6
+ namespace HarmonicArtin.ParabolicIntersections
7
+ attribute [local instance] Classical.decEq Classical.propDecidable
8
+ variable {V : Type} [Fintype V] (G : SimpleGraph V)
9
+
10
+ lemma meshProjection_trace_zero (μ : V → ℝ) (δ : ℝ) :
11
+ meshWeightedTrace μ (meshProjection G μ δ 0)=∑ v, (μ v : ℂ) := by
12
+ simp only [meshWeightedTrace,meshProjection_zero,Matrix.trace_one]
13
+ simp only [MeshPaths,Fintype.card_punit,Nat.cast_one,mul_one]
14
+
15
+ lemma meshProjection_trace_one (μ : V → ℝ) (δ : ℝ)
16
+ (heigen : ∀ v, (∑ u : {u : V // G.Adj u v}, μ u)=δ*μ v) :
17
+ meshWeightedTrace μ (meshProjection G μ δ 1)=(δ : ℂ)*∑ v, (μ v : ℂ) := by
18
+ have hp : meshProjection G μ δ 1=
19
+ meshExtendMatrix G (meshProjection G μ δ 0) := by
20
+ funext v
21
+ rw [meshProjection_one,funext (meshProjection_zero G μ δ),meshExtend_one]
22
+ rw [hp,meshWeightedTrace_extend G μ δ heigen,meshProjection_trace_zero]
23
+
24
+ lemma meshProjection_trace_step (μ : V → ℝ) (δ : ℝ)
25
+ (heigen : ∀ v, (∑ u : {u : V // G.Adj u v}, μ u)=δ*μ v)
26
+ (n : ℕ) (h : MeshProjectionStage G μ δ (n+1)) :
27
+ meshWeightedTrace μ (meshProjection G μ δ (n+2))=
28
+ (δ : ℂ)*meshWeightedTrace μ (meshProjection G μ δ (n+1))-
29
+ meshWeightedTrace μ (meshProjection G μ δ n) := by
30
+ have ht (v : V) : Matrix.trace (meshProjection G μ δ (n+2) v)=
31
+ Matrix.trace (meshExtendMatrix G (meshProjection G μ δ (n+1)) v)-
32
+ Matrix.trace (meshProjection G μ δ n v) := by
33
+ have hh := h.trace_recurrence (by omega) v
34
+ rw [show n+1-1=n by omega] at hh
35
+ exact hh
36
+ calc
37
+ _ = meshWeightedTrace μ (meshExtendMatrix G (meshProjection G μ δ (n+1)))-
38
+ meshWeightedTrace μ (meshProjection G μ δ n) := by
39
+ simp only [meshWeightedTrace,←Finset.sum_sub_distrib]
40
+ apply Finset.sum_congr rfl
41
+ intro v _
42
+ rw [ht,mul_sub]
43
+ _ = _ := by rw [meshWeightedTrace_extend G μ δ heigen]
44
+
45
+ /-- The weighted trace is the quantum integer, without any graph
46
+ classification or assumption of mesh nilpotence. -/
47
+ theorem meshProjection_weightedTrace (μ : V → ℝ) (hμ : ∀ v, 0<μ v) (δ : ℝ)
48
+ (heigen : ∀ v, (∑ u : {u : V // G.Adj u v}, μ u)=δ*μ v)
49
+ (H : ℕ) (hpos : ∀ n, 0 < n → n < H → 0 < meshQuantum δ n) :
50
+ ∀ n, n<H → meshWeightedTrace μ (meshProjection G μ δ n)=
51
+ (meshQuantum δ (n+1) : ℂ)*∑ v, (μ v : ℂ) := by
52
+ intro n
53
+ induction n using Nat.twoStepInduction with
54
+ | zero =>
55
+ intro _
56
+ simpa only [Nat.zero_add,meshQuantum_one,Complex.ofReal_one,one_mul] using
57
+ meshProjection_trace_zero G μ δ
58
+ | one =>
59
+ intro _
60
+ have hq : meshQuantum δ (1+1)=δ := by norm_num [meshQuantum]
61
+ rw [hq]
62
+ exact meshProjection_trace_one G μ δ heigen
63
+ | more n ih ih₁ =>
64
+ intro hn
65
+ have hs := meshProjectionStage_before_cutoff G μ hμ δ heigen H hpos (n+1) hn
66
+ rw [meshProjection_trace_step G μ δ heigen n hs,ih₁ (by omega),ih (by omega)]
67
+ have hq : meshQuantum δ (n+2+1)=δ*meshQuantum δ (n+1+1)-meshQuantum δ (n+1) :=
68
+ meshQuantum_step δ (n+1)
69
+ rw [hq,Complex.ofReal_sub,Complex.ofReal_mul]
70
+ ring
71
+
72
+ /-- Some positive length has zero path projection. This is the finite
73
+ essential-path bound, proved from a positive adjacency eigenvector below 2. -/
74
+ theorem meshProjection_eventually_zero (μ : V → ℝ) (hμ : ∀ v, 0<μ v)
75
+ (δ : ℝ) (hδ0 : 0<δ) (hδ2 : δ<2)
76
+ (heigen : ∀ v, (∑ u : {u : V // G.Adj u v}, μ u)=δ*μ v) :
77
+ ∃ N : ℕ, 0<N ∧ ∀ v, meshProjection G μ δ N v=0 := by
78
+ obtain ⟨H,hH,hq,hpos⟩ := meshQuantum_cutoff δ hδ0 hδ2
79
+ let N := H-1
80
+ have hN : 0<N := by dsimp [N]; omega
81
+ have hNH : N<H := by dsimp [N]; omega
82
+ have hstage := meshProjectionStage_before_cutoff G μ hμ δ heigen H hpos (H-2) (by omega)
83
+ have hlen : H-2+1=N := by dsimp [N]; omega
84
+ have hstar : ∀ v, (meshProjection G μ δ N v).conjTranspose=meshProjection G μ δ N v := by
85
+ rw [←hlen]
86
+ exact hstage.upper_star
87
+ have hsq : ∀ v, meshProjection G μ δ N v*meshProjection G μ δ N v=
88
+ meshProjection G μ δ N v := by
89
+ rw [←hlen]
90
+ exact hstage.upper_square
91
+ have hw := meshProjection_weightedTrace G μ hμ δ heigen H hpos N hNH
92
+ rw [show N+1=H by dsimp [N]; omega] at hw
93
+ have hnonneg := meshWeightedTrace_nonneg μ (fun v => (hμ v).le)
94
+ (meshProjection G μ δ N) hstar hsq
95
+ have hnonpos : (meshWeightedTrace μ (meshProjection G μ δ N)).re≤0 := by
96
+ rw [hw]
97
+ simp only [Complex.mul_re,Complex.ofReal_re,Complex.ofReal_im,zero_mul,sub_zero,
98
+ Complex.re_sum]
99
+ exact mul_nonpos_of_nonpos_of_nonneg hq (Finset.sum_nonneg (fun v _ => (hμ v).le))
100
+ have him : (meshWeightedTrace μ (meshProjection G μ δ N)).im=0 := by
101
+ rw [hw]
102
+ simp
103
+ have hz : meshWeightedTrace μ (meshProjection G μ δ N)=0 :=
104
+ Complex.ext (le_antisymm hnonpos hnonneg) him
105
+ exact ⟨N,hN,meshWeightedTrace_zero μ hμ (meshProjection G μ δ N) hstar hsq hz⟩
106
+
107
+ end HarmonicArtin.ParabolicIntersections
108
+
109
+ end OAI
lean/OAI/Topology/ArtinGroups/ParabolicIntersections/MeshProjectionInduction.lean ADDED
@@ -0,0 +1,106 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import OAI.Topology.ArtinGroups.ParabolicIntersections.MeshProjection
2
+
3
+ namespace OAI
4
+
5
+ /-! The Jones--Wenzl induction before the first nonpositive quantum integer. -/
6
+ namespace HarmonicArtin.ParabolicIntersections
7
+ attribute [local instance] Classical.decEq Classical.propDecidable
8
+ variable {V : Type} [Fintype V] (G : SimpleGraph V)
9
+
10
+ structure MeshProjectionStage (μ : V → ℝ) (δ : ℝ) (n : ℕ) : Prop where
11
+ lower_star : ∀ v, (meshProjection G μ δ n v).conjTranspose=meshProjection G μ δ n v
12
+ lower_square : ∀ v, meshProjection G μ δ n v*meshProjection G μ δ n v=meshProjection G μ δ n v
13
+ upper_star : ∀ v, (meshProjection G μ δ (n+1) v).conjTranspose=meshProjection G μ δ (n+1) v
14
+ upper_square : ∀ v, meshProjection G μ δ (n+1) v*meshProjection G μ δ (n+1) v=
15
+ meshProjection G μ δ (n+1) v
16
+ nested : ∀ v, meshProjection G μ δ (n+1) v*meshExtendMatrix G (meshProjection G μ δ n) v=
17
+ meshProjection G μ δ (n+1) v
18
+ scalar : ∀ v, meshContractionMatrix G μ n v *
19
+ meshExtendMatrix G (meshProjection G μ δ (n+1)) v *
20
+ (meshContractionMatrix G μ n v).conjTranspose =
21
+ ((meshQuantum δ (n+2)/meshQuantum δ (n+1) : ℝ) : ℂ) • meshProjection G μ δ n v
22
+ trace_recurrence : n≠0 → ∀ v, Matrix.trace (meshProjection G μ δ (n+1) v)=
23
+ Matrix.trace (meshExtendMatrix G (meshProjection G μ δ n) v)-
24
+ Matrix.trace (meshProjection G μ δ (n-1) v)
25
+
26
+ theorem meshProjectionStage_zero (μ : V → ℝ) (hμ : ∀ v, 0<μ v) (δ : ℝ)
27
+ (heigen : ∀ v, (∑ u : {u : V // G.Adj u v}, μ u)=δ*μ v) :
28
+ MeshProjectionStage G μ δ 0 where
29
+ lower_star v := by simp only [meshProjection_zero,Matrix.conjTranspose_one]
30
+ lower_square v := by simp only [meshProjection_zero,Matrix.one_mul]
31
+ upper_star v := by
32
+ change (1 : Matrix (MeshPaths G 1 v) (MeshPaths G 1 v) ℂ).conjTranspose=1
33
+ exact Matrix.conjTranspose_one
34
+ upper_square v := by
35
+ change (1 : Matrix (MeshPaths G 1 v) (MeshPaths G 1 v) ℂ)*1=1
36
+ exact Matrix.one_mul 1
37
+ nested v := by
38
+ rw [funext (meshProjection_zero G μ δ),meshExtend_one]
39
+ exact Matrix.mul_one _
40
+ scalar := meshProjection_scalar_zero G μ hμ δ heigen
41
+ trace_recurrence hn := (hn rfl).elim
42
+
43
+ theorem meshProjectionStage_succ (μ : V → ℝ) (hμ : ∀ v, 0<μ v) (δ : ℝ)
44
+ (heigen : ∀ v, (∑ u : {u : V // G.Adj u v}, μ u)=δ*μ v)
45
+ (n : ℕ) (h : MeshProjectionStage G μ δ n)
46
+ (hq₁ : meshQuantum δ (n+1)≠0) (hq₂ : meshQuantum δ (n+2)≠0) :
47
+ MeshProjectionStage G μ δ (n+1) := by
48
+ have hQstar (v : V) :
49
+ (meshExtendMatrix G (meshProjection G μ δ (n+1)) v).conjTranspose=
50
+ meshExtendMatrix G (meshProjection G μ δ (n+1)) v := by
51
+ simp only [meshExtend_adjoint,h.upper_star]
52
+ have hQsq (v : V) : meshExtendMatrix G (meshProjection G μ δ (n+1)) v *
53
+ meshExtendMatrix G (meshProjection G μ δ (n+1)) v=
54
+ meshExtendMatrix G (meshProjection G μ δ (n+1)) v := by
55
+ rw [←meshExtend_mul]
56
+ simp only [h.upper_square]
57
+ have himage (v : V) : meshProjection G μ δ n v *
58
+ (meshContractionMatrix G μ n v * meshExtendMatrix G (meshProjection G μ δ (n+1)) v)=
59
+ meshContractionMatrix G μ n v * meshExtendMatrix G (meshProjection G μ δ (n+1)) v := by
60
+ let R := meshExtendMatrix G (meshExtendMatrix G (meshProjection G μ δ n)) v
61
+ let Q := meshExtendMatrix G (meshProjection G μ δ (n+1)) v
62
+ let C := meshContractionMatrix G μ n v
63
+ have hRstar : R.conjTranspose=R := by simp only [R,meshExtend_adjoint,h.lower_star]
64
+ have hQR : Q*R=Q := by
65
+ dsimp only [Q,R]
66
+ rw [←meshExtend_mul]
67
+ simp only [h.nested]
68
+ have hRQ : R*Q=Q := by
69
+ have hh := congrArg Matrix.conjTranspose hQR
70
+ rw [Matrix.conjTranspose_mul,hRstar,hQstar] at hh
71
+ exact hh
72
+ have hCR : C*R=meshProjection G μ δ n v*C :=
73
+ meshContraction_naturality G μ (meshProjection G μ δ n) v
74
+ change meshProjection G μ δ n v*(C*Q)=C*Q
75
+ rw [←Matrix.mul_assoc,←hCR,Matrix.mul_assoc,hRQ]
76
+ have hnew (v : V) := meshProjection_correct G μ δ n v
77
+ (div_ne_zero hq₂ hq₁) (hQstar v) (hQsq v) (h.scalar v) (himage v)
78
+ exact {
79
+ lower_star := h.upper_star
80
+ lower_square := h.upper_square
81
+ upper_star := fun v => (hnew v).1
82
+ upper_square := fun v => (hnew v).2.1
83
+ nested := fun v => (hnew v).2.2.1
84
+ scalar := meshProjection_scalar_succ G μ hμ δ heigen n hq₂ h.upper_star h.upper_square
85
+ trace_recurrence := fun _ v => by
86
+ rw [show n+1-1=n by omega]
87
+ exact (hnew v).2.2.2.2 }
88
+
89
+ /-- Every stage strictly before the quantum cutoff is an actual
90
+ orthogonal projection, with the required nesting and scalar identity. -/
91
+ theorem meshProjectionStage_before_cutoff (μ : V → ℝ) (hμ : ∀ v, 0<μ v) (δ : ℝ)
92
+ (heigen : ∀ v, (∑ u : {u : V // G.Adj u v}, μ u)=δ*μ v)
93
+ (H : ℕ) (hpos : ∀ n, 0 < n → n < H → 0 < meshQuantum δ n) :
94
+ ∀ n, n+1<H → MeshProjectionStage G μ δ n := by
95
+ intro n
96
+ induction n with
97
+ | zero => intro _; exact meshProjectionStage_zero G μ hμ δ heigen
98
+ | succ n ih =>
99
+ intro hn
100
+ apply meshProjectionStage_succ G μ hμ δ heigen n (ih (by omega))
101
+ · exact ne_of_gt (hpos (n+1) (by omega) (by omega))
102
+ · exact ne_of_gt (hpos (n+2) (by omega) (by omega))
103
+
104
+ end HarmonicArtin.ParabolicIntersections
105
+
106
+ end OAI
lean/OAI/Topology/ArtinGroups/ParabolicIntersections/MeshQuantum.lean ADDED
@@ -0,0 +1,129 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import Mathlib
2
+
3
+ namespace OAI
4
+
5
+ /-! The finite positivity interval for the Jones--Wenzl scalar recurrence. -/
6
+ namespace HarmonicArtin.ParabolicIntersections
7
+
8
+ /-- Quantum integers as a real recurrence, with no trigonometric choices. -/
9
+ noncomputable def meshQuantum (δ : ℝ) : ℕ → ℝ
10
+ | 0 => 0
11
+ | 1 => 1
12
+ | n+2 => δ*meshQuantum δ (n+1)-meshQuantum δ n
13
+
14
+ @[simp] lemma meshQuantum_zero (δ : ℝ) : meshQuantum δ 0=0 := rfl
15
+ @[simp] lemma meshQuantum_one (δ : ℝ) : meshQuantum δ 1=1 := rfl
16
+ lemma meshQuantum_step (δ : ℝ) (n : ℕ) :
17
+ meshQuantum δ (n+2)=δ*meshQuantum δ (n+1)-meshQuantum δ n := rfl
18
+
19
+ /-- For `δ<2`, the recurrence starting at `0,1` cannot remain strictly
20
+ positive. This discrete concavity proof avoids choosing an angle. -/
21
+ theorem mesh_quantum_eventually_nonpositive (δ : ℝ) (hδ : δ<2)
22
+ (q : ℕ → ℝ) (hzero : q 0=0) (hone : q 1=1)
23
+ (hrec : ∀ n, q (n+2)=δ*q (n+1)-q n) :
24
+ ∃ n, 0<n ∧ q n≤0 := by
25
+ by_contra hex
26
+ have hpos : ∀ n, 0<n → 0<q n := by
27
+ intro n hn
28
+ by_contra hq
29
+ exact hex ⟨n,hn,le_of_not_gt hq⟩
30
+ have hnonneg : ∀ n, 0≤q n := by
31
+ intro n
32
+ cases n with
33
+ | zero => rw [hzero]
34
+ | succ n => exact (hpos _ (Nat.succ_pos n)).le
35
+ let d : ℕ → ℝ := fun n => q (n+1)-q n
36
+ have hd0 : d 0=1 := by simp only [d,hzero,hone]; norm_num
37
+ have hstep : ∀ n, d (n+1)=d n-(2-δ)*q (n+1) := by
38
+ intro n
39
+ dsimp [d]
40
+ rw [show n+1+1=n+2 by omega,hrec]
41
+ ring
42
+ have hanti : Antitone d := antitone_nat_of_succ_le (fun n => by
43
+ rw [hstep]
44
+ have := hnonneg (n+1)
45
+ nlinarith)
46
+ have hnegative : ∃ n, d n<0 := by
47
+ by_contra hneg
48
+ have hdpos : ∀ n, 0≤d n := by
49
+ intro n
50
+ by_contra hn
51
+ exact hneg ⟨n,lt_of_not_ge hn⟩
52
+ have hmono : Monotone q := monotone_nat_of_le_succ (fun n => by
53
+ have := hdpos n
54
+ dsimp [d] at this
55
+ linarith)
56
+ have hqone : ∀ n, 1≤q (n+1) := by
57
+ intro n
58
+ simpa only [hone] using hmono (Nat.le_add_left 1 n)
59
+ have hbound : ∀ n, d n≤1-(n:ℝ)*(2-δ) := by
60
+ intro n
61
+ induction n with
62
+ | zero => simp only [Nat.cast_zero,zero_mul,sub_zero,hd0,le_refl]
63
+ | succ n ih =>
64
+ rw [hstep,Nat.cast_succ]
65
+ have := hqone n
66
+ nlinarith
67
+ obtain ⟨n,hn⟩ := exists_nat_gt (1/(2-δ))
68
+ have hden : 0<2-δ := by linarith
69
+ have hn' : 1<(n:ℝ)*(2-δ) := (div_lt_iff₀ hden).mp hn
70
+ have := hbound n
71
+ have := hdpos n
72
+ linarith
73
+ obtain ⟨n,hn⟩ := hnegative
74
+ have hlinear : ∀ k, q (n+k)≤q n+(k:ℝ)*d n := by
75
+ intro k
76
+ induction k with
77
+ | zero => simp
78
+ | succ k ih =>
79
+ have hs := hanti (Nat.le_add_right n k)
80
+ have he : q (n+(k+1))=q (n+k)+d (n+k) := by dsimp [d]; simp only [Nat.add_assoc]; ring
81
+ rw [he,Nat.cast_succ]
82
+ linarith
83
+ obtain ⟨k,hk⟩ := exists_nat_gt (q n/(-d n))
84
+ have hdneg : 0 < -d n := by linarith
85
+ have hk' : q n<(k:ℝ)*(-d n) := (div_lt_iff₀ hdneg).mp hk
86
+ have := hlinear k
87
+ have := hnonneg (n+k)
88
+ nlinarith
89
+
90
+ /-- The first nonpositive scalar gives a finite cutoff, and all earlier
91
+ nonzero-index scalars are positive, as required by the projection recursion. -/
92
+ theorem mesh_quantum_cutoff (δ : ℝ) (hδ0 : 0<δ) (hδ2 : δ<2)
93
+ (q : ℕ → ℝ) (hzero : q 0=0) (hone : q 1=1)
94
+ (hrec : ∀ n, q (n+2)=δ*q (n+1)-q n) :
95
+ ∃ h, 3≤h ∧ q h≤0 ∧ ∀ n, 0<n → n<h → 0<q n := by
96
+ classical
97
+ have hex := mesh_quantum_eventually_nonpositive δ hδ2 q hzero hone hrec
98
+ let h := Nat.find hex
99
+ have hh : 0<h ∧ q h≤0 := Nat.find_spec hex
100
+ have hp : ∀ n, 0<n → n<h → 0<q n := by
101
+ intro n hn hnh
102
+ have hnot := Nat.find_min hex hnh
103
+ exact lt_of_not_ge (fun hqn => hnot ⟨hn,hqn⟩)
104
+ have htwo : q 2=δ := by simpa only [zero_add,hzero,hone,mul_one,sub_zero] using hrec 0
105
+ have hge : 3≤h := by
106
+ by_contra hlt
107
+ have he : h=1 ∨ h=2 := by omega
108
+ rcases he with he|he
109
+ · have := hh.2; rw [he,hone] at this; linarith
110
+ · have := hh.2; rw [he,htwo] at this; linarith
111
+ exact ⟨h,hge,hh.2,hp⟩
112
+
113
+ theorem meshQuantum_cutoff (δ : ℝ) (hδ0 : 0<δ) (hδ2 : δ<2) :
114
+ ∃ h, 3≤h ∧ meshQuantum δ h≤0 ∧
115
+ ∀ n, 0 < n → n < h → 0 < meshQuantum δ n :=
116
+ mesh_quantum_cutoff δ hδ0 hδ2 (meshQuantum δ)
117
+ (meshQuantum_zero δ) (meshQuantum_one δ) (meshQuantum_step δ)
118
+
119
+ lemma meshQuantum_ratio_step (δ : ℝ) (n : ℕ) (h : meshQuantum δ (n+2)≠0) :
120
+ δ-(meshQuantum δ (n+2)/meshQuantum δ (n+1))⁻¹=
121
+ meshQuantum δ (n+3)/meshQuantum δ (n+2) := by
122
+ have hrec : meshQuantum δ (n+3)=δ*meshQuantum δ (n+2)-meshQuantum δ (n+1) :=
123
+ meshQuantum_step δ (n+1)
124
+ rw [inv_div,hrec]
125
+ field_simp [h]
126
+
127
+ end HarmonicArtin.ParabolicIntersections
128
+
129
+ end OAI