Time bar (total: 2.2s)
| 1× | search |
| Probability | Valid | Unknown | Precondition | Infinite | Domain | Can't | Iter |
|---|---|---|---|---|---|---|---|
| 0% | 0% | 99.9% | 0.1% | 0% | 0% | 0% | 0 |
| 0% | 0% | 99.9% | 0.1% | 0% | 0% | 0% | 1 |
| 0% | 0% | 99.9% | 0.1% | 0% | 0% | 0% | 2 |
| 0% | 0% | 99.9% | 0.1% | 0% | 0% | 0% | 3 |
| 0% | 0% | 99.9% | 0.1% | 0% | 0% | 0% | 4 |
| 25% | 25% | 74.9% | 0.1% | 0% | 0% | 0% | 5 |
| 37.5% | 37.5% | 62.4% | 0.1% | 0% | 0% | 0% | 6 |
| 56.3% | 56.2% | 43.7% | 0.1% | 0% | 0% | 0% | 7 |
| 65.6% | 65.6% | 34.3% | 0.1% | 0% | 0% | 0% | 8 |
| 76.6% | 76.5% | 23.4% | 0.1% | 0% | 0% | 0% | 9 |
| 82% | 82% | 18% | 0.1% | 0% | 0% | 0% | 10 |
| 87.9% | 87.8% | 12.1% | 0.1% | 0% | 0% | 0% | 11 |
| 90.8% | 90.7% | 9.2% | 0.1% | 0% | 0% | 0% | 12 |
Compiled 8 to 5 computations (37.5% saved)
| 1.1s | 8256× | body | 256 | valid |
| 2× | egg-herbie |
| 4× | associate-+l+_binary64 |
| 4× | fma-def_binary64 |
| 3× | +-commutative_binary64 |
| 2× | *-commutative_binary64 |
| 2× | associate-+r+_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 7 | 14 |
| 1 | 11 | 14 |
| 2 | 17 | 14 |
| 3 | 20 | 10 |
| 4 | 24 | 10 |
| 5 | 26 | 10 |
| 0 | 2 | 2 |
| 1× | saturated |
| 1× | saturated |
| Inputs |
|---|
0 |
1 |
| Outputs |
|---|
0 |
1 |
| Inputs |
|---|
(+.f64 (+.f64 x y) x) |
(+.f64 (+.f64 y x) y) |
| Outputs |
|---|
(+.f64 (+.f64 x y) x) |
(+.f64 x (+.f64 x y)) |
(+.f64 y (+.f64 x x)) |
(fma.f64 2 x y) |
(fma.f64 x 2 y) |
(+.f64 (+.f64 y x) y) |
(+.f64 y (+.f64 x y)) |
(+.f64 x (+.f64 y y)) |
(fma.f64 2 y x) |
(fma.f64 y 2 x) |
Compiled 9 to 6 computations (33.3% saved)
| 1× | egg-herbie |
| 2× | +-commutative_binary64 |
| 2× | associate-+l+_binary64 |
| 2× | fma-def_binary64 |
| 1× | *-commutative_binary64 |
| 1× | associate-+r+_binary64 |
Useful iterations: 3 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 5 | 7 |
| 1 | 8 | 7 |
| 2 | 11 | 7 |
| 3 | 13 | 5 |
| 4 | 15 | 5 |
| 5 | 16 | 5 |
| 1× | saturated |
| Inputs |
|---|
(+.f64 (+.f64 x y) x) |
| Outputs |
|---|
(+.f64 (+.f64 x y) x) |
(+.f64 x (+.f64 x y)) |
(fma.f64 2 x y) |
(fma.f64 x 2 y) |
Compiled 11 to 6 computations (45.5% saved)
3 alts after pruning (3 fresh and 0 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 0 | 2 | 2 |
| Fresh | 0 | 1 | 1 |
| Picked | 0 | 0 | 0 |
| Done | 0 | 0 | 0 |
| Total | 0 | 3 | 3 |
| Status | Error | Program |
|---|---|---|
| ▶ | 0b | (fma.f64 x 2 y) |
| ▶ | 0.0b | (+.f64 (+.f64 x y) x) |
Compiled 13 to 8 computations (38.5% saved)
Found 1 expressions with local error:
| New | Error | Program |
|---|---|---|
| ✓ | 0.0b | (+.f64 (+.f64 x y) x) |
Compiled 12 to 4 computations (66.7% saved)
6 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 4.0ms | x | @ | inf | (+.f64 (+.f64 x y) x) |
| 1.0ms | x | @ | 0 | (+.f64 (+.f64 x y) x) |
| 0.0ms | y | @ | 0 | (+.f64 (+.f64 x y) x) |
| 0.0ms | y | @ | inf | (+.f64 (+.f64 x y) x) |
| 0.0ms | y | @ | -inf | (+.f64 (+.f64 x y) x) |
| 1× | batch-egg-rewrite |
| 761× | pow1_binary64 |
| 712× | add-log-exp_binary64 |
| 712× | log1p-expm1-u_binary64 |
| 712× | expm1-log1p-u_binary64 |
| 697× | add-exp-log_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 5 | 7 |
| 1 | 119 | 7 |
| 2 | 1871 | 7 |
| 1× | node limit |
| Inputs |
|---|
(+.f64 (+.f64 x y) x) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (+.f64 x (+.f64 x y))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (/.f64 (pow.f64 (+.f64 x y) 2) (+.f64 x (-.f64 y x))) (/.f64 (*.f64 x x) (+.f64 x (-.f64 y x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 x (+.f64 x y)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (+.f64 x (+.f64 x y)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (+.f64 x (+.f64 x y))) (pow.f64 (cbrt.f64 (+.f64 x (+.f64 x y))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (+.f64 x (+.f64 x y))) 2) (cbrt.f64 (+.f64 x (+.f64 x y))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (+.f64 x (+.f64 x y))) (sqrt.f64 (+.f64 x (+.f64 x y))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 (pow.f64 (+.f64 x y) 3) (pow.f64 x 3)) (/.f64 1 (+.f64 (pow.f64 (+.f64 x y) 2) (*.f64 x (-.f64 x (+.f64 x y))))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (-.f64 (pow.f64 (+.f64 x y) 2) (*.f64 x x)) (/.f64 1 (+.f64 x (-.f64 y x))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (+.f64 (pow.f64 (+.f64 x y) 2) (*.f64 x (-.f64 x (+.f64 x y)))) (+.f64 (pow.f64 (+.f64 x y) 3) (pow.f64 x 3))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (+.f64 x (-.f64 y x)) (-.f64 (pow.f64 (+.f64 x y) 2) (*.f64 x x))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 (+.f64 x y) 3) (pow.f64 x 3)) (+.f64 (pow.f64 (+.f64 x y) 2) (*.f64 x (-.f64 x (+.f64 x y)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 (+.f64 x y) 3) (pow.f64 x 3)) (+.f64 (*.f64 x x) (-.f64 (pow.f64 (+.f64 x y) 2) (*.f64 x (+.f64 x y)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (pow.f64 (+.f64 x y) 2) (*.f64 x x)) (+.f64 x (-.f64 y x)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (+.f64 (pow.f64 (+.f64 x y) 3) (pow.f64 x 3))) (neg.f64 (+.f64 (pow.f64 (+.f64 x y) 2) (*.f64 x (-.f64 x (+.f64 x y))))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (-.f64 (pow.f64 (+.f64 x y) 2) (*.f64 x x))) (neg.f64 (+.f64 x (-.f64 y x))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (*.f64 x x) (pow.f64 (+.f64 x y) 2)) (-.f64 x (+.f64 x y)))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (+.f64 x (+.f64 x y)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (+.f64 x (+.f64 x y)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (+.f64 x (+.f64 x y))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (+.f64 x (+.f64 x y))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (+.f64 x (+.f64 x y)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (+.f64 x (+.f64 x y))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (+.f64 x (+.f64 x y)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (+.f64 x (+.f64 x y))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (+.f64 x (+.f64 x y))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (+.f64 x (+.f64 x y))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 x (+.f64 x y))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (+.f64 x y) x)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 x) 2) (cbrt.f64 x) (+.f64 x y))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 (+.f64 x y)) 2) (cbrt.f64 (+.f64 x y)) x)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 x) (sqrt.f64 x) (+.f64 x y))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 (+.f64 x y)) (sqrt.f64 (+.f64 x y)) 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 |
|---|
y |
(+.f64 (*.f64 2 x) y) |
(+.f64 (*.f64 2 x) y) |
(+.f64 (*.f64 2 x) y) |
(*.f64 2 x) |
(+.f64 (*.f64 2 x) y) |
(+.f64 (*.f64 2 x) y) |
(+.f64 (*.f64 2 x) y) |
(*.f64 2 x) |
(+.f64 (*.f64 2 x) y) |
(+.f64 (*.f64 2 x) y) |
(+.f64 (*.f64 2 x) y) |
(*.f64 2 x) |
(+.f64 (*.f64 2 x) y) |
(+.f64 (*.f64 2 x) y) |
(+.f64 (*.f64 2 x) y) |
y |
(+.f64 (*.f64 2 x) y) |
(+.f64 (*.f64 2 x) y) |
(+.f64 (*.f64 2 x) y) |
y |
(+.f64 (*.f64 2 x) y) |
(+.f64 (*.f64 2 x) y) |
(+.f64 (*.f64 2 x) y) |
| Outputs |
|---|
y |
(+.f64 (*.f64 2 x) y) |
(fma.f64 2 x y) |
(+.f64 (*.f64 2 x) y) |
(fma.f64 2 x y) |
(+.f64 (*.f64 2 x) y) |
(fma.f64 2 x y) |
(*.f64 2 x) |
(+.f64 (*.f64 2 x) y) |
(fma.f64 2 x y) |
(+.f64 (*.f64 2 x) y) |
(fma.f64 2 x y) |
(+.f64 (*.f64 2 x) y) |
(fma.f64 2 x y) |
(*.f64 2 x) |
(+.f64 (*.f64 2 x) y) |
(fma.f64 2 x y) |
(+.f64 (*.f64 2 x) y) |
(fma.f64 2 x y) |
(+.f64 (*.f64 2 x) y) |
(fma.f64 2 x y) |
(*.f64 2 x) |
(+.f64 (*.f64 2 x) y) |
(fma.f64 2 x y) |
(+.f64 (*.f64 2 x) y) |
(fma.f64 2 x y) |
(+.f64 (*.f64 2 x) y) |
(fma.f64 2 x y) |
y |
(+.f64 (*.f64 2 x) y) |
(fma.f64 2 x y) |
(+.f64 (*.f64 2 x) y) |
(fma.f64 2 x y) |
(+.f64 (*.f64 2 x) y) |
(fma.f64 2 x y) |
y |
(+.f64 (*.f64 2 x) y) |
(fma.f64 2 x y) |
(+.f64 (*.f64 2 x) y) |
(fma.f64 2 x y) |
(+.f64 (*.f64 2 x) y) |
(fma.f64 2 x y) |
Compiled 9 to 5 computations (44.4% saved)
Compiled 434 to 157 computations (63.8% saved)
3 alts after pruning (3 fresh and 0 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 34 | 3 | 37 |
| Fresh | 0 | 0 | 0 |
| Picked | 1 | 0 | 1 |
| Done | 1 | 0 | 1 |
| Total | 36 | 3 | 39 |
| Status | Error | Program |
|---|---|---|
| ▶ | 32.3b | (*.f64 2 x) |
| ▶ | 0b | (+.f64 (*.f64 2 x) y) |
| 30.4b | y |
Compiled 15 to 11 computations (26.7% saved)
Compiled 7 to 5 computations (28.6% saved)
Compiled 13 to 8 computations (38.5% saved)
Compiled 2 to 2 computations (0% saved)
3 alts after pruning (1 fresh and 2 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 0 | 0 | 0 |
| Fresh | 0 | 1 | 1 |
| Picked | 0 | 1 | 1 |
| Done | 0 | 1 | 1 |
| Total | 0 | 3 | 3 |
| Status | Error | Program |
|---|---|---|
| ✓ | 32.3b | (*.f64 2 x) |
| ✓ | 0b | (+.f64 (*.f64 2 x) y) |
| 30.4b | y |
Compiled 15 to 11 computations (26.7% saved)
Compiled 2 to 2 computations (0% saved)
3 alts after pruning (1 fresh and 2 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 0 | 0 | 0 |
| Fresh | 0 | 1 | 1 |
| Picked | 0 | 0 | 0 |
| Done | 0 | 2 | 2 |
| Total | 0 | 3 | 3 |
| Status | Error | Program |
|---|---|---|
| ✓ | 32.3b | (*.f64 2 x) |
| ✓ | 0b | (+.f64 (*.f64 2 x) y) |
| 30.4b | y |
Compiled 15 to 11 computations (26.7% saved)
Compiled 2 to 2 computations (0% saved)
3 alts after pruning (1 fresh and 2 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 0 | 0 | 0 |
| Fresh | 0 | 1 | 1 |
| Picked | 0 | 0 | 0 |
| Done | 0 | 2 | 2 |
| Total | 0 | 3 | 3 |
| Status | Error | Program |
|---|---|---|
| ✓ | 32.3b | (*.f64 2 x) |
| ✓ | 0b | (+.f64 (*.f64 2 x) y) |
| 30.4b | y |
Compiled 15 to 11 computations (26.7% saved)
| Inputs |
|---|
y |
(*.f64 2 x) |
(+.f64 (*.f64 2 x) y) |
(+.f64 (+.f64 x y) x) |
(fma.f64 x 2 y) |
| Outputs |
|---|
(+.f64 (*.f64 2 x) y) |
3 calls:
| 15.0ms | x |
| 13.0ms | (+.f64 (+.f64 x y) x) |
| 9.0ms | y |
| Error | Segments | Branch |
|---|---|---|
| 0b | 1 | x |
| 0b | 1 | y |
| 0b | 1 | (+.f64 (+.f64 x y) x) |
Compiled 33 to 19 computations (42.4% saved)
Total -48.0b remaining (-347.3%)
Threshold costs -48.0b (-347.3%)
| Inputs |
|---|
y |
(*.f64 2 x) |
| Outputs |
|---|
(*.f64 2 x) |
y |
(*.f64 2 x) |
2 calls:
| 22.0ms | y |
| 21.0ms | x |
| Error | Segments | Branch |
|---|---|---|
| 13.8b | 3 | x |
| 14.1b | 3 | y |
Compiled 12 to 8 computations (33.3% saved)
| 2× | binary-search |
| Time | Left | Right |
|---|---|---|
| 29.0ms | 128903.20277625337 | 5.084411201161055e+21 |
| 28.0ms | -1.143189810419369e-11 | -1.2866612082958661e-13 |
Compiled 12 to 8 computations (33.3% saved)
| 1× | egg-herbie |
| 1× | +-commutative_binary64 |
| 1× | *-commutative_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 13 | 29 |
| 1 | 15 | 29 |
| 1× | fuel |
| 1× | saturated |
| Inputs |
|---|
(+.f64 (*.f64 2 x) y) |
(if (<=.f64 x -442250137131625/38685626227668133590597632) (*.f64 2 x) (if (<=.f64 x 4429080322189317/34359738368) y (*.f64 2 x))) |
y |
| Outputs |
|---|
(+.f64 (*.f64 2 x) y) |
(if (<=.f64 x -442250137131625/38685626227668133590597632) (*.f64 2 x) (if (<=.f64 x 4429080322189317/34359738368) y (*.f64 2 x))) |
y |
Compiled 27 to 19 computations (29.6% saved)
Compiled 23 to 15 computations (34.8% saved)
Loading profile data...