Time bar (total: 1.1s)
| 1× | search |
| True | Other | False | Iter |
|---|---|---|---|
| 0% | 99.9% | 0.1% | 0 |
| 0% | 99.9% | 0.1% | 1 |
| 0% | 99.9% | 0.1% | 2 |
| 0% | 99.9% | 0.1% | 3 |
| 0% | 99.9% | 0.1% | 4 |
| 25% | 74.9% | 0.1% | 5 |
| 37.5% | 62.4% | 0.1% | 6 |
| 56.2% | 43.7% | 0.1% | 7 |
| 65.6% | 34.3% | 0.1% | 8 |
| 76.5% | 23.4% | 0.1% | 9 |
| 82% | 18% | 0.1% | 10 |
| 87.8% | 12.1% | 0.1% | 11 |
| 90.7% | 9.2% | 0.1% | 12 |
| 93.8% | 6.1% | 0.1% | 13 |
| 95.3% | 4.6% | 0.1% | 14 |
Compiled 8 to 6 computations (25% saved)
| 728.0ms | 8256× | body | 128 | valid |
| 2× | egg-herbie |
| 2× | +-commutative_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 8 | 14 |
| 1 | 10 | 14 |
| 0 | 2 | 2 |
| 1× | saturated |
| 1× | saturated |
| Inputs |
|---|
0 |
1 |
| Outputs |
|---|
0 |
1 |
| Inputs |
|---|
(+.f64 x (/.f64 y 500)) |
(+.f64 y (/.f64 x 500)) |
| Outputs |
|---|
(+.f64 x (/.f64 y 500)) |
(+.f64 y (/.f64 x 500)) |
Compiled 7 to 5 computations (28.6% saved)
| 1× | egg-herbie |
| 1× | +-commutative_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 6 | 7 |
| 1 | 7 | 7 |
| 1× | saturated |
| Inputs |
|---|
(+.f64 x (/.f64 y 500)) |
| Outputs |
|---|
(+.f64 x (/.f64 y 500)) |
Compiled 7 to 5 computations (28.6% saved)
2 alts after pruning (2 fresh and 0 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 0 | 1 | 1 |
| Fresh | 0 | 1 | 1 |
| Picked | 0 | 0 | 0 |
| Done | 0 | 0 | 0 |
| Total | 0 | 2 | 2 |
| Status | Error | Program |
|---|---|---|
| ▶ | 0.0b | (+.f64 x (/.f64 y 500)) |
Compiled 14 to 10 computations (28.6% saved)
Found 1 expressions with local error:
| New | Error | Program |
|---|---|---|
| ✓ | 0.0b | (+.f64 x (/.f64 y 500)) |
6 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 1.0ms | y | @ | inf | (+.f64 x (/.f64 y 500)) |
| 0.0ms | x | @ | 0 | (+.f64 x (/.f64 y 500)) |
| 0.0ms | x | @ | inf | (+.f64 x (/.f64 y 500)) |
| 0.0ms | y | @ | 0 | (+.f64 x (/.f64 y 500)) |
| 0.0ms | y | @ | -inf | (+.f64 x (/.f64 y 500)) |
| 1× | batch-egg-rewrite |
| 743× | pow1_binary64 |
| 701× | log1p-expm1-u_binary64 |
| 701× | expm1-log1p-u_binary64 |
| 72× | add-sqr-sqrt_binary64 |
| 68× | add-exp-log_binary64 |
Useful iterations: 1 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 6 | 7 |
| 1 | 138 | 5 |
| 2 | 1885 | 5 |
| 1× | node limit |
| Inputs |
|---|
(+.f64 x (/.f64 y 500)) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (fma.f64 y 1/500 x))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (/.f64 (*.f64 x x) (-.f64 x (*.f64 y 1/500))) (/.f64 (pow.f64 (*.f64 y 1/500) 2) (-.f64 x (*.f64 y 1/500))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (fma.f64 y 1/500 x) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (fma.f64 y 1/500 x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (fma.f64 y 1/500 x)) (pow.f64 (cbrt.f64 (fma.f64 y 1/500 x)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (fma.f64 y 1/500 x)) 2) (cbrt.f64 (fma.f64 y 1/500 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (fma.f64 y 1/500 x)) (sqrt.f64 (fma.f64 y 1/500 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 (pow.f64 x 3) (*.f64 (pow.f64 y 3) 1/125000000)) (/.f64 1 (fma.f64 x x (*.f64 (*.f64 y 1/500) (-.f64 (*.f64 y 1/500) x)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (-.f64 (*.f64 x x) (pow.f64 (*.f64 y 1/500) 2)) (/.f64 1 (-.f64 x (*.f64 y 1/500))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (fma.f64 x x (*.f64 (*.f64 y 1/500) (-.f64 (*.f64 y 1/500) x))) (+.f64 (pow.f64 x 3) (*.f64 (pow.f64 y 3) 1/125000000))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (-.f64 x (*.f64 y 1/500)) (-.f64 (*.f64 x x) (pow.f64 (*.f64 y 1/500) 2))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 x 3) (*.f64 (pow.f64 y 3) 1/125000000)) (fma.f64 x x (*.f64 (*.f64 y 1/500) (-.f64 (*.f64 y 1/500) x))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 x 3) (*.f64 (pow.f64 y 3) 1/125000000)) (+.f64 (pow.f64 (*.f64 y 1/500) 2) (-.f64 (*.f64 x x) (*.f64 x (*.f64 y 1/500)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (*.f64 x x) (pow.f64 (*.f64 y 1/500) 2)) (-.f64 x (*.f64 y 1/500)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (+.f64 (pow.f64 x 3) (*.f64 (pow.f64 y 3) 1/125000000))) (neg.f64 (fma.f64 x x (*.f64 (*.f64 y 1/500) (-.f64 (*.f64 y 1/500) x)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (-.f64 (*.f64 x x) (pow.f64 (*.f64 y 1/500) 2))) (neg.f64 (-.f64 x (*.f64 y 1/500))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (pow.f64 (*.f64 y 1/500) 2) (*.f64 x x)) (-.f64 (*.f64 y 1/500) x))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (fma.f64 y 1/500 x) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (fma.f64 y 1/500 x) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (fma.f64 y 1/500 x)) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (fma.f64 y 1/500 x)) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (fma.f64 y 1/500 x) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (fma.f64 y 1/500 x)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (fma.f64 y 1/500 x))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (fma.f64 y 1/500 x) 3))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 y 1/500 x)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 x (*.f64 y 1/500))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (*.f64 y 1/500) x)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 (*.f64 y 1/500)) 2) (cbrt.f64 (*.f64 y 1/500)) x)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 x) 2) (cbrt.f64 x) (*.f64 y 1/500))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 (*.f64 y 1/500)) (sqrt.f64 (*.f64 y 1/500)) x)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 x) (sqrt.f64 x) (*.f64 y 1/500))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (fma.f64 y 1/500 x)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (fma.f64 y 1/500 x)) 1))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (fma.f64 y 1/500 x)))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (fma.f64 y 1/500 x))))))) |
| 1× | egg-herbie |
| 2× | fma-def_binary64 |
| 1× | +-commutative_binary64 |
| 1× | *-commutative_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 6 | 105 |
| 1 | 9 | 105 |
| 2 | 10 | 105 |
| 1× | saturated |
| Inputs |
|---|
(*.f64 1/500 y) |
(+.f64 (*.f64 1/500 y) x) |
(+.f64 (*.f64 1/500 y) x) |
(+.f64 (*.f64 1/500 y) x) |
x |
(+.f64 (*.f64 1/500 y) x) |
(+.f64 (*.f64 1/500 y) x) |
(+.f64 (*.f64 1/500 y) x) |
x |
(+.f64 (*.f64 1/500 y) x) |
(+.f64 (*.f64 1/500 y) x) |
(+.f64 (*.f64 1/500 y) x) |
x |
(+.f64 (*.f64 1/500 y) x) |
(+.f64 (*.f64 1/500 y) x) |
(+.f64 (*.f64 1/500 y) x) |
(*.f64 1/500 y) |
(+.f64 (*.f64 1/500 y) x) |
(+.f64 (*.f64 1/500 y) x) |
(+.f64 (*.f64 1/500 y) x) |
(*.f64 1/500 y) |
(+.f64 (*.f64 1/500 y) x) |
(+.f64 (*.f64 1/500 y) x) |
(+.f64 (*.f64 1/500 y) x) |
| Outputs |
|---|
(*.f64 1/500 y) |
(+.f64 (*.f64 1/500 y) x) |
(fma.f64 1/500 y x) |
(+.f64 (*.f64 1/500 y) x) |
(fma.f64 1/500 y x) |
(+.f64 (*.f64 1/500 y) x) |
(fma.f64 1/500 y x) |
x |
(+.f64 (*.f64 1/500 y) x) |
(fma.f64 1/500 y x) |
(+.f64 (*.f64 1/500 y) x) |
(fma.f64 1/500 y x) |
(+.f64 (*.f64 1/500 y) x) |
(fma.f64 1/500 y x) |
x |
(+.f64 (*.f64 1/500 y) x) |
(fma.f64 1/500 y x) |
(+.f64 (*.f64 1/500 y) x) |
(fma.f64 1/500 y x) |
(+.f64 (*.f64 1/500 y) x) |
(fma.f64 1/500 y x) |
x |
(+.f64 (*.f64 1/500 y) x) |
(fma.f64 1/500 y x) |
(+.f64 (*.f64 1/500 y) x) |
(fma.f64 1/500 y x) |
(+.f64 (*.f64 1/500 y) x) |
(fma.f64 1/500 y x) |
(*.f64 1/500 y) |
(+.f64 (*.f64 1/500 y) x) |
(fma.f64 1/500 y x) |
(+.f64 (*.f64 1/500 y) x) |
(fma.f64 1/500 y x) |
(+.f64 (*.f64 1/500 y) x) |
(fma.f64 1/500 y x) |
(*.f64 1/500 y) |
(+.f64 (*.f64 1/500 y) x) |
(fma.f64 1/500 y x) |
(+.f64 (*.f64 1/500 y) x) |
(fma.f64 1/500 y x) |
(+.f64 (*.f64 1/500 y) x) |
(fma.f64 1/500 y x) |
Compiled 431 to 290 computations (32.7% saved)
2 alts after pruning (1 fresh and 1 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 39 | 1 | 40 |
| Fresh | 0 | 0 | 0 |
| Picked | 0 | 1 | 1 |
| Done | 0 | 0 | 0 |
| Total | 39 | 2 | 41 |
| Status | Error | Program |
|---|---|---|
| ▶ | 0.1b | (fma.f64 y 1/500 x) |
| ✓ | 0.0b | (+.f64 x (/.f64 y 500)) |
Compiled 19 to 13 computations (31.6% saved)
Found 1 expressions with local error:
| New | Error | Program |
|---|---|---|
| ✓ | 0.1b | (fma.f64 y 1/500 x) |
6 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 1.0ms | x | @ | 0 | (fma.f64 y 1/500 x) |
| 0.0ms | y | @ | -inf | (fma.f64 y 1/500 x) |
| 0.0ms | y | @ | 0 | (fma.f64 y 1/500 x) |
| 0.0ms | x | @ | -inf | (fma.f64 y 1/500 x) |
| 0.0ms | y | @ | inf | (fma.f64 y 1/500 x) |
| 1× | batch-egg-rewrite |
| 450× | pow1_binary64 |
| 416× | add-log-exp_binary64 |
| 416× | log1p-expm1-u_binary64 |
| 416× | expm1-log1p-u_binary64 |
| 408× | add-exp-log_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 5 | 5 |
| 1 | 100 | 5 |
| 2 | 1106 | 5 |
| 1× | node limit |
| Inputs |
|---|
(fma.f64 y 1/500 x) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x +.f64 x (*.f64 y 1/500))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 y 1/500) x)))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 (*.f64 y 1/500) 1) x)))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (fma.f64 y 1/500 x)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (fma.f64 y 1/500 x) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (fma.f64 y 1/500 x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (fma.f64 y 1/500 x)) (pow.f64 (cbrt.f64 (fma.f64 y 1/500 x)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (fma.f64 y 1/500 x)) 2) (cbrt.f64 (fma.f64 y 1/500 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (fma.f64 y 1/500 x)) (sqrt.f64 (fma.f64 y 1/500 x)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 (*.f64 y 1/500) 3) (pow.f64 x 3)) (+.f64 (*.f64 (*.f64 y 1/500) (*.f64 y 1/500)) (-.f64 (*.f64 x x) (*.f64 (*.f64 y 1/500) x))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (*.f64 (*.f64 y 1/500) (*.f64 y 1/500)) (*.f64 x x)) (-.f64 (*.f64 y 1/500) x))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (fma.f64 y 1/500 x) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (fma.f64 y 1/500 x) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (fma.f64 y 1/500 x)) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (fma.f64 y 1/500 x)) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (fma.f64 y 1/500 x) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (fma.f64 y 1/500 x)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (fma.f64 y 1/500 x) 3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (fma.f64 y 1/500 x)))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (fma.f64 y 1/500 x)))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (fma.f64 y 1/500 x))))))) |
| 1× | egg-herbie |
| 2× | fma-def_binary64 |
| 1× | +-commutative_binary64 |
| 1× | *-commutative_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 6 | 105 |
| 1 | 9 | 105 |
| 2 | 10 | 105 |
| 1× | saturated |
| Inputs |
|---|
x |
(+.f64 (*.f64 1/500 y) x) |
(+.f64 (*.f64 1/500 y) x) |
(+.f64 (*.f64 1/500 y) x) |
(*.f64 1/500 y) |
(+.f64 (*.f64 1/500 y) x) |
(+.f64 (*.f64 1/500 y) x) |
(+.f64 (*.f64 1/500 y) x) |
(*.f64 1/500 y) |
(+.f64 (*.f64 1/500 y) x) |
(+.f64 (*.f64 1/500 y) x) |
(+.f64 (*.f64 1/500 y) x) |
(*.f64 1/500 y) |
(+.f64 (*.f64 1/500 y) x) |
(+.f64 (*.f64 1/500 y) x) |
(+.f64 (*.f64 1/500 y) x) |
x |
(+.f64 (*.f64 1/500 y) x) |
(+.f64 (*.f64 1/500 y) x) |
(+.f64 (*.f64 1/500 y) x) |
x |
(+.f64 (*.f64 1/500 y) x) |
(+.f64 (*.f64 1/500 y) x) |
(+.f64 (*.f64 1/500 y) x) |
| Outputs |
|---|
x |
(+.f64 (*.f64 1/500 y) x) |
(fma.f64 1/500 y x) |
(+.f64 (*.f64 1/500 y) x) |
(fma.f64 1/500 y x) |
(+.f64 (*.f64 1/500 y) x) |
(fma.f64 1/500 y x) |
(*.f64 1/500 y) |
(+.f64 (*.f64 1/500 y) x) |
(fma.f64 1/500 y x) |
(+.f64 (*.f64 1/500 y) x) |
(fma.f64 1/500 y x) |
(+.f64 (*.f64 1/500 y) x) |
(fma.f64 1/500 y x) |
(*.f64 1/500 y) |
(+.f64 (*.f64 1/500 y) x) |
(fma.f64 1/500 y x) |
(+.f64 (*.f64 1/500 y) x) |
(fma.f64 1/500 y x) |
(+.f64 (*.f64 1/500 y) x) |
(fma.f64 1/500 y x) |
(*.f64 1/500 y) |
(+.f64 (*.f64 1/500 y) x) |
(fma.f64 1/500 y x) |
(+.f64 (*.f64 1/500 y) x) |
(fma.f64 1/500 y x) |
(+.f64 (*.f64 1/500 y) x) |
(fma.f64 1/500 y x) |
x |
(+.f64 (*.f64 1/500 y) x) |
(fma.f64 1/500 y x) |
(+.f64 (*.f64 1/500 y) x) |
(fma.f64 1/500 y x) |
(+.f64 (*.f64 1/500 y) x) |
(fma.f64 1/500 y x) |
x |
(+.f64 (*.f64 1/500 y) x) |
(fma.f64 1/500 y x) |
(+.f64 (*.f64 1/500 y) x) |
(fma.f64 1/500 y x) |
(+.f64 (*.f64 1/500 y) x) |
(fma.f64 1/500 y x) |
Compiled 199 to 134 computations (32.7% saved)
2 alts after pruning (0 fresh and 2 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 25 | 0 | 25 |
| Fresh | 0 | 0 | 0 |
| Picked | 0 | 1 | 1 |
| Done | 0 | 1 | 1 |
| Total | 25 | 2 | 27 |
| Status | Error | Program |
|---|---|---|
| ✓ | 0.1b | (fma.f64 y 1/500 x) |
| ✓ | 0.0b | (+.f64 x (/.f64 y 500)) |
Compiled 13 to 9 computations (30.8% saved)
Total -0.1b remaining (-566.7%)
Threshold costs -0.1b (-566.7%)
| Inputs |
|---|
(fma.f64 y 1/500 x) |
(+.f64 x (/.f64 y 500)) |
| Outputs |
|---|
(+.f64 x (/.f64 y 500)) |
| Time | Error | Segments | Branch |
| 3.0ms | 0.0b | 1 | x |
| 3.0ms | 0.0b | 1 | y |
| 3.0ms | 0.0b | 1 | (+.f64 x (/.f64 y 500)) |
| 11.0ms | 0.0b | 1 | (/.f64 y 500) |
Compiled 29 to 20 computations (31% saved)
| 1× | egg-herbie |
| 1× | +-commutative_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 6 | 7 |
| 1 | 7 | 7 |
| 1× | saturated |
| Inputs |
|---|
(+.f64 x (/.f64 y 500)) |
| Outputs |
|---|
(+.f64 x (/.f64 y 500)) |
| 1× | done |
Compiled 14 to 10 computations (28.6% saved)
Loading profile data...