Time bar (total: 11.9s)
| 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 |
| 0% | 99.9% | 0.1% | 6 |
| 6.2% | 93.6% | 0.1% | 7 |
| 9.4% | 90.5% | 0.1% | 8 |
| 14% | 85.8% | 0.1% | 9 |
| 19.5% | 80.4% | 0.1% | 10 |
| 20.7% | 79.2% | 0.1% | 11 |
| 22% | 77.8% | 0.1% | 12 |
| 23.5% | 76.4% | 0.1% | 13 |
| 23.8% | 76% | 0.1% | 14 |
Compiled 13 to 9 computations (30.8% saved)
| 2.4s | 3561× | body | 1024 | valid |
| 1.1s | 2419× | body | 128 | valid |
| 610.0ms | 1445× | body | 512 | valid |
| 280.0ms | 202× | body | 2048 | valid |
| 193.0ms | 629× | body | 256 | valid |
| 0.0ms | 1× | body | 256 | invalid |
Compiled 38 to 26 computations (31.6% saved)
| 1× | egg-herbie |
| 3× | *-commutative_binary64 |
| 2× | associate-/l*_binary64 |
| 2× | associate-/r/_binary64 |
| 1× | +-commutative_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 9 | 14 |
| 1 | 13 | 14 |
| 2 | 17 | 14 |
| 3 | 20 | 14 |
| 4 | 21 | 14 |
| 5 | 21 | 14 |
2 alts after pruning (2 fresh and 0 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 1 | 1 | 2 |
| Fresh | 0 | 1 | 1 |
| Picked | 0 | 0 | 0 |
| Done | 0 | 0 | 0 |
| Total | 1 | 2 | 3 |
| Status | Error | Program |
| ▶ | 14.1b | (/.f64 (*.f64 r (sin.f64 b)) (cos.f64 (+.f64 a b))) |
Compiled 45 to 27 computations (40% saved)
Found 3 expressions with local error:
| New | Error | Program |
| ✓ | 0.1b | (*.f64 r (sin.f64 b)) |
| ✓ | 0.2b | (/.f64 (*.f64 r (sin.f64 b)) (cos.f64 (+.f64 a b))) |
| ✓ | 3.9b | (cos.f64 (+.f64 a b)) |
3 calls:
| 47.0ms | (/.f64 (*.f64 r (sin.f64 b)) (cos.f64 (+.f64 a b))) |
| 7.0ms | (*.f64 r (sin.f64 b)) |
| 4.0ms | (cos.f64 (+.f64 a b)) |
| 2× | batch-egg-rewrite |
| 701× | prod-diff_binary64 |
| 211× | fma-def_binary64 |
| 196× | expm1-udef_binary64 |
| 196× | log1p-udef_binary64 |
| 126× | egg-rr |
3 calls:
| 100.0ms | (*.f64 r (sin.f64 b)) |
| 100.0ms | (/.f64 (*.f64 r (sin.f64 b)) (cos.f64 (+.f64 a b))) |
| 100.0ms | (cos.f64 (+.f64 a b)) |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 9 | 26 |
| 1 | 200 | 26 |
| 2 | 2799 | 26 |
| 3 | 4792 | 26 |
| 4 | 5009 | 26 |
| 0 | 0 | 0 |
| 1 | 0 | 0 |
| 1× | egg-herbie |
| 833× | times-frac_binary64 |
| 659× | associate-/l*_binary64 |
| 533× | fma-def_binary64 |
| 310× | associate-/r*_binary64 |
| 177× | fma-neg_binary64 |
Useful iterations: 2 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 131 | 1221 |
| 1 | 387 | 1211 |
| 2 | 1352 | 1163 |
| 3 | 4913 | 1163 |
| 4 | 4972 | 1163 |
15 alts after pruning (15 fresh and 0 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 149 | 15 | 164 |
| Fresh | 0 | 0 | 0 |
| Picked | 1 | 0 | 1 |
| Done | 0 | 0 | 0 |
| Total | 150 | 15 | 165 |
| Status | Error | Program |
| 0.9b | (/.f64 (*.f64 r (sin.f64 b)) (fma.f64 (*.f64 (cbrt.f64 (*.f64 (cos.f64 a) (cos.f64 b))) (cbrt.f64 (*.f64 (cos.f64 a) (cos.f64 b)))) (cbrt.f64 (*.f64 (cos.f64 a) (cos.f64 b))) (neg.f64 (*.f64 (sin.f64 b) (sin.f64 a))))) | |
| 0.5b | (/.f64 (*.f64 r (sin.f64 b)) (+.f64 (fma.f64 1 (*.f64 (cos.f64 a) (cos.f64 b)) (neg.f64 (*.f64 (cbrt.f64 (sin.f64 b)) (*.f64 (sin.f64 a) (pow.f64 (cbrt.f64 (sin.f64 b)) 2))))) (fma.f64 (neg.f64 (cbrt.f64 (sin.f64 b))) (*.f64 (sin.f64 a) (pow.f64 (cbrt.f64 (sin.f64 b)) 2)) (*.f64 (cbrt.f64 (sin.f64 b)) (*.f64 (sin.f64 a) (pow.f64 (cbrt.f64 (sin.f64 b)) 2)))))) | |
| 0.4b | (/.f64 (*.f64 r (sin.f64 b)) (/.f64 (-.f64 (pow.f64 (*.f64 (cos.f64 a) (cos.f64 b)) 3) (pow.f64 (*.f64 (sin.f64 b) (sin.f64 a)) 3)) (fma.f64 (*.f64 (cos.f64 a) (cos.f64 b)) (*.f64 (cos.f64 a) (cos.f64 b)) (fma.f64 (*.f64 (sin.f64 b) (sin.f64 a)) (*.f64 (sin.f64 b) (sin.f64 a)) (*.f64 (*.f64 (cos.f64 a) (cos.f64 b)) (*.f64 (sin.f64 b) (sin.f64 a))))))) | |
| ▶ | 0.3b | (/.f64 (*.f64 r (sin.f64 b)) (+.f64 (fma.f64 1 (*.f64 (cos.f64 a) (cos.f64 b)) (neg.f64 (*.f64 (sin.f64 b) (*.f64 (sin.f64 a) 1)))) (fma.f64 (neg.f64 (sin.f64 b)) (*.f64 (sin.f64 a) 1) (*.f64 (sin.f64 b) (*.f64 (sin.f64 a) 1))))) |
| 14.8b | (*.f64 (pow.f64 (cbrt.f64 (*.f64 r (sin.f64 b))) 2) (*.f64 (cbrt.f64 (*.f64 r (sin.f64 b))) (/.f64 1 (cos.f64 (+.f64 a b))))) | |
| 0.5b | (/.f64 (*.f64 r (sin.f64 b)) (+.f64 (fma.f64 1 (*.f64 (cos.f64 a) (cos.f64 b)) (neg.f64 (*.f64 (cbrt.f64 (*.f64 (sin.f64 b) (sin.f64 a))) (*.f64 (cbrt.f64 (*.f64 (sin.f64 b) (sin.f64 a))) (cbrt.f64 (*.f64 (sin.f64 b) (sin.f64 a))))))) (fma.f64 (neg.f64 (cbrt.f64 (*.f64 (sin.f64 b) (sin.f64 a)))) (*.f64 (cbrt.f64 (*.f64 (sin.f64 b) (sin.f64 a))) (cbrt.f64 (*.f64 (sin.f64 b) (sin.f64 a)))) (*.f64 (cbrt.f64 (*.f64 (sin.f64 b) (sin.f64 a))) (*.f64 (cbrt.f64 (*.f64 (sin.f64 b) (sin.f64 a))) (cbrt.f64 (*.f64 (sin.f64 b) (sin.f64 a)))))))) | |
| 14.2b | (*.f64 r (/.f64 1 (/.f64 (cos.f64 (+.f64 a b)) (sin.f64 b)))) | |
| 14.3b | (/.f64 (*.f64 r (sin.f64 b)) (cbrt.f64 (pow.f64 (cos.f64 (+.f64 a b)) 3))) | |
| 14.3b | (/.f64 (*.f64 r (sin.f64 b)) (log.f64 (+.f64 1 (expm1.f64 (cos.f64 (+.f64 a b)))))) | |
| 24.0b | (/.f64 (*.f64 r (sin.f64 b)) (+.f64 (fma.f64 (sqrt.f64 (*.f64 (cos.f64 a) (cos.f64 b))) (sqrt.f64 (*.f64 (cos.f64 a) (cos.f64 b))) (neg.f64 (*.f64 (sin.f64 b) (*.f64 (sin.f64 a) 1)))) (fma.f64 (neg.f64 (sin.f64 b)) (*.f64 (sin.f64 a) 1) (*.f64 (sin.f64 b) (*.f64 (sin.f64 a) 1))))) | |
| 31.7b | (/.f64 (*.f64 r (sin.f64 b)) (+.f64 (fma.f64 (cos.f64 a) (cos.f64 b) (neg.f64 (*.f64 (sqrt.f64 (sin.f64 b)) (*.f64 (sin.f64 a) (sqrt.f64 (sin.f64 b)))))) (fma.f64 (neg.f64 (sqrt.f64 (sin.f64 b))) (*.f64 (sin.f64 a) (sqrt.f64 (sin.f64 b))) (*.f64 (sqrt.f64 (sin.f64 b)) (*.f64 (sin.f64 a) (sqrt.f64 (sin.f64 b))))))) | |
| 0.4b | (/.f64 (*.f64 r (sin.f64 b)) (+.f64 (fma.f64 (cos.f64 a) (cos.f64 b) (neg.f64 (*.f64 (cbrt.f64 (sin.f64 b)) (*.f64 (sin.f64 a) (pow.f64 (cbrt.f64 (sin.f64 b)) 2))))) (fma.f64 (neg.f64 (cbrt.f64 (sin.f64 b))) (*.f64 (sin.f64 a) (pow.f64 (cbrt.f64 (sin.f64 b)) 2)) (*.f64 (cbrt.f64 (sin.f64 b)) (*.f64 (sin.f64 a) (pow.f64 (cbrt.f64 (sin.f64 b)) 2)))))) | |
| 14.2b | (*.f64 (*.f64 r (sin.f64 b)) (/.f64 1 (cos.f64 (+.f64 a b)))) | |
| 0.3b | (/.f64 (*.f64 r (sin.f64 b)) (fma.f64 (cos.f64 a) (cos.f64 b) (neg.f64 (*.f64 (sin.f64 b) (sin.f64 a))))) | |
| 29.9b | (fma.f64 1/2 (*.f64 (/.f64 (*.f64 (sin.f64 b) r) (cos.f64 b)) (*.f64 a a)) (fma.f64 (/.f64 (sin.f64 b) (cos.f64 b)) r (fma.f64 (/.f64 (pow.f64 (sin.f64 b) 2) (pow.f64 (cos.f64 b) 2)) (*.f64 a r) (/.f64 (*.f64 (*.f64 a (*.f64 a r)) (pow.f64 (sin.f64 b) 3)) (pow.f64 (cos.f64 b) 3))))) |
Compiled 5077 to 1626 computations (68% saved)
Found 4 expressions with local error:
| New | Error | Program |
| ✓ | 0.1b | (fma.f64 1 (*.f64 (cos.f64 a) (cos.f64 b)) (neg.f64 (*.f64 (sin.f64 b) (*.f64 (sin.f64 a) 1)))) |
| ✓ | 0.2b | (*.f64 (sin.f64 b) (*.f64 (sin.f64 a) 1)) |
| ✓ | 0.2b | (/.f64 (*.f64 r (sin.f64 b)) (+.f64 (fma.f64 1 (*.f64 (cos.f64 a) (cos.f64 b)) (neg.f64 (*.f64 (sin.f64 b) (*.f64 (sin.f64 a) 1)))) (fma.f64 (neg.f64 (sin.f64 b)) (*.f64 (sin.f64 a) 1) (*.f64 (sin.f64 b) (*.f64 (sin.f64 a) 1))))) |
| ✓ | 52.4b | (fma.f64 (neg.f64 (sin.f64 b)) (*.f64 (sin.f64 a) 1) (*.f64 (sin.f64 b) (*.f64 (sin.f64 a) 1))) |
4 calls:
| 139.0ms | (/.f64 (*.f64 r (sin.f64 b)) (+.f64 (fma.f64 1 (*.f64 (cos.f64 a) (cos.f64 b)) (neg.f64 (*.f64 (sin.f64 b) (*.f64 (sin.f64 a) 1)))) (fma.f64 (neg.f64 (sin.f64 b)) (*.f64 (sin.f64 a) 1) (*.f64 (sin.f64 b) (*.f64 (sin.f64 a) 1))))) |
| 24.0ms | (fma.f64 (neg.f64 (sin.f64 b)) (*.f64 (sin.f64 a) 1) (*.f64 (sin.f64 b) (*.f64 (sin.f64 a) 1))) |
| 17.0ms | (fma.f64 1 (*.f64 (cos.f64 a) (cos.f64 b)) (neg.f64 (*.f64 (sin.f64 b) (*.f64 (sin.f64 a) 1)))) |
| 9.0ms | (*.f64 (sin.f64 b) (*.f64 (sin.f64 a) 1)) |
| 2× | batch-egg-rewrite |
| 311× | log1p-udef_binary64 |
| 310× | expm1-udef_binary64 |
| 195× | add-sqr-sqrt_binary64 |
| 180× | log1p-expm1-u_binary64 |
| 180× | expm1-log1p-u_binary64 |
4 calls:
| 118.0ms | (fma.f64 1 (*.f64 (cos.f64 a) (cos.f64 b)) (neg.f64 (*.f64 (sin.f64 b) (*.f64 (sin.f64 a) 1)))) |
| 118.0ms | (*.f64 (sin.f64 b) (*.f64 (sin.f64 a) 1)) |
| 118.0ms | (/.f64 (*.f64 r (sin.f64 b)) (+.f64 (fma.f64 1 (*.f64 (cos.f64 a) (cos.f64 b)) (neg.f64 (*.f64 (sin.f64 b) (*.f64 (sin.f64 a) 1)))) (fma.f64 (neg.f64 (sin.f64 b)) (*.f64 (sin.f64 a) 1) (*.f64 (sin.f64 b) (*.f64 (sin.f64 a) 1))))) |
| 118.0ms | (fma.f64 (neg.f64 (sin.f64 b)) (*.f64 (sin.f64 a) 1) (*.f64 (sin.f64 b) (*.f64 (sin.f64 a) 1))) |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 19 | 94 |
| 1 | 382 | 52 |
| 2 | 4492 | 52 |
| 3 | 5000 | 52 |
| 4 | 5326 | 52 |
| 0 | 0 | 0 |
| 1 | 0 | 0 |
| 1× | egg-herbie |
| 833× | times-frac_binary64 |
| 664× | associate-/l*_binary64 |
| 607× | fma-def_binary64 |
| 273× | fma-neg_binary64 |
| 240× | cancel-sign-sub-inv_binary64 |
Useful iterations: 3 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 146 | 1999 |
| 1 | 437 | 1989 |
| 2 | 1486 | 1927 |
| 3 | 4980 | 1923 |
| 4 | 5088 | 1923 |
16 alts after pruning (16 fresh and 0 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 197 | 5 | 202 |
| Fresh | 3 | 11 | 14 |
| Picked | 1 | 0 | 1 |
| Done | 0 | 0 | 0 |
| Total | 201 | 16 | 217 |
| Status | Error | Program |
| 0.9b | (/.f64 (*.f64 r (sin.f64 b)) (fma.f64 (*.f64 (cbrt.f64 (*.f64 (cos.f64 a) (cos.f64 b))) (cbrt.f64 (*.f64 (cos.f64 a) (cos.f64 b)))) (cbrt.f64 (*.f64 (cos.f64 a) (cos.f64 b))) (neg.f64 (*.f64 (sin.f64 b) (sin.f64 a))))) | |
| 0.5b | (/.f64 (*.f64 r (sin.f64 b)) (+.f64 (fma.f64 1 (*.f64 (cos.f64 a) (cos.f64 b)) (neg.f64 (*.f64 (cbrt.f64 (sin.f64 b)) (*.f64 (sin.f64 a) (pow.f64 (cbrt.f64 (sin.f64 b)) 2))))) (fma.f64 (neg.f64 (cbrt.f64 (sin.f64 b))) (*.f64 (sin.f64 a) (pow.f64 (cbrt.f64 (sin.f64 b)) 2)) (*.f64 (cbrt.f64 (sin.f64 b)) (*.f64 (sin.f64 a) (pow.f64 (cbrt.f64 (sin.f64 b)) 2)))))) | |
| 14.8b | (*.f64 (pow.f64 (cbrt.f64 (*.f64 r (sin.f64 b))) 2) (*.f64 (cbrt.f64 (*.f64 r (sin.f64 b))) (/.f64 1 (cos.f64 (+.f64 a b))))) | |
| 0.5b | (/.f64 (*.f64 r (sin.f64 b)) (+.f64 (fma.f64 1 (*.f64 (cos.f64 a) (cos.f64 b)) (neg.f64 (*.f64 (cbrt.f64 (*.f64 (sin.f64 b) (sin.f64 a))) (*.f64 (cbrt.f64 (*.f64 (sin.f64 b) (sin.f64 a))) (cbrt.f64 (*.f64 (sin.f64 b) (sin.f64 a))))))) (fma.f64 (neg.f64 (cbrt.f64 (*.f64 (sin.f64 b) (sin.f64 a)))) (*.f64 (cbrt.f64 (*.f64 (sin.f64 b) (sin.f64 a))) (cbrt.f64 (*.f64 (sin.f64 b) (sin.f64 a)))) (*.f64 (cbrt.f64 (*.f64 (sin.f64 b) (sin.f64 a))) (*.f64 (cbrt.f64 (*.f64 (sin.f64 b) (sin.f64 a))) (cbrt.f64 (*.f64 (sin.f64 b) (sin.f64 a)))))))) | |
| 14.2b | (*.f64 r (/.f64 1 (/.f64 (cos.f64 (+.f64 a b)) (sin.f64 b)))) | |
| 14.3b | (/.f64 (*.f64 r (sin.f64 b)) (cbrt.f64 (pow.f64 (cos.f64 (+.f64 a b)) 3))) | |
| 14.2b | (*.f64 (/.f64 (*.f64 (sin.f64 b) r) (+.f64 (pow.f64 (cos.f64 (+.f64 a b)) 3) (pow.f64 (*.f64 (*.f64 (sin.f64 b) (sin.f64 a)) 0) 3))) (+.f64 (pow.f64 (cos.f64 (+.f64 a b)) 2) (*.f64 (*.f64 (*.f64 (sin.f64 b) (sin.f64 a)) 0) (-.f64 (*.f64 (*.f64 (sin.f64 b) (sin.f64 a)) 0) (cos.f64 (+.f64 a b)))))) | |
| 14.3b | (/.f64 (*.f64 r (sin.f64 b)) (log.f64 (+.f64 1 (expm1.f64 (cos.f64 (+.f64 a b)))))) | |
| 24.0b | (/.f64 (*.f64 r (sin.f64 b)) (+.f64 (fma.f64 (sqrt.f64 (*.f64 (cos.f64 a) (cos.f64 b))) (sqrt.f64 (*.f64 (cos.f64 a) (cos.f64 b))) (neg.f64 (*.f64 (sin.f64 b) (*.f64 (sin.f64 a) 1)))) (fma.f64 (neg.f64 (sin.f64 b)) (*.f64 (sin.f64 a) 1) (*.f64 (sin.f64 b) (*.f64 (sin.f64 a) 1))))) | |
| 0.4b | (/.f64 (*.f64 r (sin.f64 b)) (+.f64 (fma.f64 1 (*.f64 (cos.f64 a) (cos.f64 b)) (neg.f64 (*.f64 (sin.f64 b) (*.f64 (sin.f64 a) 1)))) (fma.f64 (neg.f64 (sin.f64 b)) (*.f64 (sin.f64 a) 1) (log.f64 (pow.f64 (exp.f64 (sin.f64 b)) (sin.f64 a)))))) | |
| 29.9b | (fma.f64 1/2 (*.f64 (/.f64 (*.f64 (sin.f64 b) r) (cos.f64 b)) (*.f64 a a)) (fma.f64 (/.f64 (sin.f64 b) (cos.f64 b)) r (fma.f64 (/.f64 (pow.f64 (sin.f64 b) 2) (pow.f64 (cos.f64 b) 2)) (*.f64 a r) (/.f64 (*.f64 (*.f64 a (*.f64 a r)) (pow.f64 (sin.f64 b) 3)) (pow.f64 (cos.f64 b) 3))))) | |
| 0.4b | (/.f64 (*.f64 r (sin.f64 b)) (+.f64 (fma.f64 (cos.f64 a) (cos.f64 b) (neg.f64 (*.f64 (cbrt.f64 (sin.f64 b)) (*.f64 (sin.f64 a) (pow.f64 (cbrt.f64 (sin.f64 b)) 2))))) (fma.f64 (neg.f64 (cbrt.f64 (sin.f64 b))) (*.f64 (sin.f64 a) (pow.f64 (cbrt.f64 (sin.f64 b)) 2)) (*.f64 (cbrt.f64 (sin.f64 b)) (*.f64 (sin.f64 a) (pow.f64 (cbrt.f64 (sin.f64 b)) 2)))))) | |
| ▶ | 0.3b | (/.f64 (*.f64 r (sin.f64 b)) (+.f64 (fma.f64 1 (*.f64 (cos.f64 a) (cos.f64 b)) (neg.f64 (log1p.f64 (expm1.f64 (*.f64 (sin.f64 b) (sin.f64 a)))))) (fma.f64 (neg.f64 (sin.f64 b)) (*.f64 (sin.f64 a) 1) (*.f64 (sin.f64 b) (*.f64 (sin.f64 a) 1))))) |
| 0.3b | (/.f64 (*.f64 r (sin.f64 b)) (fma.f64 (cos.f64 a) (cos.f64 b) (neg.f64 (*.f64 (sin.f64 b) (sin.f64 a))))) | |
| 0.4b | (/.f64 (*.f64 r (sin.f64 b)) (+.f64 (fma.f64 1 (*.f64 (cos.f64 a) (cos.f64 b)) (neg.f64 (cbrt.f64 (*.f64 (pow.f64 (sin.f64 b) 3) (pow.f64 (sin.f64 a) 3))))) (fma.f64 (neg.f64 (sin.f64 b)) (*.f64 (sin.f64 a) 1) (*.f64 (sin.f64 b) (*.f64 (sin.f64 a) 1))))) | |
| 0.4b | (/.f64 (*.f64 r (sin.f64 b)) (+.f64 (fma.f64 1 (*.f64 (cos.f64 a) (cos.f64 b)) (neg.f64 (log.f64 (pow.f64 (exp.f64 (sin.f64 b)) (sin.f64 a))))) (fma.f64 (neg.f64 (sin.f64 b)) (*.f64 (sin.f64 a) 1) (*.f64 (sin.f64 b) (*.f64 (sin.f64 a) 1))))) |
Compiled 8270 to 3399 computations (58.9% saved)
Found 4 expressions with local error:
| New | Error | Program |
| 0.2b | (*.f64 (sin.f64 b) (*.f64 (sin.f64 a) 1)) | |
| ✓ | 0.2b | (*.f64 (sin.f64 b) (sin.f64 a)) |
| ✓ | 0.2b | (/.f64 (*.f64 r (sin.f64 b)) (+.f64 (fma.f64 1 (*.f64 (cos.f64 a) (cos.f64 b)) (neg.f64 (log1p.f64 (expm1.f64 (*.f64 (sin.f64 b) (sin.f64 a)))))) (fma.f64 (neg.f64 (sin.f64 b)) (*.f64 (sin.f64 a) 1) (*.f64 (sin.f64 b) (*.f64 (sin.f64 a) 1))))) |
| 52.4b | (fma.f64 (neg.f64 (sin.f64 b)) (*.f64 (sin.f64 a) 1) (*.f64 (sin.f64 b) (*.f64 (sin.f64 a) 1))) |
2 calls:
| 140.0ms | (/.f64 (*.f64 r (sin.f64 b)) (+.f64 (fma.f64 1 (*.f64 (cos.f64 a) (cos.f64 b)) (neg.f64 (log1p.f64 (expm1.f64 (*.f64 (sin.f64 b) (sin.f64 a)))))) (fma.f64 (neg.f64 (sin.f64 b)) (*.f64 (sin.f64 a) 1) (*.f64 (sin.f64 b) (*.f64 (sin.f64 a) 1))))) |
| 9.0ms | (*.f64 (sin.f64 b) (sin.f64 a)) |
| 2× | batch-egg-rewrite |
| 767× | prod-diff_binary64 |
| 207× | add-sqr-sqrt_binary64 |
| 196× | expm1-log1p-u_binary64 |
| 195× | log1p-expm1-u_binary64 |
| 189× | add-cbrt-cube_binary64 |
2 calls:
| 73.0ms | (*.f64 (sin.f64 b) (sin.f64 a)) |
| 73.0ms | (/.f64 (*.f64 r (sin.f64 b)) (+.f64 (fma.f64 1 (*.f64 (cos.f64 a) (cos.f64 b)) (neg.f64 (log1p.f64 (expm1.f64 (*.f64 (sin.f64 b) (sin.f64 a)))))) (fma.f64 (neg.f64 (sin.f64 b)) (*.f64 (sin.f64 a) 1) (*.f64 (sin.f64 b) (*.f64 (sin.f64 a) 1))))) |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 22 | 56 |
| 1 | 407 | 37 |
| 2 | 4384 | 22 |
| 3 | 5518 | 22 |
| 0 | 0 | 0 |
| 1 | 0 | 0 |
| 1× | egg-herbie |
| 833× | times-frac_binary64 |
| 664× | associate-/l*_binary64 |
| 499× | fma-def_binary64 |
| 310× | associate-/r*_binary64 |
| 184× | fma-neg_binary64 |
Useful iterations: 3 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 130 | 1479 |
| 1 | 379 | 1469 |
| 2 | 1298 | 1409 |
| 3 | 4862 | 1399 |
| 4 | 4984 | 1399 |
| 5 | 4977 | 1399 |
16 alts after pruning (15 fresh and 1 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 161 | 2 | 163 |
| Fresh | 2 | 13 | 15 |
| Picked | 0 | 1 | 1 |
| Done | 0 | 0 | 0 |
| Total | 163 | 16 | 179 |
| Status | Error | Program |
| 14.7b | (*.f64 (/.f64 (*.f64 r (sin.f64 b)) (-.f64 (pow.f64 (cos.f64 (-.f64 b a)) 2) (pow.f64 (*.f64 (sin.f64 a) (+.f64 (sin.f64 b) (sin.f64 b))) 2))) (-.f64 (cos.f64 (-.f64 b a)) (*.f64 (sin.f64 a) (+.f64 (sin.f64 b) (sin.f64 b))))) | |
| 29.9b | (fma.f64 1/2 (*.f64 (/.f64 (*.f64 (sin.f64 b) r) (cos.f64 b)) (*.f64 a a)) (fma.f64 (/.f64 (sin.f64 b) (cos.f64 b)) r (fma.f64 (/.f64 (pow.f64 (sin.f64 b) 2) (pow.f64 (cos.f64 b) 2)) (*.f64 r a) (*.f64 (pow.f64 (/.f64 (sin.f64 b) (cos.f64 b)) 3) (*.f64 r (*.f64 a a)))))) | |
| 14.8b | (*.f64 (pow.f64 (cbrt.f64 (*.f64 r (sin.f64 b))) 2) (*.f64 (cbrt.f64 (*.f64 r (sin.f64 b))) (/.f64 1 (cos.f64 (+.f64 a b))))) | |
| 0.5b | (/.f64 (*.f64 r (sin.f64 b)) (+.f64 (fma.f64 1 (*.f64 (cos.f64 a) (cos.f64 b)) (neg.f64 (*.f64 (cbrt.f64 (*.f64 (sin.f64 b) (sin.f64 a))) (*.f64 (cbrt.f64 (*.f64 (sin.f64 b) (sin.f64 a))) (cbrt.f64 (*.f64 (sin.f64 b) (sin.f64 a))))))) (fma.f64 (neg.f64 (cbrt.f64 (*.f64 (sin.f64 b) (sin.f64 a)))) (*.f64 (cbrt.f64 (*.f64 (sin.f64 b) (sin.f64 a))) (cbrt.f64 (*.f64 (sin.f64 b) (sin.f64 a)))) (*.f64 (cbrt.f64 (*.f64 (sin.f64 b) (sin.f64 a))) (*.f64 (cbrt.f64 (*.f64 (sin.f64 b) (sin.f64 a))) (cbrt.f64 (*.f64 (sin.f64 b) (sin.f64 a)))))))) | |
| 14.2b | (*.f64 r (/.f64 1 (/.f64 (cos.f64 (+.f64 a b)) (sin.f64 b)))) | |
| 14.3b | (/.f64 (*.f64 r (sin.f64 b)) (cbrt.f64 (pow.f64 (cos.f64 (+.f64 a b)) 3))) | |
| 14.2b | (*.f64 (/.f64 (*.f64 (sin.f64 b) r) (+.f64 (pow.f64 (cos.f64 (+.f64 a b)) 3) (pow.f64 (*.f64 (*.f64 (sin.f64 b) (sin.f64 a)) 0) 3))) (+.f64 (pow.f64 (cos.f64 (+.f64 a b)) 2) (*.f64 (*.f64 (*.f64 (sin.f64 b) (sin.f64 a)) 0) (-.f64 (*.f64 (*.f64 (sin.f64 b) (sin.f64 a)) 0) (cos.f64 (+.f64 a b)))))) | |
| 14.3b | (/.f64 (*.f64 r (sin.f64 b)) (log.f64 (+.f64 1 (expm1.f64 (cos.f64 (+.f64 a b)))))) | |
| 24.0b | (/.f64 (*.f64 r (sin.f64 b)) (+.f64 (fma.f64 (sqrt.f64 (*.f64 (cos.f64 a) (cos.f64 b))) (sqrt.f64 (*.f64 (cos.f64 a) (cos.f64 b))) (neg.f64 (*.f64 (sin.f64 b) (*.f64 (sin.f64 a) 1)))) (fma.f64 (neg.f64 (sin.f64 b)) (*.f64 (sin.f64 a) 1) (*.f64 (sin.f64 b) (*.f64 (sin.f64 a) 1))))) | |
| 0.5b | (/.f64 (*.f64 r (sin.f64 b)) (+.f64 (fma.f64 1 (*.f64 (cos.f64 a) (cos.f64 b)) (neg.f64 (*.f64 (cbrt.f64 (sin.f64 b)) (*.f64 (sin.f64 a) (pow.f64 (cbrt.f64 (sin.f64 b)) 2))))) (fma.f64 (neg.f64 (cbrt.f64 (sin.f64 b))) (*.f64 (sin.f64 a) (pow.f64 (cbrt.f64 (sin.f64 b)) 2)) (*.f64 (cbrt.f64 (sin.f64 b)) (*.f64 (sin.f64 a) (pow.f64 (cbrt.f64 (sin.f64 b)) 2)))))) | |
| 0.4b | (/.f64 (*.f64 r (sin.f64 b)) (+.f64 (fma.f64 (cos.f64 a) (cos.f64 b) (neg.f64 (*.f64 (cbrt.f64 (sin.f64 b)) (*.f64 (sin.f64 a) (pow.f64 (cbrt.f64 (sin.f64 b)) 2))))) (fma.f64 (neg.f64 (cbrt.f64 (sin.f64 b))) (*.f64 (sin.f64 a) (pow.f64 (cbrt.f64 (sin.f64 b)) 2)) (*.f64 (cbrt.f64 (sin.f64 b)) (*.f64 (sin.f64 a) (pow.f64 (cbrt.f64 (sin.f64 b)) 2)))))) | |
| ✓ | 0.3b | (/.f64 (*.f64 r (sin.f64 b)) (+.f64 (fma.f64 1 (*.f64 (cos.f64 a) (cos.f64 b)) (neg.f64 (log1p.f64 (expm1.f64 (*.f64 (sin.f64 b) (sin.f64 a)))))) (fma.f64 (neg.f64 (sin.f64 b)) (*.f64 (sin.f64 a) 1) (*.f64 (sin.f64 b) (*.f64 (sin.f64 a) 1))))) |
| ▶ | 0.3b | (/.f64 (*.f64 r (sin.f64 b)) (fma.f64 (cos.f64 a) (cos.f64 b) (neg.f64 (*.f64 (sin.f64 b) (sin.f64 a))))) |
| 0.4b | (/.f64 (*.f64 r (sin.f64 b)) (+.f64 (fma.f64 1 (*.f64 (cos.f64 a) (cos.f64 b)) (neg.f64 (cbrt.f64 (*.f64 (pow.f64 (sin.f64 b) 3) (pow.f64 (sin.f64 a) 3))))) (fma.f64 (neg.f64 (sin.f64 b)) (*.f64 (sin.f64 a) 1) (*.f64 (sin.f64 b) (*.f64 (sin.f64 a) 1))))) | |
| 0.4b | (/.f64 (*.f64 r (sin.f64 b)) (+.f64 (fma.f64 1 (*.f64 (cos.f64 a) (cos.f64 b)) (neg.f64 (log.f64 (pow.f64 (exp.f64 (sin.f64 b)) (sin.f64 a))))) (fma.f64 (neg.f64 (sin.f64 b)) (*.f64 (sin.f64 a) 1) (*.f64 (sin.f64 b) (*.f64 (sin.f64 a) 1))))) | |
| 0.4b | (/.f64 (*.f64 r (sin.f64 b)) (+.f64 (fma.f64 1 (*.f64 (cos.f64 a) (cos.f64 b)) (neg.f64 (*.f64 (sin.f64 b) (*.f64 (sin.f64 a) 1)))) (fma.f64 (neg.f64 (sin.f64 b)) (*.f64 (sin.f64 a) 1) (log.f64 (pow.f64 (exp.f64 (sin.f64 b)) (sin.f64 a)))))) |
Compiled 6752 to 2570 computations (61.9% saved)
Found 4 expressions with local error:
| New | Error | Program |
| 0.1b | (*.f64 r (sin.f64 b)) | |
| ✓ | 0.1b | (fma.f64 (cos.f64 a) (cos.f64 b) (neg.f64 (*.f64 (sin.f64 b) (sin.f64 a)))) |
| 0.2b | (*.f64 (sin.f64 b) (sin.f64 a)) | |
| ✓ | 0.2b | (/.f64 (*.f64 r (sin.f64 b)) (fma.f64 (cos.f64 a) (cos.f64 b) (neg.f64 (*.f64 (sin.f64 b) (sin.f64 a))))) |
2 calls:
| 113.0ms | (/.f64 (*.f64 r (sin.f64 b)) (fma.f64 (cos.f64 a) (cos.f64 b) (neg.f64 (*.f64 (sin.f64 b) (sin.f64 a))))) |
| 15.0ms | (fma.f64 (cos.f64 a) (cos.f64 b) (neg.f64 (*.f64 (sin.f64 b) (sin.f64 a)))) |
| 2× | batch-egg-rewrite |
| 779× | prod-diff_binary64 |
| 400× | egg-rr |
| 244× | log1p-udef_binary64 |
| 146× | add-sqr-sqrt_binary64 |
| 134× | log1p-expm1-u_binary64 |
2 calls:
| 128.0ms | (fma.f64 (cos.f64 a) (cos.f64 b) (neg.f64 (*.f64 (sin.f64 b) (sin.f64 a)))) |
| 128.0ms | (/.f64 (*.f64 r (sin.f64 b)) (fma.f64 (cos.f64 a) (cos.f64 b) (neg.f64 (*.f64 (sin.f64 b) (sin.f64 a))))) |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 13 | 44 |
| 1 | 276 | 20 |
| 2 | 3413 | 20 |
| 3 | 5310 | 20 |
| 0 | 0 | 0 |
| 1 | 0 | 0 |
| 1× | egg-herbie |
| 833× | times-frac_binary64 |
| 664× | associate-/l*_binary64 |
| 486× | associate-*l*_binary64 |
| 460× | fma-def_binary64 |
| 310× | associate-/r*_binary64 |
Useful iterations: 2 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 118 | 1643 |
| 1 | 341 | 1641 |
| 2 | 1190 | 1603 |
| 3 | 5479 | 1603 |
15 alts after pruning (13 fresh and 2 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 491 | 6 | 497 |
| Fresh | 7 | 7 | 14 |
| Picked | 0 | 1 | 1 |
| Done | 0 | 1 | 1 |
| Total | 498 | 15 | 513 |
| Status | Error | Program |
| 29.9b | (fma.f64 1/2 (*.f64 (/.f64 (*.f64 (sin.f64 b) r) (cos.f64 b)) (*.f64 a a)) (fma.f64 (/.f64 (sin.f64 b) (cos.f64 b)) r (fma.f64 (/.f64 (pow.f64 (sin.f64 b) 2) (pow.f64 (cos.f64 b) 2)) (*.f64 r a) (*.f64 (pow.f64 (/.f64 (sin.f64 b) (cos.f64 b)) 3) (*.f64 r (*.f64 a a)))))) | |
| 14.8b | (*.f64 (pow.f64 (cbrt.f64 (*.f64 r (sin.f64 b))) 2) (*.f64 (cbrt.f64 (*.f64 r (sin.f64 b))) (/.f64 1 (cos.f64 (+.f64 a b))))) | |
| 0.5b | (/.f64 (*.f64 r (sin.f64 b)) (+.f64 (fma.f64 1 (*.f64 (cos.f64 a) (cos.f64 b)) (neg.f64 (*.f64 (cbrt.f64 (*.f64 (sin.f64 b) (sin.f64 a))) (*.f64 (cbrt.f64 (*.f64 (sin.f64 b) (sin.f64 a))) (cbrt.f64 (*.f64 (sin.f64 b) (sin.f64 a))))))) (fma.f64 (neg.f64 (cbrt.f64 (*.f64 (sin.f64 b) (sin.f64 a)))) (*.f64 (cbrt.f64 (*.f64 (sin.f64 b) (sin.f64 a))) (cbrt.f64 (*.f64 (sin.f64 b) (sin.f64 a)))) (*.f64 (cbrt.f64 (*.f64 (sin.f64 b) (sin.f64 a))) (*.f64 (cbrt.f64 (*.f64 (sin.f64 b) (sin.f64 a))) (cbrt.f64 (*.f64 (sin.f64 b) (sin.f64 a)))))))) | |
| ✓ | 0.3b | (/.f64 (*.f64 r (sin.f64 b)) (+.f64 (fma.f64 1 (*.f64 (cos.f64 a) (cos.f64 b)) (neg.f64 (log1p.f64 (expm1.f64 (*.f64 (sin.f64 b) (sin.f64 a)))))) (fma.f64 (neg.f64 (sin.f64 b)) (*.f64 (sin.f64 a) 1) (*.f64 (sin.f64 b) (*.f64 (sin.f64 a) 1))))) |
| 31.8b | (/.f64 (*.f64 r (sin.f64 b)) (+.f64 (fma.f64 (pow.f64 (cbrt.f64 (cos.f64 a)) 2) (*.f64 (cbrt.f64 (cos.f64 a)) (cos.f64 b)) (neg.f64 (*.f64 (*.f64 (sqrt.f64 (sin.f64 b)) (sin.f64 a)) (sqrt.f64 (sin.f64 b))))) (fma.f64 (neg.f64 (*.f64 (sqrt.f64 (sin.f64 b)) (sin.f64 a))) (sqrt.f64 (sin.f64 b)) (*.f64 (*.f64 (sqrt.f64 (sin.f64 b)) (sin.f64 a)) (sqrt.f64 (sin.f64 b)))))) | |
| 14.2b | (*.f64 (sin.f64 b) (*.f64 r (/.f64 1 (cos.f64 (-.f64 b a))))) | |
| 31.0b | (/.f64 (pow.f64 (sqrt.f64 (*.f64 r (sin.f64 b))) 2) (fma.f64 (cos.f64 a) (cos.f64 b) (neg.f64 (*.f64 (sin.f64 b) (sin.f64 a))))) | |
| 14.3b | (/.f64 (*.f64 r (sin.f64 b)) (cbrt.f64 (pow.f64 (cos.f64 (+.f64 a b)) 3))) | |
| 14.2b | (*.f64 (/.f64 (*.f64 (sin.f64 b) r) (+.f64 (pow.f64 (cos.f64 (+.f64 a b)) 3) (pow.f64 (*.f64 (*.f64 (sin.f64 b) (sin.f64 a)) 0) 3))) (+.f64 (pow.f64 (cos.f64 (+.f64 a b)) 2) (*.f64 (*.f64 (*.f64 (sin.f64 b) (sin.f64 a)) 0) (-.f64 (*.f64 (*.f64 (sin.f64 b) (sin.f64 a)) 0) (cos.f64 (+.f64 a b)))))) | |
| 0.7b | (/.f64 (*.f64 r (sin.f64 b)) (+.f64 (fma.f64 (*.f64 (cos.f64 a) (pow.f64 (cbrt.f64 (cos.f64 b)) 2)) (cbrt.f64 (cos.f64 b)) (neg.f64 (*.f64 (*.f64 (cbrt.f64 (sin.f64 a)) (sin.f64 b)) (pow.f64 (cbrt.f64 (sin.f64 a)) 2)))) (fma.f64 (neg.f64 (*.f64 (cbrt.f64 (sin.f64 a)) (sin.f64 b))) (pow.f64 (cbrt.f64 (sin.f64 a)) 2) (*.f64 (*.f64 (cbrt.f64 (sin.f64 a)) (sin.f64 b)) (pow.f64 (cbrt.f64 (sin.f64 a)) 2))))) | |
| 14.3b | (/.f64 (*.f64 r (sin.f64 b)) (log.f64 (exp.f64 (cos.f64 (-.f64 b a))))) | |
| 0.5b | (/.f64 (*.f64 r (sin.f64 b)) (+.f64 (fma.f64 1 (*.f64 (cos.f64 a) (cos.f64 b)) (neg.f64 (*.f64 (cbrt.f64 (sin.f64 b)) (*.f64 (sin.f64 a) (pow.f64 (cbrt.f64 (sin.f64 b)) 2))))) (fma.f64 (neg.f64 (cbrt.f64 (sin.f64 b))) (*.f64 (sin.f64 a) (pow.f64 (cbrt.f64 (sin.f64 b)) 2)) (*.f64 (cbrt.f64 (sin.f64 b)) (*.f64 (sin.f64 a) (pow.f64 (cbrt.f64 (sin.f64 b)) 2)))))) | |
| 14.6b | (/.f64 (*.f64 r (sin.f64 b)) (+.f64 (fma.f64 (sqrt.f64 (cos.f64 a)) (*.f64 (sqrt.f64 (cos.f64 a)) (cos.f64 b)) (neg.f64 (*.f64 (*.f64 (cbrt.f64 (sin.f64 b)) (sin.f64 a)) (pow.f64 (cbrt.f64 (sin.f64 b)) 2)))) (fma.f64 (neg.f64 (*.f64 (cbrt.f64 (sin.f64 b)) (sin.f64 a))) (pow.f64 (cbrt.f64 (sin.f64 b)) 2) (*.f64 (*.f64 (cbrt.f64 (sin.f64 b)) (sin.f64 a)) (pow.f64 (cbrt.f64 (sin.f64 b)) 2))))) | |
| ✓ | 0.3b | (/.f64 (*.f64 r (sin.f64 b)) (fma.f64 (cos.f64 a) (cos.f64 b) (neg.f64 (*.f64 (sin.f64 b) (sin.f64 a))))) |
| 0.4b | (/.f64 (*.f64 r (sin.f64 b)) (+.f64 (fma.f64 1 (*.f64 (cos.f64 a) (cos.f64 b)) (neg.f64 (log.f64 (pow.f64 (exp.f64 (sin.f64 b)) (sin.f64 a))))) (fma.f64 (neg.f64 (sin.f64 b)) (*.f64 (sin.f64 a) 1) (*.f64 (sin.f64 b) (*.f64 (sin.f64 a) 1))))) |
Compiled 19371 to 4086 computations (78.9% saved)
Total 0.3b remaining (74.6%)
Threshold costs 0.3b (74.6%)
Compiled 47320 to 25628 computations (45.8% saved)
| 1× | egg-herbie |
| 7× | *-commutative_binary64 |
| 3× | +-commutative_binary64 |
| 2× | sub-neg_binary64 |
| 2× | neg-sub0_binary64 |
| 2× | neg-mul-1_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 22 | 53 |
| 1 | 33 | 53 |
| 2 | 37 | 53 |
| 3 | 39 | 53 |
| 4 | 38 | 53 |
Compiled 657 to 332 computations (49.5% saved)
Loading profile data...