Time bar (total: 10.6s)
| 1× | search |
| Probability | Valid | Unknown | Precondition | Infinite | Domain | Can't | Iter |
|---|---|---|---|---|---|---|---|
| 0% | 0% | 100% | 0% | 0% | 0% | 0% | 0 |
| 0% | 0% | 100% | 0% | 0% | 0% | 0% | 1 |
| 0% | 0% | 100% | 0% | 0% | 0% | 0% | 2 |
| 50% | 50% | 50% | 0% | 0% | 0% | 0% | 3 |
| 66.7% | 50% | 25% | 0% | 25% | 0% | 0% | 4 |
| 80% | 50% | 12.5% | 0% | 37.5% | 0% | 0% | 5 |
| 88.9% | 50% | 6.2% | 0% | 43.7% | 0% | 0% | 6 |
| 94.1% | 50% | 3.1% | 0% | 46.9% | 0% | 0% | 7 |
| 97% | 50% | 1.6% | 0% | 48.4% | 0% | 0% | 8 |
| 98.5% | 50% | 0.8% | 0% | 49.2% | 0% | 0% | 9 |
| 99.2% | 50.4% | 0.4% | 0% | 49.2% | 0% | 0% | 10 |
| 99.6% | 50.4% | 0.2% | 0% | 49.4% | 0% | 0% | 11 |
| 99.8% | 50.4% | 0.1% | 0% | 49.5% | 0% | 0% | 12 |
Compiled 10 to 8 computations (20% saved)
| 5.1s | 4299× | body | 2048 | valid |
| 1.4s | 2009× | body | 1024 | valid |
| 334.0ms | 1011× | body | 512 | valid |
| 283.0ms | 937× | body | 256 | valid |
| 1.0ms | 9× | body | 256 | infinite |
| 2× | egg-herbie |
| 801× | associate-/l*_binary64 |
| 624× | fma-def_binary64 |
| 581× | fma-neg_binary64 |
| 548× | unswap-sqr_binary64 |
| 536× | div-sub_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 8 | 13 |
| 1 | 20 | 13 |
| 2 | 36 | 13 |
| 3 | 60 | 13 |
| 4 | 122 | 13 |
| 5 | 273 | 13 |
| 6 | 709 | 13 |
| 7 | 1729 | 13 |
| 8 | 3145 | 13 |
| 9 | 7605 | 13 |
| 0 | 1 | 1 |
| 1× | saturated |
| 1× | node limit |
| Inputs |
|---|
0 |
| Outputs |
|---|
0 |
| Inputs |
|---|
(+.f64 (-.f64 (exp.f64 x) 2) (exp.f64 (neg.f64 x))) |
| Outputs |
|---|
(+.f64 (-.f64 (exp.f64 x) 2) (exp.f64 (neg.f64 x))) |
(+.f64 (+.f64 (exp.f64 x) -2) (exp.f64 (neg.f64 x))) |
(+.f64 (exp.f64 x) (+.f64 -2 (exp.f64 (neg.f64 x)))) |
(+.f64 (exp.f64 x) (+.f64 (exp.f64 (neg.f64 x)) -2)) |
(+.f64 -2 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))) |
Compiled 10 to 8 computations (20% saved)
| 1× | egg-herbie |
| 801× | associate-/l*_binary64 |
| 624× | fma-def_binary64 |
| 581× | fma-neg_binary64 |
| 548× | unswap-sqr_binary64 |
| 536× | div-sub_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 8 | 13 |
| 1 | 20 | 13 |
| 2 | 36 | 13 |
| 3 | 60 | 13 |
| 4 | 122 | 13 |
| 5 | 273 | 13 |
| 6 | 709 | 13 |
| 7 | 1729 | 13 |
| 8 | 3145 | 13 |
| 9 | 7605 | 13 |
| 1× | node limit |
| Inputs |
|---|
(+.f64 (-.f64 (exp.f64 x) 2) (exp.f64 (neg.f64 x))) |
| Outputs |
|---|
(+.f64 (-.f64 (exp.f64 x) 2) (exp.f64 (neg.f64 x))) |
(+.f64 (+.f64 (exp.f64 x) -2) (exp.f64 (neg.f64 x))) |
(+.f64 (exp.f64 x) (+.f64 -2 (exp.f64 (neg.f64 x)))) |
(+.f64 (exp.f64 x) (+.f64 (exp.f64 (neg.f64 x)) -2)) |
(+.f64 -2 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))) |
Compiled 17 to 10 computations (41.2% saved)
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 |
|---|---|---|
| ▶ | 26.6b | (+.f64 -2 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))) |
| ▶ | 26.6b | (+.f64 (-.f64 (exp.f64 x) 2) (exp.f64 (neg.f64 x))) |
Compiled 18 to 14 computations (22.2% saved)
Found 2 expressions with local error:
| New | Error | Program |
|---|---|---|
| ✓ | 0.0b | (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) |
| ✓ | 3.7b | (+.f64 -2 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))) |
Compiled 24 to 8 computations (66.7% saved)
6 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 1.0ms | x | @ | 0 | (+.f64 -2 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))) |
| 1.0ms | x | @ | inf | (+.f64 -2 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))) |
| 0.0ms | x | @ | -inf | (+.f64 -2 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))) |
| 0.0ms | x | @ | 0 | (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) |
| 0.0ms | x | @ | -inf | (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) |
| 2× | egg-rewrite-iter-limit |
| 2× | egg-rewrite |
| 1× | batch-egg-rewrite |
| 96× | add-sqr-sqrt_binary64 |
| 96× | add-sqr-sqrt_binary64 |
| 92× | add-log-exp_binary64 |
| 92× | add-log-exp_binary64 |
| 90× | *-un-lft-identity_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 8 | 18 |
| 1 | 182 | 18 |
| 2 | 3153 | 18 |
| 0 | 8 | 9 |
| 1 | 182 | 9 |
| 2 | 3153 | 9 |
| 0 | 8 | 9 |
| 0 | 6 | 6 |
| 1 | 129 | 6 |
| 2 | 2150 | 6 |
| 0 | 6 | 6 |
| 1× | iter limit |
| 1× | unsound |
| 1× | iter limit |
| 1× | unsound |
| 1× | unsound |
| Inputs |
|---|
(+.f64 -2 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))) |
(+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (+.f64 -2 (*.f64 2 (cosh.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (cbrt.f64 (+.f64 -2 (*.f64 2 (cosh.f64 x)))) (cbrt.f64 (+.f64 -2 (*.f64 2 (cosh.f64 x))))) (cbrt.f64 (+.f64 -2 (*.f64 2 (cosh.f64 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (+.f64 -2 (*.f64 2 (cosh.f64 x)))) (sqrt.f64 (+.f64 -2 (*.f64 2 (cosh.f64 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 -8 (pow.f64 (*.f64 2 (cosh.f64 x)) 3)) (+.f64 4 (-.f64 (*.f64 (*.f64 2 (cosh.f64 x)) (*.f64 2 (cosh.f64 x))) (*.f64 -2 (*.f64 2 (cosh.f64 x))))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 4 (*.f64 (*.f64 2 (cosh.f64 x)) (*.f64 2 (cosh.f64 x)))) (-.f64 -2 (*.f64 2 (cosh.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (+.f64 -2 (*.f64 2 (cosh.f64 x))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (+.f64 -2 (*.f64 2 (cosh.f64 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (*.f64 (*.f64 (+.f64 -2 (*.f64 2 (cosh.f64 x))) (+.f64 -2 (*.f64 2 (cosh.f64 x)))) (+.f64 -2 (*.f64 2 (cosh.f64 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (+.f64 -2 (*.f64 2 (cosh.f64 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (+.f64 -2 (*.f64 2 (cosh.f64 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (+.f64 -2 (*.f64 2 (cosh.f64 x))))))))) |
((#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (*.f64 2 (cosh.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (cbrt.f64 (*.f64 2 (cosh.f64 x))) (cbrt.f64 (*.f64 2 (cosh.f64 x)))) (cbrt.f64 (*.f64 2 (cosh.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (*.f64 2 (cosh.f64 x))) (sqrt.f64 (*.f64 2 (cosh.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 2 (cosh.f64 x))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 (exp.f64 x) 3) (pow.f64 (exp.f64 (neg.f64 x)) 3)) (+.f64 (*.f64 (exp.f64 x) (exp.f64 x)) (-.f64 (*.f64 (exp.f64 (neg.f64 x)) (exp.f64 (neg.f64 x))) (*.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (*.f64 (exp.f64 x) (exp.f64 x)) (*.f64 (exp.f64 (neg.f64 x)) (exp.f64 (neg.f64 x)))) (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 2 (cosh.f64 x)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (*.f64 2 (cosh.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (*.f64 (*.f64 (*.f64 2 (cosh.f64 x)) (*.f64 2 (cosh.f64 x))) (*.f64 2 (cosh.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 2 (cosh.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 2 (cosh.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (*.f64 2 (cosh.f64 x)))))))) |
| 1× | egg-herbie |
| 560× | distribute-rgt-out_binary64 |
| 421× | associate-/l/_binary64 |
| 415× | unswap-sqr_binary64 |
| 410× | fma-def_binary64 |
| 382× | distribute-lft-out_binary64 |
Useful iterations: 2 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 34 | 295 |
| 1 | 85 | 283 |
| 2 | 186 | 279 |
| 3 | 525 | 279 |
| 4 | 2241 | 279 |
| 5 | 4801 | 279 |
| 6 | 5972 | 279 |
| 1× | node limit |
| Inputs |
|---|
(pow.f64 x 2) |
(+.f64 (pow.f64 x 2) (*.f64 1/12 (pow.f64 x 4))) |
(+.f64 (*.f64 1/360 (pow.f64 x 6)) (+.f64 (pow.f64 x 2) (*.f64 1/12 (pow.f64 x 4)))) |
(+.f64 (*.f64 1/360 (pow.f64 x 6)) (+.f64 (pow.f64 x 2) (+.f64 (*.f64 1/12 (pow.f64 x 4)) (*.f64 1/20160 (pow.f64 x 8))))) |
(-.f64 (+.f64 (exp.f64 (neg.f64 x)) (exp.f64 x)) 2) |
(-.f64 (+.f64 (exp.f64 (neg.f64 x)) (exp.f64 x)) 2) |
(-.f64 (+.f64 (exp.f64 (neg.f64 x)) (exp.f64 x)) 2) |
(-.f64 (+.f64 (exp.f64 (neg.f64 x)) (exp.f64 x)) 2) |
(-.f64 (+.f64 (exp.f64 x) (exp.f64 (*.f64 -1 x))) 2) |
(-.f64 (+.f64 (exp.f64 x) (exp.f64 (*.f64 -1 x))) 2) |
(-.f64 (+.f64 (exp.f64 x) (exp.f64 (*.f64 -1 x))) 2) |
(-.f64 (+.f64 (exp.f64 x) (exp.f64 (*.f64 -1 x))) 2) |
2 |
(+.f64 2 (pow.f64 x 2)) |
(+.f64 2 (+.f64 (pow.f64 x 2) (*.f64 1/12 (pow.f64 x 4)))) |
(+.f64 2 (+.f64 (*.f64 1/360 (pow.f64 x 6)) (+.f64 (pow.f64 x 2) (*.f64 1/12 (pow.f64 x 4))))) |
(+.f64 (exp.f64 (neg.f64 x)) (exp.f64 x)) |
(+.f64 (exp.f64 (neg.f64 x)) (exp.f64 x)) |
(+.f64 (exp.f64 (neg.f64 x)) (exp.f64 x)) |
(+.f64 (exp.f64 (neg.f64 x)) (exp.f64 x)) |
(+.f64 (exp.f64 x) (exp.f64 (*.f64 -1 x))) |
(+.f64 (exp.f64 x) (exp.f64 (*.f64 -1 x))) |
(+.f64 (exp.f64 x) (exp.f64 (*.f64 -1 x))) |
(+.f64 (exp.f64 x) (exp.f64 (*.f64 -1 x))) |
| Outputs |
|---|
(pow.f64 x 2) |
(*.f64 x x) |
(+.f64 (pow.f64 x 2) (*.f64 1/12 (pow.f64 x 4))) |
(+.f64 (*.f64 x x) (*.f64 1/12 (pow.f64 x 4))) |
(fma.f64 x x (*.f64 1/12 (pow.f64 x 4))) |
(fma.f64 1/12 (pow.f64 x 4) (*.f64 x x)) |
(+.f64 (*.f64 1/360 (pow.f64 x 6)) (+.f64 (pow.f64 x 2) (*.f64 1/12 (pow.f64 x 4)))) |
(fma.f64 1/360 (pow.f64 x 6) (+.f64 (*.f64 x x) (*.f64 1/12 (pow.f64 x 4)))) |
(fma.f64 1/360 (pow.f64 x 6) (fma.f64 x x (*.f64 1/12 (pow.f64 x 4)))) |
(fma.f64 1/12 (pow.f64 x 4) (fma.f64 1/360 (pow.f64 x 6) (*.f64 x x))) |
(fma.f64 1/360 (pow.f64 x 6) (fma.f64 1/12 (pow.f64 x 4) (*.f64 x x))) |
(fma.f64 x x (fma.f64 1/360 (pow.f64 x 6) (*.f64 1/12 (pow.f64 x 4)))) |
(+.f64 (*.f64 1/360 (pow.f64 x 6)) (+.f64 (pow.f64 x 2) (+.f64 (*.f64 1/12 (pow.f64 x 4)) (*.f64 1/20160 (pow.f64 x 8))))) |
(fma.f64 1/360 (pow.f64 x 6) (+.f64 (*.f64 x x) (fma.f64 1/12 (pow.f64 x 4) (*.f64 1/20160 (pow.f64 x 8))))) |
(fma.f64 1/360 (pow.f64 x 6) (fma.f64 x x (fma.f64 1/12 (pow.f64 x 4) (*.f64 1/20160 (pow.f64 x 8))))) |
(fma.f64 1/360 (pow.f64 x 6) (fma.f64 1/12 (pow.f64 x 4) (fma.f64 x x (*.f64 1/20160 (pow.f64 x 8))))) |
(fma.f64 (pow.f64 x 4) (fma.f64 (pow.f64 x 4) 1/20160 1/12) (fma.f64 1/360 (pow.f64 x 6) (*.f64 x x))) |
(fma.f64 x x (fma.f64 1/12 (pow.f64 x 4) (fma.f64 1/360 (pow.f64 x 6) (*.f64 1/20160 (pow.f64 x 8))))) |
(-.f64 (+.f64 (exp.f64 (neg.f64 x)) (exp.f64 x)) 2) |
(+.f64 (exp.f64 (neg.f64 x)) (-.f64 (exp.f64 x) 2)) |
(+.f64 (exp.f64 (neg.f64 x)) (+.f64 (exp.f64 x) -2)) |
(-.f64 (+.f64 (exp.f64 (neg.f64 x)) (exp.f64 x)) 2) |
(+.f64 (exp.f64 (neg.f64 x)) (-.f64 (exp.f64 x) 2)) |
(+.f64 (exp.f64 (neg.f64 x)) (+.f64 (exp.f64 x) -2)) |
(-.f64 (+.f64 (exp.f64 (neg.f64 x)) (exp.f64 x)) 2) |
(+.f64 (exp.f64 (neg.f64 x)) (-.f64 (exp.f64 x) 2)) |
(+.f64 (exp.f64 (neg.f64 x)) (+.f64 (exp.f64 x) -2)) |
(-.f64 (+.f64 (exp.f64 (neg.f64 x)) (exp.f64 x)) 2) |
(+.f64 (exp.f64 (neg.f64 x)) (-.f64 (exp.f64 x) 2)) |
(+.f64 (exp.f64 (neg.f64 x)) (+.f64 (exp.f64 x) -2)) |
(-.f64 (+.f64 (exp.f64 x) (exp.f64 (*.f64 -1 x))) 2) |
(+.f64 (exp.f64 (neg.f64 x)) (-.f64 (exp.f64 x) 2)) |
(+.f64 (exp.f64 (neg.f64 x)) (+.f64 (exp.f64 x) -2)) |
(-.f64 (+.f64 (exp.f64 x) (exp.f64 (*.f64 -1 x))) 2) |
(+.f64 (exp.f64 (neg.f64 x)) (-.f64 (exp.f64 x) 2)) |
(+.f64 (exp.f64 (neg.f64 x)) (+.f64 (exp.f64 x) -2)) |
(-.f64 (+.f64 (exp.f64 x) (exp.f64 (*.f64 -1 x))) 2) |
(+.f64 (exp.f64 (neg.f64 x)) (-.f64 (exp.f64 x) 2)) |
(+.f64 (exp.f64 (neg.f64 x)) (+.f64 (exp.f64 x) -2)) |
(-.f64 (+.f64 (exp.f64 x) (exp.f64 (*.f64 -1 x))) 2) |
(+.f64 (exp.f64 (neg.f64 x)) (-.f64 (exp.f64 x) 2)) |
(+.f64 (exp.f64 (neg.f64 x)) (+.f64 (exp.f64 x) -2)) |
2 |
(+.f64 2 (pow.f64 x 2)) |
(+.f64 2 (*.f64 x x)) |
(fma.f64 x x 2) |
(+.f64 2 (+.f64 (pow.f64 x 2) (*.f64 1/12 (pow.f64 x 4)))) |
(+.f64 (+.f64 2 (*.f64 x x)) (*.f64 1/12 (pow.f64 x 4))) |
(+.f64 (*.f64 1/12 (pow.f64 x 4)) (fma.f64 x x 2)) |
(fma.f64 1/12 (pow.f64 x 4) (fma.f64 x x 2)) |
(fma.f64 x x (fma.f64 1/12 (pow.f64 x 4) 2)) |
(+.f64 2 (+.f64 (*.f64 1/360 (pow.f64 x 6)) (+.f64 (pow.f64 x 2) (*.f64 1/12 (pow.f64 x 4))))) |
(+.f64 2 (fma.f64 1/360 (pow.f64 x 6) (+.f64 (*.f64 x x) (*.f64 1/12 (pow.f64 x 4))))) |
(+.f64 2 (fma.f64 1/360 (pow.f64 x 6) (fma.f64 x x (*.f64 1/12 (pow.f64 x 4))))) |
(fma.f64 1/360 (pow.f64 x 6) (fma.f64 1/12 (pow.f64 x 4) (fma.f64 x x 2))) |
(fma.f64 x x (fma.f64 1/12 (pow.f64 x 4) (fma.f64 1/360 (pow.f64 x 6) 2))) |
(fma.f64 1/360 (pow.f64 x 6) (fma.f64 x x (fma.f64 1/12 (pow.f64 x 4) 2))) |
(+.f64 (exp.f64 (neg.f64 x)) (exp.f64 x)) |
(+.f64 (exp.f64 (neg.f64 x)) (exp.f64 x)) |
(+.f64 (exp.f64 (neg.f64 x)) (exp.f64 x)) |
(+.f64 (exp.f64 (neg.f64 x)) (exp.f64 x)) |
(+.f64 (exp.f64 x) (exp.f64 (*.f64 -1 x))) |
(+.f64 (exp.f64 (neg.f64 x)) (exp.f64 x)) |
(+.f64 (exp.f64 x) (exp.f64 (*.f64 -1 x))) |
(+.f64 (exp.f64 (neg.f64 x)) (exp.f64 x)) |
(+.f64 (exp.f64 x) (exp.f64 (*.f64 -1 x))) |
(+.f64 (exp.f64 (neg.f64 x)) (exp.f64 x)) |
(+.f64 (exp.f64 x) (exp.f64 (*.f64 -1 x))) |
(+.f64 (exp.f64 (neg.f64 x)) (exp.f64 x)) |
Found 2 expressions with local error:
| New | Error | Program |
|---|---|---|
| ✓ | 0.0b | (-.f64 (exp.f64 x) 2) |
| ✓ | 4.9b | (+.f64 (-.f64 (exp.f64 x) 2) (exp.f64 (neg.f64 x))) |
Compiled 22 to 10 computations (54.5% saved)
6 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 0.0ms | x | @ | 0 | (-.f64 (exp.f64 x) 2) |
| 0.0ms | x | @ | 0 | (+.f64 (-.f64 (exp.f64 x) 2) (exp.f64 (neg.f64 x))) |
| 0.0ms | x | @ | -inf | (+.f64 (-.f64 (exp.f64 x) 2) (exp.f64 (neg.f64 x))) |
| 0.0ms | x | @ | inf | (+.f64 (-.f64 (exp.f64 x) 2) (exp.f64 (neg.f64 x))) |
| 0.0ms | x | @ | inf | (-.f64 (exp.f64 x) 2) |
| 1× | batch-egg-rewrite |
| 869× | pow1_binary64 |
| 818× | add-log-exp_binary64 |
| 815× | log1p-expm1-u_binary64 |
| 815× | expm1-log1p-u_binary64 |
| 804× | add-exp-log_binary64 |
Useful iterations: 1 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 8 | 19 |
| 1 | 181 | 17 |
| 2 | 2653 | 17 |
| 1× | node limit |
| Inputs |
|---|
(+.f64 (-.f64 (exp.f64 x) 2) (exp.f64 (neg.f64 x))) |
(-.f64 (exp.f64 x) 2) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 x) (-.f64 2 (exp.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (+.f64 (+.f64 (exp.f64 x) (exp.f64 x)) -2)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (/.f64 (pow.f64 (+.f64 (exp.f64 x) -2) 2) (+.f64 (exp.f64 x) (-.f64 -2 (exp.f64 x)))) (/.f64 (pow.f64 (exp.f64 x) 2) (+.f64 (exp.f64 x) (-.f64 -2 (exp.f64 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 (exp.f64 x) (exp.f64 x)) 2)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 (+.f64 (exp.f64 x) (exp.f64 x)) -2) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (+.f64 (+.f64 (exp.f64 x) (exp.f64 x)) -2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (+.f64 (+.f64 (exp.f64 x) (exp.f64 x)) -2)) (pow.f64 (cbrt.f64 (+.f64 (+.f64 (exp.f64 x) (exp.f64 x)) -2)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (+.f64 (+.f64 (exp.f64 x) (exp.f64 x)) -2)) 2) (cbrt.f64 (+.f64 (+.f64 (exp.f64 x) (exp.f64 x)) -2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (+.f64 (+.f64 (exp.f64 x) (exp.f64 x)) -2)) (sqrt.f64 (+.f64 (+.f64 (exp.f64 x) (exp.f64 x)) -2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 (pow.f64 (exp.f64 x) 3) (pow.f64 (+.f64 (exp.f64 x) -2) 3)) (/.f64 1 (+.f64 (pow.f64 (+.f64 (exp.f64 x) -2) 2) (*.f64 (exp.f64 x) (-.f64 (exp.f64 x) (+.f64 (exp.f64 x) -2))))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (-.f64 (pow.f64 (+.f64 (exp.f64 x) -2) 2) (pow.f64 (exp.f64 x) 2)) (/.f64 1 (+.f64 (exp.f64 x) (-.f64 -2 (exp.f64 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (+.f64 (pow.f64 (+.f64 (exp.f64 x) -2) 2) (*.f64 (exp.f64 x) (-.f64 (exp.f64 x) (+.f64 (exp.f64 x) -2)))) (+.f64 (pow.f64 (exp.f64 x) 3) (pow.f64 (+.f64 (exp.f64 x) -2) 3))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (+.f64 (exp.f64 x) (-.f64 -2 (exp.f64 x))) (-.f64 (pow.f64 (+.f64 (exp.f64 x) -2) 2) (pow.f64 (exp.f64 x) 2))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 (exp.f64 x) 3) (pow.f64 (+.f64 (exp.f64 x) -2) 3)) (+.f64 (pow.f64 (+.f64 (exp.f64 x) -2) 2) (*.f64 (exp.f64 x) (-.f64 (exp.f64 x) (+.f64 (exp.f64 x) -2)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 (exp.f64 x) 3) (pow.f64 (+.f64 (exp.f64 x) -2) 3)) (+.f64 (pow.f64 (exp.f64 x) 2) (-.f64 (pow.f64 (+.f64 (exp.f64 x) -2) 2) (*.f64 (exp.f64 x) (+.f64 (exp.f64 x) -2)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (pow.f64 (+.f64 (exp.f64 x) -2) 2) (pow.f64 (exp.f64 x) 2)) (+.f64 (exp.f64 x) (-.f64 -2 (exp.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (+.f64 (pow.f64 (exp.f64 x) 3) (pow.f64 (+.f64 (exp.f64 x) -2) 3))) (neg.f64 (+.f64 (pow.f64 (+.f64 (exp.f64 x) -2) 2) (*.f64 (exp.f64 x) (-.f64 (exp.f64 x) (+.f64 (exp.f64 x) -2))))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (-.f64 (pow.f64 (+.f64 (exp.f64 x) -2) 2) (pow.f64 (exp.f64 x) 2))) (neg.f64 (+.f64 (exp.f64 x) (-.f64 -2 (exp.f64 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (*.f64 (+.f64 (pow.f64 (exp.f64 x) 3) -8) (exp.f64 x)) (*.f64 (+.f64 (pow.f64 (exp.f64 x) 2) (+.f64 4 (*.f64 (exp.f64 x) 2))) 1)) (*.f64 (+.f64 (pow.f64 (exp.f64 x) 2) (+.f64 4 (*.f64 (exp.f64 x) 2))) (exp.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (*.f64 (fma.f64 (exp.f64 x) (exp.f64 x) -4) (exp.f64 x)) (*.f64 (+.f64 (exp.f64 x) 2) 1)) (*.f64 (+.f64 (exp.f64 x) 2) (exp.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (+.f64 (pow.f64 (exp.f64 x) 2) (+.f64 4 (*.f64 (exp.f64 x) 2))) (*.f64 (exp.f64 x) (+.f64 (pow.f64 (exp.f64 x) 3) -8))) (*.f64 (exp.f64 x) (+.f64 (pow.f64 (exp.f64 x) 2) (+.f64 4 (*.f64 (exp.f64 x) 2)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (+.f64 (exp.f64 x) 2) (*.f64 (exp.f64 x) (fma.f64 (exp.f64 x) (exp.f64 x) -4))) (*.f64 (exp.f64 x) (+.f64 (exp.f64 x) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (pow.f64 (exp.f64 x) 3) (pow.f64 (-.f64 2 (exp.f64 x)) 3)) (+.f64 (pow.f64 (exp.f64 x) 2) (+.f64 (*.f64 (-.f64 2 (exp.f64 x)) (-.f64 2 (exp.f64 x))) (*.f64 (exp.f64 x) (-.f64 2 (exp.f64 x))))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (pow.f64 (exp.f64 x) 2) (*.f64 (-.f64 2 (exp.f64 x)) (-.f64 2 (exp.f64 x)))) (+.f64 (exp.f64 x) (-.f64 2 (exp.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (pow.f64 (exp.f64 x) 2) (pow.f64 (+.f64 (exp.f64 x) -2) 2)) (-.f64 (exp.f64 x) (+.f64 (exp.f64 x) -2)))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (+.f64 (+.f64 (exp.f64 x) (exp.f64 x)) -2) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (+.f64 (+.f64 (exp.f64 x) (exp.f64 x)) -2) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (+.f64 (+.f64 (exp.f64 x) (exp.f64 x)) -2)) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (+.f64 (+.f64 (exp.f64 x) (exp.f64 x)) -2)) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (+.f64 (+.f64 (exp.f64 x) (exp.f64 x)) -2) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (+.f64 (+.f64 (exp.f64 x) (exp.f64 x)) -2)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (+.f64 (+.f64 (exp.f64 x) (exp.f64 x)) -2) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (+.f64 (+.f64 (exp.f64 x) (exp.f64 x)) -2)))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (+.f64 (+.f64 (exp.f64 x) (exp.f64 x)) -2)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (+.f64 (+.f64 (exp.f64 x) (exp.f64 x)) -2)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (exp.f64 x) (+.f64 (exp.f64 x) -2))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (exp.f64 x) (neg.f64 (-.f64 2 (exp.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (+.f64 (exp.f64 x) -2) (exp.f64 x))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 (+.f64 (exp.f64 x) -2)) 2) (cbrt.f64 (+.f64 (exp.f64 x) -2)) (exp.f64 x))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 (exp.f64 x)) 2) (cbrt.f64 (exp.f64 x)) (+.f64 (exp.f64 x) -2))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 (exp.f64 x)) 2) (cbrt.f64 (exp.f64 x)) (neg.f64 (-.f64 2 (exp.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 (+.f64 (exp.f64 x) -2)) (sqrt.f64 (+.f64 (exp.f64 x) -2)) (exp.f64 x))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 (exp.f64 x)) (sqrt.f64 (exp.f64 x)) (+.f64 (exp.f64 x) -2))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 (exp.f64 x)) (sqrt.f64 (exp.f64 x)) (neg.f64 (-.f64 2 (exp.f64 x)))))))) |
((#(struct:change #<rule egg-rr> (2) ((x +.f64 (exp.f64 x) -2)))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 -2 (exp.f64 x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 (exp.f64 x) -2) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (+.f64 (exp.f64 x) -2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (+.f64 (exp.f64 x) -2)) (pow.f64 (cbrt.f64 (+.f64 (exp.f64 x) -2)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (+.f64 (exp.f64 x) -2)) 2) (cbrt.f64 (+.f64 (exp.f64 x) -2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (+.f64 (exp.f64 x) -2)) (sqrt.f64 (+.f64 (exp.f64 x) -2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 (pow.f64 (exp.f64 x) 3) -8) (/.f64 1 (+.f64 (pow.f64 (exp.f64 x) 2) (+.f64 4 (*.f64 (exp.f64 x) 2)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (fma.f64 (exp.f64 x) (exp.f64 x) -4) (/.f64 1 (+.f64 (exp.f64 x) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (+.f64 (pow.f64 (exp.f64 x) 2) (+.f64 4 (*.f64 (exp.f64 x) 2))) (+.f64 (pow.f64 (exp.f64 x) 3) -8)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (+.f64 (exp.f64 x) 2) (fma.f64 (exp.f64 x) (exp.f64 x) -4)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 (exp.f64 x) 3) -8) (+.f64 (pow.f64 (exp.f64 x) 2) (+.f64 4 (*.f64 (exp.f64 x) 2))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 (exp.f64 x) 3) -8) (+.f64 (pow.f64 (exp.f64 x) 2) (-.f64 4 (*.f64 (exp.f64 x) -2))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (fma.f64 (exp.f64 x) (exp.f64 x) -4) (+.f64 (exp.f64 x) 2))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (fma.f64 (exp.f64 x) (exp.f64 x) -4) (-.f64 (exp.f64 x) -2))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (+.f64 (pow.f64 (exp.f64 x) 3) -8)) (neg.f64 (+.f64 (pow.f64 (exp.f64 x) 2) (+.f64 4 (*.f64 (exp.f64 x) 2)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (fma.f64 (exp.f64 x) (exp.f64 x) -4)) (neg.f64 (+.f64 (exp.f64 x) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (+.f64 (exp.f64 x) -2) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (+.f64 (exp.f64 x) -2)) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (+.f64 (exp.f64 x) -2)) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (+.f64 (exp.f64 x) -2) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (+.f64 (exp.f64 x) -2) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (+.f64 (exp.f64 x) -2)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (+.f64 (exp.f64 x) -2) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (+.f64 (exp.f64 x) -2)))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (+.f64 (exp.f64 x) -2)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (+.f64 (exp.f64 x) -2)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (exp.f64 x) -2)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 (exp.f64 x)) 2) (cbrt.f64 (exp.f64 x)) -2)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 (exp.f64 x)) (sqrt.f64 (exp.f64 x)) -2))))) |
| 1× | egg-herbie |
| 749× | unswap-sqr_binary64 |
| 682× | distribute-rgt-out_binary64 |
| 678× | distribute-lft-out_binary64 |
| 573× | associate-*l*_binary64 |
| 555× | fma-def_binary64 |
Useful iterations: 3 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 43 | 202 |
| 1 | 107 | 196 |
| 2 | 240 | 196 |
| 3 | 753 | 191 |
| 4 | 3557 | 191 |
| 1× | node limit |
| Inputs |
|---|
(pow.f64 x 2) |
(+.f64 (pow.f64 x 2) (*.f64 1/12 (pow.f64 x 4))) |
(+.f64 (*.f64 1/360 (pow.f64 x 6)) (+.f64 (pow.f64 x 2) (*.f64 1/12 (pow.f64 x 4)))) |
(+.f64 (*.f64 1/360 (pow.f64 x 6)) (+.f64 (pow.f64 x 2) (+.f64 (*.f64 1/12 (pow.f64 x 4)) (*.f64 1/20160 (pow.f64 x 8))))) |
(-.f64 (+.f64 (exp.f64 (neg.f64 x)) (exp.f64 x)) 2) |
(-.f64 (+.f64 (exp.f64 (neg.f64 x)) (exp.f64 x)) 2) |
(-.f64 (+.f64 (exp.f64 (neg.f64 x)) (exp.f64 x)) 2) |
(-.f64 (+.f64 (exp.f64 (neg.f64 x)) (exp.f64 x)) 2) |
(-.f64 (+.f64 (exp.f64 x) (exp.f64 (*.f64 -1 x))) 2) |
(-.f64 (+.f64 (exp.f64 x) (exp.f64 (*.f64 -1 x))) 2) |
(-.f64 (+.f64 (exp.f64 x) (exp.f64 (*.f64 -1 x))) 2) |
(-.f64 (+.f64 (exp.f64 x) (exp.f64 (*.f64 -1 x))) 2) |
-1 |
(-.f64 x 1) |
(-.f64 (+.f64 (*.f64 1/2 (pow.f64 x 2)) x) 1) |
(-.f64 (+.f64 (*.f64 1/6 (pow.f64 x 3)) (+.f64 (*.f64 1/2 (pow.f64 x 2)) x)) 1) |
| Outputs |
|---|
(pow.f64 x 2) |
(*.f64 x x) |
(+.f64 (pow.f64 x 2) (*.f64 1/12 (pow.f64 x 4))) |
(+.f64 (*.f64 x x) (*.f64 1/12 (pow.f64 x 4))) |
(fma.f64 x x (*.f64 1/12 (pow.f64 x 4))) |
(fma.f64 1/12 (pow.f64 x 4) (*.f64 x x)) |
(+.f64 (*.f64 1/360 (pow.f64 x 6)) (+.f64 (pow.f64 x 2) (*.f64 1/12 (pow.f64 x 4)))) |
(fma.f64 1/360 (pow.f64 x 6) (+.f64 (*.f64 x x) (*.f64 1/12 (pow.f64 x 4)))) |
(fma.f64 1/360 (pow.f64 x 6) (fma.f64 x x (*.f64 1/12 (pow.f64 x 4)))) |
(fma.f64 x x (fma.f64 1/12 (pow.f64 x 4) (*.f64 1/360 (pow.f64 x 6)))) |
(fma.f64 1/360 (pow.f64 x 6) (fma.f64 1/12 (pow.f64 x 4) (*.f64 x x))) |
(+.f64 (*.f64 1/360 (pow.f64 x 6)) (+.f64 (pow.f64 x 2) (+.f64 (*.f64 1/12 (pow.f64 x 4)) (*.f64 1/20160 (pow.f64 x 8))))) |
(fma.f64 1/360 (pow.f64 x 6) (+.f64 (*.f64 x x) (fma.f64 1/12 (pow.f64 x 4) (*.f64 1/20160 (pow.f64 x 8))))) |
(fma.f64 1/360 (pow.f64 x 6) (fma.f64 x x (fma.f64 1/12 (pow.f64 x 4) (*.f64 1/20160 (pow.f64 x 8))))) |
(fma.f64 x x (fma.f64 1/360 (pow.f64 x 6) (fma.f64 1/12 (pow.f64 x 4) (*.f64 1/20160 (pow.f64 x 8))))) |
(fma.f64 1/12 (pow.f64 x 4) (fma.f64 1/20160 (pow.f64 x 8) (fma.f64 1/360 (pow.f64 x 6) (*.f64 x x)))) |
(fma.f64 (pow.f64 x 4) (fma.f64 (pow.f64 x 4) 1/20160 1/12) (fma.f64 x x (*.f64 1/360 (pow.f64 x 6)))) |
(-.f64 (+.f64 (exp.f64 (neg.f64 x)) (exp.f64 x)) 2) |
(+.f64 (exp.f64 x) (-.f64 (exp.f64 (neg.f64 x)) 2)) |
(+.f64 (exp.f64 x) (+.f64 (exp.f64 (neg.f64 x)) -2)) |
(+.f64 (exp.f64 (neg.f64 x)) (+.f64 (exp.f64 x) -2)) |
(-.f64 (+.f64 (exp.f64 (neg.f64 x)) (exp.f64 x)) 2) |
(+.f64 (exp.f64 x) (-.f64 (exp.f64 (neg.f64 x)) 2)) |
(+.f64 (exp.f64 x) (+.f64 (exp.f64 (neg.f64 x)) -2)) |
(+.f64 (exp.f64 (neg.f64 x)) (+.f64 (exp.f64 x) -2)) |
(-.f64 (+.f64 (exp.f64 (neg.f64 x)) (exp.f64 x)) 2) |
(+.f64 (exp.f64 x) (-.f64 (exp.f64 (neg.f64 x)) 2)) |
(+.f64 (exp.f64 x) (+.f64 (exp.f64 (neg.f64 x)) -2)) |
(+.f64 (exp.f64 (neg.f64 x)) (+.f64 (exp.f64 x) -2)) |
(-.f64 (+.f64 (exp.f64 (neg.f64 x)) (exp.f64 x)) 2) |
(+.f64 (exp.f64 x) (-.f64 (exp.f64 (neg.f64 x)) 2)) |
(+.f64 (exp.f64 x) (+.f64 (exp.f64 (neg.f64 x)) -2)) |
(+.f64 (exp.f64 (neg.f64 x)) (+.f64 (exp.f64 x) -2)) |
(-.f64 (+.f64 (exp.f64 x) (exp.f64 (*.f64 -1 x))) 2) |
(+.f64 (exp.f64 x) (-.f64 (exp.f64 (neg.f64 x)) 2)) |
(+.f64 (exp.f64 x) (+.f64 (exp.f64 (neg.f64 x)) -2)) |
(+.f64 (exp.f64 (neg.f64 x)) (+.f64 (exp.f64 x) -2)) |
(-.f64 (+.f64 (exp.f64 x) (exp.f64 (*.f64 -1 x))) 2) |
(+.f64 (exp.f64 x) (-.f64 (exp.f64 (neg.f64 x)) 2)) |
(+.f64 (exp.f64 x) (+.f64 (exp.f64 (neg.f64 x)) -2)) |
(+.f64 (exp.f64 (neg.f64 x)) (+.f64 (exp.f64 x) -2)) |
(-.f64 (+.f64 (exp.f64 x) (exp.f64 (*.f64 -1 x))) 2) |
(+.f64 (exp.f64 x) (-.f64 (exp.f64 (neg.f64 x)) 2)) |
(+.f64 (exp.f64 x) (+.f64 (exp.f64 (neg.f64 x)) -2)) |
(+.f64 (exp.f64 (neg.f64 x)) (+.f64 (exp.f64 x) -2)) |
(-.f64 (+.f64 (exp.f64 x) (exp.f64 (*.f64 -1 x))) 2) |
(+.f64 (exp.f64 x) (-.f64 (exp.f64 (neg.f64 x)) 2)) |
(+.f64 (exp.f64 x) (+.f64 (exp.f64 (neg.f64 x)) -2)) |
(+.f64 (exp.f64 (neg.f64 x)) (+.f64 (exp.f64 x) -2)) |
-1 |
(-.f64 x 1) |
(+.f64 x -1) |
(-.f64 (+.f64 (*.f64 1/2 (pow.f64 x 2)) x) 1) |
(+.f64 (fma.f64 1/2 (*.f64 x x) x) -1) |
(+.f64 -1 (fma.f64 (*.f64 x x) 1/2 x)) |
(+.f64 x (fma.f64 x (*.f64 x 1/2) -1)) |
(fma.f64 (fma.f64 x 1/2 1) x -1) |
(fma.f64 x (fma.f64 x 1/2 1) -1) |
(-.f64 (+.f64 (*.f64 1/6 (pow.f64 x 3)) (+.f64 (*.f64 1/2 (pow.f64 x 2)) x)) 1) |
(+.f64 (fma.f64 1/6 (pow.f64 x 3) (fma.f64 1/2 (*.f64 x x) x)) -1) |
(+.f64 -1 (fma.f64 1/6 (pow.f64 x 3) (fma.f64 (*.f64 x x) 1/2 x))) |
(+.f64 -1 (fma.f64 x (*.f64 x 1/2) (fma.f64 1/6 (pow.f64 x 3) x))) |
(fma.f64 (*.f64 x x) (fma.f64 x 1/6 1/2) (-.f64 x 1)) |
(fma.f64 (*.f64 x x) (fma.f64 x 1/6 1/2) (+.f64 x -1)) |
Compiled 1887 to 1095 computations (42% saved)
5 alts after pruning (5 fresh and 0 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 130 | 5 | 135 |
| Fresh | 0 | 0 | 0 |
| Picked | 1 | 0 | 1 |
| Done | 1 | 0 | 1 |
| Total | 132 | 5 | 137 |
| Status | Error | Program |
|---|---|---|
| ▶ | 1.2b | (*.f64 x x) |
| ▶ | 27.3b | (+.f64 -1 (exp.f64 (neg.f64 x))) |
| ▶ | 1.1b | (fma.f64 x x (fma.f64 1/360 (pow.f64 x 6) (*.f64 1/12 (pow.f64 x 4)))) |
| ▶ | 1.2b | (fma.f64 1/12 (pow.f64 x 4) (*.f64 x x)) |
| ▶ | 26.6b | (+.f64 -2 (*.f64 2 (cosh.f64 x))) |
Compiled 80 to 58 computations (27.5% saved)
Found 4 expressions with local error:
| New | Error | Program |
|---|---|---|
| ✓ | 0.0b | (pow.f64 x 4) |
| ✓ | 0.0b | (fma.f64 x x (fma.f64 1/360 (pow.f64 x 6) (*.f64 1/12 (pow.f64 x 4)))) |
| ✓ | 0.0b | (fma.f64 1/360 (pow.f64 x 6) (*.f64 1/12 (pow.f64 x 4))) |
| ✓ | 0.1b | (*.f64 1/12 (pow.f64 x 4)) |
Compiled 40 to 30 computations (25% saved)
12 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 1.0ms | x | @ | -inf | (fma.f64 1/360 (pow.f64 x 6) (*.f64 1/12 (pow.f64 x 4))) |
| 1.0ms | x | @ | inf | (pow.f64 x 4) |
| 1.0ms | x | @ | 0 | (*.f64 1/12 (pow.f64 x 4)) |
| 1.0ms | x | @ | inf | (fma.f64 1/360 (pow.f64 x 6) (*.f64 1/12 (pow.f64 x 4))) |
| 1.0ms | x | @ | inf | (*.f64 1/12 (pow.f64 x 4)) |
| 1× | batch-egg-rewrite |
| 927× | pow1_binary64 |
| 869× | add-log-exp_binary64 |
| 869× | log1p-expm1-u_binary64 |
| 869× | expm1-log1p-u_binary64 |
| 851× | add-exp-log_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 11 | 43 |
| 1 | 234 | 43 |
| 2 | 2497 | 43 |
| 1× | node limit |
| Inputs |
|---|
(*.f64 1/12 (pow.f64 x 4)) |
(fma.f64 1/360 (pow.f64 x 6) (*.f64 1/12 (pow.f64 x 4))) |
(fma.f64 x x (fma.f64 1/360 (pow.f64 x 6) (*.f64 1/12 (pow.f64 x 4)))) |
(pow.f64 x 4) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (*.f64 1/12 (pow.f64 x 4))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 1/12 (pow.f64 x 4)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 1/12 (pow.f64 x 4)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (*.f64 1/12 (pow.f64 x 4))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 (*.f64 x x) (sqrt.f64 1/12)) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (*.f64 (pow.f64 x 8) 1/144))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (pow.f64 (exp.f64 1/12) (pow.f64 x 4)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (*.f64 1/12 (pow.f64 x 4)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 1/12 (pow.f64 x 4))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 1/12 (pow.f64 x 4))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (*.f64 1/12 (pow.f64 x 4)))))))) |
((#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 1/12 (pow.f64 x 4)) (*.f64 1/360 (pow.f64 x 6)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 1/360 (pow.f64 x 6)) (*.f64 1/12 (pow.f64 x 4)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 (*.f64 1/360 (pow.f64 x 6)) 1) (*.f64 1/12 (pow.f64 x 4)))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (fma.f64 1/360 (pow.f64 x 6) (*.f64 1/12 (pow.f64 x 4)))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (fma.f64 1/360 (pow.f64 x 6) (*.f64 1/12 (pow.f64 x 4))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (fma.f64 1/360 (pow.f64 x 6) (*.f64 1/12 (pow.f64 x 4))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (fma.f64 1/360 (pow.f64 x 6) (*.f64 1/12 (pow.f64 x 4)))) (pow.f64 (cbrt.f64 (fma.f64 1/360 (pow.f64 x 6) (*.f64 1/12 (pow.f64 x 4)))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (fma.f64 1/360 (pow.f64 x 6) (*.f64 1/12 (pow.f64 x 4)))) 2) (cbrt.f64 (fma.f64 1/360 (pow.f64 x 6) (*.f64 1/12 (pow.f64 x 4)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (fma.f64 1/360 (pow.f64 x 6) (*.f64 1/12 (pow.f64 x 4)))) (sqrt.f64 (fma.f64 1/360 (pow.f64 x 6) (*.f64 1/12 (pow.f64 x 4)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 (*.f64 1/360 (pow.f64 x 6)) 3) (pow.f64 (*.f64 1/12 (pow.f64 x 4)) 3)) (+.f64 (*.f64 (*.f64 1/360 (pow.f64 x 6)) (*.f64 1/360 (pow.f64 x 6))) (-.f64 (*.f64 (pow.f64 x 8) 1/144) (*.f64 (*.f64 1/360 (pow.f64 x 6)) (*.f64 1/12 (pow.f64 x 4))))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (*.f64 (*.f64 1/360 (pow.f64 x 6)) (*.f64 1/360 (pow.f64 x 6))) (*.f64 (pow.f64 x 8) 1/144)) (-.f64 (*.f64 1/360 (pow.f64 x 6)) (*.f64 1/12 (pow.f64 x 4))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (fma.f64 1/360 (pow.f64 x 6) (*.f64 1/12 (pow.f64 x 4))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (fma.f64 1/360 (pow.f64 x 6) (*.f64 1/12 (pow.f64 x 4))) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (fma.f64 1/360 (pow.f64 x 6) (*.f64 1/12 (pow.f64 x 4)))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (fma.f64 1/360 (pow.f64 x 6) (*.f64 1/12 (pow.f64 x 4)))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (fma.f64 1/360 (pow.f64 x 6) (*.f64 1/12 (pow.f64 x 4))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (fma.f64 1/360 (pow.f64 x 6) (*.f64 1/12 (pow.f64 x 4)))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (fma.f64 1/360 (pow.f64 x 6) (*.f64 1/12 (pow.f64 x 4))) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (fma.f64 1/360 (pow.f64 x 6) (*.f64 1/12 (pow.f64 x 4)))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (fma.f64 1/360 (pow.f64 x 6) (*.f64 1/12 (pow.f64 x 4)))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (fma.f64 1/360 (pow.f64 x 6) (*.f64 1/12 (pow.f64 x 4))))))))) |
((#(struct:change #<rule egg-rr> (2) ((x +.f64 (fma.f64 1/360 (pow.f64 x 6) (*.f64 1/12 (pow.f64 x 4))) (*.f64 x x))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 x x) (fma.f64 1/360 (pow.f64 x 6) (*.f64 1/12 (pow.f64 x 4))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 (*.f64 x x) 1) (fma.f64 1/360 (pow.f64 x 6) (*.f64 1/12 (pow.f64 x 4))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (+.f64 (*.f64 x x) (*.f64 1/360 (pow.f64 x 6))) (*.f64 1/12 (pow.f64 x 4)))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (fma.f64 x x (fma.f64 1/360 (pow.f64 x 6) (*.f64 1/12 (pow.f64 x 4))))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (fma.f64 x x (fma.f64 1/360 (pow.f64 x 6) (*.f64 1/12 (pow.f64 x 4)))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (fma.f64 x x (fma.f64 1/360 (pow.f64 x 6) (*.f64 1/12 (pow.f64 x 4)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (fma.f64 x x (fma.f64 1/360 (pow.f64 x 6) (*.f64 1/12 (pow.f64 x 4))))) (pow.f64 (cbrt.f64 (fma.f64 x x (fma.f64 1/360 (pow.f64 x 6) (*.f64 1/12 (pow.f64 x 4))))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (fma.f64 x x (fma.f64 1/360 (pow.f64 x 6) (*.f64 1/12 (pow.f64 x 4))))) 2) (cbrt.f64 (fma.f64 x x (fma.f64 1/360 (pow.f64 x 6) (*.f64 1/12 (pow.f64 x 4))))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (hypot.f64 x (sqrt.f64 (fma.f64 1/360 (pow.f64 x 6) (*.f64 1/12 (pow.f64 x 4))))) (hypot.f64 x (sqrt.f64 (fma.f64 1/360 (pow.f64 x 6) (*.f64 1/12 (pow.f64 x 4))))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 x 6) (pow.f64 (fma.f64 1/360 (pow.f64 x 6) (*.f64 1/12 (pow.f64 x 4))) 3)) (+.f64 (pow.f64 x 4) (-.f64 (pow.f64 (fma.f64 1/360 (pow.f64 x 6) (*.f64 1/12 (pow.f64 x 4))) 2) (*.f64 (*.f64 x x) (fma.f64 1/360 (pow.f64 x 6) (*.f64 1/12 (pow.f64 x 4)))))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (pow.f64 x 4) (pow.f64 (fma.f64 1/360 (pow.f64 x 6) (*.f64 1/12 (pow.f64 x 4))) 2)) (-.f64 (*.f64 x x) (fma.f64 1/360 (pow.f64 x 6) (*.f64 1/12 (pow.f64 x 4)))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (fma.f64 x x (fma.f64 1/360 (pow.f64 x 6) (*.f64 1/12 (pow.f64 x 4)))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (fma.f64 x x (fma.f64 1/360 (pow.f64 x 6) (*.f64 1/12 (pow.f64 x 4)))) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (fma.f64 x x (fma.f64 1/360 (pow.f64 x 6) (*.f64 1/12 (pow.f64 x 4))))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (hypot.f64 x (sqrt.f64 (fma.f64 1/360 (pow.f64 x 6) (*.f64 1/12 (pow.f64 x 4))))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (fma.f64 x x (fma.f64 1/360 (pow.f64 x 6) (*.f64 1/12 (pow.f64 x 4)))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (fma.f64 x x (fma.f64 1/360 (pow.f64 x 6) (*.f64 1/12 (pow.f64 x 4))))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (fma.f64 x x (fma.f64 1/360 (pow.f64 x 6) (*.f64 1/12 (pow.f64 x 4)))) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (fma.f64 x x (fma.f64 1/360 (pow.f64 x 6) (*.f64 1/12 (pow.f64 x 4))))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (fma.f64 x x (fma.f64 1/360 (pow.f64 x 6) (*.f64 1/12 (pow.f64 x 4))))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (fma.f64 x x (fma.f64 1/360 (pow.f64 x 6) (*.f64 1/12 (pow.f64 x 4)))))))))) |
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (pow.f64 x 4)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 x 4) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (pow.f64 x 4))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 x x) (*.f64 x x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (pow.f64 x 4)) (cbrt.f64 (pow.f64 x 8)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (pow.f64 x 8)) (cbrt.f64 (pow.f64 x 4)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (pow.f64 (cbrt.f64 x) 2) 4) (pow.f64 (cbrt.f64 x) 4))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (sqrt.f64 x) 4) (pow.f64 (sqrt.f64 x) 4))))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 x 8))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (pow.f64 x 4)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 x 12))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (pow.f64 x 4)))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (pow.f64 x 4)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 4 (log.f64 x))))))) |
| 1× | egg-herbie |
| 1287× | fma-def_binary64 |
| 726× | sqr-pow_binary64 |
| 544× | cube-prod_binary64 |
| 353× | *-commutative_binary64 |
| 336× | unpow3_binary64 |
Useful iterations: 1 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 15 | 326 |
| 1 | 35 | 312 |
| 2 | 75 | 312 |
| 3 | 191 | 312 |
| 4 | 839 | 312 |
| 5 | 2320 | 312 |
| 6 | 3430 | 312 |
| 7 | 3668 | 312 |
| 8 | 3868 | 312 |
| 9 | 4119 | 312 |
| 10 | 4434 | 312 |
| 11 | 4879 | 312 |
| 12 | 5638 | 312 |
| 13 | 6137 | 312 |
| 14 | 6800 | 312 |
| 15 | 7088 | 312 |
| 16 | 7340 | 312 |
| 17 | 7600 | 312 |
| 18 | 7870 | 312 |
| 1× | node limit |
| Inputs |
|---|
(*.f64 1/12 (pow.f64 x 4)) |
(+.f64 (*.f64 1/360 (pow.f64 x 6)) (*.f64 1/12 (pow.f64 x 4))) |
(+.f64 (*.f64 1/360 (pow.f64 x 6)) (*.f64 1/12 (pow.f64 x 4))) |
(+.f64 (*.f64 1/360 (pow.f64 x 6)) (*.f64 1/12 (pow.f64 x 4))) |
(*.f64 1/360 (pow.f64 x 6)) |
(+.f64 (*.f64 1/360 (pow.f64 x 6)) (*.f64 1/12 (pow.f64 x 4))) |
(+.f64 (*.f64 1/360 (pow.f64 x 6)) (*.f64 1/12 (pow.f64 x 4))) |
(+.f64 (*.f64 1/360 (pow.f64 x 6)) (*.f64 1/12 (pow.f64 x 4))) |
(*.f64 1/360 (pow.f64 x 6)) |
(+.f64 (*.f64 1/360 (pow.f64 x 6)) (*.f64 1/12 (pow.f64 x 4))) |
(+.f64 (*.f64 1/360 (pow.f64 x 6)) (*.f64 1/12 (pow.f64 x 4))) |
(+.f64 (*.f64 1/360 (pow.f64 x 6)) (*.f64 1/12 (pow.f64 x 4))) |
(pow.f64 x 2) |
(+.f64 (pow.f64 x 2) (*.f64 1/12 (pow.f64 x 4))) |
(+.f64 (*.f64 1/360 (pow.f64 x 6)) (+.f64 (pow.f64 x 2) (*.f64 1/12 (pow.f64 x 4)))) |
(+.f64 (*.f64 1/360 (pow.f64 x 6)) (+.f64 (pow.f64 x 2) (*.f64 1/12 (pow.f64 x 4)))) |
(*.f64 1/360 (pow.f64 x 6)) |
(+.f64 (*.f64 1/360 (pow.f64 x 6)) (*.f64 1/12 (pow.f64 x 4))) |
(+.f64 (*.f64 1/360 (pow.f64 x 6)) (+.f64 (pow.f64 x 2) (*.f64 1/12 (pow.f64 x 4)))) |
(+.f64 (*.f64 1/360 (pow.f64 x 6)) (+.f64 (pow.f64 x 2) (*.f64 1/12 (pow.f64 x 4)))) |
(*.f64 1/360 (pow.f64 x 6)) |
(+.f64 (*.f64 1/360 (pow.f64 x 6)) (*.f64 1/12 (pow.f64 x 4))) |
(+.f64 (*.f64 1/360 (pow.f64 x 6)) (+.f64 (pow.f64 x 2) (*.f64 1/12 (pow.f64 x 4)))) |
(+.f64 (*.f64 1/360 (pow.f64 x 6)) (+.f64 (pow.f64 x 2) (*.f64 1/12 (pow.f64 x 4)))) |
| Outputs |
|---|
(*.f64 1/12 (pow.f64 x 4)) |
(+.f64 (*.f64 1/360 (pow.f64 x 6)) (*.f64 1/12 (pow.f64 x 4))) |
(fma.f64 1/360 (pow.f64 x 6) (*.f64 1/12 (pow.f64 x 4))) |
(fma.f64 1/12 (pow.f64 x 4) (*.f64 1/360 (pow.f64 x 6))) |
(*.f64 (pow.f64 x 4) (fma.f64 1/360 (*.f64 x x) 1/12)) |
(*.f64 (pow.f64 x 4) (fma.f64 x (*.f64 x 1/360) 1/12)) |
(+.f64 (*.f64 1/360 (pow.f64 x 6)) (*.f64 1/12 (pow.f64 x 4))) |
(fma.f64 1/360 (pow.f64 x 6) (*.f64 1/12 (pow.f64 x 4))) |
(fma.f64 1/12 (pow.f64 x 4) (*.f64 1/360 (pow.f64 x 6))) |
(*.f64 (pow.f64 x 4) (fma.f64 1/360 (*.f64 x x) 1/12)) |
(*.f64 (pow.f64 x 4) (fma.f64 x (*.f64 x 1/360) 1/12)) |
(+.f64 (*.f64 1/360 (pow.f64 x 6)) (*.f64 1/12 (pow.f64 x 4))) |
(fma.f64 1/360 (pow.f64 x 6) (*.f64 1/12 (pow.f64 x 4))) |
(fma.f64 1/12 (pow.f64 x 4) (*.f64 1/360 (pow.f64 x 6))) |
(*.f64 (pow.f64 x 4) (fma.f64 1/360 (*.f64 x x) 1/12)) |
(*.f64 (pow.f64 x 4) (fma.f64 x (*.f64 x 1/360) 1/12)) |
(*.f64 1/360 (pow.f64 x 6)) |
(+.f64 (*.f64 1/360 (pow.f64 x 6)) (*.f64 1/12 (pow.f64 x 4))) |
(fma.f64 1/360 (pow.f64 x 6) (*.f64 1/12 (pow.f64 x 4))) |
(fma.f64 1/12 (pow.f64 x 4) (*.f64 1/360 (pow.f64 x 6))) |
(*.f64 (pow.f64 x 4) (fma.f64 1/360 (*.f64 x x) 1/12)) |
(*.f64 (pow.f64 x 4) (fma.f64 x (*.f64 x 1/360) 1/12)) |
(+.f64 (*.f64 1/360 (pow.f64 x 6)) (*.f64 1/12 (pow.f64 x 4))) |
(fma.f64 1/360 (pow.f64 x 6) (*.f64 1/12 (pow.f64 x 4))) |
(fma.f64 1/12 (pow.f64 x 4) (*.f64 1/360 (pow.f64 x 6))) |
(*.f64 (pow.f64 x 4) (fma.f64 1/360 (*.f64 x x) 1/12)) |
(*.f64 (pow.f64 x 4) (fma.f64 x (*.f64 x 1/360) 1/12)) |
(+.f64 (*.f64 1/360 (pow.f64 x 6)) (*.f64 1/12 (pow.f64 x 4))) |
(fma.f64 1/360 (pow.f64 x 6) (*.f64 1/12 (pow.f64 x 4))) |
(fma.f64 1/12 (pow.f64 x 4) (*.f64 1/360 (pow.f64 x 6))) |
(*.f64 (pow.f64 x 4) (fma.f64 1/360 (*.f64 x x) 1/12)) |
(*.f64 (pow.f64 x 4) (fma.f64 x (*.f64 x 1/360) 1/12)) |
(*.f64 1/360 (pow.f64 x 6)) |
(+.f64 (*.f64 1/360 (pow.f64 x 6)) (*.f64 1/12 (pow.f64 x 4))) |
(fma.f64 1/360 (pow.f64 x 6) (*.f64 1/12 (pow.f64 x 4))) |
(fma.f64 1/12 (pow.f64 x 4) (*.f64 1/360 (pow.f64 x 6))) |
(*.f64 (pow.f64 x 4) (fma.f64 1/360 (*.f64 x x) 1/12)) |
(*.f64 (pow.f64 x 4) (fma.f64 x (*.f64 x 1/360) 1/12)) |
(+.f64 (*.f64 1/360 (pow.f64 x 6)) (*.f64 1/12 (pow.f64 x 4))) |
(fma.f64 1/360 (pow.f64 x 6) (*.f64 1/12 (pow.f64 x 4))) |
(fma.f64 1/12 (pow.f64 x 4) (*.f64 1/360 (pow.f64 x 6))) |
(*.f64 (pow.f64 x 4) (fma.f64 1/360 (*.f64 x x) 1/12)) |
(*.f64 (pow.f64 x 4) (fma.f64 x (*.f64 x 1/360) 1/12)) |
(+.f64 (*.f64 1/360 (pow.f64 x 6)) (*.f64 1/12 (pow.f64 x 4))) |
(fma.f64 1/360 (pow.f64 x 6) (*.f64 1/12 (pow.f64 x 4))) |
(fma.f64 1/12 (pow.f64 x 4) (*.f64 1/360 (pow.f64 x 6))) |
(*.f64 (pow.f64 x 4) (fma.f64 1/360 (*.f64 x x) 1/12)) |
(*.f64 (pow.f64 x 4) (fma.f64 x (*.f64 x 1/360) 1/12)) |
(pow.f64 x 2) |
(*.f64 x x) |
(+.f64 (pow.f64 x 2) (*.f64 1/12 (pow.f64 x 4))) |
(+.f64 (*.f64 1/12 (pow.f64 x 4)) (*.f64 x x)) |
(fma.f64 1/12 (pow.f64 x 4) (*.f64 x x)) |
(*.f64 x (fma.f64 1/12 (pow.f64 x 3) x)) |
(+.f64 (*.f64 1/360 (pow.f64 x 6)) (+.f64 (pow.f64 x 2) (*.f64 1/12 (pow.f64 x 4)))) |
(fma.f64 1/360 (pow.f64 x 6) (+.f64 (*.f64 1/12 (pow.f64 x 4)) (*.f64 x x))) |
(fma.f64 1/360 (pow.f64 x 6) (fma.f64 1/12 (pow.f64 x 4) (*.f64 x x))) |
(fma.f64 1/12 (pow.f64 x 4) (fma.f64 x x (*.f64 1/360 (pow.f64 x 6)))) |
(fma.f64 x x (fma.f64 1/12 (pow.f64 x 4) (*.f64 1/360 (pow.f64 x 6)))) |
(fma.f64 1/12 (pow.f64 x 4) (*.f64 x (fma.f64 1/360 (pow.f64 x 5) x))) |
(*.f64 x (fma.f64 1/12 (pow.f64 x 3) (fma.f64 1/360 (pow.f64 x 5) x))) |
(+.f64 (*.f64 1/360 (pow.f64 x 6)) (+.f64 (pow.f64 x 2) (*.f64 1/12 (pow.f64 x 4)))) |
(fma.f64 1/360 (pow.f64 x 6) (+.f64 (*.f64 1/12 (pow.f64 x 4)) (*.f64 x x))) |
(fma.f64 1/360 (pow.f64 x 6) (fma.f64 1/12 (pow.f64 x 4) (*.f64 x x))) |
(fma.f64 1/12 (pow.f64 x 4) (fma.f64 x x (*.f64 1/360 (pow.f64 x 6)))) |
(fma.f64 x x (fma.f64 1/12 (pow.f64 x 4) (*.f64 1/360 (pow.f64 x 6)))) |
(fma.f64 1/12 (pow.f64 x 4) (*.f64 x (fma.f64 1/360 (pow.f64 x 5) x))) |
(*.f64 x (fma.f64 1/12 (pow.f64 x 3) (fma.f64 1/360 (pow.f64 x 5) x))) |
(*.f64 1/360 (pow.f64 x 6)) |
(+.f64 (*.f64 1/360 (pow.f64 x 6)) (*.f64 1/12 (pow.f64 x 4))) |
(fma.f64 1/360 (pow.f64 x 6) (*.f64 1/12 (pow.f64 x 4))) |
(fma.f64 1/12 (pow.f64 x 4) (*.f64 1/360 (pow.f64 x 6))) |
(*.f64 (pow.f64 x 4) (fma.f64 1/360 (*.f64 x x) 1/12)) |
(*.f64 (pow.f64 x 4) (fma.f64 x (*.f64 x 1/360) 1/12)) |
(+.f64 (*.f64 1/360 (pow.f64 x 6)) (+.f64 (pow.f64 x 2) (*.f64 1/12 (pow.f64 x 4)))) |
(fma.f64 1/360 (pow.f64 x 6) (+.f64 (*.f64 1/12 (pow.f64 x 4)) (*.f64 x x))) |
(fma.f64 1/360 (pow.f64 x 6) (fma.f64 1/12 (pow.f64 x 4) (*.f64 x x))) |
(fma.f64 1/12 (pow.f64 x 4) (fma.f64 x x (*.f64 1/360 (pow.f64 x 6)))) |
(fma.f64 x x (fma.f64 1/12 (pow.f64 x 4) (*.f64 1/360 (pow.f64 x 6)))) |
(fma.f64 1/12 (pow.f64 x 4) (*.f64 x (fma.f64 1/360 (pow.f64 x 5) x))) |
(*.f64 x (fma.f64 1/12 (pow.f64 x 3) (fma.f64 1/360 (pow.f64 x 5) x))) |
(+.f64 (*.f64 1/360 (pow.f64 x 6)) (+.f64 (pow.f64 x 2) (*.f64 1/12 (pow.f64 x 4)))) |
(fma.f64 1/360 (pow.f64 x 6) (+.f64 (*.f64 1/12 (pow.f64 x 4)) (*.f64 x x))) |
(fma.f64 1/360 (pow.f64 x 6) (fma.f64 1/12 (pow.f64 x 4) (*.f64 x x))) |
(fma.f64 1/12 (pow.f64 x 4) (fma.f64 x x (*.f64 1/360 (pow.f64 x 6)))) |
(fma.f64 x x (fma.f64 1/12 (pow.f64 x 4) (*.f64 1/360 (pow.f64 x 6)))) |
(fma.f64 1/12 (pow.f64 x 4) (*.f64 x (fma.f64 1/360 (pow.f64 x 5) x))) |
(*.f64 x (fma.f64 1/12 (pow.f64 x 3) (fma.f64 1/360 (pow.f64 x 5) x))) |
(*.f64 1/360 (pow.f64 x 6)) |
(+.f64 (*.f64 1/360 (pow.f64 x 6)) (*.f64 1/12 (pow.f64 x 4))) |
(fma.f64 1/360 (pow.f64 x 6) (*.f64 1/12 (pow.f64 x 4))) |
(fma.f64 1/12 (pow.f64 x 4) (*.f64 1/360 (pow.f64 x 6))) |
(*.f64 (pow.f64 x 4) (fma.f64 1/360 (*.f64 x x) 1/12)) |
(*.f64 (pow.f64 x 4) (fma.f64 x (*.f64 x 1/360) 1/12)) |
(+.f64 (*.f64 1/360 (pow.f64 x 6)) (+.f64 (pow.f64 x 2) (*.f64 1/12 (pow.f64 x 4)))) |
(fma.f64 1/360 (pow.f64 x 6) (+.f64 (*.f64 1/12 (pow.f64 x 4)) (*.f64 x x))) |
(fma.f64 1/360 (pow.f64 x 6) (fma.f64 1/12 (pow.f64 x 4) (*.f64 x x))) |
(fma.f64 1/12 (pow.f64 x 4) (fma.f64 x x (*.f64 1/360 (pow.f64 x 6)))) |
(fma.f64 x x (fma.f64 1/12 (pow.f64 x 4) (*.f64 1/360 (pow.f64 x 6)))) |
(fma.f64 1/12 (pow.f64 x 4) (*.f64 x (fma.f64 1/360 (pow.f64 x 5) x))) |
(*.f64 x (fma.f64 1/12 (pow.f64 x 3) (fma.f64 1/360 (pow.f64 x 5) x))) |
(+.f64 (*.f64 1/360 (pow.f64 x 6)) (+.f64 (pow.f64 x 2) (*.f64 1/12 (pow.f64 x 4)))) |
(fma.f64 1/360 (pow.f64 x 6) (+.f64 (*.f64 1/12 (pow.f64 x 4)) (*.f64 x x))) |
(fma.f64 1/360 (pow.f64 x 6) (fma.f64 1/12 (pow.f64 x 4) (*.f64 x x))) |
(fma.f64 1/12 (pow.f64 x 4) (fma.f64 x x (*.f64 1/360 (pow.f64 x 6)))) |
(fma.f64 x x (fma.f64 1/12 (pow.f64 x 4) (*.f64 1/360 (pow.f64 x 6)))) |
(fma.f64 1/12 (pow.f64 x 4) (*.f64 x (fma.f64 1/360 (pow.f64 x 5) x))) |
(*.f64 x (fma.f64 1/12 (pow.f64 x 3) (fma.f64 1/360 (pow.f64 x 5) x))) |
Compiled 5 to 2 computations (60% saved)
Found 1 expressions with local error:
| New | Error | Program |
|---|---|---|
| ✓ | 6.4b | (+.f64 -1 (exp.f64 (neg.f64 x))) |
Compiled 13 to 6 computations (53.8% saved)
3 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 0.0ms | x | @ | 0 | (+.f64 -1 (exp.f64 (neg.f64 x))) |
| 0.0ms | x | @ | inf | (+.f64 -1 (exp.f64 (neg.f64 x))) |
| 0.0ms | x | @ | -inf | (+.f64 -1 (exp.f64 (neg.f64 x))) |
| 1× | batch-egg-rewrite |
| 543× | pow1_binary64 |
| 506× | add-log-exp_binary64 |
| 504× | log1p-expm1-u_binary64 |
| 504× | expm1-log1p-u_binary64 |
| 497× | add-exp-log_binary64 |
Useful iterations: 1 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 6 | 8 |
| 1 | 124 | 6 |
| 2 | 1587 | 6 |
| 1× | node limit |
| Inputs |
|---|
(+.f64 -1 (exp.f64 (neg.f64 x))) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (+.f64 -1 (exp.f64 x))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (/.f64 1 (-.f64 -1 (exp.f64 x))) (/.f64 (pow.f64 (exp.f64 x) 2) (-.f64 -1 (exp.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 -1 (exp.f64 x)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (+.f64 -1 (exp.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (+.f64 -1 (exp.f64 x))) (pow.f64 (cbrt.f64 (+.f64 -1 (exp.f64 x))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (+.f64 -1 (exp.f64 x))) 2) (cbrt.f64 (+.f64 -1 (exp.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (+.f64 -1 (exp.f64 x))) (sqrt.f64 (+.f64 -1 (exp.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 -1 (pow.f64 (exp.f64 x) 3)) (/.f64 1 (+.f64 1 (+.f64 (pow.f64 (exp.f64 x) 2) (exp.f64 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (-.f64 1 (pow.f64 (exp.f64 x) 2)) (/.f64 1 (-.f64 -1 (exp.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 (sqrt.f64 (exp.f64 x)) 1) (-.f64 (sqrt.f64 (exp.f64 x)) 1))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (+.f64 1 (+.f64 (pow.f64 (exp.f64 x) 2) (exp.f64 x))) (+.f64 -1 (pow.f64 (exp.f64 x) 3))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (-.f64 -1 (exp.f64 x)) (-.f64 1 (pow.f64 (exp.f64 x) 2))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 -1 (pow.f64 (exp.f64 x) 3)) (+.f64 1 (+.f64 (pow.f64 (exp.f64 x) 2) (exp.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 -1 (pow.f64 (exp.f64 x) 3)) (+.f64 (pow.f64 (exp.f64 x) 2) (-.f64 1 (neg.f64 (exp.f64 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 1 (pow.f64 (exp.f64 x) 2)) (-.f64 -1 (exp.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (+.f64 -1 (pow.f64 (exp.f64 x) 3))) (neg.f64 (+.f64 1 (+.f64 (pow.f64 (exp.f64 x) 2) (exp.f64 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (-.f64 1 (pow.f64 (exp.f64 x) 2))) (neg.f64 (-.f64 -1 (exp.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (pow.f64 (exp.f64 x) 2) 1) (-.f64 (exp.f64 x) -1))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (+.f64 -1 (exp.f64 x)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (+.f64 -1 (exp.f64 x)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (+.f64 -1 (exp.f64 x))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (+.f64 -1 (exp.f64 x))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (+.f64 -1 (exp.f64 x)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (+.f64 -1 (exp.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (+.f64 -1 (exp.f64 x)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (+.f64 -1 (exp.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (+.f64 -1 (exp.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (+.f64 -1 (exp.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (exp.f64 x) -1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 (exp.f64 x)) 2) (cbrt.f64 (exp.f64 x)) -1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 (exp.f64 x)) (sqrt.f64 (exp.f64 x)) -1))))) |
| 1× | egg-herbie |
| 633× | cancel-sign-sub-inv_binary64 |
| 499× | fma-neg_binary64 |
| 370× | distribute-rgt-out--_binary64 |
| 315× | fma-def_binary64 |
| 312× | distribute-rgt-out_binary64 |
Useful iterations: 3 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 27 | 94 |
| 1 | 71 | 94 |
| 2 | 163 | 93 |
| 3 | 552 | 86 |
| 4 | 2019 | 86 |
| 5 | 5640 | 86 |
| 1× | node limit |
| Inputs |
|---|
(*.f64 -1 x) |
(+.f64 (*.f64 1/2 (pow.f64 x 2)) (*.f64 -1 x)) |
(+.f64 (*.f64 -1/6 (pow.f64 x 3)) (+.f64 (*.f64 1/2 (pow.f64 x 2)) (*.f64 -1 x))) |
(+.f64 (*.f64 -1/6 (pow.f64 x 3)) (+.f64 (*.f64 1/2 (pow.f64 x 2)) (+.f64 (*.f64 1/24 (pow.f64 x 4)) (*.f64 -1 x)))) |
(-.f64 (exp.f64 (neg.f64 x)) 1) |
(-.f64 (exp.f64 (neg.f64 x)) 1) |
(-.f64 (exp.f64 (neg.f64 x)) 1) |
(-.f64 (exp.f64 (neg.f64 x)) 1) |
(-.f64 (exp.f64 (*.f64 -1 x)) 1) |
(-.f64 (exp.f64 (*.f64 -1 x)) 1) |
(-.f64 (exp.f64 (*.f64 -1 x)) 1) |
(-.f64 (exp.f64 (*.f64 -1 x)) 1) |
| Outputs |
|---|
(*.f64 -1 x) |
(neg.f64 x) |
(+.f64 (*.f64 1/2 (pow.f64 x 2)) (*.f64 -1 x)) |
(fma.f64 1/2 (*.f64 x x) (neg.f64 x)) |
(-.f64 (*.f64 1/2 (*.f64 x x)) x) |
(-.f64 (*.f64 x (*.f64 x 1/2)) x) |
(*.f64 x (fma.f64 x 1/2 -1)) |
(+.f64 (*.f64 -1/6 (pow.f64 x 3)) (+.f64 (*.f64 1/2 (pow.f64 x 2)) (*.f64 -1 x))) |
(fma.f64 -1/6 (pow.f64 x 3) (fma.f64 1/2 (*.f64 x x) (neg.f64 x))) |
(-.f64 (fma.f64 -1/6 (pow.f64 x 3) (*.f64 1/2 (*.f64 x x))) x) |
(-.f64 (*.f64 (*.f64 x x) (+.f64 1/2 (*.f64 x -1/6))) x) |
(fma.f64 x (*.f64 x (fma.f64 x -1/6 1/2)) (neg.f64 x)) |
(+.f64 (*.f64 -1/6 (pow.f64 x 3)) (+.f64 (*.f64 1/2 (pow.f64 x 2)) (+.f64 (*.f64 1/24 (pow.f64 x 4)) (*.f64 -1 x)))) |
(fma.f64 -1/6 (pow.f64 x 3) (fma.f64 1/2 (*.f64 x x) (fma.f64 1/24 (pow.f64 x 4) (neg.f64 x)))) |
(fma.f64 -1/6 (pow.f64 x 3) (fma.f64 1/2 (*.f64 x x) (-.f64 (*.f64 1/24 (pow.f64 x 4)) x))) |
(-.f64 (fma.f64 -1/6 (pow.f64 x 3) (fma.f64 x (*.f64 x 1/2) (*.f64 1/24 (pow.f64 x 4)))) x) |
(fma.f64 x (*.f64 x (fma.f64 x -1/6 1/2)) (fma.f64 1/24 (pow.f64 x 4) (neg.f64 x))) |
(fma.f64 1/24 (pow.f64 x 4) (fma.f64 x (*.f64 x (fma.f64 x -1/6 1/2)) (neg.f64 x))) |
(-.f64 (exp.f64 (neg.f64 x)) 1) |
(expm1.f64 (neg.f64 x)) |
(-.f64 (exp.f64 (neg.f64 x)) 1) |
(expm1.f64 (neg.f64 x)) |
(-.f64 (exp.f64 (neg.f64 x)) 1) |
(expm1.f64 (neg.f64 x)) |
(-.f64 (exp.f64 (neg.f64 x)) 1) |
(expm1.f64 (neg.f64 x)) |
(-.f64 (exp.f64 (*.f64 -1 x)) 1) |
(expm1.f64 (neg.f64 x)) |
(-.f64 (exp.f64 (*.f64 -1 x)) 1) |
(expm1.f64 (neg.f64 x)) |
(-.f64 (exp.f64 (*.f64 -1 x)) 1) |
(expm1.f64 (neg.f64 x)) |
(-.f64 (exp.f64 (*.f64 -1 x)) 1) |
(expm1.f64 (neg.f64 x)) |
Found 1 expressions with local error:
| New | Error | Program |
|---|---|---|
| ✓ | 3.7b | (+.f64 -2 (*.f64 2 (cosh.f64 x))) |
Compiled 16 to 10 computations (37.5% saved)
3 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 1.0ms | x | @ | inf | (+.f64 -2 (*.f64 2 (cosh.f64 x))) |
| 1.0ms | x | @ | -inf | (+.f64 -2 (*.f64 2 (cosh.f64 x))) |
| 1.0ms | x | @ | 0 | (+.f64 -2 (*.f64 2 (cosh.f64 x))) |
| 1× | batch-egg-rewrite |
| 754× | pow1_binary64 |
| 704× | add-log-exp_binary64 |
| 702× | log1p-expm1-u_binary64 |
| 702× | expm1-log1p-u_binary64 |
| 692× | add-exp-log_binary64 |
Useful iterations: 1 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 7 | 9 |
| 1 | 154 | 7 |
| 2 | 1888 | 7 |
| 1× | node limit |
| Inputs |
|---|
(+.f64 -2 (*.f64 2 (cosh.f64 x))) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (fma.f64 2 (cosh.f64 x) -2)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (/.f64 4 (+.f64 -2 (*.f64 -2 (cosh.f64 x)))) (/.f64 (*.f64 4 (pow.f64 (cosh.f64 x) 2)) (+.f64 -2 (*.f64 -2 (cosh.f64 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (fma.f64 2 (cosh.f64 x) -2) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (fma.f64 2 (cosh.f64 x) -2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (fma.f64 2 (cosh.f64 x) -2)) (pow.f64 (cbrt.f64 (fma.f64 2 (cosh.f64 x) -2)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (fma.f64 2 (cosh.f64 x) -2)) 2) (cbrt.f64 (fma.f64 2 (cosh.f64 x) -2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (fma.f64 2 (cosh.f64 x) -2)) (sqrt.f64 (fma.f64 2 (cosh.f64 x) -2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 -8 (*.f64 8 (pow.f64 (cosh.f64 x) 3))) (/.f64 1 (+.f64 4 (-.f64 (*.f64 4 (pow.f64 (cosh.f64 x) 2)) (*.f64 -4 (cosh.f64 x))))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (-.f64 4 (*.f64 4 (pow.f64 (cosh.f64 x) 2))) (/.f64 1 (+.f64 -2 (*.f64 -2 (cosh.f64 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (+.f64 4 (-.f64 (*.f64 4 (pow.f64 (cosh.f64 x) 2)) (*.f64 -4 (cosh.f64 x)))) (+.f64 -8 (*.f64 8 (pow.f64 (cosh.f64 x) 3)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (+.f64 -2 (*.f64 -2 (cosh.f64 x))) (-.f64 4 (*.f64 4 (pow.f64 (cosh.f64 x) 2)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 -8 (*.f64 8 (pow.f64 (cosh.f64 x) 3))) (+.f64 4 (-.f64 (*.f64 4 (pow.f64 (cosh.f64 x) 2)) (*.f64 -4 (cosh.f64 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 -8 (*.f64 8 (pow.f64 (cosh.f64 x) 3))) (+.f64 (*.f64 4 (pow.f64 (cosh.f64 x) 2)) (-.f64 4 (*.f64 -4 (cosh.f64 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 4 (*.f64 4 (pow.f64 (cosh.f64 x) 2))) (+.f64 -2 (*.f64 -2 (cosh.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (+.f64 -8 (*.f64 8 (pow.f64 (cosh.f64 x) 3)))) (neg.f64 (+.f64 4 (-.f64 (*.f64 4 (pow.f64 (cosh.f64 x) 2)) (*.f64 -4 (cosh.f64 x))))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (-.f64 4 (*.f64 4 (pow.f64 (cosh.f64 x) 2)))) (neg.f64 (+.f64 -2 (*.f64 -2 (cosh.f64 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (*.f64 4 (pow.f64 (cosh.f64 x) 2)) 4) (-.f64 (*.f64 2 (cosh.f64 x)) -2))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (fma.f64 2 (cosh.f64 x) -2) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (fma.f64 2 (cosh.f64 x) -2) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (fma.f64 2 (cosh.f64 x) -2)) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (fma.f64 2 (cosh.f64 x) -2)) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (fma.f64 2 (cosh.f64 x) -2) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (fma.f64 2 (cosh.f64 x) -2)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (fma.f64 2 (cosh.f64 x) -2) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (fma.f64 2 (cosh.f64 x) -2)))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (fma.f64 2 (cosh.f64 x) -2)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (fma.f64 2 (cosh.f64 x) -2)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 2 (cosh.f64 x) -2)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cosh.f64 x) 2 -2)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (*.f64 2 (cosh.f64 x)) -2)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 (*.f64 2 (cosh.f64 x))) 2) (cbrt.f64 (*.f64 2 (cosh.f64 x))) -2)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 (*.f64 2 (cosh.f64 x))) (sqrt.f64 (*.f64 2 (cosh.f64 x))) -2))))) |
| 1× | egg-herbie |
| 508× | distribute-rgt-out_binary64 |
| 413× | unswap-sqr_binary64 |
| 382× | distribute-lft-out_binary64 |
| 338× | associate-*l*_binary64 |
| 320× | *-commutative_binary64 |
Useful iterations: 1 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 26 | 168 |
| 1 | 63 | 162 |
| 2 | 142 | 162 |
| 3 | 414 | 162 |
| 4 | 1949 | 162 |
| 5 | 4406 | 162 |
| 6 | 5019 | 162 |
| 7 | 6528 | 162 |
| 1× | node limit |
| Inputs |
|---|
(pow.f64 x 2) |
(+.f64 (pow.f64 x 2) (*.f64 1/12 (pow.f64 x 4))) |
(+.f64 (*.f64 1/360 (pow.f64 x 6)) (+.f64 (pow.f64 x 2) (*.f64 1/12 (pow.f64 x 4)))) |
(+.f64 (*.f64 1/360 (pow.f64 x 6)) (+.f64 (pow.f64 x 2) (+.f64 (*.f64 1/12 (pow.f64 x 4)) (*.f64 1/20160 (pow.f64 x 8))))) |
(-.f64 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x)) 2) |
(-.f64 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x)) 2) |
(-.f64 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x)) 2) |
(-.f64 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x)) 2) |
(-.f64 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x)) 2) |
(-.f64 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x)) 2) |
(-.f64 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x)) 2) |
(-.f64 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x)) 2) |
| Outputs |
|---|
(pow.f64 x 2) |
(*.f64 x x) |
(+.f64 (pow.f64 x 2) (*.f64 1/12 (pow.f64 x 4))) |
(+.f64 (*.f64 x x) (*.f64 1/12 (pow.f64 x 4))) |
(fma.f64 x x (*.f64 1/12 (pow.f64 x 4))) |
(fma.f64 1/12 (pow.f64 x 4) (*.f64 x x)) |
(+.f64 (*.f64 1/360 (pow.f64 x 6)) (+.f64 (pow.f64 x 2) (*.f64 1/12 (pow.f64 x 4)))) |
(fma.f64 1/360 (pow.f64 x 6) (+.f64 (*.f64 x x) (*.f64 1/12 (pow.f64 x 4)))) |
(fma.f64 1/360 (pow.f64 x 6) (fma.f64 x x (*.f64 1/12 (pow.f64 x 4)))) |
(fma.f64 x x (fma.f64 1/12 (pow.f64 x 4) (*.f64 1/360 (pow.f64 x 6)))) |
(fma.f64 1/360 (pow.f64 x 6) (fma.f64 1/12 (pow.f64 x 4) (*.f64 x x))) |
(+.f64 (*.f64 1/360 (pow.f64 x 6)) (+.f64 (pow.f64 x 2) (+.f64 (*.f64 1/12 (pow.f64 x 4)) (*.f64 1/20160 (pow.f64 x 8))))) |
(fma.f64 1/360 (pow.f64 x 6) (+.f64 (*.f64 x x) (fma.f64 1/12 (pow.f64 x 4) (*.f64 1/20160 (pow.f64 x 8))))) |
(fma.f64 1/360 (pow.f64 x 6) (fma.f64 x x (fma.f64 1/12 (pow.f64 x 4) (*.f64 1/20160 (pow.f64 x 8))))) |
(fma.f64 1/360 (pow.f64 x 6) (fma.f64 1/12 (pow.f64 x 4) (fma.f64 1/20160 (pow.f64 x 8) (*.f64 x x)))) |
(fma.f64 (pow.f64 x 4) (fma.f64 (pow.f64 x 4) 1/20160 1/12) (fma.f64 1/360 (pow.f64 x 6) (*.f64 x x))) |
(fma.f64 1/12 (pow.f64 x 4) (fma.f64 1/360 (pow.f64 x 6) (fma.f64 x x (*.f64 1/20160 (pow.f64 x 8))))) |
(-.f64 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x)) 2) |
(+.f64 (exp.f64 (neg.f64 x)) (-.f64 (exp.f64 x) 2)) |
(+.f64 (exp.f64 x) (+.f64 (exp.f64 (neg.f64 x)) -2)) |
(+.f64 (exp.f64 (neg.f64 x)) (+.f64 (exp.f64 x) -2)) |
(-.f64 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x)) 2) |
(+.f64 (exp.f64 (neg.f64 x)) (-.f64 (exp.f64 x) 2)) |
(+.f64 (exp.f64 x) (+.f64 (exp.f64 (neg.f64 x)) -2)) |
(+.f64 (exp.f64 (neg.f64 x)) (+.f64 (exp.f64 x) -2)) |
(-.f64 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x)) 2) |
(+.f64 (exp.f64 (neg.f64 x)) (-.f64 (exp.f64 x) 2)) |
(+.f64 (exp.f64 x) (+.f64 (exp.f64 (neg.f64 x)) -2)) |
(+.f64 (exp.f64 (neg.f64 x)) (+.f64 (exp.f64 x) -2)) |
(-.f64 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x)) 2) |
(+.f64 (exp.f64 (neg.f64 x)) (-.f64 (exp.f64 x) 2)) |
(+.f64 (exp.f64 x) (+.f64 (exp.f64 (neg.f64 x)) -2)) |
(+.f64 (exp.f64 (neg.f64 x)) (+.f64 (exp.f64 x) -2)) |
(-.f64 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x)) 2) |
(+.f64 (exp.f64 (neg.f64 x)) (-.f64 (exp.f64 x) 2)) |
(+.f64 (exp.f64 x) (+.f64 (exp.f64 (neg.f64 x)) -2)) |
(+.f64 (exp.f64 (neg.f64 x)) (+.f64 (exp.f64 x) -2)) |
(-.f64 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x)) 2) |
(+.f64 (exp.f64 (neg.f64 x)) (-.f64 (exp.f64 x) 2)) |
(+.f64 (exp.f64 x) (+.f64 (exp.f64 (neg.f64 x)) -2)) |
(+.f64 (exp.f64 (neg.f64 x)) (+.f64 (exp.f64 x) -2)) |
(-.f64 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x)) 2) |
(+.f64 (exp.f64 (neg.f64 x)) (-.f64 (exp.f64 x) 2)) |
(+.f64 (exp.f64 x) (+.f64 (exp.f64 (neg.f64 x)) -2)) |
(+.f64 (exp.f64 (neg.f64 x)) (+.f64 (exp.f64 x) -2)) |
(-.f64 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x)) 2) |
(+.f64 (exp.f64 (neg.f64 x)) (-.f64 (exp.f64 x) 2)) |
(+.f64 (exp.f64 x) (+.f64 (exp.f64 (neg.f64 x)) -2)) |
(+.f64 (exp.f64 (neg.f64 x)) (+.f64 (exp.f64 x) -2)) |
Found 2 expressions with local error:
| New | Error | Program |
|---|---|---|
| 0.0b | (pow.f64 x 4) | |
| ✓ | 0.0b | (fma.f64 1/12 (pow.f64 x 4) (*.f64 x x)) |
Compiled 18 to 10 computations (44.4% saved)
3 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 0.0ms | x | @ | 0 | (fma.f64 1/12 (pow.f64 x 4) (*.f64 x x)) |
| 0.0ms | x | @ | inf | (fma.f64 1/12 (pow.f64 x 4) (*.f64 x x)) |
| 0.0ms | x | @ | -inf | (fma.f64 1/12 (pow.f64 x 4) (*.f64 x x)) |
| 1× | batch-egg-rewrite |
| 562× | pow1_binary64 |
| 525× | add-log-exp_binary64 |
| 525× | log1p-expm1-u_binary64 |
| 525× | expm1-log1p-u_binary64 |
| 513× | add-exp-log_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 7 | 11 |
| 1 | 145 | 11 |
| 2 | 1510 | 11 |
| 1× | node limit |
| Inputs |
|---|
(fma.f64 1/12 (pow.f64 x 4) (*.f64 x x)) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 x x) (*.f64 1/12 (pow.f64 x 4)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 1/12 (pow.f64 x 4)) (*.f64 x x))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 (*.f64 1/12 (pow.f64 x 4)) 1) (*.f64 x x))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (fma.f64 1/12 (pow.f64 x 4) (*.f64 x x))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (fma.f64 1/12 (pow.f64 x 4) (*.f64 x x)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (fma.f64 1/12 (pow.f64 x 4) (*.f64 x x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (fma.f64 1/12 (pow.f64 x 4) (*.f64 x x))) (pow.f64 (cbrt.f64 (fma.f64 1/12 (pow.f64 x 4) (*.f64 x x))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (fma.f64 1/12 (pow.f64 x 4) (*.f64 x x))) 2) (cbrt.f64 (fma.f64 1/12 (pow.f64 x 4) (*.f64 x x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (fma.f64 1/12 (pow.f64 x 4) (*.f64 x x))) (sqrt.f64 (fma.f64 1/12 (pow.f64 x 4) (*.f64 x x))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 (*.f64 1/12 (pow.f64 x 4)) 3) (pow.f64 x 6)) (+.f64 (*.f64 (*.f64 1/12 (pow.f64 x 4)) (*.f64 1/12 (pow.f64 x 4))) (-.f64 (pow.f64 x 4) (*.f64 (*.f64 1/12 (pow.f64 x 4)) (*.f64 x x)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (*.f64 (*.f64 1/12 (pow.f64 x 4)) (*.f64 1/12 (pow.f64 x 4))) (pow.f64 x 4)) (-.f64 (*.f64 1/12 (pow.f64 x 4)) (*.f64 x x)))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (fma.f64 1/12 (pow.f64 x 4) (*.f64 x x)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (fma.f64 1/12 (pow.f64 x 4) (*.f64 x x)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (fma.f64 1/12 (pow.f64 x 4) (*.f64 x x))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (fma.f64 1/12 (pow.f64 x 4) (*.f64 x x))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (fma.f64 1/12 (pow.f64 x 4) (*.f64 x x)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (fma.f64 1/12 (pow.f64 x 4) (*.f64 x x))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (fma.f64 1/12 (pow.f64 x 4) (*.f64 x x)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (fma.f64 1/12 (pow.f64 x 4) (*.f64 x x))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (fma.f64 1/12 (pow.f64 x 4) (*.f64 x x))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (fma.f64 1/12 (pow.f64 x 4) (*.f64 x x)))))))) |
| 1× | egg-herbie |
| 1057× | sqr-pow_binary64 |
| 963× | fma-def_binary64 |
| 506× | pow-sqr_binary64 |
| 451× | cube-prod_binary64 |
| 363× | fabs-mul_binary64 |
Useful iterations: 1 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 9 | 135 |
| 1 | 18 | 117 |
| 2 | 38 | 117 |
| 3 | 86 | 117 |
| 4 | 293 | 117 |
| 5 | 1235 | 117 |
| 6 | 2593 | 117 |
| 7 | 3274 | 117 |
| 8 | 3485 | 117 |
| 9 | 3726 | 117 |
| 10 | 4023 | 117 |
| 11 | 4409 | 117 |
| 12 | 4874 | 117 |
| 13 | 5415 | 117 |
| 14 | 6041 | 117 |
| 15 | 6792 | 117 |
| 16 | 7102 | 117 |
| 17 | 7324 | 117 |
| 18 | 7520 | 117 |
| 19 | 7578 | 117 |
| 20 | 7602 | 117 |
| 1× | node limit |
| Inputs |
|---|
(pow.f64 x 2) |
(+.f64 (pow.f64 x 2) (*.f64 1/12 (pow.f64 x 4))) |
(+.f64 (pow.f64 x 2) (*.f64 1/12 (pow.f64 x 4))) |
(+.f64 (pow.f64 x 2) (*.f64 1/12 (pow.f64 x 4))) |
(*.f64 1/12 (pow.f64 x 4)) |
(+.f64 (pow.f64 x 2) (*.f64 1/12 (pow.f64 x 4))) |
(+.f64 (pow.f64 x 2) (*.f64 1/12 (pow.f64 x 4))) |
(+.f64 (pow.f64 x 2) (*.f64 1/12 (pow.f64 x 4))) |
(*.f64 1/12 (pow.f64 x 4)) |
(+.f64 (pow.f64 x 2) (*.f64 1/12 (pow.f64 x 4))) |
(+.f64 (pow.f64 x 2) (*.f64 1/12 (pow.f64 x 4))) |
(+.f64 (pow.f64 x 2) (*.f64 1/12 (pow.f64 x 4))) |
| Outputs |
|---|
(pow.f64 x 2) |
(*.f64 x x) |
(+.f64 (pow.f64 x 2) (*.f64 1/12 (pow.f64 x 4))) |
(+.f64 (*.f64 x x) (*.f64 1/12 (pow.f64 x 4))) |
(fma.f64 1/12 (pow.f64 x 4) (*.f64 x x)) |
(fma.f64 x x (*.f64 1/12 (pow.f64 x 4))) |
(*.f64 x (fma.f64 1/12 (pow.f64 x 3) x)) |
(+.f64 (pow.f64 x 2) (*.f64 1/12 (pow.f64 x 4))) |
(+.f64 (*.f64 x x) (*.f64 1/12 (pow.f64 x 4))) |
(fma.f64 1/12 (pow.f64 x 4) (*.f64 x x)) |
(fma.f64 x x (*.f64 1/12 (pow.f64 x 4))) |
(*.f64 x (fma.f64 1/12 (pow.f64 x 3) x)) |
(+.f64 (pow.f64 x 2) (*.f64 1/12 (pow.f64 x 4))) |
(+.f64 (*.f64 x x) (*.f64 1/12 (pow.f64 x 4))) |
(fma.f64 1/12 (pow.f64 x 4) (*.f64 x x)) |
(fma.f64 x x (*.f64 1/12 (pow.f64 x 4))) |
(*.f64 x (fma.f64 1/12 (pow.f64 x 3) x)) |
(*.f64 1/12 (pow.f64 x 4)) |
(+.f64 (pow.f64 x 2) (*.f64 1/12 (pow.f64 x 4))) |
(+.f64 (*.f64 x x) (*.f64 1/12 (pow.f64 x 4))) |
(fma.f64 1/12 (pow.f64 x 4) (*.f64 x x)) |
(fma.f64 x x (*.f64 1/12 (pow.f64 x 4))) |
(*.f64 x (fma.f64 1/12 (pow.f64 x 3) x)) |
(+.f64 (pow.f64 x 2) (*.f64 1/12 (pow.f64 x 4))) |
(+.f64 (*.f64 x x) (*.f64 1/12 (pow.f64 x 4))) |
(fma.f64 1/12 (pow.f64 x 4) (*.f64 x x)) |
(fma.f64 x x (*.f64 1/12 (pow.f64 x 4))) |
(*.f64 x (fma.f64 1/12 (pow.f64 x 3) x)) |
(+.f64 (pow.f64 x 2) (*.f64 1/12 (pow.f64 x 4))) |
(+.f64 (*.f64 x x) (*.f64 1/12 (pow.f64 x 4))) |
(fma.f64 1/12 (pow.f64 x 4) (*.f64 x x)) |
(fma.f64 x x (*.f64 1/12 (pow.f64 x 4))) |
(*.f64 x (fma.f64 1/12 (pow.f64 x 3) x)) |
(*.f64 1/12 (pow.f64 x 4)) |
(+.f64 (pow.f64 x 2) (*.f64 1/12 (pow.f64 x 4))) |
(+.f64 (*.f64 x x) (*.f64 1/12 (pow.f64 x 4))) |
(fma.f64 1/12 (pow.f64 x 4) (*.f64 x x)) |
(fma.f64 x x (*.f64 1/12 (pow.f64 x 4))) |
(*.f64 x (fma.f64 1/12 (pow.f64 x 3) x)) |
(+.f64 (pow.f64 x 2) (*.f64 1/12 (pow.f64 x 4))) |
(+.f64 (*.f64 x x) (*.f64 1/12 (pow.f64 x 4))) |
(fma.f64 1/12 (pow.f64 x 4) (*.f64 x x)) |
(fma.f64 x x (*.f64 1/12 (pow.f64 x 4))) |
(*.f64 x (fma.f64 1/12 (pow.f64 x 3) x)) |
(+.f64 (pow.f64 x 2) (*.f64 1/12 (pow.f64 x 4))) |
(+.f64 (*.f64 x x) (*.f64 1/12 (pow.f64 x 4))) |
(fma.f64 1/12 (pow.f64 x 4) (*.f64 x x)) |
(fma.f64 x x (*.f64 1/12 (pow.f64 x 4))) |
(*.f64 x (fma.f64 1/12 (pow.f64 x 3) x)) |
Compiled 2725 to 1908 computations (30% saved)
7 alts after pruning (5 fresh and 2 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 196 | 5 | 201 |
| Fresh | 0 | 0 | 0 |
| Picked | 1 | 0 | 1 |
| Done | 2 | 2 | 4 |
| Total | 199 | 7 | 206 |
| Status | Error | Program |
|---|---|---|
| ✓ | 1.2b | (*.f64 x x) |
| ▶ | 1.2b | (+.f64 (*.f64 x x) (*.f64 1/12 (pow.f64 x 4))) |
| ▶ | 27.6b | (*.f64 1/12 (pow.f64 x 4)) |
| ▶ | 59.6b | (expm1.f64 (neg.f64 x)) |
| ✓ | 26.6b | (+.f64 -2 (*.f64 2 (cosh.f64 x))) |
| ▶ | 1.2b | (fma.f64 x x (*.f64 1/12 (pow.f64 x 4))) |
| ▶ | 60.2b | (neg.f64 x) |
Compiled 75 to 54 computations (28% saved)
Found 3 expressions with local error:
| New | Error | Program |
|---|---|---|
| 0.0b | (pow.f64 x 4) | |
| ✓ | 0.0b | (fma.f64 x x (*.f64 1/12 (pow.f64 x 4))) |
| 0.1b | (*.f64 1/12 (pow.f64 x 4)) |
Compiled 20 to 14 computations (30% saved)
3 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 0.0ms | x | @ | 0 | (fma.f64 x x (*.f64 1/12 (pow.f64 x 4))) |
| 0.0ms | x | @ | inf | (fma.f64 x x (*.f64 1/12 (pow.f64 x 4))) |
| 0.0ms | x | @ | -inf | (fma.f64 x x (*.f64 1/12 (pow.f64 x 4))) |
| 1× | batch-egg-rewrite |
| 600× | pow1_binary64 |
| 558× | add-log-exp_binary64 |
| 558× | log1p-expm1-u_binary64 |
| 558× | expm1-log1p-u_binary64 |
| 546× | add-exp-log_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 7 | 11 |
| 1 | 146 | 11 |
| 2 | 1558 | 11 |
| 1× | node limit |
| Inputs |
|---|
(fma.f64 x x (*.f64 1/12 (pow.f64 x 4))) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 1/12 (pow.f64 x 4)) (*.f64 x x))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 x x) (*.f64 1/12 (pow.f64 x 4)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 (*.f64 x x) 1) (*.f64 1/12 (pow.f64 x 4)))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (fma.f64 x x (*.f64 1/12 (pow.f64 x 4)))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (fma.f64 x x (*.f64 1/12 (pow.f64 x 4))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (fma.f64 x x (*.f64 1/12 (pow.f64 x 4))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (fma.f64 x x (*.f64 1/12 (pow.f64 x 4)))) (pow.f64 (cbrt.f64 (fma.f64 x x (*.f64 1/12 (pow.f64 x 4)))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (fma.f64 x x (*.f64 1/12 (pow.f64 x 4)))) 2) (cbrt.f64 (fma.f64 x x (*.f64 1/12 (pow.f64 x 4)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (hypot.f64 x (*.f64 (*.f64 x x) (sqrt.f64 1/12))) (hypot.f64 x (*.f64 (*.f64 x x) (sqrt.f64 1/12))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 (*.f64 x x) 3) (pow.f64 (*.f64 1/12 (pow.f64 x 4)) 3)) (+.f64 (pow.f64 x 4) (-.f64 (*.f64 1/144 (pow.f64 x 8)) (*.f64 (*.f64 x x) (*.f64 1/12 (pow.f64 x 4))))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (pow.f64 x 4) (*.f64 1/144 (pow.f64 x 8))) (-.f64 (*.f64 x x) (*.f64 1/12 (pow.f64 x 4))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (fma.f64 x x (*.f64 1/12 (pow.f64 x 4))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (fma.f64 x x (*.f64 1/12 (pow.f64 x 4))) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (fma.f64 x x (*.f64 1/12 (pow.f64 x 4)))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (hypot.f64 x (*.f64 (*.f64 x x) (sqrt.f64 1/12))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (fma.f64 x x (*.f64 1/12 (pow.f64 x 4))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (fma.f64 x x (*.f64 1/12 (pow.f64 x 4)))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (fma.f64 x x (*.f64 1/12 (pow.f64 x 4))) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (fma.f64 x x (*.f64 1/12 (pow.f64 x 4)))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (fma.f64 x x (*.f64 1/12 (pow.f64 x 4)))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (fma.f64 x x (*.f64 1/12 (pow.f64 x 4))))))))) |
| 1× | egg-herbie |
| 1057× | sqr-pow_binary64 |
| 963× | fma-def_binary64 |
| 506× | pow-sqr_binary64 |
| 451× | cube-prod_binary64 |
| 363× | fabs-mul_binary64 |
Useful iterations: 1 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 9 | 135 |
| 1 | 18 | 117 |
| 2 | 38 | 117 |
| 3 | 86 | 117 |
| 4 | 293 | 117 |
| 5 | 1235 | 117 |
| 6 | 2593 | 117 |
| 7 | 3274 | 117 |
| 8 | 3485 | 117 |
| 9 | 3726 | 117 |
| 10 | 4023 | 117 |
| 11 | 4409 | 117 |
| 12 | 4874 | 117 |
| 13 | 5415 | 117 |
| 14 | 6041 | 117 |
| 15 | 6792 | 117 |
| 16 | 7102 | 117 |
| 17 | 7324 | 117 |
| 18 | 7520 | 117 |
| 19 | 7578 | 117 |
| 20 | 7602 | 117 |
| 1× | node limit |
| Inputs |
|---|
(pow.f64 x 2) |
(+.f64 (pow.f64 x 2) (*.f64 1/12 (pow.f64 x 4))) |
(+.f64 (pow.f64 x 2) (*.f64 1/12 (pow.f64 x 4))) |
(+.f64 (pow.f64 x 2) (*.f64 1/12 (pow.f64 x 4))) |
(*.f64 1/12 (pow.f64 x 4)) |
(+.f64 (pow.f64 x 2) (*.f64 1/12 (pow.f64 x 4))) |
(+.f64 (pow.f64 x 2) (*.f64 1/12 (pow.f64 x 4))) |
(+.f64 (pow.f64 x 2) (*.f64 1/12 (pow.f64 x 4))) |
(*.f64 1/12 (pow.f64 x 4)) |
(+.f64 (pow.f64 x 2) (*.f64 1/12 (pow.f64 x 4))) |
(+.f64 (pow.f64 x 2) (*.f64 1/12 (pow.f64 x 4))) |
(+.f64 (pow.f64 x 2) (*.f64 1/12 (pow.f64 x 4))) |
| Outputs |
|---|
(pow.f64 x 2) |
(*.f64 x x) |
(+.f64 (pow.f64 x 2) (*.f64 1/12 (pow.f64 x 4))) |
(+.f64 (*.f64 x x) (*.f64 1/12 (pow.f64 x 4))) |
(fma.f64 1/12 (pow.f64 x 4) (*.f64 x x)) |
(fma.f64 x x (*.f64 1/12 (pow.f64 x 4))) |
(*.f64 x (fma.f64 1/12 (pow.f64 x 3) x)) |
(+.f64 (pow.f64 x 2) (*.f64 1/12 (pow.f64 x 4))) |
(+.f64 (*.f64 x x) (*.f64 1/12 (pow.f64 x 4))) |
(fma.f64 1/12 (pow.f64 x 4) (*.f64 x x)) |
(fma.f64 x x (*.f64 1/12 (pow.f64 x 4))) |
(*.f64 x (fma.f64 1/12 (pow.f64 x 3) x)) |
(+.f64 (pow.f64 x 2) (*.f64 1/12 (pow.f64 x 4))) |
(+.f64 (*.f64 x x) (*.f64 1/12 (pow.f64 x 4))) |
(fma.f64 1/12 (pow.f64 x 4) (*.f64 x x)) |
(fma.f64 x x (*.f64 1/12 (pow.f64 x 4))) |
(*.f64 x (fma.f64 1/12 (pow.f64 x 3) x)) |
(*.f64 1/12 (pow.f64 x 4)) |
(+.f64 (pow.f64 x 2) (*.f64 1/12 (pow.f64 x 4))) |
(+.f64 (*.f64 x x) (*.f64 1/12 (pow.f64 x 4))) |
(fma.f64 1/12 (pow.f64 x 4) (*.f64 x x)) |
(fma.f64 x x (*.f64 1/12 (pow.f64 x 4))) |
(*.f64 x (fma.f64 1/12 (pow.f64 x 3) x)) |
(+.f64 (pow.f64 x 2) (*.f64 1/12 (pow.f64 x 4))) |
(+.f64 (*.f64 x x) (*.f64 1/12 (pow.f64 x 4))) |
(fma.f64 1/12 (pow.f64 x 4) (*.f64 x x)) |
(fma.f64 x x (*.f64 1/12 (pow.f64 x 4))) |
(*.f64 x (fma.f64 1/12 (pow.f64 x 3) x)) |
(+.f64 (pow.f64 x 2) (*.f64 1/12 (pow.f64 x 4))) |
(+.f64 (*.f64 x x) (*.f64 1/12 (pow.f64 x 4))) |
(fma.f64 1/12 (pow.f64 x 4) (*.f64 x x)) |
(fma.f64 x x (*.f64 1/12 (pow.f64 x 4))) |
(*.f64 x (fma.f64 1/12 (pow.f64 x 3) x)) |
(*.f64 1/12 (pow.f64 x 4)) |
(+.f64 (pow.f64 x 2) (*.f64 1/12 (pow.f64 x 4))) |
(+.f64 (*.f64 x x) (*.f64 1/12 (pow.f64 x 4))) |
(fma.f64 1/12 (pow.f64 x 4) (*.f64 x x)) |
(fma.f64 x x (*.f64 1/12 (pow.f64 x 4))) |
(*.f64 x (fma.f64 1/12 (pow.f64 x 3) x)) |
(+.f64 (pow.f64 x 2) (*.f64 1/12 (pow.f64 x 4))) |
(+.f64 (*.f64 x x) (*.f64 1/12 (pow.f64 x 4))) |
(fma.f64 1/12 (pow.f64 x 4) (*.f64 x x)) |
(fma.f64 x x (*.f64 1/12 (pow.f64 x 4))) |
(*.f64 x (fma.f64 1/12 (pow.f64 x 3) x)) |
(+.f64 (pow.f64 x 2) (*.f64 1/12 (pow.f64 x 4))) |
(+.f64 (*.f64 x x) (*.f64 1/12 (pow.f64 x 4))) |
(fma.f64 1/12 (pow.f64 x 4) (*.f64 x x)) |
(fma.f64 x x (*.f64 1/12 (pow.f64 x 4))) |
(*.f64 x (fma.f64 1/12 (pow.f64 x 3) x)) |
Compiled 4 to 2 computations (50% saved)
Compiled 7 to 3 computations (57.1% saved)
Found 2 expressions with local error:
| New | Error | Program |
|---|---|---|
| 0.0b | (pow.f64 x 4) | |
| 0.1b | (*.f64 1/12 (pow.f64 x 4)) |
Compiled 12 to 9 computations (25% saved)
Found 3 expressions with local error:
| New | Error | Program |
|---|---|---|
| 0.0b | (pow.f64 x 4) | |
| ✓ | 0.0b | (+.f64 (*.f64 x x) (*.f64 1/12 (pow.f64 x 4))) |
| 0.1b | (*.f64 1/12 (pow.f64 x 4)) |
Compiled 24 to 15 computations (37.5% saved)
3 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 0.0ms | x | @ | inf | (+.f64 (*.f64 x x) (*.f64 1/12 (pow.f64 x 4))) |
| 0.0ms | x | @ | 0 | (+.f64 (*.f64 x x) (*.f64 1/12 (pow.f64 x 4))) |
| 0.0ms | x | @ | -inf | (+.f64 (*.f64 x x) (*.f64 1/12 (pow.f64 x 4))) |
| 1× | batch-egg-rewrite |
| 799× | pow1_binary64 |
| 752× | add-log-exp_binary64 |
| 752× | log1p-expm1-u_binary64 |
| 752× | expm1-log1p-u_binary64 |
| 735× | add-exp-log_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 8 | 11 |
| 1 | 178 | 11 |
| 2 | 2166 | 11 |
| 1× | node limit |
| Inputs |
|---|
(+.f64 (*.f64 x x) (*.f64 1/12 (pow.f64 x 4))) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (fma.f64 1/12 (pow.f64 x 4) (*.f64 x x))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (/.f64 (pow.f64 x 4) (+.f64 (*.f64 x x) (*.f64 -1/12 (pow.f64 x 4)))) (/.f64 (*.f64 (pow.f64 x 8) 1/144) (+.f64 (*.f64 x x) (*.f64 -1/12 (pow.f64 x 4)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (fma.f64 1/12 (pow.f64 x 4) (*.f64 x x)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (fma.f64 1/12 (pow.f64 x 4) (*.f64 x x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (fma.f64 1/12 (pow.f64 x 4) (*.f64 x x))) (pow.f64 (cbrt.f64 (fma.f64 1/12 (pow.f64 x 4) (*.f64 x x))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (fma.f64 1/12 (pow.f64 x 4) (*.f64 x x))) 2) (cbrt.f64 (fma.f64 1/12 (pow.f64 x 4) (*.f64 x x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (hypot.f64 x (*.f64 (*.f64 x x) (sqrt.f64 1/12))) (hypot.f64 x (*.f64 (*.f64 x x) (sqrt.f64 1/12))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 (pow.f64 x 6) (*.f64 (pow.f64 (pow.f64 x 4) 3) 1/1728)) (/.f64 1 (-.f64 (+.f64 (pow.f64 x 4) (*.f64 (pow.f64 x 8) 1/144)) (*.f64 (pow.f64 x 6) 1/12))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (-.f64 (pow.f64 x 4) (*.f64 (pow.f64 x 8) 1/144)) (/.f64 1 (+.f64 (*.f64 x x) (*.f64 -1/12 (pow.f64 x 4)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (-.f64 (+.f64 (pow.f64 x 4) (*.f64 (pow.f64 x 8) 1/144)) (*.f64 (pow.f64 x 6) 1/12)) (+.f64 (pow.f64 x 6) (*.f64 (pow.f64 (pow.f64 x 4) 3) 1/1728))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (+.f64 (*.f64 x x) (*.f64 -1/12 (pow.f64 x 4))) (-.f64 (pow.f64 x 4) (*.f64 (pow.f64 x 8) 1/144))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 x 6) (*.f64 (pow.f64 (pow.f64 x 4) 3) 1/1728)) (-.f64 (+.f64 (pow.f64 x 4) (*.f64 (pow.f64 x 8) 1/144)) (*.f64 (pow.f64 x 6) 1/12)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 x 6) (*.f64 (pow.f64 (pow.f64 x 4) 3) 1/1728)) (+.f64 (*.f64 (pow.f64 x 8) 1/144) (-.f64 (pow.f64 x 4) (*.f64 (pow.f64 x 6) 1/12))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (pow.f64 x 4) (*.f64 (pow.f64 x 8) 1/144)) (+.f64 (*.f64 x x) (*.f64 -1/12 (pow.f64 x 4))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (+.f64 (pow.f64 x 6) (*.f64 (pow.f64 (pow.f64 x 4) 3) 1/1728))) (neg.f64 (-.f64 (+.f64 (pow.f64 x 4) (*.f64 (pow.f64 x 8) 1/144)) (*.f64 (pow.f64 x 6) 1/12))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (-.f64 (pow.f64 x 4) (*.f64 (pow.f64 x 8) 1/144))) (neg.f64 (+.f64 (*.f64 x x) (*.f64 -1/12 (pow.f64 x 4)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (*.f64 (pow.f64 x 8) 1/144) (pow.f64 x 4)) (-.f64 (*.f64 1/12 (pow.f64 x 4)) (*.f64 x x)))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (fma.f64 1/12 (pow.f64 x 4) (*.f64 x x)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (fma.f64 1/12 (pow.f64 x 4) (*.f64 x x)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (fma.f64 1/12 (pow.f64 x 4) (*.f64 x x))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (hypot.f64 x (*.f64 (*.f64 x x) (sqrt.f64 1/12))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (fma.f64 1/12 (pow.f64 x 4) (*.f64 x x)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (fma.f64 1/12 (pow.f64 x 4) (*.f64 x x))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (fma.f64 1/12 (pow.f64 x 4) (*.f64 x x)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (fma.f64 1/12 (pow.f64 x 4) (*.f64 x x))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (fma.f64 1/12 (pow.f64 x 4) (*.f64 x x))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (fma.f64 1/12 (pow.f64 x 4) (*.f64 x x))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 x x (*.f64 1/12 (pow.f64 x 4)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1/12 (pow.f64 x 4) (*.f64 x x))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 x 4) 1/12 (*.f64 x x))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (*.f64 x x) (*.f64 1/12 (pow.f64 x 4)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (*.f64 1/12 (pow.f64 x 4)) (*.f64 x x))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (pow.f64 x 4)) (pow.f64 (cbrt.f64 x) 2) (*.f64 1/12 (pow.f64 x 4)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (*.f64 (pow.f64 x 8) 1/144)) (cbrt.f64 (*.f64 1/12 (pow.f64 x 4))) (*.f64 x x))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 (*.f64 x x) (sqrt.f64 1/12)) (*.f64 (*.f64 x x) (sqrt.f64 1/12)) (*.f64 x x)))))) |
| 1× | egg-herbie |
| 1057× | sqr-pow_binary64 |
| 963× | fma-def_binary64 |
| 506× | pow-sqr_binary64 |
| 451× | cube-prod_binary64 |
| 363× | fabs-mul_binary64 |
Useful iterations: 1 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 9 | 135 |
| 1 | 18 | 117 |
| 2 | 38 | 117 |
| 3 | 86 | 117 |
| 4 | 293 | 117 |
| 5 | 1235 | 117 |
| 6 | 2593 | 117 |
| 7 | 3274 | 117 |
| 8 | 3485 | 117 |
| 9 | 3726 | 117 |
| 10 | 4023 | 117 |
| 11 | 4409 | 117 |
| 12 | 4874 | 117 |
| 13 | 5415 | 117 |
| 14 | 6041 | 117 |
| 15 | 6792 | 117 |
| 16 | 7102 | 117 |
| 17 | 7324 | 117 |
| 18 | 7520 | 117 |
| 19 | 7578 | 117 |
| 20 | 7602 | 117 |
| 1× | node limit |
| Inputs |
|---|
(pow.f64 x 2) |
(+.f64 (pow.f64 x 2) (*.f64 1/12 (pow.f64 x 4))) |
(+.f64 (pow.f64 x 2) (*.f64 1/12 (pow.f64 x 4))) |
(+.f64 (pow.f64 x 2) (*.f64 1/12 (pow.f64 x 4))) |
(*.f64 1/12 (pow.f64 x 4)) |
(+.f64 (pow.f64 x 2) (*.f64 1/12 (pow.f64 x 4))) |
(+.f64 (pow.f64 x 2) (*.f64 1/12 (pow.f64 x 4))) |
(+.f64 (pow.f64 x 2) (*.f64 1/12 (pow.f64 x 4))) |
(*.f64 1/12 (pow.f64 x 4)) |
(+.f64 (pow.f64 x 2) (*.f64 1/12 (pow.f64 x 4))) |
(+.f64 (pow.f64 x 2) (*.f64 1/12 (pow.f64 x 4))) |
(+.f64 (pow.f64 x 2) (*.f64 1/12 (pow.f64 x 4))) |
| Outputs |
|---|
(pow.f64 x 2) |
(*.f64 x x) |
(+.f64 (pow.f64 x 2) (*.f64 1/12 (pow.f64 x 4))) |
(+.f64 (*.f64 x x) (*.f64 1/12 (pow.f64 x 4))) |
(fma.f64 1/12 (pow.f64 x 4) (*.f64 x x)) |
(fma.f64 x x (*.f64 1/12 (pow.f64 x 4))) |
(*.f64 x (fma.f64 1/12 (pow.f64 x 3) x)) |
(+.f64 (pow.f64 x 2) (*.f64 1/12 (pow.f64 x 4))) |
(+.f64 (*.f64 x x) (*.f64 1/12 (pow.f64 x 4))) |
(fma.f64 1/12 (pow.f64 x 4) (*.f64 x x)) |
(fma.f64 x x (*.f64 1/12 (pow.f64 x 4))) |
(*.f64 x (fma.f64 1/12 (pow.f64 x 3) x)) |
(+.f64 (pow.f64 x 2) (*.f64 1/12 (pow.f64 x 4))) |
(+.f64 (*.f64 x x) (*.f64 1/12 (pow.f64 x 4))) |
(fma.f64 1/12 (pow.f64 x 4) (*.f64 x x)) |
(fma.f64 x x (*.f64 1/12 (pow.f64 x 4))) |
(*.f64 x (fma.f64 1/12 (pow.f64 x 3) x)) |
(*.f64 1/12 (pow.f64 x 4)) |
(+.f64 (pow.f64 x 2) (*.f64 1/12 (pow.f64 x 4))) |
(+.f64 (*.f64 x x) (*.f64 1/12 (pow.f64 x 4))) |
(fma.f64 1/12 (pow.f64 x 4) (*.f64 x x)) |
(fma.f64 x x (*.f64 1/12 (pow.f64 x 4))) |
(*.f64 x (fma.f64 1/12 (pow.f64 x 3) x)) |
(+.f64 (pow.f64 x 2) (*.f64 1/12 (pow.f64 x 4))) |
(+.f64 (*.f64 x x) (*.f64 1/12 (pow.f64 x 4))) |
(fma.f64 1/12 (pow.f64 x 4) (*.f64 x x)) |
(fma.f64 x x (*.f64 1/12 (pow.f64 x 4))) |
(*.f64 x (fma.f64 1/12 (pow.f64 x 3) x)) |
(+.f64 (pow.f64 x 2) (*.f64 1/12 (pow.f64 x 4))) |
(+.f64 (*.f64 x x) (*.f64 1/12 (pow.f64 x 4))) |
(fma.f64 1/12 (pow.f64 x 4) (*.f64 x x)) |
(fma.f64 x x (*.f64 1/12 (pow.f64 x 4))) |
(*.f64 x (fma.f64 1/12 (pow.f64 x 3) x)) |
(*.f64 1/12 (pow.f64 x 4)) |
(+.f64 (pow.f64 x 2) (*.f64 1/12 (pow.f64 x 4))) |
(+.f64 (*.f64 x x) (*.f64 1/12 (pow.f64 x 4))) |
(fma.f64 1/12 (pow.f64 x 4) (*.f64 x x)) |
(fma.f64 x x (*.f64 1/12 (pow.f64 x 4))) |
(*.f64 x (fma.f64 1/12 (pow.f64 x 3) x)) |
(+.f64 (pow.f64 x 2) (*.f64 1/12 (pow.f64 x 4))) |
(+.f64 (*.f64 x x) (*.f64 1/12 (pow.f64 x 4))) |
(fma.f64 1/12 (pow.f64 x 4) (*.f64 x x)) |
(fma.f64 x x (*.f64 1/12 (pow.f64 x 4))) |
(*.f64 x (fma.f64 1/12 (pow.f64 x 3) x)) |
(+.f64 (pow.f64 x 2) (*.f64 1/12 (pow.f64 x 4))) |
(+.f64 (*.f64 x x) (*.f64 1/12 (pow.f64 x 4))) |
(fma.f64 1/12 (pow.f64 x 4) (*.f64 x x)) |
(fma.f64 x x (*.f64 1/12 (pow.f64 x 4))) |
(*.f64 x (fma.f64 1/12 (pow.f64 x 3) x)) |
Compiled 1669 to 1137 computations (31.9% saved)
7 alts after pruning (3 fresh and 4 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 138 | 3 | 141 |
| Fresh | 0 | 0 | 0 |
| Picked | 1 | 0 | 1 |
| Done | 2 | 4 | 6 |
| Total | 141 | 7 | 148 |
| Status | Error | Program |
|---|---|---|
| ✓ | 1.2b | (*.f64 x x) |
| ▶ | 1.2b | (fma.f64 x x (*.f64 1/12 (*.f64 (*.f64 x x) (*.f64 x x)))) |
| ✓ | 59.6b | (expm1.f64 (neg.f64 x)) |
| ▶ | 1.2b | (+.f64 (*.f64 x x) (*.f64 1/12 (*.f64 (*.f64 x x) (*.f64 x x)))) |
| ▶ | 27.6b | (*.f64 1/12 (*.f64 (*.f64 x x) (*.f64 x x))) |
| ✓ | 26.6b | (+.f64 -2 (*.f64 2 (cosh.f64 x))) |
| ✓ | 60.2b | (neg.f64 x) |
Compiled 55 to 30 computations (45.5% saved)
Found 2 expressions with local error:
| New | Error | Program |
|---|---|---|
| ✓ | 0.1b | (*.f64 1/12 (*.f64 (*.f64 x x) (*.f64 x x))) |
| ✓ | 0.1b | (*.f64 (*.f64 x x) (*.f64 x x)) |
Compiled 22 to 6 computations (72.7% saved)
6 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 0.0ms | x | @ | inf | (*.f64 (*.f64 x x) (*.f64 x x)) |
| 0.0ms | x | @ | 0 | (*.f64 (*.f64 x x) (*.f64 x x)) |
| 0.0ms | x | @ | inf | (*.f64 1/12 (*.f64 (*.f64 x x) (*.f64 x x))) |
| 0.0ms | x | @ | -inf | (*.f64 (*.f64 x x) (*.f64 x x)) |
| 0.0ms | x | @ | 0 | (*.f64 1/12 (*.f64 (*.f64 x x) (*.f64 x x))) |
| 1× | batch-egg-rewrite |
| 515× | pow1_binary64 |
| 497× | add-sqr-sqrt_binary64 |
| 479× | add-log-exp_binary64 |
| 479× | log1p-expm1-u_binary64 |
| 479× | expm1-log1p-u_binary64 |
Useful iterations: 1 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 6 | 17 |
| 1 | 124 | 11 |
| 2 | 1442 | 11 |
| 1× | node limit |
| Inputs |
|---|
(*.f64 (*.f64 x x) (*.f64 x x)) |
(*.f64 1/12 (*.f64 (*.f64 x x) (*.f64 x x))) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (pow.f64 x 4)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 x 4)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 x x) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 x 4) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (pow.f64 x 4) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 x (cbrt.f64 x)) 3)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (*.f64 x x) 4))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (pow.f64 x 4)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (pow.f64 x 4) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (pow.f64 x 4)))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (pow.f64 x 4)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (pow.f64 x 4))))))) |
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (*.f64 (pow.f64 x 4) 1/12)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 (pow.f64 x 4) 1/12) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 (pow.f64 x 4) 1/12) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (*.f64 (pow.f64 x 4) 1/12)) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 (*.f64 x x) (sqrt.f64 1/12)) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (*.f64 1/144 (pow.f64 (*.f64 x x) 4)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (pow.f64 (exp.f64 1/12) (pow.f64 x 4)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (*.f64 (pow.f64 x 4) 1/12) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 (pow.f64 x 4) 1/12)))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 (pow.f64 x 4) 1/12)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (*.f64 (pow.f64 x 4) 1/12))))))) |
| 1× | egg-herbie |
| 1319× | sqr-pow_binary64 |
| 659× | pow-sqr_binary64 |
| 576× | cube-prod_binary64 |
| 440× | associate-*l*_binary64 |
| 399× | fabs-mul_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 6 | 132 |
| 1 | 11 | 132 |
| 2 | 21 | 132 |
| 3 | 43 | 132 |
| 4 | 102 | 132 |
| 5 | 313 | 132 |
| 6 | 1157 | 132 |
| 7 | 1825 | 132 |
| 8 | 1949 | 132 |
| 9 | 2118 | 132 |
| 10 | 2317 | 132 |
| 11 | 2588 | 132 |
| 12 | 2947 | 132 |
| 13 | 3398 | 132 |
| 14 | 3929 | 132 |
| 15 | 4555 | 132 |
| 16 | 5302 | 132 |
| 17 | 5608 | 132 |
| 18 | 5832 | 132 |
| 19 | 6030 | 132 |
| 20 | 6086 | 132 |
| 21 | 6110 | 132 |
| 22 | 6944 | 132 |
| 23 | 7857 | 132 |
| 1× | node limit |
| Inputs |
|---|
(pow.f64 x 4) |
(pow.f64 x 4) |
(pow.f64 x 4) |
(pow.f64 x 4) |
(pow.f64 x 4) |
(pow.f64 x 4) |
(pow.f64 x 4) |
(pow.f64 x 4) |
(pow.f64 x 4) |
(pow.f64 x 4) |
(pow.f64 x 4) |
(pow.f64 x 4) |
(*.f64 1/12 (pow.f64 x 4)) |
(*.f64 1/12 (pow.f64 x 4)) |
(*.f64 1/12 (pow.f64 x 4)) |
(*.f64 1/12 (pow.f64 x 4)) |
(*.f64 1/12 (pow.f64 x 4)) |
(*.f64 1/12 (pow.f64 x 4)) |
(*.f64 1/12 (pow.f64 x 4)) |
(*.f64 1/12 (pow.f64 x 4)) |
(*.f64 1/12 (pow.f64 x 4)) |
(*.f64 1/12 (pow.f64 x 4)) |
(*.f64 1/12 (pow.f64 x 4)) |
(*.f64 1/12 (pow.f64 x 4)) |
| Outputs |
|---|
(pow.f64 x 4) |
(pow.f64 x 4) |
(pow.f64 x 4) |
(pow.f64 x 4) |
(pow.f64 x 4) |
(pow.f64 x 4) |
(pow.f64 x 4) |
(pow.f64 x 4) |
(pow.f64 x 4) |
(pow.f64 x 4) |
(pow.f64 x 4) |
(pow.f64 x 4) |
(*.f64 1/12 (pow.f64 x 4)) |
(*.f64 (pow.f64 x 4) 1/12) |
(*.f64 1/12 (pow.f64 x 4)) |
(*.f64 (pow.f64 x 4) 1/12) |
(*.f64 1/12 (pow.f64 x 4)) |
(*.f64 (pow.f64 x 4) 1/12) |
(*.f64 1/12 (pow.f64 x 4)) |
(*.f64 (pow.f64 x 4) 1/12) |
(*.f64 1/12 (pow.f64 x 4)) |
(*.f64 (pow.f64 x 4) 1/12) |
(*.f64 1/12 (pow.f64 x 4)) |
(*.f64 (pow.f64 x 4) 1/12) |
(*.f64 1/12 (pow.f64 x 4)) |
(*.f64 (pow.f64 x 4) 1/12) |
(*.f64 1/12 (pow.f64 x 4)) |
(*.f64 (pow.f64 x 4) 1/12) |
(*.f64 1/12 (pow.f64 x 4)) |
(*.f64 (pow.f64 x 4) 1/12) |
(*.f64 1/12 (pow.f64 x 4)) |
(*.f64 (pow.f64 x 4) 1/12) |
(*.f64 1/12 (pow.f64 x 4)) |
(*.f64 (pow.f64 x 4) 1/12) |
(*.f64 1/12 (pow.f64 x 4)) |
(*.f64 (pow.f64 x 4) 1/12) |
Found 3 expressions with local error:
| New | Error | Program |
|---|---|---|
| ✓ | 0.0b | (+.f64 (*.f64 x x) (*.f64 1/12 (*.f64 (*.f64 x x) (*.f64 x x)))) |
| 0.1b | (*.f64 1/12 (*.f64 (*.f64 x x) (*.f64 x x))) | |
| 0.1b | (*.f64 (*.f64 x x) (*.f64 x x)) |
Compiled 35 to 9 computations (74.3% saved)
3 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 0.0ms | x | @ | 0 | (+.f64 (*.f64 x x) (*.f64 1/12 (*.f64 (*.f64 x x) (*.f64 x x)))) |
| 0.0ms | x | @ | -inf | (+.f64 (*.f64 x x) (*.f64 1/12 (*.f64 (*.f64 x x) (*.f64 x x)))) |
| 0.0ms | x | @ | inf | (+.f64 (*.f64 x x) (*.f64 1/12 (*.f64 (*.f64 x x) (*.f64 x x)))) |
| 1× | batch-egg-rewrite |
| 776× | pow1_binary64 |
| 730× | add-log-exp_binary64 |
| 730× | log1p-expm1-u_binary64 |
| 730× | expm1-log1p-u_binary64 |
| 712× | add-exp-log_binary64 |
Useful iterations: 1 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 7 | 14 |
| 1 | 156 | 11 |
| 2 | 2142 | 11 |
| 1× | node limit |
| Inputs |
|---|
(+.f64 (*.f64 x x) (*.f64 1/12 (*.f64 (*.f64 x x) (*.f64 x x)))) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (fma.f64 1/12 (pow.f64 x 4) (*.f64 x x))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (/.f64 (pow.f64 x 4) (+.f64 (*.f64 x x) (*.f64 -1/12 (pow.f64 x 4)))) (/.f64 (*.f64 (pow.f64 (*.f64 x x) 4) 1/144) (+.f64 (*.f64 x x) (*.f64 -1/12 (pow.f64 x 4)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 x x) (+.f64 (*.f64 (*.f64 x x) 1/12) 1))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 x x) (+.f64 1 (*.f64 (*.f64 x x) 1/12)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (fma.f64 1/12 (pow.f64 x 4) (*.f64 x x)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (fma.f64 1/12 (pow.f64 x 4) (*.f64 x x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (fma.f64 1/12 (pow.f64 x 4) (*.f64 x x))) (pow.f64 (cbrt.f64 (fma.f64 1/12 (pow.f64 x 4) (*.f64 x x))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (fma.f64 1/12 (pow.f64 x 4) (*.f64 x x))) 2) (cbrt.f64 (fma.f64 1/12 (pow.f64 x 4) (*.f64 x x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (hypot.f64 x (*.f64 (*.f64 x x) (sqrt.f64 1/12))) (hypot.f64 x (*.f64 (*.f64 x x) (sqrt.f64 1/12))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 (pow.f64 x 6) (*.f64 (pow.f64 (pow.f64 x 4) 3) 1/1728)) (/.f64 1 (+.f64 (pow.f64 x 4) (-.f64 (*.f64 (pow.f64 (*.f64 x x) 4) 1/144) (*.f64 (pow.f64 x 6) 1/12)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (-.f64 (pow.f64 x 4) (*.f64 (pow.f64 (*.f64 x x) 4) 1/144)) (/.f64 1 (+.f64 (*.f64 x x) (*.f64 -1/12 (pow.f64 x 4)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 (*.f64 (*.f64 x x) 1/12) 1) (*.f64 x x))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (+.f64 (pow.f64 x 4) (-.f64 (*.f64 (pow.f64 (*.f64 x x) 4) 1/144) (*.f64 (pow.f64 x 6) 1/12))) (+.f64 (pow.f64 x 6) (*.f64 (pow.f64 (pow.f64 x 4) 3) 1/1728))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (+.f64 (*.f64 x x) (*.f64 -1/12 (pow.f64 x 4))) (-.f64 (pow.f64 x 4) (*.f64 (pow.f64 (*.f64 x x) 4) 1/144))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 x 6) (*.f64 (pow.f64 (pow.f64 x 4) 3) 1/1728)) (+.f64 (pow.f64 x 4) (-.f64 (*.f64 (pow.f64 (*.f64 x x) 4) 1/144) (*.f64 (pow.f64 x 6) 1/12))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 x 6) (*.f64 (pow.f64 (pow.f64 x 4) 3) 1/1728)) (+.f64 (*.f64 (pow.f64 (*.f64 x x) 4) 1/144) (-.f64 (pow.f64 x 4) (*.f64 (pow.f64 x 6) 1/12))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (pow.f64 x 4) (*.f64 (pow.f64 (*.f64 x x) 4) 1/144)) (+.f64 (*.f64 x x) (*.f64 -1/12 (pow.f64 x 4))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (+.f64 (pow.f64 x 6) (*.f64 (pow.f64 (pow.f64 x 4) 3) 1/1728))) (neg.f64 (+.f64 (pow.f64 x 4) (-.f64 (*.f64 (pow.f64 (*.f64 x x) 4) 1/144) (*.f64 (pow.f64 x 6) 1/12)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (-.f64 (pow.f64 x 4) (*.f64 (pow.f64 (*.f64 x x) 4) 1/144))) (neg.f64 (+.f64 (*.f64 x x) (*.f64 -1/12 (pow.f64 x 4)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (*.f64 (pow.f64 (*.f64 x x) 4) 1/144) (pow.f64 x 4)) (-.f64 (*.f64 1/12 (pow.f64 x 4)) (*.f64 x x)))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (fma.f64 1/12 (pow.f64 x 4) (*.f64 x x)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (fma.f64 1/12 (pow.f64 x 4) (*.f64 x x)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (fma.f64 1/12 (pow.f64 x 4) (*.f64 x x))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (hypot.f64 x (*.f64 (*.f64 x x) (sqrt.f64 1/12))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (fma.f64 1/12 (pow.f64 x 4) (*.f64 x x)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (fma.f64 1/12 (pow.f64 x 4) (*.f64 x x))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (fma.f64 1/12 (pow.f64 x 4) (*.f64 x x)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (fma.f64 1/12 (pow.f64 x 4) (*.f64 x x))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (fma.f64 1/12 (pow.f64 x 4) (*.f64 x x))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (fma.f64 1/12 (pow.f64 x 4) (*.f64 x x))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 x x (*.f64 1/12 (pow.f64 x 4)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1/12 (pow.f64 x 4) (*.f64 x x))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 x 4) 1/12 (*.f64 x x))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (*.f64 x x) (*.f64 1/12 (pow.f64 x 4)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (*.f64 1/12 (pow.f64 x 4)) (*.f64 x x))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 (*.f64 1/12 (pow.f64 x 4))) 2) (cbrt.f64 (*.f64 1/12 (pow.f64 x 4))) (*.f64 x x))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 x (cbrt.f64 x)) (pow.f64 (cbrt.f64 x) 2) (*.f64 1/12 (pow.f64 x 4)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 (*.f64 x x) (sqrt.f64 1/12)) (*.f64 (*.f64 x x) (sqrt.f64 1/12)) (*.f64 x x))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 (*.f64 x x) 1/12) (*.f64 x x) (*.f64 x x)))))) |
| 1× | egg-herbie |
| 1057× | sqr-pow_binary64 |
| 963× | fma-def_binary64 |
| 506× | pow-sqr_binary64 |
| 451× | cube-prod_binary64 |
| 363× | fabs-mul_binary64 |
Useful iterations: 1 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 9 | 135 |
| 1 | 18 | 117 |
| 2 | 38 | 117 |
| 3 | 86 | 117 |
| 4 | 293 | 117 |
| 5 | 1235 | 117 |
| 6 | 2593 | 117 |
| 7 | 3274 | 117 |
| 8 | 3485 | 117 |
| 9 | 3726 | 117 |
| 10 | 4023 | 117 |
| 11 | 4409 | 117 |
| 12 | 4874 | 117 |
| 13 | 5415 | 117 |
| 14 | 6041 | 117 |
| 15 | 6792 | 117 |
| 16 | 7102 | 117 |
| 17 | 7324 | 117 |
| 18 | 7520 | 117 |
| 19 | 7578 | 117 |
| 20 | 7602 | 117 |
| 1× | node limit |
| Inputs |
|---|
(pow.f64 x 2) |
(+.f64 (pow.f64 x 2) (*.f64 1/12 (pow.f64 x 4))) |
(+.f64 (pow.f64 x 2) (*.f64 1/12 (pow.f64 x 4))) |
(+.f64 (pow.f64 x 2) (*.f64 1/12 (pow.f64 x 4))) |
(*.f64 1/12 (pow.f64 x 4)) |
(+.f64 (pow.f64 x 2) (*.f64 1/12 (pow.f64 x 4))) |
(+.f64 (pow.f64 x 2) (*.f64 1/12 (pow.f64 x 4))) |
(+.f64 (pow.f64 x 2) (*.f64 1/12 (pow.f64 x 4))) |
(*.f64 1/12 (pow.f64 x 4)) |
(+.f64 (pow.f64 x 2) (*.f64 1/12 (pow.f64 x 4))) |
(+.f64 (pow.f64 x 2) (*.f64 1/12 (pow.f64 x 4))) |
(+.f64 (pow.f64 x 2) (*.f64 1/12 (pow.f64 x 4))) |
| Outputs |
|---|
(pow.f64 x 2) |
(*.f64 x x) |
(+.f64 (pow.f64 x 2) (*.f64 1/12 (pow.f64 x 4))) |
(+.f64 (*.f64 x x) (*.f64 1/12 (pow.f64 x 4))) |
(fma.f64 1/12 (pow.f64 x 4) (*.f64 x x)) |
(fma.f64 x x (*.f64 1/12 (pow.f64 x 4))) |
(*.f64 x (fma.f64 1/12 (pow.f64 x 3) x)) |
(+.f64 (pow.f64 x 2) (*.f64 1/12 (pow.f64 x 4))) |
(+.f64 (*.f64 x x) (*.f64 1/12 (pow.f64 x 4))) |
(fma.f64 1/12 (pow.f64 x 4) (*.f64 x x)) |
(fma.f64 x x (*.f64 1/12 (pow.f64 x 4))) |
(*.f64 x (fma.f64 1/12 (pow.f64 x 3) x)) |
(+.f64 (pow.f64 x 2) (*.f64 1/12 (pow.f64 x 4))) |
(+.f64 (*.f64 x x) (*.f64 1/12 (pow.f64 x 4))) |
(fma.f64 1/12 (pow.f64 x 4) (*.f64 x x)) |
(fma.f64 x x (*.f64 1/12 (pow.f64 x 4))) |
(*.f64 x (fma.f64 1/12 (pow.f64 x 3) x)) |
(*.f64 1/12 (pow.f64 x 4)) |
(+.f64 (pow.f64 x 2) (*.f64 1/12 (pow.f64 x 4))) |
(+.f64 (*.f64 x x) (*.f64 1/12 (pow.f64 x 4))) |
(fma.f64 1/12 (pow.f64 x 4) (*.f64 x x)) |
(fma.f64 x x (*.f64 1/12 (pow.f64 x 4))) |
(*.f64 x (fma.f64 1/12 (pow.f64 x 3) x)) |
(+.f64 (pow.f64 x 2) (*.f64 1/12 (pow.f64 x 4))) |
(+.f64 (*.f64 x x) (*.f64 1/12 (pow.f64 x 4))) |
(fma.f64 1/12 (pow.f64 x 4) (*.f64 x x)) |
(fma.f64 x x (*.f64 1/12 (pow.f64 x 4))) |
(*.f64 x (fma.f64 1/12 (pow.f64 x 3) x)) |
(+.f64 (pow.f64 x 2) (*.f64 1/12 (pow.f64 x 4))) |
(+.f64 (*.f64 x x) (*.f64 1/12 (pow.f64 x 4))) |
(fma.f64 1/12 (pow.f64 x 4) (*.f64 x x)) |
(fma.f64 x x (*.f64 1/12 (pow.f64 x 4))) |
(*.f64 x (fma.f64 1/12 (pow.f64 x 3) x)) |
(*.f64 1/12 (pow.f64 x 4)) |
(+.f64 (pow.f64 x 2) (*.f64 1/12 (pow.f64 x 4))) |
(+.f64 (*.f64 x x) (*.f64 1/12 (pow.f64 x 4))) |
(fma.f64 1/12 (pow.f64 x 4) (*.f64 x x)) |
(fma.f64 x x (*.f64 1/12 (pow.f64 x 4))) |
(*.f64 x (fma.f64 1/12 (pow.f64 x 3) x)) |
(+.f64 (pow.f64 x 2) (*.f64 1/12 (pow.f64 x 4))) |
(+.f64 (*.f64 x x) (*.f64 1/12 (pow.f64 x 4))) |
(fma.f64 1/12 (pow.f64 x 4) (*.f64 x x)) |
(fma.f64 x x (*.f64 1/12 (pow.f64 x 4))) |
(*.f64 x (fma.f64 1/12 (pow.f64 x 3) x)) |
(+.f64 (pow.f64 x 2) (*.f64 1/12 (pow.f64 x 4))) |
(+.f64 (*.f64 x x) (*.f64 1/12 (pow.f64 x 4))) |
(fma.f64 1/12 (pow.f64 x 4) (*.f64 x x)) |
(fma.f64 x x (*.f64 1/12 (pow.f64 x 4))) |
(*.f64 x (fma.f64 1/12 (pow.f64 x 3) x)) |
Found 3 expressions with local error:
| New | Error | Program |
|---|---|---|
| ✓ | 0.0b | (fma.f64 x x (*.f64 1/12 (*.f64 (*.f64 x x) (*.f64 x x)))) |
| 0.1b | (*.f64 1/12 (*.f64 (*.f64 x x) (*.f64 x x))) | |
| 0.1b | (*.f64 (*.f64 x x) (*.f64 x x)) |
Compiled 34 to 9 computations (73.5% saved)
3 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 0.0ms | x | @ | 0 | (fma.f64 x x (*.f64 1/12 (*.f64 (*.f64 x x) (*.f64 x x)))) |
| 0.0ms | x | @ | -inf | (fma.f64 x x (*.f64 1/12 (*.f64 (*.f64 x x) (*.f64 x x)))) |
| 0.0ms | x | @ | inf | (fma.f64 x x (*.f64 1/12 (*.f64 (*.f64 x x) (*.f64 x x)))) |
| 1× | batch-egg-rewrite |
| 617× | pow1_binary64 |
| 572× | add-log-exp_binary64 |
| 572× | log1p-expm1-u_binary64 |
| 572× | expm1-log1p-u_binary64 |
| 557× | add-exp-log_binary64 |
Useful iterations: 1 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 7 | 14 |
| 1 | 144 | 11 |
| 2 | 1687 | 11 |
| 1× | node limit |
| Inputs |
|---|
(fma.f64 x x (*.f64 1/12 (*.f64 (*.f64 x x) (*.f64 x x)))) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 x x) (*.f64 1/12 (pow.f64 x 4)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 1/12 (pow.f64 x 4)) (*.f64 x x))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (fma.f64 x x (*.f64 1/12 (pow.f64 x 4)))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 x x) (+.f64 1 (*.f64 1/12 (*.f64 x x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (fma.f64 x x (*.f64 1/12 (pow.f64 x 4))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (fma.f64 x x (*.f64 1/12 (pow.f64 x 4))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (fma.f64 x x (*.f64 1/12 (pow.f64 x 4)))) (pow.f64 (cbrt.f64 (fma.f64 x x (*.f64 1/12 (pow.f64 x 4)))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (fma.f64 x x (*.f64 1/12 (pow.f64 x 4)))) 2) (cbrt.f64 (fma.f64 x x (*.f64 1/12 (pow.f64 x 4)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (hypot.f64 x (*.f64 (*.f64 x x) (sqrt.f64 1/12))) (hypot.f64 x (*.f64 (*.f64 x x) (sqrt.f64 1/12))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 (*.f64 1/12 (*.f64 x x)) 1) (*.f64 x x))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 (*.f64 x x) 3) (pow.f64 (*.f64 1/12 (pow.f64 x 4)) 3)) (+.f64 (pow.f64 x 4) (-.f64 (*.f64 1/144 (pow.f64 (*.f64 x x) 4)) (*.f64 (*.f64 x x) (*.f64 1/12 (pow.f64 x 4))))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (pow.f64 x 4) (*.f64 1/144 (pow.f64 (*.f64 x x) 4))) (-.f64 (*.f64 x x) (*.f64 1/12 (pow.f64 x 4))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (fma.f64 x x (*.f64 1/12 (pow.f64 x 4))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (fma.f64 x x (*.f64 1/12 (pow.f64 x 4))) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (fma.f64 x x (*.f64 1/12 (pow.f64 x 4)))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (hypot.f64 x (*.f64 (*.f64 x x) (sqrt.f64 1/12))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (fma.f64 x x (*.f64 1/12 (pow.f64 x 4))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (fma.f64 x x (*.f64 1/12 (pow.f64 x 4)))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (fma.f64 x x (*.f64 1/12 (pow.f64 x 4))) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (fma.f64 x x (*.f64 1/12 (pow.f64 x 4)))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (fma.f64 x x (*.f64 1/12 (pow.f64 x 4)))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (fma.f64 x x (*.f64 1/12 (pow.f64 x 4))))))))) |
| 1× | egg-herbie |
| 1057× | sqr-pow_binary64 |
| 963× | fma-def_binary64 |
| 506× | pow-sqr_binary64 |
| 451× | cube-prod_binary64 |
| 363× | fabs-mul_binary64 |
Useful iterations: 1 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 9 | 135 |
| 1 | 18 | 117 |
| 2 | 38 | 117 |
| 3 | 86 | 117 |
| 4 | 293 | 117 |
| 5 | 1235 | 117 |
| 6 | 2593 | 117 |
| 7 | 3274 | 117 |
| 8 | 3485 | 117 |
| 9 | 3726 | 117 |
| 10 | 4023 | 117 |
| 11 | 4409 | 117 |
| 12 | 4874 | 117 |
| 13 | 5415 | 117 |
| 14 | 6041 | 117 |
| 15 | 6792 | 117 |
| 16 | 7102 | 117 |
| 17 | 7324 | 117 |
| 18 | 7520 | 117 |
| 19 | 7578 | 117 |
| 20 | 7602 | 117 |
| 1× | node limit |
| Inputs |
|---|
(pow.f64 x 2) |
(+.f64 (pow.f64 x 2) (*.f64 1/12 (pow.f64 x 4))) |
(+.f64 (pow.f64 x 2) (*.f64 1/12 (pow.f64 x 4))) |
(+.f64 (pow.f64 x 2) (*.f64 1/12 (pow.f64 x 4))) |
(*.f64 1/12 (pow.f64 x 4)) |
(+.f64 (pow.f64 x 2) (*.f64 1/12 (pow.f64 x 4))) |
(+.f64 (pow.f64 x 2) (*.f64 1/12 (pow.f64 x 4))) |
(+.f64 (pow.f64 x 2) (*.f64 1/12 (pow.f64 x 4))) |
(*.f64 1/12 (pow.f64 x 4)) |
(+.f64 (pow.f64 x 2) (*.f64 1/12 (pow.f64 x 4))) |
(+.f64 (pow.f64 x 2) (*.f64 1/12 (pow.f64 x 4))) |
(+.f64 (pow.f64 x 2) (*.f64 1/12 (pow.f64 x 4))) |
| Outputs |
|---|
(pow.f64 x 2) |
(*.f64 x x) |
(+.f64 (pow.f64 x 2) (*.f64 1/12 (pow.f64 x 4))) |
(+.f64 (*.f64 x x) (*.f64 1/12 (pow.f64 x 4))) |
(fma.f64 1/12 (pow.f64 x 4) (*.f64 x x)) |
(fma.f64 x x (*.f64 1/12 (pow.f64 x 4))) |
(*.f64 x (fma.f64 1/12 (pow.f64 x 3) x)) |
(+.f64 (pow.f64 x 2) (*.f64 1/12 (pow.f64 x 4))) |
(+.f64 (*.f64 x x) (*.f64 1/12 (pow.f64 x 4))) |
(fma.f64 1/12 (pow.f64 x 4) (*.f64 x x)) |
(fma.f64 x x (*.f64 1/12 (pow.f64 x 4))) |
(*.f64 x (fma.f64 1/12 (pow.f64 x 3) x)) |
(+.f64 (pow.f64 x 2) (*.f64 1/12 (pow.f64 x 4))) |
(+.f64 (*.f64 x x) (*.f64 1/12 (pow.f64 x 4))) |
(fma.f64 1/12 (pow.f64 x 4) (*.f64 x x)) |
(fma.f64 x x (*.f64 1/12 (pow.f64 x 4))) |
(*.f64 x (fma.f64 1/12 (pow.f64 x 3) x)) |
(*.f64 1/12 (pow.f64 x 4)) |
(+.f64 (pow.f64 x 2) (*.f64 1/12 (pow.f64 x 4))) |
(+.f64 (*.f64 x x) (*.f64 1/12 (pow.f64 x 4))) |
(fma.f64 1/12 (pow.f64 x 4) (*.f64 x x)) |
(fma.f64 x x (*.f64 1/12 (pow.f64 x 4))) |
(*.f64 x (fma.f64 1/12 (pow.f64 x 3) x)) |
(+.f64 (pow.f64 x 2) (*.f64 1/12 (pow.f64 x 4))) |
(+.f64 (*.f64 x x) (*.f64 1/12 (pow.f64 x 4))) |
(fma.f64 1/12 (pow.f64 x 4) (*.f64 x x)) |
(fma.f64 x x (*.f64 1/12 (pow.f64 x 4))) |
(*.f64 x (fma.f64 1/12 (pow.f64 x 3) x)) |
(+.f64 (pow.f64 x 2) (*.f64 1/12 (pow.f64 x 4))) |
(+.f64 (*.f64 x x) (*.f64 1/12 (pow.f64 x 4))) |
(fma.f64 1/12 (pow.f64 x 4) (*.f64 x x)) |
(fma.f64 x x (*.f64 1/12 (pow.f64 x 4))) |
(*.f64 x (fma.f64 1/12 (pow.f64 x 3) x)) |
(*.f64 1/12 (pow.f64 x 4)) |
(+.f64 (pow.f64 x 2) (*.f64 1/12 (pow.f64 x 4))) |
(+.f64 (*.f64 x x) (*.f64 1/12 (pow.f64 x 4))) |
(fma.f64 1/12 (pow.f64 x 4) (*.f64 x x)) |
(fma.f64 x x (*.f64 1/12 (pow.f64 x 4))) |
(*.f64 x (fma.f64 1/12 (pow.f64 x 3) x)) |
(+.f64 (pow.f64 x 2) (*.f64 1/12 (pow.f64 x 4))) |
(+.f64 (*.f64 x x) (*.f64 1/12 (pow.f64 x 4))) |
(fma.f64 1/12 (pow.f64 x 4) (*.f64 x x)) |
(fma.f64 x x (*.f64 1/12 (pow.f64 x 4))) |
(*.f64 x (fma.f64 1/12 (pow.f64 x 3) x)) |
(+.f64 (pow.f64 x 2) (*.f64 1/12 (pow.f64 x 4))) |
(+.f64 (*.f64 x x) (*.f64 1/12 (pow.f64 x 4))) |
(fma.f64 1/12 (pow.f64 x 4) (*.f64 x x)) |
(fma.f64 x x (*.f64 1/12 (pow.f64 x 4))) |
(*.f64 x (fma.f64 1/12 (pow.f64 x 3) x)) |
Compiled 1702 to 1122 computations (34.1% saved)
8 alts after pruning (1 fresh and 7 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 145 | 1 | 146 |
| Fresh | 0 | 0 | 0 |
| Picked | 0 | 1 | 1 |
| Done | 0 | 6 | 6 |
| Total | 145 | 8 | 153 |
| Status | Error | Program |
|---|---|---|
| ✓ | 1.2b | (*.f64 x x) |
| ✓ | 1.2b | (fma.f64 x x (*.f64 1/12 (*.f64 (*.f64 x x) (*.f64 x x)))) |
| 1.2b | (*.f64 (+.f64 (*.f64 (*.f64 x x) 1/12) 1) (*.f64 x x)) | |
| ✓ | 59.6b | (expm1.f64 (neg.f64 x)) |
| ✓ | 1.2b | (+.f64 (*.f64 x x) (*.f64 1/12 (*.f64 (*.f64 x x) (*.f64 x x)))) |
| ✓ | 27.6b | (*.f64 1/12 (*.f64 (*.f64 x x) (*.f64 x x))) |
| ✓ | 26.6b | (+.f64 -2 (*.f64 2 (cosh.f64 x))) |
| ✓ | 60.2b | (neg.f64 x) |
Compiled 67 to 37 computations (44.8% saved)
| Inputs |
|---|
(neg.f64 x) |
(*.f64 x x) |
(*.f64 1/12 (*.f64 (*.f64 x x) (*.f64 x x))) |
(*.f64 (+.f64 (*.f64 (*.f64 x x) 1/12) 1) (*.f64 x x)) |
(+.f64 (*.f64 x x) (*.f64 1/12 (*.f64 (*.f64 x x) (*.f64 x x)))) |
(expm1.f64 (neg.f64 x)) |
(*.f64 1/12 (pow.f64 x 4)) |
(+.f64 -1 (exp.f64 (neg.f64 x))) |
(+.f64 -2 (*.f64 2 (cosh.f64 x))) |
(+.f64 (*.f64 x x) (*.f64 1/12 (pow.f64 x 4))) |
(fma.f64 x x (*.f64 1/12 (*.f64 (*.f64 x x) (*.f64 x x)))) |
(fma.f64 x x (*.f64 1/12 (pow.f64 x 4))) |
(fma.f64 1/12 (pow.f64 x 4) (*.f64 x x)) |
(+.f64 -2 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))) |
(+.f64 (-.f64 (exp.f64 x) 2) (exp.f64 (neg.f64 x))) |
(fma.f64 x x (fma.f64 1/360 (pow.f64 x 6) (*.f64 1/12 (pow.f64 x 4)))) |
| Outputs |
|---|
(fma.f64 x x (*.f64 1/12 (*.f64 (*.f64 x x) (*.f64 x x)))) |
(+.f64 -2 (*.f64 2 (cosh.f64 x))) |
2 calls:
| 8.0ms | x |
| 4.0ms | (+.f64 (-.f64 (exp.f64 x) 2) (exp.f64 (neg.f64 x))) |
| Error | Segments | Branch |
|---|---|---|
| 1.1b | 1 | x |
| 0b | 2 | (+.f64 (-.f64 (exp.f64 x) 2) (exp.f64 (neg.f64 x))) |
Compiled 135 to 68 computations (49.6% saved)
| 1× | left-value |
| Time | Left | Right |
|---|---|---|
| 0.0ms | 4.909106454675793e-10 | 5078897.058665293 |
Compiled 13 to 10 computations (23.1% saved)
| Inputs |
|---|
(neg.f64 x) |
(*.f64 x x) |
(*.f64 1/12 (*.f64 (*.f64 x x) (*.f64 x x))) |
(*.f64 (+.f64 (*.f64 (*.f64 x x) 1/12) 1) (*.f64 x x)) |
(+.f64 (*.f64 x x) (*.f64 1/12 (*.f64 (*.f64 x x) (*.f64 x x)))) |
(expm1.f64 (neg.f64 x)) |
(*.f64 1/12 (pow.f64 x 4)) |
(+.f64 -1 (exp.f64 (neg.f64 x))) |
(+.f64 -2 (*.f64 2 (cosh.f64 x))) |
(+.f64 (*.f64 x x) (*.f64 1/12 (pow.f64 x 4))) |
| Outputs |
|---|
(*.f64 (+.f64 (*.f64 (*.f64 x x) 1/12) 1) (*.f64 x x)) |
1 calls:
| 6.0ms | x |
| Error | Segments | Branch |
|---|---|---|
| 1.2b | 1 | x |
Compiled 69 to 33 computations (52.2% saved)
Total -59.1b remaining (-4786.1%)
Threshold costs -59.1b (-4786.1%)
| Inputs |
|---|
(neg.f64 x) |
(*.f64 x x) |
(*.f64 1/12 (*.f64 (*.f64 x x) (*.f64 x x))) |
| Outputs |
|---|
(*.f64 x x) |
1 calls:
| 3.0ms | x |
| Error | Segments | Branch |
|---|---|---|
| 1.2b | 1 | x |
Compiled 17 to 7 computations (58.8% saved)
| 1× | egg-herbie |
| 5× | +-commutative_binary64 |
| 5× | *-commutative_binary64 |
| 2× | sub-neg_binary64 |
| 1× | neg-sub0_binary64 |
| 1× | neg-mul-1_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 25 | 67 |
| 1 | 39 | 67 |
| 2 | 42 | 67 |
| 3 | 43 | 67 |
| 1× | fuel |
| 1× | saturated |
| Inputs |
|---|
(if (<=.f64 (+.f64 (-.f64 (exp.f64 x) 2) (exp.f64 (neg.f64 x))) 4835703278458517/9671406556917033397649408) (fma.f64 x x (*.f64 1/12 (*.f64 (*.f64 x x) (*.f64 x x)))) (+.f64 -2 (*.f64 2 (cosh.f64 x)))) |
(*.f64 (+.f64 (*.f64 (*.f64 x x) 1/12) 1) (*.f64 x x)) |
(*.f64 x x) |
(neg.f64 x) |
| Outputs |
|---|
(if (<=.f64 (+.f64 (-.f64 (exp.f64 x) 2) (exp.f64 (neg.f64 x))) 4835703278458517/9671406556917033397649408) (fma.f64 x x (*.f64 1/12 (*.f64 (*.f64 x x) (*.f64 x x)))) (+.f64 -2 (*.f64 2 (cosh.f64 x)))) |
(if (<=.f64 (+.f64 (+.f64 (exp.f64 x) -2) (exp.f64 (neg.f64 x))) 4835703278458517/9671406556917033397649408) (fma.f64 x x (*.f64 1/12 (*.f64 (*.f64 x x) (*.f64 x x)))) (+.f64 -2 (*.f64 2 (cosh.f64 x)))) |
(*.f64 (+.f64 (*.f64 (*.f64 x x) 1/12) 1) (*.f64 x x)) |
(*.f64 (*.f64 x x) (+.f64 (*.f64 1/12 (*.f64 x x)) 1)) |
(*.f64 x x) |
(neg.f64 x) |
Compiled 49 to 31 computations (36.7% saved)
| 3× | egg-herbie |
| 801× | associate-/l*_binary64 |
| 801× | associate-/l*_binary64 |
| 624× | fma-def_binary64 |
| 624× | fma-def_binary64 |
| 581× | fma-neg_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 8 | 13 |
| 1 | 20 | 13 |
| 2 | 36 | 13 |
| 3 | 60 | 13 |
| 4 | 122 | 13 |
| 5 | 273 | 13 |
| 6 | 709 | 13 |
| 7 | 1729 | 13 |
| 8 | 3145 | 13 |
| 9 | 7605 | 13 |
| 0 | 34 | 295 |
| 1 | 85 | 283 |
| 2 | 186 | 279 |
| 3 | 525 | 279 |
| 4 | 2241 | 279 |
| 5 | 4801 | 279 |
| 6 | 5972 | 279 |
| 0 | 8 | 13 |
| 1 | 20 | 13 |
| 2 | 36 | 13 |
| 3 | 60 | 13 |
| 4 | 122 | 13 |
| 5 | 273 | 13 |
| 6 | 709 | 13 |
| 7 | 1729 | 13 |
| 8 | 3145 | 13 |
| 9 | 7605 | 13 |
| 1× | node limit |
| 1× | node limit |
| 1× | node limit |
Compiled 204 to 159 computations (22.1% saved)
Compiled 46 to 25 computations (45.7% saved)
Loading profile data...