Time bar (total: 6.9s)
| 1× | search |
| Probability | Valid | Unknown | Precondition | Infinite | Domain | Can't | Iter |
|---|---|---|---|---|---|---|---|
| 0% | 0% | 100% | 0% | 0% | 0% | 0% | 0 |
| 100% | 100% | 0% | 0% | 0% | 0% | 0% | 1 |
Compiled 9 to 7 computations (22.2% saved)
| 1.0s | 2181× | body | 2048 | valid |
| 707.0ms | 4519× | body | 256 | valid |
| 618.0ms | 1047× | body | 1024 | valid |
| 170.0ms | 509× | body | 512 | valid |
| 2× | egg-herbie |
| 39× | fma-def_binary64 |
| 32× | fma-neg_binary64 |
| 15× | cancel-sign-sub-inv_binary64 |
| 12× | sub-neg_binary64 |
| 10× | distribute-rgt-in_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 7 | 11 |
| 1 | 12 | 11 |
| 2 | 16 | 11 |
| 3 | 23 | 11 |
| 4 | 32 | 11 |
| 5 | 49 | 11 |
| 6 | 86 | 11 |
| 7 | 122 | 11 |
| 8 | 168 | 11 |
| 9 | 204 | 11 |
| 10 | 230 | 11 |
| 11 | 232 | 11 |
| 0 | 1 | 1 |
| 1× | saturated |
| 1× | saturated |
| Inputs |
|---|
0 |
| Outputs |
|---|
0 |
| Inputs |
|---|
(-.f64 (atan.f64 (+.f64 N 1)) (atan.f64 N)) |
| Outputs |
|---|
(-.f64 (atan.f64 (+.f64 N 1)) (atan.f64 N)) |
Compiled 9 to 7 computations (22.2% saved)
| 1× | egg-herbie |
| 39× | fma-def_binary64 |
| 32× | fma-neg_binary64 |
| 15× | cancel-sign-sub-inv_binary64 |
| 12× | sub-neg_binary64 |
| 10× | distribute-rgt-in_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 7 | 11 |
| 1 | 12 | 11 |
| 2 | 16 | 11 |
| 3 | 23 | 11 |
| 4 | 32 | 11 |
| 5 | 49 | 11 |
| 6 | 86 | 11 |
| 7 | 122 | 11 |
| 8 | 168 | 11 |
| 9 | 204 | 11 |
| 10 | 230 | 11 |
| 11 | 232 | 11 |
| 1× | saturated |
| Inputs |
|---|
(-.f64 (atan.f64 (+.f64 N 1)) (atan.f64 N)) |
| Outputs |
|---|
(-.f64 (atan.f64 (+.f64 N 1)) (atan.f64 N)) |
Compiled 8 to 6 computations (25% saved)
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 |
|---|---|---|
| ▶ | 16.2b | (-.f64 (atan.f64 (+.f64 N 1)) (atan.f64 N)) |
Compiled 8 to 6 computations (25% saved)
Found 2 expressions with local error:
| New | Error | Program |
|---|---|---|
| ✓ | 0.0b | (atan.f64 (+.f64 N 1)) |
| ✓ | 1.5b | (-.f64 (atan.f64 (+.f64 N 1)) (atan.f64 N)) |
Compiled 19 to 12 computations (36.8% saved)
6 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 1.0ms | N | @ | -inf | (-.f64 (atan.f64 (+.f64 N 1)) (atan.f64 N)) |
| 1.0ms | N | @ | 0 | (-.f64 (atan.f64 (+.f64 N 1)) (atan.f64 N)) |
| 1.0ms | N | @ | inf | (-.f64 (atan.f64 (+.f64 N 1)) (atan.f64 N)) |
| 0.0ms | N | @ | inf | (atan.f64 (+.f64 N 1)) |
| 0.0ms | N | @ | -inf | (atan.f64 (+.f64 N 1)) |
| 1× | batch-egg-rewrite |
| 890× | pow1_binary64 |
| 828× | log1p-expm1-u_binary64 |
| 828× | expm1-log1p-u_binary64 |
| 827× | add-log-exp_binary64 |
| 810× | add-exp-log_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 7 | 17 |
| 1 | 156 | 17 |
| 2 | 2213 | 17 |
| 1× | node limit |
| Inputs |
|---|
(-.f64 (atan.f64 (+.f64 N 1)) (atan.f64 N)) |
(atan.f64 (+.f64 N 1)) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x +.f64 (atan.f64 (+.f64 N 1)) (neg.f64 (atan.f64 N)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (atan.f64 (+.f64 N 1)) (*.f64 (neg.f64 (atan.f64 N)) 1))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (-.f64 (atan.f64 (+.f64 N 1)) (atan.f64 N)) (fma.f64 (neg.f64 (atan.f64 N)) 1 (atan.f64 N)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (-.f64 (atan.f64 (+.f64 N 1)) (atan.f64 N)) (fma.f64 (neg.f64 (cbrt.f64 (atan.f64 N))) (pow.f64 (cbrt.f64 (atan.f64 N)) 2) (atan.f64 N)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (-.f64 (atan.f64 (+.f64 N 1)) (atan.f64 N)) (fma.f64 (neg.f64 (sqrt.f64 (atan.f64 N))) (sqrt.f64 (atan.f64 N)) (atan.f64 N)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (neg.f64 (atan.f64 N)) (atan.f64 (+.f64 N 1)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (-.f64 (atan.f64 (+.f64 N 1)) (atan.f64 N)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (-.f64 (atan.f64 (+.f64 N 1)) (atan.f64 N)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (-.f64 (atan.f64 (+.f64 N 1)) (atan.f64 N))) (pow.f64 (cbrt.f64 (-.f64 (atan.f64 (+.f64 N 1)) (atan.f64 N))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (-.f64 (atan.f64 (+.f64 N 1)) (atan.f64 N))) 2) (cbrt.f64 (-.f64 (atan.f64 (+.f64 N 1)) (atan.f64 N))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (-.f64 (atan.f64 (+.f64 N 1)) (atan.f64 N))) (sqrt.f64 (-.f64 (atan.f64 (+.f64 N 1)) (atan.f64 N))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (-.f64 (pow.f64 (atan.f64 (+.f64 N 1)) 3) (pow.f64 (atan.f64 N) 3)) (/.f64 1 (+.f64 (pow.f64 (atan.f64 (+.f64 N 1)) 2) (*.f64 (atan.f64 N) (+.f64 (atan.f64 (+.f64 N 1)) (atan.f64 N))))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (-.f64 (pow.f64 (atan.f64 (+.f64 N 1)) 2) (pow.f64 (atan.f64 N) 2)) (/.f64 1 (+.f64 (atan.f64 (+.f64 N 1)) (atan.f64 N))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 (sqrt.f64 (atan.f64 (+.f64 N 1))) (sqrt.f64 (atan.f64 N))) (-.f64 (sqrt.f64 (atan.f64 (+.f64 N 1))) (sqrt.f64 (atan.f64 N))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (+.f64 (pow.f64 (atan.f64 (+.f64 N 1)) 2) (*.f64 (atan.f64 N) (+.f64 (atan.f64 (+.f64 N 1)) (atan.f64 N)))) (-.f64 (pow.f64 (atan.f64 (+.f64 N 1)) 3) (pow.f64 (atan.f64 N) 3))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (+.f64 (atan.f64 (+.f64 N 1)) (atan.f64 N)) (-.f64 (pow.f64 (atan.f64 (+.f64 N 1)) 2) (pow.f64 (atan.f64 N) 2))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (pow.f64 (atan.f64 (+.f64 N 1)) 3) (pow.f64 (atan.f64 N) 3)) (+.f64 (pow.f64 (atan.f64 (+.f64 N 1)) 2) (*.f64 (atan.f64 N) (+.f64 (atan.f64 (+.f64 N 1)) (atan.f64 N)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (pow.f64 (atan.f64 (+.f64 N 1)) 2) (pow.f64 (atan.f64 N) 2)) (+.f64 (atan.f64 (+.f64 N 1)) (atan.f64 N)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (-.f64 (pow.f64 (atan.f64 (+.f64 N 1)) 3) (pow.f64 (atan.f64 N) 3))) (neg.f64 (+.f64 (pow.f64 (atan.f64 (+.f64 N 1)) 2) (*.f64 (atan.f64 N) (+.f64 (atan.f64 (+.f64 N 1)) (atan.f64 N))))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (-.f64 (pow.f64 (atan.f64 (+.f64 N 1)) 2) (pow.f64 (atan.f64 N) 2))) (neg.f64 (+.f64 (atan.f64 (+.f64 N 1)) (atan.f64 N))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 (atan.f64 (+.f64 N 1)) 3) (pow.f64 (neg.f64 (atan.f64 N)) 3)) (+.f64 (pow.f64 (atan.f64 (+.f64 N 1)) 2) (-.f64 (*.f64 (neg.f64 (atan.f64 N)) (neg.f64 (atan.f64 N))) (*.f64 (atan.f64 (+.f64 N 1)) (neg.f64 (atan.f64 N))))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (pow.f64 (atan.f64 (+.f64 N 1)) 2) (*.f64 (neg.f64 (atan.f64 N)) (neg.f64 (atan.f64 N)))) (-.f64 (atan.f64 (+.f64 N 1)) (neg.f64 (atan.f64 N))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (-.f64 (atan.f64 (+.f64 N 1)) (atan.f64 N)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (-.f64 (atan.f64 (+.f64 N 1)) (atan.f64 N)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (-.f64 (atan.f64 (+.f64 N 1)) (atan.f64 N))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (-.f64 (atan.f64 (+.f64 N 1)) (atan.f64 N))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (-.f64 (atan.f64 (+.f64 N 1)) (atan.f64 N)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (-.f64 (atan.f64 (+.f64 N 1)) (atan.f64 N))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (-.f64 (atan.f64 (+.f64 N 1)) (atan.f64 N)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (-.f64 (atan.f64 (+.f64 N 1)) (atan.f64 N))))))) (#(struct:change #<rule egg-rr> (2) ((x atan2.f64 (+.f64 N (-.f64 1 N)) (+.f64 1 (*.f64 N (+.f64 N 1))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (-.f64 (atan.f64 (+.f64 N 1)) (atan.f64 N))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (-.f64 (atan.f64 (+.f64 N 1)) (atan.f64 N))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (atan.f64 (+.f64 N 1)) (neg.f64 (atan.f64 N)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 (atan.f64 (+.f64 N 1))) 2) (cbrt.f64 (atan.f64 (+.f64 N 1))) (neg.f64 (atan.f64 N)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 (atan.f64 (+.f64 N 1))) (sqrt.f64 (atan.f64 (+.f64 N 1))) (neg.f64 (atan.f64 N))))))) |
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (atan.f64 (+.f64 N 1))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (atan.f64 (+.f64 N 1)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (atan.f64 (+.f64 N 1)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (atan.f64 (+.f64 N 1))) (pow.f64 (cbrt.f64 (atan.f64 (+.f64 N 1))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (atan.f64 (+.f64 N 1))) 2) (cbrt.f64 (atan.f64 (+.f64 N 1))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (atan.f64 (+.f64 N 1))) (sqrt.f64 (atan.f64 (+.f64 N 1))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (atan.f64 (+.f64 N 1)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (atan.f64 (+.f64 N 1))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (atan.f64 (+.f64 N 1))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (atan.f64 (+.f64 N 1)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (atan.f64 (+.f64 N 1)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (atan.f64 (+.f64 N 1))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (atan.f64 (+.f64 N 1)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (atan.f64 (+.f64 N 1))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (atan.f64 (+.f64 N 1))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (atan.f64 (+.f64 N 1)))))))) |
| 1× | egg-herbie |
| 52× | fma-def_binary64 |
| 43× | fma-neg_binary64 |
| 23× | cancel-sign-sub-inv_binary64 |
| 18× | sub-neg_binary64 |
| 14× | associate--r+_binary64 |
Useful iterations: 1 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 9 | 84 |
| 1 | 20 | 68 |
| 2 | 31 | 68 |
| 3 | 61 | 68 |
| 4 | 88 | 68 |
| 5 | 134 | 68 |
| 6 | 182 | 68 |
| 7 | 215 | 68 |
| 8 | 258 | 68 |
| 9 | 294 | 68 |
| 10 | 320 | 68 |
| 11 | 322 | 68 |
| 1× | saturated |
| Inputs |
|---|
(-.f64 (atan.f64 (-.f64 1 (*.f64 -1 N))) (atan.f64 N)) |
(-.f64 (atan.f64 (-.f64 1 (*.f64 -1 N))) (atan.f64 N)) |
(-.f64 (atan.f64 (-.f64 1 (*.f64 -1 N))) (atan.f64 N)) |
(-.f64 (atan.f64 (-.f64 1 (*.f64 -1 N))) (atan.f64 N)) |
(atan.f64 (-.f64 1 (*.f64 -1 N))) |
(atan.f64 (-.f64 1 (*.f64 -1 N))) |
(atan.f64 (-.f64 1 (*.f64 -1 N))) |
(atan.f64 (-.f64 1 (*.f64 -1 N))) |
| Outputs |
|---|
(-.f64 (atan.f64 (-.f64 1 (*.f64 -1 N))) (atan.f64 N)) |
(-.f64 (atan.f64 (-.f64 1 (neg.f64 N))) (atan.f64 N)) |
(-.f64 (atan.f64 (+.f64 1 N)) (atan.f64 N)) |
(-.f64 (atan.f64 (-.f64 1 (*.f64 -1 N))) (atan.f64 N)) |
(-.f64 (atan.f64 (-.f64 1 (neg.f64 N))) (atan.f64 N)) |
(-.f64 (atan.f64 (+.f64 1 N)) (atan.f64 N)) |
(-.f64 (atan.f64 (-.f64 1 (*.f64 -1 N))) (atan.f64 N)) |
(-.f64 (atan.f64 (-.f64 1 (neg.f64 N))) (atan.f64 N)) |
(-.f64 (atan.f64 (+.f64 1 N)) (atan.f64 N)) |
(-.f64 (atan.f64 (-.f64 1 (*.f64 -1 N))) (atan.f64 N)) |
(-.f64 (atan.f64 (-.f64 1 (neg.f64 N))) (atan.f64 N)) |
(-.f64 (atan.f64 (+.f64 1 N)) (atan.f64 N)) |
(atan.f64 (-.f64 1 (*.f64 -1 N))) |
(atan.f64 (-.f64 1 (neg.f64 N))) |
(atan.f64 (+.f64 1 N)) |
(atan.f64 (-.f64 1 (*.f64 -1 N))) |
(atan.f64 (-.f64 1 (neg.f64 N))) |
(atan.f64 (+.f64 1 N)) |
(atan.f64 (-.f64 1 (*.f64 -1 N))) |
(atan.f64 (-.f64 1 (neg.f64 N))) |
(atan.f64 (+.f64 1 N)) |
(atan.f64 (-.f64 1 (*.f64 -1 N))) |
(atan.f64 (-.f64 1 (neg.f64 N))) |
(atan.f64 (+.f64 1 N)) |
Compiled 786 to 518 computations (34.1% saved)
4 alts after pruning (3 fresh and 1 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 53 | 3 | 56 |
| Fresh | 0 | 0 | 0 |
| Picked | 0 | 1 | 1 |
| Done | 0 | 0 | 0 |
| Total | 53 | 4 | 57 |
| Status | Error | Program |
|---|---|---|
| ▶ | 31.6b | (-.f64 (cbrt.f64 (pow.f64 (atan.f64 (+.f64 N 1)) 3)) (atan.f64 N)) |
| ▶ | 14.9b | (atan2.f64 (+.f64 N (-.f64 1 N)) (+.f64 1 (*.f64 N (+.f64 N 1)))) |
| ▶ | 32.6b | (-.f64 (pow.f64 (cbrt.f64 (atan.f64 (+.f64 N 1))) 3) (atan.f64 N)) |
| ✓ | 16.2b | (-.f64 (atan.f64 (+.f64 N 1)) (atan.f64 N)) |
Compiled 44 to 34 computations (22.7% saved)
Found 4 expressions with local error:
| New | Error | Program |
|---|---|---|
| 0.0b | (atan.f64 (+.f64 N 1)) | |
| ✓ | 0.5b | (cbrt.f64 (pow.f64 (atan.f64 (+.f64 N 1)) 3)) |
| ✓ | 1.0b | (pow.f64 (atan.f64 (+.f64 N 1)) 3) |
| ✓ | 1.5b | (-.f64 (cbrt.f64 (pow.f64 (atan.f64 (+.f64 N 1)) 3)) (atan.f64 N)) |
Compiled 36 to 27 computations (25% saved)
9 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 2.0ms | N | @ | -inf | (pow.f64 (atan.f64 (+.f64 N 1)) 3) |
| 1.0ms | N | @ | 0 | (pow.f64 (atan.f64 (+.f64 N 1)) 3) |
| 1.0ms | N | @ | inf | (pow.f64 (atan.f64 (+.f64 N 1)) 3) |
| 1.0ms | N | @ | 0 | (-.f64 (cbrt.f64 (pow.f64 (atan.f64 (+.f64 N 1)) 3)) (atan.f64 N)) |
| 1.0ms | N | @ | -inf | (-.f64 (cbrt.f64 (pow.f64 (atan.f64 (+.f64 N 1)) 3)) (atan.f64 N)) |
| 1× | batch-egg-rewrite |
| 534× | prod-diff_binary64 |
| 401× | log-prod_binary64 |
| 304× | exp-prod_binary64 |
| 293× | fma-def_binary64 |
| 261× | pow-prod-down_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 10 | 26 |
| 1 | 219 | 26 |
| 2 | 2534 | 26 |
| 1× | node limit |
| Inputs |
|---|
(-.f64 (cbrt.f64 (pow.f64 (atan.f64 (+.f64 N 1)) 3)) (atan.f64 N)) |
(pow.f64 (atan.f64 (+.f64 N 1)) 3) |
(cbrt.f64 (pow.f64 (atan.f64 (+.f64 N 1)) 3)) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x +.f64 (atan.f64 (+.f64 N 1)) (neg.f64 (atan.f64 N)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (atan.f64 (+.f64 N 1)) (*.f64 (neg.f64 (atan.f64 N)) 1))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (-.f64 (atan.f64 (+.f64 N 1)) (atan.f64 N)) (fma.f64 (neg.f64 (atan.f64 N)) 1 (atan.f64 N)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (-.f64 (atan.f64 (+.f64 N 1)) (atan.f64 N)) (fma.f64 (neg.f64 (cbrt.f64 (atan.f64 N))) (cbrt.f64 (pow.f64 (atan.f64 N) 2)) (atan.f64 N)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (-.f64 (atan.f64 (+.f64 N 1)) (atan.f64 N)) (+.f64 (neg.f64 (atan.f64 N)) (atan.f64 N)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (-.f64 (atan.f64 (+.f64 N 1)) (atan.f64 N)) (fma.f64 -1 (atan.f64 N) (atan.f64 N)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (-.f64 (atan.f64 (+.f64 N 1)) (atan.f64 N)) (fma.f64 (neg.f64 (cbrt.f64 (pow.f64 (atan.f64 N) 2))) (cbrt.f64 (atan.f64 N)) (atan.f64 N)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 0 (-.f64 (atan.f64 (+.f64 N 1)) (atan.f64 N)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (neg.f64 (atan.f64 N)) (atan.f64 (+.f64 N 1)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (pow.f64 (cbrt.f64 (exp.f64 (-.f64 (atan.f64 (+.f64 N 1)) (atan.f64 N)))) 2)) (log.f64 (cbrt.f64 (exp.f64 (-.f64 (atan.f64 (+.f64 N 1)) (atan.f64 N))))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (sqrt.f64 (exp.f64 (-.f64 (atan.f64 (+.f64 N 1)) (atan.f64 N))))) (log.f64 (sqrt.f64 (exp.f64 (-.f64 (atan.f64 (+.f64 N 1)) (atan.f64 N))))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (-.f64 (atan.f64 (+.f64 N 1)) (atan.f64 N)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (-.f64 (atan.f64 (+.f64 N 1)) (atan.f64 N)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (-.f64 (atan.f64 (+.f64 N 1)) (atan.f64 N))) (pow.f64 (cbrt.f64 (-.f64 (atan.f64 (+.f64 N 1)) (atan.f64 N))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (-.f64 (atan.f64 (+.f64 N 1)) (atan.f64 N))) 2) (cbrt.f64 (-.f64 (atan.f64 (+.f64 N 1)) (atan.f64 N))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (-.f64 (atan.f64 (+.f64 N 1)) (atan.f64 N))) (sqrt.f64 (-.f64 (atan.f64 (+.f64 N 1)) (atan.f64 N))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (-.f64 (pow.f64 (atan.f64 (+.f64 N 1)) 3) (pow.f64 (atan.f64 N) 3)) (/.f64 1 (fma.f64 (atan.f64 N) (+.f64 (atan.f64 (+.f64 N 1)) (atan.f64 N)) (pow.f64 (atan.f64 (+.f64 N 1)) 2))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (-.f64 (pow.f64 (atan.f64 (+.f64 N 1)) 2) (pow.f64 (atan.f64 N) 2)) (/.f64 1 (+.f64 (atan.f64 (+.f64 N 1)) (atan.f64 N))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 (sqrt.f64 (atan.f64 (+.f64 N 1))) (sqrt.f64 (atan.f64 N))) (-.f64 (sqrt.f64 (atan.f64 (+.f64 N 1))) (sqrt.f64 (atan.f64 N))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (fma.f64 (atan.f64 N) (+.f64 (atan.f64 (+.f64 N 1)) (atan.f64 N)) (pow.f64 (atan.f64 (+.f64 N 1)) 2)) (-.f64 (pow.f64 (atan.f64 (+.f64 N 1)) 3) (pow.f64 (atan.f64 N) 3))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (+.f64 (atan.f64 (+.f64 N 1)) (atan.f64 N)) (-.f64 (pow.f64 (atan.f64 (+.f64 N 1)) 2) (pow.f64 (atan.f64 N) 2))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (pow.f64 (atan.f64 (+.f64 N 1)) 3) (pow.f64 (atan.f64 N) 3)) (fma.f64 (atan.f64 N) (+.f64 (atan.f64 (+.f64 N 1)) (atan.f64 N)) (pow.f64 (atan.f64 (+.f64 N 1)) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (pow.f64 (atan.f64 (+.f64 N 1)) 2) (pow.f64 (atan.f64 N) 2)) (+.f64 (atan.f64 (+.f64 N 1)) (atan.f64 N)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (-.f64 (pow.f64 (atan.f64 (+.f64 N 1)) 3) (pow.f64 (atan.f64 N) 3))) (neg.f64 (fma.f64 (atan.f64 N) (+.f64 (atan.f64 (+.f64 N 1)) (atan.f64 N)) (pow.f64 (atan.f64 (+.f64 N 1)) 2))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (-.f64 (pow.f64 (atan.f64 (+.f64 N 1)) 2) (pow.f64 (atan.f64 N) 2))) (neg.f64 (+.f64 (atan.f64 (+.f64 N 1)) (atan.f64 N))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 (atan.f64 (+.f64 N 1)) 3) (pow.f64 (neg.f64 (atan.f64 N)) 3)) (+.f64 (pow.f64 (atan.f64 (+.f64 N 1)) 2) (-.f64 (pow.f64 (neg.f64 (atan.f64 N)) 2) (*.f64 (atan.f64 (+.f64 N 1)) (neg.f64 (atan.f64 N))))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (pow.f64 (atan.f64 (+.f64 N 1)) 2) (pow.f64 (neg.f64 (atan.f64 N)) 2)) (-.f64 (atan.f64 (+.f64 N 1)) (neg.f64 (atan.f64 N))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (-.f64 (atan.f64 (+.f64 N 1)) (atan.f64 N)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (E.f64) (log.f64 (-.f64 (atan.f64 (+.f64 N 1)) (atan.f64 N))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (-.f64 (atan.f64 (+.f64 N 1)) (atan.f64 N)) 2) 1/2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (-.f64 (atan.f64 (+.f64 N 1)) (atan.f64 N)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (-.f64 (atan.f64 (+.f64 N 1)) (atan.f64 N))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (-.f64 (atan.f64 (+.f64 N 1)) (atan.f64 N))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 (fma.f64 (atan.f64 N) (+.f64 (atan.f64 (+.f64 N 1)) (atan.f64 N)) (pow.f64 (atan.f64 (+.f64 N 1)) 2)) (-.f64 (pow.f64 (atan.f64 (+.f64 N 1)) 3) (pow.f64 (atan.f64 N) 3))) -1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 (+.f64 (atan.f64 (+.f64 N 1)) (atan.f64 N)) (-.f64 (pow.f64 (atan.f64 (+.f64 N 1)) 2) (pow.f64 (atan.f64 N) 2))) -1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 (pow.f64 (cbrt.f64 (log.f64 (-.f64 (atan.f64 (+.f64 N 1)) (atan.f64 N)))) 2)) (cbrt.f64 (log.f64 (-.f64 (atan.f64 (+.f64 N 1)) (atan.f64 N)))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 (sqrt.f64 (log.f64 (-.f64 (atan.f64 (+.f64 N 1)) (atan.f64 N))))) (sqrt.f64 (log.f64 (-.f64 (atan.f64 (+.f64 N 1)) (atan.f64 N)))))))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (-.f64 (atan.f64 (+.f64 N 1)) (atan.f64 N)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (-.f64 (atan.f64 (+.f64 N 1)) (atan.f64 N))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (-.f64 (atan.f64 (+.f64 N 1)) (atan.f64 N)))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (/.f64 (+.f64 1 (expm1.f64 (atan.f64 (+.f64 N 1)))) (exp.f64 (atan.f64 N))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (/.f64 (exp.f64 (atan.f64 (+.f64 N 1))) (+.f64 1 (expm1.f64 (atan.f64 N)))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (/.f64 (+.f64 1 (expm1.f64 (atan.f64 (+.f64 N 1)))) (+.f64 1 (expm1.f64 (atan.f64 N)))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (+.f64 1 (expm1.f64 (atan.f64 (+.f64 N 1)))) (exp.f64 (neg.f64 (atan.f64 N)))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (exp.f64 (neg.f64 (atan.f64 N))) (+.f64 1 (expm1.f64 (atan.f64 (+.f64 N 1))))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (-.f64 (atan.f64 (+.f64 N 1)) (atan.f64 N)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (-.f64 (atan.f64 (+.f64 N 1)) (atan.f64 N))))))) (#(struct:change #<rule egg-rr> (2) ((x atan2.f64 (-.f64 (+.f64 N 1) N) (+.f64 1 (*.f64 (+.f64 N 1) N)))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (-.f64 (atan.f64 (+.f64 N 1)) (atan.f64 N))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (-.f64 (atan.f64 (+.f64 N 1)) (atan.f64 N))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (-.f64 (atan.f64 (+.f64 N 1)) (atan.f64 N))) 1))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (pow.f64 (-.f64 (atan.f64 (+.f64 N 1)) (atan.f64 N)) 3)) 1/3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (cbrt.f64 (-.f64 (atan.f64 (+.f64 N 1)) (atan.f64 N)))) 3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (sqrt.f64 (-.f64 (atan.f64 (+.f64 N 1)) (atan.f64 N)))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 (log.f64 (-.f64 (atan.f64 (+.f64 N 1)) (atan.f64 N))) 1) 1))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (atan.f64 (+.f64 N 1)) (neg.f64 (atan.f64 N)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (atan.f64 (+.f64 N 1)) (*.f64 (neg.f64 (atan.f64 N)) 1))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (-.f64 (atan.f64 (+.f64 N 1)) (atan.f64 N)) (fma.f64 (neg.f64 (atan.f64 N)) 1 (atan.f64 N)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (-.f64 (atan.f64 (+.f64 N 1)) (atan.f64 N)) (fma.f64 (neg.f64 (cbrt.f64 (atan.f64 N))) (cbrt.f64 (pow.f64 (atan.f64 N) 2)) (atan.f64 N)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (-.f64 (atan.f64 (+.f64 N 1)) (atan.f64 N)) (+.f64 (neg.f64 (atan.f64 N)) (atan.f64 N)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (neg.f64 (atan.f64 N)) (atan.f64 (+.f64 N 1)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (atan.f64 (+.f64 N 1)) 1 (neg.f64 (atan.f64 N)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (atan.f64 (+.f64 N 1)) 1 (*.f64 (neg.f64 (atan.f64 N)) 1))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (-.f64 (atan.f64 (+.f64 N 1)) (atan.f64 N)) 1 (fma.f64 (neg.f64 (atan.f64 N)) 1 (atan.f64 N)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (-.f64 (atan.f64 (+.f64 N 1)) (atan.f64 N)) 1 (fma.f64 (neg.f64 (cbrt.f64 (atan.f64 N))) (cbrt.f64 (pow.f64 (atan.f64 N) 2)) (atan.f64 N)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (-.f64 (atan.f64 (+.f64 N 1)) (atan.f64 N)) 1 (+.f64 (neg.f64 (atan.f64 N)) (atan.f64 N)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (atan.f64 (+.f64 N 1))) (cbrt.f64 (pow.f64 (atan.f64 (+.f64 N 1)) 2)) (neg.f64 (atan.f64 N)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (atan.f64 (+.f64 N 1))) (cbrt.f64 (pow.f64 (atan.f64 (+.f64 N 1)) 2)) (*.f64 (neg.f64 (atan.f64 N)) 1))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (pow.f64 (atan.f64 (+.f64 N 1)) 2)) (cbrt.f64 (atan.f64 (+.f64 N 1))) (neg.f64 (atan.f64 N)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (pow.f64 (atan.f64 (+.f64 N 1)) 2)) (cbrt.f64 (atan.f64 (+.f64 N 1))) (*.f64 (neg.f64 (atan.f64 N)) 1))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (pow.f64 (atan.f64 N) 2)) (neg.f64 (cbrt.f64 (atan.f64 N))) (atan.f64 (+.f64 N 1)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (-.f64 (atan.f64 (+.f64 N 1)) (atan.f64 N))) (pow.f64 (cbrt.f64 (-.f64 (atan.f64 (+.f64 N 1)) (atan.f64 N))) 2) (fma.f64 (neg.f64 (atan.f64 N)) 1 (atan.f64 N)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (-.f64 (atan.f64 (+.f64 N 1)) (atan.f64 N))) (pow.f64 (cbrt.f64 (-.f64 (atan.f64 (+.f64 N 1)) (atan.f64 N))) 2) (fma.f64 (neg.f64 (cbrt.f64 (atan.f64 N))) (cbrt.f64 (pow.f64 (atan.f64 N) 2)) (atan.f64 N)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (-.f64 (atan.f64 (+.f64 N 1)) (atan.f64 N))) (pow.f64 (cbrt.f64 (-.f64 (atan.f64 (+.f64 N 1)) (atan.f64 N))) 2) (+.f64 (neg.f64 (atan.f64 N)) (atan.f64 N)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 (-.f64 (atan.f64 (+.f64 N 1)) (atan.f64 N))) 2) (cbrt.f64 (-.f64 (atan.f64 (+.f64 N 1)) (atan.f64 N))) (fma.f64 (neg.f64 (atan.f64 N)) 1 (atan.f64 N)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 (-.f64 (atan.f64 (+.f64 N 1)) (atan.f64 N))) 2) (cbrt.f64 (-.f64 (atan.f64 (+.f64 N 1)) (atan.f64 N))) (fma.f64 (neg.f64 (cbrt.f64 (atan.f64 N))) (cbrt.f64 (pow.f64 (atan.f64 N) 2)) (atan.f64 N)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 (-.f64 (atan.f64 (+.f64 N 1)) (atan.f64 N))) 2) (cbrt.f64 (-.f64 (atan.f64 (+.f64 N 1)) (atan.f64 N))) (+.f64 (neg.f64 (atan.f64 N)) (atan.f64 N)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 (atan.f64 (+.f64 N 1))) (sqrt.f64 (atan.f64 (+.f64 N 1))) (neg.f64 (atan.f64 N)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 (atan.f64 (+.f64 N 1))) (sqrt.f64 (atan.f64 (+.f64 N 1))) (*.f64 (neg.f64 (atan.f64 N)) 1))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 (atan.f64 N)) (neg.f64 (sqrt.f64 (atan.f64 N))) (atan.f64 (+.f64 N 1)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 (-.f64 (atan.f64 (+.f64 N 1)) (atan.f64 N))) (sqrt.f64 (-.f64 (atan.f64 (+.f64 N 1)) (atan.f64 N))) (fma.f64 (neg.f64 (atan.f64 N)) 1 (atan.f64 N)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 (-.f64 (atan.f64 (+.f64 N 1)) (atan.f64 N))) (sqrt.f64 (-.f64 (atan.f64 (+.f64 N 1)) (atan.f64 N))) (fma.f64 (neg.f64 (cbrt.f64 (atan.f64 N))) (cbrt.f64 (pow.f64 (atan.f64 N) 2)) (atan.f64 N)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 (-.f64 (atan.f64 (+.f64 N 1)) (atan.f64 N))) (sqrt.f64 (-.f64 (atan.f64 (+.f64 N 1)) (atan.f64 N))) (+.f64 (neg.f64 (atan.f64 N)) (atan.f64 N)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (-.f64 (pow.f64 (atan.f64 (+.f64 N 1)) 3) (pow.f64 (atan.f64 N) 3)) (/.f64 1 (fma.f64 (atan.f64 N) (+.f64 (atan.f64 (+.f64 N 1)) (atan.f64 N)) (pow.f64 (atan.f64 (+.f64 N 1)) 2))) (fma.f64 (neg.f64 (atan.f64 N)) 1 (atan.f64 N)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (-.f64 (pow.f64 (atan.f64 (+.f64 N 1)) 3) (pow.f64 (atan.f64 N) 3)) (/.f64 1 (fma.f64 (atan.f64 N) (+.f64 (atan.f64 (+.f64 N 1)) (atan.f64 N)) (pow.f64 (atan.f64 (+.f64 N 1)) 2))) (fma.f64 (neg.f64 (cbrt.f64 (atan.f64 N))) (cbrt.f64 (pow.f64 (atan.f64 N) 2)) (atan.f64 N)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (-.f64 (pow.f64 (atan.f64 (+.f64 N 1)) 3) (pow.f64 (atan.f64 N) 3)) (/.f64 1 (fma.f64 (atan.f64 N) (+.f64 (atan.f64 (+.f64 N 1)) (atan.f64 N)) (pow.f64 (atan.f64 (+.f64 N 1)) 2))) (+.f64 (neg.f64 (atan.f64 N)) (atan.f64 N)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (-.f64 (pow.f64 (atan.f64 (+.f64 N 1)) 2) (pow.f64 (atan.f64 N) 2)) (/.f64 1 (+.f64 (atan.f64 (+.f64 N 1)) (atan.f64 N))) (fma.f64 (neg.f64 (atan.f64 N)) 1 (atan.f64 N)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (-.f64 (pow.f64 (atan.f64 (+.f64 N 1)) 2) (pow.f64 (atan.f64 N) 2)) (/.f64 1 (+.f64 (atan.f64 (+.f64 N 1)) (atan.f64 N))) (fma.f64 (neg.f64 (cbrt.f64 (atan.f64 N))) (cbrt.f64 (pow.f64 (atan.f64 N) 2)) (atan.f64 N)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (-.f64 (pow.f64 (atan.f64 (+.f64 N 1)) 2) (pow.f64 (atan.f64 N) 2)) (/.f64 1 (+.f64 (atan.f64 (+.f64 N 1)) (atan.f64 N))) (+.f64 (neg.f64 (atan.f64 N)) (atan.f64 N)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 (neg.f64 (atan.f64 N))) 2) (cbrt.f64 (neg.f64 (atan.f64 N))) (atan.f64 (+.f64 N 1)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 (neg.f64 (atan.f64 N))) (sqrt.f64 (neg.f64 (atan.f64 N))) (atan.f64 (+.f64 N 1)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (neg.f64 (sqrt.f64 (atan.f64 N))) (sqrt.f64 (atan.f64 N)) (atan.f64 (+.f64 N 1)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 -1 (atan.f64 N) (atan.f64 (+.f64 N 1)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (+.f64 (sqrt.f64 (atan.f64 (+.f64 N 1))) (sqrt.f64 (atan.f64 N))) (-.f64 (sqrt.f64 (atan.f64 (+.f64 N 1))) (sqrt.f64 (atan.f64 N))) (fma.f64 (neg.f64 (atan.f64 N)) 1 (atan.f64 N)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (+.f64 (sqrt.f64 (atan.f64 (+.f64 N 1))) (sqrt.f64 (atan.f64 N))) (-.f64 (sqrt.f64 (atan.f64 (+.f64 N 1))) (sqrt.f64 (atan.f64 N))) (fma.f64 (neg.f64 (cbrt.f64 (atan.f64 N))) (cbrt.f64 (pow.f64 (atan.f64 N) 2)) (atan.f64 N)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (+.f64 (sqrt.f64 (atan.f64 (+.f64 N 1))) (sqrt.f64 (atan.f64 N))) (-.f64 (sqrt.f64 (atan.f64 (+.f64 N 1))) (sqrt.f64 (atan.f64 N))) (+.f64 (neg.f64 (atan.f64 N)) (atan.f64 N)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (neg.f64 (cbrt.f64 (pow.f64 (atan.f64 N) 2))) (cbrt.f64 (atan.f64 N)) (atan.f64 (+.f64 N 1))))))) |
((#(struct:change #<rule egg-rr> (2) ((x +.f64 0 (pow.f64 (atan.f64 (+.f64 N 1)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (pow.f64 (cbrt.f64 (exp.f64 (pow.f64 (atan.f64 (+.f64 N 1)) 3))) 2)) (log.f64 (cbrt.f64 (exp.f64 (pow.f64 (atan.f64 (+.f64 N 1)) 3)))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (sqrt.f64 (exp.f64 (pow.f64 (atan.f64 (+.f64 N 1)) 3)))) (log.f64 (sqrt.f64 (exp.f64 (pow.f64 (atan.f64 (+.f64 N 1)) 3)))))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (pow.f64 (atan.f64 (+.f64 N 1)) 3))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (pow.f64 (atan.f64 (+.f64 N 1)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (atan.f64 (+.f64 N 1)) (pow.f64 (atan.f64 (+.f64 N 1)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (atan.f64 (+.f64 N 1)) 3) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (atan.f64 (+.f64 N 1)) 2) (atan.f64 (+.f64 N 1)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (pow.f64 (atan.f64 (+.f64 N 1)) 2)) (*.f64 (cbrt.f64 (atan.f64 (+.f64 N 1))) (pow.f64 (atan.f64 (+.f64 N 1)) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (atan.f64 (+.f64 N 1))) (pow.f64 (atan.f64 (+.f64 N 1)) 5/2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (atan.f64 (+.f64 N 1)) 3/2) (pow.f64 (atan.f64 (+.f64 N 1)) 3/2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (atan.f64 (+.f64 N 1)) 5/2) (sqrt.f64 (atan.f64 (+.f64 N 1))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (pow.f64 (atan.f64 (+.f64 N 1)) 2) 1) (atan.f64 (+.f64 N 1)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (*.f64 (atan.f64 (+.f64 N 1)) (cbrt.f64 (atan.f64 (+.f64 N 1)))) 2) (cbrt.f64 (atan.f64 (+.f64 N 1))))))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (atan.f64 (+.f64 N 1)) 6))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (pow.f64 (atan.f64 (+.f64 N 1)) 3)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (pow.f64 (atan.f64 (+.f64 N 1)) 3))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (atan.f64 (+.f64 N 1)) 9))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (pow.f64 (atan.f64 (+.f64 N 1)) 3)))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (pow.f64 (atan.f64 (+.f64 N 1)) 3)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (pow.f64 (atan.f64 (+.f64 N 1)) 3)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (pow.f64 (atan.f64 (+.f64 N 1)) 3)) 1))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (pow.f64 (atan.f64 (+.f64 N 1)) 2)) 3/2))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (pow.f64 (atan.f64 (+.f64 N 1)) 9)) 1/3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 3/2 (log.f64 (atan.f64 (+.f64 N 1)))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 (log.f64 (atan.f64 (+.f64 N 1))) 1) 3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 (log.f64 (pow.f64 (atan.f64 (+.f64 N 1)) 3)) 1/3) 3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 (log.f64 (pow.f64 (atan.f64 (+.f64 N 1)) 3)) 1) 1))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 (log.f64 (atan.f64 (+.f64 N 1))) 3/2) 2)))))) |
((#(struct:change #<rule egg-rr> (2) ((x +.f64 0 (atan.f64 (+.f64 N 1)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (pow.f64 (cbrt.f64 (exp.f64 (atan.f64 (+.f64 N 1)))) 2)) (log.f64 (cbrt.f64 (exp.f64 (atan.f64 (+.f64 N 1))))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (sqrt.f64 (exp.f64 (atan.f64 (+.f64 N 1))))) (log.f64 (sqrt.f64 (exp.f64 (atan.f64 (+.f64 N 1))))))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (atan.f64 (+.f64 N 1)))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (atan.f64 (+.f64 N 1)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (atan.f64 (+.f64 N 1)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (atan.f64 (+.f64 N 1))) (cbrt.f64 (pow.f64 (atan.f64 (+.f64 N 1)) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (pow.f64 (atan.f64 (+.f64 N 1)) 2)) (cbrt.f64 (atan.f64 (+.f64 N 1))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (atan.f64 (+.f64 N 1))) (sqrt.f64 (atan.f64 (+.f64 N 1))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (atan.f64 (+.f64 N 1)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (atan.f64 (+.f64 N 1)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (E.f64) (log.f64 (atan.f64 (+.f64 N 1))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (atan.f64 (+.f64 N 1)) 2) 1/2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (atan.f64 (+.f64 N 1)) 6) 1/6)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (atan.f64 (+.f64 N 1)) 9) 1/9)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (atan.f64 (+.f64 N 1))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (pow.f64 (atan.f64 (+.f64 N 1)) 2)) 3/2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (atan.f64 (+.f64 N 1))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (atan.f64 (+.f64 N 1)) 3/2) 2/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 1/3) (log.f64 (pow.f64 (atan.f64 (+.f64 N 1)) 3)))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 (pow.f64 (cbrt.f64 (log.f64 (atan.f64 (+.f64 N 1)))) 2)) (cbrt.f64 (log.f64 (atan.f64 (+.f64 N 1)))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 (sqrt.f64 (log.f64 (atan.f64 (+.f64 N 1))))) (sqrt.f64 (log.f64 (atan.f64 (+.f64 N 1)))))))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (atan.f64 (+.f64 N 1)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (atan.f64 (+.f64 N 1))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (atan.f64 (+.f64 N 1)))))))) (#(struct:change #<rule egg-rr> (2) ((x atan.f64 (+.f64 N 1))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (atan.f64 (+.f64 N 1))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (atan.f64 (+.f64 N 1))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (atan.f64 (+.f64 N 1))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (atan.f64 (+.f64 N 1))) 1))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (pow.f64 (atan.f64 (+.f64 N 1)) 3)) 1/3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 2 (log.f64 (cbrt.f64 (atan.f64 (+.f64 N 1))))) 3/2))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (cbrt.f64 (atan.f64 (+.f64 N 1)))) 3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (sqrt.f64 (atan.f64 (+.f64 N 1)))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 (log.f64 (atan.f64 (+.f64 N 1))) 1) 1))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 (log.f64 (pow.f64 (atan.f64 (+.f64 N 1)) 3)) 1/3) 1))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 (log.f64 (pow.f64 (atan.f64 (+.f64 N 1)) 3)) 1) 1/3)))))) |
| 1× | egg-herbie |
| 1109× | fma-def_binary64 |
| 691× | fma-neg_binary64 |
| 419× | neg-mul-1_binary64 |
| 417× | neg-sub0_binary64 |
| 362× | unswap-sqr_binary64 |
Useful iterations: 1 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 14 | 248 |
| 1 | 35 | 240 |
| 2 | 50 | 240 |
| 3 | 89 | 240 |
| 4 | 137 | 240 |
| 5 | 274 | 240 |
| 6 | 735 | 240 |
| 7 | 1465 | 240 |
| 8 | 1659 | 240 |
| 9 | 1998 | 240 |
| 10 | 3207 | 240 |
| 11 | 3866 | 240 |
| 12 | 5688 | 240 |
| 13 | 7968 | 240 |
| 1× | node limit |
| Inputs |
|---|
(-.f64 (atan.f64 (+.f64 N 1)) (atan.f64 N)) |
(-.f64 (atan.f64 (+.f64 N 1)) (atan.f64 N)) |
(-.f64 (atan.f64 (+.f64 N 1)) (atan.f64 N)) |
(-.f64 (atan.f64 (+.f64 N 1)) (atan.f64 N)) |
(-.f64 (atan.f64 (+.f64 N 1)) (atan.f64 N)) |
(-.f64 (atan.f64 (+.f64 N 1)) (atan.f64 N)) |
(-.f64 (atan.f64 (+.f64 N 1)) (atan.f64 N)) |
(-.f64 (atan.f64 (+.f64 N 1)) (atan.f64 N)) |
(-.f64 (atan.f64 (-.f64 1 (*.f64 -1 N))) (atan.f64 N)) |
(-.f64 (atan.f64 (-.f64 1 (*.f64 -1 N))) (atan.f64 N)) |
(-.f64 (atan.f64 (-.f64 1 (*.f64 -1 N))) (atan.f64 N)) |
(-.f64 (atan.f64 (-.f64 1 (*.f64 -1 N))) (atan.f64 N)) |
(pow.f64 (atan.f64 (-.f64 1 (*.f64 -1 N))) 3) |
(pow.f64 (atan.f64 (-.f64 1 (*.f64 -1 N))) 3) |
(pow.f64 (atan.f64 (-.f64 1 (*.f64 -1 N))) 3) |
(pow.f64 (atan.f64 (-.f64 1 (*.f64 -1 N))) 3) |
(atan.f64 (+.f64 N 1)) |
(atan.f64 (+.f64 N 1)) |
(atan.f64 (+.f64 N 1)) |
(atan.f64 (+.f64 N 1)) |
(atan.f64 (+.f64 N 1)) |
(atan.f64 (+.f64 N 1)) |
(atan.f64 (+.f64 N 1)) |
(atan.f64 (+.f64 N 1)) |
(atan.f64 (-.f64 1 (*.f64 -1 N))) |
(atan.f64 (-.f64 1 (*.f64 -1 N))) |
(atan.f64 (-.f64 1 (*.f64 -1 N))) |
(atan.f64 (-.f64 1 (*.f64 -1 N))) |
| Outputs |
|---|
(-.f64 (atan.f64 (+.f64 N 1)) (atan.f64 N)) |
(-.f64 (atan.f64 (+.f64 N 1)) (atan.f64 N)) |
(-.f64 (atan.f64 (+.f64 N 1)) (atan.f64 N)) |
(-.f64 (atan.f64 (+.f64 N 1)) (atan.f64 N)) |
(-.f64 (atan.f64 (+.f64 N 1)) (atan.f64 N)) |
(-.f64 (atan.f64 (+.f64 N 1)) (atan.f64 N)) |
(-.f64 (atan.f64 (+.f64 N 1)) (atan.f64 N)) |
(-.f64 (atan.f64 (+.f64 N 1)) (atan.f64 N)) |
(-.f64 (atan.f64 (-.f64 1 (*.f64 -1 N))) (atan.f64 N)) |
(-.f64 (atan.f64 (+.f64 N 1)) (atan.f64 N)) |
(-.f64 (atan.f64 (-.f64 1 (*.f64 -1 N))) (atan.f64 N)) |
(-.f64 (atan.f64 (+.f64 N 1)) (atan.f64 N)) |
(-.f64 (atan.f64 (-.f64 1 (*.f64 -1 N))) (atan.f64 N)) |
(-.f64 (atan.f64 (+.f64 N 1)) (atan.f64 N)) |
(-.f64 (atan.f64 (-.f64 1 (*.f64 -1 N))) (atan.f64 N)) |
(-.f64 (atan.f64 (+.f64 N 1)) (atan.f64 N)) |
(pow.f64 (atan.f64 (-.f64 1 (*.f64 -1 N))) 3) |
(pow.f64 (atan.f64 (-.f64 1 (neg.f64 N))) 3) |
(pow.f64 (atan.f64 (+.f64 N 1)) 3) |
(pow.f64 (atan.f64 (-.f64 1 (*.f64 -1 N))) 3) |
(pow.f64 (atan.f64 (-.f64 1 (neg.f64 N))) 3) |
(pow.f64 (atan.f64 (+.f64 N 1)) 3) |
(pow.f64 (atan.f64 (-.f64 1 (*.f64 -1 N))) 3) |
(pow.f64 (atan.f64 (-.f64 1 (neg.f64 N))) 3) |
(pow.f64 (atan.f64 (+.f64 N 1)) 3) |
(pow.f64 (atan.f64 (-.f64 1 (*.f64 -1 N))) 3) |
(pow.f64 (atan.f64 (-.f64 1 (neg.f64 N))) 3) |
(pow.f64 (atan.f64 (+.f64 N 1)) 3) |
(atan.f64 (+.f64 N 1)) |
(atan.f64 (+.f64 N 1)) |
(atan.f64 (+.f64 N 1)) |
(atan.f64 (+.f64 N 1)) |
(atan.f64 (+.f64 N 1)) |
(atan.f64 (+.f64 N 1)) |
(atan.f64 (+.f64 N 1)) |
(atan.f64 (+.f64 N 1)) |
(atan.f64 (-.f64 1 (*.f64 -1 N))) |
(atan.f64 (+.f64 N 1)) |
(atan.f64 (-.f64 1 (*.f64 -1 N))) |
(atan.f64 (+.f64 N 1)) |
(atan.f64 (-.f64 1 (*.f64 -1 N))) |
(atan.f64 (+.f64 N 1)) |
(atan.f64 (-.f64 1 (*.f64 -1 N))) |
(atan.f64 (+.f64 N 1)) |
Found 4 expressions with local error:
| New | Error | Program |
|---|---|---|
| 0.0b | (atan.f64 (+.f64 N 1)) | |
| ✓ | 0.5b | (pow.f64 (cbrt.f64 (atan.f64 (+.f64 N 1))) 3) |
| ✓ | 1.0b | (cbrt.f64 (atan.f64 (+.f64 N 1))) |
| ✓ | 30.9b | (-.f64 (pow.f64 (cbrt.f64 (atan.f64 (+.f64 N 1))) 3) (atan.f64 N)) |
Compiled 35 to 26 computations (25.7% saved)
9 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 46.0ms | N | @ | inf | (-.f64 (pow.f64 (cbrt.f64 (atan.f64 (+.f64 N 1))) 3) (atan.f64 N)) |
| 3.0ms | N | @ | 0 | (-.f64 (pow.f64 (cbrt.f64 (atan.f64 (+.f64 N 1))) 3) (atan.f64 N)) |
| 2.0ms | N | @ | -inf | (-.f64 (pow.f64 (cbrt.f64 (atan.f64 (+.f64 N 1))) 3) (atan.f64 N)) |
| 0.0ms | N | @ | -inf | (cbrt.f64 (atan.f64 (+.f64 N 1))) |
| 0.0ms | N | @ | 0 | (cbrt.f64 (atan.f64 (+.f64 N 1))) |
| 1× | batch-egg-rewrite |
| 631× | prod-diff_binary64 |
| 404× | log-prod_binary64 |
| 303× | exp-prod_binary64 |
| 300× | fma-def_binary64 |
| 265× | pow-prod-down_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 10 | 25 |
| 1 | 220 | 25 |
| 2 | 2581 | 25 |
| 1× | node limit |
| Inputs |
|---|
(-.f64 (pow.f64 (cbrt.f64 (atan.f64 (+.f64 N 1))) 3) (atan.f64 N)) |
(cbrt.f64 (atan.f64 (+.f64 N 1))) |
(pow.f64 (cbrt.f64 (atan.f64 (+.f64 N 1))) 3) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x +.f64 (atan.f64 (+.f64 N 1)) (neg.f64 (atan.f64 N)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (atan.f64 (+.f64 N 1)) (*.f64 (neg.f64 (atan.f64 N)) 1))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (-.f64 (atan.f64 (+.f64 N 1)) (atan.f64 N)) (fma.f64 (neg.f64 (atan.f64 N)) 1 (atan.f64 N)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (-.f64 (atan.f64 (+.f64 N 1)) (atan.f64 N)) (fma.f64 (neg.f64 (cbrt.f64 (atan.f64 N))) (cbrt.f64 (pow.f64 (atan.f64 N) 2)) (atan.f64 N)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (-.f64 (atan.f64 (+.f64 N 1)) (atan.f64 N)) (+.f64 (neg.f64 (atan.f64 N)) (atan.f64 N)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (-.f64 (atan.f64 (+.f64 N 1)) (atan.f64 N)) (fma.f64 -1 (atan.f64 N) (atan.f64 N)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (-.f64 (atan.f64 (+.f64 N 1)) (atan.f64 N)) (fma.f64 (neg.f64 (cbrt.f64 (pow.f64 (atan.f64 N) 2))) (cbrt.f64 (atan.f64 N)) (atan.f64 N)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 0 (-.f64 (atan.f64 (+.f64 N 1)) (atan.f64 N)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (neg.f64 (atan.f64 N)) (atan.f64 (+.f64 N 1)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (pow.f64 (cbrt.f64 (exp.f64 (-.f64 (atan.f64 (+.f64 N 1)) (atan.f64 N)))) 2)) (log.f64 (cbrt.f64 (exp.f64 (-.f64 (atan.f64 (+.f64 N 1)) (atan.f64 N))))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (sqrt.f64 (exp.f64 (-.f64 (atan.f64 (+.f64 N 1)) (atan.f64 N))))) (log.f64 (sqrt.f64 (exp.f64 (-.f64 (atan.f64 (+.f64 N 1)) (atan.f64 N))))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (-.f64 (atan.f64 (+.f64 N 1)) (atan.f64 N)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (-.f64 (atan.f64 (+.f64 N 1)) (atan.f64 N)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (-.f64 (atan.f64 (+.f64 N 1)) (atan.f64 N))) (pow.f64 (cbrt.f64 (-.f64 (atan.f64 (+.f64 N 1)) (atan.f64 N))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (-.f64 (atan.f64 (+.f64 N 1)) (atan.f64 N))) 2) (cbrt.f64 (-.f64 (atan.f64 (+.f64 N 1)) (atan.f64 N))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (-.f64 (atan.f64 (+.f64 N 1)) (atan.f64 N))) (sqrt.f64 (-.f64 (atan.f64 (+.f64 N 1)) (atan.f64 N))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (-.f64 (pow.f64 (atan.f64 (+.f64 N 1)) 3) (pow.f64 (atan.f64 N) 3)) (/.f64 1 (fma.f64 (atan.f64 N) (+.f64 (atan.f64 (+.f64 N 1)) (atan.f64 N)) (pow.f64 (atan.f64 (+.f64 N 1)) 2))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (-.f64 (pow.f64 (atan.f64 (+.f64 N 1)) 2) (pow.f64 (atan.f64 N) 2)) (/.f64 1 (+.f64 (atan.f64 (+.f64 N 1)) (atan.f64 N))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 (sqrt.f64 (atan.f64 (+.f64 N 1))) (sqrt.f64 (atan.f64 N))) (-.f64 (sqrt.f64 (atan.f64 (+.f64 N 1))) (sqrt.f64 (atan.f64 N))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (fma.f64 (atan.f64 N) (+.f64 (atan.f64 (+.f64 N 1)) (atan.f64 N)) (pow.f64 (atan.f64 (+.f64 N 1)) 2)) (-.f64 (pow.f64 (atan.f64 (+.f64 N 1)) 3) (pow.f64 (atan.f64 N) 3))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (+.f64 (atan.f64 (+.f64 N 1)) (atan.f64 N)) (-.f64 (pow.f64 (atan.f64 (+.f64 N 1)) 2) (pow.f64 (atan.f64 N) 2))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (pow.f64 (atan.f64 (+.f64 N 1)) 3) (pow.f64 (atan.f64 N) 3)) (fma.f64 (atan.f64 N) (+.f64 (atan.f64 (+.f64 N 1)) (atan.f64 N)) (pow.f64 (atan.f64 (+.f64 N 1)) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (pow.f64 (atan.f64 (+.f64 N 1)) 2) (pow.f64 (atan.f64 N) 2)) (+.f64 (atan.f64 (+.f64 N 1)) (atan.f64 N)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (-.f64 (pow.f64 (atan.f64 (+.f64 N 1)) 3) (pow.f64 (atan.f64 N) 3))) (neg.f64 (fma.f64 (atan.f64 N) (+.f64 (atan.f64 (+.f64 N 1)) (atan.f64 N)) (pow.f64 (atan.f64 (+.f64 N 1)) 2))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (-.f64 (pow.f64 (atan.f64 (+.f64 N 1)) 2) (pow.f64 (atan.f64 N) 2))) (neg.f64 (+.f64 (atan.f64 (+.f64 N 1)) (atan.f64 N))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 (atan.f64 (+.f64 N 1)) 3) (pow.f64 (neg.f64 (atan.f64 N)) 3)) (+.f64 (pow.f64 (atan.f64 (+.f64 N 1)) 2) (-.f64 (pow.f64 (neg.f64 (atan.f64 N)) 2) (*.f64 (atan.f64 (+.f64 N 1)) (neg.f64 (atan.f64 N))))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (pow.f64 (atan.f64 (+.f64 N 1)) 2) (pow.f64 (neg.f64 (atan.f64 N)) 2)) (-.f64 (atan.f64 (+.f64 N 1)) (neg.f64 (atan.f64 N))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (-.f64 (atan.f64 (+.f64 N 1)) (atan.f64 N)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (E.f64) (log.f64 (-.f64 (atan.f64 (+.f64 N 1)) (atan.f64 N))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (-.f64 (atan.f64 (+.f64 N 1)) (atan.f64 N)) 2) 1/2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (-.f64 (atan.f64 (+.f64 N 1)) (atan.f64 N)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (-.f64 (atan.f64 (+.f64 N 1)) (atan.f64 N))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (-.f64 (atan.f64 (+.f64 N 1)) (atan.f64 N))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 (fma.f64 (atan.f64 N) (+.f64 (atan.f64 (+.f64 N 1)) (atan.f64 N)) (pow.f64 (atan.f64 (+.f64 N 1)) 2)) (-.f64 (pow.f64 (atan.f64 (+.f64 N 1)) 3) (pow.f64 (atan.f64 N) 3))) -1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 (+.f64 (atan.f64 (+.f64 N 1)) (atan.f64 N)) (-.f64 (pow.f64 (atan.f64 (+.f64 N 1)) 2) (pow.f64 (atan.f64 N) 2))) -1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 (pow.f64 (cbrt.f64 (log.f64 (-.f64 (atan.f64 (+.f64 N 1)) (atan.f64 N)))) 2)) (cbrt.f64 (log.f64 (-.f64 (atan.f64 (+.f64 N 1)) (atan.f64 N)))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 (sqrt.f64 (log.f64 (-.f64 (atan.f64 (+.f64 N 1)) (atan.f64 N))))) (sqrt.f64 (log.f64 (-.f64 (atan.f64 (+.f64 N 1)) (atan.f64 N)))))))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (-.f64 (atan.f64 (+.f64 N 1)) (atan.f64 N)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (-.f64 (atan.f64 (+.f64 N 1)) (atan.f64 N))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (-.f64 (atan.f64 (+.f64 N 1)) (atan.f64 N)))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (/.f64 (+.f64 1 (expm1.f64 (atan.f64 (+.f64 N 1)))) (exp.f64 (atan.f64 N))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (/.f64 (exp.f64 (atan.f64 (+.f64 N 1))) (+.f64 1 (expm1.f64 (atan.f64 N)))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (/.f64 (+.f64 1 (expm1.f64 (atan.f64 (+.f64 N 1)))) (+.f64 1 (expm1.f64 (atan.f64 N)))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (+.f64 1 (expm1.f64 (atan.f64 (+.f64 N 1)))) (exp.f64 (neg.f64 (atan.f64 N)))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (exp.f64 (neg.f64 (atan.f64 N))) (+.f64 1 (expm1.f64 (atan.f64 (+.f64 N 1))))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (-.f64 (atan.f64 (+.f64 N 1)) (atan.f64 N)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (-.f64 (atan.f64 (+.f64 N 1)) (atan.f64 N))))))) (#(struct:change #<rule egg-rr> (2) ((x atan2.f64 (-.f64 (+.f64 N 1) N) (+.f64 1 (*.f64 (+.f64 N 1) N)))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (-.f64 (atan.f64 (+.f64 N 1)) (atan.f64 N))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (-.f64 (atan.f64 (+.f64 N 1)) (atan.f64 N))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (-.f64 (atan.f64 (+.f64 N 1)) (atan.f64 N))) 1))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 3 (log.f64 (-.f64 (atan.f64 (+.f64 N 1)) (atan.f64 N)))) 1/3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (cbrt.f64 (-.f64 (atan.f64 (+.f64 N 1)) (atan.f64 N)))) 3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (sqrt.f64 (-.f64 (atan.f64 (+.f64 N 1)) (atan.f64 N)))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 (log.f64 (-.f64 (atan.f64 (+.f64 N 1)) (atan.f64 N))) 1) 1))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (atan.f64 (+.f64 N 1)) (neg.f64 (atan.f64 N)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (atan.f64 (+.f64 N 1)) (*.f64 (neg.f64 (atan.f64 N)) 1))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (-.f64 (atan.f64 (+.f64 N 1)) (atan.f64 N)) (fma.f64 (neg.f64 (atan.f64 N)) 1 (atan.f64 N)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (-.f64 (atan.f64 (+.f64 N 1)) (atan.f64 N)) (fma.f64 (neg.f64 (cbrt.f64 (atan.f64 N))) (cbrt.f64 (pow.f64 (atan.f64 N) 2)) (atan.f64 N)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (-.f64 (atan.f64 (+.f64 N 1)) (atan.f64 N)) (+.f64 (neg.f64 (atan.f64 N)) (atan.f64 N)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (neg.f64 (atan.f64 N)) (atan.f64 (+.f64 N 1)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (atan.f64 (+.f64 N 1)) 1 (neg.f64 (atan.f64 N)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (atan.f64 (+.f64 N 1)) 1 (*.f64 (neg.f64 (atan.f64 N)) 1))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (atan.f64 (+.f64 N 1))) (pow.f64 (cbrt.f64 (atan.f64 (+.f64 N 1))) 2) (neg.f64 (atan.f64 N)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (atan.f64 (+.f64 N 1))) (pow.f64 (cbrt.f64 (atan.f64 (+.f64 N 1))) 2) (*.f64 (neg.f64 (atan.f64 N)) 1))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (-.f64 (atan.f64 (+.f64 N 1)) (atan.f64 N)) 1 (fma.f64 (neg.f64 (atan.f64 N)) 1 (atan.f64 N)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (-.f64 (atan.f64 (+.f64 N 1)) (atan.f64 N)) 1 (fma.f64 (neg.f64 (cbrt.f64 (atan.f64 N))) (cbrt.f64 (pow.f64 (atan.f64 N) 2)) (atan.f64 N)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (-.f64 (atan.f64 (+.f64 N 1)) (atan.f64 N)) 1 (+.f64 (neg.f64 (atan.f64 N)) (atan.f64 N)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 (atan.f64 (+.f64 N 1))) 2) (cbrt.f64 (atan.f64 (+.f64 N 1))) (neg.f64 (atan.f64 N)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 (atan.f64 (+.f64 N 1))) 2) (cbrt.f64 (atan.f64 (+.f64 N 1))) (*.f64 (neg.f64 (atan.f64 N)) 1))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (pow.f64 (atan.f64 N) 2)) (neg.f64 (cbrt.f64 (atan.f64 N))) (atan.f64 (+.f64 N 1)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (pow.f64 (cbrt.f64 (atan.f64 (+.f64 N 1))) 2)) (*.f64 (cbrt.f64 (cbrt.f64 (atan.f64 (+.f64 N 1)))) (pow.f64 (cbrt.f64 (atan.f64 (+.f64 N 1))) 2)) (neg.f64 (atan.f64 N)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (pow.f64 (cbrt.f64 (atan.f64 (+.f64 N 1))) 2)) (*.f64 (cbrt.f64 (cbrt.f64 (atan.f64 (+.f64 N 1)))) (pow.f64 (cbrt.f64 (atan.f64 (+.f64 N 1))) 2)) (*.f64 (neg.f64 (atan.f64 N)) 1))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (-.f64 (atan.f64 (+.f64 N 1)) (atan.f64 N))) (pow.f64 (cbrt.f64 (-.f64 (atan.f64 (+.f64 N 1)) (atan.f64 N))) 2) (fma.f64 (neg.f64 (atan.f64 N)) 1 (atan.f64 N)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (-.f64 (atan.f64 (+.f64 N 1)) (atan.f64 N))) (pow.f64 (cbrt.f64 (-.f64 (atan.f64 (+.f64 N 1)) (atan.f64 N))) 2) (fma.f64 (neg.f64 (cbrt.f64 (atan.f64 N))) (cbrt.f64 (pow.f64 (atan.f64 N) 2)) (atan.f64 N)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (-.f64 (atan.f64 (+.f64 N 1)) (atan.f64 N))) (pow.f64 (cbrt.f64 (-.f64 (atan.f64 (+.f64 N 1)) (atan.f64 N))) 2) (+.f64 (neg.f64 (atan.f64 N)) (atan.f64 N)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 (-.f64 (atan.f64 (+.f64 N 1)) (atan.f64 N))) 2) (cbrt.f64 (-.f64 (atan.f64 (+.f64 N 1)) (atan.f64 N))) (fma.f64 (neg.f64 (atan.f64 N)) 1 (atan.f64 N)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 (-.f64 (atan.f64 (+.f64 N 1)) (atan.f64 N))) 2) (cbrt.f64 (-.f64 (atan.f64 (+.f64 N 1)) (atan.f64 N))) (fma.f64 (neg.f64 (cbrt.f64 (atan.f64 N))) (cbrt.f64 (pow.f64 (atan.f64 N) 2)) (atan.f64 N)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 (-.f64 (atan.f64 (+.f64 N 1)) (atan.f64 N))) 2) (cbrt.f64 (-.f64 (atan.f64 (+.f64 N 1)) (atan.f64 N))) (+.f64 (neg.f64 (atan.f64 N)) (atan.f64 N)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 (atan.f64 (+.f64 N 1))) (sqrt.f64 (atan.f64 (+.f64 N 1))) (neg.f64 (atan.f64 N)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 (atan.f64 (+.f64 N 1))) (sqrt.f64 (atan.f64 (+.f64 N 1))) (*.f64 (neg.f64 (atan.f64 N)) 1))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 (atan.f64 N)) (neg.f64 (sqrt.f64 (atan.f64 N))) (atan.f64 (+.f64 N 1)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (atan.f64 (+.f64 N 1)) 1/6) (pow.f64 (atan.f64 (+.f64 N 1)) 5/6) (neg.f64 (atan.f64 N)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (atan.f64 (+.f64 N 1)) 1/6) (pow.f64 (atan.f64 (+.f64 N 1)) 5/6) (*.f64 (neg.f64 (atan.f64 N)) 1))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 (-.f64 (atan.f64 (+.f64 N 1)) (atan.f64 N))) (sqrt.f64 (-.f64 (atan.f64 (+.f64 N 1)) (atan.f64 N))) (fma.f64 (neg.f64 (atan.f64 N)) 1 (atan.f64 N)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 (-.f64 (atan.f64 (+.f64 N 1)) (atan.f64 N))) (sqrt.f64 (-.f64 (atan.f64 (+.f64 N 1)) (atan.f64 N))) (fma.f64 (neg.f64 (cbrt.f64 (atan.f64 N))) (cbrt.f64 (pow.f64 (atan.f64 N) 2)) (atan.f64 N)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 (-.f64 (atan.f64 (+.f64 N 1)) (atan.f64 N))) (sqrt.f64 (-.f64 (atan.f64 (+.f64 N 1)) (atan.f64 N))) (+.f64 (neg.f64 (atan.f64 N)) (atan.f64 N)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (-.f64 (pow.f64 (atan.f64 (+.f64 N 1)) 3) (pow.f64 (atan.f64 N) 3)) (/.f64 1 (fma.f64 (atan.f64 N) (+.f64 (atan.f64 (+.f64 N 1)) (atan.f64 N)) (pow.f64 (atan.f64 (+.f64 N 1)) 2))) (fma.f64 (neg.f64 (atan.f64 N)) 1 (atan.f64 N)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (-.f64 (pow.f64 (atan.f64 (+.f64 N 1)) 3) (pow.f64 (atan.f64 N) 3)) (/.f64 1 (fma.f64 (atan.f64 N) (+.f64 (atan.f64 (+.f64 N 1)) (atan.f64 N)) (pow.f64 (atan.f64 (+.f64 N 1)) 2))) (fma.f64 (neg.f64 (cbrt.f64 (atan.f64 N))) (cbrt.f64 (pow.f64 (atan.f64 N) 2)) (atan.f64 N)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (-.f64 (pow.f64 (atan.f64 (+.f64 N 1)) 3) (pow.f64 (atan.f64 N) 3)) (/.f64 1 (fma.f64 (atan.f64 N) (+.f64 (atan.f64 (+.f64 N 1)) (atan.f64 N)) (pow.f64 (atan.f64 (+.f64 N 1)) 2))) (+.f64 (neg.f64 (atan.f64 N)) (atan.f64 N)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (-.f64 (pow.f64 (atan.f64 (+.f64 N 1)) 2) (pow.f64 (atan.f64 N) 2)) (/.f64 1 (+.f64 (atan.f64 (+.f64 N 1)) (atan.f64 N))) (fma.f64 (neg.f64 (atan.f64 N)) 1 (atan.f64 N)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (-.f64 (pow.f64 (atan.f64 (+.f64 N 1)) 2) (pow.f64 (atan.f64 N) 2)) (/.f64 1 (+.f64 (atan.f64 (+.f64 N 1)) (atan.f64 N))) (fma.f64 (neg.f64 (cbrt.f64 (atan.f64 N))) (cbrt.f64 (pow.f64 (atan.f64 N) 2)) (atan.f64 N)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (-.f64 (pow.f64 (atan.f64 (+.f64 N 1)) 2) (pow.f64 (atan.f64 N) 2)) (/.f64 1 (+.f64 (atan.f64 (+.f64 N 1)) (atan.f64 N))) (+.f64 (neg.f64 (atan.f64 N)) (atan.f64 N)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 (neg.f64 (atan.f64 N))) 2) (cbrt.f64 (neg.f64 (atan.f64 N))) (atan.f64 (+.f64 N 1)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 (neg.f64 (atan.f64 N))) (sqrt.f64 (neg.f64 (atan.f64 N))) (atan.f64 (+.f64 N 1)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (neg.f64 (sqrt.f64 (atan.f64 N))) (sqrt.f64 (atan.f64 N)) (atan.f64 (+.f64 N 1)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 -1 (atan.f64 N) (atan.f64 (+.f64 N 1)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (+.f64 (sqrt.f64 (atan.f64 (+.f64 N 1))) (sqrt.f64 (atan.f64 N))) (-.f64 (sqrt.f64 (atan.f64 (+.f64 N 1))) (sqrt.f64 (atan.f64 N))) (fma.f64 (neg.f64 (atan.f64 N)) 1 (atan.f64 N)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (+.f64 (sqrt.f64 (atan.f64 (+.f64 N 1))) (sqrt.f64 (atan.f64 N))) (-.f64 (sqrt.f64 (atan.f64 (+.f64 N 1))) (sqrt.f64 (atan.f64 N))) (fma.f64 (neg.f64 (cbrt.f64 (atan.f64 N))) (cbrt.f64 (pow.f64 (atan.f64 N) 2)) (atan.f64 N)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (+.f64 (sqrt.f64 (atan.f64 (+.f64 N 1))) (sqrt.f64 (atan.f64 N))) (-.f64 (sqrt.f64 (atan.f64 (+.f64 N 1))) (sqrt.f64 (atan.f64 N))) (+.f64 (neg.f64 (atan.f64 N)) (atan.f64 N)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (neg.f64 (cbrt.f64 (pow.f64 (atan.f64 N) 2))) (cbrt.f64 (atan.f64 N)) (atan.f64 (+.f64 N 1)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (atan.f64 (+.f64 N 1)) 5/6) (pow.f64 (atan.f64 (+.f64 N 1)) 1/6) (neg.f64 (atan.f64 N)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (atan.f64 (+.f64 N 1)) 5/6) (pow.f64 (atan.f64 (+.f64 N 1)) 1/6) (*.f64 (neg.f64 (atan.f64 N)) 1))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 (pow.f64 (cbrt.f64 (atan.f64 (+.f64 N 1))) 2) 1) (cbrt.f64 (atan.f64 (+.f64 N 1))) (neg.f64 (atan.f64 N)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 (pow.f64 (cbrt.f64 (atan.f64 (+.f64 N 1))) 2) 1) (cbrt.f64 (atan.f64 (+.f64 N 1))) (*.f64 (neg.f64 (atan.f64 N)) 1))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (*.f64 (cbrt.f64 (atan.f64 (+.f64 N 1))) (cbrt.f64 (cbrt.f64 (atan.f64 (+.f64 N 1))))) 2) (cbrt.f64 (cbrt.f64 (atan.f64 (+.f64 N 1)))) (neg.f64 (atan.f64 N)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (*.f64 (cbrt.f64 (atan.f64 (+.f64 N 1))) (cbrt.f64 (cbrt.f64 (atan.f64 (+.f64 N 1))))) 2) (cbrt.f64 (cbrt.f64 (atan.f64 (+.f64 N 1)))) (*.f64 (neg.f64 (atan.f64 N)) 1)))))) |
((#(struct:change #<rule egg-rr> (2) ((x +.f64 0 (cbrt.f64 (atan.f64 (+.f64 N 1))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (pow.f64 (cbrt.f64 (exp.f64 (cbrt.f64 (atan.f64 (+.f64 N 1))))) 2)) (log.f64 (cbrt.f64 (exp.f64 (cbrt.f64 (atan.f64 (+.f64 N 1)))))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (sqrt.f64 (exp.f64 (cbrt.f64 (atan.f64 (+.f64 N 1)))))) (log.f64 (sqrt.f64 (exp.f64 (cbrt.f64 (atan.f64 (+.f64 N 1)))))))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (cbrt.f64 (atan.f64 (+.f64 N 1))))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (cbrt.f64 (atan.f64 (+.f64 N 1))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (atan.f64 (+.f64 N 1))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (cbrt.f64 (atan.f64 (+.f64 N 1)))) (cbrt.f64 (pow.f64 (cbrt.f64 (atan.f64 (+.f64 N 1))) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (pow.f64 (cbrt.f64 (atan.f64 (+.f64 N 1))) 2)) (cbrt.f64 (cbrt.f64 (atan.f64 (+.f64 N 1)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (atan.f64 (+.f64 N 1)) 1/6) (pow.f64 (atan.f64 (+.f64 N 1)) 1/6))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (atan.f64 (+.f64 N 1)) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (atan.f64 (+.f64 N 1))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (E.f64) (log.f64 (cbrt.f64 (atan.f64 (+.f64 N 1)))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (atan.f64 (+.f64 N 1)) 2) 1/6)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (atan.f64 (+.f64 N 1)) 3) 1/9)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (cbrt.f64 (atan.f64 (+.f64 N 1))) 2) 1/2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (cbrt.f64 (atan.f64 (+.f64 N 1)))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (pow.f64 (cbrt.f64 (atan.f64 (+.f64 N 1))) 2)) 3/2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (atan.f64 (+.f64 N 1))) 2/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (atan.f64 (+.f64 N 1)) 1/6) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 1/3) (log.f64 (atan.f64 (+.f64 N 1))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 (pow.f64 (cbrt.f64 (log.f64 (cbrt.f64 (atan.f64 (+.f64 N 1))))) 2)) (cbrt.f64 (log.f64 (cbrt.f64 (atan.f64 (+.f64 N 1))))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 (sqrt.f64 (log.f64 (cbrt.f64 (atan.f64 (+.f64 N 1)))))) (sqrt.f64 (log.f64 (cbrt.f64 (atan.f64 (+.f64 N 1))))))))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (cbrt.f64 (atan.f64 (+.f64 N 1))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (cbrt.f64 (atan.f64 (+.f64 N 1)))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (cbrt.f64 (atan.f64 (+.f64 N 1))))))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (cbrt.f64 (atan.f64 (+.f64 N 1)))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (cbrt.f64 (atan.f64 (+.f64 N 1)))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (cbrt.f64 (atan.f64 (+.f64 N 1)))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (atan.f64 (+.f64 N 1))) 1/3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (cbrt.f64 (atan.f64 (+.f64 N 1)))) 1))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (cbrt.f64 (pow.f64 (cbrt.f64 (atan.f64 (+.f64 N 1))) 2))) 3/2))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (cbrt.f64 (cbrt.f64 (atan.f64 (+.f64 N 1))))) 3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (pow.f64 (atan.f64 (+.f64 N 1)) 1/6)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 (log.f64 (atan.f64 (+.f64 N 1))) 1) 1/3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 (log.f64 (atan.f64 (+.f64 N 1))) 1/3) 1))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 (log.f64 (cbrt.f64 (atan.f64 (+.f64 N 1)))) 1) 1)))))) |
((#(struct:change #<rule egg-rr> (2) ((x +.f64 0 (atan.f64 (+.f64 N 1)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (pow.f64 (cbrt.f64 (exp.f64 (atan.f64 (+.f64 N 1)))) 2)) (log.f64 (cbrt.f64 (exp.f64 (atan.f64 (+.f64 N 1))))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (sqrt.f64 (exp.f64 (atan.f64 (+.f64 N 1))))) (log.f64 (sqrt.f64 (exp.f64 (atan.f64 (+.f64 N 1))))))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (atan.f64 (+.f64 N 1)))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (atan.f64 (+.f64 N 1)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (atan.f64 (+.f64 N 1)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (atan.f64 (+.f64 N 1))) (pow.f64 (cbrt.f64 (atan.f64 (+.f64 N 1))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (atan.f64 (+.f64 N 1))) 2) (cbrt.f64 (atan.f64 (+.f64 N 1))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (pow.f64 (cbrt.f64 (atan.f64 (+.f64 N 1))) 2)) (*.f64 (cbrt.f64 (cbrt.f64 (atan.f64 (+.f64 N 1)))) (pow.f64 (cbrt.f64 (atan.f64 (+.f64 N 1))) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (atan.f64 (+.f64 N 1))) (sqrt.f64 (atan.f64 (+.f64 N 1))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (atan.f64 (+.f64 N 1)) 1/6) (pow.f64 (atan.f64 (+.f64 N 1)) 5/6))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (atan.f64 (+.f64 N 1)) 5/6) (pow.f64 (atan.f64 (+.f64 N 1)) 1/6))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (pow.f64 (cbrt.f64 (atan.f64 (+.f64 N 1))) 2) 1) (cbrt.f64 (atan.f64 (+.f64 N 1))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (*.f64 (cbrt.f64 (atan.f64 (+.f64 N 1))) (cbrt.f64 (cbrt.f64 (atan.f64 (+.f64 N 1))))) 2) (cbrt.f64 (cbrt.f64 (atan.f64 (+.f64 N 1)))))))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (atan.f64 (+.f64 N 1)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (atan.f64 (+.f64 N 1))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (atan.f64 (+.f64 N 1)))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (atan.f64 (+.f64 N 1)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x atan.f64 (+.f64 N 1))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (atan.f64 (+.f64 N 1))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (atan.f64 (+.f64 N 1))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (atan.f64 (+.f64 N 1))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (atan.f64 (+.f64 N 1))) 1))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 3 (log.f64 (atan.f64 (+.f64 N 1)))) 1/3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 2/3 (log.f64 (atan.f64 (+.f64 N 1)))) 3/2))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (sqrt.f64 (atan.f64 (+.f64 N 1)))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 (log.f64 (atan.f64 (+.f64 N 1))) 1) 1))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 (log.f64 (atan.f64 (+.f64 N 1))) 1/3) 3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 (log.f64 (cbrt.f64 (atan.f64 (+.f64 N 1)))) 1) 3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 (log.f64 (atan.f64 (+.f64 N 1))) 3) 1/3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 (log.f64 (cbrt.f64 (atan.f64 (+.f64 N 1)))) 3/2) 2)))))) |
| 1× | egg-herbie |
| 1292× | sqr-pow_binary64 |
| 666× | pow-sqr_binary64 |
| 625× | cube-prod_binary64 |
| 470× | fabs-mul_binary64 |
| 362× | unswap-sqr_binary64 |
Useful iterations: 1 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 18 | 372 |
| 1 | 51 | 300 |
| 2 | 76 | 300 |
| 3 | 116 | 300 |
| 4 | 173 | 300 |
| 5 | 313 | 300 |
| 6 | 746 | 300 |
| 7 | 1433 | 300 |
| 8 | 1560 | 300 |
| 9 | 1732 | 300 |
| 10 | 1921 | 300 |
| 11 | 2162 | 300 |
| 12 | 2489 | 300 |
| 13 | 2915 | 300 |
| 14 | 3423 | 300 |
| 15 | 4027 | 300 |
| 16 | 4752 | 300 |
| 17 | 5075 | 300 |
| 18 | 5357 | 300 |
| 19 | 5581 | 300 |
| 20 | 5759 | 300 |
| 21 | 5841 | 300 |
| 22 | 6784 | 300 |
| 23 | 7761 | 300 |
| 1× | node limit |
| Inputs |
|---|
(-.f64 (*.f64 (pow.f64 1 1/3) (atan.f64 (+.f64 N 1))) (atan.f64 N)) |
(-.f64 (*.f64 (pow.f64 1 1/3) (atan.f64 (+.f64 N 1))) (atan.f64 N)) |
(-.f64 (*.f64 (pow.f64 1 1/3) (atan.f64 (+.f64 N 1))) (atan.f64 N)) |
(-.f64 (*.f64 (pow.f64 1 1/3) (atan.f64 (+.f64 N 1))) (atan.f64 N)) |
(-.f64 (*.f64 (pow.f64 1 1/3) (atan.f64 (+.f64 N 1))) (atan.f64 N)) |
(-.f64 (*.f64 (pow.f64 1 1/3) (atan.f64 (+.f64 N 1))) (atan.f64 N)) |
(-.f64 (*.f64 (pow.f64 1 1/3) (atan.f64 (+.f64 N 1))) (atan.f64 N)) |
(-.f64 (*.f64 (pow.f64 1 1/3) (atan.f64 (+.f64 N 1))) (atan.f64 N)) |
(-.f64 (*.f64 (pow.f64 1 1/3) (atan.f64 (-.f64 1 (*.f64 -1 N)))) (atan.f64 N)) |
(-.f64 (*.f64 (pow.f64 1 1/3) (atan.f64 (-.f64 1 (*.f64 -1 N)))) (atan.f64 N)) |
(-.f64 (*.f64 (pow.f64 1 1/3) (atan.f64 (-.f64 1 (*.f64 -1 N)))) (atan.f64 N)) |
(-.f64 (*.f64 (pow.f64 1 1/3) (atan.f64 (-.f64 1 (*.f64 -1 N)))) (atan.f64 N)) |
(pow.f64 (atan.f64 (+.f64 N 1)) 1/3) |
(pow.f64 (atan.f64 (+.f64 N 1)) 1/3) |
(pow.f64 (atan.f64 (+.f64 N 1)) 1/3) |
(pow.f64 (atan.f64 (+.f64 N 1)) 1/3) |
(pow.f64 (atan.f64 (+.f64 N 1)) 1/3) |
(pow.f64 (atan.f64 (+.f64 N 1)) 1/3) |
(pow.f64 (atan.f64 (+.f64 N 1)) 1/3) |
(pow.f64 (atan.f64 (+.f64 N 1)) 1/3) |
(pow.f64 (atan.f64 (-.f64 1 (*.f64 -1 N))) 1/3) |
(pow.f64 (atan.f64 (-.f64 1 (*.f64 -1 N))) 1/3) |
(pow.f64 (atan.f64 (-.f64 1 (*.f64 -1 N))) 1/3) |
(pow.f64 (atan.f64 (-.f64 1 (*.f64 -1 N))) 1/3) |
(*.f64 (pow.f64 1 1/3) (atan.f64 (+.f64 N 1))) |
(*.f64 (pow.f64 1 1/3) (atan.f64 (+.f64 N 1))) |
(*.f64 (pow.f64 1 1/3) (atan.f64 (+.f64 N 1))) |
(*.f64 (pow.f64 1 1/3) (atan.f64 (+.f64 N 1))) |
(*.f64 (pow.f64 1 1/3) (atan.f64 (+.f64 N 1))) |
(*.f64 (pow.f64 1 1/3) (atan.f64 (+.f64 N 1))) |
(*.f64 (pow.f64 1 1/3) (atan.f64 (+.f64 N 1))) |
(*.f64 (pow.f64 1 1/3) (atan.f64 (+.f64 N 1))) |
(*.f64 (pow.f64 1 1/3) (atan.f64 (-.f64 1 (*.f64 -1 N)))) |
(*.f64 (pow.f64 1 1/3) (atan.f64 (-.f64 1 (*.f64 -1 N)))) |
(*.f64 (pow.f64 1 1/3) (atan.f64 (-.f64 1 (*.f64 -1 N)))) |
(*.f64 (pow.f64 1 1/3) (atan.f64 (-.f64 1 (*.f64 -1 N)))) |
| Outputs |
|---|
(-.f64 (*.f64 (pow.f64 1 1/3) (atan.f64 (+.f64 N 1))) (atan.f64 N)) |
(-.f64 (*.f64 1 (atan.f64 (+.f64 1 N))) (atan.f64 N)) |
(-.f64 (atan.f64 (+.f64 1 N)) (atan.f64 N)) |
(-.f64 (atan.f64 (-.f64 N -1)) (atan.f64 N)) |
(-.f64 (*.f64 (pow.f64 1 1/3) (atan.f64 (+.f64 N 1))) (atan.f64 N)) |
(-.f64 (*.f64 1 (atan.f64 (+.f64 1 N))) (atan.f64 N)) |
(-.f64 (atan.f64 (+.f64 1 N)) (atan.f64 N)) |
(-.f64 (atan.f64 (-.f64 N -1)) (atan.f64 N)) |
(-.f64 (*.f64 (pow.f64 1 1/3) (atan.f64 (+.f64 N 1))) (atan.f64 N)) |
(-.f64 (*.f64 1 (atan.f64 (+.f64 1 N))) (atan.f64 N)) |
(-.f64 (atan.f64 (+.f64 1 N)) (atan.f64 N)) |
(-.f64 (atan.f64 (-.f64 N -1)) (atan.f64 N)) |
(-.f64 (*.f64 (pow.f64 1 1/3) (atan.f64 (+.f64 N 1))) (atan.f64 N)) |
(-.f64 (*.f64 1 (atan.f64 (+.f64 1 N))) (atan.f64 N)) |
(-.f64 (atan.f64 (+.f64 1 N)) (atan.f64 N)) |
(-.f64 (atan.f64 (-.f64 N -1)) (atan.f64 N)) |
(-.f64 (*.f64 (pow.f64 1 1/3) (atan.f64 (+.f64 N 1))) (atan.f64 N)) |
(-.f64 (*.f64 1 (atan.f64 (+.f64 1 N))) (atan.f64 N)) |
(-.f64 (atan.f64 (+.f64 1 N)) (atan.f64 N)) |
(-.f64 (atan.f64 (-.f64 N -1)) (atan.f64 N)) |
(-.f64 (*.f64 (pow.f64 1 1/3) (atan.f64 (+.f64 N 1))) (atan.f64 N)) |
(-.f64 (*.f64 1 (atan.f64 (+.f64 1 N))) (atan.f64 N)) |
(-.f64 (atan.f64 (+.f64 1 N)) (atan.f64 N)) |
(-.f64 (atan.f64 (-.f64 N -1)) (atan.f64 N)) |
(-.f64 (*.f64 (pow.f64 1 1/3) (atan.f64 (+.f64 N 1))) (atan.f64 N)) |
(-.f64 (*.f64 1 (atan.f64 (+.f64 1 N))) (atan.f64 N)) |
(-.f64 (atan.f64 (+.f64 1 N)) (atan.f64 N)) |
(-.f64 (atan.f64 (-.f64 N -1)) (atan.f64 N)) |
(-.f64 (*.f64 (pow.f64 1 1/3) (atan.f64 (+.f64 N 1))) (atan.f64 N)) |
(-.f64 (*.f64 1 (atan.f64 (+.f64 1 N))) (atan.f64 N)) |
(-.f64 (atan.f64 (+.f64 1 N)) (atan.f64 N)) |
(-.f64 (atan.f64 (-.f64 N -1)) (atan.f64 N)) |
(-.f64 (*.f64 (pow.f64 1 1/3) (atan.f64 (-.f64 1 (*.f64 -1 N)))) (atan.f64 N)) |
(-.f64 (*.f64 1 (atan.f64 (+.f64 1 N))) (atan.f64 N)) |
(-.f64 (atan.f64 (+.f64 1 N)) (atan.f64 N)) |
(-.f64 (atan.f64 (-.f64 N -1)) (atan.f64 N)) |
(-.f64 (*.f64 (pow.f64 1 1/3) (atan.f64 (-.f64 1 (*.f64 -1 N)))) (atan.f64 N)) |
(-.f64 (*.f64 1 (atan.f64 (+.f64 1 N))) (atan.f64 N)) |
(-.f64 (atan.f64 (+.f64 1 N)) (atan.f64 N)) |
(-.f64 (atan.f64 (-.f64 N -1)) (atan.f64 N)) |
(-.f64 (*.f64 (pow.f64 1 1/3) (atan.f64 (-.f64 1 (*.f64 -1 N)))) (atan.f64 N)) |
(-.f64 (*.f64 1 (atan.f64 (+.f64 1 N))) (atan.f64 N)) |
(-.f64 (atan.f64 (+.f64 1 N)) (atan.f64 N)) |
(-.f64 (atan.f64 (-.f64 N -1)) (atan.f64 N)) |
(-.f64 (*.f64 (pow.f64 1 1/3) (atan.f64 (-.f64 1 (*.f64 -1 N)))) (atan.f64 N)) |
(-.f64 (*.f64 1 (atan.f64 (+.f64 1 N))) (atan.f64 N)) |
(-.f64 (atan.f64 (+.f64 1 N)) (atan.f64 N)) |
(-.f64 (atan.f64 (-.f64 N -1)) (atan.f64 N)) |
(pow.f64 (atan.f64 (+.f64 N 1)) 1/3) |
(cbrt.f64 (atan.f64 (+.f64 1 N))) |
(cbrt.f64 (atan.f64 (-.f64 N -1))) |
(pow.f64 (atan.f64 (+.f64 N 1)) 1/3) |
(cbrt.f64 (atan.f64 (+.f64 1 N))) |
(cbrt.f64 (atan.f64 (-.f64 N -1))) |
(pow.f64 (atan.f64 (+.f64 N 1)) 1/3) |
(cbrt.f64 (atan.f64 (+.f64 1 N))) |
(cbrt.f64 (atan.f64 (-.f64 N -1))) |
(pow.f64 (atan.f64 (+.f64 N 1)) 1/3) |
(cbrt.f64 (atan.f64 (+.f64 1 N))) |
(cbrt.f64 (atan.f64 (-.f64 N -1))) |
(pow.f64 (atan.f64 (+.f64 N 1)) 1/3) |
(cbrt.f64 (atan.f64 (+.f64 1 N))) |
(cbrt.f64 (atan.f64 (-.f64 N -1))) |
(pow.f64 (atan.f64 (+.f64 N 1)) 1/3) |
(cbrt.f64 (atan.f64 (+.f64 1 N))) |
(cbrt.f64 (atan.f64 (-.f64 N -1))) |
(pow.f64 (atan.f64 (+.f64 N 1)) 1/3) |
(cbrt.f64 (atan.f64 (+.f64 1 N))) |
(cbrt.f64 (atan.f64 (-.f64 N -1))) |
(pow.f64 (atan.f64 (+.f64 N 1)) 1/3) |
(cbrt.f64 (atan.f64 (+.f64 1 N))) |
(cbrt.f64 (atan.f64 (-.f64 N -1))) |
(pow.f64 (atan.f64 (-.f64 1 (*.f64 -1 N))) 1/3) |
(cbrt.f64 (atan.f64 (+.f64 1 N))) |
(cbrt.f64 (atan.f64 (-.f64 N -1))) |
(pow.f64 (atan.f64 (-.f64 1 (*.f64 -1 N))) 1/3) |
(cbrt.f64 (atan.f64 (+.f64 1 N))) |
(cbrt.f64 (atan.f64 (-.f64 N -1))) |
(pow.f64 (atan.f64 (-.f64 1 (*.f64 -1 N))) 1/3) |
(cbrt.f64 (atan.f64 (+.f64 1 N))) |
(cbrt.f64 (atan.f64 (-.f64 N -1))) |
(pow.f64 (atan.f64 (-.f64 1 (*.f64 -1 N))) 1/3) |
(cbrt.f64 (atan.f64 (+.f64 1 N))) |
(cbrt.f64 (atan.f64 (-.f64 N -1))) |
(*.f64 (pow.f64 1 1/3) (atan.f64 (+.f64 N 1))) |
(*.f64 1 (atan.f64 (+.f64 1 N))) |
(atan.f64 (+.f64 1 N)) |
(atan.f64 (-.f64 N -1)) |
(*.f64 (pow.f64 1 1/3) (atan.f64 (+.f64 N 1))) |
(*.f64 1 (atan.f64 (+.f64 1 N))) |
(atan.f64 (+.f64 1 N)) |
(atan.f64 (-.f64 N -1)) |
(*.f64 (pow.f64 1 1/3) (atan.f64 (+.f64 N 1))) |
(*.f64 1 (atan.f64 (+.f64 1 N))) |
(atan.f64 (+.f64 1 N)) |
(atan.f64 (-.f64 N -1)) |
(*.f64 (pow.f64 1 1/3) (atan.f64 (+.f64 N 1))) |
(*.f64 1 (atan.f64 (+.f64 1 N))) |
(atan.f64 (+.f64 1 N)) |
(atan.f64 (-.f64 N -1)) |
(*.f64 (pow.f64 1 1/3) (atan.f64 (+.f64 N 1))) |
(*.f64 1 (atan.f64 (+.f64 1 N))) |
(atan.f64 (+.f64 1 N)) |
(atan.f64 (-.f64 N -1)) |
(*.f64 (pow.f64 1 1/3) (atan.f64 (+.f64 N 1))) |
(*.f64 1 (atan.f64 (+.f64 1 N))) |
(atan.f64 (+.f64 1 N)) |
(atan.f64 (-.f64 N -1)) |
(*.f64 (pow.f64 1 1/3) (atan.f64 (+.f64 N 1))) |
(*.f64 1 (atan.f64 (+.f64 1 N))) |
(atan.f64 (+.f64 1 N)) |
(atan.f64 (-.f64 N -1)) |
(*.f64 (pow.f64 1 1/3) (atan.f64 (+.f64 N 1))) |
(*.f64 1 (atan.f64 (+.f64 1 N))) |
(atan.f64 (+.f64 1 N)) |
(atan.f64 (-.f64 N -1)) |
(*.f64 (pow.f64 1 1/3) (atan.f64 (-.f64 1 (*.f64 -1 N)))) |
(*.f64 1 (atan.f64 (+.f64 1 N))) |
(atan.f64 (+.f64 1 N)) |
(atan.f64 (-.f64 N -1)) |
(*.f64 (pow.f64 1 1/3) (atan.f64 (-.f64 1 (*.f64 -1 N)))) |
(*.f64 1 (atan.f64 (+.f64 1 N))) |
(atan.f64 (+.f64 1 N)) |
(atan.f64 (-.f64 N -1)) |
(*.f64 (pow.f64 1 1/3) (atan.f64 (-.f64 1 (*.f64 -1 N)))) |
(*.f64 1 (atan.f64 (+.f64 1 N))) |
(atan.f64 (+.f64 1 N)) |
(atan.f64 (-.f64 N -1)) |
(*.f64 (pow.f64 1 1/3) (atan.f64 (-.f64 1 (*.f64 -1 N)))) |
(*.f64 1 (atan.f64 (+.f64 1 N))) |
(atan.f64 (+.f64 1 N)) |
(atan.f64 (-.f64 N -1)) |
Found 2 expressions with local error:
| New | Error | Program |
|---|---|---|
| ✓ | 0.0b | (atan2.f64 (+.f64 N (-.f64 1 N)) (+.f64 1 (*.f64 N (+.f64 N 1)))) |
| ✓ | 3.4b | (+.f64 N (-.f64 1 N)) |
Compiled 39 to 26 computations (33.3% saved)
6 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 20.0ms | N | @ | inf | (atan2.f64 (+.f64 N (-.f64 1 N)) (+.f64 1 (*.f64 N (+.f64 N 1)))) |
| 0.0ms | N | @ | -inf | (atan2.f64 (+.f64 N (-.f64 1 N)) (+.f64 1 (*.f64 N (+.f64 N 1)))) |
| 0.0ms | N | @ | 0 | (+.f64 N (-.f64 1 N)) |
| 0.0ms | N | @ | 0 | (atan2.f64 (+.f64 N (-.f64 1 N)) (+.f64 1 (*.f64 N (+.f64 N 1)))) |
| 0.0ms | N | @ | -inf | (+.f64 N (-.f64 1 N)) |
| 1× | batch-egg-rewrite |
| 616× | fma-def_binary64 |
| 473× | log-prod_binary64 |
| 352× | pow-prod-down_binary64 |
| 297× | fma-neg_binary64 |
| 270× | pow2_binary64 |
Useful iterations: 1 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 9 | 26 |
| 1 | 210 | 24 |
| 2 | 3076 | 24 |
| 1× | node limit |
| Inputs |
|---|
(+.f64 N (-.f64 1 N)) |
(atan2.f64 (+.f64 N (-.f64 1 N)) (+.f64 1 (*.f64 N (+.f64 N 1)))) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x -.f64 1 (-.f64 N N))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 N 1) N)))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (+.f64 N (-.f64 1 N)))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (/.f64 (*.f64 N N) (+.f64 (+.f64 N -1) N)) (/.f64 (pow.f64 (-.f64 1 N) 2) (+.f64 (+.f64 N -1) N)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (+.f64 N (-.f64 1 N)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 N (-.f64 1 N)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (+.f64 N (-.f64 1 N))) (pow.f64 (cbrt.f64 (+.f64 N (-.f64 1 N))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (+.f64 N (-.f64 1 N))) 2) (cbrt.f64 (+.f64 N (-.f64 1 N))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (+.f64 N (-.f64 1 N))) (sqrt.f64 (+.f64 N (-.f64 1 N))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 (pow.f64 N 3) (pow.f64 (-.f64 1 N) 3)) (/.f64 1 (fma.f64 (-.f64 1 N) (-.f64 (-.f64 1 N) N) (*.f64 N N))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (-.f64 (*.f64 N N) (pow.f64 (-.f64 1 N) 2)) (/.f64 1 (+.f64 (+.f64 N -1) N)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 (sqrt.f64 (+.f64 N 1)) (sqrt.f64 N)) (-.f64 (sqrt.f64 (+.f64 N 1)) (sqrt.f64 N)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (fma.f64 (-.f64 1 N) (-.f64 (-.f64 1 N) N) (*.f64 N N)) (+.f64 (pow.f64 N 3) (pow.f64 (-.f64 1 N) 3))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (+.f64 (+.f64 N -1) N) (-.f64 (*.f64 N N) (pow.f64 (-.f64 1 N) 2))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 N 3) (pow.f64 (-.f64 1 N) 3)) (fma.f64 (-.f64 1 N) (-.f64 (-.f64 1 N) N) (*.f64 N N)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 N 3) (pow.f64 (-.f64 1 N) 3)) (+.f64 (pow.f64 (-.f64 1 N) 2) (-.f64 (*.f64 N N) (*.f64 N (-.f64 1 N)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (*.f64 N N) (pow.f64 (-.f64 1 N) 2)) (+.f64 (+.f64 N -1) N))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (+.f64 (pow.f64 N 3) (pow.f64 (-.f64 1 N) 3))) (neg.f64 (fma.f64 (-.f64 1 N) (-.f64 (-.f64 1 N) N) (*.f64 N N))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (-.f64 (*.f64 N N) (pow.f64 (-.f64 1 N) 2))) (neg.f64 (+.f64 (+.f64 N -1) N)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (pow.f64 (+.f64 N 1) 3) (pow.f64 N 3)) (+.f64 (pow.f64 (+.f64 N 1) 2) (fma.f64 N N (fma.f64 N N N))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (pow.f64 (+.f64 N 1) 2) (*.f64 N N)) (+.f64 (+.f64 N 1) N))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (pow.f64 (-.f64 1 N) 2) (*.f64 N N)) (-.f64 (-.f64 1 N) N))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (+.f64 N (-.f64 1 N)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (+.f64 N (-.f64 1 N)) 2) 1/2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (+.f64 N (-.f64 1 N)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (+.f64 N (-.f64 1 N))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (+.f64 N (-.f64 1 N))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 (fma.f64 (-.f64 1 N) (-.f64 (-.f64 1 N) N) (*.f64 N N)) (+.f64 (pow.f64 N 3) (pow.f64 (-.f64 1 N) 3))) -1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 (+.f64 (+.f64 N -1) N) (-.f64 (*.f64 N N) (pow.f64 (-.f64 1 N) 2))) -1)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (+.f64 N (-.f64 1 N)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (+.f64 N (-.f64 1 N))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (+.f64 N (-.f64 1 N)))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (/.f64 (+.f64 1 (expm1.f64 (+.f64 N 1))) (exp.f64 N)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (/.f64 (exp.f64 (+.f64 N 1)) (+.f64 1 (expm1.f64 N))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (/.f64 (+.f64 1 (expm1.f64 (+.f64 N 1))) (+.f64 1 (expm1.f64 N))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (+.f64 1 (expm1.f64 N)) (exp.f64 (-.f64 1 N))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (exp.f64 N) (+.f64 1 (expm1.f64 (-.f64 1 N)))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (+.f64 1 (expm1.f64 N)) (+.f64 1 (expm1.f64 (-.f64 1 N)))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (+.f64 1 (expm1.f64 (-.f64 1 N))) (exp.f64 N)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (exp.f64 (-.f64 1 N)) (+.f64 1 (expm1.f64 N))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (+.f64 1 (expm1.f64 (-.f64 1 N))) (+.f64 1 (expm1.f64 N))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (exp.f64 (+.f64 N 1)) (exp.f64 (neg.f64 N))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (+.f64 1 (expm1.f64 (+.f64 N 1))) (exp.f64 (neg.f64 N))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (+.f64 1 (expm1.f64 (+.f64 N 1))) (/.f64 1 (exp.f64 N))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (+.f64 N (-.f64 1 N)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (+.f64 N (-.f64 1 N))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (+.f64 N (-.f64 1 N))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log1p.f64 (-.f64 N N)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log1p.f64 (-.f64 N N)) 1))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 3 (log1p.f64 (-.f64 N N))) 1/3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 1/3 (log1p.f64 (-.f64 N N))) 3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 1/2 (log1p.f64 (-.f64 N N))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 N 1 (-.f64 1 N))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 N (-.f64 1 N))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (-.f64 1 N) N)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (+.f64 N (-.f64 1 N)) (fma.f64 (neg.f64 N) 1 N))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (+.f64 N (-.f64 1 N)) (fma.f64 (neg.f64 (cbrt.f64 N)) (cbrt.f64 (*.f64 N N)) N))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (+.f64 N (-.f64 1 N)) (fma.f64 -1 N N))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (+.f64 N 1) (neg.f64 N))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (-.f64 1 N) 1 N)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (+.f64 N (-.f64 1 N)) 1 (fma.f64 (neg.f64 N) 1 N))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (+.f64 N (-.f64 1 N)) 1 (fma.f64 (neg.f64 (cbrt.f64 N)) (cbrt.f64 (*.f64 N N)) N))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (+.f64 N (-.f64 1 N)) 1 (fma.f64 -1 N N))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (+.f64 N 1) 1 (neg.f64 N))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (+.f64 N (-.f64 1 N))) (pow.f64 (cbrt.f64 (+.f64 N (-.f64 1 N))) 2) (fma.f64 (neg.f64 N) 1 N))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (+.f64 N (-.f64 1 N))) (pow.f64 (cbrt.f64 (+.f64 N (-.f64 1 N))) 2) (fma.f64 (neg.f64 (cbrt.f64 N)) (cbrt.f64 (*.f64 N N)) N))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (+.f64 N (-.f64 1 N))) (pow.f64 (cbrt.f64 (+.f64 N (-.f64 1 N))) 2) (fma.f64 -1 N N))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 (+.f64 N (-.f64 1 N))) 2) (cbrt.f64 (+.f64 N (-.f64 1 N))) (fma.f64 (neg.f64 N) 1 N))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 (+.f64 N (-.f64 1 N))) 2) (cbrt.f64 (+.f64 N (-.f64 1 N))) (fma.f64 (neg.f64 (cbrt.f64 N)) (cbrt.f64 (*.f64 N N)) N))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 (+.f64 N (-.f64 1 N))) 2) (cbrt.f64 (+.f64 N (-.f64 1 N))) (fma.f64 -1 N N))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 N) (cbrt.f64 (*.f64 N N)) (-.f64 1 N))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (*.f64 N N)) (cbrt.f64 N) (-.f64 1 N))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (*.f64 N N)) (*.f64 (cbrt.f64 N) 1) (-.f64 1 N))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (+.f64 N 1)) (pow.f64 (cbrt.f64 (+.f64 N 1)) 2) (neg.f64 N))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 (+.f64 N 1)) 2) (cbrt.f64 (+.f64 N 1)) (neg.f64 N))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (-.f64 1 N)) (pow.f64 (cbrt.f64 (-.f64 1 N)) 2) N)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 (-.f64 1 N)) 2) (cbrt.f64 (-.f64 1 N)) N)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 (+.f64 N (-.f64 1 N))) (sqrt.f64 (+.f64 N (-.f64 1 N))) (fma.f64 (neg.f64 N) 1 N))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 (+.f64 N (-.f64 1 N))) (sqrt.f64 (+.f64 N (-.f64 1 N))) (fma.f64 (neg.f64 (cbrt.f64 N)) (cbrt.f64 (*.f64 N N)) N))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 (+.f64 N (-.f64 1 N))) (sqrt.f64 (+.f64 N (-.f64 1 N))) (fma.f64 -1 N N))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 N) (sqrt.f64 N) (-.f64 1 N))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 N) (*.f64 (sqrt.f64 N) 1) (-.f64 1 N))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 (+.f64 N 1)) (sqrt.f64 (+.f64 N 1)) (neg.f64 N))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 (-.f64 1 N)) (sqrt.f64 (-.f64 1 N)) N)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (-.f64 1 (pow.f64 N 3)) (/.f64 1 (+.f64 1 (fma.f64 N N N))) N)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (+.f64 (pow.f64 N 3) (pow.f64 (-.f64 1 N) 3)) (/.f64 1 (fma.f64 (-.f64 1 N) (-.f64 (-.f64 1 N) N) (*.f64 N N))) (fma.f64 (neg.f64 N) 1 N))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (+.f64 (pow.f64 N 3) (pow.f64 (-.f64 1 N) 3)) (/.f64 1 (fma.f64 (-.f64 1 N) (-.f64 (-.f64 1 N) N) (*.f64 N N))) (fma.f64 (neg.f64 (cbrt.f64 N)) (cbrt.f64 (*.f64 N N)) N))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (+.f64 (pow.f64 N 3) (pow.f64 (-.f64 1 N) 3)) (/.f64 1 (fma.f64 (-.f64 1 N) (-.f64 (-.f64 1 N) N) (*.f64 N N))) (fma.f64 -1 N N))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (+.f64 1 (pow.f64 N 3)) (/.f64 1 (-.f64 (fma.f64 N N 1) N)) (neg.f64 N))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (-.f64 1 (*.f64 N N)) (/.f64 1 (+.f64 N 1)) N)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (-.f64 (*.f64 N N) (pow.f64 (-.f64 1 N) 2)) (/.f64 1 (+.f64 (+.f64 N -1) N)) (fma.f64 (neg.f64 N) 1 N))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (-.f64 (*.f64 N N) (pow.f64 (-.f64 1 N) 2)) (/.f64 1 (+.f64 (+.f64 N -1) N)) (fma.f64 (neg.f64 (cbrt.f64 N)) (cbrt.f64 (*.f64 N N)) N))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (-.f64 (*.f64 N N) (pow.f64 (-.f64 1 N) 2)) (/.f64 1 (+.f64 (+.f64 N -1) N)) (fma.f64 -1 N N))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (fma.f64 N N -1) (/.f64 1 (+.f64 N -1)) (neg.f64 N))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (+.f64 (sqrt.f64 (+.f64 N 1)) (sqrt.f64 N)) (-.f64 (sqrt.f64 (+.f64 N 1)) (sqrt.f64 N)) (fma.f64 (neg.f64 N) 1 N))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (+.f64 (sqrt.f64 (+.f64 N 1)) (sqrt.f64 N)) (-.f64 (sqrt.f64 (+.f64 N 1)) (sqrt.f64 N)) (fma.f64 (neg.f64 (cbrt.f64 N)) (cbrt.f64 (*.f64 N N)) N))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (+.f64 (sqrt.f64 (+.f64 N 1)) (sqrt.f64 N)) (-.f64 (sqrt.f64 (+.f64 N 1)) (sqrt.f64 N)) (fma.f64 -1 N N))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (/.f64 (-.f64 1 (pow.f64 N 3)) (+.f64 1 (pow.f64 (fma.f64 N N N) 3))) (fma.f64 (fma.f64 N N N) (-.f64 (fma.f64 N N N) 1) 1) N)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (/.f64 (-.f64 1 (pow.f64 N 3)) (-.f64 1 (pow.f64 (fma.f64 N N N) 2))) (-.f64 1 (fma.f64 N N N)) N)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (/.f64 (-.f64 1 (*.f64 N N)) (+.f64 1 (pow.f64 N 3))) (-.f64 (fma.f64 N N 1) N) N)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (/.f64 (-.f64 1 (*.f64 N N)) (fma.f64 N N -1)) (+.f64 N -1) N))))) |
((#(struct:change #<rule egg-rr> (2) ((x +.f64 0 (atan2.f64 (+.f64 N (-.f64 1 N)) (+.f64 1 (fma.f64 N N N))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (pow.f64 (cbrt.f64 (exp.f64 (atan2.f64 (+.f64 N (-.f64 1 N)) (+.f64 1 (fma.f64 N N N))))) 2)) (log.f64 (cbrt.f64 (exp.f64 (atan2.f64 (+.f64 N (-.f64 1 N)) (+.f64 1 (fma.f64 N N N)))))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (sqrt.f64 (exp.f64 (atan2.f64 (+.f64 N (-.f64 1 N)) (+.f64 1 (fma.f64 N N N)))))) (log.f64 (sqrt.f64 (exp.f64 (atan2.f64 (+.f64 N (-.f64 1 N)) (+.f64 1 (fma.f64 N N N)))))))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (atan2.f64 (+.f64 N (-.f64 1 N)) (+.f64 1 (fma.f64 N N N))))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (atan2.f64 (+.f64 N (-.f64 1 N)) (+.f64 1 (fma.f64 N N N))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (atan2.f64 (+.f64 N (-.f64 1 N)) (+.f64 1 (fma.f64 N N N))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (atan2.f64 (+.f64 N (-.f64 1 N)) (+.f64 1 (fma.f64 N N N)))) (pow.f64 (cbrt.f64 (atan2.f64 (+.f64 N (-.f64 1 N)) (+.f64 1 (fma.f64 N N N)))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (atan2.f64 (+.f64 N (-.f64 1 N)) (+.f64 1 (fma.f64 N N N)))) 2) (cbrt.f64 (atan2.f64 (+.f64 N (-.f64 1 N)) (+.f64 1 (fma.f64 N N N)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (atan2.f64 (+.f64 N (-.f64 1 N)) (+.f64 1 (fma.f64 N N N)))) (sqrt.f64 (atan2.f64 (+.f64 N (-.f64 1 N)) (+.f64 1 (fma.f64 N N N)))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (atan2.f64 (+.f64 N (-.f64 1 N)) (+.f64 1 (fma.f64 N N N))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (atan2.f64 (+.f64 N (-.f64 1 N)) (+.f64 1 (fma.f64 N N N))) 2) 1/2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (atan2.f64 (+.f64 N (-.f64 1 N)) (+.f64 1 (fma.f64 N N N))) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (atan2.f64 (+.f64 N (-.f64 1 N)) (+.f64 1 (fma.f64 N N N)))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (atan2.f64 (+.f64 N (-.f64 1 N)) (+.f64 1 (fma.f64 N N N)))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (atan2.f64 (+.f64 N (-.f64 1 N)) (+.f64 1 (fma.f64 N N N))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (atan2.f64 (+.f64 N (-.f64 1 N)) (+.f64 1 (fma.f64 N N N)))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (atan2.f64 (+.f64 N (-.f64 1 N)) (+.f64 1 (fma.f64 N N N))))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (atan2.f64 (+.f64 N (-.f64 1 N)) (+.f64 1 (fma.f64 N N N))) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (atan2.f64 (+.f64 N (-.f64 1 N)) (+.f64 1 (fma.f64 N N N)))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (atan2.f64 (+.f64 N (-.f64 1 N)) (+.f64 1 (fma.f64 N N N)))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (atan2.f64 (+.f64 N (-.f64 1 N)) (+.f64 1 (fma.f64 N N N)))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (atan2.f64 (+.f64 N (-.f64 1 N)) (+.f64 1 (fma.f64 N N N)))) 1))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 3 (log.f64 (atan2.f64 (+.f64 N (-.f64 1 N)) (+.f64 1 (fma.f64 N N N))))) 1/3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (cbrt.f64 (atan2.f64 (+.f64 N (-.f64 1 N)) (+.f64 1 (fma.f64 N N N))))) 3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (sqrt.f64 (atan2.f64 (+.f64 N (-.f64 1 N)) (+.f64 1 (fma.f64 N N N))))) 2)))))) |
| 1× | egg-herbie |
| 968× | fma-neg_binary64 |
| 532× | unswap-sqr_binary64 |
| 444× | distribute-rgt-neg-in_binary64 |
| 354× | cancel-sign-sub-inv_binary64 |
| 314× | fma-def_binary64 |
Useful iterations: 1 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 18 | 168 |
| 1 | 42 | 144 |
| 2 | 66 | 144 |
| 3 | 162 | 144 |
| 4 | 578 | 144 |
| 5 | 1634 | 144 |
| 6 | 3610 | 144 |
| 7 | 5642 | 144 |
| 8 | 7321 | 144 |
| 1× | node limit |
| Inputs |
|---|
1 |
1 |
1 |
1 |
1 |
1 |
1 |
1 |
1 |
1 |
1 |
1 |
(atan2.f64 1 (+.f64 1 (*.f64 N (+.f64 N 1)))) |
(atan2.f64 1 (+.f64 1 (*.f64 N (+.f64 N 1)))) |
(atan2.f64 1 (+.f64 1 (*.f64 N (+.f64 N 1)))) |
(atan2.f64 1 (+.f64 1 (*.f64 N (+.f64 N 1)))) |
(atan2.f64 1 (+.f64 N (+.f64 1 (pow.f64 N 2)))) |
(atan2.f64 1 (+.f64 N (+.f64 1 (pow.f64 N 2)))) |
(atan2.f64 1 (+.f64 N (+.f64 1 (pow.f64 N 2)))) |
(atan2.f64 1 (+.f64 N (+.f64 1 (pow.f64 N 2)))) |
(atan2.f64 1 (+.f64 1 (*.f64 N (-.f64 1 (*.f64 -1 N))))) |
(atan2.f64 1 (+.f64 1 (*.f64 N (-.f64 1 (*.f64 -1 N))))) |
(atan2.f64 1 (+.f64 1 (*.f64 N (-.f64 1 (*.f64 -1 N))))) |
(atan2.f64 1 (+.f64 1 (*.f64 N (-.f64 1 (*.f64 -1 N))))) |
| Outputs |
|---|
1 |
1 |
1 |
1 |
1 |
1 |
1 |
1 |
1 |
1 |
1 |
1 |
(atan2.f64 1 (+.f64 1 (*.f64 N (+.f64 N 1)))) |
(atan2.f64 1 (+.f64 1 (*.f64 N (+.f64 1 N)))) |
(atan2.f64 1 (+.f64 N (fma.f64 N N 1))) |
(atan2.f64 1 (fma.f64 N N (+.f64 1 N))) |
(atan2.f64 1 (+.f64 1 (*.f64 N (+.f64 N 1)))) |
(atan2.f64 1 (+.f64 1 (*.f64 N (+.f64 1 N)))) |
(atan2.f64 1 (+.f64 N (fma.f64 N N 1))) |
(atan2.f64 1 (fma.f64 N N (+.f64 1 N))) |
(atan2.f64 1 (+.f64 1 (*.f64 N (+.f64 N 1)))) |
(atan2.f64 1 (+.f64 1 (*.f64 N (+.f64 1 N)))) |
(atan2.f64 1 (+.f64 N (fma.f64 N N 1))) |
(atan2.f64 1 (fma.f64 N N (+.f64 1 N))) |
(atan2.f64 1 (+.f64 1 (*.f64 N (+.f64 N 1)))) |
(atan2.f64 1 (+.f64 1 (*.f64 N (+.f64 1 N)))) |
(atan2.f64 1 (+.f64 N (fma.f64 N N 1))) |
(atan2.f64 1 (fma.f64 N N (+.f64 1 N))) |
(atan2.f64 1 (+.f64 N (+.f64 1 (pow.f64 N 2)))) |
(atan2.f64 1 (+.f64 1 (*.f64 N (+.f64 1 N)))) |
(atan2.f64 1 (+.f64 N (fma.f64 N N 1))) |
(atan2.f64 1 (fma.f64 N N (+.f64 1 N))) |
(atan2.f64 1 (+.f64 N (+.f64 1 (pow.f64 N 2)))) |
(atan2.f64 1 (+.f64 1 (*.f64 N (+.f64 1 N)))) |
(atan2.f64 1 (+.f64 N (fma.f64 N N 1))) |
(atan2.f64 1 (fma.f64 N N (+.f64 1 N))) |
(atan2.f64 1 (+.f64 N (+.f64 1 (pow.f64 N 2)))) |
(atan2.f64 1 (+.f64 1 (*.f64 N (+.f64 1 N)))) |
(atan2.f64 1 (+.f64 N (fma.f64 N N 1))) |
(atan2.f64 1 (fma.f64 N N (+.f64 1 N))) |
(atan2.f64 1 (+.f64 N (+.f64 1 (pow.f64 N 2)))) |
(atan2.f64 1 (+.f64 1 (*.f64 N (+.f64 1 N)))) |
(atan2.f64 1 (+.f64 N (fma.f64 N N 1))) |
(atan2.f64 1 (fma.f64 N N (+.f64 1 N))) |
(atan2.f64 1 (+.f64 1 (*.f64 N (-.f64 1 (*.f64 -1 N))))) |
(atan2.f64 1 (+.f64 1 (*.f64 N (+.f64 1 N)))) |
(atan2.f64 1 (+.f64 N (fma.f64 N N 1))) |
(atan2.f64 1 (fma.f64 N N (+.f64 1 N))) |
(atan2.f64 1 (+.f64 1 (*.f64 N (-.f64 1 (*.f64 -1 N))))) |
(atan2.f64 1 (+.f64 1 (*.f64 N (+.f64 1 N)))) |
(atan2.f64 1 (+.f64 N (fma.f64 N N 1))) |
(atan2.f64 1 (fma.f64 N N (+.f64 1 N))) |
(atan2.f64 1 (+.f64 1 (*.f64 N (-.f64 1 (*.f64 -1 N))))) |
(atan2.f64 1 (+.f64 1 (*.f64 N (+.f64 1 N)))) |
(atan2.f64 1 (+.f64 N (fma.f64 N N 1))) |
(atan2.f64 1 (fma.f64 N N (+.f64 1 N))) |
(atan2.f64 1 (+.f64 1 (*.f64 N (-.f64 1 (*.f64 -1 N))))) |
(atan2.f64 1 (+.f64 1 (*.f64 N (+.f64 1 N)))) |
(atan2.f64 1 (+.f64 N (fma.f64 N N 1))) |
(atan2.f64 1 (fma.f64 N N (+.f64 1 N))) |
Compiled 8855 to 5909 computations (33.3% saved)
4 alts after pruning (3 fresh and 1 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 514 | 3 | 517 |
| Fresh | 0 | 0 | 0 |
| Picked | 1 | 0 | 1 |
| Done | 2 | 1 | 3 |
| Total | 517 | 4 | 521 |
| Status | Error | Program |
|---|---|---|
| ▶ | 0.1b | (atan2.f64 1 (+.f64 1 (*.f64 N (+.f64 N 1)))) |
| ▶ | 14.9b | (cbrt.f64 (pow.f64 (atan2.f64 (+.f64 N (-.f64 1 N)) (+.f64 1 (fma.f64 N N N))) 3)) |
| ▶ | 15.4b | (pow.f64 (sqrt.f64 (atan2.f64 (+.f64 N (-.f64 1 N)) (+.f64 1 (fma.f64 N N N)))) 2) |
| ✓ | 16.2b | (-.f64 (atan.f64 (+.f64 N 1)) (atan.f64 N)) |
Compiled 50 to 36 computations (28% saved)
Found 4 expressions with local error:
| New | Error | Program |
|---|---|---|
| ✓ | 0.0b | (atan2.f64 (+.f64 N (-.f64 1 N)) (+.f64 1 (fma.f64 N N N))) |
| ✓ | 0.1b | (cbrt.f64 (pow.f64 (atan2.f64 (+.f64 N (-.f64 1 N)) (+.f64 1 (fma.f64 N N N))) 3)) |
| ✓ | 0.5b | (pow.f64 (atan2.f64 (+.f64 N (-.f64 1 N)) (+.f64 1 (fma.f64 N N N))) 3) |
| 3.4b | (+.f64 N (-.f64 1 N)) |
Compiled 63 to 34 computations (46% saved)
9 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 3.0ms | N | @ | -inf | (cbrt.f64 (pow.f64 (atan2.f64 (+.f64 N (-.f64 1 N)) (+.f64 1 (fma.f64 N N N))) 3)) |
| 1.0ms | N | @ | inf | (pow.f64 (atan2.f64 (+.f64 N (-.f64 1 N)) (+.f64 1 (fma.f64 N N N))) 3) |
| 1.0ms | N | @ | 0 | (pow.f64 (atan2.f64 (+.f64 N (-.f64 1 N)) (+.f64 1 (fma.f64 N N N))) 3) |
| 1.0ms | N | @ | -inf | (pow.f64 (atan2.f64 (+.f64 N (-.f64 1 N)) (+.f64 1 (fma.f64 N N N))) 3) |
| 0.0ms | N | @ | 0 | (atan2.f64 (+.f64 N (-.f64 1 N)) (+.f64 1 (fma.f64 N N N))) |
| 1× | batch-egg-rewrite |
| 833× | prod-diff_binary64 |
| 461× | log-prod_binary64 |
| 403× | fma-def_binary64 |
| 279× | pow2_binary64 |
| 194× | fma-neg_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 11 | 54 |
| 1 | 246 | 54 |
| 2 | 3045 | 54 |
| 1× | node limit |
| Inputs |
|---|
(pow.f64 (atan2.f64 (+.f64 N (-.f64 1 N)) (+.f64 1 (fma.f64 N N N))) 3) |
(cbrt.f64 (pow.f64 (atan2.f64 (+.f64 N (-.f64 1 N)) (+.f64 1 (fma.f64 N N N))) 3)) |
(atan2.f64 (+.f64 N (-.f64 1 N)) (+.f64 1 (fma.f64 N N N))) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x +.f64 0 (pow.f64 (atan2.f64 (+.f64 N (-.f64 1 N)) (+.f64 1 (fma.f64 N N N))) 3))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (pow.f64 (cbrt.f64 (exp.f64 (pow.f64 (atan2.f64 (+.f64 N (-.f64 1 N)) (+.f64 1 (fma.f64 N N N))) 3))) 2)) (log.f64 (cbrt.f64 (exp.f64 (pow.f64 (atan2.f64 (+.f64 N (-.f64 1 N)) (+.f64 1 (fma.f64 N N N))) 3)))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (sqrt.f64 (exp.f64 (pow.f64 (atan2.f64 (+.f64 N (-.f64 1 N)) (+.f64 1 (fma.f64 N N N))) 3)))) (log.f64 (sqrt.f64 (exp.f64 (pow.f64 (atan2.f64 (+.f64 N (-.f64 1 N)) (+.f64 1 (fma.f64 N N N))) 3)))))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (pow.f64 (atan2.f64 (+.f64 N (-.f64 1 N)) (+.f64 1 (fma.f64 N N N))) 3))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (pow.f64 (atan2.f64 (+.f64 N (-.f64 1 N)) (+.f64 1 (fma.f64 N N N))) 3))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (atan2.f64 (+.f64 N (-.f64 1 N)) (+.f64 1 (fma.f64 N N N))) (pow.f64 (atan2.f64 (+.f64 N (-.f64 1 N)) (+.f64 1 (fma.f64 N N N))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (atan2.f64 (+.f64 N (-.f64 1 N)) (+.f64 1 (fma.f64 N N N))) 3) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (atan2.f64 (+.f64 N (-.f64 1 N)) (+.f64 1 (fma.f64 N N N))) 2) (atan2.f64 (+.f64 N (-.f64 1 N)) (+.f64 1 (fma.f64 N N N))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (atan2.f64 (+.f64 N (-.f64 1 N)) (+.f64 1 (fma.f64 N N N)))) 2) (*.f64 (cbrt.f64 (atan2.f64 (+.f64 N (-.f64 1 N)) (+.f64 1 (fma.f64 N N N)))) (pow.f64 (atan2.f64 (+.f64 N (-.f64 1 N)) (+.f64 1 (fma.f64 N N N))) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (atan2.f64 (+.f64 N (-.f64 1 N)) (+.f64 1 (fma.f64 N N N)))) (*.f64 (sqrt.f64 (atan2.f64 (+.f64 N (-.f64 1 N)) (+.f64 1 (fma.f64 N N N)))) (pow.f64 (atan2.f64 (+.f64 N (-.f64 1 N)) (+.f64 1 (fma.f64 N N N))) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (atan2.f64 (+.f64 N (-.f64 1 N)) (+.f64 1 (fma.f64 N N N))) 3/2) (pow.f64 (atan2.f64 (+.f64 N (-.f64 1 N)) (+.f64 1 (fma.f64 N N N))) 3/2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (pow.f64 (atan2.f64 (+.f64 N (-.f64 1 N)) (+.f64 1 (fma.f64 N N N))) 2) 1) (atan2.f64 (+.f64 N (-.f64 1 N)) (+.f64 1 (fma.f64 N N N))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (pow.f64 (atan2.f64 (+.f64 N (-.f64 1 N)) (+.f64 1 (fma.f64 N N N))) 2) (pow.f64 (cbrt.f64 (atan2.f64 (+.f64 N (-.f64 1 N)) (+.f64 1 (fma.f64 N N N)))) 2)) (cbrt.f64 (atan2.f64 (+.f64 N (-.f64 1 N)) (+.f64 1 (fma.f64 N N N)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (pow.f64 (atan2.f64 (+.f64 N (-.f64 1 N)) (+.f64 1 (fma.f64 N N N))) 2) (sqrt.f64 (atan2.f64 (+.f64 N (-.f64 1 N)) (+.f64 1 (fma.f64 N N N))))) (sqrt.f64 (atan2.f64 (+.f64 N (-.f64 1 N)) (+.f64 1 (fma.f64 N N N)))))))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (atan2.f64 (+.f64 N (-.f64 1 N)) (+.f64 1 (fma.f64 N N N))) 6))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (pow.f64 (atan2.f64 (+.f64 N (-.f64 1 N)) (+.f64 1 (fma.f64 N N N))) 3)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (pow.f64 (atan2.f64 (+.f64 N (-.f64 1 N)) (+.f64 1 (fma.f64 N N N))) 3))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (pow.f64 (atan2.f64 (+.f64 N (-.f64 1 N)) (+.f64 1 (fma.f64 N N N))) 3) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (pow.f64 (atan2.f64 (+.f64 N (-.f64 1 N)) (+.f64 1 (fma.f64 N N N))) 3)))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (pow.f64 (atan2.f64 (+.f64 N (-.f64 1 N)) (+.f64 1 (fma.f64 N N N))) 3)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 3 (log.f64 (atan2.f64 (+.f64 N (-.f64 1 N)) (+.f64 1 (fma.f64 N N N))))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 3 (log.f64 (atan2.f64 (+.f64 N (-.f64 1 N)) (+.f64 1 (fma.f64 N N N))))) 1)))))) |
((#(struct:change #<rule egg-rr> (2) ((x +.f64 0 (atan2.f64 (+.f64 N (-.f64 1 N)) (+.f64 1 (fma.f64 N N N))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (pow.f64 (cbrt.f64 (exp.f64 (atan2.f64 (+.f64 N (-.f64 1 N)) (+.f64 1 (fma.f64 N N N))))) 2)) (log.f64 (cbrt.f64 (exp.f64 (atan2.f64 (+.f64 N (-.f64 1 N)) (+.f64 1 (fma.f64 N N N)))))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (sqrt.f64 (exp.f64 (atan2.f64 (+.f64 N (-.f64 1 N)) (+.f64 1 (fma.f64 N N N)))))) (log.f64 (sqrt.f64 (exp.f64 (atan2.f64 (+.f64 N (-.f64 1 N)) (+.f64 1 (fma.f64 N N N)))))))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (atan2.f64 (+.f64 N (-.f64 1 N)) (+.f64 1 (fma.f64 N N N))))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (atan2.f64 (+.f64 N (-.f64 1 N)) (+.f64 1 (fma.f64 N N N))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (atan2.f64 (+.f64 N (-.f64 1 N)) (+.f64 1 (fma.f64 N N N))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (atan2.f64 (+.f64 N (-.f64 1 N)) (+.f64 1 (fma.f64 N N N)))) (pow.f64 (cbrt.f64 (atan2.f64 (+.f64 N (-.f64 1 N)) (+.f64 1 (fma.f64 N N N)))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (atan2.f64 (+.f64 N (-.f64 1 N)) (+.f64 1 (fma.f64 N N N)))) 2) (cbrt.f64 (atan2.f64 (+.f64 N (-.f64 1 N)) (+.f64 1 (fma.f64 N N N)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (atan2.f64 (+.f64 N (-.f64 1 N)) (+.f64 1 (fma.f64 N N N)))) (sqrt.f64 (atan2.f64 (+.f64 N (-.f64 1 N)) (+.f64 1 (fma.f64 N N N)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 1 1/3) (atan2.f64 (+.f64 N (-.f64 1 N)) (+.f64 1 (fma.f64 N N N))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (atan2.f64 (+.f64 N (-.f64 1 N)) (+.f64 1 (fma.f64 N N N))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (atan2.f64 (+.f64 N (-.f64 1 N)) (+.f64 1 (fma.f64 N N N))) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (atan2.f64 (+.f64 N (-.f64 1 N)) (+.f64 1 (fma.f64 N N N))) 2) 1/2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (atan2.f64 (+.f64 N (-.f64 1 N)) (+.f64 1 (fma.f64 N N N)))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (atan2.f64 (+.f64 N (-.f64 1 N)) (+.f64 1 (fma.f64 N N N)))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (atan2.f64 (+.f64 N (-.f64 1 N)) (+.f64 1 (fma.f64 N N N))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (atan2.f64 (+.f64 N (-.f64 1 N)) (+.f64 1 (fma.f64 N N N)))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (atan2.f64 (+.f64 N (-.f64 1 N)) (+.f64 1 (fma.f64 N N N))))))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (atan2.f64 (+.f64 N (-.f64 1 N)) (+.f64 1 (fma.f64 N N N)))))))) (#(struct:change #<rule egg-rr> (2) ((x atan2.f64 (+.f64 N (-.f64 1 N)) (+.f64 1 (fma.f64 N N N)))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (atan2.f64 (+.f64 N (-.f64 1 N)) (+.f64 1 (fma.f64 N N N)))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (atan2.f64 (+.f64 N (-.f64 1 N)) (+.f64 1 (fma.f64 N N N)))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (atan2.f64 (+.f64 N (-.f64 1 N)) (+.f64 1 (fma.f64 N N N)))) 1))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 3 (log.f64 (atan2.f64 (+.f64 N (-.f64 1 N)) (+.f64 1 (fma.f64 N N N))))) 1/3)))))) |
((#(struct:change #<rule egg-rr> (2) ((x +.f64 0 (atan2.f64 (+.f64 N (-.f64 1 N)) (+.f64 1 (fma.f64 N N N))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (pow.f64 (cbrt.f64 (exp.f64 (atan2.f64 (+.f64 N (-.f64 1 N)) (+.f64 1 (fma.f64 N N N))))) 2)) (log.f64 (cbrt.f64 (exp.f64 (atan2.f64 (+.f64 N (-.f64 1 N)) (+.f64 1 (fma.f64 N N N)))))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (sqrt.f64 (exp.f64 (atan2.f64 (+.f64 N (-.f64 1 N)) (+.f64 1 (fma.f64 N N N)))))) (log.f64 (sqrt.f64 (exp.f64 (atan2.f64 (+.f64 N (-.f64 1 N)) (+.f64 1 (fma.f64 N N N)))))))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (atan2.f64 (+.f64 N (-.f64 1 N)) (+.f64 1 (fma.f64 N N N))))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (atan2.f64 (+.f64 N (-.f64 1 N)) (+.f64 1 (fma.f64 N N N))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (atan2.f64 (+.f64 N (-.f64 1 N)) (+.f64 1 (fma.f64 N N N))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (atan2.f64 (+.f64 N (-.f64 1 N)) (+.f64 1 (fma.f64 N N N)))) (pow.f64 (cbrt.f64 (atan2.f64 (+.f64 N (-.f64 1 N)) (+.f64 1 (fma.f64 N N N)))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (atan2.f64 (+.f64 N (-.f64 1 N)) (+.f64 1 (fma.f64 N N N)))) 2) (cbrt.f64 (atan2.f64 (+.f64 N (-.f64 1 N)) (+.f64 1 (fma.f64 N N N)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (atan2.f64 (+.f64 N (-.f64 1 N)) (+.f64 1 (fma.f64 N N N)))) (sqrt.f64 (atan2.f64 (+.f64 N (-.f64 1 N)) (+.f64 1 (fma.f64 N N N)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 1 1/3) (atan2.f64 (+.f64 N (-.f64 1 N)) (+.f64 1 (fma.f64 N N N))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (atan2.f64 (+.f64 N (-.f64 1 N)) (+.f64 1 (fma.f64 N N N))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (atan2.f64 (+.f64 N (-.f64 1 N)) (+.f64 1 (fma.f64 N N N))) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (atan2.f64 (+.f64 N (-.f64 1 N)) (+.f64 1 (fma.f64 N N N))) 2) 1/2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (atan2.f64 (+.f64 N (-.f64 1 N)) (+.f64 1 (fma.f64 N N N)))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (atan2.f64 (+.f64 N (-.f64 1 N)) (+.f64 1 (fma.f64 N N N)))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (atan2.f64 (+.f64 N (-.f64 1 N)) (+.f64 1 (fma.f64 N N N))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (atan2.f64 (+.f64 N (-.f64 1 N)) (+.f64 1 (fma.f64 N N N)))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (atan2.f64 (+.f64 N (-.f64 1 N)) (+.f64 1 (fma.f64 N N N))))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (atan2.f64 (+.f64 N (-.f64 1 N)) (+.f64 1 (fma.f64 N N N))) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (atan2.f64 (+.f64 N (-.f64 1 N)) (+.f64 1 (fma.f64 N N N)))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (atan2.f64 (+.f64 N (-.f64 1 N)) (+.f64 1 (fma.f64 N N N)))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (atan2.f64 (+.f64 N (-.f64 1 N)) (+.f64 1 (fma.f64 N N N)))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (atan2.f64 (+.f64 N (-.f64 1 N)) (+.f64 1 (fma.f64 N N N)))) 1))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 3 (log.f64 (atan2.f64 (+.f64 N (-.f64 1 N)) (+.f64 1 (fma.f64 N N N))))) 1/3)))))) |
| 1× | egg-herbie |
| 1274× | sqr-pow_binary64 |
| 676× | cube-prod_binary64 |
| 666× | pow-sqr_binary64 |
| 560× | fabs-mul_binary64 |
| 374× | unpow3_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 8 | 432 |
| 1 | 21 | 432 |
| 2 | 32 | 432 |
| 3 | 50 | 432 |
| 4 | 79 | 432 |
| 5 | 166 | 432 |
| 6 | 553 | 432 |
| 7 | 1227 | 432 |
| 8 | 1319 | 432 |
| 9 | 1453 | 432 |
| 10 | 1611 | 432 |
| 11 | 1845 | 432 |
| 12 | 2167 | 432 |
| 13 | 2589 | 432 |
| 14 | 3091 | 432 |
| 15 | 3693 | 432 |
| 16 | 4417 | 432 |
| 17 | 4738 | 432 |
| 18 | 5020 | 432 |
| 19 | 5244 | 432 |
| 20 | 5422 | 432 |
| 21 | 5506 | 432 |
| 22 | 6446 | 432 |
| 23 | 7420 | 432 |
| 24 | 7886 | 432 |
| 1× | node limit |
| Inputs |
|---|
(pow.f64 (atan2.f64 1 (+.f64 (fma.f64 N N N) 1)) 3) |
(pow.f64 (atan2.f64 1 (+.f64 (fma.f64 N N N) 1)) 3) |
(pow.f64 (atan2.f64 1 (+.f64 (fma.f64 N N N) 1)) 3) |
(pow.f64 (atan2.f64 1 (+.f64 (fma.f64 N N N) 1)) 3) |
(pow.f64 (atan2.f64 1 (+.f64 (fma.f64 N N N) 1)) 3) |
(pow.f64 (atan2.f64 1 (+.f64 (fma.f64 N N N) 1)) 3) |
(pow.f64 (atan2.f64 1 (+.f64 (fma.f64 N N N) 1)) 3) |
(pow.f64 (atan2.f64 1 (+.f64 (fma.f64 N N N) 1)) 3) |
(pow.f64 (atan2.f64 1 (+.f64 (fma.f64 N N N) 1)) 3) |
(pow.f64 (atan2.f64 1 (+.f64 (fma.f64 N N N) 1)) 3) |
(pow.f64 (atan2.f64 1 (+.f64 (fma.f64 N N N) 1)) 3) |
(pow.f64 (atan2.f64 1 (+.f64 (fma.f64 N N N) 1)) 3) |
(atan2.f64 1 (+.f64 (fma.f64 N N N) 1)) |
(atan2.f64 1 (+.f64 (fma.f64 N N N) 1)) |
(atan2.f64 1 (+.f64 (fma.f64 N N N) 1)) |
(atan2.f64 1 (+.f64 (fma.f64 N N N) 1)) |
(atan2.f64 1 (+.f64 (fma.f64 N N N) 1)) |
(atan2.f64 1 (+.f64 (fma.f64 N N N) 1)) |
(atan2.f64 1 (+.f64 (fma.f64 N N N) 1)) |
(atan2.f64 1 (+.f64 (fma.f64 N N N) 1)) |
(atan2.f64 1 (+.f64 (fma.f64 N N N) 1)) |
(atan2.f64 1 (+.f64 (fma.f64 N N N) 1)) |
(atan2.f64 1 (+.f64 (fma.f64 N N N) 1)) |
(atan2.f64 1 (+.f64 (fma.f64 N N N) 1)) |
(atan2.f64 1 (+.f64 (fma.f64 N N N) 1)) |
(atan2.f64 1 (+.f64 (fma.f64 N N N) 1)) |
(atan2.f64 1 (+.f64 (fma.f64 N N N) 1)) |
(atan2.f64 1 (+.f64 (fma.f64 N N N) 1)) |
(atan2.f64 1 (+.f64 (fma.f64 N N N) 1)) |
(atan2.f64 1 (+.f64 (fma.f64 N N N) 1)) |
(atan2.f64 1 (+.f64 (fma.f64 N N N) 1)) |
(atan2.f64 1 (+.f64 (fma.f64 N N N) 1)) |
(atan2.f64 1 (+.f64 (fma.f64 N N N) 1)) |
(atan2.f64 1 (+.f64 (fma.f64 N N N) 1)) |
(atan2.f64 1 (+.f64 (fma.f64 N N N) 1)) |
(atan2.f64 1 (+.f64 (fma.f64 N N N) 1)) |
| Outputs |
|---|
(pow.f64 (atan2.f64 1 (+.f64 (fma.f64 N N N) 1)) 3) |
(pow.f64 (atan2.f64 1 (+.f64 1 (fma.f64 N N N))) 3) |
(pow.f64 (atan2.f64 1 (+.f64 (fma.f64 N N N) 1)) 3) |
(pow.f64 (atan2.f64 1 (+.f64 1 (fma.f64 N N N))) 3) |
(pow.f64 (atan2.f64 1 (+.f64 (fma.f64 N N N) 1)) 3) |
(pow.f64 (atan2.f64 1 (+.f64 1 (fma.f64 N N N))) 3) |
(pow.f64 (atan2.f64 1 (+.f64 (fma.f64 N N N) 1)) 3) |
(pow.f64 (atan2.f64 1 (+.f64 1 (fma.f64 N N N))) 3) |
(pow.f64 (atan2.f64 1 (+.f64 (fma.f64 N N N) 1)) 3) |
(pow.f64 (atan2.f64 1 (+.f64 1 (fma.f64 N N N))) 3) |
(pow.f64 (atan2.f64 1 (+.f64 (fma.f64 N N N) 1)) 3) |
(pow.f64 (atan2.f64 1 (+.f64 1 (fma.f64 N N N))) 3) |
(pow.f64 (atan2.f64 1 (+.f64 (fma.f64 N N N) 1)) 3) |
(pow.f64 (atan2.f64 1 (+.f64 1 (fma.f64 N N N))) 3) |
(pow.f64 (atan2.f64 1 (+.f64 (fma.f64 N N N) 1)) 3) |
(pow.f64 (atan2.f64 1 (+.f64 1 (fma.f64 N N N))) 3) |
(pow.f64 (atan2.f64 1 (+.f64 (fma.f64 N N N) 1)) 3) |
(pow.f64 (atan2.f64 1 (+.f64 1 (fma.f64 N N N))) 3) |
(pow.f64 (atan2.f64 1 (+.f64 (fma.f64 N N N) 1)) 3) |
(pow.f64 (atan2.f64 1 (+.f64 1 (fma.f64 N N N))) 3) |
(pow.f64 (atan2.f64 1 (+.f64 (fma.f64 N N N) 1)) 3) |
(pow.f64 (atan2.f64 1 (+.f64 1 (fma.f64 N N N))) 3) |
(pow.f64 (atan2.f64 1 (+.f64 (fma.f64 N N N) 1)) 3) |
(pow.f64 (atan2.f64 1 (+.f64 1 (fma.f64 N N N))) 3) |
(atan2.f64 1 (+.f64 (fma.f64 N N N) 1)) |
(atan2.f64 1 (+.f64 1 (fma.f64 N N N))) |
(atan2.f64 1 (+.f64 (fma.f64 N N N) 1)) |
(atan2.f64 1 (+.f64 1 (fma.f64 N N N))) |
(atan2.f64 1 (+.f64 (fma.f64 N N N) 1)) |
(atan2.f64 1 (+.f64 1 (fma.f64 N N N))) |
(atan2.f64 1 (+.f64 (fma.f64 N N N) 1)) |
(atan2.f64 1 (+.f64 1 (fma.f64 N N N))) |
(atan2.f64 1 (+.f64 (fma.f64 N N N) 1)) |
(atan2.f64 1 (+.f64 1 (fma.f64 N N N))) |
(atan2.f64 1 (+.f64 (fma.f64 N N N) 1)) |
(atan2.f64 1 (+.f64 1 (fma.f64 N N N))) |
(atan2.f64 1 (+.f64 (fma.f64 N N N) 1)) |
(atan2.f64 1 (+.f64 1 (fma.f64 N N N))) |
(atan2.f64 1 (+.f64 (fma.f64 N N N) 1)) |
(atan2.f64 1 (+.f64 1 (fma.f64 N N N))) |
(atan2.f64 1 (+.f64 (fma.f64 N N N) 1)) |
(atan2.f64 1 (+.f64 1 (fma.f64 N N N))) |
(atan2.f64 1 (+.f64 (fma.f64 N N N) 1)) |
(atan2.f64 1 (+.f64 1 (fma.f64 N N N))) |
(atan2.f64 1 (+.f64 (fma.f64 N N N) 1)) |
(atan2.f64 1 (+.f64 1 (fma.f64 N N N))) |
(atan2.f64 1 (+.f64 (fma.f64 N N N) 1)) |
(atan2.f64 1 (+.f64 1 (fma.f64 N N N))) |
(atan2.f64 1 (+.f64 (fma.f64 N N N) 1)) |
(atan2.f64 1 (+.f64 1 (fma.f64 N N N))) |
(atan2.f64 1 (+.f64 (fma.f64 N N N) 1)) |
(atan2.f64 1 (+.f64 1 (fma.f64 N N N))) |
(atan2.f64 1 (+.f64 (fma.f64 N N N) 1)) |
(atan2.f64 1 (+.f64 1 (fma.f64 N N N))) |
(atan2.f64 1 (+.f64 (fma.f64 N N N) 1)) |
(atan2.f64 1 (+.f64 1 (fma.f64 N N N))) |
(atan2.f64 1 (+.f64 (fma.f64 N N N) 1)) |
(atan2.f64 1 (+.f64 1 (fma.f64 N N N))) |
(atan2.f64 1 (+.f64 (fma.f64 N N N) 1)) |
(atan2.f64 1 (+.f64 1 (fma.f64 N N N))) |
(atan2.f64 1 (+.f64 (fma.f64 N N N) 1)) |
(atan2.f64 1 (+.f64 1 (fma.f64 N N N))) |
(atan2.f64 1 (+.f64 (fma.f64 N N N) 1)) |
(atan2.f64 1 (+.f64 1 (fma.f64 N N N))) |
(atan2.f64 1 (+.f64 (fma.f64 N N N) 1)) |
(atan2.f64 1 (+.f64 1 (fma.f64 N N N))) |
(atan2.f64 1 (+.f64 (fma.f64 N N N) 1)) |
(atan2.f64 1 (+.f64 1 (fma.f64 N N N))) |
(atan2.f64 1 (+.f64 (fma.f64 N N N) 1)) |
(atan2.f64 1 (+.f64 1 (fma.f64 N N N))) |
(atan2.f64 1 (+.f64 (fma.f64 N N N) 1)) |
(atan2.f64 1 (+.f64 1 (fma.f64 N N N))) |
Found 1 expressions with local error:
| New | Error | Program |
|---|---|---|
| ✓ | 0.1b | (atan2.f64 1 (+.f64 1 (*.f64 N (+.f64 N 1)))) |
Compiled 27 to 19 computations (29.6% saved)
3 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 1.0ms | N | @ | 0 | (atan2.f64 1 (+.f64 1 (*.f64 N (+.f64 N 1)))) |
| 0.0ms | N | @ | inf | (atan2.f64 1 (+.f64 1 (*.f64 N (+.f64 N 1)))) |
| 0.0ms | N | @ | -inf | (atan2.f64 1 (+.f64 1 (*.f64 N (+.f64 N 1)))) |
| 1× | batch-egg-rewrite |
| 798× | pow1_binary64 |
| 742× | log1p-expm1-u_binary64 |
| 742× | expm1-log1p-u_binary64 |
| 741× | add-log-exp_binary64 |
| 727× | add-exp-log_binary64 |
Useful iterations: 1 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 7 | 13 |
| 1 | 152 | 11 |
| 2 | 2057 | 11 |
| 1× | node limit |
| Inputs |
|---|
(atan2.f64 1 (+.f64 1 (*.f64 N (+.f64 N 1)))) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (atan2.f64 1 (+.f64 1 (fma.f64 N N N)))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (atan2.f64 1 (+.f64 1 (fma.f64 N N N))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (atan2.f64 1 (+.f64 1 (fma.f64 N N N))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (atan2.f64 1 (+.f64 1 (fma.f64 N N N)))) (pow.f64 (cbrt.f64 (atan2.f64 1 (+.f64 1 (fma.f64 N N N)))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (atan2.f64 1 (+.f64 1 (fma.f64 N N N)))) 2) (cbrt.f64 (atan2.f64 1 (+.f64 1 (fma.f64 N N N)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (atan2.f64 1 (+.f64 1 (fma.f64 N N N)))) (sqrt.f64 (atan2.f64 1 (+.f64 1 (fma.f64 N N N)))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (atan2.f64 1 (+.f64 1 (fma.f64 N N N))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (atan2.f64 1 (+.f64 1 (fma.f64 N N N))) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (atan2.f64 1 (+.f64 1 (fma.f64 N N N)))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (atan2.f64 1 (+.f64 1 (fma.f64 N N N)))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (atan2.f64 1 (+.f64 1 (fma.f64 N N N))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (atan2.f64 1 (+.f64 1 (fma.f64 N N N)))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (atan2.f64 1 (+.f64 1 (fma.f64 N N N))) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (atan2.f64 1 (+.f64 1 (fma.f64 N N N)))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (atan2.f64 1 (+.f64 1 (fma.f64 N N N)))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (atan2.f64 1 (+.f64 1 (fma.f64 N N N))))))))) |
| 1× | egg-herbie |
| 968× | fma-neg_binary64 |
| 532× | unswap-sqr_binary64 |
| 451× | distribute-rgt-neg-in_binary64 |
| 353× | cancel-sign-sub-inv_binary64 |
| 312× | neg-sub0_binary64 |
Useful iterations: 1 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 14 | 104 |
| 1 | 33 | 88 |
| 2 | 54 | 88 |
| 3 | 151 | 88 |
| 4 | 575 | 88 |
| 5 | 1638 | 88 |
| 6 | 3627 | 88 |
| 7 | 5662 | 88 |
| 8 | 7359 | 88 |
| 1× | node limit |
| Inputs |
|---|
(atan2.f64 1 (+.f64 N (+.f64 1 (pow.f64 N 2)))) |
(atan2.f64 1 (+.f64 N (+.f64 1 (pow.f64 N 2)))) |
(atan2.f64 1 (+.f64 N (+.f64 1 (pow.f64 N 2)))) |
(atan2.f64 1 (+.f64 N (+.f64 1 (pow.f64 N 2)))) |
(atan2.f64 1 (+.f64 1 (*.f64 N (-.f64 1 (*.f64 -1 N))))) |
(atan2.f64 1 (+.f64 1 (*.f64 N (-.f64 1 (*.f64 -1 N))))) |
(atan2.f64 1 (+.f64 1 (*.f64 N (-.f64 1 (*.f64 -1 N))))) |
(atan2.f64 1 (+.f64 1 (*.f64 N (-.f64 1 (*.f64 -1 N))))) |
| Outputs |
|---|
(atan2.f64 1 (+.f64 N (+.f64 1 (pow.f64 N 2)))) |
(atan2.f64 1 (+.f64 N (+.f64 1 (*.f64 N N)))) |
(atan2.f64 1 (+.f64 N (fma.f64 N N 1))) |
(atan2.f64 1 (+.f64 1 (fma.f64 N N N))) |
(atan2.f64 1 (fma.f64 N N (-.f64 N -1))) |
(atan2.f64 1 (-.f64 N (fma.f64 N N -1))) |
(atan2.f64 1 (+.f64 N (+.f64 1 (pow.f64 N 2)))) |
(atan2.f64 1 (+.f64 N (+.f64 1 (*.f64 N N)))) |
(atan2.f64 1 (+.f64 N (fma.f64 N N 1))) |
(atan2.f64 1 (+.f64 1 (fma.f64 N N N))) |
(atan2.f64 1 (fma.f64 N N (-.f64 N -1))) |
(atan2.f64 1 (-.f64 N (fma.f64 N N -1))) |
(atan2.f64 1 (+.f64 N (+.f64 1 (pow.f64 N 2)))) |
(atan2.f64 1 (+.f64 N (+.f64 1 (*.f64 N N)))) |
(atan2.f64 1 (+.f64 N (fma.f64 N N 1))) |
(atan2.f64 1 (+.f64 1 (fma.f64 N N N))) |
(atan2.f64 1 (fma.f64 N N (-.f64 N -1))) |
(atan2.f64 1 (-.f64 N (fma.f64 N N -1))) |
(atan2.f64 1 (+.f64 N (+.f64 1 (pow.f64 N 2)))) |
(atan2.f64 1 (+.f64 N (+.f64 1 (*.f64 N N)))) |
(atan2.f64 1 (+.f64 N (fma.f64 N N 1))) |
(atan2.f64 1 (+.f64 1 (fma.f64 N N N))) |
(atan2.f64 1 (fma.f64 N N (-.f64 N -1))) |
(atan2.f64 1 (-.f64 N (fma.f64 N N -1))) |
(atan2.f64 1 (+.f64 1 (*.f64 N (-.f64 1 (*.f64 -1 N))))) |
(atan2.f64 1 (+.f64 N (+.f64 1 (*.f64 N N)))) |
(atan2.f64 1 (+.f64 N (fma.f64 N N 1))) |
(atan2.f64 1 (+.f64 1 (fma.f64 N N N))) |
(atan2.f64 1 (fma.f64 N N (-.f64 N -1))) |
(atan2.f64 1 (-.f64 N (fma.f64 N N -1))) |
(atan2.f64 1 (+.f64 1 (*.f64 N (-.f64 1 (*.f64 -1 N))))) |
(atan2.f64 1 (+.f64 N (+.f64 1 (*.f64 N N)))) |
(atan2.f64 1 (+.f64 N (fma.f64 N N 1))) |
(atan2.f64 1 (+.f64 1 (fma.f64 N N N))) |
(atan2.f64 1 (fma.f64 N N (-.f64 N -1))) |
(atan2.f64 1 (-.f64 N (fma.f64 N N -1))) |
(atan2.f64 1 (+.f64 1 (*.f64 N (-.f64 1 (*.f64 -1 N))))) |
(atan2.f64 1 (+.f64 N (+.f64 1 (*.f64 N N)))) |
(atan2.f64 1 (+.f64 N (fma.f64 N N 1))) |
(atan2.f64 1 (+.f64 1 (fma.f64 N N N))) |
(atan2.f64 1 (fma.f64 N N (-.f64 N -1))) |
(atan2.f64 1 (-.f64 N (fma.f64 N N -1))) |
(atan2.f64 1 (+.f64 1 (*.f64 N (-.f64 1 (*.f64 -1 N))))) |
(atan2.f64 1 (+.f64 N (+.f64 1 (*.f64 N N)))) |
(atan2.f64 1 (+.f64 N (fma.f64 N N 1))) |
(atan2.f64 1 (+.f64 1 (fma.f64 N N N))) |
(atan2.f64 1 (fma.f64 N N (-.f64 N -1))) |
(atan2.f64 1 (-.f64 N (fma.f64 N N -1))) |
Found 4 expressions with local error:
| New | Error | Program |
|---|---|---|
| 0.0b | (atan2.f64 (+.f64 N (-.f64 1 N)) (+.f64 1 (fma.f64 N N N))) | |
| ✓ | 0.5b | (sqrt.f64 (atan2.f64 (+.f64 N (-.f64 1 N)) (+.f64 1 (fma.f64 N N N)))) |
| ✓ | 0.5b | (pow.f64 (sqrt.f64 (atan2.f64 (+.f64 N (-.f64 1 N)) (+.f64 1 (fma.f64 N N N)))) 2) |
| 3.4b | (+.f64 N (-.f64 1 N)) |
Compiled 62 to 33 computations (46.8% saved)
6 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 1.0ms | N | @ | 0 | (pow.f64 (sqrt.f64 (atan2.f64 (+.f64 N (-.f64 1 N)) (+.f64 1 (fma.f64 N N N)))) 2) |
| 1.0ms | N | @ | inf | (pow.f64 (sqrt.f64 (atan2.f64 (+.f64 N (-.f64 1 N)) (+.f64 1 (fma.f64 N N N)))) 2) |
| 1.0ms | N | @ | -inf | (pow.f64 (sqrt.f64 (atan2.f64 (+.f64 N (-.f64 1 N)) (+.f64 1 (fma.f64 N N N)))) 2) |
| 0.0ms | N | @ | 0 | (sqrt.f64 (atan2.f64 (+.f64 N (-.f64 1 N)) (+.f64 1 (fma.f64 N N N)))) |
| 0.0ms | N | @ | inf | (sqrt.f64 (atan2.f64 (+.f64 N (-.f64 1 N)) (+.f64 1 (fma.f64 N N N)))) |
| 1× | batch-egg-rewrite |
| 833× | prod-diff_binary64 |
| 447× | log-prod_binary64 |
| 404× | fma-def_binary64 |
| 273× | pow2_binary64 |
| 194× | fma-neg_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 11 | 36 |
| 1 | 244 | 36 |
| 2 | 2993 | 36 |
| 1× | node limit |
| Inputs |
|---|
(pow.f64 (sqrt.f64 (atan2.f64 (+.f64 N (-.f64 1 N)) (+.f64 1 (fma.f64 N N N)))) 2) |
(sqrt.f64 (atan2.f64 (+.f64 N (-.f64 1 N)) (+.f64 1 (fma.f64 N N N)))) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x +.f64 0 (atan2.f64 (+.f64 N (-.f64 1 N)) (+.f64 1 (fma.f64 N N N))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (pow.f64 (cbrt.f64 (exp.f64 (atan2.f64 (+.f64 N (-.f64 1 N)) (+.f64 1 (fma.f64 N N N))))) 2)) (log.f64 (cbrt.f64 (exp.f64 (atan2.f64 (+.f64 N (-.f64 1 N)) (+.f64 1 (fma.f64 N N N)))))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (sqrt.f64 (exp.f64 (atan2.f64 (+.f64 N (-.f64 1 N)) (+.f64 1 (fma.f64 N N N)))))) (log.f64 (sqrt.f64 (exp.f64 (atan2.f64 (+.f64 N (-.f64 1 N)) (+.f64 1 (fma.f64 N N N)))))))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (atan2.f64 (+.f64 N (-.f64 1 N)) (+.f64 1 (fma.f64 N N N))))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (atan2.f64 (+.f64 N (-.f64 1 N)) (+.f64 1 (fma.f64 N N N))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (atan2.f64 (+.f64 N (-.f64 1 N)) (+.f64 1 (fma.f64 N N N))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (atan2.f64 (+.f64 N (-.f64 1 N)) (+.f64 1 (fma.f64 N N N)))) (sqrt.f64 (atan2.f64 (+.f64 N (-.f64 1 N)) (+.f64 1 (fma.f64 N N N)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (atan2.f64 (+.f64 N (-.f64 1 N)) (+.f64 1 (fma.f64 N N N)))) (pow.f64 (cbrt.f64 (atan2.f64 (+.f64 N (-.f64 1 N)) (+.f64 1 (fma.f64 N N N)))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (atan2.f64 (+.f64 N (-.f64 1 N)) (+.f64 1 (fma.f64 N N N)))) (*.f64 (cbrt.f64 (sqrt.f64 (atan2.f64 (+.f64 N (-.f64 1 N)) (+.f64 1 (fma.f64 N N N))))) (sqrt.f64 (atan2.f64 (+.f64 N (-.f64 1 N)) (+.f64 1 (fma.f64 N N N))))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (atan2.f64 (+.f64 N (-.f64 1 N)) (+.f64 1 (fma.f64 N N N)))) 2) (cbrt.f64 (atan2.f64 (+.f64 N (-.f64 1 N)) (+.f64 1 (fma.f64 N N N)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (atan2.f64 (+.f64 N (-.f64 1 N)) (+.f64 1 (fma.f64 N N N))) 1/4) (*.f64 (pow.f64 (atan2.f64 (+.f64 N (-.f64 1 N)) (+.f64 1 (fma.f64 N N N))) 1/4) (sqrt.f64 (atan2.f64 (+.f64 N (-.f64 1 N)) (+.f64 1 (fma.f64 N N N))))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (pow.f64 (atan2.f64 (+.f64 N (-.f64 1 N)) (+.f64 1 (fma.f64 N N N))) 1/4) 3) (pow.f64 (atan2.f64 (+.f64 N (-.f64 1 N)) (+.f64 1 (fma.f64 N N N))) 1/4))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (sqrt.f64 (atan2.f64 (+.f64 N (-.f64 1 N)) (+.f64 1 (fma.f64 N N N)))) (cbrt.f64 (atan2.f64 (+.f64 N (-.f64 1 N)) (+.f64 1 (fma.f64 N N N))))) (cbrt.f64 (sqrt.f64 (atan2.f64 (+.f64 N (-.f64 1 N)) (+.f64 1 (fma.f64 N N N))))))))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (atan2.f64 (+.f64 N (-.f64 1 N)) (+.f64 1 (fma.f64 N N N))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (atan2.f64 (+.f64 N (-.f64 1 N)) (+.f64 1 (fma.f64 N N N)))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (atan2.f64 (+.f64 N (-.f64 1 N)) (+.f64 1 (fma.f64 N N N))))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (atan2.f64 (+.f64 N (-.f64 1 N)) (+.f64 1 (fma.f64 N N N))) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (atan2.f64 (+.f64 N (-.f64 1 N)) (+.f64 1 (fma.f64 N N N)))))))) (#(struct:change #<rule egg-rr> (2) ((x atan2.f64 (+.f64 N (-.f64 1 N)) (+.f64 1 (fma.f64 N N N)))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (atan2.f64 (+.f64 N (-.f64 1 N)) (+.f64 1 (fma.f64 N N N)))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (atan2.f64 (+.f64 N (-.f64 1 N)) (+.f64 1 (fma.f64 N N N)))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (atan2.f64 (+.f64 N (-.f64 1 N)) (+.f64 1 (fma.f64 N N N)))) 1)))))) |
((#(struct:change #<rule egg-rr> (2) ((x +.f64 0 (sqrt.f64 (atan2.f64 (+.f64 N (-.f64 1 N)) (+.f64 1 (fma.f64 N N N)))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (pow.f64 (cbrt.f64 (exp.f64 (sqrt.f64 (atan2.f64 (+.f64 N (-.f64 1 N)) (+.f64 1 (fma.f64 N N N)))))) 2)) (log.f64 (cbrt.f64 (exp.f64 (sqrt.f64 (atan2.f64 (+.f64 N (-.f64 1 N)) (+.f64 1 (fma.f64 N N N))))))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (sqrt.f64 (exp.f64 (sqrt.f64 (atan2.f64 (+.f64 N (-.f64 1 N)) (+.f64 1 (fma.f64 N N N))))))) (log.f64 (sqrt.f64 (exp.f64 (sqrt.f64 (atan2.f64 (+.f64 N (-.f64 1 N)) (+.f64 1 (fma.f64 N N N))))))))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (sqrt.f64 (atan2.f64 (+.f64 N (-.f64 1 N)) (+.f64 1 (fma.f64 N N N)))))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (sqrt.f64 (atan2.f64 (+.f64 N (-.f64 1 N)) (+.f64 1 (fma.f64 N N N)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (atan2.f64 (+.f64 N (-.f64 1 N)) (+.f64 1 (fma.f64 N N N)))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (atan2.f64 (+.f64 N (-.f64 1 N)) (+.f64 1 (fma.f64 N N N)))) (cbrt.f64 (sqrt.f64 (atan2.f64 (+.f64 N (-.f64 1 N)) (+.f64 1 (fma.f64 N N N))))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (sqrt.f64 (atan2.f64 (+.f64 N (-.f64 1 N)) (+.f64 1 (fma.f64 N N N))))) (cbrt.f64 (atan2.f64 (+.f64 N (-.f64 1 N)) (+.f64 1 (fma.f64 N N N)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (atan2.f64 (+.f64 N (-.f64 1 N)) (+.f64 1 (fma.f64 N N N))) 1/4) (pow.f64 (atan2.f64 (+.f64 N (-.f64 1 N)) (+.f64 1 (fma.f64 N N N))) 1/4))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (pow.f64 (cbrt.f64 (atan2.f64 (+.f64 N (-.f64 1 N)) (+.f64 1 (fma.f64 N N N)))) 2)) (sqrt.f64 (cbrt.f64 (atan2.f64 (+.f64 N (-.f64 1 N)) (+.f64 1 (fma.f64 N N N))))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 1 1/2) (sqrt.f64 (atan2.f64 (+.f64 N (-.f64 1 N)) (+.f64 1 (fma.f64 N N N)))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (atan2.f64 (+.f64 N (-.f64 1 N)) (+.f64 1 (fma.f64 N N N))) 1/2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (atan2.f64 (+.f64 N (-.f64 1 N)) (+.f64 1 (fma.f64 N N N)))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (atan2.f64 (+.f64 N (-.f64 1 N)) (+.f64 1 (fma.f64 N N N))) 3/2) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (sqrt.f64 (atan2.f64 (+.f64 N (-.f64 1 N)) (+.f64 1 (fma.f64 N N N))))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (atan2.f64 (+.f64 N (-.f64 1 N)) (+.f64 1 (fma.f64 N N N))) 1/4) 2)))) (#(struct:change #<rule egg-rr> (2) ((x fabs.f64 (sqrt.f64 (atan2.f64 (+.f64 N (-.f64 1 N)) (+.f64 1 (fma.f64 N N N)))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (sqrt.f64 (atan2.f64 (+.f64 N (-.f64 1 N)) (+.f64 1 (fma.f64 N N N))))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (sqrt.f64 (atan2.f64 (+.f64 N (-.f64 1 N)) (+.f64 1 (fma.f64 N N N)))))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (atan2.f64 (+.f64 N (-.f64 1 N)) (+.f64 1 (fma.f64 N N N))) 3/2))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (sqrt.f64 (atan2.f64 (+.f64 N (-.f64 1 N)) (+.f64 1 (fma.f64 N N N))))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (sqrt.f64 (atan2.f64 (+.f64 N (-.f64 1 N)) (+.f64 1 (fma.f64 N N N))))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (sqrt.f64 (atan2.f64 (+.f64 N (-.f64 1 N)) (+.f64 1 (fma.f64 N N N))))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (atan2.f64 (+.f64 N (-.f64 1 N)) (+.f64 1 (fma.f64 N N N)))) 1/2))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (sqrt.f64 (atan2.f64 (+.f64 N (-.f64 1 N)) (+.f64 1 (fma.f64 N N N))))) 1)))))) |
| 1× | egg-herbie |
| 25× | fma-def_binary64 |
| 6× | +-commutative_binary64 |
| 4× | distribute-lft-in_binary64 |
| 3× | distribute-rgt1-in_binary64 |
| 2× | *-commutative_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 7 | 288 |
| 1 | 12 | 288 |
| 2 | 18 | 288 |
| 3 | 27 | 288 |
| 4 | 35 | 288 |
| 5 | 39 | 288 |
| 6 | 51 | 288 |
| 7 | 64 | 288 |
| 8 | 69 | 288 |
| 9 | 70 | 288 |
| 1× | saturated |
| Inputs |
|---|
(atan2.f64 1 (+.f64 (fma.f64 N N N) 1)) |
(atan2.f64 1 (+.f64 (fma.f64 N N N) 1)) |
(atan2.f64 1 (+.f64 (fma.f64 N N N) 1)) |
(atan2.f64 1 (+.f64 (fma.f64 N N N) 1)) |
(atan2.f64 1 (+.f64 (fma.f64 N N N) 1)) |
(atan2.f64 1 (+.f64 (fma.f64 N N N) 1)) |
(atan2.f64 1 (+.f64 (fma.f64 N N N) 1)) |
(atan2.f64 1 (+.f64 (fma.f64 N N N) 1)) |
(atan2.f64 1 (+.f64 (fma.f64 N N N) 1)) |
(atan2.f64 1 (+.f64 (fma.f64 N N N) 1)) |
(atan2.f64 1 (+.f64 (fma.f64 N N N) 1)) |
(atan2.f64 1 (+.f64 (fma.f64 N N N) 1)) |
(sqrt.f64 (atan2.f64 1 (+.f64 (fma.f64 N N N) 1))) |
(sqrt.f64 (atan2.f64 1 (+.f64 (fma.f64 N N N) 1))) |
(sqrt.f64 (atan2.f64 1 (+.f64 (fma.f64 N N N) 1))) |
(sqrt.f64 (atan2.f64 1 (+.f64 (fma.f64 N N N) 1))) |
(sqrt.f64 (atan2.f64 1 (+.f64 (fma.f64 N N N) 1))) |
(sqrt.f64 (atan2.f64 1 (+.f64 (fma.f64 N N N) 1))) |
(sqrt.f64 (atan2.f64 1 (+.f64 (fma.f64 N N N) 1))) |
(sqrt.f64 (atan2.f64 1 (+.f64 (fma.f64 N N N) 1))) |
(sqrt.f64 (atan2.f64 1 (+.f64 (fma.f64 N N N) 1))) |
(sqrt.f64 (atan2.f64 1 (+.f64 (fma.f64 N N N) 1))) |
(sqrt.f64 (atan2.f64 1 (+.f64 (fma.f64 N N N) 1))) |
(sqrt.f64 (atan2.f64 1 (+.f64 (fma.f64 N N N) 1))) |
| Outputs |
|---|
(atan2.f64 1 (+.f64 (fma.f64 N N N) 1)) |
(atan2.f64 1 (+.f64 1 (fma.f64 N N N))) |
(atan2.f64 1 (+.f64 (fma.f64 N N N) 1)) |
(atan2.f64 1 (+.f64 1 (fma.f64 N N N))) |
(atan2.f64 1 (+.f64 (fma.f64 N N N) 1)) |
(atan2.f64 1 (+.f64 1 (fma.f64 N N N))) |
(atan2.f64 1 (+.f64 (fma.f64 N N N) 1)) |
(atan2.f64 1 (+.f64 1 (fma.f64 N N N))) |
(atan2.f64 1 (+.f64 (fma.f64 N N N) 1)) |
(atan2.f64 1 (+.f64 1 (fma.f64 N N N))) |
(atan2.f64 1 (+.f64 (fma.f64 N N N) 1)) |
(atan2.f64 1 (+.f64 1 (fma.f64 N N N))) |
(atan2.f64 1 (+.f64 (fma.f64 N N N) 1)) |
(atan2.f64 1 (+.f64 1 (fma.f64 N N N))) |
(atan2.f64 1 (+.f64 (fma.f64 N N N) 1)) |
(atan2.f64 1 (+.f64 1 (fma.f64 N N N))) |
(atan2.f64 1 (+.f64 (fma.f64 N N N) 1)) |
(atan2.f64 1 (+.f64 1 (fma.f64 N N N))) |
(atan2.f64 1 (+.f64 (fma.f64 N N N) 1)) |
(atan2.f64 1 (+.f64 1 (fma.f64 N N N))) |
(atan2.f64 1 (+.f64 (fma.f64 N N N) 1)) |
(atan2.f64 1 (+.f64 1 (fma.f64 N N N))) |
(atan2.f64 1 (+.f64 (fma.f64 N N N) 1)) |
(atan2.f64 1 (+.f64 1 (fma.f64 N N N))) |
(sqrt.f64 (atan2.f64 1 (+.f64 (fma.f64 N N N) 1))) |
(sqrt.f64 (atan2.f64 1 (+.f64 1 (fma.f64 N N N)))) |
(sqrt.f64 (atan2.f64 1 (+.f64 (fma.f64 N N N) 1))) |
(sqrt.f64 (atan2.f64 1 (+.f64 1 (fma.f64 N N N)))) |
(sqrt.f64 (atan2.f64 1 (+.f64 (fma.f64 N N N) 1))) |
(sqrt.f64 (atan2.f64 1 (+.f64 1 (fma.f64 N N N)))) |
(sqrt.f64 (atan2.f64 1 (+.f64 (fma.f64 N N N) 1))) |
(sqrt.f64 (atan2.f64 1 (+.f64 1 (fma.f64 N N N)))) |
(sqrt.f64 (atan2.f64 1 (+.f64 (fma.f64 N N N) 1))) |
(sqrt.f64 (atan2.f64 1 (+.f64 1 (fma.f64 N N N)))) |
(sqrt.f64 (atan2.f64 1 (+.f64 (fma.f64 N N N) 1))) |
(sqrt.f64 (atan2.f64 1 (+.f64 1 (fma.f64 N N N)))) |
(sqrt.f64 (atan2.f64 1 (+.f64 (fma.f64 N N N) 1))) |
(sqrt.f64 (atan2.f64 1 (+.f64 1 (fma.f64 N N N)))) |
(sqrt.f64 (atan2.f64 1 (+.f64 (fma.f64 N N N) 1))) |
(sqrt.f64 (atan2.f64 1 (+.f64 1 (fma.f64 N N N)))) |
(sqrt.f64 (atan2.f64 1 (+.f64 (fma.f64 N N N) 1))) |
(sqrt.f64 (atan2.f64 1 (+.f64 1 (fma.f64 N N N)))) |
(sqrt.f64 (atan2.f64 1 (+.f64 (fma.f64 N N N) 1))) |
(sqrt.f64 (atan2.f64 1 (+.f64 1 (fma.f64 N N N)))) |
(sqrt.f64 (atan2.f64 1 (+.f64 (fma.f64 N N N) 1))) |
(sqrt.f64 (atan2.f64 1 (+.f64 1 (fma.f64 N N N)))) |
(sqrt.f64 (atan2.f64 1 (+.f64 (fma.f64 N N N) 1))) |
(sqrt.f64 (atan2.f64 1 (+.f64 1 (fma.f64 N N N)))) |
Compiled 7266 to 4428 computations (39.1% saved)
7 alts after pruning (5 fresh and 2 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 321 | 5 | 326 |
| Fresh | 0 | 0 | 0 |
| Picked | 1 | 0 | 1 |
| Done | 1 | 2 | 3 |
| Total | 323 | 7 | 330 |
| Status | Error | Program |
|---|---|---|
| ▶ | 1.4b | (pow.f64 (cbrt.f64 (atan2.f64 1 (+.f64 1 (fma.f64 N N N)))) 3) |
| ✓ | 0.1b | (atan2.f64 1 (+.f64 1 (*.f64 N (+.f64 N 1)))) |
| ▶ | 9.7b | (cbrt.f64 (pow.f64 (atan2.f64 1 (+.f64 (fma.f64 N N N) 1)) 3)) |
| ▶ | 0.7b | (pow.f64 (sqrt.f64 (atan2.f64 1 (+.f64 (fma.f64 N N N) 1))) 2) |
| ▶ | 1.5b | (exp.f64 (log.f64 (atan2.f64 1 (+.f64 1 (fma.f64 N N N))))) |
| ▶ | 15.4b | (*.f64 (pow.f64 (atan2.f64 (+.f64 N (-.f64 1 N)) (+.f64 1 (fma.f64 N N N))) 1/4) (*.f64 (pow.f64 (atan2.f64 (+.f64 N (-.f64 1 N)) (+.f64 1 (fma.f64 N N N))) 1/4) (sqrt.f64 (atan2.f64 (+.f64 N (-.f64 1 N)) (+.f64 1 (fma.f64 N N N)))))) |
| ✓ | 16.2b | (-.f64 (atan.f64 (+.f64 N 1)) (atan.f64 N)) |
Compiled 200 to 138 computations (31% saved)
Found 3 expressions with local error:
| New | Error | Program |
|---|---|---|
| ✓ | 0.1b | (atan2.f64 1 (+.f64 (fma.f64 N N N) 1)) |
| ✓ | 0.6b | (pow.f64 (sqrt.f64 (atan2.f64 1 (+.f64 (fma.f64 N N N) 1))) 2) |
| ✓ | 15.1b | (sqrt.f64 (atan2.f64 1 (+.f64 (fma.f64 N N N) 1))) |
Compiled 42 to 22 computations (47.6% saved)
9 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 1.0ms | N | @ | inf | (pow.f64 (sqrt.f64 (atan2.f64 1 (+.f64 (fma.f64 N N N) 1))) 2) |
| 0.0ms | N | @ | inf | (sqrt.f64 (atan2.f64 1 (+.f64 (fma.f64 N N N) 1))) |
| 0.0ms | N | @ | 0 | (sqrt.f64 (atan2.f64 1 (+.f64 (fma.f64 N N N) 1))) |
| 0.0ms | N | @ | -inf | (sqrt.f64 (atan2.f64 1 (+.f64 (fma.f64 N N N) 1))) |
| 0.0ms | N | @ | -inf | (pow.f64 (sqrt.f64 (atan2.f64 1 (+.f64 (fma.f64 N N N) 1))) 2) |
| 1× | batch-egg-rewrite |
| 725× | pow1_binary64 |
| 674× | add-log-exp_binary64 |
| 674× | log1p-expm1-u_binary64 |
| 674× | expm1-log1p-u_binary64 |
| 659× | add-exp-log_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 9 | 35 |
| 1 | 187 | 35 |
| 2 | 1928 | 35 |
| 1× | node limit |
| Inputs |
|---|
(sqrt.f64 (atan2.f64 1 (+.f64 (fma.f64 N N N) 1))) |
(pow.f64 (sqrt.f64 (atan2.f64 1 (+.f64 (fma.f64 N N N) 1))) 2) |
(atan2.f64 1 (+.f64 (fma.f64 N N N) 1)) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (sqrt.f64 (atan2.f64 1 (+.f64 1 (fma.f64 N N N))))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (sqrt.f64 (atan2.f64 1 (+.f64 1 (fma.f64 N N N)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (atan2.f64 1 (+.f64 1 (fma.f64 N N N)))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (atan2.f64 1 (+.f64 1 (fma.f64 N N N)))) (cbrt.f64 (sqrt.f64 (atan2.f64 1 (+.f64 1 (fma.f64 N N N))))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (sqrt.f64 (atan2.f64 1 (+.f64 1 (fma.f64 N N N))))) (cbrt.f64 (atan2.f64 1 (+.f64 1 (fma.f64 N N N)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (atan2.f64 1 (+.f64 1 (fma.f64 N N N))) 1/4) (pow.f64 (atan2.f64 1 (+.f64 1 (fma.f64 N N N))) 1/4))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (pow.f64 (cbrt.f64 (atan2.f64 1 (+.f64 1 (fma.f64 N N N)))) 2)) (sqrt.f64 (cbrt.f64 (atan2.f64 1 (+.f64 1 (fma.f64 N N N))))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 1 1/2) (sqrt.f64 (atan2.f64 1 (+.f64 1 (fma.f64 N N N)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (pow.f64 (cbrt.f64 (atan2.f64 1 (+.f64 1 (fma.f64 N N N)))) 2) 1/2) (pow.f64 (cbrt.f64 (atan2.f64 1 (+.f64 1 (fma.f64 N N N)))) 1/2))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (atan2.f64 1 (+.f64 1 (fma.f64 N N N))) 1/2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (atan2.f64 1 (+.f64 1 (fma.f64 N N N)))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (atan2.f64 1 (+.f64 1 (fma.f64 N N N))) 3/2) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (sqrt.f64 (atan2.f64 1 (+.f64 1 (fma.f64 N N N))))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (atan2.f64 1 (+.f64 1 (fma.f64 N N N))) 1/4) 2)))) (#(struct:change #<rule egg-rr> (2) ((x fabs.f64 (sqrt.f64 (atan2.f64 1 (+.f64 1 (fma.f64 N N N)))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (sqrt.f64 (atan2.f64 1 (+.f64 1 (fma.f64 N N N))))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (atan2.f64 1 (+.f64 1 (fma.f64 N N N))) 3/2))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (sqrt.f64 (atan2.f64 1 (+.f64 1 (fma.f64 N N N))))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (sqrt.f64 (atan2.f64 1 (+.f64 1 (fma.f64 N N N))))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (sqrt.f64 (atan2.f64 1 (+.f64 1 (fma.f64 N N N)))))))))) |
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (atan2.f64 1 (+.f64 1 (fma.f64 N N N)))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (atan2.f64 1 (+.f64 1 (fma.f64 N N N))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (atan2.f64 1 (+.f64 1 (fma.f64 N N N))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (atan2.f64 1 (+.f64 1 (fma.f64 N N N)))) (sqrt.f64 (atan2.f64 1 (+.f64 1 (fma.f64 N N N)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (atan2.f64 1 (+.f64 1 (fma.f64 N N N)))) (pow.f64 (cbrt.f64 (atan2.f64 1 (+.f64 1 (fma.f64 N N N)))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (atan2.f64 1 (+.f64 1 (fma.f64 N N N)))) (*.f64 (cbrt.f64 (sqrt.f64 (atan2.f64 1 (+.f64 1 (fma.f64 N N N))))) (sqrt.f64 (atan2.f64 1 (+.f64 1 (fma.f64 N N N))))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (atan2.f64 1 (+.f64 1 (fma.f64 N N N)))) 2) (cbrt.f64 (atan2.f64 1 (+.f64 1 (fma.f64 N N N)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (atan2.f64 1 (+.f64 1 (fma.f64 N N N))) 1/4) (*.f64 (pow.f64 (atan2.f64 1 (+.f64 1 (fma.f64 N N N))) 1/4) (sqrt.f64 (atan2.f64 1 (+.f64 1 (fma.f64 N N N))))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (sqrt.f64 (atan2.f64 1 (+.f64 1 (fma.f64 N N N)))) (pow.f64 (atan2.f64 1 (+.f64 1 (fma.f64 N N N))) 1/4)) (pow.f64 (atan2.f64 1 (+.f64 1 (fma.f64 N N N))) 1/4))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (sqrt.f64 (atan2.f64 1 (+.f64 1 (fma.f64 N N N)))) (cbrt.f64 (atan2.f64 1 (+.f64 1 (fma.f64 N N N))))) (cbrt.f64 (sqrt.f64 (atan2.f64 1 (+.f64 1 (fma.f64 N N N))))))))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (atan2.f64 1 (+.f64 1 (fma.f64 N N N))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (atan2.f64 1 (+.f64 1 (fma.f64 N N N)))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (atan2.f64 1 (+.f64 1 (fma.f64 N N N))) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (atan2.f64 1 (+.f64 1 (fma.f64 N N N)))))))) (#(struct:change #<rule egg-rr> (2) ((x atan2.f64 1 (+.f64 1 (fma.f64 N N N)))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (atan2.f64 1 (+.f64 1 (fma.f64 N N N)))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (atan2.f64 1 (+.f64 1 (fma.f64 N N N))))))))) |
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (atan2.f64 1 (+.f64 1 (fma.f64 N N N)))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (atan2.f64 1 (+.f64 1 (fma.f64 N N N))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (atan2.f64 1 (+.f64 1 (fma.f64 N N N))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (atan2.f64 1 (+.f64 1 (fma.f64 N N N)))) (sqrt.f64 (atan2.f64 1 (+.f64 1 (fma.f64 N N N)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (atan2.f64 1 (+.f64 1 (fma.f64 N N N)))) (pow.f64 (cbrt.f64 (atan2.f64 1 (+.f64 1 (fma.f64 N N N)))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (atan2.f64 1 (+.f64 1 (fma.f64 N N N)))) (*.f64 (cbrt.f64 (sqrt.f64 (atan2.f64 1 (+.f64 1 (fma.f64 N N N))))) (sqrt.f64 (atan2.f64 1 (+.f64 1 (fma.f64 N N N))))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (atan2.f64 1 (+.f64 1 (fma.f64 N N N)))) 2) (cbrt.f64 (atan2.f64 1 (+.f64 1 (fma.f64 N N N)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (atan2.f64 1 (+.f64 1 (fma.f64 N N N))) 1/4) (*.f64 (pow.f64 (atan2.f64 1 (+.f64 1 (fma.f64 N N N))) 1/4) (sqrt.f64 (atan2.f64 1 (+.f64 1 (fma.f64 N N N))))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (sqrt.f64 (atan2.f64 1 (+.f64 1 (fma.f64 N N N)))) (pow.f64 (atan2.f64 1 (+.f64 1 (fma.f64 N N N))) 1/4)) (pow.f64 (atan2.f64 1 (+.f64 1 (fma.f64 N N N))) 1/4))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (sqrt.f64 (atan2.f64 1 (+.f64 1 (fma.f64 N N N)))) (cbrt.f64 (atan2.f64 1 (+.f64 1 (fma.f64 N N N))))) (cbrt.f64 (sqrt.f64 (atan2.f64 1 (+.f64 1 (fma.f64 N N N))))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (atan2.f64 1 (+.f64 1 (fma.f64 N N N))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (atan2.f64 1 (+.f64 1 (fma.f64 N N N)))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (atan2.f64 1 (+.f64 1 (fma.f64 N N N))) 2) 1/2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (atan2.f64 1 (+.f64 1 (fma.f64 N N N))) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (atan2.f64 1 (+.f64 1 (fma.f64 N N N)))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (atan2.f64 1 (+.f64 1 (fma.f64 N N N))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (atan2.f64 1 (+.f64 1 (fma.f64 N N N)))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (atan2.f64 1 (+.f64 1 (fma.f64 N N N))) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (atan2.f64 1 (+.f64 1 (fma.f64 N N N)))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (atan2.f64 1 (+.f64 1 (fma.f64 N N N)))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (atan2.f64 1 (+.f64 1 (fma.f64 N N N))))))))) |
| 1× | egg-herbie |
| 25× | fma-def_binary64 |
| 6× | +-commutative_binary64 |
| 4× | distribute-lft-in_binary64 |
| 3× | distribute-rgt1-in_binary64 |
| 2× | *-commutative_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 6 | 132 |
| 1 | 11 | 132 |
| 2 | 17 | 132 |
| 3 | 26 | 132 |
| 4 | 34 | 132 |
| 5 | 38 | 132 |
| 6 | 50 | 132 |
| 7 | 63 | 132 |
| 8 | 68 | 132 |
| 9 | 69 | 132 |
| 1× | saturated |
| Inputs |
|---|
(atan2.f64 1 (+.f64 (fma.f64 N N N) 1)) |
(atan2.f64 1 (+.f64 (fma.f64 N N N) 1)) |
(atan2.f64 1 (+.f64 (fma.f64 N N N) 1)) |
(atan2.f64 1 (+.f64 (fma.f64 N N N) 1)) |
(atan2.f64 1 (+.f64 (fma.f64 N N N) 1)) |
(atan2.f64 1 (+.f64 (fma.f64 N N N) 1)) |
(atan2.f64 1 (+.f64 (fma.f64 N N N) 1)) |
(atan2.f64 1 (+.f64 (fma.f64 N N N) 1)) |
(atan2.f64 1 (+.f64 (fma.f64 N N N) 1)) |
(atan2.f64 1 (+.f64 (fma.f64 N N N) 1)) |
(atan2.f64 1 (+.f64 (fma.f64 N N N) 1)) |
(atan2.f64 1 (+.f64 (fma.f64 N N N) 1)) |
| Outputs |
|---|
(atan2.f64 1 (+.f64 (fma.f64 N N N) 1)) |
(atan2.f64 1 (+.f64 1 (fma.f64 N N N))) |
(atan2.f64 1 (+.f64 (fma.f64 N N N) 1)) |
(atan2.f64 1 (+.f64 1 (fma.f64 N N N))) |
(atan2.f64 1 (+.f64 (fma.f64 N N N) 1)) |
(atan2.f64 1 (+.f64 1 (fma.f64 N N N))) |
(atan2.f64 1 (+.f64 (fma.f64 N N N) 1)) |
(atan2.f64 1 (+.f64 1 (fma.f64 N N N))) |
(atan2.f64 1 (+.f64 (fma.f64 N N N) 1)) |
(atan2.f64 1 (+.f64 1 (fma.f64 N N N))) |
(atan2.f64 1 (+.f64 (fma.f64 N N N) 1)) |
(atan2.f64 1 (+.f64 1 (fma.f64 N N N))) |
(atan2.f64 1 (+.f64 (fma.f64 N N N) 1)) |
(atan2.f64 1 (+.f64 1 (fma.f64 N N N))) |
(atan2.f64 1 (+.f64 (fma.f64 N N N) 1)) |
(atan2.f64 1 (+.f64 1 (fma.f64 N N N))) |
(atan2.f64 1 (+.f64 (fma.f64 N N N) 1)) |
(atan2.f64 1 (+.f64 1 (fma.f64 N N N))) |
(atan2.f64 1 (+.f64 (fma.f64 N N N) 1)) |
(atan2.f64 1 (+.f64 1 (fma.f64 N N N))) |
(atan2.f64 1 (+.f64 (fma.f64 N N N) 1)) |
(atan2.f64 1 (+.f64 1 (fma.f64 N N N))) |
(atan2.f64 1 (+.f64 (fma.f64 N N N) 1)) |
(atan2.f64 1 (+.f64 1 (fma.f64 N N N))) |
Found 3 expressions with local error:
| New | Error | Program |
|---|---|---|
| ✓ | 0.1b | (atan2.f64 1 (+.f64 1 (fma.f64 N N N))) |
| ✓ | 1.4b | (exp.f64 (log.f64 (atan2.f64 1 (+.f64 1 (fma.f64 N N N))))) |
| ✓ | 15.9b | (log.f64 (atan2.f64 1 (+.f64 1 (fma.f64 N N N)))) |
Compiled 40 to 20 computations (50% saved)
9 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 32.0ms | N | @ | 0 | (log.f64 (atan2.f64 1 (+.f64 1 (fma.f64 N N N)))) |
| 31.0ms | N | @ | inf | (log.f64 (atan2.f64 1 (+.f64 1 (fma.f64 N N N)))) |
| 18.0ms | N | @ | -inf | (log.f64 (atan2.f64 1 (+.f64 1 (fma.f64 N N N)))) |
| 0.0ms | N | @ | 0 | (exp.f64 (log.f64 (atan2.f64 1 (+.f64 1 (fma.f64 N N N))))) |
| 0.0ms | N | @ | -inf | (exp.f64 (log.f64 (atan2.f64 1 (+.f64 1 (fma.f64 N N N))))) |
| 1× | batch-egg-rewrite |
| 669× | pow1_binary64 |
| 618× | add-log-exp_binary64 |
| 618× | log1p-expm1-u_binary64 |
| 618× | expm1-log1p-u_binary64 |
| 605× | add-exp-log_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 8 | 35 |
| 1 | 145 | 35 |
| 2 | 1679 | 35 |
| 1× | node limit |
| Inputs |
|---|
(log.f64 (atan2.f64 1 (+.f64 1 (fma.f64 N N N)))) |
(exp.f64 (log.f64 (atan2.f64 1 (+.f64 1 (fma.f64 N N N))))) |
(atan2.f64 1 (+.f64 1 (fma.f64 N N N))) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x +.f64 0 (log.f64 (atan2.f64 1 (+.f64 1 (fma.f64 N N N)))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (sqrt.f64 (atan2.f64 1 (+.f64 1 (fma.f64 N N N))))) (log.f64 (sqrt.f64 (atan2.f64 1 (+.f64 1 (fma.f64 N N N))))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (pow.f64 (cbrt.f64 (atan2.f64 1 (+.f64 1 (fma.f64 N N N)))) 2)) (log.f64 (cbrt.f64 (atan2.f64 1 (+.f64 1 (fma.f64 N N N))))))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (log.f64 (atan2.f64 1 (+.f64 1 (fma.f64 N N N))))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (log.f64 (atan2.f64 1 (+.f64 1 (fma.f64 N N N)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (log.f64 (atan2.f64 1 (+.f64 1 (fma.f64 N N N)))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (log.f64 (atan2.f64 1 (+.f64 1 (fma.f64 N N N))))) (pow.f64 (cbrt.f64 (log.f64 (atan2.f64 1 (+.f64 1 (fma.f64 N N N))))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (log.f64 (atan2.f64 1 (+.f64 1 (fma.f64 N N N))))) 2) (cbrt.f64 (log.f64 (atan2.f64 1 (+.f64 1 (fma.f64 N N N))))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (log.f64 (atan2.f64 1 (+.f64 1 (fma.f64 N N N))))) (sqrt.f64 (log.f64 (atan2.f64 1 (+.f64 1 (fma.f64 N N N))))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (log.f64 (atan2.f64 1 (+.f64 1 (fma.f64 N N N)))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (log.f64 (atan2.f64 1 (+.f64 1 (fma.f64 N N N)))) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (log.f64 (atan2.f64 1 (+.f64 1 (fma.f64 N N N))))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (log.f64 (atan2.f64 1 (+.f64 1 (fma.f64 N N N))))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (log.f64 (atan2.f64 1 (+.f64 1 (fma.f64 N N N)))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (log.f64 (atan2.f64 1 (+.f64 1 (fma.f64 N N N)))) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (log.f64 (atan2.f64 1 (+.f64 1 (fma.f64 N N N))))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (-.f64 (atan2.f64 1 (+.f64 1 (fma.f64 N N N))) 1))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (log.f64 (atan2.f64 1 (+.f64 1 (fma.f64 N N N)))))))))) |
((#(struct:change #<rule egg-rr> (2) ((x +.f64 1 (-.f64 (atan2.f64 1 (+.f64 1 (fma.f64 N N N))) 1))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (atan2.f64 1 (+.f64 1 (fma.f64 N N N)))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (atan2.f64 1 (+.f64 1 (fma.f64 N N N))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (atan2.f64 1 (+.f64 1 (fma.f64 N N N))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (atan2.f64 1 (+.f64 1 (fma.f64 N N N)))) (pow.f64 (cbrt.f64 (atan2.f64 1 (+.f64 1 (fma.f64 N N N)))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (atan2.f64 1 (+.f64 1 (fma.f64 N N N)))) 2) (cbrt.f64 (atan2.f64 1 (+.f64 1 (fma.f64 N N N)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (atan2.f64 1 (+.f64 1 (fma.f64 N N N)))) (sqrt.f64 (atan2.f64 1 (+.f64 1 (fma.f64 N N N)))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (atan2.f64 1 (+.f64 1 (fma.f64 N N N))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (E.f64) (log.f64 (atan2.f64 1 (+.f64 1 (fma.f64 N N N)))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (atan2.f64 1 (+.f64 1 (fma.f64 N N N))) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (atan2.f64 1 (+.f64 1 (fma.f64 N N N)))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (atan2.f64 1 (+.f64 1 (fma.f64 N N N)))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 (sqrt.f64 (log.f64 (atan2.f64 1 (+.f64 1 (fma.f64 N N N)))))) (sqrt.f64 (log.f64 (atan2.f64 1 (+.f64 1 (fma.f64 N N N))))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 (pow.f64 (cbrt.f64 (log.f64 (atan2.f64 1 (+.f64 1 (fma.f64 N N N))))) 2)) (cbrt.f64 (log.f64 (atan2.f64 1 (+.f64 1 (fma.f64 N N N))))))))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (atan2.f64 1 (+.f64 1 (fma.f64 N N N))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (atan2.f64 1 (+.f64 1 (fma.f64 N N N)))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (atan2.f64 1 (+.f64 1 (fma.f64 N N N))) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (atan2.f64 1 (+.f64 1 (fma.f64 N N N)))))))) (#(struct:change #<rule egg-rr> (2) ((x atan2.f64 1 (+.f64 1 (fma.f64 N N N)))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (atan2.f64 1 (+.f64 1 (fma.f64 N N N))))))))) |
((#(struct:change #<rule egg-rr> (2) ((x +.f64 1 (-.f64 (atan2.f64 1 (+.f64 1 (fma.f64 N N N))) 1))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (atan2.f64 1 (+.f64 1 (fma.f64 N N N)))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (atan2.f64 1 (+.f64 1 (fma.f64 N N N))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (atan2.f64 1 (+.f64 1 (fma.f64 N N N))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (atan2.f64 1 (+.f64 1 (fma.f64 N N N)))) (pow.f64 (cbrt.f64 (atan2.f64 1 (+.f64 1 (fma.f64 N N N)))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (atan2.f64 1 (+.f64 1 (fma.f64 N N N)))) 2) (cbrt.f64 (atan2.f64 1 (+.f64 1 (fma.f64 N N N)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (atan2.f64 1 (+.f64 1 (fma.f64 N N N)))) (sqrt.f64 (atan2.f64 1 (+.f64 1 (fma.f64 N N N)))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (atan2.f64 1 (+.f64 1 (fma.f64 N N N))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (E.f64) (log.f64 (atan2.f64 1 (+.f64 1 (fma.f64 N N N)))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (atan2.f64 1 (+.f64 1 (fma.f64 N N N))) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (atan2.f64 1 (+.f64 1 (fma.f64 N N N)))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (atan2.f64 1 (+.f64 1 (fma.f64 N N N)))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 (sqrt.f64 (log.f64 (atan2.f64 1 (+.f64 1 (fma.f64 N N N)))))) (sqrt.f64 (log.f64 (atan2.f64 1 (+.f64 1 (fma.f64 N N N))))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 (pow.f64 (cbrt.f64 (log.f64 (atan2.f64 1 (+.f64 1 (fma.f64 N N N))))) 2)) (cbrt.f64 (log.f64 (atan2.f64 1 (+.f64 1 (fma.f64 N N N))))))))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (atan2.f64 1 (+.f64 1 (fma.f64 N N N))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (atan2.f64 1 (+.f64 1 (fma.f64 N N N)))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (atan2.f64 1 (+.f64 1 (fma.f64 N N N))) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (atan2.f64 1 (+.f64 1 (fma.f64 N N N)))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (atan2.f64 1 (+.f64 1 (fma.f64 N N N)))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (atan2.f64 1 (+.f64 1 (fma.f64 N N N))))))))) |
| 1× | egg-herbie |
| 25× | fma-def_binary64 |
| 6× | +-commutative_binary64 |
| 4× | distribute-lft-in_binary64 |
| 3× | distribute-rgt1-in_binary64 |
| 2× | *-commutative_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 7 | 420 |
| 1 | 12 | 420 |
| 2 | 18 | 420 |
| 3 | 27 | 420 |
| 4 | 35 | 420 |
| 5 | 39 | 420 |
| 6 | 51 | 420 |
| 7 | 64 | 420 |
| 8 | 69 | 420 |
| 9 | 70 | 420 |
| 1× | saturated |
| Inputs |
|---|
(log.f64 (atan2.f64 1 (+.f64 (fma.f64 N N N) 1))) |
(log.f64 (atan2.f64 1 (+.f64 (fma.f64 N N N) 1))) |
(log.f64 (atan2.f64 1 (+.f64 (fma.f64 N N N) 1))) |
(log.f64 (atan2.f64 1 (+.f64 (fma.f64 N N N) 1))) |
(log.f64 (atan2.f64 1 (+.f64 (fma.f64 N N N) 1))) |
(log.f64 (atan2.f64 1 (+.f64 (fma.f64 N N N) 1))) |
(log.f64 (atan2.f64 1 (+.f64 (fma.f64 N N N) 1))) |
(log.f64 (atan2.f64 1 (+.f64 (fma.f64 N N N) 1))) |
(log.f64 (atan2.f64 1 (+.f64 (fma.f64 N N N) 1))) |
(log.f64 (atan2.f64 1 (+.f64 (fma.f64 N N N) 1))) |
(log.f64 (atan2.f64 1 (+.f64 (fma.f64 N N N) 1))) |
(log.f64 (atan2.f64 1 (+.f64 (fma.f64 N N N) 1))) |
(atan2.f64 1 (+.f64 (fma.f64 N N N) 1)) |
(atan2.f64 1 (+.f64 (fma.f64 N N N) 1)) |
(atan2.f64 1 (+.f64 (fma.f64 N N N) 1)) |
(atan2.f64 1 (+.f64 (fma.f64 N N N) 1)) |
(atan2.f64 1 (+.f64 (fma.f64 N N N) 1)) |
(atan2.f64 1 (+.f64 (fma.f64 N N N) 1)) |
(atan2.f64 1 (+.f64 (fma.f64 N N N) 1)) |
(atan2.f64 1 (+.f64 (fma.f64 N N N) 1)) |
(atan2.f64 1 (+.f64 (fma.f64 N N N) 1)) |
(atan2.f64 1 (+.f64 (fma.f64 N N N) 1)) |
(atan2.f64 1 (+.f64 (fma.f64 N N N) 1)) |
(atan2.f64 1 (+.f64 (fma.f64 N N N) 1)) |
(atan2.f64 1 (+.f64 (fma.f64 N N N) 1)) |
(atan2.f64 1 (+.f64 (fma.f64 N N N) 1)) |
(atan2.f64 1 (+.f64 (fma.f64 N N N) 1)) |
(atan2.f64 1 (+.f64 (fma.f64 N N N) 1)) |
(atan2.f64 1 (+.f64 (fma.f64 N N N) 1)) |
(atan2.f64 1 (+.f64 (fma.f64 N N N) 1)) |
(atan2.f64 1 (+.f64 (fma.f64 N N N) 1)) |
(atan2.f64 1 (+.f64 (fma.f64 N N N) 1)) |
(atan2.f64 1 (+.f64 (fma.f64 N N N) 1)) |
(atan2.f64 1 (+.f64 (fma.f64 N N N) 1)) |
(atan2.f64 1 (+.f64 (fma.f64 N N N) 1)) |
(atan2.f64 1 (+.f64 (fma.f64 N N N) 1)) |
| Outputs |
|---|
(log.f64 (atan2.f64 1 (+.f64 (fma.f64 N N N) 1))) |
(log.f64 (atan2.f64 1 (+.f64 1 (fma.f64 N N N)))) |
(log.f64 (atan2.f64 1 (+.f64 (fma.f64 N N N) 1))) |
(log.f64 (atan2.f64 1 (+.f64 1 (fma.f64 N N N)))) |
(log.f64 (atan2.f64 1 (+.f64 (fma.f64 N N N) 1))) |
(log.f64 (atan2.f64 1 (+.f64 1 (fma.f64 N N N)))) |
(log.f64 (atan2.f64 1 (+.f64 (fma.f64 N N N) 1))) |
(log.f64 (atan2.f64 1 (+.f64 1 (fma.f64 N N N)))) |
(log.f64 (atan2.f64 1 (+.f64 (fma.f64 N N N) 1))) |
(log.f64 (atan2.f64 1 (+.f64 1 (fma.f64 N N N)))) |
(log.f64 (atan2.f64 1 (+.f64 (fma.f64 N N N) 1))) |
(log.f64 (atan2.f64 1 (+.f64 1 (fma.f64 N N N)))) |
(log.f64 (atan2.f64 1 (+.f64 (fma.f64 N N N) 1))) |
(log.f64 (atan2.f64 1 (+.f64 1 (fma.f64 N N N)))) |
(log.f64 (atan2.f64 1 (+.f64 (fma.f64 N N N) 1))) |
(log.f64 (atan2.f64 1 (+.f64 1 (fma.f64 N N N)))) |
(log.f64 (atan2.f64 1 (+.f64 (fma.f64 N N N) 1))) |
(log.f64 (atan2.f64 1 (+.f64 1 (fma.f64 N N N)))) |
(log.f64 (atan2.f64 1 (+.f64 (fma.f64 N N N) 1))) |
(log.f64 (atan2.f64 1 (+.f64 1 (fma.f64 N N N)))) |
(log.f64 (atan2.f64 1 (+.f64 (fma.f64 N N N) 1))) |
(log.f64 (atan2.f64 1 (+.f64 1 (fma.f64 N N N)))) |
(log.f64 (atan2.f64 1 (+.f64 (fma.f64 N N N) 1))) |
(log.f64 (atan2.f64 1 (+.f64 1 (fma.f64 N N N)))) |
(atan2.f64 1 (+.f64 (fma.f64 N N N) 1)) |
(atan2.f64 1 (+.f64 1 (fma.f64 N N N))) |
(atan2.f64 1 (+.f64 (fma.f64 N N N) 1)) |
(atan2.f64 1 (+.f64 1 (fma.f64 N N N))) |
(atan2.f64 1 (+.f64 (fma.f64 N N N) 1)) |
(atan2.f64 1 (+.f64 1 (fma.f64 N N N))) |
(atan2.f64 1 (+.f64 (fma.f64 N N N) 1)) |
(atan2.f64 1 (+.f64 1 (fma.f64 N N N))) |
(atan2.f64 1 (+.f64 (fma.f64 N N N) 1)) |
(atan2.f64 1 (+.f64 1 (fma.f64 N N N))) |
(atan2.f64 1 (+.f64 (fma.f64 N N N) 1)) |
(atan2.f64 1 (+.f64 1 (fma.f64 N N N))) |
(atan2.f64 1 (+.f64 (fma.f64 N N N) 1)) |
(atan2.f64 1 (+.f64 1 (fma.f64 N N N))) |
(atan2.f64 1 (+.f64 (fma.f64 N N N) 1)) |
(atan2.f64 1 (+.f64 1 (fma.f64 N N N))) |
(atan2.f64 1 (+.f64 (fma.f64 N N N) 1)) |
(atan2.f64 1 (+.f64 1 (fma.f64 N N N))) |
(atan2.f64 1 (+.f64 (fma.f64 N N N) 1)) |
(atan2.f64 1 (+.f64 1 (fma.f64 N N N))) |
(atan2.f64 1 (+.f64 (fma.f64 N N N) 1)) |
(atan2.f64 1 (+.f64 1 (fma.f64 N N N))) |
(atan2.f64 1 (+.f64 (fma.f64 N N N) 1)) |
(atan2.f64 1 (+.f64 1 (fma.f64 N N N))) |
(atan2.f64 1 (+.f64 (fma.f64 N N N) 1)) |
(atan2.f64 1 (+.f64 1 (fma.f64 N N N))) |
(atan2.f64 1 (+.f64 (fma.f64 N N N) 1)) |
(atan2.f64 1 (+.f64 1 (fma.f64 N N N))) |
(atan2.f64 1 (+.f64 (fma.f64 N N N) 1)) |
(atan2.f64 1 (+.f64 1 (fma.f64 N N N))) |
(atan2.f64 1 (+.f64 (fma.f64 N N N) 1)) |
(atan2.f64 1 (+.f64 1 (fma.f64 N N N))) |
(atan2.f64 1 (+.f64 (fma.f64 N N N) 1)) |
(atan2.f64 1 (+.f64 1 (fma.f64 N N N))) |
(atan2.f64 1 (+.f64 (fma.f64 N N N) 1)) |
(atan2.f64 1 (+.f64 1 (fma.f64 N N N))) |
(atan2.f64 1 (+.f64 (fma.f64 N N N) 1)) |
(atan2.f64 1 (+.f64 1 (fma.f64 N N N))) |
(atan2.f64 1 (+.f64 (fma.f64 N N N) 1)) |
(atan2.f64 1 (+.f64 1 (fma.f64 N N N))) |
(atan2.f64 1 (+.f64 (fma.f64 N N N) 1)) |
(atan2.f64 1 (+.f64 1 (fma.f64 N N N))) |
(atan2.f64 1 (+.f64 (fma.f64 N N N) 1)) |
(atan2.f64 1 (+.f64 1 (fma.f64 N N N))) |
(atan2.f64 1 (+.f64 (fma.f64 N N N) 1)) |
(atan2.f64 1 (+.f64 1 (fma.f64 N N N))) |
(atan2.f64 1 (+.f64 (fma.f64 N N N) 1)) |
(atan2.f64 1 (+.f64 1 (fma.f64 N N N))) |
Found 3 expressions with local error:
| New | Error | Program |
|---|---|---|
| 0.1b | (atan2.f64 1 (+.f64 (fma.f64 N N N) 1)) | |
| ✓ | 0.5b | (pow.f64 (atan2.f64 1 (+.f64 (fma.f64 N N N) 1)) 3) |
| ✓ | 9.7b | (cbrt.f64 (pow.f64 (atan2.f64 1 (+.f64 (fma.f64 N N N) 1)) 3)) |
Compiled 43 to 23 computations (46.5% saved)
6 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 3.0ms | N | @ | -inf | (pow.f64 (atan2.f64 1 (+.f64 (fma.f64 N N N) 1)) 3) |
| 1.0ms | N | @ | inf | (pow.f64 (atan2.f64 1 (+.f64 (fma.f64 N N N) 1)) 3) |
| 0.0ms | N | @ | 0 | (cbrt.f64 (pow.f64 (atan2.f64 1 (+.f64 (fma.f64 N N N) 1)) 3)) |
| 0.0ms | N | @ | inf | (cbrt.f64 (pow.f64 (atan2.f64 1 (+.f64 (fma.f64 N N N) 1)) 3)) |
| 0.0ms | N | @ | -inf | (cbrt.f64 (pow.f64 (atan2.f64 1 (+.f64 (fma.f64 N N N) 1)) 3)) |
| 1× | batch-egg-rewrite |
| 751× | pow1_binary64 |
| 704× | add-log-exp_binary64 |
| 704× | log1p-expm1-u_binary64 |
| 704× | expm1-log1p-u_binary64 |
| 688× | add-exp-log_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 9 | 25 |
| 1 | 189 | 25 |
| 2 | 1979 | 25 |
| 1× | node limit |
| Inputs |
|---|
(cbrt.f64 (pow.f64 (atan2.f64 1 (+.f64 (fma.f64 N N N) 1)) 3)) |
(pow.f64 (atan2.f64 1 (+.f64 (fma.f64 N N N) 1)) 3) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (atan2.f64 1 (+.f64 1 (fma.f64 N N N)))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (atan2.f64 1 (+.f64 1 (fma.f64 N N N))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (atan2.f64 1 (+.f64 1 (fma.f64 N N N))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (atan2.f64 1 (+.f64 1 (fma.f64 N N N)))) (pow.f64 (cbrt.f64 (atan2.f64 1 (+.f64 1 (fma.f64 N N N)))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (atan2.f64 1 (+.f64 1 (fma.f64 N N N)))) (pow.f64 (pow.f64 (atan2.f64 1 (+.f64 1 (fma.f64 N N N))) 2) 1/3))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (atan2.f64 1 (+.f64 1 (fma.f64 N N N)))) 2) (cbrt.f64 (atan2.f64 1 (+.f64 1 (fma.f64 N N N)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (atan2.f64 1 (+.f64 1 (fma.f64 N N N)))) (sqrt.f64 (atan2.f64 1 (+.f64 1 (fma.f64 N N N)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 1 1/3) (atan2.f64 1 (+.f64 1 (fma.f64 N N N))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (pow.f64 (atan2.f64 1 (+.f64 1 (fma.f64 N N N))) 2) 1/3) (cbrt.f64 (atan2.f64 1 (+.f64 1 (fma.f64 N N N)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (pow.f64 (atan2.f64 1 (+.f64 1 (fma.f64 N N N))) 3/2) 1/3) (pow.f64 (pow.f64 (atan2.f64 1 (+.f64 1 (fma.f64 N N N))) 3/2) 1/3))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (atan2.f64 1 (+.f64 1 (fma.f64 N N N))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (atan2.f64 1 (+.f64 1 (fma.f64 N N N))) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (atan2.f64 1 (+.f64 1 (fma.f64 N N N)))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (atan2.f64 1 (+.f64 1 (fma.f64 N N N)))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (atan2.f64 1 (+.f64 1 (fma.f64 N N N))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (atan2.f64 1 (+.f64 1 (fma.f64 N N N)))))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (atan2.f64 1 (+.f64 1 (fma.f64 N N N)))))))) (#(struct:change #<rule egg-rr> (2) ((x atan2.f64 1 (+.f64 1 (fma.f64 N N N)))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (atan2.f64 1 (+.f64 1 (fma.f64 N N N)))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (atan2.f64 1 (+.f64 1 (fma.f64 N N N))))))))) |
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (pow.f64 (atan2.f64 1 (+.f64 1 (fma.f64 N N N))) 3)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (pow.f64 (atan2.f64 1 (+.f64 1 (fma.f64 N N N))) 3))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (atan2.f64 1 (+.f64 1 (fma.f64 N N N))) (pow.f64 (atan2.f64 1 (+.f64 1 (fma.f64 N N N))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (atan2.f64 1 (+.f64 1 (fma.f64 N N N))) 3) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (atan2.f64 1 (+.f64 1 (fma.f64 N N N))) 2) (atan2.f64 1 (+.f64 1 (fma.f64 N N N))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (atan2.f64 1 (+.f64 1 (fma.f64 N N N)))) 2) (*.f64 (cbrt.f64 (atan2.f64 1 (+.f64 1 (fma.f64 N N N)))) (pow.f64 (atan2.f64 1 (+.f64 1 (fma.f64 N N N))) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (atan2.f64 1 (+.f64 1 (fma.f64 N N N)))) (*.f64 (sqrt.f64 (atan2.f64 1 (+.f64 1 (fma.f64 N N N)))) (pow.f64 (atan2.f64 1 (+.f64 1 (fma.f64 N N N))) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (atan2.f64 1 (+.f64 1 (fma.f64 N N N))) 3/2) (pow.f64 (atan2.f64 1 (+.f64 1 (fma.f64 N N N))) 3/2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (pow.f64 (cbrt.f64 (atan2.f64 1 (+.f64 1 (fma.f64 N N N)))) 2) 3) (atan2.f64 1 (+.f64 1 (fma.f64 N N N))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (sqrt.f64 (atan2.f64 1 (+.f64 1 (fma.f64 N N N)))) 3) (pow.f64 (sqrt.f64 (atan2.f64 1 (+.f64 1 (fma.f64 N N N)))) 3))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (pow.f64 (atan2.f64 1 (+.f64 1 (fma.f64 N N N))) 2) 1) (atan2.f64 1 (+.f64 1 (fma.f64 N N N))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (pow.f64 (atan2.f64 1 (+.f64 1 (fma.f64 N N N))) 2) (pow.f64 (cbrt.f64 (atan2.f64 1 (+.f64 1 (fma.f64 N N N)))) 2)) (cbrt.f64 (atan2.f64 1 (+.f64 1 (fma.f64 N N N)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (pow.f64 (atan2.f64 1 (+.f64 1 (fma.f64 N N N))) 2) (sqrt.f64 (atan2.f64 1 (+.f64 1 (fma.f64 N N N))))) (sqrt.f64 (atan2.f64 1 (+.f64 1 (fma.f64 N N N)))))))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (atan2.f64 1 (+.f64 1 (fma.f64 N N N))) 6))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (pow.f64 (atan2.f64 1 (+.f64 1 (fma.f64 N N N))) 3)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (pow.f64 (atan2.f64 1 (+.f64 1 (fma.f64 N N N))) 3) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (pow.f64 (atan2.f64 1 (+.f64 1 (fma.f64 N N N))) 3)))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (pow.f64 (atan2.f64 1 (+.f64 1 (fma.f64 N N N))) 3)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 3 (log.f64 (atan2.f64 1 (+.f64 1 (fma.f64 N N N)))))))))) |
| 1× | egg-herbie |
| 25× | fma-def_binary64 |
| 6× | +-commutative_binary64 |
| 4× | distribute-lft-in_binary64 |
| 3× | distribute-rgt1-in_binary64 |
| 2× | *-commutative_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 6 | 132 |
| 1 | 11 | 132 |
| 2 | 17 | 132 |
| 3 | 26 | 132 |
| 4 | 34 | 132 |
| 5 | 38 | 132 |
| 6 | 50 | 132 |
| 7 | 63 | 132 |
| 8 | 68 | 132 |
| 9 | 69 | 132 |
| 1× | saturated |
| Inputs |
|---|
(atan2.f64 1 (+.f64 (fma.f64 N N N) 1)) |
(atan2.f64 1 (+.f64 (fma.f64 N N N) 1)) |
(atan2.f64 1 (+.f64 (fma.f64 N N N) 1)) |
(atan2.f64 1 (+.f64 (fma.f64 N N N) 1)) |
(atan2.f64 1 (+.f64 (fma.f64 N N N) 1)) |
(atan2.f64 1 (+.f64 (fma.f64 N N N) 1)) |
(atan2.f64 1 (+.f64 (fma.f64 N N N) 1)) |
(atan2.f64 1 (+.f64 (fma.f64 N N N) 1)) |
(atan2.f64 1 (+.f64 (fma.f64 N N N) 1)) |
(atan2.f64 1 (+.f64 (fma.f64 N N N) 1)) |
(atan2.f64 1 (+.f64 (fma.f64 N N N) 1)) |
(atan2.f64 1 (+.f64 (fma.f64 N N N) 1)) |
| Outputs |
|---|
(atan2.f64 1 (+.f64 (fma.f64 N N N) 1)) |
(atan2.f64 1 (+.f64 1 (fma.f64 N N N))) |
(atan2.f64 1 (+.f64 (fma.f64 N N N) 1)) |
(atan2.f64 1 (+.f64 1 (fma.f64 N N N))) |
(atan2.f64 1 (+.f64 (fma.f64 N N N) 1)) |
(atan2.f64 1 (+.f64 1 (fma.f64 N N N))) |
(atan2.f64 1 (+.f64 (fma.f64 N N N) 1)) |
(atan2.f64 1 (+.f64 1 (fma.f64 N N N))) |
(atan2.f64 1 (+.f64 (fma.f64 N N N) 1)) |
(atan2.f64 1 (+.f64 1 (fma.f64 N N N))) |
(atan2.f64 1 (+.f64 (fma.f64 N N N) 1)) |
(atan2.f64 1 (+.f64 1 (fma.f64 N N N))) |
(atan2.f64 1 (+.f64 (fma.f64 N N N) 1)) |
(atan2.f64 1 (+.f64 1 (fma.f64 N N N))) |
(atan2.f64 1 (+.f64 (fma.f64 N N N) 1)) |
(atan2.f64 1 (+.f64 1 (fma.f64 N N N))) |
(atan2.f64 1 (+.f64 (fma.f64 N N N) 1)) |
(atan2.f64 1 (+.f64 1 (fma.f64 N N N))) |
(atan2.f64 1 (+.f64 (fma.f64 N N N) 1)) |
(atan2.f64 1 (+.f64 1 (fma.f64 N N N))) |
(atan2.f64 1 (+.f64 (fma.f64 N N N) 1)) |
(atan2.f64 1 (+.f64 1 (fma.f64 N N N))) |
(atan2.f64 1 (+.f64 (fma.f64 N N N) 1)) |
(atan2.f64 1 (+.f64 1 (fma.f64 N N N))) |
Found 3 expressions with local error:
| New | Error | Program |
|---|---|---|
| 0.1b | (atan2.f64 1 (+.f64 1 (fma.f64 N N N))) | |
| ✓ | 0.2b | (pow.f64 (cbrt.f64 (atan2.f64 1 (+.f64 1 (fma.f64 N N N)))) 3) |
| ✓ | 15.6b | (cbrt.f64 (atan2.f64 1 (+.f64 1 (fma.f64 N N N)))) |
Compiled 42 to 22 computations (47.6% saved)
6 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 7.0ms | N | @ | inf | (cbrt.f64 (atan2.f64 1 (+.f64 1 (fma.f64 N N N)))) |
| 3.0ms | N | @ | -inf | (cbrt.f64 (atan2.f64 1 (+.f64 1 (fma.f64 N N N)))) |
| 3.0ms | N | @ | 0 | (cbrt.f64 (atan2.f64 1 (+.f64 1 (fma.f64 N N N)))) |
| 2.0ms | N | @ | inf | (pow.f64 (cbrt.f64 (atan2.f64 1 (+.f64 1 (fma.f64 N N N)))) 3) |
| 1.0ms | N | @ | -inf | (pow.f64 (cbrt.f64 (atan2.f64 1 (+.f64 1 (fma.f64 N N N)))) 3) |
| 1× | batch-egg-rewrite |
| 761× | pow1_binary64 |
| 714× | add-log-exp_binary64 |
| 713× | log1p-expm1-u_binary64 |
| 713× | expm1-log1p-u_binary64 |
| 698× | add-exp-log_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 9 | 24 |
| 1 | 188 | 24 |
| 2 | 1976 | 24 |
| 1× | node limit |
| Inputs |
|---|
(cbrt.f64 (atan2.f64 1 (+.f64 1 (fma.f64 N N N)))) |
(pow.f64 (cbrt.f64 (atan2.f64 1 (+.f64 1 (fma.f64 N N N)))) 3) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (cbrt.f64 (atan2.f64 1 (+.f64 1 (fma.f64 N N N))))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (cbrt.f64 (atan2.f64 1 (+.f64 1 (fma.f64 N N N)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (atan2.f64 1 (+.f64 1 (fma.f64 N N N)))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (cbrt.f64 (atan2.f64 1 (+.f64 1 (fma.f64 N N N))))) (pow.f64 (cbrt.f64 (cbrt.f64 (atan2.f64 1 (+.f64 1 (fma.f64 N N N))))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (cbrt.f64 (atan2.f64 1 (+.f64 1 (fma.f64 N N N))))) (pow.f64 (pow.f64 (cbrt.f64 (atan2.f64 1 (+.f64 1 (fma.f64 N N N)))) 2) 1/3))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (cbrt.f64 (atan2.f64 1 (+.f64 1 (fma.f64 N N N))))) 2) (cbrt.f64 (cbrt.f64 (atan2.f64 1 (+.f64 1 (fma.f64 N N N))))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (atan2.f64 1 (+.f64 1 (fma.f64 N N N))) 1/6) (pow.f64 (atan2.f64 1 (+.f64 1 (fma.f64 N N N))) 1/6))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 1 1/3) (cbrt.f64 (atan2.f64 1 (+.f64 1 (fma.f64 N N N)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (pow.f64 (cbrt.f64 (atan2.f64 1 (+.f64 1 (fma.f64 N N N)))) 2) 1/3) (cbrt.f64 (cbrt.f64 (atan2.f64 1 (+.f64 1 (fma.f64 N N N))))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (sqrt.f64 (atan2.f64 1 (+.f64 1 (fma.f64 N N N)))) 1/3) (pow.f64 (sqrt.f64 (atan2.f64 1 (+.f64 1 (fma.f64 N N N)))) 1/3))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (atan2.f64 1 (+.f64 1 (fma.f64 N N N))) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (atan2.f64 1 (+.f64 1 (fma.f64 N N N)))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (cbrt.f64 (atan2.f64 1 (+.f64 1 (fma.f64 N N N))))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (atan2.f64 1 (+.f64 1 (fma.f64 N N N))) 1/6) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (cbrt.f64 (atan2.f64 1 (+.f64 1 (fma.f64 N N N)))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (cbrt.f64 (atan2.f64 1 (+.f64 1 (fma.f64 N N N))))))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (cbrt.f64 (atan2.f64 1 (+.f64 1 (fma.f64 N N N))))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (cbrt.f64 (atan2.f64 1 (+.f64 1 (fma.f64 N N N))))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (cbrt.f64 (atan2.f64 1 (+.f64 1 (fma.f64 N N N)))))))))) |
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (atan2.f64 1 (+.f64 1 (fma.f64 N N N)))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (atan2.f64 1 (+.f64 1 (fma.f64 N N N))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (atan2.f64 1 (+.f64 1 (fma.f64 N N N))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (atan2.f64 1 (+.f64 1 (fma.f64 N N N)))) (pow.f64 (cbrt.f64 (atan2.f64 1 (+.f64 1 (fma.f64 N N N)))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (atan2.f64 1 (+.f64 1 (fma.f64 N N N)))) 2) (cbrt.f64 (atan2.f64 1 (+.f64 1 (fma.f64 N N N)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (cbrt.f64 (atan2.f64 1 (+.f64 1 (fma.f64 N N N))))) 2) (*.f64 (cbrt.f64 (cbrt.f64 (atan2.f64 1 (+.f64 1 (fma.f64 N N N))))) (pow.f64 (cbrt.f64 (atan2.f64 1 (+.f64 1 (fma.f64 N N N)))) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (atan2.f64 1 (+.f64 1 (fma.f64 N N N)))) (sqrt.f64 (atan2.f64 1 (+.f64 1 (fma.f64 N N N)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (atan2.f64 1 (+.f64 1 (fma.f64 N N N))) 1/6) (*.f64 (pow.f64 (atan2.f64 1 (+.f64 1 (fma.f64 N N N))) 1/6) (pow.f64 (cbrt.f64 (atan2.f64 1 (+.f64 1 (fma.f64 N N N)))) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (pow.f64 (cbrt.f64 (cbrt.f64 (atan2.f64 1 (+.f64 1 (fma.f64 N N N))))) 2) 3) (cbrt.f64 (atan2.f64 1 (+.f64 1 (fma.f64 N N N)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (pow.f64 (atan2.f64 1 (+.f64 1 (fma.f64 N N N))) 1/6) 3) (pow.f64 (pow.f64 (atan2.f64 1 (+.f64 1 (fma.f64 N N N))) 1/6) 3))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (pow.f64 (cbrt.f64 (atan2.f64 1 (+.f64 1 (fma.f64 N N N)))) 2) 1) (cbrt.f64 (atan2.f64 1 (+.f64 1 (fma.f64 N N N)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (pow.f64 (cbrt.f64 (atan2.f64 1 (+.f64 1 (fma.f64 N N N)))) 2) (pow.f64 (cbrt.f64 (cbrt.f64 (atan2.f64 1 (+.f64 1 (fma.f64 N N N))))) 2)) (cbrt.f64 (cbrt.f64 (atan2.f64 1 (+.f64 1 (fma.f64 N N N))))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (pow.f64 (cbrt.f64 (atan2.f64 1 (+.f64 1 (fma.f64 N N N)))) 2) (pow.f64 (atan2.f64 1 (+.f64 1 (fma.f64 N N N))) 1/6)) (pow.f64 (atan2.f64 1 (+.f64 1 (fma.f64 N N N))) 1/6))))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (atan2.f64 1 (+.f64 1 (fma.f64 N N N))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (atan2.f64 1 (+.f64 1 (fma.f64 N N N)))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (atan2.f64 1 (+.f64 1 (fma.f64 N N N))) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (atan2.f64 1 (+.f64 1 (fma.f64 N N N)))))))) (#(struct:change #<rule egg-rr> (2) ((x atan2.f64 1 (+.f64 1 (fma.f64 N N N)))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (atan2.f64 1 (+.f64 1 (fma.f64 N N N)))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (atan2.f64 1 (+.f64 1 (fma.f64 N N N))))))))) |
| 1× | egg-herbie |
| 1290× | sqr-pow_binary64 |
| 666× | pow-sqr_binary64 |
| 625× | cube-prod_binary64 |
| 558× | fabs-mul_binary64 |
| 373× | unpow3_binary64 |
Useful iterations: 1 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 11 | 324 |
| 1 | 27 | 288 |
| 2 | 41 | 288 |
| 3 | 61 | 288 |
| 4 | 93 | 288 |
| 5 | 190 | 288 |
| 6 | 586 | 288 |
| 7 | 1263 | 288 |
| 8 | 1360 | 288 |
| 9 | 1499 | 288 |
| 10 | 1662 | 288 |
| 11 | 1901 | 288 |
| 12 | 2228 | 288 |
| 13 | 2656 | 288 |
| 14 | 3163 | 288 |
| 15 | 3770 | 288 |
| 16 | 4497 | 288 |
| 17 | 4818 | 288 |
| 18 | 5102 | 288 |
| 19 | 5324 | 288 |
| 20 | 5502 | 288 |
| 21 | 5584 | 288 |
| 22 | 6527 | 288 |
| 23 | 7504 | 288 |
| 24 | 7970 | 288 |
| 1× | node limit |
| Inputs |
|---|
(pow.f64 (atan2.f64 1 (+.f64 (fma.f64 N N N) 1)) 1/3) |
(pow.f64 (atan2.f64 1 (+.f64 (fma.f64 N N N) 1)) 1/3) |
(pow.f64 (atan2.f64 1 (+.f64 (fma.f64 N N N) 1)) 1/3) |
(pow.f64 (atan2.f64 1 (+.f64 (fma.f64 N N N) 1)) 1/3) |
(pow.f64 (atan2.f64 1 (+.f64 (fma.f64 N N N) 1)) 1/3) |
(pow.f64 (atan2.f64 1 (+.f64 (fma.f64 N N N) 1)) 1/3) |
(pow.f64 (atan2.f64 1 (+.f64 (fma.f64 N N N) 1)) 1/3) |
(pow.f64 (atan2.f64 1 (+.f64 (fma.f64 N N N) 1)) 1/3) |
(pow.f64 (atan2.f64 1 (+.f64 (fma.f64 N N N) 1)) 1/3) |
(pow.f64 (atan2.f64 1 (+.f64 (fma.f64 N N N) 1)) 1/3) |
(pow.f64 (atan2.f64 1 (+.f64 (fma.f64 N N N) 1)) 1/3) |
(pow.f64 (atan2.f64 1 (+.f64 (fma.f64 N N N) 1)) 1/3) |
(*.f64 (atan2.f64 1 (+.f64 (fma.f64 N N N) 1)) (pow.f64 1 1/3)) |
(*.f64 (atan2.f64 1 (+.f64 (fma.f64 N N N) 1)) (pow.f64 1 1/3)) |
(*.f64 (atan2.f64 1 (+.f64 (fma.f64 N N N) 1)) (pow.f64 1 1/3)) |
(*.f64 (atan2.f64 1 (+.f64 (fma.f64 N N N) 1)) (pow.f64 1 1/3)) |
(*.f64 (pow.f64 1 1/3) (atan2.f64 1 (+.f64 (fma.f64 N N N) 1))) |
(*.f64 (pow.f64 1 1/3) (atan2.f64 1 (+.f64 (fma.f64 N N N) 1))) |
(*.f64 (pow.f64 1 1/3) (atan2.f64 1 (+.f64 (fma.f64 N N N) 1))) |
(*.f64 (pow.f64 1 1/3) (atan2.f64 1 (+.f64 (fma.f64 N N N) 1))) |
(*.f64 (atan2.f64 1 (+.f64 (fma.f64 N N N) 1)) (pow.f64 1 1/3)) |
(*.f64 (atan2.f64 1 (+.f64 (fma.f64 N N N) 1)) (pow.f64 1 1/3)) |
(*.f64 (atan2.f64 1 (+.f64 (fma.f64 N N N) 1)) (pow.f64 1 1/3)) |
(*.f64 (atan2.f64 1 (+.f64 (fma.f64 N N N) 1)) (pow.f64 1 1/3)) |
| Outputs |
|---|
(pow.f64 (atan2.f64 1 (+.f64 (fma.f64 N N N) 1)) 1/3) |
(cbrt.f64 (atan2.f64 1 (+.f64 1 (fma.f64 N N N)))) |
(pow.f64 (atan2.f64 1 (+.f64 (fma.f64 N N N) 1)) 1/3) |
(cbrt.f64 (atan2.f64 1 (+.f64 1 (fma.f64 N N N)))) |
(pow.f64 (atan2.f64 1 (+.f64 (fma.f64 N N N) 1)) 1/3) |
(cbrt.f64 (atan2.f64 1 (+.f64 1 (fma.f64 N N N)))) |
(pow.f64 (atan2.f64 1 (+.f64 (fma.f64 N N N) 1)) 1/3) |
(cbrt.f64 (atan2.f64 1 (+.f64 1 (fma.f64 N N N)))) |
(pow.f64 (atan2.f64 1 (+.f64 (fma.f64 N N N) 1)) 1/3) |
(cbrt.f64 (atan2.f64 1 (+.f64 1 (fma.f64 N N N)))) |
(pow.f64 (atan2.f64 1 (+.f64 (fma.f64 N N N) 1)) 1/3) |
(cbrt.f64 (atan2.f64 1 (+.f64 1 (fma.f64 N N N)))) |
(pow.f64 (atan2.f64 1 (+.f64 (fma.f64 N N N) 1)) 1/3) |
(cbrt.f64 (atan2.f64 1 (+.f64 1 (fma.f64 N N N)))) |
(pow.f64 (atan2.f64 1 (+.f64 (fma.f64 N N N) 1)) 1/3) |
(cbrt.f64 (atan2.f64 1 (+.f64 1 (fma.f64 N N N)))) |
(pow.f64 (atan2.f64 1 (+.f64 (fma.f64 N N N) 1)) 1/3) |
(cbrt.f64 (atan2.f64 1 (+.f64 1 (fma.f64 N N N)))) |
(pow.f64 (atan2.f64 1 (+.f64 (fma.f64 N N N) 1)) 1/3) |
(cbrt.f64 (atan2.f64 1 (+.f64 1 (fma.f64 N N N)))) |
(pow.f64 (atan2.f64 1 (+.f64 (fma.f64 N N N) 1)) 1/3) |
(cbrt.f64 (atan2.f64 1 (+.f64 1 (fma.f64 N N N)))) |
(pow.f64 (atan2.f64 1 (+.f64 (fma.f64 N N N) 1)) 1/3) |
(cbrt.f64 (atan2.f64 1 (+.f64 1 (fma.f64 N N N)))) |
(*.f64 (atan2.f64 1 (+.f64 (fma.f64 N N N) 1)) (pow.f64 1 1/3)) |
(*.f64 1 (atan2.f64 1 (+.f64 1 (fma.f64 N N N)))) |
(atan2.f64 1 (+.f64 1 (fma.f64 N N N))) |
(*.f64 (atan2.f64 1 (+.f64 (fma.f64 N N N) 1)) (pow.f64 1 1/3)) |
(*.f64 1 (atan2.f64 1 (+.f64 1 (fma.f64 N N N)))) |
(atan2.f64 1 (+.f64 1 (fma.f64 N N N))) |
(*.f64 (atan2.f64 1 (+.f64 (fma.f64 N N N) 1)) (pow.f64 1 1/3)) |
(*.f64 1 (atan2.f64 1 (+.f64 1 (fma.f64 N N N)))) |
(atan2.f64 1 (+.f64 1 (fma.f64 N N N))) |
(*.f64 (atan2.f64 1 (+.f64 (fma.f64 N N N) 1)) (pow.f64 1 1/3)) |
(*.f64 1 (atan2.f64 1 (+.f64 1 (fma.f64 N N N)))) |
(atan2.f64 1 (+.f64 1 (fma.f64 N N N))) |
(*.f64 (pow.f64 1 1/3) (atan2.f64 1 (+.f64 (fma.f64 N N N) 1))) |
(*.f64 1 (atan2.f64 1 (+.f64 1 (fma.f64 N N N)))) |
(atan2.f64 1 (+.f64 1 (fma.f64 N N N))) |
(*.f64 (pow.f64 1 1/3) (atan2.f64 1 (+.f64 (fma.f64 N N N) 1))) |
(*.f64 1 (atan2.f64 1 (+.f64 1 (fma.f64 N N N)))) |
(atan2.f64 1 (+.f64 1 (fma.f64 N N N))) |
(*.f64 (pow.f64 1 1/3) (atan2.f64 1 (+.f64 (fma.f64 N N N) 1))) |
(*.f64 1 (atan2.f64 1 (+.f64 1 (fma.f64 N N N)))) |
(atan2.f64 1 (+.f64 1 (fma.f64 N N N))) |
(*.f64 (pow.f64 1 1/3) (atan2.f64 1 (+.f64 (fma.f64 N N N) 1))) |
(*.f64 1 (atan2.f64 1 (+.f64 1 (fma.f64 N N N)))) |
(atan2.f64 1 (+.f64 1 (fma.f64 N N N))) |
(*.f64 (atan2.f64 1 (+.f64 (fma.f64 N N N) 1)) (pow.f64 1 1/3)) |
(*.f64 1 (atan2.f64 1 (+.f64 1 (fma.f64 N N N)))) |
(atan2.f64 1 (+.f64 1 (fma.f64 N N N))) |
(*.f64 (atan2.f64 1 (+.f64 (fma.f64 N N N) 1)) (pow.f64 1 1/3)) |
(*.f64 1 (atan2.f64 1 (+.f64 1 (fma.f64 N N N)))) |
(atan2.f64 1 (+.f64 1 (fma.f64 N N N))) |
(*.f64 (atan2.f64 1 (+.f64 (fma.f64 N N N) 1)) (pow.f64 1 1/3)) |
(*.f64 1 (atan2.f64 1 (+.f64 1 (fma.f64 N N N)))) |
(atan2.f64 1 (+.f64 1 (fma.f64 N N N))) |
(*.f64 (atan2.f64 1 (+.f64 (fma.f64 N N N) 1)) (pow.f64 1 1/3)) |
(*.f64 1 (atan2.f64 1 (+.f64 1 (fma.f64 N N N)))) |
(atan2.f64 1 (+.f64 1 (fma.f64 N N N))) |
Found 4 expressions with local error:
| New | Error | Program |
|---|---|---|
| 0.0b | (atan2.f64 (+.f64 N (-.f64 1 N)) (+.f64 1 (fma.f64 N N N))) | |
| ✓ | 0.0b | (*.f64 (pow.f64 (atan2.f64 (+.f64 N (-.f64 1 N)) (+.f64 1 (fma.f64 N N N))) 1/4) (sqrt.f64 (atan2.f64 (+.f64 N (-.f64 1 N)) (+.f64 1 (fma.f64 N N N))))) |
| 0.5b | (sqrt.f64 (atan2.f64 (+.f64 N (-.f64 1 N)) (+.f64 1 (fma.f64 N N N)))) | |
| 3.4b | (+.f64 N (-.f64 1 N)) |
Compiled 132 to 73 computations (44.7% saved)
3 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 50.0ms | N | @ | 0 | (*.f64 (pow.f64 (atan2.f64 (+.f64 N (-.f64 1 N)) (+.f64 1 (fma.f64 N N N))) 1/4) (sqrt.f64 (atan2.f64 (+.f64 N (-.f64 1 N)) (+.f64 1 (fma.f64 N N N))))) |
| 24.0ms | N | @ | inf | (*.f64 (pow.f64 (atan2.f64 (+.f64 N (-.f64 1 N)) (+.f64 1 (fma.f64 N N N))) 1/4) (sqrt.f64 (atan2.f64 (+.f64 N (-.f64 1 N)) (+.f64 1 (fma.f64 N N N))))) |
| 23.0ms | N | @ | -inf | (*.f64 (pow.f64 (atan2.f64 (+.f64 N (-.f64 1 N)) (+.f64 1 (fma.f64 N N N))) 1/4) (sqrt.f64 (atan2.f64 (+.f64 N (-.f64 1 N)) (+.f64 1 (fma.f64 N N N))))) |
| 1× | batch-egg-rewrite |
| 833× | prod-diff_binary64 |
| 521× | log-prod_binary64 |
| 417× | fma-def_binary64 |
| 212× | pow1/3_binary64 |
| 210× | expm1-udef_binary64 |
Useful iterations: 1 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 12 | 41 |
| 1 | 266 | 20 |
| 2 | 3508 | 20 |
| 1× | node limit |
| Inputs |
|---|
(*.f64 (pow.f64 (atan2.f64 (+.f64 N (-.f64 1 N)) (+.f64 1 (fma.f64 N N N))) 1/4) (sqrt.f64 (atan2.f64 (+.f64 N (-.f64 1 N)) (+.f64 1 (fma.f64 N N N))))) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x +.f64 0 (pow.f64 (atan2.f64 (+.f64 N (-.f64 1 N)) (+.f64 1 (fma.f64 N N N))) 3/4))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (*.f64 (cbrt.f64 (exp.f64 (pow.f64 (atan2.f64 (+.f64 N (-.f64 1 N)) (+.f64 1 (fma.f64 N N N))) 3/4))) (cbrt.f64 (exp.f64 (pow.f64 (atan2.f64 (+.f64 N (-.f64 1 N)) (+.f64 1 (fma.f64 N N N))) 3/4))))) (log.f64 (cbrt.f64 (exp.f64 (pow.f64 (atan2.f64 (+.f64 N (-.f64 1 N)) (+.f64 1 (fma.f64 N N N))) 3/4)))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (sqrt.f64 (exp.f64 (pow.f64 (atan2.f64 (+.f64 N (-.f64 1 N)) (+.f64 1 (fma.f64 N N N))) 3/4)))) (log.f64 (sqrt.f64 (exp.f64 (pow.f64 (atan2.f64 (+.f64 N (-.f64 1 N)) (+.f64 1 (fma.f64 N N N))) 3/4)))))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (pow.f64 (atan2.f64 (+.f64 N (-.f64 1 N)) (+.f64 1 (fma.f64 N N N))) 3/4))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (atan2.f64 (+.f64 N (-.f64 1 N)) (+.f64 1 (fma.f64 N N N))) 3/4)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (atan2.f64 (+.f64 N (-.f64 1 N)) (+.f64 1 (fma.f64 N N N))) 1/4) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (atan2.f64 (+.f64 N (-.f64 1 N)) (+.f64 1 (fma.f64 N N N))) 3/4) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (pow.f64 (atan2.f64 (+.f64 N (-.f64 1 N)) (+.f64 1 (fma.f64 N N N))) 3/4) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (pow.f64 (atan2.f64 (+.f64 N (-.f64 1 N)) (+.f64 1 (fma.f64 N N N))) 3/4)) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (atan2.f64 (+.f64 N (-.f64 1 N)) (+.f64 1 (fma.f64 N N N))) 3/2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (pow.f64 (atan2.f64 (+.f64 N (-.f64 1 N)) (+.f64 1 (fma.f64 N N N))) 3/4)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (pow.f64 (atan2.f64 (+.f64 N (-.f64 1 N)) (+.f64 1 (fma.f64 N N N))) 3/4))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (pow.f64 (atan2.f64 (+.f64 N (-.f64 1 N)) (+.f64 1 (fma.f64 N N N))) 3/4) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (pow.f64 (atan2.f64 (+.f64 N (-.f64 1 N)) (+.f64 1 (fma.f64 N N N))) 3/4)))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (pow.f64 (atan2.f64 (+.f64 N (-.f64 1 N)) (+.f64 1 (fma.f64 N N N))) 3/4)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 3/4 (log.f64 (atan2.f64 (+.f64 N (-.f64 1 N)) (+.f64 1 (fma.f64 N N N))))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 3/4 (log.f64 (atan2.f64 (+.f64 N (-.f64 1 N)) (+.f64 1 (fma.f64 N N N))))) 1)))))) |
| 1× | egg-herbie |
| 1336× | sqr-pow_binary64 |
| 724× | unswap-sqr_binary64 |
| 594× | cube-prod_binary64 |
| 490× | fabs-mul_binary64 |
| 428× | pow-sqr_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 10 | 204 |
| 1 | 27 | 204 |
| 2 | 43 | 204 |
| 3 | 70 | 204 |
| 4 | 120 | 204 |
| 5 | 277 | 204 |
| 6 | 1056 | 204 |
| 7 | 2380 | 204 |
| 8 | 2545 | 204 |
| 9 | 2826 | 204 |
| 10 | 3140 | 204 |
| 11 | 3583 | 204 |
| 12 | 4193 | 204 |
| 13 | 4998 | 204 |
| 14 | 5485 | 204 |
| 15 | 5956 | 204 |
| 16 | 6223 | 204 |
| 17 | 6476 | 204 |
| 18 | 6616 | 204 |
| 19 | 7470 | 204 |
| 1× | node limit |
| Inputs |
|---|
(pow.f64 (pow.f64 (atan2.f64 1 (+.f64 (fma.f64 N N N) 1)) 3) 1/4) |
(pow.f64 (pow.f64 (atan2.f64 1 (+.f64 (fma.f64 N N N) 1)) 3) 1/4) |
(pow.f64 (pow.f64 (atan2.f64 1 (+.f64 (fma.f64 N N N) 1)) 3) 1/4) |
(pow.f64 (pow.f64 (atan2.f64 1 (+.f64 (fma.f64 N N N) 1)) 3) 1/4) |
(pow.f64 (pow.f64 (atan2.f64 1 (+.f64 (fma.f64 N N N) 1)) 3) 1/4) |
(pow.f64 (pow.f64 (atan2.f64 1 (+.f64 (fma.f64 N N N) 1)) 3) 1/4) |
(pow.f64 (pow.f64 (atan2.f64 1 (+.f64 (fma.f64 N N N) 1)) 3) 1/4) |
(pow.f64 (pow.f64 (atan2.f64 1 (+.f64 (fma.f64 N N N) 1)) 3) 1/4) |
(pow.f64 (pow.f64 (atan2.f64 1 (+.f64 (fma.f64 N N N) 1)) 3) 1/4) |
(pow.f64 (pow.f64 (atan2.f64 1 (+.f64 (fma.f64 N N N) 1)) 3) 1/4) |
(pow.f64 (pow.f64 (atan2.f64 1 (+.f64 (fma.f64 N N N) 1)) 3) 1/4) |
(pow.f64 (pow.f64 (atan2.f64 1 (+.f64 (fma.f64 N N N) 1)) 3) 1/4) |
| Outputs |
|---|
(pow.f64 (pow.f64 (atan2.f64 1 (+.f64 (fma.f64 N N N) 1)) 3) 1/4) |
(pow.f64 (pow.f64 (atan2.f64 1 (+.f64 1 (fma.f64 N N N))) 3) 1/4) |
(pow.f64 (pow.f64 (atan2.f64 1 (+.f64 (fma.f64 N N N) 1)) 3) 1/4) |
(pow.f64 (pow.f64 (atan2.f64 1 (+.f64 1 (fma.f64 N N N))) 3) 1/4) |
(pow.f64 (pow.f64 (atan2.f64 1 (+.f64 (fma.f64 N N N) 1)) 3) 1/4) |
(pow.f64 (pow.f64 (atan2.f64 1 (+.f64 1 (fma.f64 N N N))) 3) 1/4) |
(pow.f64 (pow.f64 (atan2.f64 1 (+.f64 (fma.f64 N N N) 1)) 3) 1/4) |
(pow.f64 (pow.f64 (atan2.f64 1 (+.f64 1 (fma.f64 N N N))) 3) 1/4) |
(pow.f64 (pow.f64 (atan2.f64 1 (+.f64 (fma.f64 N N N) 1)) 3) 1/4) |
(pow.f64 (pow.f64 (atan2.f64 1 (+.f64 1 (fma.f64 N N N))) 3) 1/4) |
(pow.f64 (pow.f64 (atan2.f64 1 (+.f64 (fma.f64 N N N) 1)) 3) 1/4) |
(pow.f64 (pow.f64 (atan2.f64 1 (+.f64 1 (fma.f64 N N N))) 3) 1/4) |
(pow.f64 (pow.f64 (atan2.f64 1 (+.f64 (fma.f64 N N N) 1)) 3) 1/4) |
(pow.f64 (pow.f64 (atan2.f64 1 (+.f64 1 (fma.f64 N N N))) 3) 1/4) |
(pow.f64 (pow.f64 (atan2.f64 1 (+.f64 (fma.f64 N N N) 1)) 3) 1/4) |
(pow.f64 (pow.f64 (atan2.f64 1 (+.f64 1 (fma.f64 N N N))) 3) 1/4) |
(pow.f64 (pow.f64 (atan2.f64 1 (+.f64 (fma.f64 N N N) 1)) 3) 1/4) |
(pow.f64 (pow.f64 (atan2.f64 1 (+.f64 1 (fma.f64 N N N))) 3) 1/4) |
(pow.f64 (pow.f64 (atan2.f64 1 (+.f64 (fma.f64 N N N) 1)) 3) 1/4) |
(pow.f64 (pow.f64 (atan2.f64 1 (+.f64 1 (fma.f64 N N N))) 3) 1/4) |
(pow.f64 (pow.f64 (atan2.f64 1 (+.f64 (fma.f64 N N N) 1)) 3) 1/4) |
(pow.f64 (pow.f64 (atan2.f64 1 (+.f64 1 (fma.f64 N N N))) 3) 1/4) |
(pow.f64 (pow.f64 (atan2.f64 1 (+.f64 (fma.f64 N N N) 1)) 3) 1/4) |
(pow.f64 (pow.f64 (atan2.f64 1 (+.f64 1 (fma.f64 N N N))) 3) 1/4) |
Compiled 20757 to 12407 computations (40.2% saved)
11 alts after pruning (5 fresh and 6 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 524 | 5 | 529 |
| Fresh | 0 | 0 | 0 |
| Picked | 1 | 0 | 1 |
| Done | 0 | 6 | 6 |
| Total | 525 | 11 | 536 |
| Status | Error | Program |
|---|---|---|
| 1.5b | (*.f64 (pow.f64 (cbrt.f64 (cbrt.f64 (atan2.f64 1 (+.f64 1 (fma.f64 N N N))))) 2) (*.f64 (cbrt.f64 (cbrt.f64 (atan2.f64 1 (+.f64 1 (fma.f64 N N N))))) (pow.f64 (cbrt.f64 (atan2.f64 1 (+.f64 1 (fma.f64 N N N)))) 2))) | |
| ✓ | 0.1b | (atan2.f64 1 (+.f64 1 (*.f64 N (+.f64 N 1)))) |
| 0.8b | (pow.f64 (pow.f64 (pow.f64 (atan2.f64 1 (+.f64 1 (fma.f64 N N N))) 1/4) 2) 2) | |
| ✓ | 1.4b | (pow.f64 (cbrt.f64 (atan2.f64 1 (+.f64 1 (fma.f64 N N N)))) 3) |
| 0.7b | (*.f64 (pow.f64 (atan2.f64 1 (+.f64 1 (fma.f64 N N N))) 1/4) (*.f64 (pow.f64 (atan2.f64 1 (+.f64 1 (fma.f64 N N N))) 1/4) (sqrt.f64 (atan2.f64 1 (+.f64 1 (fma.f64 N N N)))))) | |
| ✓ | 9.7b | (cbrt.f64 (pow.f64 (atan2.f64 1 (+.f64 (fma.f64 N N N) 1)) 3)) |
| ✓ | 0.7b | (pow.f64 (sqrt.f64 (atan2.f64 1 (+.f64 (fma.f64 N N N) 1))) 2) |
| ✓ | 1.5b | (exp.f64 (log.f64 (atan2.f64 1 (+.f64 1 (fma.f64 N N N))))) |
| 1.6b | (pow.f64 (*.f64 (cbrt.f64 (atan2.f64 1 (+.f64 1 (fma.f64 N N N)))) (cbrt.f64 (sqrt.f64 (atan2.f64 1 (+.f64 1 (fma.f64 N N N)))))) 2) | |
| 14.9b | (*.f64 (pow.f64 (atan2.f64 (+.f64 N (-.f64 1 N)) (+.f64 1 (fma.f64 N N N))) 1/4) (pow.f64 (atan2.f64 (+.f64 N (-.f64 1 N)) (+.f64 1 (fma.f64 N N N))) 3/4)) | |
| ✓ | 16.2b | (-.f64 (atan.f64 (+.f64 N 1)) (atan.f64 N)) |
Compiled 201 to 142 computations (29.4% saved)
Total -32.9b remaining (-27534.9%)
Threshold costs -32.9b (-27534.9%)
| Inputs |
|---|
(atan2.f64 1 (+.f64 1 (*.f64 N (+.f64 N 1)))) |
(atan2.f64 (+.f64 N (-.f64 1 N)) (+.f64 1 (*.f64 N (+.f64 N 1)))) |
(-.f64 (atan.f64 (+.f64 N 1)) (atan.f64 N)) |
(exp.f64 (log.f64 (atan2.f64 1 (+.f64 1 (fma.f64 N N N))))) |
(-.f64 (cbrt.f64 (pow.f64 (atan.f64 (+.f64 N 1)) 3)) (atan.f64 N)) |
(-.f64 (pow.f64 (cbrt.f64 (atan.f64 (+.f64 N 1))) 3) (atan.f64 N)) |
(pow.f64 (cbrt.f64 (atan2.f64 1 (+.f64 1 (fma.f64 N N N)))) 3) |
(cbrt.f64 (pow.f64 (atan2.f64 1 (+.f64 (fma.f64 N N N) 1)) 3)) |
(pow.f64 (sqrt.f64 (atan2.f64 1 (+.f64 (fma.f64 N N N) 1))) 2) |
(cbrt.f64 (pow.f64 (atan2.f64 (+.f64 N (-.f64 1 N)) (+.f64 1 (fma.f64 N N N))) 3)) |
(pow.f64 (sqrt.f64 (atan2.f64 (+.f64 N (-.f64 1 N)) (+.f64 1 (fma.f64 N N N)))) 2) |
(pow.f64 (pow.f64 (pow.f64 (atan2.f64 1 (+.f64 1 (fma.f64 N N N))) 1/4) 2) 2) |
(*.f64 (pow.f64 (atan2.f64 (+.f64 N (-.f64 1 N)) (+.f64 1 (fma.f64 N N N))) 1/4) (pow.f64 (atan2.f64 (+.f64 N (-.f64 1 N)) (+.f64 1 (fma.f64 N N N))) 3/4)) |
(pow.f64 (*.f64 (cbrt.f64 (atan2.f64 1 (+.f64 1 (fma.f64 N N N)))) (cbrt.f64 (sqrt.f64 (atan2.f64 1 (+.f64 1 (fma.f64 N N N)))))) 2) |
(*.f64 (pow.f64 (atan2.f64 1 (+.f64 1 (fma.f64 N N N))) 1/4) (*.f64 (pow.f64 (atan2.f64 1 (+.f64 1 (fma.f64 N N N))) 1/4) (sqrt.f64 (atan2.f64 1 (+.f64 1 (fma.f64 N N N)))))) |
(*.f64 (pow.f64 (atan2.f64 (+.f64 N (-.f64 1 N)) (+.f64 1 (fma.f64 N N N))) 1/4) (*.f64 (pow.f64 (atan2.f64 (+.f64 N (-.f64 1 N)) (+.f64 1 (fma.f64 N N N))) 1/4) (sqrt.f64 (atan2.f64 (+.f64 N (-.f64 1 N)) (+.f64 1 (fma.f64 N N N)))))) |
(*.f64 (pow.f64 (cbrt.f64 (cbrt.f64 (atan2.f64 1 (+.f64 1 (fma.f64 N N N))))) 2) (*.f64 (cbrt.f64 (cbrt.f64 (atan2.f64 1 (+.f64 1 (fma.f64 N N N))))) (pow.f64 (cbrt.f64 (atan2.f64 1 (+.f64 1 (fma.f64 N N N)))) 2))) |
| Outputs |
|---|
(atan2.f64 1 (+.f64 1 (*.f64 N (+.f64 N 1)))) |
2 calls:
| 8.0ms | N |
| 4.0ms | (-.f64 (atan.f64 (+.f64 N 1)) (atan.f64 N)) |
| Error | Segments | Branch |
|---|---|---|
| 0.1b | 1 | N |
| 0.1b | 1 | (-.f64 (atan.f64 (+.f64 N 1)) (atan.f64 N)) |
Compiled 307 to 197 computations (35.8% saved)
| 1× | egg-herbie |
| 2× | +-commutative_binary64 |
| 1× | *-commutative_binary64 |
| 1× | 1-exp_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 7 | 13 |
| 1 | 12 | 13 |
| 1× | fuel |
| 1× | saturated |
| Inputs |
|---|
(atan2.f64 1 (+.f64 1 (*.f64 N (+.f64 N 1)))) |
| Outputs |
|---|
(atan2.f64 1 (+.f64 1 (*.f64 N (+.f64 N 1)))) |
(atan2.f64 1 (+.f64 1 (*.f64 N (+.f64 1 N)))) |
Compiled 10 to 8 computations (20% saved)
Compiled 10 to 8 computations (20% saved)
Loading profile data...