Lexicographic invocation graphs satisfy size-change termination
ProvedNishtAbel2024.lexicographic_invocation_graphs_sctLet be a finite list of function names, a common parameter arity, and a duplicate-free list of parameter indices less than . At each position of , form the invocation graph with a strict diagonal edge at , non-strict diagonal edges at earlier measure positions, and no other edges. Assign this family to every pair of names in . Then the resulting family is well formed and satisfies the size-change termination criterion: every idempotent cycle graph in its compositional closure has a strict diagonal edge.
This is the invocation-graph construction used in the proof of Theorem 6, Section 5.5, pp. 39–40. The formulation also permits an empty measure, for which every graph list and the compositional closure are empty. It proves the graph obligation; it does not assert a translation from an independently defined source typing system.
import Definitions.Def_NishtAbel2024_Syntax
namespace NishtAbel2024
theorem lexicographic_invocation_graphs_sct :
∀ (dom : List FunName) (n : Nat) (m : List Nat),
m.Nodup → (∀ i ∈ m, i < n) → SCTValid (lexInvGraphFamily dom n m) := by sorry
end NishtAbel2024