Average Error: 11.8 → 12.0
Time: 32.9s
Precision: 64
Internal Precision: 128
\[\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)\]
\[j \cdot \left(t \cdot c - y \cdot i\right) + \left(\left(\sqrt[3]{x \cdot \left(y \cdot z - a \cdot t\right)} \cdot \sqrt[3]{x \cdot \left(y \cdot z - a \cdot t\right)}\right) \cdot \sqrt[3]{\left(\sqrt[3]{y \cdot z - a \cdot t} \cdot \sqrt[3]{y \cdot z - a \cdot t}\right) \cdot \left(x \cdot \sqrt[3]{y \cdot z - a \cdot t}\right)} - b \cdot \left(c \cdot z - a \cdot i\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

Bits error versus j

Try it out

Your Program's Arguments

Results

Enter valid numbers for all inputs

Derivation

  1. Initial program 11.8

    \[\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)\]
  2. Initial simplification11.8

    \[\leadsto \left(t \cdot c - y \cdot i\right) \cdot j + \left(\left(z \cdot y - t \cdot a\right) \cdot x - \left(z \cdot c - i \cdot a\right) \cdot b\right)\]
  3. Using strategy rm
  4. Applied add-cube-cbrt12.1

    \[\leadsto \left(t \cdot c - y \cdot i\right) \cdot j + \left(\color{blue}{\left(\sqrt[3]{\left(z \cdot y - t \cdot a\right) \cdot x} \cdot \sqrt[3]{\left(z \cdot y - t \cdot a\right) \cdot x}\right) \cdot \sqrt[3]{\left(z \cdot y - t \cdot a\right) \cdot x}} - \left(z \cdot c - i \cdot a\right) \cdot b\right)\]
  5. Using strategy rm
  6. Applied add-cube-cbrt12.0

    \[\leadsto \left(t \cdot c - y \cdot i\right) \cdot j + \left(\left(\sqrt[3]{\left(z \cdot y - t \cdot a\right) \cdot x} \cdot \sqrt[3]{\left(z \cdot y - t \cdot a\right) \cdot x}\right) \cdot \sqrt[3]{\color{blue}{\left(\left(\sqrt[3]{z \cdot y - t \cdot a} \cdot \sqrt[3]{z \cdot y - t \cdot a}\right) \cdot \sqrt[3]{z \cdot y - t \cdot a}\right)} \cdot x} - \left(z \cdot c - i \cdot a\right) \cdot b\right)\]
  7. Applied associate-*l*12.0

    \[\leadsto \left(t \cdot c - y \cdot i\right) \cdot j + \left(\left(\sqrt[3]{\left(z \cdot y - t \cdot a\right) \cdot x} \cdot \sqrt[3]{\left(z \cdot y - t \cdot a\right) \cdot x}\right) \cdot \sqrt[3]{\color{blue}{\left(\sqrt[3]{z \cdot y - t \cdot a} \cdot \sqrt[3]{z \cdot y - t \cdot a}\right) \cdot \left(\sqrt[3]{z \cdot y - t \cdot a} \cdot x\right)}} - \left(z \cdot c - i \cdot a\right) \cdot b\right)\]
  8. Final simplification12.0

    \[\leadsto j \cdot \left(t \cdot c - y \cdot i\right) + \left(\left(\sqrt[3]{x \cdot \left(y \cdot z - a \cdot t\right)} \cdot \sqrt[3]{x \cdot \left(y \cdot z - a \cdot t\right)}\right) \cdot \sqrt[3]{\left(\sqrt[3]{y \cdot z - a \cdot t} \cdot \sqrt[3]{y \cdot z - a \cdot t}\right) \cdot \left(x \cdot \sqrt[3]{y \cdot z - a \cdot t}\right)} - b \cdot \left(c \cdot z - a \cdot i\right)\right)\]

Reproduce

herbie shell --seed 2018360 
(FPCore (x y z t a b c i j)
  :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)))))

Details

Time bar (total: 21.9s)Debug log

start319.0ms

Algorithm
intervals

setup201.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 11.6b

localize58.0ms

Local error

Found 4 expressions with local error:

6.6b
(* (- (* z c) (* i a)) b)
5.3b
(* (- (* t c) (* y i)) j)
4.9b
(* (- (* z y) (* t a)) x)
0.2b
(- (* z y) (* t a))

rewrite21.0ms

Algorithm
rewrite-expression-head
Counts
4 → 51
Calls

4 calls. Slowest were:

10.0ms
(* (- (* z y) (* t a)) x)
4.0ms
(* (- (* z c) (* i a)) b)
4.0ms
(* (- (* t c) (* y i)) j)

series236.0ms

Counts
4 → 12
Calls

4 calls. Slowest were:

77.0ms
(* (- (* z y) (* t a)) x)
75.0ms
(* (- (* t c) (* y i)) j)
52.0ms
(* (- (* z c) (* i a)) b)
32.0ms
(- (* z y) (* t a))

simplify1.3s

Counts
25 → 63
Calls

