


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
(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.4s)Debug log
| 141.0ms | 525× | body | 80 | valid |
| 132.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× | 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 |
| 20.0ms | (* (* (* (* x 18.0) y) z) t) |
| 5.0ms | (* (* (* x 18.0) y) z) |
| 2.0ms | (* (* j 27.0) k) |
| 2.0ms | (* (* x 18.0) y) |
| 29.0ms | (* (* (* (* x 18.0) y) z) t) |
| 18.0ms | (* (* (* x 18.0) y) z) |
| 13.0ms | (* (* x 18.0) y) |
| 12.0ms | (* (* j 27.0) k) |
| 192.0ms | (* 18.0 (* t (* x (* z y)))) |
| 167.0ms | (* 18.0 (* t (* x (* z y)))) |
| 27.0ms | (* 18.0 (* x (* z y))) |
| 24.0ms | (* 18.0 (* x (* z y))) |
| 12.0ms | (* 18.0 (* x y)) |
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× | 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* |
| 25.0ms | (* (* (* (* x 18.0) y) z) t) |
| 11.0ms | (* (* (* x 18.0) y) z) |
| 4.0ms | (* (* x 18.0) y) |
| 2.0ms | (* 27.0 (* j k)) |
| 48.0ms | (* (* (* (* x 18.0) y) z) t) |
| 33.0ms | (* (* (* x 18.0) y) z) |
| 19.0ms | (* 27.0 (* j k)) |
| 17.0ms | (* (* x 18.0) y) |
| 219.0ms | (* 18.0 (* t (* x (* z y)))) |
| 210.0ms | (* 18.0 (* t (* x (* z y)))) |
| 48.0ms | (* 18.0 (* x (* z y))) |
| 45.0ms | (* 18.0 (* x (* z y))) |
| 13.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× | 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* |
| 63.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)) |
| 122.0ms | (cbrt (* (* x 18.0) y)) |
| 103.0ms | (cbrt (* (* x 18.0) y)) |
| 100.0ms | (cbrt (* (* x 18.0) y)) |
| 93.0ms | (* (* (* (cbrt (* (* x 18.0) y)) (cbrt (* (* x 18.0) y))) (cbrt (* (* x 18.0) y))) z) |
| 166.0ms | (* (cbrt 18.0) (exp (* -1/3 (+ (log (/ -1 x)) (log (/ -1 y)))))) |
| 162.0ms | (* (cbrt 18.0) (exp (* -1/3 (+ (log (/ 1 x)) (log (/ 1 y)))))) |
| 147.0ms | (* (cbrt 18.0) (exp (* -1/3 (+ (log (/ 1 x)) (log (/ 1 y)))))) |
| 137.0ms | (* (cbrt 18.0) (exp (* -1/3 (+ (log (/ 1 x)) (log (/ 1 y)))))) |
| 130.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× | add-cube-cbrt |
| 4× | *-commutative |
| 4× | add-exp-log |
| 4× | add-cbrt-cube |
| 4× | *-un-lft-identity |
| 4× | pow1 |
| 4× | add-sqr-sqrt |
| 2× | associate-*l* |
| 2× | associate-*r* |
| 7.0ms | (* (* x (* 18.0 y)) z) |
| 7.0ms | (* (* (* x (* 18.0 y)) z) t) |
| 1.0ms | (* 27.0 (* j k)) |
| 1.0ms | (* x (* 18.0 y)) |
| 50.0ms | (* (* (* x (* 18.0 y)) z) t) |
| 29.0ms | (* (* x (* 18.0 y)) z) |
| 18.0ms | (* x (* 18.0 y)) |
| 11.0ms | (* 27.0 (* j k)) |
| 188.0ms | (* 18.0 (* t (* x (* z y)))) |
| 162.0ms | (* 18.0 (* t (* x (* z y)))) |
| 31.0ms | (* 18.0 (* x (* z y))) |
| 24.0ms | (* 18.0 (* x (* z y))) |
| 12.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
| 5.2s | 16149× | body | 80 | valid |