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

⊦ s ≠ ∅ ∧ s0 ≠ ∅ → (s ∪ s0).min = (s.min < s0.min ⊃ s.min;s0.min)

System applied rule normalize

And obtained the following new goals

Rule argument

Additional information

Proof step 2 from proof min-union (previous step) (back to tree)

(s ∪ s0).min ≠ (s.min < s0.min ⊃ s.min;s0.min), s ≠ ∅, s0 ≠ ∅ ⊦

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Used simplifier rules: Max-in: ⊦ s ≠ ∅ → s.max ∈ s; Min-in: ⊦ s ≠ ∅ → s.min ∈ s; max-in: ⊦ s ≠ ∅ → (s.max ∈ s ↔ true); min-inn: ⊦ s.min ∈ s ↔ s ≠ ∅; size-zero: ⊦ # s ≠ 0 → s ≠ ∅; (forward) from specification set-basic size-zero-01: ⊦ s ≠ ∅ → # s ≠ 0; (forward) from specification set-basic

Proof step 3 from proof min-union (previous step) (back to tree)

# s0 ≠ 0, # s ≠ 0, (s ∪ s0).min ≠ (s.min < s0.min ⊃ s.min;s0.min), s ≠ ∅, s0 ≠ ∅ ⊦

User applied rule structural induction

And obtained the following new goals

Rule argument

term: s

Additional information

