Time bar (total: 1.4s)
| 1× | search |
| Probability | Valid | Unknown | Precondition | Infinite | Domain | Can't | Iter |
|---|---|---|---|---|---|---|---|
| 0% | 0% | 100% | 0% | 0% | 0% | 0% | 0 |
| 0% | 0% | 100% | 0% | 0% | 0% | 0% | 1 |
| 0% | 0% | 100% | 0% | 0% | 0% | 0% | 2 |
| 50% | 50% | 50% | 0% | 0% | 0% | 0% | 3 |
| 75% | 75% | 25% | 0% | 0% | 0% | 0% | 4 |
| 87.5% | 87.5% | 12.5% | 0% | 0% | 0% | 0% | 5 |
| 93.8% | 93.7% | 6.2% | 0% | 0% | 0% | 0% | 6 |
| 96.9% | 96.8% | 3.1% | 0% | 0% | 0% | 0% | 7 |
| 98.4% | 98.4% | 1.6% | 0% | 0% | 0% | 0% | 8 |
| 99.2% | 99.2% | 0.8% | 0% | 0% | 0% | 0% | 9 |
| 99.6% | 99.6% | 0.4% | 0% | 0% | 0% | 0% | 10 |
| 99.8% | 99.8% | 0.2% | 0% | 0% | 0% | 0% | 11 |
| 99.9% | 99.9% | 0.1% | 0% | 0% | 0% | 0% | 12 |
Compiled 7 to 6 computations (14.3% saved)
| 724.0ms | 8256× | body | 256 | valid |
| 2× | egg-herbie |
| 1× | +-commutative_binary64 |
| 1× | sub-neg_binary64 |
| 1× | 1-exp_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 7 | 4 |
| 1 | 12 | 4 |
| 2 | 13 | 4 |
| 0 | 1 | 1 |
| 1× | saturated |
| 1× | saturated |
| Inputs |
|---|
0 |
| Outputs |
|---|
0 |
| Inputs |
|---|
(-.f64 x (/.f64 1 3)) |
| Outputs |
|---|
(-.f64 x (/.f64 1 3)) |
(+.f64 x -1/3) |
Compiled 7 to 6 computations (14.3% saved)
| 1× | egg-herbie |
| 1× | +-commutative_binary64 |
| 1× | sub-neg_binary64 |
| 1× | 1-exp_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 7 | 4 |
| 1 | 12 | 4 |
| 2 | 13 | 4 |
| 1× | saturated |
| Inputs |
|---|
(-.f64 x (/.f64 1 3)) |
| Outputs |
|---|
(-.f64 x (/.f64 1 3)) |
(+.f64 x -1/3) |
Compiled 9 to 7 computations (22.2% saved)
1 alts after pruning (1 fresh and 0 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 1 | 1 | 2 |
| Fresh | 1 | 0 | 1 |
| Picked | 0 | 0 | 0 |
| Done | 0 | 0 | 0 |
| Total | 2 | 1 | 3 |
| Status | Error | Program |
|---|---|---|
| ▶ | 0.0b | (+.f64 x -1/3) |
Compiled 4 to 3 computations (25% saved)
Found 1 expressions with local error:
| New | Error | Program |
|---|---|---|
| ✓ | 0.0b | (+.f64 x -1/3) |
Compiled 6 to 4 computations (33.3% saved)
3 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 0.0ms | x | @ | inf | (+.f64 x -1/3) |
| 0.0ms | x | @ | 0 | (+.f64 x -1/3) |
| 0.0ms | x | @ | -inf | (+.f64 x -1/3) |
| 1× | batch-egg-rewrite |
| 473× | pow1_binary64 |
| 468× | add-sqr-sqrt_binary64 |
| 456× | *-un-lft-identity_binary64 |
| 446× | add-log-exp_binary64 |
| 446× | log1p-expm1-u_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 4 | 4 |
| 1 | 91 | 4 |
| 2 | 1151 | 4 |
| 1× | node limit |
| Inputs |
|---|
(+.f64 x -1/3) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (+.f64 x -1/3)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (/.f64 (*.f64 x x) (+.f64 x 1/3)) (/.f64 1/9 (+.f64 x 1/3)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 x -1/3) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (+.f64 x -1/3))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (+.f64 x -1/3)) (pow.f64 (cbrt.f64 (+.f64 x -1/3)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (+.f64 x -1/3)) 2) (cbrt.f64 (+.f64 x -1/3)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (+.f64 x -1/3)) (sqrt.f64 (+.f64 x -1/3)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 -1/27 (pow.f64 x 3)) (/.f64 1 (fma.f64 x x (-.f64 1/9 (*.f64 x -1/3)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (fma.f64 x x -1/9) (/.f64 1 (+.f64 x 1/3)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (fma.f64 x x (-.f64 1/9 (*.f64 x -1/3))) (+.f64 -1/27 (pow.f64 x 3))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (+.f64 x 1/3) (fma.f64 x x -1/9)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 -1/27 (pow.f64 x 3)) (fma.f64 x x (-.f64 1/9 (*.f64 x -1/3))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 -1/27 (pow.f64 x 3)) (+.f64 1/9 (-.f64 (*.f64 x x) (*.f64 x -1/3))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (fma.f64 x x -1/9) (+.f64 x 1/3))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (+.f64 -1/27 (pow.f64 x 3))) (neg.f64 (fma.f64 x x (-.f64 1/9 (*.f64 x -1/3)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (fma.f64 x x -1/9)) (neg.f64 (+.f64 x 1/3)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 1/9 (*.f64 x x)) (-.f64 -1/3 x))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (+.f64 x -1/3) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (+.f64 x -1/3) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (+.f64 x -1/3)) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (+.f64 x -1/3)) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (+.f64 x -1/3) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (+.f64 x -1/3)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (+.f64 x -1/3) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (+.f64 x -1/3)))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (+.f64 x -1/3)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (+.f64 x -1/3)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 x -1/3)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 x) 2) (cbrt.f64 x) -1/3)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 x) (sqrt.f64 x) -1/3))))) |
| 1× | egg-herbie |
| 1× | +-commutative_binary64 |
| 1× | sub-neg_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 5 | 39 |
| 1 | 7 | 39 |
| 2 | 8 | 39 |
| 1× | saturated |
| Inputs |
|---|
-1/3 |
(-.f64 x 1/3) |
(-.f64 x 1/3) |
(-.f64 x 1/3) |
x |
(-.f64 x 1/3) |
(-.f64 x 1/3) |
(-.f64 x 1/3) |
x |
(-.f64 x 1/3) |
(-.f64 x 1/3) |
(-.f64 x 1/3) |
| Outputs |
|---|
-1/3 |
(-.f64 x 1/3) |
(+.f64 x -1/3) |
(-.f64 x 1/3) |
(+.f64 x -1/3) |
(-.f64 x 1/3) |
(+.f64 x -1/3) |
x |
(-.f64 x 1/3) |
(+.f64 x -1/3) |
(-.f64 x 1/3) |
(+.f64 x -1/3) |
(-.f64 x 1/3) |
(+.f64 x -1/3) |
x |
(-.f64 x 1/3) |
(+.f64 x -1/3) |
(-.f64 x 1/3) |
(+.f64 x -1/3) |
(-.f64 x 1/3) |
(+.f64 x -1/3) |
Compiled 268 to 198 computations (26.1% saved)
4 alts after pruning (3 fresh and 1 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 31 | 3 | 34 |
| Fresh | 0 | 0 | 0 |
| Picked | 0 | 1 | 1 |
| Done | 0 | 0 | 0 |
| Total | 31 | 4 | 35 |
| Status | Error | Program |
|---|---|---|
| 32.7b | -1/3 | |
| ▶ | 16.1b | (*.f64 (fma.f64 x x -1/9) (/.f64 1 (+.f64 x 1/3))) |
| 30.4b | x | |
| ✓ | 0.0b | (+.f64 x -1/3) |
Compiled 19 to 14 computations (26.3% saved)
Found 4 expressions with local error:
| New | Error | Program |
|---|---|---|
| ✓ | 0.0b | (fma.f64 x x -1/9) |
| ✓ | 0.0b | (+.f64 x 1/3) |
| ✓ | 0.0b | (/.f64 1 (+.f64 x 1/3)) |
| ✓ | 15.1b | (*.f64 (fma.f64 x x -1/9) (/.f64 1 (+.f64 x 1/3))) |
Compiled 27 to 19 computations (29.6% saved)
12 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 1.0ms | x | @ | -inf | (*.f64 (fma.f64 x x -1/9) (/.f64 1 (+.f64 x 1/3))) |
| 1.0ms | x | @ | 0 | (*.f64 (fma.f64 x x -1/9) (/.f64 1 (+.f64 x 1/3))) |
| 1.0ms | x | @ | inf | (/.f64 1 (+.f64 x 1/3)) |
| 0.0ms | x | @ | inf | (*.f64 (fma.f64 x x -1/9) (/.f64 1 (+.f64 x 1/3))) |
| 0.0ms | x | @ | 0 | (/.f64 1 (+.f64 x 1/3)) |
| 1× | batch-egg-rewrite |
| 906× | pow1_binary64 |
| 848× | add-log-exp_binary64 |
| 848× | log1p-expm1-u_binary64 |
| 848× | expm1-log1p-u_binary64 |
| 834× | add-exp-log_binary64 |
Useful iterations: 1 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 9 | 27 |
| 1 | 194 | 20 |
| 2 | 2373 | 20 |
| 1× | node limit |
| Inputs |
|---|
(*.f64 (fma.f64 x x -1/9) (/.f64 1 (+.f64 x 1/3))) |
(/.f64 1 (+.f64 x 1/3)) |
(+.f64 x 1/3) |
(fma.f64 x x -1/9) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x +.f64 x -1/3)))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 (*.f64 x x) (/.f64 1 (+.f64 x 1/3))) (*.f64 -1/9 (/.f64 1 (+.f64 x 1/3))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 (/.f64 1 (+.f64 x 1/3)) (*.f64 x x)) (*.f64 (/.f64 1 (+.f64 x 1/3)) -1/9))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 x 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (-.f64 x 1/3)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (fma.f64 x x -1/9) (+.f64 x 1/3))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (+.f64 x 1/3) (fma.f64 x x -1/9)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (pow.f64 (cbrt.f64 (fma.f64 x x -1/9)) 2) (/.f64 (+.f64 x 1/3) (cbrt.f64 (fma.f64 x x -1/9))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (sqrt.f64 (fma.f64 x x -1/9)) (/.f64 (+.f64 x 1/3) (sqrt.f64 (fma.f64 x x -1/9))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (fma.f64 x x -1/9)) (+.f64 -1/3 (neg.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (/.f64 (fma.f64 x x -1/9) (sqrt.f64 (+.f64 x 1/3))) (sqrt.f64 (+.f64 x 1/3)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (/.f64 (fma.f64 x x -1/9) 1) (+.f64 x 1/3))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (/.f64 (fma.f64 x x -1/9) (pow.f64 (cbrt.f64 (+.f64 x 1/3)) 2)) (cbrt.f64 (+.f64 x 1/3)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (pow.f64 x 3) 1/27) (+.f64 (*.f64 x x) (+.f64 1/9 (*.f64 x 1/3))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 -1 (fma.f64 x x -1/9)) (+.f64 -1/3 (neg.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (fma.f64 x x -1/9) -1) (+.f64 -1/3 (neg.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (-.f64 x 1/3) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (-.f64 x 1/3)) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (-.f64 x 1/3)) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (-.f64 x 1/3) 1)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (-.f64 x 1/3) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (-.f64 x 1/3)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (-.f64 x 1/3) 3))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (/.f64 (pow.f64 (fma.f64 x x -1/9) 3) (pow.f64 (+.f64 x 1/3) 3)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (*.f64 (pow.f64 (fma.f64 x x -1/9) 3) (pow.f64 (/.f64 1 (+.f64 x 1/3)) 3)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (*.f64 (pow.f64 (/.f64 1 (+.f64 x 1/3)) 3) (pow.f64 (fma.f64 x x -1/9) 3)))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (-.f64 x 1/3)))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (-.f64 x 1/3)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (-.f64 x 1/3)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 x -1/3)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 x) 2) (cbrt.f64 x) -1/3)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 x) (sqrt.f64 x) -1/3))))) |
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (/.f64 1 (+.f64 x 1/3))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (/.f64 1 (+.f64 x 1/3)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 1 (+.f64 x 1/3)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (/.f64 1 (+.f64 x 1/3))) (cbrt.f64 (pow.f64 (+.f64 x 1/3) -2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (pow.f64 (+.f64 x 1/3) -2)) (cbrt.f64 (/.f64 1 (+.f64 x 1/3))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (+.f64 x 1/3) -1/2) (pow.f64 (+.f64 x 1/3) -1/2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 -1 (/.f64 1 (+.f64 -1/3 (neg.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (pow.f64 (cbrt.f64 (+.f64 x 1/3)) 2) -1) (pow.f64 (cbrt.f64 (+.f64 x 1/3)) -1))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (sqrt.f64 (+.f64 x 1/3)) -1) (pow.f64 (sqrt.f64 (+.f64 x 1/3)) -1))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 1 (+.f64 1/27 (pow.f64 x 3))) (fma.f64 x x (-.f64 1/9 (*.f64 x 1/3))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 1 (fma.f64 x x -1/9)) (-.f64 x 1/3))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (+.f64 x 1/3) -1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 1 (+.f64 x 1/3)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (/.f64 1 (+.f64 x 1/3)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (/.f64 1 (+.f64 x 1/3))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (+.f64 x 1/3) -1/2) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (+.f64 x 1/3) -2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (/.f64 1 (+.f64 x 1/3))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (/.f64 1 (+.f64 x 1/3)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (/.f64 1 (+.f64 x 1/3))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (/.f64 1 (+.f64 x 1/3))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (neg.f64 (log.f64 (+.f64 x 1/3)))))))) |
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (+.f64 x 1/3)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (/.f64 (*.f64 x x) (-.f64 x 1/3)) (/.f64 1/9 (-.f64 x 1/3)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (fma.f64 x x -1/9) (/.f64 1 (-.f64 x 1/3)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (+.f64 x 1/3))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 x 1/3) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (+.f64 x 1/3)) (pow.f64 (cbrt.f64 (+.f64 x 1/3)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (+.f64 x 1/3)) 2) (cbrt.f64 (+.f64 x 1/3)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (+.f64 x 1/3)) (sqrt.f64 (+.f64 x 1/3)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 1/27 (pow.f64 x 3)) (/.f64 1 (fma.f64 x x (-.f64 1/9 (*.f64 x 1/3)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (fma.f64 x x -1/9) (-.f64 x 1/3))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 1 (+.f64 x 1/3)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (fma.f64 x x (-.f64 1/9 (*.f64 x 1/3))) (+.f64 1/27 (pow.f64 x 3))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (-.f64 x 1/3) (fma.f64 x x -1/9)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 x 1/3) 1)))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (pow.f64 (cbrt.f64 (+.f64 x 1/3)) 2) (cbrt.f64 (/.f64 1 (+.f64 x 1/3))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (sqrt.f64 (+.f64 x 1/3)) (pow.f64 (+.f64 x 1/3) -1/2))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 -1/3 (neg.f64 x)) -1)))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 1/27 (pow.f64 x 3)) (fma.f64 x x (-.f64 1/9 (*.f64 x 1/3))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 1/27 (pow.f64 x 3)) (+.f64 1/9 (-.f64 (*.f64 x x) (*.f64 x 1/3))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (fma.f64 x x -1/9)) (neg.f64 (-.f64 x 1/3)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (+.f64 1/27 (pow.f64 x 3))) (neg.f64 (fma.f64 x x (-.f64 1/9 (*.f64 x 1/3)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 1/9 (*.f64 x x)) (-.f64 1/3 x))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (+.f64 x 1/3) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (+.f64 x 1/3) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (+.f64 x 1/3)) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (+.f64 x 1/3)) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (+.f64 x 1/3) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (+.f64 x 1/3)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (+.f64 x 1/3) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (+.f64 x 1/3)))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (+.f64 x 1/3)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (+.f64 x 1/3)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 x 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 x) 2) (cbrt.f64 x) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 x) (sqrt.f64 x) 1/3))))) |
((#(struct:change #<rule egg-rr> (2) ((x +.f64 -1/9 (*.f64 x x))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 x x) -1/9)))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 (*.f64 x x) 1) -1/9)))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (*.f64 x x) 1/9)))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (fma.f64 x x -1/9)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (fma.f64 x x -1/9) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (fma.f64 x x -1/9))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (fma.f64 x x -1/9)) (pow.f64 (cbrt.f64 (fma.f64 x x -1/9)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (fma.f64 x x -1/9)) 2) (cbrt.f64 (fma.f64 x x -1/9)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (fma.f64 x x -1/9)) 2) (*.f64 (cbrt.f64 (fma.f64 x x -1/9)) 1))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (fma.f64 x x -1/9)) (sqrt.f64 (fma.f64 x x -1/9)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (fma.f64 x x -1/9)) (*.f64 (sqrt.f64 (fma.f64 x x -1/9)) 1))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (pow.f64 (*.f64 x x) 3) 1/729) (+.f64 (*.f64 (*.f64 x x) (*.f64 x x)) (+.f64 1/81 (*.f64 (*.f64 x x) 1/9))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 (*.f64 x x) 3) -1/729) (+.f64 (*.f64 (*.f64 x x) (*.f64 x x)) (-.f64 1/81 (*.f64 (*.f64 x x) -1/9))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (*.f64 (*.f64 x x) (*.f64 x x)) 1/81) (+.f64 (*.f64 x x) 1/9))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (*.f64 (*.f64 x x) (*.f64 x x)) 1/81) (-.f64 (*.f64 x x) -1/9))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (fma.f64 x x -1/9) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (fma.f64 x x -1/9) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (fma.f64 x x -1/9)) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (fma.f64 x x -1/9)) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (fma.f64 x x -1/9) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (fma.f64 x x -1/9)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (fma.f64 x x -1/9) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (fma.f64 x x -1/9)))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (fma.f64 x x -1/9)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (fma.f64 x x -1/9))))))) |
| 1× | egg-herbie |
| 761× | distribute-neg-frac_binary64 |
| 740× | associate-*l*_binary64 |
| 718× | fma-def_binary64 |
| 498× | associate-*r*_binary64 |
| 415× | times-frac_binary64 |
Useful iterations: 4 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 40 | 331 |
| 1 | 102 | 309 |
| 2 | 244 | 309 |
| 3 | 652 | 303 |
| 4 | 1937 | 300 |
| 5 | 7357 | 300 |
| 1× | node limit |
| Inputs |
|---|
-1/3 |
(-.f64 x 1/3) |
(-.f64 x 1/3) |
(-.f64 x 1/3) |
x |
(-.f64 x 1/3) |
(-.f64 x 1/3) |
(-.f64 x 1/3) |
x |
(-.f64 x 1/3) |
(-.f64 x 1/3) |
(-.f64 x 1/3) |
3 |
(+.f64 (*.f64 -9 x) 3) |
(+.f64 (*.f64 -9 x) (+.f64 3 (*.f64 27 (pow.f64 x 2)))) |
(+.f64 (*.f64 -9 x) (+.f64 (*.f64 -81 (pow.f64 x 3)) (+.f64 3 (*.f64 27 (pow.f64 x 2))))) |
(/.f64 1 x) |
(-.f64 (/.f64 1 x) (*.f64 1/3 (/.f64 1 (pow.f64 x 2)))) |
(-.f64 (+.f64 (*.f64 1/9 (/.f64 1 (pow.f64 x 3))) (/.f64 1 x)) (*.f64 1/3 (/.f64 1 (pow.f64 x 2)))) |
(-.f64 (+.f64 (*.f64 1/9 (/.f64 1 (pow.f64 x 3))) (/.f64 1 x)) (+.f64 (*.f64 1/3 (/.f64 1 (pow.f64 x 2))) (*.f64 1/27 (/.f64 1 (pow.f64 x 4))))) |
(/.f64 1 x) |
(-.f64 (/.f64 1 x) (*.f64 1/3 (/.f64 1 (pow.f64 x 2)))) |
(-.f64 (+.f64 (*.f64 1/9 (/.f64 1 (pow.f64 x 3))) (/.f64 1 x)) (*.f64 1/3 (/.f64 1 (pow.f64 x 2)))) |
(-.f64 (+.f64 (*.f64 1/9 (/.f64 1 (pow.f64 x 3))) (/.f64 1 x)) (+.f64 (*.f64 1/3 (/.f64 1 (pow.f64 x 2))) (*.f64 1/27 (/.f64 1 (pow.f64 x 4))))) |
1/3 |
(+.f64 1/3 x) |
(+.f64 1/3 x) |
(+.f64 1/3 x) |
x |
(+.f64 1/3 x) |
(+.f64 1/3 x) |
(+.f64 1/3 x) |
x |
(+.f64 1/3 x) |
(+.f64 1/3 x) |
(+.f64 1/3 x) |
-1/9 |
(-.f64 (pow.f64 x 2) 1/9) |
(-.f64 (pow.f64 x 2) 1/9) |
(-.f64 (pow.f64 x 2) 1/9) |
(pow.f64 x 2) |
(-.f64 (pow.f64 x 2) 1/9) |
(-.f64 (pow.f64 x 2) 1/9) |
(-.f64 (pow.f64 x 2) 1/9) |
(pow.f64 x 2) |
(-.f64 (pow.f64 x 2) 1/9) |
(-.f64 (pow.f64 x 2) 1/9) |
(-.f64 (pow.f64 x 2) 1/9) |
| Outputs |
|---|
-1/3 |
(-.f64 x 1/3) |
(+.f64 x -1/3) |
(-.f64 x 1/3) |
(+.f64 x -1/3) |
(-.f64 x 1/3) |
(+.f64 x -1/3) |
x |
(-.f64 x 1/3) |
(+.f64 x -1/3) |
(-.f64 x 1/3) |
(+.f64 x -1/3) |
(-.f64 x 1/3) |
(+.f64 x -1/3) |
x |
(-.f64 x 1/3) |
(+.f64 x -1/3) |
(-.f64 x 1/3) |
(+.f64 x -1/3) |
(-.f64 x 1/3) |
(+.f64 x -1/3) |
3 |
(+.f64 (*.f64 -9 x) 3) |
(fma.f64 -9 x 3) |
(fma.f64 x -9 3) |
(+.f64 (*.f64 -9 x) (+.f64 3 (*.f64 27 (pow.f64 x 2)))) |
(+.f64 (fma.f64 -9 x 3) (*.f64 27 (*.f64 x x))) |
(fma.f64 x -9 (fma.f64 27 (*.f64 x x) 3)) |
(fma.f64 x -9 (fma.f64 x (*.f64 x 27) 3)) |
(fma.f64 x (fma.f64 x 27 -9) 3) |
(+.f64 (*.f64 -9 x) (+.f64 (*.f64 -81 (pow.f64 x 3)) (+.f64 3 (*.f64 27 (pow.f64 x 2))))) |
(fma.f64 -9 x (fma.f64 -81 (pow.f64 x 3) (+.f64 3 (*.f64 27 (*.f64 x x))))) |
(fma.f64 x -9 (fma.f64 -81 (pow.f64 x 3) (fma.f64 27 (*.f64 x x) 3))) |
(fma.f64 x -9 (fma.f64 x (*.f64 x 27) (fma.f64 -81 (pow.f64 x 3) 3))) |
(fma.f64 x -9 (fma.f64 (*.f64 x x) (fma.f64 x -81 27) 3)) |
(fma.f64 x (fma.f64 x (fma.f64 x -81 27) -9) 3) |
(/.f64 1 x) |
(-.f64 (/.f64 1 x) (*.f64 1/3 (/.f64 1 (pow.f64 x 2)))) |
(-.f64 (/.f64 1 x) (/.f64 1/3 (*.f64 x x))) |
(+.f64 (/.f64 1 x) (/.f64 -1/3 (*.f64 x x))) |
(+.f64 (/.f64 1 x) (/.f64 (/.f64 -1/3 x) x)) |
(-.f64 (+.f64 (*.f64 1/9 (/.f64 1 (pow.f64 x 3))) (/.f64 1 x)) (*.f64 1/3 (/.f64 1 (pow.f64 x 2)))) |
(+.f64 (/.f64 1/9 (pow.f64 x 3)) (-.f64 (/.f64 1 x) (/.f64 1/3 (*.f64 x x)))) |
(+.f64 (+.f64 (/.f64 1 x) (/.f64 -1/3 (*.f64 x x))) (/.f64 1/9 (pow.f64 x 3))) |
(+.f64 (/.f64 1 x) (+.f64 (/.f64 1/9 (pow.f64 x 3)) (/.f64 -1/3 (*.f64 x x)))) |
(+.f64 (/.f64 1 x) (+.f64 (/.f64 1/9 (pow.f64 x 3)) (/.f64 (/.f64 -1/3 x) x))) |
(-.f64 (+.f64 (*.f64 1/9 (/.f64 1 (pow.f64 x 3))) (/.f64 1 x)) (+.f64 (*.f64 1/3 (/.f64 1 (pow.f64 x 2))) (*.f64 1/27 (/.f64 1 (pow.f64 x 4))))) |
(-.f64 (+.f64 (/.f64 1 x) (/.f64 1/9 (pow.f64 x 3))) (+.f64 (/.f64 1/3 (*.f64 x x)) (/.f64 1/27 (pow.f64 x 4)))) |
(+.f64 (/.f64 1/9 (pow.f64 x 3)) (-.f64 (+.f64 (/.f64 1 x) (/.f64 -1/3 (*.f64 x x))) (/.f64 1/27 (pow.f64 x 4)))) |
(+.f64 (/.f64 1 x) (+.f64 (/.f64 1/9 (pow.f64 x 3)) (+.f64 (/.f64 -1/3 (*.f64 x x)) (/.f64 -1/27 (pow.f64 x 4))))) |
(-.f64 (/.f64 1 x) (+.f64 (/.f64 1/3 (*.f64 x x)) (-.f64 (/.f64 1/27 (pow.f64 x 4)) (/.f64 1/9 (pow.f64 x 3))))) |
(+.f64 (/.f64 1 x) (+.f64 (/.f64 (/.f64 -1/3 x) x) (+.f64 (/.f64 1/9 (pow.f64 x 3)) (/.f64 -1/27 (pow.f64 x 4))))) |
(/.f64 1 x) |
(-.f64 (/.f64 1 x) (*.f64 1/3 (/.f64 1 (pow.f64 x 2)))) |
(-.f64 (/.f64 1 x) (/.f64 1/3 (*.f64 x x))) |
(+.f64 (/.f64 1 x) (/.f64 -1/3 (*.f64 x x))) |
(+.f64 (/.f64 1 x) (/.f64 (/.f64 -1/3 x) x)) |
(-.f64 (+.f64 (*.f64 1/9 (/.f64 1 (pow.f64 x 3))) (/.f64 1 x)) (*.f64 1/3 (/.f64 1 (pow.f64 x 2)))) |
(+.f64 (/.f64 1/9 (pow.f64 x 3)) (-.f64 (/.f64 1 x) (/.f64 1/3 (*.f64 x x)))) |
(+.f64 (+.f64 (/.f64 1 x) (/.f64 -1/3 (*.f64 x x))) (/.f64 1/9 (pow.f64 x 3))) |
(+.f64 (/.f64 1 x) (+.f64 (/.f64 1/9 (pow.f64 x 3)) (/.f64 -1/3 (*.f64 x x)))) |
(+.f64 (/.f64 1 x) (+.f64 (/.f64 1/9 (pow.f64 x 3)) (/.f64 (/.f64 -1/3 x) x))) |
(-.f64 (+.f64 (*.f64 1/9 (/.f64 1 (pow.f64 x 3))) (/.f64 1 x)) (+.f64 (*.f64 1/3 (/.f64 1 (pow.f64 x 2))) (*.f64 1/27 (/.f64 1 (pow.f64 x 4))))) |
(-.f64 (+.f64 (/.f64 1 x) (/.f64 1/9 (pow.f64 x 3))) (+.f64 (/.f64 1/3 (*.f64 x x)) (/.f64 1/27 (pow.f64 x 4)))) |
(+.f64 (/.f64 1/9 (pow.f64 x 3)) (-.f64 (+.f64 (/.f64 1 x) (/.f64 -1/3 (*.f64 x x))) (/.f64 1/27 (pow.f64 x 4)))) |
(+.f64 (/.f64 1 x) (+.f64 (/.f64 1/9 (pow.f64 x 3)) (+.f64 (/.f64 -1/3 (*.f64 x x)) (/.f64 -1/27 (pow.f64 x 4))))) |
(-.f64 (/.f64 1 x) (+.f64 (/.f64 1/3 (*.f64 x x)) (-.f64 (/.f64 1/27 (pow.f64 x 4)) (/.f64 1/9 (pow.f64 x 3))))) |
(+.f64 (/.f64 1 x) (+.f64 (/.f64 (/.f64 -1/3 x) x) (+.f64 (/.f64 1/9 (pow.f64 x 3)) (/.f64 -1/27 (pow.f64 x 4))))) |
1/3 |
(+.f64 1/3 x) |
(+.f64 x 1/3) |
(+.f64 1/3 x) |
(+.f64 x 1/3) |
(+.f64 1/3 x) |
(+.f64 x 1/3) |
x |
(+.f64 1/3 x) |
(+.f64 x 1/3) |
(+.f64 1/3 x) |
(+.f64 x 1/3) |
(+.f64 1/3 x) |
(+.f64 x 1/3) |
x |
(+.f64 1/3 x) |
(+.f64 x 1/3) |
(+.f64 1/3 x) |
(+.f64 x 1/3) |
(+.f64 1/3 x) |
(+.f64 x 1/3) |
-1/9 |
(-.f64 (pow.f64 x 2) 1/9) |
(+.f64 (*.f64 x x) -1/9) |
(fma.f64 x x -1/9) |
(-.f64 (pow.f64 x 2) 1/9) |
(+.f64 (*.f64 x x) -1/9) |
(fma.f64 x x -1/9) |
(-.f64 (pow.f64 x 2) 1/9) |
(+.f64 (*.f64 x x) -1/9) |
(fma.f64 x x -1/9) |
(pow.f64 x 2) |
(*.f64 x x) |
(-.f64 (pow.f64 x 2) 1/9) |
(+.f64 (*.f64 x x) -1/9) |
(fma.f64 x x -1/9) |
(-.f64 (pow.f64 x 2) 1/9) |
(+.f64 (*.f64 x x) -1/9) |
(fma.f64 x x -1/9) |
(-.f64 (pow.f64 x 2) 1/9) |
(+.f64 (*.f64 x x) -1/9) |
(fma.f64 x x -1/9) |
(pow.f64 x 2) |
(*.f64 x x) |
(-.f64 (pow.f64 x 2) 1/9) |
(+.f64 (*.f64 x x) -1/9) |
(fma.f64 x x -1/9) |
(-.f64 (pow.f64 x 2) 1/9) |
(+.f64 (*.f64 x x) -1/9) |
(fma.f64 x x -1/9) |
(-.f64 (pow.f64 x 2) 1/9) |
(+.f64 (*.f64 x x) -1/9) |
(fma.f64 x x -1/9) |
Compiled 1867 to 1349 computations (27.7% saved)
4 alts after pruning (3 fresh and 1 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 137 | 2 | 139 |
| Fresh | 1 | 1 | 2 |
| Picked | 1 | 0 | 1 |
| Done | 0 | 1 | 1 |
| Total | 139 | 4 | 143 |
| Status | Error | Program |
|---|---|---|
| ▶ | 33.0b | (*.f64 -1/9 (/.f64 1 (+.f64 x 1/3))) |
| 30.4b | x | |
| ✓ | 0.0b | (+.f64 x -1/3) |
| 32.7b | -1/3 |
Compiled 16 to 13 computations (18.8% saved)
Found 3 expressions with local error:
| New | Error | Program |
|---|---|---|
| 0.0b | (+.f64 x 1/3) | |
| 0.0b | (/.f64 1 (+.f64 x 1/3)) | |
| ✓ | 0.2b | (*.f64 -1/9 (/.f64 1 (+.f64 x 1/3))) |
Compiled 20 to 16 computations (20% saved)
3 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 0.0ms | x | @ | 0 | (*.f64 -1/9 (/.f64 1 (+.f64 x 1/3))) |
| 0.0ms | x | @ | inf | (*.f64 -1/9 (/.f64 1 (+.f64 x 1/3))) |
| 0.0ms | x | @ | -inf | (*.f64 -1/9 (/.f64 1 (+.f64 x 1/3))) |
| 1× | batch-egg-rewrite |
| 795× | pow1_binary64 |
| 744× | add-log-exp_binary64 |
| 744× | log1p-expm1-u_binary64 |
| 744× | expm1-log1p-u_binary64 |
| 732× | add-exp-log_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 8 | 7 |
| 1 | 173 | 7 |
| 2 | 2022 | 7 |
| 1× | node limit |
| Inputs |
|---|
(*.f64 -1/9 (/.f64 1 (+.f64 x 1/3))) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (/.f64 -1/9 (+.f64 x 1/3))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 -1/9 (+.f64 x 1/3))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (+.f64 x 1/3) -1/9))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1/9 (+.f64 -1/3 (neg.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (/.f64 -1/9 (cbrt.f64 (pow.f64 (+.f64 x 1/3) 2))) (cbrt.f64 (+.f64 x 1/3)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (/.f64 -1/9 (sqrt.f64 (+.f64 x 1/3))) (sqrt.f64 (+.f64 x 1/3)))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 -1/9 (+.f64 x 1/3)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (/.f64 -1/9 (+.f64 x 1/3)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (/.f64 -1/9 (+.f64 x 1/3))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (/.f64 -1/9 (+.f64 x 1/3))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (/.f64 1/81 (pow.f64 (+.f64 x 1/3) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (/.f64 -1/9 (+.f64 x 1/3))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (/.f64 -1/9 (+.f64 x 1/3)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (/.f64 -1/9 (+.f64 x 1/3))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (/.f64 -1/9 (+.f64 x 1/3))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (/.f64 -1/9 (+.f64 x 1/3)))))))) |
| 1× | egg-herbie |
| 722× | associate-*l*_binary64 |
| 693× | fma-def_binary64 |
| 500× | associate-*r*_binary64 |
| 410× | times-frac_binary64 |
| 371× | fma-neg_binary64 |
Useful iterations: 3 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 40 | 174 |
| 1 | 103 | 174 |
| 2 | 242 | 174 |
| 3 | 649 | 169 |
| 4 | 1967 | 169 |
| 5 | 7693 | 169 |
| 1× | node limit |
| Inputs |
|---|
-1/3 |
(-.f64 x 1/3) |
(-.f64 (+.f64 (*.f64 -3 (pow.f64 x 2)) x) 1/3) |
(-.f64 (+.f64 (*.f64 -3 (pow.f64 x 2)) (+.f64 (*.f64 9 (pow.f64 x 3)) x)) 1/3) |
(/.f64 -1/9 x) |
(-.f64 (*.f64 1/27 (/.f64 1 (pow.f64 x 2))) (*.f64 1/9 (/.f64 1 x))) |
(-.f64 (*.f64 1/27 (/.f64 1 (pow.f64 x 2))) (+.f64 (*.f64 1/81 (/.f64 1 (pow.f64 x 3))) (*.f64 1/9 (/.f64 1 x)))) |
(-.f64 (+.f64 (*.f64 1/243 (/.f64 1 (pow.f64 x 4))) (*.f64 1/27 (/.f64 1 (pow.f64 x 2)))) (+.f64 (*.f64 1/81 (/.f64 1 (pow.f64 x 3))) (*.f64 1/9 (/.f64 1 x)))) |
(/.f64 -1/9 x) |
(-.f64 (*.f64 1/27 (/.f64 1 (pow.f64 x 2))) (*.f64 1/9 (/.f64 1 x))) |
(-.f64 (*.f64 1/27 (/.f64 1 (pow.f64 x 2))) (+.f64 (*.f64 1/81 (/.f64 1 (pow.f64 x 3))) (*.f64 1/9 (/.f64 1 x)))) |
(-.f64 (+.f64 (*.f64 1/243 (/.f64 1 (pow.f64 x 4))) (*.f64 1/27 (/.f64 1 (pow.f64 x 2)))) (+.f64 (*.f64 1/81 (/.f64 1 (pow.f64 x 3))) (*.f64 1/9 (/.f64 1 x)))) |
| Outputs |
|---|
-1/3 |
(-.f64 x 1/3) |
(+.f64 x -1/3) |
(-.f64 (+.f64 (*.f64 -3 (pow.f64 x 2)) x) 1/3) |
(+.f64 (fma.f64 -3 (*.f64 x x) x) -1/3) |
(+.f64 x (fma.f64 -3 (*.f64 x x) -1/3)) |
(fma.f64 (fma.f64 x -3 1) x -1/3) |
(fma.f64 x (fma.f64 x -3 1) -1/3) |
(-.f64 (+.f64 (*.f64 -3 (pow.f64 x 2)) (+.f64 (*.f64 9 (pow.f64 x 3)) x)) 1/3) |
(+.f64 (fma.f64 -3 (*.f64 x x) (fma.f64 9 (pow.f64 x 3) x)) -1/3) |
(+.f64 (fma.f64 9 (pow.f64 x 3) x) (fma.f64 -3 (*.f64 x x) -1/3)) |
(+.f64 (fma.f64 x (*.f64 x (fma.f64 x 9 -3)) x) -1/3) |
(fma.f64 (*.f64 x x) (fma.f64 x 9 -3) (+.f64 x -1/3)) |
(/.f64 -1/9 x) |
(-.f64 (*.f64 1/27 (/.f64 1 (pow.f64 x 2))) (*.f64 1/9 (/.f64 1 x))) |
(-.f64 (/.f64 1/27 (*.f64 x x)) (/.f64 1/9 x)) |
(-.f64 (/.f64 (/.f64 1/27 x) x) (/.f64 1/9 x)) |
(+.f64 (/.f64 1/27 (*.f64 x x)) (/.f64 -1/9 x)) |
(-.f64 (*.f64 1/27 (/.f64 1 (pow.f64 x 2))) (+.f64 (*.f64 1/81 (/.f64 1 (pow.f64 x 3))) (*.f64 1/9 (/.f64 1 x)))) |
(-.f64 (/.f64 1/27 (*.f64 x x)) (+.f64 (/.f64 1/9 x) (/.f64 1/81 (pow.f64 x 3)))) |
(+.f64 (-.f64 (/.f64 (/.f64 1/27 x) x) (/.f64 1/81 (pow.f64 x 3))) (/.f64 -1/9 x)) |
(+.f64 (/.f64 1/27 (*.f64 x x)) (+.f64 (/.f64 -1/9 x) (/.f64 -1/81 (pow.f64 x 3)))) |
(+.f64 (+.f64 (/.f64 1/27 (*.f64 x x)) (/.f64 -1/9 x)) (/.f64 -1/81 (pow.f64 x 3))) |
(-.f64 (+.f64 (*.f64 1/243 (/.f64 1 (pow.f64 x 4))) (*.f64 1/27 (/.f64 1 (pow.f64 x 2)))) (+.f64 (*.f64 1/81 (/.f64 1 (pow.f64 x 3))) (*.f64 1/9 (/.f64 1 x)))) |
(+.f64 (/.f64 1/243 (pow.f64 x 4)) (-.f64 (/.f64 1/27 (*.f64 x x)) (+.f64 (/.f64 1/9 x) (/.f64 1/81 (pow.f64 x 3))))) |
(+.f64 (+.f64 (-.f64 (/.f64 (/.f64 1/27 x) x) (/.f64 1/81 (pow.f64 x 3))) (/.f64 -1/9 x)) (/.f64 1/243 (pow.f64 x 4))) |
(+.f64 (/.f64 1/27 (*.f64 x x)) (+.f64 (/.f64 1/243 (pow.f64 x 4)) (+.f64 (/.f64 -1/9 x) (/.f64 -1/81 (pow.f64 x 3))))) |
(+.f64 (/.f64 1/27 (*.f64 x x)) (+.f64 (/.f64 -1/81 (pow.f64 x 3)) (+.f64 (/.f64 1/243 (pow.f64 x 4)) (/.f64 -1/9 x)))) |
(+.f64 (+.f64 (/.f64 1/27 (*.f64 x x)) (/.f64 -1/9 x)) (+.f64 (/.f64 1/243 (pow.f64 x 4)) (/.f64 -1/81 (pow.f64 x 3)))) |
(/.f64 -1/9 x) |
(-.f64 (*.f64 1/27 (/.f64 1 (pow.f64 x 2))) (*.f64 1/9 (/.f64 1 x))) |
(-.f64 (/.f64 1/27 (*.f64 x x)) (/.f64 1/9 x)) |
(-.f64 (/.f64 (/.f64 1/27 x) x) (/.f64 1/9 x)) |
(+.f64 (/.f64 1/27 (*.f64 x x)) (/.f64 -1/9 x)) |
(-.f64 (*.f64 1/27 (/.f64 1 (pow.f64 x 2))) (+.f64 (*.f64 1/81 (/.f64 1 (pow.f64 x 3))) (*.f64 1/9 (/.f64 1 x)))) |
(-.f64 (/.f64 1/27 (*.f64 x x)) (+.f64 (/.f64 1/9 x) (/.f64 1/81 (pow.f64 x 3)))) |
(+.f64 (-.f64 (/.f64 (/.f64 1/27 x) x) (/.f64 1/81 (pow.f64 x 3))) (/.f64 -1/9 x)) |
(+.f64 (/.f64 1/27 (*.f64 x x)) (+.f64 (/.f64 -1/9 x) (/.f64 -1/81 (pow.f64 x 3)))) |
(+.f64 (+.f64 (/.f64 1/27 (*.f64 x x)) (/.f64 -1/9 x)) (/.f64 -1/81 (pow.f64 x 3))) |
(-.f64 (+.f64 (*.f64 1/243 (/.f64 1 (pow.f64 x 4))) (*.f64 1/27 (/.f64 1 (pow.f64 x 2)))) (+.f64 (*.f64 1/81 (/.f64 1 (pow.f64 x 3))) (*.f64 1/9 (/.f64 1 x)))) |
(+.f64 (/.f64 1/243 (pow.f64 x 4)) (-.f64 (/.f64 1/27 (*.f64 x x)) (+.f64 (/.f64 1/9 x) (/.f64 1/81 (pow.f64 x 3))))) |
(+.f64 (+.f64 (-.f64 (/.f64 (/.f64 1/27 x) x) (/.f64 1/81 (pow.f64 x 3))) (/.f64 -1/9 x)) (/.f64 1/243 (pow.f64 x 4))) |
(+.f64 (/.f64 1/27 (*.f64 x x)) (+.f64 (/.f64 1/243 (pow.f64 x 4)) (+.f64 (/.f64 -1/9 x) (/.f64 -1/81 (pow.f64 x 3))))) |
(+.f64 (/.f64 1/27 (*.f64 x x)) (+.f64 (/.f64 -1/81 (pow.f64 x 3)) (+.f64 (/.f64 1/243 (pow.f64 x 4)) (/.f64 -1/9 x)))) |
(+.f64 (+.f64 (/.f64 1/27 (*.f64 x x)) (/.f64 -1/9 x)) (+.f64 (/.f64 1/243 (pow.f64 x 4)) (/.f64 -1/81 (pow.f64 x 3)))) |
Compiled 1178 to 977 computations (17.1% saved)
4 alts after pruning (2 fresh and 2 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 104 | 0 | 104 |
| Fresh | 0 | 2 | 2 |
| Picked | 0 | 1 | 1 |
| Done | 0 | 1 | 1 |
| Total | 104 | 4 | 108 |
| Status | Error | Program |
|---|---|---|
| ✓ | 33.0b | (*.f64 -1/9 (/.f64 1 (+.f64 x 1/3))) |
| 30.4b | x | |
| ✓ | 0.0b | (+.f64 x -1/3) |
| 32.7b | -1/3 |
Compiled 16 to 13 computations (18.8% saved)
Compiled 1 to 1 computations (0% saved)
4 alts after pruning (2 fresh and 2 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 0 | 0 | 0 |
| Fresh | 0 | 2 | 2 |
| Picked | 0 | 0 | 0 |
| Done | 0 | 2 | 2 |
| Total | 0 | 4 | 4 |
| Status | Error | Program |
|---|---|---|
| ✓ | 33.0b | (*.f64 -1/9 (/.f64 1 (+.f64 x 1/3))) |
| 30.4b | x | |
| ✓ | 0.0b | (+.f64 x -1/3) |
| 32.7b | -1/3 |
Compiled 16 to 13 computations (18.8% saved)
| Inputs |
|---|
x |
-1/3 |
x |
(+.f64 x -1/3) |
(-.f64 x (/.f64 1 3)) |
(*.f64 -1/9 (/.f64 1 (+.f64 x 1/3))) |
(*.f64 (fma.f64 x x -1/9) (/.f64 1 (+.f64 x 1/3))) |
| Outputs |
|---|
(+.f64 x -1/3) |
3 calls:
| 6.0ms | x |
| 4.0ms | (-.f64 x (/.f64 1 3)) |
| 4.0ms | (-.f64 x (/.f64 1 3)) |
| Error | Segments | Branch |
|---|---|---|
| 0.0b | 1 | x |
| 0.0b | 1 | (-.f64 x (/.f64 1 3)) |
| 0.0b | 1 | (-.f64 x (/.f64 1 3)) |
Compiled 43 to 32 computations (25.6% saved)
Total -60.4b remaining (-4468.5%)
Threshold costs -60.4b (-4468.5%)
| Inputs |
|---|
x |
-1/3 |
x |
| Outputs |
|---|
x |
-1/3 |
x |
1 calls:
| 11.0ms | x |
| Error | Segments | Branch |
|---|---|---|
| 1.4b | 3 | x |
Compiled 6 to 3 computations (50% saved)
| 2× | binary-search |
| Time | Left | Right |
|---|---|---|
| 32.0ms | 2.2078869502073876e-9 | 2318408269.198578 |
| 14.0ms | -2.9621526934651756 | -0.0018559628785769838 |
Compiled 10 to 8 computations (20% saved)
| 1× | egg-herbie |
| 1× | +-commutative_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 11 | 20 |
| 1 | 12 | 20 |
| 1× | fuel |
| 1× | saturated |
| Inputs |
|---|
(+.f64 x -1/3) |
(if (<=.f64 x -3335087441626069/1125899906842624) x (if (<=.f64 x 1334585770447955/604462909807314587353088) -1/3 x)) |
x |
| Outputs |
|---|
(+.f64 x -1/3) |
(if (<=.f64 x -3335087441626069/1125899906842624) x (if (<=.f64 x 1334585770447955/604462909807314587353088) -1/3 x)) |
x |
Compiled 18 to 12 computations (33.3% saved)
| 1× | egg-herbie |
| 1× | +-commutative_binary64 |
| 1× | sub-neg_binary64 |
| 1× | 1-exp_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 7 | 4 |
| 1 | 12 | 4 |
| 2 | 13 | 4 |
| 1× | saturated |
Compiled 22 to 18 computations (18.2% saved)
Compiled 16 to 10 computations (37.5% saved)
Loading profile data...