Time bar (total: 6.6s)
| 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 |
| 75% | 75% | 25% | 0% | 0% | 0% | 0% | 4 |
| 87.5% | 87.5% | 12.5% | 0% | 0% | 0% | 0% | 5 |
| 93.8% | 93.7% | 6.2% | 0% | 0% | 0% | 0% | 6 |
| 96.9% | 96.8% | 3.1% | 0% | 0% | 0% | 0% | 7 |
| 98.4% | 98.4% | 1.6% | 0% | 0% | 0% | 0% | 8 |
| 99.2% | 99.2% | 0.8% | 0% | 0% | 0% | 0% | 9 |
| 99.6% | 99.6% | 0.4% | 0% | 0% | 0% | 0% | 10 |
| 99.8% | 99.8% | 0.2% | 0% | 0% | 0% | 0% | 11 |
| 99.9% | 99.9% | 0.1% | 0% | 0% | 0% | 0% | 12 |
Compiled 9 to 6 computations (33.3% saved)
| 2.4s | 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 |
|---|---|---|
| ▶ | 12.6b | (/.f64 x (+.f64 (*.f64 x x) 1)) |
Compiled 8 to 5 computations (37.5% saved)
Found 1 expressions with local error:
| New | Error | Program |
|---|---|---|
| ✓ | 12.6b | (/.f64 x (+.f64 (*.f64 x x) 1)) |
Compiled 18 to 8 computations (55.6% saved)
3 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 1.0ms | x | @ | inf | (/.f64 x (+.f64 (*.f64 x x) 1)) |
| 1.0ms | x | @ | 0 | (/.f64 x (+.f64 (*.f64 x x) 1)) |
| 1.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)
8 alts after pruning (7 fresh and 1 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 40 | 7 | 47 |
| Fresh | 0 | 0 | 0 |
| Picked | 0 | 1 | 1 |
| Done | 0 | 0 | 0 |
| Total | 40 | 8 | 48 |
| Status | Error | Program |
|---|---|---|
| ▶ | 12.7b | (*.f64 (/.f64 1 (fma.f64 x x 1)) x) |
| ▶ | 33.7b | (-.f64 (/.f64 1 x) (/.f64 1 (pow.f64 x 3))) |
| ▶ | 30.3b | (-.f64 x (pow.f64 x 3)) |
| 29.6b | x | |
| ▶ | 0.0b | (*.f64 (/.f64 1 (hypot.f64 1 x)) (/.f64 x (hypot.f64 1 x))) |
| ✓ | 12.6b | (/.f64 x (+.f64 (*.f64 x x) 1)) |
| ▶ | 32.6b | (/.f64 1 x) |
| 12.7b | (pow.f64 (/.f64 (fma.f64 x x 1) x) -1) |
Compiled 110 to 78 computations (29.1% saved)
Found 4 expressions with local error:
| New | Error | Program |
|---|---|---|
| ✓ | 0.0b | (*.f64 (/.f64 1 (hypot.f64 1 x)) (/.f64 x (hypot.f64 1 x))) |
| ✓ | 0.0b | (hypot.f64 1 x) |
| ✓ | 0.0b | (/.f64 1 (hypot.f64 1 x)) |
| ✓ | 0.0b | (/.f64 x (hypot.f64 1 x)) |
Compiled 27 to 19 computations (29.6% saved)
12 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 1.0ms | x | @ | inf | (/.f64 x (hypot.f64 1 x)) |
| 1.0ms | x | @ | -inf | (/.f64 x (hypot.f64 1 x)) |
| 1.0ms | x | @ | 0 | (/.f64 x (hypot.f64 1 x)) |
| 1.0ms | x | @ | -inf | (/.f64 1 (hypot.f64 1 x)) |
| 1.0ms | x | @ | inf | (/.f64 1 (hypot.f64 1 x)) |
| 1× | batch-egg-rewrite |
| 731× | pow1_binary64 |
| 678× | add-log-exp_binary64 |
| 678× | log1p-expm1-u_binary64 |
| 678× | expm1-log1p-u_binary64 |
| 663× | add-exp-log_binary64 |
Useful iterations: 1 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 7 | 31 |
| 1 | 147 | 28 |
| 2 | 1941 | 28 |
| 1× | node limit |
| Inputs |
|---|
(/.f64 x (hypot.f64 1 x)) |
(/.f64 1 (hypot.f64 1 x)) |
(hypot.f64 1 x) |
(*.f64 (/.f64 1 (hypot.f64 1 x)) (/.f64 x (hypot.f64 1 x))) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (/.f64 x (hypot.f64 1 x))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 x (/.f64 1 (hypot.f64 1 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (/.f64 x (hypot.f64 1 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 x (hypot.f64 1 x)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 1 (hypot.f64 1 x)) x)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (pow.f64 (hypot.f64 1 x) -2)) (*.f64 (/.f64 1 (cbrt.f64 (hypot.f64 1 x))) x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (/.f64 x (hypot.f64 1 x))) (pow.f64 (cbrt.f64 (/.f64 x (hypot.f64 1 x))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (/.f64 x (hypot.f64 1 x))) 2) (cbrt.f64 (/.f64 x (hypot.f64 1 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 x) 2) (*.f64 (cbrt.f64 x) (/.f64 1 (hypot.f64 1 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (hypot.f64 1 x) -1/2) (/.f64 x (sqrt.f64 (hypot.f64 1 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (hypot.f64 1 x) -1/2) (*.f64 (pow.f64 (hypot.f64 1 x) -1/2) x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (/.f64 x (hypot.f64 1 x))) (sqrt.f64 (/.f64 x (hypot.f64 1 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 x) (*.f64 (sqrt.f64 x) (/.f64 1 (hypot.f64 1 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (neg.f64 x) (/.f64 1 (neg.f64 (hypot.f64 1 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (pow.f64 (cbrt.f64 x) 2) 1) (/.f64 (cbrt.f64 x) (hypot.f64 1 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (sqrt.f64 x) 1) (/.f64 (sqrt.f64 x) (hypot.f64 1 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 1 (pow.f64 (cbrt.f64 (hypot.f64 1 x)) 2)) (/.f64 x (cbrt.f64 (hypot.f64 1 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (pow.f64 (cbrt.f64 x) 2) (pow.f64 (cbrt.f64 (hypot.f64 1 x)) 2)) (cbrt.f64 (/.f64 x (hypot.f64 1 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (sqrt.f64 x) (pow.f64 (cbrt.f64 (hypot.f64 1 x)) 2)) (/.f64 (sqrt.f64 x) (cbrt.f64 (hypot.f64 1 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (pow.f64 (cbrt.f64 x) 2) (sqrt.f64 (hypot.f64 1 x))) (/.f64 (cbrt.f64 x) (sqrt.f64 (hypot.f64 1 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (pow.f64 (hypot.f64 1 x) -1/2) (sqrt.f64 x)) (*.f64 (pow.f64 (hypot.f64 1 x) -1/2) (sqrt.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (/.f64 1 (hypot.f64 1 x)) (pow.f64 (cbrt.f64 x) 2)) (cbrt.f64 x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (/.f64 1 (hypot.f64 1 x)) (sqrt.f64 x)) (sqrt.f64 x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 x (cbrt.f64 (pow.f64 (hypot.f64 1 x) -2))) (/.f64 1 (cbrt.f64 (hypot.f64 1 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 x (pow.f64 (hypot.f64 1 x) -1/2)) (pow.f64 (hypot.f64 1 x) -1/2))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 x (hypot.f64 1 x)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (/.f64 x (hypot.f64 1 x)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (/.f64 x (hypot.f64 1 x))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (/.f64 x (hypot.f64 1 x))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 (hypot.f64 1 x) x) -1)))) (#(struct:change #<rule egg-rr> (2) ((x neg.f64 (/.f64 x (neg.f64 (hypot.f64 1 x))))))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (/.f64 x (hypot.f64 1 x)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (/.f64 x (hypot.f64 1 x))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (/.f64 x (hypot.f64 1 x)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (/.f64 (pow.f64 x 3) (pow.f64 (hypot.f64 1 x) 3)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (*.f64 (pow.f64 (/.f64 1 (hypot.f64 1 x)) 3) (pow.f64 x 3)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (*.f64 (pow.f64 x 3) (pow.f64 (/.f64 1 (hypot.f64 1 x)) 3)))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (/.f64 x (hypot.f64 1 x))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (/.f64 x (hypot.f64 1 x))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (/.f64 x (hypot.f64 1 x)))))))) |
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (/.f64 1 (hypot.f64 1 x))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (/.f64 1 (hypot.f64 1 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 1 (hypot.f64 1 x)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 1 (cbrt.f64 (hypot.f64 1 x))) (cbrt.f64 (pow.f64 (hypot.f64 1 x) -2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (pow.f64 (hypot.f64 1 x) -2)) (/.f64 1 (cbrt.f64 (hypot.f64 1 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (hypot.f64 1 x) -1/2) (pow.f64 (hypot.f64 1 x) -1/2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 -1 (/.f64 1 (neg.f64 (hypot.f64 1 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (pow.f64 (cbrt.f64 (hypot.f64 1 x)) 2) -1) (pow.f64 (cbrt.f64 (hypot.f64 1 x)) -1))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (sqrt.f64 (hypot.f64 1 x)) -1) (pow.f64 (sqrt.f64 (hypot.f64 1 x)) -1))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (hypot.f64 1 x) -1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 1 (hypot.f64 1 x)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (/.f64 1 (hypot.f64 1 x)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (+.f64 1 (*.f64 x x)) -1/2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 1 (cbrt.f64 (hypot.f64 1 x))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (hypot.f64 1 x) -1/2) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (hypot.f64 1 x) -2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (/.f64 1 (hypot.f64 1 x))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (/.f64 1 (hypot.f64 1 x)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (/.f64 1 (hypot.f64 1 x))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (/.f64 1 (hypot.f64 1 x))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (neg.f64 (log.f64 (hypot.f64 1 x)))))))) |
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (hypot.f64 1 x)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (hypot.f64 1 x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (hypot.f64 1 x) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (hypot.f64 1 x)) (pow.f64 (cbrt.f64 (hypot.f64 1 x)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (hypot.f64 1 x)) 2) (cbrt.f64 (hypot.f64 1 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (hypot.f64 1 x)) (sqrt.f64 (hypot.f64 1 x)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 1 (hypot.f64 1 x)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (hypot.f64 1 x) 1)))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (pow.f64 (cbrt.f64 (hypot.f64 1 x)) 2) (/.f64 1 (cbrt.f64 (hypot.f64 1 x))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (sqrt.f64 (hypot.f64 1 x)) (pow.f64 (hypot.f64 1 x) -1/2))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (hypot.f64 1 x)) -1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (hypot.f64 1 x) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (+.f64 1 (*.f64 x x)) 1/2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (hypot.f64 1 x) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (hypot.f64 1 x)) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (hypot.f64 1 x)) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (+.f64 1 (*.f64 x x)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (hypot.f64 1 x)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (hypot.f64 1 x) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (hypot.f64 1 x)))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (hypot.f64 1 x)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (hypot.f64 1 x))))))) |
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (*.f64 x (pow.f64 (hypot.f64 1 x) -2))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 x (+.f64 1 (*.f64 x x)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 x (/.f64 (hypot.f64 1 x) (/.f64 1 (hypot.f64 1 x))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (*.f64 (/.f64 (hypot.f64 1 x) x) (hypot.f64 1 x)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (*.f64 (hypot.f64 1 x) (/.f64 (hypot.f64 1 x) x)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (+.f64 1 (*.f64 x x)) x))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (hypot.f64 1 x) (/.f64 x (hypot.f64 1 x))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (/.f64 x (hypot.f64 1 x)) (hypot.f64 1 x))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (/.f64 1 (hypot.f64 1 x)) (/.f64 (hypot.f64 1 x) x))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (pow.f64 (cbrt.f64 (/.f64 x (hypot.f64 1 x))) 2) (/.f64 (hypot.f64 1 x) (cbrt.f64 (/.f64 x (hypot.f64 1 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (pow.f64 (cbrt.f64 x) 2) (/.f64 (+.f64 1 (*.f64 x x)) (cbrt.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (sqrt.f64 (/.f64 x (hypot.f64 1 x))) (/.f64 (hypot.f64 1 x) (sqrt.f64 (/.f64 x (hypot.f64 1 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (sqrt.f64 x) (/.f64 (+.f64 1 (*.f64 x x)) (sqrt.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 -1 (*.f64 (neg.f64 (hypot.f64 1 x)) (/.f64 (hypot.f64 1 x) x)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 -1 (*.f64 (/.f64 (hypot.f64 1 x) x) (neg.f64 (hypot.f64 1 x))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 x) (neg.f64 (+.f64 1 (*.f64 x x))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 x) (*.f64 (neg.f64 (hypot.f64 1 x)) (hypot.f64 1 x)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 x) (*.f64 (hypot.f64 1 x) (neg.f64 (hypot.f64 1 x))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (/.f64 x (hypot.f64 1 x))) (neg.f64 (hypot.f64 1 x)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (neg.f64 x) 1) (*.f64 (neg.f64 (hypot.f64 1 x)) (hypot.f64 1 x)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 x -1) (*.f64 (hypot.f64 1 x) (neg.f64 (hypot.f64 1 x))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (neg.f64 x) -1) (*.f64 (neg.f64 (hypot.f64 1 x)) (neg.f64 (hypot.f64 1 x))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 -1 (neg.f64 x)) (*.f64 (neg.f64 (hypot.f64 1 x)) (neg.f64 (hypot.f64 1 x))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (/.f64 (/.f64 x (hypot.f64 1 x)) (sqrt.f64 (hypot.f64 1 x))) (sqrt.f64 (hypot.f64 1 x)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (/.f64 (/.f64 x (hypot.f64 1 x)) 1) (hypot.f64 1 x))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (/.f64 (/.f64 x (hypot.f64 1 x)) (pow.f64 (cbrt.f64 (hypot.f64 1 x)) 2)) (cbrt.f64 (hypot.f64 1 x)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (neg.f64 x) (/.f64 1 (hypot.f64 1 x))) (neg.f64 (hypot.f64 1 x)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 -1 (/.f64 x (hypot.f64 1 x))) (neg.f64 (hypot.f64 1 x)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (/.f64 x (hypot.f64 1 x)) -1) (neg.f64 (hypot.f64 1 x)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (/.f64 1 (hypot.f64 1 x)) (neg.f64 x)) (neg.f64 (hypot.f64 1 x)))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 x (pow.f64 (hypot.f64 1 x) -2)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 x (pow.f64 (hypot.f64 1 x) -2)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (*.f64 x (pow.f64 (hypot.f64 1 x) -2))) 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 sqrt.f64 (pow.f64 (*.f64 x (pow.f64 (hypot.f64 1 x) -2)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (*.f64 x (pow.f64 (hypot.f64 1 x) -2))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (*.f64 x (pow.f64 (hypot.f64 1 x) -2)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (/.f64 (pow.f64 (/.f64 x (hypot.f64 1 x)) 3) (pow.f64 (hypot.f64 1 x) 3)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (*.f64 (pow.f64 (/.f64 x (hypot.f64 1 x)) 3) (pow.f64 (/.f64 1 (hypot.f64 1 x)) 3)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (*.f64 (pow.f64 (/.f64 1 (hypot.f64 1 x)) 3) (pow.f64 (/.f64 x (hypot.f64 1 x)) 3)))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 x (pow.f64 (hypot.f64 1 x) -2))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 x (pow.f64 (hypot.f64 1 x) -2))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (*.f64 x (pow.f64 (hypot.f64 1 x) -2)))))))) |
| 1× | egg-herbie |
| 657× | associate-*l*_binary64 |
| 488× | associate-*r*_binary64 |
| 475× | associate-/r*_binary64 |
| 457× | fma-def_binary64 |
| 311× | fma-neg_binary64 |
Useful iterations: 2 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 106 | 696 |
| 1 | 326 | 683 |
| 2 | 905 | 676 |
| 3 | 2624 | 676 |
| 1× | node limit |
| Inputs |
|---|
x |
(+.f64 (*.f64 -1/2 (pow.f64 x 3)) x) |
(+.f64 (*.f64 -1/2 (pow.f64 x 3)) (+.f64 (*.f64 3/8 (pow.f64 x 5)) x)) |
(+.f64 (*.f64 -1/2 (pow.f64 x 3)) (+.f64 (*.f64 3/8 (pow.f64 x 5)) (+.f64 (*.f64 -5/16 (pow.f64 x 7)) x))) |
1 |
(-.f64 1 (*.f64 1/2 (/.f64 1 (pow.f64 x 2)))) |
(-.f64 (+.f64 1 (*.f64 3/8 (/.f64 1 (pow.f64 x 4)))) (*.f64 1/2 (/.f64 1 (pow.f64 x 2)))) |
(-.f64 (+.f64 1 (*.f64 3/8 (/.f64 1 (pow.f64 x 4)))) (+.f64 (*.f64 5/16 (/.f64 1 (pow.f64 x 6))) (*.f64 1/2 (/.f64 1 (pow.f64 x 2))))) |
-1 |
(-.f64 (*.f64 1/2 (/.f64 1 (pow.f64 x 2))) 1) |
(-.f64 (*.f64 1/2 (/.f64 1 (pow.f64 x 2))) (+.f64 1 (*.f64 3/8 (/.f64 1 (pow.f64 x 4))))) |
(-.f64 (+.f64 (*.f64 5/16 (/.f64 1 (pow.f64 x 6))) (*.f64 1/2 (/.f64 1 (pow.f64 x 2)))) (+.f64 1 (*.f64 3/8 (/.f64 1 (pow.f64 x 4))))) |
1 |
(+.f64 1 (*.f64 -1/2 (pow.f64 x 2))) |
(+.f64 1 (+.f64 (*.f64 -1/2 (pow.f64 x 2)) (*.f64 3/8 (pow.f64 x 4)))) |
(+.f64 (*.f64 -5/16 (pow.f64 x 6)) (+.f64 1 (+.f64 (*.f64 -1/2 (pow.f64 x 2)) (*.f64 3/8 (pow.f64 x 4))))) |
(/.f64 1 x) |
(-.f64 (/.f64 1 x) (*.f64 1/2 (/.f64 1 (pow.f64 x 3)))) |
(-.f64 (+.f64 (/.f64 1 x) (*.f64 3/8 (/.f64 1 (pow.f64 x 5)))) (*.f64 1/2 (/.f64 1 (pow.f64 x 3)))) |
(-.f64 (+.f64 (/.f64 1 x) (*.f64 3/8 (/.f64 1 (pow.f64 x 5)))) (+.f64 (*.f64 5/16 (/.f64 1 (pow.f64 x 7))) (*.f64 1/2 (/.f64 1 (pow.f64 x 3))))) |
(/.f64 -1 x) |
(-.f64 (*.f64 1/2 (/.f64 1 (pow.f64 x 3))) (/.f64 1 x)) |
(-.f64 (*.f64 1/2 (/.f64 1 (pow.f64 x 3))) (+.f64 (/.f64 1 x) (*.f64 3/8 (/.f64 1 (pow.f64 x 5))))) |
(-.f64 (+.f64 (*.f64 5/16 (/.f64 1 (pow.f64 x 7))) (*.f64 1/2 (/.f64 1 (pow.f64 x 3)))) (+.f64 (/.f64 1 x) (*.f64 3/8 (/.f64 1 (pow.f64 x 5))))) |
1 |
(+.f64 1 (*.f64 1/2 (pow.f64 x 2))) |
(+.f64 1 (+.f64 (*.f64 1/2 (pow.f64 x 2)) (*.f64 -1/8 (pow.f64 x 4)))) |
(+.f64 1 (+.f64 (*.f64 1/2 (pow.f64 x 2)) (+.f64 (*.f64 1/16 (pow.f64 x 6)) (*.f64 -1/8 (pow.f64 x 4))))) |
x |
(+.f64 (*.f64 1/2 (/.f64 1 x)) x) |
(-.f64 (+.f64 (*.f64 1/2 (/.f64 1 x)) x) (*.f64 1/8 (/.f64 1 (pow.f64 x 3)))) |
(-.f64 (+.f64 (*.f64 1/2 (/.f64 1 x)) (+.f64 (*.f64 1/16 (/.f64 1 (pow.f64 x 5))) x)) (*.f64 1/8 (/.f64 1 (pow.f64 x 3)))) |
(*.f64 -1 x) |
(-.f64 (*.f64 -1 x) (*.f64 1/2 (/.f64 1 x))) |
(-.f64 (+.f64 (*.f64 1/8 (/.f64 1 (pow.f64 x 3))) (*.f64 -1 x)) (*.f64 1/2 (/.f64 1 x))) |
(-.f64 (+.f64 (*.f64 1/8 (/.f64 1 (pow.f64 x 3))) (*.f64 -1 x)) (+.f64 (*.f64 1/2 (/.f64 1 x)) (*.f64 1/16 (/.f64 1 (pow.f64 x 5))))) |
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/2 (pow.f64 x 3)) x) |
(fma.f64 -1/2 (pow.f64 x 3) x) |
(+.f64 (*.f64 -1/2 (pow.f64 x 3)) (+.f64 (*.f64 3/8 (pow.f64 x 5)) x)) |
(fma.f64 -1/2 (pow.f64 x 3) (fma.f64 3/8 (pow.f64 x 5) x)) |
(+.f64 (*.f64 -1/2 (pow.f64 x 3)) (+.f64 (*.f64 3/8 (pow.f64 x 5)) (+.f64 (*.f64 -5/16 (pow.f64 x 7)) x))) |
(fma.f64 -1/2 (pow.f64 x 3) (fma.f64 3/8 (pow.f64 x 5) (fma.f64 -5/16 (pow.f64 x 7) x))) |
1 |
(-.f64 1 (*.f64 1/2 (/.f64 1 (pow.f64 x 2)))) |
(-.f64 1 (/.f64 1/2 (*.f64 x x))) |
(+.f64 1 (/.f64 -1/2 (*.f64 x x))) |
(-.f64 (+.f64 1 (*.f64 3/8 (/.f64 1 (pow.f64 x 4)))) (*.f64 1/2 (/.f64 1 (pow.f64 x 2)))) |
(+.f64 1 (-.f64 (/.f64 3/8 (pow.f64 x 4)) (/.f64 1/2 (*.f64 x x)))) |
(+.f64 1 (+.f64 (/.f64 3/8 (pow.f64 x 4)) (/.f64 -1/2 (*.f64 x x)))) |
(-.f64 (/.f64 3/8 (pow.f64 x 4)) (+.f64 (/.f64 1/2 (*.f64 x x)) -1)) |
(-.f64 1 (+.f64 (/.f64 -3/8 (pow.f64 x 4)) (/.f64 1/2 (*.f64 x x)))) |
(-.f64 (+.f64 1 (*.f64 3/8 (/.f64 1 (pow.f64 x 4)))) (+.f64 (*.f64 5/16 (/.f64 1 (pow.f64 x 6))) (*.f64 1/2 (/.f64 1 (pow.f64 x 2))))) |
(+.f64 1 (-.f64 (/.f64 3/8 (pow.f64 x 4)) (+.f64 (/.f64 1/2 (*.f64 x x)) (/.f64 5/16 (pow.f64 x 6))))) |
(+.f64 1 (-.f64 (+.f64 (/.f64 3/8 (pow.f64 x 4)) (/.f64 -1/2 (*.f64 x x))) (/.f64 5/16 (pow.f64 x 6)))) |
(+.f64 1 (+.f64 (/.f64 3/8 (pow.f64 x 4)) (-.f64 (/.f64 -1/2 (*.f64 x x)) (/.f64 5/16 (pow.f64 x 6))))) |
-1 |
(-.f64 (*.f64 1/2 (/.f64 1 (pow.f64 x 2))) 1) |
(+.f64 (/.f64 1/2 (*.f64 x x)) -1) |
(-.f64 (*.f64 1/2 (/.f64 1 (pow.f64 x 2))) (+.f64 1 (*.f64 3/8 (/.f64 1 (pow.f64 x 4))))) |
(-.f64 (/.f64 1/2 (*.f64 x x)) (+.f64 1 (/.f64 3/8 (pow.f64 x 4)))) |
(+.f64 (/.f64 1/2 (*.f64 x x)) (+.f64 -1 (/.f64 -3/8 (pow.f64 x 4)))) |
(-.f64 (+.f64 (*.f64 5/16 (/.f64 1 (pow.f64 x 6))) (*.f64 1/2 (/.f64 1 (pow.f64 x 2)))) (+.f64 1 (*.f64 3/8 (/.f64 1 (pow.f64 x 4))))) |
(+.f64 (/.f64 5/16 (pow.f64 x 6)) (-.f64 (/.f64 1/2 (*.f64 x x)) (+.f64 1 (/.f64 3/8 (pow.f64 x 4))))) |
(+.f64 (/.f64 1/2 (*.f64 x x)) (-.f64 (/.f64 5/16 (pow.f64 x 6)) (+.f64 1 (/.f64 3/8 (pow.f64 x 4))))) |
(+.f64 (/.f64 1/2 (*.f64 x x)) (+.f64 (/.f64 5/16 (pow.f64 x 6)) (+.f64 -1 (/.f64 -3/8 (pow.f64 x 4))))) |
(+.f64 (+.f64 (/.f64 1/2 (*.f64 x x)) (/.f64 5/16 (pow.f64 x 6))) (+.f64 -1 (/.f64 -3/8 (pow.f64 x 4)))) |
1 |
(+.f64 1 (*.f64 -1/2 (pow.f64 x 2))) |
(+.f64 1 (*.f64 -1/2 (*.f64 x x))) |
(fma.f64 -1/2 (*.f64 x x) 1) |
(fma.f64 x (*.f64 x -1/2) 1) |
(+.f64 1 (+.f64 (*.f64 -1/2 (pow.f64 x 2)) (*.f64 3/8 (pow.f64 x 4)))) |
(+.f64 1 (fma.f64 -1/2 (*.f64 x x) (*.f64 3/8 (pow.f64 x 4)))) |
(fma.f64 x (*.f64 x -1/2) (fma.f64 3/8 (pow.f64 x 4) 1)) |
(+.f64 (*.f64 -5/16 (pow.f64 x 6)) (+.f64 1 (+.f64 (*.f64 -1/2 (pow.f64 x 2)) (*.f64 3/8 (pow.f64 x 4))))) |
(fma.f64 -5/16 (pow.f64 x 6) (+.f64 1 (fma.f64 -1/2 (*.f64 x x) (*.f64 3/8 (pow.f64 x 4))))) |
(+.f64 (fma.f64 -1/2 (*.f64 x x) (*.f64 3/8 (pow.f64 x 4))) (fma.f64 -5/16 (pow.f64 x 6) 1)) |
(fma.f64 -5/16 (pow.f64 x 6) (fma.f64 x (*.f64 x -1/2) (fma.f64 3/8 (pow.f64 x 4) 1))) |
(/.f64 1 x) |
(-.f64 (/.f64 1 x) (*.f64 1/2 (/.f64 1 (pow.f64 x 3)))) |
(-.f64 (/.f64 1 x) (/.f64 1/2 (pow.f64 x 3))) |
(+.f64 (/.f64 1 x) (/.f64 -1/2 (pow.f64 x 3))) |
(-.f64 (+.f64 (/.f64 1 x) (*.f64 3/8 (/.f64 1 (pow.f64 x 5)))) (*.f64 1/2 (/.f64 1 (pow.f64 x 3)))) |
(+.f64 (/.f64 1 x) (-.f64 (/.f64 3/8 (pow.f64 x 5)) (/.f64 1/2 (pow.f64 x 3)))) |
(+.f64 (/.f64 1 x) (+.f64 (/.f64 3/8 (pow.f64 x 5)) (/.f64 -1/2 (pow.f64 x 3)))) |
(+.f64 (+.f64 (/.f64 1 x) (/.f64 3/8 (pow.f64 x 5))) (/.f64 -1/2 (pow.f64 x 3))) |
(-.f64 (+.f64 (/.f64 1 x) (*.f64 3/8 (/.f64 1 (pow.f64 x 5)))) (+.f64 (*.f64 5/16 (/.f64 1 (pow.f64 x 7))) (*.f64 1/2 (/.f64 1 (pow.f64 x 3))))) |
(+.f64 (/.f64 1 x) (-.f64 (/.f64 3/8 (pow.f64 x 5)) (+.f64 (/.f64 1/2 (pow.f64 x 3)) (/.f64 5/16 (pow.f64 x 7))))) |
(+.f64 (/.f64 1 x) (+.f64 (+.f64 (/.f64 3/8 (pow.f64 x 5)) (/.f64 -5/16 (pow.f64 x 7))) (/.f64 -1/2 (pow.f64 x 3)))) |
(+.f64 (/.f64 1 x) (+.f64 (/.f64 3/8 (pow.f64 x 5)) (+.f64 (/.f64 -1/2 (pow.f64 x 3)) (/.f64 -5/16 (pow.f64 x 7))))) |
(/.f64 -1 x) |
(-.f64 (*.f64 1/2 (/.f64 1 (pow.f64 x 3))) (/.f64 1 x)) |
(-.f64 (/.f64 1/2 (pow.f64 x 3)) (/.f64 1 x)) |
(+.f64 (/.f64 1/2 (pow.f64 x 3)) (/.f64 -1 x)) |
(-.f64 (*.f64 1/2 (/.f64 1 (pow.f64 x 3))) (+.f64 (/.f64 1 x) (*.f64 3/8 (/.f64 1 (pow.f64 x 5))))) |
(-.f64 (/.f64 1/2 (pow.f64 x 3)) (+.f64 (/.f64 1 x) (/.f64 3/8 (pow.f64 x 5)))) |
(+.f64 (/.f64 1/2 (pow.f64 x 3)) (-.f64 (/.f64 -1 x) (/.f64 3/8 (pow.f64 x 5)))) |
(+.f64 (/.f64 1/2 (pow.f64 x 3)) (+.f64 (/.f64 -1 x) (/.f64 -3/8 (pow.f64 x 5)))) |
(-.f64 (+.f64 (*.f64 5/16 (/.f64 1 (pow.f64 x 7))) (*.f64 1/2 (/.f64 1 (pow.f64 x 3)))) (+.f64 (/.f64 1 x) (*.f64 3/8 (/.f64 1 (pow.f64 x 5))))) |
(+.f64 (/.f64 5/16 (pow.f64 x 7)) (-.f64 (/.f64 1/2 (pow.f64 x 3)) (+.f64 (/.f64 1 x) (/.f64 3/8 (pow.f64 x 5))))) |
(+.f64 (/.f64 5/16 (pow.f64 x 7)) (+.f64 (/.f64 1/2 (pow.f64 x 3)) (-.f64 (/.f64 -1 x) (/.f64 3/8 (pow.f64 x 5))))) |
(+.f64 (/.f64 1/2 (pow.f64 x 3)) (+.f64 (/.f64 5/16 (pow.f64 x 7)) (+.f64 (/.f64 -1 x) (/.f64 -3/8 (pow.f64 x 5))))) |
(+.f64 (/.f64 1/2 (pow.f64 x 3)) (+.f64 (/.f64 5/16 (pow.f64 x 7)) (-.f64 (/.f64 -1 x) (/.f64 3/8 (pow.f64 x 5))))) |
1 |
(+.f64 1 (*.f64 1/2 (pow.f64 x 2))) |
(+.f64 1 (*.f64 1/2 (*.f64 x x))) |
(fma.f64 1/2 (*.f64 x x) 1) |
(fma.f64 x (*.f64 x 1/2) 1) |
(+.f64 1 (+.f64 (*.f64 1/2 (pow.f64 x 2)) (*.f64 -1/8 (pow.f64 x 4)))) |
(+.f64 1 (fma.f64 1/2 (*.f64 x x) (*.f64 (pow.f64 x 4) -1/8))) |
(fma.f64 x (*.f64 x 1/2) (fma.f64 (pow.f64 x 4) -1/8 1)) |
(+.f64 1 (+.f64 (*.f64 1/2 (pow.f64 x 2)) (+.f64 (*.f64 1/16 (pow.f64 x 6)) (*.f64 -1/8 (pow.f64 x 4))))) |
(+.f64 1 (fma.f64 1/2 (*.f64 x x) (fma.f64 1/16 (pow.f64 x 6) (*.f64 (pow.f64 x 4) -1/8)))) |
(+.f64 1 (fma.f64 1/2 (*.f64 x x) (fma.f64 (pow.f64 x 4) -1/8 (*.f64 (pow.f64 x 6) 1/16)))) |
(+.f64 1 (fma.f64 (pow.f64 x 6) 1/16 (fma.f64 x (*.f64 x 1/2) (*.f64 (pow.f64 x 4) -1/8)))) |
(+.f64 1 (fma.f64 (pow.f64 x 4) -1/8 (fma.f64 (pow.f64 x 6) 1/16 (*.f64 1/2 (*.f64 x x))))) |
x |
(+.f64 (*.f64 1/2 (/.f64 1 x)) x) |
(+.f64 x (/.f64 1/2 x)) |
(-.f64 x (/.f64 -1/2 x)) |
(-.f64 (+.f64 (*.f64 1/2 (/.f64 1 x)) x) (*.f64 1/8 (/.f64 1 (pow.f64 x 3)))) |
(-.f64 (+.f64 x (/.f64 1/2 x)) (/.f64 1/8 (pow.f64 x 3))) |
(+.f64 (/.f64 1/2 x) (+.f64 x (/.f64 -1/8 (pow.f64 x 3)))) |
(+.f64 x (+.f64 (/.f64 1/2 x) (/.f64 -1/8 (pow.f64 x 3)))) |
(+.f64 (-.f64 x (/.f64 -1/2 x)) (/.f64 -1/8 (pow.f64 x 3))) |
(-.f64 (+.f64 (*.f64 1/2 (/.f64 1 x)) (+.f64 (*.f64 1/16 (/.f64 1 (pow.f64 x 5))) x)) (*.f64 1/8 (/.f64 1 (pow.f64 x 3)))) |
(+.f64 (/.f64 1/2 x) (-.f64 (+.f64 x (/.f64 1/16 (pow.f64 x 5))) (/.f64 1/8 (pow.f64 x 3)))) |
(+.f64 (/.f64 1/2 x) (+.f64 (+.f64 x (/.f64 1/16 (pow.f64 x 5))) (/.f64 -1/8 (pow.f64 x 3)))) |
(+.f64 x (+.f64 (/.f64 1/16 (pow.f64 x 5)) (+.f64 (/.f64 1/2 x) (/.f64 -1/8 (pow.f64 x 3))))) |
(+.f64 x (+.f64 (/.f64 -1/8 (pow.f64 x 3)) (+.f64 (/.f64 1/2 x) (/.f64 1/16 (pow.f64 x 5))))) |
(*.f64 -1 x) |
(neg.f64 x) |
(-.f64 (*.f64 -1 x) (*.f64 1/2 (/.f64 1 x))) |
(-.f64 (neg.f64 x) (/.f64 1/2 x)) |
(fma.f64 x -1 (/.f64 -1/2 x)) |
(-.f64 (/.f64 -1/2 x) x) |
(-.f64 (+.f64 (*.f64 1/8 (/.f64 1 (pow.f64 x 3))) (*.f64 -1 x)) (*.f64 1/2 (/.f64 1 x))) |
(+.f64 (/.f64 1/8 (pow.f64 x 3)) (-.f64 (neg.f64 x) (/.f64 1/2 x))) |
(+.f64 (-.f64 (/.f64 1/8 (pow.f64 x 3)) x) (/.f64 -1/2 x)) |
(+.f64 (/.f64 1/8 (pow.f64 x 3)) (-.f64 (/.f64 -1/2 x) x)) |
(-.f64 (-.f64 (/.f64 -1/2 x) x) (/.f64 -1/8 (pow.f64 x 3))) |
(-.f64 (+.f64 (*.f64 1/8 (/.f64 1 (pow.f64 x 3))) (*.f64 -1 x)) (+.f64 (*.f64 1/2 (/.f64 1 x)) (*.f64 1/16 (/.f64 1 (pow.f64 x 5))))) |
(-.f64 (+.f64 (/.f64 1/8 (pow.f64 x 3)) (-.f64 (neg.f64 x) (/.f64 1/2 x))) (/.f64 1/16 (pow.f64 x 5))) |
(+.f64 (-.f64 (/.f64 1/8 (pow.f64 x 3)) x) (-.f64 (/.f64 -1/2 x) (/.f64 1/16 (pow.f64 x 5)))) |
(+.f64 (-.f64 (/.f64 -1/2 x) x) (-.f64 (/.f64 1/8 (pow.f64 x 3)) (/.f64 1/16 (pow.f64 x 5)))) |
(+.f64 (/.f64 1/8 (pow.f64 x 3)) (+.f64 (-.f64 (/.f64 -1/2 x) x) (/.f64 -1/16 (pow.f64 x 5)))) |
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 (pow.f64 x 5) (-.f64 x (pow.f64 x 3))) |
(+.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 x (-.f64 (-.f64 (pow.f64 x 5) (pow.f64 x 3)) (pow.f64 x 7))) |
(+.f64 x (-.f64 (pow.f64 x 5) (+.f64 (pow.f64 x 7) (pow.f64 x 3)))) |
(/.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 1 (pow.f64 x 5)) (-.f64 (/.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 (/.f64 1 (pow.f64 x 5)) (/.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 5)) (+.f64 (/.f64 1 (pow.f64 x 3)) (/.f64 1 (pow.f64 x 7))))) |
(+.f64 (/.f64 1 x) (+.f64 (+.f64 (/.f64 1 (pow.f64 x 5)) (/.f64 -1 (pow.f64 x 7))) (/.f64 -1 (pow.f64 x 3)))) |
(+.f64 (/.f64 -1 (pow.f64 x 3)) (+.f64 (/.f64 1 (pow.f64 x 5)) (+.f64 (/.f64 1 x) (/.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 1 (pow.f64 x 5)) (-.f64 (/.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 (/.f64 1 (pow.f64 x 5)) (/.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 5)) (+.f64 (/.f64 1 (pow.f64 x 3)) (/.f64 1 (pow.f64 x 7))))) |
(+.f64 (/.f64 1 x) (+.f64 (+.f64 (/.f64 1 (pow.f64 x 5)) (/.f64 -1 (pow.f64 x 7))) (/.f64 -1 (pow.f64 x 3)))) |
(+.f64 (/.f64 -1 (pow.f64 x 3)) (+.f64 (/.f64 1 (pow.f64 x 5)) (+.f64 (/.f64 1 x) (/.f64 -1 (pow.f64 x 7))))) |
Compiled 6 to 4 computations (33.3% saved)
Found 2 expressions with local error:
| New | Error | Program |
|---|---|---|
| ✓ | 0.0b | (-.f64 x (pow.f64 x 3)) |
| ✓ | 0.0b | (pow.f64 x 3) |
Compiled 11 to 7 computations (36.4% saved)
6 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 2.0ms | x | @ | -inf | (pow.f64 x 3) |
| 1.0ms | x | @ | inf | (pow.f64 x 3) |
| 1.0ms | x | @ | 0 | (pow.f64 x 3) |
| 1.0ms | x | @ | inf | (-.f64 x (pow.f64 x 3)) |
| 1.0ms | x | @ | -inf | (-.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 | 11 |
| 1 | 118 | 11 |
| 2 | 1497 | 11 |
| 1× | node limit |
| Inputs |
|---|
(pow.f64 x 3) |
(-.f64 x (pow.f64 x 3)) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (pow.f64 x 3)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 x (*.f64 x x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 x 3) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (pow.f64 x 3))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 x x) x)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 x) 2) (*.f64 (cbrt.f64 x) (*.f64 x x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 x) (*.f64 (sqrt.f64 x) (*.f64 x x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 x 3/2) (pow.f64 x 3/2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (pow.f64 (cbrt.f64 x) 2) 3) x)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (sqrt.f64 x) 3) (pow.f64 (sqrt.f64 x) 3))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (*.f64 x x) 1) x)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (*.f64 x x) (pow.f64 (cbrt.f64 x) 2)) (cbrt.f64 x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (*.f64 x x) (sqrt.f64 x)) (sqrt.f64 x))))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 x 6))))) (#(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 x 9))))) (#(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 3 (log.f64 x))))))) |
((#(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)) |
Found 2 expressions with local error:
| New | Error | Program |
|---|---|---|
| ✓ | 0.1b | (/.f64 1 (fma.f64 x x 1)) |
| ✓ | 12.5b | (*.f64 (/.f64 1 (fma.f64 x x 1)) x) |
Compiled 21 to 13 computations (38.1% saved)
6 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 0.0ms | x | @ | inf | (/.f64 1 (fma.f64 x x 1)) |
| 0.0ms | x | @ | 0 | (*.f64 (/.f64 1 (fma.f64 x x 1)) x) |
| 0.0ms | x | @ | inf | (*.f64 (/.f64 1 (fma.f64 x x 1)) x) |
| 0.0ms | x | @ | -inf | (/.f64 1 (fma.f64 x x 1)) |
| 0.0ms | x | @ | -inf | (*.f64 (/.f64 1 (fma.f64 x x 1)) x) |
| 1× | batch-egg-rewrite |
| 545× | pow1_binary64 |
| 522× | add-sqr-sqrt_binary64 |
| 503× | add-log-exp_binary64 |
| 503× | log1p-expm1-u_binary64 |
| 503× | expm1-log1p-u_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 6 | 16 |
| 1 | 119 | 16 |
| 2 | 1409 | 16 |
| 1× | node limit |
| Inputs |
|---|
(*.f64 (/.f64 1 (fma.f64 x x 1)) x) |
(/.f64 1 (fma.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 1 (/.f64 (fma.f64 x x 1) x))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 x (fma.f64 x x 1))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (pow.f64 (cbrt.f64 x) 2) (/.f64 (fma.f64 x x 1) (cbrt.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (sqrt.f64 x) (/.f64 (fma.f64 x x 1) (sqrt.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 x) (neg.f64 (fma.f64 x x 1)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (/.f64 x (sqrt.f64 (fma.f64 x x 1))) (sqrt.f64 (fma.f64 x x 1)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (/.f64 x 1) (fma.f64 x x 1))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (/.f64 x (pow.f64 (cbrt.f64 (fma.f64 x x 1)) 2)) (cbrt.f64 (fma.f64 x x 1)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 -1 x) (neg.f64 (fma.f64 x x 1)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 x -1) (neg.f64 (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 (sqrt.f64 (/.f64 x (fma.f64 x x 1))) 2)))) (#(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 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)))))))) |
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (/.f64 1 (fma.f64 x x 1))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (/.f64 1 (fma.f64 x x 1)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 1 (fma.f64 x x 1)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 1 (cbrt.f64 (fma.f64 x x 1))) (cbrt.f64 (pow.f64 (fma.f64 x x 1) -2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (pow.f64 (fma.f64 x x 1) -2)) (/.f64 1 (cbrt.f64 (fma.f64 x x 1))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (fma.f64 x x 1) -1/2) (pow.f64 (fma.f64 x x 1) -1/2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 -1 (/.f64 1 (neg.f64 (fma.f64 x x 1))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (pow.f64 (cbrt.f64 (fma.f64 x x 1)) 2) -1) (pow.f64 (cbrt.f64 (fma.f64 x x 1)) -1))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (sqrt.f64 (fma.f64 x x 1)) -1) (pow.f64 (sqrt.f64 (fma.f64 x x 1)) -1))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (fma.f64 x x 1) -1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 1 (fma.f64 x x 1)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (/.f64 1 (fma.f64 x x 1)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 1 (cbrt.f64 (fma.f64 x x 1))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (fma.f64 x x 1) -1/2) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (fma.f64 x x 1) -2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (/.f64 1 (fma.f64 x x 1))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (/.f64 1 (fma.f64 x x 1)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (/.f64 1 (fma.f64 x x 1))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (/.f64 1 (fma.f64 x x 1))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (neg.f64 (log.f64 (fma.f64 x x 1)))))))) |
| 1× | egg-herbie |
| 641× | fma-def_binary64 |
| 436× | associate-*l*_binary64 |
| 381× | sub-neg_binary64 |
| 377× | distribute-rgt-neg-in_binary64 |
| 341× | associate-*r*_binary64 |
Useful iterations: 3 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 50 | 393 |
| 1 | 132 | 384 |
| 2 | 347 | 382 |
| 3 | 1144 | 380 |
| 4 | 5227 | 380 |
| 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)))) |
1 |
(+.f64 1 (*.f64 -1 (pow.f64 x 2))) |
(+.f64 1 (+.f64 (*.f64 -1 (pow.f64 x 2)) (pow.f64 x 4))) |
(+.f64 (*.f64 -1 (pow.f64 x 6)) (+.f64 1 (+.f64 (*.f64 -1 (pow.f64 x 2)) (pow.f64 x 4)))) |
(/.f64 1 (pow.f64 x 2)) |
(-.f64 (/.f64 1 (pow.f64 x 2)) (/.f64 1 (pow.f64 x 4))) |
(-.f64 (+.f64 (/.f64 1 (pow.f64 x 2)) (/.f64 1 (pow.f64 x 6))) (/.f64 1 (pow.f64 x 4))) |
(-.f64 (+.f64 (/.f64 1 (pow.f64 x 2)) (/.f64 1 (pow.f64 x 6))) (+.f64 (/.f64 1 (pow.f64 x 4)) (/.f64 1 (pow.f64 x 8)))) |
(/.f64 1 (pow.f64 x 2)) |
(-.f64 (/.f64 1 (pow.f64 x 2)) (/.f64 1 (pow.f64 x 4))) |
(-.f64 (+.f64 (/.f64 1 (pow.f64 x 2)) (/.f64 1 (pow.f64 x 6))) (/.f64 1 (pow.f64 x 4))) |
(-.f64 (+.f64 (/.f64 1 (pow.f64 x 2)) (/.f64 1 (pow.f64 x 6))) (+.f64 (/.f64 1 (pow.f64 x 4)) (/.f64 1 (pow.f64 x 8)))) |
| 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 x (-.f64 (-.f64 (pow.f64 x 5) (pow.f64 x 7)) (pow.f64 x 3))) |
(/.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 1 (pow.f64 x 5)) (-.f64 (/.f64 1 x) (/.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 (pow.f64 x 3)) (+.f64 (/.f64 1 x) (-.f64 (/.f64 1 (pow.f64 x 5)) (/.f64 1 (pow.f64 x 7))))) |
(+.f64 (+.f64 (/.f64 1 x) (/.f64 -1 (pow.f64 x 3))) (+.f64 (/.f64 1 (pow.f64 x 5)) (/.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 1 (pow.f64 x 5)) (-.f64 (/.f64 1 x) (/.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 (pow.f64 x 3)) (+.f64 (/.f64 1 x) (-.f64 (/.f64 1 (pow.f64 x 5)) (/.f64 1 (pow.f64 x 7))))) |
(+.f64 (+.f64 (/.f64 1 x) (/.f64 -1 (pow.f64 x 3))) (+.f64 (/.f64 1 (pow.f64 x 5)) (/.f64 -1 (pow.f64 x 7)))) |
1 |
(+.f64 1 (*.f64 -1 (pow.f64 x 2))) |
(+.f64 1 (neg.f64 (*.f64 x x))) |
(-.f64 1 (*.f64 x x)) |
(+.f64 1 (+.f64 (*.f64 -1 (pow.f64 x 2)) (pow.f64 x 4))) |
(+.f64 1 (fma.f64 -1 (*.f64 x x) (pow.f64 x 4))) |
(+.f64 (-.f64 1 (*.f64 x x)) (pow.f64 x 4)) |
(fma.f64 (*.f64 x x) (fma.f64 x x -1) 1) |
(-.f64 (pow.f64 x 4) (fma.f64 x x -1)) |
(+.f64 (*.f64 -1 (pow.f64 x 6)) (+.f64 1 (+.f64 (*.f64 -1 (pow.f64 x 2)) (pow.f64 x 4)))) |
(fma.f64 -1 (pow.f64 x 6) (+.f64 1 (fma.f64 -1 (*.f64 x x) (pow.f64 x 4)))) |
(-.f64 (+.f64 (-.f64 1 (*.f64 x x)) (pow.f64 x 4)) (pow.f64 x 6)) |
(-.f64 (fma.f64 (*.f64 x x) (fma.f64 x x -1) 1) (pow.f64 x 6)) |
(-.f64 (pow.f64 x 4) (+.f64 (fma.f64 x x -1) (pow.f64 x 6))) |
(-.f64 1 (fma.f64 x x (-.f64 (pow.f64 x 6) (pow.f64 x 4)))) |
(/.f64 1 (pow.f64 x 2)) |
(/.f64 1 (*.f64 x x)) |
(-.f64 (/.f64 1 (pow.f64 x 2)) (/.f64 1 (pow.f64 x 4))) |
(-.f64 (/.f64 1 (*.f64 x x)) (/.f64 1 (pow.f64 x 4))) |
(+.f64 (/.f64 1 (*.f64 x x)) (/.f64 -1 (pow.f64 x 4))) |
(-.f64 (+.f64 (/.f64 1 (pow.f64 x 2)) (/.f64 1 (pow.f64 x 6))) (/.f64 1 (pow.f64 x 4))) |
(-.f64 (+.f64 (/.f64 1 (*.f64 x x)) (/.f64 1 (pow.f64 x 6))) (/.f64 1 (pow.f64 x 4))) |
(+.f64 (/.f64 1 (*.f64 x x)) (+.f64 (/.f64 1 (pow.f64 x 6)) (/.f64 -1 (pow.f64 x 4)))) |
(-.f64 (+.f64 (/.f64 1 (pow.f64 x 2)) (/.f64 1 (pow.f64 x 6))) (+.f64 (/.f64 1 (pow.f64 x 4)) (/.f64 1 (pow.f64 x 8)))) |
(+.f64 (/.f64 1 (*.f64 x x)) (-.f64 (/.f64 1 (pow.f64 x 6)) (+.f64 (/.f64 1 (pow.f64 x 4)) (/.f64 1 (pow.f64 x 8))))) |
(+.f64 (/.f64 1 (*.f64 x x)) (-.f64 (-.f64 (/.f64 1 (pow.f64 x 6)) (/.f64 1 (pow.f64 x 8))) (/.f64 1 (pow.f64 x 4)))) |
(+.f64 (/.f64 1 (*.f64 x x)) (+.f64 (+.f64 (/.f64 1 (pow.f64 x 6)) (/.f64 -1 (pow.f64 x 8))) (/.f64 -1 (pow.f64 x 4)))) |
(/.f64 1 (pow.f64 x 2)) |
(/.f64 1 (*.f64 x x)) |
(-.f64 (/.f64 1 (pow.f64 x 2)) (/.f64 1 (pow.f64 x 4))) |
(-.f64 (/.f64 1 (*.f64 x x)) (/.f64 1 (pow.f64 x 4))) |
(+.f64 (/.f64 1 (*.f64 x x)) (/.f64 -1 (pow.f64 x 4))) |
(-.f64 (+.f64 (/.f64 1 (pow.f64 x 2)) (/.f64 1 (pow.f64 x 6))) (/.f64 1 (pow.f64 x 4))) |
(-.f64 (+.f64 (/.f64 1 (*.f64 x x)) (/.f64 1 (pow.f64 x 6))) (/.f64 1 (pow.f64 x 4))) |
(+.f64 (/.f64 1 (*.f64 x x)) (+.f64 (/.f64 1 (pow.f64 x 6)) (/.f64 -1 (pow.f64 x 4)))) |
(-.f64 (+.f64 (/.f64 1 (pow.f64 x 2)) (/.f64 1 (pow.f64 x 6))) (+.f64 (/.f64 1 (pow.f64 x 4)) (/.f64 1 (pow.f64 x 8)))) |
(+.f64 (/.f64 1 (*.f64 x x)) (-.f64 (/.f64 1 (pow.f64 x 6)) (+.f64 (/.f64 1 (pow.f64 x 4)) (/.f64 1 (pow.f64 x 8))))) |
(+.f64 (/.f64 1 (*.f64 x x)) (-.f64 (-.f64 (/.f64 1 (pow.f64 x 6)) (/.f64 1 (pow.f64 x 8))) (/.f64 1 (pow.f64 x 4)))) |
(+.f64 (/.f64 1 (*.f64 x x)) (+.f64 (+.f64 (/.f64 1 (pow.f64 x 6)) (/.f64 -1 (pow.f64 x 8))) (/.f64 -1 (pow.f64 x 4)))) |
Found 3 expressions with local error:
| New | Error | Program |
|---|---|---|
| 0.0b | (pow.f64 x 3) | |
| ✓ | 0.0b | (-.f64 (/.f64 1 x) (/.f64 1 (pow.f64 x 3))) |
| ✓ | 0.7b | (/.f64 1 (pow.f64 x 3)) |
Compiled 24 to 18 computations (25% saved)
6 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 1.0ms | x | @ | 0 | (/.f64 1 (pow.f64 x 3)) |
| 0.0ms | x | @ | -inf | (-.f64 (/.f64 1 x) (/.f64 1 (pow.f64 x 3))) |
| 0.0ms | x | @ | -inf | (/.f64 1 (pow.f64 x 3)) |
| 0.0ms | x | @ | 0 | (-.f64 (/.f64 1 x) (/.f64 1 (pow.f64 x 3))) |
| 0.0ms | x | @ | inf | (-.f64 (/.f64 1 x) (/.f64 1 (pow.f64 x 3))) |
| 1× | batch-egg-rewrite |
| 890× | pow1_binary64 |
| 842× | add-log-exp_binary64 |
| 841× | log1p-expm1-u_binary64 |
| 841× | expm1-log1p-u_binary64 |
| 821× | add-exp-log_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 8 | 14 |
| 1 | 189 | 14 |
| 2 | 2550 | 14 |
| 1× | node limit |
| Inputs |
|---|
(/.f64 1 (pow.f64 x 3)) |
(-.f64 (/.f64 1 x) (/.f64 1 (pow.f64 x 3))) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (pow.f64 x -3)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (pow.f64 x -3))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 x -3) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 1 x) (pow.f64 x -2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 x -2) (/.f64 1 x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 x -3/2) (pow.f64 x -3/2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 -1 (neg.f64 (pow.f64 x -3)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (pow.f64 x -2)) 3) (/.f64 1 x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (pow.f64 x -1/2) 3) (pow.f64 (pow.f64 x -1/2) 3))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (pow.f64 (cbrt.f64 x) 2) -3) (pow.f64 (cbrt.f64 x) -3))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (sqrt.f64 x) -3) (pow.f64 (sqrt.f64 x) -3))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (pow.f64 x 3/2) -1) (pow.f64 (pow.f64 x 3/2) -1))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (/.f64 1 x) 3/2) (pow.f64 (/.f64 1 x) 3/2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (pow.f64 x -2) 1) (/.f64 1 x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (pow.f64 x -2) (cbrt.f64 (pow.f64 x -2))) (/.f64 1 (cbrt.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (pow.f64 x -2) (pow.f64 x -1/2)) (pow.f64 x -1/2))))) (#(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 (pow.f64 x -3) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 1 x) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 x -3/2) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 x -9) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 x -6))))) (#(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 x -9))))) (#(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 (/.f64 1 x) (neg.f64 (pow.f64 x -3)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (/.f64 1 x) (*.f64 (neg.f64 (pow.f64 x -3)) 1))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (-.f64 (/.f64 1 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 (/.f64 1 x) (pow.f64 x -3)) (fma.f64 (neg.f64 (/.f64 1 x)) (pow.f64 x -2) (pow.f64 x -3)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (-.f64 (/.f64 1 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)) (/.f64 1 x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (-.f64 (/.f64 1 x) (pow.f64 x -3)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (-.f64 (/.f64 1 x) (pow.f64 x -3)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (-.f64 (/.f64 1 x) (pow.f64 x -3))) (pow.f64 (cbrt.f64 (-.f64 (/.f64 1 x) (pow.f64 x -3))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (-.f64 (/.f64 1 x) (pow.f64 x -3))) 2) (cbrt.f64 (-.f64 (/.f64 1 x) (pow.f64 x -3))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (-.f64 (/.f64 1 x) (pow.f64 x -3))) (sqrt.f64 (-.f64 (/.f64 1 x) (pow.f64 x -3))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (-.f64 (pow.f64 x 3) x) (pow.f64 x -4))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (-.f64 (pow.f64 x -3) (pow.f64 x -9)) (/.f64 1 (+.f64 (pow.f64 x -2) (+.f64 (pow.f64 x -6) (pow.f64 x -4)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (-.f64 (pow.f64 x -2) (pow.f64 x -6)) (/.f64 1 (+.f64 (pow.f64 x -3) (/.f64 1 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 (pow.f64 x -1/2) (pow.f64 x -3/2)) (-.f64 (pow.f64 x -1/2) (pow.f64 x -3/2)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (pow.f64 x 4) (-.f64 (pow.f64 x 3) x)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (+.f64 (pow.f64 x -2) (+.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 (pow.f64 x -3) (/.f64 1 x)) (-.f64 (pow.f64 x -2) (pow.f64 x -6))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (pow.f64 x 3) x) (pow.f64 x 4))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (pow.f64 x -3) (pow.f64 x -9)) (+.f64 (pow.f64 x -2) (+.f64 (pow.f64 x -6) (pow.f64 x -4))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (pow.f64 x -2) (pow.f64 x -6)) (+.f64 (pow.f64 x -3) (/.f64 1 x)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (-.f64 (pow.f64 x 3) x)) (neg.f64 (pow.f64 x 4)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (-.f64 (pow.f64 x -3) (pow.f64 x -9))) (neg.f64 (+.f64 (pow.f64 x -2) (+.f64 (pow.f64 x -6) (pow.f64 x -4)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (-.f64 (pow.f64 x -2) (pow.f64 x -6))) (neg.f64 (+.f64 (pow.f64 x -3) (/.f64 1 x))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (neg.f64 (pow.f64 x 3)) (*.f64 (neg.f64 x) 1)) (*.f64 (neg.f64 x) (pow.f64 x 3)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (neg.f64 (pow.f64 x 3)) (*.f64 x -1)) (*.f64 x (neg.f64 (pow.f64 x 3))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (*.f64 -1 (neg.f64 (pow.f64 x 3))) (*.f64 (neg.f64 x) -1)) (*.f64 (neg.f64 x) (neg.f64 (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 (pow.f64 x -2) (-.f64 (*.f64 (neg.f64 (pow.f64 x -3)) (neg.f64 (pow.f64 x -3))) (*.f64 (/.f64 1 x) (neg.f64 (pow.f64 x -3))))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (pow.f64 x -2) (*.f64 (neg.f64 (pow.f64 x -3)) (neg.f64 (pow.f64 x -3)))) (-.f64 (/.f64 1 x) (neg.f64 (pow.f64 x -3))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (/.f64 (-.f64 (pow.f64 x 3) x) x) (pow.f64 x 3))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (-.f64 (/.f64 1 x) (pow.f64 x -3)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (-.f64 (/.f64 1 x) (pow.f64 x -3)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (-.f64 (/.f64 1 x) (pow.f64 x -3))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (-.f64 (/.f64 1 x) (pow.f64 x -3))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (-.f64 (/.f64 1 x) (pow.f64 x -3)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (-.f64 (/.f64 1 x) (pow.f64 x -3))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (-.f64 (/.f64 1 x) (pow.f64 x -3)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (-.f64 (/.f64 1 x) (pow.f64 x -3))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (-.f64 (/.f64 1 x) (pow.f64 x -3))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (-.f64 (/.f64 1 x) (pow.f64 x -3))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (/.f64 1 x) (neg.f64 (pow.f64 x -3)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (pow.f64 x -2)) (/.f64 1 (cbrt.f64 x)) (neg.f64 (pow.f64 x -3)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 x -1/2) (pow.f64 x -1/2) (neg.f64 (pow.f64 x -3))))))) |
| 1× | egg-herbie |
| 1274× | sqr-pow_binary64 |
| 666× | pow-sqr_binary64 |
| 529× | cube-prod_binary64 |
| 471× | fabs-mul_binary64 |
| 456× | associate-/r*_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 8 | 15 |
| 1 | 18 | 15 |
| 2 | 29 | 15 |
| 3 | 44 | 15 |
| 4 | 79 | 15 |
| 5 | 220 | 15 |
| 6 | 770 | 15 |
| 7 | 2245 | 15 |
| 8 | 2333 | 15 |
| 9 | 2466 | 15 |
| 10 | 2624 | 15 |
| 11 | 2883 | 15 |
| 12 | 3211 | 15 |
| 13 | 3633 | 15 |
| 14 | 4136 | 15 |
| 15 | 4735 | 15 |
| 16 | 5459 | 15 |
| 17 | 5782 | 15 |
| 18 | 6066 | 15 |
| 19 | 6288 | 15 |
| 20 | 6464 | 15 |
| 21 | 6546 | 15 |
| 22 | 7486 | 15 |
| 1× | node limit |
| Inputs |
|---|
(/.f64 -1 (pow.f64 x 3)) |
(/.f64 1 x) |
(/.f64 1 x) |
| Outputs |
|---|
(/.f64 -1 (pow.f64 x 3)) |
(/.f64 1 x) |
(/.f64 1 x) |
Compiled 6462 to 4751 computations (26.5% saved)
7 alts after pruning (5 fresh and 2 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 459 | 5 | 464 |
| Fresh | 2 | 0 | 2 |
| Picked | 1 | 0 | 1 |
| Done | 3 | 2 | 5 |
| Total | 465 | 7 | 472 |
| Status | Error | Program |
|---|---|---|
| ▶ | 28.3b | (*.f64 (-.f64 (+.f64 1 (/.f64 1 (fma.f64 x x 1))) 1) x) |
| ✓ | 32.6b | (/.f64 1 x) |
| ▶ | 33.7b | (-.f64 (/.f64 1 x) (/.f64 1 (*.f64 (*.f64 x x) x))) |
| ▶ | 12.7b | (/.f64 1 (/.f64 (+.f64 1 (*.f64 x x)) x)) |
| ▶ | 30.3b | (-.f64 x (*.f64 (*.f64 x x) x)) |
| ✓ | 12.6b | (/.f64 x (+.f64 (*.f64 x x) 1)) |
| 29.6b | x |
Compiled 57 to 38 computations (33.3% saved)
Found 4 expressions with local error:
| New | Error | Program |
|---|---|---|
| ✓ | 0.0b | (*.f64 (-.f64 (+.f64 1 (/.f64 1 (fma.f64 x x 1))) 1) x) |
| ✓ | 0.0b | (+.f64 1 (/.f64 1 (fma.f64 x x 1))) |
| 0.1b | (/.f64 1 (fma.f64 x x 1)) | |
| ✓ | 1.5b | (-.f64 (+.f64 1 (/.f64 1 (fma.f64 x x 1))) 1) |
Compiled 43 to 31 computations (27.9% saved)
9 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 0.0ms | x | @ | 0 | (-.f64 (+.f64 1 (/.f64 1 (fma.f64 x x 1))) 1) |
| 0.0ms | x | @ | inf | (-.f64 (+.f64 1 (/.f64 1 (fma.f64 x x 1))) 1) |
| 0.0ms | x | @ | 0 | (+.f64 1 (/.f64 1 (fma.f64 x x 1))) |
| 0.0ms | x | @ | -inf | (+.f64 1 (/.f64 1 (fma.f64 x x 1))) |
| 0.0ms | x | @ | inf | (+.f64 1 (/.f64 1 (fma.f64 x x 1))) |
| 1× | batch-egg-rewrite |
| 876× | pow1_binary64 |
| 819× | add-log-exp_binary64 |
| 819× | log1p-expm1-u_binary64 |
| 819× | expm1-log1p-u_binary64 |
| 804× | add-exp-log_binary64 |
Useful iterations: 1 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 8 | 42 |
| 1 | 179 | 30 |
| 2 | 2553 | 30 |
| 1× | node limit |
| Inputs |
|---|
(-.f64 (+.f64 1 (/.f64 1 (fma.f64 x x 1))) 1) |
(+.f64 1 (/.f64 1 (fma.f64 x x 1))) |
(*.f64 (-.f64 (+.f64 1 (/.f64 1 (fma.f64 x x 1))) 1) x) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x +.f64 1 (+.f64 (/.f64 1 (fma.f64 x x 1)) -1))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 1 (*.f64 (+.f64 (/.f64 1 (fma.f64 x x 1)) -1) 1))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (/.f64 1 (fma.f64 x x 1)) 0)))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (+.f64 1 (/.f64 1 (fma.f64 x x 1))) -1)))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 -1 (+.f64 1 (/.f64 1 (fma.f64 x x 1))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (+.f64 (/.f64 1 (fma.f64 x x 1)) -1) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (/.f64 1 (fma.f64 x x 1)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 1 (fma.f64 x x 1)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 1 (cbrt.f64 (fma.f64 x x 1))) (cbrt.f64 (pow.f64 (fma.f64 x x 1) -2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (pow.f64 (fma.f64 x x 1) -2)) (/.f64 1 (cbrt.f64 (fma.f64 x x 1))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (fma.f64 x x 1) -1/2) (pow.f64 (fma.f64 x x 1) -1/2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 -1 (/.f64 1 (neg.f64 (fma.f64 x x 1))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 (pow.f64 (+.f64 1 (/.f64 1 (fma.f64 x x 1))) 3) -1) (/.f64 1 (+.f64 (pow.f64 (+.f64 1 (/.f64 1 (fma.f64 x x 1))) 2) (+.f64 (/.f64 1 (fma.f64 x x 1)) 2))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 (pow.f64 (+.f64 1 (/.f64 1 (fma.f64 x x 1))) 2) -1) (/.f64 1 (+.f64 (/.f64 1 (fma.f64 x x 1)) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (pow.f64 (cbrt.f64 (fma.f64 x x 1)) 2) -1) (pow.f64 (cbrt.f64 (fma.f64 x x 1)) -1))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (sqrt.f64 (fma.f64 x x 1)) -1) (pow.f64 (sqrt.f64 (fma.f64 x x 1)) -1))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 (hypot.f64 1 (pow.f64 (fma.f64 x x 1) -1/2)) 1) (-.f64 (hypot.f64 1 (pow.f64 (fma.f64 x x 1) -1/2)) 1))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (fma.f64 x x 1))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (neg.f64 (neg.f64 (fma.f64 x x 1))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (+.f64 (pow.f64 (+.f64 1 (/.f64 1 (fma.f64 x x 1))) 2) (+.f64 (/.f64 1 (fma.f64 x x 1)) 2)) (+.f64 (pow.f64 (+.f64 1 (/.f64 1 (fma.f64 x x 1))) 3) -1)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (+.f64 (/.f64 1 (fma.f64 x x 1)) 2) (+.f64 (pow.f64 (+.f64 1 (/.f64 1 (fma.f64 x x 1))) 2) -1)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (pow.f64 (fma.f64 x x 1) -1/2) (sqrt.f64 (fma.f64 x x 1)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 -1 (neg.f64 (fma.f64 x x 1)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 (+.f64 1 (/.f64 1 (fma.f64 x x 1))) 3) -1) (+.f64 (pow.f64 (+.f64 1 (/.f64 1 (fma.f64 x x 1))) 2) (+.f64 (/.f64 1 (fma.f64 x x 1)) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 (+.f64 1 (/.f64 1 (fma.f64 x x 1))) 3) -1) (+.f64 (pow.f64 (+.f64 1 (/.f64 1 (fma.f64 x x 1))) 2) (-.f64 1 (*.f64 (+.f64 1 (/.f64 1 (fma.f64 x x 1))) -1))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 (+.f64 1 (/.f64 1 (fma.f64 x x 1))) 2) -1) (+.f64 (/.f64 1 (fma.f64 x x 1)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 (+.f64 1 (/.f64 1 (fma.f64 x x 1))) 2) -1) (-.f64 (+.f64 1 (/.f64 1 (fma.f64 x x 1))) -1))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (+.f64 (pow.f64 (+.f64 1 (/.f64 1 (fma.f64 x x 1))) 3) -1)) (neg.f64 (+.f64 (pow.f64 (+.f64 1 (/.f64 1 (fma.f64 x x 1))) 2) (+.f64 (/.f64 1 (fma.f64 x x 1)) 2))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (+.f64 (pow.f64 (+.f64 1 (/.f64 1 (fma.f64 x x 1))) 2) -1)) (neg.f64 (+.f64 (/.f64 1 (fma.f64 x x 1)) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 1 (pow.f64 (+.f64 (/.f64 1 (fma.f64 x x 1)) -1) 3)) (+.f64 1 (-.f64 (*.f64 (+.f64 (/.f64 1 (fma.f64 x x 1)) -1) (+.f64 (/.f64 1 (fma.f64 x x 1)) -1)) (+.f64 (/.f64 1 (fma.f64 x x 1)) -1))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 1 (*.f64 (+.f64 (/.f64 1 (fma.f64 x x 1)) -1) (+.f64 (/.f64 1 (fma.f64 x x 1)) -1))) (-.f64 1 (+.f64 (/.f64 1 (fma.f64 x x 1)) -1)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (/.f64 1 (pow.f64 (cbrt.f64 (fma.f64 x x 1)) 2)) (cbrt.f64 (fma.f64 x x 1)))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (fma.f64 x x 1) -1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 1 (fma.f64 x x 1)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 1 (cbrt.f64 (fma.f64 x x 1))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (fma.f64 x x 1) -1/2) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (fma.f64 x x 1) -3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (fma.f64 x x 1) -2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (/.f64 1 (fma.f64 x x 1))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (fma.f64 x x 1) -3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (/.f64 1 (fma.f64 x x 1))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (/.f64 1 (fma.f64 x x 1))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (neg.f64 (log.f64 (fma.f64 x x 1))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (+.f64 1 (/.f64 1 (fma.f64 x x 1))) -1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 (+.f64 1 (/.f64 1 (fma.f64 x x 1)))) 2) (cbrt.f64 (+.f64 1 (/.f64 1 (fma.f64 x x 1)))) -1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (hypot.f64 1 (pow.f64 (fma.f64 x x 1) -1/2)) (hypot.f64 1 (pow.f64 (fma.f64 x x 1) -1/2)) -1))))) |
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 (/.f64 1 (fma.f64 x x 1)) 2) 1)))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (/.f64 1 (-.f64 1 (/.f64 1 (fma.f64 x x 1)))) (/.f64 (pow.f64 (fma.f64 x x 1) -2) (-.f64 1 (/.f64 1 (fma.f64 x x 1)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (+.f64 1 (/.f64 1 (fma.f64 x x 1))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 1 (/.f64 1 (fma.f64 x x 1))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (+.f64 1 (/.f64 1 (fma.f64 x x 1)))) (pow.f64 (cbrt.f64 (+.f64 1 (/.f64 1 (fma.f64 x x 1)))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (+.f64 1 (/.f64 1 (fma.f64 x x 1)))) 2) (cbrt.f64 (+.f64 1 (/.f64 1 (fma.f64 x x 1)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (+.f64 1 (/.f64 1 (fma.f64 x x 1)))) 2) (*.f64 (cbrt.f64 (+.f64 1 (/.f64 1 (fma.f64 x x 1)))) 1))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (hypot.f64 1 (pow.f64 (fma.f64 x x 1) -1/2)) (hypot.f64 1 (pow.f64 (fma.f64 x x 1) -1/2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (hypot.f64 1 (pow.f64 (fma.f64 x x 1) -1/2)) (*.f64 (hypot.f64 1 (pow.f64 (fma.f64 x x 1) -1/2)) 1))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 1 (pow.f64 (fma.f64 x x 1) -3)) (/.f64 1 (+.f64 1 (-.f64 (pow.f64 (fma.f64 x x 1) -2) (/.f64 1 (fma.f64 x x 1))))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (-.f64 1 (pow.f64 (fma.f64 x x 1) -2)) (/.f64 1 (-.f64 1 (/.f64 1 (fma.f64 x x 1)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (+.f64 1 (-.f64 (pow.f64 (fma.f64 x x 1) -2) (/.f64 1 (fma.f64 x x 1)))) (+.f64 1 (pow.f64 (fma.f64 x x 1) -3))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (-.f64 1 (/.f64 1 (fma.f64 x x 1))) (-.f64 1 (pow.f64 (fma.f64 x x 1) -2))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 1 (pow.f64 (fma.f64 x x 1) -3)) (+.f64 1 (-.f64 (pow.f64 (fma.f64 x x 1) -2) (/.f64 1 (fma.f64 x x 1)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 1 (pow.f64 (fma.f64 x x 1) -3)) (+.f64 (pow.f64 (fma.f64 x x 1) -2) (-.f64 1 (/.f64 1 (fma.f64 x x 1)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 1 (pow.f64 (fma.f64 x x 1) -2)) (-.f64 1 (/.f64 1 (fma.f64 x x 1))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (+.f64 1 (pow.f64 (fma.f64 x x 1) -3))) (neg.f64 (+.f64 1 (-.f64 (pow.f64 (fma.f64 x x 1) -2) (/.f64 1 (fma.f64 x x 1))))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (-.f64 1 (pow.f64 (fma.f64 x x 1) -2))) (neg.f64 (-.f64 1 (/.f64 1 (fma.f64 x x 1)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (pow.f64 (fma.f64 x x 1) -2) 1) (+.f64 (/.f64 1 (fma.f64 x x 1)) -1))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (+.f64 1 (pow.f64 (fma.f64 x x 1) -3)) 1) (+.f64 1 (-.f64 (pow.f64 (fma.f64 x x 1) -2) (/.f64 1 (fma.f64 x x 1)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (-.f64 1 (pow.f64 (fma.f64 x x 1) -2)) 1) (-.f64 1 (/.f64 1 (fma.f64 x x 1))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (+.f64 1 (/.f64 1 (fma.f64 x x 1))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (+.f64 1 (/.f64 1 (fma.f64 x x 1)))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (hypot.f64 1 (pow.f64 (fma.f64 x x 1) -1/2)) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (+.f64 1 (/.f64 1 (fma.f64 x x 1))) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (+.f64 1 (/.f64 1 (fma.f64 x x 1))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (+.f64 1 (/.f64 1 (fma.f64 x x 1)))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (+.f64 1 (/.f64 1 (fma.f64 x x 1))) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log.f64 (+.f64 (/.f64 1 (fma.f64 x x 1)) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (+.f64 1 (/.f64 1 (fma.f64 x x 1)))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log1p.f64 (/.f64 1 (fma.f64 x x 1))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (/.f64 1 (fma.f64 x x 1)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (pow.f64 (fma.f64 x x 1) -2)) (/.f64 1 (cbrt.f64 (fma.f64 x x 1))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (fma.f64 x x 1) -1/2) (pow.f64 (fma.f64 x x 1) -1/2) 1))))) |
((#(struct:change #<rule egg-rr> (2) ((x +.f64 x (*.f64 (+.f64 (/.f64 1 (fma.f64 x x 1)) -1) x))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 x (*.f64 x (+.f64 (/.f64 1 (fma.f64 x x 1)) -1)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 (+.f64 1 (/.f64 1 (fma.f64 x x 1))) x) (*.f64 -1 x))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 x (+.f64 1 (/.f64 1 (fma.f64 x x 1)))) (*.f64 x -1))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (*.f64 x (/.f64 1 (fma.f64 x x 1)))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (+.f64 (pow.f64 (+.f64 1 (/.f64 1 (fma.f64 x x 1))) 3) -1) x) (+.f64 (pow.f64 (+.f64 1 (/.f64 1 (fma.f64 x x 1))) 2) (+.f64 (/.f64 1 (fma.f64 x x 1)) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (+.f64 (pow.f64 (+.f64 1 (/.f64 1 (fma.f64 x x 1))) 2) -1) x) (+.f64 (/.f64 1 (fma.f64 x x 1)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 x (+.f64 (pow.f64 (+.f64 1 (/.f64 1 (fma.f64 x x 1))) 3) -1)) (+.f64 (pow.f64 (+.f64 1 (/.f64 1 (fma.f64 x x 1))) 2) (+.f64 (/.f64 1 (fma.f64 x x 1)) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 x (+.f64 (pow.f64 (+.f64 1 (/.f64 1 (fma.f64 x x 1))) 2) -1)) (+.f64 (/.f64 1 (fma.f64 x x 1)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 x (/.f64 1 (fma.f64 x x 1))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 x (/.f64 1 (fma.f64 x x 1))) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (*.f64 x (/.f64 1 (fma.f64 x x 1)))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 (pow.f64 (fma.f64 x x 1) -1/2) (sqrt.f64 x)) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (*.f64 (pow.f64 (fma.f64 x x 1) -2) (*.f64 x x)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (pow.f64 (exp.f64 x) (/.f64 1 (fma.f64 x x 1))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (*.f64 x (/.f64 1 (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 cbrt.f64 (*.f64 (pow.f64 (fma.f64 x x 1) -3) (pow.f64 x 3)))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 x (/.f64 1 (fma.f64 x x 1)))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 x (/.f64 1 (fma.f64 x x 1)))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (*.f64 x (/.f64 1 (fma.f64 x x 1))))))))) |
| 1× | egg-herbie |
| 889× | fma-def_binary64 |
| 463× | sub-neg_binary64 |
| 425× | associate-*l*_binary64 |
| 376× | distribute-rgt-neg-in_binary64 |
| 338× | associate-*r*_binary64 |
Useful iterations: 3 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 57 | 554 |
| 1 | 153 | 540 |
| 2 | 412 | 536 |
| 3 | 1362 | 532 |
| 4 | 6042 | 532 |
| 1× | node limit |
| Inputs |
|---|
1 |
(+.f64 1 (*.f64 -1 (pow.f64 x 2))) |
(+.f64 1 (+.f64 (*.f64 -1 (pow.f64 x 2)) (pow.f64 x 4))) |
(+.f64 (*.f64 -1 (pow.f64 x 6)) (+.f64 1 (+.f64 (*.f64 -1 (pow.f64 x 2)) (pow.f64 x 4)))) |
(/.f64 1 (pow.f64 x 2)) |
(-.f64 (/.f64 1 (pow.f64 x 2)) (/.f64 1 (pow.f64 x 4))) |
(-.f64 (+.f64 (/.f64 1 (pow.f64 x 2)) (/.f64 1 (pow.f64 x 6))) (/.f64 1 (pow.f64 x 4))) |
(-.f64 (+.f64 (/.f64 1 (pow.f64 x 2)) (/.f64 1 (pow.f64 x 6))) (+.f64 (/.f64 1 (pow.f64 x 4)) (/.f64 1 (pow.f64 x 8)))) |
(/.f64 1 (pow.f64 x 2)) |
(-.f64 (/.f64 1 (pow.f64 x 2)) (/.f64 1 (pow.f64 x 4))) |
(-.f64 (+.f64 (/.f64 1 (pow.f64 x 2)) (/.f64 1 (pow.f64 x 6))) (/.f64 1 (pow.f64 x 4))) |
(-.f64 (+.f64 (/.f64 1 (pow.f64 x 2)) (/.f64 1 (pow.f64 x 6))) (+.f64 (/.f64 1 (pow.f64 x 4)) (/.f64 1 (pow.f64 x 8)))) |
2 |
(+.f64 2 (*.f64 -1 (pow.f64 x 2))) |
(+.f64 2 (+.f64 (*.f64 -1 (pow.f64 x 2)) (pow.f64 x 4))) |
(+.f64 (*.f64 -1 (pow.f64 x 6)) (+.f64 2 (+.f64 (*.f64 -1 (pow.f64 x 2)) (pow.f64 x 4)))) |
1 |
(+.f64 1 (/.f64 1 (pow.f64 x 2))) |
(-.f64 (+.f64 1 (/.f64 1 (pow.f64 x 2))) (/.f64 1 (pow.f64 x 4))) |
(-.f64 (+.f64 1 (+.f64 (/.f64 1 (pow.f64 x 2)) (/.f64 1 (pow.f64 x 6)))) (/.f64 1 (pow.f64 x 4))) |
1 |
(+.f64 1 (/.f64 1 (pow.f64 x 2))) |
(-.f64 (+.f64 1 (/.f64 1 (pow.f64 x 2))) (/.f64 1 (pow.f64 x 4))) |
(-.f64 (+.f64 1 (+.f64 (/.f64 1 (pow.f64 x 2)) (/.f64 1 (pow.f64 x 6)))) (/.f64 1 (pow.f64 x 4))) |
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 |
|---|
1 |
(+.f64 1 (*.f64 -1 (pow.f64 x 2))) |
(+.f64 1 (neg.f64 (*.f64 x x))) |
(-.f64 1 (*.f64 x x)) |
(fma.f64 x (neg.f64 x) 1) |
(+.f64 1 (+.f64 (*.f64 -1 (pow.f64 x 2)) (pow.f64 x 4))) |
(+.f64 1 (fma.f64 -1 (*.f64 x x) (pow.f64 x 4))) |
(+.f64 (-.f64 1 (*.f64 x x)) (pow.f64 x 4)) |
(fma.f64 (*.f64 x x) (fma.f64 x x -1) 1) |
(fma.f64 x (-.f64 (pow.f64 x 3) x) 1) |
(+.f64 (*.f64 -1 (pow.f64 x 6)) (+.f64 1 (+.f64 (*.f64 -1 (pow.f64 x 2)) (pow.f64 x 4)))) |
(fma.f64 -1 (pow.f64 x 6) (+.f64 1 (fma.f64 -1 (*.f64 x x) (pow.f64 x 4)))) |
(-.f64 (+.f64 (-.f64 1 (*.f64 x x)) (pow.f64 x 4)) (pow.f64 x 6)) |
(-.f64 (fma.f64 (*.f64 x x) (fma.f64 x x -1) 1) (pow.f64 x 6)) |
(-.f64 (pow.f64 x 4) (+.f64 (fma.f64 x x -1) (pow.f64 x 6))) |
(+.f64 1 (-.f64 (pow.f64 x 4) (fma.f64 x x (pow.f64 x 6)))) |
(/.f64 1 (pow.f64 x 2)) |
(/.f64 1 (*.f64 x x)) |
(-.f64 (/.f64 1 (pow.f64 x 2)) (/.f64 1 (pow.f64 x 4))) |
(-.f64 (/.f64 1 (*.f64 x x)) (/.f64 1 (pow.f64 x 4))) |
(+.f64 (/.f64 1 (*.f64 x x)) (/.f64 -1 (pow.f64 x 4))) |
(-.f64 (+.f64 (/.f64 1 (pow.f64 x 2)) (/.f64 1 (pow.f64 x 6))) (/.f64 1 (pow.f64 x 4))) |
(-.f64 (+.f64 (/.f64 1 (*.f64 x x)) (/.f64 1 (pow.f64 x 6))) (/.f64 1 (pow.f64 x 4))) |
(+.f64 (/.f64 1 (pow.f64 x 6)) (+.f64 (/.f64 1 (*.f64 x x)) (/.f64 -1 (pow.f64 x 4)))) |
(+.f64 (+.f64 (/.f64 1 (*.f64 x x)) (/.f64 -1 (pow.f64 x 4))) (/.f64 1 (pow.f64 x 6))) |
(+.f64 (+.f64 (/.f64 1 (*.f64 x x)) (/.f64 1 (pow.f64 x 6))) (/.f64 -1 (pow.f64 x 4))) |
(-.f64 (+.f64 (/.f64 1 (pow.f64 x 2)) (/.f64 1 (pow.f64 x 6))) (+.f64 (/.f64 1 (pow.f64 x 4)) (/.f64 1 (pow.f64 x 8)))) |
(+.f64 (/.f64 1 (*.f64 x x)) (-.f64 (/.f64 1 (pow.f64 x 6)) (+.f64 (/.f64 1 (pow.f64 x 4)) (/.f64 1 (pow.f64 x 8))))) |
(+.f64 (/.f64 1 (*.f64 x x)) (-.f64 (+.f64 (/.f64 1 (pow.f64 x 6)) (/.f64 -1 (pow.f64 x 4))) (/.f64 1 (pow.f64 x 8)))) |
(+.f64 (/.f64 1 (*.f64 x x)) (+.f64 (/.f64 1 (pow.f64 x 6)) (-.f64 (/.f64 -1 (pow.f64 x 4)) (/.f64 1 (pow.f64 x 8))))) |
(+.f64 (/.f64 1 (*.f64 x x)) (-.f64 (/.f64 1 (pow.f64 x 6)) (-.f64 (/.f64 1 (pow.f64 x 8)) (/.f64 -1 (pow.f64 x 4))))) |
(/.f64 1 (pow.f64 x 2)) |
(/.f64 1 (*.f64 x x)) |
(-.f64 (/.f64 1 (pow.f64 x 2)) (/.f64 1 (pow.f64 x 4))) |
(-.f64 (/.f64 1 (*.f64 x x)) (/.f64 1 (pow.f64 x 4))) |
(+.f64 (/.f64 1 (*.f64 x x)) (/.f64 -1 (pow.f64 x 4))) |
(-.f64 (+.f64 (/.f64 1 (pow.f64 x 2)) (/.f64 1 (pow.f64 x 6))) (/.f64 1 (pow.f64 x 4))) |
(-.f64 (+.f64 (/.f64 1 (*.f64 x x)) (/.f64 1 (pow.f64 x 6))) (/.f64 1 (pow.f64 x 4))) |
(+.f64 (/.f64 1 (pow.f64 x 6)) (+.f64 (/.f64 1 (*.f64 x x)) (/.f64 -1 (pow.f64 x 4)))) |
(+.f64 (+.f64 (/.f64 1 (*.f64 x x)) (/.f64 -1 (pow.f64 x 4))) (/.f64 1 (pow.f64 x 6))) |
(+.f64 (+.f64 (/.f64 1 (*.f64 x x)) (/.f64 1 (pow.f64 x 6))) (/.f64 -1 (pow.f64 x 4))) |
(-.f64 (+.f64 (/.f64 1 (pow.f64 x 2)) (/.f64 1 (pow.f64 x 6))) (+.f64 (/.f64 1 (pow.f64 x 4)) (/.f64 1 (pow.f64 x 8)))) |
(+.f64 (/.f64 1 (*.f64 x x)) (-.f64 (/.f64 1 (pow.f64 x 6)) (+.f64 (/.f64 1 (pow.f64 x 4)) (/.f64 1 (pow.f64 x 8))))) |
(+.f64 (/.f64 1 (*.f64 x x)) (-.f64 (+.f64 (/.f64 1 (pow.f64 x 6)) (/.f64 -1 (pow.f64 x 4))) (/.f64 1 (pow.f64 x 8)))) |
(+.f64 (/.f64 1 (*.f64 x x)) (+.f64 (/.f64 1 (pow.f64 x 6)) (-.f64 (/.f64 -1 (pow.f64 x 4)) (/.f64 1 (pow.f64 x 8))))) |
(+.f64 (/.f64 1 (*.f64 x x)) (-.f64 (/.f64 1 (pow.f64 x 6)) (-.f64 (/.f64 1 (pow.f64 x 8)) (/.f64 -1 (pow.f64 x 4))))) |
2 |
(+.f64 2 (*.f64 -1 (pow.f64 x 2))) |
(+.f64 2 (neg.f64 (*.f64 x x))) |
(-.f64 2 (*.f64 x x)) |
(+.f64 2 (+.f64 (*.f64 -1 (pow.f64 x 2)) (pow.f64 x 4))) |
(+.f64 2 (fma.f64 -1 (*.f64 x x) (pow.f64 x 4))) |
(+.f64 2 (-.f64 (pow.f64 x 4) (*.f64 x x))) |
(fma.f64 (*.f64 x x) (fma.f64 x x -1) 2) |
(-.f64 (pow.f64 x 4) (fma.f64 x x -2)) |
(+.f64 (*.f64 -1 (pow.f64 x 6)) (+.f64 2 (+.f64 (*.f64 -1 (pow.f64 x 2)) (pow.f64 x 4)))) |
(fma.f64 -1 (pow.f64 x 6) (+.f64 2 (fma.f64 -1 (*.f64 x x) (pow.f64 x 4)))) |
(-.f64 (+.f64 2 (-.f64 (pow.f64 x 4) (*.f64 x x))) (pow.f64 x 6)) |
(-.f64 (fma.f64 (*.f64 x x) (fma.f64 x x -1) 2) (pow.f64 x 6)) |
(-.f64 (pow.f64 x 4) (+.f64 (fma.f64 x x -2) (pow.f64 x 6))) |
(+.f64 (pow.f64 x 4) (-.f64 2 (fma.f64 x x (pow.f64 x 6)))) |
1 |
(+.f64 1 (/.f64 1 (pow.f64 x 2))) |
(+.f64 1 (/.f64 1 (*.f64 x x))) |
(-.f64 (+.f64 1 (/.f64 1 (pow.f64 x 2))) (/.f64 1 (pow.f64 x 4))) |
(+.f64 1 (-.f64 (/.f64 1 (*.f64 x x)) (/.f64 1 (pow.f64 x 4)))) |
(+.f64 1 (+.f64 (/.f64 1 (*.f64 x x)) (/.f64 -1 (pow.f64 x 4)))) |
(+.f64 (+.f64 1 (/.f64 1 (*.f64 x x))) (/.f64 -1 (pow.f64 x 4))) |
(-.f64 (+.f64 1 (+.f64 (/.f64 1 (pow.f64 x 2)) (/.f64 1 (pow.f64 x 6)))) (/.f64 1 (pow.f64 x 4))) |
(-.f64 (+.f64 (+.f64 1 (/.f64 1 (*.f64 x x))) (/.f64 1 (pow.f64 x 6))) (/.f64 1 (pow.f64 x 4))) |
(+.f64 1 (+.f64 (/.f64 1 (pow.f64 x 6)) (+.f64 (/.f64 1 (*.f64 x x)) (/.f64 -1 (pow.f64 x 4))))) |
(+.f64 (/.f64 1 (pow.f64 x 6)) (+.f64 (+.f64 1 (/.f64 1 (*.f64 x x))) (/.f64 -1 (pow.f64 x 4)))) |
(+.f64 (/.f64 1 (*.f64 x x)) (+.f64 (/.f64 1 (pow.f64 x 6)) (+.f64 1 (/.f64 -1 (pow.f64 x 4))))) |
1 |
(+.f64 1 (/.f64 1 (pow.f64 x 2))) |
(+.f64 1 (/.f64 1 (*.f64 x x))) |
(-.f64 (+.f64 1 (/.f64 1 (pow.f64 x 2))) (/.f64 1 (pow.f64 x 4))) |
(+.f64 1 (-.f64 (/.f64 1 (*.f64 x x)) (/.f64 1 (pow.f64 x 4)))) |
(+.f64 1 (+.f64 (/.f64 1 (*.f64 x x)) (/.f64 -1 (pow.f64 x 4)))) |
(+.f64 (+.f64 1 (/.f64 1 (*.f64 x x))) (/.f64 -1 (pow.f64 x 4))) |
(-.f64 (+.f64 1 (+.f64 (/.f64 1 (pow.f64 x 2)) (/.f64 1 (pow.f64 x 6)))) (/.f64 1 (pow.f64 x 4))) |
(-.f64 (+.f64 (+.f64 1 (/.f64 1 (*.f64 x x))) (/.f64 1 (pow.f64 x 6))) (/.f64 1 (pow.f64 x 4))) |
(+.f64 1 (+.f64 (/.f64 1 (pow.f64 x 6)) (+.f64 (/.f64 1 (*.f64 x x)) (/.f64 -1 (pow.f64 x 4))))) |
(+.f64 (/.f64 1 (pow.f64 x 6)) (+.f64 (+.f64 1 (/.f64 1 (*.f64 x x))) (/.f64 -1 (pow.f64 x 4)))) |
(+.f64 (/.f64 1 (*.f64 x x)) (+.f64 (/.f64 1 (pow.f64 x 6)) (+.f64 1 (/.f64 -1 (pow.f64 x 4))))) |
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) (-.f64 x (pow.f64 x 7))) (pow.f64 x 3)) |
(+.f64 x (-.f64 (-.f64 (pow.f64 x 5) (pow.f64 x 3)) (pow.f64 x 7))) |
(-.f64 (-.f64 x (pow.f64 x 3)) (-.f64 (pow.f64 x 7) (pow.f64 x 5))) |
(/.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 1 (pow.f64 x 5)) (-.f64 (/.f64 1 x) (/.f64 1 (pow.f64 x 3)))) |
(+.f64 (-.f64 (/.f64 1 x) (/.f64 1 (pow.f64 x 3))) (/.f64 1 (pow.f64 x 5))) |
(+.f64 (/.f64 1 x) (+.f64 (/.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 1 x) (-.f64 (/.f64 1 (pow.f64 x 5)) (+.f64 (/.f64 1 (pow.f64 x 3)) (/.f64 1 (pow.f64 x 7))))) |
(+.f64 (-.f64 (/.f64 1 x) (/.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 1 (pow.f64 x 5)) (-.f64 (/.f64 1 x) (/.f64 1 (pow.f64 x 3)))) |
(+.f64 (-.f64 (/.f64 1 x) (/.f64 1 (pow.f64 x 3))) (/.f64 1 (pow.f64 x 5))) |
(+.f64 (/.f64 1 x) (+.f64 (/.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 1 x) (-.f64 (/.f64 1 (pow.f64 x 5)) (+.f64 (/.f64 1 (pow.f64 x 3)) (/.f64 1 (pow.f64 x 7))))) |
(+.f64 (-.f64 (/.f64 1 x) (/.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))))) |
Found 2 expressions with local error:
| New | Error | Program |
|---|---|---|
| ✓ | 0.0b | (-.f64 x (*.f64 (*.f64 x x) x)) |
| ✓ | 0.1b | (*.f64 (*.f64 x x) x) |
Compiled 17 to 4 computations (76.5% saved)
6 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 1.0ms | x | @ | -inf | (*.f64 (*.f64 x x) x) |
| 1.0ms | x | @ | 0 | (*.f64 (*.f64 x x) x) |
| 0.0ms | x | @ | -inf | (-.f64 x (*.f64 (*.f64 x x) x)) |
| 0.0ms | x | @ | inf | (-.f64 x (*.f64 (*.f64 x x) x)) |
| 0.0ms | x | @ | inf | (*.f64 (*.f64 x x) x) |
| 1× | batch-egg-rewrite |
| 571× | pow1_binary64 |
| 536× | add-log-exp_binary64 |
| 536× | log1p-expm1-u_binary64 |
| 536× | expm1-log1p-u_binary64 |
| 523× | add-exp-log_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 5 | 11 |
| 1 | 110 | 11 |
| 2 | 1571 | 11 |
| 1× | node limit |
| Inputs |
|---|
(*.f64 (*.f64 x x) x) |
(-.f64 x (*.f64 (*.f64 x 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 (pow.f64 x 3/2) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 x 9) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 x 6))))) (#(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 x 9))))) (#(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 (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 (*.f64 x (neg.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 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)) 1 (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 x (+.f64 1 (*.f64 x (neg.f64 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 (+.f64 (*.f64 x (neg.f64 x)) 1) x)))) (#(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 |
| 462× | associate-*l*_binary64 |
| 383× | fma-def_binary64 |
| 362× | unswap-sqr_binary64 |
Useful iterations: 1 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 7 | 133 |
| 1 | 19 | 124 |
| 2 | 49 | 124 |
| 3 | 97 | 124 |
| 4 | 192 | 124 |
| 5 | 529 | 124 |
| 6 | 1872 | 124 |
| 7 | 3436 | 124 |
| 8 | 5449 | 124 |
| 9 | 7284 | 124 |
| 1× | node limit |
| Inputs |
|---|
(pow.f64 x 3) |
(pow.f64 x 3) |
(pow.f64 x 3) |
(pow.f64 x 3) |
(pow.f64 x 3) |
(pow.f64 x 3) |
(pow.f64 x 3) |
(pow.f64 x 3) |
(pow.f64 x 3) |
(pow.f64 x 3) |
(pow.f64 x 3) |
(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 |
|---|
(pow.f64 x 3) |
(pow.f64 x 3) |
(pow.f64 x 3) |
(pow.f64 x 3) |
(pow.f64 x 3) |
(pow.f64 x 3) |
(pow.f64 x 3) |
(pow.f64 x 3) |
(pow.f64 x 3) |
(pow.f64 x 3) |
(pow.f64 x 3) |
(pow.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)) |
Found 3 expressions with local error:
| New | Error | Program |
|---|---|---|
| ✓ | 0.0b | (-.f64 (/.f64 1 x) (/.f64 1 (*.f64 (*.f64 x x) x))) |
| 0.1b | (*.f64 (*.f64 x x) x) | |
| ✓ | 0.7b | (/.f64 1 (*.f64 (*.f64 x x) x)) |
Compiled 32 to 13 computations (59.4% saved)
6 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 0.0ms | x | @ | 0 | (/.f64 1 (*.f64 (*.f64 x x) x)) |
| 0.0ms | x | @ | inf | (/.f64 1 (*.f64 (*.f64 x x) x)) |
| 0.0ms | x | @ | inf | (-.f64 (/.f64 1 x) (/.f64 1 (*.f64 (*.f64 x x) x))) |
| 0.0ms | x | @ | 0 | (-.f64 (/.f64 1 x) (/.f64 1 (*.f64 (*.f64 x x) x))) |
| 0.0ms | x | @ | -inf | (/.f64 1 (*.f64 (*.f64 x x) x)) |
| 1× | batch-egg-rewrite |
| 868× | pow1_binary64 |
| 815× | add-log-exp_binary64 |
| 814× | log1p-expm1-u_binary64 |
| 814× | expm1-log1p-u_binary64 |
| 793× | add-exp-log_binary64 |
Useful iterations: 1 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 8 | 20 |
| 1 | 177 | 14 |
| 2 | 2601 | 14 |
| 1× | node limit |
| Inputs |
|---|
(/.f64 1 (*.f64 (*.f64 x x) x)) |
(-.f64 (/.f64 1 x) (/.f64 1 (*.f64 (*.f64 x 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 *.f64 1 (pow.f64 x -3))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 x -3) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 1 x) (pow.f64 x -2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 x -2) (/.f64 1 x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (pow.f64 x -3)) (sqrt.f64 (pow.f64 x -3)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 -1 (neg.f64 (pow.f64 x -3)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (pow.f64 x 3/2) -1) (pow.f64 (pow.f64 x 3/2) -1))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (pow.f64 x -2)) 3) (/.f64 1 x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (pow.f64 x -1/2) 3) (pow.f64 (pow.f64 x -1/2) 3))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (pow.f64 x -2) 1) (/.f64 1 x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (/.f64 1 x) 3/2) (pow.f64 (/.f64 1 x) 3/2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (pow.f64 x -2) (cbrt.f64 (pow.f64 x -2))) (/.f64 1 (cbrt.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (pow.f64 x -2) (pow.f64 x -1/2)) (pow.f64 x -1/2))))) (#(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 (pow.f64 x -3) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 1 x) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (pow.f64 x -3)) 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 sqrt.f64 (/.f64 1 (pow.f64 x 6)))))) (#(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 (log.f64 (pow.f64 x -3))))))) |
((#(struct:change #<rule egg-rr> (2) ((x +.f64 (/.f64 1 x) (neg.f64 (pow.f64 x -3)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (/.f64 1 x) (*.f64 (neg.f64 (pow.f64 x -3)) 1))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (-.f64 (/.f64 1 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 (/.f64 1 x) (pow.f64 x -3)) (fma.f64 (neg.f64 (/.f64 1 x)) (pow.f64 x -2) (pow.f64 x -3)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (-.f64 (/.f64 1 x) (pow.f64 x -3)) (fma.f64 (neg.f64 (sqrt.f64 (pow.f64 x -3))) (sqrt.f64 (pow.f64 x -3)) (pow.f64 x -3)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (neg.f64 (pow.f64 x -3)) (/.f64 1 x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (-.f64 (/.f64 1 x) (pow.f64 x -3)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (-.f64 (/.f64 1 x) (pow.f64 x -3)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (-.f64 (/.f64 1 x) (pow.f64 x -3))) (pow.f64 (cbrt.f64 (-.f64 (/.f64 1 x) (pow.f64 x -3))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (-.f64 (/.f64 1 x) (pow.f64 x -3))) 2) (cbrt.f64 (-.f64 (/.f64 1 x) (pow.f64 x -3))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (-.f64 (/.f64 1 x) (pow.f64 x -3))) (sqrt.f64 (-.f64 (/.f64 1 x) (pow.f64 x -3))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (-.f64 (pow.f64 x 3) x) (/.f64 1 (pow.f64 x 4)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (-.f64 (pow.f64 x -3) (pow.f64 (pow.f64 x 3) -3)) (/.f64 1 (+.f64 (pow.f64 x -2) (+.f64 (/.f64 1 (pow.f64 x 6)) (/.f64 1 (pow.f64 x 4))))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (-.f64 (pow.f64 x -2) (/.f64 1 (pow.f64 x 6))) (/.f64 1 (+.f64 (pow.f64 x -3) (/.f64 1 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 (pow.f64 x -1/2) (sqrt.f64 (pow.f64 x -3))) (-.f64 (pow.f64 x -1/2) (sqrt.f64 (pow.f64 x -3))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (pow.f64 x 4) (-.f64 (pow.f64 x 3) x)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (+.f64 (pow.f64 x -2) (+.f64 (/.f64 1 (pow.f64 x 6)) (/.f64 1 (pow.f64 x 4)))) (-.f64 (pow.f64 x -3) (pow.f64 (pow.f64 x 3) -3))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (+.f64 (pow.f64 x -3) (/.f64 1 x)) (-.f64 (pow.f64 x -2) (/.f64 1 (pow.f64 x 6)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (pow.f64 x 3) x) (pow.f64 x 4))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (pow.f64 x -3) (pow.f64 (pow.f64 x 3) -3)) (+.f64 (pow.f64 x -2) (+.f64 (/.f64 1 (pow.f64 x 6)) (/.f64 1 (pow.f64 x 4)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (pow.f64 x -2) (/.f64 1 (pow.f64 x 6))) (+.f64 (pow.f64 x -3) (/.f64 1 x)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (-.f64 (pow.f64 x 3) x)) (neg.f64 (pow.f64 x 4)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (-.f64 (pow.f64 x -3) (pow.f64 (pow.f64 x 3) -3))) (neg.f64 (+.f64 (pow.f64 x -2) (+.f64 (/.f64 1 (pow.f64 x 6)) (/.f64 1 (pow.f64 x 4))))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (-.f64 (pow.f64 x -2) (/.f64 1 (pow.f64 x 6)))) (neg.f64 (+.f64 (pow.f64 x -3) (/.f64 1 x))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (neg.f64 (pow.f64 x 3)) (*.f64 (neg.f64 x) 1)) (*.f64 (neg.f64 x) (pow.f64 x 3)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (neg.f64 (pow.f64 x 3)) (*.f64 x -1)) (*.f64 x (neg.f64 (pow.f64 x 3))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (*.f64 -1 (neg.f64 (pow.f64 x 3))) (*.f64 (neg.f64 x) -1)) (*.f64 (neg.f64 x) (neg.f64 (pow.f64 x 3))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 x (*.f64 x (pow.f64 x -2))) (*.f64 x x))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (neg.f64 x) (*.f64 (neg.f64 x) (pow.f64 x -2))) (*.f64 (neg.f64 x) x))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 1 (pow.f64 x -2)) x)))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 x -3) (pow.f64 (neg.f64 (pow.f64 x -3)) 3)) (+.f64 (pow.f64 x -2) (-.f64 (*.f64 (neg.f64 (pow.f64 x -3)) (neg.f64 (pow.f64 x -3))) (*.f64 (/.f64 1 x) (neg.f64 (pow.f64 x -3))))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (pow.f64 x -2) (*.f64 (neg.f64 (pow.f64 x -3)) (neg.f64 (pow.f64 x -3)))) (-.f64 (/.f64 1 x) (neg.f64 (pow.f64 x -3))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (/.f64 (-.f64 (pow.f64 x 3) x) x) (pow.f64 x 3))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (-.f64 (/.f64 1 x) (pow.f64 x -3)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (-.f64 (/.f64 1 x) (pow.f64 x -3)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (-.f64 (/.f64 1 x) (pow.f64 x -3))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (-.f64 (/.f64 1 x) (pow.f64 x -3))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (-.f64 (/.f64 1 x) (pow.f64 x -3)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (-.f64 (/.f64 1 x) (pow.f64 x -3))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (-.f64 (/.f64 1 x) (pow.f64 x -3)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (-.f64 (/.f64 1 x) (pow.f64 x -3))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (-.f64 (/.f64 1 x) (pow.f64 x -3))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (-.f64 (/.f64 1 x) (pow.f64 x -3))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (/.f64 1 x) (neg.f64 (pow.f64 x -3)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (pow.f64 x -2)) (/.f64 1 (cbrt.f64 x)) (neg.f64 (pow.f64 x -3)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 x -1/2) (pow.f64 x -1/2) (neg.f64 (pow.f64 x -3))))))) |
| 1× | egg-herbie |
| 893× | fma-neg_binary64 |
| 583× | fma-def_binary64 |
| 470× | associate-/r/_binary64 |
| 371× | div-sub_binary64 |
| 362× | unswap-sqr_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 10 | 216 |
| 1 | 22 | 216 |
| 2 | 42 | 216 |
| 3 | 82 | 216 |
| 4 | 172 | 216 |
| 5 | 501 | 216 |
| 6 | 2038 | 216 |
| 7 | 4153 | 216 |
| 8 | 5847 | 216 |
| 9 | 7785 | 216 |
| 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)) |
(/.f64 -1 (pow.f64 x 3)) |
(-.f64 (/.f64 1 x) (/.f64 1 (pow.f64 x 3))) |
(-.f64 (/.f64 1 x) (/.f64 1 (pow.f64 x 3))) |
(-.f64 (/.f64 1 x) (/.f64 1 (pow.f64 x 3))) |
(/.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 1 x) (/.f64 1 (pow.f64 x 3))) |
(/.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 1 x) (/.f64 1 (pow.f64 x 3))) |
| Outputs |
|---|
(/.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)) |
(/.f64 -1 (pow.f64 x 3)) |
(-.f64 (/.f64 1 x) (/.f64 1 (pow.f64 x 3))) |
(+.f64 (/.f64 1 x) (/.f64 -1 (pow.f64 x 3))) |
(-.f64 (/.f64 1 x) (/.f64 1 (pow.f64 x 3))) |
(+.f64 (/.f64 1 x) (/.f64 -1 (pow.f64 x 3))) |
(-.f64 (/.f64 1 x) (/.f64 1 (pow.f64 x 3))) |
(+.f64 (/.f64 1 x) (/.f64 -1 (pow.f64 x 3))) |
(/.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 1 x) (/.f64 1 (pow.f64 x 3))) |
(+.f64 (/.f64 1 x) (/.f64 -1 (pow.f64 x 3))) |
(-.f64 (/.f64 1 x) (/.f64 1 (pow.f64 x 3))) |
(+.f64 (/.f64 1 x) (/.f64 -1 (pow.f64 x 3))) |
(/.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 1 x) (/.f64 1 (pow.f64 x 3))) |
(+.f64 (/.f64 1 x) (/.f64 -1 (pow.f64 x 3))) |
(-.f64 (/.f64 1 x) (/.f64 1 (pow.f64 x 3))) |
(+.f64 (/.f64 1 x) (/.f64 -1 (pow.f64 x 3))) |
Found 2 expressions with local error:
| New | Error | Program |
|---|---|---|
| ✓ | 0.1b | (/.f64 1 (/.f64 (+.f64 1 (*.f64 x x)) x)) |
| ✓ | 12.6b | (/.f64 (+.f64 1 (*.f64 x x)) x) |
Compiled 27 to 13 computations (51.9% saved)
6 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 1.0ms | x | @ | 0 | (/.f64 1 (/.f64 (+.f64 1 (*.f64 x x)) x)) |
| 1.0ms | x | @ | 0 | (/.f64 (+.f64 1 (*.f64 x x)) x) |
| 0.0ms | x | @ | inf | (/.f64 (+.f64 1 (*.f64 x x)) x) |
| 0.0ms | x | @ | -inf | (/.f64 1 (/.f64 (+.f64 1 (*.f64 x x)) x)) |
| 0.0ms | x | @ | -inf | (/.f64 (+.f64 1 (*.f64 x x)) x) |
| 1× | batch-egg-rewrite |
| 810× | pow1_binary64 |
| 759× | add-log-exp_binary64 |
| 758× | log1p-expm1-u_binary64 |
| 758× | expm1-log1p-u_binary64 |
| 741× | add-exp-log_binary64 |
Useful iterations: 1 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 7 | 23 |
| 1 | 156 | 16 |
| 2 | 2179 | 16 |
| 1× | node limit |
| Inputs |
|---|
(/.f64 (+.f64 1 (*.f64 x x)) x) |
(/.f64 1 (/.f64 (+.f64 1 (*.f64 x x)) x)) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (/.f64 (fma.f64 x x 1) x)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (/.f64 (fma.f64 x x 1) x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (fma.f64 x x 1) (/.f64 1 x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (fma.f64 x x 1) x) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (/.f64 (fma.f64 x x 1) x)) (pow.f64 (cbrt.f64 (/.f64 (fma.f64 x x 1) x)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (/.f64 (fma.f64 x x 1) x)) 2) (cbrt.f64 (/.f64 (fma.f64 x x 1) x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (fma.f64 x x 1)) 2) (*.f64 (cbrt.f64 (fma.f64 x x 1)) (/.f64 1 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (hypot.f64 1 x) (sqrt.f64 x)) (/.f64 (hypot.f64 1 x) (sqrt.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (hypot.f64 1 x) (*.f64 (hypot.f64 1 x) (/.f64 1 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (neg.f64 (fma.f64 x x 1)) (/.f64 1 (neg.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 1 x) (fma.f64 x x 1))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (pow.f64 (cbrt.f64 (fma.f64 x x 1)) 2) 1) (/.f64 (cbrt.f64 (fma.f64 x x 1)) x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (hypot.f64 1 x) 1) (/.f64 (hypot.f64 1 x) x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 1 (pow.f64 (cbrt.f64 x) 2)) (/.f64 (fma.f64 x x 1) (cbrt.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (pow.f64 (cbrt.f64 (fma.f64 x x 1)) 2) (pow.f64 (cbrt.f64 x) 2)) (cbrt.f64 (/.f64 (fma.f64 x x 1) x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (hypot.f64 1 x) (pow.f64 (cbrt.f64 x) 2)) (/.f64 (hypot.f64 1 x) (cbrt.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 1 (sqrt.f64 x)) (/.f64 (fma.f64 x x 1) (sqrt.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (pow.f64 (cbrt.f64 (fma.f64 x x 1)) 2) (sqrt.f64 x)) (/.f64 (cbrt.f64 (fma.f64 x x 1)) (sqrt.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 (fma.f64 x x 1) 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 (fma.f64 x x 1) x) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (/.f64 (fma.f64 x x 1) x)) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 (hypot.f64 1 x) (sqrt.f64 x)) 2)))) (#(struct:change #<rule egg-rr> (2) ((x neg.f64 (/.f64 (fma.f64 x x 1) (neg.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (/.f64 (fma.f64 x x 1) x) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (/.f64 (fma.f64 x x 1) x)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (/.f64 (fma.f64 x x 1) x) 3))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (/.f64 (pow.f64 (fma.f64 x x 1) 3) (pow.f64 x 3)))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (/.f64 (fma.f64 x x 1) x)))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (/.f64 (fma.f64 x x 1) x)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (/.f64 (fma.f64 x x 1) x))))))) |
((#(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 1 (/.f64 x (fma.f64 x x 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 (/.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 (sqrt.f64 (/.f64 x (fma.f64 x x 1))) (sqrt.f64 (/.f64 x (fma.f64 x x 1))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 -1 (/.f64 1 (/.f64 (neg.f64 (fma.f64 x x 1)) x)))))) (#(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 1 (fma.f64 x x 1)) (pow.f64 (/.f64 1 x) -1))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (pow.f64 (cbrt.f64 (/.f64 (fma.f64 x x 1) x)) 2) -1) (pow.f64 (cbrt.f64 (/.f64 (fma.f64 x x 1) x)) -1))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (/.f64 (hypot.f64 1 x) (sqrt.f64 x)) -1) (pow.f64 (/.f64 (hypot.f64 1 x) (sqrt.f64 x)) -1))))) (#(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)) (/.f64 (cbrt.f64 x) (cbrt.f64 (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 (sqrt.f64 x) (hypot.f64 1 x)) (/.f64 (sqrt.f64 x) (hypot.f64 1 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 x (+.f64 1 (pow.f64 x 6))) (+.f64 1 (-.f64 (pow.f64 x 4) (*.f64 x x))))))) (#(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 *.f64 (/.f64 1 (neg.f64 (fma.f64 x x 1))) (neg.f64 x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (/.f64 1 (fma.f64 x x 1)) 1) x)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (/.f64 1 (fma.f64 x x 1)) (pow.f64 (cbrt.f64 x) 2)) (cbrt.f64 x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (/.f64 1 (fma.f64 x x 1)) (sqrt.f64 x)) (sqrt.f64 x))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 (fma.f64 x x 1) 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 (sqrt.f64 (/.f64 x (fma.f64 x x 1))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (/.f64 (fma.f64 x x 1) x) -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× | sub-neg_binary64 |
Useful iterations: 1 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 28 | 253 |
| 1 | 77 | 249 |
| 2 | 199 | 249 |
| 3 | 555 | 249 |
| 4 | 1471 | 249 |
| 5 | 4012 | 249 |
| 1× | node limit |
| Inputs |
|---|
(/.f64 1 x) |
(+.f64 (/.f64 1 x) x) |
(+.f64 (/.f64 1 x) x) |
(+.f64 (/.f64 1 x) x) |
x |
(+.f64 (/.f64 1 x) x) |
(+.f64 (/.f64 1 x) x) |
(+.f64 (/.f64 1 x) x) |
x |
(+.f64 (/.f64 1 x) x) |
(+.f64 (/.f64 1 x) x) |
(+.f64 (/.f64 1 x) x) |
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 |
|---|
(/.f64 1 x) |
(+.f64 (/.f64 1 x) x) |
(+.f64 x (/.f64 1 x)) |
(+.f64 (/.f64 1 x) x) |
(+.f64 x (/.f64 1 x)) |
(+.f64 (/.f64 1 x) x) |
(+.f64 x (/.f64 1 x)) |
x |
(+.f64 (/.f64 1 x) x) |
(+.f64 x (/.f64 1 x)) |
(+.f64 (/.f64 1 x) x) |
(+.f64 x (/.f64 1 x)) |
(+.f64 (/.f64 1 x) x) |
(+.f64 x (/.f64 1 x)) |
x |
(+.f64 (/.f64 1 x) x) |
(+.f64 x (/.f64 1 x)) |
(+.f64 (/.f64 1 x) x) |
(+.f64 x (/.f64 1 x)) |
(+.f64 (/.f64 1 x) x) |
(+.f64 x (/.f64 1 x)) |
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 x (-.f64 (-.f64 (pow.f64 x 5) (pow.f64 x 3)) (pow.f64 x 7))) |
(-.f64 (+.f64 x (pow.f64 x 5)) (+.f64 (pow.f64 x 3) (pow.f64 x 7))) |
(+.f64 (-.f64 x (pow.f64 x 3)) (-.f64 (pow.f64 x 5) (pow.f64 x 7))) |
(+.f64 x (-.f64 (pow.f64 x 5) (+.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 1 (pow.f64 x 5)) (-.f64 (/.f64 1 x) (/.f64 1 (pow.f64 x 3)))) |
(+.f64 (-.f64 (/.f64 1 x) (/.f64 1 (pow.f64 x 3))) (/.f64 1 (pow.f64 x 5))) |
(+.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 3)) (/.f64 -1 (pow.f64 x 5)))) |
(-.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 (/.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 (pow.f64 x 5)) (-.f64 (-.f64 (/.f64 1 x) (/.f64 1 (pow.f64 x 3))) (/.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 (+.f64 (/.f64 1 x) (+.f64 (/.f64 1 (pow.f64 x 5)) (/.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 (pow.f64 x 5)) (-.f64 (-.f64 (/.f64 1 x) (/.f64 1 (pow.f64 x 7))) (/.f64 1 (pow.f64 x 3)))) |
(/.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 1 (pow.f64 x 5)) (-.f64 (/.f64 1 x) (/.f64 1 (pow.f64 x 3)))) |
(+.f64 (-.f64 (/.f64 1 x) (/.f64 1 (pow.f64 x 3))) (/.f64 1 (pow.f64 x 5))) |
(+.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 3)) (/.f64 -1 (pow.f64 x 5)))) |
(-.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 (/.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 (pow.f64 x 5)) (-.f64 (-.f64 (/.f64 1 x) (/.f64 1 (pow.f64 x 3))) (/.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 (+.f64 (/.f64 1 x) (+.f64 (/.f64 1 (pow.f64 x 5)) (/.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 (pow.f64 x 5)) (-.f64 (-.f64 (/.f64 1 x) (/.f64 1 (pow.f64 x 7))) (/.f64 1 (pow.f64 x 3)))) |
Compiled 5660 to 4169 computations (26.3% saved)
6 alts after pruning (3 fresh and 3 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 404 | 2 | 406 |
| Fresh | 0 | 1 | 1 |
| Picked | 1 | 0 | 1 |
| Done | 2 | 3 | 5 |
| Total | 407 | 6 | 413 |
| Status | Error | Program |
|---|---|---|
| ▶ | 29.6b | (/.f64 1 (/.f64 1 x)) |
| 29.6b | x | |
| ✓ | 33.7b | (-.f64 (/.f64 1 x) (/.f64 1 (*.f64 (*.f64 x x) x))) |
| ✓ | 30.3b | (-.f64 x (*.f64 (*.f64 x x) x)) |
| ✓ | 32.6b | (/.f64 1 x) |
| ▶ | 0.1b | (/.f64 1 (+.f64 (/.f64 1 x) x)) |
Compiled 40 to 27 computations (32.5% saved)
Found 2 expressions with local error:
| New | Error | Program |
|---|---|---|
| ✓ | 0.0b | (+.f64 (/.f64 1 x) x) |
| ✓ | 0.1b | (/.f64 1 (+.f64 (/.f64 1 x) x)) |
Compiled 18 to 12 computations (33.3% saved)
6 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 1.0ms | x | @ | 0 | (/.f64 1 (+.f64 (/.f64 1 x) x)) |
| 1.0ms | x | @ | -inf | (/.f64 1 (+.f64 (/.f64 1 x) x)) |
| 0.0ms | x | @ | inf | (/.f64 1 (+.f64 (/.f64 1 x) x)) |
| 0.0ms | x | @ | inf | (+.f64 (/.f64 1 x) x) |
| 0.0ms | x | @ | -inf | (+.f64 (/.f64 1 x) x) |
| 1× | batch-egg-rewrite |
| 674× | pow1_binary64 |
| 629× | add-log-exp_binary64 |
| 629× | log1p-expm1-u_binary64 |
| 629× | expm1-log1p-u_binary64 |
| 614× | add-exp-log_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 6 | 17 |
| 1 | 133 | 17 |
| 2 | 1833 | 17 |
| 1× | node limit |
| Inputs |
|---|
(/.f64 1 (+.f64 (/.f64 1 x) x)) |
(+.f64 (/.f64 1 x) x) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (/.f64 1 (+.f64 x (/.f64 1 x)))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (/.f64 1 (+.f64 x (/.f64 1 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 1 (+.f64 x (/.f64 1 x))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 1 (cbrt.f64 (+.f64 x (/.f64 1 x)))) (cbrt.f64 (pow.f64 (+.f64 x (/.f64 1 x)) -2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (pow.f64 (+.f64 x (/.f64 1 x)) -2)) (/.f64 1 (cbrt.f64 (+.f64 x (/.f64 1 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (+.f64 x (/.f64 1 x)) -1/2) (pow.f64 (+.f64 x (/.f64 1 x)) -1/2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 -1 (/.f64 1 (neg.f64 (+.f64 x (/.f64 1 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (pow.f64 (cbrt.f64 (+.f64 x (/.f64 1 x))) 2) -1) (pow.f64 (cbrt.f64 (+.f64 x (/.f64 1 x))) -1))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (sqrt.f64 (+.f64 x (/.f64 1 x))) -1) (pow.f64 (sqrt.f64 (+.f64 x (/.f64 1 x))) -1))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 1 (+.f64 (pow.f64 x -3) (pow.f64 x 3))) (+.f64 (pow.f64 x -2) (fma.f64 x x -1)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 1 (-.f64 (pow.f64 x -2) (*.f64 x x))) (-.f64 (/.f64 1 x) x))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (+.f64 x (/.f64 1 x)) -1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 1 (+.f64 x (/.f64 1 x))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (/.f64 1 (+.f64 x (/.f64 1 x))) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 1 (cbrt.f64 (+.f64 x (/.f64 1 x)))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (+.f64 x (/.f64 1 x)) -1/2) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (+.f64 x (/.f64 1 x)) -2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (/.f64 1 (+.f64 x (/.f64 1 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (/.f64 1 (+.f64 x (/.f64 1 x))) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (/.f64 1 (+.f64 x (/.f64 1 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (/.f64 1 (+.f64 x (/.f64 1 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (neg.f64 (log.f64 (+.f64 x (/.f64 1 x))))))))) |
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (+.f64 x (/.f64 1 x))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (/.f64 (pow.f64 x -2) (-.f64 (/.f64 1 x) x)) (/.f64 (*.f64 x x) (-.f64 (/.f64 1 x) x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (+.f64 x (/.f64 1 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 x (/.f64 1 x)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (+.f64 x (/.f64 1 x))) (pow.f64 (cbrt.f64 (+.f64 x (/.f64 1 x))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (+.f64 x (/.f64 1 x))) 2) (cbrt.f64 (+.f64 x (/.f64 1 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (+.f64 x (/.f64 1 x))) (sqrt.f64 (+.f64 x (/.f64 1 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 (pow.f64 x -3) (pow.f64 x 3)) (/.f64 1 (+.f64 (pow.f64 x -2) (fma.f64 x x -1))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (-.f64 (pow.f64 x -2) (*.f64 x x)) (/.f64 1 (-.f64 (/.f64 1 x) x)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 1 (+.f64 x (/.f64 1 x))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (+.f64 (pow.f64 x -2) (fma.f64 x x -1)) (+.f64 (pow.f64 x -3) (pow.f64 x 3))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (-.f64 (/.f64 1 x) x) (-.f64 (pow.f64 x -2) (*.f64 x x))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 x (/.f64 1 x)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (pow.f64 (cbrt.f64 (+.f64 x (/.f64 1 x))) 2) (/.f64 1 (cbrt.f64 (+.f64 x (/.f64 1 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (sqrt.f64 (+.f64 x (/.f64 1 x))) (pow.f64 (+.f64 x (/.f64 1 x)) -1/2))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (+.f64 x (/.f64 1 x))) -1)))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 x -3) (pow.f64 x 3)) (+.f64 (pow.f64 x -2) (fma.f64 x x -1)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 x -3) (pow.f64 x 3)) (+.f64 (*.f64 x x) (-.f64 (pow.f64 x -2) 1)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (pow.f64 x -2) (*.f64 x x)) (-.f64 (/.f64 1 x) x))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (+.f64 (pow.f64 x -3) (pow.f64 x 3))) (neg.f64 (+.f64 (pow.f64 x -2) (fma.f64 x x -1))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (-.f64 (pow.f64 x -2) (*.f64 x x))) (neg.f64 (-.f64 (/.f64 1 x) x)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (*.f64 x x) (pow.f64 x -2)) (-.f64 x (/.f64 1 x)))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (+.f64 x (/.f64 1 x)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (+.f64 x (/.f64 1 x)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (+.f64 x (/.f64 1 x))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (+.f64 x (/.f64 1 x))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (+.f64 x (/.f64 1 x)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (+.f64 x (/.f64 1 x))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (+.f64 x (/.f64 1 x)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (+.f64 x (/.f64 1 x))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (+.f64 x (/.f64 1 x))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (+.f64 x (/.f64 1 x))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 x (/.f64 1 x))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (/.f64 1 x) x)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 x) 2) (cbrt.f64 x) (/.f64 1 x))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (pow.f64 x -2)) (cbrt.f64 (/.f64 1 x)) x)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 x) (sqrt.f64 x) (/.f64 1 x))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 x -1/2) (pow.f64 x -1/2) x))))) |
| 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 | 190 |
| 1 | 75 | 186 |
| 2 | 197 | 186 |
| 3 | 547 | 186 |
| 4 | 1462 | 186 |
| 5 | 4021 | 186 |
| 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)))) |
(/.f64 1 x) |
x |
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)) (+.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))))) |
(/.f64 1 x) |
x |
x |
Found 1 expressions with local error:
| New | Error | Program |
|---|---|---|
| ✓ | 0.2b | (/.f64 1 (/.f64 1 x)) |
Compiled 11 to 8 computations (27.3% saved)
3 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 0.0ms | x | @ | 0 | (/.f64 1 (/.f64 1 x)) |
| 0.0ms | x | @ | inf | (/.f64 1 (/.f64 1 x)) |
| 0.0ms | x | @ | -inf | (/.f64 1 (/.f64 1 x)) |
| 1× | batch-egg-rewrite |
| 348× | pow1_binary64 |
| 336× | add-sqr-sqrt_binary64 |
| 328× | *-un-lft-identity_binary64 |
| 323× | add-log-exp_binary64 |
| 323× | log1p-expm1-u_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 5 | 1 |
| 1 | 105 | 1 |
| 2 | 997 | 1 |
| 1× | node limit |
| Inputs |
|---|
(/.f64 1 (/.f64 1 x)) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x +.f64 0 x)))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (sqrt.f64 (exp.f64 x))) (log.f64 (sqrt.f64 (exp.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (cbrt.f64 (pow.f64 (exp.f64 2) x))) (log.f64 (cbrt.f64 (exp.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 0 x)))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 x) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 x)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 x 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 x) (cbrt.f64 (*.f64 x x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (*.f64 x x)) (cbrt.f64 x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (*.f64 x x)) (neg.f64 (cbrt.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 x) (sqrt.f64 x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 x) (neg.f64 (sqrt.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 -1 x)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 x 1/4) (sqrt.f64 (pow.f64 x 3/2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (neg.f64 (sqrt.f64 x)) (sqrt.f64 x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (neg.f64 (cbrt.f64 (*.f64 x x))) (cbrt.f64 x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (pow.f64 x 5/2)) (pow.f64 x 1/6))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (pow.f64 (*.f64 x (cbrt.f64 x)) 2)) (cbrt.f64 (cbrt.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (pow.f64 (cbrt.f64 x) 5)) (pow.f64 x 1/6))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (pow.f64 x 3/2)) (pow.f64 x 1/4))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 1 1/3) x)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (pow.f64 (*.f64 x (cbrt.f64 x)) 2) 1/3) (cbrt.f64 (cbrt.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (pow.f64 x 5/2) 1/3) (pow.f64 x 1/6))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 x 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 1 x) -1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (E.f64) (log.f64 x))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 x x) 1/2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 x 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 x -2) -1/2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 x -3) -1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 x) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 1 (cbrt.f64 x)) -3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 x) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 x -1/2) -2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 -1) (neg.f64 (log.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 (pow.f64 (cbrt.f64 (log.f64 x)) 2)) (cbrt.f64 (log.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 (sqrt.f64 (log.f64 x))) (sqrt.f64 (log.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x neg.f64 x)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (*.f64 x x))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 x))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 x 3))))) (#(struct:change #<rule egg-rr> (2) ((x . x)))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 x))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 x))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 x))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 3 (log.f64 x)) 1/3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (cbrt.f64 x)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (sqrt.f64 x)) 2)))))) |
| 1× | egg-herbie |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 1 | 12 |
| 1× | saturated |
| Inputs |
|---|
x |
x |
x |
x |
x |
x |
x |
x |
x |
x |
x |
x |
| Outputs |
|---|
x |
x |
x |
x |
x |
x |
x |
x |
x |
x |
x |
x |
Compiled 1185 to 833 computations (29.7% saved)
7 alts after pruning (2 fresh and 5 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 120 | 2 | 122 |
| Fresh | 1 | 0 | 1 |
| Picked | 0 | 1 | 1 |
| Done | 0 | 4 | 4 |
| Total | 121 | 7 | 128 |
| Status | Error | Program |
|---|---|---|
| 59.6b | (-.f64 (+.f64 1 x) 1) | |
| ✓ | 29.6b | (/.f64 1 (/.f64 1 x)) |
| 29.6b | x | |
| ✓ | 33.7b | (-.f64 (/.f64 1 x) (/.f64 1 (*.f64 (*.f64 x x) x))) |
| ✓ | 30.3b | (-.f64 x (*.f64 (*.f64 x x) x)) |
| ✓ | 32.6b | (/.f64 1 x) |
| ✓ | 0.1b | (/.f64 1 (+.f64 (/.f64 1 x) x)) |
Compiled 46 to 32 computations (30.4% saved)
| Inputs |
|---|
x |
x |
x |
(/.f64 1 x) |
(-.f64 (+.f64 1 x) 1) |
(/.f64 1 (/.f64 1 x)) |
(/.f64 1 (+.f64 (/.f64 1 x) x)) |
(-.f64 x (*.f64 (*.f64 x x) x)) |
(/.f64 x (+.f64 (*.f64 x x) 1)) |
(/.f64 1 (/.f64 (+.f64 1 (*.f64 x x)) x)) |
(-.f64 (/.f64 1 x) (/.f64 1 (*.f64 (*.f64 x x) x))) |
(-.f64 x (pow.f64 x 3)) |
(*.f64 (/.f64 1 (fma.f64 x x 1)) x) |
(-.f64 (/.f64 1 x) (/.f64 1 (pow.f64 x 3))) |
(*.f64 (-.f64 (+.f64 1 (/.f64 1 (fma.f64 x x 1))) 1) x) |
(pow.f64 (/.f64 (fma.f64 x x 1) x) -1) |
(*.f64 (/.f64 1 (hypot.f64 1 x)) (/.f64 x (hypot.f64 1 x))) |
| Outputs |
|---|
(*.f64 (/.f64 1 (hypot.f64 1 x)) (/.f64 x (hypot.f64 1 x))) |
2 calls:
| 15.0ms | x |
| 14.0ms | (/.f64 x (+.f64 (*.f64 x x) 1)) |
| Error | Segments | Branch |
|---|---|---|
| 0.0b | 1 | x |
| 0.0b | 1 | (/.f64 x (+.f64 (*.f64 x x) 1)) |
Compiled 121 to 75 computations (38% saved)
| Inputs |
|---|
x |
x |
x |
(/.f64 1 x) |
(-.f64 (+.f64 1 x) 1) |
(/.f64 1 (/.f64 1 x)) |
(/.f64 1 (+.f64 (/.f64 1 x) x)) |
(-.f64 x (*.f64 (*.f64 x x) x)) |
(/.f64 x (+.f64 (*.f64 x x) 1)) |
(/.f64 1 (/.f64 (+.f64 1 (*.f64 x x)) x)) |
(-.f64 (/.f64 1 x) (/.f64 1 (*.f64 (*.f64 x x) x))) |
(-.f64 x (pow.f64 x 3)) |
(*.f64 (/.f64 1 (fma.f64 x x 1)) x) |
(-.f64 (/.f64 1 x) (/.f64 1 (pow.f64 x 3))) |
(*.f64 (-.f64 (+.f64 1 (/.f64 1 (fma.f64 x x 1))) 1) x) |
(pow.f64 (/.f64 (fma.f64 x x 1) x) -1) |
| Outputs |
|---|
(/.f64 1 (+.f64 (/.f64 1 x) x)) |
2 calls:
| 190.0ms | (/.f64 x (+.f64 (*.f64 x x) 1)) |
| 15.0ms | x |
| Error | Segments | Branch |
|---|---|---|
| 0.1b | 1 | x |
| 0.1b | 1 | (/.f64 x (+.f64 (*.f64 x x) 1)) |
Compiled 110 to 67 computations (39.1% saved)
| Inputs |
|---|
x |
x |
x |
(/.f64 1 x) |
(-.f64 (+.f64 1 x) 1) |
(/.f64 1 (/.f64 1 x)) |
| Outputs |
|---|
(/.f64 1 x) |
x |
(/.f64 1 x) |
1 calls:
| 153.0ms | x |
| Error | Segments | Branch |
|---|---|---|
| 0.9b | 3 | x |
Compiled 19 to 12 computations (36.8% saved)
| 2× | binary-search |
| Time | Left | Right |
|---|---|---|
| 23.0ms | 0.13137983386600421 | 4.597083892091637 |
| 43.0ms | -59635613030762.45 | -5.203651412372695e-5 |
Compiled 12 to 8 computations (33.3% saved)
Total 0.0b remaining (0%)
Threshold costs 0.0b (0%)
| Inputs |
|---|
x |
x |
x |
| Outputs |
|---|
x |
1 calls:
| 6.0ms | x |
| Error | Segments | Branch |
|---|---|---|
| 29.6b | 1 | x |
Compiled 6 to 2 computations (66.7% saved)
| 1× | egg-herbie |
| 1× | +-commutative_binary64 |
| 1× | *-commutative_binary64 |
| 1× | 1-exp_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 17 | 48 |
| 1 | 21 | 48 |
| 1× | fuel |
| 1× | saturated |
| Inputs |
|---|
(*.f64 (/.f64 1 (hypot.f64 1 x)) (/.f64 x (hypot.f64 1 x))) |
(/.f64 1 (+.f64 (/.f64 1 x) x)) |
(if (<=.f64 x -3816679233968797/64) (/.f64 1 x) (if (<=.f64 x 2366728683371737/18014398509481984) x (/.f64 1 x))) |
x |
| Outputs |
|---|
(*.f64 (/.f64 1 (hypot.f64 1 x)) (/.f64 x (hypot.f64 1 x))) |
(/.f64 1 (+.f64 (/.f64 1 x) x)) |
(/.f64 1 (+.f64 x (/.f64 1 x))) |
(if (<=.f64 x -3816679233968797/64) (/.f64 1 x) (if (<=.f64 x 2366728683371737/18014398509481984) x (/.f64 1 x))) |
x |
Compiled 38 to 27 computations (28.9% saved)
Compiled 35 to 24 computations (31.4% saved)
Loading profile data...