


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 < -6.645199625663559e-140Initial program 3.1
rmApplied add-cube-cbrt3.2
if -6.645199625663559e-140 < t < -3.512484448389878e-268Initial program 9.1
rmApplied associate-*l*9.1
Taylor expanded around 0 5.5
if -3.512484448389878e-268 < t < 2.6133038325664402e-115Initial program 9.7
rmApplied associate-*l*9.7
rmApplied associate-*l*4.5
if 2.6133038325664402e-115 < t Initial program 3.0
rmApplied add-cube-cbrt3.2
Final simplification3.8
herbie shell --seed 2019016
(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: 20.1s)Debug log
| 525× | (pre true 80) |
| 525× | (body real 80) |
| 136.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.8b
Found 4 expressions with local error:
| 7.6b | (* (* (* x 18.0) y) z) |
| 6.4b | (* (* (* (* x 18.0) y) z) t) |
| 0.3b | (* (* j 27.0) k) |
| 0.2b | (* (* x 18.0) y) |
| 4× | add-log-exp |
| 4× | add-cube-cbrt |
| 4× | *-commutative |
| 4× | add-exp-log |
| 4× | associate-*l* |
| 4× | add-cbrt-cube |
| 4× | *-un-lft-identity |
| 4× | pow1 |
| 4× | add-sqr-sqrt |
| 12.0ms | (* (* (* (* x 18.0) y) z) t) |
| 11.0ms | (* (* (* x 18.0) y) z) |
| 2.0ms | (* (* x 18.0) y) |
| 2.0ms | (* (* j 27.0) k) |
| 31.0ms | (* (* (* (* x 18.0) y) z) t) |
| 18.0ms | (* (* x 18.0) y) |
| 18.0ms | (* (* (* x 18.0) y) z) |
| 13.0ms | (* (* j 27.0) k) |
| 184.0ms | (* 18.0 (* t (* x (* z y)))) |
| 180.0ms | (* 18.0 (* t (* x (* z y)))) |
| 46.0ms | (* 18.0 (* x (* z y))) |
| 32.0ms | (* 18.0 (* x (* z y))) |
| 13.0ms | (* 27.0 (* j k)) |
7 alts after pruning (7 fresh and 0 done)
Merged error: 0.1b
Found 4 expressions with local error:
| 17.1b | (cbrt (* (* (* x 18.0) y) z)) |
| 17.1b | (cbrt (* (* (* x 18.0) y) z)) |
| 17.1b | (cbrt (* (* (* x 18.0) y) z)) |
| 7.6b | (* (* (* x 18.0) y) z) |
| 4× | add-log-exp |
| 4× | add-cube-cbrt |
| 4× | add-exp-log |
| 4× | add-cbrt-cube |
| 4× | *-un-lft-identity |
| 4× | pow1 |
| 4× | add-sqr-sqrt |
| 3× | pow1/3 |
| 3× | cbrt-prod |
| 1× | *-commutative |
| 1× | associate-*l* |
| 10.0ms | (* (* (* x 18.0) y) z) |
| 6.0ms | (cbrt (* (* (* x 18.0) y) z)) |
| 6.0ms | (cbrt (* (* (* x 18.0) y) z)) |
| 6.0ms | (cbrt (* (* (* x 18.0) y) z)) |
| 141.0ms | (cbrt (* (* (* x 18.0) y) z)) |
| 130.0ms | (cbrt (* (* (* x 18.0) y) z)) |
| 110.0ms | (cbrt (* (* (* x 18.0) y) z)) |
| 30.0ms | (* (* (* x 18.0) y) z) |
| 153.0ms | (* (cbrt -18.0) (exp (* -1/3 (+ (log (/ -1 x)) (+ (log (/ -1 z)) (log (/ -1 y))))))) |
| 143.0ms | (* (cbrt -18.0) (exp (* -1/3 (+ (log (/ -1 x)) (+ (log (/ -1 z)) (log (/ -1 y))))))) |
| 130.0ms | (* (cbrt -18.0) (exp (* -1/3 (+ (log (/ -1 x)) (+ (log (/ -1 z)) (log (/ -1 y))))))) |
| 102.0ms | (* (cbrt 18.0) (exp (* -1/3 (+ (log (/ 1 z)) (+ (log (/ 1 x)) (log (/ 1 y))))))) |
| 102.0ms | (* (cbrt 18.0) (exp (* -1/3 (+ (log (/ 1 z)) (+ (log (/ 1 x)) (log (/ 1 y))))))) |
7 alts after pruning (6 fresh and 1 done)
Merged error: 0.1b
Found 4 expressions with local error:
| 8.5b | (cbrt (* (* j 27.0) k)) |
| 8.5b | (cbrt (* (* j 27.0) k)) |
| 8.5b | (cbrt (* (* j 27.0) k)) |
| 7.6b | (* (* (* x 18.0) y) z) |
| 4× | add-log-exp |
| 4× | add-cube-cbrt |
| 4× | add-exp-log |
| 4× | add-cbrt-cube |
| 4× | *-un-lft-identity |
| 4× | pow1 |
| 4× | add-sqr-sqrt |
| 3× | pow1/3 |
| 3× | cbrt-prod |
| 1× | *-commutative |
| 1× | associate-*l* |
| 5.0ms | (* (* (* x 18.0) y) z) |
| 1.0ms | (cbrt (* (* j 27.0) k)) |
| 1.0ms | (cbrt (* (* j 27.0) k)) |
| 1.0ms | (cbrt (* (* j 27.0) k)) |
| 132.0ms | (cbrt (* (* j 27.0) k)) |
| 113.0ms | (cbrt (* (* j 27.0) k)) |
| 110.0ms | (cbrt (* (* j 27.0) k)) |
| 17.0ms | (* (* (* x 18.0) y) z) |
| 151.0ms | (* (cbrt 27.0) (exp (* -1/3 (+ (log (/ 1 k)) (log (/ 1 j)))))) |
| 131.0ms | (* (cbrt 27.0) (exp (* -1/3 (+ (log (/ -1 j)) (log (/ -1 k)))))) |
| 124.0ms | (* (cbrt 27.0) (exp (* -1/3 (+ (log (/ 1 k)) (log (/ 1 j)))))) |
| 123.0ms | (* (cbrt 27.0) (exp (* -1/3 (+ (log (/ -1 j)) (log (/ -1 k)))))) |
| 123.0ms | (* (cbrt 27.0) (exp (* -1/3 (+ (log (/ -1 j)) (log (/ -1 k)))))) |
7 alts after pruning (5 fresh and 2 done)
Merged error: 0.1b
Found 4 expressions with local error:
| 7.6b | (* (* (* x 18.0) y) z) |
| 6.4b | (* (* (* (* x 18.0) y) z) t) |
| 0.5b | (* j (* 27.0 k)) |
| 0.2b | (* (* x 18.0) y) |
| 4× | add-log-exp |
| 4× | add-cube-cbrt |
| 4× | *-commutative |
| 4× | add-exp-log |
| 4× | add-cbrt-cube |
| 4× | *-un-lft-identity |
| 4× | pow1 |
| 4× | add-sqr-sqrt |
| 3× | associate-*l* |
| 1× | associate-*r* |
| 14.0ms | (* (* (* (* x 18.0) y) z) t) |
| 5.0ms | (* (* (* x 18.0) y) z) |
| 2.0ms | (* (* x 18.0) y) |
| 1.0ms | (* j (* 27.0 k)) |
| 41.0ms | (* (* (* (* x 18.0) y) z) t) |
| 28.0ms | (* (* (* x 18.0) y) z) |
| 11.0ms | (* j (* 27.0 k)) |
| 11.0ms | (* (* x 18.0) y) |
| 234.0ms | (* 18.0 (* t (* x (* z y)))) |
| 186.0ms | (* 18.0 (* t (* x (* z y)))) |
| 45.0ms | (* 18.0 (* x (* z y))) |
| 23.0ms | (* 18.0 (* x (* z y))) |
| 13.0ms | (* 18.0 (* x y)) |
6 alts after pruning (4 fresh and 2 done)
Merged error: 0.0b
35.1% (3.2b remaining)
Error of 3.8b against oracle of 0.6b and baseline of 5.6b
| 16039× | (pre true 80) |
| 16039× | (body real 80) |