Time bar (total: 10.3s)
| 1× | search |
| True | Other | False | Iter |
|---|---|---|---|
| 0% | 99.9% | 0.1% | 0 |
| 0% | 99.9% | 0.1% | 1 |
| 0% | 99.9% | 0.1% | 2 |
| 49.9% | 49.9% | 0.1% | 3 |
| 49.9% | 49.9% | 0.1% | 4 |
| 49.9% | 49.9% | 0.1% | 5 |
| 74.9% | 25% | 0.1% | 6 |
| 74.9% | 25% | 0.1% | 7 |
| 74.9% | 25% | 0.1% | 8 |
| 87.4% | 12.5% | 0.1% | 9 |
| 87.4% | 12.5% | 0.1% | 10 |
| 87.4% | 12.5% | 0.1% | 11 |
| 93.6% | 6.2% | 0.1% | 12 |
| 93.6% | 6.2% | 0.1% | 13 |
| 93.6% | 6.2% | 0.1% | 14 |
Compiled 27 to 21 computations (22.2% saved)
| 1.2s | 5602× | body | 128 | valid |
| 1.2s | 900× | body | 4096 | valid |
| 916.0ms | 891× | body | 2048 | valid |
| 358.0ms | 486× | body | 1024 | valid |
| 181.0ms | 122× | body | 256 | valid |
| 143.0ms | 255× | body | 512 | valid |
Compiled 80 to 62 computations (22.5% saved)
| 1× | egg-herbie |
| 652× | div-sub_binary64 |
| 554× | fma-neg_binary64 |
| 550× | hypot-def_binary64 |
| 431× | fma-def_binary64 |
| 378× | cancel-sign-sub-inv_binary64 |
Useful iterations: 1 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 20 | 36 |
| 1 | 44 | 25 |
| 2 | 96 | 25 |
| 3 | 264 | 25 |
| 4 | 706 | 25 |
| 5 | 2223 | 25 |
| 6 | 4175 | 25 |
| 7 | 4825 | 25 |
| 8 | 4983 | 25 |
3 alts after pruning (3 fresh and 0 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 0 | 2 | 2 |
| Fresh | 0 | 1 | 1 |
| Picked | 0 | 0 | 0 |
| Done | 0 | 0 | 0 |
| Total | 0 | 3 | 3 |
| Status | Error | Program |
| 30.2b | (*.f64 180 (/.f64 (atan.f64 (*.f64 (/.f64 1 B) (-.f64 (-.f64 C A) (sqrt.f64 (+.f64 (pow.f64 (-.f64 A C) 2) (pow.f64 B 2)))))) (PI.f64))) | |
| ▶ | 13.7b | (*.f64 180 (/.f64 (atan.f64 (/.f64 (-.f64 (-.f64 C A) (hypot.f64 B (-.f64 C A))) B)) (PI.f64))) |
Compiled 132 to 91 computations (31.1% saved)
Found 4 expressions with local error:
| New | Error | Program |
| ✓ | 0.0b | (/.f64 (-.f64 (-.f64 C A) (hypot.f64 B (-.f64 C A))) B) |
| ✓ | 0.0b | (*.f64 180 (/.f64 (atan.f64 (/.f64 (-.f64 (-.f64 C A) (hypot.f64 B (-.f64 C A))) B)) (PI.f64))) |
| ✓ | 0.0b | (/.f64 (atan.f64 (/.f64 (-.f64 (-.f64 C A) (hypot.f64 B (-.f64 C A))) B)) (PI.f64)) |
| ✓ | 0.7b | (-.f64 (-.f64 C A) (hypot.f64 B (-.f64 C A))) |
4 calls:
| 57.0ms | (/.f64 (-.f64 (-.f64 C A) (hypot.f64 B (-.f64 C A))) B) |
| 44.0ms | (-.f64 (-.f64 C A) (hypot.f64 B (-.f64 C A))) |
| 37.0ms | (*.f64 180 (/.f64 (atan.f64 (/.f64 (-.f64 (-.f64 C A) (hypot.f64 B (-.f64 C A))) B)) (PI.f64))) |
| 26.0ms | (/.f64 (atan.f64 (/.f64 (-.f64 (-.f64 C A) (hypot.f64 B (-.f64 C A))) B)) (PI.f64)) |
| 2× | batch-egg-rewrite |
| 285× | expm1-udef_binary64 |
| 285× | log1p-udef_binary64 |
| 156× | add-sqr-sqrt_binary64 |
| 150× | log1p-expm1-u_binary64 |
| 150× | expm1-log1p-u_binary64 |
4 calls:
| 77.0ms | (/.f64 (-.f64 (-.f64 C A) (hypot.f64 B (-.f64 C A))) B) |
| 77.0ms | (*.f64 180 (/.f64 (atan.f64 (/.f64 (-.f64 (-.f64 C A) (hypot.f64 B (-.f64 C A))) B)) (PI.f64))) |
| 77.0ms | (/.f64 (atan.f64 (/.f64 (-.f64 (-.f64 C A) (hypot.f64 B (-.f64 C A))) B)) (PI.f64)) |
| 77.0ms | (-.f64 (-.f64 C A) (hypot.f64 B (-.f64 C A))) |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 13 | 76 |
| 1 | 299 | 76 |
| 2 | 4195 | 76 |
| 3 | 5022 | 76 |
| 0 | 0 | 0 |
| 1 | 0 | 0 |
| 1× | egg-herbie |
| 464× | fma-def_binary64 |
| 266× | associate-+l+_binary64 |
| 252× | associate--r+_binary64 |
| 231× | associate-/l*_binary64 |
| 224× | associate--l+_binary64 |
Useful iterations: 1 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 447 | 5489 |
| 1 | 1506 | 5060 |
| 2 | 5260 | 5060 |
6 alts after pruning (6 fresh and 0 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 270 | 6 | 276 |
| Fresh | 1 | 0 | 1 |
| Picked | 1 | 0 | 1 |
| Done | 0 | 0 | 0 |
| Total | 272 | 6 | 278 |
| Status | Error | Program |
| 55.7b | (*.f64 180 (/.f64 (atan.f64 (/.f64 (fma.f64 1/2 (/.f64 (*.f64 (*.f64 B B) (*.f64 C C)) (pow.f64 A 3)) (fma.f64 1/2 (+.f64 (/.f64 (*.f64 (*.f64 B B) C) (*.f64 A A)) (/.f64 (*.f64 B B) A)) (*.f64 (/.f64 (pow.f64 B 4) (pow.f64 A 3)) -1/8))) B)) (PI.f64))) | |
| 51.8b | (*.f64 180 (/.f64 (atan.f64 (fma.f64 1/2 (/.f64 C (/.f64 (*.f64 A A) B)) (fma.f64 1/2 (+.f64 (/.f64 B A) (/.f64 (*.f64 B (*.f64 C C)) (pow.f64 A 3))) (*.f64 (/.f64 (pow.f64 B 3) (pow.f64 A 3)) -1/8)))) (PI.f64))) | |
| 22.0b | (*.f64 180 (/.f64 (atan.f64 (/.f64 (fma.f64 (pow.f64 (cbrt.f64 (-.f64 C A)) 2) (cbrt.f64 (-.f64 C A)) (neg.f64 (hypot.f64 B (-.f64 C A)))) B)) (PI.f64))) | |
| 45.9b | (*.f64 180 (/.f64 (atan.f64 (*.f64 1/2 (/.f64 B A))) (PI.f64))) | |
| 47.5b | (*.f64 180 (/.f64 (atan.f64 (*.f64 -1/2 (/.f64 B C))) (PI.f64))) | |
| ▶ | 13.7b | (*.f64 180 (/.f64 (atan.f64 (pow.f64 (/.f64 B (-.f64 (-.f64 C A) (hypot.f64 B (-.f64 C A)))) -1)) (PI.f64))) |
Compiled 9397 to 4634 computations (50.7% saved)
Found 4 expressions with local error:
| New | Error | Program |
| ✓ | 0.0b | (/.f64 B (-.f64 (-.f64 C A) (hypot.f64 B (-.f64 C A)))) |
| ✓ | 0.0b | (/.f64 (atan.f64 (pow.f64 (/.f64 B (-.f64 (-.f64 C A) (hypot.f64 B (-.f64 C A)))) -1)) (PI.f64)) |
| ✓ | 0.1b | (pow.f64 (/.f64 B (-.f64 (-.f64 C A) (hypot.f64 B (-.f64 C A)))) -1) |
| 0.7b | (-.f64 (-.f64 C A) (hypot.f64 B (-.f64 C A))) |
3 calls:
| 807.0ms | (pow.f64 (/.f64 B (-.f64 (-.f64 C A) (hypot.f64 B (-.f64 C A)))) -1) |
| 132.0ms | (/.f64 B (-.f64 (-.f64 C A) (hypot.f64 B (-.f64 C A)))) |
| 35.0ms | (/.f64 (atan.f64 (pow.f64 (/.f64 B (-.f64 (-.f64 C A) (hypot.f64 B (-.f64 C A)))) -1)) (PI.f64)) |
| 2× | batch-egg-rewrite |
| 273× | expm1-udef_binary64 |
| 273× | log1p-udef_binary64 |
| 253× | fma-neg_binary64 |
| 153× | add-sqr-sqrt_binary64 |
| 147× | log1p-expm1-u_binary64 |
3 calls:
| 71.0ms | (/.f64 B (-.f64 (-.f64 C A) (hypot.f64 B (-.f64 C A)))) |
| 71.0ms | (/.f64 (atan.f64 (pow.f64 (/.f64 B (-.f64 (-.f64 C A) (hypot.f64 B (-.f64 C A)))) -1)) (PI.f64)) |
| 71.0ms | (pow.f64 (/.f64 B (-.f64 (-.f64 C A) (hypot.f64 B (-.f64 C A)))) -1) |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 13 | 60 |
| 1 | 295 | 54 |
| 2 | 3969 | 54 |
| 3 | 5026 | 54 |
| 0 | 0 | 0 |
| 1 | 0 | 0 |
| 1× | egg-herbie |
| 537× | *-commutative_binary64 |
| 359× | associate-+r+_binary64 |
| 338× | fma-def_binary64 |
| 223× | associate-/l*_binary64 |
| 198× | associate-*r*_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 1393 | 25353 |
| 1 | 4998 | 25353 |
| 2 | 5019 | 25353 |
6 alts after pruning (5 fresh and 1 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 356 | 2 | 358 |
| Fresh | 2 | 3 | 5 |
| Picked | 0 | 1 | 1 |
| Done | 0 | 0 | 0 |
| Total | 358 | 6 | 364 |
| Status | Error | Program |
| 47.3b | (*.f64 180 (/.f64 (atan.f64 (pow.f64 (/.f64 B (*.f64 1/2 (+.f64 (/.f64 (*.f64 (*.f64 B B) C) (*.f64 A A)) (/.f64 (*.f64 B B) A)))) -1)) (PI.f64))) | |
| 47.5b | (*.f64 180 (/.f64 (atan.f64 (*.f64 -1/2 (/.f64 B C))) (PI.f64))) | |
| ▶ | 22.0b | (*.f64 180 (/.f64 (atan.f64 (/.f64 (fma.f64 (pow.f64 (cbrt.f64 (-.f64 C A)) 2) (cbrt.f64 (-.f64 C A)) (neg.f64 (hypot.f64 B (-.f64 C A)))) B)) (PI.f64))) |
| 40.8b | (*.f64 180 (/.f64 (atan.f64 (pow.f64 (*.f64 2 (-.f64 (/.f64 A B) (/.f64 C B))) -1)) (PI.f64))) | |
| 45.9b | (*.f64 180 (/.f64 (atan.f64 (*.f64 1/2 (/.f64 B A))) (PI.f64))) | |
| ✓ | 13.7b | (*.f64 180 (/.f64 (atan.f64 (pow.f64 (/.f64 B (-.f64 (-.f64 C A) (hypot.f64 B (-.f64 C A)))) -1)) (PI.f64))) |
Compiled 40787 to 21087 computations (48.3% saved)
Found 4 expressions with local error:
| New | Error | Program |
| ✓ | 0.0b | (/.f64 (atan.f64 (/.f64 (fma.f64 (pow.f64 (cbrt.f64 (-.f64 C A)) 2) (cbrt.f64 (-.f64 C A)) (neg.f64 (hypot.f64 B (-.f64 C A)))) B)) (PI.f64)) |
| ✓ | 0.5b | (pow.f64 (cbrt.f64 (-.f64 C A)) 2) |
| ✓ | 0.6b | (cbrt.f64 (-.f64 C A)) |
| ✓ | 21.8b | (fma.f64 (pow.f64 (cbrt.f64 (-.f64 C A)) 2) (cbrt.f64 (-.f64 C A)) (neg.f64 (hypot.f64 B (-.f64 C A)))) |
4 calls:
| 70.0ms | (fma.f64 (pow.f64 (cbrt.f64 (-.f64 C A)) 2) (cbrt.f64 (-.f64 C A)) (neg.f64 (hypot.f64 B (-.f64 C A)))) |
| 51.0ms | (/.f64 (atan.f64 (/.f64 (fma.f64 (pow.f64 (cbrt.f64 (-.f64 C A)) 2) (cbrt.f64 (-.f64 C A)) (neg.f64 (hypot.f64 B (-.f64 C A)))) B)) (PI.f64)) |
| 40.0ms | (pow.f64 (cbrt.f64 (-.f64 C A)) 2) |
| 24.0ms | (cbrt.f64 (-.f64 C A)) |
| 2× | batch-egg-rewrite |
| 745× | prod-diff_binary64 |
| 230× | egg-rr |
| 163× | add-sqr-sqrt_binary64 |
| 155× | log1p-expm1-u_binary64 |
| 155× | expm1-log1p-u_binary64 |
4 calls:
| 92.0ms | (/.f64 (atan.f64 (/.f64 (fma.f64 (pow.f64 (cbrt.f64 (-.f64 C A)) 2) (cbrt.f64 (-.f64 C A)) (neg.f64 (hypot.f64 B (-.f64 C A)))) B)) (PI.f64)) |
| 92.0ms | (pow.f64 (cbrt.f64 (-.f64 C A)) 2) |
| 92.0ms | (cbrt.f64 (-.f64 C A)) |
| 92.0ms | (fma.f64 (pow.f64 (cbrt.f64 (-.f64 C A)) 2) (cbrt.f64 (-.f64 C A)) (neg.f64 (hypot.f64 B (-.f64 C A)))) |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 15 | 54 |
| 1 | 323 | 50 |
| 2 | 3776 | 50 |
| 3 | 5144 | 50 |
| 0 | 0 | 0 |
| 1 | 0 | 0 |
| 1× | egg-herbie |
| 475× | fma-neg_binary64 |
| 347× | fma-def_binary64 |
| 302× | associate-*r*_binary64 |
| 228× | +-commutative_binary64 |
| 224× | associate-*l*_binary64 |
Useful iterations: 2 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 401 | 4741 |
| 1 | 1273 | 4033 |
| 2 | 4562 | 4008 |
| 3 | 4975 | 4008 |
6 alts after pruning (4 fresh and 2 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 418 | 1 | 419 |
| Fresh | 1 | 3 | 4 |
| Picked | 0 | 1 | 1 |
| Done | 0 | 1 | 1 |
| Total | 419 | 6 | 425 |
| Status | Error | Program |
| 47.3b | (*.f64 180 (/.f64 (atan.f64 (/.f64 (*.f64 1/2 (+.f64 (/.f64 (*.f64 B B) A) (/.f64 (*.f64 (*.f64 B B) C) (*.f64 A A)))) B)) (PI.f64))) | |
| ✓ | 22.0b | (*.f64 180 (/.f64 (atan.f64 (/.f64 (fma.f64 (pow.f64 (cbrt.f64 (-.f64 C A)) 2) (cbrt.f64 (-.f64 C A)) (neg.f64 (hypot.f64 B (-.f64 C A)))) B)) (PI.f64))) |
| ▶ | 40.8b | (*.f64 180 (/.f64 (atan.f64 (pow.f64 (*.f64 2 (-.f64 (/.f64 A B) (/.f64 C B))) -1)) (PI.f64))) |
| 45.9b | (*.f64 180 (/.f64 (atan.f64 (*.f64 1/2 (/.f64 B A))) (PI.f64))) | |
| 47.5b | (*.f64 180 (/.f64 (atan.f64 (*.f64 -1/2 (/.f64 B C))) (PI.f64))) | |
| ✓ | 13.7b | (*.f64 180 (/.f64 (atan.f64 (pow.f64 (/.f64 B (-.f64 (-.f64 C A) (hypot.f64 B (-.f64 C A)))) -1)) (PI.f64))) |
Compiled 17288 to 7620 computations (55.9% saved)
Found 4 expressions with local error:
| New | Error | Program |
| ✓ | 0.1b | (/.f64 (atan.f64 (pow.f64 (*.f64 2 (-.f64 (/.f64 A B) (/.f64 C B))) -1)) (PI.f64)) |
| ✓ | 0.2b | (*.f64 180 (/.f64 (atan.f64 (pow.f64 (*.f64 2 (-.f64 (/.f64 A B) (/.f64 C B))) -1)) (PI.f64))) |
| ✓ | 0.8b | (pow.f64 (*.f64 2 (-.f64 (/.f64 A B) (/.f64 C B))) -1) |
| ✓ | 2.1b | (-.f64 (/.f64 A B) (/.f64 C B)) |
4 calls:
| 94.0ms | (*.f64 180 (/.f64 (atan.f64 (pow.f64 (*.f64 2 (-.f64 (/.f64 A B) (/.f64 C B))) -1)) (PI.f64))) |
| 74.0ms | (/.f64 (atan.f64 (pow.f64 (*.f64 2 (-.f64 (/.f64 A B) (/.f64 C B))) -1)) (PI.f64)) |
| 26.0ms | (pow.f64 (*.f64 2 (-.f64 (/.f64 A B) (/.f64 C B))) -1) |
| 11.0ms | (-.f64 (/.f64 A B) (/.f64 C B)) |
| 2× | batch-egg-rewrite |
| 323× | log1p-udef_binary64 |
| 181× | add-sqr-sqrt_binary64 |
| 171× | log1p-expm1-u_binary64 |
| 171× | expm1-log1p-u_binary64 |
| 168× | add-cbrt-cube_binary64 |
4 calls:
| 80.0ms | (/.f64 (atan.f64 (pow.f64 (*.f64 2 (-.f64 (/.f64 A B) (/.f64 C B))) -1)) (PI.f64)) |
| 80.0ms | (*.f64 180 (/.f64 (atan.f64 (pow.f64 (*.f64 2 (-.f64 (/.f64 A B) (/.f64 C B))) -1)) (PI.f64))) |
| 80.0ms | (pow.f64 (*.f64 2 (-.f64 (/.f64 A B) (/.f64 C B))) -1) |
| 80.0ms | (-.f64 (/.f64 A B) (/.f64 C B)) |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 16 | 61 |
| 1 | 358 | 52 |
| 2 | 4780 | 52 |
| 3 | 5203 | 52 |
| 0 | 0 | 0 |
| 1 | 0 | 0 |
| 1× | egg-herbie |
| 851× | fma-neg_binary64 |
| 645× | cancel-sign-sub-inv_binary64 |
| 360× | times-frac_binary64 |
| 311× | fma-def_binary64 |
| 278× | distribute-rgt-neg-in_binary64 |
Useful iterations: 2 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 80 | 1096 |
| 1 | 245 | 1040 |
| 2 | 747 | 953 |
| 3 | 2969 | 953 |
| 4 | 4854 | 953 |
| 5 | 5176 | 953 |
10 alts after pruning (8 fresh and 2 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 162 | 8 | 170 |
| Fresh | 3 | 0 | 3 |
| Picked | 1 | 0 | 1 |
| Done | 0 | 2 | 2 |
| Total | 166 | 10 | 176 |
| Status | Error | Program |
| 39.5b | (/.f64 (*.f64 180 (atan.f64 (/.f64 1/2 (/.f64 (-.f64 A C) B)))) (PI.f64)) | |
| 39.1b | (*.f64 180 (/.f64 (atan.f64 (*.f64 1/2 (/.f64 B (-.f64 A C)))) (PI.f64))) | |
| 39.7b | (*.f64 180 (*.f64 (pow.f64 (cbrt.f64 (atan.f64 (/.f64 1/2 (/.f64 (-.f64 A C) B)))) 2) (*.f64 (cbrt.f64 (atan.f64 (/.f64 1/2 (/.f64 (-.f64 A C) B)))) (/.f64 1 (PI.f64))))) | |
| 39.7b | (pow.f64 (cbrt.f64 (*.f64 180 (/.f64 (atan.f64 (/.f64 1/2 (/.f64 (-.f64 A C) B))) (PI.f64)))) 3) | |
| 39.5b | (/.f64 1 (/.f64 (PI.f64) (*.f64 180 (atan.f64 (/.f64 1/2 (/.f64 (-.f64 A C) B)))))) | |
| 39.5b | (/.f64 180 (/.f64 (PI.f64) (atan.f64 (/.f64 1/2 (/.f64 (-.f64 A C) B))))) | |
| ✓ | 22.0b | (*.f64 180 (/.f64 (atan.f64 (/.f64 (fma.f64 (pow.f64 (cbrt.f64 (-.f64 C A)) 2) (cbrt.f64 (-.f64 C A)) (neg.f64 (hypot.f64 B (-.f64 C A)))) B)) (PI.f64))) |
| 41.0b | (*.f64 180 (/.f64 (atan.f64 (pow.f64 (*.f64 2 (/.f64 (/.f64 (-.f64 (*.f64 A B) (*.f64 B C)) B) B)) -1)) (PI.f64))) | |
| ✓ | 13.7b | (*.f64 180 (/.f64 (atan.f64 (pow.f64 (/.f64 B (-.f64 (-.f64 C A) (hypot.f64 B (-.f64 C A)))) -1)) (PI.f64))) |
| 39.8b | (*.f64 180 (pow.f64 (cbrt.f64 (/.f64 (atan.f64 (/.f64 1/2 (/.f64 (-.f64 A C) B))) (PI.f64))) 3)) |
Compiled 3522 to 2035 computations (42.2% saved)
Total 7.5b remaining (97.8%)
Threshold costs 0b (0%)
Compiled 29048 to 21264 computations (26.8% saved)
Compiled 21 to 15 computations (28.6% saved)
| 1× | egg-herbie |
| 10× | +-commutative_binary64 |
| 9× | *-commutative_binary64 |
| 9× | sub-neg_binary64 |
| 4× | neg-sub0_binary64 |
| 4× | neg-mul-1_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 45 | 138 |
| 1 | 59 | 138 |
| 2 | 72 | 138 |
| 3 | 80 | 138 |
| 4 | 84 | 138 |
| 5 | 83 | 138 |
Compiled 383 to 255 computations (33.4% saved)
Loading profile data...