\[\left(\left(x \cdot y + z \cdot t\right) + a \cdot b\right) + c \cdot i\]
Test:
Linear.V4:$cdot from linear-1.19.1.3
Bits:
128 bits
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
Time: 12.8 s
Input Error: 0.0
Output Error: 0.0
Log:
Profile: 🕒
\(\left(i \cdot c + t \cdot z\right) + \left(b \cdot a + x \cdot y\right)\)
  1. Started with
    \[\left(\left(x \cdot y + z \cdot t\right) + a \cdot b\right) + c \cdot i\]
    0.0
  2. Using strategy rm
    0.0
  3. Applied add-cube-cbrt to get
    \[\color{red}{\left(\left(x \cdot y + z \cdot t\right) + a \cdot b\right) + c \cdot i} \leadsto \color{blue}{{\left(\sqrt[3]{\left(\left(x \cdot y + z \cdot t\right) + a \cdot b\right) + c \cdot i}\right)}^3}\]
    1.3
  4. Applied taylor to get
    \[{\left(\sqrt[3]{\left(\left(x \cdot y + z \cdot t\right) + a \cdot b\right) + c \cdot i}\right)}^3 \leadsto {\left(\sqrt[3]{c \cdot i + \left(y \cdot x + \left(b \cdot a + t \cdot z\right)\right)}\right)}^3\]
    1.3
  5. Taylor expanded around 0 to get
    \[{\color{red}{\left(\sqrt[3]{c \cdot i + \left(y \cdot x + \left(b \cdot a + t \cdot z\right)\right)}\right)}}^3 \leadsto {\color{blue}{\left(\sqrt[3]{c \cdot i + \left(y \cdot x + \left(b \cdot a + t \cdot z\right)\right)}\right)}}^3\]
    1.3
  6. Applied simplify to get
    \[\color{red}{{\left(\sqrt[3]{c \cdot i + \left(y \cdot x + \left(b \cdot a + t \cdot z\right)\right)}\right)}^3} \leadsto \color{blue}{\left(i \cdot c + t \cdot z\right) + \left(b \cdot a + x \cdot y\right)}\]
    0.0

  7. Removed slow pow expressions

Original test:


(lambda ((x default) (y default) (z default) (t default) (a default) (b default) (c default) (i default))
  #:name "Linear.V4:$cdot from linear-1.19.1.3"
  (+ (+ (+ (* x y) (* z t)) (* a b)) (* c i)))