Time bar (total: 5.7s)
| 1× | search |
| True | Other | False | Iter |
|---|---|---|---|
| 0% | 100% | 0% | 0 |
| 100% | 0% | 0% | 1 |
Compiled 9 to 7 computations (22.2% saved)
| 1.3s | 2155× | body | 2048 | valid |
| 886.0ms | 4513× | body | 256 | valid |
| 422.0ms | 1069× | body | 1024 | valid |
| 180.0ms | 519× | 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 |
|---|---|---|
| ▶ | 14.9b | (-.f64 (atan.f64 (+.f64 N 1)) (atan.f64 N)) |
Compiled 8 to 6 computations (25% saved)
Found 1 expressions with local error:
| New | Error | Program |
|---|---|---|
| ✓ | 1.7b | (-.f64 (atan.f64 (+.f64 N 1)) (atan.f64 N)) |
Compiled 19 to 12 computations (36.8% saved)
3 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 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)) |
| 1.0ms | N | @ | inf | (-.f64 (atan.f64 (+.f64 N 1)) (atan.f64 N)) |
| 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 | 11 |
| 1 | 156 | 11 |
| 2 | 2213 | 11 |
| 1× | node limit |
| Inputs |
|---|
(-.f64 (atan.f64 (+.f64 N 1)) (atan.f64 N)) |
| 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 exp.f64 (log.f64 (-.f64 (atan.f64 (+.f64 N 1)) (atan.f64 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 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))))))) |
| 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 | 52 |
| 1 | 20 | 44 |
| 2 | 31 | 44 |
| 3 | 61 | 44 |
| 4 | 88 | 44 |
| 5 | 134 | 44 |
| 6 | 182 | 44 |
| 7 | 215 | 44 |
| 8 | 258 | 44 |
| 9 | 294 | 44 |
| 10 | 320 | 44 |
| 11 | 322 | 44 |
| 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)) |
| 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)) |
Compiled 599 to 388 computations (35.2% saved)
4 alts after pruning (3 fresh and 1 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 35 | 3 | 38 |
| Fresh | 0 | 0 | 0 |
| Picked | 0 | 1 | 1 |
| Done | 0 | 0 | 0 |
| Total | 35 | 4 | 39 |
| Status | Error | Program |
|---|---|---|
| ▶ | 30.7b | (fma.f64 (pow.f64 (cbrt.f64 (atan.f64 (+.f64 N 1))) 2) (cbrt.f64 (atan.f64 (+.f64 N 1))) (neg.f64 (atan.f64 N))) |
| ▶ | 14.0b | (atan2.f64 (+.f64 N (-.f64 1 N)) (+.f64 1 (*.f64 N (+.f64 N 1)))) |
| ▶ | 47.8b | (+.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))) |
| ✓ | 14.9b | (-.f64 (atan.f64 (+.f64 N 1)) (atan.f64 N)) |
Compiled 58 to 40 computations (31% saved)
Found 3 expressions with local error:
| New | Error | Program |
|---|---|---|
| ✓ | 0.3b | (sqrt.f64 (atan.f64 N)) |
| 1.7b | (-.f64 (atan.f64 (+.f64 N 1)) (atan.f64 N)) | |
| ✓ | 30.4b | (fma.f64 (neg.f64 (sqrt.f64 (atan.f64 N))) (sqrt.f64 (atan.f64 N)) (atan.f64 N)) |
Compiled 54 to 20 computations (63% saved)
6 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 2.0ms | N | @ | -inf | (fma.f64 (neg.f64 (sqrt.f64 (atan.f64 N))) (sqrt.f64 (atan.f64 N)) (atan.f64 N)) |
| 2.0ms | N | @ | 0 | (fma.f64 (neg.f64 (sqrt.f64 (atan.f64 N))) (sqrt.f64 (atan.f64 N)) (atan.f64 N)) |
| 1.0ms | N | @ | inf | (fma.f64 (neg.f64 (sqrt.f64 (atan.f64 N))) (sqrt.f64 (atan.f64 N)) (atan.f64 N)) |
| 0.0ms | N | @ | 0 | (sqrt.f64 (atan.f64 N)) |
| 0.0ms | N | @ | inf | (sqrt.f64 (atan.f64 N)) |
| 1× | batch-egg-rewrite |
| 463× | pow1_binary64 |
| 446× | add-sqr-sqrt_binary64 |
| 438× | *-un-lft-identity_binary64 |
| 427× | add-log-exp_binary64 |
| 426× | log1p-expm1-u_binary64 |
Useful iterations: 1 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 6 | 22 |
| 1 | 122 | 13 |
| 2 | 1490 | 13 |
| 1× | node limit |
| Inputs |
|---|
(fma.f64 (neg.f64 (sqrt.f64 (atan.f64 N))) (sqrt.f64 (atan.f64 N)) (atan.f64 N)) |
(sqrt.f64 (atan.f64 N)) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x +.f64 (atan.f64 N) (atan.f64 N))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (+.f64 (atan.f64 N) (atan.f64 N))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (atan.f64 N)) (+.f64 (sqrt.f64 (atan.f64 N)) (sqrt.f64 (atan.f64 N))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 (atan.f64 N) (atan.f64 N)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (+.f64 (atan.f64 N) (atan.f64 N)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (+.f64 (atan.f64 N) (atan.f64 N))) (pow.f64 (cbrt.f64 (+.f64 (atan.f64 N) (atan.f64 N))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (+.f64 (atan.f64 N) (atan.f64 N))) 2) (cbrt.f64 (+.f64 (atan.f64 N) (atan.f64 N))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (+.f64 (atan.f64 N) (atan.f64 N))) (sqrt.f64 (+.f64 (atan.f64 N) (atan.f64 N))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 (atan.f64 N) 3) (pow.f64 (atan.f64 N) 3)) (+.f64 (pow.f64 (atan.f64 N) 2) (-.f64 (pow.f64 (atan.f64 N) 2) (pow.f64 (atan.f64 N) 2))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (pow.f64 (atan.f64 N) 2) (pow.f64 (atan.f64 N) 2)) (-.f64 (atan.f64 N) (atan.f64 N)))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (+.f64 (atan.f64 N) (atan.f64 N)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (+.f64 (atan.f64 N) (atan.f64 N)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (+.f64 (atan.f64 N) (atan.f64 N))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (+.f64 (atan.f64 N) (atan.f64 N))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (+.f64 (atan.f64 N) (atan.f64 N)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (+.f64 (atan.f64 N) (atan.f64 N))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (+.f64 (atan.f64 N) (atan.f64 N)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (+.f64 (atan.f64 N) (atan.f64 N))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (+.f64 (atan.f64 N) (atan.f64 N))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (+.f64 (atan.f64 N) (atan.f64 N)))))))) |
((#(struct:change #<rule egg-rr> (2) ((x +.f64 0 (sqrt.f64 (atan.f64 N)))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 0 (sqrt.f64 (atan.f64 N)))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (sqrt.f64 (atan.f64 N))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (atan.f64 N)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (atan.f64 N)) -1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (sqrt.f64 (atan.f64 N)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (atan.f64 N)) (cbrt.f64 (sqrt.f64 (atan.f64 N))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (atan.f64 N)) (neg.f64 (cbrt.f64 (sqrt.f64 (atan.f64 N)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (sqrt.f64 (atan.f64 N))) (cbrt.f64 (atan.f64 N)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (atan.f64 N) 1/4) (pow.f64 (atan.f64 N) 1/4))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (atan.f64 N) 1/4) (neg.f64 (pow.f64 (atan.f64 N) 1/4)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 -1 (sqrt.f64 (atan.f64 N)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (pow.f64 (cbrt.f64 (atan.f64 N)) 2)) (sqrt.f64 (cbrt.f64 (atan.f64 N))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 1 1/2) (sqrt.f64 (atan.f64 N)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (pow.f64 (cbrt.f64 (atan.f64 N)) 2) 1/2) (pow.f64 (cbrt.f64 (atan.f64 N)) 1/2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (neg.f64 (cbrt.f64 (atan.f64 N))) (cbrt.f64 (sqrt.f64 (atan.f64 N))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (neg.f64 (pow.f64 (atan.f64 N) 1/4)) (pow.f64 (atan.f64 N) 1/4))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 -1 (cbrt.f64 (atan.f64 N))) (cbrt.f64 (sqrt.f64 (atan.f64 N))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 -1 (pow.f64 (atan.f64 N) 1/4)) (pow.f64 (atan.f64 N) 1/4))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 0 (pow.f64 (atan.f64 N) 3/2)) (+.f64 0 (+.f64 (atan.f64 N) (*.f64 0 (sqrt.f64 (atan.f64 N))))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 0 (atan.f64 N)) (sqrt.f64 (atan.f64 N)))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (atan.f64 N) 1/2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (atan.f64 N)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (atan.f64 N) 3/2) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (sqrt.f64 (atan.f64 N))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (atan.f64 N) 1/4) 2)))) (#(struct:change #<rule egg-rr> (2) ((x neg.f64 (sqrt.f64 (atan.f64 N)))))) (#(struct:change #<rule egg-rr> (2) ((x fabs.f64 (sqrt.f64 (atan.f64 N)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (sqrt.f64 (atan.f64 N))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (atan.f64 N) 3/2))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (sqrt.f64 (atan.f64 N))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (sqrt.f64 (atan.f64 N))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (sqrt.f64 (atan.f64 N)))))))) |
| 1× | egg-herbie |
| 4× | fma-def_binary64 |
| 3× | +-commutative_binary64 |
| 3× | sub-neg_binary64 |
| 2× | *-commutative_binary64 |
| 1× | associate-+l-_binary64 |
Useful iterations: 1 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 6 | 72 |
| 1 | 13 | 12 |
| 2 | 19 | 12 |
| 3 | 20 | 12 |
| 4 | 22 | 12 |
| 5 | 26 | 12 |
| 6 | 30 | 12 |
| 7 | 35 | 12 |
| 1× | saturated |
| Inputs |
|---|
(+.f64 (atan.f64 N) (*.f64 -1 (atan.f64 N))) |
(+.f64 (atan.f64 N) (*.f64 -1 (atan.f64 N))) |
(+.f64 (atan.f64 N) (*.f64 -1 (atan.f64 N))) |
(+.f64 (atan.f64 N) (*.f64 -1 (atan.f64 N))) |
(+.f64 (atan.f64 N) (*.f64 -1 (atan.f64 N))) |
(+.f64 (atan.f64 N) (*.f64 -1 (atan.f64 N))) |
(+.f64 (atan.f64 N) (*.f64 -1 (atan.f64 N))) |
(+.f64 (atan.f64 N) (*.f64 -1 (atan.f64 N))) |
(+.f64 (atan.f64 N) (*.f64 -1 (atan.f64 N))) |
(+.f64 (atan.f64 N) (*.f64 -1 (atan.f64 N))) |
(+.f64 (atan.f64 N) (*.f64 -1 (atan.f64 N))) |
(+.f64 (atan.f64 N) (*.f64 -1 (atan.f64 N))) |
| Outputs |
|---|
(+.f64 (atan.f64 N) (*.f64 -1 (atan.f64 N))) |
(*.f64 0 (atan.f64 N)) |
0 |
(+.f64 (atan.f64 N) (*.f64 -1 (atan.f64 N))) |
(*.f64 0 (atan.f64 N)) |
0 |
(+.f64 (atan.f64 N) (*.f64 -1 (atan.f64 N))) |
(*.f64 0 (atan.f64 N)) |
0 |
(+.f64 (atan.f64 N) (*.f64 -1 (atan.f64 N))) |
(*.f64 0 (atan.f64 N)) |
0 |
(+.f64 (atan.f64 N) (*.f64 -1 (atan.f64 N))) |
(*.f64 0 (atan.f64 N)) |
0 |
(+.f64 (atan.f64 N) (*.f64 -1 (atan.f64 N))) |
(*.f64 0 (atan.f64 N)) |
0 |
(+.f64 (atan.f64 N) (*.f64 -1 (atan.f64 N))) |
(*.f64 0 (atan.f64 N)) |
0 |
(+.f64 (atan.f64 N) (*.f64 -1 (atan.f64 N))) |
(*.f64 0 (atan.f64 N)) |
0 |
(+.f64 (atan.f64 N) (*.f64 -1 (atan.f64 N))) |
(*.f64 0 (atan.f64 N)) |
0 |
(+.f64 (atan.f64 N) (*.f64 -1 (atan.f64 N))) |
(*.f64 0 (atan.f64 N)) |
0 |
(+.f64 (atan.f64 N) (*.f64 -1 (atan.f64 N))) |
(*.f64 0 (atan.f64 N)) |
0 |
(+.f64 (atan.f64 N) (*.f64 -1 (atan.f64 N))) |
(*.f64 0 (atan.f64 N)) |
0 |
Found 3 expressions with local error:
| New | Error | Program |
|---|---|---|
| ✓ | 0.0b | (*.f64 N (+.f64 N 1)) |
| ✓ | 0.0b | (atan2.f64 (+.f64 N (-.f64 1 N)) (+.f64 1 (*.f64 N (+.f64 N 1)))) |
| ✓ | 2.9b | (+.f64 N (-.f64 1 N)) |
Compiled 39 to 26 computations (33.3% saved)
9 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 1.0ms | N | @ | -inf | (*.f64 N (+.f64 N 1)) |
| 1.0ms | N | @ | inf | (*.f64 N (+.f64 N 1)) |
| 1.0ms | N | @ | inf | (atan2.f64 (+.f64 N (-.f64 1 N)) (+.f64 1 (*.f64 N (+.f64 N 1)))) |
| 1.0ms | N | @ | 0 | (*.f64 N (+.f64 N 1)) |
| 1.0ms | N | @ | -inf | (atan2.f64 (+.f64 N (-.f64 1 N)) (+.f64 1 (*.f64 N (+.f64 N 1)))) |
| 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 | 33 |
| 1 | 210 | 29 |
| 2 | 3076 | 29 |
| 1× | node limit |
| Inputs |
|---|
(+.f64 N (-.f64 1 N)) |
(atan2.f64 (+.f64 N (-.f64 1 N)) (+.f64 1 (*.f64 N (+.f64 N 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 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 log1p.f64 (expm1.f64 (+.f64 N (-.f64 1 N))))))) (#(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 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))))) (#(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 +.f64 N (*.f64 N N))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 0 (fma.f64 N N N))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 N N) N)))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 (*.f64 N N) 1) N)))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (pow.f64 (cbrt.f64 (exp.f64 (fma.f64 N N N))) 2)) (log.f64 (cbrt.f64 (exp.f64 (fma.f64 N N N)))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (sqrt.f64 (exp.f64 (fma.f64 N N N)))) (log.f64 (sqrt.f64 (exp.f64 (fma.f64 N N N)))))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (fma.f64 N N N)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 N 6) (pow.f64 N 3)) (+.f64 (pow.f64 N 4) (-.f64 (*.f64 N N) (pow.f64 N 3))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (pow.f64 N 4) (*.f64 N N)) (fma.f64 N N (neg.f64 N)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (+.f64 1 (pow.f64 N 3)) N) (-.f64 (fma.f64 N N 1) N))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (fma.f64 N N -1) N) (+.f64 N -1))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 N (+.f64 1 (pow.f64 N 3))) (-.f64 (fma.f64 N N 1) N))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 N (fma.f64 N N -1)) (+.f64 N -1))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (fma.f64 N N N) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (fma.f64 N N N) 2) 1/2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (fma.f64 N N N)) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (hypot.f64 N (sqrt.f64 N)) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (fma.f64 N N N) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (fma.f64 N N N) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (fma.f64 N N N)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (fma.f64 N N N))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (exp.f64 N) (exp.f64 (*.f64 N N))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (+.f64 1 (expm1.f64 N)) (exp.f64 (*.f64 N N))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (exp.f64 (*.f64 N N)) (+.f64 1 (expm1.f64 N))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (fma.f64 N N N) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (fma.f64 N N N)))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (*.f64 (log1p.f64 (fma.f64 N N N)) 1))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (fma.f64 N N N)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (fma.f64 N N N)) 1))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (cbrt.f64 (fma.f64 N N N))) 3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (hypot.f64 N (sqrt.f64 N))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 3 (log.f64 (fma.f64 N N N))) 1/3))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (fma.f64 N N N)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 N N N)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 N 1 (*.f64 N N))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 N (*.f64 N N))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (+.f64 1 (fma.f64 N N N)) -1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (*.f64 N N) N)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (+.f64 1 (fma.f64 N N N)) 1 -1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 N N) 1 N)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (+.f64 1 (fma.f64 N N N))) (pow.f64 (cbrt.f64 (+.f64 1 (fma.f64 N N N))) 2) -1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 (+.f64 1 (fma.f64 N N N))) 2) (cbrt.f64 (+.f64 1 (fma.f64 N N N))) -1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 N) (cbrt.f64 (*.f64 N N)) (*.f64 N N))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (*.f64 N N)) (cbrt.f64 N) (*.f64 N N))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (*.f64 N N)) (*.f64 (cbrt.f64 N) N) N)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (*.f64 N N)) (*.f64 (cbrt.f64 N) 1) (*.f64 N N))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (hypot.f64 1 (hypot.f64 N (sqrt.f64 N))) (hypot.f64 1 (hypot.f64 N (sqrt.f64 N))) -1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 N) (sqrt.f64 N) (*.f64 N N))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 N) (pow.f64 N 3/2) N)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 N) (*.f64 (sqrt.f64 N) 1) (*.f64 N N))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (+.f64 1 (pow.f64 (fma.f64 N N N) 3)) (/.f64 1 (fma.f64 (fma.f64 N N N) (-.f64 (fma.f64 N N N) 1) 1)) -1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (-.f64 1 (pow.f64 (fma.f64 N N N) 2)) (/.f64 1 (-.f64 1 (fma.f64 N N N))) -1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 (cbrt.f64 N) N) (cbrt.f64 (*.f64 N N)) N)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 N 3/2) (sqrt.f64 N) N)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 N) 5) (cbrt.f64 N) N))))) |
| 1× | egg-herbie |
| 968× | fma-neg_binary64 |
| 532× | unswap-sqr_binary64 |
| 447× | distribute-rgt-neg-in_binary64 |
| 354× | cancel-sign-sub-inv_binary64 |
| 329× | fma-def_binary64 |
Useful iterations: 1 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 19 | 240 |
| 1 | 44 | 198 |
| 2 | 67 | 198 |
| 3 | 163 | 198 |
| 4 | 583 | 198 |
| 5 | 1634 | 198 |
| 6 | 3616 | 198 |
| 7 | 5643 | 198 |
| 8 | 7339 | 198 |
| 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))))) |
N |
(+.f64 N (pow.f64 N 2)) |
(+.f64 N (pow.f64 N 2)) |
(+.f64 N (pow.f64 N 2)) |
(pow.f64 N 2) |
(+.f64 N (pow.f64 N 2)) |
(+.f64 N (pow.f64 N 2)) |
(+.f64 N (pow.f64 N 2)) |
(pow.f64 N 2) |
(+.f64 N (pow.f64 N 2)) |
(+.f64 N (pow.f64 N 2)) |
(+.f64 N (pow.f64 N 2)) |
| 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 (fma.f64 N N 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 (fma.f64 N N 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 (fma.f64 N N 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 (fma.f64 N N 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 (fma.f64 N N 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 (fma.f64 N N 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 (fma.f64 N N 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 (fma.f64 N N 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 (fma.f64 N N 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 (fma.f64 N N 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 (fma.f64 N N 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 (fma.f64 N N N))) |
N |
(+.f64 N (pow.f64 N 2)) |
(+.f64 N (*.f64 N N)) |
(fma.f64 N N N) |
(+.f64 N (pow.f64 N 2)) |
(+.f64 N (*.f64 N N)) |
(fma.f64 N N N) |
(+.f64 N (pow.f64 N 2)) |
(+.f64 N (*.f64 N N)) |
(fma.f64 N N N) |
(pow.f64 N 2) |
(*.f64 N N) |
(+.f64 N (pow.f64 N 2)) |
(+.f64 N (*.f64 N N)) |
(fma.f64 N N N) |
(+.f64 N (pow.f64 N 2)) |
(+.f64 N (*.f64 N N)) |
(fma.f64 N N N) |
(+.f64 N (pow.f64 N 2)) |
(+.f64 N (*.f64 N N)) |
(fma.f64 N N N) |
(pow.f64 N 2) |
(*.f64 N N) |
(+.f64 N (pow.f64 N 2)) |
(+.f64 N (*.f64 N N)) |
(fma.f64 N N N) |
(+.f64 N (pow.f64 N 2)) |
(+.f64 N (*.f64 N N)) |
(fma.f64 N N N) |
(+.f64 N (pow.f64 N 2)) |
(+.f64 N (*.f64 N N)) |
(fma.f64 N N N) |
Found 3 expressions with local error:
| New | Error | Program |
|---|---|---|
| ✓ | 0.5b | (pow.f64 (cbrt.f64 (atan.f64 (+.f64 N 1))) 2) |
| ✓ | 1.0b | (cbrt.f64 (atan.f64 (+.f64 N 1))) |
| ✓ | 28.1b | (fma.f64 (pow.f64 (cbrt.f64 (atan.f64 (+.f64 N 1))) 2) (cbrt.f64 (atan.f64 (+.f64 N 1))) (neg.f64 (atan.f64 N))) |
Compiled 44 to 31 computations (29.5% saved)
9 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 3.0ms | N | @ | 0 | (fma.f64 (pow.f64 (cbrt.f64 (atan.f64 (+.f64 N 1))) 2) (cbrt.f64 (atan.f64 (+.f64 N 1))) (neg.f64 (atan.f64 N))) |
| 2.0ms | N | @ | inf | (fma.f64 (pow.f64 (cbrt.f64 (atan.f64 (+.f64 N 1))) 2) (cbrt.f64 (atan.f64 (+.f64 N 1))) (neg.f64 (atan.f64 N))) |
| 2.0ms | N | @ | -inf | (fma.f64 (pow.f64 (cbrt.f64 (atan.f64 (+.f64 N 1))) 2) (cbrt.f64 (atan.f64 (+.f64 N 1))) (neg.f64 (atan.f64 N))) |
| 0.0ms | N | @ | -inf | (pow.f64 (cbrt.f64 (atan.f64 (+.f64 N 1))) 2) |
| 0.0ms | N | @ | -inf | (cbrt.f64 (atan.f64 (+.f64 N 1))) |
| 1× | batch-egg-rewrite |
| 886× | pow1_binary64 |
| 821× | add-log-exp_binary64 |
| 821× | log1p-expm1-u_binary64 |
| 821× | expm1-log1p-u_binary64 |
| 803× | add-exp-log_binary64 |
Useful iterations: 1 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 11 | 32 |
| 1 | 226 | 30 |
| 2 | 2608 | 30 |
| 1× | node limit |
| Inputs |
|---|
(fma.f64 (pow.f64 (cbrt.f64 (atan.f64 (+.f64 N 1))) 2) (cbrt.f64 (atan.f64 (+.f64 N 1))) (neg.f64 (atan.f64 N))) |
(cbrt.f64 (atan.f64 (+.f64 N 1))) |
(pow.f64 (cbrt.f64 (atan.f64 (+.f64 N 1))) 2) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x +.f64 (atan.f64 (+.f64 N 1)) (atan.f64 N))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (atan.f64 N) (atan.f64 (+.f64 N 1)))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (atan.f64 (+.f64 N 1)) (atan.f64 N))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (+.f64 (atan.f64 (+.f64 N 1)) (atan.f64 N))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 (atan.f64 (+.f64 N 1)) 0) (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 (pow.f64 (atan.f64 (+.f64 N 1)) 2) (-.f64 (pow.f64 (atan.f64 N) 2) (*.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 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 exp.f64 (log.f64 (+.f64 (atan.f64 (+.f64 N 1)) (atan.f64 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 -.f64 (+.f64 1 (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 (pow.f64 (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 *.f64 (cbrt.f64 (cbrt.f64 (atan.f64 (+.f64 N 1)))) (pow.f64 (cbrt.f64 (cbrt.f64 (atan.f64 (+.f64 N 1)))) 2))))) (#(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 *.f64 (sqrt.f64 (cbrt.f64 (pow.f64 (cbrt.f64 (atan.f64 (+.f64 N 1))) 4))) (sqrt.f64 (pow.f64 (cbrt.f64 (cbrt.f64 (atan.f64 (+.f64 N 1)))) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 1 1/3) (cbrt.f64 (atan.f64 (+.f64 N 1))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (sqrt.f64 (atan.f64 (+.f64 N 1))) 1/3) (pow.f64 (sqrt.f64 (atan.f64 (+.f64 N 1))) 1/3))))) (#(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 (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 (pow.f64 (atan.f64 (+.f64 N 1)) 1/6) 2)))) (#(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 fabs.f64 (cbrt.f64 (atan.f64 (+.f64 N 1))))))) (#(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 expm1.f64 (log1p.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 log1p.f64 (expm1.f64 (cbrt.f64 (atan.f64 (+.f64 N 1))))))))) |
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (pow.f64 (cbrt.f64 (atan.f64 (+.f64 N 1))) 2)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (pow.f64 (cbrt.f64 (atan.f64 (+.f64 N 1))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (atan.f64 (+.f64 N 1))) (cbrt.f64 (atan.f64 (+.f64 N 1))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (atan.f64 (+.f64 N 1))) 2) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (cbrt.f64 (atan.f64 (+.f64 N 1)))) 2) (cbrt.f64 (pow.f64 (cbrt.f64 (atan.f64 (+.f64 N 1))) 4)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (cbrt.f64 (atan.f64 (+.f64 N 1)))) 2) (*.f64 (cbrt.f64 (cbrt.f64 (atan.f64 (+.f64 N 1)))) (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))) 4)) (pow.f64 (cbrt.f64 (cbrt.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)) 1/6))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (atan.f64 (+.f64 N 1)) 1/6) (*.f64 (pow.f64 (atan.f64 (+.f64 N 1)) 1/6) (cbrt.f64 (atan.f64 (+.f64 N 1)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (cbrt.f64 (atan.f64 (+.f64 N 1))) (pow.f64 (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 (cbrt.f64 (atan.f64 (+.f64 N 1))) 4))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (pow.f64 (cbrt.f64 (atan.f64 (+.f64 N 1))) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (atan.f64 (+.f64 N 1)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (pow.f64 (cbrt.f64 (atan.f64 (+.f64 N 1))) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 2 (log.f64 (cbrt.f64 (atan.f64 (+.f64 N 1))))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (pow.f64 (cbrt.f64 (atan.f64 (+.f64 N 1))) 2))))))) |
| 1× | egg-herbie |
| 1003× | fma-def_binary64 |
| 772× | fma-neg_binary64 |
| 506× | associate-*l*_binary64 |
| 390× | distribute-rgt-neg-in_binary64 |
| 361× | associate-*r*_binary64 |
Useful iterations: 1 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 23 | 396 |
| 1 | 68 | 360 |
| 2 | 104 | 360 |
| 3 | 168 | 360 |
| 4 | 286 | 360 |
| 5 | 664 | 360 |
| 6 | 2252 | 360 |
| 7 | 3256 | 360 |
| 8 | 4885 | 360 |
| 9 | 6855 | 360 |
| 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) |
(pow.f64 (pow.f64 (atan.f64 (+.f64 N 1)) 2) 1/3) |
(pow.f64 (pow.f64 (atan.f64 (+.f64 N 1)) 2) 1/3) |
(pow.f64 (pow.f64 (atan.f64 (+.f64 N 1)) 2) 1/3) |
(pow.f64 (pow.f64 (atan.f64 (+.f64 N 1)) 2) 1/3) |
(pow.f64 (pow.f64 (atan.f64 (+.f64 N 1)) 2) 1/3) |
(pow.f64 (pow.f64 (atan.f64 (+.f64 N 1)) 2) 1/3) |
(pow.f64 (pow.f64 (atan.f64 (+.f64 N 1)) 2) 1/3) |
(pow.f64 (pow.f64 (atan.f64 (+.f64 N 1)) 2) 1/3) |
(pow.f64 (pow.f64 (atan.f64 (-.f64 1 (*.f64 -1 N))) 2) 1/3) |
(pow.f64 (pow.f64 (atan.f64 (-.f64 1 (*.f64 -1 N))) 2) 1/3) |
(pow.f64 (pow.f64 (atan.f64 (-.f64 1 (*.f64 -1 N))) 2) 1/3) |
(pow.f64 (pow.f64 (atan.f64 (-.f64 1 (*.f64 -1 N))) 2) 1/3) |
| 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 (*.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 (*.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 (*.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 (*.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 (*.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 (*.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 (*.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 (*.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 (*.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 (*.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 (*.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)) |
(pow.f64 (atan.f64 (+.f64 N 1)) 1/3) |
(cbrt.f64 (atan.f64 (+.f64 1 N))) |
(pow.f64 (atan.f64 (+.f64 N 1)) 1/3) |
(cbrt.f64 (atan.f64 (+.f64 1 N))) |
(pow.f64 (atan.f64 (+.f64 N 1)) 1/3) |
(cbrt.f64 (atan.f64 (+.f64 1 N))) |
(pow.f64 (atan.f64 (+.f64 N 1)) 1/3) |
(cbrt.f64 (atan.f64 (+.f64 1 N))) |
(pow.f64 (atan.f64 (+.f64 N 1)) 1/3) |
(cbrt.f64 (atan.f64 (+.f64 1 N))) |
(pow.f64 (atan.f64 (+.f64 N 1)) 1/3) |
(cbrt.f64 (atan.f64 (+.f64 1 N))) |
(pow.f64 (atan.f64 (+.f64 N 1)) 1/3) |
(cbrt.f64 (atan.f64 (+.f64 1 N))) |
(pow.f64 (atan.f64 (+.f64 N 1)) 1/3) |
(cbrt.f64 (atan.f64 (+.f64 1 N))) |
(pow.f64 (atan.f64 (-.f64 1 (*.f64 -1 N))) 1/3) |
(cbrt.f64 (atan.f64 (+.f64 1 N))) |
(pow.f64 (atan.f64 (-.f64 1 (*.f64 -1 N))) 1/3) |
(cbrt.f64 (atan.f64 (+.f64 1 N))) |
(pow.f64 (atan.f64 (-.f64 1 (*.f64 -1 N))) 1/3) |
(cbrt.f64 (atan.f64 (+.f64 1 N))) |
(pow.f64 (atan.f64 (-.f64 1 (*.f64 -1 N))) 1/3) |
(cbrt.f64 (atan.f64 (+.f64 1 N))) |
(pow.f64 (pow.f64 (atan.f64 (+.f64 N 1)) 2) 1/3) |
(cbrt.f64 (pow.f64 (atan.f64 (+.f64 1 N)) 2)) |
(pow.f64 (pow.f64 (atan.f64 (+.f64 N 1)) 2) 1/3) |
(cbrt.f64 (pow.f64 (atan.f64 (+.f64 1 N)) 2)) |
(pow.f64 (pow.f64 (atan.f64 (+.f64 N 1)) 2) 1/3) |
(cbrt.f64 (pow.f64 (atan.f64 (+.f64 1 N)) 2)) |
(pow.f64 (pow.f64 (atan.f64 (+.f64 N 1)) 2) 1/3) |
(cbrt.f64 (pow.f64 (atan.f64 (+.f64 1 N)) 2)) |
(pow.f64 (pow.f64 (atan.f64 (+.f64 N 1)) 2) 1/3) |
(cbrt.f64 (pow.f64 (atan.f64 (+.f64 1 N)) 2)) |
(pow.f64 (pow.f64 (atan.f64 (+.f64 N 1)) 2) 1/3) |
(cbrt.f64 (pow.f64 (atan.f64 (+.f64 1 N)) 2)) |
(pow.f64 (pow.f64 (atan.f64 (+.f64 N 1)) 2) 1/3) |
(cbrt.f64 (pow.f64 (atan.f64 (+.f64 1 N)) 2)) |
(pow.f64 (pow.f64 (atan.f64 (+.f64 N 1)) 2) 1/3) |
(cbrt.f64 (pow.f64 (atan.f64 (+.f64 1 N)) 2)) |
(pow.f64 (pow.f64 (atan.f64 (-.f64 1 (*.f64 -1 N))) 2) 1/3) |
(cbrt.f64 (pow.f64 (atan.f64 (+.f64 1 N)) 2)) |
(pow.f64 (pow.f64 (atan.f64 (-.f64 1 (*.f64 -1 N))) 2) 1/3) |
(cbrt.f64 (pow.f64 (atan.f64 (+.f64 1 N)) 2)) |
(pow.f64 (pow.f64 (atan.f64 (-.f64 1 (*.f64 -1 N))) 2) 1/3) |
(cbrt.f64 (pow.f64 (atan.f64 (+.f64 1 N)) 2)) |
(pow.f64 (pow.f64 (atan.f64 (-.f64 1 (*.f64 -1 N))) 2) 1/3) |
(cbrt.f64 (pow.f64 (atan.f64 (+.f64 1 N)) 2)) |
Compiled 8177 to 4736 computations (42.1% saved)
2 alts after pruning (1 fresh and 1 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 403 | 1 | 404 |
| Fresh | 0 | 0 | 0 |
| Picked | 1 | 0 | 1 |
| Done | 2 | 1 | 3 |
| Total | 406 | 2 | 408 |
| Status | Error | Program |
|---|---|---|
| ▶ | 0.5b | (atan2.f64 1 (+.f64 1 (*.f64 N (+.f64 N 1)))) |
| ✓ | 14.9b | (-.f64 (atan.f64 (+.f64 N 1)) (atan.f64 N)) |
Compiled 18 to 14 computations (22.2% saved)
Found 2 expressions with local error:
| New | Error | Program |
|---|---|---|
| 0.0b | (*.f64 N (+.f64 N 1)) | |
| ✓ | 0.5b | (atan2.f64 1 (+.f64 1 (*.f64 N (+.f64 N 1)))) |
Compiled 27 to 19 computations (29.6% saved)
3 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 26.0ms | N | @ | inf | (atan2.f64 1 (+.f64 1 (*.f64 N (+.f64 N 1)))) |
| 0.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)))) |
| 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 exp.f64 (log.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))))))))) |
| 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))) |
Compiled 1001 to 611 computations (39% saved)
7 alts after pruning (5 fresh and 2 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 73 | 5 | 78 |
| Fresh | 0 | 0 | 0 |
| Picked | 0 | 1 | 1 |
| Done | 0 | 1 | 1 |
| Total | 73 | 7 | 80 |
| Status | Error | Program |
|---|---|---|
| ▶ | 29.5b | (atan2.f64 1 (+.f64 1 N)) |
| ▶ | 1.9b | (pow.f64 (cbrt.f64 (atan2.f64 1 (+.f64 1 (fma.f64 N N N)))) 3) |
| ✓ | 0.5b | (atan2.f64 1 (+.f64 1 (*.f64 N (+.f64 N 1)))) |
| ✓ | 14.9b | (-.f64 (atan.f64 (+.f64 N 1)) (atan.f64 N)) |
| ▶ | 1.4b | (atan2.f64 1 (+.f64 1 (*.f64 N N))) |
| ▶ | 1.1b | (pow.f64 (sqrt.f64 (atan2.f64 1 (+.f64 1 (fma.f64 N N N)))) 2) |
| ▶ | 23.2b | (atan2.f64 1 (+.f64 1 (/.f64 (-.f64 (pow.f64 N 4) (*.f64 N N)) (fma.f64 N N (neg.f64 N))))) |
Compiled 130 to 96 computations (26.2% saved)
Found 3 expressions with local error:
| New | Error | Program |
|---|---|---|
| ✓ | 0.5b | (atan2.f64 1 (+.f64 1 (fma.f64 N N N))) |
| ✓ | 0.6b | (pow.f64 (sqrt.f64 (atan2.f64 1 (+.f64 1 (fma.f64 N N N)))) 2) |
| ✓ | 14.3b | (sqrt.f64 (atan2.f64 1 (+.f64 1 (fma.f64 N N N)))) |
Compiled 42 to 22 computations (47.6% saved)
9 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 3.0ms | N | @ | inf | (pow.f64 (sqrt.f64 (atan2.f64 1 (+.f64 1 (fma.f64 N N N)))) 2) |
| 1.0ms | N | @ | -inf | (pow.f64 (sqrt.f64 (atan2.f64 1 (+.f64 1 (fma.f64 N N N)))) 2) |
| 1.0ms | N | @ | 0 | (pow.f64 (sqrt.f64 (atan2.f64 1 (+.f64 1 (fma.f64 N N N)))) 2) |
| 1.0ms | N | @ | 0 | (sqrt.f64 (atan2.f64 1 (+.f64 1 (fma.f64 N N N)))) |
| 1.0ms | N | @ | inf | (sqrt.f64 (atan2.f64 1 (+.f64 1 (fma.f64 N N N)))) |
| 1× | batch-egg-rewrite |
| 735× | pow1_binary64 |
| 684× | add-log-exp_binary64 |
| 683× | log1p-expm1-u_binary64 |
| 683× | expm1-log1p-u_binary64 |
| 669× | add-exp-log_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 9 | 35 |
| 1 | 186 | 35 |
| 2 | 1924 | 35 |
| 1× | node limit |
| Inputs |
|---|
(sqrt.f64 (atan2.f64 1 (+.f64 1 (fma.f64 N N N)))) |
(pow.f64 (sqrt.f64 (atan2.f64 1 (+.f64 1 (fma.f64 N N N)))) 2) |
(atan2.f64 1 (+.f64 1 (fma.f64 N N N))) |
| 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 exp.f64 (log.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 -.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 exp.f64 (log.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 -.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 exp.f64 (log.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))))))))) |
| 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 |
|---|
(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))) |
(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 |
|---|
(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)))) |
(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.0b | (atan2.f64 1 (+.f64 1 N)) |
Compiled 11 to 8 computations (27.3% saved)
3 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 0.0ms | N | @ | 0 | (atan2.f64 1 (+.f64 1 N)) |
| 0.0ms | N | @ | -inf | (atan2.f64 1 (+.f64 1 N)) |
| 0.0ms | N | @ | inf | (atan2.f64 1 (+.f64 1 N)) |
| 1× | batch-egg-rewrite |
| 495× | pow1_binary64 |
| 482× | add-sqr-sqrt_binary64 |
| 460× | add-log-exp_binary64 |
| 460× | log1p-expm1-u_binary64 |
| 460× | expm1-log1p-u_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 5 | 7 |
| 1 | 101 | 7 |
| 2 | 1243 | 7 |
| 1× | node limit |
| Inputs |
|---|
(atan2.f64 1 (+.f64 1 N)) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (atan2.f64 1 (+.f64 1 N))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (atan2.f64 1 (+.f64 1 N)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (atan2.f64 1 (+.f64 1 N)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (atan2.f64 1 (+.f64 1 N))) (pow.f64 (cbrt.f64 (atan2.f64 1 (+.f64 1 N))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (atan2.f64 1 (+.f64 1 N))) 2) (cbrt.f64 (atan2.f64 1 (+.f64 1 N))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (atan2.f64 1 (+.f64 1 N))) (sqrt.f64 (atan2.f64 1 (+.f64 1 N))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (atan2.f64 1 (+.f64 1 N)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (atan2.f64 1 (+.f64 1 N)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (atan2.f64 1 (+.f64 1 N))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (atan2.f64 1 (+.f64 1 N))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (atan2.f64 1 (+.f64 1 N)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (atan2.f64 1 (+.f64 1 N))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (atan2.f64 1 (+.f64 1 N)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (atan2.f64 1 (+.f64 1 N))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (atan2.f64 1 (+.f64 1 N))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (atan2.f64 1 (+.f64 1 N)))))))) |
| 1× | egg-herbie |
| 13× | fma-def_binary64 |
| 11× | fma-neg_binary64 |
| 7× | cancel-sign-sub-inv_binary64 |
| 6× | associate--r+_binary64 |
| 6× | sub-neg_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 9 | 84 |
| 1 | 19 | 84 |
| 2 | 25 | 84 |
| 3 | 48 | 84 |
| 4 | 67 | 84 |
| 5 | 97 | 84 |
| 6 | 112 | 84 |
| 7 | 116 | 84 |
| 1× | saturated |
| Inputs |
|---|
(atan2.f64 1 (+.f64 N 1)) |
(atan2.f64 1 (+.f64 N 1)) |
(atan2.f64 1 (+.f64 N 1)) |
(atan2.f64 1 (+.f64 N 1)) |
(atan2.f64 1 (+.f64 N 1)) |
(atan2.f64 1 (+.f64 N 1)) |
(atan2.f64 1 (+.f64 N 1)) |
(atan2.f64 1 (+.f64 N 1)) |
(atan2.f64 1 (-.f64 1 (*.f64 -1 N))) |
(atan2.f64 1 (-.f64 1 (*.f64 -1 N))) |
(atan2.f64 1 (-.f64 1 (*.f64 -1 N))) |
(atan2.f64 1 (-.f64 1 (*.f64 -1 N))) |
| Outputs |
|---|
(atan2.f64 1 (+.f64 N 1)) |
(atan2.f64 1 (+.f64 1 N)) |
(atan2.f64 1 (+.f64 N 1)) |
(atan2.f64 1 (+.f64 1 N)) |
(atan2.f64 1 (+.f64 N 1)) |
(atan2.f64 1 (+.f64 1 N)) |
(atan2.f64 1 (+.f64 N 1)) |
(atan2.f64 1 (+.f64 1 N)) |
(atan2.f64 1 (+.f64 N 1)) |
(atan2.f64 1 (+.f64 1 N)) |
(atan2.f64 1 (+.f64 N 1)) |
(atan2.f64 1 (+.f64 1 N)) |
(atan2.f64 1 (+.f64 N 1)) |
(atan2.f64 1 (+.f64 1 N)) |
(atan2.f64 1 (+.f64 N 1)) |
(atan2.f64 1 (+.f64 1 N)) |
(atan2.f64 1 (-.f64 1 (*.f64 -1 N))) |
(atan2.f64 1 (+.f64 1 N)) |
(atan2.f64 1 (-.f64 1 (*.f64 -1 N))) |
(atan2.f64 1 (+.f64 1 N)) |
(atan2.f64 1 (-.f64 1 (*.f64 -1 N))) |
(atan2.f64 1 (+.f64 1 N)) |
(atan2.f64 1 (-.f64 1 (*.f64 -1 N))) |
(atan2.f64 1 (+.f64 1 N)) |
Found 1 expressions with local error:
| New | Error | Program |
|---|---|---|
| ✓ | 0.5b | (atan2.f64 1 (+.f64 1 (*.f64 N N))) |
Compiled 18 to 9 computations (50% saved)
3 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 0.0ms | N | @ | 0 | (atan2.f64 1 (+.f64 1 (*.f64 N N))) |
| 0.0ms | N | @ | -inf | (atan2.f64 1 (+.f64 1 (*.f64 N N))) |
| 0.0ms | N | @ | inf | (atan2.f64 1 (+.f64 1 (*.f64 N N))) |
| 1× | batch-egg-rewrite |
| 563× | pow1_binary64 |
| 525× | add-log-exp_binary64 |
| 524× | log1p-expm1-u_binary64 |
| 524× | expm1-log1p-u_binary64 |
| 513× | add-exp-log_binary64 |
Useful iterations: 1 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 6 | 10 |
| 1 | 121 | 8 |
| 2 | 1482 | 8 |
| 1× | node limit |
| Inputs |
|---|
(atan2.f64 1 (+.f64 1 (*.f64 N N))) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (atan2.f64 1 (fma.f64 N N 1))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (atan2.f64 1 (fma.f64 N N 1)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (atan2.f64 1 (fma.f64 N N 1)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (atan2.f64 1 (fma.f64 N N 1))) (pow.f64 (cbrt.f64 (atan2.f64 1 (fma.f64 N N 1))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (atan2.f64 1 (fma.f64 N N 1))) 2) (cbrt.f64 (atan2.f64 1 (fma.f64 N N 1))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (atan2.f64 1 (fma.f64 N N 1))) (sqrt.f64 (atan2.f64 1 (fma.f64 N N 1))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (atan2.f64 1 (fma.f64 N N 1)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (atan2.f64 1 (fma.f64 N N 1)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (atan2.f64 1 (fma.f64 N N 1))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (atan2.f64 1 (fma.f64 N N 1))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (atan2.f64 1 (fma.f64 N N 1)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (atan2.f64 1 (fma.f64 N N 1))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (atan2.f64 1 (fma.f64 N N 1)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (atan2.f64 1 (fma.f64 N N 1))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (atan2.f64 1 (fma.f64 N N 1))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (atan2.f64 1 (fma.f64 N N 1)))))))) |
| 1× | egg-herbie |
| 1366× | sqr-pow_binary64 |
| 695× | pow-sqr_binary64 |
| 617× | cube-prod_binary64 |
| 613× | fabs-mul_binary64 |
| 434× | unswap-sqr_binary64 |
Useful iterations: 1 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 7 | 120 |
| 1 | 14 | 96 |
| 2 | 21 | 96 |
| 3 | 32 | 96 |
| 4 | 61 | 96 |
| 5 | 160 | 96 |
| 6 | 581 | 96 |
| 7 | 1449 | 96 |
| 8 | 1633 | 96 |
| 9 | 1817 | 96 |
| 10 | 2025 | 96 |
| 11 | 2318 | 96 |
| 12 | 2713 | 96 |
| 13 | 3196 | 96 |
| 14 | 3762 | 96 |
| 15 | 4448 | 96 |
| 16 | 5283 | 96 |
| 17 | 5681 | 96 |
| 18 | 5971 | 96 |
| 19 | 6251 | 96 |
| 20 | 6325 | 96 |
| 21 | 6361 | 96 |
| 22 | 7302 | 96 |
| 1× | node limit |
| Inputs |
|---|
(atan2.f64 1 (+.f64 1 (pow.f64 N 2))) |
(atan2.f64 1 (+.f64 1 (pow.f64 N 2))) |
(atan2.f64 1 (+.f64 1 (pow.f64 N 2))) |
(atan2.f64 1 (+.f64 1 (pow.f64 N 2))) |
(atan2.f64 1 (+.f64 1 (pow.f64 N 2))) |
(atan2.f64 1 (+.f64 1 (pow.f64 N 2))) |
(atan2.f64 1 (+.f64 1 (pow.f64 N 2))) |
(atan2.f64 1 (+.f64 1 (pow.f64 N 2))) |
(atan2.f64 1 (+.f64 1 (pow.f64 N 2))) |
(atan2.f64 1 (+.f64 1 (pow.f64 N 2))) |
(atan2.f64 1 (+.f64 1 (pow.f64 N 2))) |
(atan2.f64 1 (+.f64 1 (pow.f64 N 2))) |
| Outputs |
|---|
(atan2.f64 1 (+.f64 1 (pow.f64 N 2))) |
(atan2.f64 1 (+.f64 1 (*.f64 N N))) |
(atan2.f64 1 (fma.f64 N N 1)) |
(atan2.f64 1 (+.f64 1 (pow.f64 N 2))) |
(atan2.f64 1 (+.f64 1 (*.f64 N N))) |
(atan2.f64 1 (fma.f64 N N 1)) |
(atan2.f64 1 (+.f64 1 (pow.f64 N 2))) |
(atan2.f64 1 (+.f64 1 (*.f64 N N))) |
(atan2.f64 1 (fma.f64 N N 1)) |
(atan2.f64 1 (+.f64 1 (pow.f64 N 2))) |
(atan2.f64 1 (+.f64 1 (*.f64 N N))) |
(atan2.f64 1 (fma.f64 N N 1)) |
(atan2.f64 1 (+.f64 1 (pow.f64 N 2))) |
(atan2.f64 1 (+.f64 1 (*.f64 N N))) |
(atan2.f64 1 (fma.f64 N N 1)) |
(atan2.f64 1 (+.f64 1 (pow.f64 N 2))) |
(atan2.f64 1 (+.f64 1 (*.f64 N N))) |
(atan2.f64 1 (fma.f64 N N 1)) |
(atan2.f64 1 (+.f64 1 (pow.f64 N 2))) |
(atan2.f64 1 (+.f64 1 (*.f64 N N))) |
(atan2.f64 1 (fma.f64 N N 1)) |
(atan2.f64 1 (+.f64 1 (pow.f64 N 2))) |
(atan2.f64 1 (+.f64 1 (*.f64 N N))) |
(atan2.f64 1 (fma.f64 N N 1)) |
(atan2.f64 1 (+.f64 1 (pow.f64 N 2))) |
(atan2.f64 1 (+.f64 1 (*.f64 N N))) |
(atan2.f64 1 (fma.f64 N N 1)) |
(atan2.f64 1 (+.f64 1 (pow.f64 N 2))) |
(atan2.f64 1 (+.f64 1 (*.f64 N N))) |
(atan2.f64 1 (fma.f64 N N 1)) |
(atan2.f64 1 (+.f64 1 (pow.f64 N 2))) |
(atan2.f64 1 (+.f64 1 (*.f64 N N))) |
(atan2.f64 1 (fma.f64 N N 1)) |
(atan2.f64 1 (+.f64 1 (pow.f64 N 2))) |
(atan2.f64 1 (+.f64 1 (*.f64 N N))) |
(atan2.f64 1 (fma.f64 N N 1)) |
Found 3 expressions with local error:
| New | Error | Program |
|---|---|---|
| ✓ | 0.5b | (atan2.f64 1 (+.f64 1 (/.f64 (-.f64 (pow.f64 N 4) (*.f64 N N)) (fma.f64 N N (neg.f64 N))))) |
| ✓ | 12.4b | (-.f64 (pow.f64 N 4) (*.f64 N N)) |
| ✓ | 34.2b | (/.f64 (-.f64 (pow.f64 N 4) (*.f64 N N)) (fma.f64 N N (neg.f64 N))) |
Compiled 69 to 29 computations (58% saved)
9 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 1.0ms | N | @ | 0 | (/.f64 (-.f64 (pow.f64 N 4) (*.f64 N N)) (fma.f64 N N (neg.f64 N))) |
| 1.0ms | N | @ | inf | (/.f64 (-.f64 (pow.f64 N 4) (*.f64 N N)) (fma.f64 N N (neg.f64 N))) |
| 1.0ms | N | @ | -inf | (/.f64 (-.f64 (pow.f64 N 4) (*.f64 N N)) (fma.f64 N N (neg.f64 N))) |
| 1.0ms | N | @ | -inf | (atan2.f64 1 (+.f64 1 (/.f64 (-.f64 (pow.f64 N 4) (*.f64 N N)) (fma.f64 N N (neg.f64 N))))) |
| 0.0ms | N | @ | inf | (atan2.f64 1 (+.f64 1 (/.f64 (-.f64 (pow.f64 N 4) (*.f64 N N)) (fma.f64 N N (neg.f64 N))))) |
| 1× | batch-egg-rewrite |
| 506× | fma-def_binary64 |
| 469× | log-prod_binary64 |
| 339× | fma-neg_binary64 |
| 256× | pow2_binary64 |
| 207× | pow-unpow_binary64 |
Useful iterations: 1 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 12 | 54 |
| 1 | 271 | 24 |
| 2 | 4027 | 24 |
| 1× | node limit |
| Inputs |
|---|
(/.f64 (-.f64 (pow.f64 N 4) (*.f64 N N)) (fma.f64 N N (neg.f64 N))) |
(-.f64 (pow.f64 N 4) (*.f64 N N)) |
(atan2.f64 1 (+.f64 1 (/.f64 (-.f64 (pow.f64 N 4) (*.f64 N N)) (fma.f64 N N (neg.f64 N))))) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x +.f64 N (*.f64 N N))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 N N) N)))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 0 (fma.f64 N N N))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (/.f64 (pow.f64 N 4) (fma.f64 N N N)) (neg.f64 (/.f64 N (/.f64 (fma.f64 N N N) N))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (pow.f64 (cbrt.f64 (exp.f64 (fma.f64 N N N))) 2)) (log.f64 (cbrt.f64 (exp.f64 (fma.f64 N N N)))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (sqrt.f64 (exp.f64 (fma.f64 N N N)))) (log.f64 (sqrt.f64 (exp.f64 (fma.f64 N N N)))))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (*.f64 N N) N)))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 (fma.f64 N N N) 1) 1)))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 0 (fma.f64 N N N))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (/.f64 (pow.f64 N 4) (fma.f64 N N N)) (/.f64 N (/.f64 (fma.f64 N N N) N)))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (fma.f64 N N 0) N)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 N (+.f64 N -1))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (fma.f64 N N N) 2) (/.f64 1 (fma.f64 N N N)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (fma.f64 N N N) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (fma.f64 N N N) (*.f64 (fma.f64 N N N) (/.f64 1 (fma.f64 N N N))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (fma.f64 N N N))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (fma.f64 N N N)) (cbrt.f64 (pow.f64 (fma.f64 N N N) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (pow.f64 (fma.f64 N N N) 2)) (cbrt.f64 (fma.f64 N N N)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (pow.f64 (fma.f64 N N N) 2)) (neg.f64 (cbrt.f64 (fma.f64 N N N))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (fma.f64 N N N)) 4) (*.f64 (cbrt.f64 (pow.f64 (fma.f64 N N N) 2)) (/.f64 1 (fma.f64 N N N))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (hypot.f64 N (sqrt.f64 N)) (hypot.f64 N (sqrt.f64 N)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (hypot.f64 N (sqrt.f64 N)) (neg.f64 (hypot.f64 N (sqrt.f64 N))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 1 (fma.f64 N N N)) (pow.f64 (fma.f64 N N N) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 -1 (fma.f64 N N N))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (pow.f64 (cbrt.f64 (fma.f64 N N N)) 4)) (sqrt.f64 (cbrt.f64 (pow.f64 (fma.f64 N N N) 2))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (pow.f64 (cbrt.f64 (fma.f64 N N N)) 4) 1) (pow.f64 (cbrt.f64 (fma.f64 N N N)) -1))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (fma.f64 N N N)) -2) (/.f64 (pow.f64 (fma.f64 N N N) 2) (cbrt.f64 (fma.f64 N N N))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (fma.f64 N N N) -1/2) (pow.f64 (fma.f64 N N N) 3/2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (pow.f64 (cbrt.f64 (fma.f64 N N N)) 4) (hypot.f64 N (sqrt.f64 N))) (/.f64 (cbrt.f64 (pow.f64 (fma.f64 N N N) 2)) (hypot.f64 N (sqrt.f64 N))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (neg.f64 (cbrt.f64 (pow.f64 (fma.f64 N N N) 2))) (cbrt.f64 (fma.f64 N N N)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (neg.f64 (hypot.f64 N (sqrt.f64 N))) (hypot.f64 N (sqrt.f64 N)))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (fma.f64 N N N) 2) 1/2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (fma.f64 N N N) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (fma.f64 N N N) 6) 1/6)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (fma.f64 N N N)) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (pow.f64 (fma.f64 N N N) 2)) 3/2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (hypot.f64 N (sqrt.f64 N)) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (fma.f64 N N N) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 1 (fma.f64 N N N)) -1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 (/.f64 1 (fma.f64 N N N)) 1) -1)))) (#(struct:change #<rule egg-rr> (2) ((x neg.f64 (fma.f64 N N N))))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (fma.f64 N N N) 2))))) (#(struct:change #<rule egg-rr> (2) ((x fabs.f64 (fma.f64 N N N))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (fma.f64 N N N)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (fma.f64 N N N))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (/.f64 1 (+.f64 1 (expm1.f64 (fma.f64 N N N)))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (/.f64 (+.f64 1 (expm1.f64 (*.f64 N N))) (exp.f64 N)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (/.f64 (pow.f64 (exp.f64 N) N) (+.f64 1 (expm1.f64 N))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (/.f64 (+.f64 1 (expm1.f64 (*.f64 N N))) (+.f64 1 (expm1.f64 N))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (+.f64 1 (expm1.f64 N)) (pow.f64 (exp.f64 N) N)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (exp.f64 N) (+.f64 1 (expm1.f64 (*.f64 N N)))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (+.f64 1 (expm1.f64 N)) (+.f64 1 (expm1.f64 (*.f64 N N)))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (+.f64 1 (expm1.f64 (*.f64 N N))) (exp.f64 N)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (pow.f64 (exp.f64 N) N) (+.f64 1 (expm1.f64 N))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (+.f64 1 (expm1.f64 (*.f64 N N))) (+.f64 1 (expm1.f64 N))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (fma.f64 N N N) 3))))) (#(struct:change #<rule egg-rr> (2) ((x hypot.f64 N (*.f64 N N))))) (#(struct:change #<rule egg-rr> (2) ((x hypot.f64 (*.f64 N N) N)))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (fma.f64 N N N)))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (*.f64 (log1p.f64 (fma.f64 N N N)) 1))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (fma.f64 N N N)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (fma.f64 N N N)) 1))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (fma.f64 N N N)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 N N N)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 N 1 (*.f64 N N))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 N -1 (*.f64 N N))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 N 4) (/.f64 1 (fma.f64 N N N)) (neg.f64 (/.f64 N (/.f64 (fma.f64 N N N) N))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 N N) 1 N)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 N (*.f64 N N))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (*.f64 N N) N)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (+.f64 (fma.f64 N N N) 1) -1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (/.f64 (pow.f64 N 4) (fma.f64 N N N)) (neg.f64 (/.f64 N (/.f64 (fma.f64 N N N) N))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (+.f64 (fma.f64 N N N) 1) 1 -1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (+.f64 (fma.f64 N N N) 1)) (pow.f64 (cbrt.f64 (+.f64 (fma.f64 N N N) 1)) 2) -1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 (+.f64 (fma.f64 N N N) 1)) 2) (cbrt.f64 (+.f64 (fma.f64 N N N) 1)) -1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 N) 2) (cbrt.f64 N) (*.f64 N N))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 N) 2) (pow.f64 (cbrt.f64 N) 4) N)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 N) 2) (neg.f64 (cbrt.f64 N)) (*.f64 N N))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 N) 2) (*.f64 (cbrt.f64 N) N) N)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 N) (pow.f64 (cbrt.f64 N) 2) (*.f64 N N))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 N) 4) (pow.f64 (cbrt.f64 N) 2) N)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 N) 4) (neg.f64 (pow.f64 (cbrt.f64 N) 2)) N)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (hypot.f64 1 (hypot.f64 N (sqrt.f64 N))) (hypot.f64 1 (hypot.f64 N (sqrt.f64 N))) -1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 N) (sqrt.f64 N) (*.f64 N N))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 N) (neg.f64 (sqrt.f64 N)) (*.f64 N N))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 N) (*.f64 (sqrt.f64 N) N) N)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (+.f64 1 (pow.f64 (fma.f64 N N N) 3)) (/.f64 1 (fma.f64 (fma.f64 N N N) (-.f64 (fma.f64 N N N) 1) 1)) -1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 -1 N (*.f64 N N))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 -1 (*.f64 N N) N)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (+.f64 1 (pow.f64 (fma.f64 N N N) 2)) (/.f64 1 (+.f64 (fma.f64 N N N) 1)) -1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 N (sqrt.f64 N)) (sqrt.f64 N) N)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 (/.f64 (pow.f64 N 4) (fma.f64 N N N))) 2) (cbrt.f64 (/.f64 (pow.f64 N 4) (fma.f64 N N N))) (neg.f64 (/.f64 N (/.f64 (fma.f64 N N N) N))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 (pow.f64 (cbrt.f64 N) 8)) (sqrt.f64 (pow.f64 (cbrt.f64 N) 4)) N)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 (/.f64 (pow.f64 N 4) (fma.f64 N N N))) (sqrt.f64 (/.f64 (pow.f64 N 4) (fma.f64 N N N))) (neg.f64 (/.f64 N (/.f64 (fma.f64 N N N) N))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 (pow.f64 (cbrt.f64 N) 4)) (sqrt.f64 (pow.f64 (cbrt.f64 N) 2)) (*.f64 N N))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (neg.f64 (pow.f64 (cbrt.f64 N) 4)) (pow.f64 (cbrt.f64 N) 2) N)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (neg.f64 (pow.f64 (cbrt.f64 N) 2)) (cbrt.f64 N) (*.f64 N N))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 (fma.f64 N N N)) -2) (/.f64 (pow.f64 N 4) (cbrt.f64 (fma.f64 N N N))) (neg.f64 (/.f64 N (/.f64 (fma.f64 N N N) N))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (fma.f64 N N N) -1/2) (/.f64 (pow.f64 N 4) (hypot.f64 N (sqrt.f64 N))) (neg.f64 (/.f64 N (/.f64 (fma.f64 N N N) N))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (/.f64 (*.f64 N N) 1) (/.f64 N (/.f64 (fma.f64 N N N) N)) (neg.f64 (/.f64 N (/.f64 (fma.f64 N N N) N))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (/.f64 (pow.f64 (cbrt.f64 N) 8) 1) (/.f64 (pow.f64 (cbrt.f64 N) 4) (fma.f64 N N N)) (neg.f64 (/.f64 N (/.f64 (fma.f64 N N N) N))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (/.f64 (*.f64 N N) (cbrt.f64 (pow.f64 (fma.f64 N N N) 2))) (/.f64 (*.f64 N N) (cbrt.f64 (fma.f64 N N N))) (neg.f64 (/.f64 N (/.f64 (fma.f64 N N N) N))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (/.f64 (pow.f64 (cbrt.f64 N) 8) (cbrt.f64 (pow.f64 (fma.f64 N N N) 2))) (/.f64 (pow.f64 (cbrt.f64 N) 4) (cbrt.f64 (fma.f64 N N N))) (neg.f64 (/.f64 N (/.f64 (fma.f64 N N N) N))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (/.f64 (*.f64 N N) (hypot.f64 N (sqrt.f64 N))) (/.f64 (*.f64 N N) (hypot.f64 N (sqrt.f64 N))) (neg.f64 (/.f64 N (/.f64 (fma.f64 N N N) N))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (/.f64 (pow.f64 (cbrt.f64 N) 8) (hypot.f64 N (sqrt.f64 N))) (/.f64 (pow.f64 (cbrt.f64 N) 4) (hypot.f64 N (sqrt.f64 N))) (neg.f64 (/.f64 N (/.f64 (fma.f64 N N N) N))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (neg.f64 (sqrt.f64 N)) (sqrt.f64 N) (*.f64 N N))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 N (pow.f64 (cbrt.f64 N) 2)) (cbrt.f64 N) N)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 -1 (pow.f64 (cbrt.f64 N) 2)) (cbrt.f64 N) (*.f64 N N))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 -1 (sqrt.f64 N)) (sqrt.f64 N) (*.f64 N N)))))) |
((#(struct:change #<rule egg-rr> (2) ((x +.f64 (pow.f64 N 4) (*.f64 N N))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 N N) (pow.f64 N 4))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (pow.f64 (fma.f64 N N N) 2) (fma.f64 N N (*.f64 N N)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (pow.f64 (fma.f64 N N N) 2) (fma.f64 (neg.f64 (pow.f64 (cbrt.f64 N) 2)) (pow.f64 (cbrt.f64 N) 4) (*.f64 N N)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 0 (pow.f64 (fma.f64 N N N) 2))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 (fma.f64 N N N) (*.f64 N N)) (*.f64 (fma.f64 N N N) N))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 (*.f64 N N) (fma.f64 N N N)) (*.f64 N (fma.f64 N N N)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (pow.f64 (cbrt.f64 (exp.f64 (pow.f64 (fma.f64 N N N) 2))) 2)) (log.f64 (cbrt.f64 (exp.f64 (pow.f64 (fma.f64 N N N) 2)))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (sqrt.f64 (exp.f64 (pow.f64 (fma.f64 N N N) 2)))) (log.f64 (sqrt.f64 (exp.f64 (pow.f64 (fma.f64 N N N) 2)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 N N) (fma.f64 N N -1))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 N N) (fma.f64 N N 1))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (fma.f64 N N N) 2) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (fma.f64 N N N) 2) (*.f64 (/.f64 1 (fma.f64 N N N)) (fma.f64 N N N)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (fma.f64 N N N) (fma.f64 N N N))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (pow.f64 (fma.f64 N N N) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (pow.f64 (fma.f64 N N N) 2)) (pow.f64 (cbrt.f64 (fma.f64 N N N)) 4))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (pow.f64 (fma.f64 N N N) 2)) (*.f64 (cbrt.f64 (fma.f64 N N N)) (fma.f64 N N N)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (fma.f64 N N N)) 4) (cbrt.f64 (pow.f64 (fma.f64 N N N) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (fma.f64 N N N)) 4) (neg.f64 (cbrt.f64 (pow.f64 (fma.f64 N N N) 2))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (hypot.f64 N (sqrt.f64 N)) (*.f64 (hypot.f64 N (sqrt.f64 N)) (fma.f64 N N N)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (-.f64 (pow.f64 N 12) (pow.f64 N 6)) (/.f64 1 (+.f64 (pow.f64 (fma.f64 N N N) 4) (pow.f64 N 6))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (fma.f64 N N N) 3) (/.f64 1 (fma.f64 N N N)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 -1 (pow.f64 (fma.f64 N N N) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (fma.f64 N N N) 4) (pow.f64 (/.f64 1 (fma.f64 N N N)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (fma.f64 N N N) 4) (pow.f64 (fma.f64 N N N) -2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (fma.f64 N N N) 3/2) (hypot.f64 N (sqrt.f64 N)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (neg.f64 (pow.f64 (cbrt.f64 (fma.f64 N N N)) 4)) (cbrt.f64 (pow.f64 (fma.f64 N N N) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (fma.f64 N N 1) (*.f64 N N))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (fma.f64 N N N) (cbrt.f64 (pow.f64 (fma.f64 N N N) 2))) (cbrt.f64 (fma.f64 N N N)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (pow.f64 (fma.f64 N N N) 2) (*.f64 (/.f64 1 (fma.f64 N N N)) (fma.f64 N N N)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (pow.f64 (fma.f64 N N N) 2) (*.f64 (fma.f64 N N N) (/.f64 1 (fma.f64 N N N))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (fma.f64 N N N) (/.f64 1 (fma.f64 N N N)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (pow.f64 (/.f64 1 (fma.f64 N N N)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (+.f64 (pow.f64 (fma.f64 N N N) 4) (pow.f64 N 6)) (-.f64 (pow.f64 N 12) (pow.f64 N 6))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (pow.f64 (fma.f64 N N N) -2))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (pow.f64 N 12) (pow.f64 N 6)) (+.f64 (pow.f64 (fma.f64 N N N) 4) (pow.f64 N 6)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (pow.f64 (fma.f64 N N N) 3) (fma.f64 N N N))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (pow.f64 (fma.f64 N N N) 4) (pow.f64 (fma.f64 N N N) 2))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (-.f64 (pow.f64 N 12) (pow.f64 N 6))) (+.f64 (pow.f64 (fma.f64 N N N) 4) (pow.f64 N 6)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (-.f64 (pow.f64 N 12) (pow.f64 N 6))) (neg.f64 (+.f64 (pow.f64 (fma.f64 N N N) 4) (pow.f64 N 6))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (pow.f64 (fma.f64 N N N) 4)) (pow.f64 (fma.f64 N N N) 2))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 N 12) (pow.f64 N 6)) (+.f64 (pow.f64 N 8) (-.f64 (pow.f64 N 4) (pow.f64 N 6))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (fma.f64 N N N) 2) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (fma.f64 N N N) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (fma.f64 N N N) 6) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (fma.f64 N N N)) 6)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (pow.f64 (fma.f64 N N N) 2)) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (hypot.f64 N (sqrt.f64 N)) 4)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (fma.f64 N N N) 3) 2/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 1 (fma.f64 N N N)) -2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (fma.f64 N N N) 4) 1/2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (/.f64 1 (fma.f64 N N N)) 2) -1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 (+.f64 (pow.f64 (fma.f64 N N N) 4) (pow.f64 N 6)) (-.f64 (pow.f64 N 12) (pow.f64 N 6))) -1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (fma.f64 N N N) -2) -1)))) (#(struct:change #<rule egg-rr> (2) ((x neg.f64 (pow.f64 (fma.f64 N N N) 2))))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (fma.f64 N N N) 4))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (pow.f64 (fma.f64 N N N) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (pow.f64 (fma.f64 N N N) 2))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (/.f64 1 (+.f64 1 (expm1.f64 (pow.f64 (fma.f64 N N N) 2)))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (/.f64 (+.f64 1 (expm1.f64 (pow.f64 N 4))) (pow.f64 (exp.f64 N) N)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (/.f64 (exp.f64 (pow.f64 N 4)) (+.f64 1 (expm1.f64 (*.f64 N N)))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (/.f64 (+.f64 1 (expm1.f64 (pow.f64 N 4))) (+.f64 1 (expm1.f64 (*.f64 N N)))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (+.f64 1 (expm1.f64 (pow.f64 N 4))) (pow.f64 (exp.f64 N) N)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (exp.f64 (pow.f64 N 4)) (+.f64 1 (expm1.f64 (*.f64 N N)))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (+.f64 1 (expm1.f64 (pow.f64 N 4))) (+.f64 1 (expm1.f64 (*.f64 N N)))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (+.f64 1 (expm1.f64 (*.f64 N N))) (exp.f64 (pow.f64 N 4))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (pow.f64 (exp.f64 N) N) (+.f64 1 (expm1.f64 (pow.f64 N 4)))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (+.f64 1 (expm1.f64 (*.f64 N N))) (+.f64 1 (expm1.f64 (pow.f64 N 4)))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (fma.f64 N N N) 6))))) (#(struct:change #<rule egg-rr> (2) ((x hypot.f64 (pow.f64 N 4) (*.f64 N N))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (pow.f64 (fma.f64 N N N) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (pow.f64 (fma.f64 N N N) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (pow.f64 (fma.f64 N N N) 2)) 1))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (pow.f64 (fma.f64 N N N) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 N N (pow.f64 N 4))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 N (pow.f64 N 3) (*.f64 N N))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 N 4) 1 (*.f64 N N))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 N N) (*.f64 N N) (*.f64 N N))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 N N) (fma.f64 N N N) (*.f64 N (fma.f64 N N N)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 N N) 1 (pow.f64 N 4))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 N N) (fma.f64 N N -1) (fma.f64 N N (*.f64 N N)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 N N) (fma.f64 N N -1) (fma.f64 (neg.f64 (pow.f64 (cbrt.f64 N) 2)) (pow.f64 (cbrt.f64 N) 4) (*.f64 N N)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 N N) (fma.f64 N N 1) (fma.f64 N N (*.f64 N N)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 N N) (fma.f64 N N 1) (fma.f64 (neg.f64 (pow.f64 (cbrt.f64 N) 2)) (pow.f64 (cbrt.f64 N) 4) (*.f64 N N)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (fma.f64 N N N) 2) 1 (fma.f64 N N (*.f64 N N)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (fma.f64 N N N) 2) 1 (fma.f64 (neg.f64 (pow.f64 (cbrt.f64 N) 2)) (pow.f64 (cbrt.f64 N) 4) (*.f64 N N)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (fma.f64 N N N) 2) (*.f64 (/.f64 1 (fma.f64 N N N)) (fma.f64 N N N)) (fma.f64 N N (*.f64 N N)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (fma.f64 N N N) 2) (*.f64 (/.f64 1 (fma.f64 N N N)) (fma.f64 N N N)) (fma.f64 (neg.f64 (pow.f64 (cbrt.f64 N) 2)) (pow.f64 (cbrt.f64 N) 4) (*.f64 N N)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (fma.f64 N N N) (*.f64 N N) (*.f64 (fma.f64 N N N) N))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (fma.f64 N N N) (fma.f64 N N N) (fma.f64 N N (*.f64 N N)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (fma.f64 N N N) (fma.f64 N N N) (fma.f64 (neg.f64 (pow.f64 (cbrt.f64 N) 2)) (pow.f64 (cbrt.f64 N) 4) (*.f64 N N)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (pow.f64 N 4) (*.f64 N N))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (*.f64 N N) (pow.f64 N 4))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (pow.f64 (fma.f64 N N N) 2) (fma.f64 N N (*.f64 N N)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (pow.f64 (fma.f64 N N N) 2) (fma.f64 (neg.f64 (pow.f64 (cbrt.f64 N) 2)) (pow.f64 (cbrt.f64 N) 4) (*.f64 N N)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (+.f64 1 (pow.f64 (fma.f64 N N N) 2)) -1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 N 3) N (*.f64 N N))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 N) 2) (pow.f64 (cbrt.f64 N) 4) (pow.f64 N 4))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 N) 2) (*.f64 (cbrt.f64 N) N) (pow.f64 N 4))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (pow.f64 (fma.f64 N N N) 2)) (pow.f64 (cbrt.f64 (fma.f64 N N N)) 4) (fma.f64 N N (*.f64 N N)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (pow.f64 (fma.f64 N N N) 2)) (pow.f64 (cbrt.f64 (fma.f64 N N N)) 4) (fma.f64 (neg.f64 (pow.f64 (cbrt.f64 N) 2)) (pow.f64 (cbrt.f64 N) 4) (*.f64 N N)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (pow.f64 (fma.f64 N N N) 2)) (*.f64 (cbrt.f64 (fma.f64 N N N)) (fma.f64 N N N)) (fma.f64 N N (*.f64 N N)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (pow.f64 (fma.f64 N N N) 2)) (*.f64 (cbrt.f64 (fma.f64 N N N)) (fma.f64 N N N)) (fma.f64 (neg.f64 (pow.f64 (cbrt.f64 N) 2)) (pow.f64 (cbrt.f64 N) 4) (*.f64 N N)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 (fma.f64 N N N)) 4) (cbrt.f64 (pow.f64 (fma.f64 N N N) 2)) (fma.f64 N N (*.f64 N N)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 (fma.f64 N N N)) 4) (cbrt.f64 (pow.f64 (fma.f64 N N N) 2)) (fma.f64 (neg.f64 (pow.f64 (cbrt.f64 N) 2)) (pow.f64 (cbrt.f64 N) 4) (*.f64 N N)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 (fma.f64 N N N)) 4) (neg.f64 (cbrt.f64 (pow.f64 (fma.f64 N N N) 2))) (fma.f64 N N (*.f64 N N)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 (fma.f64 N N N)) 4) (neg.f64 (cbrt.f64 (pow.f64 (fma.f64 N N N) 2))) (fma.f64 (neg.f64 (pow.f64 (cbrt.f64 N) 2)) (pow.f64 (cbrt.f64 N) 4) (*.f64 N N)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 N) 4) (pow.f64 (cbrt.f64 N) 2) (pow.f64 N 4))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 N) 4) (pow.f64 (cbrt.f64 N) 8) (*.f64 N N))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 N) 4) (neg.f64 (pow.f64 (cbrt.f64 N) 2)) (pow.f64 N 4))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 N) 4) (*.f64 (pow.f64 (cbrt.f64 N) 2) (*.f64 N N)) (*.f64 N N))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 N) 8) (pow.f64 (cbrt.f64 N) 4) (*.f64 N N))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (hypot.f64 N (sqrt.f64 N)) (*.f64 (hypot.f64 N (sqrt.f64 N)) (fma.f64 N N N)) (fma.f64 N N (*.f64 N N)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (hypot.f64 N (sqrt.f64 N)) (*.f64 (hypot.f64 N (sqrt.f64 N)) (fma.f64 N N N)) (fma.f64 (neg.f64 (pow.f64 (cbrt.f64 N) 2)) (pow.f64 (cbrt.f64 N) 4) (*.f64 N N)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 N) (*.f64 (sqrt.f64 N) N) (pow.f64 N 4))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (-.f64 (pow.f64 N 12) (pow.f64 N 6)) (/.f64 1 (+.f64 (pow.f64 (fma.f64 N N N) 4) (pow.f64 N 6))) (fma.f64 N N (*.f64 N N)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (-.f64 (pow.f64 N 12) (pow.f64 N 6)) (/.f64 1 (+.f64 (pow.f64 (fma.f64 N N N) 4) (pow.f64 N 6))) (fma.f64 (neg.f64 (pow.f64 (cbrt.f64 N) 2)) (pow.f64 (cbrt.f64 N) 4) (*.f64 N N)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (fma.f64 N N N) 3) (/.f64 1 (fma.f64 N N N)) (fma.f64 N N (*.f64 N N)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (fma.f64 N N N) 3) (/.f64 1 (fma.f64 N N N)) (fma.f64 (neg.f64 (pow.f64 (cbrt.f64 N) 2)) (pow.f64 (cbrt.f64 N) 4) (*.f64 N N)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 -1 (*.f64 N N) (pow.f64 N 4))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 -1 (pow.f64 (fma.f64 N N N) 2) (fma.f64 N N (*.f64 N N)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 -1 (pow.f64 (fma.f64 N N N) 2) (fma.f64 (neg.f64 (pow.f64 (cbrt.f64 N) 2)) (pow.f64 (cbrt.f64 N) 4) (*.f64 N N)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (fma.f64 N N N) 4) (pow.f64 (/.f64 1 (fma.f64 N N N)) 2) (fma.f64 N N (*.f64 N N)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (fma.f64 N N N) 4) (pow.f64 (/.f64 1 (fma.f64 N N N)) 2) (fma.f64 (neg.f64 (pow.f64 (cbrt.f64 N) 2)) (pow.f64 (cbrt.f64 N) 4) (*.f64 N N)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (fma.f64 N N N) 4) (pow.f64 (fma.f64 N N N) -2) (fma.f64 N N (*.f64 N N)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (fma.f64 N N N) 4) (pow.f64 (fma.f64 N N N) -2) (fma.f64 (neg.f64 (pow.f64 (cbrt.f64 N) 2)) (pow.f64 (cbrt.f64 N) 4) (*.f64 N N)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 N (sqrt.f64 N)) (sqrt.f64 N) (pow.f64 N 4))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (fma.f64 N N N) 3/2) (hypot.f64 N (sqrt.f64 N)) (fma.f64 N N (*.f64 N N)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (fma.f64 N N N) 3/2) (hypot.f64 N (sqrt.f64 N)) (fma.f64 (neg.f64 (pow.f64 (cbrt.f64 N) 2)) (pow.f64 (cbrt.f64 N) 4) (*.f64 N N)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 (+.f64 1 (pow.f64 (fma.f64 N N N) 2))) 2) (cbrt.f64 (+.f64 1 (pow.f64 (fma.f64 N N N) 2))) -1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 (pow.f64 (cbrt.f64 N) 8)) (sqrt.f64 (pow.f64 (cbrt.f64 N) 4)) (pow.f64 N 4))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (hypot.f64 1 (fma.f64 N N N)) (hypot.f64 1 (fma.f64 N N N)) -1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (neg.f64 (pow.f64 (cbrt.f64 N) 4)) (pow.f64 (cbrt.f64 N) 2) (pow.f64 N 4))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (neg.f64 (pow.f64 (cbrt.f64 (fma.f64 N N N)) 4)) (cbrt.f64 (pow.f64 (fma.f64 N N N) 2)) (fma.f64 N N (*.f64 N N)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (neg.f64 (pow.f64 (cbrt.f64 (fma.f64 N N N)) 4)) (cbrt.f64 (pow.f64 (fma.f64 N N N) 2)) (fma.f64 (neg.f64 (pow.f64 (cbrt.f64 N) 2)) (pow.f64 (cbrt.f64 N) 4) (*.f64 N N)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (fma.f64 N N 1) (*.f64 N N) (fma.f64 N N (*.f64 N N)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (fma.f64 N N 1) (*.f64 N N) (fma.f64 (neg.f64 (pow.f64 (cbrt.f64 N) 2)) (pow.f64 (cbrt.f64 N) 4) (*.f64 N N)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 N (pow.f64 (cbrt.f64 N) 2)) (cbrt.f64 N) (pow.f64 N 4))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 (fma.f64 N N N) (cbrt.f64 (pow.f64 (fma.f64 N N N) 2))) (cbrt.f64 (fma.f64 N N N)) (fma.f64 N N (*.f64 N N)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 (fma.f64 N N N) (cbrt.f64 (pow.f64 (fma.f64 N N N) 2))) (cbrt.f64 (fma.f64 N N N)) (fma.f64 (neg.f64 (pow.f64 (cbrt.f64 N) 2)) (pow.f64 (cbrt.f64 N) 4) (*.f64 N N)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 (*.f64 N N) (pow.f64 (cbrt.f64 N) 4)) (pow.f64 (cbrt.f64 N) 2) (*.f64 N N)))))) |
((#(struct:change #<rule egg-rr> (2) ((x +.f64 0 (atan2.f64 1 (+.f64 (fma.f64 N N N) 1)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (pow.f64 (cbrt.f64 (exp.f64 (atan2.f64 1 (+.f64 (fma.f64 N N N) 1)))) 2)) (log.f64 (cbrt.f64 (exp.f64 (atan2.f64 1 (+.f64 (fma.f64 N N N) 1))))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (sqrt.f64 (exp.f64 (atan2.f64 1 (+.f64 (fma.f64 N N N) 1))))) (log.f64 (sqrt.f64 (exp.f64 (atan2.f64 1 (+.f64 (fma.f64 N N N) 1))))))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (atan2.f64 1 (+.f64 (fma.f64 N N N) 1)))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (atan2.f64 1 (+.f64 (fma.f64 N N N) 1)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (atan2.f64 1 (+.f64 (fma.f64 N N N) 1)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (atan2.f64 1 (+.f64 (fma.f64 N N N) 1))) (cbrt.f64 (pow.f64 (atan2.f64 1 (+.f64 (fma.f64 N N N) 1)) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (pow.f64 (atan2.f64 1 (+.f64 (fma.f64 N N N) 1)) 2)) (cbrt.f64 (atan2.f64 1 (+.f64 (fma.f64 N N N) 1))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (atan2.f64 1 (+.f64 (fma.f64 N N N) 1))) (sqrt.f64 (atan2.f64 1 (+.f64 (fma.f64 N N N) 1))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (atan2.f64 1 (+.f64 (fma.f64 N N N) 1)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (atan2.f64 1 (+.f64 (fma.f64 N N N) 1)) 2) 1/2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (atan2.f64 1 (+.f64 (fma.f64 N N N) 1)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (atan2.f64 1 (+.f64 (fma.f64 N N N) 1))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (atan2.f64 1 (+.f64 (fma.f64 N N N) 1))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (atan2.f64 1 (+.f64 (fma.f64 N N N) 1)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (atan2.f64 1 (+.f64 (fma.f64 N N N) 1))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (atan2.f64 1 (+.f64 (fma.f64 N N N) 1)))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (atan2.f64 1 (+.f64 (fma.f64 N N N) 1)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (atan2.f64 1 (+.f64 (fma.f64 N N N) 1))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (atan2.f64 1 (+.f64 (fma.f64 N N N) 1))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (atan2.f64 1 (+.f64 (fma.f64 N N N) 1))) 1))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (atan2.f64 1 (+.f64 (fma.f64 N N N) 1)))))))) |
| 1× | egg-herbie |
| 824× | associate-/r*_binary64 |
| 749× | fma-def_binary64 |
| 681× | associate-*l*_binary64 |
| 377× | associate-*l/_binary64 |
| 256× | associate-/r/_binary64 |
Useful iterations: 4 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 25 | 593 |
| 1 | 57 | 566 |
| 2 | 101 | 566 |
| 3 | 280 | 434 |
| 4 | 1636 | 374 |
| 1× | node limit |
| Inputs |
|---|
N |
(+.f64 N (pow.f64 N 2)) |
(+.f64 N (pow.f64 N 2)) |
(+.f64 N (pow.f64 N 2)) |
(pow.f64 N 2) |
(+.f64 N (pow.f64 N 2)) |
(+.f64 N (pow.f64 N 2)) |
(+.f64 N (pow.f64 N 2)) |
(pow.f64 N 2) |
(+.f64 N (pow.f64 N 2)) |
(+.f64 N (pow.f64 N 2)) |
(+.f64 N (pow.f64 N 2)) |
(*.f64 -1 (pow.f64 N 2)) |
(+.f64 (*.f64 -1 (pow.f64 N 2)) (pow.f64 N 4)) |
(+.f64 (*.f64 -1 (pow.f64 N 2)) (pow.f64 N 4)) |
(+.f64 (*.f64 -1 (pow.f64 N 2)) (pow.f64 N 4)) |
(pow.f64 N 4) |
(+.f64 (*.f64 -1 (pow.f64 N 2)) (pow.f64 N 4)) |
(+.f64 (*.f64 -1 (pow.f64 N 2)) (pow.f64 N 4)) |
(+.f64 (*.f64 -1 (pow.f64 N 2)) (pow.f64 N 4)) |
(pow.f64 N 4) |
(+.f64 (*.f64 -1 (pow.f64 N 2)) (pow.f64 N 4)) |
(+.f64 (*.f64 -1 (pow.f64 N 2)) (pow.f64 N 4)) |
(+.f64 (*.f64 -1 (pow.f64 N 2)) (pow.f64 N 4)) |
(atan2.f64 1 (-.f64 (+.f64 (/.f64 (pow.f64 N 4) (fma.f64 N N (neg.f64 N))) 1) (/.f64 (pow.f64 N 2) (fma.f64 N N (neg.f64 N))))) |
(atan2.f64 1 (-.f64 (+.f64 (/.f64 (pow.f64 N 4) (fma.f64 N N (neg.f64 N))) 1) (/.f64 (pow.f64 N 2) (fma.f64 N N (neg.f64 N))))) |
(atan2.f64 1 (-.f64 (+.f64 (/.f64 (pow.f64 N 4) (fma.f64 N N (neg.f64 N))) 1) (/.f64 (pow.f64 N 2) (fma.f64 N N (neg.f64 N))))) |
(atan2.f64 1 (-.f64 (+.f64 (/.f64 (pow.f64 N 4) (fma.f64 N N (neg.f64 N))) 1) (/.f64 (pow.f64 N 2) (fma.f64 N N (neg.f64 N))))) |
(atan2.f64 1 (-.f64 (+.f64 (/.f64 (pow.f64 N 4) (fma.f64 N N (neg.f64 N))) 1) (/.f64 (pow.f64 N 2) (fma.f64 N N (neg.f64 N))))) |
(atan2.f64 1 (-.f64 (+.f64 (/.f64 (pow.f64 N 4) (fma.f64 N N (neg.f64 N))) 1) (/.f64 (pow.f64 N 2) (fma.f64 N N (neg.f64 N))))) |
(atan2.f64 1 (-.f64 (+.f64 (/.f64 (pow.f64 N 4) (fma.f64 N N (neg.f64 N))) 1) (/.f64 (pow.f64 N 2) (fma.f64 N N (neg.f64 N))))) |
(atan2.f64 1 (-.f64 (+.f64 (/.f64 (pow.f64 N 4) (fma.f64 N N (neg.f64 N))) 1) (/.f64 (pow.f64 N 2) (fma.f64 N N (neg.f64 N))))) |
(atan2.f64 1 (-.f64 (+.f64 1 (/.f64 (pow.f64 N 4) (fma.f64 N N (*.f64 -1 N)))) (/.f64 (pow.f64 N 2) (fma.f64 N N (*.f64 -1 N))))) |
(atan2.f64 1 (-.f64 (+.f64 1 (/.f64 (pow.f64 N 4) (fma.f64 N N (*.f64 -1 N)))) (/.f64 (pow.f64 N 2) (fma.f64 N N (*.f64 -1 N))))) |
(atan2.f64 1 (-.f64 (+.f64 1 (/.f64 (pow.f64 N 4) (fma.f64 N N (*.f64 -1 N)))) (/.f64 (pow.f64 N 2) (fma.f64 N N (*.f64 -1 N))))) |
(atan2.f64 1 (-.f64 (+.f64 1 (/.f64 (pow.f64 N 4) (fma.f64 N N (*.f64 -1 N)))) (/.f64 (pow.f64 N 2) (fma.f64 N N (*.f64 -1 N))))) |
| Outputs |
|---|
N |
(+.f64 N (pow.f64 N 2)) |
(+.f64 N (*.f64 N N)) |
(fma.f64 N N N) |
(+.f64 N (pow.f64 N 2)) |
(+.f64 N (*.f64 N N)) |
(fma.f64 N N N) |
(+.f64 N (pow.f64 N 2)) |
(+.f64 N (*.f64 N N)) |
(fma.f64 N N N) |
(pow.f64 N 2) |
(*.f64 N N) |
(+.f64 N (pow.f64 N 2)) |
(+.f64 N (*.f64 N N)) |
(fma.f64 N N N) |
(+.f64 N (pow.f64 N 2)) |
(+.f64 N (*.f64 N N)) |
(fma.f64 N N N) |
(+.f64 N (pow.f64 N 2)) |
(+.f64 N (*.f64 N N)) |
(fma.f64 N N N) |
(pow.f64 N 2) |
(*.f64 N N) |
(+.f64 N (pow.f64 N 2)) |
(+.f64 N (*.f64 N N)) |
(fma.f64 N N N) |
(+.f64 N (pow.f64 N 2)) |
(+.f64 N (*.f64 N N)) |
(fma.f64 N N N) |
(+.f64 N (pow.f64 N 2)) |
(+.f64 N (*.f64 N N)) |
(fma.f64 N N N) |
(*.f64 -1 (pow.f64 N 2)) |
(neg.f64 (*.f64 N N)) |
(*.f64 N (neg.f64 N)) |
(+.f64 (*.f64 -1 (pow.f64 N 2)) (pow.f64 N 4)) |
(fma.f64 -1 (*.f64 N N) (pow.f64 N 4)) |
(-.f64 (pow.f64 N 4) (*.f64 N N)) |
(+.f64 (*.f64 -1 (pow.f64 N 2)) (pow.f64 N 4)) |
(fma.f64 -1 (*.f64 N N) (pow.f64 N 4)) |
(-.f64 (pow.f64 N 4) (*.f64 N N)) |
(+.f64 (*.f64 -1 (pow.f64 N 2)) (pow.f64 N 4)) |
(fma.f64 -1 (*.f64 N N) (pow.f64 N 4)) |
(-.f64 (pow.f64 N 4) (*.f64 N N)) |
(pow.f64 N 4) |
(+.f64 (*.f64 -1 (pow.f64 N 2)) (pow.f64 N 4)) |
(fma.f64 -1 (*.f64 N N) (pow.f64 N 4)) |
(-.f64 (pow.f64 N 4) (*.f64 N N)) |
(+.f64 (*.f64 -1 (pow.f64 N 2)) (pow.f64 N 4)) |
(fma.f64 -1 (*.f64 N N) (pow.f64 N 4)) |
(-.f64 (pow.f64 N 4) (*.f64 N N)) |
(+.f64 (*.f64 -1 (pow.f64 N 2)) (pow.f64 N 4)) |
(fma.f64 -1 (*.f64 N N) (pow.f64 N 4)) |
(-.f64 (pow.f64 N 4) (*.f64 N N)) |
(pow.f64 N 4) |
(+.f64 (*.f64 -1 (pow.f64 N 2)) (pow.f64 N 4)) |
(fma.f64 -1 (*.f64 N N) (pow.f64 N 4)) |
(-.f64 (pow.f64 N 4) (*.f64 N N)) |
(+.f64 (*.f64 -1 (pow.f64 N 2)) (pow.f64 N 4)) |
(fma.f64 -1 (*.f64 N N) (pow.f64 N 4)) |
(-.f64 (pow.f64 N 4) (*.f64 N N)) |
(+.f64 (*.f64 -1 (pow.f64 N 2)) (pow.f64 N 4)) |
(fma.f64 -1 (*.f64 N N) (pow.f64 N 4)) |
(-.f64 (pow.f64 N 4) (*.f64 N N)) |
(atan2.f64 1 (-.f64 (+.f64 (/.f64 (pow.f64 N 4) (fma.f64 N N (neg.f64 N))) 1) (/.f64 (pow.f64 N 2) (fma.f64 N N (neg.f64 N))))) |
(atan2.f64 1 (+.f64 (/.f64 (pow.f64 N 4) (fma.f64 N N (neg.f64 N))) (-.f64 1 (/.f64 (*.f64 N N) (fma.f64 N N (neg.f64 N)))))) |
(atan2.f64 1 (+.f64 (/.f64 (pow.f64 N 4) (fma.f64 N N (neg.f64 N))) (-.f64 1 (/.f64 N (/.f64 (fma.f64 N N (neg.f64 N)) N))))) |
(atan2.f64 1 (-.f64 (/.f64 (pow.f64 N 4) (-.f64 (*.f64 N N) N)) (-.f64 (/.f64 (*.f64 N N) (-.f64 (*.f64 N N) N)) 1))) |
(atan2.f64 1 (+.f64 1 (*.f64 (*.f64 N (/.f64 1 (+.f64 N -1))) (fma.f64 N N -1)))) |
(atan2.f64 1 (fma.f64 (/.f64 N (+.f64 N -1)) (fma.f64 N N -1) 1)) |
(atan2.f64 1 (-.f64 (+.f64 (/.f64 (pow.f64 N 4) (fma.f64 N N (neg.f64 N))) 1) (/.f64 (pow.f64 N 2) (fma.f64 N N (neg.f64 N))))) |
(atan2.f64 1 (+.f64 (/.f64 (pow.f64 N 4) (fma.f64 N N (neg.f64 N))) (-.f64 1 (/.f64 (*.f64 N N) (fma.f64 N N (neg.f64 N)))))) |
(atan2.f64 1 (+.f64 (/.f64 (pow.f64 N 4) (fma.f64 N N (neg.f64 N))) (-.f64 1 (/.f64 N (/.f64 (fma.f64 N N (neg.f64 N)) N))))) |
(atan2.f64 1 (-.f64 (/.f64 (pow.f64 N 4) (-.f64 (*.f64 N N) N)) (-.f64 (/.f64 (*.f64 N N) (-.f64 (*.f64 N N) N)) 1))) |
(atan2.f64 1 (+.f64 1 (*.f64 (*.f64 N (/.f64 1 (+.f64 N -1))) (fma.f64 N N -1)))) |
(atan2.f64 1 (fma.f64 (/.f64 N (+.f64 N -1)) (fma.f64 N N -1) 1)) |
(atan2.f64 1 (-.f64 (+.f64 (/.f64 (pow.f64 N 4) (fma.f64 N N (neg.f64 N))) 1) (/.f64 (pow.f64 N 2) (fma.f64 N N (neg.f64 N))))) |
(atan2.f64 1 (+.f64 (/.f64 (pow.f64 N 4) (fma.f64 N N (neg.f64 N))) (-.f64 1 (/.f64 (*.f64 N N) (fma.f64 N N (neg.f64 N)))))) |
(atan2.f64 1 (+.f64 (/.f64 (pow.f64 N 4) (fma.f64 N N (neg.f64 N))) (-.f64 1 (/.f64 N (/.f64 (fma.f64 N N (neg.f64 N)) N))))) |
(atan2.f64 1 (-.f64 (/.f64 (pow.f64 N 4) (-.f64 (*.f64 N N) N)) (-.f64 (/.f64 (*.f64 N N) (-.f64 (*.f64 N N) N)) 1))) |
(atan2.f64 1 (+.f64 1 (*.f64 (*.f64 N (/.f64 1 (+.f64 N -1))) (fma.f64 N N -1)))) |
(atan2.f64 1 (fma.f64 (/.f64 N (+.f64 N -1)) (fma.f64 N N -1) 1)) |
(atan2.f64 1 (-.f64 (+.f64 (/.f64 (pow.f64 N 4) (fma.f64 N N (neg.f64 N))) 1) (/.f64 (pow.f64 N 2) (fma.f64 N N (neg.f64 N))))) |
(atan2.f64 1 (+.f64 (/.f64 (pow.f64 N 4) (fma.f64 N N (neg.f64 N))) (-.f64 1 (/.f64 (*.f64 N N) (fma.f64 N N (neg.f64 N)))))) |
(atan2.f64 1 (+.f64 (/.f64 (pow.f64 N 4) (fma.f64 N N (neg.f64 N))) (-.f64 1 (/.f64 N (/.f64 (fma.f64 N N (neg.f64 N)) N))))) |
(atan2.f64 1 (-.f64 (/.f64 (pow.f64 N 4) (-.f64 (*.f64 N N) N)) (-.f64 (/.f64 (*.f64 N N) (-.f64 (*.f64 N N) N)) 1))) |
(atan2.f64 1 (+.f64 1 (*.f64 (*.f64 N (/.f64 1 (+.f64 N -1))) (fma.f64 N N -1)))) |
(atan2.f64 1 (fma.f64 (/.f64 N (+.f64 N -1)) (fma.f64 N N -1) 1)) |
(atan2.f64 1 (-.f64 (+.f64 (/.f64 (pow.f64 N 4) (fma.f64 N N (neg.f64 N))) 1) (/.f64 (pow.f64 N 2) (fma.f64 N N (neg.f64 N))))) |
(atan2.f64 1 (+.f64 (/.f64 (pow.f64 N 4) (fma.f64 N N (neg.f64 N))) (-.f64 1 (/.f64 (*.f64 N N) (fma.f64 N N (neg.f64 N)))))) |
(atan2.f64 1 (+.f64 (/.f64 (pow.f64 N 4) (fma.f64 N N (neg.f64 N))) (-.f64 1 (/.f64 N (/.f64 (fma.f64 N N (neg.f64 N)) N))))) |
(atan2.f64 1 (-.f64 (/.f64 (pow.f64 N 4) (-.f64 (*.f64 N N) N)) (-.f64 (/.f64 (*.f64 N N) (-.f64 (*.f64 N N) N)) 1))) |
(atan2.f64 1 (+.f64 1 (*.f64 (*.f64 N (/.f64 1 (+.f64 N -1))) (fma.f64 N N -1)))) |
(atan2.f64 1 (fma.f64 (/.f64 N (+.f64 N -1)) (fma.f64 N N -1) 1)) |
(atan2.f64 1 (-.f64 (+.f64 (/.f64 (pow.f64 N 4) (fma.f64 N N (neg.f64 N))) 1) (/.f64 (pow.f64 N 2) (fma.f64 N N (neg.f64 N))))) |
(atan2.f64 1 (+.f64 (/.f64 (pow.f64 N 4) (fma.f64 N N (neg.f64 N))) (-.f64 1 (/.f64 (*.f64 N N) (fma.f64 N N (neg.f64 N)))))) |
(atan2.f64 1 (+.f64 (/.f64 (pow.f64 N 4) (fma.f64 N N (neg.f64 N))) (-.f64 1 (/.f64 N (/.f64 (fma.f64 N N (neg.f64 N)) N))))) |
(atan2.f64 1 (-.f64 (/.f64 (pow.f64 N 4) (-.f64 (*.f64 N N) N)) (-.f64 (/.f64 (*.f64 N N) (-.f64 (*.f64 N N) N)) 1))) |
(atan2.f64 1 (+.f64 1 (*.f64 (*.f64 N (/.f64 1 (+.f64 N -1))) (fma.f64 N N -1)))) |
(atan2.f64 1 (fma.f64 (/.f64 N (+.f64 N -1)) (fma.f64 N N -1) 1)) |
(atan2.f64 1 (-.f64 (+.f64 (/.f64 (pow.f64 N 4) (fma.f64 N N (neg.f64 N))) 1) (/.f64 (pow.f64 N 2) (fma.f64 N N (neg.f64 N))))) |
(atan2.f64 1 (+.f64 (/.f64 (pow.f64 N 4) (fma.f64 N N (neg.f64 N))) (-.f64 1 (/.f64 (*.f64 N N) (fma.f64 N N (neg.f64 N)))))) |
(atan2.f64 1 (+.f64 (/.f64 (pow.f64 N 4) (fma.f64 N N (neg.f64 N))) (-.f64 1 (/.f64 N (/.f64 (fma.f64 N N (neg.f64 N)) N))))) |
(atan2.f64 1 (-.f64 (/.f64 (pow.f64 N 4) (-.f64 (*.f64 N N) N)) (-.f64 (/.f64 (*.f64 N N) (-.f64 (*.f64 N N) N)) 1))) |
(atan2.f64 1 (+.f64 1 (*.f64 (*.f64 N (/.f64 1 (+.f64 N -1))) (fma.f64 N N -1)))) |
(atan2.f64 1 (fma.f64 (/.f64 N (+.f64 N -1)) (fma.f64 N N -1) 1)) |
(atan2.f64 1 (-.f64 (+.f64 (/.f64 (pow.f64 N 4) (fma.f64 N N (neg.f64 N))) 1) (/.f64 (pow.f64 N 2) (fma.f64 N N (neg.f64 N))))) |
(atan2.f64 1 (+.f64 (/.f64 (pow.f64 N 4) (fma.f64 N N (neg.f64 N))) (-.f64 1 (/.f64 (*.f64 N N) (fma.f64 N N (neg.f64 N)))))) |
(atan2.f64 1 (+.f64 (/.f64 (pow.f64 N 4) (fma.f64 N N (neg.f64 N))) (-.f64 1 (/.f64 N (/.f64 (fma.f64 N N (neg.f64 N)) N))))) |
(atan2.f64 1 (-.f64 (/.f64 (pow.f64 N 4) (-.f64 (*.f64 N N) N)) (-.f64 (/.f64 (*.f64 N N) (-.f64 (*.f64 N N) N)) 1))) |
(atan2.f64 1 (+.f64 1 (*.f64 (*.f64 N (/.f64 1 (+.f64 N -1))) (fma.f64 N N -1)))) |
(atan2.f64 1 (fma.f64 (/.f64 N (+.f64 N -1)) (fma.f64 N N -1) 1)) |
(atan2.f64 1 (-.f64 (+.f64 1 (/.f64 (pow.f64 N 4) (fma.f64 N N (*.f64 -1 N)))) (/.f64 (pow.f64 N 2) (fma.f64 N N (*.f64 -1 N))))) |
(atan2.f64 1 (+.f64 (/.f64 (pow.f64 N 4) (fma.f64 N N (neg.f64 N))) (-.f64 1 (/.f64 (*.f64 N N) (fma.f64 N N (neg.f64 N)))))) |
(atan2.f64 1 (+.f64 (/.f64 (pow.f64 N 4) (fma.f64 N N (neg.f64 N))) (-.f64 1 (/.f64 N (/.f64 (fma.f64 N N (neg.f64 N)) N))))) |
(atan2.f64 1 (-.f64 (/.f64 (pow.f64 N 4) (-.f64 (*.f64 N N) N)) (-.f64 (/.f64 (*.f64 N N) (-.f64 (*.f64 N N) N)) 1))) |
(atan2.f64 1 (+.f64 1 (*.f64 (*.f64 N (/.f64 1 (+.f64 N -1))) (fma.f64 N N -1)))) |
(atan2.f64 1 (fma.f64 (/.f64 N (+.f64 N -1)) (fma.f64 N N -1) 1)) |
(atan2.f64 1 (-.f64 (+.f64 1 (/.f64 (pow.f64 N 4) (fma.f64 N N (*.f64 -1 N)))) (/.f64 (pow.f64 N 2) (fma.f64 N N (*.f64 -1 N))))) |
(atan2.f64 1 (+.f64 (/.f64 (pow.f64 N 4) (fma.f64 N N (neg.f64 N))) (-.f64 1 (/.f64 (*.f64 N N) (fma.f64 N N (neg.f64 N)))))) |
(atan2.f64 1 (+.f64 (/.f64 (pow.f64 N 4) (fma.f64 N N (neg.f64 N))) (-.f64 1 (/.f64 N (/.f64 (fma.f64 N N (neg.f64 N)) N))))) |
(atan2.f64 1 (-.f64 (/.f64 (pow.f64 N 4) (-.f64 (*.f64 N N) N)) (-.f64 (/.f64 (*.f64 N N) (-.f64 (*.f64 N N) N)) 1))) |
(atan2.f64 1 (+.f64 1 (*.f64 (*.f64 N (/.f64 1 (+.f64 N -1))) (fma.f64 N N -1)))) |
(atan2.f64 1 (fma.f64 (/.f64 N (+.f64 N -1)) (fma.f64 N N -1) 1)) |
(atan2.f64 1 (-.f64 (+.f64 1 (/.f64 (pow.f64 N 4) (fma.f64 N N (*.f64 -1 N)))) (/.f64 (pow.f64 N 2) (fma.f64 N N (*.f64 -1 N))))) |
(atan2.f64 1 (+.f64 (/.f64 (pow.f64 N 4) (fma.f64 N N (neg.f64 N))) (-.f64 1 (/.f64 (*.f64 N N) (fma.f64 N N (neg.f64 N)))))) |
(atan2.f64 1 (+.f64 (/.f64 (pow.f64 N 4) (fma.f64 N N (neg.f64 N))) (-.f64 1 (/.f64 N (/.f64 (fma.f64 N N (neg.f64 N)) N))))) |
(atan2.f64 1 (-.f64 (/.f64 (pow.f64 N 4) (-.f64 (*.f64 N N) N)) (-.f64 (/.f64 (*.f64 N N) (-.f64 (*.f64 N N) N)) 1))) |
(atan2.f64 1 (+.f64 1 (*.f64 (*.f64 N (/.f64 1 (+.f64 N -1))) (fma.f64 N N -1)))) |
(atan2.f64 1 (fma.f64 (/.f64 N (+.f64 N -1)) (fma.f64 N N -1) 1)) |
(atan2.f64 1 (-.f64 (+.f64 1 (/.f64 (pow.f64 N 4) (fma.f64 N N (*.f64 -1 N)))) (/.f64 (pow.f64 N 2) (fma.f64 N N (*.f64 -1 N))))) |
(atan2.f64 1 (+.f64 (/.f64 (pow.f64 N 4) (fma.f64 N N (neg.f64 N))) (-.f64 1 (/.f64 (*.f64 N N) (fma.f64 N N (neg.f64 N)))))) |
(atan2.f64 1 (+.f64 (/.f64 (pow.f64 N 4) (fma.f64 N N (neg.f64 N))) (-.f64 1 (/.f64 N (/.f64 (fma.f64 N N (neg.f64 N)) N))))) |
(atan2.f64 1 (-.f64 (/.f64 (pow.f64 N 4) (-.f64 (*.f64 N N) N)) (-.f64 (/.f64 (*.f64 N N) (-.f64 (*.f64 N N) N)) 1))) |
(atan2.f64 1 (+.f64 1 (*.f64 (*.f64 N (/.f64 1 (+.f64 N -1))) (fma.f64 N N -1)))) |
(atan2.f64 1 (fma.f64 (/.f64 N (+.f64 N -1)) (fma.f64 N N -1) 1)) |
Found 3 expressions with local error:
| New | Error | Program |
|---|---|---|
| ✓ | 0.2b | (pow.f64 (cbrt.f64 (atan2.f64 1 (+.f64 1 (fma.f64 N N N)))) 3) |
| 0.5b | (atan2.f64 1 (+.f64 1 (fma.f64 N N N))) | |
| ✓ | 14.7b | (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 | |
|---|---|---|---|---|
| 3.0ms | N | @ | -inf | (cbrt.f64 (atan2.f64 1 (+.f64 1 (fma.f64 N N N)))) |
| 2.0ms | N | @ | 0 | (cbrt.f64 (atan2.f64 1 (+.f64 1 (fma.f64 N N N)))) |
| 2.0ms | N | @ | inf | (cbrt.f64 (atan2.f64 1 (+.f64 1 (fma.f64 N N N)))) |
| 1.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 exp.f64 (log.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 -.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 exp.f64 (log.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))))))))) |
| 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))) |
Compiled 7551 to 4041 computations (46.5% saved)
10 alts after pruning (6 fresh and 4 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 408 | 6 | 414 |
| Fresh | 0 | 0 | 0 |
| Picked | 1 | 0 | 1 |
| Done | 2 | 4 | 6 |
| Total | 411 | 10 | 421 |
| Status | Error | Program |
|---|---|---|
| ✓ | 0.5b | (atan2.f64 1 (+.f64 1 (*.f64 N (+.f64 N 1)))) |
| 0.8b | (atan2.f64 1 (+.f64 1 (fma.f64 (pow.f64 (cbrt.f64 N) 2) (*.f64 (cbrt.f64 N) N) N))) | |
| ✓ | 14.9b | (-.f64 (atan.f64 (+.f64 N 1)) (atan.f64 N)) |
| 23.8b | (atan2.f64 1 (+.f64 1 (/.f64 (pow.f64 N 4) (fma.f64 N N (neg.f64 N))))) | |
| 2.0b | (pow.f64 (sqrt.f64 (atan2.f64 1 (fma.f64 N N 1))) 2) | |
| ✓ | 1.4b | (atan2.f64 1 (+.f64 1 (*.f64 N N))) |
| 1.8b | (*.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)))))) | |
| ✓ | 29.5b | (atan2.f64 1 (+.f64 1 N)) |
| 15.6b | (atan2.f64 1 (+.f64 1 (*.f64 (fma.f64 N N N) (*.f64 (fma.f64 N N N) (/.f64 1 (fma.f64 N N N)))))) | |
| 2.7b | (pow.f64 (cbrt.f64 (atan2.f64 1 (fma.f64 N N 1))) 3) |
Compiled 133 to 91 computations (31.6% saved)
| Inputs |
|---|
(atan2.f64 1 (+.f64 1 N)) |
(atan2.f64 1 (+.f64 1 (*.f64 N N))) |
(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)) |
(atan2.f64 1 (+.f64 1 (/.f64 (pow.f64 N 4) (fma.f64 N N (neg.f64 N))))) |
(atan2.f64 1 (+.f64 1 (/.f64 (-.f64 (pow.f64 N 4) (*.f64 N N)) (fma.f64 N N (neg.f64 N))))) |
(pow.f64 (sqrt.f64 (atan2.f64 1 (fma.f64 N N 1))) 2) |
(pow.f64 (cbrt.f64 (atan2.f64 1 (fma.f64 N N 1))) 3) |
(pow.f64 (cbrt.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)))) 2) |
(atan2.f64 1 (+.f64 1 (*.f64 (fma.f64 N N N) (*.f64 (fma.f64 N N N) (/.f64 1 (fma.f64 N N N)))))) |
(atan2.f64 1 (+.f64 1 (fma.f64 (pow.f64 (cbrt.f64 N) 2) (*.f64 (cbrt.f64 N) N) N))) |
(fma.f64 (pow.f64 (cbrt.f64 (atan.f64 (+.f64 N 1))) 2) (cbrt.f64 (atan.f64 (+.f64 N 1))) (neg.f64 (atan.f64 N))) |
(+.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))) |
(*.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)))))) |
| Outputs |
|---|
(atan2.f64 1 (+.f64 1 (*.f64 N (+.f64 N 1)))) |
2 calls:
| 10.0ms | N |
| 3.0ms | (-.f64 (atan.f64 (+.f64 N 1)) (atan.f64 N)) |
| Error | Segments | Branch |
|---|---|---|
| 0.5b | 1 | N |
| 0.5b | 1 | (-.f64 (atan.f64 (+.f64 N 1)) (atan.f64 N)) |
Compiled 220 to 139 computations (36.8% saved)
Total -28.3b remaining (-1993.3%)
Threshold costs -28.3b (-1993.3%)
| Inputs |
|---|
(atan2.f64 1 (+.f64 1 N)) |
(atan2.f64 1 (+.f64 1 (*.f64 N N))) |
| Outputs |
|---|
(atan2.f64 1 (+.f64 1 (*.f64 N N))) |
1 calls:
| 3.0ms | N |
| Error | Segments | Branch |
|---|---|---|
| 1.4b | 1 | N |
Compiled 15 to 11 computations (26.7% saved)
| 1× | egg-herbie |
| 3× | +-commutative_binary64 |
| 1× | *-commutative_binary64 |
| 1× | 1-exp_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 12 | 30 |
| 1 | 18 | 30 |
| 1× | fuel |
| 1× | saturated |
| Inputs |
|---|
(atan2.f64 1 (+.f64 1 (*.f64 N (+.f64 N 1)))) |
(atan2.f64 1 (+.f64 1 (*.f64 N N))) |
(atan2.f64 1 (+.f64 1 N)) |
| Outputs |
|---|
(atan2.f64 1 (+.f64 1 (*.f64 N (+.f64 N 1)))) |
(atan2.f64 1 (+.f64 1 (*.f64 N (+.f64 1 N)))) |
(atan2.f64 1 (+.f64 1 (*.f64 N N))) |
(atan2.f64 1 (+.f64 1 N)) |
Compiled 24 to 19 computations (20.8% saved)
Compiled 22 to 17 computations (22.7% saved)
Loading profile data...