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 5 computations (37.5% saved)
| 1.1s | 8256× | body | 256 | valid |
| 0.0ms | 2× | body | 256 | invalid |
| 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 | |
|---|---|---|---|---|
| 1.0ms | x | @ | inf | (+.f64 (+.f64 x y) x) |
| 1.0ms | x | @ | 0 | (+.f64 (+.f64 x y) x) |
| 1.0ms | y | @ | 0 | (+.f64 (+.f64 x y) x) |
| 1.0ms | y | @ | inf | (+.f64 (+.f64 x y) x) |
| 1.0ms | x | @ | -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 |
|---|---|---|
| ▶ | 0b | (+.f64 (*.f64 2 x) y) |
| 30.6b | y | |
| ▶ | 32.2b | (*.f64 2 x) |
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 |
|---|---|---|
| ✓ | 0b | (+.f64 (*.f64 2 x) y) |
| 30.6b | y | |
| ✓ | 32.2b | (*.f64 2 x) |
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 |
|---|---|---|
| ✓ | 0b | (+.f64 (*.f64 2 x) y) |
| 30.6b | y | |
| ✓ | 32.2b | (*.f64 2 x) |
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 |
|---|---|---|
| ✓ | 0b | (+.f64 (*.f64 2 x) y) |
| 30.6b | y | |
| ✓ | 32.2b | (*.f64 2 x) |
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:
| 23.0ms | (+.f64 (+.f64 x y) x) |
| 9.0ms | y |
| 9.0ms | x |
| 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 -49.7b remaining (-412.2%)
Threshold costs -49.7b (-412.2%)
| Inputs |
|---|
y |
(*.f64 2 x) |
| Outputs |
|---|
(*.f64 2 x) |
y |
(*.f64 2 x) |
y |
(*.f64 2 x) |
2 calls:
| 49.0ms | y |
| 35.0ms | x |
| Error | Segments | Branch |
|---|---|---|
| 12.1b | 5 | x |
| 14.4b | 3 | y |
Compiled 12 to 8 computations (33.3% saved)
| 4× | binary-search |
| Time | Left | Right |
|---|---|---|
| 15.0ms | 2.8251434991526626e+45 | 1.8067603775744472e+47 |
| 14.0ms | -7.096561150719096e-103 | -5.185381936588022e-104 |
| 16.0ms | -7.575312340124178e-35 | -5.1772603696557416e-42 |
| 14.0ms | -8.066578285056977e+63 | -8.969787231780833e+61 |
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 | 19 | 46 |
| 1 | 21 | 46 |
| 1× | fuel |
| 1× | saturated |
| Inputs |
|---|
(+.f64 (*.f64 2 x) y) |
(if (<=.f64 x -8066578285056977238698258412162345168632292258072276248251334656) (*.f64 2 x) (if (<=.f64 x -7085652088566067/93536104789177786765035829293842113257979682750464) y (if (<=.f64 x -3579119954351695/5043456793138493339171717132818382567050206626619577173497381555743452386751642958261026080625269202023248382759272448) (*.f64 2 x) (if (<=.f64 x 2825143499152662641717631804017213542676561920) y (*.f64 2 x))))) |
y |
| Outputs |
|---|
(+.f64 (*.f64 2 x) y) |
(if (<=.f64 x -8066578285056977238698258412162345168632292258072276248251334656) (*.f64 2 x) (if (<=.f64 x -7085652088566067/93536104789177786765035829293842113257979682750464) y (if (<=.f64 x -3579119954351695/5043456793138493339171717132818382567050206626619577173497381555743452386751642958261026080625269202023248382759272448) (*.f64 2 x) (if (<=.f64 x 2825143499152662641717631804017213542676561920) y (*.f64 2 x))))) |
y |
Compiled 39 to 27 computations (30.8% saved)
Compiled 35 to 23 computations (34.3% saved)
Loading profile data...