Time bar (total: 2.7s)
| 1× | search |
| True | Other | False | Iter |
|---|---|---|---|
| 0% | 100% | 0% | 0 |
| 0% | 100% | 0% | 1 |
| 0% | 100% | 0% | 2 |
| 25% | 75% | 0% | 3 |
| 25% | 62.5% | 12.5% | 4 |
| 25% | 56.2% | 18.8% | 5 |
| 28.1% | 50% | 21.9% | 6 |
| 29.7% | 46.9% | 23.5% | 7 |
| 30.5% | 45.3% | 24.3% | 8 |
| 30.8% | 44.9% | 24.3% | 9 |
| 31.2% | 44.5% | 24.3% | 10 |
| 31.3% | 44.4% | 24.3% | 11 |
| 31.4% | 44.3% | 24.3% | 12 |
Compiled 14 to 12 computations (14.3% saved)
| 1.3s | 2717× | body | 1024 | valid |
| 452.0ms | 3928× | body | 256 | valid |
| 313.0ms | 1325× | body | 512 | valid |
| 141.0ms | 286× | body | 2048 | valid |
| 7.0ms | 55× | body | 256 | invalid |
| 2× | egg-herbie |
| 590× | associate-/l*_binary64 |
| 542× | associate-*l*_binary64 |
| 527× | associate-*r*_binary64 |
| 477× | associate-/r*_binary64 |
| 380× | fma-def_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 11 | 13 |
| 1 | 25 | 13 |
| 2 | 34 | 13 |
| 3 | 59 | 13 |
| 4 | 127 | 11 |
| 5 | 349 | 8 |
| 6 | 1345 | 8 |
| 0 | 1 | 1 |
| 1× | saturated |
| 1× | node limit |
| Inputs |
|---|
0 |
| Outputs |
|---|
0 |
| Inputs |
|---|
(sqrt.f64 (/.f64 (-.f64 (exp.f64 (*.f64 2 x)) 1) (-.f64 (exp.f64 x) 1))) |
| Outputs |
|---|
(sqrt.f64 (/.f64 (-.f64 (exp.f64 (*.f64 2 x)) 1) (-.f64 (exp.f64 x) 1))) |
(sqrt.f64 (/.f64 (expm1.f64 (*.f64 2 x)) (expm1.f64 x))) |
(sqrt.f64 (/.f64 (expm1.f64 (+.f64 x x)) (expm1.f64 x))) |
(sqrt.f64 (/.f64 (+.f64 1 (exp.f64 x)) 1)) |
(sqrt.f64 (+.f64 1 (exp.f64 x))) |
Compiled 14 to 12 computations (14.3% saved)
| 1× | egg-herbie |
| 590× | associate-/l*_binary64 |
| 542× | associate-*l*_binary64 |
| 527× | associate-*r*_binary64 |
| 477× | associate-/r*_binary64 |
| 380× | fma-def_binary64 |
Useful iterations: 5 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 11 | 13 |
| 1 | 25 | 13 |
| 2 | 34 | 13 |
| 3 | 59 | 13 |
| 4 | 127 | 11 |
| 5 | 349 | 8 |
| 6 | 1345 | 8 |
| 1× | node limit |
| Inputs |
|---|
(sqrt.f64 (/.f64 (-.f64 (exp.f64 (*.f64 2 x)) 1) (-.f64 (exp.f64 x) 1))) |
| Outputs |
|---|
(sqrt.f64 (/.f64 (-.f64 (exp.f64 (*.f64 2 x)) 1) (-.f64 (exp.f64 x) 1))) |
(sqrt.f64 (/.f64 (expm1.f64 (*.f64 2 x)) (expm1.f64 x))) |
(sqrt.f64 (/.f64 (expm1.f64 (+.f64 x x)) (expm1.f64 x))) |
(sqrt.f64 (/.f64 (+.f64 1 (exp.f64 x)) 1)) |
(sqrt.f64 (+.f64 1 (exp.f64 x))) |
Compiled 18 to 14 computations (22.2% saved)
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 |
|---|---|---|
| ▶ | 0b | (sqrt.f64 (+.f64 1 (exp.f64 x))) |
Compiled 6 to 5 computations (16.7% saved)
Found 2 expressions with local error:
| New | Error | Program |
|---|---|---|
| 0.0b | (+.f64 1 (exp.f64 x)) | |
| ✓ | 0.0b | (+.f64 1 (exp.f64 x)) |
3 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 1.0ms | x | @ | 0 | (+.f64 1 (exp.f64 x)) |
| 0.0ms | x | @ | inf | (+.f64 1 (exp.f64 x)) |
| 0.0ms | x | @ | -inf | (+.f64 1 (exp.f64 x)) |
| 1× | batch-egg-rewrite |
| 475× | pow1_binary64 |
| 463× | add-sqr-sqrt_binary64 |
| 455× | *-un-lft-identity_binary64 |
| 442× | add-log-exp_binary64 |
| 442× | log1p-expm1-u_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 5 | 6 |
| 1 | 98 | 6 |
| 2 | 1202 | 6 |
| 1× | node limit |
| Inputs |
|---|
(+.f64 1 (exp.f64 x)) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (+.f64 1 (exp.f64 x))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (/.f64 1 (-.f64 1 (exp.f64 x))) (/.f64 (pow.f64 (exp.f64 x) 2) (-.f64 1 (exp.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (+.f64 1 (exp.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 1 (exp.f64 x)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (+.f64 1 (exp.f64 x))) (pow.f64 (cbrt.f64 (+.f64 1 (exp.f64 x))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (+.f64 1 (exp.f64 x))) 2) (cbrt.f64 (+.f64 1 (exp.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (+.f64 1 (exp.f64 x))) (sqrt.f64 (+.f64 1 (exp.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 1 (pow.f64 (exp.f64 x) 3)) (/.f64 1 (+.f64 1 (*.f64 (exp.f64 x) (expm1.f64 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (-.f64 1 (pow.f64 (exp.f64 x) 2)) (/.f64 1 (-.f64 1 (exp.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (+.f64 1 (*.f64 (exp.f64 x) (expm1.f64 x))) (+.f64 1 (pow.f64 (exp.f64 x) 3))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (-.f64 1 (exp.f64 x)) (-.f64 1 (pow.f64 (exp.f64 x) 2))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 1 (pow.f64 (exp.f64 x) 3)) (+.f64 1 (*.f64 (exp.f64 x) (expm1.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 1 (pow.f64 (exp.f64 x) 3)) (+.f64 (pow.f64 (exp.f64 x) 2) (-.f64 1 (exp.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 1 (pow.f64 (exp.f64 x) 2)) (-.f64 1 (exp.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (+.f64 1 (pow.f64 (exp.f64 x) 3))) (neg.f64 (+.f64 1 (*.f64 (exp.f64 x) (expm1.f64 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (-.f64 1 (pow.f64 (exp.f64 x) 2))) (neg.f64 (-.f64 1 (exp.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (pow.f64 (exp.f64 x) 2) 1) (expm1.f64 x))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (+.f64 1 (exp.f64 x)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (+.f64 1 (exp.f64 x)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (+.f64 1 (exp.f64 x))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (+.f64 1 (exp.f64 x))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (+.f64 1 (exp.f64 x)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (+.f64 1 (exp.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (+.f64 1 (exp.f64 x)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (+.f64 1 (exp.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (+.f64 1 (exp.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log1p.f64 (exp.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (exp.f64 x) 1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 (exp.f64 x)) 2) (cbrt.f64 (exp.f64 x)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 (exp.f64 x)) (sqrt.f64 (exp.f64 x)) 1))))) |
| 1× | egg-herbie |
| 632× | distribute-rgt-in_binary64 |
| 576× | distribute-lft-in_binary64 |
| 536× | unswap-sqr_binary64 |
| 445× | associate-*l*_binary64 |
| 405× | fma-def_binary64 |
Useful iterations: 4 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 14 | 34 |
| 1 | 38 | 34 |
| 2 | 90 | 34 |
| 3 | 244 | 30 |
| 4 | 619 | 29 |
| 5 | 2072 | 29 |
| 6 | 3713 | 29 |
| 7 | 3957 | 29 |
| 8 | 4261 | 29 |
| 9 | 4816 | 29 |
| 10 | 5825 | 29 |
| 11 | 7751 | 29 |
| 1× | node limit |
| Inputs |
|---|
2 |
(+.f64 2 x) |
(+.f64 2 (+.f64 (*.f64 1/2 (pow.f64 x 2)) x)) |
(+.f64 (*.f64 1/6 (pow.f64 x 3)) (+.f64 2 (+.f64 (*.f64 1/2 (pow.f64 x 2)) x))) |
| Outputs |
|---|
2 |
(+.f64 2 x) |
(+.f64 2 (+.f64 (*.f64 1/2 (pow.f64 x 2)) x)) |
(+.f64 2 (fma.f64 1/2 (*.f64 x x) x)) |
(+.f64 2 (fma.f64 x (*.f64 x 1/2) x)) |
(fma.f64 (fma.f64 x 1/2 1) x 2) |
(fma.f64 x (fma.f64 x 1/2 1) 2) |
(+.f64 (*.f64 1/6 (pow.f64 x 3)) (+.f64 2 (+.f64 (*.f64 1/2 (pow.f64 x 2)) x))) |
(fma.f64 1/6 (pow.f64 x 3) (+.f64 2 (fma.f64 1/2 (*.f64 x x) x))) |
(+.f64 (fma.f64 1/2 (*.f64 x x) x) (fma.f64 1/6 (pow.f64 x 3) 2)) |
(fma.f64 1/6 (pow.f64 x 3) (+.f64 2 (fma.f64 x (*.f64 x 1/2) x))) |
(fma.f64 1/6 (pow.f64 x 3) (fma.f64 (fma.f64 x 1/2 1) x 2)) |
(+.f64 2 (fma.f64 (*.f64 x x) (fma.f64 x 1/6 1/2) x)) |
(+.f64 x (fma.f64 (*.f64 x x) (fma.f64 x 1/6 1/2) 2)) |
Compiled 380 to 261 computations (31.3% saved)
3 alts after pruning (2 fresh and 1 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 34 | 2 | 36 |
| Fresh | 0 | 0 | 0 |
| Picked | 0 | 1 | 1 |
| Done | 0 | 0 | 0 |
| Total | 34 | 3 | 37 |
| Status | Error | Program |
|---|---|---|
| ✓ | 0b | (sqrt.f64 (+.f64 1 (exp.f64 x))) |
| ▶ | 20.1b | (sqrt.f64 (+.f64 2 x)) |
| ▶ | 16.3b | (sqrt.f64 2) |
Compiled 14 to 12 computations (14.3% saved)
Compiled 1 to 1 computations (0% saved)
3 alts after pruning (0 fresh and 3 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 0 | 0 | 0 |
| Fresh | 0 | 0 | 0 |
| Picked | 0 | 1 | 1 |
| Done | 0 | 2 | 2 |
| Total | 0 | 3 | 3 |
| Status | Error | Program |
|---|---|---|
| ✓ | 0b | (sqrt.f64 (+.f64 1 (exp.f64 x))) |
| ✓ | 20.1b | (sqrt.f64 (+.f64 2 x)) |
| ✓ | 16.3b | (sqrt.f64 2) |
Compiled 14 to 12 computations (14.3% saved)
| Inputs |
|---|
(sqrt.f64 2) |
(sqrt.f64 (+.f64 2 x)) |
(sqrt.f64 (+.f64 1 (exp.f64 x))) |
(sqrt.f64 (/.f64 (-.f64 (exp.f64 (*.f64 2 x)) 1) (-.f64 (exp.f64 x) 1))) |
| Outputs |
|---|
(sqrt.f64 (+.f64 1 (exp.f64 x))) |
5 calls:
| 20.0ms | (/.f64 (-.f64 (exp.f64 (*.f64 2 x)) 1) (-.f64 (exp.f64 x) 1)) |
| 4.0ms | x |
| 2.0ms | (sqrt.f64 (/.f64 (-.f64 (exp.f64 (*.f64 2 x)) 1) (-.f64 (exp.f64 x) 1))) |
| 2.0ms | (sqrt.f64 (/.f64 (-.f64 (exp.f64 (*.f64 2 x)) 1) (-.f64 (exp.f64 x) 1))) |
| 2.0ms | (/.f64 (-.f64 (exp.f64 (*.f64 2 x)) 1) (-.f64 (exp.f64 x) 1)) |
| Error | Segments | Branch |
|---|---|---|
| 0b | 1 | x |
| 0b | 1 | (sqrt.f64 (/.f64 (-.f64 (exp.f64 (*.f64 2 x)) 1) (-.f64 (exp.f64 x) 1))) |
| 0b | 1 | (sqrt.f64 (/.f64 (-.f64 (exp.f64 (*.f64 2 x)) 1) (-.f64 (exp.f64 x) 1))) |
| 0b | 1 | (/.f64 (-.f64 (exp.f64 (*.f64 2 x)) 1) (-.f64 (exp.f64 x) 1)) |
| 0b | 1 | (/.f64 (-.f64 (exp.f64 (*.f64 2 x)) 1) (-.f64 (exp.f64 x) 1)) |
Compiled 76 to 62 computations (18.4% saved)
Total -4.1b remaining (-25.1%)
Threshold costs -4.1b (-25.1%)
| Inputs |
|---|
(sqrt.f64 2) |
(sqrt.f64 (+.f64 2 x)) |
| Outputs |
|---|
(sqrt.f64 2) |
1 calls:
| 3.0ms | x |
| Error | Segments | Branch |
|---|---|---|
| 16.3b | 1 | x |
Compiled 9 to 7 computations (22.2% saved)
| 1× | egg-herbie |
| 1× | +-commutative_binary64 |
| 1× | 1-exp_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 8 | 11 |
| 1 | 11 | 11 |
| 1× | saturated |
| Inputs |
|---|
(sqrt.f64 (+.f64 1 (exp.f64 x))) |
(sqrt.f64 2) |
| Outputs |
|---|
(sqrt.f64 (+.f64 1 (exp.f64 x))) |
(sqrt.f64 2) |
| 1× | done |
Compiled 17 to 15 computations (11.8% saved)
Loading profile data...