Lemma 3.11 — ≾ is a partial order, and M′ ≤ M implies min(M′) ≾ M
ProvedBiAbduction.Footprint.lemma_3_11abductionp2o-batch-pfp2bp2o-gran-per-chapterp2o-plan-paperp2o-v1separation-logic
Let be the spatial preorder and the betterness order on predicates,
Then:
- is a partial order: reflexive, transitive and antisymmetric (antisymmetry being equality of predicates as sets of states);
- for all predicates , if then ; in particular .
Part (2) is the step that turns a -least solution of an abduction question into the -least one.
Preamble
import Mathlib import Definitions.Def_BiAbduction_Footprint_Semantics
Formal statement
namespace BiAbduction.Footprint
/-- Lemma 3.11 (p. 24), properties of `≾`: (1) `≾` is a partial order (reflexive, transitive,
antisymmetric); for any `M, M'`, (2) `M' ≤ M` implies `min(M') ≾ M`; in particular
`min(M) ≾ M`. -/
theorem lemma_3_11 :
((∀ M : Pred, Better M M) ∧
(∀ M₁ M₂ M₃ : Pred, Better M₁ M₂ → Better M₂ M₃ → Better M₁ M₃) ∧
(∀ M₁ M₂ : Pred, Better M₁ M₂ → Better M₂ M₁ → M₁ = M₂)) ∧
∀ M M' : Pred,
(SpatialLe M' M → Better (minSet M') M) ∧ Better (minSet M) M := by sorry
end BiAbduction.Footprint
Source
Calcagno, Distefano, O'Hearn, Yang, Compositional Shape Analysis by means of Bi-Abduction, J. ACM (2011), p. 24, Lemma 3.11
Human review
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.