Time bar (total: 27.5s)
| 1× | search |
| True | Other | False | Iter |
|---|---|---|---|
| 0% | 99.9% | 0.1% | 0 |
| 0% | 99.9% | 0.1% | 1 |
| 0% | 99.9% | 0.1% | 2 |
| 0% | 99.9% | 0.1% | 3 |
| 0% | 99.9% | 0.1% | 4 |
| 0% | 99.9% | 0.1% | 5 |
| 25% | 74.9% | 0.1% | 6 |
| 25% | 74.9% | 0.1% | 7 |
| 25% | 62.4% | 12.6% | 8 |
| 31.2% | 56.2% | 12.6% | 9 |
| 34.3% | 53% | 12.6% | 10 |
| 42.9% | 44.5% | 12.6% | 11 |
| 46.8% | 40.6% | 12.6% | 12 |
| 47.8% | 39.6% | 12.6% | 13 |
| 52.6% | 34.8% | 12.6% | 14 |
Compiled 25 to 20 computations (20% saved)
| 1× | intervals |
| 88.0ms | 42× | body | 1024 | valid |
| 83.0ms | 40× | body | 1024 | invalid |
| 50.0ms | 166× | body | 128 | valid |
| 45.0ms | 33× | body | 512 | valid |
| 38.0ms | 23× | body | 512 | invalid |
| 11.0ms | 4× | body | 2048 | valid |
| 9.0ms | 12× | body | 256 | invalid |
| 7.0ms | 11× | body | 256 | valid |
| 4.0ms | 14× | body | 128 | invalid |
Compiled 52 to 42 computations (19.2% saved)
| 1× | egg-herbie |
| 1078× | sqr-pow_binary64 |
| 786× | cube-prod_binary64 |
| 770× | fabs-mul_binary64 |
| 484× | unswap-sqr_binary64 |
| 392× | pow-sqr_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 16 | 34 |
| 1 | 30 | 34 |
| 2 | 66 | 34 |
| 3 | 124 | 34 |
| 4 | 217 | 34 |
| 5 | 465 | 34 |
| 6 | 669 | 34 |
| 7 | 1130 | 34 |
| 8 | 1177 | 34 |
| 9 | 1369 | 34 |
| 10 | 1574 | 34 |
| 11 | 1868 | 34 |
| 12 | 2152 | 34 |
| 13 | 2573 | 34 |
| 14 | 3206 | 34 |
| 15 | 3520 | 34 |
| 16 | 3872 | 34 |
| 17 | 4026 | 34 |
| 18 | 4094 | 34 |
| 19 | 4136 | 34 |
| 20 | 4933 | 34 |
| 21 | 4905 | 34 |
2 alts after pruning (2 fresh and 0 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 0 | 1 | 1 |
| Fresh | 0 | 1 | 1 |
| Picked | 0 | 0 | 0 |
| Done | 0 | 0 | 0 |
| Total | 0 | 2 | 2 |
| Status | Error | Program |
| ▶ | 19.6b | (+.f64 (pow.f64 (*.f64 a (cos.f64 (*.f64 (PI.f64) (/.f64 angle 180)))) 2) (pow.f64 (*.f64 b (sin.f64 (*.f64 (PI.f64) (/.f64 angle 180)))) 2)) |
Compiled 72 to 57 computations (20.8% saved)
Found 4 expressions with local error:
| New | Error | Program |
| ✓ | 0.3b | (pow.f64 (*.f64 b (sin.f64 (*.f64 (PI.f64) (/.f64 angle 180)))) 2) |
| ✓ | 0.4b | (*.f64 (PI.f64) (/.f64 angle 180)) |
| ✓ | 23.8b | (sin.f64 (*.f64 (PI.f64) (/.f64 angle 180))) |
| ✓ | 23.9b | (cos.f64 (*.f64 (PI.f64) (/.f64 angle 180))) |
4 calls:
| 51.0ms | (pow.f64 (*.f64 b (sin.f64 (*.f64 (PI.f64) (/.f64 angle 180)))) 2) |
| 8.0ms | (*.f64 (PI.f64) (/.f64 angle 180)) |
| 6.0ms | (sin.f64 (*.f64 (PI.f64) (/.f64 angle 180))) |
| 6.0ms | (cos.f64 (*.f64 (PI.f64) (/.f64 angle 180))) |
| 1× | rewrite-expression-head |
| 18× | add-sqr-sqrt_binary64 |
| 13× | associate-*r*_binary64 |
| 13× | *-un-lft-identity_binary64 |
| 13× | add-cube-cbrt_binary64 |
| 12× | add-exp-log_binary64 |
4 calls:
| 9.0ms | (*.f64 (PI.f64) (/.f64 angle 180)) |
| 6.0ms | (pow.f64 (*.f64 b (sin.f64 (*.f64 (PI.f64) (/.f64 angle 180)))) 2) |
| 2.0ms | (cos.f64 (*.f64 (PI.f64) (/.f64 angle 180))) |
| 2.0ms | (sin.f64 (*.f64 (PI.f64) (/.f64 angle 180))) |
| 1× | egg-herbie |
| 600× | fma-neg_binary64 |
| 587× | times-frac_binary64 |
| 403× | *-commutative_binary64 |
| 321× | fma-def_binary64 |
| 249× | cancel-sign-sub-inv_binary64 |
Useful iterations: 3 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 196 | 2107 |
| 1 | 448 | 2003 |
| 2 | 1447 | 1981 |
| 3 | 3580 | 1967 |
| 4 | 4922 | 1967 |
| 5 | 4939 | 1967 |
36 alts after pruning (36 fresh and 0 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 116 | 36 | 152 |
| Fresh | 0 | 0 | 0 |
| Picked | 1 | 0 | 1 |
| Done | 0 | 0 | 0 |
| Total | 117 | 36 | 153 |
| Status | Error | Program |
| 19.6b | (+.f64 (pow.f64 (*.f64 a (cos.f64 (*.f64 (*.f64 (PI.f64) (/.f64 (*.f64 (cbrt.f64 angle) (cbrt.f64 angle)) (sqrt.f64 180))) (/.f64 (cbrt.f64 angle) (sqrt.f64 180))))) 2) (pow.f64 (*.f64 b (sin.f64 (*.f64 (PI.f64) (/.f64 angle 180)))) 2)) | |
| 19.6b | (+.f64 (pow.f64 (*.f64 a (log1p.f64 (expm1.f64 (cos.f64 (*.f64 (PI.f64) (/.f64 angle 180)))))) 2) (pow.f64 (*.f64 b (sin.f64 (*.f64 (PI.f64) (/.f64 angle 180)))) 2)) | |
| 19.7b | (+.f64 (pow.f64 (*.f64 a (cos.f64 (*.f64 (PI.f64) (/.f64 angle 180)))) 2) (*.f64 (*.f64 (cbrt.f64 (pow.f64 (*.f64 b (sin.f64 (*.f64 (PI.f64) (/.f64 angle 180)))) 2)) (cbrt.f64 (pow.f64 (*.f64 b (sin.f64 (*.f64 (PI.f64) (/.f64 angle 180)))) 2))) (cbrt.f64 (pow.f64 (*.f64 b (sin.f64 (*.f64 (PI.f64) (/.f64 angle 180)))) 2)))) | |
| 40.7b | (+.f64 (pow.f64 (*.f64 a (cos.f64 (exp.f64 (+.f64 (log.f64 (PI.f64)) (-.f64 (log.f64 angle) (log.f64 180)))))) 2) (pow.f64 (*.f64 b (sin.f64 (*.f64 (PI.f64) (/.f64 angle 180)))) 2)) | |
| 19.6b | (+.f64 (pow.f64 (*.f64 a (cos.f64 (*.f64 (*.f64 (PI.f64) (/.f64 (*.f64 (cbrt.f64 angle) (cbrt.f64 angle)) (*.f64 (cbrt.f64 180) (cbrt.f64 180)))) (/.f64 (cbrt.f64 angle) (cbrt.f64 180))))) 2) (pow.f64 (*.f64 b (sin.f64 (*.f64 (PI.f64) (/.f64 angle 180)))) 2)) | |
| 41.0b | (+.f64 (pow.f64 (*.f64 a (cos.f64 (*.f64 (PI.f64) (/.f64 angle 180)))) 2) (pow.f64 (*.f64 b (sin.f64 (*.f64 (*.f64 (sqrt.f64 (PI.f64)) (/.f64 (sqrt.f64 angle) (sqrt.f64 180))) (*.f64 (sqrt.f64 (PI.f64)) (/.f64 (sqrt.f64 angle) (sqrt.f64 180)))))) 2)) | |
| 28.7b | (+.f64 (pow.f64 (*.f64 a (cos.f64 (*.f64 (PI.f64) (/.f64 angle 180)))) 2) (cbrt.f64 (pow.f64 (*.f64 b (sin.f64 (*.f64 (PI.f64) (/.f64 angle 180)))) 6))) | |
| 41.3b | (+.f64 (pow.f64 (*.f64 a (cos.f64 (*.f64 (PI.f64) (/.f64 angle 180)))) 2) (pow.f64 (*.f64 b (sin.f64 (exp.f64 (+.f64 (log.f64 (PI.f64)) (-.f64 (log.f64 angle) (log.f64 180)))))) 2)) | |
| 20.0b | (+.f64 (pow.f64 (*.f64 a (cos.f64 (*.f64 (PI.f64) (/.f64 angle 180)))) 2) (pow.f64 (*.f64 b (sin.f64 (*.f64 (*.f64 (PI.f64) (/.f64 (*.f64 (cbrt.f64 angle) (cbrt.f64 angle)) (*.f64 (cbrt.f64 180) (cbrt.f64 180)))) (/.f64 (cbrt.f64 angle) (cbrt.f64 180))))) 2)) | |
| 34.6b | (+.f64 (pow.f64 (*.f64 a (cos.f64 (*.f64 (PI.f64) (/.f64 angle 180)))) 2) (-.f64 (+.f64 (*.f64 1/765275040000000 (*.f64 (pow.f64 angle 6) (*.f64 (pow.f64 (PI.f64) 6) (pow.f64 b 2)))) (*.f64 1/32400 (*.f64 (pow.f64 angle 2) (*.f64 (pow.f64 (PI.f64) 2) (pow.f64 b 2))))) (+.f64 (*.f64 1/3149280000 (*.f64 (pow.f64 angle 4) (*.f64 (pow.f64 (PI.f64) 4) (pow.f64 b 2)))) (*.f64 1/347128758144000000000 (*.f64 (pow.f64 angle 8) (*.f64 (pow.f64 (PI.f64) 8) (pow.f64 b 2))))))) | |
| 20.4b | (+.f64 (pow.f64 (*.f64 a (cos.f64 (*.f64 (PI.f64) (/.f64 angle 180)))) 2) (exp.f64 (log.f64 (pow.f64 (*.f64 b (sin.f64 (*.f64 (PI.f64) (/.f64 angle 180)))) 2)))) | |
| 23.1b | (+.f64 (pow.f64 (*.f64 a (cos.f64 (*.f64 (PI.f64) (/.f64 angle 180)))) 2) (pow.f64 (*.f64 b (sin.f64 (expm1.f64 (log1p.f64 (*.f64 (PI.f64) (/.f64 angle 180)))))) 2)) | |
| 19.5b | (+.f64 (pow.f64 (*.f64 a (cos.f64 (*.f64 (*.f64 (PI.f64) (*.f64 (cbrt.f64 (/.f64 angle 180)) (cbrt.f64 (/.f64 angle 180)))) (cbrt.f64 (/.f64 angle 180))))) 2) (pow.f64 (*.f64 b (sin.f64 (*.f64 (PI.f64) (/.f64 angle 180)))) 2)) | |
| 19.5b | (+.f64 (pow.f64 (*.f64 a (cos.f64 (*.f64 (/.f64 (PI.f64) (*.f64 (cbrt.f64 180) (cbrt.f64 180))) (/.f64 angle (cbrt.f64 180))))) 2) (pow.f64 (*.f64 b (sin.f64 (*.f64 (PI.f64) (/.f64 angle 180)))) 2)) | |
| 19.9b | (+.f64 (pow.f64 (*.f64 a (cos.f64 (*.f64 (PI.f64) (/.f64 angle 180)))) 2) (pow.f64 (*.f64 b (sin.f64 (*.f64 (/.f64 (PI.f64) (*.f64 (cbrt.f64 180) (cbrt.f64 180))) (/.f64 angle (cbrt.f64 180))))) 2)) | |
| 27.3b | (+.f64 (pow.f64 (*.f64 a (cos.f64 (*.f64 (PI.f64) (/.f64 angle 180)))) 2) (*.f64 (pow.f64 b 2) (pow.f64 (sin.f64 (*.f64 1/180 (*.f64 angle (PI.f64)))) 2))) | |
| 19.8b | (+.f64 (pow.f64 (*.f64 a (cos.f64 (*.f64 (PI.f64) (/.f64 angle 180)))) 2) (pow.f64 (*.f64 b (sin.f64 (*.f64 (*.f64 (PI.f64) (*.f64 (cbrt.f64 (/.f64 angle 180)) (cbrt.f64 (/.f64 angle 180)))) (cbrt.f64 (/.f64 angle 180))))) 2)) | |
| 24.3b | (+.f64 (pow.f64 (*.f64 a (cos.f64 (cbrt.f64 (*.f64 (*.f64 (*.f64 (PI.f64) (PI.f64)) (PI.f64)) (/.f64 (*.f64 (*.f64 angle angle) angle) (*.f64 (*.f64 180 180) 180)))))) 2) (pow.f64 (*.f64 b (sin.f64 (*.f64 (PI.f64) (/.f64 angle 180)))) 2)) | |
| 40.2b | (+.f64 (pow.f64 (*.f64 a (cos.f64 (*.f64 (PI.f64) (/.f64 angle 180)))) 2) (pow.f64 (pow.f64 (*.f64 b (sin.f64 (*.f64 (PI.f64) (/.f64 angle 180)))) (*.f64 (cbrt.f64 2) (cbrt.f64 2))) (cbrt.f64 2))) | |
| 19.6b | (+.f64 (pow.f64 (*.f64 a (cos.f64 (*.f64 (*.f64 (cbrt.f64 (*.f64 (PI.f64) (/.f64 angle 180))) (cbrt.f64 (*.f64 (PI.f64) (/.f64 angle 180)))) (cbrt.f64 (*.f64 (PI.f64) (/.f64 angle 180)))))) 2) (pow.f64 (*.f64 b (sin.f64 (*.f64 (PI.f64) (/.f64 angle 180)))) 2)) | |
| 26.0b | (+.f64 (pow.f64 (*.f64 a (cos.f64 (*.f64 (PI.f64) (/.f64 angle 180)))) 2) (pow.f64 (*.f64 b (cbrt.f64 (*.f64 (*.f64 (sin.f64 (*.f64 (PI.f64) (/.f64 angle 180))) (sin.f64 (*.f64 (PI.f64) (/.f64 angle 180)))) (sin.f64 (*.f64 (PI.f64) (/.f64 angle 180)))))) 2)) | |
| 20.0b | (+.f64 (pow.f64 (*.f64 a (cos.f64 (*.f64 (PI.f64) (/.f64 angle 180)))) 2) (pow.f64 (*.f64 b (sin.f64 (*.f64 (*.f64 (cbrt.f64 (*.f64 (PI.f64) (/.f64 angle 180))) (cbrt.f64 (*.f64 (PI.f64) (/.f64 angle 180)))) (cbrt.f64 (*.f64 (PI.f64) (/.f64 angle 180)))))) 2)) | |
| 29.5b | (+.f64 (pow.f64 (*.f64 a (cos.f64 (*.f64 (PI.f64) (/.f64 angle 180)))) 2) (pow.f64 (*.f64 b (log.f64 (exp.f64 (sin.f64 (*.f64 (PI.f64) (/.f64 angle 180)))))) 2)) | |
| 26.7b | (+.f64 (pow.f64 (*.f64 a (cos.f64 (*.f64 (PI.f64) (/.f64 angle 180)))) 2) (pow.f64 (*.f64 b (fma.f64 (pow.f64 (*.f64 angle (PI.f64)) 3) -1/34992000 (*.f64 1/180 (*.f64 angle (PI.f64))))) 2)) | |
| 20.0b | (+.f64 (pow.f64 (*.f64 a (cos.f64 (*.f64 (PI.f64) (/.f64 angle 180)))) 2) (expm1.f64 (log1p.f64 (pow.f64 (*.f64 b (sin.f64 (*.f64 (PI.f64) (/.f64 angle 180)))) 2)))) | |
| 19.6b | (+.f64 (pow.f64 (*.f64 a (cos.f64 (*.f64 (PI.f64) (/.f64 angle 180)))) 2) (pow.f64 (*.f64 b (log1p.f64 (expm1.f64 (sin.f64 (*.f64 (PI.f64) (/.f64 angle 180)))))) 2)) | |
| 40.9b | (+.f64 (pow.f64 (*.f64 a (cos.f64 (*.f64 (PI.f64) (/.f64 angle 180)))) 2) (pow.f64 (*.f64 b (sin.f64 (*.f64 (*.f64 (PI.f64) (sqrt.f64 angle)) (/.f64 (sqrt.f64 angle) 180)))) 2)) | |
| 19.5b | (+.f64 (pow.f64 (*.f64 a (cos.f64 (*.f64 (*.f64 (PI.f64) (*.f64 (cbrt.f64 angle) (cbrt.f64 angle))) (/.f64 (cbrt.f64 angle) 180)))) 2) (pow.f64 (*.f64 b (sin.f64 (*.f64 (PI.f64) (/.f64 angle 180)))) 2)) | |
| 19.6b | (+.f64 (pow.f64 (*.f64 a (*.f64 (*.f64 (cbrt.f64 (cos.f64 (*.f64 (PI.f64) (/.f64 angle 180)))) (cbrt.f64 (cos.f64 (*.f64 (PI.f64) (/.f64 angle 180))))) (cbrt.f64 (cos.f64 (*.f64 (PI.f64) (/.f64 angle 180)))))) 2) (pow.f64 (*.f64 b (sin.f64 (*.f64 (PI.f64) (/.f64 angle 180)))) 2)) | |
| 19.9b | (+.f64 (pow.f64 (*.f64 a (cos.f64 (*.f64 (PI.f64) (/.f64 angle 180)))) 2) (pow.f64 (*.f64 b (sin.f64 (*.f64 (*.f64 (PI.f64) (*.f64 (cbrt.f64 angle) (cbrt.f64 angle))) (/.f64 (cbrt.f64 angle) 180)))) 2)) | |
| 19.6b | (+.f64 (pow.f64 (*.f64 a (cbrt.f64 (pow.f64 (cos.f64 (*.f64 (PI.f64) (/.f64 angle 180))) 3))) 2) (pow.f64 (*.f64 b (sin.f64 (*.f64 (PI.f64) (/.f64 angle 180)))) 2)) | |
| 20.0b | (+.f64 (pow.f64 (*.f64 a (cos.f64 (*.f64 (PI.f64) (/.f64 angle 180)))) 2) (pow.f64 (*.f64 b (sin.f64 (*.f64 (*.f64 (cbrt.f64 (PI.f64)) (cbrt.f64 (PI.f64))) (*.f64 (cbrt.f64 (PI.f64)) (/.f64 angle 180))))) 2)) | |
| 41.3b | (+.f64 (pow.f64 (*.f64 a (cos.f64 (*.f64 (PI.f64) (/.f64 angle 180)))) 2) (pow.f64 (*.f64 b (sin.f64 (exp.f64 (+.f64 (log.f64 (PI.f64)) (log.f64 (/.f64 angle 180)))))) 2)) | |
| 19.6b | (+.f64 (pow.f64 (*.f64 a (cos.f64 (*.f64 (PI.f64) (/.f64 angle 180)))) 2) (pow.f64 (*.f64 b (sin.f64 (*.f64 (*.f64 (PI.f64) angle) (/.f64 1 180)))) 2)) | |
| ▶ | 19.5b | (+.f64 (pow.f64 (*.f64 a 1) 2) (pow.f64 (*.f64 b (sin.f64 (*.f64 (PI.f64) (/.f64 angle 180)))) 2)) |
| 19.6b | (+.f64 (pow.f64 (*.f64 a (cos.f64 (*.f64 (*.f64 (cbrt.f64 (PI.f64)) (cbrt.f64 (PI.f64))) (*.f64 (cbrt.f64 (PI.f64)) (/.f64 angle 180))))) 2) (pow.f64 (*.f64 b (sin.f64 (*.f64 (PI.f64) (/.f64 angle 180)))) 2)) |
Compiled 6624 to 4872 computations (26.4% saved)
Found 4 expressions with local error:
| New | Error | Program |
| ✓ | 0.2b | (*.f64 b (sin.f64 (*.f64 (PI.f64) (/.f64 angle 180)))) |
| 0.3b | (pow.f64 (*.f64 b (sin.f64 (*.f64 (PI.f64) (/.f64 angle 180)))) 2) | |
| 0.4b | (*.f64 (PI.f64) (/.f64 angle 180)) | |
| 23.8b | (sin.f64 (*.f64 (PI.f64) (/.f64 angle 180))) |
1 calls:
| 31.0ms | (*.f64 b (sin.f64 (*.f64 (PI.f64) (/.f64 angle 180)))) |
| 1× | rewrite-expression-head |
| 5× | add-sqr-sqrt_binary64 |
| 3× | associate-*r*_binary64 |
| 3× | associate-*l*_binary64 |
| 3× | *-un-lft-identity_binary64 |
| 3× | add-cube-cbrt_binary64 |
1 calls:
| 6.0ms | (*.f64 b (sin.f64 (*.f64 (PI.f64) (/.f64 angle 180)))) |
| 1× | egg-herbie |
| 911× | distribute-rgt-neg-in_binary64 |
| 646× | fma-neg_binary64 |
| 509× | associate-*l*_binary64 |
| 452× | associate-*r*_binary64 |
| 412× | distribute-lft-neg-in_binary64 |
Useful iterations: 4 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 72 | 785 |
| 1 | 178 | 727 |
| 2 | 569 | 722 |
| 3 | 2006 | 713 |
| 4 | 3858 | 712 |
| 5 | 5218 | 712 |
37 alts after pruning (37 fresh and 0 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 108 | 15 | 123 |
| Fresh | 13 | 22 | 35 |
| Picked | 1 | 0 | 1 |
| Done | 0 | 0 | 0 |
| Total | 122 | 37 | 159 |
| Status | Error | Program |
| 19.6b | (+.f64 (pow.f64 (*.f64 a (cos.f64 (*.f64 (*.f64 (PI.f64) (/.f64 (*.f64 (cbrt.f64 angle) (cbrt.f64 angle)) (sqrt.f64 180))) (/.f64 (cbrt.f64 angle) (sqrt.f64 180))))) 2) (pow.f64 (*.f64 b (sin.f64 (*.f64 (PI.f64) (/.f64 angle 180)))) 2)) | |
| 19.6b | (+.f64 (pow.f64 (*.f64 a (log1p.f64 (expm1.f64 (cos.f64 (*.f64 (PI.f64) (/.f64 angle 180)))))) 2) (pow.f64 (*.f64 b (sin.f64 (*.f64 (PI.f64) (/.f64 angle 180)))) 2)) | |
| 20.3b | (+.f64 (pow.f64 (*.f64 a 1) 2) (exp.f64 (log.f64 (pow.f64 (*.f64 b (sin.f64 (*.f64 (PI.f64) (/.f64 angle 180)))) 2)))) | |
| 19.7b | (+.f64 (pow.f64 (*.f64 a 1) 2) (pow.f64 (*.f64 b (sin.f64 (*.f64 (*.f64 (PI.f64) (*.f64 (cbrt.f64 (/.f64 angle 180)) (cbrt.f64 (/.f64 angle 180)))) (cbrt.f64 (/.f64 angle 180))))) 2)) | |
| 19.6b | (+.f64 (pow.f64 (*.f64 a (cos.f64 (*.f64 (*.f64 (PI.f64) (/.f64 (*.f64 (cbrt.f64 angle) (cbrt.f64 angle)) (*.f64 (cbrt.f64 180) (cbrt.f64 180)))) (/.f64 (cbrt.f64 angle) (cbrt.f64 180))))) 2) (pow.f64 (*.f64 b (sin.f64 (*.f64 (PI.f64) (/.f64 angle 180)))) 2)) | |
| 41.0b | (+.f64 (pow.f64 (*.f64 a (cos.f64 (*.f64 (PI.f64) (/.f64 angle 180)))) 2) (pow.f64 (*.f64 b (sin.f64 (*.f64 (*.f64 (sqrt.f64 (PI.f64)) (/.f64 (sqrt.f64 angle) (sqrt.f64 180))) (*.f64 (sqrt.f64 (PI.f64)) (/.f64 (sqrt.f64 angle) (sqrt.f64 180)))))) 2)) | |
| 40.7b | (+.f64 (pow.f64 (*.f64 a (cos.f64 (exp.f64 (+.f64 (log.f64 (PI.f64)) (-.f64 (log.f64 angle) (log.f64 180)))))) 2) (pow.f64 (*.f64 b (sin.f64 (*.f64 (PI.f64) (/.f64 angle 180)))) 2)) | |
| 28.7b | (+.f64 (pow.f64 (*.f64 a (cos.f64 (*.f64 (PI.f64) (/.f64 angle 180)))) 2) (cbrt.f64 (pow.f64 (*.f64 b (sin.f64 (*.f64 (PI.f64) (/.f64 angle 180)))) 6))) | |
| 41.3b | (+.f64 (pow.f64 (*.f64 a (cos.f64 (*.f64 (PI.f64) (/.f64 angle 180)))) 2) (pow.f64 (*.f64 b (sin.f64 (exp.f64 (+.f64 (log.f64 (PI.f64)) (-.f64 (log.f64 angle) (log.f64 180)))))) 2)) | |
| 19.6b | (+.f64 (pow.f64 (*.f64 a 1) 2) (*.f64 (*.f64 (cbrt.f64 (pow.f64 (*.f64 b (sin.f64 (*.f64 (PI.f64) (/.f64 angle 180)))) 2)) (cbrt.f64 (pow.f64 (*.f64 b (sin.f64 (*.f64 (PI.f64) (/.f64 angle 180)))) 2))) (cbrt.f64 (pow.f64 (*.f64 b (sin.f64 (*.f64 (PI.f64) (/.f64 angle 180)))) 2)))) | |
| 20.0b | (+.f64 (pow.f64 (*.f64 a (cos.f64 (*.f64 (PI.f64) (/.f64 angle 180)))) 2) (pow.f64 (*.f64 b (sin.f64 (*.f64 (*.f64 (PI.f64) (/.f64 (*.f64 (cbrt.f64 angle) (cbrt.f64 angle)) (*.f64 (cbrt.f64 180) (cbrt.f64 180)))) (/.f64 (cbrt.f64 angle) (cbrt.f64 180))))) 2)) | |
| 34.6b | (+.f64 (pow.f64 (*.f64 a (cos.f64 (*.f64 (PI.f64) (/.f64 angle 180)))) 2) (-.f64 (+.f64 (*.f64 1/765275040000000 (*.f64 (pow.f64 angle 6) (*.f64 (pow.f64 (PI.f64) 6) (pow.f64 b 2)))) (*.f64 1/32400 (*.f64 (pow.f64 angle 2) (*.f64 (pow.f64 (PI.f64) 2) (pow.f64 b 2))))) (+.f64 (*.f64 1/3149280000 (*.f64 (pow.f64 angle 4) (*.f64 (pow.f64 (PI.f64) 4) (pow.f64 b 2)))) (*.f64 1/347128758144000000000 (*.f64 (pow.f64 angle 8) (*.f64 (pow.f64 (PI.f64) 8) (pow.f64 b 2))))))) | |
| 27.2b | (+.f64 (pow.f64 (*.f64 a 1) 2) (*.f64 (*.f64 b b) (pow.f64 (sin.f64 (*.f64 1/180 (*.f64 angle (PI.f64)))) 2))) | |
| 19.8b | (+.f64 (pow.f64 (*.f64 a 1) 2) (pow.f64 (*.f64 b (sin.f64 (*.f64 (*.f64 (PI.f64) (*.f64 (cbrt.f64 angle) (cbrt.f64 angle))) (/.f64 (cbrt.f64 angle) 180)))) 2)) | |
| 19.5b | (+.f64 (pow.f64 (*.f64 a (cos.f64 (*.f64 (*.f64 (PI.f64) (*.f64 (cbrt.f64 (/.f64 angle 180)) (cbrt.f64 (/.f64 angle 180)))) (cbrt.f64 (/.f64 angle 180))))) 2) (pow.f64 (*.f64 b (sin.f64 (*.f64 (PI.f64) (/.f64 angle 180)))) 2)) | |
| 23.1b | (+.f64 (pow.f64 (*.f64 a (cos.f64 (*.f64 (PI.f64) (/.f64 angle 180)))) 2) (pow.f64 (*.f64 b (sin.f64 (expm1.f64 (log1p.f64 (*.f64 (PI.f64) (/.f64 angle 180)))))) 2)) | |
| 19.5b | (+.f64 (pow.f64 (*.f64 a (cos.f64 (*.f64 (/.f64 (PI.f64) (*.f64 (cbrt.f64 180) (cbrt.f64 180))) (/.f64 angle (cbrt.f64 180))))) 2) (pow.f64 (*.f64 b (sin.f64 (*.f64 (PI.f64) (/.f64 angle 180)))) 2)) | |
| 19.5b | (+.f64 (pow.f64 (*.f64 a 1) 2) (pow.f64 (*.f64 b (sin.f64 (*.f64 1/180 (*.f64 angle (PI.f64))))) 2)) | |
| 24.3b | (+.f64 (pow.f64 (*.f64 a (cos.f64 (cbrt.f64 (*.f64 (*.f64 (*.f64 (PI.f64) (PI.f64)) (PI.f64)) (/.f64 (*.f64 (*.f64 angle angle) angle) (*.f64 (*.f64 180 180) 180)))))) 2) (pow.f64 (*.f64 b (sin.f64 (*.f64 (PI.f64) (/.f64 angle 180)))) 2)) | |
| 20.0b | (+.f64 (pow.f64 (*.f64 a (cos.f64 (*.f64 (PI.f64) (/.f64 angle 180)))) 2) (pow.f64 (*.f64 b (sin.f64 (*.f64 (*.f64 (cbrt.f64 (*.f64 (PI.f64) (/.f64 angle 180))) (cbrt.f64 (*.f64 (PI.f64) (/.f64 angle 180)))) (cbrt.f64 (*.f64 (PI.f64) (/.f64 angle 180)))))) 2)) | |
| 26.7b | (+.f64 (pow.f64 (*.f64 a (cos.f64 (*.f64 (PI.f64) (/.f64 angle 180)))) 2) (pow.f64 (*.f64 b (fma.f64 (pow.f64 (*.f64 angle (PI.f64)) 3) -1/34992000 (*.f64 1/180 (*.f64 angle (PI.f64))))) 2)) | |
| 19.8b | (+.f64 (pow.f64 (*.f64 a 1) 2) (pow.f64 (*.f64 b (sin.f64 (*.f64 (/.f64 (PI.f64) (*.f64 (cbrt.f64 180) (cbrt.f64 180))) (/.f64 angle (cbrt.f64 180))))) 2)) | |
| 40.9b | (+.f64 (pow.f64 (*.f64 a (cos.f64 (*.f64 (PI.f64) (/.f64 angle 180)))) 2) (pow.f64 (*.f64 b (sin.f64 (*.f64 (*.f64 (PI.f64) (sqrt.f64 angle)) (/.f64 (sqrt.f64 angle) 180)))) 2)) | |
| 19.5b | (+.f64 (pow.f64 (*.f64 a (cos.f64 (*.f64 (*.f64 (PI.f64) (*.f64 (cbrt.f64 angle) (cbrt.f64 angle))) (/.f64 (cbrt.f64 angle) 180)))) 2) (pow.f64 (*.f64 b (sin.f64 (*.f64 (PI.f64) (/.f64 angle 180)))) 2)) | |
| 19.7b | (+.f64 (pow.f64 (*.f64 a 1) 2) (pow.f64 (*.f64 (*.f64 (cbrt.f64 (*.f64 b (sin.f64 (*.f64 (PI.f64) (/.f64 angle 180))))) (cbrt.f64 (*.f64 b (sin.f64 (*.f64 (PI.f64) (/.f64 angle 180)))))) (cbrt.f64 (*.f64 b (sin.f64 (*.f64 (PI.f64) (/.f64 angle 180)))))) 2)) | |
| 19.9b | (+.f64 (pow.f64 (*.f64 a 1) 2) (expm1.f64 (log1p.f64 (pow.f64 (*.f64 b (sin.f64 (*.f64 (PI.f64) (/.f64 angle 180)))) 2)))) | |
| 19.6b | (+.f64 (pow.f64 (*.f64 a (*.f64 (*.f64 (cbrt.f64 (cos.f64 (*.f64 (PI.f64) (/.f64 angle 180)))) (cbrt.f64 (cos.f64 (*.f64 (PI.f64) (/.f64 angle 180))))) (cbrt.f64 (cos.f64 (*.f64 (PI.f64) (/.f64 angle 180)))))) 2) (pow.f64 (*.f64 b (sin.f64 (*.f64 (PI.f64) (/.f64 angle 180)))) 2)) | |
| 19.9b | (+.f64 (pow.f64 (*.f64 a 1) 2) (pow.f64 (*.f64 b (sin.f64 (*.f64 (*.f64 (cbrt.f64 (PI.f64)) (cbrt.f64 (PI.f64))) (*.f64 (/.f64 angle 180) (cbrt.f64 (PI.f64)))))) 2)) | |
| 19.5b | (+.f64 (pow.f64 (*.f64 a 1) 2) (pow.f64 (*.f64 b (expm1.f64 (log1p.f64 (sin.f64 (*.f64 (PI.f64) (/.f64 angle 180)))))) 2)) | |
| 19.6b | (+.f64 (pow.f64 (*.f64 a (cos.f64 (*.f64 (*.f64 (cbrt.f64 (PI.f64)) (cbrt.f64 (PI.f64))) (*.f64 (cbrt.f64 (PI.f64)) (/.f64 angle 180))))) 2) (pow.f64 (*.f64 b (sin.f64 (*.f64 (PI.f64) (/.f64 angle 180)))) 2)) | |
| 40.0b | (+.f64 (pow.f64 (*.f64 a 1) 2) (pow.f64 (pow.f64 (*.f64 b (sin.f64 (*.f64 (PI.f64) (/.f64 angle 180)))) (*.f64 (cbrt.f64 2) (cbrt.f64 2))) (cbrt.f64 2))) | |
| ▶ | 19.5b | (+.f64 (pow.f64 (*.f64 a 1) 2) (pow.f64 (*.f64 b (log1p.f64 (expm1.f64 (sin.f64 (*.f64 (PI.f64) (/.f64 angle 180)))))) 2)) |
| 34.0b | (+.f64 (pow.f64 (*.f64 a 1) 2) (pow.f64 (log.f64 (exp.f64 (*.f64 b (sin.f64 (*.f64 (PI.f64) (/.f64 angle 180)))))) 2)) | |
| 41.3b | (+.f64 (pow.f64 (*.f64 a (cos.f64 (*.f64 (PI.f64) (/.f64 angle 180)))) 2) (pow.f64 (*.f64 b (sin.f64 (exp.f64 (+.f64 (log.f64 (PI.f64)) (log.f64 (/.f64 angle 180)))))) 2)) | |
| 24.9b | (+.f64 (pow.f64 (*.f64 a 1) 2) (pow.f64 (*.f64 1/180 (*.f64 angle (*.f64 (PI.f64) b))) 2)) | |
| 19.6b | (+.f64 (pow.f64 (*.f64 a (cos.f64 (*.f64 (*.f64 (cbrt.f64 (*.f64 (PI.f64) (/.f64 angle 180))) (cbrt.f64 (*.f64 (PI.f64) (/.f64 angle 180)))) (cbrt.f64 (*.f64 (PI.f64) (/.f64 angle 180)))))) 2) (pow.f64 (*.f64 b (sin.f64 (*.f64 (PI.f64) (/.f64 angle 180)))) 2)) | |
| 19.6b | (+.f64 (pow.f64 (*.f64 a (cbrt.f64 (pow.f64 (cos.f64 (*.f64 (PI.f64) (/.f64 angle 180))) 3))) 2) (pow.f64 (*.f64 b (sin.f64 (*.f64 (PI.f64) (/.f64 angle 180)))) 2)) |
Compiled 5203 to 3947 computations (24.1% saved)
Found 4 expressions with local error:
| New | Error | Program |
| ✓ | 0.2b | (*.f64 b (log1p.f64 (expm1.f64 (sin.f64 (*.f64 (PI.f64) (/.f64 angle 180)))))) |
| ✓ | 0.3b | (pow.f64 (*.f64 b (log1p.f64 (expm1.f64 (sin.f64 (*.f64 (PI.f64) (/.f64 angle 180)))))) 2) |
| 0.4b | (*.f64 (PI.f64) (/.f64 angle 180)) | |
| 23.8b | (sin.f64 (*.f64 (PI.f64) (/.f64 angle 180))) |
2 calls:
| 56.0ms | (pow.f64 (*.f64 b (log1p.f64 (expm1.f64 (sin.f64 (*.f64 (PI.f64) (/.f64 angle 180)))))) 2) |
| 30.0ms | (*.f64 b (log1p.f64 (expm1.f64 (sin.f64 (*.f64 (PI.f64) (/.f64 angle 180)))))) |
| 1× | rewrite-expression-head |
| 7× | add-exp-log_binary64 |
| 7× | pow1_binary64 |
| 7× | add-sqr-sqrt_binary64 |
| 5× | *-un-lft-identity_binary64 |
| 5× | add-cube-cbrt_binary64 |
2 calls:
| 4.0ms | (*.f64 b (log1p.f64 (expm1.f64 (sin.f64 (*.f64 (PI.f64) (/.f64 angle 180)))))) |
| 4.0ms | (pow.f64 (*.f64 b (log1p.f64 (expm1.f64 (sin.f64 (*.f64 (PI.f64) (/.f64 angle 180)))))) 2) |
| 1× | egg-herbie |
| 692× | fma-neg_binary64 |
| 634× | cancel-sign-sub-inv_binary64 |
| 414× | *-commutative_binary64 |
| 385× | distribute-rgt-neg-in_binary64 |
| 364× | distribute-lft-neg-in_binary64 |
Useful iterations: 3 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 131 | 1684 |
| 1 | 317 | 1631 |
| 2 | 1088 | 1607 |
| 3 | 2583 | 1592 |
| 4 | 4631 | 1592 |
| 5 | 4973 | 1592 |
| 6 | 4944 | 1592 |
37 alts after pruning (37 fresh and 0 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 137 | 4 | 141 |
| Fresh | 3 | 33 | 36 |
| Picked | 1 | 0 | 1 |
| Done | 0 | 0 | 0 |
| Total | 141 | 37 | 178 |
| Status | Error | Program |
| 19.6b | (+.f64 (pow.f64 (*.f64 a (cos.f64 (*.f64 (*.f64 (PI.f64) (/.f64 (*.f64 (cbrt.f64 angle) (cbrt.f64 angle)) (sqrt.f64 180))) (/.f64 (cbrt.f64 angle) (sqrt.f64 180))))) 2) (pow.f64 (*.f64 b (sin.f64 (*.f64 (PI.f64) (/.f64 angle 180)))) 2)) | |
| 19.6b | (+.f64 (pow.f64 (*.f64 a (log1p.f64 (expm1.f64 (cos.f64 (*.f64 (PI.f64) (/.f64 angle 180)))))) 2) (pow.f64 (*.f64 b (sin.f64 (*.f64 (PI.f64) (/.f64 angle 180)))) 2)) | |
| 20.3b | (+.f64 (pow.f64 (*.f64 a 1) 2) (exp.f64 (log.f64 (pow.f64 (*.f64 b (sin.f64 (*.f64 (PI.f64) (/.f64 angle 180)))) 2)))) | |
| 19.7b | (+.f64 (pow.f64 (*.f64 a 1) 2) (pow.f64 (*.f64 b (sin.f64 (*.f64 (*.f64 (PI.f64) (*.f64 (cbrt.f64 (/.f64 angle 180)) (cbrt.f64 (/.f64 angle 180)))) (cbrt.f64 (/.f64 angle 180))))) 2)) | |
| 41.5b | (+.f64 (pow.f64 (*.f64 a 1) 2) (pow.f64 (*.f64 b (log1p.f64 (expm1.f64 (sin.f64 (exp.f64 (+.f64 (log.f64 (PI.f64)) (-.f64 (log.f64 angle) (log.f64 180)))))))) 2)) | |
| 19.6b | (+.f64 (pow.f64 (*.f64 a (cos.f64 (*.f64 (*.f64 (PI.f64) (/.f64 (*.f64 (cbrt.f64 angle) (cbrt.f64 angle)) (*.f64 (cbrt.f64 180) (cbrt.f64 180)))) (/.f64 (cbrt.f64 angle) (cbrt.f64 180))))) 2) (pow.f64 (*.f64 b (sin.f64 (*.f64 (PI.f64) (/.f64 angle 180)))) 2)) | |
| 41.0b | (+.f64 (pow.f64 (*.f64 a (cos.f64 (*.f64 (PI.f64) (/.f64 angle 180)))) 2) (pow.f64 (*.f64 b (sin.f64 (*.f64 (*.f64 (sqrt.f64 (PI.f64)) (/.f64 (sqrt.f64 angle) (sqrt.f64 180))) (*.f64 (sqrt.f64 (PI.f64)) (/.f64 (sqrt.f64 angle) (sqrt.f64 180)))))) 2)) | |
| 40.7b | (+.f64 (pow.f64 (*.f64 a (cos.f64 (exp.f64 (+.f64 (log.f64 (PI.f64)) (-.f64 (log.f64 angle) (log.f64 180)))))) 2) (pow.f64 (*.f64 b (sin.f64 (*.f64 (PI.f64) (/.f64 angle 180)))) 2)) | |
| 19.6b | (+.f64 (pow.f64 (*.f64 a 1) 2) (*.f64 (*.f64 (cbrt.f64 (pow.f64 (*.f64 b (sin.f64 (*.f64 (PI.f64) (/.f64 angle 180)))) 2)) (cbrt.f64 (pow.f64 (*.f64 b (sin.f64 (*.f64 (PI.f64) (/.f64 angle 180)))) 2))) (cbrt.f64 (pow.f64 (*.f64 b (sin.f64 (*.f64 (PI.f64) (/.f64 angle 180)))) 2)))) | |
| 28.7b | (+.f64 (pow.f64 (*.f64 a (cos.f64 (*.f64 (PI.f64) (/.f64 angle 180)))) 2) (cbrt.f64 (pow.f64 (*.f64 b (sin.f64 (*.f64 (PI.f64) (/.f64 angle 180)))) 6))) | |
| 34.6b | (+.f64 (pow.f64 (*.f64 a (cos.f64 (*.f64 (PI.f64) (/.f64 angle 180)))) 2) (-.f64 (+.f64 (*.f64 1/765275040000000 (*.f64 (pow.f64 angle 6) (*.f64 (pow.f64 (PI.f64) 6) (pow.f64 b 2)))) (*.f64 1/32400 (*.f64 (pow.f64 angle 2) (*.f64 (pow.f64 (PI.f64) 2) (pow.f64 b 2))))) (+.f64 (*.f64 1/3149280000 (*.f64 (pow.f64 angle 4) (*.f64 (pow.f64 (PI.f64) 4) (pow.f64 b 2)))) (*.f64 1/347128758144000000000 (*.f64 (pow.f64 angle 8) (*.f64 (pow.f64 (PI.f64) 8) (pow.f64 b 2))))))) | |
| 19.5b | (+.f64 (pow.f64 (*.f64 a (cos.f64 (*.f64 (*.f64 (PI.f64) (*.f64 (cbrt.f64 (/.f64 angle 180)) (cbrt.f64 (/.f64 angle 180)))) (cbrt.f64 (/.f64 angle 180))))) 2) (pow.f64 (*.f64 b (sin.f64 (*.f64 (PI.f64) (/.f64 angle 180)))) 2)) | |
| 19.6b | (+.f64 (pow.f64 (*.f64 a 1) 2) (pow.f64 (*.f64 b (log1p.f64 (expm1.f64 (sin.f64 (*.f64 (/.f64 (PI.f64) (sqrt.f64 180)) (/.f64 angle (sqrt.f64 180))))))) 2)) | |
| 27.2b | (+.f64 (pow.f64 (*.f64 a 1) 2) (*.f64 (*.f64 b b) (pow.f64 (sin.f64 (*.f64 1/180 (*.f64 angle (PI.f64)))) 2))) | |
| 19.8b | (+.f64 (pow.f64 (*.f64 a 1) 2) (pow.f64 (*.f64 b (sin.f64 (*.f64 (*.f64 (PI.f64) (*.f64 (cbrt.f64 angle) (cbrt.f64 angle))) (/.f64 (cbrt.f64 angle) 180)))) 2)) | |
| 23.1b | (+.f64 (pow.f64 (*.f64 a (cos.f64 (*.f64 (PI.f64) (/.f64 angle 180)))) 2) (pow.f64 (*.f64 b (sin.f64 (expm1.f64 (log1p.f64 (*.f64 (PI.f64) (/.f64 angle 180)))))) 2)) | |
| 19.5b | (+.f64 (pow.f64 (*.f64 a (cos.f64 (*.f64 (/.f64 (PI.f64) (*.f64 (cbrt.f64 180) (cbrt.f64 180))) (/.f64 angle (cbrt.f64 180))))) 2) (pow.f64 (*.f64 b (sin.f64 (*.f64 (PI.f64) (/.f64 angle 180)))) 2)) | |
| 19.5b | (+.f64 (pow.f64 (*.f64 a 1) 2) (pow.f64 (*.f64 b (sin.f64 (*.f64 1/180 (*.f64 angle (PI.f64))))) 2)) | |
| 24.3b | (+.f64 (pow.f64 (*.f64 a (cos.f64 (cbrt.f64 (*.f64 (*.f64 (*.f64 (PI.f64) (PI.f64)) (PI.f64)) (/.f64 (*.f64 (*.f64 angle angle) angle) (*.f64 (*.f64 180 180) 180)))))) 2) (pow.f64 (*.f64 b (sin.f64 (*.f64 (PI.f64) (/.f64 angle 180)))) 2)) | |
| 20.0b | (+.f64 (pow.f64 (*.f64 a (cos.f64 (*.f64 (PI.f64) (/.f64 angle 180)))) 2) (pow.f64 (*.f64 b (sin.f64 (*.f64 (*.f64 (cbrt.f64 (*.f64 (PI.f64) (/.f64 angle 180))) (cbrt.f64 (*.f64 (PI.f64) (/.f64 angle 180)))) (cbrt.f64 (*.f64 (PI.f64) (/.f64 angle 180)))))) 2)) | |
| 26.7b | (+.f64 (pow.f64 (*.f64 a (cos.f64 (*.f64 (PI.f64) (/.f64 angle 180)))) 2) (pow.f64 (*.f64 b (fma.f64 (pow.f64 (*.f64 angle (PI.f64)) 3) -1/34992000 (*.f64 1/180 (*.f64 angle (PI.f64))))) 2)) | |
| 19.8b | (+.f64 (pow.f64 (*.f64 a 1) 2) (pow.f64 (*.f64 b (sin.f64 (*.f64 (/.f64 (PI.f64) (*.f64 (cbrt.f64 180) (cbrt.f64 180))) (/.f64 angle (cbrt.f64 180))))) 2)) | |
| 40.9b | (+.f64 (pow.f64 (*.f64 a (cos.f64 (*.f64 (PI.f64) (/.f64 angle 180)))) 2) (pow.f64 (*.f64 b (sin.f64 (*.f64 (*.f64 (PI.f64) (sqrt.f64 angle)) (/.f64 (sqrt.f64 angle) 180)))) 2)) | |
| 19.5b | (+.f64 (pow.f64 (*.f64 a (cos.f64 (*.f64 (*.f64 (PI.f64) (*.f64 (cbrt.f64 angle) (cbrt.f64 angle))) (/.f64 (cbrt.f64 angle) 180)))) 2) (pow.f64 (*.f64 b (sin.f64 (*.f64 (PI.f64) (/.f64 angle 180)))) 2)) | |
| 19.7b | (+.f64 (pow.f64 (*.f64 a 1) 2) (pow.f64 (*.f64 (*.f64 (cbrt.f64 (*.f64 b (sin.f64 (*.f64 (PI.f64) (/.f64 angle 180))))) (cbrt.f64 (*.f64 b (sin.f64 (*.f64 (PI.f64) (/.f64 angle 180)))))) (cbrt.f64 (*.f64 b (sin.f64 (*.f64 (PI.f64) (/.f64 angle 180)))))) 2)) | |
| 19.9b | (+.f64 (pow.f64 (*.f64 a 1) 2) (expm1.f64 (log1p.f64 (pow.f64 (*.f64 b (sin.f64 (*.f64 (PI.f64) (/.f64 angle 180)))) 2)))) | |
| 19.6b | (+.f64 (pow.f64 (*.f64 a (*.f64 (*.f64 (cbrt.f64 (cos.f64 (*.f64 (PI.f64) (/.f64 angle 180)))) (cbrt.f64 (cos.f64 (*.f64 (PI.f64) (/.f64 angle 180))))) (cbrt.f64 (cos.f64 (*.f64 (PI.f64) (/.f64 angle 180)))))) 2) (pow.f64 (*.f64 b (sin.f64 (*.f64 (PI.f64) (/.f64 angle 180)))) 2)) | |
| 19.9b | (+.f64 (pow.f64 (*.f64 a 1) 2) (pow.f64 (*.f64 b (sin.f64 (*.f64 (*.f64 (cbrt.f64 (PI.f64)) (cbrt.f64 (PI.f64))) (*.f64 (/.f64 angle 180) (cbrt.f64 (PI.f64)))))) 2)) | |
| ▶ | 19.5b | (+.f64 (pow.f64 (*.f64 a 1) 2) (pow.f64 (*.f64 b (expm1.f64 (log1p.f64 (sin.f64 (*.f64 (PI.f64) (/.f64 angle 180)))))) 2)) |
| 19.6b | (+.f64 (pow.f64 (*.f64 a (cos.f64 (*.f64 (*.f64 (cbrt.f64 (PI.f64)) (cbrt.f64 (PI.f64))) (*.f64 (cbrt.f64 (PI.f64)) (/.f64 angle 180))))) 2) (pow.f64 (*.f64 b (sin.f64 (*.f64 (PI.f64) (/.f64 angle 180)))) 2)) | |
| 19.9b | (+.f64 (pow.f64 (*.f64 a 1) 2) (pow.f64 (*.f64 b (log1p.f64 (expm1.f64 (sin.f64 (*.f64 (*.f64 (PI.f64) (/.f64 (*.f64 (cbrt.f64 angle) (cbrt.f64 angle)) (*.f64 (cbrt.f64 180) (cbrt.f64 180)))) (/.f64 (cbrt.f64 angle) (cbrt.f64 180))))))) 2)) | |
| 34.0b | (+.f64 (pow.f64 (*.f64 a 1) 2) (pow.f64 (log.f64 (exp.f64 (*.f64 b (sin.f64 (*.f64 (PI.f64) (/.f64 angle 180)))))) 2)) | |
| 40.0b | (+.f64 (pow.f64 (*.f64 a 1) 2) (pow.f64 (pow.f64 (*.f64 b (sin.f64 (*.f64 (PI.f64) (/.f64 angle 180)))) (*.f64 (cbrt.f64 2) (cbrt.f64 2))) (cbrt.f64 2))) | |
| 41.5b | (+.f64 (pow.f64 (*.f64 a 1) 2) (pow.f64 (*.f64 b (log1p.f64 (expm1.f64 (sin.f64 (exp.f64 (+.f64 (log.f64 (PI.f64)) (log.f64 (/.f64 angle 180)))))))) 2)) | |
| 24.9b | (+.f64 (pow.f64 (*.f64 a 1) 2) (pow.f64 (*.f64 1/180 (*.f64 angle (*.f64 (PI.f64) b))) 2)) | |
| 19.6b | (+.f64 (pow.f64 (*.f64 a (cos.f64 (*.f64 (*.f64 (cbrt.f64 (*.f64 (PI.f64) (/.f64 angle 180))) (cbrt.f64 (*.f64 (PI.f64) (/.f64 angle 180)))) (cbrt.f64 (*.f64 (PI.f64) (/.f64 angle 180)))))) 2) (pow.f64 (*.f64 b (sin.f64 (*.f64 (PI.f64) (/.f64 angle 180)))) 2)) | |
| 19.6b | (+.f64 (pow.f64 (*.f64 a (cbrt.f64 (pow.f64 (cos.f64 (*.f64 (PI.f64) (/.f64 angle 180))) 3))) 2) (pow.f64 (*.f64 b (sin.f64 (*.f64 (PI.f64) (/.f64 angle 180)))) 2)) |
Compiled 5835 to 4494 computations (23% saved)
Found 4 expressions with local error:
| New | Error | Program |
| ✓ | 0.2b | (log1p.f64 (sin.f64 (*.f64 (PI.f64) (/.f64 angle 180)))) |
| ✓ | 0.3b | (pow.f64 (*.f64 b (expm1.f64 (log1p.f64 (sin.f64 (*.f64 (PI.f64) (/.f64 angle 180)))))) 2) |
| 0.4b | (*.f64 (PI.f64) (/.f64 angle 180)) | |
| 23.8b | (sin.f64 (*.f64 (PI.f64) (/.f64 angle 180))) |
2 calls:
| 449.0ms | (log1p.f64 (sin.f64 (*.f64 (PI.f64) (/.f64 angle 180)))) |
| 54.0ms | (pow.f64 (*.f64 b (expm1.f64 (log1p.f64 (sin.f64 (*.f64 (PI.f64) (/.f64 angle 180)))))) 2) |
| 1× | rewrite-expression-head |
| 5× | add-exp-log_binary64 |
| 5× | pow1_binary64 |
| 3× | *-un-lft-identity_binary64 |
| 3× | add-sqr-sqrt_binary64 |
| 3× | pow-unpow_binary64 |
2 calls:
| 5.0ms | (pow.f64 (*.f64 b (expm1.f64 (log1p.f64 (sin.f64 (*.f64 (PI.f64) (/.f64 angle 180)))))) 2) |
| 1.0ms | (log1p.f64 (sin.f64 (*.f64 (PI.f64) (/.f64 angle 180)))) |
| 1× | egg-herbie |
| 841× | associate-*l*_binary64 |
| 801× | fma-neg_binary64 |
| 484× | distribute-rgt-neg-in_binary64 |
| 481× | distribute-lft-neg-in_binary64 |
| 253× | fma-def_binary64 |
Useful iterations: 3 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 105 | 1322 |
| 1 | 245 | 1274 |
| 2 | 761 | 1254 |
| 3 | 2885 | 1236 |
| 4 | 5070 | 1236 |
38 alts after pruning (38 fresh and 0 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 116 | 5 | 121 |
| Fresh | 3 | 33 | 36 |
| Picked | 1 | 0 | 1 |
| Done | 0 | 0 | 0 |
| Total | 120 | 38 | 158 |
| Status | Error | Program |
| 19.6b | (+.f64 (pow.f64 (*.f64 a (cos.f64 (*.f64 (*.f64 (PI.f64) (/.f64 (*.f64 (cbrt.f64 angle) (cbrt.f64 angle)) (sqrt.f64 180))) (/.f64 (cbrt.f64 angle) (sqrt.f64 180))))) 2) (pow.f64 (*.f64 b (sin.f64 (*.f64 (PI.f64) (/.f64 angle 180)))) 2)) | |
| 19.6b | (+.f64 (pow.f64 (*.f64 a (log1p.f64 (expm1.f64 (cos.f64 (*.f64 (PI.f64) (/.f64 angle 180)))))) 2) (pow.f64 (*.f64 b (sin.f64 (*.f64 (PI.f64) (/.f64 angle 180)))) 2)) | |
| 41.5b | (+.f64 (pow.f64 (*.f64 a 1) 2) (pow.f64 (*.f64 b (log1p.f64 (expm1.f64 (sin.f64 (exp.f64 (+.f64 (log.f64 (PI.f64)) (-.f64 (log.f64 angle) (log.f64 180)))))))) 2)) | |
| 19.6b | (+.f64 (pow.f64 (*.f64 a (cos.f64 (*.f64 (*.f64 (PI.f64) (/.f64 (*.f64 (cbrt.f64 angle) (cbrt.f64 angle)) (*.f64 (cbrt.f64 180) (cbrt.f64 180)))) (/.f64 (cbrt.f64 angle) (cbrt.f64 180))))) 2) (pow.f64 (*.f64 b (sin.f64 (*.f64 (PI.f64) (/.f64 angle 180)))) 2)) | |
| 41.0b | (+.f64 (pow.f64 (*.f64 a (cos.f64 (*.f64 (PI.f64) (/.f64 angle 180)))) 2) (pow.f64 (*.f64 b (sin.f64 (*.f64 (*.f64 (sqrt.f64 (PI.f64)) (/.f64 (sqrt.f64 angle) (sqrt.f64 180))) (*.f64 (sqrt.f64 (PI.f64)) (/.f64 (sqrt.f64 angle) (sqrt.f64 180)))))) 2)) | |
| 40.7b | (+.f64 (pow.f64 (*.f64 a (cos.f64 (exp.f64 (+.f64 (log.f64 (PI.f64)) (-.f64 (log.f64 angle) (log.f64 180)))))) 2) (pow.f64 (*.f64 b (sin.f64 (*.f64 (PI.f64) (/.f64 angle 180)))) 2)) | |
| 19.6b | (+.f64 (pow.f64 (*.f64 a 1) 2) (*.f64 (*.f64 (cbrt.f64 (pow.f64 (*.f64 b (sin.f64 (*.f64 (PI.f64) (/.f64 angle 180)))) 2)) (cbrt.f64 (pow.f64 (*.f64 b (sin.f64 (*.f64 (PI.f64) (/.f64 angle 180)))) 2))) (cbrt.f64 (pow.f64 (*.f64 b (sin.f64 (*.f64 (PI.f64) (/.f64 angle 180)))) 2)))) | |
| 28.7b | (+.f64 (pow.f64 (*.f64 a (cos.f64 (*.f64 (PI.f64) (/.f64 angle 180)))) 2) (cbrt.f64 (pow.f64 (*.f64 b (sin.f64 (*.f64 (PI.f64) (/.f64 angle 180)))) 6))) | |
| 34.6b | (+.f64 (pow.f64 (*.f64 a (cos.f64 (*.f64 (PI.f64) (/.f64 angle 180)))) 2) (-.f64 (+.f64 (*.f64 1/765275040000000 (*.f64 (pow.f64 angle 6) (*.f64 (pow.f64 (PI.f64) 6) (pow.f64 b 2)))) (*.f64 1/32400 (*.f64 (pow.f64 angle 2) (*.f64 (pow.f64 (PI.f64) 2) (pow.f64 b 2))))) (+.f64 (*.f64 1/3149280000 (*.f64 (pow.f64 angle 4) (*.f64 (pow.f64 (PI.f64) 4) (pow.f64 b 2)))) (*.f64 1/347128758144000000000 (*.f64 (pow.f64 angle 8) (*.f64 (pow.f64 (PI.f64) 8) (pow.f64 b 2))))))) | |
| 29.4b | (+.f64 (pow.f64 (*.f64 a 1) 2) (pow.f64 (*.f64 b (expm1.f64 (log.f64 (+.f64 1 (sin.f64 (*.f64 1/180 (*.f64 angle (PI.f64)))))))) 2)) | |
| 41.5b | (+.f64 (pow.f64 (*.f64 a 1) 2) (pow.f64 (*.f64 b (log1p.f64 (expm1.f64 (sin.f64 (exp.f64 (+.f64 (log.f64 (PI.f64)) (log.f64 (/.f64 angle 180)))))))) 2)) | |
| 22.3b | (+.f64 (pow.f64 (*.f64 a 1) 2) (pow.f64 (*.f64 b (expm1.f64 (expm1.f64 (log1p.f64 (log1p.f64 (sin.f64 (*.f64 (PI.f64) (/.f64 angle 180)))))))) 2)) | |
| 19.5b | (+.f64 (pow.f64 (*.f64 a (cos.f64 (*.f64 (*.f64 (PI.f64) (*.f64 (cbrt.f64 (/.f64 angle 180)) (cbrt.f64 (/.f64 angle 180)))) (cbrt.f64 (/.f64 angle 180))))) 2) (pow.f64 (*.f64 b (sin.f64 (*.f64 (PI.f64) (/.f64 angle 180)))) 2)) | |
| 19.6b | (+.f64 (pow.f64 (*.f64 a 1) 2) (pow.f64 (*.f64 b (log1p.f64 (expm1.f64 (sin.f64 (*.f64 (/.f64 (PI.f64) (sqrt.f64 180)) (/.f64 angle (sqrt.f64 180))))))) 2)) | |
| 27.2b | (+.f64 (pow.f64 (*.f64 a 1) 2) (*.f64 (*.f64 b b) (pow.f64 (sin.f64 (*.f64 1/180 (*.f64 angle (PI.f64)))) 2))) | |
| 19.8b | (+.f64 (pow.f64 (*.f64 a 1) 2) (pow.f64 (*.f64 b (sin.f64 (*.f64 (*.f64 (PI.f64) (*.f64 (cbrt.f64 angle) (cbrt.f64 angle))) (/.f64 (cbrt.f64 angle) 180)))) 2)) | |
| 23.1b | (+.f64 (pow.f64 (*.f64 a (cos.f64 (*.f64 (PI.f64) (/.f64 angle 180)))) 2) (pow.f64 (*.f64 b (sin.f64 (expm1.f64 (log1p.f64 (*.f64 (PI.f64) (/.f64 angle 180)))))) 2)) | |
| 19.5b | (+.f64 (pow.f64 (*.f64 a (cos.f64 (*.f64 (/.f64 (PI.f64) (*.f64 (cbrt.f64 180) (cbrt.f64 180))) (/.f64 angle (cbrt.f64 180))))) 2) (pow.f64 (*.f64 b (sin.f64 (*.f64 (PI.f64) (/.f64 angle 180)))) 2)) | |
| 20.1b | (+.f64 (pow.f64 (*.f64 a 1) 2) (pow.f64 (*.f64 b (expm1.f64 (-.f64 (*.f64 1/180 (*.f64 angle (PI.f64))) (*.f64 1/64800 (*.f64 (pow.f64 angle 2) (pow.f64 (PI.f64) 2)))))) 2)) | |
| 24.3b | (+.f64 (pow.f64 (*.f64 a (cos.f64 (cbrt.f64 (*.f64 (*.f64 (*.f64 (PI.f64) (PI.f64)) (PI.f64)) (/.f64 (*.f64 (*.f64 angle angle) angle) (*.f64 (*.f64 180 180) 180)))))) 2) (pow.f64 (*.f64 b (sin.f64 (*.f64 (PI.f64) (/.f64 angle 180)))) 2)) | |
| 19.8b | (+.f64 (pow.f64 (*.f64 a 1) 2) (pow.f64 (*.f64 b (expm1.f64 (log1p.f64 (sin.f64 (*.f64 (sqrt.f64 (PI.f64)) (*.f64 (/.f64 angle 180) (sqrt.f64 (PI.f64)))))))) 2)) | |
| 20.0b | (+.f64 (pow.f64 (*.f64 a (cos.f64 (*.f64 (PI.f64) (/.f64 angle 180)))) 2) (pow.f64 (*.f64 b (sin.f64 (*.f64 (*.f64 (cbrt.f64 (*.f64 (PI.f64) (/.f64 angle 180))) (cbrt.f64 (*.f64 (PI.f64) (/.f64 angle 180)))) (cbrt.f64 (*.f64 (PI.f64) (/.f64 angle 180)))))) 2)) | |
| 26.7b | (+.f64 (pow.f64 (*.f64 a (cos.f64 (*.f64 (PI.f64) (/.f64 angle 180)))) 2) (pow.f64 (*.f64 b (fma.f64 (pow.f64 (*.f64 angle (PI.f64)) 3) -1/34992000 (*.f64 1/180 (*.f64 angle (PI.f64))))) 2)) | |
| 19.9b | (+.f64 (pow.f64 (*.f64 a 1) 2) (pow.f64 (*.f64 b (expm1.f64 (log1p.f64 (sin.f64 (*.f64 (*.f64 (PI.f64) (/.f64 (*.f64 (cbrt.f64 angle) (cbrt.f64 angle)) (*.f64 (cbrt.f64 180) (cbrt.f64 180)))) (/.f64 (cbrt.f64 angle) (cbrt.f64 180))))))) 2)) | |
| 19.5b | (+.f64 (pow.f64 (*.f64 a (cos.f64 (*.f64 (*.f64 (PI.f64) (*.f64 (cbrt.f64 angle) (cbrt.f64 angle))) (/.f64 (cbrt.f64 angle) 180)))) 2) (pow.f64 (*.f64 b (sin.f64 (*.f64 (PI.f64) (/.f64 angle 180)))) 2)) | |
| 19.7b | (+.f64 (pow.f64 (*.f64 a 1) 2) (pow.f64 (*.f64 (*.f64 (cbrt.f64 (*.f64 b (sin.f64 (*.f64 (PI.f64) (/.f64 angle 180))))) (cbrt.f64 (*.f64 b (sin.f64 (*.f64 (PI.f64) (/.f64 angle 180)))))) (cbrt.f64 (*.f64 b (sin.f64 (*.f64 (PI.f64) (/.f64 angle 180)))))) 2)) | |
| 19.9b | (+.f64 (pow.f64 (*.f64 a 1) 2) (expm1.f64 (log1p.f64 (pow.f64 (*.f64 b (sin.f64 (*.f64 (PI.f64) (/.f64 angle 180)))) 2)))) | |
| 19.6b | (+.f64 (pow.f64 (*.f64 a (*.f64 (*.f64 (cbrt.f64 (cos.f64 (*.f64 (PI.f64) (/.f64 angle 180)))) (cbrt.f64 (cos.f64 (*.f64 (PI.f64) (/.f64 angle 180))))) (cbrt.f64 (cos.f64 (*.f64 (PI.f64) (/.f64 angle 180)))))) 2) (pow.f64 (*.f64 b (sin.f64 (*.f64 (PI.f64) (/.f64 angle 180)))) 2)) | |
| 19.9b | (+.f64 (pow.f64 (*.f64 a 1) 2) (pow.f64 (*.f64 b (sin.f64 (*.f64 (*.f64 (cbrt.f64 (PI.f64)) (cbrt.f64 (PI.f64))) (*.f64 (/.f64 angle 180) (cbrt.f64 (PI.f64)))))) 2)) | |
| 19.6b | (+.f64 (pow.f64 (*.f64 a (cos.f64 (*.f64 (*.f64 (cbrt.f64 (PI.f64)) (cbrt.f64 (PI.f64))) (*.f64 (cbrt.f64 (PI.f64)) (/.f64 angle 180))))) 2) (pow.f64 (*.f64 b (sin.f64 (*.f64 (PI.f64) (/.f64 angle 180)))) 2)) | |
| 19.9b | (+.f64 (pow.f64 (*.f64 a 1) 2) (pow.f64 (*.f64 b (log1p.f64 (expm1.f64 (sin.f64 (*.f64 (*.f64 (PI.f64) (/.f64 (*.f64 (cbrt.f64 angle) (cbrt.f64 angle)) (*.f64 (cbrt.f64 180) (cbrt.f64 180)))) (/.f64 (cbrt.f64 angle) (cbrt.f64 180))))))) 2)) | |
| 34.0b | (+.f64 (pow.f64 (*.f64 a 1) 2) (pow.f64 (log.f64 (exp.f64 (*.f64 b (sin.f64 (*.f64 (PI.f64) (/.f64 angle 180)))))) 2)) | |
| 40.0b | (+.f64 (pow.f64 (*.f64 a 1) 2) (pow.f64 (pow.f64 (*.f64 b (sin.f64 (*.f64 (PI.f64) (/.f64 angle 180)))) (*.f64 (cbrt.f64 2) (cbrt.f64 2))) (cbrt.f64 2))) | |
| 19.7b | (+.f64 (pow.f64 (*.f64 a 1) 2) (pow.f64 (*.f64 b (sin.f64 (*.f64 (*.f64 (PI.f64) (*.f64 (cbrt.f64 (/.f64 angle 180)) (cbrt.f64 (/.f64 angle 180)))) (cbrt.f64 (/.f64 angle 180))))) 2)) | |
| 24.9b | (+.f64 (pow.f64 (*.f64 a 1) 2) (pow.f64 (*.f64 1/180 (*.f64 angle (*.f64 (PI.f64) b))) 2)) | |
| 19.6b | (+.f64 (pow.f64 (*.f64 a (cos.f64 (*.f64 (*.f64 (cbrt.f64 (*.f64 (PI.f64) (/.f64 angle 180))) (cbrt.f64 (*.f64 (PI.f64) (/.f64 angle 180)))) (cbrt.f64 (*.f64 (PI.f64) (/.f64 angle 180)))))) 2) (pow.f64 (*.f64 b (sin.f64 (*.f64 (PI.f64) (/.f64 angle 180)))) 2)) | |
| 40.9b | (+.f64 (pow.f64 (*.f64 a (cos.f64 (*.f64 (PI.f64) (/.f64 angle 180)))) 2) (pow.f64 (*.f64 b (sin.f64 (*.f64 (*.f64 (PI.f64) (sqrt.f64 angle)) (/.f64 (sqrt.f64 angle) 180)))) 2)) | |
| 19.6b | (+.f64 (pow.f64 (*.f64 a (cbrt.f64 (pow.f64 (cos.f64 (*.f64 (PI.f64) (/.f64 angle 180))) 3))) 2) (pow.f64 (*.f64 b (sin.f64 (*.f64 (PI.f64) (/.f64 angle 180)))) 2)) |
Compiled 4235 to 3251 computations (23.2% saved)
Total 1.5b remaining (7.3%)
Threshold costs 0b (0%)
Compiled 46925 to 37802 computations (19.4% saved)
| 1× | egg-herbie |
| 4× | *-commutative_binary64 |
| 1× | +-commutative_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 20 | 41 |
| 1 | 25 | 41 |
| 2 | 25 | 41 |
Compiled 28 to 23 computations (17.9% saved)
| 1× | intervals |
| 3.5s | 1572× | body | 1024 | valid |
| 3.2s | 1419× | body | 1024 | invalid |
| 1.5s | 5000× | body | 128 | valid |
| 1.2s | 803× | body | 512 | valid |
| 1.0s | 685× | body | 512 | invalid |
| 644.0ms | 202× | body | 2048 | valid |
| 324.0ms | 419× | body | 256 | valid |
| 279.0ms | 318× | body | 256 | invalid |
| 201.0ms | 648× | body | 128 | invalid |
| 43.0ms | 4× | body | 4096 | valid |
Compiled 1225 to 976 computations (20.3% saved)
Loading profile data...