Time bar (total: 15.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 |
| 31.2% | 68.6% | 0.1% | 8 |
| 31.2% | 56.2% | 12.6% | 9 |
| 34.3% | 53% | 12.6% | 10 |
| 37.4% | 49.9% | 12.6% | 11 |
| 46.8% | 40.6% | 12.6% | 12 |
| 47.8% | 39.6% | 12.6% | 13 |
| 49.7% | 37.1% | 13.2% | 14 |
Compiled 25 to 20 computations (20% saved)
| 2.5s | 1669× | body | 1024 | valid |
| 2.0s | 1440× | body | 1024 | invalid |
| 1.2s | 5176× | body | 128 | valid |
| 773.0ms | 830× | body | 512 | valid |
| 744.0ms | 690× | body | 512 | invalid |
| 396.0ms | 189× | body | 2048 | valid |
| 211.0ms | 390× | body | 256 | valid |
| 193.0ms | 343× | body | 256 | invalid |
| 127.0ms | 554× | body | 128 | invalid |
| 11.0ms | 2× | body | 4096 | valid |
Compiled 74 to 59 computations (20.3% 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 | 122 | 34 |
| 4 | 216 | 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 |
| ▶ | 22.1b | (+.f64 (pow.f64 (*.f64 a (sin.f64 (*.f64 (/.f64 angle 180) (PI.f64)))) 2) (pow.f64 (*.f64 b (cos.f64 (*.f64 (/.f64 angle 180) (PI.f64)))) 2)) |
Compiled 72 to 57 computations (20.8% saved)
Found 4 expressions with local error:
| New | Error | Program |
| ✓ | 0.3b | (*.f64 (/.f64 angle 180) (PI.f64)) |
| ✓ | 0.3b | (pow.f64 (*.f64 a (sin.f64 (*.f64 (/.f64 angle 180) (PI.f64)))) 2) |
| ✓ | 24.7b | (cos.f64 (*.f64 (/.f64 angle 180) (PI.f64))) |
| ✓ | 24.9b | (sin.f64 (*.f64 (/.f64 angle 180) (PI.f64))) |
4 calls:
| 24.0ms | (pow.f64 (*.f64 a (sin.f64 (*.f64 (/.f64 angle 180) (PI.f64)))) 2) |
| 3.0ms | (sin.f64 (*.f64 (/.f64 angle 180) (PI.f64))) |
| 3.0ms | (cos.f64 (*.f64 (/.f64 angle 180) (PI.f64))) |
| 3.0ms | (*.f64 (/.f64 angle 180) (PI.f64)) |
| 2× | batch-egg-rewrite |
| 557× | log-prod_binary64 |
| 298× | prod-diff_binary64 |
| 213× | expm1-udef_binary64 |
| 213× | log1p-udef_binary64 |
| 189× | log-pow_binary64 |
4 calls:
| 58.0ms | (*.f64 (/.f64 angle 180) (PI.f64)) |
| 58.0ms | (pow.f64 (*.f64 a (sin.f64 (*.f64 (/.f64 angle 180) (PI.f64)))) 2) |
| 58.0ms | (cos.f64 (*.f64 (/.f64 angle 180) (PI.f64))) |
| 58.0ms | (sin.f64 (*.f64 (/.f64 angle 180) (PI.f64))) |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 12 | 44 |
| 1 | 252 | 44 |
| 2 | 2760 | 44 |
| 3 | 5062 | 44 |
| 0 | 0 | 0 |
| 1 | 0 | 0 |
| 1× | egg-herbie |
| 633× | fma-neg_binary64 |
| 472× | sub-neg_binary64 |
| 422× | distribute-rgt-neg-in_binary64 |
| 411× | distribute-lft-neg-in_binary64 |
| 329× | *-commutative_binary64 |
Useful iterations: 3 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 93 | 1058 |
| 1 | 248 | 1050 |
| 2 | 865 | 1028 |
| 3 | 2218 | 1012 |
| 4 | 4369 | 1012 |
| 5 | 4974 | 1012 |
| 6 | 4945 | 1012 |
31 alts after pruning (31 fresh and 0 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 116 | 31 | 147 |
| Fresh | 0 | 0 | 0 |
| Picked | 1 | 0 | 1 |
| Done | 0 | 0 | 0 |
| Total | 117 | 31 | 148 |
| Status | Error | Program |
| 22.2b | (+.f64 (pow.f64 (*.f64 a (sin.f64 (*.f64 (/.f64 angle 180) (PI.f64)))) 2) (pow.f64 (*.f64 b (cos.f64 (pow.f64 (cbrt.f64 (*.f64 (/.f64 angle 180) (PI.f64))) 3))) 2)) | |
| 23.2b | (+.f64 (pow.f64 (*.f64 a (sin.f64 (*.f64 (/.f64 angle 180) (PI.f64)))) 2) (pow.f64 (*.f64 b (+.f64 (log.f64 (*.f64 (cbrt.f64 (exp.f64 (cos.f64 (*.f64 (/.f64 angle 180) (PI.f64))))) (cbrt.f64 (exp.f64 (cos.f64 (*.f64 (/.f64 angle 180) (PI.f64))))))) (log.f64 (cbrt.f64 (exp.f64 (cos.f64 (*.f64 (/.f64 angle 180) (PI.f64)))))))) 2)) | |
| 38.5b | (+.f64 (pow.f64 (*.f64 a (sin.f64 (pow.f64 (pow.f64 (*.f64 (/.f64 angle 180) (PI.f64)) 3) 1/3))) 2) (pow.f64 (*.f64 b (cos.f64 (*.f64 (/.f64 angle 180) (PI.f64)))) 2)) | |
| 28.5b | (+.f64 (sqrt.f64 (pow.f64 (*.f64 (sin.f64 (*.f64 (/.f64 angle 180) (PI.f64))) a) 4)) (pow.f64 (*.f64 b (cos.f64 (*.f64 (/.f64 angle 180) (PI.f64)))) 2)) | |
| 25.6b | (+.f64 (pow.f64 (*.f64 a (sin.f64 (*.f64 (/.f64 angle 180) (PI.f64)))) 2) (pow.f64 (*.f64 b (+.f64 (*.f64 (cos.f64 (exp.f64 (log1p.f64 (*.f64 (/.f64 angle 180) (PI.f64))))) (cos.f64 1)) (*.f64 (sin.f64 (exp.f64 (log1p.f64 (*.f64 (/.f64 angle 180) (PI.f64))))) (sin.f64 1)))) 2)) | |
| 22.1b | (+.f64 (pow.f64 (*.f64 a (sin.f64 (*.f64 (/.f64 angle 180) (PI.f64)))) 2) (pow.f64 (*.f64 b (cos.f64 (*.f64 1/180 (*.f64 angle (PI.f64))))) 2)) | |
| 33.3b | (+.f64 (pow.f64 (*.f64 a (sin.f64 (*.f64 (/.f64 angle 180) (PI.f64)))) 2) (pow.f64 (*.f64 b (cos.f64 (pow.f64 (pow.f64 (*.f64 (/.f64 angle 180) (PI.f64)) 3) 1/3))) 2)) | |
| 22.1b | (+.f64 (pow.f64 (*.f64 a (sin.f64 (*.f64 (/.f64 angle 180) (PI.f64)))) 2) (pow.f64 (*.f64 b 1) 2)) | |
| 40.0b | (+.f64 (*.f64 (sqrt.f64 (*.f64 (sin.f64 (*.f64 (/.f64 angle 180) (PI.f64))) a)) (*.f64 (sqrt.f64 (*.f64 (sin.f64 (*.f64 (/.f64 angle 180) (PI.f64))) a)) (*.f64 (sin.f64 (*.f64 (/.f64 angle 180) (PI.f64))) a))) (pow.f64 (*.f64 b (cos.f64 (*.f64 (/.f64 angle 180) (PI.f64)))) 2)) | |
| 27.3b | (+.f64 (pow.f64 (*.f64 a (cbrt.f64 (pow.f64 (sin.f64 (*.f64 (/.f64 angle 180) (PI.f64))) 3))) 2) (pow.f64 (*.f64 b (cos.f64 (*.f64 (/.f64 angle 180) (PI.f64)))) 2)) | |
| 22.2b | (+.f64 (pow.f64 (*.f64 a (sin.f64 (*.f64 1/180 (*.f64 angle (PI.f64))))) 2) (pow.f64 (*.f64 b (cos.f64 (*.f64 (/.f64 angle 180) (PI.f64)))) 2)) | |
| 22.1b | (+.f64 (pow.f64 (*.f64 a (sin.f64 (/.f64 (*.f64 angle (PI.f64)) 180))) 2) (pow.f64 (*.f64 b (cos.f64 (*.f64 (/.f64 angle 180) (PI.f64)))) 2)) | |
| 22.3b | (+.f64 (pow.f64 (*.f64 a (pow.f64 (cbrt.f64 (sin.f64 (*.f64 (/.f64 angle 180) (PI.f64)))) 3)) 2) (pow.f64 (*.f64 b (cos.f64 (*.f64 (/.f64 angle 180) (PI.f64)))) 2)) | |
| ▶ | 22.0b | (+.f64 (pow.f64 (*.f64 a (sin.f64 (*.f64 (/.f64 angle 180) (PI.f64)))) 2) (pow.f64 (*.f64 b (cos.f64 (/.f64 1 (/.f64 180 (*.f64 angle (PI.f64)))))) 2)) |
| 22.1b | (+.f64 (pow.f64 (*.f64 a (sin.f64 (*.f64 (/.f64 angle 180) (PI.f64)))) 2) (pow.f64 (*.f64 b (cbrt.f64 (pow.f64 (cos.f64 (*.f64 (/.f64 angle 180) (PI.f64))) 3))) 2)) | |
| 25.5b | (+.f64 (pow.f64 (*.f64 a (sin.f64 (expm1.f64 (log1p.f64 (*.f64 (/.f64 angle 180) (PI.f64)))))) 2) (pow.f64 (*.f64 b (cos.f64 (*.f64 (/.f64 angle 180) (PI.f64)))) 2)) | |
| 22.2b | (+.f64 (pow.f64 (*.f64 a (sin.f64 (/.f64 (PI.f64) (/.f64 180 angle)))) 2) (pow.f64 (*.f64 b (cos.f64 (*.f64 (/.f64 angle 180) (PI.f64)))) 2)) | |
| 34.8b | (+.f64 (pow.f64 (*.f64 a (-.f64 (*.f64 (sin.f64 (exp.f64 (log1p.f64 (*.f64 (/.f64 angle 180) (PI.f64))))) (cos.f64 1)) (*.f64 (cos.f64 (exp.f64 (log1p.f64 (*.f64 (/.f64 angle 180) (PI.f64))))) (sin.f64 1)))) 2) (pow.f64 (*.f64 b (cos.f64 (*.f64 (/.f64 angle 180) (PI.f64)))) 2)) | |
| 31.5b | (+.f64 (pow.f64 (*.f64 a (sin.f64 (cbrt.f64 (pow.f64 (*.f64 (/.f64 angle 180) (PI.f64)) 3)))) 2) (pow.f64 (*.f64 b (cos.f64 (*.f64 (/.f64 angle 180) (PI.f64)))) 2)) | |
| 22.1b | (+.f64 (pow.f64 (*.f64 a (sin.f64 (*.f64 (/.f64 angle 180) (PI.f64)))) 2) (pow.f64 (*.f64 b (*.f64 (cbrt.f64 (cos.f64 (*.f64 (/.f64 angle 180) (PI.f64)))) (pow.f64 (cbrt.f64 (cos.f64 (*.f64 (/.f64 angle 180) (PI.f64)))) 2))) 2)) | |
| 31.5b | (+.f64 (pow.f64 (*.f64 a (+.f64 (log.f64 (*.f64 (cbrt.f64 (exp.f64 (sin.f64 (*.f64 (/.f64 angle 180) (PI.f64))))) (cbrt.f64 (exp.f64 (sin.f64 (*.f64 (/.f64 angle 180) (PI.f64))))))) (log.f64 (cbrt.f64 (exp.f64 (sin.f64 (*.f64 (/.f64 angle 180) (PI.f64)))))))) 2) (pow.f64 (*.f64 b (cos.f64 (*.f64 (/.f64 angle 180) (PI.f64)))) 2)) | |
| 42.2b | (+.f64 (pow.f64 (*.f64 a (sin.f64 (*.f64 (/.f64 angle 180) (PI.f64)))) 2) (pow.f64 (*.f64 b (cos.f64 (pow.f64 (sqrt.f64 (*.f64 (/.f64 angle 180) (PI.f64))) 2))) 2)) | |
| 35.1b | (+.f64 (*.f64 (*.f64 a a) (fma.f64 (*.f64 (*.f64 angle angle) (pow.f64 (PI.f64) 2)) 1/32400 (*.f64 (*.f64 (pow.f64 angle 4) (pow.f64 (PI.f64) 4)) -1/3149280000))) (pow.f64 (*.f64 b (cos.f64 (*.f64 (/.f64 angle 180) (PI.f64)))) 2)) | |
| 22.4b | (+.f64 (pow.f64 (*.f64 a (sin.f64 (pow.f64 (cbrt.f64 (*.f64 (/.f64 angle 180) (PI.f64))) 3))) 2) (pow.f64 (*.f64 b (cos.f64 (*.f64 (/.f64 angle 180) (PI.f64)))) 2)) | |
| 33.8b | (+.f64 (*.f64 1/32400 (*.f64 (pow.f64 angle 2) (*.f64 (pow.f64 a 2) (pow.f64 (PI.f64) 2)))) (pow.f64 (*.f64 b (cos.f64 (*.f64 (/.f64 angle 180) (PI.f64)))) 2)) | |
| 22.2b | (+.f64 (*.f64 (pow.f64 (cbrt.f64 (*.f64 (sin.f64 (*.f64 (/.f64 angle 180) (PI.f64))) a)) 2) (*.f64 (cbrt.f64 (*.f64 (sin.f64 (*.f64 (/.f64 angle 180) (PI.f64))) a)) (*.f64 (sin.f64 (*.f64 (/.f64 angle 180) (PI.f64))) a))) (pow.f64 (*.f64 b (cos.f64 (*.f64 (/.f64 angle 180) (PI.f64)))) 2)) | |
| 28.5b | (+.f64 (*.f64 (pow.f64 (cbrt.f64 (*.f64 (sin.f64 (*.f64 (/.f64 angle 180) (PI.f64))) a)) 2) (cbrt.f64 (pow.f64 (*.f64 (sin.f64 (*.f64 (/.f64 angle 180) (PI.f64))) a) 4))) (pow.f64 (*.f64 b (cos.f64 (*.f64 (/.f64 angle 180) (PI.f64)))) 2)) | |
| 23.3b | (+.f64 (*.f64 (sin.f64 (*.f64 (/.f64 angle 180) (PI.f64))) (*.f64 a (*.f64 (sin.f64 (*.f64 (/.f64 angle 180) (PI.f64))) a))) (pow.f64 (*.f64 b (cos.f64 (*.f64 (/.f64 angle 180) (PI.f64)))) 2)) | |
| 27.7b | (+.f64 (-.f64 (exp.f64 (log1p.f64 (pow.f64 (*.f64 (sin.f64 (*.f64 (/.f64 angle 180) (PI.f64))) a) 2))) 1) (pow.f64 (*.f64 b (cos.f64 (*.f64 (/.f64 angle 180) (PI.f64)))) 2)) | |
| 25.5b | (+.f64 (pow.f64 (*.f64 a (sin.f64 (*.f64 (/.f64 angle 180) (PI.f64)))) 2) (pow.f64 (*.f64 b (cos.f64 (expm1.f64 (log1p.f64 (*.f64 (/.f64 angle 180) (PI.f64)))))) 2)) | |
| 26.3b | (+.f64 (pow.f64 (*.f64 a (sin.f64 (*.f64 (/.f64 angle 180) (PI.f64)))) 2) (pow.f64 (*.f64 b (cos.f64 (cbrt.f64 (*.f64 (pow.f64 (/.f64 angle 180) 3) (pow.f64 (PI.f64) 3))))) 2)) |
Compiled 5984 to 4520 computations (24.5% saved)
Found 4 expressions with local error:
| New | Error | Program |
| 0.3b | (*.f64 (/.f64 angle 180) (PI.f64)) | |
| 0.3b | (pow.f64 (*.f64 a (sin.f64 (*.f64 (/.f64 angle 180) (PI.f64)))) 2) | |
| 24.9b | (sin.f64 (*.f64 (/.f64 angle 180) (PI.f64))) | |
| ✓ | 25.1b | (cos.f64 (/.f64 1 (/.f64 180 (*.f64 angle (PI.f64))))) |
1 calls:
| 4.0ms | (cos.f64 (/.f64 1 (/.f64 180 (*.f64 angle (PI.f64))))) |
| 2× | batch-egg-rewrite |
| 814× | log1p-expm1-u_binary64 |
| 814× | expm1-log1p-u_binary64 |
| 298× | prod-diff_binary64 |
| 92× | add-sqr-sqrt_binary64 |
| 85× | add-cbrt-cube_binary64 |
1 calls:
| 42.0ms | (cos.f64 (/.f64 1 (/.f64 180 (*.f64 angle (PI.f64))))) |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 9 | 10 |
| 1 | 189 | 10 |
| 2 | 2165 | 10 |
| 3 | 5466 | 10 |
| 0 | 0 | 0 |
| 1 | 0 | 0 |
| 1× | egg-herbie |
| 861× | distribute-rgt-neg-in_binary64 |
| 699× | distribute-lft-neg-in_binary64 |
| 488× | fma-def_binary64 |
| 475× | cancel-sign-sub-inv_binary64 |
| 369× | *-commutative_binary64 |
Useful iterations: 4 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 31 | 174 |
| 1 | 84 | 174 |
| 2 | 235 | 170 |
| 3 | 960 | 168 |
| 4 | 2706 | 162 |
| 5 | 4391 | 162 |
| 6 | 4994 | 162 |
| 7 | 4964 | 162 |
32 alts after pruning (32 fresh and 0 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 112 | 6 | 118 |
| Fresh | 4 | 26 | 30 |
| Picked | 1 | 0 | 1 |
| Done | 0 | 0 | 0 |
| Total | 117 | 32 | 149 |
| Status | Error | Program |
| 22.0b | (+.f64 (pow.f64 (*.f64 a (sin.f64 (*.f64 (/.f64 angle 180) (PI.f64)))) 2) (pow.f64 (*.f64 b (log.f64 (exp.f64 (cos.f64 (/.f64 (*.f64 angle (PI.f64)) 180))))) 2)) | |
| 22.2b | (+.f64 (pow.f64 (*.f64 a (sin.f64 (*.f64 (/.f64 angle 180) (PI.f64)))) 2) (pow.f64 (*.f64 b (cos.f64 (pow.f64 (cbrt.f64 (*.f64 (/.f64 angle 180) (PI.f64))) 3))) 2)) | |
| 23.2b | (+.f64 (pow.f64 (*.f64 a (sin.f64 (*.f64 (/.f64 angle 180) (PI.f64)))) 2) (pow.f64 (*.f64 b (+.f64 (log.f64 (*.f64 (cbrt.f64 (exp.f64 (cos.f64 (*.f64 (/.f64 angle 180) (PI.f64))))) (cbrt.f64 (exp.f64 (cos.f64 (*.f64 (/.f64 angle 180) (PI.f64))))))) (log.f64 (cbrt.f64 (exp.f64 (cos.f64 (*.f64 (/.f64 angle 180) (PI.f64)))))))) 2)) | |
| 38.5b | (+.f64 (pow.f64 (*.f64 a (sin.f64 (pow.f64 (pow.f64 (*.f64 (/.f64 angle 180) (PI.f64)) 3) 1/3))) 2) (pow.f64 (*.f64 b (cos.f64 (*.f64 (/.f64 angle 180) (PI.f64)))) 2)) | |
| 28.5b | (+.f64 (sqrt.f64 (pow.f64 (*.f64 (sin.f64 (*.f64 (/.f64 angle 180) (PI.f64))) a) 4)) (pow.f64 (*.f64 b (cos.f64 (*.f64 (/.f64 angle 180) (PI.f64)))) 2)) | |
| 25.6b | (+.f64 (pow.f64 (*.f64 a (sin.f64 (*.f64 (/.f64 angle 180) (PI.f64)))) 2) (pow.f64 (*.f64 b (+.f64 (*.f64 (cos.f64 (exp.f64 (log1p.f64 (*.f64 (/.f64 angle 180) (PI.f64))))) (cos.f64 1)) (*.f64 (sin.f64 (exp.f64 (log1p.f64 (*.f64 (/.f64 angle 180) (PI.f64))))) (sin.f64 1)))) 2)) | |
| 33.3b | (+.f64 (pow.f64 (*.f64 a (sin.f64 (*.f64 (/.f64 angle 180) (PI.f64)))) 2) (pow.f64 (*.f64 b (cos.f64 (pow.f64 (pow.f64 (*.f64 (/.f64 angle 180) (PI.f64)) 3) 1/3))) 2)) | |
| 22.1b | (+.f64 (pow.f64 (*.f64 a (sin.f64 (*.f64 (/.f64 angle 180) (PI.f64)))) 2) (pow.f64 (*.f64 b 1) 2)) | |
| 22.0b | (+.f64 (pow.f64 (*.f64 a (sin.f64 (*.f64 (/.f64 angle 180) (PI.f64)))) 2) (pow.f64 (*.f64 b (pow.f64 (cbrt.f64 (cos.f64 (/.f64 (*.f64 angle (PI.f64)) 180))) 3)) 2)) | |
| 40.0b | (+.f64 (*.f64 (sqrt.f64 (*.f64 (sin.f64 (*.f64 (/.f64 angle 180) (PI.f64))) a)) (*.f64 (sqrt.f64 (*.f64 (sin.f64 (*.f64 (/.f64 angle 180) (PI.f64))) a)) (*.f64 (sin.f64 (*.f64 (/.f64 angle 180) (PI.f64))) a))) (pow.f64 (*.f64 b (cos.f64 (*.f64 (/.f64 angle 180) (PI.f64)))) 2)) | |
| 27.3b | (+.f64 (pow.f64 (*.f64 a (cbrt.f64 (pow.f64 (sin.f64 (*.f64 (/.f64 angle 180) (PI.f64))) 3))) 2) (pow.f64 (*.f64 b (cos.f64 (*.f64 (/.f64 angle 180) (PI.f64)))) 2)) | |
| ▶ | 22.0b | (+.f64 (pow.f64 (*.f64 a (sin.f64 (*.f64 (/.f64 angle 180) (PI.f64)))) 2) (pow.f64 (*.f64 b (*.f64 (cbrt.f64 (cos.f64 (/.f64 (*.f64 angle (PI.f64)) 180))) (pow.f64 (cbrt.f64 (cos.f64 (/.f64 (*.f64 angle (PI.f64)) 180))) 2))) 2)) |
| 22.1b | (+.f64 (pow.f64 (*.f64 a (sin.f64 (/.f64 (*.f64 angle (PI.f64)) 180))) 2) (pow.f64 (*.f64 b (cos.f64 (*.f64 (/.f64 angle 180) (PI.f64)))) 2)) | |
| 22.3b | (+.f64 (pow.f64 (*.f64 a (pow.f64 (cbrt.f64 (sin.f64 (*.f64 (/.f64 angle 180) (PI.f64)))) 3)) 2) (pow.f64 (*.f64 b (cos.f64 (*.f64 (/.f64 angle 180) (PI.f64)))) 2)) | |
| 22.4b | (+.f64 (pow.f64 (*.f64 a (sin.f64 (pow.f64 (cbrt.f64 (*.f64 (/.f64 angle 180) (PI.f64))) 3))) 2) (pow.f64 (*.f64 b (cos.f64 (/.f64 1 (/.f64 180 (*.f64 angle (PI.f64)))))) 2)) | |
| 23.3b | (+.f64 (*.f64 (sin.f64 (*.f64 (/.f64 angle 180) (PI.f64))) (*.f64 a (*.f64 (sin.f64 (*.f64 (/.f64 angle 180) (PI.f64))) a))) (pow.f64 (*.f64 b (cos.f64 (*.f64 (/.f64 angle 180) (PI.f64)))) 2)) | |
| 22.0b | (+.f64 (pow.f64 (*.f64 a (sin.f64 (*.f64 (/.f64 angle 180) (PI.f64)))) 2) (pow.f64 (*.f64 b (-.f64 (exp.f64 (log1p.f64 (cos.f64 (/.f64 (*.f64 angle (PI.f64)) 180)))) 1)) 2)) | |
| 22.1b | (+.f64 (pow.f64 (*.f64 a (sin.f64 (*.f64 (/.f64 angle 180) (PI.f64)))) 2) (pow.f64 (*.f64 b (cbrt.f64 (pow.f64 (cos.f64 (*.f64 (/.f64 angle 180) (PI.f64))) 3))) 2)) | |
| 25.5b | (+.f64 (pow.f64 (*.f64 a (sin.f64 (expm1.f64 (log1p.f64 (*.f64 (/.f64 angle 180) (PI.f64)))))) 2) (pow.f64 (*.f64 b (cos.f64 (*.f64 (/.f64 angle 180) (PI.f64)))) 2)) | |
| 22.2b | (+.f64 (pow.f64 (*.f64 a (sin.f64 (/.f64 (PI.f64) (/.f64 180 angle)))) 2) (pow.f64 (*.f64 b (cos.f64 (*.f64 (/.f64 angle 180) (PI.f64)))) 2)) | |
| 34.8b | (+.f64 (pow.f64 (*.f64 a (-.f64 (*.f64 (sin.f64 (exp.f64 (log1p.f64 (*.f64 (/.f64 angle 180) (PI.f64))))) (cos.f64 1)) (*.f64 (cos.f64 (exp.f64 (log1p.f64 (*.f64 (/.f64 angle 180) (PI.f64))))) (sin.f64 1)))) 2) (pow.f64 (*.f64 b (cos.f64 (*.f64 (/.f64 angle 180) (PI.f64)))) 2)) | |
| 31.5b | (+.f64 (pow.f64 (*.f64 a (sin.f64 (cbrt.f64 (pow.f64 (*.f64 (/.f64 angle 180) (PI.f64)) 3)))) 2) (pow.f64 (*.f64 b (cos.f64 (*.f64 (/.f64 angle 180) (PI.f64)))) 2)) | |
| 31.5b | (+.f64 (pow.f64 (*.f64 a (+.f64 (log.f64 (*.f64 (cbrt.f64 (exp.f64 (sin.f64 (*.f64 (/.f64 angle 180) (PI.f64))))) (cbrt.f64 (exp.f64 (sin.f64 (*.f64 (/.f64 angle 180) (PI.f64))))))) (log.f64 (cbrt.f64 (exp.f64 (sin.f64 (*.f64 (/.f64 angle 180) (PI.f64)))))))) 2) (pow.f64 (*.f64 b (cos.f64 (*.f64 (/.f64 angle 180) (PI.f64)))) 2)) | |
| 42.2b | (+.f64 (pow.f64 (*.f64 a (sin.f64 (*.f64 (/.f64 angle 180) (PI.f64)))) 2) (pow.f64 (*.f64 b (cos.f64 (pow.f64 (sqrt.f64 (*.f64 (/.f64 angle 180) (PI.f64))) 2))) 2)) | |
| 35.1b | (+.f64 (*.f64 (*.f64 a a) (fma.f64 (*.f64 (*.f64 angle angle) (pow.f64 (PI.f64) 2)) 1/32400 (*.f64 (*.f64 (pow.f64 angle 4) (pow.f64 (PI.f64) 4)) -1/3149280000))) (pow.f64 (*.f64 b (cos.f64 (*.f64 (/.f64 angle 180) (PI.f64)))) 2)) | |
| 22.1b | (+.f64 (pow.f64 (*.f64 a (sin.f64 (*.f64 1/180 (*.f64 angle (PI.f64))))) 2) (pow.f64 (*.f64 b (cos.f64 (/.f64 1 (/.f64 180 (*.f64 angle (PI.f64)))))) 2)) | |
| 33.8b | (+.f64 (*.f64 1/32400 (*.f64 (pow.f64 angle 2) (*.f64 (pow.f64 a 2) (pow.f64 (PI.f64) 2)))) (pow.f64 (*.f64 b (cos.f64 (*.f64 (/.f64 angle 180) (PI.f64)))) 2)) | |
| 22.2b | (+.f64 (*.f64 (pow.f64 (cbrt.f64 (*.f64 (sin.f64 (*.f64 (/.f64 angle 180) (PI.f64))) a)) 2) (*.f64 (cbrt.f64 (*.f64 (sin.f64 (*.f64 (/.f64 angle 180) (PI.f64))) a)) (*.f64 (sin.f64 (*.f64 (/.f64 angle 180) (PI.f64))) a))) (pow.f64 (*.f64 b (cos.f64 (*.f64 (/.f64 angle 180) (PI.f64)))) 2)) | |
| 28.5b | (+.f64 (*.f64 (pow.f64 (cbrt.f64 (*.f64 (sin.f64 (*.f64 (/.f64 angle 180) (PI.f64))) a)) 2) (cbrt.f64 (pow.f64 (*.f64 (sin.f64 (*.f64 (/.f64 angle 180) (PI.f64))) a) 4))) (pow.f64 (*.f64 b (cos.f64 (*.f64 (/.f64 angle 180) (PI.f64)))) 2)) | |
| 27.7b | (+.f64 (-.f64 (exp.f64 (log1p.f64 (pow.f64 (*.f64 (sin.f64 (*.f64 (/.f64 angle 180) (PI.f64))) a) 2))) 1) (pow.f64 (*.f64 b (cos.f64 (*.f64 (/.f64 angle 180) (PI.f64)))) 2)) | |
| 25.5b | (+.f64 (pow.f64 (*.f64 a (sin.f64 (*.f64 (/.f64 angle 180) (PI.f64)))) 2) (pow.f64 (*.f64 b (cos.f64 (expm1.f64 (log1p.f64 (*.f64 (/.f64 angle 180) (PI.f64)))))) 2)) | |
| 26.3b | (+.f64 (pow.f64 (*.f64 a (sin.f64 (*.f64 (/.f64 angle 180) (PI.f64)))) 2) (pow.f64 (*.f64 b (cos.f64 (cbrt.f64 (*.f64 (pow.f64 (/.f64 angle 180) 3) (pow.f64 (PI.f64) 3))))) 2)) |
Compiled 5483 to 4089 computations (25.4% saved)
Found 4 expressions with local error:
| New | Error | Program |
| 0.3b | (*.f64 (/.f64 angle 180) (PI.f64)) | |
| 0.3b | (pow.f64 (*.f64 a (sin.f64 (*.f64 (/.f64 angle 180) (PI.f64)))) 2) | |
| 24.9b | (sin.f64 (*.f64 (/.f64 angle 180) (PI.f64))) | |
| ✓ | 25.0b | (cos.f64 (/.f64 (*.f64 angle (PI.f64)) 180)) |
1 calls:
| 3.0ms | (cos.f64 (/.f64 (*.f64 angle (PI.f64)) 180)) |
| 2× | batch-egg-rewrite |
| 669× | log1p-expm1-u_binary64 |
| 669× | expm1-log1p-u_binary64 |
| 205× | prod-diff_binary64 |
| 137× | fma-udef_binary64 |
| 132× | expm1-udef_binary64 |
1 calls:
| 95.0ms | (cos.f64 (/.f64 (*.f64 angle (PI.f64)) 180)) |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 7 | 10 |
| 1 | 148 | 10 |
| 2 | 1754 | 10 |
| 3 | 4912 | 10 |
| 4 | 4919 | 10 |
| 5 | 4890 | 10 |
| 0 | 0 | 0 |
| 1 | 0 | 0 |
| 1× | egg-herbie |
| 861× | distribute-rgt-neg-in_binary64 |
| 699× | distribute-lft-neg-in_binary64 |
| 488× | fma-def_binary64 |
| 475× | cancel-sign-sub-inv_binary64 |
| 369× | *-commutative_binary64 |
Useful iterations: 4 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 31 | 174 |
| 1 | 84 | 174 |
| 2 | 235 | 170 |
| 3 | 960 | 168 |
| 4 | 2706 | 162 |
| 5 | 4391 | 162 |
| 6 | 4994 | 162 |
| 7 | 4964 | 162 |
36 alts after pruning (36 fresh and 0 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 136 | 8 | 144 |
| Fresh | 3 | 28 | 31 |
| Picked | 1 | 0 | 1 |
| Done | 0 | 0 | 0 |
| Total | 140 | 36 | 176 |
| Status | Error | Program |
| 22.0b | (+.f64 (pow.f64 (*.f64 a (sin.f64 (*.f64 (/.f64 angle 180) (PI.f64)))) 2) (pow.f64 (*.f64 b (log.f64 (exp.f64 (cos.f64 (/.f64 (*.f64 angle (PI.f64)) 180))))) 2)) | |
| 22.2b | (+.f64 (pow.f64 (*.f64 a (sin.f64 (*.f64 (/.f64 angle 180) (PI.f64)))) 2) (pow.f64 (*.f64 b (cos.f64 (pow.f64 (cbrt.f64 (*.f64 (/.f64 angle 180) (PI.f64))) 3))) 2)) | |
| 23.2b | (+.f64 (pow.f64 (*.f64 a (sin.f64 (*.f64 (/.f64 angle 180) (PI.f64)))) 2) (pow.f64 (*.f64 b (+.f64 (log.f64 (*.f64 (cbrt.f64 (exp.f64 (cos.f64 (*.f64 (/.f64 angle 180) (PI.f64))))) (cbrt.f64 (exp.f64 (cos.f64 (*.f64 (/.f64 angle 180) (PI.f64))))))) (log.f64 (cbrt.f64 (exp.f64 (cos.f64 (*.f64 (/.f64 angle 180) (PI.f64)))))))) 2)) | |
| ▶ | 22.0b | (+.f64 (pow.f64 (*.f64 a (sin.f64 (*.f64 (/.f64 angle 180) (PI.f64)))) 2) (pow.f64 (*.f64 b (*.f64 (cbrt.f64 (cos.f64 (/.f64 (*.f64 angle (PI.f64)) 180))) (pow.f64 (cbrt.f64 (-.f64 (exp.f64 (log1p.f64 (cos.f64 (/.f64 (*.f64 angle (PI.f64)) 180)))) 1)) 2))) 2)) |
| 38.5b | (+.f64 (pow.f64 (*.f64 a (sin.f64 (pow.f64 (pow.f64 (*.f64 (/.f64 angle 180) (PI.f64)) 3) 1/3))) 2) (pow.f64 (*.f64 b (cos.f64 (*.f64 (/.f64 angle 180) (PI.f64)))) 2)) | |
| 28.5b | (+.f64 (sqrt.f64 (pow.f64 (*.f64 (sin.f64 (*.f64 (/.f64 angle 180) (PI.f64))) a) 4)) (pow.f64 (*.f64 b (cos.f64 (*.f64 (/.f64 angle 180) (PI.f64)))) 2)) | |
| 25.6b | (+.f64 (pow.f64 (*.f64 a (sin.f64 (*.f64 (/.f64 angle 180) (PI.f64)))) 2) (pow.f64 (*.f64 b (+.f64 (*.f64 (cos.f64 (exp.f64 (log1p.f64 (*.f64 (/.f64 angle 180) (PI.f64))))) (cos.f64 1)) (*.f64 (sin.f64 (exp.f64 (log1p.f64 (*.f64 (/.f64 angle 180) (PI.f64))))) (sin.f64 1)))) 2)) | |
| 25.5b | (+.f64 (pow.f64 (*.f64 a (sin.f64 (*.f64 (/.f64 angle 180) (PI.f64)))) 2) (pow.f64 (*.f64 b (*.f64 (cbrt.f64 (+.f64 (*.f64 (cos.f64 (exp.f64 (log1p.f64 (/.f64 (*.f64 angle (PI.f64)) 180)))) (cos.f64 1)) (*.f64 (sin.f64 (exp.f64 (log1p.f64 (/.f64 (*.f64 angle (PI.f64)) 180)))) (sin.f64 1)))) (pow.f64 (cbrt.f64 (cos.f64 (/.f64 (*.f64 angle (PI.f64)) 180))) 2))) 2)) | |
| 22.1b | (+.f64 (pow.f64 (*.f64 a (sin.f64 (*.f64 (/.f64 angle 180) (PI.f64)))) 2) (pow.f64 (*.f64 b 1) 2)) | |
| 22.0b | (+.f64 (pow.f64 (*.f64 a (sin.f64 (*.f64 (/.f64 angle 180) (PI.f64)))) 2) (pow.f64 (*.f64 b (pow.f64 (cbrt.f64 (cos.f64 (/.f64 (*.f64 angle (PI.f64)) 180))) 3)) 2)) | |
| 25.5b | (+.f64 (pow.f64 (*.f64 a (sin.f64 (*.f64 (/.f64 angle 180) (PI.f64)))) 2) (pow.f64 (*.f64 b (*.f64 (cbrt.f64 (cos.f64 (/.f64 (*.f64 angle (PI.f64)) 180))) (pow.f64 (cbrt.f64 (+.f64 (*.f64 (cos.f64 (exp.f64 (log1p.f64 (/.f64 (*.f64 angle (PI.f64)) 180)))) (cos.f64 1)) (*.f64 (sin.f64 (exp.f64 (log1p.f64 (/.f64 (*.f64 angle (PI.f64)) 180)))) (sin.f64 1)))) 2))) 2)) | |
| 40.0b | (+.f64 (*.f64 (sqrt.f64 (*.f64 (sin.f64 (*.f64 (/.f64 angle 180) (PI.f64))) a)) (*.f64 (sqrt.f64 (*.f64 (sin.f64 (*.f64 (/.f64 angle 180) (PI.f64))) a)) (*.f64 (sin.f64 (*.f64 (/.f64 angle 180) (PI.f64))) a))) (pow.f64 (*.f64 b (cos.f64 (*.f64 (/.f64 angle 180) (PI.f64)))) 2)) | |
| 27.3b | (+.f64 (pow.f64 (*.f64 a (cbrt.f64 (pow.f64 (sin.f64 (*.f64 (/.f64 angle 180) (PI.f64))) 3))) 2) (pow.f64 (*.f64 b (cos.f64 (*.f64 (/.f64 angle 180) (PI.f64)))) 2)) | |
| 22.0b | (+.f64 (pow.f64 (*.f64 a (sin.f64 (*.f64 (/.f64 angle 180) (PI.f64)))) 2) (pow.f64 (*.f64 b (*.f64 (cbrt.f64 (cos.f64 (*.f64 1/180 (*.f64 angle (PI.f64))))) (pow.f64 (cbrt.f64 (cos.f64 (/.f64 (*.f64 angle (PI.f64)) 180))) 2))) 2)) | |
| 22.2b | (+.f64 (*.f64 (pow.f64 (cbrt.f64 (*.f64 (sin.f64 (*.f64 (/.f64 angle 180) (PI.f64))) a)) 2) (*.f64 (cbrt.f64 (*.f64 (sin.f64 (*.f64 (/.f64 angle 180) (PI.f64))) a)) (*.f64 (sin.f64 (*.f64 (/.f64 angle 180) (PI.f64))) a))) (pow.f64 (*.f64 b (cos.f64 (*.f64 (/.f64 angle 180) (PI.f64)))) 2)) | |
| 22.1b | (+.f64 (pow.f64 (*.f64 a (sin.f64 (*.f64 (/.f64 angle 180) (PI.f64)))) 2) (pow.f64 (*.f64 b (*.f64 (cbrt.f64 1) (pow.f64 (cbrt.f64 (cos.f64 (/.f64 (*.f64 angle (PI.f64)) 180))) 2))) 2)) | |
| 28.5b | (+.f64 (*.f64 (pow.f64 (cbrt.f64 (*.f64 (sin.f64 (*.f64 (/.f64 angle 180) (PI.f64))) a)) 2) (cbrt.f64 (pow.f64 (*.f64 (sin.f64 (*.f64 (/.f64 angle 180) (PI.f64))) a) 4))) (pow.f64 (*.f64 b (cos.f64 (*.f64 (/.f64 angle 180) (PI.f64)))) 2)) | |
| 22.1b | (+.f64 (pow.f64 (*.f64 a (sin.f64 (*.f64 (/.f64 angle 180) (PI.f64)))) 2) (pow.f64 (*.f64 b (*.f64 (cbrt.f64 (cos.f64 (/.f64 (*.f64 angle (PI.f64)) 180))) (pow.f64 (cbrt.f64 1) 2))) 2)) | |
| 22.1b | (+.f64 (pow.f64 (*.f64 a (sin.f64 (/.f64 (*.f64 angle (PI.f64)) 180))) 2) (pow.f64 (*.f64 b (cos.f64 (*.f64 (/.f64 angle 180) (PI.f64)))) 2)) | |
| 22.3b | (+.f64 (pow.f64 (*.f64 a (pow.f64 (cbrt.f64 (sin.f64 (*.f64 (/.f64 angle 180) (PI.f64)))) 3)) 2) (pow.f64 (*.f64 b (cos.f64 (*.f64 (/.f64 angle 180) (PI.f64)))) 2)) | |
| 22.4b | (+.f64 (pow.f64 (*.f64 a (sin.f64 (pow.f64 (cbrt.f64 (*.f64 (/.f64 angle 180) (PI.f64))) 3))) 2) (pow.f64 (*.f64 b (cos.f64 (/.f64 1 (/.f64 180 (*.f64 angle (PI.f64)))))) 2)) | |
| 23.3b | (+.f64 (*.f64 (sin.f64 (*.f64 (/.f64 angle 180) (PI.f64))) (*.f64 a (*.f64 (sin.f64 (*.f64 (/.f64 angle 180) (PI.f64))) a))) (pow.f64 (*.f64 b (cos.f64 (*.f64 (/.f64 angle 180) (PI.f64)))) 2)) | |
| 22.0b | (+.f64 (pow.f64 (*.f64 a (sin.f64 (*.f64 (/.f64 angle 180) (PI.f64)))) 2) (pow.f64 (*.f64 b (*.f64 (cbrt.f64 (cos.f64 (/.f64 (*.f64 angle (PI.f64)) 180))) (pow.f64 (cbrt.f64 (log1p.f64 (expm1.f64 (cos.f64 (/.f64 (*.f64 angle (PI.f64)) 180))))) 2))) 2)) | |
| 27.7b | (+.f64 (-.f64 (exp.f64 (log1p.f64 (pow.f64 (*.f64 (sin.f64 (*.f64 (/.f64 angle 180) (PI.f64))) a) 2))) 1) (pow.f64 (*.f64 b (cos.f64 (*.f64 (/.f64 angle 180) (PI.f64)))) 2)) | |
| 25.5b | (+.f64 (pow.f64 (*.f64 a (sin.f64 (expm1.f64 (log1p.f64 (*.f64 (/.f64 angle 180) (PI.f64)))))) 2) (pow.f64 (*.f64 b (cos.f64 (*.f64 (/.f64 angle 180) (PI.f64)))) 2)) | |
| 22.2b | (+.f64 (pow.f64 (*.f64 a (sin.f64 (/.f64 (PI.f64) (/.f64 180 angle)))) 2) (pow.f64 (*.f64 b (cos.f64 (*.f64 (/.f64 angle 180) (PI.f64)))) 2)) | |
| 34.8b | (+.f64 (pow.f64 (*.f64 a (-.f64 (*.f64 (sin.f64 (exp.f64 (log1p.f64 (*.f64 (/.f64 angle 180) (PI.f64))))) (cos.f64 1)) (*.f64 (cos.f64 (exp.f64 (log1p.f64 (*.f64 (/.f64 angle 180) (PI.f64))))) (sin.f64 1)))) 2) (pow.f64 (*.f64 b (cos.f64 (*.f64 (/.f64 angle 180) (PI.f64)))) 2)) | |
| 31.5b | (+.f64 (pow.f64 (*.f64 a (sin.f64 (cbrt.f64 (pow.f64 (*.f64 (/.f64 angle 180) (PI.f64)) 3)))) 2) (pow.f64 (*.f64 b (cos.f64 (*.f64 (/.f64 angle 180) (PI.f64)))) 2)) | |
| 31.5b | (+.f64 (pow.f64 (*.f64 a (+.f64 (log.f64 (*.f64 (cbrt.f64 (exp.f64 (sin.f64 (*.f64 (/.f64 angle 180) (PI.f64))))) (cbrt.f64 (exp.f64 (sin.f64 (*.f64 (/.f64 angle 180) (PI.f64))))))) (log.f64 (cbrt.f64 (exp.f64 (sin.f64 (*.f64 (/.f64 angle 180) (PI.f64)))))))) 2) (pow.f64 (*.f64 b (cos.f64 (*.f64 (/.f64 angle 180) (PI.f64)))) 2)) | |
| 42.2b | (+.f64 (pow.f64 (*.f64 a (sin.f64 (*.f64 (/.f64 angle 180) (PI.f64)))) 2) (pow.f64 (*.f64 b (cos.f64 (pow.f64 (sqrt.f64 (*.f64 (/.f64 angle 180) (PI.f64))) 2))) 2)) | |
| 35.1b | (+.f64 (*.f64 (*.f64 a a) (fma.f64 (*.f64 (*.f64 angle angle) (pow.f64 (PI.f64) 2)) 1/32400 (*.f64 (*.f64 (pow.f64 angle 4) (pow.f64 (PI.f64) 4)) -1/3149280000))) (pow.f64 (*.f64 b (cos.f64 (*.f64 (/.f64 angle 180) (PI.f64)))) 2)) | |
| 22.1b | (+.f64 (pow.f64 (*.f64 a (sin.f64 (*.f64 1/180 (*.f64 angle (PI.f64))))) 2) (pow.f64 (*.f64 b (cos.f64 (/.f64 1 (/.f64 180 (*.f64 angle (PI.f64)))))) 2)) | |
| 33.8b | (+.f64 (*.f64 1/32400 (*.f64 (pow.f64 angle 2) (*.f64 (pow.f64 a 2) (pow.f64 (PI.f64) 2)))) (pow.f64 (*.f64 b (cos.f64 (*.f64 (/.f64 angle 180) (PI.f64)))) 2)) | |
| 22.0b | (+.f64 (pow.f64 (*.f64 a (sin.f64 (*.f64 (/.f64 angle 180) (PI.f64)))) 2) (pow.f64 (*.f64 b (*.f64 (cbrt.f64 (cos.f64 (/.f64 (*.f64 angle (PI.f64)) 180))) (pow.f64 (cbrt.f64 (cbrt.f64 (pow.f64 (cos.f64 (/.f64 (*.f64 angle (PI.f64)) 180)) 3))) 2))) 2)) | |
| 25.5b | (+.f64 (pow.f64 (*.f64 a (sin.f64 (*.f64 (/.f64 angle 180) (PI.f64)))) 2) (pow.f64 (*.f64 b (cos.f64 (expm1.f64 (log1p.f64 (*.f64 (/.f64 angle 180) (PI.f64)))))) 2)) | |
| 26.3b | (+.f64 (pow.f64 (*.f64 a (sin.f64 (*.f64 (/.f64 angle 180) (PI.f64)))) 2) (pow.f64 (*.f64 b (cos.f64 (cbrt.f64 (*.f64 (pow.f64 (/.f64 angle 180) 3) (pow.f64 (PI.f64) 3))))) 2)) |
Compiled 7993 to 5880 computations (26.4% saved)
Found 4 expressions with local error:
| New | Error | Program |
| 0.3b | (pow.f64 (*.f64 a (sin.f64 (*.f64 (/.f64 angle 180) (PI.f64)))) 2) | |
| ✓ | 0.4b | (-.f64 (exp.f64 (log1p.f64 (cos.f64 (/.f64 (*.f64 angle (PI.f64)) 180)))) 1) |
| 24.9b | (sin.f64 (*.f64 (/.f64 angle 180) (PI.f64))) | |
| 25.0b | (cos.f64 (/.f64 (*.f64 angle (PI.f64)) 180)) |
1 calls:
| 247.0ms | (-.f64 (exp.f64 (log1p.f64 (cos.f64 (/.f64 (*.f64 angle (PI.f64)) 180)))) 1) |
| 2× | batch-egg-rewrite |
| 444× | log-prod_binary64 |
| 431× | prod-diff_binary64 |
| 176× | log1p-udef_binary64 |
| 175× | expm1-udef_binary64 |
| 159× | pow3_binary64 |
1 calls:
| 80.0ms | (-.f64 (exp.f64 (log1p.f64 (cos.f64 (/.f64 (*.f64 angle (PI.f64)) 180)))) 1) |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 11 | 10 |
| 1 | 210 | 10 |
| 2 | 2414 | 10 |
| 3 | 4861 | 10 |
| 4 | 5042 | 10 |
| 0 | 0 | 0 |
| 1 | 0 | 0 |
| 1× | egg-herbie |
| 861× | distribute-rgt-neg-in_binary64 |
| 699× | distribute-lft-neg-in_binary64 |
| 488× | fma-def_binary64 |
| 475× | cancel-sign-sub-inv_binary64 |
| 369× | *-commutative_binary64 |
Useful iterations: 4 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 31 | 174 |
| 1 | 84 | 174 |
| 2 | 235 | 170 |
| 3 | 960 | 168 |
| 4 | 2706 | 162 |
| 5 | 4391 | 162 |
| 6 | 4994 | 162 |
| 7 | 4964 | 162 |
39 alts after pruning (39 fresh and 0 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 165 | 6 | 171 |
| Fresh | 2 | 33 | 35 |
| Picked | 1 | 0 | 1 |
| Done | 0 | 0 | 0 |
| Total | 168 | 39 | 207 |
| Status | Error | Program |
| 22.0b | (+.f64 (pow.f64 (*.f64 a (sin.f64 (*.f64 (/.f64 angle 180) (PI.f64)))) 2) (pow.f64 (*.f64 b (log.f64 (exp.f64 (cos.f64 (/.f64 (*.f64 angle (PI.f64)) 180))))) 2)) | |
| 22.2b | (+.f64 (pow.f64 (*.f64 a (sin.f64 (*.f64 (/.f64 angle 180) (PI.f64)))) 2) (pow.f64 (*.f64 b (cos.f64 (pow.f64 (cbrt.f64 (*.f64 (/.f64 angle 180) (PI.f64))) 3))) 2)) | |
| 23.2b | (+.f64 (pow.f64 (*.f64 a (sin.f64 (*.f64 (/.f64 angle 180) (PI.f64)))) 2) (pow.f64 (*.f64 b (+.f64 (log.f64 (*.f64 (cbrt.f64 (exp.f64 (cos.f64 (*.f64 (/.f64 angle 180) (PI.f64))))) (cbrt.f64 (exp.f64 (cos.f64 (*.f64 (/.f64 angle 180) (PI.f64))))))) (log.f64 (cbrt.f64 (exp.f64 (cos.f64 (*.f64 (/.f64 angle 180) (PI.f64)))))))) 2)) | |
| 22.0b | (+.f64 (pow.f64 (*.f64 a (sin.f64 (*.f64 (/.f64 angle 180) (PI.f64)))) 2) (pow.f64 (*.f64 b (*.f64 (cbrt.f64 (cos.f64 (/.f64 (*.f64 angle (PI.f64)) 180))) (pow.f64 (cbrt.f64 (-.f64 (exp.f64 (log1p.f64 (sqrt.f64 (pow.f64 (cos.f64 (/.f64 (*.f64 angle (PI.f64)) 180)) 2)))) 1)) 2))) 2)) | |
| 38.5b | (+.f64 (pow.f64 (*.f64 a (sin.f64 (pow.f64 (pow.f64 (*.f64 (/.f64 angle 180) (PI.f64)) 3) 1/3))) 2) (pow.f64 (*.f64 b (cos.f64 (*.f64 (/.f64 angle 180) (PI.f64)))) 2)) | |
| 28.5b | (+.f64 (sqrt.f64 (pow.f64 (*.f64 (sin.f64 (*.f64 (/.f64 angle 180) (PI.f64))) a) 4)) (pow.f64 (*.f64 b (cos.f64 (*.f64 (/.f64 angle 180) (PI.f64)))) 2)) | |
| 25.6b | (+.f64 (pow.f64 (*.f64 a (sin.f64 (*.f64 (/.f64 angle 180) (PI.f64)))) 2) (pow.f64 (*.f64 b (+.f64 (*.f64 (cos.f64 (exp.f64 (log1p.f64 (*.f64 (/.f64 angle 180) (PI.f64))))) (cos.f64 1)) (*.f64 (sin.f64 (exp.f64 (log1p.f64 (*.f64 (/.f64 angle 180) (PI.f64))))) (sin.f64 1)))) 2)) | |
| 22.0b | (+.f64 (pow.f64 (*.f64 a (sin.f64 (*.f64 (/.f64 angle 180) (PI.f64)))) 2) (pow.f64 (*.f64 b (pow.f64 (cbrt.f64 (cos.f64 (/.f64 (*.f64 angle (PI.f64)) 180))) 3)) 2)) | |
| 25.5b | (+.f64 (pow.f64 (*.f64 a (sin.f64 (*.f64 (/.f64 angle 180) (PI.f64)))) 2) (pow.f64 (*.f64 b (*.f64 (cbrt.f64 (cos.f64 (/.f64 (*.f64 angle (PI.f64)) 180))) (pow.f64 (cbrt.f64 (+.f64 (*.f64 (cos.f64 (exp.f64 (log1p.f64 (/.f64 (*.f64 angle (PI.f64)) 180)))) (cos.f64 1)) (*.f64 (sin.f64 (exp.f64 (log1p.f64 (/.f64 (*.f64 angle (PI.f64)) 180)))) (sin.f64 1)))) 2))) 2)) | |
| 40.0b | (+.f64 (*.f64 (sqrt.f64 (*.f64 (sin.f64 (*.f64 (/.f64 angle 180) (PI.f64))) a)) (*.f64 (sqrt.f64 (*.f64 (sin.f64 (*.f64 (/.f64 angle 180) (PI.f64))) a)) (*.f64 (sin.f64 (*.f64 (/.f64 angle 180) (PI.f64))) a))) (pow.f64 (*.f64 b (cos.f64 (*.f64 (/.f64 angle 180) (PI.f64)))) 2)) | |
| 27.3b | (+.f64 (pow.f64 (*.f64 a (cbrt.f64 (pow.f64 (sin.f64 (*.f64 (/.f64 angle 180) (PI.f64))) 3))) 2) (pow.f64 (*.f64 b (cos.f64 (*.f64 (/.f64 angle 180) (PI.f64)))) 2)) | |
| 22.1b | (+.f64 (pow.f64 (*.f64 a (sin.f64 (*.f64 (/.f64 angle 180) (PI.f64)))) 2) (pow.f64 (*.f64 b (*.f64 (cbrt.f64 1) (pow.f64 (cbrt.f64 (cos.f64 (/.f64 (*.f64 angle (PI.f64)) 180))) 2))) 2)) | |
| 28.5b | (+.f64 (*.f64 (pow.f64 (cbrt.f64 (*.f64 (sin.f64 (*.f64 (/.f64 angle 180) (PI.f64))) a)) 2) (cbrt.f64 (pow.f64 (*.f64 (sin.f64 (*.f64 (/.f64 angle 180) (PI.f64))) a) 4))) (pow.f64 (*.f64 b (cos.f64 (*.f64 (/.f64 angle 180) (PI.f64)))) 2)) | |
| 22.0b | (+.f64 (pow.f64 (*.f64 a (sin.f64 (*.f64 (/.f64 angle 180) (PI.f64)))) 2) (pow.f64 (*.f64 b (*.f64 (cbrt.f64 (cos.f64 (/.f64 (*.f64 angle (PI.f64)) 180))) (pow.f64 (cbrt.f64 (+.f64 (+.f64 (cos.f64 (/.f64 (*.f64 angle (PI.f64)) 180)) 1) -1)) 2))) 2)) | |
| 22.1b | (+.f64 (pow.f64 (*.f64 a (sin.f64 (*.f64 (/.f64 angle 180) (PI.f64)))) 2) (pow.f64 (*.f64 b (*.f64 (cbrt.f64 (cos.f64 (/.f64 (*.f64 angle (PI.f64)) 180))) (pow.f64 (cbrt.f64 1) 2))) 2)) | |
| 22.1b | (+.f64 (pow.f64 (*.f64 a (sin.f64 (/.f64 (*.f64 angle (PI.f64)) 180))) 2) (pow.f64 (*.f64 b (cos.f64 (*.f64 (/.f64 angle 180) (PI.f64)))) 2)) | |
| 22.3b | (+.f64 (pow.f64 (*.f64 a (pow.f64 (cbrt.f64 (sin.f64 (*.f64 (/.f64 angle 180) (PI.f64)))) 3)) 2) (pow.f64 (*.f64 b (cos.f64 (*.f64 (/.f64 angle 180) (PI.f64)))) 2)) | |
| 22.4b | (+.f64 (pow.f64 (*.f64 a (sin.f64 (pow.f64 (cbrt.f64 (*.f64 (/.f64 angle 180) (PI.f64))) 3))) 2) (pow.f64 (*.f64 b (cos.f64 (/.f64 1 (/.f64 180 (*.f64 angle (PI.f64)))))) 2)) | |
| 23.3b | (+.f64 (*.f64 (sin.f64 (*.f64 (/.f64 angle 180) (PI.f64))) (*.f64 a (*.f64 (sin.f64 (*.f64 (/.f64 angle 180) (PI.f64))) a))) (pow.f64 (*.f64 b (cos.f64 (*.f64 (/.f64 angle 180) (PI.f64)))) 2)) | |
| 22.0b | (+.f64 (pow.f64 (*.f64 a (sin.f64 (*.f64 (/.f64 angle 180) (PI.f64)))) 2) (pow.f64 (*.f64 b (*.f64 (cbrt.f64 (cos.f64 (/.f64 (*.f64 angle (PI.f64)) 180))) (pow.f64 (cbrt.f64 (log1p.f64 (expm1.f64 (cos.f64 (/.f64 (*.f64 angle (PI.f64)) 180))))) 2))) 2)) | |
| 27.7b | (+.f64 (-.f64 (exp.f64 (log1p.f64 (pow.f64 (*.f64 (sin.f64 (*.f64 (/.f64 angle 180) (PI.f64))) a) 2))) 1) (pow.f64 (*.f64 b (cos.f64 (*.f64 (/.f64 angle 180) (PI.f64)))) 2)) | |
| 25.5b | (+.f64 (pow.f64 (*.f64 a (sin.f64 (expm1.f64 (log1p.f64 (*.f64 (/.f64 angle 180) (PI.f64)))))) 2) (pow.f64 (*.f64 b (cos.f64 (*.f64 (/.f64 angle 180) (PI.f64)))) 2)) | |
| 22.2b | (+.f64 (pow.f64 (*.f64 a (sin.f64 (/.f64 (PI.f64) (/.f64 180 angle)))) 2) (pow.f64 (*.f64 b (cos.f64 (*.f64 (/.f64 angle 180) (PI.f64)))) 2)) | |
| 34.8b | (+.f64 (pow.f64 (*.f64 a (-.f64 (*.f64 (sin.f64 (exp.f64 (log1p.f64 (*.f64 (/.f64 angle 180) (PI.f64))))) (cos.f64 1)) (*.f64 (cos.f64 (exp.f64 (log1p.f64 (*.f64 (/.f64 angle 180) (PI.f64))))) (sin.f64 1)))) 2) (pow.f64 (*.f64 b (cos.f64 (*.f64 (/.f64 angle 180) (PI.f64)))) 2)) | |
| 26.3b | (+.f64 (pow.f64 (*.f64 a (sin.f64 (*.f64 (/.f64 angle 180) (PI.f64)))) 2) (pow.f64 (*.f64 b (cos.f64 (cbrt.f64 (*.f64 (pow.f64 (/.f64 angle 180) 3) (pow.f64 (PI.f64) 3))))) 2)) | |
| 22.1b | (+.f64 (pow.f64 (*.f64 a (sin.f64 (*.f64 (/.f64 angle 180) (PI.f64)))) 2) (pow.f64 (*.f64 b (*.f64 (cbrt.f64 1) (pow.f64 (cbrt.f64 (-.f64 (exp.f64 (log1p.f64 (cos.f64 (/.f64 (*.f64 angle (PI.f64)) 180)))) 1)) 2))) 2)) | |
| 31.5b | (+.f64 (pow.f64 (*.f64 a (sin.f64 (cbrt.f64 (pow.f64 (*.f64 (/.f64 angle 180) (PI.f64)) 3)))) 2) (pow.f64 (*.f64 b (cos.f64 (*.f64 (/.f64 angle 180) (PI.f64)))) 2)) | |
| 31.5b | (+.f64 (pow.f64 (*.f64 a (+.f64 (log.f64 (*.f64 (cbrt.f64 (exp.f64 (sin.f64 (*.f64 (/.f64 angle 180) (PI.f64))))) (cbrt.f64 (exp.f64 (sin.f64 (*.f64 (/.f64 angle 180) (PI.f64))))))) (log.f64 (cbrt.f64 (exp.f64 (sin.f64 (*.f64 (/.f64 angle 180) (PI.f64)))))))) 2) (pow.f64 (*.f64 b (cos.f64 (*.f64 (/.f64 angle 180) (PI.f64)))) 2)) | |
| 22.0b | (+.f64 (pow.f64 (*.f64 a (sin.f64 (*.f64 (/.f64 angle 180) (PI.f64)))) 2) (pow.f64 (*.f64 b (*.f64 (cbrt.f64 (cos.f64 (*.f64 1/180 (*.f64 angle (PI.f64))))) (pow.f64 (cbrt.f64 (-.f64 (exp.f64 (log1p.f64 (cos.f64 (/.f64 (*.f64 angle (PI.f64)) 180)))) 1)) 2))) 2)) | |
| 42.2b | (+.f64 (pow.f64 (*.f64 a (sin.f64 (*.f64 (/.f64 angle 180) (PI.f64)))) 2) (pow.f64 (*.f64 b (cos.f64 (pow.f64 (sqrt.f64 (*.f64 (/.f64 angle 180) (PI.f64))) 2))) 2)) | |
| 35.1b | (+.f64 (*.f64 (*.f64 a a) (fma.f64 (*.f64 (*.f64 angle angle) (pow.f64 (PI.f64) 2)) 1/32400 (*.f64 (*.f64 (pow.f64 angle 4) (pow.f64 (PI.f64) 4)) -1/3149280000))) (pow.f64 (*.f64 b (cos.f64 (*.f64 (/.f64 angle 180) (PI.f64)))) 2)) | |
| 25.5b | (+.f64 (pow.f64 (*.f64 a (sin.f64 (*.f64 (/.f64 angle 180) (PI.f64)))) 2) (pow.f64 (*.f64 b (*.f64 (cbrt.f64 (+.f64 (*.f64 (cos.f64 (exp.f64 (log1p.f64 (/.f64 (*.f64 angle (PI.f64)) 180)))) (cos.f64 1)) (*.f64 (sin.f64 (exp.f64 (log1p.f64 (/.f64 (*.f64 angle (PI.f64)) 180)))) (sin.f64 1)))) (pow.f64 (cbrt.f64 (-.f64 (exp.f64 (log1p.f64 (cos.f64 (/.f64 (*.f64 angle (PI.f64)) 180)))) 1)) 2))) 2)) | |
| 22.1b | (+.f64 (pow.f64 (*.f64 a (sin.f64 (*.f64 1/180 (*.f64 angle (PI.f64))))) 2) (pow.f64 (*.f64 b (cos.f64 (/.f64 1 (/.f64 180 (*.f64 angle (PI.f64)))))) 2)) | |
| 33.8b | (+.f64 (*.f64 1/32400 (*.f64 (pow.f64 angle 2) (*.f64 (pow.f64 a 2) (pow.f64 (PI.f64) 2)))) (pow.f64 (*.f64 b (cos.f64 (*.f64 (/.f64 angle 180) (PI.f64)))) 2)) | |
| 22.0b | (+.f64 (pow.f64 (*.f64 a (sin.f64 (*.f64 (/.f64 angle 180) (PI.f64)))) 2) (pow.f64 (*.f64 b (*.f64 (cbrt.f64 (-.f64 (exp.f64 (log1p.f64 (cos.f64 (/.f64 (*.f64 angle (PI.f64)) 180)))) 1)) (pow.f64 (cbrt.f64 (-.f64 (exp.f64 (log1p.f64 (cos.f64 (/.f64 (*.f64 angle (PI.f64)) 180)))) 1)) 2))) 2)) | |
| 22.1b | (+.f64 (pow.f64 (*.f64 a (sin.f64 (*.f64 (/.f64 angle 180) (PI.f64)))) 2) (pow.f64 (*.f64 b 1) 2)) | |
| 22.2b | (+.f64 (*.f64 (pow.f64 (cbrt.f64 (*.f64 (sin.f64 (*.f64 (/.f64 angle 180) (PI.f64))) a)) 2) (*.f64 (cbrt.f64 (*.f64 (sin.f64 (*.f64 (/.f64 angle 180) (PI.f64))) a)) (*.f64 (sin.f64 (*.f64 (/.f64 angle 180) (PI.f64))) a))) (pow.f64 (*.f64 b (cos.f64 (*.f64 (/.f64 angle 180) (PI.f64)))) 2)) | |
| 22.0b | (+.f64 (pow.f64 (*.f64 a (sin.f64 (*.f64 (/.f64 angle 180) (PI.f64)))) 2) (pow.f64 (*.f64 b (*.f64 (cbrt.f64 (cos.f64 (/.f64 (*.f64 angle (PI.f64)) 180))) (pow.f64 (cbrt.f64 (cbrt.f64 (pow.f64 (cos.f64 (/.f64 (*.f64 angle (PI.f64)) 180)) 3))) 2))) 2)) | |
| 25.5b | (+.f64 (pow.f64 (*.f64 a (sin.f64 (*.f64 (/.f64 angle 180) (PI.f64)))) 2) (pow.f64 (*.f64 b (cos.f64 (expm1.f64 (log1p.f64 (*.f64 (/.f64 angle 180) (PI.f64)))))) 2)) |
Compiled 8758 to 6503 computations (25.7% saved)
Total 1.2b remaining (6%)
Threshold costs 0b (0%)
Compiled 25557 to 20288 computations (20.6% saved)
| 1× | egg-herbie |
| 5× | *-commutative_binary64 |
| 2× | +-commutative_binary64 |
| 1× | sub-neg_binary64 |
| 1× | 1-exp_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 28 | 65 |
| 1 | 39 | 65 |
| 2 | 40 | 65 |
| 3 | 38 | 65 |
Compiled 1387 to 1113 computations (19.8% saved)
Loading profile data...