25 calls. Slowest were:

226.0ms
(* (- (pow (* z c) 3) (pow (* i a) 3)) b)
222.0ms
(* (- (pow (* t c) 3) (pow (* y i) 3)) j)
142.0ms
(* (- (pow (* z y) 3) (pow (* t a) 3)) x)

prune1.3s

Pruning

19 alts after pruning (19 fresh and 0 done)

Merged error: 7.5b

localize28.0ms

Local error

Found 4 expressions with local error:

6.6b
(* (- (* z c) (* i a)) b)
5.3b
(* (- (* t c) (* y i)) j)
4.9b
(* (- (* z y) (* t a)) x)
4.9b
(* (- (* z y) (* t a)) x)

rewrite18.0ms

Algorithm
rewrite-expression-head
Counts
4 → 52
Calls

4 calls. Slowest were:

4.0ms
(* (- (* z c) (* i a)) b)
4.0ms
(* (- (* z y) (* t a)) x)
4.0ms
(* (- (* t c) (* y i)) j)

series261.0ms

Counts
4 → 12
Calls

4 calls. Slowest were:

78.0ms
(* (- (* z y) (* t a)) x)
71.0ms
(* (- (* z c) (* i a)) b)
62.0ms
(* (- (* z y) (* t a)) x)
50.0ms
(* (- (* t c) (* y i)) j)

simplify1.9s

Counts
28 → 64
Calls

28 calls. Slowest were:

261.0ms
(* (- (pow (* z y) 3) (pow (* t a) 3)) x)
253.0ms
(* (- (pow (* z y) 3) (pow (* t a) 3)) x)
219.0ms
(* (- (pow (* t c) 3) (pow (* y i) 3)) j)

prune1.6s

Pruning

21 alts after pruning (21 fresh and 0 done)

Merged error: 7.5b

localize53.0ms

Local error

Found 4 expressions with local error:

7.6b
(cbrt (- (* z y) (* t a)))
7.6b
(cbrt (- (* z y) (* t a)))
7.6b
(cbrt (- (* z y) (* t a)))
6.6b
(* (- (* z c) (* i a)) b)

rewrite23.0ms

Algorithm
rewrite-expression-head
Counts
4 → 52
Calls

4 calls. Slowest were:

8.0ms
(cbrt (- (* z y) (* t a)))
8.0ms
(* (- (* z c) (* i a)) b)
3.0ms
(cbrt (- (* z y) (* t a)))

series504.0ms

Counts
4 → 12
Calls

4 calls. Slowest were:

180.0ms
(cbrt (- (* z y) (* t a)))
144.0ms
(cbrt (- (* z y) (* t a)))
122.0ms
(cbrt (- (* z y) (* t a)))
58.0ms
(* (- (* z c) (* i a)) b)

simplify3.8s

Counts
31 → 64
Calls

31 calls. Slowest were:

401.0ms
(cbrt (- (pow (* z y) 3) (pow (* t a) 3)))
379.0ms
(cbrt (- (pow (* z y) 3) (pow (* t a) 3)))
333.0ms
(cbrt (- (pow (* z y) 3) (pow (* t a) 3)))

prune1.8s

Pruning

21 alts after pruning (20 fresh and 1 done)

Merged error: 7.5b

localize20.0ms

Local error

Found 4 expressions with local error:

7.7b
(cbrt (- (* z c) (* i a)))
7.7b
(cbrt (- (* z c) (* i a)))
7.7b
(cbrt (- (* z c) (* i a)))
5.3b
(* (- (* t c) (* y i)) j)

rewrite9.0ms

Algorithm
rewrite-expression-head
Counts
4 → 52
Calls

4 calls. Slowest were:

4.0ms
(* (- (* t c) (* y i)) j)
1.0ms
(cbrt (- (* z c) (* i a)))
1.0ms
(cbrt (- (* z c) (* i a)))

series445.0ms

Counts
4 → 12
Calls

4 calls. Slowest were:

131.0ms
(cbrt (- (* z c) (* i a)))
124.0ms
(cbrt (- (* z c) (* i a)))
112.0ms
(cbrt (- (* z c) (* i a)))
78.0ms
(* (- (* t c) (* y i)) j)

simplify4.1s

Counts
31 → 64
Calls

31 calls. Slowest were:

504.0ms
(- (exp (* 1/3 (+ (log a) (+ (log -1) (log i))))) (* 1/3 (* z (* (exp (* 1/3 (- (log -1) (+ (* 2 (log a)) (* 2 (log i)))))) c))))
348.0ms
(cbrt (- (pow (* z c) 3) (pow (* i a) 3)))
341.0ms
(cbrt (- (pow (* z c) 3) (pow (* i a) 3)))

prune1.4s

Pruning

22 alts after pruning (20 fresh and 2 done)

Merged error: 7.5b

regimes2.5s

Accuracy

0% (3.8b remaining)

Error of 12.0b against oracle of 8.3b and baseline of 12.0b

bsearch4.0ms