Documentation

CslibFrontier.Foundations.Combinatorics.CoveringTower.Path

Walks in a tower #

Elementary facts about walks in a Cslib.CoveringTower.Tower: the chamber after each step, concatenation and reversal, and the edges along a route.

From VP ≠ VNP over every field [Ant26], module Nc.Tow.Path.

Main definitions #

Main results #

theorem Cslib.CoveringTower.Tower.step_ends {h b D J r : ℕ} {T : Tower h b D J r} {j : ℕ} (e : T.Ed j) {c : T.X j} (hc : T.e0 e = c ∨ T.e1 e = c) :
s(T.e0 e, T.e1 e) = s(c, T.step e c)
theorem Cslib.CoveringTower.Tower.step_ne {h b D J r : ℕ} {T : Tower h b D J r} {j : ℕ} (e : T.Ed j) {c : T.X j} (hc : T.e0 e = c ∨ T.e1 e = c) :
c ≠ T.step e c
theorem Cslib.CoveringTower.Tower.step_mem {h b D J r : ℕ} {T : Tower h b D J r} {j : ℕ} (e : T.Ed j) {c : T.X j} (hc : T.e0 e = c ∨ T.e1 e = c) :
T.e0 e = T.step e c ∨ T.e1 e = T.step e c
theorem Cslib.CoveringTower.Tower.step_step {h b D J r : ℕ} {T : Tower h b D J r} {j : ℕ} (e : T.Ed j) {c : T.X j} (hc : T.e0 e = c ∨ T.e1 e = c) :
T.step e (T.step e c) = c
def Cslib.CoveringTower.Tower.nodeAt {h b D J r : ℕ} {T : Tower h b D J r} {j : ℕ} (c : T.X j) (l : List (T.Ed j)) (s : ℕ) :
T.X j

The chamber after s steps.

theorem Cslib.CoveringTower.Tower.nodeAt_cons {h b D J r : ℕ} {T : Tower h b D J r} {j : ℕ} (c : T.X j) (e : T.Ed j) (l : List (T.Ed j)) (s : ℕ) :
nodeAt c (e :: l) (s + 1) = nodeAt (T.step e c) l s
theorem Cslib.CoveringTower.Tower.walk_end {h b D J r : ℕ} {T : Tower h b D J r} {j : ℕ} {c c' : T.X j} {l : List (T.Ed j)} (hw : T.Walk c l c') :
nodeAt c l l.length = c'
theorem Cslib.CoveringTower.Tower.walk_step {h b D J r : ℕ} {T : Tower h b D J r} {j : ℕ} {c c' : T.X j} {l : List (T.Ed j)} (hw : T.Walk c l c') {s : ℕ} {e : T.Ed j} (he : l[s]? = some e) :
(T.e0 e = nodeAt c l s ∨ T.e1 e = nodeAt c l s) ∧ nodeAt c l (s + 1) = T.step e (nodeAt c l s)
theorem Cslib.CoveringTower.Tower.walk_append {h b D J r : ℕ} {T : Tower h b D J r} {j : ℕ} {c c' c'' : T.X j} {l l' : List (T.Ed j)} (h1 : T.Walk c l c') (h2 : T.Walk c' l' c'') :
T.Walk c (l ++ l') c''
theorem Cslib.CoveringTower.Tower.walk_reverse {h b D J r : ℕ} {T : Tower h b D J r} {j : ℕ} {c c' : T.X j} {l : List (T.Ed j)} (h1 : T.Walk c l c') :
T.Walk c' l.reverse c
def Cslib.CoveringTower.Routes.path {h b D J r : ℕ} {T : Tower h b D J r} {m Uu : ℕ} (R : Routes T m Uu) (c c' γ : T.X 0) :
List (T.Ed 0)

The path from c to c' by way of γ.

theorem Cslib.CoveringTower.Routes.path_def {h b D J r : ℕ} {T : Tower h b D J r} {m Uu : ℕ} (R : Routes T m Uu) (c c' γ : T.X 0) :
R.path c c' γ = R.rt c γ ++ (R.rt c' γ).reverse

The path from c to c' by way of γ is the route from c to γ followed by the reversed route from c' to γ.

theorem Cslib.CoveringTower.Routes.path_walk {h b D J r : ℕ} {T : Tower h b D J r} {m Uu : ℕ} (R : Routes T m Uu) (c c' γ : T.X 0) :
T.Walk c (R.path c c' γ) c'
theorem Cslib.CoveringTower.Routes.length_path {h b D J r : ℕ} {T : Tower h b D J r} {m Uu : ℕ} (R : Routes T m Uu) (c c' γ : T.X 0) :
(R.path c c' γ).length ≤ 2 * m
theorem Cslib.CoveringTower.Routes.exists_end {h b D J r : ℕ} {T : Tower h b D J r} {m Uu : ℕ} (R : Routes T m Uu) (c c' γ : T.X 0) :
∃ (s : ℕ), Tower.nodeAt c (R.path c c' γ) s = c'
def Cslib.CoveringTower.Routes.pl {h b D J r : ℕ} {T : Tower h b D J r} {m Uu : ℕ} (R : Routes T m Uu) (c c' γ : T.X 0) :

The number of steps until the end is reached for the first time.

def Cslib.CoveringTower.Routes.pn {h b D J r : ℕ} {T : Tower h b D J r} {m Uu : ℕ} (R : Routes T m Uu) (c c' γ : T.X 0) (s : ℕ) :
T.X 0

The chamber after s steps.

theorem Cslib.CoveringTower.Routes.pn_zero {h b D J r : ℕ} {T : Tower h b D J r} {m Uu : ℕ} (R : Routes T m Uu) (c c' γ : T.X 0) :
R.pn c c' γ 0 = c

A route is at its first chamber after no steps.

theorem Cslib.CoveringTower.Routes.pn_pl {h b D J r : ℕ} {T : Tower h b D J r} {m Uu : ℕ} (R : Routes T m Uu) (c c' γ : T.X 0) :
R.pn c c' γ (R.pl c c' γ) = c'
theorem Cslib.CoveringTower.Routes.pn_ne {h b D J r : ℕ} {T : Tower h b D J r} {m Uu : ℕ} (R : Routes T m Uu) (c c' γ : T.X 0) {s : ℕ} (hs : s < R.pl c c' γ) :
R.pn c c' γ s ≠ c'
theorem Cslib.CoveringTower.Routes.pl_le {h b D J r : ℕ} {T : Tower h b D J r} {m Uu : ℕ} (R : Routes T m Uu) (c c' γ : T.X 0) :
R.pl c c' γ ≤ (R.path c c' γ).length
theorem Cslib.CoveringTower.Routes.pl_pos {h b D J r : ℕ} {T : Tower h b D J r} {m Uu : ℕ} (R : Routes T m Uu) {c c' : T.X 0} (hne : c ≠ c') (γ : T.X 0) :
0 < R.pl c c' γ
theorem Cslib.CoveringTower.Routes.exists_edge {h b D J r : ℕ} {T : Tower h b D J r} {m Uu : ℕ} (R : Routes T m Uu) (c c' γ : T.X 0) {s : ℕ} (hs : s < R.pl c c' γ) :
∃ (e : T.Ed 0), (R.path c c' γ)[s]? = some e ∧ s(T.e0 e, T.e1 e) = s(R.pn c c' γ s, R.pn c c' γ (s + 1)) ∧ R.pn c c' γ s ≠ R.pn c c' γ (s + 1)

The edge of step s.