Time bar (total: 1.0s)
| 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)
| 697.0ms | 8256× | body | 128 | valid |
| 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 |
|---|---|---|
| ▶ | 12.2b | (/.f64 x (fma.f64 x x 1)) |
Compiled 28 to 16 computations (42.9% saved)
Found 1 expressions with local error:
| New | Error | Program |
|---|---|---|
| ✓ | 12.2b | (/.f64 x (fma.f64 x x 1)) |
3 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 1.0ms | x | @ | inf | (/.f64 x (fma.f64 x x 1)) |
| 1.0ms | x | @ | 0 | (/.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 log1p.f64 (expm1.f64 (/.f64 x (fma.f64 x x 1))))))) (#(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)))))))) |
| 1× | egg-herbie |
| 475× | fma-def_binary64 |
| 420× | times-frac_binary64 |
| 268× | sub-neg_binary64 |
| 259× | associate-*l*_binary64 |
| 219× | fma-neg_binary64 |
Useful iterations: 1 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 27 | 184 |
| 1 | 75 | 180 |
| 2 | 197 | 180 |
| 3 | 552 | 180 |
| 4 | 1468 | 180 |
| 5 | 3917 | 180 |
| 1× | node limit |
| Inputs |
|---|
x |
(+.f64 (*.f64 -1 (pow.f64 x 3)) x) |
(+.f64 (*.f64 -1 (pow.f64 x 3)) (+.f64 (pow.f64 x 5) x)) |
(+.f64 (*.f64 -1 (pow.f64 x 3)) (+.f64 (pow.f64 x 5) (+.f64 (*.f64 -1 (pow.f64 x 7)) x))) |
(/.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 3)) (/.f64 1 (pow.f64 x 7)))) |
(/.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 3)) (/.f64 1 (pow.f64 x 7)))) |
| Outputs |
|---|
x |
(+.f64 (*.f64 -1 (pow.f64 x 3)) x) |
(fma.f64 -1 (pow.f64 x 3) x) |
(-.f64 x (pow.f64 x 3)) |
(+.f64 (*.f64 -1 (pow.f64 x 3)) (+.f64 (pow.f64 x 5) x)) |
(fma.f64 -1 (pow.f64 x 3) (+.f64 x (pow.f64 x 5))) |
(-.f64 (+.f64 x (pow.f64 x 5)) (pow.f64 x 3)) |
(+.f64 x (-.f64 (pow.f64 x 5) (pow.f64 x 3))) |
(+.f64 (*.f64 -1 (pow.f64 x 3)) (+.f64 (pow.f64 x 5) (+.f64 (*.f64 -1 (pow.f64 x 7)) x))) |
(fma.f64 -1 (pow.f64 x 3) (+.f64 (pow.f64 x 5) (fma.f64 -1 (pow.f64 x 7) x))) |
(+.f64 (-.f64 (pow.f64 x 5) (pow.f64 x 7)) (-.f64 x (pow.f64 x 3))) |
(+.f64 x (-.f64 (-.f64 (pow.f64 x 5) (pow.f64 x 7)) (pow.f64 x 3))) |
(/.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 (/.f64 1 x) (/.f64 1 (pow.f64 x 5))) (/.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 (/.f64 1 (pow.f64 x 5)) (/.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 (/.f64 1 x) (-.f64 (/.f64 1 (pow.f64 x 5)) (+.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 (/.f64 1 x) (+.f64 (/.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 (/.f64 1 x) (/.f64 1 (pow.f64 x 5))) (/.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 (/.f64 1 (pow.f64 x 5)) (/.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 (/.f64 1 x) (-.f64 (/.f64 1 (pow.f64 x 5)) (+.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 (/.f64 1 x) (+.f64 (/.f64 1 (pow.f64 x 5)) (+.f64 (/.f64 -1 (pow.f64 x 3)) (/.f64 -1 (pow.f64 x 7))))) |
3 alts after pruning (2 fresh and 1 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 43 | 2 | 45 |
| Fresh | 0 | 0 | 0 |
| Picked | 0 | 1 | 1 |
| Done | 0 | 0 | 0 |
| Total | 43 | 3 | 46 |
| Status | Error | Program |
|---|---|---|
| ▶ | 12.2b | (*.f64 x (/.f64 1 (fma.f64 x x 1))) |
| 31.5b | (/.f64 1 x) | |
| ✓ | 12.2b | (/.f64 x (fma.f64 x x 1)) |
Compiled 546 to 367 computations (32.8% saved)
Found 2 expressions with local error:
| New | Error | Program |
|---|---|---|
| ✓ | 0.4b | (/.f64 1 (fma.f64 x x 1)) |
| ✓ | 11.8b | (*.f64 x (/.f64 1 (fma.f64 x x 1))) |
6 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 0.0ms | x | @ | inf | (/.f64 1 (fma.f64 x x 1)) |
| 0.0ms | x | @ | 0 | (/.f64 1 (fma.f64 x x 1)) |
| 0.0ms | x | @ | -inf | (/.f64 1 (fma.f64 x x 1)) |
| 0.0ms | x | @ | 0 | (*.f64 x (/.f64 1 (fma.f64 x x 1))) |
| 0.0ms | x | @ | inf | (*.f64 x (/.f64 1 (fma.f64 x x 1))) |
| 1× | batch-egg-rewrite |
| 548× | pow1_binary64 |
| 506× | add-log-exp_binary64 |
| 506× | log1p-expm1-u_binary64 |
| 506× | expm1-log1p-u_binary64 |
| 495× | add-exp-log_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 6 | 16 |
| 1 | 121 | 16 |
| 2 | 1447 | 16 |
| 1× | node limit |
| Inputs |
|---|
(*.f64 x (/.f64 1 (fma.f64 x x 1))) |
(/.f64 1 (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 (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 (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 (/.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 -1 x) (neg.f64 (fma.f64 x x 1)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 x -1) (neg.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 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 cbrt.f64 (*.f64 (pow.f64 x 3) (pow.f64 (/.f64 1 (fma.f64 x x 1)) 3)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (*.f64 (pow.f64 (/.f64 1 (fma.f64 x x 1)) 3) (pow.f64 x 3)))))) (#(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 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 -.f64 (+.f64 1 (/.f64 1 (fma.f64 x x 1))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (/.f64 1 (fma.f64 x x 1)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 1 (fma.f64 x x 1)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 1 (cbrt.f64 (fma.f64 x x 1))) (cbrt.f64 (pow.f64 (fma.f64 x x 1) -2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (pow.f64 (fma.f64 x x 1) -2)) (/.f64 1 (cbrt.f64 (fma.f64 x x 1))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (fma.f64 x x 1) -1/2) (pow.f64 (fma.f64 x x 1) -1/2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 -1 (/.f64 1 (neg.f64 (fma.f64 x x 1))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (pow.f64 (cbrt.f64 (fma.f64 x x 1)) 2) -1) (pow.f64 (cbrt.f64 (fma.f64 x x 1)) -1))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (sqrt.f64 (fma.f64 x x 1)) -1) (pow.f64 (sqrt.f64 (fma.f64 x x 1)) -1))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (fma.f64 x x 1) -1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 1 (fma.f64 x x 1)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (/.f64 1 (fma.f64 x x 1)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 1 (cbrt.f64 (fma.f64 x x 1))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (fma.f64 x x 1) -1/2) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (fma.f64 x x 1) -2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (/.f64 1 (fma.f64 x x 1))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (/.f64 1 (fma.f64 x x 1)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (/.f64 1 (fma.f64 x x 1))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (neg.f64 (log.f64 (fma.f64 x x 1))))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (/.f64 1 (fma.f64 x x 1)))))))) |
| 1× | egg-herbie |
| 643× | fma-def_binary64 |
| 412× | associate-*l*_binary64 |
| 264× | associate-*r*_binary64 |
| 243× | fma-neg_binary64 |
| 210× | associate-/r*_binary64 |
Useful iterations: 3 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 50 | 393 |
| 1 | 132 | 384 |
| 2 | 347 | 382 |
| 3 | 1144 | 380 |
| 4 | 4906 | 380 |
| 1× | node limit |
| Inputs |
|---|
x |
(+.f64 (*.f64 -1 (pow.f64 x 3)) x) |
(+.f64 (*.f64 -1 (pow.f64 x 3)) (+.f64 (pow.f64 x 5) x)) |
(+.f64 (*.f64 -1 (pow.f64 x 3)) (+.f64 (pow.f64 x 5) (+.f64 (*.f64 -1 (pow.f64 x 7)) x))) |
(/.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 3)) (/.f64 1 (pow.f64 x 7)))) |
(/.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 3)) (/.f64 1 (pow.f64 x 7)))) |
1 |
(+.f64 1 (*.f64 -1 (pow.f64 x 2))) |
(+.f64 1 (+.f64 (*.f64 -1 (pow.f64 x 2)) (pow.f64 x 4))) |
(+.f64 (*.f64 -1 (pow.f64 x 6)) (+.f64 1 (+.f64 (*.f64 -1 (pow.f64 x 2)) (pow.f64 x 4)))) |
(/.f64 1 (pow.f64 x 2)) |
(-.f64 (/.f64 1 (pow.f64 x 2)) (/.f64 1 (pow.f64 x 4))) |
(-.f64 (+.f64 (/.f64 1 (pow.f64 x 2)) (/.f64 1 (pow.f64 x 6))) (/.f64 1 (pow.f64 x 4))) |
(-.f64 (+.f64 (/.f64 1 (pow.f64 x 2)) (/.f64 1 (pow.f64 x 6))) (+.f64 (/.f64 1 (pow.f64 x 4)) (/.f64 1 (pow.f64 x 8)))) |
(/.f64 1 (pow.f64 x 2)) |
(-.f64 (/.f64 1 (pow.f64 x 2)) (/.f64 1 (pow.f64 x 4))) |
(-.f64 (+.f64 (/.f64 1 (pow.f64 x 2)) (/.f64 1 (pow.f64 x 6))) (/.f64 1 (pow.f64 x 4))) |
(-.f64 (+.f64 (/.f64 1 (pow.f64 x 2)) (/.f64 1 (pow.f64 x 6))) (+.f64 (/.f64 1 (pow.f64 x 4)) (/.f64 1 (pow.f64 x 8)))) |
| Outputs |
|---|
x |
(+.f64 (*.f64 -1 (pow.f64 x 3)) x) |
(fma.f64 -1 (pow.f64 x 3) x) |
(-.f64 x (pow.f64 x 3)) |
(+.f64 (*.f64 -1 (pow.f64 x 3)) (+.f64 (pow.f64 x 5) x)) |
(fma.f64 -1 (pow.f64 x 3) (+.f64 x (pow.f64 x 5))) |
(-.f64 (+.f64 x (pow.f64 x 5)) (pow.f64 x 3)) |
(+.f64 (*.f64 -1 (pow.f64 x 3)) (+.f64 (pow.f64 x 5) (+.f64 (*.f64 -1 (pow.f64 x 7)) x))) |
(fma.f64 -1 (pow.f64 x 3) (+.f64 (pow.f64 x 5) (fma.f64 -1 (pow.f64 x 7) x))) |
(+.f64 (-.f64 (pow.f64 x 5) (pow.f64 x 7)) (-.f64 x (pow.f64 x 3))) |
(+.f64 x (-.f64 (-.f64 (pow.f64 x 5) (pow.f64 x 3)) (pow.f64 x 7))) |
(-.f64 x (+.f64 (-.f64 (pow.f64 x 7) (pow.f64 x 5)) (pow.f64 x 3))) |
(/.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 (pow.f64 x 5)) (+.f64 (/.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 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 (/.f64 1 x) (+.f64 (/.f64 1 (pow.f64 x 5)) (+.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 (pow.f64 x 5)) (+.f64 (/.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 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 (/.f64 1 x) (+.f64 (/.f64 1 (pow.f64 x 5)) (+.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)))) |
1 |
(+.f64 1 (*.f64 -1 (pow.f64 x 2))) |
(+.f64 1 (neg.f64 (*.f64 x x))) |
(-.f64 1 (*.f64 x x)) |
(neg.f64 (fma.f64 x x -1)) |
(+.f64 1 (+.f64 (*.f64 -1 (pow.f64 x 2)) (pow.f64 x 4))) |
(+.f64 1 (fma.f64 -1 (*.f64 x x) (pow.f64 x 4))) |
(+.f64 (-.f64 1 (*.f64 x x)) (pow.f64 x 4)) |
(fma.f64 (*.f64 x x) (fma.f64 x x -1) 1) |
(-.f64 (pow.f64 x 4) (fma.f64 x x -1)) |
(+.f64 (*.f64 -1 (pow.f64 x 6)) (+.f64 1 (+.f64 (*.f64 -1 (pow.f64 x 2)) (pow.f64 x 4)))) |
(fma.f64 -1 (pow.f64 x 6) (+.f64 1 (fma.f64 -1 (*.f64 x x) (pow.f64 x 4)))) |
(-.f64 (+.f64 (-.f64 1 (*.f64 x x)) (pow.f64 x 4)) (pow.f64 x 6)) |
(fma.f64 (*.f64 x x) (fma.f64 x x -1) (-.f64 1 (pow.f64 x 6))) |
(-.f64 (-.f64 (pow.f64 x 4) (fma.f64 x x -1)) (pow.f64 x 6)) |
(/.f64 1 (pow.f64 x 2)) |
(/.f64 1 (*.f64 x x)) |
(-.f64 (/.f64 1 (pow.f64 x 2)) (/.f64 1 (pow.f64 x 4))) |
(-.f64 (/.f64 1 (*.f64 x x)) (/.f64 1 (pow.f64 x 4))) |
(+.f64 (/.f64 1 (*.f64 x x)) (/.f64 -1 (pow.f64 x 4))) |
(-.f64 (+.f64 (/.f64 1 (pow.f64 x 2)) (/.f64 1 (pow.f64 x 6))) (/.f64 1 (pow.f64 x 4))) |
(+.f64 (/.f64 1 (*.f64 x x)) (-.f64 (/.f64 1 (pow.f64 x 6)) (/.f64 1 (pow.f64 x 4)))) |
(+.f64 (/.f64 1 (*.f64 x x)) (+.f64 (/.f64 1 (pow.f64 x 6)) (/.f64 -1 (pow.f64 x 4)))) |
(-.f64 (+.f64 (/.f64 1 (pow.f64 x 2)) (/.f64 1 (pow.f64 x 6))) (+.f64 (/.f64 1 (pow.f64 x 4)) (/.f64 1 (pow.f64 x 8)))) |
(-.f64 (+.f64 (/.f64 1 (*.f64 x x)) (/.f64 1 (pow.f64 x 6))) (+.f64 (/.f64 1 (pow.f64 x 4)) (/.f64 1 (pow.f64 x 8)))) |
(+.f64 (/.f64 1 (*.f64 x x)) (-.f64 (+.f64 (/.f64 1 (pow.f64 x 6)) (/.f64 -1 (pow.f64 x 4))) (/.f64 1 (pow.f64 x 8)))) |
(+.f64 (/.f64 1 (pow.f64 x 6)) (+.f64 (/.f64 1 (*.f64 x x)) (+.f64 (/.f64 -1 (pow.f64 x 4)) (/.f64 -1 (pow.f64 x 8))))) |
(+.f64 (/.f64 1 (*.f64 x x)) (+.f64 (/.f64 1 (pow.f64 x 6)) (+.f64 (/.f64 -1 (pow.f64 x 4)) (/.f64 -1 (pow.f64 x 8))))) |
(/.f64 1 (pow.f64 x 2)) |
(/.f64 1 (*.f64 x x)) |
(-.f64 (/.f64 1 (pow.f64 x 2)) (/.f64 1 (pow.f64 x 4))) |
(-.f64 (/.f64 1 (*.f64 x x)) (/.f64 1 (pow.f64 x 4))) |
(+.f64 (/.f64 1 (*.f64 x x)) (/.f64 -1 (pow.f64 x 4))) |
(-.f64 (+.f64 (/.f64 1 (pow.f64 x 2)) (/.f64 1 (pow.f64 x 6))) (/.f64 1 (pow.f64 x 4))) |
(+.f64 (/.f64 1 (*.f64 x x)) (-.f64 (/.f64 1 (pow.f64 x 6)) (/.f64 1 (pow.f64 x 4)))) |
(+.f64 (/.f64 1 (*.f64 x x)) (+.f64 (/.f64 1 (pow.f64 x 6)) (/.f64 -1 (pow.f64 x 4)))) |
(-.f64 (+.f64 (/.f64 1 (pow.f64 x 2)) (/.f64 1 (pow.f64 x 6))) (+.f64 (/.f64 1 (pow.f64 x 4)) (/.f64 1 (pow.f64 x 8)))) |
(-.f64 (+.f64 (/.f64 1 (*.f64 x x)) (/.f64 1 (pow.f64 x 6))) (+.f64 (/.f64 1 (pow.f64 x 4)) (/.f64 1 (pow.f64 x 8)))) |
(+.f64 (/.f64 1 (*.f64 x x)) (-.f64 (+.f64 (/.f64 1 (pow.f64 x 6)) (/.f64 -1 (pow.f64 x 4))) (/.f64 1 (pow.f64 x 8)))) |
(+.f64 (/.f64 1 (pow.f64 x 6)) (+.f64 (/.f64 1 (*.f64 x x)) (+.f64 (/.f64 -1 (pow.f64 x 4)) (/.f64 -1 (pow.f64 x 8))))) |
(+.f64 (/.f64 1 (*.f64 x x)) (+.f64 (/.f64 1 (pow.f64 x 6)) (+.f64 (/.f64 -1 (pow.f64 x 4)) (/.f64 -1 (pow.f64 x 8))))) |
3 alts after pruning (1 fresh and 2 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 73 | 0 | 73 |
| Fresh | 0 | 1 | 1 |
| Picked | 0 | 1 | 1 |
| Done | 0 | 1 | 1 |
| Total | 73 | 3 | 76 |
| Status | Error | Program |
|---|---|---|
| ✓ | 12.2b | (*.f64 x (/.f64 1 (fma.f64 x x 1))) |
| ▶ | 31.5b | (/.f64 1 x) |
| ✓ | 12.2b | (/.f64 x (fma.f64 x x 1)) |
Compiled 853 to 600 computations (29.7% saved)
3 alts after pruning (0 fresh and 3 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 0 | 0 | 0 |
| Fresh | 0 | 0 | 0 |
| Picked | 0 | 1 | 1 |
| Done | 0 | 2 | 2 |
| Total | 0 | 3 | 3 |
| Status | Error | Program |
|---|---|---|
| ✓ | 12.2b | (*.f64 x (/.f64 1 (fma.f64 x x 1))) |
| ✓ | 31.5b | (/.f64 1 x) |
| ✓ | 12.2b | (/.f64 x (fma.f64 x x 1)) |
Compiled 21 to 14 computations (33.3% saved)
Total -43.7b remaining (-1118449.7%)
Threshold costs -43.7b (-1118449.7%)
| Inputs |
|---|
(*.f64 x (/.f64 1 (fma.f64 x x 1))) |
(/.f64 1 x) |
(/.f64 x (fma.f64 x x 1)) |
(/.f64 x (+.f64 (*.f64 x x) 1)) |
| Outputs |
|---|
(/.f64 1 x) |
(*.f64 x (/.f64 1 (fma.f64 x x 1))) |
(/.f64 1 x) |
| 11.0ms | 0.0b | x |
| 10.0ms | 0.1b | (/.f64 x (+.f64 (*.f64 x x) 1)) |
Compiled 35 to 21 computations (40% saved)
| 2× | binary-search |
2 calls:
| 15.0ms | x |
| 14.0ms | x |
| Iters | Point | Range | ||||
|---|---|---|---|---|---|---|
9.750713479882354 | ∈ [ | 9.750713479882354 | , | 668390034698.4778 | ] | |
-487797676.06549484 | ∈ [ | -487797676.06549484 | , | -49.5385517107909 | ] | |
Compiled 12 to 8 computations (33.3% saved)
| 1× | egg-herbie |
| 1× | *-commutative_binary64 |
| 1× | 1-exp_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 14 | 31 |
| 1 | 17 | 31 |
| 1× | saturated |
| Inputs |
|---|
(if (<=.f64 x -2095075065766102272/4294967296) (/.f64 1 x) (if (<=.f64 x 2744581849662165/281474976710656) (*.f64 x (/.f64 1 (fma.f64 x x 1))) (/.f64 1 x))) |
| Outputs |
|---|
(if (<=.f64 x -2095075065766102272/4294967296) (/.f64 1 x) (if (<=.f64 x 2744581849662165/281474976710656) (*.f64 x (/.f64 1 (fma.f64 x x 1))) (/.f64 1 x))) |
(if (<=.f64 x -8183886975648837/16777216) (/.f64 1 x) (if (<=.f64 x 2744581849662165/281474976710656) (*.f64 x (/.f64 1 (fma.f64 x x 1))) (/.f64 1 x))) |
| 1× | done |
Compiled 46 to 32 computations (30.4% saved)
Loading profile data...