


Bits error versus x



Bits error versus y



Bits error versus z



Bits error versus t
Results
if (/ y z) < -3.0606422525398804e-200 or 4.4236070957955074e-228 < (/ y z) < 6.0163287876914765e+292Initial program 11.4
Simplified8.4
Taylor expanded around -inf 8.2
rmApplied associate-/l*2.0
if -3.0606422525398804e-200 < (/ y z) < 4.4236070957955074e-228 or 6.0163287876914765e+292 < (/ y z) Initial program 21.1
Simplified0.6
Taylor expanded around -inf 0.5
rmApplied associate-/l*16.0
Taylor expanded around -inf 0.5
Final simplification1.5
herbie shell --seed 2019010
(FPCore (x y z t)
:name "Graphics.Rendering.Chart.Backend.Diagrams:calcFontMetrics from Chart-diagrams-1.5.1"
(* x (/ (* (/ y z) t) t)))
Time bar (total: 3.2s)Debug log
| 356.0ms | (* x (/ (* (/ y z) t) t)) |
2 alts after pruning (2 fresh and 0 done)
Merged error: 1.1b
Found 1 expressions with local error:
| 6.1b | (* y (/ x z)) |
| 4× | associate-*r* |
| 2× | add-cube-cbrt |
| 2× | *-un-lft-identity |
| 2× | add-sqr-sqrt |
| 1× | add-log-exp |
| 1× | div-inv |
| 1× | *-commutative |
| 1× | add-exp-log |
| 1× | associate-*r/ |
| 1× | add-cbrt-cube |
| 1× | pow1 |
| 1.0ms | (* y (/ x z)) |
| 19.0ms | (* y (/ x z)) |
| 13.0ms | (/ (* x y) z) |
| 8.0ms | (/ (* x y) z) |
| 8.0ms | (/ (* x y) z) |
| 2.0ms | (/ 1 z) |
| 1.0ms | (cbrt (/ x z)) |
4 alts after pruning (3 fresh and 1 done)
Merged error: 0.0b
Found 1 expressions with local error:
| 5.1b | (/ (* x y) z) |
| 1× | add-log-exp |
| 1× | associate-/l* |
| 1× | div-inv |
| 1× | add-cube-cbrt |
| 1× | add-exp-log |
| 1× | add-cbrt-cube |
| 1× | *-un-lft-identity |
| 1× | frac-2neg |
| 1× | clear-num |
| 1× | pow1 |
| 1× | add-sqr-sqrt |
| 4.0ms | (/ (* x y) z) |
| 20.0ms | (/ (* x y) z) |
| 9.0ms | (/ (* x y) z) |
| 8.0ms | (/ (* x y) z) |
| 8.0ms | (/ (* x y) z) |
5 alts after pruning (4 fresh and 1 done)
Merged error: 0.0b
Found 1 expressions with local error:
| 4.3b | (/ x (/ z y)) |
| 4× | associate-/r* |
| 2× | div-inv |
| 2× | add-cube-cbrt |
| 2× | *-un-lft-identity |
| 2× | add-sqr-sqrt |
| 1× | add-log-exp |
| 1× | associate-/r/ |
| 1× | add-exp-log |
| 1× | add-cbrt-cube |
| 1× | frac-2neg |
| 1× | clear-num |
| 1× | pow1 |
| 0.0ms | (/ x (/ z y)) |
| 14.0ms | (/ x (/ z y)) |
| 5.0ms | (/ (* x y) z) |
| 5.0ms | (/ (* x y) z) |
| 5.0ms | (/ (* x y) z) |
| 1.0ms | (/ 1 y) |
| 1.0ms | (cbrt (/ z y)) |
6 alts after pruning (5 fresh and 1 done)
Merged error: 0.0b
Found 2 expressions with local error:
| 4.1b | (/ (/ z y) x) |
| 1.0b | (/ 1 (/ (/ z y) x)) |
| 4× | associate-/l* |
| 4× | div-inv |
| 4× | add-cube-cbrt |
| 4× | *-un-lft-identity |
| 4× | associate-/r* |
| 4× | add-sqr-sqrt |
| 3× | add-exp-log |
| 3× | pow1 |
| 2× | add-log-exp |
| 2× | add-cbrt-cube |
| 2× | frac-2neg |
| 2× | clear-num |
| 1× | associate-/l/ |
| 1× | inv-pow |
| 1× | pow-flip |
| 1× | associate-/r/ |
| 1× | rec-exp |
| 2.0ms | (/ (/ z y) x) |
| 1.0ms | (/ 1 (/ (/ z y) x)) |
| 23.0ms | (/ 1 (/ (/ z y) x)) |
| 18.0ms | (/ (/ z y) x) |
| 5.0ms | (/ (* x y) z) |
| 5.0ms | (/ (* x y) z) |
| 5.0ms | (/ (* x y) z) |
| 4.0ms | (* (cbrt (/ z y)) (cbrt (/ z y))) |
| 3.0ms | (cbrt (/ (/ z y) x)) |
6 alts after pruning (4 fresh and 2 done)
Merged error: 0.0b
74.3% (1.5b remaining)
Error of 1.5b against oracle of 0.0b and baseline of 6.0b