A slipface function of shift χ, i.e. a function $s : \mathbb{Z}^2 \to \mathbb{N}$
satisfying the paper's conditions (S1) to (S3):
- first differences in the
a- andb-directions are in{0,1} - $s(a,b) \ge \max\{0, \chi + a - b\}$
- each row and column eventually agrees with $\max\{0, \chi + a - b\}$
Lean stores the function as func and the shift as χ; the paper would write
this as $s \in \mathrm{SF}_\chi$. Definition 3.1 (defn:slipface).
- χ : ℤ
Instances For
Equations
The one-sided monotonicity and vanishing conditions providing a simplified criterion for slipfaces.
These are the paper's conditions (D1) and (D2), extracted into a reusable Lean structure. Properties D1 and D2.
Instances For
Slip Valleys and the Product Formula #
A Valley is an integer function rising on both sides, which therefore has a
well-defined minimum achieved at finitely many places.
This section packages the minimization problem defining slipface product into a
Valley, then uses it to construct the product s ⋆ t and prove its basic
properties.
The min-plus product formula $$ (s \star t)(a,b) = \min_{\ell \in \mathbb{Z}} [s(a,\ell) + t(\ell,b)]. $$
In Lean, star_func s t a b is this integer value, while s ⋆ t is the
resulting SlipFace. Definition 3.7 (defn:sfAlgebra), part 1/3.
Equations
- s.star_func t a b = (s.SlipValley t a b).min
Instances For
The product of two slipfaces, obtained from the minimum formula
star_func.
Equations
- s ⋆ t = Classical.choose ⋯
Instances For
Equations
- SlipFace.instMul = { mul := SlipFace.star }
Equations
- SlipFace.«term_⋆_» = Lean.ParserDescr.trailingNode `SlipFace.«term_⋆_» 70 70 (Lean.ParserDescr.binary `andthen (Lean.ParserDescr.symbol " ⋆ ") (Lean.ParserDescr.cat `term 71))
Instances For
Order Structure and Comparison with ⋆ #
This section puts the pointwise order on SlipFace and records the basic
comparison lemmas relating that order to the product ⋆.
The order is the paper's Bruhat order on slipfaces. Definition 3.2.
Equations
- One or more equations did not get rendered due to their size.
Equations
- s.star_wit t a b = (s.SlipValley t a b).M
Instances For
Monoid Structure #
The product ⋆ is associative and has the positive-part function as identity,
giving SlipFace a monoid structure.
The identity slipface, given by the positive part of a - b.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Equations
- One or more equations did not get rendered due to their size.
The contraction operations ◃ and ▹ #
This section develops the basic properties of the operations $s \triangleleft t$ and $s \triangleright t$ at the level of slipface functions.
The argmax witnessing the left contraction value $s \triangleleft t (a,b)$.
Equations
- s.lc_wit t a b = Classical.choose ⋯
Instances For
The left contraction function
$$ (s \triangleleft t)(a,b) = \max_{\ell \in \mathbb{Z}} \bigl[s(a,\ell) - t^\vee(b,\ell)\bigr]. $$
Definition 3.7 (defn:sfAlgebra), part 2/3.
Instances For
The argmax witnessing the right contraction value $s \triangleright t (a,b)$.
Equations
- s.rc_wit t a b = Classical.choose ⋯
Instances For
The right contraction function
$$ (s \triangleright t)(a,b) = \max_{\ell \in \mathbb{Z}} \bigl[t(\ell,b) - s^\vee(\ell,a)\bigr]. $$
Definition 3.7 (defn:sfAlgebra), part 3/3.
Instances For
The left contraction of two slipfaces, obtained from the maximum formula
lc_func. Proposition 3.9 (prop:sfAlgebraDefined), part 2/5.
Equations
- s ◃ t = Classical.choose ⋯
Instances For
Equations
- SlipFace.«term_◃_» = Lean.ParserDescr.trailingNode `SlipFace.«term_◃_» 70 70 (Lean.ParserDescr.binary `andthen (Lean.ParserDescr.symbol " ◃ ") (Lean.ParserDescr.cat `term 71))
Instances For
Equations
- SlipFace.«term_▹_» = Lean.ParserDescr.trailingNode `SlipFace.«term_▹_» 70 71 (Lean.ParserDescr.binary `andthen (Lean.ParserDescr.symbol " ▹ ") (Lean.ParserDescr.cat `term 70))
Instances For
The Mixed Difference Δ #
This section studies the discrete mixed difference Δ, its behavior under
duality, and the finite summation identities used later in submodularity
arguments.
A slipface is submodular if $\Delta s(a,b) \ge 0$ for all a, b.
Definition 4.2 (defn:submodular).
Equations
- sf.submodular = ∀ (a b : ℤ), sf.Δ a b ≥ 0