Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Proof of Thm 4.11 — for precise P, min(P ∗ X) = min(P) ∗ min(X) and min(P) = P

Proved
BiAbduction.Footprint.min_sep_precise

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

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

Let PPP be a precise predicate (Definition 4.9). Then for every predicate XXX,

min⁡(P∗X)=min⁡(P)∗min⁡(X),andmin⁡(P)=P.\min(P * X) = \min(P) * \min(X), \qquad\text{and}\qquad \min(P) = P.min(P∗X)=min(P)∗min(X),andmin(P)=P.

These are the two steps of the displayed chain in the proof of Theorem 4.11 that the paper attributes to "precision of PαP_\alphaPα​": with X=Qα− ⁣ ⁣∗(PC∗true)X = Q_\alpha \mathbin{-\!\!*} (P_C * \mathsf{true})X=Qα​−∗(PC​∗true) they rewrite min⁡(Pα∗X)\min(P_\alpha * X)min(Pα​∗X) as Pα∗min⁡(X)P_\alpha * \min(X)Pα​∗min(X).

Preamble
import Mathlib
import Definitions.Def_BiAbduction_Footprint_Semantics
import Definitions.Def_BiAbduction_Footprint_Footprint
Formal statement
namespace BiAbduction.Footprint

/-- Proof of Theorem 4.11 (p. 50), the two steps "from precision of `Pα`": if `P` is precise
then `min(P ∗ X) = min(P) ∗ min(X)` for every predicate `X`, and `min(P) = P`. -/
theorem min_sep_precise (P : Pred) (hP : IsPrecise P) :
    (∀ X : Pred, minSet (sepConj P X) = sepConj (minSet P) (minSet X)) ∧
    minSet P = P := by sorry

end BiAbduction.Footprint
Source
Calcagno, Distefano, O'Hearn, Yang, Compositional Shape Analysis by means of Bi-Abduction, J. ACM (2011), p. 50, §4.2.4, proof of Theorem 4.11 (displayed chain)
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