


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



Bits error versus k
Results
if (- (- (+ (- (* (* (* (* x 18.0) y) z) t) (* (* a 4.0) t)) (* b c)) (* (* x 4.0) i)) (* (* j 27.0) k)) < -9.515817935371277e+287Initial program 33.4
Initial simplification22.6
rmApplied associate-*r*22.6
if -9.515817935371277e+287 < (- (- (+ (- (* (* (* (* x 18.0) y) z) t) (* (* a 4.0) t)) (* b c)) (* (* x 4.0) i)) (* (* j 27.0) k)) < 1.2867839035792513e+293Initial program 0.3
if 1.2867839035792513e+293 < (- (- (+ (- (* (* (* (* x 18.0) y) z) t) (* (* a 4.0) t)) (* b c)) (* (* x 4.0) i)) (* (* j 27.0) k)) Initial program 34.3
Initial simplification24.1
rmApplied associate-*l*24.0
rmApplied associate-*l*23.6
Taylor expanded around 0 22.3
Final simplification3.5
herbie shell --seed 2018365
(FPCore (x y z t a b c i j k)
:name "Diagrams.Solve.Polynomial:cubForm from diagrams-solve-0.1"
(- (- (+ (- (* (* (* (* x 18.0) y) z) t) (* (* a 4.0) t)) (* b c)) (* (* x 4.0) i)) (* (* j 27.0) k)))
Time bar (total: 16.2s)Debug log
2 alts after pruning (2 fresh and 0 done)
Merged error: 4.1b
Found 4 expressions with local error:
| 6.1b | (* (* x 18.0) (* y z)) |
| 3.9b | (* (- (* (* x 18.0) (* y z)) (* a 4.0)) t) |
| 0.2b | (* (* x 4.0) i) |
| 0.2b | (* 27.0 (* k j)) |
4 calls. Slowest were:
| 22.0ms | (* (- (* (* x 18.0) (* y z)) (* a 4.0)) t) |
| 6.0ms | (* (* x 18.0) (* y z)) |
| 4.0ms | (* (* x 4.0) i) |
4 calls. Slowest were:
| 84.0ms | (* (- (* (* x 18.0) (* y z)) (* a 4.0)) t) |
| 38.0ms | (* (* x 18.0) (* y z)) |
| 18.0ms | (* 27.0 (* k j)) |
| 17.0ms | (* (* x 4.0) i) |
19 calls. Slowest were:
| 580.0ms | (* (* (* (* x 18.0) (* x 18.0)) (* x 18.0)) (* (* (* y z) (* y z)) (* y z))) |
| 377.0ms | (* (- (* (* (* x 18.0) (* y z)) (* (* x 18.0) (* y z))) (* (* a 4.0) (* a 4.0))) t) |
| 241.0ms | (- (* 18.0 (* t (* x (* z y)))) (* 4.0 (* t a))) |
9 alts after pruning (9 fresh and 0 done)
Merged error: 2.3b
Found 4 expressions with local error:
| 5.8b | (* x (* 18.0 (* y z))) |
| 3.9b | (* (- (* x (* 18.0 (* y z))) (* a 4.0)) t) |
| 0.2b | (* 18.0 (* y z)) |
| 0.2b | (* (* x 4.0) i) |
4 calls. Slowest were:
| 9.0ms | (* (- (* x (* 18.0 (* y z))) (* a 4.0)) t) |
| 2.0ms | (* x (* 18.0 (* y z))) |
| 2.0ms | (* (* x 4.0) i) |
4 calls. Slowest were:
| 79.0ms | (* (- (* x (* 18.0 (* y z))) (* a 4.0)) t) |
| 26.0ms | (* x (* 18.0 (* y z))) |
| 18.0ms | (* (* x 4.0) i) |
| 18.0ms | (* 18.0 (* y z)) |
17 calls. Slowest were:
| 399.0ms | (* (- (* (* x (* 18.0 (* y z))) (* x (* 18.0 (* y z)))) (* (* a 4.0) (* a 4.0))) t) |
| 297.0ms | (- (* 18.0 (* t (* x (* z y)))) (* 4.0 (* t a))) |
| 287.0ms | (- (* 18.0 (* t (* x (* z y)))) (* 4.0 (* t a))) |
9 alts after pruning (9 fresh and 0 done)
Merged error: 2.1b
Found 4 expressions with local error:
| 5.8b | (* x (* 18.0 (* y z))) |
| 3.9b | (* (- (* x (* 18.0 (* y z))) (* a 4.0)) t) |
| 0.2b | (* 18.0 (* y z)) |
| 0.2b | (* 27.0 (* k j)) |
4 calls. Slowest were:
| 9.0ms | (* (- (* x (* 18.0 (* y z))) (* a 4.0)) t) |
| 4.0ms | (* x (* 18.0 (* y z))) |
| 1.0ms | (* 27.0 (* k j)) |
4 calls. Slowest were:
| 86.0ms | (* (- (* x (* 18.0 (* y z))) (* a 4.0)) t) |
| 20.0ms | (* x (* 18.0 (* y z))) |
| 17.0ms | (* 27.0 (* k j)) |
| 14.0ms | (* 18.0 (* y z)) |
17 calls. Slowest were:
| 415.0ms | (* (- (* (* x (* 18.0 (* y z))) (* x (* 18.0 (* y z)))) (* (* a 4.0) (* a 4.0))) t) |
| 340.0ms | (- (* 18.0 (* t (* x (* z y)))) (* 4.0 (* t a))) |
| 276.0ms | (- (* 18.0 (* t (* x (* z y)))) (* 4.0 (* t a))) |
9 alts after pruning (8 fresh and 1 done)
Merged error: 2.1b
Found 4 expressions with local error:
| 15.3b | (cbrt (* x (* 18.0 (* y z)))) |
| 15.3b | (cbrt (* x (* 18.0 (* y z)))) |
| 15.3b | (cbrt (* x (* 18.0 (* y z)))) |
| 5.8b | (* x (* 18.0 (* y z))) |
4 calls. Slowest were:
| 2.0ms | (* x (* 18.0 (* y z))) |
| 1.0ms | (cbrt (* x (* 18.0 (* y z)))) |
| 1.0ms | (cbrt (* x (* 18.0 (* y z)))) |
4 calls. Slowest were:
| 146.0ms | (cbrt (* x (* 18.0 (* y z)))) |
| 119.0ms | (cbrt (* x (* 18.0 (* y z)))) |
| 111.0ms | (cbrt (* x (* 18.0 (* y z)))) |
| 19.0ms | (* x (* 18.0 (* y z))) |
16 calls. Slowest were:
| 245.0ms | (* (cbrt -18.0) (exp (* -1/3 (+ (log (/ -1 x)) (+ (log (/ -1 z)) (log (/ -1 y))))))) |
| 211.0ms | (* (cbrt -18.0) (exp (* -1/3 (+ (log (/ -1 x)) (+ (log (/ -1 z)) (log (/ -1 y))))))) |
| 196.0ms | (* (cbrt -18.0) (exp (* -1/3 (+ (log (/ -1 x)) (+ (log (/ -1 z)) (log (/ -1 y))))))) |
8 alts after pruning (7 fresh and 1 done)
Merged error: 2.1b
64.9% (1.3b remaining)
Error of 3.5b against oracle of 2.1b and baseline of 5.9b