Average Error: 0.1 → 0.1
Time: 2.0m
Precision: 64
Internal Precision: 384
\[\left(\left(\left(\left(\left(2 \cdot x1\right) \cdot x2\right) \cdot x3 + \left(3 \cdot x3\right) \cdot x3\right) - \left(\left(x2 \cdot x1\right) \cdot x2\right) \cdot x3\right) + \left(3 \cdot x3\right) \cdot x3\right) - x2\]
\[\left(\left(3 + 3\right) \cdot \left(x3 \cdot x3\right) - x2\right) - \left(x2 \cdot x1\right) \cdot \left(\left(x2 - 2\right) \cdot x3\right)\]

Error

Bits error versus x1

Bits error versus x2

Bits error versus x3

Derivation

  1. Initial program 0.1

    \[\left(\left(\left(\left(\left(2 \cdot x1\right) \cdot x2\right) \cdot x3 + \left(3 \cdot x3\right) \cdot x3\right) - \left(\left(x2 \cdot x1\right) \cdot x2\right) \cdot x3\right) + \left(3 \cdot x3\right) \cdot x3\right) - x2\]
  2. Applied simplify0.1

    \[\leadsto \color{blue}{\left(\left(3 + 3\right) \cdot \left(x3 \cdot x3\right) - x2\right) - \left(x2 \cdot x1\right) \cdot \left(\left(x2 - 2\right) \cdot x3\right)}\]

Runtime

Time bar (total: 2.0m)Debug log

herbie shell --seed '#(1743936871 1855164119 3668777427 1254258049 132811564 1366975197)' 
(FPCore (x1 x2 x3)
  :name "rigidBody2"
  :pre (and (<= -15 x1 15) (<= -15 x2 15) (<= -15 x3 15))
  (- (+ (- (+ (* (* (* 2 x1) x2) x3) (* (* 3 x3) x3)) (* (* (* x2 x1) x2) x3)) (* (* 3 x3) x3)) x2))