Average Error: 0.0 → 0.0
Time: 58.6s
Precision: 64
Internal Precision: 128
\[\left(\left(x \cdot y + z \cdot t\right) + a \cdot b\right) + c \cdot i\]
\[(i \cdot c + \left((a \cdot b + \left((t \cdot z + \left(y \cdot x\right))_*\right))_*\right))_*\]

Error

Bits error versus x

Bits error versus y

Bits error versus z

Bits error versus t

Bits error versus a

Bits error versus b

Bits error versus c

Bits error versus i

Derivation

  1. Initial program 0.0

    \[\left(\left(x \cdot y + z \cdot t\right) + a \cdot b\right) + c \cdot i\]
  2. Simplified0.0

    \[\leadsto \color{blue}{(i \cdot c + \left((a \cdot b + \left((x \cdot y + \left(z \cdot t\right))_*\right))_*\right))_*}\]
  3. Taylor expanded around inf 0.0

    \[\leadsto (i \cdot c + \left((a \cdot b + \color{blue}{\left(t \cdot z + x \cdot y\right)})_*\right))_*\]
  4. Simplified0.0

    \[\leadsto (i \cdot c + \left((a \cdot b + \color{blue}{\left((t \cdot z + \left(x \cdot y\right))_*\right)})_*\right))_*\]
  5. Final simplification0.0

    \[\leadsto (i \cdot c + \left((a \cdot b + \left((t \cdot z + \left(y \cdot x\right))_*\right))_*\right))_*\]

Reproduce

herbie shell --seed 2019088 +o rules:numerics
(FPCore (x y z t a b c i)
  :name "Linear.V4:$cdot from linear-1.19.1.3"
  (+ (+ (+ (* x y) (* z t)) (* a b)) (* c i)))