


Bits error versus x



Bits error versus y



Bits error versus z



Bits error versus t
Results
if (/ y z) < -4.672154975256748e+209 or -2.537105397623105e-218 < (/ y z) < -0.0Initial program 23.3
Simplified0.3
if -4.672154975256748e+209 < (/ y z) < -2.537105397623105e-218 or -0.0 < (/ y z) Initial program 10.7
Simplified8.1
Taylor expanded around inf 7.8
rmApplied associate-/l*2.1
Final simplification1.7
herbie shell --seed 2019016
(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.5s)Debug log
| 315× | (pre true 80) |
| 315× | (body real 80) |
| 208.0ms | (* x (/ (* (/ y z) t) t)) |
2 alts after pruning (2 fresh and 0 done)
Merged error: 0.3b
Found 1 expressions with local error:
| 7.0b | (* 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)) |
| 12.0ms | (* y (/ x z)) |
| 10.0ms | (/ (* x y) z) |
| 10.0ms | (/ (* x y) z) |
| 5.0ms | (/ (* x y) z) |
| 1.0ms | (/ 1 z) |
| 1.0ms | (cbrt (/ x z)) |
7 alts after pruning (6 fresh and 1 done)
Merged error: 0.0b
Found 1 expressions with local error:
| 5.4b | (/ (* 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 |
| 2.0ms | (/ (* x y) z) |
| 13.0ms | (/ (* x y) z) |
| 9.0ms | (/ (* x y) z) |
| 8.0ms | (/ (* x y) z) |
| 5.0ms | (/ (* x y) z) |
6 alts after pruning (4 fresh and 2 done)
Merged error: 0.0b
Found 1 expressions with local error:
| 5.2b | (/ 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)) |
7 alts after pruning (4 fresh and 3 done)
Merged error: 0.0b
Found 2 expressions with local error:
| 5.0b | (/ (/ z y) x) |
| 0.6b | (/ 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 |
| 5.0ms | (/ (/ z y) x) |
| 2.0ms | (/ 1 (/ (/ z y) x)) |
| 21.0ms | (/ (/ z y) x) |
| 15.0ms | (/ 1 (/ (/ z y) x)) |
| 6.0ms | (sqrt (/ (/ z y) x)) |
| 5.0ms | (/ (* x y) z) |
| 5.0ms | (/ (* x y) z) |
| 5.0ms | (/ (* x y) z) |
| 4.0ms | (/ (/ z y) x) |
6 alts after pruning (2 fresh and 4 done)
Merged error: 0.0b
71.7% (1.6b remaining)
Error of 1.7b against oracle of 0.0b and baseline of 5.8b
| 9609× | (pre true 80) |
| 9609× | (body real 80) |