AFTD Auto-Formalizing Theoretical Domains

weak_deg_op_avail

def

The availability of a weak degeneracy operation: f(v) + 1 for Del(v), and f(v) - f(w) for DelSave(v, w).

Statement

def weak_deg_op_avail {V : Type*} (f : V → ℤ) : WeakDegOp 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 a function f : V → ℤ, weak_deg_op_avail f is the function from WeakDegOp V to ℤ defined by: - weak_deg_op_avail f (.del v) = f v + 1 - weak_deg_op_avail f (.delSave v w) = f v - f 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

/-- Availability of an operation: f(v) + 1 for Del, f(v) - f(w) for DelSave. -/
def weak_deg_op_avail {V : Type*} (f : V → ℤ) : WeakDegOp V → ℤ
  | .del v => f v + 1
  | .delSave v w => f v - f w
See it in the graphDiscuss this resultChallenge it