Time bar (total: 1.2s)
| 1× | search |
| Probability | Valid | Unknown | Precondition | Infinite | Domain | Can't | Iter |
|---|---|---|---|---|---|---|---|
| 0% | 0% | 100% | 0% | 0% | 0% | 0% | 0 |
| 0% | 0% | 100% | 0% | 0% | 0% | 0% | 1 |
| 0% | 0% | 100% | 0% | 0% | 0% | 0% | 2 |
| 50% | 50% | 50% | 0% | 0% | 0% | 0% | 3 |
| 57.1% | 50% | 37.5% | 0% | 12.5% | 0% | 0% | 4 |
| 76.9% | 62.5% | 18.7% | 0% | 18.7% | 0% | 0% | 5 |
| 88% | 68.7% | 9.4% | 0% | 21.9% | 0% | 0% | 6 |
| 93.9% | 71.8% | 4.7% | 0% | 23.4% | 0% | 0% | 7 |
| 96.9% | 73.4% | 2.3% | 0% | 24.2% | 0% | 0% | 8 |
| 98.4% | 74.2% | 1.2% | 0% | 24.6% | 0% | 0% | 9 |
| 99.2% | 74.6% | 0.6% | 0% | 24.8% | 0% | 0% | 10 |
| 99.6% | 74.8% | 0.3% | 0% | 24.9% | 0% | 0% | 11 |
| 99.8% | 74.9% | 0.1% | 0% | 24.9% | 0% | 0% | 12 |
Compiled 7 to 4 computations (42.9% saved)
| 691.0ms | 8256× | body | 256 | valid |
| 0.0ms | 5× | body | 256 | infinite |
| 2× | egg-herbie |
| 14× | fma-def |
| 6× | *-commutative |
| 6× | associate-*r* |
| 6× | associate-*l* |
| 4× | distribute-rgt-in |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 5 | 13 |
| 1 | 9 | 9 |
| 2 | 16 | 9 |
| 3 | 22 | 9 |
| 4 | 24 | 9 |
| 5 | 35 | 9 |
| 6 | 37 | 9 |
| 0 | 1 | 1 |
| 1× | saturated |
| 1× | saturated |
| Inputs |
|---|
0 |
| Outputs |
|---|
0 |
| Inputs |
|---|
(+.f64 x (*.f64 x x)) |
| Outputs |
|---|
(+.f64 x (*.f64 x x)) |
(fma.f64 x x x) |
Compiled 7 to 4 computations (42.9% saved)
| 1× | egg-herbie |
| 14× | fma-def |
| 6× | *-commutative |
| 6× | associate-*r* |
| 6× | associate-*l* |
| 4× | distribute-rgt-in |
Useful iterations: 1 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 5 | 13 |
| 1 | 9 | 9 |
| 2 | 16 | 9 |
| 3 | 22 | 9 |
| 4 | 24 | 9 |
| 5 | 35 | 9 |
| 6 | 37 | 9 |
| 1× | saturated |
| Inputs |
|---|
(+.f64 x (*.f64 x x)) |
| Outputs |
|---|
(+.f64 x (*.f64 x x)) |
(fma.f64 x x x) |
Compiled 10 to 4 computations (60% 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 |
|---|---|---|
| ▶ | 0% | (fma.f64 x x x) |
| ▶ | 0.01% | (+.f64 x (*.f64 x x)) |
Compiled 11 to 5 computations (54.5% saved)
Found 1 expressions with local error:
| New | Error | Program |
|---|---|---|
| ✓ | 0.01% | (+.f64 x (*.f64 x x)) |
Compiled 10 to 3 computations (70% saved)
3 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 0.0ms | x | @ | inf | (+.f64 x (*.f64 x x)) |
| 0.0ms | x | @ | 0 | (+.f64 x (*.f64 x x)) |
| 0.0ms | x | @ | -inf | (+.f64 x (*.f64 x x)) |
| 1× | batch-egg-rewrite |
| 1220× | add-sqr-sqrt |
| 1200× | *-un-lft-identity |
| 1130× | add-cube-cbrt |
| 1120× | add-cbrt-cube |
| 1114× | add-exp-log |
Useful iterations: 1 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 5 | 13 |
| 1 | 112 | 9 |
| 2 | 1613 | 9 |
| 1× | node limit |
| Inputs |
|---|
(+.f64 x (*.f64 x x)) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (fma.f64 x x x)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (/.f64 (*.f64 x x) (-.f64 x (*.f64 x x))) (/.f64 (pow.f64 x 4) (-.f64 x (*.f64 x x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 x (+.f64 x 1))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (fma.f64 x x x) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (fma.f64 x x x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (hypot.f64 x (sqrt.f64 x)) (hypot.f64 x (sqrt.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (fma.f64 x x x)) (pow.f64 (cbrt.f64 (fma.f64 x x x)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (fma.f64 x x x)) 2) (cbrt.f64 (fma.f64 x x x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 x 1) x)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (-.f64 (*.f64 x x) (pow.f64 x 4)) (/.f64 1 (-.f64 x (*.f64 x x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 (pow.f64 x 6) (pow.f64 x 3)) (/.f64 1 (fma.f64 x x (-.f64 (pow.f64 x 4) (pow.f64 x 3)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (+.f64 x 1) 1) x)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (+.f64 x 1) (sqrt.f64 x)) (sqrt.f64 x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (+.f64 x 1) (cbrt.f64 (*.f64 x x))) (cbrt.f64 x))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (-.f64 x (*.f64 x x)) (-.f64 (*.f64 x x) (pow.f64 x 4))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (fma.f64 x x (-.f64 (pow.f64 x 4) (pow.f64 x 3))) (+.f64 (pow.f64 x 6) (pow.f64 x 3))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (*.f64 x x) (pow.f64 x 4)) (-.f64 x (*.f64 x x)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 x 6) (pow.f64 x 3)) (fma.f64 x x (-.f64 (pow.f64 x 4) (pow.f64 x 3))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 x 6) (pow.f64 x 3)) (+.f64 (pow.f64 x 4) (-.f64 (*.f64 x x) (pow.f64 x 3))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (pow.f64 x 4) (*.f64 x x)) (-.f64 (*.f64 x x) x))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (-.f64 (*.f64 x x) (pow.f64 x 4))) (neg.f64 (-.f64 x (*.f64 x x))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (+.f64 (pow.f64 x 6) (pow.f64 x 3))) (neg.f64 (fma.f64 x x (-.f64 (pow.f64 x 4) (pow.f64 x 3)))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (fma.f64 x x x) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (hypot.f64 x (sqrt.f64 x)) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (fma.f64 x x x)) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (fma.f64 x x x) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (fma.f64 x x x) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (fma.f64 x x x)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (fma.f64 x x x) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (fma.f64 x x x)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (fma.f64 x x x)))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (fma.f64 x x x)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 x x x)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 x (*.f64 x x))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (*.f64 x x) x)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 x) (sqrt.f64 x) (*.f64 x x))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (*.f64 x x)) (cbrt.f64 x) (*.f64 x x))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (pow.f64 x 4)) (cbrt.f64 (*.f64 x x)) x))))) |
| 1× | egg-herbie |
| 1092× | associate-*r* |
| 1064× | associate-+r+ |
| 954× | associate-*l* |
| 822× | associate-+l+ |
| 618× | associate-*r/ |
Useful iterations: 3 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 92 | 910 |
| 1 | 215 | 880 |
| 2 | 745 | 880 |
| 3 | 4068 | 844 |
| 1× | node limit |
| Inputs |
|---|
x |
(+.f64 (pow.f64 x 2) x) |
(+.f64 (pow.f64 x 2) x) |
(+.f64 (pow.f64 x 2) x) |
(pow.f64 x 2) |
(+.f64 (pow.f64 x 2) x) |
(+.f64 (pow.f64 x 2) x) |
(+.f64 (pow.f64 x 2) x) |
(pow.f64 x 2) |
(+.f64 (pow.f64 x 2) x) |
(+.f64 (pow.f64 x 2) x) |
(+.f64 (pow.f64 x 2) x) |
(-.f64 (+.f64 1 (fma.f64 x x x)) 1) |
(-.f64 (/.f64 (*.f64 x x) (-.f64 x (*.f64 x x))) (/.f64 (pow.f64 x 4) (-.f64 x (*.f64 x x)))) |
(*.f64 x (+.f64 x 1)) |
(*.f64 (fma.f64 x x x) 1) |
(*.f64 1 (fma.f64 x x x)) |
(*.f64 (hypot.f64 x (sqrt.f64 x)) (hypot.f64 x (sqrt.f64 x))) |
(*.f64 (cbrt.f64 (fma.f64 x x x)) (pow.f64 (cbrt.f64 (fma.f64 x x x)) 2)) |
(*.f64 (pow.f64 (cbrt.f64 (fma.f64 x x x)) 2) (cbrt.f64 (fma.f64 x x x))) |
(*.f64 (+.f64 x 1) x) |
(*.f64 (-.f64 (*.f64 x x) (pow.f64 x 4)) (/.f64 1 (-.f64 x (*.f64 x x)))) |
(*.f64 (+.f64 (pow.f64 x 6) (pow.f64 x 3)) (/.f64 1 (fma.f64 x x (-.f64 (pow.f64 x 4) (pow.f64 x 3))))) |
(*.f64 (*.f64 (+.f64 x 1) 1) x) |
(*.f64 (*.f64 (+.f64 x 1) (sqrt.f64 x)) (sqrt.f64 x)) |
(*.f64 (*.f64 (+.f64 x 1) (cbrt.f64 (*.f64 x x))) (cbrt.f64 x)) |
(/.f64 1 (/.f64 (-.f64 x (*.f64 x x)) (-.f64 (*.f64 x x) (pow.f64 x 4)))) |
(/.f64 1 (/.f64 (fma.f64 x x (-.f64 (pow.f64 x 4) (pow.f64 x 3))) (+.f64 (pow.f64 x 6) (pow.f64 x 3)))) |
(/.f64 (-.f64 (*.f64 x x) (pow.f64 x 4)) (-.f64 x (*.f64 x x))) |
(/.f64 (+.f64 (pow.f64 x 6) (pow.f64 x 3)) (fma.f64 x x (-.f64 (pow.f64 x 4) (pow.f64 x 3)))) |
(/.f64 (+.f64 (pow.f64 x 6) (pow.f64 x 3)) (+.f64 (pow.f64 x 4) (-.f64 (*.f64 x x) (pow.f64 x 3)))) |
(/.f64 (-.f64 (pow.f64 x 4) (*.f64 x x)) (-.f64 (*.f64 x x) x)) |
(/.f64 (neg.f64 (-.f64 (*.f64 x x) (pow.f64 x 4))) (neg.f64 (-.f64 x (*.f64 x x)))) |
(/.f64 (neg.f64 (+.f64 (pow.f64 x 6) (pow.f64 x 3))) (neg.f64 (fma.f64 x x (-.f64 (pow.f64 x 4) (pow.f64 x 3))))) |
(pow.f64 (fma.f64 x x x) 1) |
(pow.f64 (hypot.f64 x (sqrt.f64 x)) 2) |
(pow.f64 (cbrt.f64 (fma.f64 x x x)) 3) |
(pow.f64 (pow.f64 (fma.f64 x x x) 3) 1/3) |
(sqrt.f64 (pow.f64 (fma.f64 x x x) 2)) |
(log.f64 (exp.f64 (fma.f64 x x x))) |
(cbrt.f64 (pow.f64 (fma.f64 x x x) 3)) |
(expm1.f64 (log1p.f64 (fma.f64 x x x))) |
(exp.f64 (log.f64 (fma.f64 x x x))) |
(log1p.f64 (expm1.f64 (fma.f64 x x x))) |
(fma.f64 x x x) |
(fma.f64 1 x (*.f64 x x)) |
(fma.f64 1 (*.f64 x x) x) |
(fma.f64 (sqrt.f64 x) (sqrt.f64 x) (*.f64 x x)) |
(fma.f64 (cbrt.f64 (*.f64 x x)) (cbrt.f64 x) (*.f64 x x)) |
(fma.f64 (cbrt.f64 (pow.f64 x 4)) (cbrt.f64 (*.f64 x x)) x) |
| Outputs |
|---|
x |
(+.f64 (pow.f64 x 2) x) |
(fma.f64 x x x) |
(+.f64 (pow.f64 x 2) x) |
(fma.f64 x x x) |
(+.f64 (pow.f64 x 2) x) |
(fma.f64 x x x) |
(pow.f64 x 2) |
(*.f64 x x) |
(+.f64 (pow.f64 x 2) x) |
(fma.f64 x x x) |
(+.f64 (pow.f64 x 2) x) |
(fma.f64 x x x) |
(+.f64 (pow.f64 x 2) x) |
(fma.f64 x x x) |
(pow.f64 x 2) |
(*.f64 x x) |
(+.f64 (pow.f64 x 2) x) |
(fma.f64 x x x) |
(+.f64 (pow.f64 x 2) x) |
(fma.f64 x x x) |
(+.f64 (pow.f64 x 2) x) |
(fma.f64 x x x) |
(-.f64 (+.f64 1 (fma.f64 x x x)) 1) |
(fma.f64 x x x) |
(-.f64 (/.f64 (*.f64 x x) (-.f64 x (*.f64 x x))) (/.f64 (pow.f64 x 4) (-.f64 x (*.f64 x x)))) |
(/.f64 (-.f64 (*.f64 x x) (pow.f64 x 4)) (-.f64 x (*.f64 x x))) |
(/.f64 (*.f64 x (-.f64 (pow.f64 x 3) x)) (-.f64 (*.f64 x x) x)) |
(*.f64 (/.f64 x (-.f64 1 x)) (-.f64 1 (*.f64 x x))) |
(*.f64 x (+.f64 x 1)) |
(fma.f64 x x x) |
(*.f64 (fma.f64 x x x) 1) |
(fma.f64 x x x) |
(*.f64 1 (fma.f64 x x x)) |
(fma.f64 x x x) |
(*.f64 (hypot.f64 x (sqrt.f64 x)) (hypot.f64 x (sqrt.f64 x))) |
(fma.f64 x x x) |
(*.f64 (cbrt.f64 (fma.f64 x x x)) (pow.f64 (cbrt.f64 (fma.f64 x x x)) 2)) |
(fma.f64 x x x) |
(*.f64 (pow.f64 (cbrt.f64 (fma.f64 x x x)) 2) (cbrt.f64 (fma.f64 x x x))) |
(fma.f64 x x x) |
(*.f64 (+.f64 x 1) x) |
(fma.f64 x x x) |
(*.f64 (-.f64 (*.f64 x x) (pow.f64 x 4)) (/.f64 1 (-.f64 x (*.f64 x x)))) |
(/.f64 (-.f64 (*.f64 x x) (pow.f64 x 4)) (-.f64 x (*.f64 x x))) |
(/.f64 (*.f64 x (-.f64 (pow.f64 x 3) x)) (-.f64 (*.f64 x x) x)) |
(*.f64 (/.f64 x (-.f64 1 x)) (-.f64 1 (*.f64 x x))) |
(*.f64 (+.f64 (pow.f64 x 6) (pow.f64 x 3)) (/.f64 1 (fma.f64 x x (-.f64 (pow.f64 x 4) (pow.f64 x 3))))) |
(/.f64 (*.f64 (+.f64 (pow.f64 x 6) (pow.f64 x 3)) 1) (fma.f64 x x (-.f64 (pow.f64 x 4) (pow.f64 x 3)))) |
(/.f64 (+.f64 (pow.f64 x 6) (pow.f64 x 3)) (fma.f64 x x (-.f64 (pow.f64 x 4) (pow.f64 x 3)))) |
(/.f64 (+.f64 (pow.f64 x 6) (pow.f64 x 3)) (-.f64 (fma.f64 x x (pow.f64 x 4)) (pow.f64 x 3))) |
(*.f64 (*.f64 (+.f64 x 1) 1) x) |
(fma.f64 x x x) |
(*.f64 (*.f64 (+.f64 x 1) (sqrt.f64 x)) (sqrt.f64 x)) |
(fma.f64 x x x) |
(*.f64 (*.f64 (+.f64 x 1) (cbrt.f64 (*.f64 x x))) (cbrt.f64 x)) |
(*.f64 (+.f64 x 1) (*.f64 (cbrt.f64 (*.f64 x x)) (cbrt.f64 x))) |
(/.f64 1 (/.f64 (-.f64 x (*.f64 x x)) (-.f64 (*.f64 x x) (pow.f64 x 4)))) |
(/.f64 (-.f64 (*.f64 x x) (pow.f64 x 4)) (-.f64 x (*.f64 x x))) |
(/.f64 (*.f64 x (-.f64 (pow.f64 x 3) x)) (-.f64 (*.f64 x x) x)) |
(*.f64 (/.f64 x (-.f64 1 x)) (-.f64 1 (*.f64 x x))) |
(/.f64 1 (/.f64 (fma.f64 x x (-.f64 (pow.f64 x 4) (pow.f64 x 3))) (+.f64 (pow.f64 x 6) (pow.f64 x 3)))) |
(/.f64 (*.f64 (+.f64 (pow.f64 x 6) (pow.f64 x 3)) 1) (fma.f64 x x (-.f64 (pow.f64 x 4) (pow.f64 x 3)))) |
(/.f64 (+.f64 (pow.f64 x 6) (pow.f64 x 3)) (fma.f64 x x (-.f64 (pow.f64 x 4) (pow.f64 x 3)))) |
(/.f64 (+.f64 (pow.f64 x 6) (pow.f64 x 3)) (-.f64 (fma.f64 x x (pow.f64 x 4)) (pow.f64 x 3))) |
(/.f64 (-.f64 (*.f64 x x) (pow.f64 x 4)) (-.f64 x (*.f64 x x))) |
(/.f64 (*.f64 x (-.f64 (pow.f64 x 3) x)) (-.f64 (*.f64 x x) x)) |
(*.f64 (/.f64 x (-.f64 1 x)) (-.f64 1 (*.f64 x x))) |
(/.f64 (+.f64 (pow.f64 x 6) (pow.f64 x 3)) (fma.f64 x x (-.f64 (pow.f64 x 4) (pow.f64 x 3)))) |
(/.f64 (*.f64 (+.f64 (pow.f64 x 6) (pow.f64 x 3)) 1) (fma.f64 x x (-.f64 (pow.f64 x 4) (pow.f64 x 3)))) |
(/.f64 (+.f64 (pow.f64 x 6) (pow.f64 x 3)) (-.f64 (fma.f64 x x (pow.f64 x 4)) (pow.f64 x 3))) |
(/.f64 (+.f64 (pow.f64 x 6) (pow.f64 x 3)) (+.f64 (pow.f64 x 4) (-.f64 (*.f64 x x) (pow.f64 x 3)))) |
(/.f64 (*.f64 (+.f64 (pow.f64 x 6) (pow.f64 x 3)) 1) (fma.f64 x x (-.f64 (pow.f64 x 4) (pow.f64 x 3)))) |
(/.f64 (+.f64 (pow.f64 x 6) (pow.f64 x 3)) (fma.f64 x x (-.f64 (pow.f64 x 4) (pow.f64 x 3)))) |
(/.f64 (+.f64 (pow.f64 x 6) (pow.f64 x 3)) (-.f64 (fma.f64 x x (pow.f64 x 4)) (pow.f64 x 3))) |
(/.f64 (-.f64 (pow.f64 x 4) (*.f64 x x)) (-.f64 (*.f64 x x) x)) |
(/.f64 (-.f64 (*.f64 x x) (pow.f64 x 4)) (-.f64 x (*.f64 x x))) |
(/.f64 (*.f64 x (-.f64 (pow.f64 x 3) x)) (-.f64 (*.f64 x x) x)) |
(*.f64 (/.f64 x (-.f64 1 x)) (-.f64 1 (*.f64 x x))) |
(/.f64 (neg.f64 (-.f64 (*.f64 x x) (pow.f64 x 4))) (neg.f64 (-.f64 x (*.f64 x x)))) |
(/.f64 (-.f64 (*.f64 x x) (pow.f64 x 4)) (-.f64 x (*.f64 x x))) |
(/.f64 (*.f64 x (-.f64 (pow.f64 x 3) x)) (-.f64 (*.f64 x x) x)) |
(*.f64 (/.f64 x (-.f64 1 x)) (-.f64 1 (*.f64 x x))) |
(/.f64 (neg.f64 (+.f64 (pow.f64 x 6) (pow.f64 x 3))) (neg.f64 (fma.f64 x x (-.f64 (pow.f64 x 4) (pow.f64 x 3))))) |
(/.f64 (*.f64 (+.f64 (pow.f64 x 6) (pow.f64 x 3)) 1) (fma.f64 x x (-.f64 (pow.f64 x 4) (pow.f64 x 3)))) |
(/.f64 (+.f64 (pow.f64 x 6) (pow.f64 x 3)) (fma.f64 x x (-.f64 (pow.f64 x 4) (pow.f64 x 3)))) |
(/.f64 (+.f64 (pow.f64 x 6) (pow.f64 x 3)) (-.f64 (fma.f64 x x (pow.f64 x 4)) (pow.f64 x 3))) |
(pow.f64 (fma.f64 x x x) 1) |
(fma.f64 x x x) |
(pow.f64 (hypot.f64 x (sqrt.f64 x)) 2) |
(fma.f64 x x x) |
(pow.f64 (cbrt.f64 (fma.f64 x x x)) 3) |
(fma.f64 x x x) |
(pow.f64 (pow.f64 (fma.f64 x x x) 3) 1/3) |
(fma.f64 x x x) |
(sqrt.f64 (pow.f64 (fma.f64 x x x) 2)) |
(fma.f64 x x x) |
(log.f64 (exp.f64 (fma.f64 x x x))) |
(fma.f64 x x x) |
(cbrt.f64 (pow.f64 (fma.f64 x x x) 3)) |
(fma.f64 x x x) |
(expm1.f64 (log1p.f64 (fma.f64 x x x))) |
(fma.f64 x x x) |
(exp.f64 (log.f64 (fma.f64 x x x))) |
(fma.f64 x x x) |
(log1p.f64 (expm1.f64 (fma.f64 x x x))) |
(fma.f64 x x x) |
(fma.f64 x x x) |
(fma.f64 1 x (*.f64 x x)) |
(fma.f64 x x x) |
(fma.f64 1 (*.f64 x x) x) |
(fma.f64 x x x) |
(fma.f64 (sqrt.f64 x) (sqrt.f64 x) (*.f64 x x)) |
(fma.f64 x x x) |
(fma.f64 (cbrt.f64 (*.f64 x x)) (cbrt.f64 x) (*.f64 x x)) |
(fma.f64 x x (*.f64 (cbrt.f64 (*.f64 x x)) (cbrt.f64 x))) |
(fma.f64 (cbrt.f64 (pow.f64 x 4)) (cbrt.f64 (*.f64 x x)) x) |
(fma.f64 (cbrt.f64 (*.f64 x x)) (cbrt.f64 (pow.f64 x 4)) x) |
Compiled 6 to 2 computations (66.7% saved)
Compiled 494 to 226 computations (54.3% saved)
4 alts after pruning (3 fresh and 1 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 46 | 3 | 49 |
| Fresh | 0 | 0 | 0 |
| Picked | 1 | 0 | 1 |
| Done | 0 | 1 | 1 |
| Total | 47 | 4 | 51 |
| Status | Error | Program |
|---|---|---|
| ✓ | 0.01% | (+.f64 x (*.f64 x x)) |
| ▶ | 0.02% | (*.f64 (+.f64 x 1) x) |
| ▶ | 59.94% | (*.f64 x x) |
| 38.19% | x |
Compiled 18 to 10 computations (44.4% saved)
Compiled 5 to 2 computations (60% saved)
Found 1 expressions with local error:
| New | Error | Program |
|---|---|---|
| ✓ | 0.02% | (*.f64 (+.f64 x 1) x) |
Compiled 11 to 7 computations (36.4% saved)
3 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 0.0ms | x | @ | 0 | (*.f64 (+.f64 x 1) x) |
| 0.0ms | x | @ | -inf | (*.f64 (+.f64 x 1) x) |
| 0.0ms | x | @ | inf | (*.f64 (+.f64 x 1) x) |
| 1× | batch-egg-rewrite |
| 1218× | add-sqr-sqrt |
| 1202× | *-un-lft-identity |
| 1122× | add-cube-cbrt |
| 1108× | add-cbrt-cube |
| 1098× | add-exp-log |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 6 | 13 |
| 1 | 123 | 13 |
| 2 | 1532 | 13 |
| 1× | node limit |
| Inputs |
|---|
(*.f64 (+.f64 x 1) x) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x +.f64 x (*.f64 x x))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 x x) x)))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (+.f64 x (*.f64 x x))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 x (fma.f64 x x -1)) (+.f64 x -1))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 x (+.f64 1 (pow.f64 x 3))) (fma.f64 x x (-.f64 1 x)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (fma.f64 x x -1) x) (+.f64 x -1))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (+.f64 1 (pow.f64 x 3)) x) (fma.f64 x x (-.f64 1 x)))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (+.f64 x (*.f64 x x)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (+.f64 x (*.f64 x x))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (+.f64 x (*.f64 x x))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (+.f64 x (*.f64 x x)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (+.f64 x (*.f64 x x)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (pow.f64 (exp.f64 x) (+.f64 x 1)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (+.f64 x (*.f64 x x)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (+.f64 x (*.f64 x x))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (+.f64 (log.f64 x) (log1p.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (+.f64 x (*.f64 x x)))))))) |
| 1× | egg-herbie |
| 1078× | fma-def |
| 1052× | distribute-lft-out |
| 970× | associate-/l* |
| 960× | *-commutative |
| 564× | associate-/r* |
Useful iterations: 1 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 53 | 319 |
| 1 | 126 | 303 |
| 2 | 360 | 303 |
| 3 | 1930 | 303 |
| 4 | 4147 | 303 |
| 1× | node limit |
| Inputs |
|---|
x |
(+.f64 (pow.f64 x 2) x) |
(+.f64 (pow.f64 x 2) x) |
(+.f64 (pow.f64 x 2) x) |
(pow.f64 x 2) |
(+.f64 (pow.f64 x 2) x) |
(+.f64 (pow.f64 x 2) x) |
(+.f64 (pow.f64 x 2) x) |
(pow.f64 x 2) |
(+.f64 (pow.f64 x 2) x) |
(+.f64 (pow.f64 x 2) x) |
(+.f64 (pow.f64 x 2) x) |
(+.f64 x (*.f64 x x)) |
(+.f64 (*.f64 x x) x) |
(-.f64 (+.f64 1 (+.f64 x (*.f64 x x))) 1) |
(/.f64 (*.f64 x (fma.f64 x x -1)) (+.f64 x -1)) |
(/.f64 (*.f64 x (+.f64 1 (pow.f64 x 3))) (fma.f64 x x (-.f64 1 x))) |
(/.f64 (*.f64 (fma.f64 x x -1) x) (+.f64 x -1)) |
(/.f64 (*.f64 (+.f64 1 (pow.f64 x 3)) x) (fma.f64 x x (-.f64 1 x))) |
(pow.f64 (+.f64 x (*.f64 x x)) 1) |
(pow.f64 (sqrt.f64 (+.f64 x (*.f64 x x))) 2) |
(pow.f64 (cbrt.f64 (+.f64 x (*.f64 x x))) 3) |
(pow.f64 (pow.f64 (+.f64 x (*.f64 x x)) 3) 1/3) |
(sqrt.f64 (pow.f64 (+.f64 x (*.f64 x x)) 2)) |
(log.f64 (pow.f64 (exp.f64 x) (+.f64 x 1))) |
(cbrt.f64 (pow.f64 (+.f64 x (*.f64 x x)) 3)) |
(expm1.f64 (log1p.f64 (+.f64 x (*.f64 x x)))) |
(exp.f64 (+.f64 (log.f64 x) (log1p.f64 x))) |
(log1p.f64 (expm1.f64 (+.f64 x (*.f64 x x)))) |
| Outputs |
|---|
x |
(+.f64 (pow.f64 x 2) x) |
(fma.f64 x x x) |
(+.f64 (pow.f64 x 2) x) |
(fma.f64 x x x) |
(+.f64 (pow.f64 x 2) x) |
(fma.f64 x x x) |
(pow.f64 x 2) |
(*.f64 x x) |
(+.f64 (pow.f64 x 2) x) |
(fma.f64 x x x) |
(+.f64 (pow.f64 x 2) x) |
(fma.f64 x x x) |
(+.f64 (pow.f64 x 2) x) |
(fma.f64 x x x) |
(pow.f64 x 2) |
(*.f64 x x) |
(+.f64 (pow.f64 x 2) x) |
(fma.f64 x x x) |
(+.f64 (pow.f64 x 2) x) |
(fma.f64 x x x) |
(+.f64 (pow.f64 x 2) x) |
(fma.f64 x x x) |
(+.f64 x (*.f64 x x)) |
(fma.f64 x x x) |
(+.f64 (*.f64 x x) x) |
(fma.f64 x x x) |
(-.f64 (+.f64 1 (+.f64 x (*.f64 x x))) 1) |
(fma.f64 x x x) |
(/.f64 (*.f64 x (fma.f64 x x -1)) (+.f64 x -1)) |
(fma.f64 x x x) |
(/.f64 (*.f64 x (+.f64 1 (pow.f64 x 3))) (fma.f64 x x (-.f64 1 x))) |
(/.f64 (+.f64 1 (pow.f64 x 3)) (/.f64 (fma.f64 x x (-.f64 1 x)) x)) |
(/.f64 (+.f64 x (pow.f64 x 4)) (fma.f64 x x (-.f64 1 x))) |
(/.f64 (+.f64 x (pow.f64 x 4)) (-.f64 (fma.f64 x x 1) x)) |
(/.f64 (*.f64 (fma.f64 x x -1) x) (+.f64 x -1)) |
(fma.f64 x x x) |
(/.f64 (*.f64 (+.f64 1 (pow.f64 x 3)) x) (fma.f64 x x (-.f64 1 x))) |
(/.f64 (+.f64 1 (pow.f64 x 3)) (/.f64 (fma.f64 x x (-.f64 1 x)) x)) |
(/.f64 (+.f64 x (pow.f64 x 4)) (fma.f64 x x (-.f64 1 x))) |
(/.f64 (+.f64 x (pow.f64 x 4)) (-.f64 (fma.f64 x x 1) x)) |
(pow.f64 (+.f64 x (*.f64 x x)) 1) |
(fma.f64 x x x) |
(pow.f64 (sqrt.f64 (+.f64 x (*.f64 x x))) 2) |
(fma.f64 x x x) |
(pow.f64 (cbrt.f64 (+.f64 x (*.f64 x x))) 3) |
(fma.f64 x x x) |
(pow.f64 (pow.f64 (+.f64 x (*.f64 x x)) 3) 1/3) |
(fma.f64 x x x) |
(sqrt.f64 (pow.f64 (+.f64 x (*.f64 x x)) 2)) |
(fma.f64 x x x) |
(log.f64 (pow.f64 (exp.f64 x) (+.f64 x 1))) |
(fma.f64 x x x) |
(cbrt.f64 (pow.f64 (+.f64 x (*.f64 x x)) 3)) |
(fma.f64 x x x) |
(expm1.f64 (log1p.f64 (+.f64 x (*.f64 x x)))) |
(fma.f64 x x x) |
(exp.f64 (+.f64 (log.f64 x) (log1p.f64 x))) |
(*.f64 x (exp.f64 (log1p.f64 x))) |
(log1p.f64 (expm1.f64 (+.f64 x (*.f64 x x)))) |
(fma.f64 x x x) |
Compiled 202 to 100 computations (50.5% saved)
4 alts after pruning (1 fresh and 3 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 26 | 0 | 26 |
| Fresh | 0 | 1 | 1 |
| Picked | 0 | 1 | 1 |
| Done | 0 | 2 | 2 |
| Total | 26 | 4 | 30 |
| Status | Error | Program |
|---|---|---|
| ✓ | 0.01% | (+.f64 x (*.f64 x x)) |
| ✓ | 0.02% | (*.f64 (+.f64 x 1) x) |
| ✓ | 59.94% | (*.f64 x x) |
| 38.19% | x |
Compiled 18 to 10 computations (44.4% saved)
Compiled 1 to 1 computations (0% saved)
4 alts after pruning (1 fresh and 3 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 0 | 0 | 0 |
| Fresh | 0 | 1 | 1 |
| Picked | 0 | 0 | 0 |
| Done | 0 | 3 | 3 |
| Total | 0 | 4 | 4 |
| Status | Error | Program |
|---|---|---|
| ✓ | 0.01% | (+.f64 x (*.f64 x x)) |
| ✓ | 0.02% | (*.f64 (+.f64 x 1) x) |
| ✓ | 59.94% | (*.f64 x x) |
| 38.19% | x |
Compiled 18 to 10 computations (44.4% saved)
Compiled 1 to 1 computations (0% saved)
4 alts after pruning (1 fresh and 3 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 0 | 0 | 0 |
| Fresh | 0 | 1 | 1 |
| Picked | 0 | 0 | 0 |
| Done | 0 | 3 | 3 |
| Total | 0 | 4 | 4 |
| Status | Error | Program |
|---|---|---|
| ✓ | 0.01% | (+.f64 x (*.f64 x x)) |
| ✓ | 0.02% | (*.f64 (+.f64 x 1) x) |
| ✓ | 59.94% | (*.f64 x x) |
| 38.19% | x |
Compiled 18 to 10 computations (44.4% saved)
| Inputs |
|---|
x |
(*.f64 x x) |
(*.f64 (+.f64 x 1) x) |
(+.f64 x (*.f64 x x)) |
(fma.f64 x x x) |
| Outputs |
|---|
(fma.f64 x x x) |
2 calls:
| 4.0ms | (+.f64 x (*.f64 x x)) |
| 4.0ms | x |
| Error | Segments | Branch |
|---|---|---|
| 0% | 1 | x |
| 0% | 1 | (+.f64 x (*.f64 x x)) |
Compiled 27 to 11 computations (59.3% saved)
| Inputs |
|---|
x |
(*.f64 x x) |
(*.f64 (+.f64 x 1) x) |
(+.f64 x (*.f64 x x)) |
| Outputs |
|---|
(+.f64 x (*.f64 x x)) |
2 calls:
| 46.0ms | (+.f64 x (*.f64 x x)) |
| 4.0ms | x |
| Error | Segments | Branch |
|---|---|---|
| 0.01% | 1 | x |
| 0.01% | 1 | (+.f64 x (*.f64 x x)) |
Compiled 23 to 10 computations (56.5% saved)
| Inputs |
|---|
x |
(*.f64 x x) |
(*.f64 (+.f64 x 1) x) |
| Outputs |
|---|
(*.f64 (+.f64 x 1) x) |
1 calls:
| 3.0ms | x |
| Error | Segments | Branch |
|---|---|---|
| 0.02% | 1 | x |
Compiled 12 to 6 computations (50% saved)
Total -58.4b remaining (-2669.6%)
Threshold costs -58.4b (-2669.6%)
| Inputs |
|---|
x |
(*.f64 x x) |
| Outputs |
|---|
(*.f64 x x) |
x |
(*.f64 x x) |
1 calls:
| 8.0ms | x |
| Error | Segments | Branch |
|---|---|---|
| 3.42% | 3 | x |
Compiled 7 to 3 computations (57.1% saved)
| 2× | binary-search |
| 1× | narrow-enough |
| 1× | narrow-enough |
| Time | Left | Right |
|---|---|---|
| 29.0ms | 0.11673469297840779 | 30108.22125528816 |
| 12.0ms | -643.9178669133584 | -0.00034414992832639425 |
| 39.0ms | 288× | body | 256 | valid |
Compiled 154 to 96 computations (37.7% saved)
| 1× | egg-herbie |
| 4× | +-commutative |
| 2× | 1-exp |
| 2× | if-if-or-not |
| 2× | *-commutative |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 18 | 69 |
| 1 | 29 | 69 |
| 1× | fuel |
| 1× | saturated |
| Inputs |
|---|
(fma.f64 x x x) |
(+.f64 x (*.f64 x x)) |
(*.f64 (+.f64 x 1) x) |
(if (<=.f64 x -1) (*.f64 x x) (if (<=.f64 x 1) x (*.f64 x x))) |
x |
| Outputs |
|---|
(fma.f64 x x x) |
(+.f64 x (*.f64 x x)) |
(*.f64 (+.f64 x 1) x) |
(*.f64 x (+.f64 x 1)) |
(if (<=.f64 x -1) (*.f64 x x) (if (<=.f64 x 1) x (*.f64 x x))) |
x |
Compiled 35 to 18 computations (48.6% saved)
| 1× | egg-herbie |
| 14× | fma-def |
| 6× | *-commutative |
| 6× | associate-*r* |
| 6× | associate-*l* |
| 4× | distribute-rgt-in |
Useful iterations: 1 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 5 | 13 |
| 1 | 9 | 9 |
| 2 | 16 | 9 |
| 3 | 22 | 9 |
| 4 | 24 | 9 |
| 5 | 35 | 9 |
| 6 | 37 | 9 |
| 1× | saturated |
Compiled 15 to 5 computations (66.7% saved)
Compiled 31 to 13 computations (58.1% saved)
Loading profile data...