Lemma 3.19 — a solution derived in the Figure 2 system is ≤c-below every solution
ProvedBiAbduction.Systematic.lemma_3_19abductionp2o-batch-pfp2bp2o-gran-per-chapterp2o-plan-paperp2o-v1separation-logic
Let be a quantifier-free left-hand side and a symbolic heap of the Points-to Instantiation, with no variable bound in occurring in . If is derivable and is an arbitrary predicate (set of states) with , then
where is the compatible preorder relative to the same : .
With the soundness of Figure 2 this says that every derivable is a minimal solution w.r.t. , the first phase of the systematic algorithm.
Preamble
import Mathlib import Definitions.Def_BiAbduction_Systematic_Rules
Formal statement
namespace BiAbduction.Systematic
/-- Lemma 3.19 (p. 29). If `Δ ∗ [D] ▷ H` is derivable and `Δ ∗ F ⊨ H` for a predicate `F`, then
`D ≤c F` (the `≤c` relative to the same `Δ`). -/
theorem lemma_3_19 (Δ : LHS) (D : Disj) (H : SH) (hconv : Conv Δ H)
(hder : Derives Δ D H) (F : Pred) (hF : IsSolution (lhsDen Δ) (shDen H) F) :
CompatLe (lhsDen Δ) (disjDen D) F := by sorry
end BiAbduction.Systematic
Source
Calcagno, Distefano, O'Hearn, Yang, Compositional Shape Analysis by means of Bi-Abduction, J. ACM (2011), p. 29, Lemma 3.19
Human review
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.