Time bar (total: 2.0s)
| 1× | search |
| True | Other | False | Iter |
|---|---|---|---|
| 0% | 100% | 0% | 0 |
| 0% | 100% | 0% | 1 |
| 0% | 100% | 0% | 2 |
| 50% | 50% | 0% | 3 |
| 50% | 25% | 25% | 4 |
| 50% | 12.5% | 37.5% | 5 |
| 50% | 6.2% | 43.8% | 6 |
| 50% | 3.1% | 46.9% | 7 |
| 50% | 1.6% | 48.5% | 8 |
| 50% | 0.8% | 49.2% | 9 |
| 50% | 0.4% | 49.6% | 10 |
| 50.2% | 0.2% | 49.6% | 11 |
| 50.2% | 0.1% | 49.7% | 12 |
| 50.2% | 0% | 49.8% | 13 |
| 50.2% | 0% | 49.8% | 14 |
Compiled 9 to 7 computations (22.2% saved)
| 850.0ms | 8256× | body | 128 | valid |
| 0.0ms | 1× | body | 128 | invalid |
| 2× | egg-herbie |
| 417× | times-frac_binary64 |
| 412× | associate-/l*_binary64 |
| 360× | associate-/r*_binary64 |
| 350× | associate-*l*_binary64 |
| 200× | distribute-rgt-in_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 7 | 11 |
| 1 | 19 | 9 |
| 2 | 50 | 9 |
| 3 | 111 | 7 |
| 4 | 236 | 7 |
| 5 | 531 | 7 |
| 6 | 1613 | 7 |
| 0 | 1 | 1 |
| 1× | saturated |
| 1× | node limit |
| Inputs |
|---|
0 |
| Outputs |
|---|
0 |
| Inputs |
|---|
(exp.f64 (neg.f64 (-.f64 1 (*.f64 x x)))) |
| Outputs |
|---|
(exp.f64 (neg.f64 (-.f64 1 (*.f64 x x)))) |
(exp.f64 (+.f64 -1 (*.f64 x x))) |
(exp.f64 (+.f64 (*.f64 x x) -1)) |
(exp.f64 (fma.f64 x x -1)) |
Compiled 8 to 6 computations (25% saved)
| 1× | egg-herbie |
| 417× | times-frac_binary64 |
| 412× | associate-/l*_binary64 |
| 360× | associate-/r*_binary64 |
| 350× | associate-*l*_binary64 |
| 200× | distribute-rgt-in_binary64 |
Useful iterations: 3 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 7 | 11 |
| 1 | 19 | 9 |
| 2 | 50 | 9 |
| 3 | 111 | 7 |
| 4 | 236 | 7 |
| 5 | 531 | 7 |
| 6 | 1613 | 7 |
| 1× | node limit |
| Inputs |
|---|
(exp.f64 (neg.f64 (-.f64 1 (*.f64 x x)))) |
| Outputs |
|---|
(exp.f64 (neg.f64 (-.f64 1 (*.f64 x x)))) |
(exp.f64 (+.f64 -1 (*.f64 x x))) |
(exp.f64 (+.f64 (*.f64 x x) -1)) |
(exp.f64 (fma.f64 x x -1)) |
Compiled 13 to 9 computations (30.8% saved)
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.1b | (exp.f64 (fma.f64 x x -1)) |
Compiled 12 to 8 computations (33.3% saved)
Found 1 expressions with local error:
| New | Error | Program |
|---|---|---|
| ✓ | 0.1b | (exp.f64 (fma.f64 x x -1)) |
3 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 1.0ms | x | @ | 0 | (exp.f64 (fma.f64 x x -1)) |
| 0.0ms | x | @ | -inf | (exp.f64 (fma.f64 x x -1)) |
| 0.0ms | x | @ | inf | (exp.f64 (fma.f64 x x -1)) |
| 1× | batch-egg-rewrite |
| 394× | pow1_binary64 |
| 361× | add-log-exp_binary64 |
| 361× | log1p-expm1-u_binary64 |
| 361× | expm1-log1p-u_binary64 |
| 353× | add-exp-log_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 5 | 7 |
| 1 | 90 | 7 |
| 2 | 971 | 7 |
| 1× | node limit |
| Inputs |
|---|
(exp.f64 (fma.f64 x x -1)) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x +.f64 1 (expm1.f64 (fma.f64 x x -1)))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (exp.f64 (fma.f64 x x -1))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (exp.f64 (fma.f64 x x -1)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (exp.f64 (fma.f64 x x -1)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (exp.f64 (fma.f64 x x -1))) (pow.f64 (cbrt.f64 (exp.f64 (fma.f64 x x -1))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (exp.f64 (fma.f64 x x -1))) 2) (cbrt.f64 (exp.f64 (fma.f64 x x -1))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (exp.f64 (fma.f64 x x -1))) (sqrt.f64 (exp.f64 (fma.f64 x x -1))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (exp.f64 (*.f64 x x)) (exp.f64 -1))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 (fma.f64 x x -1)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (exp.f64 (fma.f64 x x -1)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (exp.f64 (fma.f64 x x -1))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (exp.f64 (fma.f64 x x -1))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 (pow.f64 (cbrt.f64 (fma.f64 x x -1)) 2)) (cbrt.f64 (fma.f64 x x -1)))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 1) (fma.f64 x x -1))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 (sqrt.f64 (fma.f64 x x -1))) (sqrt.f64 (fma.f64 x x -1)))))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (exp.f64 (fma.f64 x x -1)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (exp.f64 (fma.f64 x x -1))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (exp.f64 (fma.f64 x x -1)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (exp.f64 (fma.f64 x x -1))))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (exp.f64 (fma.f64 x x -1)))))))) |
| 1× | egg-herbie |
| 705× | distribute-lft-out_binary64 |
| 385× | *-commutative_binary64 |
| 343× | associate-*l*_binary64 |
| 341× | distribute-rgt-out_binary64 |
| 338× | fma-def_binary64 |
Useful iterations: 3 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 21 | 79 |
| 1 | 51 | 75 |
| 2 | 128 | 63 |
| 3 | 430 | 56 |
| 4 | 1786 | 56 |
| 5 | 3525 | 56 |
| 6 | 4533 | 56 |
| 1× | node limit |
| Inputs |
|---|
(exp.f64 -1) |
(+.f64 (*.f64 (exp.f64 -1) (pow.f64 x 2)) (exp.f64 -1)) |
(+.f64 (*.f64 (exp.f64 -1) (pow.f64 x 2)) (+.f64 (exp.f64 -1) (*.f64 1/2 (*.f64 (exp.f64 -1) (pow.f64 x 4))))) |
(+.f64 (*.f64 1/6 (*.f64 (exp.f64 -1) (pow.f64 x 6))) (+.f64 (*.f64 (exp.f64 -1) (pow.f64 x 2)) (+.f64 (exp.f64 -1) (*.f64 1/2 (*.f64 (exp.f64 -1) (pow.f64 x 4)))))) |
| Outputs |
|---|
(exp.f64 -1) |
(+.f64 (*.f64 (exp.f64 -1) (pow.f64 x 2)) (exp.f64 -1)) |
(fma.f64 (exp.f64 -1) (*.f64 x x) (exp.f64 -1)) |
(*.f64 (+.f64 (*.f64 x x) 1) (exp.f64 -1)) |
(*.f64 (exp.f64 -1) (fma.f64 x x 1)) |
(+.f64 (*.f64 (exp.f64 -1) (pow.f64 x 2)) (+.f64 (exp.f64 -1) (*.f64 1/2 (*.f64 (exp.f64 -1) (pow.f64 x 4))))) |
(+.f64 (fma.f64 (exp.f64 -1) (*.f64 x x) (exp.f64 -1)) (*.f64 1/2 (*.f64 (exp.f64 -1) (pow.f64 x 4)))) |
(fma.f64 (exp.f64 -1) (*.f64 x x) (fma.f64 1/2 (*.f64 (exp.f64 -1) (pow.f64 x 4)) (exp.f64 -1))) |
(*.f64 (exp.f64 -1) (+.f64 (*.f64 1/2 (pow.f64 x 4)) (fma.f64 x x 1))) |
(*.f64 (exp.f64 -1) (fma.f64 1/2 (pow.f64 x 4) (fma.f64 x x 1))) |
(+.f64 (*.f64 1/6 (*.f64 (exp.f64 -1) (pow.f64 x 6))) (+.f64 (*.f64 (exp.f64 -1) (pow.f64 x 2)) (+.f64 (exp.f64 -1) (*.f64 1/2 (*.f64 (exp.f64 -1) (pow.f64 x 4)))))) |
(fma.f64 1/6 (*.f64 (exp.f64 -1) (pow.f64 x 6)) (+.f64 (fma.f64 (exp.f64 -1) (*.f64 x x) (exp.f64 -1)) (*.f64 1/2 (*.f64 (exp.f64 -1) (pow.f64 x 4))))) |
(fma.f64 1/6 (*.f64 (exp.f64 -1) (pow.f64 x 6)) (fma.f64 (exp.f64 -1) (*.f64 x x) (fma.f64 1/2 (*.f64 (exp.f64 -1) (pow.f64 x 4)) (exp.f64 -1)))) |
(fma.f64 (exp.f64 -1) (*.f64 1/6 (pow.f64 x 6)) (*.f64 (exp.f64 -1) (+.f64 (*.f64 1/2 (pow.f64 x 4)) (fma.f64 x x 1)))) |
(*.f64 (exp.f64 -1) (+.f64 (*.f64 1/2 (pow.f64 x 4)) (fma.f64 1/6 (pow.f64 x 6) (fma.f64 x x 1)))) |
(*.f64 (exp.f64 -1) (+.f64 (fma.f64 1/2 (pow.f64 x 4) 1) (fma.f64 1/6 (pow.f64 x 6) (*.f64 x x)))) |
Compiled 276 to 210 computations (23.9% saved)
4 alts after pruning (3 fresh and 1 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 24 | 3 | 27 |
| Fresh | 0 | 0 | 0 |
| Picked | 0 | 1 | 1 |
| Done | 0 | 0 | 0 |
| Total | 24 | 4 | 28 |
| Status | Error | Program |
|---|---|---|
| ✓ | 0.1b | (exp.f64 (fma.f64 x x -1)) |
| 0.1b | (cbrt.f64 (pow.f64 (exp.f64 (fma.f64 x x -1)) 3)) | |
| ▶ | 0.1b | (pow.f64 (sqrt.f64 (exp.f64 (fma.f64 x x -1))) 2) |
| 2.0b | (pow.f64 (cbrt.f64 (exp.f64 (fma.f64 x x -1))) 3) |
Compiled 60 to 46 computations (23.3% saved)
Found 3 expressions with local error:
| New | Error | Program |
|---|---|---|
| ✓ | 0.0b | (sqrt.f64 (exp.f64 (fma.f64 x x -1))) |
| ✓ | 0.0b | (pow.f64 (sqrt.f64 (exp.f64 (fma.f64 x x -1))) 2) |
| 0.1b | (exp.f64 (fma.f64 x x -1)) |
6 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 1.0ms | x | @ | 0 | (pow.f64 (sqrt.f64 (exp.f64 (fma.f64 x x -1))) 2) |
| 1.0ms | x | @ | inf | (pow.f64 (sqrt.f64 (exp.f64 (fma.f64 x x -1))) 2) |
| 1.0ms | x | @ | -inf | (pow.f64 (sqrt.f64 (exp.f64 (fma.f64 x x -1))) 2) |
| 1.0ms | x | @ | 0 | (sqrt.f64 (exp.f64 (fma.f64 x x -1))) |
| 0.0ms | x | @ | inf | (sqrt.f64 (exp.f64 (fma.f64 x x -1))) |
| 1× | batch-egg-rewrite |
| 540× | pow1_binary64 |
| 499× | add-log-exp_binary64 |
| 499× | log1p-expm1-u_binary64 |
| 499× | expm1-log1p-u_binary64 |
| 487× | add-exp-log_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 8 | 16 |
| 1 | 155 | 16 |
| 2 | 1401 | 16 |
| 1× | node limit |
| Inputs |
|---|
(pow.f64 (sqrt.f64 (exp.f64 (fma.f64 x x -1))) 2) |
(sqrt.f64 (exp.f64 (fma.f64 x x -1))) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x +.f64 1 (expm1.f64 (fma.f64 x x -1)))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (exp.f64 (fma.f64 x x -1))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (exp.f64 (fma.f64 x x -1)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (exp.f64 (fma.f64 x x -1))) (sqrt.f64 (exp.f64 (fma.f64 x x -1))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (exp.f64 (fma.f64 x x -1)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (exp.f64 (fma.f64 x x -1))) (pow.f64 (cbrt.f64 (exp.f64 (fma.f64 x x -1))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (exp.f64 (fma.f64 x x -1))) (*.f64 (cbrt.f64 (sqrt.f64 (exp.f64 (fma.f64 x x -1)))) (sqrt.f64 (exp.f64 (fma.f64 x x -1)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (exp.f64 (fma.f64 x x -1))) 2) (cbrt.f64 (exp.f64 (fma.f64 x x -1))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (exp.f64 (fma.f64 x x -1)) 1/4) (*.f64 (pow.f64 (exp.f64 (fma.f64 x x -1)) 1/4) (sqrt.f64 (exp.f64 (fma.f64 x x -1)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (exp.f64 (*.f64 x x)) (exp.f64 -1))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (sqrt.f64 (exp.f64 (fma.f64 x x -1))) (pow.f64 (exp.f64 (fma.f64 x x -1)) 1/4)) (pow.f64 (exp.f64 (fma.f64 x x -1)) 1/4))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (sqrt.f64 (exp.f64 (fma.f64 x x -1))) (cbrt.f64 (exp.f64 (fma.f64 x x -1)))) (cbrt.f64 (sqrt.f64 (exp.f64 (fma.f64 x x -1)))))))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (exp.f64 (fma.f64 x x -1)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (exp.f64 (fma.f64 x x -1))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (exp.f64 (fma.f64 x x -1)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (exp.f64 (fma.f64 x x -1))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (fma.f64 x x -1))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (exp.f64 (fma.f64 x x -1)))))))) |
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (sqrt.f64 (exp.f64 (fma.f64 x x -1)))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (exp.f64 (fma.f64 x x -1))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (sqrt.f64 (exp.f64 (fma.f64 x x -1))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (exp.f64 (fma.f64 x x -1))) (cbrt.f64 (sqrt.f64 (exp.f64 (fma.f64 x x -1)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (sqrt.f64 (exp.f64 (fma.f64 x x -1)))) (cbrt.f64 (exp.f64 (fma.f64 x x -1))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (exp.f64 (fma.f64 x x -1)) 1/4) (pow.f64 (exp.f64 (fma.f64 x x -1)) 1/4))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (pow.f64 (cbrt.f64 (exp.f64 (fma.f64 x x -1))) 2)) (sqrt.f64 (cbrt.f64 (exp.f64 (fma.f64 x x -1)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 1 1/2) (sqrt.f64 (exp.f64 (fma.f64 x x -1))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (pow.f64 (cbrt.f64 (exp.f64 (fma.f64 x x -1))) 2) 1/2) (pow.f64 (cbrt.f64 (exp.f64 (fma.f64 x x -1))) 1/2))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 (fma.f64 x x -1)) 1/2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (exp.f64 (fma.f64 x x -1))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (exp.f64 (fma.f64 x x -1)) 3/2) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (sqrt.f64 (exp.f64 (fma.f64 x x -1)))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (exp.f64 (fma.f64 x x -1)) 1/4) 2)))) (#(struct:change #<rule egg-rr> (2) ((x fabs.f64 (sqrt.f64 (exp.f64 (fma.f64 x x -1))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (sqrt.f64 (exp.f64 (fma.f64 x x -1)))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (exp.f64 (fma.f64 x x -1)) 3/2))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (sqrt.f64 (exp.f64 (fma.f64 x x -1)))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (fma.f64 x x -1) 1/2))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (sqrt.f64 (exp.f64 (fma.f64 x x -1))))))))) |
| 1× | egg-herbie |
| 416× | *-commutative_binary64 |
| 383× | distribute-rgt-in_binary64 |
| 364× | distribute-lft-in_binary64 |
| 265× | fma-def_binary64 |
| 245× | associate-+l+_binary64 |
Useful iterations: 3 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 50 | 340 |
| 1 | 143 | 327 |
| 2 | 414 | 279 |
| 3 | 1799 | 239 |
| 1× | node limit |
| Inputs |
|---|
(exp.f64 -1) |
(+.f64 (*.f64 (exp.f64 -1) (pow.f64 x 2)) (exp.f64 -1)) |
(+.f64 (*.f64 (-.f64 (+.f64 (*.f64 1/2 (exp.f64 -1)) (*.f64 1/4 (exp.f64 -1))) (pow.f64 (*.f64 1/2 (sqrt.f64 (exp.f64 -1))) 2)) (pow.f64 x 4)) (+.f64 (*.f64 (exp.f64 -1) (pow.f64 x 2)) (exp.f64 -1))) |
(+.f64 (*.f64 (-.f64 (+.f64 (*.f64 1/2 (exp.f64 -1)) (*.f64 1/4 (exp.f64 -1))) (pow.f64 (*.f64 1/2 (sqrt.f64 (exp.f64 -1))) 2)) (pow.f64 x 4)) (+.f64 (*.f64 1/6 (*.f64 (exp.f64 -1) (pow.f64 x 6))) (+.f64 (*.f64 (exp.f64 -1) (pow.f64 x 2)) (exp.f64 -1)))) |
(exp.f64 (fma.f64 x x -1)) |
(exp.f64 (fma.f64 x x -1)) |
(exp.f64 (fma.f64 x x -1)) |
(exp.f64 (fma.f64 x x -1)) |
(exp.f64 (fma.f64 x x -1)) |
(exp.f64 (fma.f64 x x -1)) |
(exp.f64 (fma.f64 x x -1)) |
(exp.f64 (fma.f64 x x -1)) |
(sqrt.f64 (exp.f64 -1)) |
(+.f64 (sqrt.f64 (exp.f64 -1)) (*.f64 1/2 (*.f64 (sqrt.f64 (exp.f64 -1)) (pow.f64 x 2)))) |
(+.f64 (*.f64 1/2 (*.f64 (*.f64 (-.f64 (*.f64 1/2 (exp.f64 -1)) (pow.f64 (*.f64 1/2 (sqrt.f64 (exp.f64 -1))) 2)) (pow.f64 x 4)) (sqrt.f64 (/.f64 1 (exp.f64 -1))))) (+.f64 (sqrt.f64 (exp.f64 -1)) (*.f64 1/2 (*.f64 (sqrt.f64 (exp.f64 -1)) (pow.f64 x 2))))) |
(+.f64 (*.f64 1/2 (*.f64 (*.f64 (-.f64 (*.f64 1/2 (exp.f64 -1)) (pow.f64 (*.f64 1/2 (sqrt.f64 (exp.f64 -1))) 2)) (pow.f64 x 4)) (sqrt.f64 (/.f64 1 (exp.f64 -1))))) (+.f64 (sqrt.f64 (exp.f64 -1)) (+.f64 (*.f64 1/2 (*.f64 (*.f64 (-.f64 (*.f64 1/6 (exp.f64 -1)) (*.f64 1/2 (-.f64 (*.f64 1/2 (exp.f64 -1)) (pow.f64 (*.f64 1/2 (sqrt.f64 (exp.f64 -1))) 2)))) (pow.f64 x 6)) (sqrt.f64 (/.f64 1 (exp.f64 -1))))) (*.f64 1/2 (*.f64 (sqrt.f64 (exp.f64 -1)) (pow.f64 x 2)))))) |
| Outputs |
|---|
(exp.f64 -1) |
(+.f64 (*.f64 (exp.f64 -1) (pow.f64 x 2)) (exp.f64 -1)) |
(fma.f64 (exp.f64 -1) (*.f64 x x) (exp.f64 -1)) |
(*.f64 (+.f64 (*.f64 x x) 1) (exp.f64 -1)) |
(*.f64 (exp.f64 -1) (fma.f64 x x 1)) |
(+.f64 (*.f64 (-.f64 (+.f64 (*.f64 1/2 (exp.f64 -1)) (*.f64 1/4 (exp.f64 -1))) (pow.f64 (*.f64 1/2 (sqrt.f64 (exp.f64 -1))) 2)) (pow.f64 x 4)) (+.f64 (*.f64 (exp.f64 -1) (pow.f64 x 2)) (exp.f64 -1))) |
(fma.f64 (-.f64 (*.f64 (exp.f64 -1) 3/4) (pow.f64 (*.f64 1/2 (sqrt.f64 (exp.f64 -1))) 2)) (pow.f64 x 4) (fma.f64 (exp.f64 -1) (*.f64 x x) (exp.f64 -1))) |
(fma.f64 (-.f64 (*.f64 (exp.f64 -1) 3/4) (pow.f64 (*.f64 1/2 (sqrt.f64 (exp.f64 -1))) 2)) (pow.f64 x 4) (*.f64 (+.f64 (*.f64 x x) 1) (exp.f64 -1))) |
(fma.f64 (fma.f64 (exp.f64 -1) 3/4 (*.f64 (exp.f64 -1) -1/4)) (pow.f64 x 4) (*.f64 (exp.f64 -1) (fma.f64 x x 1))) |
(*.f64 (exp.f64 -1) (+.f64 (fma.f64 x x 1) (*.f64 1/2 (pow.f64 x 4)))) |
(+.f64 (*.f64 (-.f64 (+.f64 (*.f64 1/2 (exp.f64 -1)) (*.f64 1/4 (exp.f64 -1))) (pow.f64 (*.f64 1/2 (sqrt.f64 (exp.f64 -1))) 2)) (pow.f64 x 4)) (+.f64 (*.f64 1/6 (*.f64 (exp.f64 -1) (pow.f64 x 6))) (+.f64 (*.f64 (exp.f64 -1) (pow.f64 x 2)) (exp.f64 -1)))) |
(fma.f64 (-.f64 (*.f64 (exp.f64 -1) 3/4) (pow.f64 (*.f64 1/2 (sqrt.f64 (exp.f64 -1))) 2)) (pow.f64 x 4) (fma.f64 1/6 (*.f64 (exp.f64 -1) (pow.f64 x 6)) (fma.f64 (exp.f64 -1) (*.f64 x x) (exp.f64 -1)))) |
(fma.f64 (-.f64 (*.f64 (exp.f64 -1) 3/4) (pow.f64 (*.f64 1/2 (sqrt.f64 (exp.f64 -1))) 2)) (pow.f64 x 4) (fma.f64 1/6 (*.f64 (exp.f64 -1) (pow.f64 x 6)) (*.f64 (+.f64 (*.f64 x x) 1) (exp.f64 -1)))) |
(fma.f64 (fma.f64 (exp.f64 -1) 3/4 (*.f64 (exp.f64 -1) -1/4)) (pow.f64 x 4) (*.f64 (exp.f64 -1) (+.f64 (fma.f64 x x 1) (*.f64 1/6 (pow.f64 x 6))))) |
(*.f64 (exp.f64 -1) (+.f64 (+.f64 (fma.f64 x x 1) (*.f64 1/6 (pow.f64 x 6))) (*.f64 1/2 (pow.f64 x 4)))) |
(exp.f64 (fma.f64 x x -1)) |
(exp.f64 (fma.f64 x x -1)) |
(exp.f64 (fma.f64 x x -1)) |
(exp.f64 (fma.f64 x x -1)) |
(exp.f64 (fma.f64 x x -1)) |
(exp.f64 (fma.f64 x x -1)) |
(exp.f64 (fma.f64 x x -1)) |
(exp.f64 (fma.f64 x x -1)) |
(sqrt.f64 (exp.f64 -1)) |
(+.f64 (sqrt.f64 (exp.f64 -1)) (*.f64 1/2 (*.f64 (sqrt.f64 (exp.f64 -1)) (pow.f64 x 2)))) |
(+.f64 (sqrt.f64 (exp.f64 -1)) (*.f64 1/2 (*.f64 (*.f64 x x) (sqrt.f64 (exp.f64 -1))))) |
(fma.f64 1/2 (*.f64 x (*.f64 x (sqrt.f64 (exp.f64 -1)))) (sqrt.f64 (exp.f64 -1))) |
(*.f64 (+.f64 (*.f64 (*.f64 x x) 1/2) 1) (sqrt.f64 (exp.f64 -1))) |
(*.f64 (sqrt.f64 (exp.f64 -1)) (+.f64 1 (*.f64 x (*.f64 x 1/2)))) |
(+.f64 (*.f64 1/2 (*.f64 (*.f64 (-.f64 (*.f64 1/2 (exp.f64 -1)) (pow.f64 (*.f64 1/2 (sqrt.f64 (exp.f64 -1))) 2)) (pow.f64 x 4)) (sqrt.f64 (/.f64 1 (exp.f64 -1))))) (+.f64 (sqrt.f64 (exp.f64 -1)) (*.f64 1/2 (*.f64 (sqrt.f64 (exp.f64 -1)) (pow.f64 x 2))))) |
(fma.f64 1/2 (*.f64 (-.f64 (*.f64 (exp.f64 -1) 1/2) (pow.f64 (*.f64 1/2 (sqrt.f64 (exp.f64 -1))) 2)) (*.f64 (pow.f64 x 4) (sqrt.f64 (exp.f64 1)))) (+.f64 (sqrt.f64 (exp.f64 -1)) (*.f64 1/2 (*.f64 (*.f64 x x) (sqrt.f64 (exp.f64 -1)))))) |
(fma.f64 1/2 (*.f64 (pow.f64 x 4) (*.f64 (-.f64 (*.f64 (exp.f64 -1) 1/2) (pow.f64 (*.f64 1/2 (sqrt.f64 (exp.f64 -1))) 2)) (sqrt.f64 (E.f64)))) (fma.f64 1/2 (*.f64 x (*.f64 x (sqrt.f64 (exp.f64 -1)))) (sqrt.f64 (exp.f64 -1)))) |
(fma.f64 1/2 (*.f64 (fma.f64 (exp.f64 -1) 1/2 (*.f64 (exp.f64 -1) -1/4)) (*.f64 (pow.f64 x 4) (sqrt.f64 (E.f64)))) (*.f64 (+.f64 (*.f64 (*.f64 x x) 1/2) 1) (sqrt.f64 (exp.f64 -1)))) |
(fma.f64 1/2 (*.f64 (*.f64 (exp.f64 -1) 1/4) (*.f64 (pow.f64 x 4) (sqrt.f64 (E.f64)))) (*.f64 (sqrt.f64 (exp.f64 -1)) (+.f64 1 (*.f64 x (*.f64 x 1/2))))) |
(+.f64 (*.f64 1/2 (*.f64 (*.f64 (-.f64 (*.f64 1/2 (exp.f64 -1)) (pow.f64 (*.f64 1/2 (sqrt.f64 (exp.f64 -1))) 2)) (pow.f64 x 4)) (sqrt.f64 (/.f64 1 (exp.f64 -1))))) (+.f64 (sqrt.f64 (exp.f64 -1)) (+.f64 (*.f64 1/2 (*.f64 (*.f64 (-.f64 (*.f64 1/6 (exp.f64 -1)) (*.f64 1/2 (-.f64 (*.f64 1/2 (exp.f64 -1)) (pow.f64 (*.f64 1/2 (sqrt.f64 (exp.f64 -1))) 2)))) (pow.f64 x 6)) (sqrt.f64 (/.f64 1 (exp.f64 -1))))) (*.f64 1/2 (*.f64 (sqrt.f64 (exp.f64 -1)) (pow.f64 x 2)))))) |
(fma.f64 1/2 (*.f64 (-.f64 (*.f64 (exp.f64 -1) 1/2) (pow.f64 (*.f64 1/2 (sqrt.f64 (exp.f64 -1))) 2)) (*.f64 (pow.f64 x 4) (sqrt.f64 (exp.f64 1)))) (+.f64 (sqrt.f64 (exp.f64 -1)) (*.f64 1/2 (+.f64 (*.f64 (sqrt.f64 (exp.f64 1)) (*.f64 (pow.f64 x 6) (+.f64 (*.f64 (exp.f64 -1) 1/6) (*.f64 -1/2 (-.f64 (*.f64 (exp.f64 -1) 1/2) (pow.f64 (*.f64 1/2 (sqrt.f64 (exp.f64 -1))) 2)))))) (*.f64 (*.f64 x x) (sqrt.f64 (exp.f64 -1))))))) |
(fma.f64 1/2 (*.f64 (pow.f64 x 4) (*.f64 (-.f64 (*.f64 (exp.f64 -1) 1/2) (pow.f64 (*.f64 1/2 (sqrt.f64 (exp.f64 -1))) 2)) (sqrt.f64 (E.f64)))) (fma.f64 1/2 (fma.f64 (fma.f64 (exp.f64 -1) 1/6 (*.f64 (-.f64 (*.f64 (exp.f64 -1) 1/2) (pow.f64 (*.f64 1/2 (sqrt.f64 (exp.f64 -1))) 2)) -1/2)) (*.f64 (pow.f64 x 6) (sqrt.f64 (E.f64))) (*.f64 x (*.f64 x (sqrt.f64 (exp.f64 -1))))) (sqrt.f64 (exp.f64 -1)))) |
(fma.f64 1/2 (fma.f64 x (*.f64 x (sqrt.f64 (exp.f64 -1))) (*.f64 (fma.f64 (fma.f64 (exp.f64 -1) 1/2 (*.f64 (exp.f64 -1) -1/4)) -1/2 (*.f64 (exp.f64 -1) 1/6)) (*.f64 (pow.f64 x 6) (sqrt.f64 (E.f64))))) (fma.f64 1/2 (*.f64 (fma.f64 (exp.f64 -1) 1/2 (*.f64 (exp.f64 -1) -1/4)) (*.f64 (pow.f64 x 4) (sqrt.f64 (E.f64)))) (sqrt.f64 (exp.f64 -1)))) |
(+.f64 (*.f64 (sqrt.f64 (exp.f64 -1)) (+.f64 1 (*.f64 x (*.f64 x 1/2)))) (*.f64 (*.f64 1/2 (sqrt.f64 (E.f64))) (+.f64 (*.f64 (pow.f64 x 6) (fma.f64 (exp.f64 -1) 1/6 (*.f64 1/2 (*.f64 (exp.f64 -1) -1/4)))) (*.f64 (*.f64 (exp.f64 -1) 1/4) (pow.f64 x 4))))) |
Compiled 1142 to 934 computations (18.2% saved)
4 alts after pruning (2 fresh and 2 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 78 | 1 | 79 |
| Fresh | 1 | 1 | 2 |
| Picked | 0 | 1 | 1 |
| Done | 0 | 1 | 1 |
| Total | 79 | 4 | 83 |
| Status | Error | Program |
|---|---|---|
| ✓ | 0.1b | (exp.f64 (fma.f64 x x -1)) |
| ▶ | 0.1b | (cbrt.f64 (pow.f64 (exp.f64 (fma.f64 x x -1)) 3)) |
| ✓ | 0.1b | (pow.f64 (sqrt.f64 (exp.f64 (fma.f64 x x -1))) 2) |
| 2.0b | (pow.f64 (sqrt.f64 (pow.f64 (cbrt.f64 (exp.f64 (fma.f64 x x -1))) 3)) 2) |
Compiled 57 to 45 computations (21.1% saved)
Found 3 expressions with local error:
| New | Error | Program |
|---|---|---|
| 0.1b | (exp.f64 (fma.f64 x x -1)) | |
| ✓ | 1.0b | (pow.f64 (exp.f64 (fma.f64 x x -1)) 3) |
| ✓ | 1.5b | (cbrt.f64 (pow.f64 (exp.f64 (fma.f64 x x -1)) 3)) |
6 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 2.0ms | x | @ | 0 | (cbrt.f64 (pow.f64 (exp.f64 (fma.f64 x x -1)) 3)) |
| 1.0ms | x | @ | inf | (pow.f64 (exp.f64 (fma.f64 x x -1)) 3) |
| 1.0ms | x | @ | 0 | (pow.f64 (exp.f64 (fma.f64 x x -1)) 3) |
| 1.0ms | x | @ | -inf | (pow.f64 (exp.f64 (fma.f64 x x -1)) 3) |
| 0.0ms | x | @ | inf | (cbrt.f64 (pow.f64 (exp.f64 (fma.f64 x x -1)) 3)) |
| 1× | batch-egg-rewrite |
| 566× | pow1_binary64 |
| 531× | add-log-exp_binary64 |
| 531× | log1p-expm1-u_binary64 |
| 531× | expm1-log1p-u_binary64 |
| 518× | add-exp-log_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 8 | 17 |
| 1 | 158 | 17 |
| 2 | 1481 | 17 |
| 1× | node limit |
| Inputs |
|---|
(cbrt.f64 (pow.f64 (exp.f64 (fma.f64 x x -1)) 3)) |
(pow.f64 (exp.f64 (fma.f64 x x -1)) 3) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x +.f64 1 (expm1.f64 (fma.f64 x x -1)))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (exp.f64 (fma.f64 x x -1))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (exp.f64 (fma.f64 x x -1)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (exp.f64 (fma.f64 x x -1)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (exp.f64 (fma.f64 x x -1))) (pow.f64 (cbrt.f64 (exp.f64 (fma.f64 x x -1))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (exp.f64 (fma.f64 x x -1))) (pow.f64 (pow.f64 (exp.f64 (fma.f64 x x -1)) 2) 1/3))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (exp.f64 (fma.f64 x x -1))) 2) (cbrt.f64 (exp.f64 (fma.f64 x x -1))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (exp.f64 (fma.f64 x x -1))) (sqrt.f64 (exp.f64 (fma.f64 x x -1))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (exp.f64 (*.f64 x x)) (exp.f64 -1))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (pow.f64 (exp.f64 (fma.f64 x x -1)) 2) 1/3) (cbrt.f64 (exp.f64 (fma.f64 x x -1))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 1 1/3) (exp.f64 (fma.f64 x x -1)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (pow.f64 (exp.f64 (fma.f64 x x -1)) 3/2) 1/3) (pow.f64 (pow.f64 (exp.f64 (fma.f64 x x -1)) 3/2) 1/3))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 (fma.f64 x x -1)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (exp.f64 (fma.f64 x x -1)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (exp.f64 (fma.f64 x x -1))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (exp.f64 (fma.f64 x x -1))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 (sqrt.f64 (fma.f64 x x -1))) (sqrt.f64 (fma.f64 x x -1)))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 1) (fma.f64 x x -1))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 (pow.f64 (cbrt.f64 (fma.f64 x x -1)) 2)) (cbrt.f64 (fma.f64 x x -1)))))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (exp.f64 (fma.f64 x x -1)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (exp.f64 (fma.f64 x x -1))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (exp.f64 (fma.f64 x x -1))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (fma.f64 x x -1))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (exp.f64 (fma.f64 x x -1)))))))) |
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (pow.f64 (exp.f64 (fma.f64 x x -1)) 3)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (exp.f64 (fma.f64 x x -1)) (pow.f64 (exp.f64 (fma.f64 x x -1)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (exp.f64 (fma.f64 x x -1)) 3) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (pow.f64 (exp.f64 (fma.f64 x x -1)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (exp.f64 (fma.f64 x x -1)) 2) (exp.f64 (fma.f64 x x -1)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (exp.f64 (fma.f64 x x -1))) 2) (*.f64 (cbrt.f64 (exp.f64 (fma.f64 x x -1))) (pow.f64 (exp.f64 (fma.f64 x x -1)) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (exp.f64 (fma.f64 x x -1))) (*.f64 (sqrt.f64 (exp.f64 (fma.f64 x x -1))) (pow.f64 (exp.f64 (fma.f64 x x -1)) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (exp.f64 (fma.f64 x x -1)) 3/2) (pow.f64 (exp.f64 (fma.f64 x x -1)) 3/2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (pow.f64 (cbrt.f64 (exp.f64 (fma.f64 x x -1))) 2) 3) (exp.f64 (fma.f64 x x -1)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (sqrt.f64 (exp.f64 (fma.f64 x x -1))) 3) (pow.f64 (sqrt.f64 (exp.f64 (fma.f64 x x -1))) 3))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (pow.f64 (exp.f64 (fma.f64 x x -1)) 2) 1) (exp.f64 (fma.f64 x x -1)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (pow.f64 (exp.f64 (fma.f64 x x -1)) 2) (pow.f64 (cbrt.f64 (exp.f64 (fma.f64 x x -1))) 2)) (cbrt.f64 (exp.f64 (fma.f64 x x -1))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (pow.f64 (exp.f64 (fma.f64 x x -1)) 2) (sqrt.f64 (exp.f64 (fma.f64 x x -1)))) (sqrt.f64 (exp.f64 (fma.f64 x x -1))))))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (exp.f64 (fma.f64 x x -1)) 6))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (pow.f64 (exp.f64 (fma.f64 x x -1)) 3)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (pow.f64 (exp.f64 (fma.f64 x x -1)) 3) 3))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (pow.f64 (exp.f64 (fma.f64 x x -1)) 3)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (fma.f64 x x -1) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (pow.f64 (exp.f64 (fma.f64 x x -1)) 3))))))) |
| 1× | egg-herbie |
| 770× | associate-+l+_binary64 |
| 388× | distribute-rgt-out_binary64 |
| 345× | fma-def_binary64 |
| 335× | distribute-lft-out_binary64 |
| 276× | distribute-rgt-in_binary64 |
Useful iterations: 3 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 47 | 278 |
| 1 | 136 | 263 |
| 2 | 441 | 209 |
| 3 | 2306 | 196 |
| 1× | node limit |
| Inputs |
|---|
(exp.f64 -1) |
(+.f64 (*.f64 (exp.f64 -1) (pow.f64 x 2)) (exp.f64 -1)) |
(+.f64 (*.f64 (exp.f64 -1) (pow.f64 x 2)) (+.f64 (exp.f64 -1) (*.f64 1/2 (*.f64 (exp.f64 -1) (pow.f64 x 4))))) |
(+.f64 (*.f64 1/6 (*.f64 (exp.f64 -1) (pow.f64 x 6))) (+.f64 (*.f64 (exp.f64 -1) (pow.f64 x 2)) (+.f64 (exp.f64 -1) (*.f64 1/2 (*.f64 (exp.f64 -1) (pow.f64 x 4)))))) |
(exp.f64 (fma.f64 x x -1)) |
(exp.f64 (fma.f64 x x -1)) |
(exp.f64 (fma.f64 x x -1)) |
(exp.f64 (fma.f64 x x -1)) |
(exp.f64 (fma.f64 x x -1)) |
(exp.f64 (fma.f64 x x -1)) |
(exp.f64 (fma.f64 x x -1)) |
(exp.f64 (fma.f64 x x -1)) |
(pow.f64 (exp.f64 -1) 3) |
(+.f64 (*.f64 (+.f64 (*.f64 2 (pow.f64 (exp.f64 -1) 3)) (pow.f64 (exp.f64 -1) 3)) (pow.f64 x 2)) (pow.f64 (exp.f64 -1) 3)) |
(+.f64 (*.f64 (+.f64 (*.f64 4 (pow.f64 (exp.f64 -1) 3)) (*.f64 1/2 (pow.f64 (exp.f64 -1) 3))) (pow.f64 x 4)) (+.f64 (*.f64 (+.f64 (*.f64 2 (pow.f64 (exp.f64 -1) 3)) (pow.f64 (exp.f64 -1) 3)) (pow.f64 x 2)) (pow.f64 (exp.f64 -1) 3))) |
(+.f64 (*.f64 (+.f64 (*.f64 4 (pow.f64 (exp.f64 -1) 3)) (*.f64 1/2 (pow.f64 (exp.f64 -1) 3))) (pow.f64 x 4)) (+.f64 (*.f64 (+.f64 (*.f64 2 (pow.f64 (exp.f64 -1) 3)) (pow.f64 (exp.f64 -1) 3)) (pow.f64 x 2)) (+.f64 (*.f64 (+.f64 (*.f64 2 (pow.f64 (exp.f64 -1) 3)) (+.f64 (*.f64 1/6 (pow.f64 (exp.f64 -1) 3)) (+.f64 (*.f64 (+.f64 (*.f64 1/3 (pow.f64 (exp.f64 -1) 2)) (pow.f64 (exp.f64 -1) 2)) (exp.f64 -1)) (pow.f64 (exp.f64 -1) 3)))) (pow.f64 x 6)) (pow.f64 (exp.f64 -1) 3)))) |
| Outputs |
|---|
(exp.f64 -1) |
(+.f64 (*.f64 (exp.f64 -1) (pow.f64 x 2)) (exp.f64 -1)) |
(fma.f64 (exp.f64 -1) (*.f64 x x) (exp.f64 -1)) |
(*.f64 (exp.f64 -1) (fma.f64 x x 1)) |
(+.f64 (*.f64 (exp.f64 -1) (pow.f64 x 2)) (+.f64 (exp.f64 -1) (*.f64 1/2 (*.f64 (exp.f64 -1) (pow.f64 x 4))))) |
(fma.f64 (exp.f64 -1) (*.f64 x x) (+.f64 (exp.f64 -1) (*.f64 1/2 (*.f64 (exp.f64 -1) (pow.f64 x 4))))) |
(fma.f64 (exp.f64 -1) (*.f64 x x) (fma.f64 1/2 (*.f64 (exp.f64 -1) (pow.f64 x 4)) (exp.f64 -1))) |
(*.f64 (exp.f64 -1) (+.f64 (*.f64 1/2 (pow.f64 x 4)) (fma.f64 x x 1))) |
(+.f64 (*.f64 1/6 (*.f64 (exp.f64 -1) (pow.f64 x 6))) (+.f64 (*.f64 (exp.f64 -1) (pow.f64 x 2)) (+.f64 (exp.f64 -1) (*.f64 1/2 (*.f64 (exp.f64 -1) (pow.f64 x 4)))))) |
(fma.f64 1/6 (*.f64 (exp.f64 -1) (pow.f64 x 6)) (fma.f64 (exp.f64 -1) (*.f64 x x) (+.f64 (exp.f64 -1) (*.f64 1/2 (*.f64 (exp.f64 -1) (pow.f64 x 4)))))) |
(fma.f64 1/6 (*.f64 (exp.f64 -1) (pow.f64 x 6)) (fma.f64 (exp.f64 -1) (*.f64 x x) (fma.f64 1/2 (*.f64 (exp.f64 -1) (pow.f64 x 4)) (exp.f64 -1)))) |
(fma.f64 (exp.f64 -1) (*.f64 1/6 (pow.f64 x 6)) (*.f64 (exp.f64 -1) (+.f64 (*.f64 1/2 (pow.f64 x 4)) (fma.f64 x x 1)))) |
(*.f64 (exp.f64 -1) (+.f64 (*.f64 1/2 (pow.f64 x 4)) (+.f64 (*.f64 1/6 (pow.f64 x 6)) (fma.f64 x x 1)))) |
(exp.f64 (fma.f64 x x -1)) |
(exp.f64 (fma.f64 x x -1)) |
(exp.f64 (fma.f64 x x -1)) |
(exp.f64 (fma.f64 x x -1)) |
(exp.f64 (fma.f64 x x -1)) |
(exp.f64 (fma.f64 x x -1)) |
(exp.f64 (fma.f64 x x -1)) |
(exp.f64 (fma.f64 x x -1)) |
(pow.f64 (exp.f64 -1) 3) |
(exp.f64 -3) |
(+.f64 (*.f64 (+.f64 (*.f64 2 (pow.f64 (exp.f64 -1) 3)) (pow.f64 (exp.f64 -1) 3)) (pow.f64 x 2)) (pow.f64 (exp.f64 -1) 3)) |
(fma.f64 (*.f64 3 (pow.f64 (exp.f64 -1) 3)) (*.f64 x x) (pow.f64 (exp.f64 -1) 3)) |
(fma.f64 (*.f64 x x) (*.f64 3 (pow.f64 (exp.f64 -1) 3)) (pow.f64 (exp.f64 -1) 3)) |
(*.f64 (+.f64 (*.f64 x (*.f64 x 3)) 1) (exp.f64 -3)) |
(fma.f64 x (*.f64 x (*.f64 3 (exp.f64 -3))) (exp.f64 -3)) |
(+.f64 (*.f64 (+.f64 (*.f64 4 (pow.f64 (exp.f64 -1) 3)) (*.f64 1/2 (pow.f64 (exp.f64 -1) 3))) (pow.f64 x 4)) (+.f64 (*.f64 (+.f64 (*.f64 2 (pow.f64 (exp.f64 -1) 3)) (pow.f64 (exp.f64 -1) 3)) (pow.f64 x 2)) (pow.f64 (exp.f64 -1) 3))) |
(fma.f64 (*.f64 (pow.f64 (exp.f64 -1) 3) 9/2) (pow.f64 x 4) (fma.f64 (*.f64 3 (pow.f64 (exp.f64 -1) 3)) (*.f64 x x) (pow.f64 (exp.f64 -1) 3))) |
(fma.f64 (pow.f64 x 4) (*.f64 (pow.f64 (exp.f64 -1) 3) 9/2) (fma.f64 (*.f64 x x) (*.f64 3 (pow.f64 (exp.f64 -1) 3)) (pow.f64 (exp.f64 -1) 3))) |
(fma.f64 x (*.f64 x (*.f64 3 (exp.f64 -3))) (fma.f64 (pow.f64 x 4) (*.f64 (exp.f64 -3) 9/2) (exp.f64 -3))) |
(*.f64 (exp.f64 -3) (+.f64 (+.f64 (*.f64 x (*.f64 x 3)) 1) (*.f64 (pow.f64 x 4) 9/2))) |
(+.f64 (*.f64 (+.f64 (*.f64 4 (pow.f64 (exp.f64 -1) 3)) (*.f64 1/2 (pow.f64 (exp.f64 -1) 3))) (pow.f64 x 4)) (+.f64 (*.f64 (+.f64 (*.f64 2 (pow.f64 (exp.f64 -1) 3)) (pow.f64 (exp.f64 -1) 3)) (pow.f64 x 2)) (+.f64 (*.f64 (+.f64 (*.f64 2 (pow.f64 (exp.f64 -1) 3)) (+.f64 (*.f64 1/6 (pow.f64 (exp.f64 -1) 3)) (+.f64 (*.f64 (+.f64 (*.f64 1/3 (pow.f64 (exp.f64 -1) 2)) (pow.f64 (exp.f64 -1) 2)) (exp.f64 -1)) (pow.f64 (exp.f64 -1) 3)))) (pow.f64 x 6)) (pow.f64 (exp.f64 -1) 3)))) |
(fma.f64 (*.f64 (pow.f64 (exp.f64 -1) 3) 9/2) (pow.f64 x 4) (fma.f64 (*.f64 3 (pow.f64 (exp.f64 -1) 3)) (*.f64 x x) (fma.f64 (fma.f64 2 (pow.f64 (exp.f64 -1) 3) (fma.f64 1/6 (pow.f64 (exp.f64 -1) 3) (fma.f64 (*.f64 4/3 (pow.f64 (exp.f64 -1) 2)) (exp.f64 -1) (pow.f64 (exp.f64 -1) 3)))) (pow.f64 x 6) (pow.f64 (exp.f64 -1) 3)))) |
(fma.f64 (pow.f64 x 4) (*.f64 (pow.f64 (exp.f64 -1) 3) 9/2) (fma.f64 (*.f64 x x) (*.f64 3 (pow.f64 (exp.f64 -1) 3)) (fma.f64 (pow.f64 x 6) (+.f64 (*.f64 (exp.f64 -1) (+.f64 (exp.f64 -2) (*.f64 (exp.f64 -2) 4/3))) (*.f64 (pow.f64 (exp.f64 -1) 3) 13/6)) (pow.f64 (exp.f64 -1) 3)))) |
(fma.f64 x (*.f64 x (*.f64 3 (exp.f64 -3))) (fma.f64 (pow.f64 x 4) (*.f64 (exp.f64 -3) 9/2) (fma.f64 (pow.f64 x 6) (fma.f64 (exp.f64 -3) 13/6 (*.f64 7/3 (exp.f64 -3))) (exp.f64 -3)))) |
(+.f64 (*.f64 (pow.f64 x 6) (*.f64 (exp.f64 -3) 9/2)) (*.f64 (exp.f64 -3) (+.f64 (+.f64 (*.f64 x (*.f64 x 3)) 1) (*.f64 (pow.f64 x 4) 9/2)))) |
Compiled 1167 to 939 computations (19.5% saved)
5 alts after pruning (2 fresh and 3 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 84 | 1 | 85 |
| Fresh | 0 | 1 | 1 |
| Picked | 0 | 1 | 1 |
| Done | 0 | 2 | 2 |
| Total | 84 | 5 | 89 |
| Status | Error | Program |
|---|---|---|
| ✓ | 0.1b | (exp.f64 (fma.f64 x x -1)) |
| ✓ | 0.1b | (cbrt.f64 (pow.f64 (exp.f64 (fma.f64 x x -1)) 3)) |
| ✓ | 0.1b | (pow.f64 (sqrt.f64 (exp.f64 (fma.f64 x x -1))) 2) |
| ▶ | 0.1b | (cbrt.f64 (pow.f64 (expm1.f64 (log1p.f64 (exp.f64 (fma.f64 x x -1)))) 3)) |
| 2.0b | (pow.f64 (sqrt.f64 (pow.f64 (cbrt.f64 (exp.f64 (fma.f64 x x -1))) 3)) 2) |
Compiled 70 to 56 computations (20% saved)
Found 4 expressions with local error:
| New | Error | Program |
|---|---|---|
| ✓ | 1.0b | (log1p.f64 (exp.f64 (fma.f64 x x -1))) |
| ✓ | 1.0b | (pow.f64 (expm1.f64 (log1p.f64 (exp.f64 (fma.f64 x x -1)))) 3) |
| ✓ | 1.0b | (expm1.f64 (log1p.f64 (exp.f64 (fma.f64 x x -1)))) |
| ✓ | 1.5b | (cbrt.f64 (pow.f64 (expm1.f64 (log1p.f64 (exp.f64 (fma.f64 x x -1)))) 3)) |
12 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 30.0ms | x | @ | inf | (log1p.f64 (exp.f64 (fma.f64 x x -1))) |
| 24.0ms | x | @ | -inf | (log1p.f64 (exp.f64 (fma.f64 x x -1))) |
| 2.0ms | x | @ | 0 | (log1p.f64 (exp.f64 (fma.f64 x x -1))) |
| 0.0ms | x | @ | 0 | (cbrt.f64 (pow.f64 (expm1.f64 (log1p.f64 (exp.f64 (fma.f64 x x -1)))) 3)) |
| 0.0ms | x | @ | 0 | (pow.f64 (expm1.f64 (log1p.f64 (exp.f64 (fma.f64 x x -1)))) 3) |
| 1× | batch-egg-rewrite |
| 646× | pow1_binary64 |
| 605× | expm1-log1p-u_binary64 |
| 604× | add-log-exp_binary64 |
| 604× | log1p-expm1-u_binary64 |
| 73× | add-sqr-sqrt_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 10 | 33 |
| 1 | 179 | 33 |
| 2 | 1687 | 33 |
| 1× | node limit |
| Inputs |
|---|
(cbrt.f64 (pow.f64 (expm1.f64 (log1p.f64 (exp.f64 (fma.f64 x x -1)))) 3)) |
(expm1.f64 (log1p.f64 (exp.f64 (fma.f64 x x -1)))) |
(pow.f64 (expm1.f64 (log1p.f64 (exp.f64 (fma.f64 x x -1)))) 3) |
(log1p.f64 (exp.f64 (fma.f64 x x -1))) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x +.f64 (+.f64 (exp.f64 (fma.f64 x x -1)) 1) -1)))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 (exp.f64 (fma.f64 x x -1)) 1) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (exp.f64 (fma.f64 x x -1)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (exp.f64 (fma.f64 x x -1)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (exp.f64 (fma.f64 x x -1))) (pow.f64 (cbrt.f64 (exp.f64 (fma.f64 x x -1))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (exp.f64 (fma.f64 x x -1))) (pow.f64 (pow.f64 (exp.f64 (fma.f64 x x -1)) 2) 1/3))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (exp.f64 (fma.f64 x x -1))) 2) (cbrt.f64 (exp.f64 (fma.f64 x x -1))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (exp.f64 (fma.f64 x x -1))) (sqrt.f64 (exp.f64 (fma.f64 x x -1))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (exp.f64 (*.f64 x x)) (exp.f64 -1))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (pow.f64 (exp.f64 (fma.f64 x x -1)) 2) 1/3) (cbrt.f64 (exp.f64 (fma.f64 x x -1))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 1 1/3) (exp.f64 (fma.f64 x x -1)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (pow.f64 (exp.f64 (fma.f64 x x -1)) 3/2) 1/3) (pow.f64 (pow.f64 (exp.f64 (fma.f64 x x -1)) 3/2) 1/3))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (pow.f64 (+.f64 (exp.f64 (fma.f64 x x -1)) 1) 3) 1) (+.f64 (*.f64 (+.f64 (exp.f64 (fma.f64 x x -1)) 1) (+.f64 (exp.f64 (fma.f64 x x -1)) 1)) (+.f64 1 (*.f64 (+.f64 (exp.f64 (fma.f64 x x -1)) 1) 1))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (*.f64 (+.f64 (exp.f64 (fma.f64 x x -1)) 1) (+.f64 (exp.f64 (fma.f64 x x -1)) 1)) 1) (+.f64 (+.f64 (exp.f64 (fma.f64 x x -1)) 1) 1))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 (fma.f64 x x -1)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (exp.f64 (fma.f64 x x -1)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (exp.f64 (fma.f64 x x -1))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (exp.f64 (fma.f64 x x -1))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 (sqrt.f64 (fma.f64 x x -1))) (sqrt.f64 (fma.f64 x x -1)))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 (pow.f64 (cbrt.f64 (fma.f64 x x -1)) 2)) (cbrt.f64 (fma.f64 x x -1)))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 1) (fma.f64 x x -1))))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (exp.f64 (fma.f64 x x -1)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (exp.f64 (fma.f64 x x -1))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (exp.f64 (fma.f64 x x -1)))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (exp.f64 (fma.f64 x x -1))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (fma.f64 x x -1))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (exp.f64 (fma.f64 x x -1)))))))) |
((#(struct:change #<rule egg-rr> (2) ((x +.f64 (+.f64 (exp.f64 (fma.f64 x x -1)) 1) -1)))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 (exp.f64 (fma.f64 x x -1)) 1) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (exp.f64 (fma.f64 x x -1)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (exp.f64 (fma.f64 x x -1)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (exp.f64 (fma.f64 x x -1))) (pow.f64 (cbrt.f64 (exp.f64 (fma.f64 x x -1))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (exp.f64 (fma.f64 x x -1))) (pow.f64 (pow.f64 (exp.f64 (fma.f64 x x -1)) 2) 1/3))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (exp.f64 (fma.f64 x x -1))) 2) (cbrt.f64 (exp.f64 (fma.f64 x x -1))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (exp.f64 (fma.f64 x x -1))) (sqrt.f64 (exp.f64 (fma.f64 x x -1))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (exp.f64 (*.f64 x x)) (exp.f64 -1))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (pow.f64 (exp.f64 (fma.f64 x x -1)) 2) 1/3) (cbrt.f64 (exp.f64 (fma.f64 x x -1))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 1 1/3) (exp.f64 (fma.f64 x x -1)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (pow.f64 (exp.f64 (fma.f64 x x -1)) 3/2) 1/3) (pow.f64 (pow.f64 (exp.f64 (fma.f64 x x -1)) 3/2) 1/3))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (pow.f64 (+.f64 (exp.f64 (fma.f64 x x -1)) 1) 3) 1) (+.f64 (*.f64 (+.f64 (exp.f64 (fma.f64 x x -1)) 1) (+.f64 (exp.f64 (fma.f64 x x -1)) 1)) (+.f64 1 (*.f64 (+.f64 (exp.f64 (fma.f64 x x -1)) 1) 1))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (*.f64 (+.f64 (exp.f64 (fma.f64 x x -1)) 1) (+.f64 (exp.f64 (fma.f64 x x -1)) 1)) 1) (+.f64 (+.f64 (exp.f64 (fma.f64 x x -1)) 1) 1))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 (fma.f64 x x -1)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (exp.f64 (fma.f64 x x -1)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (exp.f64 (fma.f64 x x -1))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (exp.f64 (fma.f64 x x -1))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 (sqrt.f64 (fma.f64 x x -1))) (sqrt.f64 (fma.f64 x x -1)))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 (pow.f64 (cbrt.f64 (fma.f64 x x -1)) 2)) (cbrt.f64 (fma.f64 x x -1)))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 1) (fma.f64 x x -1))))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (exp.f64 (fma.f64 x x -1)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (exp.f64 (fma.f64 x x -1))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (exp.f64 (fma.f64 x x -1)))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (exp.f64 (fma.f64 x x -1)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (exp.f64 (fma.f64 x x -1))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (fma.f64 x x -1)))))) |
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (pow.f64 (exp.f64 (fma.f64 x x -1)) 3))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (exp.f64 (fma.f64 x x -1)) (pow.f64 (exp.f64 (fma.f64 x x -1)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (exp.f64 (fma.f64 x x -1)) 3) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (pow.f64 (exp.f64 (fma.f64 x x -1)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (exp.f64 (fma.f64 x x -1)) 2) (exp.f64 (fma.f64 x x -1)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (exp.f64 (fma.f64 x x -1))) 2) (*.f64 (cbrt.f64 (exp.f64 (fma.f64 x x -1))) (pow.f64 (exp.f64 (fma.f64 x x -1)) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (exp.f64 (fma.f64 x x -1))) (*.f64 (sqrt.f64 (exp.f64 (fma.f64 x x -1))) (pow.f64 (exp.f64 (fma.f64 x x -1)) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (exp.f64 (fma.f64 x x -1)) 3/2) (pow.f64 (exp.f64 (fma.f64 x x -1)) 3/2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (pow.f64 (cbrt.f64 (exp.f64 (fma.f64 x x -1))) 2) 3) (exp.f64 (fma.f64 x x -1)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (sqrt.f64 (exp.f64 (fma.f64 x x -1))) 3) (pow.f64 (sqrt.f64 (exp.f64 (fma.f64 x x -1))) 3))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (pow.f64 (exp.f64 (fma.f64 x x -1)) 2) 1) (exp.f64 (fma.f64 x x -1)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (pow.f64 (exp.f64 (fma.f64 x x -1)) 2) (pow.f64 (cbrt.f64 (exp.f64 (fma.f64 x x -1))) 2)) (cbrt.f64 (exp.f64 (fma.f64 x x -1))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (pow.f64 (exp.f64 (fma.f64 x x -1)) 2) (sqrt.f64 (exp.f64 (fma.f64 x x -1)))) (sqrt.f64 (exp.f64 (fma.f64 x x -1))))))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (exp.f64 (fma.f64 x x -1)) 6))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (pow.f64 (exp.f64 (fma.f64 x x -1)) 3)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (pow.f64 (exp.f64 (fma.f64 x x -1)) 3))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (pow.f64 (exp.f64 (fma.f64 x x -1)) 3) 3))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (pow.f64 (exp.f64 (fma.f64 x x -1)) 3)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (fma.f64 x x -1) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (pow.f64 (exp.f64 (fma.f64 x x -1)) 3))))))) |
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (log1p.f64 (exp.f64 (fma.f64 x x -1))))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (log1p.f64 (exp.f64 (fma.f64 x x -1))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (log1p.f64 (exp.f64 (fma.f64 x x -1))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (log1p.f64 (exp.f64 (fma.f64 x x -1)))) (pow.f64 (cbrt.f64 (log1p.f64 (exp.f64 (fma.f64 x x -1)))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (log1p.f64 (exp.f64 (fma.f64 x x -1)))) 2) (cbrt.f64 (log1p.f64 (exp.f64 (fma.f64 x x -1)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (log1p.f64 (exp.f64 (fma.f64 x x -1)))) (sqrt.f64 (log1p.f64 (exp.f64 (fma.f64 x x -1)))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (log1p.f64 (exp.f64 (fma.f64 x x -1))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (log1p.f64 (exp.f64 (fma.f64 x x -1))) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (log1p.f64 (exp.f64 (fma.f64 x x -1)))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (log1p.f64 (exp.f64 (fma.f64 x x -1)))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (log1p.f64 (exp.f64 (fma.f64 x x -1))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 (exp.f64 (fma.f64 x x -1)) 1))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (log1p.f64 (exp.f64 (fma.f64 x x -1))) 3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (log1p.f64 (exp.f64 (fma.f64 x x -1)))))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (log1p.f64 (exp.f64 (fma.f64 x x -1))))))))) |
| 1× | egg-herbie |
| 471× | fma-def_binary64 |
| 448× | distribute-rgt-out_binary64 |
| 325× | associate-*r*_binary64 |
| 308× | associate-*l*_binary64 |
| 247× | unswap-sqr_binary64 |
Useful iterations: 3 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 82 | 795 |
| 1 | 230 | 763 |
| 2 | 756 | 686 |
| 3 | 3968 | 675 |
| 1× | node limit |
| Inputs |
|---|
(exp.f64 -1) |
(+.f64 (*.f64 (exp.f64 -1) (pow.f64 x 2)) (exp.f64 -1)) |
(+.f64 (*.f64 (exp.f64 -1) (pow.f64 x 2)) (+.f64 (exp.f64 -1) (*.f64 1/2 (*.f64 (exp.f64 -1) (pow.f64 x 4))))) |
(+.f64 (*.f64 1/6 (*.f64 (exp.f64 -1) (pow.f64 x 6))) (+.f64 (*.f64 (exp.f64 -1) (pow.f64 x 2)) (+.f64 (exp.f64 -1) (*.f64 1/2 (*.f64 (exp.f64 -1) (pow.f64 x 4)))))) |
(exp.f64 (fma.f64 x x -1)) |
(exp.f64 (fma.f64 x x -1)) |
(exp.f64 (fma.f64 x x -1)) |
(exp.f64 (fma.f64 x x -1)) |
(exp.f64 (fma.f64 x x -1)) |
(exp.f64 (fma.f64 x x -1)) |
(exp.f64 (fma.f64 x x -1)) |
(exp.f64 (fma.f64 x x -1)) |
(exp.f64 -1) |
(+.f64 (*.f64 (exp.f64 -1) (pow.f64 x 2)) (exp.f64 -1)) |
(+.f64 (*.f64 (exp.f64 -1) (pow.f64 x 2)) (+.f64 (exp.f64 -1) (*.f64 1/2 (*.f64 (exp.f64 -1) (pow.f64 x 4))))) |
(+.f64 (*.f64 1/6 (*.f64 (exp.f64 -1) (pow.f64 x 6))) (+.f64 (*.f64 (exp.f64 -1) (pow.f64 x 2)) (+.f64 (exp.f64 -1) (*.f64 1/2 (*.f64 (exp.f64 -1) (pow.f64 x 4)))))) |
(exp.f64 (fma.f64 x x -1)) |
(exp.f64 (fma.f64 x x -1)) |
(exp.f64 (fma.f64 x x -1)) |
(exp.f64 (fma.f64 x x -1)) |
(exp.f64 (fma.f64 x x -1)) |
(exp.f64 (fma.f64 x x -1)) |
(exp.f64 (fma.f64 x x -1)) |
(exp.f64 (fma.f64 x x -1)) |
(pow.f64 (exp.f64 -1) 3) |
(+.f64 (*.f64 (+.f64 (*.f64 2 (pow.f64 (exp.f64 -1) 3)) (pow.f64 (exp.f64 -1) 3)) (pow.f64 x 2)) (pow.f64 (exp.f64 -1) 3)) |
(+.f64 (*.f64 (+.f64 (*.f64 4 (pow.f64 (exp.f64 -1) 3)) (*.f64 1/2 (pow.f64 (exp.f64 -1) 3))) (pow.f64 x 4)) (+.f64 (*.f64 (+.f64 (*.f64 2 (pow.f64 (exp.f64 -1) 3)) (pow.f64 (exp.f64 -1) 3)) (pow.f64 x 2)) (pow.f64 (exp.f64 -1) 3))) |
(+.f64 (*.f64 (+.f64 (*.f64 4 (pow.f64 (exp.f64 -1) 3)) (*.f64 1/2 (pow.f64 (exp.f64 -1) 3))) (pow.f64 x 4)) (+.f64 (*.f64 (+.f64 (*.f64 2 (pow.f64 (exp.f64 -1) 3)) (pow.f64 (exp.f64 -1) 3)) (pow.f64 x 2)) (+.f64 (*.f64 (+.f64 (*.f64 2 (pow.f64 (exp.f64 -1) 3)) (+.f64 (*.f64 1/6 (pow.f64 (exp.f64 -1) 3)) (+.f64 (*.f64 (+.f64 (*.f64 1/3 (pow.f64 (exp.f64 -1) 2)) (pow.f64 (exp.f64 -1) 2)) (exp.f64 -1)) (pow.f64 (exp.f64 -1) 3)))) (pow.f64 x 6)) (pow.f64 (exp.f64 -1) 3)))) |
(pow.f64 (exp.f64 (fma.f64 x x -1)) 3) |
(pow.f64 (exp.f64 (fma.f64 x x -1)) 3) |
(pow.f64 (exp.f64 (fma.f64 x x -1)) 3) |
(pow.f64 (exp.f64 (fma.f64 x x -1)) 3) |
(pow.f64 (exp.f64 (fma.f64 x x -1)) 3) |
(pow.f64 (exp.f64 (fma.f64 x x -1)) 3) |
(pow.f64 (exp.f64 (fma.f64 x x -1)) 3) |
(pow.f64 (exp.f64 (fma.f64 x x -1)) 3) |
(log.f64 (+.f64 1 (exp.f64 -1))) |
(+.f64 (log.f64 (+.f64 1 (exp.f64 -1))) (/.f64 (*.f64 (exp.f64 -1) (pow.f64 x 2)) (+.f64 1 (exp.f64 -1)))) |
(+.f64 (log.f64 (+.f64 1 (exp.f64 -1))) (+.f64 (/.f64 (*.f64 (exp.f64 -1) (pow.f64 x 2)) (+.f64 1 (exp.f64 -1))) (*.f64 1/24 (*.f64 (+.f64 (*.f64 -12 (/.f64 (pow.f64 (exp.f64 -1) 2) (pow.f64 (+.f64 1 (exp.f64 -1)) 2))) (*.f64 12 (/.f64 (exp.f64 -1) (+.f64 1 (exp.f64 -1))))) (pow.f64 x 4))))) |
(+.f64 (*.f64 1/720 (*.f64 (+.f64 (*.f64 -360 (/.f64 (pow.f64 (exp.f64 -1) 2) (pow.f64 (+.f64 1 (exp.f64 -1)) 2))) (+.f64 (*.f64 120 (/.f64 (exp.f64 -1) (+.f64 1 (exp.f64 -1)))) (*.f64 240 (/.f64 (pow.f64 (exp.f64 -1) 3) (pow.f64 (+.f64 1 (exp.f64 -1)) 3))))) (pow.f64 x 6))) (+.f64 (log.f64 (+.f64 1 (exp.f64 -1))) (+.f64 (/.f64 (*.f64 (exp.f64 -1) (pow.f64 x 2)) (+.f64 1 (exp.f64 -1))) (*.f64 1/24 (*.f64 (+.f64 (*.f64 -12 (/.f64 (pow.f64 (exp.f64 -1) 2) (pow.f64 (+.f64 1 (exp.f64 -1)) 2))) (*.f64 12 (/.f64 (exp.f64 -1) (+.f64 1 (exp.f64 -1))))) (pow.f64 x 4)))))) |
(log.f64 (+.f64 1 (exp.f64 (fma.f64 x x -1)))) |
(log.f64 (+.f64 1 (exp.f64 (fma.f64 x x -1)))) |
(log.f64 (+.f64 1 (exp.f64 (fma.f64 x x -1)))) |
(log.f64 (+.f64 1 (exp.f64 (fma.f64 x x -1)))) |
(log.f64 (+.f64 1 (exp.f64 (fma.f64 x x -1)))) |
(log.f64 (+.f64 1 (exp.f64 (fma.f64 x x -1)))) |
(log.f64 (+.f64 1 (exp.f64 (fma.f64 x x -1)))) |
(log.f64 (+.f64 1 (exp.f64 (fma.f64 x x -1)))) |
| Outputs |
|---|
(exp.f64 -1) |
(+.f64 (*.f64 (exp.f64 -1) (pow.f64 x 2)) (exp.f64 -1)) |
(fma.f64 (exp.f64 -1) (*.f64 x x) (exp.f64 -1)) |
(*.f64 (+.f64 (*.f64 x x) 1) (exp.f64 -1)) |
(*.f64 (exp.f64 -1) (fma.f64 x x 1)) |
(+.f64 (*.f64 (exp.f64 -1) (pow.f64 x 2)) (+.f64 (exp.f64 -1) (*.f64 1/2 (*.f64 (exp.f64 -1) (pow.f64 x 4))))) |
(+.f64 (fma.f64 (exp.f64 -1) (*.f64 x x) (exp.f64 -1)) (*.f64 1/2 (*.f64 (exp.f64 -1) (pow.f64 x 4)))) |
(fma.f64 (exp.f64 -1) (*.f64 x x) (fma.f64 1/2 (*.f64 (exp.f64 -1) (pow.f64 x 4)) (exp.f64 -1))) |
(*.f64 (exp.f64 -1) (+.f64 (*.f64 1/2 (pow.f64 x 4)) (fma.f64 x x 1))) |
(+.f64 (*.f64 1/6 (*.f64 (exp.f64 -1) (pow.f64 x 6))) (+.f64 (*.f64 (exp.f64 -1) (pow.f64 x 2)) (+.f64 (exp.f64 -1) (*.f64 1/2 (*.f64 (exp.f64 -1) (pow.f64 x 4)))))) |
(fma.f64 1/6 (*.f64 (exp.f64 -1) (pow.f64 x 6)) (+.f64 (fma.f64 (exp.f64 -1) (*.f64 x x) (exp.f64 -1)) (*.f64 1/2 (*.f64 (exp.f64 -1) (pow.f64 x 4))))) |
(fma.f64 1/6 (*.f64 (exp.f64 -1) (pow.f64 x 6)) (fma.f64 (exp.f64 -1) (*.f64 x x) (fma.f64 1/2 (*.f64 (exp.f64 -1) (pow.f64 x 4)) (exp.f64 -1)))) |
(fma.f64 (exp.f64 -1) (*.f64 1/6 (pow.f64 x 6)) (*.f64 (exp.f64 -1) (+.f64 (*.f64 1/2 (pow.f64 x 4)) (fma.f64 x x 1)))) |
(exp.f64 (fma.f64 x x -1)) |
(exp.f64 (fma.f64 x x -1)) |
(exp.f64 (fma.f64 x x -1)) |
(exp.f64 (fma.f64 x x -1)) |
(exp.f64 (fma.f64 x x -1)) |
(exp.f64 (fma.f64 x x -1)) |
(exp.f64 (fma.f64 x x -1)) |
(exp.f64 (fma.f64 x x -1)) |
(exp.f64 -1) |
(+.f64 (*.f64 (exp.f64 -1) (pow.f64 x 2)) (exp.f64 -1)) |
(fma.f64 (exp.f64 -1) (*.f64 x x) (exp.f64 -1)) |
(*.f64 (+.f64 (*.f64 x x) 1) (exp.f64 -1)) |
(*.f64 (exp.f64 -1) (fma.f64 x x 1)) |
(+.f64 (*.f64 (exp.f64 -1) (pow.f64 x 2)) (+.f64 (exp.f64 -1) (*.f64 1/2 (*.f64 (exp.f64 -1) (pow.f64 x 4))))) |
(+.f64 (fma.f64 (exp.f64 -1) (*.f64 x x) (exp.f64 -1)) (*.f64 1/2 (*.f64 (exp.f64 -1) (pow.f64 x 4)))) |
(fma.f64 (exp.f64 -1) (*.f64 x x) (fma.f64 1/2 (*.f64 (exp.f64 -1) (pow.f64 x 4)) (exp.f64 -1))) |
(*.f64 (exp.f64 -1) (+.f64 (*.f64 1/2 (pow.f64 x 4)) (fma.f64 x x 1))) |
(+.f64 (*.f64 1/6 (*.f64 (exp.f64 -1) (pow.f64 x 6))) (+.f64 (*.f64 (exp.f64 -1) (pow.f64 x 2)) (+.f64 (exp.f64 -1) (*.f64 1/2 (*.f64 (exp.f64 -1) (pow.f64 x 4)))))) |
(fma.f64 1/6 (*.f64 (exp.f64 -1) (pow.f64 x 6)) (+.f64 (fma.f64 (exp.f64 -1) (*.f64 x x) (exp.f64 -1)) (*.f64 1/2 (*.f64 (exp.f64 -1) (pow.f64 x 4))))) |
(fma.f64 1/6 (*.f64 (exp.f64 -1) (pow.f64 x 6)) (fma.f64 (exp.f64 -1) (*.f64 x x) (fma.f64 1/2 (*.f64 (exp.f64 -1) (pow.f64 x 4)) (exp.f64 -1)))) |
(fma.f64 (exp.f64 -1) (*.f64 1/6 (pow.f64 x 6)) (*.f64 (exp.f64 -1) (+.f64 (*.f64 1/2 (pow.f64 x 4)) (fma.f64 x x 1)))) |
(exp.f64 (fma.f64 x x -1)) |
(exp.f64 (fma.f64 x x -1)) |
(exp.f64 (fma.f64 x x -1)) |
(exp.f64 (fma.f64 x x -1)) |
(exp.f64 (fma.f64 x x -1)) |
(exp.f64 (fma.f64 x x -1)) |
(exp.f64 (fma.f64 x x -1)) |
(exp.f64 (fma.f64 x x -1)) |
(pow.f64 (exp.f64 -1) 3) |
(exp.f64 -3) |
(+.f64 (*.f64 (+.f64 (*.f64 2 (pow.f64 (exp.f64 -1) 3)) (pow.f64 (exp.f64 -1) 3)) (pow.f64 x 2)) (pow.f64 (exp.f64 -1) 3)) |
(fma.f64 (*.f64 3 (pow.f64 (exp.f64 -1) 3)) (*.f64 x x) (pow.f64 (exp.f64 -1) 3)) |
(fma.f64 (*.f64 x x) (*.f64 3 (pow.f64 (exp.f64 -1) 3)) (pow.f64 (exp.f64 -1) 3)) |
(*.f64 (+.f64 (*.f64 x (*.f64 x 3)) 1) (exp.f64 -3)) |
(+.f64 (*.f64 (+.f64 (*.f64 4 (pow.f64 (exp.f64 -1) 3)) (*.f64 1/2 (pow.f64 (exp.f64 -1) 3))) (pow.f64 x 4)) (+.f64 (*.f64 (+.f64 (*.f64 2 (pow.f64 (exp.f64 -1) 3)) (pow.f64 (exp.f64 -1) 3)) (pow.f64 x 2)) (pow.f64 (exp.f64 -1) 3))) |
(fma.f64 (*.f64 (pow.f64 (exp.f64 -1) 3) 9/2) (pow.f64 x 4) (fma.f64 (*.f64 3 (pow.f64 (exp.f64 -1) 3)) (*.f64 x x) (pow.f64 (exp.f64 -1) 3))) |
(fma.f64 (pow.f64 x 4) (*.f64 (pow.f64 (exp.f64 -1) 3) 9/2) (fma.f64 (*.f64 x x) (*.f64 3 (pow.f64 (exp.f64 -1) 3)) (pow.f64 (exp.f64 -1) 3))) |
(fma.f64 x (*.f64 3 (*.f64 (exp.f64 -3) x)) (fma.f64 (pow.f64 x 4) (*.f64 (exp.f64 -3) 9/2) (exp.f64 -3))) |
(*.f64 (exp.f64 -3) (+.f64 (*.f64 (pow.f64 x 4) 9/2) (+.f64 (*.f64 x (*.f64 x 3)) 1))) |
(+.f64 (*.f64 (+.f64 (*.f64 4 (pow.f64 (exp.f64 -1) 3)) (*.f64 1/2 (pow.f64 (exp.f64 -1) 3))) (pow.f64 x 4)) (+.f64 (*.f64 (+.f64 (*.f64 2 (pow.f64 (exp.f64 -1) 3)) (pow.f64 (exp.f64 -1) 3)) (pow.f64 x 2)) (+.f64 (*.f64 (+.f64 (*.f64 2 (pow.f64 (exp.f64 -1) 3)) (+.f64 (*.f64 1/6 (pow.f64 (exp.f64 -1) 3)) (+.f64 (*.f64 (+.f64 (*.f64 1/3 (pow.f64 (exp.f64 -1) 2)) (pow.f64 (exp.f64 -1) 2)) (exp.f64 -1)) (pow.f64 (exp.f64 -1) 3)))) (pow.f64 x 6)) (pow.f64 (exp.f64 -1) 3)))) |
(fma.f64 (*.f64 (pow.f64 (exp.f64 -1) 3) 9/2) (pow.f64 x 4) (fma.f64 (*.f64 3 (pow.f64 (exp.f64 -1) 3)) (*.f64 x x) (fma.f64 (fma.f64 2 (pow.f64 (exp.f64 -1) 3) (fma.f64 1/6 (pow.f64 (exp.f64 -1) 3) (fma.f64 (*.f64 4/3 (pow.f64 (exp.f64 -1) 2)) (exp.f64 -1) (pow.f64 (exp.f64 -1) 3)))) (pow.f64 x 6) (pow.f64 (exp.f64 -1) 3)))) |
(fma.f64 (pow.f64 x 4) (*.f64 (pow.f64 (exp.f64 -1) 3) 9/2) (fma.f64 (*.f64 x x) (*.f64 3 (pow.f64 (exp.f64 -1) 3)) (fma.f64 (pow.f64 x 6) (+.f64 (*.f64 (exp.f64 -1) (+.f64 (exp.f64 -2) (*.f64 (exp.f64 -2) 4/3))) (*.f64 (pow.f64 (exp.f64 -1) 3) 13/6)) (pow.f64 (exp.f64 -1) 3)))) |
(fma.f64 x (*.f64 3 (*.f64 (exp.f64 -3) x)) (fma.f64 (pow.f64 x 4) (*.f64 (exp.f64 -3) 9/2) (fma.f64 (pow.f64 x 6) (fma.f64 (exp.f64 -3) 13/6 (*.f64 7/3 (exp.f64 -3))) (exp.f64 -3)))) |
(+.f64 (*.f64 (pow.f64 x 6) (*.f64 (exp.f64 -3) 9/2)) (*.f64 (exp.f64 -3) (+.f64 (*.f64 (pow.f64 x 4) 9/2) (+.f64 (*.f64 x (*.f64 x 3)) 1)))) |
(pow.f64 (exp.f64 (fma.f64 x x -1)) 3) |
(pow.f64 (exp.f64 (fma.f64 x x -1)) 3) |
(pow.f64 (exp.f64 (fma.f64 x x -1)) 3) |
(pow.f64 (exp.f64 (fma.f64 x x -1)) 3) |
(pow.f64 (exp.f64 (fma.f64 x x -1)) 3) |
(pow.f64 (exp.f64 (fma.f64 x x -1)) 3) |
(pow.f64 (exp.f64 (fma.f64 x x -1)) 3) |
(pow.f64 (exp.f64 (fma.f64 x x -1)) 3) |
(log.f64 (+.f64 1 (exp.f64 -1))) |
(log1p.f64 (exp.f64 -1)) |
(+.f64 (log.f64 (+.f64 1 (exp.f64 -1))) (/.f64 (*.f64 (exp.f64 -1) (pow.f64 x 2)) (+.f64 1 (exp.f64 -1)))) |
(+.f64 (log1p.f64 (exp.f64 -1)) (/.f64 (*.f64 (exp.f64 -1) (*.f64 x x)) (+.f64 (exp.f64 -1) 1))) |
(+.f64 (log1p.f64 (exp.f64 -1)) (/.f64 (exp.f64 -1) (/.f64 (+.f64 (exp.f64 -1) 1) (*.f64 x x)))) |
(fma.f64 (/.f64 (exp.f64 -1) (+.f64 (exp.f64 -1) 1)) (*.f64 x x) (log1p.f64 (exp.f64 -1))) |
(+.f64 (log.f64 (+.f64 1 (exp.f64 -1))) (+.f64 (/.f64 (*.f64 (exp.f64 -1) (pow.f64 x 2)) (+.f64 1 (exp.f64 -1))) (*.f64 1/24 (*.f64 (+.f64 (*.f64 -12 (/.f64 (pow.f64 (exp.f64 -1) 2) (pow.f64 (+.f64 1 (exp.f64 -1)) 2))) (*.f64 12 (/.f64 (exp.f64 -1) (+.f64 1 (exp.f64 -1))))) (pow.f64 x 4))))) |
(+.f64 (+.f64 (log1p.f64 (exp.f64 -1)) (/.f64 (*.f64 (exp.f64 -1) (*.f64 x x)) (+.f64 (exp.f64 -1) 1))) (*.f64 1/24 (*.f64 (pow.f64 x 4) (fma.f64 -12 (/.f64 (pow.f64 (exp.f64 -1) 2) (pow.f64 (+.f64 (exp.f64 -1) 1) 2)) (/.f64 (*.f64 12 (exp.f64 -1)) (+.f64 (exp.f64 -1) 1)))))) |
(+.f64 (log1p.f64 (exp.f64 -1)) (fma.f64 1/24 (*.f64 (pow.f64 x 4) (fma.f64 -12 (/.f64 (exp.f64 -2) (pow.f64 (+.f64 (exp.f64 -1) 1) 2)) (*.f64 12 (/.f64 (exp.f64 -1) (+.f64 (exp.f64 -1) 1))))) (/.f64 (exp.f64 -1) (/.f64 (+.f64 (exp.f64 -1) 1) (*.f64 x x))))) |
(fma.f64 (pow.f64 x 4) (+.f64 (*.f64 1/2 (/.f64 (exp.f64 -1) (+.f64 (exp.f64 -1) 1))) (*.f64 (/.f64 (exp.f64 -2) (pow.f64 (+.f64 (exp.f64 -1) 1) 2)) -1/2)) (fma.f64 (/.f64 (exp.f64 -1) (+.f64 (exp.f64 -1) 1)) (*.f64 x x) (log1p.f64 (exp.f64 -1)))) |
(+.f64 (*.f64 1/720 (*.f64 (+.f64 (*.f64 -360 (/.f64 (pow.f64 (exp.f64 -1) 2) (pow.f64 (+.f64 1 (exp.f64 -1)) 2))) (+.f64 (*.f64 120 (/.f64 (exp.f64 -1) (+.f64 1 (exp.f64 -1)))) (*.f64 240 (/.f64 (pow.f64 (exp.f64 -1) 3) (pow.f64 (+.f64 1 (exp.f64 -1)) 3))))) (pow.f64 x 6))) (+.f64 (log.f64 (+.f64 1 (exp.f64 -1))) (+.f64 (/.f64 (*.f64 (exp.f64 -1) (pow.f64 x 2)) (+.f64 1 (exp.f64 -1))) (*.f64 1/24 (*.f64 (+.f64 (*.f64 -12 (/.f64 (pow.f64 (exp.f64 -1) 2) (pow.f64 (+.f64 1 (exp.f64 -1)) 2))) (*.f64 12 (/.f64 (exp.f64 -1) (+.f64 1 (exp.f64 -1))))) (pow.f64 x 4)))))) |
(fma.f64 1/720 (*.f64 (pow.f64 x 6) (fma.f64 -360 (/.f64 (pow.f64 (exp.f64 -1) 2) (pow.f64 (+.f64 (exp.f64 -1) 1) 2)) (fma.f64 120 (/.f64 (exp.f64 -1) (+.f64 (exp.f64 -1) 1)) (*.f64 240 (/.f64 (pow.f64 (exp.f64 -1) 3) (pow.f64 (+.f64 (exp.f64 -1) 1) 3)))))) (+.f64 (+.f64 (log1p.f64 (exp.f64 -1)) (/.f64 (*.f64 (exp.f64 -1) (*.f64 x x)) (+.f64 (exp.f64 -1) 1))) (*.f64 1/24 (*.f64 (pow.f64 x 4) (fma.f64 -12 (/.f64 (pow.f64 (exp.f64 -1) 2) (pow.f64 (+.f64 (exp.f64 -1) 1) 2)) (/.f64 (*.f64 12 (exp.f64 -1)) (+.f64 (exp.f64 -1) 1))))))) |
(+.f64 (fma.f64 1/24 (*.f64 (pow.f64 x 4) (fma.f64 -12 (/.f64 (exp.f64 -2) (pow.f64 (+.f64 (exp.f64 -1) 1) 2)) (*.f64 12 (/.f64 (exp.f64 -1) (+.f64 (exp.f64 -1) 1))))) (/.f64 (exp.f64 -1) (/.f64 (+.f64 (exp.f64 -1) 1) (*.f64 x x)))) (fma.f64 1/720 (*.f64 (pow.f64 x 6) (fma.f64 (/.f64 (exp.f64 -2) (pow.f64 (+.f64 (exp.f64 -1) 1) 2)) -360 (fma.f64 (/.f64 (exp.f64 -1) (+.f64 (exp.f64 -1) 1)) 120 (*.f64 240 (/.f64 (pow.f64 (exp.f64 -1) 3) (pow.f64 (+.f64 (exp.f64 -1) 1) 3)))))) (log1p.f64 (exp.f64 -1)))) |
(fma.f64 (pow.f64 x 6) (*.f64 1/720 (fma.f64 (/.f64 (exp.f64 -2) (pow.f64 (+.f64 (exp.f64 -1) 1) 2)) -360 (fma.f64 (/.f64 (exp.f64 -1) (+.f64 (exp.f64 -1) 1)) 120 (*.f64 240 (pow.f64 (/.f64 (exp.f64 -1) (+.f64 (exp.f64 -1) 1)) 3))))) (fma.f64 (pow.f64 x 4) (+.f64 (*.f64 1/2 (/.f64 (exp.f64 -1) (+.f64 (exp.f64 -1) 1))) (*.f64 (/.f64 (exp.f64 -2) (pow.f64 (+.f64 (exp.f64 -1) 1) 2)) -1/2)) (fma.f64 (/.f64 (exp.f64 -1) (+.f64 (exp.f64 -1) 1)) (*.f64 x x) (log1p.f64 (exp.f64 -1))))) |
(fma.f64 (pow.f64 x 6) (fma.f64 1/720 (*.f64 (/.f64 (exp.f64 -1) (+.f64 (exp.f64 -1) 1)) (+.f64 (/.f64 (*.f64 (exp.f64 -1) -360) (+.f64 (exp.f64 -1) 1)) 120)) (*.f64 1/3 (pow.f64 (/.f64 (exp.f64 -1) (+.f64 (exp.f64 -1) 1)) 3))) (fma.f64 (pow.f64 x 4) (+.f64 (*.f64 1/2 (/.f64 (exp.f64 -1) (+.f64 (exp.f64 -1) 1))) (*.f64 (/.f64 (exp.f64 -2) (pow.f64 (+.f64 (exp.f64 -1) 1) 2)) -1/2)) (fma.f64 (/.f64 (exp.f64 -1) (+.f64 (exp.f64 -1) 1)) (*.f64 x x) (log1p.f64 (exp.f64 -1))))) |
(log.f64 (+.f64 1 (exp.f64 (fma.f64 x x -1)))) |
(log1p.f64 (exp.f64 (fma.f64 x x -1))) |
(log.f64 (+.f64 1 (exp.f64 (fma.f64 x x -1)))) |
(log1p.f64 (exp.f64 (fma.f64 x x -1))) |
(log.f64 (+.f64 1 (exp.f64 (fma.f64 x x -1)))) |
(log1p.f64 (exp.f64 (fma.f64 x x -1))) |
(log.f64 (+.f64 1 (exp.f64 (fma.f64 x x -1)))) |
(log1p.f64 (exp.f64 (fma.f64 x x -1))) |
(log.f64 (+.f64 1 (exp.f64 (fma.f64 x x -1)))) |
(log1p.f64 (exp.f64 (fma.f64 x x -1))) |
(log.f64 (+.f64 1 (exp.f64 (fma.f64 x x -1)))) |
(log1p.f64 (exp.f64 (fma.f64 x x -1))) |
(log.f64 (+.f64 1 (exp.f64 (fma.f64 x x -1)))) |
(log1p.f64 (exp.f64 (fma.f64 x x -1))) |
(log.f64 (+.f64 1 (exp.f64 (fma.f64 x x -1)))) |
(log1p.f64 (exp.f64 (fma.f64 x x -1))) |
Compiled 1479 to 1239 computations (16.2% saved)
5 alts after pruning (1 fresh and 4 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 89 | 0 | 89 |
| Fresh | 0 | 1 | 1 |
| Picked | 0 | 1 | 1 |
| Done | 0 | 3 | 3 |
| Total | 89 | 5 | 94 |
| Status | Error | Program |
|---|---|---|
| ✓ | 0.1b | (exp.f64 (fma.f64 x x -1)) |
| ✓ | 0.1b | (cbrt.f64 (pow.f64 (exp.f64 (fma.f64 x x -1)) 3)) |
| ✓ | 0.1b | (pow.f64 (sqrt.f64 (exp.f64 (fma.f64 x x -1))) 2) |
| ✓ | 0.1b | (cbrt.f64 (pow.f64 (expm1.f64 (log1p.f64 (exp.f64 (fma.f64 x x -1)))) 3)) |
| 2.0b | (pow.f64 (sqrt.f64 (pow.f64 (cbrt.f64 (exp.f64 (fma.f64 x x -1))) 3)) 2) |
Compiled 47 to 37 computations (21.3% saved)
Total -2.0b remaining (-3557.9%)
Threshold costs -2.0b (-3557.9%)
| Inputs |
|---|
(cbrt.f64 (pow.f64 (expm1.f64 (log1p.f64 (exp.f64 (fma.f64 x x -1)))) 3)) |
(pow.f64 (sqrt.f64 (pow.f64 (cbrt.f64 (exp.f64 (fma.f64 x x -1))) 3)) 2) |
(cbrt.f64 (pow.f64 (exp.f64 (fma.f64 x x -1)) 3)) |
(pow.f64 (sqrt.f64 (exp.f64 (fma.f64 x x -1))) 2) |
(pow.f64 (cbrt.f64 (exp.f64 (fma.f64 x x -1))) 3) |
(exp.f64 (fma.f64 x x -1)) |
(exp.f64 (neg.f64 (-.f64 1 (*.f64 x x)))) |
| Outputs |
|---|
(pow.f64 (sqrt.f64 (exp.f64 (fma.f64 x x -1))) 2) |
| Time | Error | Segments | Branch |
| 6.0ms | 0.1b | 1 | x |
| 2.0ms | 0.1b | 1 | (exp.f64 (neg.f64 (-.f64 1 (*.f64 x x)))) |
| 2.0ms | 0.1b | 1 | (neg.f64 (-.f64 1 (*.f64 x x))) |
| 2.0ms | 0.1b | 1 | (-.f64 1 (*.f64 x x)) |
| 2.0ms | 0.1b | 1 | (*.f64 x x) |
Compiled 85 to 62 computations (27.1% saved)
| 1× | egg-herbie |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 8 | 12 |
| 1× | saturated |
| Inputs |
|---|
(pow.f64 (sqrt.f64 (exp.f64 (fma.f64 x x -1))) 2) |
| Outputs |
|---|
(pow.f64 (sqrt.f64 (exp.f64 (fma.f64 x x -1))) 2) |
| 1× | fuel |
Compiled 18 to 14 computations (22.2% saved)
Loading profile data...