Documentation

LeanPool.RegtsSevenster.RS.Novel.Skein.ChordLabels

Boundary chord labels #

The label of a boundary flag, extraction lemmas, and the crossing relation rewritten as an order condition on the four labels — the concrete bridge from chordCrossingCount to the abstract chord parity layer.

noncomputable def RS.EdgeSubset.boundaryLabel {α : Type} {W : Fragment α} (F : EdgeSubset W) {f : W.Flag} (hf : f ∈ F.boundaryFlags) :
α

The boundary label of a boundary flag.

Equations
Instances For
    theorem RS.EdgeSubset.attach_boundaryLabel {α : Type} {W : Fragment α} {F : EdgeSubset W} {f : W.Flag} (hf : f ∈ F.boundaryFlags) :

    The defining equation of the boundary label.

    theorem RS.EdgeSubset.boundaryLabel_eq_of_attach {α : Type} {W : Fragment α} {F : EdgeSubset W} {f : W.Flag} {i : α} (hf : f ∈ F.boundaryFlags) (h : W.attach f = Sum.inr i) :

    The label determines the attachment.

    theorem RS.EdgeSubset.boundaryFlag_boundaryLabel {α : Type} {W : Fragment α} {f : W.Flag} {F : EdgeSubset W} (hf : f ∈ F.boundaryFlags) :

    A boundary flag is the flag of its own label.

    theorem RS.EdgeSubset.boundaryLabel_inj {α : Type} {W : Fragment α} {F : EdgeSubset W} {f g : W.Flag} (hf : f ∈ F.boundaryFlags) (hg : g ∈ F.boundaryFlags) (h : F.boundaryLabel hf = F.boundaryLabel hg) :
    f = g

    Distinct boundary flags carry distinct labels.

    theorem RS.EdgeSubset.boundaryLabel_congr {α : Type} {W : Fragment α} {F : EdgeSubset W} {f g : W.Flag} (hf : f ∈ F.boundaryFlags) (hg : g ∈ F.boundaryFlags) (h : f = g) :

    The boundary label does not depend on the membership proof.

    The crossing relation on labels: ChordCross is exactly the four-label interleaving condition (each chord low-to-high, the first chord starting first).

    theorem RS.sum_quad {β : Type} [DecidableEq β] {x y z w : β} (hxy : x ≠ y) (hxz : x ≠ z) (hxw : x ≠ w) (hyz : y ≠ z) (hyw : y ≠ w) (hzw : z ≠ w) (f : β → ℕ) :
    ∑ t ∈ {x, y, z, w}, f t = f x + (f y + (f z + f w))

    Expansion of a sum over a four-element finset literal.