\[\left(x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - i \cdot a\right)\right) + j \cdot \left(c \cdot t - i \cdot y\right)\]
Test:
Linear.Matrix:det33 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
Bits error versus j
Time: 26.1 s
Input Error: 11.4
Output Error: 11.4
Log:
Profile: 🕒
\((\left(c \cdot t - i \cdot y\right) * j + \left(x \cdot \left(y \cdot z - t \cdot a\right)\right))_* - \frac{b}{1} \cdot \left(z \cdot c - a \cdot i\right)\)
  1. Started with
    \[\left(x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - i \cdot a\right)\right) + j \cdot \left(c \cdot t - i \cdot y\right)\]
    11.4
  2. Applied simplify to get
    \[\color{red}{\left(x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - i \cdot a\right)\right) + j \cdot \left(c \cdot t - i \cdot y\right)} \leadsto \color{blue}{(\left(c \cdot t - i \cdot y\right) * j + \left(\left(y \cdot z - t \cdot a\right) \cdot x\right))_* - b \cdot \left(c \cdot z - i \cdot a\right)}\]
    11.4
  3. Using strategy rm
    11.4
  4. Applied flip-- to get
    \[(\left(c \cdot t - i \cdot y\right) * j + \left(\left(y \cdot z - t \cdot a\right) \cdot x\right))_* - b \cdot \color{red}{\left(c \cdot z - i \cdot a\right)} \leadsto (\left(c \cdot t - i \cdot y\right) * j + \left(\left(y \cdot z - t \cdot a\right) \cdot x\right))_* - b \cdot \color{blue}{\frac{{\left(c \cdot z\right)}^2 - {\left(i \cdot a\right)}^2}{c \cdot z + i \cdot a}}\]
    23.1
  5. Applied associate-*r/ to get
    \[(\left(c \cdot t - i \cdot y\right) * j + \left(\left(y \cdot z - t \cdot a\right) \cdot x\right))_* - \color{red}{b \cdot \frac{{\left(c \cdot z\right)}^2 - {\left(i \cdot a\right)}^2}{c \cdot z + i \cdot a}} \leadsto (\left(c \cdot t - i \cdot y\right) * j + \left(\left(y \cdot z - t \cdot a\right) \cdot x\right))_* - \color{blue}{\frac{b \cdot \left({\left(c \cdot z\right)}^2 - {\left(i \cdot a\right)}^2\right)}{c \cdot z + i \cdot a}}\]
    25.5
  6. Applied taylor to get
    \[(\left(c \cdot t - i \cdot y\right) * j + \left(\left(y \cdot z - t \cdot a\right) \cdot x\right))_* - \frac{b \cdot \left({\left(c \cdot z\right)}^2 - {\left(i \cdot a\right)}^2\right)}{c \cdot z + i \cdot a} \leadsto (\left(c \cdot t - i \cdot y\right) * j + \left(y \cdot \left(x \cdot z\right) - a \cdot \left(t \cdot x\right)\right))_* - \frac{b \cdot \left({\left(c \cdot z\right)}^2 - {\left(i \cdot a\right)}^2\right)}{c \cdot z + i \cdot a}\]
    26.1
  7. Taylor expanded around inf to get
    \[(\left(c \cdot t - i \cdot y\right) * j + \color{red}{\left(y \cdot \left(x \cdot z\right) - a \cdot \left(t \cdot x\right)\right)})_* - \frac{b \cdot \left({\left(c \cdot z\right)}^2 - {\left(i \cdot a\right)}^2\right)}{c \cdot z + i \cdot a} \leadsto (\left(c \cdot t - i \cdot y\right) * j + \color{blue}{\left(y \cdot \left(x \cdot z\right) - a \cdot \left(t \cdot x\right)\right)})_* - \frac{b \cdot \left({\left(c \cdot z\right)}^2 - {\left(i \cdot a\right)}^2\right)}{c \cdot z + i \cdot a}\]
    26.1
  8. Applied simplify to get
    \[(\left(c \cdot t - i \cdot y\right) * j + \left(y \cdot \left(x \cdot z\right) - a \cdot \left(t \cdot x\right)\right))_* - \frac{b \cdot \left({\left(c \cdot z\right)}^2 - {\left(i \cdot a\right)}^2\right)}{c \cdot z + i \cdot a} \leadsto (\left(t \cdot c - y \cdot i\right) * j + \left(z \cdot \left(x \cdot y\right) - \left(a \cdot x\right) \cdot t\right))_* - \frac{b}{1} \cdot \left(z \cdot c - a \cdot i\right)\]
    11.8

  9. Applied final simplification
  10. Applied simplify to get
    \[\color{red}{(\left(t \cdot c - y \cdot i\right) * j + \left(z \cdot \left(x \cdot y\right) - \left(a \cdot x\right) \cdot t\right))_* - \frac{b}{1} \cdot \left(z \cdot c - a \cdot i\right)} \leadsto \color{blue}{(\left(c \cdot t - i \cdot y\right) * j + \left(x \cdot \left(y \cdot z - t \cdot a\right)\right))_* - \frac{b}{1} \cdot \left(z \cdot c - a \cdot i\right)}\]
    11.4

  11. Removed slow pow expressions

Original test:


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