Time bar (total: 2.2s)
| 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 7 to 6 computations (14.3% saved)
| 1.5s | 8256× | body | 128 | valid |
Compiled 14 to 12 computations (14.3% saved)
| 2× | egg-herbie |
| 1× | +-commutative_binary64 |
| 1× | 1-exp_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 7 | 4 |
| 1 | 10 | 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 6 to 5 computations (16.7% saved)
| 1× | egg-herbie |
| 1× | +-commutative_binary64 |
| 1× | 1-exp_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 7 | 4 |
| 1 | 10 | 4 |
| 1× | saturated |
| Inputs |
|---|
(+.f64 x (/.f64 1 3)) |
| Outputs |
|---|
(+.f64 x (/.f64 1 3)) |
(+.f64 x 1/3) |
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 17 to 13 computations (23.5% saved)
Found 1 expressions with local error:
| New | Error | Program |
|---|---|---|
| ✓ | 0.0b | (+.f64 x 1/3) |
3 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 1.0ms | x | @ | -inf | (+.f64 x 1/3) |
| 1.0ms | x | @ | inf | (+.f64 x 1/3) |
| 1.0ms | x | @ | 0 | (+.f64 x 1/3) |
| 1× | batch-egg-rewrite |
| 473× | pow1_binary64 |
| 446× | add-log-exp_binary64 |
| 446× | log1p-expm1-u_binary64 |
| 446× | expm1-log1p-u_binary64 |
| 439× | add-exp-log_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 4 | 4 |
| 1 | 91 | 4 |
| 2 | 1149 | 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 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 expm1.f64 (log1p.f64 (+.f64 x 1/3))))))) |
| 1× | egg-herbie |
| 1× | +-commutative_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 4 | 39 |
| 1 | 5 | 39 |
| 1× | saturated |
| Inputs |
|---|
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) |
| Outputs |
|---|
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) |
2 alts after pruning (1 fresh and 1 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 32 | 1 | 33 |
| Fresh | 0 | 0 | 0 |
| Picked | 0 | 1 | 1 |
| Done | 0 | 0 | 0 |
| Total | 32 | 2 | 34 |
| Status | Error | Program |
|---|---|---|
| ✓ | 0.0b | (+.f64 x 1/3) |
| ▶ | 20.1b | (/.f64 (+.f64 1/27 (pow.f64 x 3)) (fma.f64 x x (-.f64 1/9 (*.f64 x 1/3)))) |
Compiled 299 to 221 computations (26.1% saved)
Found 3 expressions with local error:
| New | Error | Program |
|---|---|---|
| ✓ | 0.0b | (-.f64 1/9 (*.f64 x 1/3)) |
| ✓ | 0.3b | (*.f64 x 1/3) |
| ✓ | 19.3b | (/.f64 (+.f64 1/27 (pow.f64 x 3)) (fma.f64 x x (-.f64 1/9 (*.f64 x 1/3)))) |
9 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 5.0ms | x | @ | -inf | (/.f64 (+.f64 1/27 (pow.f64 x 3)) (fma.f64 x x (-.f64 1/9 (*.f64 x 1/3)))) |
| 1.0ms | x | @ | inf | (/.f64 (+.f64 1/27 (pow.f64 x 3)) (fma.f64 x x (-.f64 1/9 (*.f64 x 1/3)))) |
| 1.0ms | x | @ | 0 | (/.f64 (+.f64 1/27 (pow.f64 x 3)) (fma.f64 x x (-.f64 1/9 (*.f64 x 1/3)))) |
| 1.0ms | x | @ | inf | (-.f64 1/9 (*.f64 x 1/3)) |
| 1.0ms | x | @ | -inf | (-.f64 1/9 (*.f64 x 1/3)) |
| 1× | batch-egg-rewrite |
| 385× | prod-diff_binary64 |
| 224× | expm1-udef_binary64 |
| 224× | log1p-udef_binary64 |
| 131× | add-sqr-sqrt_binary64 |
| 125× | add-cbrt-cube_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 12 | 31 |
| 1 | 274 | 31 |
| 2 | 3413 | 31 |
| 1× | node limit |
| Inputs |
|---|
(/.f64 (+.f64 1/27 (pow.f64 x 3)) (fma.f64 x x (-.f64 1/9 (*.f64 x 1/3)))) |
(*.f64 x 1/3) |
(-.f64 1/9 (*.f64 x 1/3)) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (/.f64 (+.f64 1/27 (pow.f64 x 3)) (fma.f64 x x (+.f64 1/9 (*.f64 x -1/3)))))) 1)))) (#(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 (/.f64 (+.f64 1/27 (pow.f64 x 3)) (fma.f64 x x (+.f64 1/9 (*.f64 x -1/3)))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (/.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 (cbrt.f64 (/.f64 (+.f64 1/27 (pow.f64 x 3)) (fma.f64 x x (+.f64 1/9 (*.f64 x -1/3))))) (pow.f64 (cbrt.f64 (/.f64 (+.f64 1/27 (pow.f64 x 3)) (fma.f64 x x (+.f64 1/9 (*.f64 x -1/3))))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (/.f64 (+.f64 1/27 (pow.f64 x 3)) (fma.f64 x x (+.f64 1/9 (*.f64 x -1/3))))) 2) (cbrt.f64 (/.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 (pow.f64 (cbrt.f64 (+.f64 1/27 (pow.f64 x 3))) 2) (*.f64 (cbrt.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 (sqrt.f64 (/.f64 (+.f64 1/27 (pow.f64 x 3)) (fma.f64 x x (+.f64 1/9 (*.f64 x -1/3))))) (sqrt.f64 (/.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 (sqrt.f64 (+.f64 1/27 (pow.f64 x 3))) (*.f64 (sqrt.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 (+.f64 (neg.f64 (pow.f64 x 3)) -1/27) (/.f64 1 (neg.f64 (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 (+.f64 1/9 (*.f64 x -1/3)))) (+.f64 1/27 (pow.f64 x 3)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (pow.f64 (cbrt.f64 (+.f64 1/27 (pow.f64 x 3))) 2) 1) (/.f64 (cbrt.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 (sqrt.f64 (+.f64 1/27 (pow.f64 x 3))) 1) (/.f64 (sqrt.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 (pow.f64 (cbrt.f64 (fma.f64 x x (+.f64 1/9 (*.f64 x -1/3)))) 2)) (/.f64 (+.f64 1/27 (pow.f64 x 3)) (cbrt.f64 (fma.f64 x x (+.f64 1/9 (*.f64 x -1/3))))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (pow.f64 (cbrt.f64 (+.f64 1/27 (pow.f64 x 3))) 2) (pow.f64 (cbrt.f64 (fma.f64 x x (+.f64 1/9 (*.f64 x -1/3)))) 2)) (cbrt.f64 (/.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 (sqrt.f64 (+.f64 1/27 (pow.f64 x 3))) (pow.f64 (cbrt.f64 (fma.f64 x x (+.f64 1/9 (*.f64 x -1/3)))) 2)) (/.f64 (sqrt.f64 (+.f64 1/27 (pow.f64 x 3))) (cbrt.f64 (fma.f64 x x (+.f64 1/9 (*.f64 x -1/3))))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 1 (hypot.f64 x (sqrt.f64 (+.f64 1/9 (*.f64 x -1/3))))) (/.f64 (+.f64 1/27 (pow.f64 x 3)) (hypot.f64 x (sqrt.f64 (+.f64 1/9 (*.f64 x -1/3))))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (pow.f64 (cbrt.f64 (+.f64 1/27 (pow.f64 x 3))) 2) (hypot.f64 x (sqrt.f64 (+.f64 1/9 (*.f64 x -1/3))))) (/.f64 (cbrt.f64 (+.f64 1/27 (pow.f64 x 3))) (hypot.f64 x (sqrt.f64 (+.f64 1/9 (*.f64 x -1/3))))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 (+.f64 1/27 (pow.f64 x 3)) (fma.f64 x x (+.f64 1/9 (*.f64 x -1/3)))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (/.f64 (+.f64 1/27 (pow.f64 x 3)) (fma.f64 x x (+.f64 1/9 (*.f64 x -1/3)))) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (/.f64 (+.f64 1/27 (pow.f64 x 3)) (fma.f64 x x (+.f64 1/9 (*.f64 x -1/3))))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (/.f64 (+.f64 1/27 (pow.f64 x 3)) (fma.f64 x x (+.f64 1/9 (*.f64 x -1/3))))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 (fma.f64 x x (+.f64 1/9 (*.f64 x -1/3))) (+.f64 1/27 (pow.f64 x 3))) -1)))) (#(struct:change #<rule egg-rr> (2) ((x neg.f64 (/.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 sqrt.f64 (pow.f64 (/.f64 (+.f64 1/27 (pow.f64 x 3)) (fma.f64 x x (+.f64 1/9 (*.f64 x -1/3)))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (/.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 log.f64 (+.f64 1 (expm1.f64 (/.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 cbrt.f64 (pow.f64 (/.f64 (+.f64 1/27 (pow.f64 x 3)) (fma.f64 x x (+.f64 1/9 (*.f64 x -1/3)))) 3))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (/.f64 (pow.f64 (+.f64 1/27 (pow.f64 x 3)) 3) (pow.f64 (fma.f64 x x (+.f64 1/9 (*.f64 x -1/3))) 3)))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (/.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 exp.f64 (log.f64 (/.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 exp.f64 (*.f64 (log.f64 (/.f64 (+.f64 1/27 (pow.f64 x 3)) (fma.f64 x x (+.f64 1/9 (*.f64 x -1/3))))) 1))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (/.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 (exp.f64 (log1p.f64 (*.f64 x 1/3))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 x 1/3) 1)))) (#(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 (pow.f64 (*.f64 x 1/3) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (*.f64 1/9 (*.f64 x x)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (pow.f64 (exp.f64 1/3) x))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.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 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 exp.f64 (*.f64 (log.f64 (*.f64 x 1/3)) 1))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 x 1/3))))))) |
((#(struct:change #<rule egg-rr> (2) ((x +.f64 1/9 (*.f64 x -1/3))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 1/9 (*.f64 (*.f64 x -1/3) 1))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 x -1/3) 1/9)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 1/9 (*.f64 x -1/3)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (+.f64 1/9 (*.f64 x -1/3)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (+.f64 1/9 (*.f64 x -1/3))) (pow.f64 (cbrt.f64 (+.f64 1/9 (*.f64 x -1/3))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (+.f64 1/9 (*.f64 x -1/3))) 2) (cbrt.f64 (+.f64 1/9 (*.f64 x -1/3))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (+.f64 1/9 (*.f64 x -1/3))) (sqrt.f64 (+.f64 1/9 (*.f64 x -1/3))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (-.f64 1/729 (pow.f64 (*.f64 x 1/3) 3)) (/.f64 1 (+.f64 1/81 (+.f64 (*.f64 1/9 (*.f64 x x)) (*.f64 1/27 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (-.f64 1/81 (*.f64 1/9 (*.f64 x x))) (/.f64 1 (+.f64 1/9 (*.f64 x 1/3))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (+.f64 1/81 (+.f64 (*.f64 1/9 (*.f64 x x)) (*.f64 1/27 x))) (-.f64 1/729 (pow.f64 (*.f64 x 1/3) 3))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (+.f64 1/9 (*.f64 x 1/3)) (-.f64 1/81 (*.f64 1/9 (*.f64 x x)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 1/729 (pow.f64 (*.f64 x 1/3) 3)) (+.f64 1/81 (+.f64 (*.f64 1/9 (*.f64 x x)) (*.f64 1/27 x))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 1/81 (*.f64 1/9 (*.f64 x x))) (+.f64 1/9 (*.f64 x 1/3)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (-.f64 1/729 (pow.f64 (*.f64 x 1/3) 3))) (neg.f64 (+.f64 1/81 (+.f64 (*.f64 1/9 (*.f64 x x)) (*.f64 1/27 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (-.f64 1/81 (*.f64 1/9 (*.f64 x x)))) (neg.f64 (+.f64 1/9 (*.f64 x 1/3))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 1/729 (pow.f64 (*.f64 x -1/3) 3)) (+.f64 1/81 (-.f64 (*.f64 (*.f64 x -1/3) (*.f64 x -1/3)) (*.f64 1/9 (*.f64 x -1/3)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 1/81 (*.f64 (*.f64 x -1/3) (*.f64 x -1/3))) (-.f64 1/9 (*.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 (pow.f64 (+.f64 1/9 (*.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 log.f64 (+.f64 1 (expm1.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 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))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (+.f64 1/9 (*.f64 x -1/3))) 1))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (+.f64 1/9 (*.f64 x -1/3)))))))) |
| 1× | egg-herbie |
| 16× | fma-def_binary64 |
| 11× | sub-neg_binary64 |
| 7× | +-commutative_binary64 |
| 5× | *-commutative_binary64 |
| 5× | associate-+l-_binary64 |
Useful iterations: 2 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 9 | 159 |
| 1 | 16 | 159 |
| 2 | 25 | 141 |
| 3 | 38 | 141 |
| 4 | 52 | 141 |
| 5 | 69 | 141 |
| 6 | 87 | 141 |
| 7 | 102 | 141 |
| 8 | 114 | 141 |
| 9 | 122 | 141 |
| 1× | saturated |
| Inputs |
|---|
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) |
(*.f64 1/3 x) |
(*.f64 1/3 x) |
(*.f64 1/3 x) |
(*.f64 1/3 x) |
(*.f64 1/3 x) |
(*.f64 1/3 x) |
(*.f64 1/3 x) |
(*.f64 1/3 x) |
(*.f64 1/3 x) |
(*.f64 1/3 x) |
(*.f64 1/3 x) |
(*.f64 1/3 x) |
1/9 |
(-.f64 1/9 (*.f64 1/3 x)) |
(-.f64 1/9 (*.f64 1/3 x)) |
(-.f64 1/9 (*.f64 1/3 x)) |
(*.f64 -1/3 x) |
(-.f64 1/9 (*.f64 1/3 x)) |
(-.f64 1/9 (*.f64 1/3 x)) |
(-.f64 1/9 (*.f64 1/3 x)) |
(*.f64 -1/3 x) |
(-.f64 1/9 (*.f64 1/3 x)) |
(-.f64 1/9 (*.f64 1/3 x)) |
(-.f64 1/9 (*.f64 1/3 x)) |
| Outputs |
|---|
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) |
(*.f64 1/3 x) |
(*.f64 1/3 x) |
(*.f64 1/3 x) |
(*.f64 1/3 x) |
(*.f64 1/3 x) |
(*.f64 1/3 x) |
(*.f64 1/3 x) |
(*.f64 1/3 x) |
(*.f64 1/3 x) |
(*.f64 1/3 x) |
(*.f64 1/3 x) |
(*.f64 1/3 x) |
1/9 |
(-.f64 1/9 (*.f64 1/3 x)) |
(+.f64 1/9 (*.f64 x -1/3)) |
(fma.f64 x -1/3 1/9) |
(-.f64 1/9 (*.f64 1/3 x)) |
(+.f64 1/9 (*.f64 x -1/3)) |
(fma.f64 x -1/3 1/9) |
(-.f64 1/9 (*.f64 1/3 x)) |
(+.f64 1/9 (*.f64 x -1/3)) |
(fma.f64 x -1/3 1/9) |
(*.f64 -1/3 x) |
(*.f64 x -1/3) |
(-.f64 1/9 (*.f64 1/3 x)) |
(+.f64 1/9 (*.f64 x -1/3)) |
(fma.f64 x -1/3 1/9) |
(-.f64 1/9 (*.f64 1/3 x)) |
(+.f64 1/9 (*.f64 x -1/3)) |
(fma.f64 x -1/3 1/9) |
(-.f64 1/9 (*.f64 1/3 x)) |
(+.f64 1/9 (*.f64 x -1/3)) |
(fma.f64 x -1/3 1/9) |
(*.f64 -1/3 x) |
(*.f64 x -1/3) |
(-.f64 1/9 (*.f64 1/3 x)) |
(+.f64 1/9 (*.f64 x -1/3)) |
(fma.f64 x -1/3 1/9) |
(-.f64 1/9 (*.f64 1/3 x)) |
(+.f64 1/9 (*.f64 x -1/3)) |
(fma.f64 x -1/3 1/9) |
(-.f64 1/9 (*.f64 1/3 x)) |
(+.f64 1/9 (*.f64 x -1/3)) |
(fma.f64 x -1/3 1/9) |
2 alts after pruning (0 fresh and 2 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 85 | 0 | 85 |
| Fresh | 0 | 0 | 0 |
| Picked | 0 | 1 | 1 |
| Done | 0 | 1 | 1 |
| Total | 85 | 2 | 87 |
| Status | Error | Program |
|---|---|---|
| ✓ | 0.0b | (+.f64 x 1/3) |
| ✓ | 20.1b | (/.f64 (+.f64 1/27 (pow.f64 x 3)) (fma.f64 x x (-.f64 1/9 (*.f64 x 1/3)))) |
Compiled 1644 to 1243 computations (24.4% saved)
Total 0.0b remaining (68.9%)
Threshold costs 0.0b (68.9%)
Compiled 224 to 173 computations (22.8% saved)
| 1× | egg-herbie |
| 1× | +-commutative_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 4 | 4 |
| 1 | 5 | 4 |
| 1× | saturated |
| Inputs |
|---|
(+.f64 x 1/3) |
| Outputs |
|---|
(+.f64 x 1/3) |
| 1× | done |
Compiled 27 to 20 computations (25.9% saved)
Loading profile data...