


Bits error versus re



Bits error versus im
Results
Initial program 0.0
Final simplification0.0
herbie shell --seed 2019010
(FPCore (re im)
:name "math.exp on complex, imaginary part"
(* (exp re) (sin im)))
Time bar (total: 13.2s)Debug log
| 4.0ms | (* (exp re) (sin im)) |
1 alts after pruning (1 fresh and 0 done)
Merged error: 0.0b
Found 1 expressions with local error:
| 0.0b | (* (exp re) (sin im)) |
| 3× | add-cube-cbrt |
| 3× | associate-*l* |
| 3× | associate-*r* |
| 3× | add-cbrt-cube |
| 3× | *-un-lft-identity |
| 3× | pow1 |
| 3× | add-sqr-sqrt |
| 2× | add-exp-log |
| 1× | add-log-exp |
| 1× | cbrt-unprod |
| 1× | *-commutative |
| 1× | prod-exp |
| 1× | pow-prod-down |
| 3.0ms | (* (exp re) (sin im)) |
| 54.0ms | (* (exp re) (sin im)) |
| 82.0ms | (+ (* 1/2 (* (pow re 2) im)) (+ (* re im) im)) |
| 60.0ms | (* (* (* (exp re) (exp re)) (exp re)) (* (* (sin im) (sin im)) (sin im))) |
| 2.0ms | (* (exp re) (sin im)) |
| 2.0ms | (* (sin im) (exp re)) |
| 2.0ms | (* (sin im) (exp re)) |
3 alts after pruning (2 fresh and 1 done)
Merged error: 0.0b
Found 4 expressions with local error:
| 0.0b | (* (sqrt (exp re)) (sin im)) |
| 0.0b | (* (sqrt (exp re)) (* (sqrt (exp re)) (sin im))) |
| 0.0b | (sqrt (exp re)) |
| 0.0b | (sqrt (exp re)) |
| 13× | add-sqr-sqrt |
| 12× | sqrt-prod |
| 12× | associate-*l* |
| 11× | add-cube-cbrt |
| 11× | add-exp-log |
| 11× | add-cbrt-cube |
| 11× | *-un-lft-identity |
| 11× | pow1 |
| 4× | add-log-exp |
| 4× | cbrt-unprod |
| 4× | prod-exp |
| 4× | pow-prod-down |
| 4× | associate-*r* |
| 2× | *-commutative |
| 2× | pow1/2 |
| 2× | rem-sqrt-square |
| 21.0ms | (* (sqrt (exp re)) (* (sqrt (exp re)) (sin im))) |
| 9.0ms | (* (sqrt (exp re)) (sin im)) |
| 1.0ms | (sqrt (exp re)) |
| 1.0ms | (sqrt (exp re)) |
| 62.0ms | (* (sqrt (exp re)) (sin im)) |
| 48.0ms | (* (sqrt (exp re)) (* (sqrt (exp re)) (sin im))) |
| 12.0ms | (sqrt (exp re)) |
| 11.0ms | (sqrt (exp re)) |
| 464.0ms | (* (* (* (sqrt (exp re)) (sqrt (exp re))) (sqrt (exp re))) (* (* (* (sqrt (exp re)) (sin im)) (* (sqrt (exp re)) (sin im))) (* (sqrt (exp re)) (sin im)))) |
| 345.0ms | (* (* (* (sqrt (exp re)) (sqrt (exp re))) (sqrt (exp re))) (* (* (* (sqrt (exp re)) (sqrt (exp re))) (sqrt (exp re))) (* (* (sin im) (sin im)) (sin im)))) |
| 149.0ms | (+ (* 1/2 (* (pow re 2) im)) (+ (* re im) im)) |
| 99.0ms | (+ (* 1/8 (* (pow re 2) im)) (+ (* 1/2 (* re im)) im)) |
| 47.0ms | (* (* (* (sqrt (exp re)) (sqrt (exp re))) (sqrt (exp re))) (* (* (sin im) (sin im)) (sin im))) |
3 alts after pruning (2 fresh and 1 done)
Merged error: 0b
Found 4 expressions with local error:
| 0.0b | (* (sqrt (sqrt (exp re))) (* (sqrt (sqrt (exp re))) (sin im))) |
| 0.0b | (* (sqrt (exp re)) (* (sqrt (sqrt (exp re))) (* (sqrt (sqrt (exp re))) (sin im)))) |
| 0.0b | (sqrt (exp re)) |
| 0.0b | (sqrt (exp re)) |
| 18× | sqrt-prod |
| 18× | add-exp-log |
| 18× | add-cbrt-cube |
| 18× | pow1 |
| 15× | associate-*l* |
| 13× | add-sqr-sqrt |
| 11× | add-cube-cbrt |
| 11× | *-un-lft-identity |
| 9× | cbrt-unprod |
| 9× | prod-exp |
| 9× | pow-prod-down |
| 4× | add-log-exp |
| 2× | *-commutative |
| 2× | associate-*r* |
| 2× | pow1/2 |
| 2× | rem-sqrt-square |
| 37.0ms | (* (sqrt (exp re)) (* (sqrt (sqrt (exp re))) (* (sqrt (sqrt (exp re))) (sin im)))) |
| 18.0ms | (* (sqrt (sqrt (exp re))) (* (sqrt (sqrt (exp re))) (sin im))) |
| 1.0ms | (sqrt (exp re)) |
| 1.0ms | (sqrt (exp re)) |
| 64.0ms | (* (sqrt (sqrt (exp re))) (* (sqrt (sqrt (exp re))) (sin im))) |
| 47.0ms | (* (sqrt (exp re)) (* (sqrt (sqrt (exp re))) (* (sqrt (sqrt (exp re))) (sin im)))) |
| 14.0ms | (sqrt (exp re)) |
| 12.0ms | (sqrt (exp re)) |
| 573.0ms | (* (* (* (sqrt (exp re)) (sqrt (exp re))) (sqrt (exp re))) (* (* (* (sqrt (sqrt (exp re))) (* (sqrt (sqrt (exp re))) (sin im))) (* (sqrt (sqrt (exp re))) (* (sqrt (sqrt (exp re))) (sin im)))) (* (sqrt (sqrt (exp re))) (* (sqrt (sqrt (exp re))) (sin im))))) |
| 568.0ms | (* (* (* (sqrt (exp re)) (sqrt (exp re))) (sqrt (exp re))) (* (* (* (sqrt (sqrt (exp re))) (sqrt (sqrt (exp re)))) (sqrt (sqrt (exp re)))) (* (* (* (sqrt (sqrt (exp re))) (sqrt (sqrt (exp re)))) (sqrt (sqrt (exp re)))) (* (* (sin im) (sin im)) (sin im))))) |
| 358.0ms | (* (* (* (sqrt (sqrt (exp re))) (sqrt (sqrt (exp re)))) (sqrt (sqrt (exp re)))) (* (* (* (sqrt (sqrt (exp re))) (sqrt (sqrt (exp re)))) (sqrt (sqrt (exp re)))) (* (* (sin im) (sin im)) (sin im)))) |
| 331.0ms | (* (* (* (sqrt (sqrt (exp re))) (sqrt (sqrt (exp re)))) (sqrt (sqrt (exp re)))) (* (* (* (sqrt (sqrt (exp re))) (sin im)) (* (sqrt (sqrt (exp re))) (sin im))) (* (sqrt (sqrt (exp re))) (sin im)))) |
| 147.0ms | (+ (* 1/2 (* (pow re 2) im)) (+ (* re im) im)) |
3 alts after pruning (1 fresh and 2 done)
Merged error: 0b
Found 4 expressions with local error:
| 0.0b | (* (fabs (cbrt (exp re))) (* (sqrt (cbrt (exp re))) (* (sqrt (exp re)) (sin im)))) |
| 0.0b | (cbrt (exp re)) |
| 0.0b | (cbrt (exp re)) |
| 0.0b | (* (sqrt (exp re)) (sin im)) |
| 15× | add-exp-log |
| 15× | add-cbrt-cube |
| 15× | pow1 |
| 10× | add-cube-cbrt |
| 10× | *-un-lft-identity |
| 10× | add-sqr-sqrt |
| 9× | associate-*l* |
| 7× | cbrt-unprod |
| 7× | prod-exp |
| 7× | pow-prod-down |
| 6× | cbrt-prod |
| 4× | add-log-exp |
| 4× | associate-*r* |
| 3× | sqrt-prod |
| 2× | *-commutative |
| 2× | pow1/3 |
| 24.0ms | (* (fabs (cbrt (exp re))) (* (sqrt (cbrt (exp re))) (* (sqrt (exp re)) (sin im)))) |
| 4.0ms | (* (sqrt (exp re)) (sin im)) |
| 1.0ms | (cbrt (exp re)) |
| 0.0ms | (cbrt (exp re)) |
| 137.0ms | (cbrt (exp re)) |
| 136.0ms | (cbrt (exp re)) |
| 118.0ms | (* (fabs (cbrt (exp re))) (* (sqrt (cbrt (exp re))) (* (sqrt (exp re)) (sin im)))) |
| 71.0ms | (* (sqrt (exp re)) (sin im)) |
| 358.0ms | (+ (* 2/9 (* (pow re 2) (* (fabs (pow (exp re) 1/3)) im))) (+ (* 2/3 (* re (* (fabs (pow (exp re) 1/3)) im))) (* (fabs (pow (exp re) 1/3)) im))) |
| 117.0ms | (+ (* 1/8 (* (pow re 2) im)) (+ (* 1/2 (* re im)) im)) |
| 85.0ms | (* (* (* (fabs (cbrt (exp re))) (fabs (cbrt (exp re)))) (fabs (cbrt (exp re)))) (* (* (* (sqrt (cbrt (exp re))) (sqrt (cbrt (exp re)))) (sqrt (cbrt (exp re)))) (* (* (* (sqrt (exp re)) (sqrt (exp re))) (sqrt (exp re))) (* (* (sin im) (sin im)) (sin im))))) |
| 84.0ms | (* (* (* (sqrt (exp re)) (sqrt (exp re))) (sqrt (exp re))) (* (* (sin im) (sin im)) (sin im))) |
| 74.0ms | (* (* (* (fabs (cbrt (exp re))) (fabs (cbrt (exp re)))) (fabs (cbrt (exp re)))) (* (* (* (sqrt (cbrt (exp re))) (sqrt (cbrt (exp re)))) (sqrt (cbrt (exp re)))) (* (* (* (sqrt (exp re)) (sin im)) (* (sqrt (exp re)) (sin im))) (* (sqrt (exp re)) (sin im))))) |
3 alts after pruning (0 fresh and 3 done)
Merged error: 0b
0% (0.0b remaining)
Error of 0.0b against oracle of 0.0b and baseline of 0.0b