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

#r mx = #r mx0, #c mx = #c mx0, #c mx ≠ 0, ∀ r. r < #r mx → perm(mx0[r]r, mx[r]r) ⊦ #clean0rows(mx0, i) = #clean0rows(mx, i) ↔ true

System applied rule normalize

And obtained the following new goals

Rule argument

Additional information

Proof step 2 from proof rowperms-clean0unchanged (previous step) (back to tree)

#c mx = #c mx0, #r mx = #r mx0, #c mx ≠ 0, ¬(#clean0rows(mx0, i) = #clean0rows(mx, i) ↔ true), ∀ r. r < #r mx → perm(mx0[r]r, mx[r]r) ⊦

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Proof step 3 from proof rowperms-clean0unchanged (previous step) (back to tree)

#c mx = #c mx0, #r mx = #r mx0, #c mx0 ≠ 0, #clean0rows(mx0, i) ≠ #clean0rows(mx, i), ∀ r. r < #r mx0 → perm(mx0[r]r, mx[r]r) ⊦

User applied rule cut formula

And obtained the following new goals

Rule argument

fma: #clean0rows(mx0, i) < #clean0rows(mx, i)

Additional information

Used formulas: #clean0rows(mx0, i) < #clean0rows(mx, i)

Proof step 4 from proof rowperms-clean0unchanged (previous step) (back to tree)

#c mx = #c mx0, #r mx = #r mx0, #c mx0 ≠ 0, #clean0rows(mx0, i) ≠ #clean0rows(mx, i), #clean0rows(mx0, i) < #clean0rows(mx, i), ∀ r. r < #r mx0 → perm(mx0[r]r, mx[r]r) ⊦

User applied rule apply lemma

And obtained the following new goals

Rule argument

spec: <toplevel>, name:clean0rows-bounded, seq: ⊦ ¬ #r mx < #clean0rows(mx, i), subst:[i, mx] → [i, mx]

Additional information

Used terms: i, mx

Proof step 5 from proof rowperms-clean0unchanged (previous step) (back to tree)

⊦ ¬ #r mx < #clean0rows(mx, i)

Lemma clean0rows-bounded

Proof step 6 from proof rowperms-clean0unchanged (previous step) (back to tree)

#c mx = #c mx0, #r mx = #r mx0, #c mx0 ≠ 0, #clean0rows(mx0, i) ≠ #clean0rows(mx, i), #clean0rows(mx0, i) < #clean0rows(mx, i), ¬ #r mx < #clean0rows(mx, i), ∀ r. r < #r mx0 → perm(mx0[r]r, mx[r]r) ⊦

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Used simplifier rules: ⊦ m < n → n ≠ 0; (s) lf-01: ⊦ m < n ∧ n = n0 → m < n0; (forward) from specification nat-basic f: ⊦ m < n → n ≠ 0; (forward) from specification nat-basic fle: ⊦ m < n ∧ n ≤ n0 → m < n0; (forward) from specification nat ⊦ m < n ↔ ¬ n ≤ m; (ss)

Proof step 7 from proof rowperms-clean0unchanged (previous step) (back to tree)

#c mx = #c mx0, #r mx = #r mx0, #c mx0 ≠ 0, #clean0rows(mx0, i) ≠ #clean0rows(mx, i), #clean0rows(mx0, i) < #clean0rows(mx, i), #clean0rows(mx0, i) < #r mx0, #clean0rows(mx, i) ≤ #r mx0, ∀ r. r < #r mx0 → perm(mx0[r]r, mx[r]r) ⊦

User applied rule apply lemma

And obtained the following new goals

Rule argument

spec: <toplevel>, name:clean0rows-notallls, seq:⊦ #clean0rows(mx, i) < #r mx → count(mx[#clean0rows(mx, i)]r, λ j. ¬ j < i) ≠ 0, subst:[mx, i] → [mx0, i]

Additional information

Used terms: mx0, i

Proof step 8 from proof rowperms-clean0unchanged (previous step) (back to tree)

⊦ #clean0rows(mx, i) < #r mx → count(mx[#clean0rows(mx, i)]r, λ j. ¬ j < i) ≠ 0

Lemma clean0rows-notallls

Proof step 9 from proof rowperms-clean0unchanged (previous step) (back to tree)

#c mx = #c mx0, #r mx = #r mx0, #c mx0 ≠ 0, #clean0rows(mx0, i) ≠ #clean0rows(mx, i), #clean0rows(mx0, i) < #r mx0, #clean0rows(mx0, i) < #clean0rows(mx, i), #clean0rows(mx, i) ≤ #r mx0, #clean0rows(mx0, i) < #r mx0 → count(mx0[#clean0rows(mx0, i)]r, λ j. ¬ j < i) ≠ 0, ∀ r. r < #r mx0 → perm(mx0[r]r, mx[r]r) ⊦

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Proof step 10 from proof rowperms-clean0unchanged (previous step) (back to tree)

