Time bar (total: 2.7s)
| 1× | search |
| True | Other | False | Iter |
|---|---|---|---|
| 0% | 100% | 0% | 0 |
| 0% | 100% | 0% | 1 |
| 0% | 100% | 0% | 2 |
| 25% | 75% | 0% | 3 |
| 25% | 62.5% | 12.5% | 4 |
| 25% | 56.2% | 18.8% | 5 |
| 28.1% | 50% | 21.9% | 6 |
| 29.7% | 46.9% | 23.5% | 7 |
| 30.5% | 45.3% | 24.3% | 8 |
| 30.8% | 44.9% | 24.3% | 9 |
| 31.2% | 44.5% | 24.3% | 10 |
| 31.3% | 44.4% | 24.3% | 11 |
| 31.4% | 44.3% | 24.3% | 12 |
| 31.4% | 44.2% | 24.3% | 13 |
| 31.5% | 44.2% | 24.3% | 14 |
Compiled 9 to 6 computations (33.3% saved)
| 825.0ms | 2692× | body | 1024 | valid |
| 266.0ms | 1316× | body | 512 | valid |
| 248.0ms | 3279× | body | 128 | valid |
| 118.0ms | 297× | body | 2048 | valid |
| 96.0ms | 672× | body | 256 | valid |
| 1.0ms | 3× | body | 2048 | invalid |
Compiled 18 to 12 computations (33.3% saved)
| 2× | egg-herbie |
| 1× | +-commutative_binary64 |
| 1× | sub-neg_binary64 |
| 1× | 1-exp_binary64 |
| 1× | expm1-def_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 6 | 8 |
| 1 | 12 | 8 |
| 2 | 13 | 8 |
| 0 | 1 | 1 |
| 1× | saturated |
| 1× | saturated |
| Inputs |
|---|
0 |
| Outputs |
|---|
0 |
| Inputs |
|---|
(/.f64 (exp.f64 x) (-.f64 (exp.f64 x) 1)) |
| Outputs |
|---|
(/.f64 (exp.f64 x) (-.f64 (exp.f64 x) 1)) |
(/.f64 (exp.f64 x) (expm1.f64 x)) |
Compiled 8 to 5 computations (37.5% saved)
| 1× | egg-herbie |
| 1× | +-commutative_binary64 |
| 1× | sub-neg_binary64 |
| 1× | 1-exp_binary64 |
| 1× | expm1-def_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 6 | 8 |
| 1 | 12 | 8 |
| 2 | 13 | 8 |
| 1× | saturated |
| Inputs |
|---|
(/.f64 (exp.f64 x) (-.f64 (exp.f64 x) 1)) |
| Outputs |
|---|
(/.f64 (exp.f64 x) (-.f64 (exp.f64 x) 1)) |
(/.f64 (exp.f64 x) (expm1.f64 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.3b | (/.f64 (exp.f64 x) (expm1.f64 x)) |
Compiled 25 to 15 computations (40% saved)
Found 1 expressions with local error:
| New | Error | Program |
|---|---|---|
| ✓ | 0.3b | (/.f64 (exp.f64 x) (expm1.f64 x)) |
3 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 1.0ms | x | @ | inf | (/.f64 (exp.f64 x) (expm1.f64 x)) |
| 1.0ms | x | @ | -inf | (/.f64 (exp.f64 x) (expm1.f64 x)) |
| 1.0ms | x | @ | 0 | (/.f64 (exp.f64 x) (expm1.f64 x)) |
| 1× | batch-egg-rewrite |
| 516× | pow1_binary64 |
| 477× | add-log-exp_binary64 |
| 477× | log1p-expm1-u_binary64 |
| 477× | expm1-log1p-u_binary64 |
| 465× | add-exp-log_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 5 | 8 |
| 1 | 99 | 8 |
| 2 | 1287 | 8 |
| 1× | node limit |
| Inputs |
|---|
(/.f64 (exp.f64 x) (expm1.f64 x)) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (/.f64 (exp.f64 x) (expm1.f64 x))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (exp.f64 x) (/.f64 1 (expm1.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (exp.f64 x) (expm1.f64 x)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (/.f64 (exp.f64 x) (expm1.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (exp.f64 x)) 2) (*.f64 (cbrt.f64 (exp.f64 x)) (/.f64 1 (expm1.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (/.f64 (exp.f64 x) (expm1.f64 x))) (pow.f64 (cbrt.f64 (/.f64 (exp.f64 x) (expm1.f64 x))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (/.f64 (exp.f64 x) (expm1.f64 x))) 2) (cbrt.f64 (/.f64 (exp.f64 x) (expm1.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (exp.f64 x)) (*.f64 (sqrt.f64 (exp.f64 x)) (/.f64 1 (expm1.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (/.f64 (exp.f64 x) (expm1.f64 x))) (sqrt.f64 (/.f64 (exp.f64 x) (expm1.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (neg.f64 (exp.f64 x)) (/.f64 1 (neg.f64 (expm1.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 1 (expm1.f64 x)) (exp.f64 x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (pow.f64 (cbrt.f64 (exp.f64 x)) 2) 1) (/.f64 (cbrt.f64 (exp.f64 x)) (expm1.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (sqrt.f64 (exp.f64 x)) 1) (/.f64 (sqrt.f64 (exp.f64 x)) (expm1.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 1 (pow.f64 (cbrt.f64 (expm1.f64 x)) 2)) (/.f64 (exp.f64 x) (cbrt.f64 (expm1.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (pow.f64 (cbrt.f64 (exp.f64 x)) 2) (pow.f64 (cbrt.f64 (expm1.f64 x)) 2)) (cbrt.f64 (/.f64 (exp.f64 x) (expm1.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (sqrt.f64 (exp.f64 x)) (pow.f64 (cbrt.f64 (expm1.f64 x)) 2)) (/.f64 (sqrt.f64 (exp.f64 x)) (cbrt.f64 (expm1.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 1 (sqrt.f64 (expm1.f64 x))) (/.f64 (exp.f64 x) (sqrt.f64 (expm1.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (pow.f64 (cbrt.f64 (exp.f64 x)) 2) (sqrt.f64 (expm1.f64 x))) (/.f64 (cbrt.f64 (exp.f64 x)) (sqrt.f64 (expm1.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 (exp.f64 x) (expm1.f64 x)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (/.f64 (exp.f64 x) (expm1.f64 x)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (/.f64 (exp.f64 x) (expm1.f64 x))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (/.f64 (exp.f64 x) (expm1.f64 x))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 (expm1.f64 x) (exp.f64 x)) -1)))) (#(struct:change #<rule egg-rr> (2) ((x neg.f64 (/.f64 (exp.f64 x) (neg.f64 (expm1.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (/.f64 (exp.f64 x) (expm1.f64 x)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (/.f64 (exp.f64 x) (expm1.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (/.f64 (exp.f64 x) (expm1.f64 x)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (/.f64 (pow.f64 (exp.f64 x) 3) (pow.f64 (expm1.f64 x) 3)))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (/.f64 (exp.f64 x) (expm1.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (/.f64 (exp.f64 x) (expm1.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (-.f64 x (log.f64 (expm1.f64 x)))))))) |
| 1× | egg-herbie |
| 1089× | fma-neg_binary64 |
| 754× | fma-def_binary64 |
| 260× | cancel-sign-sub-inv_binary64 |
| 211× | associate-*l*_binary64 |
| 208× | unswap-sqr_binary64 |
Useful iterations: 2 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 18 | 110 |
| 1 | 46 | 106 |
| 2 | 101 | 104 |
| 3 | 306 | 104 |
| 4 | 830 | 104 |
| 5 | 1782 | 104 |
| 6 | 3144 | 104 |
| 7 | 4892 | 104 |
| 1× | node limit |
| Inputs |
|---|
(/.f64 1 x) |
(+.f64 1/2 (/.f64 1 x)) |
(+.f64 1/2 (+.f64 (/.f64 1 x) (*.f64 1/12 x))) |
(-.f64 (+.f64 1/2 (+.f64 (/.f64 1 x) (*.f64 1/12 x))) (*.f64 1/720 (pow.f64 x 3))) |
(/.f64 (exp.f64 x) (-.f64 (exp.f64 x) 1)) |
(/.f64 (exp.f64 x) (-.f64 (exp.f64 x) 1)) |
(/.f64 (exp.f64 x) (-.f64 (exp.f64 x) 1)) |
(/.f64 (exp.f64 x) (-.f64 (exp.f64 x) 1)) |
(/.f64 (exp.f64 x) (-.f64 (exp.f64 x) 1)) |
(/.f64 (exp.f64 x) (-.f64 (exp.f64 x) 1)) |
(/.f64 (exp.f64 x) (-.f64 (exp.f64 x) 1)) |
(/.f64 (exp.f64 x) (-.f64 (exp.f64 x) 1)) |
| Outputs |
|---|
(/.f64 1 x) |
(+.f64 1/2 (/.f64 1 x)) |
(+.f64 (/.f64 1 x) 1/2) |
(+.f64 1/2 (+.f64 (/.f64 1 x) (*.f64 1/12 x))) |
(+.f64 1/2 (+.f64 (/.f64 1 x) (*.f64 x 1/12))) |
(+.f64 1/2 (fma.f64 x 1/12 (/.f64 1 x))) |
(+.f64 (/.f64 1 x) (fma.f64 x 1/12 1/2)) |
(-.f64 (+.f64 1/2 (+.f64 (/.f64 1 x) (*.f64 1/12 x))) (*.f64 1/720 (pow.f64 x 3))) |
(+.f64 1/2 (-.f64 (+.f64 (/.f64 1 x) (*.f64 x 1/12)) (*.f64 1/720 (pow.f64 x 3)))) |
(+.f64 1/2 (+.f64 (fma.f64 x 1/12 (/.f64 1 x)) (*.f64 (pow.f64 x 3) -1/720))) |
(fma.f64 (pow.f64 x 3) -1/720 (+.f64 (/.f64 1 x) (fma.f64 x 1/12 1/2))) |
(+.f64 (/.f64 1 x) (fma.f64 x 1/12 (fma.f64 (pow.f64 x 3) -1/720 1/2))) |
(-.f64 (fma.f64 x 1/12 (/.f64 1 x)) (fma.f64 1/720 (pow.f64 x 3) -1/2)) |
(/.f64 (exp.f64 x) (-.f64 (exp.f64 x) 1)) |
(/.f64 (exp.f64 x) (expm1.f64 x)) |
(/.f64 (exp.f64 x) (-.f64 (exp.f64 x) 1)) |
(/.f64 (exp.f64 x) (expm1.f64 x)) |
(/.f64 (exp.f64 x) (-.f64 (exp.f64 x) 1)) |
(/.f64 (exp.f64 x) (expm1.f64 x)) |
(/.f64 (exp.f64 x) (-.f64 (exp.f64 x) 1)) |
(/.f64 (exp.f64 x) (expm1.f64 x)) |
(/.f64 (exp.f64 x) (-.f64 (exp.f64 x) 1)) |
(/.f64 (exp.f64 x) (expm1.f64 x)) |
(/.f64 (exp.f64 x) (-.f64 (exp.f64 x) 1)) |
(/.f64 (exp.f64 x) (expm1.f64 x)) |
(/.f64 (exp.f64 x) (-.f64 (exp.f64 x) 1)) |
(/.f64 (exp.f64 x) (expm1.f64 x)) |
(/.f64 (exp.f64 x) (-.f64 (exp.f64 x) 1)) |
(/.f64 (exp.f64 x) (expm1.f64 x)) |
3 alts after pruning (2 fresh and 1 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 38 | 2 | 40 |
| Fresh | 0 | 0 | 0 |
| Picked | 0 | 1 | 1 |
| Done | 0 | 0 | 0 |
| Total | 38 | 3 | 41 |
| Status | Error | Program |
|---|---|---|
| 22.6b | (-.f64 (fma.f64 x 1/12 (/.f64 1 x)) (fma.f64 1/720 (pow.f64 x 3) -1/2)) | |
| ✓ | 0.3b | (/.f64 (exp.f64 x) (expm1.f64 x)) |
| ▶ | 22.4b | (+.f64 1/2 (/.f64 1 x)) |
Compiled 435 to 202 computations (53.6% saved)
Found 1 expressions with local error:
| New | Error | Program |
|---|---|---|
| ✓ | 0.0b | (+.f64 1/2 (/.f64 1 x)) |
3 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 0.0ms | x | @ | 0 | (+.f64 1/2 (/.f64 1 x)) |
| 0.0ms | x | @ | -inf | (+.f64 1/2 (/.f64 1 x)) |
| 0.0ms | x | @ | inf | (+.f64 1/2 (/.f64 1 x)) |
| 1× | batch-egg-rewrite |
| 628× | pow1_binary64 |
| 588× | add-log-exp_binary64 |
| 588× | log1p-expm1-u_binary64 |
| 588× | expm1-log1p-u_binary64 |
| 64× | add-sqr-sqrt_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 6 | 7 |
| 1 | 130 | 7 |
| 2 | 1589 | 7 |
| 1× | node limit |
| Inputs |
|---|
(+.f64 1/2 (/.f64 1 x)) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (+.f64 1/2 (/.f64 1 x)))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (/.f64 1/4 (-.f64 1/2 (/.f64 1 x))) (/.f64 (pow.f64 x -2) (-.f64 1/2 (/.f64 1 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (+.f64 1/2 (/.f64 1 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 1/2 (/.f64 1 x)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (+.f64 1/2 (/.f64 1 x))) (cbrt.f64 (pow.f64 (+.f64 1/2 (/.f64 1 x)) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (pow.f64 (+.f64 1/2 (/.f64 1 x)) 2)) (cbrt.f64 (+.f64 1/2 (/.f64 1 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (+.f64 1/2 (/.f64 1 x))) (sqrt.f64 (+.f64 1/2 (/.f64 1 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 1/8 (pow.f64 x -3)) (/.f64 1 (+.f64 1/4 (-.f64 (pow.f64 x -2) (/.f64 1/2 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (-.f64 1/4 (pow.f64 x -2)) (/.f64 1 (-.f64 1/2 (/.f64 1 x))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (+.f64 1/4 (-.f64 (pow.f64 x -2) (/.f64 1/2 x))) (+.f64 1/8 (pow.f64 x -3))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (-.f64 1/2 (/.f64 1 x)) (-.f64 1/4 (pow.f64 x -2))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 1/8 (pow.f64 x -3)) (+.f64 1/4 (-.f64 (pow.f64 x -2) (/.f64 1/2 x))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 1/8 (pow.f64 x -3)) (+.f64 (pow.f64 x -2) (-.f64 1/4 (/.f64 1/2 x))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 1/4 (pow.f64 x -2)) (-.f64 1/2 (/.f64 1 x)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (+.f64 1/8 (pow.f64 x -3))) (neg.f64 (+.f64 1/4 (-.f64 (pow.f64 x -2) (/.f64 1/2 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (-.f64 1/4 (pow.f64 x -2))) (neg.f64 (-.f64 1/2 (/.f64 1 x))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (pow.f64 x -2) 1/4) (-.f64 (/.f64 1 x) 1/2))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (+.f64 1/2 (/.f64 1 x)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (+.f64 1/2 (/.f64 1 x)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (+.f64 1/2 (/.f64 1 x))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (+.f64 1/2 (/.f64 1 x))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (+.f64 1/2 (/.f64 1 x)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (+.f64 1/2 (/.f64 1 x))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (+.f64 1/2 (/.f64 1 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (+.f64 1/2 (/.f64 1 x)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (/.f64 1 x) 1/2)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (pow.f64 x -2)) (/.f64 1 (cbrt.f64 x)) 1/2)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 x -1/2) (pow.f64 x -1/2) 1/2)))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (+.f64 1/2 (/.f64 1 x))))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (+.f64 1/2 (/.f64 1 x))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (+.f64 1/2 (/.f64 1 x)))))))) |
| 1× | egg-herbie |
| 1× | 1-exp_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 5 | 6 |
| 1 | 7 | 6 |
| 1× | saturated |
| Inputs |
|---|
(/.f64 1 x) |
1/2 |
1/2 |
| Outputs |
|---|
(/.f64 1 x) |
1/2 |
1/2 |
3 alts after pruning (2 fresh and 1 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 32 | 1 | 33 |
| Fresh | 0 | 1 | 1 |
| Picked | 1 | 0 | 1 |
| Done | 0 | 1 | 1 |
| Total | 33 | 3 | 36 |
| Status | Error | Program |
|---|---|---|
| 43.8b | (pow.f64 (sqrt.f64 (+.f64 1/2 (/.f64 1 x))) 2) | |
| ▶ | 22.6b | (-.f64 (fma.f64 x 1/12 (/.f64 1 x)) (fma.f64 1/720 (pow.f64 x 3) -1/2)) |
| ✓ | 0.3b | (/.f64 (exp.f64 x) (expm1.f64 x)) |
Compiled 391 to 327 computations (16.4% saved)
Found 3 expressions with local error:
| New | Error | Program |
|---|---|---|
| ✓ | 0.0b | (-.f64 (fma.f64 x 1/12 (/.f64 1 x)) (fma.f64 1/720 (pow.f64 x 3) -1/2)) |
| ✓ | 0.0b | (fma.f64 1/720 (pow.f64 x 3) -1/2) |
| ✓ | 0.1b | (fma.f64 x 1/12 (/.f64 1 x)) |
9 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 1.0ms | x | @ | 0 | (fma.f64 x 1/12 (/.f64 1 x)) |
| 1.0ms | x | @ | -inf | (fma.f64 1/720 (pow.f64 x 3) -1/2) |
| 1.0ms | x | @ | inf | (fma.f64 1/720 (pow.f64 x 3) -1/2) |
| 1.0ms | x | @ | -inf | (fma.f64 x 1/12 (/.f64 1 x)) |
| 0.0ms | x | @ | 0 | (fma.f64 1/720 (pow.f64 x 3) -1/2) |
| 1× | batch-egg-rewrite |
| 509× | prod-diff_binary64 |
| 243× | fma-def_binary64 |
| 209× | expm1-udef_binary64 |
| 209× | log1p-udef_binary64 |
| 136× | fma-neg_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 12 | 34 |
| 1 | 263 | 34 |
| 2 | 3003 | 34 |
| 1× | node limit |
| Inputs |
|---|
(fma.f64 x 1/12 (/.f64 1 x)) |
(fma.f64 1/720 (pow.f64 x 3) -1/2) |
(-.f64 (fma.f64 x 1/12 (/.f64 1 x)) (fma.f64 1/720 (pow.f64 x 3) -1/2)) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x +.f64 (/.f64 1 x) (*.f64 x 1/12))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 x 1/12) (/.f64 1 x))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 (*.f64 x 1/12) 1) (/.f64 1 x))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (fma.f64 x 1/12 (/.f64 1 x)))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (fma.f64 x 1/12 (/.f64 1 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (fma.f64 x 1/12 (/.f64 1 x)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (fma.f64 x 1/12 (/.f64 1 x))) (pow.f64 (cbrt.f64 (fma.f64 x 1/12 (/.f64 1 x))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (fma.f64 x 1/12 (/.f64 1 x))) 2) (cbrt.f64 (fma.f64 x 1/12 (/.f64 1 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (fma.f64 x 1/12 (/.f64 1 x))) (sqrt.f64 (fma.f64 x 1/12 (/.f64 1 x))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 (*.f64 x 1/12) 3) (/.f64 (pow.f64 x -2) x)) (fma.f64 (*.f64 x 1/12) (*.f64 x 1/12) (-.f64 (pow.f64 x -2) (*.f64 (*.f64 x 1/12) (/.f64 1 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (*.f64 (*.f64 x 1/12) (*.f64 x 1/12)) (pow.f64 x -2)) (-.f64 (*.f64 x 1/12) (/.f64 1 x)))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (fma.f64 x 1/12 (/.f64 1 x)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (fma.f64 x 1/12 (/.f64 1 x))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (fma.f64 x 1/12 (/.f64 1 x))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (fma.f64 x 1/12 (/.f64 1 x)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (fma.f64 x 1/12 (/.f64 1 x)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (fma.f64 x 1/12 (/.f64 1 x))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (fma.f64 x 1/12 (/.f64 1 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (fma.f64 x 1/12 (/.f64 1 x)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (fma.f64 x 1/12 (/.f64 1 x))))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (fma.f64 x 1/12 (/.f64 1 x))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (fma.f64 x 1/12 (/.f64 1 x))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (fma.f64 x 1/12 (/.f64 1 x))) 1)))))) |
((#(struct:change #<rule egg-rr> (2) ((x +.f64 -1/2 (*.f64 1/720 (pow.f64 x 3)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 1/720 (pow.f64 x 3)) -1/2)))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 (*.f64 1/720 (pow.f64 x 3)) 1) -1/2)))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (fma.f64 1/720 (pow.f64 x 3) -1/2))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (fma.f64 1/720 (pow.f64 x 3) -1/2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (fma.f64 1/720 (pow.f64 x 3) -1/2) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (fma.f64 1/720 (pow.f64 x 3) -1/2)) (cbrt.f64 (pow.f64 (fma.f64 1/720 (pow.f64 x 3) -1/2) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (pow.f64 (fma.f64 1/720 (pow.f64 x 3) -1/2) 2)) (cbrt.f64 (fma.f64 1/720 (pow.f64 x 3) -1/2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (fma.f64 1/720 (pow.f64 x 3) -1/2)) (sqrt.f64 (fma.f64 1/720 (pow.f64 x 3) -1/2)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 (*.f64 1/720 (pow.f64 x 3)) 3) -1/8) (fma.f64 (*.f64 1/720 (pow.f64 x 3)) (*.f64 1/720 (pow.f64 x 3)) (-.f64 1/4 (*.f64 (*.f64 1/720 (pow.f64 x 3)) -1/2))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (fma.f64 (*.f64 1/720 (pow.f64 x 3)) (*.f64 1/720 (pow.f64 x 3)) -1/4) (fma.f64 1/720 (pow.f64 x 3) 1/2))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (fma.f64 1/720 (pow.f64 x 3) -1/2) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (fma.f64 1/720 (pow.f64 x 3) -1/2)) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (fma.f64 1/720 (pow.f64 x 3) -1/2)) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (fma.f64 1/720 (pow.f64 x 3) -1/2) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (fma.f64 1/720 (pow.f64 x 3) -1/2) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (fma.f64 1/720 (pow.f64 x 3) -1/2)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (fma.f64 1/720 (pow.f64 x 3) -1/2))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (fma.f64 1/720 (pow.f64 x 3) -1/2) 3))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (fma.f64 1/720 (pow.f64 x 3) -1/2)))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (fma.f64 1/720 (pow.f64 x 3) -1/2)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (fma.f64 1/720 (pow.f64 x 3) -1/2)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (fma.f64 1/720 (pow.f64 x 3) -1/2)) 1)))))) |
((#(struct:change #<rule egg-rr> (2) ((x +.f64 (fma.f64 x 1/12 (/.f64 1 x)) (neg.f64 (fma.f64 1/720 (pow.f64 x 3) -1/2)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (fma.f64 x 1/12 (/.f64 1 x)) (*.f64 (neg.f64 (fma.f64 1/720 (pow.f64 x 3) -1/2)) 1))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (-.f64 (fma.f64 x 1/12 (/.f64 1 x)) (fma.f64 1/720 (pow.f64 x 3) -1/2)) (fma.f64 (neg.f64 (fma.f64 1/720 (pow.f64 x 3) -1/2)) 1 (fma.f64 1/720 (pow.f64 x 3) -1/2)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (-.f64 (fma.f64 x 1/12 (/.f64 1 x)) (fma.f64 1/720 (pow.f64 x 3) -1/2)) (fma.f64 (neg.f64 (cbrt.f64 (fma.f64 1/720 (pow.f64 x 3) -1/2))) (cbrt.f64 (pow.f64 (fma.f64 1/720 (pow.f64 x 3) -1/2) 2)) (fma.f64 1/720 (pow.f64 x 3) -1/2)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (-.f64 (fma.f64 x 1/12 (/.f64 1 x)) (fma.f64 1/720 (pow.f64 x 3) -1/2)) (+.f64 (neg.f64 (fma.f64 1/720 (pow.f64 x 3) -1/2)) (fma.f64 1/720 (pow.f64 x 3) -1/2)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (-.f64 (fma.f64 x 1/12 (/.f64 1 x)) (fma.f64 1/720 (pow.f64 x 3) -1/2)) (fma.f64 -1 (fma.f64 1/720 (pow.f64 x 3) -1/2) (fma.f64 1/720 (pow.f64 x 3) -1/2)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (-.f64 (fma.f64 x 1/12 (/.f64 1 x)) (fma.f64 1/720 (pow.f64 x 3) -1/2)) (fma.f64 (neg.f64 (cbrt.f64 (pow.f64 (fma.f64 1/720 (pow.f64 x 3) -1/2) 2))) (cbrt.f64 (fma.f64 1/720 (pow.f64 x 3) -1/2)) (fma.f64 1/720 (pow.f64 x 3) -1/2)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 x 1/12) (-.f64 (/.f64 1 x) (fma.f64 1/720 (pow.f64 x 3) -1/2)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (neg.f64 (fma.f64 1/720 (pow.f64 x 3) -1/2)) (fma.f64 x 1/12 (/.f64 1 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (-.f64 (fma.f64 x 1/12 (/.f64 1 x)) (fma.f64 1/720 (pow.f64 x 3) -1/2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (-.f64 (fma.f64 x 1/12 (/.f64 1 x)) (fma.f64 1/720 (pow.f64 x 3) -1/2)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (-.f64 (fma.f64 x 1/12 (/.f64 1 x)) (fma.f64 1/720 (pow.f64 x 3) -1/2))) (pow.f64 (cbrt.f64 (-.f64 (fma.f64 x 1/12 (/.f64 1 x)) (fma.f64 1/720 (pow.f64 x 3) -1/2))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (-.f64 (fma.f64 x 1/12 (/.f64 1 x)) (fma.f64 1/720 (pow.f64 x 3) -1/2))) 2) (cbrt.f64 (-.f64 (fma.f64 x 1/12 (/.f64 1 x)) (fma.f64 1/720 (pow.f64 x 3) -1/2))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (-.f64 (fma.f64 x 1/12 (/.f64 1 x)) (fma.f64 1/720 (pow.f64 x 3) -1/2))) (sqrt.f64 (-.f64 (fma.f64 x 1/12 (/.f64 1 x)) (fma.f64 1/720 (pow.f64 x 3) -1/2))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (-.f64 (pow.f64 (fma.f64 x 1/12 (/.f64 1 x)) 3) (pow.f64 (fma.f64 1/720 (pow.f64 x 3) -1/2) 3)) (/.f64 1 (fma.f64 (fma.f64 1/720 (pow.f64 x 3) -1/2) (+.f64 (fma.f64 x 1/12 (/.f64 1 x)) (fma.f64 1/720 (pow.f64 x 3) -1/2)) (pow.f64 (fma.f64 x 1/12 (/.f64 1 x)) 2))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (-.f64 (pow.f64 (fma.f64 x 1/12 (/.f64 1 x)) 2) (pow.f64 (fma.f64 1/720 (pow.f64 x 3) -1/2) 2)) (/.f64 1 (+.f64 (fma.f64 x 1/12 (/.f64 1 x)) (fma.f64 1/720 (pow.f64 x 3) -1/2))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 (sqrt.f64 (fma.f64 x 1/12 (/.f64 1 x))) (sqrt.f64 (fma.f64 1/720 (pow.f64 x 3) -1/2))) (-.f64 (sqrt.f64 (fma.f64 x 1/12 (/.f64 1 x))) (sqrt.f64 (fma.f64 1/720 (pow.f64 x 3) -1/2))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (fma.f64 (fma.f64 1/720 (pow.f64 x 3) -1/2) (+.f64 (fma.f64 x 1/12 (/.f64 1 x)) (fma.f64 1/720 (pow.f64 x 3) -1/2)) (pow.f64 (fma.f64 x 1/12 (/.f64 1 x)) 2)) (-.f64 (pow.f64 (fma.f64 x 1/12 (/.f64 1 x)) 3) (pow.f64 (fma.f64 1/720 (pow.f64 x 3) -1/2) 3))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (+.f64 (fma.f64 x 1/12 (/.f64 1 x)) (fma.f64 1/720 (pow.f64 x 3) -1/2)) (-.f64 (pow.f64 (fma.f64 x 1/12 (/.f64 1 x)) 2) (pow.f64 (fma.f64 1/720 (pow.f64 x 3) -1/2) 2))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (pow.f64 (fma.f64 x 1/12 (/.f64 1 x)) 3) (pow.f64 (fma.f64 1/720 (pow.f64 x 3) -1/2) 3)) (fma.f64 (fma.f64 1/720 (pow.f64 x 3) -1/2) (+.f64 (fma.f64 x 1/12 (/.f64 1 x)) (fma.f64 1/720 (pow.f64 x 3) -1/2)) (pow.f64 (fma.f64 x 1/12 (/.f64 1 x)) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (pow.f64 (fma.f64 x 1/12 (/.f64 1 x)) 2) (pow.f64 (fma.f64 1/720 (pow.f64 x 3) -1/2) 2)) (+.f64 (fma.f64 x 1/12 (/.f64 1 x)) (fma.f64 1/720 (pow.f64 x 3) -1/2)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (-.f64 (pow.f64 (fma.f64 x 1/12 (/.f64 1 x)) 3) (pow.f64 (fma.f64 1/720 (pow.f64 x 3) -1/2) 3))) (neg.f64 (fma.f64 (fma.f64 1/720 (pow.f64 x 3) -1/2) (+.f64 (fma.f64 x 1/12 (/.f64 1 x)) (fma.f64 1/720 (pow.f64 x 3) -1/2)) (pow.f64 (fma.f64 x 1/12 (/.f64 1 x)) 2))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (-.f64 (pow.f64 (fma.f64 x 1/12 (/.f64 1 x)) 2) (pow.f64 (fma.f64 1/720 (pow.f64 x 3) -1/2) 2))) (neg.f64 (+.f64 (fma.f64 x 1/12 (/.f64 1 x)) (fma.f64 1/720 (pow.f64 x 3) -1/2))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 (fma.f64 x 1/12 (/.f64 1 x)) 3) (pow.f64 (neg.f64 (fma.f64 1/720 (pow.f64 x 3) -1/2)) 3)) (+.f64 (pow.f64 (fma.f64 x 1/12 (/.f64 1 x)) 2) (-.f64 (*.f64 (neg.f64 (fma.f64 1/720 (pow.f64 x 3) -1/2)) (neg.f64 (fma.f64 1/720 (pow.f64 x 3) -1/2))) (*.f64 (fma.f64 x 1/12 (/.f64 1 x)) (neg.f64 (fma.f64 1/720 (pow.f64 x 3) -1/2))))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (pow.f64 (fma.f64 x 1/12 (/.f64 1 x)) 2) (*.f64 (neg.f64 (fma.f64 1/720 (pow.f64 x 3) -1/2)) (neg.f64 (fma.f64 1/720 (pow.f64 x 3) -1/2)))) (-.f64 (fma.f64 x 1/12 (/.f64 1 x)) (neg.f64 (fma.f64 1/720 (pow.f64 x 3) -1/2))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (-.f64 (fma.f64 x 1/12 (/.f64 1 x)) (fma.f64 1/720 (pow.f64 x 3) -1/2)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (-.f64 (fma.f64 x 1/12 (/.f64 1 x)) (fma.f64 1/720 (pow.f64 x 3) -1/2)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (-.f64 (fma.f64 x 1/12 (/.f64 1 x)) (fma.f64 1/720 (pow.f64 x 3) -1/2))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (-.f64 (fma.f64 x 1/12 (/.f64 1 x)) (fma.f64 1/720 (pow.f64 x 3) -1/2))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (-.f64 (fma.f64 x 1/12 (/.f64 1 x)) (fma.f64 1/720 (pow.f64 x 3) -1/2)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (-.f64 (fma.f64 x 1/12 (/.f64 1 x)) (fma.f64 1/720 (pow.f64 x 3) -1/2))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (-.f64 (fma.f64 x 1/12 (/.f64 1 x)) (fma.f64 1/720 (pow.f64 x 3) -1/2)))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (-.f64 (fma.f64 x 1/12 (/.f64 1 x)) (fma.f64 1/720 (pow.f64 x 3) -1/2)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 x 1/12 (-.f64 (/.f64 1 x) (fma.f64 1/720 (pow.f64 x 3) -1/2)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1/12 x (-.f64 (/.f64 1 x) (fma.f64 1/720 (pow.f64 x 3) -1/2)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (fma.f64 x 1/12 (/.f64 1 x)) (neg.f64 (fma.f64 1/720 (pow.f64 x 3) -1/2)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (fma.f64 x 1/12 (/.f64 1 x)) (*.f64 (neg.f64 (fma.f64 1/720 (pow.f64 x 3) -1/2)) 1))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (-.f64 (fma.f64 x 1/12 (/.f64 1 x)) (fma.f64 1/720 (pow.f64 x 3) -1/2)) (fma.f64 (neg.f64 (fma.f64 1/720 (pow.f64 x 3) -1/2)) 1 (fma.f64 1/720 (pow.f64 x 3) -1/2)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (-.f64 (fma.f64 x 1/12 (/.f64 1 x)) (fma.f64 1/720 (pow.f64 x 3) -1/2)) (fma.f64 (neg.f64 (cbrt.f64 (fma.f64 1/720 (pow.f64 x 3) -1/2))) (cbrt.f64 (pow.f64 (fma.f64 1/720 (pow.f64 x 3) -1/2) 2)) (fma.f64 1/720 (pow.f64 x 3) -1/2)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (-.f64 (fma.f64 x 1/12 (/.f64 1 x)) (fma.f64 1/720 (pow.f64 x 3) -1/2)) (+.f64 (neg.f64 (fma.f64 1/720 (pow.f64 x 3) -1/2)) (fma.f64 1/720 (pow.f64 x 3) -1/2)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (*.f64 x 1/12) (-.f64 (/.f64 1 x) (fma.f64 1/720 (pow.f64 x 3) -1/2)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (neg.f64 (fma.f64 1/720 (pow.f64 x 3) -1/2)) (fma.f64 x 1/12 (/.f64 1 x)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (fma.f64 x 1/12 (/.f64 1 x)) 1 (neg.f64 (fma.f64 1/720 (pow.f64 x 3) -1/2)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (fma.f64 x 1/12 (/.f64 1 x)) 1 (*.f64 (neg.f64 (fma.f64 1/720 (pow.f64 x 3) -1/2)) 1))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (-.f64 (fma.f64 x 1/12 (/.f64 1 x)) (fma.f64 1/720 (pow.f64 x 3) -1/2)) 1 (fma.f64 (neg.f64 (fma.f64 1/720 (pow.f64 x 3) -1/2)) 1 (fma.f64 1/720 (pow.f64 x 3) -1/2)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (-.f64 (fma.f64 x 1/12 (/.f64 1 x)) (fma.f64 1/720 (pow.f64 x 3) -1/2)) 1 (fma.f64 (neg.f64 (cbrt.f64 (fma.f64 1/720 (pow.f64 x 3) -1/2))) (cbrt.f64 (pow.f64 (fma.f64 1/720 (pow.f64 x 3) -1/2) 2)) (fma.f64 1/720 (pow.f64 x 3) -1/2)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (-.f64 (fma.f64 x 1/12 (/.f64 1 x)) (fma.f64 1/720 (pow.f64 x 3) -1/2)) 1 (+.f64 (neg.f64 (fma.f64 1/720 (pow.f64 x 3) -1/2)) (fma.f64 1/720 (pow.f64 x 3) -1/2)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (pow.f64 (fma.f64 1/720 (pow.f64 x 3) -1/2) 2)) (neg.f64 (cbrt.f64 (fma.f64 1/720 (pow.f64 x 3) -1/2))) (fma.f64 x 1/12 (/.f64 1 x)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 x) 2) (*.f64 (cbrt.f64 x) 1/12) (-.f64 (/.f64 1 x) (fma.f64 1/720 (pow.f64 x 3) -1/2)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (-.f64 (fma.f64 x 1/12 (/.f64 1 x)) (fma.f64 1/720 (pow.f64 x 3) -1/2))) (pow.f64 (cbrt.f64 (-.f64 (fma.f64 x 1/12 (/.f64 1 x)) (fma.f64 1/720 (pow.f64 x 3) -1/2))) 2) (fma.f64 (neg.f64 (fma.f64 1/720 (pow.f64 x 3) -1/2)) 1 (fma.f64 1/720 (pow.f64 x 3) -1/2)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (-.f64 (fma.f64 x 1/12 (/.f64 1 x)) (fma.f64 1/720 (pow.f64 x 3) -1/2))) (pow.f64 (cbrt.f64 (-.f64 (fma.f64 x 1/12 (/.f64 1 x)) (fma.f64 1/720 (pow.f64 x 3) -1/2))) 2) (fma.f64 (neg.f64 (cbrt.f64 (fma.f64 1/720 (pow.f64 x 3) -1/2))) (cbrt.f64 (pow.f64 (fma.f64 1/720 (pow.f64 x 3) -1/2) 2)) (fma.f64 1/720 (pow.f64 x 3) -1/2)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (-.f64 (fma.f64 x 1/12 (/.f64 1 x)) (fma.f64 1/720 (pow.f64 x 3) -1/2))) (pow.f64 (cbrt.f64 (-.f64 (fma.f64 x 1/12 (/.f64 1 x)) (fma.f64 1/720 (pow.f64 x 3) -1/2))) 2) (+.f64 (neg.f64 (fma.f64 1/720 (pow.f64 x 3) -1/2)) (fma.f64 1/720 (pow.f64 x 3) -1/2)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 (-.f64 (fma.f64 x 1/12 (/.f64 1 x)) (fma.f64 1/720 (pow.f64 x 3) -1/2))) 2) (cbrt.f64 (-.f64 (fma.f64 x 1/12 (/.f64 1 x)) (fma.f64 1/720 (pow.f64 x 3) -1/2))) (fma.f64 (neg.f64 (fma.f64 1/720 (pow.f64 x 3) -1/2)) 1 (fma.f64 1/720 (pow.f64 x 3) -1/2)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 (-.f64 (fma.f64 x 1/12 (/.f64 1 x)) (fma.f64 1/720 (pow.f64 x 3) -1/2))) 2) (cbrt.f64 (-.f64 (fma.f64 x 1/12 (/.f64 1 x)) (fma.f64 1/720 (pow.f64 x 3) -1/2))) (fma.f64 (neg.f64 (cbrt.f64 (fma.f64 1/720 (pow.f64 x 3) -1/2))) (cbrt.f64 (pow.f64 (fma.f64 1/720 (pow.f64 x 3) -1/2) 2)) (fma.f64 1/720 (pow.f64 x 3) -1/2)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 (-.f64 (fma.f64 x 1/12 (/.f64 1 x)) (fma.f64 1/720 (pow.f64 x 3) -1/2))) 2) (cbrt.f64 (-.f64 (fma.f64 x 1/12 (/.f64 1 x)) (fma.f64 1/720 (pow.f64 x 3) -1/2))) (+.f64 (neg.f64 (fma.f64 1/720 (pow.f64 x 3) -1/2)) (fma.f64 1/720 (pow.f64 x 3) -1/2)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (fma.f64 x 1/12 (/.f64 1 x))) (pow.f64 (cbrt.f64 (fma.f64 x 1/12 (/.f64 1 x))) 2) (neg.f64 (fma.f64 1/720 (pow.f64 x 3) -1/2)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (fma.f64 x 1/12 (/.f64 1 x))) (pow.f64 (cbrt.f64 (fma.f64 x 1/12 (/.f64 1 x))) 2) (*.f64 (neg.f64 (fma.f64 1/720 (pow.f64 x 3) -1/2)) 1))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 (fma.f64 x 1/12 (/.f64 1 x))) 2) (cbrt.f64 (fma.f64 x 1/12 (/.f64 1 x))) (neg.f64 (fma.f64 1/720 (pow.f64 x 3) -1/2)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 (fma.f64 x 1/12 (/.f64 1 x))) 2) (cbrt.f64 (fma.f64 x 1/12 (/.f64 1 x))) (*.f64 (neg.f64 (fma.f64 1/720 (pow.f64 x 3) -1/2)) 1))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 (fma.f64 1/720 (pow.f64 x 3) -1/2)) (neg.f64 (sqrt.f64 (fma.f64 1/720 (pow.f64 x 3) -1/2))) (fma.f64 x 1/12 (/.f64 1 x)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 x) (*.f64 (sqrt.f64 x) 1/12) (-.f64 (/.f64 1 x) (fma.f64 1/720 (pow.f64 x 3) -1/2)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 (-.f64 (fma.f64 x 1/12 (/.f64 1 x)) (fma.f64 1/720 (pow.f64 x 3) -1/2))) (sqrt.f64 (-.f64 (fma.f64 x 1/12 (/.f64 1 x)) (fma.f64 1/720 (pow.f64 x 3) -1/2))) (fma.f64 (neg.f64 (fma.f64 1/720 (pow.f64 x 3) -1/2)) 1 (fma.f64 1/720 (pow.f64 x 3) -1/2)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 (-.f64 (fma.f64 x 1/12 (/.f64 1 x)) (fma.f64 1/720 (pow.f64 x 3) -1/2))) (sqrt.f64 (-.f64 (fma.f64 x 1/12 (/.f64 1 x)) (fma.f64 1/720 (pow.f64 x 3) -1/2))) (fma.f64 (neg.f64 (cbrt.f64 (fma.f64 1/720 (pow.f64 x 3) -1/2))) (cbrt.f64 (pow.f64 (fma.f64 1/720 (pow.f64 x 3) -1/2) 2)) (fma.f64 1/720 (pow.f64 x 3) -1/2)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 (-.f64 (fma.f64 x 1/12 (/.f64 1 x)) (fma.f64 1/720 (pow.f64 x 3) -1/2))) (sqrt.f64 (-.f64 (fma.f64 x 1/12 (/.f64 1 x)) (fma.f64 1/720 (pow.f64 x 3) -1/2))) (+.f64 (neg.f64 (fma.f64 1/720 (pow.f64 x 3) -1/2)) (fma.f64 1/720 (pow.f64 x 3) -1/2)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 (fma.f64 x 1/12 (/.f64 1 x))) (sqrt.f64 (fma.f64 x 1/12 (/.f64 1 x))) (neg.f64 (fma.f64 1/720 (pow.f64 x 3) -1/2)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 (fma.f64 x 1/12 (/.f64 1 x))) (sqrt.f64 (fma.f64 x 1/12 (/.f64 1 x))) (*.f64 (neg.f64 (fma.f64 1/720 (pow.f64 x 3) -1/2)) 1))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 -1 (fma.f64 1/720 (pow.f64 x 3) -1/2) (fma.f64 x 1/12 (/.f64 1 x)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (-.f64 (pow.f64 (fma.f64 x 1/12 (/.f64 1 x)) 3) (pow.f64 (fma.f64 1/720 (pow.f64 x 3) -1/2) 3)) (/.f64 1 (fma.f64 (fma.f64 1/720 (pow.f64 x 3) -1/2) (+.f64 (fma.f64 x 1/12 (/.f64 1 x)) (fma.f64 1/720 (pow.f64 x 3) -1/2)) (pow.f64 (fma.f64 x 1/12 (/.f64 1 x)) 2))) (fma.f64 (neg.f64 (fma.f64 1/720 (pow.f64 x 3) -1/2)) 1 (fma.f64 1/720 (pow.f64 x 3) -1/2)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (-.f64 (pow.f64 (fma.f64 x 1/12 (/.f64 1 x)) 3) (pow.f64 (fma.f64 1/720 (pow.f64 x 3) -1/2) 3)) (/.f64 1 (fma.f64 (fma.f64 1/720 (pow.f64 x 3) -1/2) (+.f64 (fma.f64 x 1/12 (/.f64 1 x)) (fma.f64 1/720 (pow.f64 x 3) -1/2)) (pow.f64 (fma.f64 x 1/12 (/.f64 1 x)) 2))) (fma.f64 (neg.f64 (cbrt.f64 (fma.f64 1/720 (pow.f64 x 3) -1/2))) (cbrt.f64 (pow.f64 (fma.f64 1/720 (pow.f64 x 3) -1/2) 2)) (fma.f64 1/720 (pow.f64 x 3) -1/2)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (-.f64 (pow.f64 (fma.f64 x 1/12 (/.f64 1 x)) 3) (pow.f64 (fma.f64 1/720 (pow.f64 x 3) -1/2) 3)) (/.f64 1 (fma.f64 (fma.f64 1/720 (pow.f64 x 3) -1/2) (+.f64 (fma.f64 x 1/12 (/.f64 1 x)) (fma.f64 1/720 (pow.f64 x 3) -1/2)) (pow.f64 (fma.f64 x 1/12 (/.f64 1 x)) 2))) (+.f64 (neg.f64 (fma.f64 1/720 (pow.f64 x 3) -1/2)) (fma.f64 1/720 (pow.f64 x 3) -1/2)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (-.f64 (pow.f64 (fma.f64 x 1/12 (/.f64 1 x)) 2) (pow.f64 (fma.f64 1/720 (pow.f64 x 3) -1/2) 2)) (/.f64 1 (+.f64 (fma.f64 x 1/12 (/.f64 1 x)) (fma.f64 1/720 (pow.f64 x 3) -1/2))) (fma.f64 (neg.f64 (fma.f64 1/720 (pow.f64 x 3) -1/2)) 1 (fma.f64 1/720 (pow.f64 x 3) -1/2)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (-.f64 (pow.f64 (fma.f64 x 1/12 (/.f64 1 x)) 2) (pow.f64 (fma.f64 1/720 (pow.f64 x 3) -1/2) 2)) (/.f64 1 (+.f64 (fma.f64 x 1/12 (/.f64 1 x)) (fma.f64 1/720 (pow.f64 x 3) -1/2))) (fma.f64 (neg.f64 (cbrt.f64 (fma.f64 1/720 (pow.f64 x 3) -1/2))) (cbrt.f64 (pow.f64 (fma.f64 1/720 (pow.f64 x 3) -1/2) 2)) (fma.f64 1/720 (pow.f64 x 3) -1/2)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (-.f64 (pow.f64 (fma.f64 x 1/12 (/.f64 1 x)) 2) (pow.f64 (fma.f64 1/720 (pow.f64 x 3) -1/2) 2)) (/.f64 1 (+.f64 (fma.f64 x 1/12 (/.f64 1 x)) (fma.f64 1/720 (pow.f64 x 3) -1/2))) (+.f64 (neg.f64 (fma.f64 1/720 (pow.f64 x 3) -1/2)) (fma.f64 1/720 (pow.f64 x 3) -1/2)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 (cbrt.f64 (*.f64 x 1/12)) (cbrt.f64 (*.f64 x 1/12))) (cbrt.f64 (*.f64 x 1/12)) (-.f64 (/.f64 1 x) (fma.f64 1/720 (pow.f64 x 3) -1/2)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 (cbrt.f64 (neg.f64 (fma.f64 1/720 (pow.f64 x 3) -1/2))) (cbrt.f64 (neg.f64 (fma.f64 1/720 (pow.f64 x 3) -1/2)))) (cbrt.f64 (neg.f64 (fma.f64 1/720 (pow.f64 x 3) -1/2))) (fma.f64 x 1/12 (/.f64 1 x)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 (*.f64 x 1/12)) (sqrt.f64 (*.f64 x 1/12)) (-.f64 (/.f64 1 x) (fma.f64 1/720 (pow.f64 x 3) -1/2)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 (neg.f64 (fma.f64 1/720 (pow.f64 x 3) -1/2))) (sqrt.f64 (neg.f64 (fma.f64 1/720 (pow.f64 x 3) -1/2))) (fma.f64 x 1/12 (/.f64 1 x)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (neg.f64 (sqrt.f64 (fma.f64 1/720 (pow.f64 x 3) -1/2))) (sqrt.f64 (fma.f64 1/720 (pow.f64 x 3) -1/2)) (fma.f64 x 1/12 (/.f64 1 x)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (+.f64 (sqrt.f64 (fma.f64 x 1/12 (/.f64 1 x))) (sqrt.f64 (fma.f64 1/720 (pow.f64 x 3) -1/2))) (-.f64 (sqrt.f64 (fma.f64 x 1/12 (/.f64 1 x))) (sqrt.f64 (fma.f64 1/720 (pow.f64 x 3) -1/2))) (fma.f64 (neg.f64 (fma.f64 1/720 (pow.f64 x 3) -1/2)) 1 (fma.f64 1/720 (pow.f64 x 3) -1/2)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (+.f64 (sqrt.f64 (fma.f64 x 1/12 (/.f64 1 x))) (sqrt.f64 (fma.f64 1/720 (pow.f64 x 3) -1/2))) (-.f64 (sqrt.f64 (fma.f64 x 1/12 (/.f64 1 x))) (sqrt.f64 (fma.f64 1/720 (pow.f64 x 3) -1/2))) (fma.f64 (neg.f64 (cbrt.f64 (fma.f64 1/720 (pow.f64 x 3) -1/2))) (cbrt.f64 (pow.f64 (fma.f64 1/720 (pow.f64 x 3) -1/2) 2)) (fma.f64 1/720 (pow.f64 x 3) -1/2)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (+.f64 (sqrt.f64 (fma.f64 x 1/12 (/.f64 1 x))) (sqrt.f64 (fma.f64 1/720 (pow.f64 x 3) -1/2))) (-.f64 (sqrt.f64 (fma.f64 x 1/12 (/.f64 1 x))) (sqrt.f64 (fma.f64 1/720 (pow.f64 x 3) -1/2))) (+.f64 (neg.f64 (fma.f64 1/720 (pow.f64 x 3) -1/2)) (fma.f64 1/720 (pow.f64 x 3) -1/2)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (neg.f64 (cbrt.f64 (pow.f64 (fma.f64 1/720 (pow.f64 x 3) -1/2) 2))) (cbrt.f64 (fma.f64 1/720 (pow.f64 x 3) -1/2)) (fma.f64 x 1/12 (/.f64 1 x)))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (-.f64 (fma.f64 x 1/12 (/.f64 1 x)) (fma.f64 1/720 (pow.f64 x 3) -1/2))))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (-.f64 (fma.f64 x 1/12 (/.f64 1 x)) (fma.f64 1/720 (pow.f64 x 3) -1/2))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (-.f64 (fma.f64 x 1/12 (/.f64 1 x)) (fma.f64 1/720 (pow.f64 x 3) -1/2))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (-.f64 (fma.f64 x 1/12 (/.f64 1 x)) (fma.f64 1/720 (pow.f64 x 3) -1/2))) 1)))))) |
| 1× | egg-herbie |
| 1114× | fma-neg_binary64 |
| 449× | fma-def_binary64 |
| 329× | cancel-sign-sub-inv_binary64 |
| 235× | associate-*l*_binary64 |
| 208× | unswap-sqr_binary64 |
Useful iterations: 2 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 22 | 351 |
| 1 | 55 | 317 |
| 2 | 123 | 307 |
| 3 | 378 | 307 |
| 4 | 948 | 307 |
| 5 | 2015 | 307 |
| 6 | 3228 | 307 |
| 7 | 4915 | 307 |
| 1× | node limit |
| Inputs |
|---|
(/.f64 1 x) |
(+.f64 (/.f64 1 x) (*.f64 1/12 x)) |
(+.f64 (/.f64 1 x) (*.f64 1/12 x)) |
(+.f64 (/.f64 1 x) (*.f64 1/12 x)) |
(*.f64 1/12 x) |
(+.f64 (/.f64 1 x) (*.f64 1/12 x)) |
(+.f64 (/.f64 1 x) (*.f64 1/12 x)) |
(+.f64 (/.f64 1 x) (*.f64 1/12 x)) |
(*.f64 1/12 x) |
(+.f64 (/.f64 1 x) (*.f64 1/12 x)) |
(+.f64 (/.f64 1 x) (*.f64 1/12 x)) |
(+.f64 (/.f64 1 x) (*.f64 1/12 x)) |
-1/2 |
(-.f64 (*.f64 1/720 (pow.f64 x 3)) 1/2) |
(-.f64 (*.f64 1/720 (pow.f64 x 3)) 1/2) |
(-.f64 (*.f64 1/720 (pow.f64 x 3)) 1/2) |
(*.f64 1/720 (pow.f64 x 3)) |
(-.f64 (*.f64 1/720 (pow.f64 x 3)) 1/2) |
(-.f64 (*.f64 1/720 (pow.f64 x 3)) 1/2) |
(-.f64 (*.f64 1/720 (pow.f64 x 3)) 1/2) |
(*.f64 1/720 (pow.f64 x 3)) |
(-.f64 (*.f64 1/720 (pow.f64 x 3)) 1/2) |
(-.f64 (*.f64 1/720 (pow.f64 x 3)) 1/2) |
(-.f64 (*.f64 1/720 (pow.f64 x 3)) 1/2) |
(/.f64 1 x) |
(+.f64 1/2 (/.f64 1 x)) |
(+.f64 1/2 (+.f64 (/.f64 1 x) (*.f64 1/12 x))) |
(-.f64 (+.f64 1/2 (+.f64 (/.f64 1 x) (*.f64 1/12 x))) (*.f64 1/720 (pow.f64 x 3))) |
(*.f64 -1/720 (pow.f64 x 3)) |
(-.f64 (*.f64 1/12 x) (*.f64 1/720 (pow.f64 x 3))) |
(-.f64 (+.f64 1/2 (*.f64 1/12 x)) (*.f64 1/720 (pow.f64 x 3))) |
(-.f64 (+.f64 1/2 (+.f64 (/.f64 1 x) (*.f64 1/12 x))) (*.f64 1/720 (pow.f64 x 3))) |
(*.f64 -1/720 (pow.f64 x 3)) |
(-.f64 (*.f64 1/12 x) (*.f64 1/720 (pow.f64 x 3))) |
(-.f64 (+.f64 1/2 (*.f64 1/12 x)) (*.f64 1/720 (pow.f64 x 3))) |
(-.f64 (+.f64 1/2 (+.f64 (/.f64 1 x) (*.f64 1/12 x))) (*.f64 1/720 (pow.f64 x 3))) |
| Outputs |
|---|
(/.f64 1 x) |
(+.f64 (/.f64 1 x) (*.f64 1/12 x)) |
(+.f64 (/.f64 1 x) (*.f64 x 1/12)) |
(fma.f64 x 1/12 (/.f64 1 x)) |
(+.f64 (/.f64 1 x) (*.f64 1/12 x)) |
(+.f64 (/.f64 1 x) (*.f64 x 1/12)) |
(fma.f64 x 1/12 (/.f64 1 x)) |
(+.f64 (/.f64 1 x) (*.f64 1/12 x)) |
(+.f64 (/.f64 1 x) (*.f64 x 1/12)) |
(fma.f64 x 1/12 (/.f64 1 x)) |
(*.f64 1/12 x) |
(*.f64 x 1/12) |
(+.f64 (/.f64 1 x) (*.f64 1/12 x)) |
(+.f64 (/.f64 1 x) (*.f64 x 1/12)) |
(fma.f64 x 1/12 (/.f64 1 x)) |
(+.f64 (/.f64 1 x) (*.f64 1/12 x)) |
(+.f64 (/.f64 1 x) (*.f64 x 1/12)) |
(fma.f64 x 1/12 (/.f64 1 x)) |
(+.f64 (/.f64 1 x) (*.f64 1/12 x)) |
(+.f64 (/.f64 1 x) (*.f64 x 1/12)) |
(fma.f64 x 1/12 (/.f64 1 x)) |
(*.f64 1/12 x) |
(*.f64 x 1/12) |
(+.f64 (/.f64 1 x) (*.f64 1/12 x)) |
(+.f64 (/.f64 1 x) (*.f64 x 1/12)) |
(fma.f64 x 1/12 (/.f64 1 x)) |
(+.f64 (/.f64 1 x) (*.f64 1/12 x)) |
(+.f64 (/.f64 1 x) (*.f64 x 1/12)) |
(fma.f64 x 1/12 (/.f64 1 x)) |
(+.f64 (/.f64 1 x) (*.f64 1/12 x)) |
(+.f64 (/.f64 1 x) (*.f64 x 1/12)) |
(fma.f64 x 1/12 (/.f64 1 x)) |
-1/2 |
(-.f64 (*.f64 1/720 (pow.f64 x 3)) 1/2) |
(fma.f64 1/720 (pow.f64 x 3) -1/2) |
(-.f64 (*.f64 1/720 (pow.f64 x 3)) 1/2) |
(fma.f64 1/720 (pow.f64 x 3) -1/2) |
(-.f64 (*.f64 1/720 (pow.f64 x 3)) 1/2) |
(fma.f64 1/720 (pow.f64 x 3) -1/2) |
(*.f64 1/720 (pow.f64 x 3)) |
(-.f64 (*.f64 1/720 (pow.f64 x 3)) 1/2) |
(fma.f64 1/720 (pow.f64 x 3) -1/2) |
(-.f64 (*.f64 1/720 (pow.f64 x 3)) 1/2) |
(fma.f64 1/720 (pow.f64 x 3) -1/2) |
(-.f64 (*.f64 1/720 (pow.f64 x 3)) 1/2) |
(fma.f64 1/720 (pow.f64 x 3) -1/2) |
(*.f64 1/720 (pow.f64 x 3)) |
(-.f64 (*.f64 1/720 (pow.f64 x 3)) 1/2) |
(fma.f64 1/720 (pow.f64 x 3) -1/2) |
(-.f64 (*.f64 1/720 (pow.f64 x 3)) 1/2) |
(fma.f64 1/720 (pow.f64 x 3) -1/2) |
(-.f64 (*.f64 1/720 (pow.f64 x 3)) 1/2) |
(fma.f64 1/720 (pow.f64 x 3) -1/2) |
(/.f64 1 x) |
(+.f64 1/2 (/.f64 1 x)) |
(+.f64 (/.f64 1 x) 1/2) |
(+.f64 1/2 (+.f64 (/.f64 1 x) (*.f64 1/12 x))) |
(+.f64 (+.f64 (/.f64 1 x) 1/2) (*.f64 x 1/12)) |
(+.f64 (/.f64 1 x) (fma.f64 x 1/12 1/2)) |
(-.f64 (+.f64 1/2 (+.f64 (/.f64 1 x) (*.f64 1/12 x))) (*.f64 1/720 (pow.f64 x 3))) |
(+.f64 1/2 (-.f64 (+.f64 (/.f64 1 x) (*.f64 x 1/12)) (*.f64 1/720 (pow.f64 x 3)))) |
(+.f64 (+.f64 (/.f64 1 x) (fma.f64 x 1/12 1/2)) (*.f64 (pow.f64 x 3) -1/720)) |
(-.f64 (fma.f64 x 1/12 (/.f64 1 x)) (fma.f64 1/720 (pow.f64 x 3) -1/2)) |
(+.f64 (/.f64 1 x) (fma.f64 x 1/12 (fma.f64 (pow.f64 x 3) -1/720 1/2))) |
(+.f64 (/.f64 1 x) (fma.f64 x (fma.f64 -1/720 (*.f64 x x) 1/12) 1/2)) |
(*.f64 -1/720 (pow.f64 x 3)) |
(*.f64 (pow.f64 x 3) -1/720) |
(-.f64 (*.f64 1/12 x) (*.f64 1/720 (pow.f64 x 3))) |
(+.f64 (*.f64 x 1/12) (*.f64 (pow.f64 x 3) -1/720)) |
(fma.f64 x 1/12 (*.f64 (pow.f64 x 3) -1/720)) |
(fma.f64 (pow.f64 x 3) -1/720 (*.f64 x 1/12)) |
(*.f64 x (fma.f64 -1/720 (*.f64 x x) 1/12)) |
(-.f64 (+.f64 1/2 (*.f64 1/12 x)) (*.f64 1/720 (pow.f64 x 3))) |
(+.f64 1/2 (+.f64 (*.f64 x 1/12) (*.f64 (pow.f64 x 3) -1/720))) |
(-.f64 (fma.f64 x 1/12 1/2) (*.f64 1/720 (pow.f64 x 3))) |
(fma.f64 (pow.f64 x 3) -1/720 (fma.f64 x 1/12 1/2)) |
(fma.f64 x 1/12 (fma.f64 (pow.f64 x 3) -1/720 1/2)) |
(fma.f64 x (fma.f64 -1/720 (*.f64 x x) 1/12) 1/2) |
(-.f64 (+.f64 1/2 (+.f64 (/.f64 1 x) (*.f64 1/12 x))) (*.f64 1/720 (pow.f64 x 3))) |
(+.f64 1/2 (-.f64 (+.f64 (/.f64 1 x) (*.f64 x 1/12)) (*.f64 1/720 (pow.f64 x 3)))) |
(+.f64 (+.f64 (/.f64 1 x) (fma.f64 x 1/12 1/2)) (*.f64 (pow.f64 x 3) -1/720)) |
(-.f64 (fma.f64 x 1/12 (/.f64 1 x)) (fma.f64 1/720 (pow.f64 x 3) -1/2)) |
(+.f64 (/.f64 1 x) (fma.f64 x 1/12 (fma.f64 (pow.f64 x 3) -1/720 1/2))) |
(+.f64 (/.f64 1 x) (fma.f64 x (fma.f64 -1/720 (*.f64 x x) 1/12) 1/2)) |
(*.f64 -1/720 (pow.f64 x 3)) |
(*.f64 (pow.f64 x 3) -1/720) |
(-.f64 (*.f64 1/12 x) (*.f64 1/720 (pow.f64 x 3))) |
(+.f64 (*.f64 x 1/12) (*.f64 (pow.f64 x 3) -1/720)) |
(fma.f64 x 1/12 (*.f64 (pow.f64 x 3) -1/720)) |
(fma.f64 (pow.f64 x 3) -1/720 (*.f64 x 1/12)) |
(*.f64 x (fma.f64 -1/720 (*.f64 x x) 1/12)) |
(-.f64 (+.f64 1/2 (*.f64 1/12 x)) (*.f64 1/720 (pow.f64 x 3))) |
(+.f64 1/2 (+.f64 (*.f64 x 1/12) (*.f64 (pow.f64 x 3) -1/720))) |
(-.f64 (fma.f64 x 1/12 1/2) (*.f64 1/720 (pow.f64 x 3))) |
(fma.f64 (pow.f64 x 3) -1/720 (fma.f64 x 1/12 1/2)) |
(fma.f64 x 1/12 (fma.f64 (pow.f64 x 3) -1/720 1/2)) |
(fma.f64 x (fma.f64 -1/720 (*.f64 x x) 1/12) 1/2) |
(-.f64 (+.f64 1/2 (+.f64 (/.f64 1 x) (*.f64 1/12 x))) (*.f64 1/720 (pow.f64 x 3))) |
(+.f64 1/2 (-.f64 (+.f64 (/.f64 1 x) (*.f64 x 1/12)) (*.f64 1/720 (pow.f64 x 3)))) |
(+.f64 (+.f64 (/.f64 1 x) (fma.f64 x 1/12 1/2)) (*.f64 (pow.f64 x 3) -1/720)) |
(-.f64 (fma.f64 x 1/12 (/.f64 1 x)) (fma.f64 1/720 (pow.f64 x 3) -1/2)) |
(+.f64 (/.f64 1 x) (fma.f64 x 1/12 (fma.f64 (pow.f64 x 3) -1/720 1/2))) |
(+.f64 (/.f64 1 x) (fma.f64 x (fma.f64 -1/720 (*.f64 x x) 1/12) 1/2)) |
3 alts after pruning (1 fresh and 2 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 153 | 0 | 153 |
| Fresh | 0 | 1 | 1 |
| Picked | 0 | 1 | 1 |
| Done | 0 | 1 | 1 |
| Total | 153 | 3 | 156 |
| Status | Error | Program |
|---|---|---|
| ▶ | 43.8b | (pow.f64 (sqrt.f64 (+.f64 1/2 (/.f64 1 x))) 2) |
| ✓ | 22.6b | (-.f64 (fma.f64 x 1/12 (/.f64 1 x)) (fma.f64 1/720 (pow.f64 x 3) -1/2)) |
| ✓ | 0.3b | (/.f64 (exp.f64 x) (expm1.f64 x)) |
Compiled 3680 to 2988 computations (18.8% saved)
Found 3 expressions with local error:
| New | Error | Program |
|---|---|---|
| 0.0b | (+.f64 1/2 (/.f64 1 x)) | |
| ✓ | 0.0b | (sqrt.f64 (+.f64 1/2 (/.f64 1 x))) |
| ✓ | 0.5b | (pow.f64 (sqrt.f64 (+.f64 1/2 (/.f64 1 x))) 2) |
6 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 5.0ms | x | @ | inf | (pow.f64 (sqrt.f64 (+.f64 1/2 (/.f64 1 x))) 2) |
| 4.0ms | x | @ | -inf | (pow.f64 (sqrt.f64 (+.f64 1/2 (/.f64 1 x))) 2) |
| 2.0ms | x | @ | 0 | (pow.f64 (sqrt.f64 (+.f64 1/2 (/.f64 1 x))) 2) |
| 1.0ms | x | @ | 0 | (sqrt.f64 (+.f64 1/2 (/.f64 1 x))) |
| 1.0ms | x | @ | inf | (sqrt.f64 (+.f64 1/2 (/.f64 1 x))) |
| 1× | batch-egg-rewrite |
| 758× | pow1_binary64 |
| 709× | log1p-expm1-u_binary64 |
| 709× | expm1-log1p-u_binary64 |
| 82× | add-sqr-sqrt_binary64 |
| 78× | add-log-exp_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 9 | 16 |
| 1 | 194 | 16 |
| 2 | 2000 | 16 |
| 1× | node limit |
| Inputs |
|---|
(pow.f64 (sqrt.f64 (+.f64 1/2 (/.f64 1 x))) 2) |
(sqrt.f64 (+.f64 1/2 (/.f64 1 x))) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x +.f64 1/2 (/.f64 1 x))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (/.f64 1 x) 1/2)))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (+.f64 1/2 (/.f64 1 x)))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (/.f64 1/4 (-.f64 1/2 (/.f64 1 x))) (/.f64 (pow.f64 x -2) (-.f64 1/2 (/.f64 1 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (+.f64 1/2 (/.f64 1 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 1/2 (/.f64 1 x)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (+.f64 1/2 (/.f64 1 x))) (sqrt.f64 (+.f64 1/2 (/.f64 1 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (+.f64 1/2 (/.f64 1 x))) (pow.f64 (cbrt.f64 (+.f64 1/2 (/.f64 1 x))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (+.f64 1/2 (/.f64 1 x))) (*.f64 (cbrt.f64 (sqrt.f64 (+.f64 1/2 (/.f64 1 x)))) (sqrt.f64 (+.f64 1/2 (/.f64 1 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (+.f64 1/2 (/.f64 1 x))) 2) (cbrt.f64 (+.f64 1/2 (/.f64 1 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (+.f64 1/2 (/.f64 1 x)) 1/4) (*.f64 (pow.f64 (+.f64 1/2 (/.f64 1 x)) 1/4) (sqrt.f64 (+.f64 1/2 (/.f64 1 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 1/8 (pow.f64 x -3)) (/.f64 1 (-.f64 (+.f64 1/4 (pow.f64 x -2)) (/.f64 1/2 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (-.f64 1/4 (pow.f64 x -2)) (/.f64 1 (-.f64 1/2 (/.f64 1 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (sqrt.f64 (+.f64 1/2 (/.f64 1 x))) (pow.f64 (+.f64 1/2 (/.f64 1 x)) 1/4)) (pow.f64 (+.f64 1/2 (/.f64 1 x)) 1/4))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (sqrt.f64 (+.f64 1/2 (/.f64 1 x))) (cbrt.f64 (+.f64 1/2 (/.f64 1 x)))) (cbrt.f64 (sqrt.f64 (+.f64 1/2 (/.f64 1 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (-.f64 (+.f64 1/4 (pow.f64 x -2)) (/.f64 1/2 x)) (+.f64 1/8 (pow.f64 x -3))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (-.f64 1/2 (/.f64 1 x)) (-.f64 1/4 (pow.f64 x -2))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 1/8 (pow.f64 x -3)) (-.f64 (+.f64 1/4 (pow.f64 x -2)) (/.f64 1/2 x)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 1/8 (pow.f64 x -3)) (+.f64 (pow.f64 x -2) (-.f64 1/4 (/.f64 1/2 x))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 1/4 (pow.f64 x -2)) (-.f64 1/2 (/.f64 1 x)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (+.f64 1/8 (pow.f64 x -3))) (neg.f64 (-.f64 (+.f64 1/4 (pow.f64 x -2)) (/.f64 1/2 x))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (-.f64 1/4 (pow.f64 x -2))) (neg.f64 (-.f64 1/2 (/.f64 1 x))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (pow.f64 x -2) 1/4) (-.f64 (/.f64 1 x) 1/2))))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (+.f64 1/2 (/.f64 1 x)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (+.f64 1/2 (/.f64 1 x))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (+.f64 1/2 (/.f64 1 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (+.f64 1/2 (/.f64 1 x)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (/.f64 1 x) 1/2)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (pow.f64 x -2)) (/.f64 1 (cbrt.f64 x)) 1/2)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 x -1/2) (pow.f64 x -1/2) 1/2)))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (+.f64 1/2 (/.f64 1 x))))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (+.f64 1/2 (/.f64 1 x))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (+.f64 1/2 (/.f64 1 x))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (+.f64 1/2 (/.f64 1 x))) 1)))))) |
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (sqrt.f64 (+.f64 1/2 (/.f64 1 x))))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (sqrt.f64 (+.f64 1/2 (/.f64 1 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (+.f64 1/2 (/.f64 1 x))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (+.f64 1/2 (/.f64 1 x))) (cbrt.f64 (sqrt.f64 (+.f64 1/2 (/.f64 1 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (sqrt.f64 (+.f64 1/2 (/.f64 1 x)))) (cbrt.f64 (+.f64 1/2 (/.f64 1 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (+.f64 1/2 (/.f64 1 x)) 1/4) (pow.f64 (+.f64 1/2 (/.f64 1 x)) 1/4))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (pow.f64 (cbrt.f64 (+.f64 1/2 (/.f64 1 x))) 2)) (sqrt.f64 (cbrt.f64 (+.f64 1/2 (/.f64 1 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 1 1/2) (sqrt.f64 (+.f64 1/2 (/.f64 1 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (pow.f64 (cbrt.f64 (+.f64 1/2 (/.f64 1 x))) 2) 1/2) (pow.f64 (cbrt.f64 (+.f64 1/2 (/.f64 1 x))) 1/2))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (sqrt.f64 (+.f64 1/8 (pow.f64 x -3))) (sqrt.f64 (-.f64 (+.f64 1/4 (pow.f64 x -2)) (/.f64 1/2 x))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (sqrt.f64 (-.f64 1/4 (pow.f64 x -2))) (sqrt.f64 (-.f64 1/2 (/.f64 1 x))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (+.f64 1/2 (/.f64 1 x)) 1/2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (+.f64 1/2 (/.f64 1 x))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (+.f64 1/2 (/.f64 1 x)) 3/2) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (sqrt.f64 (+.f64 1/2 (/.f64 1 x)))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (+.f64 1/2 (/.f64 1 x)) 1/4) 2)))) (#(struct:change #<rule egg-rr> (2) ((x fabs.f64 (sqrt.f64 (+.f64 1/2 (/.f64 1 x))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (sqrt.f64 (+.f64 1/2 (/.f64 1 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (sqrt.f64 (+.f64 1/2 (/.f64 1 x))))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (+.f64 1/2 (/.f64 1 x)) 3/2))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (sqrt.f64 (+.f64 1/2 (/.f64 1 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (sqrt.f64 (+.f64 1/2 (/.f64 1 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (sqrt.f64 (+.f64 1/2 (/.f64 1 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (+.f64 1/2 (/.f64 1 x))) 1/2))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (sqrt.f64 (+.f64 1/2 (/.f64 1 x)))) 1)))))) |
| 1× | egg-herbie |
| 759× | associate-/r*_binary64 |
| 675× | fma-def_binary64 |
| 377× | associate-*l*_binary64 |
| 308× | associate-*r*_binary64 |
| 294× | fma-neg_binary64 |
Useful iterations: 2 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 31 | 276 |
| 1 | 93 | 236 |
| 2 | 250 | 224 |
| 3 | 886 | 224 |
| 4 | 4301 | 224 |
| 1× | node limit |
| Inputs |
|---|
(pow.f64 (sqrt.f64 1/2) 2) |
(+.f64 (/.f64 1 x) (pow.f64 (sqrt.f64 1/2) 2)) |
(+.f64 (/.f64 1 x) (pow.f64 (sqrt.f64 1/2) 2)) |
(+.f64 (/.f64 1 x) (pow.f64 (sqrt.f64 1/2) 2)) |
(pow.f64 (sqrt.f64 1/2) 2) |
(+.f64 (/.f64 1 x) (pow.f64 (sqrt.f64 1/2) 2)) |
(+.f64 (/.f64 1 x) (pow.f64 (sqrt.f64 1/2) 2)) |
(+.f64 (/.f64 1 x) (pow.f64 (sqrt.f64 1/2) 2)) |
(sqrt.f64 1/2) |
(+.f64 (sqrt.f64 1/2) (*.f64 1/2 (/.f64 1 (*.f64 (sqrt.f64 1/2) x)))) |
(-.f64 (+.f64 (sqrt.f64 1/2) (*.f64 1/2 (/.f64 1 (*.f64 (sqrt.f64 1/2) x)))) (*.f64 1/8 (/.f64 1 (*.f64 (pow.f64 (sqrt.f64 1/2) 3) (pow.f64 x 2))))) |
(-.f64 (+.f64 (sqrt.f64 1/2) (+.f64 (*.f64 1/16 (/.f64 1 (*.f64 (pow.f64 (sqrt.f64 1/2) 5) (pow.f64 x 3)))) (*.f64 1/2 (/.f64 1 (*.f64 (sqrt.f64 1/2) x))))) (*.f64 1/8 (/.f64 1 (*.f64 (pow.f64 (sqrt.f64 1/2) 3) (pow.f64 x 2))))) |
(sqrt.f64 1/2) |
(+.f64 (sqrt.f64 1/2) (*.f64 1/2 (/.f64 1 (*.f64 (sqrt.f64 1/2) x)))) |
(-.f64 (+.f64 (sqrt.f64 1/2) (*.f64 1/2 (/.f64 1 (*.f64 (sqrt.f64 1/2) x)))) (*.f64 1/8 (/.f64 1 (*.f64 (pow.f64 (sqrt.f64 1/2) 3) (pow.f64 x 2))))) |
(-.f64 (+.f64 (sqrt.f64 1/2) (+.f64 (*.f64 1/16 (/.f64 1 (*.f64 (pow.f64 (sqrt.f64 1/2) 5) (pow.f64 x 3)))) (*.f64 1/2 (/.f64 1 (*.f64 (sqrt.f64 1/2) x))))) (*.f64 1/8 (/.f64 1 (*.f64 (pow.f64 (sqrt.f64 1/2) 3) (pow.f64 x 2))))) |
| Outputs |
|---|
(pow.f64 (sqrt.f64 1/2) 2) |
1/2 |
(+.f64 (/.f64 1 x) (pow.f64 (sqrt.f64 1/2) 2)) |
(+.f64 1/2 (/.f64 1 x)) |
(+.f64 (/.f64 1 x) (pow.f64 (sqrt.f64 1/2) 2)) |
(+.f64 1/2 (/.f64 1 x)) |
(+.f64 (/.f64 1 x) (pow.f64 (sqrt.f64 1/2) 2)) |
(+.f64 1/2 (/.f64 1 x)) |
(pow.f64 (sqrt.f64 1/2) 2) |
1/2 |
(+.f64 (/.f64 1 x) (pow.f64 (sqrt.f64 1/2) 2)) |
(+.f64 1/2 (/.f64 1 x)) |
(+.f64 (/.f64 1 x) (pow.f64 (sqrt.f64 1/2) 2)) |
(+.f64 1/2 (/.f64 1 x)) |
(+.f64 (/.f64 1 x) (pow.f64 (sqrt.f64 1/2) 2)) |
(+.f64 1/2 (/.f64 1 x)) |
(sqrt.f64 1/2) |
(+.f64 (sqrt.f64 1/2) (*.f64 1/2 (/.f64 1 (*.f64 (sqrt.f64 1/2) x)))) |
(+.f64 (sqrt.f64 1/2) (/.f64 1/2 (*.f64 (sqrt.f64 1/2) x))) |
(+.f64 (sqrt.f64 1/2) (/.f64 (/.f64 1/2 (sqrt.f64 1/2)) x)) |
(-.f64 (+.f64 (sqrt.f64 1/2) (*.f64 1/2 (/.f64 1 (*.f64 (sqrt.f64 1/2) x)))) (*.f64 1/8 (/.f64 1 (*.f64 (pow.f64 (sqrt.f64 1/2) 3) (pow.f64 x 2))))) |
(+.f64 (sqrt.f64 1/2) (-.f64 (/.f64 1/2 (*.f64 (sqrt.f64 1/2) x)) (/.f64 1/8 (*.f64 (pow.f64 (sqrt.f64 1/2) 3) (*.f64 x x))))) |
(+.f64 (sqrt.f64 1/2) (+.f64 (/.f64 1/2 (*.f64 (sqrt.f64 1/2) x)) (/.f64 (*.f64 -1/8 (/.f64 2 (sqrt.f64 1/2))) (*.f64 x x)))) |
(-.f64 (/.f64 (/.f64 1/2 (sqrt.f64 1/2)) x) (-.f64 (/.f64 (/.f64 1/4 (sqrt.f64 1/2)) (*.f64 x x)) (sqrt.f64 1/2))) |
(+.f64 (sqrt.f64 1/2) (+.f64 (/.f64 (/.f64 1/2 (sqrt.f64 1/2)) x) (/.f64 (/.f64 -1/4 (sqrt.f64 1/2)) (*.f64 x x)))) |
(-.f64 (+.f64 (sqrt.f64 1/2) (+.f64 (*.f64 1/16 (/.f64 1 (*.f64 (pow.f64 (sqrt.f64 1/2) 5) (pow.f64 x 3)))) (*.f64 1/2 (/.f64 1 (*.f64 (sqrt.f64 1/2) x))))) (*.f64 1/8 (/.f64 1 (*.f64 (pow.f64 (sqrt.f64 1/2) 3) (pow.f64 x 2))))) |
(+.f64 (sqrt.f64 1/2) (-.f64 (+.f64 (/.f64 1/2 (*.f64 (sqrt.f64 1/2) x)) (/.f64 1/16 (*.f64 (pow.f64 (sqrt.f64 1/2) 5) (pow.f64 x 3)))) (/.f64 1/8 (*.f64 (pow.f64 (sqrt.f64 1/2) 3) (*.f64 x x))))) |
(+.f64 (sqrt.f64 1/2) (+.f64 (/.f64 1/16 (*.f64 (pow.f64 (sqrt.f64 1/2) 5) (pow.f64 x 3))) (+.f64 (/.f64 1/2 (*.f64 (sqrt.f64 1/2) x)) (/.f64 (*.f64 -1/8 (/.f64 2 (sqrt.f64 1/2))) (*.f64 x x))))) |
(+.f64 (sqrt.f64 1/2) (+.f64 (/.f64 (/.f64 1/2 (sqrt.f64 1/2)) x) (+.f64 (/.f64 1/16 (*.f64 (pow.f64 (sqrt.f64 1/2) 5) (pow.f64 x 3))) (/.f64 (/.f64 -1/4 (sqrt.f64 1/2)) (*.f64 x x))))) |
(+.f64 (/.f64 1/16 (*.f64 (pow.f64 (sqrt.f64 1/2) 5) (pow.f64 x 3))) (+.f64 (sqrt.f64 1/2) (+.f64 (/.f64 (/.f64 1/2 (sqrt.f64 1/2)) x) (/.f64 (/.f64 -1/4 (sqrt.f64 1/2)) (*.f64 x x))))) |
(sqrt.f64 1/2) |
(+.f64 (sqrt.f64 1/2) (*.f64 1/2 (/.f64 1 (*.f64 (sqrt.f64 1/2) x)))) |
(+.f64 (sqrt.f64 1/2) (/.f64 1/2 (*.f64 (sqrt.f64 1/2) x))) |
(+.f64 (sqrt.f64 1/2) (/.f64 (/.f64 1/2 (sqrt.f64 1/2)) x)) |
(-.f64 (+.f64 (sqrt.f64 1/2) (*.f64 1/2 (/.f64 1 (*.f64 (sqrt.f64 1/2) x)))) (*.f64 1/8 (/.f64 1 (*.f64 (pow.f64 (sqrt.f64 1/2) 3) (pow.f64 x 2))))) |
(+.f64 (sqrt.f64 1/2) (-.f64 (/.f64 1/2 (*.f64 (sqrt.f64 1/2) x)) (/.f64 1/8 (*.f64 (pow.f64 (sqrt.f64 1/2) 3) (*.f64 x x))))) |
(+.f64 (sqrt.f64 1/2) (+.f64 (/.f64 1/2 (*.f64 (sqrt.f64 1/2) x)) (/.f64 (*.f64 -1/8 (/.f64 2 (sqrt.f64 1/2))) (*.f64 x x)))) |
(-.f64 (/.f64 (/.f64 1/2 (sqrt.f64 1/2)) x) (-.f64 (/.f64 (/.f64 1/4 (sqrt.f64 1/2)) (*.f64 x x)) (sqrt.f64 1/2))) |
(+.f64 (sqrt.f64 1/2) (+.f64 (/.f64 (/.f64 1/2 (sqrt.f64 1/2)) x) (/.f64 (/.f64 -1/4 (sqrt.f64 1/2)) (*.f64 x x)))) |
(-.f64 (+.f64 (sqrt.f64 1/2) (+.f64 (*.f64 1/16 (/.f64 1 (*.f64 (pow.f64 (sqrt.f64 1/2) 5) (pow.f64 x 3)))) (*.f64 1/2 (/.f64 1 (*.f64 (sqrt.f64 1/2) x))))) (*.f64 1/8 (/.f64 1 (*.f64 (pow.f64 (sqrt.f64 1/2) 3) (pow.f64 x 2))))) |
(+.f64 (sqrt.f64 1/2) (-.f64 (+.f64 (/.f64 1/2 (*.f64 (sqrt.f64 1/2) x)) (/.f64 1/16 (*.f64 (pow.f64 (sqrt.f64 1/2) 5) (pow.f64 x 3)))) (/.f64 1/8 (*.f64 (pow.f64 (sqrt.f64 1/2) 3) (*.f64 x x))))) |
(+.f64 (sqrt.f64 1/2) (+.f64 (/.f64 1/16 (*.f64 (pow.f64 (sqrt.f64 1/2) 5) (pow.f64 x 3))) (+.f64 (/.f64 1/2 (*.f64 (sqrt.f64 1/2) x)) (/.f64 (*.f64 -1/8 (/.f64 2 (sqrt.f64 1/2))) (*.f64 x x))))) |
(+.f64 (sqrt.f64 1/2) (+.f64 (/.f64 (/.f64 1/2 (sqrt.f64 1/2)) x) (+.f64 (/.f64 1/16 (*.f64 (pow.f64 (sqrt.f64 1/2) 5) (pow.f64 x 3))) (/.f64 (/.f64 -1/4 (sqrt.f64 1/2)) (*.f64 x x))))) |
(+.f64 (/.f64 1/16 (*.f64 (pow.f64 (sqrt.f64 1/2) 5) (pow.f64 x 3))) (+.f64 (sqrt.f64 1/2) (+.f64 (/.f64 (/.f64 1/2 (sqrt.f64 1/2)) x) (/.f64 (/.f64 -1/4 (sqrt.f64 1/2)) (*.f64 x x))))) |
3 alts after pruning (1 fresh and 2 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 101 | 1 | 102 |
| Fresh | 0 | 0 | 0 |
| Picked | 1 | 0 | 1 |
| Done | 0 | 2 | 2 |
| Total | 102 | 3 | 105 |
| Status | Error | Program |
|---|---|---|
| ✓ | 22.6b | (-.f64 (fma.f64 x 1/12 (/.f64 1 x)) (fma.f64 1/720 (pow.f64 x 3) -1/2)) |
| ✓ | 0.3b | (/.f64 (exp.f64 x) (expm1.f64 x)) |
| 62.5b | (pow.f64 (+.f64 (sqrt.f64 1/2) (/.f64 (/.f64 1/2 (sqrt.f64 1/2)) x)) 2) |
Compiled 1347 to 1173 computations (12.9% saved)
Total 0.1b remaining (20.1%)
Threshold costs 0.1b (20.1%)
Compiled 182 to 127 computations (30.2% saved)
| 1× | egg-herbie |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 5 | 8 |
| 1× | saturated |
| Inputs |
|---|
(/.f64 (exp.f64 x) (expm1.f64 x)) |
| Outputs |
|---|
(/.f64 (exp.f64 x) (expm1.f64 x)) |
| 1× | fuel |
Compiled 44 to 34 computations (22.7% saved)
Loading profile data...