weak_deg_vertex
def
The vertex deleted by a weak degeneracy operation op : WeakDegOp V (mapping Del(v) to v and DelSave(v, w) to v).
Statement
def weak_deg_vertex {V : Type*} (op : 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 and an operation op : WeakDegOp V, weak_deg_vertex op returns the vertex v : V being deleted: it returns v if op is WeakDegOp.del v, and returns v if op is WeakDegOp.delSave v w.
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
/-- The vertex deleted by a weak degeneracy operation. -/ def weak_deg_vertex {V : Type*} (op : WeakDegOp V) : V := match op with | .del v => v | .delSave v _ => v