Time bar (total: 1.6s)
| 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 |
Compiled 8 to 6 computations (25% saved)
| 965.0ms | 8256× | body | 256 | 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 9 to 7 computations (22.2% 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 7 to 5 computations (28.6% saved)
Found 2 expressions with local error:
| New | Error | Program |
|---|---|---|
| 0.0b | (+.f64 x (/.f64 y 500)) | |
| ✓ | 0.0b | (+.f64 x (/.f64 y 500)) |
6 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 1.0ms | x | @ | 0 | (+.f64 x (/.f64 y 500)) |
| 1.0ms | y | @ | inf | (+.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× | add-log-exp_binary64 |
| 701× | log1p-expm1-u_binary64 |
| 701× | expm1-log1p-u_binary64 |
| 688× | 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 (+.f64 1 (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 (*.f64 (*.f64 y y) 1/250000) (-.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) (*.f64 (*.f64 y y) 1/250000)) (/.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) (*.f64 (*.f64 y y) 1/250000))))))) (#(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 (*.f64 (*.f64 y y) 1/250000) (-.f64 (*.f64 x x) (*.f64 x (*.f64 y 1/500)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (*.f64 x x) (*.f64 (*.f64 y y) 1/250000)) (-.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) (*.f64 (*.f64 y y) 1/250000))) (neg.f64 (-.f64 x (*.f64 y 1/500))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (*.f64 (*.f64 y y) 1/250000) (*.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 expm1.f64 (log1p.f64 (fma.f64 y 1/500 x)))))) (#(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 log1p.f64 (expm1.f64 (fma.f64 y 1/500 x)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.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 415 to 265 computations (36.1% saved)
5 alts after pruning (4 fresh and 1 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 34 | 4 | 38 |
| Fresh | 0 | 0 | 0 |
| Picked | 0 | 1 | 1 |
| Done | 0 | 0 | 0 |
| Total | 34 | 5 | 39 |
| Status | Error | Program |
|---|---|---|
| 33.2b | x | |
| ▶ | 0.1b | (+.f64 (*.f64 1/500 y) x) |
| ▶ | 30.0b | (*.f64 1/500 y) |
| ✓ | 0.0b | (+.f64 x (/.f64 y 500)) |
| ▶ | 0.1b | (fma.f64 y 1/500 x) |
Compiled 28 to 20 computations (28.6% saved)
Found 2 expressions with local error:
| New | Error | Program |
|---|---|---|
| 0.1b | (fma.f64 y 1/500 x) | |
| ✓ | 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 | y | @ | inf | (fma.f64 y 1/500 x) |
| 0.0ms | x | @ | -inf | (fma.f64 y 1/500 x) |
| 1× | batch-egg-rewrite |
| 450× | pow1_binary64 |
| 438× | add-sqr-sqrt_binary64 |
| 429× | *-un-lft-identity_binary64 |
| 416× | add-log-exp_binary64 |
| 416× | log1p-expm1-u_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 expm1.f64 (log1p.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 exp.f64 (log.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) |
Found 2 expressions with local error:
| New | Error | Program |
|---|---|---|
| 0.2b | (*.f64 1/500 y) | |
| ✓ | 0.2b | (*.f64 1/500 y) |
3 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 0.0ms | y | @ | inf | (*.f64 1/500 y) |
| 0.0ms | y | @ | -inf | (*.f64 1/500 y) |
| 0.0ms | y | @ | 0 | (*.f64 1/500 y) |
| 1× | batch-egg-rewrite |
| 345× | pow1_binary64 |
| 338× | add-sqr-sqrt_binary64 |
| 329× | *-un-lft-identity_binary64 |
| 321× | add-log-exp_binary64 |
| 321× | log1p-expm1-u_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 4 | 4 |
| 1 | 80 | 4 |
| 2 | 873 | 4 |
| 1× | node limit |
| Inputs |
|---|
(*.f64 1/500 y) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x +.f64 (+.f64 1 (*.f64 1/500 y)) -1)))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 0 (*.f64 1/500 y))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (cbrt.f64 (pow.f64 (exp.f64 y) 1/250))) (log.f64 (cbrt.f64 (pow.f64 (exp.f64 y) 1/500))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (pow.f64 (exp.f64 y) 1/1000)) (log.f64 (pow.f64 (exp.f64 y) 1/1000)))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (*.f64 1/500 y)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (pow.f64 (+.f64 1 (*.f64 1/500 y)) 3) 1) (+.f64 (*.f64 (+.f64 1 (*.f64 1/500 y)) (+.f64 1 (*.f64 1/500 y))) (+.f64 1 (*.f64 (+.f64 1 (*.f64 1/500 y)) 1))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (*.f64 (+.f64 1 (*.f64 1/500 y)) (+.f64 1 (*.f64 1/500 y))) 1) (+.f64 (+.f64 1 (*.f64 1/500 y)) 1))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 1/500 y) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 (*.f64 y y) 1/250000) 1/2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 (pow.f64 y 3) 1/125000000) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (*.f64 1/500 y)) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (*.f64 1/500 y)) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (E.f64) (log.f64 (*.f64 1/500 y)))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 (sqrt.f64 (log.f64 (*.f64 1/500 y)))) (sqrt.f64 (log.f64 (*.f64 1/500 y))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 (pow.f64 (cbrt.f64 (log.f64 (*.f64 1/500 y))) 2)) (cbrt.f64 (log.f64 (*.f64 1/500 y))))))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (*.f64 (*.f64 y y) 1/250000))))) (#(struct:change #<rule egg-rr> (2) ((x fabs.f64 (*.f64 1/500 y))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (pow.f64 (exp.f64 y) 1/500))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (*.f64 (pow.f64 y 3) 1/125000000))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 1/500 y)))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 1/500 y)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (*.f64 1/500 y)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (*.f64 (pow.f64 y 3) 1/125000000)) 1/3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (cbrt.f64 (*.f64 1/500 y))) 3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (sqrt.f64 (*.f64 1/500 y))) 2)))))) |
| 1× | egg-herbie |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 0 | 0 |
| 1× | saturated |
| Inputs |
|---|
| Outputs |
|---|
Found 4 expressions with local error:
| New | Error | Program |
|---|---|---|
| 0.2b | (*.f64 1/500 y) | |
| 0.0b | (+.f64 (*.f64 1/500 y) x) | |
| ✓ | 0.0b | (+.f64 (*.f64 1/500 y) x) |
| 0.2b | (*.f64 1/500 y) |
6 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 0.0ms | y | @ | 0 | (+.f64 (*.f64 1/500 y) x) |
| 0.0ms | x | @ | -inf | (+.f64 (*.f64 1/500 y) x) |
| 0.0ms | y | @ | -inf | (+.f64 (*.f64 1/500 y) x) |
| 0.0ms | y | @ | inf | (+.f64 (*.f64 1/500 y) x) |
| 0.0ms | x | @ | inf | (+.f64 (*.f64 1/500 y) x) |
| 1× | batch-egg-rewrite |
| 687× | pow1_binary64 |
| 642× | add-log-exp_binary64 |
| 642× | log1p-expm1-u_binary64 |
| 642× | expm1-log1p-u_binary64 |
| 629× | add-exp-log_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 6 | 5 |
| 1 | 131 | 5 |
| 2 | 1728 | 5 |
| 1× | node limit |
| Inputs |
|---|
(+.f64 (*.f64 1/500 y) x) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (fma.f64 1/500 y x)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (/.f64 (*.f64 (*.f64 y y) 1/250000) (-.f64 (*.f64 1/500 y) x)) (/.f64 (*.f64 x x) (-.f64 (*.f64 1/500 y) x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (fma.f64 1/500 y x) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (fma.f64 1/500 y x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (fma.f64 1/500 y x)) (pow.f64 (cbrt.f64 (fma.f64 1/500 y x)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (fma.f64 1/500 y x)) 2) (cbrt.f64 (fma.f64 1/500 y x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (fma.f64 1/500 y x)) (sqrt.f64 (fma.f64 1/500 y x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 (pow.f64 (*.f64 1/500 y) 3) (pow.f64 x 3)) (/.f64 1 (+.f64 (*.f64 (*.f64 y y) 1/250000) (*.f64 x (-.f64 x (*.f64 1/500 y))))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (-.f64 (*.f64 (*.f64 y y) 1/250000) (*.f64 x x)) (/.f64 1 (-.f64 (*.f64 1/500 y) x)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (+.f64 (*.f64 (*.f64 y y) 1/250000) (*.f64 x (-.f64 x (*.f64 1/500 y)))) (+.f64 (pow.f64 (*.f64 1/500 y) 3) (pow.f64 x 3))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (-.f64 (*.f64 1/500 y) x) (-.f64 (*.f64 (*.f64 y y) 1/250000) (*.f64 x x))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 (*.f64 1/500 y) 3) (pow.f64 x 3)) (+.f64 (*.f64 (*.f64 y y) 1/250000) (*.f64 x (-.f64 x (*.f64 1/500 y)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 (*.f64 1/500 y) 3) (pow.f64 x 3)) (+.f64 (*.f64 x x) (-.f64 (*.f64 (*.f64 y y) 1/250000) (*.f64 y (*.f64 1/500 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (*.f64 (*.f64 y y) 1/250000) (*.f64 x x)) (-.f64 (*.f64 1/500 y) x))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (+.f64 (pow.f64 (*.f64 1/500 y) 3) (pow.f64 x 3))) (neg.f64 (+.f64 (*.f64 (*.f64 y y) 1/250000) (*.f64 x (-.f64 x (*.f64 1/500 y))))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (-.f64 (*.f64 (*.f64 y y) 1/250000) (*.f64 x x))) (neg.f64 (-.f64 (*.f64 1/500 y) x)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (*.f64 x x) (*.f64 (*.f64 y y) 1/250000)) (-.f64 x (*.f64 1/500 y)))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (fma.f64 1/500 y x) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (fma.f64 1/500 y x) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (fma.f64 1/500 y x)) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (fma.f64 1/500 y x)) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (fma.f64 1/500 y x) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (fma.f64 1/500 y x)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (fma.f64 1/500 y x) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (fma.f64 1/500 y x)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1/500 y x)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 y 1/500 x)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (*.f64 1/500 y) x)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 x (*.f64 1/500 y))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 x) 2) (cbrt.f64 x) (*.f64 1/500 y))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 (*.f64 1/500 y)) 2) (cbrt.f64 (*.f64 1/500 y)) x)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 x) (sqrt.f64 x) (*.f64 1/500 y))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 (*.f64 1/500 y)) (sqrt.f64 (*.f64 1/500 y)) x)))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (fma.f64 1/500 y x)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (fma.f64 1/500 y x))))))) |
| 1× | egg-herbie |
| 1× | *-commutative_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 5 | 15 |
| 1 | 6 | 15 |
| 1× | saturated |
| Inputs |
|---|
x |
(*.f64 1/500 y) |
(*.f64 1/500 y) |
(*.f64 1/500 y) |
x |
x |
| Outputs |
|---|
x |
(*.f64 1/500 y) |
(*.f64 1/500 y) |
(*.f64 1/500 y) |
x |
x |
Compiled 1099 to 770 computations (29.9% saved)
5 alts after pruning (1 fresh and 4 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 112 | 0 | 112 |
| Fresh | 0 | 1 | 1 |
| Picked | 0 | 1 | 1 |
| Done | 0 | 3 | 3 |
| Total | 112 | 5 | 117 |
| Status | Error | Program |
|---|---|---|
| 33.2b | x | |
| ✓ | 0.1b | (+.f64 (*.f64 1/500 y) x) |
| ✓ | 30.0b | (*.f64 1/500 y) |
| ✓ | 0.0b | (+.f64 x (/.f64 y 500)) |
| ✓ | 0.1b | (fma.f64 y 1/500 x) |
Compiled 28 to 20 computations (28.6% saved)
Compiled 2 to 2 computations (0% saved)
5 alts after pruning (1 fresh and 4 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 0 | 0 | 0 |
| Fresh | 0 | 1 | 1 |
| Picked | 0 | 0 | 0 |
| Done | 0 | 4 | 4 |
| Total | 0 | 5 | 5 |
| Status | Error | Program |
|---|---|---|
| 33.2b | x | |
| ✓ | 0.1b | (+.f64 (*.f64 1/500 y) x) |
| ✓ | 30.0b | (*.f64 1/500 y) |
| ✓ | 0.0b | (+.f64 x (/.f64 y 500)) |
| ✓ | 0.1b | (fma.f64 y 1/500 x) |
Compiled 28 to 20 computations (28.6% saved)
Compiled 2 to 2 computations (0% saved)
5 alts after pruning (1 fresh and 4 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 0 | 0 | 0 |
| Fresh | 0 | 1 | 1 |
| Picked | 0 | 0 | 0 |
| Done | 0 | 4 | 4 |
| Total | 0 | 5 | 5 |
| Status | Error | Program |
|---|---|---|
| 33.2b | x | |
| ✓ | 0.1b | (+.f64 (*.f64 1/500 y) x) |
| ✓ | 30.0b | (*.f64 1/500 y) |
| ✓ | 0.0b | (+.f64 x (/.f64 y 500)) |
| ✓ | 0.1b | (fma.f64 y 1/500 x) |
Compiled 28 to 20 computations (28.6% saved)
| Inputs |
|---|
x |
(*.f64 1/500 y) |
(+.f64 (*.f64 1/500 y) x) |
(+.f64 x (/.f64 y 500)) |
(fma.f64 y 1/500 x) |
| Outputs |
|---|
(+.f64 x (/.f64 y 500)) |
4 calls:
| 8.0ms | y |
| 5.0ms | (/.f64 y 500) |
| 5.0ms | (+.f64 x (/.f64 y 500)) |
| 5.0ms | x |
| Error | Segments | Branch |
|---|---|---|
| 0.0b | 1 | x |
| 0.0b | 1 | y |
| 0.0b | 1 | (+.f64 x (/.f64 y 500)) |
| 0.0b | 1 | (/.f64 y 500) |
Compiled 38 to 25 computations (34.2% saved)
| Inputs |
|---|
x |
(*.f64 1/500 y) |
(+.f64 (*.f64 1/500 y) x) |
| Outputs |
|---|
(+.f64 (*.f64 1/500 y) x) |
2 calls:
| 4.0ms | x |
| 4.0ms | y |
| Error | Segments | Branch |
|---|---|---|
| 0.1b | 1 | x |
| 0.1b | 1 | y |
Compiled 17 to 11 computations (35.3% saved)
Total -48.2b remaining (-354.9%)
Threshold costs -48.2b (-354.9%)
| Inputs |
|---|
x |
(*.f64 1/500 y) |
| Outputs |
|---|
x |
(*.f64 1/500 y) |
x |
(*.f64 1/500 y) |
x |
2 calls:
| 15.0ms | y |
| 15.0ms | x |
| Error | Segments | Branch |
|---|---|---|
| 13.6b | 5 | x |
| 15.7b | 5 | y |
Compiled 12 to 8 computations (33.3% saved)
| 4× | binary-search |
| Time | Left | Right |
|---|---|---|
| 15.0ms | 3.5063752463231885e+44 | 2.344022592268156e+57 |
| 16.0ms | -1.575940207154852e-64 | -9.593679475205441e-65 |
| 15.0ms | -7.718590485513873e-21 | -9.224725971742045e-27 |
| 15.0ms | -2.5203459726222617e+50 | -5.431545885430777e+45 |
Compiled 12 to 9 computations (25% saved)
| 1× | egg-herbie |
| 2× | +-commutative_binary64 |
| 1× | *-commutative_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 22 | 50 |
| 1 | 25 | 50 |
| 1× | saturated |
| Inputs |
|---|
(+.f64 x (/.f64 y 500)) |
(+.f64 (*.f64 1/500 y) x) |
(if (<=.f64 x -252034597262226173544317666413353163200252759506944) x (if (<=.f64 x -2626500239704096256/340282366920938463463374607431768211456) (*.f64 1/500 y) (if (<=.f64 x -4671524072948459/29642774844752946028434172162224104410437116074403984394101141506025761187823616) x (if (<=.f64 x 350637524632318853012384691581376965833129984) (*.f64 1/500 y) x)))) |
x |
| Outputs |
|---|
(+.f64 x (/.f64 y 500)) |
(+.f64 (*.f64 1/500 y) x) |
(+.f64 x (*.f64 y 1/500)) |
(if (<=.f64 x -252034597262226173544317666413353163200252759506944) x (if (<=.f64 x -2626500239704096256/340282366920938463463374607431768211456) (*.f64 1/500 y) (if (<=.f64 x -4671524072948459/29642774844752946028434172162224104410437116074403984394101141506025761187823616) x (if (<=.f64 x 350637524632318853012384691581376965833129984) (*.f64 1/500 y) x)))) |
(if (<=.f64 x -252034597262226173544317666413353163200252759506944) x (if (<=.f64 x -5129883280672063/664613997892457936451903530140172288) (*.f64 y 1/500) (if (<=.f64 x -4671524072948459/29642774844752946028434172162224104410437116074403984394101141506025761187823616) x (if (<=.f64 x 350637524632318853012384691581376965833129984) (*.f64 y 1/500) x)))) |
x |
| 1× | fuel |
Compiled 82 to 54 computations (34.1% saved)
Loading profile data...