#c mx = #c mx0, #r mx = #r mx0, #c mx0 ≠ 0, #clean0rows(mx0, i) ≠ #clean0rows(mx, i), count(mx0[#clean0rows(mx0, i)]r, λ j. ¬ j < i) ≠ 0, #clean0rows(mx0, i) < #clean0rows(mx, i), #clean0rows(mx0, i) < #r mx0, #clean0rows(mx, i) ≤ #r mx0, ∀ r. r < #r mx0 → perm(mx0[r]r, mx[r]r) ⊦

User applied rule apply lemma

And obtained the following new goals

Rule argument

spec: <toplevel>, name:clean0rows-allls, seq: ⊦ r < #clean0rows(mx, i) → count(mx[r]r, λ j. ¬ j < i) = 0, subst:[r, mx, i] → [#clean0rows(mx0, i), mx, i]

Additional information

Used terms: #clean0rows(mx0, i), mx, i

Proof step 11 from proof rowperms-clean0unchanged (previous step) (back to tree)

⊦ r < #clean0rows(mx, i) → count(mx[r]r, λ j. ¬ j < i) = 0

Lemma clean0rows-allls

Proof step 12 from proof rowperms-clean0unchanged (previous step) (back to tree)

#c mx = #c mx0, #r mx = #r mx0, #c mx0 ≠ 0, #clean0rows(mx0, i) ≠ #clean0rows(mx, i), count(mx0[#clean0rows(mx0, i)]r, λ j. ¬ j < i) ≠ 0, #clean0rows(mx0, i) < #r mx0, #clean0rows(mx0, i) < #clean0rows(mx, i), #clean0rows(mx, i) ≤ #r mx0, #clean0rows(mx0, i) < #clean0rows(mx, i) → count(mx[#clean0rows(mx0, i)]r, λ j. ¬ j < i) = 0, ∀ r. r < #r mx0 → perm(mx0[r]r, mx[r]r) ⊦

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Proof step 13 from proof rowperms-clean0unchanged (previous step) (back to tree)

#c mx = #c mx0, #r mx = #r mx0, count(mx[#clean0rows(mx0, i)]r, λ j. ¬ j < i) = 0, #c mx0 ≠ 0, #clean0rows(mx0, i) ≠ #clean0rows(mx, i), count(mx0[#clean0rows(mx0, i)]r, λ j. ¬ j < i) ≠ 0, #clean0rows(mx0, i) < #clean0rows(mx, i), #clean0rows(mx0, i) < #r mx0, #clean0rows(mx, i) ≤ #r mx0, ∀ r. r < #r mx0 → perm(mx0[r]r, mx[r]r) ⊦

User applied rule apply rewrite lemma

And obtained the following new goals

Rule argument

