[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 sort-possible (conclusion) (back to tree)

⊦ ∃ a0. perm(a, a0) ∧ ordered≤((asc ⊃ a0;rev(a0))) ∧ # a = # a0

User applied rule cut formula

And obtained the following new goals

Rule argument

fma: asc

Additional information

Used formulas: asc

Proof step 2 from proof sort-possible (previous step) (back to tree)

asc ⊦ ∃ a0. perm(a, a0) ∧ ordered≤((asc ⊃ a0;rev(a0))) ∧ # a = # a0

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Proof step 3 from proof sort-possible (previous step) (back to tree)

⊦ ∃ a0. perm(a, a0) ∧ ordered≤(a0) ∧ # a = # a0

User applied rule apply lemma

And obtained the following new goals

Rule argument

spec: olist-new[oarray-sort-new], name:sort-possible, seq: ⊦ ∃ y. perm(x, y) ∧ ordered≤(y) ∧ # x = # y, subst:[x] → [a]

Additional information

Used terms: a

Proof step 4 from proof sort-possible (previous step) (back to tree)

⊦ ∃ y. perm(x, y) ∧ ordered≤(y) ∧ # x = # y

A spec-lemma

Proof step 5 from proof sort-possible (previous step) (back to tree)

∃ y. perm(a, y) ∧ ordered≤(y) ∧ # a = # y ⊦ ∃ a0. perm(a, a0) ∧ ordered≤(a0) ∧ # a = # a0

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Proof step 6 from proof sort-possible (previous step) (back to tree)

# a = # a0, ordered≤(a0), perm(a, a0) ⊦ ∃ a0. perm(a, a0) ∧ ordered≤(a0) ∧ # a = # a0

Heuristic quantifier closing applied rule exists right

And closed the goal!

Rule argument

pos: right 1 terms: a0

Additional information

Used terms: a0

Proof step 7 from proof sort-possible (previous step) (back to tree)

¬ asc ⊦ ∃ a0. perm(a, a0) ∧ ordered≤((asc ⊃ a0;rev(a0))) ∧ # a = # a0

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Proof step 8 from proof sort-possible (previous step) (back to tree)

⊦ ∃ a0. perm(a, a0) ∧ ordered≤(rev(a0)) ∧ # a = # a0

User applied rule apply lemma

And obtained the following new goals

Rule argument

spec: olist-new[oarray-sort-new], name:sort-possible, seq: ⊦ ∃ y. perm(x, y) ∧ ordered≤(y) ∧ # x = # y, subst:[x] → [rev(a)]

Additional information

Used terms: rev(a)

Proof step 9 from proof sort-possible (previous step) (back to tree)

⊦ ∃ y. perm(x, y) ∧ ordered≤(y) ∧ # x = # y

A spec-lemma

Proof step 10 from proof sort-possible (previous step) (back to tree)

∃ y. perm(rev(a), y) ∧ ordered≤(y) ∧ # rev(a) = # y ⊦ ∃ a0. perm(a, a0) ∧ ordered≤(rev(a0)) ∧ # a = # a0

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Used simplifier rules: ⊦ # rev(x) = # x; (s)

Proof step 11 from proof sort-possible (previous step) (back to tree)

# a = # a0, ordered≤(a0), perm(rev(a), a0) ⊦ ∃ a0. perm(a, a0) ∧ ordered≤(rev(a0)) ∧ # a = # a0

User applied rule exists right

And obtained the following new goals

Rule argument

pos: right 1 terms: rev(a0) abort: F discard: T computed: F

Additional information

Used terms: rev(a0)

Proof step 12 from proof sort-possible (previous step) (back to tree)

# a = # a0, ordered≤(a0), perm(rev(a), a0) ⊦ perm(a, rev(a0)) ∧ ordered≤(rev(rev(a0))) ∧ # a = # rev(a0)

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Used simplifier rules: ⊦ # rev(x) = # x; (s) ⊦ rev(rev(x)) = x; (s) ⊦ perm(x, rev(y)) ↔ perm(x, y); (s)

Proof step 13 from proof sort-possible (previous step) (back to tree)

# a = # a0, ordered≤(a0), perm(rev(a), a0), ¬ perm(a, a0) ⊦

User applied rule apply rewrite lemma

And obtained the following new goals

Rule argument

spec: list-perm[oarray-sort-new], name:sym, seq: ⊦ perm(x, y) ↔ perm(y, x), subst:[x, y] → [rev(a), a0], <all paths>

Additional information

Used terms: rev(a), a0

Proof step 14 from proof sort-possible (previous step) (back to tree)

⊦ perm(x, y) ↔ perm(y, x)

A spec-lemma

Proof step 15 from proof sort-possible (previous step) (back to tree)

# a = # a0, ordered≤(a0), perm(a0, rev(a)), ¬ perm(a, a0) ⊦

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Used simplifier rules: ⊦ perm(x, rev(y)) ↔ perm(x, y); (s)

Proof step 16 from proof sort-possible (previous step) (back to tree)

# a = # a0, ordered≤(a0), perm(a0, a), ¬ perm(a, a0) ⊦

User applied rule apply rewrite lemma

And obtained the following new goals

Rule argument

spec: list-perm[oarray-sort-new], name:sym, seq: ⊦ perm(x, y) ↔ perm(y, x), subst:[x, y] → [a, a0], <all paths>

Additional information

Used terms: a, a0

Proof step 17 from proof sort-possible (previous step) (back to tree)

⊦ perm(x, y) ↔ perm(y, x)

A spec-lemma

Proof Tree for sort-possible (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