Time bar (total: 1.1s)
| 1× | search |
| True | Other | False | Iter |
|---|---|---|---|
| 0% | 100% | 0% | 0 |
| 0% | 100% | 0% | 1 |
| 0% | 50% | 50% | 2 |
| 0% | 50% | 50% | 3 |
| 12.5% | 25% | 62.5% | 4 |
| 18.7% | 12.5% | 68.8% | 5 |
| 21.9% | 6.2% | 71.9% | 6 |
| 23.4% | 3.1% | 73.5% | 7 |
| 24.2% | 1.6% | 74.2% | 8 |
| 24.6% | 0.8% | 74.6% | 9 |
| 24.8% | 0.4% | 74.8% | 10 |
| 24.9% | 0.2% | 74.9% | 11 |
| 24.9% | 0.1% | 75% | 12 |
| 25% | 0% | 75% | 13 |
| 25% | 0% | 75% | 14 |
Compiled 9 to 7 computations (22.2% saved)
| 759.0ms | 8256× | body | 128 | valid |
| 1.0ms | 7× | body | 128 | invalid |
| 2× | egg-herbie |
| 1× | +-commutative_binary64 |
| 1× | *-commutative_binary64 |
| 1× | sub-neg_binary64 |
| 1× | 1-exp_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 7 | 11 |
| 1 | 13 | 11 |
| 2 | 14 | 11 |
| 0 | 1 | 1 |
| 1× | saturated |
| 1× | saturated |
| Inputs |
|---|
0 |
| Outputs |
|---|
0 |
| Inputs |
|---|
(*.f64 (sqrt.f64 (-.f64 x 1)) (sqrt.f64 x)) |
| Outputs |
|---|
(*.f64 (sqrt.f64 (-.f64 x 1)) (sqrt.f64 x)) |
(*.f64 (sqrt.f64 (+.f64 x -1)) (sqrt.f64 x)) |
Compiled 8 to 6 computations (25% saved)
| 1× | egg-herbie |
| 1× | +-commutative_binary64 |
| 1× | *-commutative_binary64 |
| 1× | sub-neg_binary64 |
| 1× | 1-exp_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 7 | 11 |
| 1 | 13 | 11 |
| 2 | 14 | 11 |
| 1× | saturated |
| Inputs |
|---|
(*.f64 (sqrt.f64 (-.f64 x 1)) (sqrt.f64 x)) |
| Outputs |
|---|
(*.f64 (sqrt.f64 (-.f64 x 1)) (sqrt.f64 x)) |
(*.f64 (sqrt.f64 (+.f64 x -1)) (sqrt.f64 x)) |
2 alts after pruning (2 fresh and 0 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 1 | 1 | 2 |
| Fresh | 0 | 1 | 1 |
| Picked | 0 | 0 | 0 |
| Done | 0 | 0 | 0 |
| Total | 1 | 2 | 3 |
| Status | Error | Program |
|---|---|---|
| ▶ | 0.5b | (*.f64 (sqrt.f64 (-.f64 x 1)) (sqrt.f64 x)) |
Compiled 31 to 22 computations (29% saved)
Found 1 expressions with local error:
| New | Error | Program |
|---|---|---|
| ✓ | 0.5b | (*.f64 (sqrt.f64 (-.f64 x 1)) (sqrt.f64 x)) |
3 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 2.0ms | x | @ | -inf | (*.f64 (sqrt.f64 (-.f64 x 1)) (sqrt.f64 x)) |
| 1.0ms | x | @ | 0 | (*.f64 (sqrt.f64 (-.f64 x 1)) (sqrt.f64 x)) |
| 0.0ms | x | @ | inf | (*.f64 (sqrt.f64 (-.f64 x 1)) (sqrt.f64 x)) |
| 1× | batch-egg-rewrite |
| 648× | pow1_binary64 |
| 603× | add-log-exp_binary64 |
| 602× | log1p-expm1-u_binary64 |
| 602× | expm1-log1p-u_binary64 |
| 71× | add-sqr-sqrt_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 7 | 9 |
| 1 | 146 | 9 |
| 2 | 1753 | 9 |
| 1× | node limit |
| Inputs |
|---|
(*.f64 (sqrt.f64 (-.f64 x 1)) (sqrt.f64 x)) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (sqrt.f64 (*.f64 x (+.f64 x -1))))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (*.f64 x (+.f64 x -1))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 x (+.f64 x -1)) 1/2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (sqrt.f64 (*.f64 x (+.f64 x -1))) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (sqrt.f64 (*.f64 x (+.f64 x -1)))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (sqrt.f64 (*.f64 x (+.f64 x -1)))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (*.f64 x (+.f64 x -1)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (sqrt.f64 (*.f64 x (+.f64 x -1)))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (sqrt.f64 (*.f64 x (+.f64 x -1))))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (sqrt.f64 (*.f64 x (+.f64 x -1))) 3))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (*.f64 (pow.f64 (+.f64 x -1) 3/2) (pow.f64 x 3/2)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (*.f64 (pow.f64 x 3/2) (pow.f64 (+.f64 x -1) 3/2)))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (sqrt.f64 (*.f64 x (+.f64 x -1)))))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (sqrt.f64 (*.f64 x (+.f64 x -1)))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (sqrt.f64 (*.f64 x (+.f64 x -1))))))))) |
| 1× | egg-herbie |
| 616× | times-frac_binary64 |
| 527× | fma-neg_binary64 |
| 470× | fma-def_binary64 |
| 384× | cancel-sign-sub-inv_binary64 |
| 346× | associate-/l/_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 18 | 34 |
| 1 | 45 | 34 |
| 2 | 102 | 34 |
| 3 | 256 | 34 |
| 4 | 641 | 34 |
| 5 | 1842 | 34 |
| 1× | node limit |
| Inputs |
|---|
x |
(-.f64 x 1/2) |
(-.f64 x (+.f64 1/2 (*.f64 1/8 (/.f64 1 x)))) |
(-.f64 x (+.f64 1/2 (+.f64 (*.f64 1/16 (/.f64 1 (pow.f64 x 2))) (*.f64 1/8 (/.f64 1 x))))) |
| Outputs |
|---|
x |
(-.f64 x 1/2) |
(+.f64 x -1/2) |
(-.f64 x (+.f64 1/2 (*.f64 1/8 (/.f64 1 x)))) |
(-.f64 x (+.f64 1/2 (/.f64 1/8 x))) |
(-.f64 (+.f64 x -1/2) (/.f64 1/8 x)) |
(+.f64 (+.f64 x -1/2) (/.f64 -1/8 x)) |
(-.f64 (/.f64 -1/8 x) (-.f64 1/2 x)) |
(+.f64 x (+.f64 -1/2 (/.f64 -1/8 x))) |
(-.f64 x (+.f64 1/2 (+.f64 (*.f64 1/16 (/.f64 1 (pow.f64 x 2))) (*.f64 1/8 (/.f64 1 x))))) |
(-.f64 x (+.f64 1/2 (+.f64 (/.f64 1/8 x) (/.f64 1/16 (*.f64 x x))))) |
(-.f64 (+.f64 x -1/2) (+.f64 (/.f64 1/8 x) (/.f64 (/.f64 1/16 x) x))) |
(-.f64 (+.f64 (+.f64 x -1/2) (/.f64 -1/8 x)) (/.f64 1/16 (*.f64 x x))) |
(+.f64 x (+.f64 -1/2 (-.f64 (/.f64 -1/8 x) (/.f64 1/16 (*.f64 x x))))) |
(+.f64 x (-.f64 -1/2 (+.f64 (/.f64 1/8 x) (/.f64 1/16 (*.f64 x x))))) |
(+.f64 x (+.f64 -1/2 (+.f64 (/.f64 -1/8 x) (/.f64 -1/16 (*.f64 x x))))) |
2 alts after pruning (2 fresh and 0 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 20 | 2 | 22 |
| Fresh | 0 | 0 | 0 |
| Picked | 1 | 0 | 1 |
| Done | 0 | 0 | 0 |
| Total | 21 | 2 | 23 |
| Status | Error | Program |
|---|---|---|
| 32.8b | (sqrt.f64 (*.f64 x (+.f64 x -1))) | |
| ▶ | 0.2b | (+.f64 x (+.f64 -1/2 (/.f64 -1/8 x))) |
Compiled 214 to 162 computations (24.3% saved)
2 alts after pruning (1 fresh and 1 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 0 | 0 | 0 |
| Fresh | 0 | 1 | 1 |
| Picked | 0 | 1 | 1 |
| Done | 0 | 0 | 0 |
| Total | 0 | 2 | 2 |
| Status | Error | Program |
|---|---|---|
| ▶ | 32.8b | (sqrt.f64 (*.f64 x (+.f64 x -1))) |
| ✓ | 0.2b | (+.f64 x (+.f64 -1/2 (/.f64 -1/8 x))) |
Compiled 22 to 16 computations (27.3% saved)
Found 1 expressions with local error:
| New | Error | Program |
|---|---|---|
| ✓ | 30.6b | (sqrt.f64 (*.f64 x (+.f64 x -1))) |
3 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 0.0ms | x | @ | 0 | (sqrt.f64 (*.f64 x (+.f64 x -1))) |
| 0.0ms | x | @ | -inf | (sqrt.f64 (*.f64 x (+.f64 x -1))) |
| 0.0ms | x | @ | inf | (sqrt.f64 (*.f64 x (+.f64 x -1))) |
| 1× | batch-egg-rewrite |
| 646× | pow1_binary64 |
| 602× | add-log-exp_binary64 |
| 602× | log1p-expm1-u_binary64 |
| 602× | expm1-log1p-u_binary64 |
| 64× | add-sqr-sqrt_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 6 | 9 |
| 1 | 129 | 9 |
| 2 | 1640 | 9 |
| 1× | node limit |
| Inputs |
|---|
(sqrt.f64 (*.f64 x (+.f64 x -1))) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (sqrt.f64 (*.f64 x (+.f64 x -1))))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (*.f64 x (+.f64 x -1))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (sqrt.f64 (*.f64 x (+.f64 x -1))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (sqrt.f64 (*.f64 x (+.f64 x -1)))) (cbrt.f64 (*.f64 x (+.f64 x -1))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (*.f64 x (+.f64 x -1))) (cbrt.f64 (sqrt.f64 (*.f64 x (+.f64 x -1)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (*.f64 x (+.f64 x -1)) 1/4) (pow.f64 (*.f64 x (+.f64 x -1)) 1/4))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 x) (sqrt.f64 (+.f64 x -1)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (+.f64 x -1)) (sqrt.f64 x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (pow.f64 (cbrt.f64 (*.f64 x (+.f64 x -1))) 2)) (sqrt.f64 (cbrt.f64 (*.f64 x (+.f64 x -1)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 1 1/2) (sqrt.f64 (*.f64 x (+.f64 x -1))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (pow.f64 (cbrt.f64 (*.f64 x (+.f64 x -1))) 2) 1/2) (pow.f64 (cbrt.f64 (*.f64 x (+.f64 x -1))) 1/2))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 x (+.f64 x -1)) 1/2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (*.f64 x (+.f64 x -1))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 x (+.f64 x -1)) 3/2) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (sqrt.f64 (*.f64 x (+.f64 x -1)))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 x (+.f64 x -1)) 1/4) 2)))) (#(struct:change #<rule egg-rr> (2) ((x fabs.f64 (sqrt.f64 (*.f64 x (+.f64 x -1))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (sqrt.f64 (*.f64 x (+.f64 x -1)))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (sqrt.f64 (*.f64 x (+.f64 x -1))))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (*.f64 x (+.f64 x -1)) 3/2))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (sqrt.f64 (*.f64 x (+.f64 x -1)))))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (sqrt.f64 (*.f64 x (+.f64 x -1)))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (sqrt.f64 (*.f64 x (+.f64 x -1))))))))) |
| 1× | egg-herbie |
| 616× | times-frac_binary64 |
| 539× | fma-neg_binary64 |
| 468× | cancel-sign-sub-inv_binary64 |
| 441× | fma-def_binary64 |
| 347× | associate-/l/_binary64 |
Useful iterations: 1 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 25 | 74 |
| 1 | 65 | 70 |
| 2 | 150 | 70 |
| 3 | 365 | 70 |
| 4 | 880 | 70 |
| 5 | 2287 | 70 |
| 1× | node limit |
| Inputs |
|---|
x |
(-.f64 x 1/2) |
(-.f64 x (+.f64 1/2 (*.f64 1/8 (/.f64 1 x)))) |
(-.f64 x (+.f64 1/2 (+.f64 (*.f64 1/16 (/.f64 1 (pow.f64 x 2))) (*.f64 1/8 (/.f64 1 x))))) |
(*.f64 -1 x) |
(+.f64 1/2 (*.f64 -1 x)) |
(+.f64 1/2 (+.f64 (*.f64 -1 x) (*.f64 1/8 (/.f64 1 x)))) |
(+.f64 1/2 (+.f64 (*.f64 -1 x) (+.f64 (*.f64 1/16 (/.f64 1 (pow.f64 x 2))) (*.f64 1/8 (/.f64 1 x))))) |
| Outputs |
|---|
x |
(-.f64 x 1/2) |
(+.f64 x -1/2) |
(-.f64 x (+.f64 1/2 (*.f64 1/8 (/.f64 1 x)))) |
(-.f64 (+.f64 x -1/2) (/.f64 1/8 x)) |
(+.f64 x (-.f64 -1/2 (/.f64 1/8 x))) |
(-.f64 x (-.f64 1/2 (/.f64 -1/8 x))) |
(+.f64 -1/2 (+.f64 x (/.f64 -1/8 x))) |
(+.f64 (+.f64 x -1/2) (/.f64 -1/8 x)) |
(-.f64 x (+.f64 1/2 (+.f64 (*.f64 1/16 (/.f64 1 (pow.f64 x 2))) (*.f64 1/8 (/.f64 1 x))))) |
(-.f64 (+.f64 x -1/2) (+.f64 (/.f64 1/8 x) (/.f64 1/16 (*.f64 x x)))) |
(-.f64 x (+.f64 1/2 (+.f64 (/.f64 1/8 x) (/.f64 (/.f64 1/16 x) x)))) |
(+.f64 (-.f64 (+.f64 x -1/2) (/.f64 1/16 (*.f64 x x))) (/.f64 -1/8 x)) |
(+.f64 x (+.f64 (-.f64 -1/2 (/.f64 1/8 x)) (/.f64 -1/16 (*.f64 x x)))) |
(+.f64 (+.f64 -1/2 (/.f64 -1/8 x)) (-.f64 x (/.f64 1/16 (*.f64 x x)))) |
(*.f64 -1 x) |
(neg.f64 x) |
(+.f64 1/2 (*.f64 -1 x)) |
(+.f64 1/2 (neg.f64 x)) |
(-.f64 1/2 x) |
(+.f64 1/2 (+.f64 (*.f64 -1 x) (*.f64 1/8 (/.f64 1 x)))) |
(+.f64 1/2 (fma.f64 -1 x (/.f64 1/8 x))) |
(+.f64 (/.f64 1/8 x) (-.f64 1/2 x)) |
(+.f64 1/2 (-.f64 (/.f64 1/8 x) x)) |
(+.f64 1/2 (+.f64 (*.f64 -1 x) (+.f64 (*.f64 1/16 (/.f64 1 (pow.f64 x 2))) (*.f64 1/8 (/.f64 1 x))))) |
(+.f64 1/2 (fma.f64 -1 x (+.f64 (/.f64 1/8 x) (/.f64 1/16 (*.f64 x x))))) |
(+.f64 (+.f64 (/.f64 1/8 x) (-.f64 1/2 x)) (/.f64 (/.f64 1/16 x) x)) |
(+.f64 (/.f64 1/16 (*.f64 x x)) (+.f64 (/.f64 1/8 x) (-.f64 1/2 x))) |
(+.f64 (+.f64 1/2 (/.f64 1/8 x)) (-.f64 (/.f64 1/16 (*.f64 x x)) x)) |
(+.f64 (-.f64 1/2 (/.f64 -1/8 x)) (-.f64 (/.f64 1/16 (*.f64 x x)) x)) |
2 alts after pruning (0 fresh and 2 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 38 | 0 | 38 |
| Fresh | 0 | 0 | 0 |
| Picked | 0 | 1 | 1 |
| Done | 0 | 1 | 1 |
| Total | 38 | 2 | 40 |
| Status | Error | Program |
|---|---|---|
| ✓ | 32.8b | (sqrt.f64 (*.f64 x (+.f64 x -1))) |
| ✓ | 0.2b | (+.f64 x (+.f64 -1/2 (/.f64 -1/8 x))) |
Compiled 360 to 269 computations (25.3% saved)
Total -31.5b remaining (-8545.9%)
Threshold costs -31.5b (-8545.9%)
Compiled 62 to 44 computations (29% saved)
| 1× | egg-herbie |
| 2× | +-commutative_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 7 | 10 |
| 1 | 9 | 10 |
| 1× | saturated |
| Inputs |
|---|
(+.f64 x (+.f64 -1/2 (/.f64 -1/8 x))) |
| Outputs |
|---|
(+.f64 x (+.f64 -1/2 (/.f64 -1/8 x))) |
| 1× | done |
Compiled 29 to 21 computations (27.6% saved)
Loading profile data...