


Bits error versus x



Bits error versus y



Bits error versus z



Bits error versus t
Results
if (/ y z) < -inf.0Initial program 60.0
Simplified0.3
if -inf.0 < (/ y z) < -4.868209975303927e-240 or 3.3270316362416e-317 < (/ y z) < 5.18146444823841e+203Initial program 9.6
Simplified8.2
Taylor expanded around inf 8.9
rmApplied associate-/l*0.4
if -4.868209975303927e-240 < (/ y z) < 3.3270316362416e-317 or 5.18146444823841e+203 < (/ y z) Initial program 24.0
Simplified0.3
Taylor expanded around inf 0.4
Final simplification0.4
herbie shell --seed 2019022
(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: 7.6s)Debug log
| 37.0ms | 300× | body | 80 | valid |
| 299.0ms | (* x (/ (* (/ y z) t) t)) |
2 alts after pruning (2 fresh and 0 done)
Merged error: 0.8b
Found 1 expressions with local error:
| 5.2b | (* 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)) |
| 5.0ms | (/ (* x y) z) |
| 5.0ms | (/ (* x y) z) |
| 5.0ms | (/ (* x y) z) |
| 1.0ms | (/ 1 z) |
| 1.0ms | (cbrt (/ x z)) |
6 alts after pruning (5 fresh and 1 done)
Merged error: 0.0b
Found 4 expressions with local error:
| 13.4b | (cbrt (/ x z)) |
| 13.4b | (cbrt (/ x z)) |
| 13.4b | (cbrt (/ x z)) |
| 2.2b | (* y (* (cbrt (/ x z)) (cbrt (/ x z)))) |
| 12× | cbrt-prod |
| 7× | add-cube-cbrt |
| 7× | *-un-lft-identity |
| 7× | cbrt-div |
| 7× | add-sqr-sqrt |
| 4× | add-log-exp |
| 4× | add-exp-log |
| 4× | associate-*r/ |
| 4× | add-cbrt-cube |
| 4× | pow1 |
| 3× | div-inv |
| 3× | pow1/3 |
| 1× | *-commutative |
| 1× | associate-*l/ |
| 1× | associate-*r* |
| 1× | frac-times |
| 9.0ms | (* y (* (cbrt (/ x z)) (cbrt (/ x z)))) |
| 1.0ms | (cbrt (/ x z)) |
| 0.0ms | (cbrt (/ x z)) |
| 0.0ms | (cbrt (/ x z)) |
| 80.0ms | (* y (* (cbrt (/ x z)) (cbrt (/ x z)))) |
| 79.0ms | (cbrt (/ x z)) |
| 78.0ms | (cbrt (/ x z)) |
| 58.0ms | (cbrt (/ x z)) |
| 326.0ms | (* (exp (* 1/3 (- (* 2 (log (/ -1 z))) (* 2 (log (/ -1 x)))))) y) |
| 200.0ms | (* y (exp (* 1/3 (- (* 2 (log x)) (* 2 (log z)))))) |
| 166.0ms | (exp (* 1/3 (- (log (/ 1 z)) (log (/ 1 x))))) |
| 164.0ms | (exp (* 1/3 (- (log (/ 1 z)) (log (/ 1 x))))) |
| 155.0ms | (* y (exp (* 1/3 (- (* 2 (log (/ 1 z))) (* 2 (log (/ 1 x))))))) |
7 alts after pruning (5 fresh and 2 done)
Merged error: 0.0b
Found 4 expressions with local error:
| 13.4b | (cbrt (/ x z)) |
| 13.4b | (cbrt (/ x z)) |
| 2.2b | (* y (* (cbrt (/ x z)) (* (cbrt x) (cbrt (/ 1 z))))) |
| 0.6b | (cbrt (/ 1 z)) |
| 12× | cbrt-prod |
| 7× | add-cube-cbrt |
| 7× | *-un-lft-identity |
| 7× | cbrt-div |
| 7× | add-sqr-sqrt |
| 6× | associate-*r/ |
| 4× | add-log-exp |
| 4× | add-exp-log |
| 4× | add-cbrt-cube |
| 4× | pow1 |
| 3× | div-inv |
| 3× | pow1/3 |
| 1× | *-commutative |
| 1× | associate-*l/ |
| 1× | associate-*r* |
| 1× | frac-times |
| 26.0ms | (* y (* (cbrt (/ x z)) (* (cbrt x) (cbrt (/ 1 z))))) |
| 1.0ms | (cbrt (/ x z)) |
| 1.0ms | (cbrt (/ 1 z)) |
| 1.0ms | (cbrt (/ x z)) |
| 294.0ms | (cbrt (/ 1 z)) |
| 98.0ms | (* y (* (cbrt (/ x z)) (* (cbrt x) (cbrt (/ 1 z))))) |
| 66.0ms | (cbrt (/ x z)) |
| 61.0ms | (cbrt (/ x z)) |
| 317.0ms | (* (pow (cbrt -1) 2) (* (exp (* 1/3 (- (* 2 (log (/ -1 z))) (* 2 (log (/ -1 x)))))) y)) |
| 192.0ms | (* y (exp (* 1/3 (- (* 2 (log (/ 1 z))) (* 2 (log (/ 1 x))))))) |
| 178.0ms | (exp (* 1/3 (- (log (/ 1 z)) (log (/ 1 x))))) |
| 130.0ms | (* y (exp (* 1/3 (- (* 2 (log x)) (* 2 (log z)))))) |
| 126.0ms | (exp (* 1/3 (- (log (/ 1 z)) (log (/ 1 x))))) |
7 alts after pruning (4 fresh and 3 done)
Merged error: 0.0b
Found 1 expressions with local error:
| 6.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) |
| 21.0ms | (/ (* x y) z) |
| 12.0ms | (/ (* x y) z) |
| 10.0ms | (/ (* x y) z) |
| 9.0ms | (/ (* x y) z) |
6 alts after pruning (3 fresh and 3 done)
Merged error: 0b
94.2% (0.4b remaining)
Error of 0.4b against oracle of 0.0b and baseline of 6.1b
| 957.0ms | 9555× | body | 80 | valid |