Time bar (total: 2.4s)
| 1× | search |
| True | Other | False | Iter |
|---|---|---|---|
| 0% | 100% | 0% | 0 |
| 0% | 100% | 0% | 1 |
| 0% | 100% | 0% | 2 |
| 50% | 50% | 0% | 3 |
| 75% | 25% | 0% | 4 |
| 87.5% | 12.5% | 0% | 5 |
| 93.7% | 6.2% | 0% | 6 |
| 96.8% | 3.1% | 0% | 7 |
| 98.4% | 1.6% | 0% | 8 |
| 99.2% | 0.8% | 0% | 9 |
| 99.6% | 0.4% | 0% | 10 |
| 99.8% | 0.2% | 0% | 11 |
| 99.9% | 0.1% | 0% | 12 |
Compiled 9 to 6 computations (33.3% saved)
| 1.3s | 8256× | body | 256 | valid |
| 2× | egg-herbie |
| 1× | +-commutative_binary64 |
| 1× | 1-exp_binary64 |
| 1× | fma-def_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 6 | 8 |
| 1 | 10 | 8 |
| 0 | 1 | 1 |
| 1× | saturated |
| 1× | saturated |
| Inputs |
|---|
0 |
| Outputs |
|---|
0 |
| Inputs |
|---|
(/.f64 x (+.f64 (*.f64 x x) 1)) |
| Outputs |
|---|
(/.f64 x (+.f64 (*.f64 x x) 1)) |
(/.f64 x (fma.f64 x x 1)) |
Compiled 9 to 6 computations (33.3% saved)
| 1× | egg-herbie |
| 1× | +-commutative_binary64 |
| 1× | 1-exp_binary64 |
| 1× | fma-def_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 6 | 8 |
| 1 | 10 | 8 |
| 1× | saturated |
| Inputs |
|---|
(/.f64 x (+.f64 (*.f64 x x) 1)) |
| Outputs |
|---|
(/.f64 x (+.f64 (*.f64 x x) 1)) |
(/.f64 x (fma.f64 x x 1)) |
Compiled 14 to 8 computations (42.9% saved)
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 |
|---|---|---|
| ▶ | 14.3b | (/.f64 x (+.f64 (*.f64 x x) 1)) |
Compiled 8 to 5 computations (37.5% saved)
Found 1 expressions with local error:
| New | Error | Program |
|---|---|---|
| ✓ | 14.3b | (/.f64 x (+.f64 (*.f64 x x) 1)) |
Compiled 18 to 8 computations (55.6% saved)
3 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 1.0ms | x | @ | 0 | (/.f64 x (+.f64 (*.f64 x x) 1)) |
| 1.0ms | x | @ | inf | (/.f64 x (+.f64 (*.f64 x x) 1)) |
| 0.0ms | x | @ | -inf | (/.f64 x (+.f64 (*.f64 x x) 1)) |
| 1× | batch-egg-rewrite |
| 668× | pow1_binary64 |
| 626× | add-log-exp_binary64 |
| 626× | log1p-expm1-u_binary64 |
| 626× | expm1-log1p-u_binary64 |
| 612× | add-exp-log_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 6 | 8 |
| 1 | 130 | 8 |
| 2 | 1749 | 8 |
| 1× | node limit |
| Inputs |
|---|
(/.f64 x (+.f64 (*.f64 x x) 1)) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (/.f64 x (fma.f64 x x 1))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 x (/.f64 1 (fma.f64 x x 1)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (/.f64 x (fma.f64 x x 1)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 x (fma.f64 x x 1)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (/.f64 x (fma.f64 x x 1))) (pow.f64 (cbrt.f64 (/.f64 x (fma.f64 x x 1))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (/.f64 x (fma.f64 x x 1))) 2) (cbrt.f64 (/.f64 x (fma.f64 x x 1))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 x) 2) (*.f64 (cbrt.f64 x) (/.f64 1 (fma.f64 x x 1))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (sqrt.f64 x) (hypot.f64 1 x)) (/.f64 (sqrt.f64 x) (hypot.f64 1 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 x) (*.f64 (sqrt.f64 x) (/.f64 1 (fma.f64 x x 1))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (neg.f64 x) (/.f64 1 (neg.f64 (fma.f64 x x 1))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 1 (fma.f64 x x 1)) x)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (pow.f64 (cbrt.f64 x) 2) 1) (/.f64 (cbrt.f64 x) (fma.f64 x x 1)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (sqrt.f64 x) 1) (/.f64 (sqrt.f64 x) (fma.f64 x x 1)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 1 (pow.f64 (cbrt.f64 (fma.f64 x x 1)) 2)) (/.f64 x (cbrt.f64 (fma.f64 x x 1))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (pow.f64 (cbrt.f64 x) 2) (pow.f64 (cbrt.f64 (fma.f64 x x 1)) 2)) (cbrt.f64 (/.f64 x (fma.f64 x x 1))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (sqrt.f64 x) (pow.f64 (cbrt.f64 (fma.f64 x x 1)) 2)) (/.f64 (sqrt.f64 x) (cbrt.f64 (fma.f64 x x 1))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 1 (hypot.f64 1 x)) (/.f64 x (hypot.f64 1 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (pow.f64 (cbrt.f64 x) 2) (hypot.f64 1 x)) (/.f64 (cbrt.f64 x) (hypot.f64 1 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 x (+.f64 1 (pow.f64 x 6))) (+.f64 (pow.f64 x 4) (-.f64 1 (*.f64 x x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 x (+.f64 (pow.f64 x 4) -1)) (fma.f64 x x -1))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 x (fma.f64 x x 1)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (/.f64 x (fma.f64 x x 1)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (/.f64 x (fma.f64 x x 1))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 (sqrt.f64 x) (hypot.f64 1 x)) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 (fma.f64 x x 1) x) -1)))) (#(struct:change #<rule egg-rr> (2) ((x neg.f64 (/.f64 x (neg.f64 (fma.f64 x x 1))))))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (/.f64 x (fma.f64 x x 1)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (/.f64 x (fma.f64 x x 1))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (/.f64 x (fma.f64 x x 1)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (/.f64 (pow.f64 x 3) (pow.f64 (fma.f64 x x 1) 3)))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (/.f64 x (fma.f64 x x 1))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (/.f64 x (fma.f64 x x 1))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (/.f64 x (fma.f64 x x 1)))))))) |
| 1× | egg-herbie |
| 475× | fma-def_binary64 |
| 420× | times-frac_binary64 |
| 302× | associate-/l/_binary64 |
| 289× | distribute-rgt-neg-in_binary64 |
| 267× | distribute-rgt-in_binary64 |
Useful iterations: 1 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 27 | 184 |
| 1 | 75 | 180 |
| 2 | 197 | 180 |
| 3 | 547 | 180 |
| 4 | 1462 | 180 |
| 5 | 4021 | 180 |
| 1× | node limit |
| Inputs |
|---|
x |
(+.f64 (*.f64 -1 (pow.f64 x 3)) x) |
(+.f64 (*.f64 -1 (pow.f64 x 3)) (+.f64 (pow.f64 x 5) x)) |
(+.f64 (*.f64 -1 (pow.f64 x 3)) (+.f64 (pow.f64 x 5) (+.f64 (*.f64 -1 (pow.f64 x 7)) x))) |
(/.f64 1 x) |
(-.f64 (/.f64 1 x) (/.f64 1 (pow.f64 x 3))) |
(-.f64 (+.f64 (/.f64 1 (pow.f64 x 5)) (/.f64 1 x)) (/.f64 1 (pow.f64 x 3))) |
(-.f64 (+.f64 (/.f64 1 (pow.f64 x 5)) (/.f64 1 x)) (+.f64 (/.f64 1 (pow.f64 x 3)) (/.f64 1 (pow.f64 x 7)))) |
(/.f64 1 x) |
(-.f64 (/.f64 1 x) (/.f64 1 (pow.f64 x 3))) |
(-.f64 (+.f64 (/.f64 1 (pow.f64 x 5)) (/.f64 1 x)) (/.f64 1 (pow.f64 x 3))) |
(-.f64 (+.f64 (/.f64 1 (pow.f64 x 5)) (/.f64 1 x)) (+.f64 (/.f64 1 (pow.f64 x 3)) (/.f64 1 (pow.f64 x 7)))) |
| Outputs |
|---|
x |
(+.f64 (*.f64 -1 (pow.f64 x 3)) x) |
(fma.f64 -1 (pow.f64 x 3) x) |
(-.f64 x (pow.f64 x 3)) |
(+.f64 (*.f64 -1 (pow.f64 x 3)) (+.f64 (pow.f64 x 5) x)) |
(fma.f64 -1 (pow.f64 x 3) (+.f64 x (pow.f64 x 5))) |
(+.f64 (-.f64 x (pow.f64 x 3)) (pow.f64 x 5)) |
(+.f64 x (-.f64 (pow.f64 x 5) (pow.f64 x 3))) |
(+.f64 (*.f64 -1 (pow.f64 x 3)) (+.f64 (pow.f64 x 5) (+.f64 (*.f64 -1 (pow.f64 x 7)) x))) |
(fma.f64 -1 (pow.f64 x 3) (+.f64 (pow.f64 x 5) (fma.f64 -1 (pow.f64 x 7) x))) |
(+.f64 (-.f64 (pow.f64 x 5) (pow.f64 x 7)) (-.f64 x (pow.f64 x 3))) |
(+.f64 (-.f64 x (pow.f64 x 3)) (-.f64 (pow.f64 x 5) (pow.f64 x 7))) |
(+.f64 (pow.f64 x 5) (-.f64 x (+.f64 (pow.f64 x 3) (pow.f64 x 7)))) |
(/.f64 1 x) |
(-.f64 (/.f64 1 x) (/.f64 1 (pow.f64 x 3))) |
(+.f64 (/.f64 1 x) (/.f64 -1 (pow.f64 x 3))) |
(-.f64 (+.f64 (/.f64 1 (pow.f64 x 5)) (/.f64 1 x)) (/.f64 1 (pow.f64 x 3))) |
(-.f64 (+.f64 (/.f64 1 x) (/.f64 1 (pow.f64 x 5))) (/.f64 1 (pow.f64 x 3))) |
(+.f64 (/.f64 1 x) (-.f64 (/.f64 1 (pow.f64 x 5)) (/.f64 1 (pow.f64 x 3)))) |
(+.f64 (/.f64 1 x) (+.f64 (/.f64 1 (pow.f64 x 5)) (/.f64 -1 (pow.f64 x 3)))) |
(+.f64 (+.f64 (/.f64 1 x) (/.f64 1 (pow.f64 x 5))) (/.f64 -1 (pow.f64 x 3))) |
(-.f64 (+.f64 (/.f64 1 (pow.f64 x 5)) (/.f64 1 x)) (+.f64 (/.f64 1 (pow.f64 x 3)) (/.f64 1 (pow.f64 x 7)))) |
(+.f64 (/.f64 1 (pow.f64 x 5)) (-.f64 (/.f64 1 x) (+.f64 (/.f64 1 (pow.f64 x 3)) (/.f64 1 (pow.f64 x 7))))) |
(+.f64 (+.f64 (/.f64 1 x) (/.f64 1 (pow.f64 x 5))) (+.f64 (/.f64 -1 (pow.f64 x 3)) (/.f64 -1 (pow.f64 x 7)))) |
(+.f64 (/.f64 1 x) (+.f64 (/.f64 -1 (pow.f64 x 3)) (+.f64 (/.f64 1 (pow.f64 x 5)) (/.f64 -1 (pow.f64 x 7))))) |
(+.f64 (/.f64 1 x) (+.f64 (/.f64 1 (pow.f64 x 5)) (+.f64 (/.f64 -1 (pow.f64 x 3)) (/.f64 -1 (pow.f64 x 7))))) |
(/.f64 1 x) |
(-.f64 (/.f64 1 x) (/.f64 1 (pow.f64 x 3))) |
(+.f64 (/.f64 1 x) (/.f64 -1 (pow.f64 x 3))) |
(-.f64 (+.f64 (/.f64 1 (pow.f64 x 5)) (/.f64 1 x)) (/.f64 1 (pow.f64 x 3))) |
(-.f64 (+.f64 (/.f64 1 x) (/.f64 1 (pow.f64 x 5))) (/.f64 1 (pow.f64 x 3))) |
(+.f64 (/.f64 1 x) (-.f64 (/.f64 1 (pow.f64 x 5)) (/.f64 1 (pow.f64 x 3)))) |
(+.f64 (/.f64 1 x) (+.f64 (/.f64 1 (pow.f64 x 5)) (/.f64 -1 (pow.f64 x 3)))) |
(+.f64 (+.f64 (/.f64 1 x) (/.f64 1 (pow.f64 x 5))) (/.f64 -1 (pow.f64 x 3))) |
(-.f64 (+.f64 (/.f64 1 (pow.f64 x 5)) (/.f64 1 x)) (+.f64 (/.f64 1 (pow.f64 x 3)) (/.f64 1 (pow.f64 x 7)))) |
(+.f64 (/.f64 1 (pow.f64 x 5)) (-.f64 (/.f64 1 x) (+.f64 (/.f64 1 (pow.f64 x 3)) (/.f64 1 (pow.f64 x 7))))) |
(+.f64 (+.f64 (/.f64 1 x) (/.f64 1 (pow.f64 x 5))) (+.f64 (/.f64 -1 (pow.f64 x 3)) (/.f64 -1 (pow.f64 x 7)))) |
(+.f64 (/.f64 1 x) (+.f64 (/.f64 -1 (pow.f64 x 3)) (+.f64 (/.f64 1 (pow.f64 x 5)) (/.f64 -1 (pow.f64 x 7))))) |
(+.f64 (/.f64 1 x) (+.f64 (/.f64 1 (pow.f64 x 5)) (+.f64 (/.f64 -1 (pow.f64 x 3)) (/.f64 -1 (pow.f64 x 7))))) |
Compiled 531 to 358 computations (32.6% saved)
4 alts after pruning (3 fresh and 1 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 44 | 3 | 47 |
| Fresh | 0 | 0 | 0 |
| Picked | 0 | 1 | 1 |
| Done | 0 | 0 | 0 |
| Total | 44 | 4 | 48 |
| Status | Error | Program |
|---|---|---|
| ✓ | 14.3b | (/.f64 x (+.f64 (*.f64 x x) 1)) |
| ▶ | 30.1b | (/.f64 1 x) |
| ▶ | 33.7b | (-.f64 x (pow.f64 x 3)) |
| 32.6b | x |
Compiled 20 to 13 computations (35% saved)
Found 1 expressions with local error:
| New | Error | Program |
|---|---|---|
| ✓ | 0.0b | (-.f64 x (pow.f64 x 3)) |
Compiled 11 to 7 computations (36.4% saved)
3 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 1.0ms | x | @ | -inf | (-.f64 x (pow.f64 x 3)) |
| 1.0ms | x | @ | inf | (-.f64 x (pow.f64 x 3)) |
| 0.0ms | x | @ | 0 | (-.f64 x (pow.f64 x 3)) |
| 1× | batch-egg-rewrite |
| 582× | pow1_binary64 |
| 549× | add-log-exp_binary64 |
| 549× | log1p-expm1-u_binary64 |
| 549× | expm1-log1p-u_binary64 |
| 537× | add-exp-log_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 5 | 7 |
| 1 | 118 | 7 |
| 2 | 1497 | 7 |
| 1× | node limit |
| Inputs |
|---|
(-.f64 x (pow.f64 x 3)) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x +.f64 x (neg.f64 (pow.f64 x 3)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 x (*.f64 (neg.f64 (pow.f64 x 3)) 1))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (-.f64 x (pow.f64 x 3)) (fma.f64 (neg.f64 (*.f64 x x)) x (pow.f64 x 3)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (-.f64 x (pow.f64 x 3)) (fma.f64 (neg.f64 (pow.f64 x 3)) 1 (pow.f64 x 3)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (-.f64 x (pow.f64 x 3)) (fma.f64 (neg.f64 x) (*.f64 x x) (pow.f64 x 3)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (-.f64 x (pow.f64 x 3)) (fma.f64 (neg.f64 (pow.f64 x 3/2)) (pow.f64 x 3/2) (pow.f64 x 3)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (neg.f64 (pow.f64 x 3)) x)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 x (-.f64 1 (*.f64 x x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (-.f64 x (pow.f64 x 3)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (-.f64 x (pow.f64 x 3)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (-.f64 x (pow.f64 x 3))) (pow.f64 (cbrt.f64 (-.f64 x (pow.f64 x 3))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (-.f64 x (pow.f64 x 3))) 2) (cbrt.f64 (-.f64 x (pow.f64 x 3))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (-.f64 x (pow.f64 x 3))) (sqrt.f64 (-.f64 x (pow.f64 x 3))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (-.f64 (pow.f64 x 3) (pow.f64 x 9)) (/.f64 1 (fma.f64 x x (+.f64 (pow.f64 x 6) (pow.f64 x 4)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (-.f64 (*.f64 x x) (pow.f64 x 6)) (/.f64 1 (+.f64 x (pow.f64 x 3))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 (sqrt.f64 x) (pow.f64 x 3/2)) (-.f64 (sqrt.f64 x) (pow.f64 x 3/2)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (fma.f64 x x (+.f64 (pow.f64 x 6) (pow.f64 x 4))) (-.f64 (pow.f64 x 3) (pow.f64 x 9))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (+.f64 x (pow.f64 x 3)) (-.f64 (*.f64 x x) (pow.f64 x 6))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (pow.f64 x 3) (pow.f64 x 9)) (fma.f64 x x (+.f64 (pow.f64 x 6) (pow.f64 x 4))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (*.f64 x x) (pow.f64 x 6)) (+.f64 x (pow.f64 x 3)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (-.f64 (pow.f64 x 3) (pow.f64 x 9))) (neg.f64 (fma.f64 x x (+.f64 (pow.f64 x 6) (pow.f64 x 4)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (-.f64 (*.f64 x x) (pow.f64 x 6))) (neg.f64 (+.f64 x (pow.f64 x 3))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 x 3) (pow.f64 (neg.f64 (pow.f64 x 3)) 3)) (+.f64 (*.f64 x x) (-.f64 (*.f64 (neg.f64 (pow.f64 x 3)) (neg.f64 (pow.f64 x 3))) (*.f64 x (neg.f64 (pow.f64 x 3))))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (*.f64 x x) (*.f64 (neg.f64 (pow.f64 x 3)) (neg.f64 (pow.f64 x 3)))) (-.f64 x (neg.f64 (pow.f64 x 3))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (-.f64 x (pow.f64 x 3)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (-.f64 x (pow.f64 x 3)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (-.f64 x (pow.f64 x 3))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (-.f64 x (pow.f64 x 3))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (-.f64 x (pow.f64 x 3)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (-.f64 x (pow.f64 x 3))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (-.f64 x (pow.f64 x 3)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (-.f64 x (pow.f64 x 3))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (-.f64 x (pow.f64 x 3))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (-.f64 x (pow.f64 x 3))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 x (neg.f64 (pow.f64 x 3)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 x) 2) (cbrt.f64 x) (neg.f64 (pow.f64 x 3)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 x) (sqrt.f64 x) (neg.f64 (pow.f64 x 3))))))) |
| 1× | egg-herbie |
| 912× | fma-neg_binary64 |
| 469× | distribute-rgt-neg-in_binary64 |
| 457× | associate-*l*_binary64 |
| 383× | fma-def_binary64 |
| 362× | unswap-sqr_binary64 |
Useful iterations: 1 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 7 | 85 |
| 1 | 19 | 76 |
| 2 | 49 | 76 |
| 3 | 97 | 76 |
| 4 | 191 | 76 |
| 5 | 536 | 76 |
| 6 | 1869 | 76 |
| 7 | 3430 | 76 |
| 8 | 5455 | 76 |
| 9 | 7275 | 76 |
| 1× | node limit |
| Inputs |
|---|
x |
(+.f64 (*.f64 -1 (pow.f64 x 3)) x) |
(+.f64 (*.f64 -1 (pow.f64 x 3)) x) |
(+.f64 (*.f64 -1 (pow.f64 x 3)) x) |
(*.f64 -1 (pow.f64 x 3)) |
(+.f64 (*.f64 -1 (pow.f64 x 3)) x) |
(+.f64 (*.f64 -1 (pow.f64 x 3)) x) |
(+.f64 (*.f64 -1 (pow.f64 x 3)) x) |
(*.f64 -1 (pow.f64 x 3)) |
(+.f64 (*.f64 -1 (pow.f64 x 3)) x) |
(+.f64 (*.f64 -1 (pow.f64 x 3)) x) |
(+.f64 (*.f64 -1 (pow.f64 x 3)) x) |
| Outputs |
|---|
x |
(+.f64 (*.f64 -1 (pow.f64 x 3)) x) |
(fma.f64 -1 (pow.f64 x 3) x) |
(-.f64 x (pow.f64 x 3)) |
(+.f64 (*.f64 -1 (pow.f64 x 3)) x) |
(fma.f64 -1 (pow.f64 x 3) x) |
(-.f64 x (pow.f64 x 3)) |
(+.f64 (*.f64 -1 (pow.f64 x 3)) x) |
(fma.f64 -1 (pow.f64 x 3) x) |
(-.f64 x (pow.f64 x 3)) |
(*.f64 -1 (pow.f64 x 3)) |
(neg.f64 (pow.f64 x 3)) |
(pow.f64 (neg.f64 x) 3) |
(+.f64 (*.f64 -1 (pow.f64 x 3)) x) |
(fma.f64 -1 (pow.f64 x 3) x) |
(-.f64 x (pow.f64 x 3)) |
(+.f64 (*.f64 -1 (pow.f64 x 3)) x) |
(fma.f64 -1 (pow.f64 x 3) x) |
(-.f64 x (pow.f64 x 3)) |
(+.f64 (*.f64 -1 (pow.f64 x 3)) x) |
(fma.f64 -1 (pow.f64 x 3) x) |
(-.f64 x (pow.f64 x 3)) |
(*.f64 -1 (pow.f64 x 3)) |
(neg.f64 (pow.f64 x 3)) |
(pow.f64 (neg.f64 x) 3) |
(+.f64 (*.f64 -1 (pow.f64 x 3)) x) |
(fma.f64 -1 (pow.f64 x 3) x) |
(-.f64 x (pow.f64 x 3)) |
(+.f64 (*.f64 -1 (pow.f64 x 3)) x) |
(fma.f64 -1 (pow.f64 x 3) x) |
(-.f64 x (pow.f64 x 3)) |
(+.f64 (*.f64 -1 (pow.f64 x 3)) x) |
(fma.f64 -1 (pow.f64 x 3) x) |
(-.f64 x (pow.f64 x 3)) |
Compiled 6 to 4 computations (33.3% saved)
Compiled 472 to 316 computations (33.1% saved)
5 alts after pruning (2 fresh and 3 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 40 | 2 | 42 |
| Fresh | 1 | 0 | 1 |
| Picked | 0 | 1 | 1 |
| Done | 0 | 2 | 2 |
| Total | 41 | 5 | 46 |
| Status | Error | Program |
|---|---|---|
| ▶ | 33.7b | (*.f64 x (-.f64 1 (*.f64 x x))) |
| ✓ | 30.1b | (/.f64 1 x) |
| 32.6b | x | |
| ✓ | 14.3b | (/.f64 x (+.f64 (*.f64 x x) 1)) |
| ✓ | 33.7b | (-.f64 x (pow.f64 x 3)) |
Compiled 28 to 18 computations (35.7% saved)
Found 1 expressions with local error:
| New | Error | Program |
|---|---|---|
| ✓ | 0.1b | (*.f64 x (-.f64 1 (*.f64 x x))) |
Compiled 18 to 8 computations (55.6% saved)
3 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 1.0ms | x | @ | 0 | (*.f64 x (-.f64 1 (*.f64 x x))) |
| 1.0ms | x | @ | inf | (*.f64 x (-.f64 1 (*.f64 x x))) |
| 1.0ms | x | @ | -inf | (*.f64 x (-.f64 1 (*.f64 x x))) |
| 1× | batch-egg-rewrite |
| 614× | pow1_binary64 |
| 574× | add-log-exp_binary64 |
| 573× | log1p-expm1-u_binary64 |
| 573× | expm1-log1p-u_binary64 |
| 562× | add-exp-log_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 6 | 10 |
| 1 | 126 | 10 |
| 2 | 1599 | 10 |
| 1× | node limit |
| Inputs |
|---|
(*.f64 x (-.f64 1 (*.f64 x x))) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x +.f64 x (*.f64 (*.f64 x (neg.f64 x)) x))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 x (*.f64 x (*.f64 x (neg.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (*.f64 x (-.f64 1 (*.f64 x x)))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (-.f64 1 (pow.f64 x 6)) x) (+.f64 1 (+.f64 (*.f64 x x) (pow.f64 x 4))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (-.f64 1 (pow.f64 x 4)) x) (+.f64 1 (*.f64 x x)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 x (-.f64 1 (pow.f64 x 6))) (+.f64 1 (+.f64 (*.f64 x x) (pow.f64 x 4))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 x (-.f64 1 (pow.f64 x 4))) (+.f64 1 (*.f64 x x)))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 x (-.f64 1 (*.f64 x x))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 x (-.f64 1 (*.f64 x x))) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (*.f64 x (-.f64 1 (*.f64 x x)))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (*.f64 x (-.f64 1 (*.f64 x x)))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (*.f64 x (-.f64 1 (*.f64 x x))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (pow.f64 (exp.f64 x) (-.f64 1 (*.f64 x x))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (*.f64 x (-.f64 1 (*.f64 x x))) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 x (-.f64 1 (*.f64 x x)))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 x (-.f64 1 (*.f64 x x)))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (*.f64 x (-.f64 1 (*.f64 x x))))))))) |
| 1× | egg-herbie |
| 912× | fma-neg_binary64 |
| 469× | distribute-rgt-neg-in_binary64 |
| 457× | associate-*l*_binary64 |
| 383× | fma-def_binary64 |
| 362× | unswap-sqr_binary64 |
Useful iterations: 1 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 7 | 85 |
| 1 | 19 | 76 |
| 2 | 49 | 76 |
| 3 | 97 | 76 |
| 4 | 191 | 76 |
| 5 | 536 | 76 |
| 6 | 1869 | 76 |
| 7 | 3430 | 76 |
| 8 | 5455 | 76 |
| 9 | 7275 | 76 |
| 1× | node limit |
| Inputs |
|---|
x |
(+.f64 (*.f64 -1 (pow.f64 x 3)) x) |
(+.f64 (*.f64 -1 (pow.f64 x 3)) x) |
(+.f64 (*.f64 -1 (pow.f64 x 3)) x) |
(*.f64 -1 (pow.f64 x 3)) |
(+.f64 (*.f64 -1 (pow.f64 x 3)) x) |
(+.f64 (*.f64 -1 (pow.f64 x 3)) x) |
(+.f64 (*.f64 -1 (pow.f64 x 3)) x) |
(*.f64 -1 (pow.f64 x 3)) |
(+.f64 (*.f64 -1 (pow.f64 x 3)) x) |
(+.f64 (*.f64 -1 (pow.f64 x 3)) x) |
(+.f64 (*.f64 -1 (pow.f64 x 3)) x) |
| Outputs |
|---|
x |
(+.f64 (*.f64 -1 (pow.f64 x 3)) x) |
(fma.f64 -1 (pow.f64 x 3) x) |
(-.f64 x (pow.f64 x 3)) |
(+.f64 (*.f64 -1 (pow.f64 x 3)) x) |
(fma.f64 -1 (pow.f64 x 3) x) |
(-.f64 x (pow.f64 x 3)) |
(+.f64 (*.f64 -1 (pow.f64 x 3)) x) |
(fma.f64 -1 (pow.f64 x 3) x) |
(-.f64 x (pow.f64 x 3)) |
(*.f64 -1 (pow.f64 x 3)) |
(neg.f64 (pow.f64 x 3)) |
(pow.f64 (neg.f64 x) 3) |
(+.f64 (*.f64 -1 (pow.f64 x 3)) x) |
(fma.f64 -1 (pow.f64 x 3) x) |
(-.f64 x (pow.f64 x 3)) |
(+.f64 (*.f64 -1 (pow.f64 x 3)) x) |
(fma.f64 -1 (pow.f64 x 3) x) |
(-.f64 x (pow.f64 x 3)) |
(+.f64 (*.f64 -1 (pow.f64 x 3)) x) |
(fma.f64 -1 (pow.f64 x 3) x) |
(-.f64 x (pow.f64 x 3)) |
(*.f64 -1 (pow.f64 x 3)) |
(neg.f64 (pow.f64 x 3)) |
(pow.f64 (neg.f64 x) 3) |
(+.f64 (*.f64 -1 (pow.f64 x 3)) x) |
(fma.f64 -1 (pow.f64 x 3) x) |
(-.f64 x (pow.f64 x 3)) |
(+.f64 (*.f64 -1 (pow.f64 x 3)) x) |
(fma.f64 -1 (pow.f64 x 3) x) |
(-.f64 x (pow.f64 x 3)) |
(+.f64 (*.f64 -1 (pow.f64 x 3)) x) |
(fma.f64 -1 (pow.f64 x 3) x) |
(-.f64 x (pow.f64 x 3)) |
Compiled 206 to 123 computations (40.3% saved)
5 alts after pruning (2 fresh and 3 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 21 | 1 | 22 |
| Fresh | 0 | 1 | 1 |
| Picked | 0 | 1 | 1 |
| Done | 1 | 2 | 3 |
| Total | 22 | 5 | 27 |
| Status | Error | Program |
|---|---|---|
| ✓ | 33.7b | (*.f64 x (-.f64 1 (*.f64 x x))) |
| ✓ | 30.1b | (/.f64 1 x) |
| 32.6b | x | |
| ✓ | 14.3b | (/.f64 x (+.f64 (*.f64 x x) 1)) |
| ▶ | 33.7b | (+.f64 x (*.f64 (*.f64 x (neg.f64 x)) x)) |
Compiled 31 to 19 computations (38.7% saved)
Found 2 expressions with local error:
| New | Error | Program |
|---|---|---|
| ✓ | 0.0b | (+.f64 x (*.f64 (*.f64 x (neg.f64 x)) x)) |
| ✓ | 0.1b | (*.f64 (*.f64 x (neg.f64 x)) x) |
Compiled 22 to 5 computations (77.3% saved)
6 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 1.0ms | x | @ | 0 | (*.f64 (*.f64 x (neg.f64 x)) x) |
| 0.0ms | x | @ | inf | (*.f64 (*.f64 x (neg.f64 x)) x) |
| 0.0ms | x | @ | -inf | (*.f64 (*.f64 x (neg.f64 x)) x) |
| 0.0ms | x | @ | -inf | (+.f64 x (*.f64 (*.f64 x (neg.f64 x)) x)) |
| 0.0ms | x | @ | 0 | (+.f64 x (*.f64 (*.f64 x (neg.f64 x)) x)) |
| 1× | batch-egg-rewrite |
| 550× | pow1_binary64 |
| 515× | add-log-exp_binary64 |
| 513× | log1p-expm1-u_binary64 |
| 513× | expm1-log1p-u_binary64 |
| 503× | add-exp-log_binary64 |
Useful iterations: 1 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 6 | 21 |
| 1 | 137 | 11 |
| 2 | 2122 | 11 |
| 1× | node limit |
| Inputs |
|---|
(*.f64 (*.f64 x (neg.f64 x)) x) |
(+.f64 x (*.f64 (*.f64 x (neg.f64 x)) x)) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (pow.f64 x 3)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 x 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 x 3) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 x (sqrt.f64 x)) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (pow.f64 x 3) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x neg.f64 (pow.f64 x 3))))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (*.f64 x x) 3))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (pow.f64 x 3)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (pow.f64 x 3) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (pow.f64 x 3)))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (pow.f64 x 3)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 x) 3)))))) |
((#(struct:change #<rule egg-rr> (2) ((x -.f64 x (pow.f64 x 3))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (+.f64 x (pow.f64 x 3))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (/.f64 (*.f64 x x) (+.f64 x (pow.f64 x 3))) (/.f64 (pow.f64 (*.f64 x x) 3) (+.f64 x (pow.f64 x 3))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 x (fma.f64 x x 1))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 x (-.f64 1 (*.f64 x x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 x (pow.f64 x 3)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (+.f64 x (pow.f64 x 3)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (+.f64 x (pow.f64 x 3)) 2) (/.f64 1 (+.f64 x (pow.f64 x 3))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (+.f64 x (pow.f64 x 3))) (pow.f64 (cbrt.f64 (+.f64 x (pow.f64 x 3))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (+.f64 x (pow.f64 x 3))) 2) (cbrt.f64 (+.f64 x (pow.f64 x 3))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (+.f64 x (pow.f64 x 3))) (sqrt.f64 (+.f64 x (pow.f64 x 3))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 (pow.f64 x 3) (pow.f64 (pow.f64 x 3) 3)) (/.f64 1 (fma.f64 x x (*.f64 (pow.f64 x 3) (-.f64 (pow.f64 x 3) x)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (fma.f64 x x 1) x)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 (sqrt.f64 x) (*.f64 x (sqrt.f64 x))) (-.f64 (sqrt.f64 x) (*.f64 x (sqrt.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (fma.f64 x x 1) 1) x)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (fma.f64 x x 1) (pow.f64 (cbrt.f64 x) 2)) (cbrt.f64 x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (fma.f64 x x 1) (sqrt.f64 x)) (sqrt.f64 x))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (fma.f64 x x (*.f64 (pow.f64 x 3) (-.f64 (pow.f64 x 3) x))) (+.f64 (pow.f64 x 3) (pow.f64 (pow.f64 x 3) 3))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (+.f64 x (pow.f64 x 3)) (pow.f64 (+.f64 x (pow.f64 x 3)) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (pow.f64 (+.f64 x (pow.f64 x 3)) 2) (+.f64 x (pow.f64 x 3)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 x 3) (pow.f64 (pow.f64 x 3) 3)) (fma.f64 x x (*.f64 (pow.f64 x 3) (-.f64 (pow.f64 x 3) x))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 x 3) (pow.f64 (pow.f64 x 3) 3)) (+.f64 (pow.f64 (*.f64 x x) 3) (-.f64 (*.f64 x x) (*.f64 x (pow.f64 x 3)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (+.f64 (pow.f64 x 3) (pow.f64 (pow.f64 x 3) 3))) (neg.f64 (fma.f64 x x (*.f64 (pow.f64 x 3) (-.f64 (pow.f64 x 3) x)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (pow.f64 (+.f64 x (pow.f64 x 3)) 2)) (neg.f64 (+.f64 x (pow.f64 x 3))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (pow.f64 x 3) (pow.f64 (pow.f64 x 3) 3)) (fma.f64 x x (*.f64 (pow.f64 x 3) (-.f64 (pow.f64 x 3) x))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (pow.f64 (*.f64 x x) 3) (*.f64 x x)) (-.f64 (pow.f64 x 3) x))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (+.f64 x (pow.f64 x 3)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (+.f64 x (pow.f64 x 3)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (+.f64 x (pow.f64 x 3))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (+.f64 x (pow.f64 x 3))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (+.f64 x (pow.f64 x 3)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (+.f64 x (pow.f64 x 3))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (+.f64 x (pow.f64 x 3)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (+.f64 x (pow.f64 x 3))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (+.f64 x (pow.f64 x 3))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (+.f64 x (pow.f64 x 3))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 x (*.f64 x x) x)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 x (pow.f64 x 3))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (pow.f64 x 3) x)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 x x) x x)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 x) 2) (cbrt.f64 x) (pow.f64 x 3))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 x (sqrt.f64 x)) (*.f64 x (sqrt.f64 x)) x)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 x) (sqrt.f64 x) (pow.f64 x 3)))))) |
| 1× | egg-herbie |
| 912× | fma-neg_binary64 |
| 469× | distribute-rgt-neg-in_binary64 |
| 457× | associate-*l*_binary64 |
| 383× | fma-def_binary64 |
| 362× | unswap-sqr_binary64 |
Useful iterations: 1 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 7 | 157 |
| 1 | 19 | 148 |
| 2 | 49 | 148 |
| 3 | 97 | 148 |
| 4 | 191 | 148 |
| 5 | 536 | 148 |
| 6 | 1869 | 148 |
| 7 | 3430 | 148 |
| 8 | 5448 | 148 |
| 9 | 7284 | 148 |
| 1× | node limit |
| Inputs |
|---|
(*.f64 -1 (pow.f64 x 3)) |
(*.f64 -1 (pow.f64 x 3)) |
(*.f64 -1 (pow.f64 x 3)) |
(*.f64 -1 (pow.f64 x 3)) |
(*.f64 -1 (pow.f64 x 3)) |
(*.f64 -1 (pow.f64 x 3)) |
(*.f64 -1 (pow.f64 x 3)) |
(*.f64 -1 (pow.f64 x 3)) |
(*.f64 -1 (pow.f64 x 3)) |
(*.f64 -1 (pow.f64 x 3)) |
(*.f64 -1 (pow.f64 x 3)) |
(*.f64 -1 (pow.f64 x 3)) |
x |
(+.f64 (*.f64 -1 (pow.f64 x 3)) x) |
(+.f64 (*.f64 -1 (pow.f64 x 3)) x) |
(+.f64 (*.f64 -1 (pow.f64 x 3)) x) |
(*.f64 -1 (pow.f64 x 3)) |
(+.f64 (*.f64 -1 (pow.f64 x 3)) x) |
(+.f64 (*.f64 -1 (pow.f64 x 3)) x) |
(+.f64 (*.f64 -1 (pow.f64 x 3)) x) |
(*.f64 -1 (pow.f64 x 3)) |
(+.f64 (*.f64 -1 (pow.f64 x 3)) x) |
(+.f64 (*.f64 -1 (pow.f64 x 3)) x) |
(+.f64 (*.f64 -1 (pow.f64 x 3)) x) |
| Outputs |
|---|
(*.f64 -1 (pow.f64 x 3)) |
(neg.f64 (pow.f64 x 3)) |
(pow.f64 (neg.f64 x) 3) |
(*.f64 -1 (pow.f64 x 3)) |
(neg.f64 (pow.f64 x 3)) |
(pow.f64 (neg.f64 x) 3) |
(*.f64 -1 (pow.f64 x 3)) |
(neg.f64 (pow.f64 x 3)) |
(pow.f64 (neg.f64 x) 3) |
(*.f64 -1 (pow.f64 x 3)) |
(neg.f64 (pow.f64 x 3)) |
(pow.f64 (neg.f64 x) 3) |
(*.f64 -1 (pow.f64 x 3)) |
(neg.f64 (pow.f64 x 3)) |
(pow.f64 (neg.f64 x) 3) |
(*.f64 -1 (pow.f64 x 3)) |
(neg.f64 (pow.f64 x 3)) |
(pow.f64 (neg.f64 x) 3) |
(*.f64 -1 (pow.f64 x 3)) |
(neg.f64 (pow.f64 x 3)) |
(pow.f64 (neg.f64 x) 3) |
(*.f64 -1 (pow.f64 x 3)) |
(neg.f64 (pow.f64 x 3)) |
(pow.f64 (neg.f64 x) 3) |
(*.f64 -1 (pow.f64 x 3)) |
(neg.f64 (pow.f64 x 3)) |
(pow.f64 (neg.f64 x) 3) |
(*.f64 -1 (pow.f64 x 3)) |
(neg.f64 (pow.f64 x 3)) |
(pow.f64 (neg.f64 x) 3) |
(*.f64 -1 (pow.f64 x 3)) |
(neg.f64 (pow.f64 x 3)) |
(pow.f64 (neg.f64 x) 3) |
(*.f64 -1 (pow.f64 x 3)) |
(neg.f64 (pow.f64 x 3)) |
(pow.f64 (neg.f64 x) 3) |
x |
(+.f64 (*.f64 -1 (pow.f64 x 3)) x) |
(fma.f64 -1 (pow.f64 x 3) x) |
(-.f64 x (pow.f64 x 3)) |
(+.f64 (*.f64 -1 (pow.f64 x 3)) x) |
(fma.f64 -1 (pow.f64 x 3) x) |
(-.f64 x (pow.f64 x 3)) |
(+.f64 (*.f64 -1 (pow.f64 x 3)) x) |
(fma.f64 -1 (pow.f64 x 3) x) |
(-.f64 x (pow.f64 x 3)) |
(*.f64 -1 (pow.f64 x 3)) |
(neg.f64 (pow.f64 x 3)) |
(pow.f64 (neg.f64 x) 3) |
(+.f64 (*.f64 -1 (pow.f64 x 3)) x) |
(fma.f64 -1 (pow.f64 x 3) x) |
(-.f64 x (pow.f64 x 3)) |
(+.f64 (*.f64 -1 (pow.f64 x 3)) x) |
(fma.f64 -1 (pow.f64 x 3) x) |
(-.f64 x (pow.f64 x 3)) |
(+.f64 (*.f64 -1 (pow.f64 x 3)) x) |
(fma.f64 -1 (pow.f64 x 3) x) |
(-.f64 x (pow.f64 x 3)) |
(*.f64 -1 (pow.f64 x 3)) |
(neg.f64 (pow.f64 x 3)) |
(pow.f64 (neg.f64 x) 3) |
(+.f64 (*.f64 -1 (pow.f64 x 3)) x) |
(fma.f64 -1 (pow.f64 x 3) x) |
(-.f64 x (pow.f64 x 3)) |
(+.f64 (*.f64 -1 (pow.f64 x 3)) x) |
(fma.f64 -1 (pow.f64 x 3) x) |
(-.f64 x (pow.f64 x 3)) |
(+.f64 (*.f64 -1 (pow.f64 x 3)) x) |
(fma.f64 -1 (pow.f64 x 3) x) |
(-.f64 x (pow.f64 x 3)) |
Compiled 608 to 387 computations (36.3% saved)
5 alts after pruning (1 fresh and 4 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 59 | 0 | 59 |
| Fresh | 0 | 1 | 1 |
| Picked | 0 | 1 | 1 |
| Done | 0 | 3 | 3 |
| Total | 59 | 5 | 64 |
| Status | Error | Program |
|---|---|---|
| ✓ | 33.7b | (*.f64 x (-.f64 1 (*.f64 x x))) |
| ✓ | 30.1b | (/.f64 1 x) |
| 32.6b | x | |
| ✓ | 14.3b | (/.f64 x (+.f64 (*.f64 x x) 1)) |
| ✓ | 33.7b | (+.f64 x (*.f64 (*.f64 x (neg.f64 x)) x)) |
Compiled 31 to 19 computations (38.7% saved)
| Inputs |
|---|
x |
x |
(/.f64 1 x) |
(*.f64 x (-.f64 1 (*.f64 x x))) |
(/.f64 x (+.f64 (*.f64 x x) 1)) |
(+.f64 x (*.f64 (*.f64 x (neg.f64 x)) x)) |
(-.f64 x (pow.f64 x 3)) |
| Outputs |
|---|
(/.f64 1 x) |
(/.f64 x (+.f64 (*.f64 x x) 1)) |
(/.f64 1 x) |
2 calls:
| 22.0ms | x |
| 12.0ms | (/.f64 x (+.f64 (*.f64 x x) 1)) |
| Error | Segments | Branch |
|---|---|---|
| 0.0b | 3 | x |
| 0.1b | 3 | (/.f64 x (+.f64 (*.f64 x x) 1)) |
Compiled 43 to 23 computations (46.5% saved)
| 2× | binary-search |
| Time | Left | Right |
|---|---|---|
| 16.0ms | 59648160.18353129 | 1084759441.8640318 |
| 16.0ms | -16656208939.85756 | -1268504879.5260742 |
Compiled 12 to 8 computations (33.3% saved)
| Inputs |
|---|
x |
x |
(/.f64 1 x) |
(*.f64 x (-.f64 1 (*.f64 x x))) |
| Outputs |
|---|
(/.f64 1 x) |
(*.f64 x (-.f64 1 (*.f64 x x))) |
(/.f64 1 x) |
1 calls:
| 10.0ms | x |
| Error | Segments | Branch |
|---|---|---|
| 1.1b | 3 | x |
Compiled 15 to 8 computations (46.7% saved)
| 2× | binary-search |
| Time | Left | Right |
|---|---|---|
| 15.0ms | 0.021398597363671983 | 1.370840529417722 |
| 17.0ms | -15.677859053130133 | -0.602516291185853 |
Compiled 12 to 8 computations (33.3% saved)
| Inputs |
|---|
x |
x |
(/.f64 1 x) |
| Outputs |
|---|
(/.f64 1 x) |
x |
(/.f64 1 x) |
1 calls:
| 62.0ms | x |
| Error | Segments | Branch |
|---|---|---|
| 1.2b | 3 | x |
Compiled 8 to 4 computations (50% saved)
| 2× | binary-search |
| Time | Left | Right |
|---|---|---|
| 15.0ms | 0.021398597363671983 | 1.370840529417722 |
| 63.0ms | -15.677859053130133 | -0.602516291185853 |
Compiled 12 to 8 computations (33.3% saved)
Total -0.0b remaining (-0%)
Threshold costs -0.0b (-0%)
| Inputs |
|---|
x |
x |
| Outputs |
|---|
x |
1 calls:
| 4.0ms | x |
| Error | Segments | Branch |
|---|---|---|
| 32.6b | 1 | x |
Compiled 5 to 2 computations (60% saved)
| 1× | egg-herbie |
| 4× | +-commutative_binary64 |
| 3× | *-commutative_binary64 |
| 3× | sub-neg_binary64 |
| 2× | neg-sub0_binary64 |
| 2× | neg-mul-1_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 24 | 82 |
| 1 | 33 | 82 |
| 2 | 40 | 82 |
| 3 | 44 | 82 |
| 4 | 46 | 82 |
| 1× | fuel |
| 1× | saturated |
| Inputs |
|---|
(if (<=.f64 x -1091581309082505/65536) (/.f64 1 x) (if (<=.f64 x 256186897254836256/4294967296) (/.f64 x (+.f64 (*.f64 x x) 1)) (/.f64 1 x))) |
(if (<=.f64 x -8825850023705503/562949953421312) (/.f64 1 x) (if (<=.f64 x 394734449104012992/18446744073709551616) (*.f64 x (-.f64 1 (*.f64 x x))) (/.f64 1 x))) |
(if (<=.f64 x -8825850023705503/562949953421312) (/.f64 1 x) (if (<=.f64 x 394734449104012992/18446744073709551616) x (/.f64 1 x))) |
x |
| Outputs |
|---|
(if (<=.f64 x -1091581309082505/65536) (/.f64 1 x) (if (<=.f64 x 256186897254836256/4294967296) (/.f64 x (+.f64 (*.f64 x x) 1)) (/.f64 1 x))) |
(if (<=.f64 x -1091581309082505/65536) (/.f64 1 x) (if (<=.f64 x 8005840539213633/134217728) (/.f64 x (+.f64 1 (*.f64 x x))) (/.f64 1 x))) |
(if (<=.f64 x -8825850023705503/562949953421312) (/.f64 1 x) (if (<=.f64 x 394734449104012992/18446744073709551616) (*.f64 x (-.f64 1 (*.f64 x x))) (/.f64 1 x))) |
(if (<=.f64 x -8825850023705503/562949953421312) (/.f64 1 x) (if (<=.f64 x 6167725767250203/288230376151711744) (*.f64 x (-.f64 1 (*.f64 x x))) (/.f64 1 x))) |
(if (<=.f64 x -8825850023705503/562949953421312) (/.f64 1 x) (if (<=.f64 x 394734449104012992/18446744073709551616) x (/.f64 1 x))) |
(if (<=.f64 x -8825850023705503/562949953421312) (/.f64 1 x) (if (<=.f64 x 6167725767250203/288230376151711744) x (/.f64 1 x))) |
x |
Compiled 62 to 42 computations (32.3% saved)
Compiled 59 to 38 computations (35.6% saved)
Loading profile data...