AFTD Auto-Formalizing Theoretical Domains

WeakDegOp

inductive

An operation in a weak degeneracy sequence, either deleting a vertex v (Del) or deleting v while saving a neighbor w (DelSave).

Statement

inductive WeakDegOp (V : Type*)
Defined in
arXiv:2611.25850: Section 1
Verified
21 Nov 2026
Axioms
none listed
Used by 6
  • weak_deg_op_availThe availability of a weak degeneracy operation: f(v) + 1 for Del(v), and f(v) - f(w) for DelSave(v, w).
  • weak_deg_is_legalFor a simple graph G on vertex type V, a finite set of vertices S : Finset V, an integer-valued bound function f : V → ℤ, and an operation…
  • WeakDegExecutionInductive execution predicate WeakDegExecution G S f ops avails asserting that the sequence of operations ops : List (WeakDegOp V)…
  • weak_deg_next_boundThe updated integer-valued bound function f : V → ℤ after executing an operation op : WeakDegOp V on a finite set of vertices S : Finset…
  • is_availably_weakly_d_degenerateA finite simple graph G on vertex type V with decidable equality is α-availably weakly d-degenerate for d : ℕ and α : ℝ if there exists a…
  • weak_deg_vertexThe vertex deleted by a weak degeneracy operation op : WeakDegOp V (mapping Del(v) to v and DelSave(v, w) to v).

Read back from the Lean

An inductive type family WeakDegOp, parameterized by a type V : Type*, with two constructors: - WeakDegOp.del : V → WeakDegOp V, taking an element v : V. - WeakDegOp.delSave : V → V → WeakDegOp V, taking two elements v, w : V.

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

/-- An operation in a weak degeneracy sequence: Del(v) or DelSave(v, w). -/
inductive WeakDegOp (V : Type*) where
  | del (v : V) : WeakDegOp V
  | delSave (v w : V) : WeakDegOp V
See it in the graphDiscuss this resultChallenge it