[Imprint][Data Privacy Statement][E-Mail]



View long theorem info. View the proof. Back to main index. View the specification. View theorem base summary, View theorem base listing, the used properties by spec, the dependency list, the symbol table,

Proof step 1 from proof alloc (conclusion) (back to tree)

hP(h) ⊦ ⟪alloc(; r, h)⟫ ((r =>_ * hP))(h)

Heuristic weak unfold applied rule call right

And obtained the following new goals

Rule argument

pos: right 1

Additional information

Used simplifier rules: alloc(; r, h){choose r0 with ¬ r0 ∈ h ∧ r0 ≠ null in r := r0, h := h ++ r0};

Proof step 2 from proof alloc (previous step) (back to tree)

hP(h) ⊦ ⟪choose r0 with ¬ r0 ∈ h ∧ r0 ≠ null in r := r0, h := h ++ r0⟫ ((r =>_ * hP))(h)

Heuristic symbolic execution applied rule choose right

And obtained the following new goals

Rule argument

Additional information

Proof step 3 from proof alloc (previous step) (back to tree)

r0 ≠ null, hP(h), ¬ r0 ∈ h ⊦ ⟪r := r0, h := h ++ r0⟫ ((r =>_ * hP))(h)

Heuristic symbolic execution applied rule assign right

And closed the goal!

Rule argument

Additional information

Used simplifier rules: ¬ r ∈ h, r ≠ null ⊦ ((r =>_ * hP))(h ++ r) ↔ hP(h); (ss) sep-ass: ⊦ (hP0 * hP1) * hP2 = hP0 * hP1 * hP2; from specification heap-sep sep-com: ⊦ hP0 * hP1 = hP1 * hP0; from specification heap-sep

Proof step 4 from proof alloc (previous step) (back to tree)

hP(h), ∀ r0. ¬(¬ r0 ∈ h ∧ r0 ≠ null) ⊦ ⟪abort⟫ ((r =>_ * hP))(h)

User applied rule apply lemma

And obtained the following new goals

Rule argument

spec: ops-impl, name:infinite-mem, seq: ⊦ ∃ r. ¬ r ∈ h ∧ r ≠ null, subst:[h] → [h]

Additional information

Used terms: h

Proof step 5 from proof alloc (previous step) (back to tree)

⊦ ∃ r. ¬ r ∈ h ∧ r ≠ null

A spec-lemma

Proof step 6 from proof alloc (previous step) (back to tree)

hP(h), ∀ r0. ¬(¬ r0 ∈ h ∧ r0 ≠ null), ∃ r. ¬ r ∈ h ∧ r ≠ null ⊦ ⟪abort⟫ ((r =>_ * hP))(h)

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Proof step 7 from proof alloc (previous step) (back to tree)

r0 ≠ null, hP(h), ¬ r0 ∈ h, ∀ r1. r1 ∈ h ∨ r1 = null ⊦ ⟪abort⟫ ((r =>_ * hP))(h)

Heuristic symbolic execution applied rule abort right

And obtained the following new goals

Rule argument

Additional information

Proof step 8 from proof alloc (previous step) (back to tree)

r0 ≠ null, hP(h), ¬ r0 ∈ h, ∀ r1. r1 ∈ h ∨ r1 = null ⊦

Heuristic quantifier closing applied rule all left

And closed the goal!

Rule argument

pos: left 4 terms: r0

Additional information

Used terms: r0

Proof Tree for alloc (View conclusion)

The following image shows the proof tree of sequent calculus. The proved goal is at the bottom. You can click on the nodes to view additional rules. See here for details on colors in a proof tree.

the proof tree