Time bar (total: 1.1s)
| 1× | search |
| True | Other | False | Iter |
|---|---|---|---|
| 0% | 100% | 0% | 0 |
| 0% | 100% | 0% | 1 |
| 0% | 100% | 0% | 2 |
| 50% | 50% | 0% | 3 |
| 75% | 25% | 0% | 4 |
| 87.5% | 12.5% | 0% | 5 |
| 93.7% | 6.2% | 0% | 6 |
| 96.8% | 3.1% | 0% | 7 |
| 98.4% | 1.6% | 0% | 8 |
| 99.2% | 0.8% | 0% | 9 |
| 99.6% | 0.4% | 0% | 10 |
| 99.8% | 0.2% | 0% | 11 |
| 99.9% | 0.1% | 0% | 12 |
| 99.9% | 0% | 0% | 13 |
| 99.9% | 0% | 0% | 14 |
Compiled 9 to 6 computations (33.3% saved)
| 645.0ms | 8256× | body | 128 | valid |
Compiled 18 to 12 computations (33.3% saved)
| 2× | egg-herbie |
| 1× | +-commutative_binary64 |
| 1× | 1-exp_binary64 |
| 1× | fma-def_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 6 | 8 |
| 1 | 10 | 8 |
| 0 | 1 | 1 |
| 1× | saturated |
| 1× | saturated |
| Inputs |
|---|
0 |
| Outputs |
|---|
0 |
| Inputs |
|---|
(/.f64 x (+.f64 (*.f64 x x) 1)) |
| Outputs |
|---|
(/.f64 x (+.f64 (*.f64 x x) 1)) |
(/.f64 x (fma.f64 x x 1)) |
Compiled 8 to 5 computations (37.5% saved)
| 1× | egg-herbie |
| 1× | +-commutative_binary64 |
| 1× | 1-exp_binary64 |
| 1× | fma-def_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 6 | 8 |
| 1 | 10 | 8 |
| 1× | saturated |
| Inputs |
|---|
(/.f64 x (+.f64 (*.f64 x x) 1)) |
| Outputs |
|---|
(/.f64 x (+.f64 (*.f64 x x) 1)) |
(/.f64 x (fma.f64 x x 1)) |
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 |
|---|---|---|
| ▶ | 16.4b | (/.f64 x (fma.f64 x x 1)) |
Compiled 28 to 16 computations (42.9% saved)
Found 1 expressions with local error:
| New | Error | Program |
|---|---|---|
| ✓ | 16.4b | (/.f64 x (fma.f64 x x 1)) |
3 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 1.0ms | x | @ | 0 | (/.f64 x (fma.f64 x x 1)) |
| 1.0ms | x | @ | inf | (/.f64 x (fma.f64 x x 1)) |
| 1.0ms | x | @ | -inf | (/.f64 x (fma.f64 x x 1)) |
| 1× | batch-egg-rewrite |
| 499× | pow1_binary64 |
| 462× | add-log-exp_binary64 |
| 462× | log1p-expm1-u_binary64 |
| 462× | expm1-log1p-u_binary64 |
| 452× | add-exp-log_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 5 | 8 |
| 1 | 98 | 8 |
| 2 | 1214 | 8 |
| 1× | node limit |
| Inputs |
|---|
(/.f64 x (fma.f64 x x 1)) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (/.f64 x (fma.f64 x x 1))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 x (/.f64 1 (fma.f64 x x 1)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (/.f64 x (fma.f64 x x 1)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 x (fma.f64 x x 1)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (/.f64 x (fma.f64 x x 1))) (pow.f64 (cbrt.f64 (/.f64 x (fma.f64 x x 1))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (/.f64 x (fma.f64 x x 1))) 2) (cbrt.f64 (/.f64 x (fma.f64 x x 1))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 x) 2) (*.f64 (cbrt.f64 x) (/.f64 1 (fma.f64 x x 1))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (/.f64 x (fma.f64 x x 1))) (sqrt.f64 (/.f64 x (fma.f64 x x 1))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 x) (*.f64 (sqrt.f64 x) (/.f64 1 (fma.f64 x x 1))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (neg.f64 x) (/.f64 1 (neg.f64 (fma.f64 x x 1))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 1 (fma.f64 x x 1)) x)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (pow.f64 (cbrt.f64 x) 2) 1) (/.f64 (cbrt.f64 x) (fma.f64 x x 1)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (sqrt.f64 x) 1) (/.f64 (sqrt.f64 x) (fma.f64 x x 1)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 1 (cbrt.f64 (pow.f64 (fma.f64 x x 1) 2))) (/.f64 x (cbrt.f64 (fma.f64 x x 1))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (pow.f64 (cbrt.f64 x) 2) (cbrt.f64 (pow.f64 (fma.f64 x x 1) 2))) (cbrt.f64 (/.f64 x (fma.f64 x x 1))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (sqrt.f64 x) (cbrt.f64 (pow.f64 (fma.f64 x x 1) 2))) (/.f64 (sqrt.f64 x) (cbrt.f64 (fma.f64 x x 1))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 1 (sqrt.f64 (fma.f64 x x 1))) (/.f64 x (sqrt.f64 (fma.f64 x x 1))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (pow.f64 (cbrt.f64 x) 2) (sqrt.f64 (fma.f64 x x 1))) (/.f64 (cbrt.f64 x) (sqrt.f64 (fma.f64 x x 1))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 x (fma.f64 x x 1)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (/.f64 x (fma.f64 x x 1)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (/.f64 x (fma.f64 x x 1))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (/.f64 x (fma.f64 x x 1))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 (fma.f64 x x 1) x) -1)))) (#(struct:change #<rule egg-rr> (2) ((x neg.f64 (/.f64 x (neg.f64 (fma.f64 x x 1))))))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (/.f64 x (fma.f64 x x 1)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (/.f64 x (fma.f64 x x 1))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (/.f64 x (fma.f64 x x 1)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (/.f64 (pow.f64 x 3) (pow.f64 (fma.f64 x x 1) 3)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (/.f64 x (fma.f64 x x 1))))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (/.f64 x (fma.f64 x x 1))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (/.f64 x (fma.f64 x x 1)))))))) |
| 1× | egg-herbie |
| 485× | times-frac_binary64 |
| 468× | fma-def_binary64 |
| 270× | sub-neg_binary64 |
| 263× | fma-neg_binary64 |
| 230× | associate-*l*_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 23 | 180 |
| 1 | 65 | 180 |
| 2 | 180 | 180 |
| 3 | 453 | 180 |
| 4 | 1323 | 180 |
| 5 | 3836 | 180 |
| 1× | node limit |
| Inputs |
|---|
x |
(-.f64 x (pow.f64 x 3)) |
(-.f64 (+.f64 (pow.f64 x 5) x) (pow.f64 x 3)) |
(-.f64 (+.f64 (pow.f64 x 5) x) (+.f64 (pow.f64 x 7) (pow.f64 x 3))) |
(/.f64 1 x) |
(-.f64 (/.f64 1 x) (/.f64 1 (pow.f64 x 3))) |
(-.f64 (+.f64 (/.f64 1 (pow.f64 x 5)) (/.f64 1 x)) (/.f64 1 (pow.f64 x 3))) |
(-.f64 (+.f64 (/.f64 1 (pow.f64 x 5)) (/.f64 1 x)) (+.f64 (/.f64 1 (pow.f64 x 7)) (/.f64 1 (pow.f64 x 3)))) |
(/.f64 1 x) |
(-.f64 (/.f64 1 x) (/.f64 1 (pow.f64 x 3))) |
(-.f64 (+.f64 (/.f64 1 (pow.f64 x 5)) (/.f64 1 x)) (/.f64 1 (pow.f64 x 3))) |
(-.f64 (+.f64 (/.f64 1 (pow.f64 x 5)) (/.f64 1 x)) (+.f64 (/.f64 1 (pow.f64 x 7)) (/.f64 1 (pow.f64 x 3)))) |
| Outputs |
|---|
x |
(-.f64 x (pow.f64 x 3)) |
(-.f64 (+.f64 (pow.f64 x 5) x) (pow.f64 x 3)) |
(+.f64 (pow.f64 x 5) (-.f64 x (pow.f64 x 3))) |
(+.f64 x (-.f64 (pow.f64 x 5) (pow.f64 x 3))) |
(-.f64 (+.f64 x (pow.f64 x 5)) (pow.f64 x 3)) |
(-.f64 (+.f64 (pow.f64 x 5) x) (+.f64 (pow.f64 x 7) (pow.f64 x 3))) |
(-.f64 (+.f64 x (pow.f64 x 5)) (+.f64 (pow.f64 x 3) (pow.f64 x 7))) |
(-.f64 (-.f64 x (pow.f64 x 7)) (-.f64 (pow.f64 x 3) (pow.f64 x 5))) |
(+.f64 x (-.f64 (pow.f64 x 5) (+.f64 (pow.f64 x 3) (pow.f64 x 7)))) |
(+.f64 (-.f64 x (pow.f64 x 3)) (-.f64 (pow.f64 x 5) (pow.f64 x 7))) |
(+.f64 (pow.f64 x 5) (-.f64 x (+.f64 (pow.f64 x 3) (pow.f64 x 7)))) |
(/.f64 1 x) |
(-.f64 (/.f64 1 x) (/.f64 1 (pow.f64 x 3))) |
(+.f64 (/.f64 1 x) (/.f64 -1 (pow.f64 x 3))) |
(-.f64 (+.f64 (/.f64 1 (pow.f64 x 5)) (/.f64 1 x)) (/.f64 1 (pow.f64 x 3))) |
(+.f64 (/.f64 1 (pow.f64 x 5)) (-.f64 (/.f64 1 x) (/.f64 1 (pow.f64 x 3)))) |
(+.f64 (/.f64 1 x) (-.f64 (/.f64 1 (pow.f64 x 5)) (/.f64 1 (pow.f64 x 3)))) |
(+.f64 (/.f64 1 x) (+.f64 (/.f64 1 (pow.f64 x 5)) (/.f64 -1 (pow.f64 x 3)))) |
(+.f64 (+.f64 (/.f64 1 x) (/.f64 1 (pow.f64 x 5))) (/.f64 -1 (pow.f64 x 3))) |
(-.f64 (+.f64 (/.f64 1 (pow.f64 x 5)) (/.f64 1 x)) (+.f64 (/.f64 1 (pow.f64 x 7)) (/.f64 1 (pow.f64 x 3)))) |
(-.f64 (-.f64 (+.f64 (/.f64 1 x) (/.f64 1 (pow.f64 x 5))) (/.f64 1 (pow.f64 x 7))) (/.f64 1 (pow.f64 x 3))) |
(+.f64 (/.f64 1 (pow.f64 x 5)) (-.f64 (+.f64 (/.f64 1 x) (/.f64 -1 (pow.f64 x 3))) (/.f64 1 (pow.f64 x 7)))) |
(+.f64 (/.f64 1 x) (+.f64 (+.f64 (/.f64 1 (pow.f64 x 5)) (/.f64 -1 (pow.f64 x 3))) (/.f64 -1 (pow.f64 x 7)))) |
(+.f64 (/.f64 1 (pow.f64 x 5)) (-.f64 (/.f64 1 x) (-.f64 (/.f64 1 (pow.f64 x 3)) (/.f64 -1 (pow.f64 x 7))))) |
(+.f64 (+.f64 (/.f64 1 x) (/.f64 1 (pow.f64 x 5))) (+.f64 (/.f64 -1 (pow.f64 x 3)) (/.f64 -1 (pow.f64 x 7)))) |
(/.f64 1 x) |
(-.f64 (/.f64 1 x) (/.f64 1 (pow.f64 x 3))) |
(+.f64 (/.f64 1 x) (/.f64 -1 (pow.f64 x 3))) |
(-.f64 (+.f64 (/.f64 1 (pow.f64 x 5)) (/.f64 1 x)) (/.f64 1 (pow.f64 x 3))) |
(+.f64 (/.f64 1 (pow.f64 x 5)) (-.f64 (/.f64 1 x) (/.f64 1 (pow.f64 x 3)))) |
(+.f64 (/.f64 1 x) (-.f64 (/.f64 1 (pow.f64 x 5)) (/.f64 1 (pow.f64 x 3)))) |
(+.f64 (/.f64 1 x) (+.f64 (/.f64 1 (pow.f64 x 5)) (/.f64 -1 (pow.f64 x 3)))) |
(+.f64 (+.f64 (/.f64 1 x) (/.f64 1 (pow.f64 x 5))) (/.f64 -1 (pow.f64 x 3))) |
(-.f64 (+.f64 (/.f64 1 (pow.f64 x 5)) (/.f64 1 x)) (+.f64 (/.f64 1 (pow.f64 x 7)) (/.f64 1 (pow.f64 x 3)))) |
(-.f64 (-.f64 (+.f64 (/.f64 1 x) (/.f64 1 (pow.f64 x 5))) (/.f64 1 (pow.f64 x 7))) (/.f64 1 (pow.f64 x 3))) |
(+.f64 (/.f64 1 (pow.f64 x 5)) (-.f64 (+.f64 (/.f64 1 x) (/.f64 -1 (pow.f64 x 3))) (/.f64 1 (pow.f64 x 7)))) |
(+.f64 (/.f64 1 x) (+.f64 (+.f64 (/.f64 1 (pow.f64 x 5)) (/.f64 -1 (pow.f64 x 3))) (/.f64 -1 (pow.f64 x 7)))) |
(+.f64 (/.f64 1 (pow.f64 x 5)) (-.f64 (/.f64 1 x) (-.f64 (/.f64 1 (pow.f64 x 3)) (/.f64 -1 (pow.f64 x 7))))) |
(+.f64 (+.f64 (/.f64 1 x) (/.f64 1 (pow.f64 x 5))) (+.f64 (/.f64 -1 (pow.f64 x 3)) (/.f64 -1 (pow.f64 x 7)))) |
5 alts after pruning (4 fresh and 1 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 40 | 4 | 44 |
| Fresh | 0 | 0 | 0 |
| Picked | 0 | 1 | 1 |
| Done | 0 | 0 | 0 |
| Total | 40 | 5 | 45 |
| Status | Error | Program |
|---|---|---|
| ▶ | 17.4b | (pow.f64 (cbrt.f64 (/.f64 x (fma.f64 x x 1))) 3) |
| ✓ | 16.4b | (/.f64 x (fma.f64 x x 1)) |
| 32.0b | (/.f64 1 x) | |
| 31.1b | (-.f64 x (pow.f64 x 3)) | |
| 42.0b | (cbrt.f64 (pow.f64 (/.f64 x (fma.f64 x x 1)) 3)) |
Compiled 567 to 380 computations (33% saved)
Found 3 expressions with local error:
| New | Error | Program |
|---|---|---|
| ✓ | 0.7b | (cbrt.f64 (/.f64 x (fma.f64 x x 1))) |
| ✓ | 0.7b | (pow.f64 (cbrt.f64 (/.f64 x (fma.f64 x x 1))) 3) |
| 16.4b | (/.f64 x (fma.f64 x x 1)) |
6 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 7.0ms | x | @ | -inf | (pow.f64 (cbrt.f64 (/.f64 x (fma.f64 x x 1))) 3) |
| 2.0ms | x | @ | 0 | (pow.f64 (cbrt.f64 (/.f64 x (fma.f64 x x 1))) 3) |
| 1.0ms | x | @ | -inf | (cbrt.f64 (/.f64 x (fma.f64 x x 1))) |
| 1.0ms | x | @ | inf | (pow.f64 (cbrt.f64 (/.f64 x (fma.f64 x x 1))) 3) |
| 1.0ms | x | @ | 0 | (cbrt.f64 (/.f64 x (fma.f64 x x 1))) |
| 1× | batch-egg-rewrite |
| 672× | pow1_binary64 |
| 634× | add-log-exp_binary64 |
| 633× | log1p-expm1-u_binary64 |
| 633× | expm1-log1p-u_binary64 |
| 69× | add-sqr-sqrt_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 8 | 18 |
| 1 | 167 | 18 |
| 2 | 1735 | 18 |
| 1× | node limit |
| Inputs |
|---|
(pow.f64 (cbrt.f64 (/.f64 x (fma.f64 x x 1))) 3) |
(cbrt.f64 (/.f64 x (fma.f64 x x 1))) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (/.f64 x (fma.f64 x x 1)))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 x (/.f64 1 (fma.f64 x x 1)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (/.f64 x (fma.f64 x x 1)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 x (fma.f64 x x 1)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (/.f64 x (fma.f64 x x 1))) (pow.f64 (cbrt.f64 (/.f64 x (fma.f64 x x 1))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (/.f64 x (fma.f64 x x 1))) 2) (cbrt.f64 (/.f64 x (fma.f64 x x 1))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 x) 2) (*.f64 (cbrt.f64 x) (/.f64 1 (fma.f64 x x 1))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (pow.f64 (cbrt.f64 (/.f64 x (fma.f64 x x 1))) 2)) (*.f64 (cbrt.f64 (cbrt.f64 (/.f64 x (fma.f64 x x 1)))) (pow.f64 (cbrt.f64 (/.f64 x (fma.f64 x x 1))) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (/.f64 x (fma.f64 x x 1))) (sqrt.f64 (/.f64 x (fma.f64 x x 1))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 x) (*.f64 (sqrt.f64 x) (/.f64 1 (fma.f64 x x 1))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (/.f64 x (fma.f64 x x 1)) 1/6) (*.f64 (pow.f64 (/.f64 x (fma.f64 x x 1)) 1/6) (pow.f64 (cbrt.f64 (/.f64 x (fma.f64 x x 1))) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (neg.f64 x) (/.f64 1 (neg.f64 (fma.f64 x x 1))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 1 (fma.f64 x x 1)) x)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (pow.f64 (cbrt.f64 (/.f64 x (fma.f64 x x 1))) 2)) 3) (cbrt.f64 (/.f64 x (fma.f64 x x 1))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (pow.f64 (/.f64 x (fma.f64 x x 1)) 1/6) 3) (pow.f64 (pow.f64 (/.f64 x (fma.f64 x x 1)) 1/6) 3))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (pow.f64 (cbrt.f64 x) 2) 1) (/.f64 (cbrt.f64 x) (fma.f64 x x 1)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (sqrt.f64 x) 1) (/.f64 (sqrt.f64 x) (fma.f64 x x 1)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 1 (pow.f64 (cbrt.f64 (fma.f64 x x 1)) 2)) (/.f64 x (cbrt.f64 (fma.f64 x x 1))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (sqrt.f64 x) (pow.f64 (cbrt.f64 (fma.f64 x x 1)) 2)) (/.f64 (sqrt.f64 x) (cbrt.f64 (fma.f64 x x 1))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 1 (sqrt.f64 (fma.f64 x x 1))) (/.f64 x (sqrt.f64 (fma.f64 x x 1))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (pow.f64 (cbrt.f64 x) 2) (sqrt.f64 (fma.f64 x x 1))) (/.f64 (cbrt.f64 x) (sqrt.f64 (fma.f64 x x 1))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (pow.f64 (cbrt.f64 (/.f64 x (fma.f64 x x 1))) 2) 1) (cbrt.f64 (/.f64 x (fma.f64 x x 1))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (pow.f64 (cbrt.f64 (/.f64 x (fma.f64 x x 1))) 2) (cbrt.f64 (pow.f64 (cbrt.f64 (/.f64 x (fma.f64 x x 1))) 2))) (cbrt.f64 (cbrt.f64 (/.f64 x (fma.f64 x x 1)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (pow.f64 (cbrt.f64 (/.f64 x (fma.f64 x x 1))) 2) (pow.f64 (/.f64 x (fma.f64 x x 1)) 1/6)) (pow.f64 (/.f64 x (fma.f64 x x 1)) 1/6))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 x (fma.f64 x x 1))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (fma.f64 x x 1) x))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (/.f64 (fma.f64 x x 1) x) 1))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (pow.f64 (cbrt.f64 x) 2) (/.f64 (fma.f64 x x 1) (cbrt.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (sqrt.f64 x) (/.f64 (fma.f64 x x 1) (sqrt.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 x) (neg.f64 (fma.f64 x x 1)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 -1 (neg.f64 (/.f64 (fma.f64 x x 1) x)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (neg.f64 x)) (neg.f64 (neg.f64 (fma.f64 x x 1))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (/.f64 x (sqrt.f64 (fma.f64 x x 1))) (sqrt.f64 (fma.f64 x x 1)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (/.f64 x 1) (fma.f64 x x 1))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (/.f64 x (pow.f64 (cbrt.f64 (fma.f64 x x 1)) 2)) (cbrt.f64 (fma.f64 x x 1)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (cbrt.f64 x) (pow.f64 (cbrt.f64 (/.f64 x (fma.f64 x x 1))) 2)) (cbrt.f64 (fma.f64 x x 1)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (pow.f64 (cbrt.f64 (/.f64 x (fma.f64 x x 1))) 2) (cbrt.f64 x)) (cbrt.f64 (fma.f64 x x 1)))))) (#(struct:change #<rule egg-rr> (2) ((x neg.f64 (/.f64 x (neg.f64 (fma.f64 x x 1))))))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (/.f64 x (fma.f64 x x 1)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (/.f64 x (fma.f64 x x 1))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (/.f64 x (fma.f64 x x 1)))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (/.f64 x (fma.f64 x x 1)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (/.f64 (pow.f64 x 3) (pow.f64 (fma.f64 x x 1) 3)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (/.f64 x (fma.f64 x x 1))))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (/.f64 x (fma.f64 x x 1))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (/.f64 x (fma.f64 x x 1)))))))) |
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (cbrt.f64 (/.f64 x (fma.f64 x x 1))))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (cbrt.f64 (/.f64 x (fma.f64 x x 1))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (/.f64 x (fma.f64 x x 1))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 x) (cbrt.f64 (/.f64 1 (fma.f64 x x 1))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 x) (pow.f64 (/.f64 1 (fma.f64 x x 1)) 1/3))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 x) (/.f64 1 (cbrt.f64 (fma.f64 x x 1))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (cbrt.f64 (/.f64 x (fma.f64 x x 1)))) (cbrt.f64 (pow.f64 (cbrt.f64 (/.f64 x (fma.f64 x x 1))) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (cbrt.f64 (/.f64 x (fma.f64 x x 1)))) (pow.f64 (pow.f64 (cbrt.f64 (/.f64 x (fma.f64 x x 1))) 2) 1/3))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (pow.f64 (cbrt.f64 (/.f64 x (fma.f64 x x 1))) 2)) (cbrt.f64 (cbrt.f64 (/.f64 x (fma.f64 x x 1)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (/.f64 x (fma.f64 x x 1)) 1/6) (pow.f64 (/.f64 x (fma.f64 x x 1)) 1/6))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 1 1/3) (cbrt.f64 (/.f64 x (fma.f64 x x 1))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (pow.f64 (cbrt.f64 (/.f64 x (fma.f64 x x 1))) 2) 1/3) (cbrt.f64 (cbrt.f64 (/.f64 x (fma.f64 x x 1)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (sqrt.f64 (/.f64 x (fma.f64 x x 1))) 1/3) (pow.f64 (sqrt.f64 (/.f64 x (fma.f64 x x 1))) 1/3))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (cbrt.f64 (/.f64 (fma.f64 x x 1) x)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (cbrt.f64 (fma.f64 x x 1)) (cbrt.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (cbrt.f64 x) (cbrt.f64 (fma.f64 x x 1)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (cbrt.f64 (neg.f64 x)) (cbrt.f64 (neg.f64 (fma.f64 x x 1))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (cbrt.f64 x)) (neg.f64 (cbrt.f64 (fma.f64 x x 1))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 x (fma.f64 x x 1)) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (/.f64 x (fma.f64 x x 1))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (cbrt.f64 (/.f64 x (fma.f64 x x 1)))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (/.f64 x (fma.f64 x x 1)) 1/6) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (cbrt.f64 (/.f64 x (fma.f64 x x 1))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (cbrt.f64 (/.f64 x (fma.f64 x x 1)))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (cbrt.f64 (/.f64 x (fma.f64 x x 1))))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (cbrt.f64 (/.f64 x (fma.f64 x x 1)))))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (cbrt.f64 (/.f64 x (fma.f64 x x 1)))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (cbrt.f64 (/.f64 x (fma.f64 x x 1))))))))) |
| 1× | egg-herbie |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 0 | 0 |
| 1× | saturated |
| Inputs |
|---|
| Outputs |
|---|
5 alts after pruning (3 fresh and 2 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 118 | 0 | 118 |
| Fresh | 0 | 3 | 3 |
| Picked | 0 | 1 | 1 |
| Done | 0 | 1 | 1 |
| Total | 118 | 5 | 123 |
| Status | Error | Program |
|---|---|---|
| ✓ | 17.4b | (pow.f64 (cbrt.f64 (/.f64 x (fma.f64 x x 1))) 3) |
| ✓ | 16.4b | (/.f64 x (fma.f64 x x 1)) |
| 32.0b | (/.f64 1 x) | |
| ▶ | 31.1b | (-.f64 x (pow.f64 x 3)) |
| 42.0b | (cbrt.f64 (pow.f64 (/.f64 x (fma.f64 x x 1)) 3)) |
Compiled 1690 to 1169 computations (30.8% saved)
Found 1 expressions with local error:
| New | Error | Program |
|---|---|---|
| ✓ | 0.0b | (-.f64 x (pow.f64 x 3)) |
3 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 1.0ms | x | @ | inf | (-.f64 x (pow.f64 x 3)) |
| 0.0ms | x | @ | 0 | (-.f64 x (pow.f64 x 3)) |
| 0.0ms | x | @ | -inf | (-.f64 x (pow.f64 x 3)) |
| 1× | batch-egg-rewrite |
| 582× | pow1_binary64 |
| 549× | add-log-exp_binary64 |
| 549× | log1p-expm1-u_binary64 |
| 549× | expm1-log1p-u_binary64 |
| 537× | add-exp-log_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 5 | 7 |
| 1 | 118 | 7 |
| 2 | 1495 | 7 |
| 1× | node limit |
| Inputs |
|---|
(-.f64 x (pow.f64 x 3)) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x +.f64 x (neg.f64 (pow.f64 x 3)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 x (*.f64 (neg.f64 (pow.f64 x 3)) 1))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (-.f64 x (pow.f64 x 3)) (fma.f64 (neg.f64 (*.f64 x x)) x (pow.f64 x 3)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (-.f64 x (pow.f64 x 3)) (fma.f64 (neg.f64 (pow.f64 x 3)) 1 (pow.f64 x 3)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (-.f64 x (pow.f64 x 3)) (fma.f64 (neg.f64 x) (*.f64 x x) (pow.f64 x 3)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (-.f64 x (pow.f64 x 3)) (fma.f64 (neg.f64 (pow.f64 x 3/2)) (pow.f64 x 3/2) (pow.f64 x 3)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (neg.f64 (pow.f64 x 3)) x)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 x (-.f64 1 (*.f64 x x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (-.f64 x (pow.f64 x 3)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (-.f64 x (pow.f64 x 3)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (-.f64 x (pow.f64 x 3))) (pow.f64 (cbrt.f64 (-.f64 x (pow.f64 x 3))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (-.f64 x (pow.f64 x 3))) 2) (cbrt.f64 (-.f64 x (pow.f64 x 3))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (-.f64 x (pow.f64 x 3))) (sqrt.f64 (-.f64 x (pow.f64 x 3))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (-.f64 (pow.f64 x 3) (pow.f64 x 9)) (/.f64 1 (fma.f64 x x (+.f64 (pow.f64 x 6) (pow.f64 x 4)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (-.f64 (*.f64 x x) (pow.f64 x 6)) (/.f64 1 (+.f64 x (pow.f64 x 3))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 (sqrt.f64 x) (pow.f64 x 3/2)) (-.f64 (sqrt.f64 x) (pow.f64 x 3/2)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (fma.f64 x x (+.f64 (pow.f64 x 6) (pow.f64 x 4))) (-.f64 (pow.f64 x 3) (pow.f64 x 9))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (+.f64 x (pow.f64 x 3)) (-.f64 (*.f64 x x) (pow.f64 x 6))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (pow.f64 x 3) (pow.f64 x 9)) (fma.f64 x x (+.f64 (pow.f64 x 6) (pow.f64 x 4))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (*.f64 x x) (pow.f64 x 6)) (+.f64 x (pow.f64 x 3)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (-.f64 (pow.f64 x 3) (pow.f64 x 9))) (neg.f64 (fma.f64 x x (+.f64 (pow.f64 x 6) (pow.f64 x 4)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (-.f64 (*.f64 x x) (pow.f64 x 6))) (neg.f64 (+.f64 x (pow.f64 x 3))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 x 3) (pow.f64 (neg.f64 (pow.f64 x 3)) 3)) (+.f64 (*.f64 x x) (-.f64 (*.f64 (neg.f64 (pow.f64 x 3)) (neg.f64 (pow.f64 x 3))) (*.f64 x (neg.f64 (pow.f64 x 3))))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (*.f64 x x) (*.f64 (neg.f64 (pow.f64 x 3)) (neg.f64 (pow.f64 x 3)))) (-.f64 x (neg.f64 (pow.f64 x 3))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (-.f64 x (pow.f64 x 3)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (-.f64 x (pow.f64 x 3)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (-.f64 x (pow.f64 x 3))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (-.f64 x (pow.f64 x 3))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (-.f64 x (pow.f64 x 3)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (-.f64 x (pow.f64 x 3))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (-.f64 x (pow.f64 x 3)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (-.f64 x (pow.f64 x 3))))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (-.f64 x (pow.f64 x 3))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 x (neg.f64 (pow.f64 x 3)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 x) 2) (cbrt.f64 x) (neg.f64 (pow.f64 x 3)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 x) (sqrt.f64 x) (neg.f64 (pow.f64 x 3)))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (-.f64 x (pow.f64 x 3)))))))) |
| 1× | egg-herbie |
| 912× | fma-def_binary64 |
| 449× | associate-*l*_binary64 |
| 362× | unswap-sqr_binary64 |
| 271× | fma-neg_binary64 |
| 252× | associate-*r*_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 6 | 13 |
| 1 | 16 | 13 |
| 2 | 44 | 13 |
| 3 | 74 | 13 |
| 4 | 145 | 13 |
| 5 | 399 | 13 |
| 6 | 1414 | 13 |
| 7 | 2692 | 13 |
| 8 | 4522 | 13 |
| 1× | node limit |
| Inputs |
|---|
x |
(*.f64 -1 (pow.f64 x 3)) |
(*.f64 -1 (pow.f64 x 3)) |
| Outputs |
|---|
x |
(*.f64 -1 (pow.f64 x 3)) |
(neg.f64 (pow.f64 x 3)) |
(*.f64 -1 (pow.f64 x 3)) |
(neg.f64 (pow.f64 x 3)) |
5 alts after pruning (2 fresh and 3 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 40 | 0 | 40 |
| Fresh | 0 | 2 | 2 |
| Picked | 0 | 1 | 1 |
| Done | 0 | 2 | 2 |
| Total | 40 | 5 | 45 |
| Status | Error | Program |
|---|---|---|
| ✓ | 17.4b | (pow.f64 (cbrt.f64 (/.f64 x (fma.f64 x x 1))) 3) |
| ✓ | 16.4b | (/.f64 x (fma.f64 x x 1)) |
| ▶ | 32.0b | (/.f64 1 x) |
| ✓ | 31.1b | (-.f64 x (pow.f64 x 3)) |
| 42.0b | (cbrt.f64 (pow.f64 (/.f64 x (fma.f64 x x 1)) 3)) |
Compiled 511 to 344 computations (32.7% saved)
5 alts after pruning (1 fresh and 4 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 0 | 0 | 0 |
| Fresh | 0 | 1 | 1 |
| Picked | 0 | 1 | 1 |
| Done | 0 | 3 | 3 |
| Total | 0 | 5 | 5 |
| Status | Error | Program |
|---|---|---|
| ✓ | 17.4b | (pow.f64 (cbrt.f64 (/.f64 x (fma.f64 x x 1))) 3) |
| ✓ | 16.4b | (/.f64 x (fma.f64 x x 1)) |
| ✓ | 32.0b | (/.f64 1 x) |
| ✓ | 31.1b | (-.f64 x (pow.f64 x 3)) |
| 42.0b | (cbrt.f64 (pow.f64 (/.f64 x (fma.f64 x x 1)) 3)) |
Compiled 37 to 25 computations (32.4% saved)
Total 0.0b remaining (68.5%)
Threshold costs 0.0b (68.5%)
Compiled 104 to 65 computations (37.5% saved)
| 2× | binary-search |
2 calls:
| 10.0ms | x |
| 2.0ms | x |
| Iters | Point | Range | ||||
|---|---|---|---|---|---|---|
100000000.0 | ∈ [ | 1.5243018303468856 | , | 223752368919118240.0 | ] | |
-1e+22 | ∈ [ | -2.437678756068816e+22 | , | -6.487006824950932e+20 | ] | |
Compiled 2 to 1 computations (50% saved)
| 1× | egg-herbie |
| 1× | 1-exp_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 13 | 28 |
| 1 | 15 | 28 |
| 1× | saturated |
| Inputs |
|---|
(if (<=.f64 x -10000000000000000000000) (/.f64 1 x) (if (<=.f64 x 100000000) (/.f64 x (fma.f64 x x 1)) (/.f64 1 x))) |
| Outputs |
|---|
(if (<=.f64 x -10000000000000000000000) (/.f64 1 x) (if (<=.f64 x 100000000) (/.f64 x (fma.f64 x x 1)) (/.f64 1 x))) |
| 1× | fuel |
Compiled 79 to 53 computations (32.9% saved)
Loading profile data...