weak_deg_next_bound
The updated integer-valued bound function f : V → ℤ after executing an operation op : WeakDegOp V on a finite set of vertices S : Finset V: for Del(v), any neighbor u of v in S has its bound decremented by 1 (and unchanged otherwise); for DelSave(v, w), any neighbor u of v in S other than w has its bound decremented by 1 (and unchanged otherwise).
Statement
open Classical in noncomputable def weak_deg_next_bound {V : Type*} (G : SimpleGraph V) (S : Finset V) (f : V → ℤ) : WeakDegOp V → (V → ℤ)
- Defined in
- arXiv:2611.25850: Section 1
- Verified
- 21 Nov 2026
- Axioms
- none listed
- Built on 1
- WeakDegOpAn operation in a weak degeneracy sequence, either deleting a vertex v (Del) or deleting v while saving a neighbor w (DelSave).
- Used by 1
- WeakDegExecutionInductive execution predicate WeakDegExecution G S f ops avails asserting that the sequence of operations ops : List (WeakDegOp V)…
Read back from the Lean
Given a type V, a simple graph G on V, a finite subset S of V, and a function f : V → ℤ, weak_deg_next_bound G S f defines a function from WeakDegOp V to V → ℤ given by:
- On WeakDegOp.del v: the function sending each vertex u : V to f u - 1 if u ∈ S and v is adjacent to u in G, and to f u otherwise.
- On WeakDegOp.delSave v w: the function sending each vertex u : V to f u - 1 if u ∈ S, u ≠ w, and v is adjacent to u in G, and to f u otherwise.
Written by a model that saw only the Lean, never the English above. If the two disagree, that is worth a challenge.
Lean source view module on GitHub
open Classical in /-- Updated integer bound function after Del or DelSave on remaining vertex set S. -/ noncomputable def weak_deg_next_bound {V : Type*} (G : SimpleGraph V) (S : Finset V) (f : V → ℤ) : WeakDegOp V → (V → ℤ) | .del v => fun u => if u ∈ S ∧ G.Adj v u then f u - 1 else f u | .delSave v w => fun u => if u ∈ S ∧ u ≠ w ∧ G.Adj v u then f u - 1 else f u