Used simplifier rules: set('a) generated by ∅, ++;;

Proof step 4 from proof min-union (previous step) (back to tree)

# s0 ≠ 0, #(s1 ++ a) ≠ 0, s1 ++ a ≠ ∅, ((s1 ++ a) ∪ s0).min ≠ ((s1 ++ a).min < s0.min ⊃ (s1 ++ a).min;s0.min), s0 ≠ ∅, ∀ s0. ¬(# s0 ≠ 0 ∧ # s1 ≠ 0 ∧ (s1 ∪ s0).min ≠ (s1.min < s0.min ⊃ s1.min;s0.min) ∧ s1 ≠ ∅ ∧ s0 ≠ ∅) ⊦

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Used simplifier rules: ⊦ ∅ ≠ s ++ a; (s) size-zero: ⊦ # s ≠ 0 → s ≠ ∅; (forward) from specification set-basic unc: ⊦ s ∪ s0 = s0 ∪ s; from specification set-union una: ⊦ (s ∪ s0) ∪ s1 = s ∪ s0 ∪ s1; from specification set-union ⊦ (s ++ a) ∪ s0 = (s ∪ s0) ++ a; (s)

Proof step 5 from proof min-union (previous step) (back to tree)

#(s1 ++ a) ≠ 0, # s0 ≠ 0, ((s1 ∪ s0) ++ a).min ≠ ((s1 ++ a).min < s0.min ⊃ (s1 ++ a).min;s0.min), s0 ≠ ∅, ∀ s. # s = 0 ∨ # s1 = 0 ∨ (s1 ∪ s).min = (s1.min < s.min ⊃ s1.min;s.min) ∨ s1 = ∅ ∨ s = ∅ ⊦

User applied rule apply rewrite lemma

And obtained the following new goals

Rule argument

spec: <toplevel>, name:min-rec, seq: ⊦ (s ++ a).min = (s = ∅ ∨ a < s.min ⊃ a;s.min), subst:[s, a] → [s1, a], <all paths>

Additional information

Used terms: s1, a

Proof step 6 from proof min-union (previous step) (back to tree)

⊦ (s ++ a).min = (s = ∅ ∨ a < s.min ⊃ a;s.min)

Lemma min-rec

Proof step 7 from proof min-union (previous step) (back to tree)

#(s1 ++ a) ≠ 0, # s0 ≠ 0, ((s1 ∪ s0) ++ a).min ≠ ((s1 = ∅ ∨ a < s1.min ⊃ a;s1.min) < s0.min ⊃ (s1 = ∅ ∨ a < s1.min ⊃ a;s1.min);s0.min), s0 ≠ ∅, ∀ s. # s = 0 ∨ # s1 = 0 ∨ (s1 ∪ s).min = (s1.min < s.min ⊃ s1.min;s.min) ∨ s1 = ∅ ∨ s = ∅ ⊦

User applied rule apply rewrite lemma

And obtained the following new goals

Rule argument

spec: <toplevel>, name:min-rec, seq: ⊦ (s ++ a).min = (s = ∅ ∨ a < s.min ⊃ a;s.min), subst:[s, a] → [s1 ∪ s0, a], <all paths>

Additional information

Used terms: s1 ∪ s0, a

Proof step 8 from proof min-union (previous step) (back to tree)

⊦ (s ++ a).min = (s = ∅ ∨ a < s.min ⊃ a;s.min)

Lemma min-rec

Proof step 9 from proof min-union (previous step) (back to tree)

#(s1 ++ a) ≠ 0, # s0 ≠ 0, (s1 ∪ s0 = ∅ ∨ a < (s1 ∪ s0).min ⊃ a;(s1 ∪ s0).min) ≠ ((s1 = ∅ ∨ a < s1.min ⊃ a;s1.min) < s0.min ⊃ (s1 = ∅ ∨ a < s1.min ⊃ a;s1.min);s0.min), s0 ≠ ∅, ∀ s. # s = 0 ∨ # s1 = 0 ∨ (s1 ∪ s).min = (s1.min < s.min ⊃ s1.min;s.min) ∨ s1 = ∅ ∨ s = ∅ ⊦

User applied rule all left

And obtained the following new goals

Rule argument

pos: left 5 terms: s0 abort: F discard: T computed: T

Additional information

Used terms: s0

Proof step 10 from proof min-union (previous step) (back to tree)

#(s1 ++ a) ≠ 0, # s0 ≠ 0, (s1 ∪ s0 = ∅ ∨ a < (s1 ∪ s0).min ⊃ a;(s1 ∪ s0).min) ≠ ((s1 = ∅ ∨ a < s1.min ⊃ a;s1.min) < s0.min ⊃ (s1 = ∅ ∨ a < s1.min ⊃ a;s1.min);s0.min), s0 ≠ ∅, # s0 = 0 ∨ # s1 = 0 ∨ (s1 ∪ s0).min = (s1.min < s0.min ⊃ s1.min;s0.min) ∨ s1 = ∅ ∨ s0 = ∅ ⊦

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Used simplifier rules: Max-in: ⊦ s ≠ ∅ → s.max ∈ s; Min-in: ⊦ s ≠ ∅ → s.min ∈ s; max-in: ⊦ s ≠ ∅ → (s.max ∈ s ↔ true); min-inn: ⊦ s.min ∈ s ↔ s ≠ ∅; size-zero-01: ⊦ s ≠ ∅ → # s ≠ 0; (forward) from specification set-basic size-zero: ⊦ # s ≠ 0 → s ≠ ∅; (forward) from specification set-basic size-zero-02: ⊦ # s = 0 → s = ∅; (forward) from specification set-basic unc: ⊦ s ∪ s0 = s0 ∪ s; from specification set-union una: ⊦ (s ∪ s0) ∪ s1 = s ∪ s0 ∪ s1; from specification set-union ⊦ s ∪ ∅ = s; (s) ⊦ #(∅ ++ a) = 1; (s) ⊦ s1 ∪ s2 = ∅ ↔ s1 = ∅ ∧ s2 = ∅; (s)

Proof step 11 from proof min-union (previous step) (back to tree)

(s1 ∪ s0).min = (s1.min < s0.min ⊃ s1.min;s0.min), # s1 ≠ 0, #(s1 ++ a) ≠ 0, # s0 ≠ 0, (a < (s1 ∪ s0).min ⊃ a;(s1 ∪ s0).min) ≠ ((a < s1.min ⊃ a;s1.min) < s0.min ⊃ (a < s1.min ⊃ a;s1.min);s0.min), s0 ≠ ∅, s1 ≠ ∅ ⊦

Heuristic if-then-else split applied rule case distinction

And obtained the following new goals

Rule argument

pos: left 1

Additional information

Proof step 12 from proof min-union (previous step) (back to tree)

(s1 ∪ s0).min = s1.min, # s1 ≠ 0, #(s1 ++ a) ≠ 0, # s0 ≠ 0, (a < (s1 ∪ s0).min ⊃ a;(s1 ∪ s0).min) ≠ ((a < s1.min ⊃ a;s1.min) < s0.min ⊃ (a < s1.min ⊃ a;s1.min);s0.min), s0 ≠ ∅, s1 ≠ ∅, s1.min < s0.min ⊦

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Used simplifier rules: lel: ⊦ a < b ∧ a = c → c < b; (forward) from specification weakord[tord]

Proof step 13 from proof min-union (previous step) (back to tree)

(s1 ∪ s0).min = s1.min, # s0 ≠ 0, #(s1 ++ a) ≠ 0, # s1 ≠ 0, (a < s1.min ⊃ a;s1.min) ≠ ((a < s1.min ⊃ a;s1.min) < s0.min ⊃ (a < s1.min ⊃ a;s1.min);s0.min), s0 ≠ ∅, s1 ≠ ∅, s1.min < s0.min ⊦

Heuristic nonsplitting cut applied rule cut formula

And closed the goal!

Rule argument

fma: a < s1.min

Additional information

Used simplifier rules: transitivity: ⊦ a < b ∧ b < c → a < c; (forward) from specification weakord[tord] Used formulas: a < s1.min

Proof step 14 from proof min-union (previous step) (back to tree)

(s1 ∪ s0).min = s0.min, # s1 ≠ 0, #(s1 ++ a) ≠ 0, # s0 ≠ 0, (a < (s1 ∪ s0).min ⊃ a;(s1 ∪ s0).min) ≠ ((a < s1.min ⊃ a;s1.min) < s0.min ⊃ (a < s1.min ⊃ a;s1.min);s0.min), s0 ≠ ∅, s1 ≠ ∅, ¬ s1.min < s0.min ⊦

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Used simplifier rules: ⊦ ¬ a < a; (s) leq-trans: ⊦ ¬ b < a ∧ ¬ c < b → ¬ c < a; (forward) from specification weakord[tord] nen: ⊦ ¬ b < a ∧ a = c → ¬ b < c; (forward) from specification weakord[tord] nll: ⊦ ¬ b < a ∧ b < c → a < c; (forward) from specification weakord[tord]

Proof step 15 from proof min-union (previous step) (back to tree)

(s1 ∪ s0).min = s0.min, # s0 ≠ 0, #(s1 ++ a) ≠ 0, # s1 ≠ 0, (a < s0.min ⊃ a;s0.min) ≠ ((a < s1.min ⊃ a;s1.min) < s0.min ⊃ a;s0.min), s0 ≠ ∅, s1 ≠ ∅, ¬ s1.min < s0.min ⊦

Heuristic nonsplitting cut applied rule cut formula

And obtained the following new goals

Rule argument

fma: a < s0.min

Additional information

Used simplifier rules: leq-trans: ⊦ ¬ b < a ∧ ¬ c < b → ¬ c < a; (forward) from specification weakord[tord] nll: ⊦ ¬ b < a ∧ b < c → a < c; (forward) from specification weakord[tord] Used formulas: a < s0.min

Proof step 16 from proof min-union (previous step) (back to tree)

(s1 ∪ s0).min = s0.min, # s0 ≠ 0, #(s1 ++ a) ≠ 0, # s1 ≠ 0, (a < s0.min ⊃ a;s0.min) ≠ ((a < s1.min ⊃ a;s1.min) < s0.min ⊃ a;s0.min), s0 ≠ ∅, s1 ≠ ∅, ¬ a < s0.min, ¬ s1.min < s0.min ⊦

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Used simplifier rules: nen: ⊦ ¬ b < a ∧ a = c → ¬ b < c; (forward) from specification weakord[tord]

Proof step 17 from proof min-union (previous step) (back to tree)

(s1 ∪ s0).min = s0.min, # s1 ≠ 0, #(s1 ++ a) ≠ 0, # s0 ≠ 0, s0.min ≠ ((a < s1.min ⊃ a;s1.min) < s0.min ⊃ a;s0.min), s0 ≠ ∅, s1 ≠ ∅, ¬ s1.min < s0.min, ¬ a < s0.min ⊦

Heuristic nonsplitting cut applied rule cut formula

And closed the goal!

Rule argument

fma: (a < s1.min ⊃ a;s1.min) < s0.min

Additional information

Used simplifier rules: ⊦ a ≠ b → (a < b ↔ ¬ b < a); (ss) lel: ⊦ a < b ∧ a = c → c < b; (forward) from specification weakord[tord] transitivity: ⊦ a < b ∧ b < c → a < c; (forward) from specification weakord[tord] ⊦ ¬ a < a; (s) Used formulas: (a < s1.min ⊃ a;s1.min) < s0.min

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