Time bar (total: 8.8s)
| 1× | search |
| True | Other | False | Iter |
|---|---|---|---|
| 0% | 99.9% | 0.1% | 0 |
| 0% | 99.9% | 0.1% | 1 |
| 0% | 99.9% | 0.1% | 2 |
| 0% | 99.9% | 0.1% | 3 |
| 0% | 99.9% | 0.1% | 4 |
| 50% | 50% | 0.1% | 5 |
| 50% | 50% | 0.1% | 6 |
| 50% | 37.5% | 12.6% | 7 |
| 50% | 37.5% | 12.6% | 8 |
| 50% | 31.2% | 18.8% | 9 |
| 50% | 31.2% | 18.8% | 10 |
| 50% | 28.1% | 22% | 11 |
| 50% | 28.1% | 22% | 12 |
| 50% | 26.5% | 23.5% | 13 |
| 50% | 26.5% | 23.5% | 14 |
Compiled 15 to 12 computations (20% saved)
| 3.4s | 4993× | body | 1024 | valid |
| 1.1s | 1946× | body | 1024 | invalid |
| 674.0ms | 1765× | body | 512 | valid |
| 425.0ms | 435× | body | 2048 | valid |
| 383.0ms | 1079× | body | 512 | invalid |
| 171.0ms | 684× | body | 256 | valid |
| 170.0ms | 547× | body | 256 | invalid |
| 104.0ms | 718× | body | 128 | invalid |
| 53.0ms | 379× | body | 128 | valid |
Compiled 30 to 24 computations (20% saved)
| 2× | egg-herbie |
| 692× | fma-def_binary64 |
| 564× | times-frac_binary64 |
| 454× | fma-neg_binary64 |
| 227× | associate-/l*_binary64 |
| 166× | distribute-rgt-neg-in_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 19 | 36 |
| 1 | 40 | 36 |
| 2 | 95 | 36 |
| 3 | 255 | 36 |
| 4 | 539 | 34 |
| 5 | 912 | 34 |
| 6 | 1812 | 34 |
| 7 | 3751 | 34 |
| 0 | 2 | 2 |
| 1× | saturated |
| 1× | node limit |
| Inputs |
|---|
0 |
1 |
| Outputs |
|---|
0 |
1 |
| Inputs |
|---|
(*.f64 (*.f64 1/2 (cos.f64 re)) (-.f64 (exp.f64 (-.f64 0 im)) (exp.f64 im))) |
(*.f64 (*.f64 1/2 (cos.f64 im)) (-.f64 (exp.f64 (-.f64 0 re)) (exp.f64 re))) |
| Outputs |
|---|
(*.f64 (*.f64 1/2 (cos.f64 re)) (-.f64 (exp.f64 (-.f64 0 im)) (exp.f64 im))) |
(*.f64 1/2 (*.f64 (cos.f64 re) (-.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)))) |
(*.f64 (cos.f64 re) (*.f64 1/2 (-.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)))) |
(*.f64 (cos.f64 re) (fma.f64 (exp.f64 im) -1/2 (/.f64 1/2 (exp.f64 im)))) |
(*.f64 (*.f64 1/2 (cos.f64 im)) (-.f64 (exp.f64 (-.f64 0 re)) (exp.f64 re))) |
(*.f64 1/2 (*.f64 (cos.f64 im) (-.f64 (exp.f64 (neg.f64 re)) (exp.f64 re)))) |
(*.f64 (*.f64 1/2 (cos.f64 im)) (-.f64 (exp.f64 (neg.f64 re)) (exp.f64 re))) |
(*.f64 (cos.f64 im) (*.f64 1/2 (-.f64 (exp.f64 (neg.f64 re)) (exp.f64 re)))) |
(*.f64 (cos.f64 im) (fma.f64 (exp.f64 re) -1/2 (/.f64 1/2 (exp.f64 re)))) |
Compiled 14 to 11 computations (21.4% saved)
| 1× | egg-herbie |
| 623× | associate-/l*_binary64 |
| 462× | times-frac_binary64 |
| 358× | fma-neg_binary64 |
| 346× | fma-def_binary64 |
| 322× | cancel-sign-sub-inv_binary64 |
Useful iterations: 4 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 12 | 18 |
| 1 | 23 | 18 |
| 2 | 52 | 18 |
| 3 | 132 | 18 |
| 4 | 281 | 17 |
| 5 | 473 | 17 |
| 6 | 929 | 17 |
| 7 | 2376 | 17 |
| 1× | node limit |
| Inputs |
|---|
(*.f64 (*.f64 1/2 (cos.f64 re)) (-.f64 (exp.f64 (-.f64 0 im)) (exp.f64 im))) |
| Outputs |
|---|
(*.f64 (*.f64 1/2 (cos.f64 re)) (-.f64 (exp.f64 (-.f64 0 im)) (exp.f64 im))) |
(*.f64 (*.f64 1/2 (cos.f64 re)) (-.f64 (exp.f64 (neg.f64 im)) (exp.f64 im))) |
(*.f64 (cos.f64 re) (*.f64 1/2 (-.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)))) |
(*.f64 1/2 (*.f64 (cos.f64 re) (-.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)))) |
(*.f64 (cos.f64 re) (fma.f64 (exp.f64 im) -1/2 (/.f64 1/2 (exp.f64 im)))) |
3 alts after pruning (3 fresh and 0 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 0 | 2 | 2 |
| Fresh | 0 | 1 | 1 |
| Picked | 0 | 0 | 0 |
| Done | 0 | 0 | 0 |
| Total | 0 | 3 | 3 |
| Status | Error | Program |
|---|---|---|
| 58.3b | (*.f64 (cos.f64 re) (fma.f64 (exp.f64 im) -1/2 (/.f64 1/2 (exp.f64 im)))) | |
| ▶ | 58.3b | (*.f64 (*.f64 1/2 (cos.f64 re)) (-.f64 (exp.f64 (-.f64 0 im)) (exp.f64 im))) |
Compiled 79 to 56 computations (29.1% saved)
Found 3 expressions with local error:
| New | Error | Program |
|---|---|---|
| ✓ | 0.0b | (cos.f64 re) |
| ✓ | 0.0b | (*.f64 (*.f64 1/2 (cos.f64 re)) (-.f64 (exp.f64 (-.f64 0 im)) (exp.f64 im))) |
| ✓ | 6.4b | (-.f64 (exp.f64 (-.f64 0 im)) (exp.f64 im)) |
12 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 1.0ms | re | @ | 0 | (*.f64 (*.f64 1/2 (cos.f64 re)) (-.f64 (exp.f64 (-.f64 0 im)) (exp.f64 im))) |
| 1.0ms | im | @ | 0 | (*.f64 (*.f64 1/2 (cos.f64 re)) (-.f64 (exp.f64 (-.f64 0 im)) (exp.f64 im))) |
| 1.0ms | im | @ | inf | (*.f64 (*.f64 1/2 (cos.f64 re)) (-.f64 (exp.f64 (-.f64 0 im)) (exp.f64 im))) |
| 1.0ms | im | @ | 0 | (-.f64 (exp.f64 (-.f64 0 im)) (exp.f64 im)) |
| 1.0ms | re | @ | inf | (*.f64 (*.f64 1/2 (cos.f64 re)) (-.f64 (exp.f64 (-.f64 0 im)) (exp.f64 im))) |
| 1× | batch-egg-rewrite |
| 313× | prod-diff_binary64 |
| 198× | fma-def_binary64 |
| 178× | expm1-udef_binary64 |
| 178× | log1p-udef_binary64 |
| 144× | log-pow_binary64 |
Useful iterations: 2 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 12 | 31 |
| 1 | 252 | 27 |
| 2 | 3434 | 23 |
| 1× | node limit |
| Inputs |
|---|
(-.f64 (exp.f64 (-.f64 0 im)) (exp.f64 im)) |
(*.f64 (*.f64 1/2 (cos.f64 re)) (-.f64 (exp.f64 (-.f64 0 im)) (exp.f64 im))) |
(cos.f64 re) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x +.f64 (exp.f64 im) (neg.f64 (exp.f64 im)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (exp.f64 im) (*.f64 (neg.f64 (exp.f64 im)) 1))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 2 (sinh.f64 im)) (*.f64 2 (sinh.f64 im)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 2 (sinh.f64 im)) (fma.f64 (neg.f64 (exp.f64 im)) 1 (exp.f64 im)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 2 (sinh.f64 im)) (fma.f64 (neg.f64 (cbrt.f64 (exp.f64 im))) (pow.f64 (cbrt.f64 (exp.f64 im)) 2) (exp.f64 im)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (neg.f64 (exp.f64 im)) (exp.f64 im))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 2 (sinh.f64 im)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (*.f64 2 (sinh.f64 im)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (*.f64 2 (sinh.f64 im))) (pow.f64 (cbrt.f64 (*.f64 2 (sinh.f64 im))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (*.f64 2 (sinh.f64 im))) 2) (cbrt.f64 (*.f64 2 (sinh.f64 im))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (*.f64 2 (sinh.f64 im))) (sqrt.f64 (*.f64 2 (sinh.f64 im))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (-.f64 (exp.f64 (*.f64 3 im)) (exp.f64 (*.f64 3 im))) (/.f64 1 (fma.f64 (exp.f64 im) (*.f64 2 (cosh.f64 im)) (pow.f64 (exp.f64 im) 2))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (-.f64 (pow.f64 (exp.f64 im) 2) (pow.f64 (exp.f64 im) 2)) (/.f64 1 (*.f64 2 (cosh.f64 im))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 2 (sinh.f64 im))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 (sqrt.f64 (exp.f64 im)) (sqrt.f64 (exp.f64 im))) (-.f64 (sqrt.f64 (exp.f64 im)) (sqrt.f64 (exp.f64 im))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (fma.f64 (exp.f64 im) (*.f64 2 (cosh.f64 im)) (pow.f64 (exp.f64 im) 2)) (-.f64 (exp.f64 (*.f64 3 im)) (exp.f64 (*.f64 3 im)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (*.f64 2 (cosh.f64 im)) (-.f64 (pow.f64 (exp.f64 im) 2) (pow.f64 (exp.f64 im) 2))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (exp.f64 (*.f64 3 im)) (exp.f64 (*.f64 3 im))) (fma.f64 (exp.f64 im) (*.f64 2 (cosh.f64 im)) (pow.f64 (exp.f64 im) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (pow.f64 (exp.f64 im) 2) (pow.f64 (exp.f64 im) 2)) (*.f64 2 (cosh.f64 im)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (-.f64 (exp.f64 (*.f64 3 im)) (exp.f64 (*.f64 3 im)))) (neg.f64 (fma.f64 (exp.f64 im) (*.f64 2 (cosh.f64 im)) (pow.f64 (exp.f64 im) 2))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (-.f64 (pow.f64 (exp.f64 im) 2) (pow.f64 (exp.f64 im) 2))) (neg.f64 (*.f64 2 (cosh.f64 im))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (exp.f64 (*.f64 3 im)) (pow.f64 (neg.f64 (exp.f64 im)) 3)) (+.f64 (pow.f64 (exp.f64 im) 2) (-.f64 (*.f64 (neg.f64 (exp.f64 im)) (neg.f64 (exp.f64 im))) (*.f64 (exp.f64 im) (neg.f64 (exp.f64 im))))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (pow.f64 (exp.f64 im) 2) (*.f64 (neg.f64 (exp.f64 im)) (neg.f64 (exp.f64 im)))) (-.f64 (exp.f64 im) (neg.f64 (exp.f64 im))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 2 (sinh.f64 im)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 2 (sinh.f64 im)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (*.f64 2 (sinh.f64 im))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (*.f64 2 (sinh.f64 im))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (*.f64 2 (sinh.f64 im)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (*.f64 2 (sinh.f64 im))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (*.f64 2 (sinh.f64 im)))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (/.f64 (+.f64 1 (expm1.f64 (exp.f64 im))) (exp.f64 (exp.f64 im))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (/.f64 (exp.f64 (exp.f64 im)) (+.f64 1 (expm1.f64 (exp.f64 im)))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (/.f64 (+.f64 1 (expm1.f64 (exp.f64 im))) (+.f64 1 (expm1.f64 (exp.f64 im)))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (+.f64 1 (expm1.f64 (exp.f64 im))) (exp.f64 (neg.f64 (exp.f64 im)))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (exp.f64 (exp.f64 im)) (/.f64 1 (exp.f64 (exp.f64 im)))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (+.f64 1 (expm1.f64 (exp.f64 im))) (/.f64 1 (exp.f64 (exp.f64 im)))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (exp.f64 (neg.f64 (exp.f64 im))) (exp.f64 (exp.f64 im))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (/.f64 1 (exp.f64 (exp.f64 im))) (exp.f64 (exp.f64 im))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (exp.f64 (neg.f64 (exp.f64 im))) (+.f64 1 (expm1.f64 (exp.f64 im)))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (/.f64 1 (exp.f64 (exp.f64 im))) (+.f64 1 (expm1.f64 (exp.f64 im)))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (*.f64 2 (sinh.f64 im)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (*.f64 2 (sinh.f64 im))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (*.f64 2 (sinh.f64 im))) 1))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (exp.f64 im) 1 (neg.f64 (exp.f64 im)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (exp.f64 im) 1 (*.f64 (neg.f64 (exp.f64 im)) 1))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 2 (sinh.f64 im)) 1 (*.f64 2 (sinh.f64 im)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 2 (sinh.f64 im)) 1 (fma.f64 (neg.f64 (exp.f64 im)) 1 (exp.f64 im)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 2 (sinh.f64 im)) 1 (fma.f64 (neg.f64 (cbrt.f64 (exp.f64 im))) (pow.f64 (cbrt.f64 (exp.f64 im)) 2) (exp.f64 im)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (exp.f64 im) (neg.f64 (exp.f64 im)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (exp.f64 im) (*.f64 (neg.f64 (exp.f64 im)) 1))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (*.f64 2 (sinh.f64 im)) (*.f64 2 (sinh.f64 im)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (*.f64 2 (sinh.f64 im)) (fma.f64 (neg.f64 (exp.f64 im)) 1 (exp.f64 im)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (*.f64 2 (sinh.f64 im)) (fma.f64 (neg.f64 (cbrt.f64 (exp.f64 im))) (pow.f64 (cbrt.f64 (exp.f64 im)) 2) (exp.f64 im)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (neg.f64 (exp.f64 im)) (exp.f64 im))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (exp.f64 im)) (pow.f64 (cbrt.f64 (exp.f64 im)) 2) (neg.f64 (exp.f64 im)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (exp.f64 im)) (pow.f64 (cbrt.f64 (exp.f64 im)) 2) (*.f64 (neg.f64 (exp.f64 im)) 1))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 (exp.f64 im)) 2) (cbrt.f64 (exp.f64 im)) (neg.f64 (exp.f64 im)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 (exp.f64 im)) 2) (cbrt.f64 (exp.f64 im)) (*.f64 (neg.f64 (exp.f64 im)) 1))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 (exp.f64 im)) 2) (neg.f64 (cbrt.f64 (exp.f64 im))) (exp.f64 im))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (*.f64 2 (sinh.f64 im))) (pow.f64 (cbrt.f64 (*.f64 2 (sinh.f64 im))) 2) (*.f64 2 (sinh.f64 im)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (*.f64 2 (sinh.f64 im))) (pow.f64 (cbrt.f64 (*.f64 2 (sinh.f64 im))) 2) (fma.f64 (neg.f64 (exp.f64 im)) 1 (exp.f64 im)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (*.f64 2 (sinh.f64 im))) (pow.f64 (cbrt.f64 (*.f64 2 (sinh.f64 im))) 2) (fma.f64 (neg.f64 (cbrt.f64 (exp.f64 im))) (pow.f64 (cbrt.f64 (exp.f64 im)) 2) (exp.f64 im)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 (*.f64 2 (sinh.f64 im))) 2) (cbrt.f64 (*.f64 2 (sinh.f64 im))) (*.f64 2 (sinh.f64 im)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 (*.f64 2 (sinh.f64 im))) 2) (cbrt.f64 (*.f64 2 (sinh.f64 im))) (fma.f64 (neg.f64 (exp.f64 im)) 1 (exp.f64 im)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 (*.f64 2 (sinh.f64 im))) 2) (cbrt.f64 (*.f64 2 (sinh.f64 im))) (fma.f64 (neg.f64 (cbrt.f64 (exp.f64 im))) (pow.f64 (cbrt.f64 (exp.f64 im)) 2) (exp.f64 im)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 (exp.f64 im)) (sqrt.f64 (exp.f64 im)) (neg.f64 (exp.f64 im)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 (exp.f64 im)) (sqrt.f64 (exp.f64 im)) (*.f64 (neg.f64 (exp.f64 im)) 1))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 (exp.f64 im)) (neg.f64 (sqrt.f64 (exp.f64 im))) (exp.f64 im))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 (*.f64 2 (sinh.f64 im))) (sqrt.f64 (*.f64 2 (sinh.f64 im))) (*.f64 2 (sinh.f64 im)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 (*.f64 2 (sinh.f64 im))) (sqrt.f64 (*.f64 2 (sinh.f64 im))) (fma.f64 (neg.f64 (exp.f64 im)) 1 (exp.f64 im)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 (*.f64 2 (sinh.f64 im))) (sqrt.f64 (*.f64 2 (sinh.f64 im))) (fma.f64 (neg.f64 (cbrt.f64 (exp.f64 im))) (pow.f64 (cbrt.f64 (exp.f64 im)) 2) (exp.f64 im)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (-.f64 (exp.f64 (*.f64 3 im)) (exp.f64 (*.f64 3 im))) (/.f64 1 (fma.f64 (exp.f64 im) (*.f64 2 (cosh.f64 im)) (pow.f64 (exp.f64 im) 2))) (*.f64 2 (sinh.f64 im)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (-.f64 (exp.f64 (*.f64 3 im)) (exp.f64 (*.f64 3 im))) (/.f64 1 (fma.f64 (exp.f64 im) (*.f64 2 (cosh.f64 im)) (pow.f64 (exp.f64 im) 2))) (fma.f64 (neg.f64 (exp.f64 im)) 1 (exp.f64 im)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (-.f64 (exp.f64 (*.f64 3 im)) (exp.f64 (*.f64 3 im))) (/.f64 1 (fma.f64 (exp.f64 im) (*.f64 2 (cosh.f64 im)) (pow.f64 (exp.f64 im) 2))) (fma.f64 (neg.f64 (cbrt.f64 (exp.f64 im))) (pow.f64 (cbrt.f64 (exp.f64 im)) 2) (exp.f64 im)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (-.f64 (pow.f64 (exp.f64 im) 2) (pow.f64 (exp.f64 im) 2)) (/.f64 1 (*.f64 2 (cosh.f64 im))) (*.f64 2 (sinh.f64 im)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (-.f64 (pow.f64 (exp.f64 im) 2) (pow.f64 (exp.f64 im) 2)) (/.f64 1 (*.f64 2 (cosh.f64 im))) (fma.f64 (neg.f64 (exp.f64 im)) 1 (exp.f64 im)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (-.f64 (pow.f64 (exp.f64 im) 2) (pow.f64 (exp.f64 im) 2)) (/.f64 1 (*.f64 2 (cosh.f64 im))) (fma.f64 (neg.f64 (cbrt.f64 (exp.f64 im))) (pow.f64 (cbrt.f64 (exp.f64 im)) 2) (exp.f64 im)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 (cbrt.f64 (neg.f64 (exp.f64 im))) (cbrt.f64 (neg.f64 (exp.f64 im)))) (cbrt.f64 (neg.f64 (exp.f64 im))) (exp.f64 im))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 (neg.f64 (exp.f64 im))) (sqrt.f64 (neg.f64 (exp.f64 im))) (exp.f64 im))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (neg.f64 (sqrt.f64 (exp.f64 im))) (sqrt.f64 (exp.f64 im)) (exp.f64 im))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 -1 (exp.f64 im) (exp.f64 im))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (+.f64 (sqrt.f64 (exp.f64 im)) (sqrt.f64 (exp.f64 im))) (-.f64 (sqrt.f64 (exp.f64 im)) (sqrt.f64 (exp.f64 im))) (*.f64 2 (sinh.f64 im)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (+.f64 (sqrt.f64 (exp.f64 im)) (sqrt.f64 (exp.f64 im))) (-.f64 (sqrt.f64 (exp.f64 im)) (sqrt.f64 (exp.f64 im))) (fma.f64 (neg.f64 (exp.f64 im)) 1 (exp.f64 im)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (+.f64 (sqrt.f64 (exp.f64 im)) (sqrt.f64 (exp.f64 im))) (-.f64 (sqrt.f64 (exp.f64 im)) (sqrt.f64 (exp.f64 im))) (fma.f64 (neg.f64 (cbrt.f64 (exp.f64 im))) (pow.f64 (cbrt.f64 (exp.f64 im)) 2) (exp.f64 im)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (neg.f64 (pow.f64 (cbrt.f64 (exp.f64 im)) 2)) (cbrt.f64 (exp.f64 im)) (exp.f64 im))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 2 (sinh.f64 im))))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 2 (sinh.f64 im)))))))) |
((#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 (exp.f64 im) (*.f64 1/2 (cos.f64 re))) (*.f64 (neg.f64 (exp.f64 im)) (*.f64 1/2 (cos.f64 re))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 (*.f64 1/2 (cos.f64 re)) (exp.f64 im)) (*.f64 (*.f64 1/2 (cos.f64 re)) (neg.f64 (exp.f64 im))))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (*.f64 (*.f64 2 (sinh.f64 im)) (*.f64 1/2 (cos.f64 re))))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (-.f64 (exp.f64 (*.f64 3 im)) (exp.f64 (*.f64 3 im))) (*.f64 1/2 (cos.f64 re))) (fma.f64 (exp.f64 im) (*.f64 2 (cosh.f64 im)) (pow.f64 (exp.f64 im) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (-.f64 (pow.f64 (exp.f64 im) 2) (pow.f64 (exp.f64 im) 2)) (*.f64 1/2 (cos.f64 re))) (*.f64 2 (cosh.f64 im)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (*.f64 1/2 (cos.f64 re)) (-.f64 (exp.f64 (*.f64 3 im)) (exp.f64 (*.f64 3 im)))) (fma.f64 (exp.f64 im) (*.f64 2 (cosh.f64 im)) (pow.f64 (exp.f64 im) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (*.f64 1/2 (cos.f64 re)) (-.f64 (pow.f64 (exp.f64 im) 2) (pow.f64 (exp.f64 im) 2))) (*.f64 2 (cosh.f64 im)))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 (*.f64 2 (sinh.f64 im)) (*.f64 1/2 (cos.f64 re))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 (*.f64 2 (sinh.f64 im)) (*.f64 1/2 (cos.f64 re))) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (*.f64 (*.f64 2 (sinh.f64 im)) (*.f64 1/2 (cos.f64 re)))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (*.f64 (*.f64 2 (sinh.f64 im)) (*.f64 1/2 (cos.f64 re)))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (*.f64 (*.f64 2 (sinh.f64 im)) (*.f64 1/2 (cos.f64 re))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (pow.f64 (pow.f64 (exp.f64 1/2) (cos.f64 re)) (*.f64 2 (sinh.f64 im))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (*.f64 (*.f64 2 (sinh.f64 im)) (*.f64 1/2 (cos.f64 re))))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (*.f64 (*.f64 2 (sinh.f64 im)) (*.f64 1/2 (cos.f64 re))) 3))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (*.f64 (pow.f64 (*.f64 2 (sinh.f64 im)) 3) (pow.f64 (*.f64 1/2 (cos.f64 re)) 3)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (*.f64 (pow.f64 (*.f64 1/2 (cos.f64 re)) 3) (pow.f64 (*.f64 2 (sinh.f64 im)) 3)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (*.f64 (*.f64 2 (sinh.f64 im)) (*.f64 1/2 (cos.f64 re)))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (*.f64 (*.f64 2 (sinh.f64 im)) (*.f64 1/2 (cos.f64 re)))) 1))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (exp.f64 im) (*.f64 1/2 (cos.f64 re)) (*.f64 (neg.f64 (exp.f64 im)) (*.f64 1/2 (cos.f64 re))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 1/2 (cos.f64 re)) (exp.f64 im) (*.f64 (*.f64 1/2 (cos.f64 re)) (neg.f64 (exp.f64 im))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 (*.f64 2 (sinh.f64 im)) (*.f64 1/2 (cos.f64 re)))))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 (*.f64 2 (sinh.f64 im)) (*.f64 1/2 (cos.f64 re))))))))) |
((#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 (cos.f64 (exp.f64 (log1p.f64 re))) (cos.f64 1)) (*.f64 (sin.f64 (exp.f64 (log1p.f64 re))) (sin.f64 1)))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (cos.f64 re))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cos.f64 re) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (cos.f64 re))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (cos.f64 re)) (pow.f64 (cbrt.f64 (cos.f64 re)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (cos.f64 re)) 2) (cbrt.f64 (cos.f64 re)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (cos.f64 re)) (sqrt.f64 (cos.f64 re)))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cos.f64 re) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (cos.f64 re) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (cos.f64 re)) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (cos.f64 re)) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (cos.f64 re) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (cos.f64 re)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (cos.f64 re))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (cos.f64 re) 3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (cos.f64 re)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (cos.f64 re)) 1))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (cos.f64 re)))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (cos.f64 re))))))) |
| 1× | egg-herbie |
| 611× | fma-def_binary64 |
| 467× | sub-neg_binary64 |
| 254× | associate-*l*_binary64 |
| 242× | associate-*r*_binary64 |
| 229× | cancel-sign-sub-inv_binary64 |
Useful iterations: 2 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 106 | 809 |
| 1 | 317 | 787 |
| 2 | 1069 | 754 |
| 3 | 4625 | 754 |
| 1× | node limit |
| Inputs |
|---|
(*.f64 -2 im) |
(neg.f64 (+.f64 (*.f64 1/3 (pow.f64 im 3)) (*.f64 2 im))) |
(neg.f64 (+.f64 (*.f64 1/60 (pow.f64 im 5)) (+.f64 (*.f64 1/3 (pow.f64 im 3)) (*.f64 2 im)))) |
(neg.f64 (+.f64 (*.f64 1/60 (pow.f64 im 5)) (+.f64 (*.f64 1/3 (pow.f64 im 3)) (+.f64 (*.f64 1/2520 (pow.f64 im 7)) (*.f64 2 im))))) |
(-.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)) |
(-.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)) |
(-.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)) |
(-.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)) |
(-.f64 (exp.f64 (*.f64 -1 im)) (exp.f64 im)) |
(-.f64 (exp.f64 (*.f64 -1 im)) (exp.f64 im)) |
(-.f64 (exp.f64 (*.f64 -1 im)) (exp.f64 im)) |
(-.f64 (exp.f64 (*.f64 -1 im)) (exp.f64 im)) |
(*.f64 1/2 (-.f64 (exp.f64 (neg.f64 im)) (exp.f64 im))) |
(-.f64 (+.f64 (*.f64 1/4 (*.f64 (pow.f64 re 2) (exp.f64 im))) (*.f64 1/2 (exp.f64 (neg.f64 im)))) (+.f64 (*.f64 1/4 (*.f64 (exp.f64 (neg.f64 im)) (pow.f64 re 2))) (*.f64 1/2 (exp.f64 im)))) |
(-.f64 (+.f64 (*.f64 1/4 (*.f64 (pow.f64 re 2) (exp.f64 im))) (+.f64 (*.f64 1/48 (*.f64 (exp.f64 (neg.f64 im)) (pow.f64 re 4))) (*.f64 1/2 (exp.f64 (neg.f64 im))))) (+.f64 (*.f64 1/48 (*.f64 (pow.f64 re 4) (exp.f64 im))) (+.f64 (*.f64 1/4 (*.f64 (exp.f64 (neg.f64 im)) (pow.f64 re 2))) (*.f64 1/2 (exp.f64 im))))) |
(-.f64 (+.f64 (*.f64 1/4 (*.f64 (pow.f64 re 2) (exp.f64 im))) (+.f64 (*.f64 1/1440 (*.f64 (exp.f64 im) (pow.f64 re 6))) (+.f64 (*.f64 1/48 (*.f64 (exp.f64 (neg.f64 im)) (pow.f64 re 4))) (*.f64 1/2 (exp.f64 (neg.f64 im)))))) (+.f64 (*.f64 1/48 (*.f64 (pow.f64 re 4) (exp.f64 im))) (+.f64 (*.f64 1/4 (*.f64 (exp.f64 (neg.f64 im)) (pow.f64 re 2))) (+.f64 (*.f64 1/2 (exp.f64 im)) (*.f64 1/1440 (*.f64 (exp.f64 (neg.f64 im)) (pow.f64 re 6))))))) |
(*.f64 1/2 (*.f64 (cos.f64 re) (-.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)))) |
(*.f64 1/2 (*.f64 (cos.f64 re) (-.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)))) |
(*.f64 1/2 (*.f64 (cos.f64 re) (-.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)))) |
(*.f64 1/2 (*.f64 (cos.f64 re) (-.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)))) |
(*.f64 1/2 (*.f64 (cos.f64 re) (-.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)))) |
(*.f64 1/2 (*.f64 (cos.f64 re) (-.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)))) |
(*.f64 1/2 (*.f64 (cos.f64 re) (-.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)))) |
(*.f64 1/2 (*.f64 (cos.f64 re) (-.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)))) |
(*.f64 -1 (*.f64 (cos.f64 re) im)) |
(neg.f64 (+.f64 (*.f64 (cos.f64 re) im) (*.f64 1/6 (*.f64 (cos.f64 re) (pow.f64 im 3))))) |
(neg.f64 (+.f64 (*.f64 (cos.f64 re) im) (+.f64 (*.f64 1/6 (*.f64 (cos.f64 re) (pow.f64 im 3))) (*.f64 1/120 (*.f64 (cos.f64 re) (pow.f64 im 5)))))) |
(neg.f64 (+.f64 (*.f64 1/5040 (*.f64 (cos.f64 re) (pow.f64 im 7))) (+.f64 (*.f64 (cos.f64 re) im) (+.f64 (*.f64 1/6 (*.f64 (cos.f64 re) (pow.f64 im 3))) (*.f64 1/120 (*.f64 (cos.f64 re) (pow.f64 im 5))))))) |
(*.f64 1/2 (*.f64 (cos.f64 re) (-.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)))) |
(*.f64 1/2 (*.f64 (cos.f64 re) (-.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)))) |
(*.f64 1/2 (*.f64 (cos.f64 re) (-.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)))) |
(*.f64 1/2 (*.f64 (cos.f64 re) (-.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)))) |
(*.f64 1/2 (*.f64 (-.f64 (exp.f64 (*.f64 -1 im)) (exp.f64 im)) (cos.f64 re))) |
(*.f64 1/2 (*.f64 (-.f64 (exp.f64 (*.f64 -1 im)) (exp.f64 im)) (cos.f64 re))) |
(*.f64 1/2 (*.f64 (-.f64 (exp.f64 (*.f64 -1 im)) (exp.f64 im)) (cos.f64 re))) |
(*.f64 1/2 (*.f64 (-.f64 (exp.f64 (*.f64 -1 im)) (exp.f64 im)) (cos.f64 re))) |
1 |
(-.f64 1 (*.f64 1/2 (pow.f64 re 2))) |
(-.f64 (+.f64 1 (*.f64 1/24 (pow.f64 re 4))) (*.f64 1/2 (pow.f64 re 2))) |
(-.f64 (+.f64 1 (*.f64 1/24 (pow.f64 re 4))) (+.f64 (*.f64 1/2 (pow.f64 re 2)) (*.f64 1/720 (pow.f64 re 6)))) |
| Outputs |
|---|
(*.f64 -2 im) |
(neg.f64 (+.f64 (*.f64 1/3 (pow.f64 im 3)) (*.f64 2 im))) |
(neg.f64 (fma.f64 1/3 (pow.f64 im 3) (*.f64 im 2))) |
(-.f64 (*.f64 -2 im) (*.f64 1/3 (pow.f64 im 3))) |
(fma.f64 (pow.f64 im 3) -1/3 (*.f64 -2 im)) |
(neg.f64 (+.f64 (*.f64 1/60 (pow.f64 im 5)) (+.f64 (*.f64 1/3 (pow.f64 im 3)) (*.f64 2 im)))) |
(neg.f64 (fma.f64 1/60 (pow.f64 im 5) (fma.f64 1/3 (pow.f64 im 3) (*.f64 im 2)))) |
(-.f64 (*.f64 (pow.f64 im 5) -1/60) (fma.f64 1/3 (pow.f64 im 3) (*.f64 im 2))) |
(fma.f64 (pow.f64 im 5) -1/60 (fma.f64 (pow.f64 im 3) -1/3 (*.f64 -2 im))) |
(neg.f64 (+.f64 (*.f64 1/60 (pow.f64 im 5)) (+.f64 (*.f64 1/3 (pow.f64 im 3)) (+.f64 (*.f64 1/2520 (pow.f64 im 7)) (*.f64 2 im))))) |
(neg.f64 (fma.f64 1/60 (pow.f64 im 5) (fma.f64 1/3 (pow.f64 im 3) (fma.f64 1/2520 (pow.f64 im 7) (*.f64 im 2))))) |
(-.f64 (*.f64 (pow.f64 im 5) -1/60) (fma.f64 1/3 (pow.f64 im 3) (fma.f64 im 2 (*.f64 1/2520 (pow.f64 im 7))))) |
(-.f64 (*.f64 (pow.f64 im 5) -1/60) (fma.f64 im 2 (fma.f64 1/2520 (pow.f64 im 7) (*.f64 1/3 (pow.f64 im 3))))) |
(-.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)) |
(-.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)) |
(-.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)) |
(-.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)) |
(-.f64 (exp.f64 (*.f64 -1 im)) (exp.f64 im)) |
(-.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)) |
(-.f64 (exp.f64 (*.f64 -1 im)) (exp.f64 im)) |
(-.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)) |
(-.f64 (exp.f64 (*.f64 -1 im)) (exp.f64 im)) |
(-.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)) |
(-.f64 (exp.f64 (*.f64 -1 im)) (exp.f64 im)) |
(-.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)) |
(*.f64 1/2 (-.f64 (exp.f64 (neg.f64 im)) (exp.f64 im))) |
(*.f64 (-.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)) 1/2) |
(-.f64 (+.f64 (*.f64 1/4 (*.f64 (pow.f64 re 2) (exp.f64 im))) (*.f64 1/2 (exp.f64 (neg.f64 im)))) (+.f64 (*.f64 1/4 (*.f64 (exp.f64 (neg.f64 im)) (pow.f64 re 2))) (*.f64 1/2 (exp.f64 im)))) |
(-.f64 (fma.f64 1/4 (*.f64 (exp.f64 im) (*.f64 re re)) (*.f64 (exp.f64 (neg.f64 im)) 1/2)) (fma.f64 1/4 (*.f64 (exp.f64 (neg.f64 im)) (*.f64 re re)) (*.f64 (exp.f64 im) 1/2))) |
(-.f64 (fma.f64 1/4 (*.f64 (exp.f64 im) (*.f64 re re)) (/.f64 1/2 (exp.f64 im))) (fma.f64 (exp.f64 im) 1/2 (*.f64 (*.f64 re re) (/.f64 1/4 (exp.f64 im))))) |
(+.f64 (/.f64 1/2 (exp.f64 im)) (+.f64 (*.f64 (*.f64 1/4 (*.f64 re re)) (-.f64 (exp.f64 im) (exp.f64 (neg.f64 im)))) (*.f64 (exp.f64 im) -1/2))) |
(-.f64 (+.f64 (*.f64 1/4 (*.f64 (pow.f64 re 2) (exp.f64 im))) (+.f64 (*.f64 1/48 (*.f64 (exp.f64 (neg.f64 im)) (pow.f64 re 4))) (*.f64 1/2 (exp.f64 (neg.f64 im))))) (+.f64 (*.f64 1/48 (*.f64 (pow.f64 re 4) (exp.f64 im))) (+.f64 (*.f64 1/4 (*.f64 (exp.f64 (neg.f64 im)) (pow.f64 re 2))) (*.f64 1/2 (exp.f64 im))))) |
(-.f64 (fma.f64 1/4 (*.f64 (exp.f64 im) (*.f64 re re)) (fma.f64 1/48 (*.f64 (exp.f64 (neg.f64 im)) (pow.f64 re 4)) (*.f64 (exp.f64 (neg.f64 im)) 1/2))) (fma.f64 1/48 (*.f64 (exp.f64 im) (pow.f64 re 4)) (fma.f64 1/4 (*.f64 (exp.f64 (neg.f64 im)) (*.f64 re re)) (*.f64 (exp.f64 im) 1/2)))) |
(-.f64 (fma.f64 1/4 (*.f64 (exp.f64 im) (*.f64 re re)) (fma.f64 (/.f64 1/48 (exp.f64 im)) (pow.f64 re 4) (/.f64 1/2 (exp.f64 im)))) (fma.f64 1/48 (*.f64 (exp.f64 im) (pow.f64 re 4)) (fma.f64 (exp.f64 im) 1/2 (*.f64 (*.f64 re re) (/.f64 1/4 (exp.f64 im)))))) |
(+.f64 (*.f64 (exp.f64 (neg.f64 im)) (+.f64 (*.f64 1/48 (pow.f64 re 4)) 1/2)) (-.f64 (*.f64 (*.f64 1/4 (*.f64 re re)) (-.f64 (exp.f64 im) (exp.f64 (neg.f64 im)))) (*.f64 (exp.f64 im) (+.f64 (*.f64 1/48 (pow.f64 re 4)) 1/2)))) |
(-.f64 (+.f64 (*.f64 1/4 (*.f64 (pow.f64 re 2) (exp.f64 im))) (+.f64 (*.f64 1/1440 (*.f64 (exp.f64 im) (pow.f64 re 6))) (+.f64 (*.f64 1/48 (*.f64 (exp.f64 (neg.f64 im)) (pow.f64 re 4))) (*.f64 1/2 (exp.f64 (neg.f64 im)))))) (+.f64 (*.f64 1/48 (*.f64 (pow.f64 re 4) (exp.f64 im))) (+.f64 (*.f64 1/4 (*.f64 (exp.f64 (neg.f64 im)) (pow.f64 re 2))) (+.f64 (*.f64 1/2 (exp.f64 im)) (*.f64 1/1440 (*.f64 (exp.f64 (neg.f64 im)) (pow.f64 re 6))))))) |
(-.f64 (fma.f64 1/4 (*.f64 (exp.f64 im) (*.f64 re re)) (fma.f64 1/1440 (*.f64 (exp.f64 im) (pow.f64 re 6)) (fma.f64 1/48 (*.f64 (exp.f64 (neg.f64 im)) (pow.f64 re 4)) (*.f64 (exp.f64 (neg.f64 im)) 1/2)))) (fma.f64 1/48 (*.f64 (exp.f64 im) (pow.f64 re 4)) (fma.f64 1/4 (*.f64 (exp.f64 (neg.f64 im)) (*.f64 re re)) (fma.f64 1/2 (exp.f64 im) (*.f64 (*.f64 1/1440 (exp.f64 (neg.f64 im))) (pow.f64 re 6)))))) |
(-.f64 (fma.f64 1/4 (*.f64 (exp.f64 im) (*.f64 re re)) (fma.f64 1/1440 (*.f64 (exp.f64 im) (pow.f64 re 6)) (fma.f64 (/.f64 1/48 (exp.f64 im)) (pow.f64 re 4) (/.f64 1/2 (exp.f64 im))))) (fma.f64 1/48 (*.f64 (exp.f64 im) (pow.f64 re 4)) (fma.f64 (/.f64 1/4 (exp.f64 im)) (*.f64 re re) (fma.f64 (exp.f64 im) 1/2 (*.f64 (pow.f64 re 6) (/.f64 1/1440 (exp.f64 im))))))) |
(+.f64 (fma.f64 (exp.f64 im) (*.f64 1/1440 (pow.f64 re 6)) (*.f64 (exp.f64 (neg.f64 im)) (+.f64 (*.f64 1/48 (pow.f64 re 4)) 1/2))) (-.f64 (*.f64 (*.f64 1/4 (*.f64 re re)) (-.f64 (exp.f64 im) (exp.f64 (neg.f64 im)))) (+.f64 (*.f64 1/1440 (/.f64 (pow.f64 re 6) (exp.f64 im))) (*.f64 (exp.f64 im) (+.f64 (*.f64 1/48 (pow.f64 re 4)) 1/2))))) |
(*.f64 1/2 (*.f64 (cos.f64 re) (-.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)))) |
(*.f64 1/2 (*.f64 (-.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)) (cos.f64 re))) |
(*.f64 (-.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)) (*.f64 1/2 (cos.f64 re))) |
(*.f64 1/2 (*.f64 (cos.f64 re) (-.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)))) |
(*.f64 1/2 (*.f64 (-.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)) (cos.f64 re))) |
(*.f64 (-.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)) (*.f64 1/2 (cos.f64 re))) |
(*.f64 1/2 (*.f64 (cos.f64 re) (-.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)))) |
(*.f64 1/2 (*.f64 (-.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)) (cos.f64 re))) |
(*.f64 (-.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)) (*.f64 1/2 (cos.f64 re))) |
(*.f64 1/2 (*.f64 (cos.f64 re) (-.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)))) |
(*.f64 1/2 (*.f64 (-.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)) (cos.f64 re))) |
(*.f64 (-.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)) (*.f64 1/2 (cos.f64 re))) |
(*.f64 1/2 (*.f64 (cos.f64 re) (-.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)))) |
(*.f64 1/2 (*.f64 (-.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)) (cos.f64 re))) |
(*.f64 (-.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)) (*.f64 1/2 (cos.f64 re))) |
(*.f64 1/2 (*.f64 (cos.f64 re) (-.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)))) |
(*.f64 1/2 (*.f64 (-.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)) (cos.f64 re))) |
(*.f64 (-.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)) (*.f64 1/2 (cos.f64 re))) |
(*.f64 1/2 (*.f64 (cos.f64 re) (-.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)))) |
(*.f64 1/2 (*.f64 (-.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)) (cos.f64 re))) |
(*.f64 (-.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)) (*.f64 1/2 (cos.f64 re))) |
(*.f64 1/2 (*.f64 (cos.f64 re) (-.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)))) |
(*.f64 1/2 (*.f64 (-.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)) (cos.f64 re))) |
(*.f64 (-.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)) (*.f64 1/2 (cos.f64 re))) |
(*.f64 -1 (*.f64 (cos.f64 re) im)) |
(neg.f64 (*.f64 im (cos.f64 re))) |
(*.f64 (neg.f64 im) (cos.f64 re)) |
(neg.f64 (+.f64 (*.f64 (cos.f64 re) im) (*.f64 1/6 (*.f64 (cos.f64 re) (pow.f64 im 3))))) |
(neg.f64 (fma.f64 (cos.f64 re) im (*.f64 (*.f64 1/6 (cos.f64 re)) (pow.f64 im 3)))) |
(-.f64 (*.f64 (*.f64 (pow.f64 im 3) (cos.f64 re)) -1/6) (*.f64 im (cos.f64 re))) |
(*.f64 (cos.f64 re) (-.f64 (neg.f64 im) (*.f64 (pow.f64 im 3) 1/6))) |
(neg.f64 (+.f64 (*.f64 (cos.f64 re) im) (+.f64 (*.f64 1/6 (*.f64 (cos.f64 re) (pow.f64 im 3))) (*.f64 1/120 (*.f64 (cos.f64 re) (pow.f64 im 5)))))) |
(neg.f64 (fma.f64 (cos.f64 re) im (fma.f64 1/6 (*.f64 (pow.f64 im 3) (cos.f64 re)) (*.f64 1/120 (*.f64 (pow.f64 im 5) (cos.f64 re)))))) |
(neg.f64 (fma.f64 im (cos.f64 re) (fma.f64 1/6 (*.f64 (pow.f64 im 3) (cos.f64 re)) (*.f64 (cos.f64 re) (*.f64 (pow.f64 im 5) 1/120))))) |
(-.f64 (*.f64 (*.f64 (pow.f64 im 5) (cos.f64 re)) -1/120) (*.f64 (cos.f64 re) (+.f64 im (*.f64 (pow.f64 im 3) 1/6)))) |
(neg.f64 (+.f64 (*.f64 1/5040 (*.f64 (cos.f64 re) (pow.f64 im 7))) (+.f64 (*.f64 (cos.f64 re) im) (+.f64 (*.f64 1/6 (*.f64 (cos.f64 re) (pow.f64 im 3))) (*.f64 1/120 (*.f64 (cos.f64 re) (pow.f64 im 5))))))) |
(neg.f64 (fma.f64 1/5040 (*.f64 (pow.f64 im 7) (cos.f64 re)) (fma.f64 (cos.f64 re) im (fma.f64 1/6 (*.f64 (pow.f64 im 3) (cos.f64 re)) (*.f64 1/120 (*.f64 (pow.f64 im 5) (cos.f64 re))))))) |
(-.f64 (*.f64 (*.f64 (pow.f64 im 7) (cos.f64 re)) -1/5040) (fma.f64 im (cos.f64 re) (fma.f64 1/6 (*.f64 (pow.f64 im 3) (cos.f64 re)) (*.f64 (cos.f64 re) (*.f64 (pow.f64 im 5) 1/120))))) |
(-.f64 (neg.f64 (*.f64 (cos.f64 re) (+.f64 (*.f64 (pow.f64 im 3) 1/6) (*.f64 (pow.f64 im 5) 1/120)))) (*.f64 (cos.f64 re) (+.f64 im (*.f64 (pow.f64 im 7) 1/5040)))) |
(*.f64 1/2 (*.f64 (cos.f64 re) (-.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)))) |
(*.f64 1/2 (*.f64 (-.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)) (cos.f64 re))) |
(*.f64 (-.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)) (*.f64 1/2 (cos.f64 re))) |
(*.f64 1/2 (*.f64 (cos.f64 re) (-.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)))) |
(*.f64 1/2 (*.f64 (-.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)) (cos.f64 re))) |
(*.f64 (-.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)) (*.f64 1/2 (cos.f64 re))) |
(*.f64 1/2 (*.f64 (cos.f64 re) (-.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)))) |
(*.f64 1/2 (*.f64 (-.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)) (cos.f64 re))) |
(*.f64 (-.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)) (*.f64 1/2 (cos.f64 re))) |
(*.f64 1/2 (*.f64 (cos.f64 re) (-.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)))) |
(*.f64 1/2 (*.f64 (-.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)) (cos.f64 re))) |
(*.f64 (-.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)) (*.f64 1/2 (cos.f64 re))) |
(*.f64 1/2 (*.f64 (-.f64 (exp.f64 (*.f64 -1 im)) (exp.f64 im)) (cos.f64 re))) |
(*.f64 1/2 (*.f64 (-.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)) (cos.f64 re))) |
(*.f64 (-.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)) (*.f64 1/2 (cos.f64 re))) |
(*.f64 1/2 (*.f64 (-.f64 (exp.f64 (*.f64 -1 im)) (exp.f64 im)) (cos.f64 re))) |
(*.f64 1/2 (*.f64 (-.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)) (cos.f64 re))) |
(*.f64 (-.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)) (*.f64 1/2 (cos.f64 re))) |
(*.f64 1/2 (*.f64 (-.f64 (exp.f64 (*.f64 -1 im)) (exp.f64 im)) (cos.f64 re))) |
(*.f64 1/2 (*.f64 (-.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)) (cos.f64 re))) |
(*.f64 (-.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)) (*.f64 1/2 (cos.f64 re))) |
(*.f64 1/2 (*.f64 (-.f64 (exp.f64 (*.f64 -1 im)) (exp.f64 im)) (cos.f64 re))) |
(*.f64 1/2 (*.f64 (-.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)) (cos.f64 re))) |
(*.f64 (-.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)) (*.f64 1/2 (cos.f64 re))) |
1 |
(-.f64 1 (*.f64 1/2 (pow.f64 re 2))) |
(+.f64 1 (*.f64 -1/2 (*.f64 re re))) |
(+.f64 1 (*.f64 (*.f64 re re) -1/2)) |
(fma.f64 (*.f64 re re) -1/2 1) |
(-.f64 (+.f64 1 (*.f64 1/24 (pow.f64 re 4))) (*.f64 1/2 (pow.f64 re 2))) |
(+.f64 1 (-.f64 (*.f64 (pow.f64 re 4) 1/24) (*.f64 1/2 (*.f64 re re)))) |
(+.f64 1 (fma.f64 (pow.f64 re 4) 1/24 (*.f64 (*.f64 re re) -1/2))) |
(fma.f64 (*.f64 re re) -1/2 (fma.f64 (pow.f64 re 4) 1/24 1)) |
(-.f64 (+.f64 1 (*.f64 1/24 (pow.f64 re 4))) (+.f64 (*.f64 1/2 (pow.f64 re 2)) (*.f64 1/720 (pow.f64 re 6)))) |
(+.f64 1 (-.f64 (*.f64 (pow.f64 re 4) 1/24) (fma.f64 1/2 (*.f64 re re) (*.f64 (pow.f64 re 6) 1/720)))) |
(-.f64 (fma.f64 (pow.f64 re 4) 1/24 1) (fma.f64 1/2 (*.f64 re re) (*.f64 (pow.f64 re 6) 1/720))) |
(+.f64 1 (fma.f64 (pow.f64 re 4) 1/24 (fma.f64 (*.f64 re re) -1/2 (*.f64 (pow.f64 re 6) -1/720)))) |
(+.f64 (fma.f64 (*.f64 re re) -1/2 (fma.f64 (pow.f64 re 4) 1/24 1)) (*.f64 (pow.f64 re 6) -1/720)) |
2 alts after pruning (2 fresh and 0 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 162 | 2 | 164 |
| Fresh | 1 | 0 | 1 |
| Picked | 1 | 0 | 1 |
| Done | 0 | 0 | 0 |
| Total | 164 | 2 | 166 |
| Status | Error | Program |
|---|---|---|
| ▶ | 0.7b | (neg.f64 (+.f64 (*.f64 (cos.f64 re) im) (+.f64 (*.f64 1/6 (*.f64 (cos.f64 re) (pow.f64 im 3))) (*.f64 1/120 (*.f64 (cos.f64 re) (pow.f64 im 5)))))) |
| 59.3b | (*.f64 (*.f64 1/2 (pow.f64 (sqrt.f64 (cos.f64 re)) 2)) (-.f64 (exp.f64 (-.f64 0 im)) (exp.f64 im))) |
Compiled 3089 to 1742 computations (43.6% saved)
Found 4 expressions with local error:
| New | Error | Program |
|---|---|---|
| ✓ | 0.1b | (*.f64 (cos.f64 re) (pow.f64 im 3)) |
| ✓ | 0.1b | (*.f64 1/120 (*.f64 (cos.f64 re) (pow.f64 im 5))) |
| ✓ | 0.1b | (*.f64 (cos.f64 re) im) |
| ✓ | 0.1b | (*.f64 1/6 (*.f64 (cos.f64 re) (pow.f64 im 3))) |
24 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 2.0ms | re | @ | -inf | (*.f64 1/6 (*.f64 (cos.f64 re) (pow.f64 im 3))) |
| 1.0ms | re | @ | 0 | (*.f64 1/6 (*.f64 (cos.f64 re) (pow.f64 im 3))) |
| 1.0ms | re | @ | inf | (*.f64 1/120 (*.f64 (cos.f64 re) (pow.f64 im 5))) |
| 1.0ms | re | @ | inf | (*.f64 1/6 (*.f64 (cos.f64 re) (pow.f64 im 3))) |
| 1.0ms | re | @ | 0 | (*.f64 1/120 (*.f64 (cos.f64 re) (pow.f64 im 5))) |
| 1× | batch-egg-rewrite |
| 715× | log-prod_binary64 |
| 260× | expm1-udef_binary64 |
| 260× | log1p-udef_binary64 |
| 217× | log-pow_binary64 |
| 150× | add-sqr-sqrt_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 15 | 39 |
| 1 | 318 | 39 |
| 2 | 3529 | 39 |
| 1× | node limit |
| Inputs |
|---|
(*.f64 1/6 (*.f64 (cos.f64 re) (pow.f64 im 3))) |
(*.f64 (cos.f64 re) im) |
(*.f64 1/120 (*.f64 (cos.f64 re) (pow.f64 im 5))) |
(*.f64 (cos.f64 re) (pow.f64 im 3)) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x +.f64 0 (*.f64 1/6 (*.f64 (cos.f64 re) (pow.f64 im 3))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (*.f64 (cbrt.f64 (pow.f64 (pow.f64 (exp.f64 (pow.f64 im 3)) (cos.f64 re)) 1/6)) (cbrt.f64 (pow.f64 (pow.f64 (exp.f64 (pow.f64 im 3)) (cos.f64 re)) 1/6)))) (log.f64 (cbrt.f64 (pow.f64 (pow.f64 (exp.f64 (pow.f64 im 3)) (cos.f64 re)) 1/6))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (sqrt.f64 (pow.f64 (pow.f64 (exp.f64 (pow.f64 im 3)) (cos.f64 re)) 1/6))) (log.f64 (sqrt.f64 (pow.f64 (pow.f64 (exp.f64 (pow.f64 im 3)) (cos.f64 re)) 1/6))))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (*.f64 1/6 (*.f64 (cos.f64 re) (pow.f64 im 3))))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 1/6 (*.f64 (cos.f64 re) (pow.f64 im 3))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 1/6 (*.f64 (cos.f64 re) (pow.f64 im 3))) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 (cbrt.f64 (*.f64 1/6 (cos.f64 re))) im) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 (sqrt.f64 (*.f64 1/6 (cos.f64 re))) (pow.f64 im 3/2)) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (*.f64 (pow.f64 (*.f64 (cos.f64 re) (pow.f64 im 3)) 2) 1/36))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (pow.f64 (pow.f64 (exp.f64 (pow.f64 im 3)) (cos.f64 re)) 1/6))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (*.f64 1/6 (*.f64 (cos.f64 re) (pow.f64 im 3))))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (*.f64 1/6 (*.f64 (cos.f64 re) (pow.f64 im 3))) 3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (*.f64 1/6 (*.f64 (cos.f64 re) (pow.f64 im 3)))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (*.f64 1/6 (*.f64 (cos.f64 re) (pow.f64 im 3)))) 1))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 1/6 (*.f64 (cos.f64 re) (pow.f64 im 3)))))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 1/6 (*.f64 (cos.f64 re) (pow.f64 im 3))))))))) |
((#(struct:change #<rule egg-rr> (2) ((x +.f64 0 (*.f64 (cos.f64 re) im))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (*.f64 (cbrt.f64 (pow.f64 (exp.f64 im) (cos.f64 re))) (cbrt.f64 (pow.f64 (exp.f64 im) (cos.f64 re))))) (log.f64 (cbrt.f64 (pow.f64 (exp.f64 im) (cos.f64 re)))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (sqrt.f64 (pow.f64 (exp.f64 im) (cos.f64 re)))) (log.f64 (sqrt.f64 (pow.f64 (exp.f64 im) (cos.f64 re)))))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (*.f64 (cos.f64 re) im))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 (cos.f64 re) im) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 (cos.f64 re) im) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (*.f64 (cos.f64 re) im)) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (*.f64 (cos.f64 re) im)) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (*.f64 (cos.f64 re) im) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (pow.f64 (exp.f64 im) (cos.f64 re)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (*.f64 (cos.f64 re) im))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (*.f64 (cos.f64 re) im) 3))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (*.f64 (pow.f64 (cos.f64 re) 3) (pow.f64 im 3)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (*.f64 (pow.f64 im 3) (pow.f64 (cos.f64 re) 3)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (*.f64 (cos.f64 re) im)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (*.f64 (cos.f64 re) im)) 1))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 (cos.f64 re) im)))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 (cos.f64 re) im))))))) |
((#(struct:change #<rule egg-rr> (2) ((x +.f64 0 (*.f64 (pow.f64 im 5) (*.f64 (cos.f64 re) 1/120)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (*.f64 (cbrt.f64 (exp.f64 (*.f64 (pow.f64 im 5) (*.f64 (cos.f64 re) 1/120)))) (cbrt.f64 (exp.f64 (*.f64 (pow.f64 im 5) (*.f64 (cos.f64 re) 1/120)))))) (log.f64 (cbrt.f64 (exp.f64 (*.f64 (pow.f64 im 5) (*.f64 (cos.f64 re) 1/120))))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (sqrt.f64 (exp.f64 (*.f64 (pow.f64 im 5) (*.f64 (cos.f64 re) 1/120))))) (log.f64 (sqrt.f64 (exp.f64 (*.f64 (pow.f64 im 5) (*.f64 (cos.f64 re) 1/120))))))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (*.f64 (pow.f64 im 5) (*.f64 (cos.f64 re) 1/120)))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 (pow.f64 im 5) (*.f64 (cos.f64 re) 1/120)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 (pow.f64 im 5) (*.f64 (cos.f64 re) 1/120)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (*.f64 (pow.f64 im 5) (*.f64 (cos.f64 re) 1/120))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 (sqrt.f64 (*.f64 (cos.f64 re) 1/120)) (pow.f64 im 5/2)) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (*.f64 (pow.f64 im 5) (*.f64 (cos.f64 re) 1/120)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (*.f64 (pow.f64 im 5) (*.f64 (cos.f64 re) 1/120))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (*.f64 (pow.f64 im 5) (*.f64 (cos.f64 re) 1/120)))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (*.f64 (pow.f64 im 5) (*.f64 (cos.f64 re) 1/120)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (*.f64 (pow.f64 im 5) (*.f64 (cos.f64 re) 1/120))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (*.f64 (pow.f64 im 5) (*.f64 (cos.f64 re) 1/120))) 1))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 (pow.f64 im 5) (*.f64 (cos.f64 re) 1/120))))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 (pow.f64 im 5) (*.f64 (cos.f64 re) 1/120)))))))) |
((#(struct:change #<rule egg-rr> (2) ((x +.f64 0 (*.f64 (cos.f64 re) (pow.f64 im 3)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (*.f64 (cbrt.f64 (pow.f64 (exp.f64 (pow.f64 im 3)) (cos.f64 re))) (cbrt.f64 (pow.f64 (exp.f64 (pow.f64 im 3)) (cos.f64 re))))) (log.f64 (cbrt.f64 (pow.f64 (exp.f64 (pow.f64 im 3)) (cos.f64 re)))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (sqrt.f64 (pow.f64 (exp.f64 (pow.f64 im 3)) (cos.f64 re)))) (log.f64 (sqrt.f64 (pow.f64 (exp.f64 (pow.f64 im 3)) (cos.f64 re)))))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (*.f64 (cos.f64 re) (pow.f64 im 3)))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 (cos.f64 re) (pow.f64 im 3)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 (cos.f64 re) (pow.f64 im 3)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 im (cbrt.f64 (cos.f64 re))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 (sqrt.f64 (cos.f64 re)) (pow.f64 im 3/2)) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (*.f64 (cos.f64 re) (pow.f64 im 3)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (pow.f64 (exp.f64 (pow.f64 im 3)) (cos.f64 re)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (*.f64 (cos.f64 re) (pow.f64 im 3)))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (*.f64 (cos.f64 re) (pow.f64 im 3)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (*.f64 (pow.f64 (cos.f64 re) 3) (pow.f64 (pow.f64 im 3) 3)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (*.f64 (pow.f64 (pow.f64 im 3) 3) (pow.f64 (cos.f64 re) 3)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (fma.f64 3 (log.f64 im) (log.f64 (cos.f64 re))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (fma.f64 3 (log.f64 im) (log.f64 (cos.f64 re))) 1))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 (cos.f64 re) (pow.f64 im 3))))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 (cos.f64 re) (pow.f64 im 3)))))))) |
| 1× | egg-herbie |
| 496× | associate-*l*_binary64 |
| 486× | associate-*r*_binary64 |
| 426× | fma-def_binary64 |
| 352× | unswap-sqr_binary64 |
| 346× | cancel-sign-sub-inv_binary64 |
Useful iterations: 2 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 67 | 394 |
| 1 | 208 | 347 |
| 2 | 816 | 291 |
| 3 | 4263 | 291 |
| 1× | node limit |
| Inputs |
|---|
(*.f64 1/6 (pow.f64 im 3)) |
(-.f64 (*.f64 1/6 (pow.f64 im 3)) (*.f64 1/12 (*.f64 (pow.f64 re 2) (pow.f64 im 3)))) |
(-.f64 (+.f64 (*.f64 1/144 (*.f64 (pow.f64 re 4) (pow.f64 im 3))) (*.f64 1/6 (pow.f64 im 3))) (*.f64 1/12 (*.f64 (pow.f64 re 2) (pow.f64 im 3)))) |
(-.f64 (+.f64 (*.f64 1/144 (*.f64 (pow.f64 re 4) (pow.f64 im 3))) (*.f64 1/6 (pow.f64 im 3))) (+.f64 (*.f64 1/4320 (*.f64 (pow.f64 re 6) (pow.f64 im 3))) (*.f64 1/12 (*.f64 (pow.f64 re 2) (pow.f64 im 3))))) |
im |
(-.f64 im (*.f64 1/2 (*.f64 (pow.f64 re 2) im))) |
(-.f64 (+.f64 (*.f64 1/24 (*.f64 (pow.f64 re 4) im)) im) (*.f64 1/2 (*.f64 (pow.f64 re 2) im))) |
(-.f64 (+.f64 (*.f64 1/24 (*.f64 (pow.f64 re 4) im)) im) (+.f64 (*.f64 1/2 (*.f64 (pow.f64 re 2) im)) (*.f64 1/720 (*.f64 (pow.f64 re 6) im)))) |
(*.f64 1/120 (pow.f64 im 5)) |
(-.f64 (*.f64 1/120 (pow.f64 im 5)) (*.f64 1/240 (*.f64 (pow.f64 re 2) (pow.f64 im 5)))) |
(-.f64 (+.f64 (*.f64 1/120 (pow.f64 im 5)) (*.f64 1/2880 (*.f64 (pow.f64 re 4) (pow.f64 im 5)))) (*.f64 1/240 (*.f64 (pow.f64 re 2) (pow.f64 im 5)))) |
(-.f64 (+.f64 (*.f64 1/120 (pow.f64 im 5)) (*.f64 1/2880 (*.f64 (pow.f64 re 4) (pow.f64 im 5)))) (+.f64 (*.f64 1/86400 (*.f64 (pow.f64 re 6) (pow.f64 im 5))) (*.f64 1/240 (*.f64 (pow.f64 re 2) (pow.f64 im 5))))) |
(pow.f64 im 3) |
(-.f64 (pow.f64 im 3) (*.f64 1/2 (*.f64 (pow.f64 re 2) (pow.f64 im 3)))) |
(-.f64 (+.f64 (*.f64 1/24 (*.f64 (pow.f64 re 4) (pow.f64 im 3))) (pow.f64 im 3)) (*.f64 1/2 (*.f64 (pow.f64 re 2) (pow.f64 im 3)))) |
(-.f64 (+.f64 (*.f64 1/24 (*.f64 (pow.f64 re 4) (pow.f64 im 3))) (pow.f64 im 3)) (+.f64 (*.f64 1/720 (*.f64 (pow.f64 re 6) (pow.f64 im 3))) (*.f64 1/2 (*.f64 (pow.f64 re 2) (pow.f64 im 3))))) |
| Outputs |
|---|
(*.f64 1/6 (pow.f64 im 3)) |
(-.f64 (*.f64 1/6 (pow.f64 im 3)) (*.f64 1/12 (*.f64 (pow.f64 re 2) (pow.f64 im 3)))) |
(+.f64 (*.f64 1/6 (pow.f64 im 3)) (*.f64 -1/12 (*.f64 (pow.f64 im 3) (*.f64 re re)))) |
(*.f64 (pow.f64 im 3) (-.f64 1/6 (*.f64 1/12 (*.f64 re re)))) |
(*.f64 (pow.f64 im 3) (+.f64 (*.f64 (*.f64 re re) -1/12) 1/6)) |
(-.f64 (+.f64 (*.f64 1/144 (*.f64 (pow.f64 re 4) (pow.f64 im 3))) (*.f64 1/6 (pow.f64 im 3))) (*.f64 1/12 (*.f64 (pow.f64 re 2) (pow.f64 im 3)))) |
(+.f64 (fma.f64 1/144 (*.f64 (pow.f64 im 3) (pow.f64 re 4)) (*.f64 1/6 (pow.f64 im 3))) (*.f64 -1/12 (*.f64 (pow.f64 im 3) (*.f64 re re)))) |
(fma.f64 1/144 (*.f64 (pow.f64 im 3) (pow.f64 re 4)) (*.f64 (pow.f64 im 3) (-.f64 1/6 (*.f64 1/12 (*.f64 re re))))) |
(*.f64 (pow.f64 im 3) (-.f64 (fma.f64 1/144 (pow.f64 re 4) 1/6) (*.f64 1/12 (*.f64 re re)))) |
(*.f64 (pow.f64 im 3) (+.f64 (fma.f64 1/144 (pow.f64 re 4) 1/6) (*.f64 (*.f64 re re) -1/12))) |
(-.f64 (+.f64 (*.f64 1/144 (*.f64 (pow.f64 re 4) (pow.f64 im 3))) (*.f64 1/6 (pow.f64 im 3))) (+.f64 (*.f64 1/4320 (*.f64 (pow.f64 re 6) (pow.f64 im 3))) (*.f64 1/12 (*.f64 (pow.f64 re 2) (pow.f64 im 3))))) |
(-.f64 (fma.f64 1/144 (*.f64 (pow.f64 im 3) (pow.f64 re 4)) (*.f64 1/6 (pow.f64 im 3))) (fma.f64 1/4320 (*.f64 (pow.f64 im 3) (pow.f64 re 6)) (*.f64 (*.f64 1/12 (*.f64 re re)) (pow.f64 im 3)))) |
(-.f64 (*.f64 (pow.f64 im 3) (+.f64 1/6 (*.f64 1/144 (pow.f64 re 4)))) (*.f64 (pow.f64 im 3) (+.f64 (*.f64 1/12 (*.f64 re re)) (*.f64 1/4320 (pow.f64 re 6))))) |
(*.f64 (pow.f64 im 3) (-.f64 (fma.f64 1/144 (pow.f64 re 4) 1/6) (fma.f64 1/12 (*.f64 re re) (*.f64 1/4320 (pow.f64 re 6))))) |
im |
(-.f64 im (*.f64 1/2 (*.f64 (pow.f64 re 2) im))) |
(+.f64 im (*.f64 -1/2 (*.f64 im (*.f64 re re)))) |
(+.f64 im (*.f64 (*.f64 -1/2 im) (*.f64 re re))) |
(fma.f64 (*.f64 im (*.f64 re re)) -1/2 im) |
(-.f64 (+.f64 (*.f64 1/24 (*.f64 (pow.f64 re 4) im)) im) (*.f64 1/2 (*.f64 (pow.f64 re 2) im))) |
(+.f64 (fma.f64 1/24 (*.f64 im (pow.f64 re 4)) im) (*.f64 -1/2 (*.f64 im (*.f64 re re)))) |
(+.f64 (fma.f64 (*.f64 (pow.f64 re 4) 1/24) im im) (*.f64 (*.f64 -1/2 im) (*.f64 re re))) |
(*.f64 im (-.f64 (fma.f64 (pow.f64 re 4) 1/24 1) (*.f64 (*.f64 re re) 1/2))) |
(*.f64 im (+.f64 (fma.f64 (pow.f64 re 4) 1/24 1) (*.f64 (*.f64 re re) -1/2))) |
(-.f64 (+.f64 (*.f64 1/24 (*.f64 (pow.f64 re 4) im)) im) (+.f64 (*.f64 1/2 (*.f64 (pow.f64 re 2) im)) (*.f64 1/720 (*.f64 (pow.f64 re 6) im)))) |
(-.f64 (fma.f64 1/24 (*.f64 im (pow.f64 re 4)) im) (fma.f64 1/2 (*.f64 im (*.f64 re re)) (*.f64 1/720 (*.f64 im (pow.f64 re 6))))) |
(-.f64 (fma.f64 (*.f64 (pow.f64 re 4) 1/24) im im) (*.f64 im (+.f64 (*.f64 (*.f64 re re) 1/2) (*.f64 (pow.f64 re 6) 1/720)))) |
(+.f64 im (*.f64 im (-.f64 (*.f64 (pow.f64 re 4) 1/24) (fma.f64 (*.f64 re re) 1/2 (*.f64 (pow.f64 re 6) 1/720))))) |
(*.f64 1/120 (pow.f64 im 5)) |
(-.f64 (*.f64 1/120 (pow.f64 im 5)) (*.f64 1/240 (*.f64 (pow.f64 re 2) (pow.f64 im 5)))) |
(-.f64 (*.f64 1/120 (pow.f64 im 5)) (*.f64 (*.f64 1/240 (*.f64 re re)) (pow.f64 im 5))) |
(*.f64 (pow.f64 im 5) (-.f64 1/120 (*.f64 (*.f64 re re) 1/240))) |
(*.f64 (pow.f64 im 5) (+.f64 1/120 (*.f64 (*.f64 re re) -1/240))) |
(-.f64 (+.f64 (*.f64 1/120 (pow.f64 im 5)) (*.f64 1/2880 (*.f64 (pow.f64 re 4) (pow.f64 im 5)))) (*.f64 1/240 (*.f64 (pow.f64 re 2) (pow.f64 im 5)))) |
(+.f64 (fma.f64 1/120 (pow.f64 im 5) (*.f64 1/2880 (*.f64 (pow.f64 re 4) (pow.f64 im 5)))) (*.f64 -1/240 (*.f64 (*.f64 re re) (pow.f64 im 5)))) |
(fma.f64 1/120 (pow.f64 im 5) (*.f64 (pow.f64 im 5) (-.f64 (*.f64 (pow.f64 re 4) 1/2880) (*.f64 (*.f64 re re) 1/240)))) |
(*.f64 (pow.f64 im 5) (-.f64 (fma.f64 (pow.f64 re 4) 1/2880 1/120) (*.f64 re (*.f64 re 1/240)))) |
(*.f64 (pow.f64 im 5) (+.f64 (fma.f64 (pow.f64 re 4) 1/2880 1/120) (*.f64 (*.f64 re re) -1/240))) |
(-.f64 (+.f64 (*.f64 1/120 (pow.f64 im 5)) (*.f64 1/2880 (*.f64 (pow.f64 re 4) (pow.f64 im 5)))) (+.f64 (*.f64 1/86400 (*.f64 (pow.f64 re 6) (pow.f64 im 5))) (*.f64 1/240 (*.f64 (pow.f64 re 2) (pow.f64 im 5))))) |
(-.f64 (fma.f64 1/120 (pow.f64 im 5) (*.f64 1/2880 (*.f64 (pow.f64 re 4) (pow.f64 im 5)))) (fma.f64 1/86400 (*.f64 (pow.f64 re 6) (pow.f64 im 5)) (*.f64 (*.f64 1/240 (*.f64 re re)) (pow.f64 im 5)))) |
(-.f64 (*.f64 (pow.f64 im 5) (+.f64 1/120 (*.f64 (pow.f64 re 4) 1/2880))) (*.f64 (pow.f64 im 5) (+.f64 (*.f64 (*.f64 re re) 1/240) (*.f64 (pow.f64 re 6) 1/86400)))) |
(*.f64 (pow.f64 im 5) (-.f64 (fma.f64 (pow.f64 re 4) 1/2880 1/120) (fma.f64 (*.f64 re re) 1/240 (*.f64 (pow.f64 re 6) 1/86400)))) |
(pow.f64 im 3) |
(-.f64 (pow.f64 im 3) (*.f64 1/2 (*.f64 (pow.f64 re 2) (pow.f64 im 3)))) |
(+.f64 (pow.f64 im 3) (*.f64 -1/2 (*.f64 (pow.f64 im 3) (*.f64 re re)))) |
(+.f64 (pow.f64 im 3) (*.f64 (*.f64 (pow.f64 im 3) (*.f64 re re)) -1/2)) |
(*.f64 (+.f64 (*.f64 (*.f64 re re) -1/2) 1) (pow.f64 im 3)) |
(-.f64 (+.f64 (*.f64 1/24 (*.f64 (pow.f64 re 4) (pow.f64 im 3))) (pow.f64 im 3)) (*.f64 1/2 (*.f64 (pow.f64 re 2) (pow.f64 im 3)))) |
(+.f64 (fma.f64 1/24 (*.f64 (pow.f64 im 3) (pow.f64 re 4)) (pow.f64 im 3)) (*.f64 -1/2 (*.f64 (pow.f64 im 3) (*.f64 re re)))) |
(+.f64 (*.f64 (+.f64 (*.f64 (pow.f64 re 4) 1/24) 1) (pow.f64 im 3)) (*.f64 (*.f64 (pow.f64 im 3) (*.f64 re re)) -1/2)) |
(*.f64 (pow.f64 im 3) (-.f64 (fma.f64 (pow.f64 re 4) 1/24 1) (*.f64 (*.f64 re re) 1/2))) |
(*.f64 (pow.f64 im 3) (+.f64 (fma.f64 (pow.f64 re 4) 1/24 1) (*.f64 (*.f64 re re) -1/2))) |
(-.f64 (+.f64 (*.f64 1/24 (*.f64 (pow.f64 re 4) (pow.f64 im 3))) (pow.f64 im 3)) (+.f64 (*.f64 1/720 (*.f64 (pow.f64 re 6) (pow.f64 im 3))) (*.f64 1/2 (*.f64 (pow.f64 re 2) (pow.f64 im 3))))) |
(-.f64 (fma.f64 1/24 (*.f64 (pow.f64 im 3) (pow.f64 re 4)) (pow.f64 im 3)) (fma.f64 1/720 (*.f64 (pow.f64 im 3) (pow.f64 re 6)) (*.f64 (*.f64 (pow.f64 im 3) (*.f64 re re)) 1/2))) |
(-.f64 (*.f64 (+.f64 (*.f64 (pow.f64 re 4) 1/24) 1) (pow.f64 im 3)) (*.f64 (pow.f64 im 3) (+.f64 (*.f64 (pow.f64 re 6) 1/720) (*.f64 (*.f64 re re) 1/2)))) |
(+.f64 (pow.f64 im 3) (*.f64 (pow.f64 im 3) (-.f64 (*.f64 (pow.f64 re 4) 1/24) (fma.f64 (*.f64 re re) 1/2 (*.f64 (pow.f64 re 6) 1/720))))) |
5 alts after pruning (4 fresh and 1 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 93 | 3 | 96 |
| Fresh | 0 | 1 | 1 |
| Picked | 0 | 1 | 1 |
| Done | 0 | 0 | 0 |
| Total | 93 | 5 | 98 |
| Status | Error | Program |
|---|---|---|
| ✓ | 0.7b | (neg.f64 (+.f64 (*.f64 (cos.f64 re) im) (+.f64 (*.f64 1/6 (*.f64 (cos.f64 re) (pow.f64 im 3))) (*.f64 1/120 (*.f64 (cos.f64 re) (pow.f64 im 5)))))) |
| 40.8b | (neg.f64 (+.f64 (cbrt.f64 (*.f64 (pow.f64 (cos.f64 re) 3) (pow.f64 im 3))) (+.f64 (*.f64 1/6 (*.f64 (cos.f64 re) (pow.f64 im 3))) (*.f64 1/120 (*.f64 (cos.f64 re) (pow.f64 im 5)))))) | |
| 31.5b | (neg.f64 (+.f64 (pow.f64 (sqrt.f64 (*.f64 (cos.f64 re) im)) 2) (+.f64 (*.f64 1/6 (*.f64 (cos.f64 re) (pow.f64 im 3))) (*.f64 1/120 (*.f64 (cos.f64 re) (pow.f64 im 5)))))) | |
| ▶ | 2.2b | (neg.f64 (+.f64 (pow.f64 (cbrt.f64 (*.f64 (cos.f64 re) im)) 3) (+.f64 (*.f64 1/6 (*.f64 (cos.f64 re) (pow.f64 im 3))) (*.f64 1/120 (*.f64 (cos.f64 re) (pow.f64 im 5)))))) |
| 59.3b | (*.f64 (*.f64 1/2 (pow.f64 (sqrt.f64 (cos.f64 re)) 2)) (-.f64 (exp.f64 (-.f64 0 im)) (exp.f64 im))) |
Compiled 3054 to 1949 computations (36.2% saved)
Found 4 expressions with local error:
| New | Error | Program |
|---|---|---|
| 0.1b | (*.f64 (cos.f64 re) im) | |
| 0.1b | (*.f64 1/6 (*.f64 (cos.f64 re) (pow.f64 im 3))) | |
| ✓ | 0.7b | (cbrt.f64 (*.f64 (cos.f64 re) im)) |
| ✓ | 0.8b | (pow.f64 (cbrt.f64 (*.f64 (cos.f64 re) im)) 3) |
12 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 5.0ms | re | @ | -inf | (pow.f64 (cbrt.f64 (*.f64 (cos.f64 re) im)) 3) |
| 3.0ms | im | @ | -inf | (pow.f64 (cbrt.f64 (*.f64 (cos.f64 re) im)) 3) |
| 2.0ms | re | @ | inf | (pow.f64 (cbrt.f64 (*.f64 (cos.f64 re) im)) 3) |
| 2.0ms | re | @ | 0 | (pow.f64 (cbrt.f64 (*.f64 (cos.f64 re) im)) 3) |
| 1.0ms | im | @ | 0 | (pow.f64 (cbrt.f64 (*.f64 (cos.f64 re) im)) 3) |
| 1× | batch-egg-rewrite |
| 638× | pow1_binary64 |
| 596× | add-log-exp_binary64 |
| 596× | log1p-expm1-u_binary64 |
| 596× | expm1-log1p-u_binary64 |
| 71× | add-sqr-sqrt_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 8 | 14 |
| 1 | 166 | 14 |
| 2 | 1669 | 14 |
| 1× | node limit |
| Inputs |
|---|
(pow.f64 (cbrt.f64 (*.f64 (cos.f64 re) im)) 3) |
(cbrt.f64 (*.f64 (cos.f64 re) im)) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (*.f64 (cos.f64 re) im))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cos.f64 re) im)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 im (cos.f64 re))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (cos.f64 re) im) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (*.f64 (cos.f64 re) im)) (pow.f64 (cbrt.f64 (*.f64 (cos.f64 re) im)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (*.f64 (cos.f64 re) im))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (*.f64 (cos.f64 re) im)) 2) (cbrt.f64 (*.f64 (cos.f64 re) im)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (cbrt.f64 (*.f64 (cos.f64 re) im))) 2) (*.f64 (cbrt.f64 (cbrt.f64 (*.f64 (cos.f64 re) im))) (pow.f64 (cbrt.f64 (*.f64 (cos.f64 re) im)) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (cos.f64 re)) (*.f64 (cbrt.f64 im) (pow.f64 (cbrt.f64 (*.f64 (cos.f64 re) im)) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (cos.f64 re)) 2) (*.f64 (cbrt.f64 (cos.f64 re)) im))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 im) 2) (*.f64 (cbrt.f64 im) (cos.f64 re)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (*.f64 (cos.f64 re) im)) (sqrt.f64 (*.f64 (cos.f64 re) im)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (*.f64 (cos.f64 re) im) 1/6) (*.f64 (pow.f64 (*.f64 (cos.f64 re) im) 1/6) (pow.f64 (cbrt.f64 (*.f64 (cos.f64 re) im)) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (cos.f64 re)) (*.f64 (sqrt.f64 (cos.f64 re)) im))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 im) (*.f64 (sqrt.f64 im) (cos.f64 re)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (pow.f64 (cbrt.f64 (cbrt.f64 (*.f64 (cos.f64 re) im))) 2) 3) (cbrt.f64 (*.f64 (cos.f64 re) im)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (pow.f64 (*.f64 (cos.f64 re) im) 1/6) 3) (pow.f64 (pow.f64 (*.f64 (cos.f64 re) im) 1/6) 3))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (cos.f64 re) (pow.f64 (cbrt.f64 im) 2)) (cbrt.f64 im))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (cos.f64 re) (sqrt.f64 im)) (sqrt.f64 im))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 im (pow.f64 (cbrt.f64 (cos.f64 re)) 2)) (cbrt.f64 (cos.f64 re)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 im (sqrt.f64 (cos.f64 re))) (sqrt.f64 (cos.f64 re)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (pow.f64 (cbrt.f64 (*.f64 (cos.f64 re) im)) 2) 1) (cbrt.f64 (*.f64 (cos.f64 re) im)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (pow.f64 (cbrt.f64 (*.f64 (cos.f64 re) im)) 2) (pow.f64 (cbrt.f64 (cbrt.f64 (*.f64 (cos.f64 re) im))) 2)) (cbrt.f64 (cbrt.f64 (*.f64 (cos.f64 re) im))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (pow.f64 (cbrt.f64 (*.f64 (cos.f64 re) im)) 2) (cbrt.f64 (cos.f64 re))) (cbrt.f64 im))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (pow.f64 (cbrt.f64 (*.f64 (cos.f64 re) im)) 2) (pow.f64 (*.f64 (cos.f64 re) im) 1/6)) (pow.f64 (*.f64 (cos.f64 re) im) 1/6))))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (*.f64 (cos.f64 re) im) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (pow.f64 (exp.f64 (cos.f64 re)) im))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (*.f64 (cos.f64 re) im))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (*.f64 (cos.f64 re) im) 3))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (*.f64 (pow.f64 (cos.f64 re) 3) (pow.f64 im 3)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (*.f64 (pow.f64 im 3) (pow.f64 (cos.f64 re) 3)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (*.f64 (cos.f64 re) im)))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 (cos.f64 re) im)))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 (cos.f64 re) im))))))) |
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (cbrt.f64 (*.f64 (cos.f64 re) im)))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (*.f64 (cos.f64 re) im)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (cbrt.f64 (*.f64 (cos.f64 re) im)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (cbrt.f64 (*.f64 (cos.f64 re) im))) (pow.f64 (cbrt.f64 (cbrt.f64 (*.f64 (cos.f64 re) im))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (cbrt.f64 (*.f64 (cos.f64 re) im))) (pow.f64 (pow.f64 (cbrt.f64 (*.f64 (cos.f64 re) im)) 2) 1/3))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (cbrt.f64 (*.f64 (cos.f64 re) im))) 2) (cbrt.f64 (cbrt.f64 (*.f64 (cos.f64 re) im))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (cos.f64 re)) (cbrt.f64 im))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 im) (cbrt.f64 (cos.f64 re)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (*.f64 (cos.f64 re) im) 1/6) (pow.f64 (*.f64 (cos.f64 re) im) 1/6))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (pow.f64 (cbrt.f64 (*.f64 (cos.f64 re) im)) 2) 1/3) (cbrt.f64 (cbrt.f64 (*.f64 (cos.f64 re) im))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 1 1/3) (cbrt.f64 (*.f64 (cos.f64 re) im)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (sqrt.f64 (*.f64 (cos.f64 re) im)) 1/3) (pow.f64 (sqrt.f64 (*.f64 (cos.f64 re) im)) 1/3))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 (cos.f64 re) im) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (*.f64 (cos.f64 re) im)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (cbrt.f64 (*.f64 (cos.f64 re) im))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 (cos.f64 re) im) 1/6) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (cbrt.f64 (*.f64 (cos.f64 re) im)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (cbrt.f64 (*.f64 (cos.f64 re) im))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (cbrt.f64 (*.f64 (cos.f64 re) im)))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (cbrt.f64 (*.f64 (cos.f64 re) im))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (cbrt.f64 (*.f64 (cos.f64 re) im))))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (cbrt.f64 (*.f64 (cos.f64 re) im)))))))) |
| 1× | egg-herbie |
| 535× | fma-neg_binary64 |
| 356× | *-commutative_binary64 |
| 330× | distribute-lft-neg-in_binary64 |
| 329× | distribute-rgt-neg-in_binary64 |
| 191× | associate-*r*_binary64 |
Useful iterations: 3 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 43 | 272 |
| 1 | 124 | 265 |
| 2 | 409 | 248 |
| 3 | 1837 | 244 |
| 4 | 4903 | 244 |
| 1× | node limit |
| Inputs |
|---|
im |
(-.f64 im (*.f64 1/2 (*.f64 (pow.f64 re 2) im))) |
(-.f64 (+.f64 (*.f64 1/24 (*.f64 (pow.f64 re 4) im)) im) (*.f64 1/2 (*.f64 (pow.f64 re 2) im))) |
(-.f64 (+.f64 (*.f64 1/24 (*.f64 (pow.f64 re 4) im)) im) (+.f64 (*.f64 1/2 (*.f64 (pow.f64 re 2) im)) (*.f64 1/720 (*.f64 (pow.f64 re 6) im)))) |
(*.f64 (cos.f64 re) im) |
(*.f64 (cos.f64 re) im) |
(*.f64 (cos.f64 re) im) |
(*.f64 (cos.f64 re) im) |
(*.f64 (cos.f64 re) im) |
(*.f64 (cos.f64 re) im) |
(*.f64 (cos.f64 re) im) |
(*.f64 (cos.f64 re) im) |
(pow.f64 im 1/3) |
(-.f64 (pow.f64 im 1/3) (*.f64 1/6 (*.f64 (pow.f64 re 2) (pow.f64 im 1/3)))) |
(-.f64 (pow.f64 im 1/3) (+.f64 (*.f64 1/72 (*.f64 (pow.f64 re 4) (pow.f64 im 1/3))) (*.f64 1/6 (*.f64 (pow.f64 re 2) (pow.f64 im 1/3))))) |
(-.f64 (pow.f64 im 1/3) (+.f64 (*.f64 1/72 (*.f64 (pow.f64 re 4) (pow.f64 im 1/3))) (+.f64 (*.f64 1/6 (*.f64 (pow.f64 re 2) (pow.f64 im 1/3))) (*.f64 23/6480 (*.f64 (pow.f64 re 6) (pow.f64 im 1/3)))))) |
(pow.f64 (*.f64 (cos.f64 re) im) 1/3) |
(pow.f64 (*.f64 (cos.f64 re) im) 1/3) |
(pow.f64 (*.f64 (cos.f64 re) im) 1/3) |
(pow.f64 (*.f64 (cos.f64 re) im) 1/3) |
(pow.f64 (*.f64 (cos.f64 re) im) 1/3) |
(pow.f64 (*.f64 (cos.f64 re) im) 1/3) |
(pow.f64 (*.f64 (cos.f64 re) im) 1/3) |
(pow.f64 (*.f64 (cos.f64 re) im) 1/3) |
| Outputs |
|---|
im |
(-.f64 im (*.f64 1/2 (*.f64 (pow.f64 re 2) im))) |
(+.f64 im (*.f64 -1/2 (*.f64 im (*.f64 re re)))) |
(-.f64 im (*.f64 (*.f64 re re) (*.f64 im 1/2))) |
(fma.f64 (*.f64 im -1/2) (*.f64 re re) im) |
(-.f64 (+.f64 (*.f64 1/24 (*.f64 (pow.f64 re 4) im)) im) (*.f64 1/2 (*.f64 (pow.f64 re 2) im))) |
(+.f64 (fma.f64 1/24 (*.f64 im (pow.f64 re 4)) im) (*.f64 -1/2 (*.f64 im (*.f64 re re)))) |
(fma.f64 1/24 (*.f64 im (pow.f64 re 4)) (-.f64 im (*.f64 (*.f64 re re) (*.f64 im 1/2)))) |
(*.f64 im (-.f64 (fma.f64 1/24 (pow.f64 re 4) 1) (*.f64 1/2 (*.f64 re re)))) |
(*.f64 im (+.f64 (*.f64 re (*.f64 re -1/2)) (fma.f64 1/24 (pow.f64 re 4) 1))) |
(-.f64 (+.f64 (*.f64 1/24 (*.f64 (pow.f64 re 4) im)) im) (+.f64 (*.f64 1/2 (*.f64 (pow.f64 re 2) im)) (*.f64 1/720 (*.f64 (pow.f64 re 6) im)))) |
(-.f64 (fma.f64 1/24 (*.f64 im (pow.f64 re 4)) im) (fma.f64 1/2 (*.f64 im (*.f64 re re)) (*.f64 1/720 (*.f64 im (pow.f64 re 6))))) |
(-.f64 (fma.f64 1/24 (*.f64 im (pow.f64 re 4)) im) (*.f64 im (+.f64 (*.f64 1/2 (*.f64 re re)) (*.f64 1/720 (pow.f64 re 6))))) |
(+.f64 im (*.f64 im (-.f64 (*.f64 1/24 (pow.f64 re 4)) (fma.f64 1/2 (*.f64 re re) (*.f64 1/720 (pow.f64 re 6)))))) |
(*.f64 im (-.f64 (fma.f64 1/24 (pow.f64 re 4) 1) (fma.f64 1/720 (pow.f64 re 6) (*.f64 1/2 (*.f64 re re))))) |
(*.f64 (cos.f64 re) im) |
(*.f64 im (cos.f64 re)) |
(*.f64 (cos.f64 re) im) |
(*.f64 im (cos.f64 re)) |
(*.f64 (cos.f64 re) im) |
(*.f64 im (cos.f64 re)) |
(*.f64 (cos.f64 re) im) |
(*.f64 im (cos.f64 re)) |
(*.f64 (cos.f64 re) im) |
(*.f64 im (cos.f64 re)) |
(*.f64 (cos.f64 re) im) |
(*.f64 im (cos.f64 re)) |
(*.f64 (cos.f64 re) im) |
(*.f64 im (cos.f64 re)) |
(*.f64 (cos.f64 re) im) |
(*.f64 im (cos.f64 re)) |
(pow.f64 im 1/3) |
(cbrt.f64 im) |
(-.f64 (pow.f64 im 1/3) (*.f64 1/6 (*.f64 (pow.f64 re 2) (pow.f64 im 1/3)))) |
(+.f64 (cbrt.f64 im) (*.f64 -1/6 (*.f64 (*.f64 re re) (cbrt.f64 im)))) |
(+.f64 (cbrt.f64 im) (*.f64 (*.f64 (*.f64 re re) (cbrt.f64 im)) -1/6)) |
(fma.f64 (*.f64 (*.f64 re re) -1/6) (cbrt.f64 im) (cbrt.f64 im)) |
(fma.f64 (*.f64 re (*.f64 re (cbrt.f64 im))) -1/6 (cbrt.f64 im)) |
(-.f64 (pow.f64 im 1/3) (+.f64 (*.f64 1/72 (*.f64 (pow.f64 re 4) (pow.f64 im 1/3))) (*.f64 1/6 (*.f64 (pow.f64 re 2) (pow.f64 im 1/3))))) |
(-.f64 (cbrt.f64 im) (fma.f64 1/72 (*.f64 (pow.f64 re 4) (cbrt.f64 im)) (*.f64 1/6 (*.f64 (*.f64 re re) (cbrt.f64 im))))) |
(-.f64 (cbrt.f64 im) (*.f64 (cbrt.f64 im) (+.f64 (*.f64 (pow.f64 re 4) 1/72) (*.f64 (*.f64 re re) 1/6)))) |
(-.f64 (cbrt.f64 im) (*.f64 (cbrt.f64 im) (fma.f64 (*.f64 re re) 1/6 (*.f64 (pow.f64 re 4) 1/72)))) |
(*.f64 (cbrt.f64 im) (+.f64 (+.f64 1 (*.f64 (pow.f64 re 4) -1/72)) (*.f64 re (*.f64 re -1/6)))) |
(-.f64 (pow.f64 im 1/3) (+.f64 (*.f64 1/72 (*.f64 (pow.f64 re 4) (pow.f64 im 1/3))) (+.f64 (*.f64 1/6 (*.f64 (pow.f64 re 2) (pow.f64 im 1/3))) (*.f64 23/6480 (*.f64 (pow.f64 re 6) (pow.f64 im 1/3)))))) |
(-.f64 (cbrt.f64 im) (fma.f64 1/72 (*.f64 (pow.f64 re 4) (cbrt.f64 im)) (fma.f64 1/6 (*.f64 (*.f64 re re) (cbrt.f64 im)) (*.f64 23/6480 (*.f64 (pow.f64 re 6) (cbrt.f64 im)))))) |
(-.f64 (cbrt.f64 im) (fma.f64 1/72 (*.f64 (pow.f64 re 4) (cbrt.f64 im)) (*.f64 (cbrt.f64 im) (+.f64 (*.f64 (*.f64 re re) 1/6) (*.f64 (pow.f64 re 6) 23/6480))))) |
(-.f64 (cbrt.f64 im) (*.f64 (cbrt.f64 im) (+.f64 (fma.f64 (*.f64 re re) 1/6 (*.f64 (pow.f64 re 4) 1/72)) (*.f64 (pow.f64 re 6) 23/6480)))) |
(*.f64 (cbrt.f64 im) (-.f64 (+.f64 1 (*.f64 (pow.f64 re 4) -1/72)) (fma.f64 (*.f64 re re) 1/6 (*.f64 (pow.f64 re 6) 23/6480)))) |
(pow.f64 (*.f64 (cos.f64 re) im) 1/3) |
(cbrt.f64 (*.f64 im (cos.f64 re))) |
(pow.f64 (*.f64 (cos.f64 re) im) 1/3) |
(cbrt.f64 (*.f64 im (cos.f64 re))) |
(pow.f64 (*.f64 (cos.f64 re) im) 1/3) |
(cbrt.f64 (*.f64 im (cos.f64 re))) |
(pow.f64 (*.f64 (cos.f64 re) im) 1/3) |
(cbrt.f64 (*.f64 im (cos.f64 re))) |
(pow.f64 (*.f64 (cos.f64 re) im) 1/3) |
(cbrt.f64 (*.f64 im (cos.f64 re))) |
(pow.f64 (*.f64 (cos.f64 re) im) 1/3) |
(cbrt.f64 (*.f64 im (cos.f64 re))) |
(pow.f64 (*.f64 (cos.f64 re) im) 1/3) |
(cbrt.f64 (*.f64 im (cos.f64 re))) |
(pow.f64 (*.f64 (cos.f64 re) im) 1/3) |
(cbrt.f64 (*.f64 im (cos.f64 re))) |
9 alts after pruning (8 fresh and 1 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 114 | 6 | 120 |
| Fresh | 1 | 2 | 3 |
| Picked | 1 | 0 | 1 |
| Done | 0 | 1 | 1 |
| Total | 116 | 9 | 125 |
| Status | Error | Program |
|---|---|---|
| 59.3b | (*.f64 (*.f64 1/2 (pow.f64 (sqrt.f64 (cos.f64 re)) 2)) (-.f64 (exp.f64 (-.f64 0 im)) (exp.f64 im))) | |
| 3.4b | (neg.f64 (+.f64 (pow.f64 (pow.f64 (cbrt.f64 (cbrt.f64 (*.f64 (cos.f64 re) im))) 3) 3) (+.f64 (*.f64 1/6 (*.f64 (cos.f64 re) (pow.f64 im 3))) (*.f64 1/120 (*.f64 (cos.f64 re) (pow.f64 im 5)))))) | |
| ▶ | 1.3b | (neg.f64 (+.f64 (*.f64 (*.f64 im (pow.f64 (cbrt.f64 (cos.f64 re)) 2)) (cbrt.f64 (cos.f64 re))) (+.f64 (*.f64 1/6 (*.f64 (cos.f64 re) (pow.f64 im 3))) (*.f64 1/120 (*.f64 (cos.f64 re) (pow.f64 im 5)))))) |
| 30.3b | (neg.f64 (+.f64 (*.f64 (sqrt.f64 im) (*.f64 (sqrt.f64 im) (cos.f64 re))) (+.f64 (*.f64 1/6 (*.f64 (cos.f64 re) (pow.f64 im 3))) (*.f64 1/120 (*.f64 (cos.f64 re) (pow.f64 im 5)))))) | |
| 2.2b | (neg.f64 (+.f64 (*.f64 (cbrt.f64 (cos.f64 re)) (*.f64 (cbrt.f64 im) (pow.f64 (cbrt.f64 (*.f64 (cos.f64 re) im)) 2))) (+.f64 (*.f64 1/6 (*.f64 (cos.f64 re) (pow.f64 im 3))) (*.f64 1/120 (*.f64 (cos.f64 re) (pow.f64 im 5)))))) | |
| 2.2b | (neg.f64 (+.f64 (*.f64 (cbrt.f64 (*.f64 (cos.f64 re) im)) (pow.f64 (cbrt.f64 (*.f64 (cos.f64 re) im)) 2)) (+.f64 (*.f64 1/6 (*.f64 (cos.f64 re) (pow.f64 im 3))) (*.f64 1/120 (*.f64 (cos.f64 re) (pow.f64 im 5)))))) | |
| ✓ | 0.7b | (neg.f64 (+.f64 (*.f64 (cos.f64 re) im) (+.f64 (*.f64 1/6 (*.f64 (cos.f64 re) (pow.f64 im 3))) (*.f64 1/120 (*.f64 (cos.f64 re) (pow.f64 im 5)))))) |
| 31.5b | (neg.f64 (+.f64 (pow.f64 (sqrt.f64 (*.f64 (cos.f64 re) im)) 2) (+.f64 (*.f64 1/6 (*.f64 (cos.f64 re) (pow.f64 im 3))) (*.f64 1/120 (*.f64 (cos.f64 re) (pow.f64 im 5)))))) | |
| 2.3b | (neg.f64 (+.f64 (pow.f64 (*.f64 (cbrt.f64 (cos.f64 re)) (cbrt.f64 im)) 3) (+.f64 (*.f64 1/6 (*.f64 (cos.f64 re) (pow.f64 im 3))) (*.f64 1/120 (*.f64 (cos.f64 re) (pow.f64 im 5)))))) |
Compiled 4267 to 2674 computations (37.3% saved)
Found 4 expressions with local error:
| New | Error | Program |
|---|---|---|
| ✓ | 0.1b | (*.f64 (*.f64 im (pow.f64 (cbrt.f64 (cos.f64 re)) 2)) (cbrt.f64 (cos.f64 re))) |
| 0.1b | (*.f64 1/6 (*.f64 (cos.f64 re) (pow.f64 im 3))) | |
| ✓ | 0.2b | (pow.f64 (cbrt.f64 (cos.f64 re)) 2) |
| ✓ | 0.3b | (cbrt.f64 (cos.f64 re)) |
12 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 2.0ms | re | @ | inf | (cbrt.f64 (cos.f64 re)) |
| 1.0ms | re | @ | -inf | (cbrt.f64 (cos.f64 re)) |
| 1.0ms | re | @ | 0 | (pow.f64 (cbrt.f64 (cos.f64 re)) 2) |
| 1.0ms | re | @ | 0 | (cbrt.f64 (cos.f64 re)) |
| 1.0ms | re | @ | inf | (pow.f64 (cbrt.f64 (cos.f64 re)) 2) |
| 1× | batch-egg-rewrite |
| 766× | pow1_binary64 |
| 705× | log1p-expm1-u_binary64 |
| 705× | expm1-log1p-u_binary64 |
| 86× | add-sqr-sqrt_binary64 |
| 83× | *-un-lft-identity_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 9 | 19 |
| 1 | 181 | 19 |
| 2 | 2011 | 19 |
| 1× | node limit |
| Inputs |
|---|
(cbrt.f64 (cos.f64 re)) |
(pow.f64 (cbrt.f64 (cos.f64 re)) 2) |
(*.f64 (*.f64 im (pow.f64 (cbrt.f64 (cos.f64 re)) 2)) (cbrt.f64 (cos.f64 re))) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (cbrt.f64 (cos.f64 re)))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (cos.f64 re)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (cbrt.f64 (cos.f64 re)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (cbrt.f64 (cos.f64 re))) 2) (cbrt.f64 (cbrt.f64 (cos.f64 re))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (cbrt.f64 (cos.f64 re))) (pow.f64 (cbrt.f64 (cbrt.f64 (cos.f64 re))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cos.f64 re) 1/6) (pow.f64 (cos.f64 re) 1/6))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (cbrt.f64 (pow.f64 (cbrt.f64 (cos.f64 re)) 4))) (sqrt.f64 (pow.f64 (cbrt.f64 (cbrt.f64 (cos.f64 re))) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 1 1/3) (cbrt.f64 (cos.f64 re)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (sqrt.f64 (cos.f64 re)) 1/3) (pow.f64 (sqrt.f64 (cos.f64 re)) 1/3))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cos.f64 re) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (cos.f64 re)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (cbrt.f64 (cos.f64 re)) 2) 1/2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (cbrt.f64 (cos.f64 re))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (cos.f64 re) 1/6) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (cbrt.f64 (cos.f64 re)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x fabs.f64 (cbrt.f64 (cos.f64 re)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (cbrt.f64 (cos.f64 re))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (cbrt.f64 (cos.f64 re)))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (cbrt.f64 (cos.f64 re))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (cos.f64 re)) 1/3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (cbrt.f64 (cos.f64 re))) 1))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (cbrt.f64 (cos.f64 re))))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (cbrt.f64 (cos.f64 re)))))))) |
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (pow.f64 (cbrt.f64 (cos.f64 re)) 2))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (cos.f64 re)) (cbrt.f64 (cos.f64 re)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (cos.f64 re)) 2) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (pow.f64 (cbrt.f64 (cos.f64 re)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (cbrt.f64 (cos.f64 re))) 2) (cbrt.f64 (pow.f64 (cbrt.f64 (cos.f64 re)) 4)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (cbrt.f64 (cos.f64 re))) 2) (*.f64 (cbrt.f64 (cbrt.f64 (cos.f64 re))) (cbrt.f64 (cos.f64 re))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (pow.f64 (cbrt.f64 (cos.f64 re)) 4)) (pow.f64 (cbrt.f64 (cbrt.f64 (cos.f64 re))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (cos.f64 re)) (pow.f64 (cos.f64 re) 1/6))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cos.f64 re) 1/6) (*.f64 (pow.f64 (cos.f64 re) 1/6) (cbrt.f64 (cos.f64 re))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (cbrt.f64 (cos.f64 re)) (pow.f64 (cbrt.f64 (cbrt.f64 (cos.f64 re))) 2)) (cbrt.f64 (cbrt.f64 (cos.f64 re))))))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (cbrt.f64 (cos.f64 re)) 4))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (pow.f64 (cbrt.f64 (cos.f64 re)) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (pow.f64 (cbrt.f64 (cos.f64 re)) 2))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (cos.f64 re) 2))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 2 (log.f64 (cbrt.f64 (cos.f64 re)))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 2 (log.f64 (cbrt.f64 (cos.f64 re)))) 1))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (pow.f64 (cbrt.f64 (cos.f64 re)) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (pow.f64 (cbrt.f64 (cos.f64 re)) 2))))))) |
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (*.f64 (cos.f64 re) im))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 (cos.f64 re) im) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 (cos.f64 re) im) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (*.f64 (cos.f64 re) im)) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (*.f64 (cos.f64 re) im)) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (*.f64 (cos.f64 re) im) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (pow.f64 (exp.f64 im) (cos.f64 re)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (*.f64 (cos.f64 re) im))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (*.f64 (cos.f64 re) im) 3))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (*.f64 (cos.f64 re) (*.f64 (pow.f64 (*.f64 (cos.f64 re) im) 2) im)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (*.f64 (pow.f64 im 3) (pow.f64 (cos.f64 re) 3)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (*.f64 (cos.f64 re) im)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (*.f64 (cos.f64 re) im)) 1))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 (cos.f64 re) im)))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 (cos.f64 re) im))))))) |
| 1× | egg-herbie |
| 663× | cancel-sign-sub-inv_binary64 |
| 422× | fma-neg_binary64 |
| 403× | sub-neg_binary64 |
| 260× | *-commutative_binary64 |
| 211× | distribute-rgt-neg-in_binary64 |
Useful iterations: 3 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 55 | 398 |
| 1 | 154 | 397 |
| 2 | 432 | 385 |
| 3 | 1637 | 383 |
| 4 | 4680 | 383 |
| 1× | node limit |
| Inputs |
|---|
1 |
(-.f64 1 (*.f64 1/6 (pow.f64 re 2))) |
(-.f64 1 (+.f64 (*.f64 1/6 (pow.f64 re 2)) (*.f64 1/72 (pow.f64 re 4)))) |
(-.f64 1 (+.f64 (*.f64 1/6 (pow.f64 re 2)) (+.f64 (*.f64 1/72 (pow.f64 re 4)) (*.f64 23/6480 (pow.f64 re 6))))) |
(pow.f64 (cos.f64 re) 1/3) |
(pow.f64 (cos.f64 re) 1/3) |
(pow.f64 (cos.f64 re) 1/3) |
(pow.f64 (cos.f64 re) 1/3) |
(pow.f64 (cos.f64 re) 1/3) |
(pow.f64 (cos.f64 re) 1/3) |
(pow.f64 (cos.f64 re) 1/3) |
(pow.f64 (cos.f64 re) 1/3) |
1 |
(-.f64 1 (*.f64 1/3 (pow.f64 re 2))) |
(-.f64 1 (+.f64 (*.f64 1/3 (pow.f64 re 2)) (*.f64 1/405 (pow.f64 re 6)))) |
(-.f64 1 (+.f64 (*.f64 1/3 (pow.f64 re 2)) (+.f64 (*.f64 1/405 (pow.f64 re 6)) (*.f64 1/1701 (pow.f64 re 8))))) |
(pow.f64 (pow.f64 (cos.f64 re) 2) 1/3) |
(pow.f64 (pow.f64 (cos.f64 re) 2) 1/3) |
(pow.f64 (pow.f64 (cos.f64 re) 2) 1/3) |
(pow.f64 (pow.f64 (cos.f64 re) 2) 1/3) |
(pow.f64 (pow.f64 (cos.f64 re) 2) 1/3) |
(pow.f64 (pow.f64 (cos.f64 re) 2) 1/3) |
(pow.f64 (pow.f64 (cos.f64 re) 2) 1/3) |
(pow.f64 (pow.f64 (cos.f64 re) 2) 1/3) |
(*.f64 (cos.f64 re) im) |
(*.f64 (cos.f64 re) im) |
(*.f64 (cos.f64 re) im) |
(*.f64 (cos.f64 re) im) |
(*.f64 (cos.f64 re) im) |
(*.f64 (cos.f64 re) im) |
(*.f64 (cos.f64 re) im) |
(*.f64 (cos.f64 re) im) |
(*.f64 (cos.f64 re) im) |
(*.f64 (cos.f64 re) im) |
(*.f64 (cos.f64 re) im) |
(*.f64 (cos.f64 re) im) |
im |
(-.f64 im (*.f64 1/2 (*.f64 (pow.f64 re 2) im))) |
(-.f64 (+.f64 (*.f64 1/24 (*.f64 (pow.f64 re 4) im)) im) (*.f64 1/2 (*.f64 (pow.f64 re 2) im))) |
(-.f64 (+.f64 (*.f64 1/24 (*.f64 (pow.f64 re 4) im)) im) (+.f64 (*.f64 1/2 (*.f64 (pow.f64 re 2) im)) (*.f64 1/720 (*.f64 (pow.f64 re 6) im)))) |
(*.f64 (cos.f64 re) im) |
(*.f64 (cos.f64 re) im) |
(*.f64 (cos.f64 re) im) |
(*.f64 (cos.f64 re) im) |
(*.f64 (cos.f64 re) im) |
(*.f64 (cos.f64 re) im) |
(*.f64 (cos.f64 re) im) |
(*.f64 (cos.f64 re) im) |
| Outputs |
|---|
1 |
(-.f64 1 (*.f64 1/6 (pow.f64 re 2))) |
(+.f64 1 (*.f64 -1/6 (*.f64 re re))) |
(+.f64 1 (*.f64 (*.f64 re re) -1/6)) |
(fma.f64 (*.f64 re re) -1/6 1) |
(-.f64 1 (+.f64 (*.f64 1/6 (pow.f64 re 2)) (*.f64 1/72 (pow.f64 re 4)))) |
(-.f64 1 (fma.f64 1/6 (*.f64 re re) (*.f64 1/72 (pow.f64 re 4)))) |
(+.f64 1 (fma.f64 re (*.f64 re -1/6) (*.f64 (pow.f64 re 4) -1/72))) |
(-.f64 1 (+.f64 (*.f64 1/6 (pow.f64 re 2)) (+.f64 (*.f64 1/72 (pow.f64 re 4)) (*.f64 23/6480 (pow.f64 re 6))))) |
(-.f64 1 (fma.f64 1/6 (*.f64 re re) (fma.f64 1/72 (pow.f64 re 4) (*.f64 23/6480 (pow.f64 re 6))))) |
(-.f64 1 (fma.f64 1/6 (*.f64 re re) (fma.f64 23/6480 (pow.f64 re 6) (*.f64 1/72 (pow.f64 re 4))))) |
(-.f64 (fma.f64 (*.f64 re re) -1/6 1) (fma.f64 1/72 (pow.f64 re 4) (*.f64 23/6480 (pow.f64 re 6)))) |
(pow.f64 (cos.f64 re) 1/3) |
(cbrt.f64 (cos.f64 re)) |
(pow.f64 (cos.f64 re) 1/3) |
(cbrt.f64 (cos.f64 re)) |
(pow.f64 (cos.f64 re) 1/3) |
(cbrt.f64 (cos.f64 re)) |
(pow.f64 (cos.f64 re) 1/3) |
(cbrt.f64 (cos.f64 re)) |
(pow.f64 (cos.f64 re) 1/3) |
(cbrt.f64 (cos.f64 re)) |
(pow.f64 (cos.f64 re) 1/3) |
(cbrt.f64 (cos.f64 re)) |
(pow.f64 (cos.f64 re) 1/3) |
(cbrt.f64 (cos.f64 re)) |
(pow.f64 (cos.f64 re) 1/3) |
(cbrt.f64 (cos.f64 re)) |
1 |
(-.f64 1 (*.f64 1/3 (pow.f64 re 2))) |
(+.f64 1 (*.f64 -1/3 (*.f64 re re))) |
(-.f64 1 (*.f64 (*.f64 re re) 1/3)) |
(fma.f64 (*.f64 re re) -1/3 1) |
(fma.f64 (*.f64 re -1/3) re 1) |
(-.f64 1 (+.f64 (*.f64 1/3 (pow.f64 re 2)) (*.f64 1/405 (pow.f64 re 6)))) |
(-.f64 1 (fma.f64 1/3 (*.f64 re re) (*.f64 (pow.f64 re 6) 1/405))) |
(-.f64 1 (fma.f64 (*.f64 re re) 1/3 (*.f64 (pow.f64 re 6) 1/405))) |
(-.f64 1 (fma.f64 re (*.f64 re 1/3) (*.f64 (pow.f64 re 6) 1/405))) |
(+.f64 1 (fma.f64 (pow.f64 re 6) -1/405 (*.f64 re (*.f64 re -1/3)))) |
(-.f64 1 (+.f64 (*.f64 1/3 (pow.f64 re 2)) (+.f64 (*.f64 1/405 (pow.f64 re 6)) (*.f64 1/1701 (pow.f64 re 8))))) |
(-.f64 1 (fma.f64 1/3 (*.f64 re re) (fma.f64 1/405 (pow.f64 re 6) (*.f64 1/1701 (pow.f64 re 8))))) |
(-.f64 1 (fma.f64 (*.f64 re re) 1/3 (fma.f64 1/1701 (pow.f64 re 8) (*.f64 (pow.f64 re 6) 1/405)))) |
(-.f64 1 (fma.f64 re (*.f64 re 1/3) (fma.f64 (pow.f64 re 6) 1/405 (*.f64 1/1701 (pow.f64 re 8))))) |
(+.f64 1 (fma.f64 re (*.f64 re -1/3) (fma.f64 (pow.f64 re 6) -1/405 (*.f64 (pow.f64 re 8) -1/1701)))) |
(pow.f64 (pow.f64 (cos.f64 re) 2) 1/3) |
(cbrt.f64 (pow.f64 (cos.f64 re) 2)) |
(pow.f64 (pow.f64 (cos.f64 re) 2) 1/3) |
(cbrt.f64 (pow.f64 (cos.f64 re) 2)) |
(pow.f64 (pow.f64 (cos.f64 re) 2) 1/3) |
(cbrt.f64 (pow.f64 (cos.f64 re) 2)) |
(pow.f64 (pow.f64 (cos.f64 re) 2) 1/3) |
(cbrt.f64 (pow.f64 (cos.f64 re) 2)) |
(pow.f64 (pow.f64 (cos.f64 re) 2) 1/3) |
(cbrt.f64 (pow.f64 (cos.f64 re) 2)) |
(pow.f64 (pow.f64 (cos.f64 re) 2) 1/3) |
(cbrt.f64 (pow.f64 (cos.f64 re) 2)) |
(pow.f64 (pow.f64 (cos.f64 re) 2) 1/3) |
(cbrt.f64 (pow.f64 (cos.f64 re) 2)) |
(pow.f64 (pow.f64 (cos.f64 re) 2) 1/3) |
(cbrt.f64 (pow.f64 (cos.f64 re) 2)) |
(*.f64 (cos.f64 re) im) |
(*.f64 (cos.f64 re) im) |
(*.f64 (cos.f64 re) im) |
(*.f64 (cos.f64 re) im) |
(*.f64 (cos.f64 re) im) |
(*.f64 (cos.f64 re) im) |
(*.f64 (cos.f64 re) im) |
(*.f64 (cos.f64 re) im) |
(*.f64 (cos.f64 re) im) |
(*.f64 (cos.f64 re) im) |
(*.f64 (cos.f64 re) im) |
(*.f64 (cos.f64 re) im) |
im |
(-.f64 im (*.f64 1/2 (*.f64 (pow.f64 re 2) im))) |
(+.f64 im (*.f64 -1/2 (*.f64 (*.f64 re re) im))) |
(-.f64 im (*.f64 (*.f64 re re) (*.f64 im 1/2))) |
(fma.f64 (*.f64 re (*.f64 re im)) -1/2 im) |
(-.f64 (+.f64 (*.f64 1/24 (*.f64 (pow.f64 re 4) im)) im) (*.f64 1/2 (*.f64 (pow.f64 re 2) im))) |
(+.f64 (fma.f64 1/24 (*.f64 (pow.f64 re 4) im) im) (*.f64 -1/2 (*.f64 (*.f64 re re) im))) |
(fma.f64 (*.f64 (pow.f64 re 4) 1/24) im (-.f64 im (*.f64 (*.f64 re re) (*.f64 im 1/2)))) |
(*.f64 im (-.f64 (fma.f64 (pow.f64 re 4) 1/24 1) (*.f64 re (*.f64 re 1/2)))) |
(*.f64 im (+.f64 (*.f64 re (*.f64 re -1/2)) (fma.f64 (pow.f64 re 4) 1/24 1))) |
(-.f64 (+.f64 (*.f64 1/24 (*.f64 (pow.f64 re 4) im)) im) (+.f64 (*.f64 1/2 (*.f64 (pow.f64 re 2) im)) (*.f64 1/720 (*.f64 (pow.f64 re 6) im)))) |
(-.f64 (fma.f64 1/24 (*.f64 (pow.f64 re 4) im) im) (fma.f64 1/2 (*.f64 (*.f64 re re) im) (*.f64 1/720 (*.f64 (pow.f64 re 6) im)))) |
(-.f64 (fma.f64 1/24 (*.f64 (pow.f64 re 4) im) im) (*.f64 im (+.f64 (*.f64 (pow.f64 re 6) 1/720) (*.f64 (*.f64 re re) 1/2)))) |
(+.f64 im (*.f64 im (-.f64 (*.f64 (pow.f64 re 4) 1/24) (fma.f64 (pow.f64 re 6) 1/720 (*.f64 re (*.f64 re 1/2)))))) |
(*.f64 im (+.f64 (fma.f64 (*.f64 re -1/2) re (*.f64 (pow.f64 re 6) -1/720)) (fma.f64 (pow.f64 re 4) 1/24 1))) |
(*.f64 (cos.f64 re) im) |
(*.f64 (cos.f64 re) im) |
(*.f64 (cos.f64 re) im) |
(*.f64 (cos.f64 re) im) |
(*.f64 (cos.f64 re) im) |
(*.f64 (cos.f64 re) im) |
(*.f64 (cos.f64 re) im) |
(*.f64 (cos.f64 re) im) |
10 alts after pruning (9 fresh and 1 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 129 | 4 | 133 |
| Fresh | 2 | 5 | 7 |
| Picked | 1 | 0 | 1 |
| Done | 0 | 1 | 1 |
| Total | 132 | 10 | 142 |
| Status | Error | Program |
|---|---|---|
| 30.3b | (neg.f64 (+.f64 (*.f64 (sqrt.f64 im) (*.f64 (sqrt.f64 im) (cos.f64 re))) (+.f64 (*.f64 1/6 (*.f64 (cos.f64 re) (pow.f64 im 3))) (*.f64 1/120 (*.f64 (cos.f64 re) (pow.f64 im 5)))))) | |
| 1.0b | (neg.f64 (+.f64 (*.f64 (*.f64 im (pow.f64 (pow.f64 (cos.f64 re) 2) 1/3)) (cbrt.f64 (cos.f64 re))) (+.f64 (*.f64 1/6 (*.f64 (cos.f64 re) (pow.f64 im 3))) (*.f64 1/120 (*.f64 (cos.f64 re) (pow.f64 im 5)))))) | |
| 31.5b | (neg.f64 (+.f64 (pow.f64 (sqrt.f64 (*.f64 (cos.f64 re) im)) 2) (+.f64 (*.f64 1/6 (*.f64 (cos.f64 re) (pow.f64 im 3))) (*.f64 1/120 (*.f64 (cos.f64 re) (pow.f64 im 5)))))) | |
| 1.3b | (neg.f64 (+.f64 (*.f64 (*.f64 im (pow.f64 (cbrt.f64 (cos.f64 re)) 2)) (log1p.f64 (expm1.f64 (cbrt.f64 (cos.f64 re))))) (+.f64 (*.f64 1/6 (*.f64 (cos.f64 re) (pow.f64 im 3))) (*.f64 1/120 (*.f64 (cos.f64 re) (pow.f64 im 5)))))) | |
| 1.4b | (neg.f64 (+.f64 (*.f64 (*.f64 im (pow.f64 (cbrt.f64 (cos.f64 re)) 2)) (*.f64 (pow.f64 (cbrt.f64 (cbrt.f64 (cos.f64 re))) 2) (cbrt.f64 (cbrt.f64 (cos.f64 re))))) (+.f64 (*.f64 1/6 (*.f64 (cos.f64 re) (pow.f64 im 3))) (*.f64 1/120 (*.f64 (cos.f64 re) (pow.f64 im 5)))))) | |
| 1.1b | (neg.f64 (+.f64 (*.f64 (*.f64 im (cbrt.f64 (pow.f64 (cos.f64 re) 2))) (cbrt.f64 (cos.f64 re))) (+.f64 (*.f64 1/6 (*.f64 (cos.f64 re) (pow.f64 im 3))) (*.f64 1/120 (*.f64 (cos.f64 re) (pow.f64 im 5)))))) | |
| 2.2b | (neg.f64 (+.f64 (*.f64 (cbrt.f64 (cos.f64 re)) (*.f64 (cbrt.f64 im) (pow.f64 (cbrt.f64 (*.f64 (cos.f64 re) im)) 2))) (+.f64 (*.f64 1/6 (*.f64 (cos.f64 re) (pow.f64 im 3))) (*.f64 1/120 (*.f64 (cos.f64 re) (pow.f64 im 5)))))) | |
| 2.2b | (neg.f64 (+.f64 (*.f64 (cbrt.f64 (*.f64 (cos.f64 re) im)) (pow.f64 (cbrt.f64 (*.f64 (cos.f64 re) im)) 2)) (+.f64 (*.f64 1/6 (*.f64 (cos.f64 re) (pow.f64 im 3))) (*.f64 1/120 (*.f64 (cos.f64 re) (pow.f64 im 5)))))) | |
| ✓ | 0.7b | (neg.f64 (+.f64 (*.f64 (cos.f64 re) im) (+.f64 (*.f64 1/6 (*.f64 (cos.f64 re) (pow.f64 im 3))) (*.f64 1/120 (*.f64 (cos.f64 re) (pow.f64 im 5)))))) |
| 59.3b | (*.f64 (*.f64 1/2 (pow.f64 (sqrt.f64 (cos.f64 re)) 2)) (-.f64 (exp.f64 (-.f64 0 im)) (exp.f64 im))) |
Compiled 4812 to 2964 computations (38.4% saved)
Total 0.5b remaining (69.5%)
Threshold costs 0.5b (69.5%)
Compiled 1372 to 847 computations (38.3% saved)
| 1× | egg-herbie |
| 16× | *-commutative_binary64 |
| 13× | +-commutative_binary64 |
| 11× | sub-neg_binary64 |
| 11× | neg-sub0_binary64 |
| 11× | neg-mul-1_binary64 |
Useful iterations: 2 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 18 | 36 |
| 1 | 32 | 36 |
| 2 | 50 | 34 |
| 3 | 80 | 34 |
| 4 | 104 | 34 |
| 5 | 116 | 34 |
| 6 | 122 | 34 |
| 7 | 124 | 34 |
| 1× | saturated |
| Inputs |
|---|
(neg.f64 (+.f64 (*.f64 (cos.f64 re) im) (+.f64 (*.f64 1/6 (*.f64 (cos.f64 re) (pow.f64 im 3))) (*.f64 1/120 (*.f64 (cos.f64 re) (pow.f64 im 5)))))) |
| Outputs |
|---|
(neg.f64 (+.f64 (*.f64 (cos.f64 re) im) (+.f64 (*.f64 1/6 (*.f64 (cos.f64 re) (pow.f64 im 3))) (*.f64 1/120 (*.f64 (cos.f64 re) (pow.f64 im 5)))))) |
(-.f64 (*.f64 (cos.f64 re) (neg.f64 im)) (+.f64 (*.f64 1/6 (*.f64 (cos.f64 re) (pow.f64 im 3))) (*.f64 1/120 (*.f64 (cos.f64 re) (pow.f64 im 5))))) |
(-.f64 (+.f64 (*.f64 (*.f64 (cos.f64 re) (pow.f64 im 3)) -1/6) (*.f64 (*.f64 (cos.f64 re) (pow.f64 im 5)) -1/120)) (*.f64 (cos.f64 re) im)) |
| 1× | fuel |
Compiled 355 to 240 computations (32.4% saved)
Loading profile data...