spec: filter-count[oarray-sort], name:perm-count, seq: ⊦ perm(x, y) → count(x, p) = count(y, p), subst:[x, y, p] → [mx0[#clean0rows(mx0, i)]r, mx[#clean0rows(mx0, i)]r, λ j. ¬ j < i]; ['a] → [tord], <all paths>

Additional information

Used terms: mx0[#clean0rows(mx0, i)]r, mx[#clean0rows(mx0, i)]r, λ j. ¬ j < i

Proof step 14 from proof rowperms-clean0unchanged (previous step) (back to tree)

⊦ perm(x, y) → count(x, p) = count(y, p)

A spec-lemma

Proof step 15 from proof rowperms-clean0unchanged (previous step) (back to tree)

#c mx = #c mx0, #r mx = #r mx0, count(mx[#clean0rows(mx0, i)]r, λ j. ¬ j < i) = 0, #c mx0 ≠ 0, #clean0rows(mx0, i) ≠ #clean0rows(mx, i), count(mx0[#clean0rows(mx0, i)]r, λ j. ¬ j < i) ≠ 0, #clean0rows(mx0, i) < #r mx0, #clean0rows(mx0, i) < #clean0rows(mx, i), #clean0rows(mx, i) ≤ #r mx0, ¬ perm(mx0[#clean0rows(mx0, i)]r, mx[#clean0rows(mx0, i)]r), ∀ r. r < #r mx0 → perm(mx0[r]r, mx[r]r) ⊦

Heuristic quantifier closing applied rule all left

And closed the goal!

Rule argument

pos: left 11 terms: #clean0rows(mx0, i)

Additional information

Used terms: #clean0rows(mx0, i)

Proof step 16 from proof rowperms-clean0unchanged (previous step) (back to tree)

#c mx = #c mx0, #r mx = #r mx0, #c mx0 ≠ 0, #clean0rows(mx0, i) ≠ #clean0rows(mx, i), ¬ #clean0rows(mx0, i) < #clean0rows(mx, i), ∀ r. r < #r mx0 → perm(mx0[r]r, mx[r]r) ⊦

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Used simplifier rules: ⊦ m < n → n ≠ 0; (s) f: ⊦ m < n → n ≠ 0; (forward) from specification nat-basic ⊦ m ≠ n → (m < n ↔ ¬ n < m); (ss)

Proof step 17 from proof rowperms-clean0unchanged (previous step) (back to tree)

#c mx = #c mx0, #r mx = #r mx0, #c mx0 ≠ 0, #clean0rows(mx0, i) ≠ #clean0rows(mx, i), #clean0rows(mx, i) < #clean0rows(mx0, i), ∀ r. r < #r mx0 → perm(mx0[r]r, mx[r]r) ⊦

User applied rule apply proof lemma

And obtained the following new goals

Rule argument

path: 1, 1, 1 subst: [mx, mx0, i] → [mx0, mx, i]

Additional information

Proof step 18 from proof rowperms-clean0unchanged (previous step) (back to tree)

#c mx = #c mx0, #r mx = #r mx0, #c mx0 ≠ 0, #clean0rows(mx0, i) ≠ #clean0rows(mx, i), #clean0rows(mx0, i) < #clean0rows(mx, i), ∀ r. r < #r mx0 → perm(mx0[r]r, mx[r]r) ⊦

Proof step 4 used as proof-lemma

Proof step 19 from proof rowperms-clean0unchanged (previous step) (back to tree)

#c mx = #c mx0, #r mx = #r mx0, #c mx0 ≠ 0, #clean0rows(mx0, i) ≠ #clean0rows(mx, i), #clean0rows(mx, i) < #clean0rows(mx0, i), ∀ r. r < #r mx0 → perm(mx0[r]r, mx[r]r) ⊦ #c mx0 = #c mx ∧ #r mx0 = #r mx ∧ #c mx ≠ 0 ∧ #clean0rows(mx, i) ≠ #clean0rows(mx0, i) ∧ (∀ r. r < #r mx → perm(mx[r]r, mx0[r]r))

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Used simplifier rules: ⊦ m < n → n ≠ 0; (s) lf-01: ⊦ m < n ∧ n = n0 → m < n0; (forward) from specification nat-basic f: ⊦ m < n → n ≠ 0; (forward) from specification nat-basic

Proof step 20 from proof rowperms-clean0unchanged (previous step) (back to tree)

#c mx = #c mx0, #r mx = #r mx0, #c mx0 ≠ 0, #clean0rows(mx0, i) ≠ #clean0rows(mx, i), r < #r mx0, #clean0rows(mx, i) < #clean0rows(mx0, i), ¬ perm(mx[r]r, mx0[r]r), ∀ r. r < #r mx0 → perm(mx0[r]r, mx[r]r) ⊦

User applied rule all left

And obtained the following new goals

Rule argument

pos: left 8 terms: r abort: F discard: T computed: T

Additional information

Used terms: r

Proof step 21 from proof rowperms-clean0unchanged (previous step) (back to tree)

#c mx = #c mx0, #r mx = #r mx0, #c mx0 ≠ 0, #clean0rows(mx0, i) ≠ #clean0rows(mx, i), #clean0rows(mx, i) < #clean0rows(mx0, i), r < #r mx0, ¬ perm(mx[r]r, mx0[r]r), r < #r mx0 → perm(mx0[r]r, mx[r]r) ⊦

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Proof step 22 from proof rowperms-clean0unchanged (previous step) (back to tree)

#c mx = #c mx0, #r mx = #r mx0, #c mx0 ≠ 0, #clean0rows(mx0, i) ≠ #clean0rows(mx, i), r < #r mx0, #clean0rows(mx, i) < #clean0rows(mx0, i), perm(mx0[r]r, mx[r]r), ¬ perm(mx[r]r, mx0[r]r) ⊦

User applied rule apply rewrite lemma

And obtained the following new goals

Rule argument

spec: list-perm[oarray-sort], name:sym, seq: ⊦ perm(x, y) ↔ perm(y, x), subst:[x, y] → [mx[r]r, mx0[r]r]; ['a] → [tord], <all paths>

Additional information

Used terms: mx[r]r, mx0[r]r

Proof step 23 from proof rowperms-clean0unchanged (previous step) (back to tree)

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

A spec-lemma

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