lemmaadjustedLayerIndex_aut (a : Vββ)
(ha : β (Ο : G.Aut) x, a (Ο.vertex x)=a x) (Ru : β)
(Ο : G.Aut) (x y : V) :
G.adjustedLayerIndex a R u (Ο.vertex x) (Ο.vertex y)=G.adjustedLayerIndex a R u x y :=by
proof Β· 1
line
simp only [adjustedLayerIndex,G.orbitAdjustedHeight_aut a ha]
lemmaadjustedLayerIndex_change_base (hc : G.fullGraph.Connected) (hl : G.LocallyFinite)
(a : Vββ) (Ru : β) (x y z : V) :
G.adjustedLayerIndex a R u x z = G.adjustedLayerIndex a R u x y+
G.adjustedLayerIndex a R (G.orbitAdjustedHeight a x y/R+u) y z :=by
proof Β· 6
lines
unfold adjustedLayerIndex
rw [G.orbitAdjustedHeight_change_base hc hl a x y z]
havehe : (G.orbitAdjustedHeight a x y+G.orbitAdjustedHeight a y z)/R+u =
G.orbitAdjustedHeight a y z/R+(G.orbitAdjustedHeight a x y/R+u) :=by ring
rw [he]
ring
lemmaadjustedLayerIndex_height_bounds (a : Vββ) (Ru : β) (hR : 0 < R) (x y : V) :
R*((G.adjustedLayerIndex a Ru x y : β)-1) < G.orbitAdjustedHeight a x y β§G.orbitAdjustedHeight a x y < R*((G.adjustedLayerIndex a Ru x y : β)+1) :=by
proof Β· 17
lines
have hβ :=Int.floor_le (G.orbitAdjustedHeight a x y/R+u)
have hβ :=Int.lt_floor_add_one (G.orbitAdjustedHeight a x y/R+u)
have hβ :=Int.floor_le u
have hβ :=Int.lt_floor_add_one u
havehe : (G.adjustedLayerIndex a Ru x y : β) =
(βG.orbitAdjustedHeight a x y/R+uβ : β)-(βuβ : β) :=by
simp only [adjustedLayerIndex,Int.cast_sub]
rw [he]
constructor
Β· havehh : (βG.orbitAdjustedHeight a x y/R+uβ : β)-(βuβ : β)-1 <
G.orbitAdjustedHeight a x y/R:=by linarith
have hm := (lt_div_iffβ hR).mp hh
nlinarith
Β· havehh : G.orbitAdjustedHeight a x y/R <
(βG.orbitAdjustedHeight a x y/R+uβ : β)-(βuβ : β)+1:=by linarith
have hm := (div_lt_iffβ hR).mp hh
nlinarith
lemmaadjustedLayerIndex_edge_jump (hc : G.fullGraph.Connected) (hl : G.LocallyFinite)
(a : Vββ) (Ru : β) (hR : 0 < R)
(hjump : β e v w, v βG.ends e β w βG.ends e β
|G.orbitAdjustedHeight a v w| β€R)
(x v w : V) (e : E) (hv : v βG.ends e) (hw : w βG.ends e) :
G.adjustedLayerIndex a R u x v-1β€G.adjustedLayerIndex a R u x w β§G.adjustedLayerIndex a R u x w β€G.adjustedLayerIndex a R u x v+1:=by
proof Β· 23
lines
have hh := abs_le.mp (hjump e v w hv hw)
have hcoc :=G.orbitAdjustedHeight_change_base hc hl a x v w
havehdiv : G.orbitAdjustedHeight a x v/R-1β€G.orbitAdjustedHeight a x w/Rβ§G.orbitAdjustedHeight a x w/Rβ€G.orbitAdjustedHeight a x v/R+1:=by
constructor
Β· apply (le_div_iffβ hR).mpr
havehe : (G.orbitAdjustedHeight a x v/R-1)*R = G.orbitAdjustedHeight a x v-R:=by
field_simp
rw [he]
linarith
Β· apply (div_le_iffβ hR).mpr
havehe : (G.orbitAdjustedHeight a x v/R+1)*R = G.orbitAdjustedHeight a x v+R:=by
field_simp
rw [he]
linarith
have hlo :=Int.floor_mono (add_le_add hdiv.1 (le_refl u))
have hhi :=Int.floor_mono (add_le_add hdiv.2 (le_refl u))
havehelo : G.orbitAdjustedHeight a x v/R-1+u = G.orbitAdjustedHeight a x v/R+u-1:=by ring
havehehi : G.orbitAdjustedHeight a x v/R+1+u = G.orbitAdjustedHeight a x v/R+u+1:=by ring
rw [helo,Int.floor_sub_one] at hlo
rw [hehi,Int.floor_add_one] at hhi
unfold adjustedLayerIndex
omega