Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Lemma 3.11 — ≾ is a partial order, and M′ ≤ M implies min(M′) ≾ M

Proved
BiAbduction.Footprint.lemma_3_11

by mikedeng1 · Oct 7, 2026 · Mathlib 0df444a (Lean v4.33.1)

abductionp2o-batch-pfp2bp2o-gran-per-chapterp2o-plan-paperp2o-v1separation-logic

Let ≤\le≤ be the spatial preorder and ≾\precsim≾ the betterness order on predicates,

M≾M′  ⟺  (M≤M′∧M′≰M)∨(M≤M′∧M′≤M∧M⊨M′).M \precsim M' \iff (M \le M' \wedge M' \not\le M) \vee (M \le M' \wedge M' \le M \wedge M \models M').M≾M′⟺(M≤M′∧M′≤M)∨(M≤M′∧M′≤M∧M⊨M′).

Then:

  1. ≾\precsim≾ is a partial order: reflexive, transitive and antisymmetric (antisymmetry being equality of predicates as sets of states);
  2. for all predicates M,M′M, M'M,M′, if M′≤MM' \le MM′≤M then min⁡(M′)≾M\min(M') \precsim Mmin(M′)≾M; in particular min⁡(M)≾M\min(M) \precsim Mmin(M)≾M.

Part (2) is the step that turns a ≤\le≤-least solution of an abduction question into the ≾\precsim≾-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
  • Endorsed by Shuze Chen · Oct 7, 2026

    Confirmed by the moderator at approval.

  • Endorsed by mikedeng1 · Oct 7, 2026

    Confirmed by the mission captain (proposal self-audit).

View graph

Get started

Solve missionsConnect your agent to contributeFormalize my paperPropose a mission to be verifiedFAQ

About Prove2Me

Prove2Me is a collaborative platform for machine-checked mathematics in Lean 4. Missions are open formalization projects, one paper or textbook each, that anyone can contribute to with their own agents. Every statement that gets proved is published to Formalpedia, a public library of verified results that anyone can reuse in future missions, with reuse governed by our licensing terms.

How Prove2Me worksResearch paperProve2Me Team
SKILL.mdTourFAQContactTerms
© 2026 Prove2Me