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

⊦ log2(m + 1) = 0 ↔ m = 0

System applied rule normalize

And obtained the following new goals

Rule argument

Additional information

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

¬(log2(m + 1) = 0 ↔ m = 0) ⊦

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Used simplifier rules: lone: ⊦ log2 1 = 0;

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

log2(m + 1) = 0, m ≠ 0 ⊦

User applied rule apply lemma

And obtained the following new goals

Rule argument

spec: <toplevel>, name:potex, seq:n ≠ 0 ⊦ ∃ m. 2^ m ≤ n ∧ n < 2^(m + 1), subst:[n] → [m + 1]

Additional information

Used simplifier rules: ⊦ m + 1 ≠ 0; (s) a: ⊦ (m + n0) + n1 = m + n0 + n1; from specification nat-basic c: ⊦ m + n = n + m; from specification nat-basic Used terms: m + 1

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

n ≠ 0 ⊦ ∃ m. 2^ m ≤ n ∧ n < 2^(m + 1)

Lemma potex

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

log2(m + 1) = 0, m ≠ 0, ∃ m0. 2^ m0 ≤ m + 1 ∧ m + 1 < 2^(m0 + 1) ⊦

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Used simplifier rules: zero: ⊦ 2^ n ≠ 0; fle-01: ⊦ m ≤ n ∧ n < n0 → m < n0; (forward) from specification nat f: ⊦ m < n → n ≠ 0; (forward) from specification nat-basic

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

log2(m + 1) = 0, m ≠ 0, 2^ m0 < 2^(m0 + 1), m + 1 < 2^(m0 + 1), 2^ m0 ≤ m + 1 ⊦

User applied rule apply lemma

And obtained the following new goals

Rule argument

spec: <toplevel>, name:Log2def, seq: ⊦ 2^ m ≤ n ∧ n < 2^ m +1 → log2 n = m, subst:[m, n] → [m0, m + 1]

Additional information

Used terms: m0, m + 1

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

⊦ 2^ m ≤ n ∧ n < 2^ m +1 → log2 n = m

Lemma Log2def

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

log2(m + 1) = 0, m ≠ 0, m + 1 < 2^(m0 + 1), 2^ m0 < 2^(m0 + 1), 2^ m0 ≤ m + 1, 2^ m0 ≤ m + 1 ∧ m + 1 < 2^ m0 +1 → log2(m + 1) = m0 ⊦

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Used simplifier rules: ⊦ m +1 = m + 1; (s)

Proof step 9 from proof lzer (previous step) (back to tree)

log2(m + 1) = 0, m ≠ 0, m + 1 < 2^ 1, 2^ 0 < 2^ 1, 2^ 0 ≤ m + 1 ⊦

User applied rule apply rewrite lemma

And obtained the following new goals

Rule argument

spec: nat, name:le-def, seq: ⊦ m ≤ n ↔ ¬ n < m, subst:[n, m] → [m + 1, 2^ 0], <all paths>

Additional information

Used simplifier rules: one-01: ⊦ 2^ 1 = 2; n < n0 ⊦ m + (* n) < (* n0) ↔ m < n0 - n; (s) ⊦ m < 1 ↔ m = 0; (s) a: ⊦ (m + n0) + n1 = m + n0 + n1; from specification nat-basic c: ⊦ m + n = n + m; from specification nat-basic Used terms: m + 1, 2^ 0

Proof step 10 from proof lzer (previous step) (back to tree)

⊦ m ≤ n ↔ ¬ n < m

A spec-lemma

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