
Time bar (total: 1.4s)
| 1× | search |
| Probability | Valid | Unknown | Precondition | Infinite | Domain | Can't | Iter |
|---|---|---|---|---|---|---|---|
| 0% | 0% | 100% | 0% | 0% | 0% | 0% | 0 |
| 100% | 100% | 0% | 0% | 0% | 0% | 0% | 1 |
Compiled 9 to 7 computations (22.2% saved)
| 452.0ms | 4148× | body | 256 | valid |
| 299.0ms | 4108× | body | 256 | infinite |
| 2× | egg-herbie |
| 1788× | fma-def |
| 1314× | div-sub |
| 834× | times-frac |
| 716× | associate-*l* |
| 696× | associate-/r* |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 9 | 21 |
| 1 | 21 | 17 |
| 2 | 50 | 17 |
| 3 | 114 | 13 |
| 4 | 240 | 13 |
| 5 | 536 | 13 |
| 6 | 1626 | 13 |
| 7 | 5506 | 13 |
| 0 | 1 | 1 |
| 1× | saturated |
| 1× | node limit |
| Inputs |
|---|
0 |
| Outputs |
|---|
0 |
| Inputs |
|---|
(exp.f64 (neg.f64 (-.f64 1 (*.f64 x x)))) |
| Outputs |
|---|
(exp.f64 (neg.f64 (-.f64 1 (*.f64 x x)))) |
(exp.f64 (+.f64 -1 (*.f64 x x))) |
(exp.f64 (+.f64 (*.f64 x x) -1)) |
(exp.f64 (fma.f64 x x -1)) |
Compiled 9 to 7 computations (22.2% saved)
| 1× | egg-herbie |
| 1788× | fma-def |
| 1314× | div-sub |
| 834× | times-frac |
| 716× | associate-*l* |
| 696× | associate-/r* |
Useful iterations: 3 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 9 | 21 |
| 1 | 21 | 17 |
| 2 | 50 | 17 |
| 3 | 114 | 13 |
| 4 | 240 | 13 |
| 5 | 536 | 13 |
| 6 | 1626 | 13 |
| 7 | 5506 | 13 |
| 1× | node limit |
| Inputs |
|---|
(exp.f64 (neg.f64 (-.f64 1 (*.f64 x x)))) |
| Outputs |
|---|
(exp.f64 (neg.f64 (-.f64 1 (*.f64 x x)))) |
(exp.f64 (+.f64 -1 (*.f64 x x))) |
(exp.f64 (+.f64 (*.f64 x x) -1)) |
(exp.f64 (fma.f64 x x -1)) |
Compiled 25 to 15 computations (40% saved)
1 alts after pruning (1 fresh and 0 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 3 | 1 | 4 |
| Fresh | 1 | 0 | 1 |
| Picked | 0 | 0 | 0 |
| Done | 0 | 0 | 0 |
| Total | 4 | 1 | 5 |
| Status | Accuracy | Program |
|---|---|---|
| ▶ | 100.0% | (exp.f64 (+.f64 (*.f64 x x) -1)) |
| ▶ | 100.0% | (exp.f64 (+.f64 (*.f64 x x) -1)) |
Compiled 14 to 10 computations (28.6% saved)
Found 1 expressions with local accuracy:
| New | Accuracy | Program |
|---|---|---|
| ✓ | 100.0% | (exp.f64 (+.f64 (*.f64 x x) -1)) |
Compiled 18 to 9 computations (50% saved)
3 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 0.0ms | x | @ | 0 | (exp.f64 (+.f64 (*.f64 x x) -1)) |
| 0.0ms | x | @ | inf | (exp.f64 (+.f64 (*.f64 x x) -1)) |
| 0.0ms | x | @ | -inf | (exp.f64 (+.f64 (*.f64 x x) -1)) |
| 1× | batch-egg-rewrite |
| 1590× | pow1 |
| 1468× | add-exp-log |
| 1468× | log1p-expm1-u |
| 1468× | expm1-log1p-u |
| 1440× | add-log-exp |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 8 | 13 |
| 1 | 169 | 13 |
| 2 | 2030 | 13 |
| 1× | node limit |
| Inputs |
|---|
(exp.f64 (+.f64 (*.f64 x x) -1)) |
| Outputs |
|---|
(+.f64 1 (expm1.f64 (fma.f64 x x -1))) |
(-.f64 (+.f64 1 (exp.f64 (fma.f64 x x -1))) 1) |
(*.f64 (exp.f64 (fma.f64 x x -1)) 1) |
(*.f64 1 (exp.f64 (fma.f64 x x -1))) |
(*.f64 (pow.f64 (exp.f64 x) x) (exp.f64 -1)) |
(*.f64 (exp.f64 -1) (pow.f64 (exp.f64 x) x)) |
(*.f64 (cbrt.f64 (exp.f64 (fma.f64 x x -1))) (pow.f64 (cbrt.f64 (exp.f64 (fma.f64 x x -1))) 2)) |
(*.f64 (pow.f64 (cbrt.f64 (exp.f64 (fma.f64 x x -1))) 2) (cbrt.f64 (exp.f64 (fma.f64 x x -1)))) |
(*.f64 (sqrt.f64 (exp.f64 (fma.f64 x x -1))) (sqrt.f64 (exp.f64 (fma.f64 x x -1)))) |
(pow.f64 (exp.f64 (fma.f64 x x -1)) 1) |
(pow.f64 (cbrt.f64 (exp.f64 (fma.f64 x x -1))) 3) |
(pow.f64 (pow.f64 (exp.f64 (fma.f64 x x -1)) 3) 1/3) |
(pow.f64 (sqrt.f64 (exp.f64 (fma.f64 x x -1))) 2) |
(pow.f64 (exp.f64 (pow.f64 (cbrt.f64 (fma.f64 x x -1)) 2)) (cbrt.f64 (fma.f64 x x -1))) |
(pow.f64 (exp.f64 (+.f64 x 1)) (+.f64 x -1)) |
(pow.f64 (exp.f64 1) (fma.f64 x x -1)) |
(pow.f64 (exp.f64 (sqrt.f64 (fma.f64 x x -1))) (sqrt.f64 (fma.f64 x x -1))) |
(sqrt.f64 (pow.f64 (exp.f64 (fma.f64 x x -1)) 2)) |
(log.f64 (exp.f64 (exp.f64 (fma.f64 x x -1)))) |
(cbrt.f64 (pow.f64 (exp.f64 (fma.f64 x x -1)) 3)) |
(expm1.f64 (log1p.f64 (exp.f64 (fma.f64 x x -1)))) |
(log1p.f64 (expm1.f64 (exp.f64 (fma.f64 x x -1)))) |
| 1× | egg-herbie |
| 1218× | fma-def |
| 1106× | times-frac |
| 620× | associate-*r* |
| 556× | associate-*l* |
| 548× | *-commutative |
Useful iterations: 3 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 74 | 598 |
| 1 | 158 | 590 |
| 2 | 460 | 566 |
| 3 | 2454 | 552 |
| 4 | 6111 | 552 |
| 1× | node limit |
| Inputs |
|---|
(exp.f64 -1) |
(+.f64 (*.f64 (exp.f64 -1) (pow.f64 x 2)) (exp.f64 -1)) |
(+.f64 (*.f64 (exp.f64 -1) (pow.f64 x 2)) (+.f64 (exp.f64 -1) (*.f64 1/2 (*.f64 (exp.f64 -1) (pow.f64 x 4))))) |
(+.f64 (*.f64 1/6 (*.f64 (exp.f64 -1) (pow.f64 x 6))) (+.f64 (*.f64 (exp.f64 -1) (pow.f64 x 2)) (+.f64 (exp.f64 -1) (*.f64 1/2 (*.f64 (exp.f64 -1) (pow.f64 x 4)))))) |
(exp.f64 (-.f64 (pow.f64 x 2) 1)) |
(exp.f64 (-.f64 (pow.f64 x 2) 1)) |
(exp.f64 (-.f64 (pow.f64 x 2) 1)) |
(exp.f64 (-.f64 (pow.f64 x 2) 1)) |
(exp.f64 (-.f64 (pow.f64 x 2) 1)) |
(exp.f64 (-.f64 (pow.f64 x 2) 1)) |
(exp.f64 (-.f64 (pow.f64 x 2) 1)) |
(exp.f64 (-.f64 (pow.f64 x 2) 1)) |
(+.f64 1 (expm1.f64 (fma.f64 x x -1))) |
(-.f64 (+.f64 1 (exp.f64 (fma.f64 x x -1))) 1) |
(*.f64 (exp.f64 (fma.f64 x x -1)) 1) |
(*.f64 1 (exp.f64 (fma.f64 x x -1))) |
(*.f64 (pow.f64 (exp.f64 x) x) (exp.f64 -1)) |
(*.f64 (exp.f64 -1) (pow.f64 (exp.f64 x) x)) |
(*.f64 (cbrt.f64 (exp.f64 (fma.f64 x x -1))) (pow.f64 (cbrt.f64 (exp.f64 (fma.f64 x x -1))) 2)) |
(*.f64 (pow.f64 (cbrt.f64 (exp.f64 (fma.f64 x x -1))) 2) (cbrt.f64 (exp.f64 (fma.f64 x x -1)))) |
(*.f64 (sqrt.f64 (exp.f64 (fma.f64 x x -1))) (sqrt.f64 (exp.f64 (fma.f64 x x -1)))) |
(pow.f64 (exp.f64 (fma.f64 x x -1)) 1) |
(pow.f64 (cbrt.f64 (exp.f64 (fma.f64 x x -1))) 3) |
(pow.f64 (pow.f64 (exp.f64 (fma.f64 x x -1)) 3) 1/3) |
(pow.f64 (sqrt.f64 (exp.f64 (fma.f64 x x -1))) 2) |
(pow.f64 (exp.f64 (pow.f64 (cbrt.f64 (fma.f64 x x -1)) 2)) (cbrt.f64 (fma.f64 x x -1))) |
(pow.f64 (exp.f64 (+.f64 x 1)) (+.f64 x -1)) |
(pow.f64 (exp.f64 1) (fma.f64 x x -1)) |
(pow.f64 (exp.f64 (sqrt.f64 (fma.f64 x x -1))) (sqrt.f64 (fma.f64 x x -1))) |
(sqrt.f64 (pow.f64 (exp.f64 (fma.f64 x x -1)) 2)) |
(log.f64 (exp.f64 (exp.f64 (fma.f64 x x -1)))) |
(cbrt.f64 (pow.f64 (exp.f64 (fma.f64 x x -1)) 3)) |
(expm1.f64 (log1p.f64 (exp.f64 (fma.f64 x x -1)))) |
(log1p.f64 (expm1.f64 (exp.f64 (fma.f64 x x -1)))) |
| Outputs |
|---|
(exp.f64 -1) |
(+.f64 (*.f64 (exp.f64 -1) (pow.f64 x 2)) (exp.f64 -1)) |
(fma.f64 (exp.f64 -1) (*.f64 x x) (exp.f64 -1)) |
(*.f64 (exp.f64 -1) (fma.f64 x x 1)) |
(+.f64 (*.f64 (exp.f64 -1) (pow.f64 x 2)) (+.f64 (exp.f64 -1) (*.f64 1/2 (*.f64 (exp.f64 -1) (pow.f64 x 4))))) |
(+.f64 (fma.f64 (exp.f64 -1) (*.f64 x x) (exp.f64 -1)) (*.f64 1/2 (*.f64 (exp.f64 -1) (pow.f64 x 4)))) |
(fma.f64 (exp.f64 -1) (*.f64 x x) (fma.f64 1/2 (*.f64 (exp.f64 -1) (pow.f64 x 4)) (exp.f64 -1))) |
(*.f64 (exp.f64 -1) (+.f64 (fma.f64 x x 1) (*.f64 1/2 (pow.f64 x 4)))) |
(*.f64 (exp.f64 -1) (fma.f64 1/2 (pow.f64 x 4) (fma.f64 x x 1))) |
(+.f64 (*.f64 1/6 (*.f64 (exp.f64 -1) (pow.f64 x 6))) (+.f64 (*.f64 (exp.f64 -1) (pow.f64 x 2)) (+.f64 (exp.f64 -1) (*.f64 1/2 (*.f64 (exp.f64 -1) (pow.f64 x 4)))))) |
(fma.f64 1/6 (*.f64 (exp.f64 -1) (pow.f64 x 6)) (+.f64 (fma.f64 (exp.f64 -1) (*.f64 x x) (exp.f64 -1)) (*.f64 1/2 (*.f64 (exp.f64 -1) (pow.f64 x 4))))) |
(fma.f64 1/6 (*.f64 (exp.f64 -1) (pow.f64 x 6)) (fma.f64 (exp.f64 -1) (*.f64 x x) (fma.f64 1/2 (*.f64 (exp.f64 -1) (pow.f64 x 4)) (exp.f64 -1)))) |
(fma.f64 (exp.f64 -1) (*.f64 1/6 (pow.f64 x 6)) (*.f64 (exp.f64 -1) (+.f64 (fma.f64 x x 1) (*.f64 1/2 (pow.f64 x 4))))) |
(*.f64 (exp.f64 -1) (+.f64 (*.f64 1/2 (pow.f64 x 4)) (fma.f64 1/6 (pow.f64 x 6) (fma.f64 x x 1)))) |
(exp.f64 (-.f64 (pow.f64 x 2) 1)) |
(exp.f64 (fma.f64 x x -1)) |
(exp.f64 (-.f64 (pow.f64 x 2) 1)) |
(exp.f64 (fma.f64 x x -1)) |
(exp.f64 (-.f64 (pow.f64 x 2) 1)) |
(exp.f64 (fma.f64 x x -1)) |
(exp.f64 (-.f64 (pow.f64 x 2) 1)) |
(exp.f64 (fma.f64 x x -1)) |
(exp.f64 (-.f64 (pow.f64 x 2) 1)) |
(exp.f64 (fma.f64 x x -1)) |
(exp.f64 (-.f64 (pow.f64 x 2) 1)) |
(exp.f64 (fma.f64 x x -1)) |
(exp.f64 (-.f64 (pow.f64 x 2) 1)) |
(exp.f64 (fma.f64 x x -1)) |
(exp.f64 (-.f64 (pow.f64 x 2) 1)) |
(exp.f64 (fma.f64 x x -1)) |
(+.f64 1 (expm1.f64 (fma.f64 x x -1))) |
(exp.f64 (fma.f64 x x -1)) |
(-.f64 (+.f64 1 (exp.f64 (fma.f64 x x -1))) 1) |
(exp.f64 (fma.f64 x x -1)) |
(*.f64 (exp.f64 (fma.f64 x x -1)) 1) |
(exp.f64 (fma.f64 x x -1)) |
(*.f64 1 (exp.f64 (fma.f64 x x -1))) |
(exp.f64 (fma.f64 x x -1)) |
(*.f64 (pow.f64 (exp.f64 x) x) (exp.f64 -1)) |
(exp.f64 (fma.f64 x x -1)) |
(*.f64 (exp.f64 -1) (pow.f64 (exp.f64 x) x)) |
(exp.f64 (fma.f64 x x -1)) |
(*.f64 (cbrt.f64 (exp.f64 (fma.f64 x x -1))) (pow.f64 (cbrt.f64 (exp.f64 (fma.f64 x x -1))) 2)) |
(exp.f64 (fma.f64 x x -1)) |
(*.f64 (pow.f64 (cbrt.f64 (exp.f64 (fma.f64 x x -1))) 2) (cbrt.f64 (exp.f64 (fma.f64 x x -1)))) |
(exp.f64 (fma.f64 x x -1)) |
(*.f64 (sqrt.f64 (exp.f64 (fma.f64 x x -1))) (sqrt.f64 (exp.f64 (fma.f64 x x -1)))) |
(exp.f64 (fma.f64 x x -1)) |
(pow.f64 (exp.f64 (fma.f64 x x -1)) 1) |
(exp.f64 (fma.f64 x x -1)) |
(pow.f64 (cbrt.f64 (exp.f64 (fma.f64 x x -1))) 3) |
(exp.f64 (fma.f64 x x -1)) |
(pow.f64 (pow.f64 (exp.f64 (fma.f64 x x -1)) 3) 1/3) |
(exp.f64 (fma.f64 x x -1)) |
(pow.f64 (sqrt.f64 (exp.f64 (fma.f64 x x -1))) 2) |
(exp.f64 (fma.f64 x x -1)) |
(pow.f64 (exp.f64 (pow.f64 (cbrt.f64 (fma.f64 x x -1)) 2)) (cbrt.f64 (fma.f64 x x -1))) |
(pow.f64 (exp.f64 (+.f64 x 1)) (+.f64 x -1)) |
(exp.f64 (fma.f64 x x -1)) |
(pow.f64 (exp.f64 1) (fma.f64 x x -1)) |
(pow.f64 (E.f64) (fma.f64 x x -1)) |
(pow.f64 (exp.f64 (sqrt.f64 (fma.f64 x x -1))) (sqrt.f64 (fma.f64 x x -1))) |
(sqrt.f64 (pow.f64 (exp.f64 (fma.f64 x x -1)) 2)) |
(exp.f64 (fma.f64 x x -1)) |
(log.f64 (exp.f64 (exp.f64 (fma.f64 x x -1)))) |
(exp.f64 (fma.f64 x x -1)) |
(cbrt.f64 (pow.f64 (exp.f64 (fma.f64 x x -1)) 3)) |
(exp.f64 (fma.f64 x x -1)) |
(expm1.f64 (log1p.f64 (exp.f64 (fma.f64 x x -1)))) |
(exp.f64 (fma.f64 x x -1)) |
(log1p.f64 (expm1.f64 (exp.f64 (fma.f64 x x -1)))) |
(exp.f64 (fma.f64 x x -1)) |
Compiled 432 to 329 computations (23.8% saved)
3 alts after pruning (2 fresh and 1 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 37 | 2 | 39 |
| Fresh | 0 | 0 | 0 |
| Picked | 0 | 1 | 1 |
| Done | 0 | 0 | 0 |
| Total | 37 | 3 | 40 |
| Status | Accuracy | Program |
|---|---|---|
| ▶ | 100.0% | (+.f64 1 (expm1.f64 (fma.f64 x x -1))) |
| ✓ | 100.0% | (exp.f64 (+.f64 (*.f64 x x) -1)) |
| ▶ | 55.0% | (exp.f64 -1) |
| ▶ | 100.0% | (+.f64 1 (expm1.f64 (fma.f64 x x -1))) |
| ✓ | 100.0% | (exp.f64 (+.f64 (*.f64 x x) -1)) |
| ▶ | 55.0% | (exp.f64 -1) |
Compiled 36 to 28 computations (22.2% saved)
Compiled 26 to 19 computations (26.9% 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 | 2 | 2 |
| Done | 0 | 1 | 1 |
| Total | 0 | 3 | 3 |
| Status | Accuracy | Program |
|---|---|---|
| ✓ | 100.0% | (+.f64 1 (expm1.f64 (fma.f64 x x -1))) |
| ✓ | 100.0% | (exp.f64 (+.f64 (*.f64 x x) -1)) |
| ✓ | 55.0% | (exp.f64 -1) |
Compiled 41 to 30 computations (26.8% saved)
| Inputs |
|---|
(exp.f64 -1) |
(exp.f64 (+.f64 (*.f64 x x) -1)) |
(exp.f64 (neg.f64 (-.f64 1 (*.f64 x x)))) |
(+.f64 1 (expm1.f64 (fma.f64 x x -1))) |
| Outputs |
|---|
(+.f64 1 (expm1.f64 (fma.f64 x x -1))) |
5 calls:
| 4.0ms | x |
| 3.0ms | (neg.f64 (-.f64 1 (*.f64 x x))) |
| 3.0ms | (*.f64 x x) |
| 2.0ms | (-.f64 1 (*.f64 x x)) |
| 2.0ms | (exp.f64 (neg.f64 (-.f64 1 (*.f64 x x)))) |
| Accuracy | Segments | Branch |
|---|---|---|
| 100.0% | 1 | x |
| 100.0% | 1 | (exp.f64 (neg.f64 (-.f64 1 (*.f64 x x)))) |
| 100.0% | 1 | (neg.f64 (-.f64 1 (*.f64 x x))) |
| 100.0% | 1 | (-.f64 1 (*.f64 x x)) |
| 100.0% | 1 | (*.f64 x x) |
Compiled 50 to 34 computations (32% saved)
| Inputs |
|---|
(exp.f64 -1) |
(exp.f64 (+.f64 (*.f64 x x) -1)) |
(exp.f64 (neg.f64 (-.f64 1 (*.f64 x x)))) |
| Outputs |
|---|
(exp.f64 (+.f64 (*.f64 x x) -1)) |
5 calls:
| 5.0ms | (exp.f64 (neg.f64 (-.f64 1 (*.f64 x x)))) |
| 3.0ms | x |
| 3.0ms | (*.f64 x x) |
| 2.0ms | (-.f64 1 (*.f64 x x)) |
| 2.0ms | (neg.f64 (-.f64 1 (*.f64 x x))) |
| Accuracy | Segments | Branch |
|---|---|---|
| 100.0% | 1 | x |
| 100.0% | 1 | (exp.f64 (neg.f64 (-.f64 1 (*.f64 x x)))) |
| 100.0% | 1 | (neg.f64 (-.f64 1 (*.f64 x x))) |
| 100.0% | 1 | (-.f64 1 (*.f64 x x)) |
| 100.0% | 1 | (*.f64 x x) |
Compiled 43 to 29 computations (32.6% saved)
Total 0.0b remaining (0%)
Threshold costs 0b (0%)
| Inputs |
|---|
(exp.f64 -1) |
| Outputs |
|---|
(exp.f64 -1) |
1 calls:
| 2.0ms | x |
| Accuracy | Segments | Branch |
|---|---|---|
| 55.0% | 1 | x |
Compiled 5 to 4 computations (20% saved)
| 1× | egg-herbie |
| 4× | +-commutative |
| 2× | 1-exp |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 14 | 41 |
| 1 | 18 | 41 |
| 1× | done |
| 1× | saturated |
| Inputs |
|---|
(+.f64 1 (expm1.f64 (fma.f64 x x -1))) |
(exp.f64 (+.f64 (*.f64 x x) -1)) |
(exp.f64 -1) |
| Outputs |
|---|
(+.f64 1 (expm1.f64 (fma.f64 x x -1))) |
(exp.f64 (+.f64 (*.f64 x x) -1)) |
(exp.f64 (+.f64 -1 (*.f64 x x))) |
(exp.f64 -1) |
Compiled 18 to 14 computations (22.2% saved)
| 1788× | fma-def |
| 1590× | pow1 |
| 1468× | add-exp-log |
| 1468× | log1p-expm1-u |
| 1468× | expm1-log1p-u |
Useful iterations: 3 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 9 | 21 |
| 1 | 21 | 17 |
| 2 | 50 | 17 |
| 3 | 114 | 13 |
| 4 | 240 | 13 |
| 5 | 536 | 13 |
| 6 | 1626 | 13 |
| 7 | 5506 | 13 |
| 0 | 8 | 13 |
| 1 | 169 | 13 |
| 2 | 2030 | 13 |
| 1× | node limit |
| 1× | node limit |
Compiled 76 to 49 computations (35.5% saved)
Compiled 48 to 36 computations (25% saved)
Loading profile data...