Average Error: 0.0 → 0.0
Time: 27.2s
Precision: 64
Internal Precision: 320
\[\left(\left(x \cdot x - 2 \cdot ux\right) - u \cdot u\right) - v \cdot v\]
\[\left(x \cdot x - 2 \cdot ux\right) - \left(u \cdot u + v \cdot v\right)\]

Error

Bits error versus x

Bits error versus ux

Bits error versus u

Bits error versus v

Try it out

Your Program's Arguments

Results

Enter valid numbers for all inputs

Derivation

  1. Initial program 0.0

    \[\left(\left(x \cdot x - 2 \cdot ux\right) - u \cdot u\right) - v \cdot v\]
  2. Initial simplification0.0

    \[\leadsto \left(x \cdot x - 2 \cdot ux\right) - \left(u \cdot u + v \cdot v\right)\]
  3. Final simplification0.0

    \[\leadsto \left(x \cdot x - 2 \cdot ux\right) - \left(u \cdot u + v \cdot v\right)\]

Runtime

Time bar (total: 27.2s)Debug log

herbie shell --seed '#(2775764126 3555076145 3898259844 1891440260 2599947619 1948460636)' 
(FPCore (x ux u v)
  :name "x * x - 2ux - u*u - v*v"
  (- (- (- (* x x) (* 2 ux)) (* u u)) (* v v)))