


Bits error versus re



Bits error versus im
Results
Initial program 0.0
rmApplied add-sqr-sqrt0.0
Applied associate-*l*0.0
Taylor expanded around inf 0.0
Final simplification0.0
herbie shell --seed 2019010 +o rules:numerics
(FPCore (re im)
:name "math.exp on complex, imaginary part"
(* (exp re) (sin im)))
Time bar (total: 12.4s)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× | log1p-expm1-u |
| 1× | cbrt-unprod |
| 1× | *-commutative |
| 1× | prod-exp |
| 1× | pow-prod-down |
| 1× | expm1-log1p-u |
| 8.0ms | (* (exp re) (sin im)) |
| 93.0ms | (* (exp re) (sin im)) |
| 450.0ms | (* (* (* (exp re) (exp re)) (exp re)) (* (* (sin im) (sin im)) (sin im))) |
| 293.0ms | (+ (* 1/2 (* (pow re 2) im)) (+ (* re im) im)) |
| 2.0ms | (* (exp re) (sin im)) |
| 2.0ms | (+ re (log (sin im))) |
| 2.0ms | (* (sin im) (exp re)) |
3 alts after pruning (3 fresh and 0 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× | log1p-expm1-u |
| 4× | cbrt-unprod |
| 4× | prod-exp |
| 4× | pow-prod-down |
| 4× | associate-*r* |
| 4× | expm1-log1p-u |
| 2× | *-commutative |
| 2× | pow1/2 |
| 2× | rem-sqrt-square |
| 11.0ms | (* (sqrt (exp re)) (* (sqrt (exp re)) (sin im))) |
| 4.0ms | (* (sqrt (exp re)) (sin im)) |
| 1.0ms | (sqrt (exp re)) |
| 1.0ms | (sqrt (exp re)) |
| 64.0ms | (* (sqrt (exp re)) (sin im)) |
| 50.0ms | (* (sqrt (exp re)) (* (sqrt (exp re)) (sin im))) |
| 13.0ms | (sqrt (exp re)) |
| 11.0ms | (sqrt (exp re)) |
| 554.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)))) |
| 377.0ms | (+ (* 1/2 (* (pow re 2) im)) (+ (* re im) im)) |
| 361.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)))) |
| 232.0ms | (+ (* 1/8 (* (pow re 2) im)) (+ (* 1/2 (* re im)) im)) |
| 71.0ms | (* (* (* (sqrt (exp re)) (sqrt (exp re))) (sqrt (exp re))) (* (* (sin im) (sin im)) (sin im))) |
3 alts after pruning (3 fresh and 0 done)
Merged error: 0b
Found 1 expressions with local error:
| 0.0b | (* (sin im) (exp re)) |
| 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× | log1p-expm1-u |
| 1× | cbrt-unprod |
| 1× | *-commutative |
| 1× | prod-exp |
| 1× | pow-prod-down |
| 1× | expm1-log1p-u |
| 9.0ms | (* (sin im) (exp re)) |
| 36.0ms | (* (sin im) (exp re)) |
| 256.0ms | (- (+ (* re im) im) (* 1/6 (pow im 3))) |
| 53.0ms | (* (* (* (sin im) (sin im)) (sin im)) (* (* (exp re) (exp re)) (exp re))) |
| 4.0ms | (* (sin im) (exp re)) |
| 4.0ms | (+ (log (sin im)) re) |
| 4.0ms | (* (sin im) (exp re)) |
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 |
| 4× | log1p-expm1-u |
| 4× | expm1-log1p-u |
| 2× | *-commutative |
| 2× | associate-*r* |
| 2× | pow1/2 |
| 2× | rem-sqrt-square |
| 56.0ms | (* (sqrt (exp re)) (* (sqrt (sqrt (exp re))) (* (sqrt (sqrt (exp re))) (sin im)))) |
| 26.0ms | (* (sqrt (sqrt (exp re))) (* (sqrt (sqrt (exp re))) (sin im))) |
| 2.0ms | (sqrt (exp re)) |
| 1.0ms | (sqrt (exp re)) |
| 78.0ms | (* (sqrt (sqrt (exp re))) (* (sqrt (sqrt (exp re))) (sin im))) |
| 48.0ms | (* (sqrt (exp re)) (* (sqrt (sqrt (exp re))) (* (sqrt (sqrt (exp re))) (sin im)))) |
| 18.0ms | (sqrt (exp re)) |
| 17.0ms | (sqrt (exp re)) |
| 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))))) |
| 451.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))))) |
| 389.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)))) |
| 334.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)))) |
| 293.0ms | (+ (* 1/2 (* (pow re 2) im)) (+ (* re im) im)) |
3 alts after pruning (1 fresh and 2 done)
Merged error: 0b
0% (0.0b remaining)
Error of 0.0b against oracle of 0.0b and baseline of 0.0b