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

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,

Theorem base for Specification partial-sorted

This is a listing of all goals defined over the current specification. Axioms are marked yellow, proved theorems green and unproved theorems blue. Click on individual names to get more information on the proof.

Name: Sequent: Type:
less-rec ⊦ less#(a, b ' + x) = (b < a ⊃ 1;0) + less#(a, x) An Axiom
less-base ⊦ less#(a, []) = 0 An Axiom
violations-rec ⊦ violations(a ' + x) = less#(a, x) + violations(x) An Axiom
violations-base ⊦ violations([]) = 0 An Axiom
partial-sorted ⊦ partial-sorted(x, n, m) ↔ (∀ n0. n + 2 * n0 + 1 < m → ¬ x[n + 2 * n0 + 1] < x[n + 2 * n0]) An Axiom
less-samen + 1 < # x ⊦ less#(a, x[n, x[n + 1]][n + 1, x[n]]) = less#(a, x) A User Theorem
sorted-0 ⊦ partial-sorted(x, n, 0) A User Theorem
sorted-1 ⊦ partial-sorted(x, n, 1) A User Theorem
sorted-next-0 ⊦ partial-sorted(x, 0, n) ∧ ¬ x[n + 1] < x[n] ∧ n % 2 = 0 → partial-sorted(x, 0, n + 2) A User Theorem
sorted-next-0-swapn + 1 < # x ⊦ partial-sorted(x, 0, n) ∧ x[n + 1] < x[n] ∧ n % 2 = 0 → partial-sorted(x[n, x[n + 1]][n + 1, x[n]], 0, n + 2) A User Theorem
sorted-next-1 ⊦ partial-sorted(x, 1, n) ∧ ¬ x[n + 1] < x[n] ∧ n % 2 = 1 → partial-sorted(x, 1, n + 2) A User Theorem
sorted-next-1-swapn + 1 < # x ⊦ partial-sorted(x, 1, n) ∧ x[n + 1] < x[n] ∧ n % 2 = 1 → partial-sorted(x[n, x[n + 1]][n + 1, x[n]], 1, n + 2) A User Theorem
sorted-ordered ⊦ partial-sorted(x, 0, # x) ∧ partial-sorted(x, 1, # x) → ordered≤(x) A User Theorem
sorted-sorted-next-0-le ⊦ n ≤ m ∧ m ≤ n + 1 ∧ partial-sorted(x, 0, n) ∧ n % 2 = 0 → partial-sorted(x, 0, m) A User Theorem
sorted-sorted-next-1-le ⊦ n ≤ m ∧ m ≤ n + 1 ∧ partial-sorted(x, 1, n) ∧ n % 2 = 1 → partial-sorted(x, 1, m) A User Theorem
violations-existsn + 1 < # x ⊦ x[n + 1] < x[n] → violations(x) ≠ 0 A User Theorem
violations-swapn + 1 < # x ⊦ x[n + 1] < x[n] → violations(x[n, x[n + 1]][n + 1, x[n]]) = violations(x) - 1 A User Theorem