


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 < -32448.042836922086Initial program 1.6
Taylor expanded around 0 1.6
rmApplied associate-*l*1.7
Taylor expanded around -inf 1.8
if -32448.042836922086 < t < 1.4053745018992819e+82Initial program 6.3
Taylor expanded around 0 6.2
rmApplied associate-*l*3.6
if 1.4053745018992819e+82 < t Initial program 1.1
Taylor expanded around 0 1.2
rmApplied add-cube-cbrt1.3
Final simplification3.0
herbie shell --seed 2019022 +o rules:numerics
(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: 17.3s)Debug log
| 104.0ms | 525× | body | 80 | valid |
| 111.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.4b
Found 4 expressions with local error:
| 5.8b | (* (* (* x 18.0) y) z) |
| 4.8b | (* (* (* (* x 18.0) y) z) t) |
| 0.2b | (* (* x 18.0) y) |
| 0.2b | (* (* j 27.0) k) |
| 4× | add-log-exp |
| 4× | log1p-expm1-u |
| 4× | add-cube-cbrt |
| 4× | *-commutative |
| 4× | add-exp-log |
| 4× | associate-*l* |
| 4× | add-cbrt-cube |
| 4× | *-un-lft-identity |
| 4× | pow1 |
| 4× | expm1-log1p-u |
| 4× | add-sqr-sqrt |
| 20.0ms | (* (* (* (* x 18.0) y) z) t) |
| 18.0ms | (* (* (* x 18.0) y) z) |
| 3.0ms | (* (* j 27.0) k) |
| 3.0ms | (* (* x 18.0) y) |
| 33.0ms | (* (* (* (* x 18.0) y) z) t) |
| 26.0ms | (* (* (* x 18.0) y) z) |
| 17.0ms | (* (* j 27.0) k) |
| 11.0ms | (* (* x 18.0) y) |
| 191.0ms | (* 18.0 (* t (* x (* z y)))) |
| 130.0ms | (* 18.0 (* t (* x (* z y)))) |
| 35.0ms | (* 18.0 (* x (* z y))) |
| 34.0ms | (* 18.0 (* x (* z y))) |
| 10.0ms | (* 27.0 (* j k)) |
8 alts after pruning (8 fresh and 0 done)
Merged error: 1.2b
Found 4 expressions with local error:
| 5.8b | (* (* (* x 18.0) y) z) |
| 4.8b | (* (* (* (* x 18.0) y) z) t) |
| 0.2b | (* 27.0 (* j k)) |
| 0.2b | (* (* x 18.0) y) |
| 4× | add-log-exp |
| 4× | log1p-expm1-u |
| 4× | add-cube-cbrt |
| 4× | *-commutative |
| 4× | add-exp-log |
| 4× | add-cbrt-cube |
| 4× | *-un-lft-identity |
| 4× | pow1 |
| 4× | expm1-log1p-u |
| 4× | add-sqr-sqrt |
| 3× | associate-*l* |
| 1× | associate-*r* |
| 27.0ms | (* (* (* (* x 18.0) y) z) t) |
| 10.0ms | (* (* (* x 18.0) y) z) |
| 3.0ms | (* (* x 18.0) y) |
| 2.0ms | (* 27.0 (* j k)) |
| 39.0ms | (* (* (* (* x 18.0) y) z) t) |
| 26.0ms | (* (* (* x 18.0) y) z) |
| 11.0ms | (* (* x 18.0) y) |
| 11.0ms | (* 27.0 (* j k)) |
| 158.0ms | (* 18.0 (* t (* x (* z y)))) |
| 158.0ms | (* 18.0 (* t (* x (* z y)))) |
| 27.0ms | (* 18.0 (* x (* z y))) |
| 22.0ms | (* 18.0 (* x (* z y))) |
| 11.0ms | (* 18.0 (* x y)) |
7 alts after pruning (7 fresh and 0 done)
Merged error: 1.2b
Found 4 expressions with local error:
| 13.4b | (cbrt (* (* x 18.0) y)) |
| 13.4b | (cbrt (* (* x 18.0) y)) |
| 13.4b | (cbrt (* (* x 18.0) y)) |
| 5.8b | (* (* (* (cbrt (* (* x 18.0) y)) (cbrt (* (* x 18.0) y))) (cbrt (* (* x 18.0) y))) z) |
| 4× | add-log-exp |
| 4× | log1p-expm1-u |
| 4× | add-cube-cbrt |
| 4× | add-exp-log |
| 4× | add-cbrt-cube |
| 4× | *-un-lft-identity |
| 4× | pow1 |
| 4× | expm1-log1p-u |
| 4× | add-sqr-sqrt |
| 3× | pow1/3 |
| 3× | cbrt-prod |
| 1× | *-commutative |
| 1× | associate-*l* |
| 53.0ms | (* (* (* (cbrt (* (* x 18.0) y)) (cbrt (* (* x 18.0) y))) (cbrt (* (* x 18.0) y))) z) |
| 1.0ms | (cbrt (* (* x 18.0) y)) |
| 1.0ms | (cbrt (* (* x 18.0) y)) |
| 1.0ms | (cbrt (* (* x 18.0) y)) |
| 131.0ms | (cbrt (* (* x 18.0) y)) |
| 110.0ms | (cbrt (* (* x 18.0) y)) |
| 94.0ms | (cbrt (* (* x 18.0) y)) |
| 91.0ms | (* (* (* (cbrt (* (* x 18.0) y)) (cbrt (* (* x 18.0) y))) (cbrt (* (* x 18.0) y))) z) |
| 167.0ms | (* (cbrt 18.0) (exp (* -1/3 (+ (log (/ -1 x)) (log (/ -1 y)))))) |
| 151.0ms | (* (cbrt 18.0) (exp (* -1/3 (+ (log (/ -1 x)) (log (/ -1 y)))))) |
| 145.0ms | (* (cbrt 18.0) (exp (* -1/3 (+ (log (/ -1 x)) (log (/ -1 y)))))) |
| 143.0ms | (* (cbrt 18.0) (exp (* -1/3 (+ (log (/ 1 x)) (log (/ 1 y)))))) |
| 139.0ms | (* (cbrt 18.0) (exp (* -1/3 (+ (log (/ 1 x)) (log (/ 1 y)))))) |
7 alts after pruning (6 fresh and 1 done)
Merged error: 1.2b
Found 4 expressions with local error:
| 5.8b | (* (* x (* 18.0 y)) z) |
| 4.8b | (* (* (* x (* 18.0 y)) z) t) |
| 0.7b | (* x (* 18.0 y)) |
| 0.2b | (* 27.0 (* j k)) |
| 4× | add-log-exp |
| 4× | log1p-expm1-u |
| 4× | add-cube-cbrt |
| 4× | *-commutative |
| 4× | add-exp-log |
| 4× | add-cbrt-cube |
| 4× | *-un-lft-identity |
| 4× | pow1 |
| 4× | expm1-log1p-u |
| 4× | add-sqr-sqrt |
| 2× | associate-*l* |
| 2× | associate-*r* |
| 13.0ms | (* (* (* x (* 18.0 y)) z) t) |
| 6.0ms | (* (* x (* 18.0 y)) z) |
| 1.0ms | (* 27.0 (* j k)) |
| 1.0ms | (* x (* 18.0 y)) |
| 49.0ms | (* (* (* x (* 18.0 y)) z) t) |
| 19.0ms | (* x (* 18.0 y)) |
| 18.0ms | (* (* x (* 18.0 y)) z) |
| 15.0ms | (* 27.0 (* j k)) |
| 203.0ms | (* 18.0 (* t (* x (* z y)))) |
| 189.0ms | (* 18.0 (* t (* x (* z y)))) |
| 32.0ms | (* 18.0 (* x (* z y))) |
| 23.0ms | (* 18.0 (* x (* z y))) |
| 14.0ms | (* 27.0 (* j k)) |
7 alts after pruning (5 fresh and 2 done)
Merged error: 1.2b
45.7% (2.2b remaining)
Error of 3.0b against oracle of 0.8b and baseline of 4.9b
| 4.9s | 16149× | body | 80 | valid |