


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 t < -4.100370728289162e-183 or 1.2277234601236005e-299 < t Initial program 4.7
Simplified5.2
Taylor expanded around inf 5.2
Simplified4.9
rmApplied associate-*r*4.8
rmApplied associate-*r*4.9
if -4.100370728289162e-183 < t < 1.2277234601236005e-299Initial program 9.2
Simplified10.9
Taylor expanded around inf 10.8
Simplified9.5
rmApplied associate-*r*9.5
Taylor expanded around 0 5.7
Final simplification5.0
herbie shell --seed 2019007
(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: 25.8s)Debug log
1 calls. Slowest were:
| 118.0ms | (- (- (+ (- (* (* (* (* x 18.0) y) z) t) (* (* a 4.0) t)) (* b c)) (* (* x 4.0) i)) (* (* j 27.0) k)) |
2 alts after pruning (2 fresh and 0 done)
Merged error: 3.6b
Found 4 expressions with local error:
| 4.5b | (* (* x 18.0) (* y z)) |
| 3.6b | (* (- (* (* x 18.0) (* y z)) (* a 4.0)) t) |
| 0.3b | (* 27.0 (* k j)) |
| 0.0b | (- (* c b) (+ (* 27.0 (* k j)) (* (* x 4.0) i))) |
4 calls. Slowest were:
| 25.0ms | (* (- (* (* x 18.0) (* y z)) (* a 4.0)) t) |
| 4.0ms | (- (* c b) (+ (* 27.0 (* k j)) (* (* x 4.0) i))) |
| 3.0ms | (* (* x 18.0) (* y z)) |
4 calls. Slowest were:
| 420.0ms | (* 27.0 (* k j)) |
| 89.0ms | (* (- (* (* x 18.0) (* y z)) (* a 4.0)) t) |
| 87.0ms | (- (* c b) (+ (* 27.0 (* k j)) (* (* x 4.0) i))) |
| 19.0ms | (* (* x 18.0) (* y z)) |
22 calls. Slowest were:
| 628.0ms | (* (* (* (* x 18.0) (* x 18.0)) (* x 18.0)) (* (* (* y z) (* y z)) (* y z))) |
| 428.0ms | (* (- (* (* (* x 18.0) (* y z)) (* (* x 18.0) (* y z))) (* (* a 4.0) (* a 4.0))) t) |
| 320.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:
| 4.4b | (* (* x z) (* y 18.0)) |
| 3.6b | (* t (- (* (* x z) (* y 18.0)) (* 4.0 a))) |
| 0.3b | (* 27.0 (* k j)) |
| 0.0b | (- (* c b) (+ (* 27.0 (* k j)) (* (* x 4.0) i))) |
4 calls. Slowest were:
| 19.0ms | (* t (- (* (* x z) (* y 18.0)) (* 4.0 a))) |
| 8.0ms | (- (* c b) (+ (* 27.0 (* k j)) (* (* x 4.0) i))) |
| 5.0ms | (* (* x z) (* y 18.0)) |
4 calls. Slowest were:
| 112.0ms | (- (* c b) (+ (* 27.0 (* k j)) (* (* x 4.0) i))) |
| 96.0ms | (* t (- (* (* x z) (* y 18.0)) (* 4.0 a))) |
| 31.0ms | (* (* x z) (* y 18.0)) |
| 18.0ms | (* 27.0 (* k j)) |
27 calls. Slowest were:
| 667.0ms | (* (* (* (* x z) (* x z)) (* x z)) (* (* (* y 18.0) (* y 18.0)) (* y 18.0))) |
| 362.0ms | (- (* 18.0 (* t (* x (* z y)))) (* 4.0 (* a t))) |
| 304.0ms | (- (* 18.0 (* t (* x (* z y)))) (* 4.0 (* a t))) |
10 alts after pruning (10 fresh and 0 done)
Merged error: 2.3b
Found 4 expressions with local error:
| 4.3b | (* (* x z) y) |
| 3.6b | (* t (- (* (* (* x z) y) 18.0) (* 4.0 a))) |
| 0.3b | (* 27.0 (* k j)) |
| 0.2b | (* (* (* x z) y) 18.0) |
4 calls. Slowest were:
| 19.0ms | (* t (- (* (* (* x z) y) 18.0) (* 4.0 a))) |
| 11.0ms | (* (* (* x z) y) 18.0) |
| 2.0ms | (* (* x z) y) |
4 calls. Slowest were:
| 97.0ms | (* t (- (* (* (* x z) y) 18.0) (* 4.0 a))) |
| 28.0ms | (* (* x z) y) |
| 19.0ms | (* (* (* x z) y) 18.0) |
| 11.0ms | (* 27.0 (* k j)) |
22 calls. Slowest were:
| 477.0ms | (+ (* (* (* (* x z) y) 18.0) (* (* (* x z) y) 18.0)) (+ (* (* 4.0 a) (* 4.0 a)) (* (* (* (* x z) y) 18.0) (* 4.0 a)))) |
| 353.0ms | (- (* 18.0 (* t (* x (* z y)))) (* 4.0 (* a t))) |
| 344.0ms | (- (* 18.0 (* t (* x (* z y)))) (* 4.0 (* a t))) |
9 alts after pruning (9 fresh and 0 done)
Merged error: 2.3b
Found 4 expressions with local error:
| 4.3b | (* (* x z) y) |
| 3.6b | (* t (- (* (* (* x z) y) 18.0) (* 4.0 a))) |
| 0.2b | (* (* 27.0 k) j) |
| 0.2b | (* (* (* x z) y) 18.0) |
4 calls. Slowest were:
| 39.0ms | (* t (- (* (* (* x z) y) 18.0) (* 4.0 a))) |
| 11.0ms | (* (* (* x z) y) 18.0) |
| 4.0ms | (* (* x z) y) |
4 calls. Slowest were:
| 101.0ms | (* t (- (* (* (* x z) y) 18.0) (* 4.0 a))) |
| 20.0ms | (* (* x z) y) |
| 19.0ms | (* (* (* x z) y) 18.0) |
| 18.0ms | (* (* 27.0 k) j) |
22 calls. Slowest were:
| 452.0ms | (+ (* (* (* (* x z) y) 18.0) (* (* (* x z) y) 18.0)) (+ (* (* 4.0 a) (* 4.0 a)) (* (* (* (* x z) y) 18.0) (* 4.0 a)))) |
| 368.0ms | (- (* 18.0 (* t (* x (* z y)))) (* 4.0 (* a t))) |
| 346.0ms | (- (* 18.0 (* t (* x (* z y)))) (* 4.0 (* a t))) |
9 alts after pruning (8 fresh and 1 done)
Merged error: 2.3b
17.1% (2.8b remaining)
Error of 5.0b against oracle of 2.1b and baseline of 5.6b