Theorem 3.25 — the ≾-minimal solution of Δ ∗ D ⊨ H is a computable disjunction of symbolic heaps
ProvedBiAbduction.Systematic.theorem_3_25Consider the abduction question (5) of the Points-to Instantiation,
where is a quantifier-free symbolic heap and a symbolic heap. There is an algorithm which, given and , returns a disjunction of symbolic heaps that is the minimal solution w.r.t. : , and for every predicate (arbitrary set of states) with .
This is the paper's main result on the systematic algorithm: the best abductive solution, which semantically is , can be expressed in the language of symbolic heaps and computed.
Formalization Note "Effectively computed with an algorithm" is Computable₂ f for a single function f : LHS → SH → Disj, with Mathlib's standard Primcodable encodings of lists, pairs, sums, booleans and naturals. The competitors range over all predicates, not only over disjunctions. No bound-variable convention is assumed: renaming the bound variables of does not change its denotation, so the statement covers the page's case.
import Mathlib import Definitions.Def_BiAbduction_Systematic_Syntax
namespace BiAbduction.Systematic
/-- Theorem 3.25 (p. 34), Minimal Solution Algorithm. The minimal solution w.r.t. `≾` of the
abduction question `Δ ∗ D ⊨ H` (5) is expressible as a disjunction `D` of symbolic heaps, which is
computed from `(Δ, H)` by an algorithm. -/
theorem theorem_3_25 :
∃ f : LHS → SH → Disj, Computable₂ f ∧
∀ (Δ : LHS) (H : SH), IsLeastSolution (lhsDen Δ) (shDen H) (disjDen (f Δ H)) := by sorry
end BiAbduction.Systematic
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.