[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 square-neq-pos (conclusion) (back to tree)

⊦ prime(i) ∧ 0 < j ∧ 0 ≤ j0 → j * j ≠ i * j0 * j0

System applied rule normalize

And obtained the following new goals

Rule argument

Additional information

Proof step 2 from proof square-neq-pos (previous step) (back to tree)

j * j = i * j0 * j0, 0 < j, prime(i), 0 ≤ j0 ⊦

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Used simplifier rules: forward-le-01: ⊦ i ≤ j ∧ 0 ≤ i → 0 ≤ j; (forward) from specification int-abs forward-le-05: ⊦ i < j ∧ 0 ≤ i → 0 < j; (forward) from specification int-abs

Proof step 3 from proof square-neq-pos (previous step) (back to tree)

j * j = i * j0 * j0, 0 < j, prime(i), 0 ≤ j0 ⊦

User applied rule apply rewrite lemma

And obtained the following new goals

Rule argument

spec: <toplevel>, name:square-neq-pos-h, seq: ⊦ prime(i) ∧ gcd(j, j0) = 1 ∧ 0 < j ∧ 0 ≤ j0 → j * j ≠ i * j0 * j0, subst:[j0, i, j] → [j0, i, j], <all paths>

Additional information

Used terms: j0, i, j

Proof step 4 from proof square-neq-pos (previous step) (back to tree)

⊦ prime(i) ∧ gcd(j, j0) = 1 ∧ 0 < j ∧ 0 ≤ j0 → j * j ≠ i * j0 * j0

Lemma square-neq-pos-h

Proof step 5 from proof square-neq-pos (previous step) (back to tree)

j * j = i * j0 * j0, 0 < j, prime(i), 0 ≤ j0 ⊦ prime(i) ∧ gcd(j, j0) = 1 ∧ 0 < j ∧ 0 ≤ j0

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Used simplifier rules: ⊦ i ≤ 0 ∧ 0 ≤ j → i ≤ j; (s)

Proof step 6 from proof square-neq-pos (previous step) (back to tree)

j * j = i * j0 * j0, gcd(j, j0) ≠ 1, 0 < j, prime(i), 0 ≤ j0 ⊦

User applied rule cut formula

And obtained the following new goals

Rule argument

fma: (j * j) / gcd(j, j0) = (i * j0 * j0) / gcd(j, j0)

Additional information

Used simplifier rules: neqf: ⊦ i / j ≠ i / i0 → j ≠ i0; (forward) from specification int-div Used formulas: (j * j) / gcd(j, j0) = (i * j0 * j0) / gcd(j, j0)

Proof step 7 from proof square-neq-pos (previous step) (back to tree)

j * j = i * j0 * j0, (j * j) / gcd(j, j0) = (i * j0 * j0) / gcd(j, j0), gcd(j, j0) ≠ 1, 0 < j, prime(i), 0 ≤ j0 ⊦

User applied rule weakening

And obtained the following new goals

Rule argument

poslist: left 1

Additional information

Proof step 8 from proof square-neq-pos (previous step) (back to tree)

(j * j) / gcd(j, j0) = (i * j0 * j0) / gcd(j, j0), gcd(j, j0) ≠ 1, 0 < j, prime(i), 0 ≤ j0 ⊦

User applied rule apply rewrite lemma

And obtained the following new goals

Rule argument

spec: <toplevel>, name:gcd-div-shift, seq: ⊦ i0 ≠ 0 → (i0 * j) / gcd(i0, j0) = i0 / gcd(i0, j0) * j, subst:[j0, j, i0] → [j0, j, j], <all paths>

Additional information

Used simplifier rules: gcd-zero-04: ⊦ gcd(i, 0) = abs(i); gcd-com: ⊦ gcd(i, j) = gcd(j, i); associativity: ⊦ i * j * j0 = (i * j) * j0; from specification int-mult commutativity: ⊦ i * j = j * i; from specification int-mult ⊦ 0 ≤ i → abs(i) = i; (s) Used terms: j0, j, j

Proof step 9 from proof square-neq-pos (previous step) (back to tree)

⊦ i0 ≠ 0 → (i0 * j) / gcd(i0, j0) = i0 / gcd(i0, j0) * j

Lemma gcd-div-shift

Proof step 10 from proof square-neq-pos (previous step) (back to tree)

j / gcd(j, j0) * j = (i * j0 * j0) / gcd(j, j0), gcd(j, j0) ≠ 1, j ≠ 0, 0 < j, prime(i), 0 ≤ j0 ⊦

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Proof step 11 from proof square-neq-pos (previous step) (back to tree)

j / gcd(j, j0) * j = (i * j0 * j0) / gcd(j, j0), gcd(j, j0) ≠ 1, j ≠ 0, 0 < j, prime(i), 0 ≤ j0 ⊦

User applied rule apply rewrite lemma

And obtained the following new goals

Rule argument

spec: int-mult, name:commutativity, seq: ⊦ i * j = j * i, subst:[j, i] → [j0 * j0, i], <all paths>

Additional information

Used terms: j0 * j0, i

Proof step 12 from proof square-neq-pos (previous step) (back to tree)

⊦ i * j = j * i

A spec-lemma

Proof step 13 from proof square-neq-pos (previous step) (back to tree)

j / gcd(j, j0) * j = ((j0 * j0) * i) / gcd(j, j0), gcd(j, j0) ≠ 1, j ≠ 0, 0 < j, prime(i), 0 ≤ j0 ⊦

User applied rule apply rewrite lemma

And obtained the following new goals

Rule argument

spec: <toplevel>, name:gcd-div-shift, seq: ⊦ i0 ≠ 0 → (i0 * j) / gcd(i0, j0) = i0 / gcd(i0, j0) * j, subst:[j0, j, i0] → [j, j0 * i, j0], <all paths>

Additional information

Used simplifier rules: gcd-com: ⊦ gcd(i, j) = gcd(j, i); gcd-zero-03: ⊦ i ≠ 0 → gcd(i, 0) = abs(i); i ≠ 0 ⊦ i / i = 1; (s) ⊦ 1 * i = i; (s) ⊦ i * 0 = 0; (s) commutativity: ⊦ i * j = j * i; from specification int-mult associativity: ⊦ i * j * j0 = (i * j) * j0; from specification int-mult ⊦ 0 < j → abs(j) = j; (s) j ≠ 0 ⊦ 0 / j = 0; (s) Used terms: j, j0 * i, j0

Proof step 14 from proof square-neq-pos (previous step) (back to tree)

⊦ i0 ≠ 0 → (i0 * j) / gcd(i0, j0) = i0 / gcd(i0, j0) * j

Lemma gcd-div-shift

Proof step 15 from proof square-neq-pos (previous step) (back to tree)

j / gcd(j, j0) * j = j0 / gcd(j0, j) * j0 * i, gcd(j, j0) ≠ 1, j ≠ 0, j0 ≠ 0, 0 < j, prime(i), 0 ≤ j0 ⊦

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Used simplifier rules: forward-le-05: ⊦ i < j ∧ 0 ≤ i → 0 < j; (forward) from specification int-abs ⊦ i ≠ j → (i ≤ j ↔ i < j); (s)

Proof step 16 from proof square-neq-pos (previous step) (back to tree)

j / gcd(j, j0) * j = j0 / gcd(j0, j) * j0 * i, gcd(j, j0) ≠ 1, j ≠ 0, j0 ≠ 0, 0 < j, 0 < j0, prime(i) ⊦

User applied rule cut formula

And obtained the following new goals

Rule argument

fma: (j / gcd(j, j0) * j) / gcd(j, j0) = (j0 / gcd(j0, j) * j0 * i) / gcd(j, j0)

Additional information

Used simplifier rules: associativity: ⊦ i * j * j0 = (i * j) * j0; from specification int-mult commutativity: ⊦ i * j = j * i; from specification int-mult neqf: ⊦ i / j ≠ i / i0 → j ≠ i0; (forward) from specification int-div Used formulas: (j / gcd(j, j0) * j) / gcd(j, j0) = (j0 / gcd(j0, j) * j0 * i) / gcd(j, j0)

Proof step 17 from proof square-neq-pos (previous step) (back to tree)

j / gcd(j, j0) * j = j0 / gcd(j0, j) * j0 * i, (j / gcd(j, j0) * j) / gcd(j, j0) = (j0 / gcd(j0, j) * j0 * i) / gcd(j, j0), gcd(j, j0) ≠ 1, j ≠ 0, j0 ≠ 0, 0 < j0, 0 < j, prime(i) ⊦

User applied rule weakening

And obtained the following new goals

Rule argument

poslist: left 1

Additional information

Proof step 18 from proof square-neq-pos (previous step) (back to tree)

(j / gcd(j, j0) * j) / gcd(j, j0) = (j0 / gcd(j0, j) * j0 * i) / gcd(j, j0), gcd(j, j0) ≠ 1, j ≠ 0, j0 ≠ 0, 0 < j, 0 < j0, prime(i) ⊦

User applied rule apply rewrite lemma

And obtained the following new goals

Rule argument

spec: int-mult, name:commutativity, seq: ⊦ i * j = j * i, subst:[j, i] → [j, j / gcd(j, j0)], <all paths>

Additional information

Used terms: j, j / gcd(j, j0)

Proof step 19 from proof square-neq-pos (previous step) (back to tree)

⊦ i * j = j * i

A spec-lemma

Proof step 20 from proof square-neq-pos (previous step) (back to tree)

(j * j / gcd(j, j0)) / gcd(j, j0) = (j0 / gcd(j0, j) * j0 * i) / gcd(j, j0), gcd(j, j0) ≠ 1, j ≠ 0, j0 ≠ 0, 0 < j0, 0 < j, prime(i) ⊦

User applied rule apply rewrite lemma

And obtained the following new goals

Rule argument

spec: <toplevel>, name:gcd-div-shift, seq: ⊦ i0 ≠ 0 → (i0 * j) / gcd(i0, j0) = i0 / gcd(i0, j0) * j, subst:[j0, j, i0] → [j0, j / gcd(j, j0), j], <all paths>

Additional information

Used terms: j0, j / gcd(j, j0), j

Proof step 21 from proof square-neq-pos (previous step) (back to tree)

⊦ i0 ≠ 0 → (i0 * j) / gcd(i0, j0) = i0 / gcd(i0, j0) * j

Lemma gcd-div-shift

Proof step 22 from proof square-neq-pos (previous step) (back to tree)

j / gcd(j, j0) * j / gcd(j, j0) = (j0 / gcd(j0, j) * j0 * i) / gcd(j, j0), gcd(j, j0) ≠ 1, j ≠ 0, j0 ≠ 0, 0 < j, 0 < j0, prime(i) ⊦

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Proof step 23 from proof square-neq-pos (previous step) (back to tree)

j / gcd(j, j0) * j / gcd(j, j0) = (j0 / gcd(j0, j) * j0 * i) / gcd(j, j0), gcd(j, j0) ≠ 1, j ≠ 0, j0 ≠ 0, 0 < j0, 0 < j, prime(i) ⊦

User applied rule apply rewrite lemma

And obtained the following new goals

Rule argument

spec: int-mult, name:commutativity, seq: ⊦ i * j = j * i, subst:[j, i] → [j0 * i, j0 / gcd(j0, j)], <all paths>

Additional information

Used terms: j0 * i, j0 / gcd(j0, j)

Proof step 24 from proof square-neq-pos (previous step) (back to tree)

⊦ i * j = j * i

A spec-lemma

Proof step 25 from proof square-neq-pos (previous step) (back to tree)

j / gcd(j, j0) * j / gcd(j, j0) = ((j0 * i) * j0 / gcd(j0, j)) / gcd(j, j0), gcd(j, j0) ≠ 1, j ≠ 0, j0 ≠ 0, 0 < j, 0 < j0, prime(i) ⊦

User applied rule apply rewrite lemma

And obtained the following new goals

Rule argument

spec: <toplevel>, name:gcd-div-shift, seq: ⊦ i0 ≠ 0 → (i0 * j) / gcd(i0, j0) = i0 / gcd(i0, j0) * j, subst:[j0, j, i0] → [j, i * j0 / gcd(j0, j), j0], <all paths>

Additional information

Used simplifier rules: gcd-com: ⊦ gcd(i, j) = gcd(j, i); associativity: ⊦ i * j * j0 = (i * j) * j0; from specification int-mult commutativity: ⊦ i * j = j * i; from specification int-mult Used terms: j, i * j0 / gcd(j0, j), j0

Proof step 26 from proof square-neq-pos (previous step) (back to tree)

⊦ i0 ≠ 0 → (i0 * j) / gcd(i0, j0) = i0 / gcd(i0, j0) * j

Lemma gcd-div-shift

Proof step 27 from proof square-neq-pos (previous step) (back to tree)

j / gcd(j, j0) * j / gcd(j, j0) = j0 / gcd(j0, j) * i * j0 / gcd(j0, j), gcd(j, j0) ≠ 1, j ≠ 0, j0 ≠ 0, 0 < j0, 0 < j, prime(i) ⊦

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Proof step 28 from proof square-neq-pos (previous step) (back to tree)

j / gcd(j, j0) * j / gcd(j, j0) = j0 / gcd(j0, j) * i * j0 / gcd(j0, j), gcd(j, j0) ≠ 1, j ≠ 0, j0 ≠ 0, 0 < j, 0 < j0, prime(i) ⊦

User applied rule apply rewrite lemma

And obtained the following new goals

Rule argument

spec: int-mult, name:commutativity, seq: ⊦ i * j = j * i, subst:[j, i] → [i * j0 / gcd(j0, j), j0 / gcd(j0, j)], <all paths>

Additional information

Used terms: i * j0 / gcd(j0, j), j0 / gcd(j0, j)

Proof step 29 from proof square-neq-pos (previous step) (back to tree)

⊦ i * j = j * i

A spec-lemma

Proof step 30 from proof square-neq-pos (previous step) (back to tree)

j / gcd(j, j0) * j / gcd(j, j0) = (i * j0 / gcd(j0, j)) * j0 / gcd(j0, j), gcd(j, j0) ≠ 1, j ≠ 0, j0 ≠ 0, 0 < j0, 0 < j, prime(i) ⊦

User applied rule apply rewrite lemma

And obtained the following new goals

Rule argument

spec: <toplevel>, name:square-neq-pos-h, seq: ⊦ prime(i) ∧ gcd(j, j0) = 1 ∧ 0 < j ∧ 0 ≤ j0 → j * j ≠ i * j0 * j0, subst:[j0, i, j] → [j0 / gcd(j0, j), i, j / gcd(j, j0)], <all paths>

Additional information

Used simplifier rules: gcd-div-gcd: ⊦ i ≠ 0 → gcd(i / gcd(i, j), j / gcd(i, j)) = 1; gcd-com: ⊦ gcd(i, j) = gcd(j, i); div-gcd-not-neg: ⊦ 0 < i → ¬ i / gcd(i, i0) ≤ 0; gcd-nls-zero: ⊦ 0 < i → ¬ i / gcd(i, j) < 0; ⊦ i < j ↔ ¬ j ≤ i; (ss) ⊦ i ≤ j ↔ ¬ j < i; (ss) associativity: ⊦ i * j * j0 = (i * j) * j0; from specification int-mult commutativity: ⊦ i * j = j * i; from specification int-mult Used terms: j0 / gcd(j0, j), i, j / gcd(j, j0)

Proof step 31 from proof square-neq-pos (previous step) (back to tree)

⊦ prime(i) ∧ gcd(j, j0) = 1 ∧ 0 < j ∧ 0 ≤ j0 → j * j ≠ i * j0 * j0

Lemma square-neq-pos-h

Proof Tree for square-neq-pos (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