Ranks within key classes #
Cslib.CoveringTower.rk idx key F u counts the elements of F with the key of u and a
smaller index: ranks within the classes of equal keys, used to number the elements of a class.
From VP ≠ VNP over every field [Ant26], module Nc.Tow.Rank.
Main definitions #
Cslib.CoveringTower.rk: the rank.
Main results #
Cslib.CoveringTower.rk_lt,Cslib.CoveringTower.injOn_rk: ranks are below the class size and injective on every class, the condition the ranking clients use.
def Cslib.CoveringTower.rk {U : Type u_1} {κ : Type u_2} [DecidableEq κ] (idx : U → ℕ) (key : U → κ) (F : Finset U) (u : U) :
The rank of an element among those with the same key.
theorem Cslib.CoveringTower.rk_inj {U : Type u_1} {κ : Type u_2} [DecidableEq κ] {idx : U → ℕ} {key : U → κ} (hidx : Function.Injective idx) {F : Finset U} {u v : U} (hu : u ∈ F) (hv : v ∈ F) (huv : key u = key v) (h : rk idx key F u = rk idx key F v) :
u = v
theorem Cslib.CoveringTower.injOn_rk {U : Type u_1} {κ : Type u_2} [DecidableEq κ] {idx : U → ℕ} {key : U → κ} (hidx : Function.Injective idx) (F : Finset U) (k : κ) :
The rank is injective on every key fiber.