Time bar (total: 2.8s)
| 1× | search |
| True | Other | False | Iter |
|---|---|---|---|
| 0% | 99.9% | 0.1% | 0 |
| 0% | 99.9% | 0.1% | 1 |
| 0% | 99.9% | 0.1% | 2 |
| 50% | 50% | 0.1% | 3 |
| 50% | 50% | 0.1% | 4 |
| 62.4% | 37.5% | 0.1% | 5 |
| 62.4% | 31.2% | 6.3% | 6 |
| 68.7% | 21.9% | 9.5% | 7 |
| 68.7% | 17.2% | 14.1% | 8 |
| 71.8% | 11.7% | 16.5% | 9 |
| 71.8% | 9% | 19.2% | 10 |
| 73.4% | 6% | 20.6% | 11 |
| 73.4% | 4.6% | 22% | 12 |
| 74.1% | 3.1% | 22.8% | 13 |
| 74.1% | 2.3% | 23.5% | 14 |
Compiled 9 to 7 computations (22.2% saved)
| 764.0ms | 1553× | body | 2048 | valid |
| 589.0ms | 1825× | body | 1024 | valid |
| 305.0ms | 1158× | body | 512 | valid |
| 284.0ms | 3142× | body | 128 | valid |
| 88.0ms | 578× | body | 256 | valid |
| 13.0ms | 149× | body | 128 | invalid |
Compiled 18 to 14 computations (22.2% saved)
| 2× | egg-herbie |
| 736× | unswap-sqr_binary64 |
| 572× | associate-*l*_binary64 |
| 458× | associate-*r*_binary64 |
| 278× | fma-def_binary64 |
| 262× | distribute-rgt-in_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 10 | 12 |
| 1 | 22 | 12 |
| 2 | 30 | 12 |
| 3 | 48 | 12 |
| 4 | 98 | 12 |
| 5 | 256 | 12 |
| 6 | 875 | 12 |
| 7 | 3913 | 12 |
| 0 | 2 | 2 |
| 1 | 2 | 2 |
| 1× | unsound |
| 1× | node limit |
| Inputs |
|---|
0 |
1 |
| Outputs |
|---|
0 |
1 |
0 |
| Inputs |
|---|
(-.f64 (exp.f64 (*.f64 a x)) 1) |
(-.f64 (exp.f64 (*.f64 x a)) 1) |
| Outputs |
|---|
(-.f64 (exp.f64 (*.f64 a x)) 1) |
(expm1.f64 (*.f64 a x)) |
(-.f64 (exp.f64 (*.f64 x a)) 1) |
(expm1.f64 (*.f64 a x)) |
(sort a x)
Compiled 8 to 6 computations (25% saved)
| 1× | egg-herbie |
| 440× | unswap-sqr_binary64 |
| 329× | associate-*l*_binary64 |
| 275× | associate-+l+_binary64 |
| 252× | associate-*r*_binary64 |
| 201× | associate-/l/_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 7 | 6 |
| 1 | 16 | 6 |
| 2 | 23 | 6 |
| 3 | 35 | 6 |
| 4 | 70 | 6 |
| 5 | 175 | 6 |
| 6 | 556 | 6 |
| 7 | 2331 | 6 |
| 1× | node limit |
| Inputs |
|---|
(-.f64 (exp.f64 (*.f64 a x)) 1) |
| Outputs |
|---|
(-.f64 (exp.f64 (*.f64 a x)) 1) |
(expm1.f64 (*.f64 a x)) |
1 alts after pruning (1 fresh and 0 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 1 | 1 | 2 |
| Fresh | 1 | 0 | 1 |
| Picked | 0 | 0 | 0 |
| Done | 0 | 0 | 0 |
| Total | 2 | 1 | 3 |
| Status | Error | Program |
|---|---|---|
| ▶ | 0.0b | (expm1.f64 (*.f64 a x)) |
Compiled 24 to 15 computations (37.5% saved)
Found 1 expressions with local error:
| New | Error | Program |
|---|---|---|
| ✓ | 0.0b | (expm1.f64 (*.f64 a x)) |
6 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 1.0ms | a | @ | 0 | (expm1.f64 (*.f64 a x)) |
| 1.0ms | x | @ | 0 | (expm1.f64 (*.f64 a x)) |
| 0.0ms | a | @ | -inf | (expm1.f64 (*.f64 a x)) |
| 0.0ms | a | @ | inf | (expm1.f64 (*.f64 a x)) |
| 0.0ms | x | @ | inf | (expm1.f64 (*.f64 a x)) |
| 1× | batch-egg-rewrite |
| 442× | pow1_binary64 |
| 405× | add-log-exp_binary64 |
| 405× | log1p-expm1-u_binary64 |
| 405× | expm1-log1p-u_binary64 |
| 395× | add-exp-log_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 5 | 6 |
| 1 | 96 | 6 |
| 2 | 1113 | 6 |
| 1× | node limit |
| Inputs |
|---|
(expm1.f64 (*.f64 a x)) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x +.f64 (pow.f64 (exp.f64 x) a) -1)))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (pow.f64 (exp.f64 x) a) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (expm1.f64 (*.f64 a x)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (expm1.f64 (*.f64 a x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (expm1.f64 (*.f64 a x))) (pow.f64 (cbrt.f64 (expm1.f64 (*.f64 a x))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (expm1.f64 (*.f64 a x))) 2) (cbrt.f64 (expm1.f64 (*.f64 a x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (expm1.f64 (*.f64 a x))) (sqrt.f64 (expm1.f64 (*.f64 a x))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (pow.f64 (pow.f64 (exp.f64 x) a) 3) 1) (+.f64 (*.f64 (pow.f64 (exp.f64 x) a) (pow.f64 (exp.f64 x) a)) (+.f64 1 (*.f64 (pow.f64 (exp.f64 x) a) 1))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (*.f64 (pow.f64 (exp.f64 x) a) (pow.f64 (exp.f64 x) a)) 1) (+.f64 (pow.f64 (exp.f64 x) a) 1))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (expm1.f64 (*.f64 a x)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (expm1.f64 (*.f64 a x)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (expm1.f64 (*.f64 a x))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (expm1.f64 (*.f64 a x))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (expm1.f64 (*.f64 a x)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (expm1.f64 (*.f64 a x))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (expm1.f64 (*.f64 a x)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (expm1.f64 (*.f64 a x))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (expm1.f64 (*.f64 a x)))))))) |
| 1× | egg-herbie |
| 846× | distribute-lft-out_binary64 |
| 822× | fma-def_binary64 |
| 303× | *-commutative_binary64 |
| 300× | unswap-sqr_binary64 |
| 174× | associate-*l*_binary64 |
Useful iterations: 4 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 31 | 284 |
| 1 | 89 | 284 |
| 2 | 244 | 280 |
| 3 | 1019 | 262 |
| 4 | 3124 | 248 |
| 5 | 4830 | 248 |
| 1× | node limit |
| Inputs |
|---|
(*.f64 a x) |
(+.f64 (*.f64 1/2 (*.f64 (pow.f64 a 2) (pow.f64 x 2))) (*.f64 a x)) |
(+.f64 (*.f64 1/2 (*.f64 (pow.f64 a 2) (pow.f64 x 2))) (+.f64 (*.f64 a x) (*.f64 1/6 (*.f64 (pow.f64 a 3) (pow.f64 x 3))))) |
(+.f64 (*.f64 1/2 (*.f64 (pow.f64 a 2) (pow.f64 x 2))) (+.f64 (*.f64 a x) (+.f64 (*.f64 1/24 (*.f64 (pow.f64 a 4) (pow.f64 x 4))) (*.f64 1/6 (*.f64 (pow.f64 a 3) (pow.f64 x 3)))))) |
(-.f64 (exp.f64 (*.f64 a x)) 1) |
(-.f64 (exp.f64 (*.f64 a x)) 1) |
(-.f64 (exp.f64 (*.f64 a x)) 1) |
(-.f64 (exp.f64 (*.f64 a x)) 1) |
(-.f64 (exp.f64 (*.f64 a x)) 1) |
(-.f64 (exp.f64 (*.f64 a x)) 1) |
(-.f64 (exp.f64 (*.f64 a x)) 1) |
(-.f64 (exp.f64 (*.f64 a x)) 1) |
(*.f64 a x) |
(+.f64 (*.f64 1/2 (*.f64 (pow.f64 a 2) (pow.f64 x 2))) (*.f64 a x)) |
(+.f64 (*.f64 1/2 (*.f64 (pow.f64 a 2) (pow.f64 x 2))) (+.f64 (*.f64 a x) (*.f64 1/6 (*.f64 (pow.f64 a 3) (pow.f64 x 3))))) |
(+.f64 (*.f64 1/2 (*.f64 (pow.f64 a 2) (pow.f64 x 2))) (+.f64 (*.f64 a x) (+.f64 (*.f64 1/24 (*.f64 (pow.f64 a 4) (pow.f64 x 4))) (*.f64 1/6 (*.f64 (pow.f64 a 3) (pow.f64 x 3)))))) |
(-.f64 (exp.f64 (*.f64 a x)) 1) |
(-.f64 (exp.f64 (*.f64 a x)) 1) |
(-.f64 (exp.f64 (*.f64 a x)) 1) |
(-.f64 (exp.f64 (*.f64 a x)) 1) |
(-.f64 (exp.f64 (*.f64 a x)) 1) |
(-.f64 (exp.f64 (*.f64 a x)) 1) |
(-.f64 (exp.f64 (*.f64 a x)) 1) |
(-.f64 (exp.f64 (*.f64 a x)) 1) |
| Outputs |
|---|
(*.f64 a x) |
(+.f64 (*.f64 1/2 (*.f64 (pow.f64 a 2) (pow.f64 x 2))) (*.f64 a x)) |
(fma.f64 1/2 (*.f64 (*.f64 a a) (*.f64 x x)) (*.f64 a x)) |
(fma.f64 a x (*.f64 1/2 (*.f64 a (*.f64 a (*.f64 x x))))) |
(*.f64 x (+.f64 (*.f64 x (*.f64 1/2 (*.f64 a a))) a)) |
(*.f64 x (fma.f64 1/2 (*.f64 a (*.f64 a x)) a)) |
(*.f64 x (fma.f64 x (*.f64 a (*.f64 a 1/2)) a)) |
(+.f64 (*.f64 1/2 (*.f64 (pow.f64 a 2) (pow.f64 x 2))) (+.f64 (*.f64 a x) (*.f64 1/6 (*.f64 (pow.f64 a 3) (pow.f64 x 3))))) |
(fma.f64 1/2 (*.f64 (*.f64 a a) (*.f64 x x)) (fma.f64 a x (*.f64 1/6 (*.f64 (pow.f64 a 3) (pow.f64 x 3))))) |
(fma.f64 1/2 (*.f64 a (*.f64 a (*.f64 x x))) (fma.f64 a x (*.f64 1/6 (*.f64 (pow.f64 a 3) (pow.f64 x 3))))) |
(fma.f64 1/6 (*.f64 (pow.f64 a 3) (pow.f64 x 3)) (*.f64 x (+.f64 (*.f64 x (*.f64 1/2 (*.f64 a a))) a))) |
(*.f64 x (+.f64 a (*.f64 x (fma.f64 a (*.f64 a 1/2) (*.f64 1/6 (*.f64 x (pow.f64 a 3))))))) |
(fma.f64 x (fma.f64 x (*.f64 a (*.f64 a 1/2)) a) (*.f64 1/6 (pow.f64 (*.f64 a x) 3))) |
(+.f64 (*.f64 1/2 (*.f64 (pow.f64 a 2) (pow.f64 x 2))) (+.f64 (*.f64 a x) (+.f64 (*.f64 1/24 (*.f64 (pow.f64 a 4) (pow.f64 x 4))) (*.f64 1/6 (*.f64 (pow.f64 a 3) (pow.f64 x 3)))))) |
(fma.f64 1/2 (*.f64 (*.f64 a a) (*.f64 x x)) (fma.f64 a x (fma.f64 1/24 (*.f64 (pow.f64 a 4) (pow.f64 x 4)) (*.f64 1/6 (*.f64 (pow.f64 a 3) (pow.f64 x 3)))))) |
(fma.f64 1/2 (*.f64 a (*.f64 a (*.f64 x x))) (fma.f64 a x (fma.f64 1/6 (*.f64 (pow.f64 a 3) (pow.f64 x 3)) (*.f64 1/24 (*.f64 (pow.f64 a 4) (pow.f64 x 4)))))) |
(fma.f64 a x (fma.f64 1/2 (*.f64 a (*.f64 a (*.f64 x x))) (fma.f64 1/6 (*.f64 (pow.f64 a 3) (pow.f64 x 3)) (*.f64 1/24 (*.f64 (pow.f64 a 4) (pow.f64 x 4)))))) |
(fma.f64 x (fma.f64 1/2 (*.f64 a (*.f64 a x)) a) (*.f64 (pow.f64 a 3) (+.f64 (*.f64 1/6 (pow.f64 x 3)) (*.f64 a (*.f64 1/24 (pow.f64 x 4)))))) |
(fma.f64 x (fma.f64 x (*.f64 a (*.f64 a 1/2)) a) (fma.f64 1/6 (pow.f64 (*.f64 a x) 3) (*.f64 1/24 (pow.f64 (*.f64 a x) 4)))) |
(-.f64 (exp.f64 (*.f64 a x)) 1) |
(expm1.f64 (*.f64 a x)) |
(-.f64 (exp.f64 (*.f64 a x)) 1) |
(expm1.f64 (*.f64 a x)) |
(-.f64 (exp.f64 (*.f64 a x)) 1) |
(expm1.f64 (*.f64 a x)) |
(-.f64 (exp.f64 (*.f64 a x)) 1) |
(expm1.f64 (*.f64 a x)) |
(-.f64 (exp.f64 (*.f64 a x)) 1) |
(expm1.f64 (*.f64 a x)) |
(-.f64 (exp.f64 (*.f64 a x)) 1) |
(expm1.f64 (*.f64 a x)) |
(-.f64 (exp.f64 (*.f64 a x)) 1) |
(expm1.f64 (*.f64 a x)) |
(-.f64 (exp.f64 (*.f64 a x)) 1) |
(expm1.f64 (*.f64 a x)) |
(*.f64 a x) |
(+.f64 (*.f64 1/2 (*.f64 (pow.f64 a 2) (pow.f64 x 2))) (*.f64 a x)) |
(fma.f64 1/2 (*.f64 (*.f64 a a) (*.f64 x x)) (*.f64 a x)) |
(fma.f64 a x (*.f64 1/2 (*.f64 a (*.f64 a (*.f64 x x))))) |
(*.f64 x (+.f64 (*.f64 x (*.f64 1/2 (*.f64 a a))) a)) |
(*.f64 x (fma.f64 1/2 (*.f64 a (*.f64 a x)) a)) |
(*.f64 x (fma.f64 x (*.f64 a (*.f64 a 1/2)) a)) |
(+.f64 (*.f64 1/2 (*.f64 (pow.f64 a 2) (pow.f64 x 2))) (+.f64 (*.f64 a x) (*.f64 1/6 (*.f64 (pow.f64 a 3) (pow.f64 x 3))))) |
(fma.f64 1/2 (*.f64 (*.f64 a a) (*.f64 x x)) (fma.f64 a x (*.f64 1/6 (*.f64 (pow.f64 a 3) (pow.f64 x 3))))) |
(fma.f64 1/2 (*.f64 a (*.f64 a (*.f64 x x))) (fma.f64 a x (*.f64 1/6 (*.f64 (pow.f64 a 3) (pow.f64 x 3))))) |
(fma.f64 1/6 (*.f64 (pow.f64 a 3) (pow.f64 x 3)) (*.f64 x (+.f64 (*.f64 x (*.f64 1/2 (*.f64 a a))) a))) |
(*.f64 x (+.f64 a (*.f64 x (fma.f64 a (*.f64 a 1/2) (*.f64 1/6 (*.f64 x (pow.f64 a 3))))))) |
(fma.f64 x (fma.f64 x (*.f64 a (*.f64 a 1/2)) a) (*.f64 1/6 (pow.f64 (*.f64 a x) 3))) |
(+.f64 (*.f64 1/2 (*.f64 (pow.f64 a 2) (pow.f64 x 2))) (+.f64 (*.f64 a x) (+.f64 (*.f64 1/24 (*.f64 (pow.f64 a 4) (pow.f64 x 4))) (*.f64 1/6 (*.f64 (pow.f64 a 3) (pow.f64 x 3)))))) |
(fma.f64 1/2 (*.f64 (*.f64 a a) (*.f64 x x)) (fma.f64 a x (fma.f64 1/24 (*.f64 (pow.f64 a 4) (pow.f64 x 4)) (*.f64 1/6 (*.f64 (pow.f64 a 3) (pow.f64 x 3)))))) |
(fma.f64 1/2 (*.f64 a (*.f64 a (*.f64 x x))) (fma.f64 a x (fma.f64 1/6 (*.f64 (pow.f64 a 3) (pow.f64 x 3)) (*.f64 1/24 (*.f64 (pow.f64 a 4) (pow.f64 x 4)))))) |
(fma.f64 a x (fma.f64 1/2 (*.f64 a (*.f64 a (*.f64 x x))) (fma.f64 1/6 (*.f64 (pow.f64 a 3) (pow.f64 x 3)) (*.f64 1/24 (*.f64 (pow.f64 a 4) (pow.f64 x 4)))))) |
(fma.f64 x (fma.f64 1/2 (*.f64 a (*.f64 a x)) a) (*.f64 (pow.f64 a 3) (+.f64 (*.f64 1/6 (pow.f64 x 3)) (*.f64 a (*.f64 1/24 (pow.f64 x 4)))))) |
(fma.f64 x (fma.f64 x (*.f64 a (*.f64 a 1/2)) a) (fma.f64 1/6 (pow.f64 (*.f64 a x) 3) (*.f64 1/24 (pow.f64 (*.f64 a x) 4)))) |
(-.f64 (exp.f64 (*.f64 a x)) 1) |
(expm1.f64 (*.f64 a x)) |
(-.f64 (exp.f64 (*.f64 a x)) 1) |
(expm1.f64 (*.f64 a x)) |
(-.f64 (exp.f64 (*.f64 a x)) 1) |
(expm1.f64 (*.f64 a x)) |
(-.f64 (exp.f64 (*.f64 a x)) 1) |
(expm1.f64 (*.f64 a x)) |
(-.f64 (exp.f64 (*.f64 a x)) 1) |
(expm1.f64 (*.f64 a x)) |
(-.f64 (exp.f64 (*.f64 a x)) 1) |
(expm1.f64 (*.f64 a x)) |
(-.f64 (exp.f64 (*.f64 a x)) 1) |
(expm1.f64 (*.f64 a x)) |
(-.f64 (exp.f64 (*.f64 a x)) 1) |
(expm1.f64 (*.f64 a x)) |
3 alts after pruning (2 fresh and 1 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 25 | 2 | 27 |
| Fresh | 0 | 0 | 0 |
| Picked | 0 | 1 | 1 |
| Done | 0 | 0 | 0 |
| Total | 25 | 3 | 28 |
| Status | Error | Program |
|---|---|---|
| ✓ | 0.0b | (expm1.f64 (*.f64 a x)) |
| ▶ | 17.4b | (cbrt.f64 (pow.f64 (expm1.f64 (*.f64 a x)) 3)) |
| 38.1b | (pow.f64 (sqrt.f64 (expm1.f64 (*.f64 a x))) 2) |
Compiled 343 to 171 computations (50.1% saved)
Found 3 expressions with local error:
| New | Error | Program |
|---|---|---|
| 0.0b | (expm1.f64 (*.f64 a x)) | |
| ✓ | 0.2b | (pow.f64 (expm1.f64 (*.f64 a x)) 3) |
| ✓ | 17.4b | (cbrt.f64 (pow.f64 (expm1.f64 (*.f64 a x)) 3)) |
12 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 1.0ms | x | @ | inf | (pow.f64 (expm1.f64 (*.f64 a x)) 3) |
| 1.0ms | a | @ | 0 | (pow.f64 (expm1.f64 (*.f64 a x)) 3) |
| 1.0ms | x | @ | 0 | (pow.f64 (expm1.f64 (*.f64 a x)) 3) |
| 1.0ms | x | @ | -inf | (pow.f64 (expm1.f64 (*.f64 a x)) 3) |
| 1.0ms | a | @ | inf | (pow.f64 (expm1.f64 (*.f64 a x)) 3) |
| 1× | batch-egg-rewrite |
| 612× | pow1_binary64 |
| 573× | add-log-exp_binary64 |
| 573× | log1p-expm1-u_binary64 |
| 573× | expm1-log1p-u_binary64 |
| 69× | add-sqr-sqrt_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 8 | 15 |
| 1 | 164 | 15 |
| 2 | 1618 | 15 |
| 1× | node limit |
| Inputs |
|---|
(cbrt.f64 (pow.f64 (expm1.f64 (*.f64 a x)) 3)) |
(pow.f64 (expm1.f64 (*.f64 a x)) 3) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x +.f64 (pow.f64 (exp.f64 a) x) -1)))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (pow.f64 (exp.f64 a) x) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (expm1.f64 (*.f64 a x)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (expm1.f64 (*.f64 a x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (expm1.f64 (*.f64 a x))) (pow.f64 (cbrt.f64 (expm1.f64 (*.f64 a x))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (expm1.f64 (*.f64 a x))) (pow.f64 (pow.f64 (expm1.f64 (*.f64 a x)) 2) 1/3))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (expm1.f64 (*.f64 a x))) 2) (cbrt.f64 (expm1.f64 (*.f64 a x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (expm1.f64 (*.f64 a x))) (sqrt.f64 (expm1.f64 (*.f64 a x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (pow.f64 (expm1.f64 (*.f64 a x)) 2) 1/3) (cbrt.f64 (expm1.f64 (*.f64 a x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 1 1/3) (expm1.f64 (*.f64 a x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (pow.f64 (expm1.f64 (*.f64 a x)) 3/2) 1/3) (pow.f64 (pow.f64 (expm1.f64 (*.f64 a x)) 3/2) 1/3))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (pow.f64 (pow.f64 (exp.f64 a) x) 3) 1) (+.f64 (*.f64 (pow.f64 (exp.f64 a) x) (pow.f64 (exp.f64 a) x)) (+.f64 1 (*.f64 (pow.f64 (exp.f64 a) x) 1))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (*.f64 (pow.f64 (exp.f64 a) x) (pow.f64 (exp.f64 a) x)) 1) (+.f64 (pow.f64 (exp.f64 a) x) 1))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (expm1.f64 (*.f64 a x)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (expm1.f64 (*.f64 a x)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (expm1.f64 (*.f64 a x))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (expm1.f64 (*.f64 a x))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (expm1.f64 (*.f64 a x)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (expm1.f64 (*.f64 a x))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (expm1.f64 (*.f64 a x)))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (expm1.f64 (*.f64 a x))))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (*.f64 a x))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (expm1.f64 (*.f64 a x)))))))) |
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (pow.f64 (expm1.f64 (*.f64 a x)) 3))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (expm1.f64 (*.f64 a x)) (pow.f64 (expm1.f64 (*.f64 a x)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (expm1.f64 (*.f64 a x)) 3) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (pow.f64 (expm1.f64 (*.f64 a x)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (expm1.f64 (*.f64 a x)) 2) (expm1.f64 (*.f64 a x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (expm1.f64 (*.f64 a x))) 2) (*.f64 (cbrt.f64 (expm1.f64 (*.f64 a x))) (pow.f64 (expm1.f64 (*.f64 a x)) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (expm1.f64 (*.f64 a x))) (*.f64 (sqrt.f64 (expm1.f64 (*.f64 a x))) (pow.f64 (expm1.f64 (*.f64 a x)) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (expm1.f64 (*.f64 a x)) 3/2) (pow.f64 (expm1.f64 (*.f64 a x)) 3/2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (pow.f64 (cbrt.f64 (expm1.f64 (*.f64 a x))) 2) 3) (expm1.f64 (*.f64 a x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (sqrt.f64 (expm1.f64 (*.f64 a x))) 3) (pow.f64 (sqrt.f64 (expm1.f64 (*.f64 a x))) 3))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (pow.f64 (expm1.f64 (*.f64 a x)) 2) 1) (expm1.f64 (*.f64 a x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (pow.f64 (expm1.f64 (*.f64 a x)) 2) (pow.f64 (cbrt.f64 (expm1.f64 (*.f64 a x))) 2)) (cbrt.f64 (expm1.f64 (*.f64 a x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (pow.f64 (expm1.f64 (*.f64 a x)) 2) (sqrt.f64 (expm1.f64 (*.f64 a x)))) (sqrt.f64 (expm1.f64 (*.f64 a x))))))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (expm1.f64 (*.f64 a x)) 6))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (pow.f64 (expm1.f64 (*.f64 a x)) 3)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (pow.f64 (expm1.f64 (*.f64 a x)) 3))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (pow.f64 (expm1.f64 (*.f64 a x)) 3) 3))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (pow.f64 (expm1.f64 (*.f64 a x)) 3)))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (pow.f64 (expm1.f64 (*.f64 a x)) 3)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 3 (log.f64 (expm1.f64 (*.f64 a x))))))))) |
| 1× | egg-herbie |
| 975× | fma-def_binary64 |
| 819× | associate-*l*_binary64 |
| 717× | associate-*r*_binary64 |
| 358× | associate-+l+_binary64 |
| 186× | distribute-rgt-in_binary64 |
Useful iterations: 2 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 97 | 770 |
| 1 | 319 | 758 |
| 2 | 1117 | 725 |
| 1× | node limit |
| Inputs |
|---|
(*.f64 a x) |
(+.f64 (*.f64 1/2 (*.f64 (pow.f64 a 2) (pow.f64 x 2))) (*.f64 a x)) |
(+.f64 (*.f64 1/2 (*.f64 (pow.f64 a 2) (pow.f64 x 2))) (+.f64 (*.f64 a x) (*.f64 1/6 (*.f64 (pow.f64 a 3) (pow.f64 x 3))))) |
(+.f64 (*.f64 1/2 (*.f64 (pow.f64 a 2) (pow.f64 x 2))) (+.f64 (*.f64 a x) (+.f64 (*.f64 1/24 (*.f64 (pow.f64 a 4) (pow.f64 x 4))) (*.f64 1/6 (*.f64 (pow.f64 a 3) (pow.f64 x 3)))))) |
(-.f64 (exp.f64 (*.f64 a x)) 1) |
(-.f64 (exp.f64 (*.f64 a x)) 1) |
(-.f64 (exp.f64 (*.f64 a x)) 1) |
(-.f64 (exp.f64 (*.f64 a x)) 1) |
(-.f64 (exp.f64 (*.f64 a x)) 1) |
(-.f64 (exp.f64 (*.f64 a x)) 1) |
(-.f64 (exp.f64 (*.f64 a x)) 1) |
(-.f64 (exp.f64 (*.f64 a x)) 1) |
(*.f64 a x) |
(+.f64 (*.f64 1/2 (*.f64 (pow.f64 a 2) (pow.f64 x 2))) (*.f64 a x)) |
(+.f64 (*.f64 1/2 (*.f64 (pow.f64 a 2) (pow.f64 x 2))) (+.f64 (*.f64 a x) (*.f64 1/6 (*.f64 (pow.f64 a 3) (pow.f64 x 3))))) |
(+.f64 (*.f64 1/2 (*.f64 (pow.f64 a 2) (pow.f64 x 2))) (+.f64 (*.f64 a x) (+.f64 (*.f64 1/24 (*.f64 (pow.f64 a 4) (pow.f64 x 4))) (*.f64 1/6 (*.f64 (pow.f64 a 3) (pow.f64 x 3)))))) |
(-.f64 (exp.f64 (*.f64 a x)) 1) |
(-.f64 (exp.f64 (*.f64 a x)) 1) |
(-.f64 (exp.f64 (*.f64 a x)) 1) |
(-.f64 (exp.f64 (*.f64 a x)) 1) |
(-.f64 (exp.f64 (*.f64 a x)) 1) |
(-.f64 (exp.f64 (*.f64 a x)) 1) |
(-.f64 (exp.f64 (*.f64 a x)) 1) |
(-.f64 (exp.f64 (*.f64 a x)) 1) |
(*.f64 (pow.f64 a 3) (pow.f64 x 3)) |
(+.f64 (*.f64 (+.f64 (pow.f64 x 4) (*.f64 1/2 (pow.f64 x 4))) (pow.f64 a 4)) (*.f64 (pow.f64 a 3) (pow.f64 x 3))) |
(+.f64 (*.f64 (+.f64 (pow.f64 x 4) (*.f64 1/2 (pow.f64 x 4))) (pow.f64 a 4)) (+.f64 (*.f64 (+.f64 (*.f64 (+.f64 (*.f64 1/4 (pow.f64 x 4)) (*.f64 1/3 (pow.f64 x 4))) x) (+.f64 (*.f64 1/2 (pow.f64 x 5)) (*.f64 1/6 (pow.f64 x 5)))) (pow.f64 a 5)) (*.f64 (pow.f64 a 3) (pow.f64 x 3)))) |
(+.f64 (*.f64 (+.f64 (pow.f64 x 4) (*.f64 1/2 (pow.f64 x 4))) (pow.f64 a 4)) (+.f64 (*.f64 (pow.f64 a 6) (+.f64 (*.f64 (+.f64 (*.f64 1/12 (pow.f64 x 5)) (*.f64 1/6 (pow.f64 x 5))) x) (+.f64 (*.f64 1/2 (*.f64 (+.f64 (*.f64 1/4 (pow.f64 x 4)) (*.f64 1/3 (pow.f64 x 4))) (pow.f64 x 2))) (+.f64 (*.f64 1/6 (pow.f64 x 6)) (*.f64 1/24 (pow.f64 x 6)))))) (+.f64 (*.f64 (+.f64 (*.f64 (+.f64 (*.f64 1/4 (pow.f64 x 4)) (*.f64 1/3 (pow.f64 x 4))) x) (+.f64 (*.f64 1/2 (pow.f64 x 5)) (*.f64 1/6 (pow.f64 x 5)))) (pow.f64 a 5)) (*.f64 (pow.f64 a 3) (pow.f64 x 3))))) |
(pow.f64 (-.f64 (exp.f64 (*.f64 a x)) 1) 3) |
(pow.f64 (-.f64 (exp.f64 (*.f64 a x)) 1) 3) |
(pow.f64 (-.f64 (exp.f64 (*.f64 a x)) 1) 3) |
(pow.f64 (-.f64 (exp.f64 (*.f64 a x)) 1) 3) |
(pow.f64 (-.f64 (exp.f64 (*.f64 a x)) 1) 3) |
(pow.f64 (-.f64 (exp.f64 (*.f64 a x)) 1) 3) |
(pow.f64 (-.f64 (exp.f64 (*.f64 a x)) 1) 3) |
(pow.f64 (-.f64 (exp.f64 (*.f64 a x)) 1) 3) |
(*.f64 (pow.f64 a 3) (pow.f64 x 3)) |
(+.f64 (*.f64 (pow.f64 a 3) (pow.f64 x 3)) (*.f64 (+.f64 (*.f64 1/2 (pow.f64 a 4)) (pow.f64 a 4)) (pow.f64 x 4))) |
(+.f64 (*.f64 (pow.f64 a 3) (pow.f64 x 3)) (+.f64 (*.f64 (+.f64 (*.f64 1/2 (pow.f64 a 4)) (pow.f64 a 4)) (pow.f64 x 4)) (*.f64 (+.f64 (*.f64 1/2 (pow.f64 a 5)) (+.f64 (*.f64 a (+.f64 (*.f64 1/3 (pow.f64 a 4)) (*.f64 1/4 (pow.f64 a 4)))) (*.f64 1/6 (pow.f64 a 5)))) (pow.f64 x 5)))) |
(+.f64 (*.f64 (pow.f64 a 3) (pow.f64 x 3)) (+.f64 (*.f64 (+.f64 (*.f64 a (+.f64 (*.f64 1/12 (pow.f64 a 5)) (*.f64 1/6 (pow.f64 a 5)))) (+.f64 (*.f64 1/2 (*.f64 (pow.f64 a 2) (+.f64 (*.f64 1/3 (pow.f64 a 4)) (*.f64 1/4 (pow.f64 a 4))))) (+.f64 (*.f64 1/6 (pow.f64 a 6)) (*.f64 1/24 (pow.f64 a 6))))) (pow.f64 x 6)) (+.f64 (*.f64 (+.f64 (*.f64 1/2 (pow.f64 a 4)) (pow.f64 a 4)) (pow.f64 x 4)) (*.f64 (+.f64 (*.f64 1/2 (pow.f64 a 5)) (+.f64 (*.f64 a (+.f64 (*.f64 1/3 (pow.f64 a 4)) (*.f64 1/4 (pow.f64 a 4)))) (*.f64 1/6 (pow.f64 a 5)))) (pow.f64 x 5))))) |
(pow.f64 (-.f64 (exp.f64 (*.f64 a x)) 1) 3) |
(pow.f64 (-.f64 (exp.f64 (*.f64 a x)) 1) 3) |
(pow.f64 (-.f64 (exp.f64 (*.f64 a x)) 1) 3) |
(pow.f64 (-.f64 (exp.f64 (*.f64 a x)) 1) 3) |
(pow.f64 (-.f64 (exp.f64 (*.f64 a x)) 1) 3) |
(pow.f64 (-.f64 (exp.f64 (*.f64 a x)) 1) 3) |
(pow.f64 (-.f64 (exp.f64 (*.f64 a x)) 1) 3) |
(pow.f64 (-.f64 (exp.f64 (*.f64 a x)) 1) 3) |
| Outputs |
|---|
(*.f64 a x) |
(+.f64 (*.f64 1/2 (*.f64 (pow.f64 a 2) (pow.f64 x 2))) (*.f64 a x)) |
(fma.f64 1/2 (*.f64 (*.f64 a a) (*.f64 x x)) (*.f64 a x)) |
(fma.f64 (*.f64 1/2 (*.f64 a a)) (*.f64 x x) (*.f64 a x)) |
(*.f64 x (+.f64 a (*.f64 1/2 (*.f64 a (*.f64 a x))))) |
(+.f64 (*.f64 1/2 (*.f64 (pow.f64 a 2) (pow.f64 x 2))) (+.f64 (*.f64 a x) (*.f64 1/6 (*.f64 (pow.f64 a 3) (pow.f64 x 3))))) |
(fma.f64 1/2 (*.f64 (*.f64 a a) (*.f64 x x)) (fma.f64 a x (*.f64 1/6 (*.f64 (pow.f64 a 3) (pow.f64 x 3))))) |
(fma.f64 1/2 (*.f64 x (*.f64 x (*.f64 a a))) (fma.f64 a x (*.f64 1/6 (*.f64 (pow.f64 a 3) (pow.f64 x 3))))) |
(fma.f64 1/6 (*.f64 (pow.f64 a 3) (pow.f64 x 3)) (*.f64 x (+.f64 a (*.f64 1/2 (*.f64 a (*.f64 a x)))))) |
(+.f64 (*.f64 1/2 (*.f64 (pow.f64 a 2) (pow.f64 x 2))) (+.f64 (*.f64 a x) (+.f64 (*.f64 1/24 (*.f64 (pow.f64 a 4) (pow.f64 x 4))) (*.f64 1/6 (*.f64 (pow.f64 a 3) (pow.f64 x 3)))))) |
(fma.f64 1/2 (*.f64 (*.f64 a a) (*.f64 x x)) (fma.f64 a x (fma.f64 1/24 (*.f64 (pow.f64 a 4) (pow.f64 x 4)) (*.f64 1/6 (*.f64 (pow.f64 a 3) (pow.f64 x 3)))))) |
(fma.f64 1/2 (*.f64 x (*.f64 x (*.f64 a a))) (fma.f64 a x (fma.f64 1/6 (*.f64 (pow.f64 a 3) (pow.f64 x 3)) (*.f64 1/24 (*.f64 (pow.f64 a 4) (pow.f64 x 4)))))) |
(fma.f64 1/2 (*.f64 a (*.f64 a (*.f64 x x))) (fma.f64 1/6 (*.f64 (pow.f64 a 3) (pow.f64 x 3)) (fma.f64 (pow.f64 a 4) (*.f64 (pow.f64 x 4) 1/24) (*.f64 a x)))) |
(-.f64 (exp.f64 (*.f64 a x)) 1) |
(expm1.f64 (*.f64 a x)) |
(-.f64 (exp.f64 (*.f64 a x)) 1) |
(expm1.f64 (*.f64 a x)) |
(-.f64 (exp.f64 (*.f64 a x)) 1) |
(expm1.f64 (*.f64 a x)) |
(-.f64 (exp.f64 (*.f64 a x)) 1) |
(expm1.f64 (*.f64 a x)) |
(-.f64 (exp.f64 (*.f64 a x)) 1) |
(expm1.f64 (*.f64 a x)) |
(-.f64 (exp.f64 (*.f64 a x)) 1) |
(expm1.f64 (*.f64 a x)) |
(-.f64 (exp.f64 (*.f64 a x)) 1) |
(expm1.f64 (*.f64 a x)) |
(-.f64 (exp.f64 (*.f64 a x)) 1) |
(expm1.f64 (*.f64 a x)) |
(*.f64 a x) |
(+.f64 (*.f64 1/2 (*.f64 (pow.f64 a 2) (pow.f64 x 2))) (*.f64 a x)) |
(fma.f64 1/2 (*.f64 (*.f64 a a) (*.f64 x x)) (*.f64 a x)) |
(fma.f64 (*.f64 1/2 (*.f64 a a)) (*.f64 x x) (*.f64 a x)) |
(*.f64 x (+.f64 a (*.f64 1/2 (*.f64 a (*.f64 a x))))) |
(+.f64 (*.f64 1/2 (*.f64 (pow.f64 a 2) (pow.f64 x 2))) (+.f64 (*.f64 a x) (*.f64 1/6 (*.f64 (pow.f64 a 3) (pow.f64 x 3))))) |
(fma.f64 1/2 (*.f64 (*.f64 a a) (*.f64 x x)) (fma.f64 a x (*.f64 1/6 (*.f64 (pow.f64 a 3) (pow.f64 x 3))))) |
(fma.f64 1/2 (*.f64 x (*.f64 x (*.f64 a a))) (fma.f64 a x (*.f64 1/6 (*.f64 (pow.f64 a 3) (pow.f64 x 3))))) |
(fma.f64 1/6 (*.f64 (pow.f64 a 3) (pow.f64 x 3)) (*.f64 x (+.f64 a (*.f64 1/2 (*.f64 a (*.f64 a x)))))) |
(+.f64 (*.f64 1/2 (*.f64 (pow.f64 a 2) (pow.f64 x 2))) (+.f64 (*.f64 a x) (+.f64 (*.f64 1/24 (*.f64 (pow.f64 a 4) (pow.f64 x 4))) (*.f64 1/6 (*.f64 (pow.f64 a 3) (pow.f64 x 3)))))) |
(fma.f64 1/2 (*.f64 (*.f64 a a) (*.f64 x x)) (fma.f64 a x (fma.f64 1/24 (*.f64 (pow.f64 a 4) (pow.f64 x 4)) (*.f64 1/6 (*.f64 (pow.f64 a 3) (pow.f64 x 3)))))) |
(fma.f64 1/2 (*.f64 x (*.f64 x (*.f64 a a))) (fma.f64 a x (fma.f64 1/6 (*.f64 (pow.f64 a 3) (pow.f64 x 3)) (*.f64 1/24 (*.f64 (pow.f64 a 4) (pow.f64 x 4)))))) |
(fma.f64 1/2 (*.f64 a (*.f64 a (*.f64 x x))) (fma.f64 1/6 (*.f64 (pow.f64 a 3) (pow.f64 x 3)) (fma.f64 (pow.f64 a 4) (*.f64 (pow.f64 x 4) 1/24) (*.f64 a x)))) |
(-.f64 (exp.f64 (*.f64 a x)) 1) |
(expm1.f64 (*.f64 a x)) |
(-.f64 (exp.f64 (*.f64 a x)) 1) |
(expm1.f64 (*.f64 a x)) |
(-.f64 (exp.f64 (*.f64 a x)) 1) |
(expm1.f64 (*.f64 a x)) |
(-.f64 (exp.f64 (*.f64 a x)) 1) |
(expm1.f64 (*.f64 a x)) |
(-.f64 (exp.f64 (*.f64 a x)) 1) |
(expm1.f64 (*.f64 a x)) |
(-.f64 (exp.f64 (*.f64 a x)) 1) |
(expm1.f64 (*.f64 a x)) |
(-.f64 (exp.f64 (*.f64 a x)) 1) |
(expm1.f64 (*.f64 a x)) |
(-.f64 (exp.f64 (*.f64 a x)) 1) |
(expm1.f64 (*.f64 a x)) |
(*.f64 (pow.f64 a 3) (pow.f64 x 3)) |
(+.f64 (*.f64 (+.f64 (pow.f64 x 4) (*.f64 1/2 (pow.f64 x 4))) (pow.f64 a 4)) (*.f64 (pow.f64 a 3) (pow.f64 x 3))) |
(fma.f64 (*.f64 3/2 (pow.f64 x 4)) (pow.f64 a 4) (*.f64 (pow.f64 a 3) (pow.f64 x 3))) |
(fma.f64 (pow.f64 a 3) (pow.f64 x 3) (*.f64 (pow.f64 x 4) (*.f64 (pow.f64 a 4) 3/2))) |
(fma.f64 (pow.f64 a 3) (pow.f64 x 3) (*.f64 (pow.f64 a 4) (*.f64 (pow.f64 x 4) 3/2))) |
(+.f64 (*.f64 (+.f64 (pow.f64 x 4) (*.f64 1/2 (pow.f64 x 4))) (pow.f64 a 4)) (+.f64 (*.f64 (+.f64 (*.f64 (+.f64 (*.f64 1/4 (pow.f64 x 4)) (*.f64 1/3 (pow.f64 x 4))) x) (+.f64 (*.f64 1/2 (pow.f64 x 5)) (*.f64 1/6 (pow.f64 x 5)))) (pow.f64 a 5)) (*.f64 (pow.f64 a 3) (pow.f64 x 3)))) |
(fma.f64 (*.f64 3/2 (pow.f64 x 4)) (pow.f64 a 4) (fma.f64 (fma.f64 (*.f64 (pow.f64 x 4) 7/12) x (*.f64 (pow.f64 x 5) 2/3)) (pow.f64 a 5) (*.f64 (pow.f64 a 3) (pow.f64 x 3)))) |
(fma.f64 (pow.f64 a 4) (*.f64 (pow.f64 x 4) 3/2) (fma.f64 (pow.f64 a 3) (pow.f64 x 3) (*.f64 (fma.f64 x (*.f64 (pow.f64 x 4) 7/12) (*.f64 (pow.f64 x 5) 2/3)) (pow.f64 a 5)))) |
(fma.f64 (fma.f64 x (*.f64 (pow.f64 x 4) 7/12) (*.f64 (pow.f64 x 5) 2/3)) (pow.f64 a 5) (fma.f64 (pow.f64 a 3) (pow.f64 x 3) (*.f64 (pow.f64 a 4) (*.f64 (pow.f64 x 4) 3/2)))) |
(+.f64 (*.f64 (+.f64 (pow.f64 x 4) (*.f64 1/2 (pow.f64 x 4))) (pow.f64 a 4)) (+.f64 (*.f64 (pow.f64 a 6) (+.f64 (*.f64 (+.f64 (*.f64 1/12 (pow.f64 x 5)) (*.f64 1/6 (pow.f64 x 5))) x) (+.f64 (*.f64 1/2 (*.f64 (+.f64 (*.f64 1/4 (pow.f64 x 4)) (*.f64 1/3 (pow.f64 x 4))) (pow.f64 x 2))) (+.f64 (*.f64 1/6 (pow.f64 x 6)) (*.f64 1/24 (pow.f64 x 6)))))) (+.f64 (*.f64 (+.f64 (*.f64 (+.f64 (*.f64 1/4 (pow.f64 x 4)) (*.f64 1/3 (pow.f64 x 4))) x) (+.f64 (*.f64 1/2 (pow.f64 x 5)) (*.f64 1/6 (pow.f64 x 5)))) (pow.f64 a 5)) (*.f64 (pow.f64 a 3) (pow.f64 x 3))))) |
(fma.f64 (*.f64 3/2 (pow.f64 x 4)) (pow.f64 a 4) (fma.f64 (pow.f64 a 6) (fma.f64 (*.f64 (pow.f64 x 5) 1/4) x (fma.f64 1/2 (*.f64 (*.f64 x x) (*.f64 (pow.f64 x 4) 7/12)) (*.f64 (pow.f64 x 6) 5/24))) (fma.f64 (fma.f64 (*.f64 (pow.f64 x 4) 7/12) x (*.f64 (pow.f64 x 5) 2/3)) (pow.f64 a 5) (*.f64 (pow.f64 a 3) (pow.f64 x 3))))) |
(fma.f64 (pow.f64 a 4) (*.f64 (pow.f64 x 4) 3/2) (fma.f64 (pow.f64 a 6) (fma.f64 x (*.f64 1/4 (pow.f64 x 5)) (fma.f64 1/2 (*.f64 (pow.f64 x 6) 7/12) (*.f64 (pow.f64 x 6) 5/24))) (fma.f64 (pow.f64 a 3) (pow.f64 x 3) (*.f64 (fma.f64 x (*.f64 (pow.f64 x 4) 7/12) (*.f64 (pow.f64 x 5) 2/3)) (pow.f64 a 5))))) |
(fma.f64 (pow.f64 a 6) (fma.f64 x (*.f64 1/4 (pow.f64 x 5)) (fma.f64 (pow.f64 x 6) 5/24 (*.f64 (pow.f64 x 6) 7/24))) (fma.f64 (fma.f64 x (*.f64 (pow.f64 x 4) 7/12) (*.f64 (pow.f64 x 5) 2/3)) (pow.f64 a 5) (fma.f64 (pow.f64 a 3) (pow.f64 x 3) (*.f64 (pow.f64 a 4) (*.f64 (pow.f64 x 4) 3/2))))) |
(pow.f64 (-.f64 (exp.f64 (*.f64 a x)) 1) 3) |
(pow.f64 (expm1.f64 (*.f64 a x)) 3) |
(pow.f64 (-.f64 (exp.f64 (*.f64 a x)) 1) 3) |
(pow.f64 (expm1.f64 (*.f64 a x)) 3) |
(pow.f64 (-.f64 (exp.f64 (*.f64 a x)) 1) 3) |
(pow.f64 (expm1.f64 (*.f64 a x)) 3) |
(pow.f64 (-.f64 (exp.f64 (*.f64 a x)) 1) 3) |
(pow.f64 (expm1.f64 (*.f64 a x)) 3) |
(pow.f64 (-.f64 (exp.f64 (*.f64 a x)) 1) 3) |
(pow.f64 (expm1.f64 (*.f64 a x)) 3) |
(pow.f64 (-.f64 (exp.f64 (*.f64 a x)) 1) 3) |
(pow.f64 (expm1.f64 (*.f64 a x)) 3) |
(pow.f64 (-.f64 (exp.f64 (*.f64 a x)) 1) 3) |
(pow.f64 (expm1.f64 (*.f64 a x)) 3) |
(pow.f64 (-.f64 (exp.f64 (*.f64 a x)) 1) 3) |
(pow.f64 (expm1.f64 (*.f64 a x)) 3) |
(*.f64 (pow.f64 a 3) (pow.f64 x 3)) |
(+.f64 (*.f64 (pow.f64 a 3) (pow.f64 x 3)) (*.f64 (+.f64 (*.f64 1/2 (pow.f64 a 4)) (pow.f64 a 4)) (pow.f64 x 4))) |
(fma.f64 (*.f64 3/2 (pow.f64 x 4)) (pow.f64 a 4) (*.f64 (pow.f64 a 3) (pow.f64 x 3))) |
(fma.f64 (pow.f64 a 3) (pow.f64 x 3) (*.f64 (pow.f64 x 4) (*.f64 (pow.f64 a 4) 3/2))) |
(fma.f64 (pow.f64 a 3) (pow.f64 x 3) (*.f64 (pow.f64 a 4) (*.f64 (pow.f64 x 4) 3/2))) |
(+.f64 (*.f64 (pow.f64 a 3) (pow.f64 x 3)) (+.f64 (*.f64 (+.f64 (*.f64 1/2 (pow.f64 a 4)) (pow.f64 a 4)) (pow.f64 x 4)) (*.f64 (+.f64 (*.f64 1/2 (pow.f64 a 5)) (+.f64 (*.f64 a (+.f64 (*.f64 1/3 (pow.f64 a 4)) (*.f64 1/4 (pow.f64 a 4)))) (*.f64 1/6 (pow.f64 a 5)))) (pow.f64 x 5)))) |
(fma.f64 (pow.f64 a 3) (pow.f64 x 3) (fma.f64 (*.f64 3/2 (pow.f64 a 4)) (pow.f64 x 4) (*.f64 (pow.f64 x 5) (fma.f64 1/2 (pow.f64 a 5) (fma.f64 a (*.f64 (pow.f64 a 4) 7/12) (*.f64 1/6 (pow.f64 a 5))))))) |
(fma.f64 (pow.f64 a 3) (pow.f64 x 3) (fma.f64 (pow.f64 x 4) (*.f64 (pow.f64 a 4) 3/2) (*.f64 (pow.f64 x 5) (fma.f64 1/2 (pow.f64 a 5) (fma.f64 a (*.f64 (pow.f64 a 4) 7/12) (*.f64 1/6 (pow.f64 a 5))))))) |
(fma.f64 (pow.f64 a 3) (pow.f64 x 3) (fma.f64 (pow.f64 x 5) (fma.f64 (pow.f64 a 5) 7/12 (*.f64 (pow.f64 a 5) 2/3)) (*.f64 (pow.f64 a 4) (*.f64 (pow.f64 x 4) 3/2)))) |
(+.f64 (*.f64 (pow.f64 a 3) (pow.f64 x 3)) (+.f64 (*.f64 (+.f64 (*.f64 a (+.f64 (*.f64 1/12 (pow.f64 a 5)) (*.f64 1/6 (pow.f64 a 5)))) (+.f64 (*.f64 1/2 (*.f64 (pow.f64 a 2) (+.f64 (*.f64 1/3 (pow.f64 a 4)) (*.f64 1/4 (pow.f64 a 4))))) (+.f64 (*.f64 1/6 (pow.f64 a 6)) (*.f64 1/24 (pow.f64 a 6))))) (pow.f64 x 6)) (+.f64 (*.f64 (+.f64 (*.f64 1/2 (pow.f64 a 4)) (pow.f64 a 4)) (pow.f64 x 4)) (*.f64 (+.f64 (*.f64 1/2 (pow.f64 a 5)) (+.f64 (*.f64 a (+.f64 (*.f64 1/3 (pow.f64 a 4)) (*.f64 1/4 (pow.f64 a 4)))) (*.f64 1/6 (pow.f64 a 5)))) (pow.f64 x 5))))) |
(fma.f64 (pow.f64 a 3) (pow.f64 x 3) (fma.f64 (fma.f64 a (*.f64 (pow.f64 a 5) 1/4) (fma.f64 1/2 (*.f64 (*.f64 a a) (*.f64 (pow.f64 a 4) 7/12)) (*.f64 (pow.f64 a 6) 5/24))) (pow.f64 x 6) (fma.f64 (*.f64 3/2 (pow.f64 a 4)) (pow.f64 x 4) (*.f64 (pow.f64 x 5) (fma.f64 1/2 (pow.f64 a 5) (fma.f64 a (*.f64 (pow.f64 a 4) 7/12) (*.f64 1/6 (pow.f64 a 5)))))))) |
(fma.f64 (pow.f64 a 3) (pow.f64 x 3) (fma.f64 (pow.f64 x 6) (fma.f64 a (*.f64 1/4 (pow.f64 a 5)) (fma.f64 1/2 (*.f64 (pow.f64 a 6) 7/12) (*.f64 (pow.f64 a 6) 5/24))) (fma.f64 (pow.f64 x 4) (*.f64 (pow.f64 a 4) 3/2) (*.f64 (pow.f64 x 5) (fma.f64 1/2 (pow.f64 a 5) (fma.f64 a (*.f64 (pow.f64 a 4) 7/12) (*.f64 1/6 (pow.f64 a 5)))))))) |
(fma.f64 (pow.f64 x 6) (fma.f64 (pow.f64 a 6) 1/4 (fma.f64 (pow.f64 a 6) 5/24 (*.f64 (pow.f64 a 6) 7/24))) (fma.f64 (pow.f64 a 3) (pow.f64 x 3) (fma.f64 (pow.f64 x 5) (fma.f64 (pow.f64 a 5) 7/12 (*.f64 (pow.f64 a 5) 2/3)) (*.f64 (pow.f64 a 4) (*.f64 (pow.f64 x 4) 3/2))))) |
(pow.f64 (-.f64 (exp.f64 (*.f64 a x)) 1) 3) |
(pow.f64 (expm1.f64 (*.f64 a x)) 3) |
(pow.f64 (-.f64 (exp.f64 (*.f64 a x)) 1) 3) |
(pow.f64 (expm1.f64 (*.f64 a x)) 3) |
(pow.f64 (-.f64 (exp.f64 (*.f64 a x)) 1) 3) |
(pow.f64 (expm1.f64 (*.f64 a x)) 3) |
(pow.f64 (-.f64 (exp.f64 (*.f64 a x)) 1) 3) |
(pow.f64 (expm1.f64 (*.f64 a x)) 3) |
(pow.f64 (-.f64 (exp.f64 (*.f64 a x)) 1) 3) |
(pow.f64 (expm1.f64 (*.f64 a x)) 3) |
(pow.f64 (-.f64 (exp.f64 (*.f64 a x)) 1) 3) |
(pow.f64 (expm1.f64 (*.f64 a x)) 3) |
(pow.f64 (-.f64 (exp.f64 (*.f64 a x)) 1) 3) |
(pow.f64 (expm1.f64 (*.f64 a x)) 3) |
(pow.f64 (-.f64 (exp.f64 (*.f64 a x)) 1) 3) |
(pow.f64 (expm1.f64 (*.f64 a x)) 3) |
3 alts after pruning (2 fresh and 1 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 91 | 1 | 92 |
| Fresh | 0 | 1 | 1 |
| Picked | 1 | 0 | 1 |
| Done | 0 | 1 | 1 |
| Total | 92 | 3 | 95 |
| Status | Error | Program |
|---|---|---|
| ✓ | 0.0b | (expm1.f64 (*.f64 a x)) |
| 38.1b | (pow.f64 (sqrt.f64 (expm1.f64 (*.f64 a x))) 2) | |
| ▶ | 17.5b | (cbrt.f64 (*.f64 (pow.f64 (cbrt.f64 (expm1.f64 (*.f64 a x))) 2) (*.f64 (cbrt.f64 (expm1.f64 (*.f64 a x))) (pow.f64 (expm1.f64 (*.f64 a x)) 2)))) |
Compiled 1629 to 959 computations (41.1% saved)
Found 4 expressions with local error:
| New | Error | Program |
|---|---|---|
| ✓ | 0.2b | (pow.f64 (expm1.f64 (*.f64 a x)) 2) |
| ✓ | 0.3b | (pow.f64 (cbrt.f64 (expm1.f64 (*.f64 a x))) 2) |
| ✓ | 9.1b | (cbrt.f64 (expm1.f64 (*.f64 a x))) |
| ✓ | 17.4b | (cbrt.f64 (*.f64 (pow.f64 (cbrt.f64 (expm1.f64 (*.f64 a x))) 2) (*.f64 (cbrt.f64 (expm1.f64 (*.f64 a x))) (pow.f64 (expm1.f64 (*.f64 a x)) 2)))) |
24 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 3.0ms | x | @ | -inf | (cbrt.f64 (expm1.f64 (*.f64 a x))) |
| 3.0ms | a | @ | 0 | (pow.f64 (expm1.f64 (*.f64 a x)) 2) |
| 2.0ms | x | @ | inf | (cbrt.f64 (expm1.f64 (*.f64 a x))) |
| 2.0ms | a | @ | inf | (cbrt.f64 (expm1.f64 (*.f64 a x))) |
| 1.0ms | a | @ | -inf | (cbrt.f64 (expm1.f64 (*.f64 a x))) |
| 1× | batch-egg-rewrite |
| 808× | log1p-expm1-u_binary64 |
| 808× | expm1-log1p-u_binary64 |
| 110× | add-sqr-sqrt_binary64 |
| 109× | pow1_binary64 |
| 107× | *-un-lft-identity_binary64 |
Useful iterations: 1 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 12 | 47 |
| 1 | 240 | 34 |
| 2 | 2604 | 34 |
| 1× | node limit |
| Inputs |
|---|
(cbrt.f64 (*.f64 (pow.f64 (cbrt.f64 (expm1.f64 (*.f64 a x))) 2) (*.f64 (cbrt.f64 (expm1.f64 (*.f64 a x))) (pow.f64 (expm1.f64 (*.f64 a x)) 2)))) |
(cbrt.f64 (expm1.f64 (*.f64 a x))) |
(pow.f64 (cbrt.f64 (expm1.f64 (*.f64 a x))) 2) |
(pow.f64 (expm1.f64 (*.f64 a x)) 2) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x +.f64 (pow.f64 (exp.f64 a) x) -1)))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (pow.f64 (exp.f64 a) x) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (expm1.f64 (*.f64 a x)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (expm1.f64 (*.f64 a x))) (pow.f64 (cbrt.f64 (expm1.f64 (*.f64 a x))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (expm1.f64 (*.f64 a x))) 2) (cbrt.f64 (expm1.f64 (*.f64 a x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (expm1.f64 (*.f64 a x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (cbrt.f64 (expm1.f64 (*.f64 a x)))) 2) (cbrt.f64 (*.f64 (expm1.f64 (*.f64 a x)) (pow.f64 (cbrt.f64 (expm1.f64 (*.f64 a x))) 4))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (pow.f64 (cbrt.f64 (expm1.f64 (*.f64 a x))) 4)) (*.f64 (pow.f64 (cbrt.f64 (cbrt.f64 (expm1.f64 (*.f64 a x)))) 2) (cbrt.f64 (expm1.f64 (*.f64 a x)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (*.f64 (expm1.f64 (*.f64 a x)) (pow.f64 (cbrt.f64 (expm1.f64 (*.f64 a x))) 4))) (pow.f64 (cbrt.f64 (cbrt.f64 (expm1.f64 (*.f64 a x)))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (expm1.f64 (*.f64 a x))) (sqrt.f64 (expm1.f64 (*.f64 a x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 1 1/3) (expm1.f64 (*.f64 a x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (sqrt.f64 (pow.f64 (expm1.f64 (*.f64 a x)) 3)) 1/3) (pow.f64 (sqrt.f64 (pow.f64 (expm1.f64 (*.f64 a x)) 3)) 1/3))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (pow.f64 (cbrt.f64 (expm1.f64 (*.f64 a x))) 2) (pow.f64 (cbrt.f64 (cbrt.f64 (expm1.f64 (*.f64 a x)))) 2)) (cbrt.f64 (cbrt.f64 (expm1.f64 (*.f64 a x)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (pow.f64 (cbrt.f64 (expm1.f64 (*.f64 a x))) 2) (pow.f64 (expm1.f64 (*.f64 a x)) 1/6)) (pow.f64 (expm1.f64 (*.f64 a x)) 1/6))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (pow.f64 (pow.f64 (exp.f64 a) x) 3) 1) (+.f64 (*.f64 (pow.f64 (exp.f64 a) x) (pow.f64 (exp.f64 a) x)) (+.f64 1 (*.f64 (pow.f64 (exp.f64 a) x) 1))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (*.f64 (pow.f64 (exp.f64 a) x) (pow.f64 (exp.f64 a) x)) 1) (+.f64 (pow.f64 (exp.f64 a) x) 1))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (expm1.f64 (*.f64 a x)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (expm1.f64 (*.f64 a x))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (expm1.f64 (*.f64 a x)) 2) 1/2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (expm1.f64 (*.f64 a x)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (expm1.f64 (*.f64 a x))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (expm1.f64 (*.f64 a x)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x fabs.f64 (expm1.f64 (*.f64 a x)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (expm1.f64 (*.f64 a x))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (expm1.f64 (*.f64 a x)))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (expm1.f64 (*.f64 a x))))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (*.f64 a x))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (expm1.f64 (*.f64 a x))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (expm1.f64 (*.f64 a x))) 1))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (pow.f64 (expm1.f64 (*.f64 a x)) 3)) 1/3)))))) |
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (cbrt.f64 (expm1.f64 (*.f64 a x))))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (expm1.f64 (*.f64 a x))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (cbrt.f64 (expm1.f64 (*.f64 a x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (cbrt.f64 (expm1.f64 (*.f64 a x)))) 2) (cbrt.f64 (cbrt.f64 (expm1.f64 (*.f64 a x)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (cbrt.f64 (expm1.f64 (*.f64 a x)))) (pow.f64 (cbrt.f64 (cbrt.f64 (expm1.f64 (*.f64 a x)))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (expm1.f64 (*.f64 a x)) 1/6) (pow.f64 (expm1.f64 (*.f64 a x)) 1/6))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (pow.f64 (cbrt.f64 (cbrt.f64 (expm1.f64 (*.f64 a x)))) 2)) (cbrt.f64 (cbrt.f64 (*.f64 (expm1.f64 (*.f64 a x)) (pow.f64 (cbrt.f64 (expm1.f64 (*.f64 a x))) 4)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (cbrt.f64 (pow.f64 (cbrt.f64 (expm1.f64 (*.f64 a x))) 4))) (sqrt.f64 (pow.f64 (cbrt.f64 (cbrt.f64 (expm1.f64 (*.f64 a x)))) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 1 1/3) (cbrt.f64 (expm1.f64 (*.f64 a x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (sqrt.f64 (expm1.f64 (*.f64 a x))) 1/3) (pow.f64 (sqrt.f64 (expm1.f64 (*.f64 a x))) 1/3))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (expm1.f64 (*.f64 a x)) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (expm1.f64 (*.f64 a x))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (cbrt.f64 (expm1.f64 (*.f64 a x))) 2) 1/2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (cbrt.f64 (expm1.f64 (*.f64 a x)))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (expm1.f64 (*.f64 a x)) 1/6) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (cbrt.f64 (expm1.f64 (*.f64 a x))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x fabs.f64 (cbrt.f64 (expm1.f64 (*.f64 a x))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (cbrt.f64 (expm1.f64 (*.f64 a x)))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (cbrt.f64 (expm1.f64 (*.f64 a x))))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (cbrt.f64 (expm1.f64 (*.f64 a x)))))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (cbrt.f64 (expm1.f64 (*.f64 a x)))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (cbrt.f64 (expm1.f64 (*.f64 a x)))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (expm1.f64 (*.f64 a x))) 1/3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (cbrt.f64 (expm1.f64 (*.f64 a x)))) 1)))))) |
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (pow.f64 (cbrt.f64 (expm1.f64 (*.f64 a x))) 2))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (expm1.f64 (*.f64 a x))) (cbrt.f64 (expm1.f64 (*.f64 a x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (expm1.f64 (*.f64 a x))) 2) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (pow.f64 (cbrt.f64 (expm1.f64 (*.f64 a x))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (cbrt.f64 (expm1.f64 (*.f64 a x)))) 2) (cbrt.f64 (pow.f64 (cbrt.f64 (expm1.f64 (*.f64 a x))) 4)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (cbrt.f64 (expm1.f64 (*.f64 a x)))) 2) (*.f64 (cbrt.f64 (cbrt.f64 (expm1.f64 (*.f64 a x)))) (cbrt.f64 (expm1.f64 (*.f64 a x)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (pow.f64 (cbrt.f64 (expm1.f64 (*.f64 a x))) 4)) (pow.f64 (cbrt.f64 (cbrt.f64 (expm1.f64 (*.f64 a x)))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (expm1.f64 (*.f64 a x))) (pow.f64 (expm1.f64 (*.f64 a x)) 1/6))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (expm1.f64 (*.f64 a x)) 1/6) (*.f64 (pow.f64 (expm1.f64 (*.f64 a x)) 1/6) (cbrt.f64 (expm1.f64 (*.f64 a x)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (cbrt.f64 (expm1.f64 (*.f64 a x))) (pow.f64 (cbrt.f64 (cbrt.f64 (expm1.f64 (*.f64 a x)))) 2)) (cbrt.f64 (cbrt.f64 (expm1.f64 (*.f64 a x)))))))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (cbrt.f64 (expm1.f64 (*.f64 a x))) 4))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (pow.f64 (cbrt.f64 (expm1.f64 (*.f64 a x))) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (pow.f64 (cbrt.f64 (expm1.f64 (*.f64 a x))) 2))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (expm1.f64 (*.f64 a x)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (pow.f64 (cbrt.f64 (expm1.f64 (*.f64 a x))) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (pow.f64 (cbrt.f64 (expm1.f64 (*.f64 a x))) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 2 (log.f64 (cbrt.f64 (expm1.f64 (*.f64 a x))))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 2 (log.f64 (cbrt.f64 (expm1.f64 (*.f64 a x))))) 1)))))) |
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (pow.f64 (expm1.f64 (*.f64 a x)) 2))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (expm1.f64 (*.f64 a x)) (expm1.f64 (*.f64 a x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (expm1.f64 (*.f64 a x))) 2) (pow.f64 (cbrt.f64 (expm1.f64 (*.f64 a x))) 4))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (expm1.f64 (*.f64 a x)) 2) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (pow.f64 (expm1.f64 (*.f64 a x)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (expm1.f64 (*.f64 a x))) 4) (pow.f64 (cbrt.f64 (expm1.f64 (*.f64 a x))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (cbrt.f64 (expm1.f64 (*.f64 a x)))) 2) (*.f64 (cbrt.f64 (*.f64 (expm1.f64 (*.f64 a x)) (pow.f64 (cbrt.f64 (expm1.f64 (*.f64 a x))) 4))) (expm1.f64 (*.f64 a x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (pow.f64 (cbrt.f64 (expm1.f64 (*.f64 a x))) 4)) (pow.f64 (cbrt.f64 (*.f64 (expm1.f64 (*.f64 a x)) (pow.f64 (cbrt.f64 (expm1.f64 (*.f64 a x))) 4))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (pow.f64 (expm1.f64 (*.f64 a x)) 3)) (sqrt.f64 (expm1.f64 (*.f64 a x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (expm1.f64 (*.f64 a x))) (sqrt.f64 (pow.f64 (expm1.f64 (*.f64 a x)) 3)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (expm1.f64 (*.f64 a x)) (pow.f64 (cbrt.f64 (cbrt.f64 (expm1.f64 (*.f64 a x)))) 2)) (cbrt.f64 (*.f64 (expm1.f64 (*.f64 a x)) (pow.f64 (cbrt.f64 (expm1.f64 (*.f64 a x))) 4))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (expm1.f64 (*.f64 a x)) (pow.f64 (cbrt.f64 (expm1.f64 (*.f64 a x))) 2)) (cbrt.f64 (expm1.f64 (*.f64 a x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (pow.f64 (cbrt.f64 (expm1.f64 (*.f64 a x))) 4) (cbrt.f64 (expm1.f64 (*.f64 a x)))) (cbrt.f64 (expm1.f64 (*.f64 a x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (pow.f64 (cbrt.f64 (expm1.f64 (*.f64 a x))) 4) 1) (pow.f64 (cbrt.f64 (expm1.f64 (*.f64 a x))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (pow.f64 (cbrt.f64 (expm1.f64 (*.f64 a x))) 4) (cbrt.f64 (pow.f64 (cbrt.f64 (expm1.f64 (*.f64 a x))) 4))) (pow.f64 (cbrt.f64 (cbrt.f64 (expm1.f64 (*.f64 a x)))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (expm1.f64 (*.f64 a x)) 4))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (pow.f64 (expm1.f64 (*.f64 a x)) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (pow.f64 (expm1.f64 (*.f64 a x)) 2))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (pow.f64 (expm1.f64 (*.f64 a x)) 2) 3))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (pow.f64 (expm1.f64 (*.f64 a x)) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (pow.f64 (expm1.f64 (*.f64 a x)) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 2 (log.f64 (expm1.f64 (*.f64 a x)))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 2 (log.f64 (expm1.f64 (*.f64 a x)))) 1)))))) |
| 1× | egg-herbie |
| 450× | fma-def_binary64 |
| 378× | distribute-lft-out_binary64 |
| 354× | distribute-rgt-out_binary64 |
| 341× | associate-*l*_binary64 |
| 332× | unswap-sqr_binary64 |
Useful iterations: 3 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 65 | 950 |
| 1 | 201 | 950 |
| 2 | 599 | 940 |
| 3 | 2572 | 932 |
| 1× | node limit |
| Inputs |
|---|
(*.f64 a x) |
(+.f64 (*.f64 1/2 (*.f64 (pow.f64 a 2) (pow.f64 x 2))) (*.f64 a x)) |
(+.f64 (*.f64 1/2 (*.f64 (pow.f64 a 2) (pow.f64 x 2))) (+.f64 (*.f64 a x) (*.f64 1/6 (*.f64 (pow.f64 a 3) (pow.f64 x 3))))) |
(+.f64 (*.f64 1/2 (*.f64 (pow.f64 a 2) (pow.f64 x 2))) (+.f64 (*.f64 a x) (+.f64 (*.f64 1/24 (*.f64 (pow.f64 a 4) (pow.f64 x 4))) (*.f64 1/6 (*.f64 (pow.f64 a 3) (pow.f64 x 3)))))) |
(-.f64 (exp.f64 (*.f64 a x)) 1) |
(-.f64 (exp.f64 (*.f64 a x)) 1) |
(-.f64 (exp.f64 (*.f64 a x)) 1) |
(-.f64 (exp.f64 (*.f64 a x)) 1) |
(-.f64 (exp.f64 (*.f64 a x)) 1) |
(-.f64 (exp.f64 (*.f64 a x)) 1) |
(-.f64 (exp.f64 (*.f64 a x)) 1) |
(-.f64 (exp.f64 (*.f64 a x)) 1) |
(*.f64 a x) |
(+.f64 (*.f64 1/2 (*.f64 (pow.f64 a 2) (pow.f64 x 2))) (*.f64 a x)) |
(+.f64 (*.f64 1/2 (*.f64 (pow.f64 a 2) (pow.f64 x 2))) (+.f64 (*.f64 a x) (*.f64 1/6 (*.f64 (pow.f64 a 3) (pow.f64 x 3))))) |
(+.f64 (*.f64 1/2 (*.f64 (pow.f64 a 2) (pow.f64 x 2))) (+.f64 (*.f64 a x) (+.f64 (*.f64 1/24 (*.f64 (pow.f64 a 4) (pow.f64 x 4))) (*.f64 1/6 (*.f64 (pow.f64 a 3) (pow.f64 x 3)))))) |
(-.f64 (exp.f64 (*.f64 a x)) 1) |
(-.f64 (exp.f64 (*.f64 a x)) 1) |
(-.f64 (exp.f64 (*.f64 a x)) 1) |
(-.f64 (exp.f64 (*.f64 a x)) 1) |
(-.f64 (exp.f64 (*.f64 a x)) 1) |
(-.f64 (exp.f64 (*.f64 a x)) 1) |
(-.f64 (exp.f64 (*.f64 a x)) 1) |
(-.f64 (exp.f64 (*.f64 a x)) 1) |
(pow.f64 (-.f64 (exp.f64 (*.f64 a x)) 1) 1/3) |
(pow.f64 (-.f64 (exp.f64 (*.f64 a x)) 1) 1/3) |
(pow.f64 (-.f64 (exp.f64 (*.f64 a x)) 1) 1/3) |
(pow.f64 (-.f64 (exp.f64 (*.f64 a x)) 1) 1/3) |
(pow.f64 (-.f64 (exp.f64 (*.f64 a x)) 1) 1/3) |
(pow.f64 (-.f64 (exp.f64 (*.f64 a x)) 1) 1/3) |
(pow.f64 (-.f64 (exp.f64 (*.f64 a x)) 1) 1/3) |
(pow.f64 (-.f64 (exp.f64 (*.f64 a x)) 1) 1/3) |
(pow.f64 (-.f64 (exp.f64 (*.f64 a x)) 1) 1/3) |
(pow.f64 (-.f64 (exp.f64 (*.f64 a x)) 1) 1/3) |
(pow.f64 (-.f64 (exp.f64 (*.f64 a x)) 1) 1/3) |
(pow.f64 (-.f64 (exp.f64 (*.f64 a x)) 1) 1/3) |
(pow.f64 (-.f64 (exp.f64 (*.f64 a x)) 1) 1/3) |
(pow.f64 (-.f64 (exp.f64 (*.f64 a x)) 1) 1/3) |
(pow.f64 (-.f64 (exp.f64 (*.f64 a x)) 1) 1/3) |
(pow.f64 (-.f64 (exp.f64 (*.f64 a x)) 1) 1/3) |
(pow.f64 (pow.f64 (-.f64 (exp.f64 (*.f64 a x)) 1) 2) 1/3) |
(pow.f64 (pow.f64 (-.f64 (exp.f64 (*.f64 a x)) 1) 2) 1/3) |
(pow.f64 (pow.f64 (-.f64 (exp.f64 (*.f64 a x)) 1) 2) 1/3) |
(pow.f64 (pow.f64 (-.f64 (exp.f64 (*.f64 a x)) 1) 2) 1/3) |
(pow.f64 (pow.f64 (-.f64 (exp.f64 (*.f64 a x)) 1) 2) 1/3) |
(pow.f64 (pow.f64 (-.f64 (exp.f64 (*.f64 a x)) 1) 2) 1/3) |
(pow.f64 (pow.f64 (-.f64 (exp.f64 (*.f64 a x)) 1) 2) 1/3) |
(pow.f64 (pow.f64 (-.f64 (exp.f64 (*.f64 a x)) 1) 2) 1/3) |
(pow.f64 (pow.f64 (-.f64 (exp.f64 (*.f64 a x)) 1) 2) 1/3) |
(pow.f64 (pow.f64 (-.f64 (exp.f64 (*.f64 a x)) 1) 2) 1/3) |
(pow.f64 (pow.f64 (-.f64 (exp.f64 (*.f64 a x)) 1) 2) 1/3) |
(pow.f64 (pow.f64 (-.f64 (exp.f64 (*.f64 a x)) 1) 2) 1/3) |
(pow.f64 (pow.f64 (-.f64 (exp.f64 (*.f64 a x)) 1) 2) 1/3) |
(pow.f64 (pow.f64 (-.f64 (exp.f64 (*.f64 a x)) 1) 2) 1/3) |
(pow.f64 (pow.f64 (-.f64 (exp.f64 (*.f64 a x)) 1) 2) 1/3) |
(pow.f64 (pow.f64 (-.f64 (exp.f64 (*.f64 a x)) 1) 2) 1/3) |
(*.f64 (pow.f64 a 2) (pow.f64 x 2)) |
(+.f64 (*.f64 (pow.f64 a 2) (pow.f64 x 2)) (*.f64 (pow.f64 a 3) (pow.f64 x 3))) |
(+.f64 (*.f64 (pow.f64 a 4) (+.f64 (*.f64 1/4 (pow.f64 x 4)) (*.f64 1/3 (pow.f64 x 4)))) (+.f64 (*.f64 (pow.f64 a 2) (pow.f64 x 2)) (*.f64 (pow.f64 a 3) (pow.f64 x 3)))) |
(+.f64 (*.f64 (pow.f64 a 4) (+.f64 (*.f64 1/4 (pow.f64 x 4)) (*.f64 1/3 (pow.f64 x 4)))) (+.f64 (*.f64 (pow.f64 a 2) (pow.f64 x 2)) (+.f64 (*.f64 (pow.f64 a 3) (pow.f64 x 3)) (*.f64 (+.f64 (*.f64 1/12 (pow.f64 x 5)) (*.f64 1/6 (pow.f64 x 5))) (pow.f64 a 5))))) |
(pow.f64 (-.f64 (exp.f64 (*.f64 a x)) 1) 2) |
(pow.f64 (-.f64 (exp.f64 (*.f64 a x)) 1) 2) |
(pow.f64 (-.f64 (exp.f64 (*.f64 a x)) 1) 2) |
(pow.f64 (-.f64 (exp.f64 (*.f64 a x)) 1) 2) |
(pow.f64 (-.f64 (exp.f64 (*.f64 a x)) 1) 2) |
(pow.f64 (-.f64 (exp.f64 (*.f64 a x)) 1) 2) |
(pow.f64 (-.f64 (exp.f64 (*.f64 a x)) 1) 2) |
(pow.f64 (-.f64 (exp.f64 (*.f64 a x)) 1) 2) |
(*.f64 (pow.f64 a 2) (pow.f64 x 2)) |
(+.f64 (*.f64 (pow.f64 a 2) (pow.f64 x 2)) (*.f64 (pow.f64 a 3) (pow.f64 x 3))) |
(+.f64 (*.f64 (+.f64 (*.f64 1/3 (pow.f64 a 4)) (*.f64 1/4 (pow.f64 a 4))) (pow.f64 x 4)) (+.f64 (*.f64 (pow.f64 a 2) (pow.f64 x 2)) (*.f64 (pow.f64 a 3) (pow.f64 x 3)))) |
(+.f64 (*.f64 (+.f64 (*.f64 1/3 (pow.f64 a 4)) (*.f64 1/4 (pow.f64 a 4))) (pow.f64 x 4)) (+.f64 (*.f64 (pow.f64 a 2) (pow.f64 x 2)) (+.f64 (*.f64 (+.f64 (*.f64 1/12 (pow.f64 a 5)) (*.f64 1/6 (pow.f64 a 5))) (pow.f64 x 5)) (*.f64 (pow.f64 a 3) (pow.f64 x 3))))) |
(pow.f64 (-.f64 (exp.f64 (*.f64 a x)) 1) 2) |
(pow.f64 (-.f64 (exp.f64 (*.f64 a x)) 1) 2) |
(pow.f64 (-.f64 (exp.f64 (*.f64 a x)) 1) 2) |
(pow.f64 (-.f64 (exp.f64 (*.f64 a x)) 1) 2) |
(pow.f64 (-.f64 (exp.f64 (*.f64 a x)) 1) 2) |
(pow.f64 (-.f64 (exp.f64 (*.f64 a x)) 1) 2) |
(pow.f64 (-.f64 (exp.f64 (*.f64 a x)) 1) 2) |
(pow.f64 (-.f64 (exp.f64 (*.f64 a x)) 1) 2) |
| Outputs |
|---|
(*.f64 a x) |
(+.f64 (*.f64 1/2 (*.f64 (pow.f64 a 2) (pow.f64 x 2))) (*.f64 a x)) |
(fma.f64 1/2 (*.f64 (*.f64 a a) (*.f64 x x)) (*.f64 a x)) |
(fma.f64 a x (*.f64 1/2 (*.f64 x (*.f64 x (*.f64 a a))))) |
(*.f64 x (+.f64 a (*.f64 x (*.f64 1/2 (*.f64 a a))))) |
(*.f64 a (+.f64 (*.f64 (*.f64 x (*.f64 x 1/2)) a) x)) |
(+.f64 (*.f64 1/2 (*.f64 (pow.f64 a 2) (pow.f64 x 2))) (+.f64 (*.f64 a x) (*.f64 1/6 (*.f64 (pow.f64 a 3) (pow.f64 x 3))))) |
(fma.f64 1/2 (*.f64 (*.f64 a a) (*.f64 x x)) (fma.f64 a x (*.f64 1/6 (*.f64 (pow.f64 a 3) (pow.f64 x 3))))) |
(fma.f64 1/2 (*.f64 x (*.f64 x (*.f64 a a))) (fma.f64 a x (*.f64 1/6 (*.f64 (pow.f64 a 3) (pow.f64 x 3))))) |
(fma.f64 1/6 (*.f64 (pow.f64 a 3) (pow.f64 x 3)) (*.f64 x (+.f64 a (*.f64 x (*.f64 1/2 (*.f64 a a)))))) |
(*.f64 x (+.f64 a (*.f64 x (+.f64 (*.f64 x (*.f64 1/6 (pow.f64 a 3))) (*.f64 a (*.f64 a 1/2)))))) |
(+.f64 (*.f64 1/2 (*.f64 (pow.f64 a 2) (pow.f64 x 2))) (+.f64 (*.f64 a x) (+.f64 (*.f64 1/24 (*.f64 (pow.f64 a 4) (pow.f64 x 4))) (*.f64 1/6 (*.f64 (pow.f64 a 3) (pow.f64 x 3)))))) |
(fma.f64 1/2 (*.f64 (*.f64 a a) (*.f64 x x)) (fma.f64 a x (fma.f64 1/24 (*.f64 (pow.f64 a 4) (pow.f64 x 4)) (*.f64 1/6 (*.f64 (pow.f64 a 3) (pow.f64 x 3)))))) |
(fma.f64 1/2 (*.f64 x (*.f64 x (*.f64 a a))) (fma.f64 a x (fma.f64 1/6 (*.f64 (pow.f64 a 3) (pow.f64 x 3)) (*.f64 1/24 (*.f64 (pow.f64 a 4) (pow.f64 x 4)))))) |
(fma.f64 1/2 (*.f64 x (*.f64 a (*.f64 a x))) (fma.f64 1/24 (*.f64 (pow.f64 a 4) (pow.f64 x 4)) (fma.f64 1/6 (*.f64 (pow.f64 a 3) (pow.f64 x 3)) (*.f64 a x)))) |
(fma.f64 a x (*.f64 (*.f64 x x) (+.f64 (*.f64 a (*.f64 a 1/2)) (*.f64 x (+.f64 (*.f64 1/6 (pow.f64 a 3)) (*.f64 (*.f64 1/24 (pow.f64 a 4)) x)))))) |
(-.f64 (exp.f64 (*.f64 a x)) 1) |
(expm1.f64 (*.f64 a x)) |
(-.f64 (exp.f64 (*.f64 a x)) 1) |
(expm1.f64 (*.f64 a x)) |
(-.f64 (exp.f64 (*.f64 a x)) 1) |
(expm1.f64 (*.f64 a x)) |
(-.f64 (exp.f64 (*.f64 a x)) 1) |
(expm1.f64 (*.f64 a x)) |
(-.f64 (exp.f64 (*.f64 a x)) 1) |
(expm1.f64 (*.f64 a x)) |
(-.f64 (exp.f64 (*.f64 a x)) 1) |
(expm1.f64 (*.f64 a x)) |
(-.f64 (exp.f64 (*.f64 a x)) 1) |
(expm1.f64 (*.f64 a x)) |
(-.f64 (exp.f64 (*.f64 a x)) 1) |
(expm1.f64 (*.f64 a x)) |
(*.f64 a x) |
(+.f64 (*.f64 1/2 (*.f64 (pow.f64 a 2) (pow.f64 x 2))) (*.f64 a x)) |
(fma.f64 1/2 (*.f64 (*.f64 a a) (*.f64 x x)) (*.f64 a x)) |
(fma.f64 a x (*.f64 1/2 (*.f64 x (*.f64 x (*.f64 a a))))) |
(*.f64 x (+.f64 a (*.f64 x (*.f64 1/2 (*.f64 a a))))) |
(*.f64 a (+.f64 (*.f64 (*.f64 x (*.f64 x 1/2)) a) x)) |
(+.f64 (*.f64 1/2 (*.f64 (pow.f64 a 2) (pow.f64 x 2))) (+.f64 (*.f64 a x) (*.f64 1/6 (*.f64 (pow.f64 a 3) (pow.f64 x 3))))) |
(fma.f64 1/2 (*.f64 (*.f64 a a) (*.f64 x x)) (fma.f64 a x (*.f64 1/6 (*.f64 (pow.f64 a 3) (pow.f64 x 3))))) |
(fma.f64 1/2 (*.f64 x (*.f64 x (*.f64 a a))) (fma.f64 a x (*.f64 1/6 (*.f64 (pow.f64 a 3) (pow.f64 x 3))))) |
(fma.f64 1/6 (*.f64 (pow.f64 a 3) (pow.f64 x 3)) (*.f64 x (+.f64 a (*.f64 x (*.f64 1/2 (*.f64 a a)))))) |
(*.f64 x (+.f64 a (*.f64 x (+.f64 (*.f64 x (*.f64 1/6 (pow.f64 a 3))) (*.f64 a (*.f64 a 1/2)))))) |
(+.f64 (*.f64 1/2 (*.f64 (pow.f64 a 2) (pow.f64 x 2))) (+.f64 (*.f64 a x) (+.f64 (*.f64 1/24 (*.f64 (pow.f64 a 4) (pow.f64 x 4))) (*.f64 1/6 (*.f64 (pow.f64 a 3) (pow.f64 x 3)))))) |
(fma.f64 1/2 (*.f64 (*.f64 a a) (*.f64 x x)) (fma.f64 a x (fma.f64 1/24 (*.f64 (pow.f64 a 4) (pow.f64 x 4)) (*.f64 1/6 (*.f64 (pow.f64 a 3) (pow.f64 x 3)))))) |
(fma.f64 1/2 (*.f64 x (*.f64 x (*.f64 a a))) (fma.f64 a x (fma.f64 1/6 (*.f64 (pow.f64 a 3) (pow.f64 x 3)) (*.f64 1/24 (*.f64 (pow.f64 a 4) (pow.f64 x 4)))))) |
(fma.f64 1/2 (*.f64 x (*.f64 a (*.f64 a x))) (fma.f64 1/24 (*.f64 (pow.f64 a 4) (pow.f64 x 4)) (fma.f64 1/6 (*.f64 (pow.f64 a 3) (pow.f64 x 3)) (*.f64 a x)))) |
(fma.f64 a x (*.f64 (*.f64 x x) (+.f64 (*.f64 a (*.f64 a 1/2)) (*.f64 x (+.f64 (*.f64 1/6 (pow.f64 a 3)) (*.f64 (*.f64 1/24 (pow.f64 a 4)) x)))))) |
(-.f64 (exp.f64 (*.f64 a x)) 1) |
(expm1.f64 (*.f64 a x)) |
(-.f64 (exp.f64 (*.f64 a x)) 1) |
(expm1.f64 (*.f64 a x)) |
(-.f64 (exp.f64 (*.f64 a x)) 1) |
(expm1.f64 (*.f64 a x)) |
(-.f64 (exp.f64 (*.f64 a x)) 1) |
(expm1.f64 (*.f64 a x)) |
(-.f64 (exp.f64 (*.f64 a x)) 1) |
(expm1.f64 (*.f64 a x)) |
(-.f64 (exp.f64 (*.f64 a x)) 1) |
(expm1.f64 (*.f64 a x)) |
(-.f64 (exp.f64 (*.f64 a x)) 1) |
(expm1.f64 (*.f64 a x)) |
(-.f64 (exp.f64 (*.f64 a x)) 1) |
(expm1.f64 (*.f64 a x)) |
(pow.f64 (-.f64 (exp.f64 (*.f64 a x)) 1) 1/3) |
(cbrt.f64 (expm1.f64 (*.f64 a x))) |
(pow.f64 (-.f64 (exp.f64 (*.f64 a x)) 1) 1/3) |
(cbrt.f64 (expm1.f64 (*.f64 a x))) |
(pow.f64 (-.f64 (exp.f64 (*.f64 a x)) 1) 1/3) |
(cbrt.f64 (expm1.f64 (*.f64 a x))) |
(pow.f64 (-.f64 (exp.f64 (*.f64 a x)) 1) 1/3) |
(cbrt.f64 (expm1.f64 (*.f64 a x))) |
(pow.f64 (-.f64 (exp.f64 (*.f64 a x)) 1) 1/3) |
(cbrt.f64 (expm1.f64 (*.f64 a x))) |
(pow.f64 (-.f64 (exp.f64 (*.f64 a x)) 1) 1/3) |
(cbrt.f64 (expm1.f64 (*.f64 a x))) |
(pow.f64 (-.f64 (exp.f64 (*.f64 a x)) 1) 1/3) |
(cbrt.f64 (expm1.f64 (*.f64 a x))) |
(pow.f64 (-.f64 (exp.f64 (*.f64 a x)) 1) 1/3) |
(cbrt.f64 (expm1.f64 (*.f64 a x))) |
(pow.f64 (-.f64 (exp.f64 (*.f64 a x)) 1) 1/3) |
(cbrt.f64 (expm1.f64 (*.f64 a x))) |
(pow.f64 (-.f64 (exp.f64 (*.f64 a x)) 1) 1/3) |
(cbrt.f64 (expm1.f64 (*.f64 a x))) |
(pow.f64 (-.f64 (exp.f64 (*.f64 a x)) 1) 1/3) |
(cbrt.f64 (expm1.f64 (*.f64 a x))) |
(pow.f64 (-.f64 (exp.f64 (*.f64 a x)) 1) 1/3) |
(cbrt.f64 (expm1.f64 (*.f64 a x))) |
(pow.f64 (-.f64 (exp.f64 (*.f64 a x)) 1) 1/3) |
(cbrt.f64 (expm1.f64 (*.f64 a x))) |
(pow.f64 (-.f64 (exp.f64 (*.f64 a x)) 1) 1/3) |
(cbrt.f64 (expm1.f64 (*.f64 a x))) |
(pow.f64 (-.f64 (exp.f64 (*.f64 a x)) 1) 1/3) |
(cbrt.f64 (expm1.f64 (*.f64 a x))) |
(pow.f64 (-.f64 (exp.f64 (*.f64 a x)) 1) 1/3) |
(cbrt.f64 (expm1.f64 (*.f64 a x))) |
(pow.f64 (pow.f64 (-.f64 (exp.f64 (*.f64 a x)) 1) 2) 1/3) |
(cbrt.f64 (pow.f64 (expm1.f64 (*.f64 a x)) 2)) |
(pow.f64 (pow.f64 (-.f64 (exp.f64 (*.f64 a x)) 1) 2) 1/3) |
(cbrt.f64 (pow.f64 (expm1.f64 (*.f64 a x)) 2)) |
(pow.f64 (pow.f64 (-.f64 (exp.f64 (*.f64 a x)) 1) 2) 1/3) |
(cbrt.f64 (pow.f64 (expm1.f64 (*.f64 a x)) 2)) |
(pow.f64 (pow.f64 (-.f64 (exp.f64 (*.f64 a x)) 1) 2) 1/3) |
(cbrt.f64 (pow.f64 (expm1.f64 (*.f64 a x)) 2)) |
(pow.f64 (pow.f64 (-.f64 (exp.f64 (*.f64 a x)) 1) 2) 1/3) |
(cbrt.f64 (pow.f64 (expm1.f64 (*.f64 a x)) 2)) |
(pow.f64 (pow.f64 (-.f64 (exp.f64 (*.f64 a x)) 1) 2) 1/3) |
(cbrt.f64 (pow.f64 (expm1.f64 (*.f64 a x)) 2)) |
(pow.f64 (pow.f64 (-.f64 (exp.f64 (*.f64 a x)) 1) 2) 1/3) |
(cbrt.f64 (pow.f64 (expm1.f64 (*.f64 a x)) 2)) |
(pow.f64 (pow.f64 (-.f64 (exp.f64 (*.f64 a x)) 1) 2) 1/3) |
(cbrt.f64 (pow.f64 (expm1.f64 (*.f64 a x)) 2)) |
(pow.f64 (pow.f64 (-.f64 (exp.f64 (*.f64 a x)) 1) 2) 1/3) |
(cbrt.f64 (pow.f64 (expm1.f64 (*.f64 a x)) 2)) |
(pow.f64 (pow.f64 (-.f64 (exp.f64 (*.f64 a x)) 1) 2) 1/3) |
(cbrt.f64 (pow.f64 (expm1.f64 (*.f64 a x)) 2)) |
(pow.f64 (pow.f64 (-.f64 (exp.f64 (*.f64 a x)) 1) 2) 1/3) |
(cbrt.f64 (pow.f64 (expm1.f64 (*.f64 a x)) 2)) |
(pow.f64 (pow.f64 (-.f64 (exp.f64 (*.f64 a x)) 1) 2) 1/3) |
(cbrt.f64 (pow.f64 (expm1.f64 (*.f64 a x)) 2)) |
(pow.f64 (pow.f64 (-.f64 (exp.f64 (*.f64 a x)) 1) 2) 1/3) |
(cbrt.f64 (pow.f64 (expm1.f64 (*.f64 a x)) 2)) |
(pow.f64 (pow.f64 (-.f64 (exp.f64 (*.f64 a x)) 1) 2) 1/3) |
(cbrt.f64 (pow.f64 (expm1.f64 (*.f64 a x)) 2)) |
(pow.f64 (pow.f64 (-.f64 (exp.f64 (*.f64 a x)) 1) 2) 1/3) |
(cbrt.f64 (pow.f64 (expm1.f64 (*.f64 a x)) 2)) |
(pow.f64 (pow.f64 (-.f64 (exp.f64 (*.f64 a x)) 1) 2) 1/3) |
(cbrt.f64 (pow.f64 (expm1.f64 (*.f64 a x)) 2)) |
(*.f64 (pow.f64 a 2) (pow.f64 x 2)) |
(*.f64 (*.f64 a a) (*.f64 x x)) |
(*.f64 x (*.f64 x (*.f64 a a))) |
(*.f64 x (*.f64 a (*.f64 a x))) |
(*.f64 a (*.f64 x (*.f64 a x))) |
(+.f64 (*.f64 (pow.f64 a 2) (pow.f64 x 2)) (*.f64 (pow.f64 a 3) (pow.f64 x 3))) |
(fma.f64 (*.f64 a a) (*.f64 x x) (*.f64 (pow.f64 a 3) (pow.f64 x 3))) |
(*.f64 (*.f64 a a) (+.f64 (*.f64 x x) (*.f64 a (pow.f64 x 3)))) |
(*.f64 x (*.f64 x (*.f64 (+.f64 (*.f64 a x) 1) (*.f64 a a)))) |
(+.f64 (*.f64 (pow.f64 a 4) (+.f64 (*.f64 1/4 (pow.f64 x 4)) (*.f64 1/3 (pow.f64 x 4)))) (+.f64 (*.f64 (pow.f64 a 2) (pow.f64 x 2)) (*.f64 (pow.f64 a 3) (pow.f64 x 3)))) |
(fma.f64 (pow.f64 a 4) (*.f64 (pow.f64 x 4) 7/12) (fma.f64 (*.f64 a a) (*.f64 x x) (*.f64 (pow.f64 a 3) (pow.f64 x 3)))) |
(fma.f64 (pow.f64 a 4) (*.f64 (pow.f64 x 4) 7/12) (*.f64 (*.f64 a a) (+.f64 (*.f64 x x) (*.f64 a (pow.f64 x 3))))) |
(*.f64 (*.f64 a a) (+.f64 (*.f64 x x) (*.f64 a (+.f64 (*.f64 (*.f64 (pow.f64 x 4) 7/12) a) (pow.f64 x 3))))) |
(+.f64 (*.f64 (pow.f64 a 4) (+.f64 (*.f64 1/4 (pow.f64 x 4)) (*.f64 1/3 (pow.f64 x 4)))) (+.f64 (*.f64 (pow.f64 a 2) (pow.f64 x 2)) (+.f64 (*.f64 (pow.f64 a 3) (pow.f64 x 3)) (*.f64 (+.f64 (*.f64 1/12 (pow.f64 x 5)) (*.f64 1/6 (pow.f64 x 5))) (pow.f64 a 5))))) |
(fma.f64 (pow.f64 a 4) (*.f64 (pow.f64 x 4) 7/12) (fma.f64 (*.f64 a a) (*.f64 x x) (fma.f64 (pow.f64 a 3) (pow.f64 x 3) (*.f64 (*.f64 (pow.f64 x 5) 1/4) (pow.f64 a 5))))) |
(fma.f64 (pow.f64 a 4) (*.f64 (pow.f64 x 4) 7/12) (fma.f64 (*.f64 a a) (*.f64 x x) (fma.f64 (pow.f64 a 3) (pow.f64 x 3) (*.f64 (pow.f64 x 5) (*.f64 1/4 (pow.f64 a 5)))))) |
(fma.f64 (pow.f64 a 4) (*.f64 (pow.f64 x 4) 7/12) (fma.f64 (pow.f64 x 5) (*.f64 1/4 (pow.f64 a 5)) (*.f64 (*.f64 a a) (+.f64 (*.f64 x x) (*.f64 a (pow.f64 x 3)))))) |
(fma.f64 (pow.f64 a 4) (*.f64 (pow.f64 x 4) 7/12) (fma.f64 (pow.f64 x 5) (*.f64 1/4 (pow.f64 a 5)) (*.f64 x (*.f64 x (*.f64 (+.f64 (*.f64 a x) 1) (*.f64 a a)))))) |
(pow.f64 (-.f64 (exp.f64 (*.f64 a x)) 1) 2) |
(pow.f64 (expm1.f64 (*.f64 a x)) 2) |
(pow.f64 (-.f64 (exp.f64 (*.f64 a x)) 1) 2) |
(pow.f64 (expm1.f64 (*.f64 a x)) 2) |
(pow.f64 (-.f64 (exp.f64 (*.f64 a x)) 1) 2) |
(pow.f64 (expm1.f64 (*.f64 a x)) 2) |
(pow.f64 (-.f64 (exp.f64 (*.f64 a x)) 1) 2) |
(pow.f64 (expm1.f64 (*.f64 a x)) 2) |
(pow.f64 (-.f64 (exp.f64 (*.f64 a x)) 1) 2) |
(pow.f64 (expm1.f64 (*.f64 a x)) 2) |
(pow.f64 (-.f64 (exp.f64 (*.f64 a x)) 1) 2) |
(pow.f64 (expm1.f64 (*.f64 a x)) 2) |
(pow.f64 (-.f64 (exp.f64 (*.f64 a x)) 1) 2) |
(pow.f64 (expm1.f64 (*.f64 a x)) 2) |
(pow.f64 (-.f64 (exp.f64 (*.f64 a x)) 1) 2) |
(pow.f64 (expm1.f64 (*.f64 a x)) 2) |
(*.f64 (pow.f64 a 2) (pow.f64 x 2)) |
(*.f64 (*.f64 a a) (*.f64 x x)) |
(*.f64 x (*.f64 x (*.f64 a a))) |
(*.f64 x (*.f64 a (*.f64 a x))) |
(*.f64 a (*.f64 x (*.f64 a x))) |
(+.f64 (*.f64 (pow.f64 a 2) (pow.f64 x 2)) (*.f64 (pow.f64 a 3) (pow.f64 x 3))) |
(fma.f64 (*.f64 a a) (*.f64 x x) (*.f64 (pow.f64 a 3) (pow.f64 x 3))) |
(*.f64 (*.f64 a a) (+.f64 (*.f64 x x) (*.f64 a (pow.f64 x 3)))) |
(*.f64 x (*.f64 x (*.f64 (+.f64 (*.f64 a x) 1) (*.f64 a a)))) |
(+.f64 (*.f64 (+.f64 (*.f64 1/3 (pow.f64 a 4)) (*.f64 1/4 (pow.f64 a 4))) (pow.f64 x 4)) (+.f64 (*.f64 (pow.f64 a 2) (pow.f64 x 2)) (*.f64 (pow.f64 a 3) (pow.f64 x 3)))) |
(fma.f64 (pow.f64 a 4) (*.f64 (pow.f64 x 4) 7/12) (fma.f64 (*.f64 a a) (*.f64 x x) (*.f64 (pow.f64 a 3) (pow.f64 x 3)))) |
(fma.f64 (pow.f64 a 4) (*.f64 (pow.f64 x 4) 7/12) (*.f64 (*.f64 a a) (+.f64 (*.f64 x x) (*.f64 a (pow.f64 x 3))))) |
(*.f64 (*.f64 a a) (+.f64 (*.f64 x x) (*.f64 a (+.f64 (*.f64 (*.f64 (pow.f64 x 4) 7/12) a) (pow.f64 x 3))))) |
(+.f64 (*.f64 (+.f64 (*.f64 1/3 (pow.f64 a 4)) (*.f64 1/4 (pow.f64 a 4))) (pow.f64 x 4)) (+.f64 (*.f64 (pow.f64 a 2) (pow.f64 x 2)) (+.f64 (*.f64 (+.f64 (*.f64 1/12 (pow.f64 a 5)) (*.f64 1/6 (pow.f64 a 5))) (pow.f64 x 5)) (*.f64 (pow.f64 a 3) (pow.f64 x 3))))) |
(fma.f64 (pow.f64 a 4) (*.f64 (pow.f64 x 4) 7/12) (fma.f64 (*.f64 a a) (*.f64 x x) (fma.f64 (pow.f64 a 3) (pow.f64 x 3) (*.f64 (*.f64 (pow.f64 x 5) 1/4) (pow.f64 a 5))))) |
(fma.f64 (pow.f64 a 4) (*.f64 (pow.f64 x 4) 7/12) (fma.f64 (*.f64 a a) (*.f64 x x) (fma.f64 (pow.f64 a 3) (pow.f64 x 3) (*.f64 (pow.f64 x 5) (*.f64 1/4 (pow.f64 a 5)))))) |
(fma.f64 (pow.f64 a 4) (*.f64 (pow.f64 x 4) 7/12) (fma.f64 (pow.f64 x 5) (*.f64 1/4 (pow.f64 a 5)) (*.f64 (*.f64 a a) (+.f64 (*.f64 x x) (*.f64 a (pow.f64 x 3)))))) |
(fma.f64 (pow.f64 a 4) (*.f64 (pow.f64 x 4) 7/12) (fma.f64 (pow.f64 x 5) (*.f64 1/4 (pow.f64 a 5)) (*.f64 x (*.f64 x (*.f64 (+.f64 (*.f64 a x) 1) (*.f64 a a)))))) |
(pow.f64 (-.f64 (exp.f64 (*.f64 a x)) 1) 2) |
(pow.f64 (expm1.f64 (*.f64 a x)) 2) |
(pow.f64 (-.f64 (exp.f64 (*.f64 a x)) 1) 2) |
(pow.f64 (expm1.f64 (*.f64 a x)) 2) |
(pow.f64 (-.f64 (exp.f64 (*.f64 a x)) 1) 2) |
(pow.f64 (expm1.f64 (*.f64 a x)) 2) |
(pow.f64 (-.f64 (exp.f64 (*.f64 a x)) 1) 2) |
(pow.f64 (expm1.f64 (*.f64 a x)) 2) |
(pow.f64 (-.f64 (exp.f64 (*.f64 a x)) 1) 2) |
(pow.f64 (expm1.f64 (*.f64 a x)) 2) |
(pow.f64 (-.f64 (exp.f64 (*.f64 a x)) 1) 2) |
(pow.f64 (expm1.f64 (*.f64 a x)) 2) |
(pow.f64 (-.f64 (exp.f64 (*.f64 a x)) 1) 2) |
(pow.f64 (expm1.f64 (*.f64 a x)) 2) |
(pow.f64 (-.f64 (exp.f64 (*.f64 a x)) 1) 2) |
(pow.f64 (expm1.f64 (*.f64 a x)) 2) |
3 alts after pruning (1 fresh and 2 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 144 | 0 | 144 |
| Fresh | 0 | 1 | 1 |
| Picked | 0 | 1 | 1 |
| Done | 0 | 1 | 1 |
| Total | 144 | 3 | 147 |
| Status | Error | Program |
|---|---|---|
| ✓ | 0.0b | (expm1.f64 (*.f64 a x)) |
| ▶ | 38.1b | (pow.f64 (sqrt.f64 (expm1.f64 (*.f64 a x))) 2) |
| ✓ | 17.5b | (cbrt.f64 (*.f64 (pow.f64 (cbrt.f64 (expm1.f64 (*.f64 a x))) 2) (*.f64 (cbrt.f64 (expm1.f64 (*.f64 a x))) (pow.f64 (expm1.f64 (*.f64 a x)) 2)))) |
Compiled 3462 to 1414 computations (59.2% saved)
Found 3 expressions with local error:
| New | Error | Program |
|---|---|---|
| 0.0b | (expm1.f64 (*.f64 a x)) | |
| ✓ | 0.1b | (pow.f64 (sqrt.f64 (expm1.f64 (*.f64 a x))) 2) |
| ✓ | 8.7b | (sqrt.f64 (expm1.f64 (*.f64 a x))) |
12 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 2.0ms | x | @ | 0 | (pow.f64 (sqrt.f64 (expm1.f64 (*.f64 a x))) 2) |
| 1.0ms | a | @ | 0 | (pow.f64 (sqrt.f64 (expm1.f64 (*.f64 a x))) 2) |
| 1.0ms | x | @ | 0 | (sqrt.f64 (expm1.f64 (*.f64 a x))) |
| 1.0ms | a | @ | 0 | (sqrt.f64 (expm1.f64 (*.f64 a x))) |
| 1.0ms | a | @ | -inf | (pow.f64 (sqrt.f64 (expm1.f64 (*.f64 a x))) 2) |
| 1× | batch-egg-rewrite |
| 588× | pow1_binary64 |
| 543× | add-log-exp_binary64 |
| 543× | log1p-expm1-u_binary64 |
| 543× | expm1-log1p-u_binary64 |
| 529× | add-exp-log_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 8 | 14 |
| 1 | 161 | 14 |
| 2 | 1543 | 14 |
| 1× | node limit |
| Inputs |
|---|
(sqrt.f64 (expm1.f64 (*.f64 a x))) |
(pow.f64 (sqrt.f64 (expm1.f64 (*.f64 a x))) 2) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (sqrt.f64 (expm1.f64 (*.f64 a x)))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (expm1.f64 (*.f64 a x))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (sqrt.f64 (expm1.f64 (*.f64 a x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (expm1.f64 (*.f64 a x))) (cbrt.f64 (sqrt.f64 (expm1.f64 (*.f64 a x)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (sqrt.f64 (expm1.f64 (*.f64 a x)))) (cbrt.f64 (expm1.f64 (*.f64 a x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (expm1.f64 (*.f64 a x)) 1/4) (pow.f64 (expm1.f64 (*.f64 a x)) 1/4))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (pow.f64 (cbrt.f64 (expm1.f64 (*.f64 a x))) 2)) (sqrt.f64 (cbrt.f64 (expm1.f64 (*.f64 a x)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 1 1/2) (sqrt.f64 (expm1.f64 (*.f64 a x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (pow.f64 (cbrt.f64 (expm1.f64 (*.f64 a x))) 2) 1/2) (pow.f64 (cbrt.f64 (expm1.f64 (*.f64 a x))) 1/2))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (expm1.f64 (*.f64 a x)) 1/2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (expm1.f64 (*.f64 a x))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (expm1.f64 (*.f64 a x)) 3/2) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (sqrt.f64 (expm1.f64 (*.f64 a x)))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (expm1.f64 (*.f64 a x)) 1/4) 2)))) (#(struct:change #<rule egg-rr> (2) ((x fabs.f64 (sqrt.f64 (expm1.f64 (*.f64 a x))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (sqrt.f64 (expm1.f64 (*.f64 a x)))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (expm1.f64 (*.f64 a x)) 3/2))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (sqrt.f64 (expm1.f64 (*.f64 a x)))))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (sqrt.f64 (expm1.f64 (*.f64 a x)))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (sqrt.f64 (expm1.f64 (*.f64 a x))))))))) |
((#(struct:change #<rule egg-rr> (2) ((x +.f64 (pow.f64 (exp.f64 a) x) -1)))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (pow.f64 (exp.f64 a) x) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (expm1.f64 (*.f64 a x)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (expm1.f64 (*.f64 a x))) (sqrt.f64 (expm1.f64 (*.f64 a x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (expm1.f64 (*.f64 a x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (expm1.f64 (*.f64 a x))) (pow.f64 (cbrt.f64 (expm1.f64 (*.f64 a x))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (expm1.f64 (*.f64 a x))) (*.f64 (cbrt.f64 (sqrt.f64 (expm1.f64 (*.f64 a x)))) (sqrt.f64 (expm1.f64 (*.f64 a x)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (expm1.f64 (*.f64 a x))) 2) (cbrt.f64 (expm1.f64 (*.f64 a x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (expm1.f64 (*.f64 a x)) 1/4) (*.f64 (pow.f64 (expm1.f64 (*.f64 a x)) 1/4) (sqrt.f64 (expm1.f64 (*.f64 a x)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (sqrt.f64 (expm1.f64 (*.f64 a x))) (pow.f64 (expm1.f64 (*.f64 a x)) 1/4)) (pow.f64 (expm1.f64 (*.f64 a x)) 1/4))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (sqrt.f64 (expm1.f64 (*.f64 a x))) (cbrt.f64 (expm1.f64 (*.f64 a x)))) (cbrt.f64 (sqrt.f64 (expm1.f64 (*.f64 a x)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (pow.f64 (pow.f64 (exp.f64 a) x) 3) 1) (+.f64 (*.f64 (pow.f64 (exp.f64 a) x) (pow.f64 (exp.f64 a) x)) (+.f64 1 (*.f64 (pow.f64 (exp.f64 a) x) 1))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (*.f64 (pow.f64 (exp.f64 a) x) (pow.f64 (exp.f64 a) x)) 1) (+.f64 (pow.f64 (exp.f64 a) x) 1))))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (expm1.f64 (*.f64 a x)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (expm1.f64 (*.f64 a x))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (expm1.f64 (*.f64 a x)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (expm1.f64 (*.f64 a x))))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (*.f64 a x))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (expm1.f64 (*.f64 a x)))))))) |
| 1× | egg-herbie |
| 440× | unswap-sqr_binary64 |
| 340× | associate-*l*_binary64 |
| 284× | associate-*r*_binary64 |
| 275× | associate-+l+_binary64 |
| 201× | associate-/l/_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 8 | 224 |
| 1 | 17 | 224 |
| 2 | 24 | 224 |
| 3 | 36 | 224 |
| 4 | 71 | 224 |
| 5 | 176 | 224 |
| 6 | 565 | 224 |
| 7 | 2399 | 224 |
| 1× | node limit |
| Inputs |
|---|
(sqrt.f64 (-.f64 (exp.f64 (*.f64 a x)) 1)) |
(sqrt.f64 (-.f64 (exp.f64 (*.f64 a x)) 1)) |
(sqrt.f64 (-.f64 (exp.f64 (*.f64 a x)) 1)) |
(sqrt.f64 (-.f64 (exp.f64 (*.f64 a x)) 1)) |
(sqrt.f64 (-.f64 (exp.f64 (*.f64 a x)) 1)) |
(sqrt.f64 (-.f64 (exp.f64 (*.f64 a x)) 1)) |
(sqrt.f64 (-.f64 (exp.f64 (*.f64 a x)) 1)) |
(sqrt.f64 (-.f64 (exp.f64 (*.f64 a x)) 1)) |
(sqrt.f64 (-.f64 (exp.f64 (*.f64 a x)) 1)) |
(sqrt.f64 (-.f64 (exp.f64 (*.f64 a x)) 1)) |
(sqrt.f64 (-.f64 (exp.f64 (*.f64 a x)) 1)) |
(sqrt.f64 (-.f64 (exp.f64 (*.f64 a x)) 1)) |
(sqrt.f64 (-.f64 (exp.f64 (*.f64 a x)) 1)) |
(sqrt.f64 (-.f64 (exp.f64 (*.f64 a x)) 1)) |
(sqrt.f64 (-.f64 (exp.f64 (*.f64 a x)) 1)) |
(sqrt.f64 (-.f64 (exp.f64 (*.f64 a x)) 1)) |
(-.f64 (exp.f64 (*.f64 a x)) 1) |
(-.f64 (exp.f64 (*.f64 a x)) 1) |
(-.f64 (exp.f64 (*.f64 a x)) 1) |
(-.f64 (exp.f64 (*.f64 a x)) 1) |
(-.f64 (exp.f64 (*.f64 a x)) 1) |
(-.f64 (exp.f64 (*.f64 a x)) 1) |
(-.f64 (exp.f64 (*.f64 a x)) 1) |
(-.f64 (exp.f64 (*.f64 a x)) 1) |
(-.f64 (exp.f64 (*.f64 a x)) 1) |
(-.f64 (exp.f64 (*.f64 a x)) 1) |
(-.f64 (exp.f64 (*.f64 a x)) 1) |
(-.f64 (exp.f64 (*.f64 a x)) 1) |
(-.f64 (exp.f64 (*.f64 a x)) 1) |
(-.f64 (exp.f64 (*.f64 a x)) 1) |
(-.f64 (exp.f64 (*.f64 a x)) 1) |
(-.f64 (exp.f64 (*.f64 a x)) 1) |
| Outputs |
|---|
(sqrt.f64 (-.f64 (exp.f64 (*.f64 a x)) 1)) |
(sqrt.f64 (expm1.f64 (*.f64 a x))) |
(sqrt.f64 (-.f64 (exp.f64 (*.f64 a x)) 1)) |
(sqrt.f64 (expm1.f64 (*.f64 a x))) |
(sqrt.f64 (-.f64 (exp.f64 (*.f64 a x)) 1)) |
(sqrt.f64 (expm1.f64 (*.f64 a x))) |
(sqrt.f64 (-.f64 (exp.f64 (*.f64 a x)) 1)) |
(sqrt.f64 (expm1.f64 (*.f64 a x))) |
(sqrt.f64 (-.f64 (exp.f64 (*.f64 a x)) 1)) |
(sqrt.f64 (expm1.f64 (*.f64 a x))) |
(sqrt.f64 (-.f64 (exp.f64 (*.f64 a x)) 1)) |
(sqrt.f64 (expm1.f64 (*.f64 a x))) |
(sqrt.f64 (-.f64 (exp.f64 (*.f64 a x)) 1)) |
(sqrt.f64 (expm1.f64 (*.f64 a x))) |
(sqrt.f64 (-.f64 (exp.f64 (*.f64 a x)) 1)) |
(sqrt.f64 (expm1.f64 (*.f64 a x))) |
(sqrt.f64 (-.f64 (exp.f64 (*.f64 a x)) 1)) |
(sqrt.f64 (expm1.f64 (*.f64 a x))) |
(sqrt.f64 (-.f64 (exp.f64 (*.f64 a x)) 1)) |
(sqrt.f64 (expm1.f64 (*.f64 a x))) |
(sqrt.f64 (-.f64 (exp.f64 (*.f64 a x)) 1)) |
(sqrt.f64 (expm1.f64 (*.f64 a x))) |
(sqrt.f64 (-.f64 (exp.f64 (*.f64 a x)) 1)) |
(sqrt.f64 (expm1.f64 (*.f64 a x))) |
(sqrt.f64 (-.f64 (exp.f64 (*.f64 a x)) 1)) |
(sqrt.f64 (expm1.f64 (*.f64 a x))) |
(sqrt.f64 (-.f64 (exp.f64 (*.f64 a x)) 1)) |
(sqrt.f64 (expm1.f64 (*.f64 a x))) |
(sqrt.f64 (-.f64 (exp.f64 (*.f64 a x)) 1)) |
(sqrt.f64 (expm1.f64 (*.f64 a x))) |
(sqrt.f64 (-.f64 (exp.f64 (*.f64 a x)) 1)) |
(sqrt.f64 (expm1.f64 (*.f64 a x))) |
(-.f64 (exp.f64 (*.f64 a x)) 1) |
(expm1.f64 (*.f64 a x)) |
(-.f64 (exp.f64 (*.f64 a x)) 1) |
(expm1.f64 (*.f64 a x)) |
(-.f64 (exp.f64 (*.f64 a x)) 1) |
(expm1.f64 (*.f64 a x)) |
(-.f64 (exp.f64 (*.f64 a x)) 1) |
(expm1.f64 (*.f64 a x)) |
(-.f64 (exp.f64 (*.f64 a x)) 1) |
(expm1.f64 (*.f64 a x)) |
(-.f64 (exp.f64 (*.f64 a x)) 1) |
(expm1.f64 (*.f64 a x)) |
(-.f64 (exp.f64 (*.f64 a x)) 1) |
(expm1.f64 (*.f64 a x)) |
(-.f64 (exp.f64 (*.f64 a x)) 1) |
(expm1.f64 (*.f64 a x)) |
(-.f64 (exp.f64 (*.f64 a x)) 1) |
(expm1.f64 (*.f64 a x)) |
(-.f64 (exp.f64 (*.f64 a x)) 1) |
(expm1.f64 (*.f64 a x)) |
(-.f64 (exp.f64 (*.f64 a x)) 1) |
(expm1.f64 (*.f64 a x)) |
(-.f64 (exp.f64 (*.f64 a x)) 1) |
(expm1.f64 (*.f64 a x)) |
(-.f64 (exp.f64 (*.f64 a x)) 1) |
(expm1.f64 (*.f64 a x)) |
(-.f64 (exp.f64 (*.f64 a x)) 1) |
(expm1.f64 (*.f64 a x)) |
(-.f64 (exp.f64 (*.f64 a x)) 1) |
(expm1.f64 (*.f64 a x)) |
(-.f64 (exp.f64 (*.f64 a x)) 1) |
(expm1.f64 (*.f64 a x)) |
3 alts after pruning (0 fresh and 3 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 69 | 0 | 69 |
| Fresh | 0 | 0 | 0 |
| Picked | 0 | 1 | 1 |
| Done | 0 | 2 | 2 |
| Total | 69 | 3 | 72 |
| Status | Error | Program |
|---|---|---|
| ✓ | 0.0b | (expm1.f64 (*.f64 a x)) |
| ✓ | 38.1b | (pow.f64 (sqrt.f64 (expm1.f64 (*.f64 a x))) 2) |
| ✓ | 17.5b | (cbrt.f64 (*.f64 (pow.f64 (cbrt.f64 (expm1.f64 (*.f64 a x))) 2) (*.f64 (cbrt.f64 (expm1.f64 (*.f64 a x))) (pow.f64 (expm1.f64 (*.f64 a x)) 2)))) |
Compiled 877 to 403 computations (54% saved)
Total 0.0b remaining (19.9%)
Threshold costs 0.0b (19.9%)
Compiled 453 to 207 computations (54.3% saved)
| 1× | egg-herbie |
| 1× | *-commutative_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 5 | 6 |
| 1 | 6 | 6 |
| 1× | saturated |
| Inputs |
|---|
(expm1.f64 (*.f64 a x)) |
| Outputs |
|---|
(expm1.f64 (*.f64 a x)) |
| 1× | done |
(sort a x)
Compiled 62 to 39 computations (37.1% saved)
Loading profile data...