Time bar (total: 5.5s)
| 1× | search |
| True | Other | False | Iter |
|---|---|---|---|
| 0% | 100% | 0% | 0 |
| 0% | 100% | 0% | 1 |
| 0% | 100% | 0% | 2 |
| 50% | 50% | 0% | 3 |
| 75% | 25% | 0% | 4 |
| 87.5% | 12.5% | 0% | 5 |
| 93.7% | 6.2% | 0% | 6 |
| 96.8% | 3.1% | 0% | 7 |
| 98.4% | 1.6% | 0% | 8 |
| 99.2% | 0.8% | 0% | 9 |
| 99.6% | 0.4% | 0% | 10 |
| 99.8% | 0.2% | 0% | 11 |
| 99.9% | 0.1% | 0% | 12 |
Compiled 8 to 6 computations (25% saved)
| 1.4s | 8256× | body | 256 | valid |
| 0.0ms | 3× | body | 256 | invalid |
| 2× | egg-herbie |
| 3× | *-commutative_binary64 |
| 1× | associate-*r*_binary64 |
| 1× | associate-*l*_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 6 | 9 |
| 1 | 9 | 9 |
| 2 | 12 | 9 |
| 0 | 1 | 1 |
| 1× | saturated |
| 1× | saturated |
| Inputs |
|---|
0 |
| Outputs |
|---|
0 |
| Inputs |
|---|
(sqrt.f64 (*.f64 2 (*.f64 x x))) |
| Outputs |
|---|
(sqrt.f64 (*.f64 2 (*.f64 x x))) |
Compiled 8 to 6 computations (25% saved)
| 1× | egg-herbie |
| 3× | *-commutative_binary64 |
| 1× | associate-*r*_binary64 |
| 1× | associate-*l*_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 6 | 9 |
| 1 | 9 | 9 |
| 2 | 12 | 9 |
| 1× | saturated |
| Inputs |
|---|
(sqrt.f64 (*.f64 2 (*.f64 x x))) |
| Outputs |
|---|
(sqrt.f64 (*.f64 2 (*.f64 x x))) |
Compiled 7 to 5 computations (28.6% saved)
2 alts after pruning (2 fresh and 0 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 0 | 1 | 1 |
| Fresh | 0 | 1 | 1 |
| Picked | 0 | 0 | 0 |
| Done | 0 | 0 | 0 |
| Total | 0 | 2 | 2 |
| Status | Error | Program |
|---|---|---|
| ▶ | 27.2b | (sqrt.f64 (*.f64 2 (*.f64 x x))) |
Compiled 7 to 5 computations (28.6% saved)
Found 2 expressions with local error:
| New | Error | Program |
|---|---|---|
| ✓ | 0.0b | (*.f64 2 (*.f64 x x)) |
| ✓ | 26.3b | (sqrt.f64 (*.f64 2 (*.f64 x x))) |
Compiled 17 to 8 computations (52.9% saved)
6 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 2.0ms | x | @ | 0 | (sqrt.f64 (*.f64 2 (*.f64 x x))) |
| 1.0ms | x | @ | inf | (sqrt.f64 (*.f64 2 (*.f64 x x))) |
| 1.0ms | x | @ | 0 | (*.f64 2 (*.f64 x x)) |
| 1.0ms | x | @ | -inf | (*.f64 2 (*.f64 x x)) |
| 1.0ms | x | @ | inf | (*.f64 2 (*.f64 x x)) |
| 1× | batch-egg-rewrite |
| 503× | pow1_binary64 |
| 486× | add-sqr-sqrt_binary64 |
| 466× | add-log-exp_binary64 |
| 466× | log1p-expm1-u_binary64 |
| 466× | expm1-log1p-u_binary64 |
Useful iterations: 1 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 6 | 16 |
| 1 | 122 | 13 |
| 2 | 1367 | 13 |
| 1× | node limit |
| Inputs |
|---|
(sqrt.f64 (*.f64 2 (*.f64 x x))) |
(*.f64 2 (*.f64 x x)) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (*.f64 x (sqrt.f64 2))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 x (sqrt.f64 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 x (sqrt.f64 2)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (*.f64 x (sqrt.f64 2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (*.f64 x (sqrt.f64 2))) (cbrt.f64 (*.f64 2 (*.f64 x x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (*.f64 2 (*.f64 x x))) (cbrt.f64 (*.f64 x (sqrt.f64 2))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (*.f64 x (sqrt.f64 2))) (sqrt.f64 (*.f64 x (sqrt.f64 2))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 2) x)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (*.f64 2 x)) (sqrt.f64 x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (cbrt.f64 (*.f64 4 (pow.f64 x 4)))) (sqrt.f64 (cbrt.f64 (*.f64 2 (*.f64 x x)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 1 1/2) (*.f64 x (sqrt.f64 2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (*.f64 4 (pow.f64 x 4))) 1/2) (pow.f64 (cbrt.f64 (*.f64 2 (*.f64 x x))) 1/2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (*.f64 2 x) 1/2) (sqrt.f64 x))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 2 (*.f64 x x)) 1/2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 x (sqrt.f64 2)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 x (sqrt.f64 2)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (*.f64 x (sqrt.f64 2))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (*.f64 x (sqrt.f64 2))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x fabs.f64 (*.f64 x (sqrt.f64 2)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (pow.f64 (exp.f64 (sqrt.f64 2)) x))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (*.f64 x (sqrt.f64 2)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 x (sqrt.f64 2))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 x (sqrt.f64 2))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (*.f64 x (sqrt.f64 2)))))))) |
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (*.f64 2 (*.f64 x x))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 2 (*.f64 x x)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 x (sqrt.f64 2)) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 4 (pow.f64 x 4)) 1/2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 2 (*.f64 x x)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (*.f64 2 (*.f64 x x))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (*.f64 4 (pow.f64 x 4)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (pow.f64 (exp.f64 2) (*.f64 x x)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (*.f64 2 (*.f64 x x)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 2 (*.f64 x x))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 2 (*.f64 x x))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (*.f64 2 (*.f64 x x)))))))) |
| 1× | egg-herbie |
| 964× | fma-def_binary64 |
| 402× | distribute-rgt-neg-out_binary64 |
| 365× | fma-neg_binary64 |
| 337× | distribute-rgt-neg-in_binary64 |
| 318× | fabs-mul_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 9 | 164 |
| 1 | 20 | 164 |
| 2 | 43 | 164 |
| 3 | 83 | 164 |
| 4 | 205 | 164 |
| 5 | 632 | 164 |
| 6 | 988 | 164 |
| 7 | 1635 | 164 |
| 8 | 2038 | 164 |
| 9 | 2907 | 164 |
| 10 | 3744 | 164 |
| 11 | 4611 | 164 |
| 12 | 5738 | 164 |
| 1× | node limit |
| Inputs |
|---|
(*.f64 (sqrt.f64 2) x) |
(*.f64 (sqrt.f64 2) x) |
(*.f64 (sqrt.f64 2) x) |
(*.f64 (sqrt.f64 2) x) |
(*.f64 (sqrt.f64 2) x) |
(*.f64 (sqrt.f64 2) x) |
(*.f64 (sqrt.f64 2) x) |
(*.f64 (sqrt.f64 2) x) |
(*.f64 -1 (*.f64 (sqrt.f64 2) x)) |
(*.f64 -1 (*.f64 (sqrt.f64 2) x)) |
(*.f64 -1 (*.f64 (sqrt.f64 2) x)) |
(*.f64 -1 (*.f64 (sqrt.f64 2) x)) |
(*.f64 2 (pow.f64 x 2)) |
(*.f64 2 (pow.f64 x 2)) |
(*.f64 2 (pow.f64 x 2)) |
(*.f64 2 (pow.f64 x 2)) |
(*.f64 2 (pow.f64 x 2)) |
(*.f64 2 (pow.f64 x 2)) |
(*.f64 2 (pow.f64 x 2)) |
(*.f64 2 (pow.f64 x 2)) |
(*.f64 2 (pow.f64 x 2)) |
(*.f64 2 (pow.f64 x 2)) |
(*.f64 2 (pow.f64 x 2)) |
(*.f64 2 (pow.f64 x 2)) |
| Outputs |
|---|
(*.f64 (sqrt.f64 2) x) |
(*.f64 (sqrt.f64 2) x) |
(*.f64 (sqrt.f64 2) x) |
(*.f64 (sqrt.f64 2) x) |
(*.f64 (sqrt.f64 2) x) |
(*.f64 (sqrt.f64 2) x) |
(*.f64 (sqrt.f64 2) x) |
(*.f64 (sqrt.f64 2) x) |
(*.f64 -1 (*.f64 (sqrt.f64 2) x)) |
(neg.f64 (*.f64 (sqrt.f64 2) x)) |
(*.f64 (sqrt.f64 2) (neg.f64 x)) |
(*.f64 x (neg.f64 (sqrt.f64 2))) |
(*.f64 -1 (*.f64 (sqrt.f64 2) x)) |
(neg.f64 (*.f64 (sqrt.f64 2) x)) |
(*.f64 (sqrt.f64 2) (neg.f64 x)) |
(*.f64 x (neg.f64 (sqrt.f64 2))) |
(*.f64 -1 (*.f64 (sqrt.f64 2) x)) |
(neg.f64 (*.f64 (sqrt.f64 2) x)) |
(*.f64 (sqrt.f64 2) (neg.f64 x)) |
(*.f64 x (neg.f64 (sqrt.f64 2))) |
(*.f64 -1 (*.f64 (sqrt.f64 2) x)) |
(neg.f64 (*.f64 (sqrt.f64 2) x)) |
(*.f64 (sqrt.f64 2) (neg.f64 x)) |
(*.f64 x (neg.f64 (sqrt.f64 2))) |
(*.f64 2 (pow.f64 x 2)) |
(*.f64 2 (*.f64 x x)) |
(*.f64 2 (pow.f64 x 2)) |
(*.f64 2 (*.f64 x x)) |
(*.f64 2 (pow.f64 x 2)) |
(*.f64 2 (*.f64 x x)) |
(*.f64 2 (pow.f64 x 2)) |
(*.f64 2 (*.f64 x x)) |
(*.f64 2 (pow.f64 x 2)) |
(*.f64 2 (*.f64 x x)) |
(*.f64 2 (pow.f64 x 2)) |
(*.f64 2 (*.f64 x x)) |
(*.f64 2 (pow.f64 x 2)) |
(*.f64 2 (*.f64 x x)) |
(*.f64 2 (pow.f64 x 2)) |
(*.f64 2 (*.f64 x x)) |
(*.f64 2 (pow.f64 x 2)) |
(*.f64 2 (*.f64 x x)) |
(*.f64 2 (pow.f64 x 2)) |
(*.f64 2 (*.f64 x x)) |
(*.f64 2 (pow.f64 x 2)) |
(*.f64 2 (*.f64 x x)) |
(*.f64 2 (pow.f64 x 2)) |
(*.f64 2 (*.f64 x x)) |
Compiled 313 to 236 computations (24.6% saved)
10 alts after pruning (9 fresh and 1 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 31 | 9 | 40 |
| Fresh | 0 | 0 | 0 |
| Picked | 0 | 1 | 1 |
| Done | 0 | 0 | 0 |
| Total | 31 | 10 | 41 |
| Status | Error | Program |
|---|---|---|
| 50.5b | (sqrt.f64 (cbrt.f64 (pow.f64 (*.f64 2 (*.f64 x x)) 3))) | |
| 37.3b | (pow.f64 (cbrt.f64 (*.f64 x (sqrt.f64 2))) 3) | |
| ✓ | 27.2b | (sqrt.f64 (*.f64 2 (*.f64 x x))) |
| ▶ | 44.6b | (sqrt.f64 (sqrt.f64 (*.f64 4 (pow.f64 x 4)))) |
| ▶ | 26.2b | (*.f64 x (neg.f64 (sqrt.f64 2))) |
| ▶ | 37.8b | (pow.f64 (sqrt.f64 (*.f64 x (sqrt.f64 2))) 2) |
| ▶ | 27.6b | (sqrt.f64 (pow.f64 (cbrt.f64 (*.f64 2 (*.f64 x x))) 3)) |
| ▶ | 36.8b | (*.f64 (sqrt.f64 2) x) |
| 44.7b | (*.f64 (sqrt.f64 (cbrt.f64 (*.f64 4 (pow.f64 x 4)))) (sqrt.f64 (cbrt.f64 (*.f64 2 (*.f64 x x))))) | |
| 37.6b | (*.f64 (sqrt.f64 (*.f64 2 x)) (sqrt.f64 x)) |
Compiled 165 to 135 computations (18.2% saved)
Found 1 expressions with local error:
| New | Error | Program |
|---|---|---|
| ✓ | 0.5b | (*.f64 x (neg.f64 (sqrt.f64 2))) |
Compiled 13 to 11 computations (15.4% saved)
3 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 1.0ms | x | @ | 0 | (*.f64 x (neg.f64 (sqrt.f64 2))) |
| 0.0ms | x | @ | inf | (*.f64 x (neg.f64 (sqrt.f64 2))) |
| 0.0ms | x | @ | -inf | (*.f64 x (neg.f64 (sqrt.f64 2))) |
| 1× | egg-rewrite-iter-limit |
| 1× | batch-egg-rewrite |
| 61× | add-sqr-sqrt_binary64 |
| 57× | add-exp-log_binary64 |
| 57× | add-log-exp_binary64 |
| 57× | log1p-expm1-u_binary64 |
| 57× | expm1-log1p-u_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 6 | 8 |
| 1 | 125 | 8 |
| 2 | 1470 | 8 |
| 0 | 6 | 8 |
| 1× | iter limit |
| 1× | unsound |
| Inputs |
|---|
(*.f64 x (neg.f64 (sqrt.f64 2))) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 x (neg.f64 (sqrt.f64 2))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x neg.f64 (*.f64 x (sqrt.f64 2)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (*.f64 x (neg.f64 (sqrt.f64 2)))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (*.f64 (*.f64 (*.f64 x (neg.f64 (sqrt.f64 2))) (*.f64 x (neg.f64 (sqrt.f64 2)))) (*.f64 x (neg.f64 (sqrt.f64 2)))))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 x (neg.f64 (sqrt.f64 2)))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 x (neg.f64 (sqrt.f64 2)))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (*.f64 x (neg.f64 (sqrt.f64 2))))))))) |
| 1× | egg-herbie |
| 38× | fma-def_binary64 |
| 9× | sub-neg_binary64 |
| 6× | +-commutative_binary64 |
| 4× | *-commutative_binary64 |
| 4× | distribute-lft-in_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 7 | 96 |
| 1 | 12 | 96 |
| 2 | 25 | 96 |
| 3 | 29 | 96 |
| 4 | 33 | 96 |
| 5 | 51 | 96 |
| 6 | 73 | 96 |
| 7 | 84 | 96 |
| 8 | 96 | 96 |
| 9 | 121 | 96 |
| 1× | saturated |
| Inputs |
|---|
(*.f64 -1 (*.f64 (sqrt.f64 2) x)) |
(*.f64 -1 (*.f64 (sqrt.f64 2) x)) |
(*.f64 -1 (*.f64 (sqrt.f64 2) x)) |
(*.f64 -1 (*.f64 (sqrt.f64 2) x)) |
(*.f64 -1 (*.f64 (sqrt.f64 2) x)) |
(*.f64 -1 (*.f64 (sqrt.f64 2) x)) |
(*.f64 -1 (*.f64 (sqrt.f64 2) x)) |
(*.f64 -1 (*.f64 (sqrt.f64 2) x)) |
(*.f64 -1 (*.f64 (sqrt.f64 2) x)) |
(*.f64 -1 (*.f64 (sqrt.f64 2) x)) |
(*.f64 -1 (*.f64 (sqrt.f64 2) x)) |
(*.f64 -1 (*.f64 (sqrt.f64 2) x)) |
| Outputs |
|---|
(*.f64 -1 (*.f64 (sqrt.f64 2) x)) |
(neg.f64 (*.f64 (sqrt.f64 2) x)) |
(*.f64 (sqrt.f64 2) (neg.f64 x)) |
(*.f64 -1 (*.f64 (sqrt.f64 2) x)) |
(neg.f64 (*.f64 (sqrt.f64 2) x)) |
(*.f64 (sqrt.f64 2) (neg.f64 x)) |
(*.f64 -1 (*.f64 (sqrt.f64 2) x)) |
(neg.f64 (*.f64 (sqrt.f64 2) x)) |
(*.f64 (sqrt.f64 2) (neg.f64 x)) |
(*.f64 -1 (*.f64 (sqrt.f64 2) x)) |
(neg.f64 (*.f64 (sqrt.f64 2) x)) |
(*.f64 (sqrt.f64 2) (neg.f64 x)) |
(*.f64 -1 (*.f64 (sqrt.f64 2) x)) |
(neg.f64 (*.f64 (sqrt.f64 2) x)) |
(*.f64 (sqrt.f64 2) (neg.f64 x)) |
(*.f64 -1 (*.f64 (sqrt.f64 2) x)) |
(neg.f64 (*.f64 (sqrt.f64 2) x)) |
(*.f64 (sqrt.f64 2) (neg.f64 x)) |
(*.f64 -1 (*.f64 (sqrt.f64 2) x)) |
(neg.f64 (*.f64 (sqrt.f64 2) x)) |
(*.f64 (sqrt.f64 2) (neg.f64 x)) |
(*.f64 -1 (*.f64 (sqrt.f64 2) x)) |
(neg.f64 (*.f64 (sqrt.f64 2) x)) |
(*.f64 (sqrt.f64 2) (neg.f64 x)) |
(*.f64 -1 (*.f64 (sqrt.f64 2) x)) |
(neg.f64 (*.f64 (sqrt.f64 2) x)) |
(*.f64 (sqrt.f64 2) (neg.f64 x)) |
(*.f64 -1 (*.f64 (sqrt.f64 2) x)) |
(neg.f64 (*.f64 (sqrt.f64 2) x)) |
(*.f64 (sqrt.f64 2) (neg.f64 x)) |
(*.f64 -1 (*.f64 (sqrt.f64 2) x)) |
(neg.f64 (*.f64 (sqrt.f64 2) x)) |
(*.f64 (sqrt.f64 2) (neg.f64 x)) |
(*.f64 -1 (*.f64 (sqrt.f64 2) x)) |
(neg.f64 (*.f64 (sqrt.f64 2) x)) |
(*.f64 (sqrt.f64 2) (neg.f64 x)) |
Found 1 expressions with local error:
| New | Error | Program |
|---|---|---|
| ✓ | 0.5b | (*.f64 (sqrt.f64 2) x) |
Compiled 9 to 7 computations (22.2% saved)
3 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 0.0ms | x | @ | 0 | (*.f64 (sqrt.f64 2) x) |
| 0.0ms | x | @ | inf | (*.f64 (sqrt.f64 2) x) |
| 0.0ms | x | @ | -inf | (*.f64 (sqrt.f64 2) x) |
| 1× | batch-egg-rewrite |
| 417× | pow1_binary64 |
| 403× | add-sqr-sqrt_binary64 |
| 395× | *-un-lft-identity_binary64 |
| 386× | add-log-exp_binary64 |
| 386× | log1p-expm1-u_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 5 | 6 |
| 1 | 100 | 6 |
| 2 | 1075 | 6 |
| 1× | node limit |
| Inputs |
|---|
(*.f64 (sqrt.f64 2) x) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x +.f64 0 (*.f64 (sqrt.f64 2) x))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (sqrt.f64 (pow.f64 (exp.f64 (sqrt.f64 2)) x))) (log.f64 (sqrt.f64 (pow.f64 (exp.f64 (sqrt.f64 2)) x))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (pow.f64 (cbrt.f64 (pow.f64 (exp.f64 (sqrt.f64 2)) x)) 2)) (log.f64 (cbrt.f64 (pow.f64 (exp.f64 (sqrt.f64 2)) x))))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (*.f64 (sqrt.f64 2) x)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 (sqrt.f64 2) x) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 2 (*.f64 x x)) 1/2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 (sqrt.f64 2) x) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (*.f64 (sqrt.f64 2) x)) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (*.f64 (sqrt.f64 2) x)) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (*.f64 2 (*.f64 x x)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (pow.f64 (exp.f64 (sqrt.f64 2)) x))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (*.f64 (sqrt.f64 2) x) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 (sqrt.f64 2) x)))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 (sqrt.f64 2) x)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (*.f64 (sqrt.f64 2) x))))))) |
| 1× | egg-herbie |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 0 | 0 |
| 1× | saturated |
| Inputs |
|---|
| Outputs |
|---|
Found 3 expressions with local error:
| New | Error | Program |
|---|---|---|
| ✓ | 0.0b | (*.f64 4 (pow.f64 x 4)) |
| ✓ | 16.4b | (sqrt.f64 (*.f64 4 (pow.f64 x 4))) |
| ✓ | 26.3b | (sqrt.f64 (sqrt.f64 (*.f64 4 (pow.f64 x 4)))) |
Compiled 24 to 19 computations (20.8% saved)
9 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 1.0ms | x | @ | 0 | (*.f64 4 (pow.f64 x 4)) |
| 0.0ms | x | @ | inf | (*.f64 4 (pow.f64 x 4)) |
| 0.0ms | x | @ | 0 | (sqrt.f64 (sqrt.f64 (*.f64 4 (pow.f64 x 4)))) |
| 0.0ms | x | @ | -inf | (*.f64 4 (pow.f64 x 4)) |
| 0.0ms | x | @ | inf | (sqrt.f64 (sqrt.f64 (*.f64 4 (pow.f64 x 4)))) |
| 1× | batch-egg-rewrite |
| 572× | pow1_binary64 |
| 531× | add-log-exp_binary64 |
| 531× | log1p-expm1-u_binary64 |
| 531× | expm1-log1p-u_binary64 |
| 515× | add-exp-log_binary64 |
Useful iterations: 1 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 7 | 27 |
| 1 | 145 | 20 |
| 2 | 1583 | 20 |
| 1× | node limit |
| Inputs |
|---|
(sqrt.f64 (sqrt.f64 (*.f64 4 (pow.f64 x 4)))) |
(sqrt.f64 (*.f64 4 (pow.f64 x 4))) |
(*.f64 4 (pow.f64 x 4)) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (*.f64 (sqrt.f64 2) x)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (sqrt.f64 2) x) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (*.f64 (sqrt.f64 2) x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (*.f64 (*.f64 x x) 2)) (cbrt.f64 (*.f64 (sqrt.f64 2) x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (*.f64 (sqrt.f64 2) x)) (cbrt.f64 (*.f64 (*.f64 x x) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (*.f64 (sqrt.f64 2) x)) (sqrt.f64 (*.f64 (sqrt.f64 2) x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (cbrt.f64 (*.f64 4 (pow.f64 x 4)))) (sqrt.f64 (cbrt.f64 (*.f64 (*.f64 x x) 2))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 2) x)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 1 1/2) (*.f64 (sqrt.f64 2) x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (*.f64 4 (pow.f64 x 4))) 1/2) (pow.f64 (cbrt.f64 (*.f64 (*.f64 x x) 2)) 1/2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 2 1/2) (pow.f64 (*.f64 x x) 1/2))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 4 (pow.f64 x 4)) 1/4)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 (*.f64 x x) 2) 1/2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 (sqrt.f64 2) x) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 (sqrt.f64 2) x) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (*.f64 (sqrt.f64 2) x)) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (*.f64 (sqrt.f64 2) x)) 2)))) (#(struct:change #<rule egg-rr> (2) ((x fabs.f64 (*.f64 (sqrt.f64 2) x))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (*.f64 (sqrt.f64 2) x)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (*.f64 (sqrt.f64 2) x) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 (sqrt.f64 2) x)))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 (sqrt.f64 2) x)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (*.f64 (sqrt.f64 2) x))))))) |
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (*.f64 (*.f64 x x) 2)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (*.f64 x x) 2) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (sqrt.f64 2) x) (*.f64 (sqrt.f64 2) x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (*.f64 (*.f64 x x) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 x x) 2)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 x x) (pow.f64 4 1/2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (*.f64 (*.f64 x x) 2)) (cbrt.f64 (*.f64 4 (pow.f64 x 4))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (*.f64 (*.f64 x x) 2)) (*.f64 (cbrt.f64 (*.f64 (sqrt.f64 2) x)) (*.f64 (sqrt.f64 2) x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (*.f64 4 (pow.f64 x 4))) (cbrt.f64 (*.f64 (*.f64 x x) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 2 (*.f64 x x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (*.f64 (sqrt.f64 2) x)) (*.f64 (sqrt.f64 (*.f64 (sqrt.f64 2) x)) (*.f64 (sqrt.f64 2) x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (*.f64 (sqrt.f64 2) x) (sqrt.f64 (*.f64 (sqrt.f64 2) x))) (sqrt.f64 (*.f64 (sqrt.f64 2) x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (cbrt.f64 (*.f64 16 (pow.f64 x 8)))) (sqrt.f64 (cbrt.f64 (*.f64 4 (pow.f64 x 4)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 4 1/2) (*.f64 x x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 1 1/2) (*.f64 (*.f64 x x) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (*.f64 16 (pow.f64 x 8))) 1/2) (pow.f64 (cbrt.f64 (*.f64 4 (pow.f64 x 4))) 1/2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (*.f64 (sqrt.f64 2) x) (cbrt.f64 (*.f64 (*.f64 x x) 2))) (cbrt.f64 (*.f64 (sqrt.f64 2) x)))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 4 (pow.f64 x 4)) 1/2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 (*.f64 x x) 2) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 (sqrt.f64 2) x) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 4 (pow.f64 x 4)) 3/2) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (*.f64 (*.f64 x x) 2)) 3)))) (#(struct:change #<rule egg-rr> (2) ((x fabs.f64 (*.f64 (*.f64 x x) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (pow.f64 (exp.f64 2) (*.f64 x x)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (*.f64 4 (pow.f64 x 4)) 3/2))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 (*.f64 x x) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 (*.f64 x x) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (*.f64 (*.f64 x x) 2))))))) |
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (*.f64 4 (pow.f64 x 4))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 4 (pow.f64 x 4)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 (*.f64 x x) 2) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 16 (pow.f64 x 8)) 1/2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 4 (pow.f64 x 4)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (*.f64 4 (pow.f64 x 4))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (*.f64 16 (pow.f64 x 8)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (pow.f64 (exp.f64 4) (pow.f64 x 4)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (*.f64 4 (pow.f64 x 4)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 4 (pow.f64 x 4))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 4 (pow.f64 x 4))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (*.f64 4 (pow.f64 x 4)))))))) |
| 1× | egg-herbie |
| 964× | fma-def_binary64 |
| 402× | distribute-rgt-neg-out_binary64 |
| 365× | fma-neg_binary64 |
| 337× | distribute-rgt-neg-in_binary64 |
| 318× | fabs-mul_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 9 | 164 |
| 1 | 20 | 164 |
| 2 | 43 | 164 |
| 3 | 83 | 164 |
| 4 | 205 | 164 |
| 5 | 632 | 164 |
| 6 | 988 | 164 |
| 7 | 1635 | 164 |
| 8 | 2038 | 164 |
| 9 | 2907 | 164 |
| 10 | 3744 | 164 |
| 11 | 4611 | 164 |
| 12 | 5738 | 164 |
| 1× | node limit |
| Inputs |
|---|
(*.f64 (sqrt.f64 2) x) |
(*.f64 (sqrt.f64 2) x) |
(*.f64 (sqrt.f64 2) x) |
(*.f64 (sqrt.f64 2) x) |
(*.f64 (sqrt.f64 2) x) |
(*.f64 (sqrt.f64 2) x) |
(*.f64 (sqrt.f64 2) x) |
(*.f64 (sqrt.f64 2) x) |
(*.f64 -1 (*.f64 (sqrt.f64 2) x)) |
(*.f64 -1 (*.f64 (sqrt.f64 2) x)) |
(*.f64 -1 (*.f64 (sqrt.f64 2) x)) |
(*.f64 -1 (*.f64 (sqrt.f64 2) x)) |
(*.f64 2 (pow.f64 x 2)) |
(*.f64 2 (pow.f64 x 2)) |
(*.f64 2 (pow.f64 x 2)) |
(*.f64 2 (pow.f64 x 2)) |
(*.f64 2 (pow.f64 x 2)) |
(*.f64 2 (pow.f64 x 2)) |
(*.f64 2 (pow.f64 x 2)) |
(*.f64 2 (pow.f64 x 2)) |
(*.f64 2 (pow.f64 x 2)) |
(*.f64 2 (pow.f64 x 2)) |
(*.f64 2 (pow.f64 x 2)) |
(*.f64 2 (pow.f64 x 2)) |
| Outputs |
|---|
(*.f64 (sqrt.f64 2) x) |
(*.f64 (sqrt.f64 2) x) |
(*.f64 (sqrt.f64 2) x) |
(*.f64 (sqrt.f64 2) x) |
(*.f64 (sqrt.f64 2) x) |
(*.f64 (sqrt.f64 2) x) |
(*.f64 (sqrt.f64 2) x) |
(*.f64 (sqrt.f64 2) x) |
(*.f64 -1 (*.f64 (sqrt.f64 2) x)) |
(neg.f64 (*.f64 (sqrt.f64 2) x)) |
(*.f64 (sqrt.f64 2) (neg.f64 x)) |
(*.f64 x (neg.f64 (sqrt.f64 2))) |
(*.f64 -1 (*.f64 (sqrt.f64 2) x)) |
(neg.f64 (*.f64 (sqrt.f64 2) x)) |
(*.f64 (sqrt.f64 2) (neg.f64 x)) |
(*.f64 x (neg.f64 (sqrt.f64 2))) |
(*.f64 -1 (*.f64 (sqrt.f64 2) x)) |
(neg.f64 (*.f64 (sqrt.f64 2) x)) |
(*.f64 (sqrt.f64 2) (neg.f64 x)) |
(*.f64 x (neg.f64 (sqrt.f64 2))) |
(*.f64 -1 (*.f64 (sqrt.f64 2) x)) |
(neg.f64 (*.f64 (sqrt.f64 2) x)) |
(*.f64 (sqrt.f64 2) (neg.f64 x)) |
(*.f64 x (neg.f64 (sqrt.f64 2))) |
(*.f64 2 (pow.f64 x 2)) |
(*.f64 2 (*.f64 x x)) |
(*.f64 2 (pow.f64 x 2)) |
(*.f64 2 (*.f64 x x)) |
(*.f64 2 (pow.f64 x 2)) |
(*.f64 2 (*.f64 x x)) |
(*.f64 2 (pow.f64 x 2)) |
(*.f64 2 (*.f64 x x)) |
(*.f64 2 (pow.f64 x 2)) |
(*.f64 2 (*.f64 x x)) |
(*.f64 2 (pow.f64 x 2)) |
(*.f64 2 (*.f64 x x)) |
(*.f64 2 (pow.f64 x 2)) |
(*.f64 2 (*.f64 x x)) |
(*.f64 2 (pow.f64 x 2)) |
(*.f64 2 (*.f64 x x)) |
(*.f64 2 (pow.f64 x 2)) |
(*.f64 2 (*.f64 x x)) |
(*.f64 2 (pow.f64 x 2)) |
(*.f64 2 (*.f64 x x)) |
(*.f64 2 (pow.f64 x 2)) |
(*.f64 2 (*.f64 x x)) |
(*.f64 2 (pow.f64 x 2)) |
(*.f64 2 (*.f64 x x)) |
Found 3 expressions with local error:
| New | Error | Program |
|---|---|---|
| ✓ | 0.1b | (sqrt.f64 (*.f64 x (sqrt.f64 2))) |
| ✓ | 0.2b | (pow.f64 (sqrt.f64 (*.f64 x (sqrt.f64 2))) 2) |
| ✓ | 0.5b | (*.f64 x (sqrt.f64 2)) |
Compiled 21 to 17 computations (19% saved)
9 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 3.0ms | x | @ | -inf | (pow.f64 (sqrt.f64 (*.f64 x (sqrt.f64 2))) 2) |
| 1.0ms | x | @ | inf | (pow.f64 (sqrt.f64 (*.f64 x (sqrt.f64 2))) 2) |
| 1.0ms | x | @ | 0 | (pow.f64 (sqrt.f64 (*.f64 x (sqrt.f64 2))) 2) |
| 1.0ms | x | @ | inf | (sqrt.f64 (*.f64 x (sqrt.f64 2))) |
| 1.0ms | x | @ | -inf | (sqrt.f64 (*.f64 x (sqrt.f64 2))) |
| 1× | batch-egg-rewrite |
| 490× | pow1_binary64 |
| 471× | add-sqr-sqrt_binary64 |
| 462× | *-un-lft-identity_binary64 |
| 454× | add-log-exp_binary64 |
| 454× | log1p-expm1-u_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 7 | 20 |
| 1 | 144 | 20 |
| 2 | 1322 | 20 |
| 1× | node limit |
| Inputs |
|---|
(*.f64 x (sqrt.f64 2)) |
(pow.f64 (sqrt.f64 (*.f64 x (sqrt.f64 2))) 2) |
(sqrt.f64 (*.f64 x (sqrt.f64 2))) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (*.f64 x (sqrt.f64 2))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 x (sqrt.f64 2)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (*.f64 x (sqrt.f64 2))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 2 (*.f64 x x)) 1/2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 x (sqrt.f64 2)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (*.f64 x (sqrt.f64 2))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (*.f64 2 (*.f64 x x)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (pow.f64 (exp.f64 x) (sqrt.f64 2)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (*.f64 x (sqrt.f64 2)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 x (sqrt.f64 2))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 x (sqrt.f64 2))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (*.f64 x (sqrt.f64 2)))))))) |
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (*.f64 x (sqrt.f64 2))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 x (sqrt.f64 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 2) x)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 x (sqrt.f64 2)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (*.f64 x (sqrt.f64 2))) (sqrt.f64 (*.f64 x (sqrt.f64 2))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (*.f64 x (sqrt.f64 2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (*.f64 x (sqrt.f64 2))) (cbrt.f64 (*.f64 2 (*.f64 x x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (*.f64 x (sqrt.f64 2))) (*.f64 (cbrt.f64 (sqrt.f64 (*.f64 x (sqrt.f64 2)))) (sqrt.f64 (*.f64 x (sqrt.f64 2)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (*.f64 2 (*.f64 x x))) (cbrt.f64 (*.f64 x (sqrt.f64 2))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 x) 2) (*.f64 (cbrt.f64 x) (sqrt.f64 2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 2) (*.f64 (cbrt.f64 (sqrt.f64 2)) x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (*.f64 x (sqrt.f64 2)) 1/4) (*.f64 (pow.f64 (*.f64 x (sqrt.f64 2)) 1/4) (sqrt.f64 (*.f64 x (sqrt.f64 2)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 x) (*.f64 (sqrt.f64 x) (sqrt.f64 2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 x) (*.f64 (pow.f64 2 1/4) (sqrt.f64 (*.f64 x (sqrt.f64 2)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 2 1/4) (*.f64 (pow.f64 2 1/4) x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (sqrt.f64 (*.f64 x (sqrt.f64 2))) (pow.f64 (*.f64 x (sqrt.f64 2)) 1/4)) (pow.f64 (*.f64 x (sqrt.f64 2)) 1/4))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 x (cbrt.f64 2)) (cbrt.f64 (sqrt.f64 2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 x (pow.f64 2 1/4)) (pow.f64 2 1/4))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (sqrt.f64 2) (pow.f64 (cbrt.f64 x) 2)) (cbrt.f64 x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (sqrt.f64 2) (sqrt.f64 x)) (sqrt.f64 x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (sqrt.f64 (*.f64 x (sqrt.f64 2))) (cbrt.f64 (*.f64 x (sqrt.f64 2)))) (cbrt.f64 (sqrt.f64 (*.f64 x (sqrt.f64 2)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (sqrt.f64 (*.f64 x (sqrt.f64 2))) (sqrt.f64 x)) (pow.f64 2 1/4))))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (*.f64 2 (*.f64 x x)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (pow.f64 (exp.f64 x) (sqrt.f64 2)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (*.f64 x (sqrt.f64 2)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 x (sqrt.f64 2))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 x (sqrt.f64 2))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (*.f64 x (sqrt.f64 2)))))))) |
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (sqrt.f64 (*.f64 x (sqrt.f64 2)))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (*.f64 x (sqrt.f64 2))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (sqrt.f64 (*.f64 x (sqrt.f64 2))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (sqrt.f64 (*.f64 x (sqrt.f64 2)))) (cbrt.f64 (*.f64 x (sqrt.f64 2))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (*.f64 x (sqrt.f64 2))) (cbrt.f64 (sqrt.f64 (*.f64 x (sqrt.f64 2)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (*.f64 x (sqrt.f64 2)) 1/4) (pow.f64 (*.f64 x (sqrt.f64 2)) 1/4))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 x) (pow.f64 2 1/4))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 2 1/4) (sqrt.f64 x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (cbrt.f64 (*.f64 2 (*.f64 x x)))) (sqrt.f64 (cbrt.f64 (*.f64 x (sqrt.f64 2)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 1 1/2) (sqrt.f64 (*.f64 x (sqrt.f64 2))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (*.f64 2 (*.f64 x x))) 1/2) (pow.f64 (cbrt.f64 (*.f64 x (sqrt.f64 2))) 1/2))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 x (sqrt.f64 2)) 1/2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (*.f64 x (sqrt.f64 2))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 x (sqrt.f64 2)) 3/2) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (sqrt.f64 (*.f64 x (sqrt.f64 2)))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 x (sqrt.f64 2)) 1/4) 2)))) (#(struct:change #<rule egg-rr> (2) ((x fabs.f64 (sqrt.f64 (*.f64 x (sqrt.f64 2))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (sqrt.f64 (*.f64 x (sqrt.f64 2)))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (*.f64 x (sqrt.f64 2)) 3/2))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (sqrt.f64 (*.f64 x (sqrt.f64 2)))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (sqrt.f64 (*.f64 x (sqrt.f64 2)))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (sqrt.f64 (*.f64 x (sqrt.f64 2))))))))) |
| 1× | egg-herbie |
| 1× | *-commutative_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 5 | 72 |
| 1 | 6 | 72 |
| 1× | saturated |
| Inputs |
|---|
(*.f64 (sqrt.f64 2) x) |
(*.f64 (sqrt.f64 2) x) |
(*.f64 (sqrt.f64 2) x) |
(*.f64 (sqrt.f64 2) x) |
(*.f64 (sqrt.f64 2) x) |
(*.f64 (sqrt.f64 2) x) |
(*.f64 (sqrt.f64 2) x) |
(*.f64 (sqrt.f64 2) x) |
(*.f64 (sqrt.f64 2) x) |
(*.f64 (sqrt.f64 2) x) |
(*.f64 (sqrt.f64 2) x) |
(*.f64 (sqrt.f64 2) x) |
| Outputs |
|---|
(*.f64 (sqrt.f64 2) x) |
(*.f64 (sqrt.f64 2) x) |
(*.f64 (sqrt.f64 2) x) |
(*.f64 (sqrt.f64 2) x) |
(*.f64 (sqrt.f64 2) x) |
(*.f64 (sqrt.f64 2) x) |
(*.f64 (sqrt.f64 2) x) |
(*.f64 (sqrt.f64 2) x) |
(*.f64 (sqrt.f64 2) x) |
(*.f64 (sqrt.f64 2) x) |
(*.f64 (sqrt.f64 2) x) |
(*.f64 (sqrt.f64 2) x) |
Found 4 expressions with local error:
| New | Error | Program |
|---|---|---|
| 0.0b | (*.f64 2 (*.f64 x x)) | |
| ✓ | 0.4b | (pow.f64 (cbrt.f64 (*.f64 2 (*.f64 x x))) 3) |
| ✓ | 26.3b | (sqrt.f64 (pow.f64 (cbrt.f64 (*.f64 2 (*.f64 x x))) 3)) |
| ✓ | 27.2b | (cbrt.f64 (*.f64 2 (*.f64 x x))) |
Compiled 35 to 20 computations (42.9% saved)
9 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 3.0ms | x | @ | 0 | (pow.f64 (cbrt.f64 (*.f64 2 (*.f64 x x))) 3) |
| 3.0ms | x | @ | 0 | (sqrt.f64 (pow.f64 (cbrt.f64 (*.f64 2 (*.f64 x x))) 3)) |
| 1.0ms | x | @ | inf | (pow.f64 (cbrt.f64 (*.f64 2 (*.f64 x x))) 3) |
| 1.0ms | x | @ | 0 | (cbrt.f64 (*.f64 2 (*.f64 x x))) |
| 1.0ms | x | @ | -inf | (pow.f64 (cbrt.f64 (*.f64 2 (*.f64 x x))) 3) |
| 1× | batch-egg-rewrite |
| 649× | pow1_binary64 |
| 612× | add-log-exp_binary64 |
| 611× | log1p-expm1-u_binary64 |
| 611× | expm1-log1p-u_binary64 |
| 595× | add-exp-log_binary64 |
Useful iterations: 1 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 9 | 25 |
| 1 | 190 | 22 |
| 2 | 1844 | 22 |
| 1× | node limit |
| Inputs |
|---|
(cbrt.f64 (*.f64 2 (*.f64 x x))) |
(sqrt.f64 (pow.f64 (cbrt.f64 (*.f64 2 (*.f64 x x))) 3)) |
(pow.f64 (cbrt.f64 (*.f64 2 (*.f64 x x))) 3) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (cbrt.f64 (*.f64 2 (*.f64 x x)))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (*.f64 2 (*.f64 x x))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (cbrt.f64 (*.f64 2 (*.f64 x x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 2) (cbrt.f64 (*.f64 x x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (cbrt.f64 (*.f64 2 (*.f64 x x)))) (cbrt.f64 (cbrt.f64 (*.f64 4 (pow.f64 x 4)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (cbrt.f64 (*.f64 2 (*.f64 x x)))) (pow.f64 (cbrt.f64 (*.f64 4 (pow.f64 x 4))) 1/3))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (cbrt.f64 (*.f64 4 (pow.f64 x 4)))) (cbrt.f64 (cbrt.f64 (*.f64 2 (*.f64 x x)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (*.f64 x x)) (cbrt.f64 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (*.f64 x (sqrt.f64 2))) (cbrt.f64 (*.f64 x (sqrt.f64 2))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (*.f64 2 x)) (cbrt.f64 x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (*.f64 4 (pow.f64 x 4))) 1/3) (cbrt.f64 (cbrt.f64 (*.f64 2 (*.f64 x x)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 1 1/3) (cbrt.f64 (*.f64 2 (*.f64 x x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (*.f64 2 x) 1/3) (cbrt.f64 x))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (*.f64 2 (*.f64 x x))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 2 (*.f64 x x)) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (cbrt.f64 (*.f64 2 (*.f64 x x)))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (*.f64 x (sqrt.f64 2))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (cbrt.f64 (*.f64 4 (pow.f64 x 4))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (cbrt.f64 (*.f64 2 (*.f64 x x)))))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (cbrt.f64 (*.f64 2 (*.f64 x x)))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (cbrt.f64 (*.f64 2 (*.f64 x x)))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (cbrt.f64 (*.f64 2 (*.f64 x x))))))))) |
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (*.f64 x (sqrt.f64 2))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 x (sqrt.f64 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (*.f64 2 (*.f64 x x))) (cbrt.f64 (*.f64 x (sqrt.f64 2))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 x (sqrt.f64 2)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (*.f64 x (sqrt.f64 2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 2) x)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (*.f64 x (sqrt.f64 2))) (sqrt.f64 (*.f64 x (sqrt.f64 2))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (*.f64 x (sqrt.f64 2))) (cbrt.f64 (*.f64 2 (*.f64 x x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (*.f64 x (sqrt.f64 2))) (pow.f64 (cbrt.f64 (*.f64 4 (pow.f64 x 4))) 1/2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (*.f64 2 x)) (sqrt.f64 x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 1 3/2) (*.f64 x (sqrt.f64 2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 2) 3/2) (pow.f64 (cbrt.f64 (*.f64 x x)) 3/2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (cbrt.f64 (*.f64 4 (pow.f64 x 4)))) 3/2) (pow.f64 (cbrt.f64 (cbrt.f64 (*.f64 2 (*.f64 x x)))) 3/2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (*.f64 x (sqrt.f64 2))) 3/2) (pow.f64 (cbrt.f64 (*.f64 x (sqrt.f64 2))) 3/2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (*.f64 4 (pow.f64 x 4))) 1/2) (cbrt.f64 (*.f64 x (sqrt.f64 2))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 1 1/2) (*.f64 x (sqrt.f64 2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (*.f64 2 x) 1/2) (sqrt.f64 x))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (*.f64 2 (*.f64 x x))) 3/2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 2 (*.f64 x x)) 1/2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 x (sqrt.f64 2)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 x (sqrt.f64 2)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (*.f64 x (sqrt.f64 2))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (*.f64 x (sqrt.f64 2))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x fabs.f64 (*.f64 x (sqrt.f64 2)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (*.f64 x (sqrt.f64 2))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (*.f64 x (sqrt.f64 2)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 x (sqrt.f64 2))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 x (sqrt.f64 2))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (*.f64 x (sqrt.f64 2)))))))) |
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (*.f64 2 (*.f64 x x))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 2 (*.f64 x x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 x (*.f64 2 x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 x x) 2)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (*.f64 2 (*.f64 x x))) (cbrt.f64 (*.f64 4 (pow.f64 x 4))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 2 (*.f64 x x)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 x (sqrt.f64 2)) (*.f64 x (sqrt.f64 2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (*.f64 2 (*.f64 x x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (*.f64 4 (pow.f64 x 4))) (cbrt.f64 (*.f64 2 (*.f64 x x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 2) (*.f64 (cbrt.f64 (*.f64 x x)) (cbrt.f64 (*.f64 4 (pow.f64 x 4)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (cbrt.f64 (*.f64 4 (pow.f64 x 4)))) (*.f64 (cbrt.f64 (cbrt.f64 (*.f64 2 (*.f64 x x)))) (cbrt.f64 (*.f64 4 (pow.f64 x 4)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (pow.f64 x 4)) (*.f64 (cbrt.f64 (*.f64 x x)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (*.f64 x (sqrt.f64 2))) (*.f64 (sqrt.f64 (*.f64 x (sqrt.f64 2))) (*.f64 x (sqrt.f64 2))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (*.f64 x (sqrt.f64 2))) (*.f64 (cbrt.f64 (*.f64 x (sqrt.f64 2))) (cbrt.f64 (*.f64 4 (pow.f64 x 4)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 2 x) x)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (*.f64 x (sqrt.f64 2)) (sqrt.f64 (*.f64 x (sqrt.f64 2)))) (sqrt.f64 (*.f64 x (sqrt.f64 2))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 2) 3) (*.f64 x x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (cbrt.f64 (*.f64 4 (pow.f64 x 4)))) 3) (cbrt.f64 (*.f64 2 (*.f64 x x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 2 (cbrt.f64 (pow.f64 x 4))) (cbrt.f64 (*.f64 x x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (*.f64 x (sqrt.f64 2)) (cbrt.f64 (*.f64 2 (*.f64 x x)))) (cbrt.f64 (*.f64 x (sqrt.f64 2))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (cbrt.f64 (*.f64 4 (pow.f64 x 4))) 1) (cbrt.f64 (*.f64 2 (*.f64 x x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (cbrt.f64 (*.f64 4 (pow.f64 x 4))) (cbrt.f64 2)) (cbrt.f64 (*.f64 x x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (cbrt.f64 (*.f64 4 (pow.f64 x 4))) (cbrt.f64 (cbrt.f64 (*.f64 4 (pow.f64 x 4))))) (cbrt.f64 (cbrt.f64 (*.f64 2 (*.f64 x x)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (cbrt.f64 (*.f64 4 (pow.f64 x 4))) (cbrt.f64 (*.f64 x (sqrt.f64 2)))) (cbrt.f64 (*.f64 x (sqrt.f64 2))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (*.f64 2 x) 1) x)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (*.f64 2 x) (cbrt.f64 (*.f64 x x))) (cbrt.f64 x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (*.f64 2 x) (sqrt.f64 x)) (sqrt.f64 x))))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (*.f64 4 (pow.f64 x 4)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (pow.f64 (exp.f64 2) (*.f64 x x)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (*.f64 2 (*.f64 x x)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 2 (*.f64 x x))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 2 (*.f64 x x))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (*.f64 2 (*.f64 x x)))))))) |
| 1× | egg-herbie |
| 38× | fma-def_binary64 |
| 9× | sub-neg_binary64 |
| 6× | +-commutative_binary64 |
| 4× | *-commutative_binary64 |
| 4× | distribute-lft-in_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 7 | 80 |
| 1 | 12 | 80 |
| 2 | 25 | 80 |
| 3 | 29 | 80 |
| 4 | 33 | 80 |
| 5 | 51 | 80 |
| 6 | 73 | 80 |
| 7 | 84 | 80 |
| 8 | 96 | 80 |
| 9 | 121 | 80 |
| 1× | saturated |
| Inputs |
|---|
(*.f64 (sqrt.f64 2) x) |
(*.f64 (sqrt.f64 2) x) |
(*.f64 (sqrt.f64 2) x) |
(*.f64 (sqrt.f64 2) x) |
(*.f64 (sqrt.f64 2) x) |
(*.f64 (sqrt.f64 2) x) |
(*.f64 (sqrt.f64 2) x) |
(*.f64 (sqrt.f64 2) x) |
(*.f64 -1 (*.f64 (sqrt.f64 2) x)) |
(*.f64 -1 (*.f64 (sqrt.f64 2) x)) |
(*.f64 -1 (*.f64 (sqrt.f64 2) x)) |
(*.f64 -1 (*.f64 (sqrt.f64 2) x)) |
| Outputs |
|---|
(*.f64 (sqrt.f64 2) x) |
(*.f64 (sqrt.f64 2) x) |
(*.f64 (sqrt.f64 2) x) |
(*.f64 (sqrt.f64 2) x) |
(*.f64 (sqrt.f64 2) x) |
(*.f64 (sqrt.f64 2) x) |
(*.f64 (sqrt.f64 2) x) |
(*.f64 (sqrt.f64 2) x) |
(*.f64 -1 (*.f64 (sqrt.f64 2) x)) |
(neg.f64 (*.f64 (sqrt.f64 2) x)) |
(*.f64 (sqrt.f64 2) (neg.f64 x)) |
(*.f64 -1 (*.f64 (sqrt.f64 2) x)) |
(neg.f64 (*.f64 (sqrt.f64 2) x)) |
(*.f64 (sqrt.f64 2) (neg.f64 x)) |
(*.f64 -1 (*.f64 (sqrt.f64 2) x)) |
(neg.f64 (*.f64 (sqrt.f64 2) x)) |
(*.f64 (sqrt.f64 2) (neg.f64 x)) |
(*.f64 -1 (*.f64 (sqrt.f64 2) x)) |
(neg.f64 (*.f64 (sqrt.f64 2) x)) |
(*.f64 (sqrt.f64 2) (neg.f64 x)) |
Compiled 2458 to 1919 computations (21.9% saved)
11 alts after pruning (7 fresh and 4 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 240 | 5 | 245 |
| Fresh | 2 | 2 | 4 |
| Picked | 1 | 0 | 1 |
| Done | 1 | 4 | 5 |
| Total | 244 | 11 | 255 |
| Status | Error | Program |
|---|---|---|
| ▶ | 50.5b | (sqrt.f64 (cbrt.f64 (pow.f64 (*.f64 2 (*.f64 x x)) 3))) |
| ▶ | 27.6b | (pow.f64 (cbrt.f64 (*.f64 2 (*.f64 x x))) 3/2) |
| ✓ | 27.2b | (sqrt.f64 (*.f64 2 (*.f64 x x))) |
| ✓ | 26.2b | (*.f64 x (neg.f64 (sqrt.f64 2))) |
| ▶ | 37.6b | (*.f64 (sqrt.f64 (*.f64 2 x)) (sqrt.f64 x)) |
| 37.7b | (*.f64 (sqrt.f64 x) (*.f64 (pow.f64 2 1/4) (sqrt.f64 (*.f64 x (sqrt.f64 2))))) | |
| ✓ | 37.8b | (pow.f64 (sqrt.f64 (*.f64 x (sqrt.f64 2))) 2) |
| ✓ | 36.8b | (*.f64 (sqrt.f64 2) x) |
| ▶ | 44.6b | (pow.f64 (*.f64 4 (pow.f64 x 4)) 1/4) |
| ▶ | 36.8b | (*.f64 (pow.f64 2 1/4) (*.f64 (pow.f64 2 1/4) x)) |
| 48.6b | (cbrt.f64 (*.f64 (*.f64 (*.f64 x (neg.f64 (sqrt.f64 2))) (*.f64 x (neg.f64 (sqrt.f64 2)))) (*.f64 x (neg.f64 (sqrt.f64 2))))) |
Compiled 180 to 149 computations (17.2% saved)
Found 3 expressions with local error:
| New | Error | Program |
|---|---|---|
| 0.0b | (*.f64 2 (*.f64 x x)) | |
| ✓ | 0.3b | (pow.f64 (cbrt.f64 (*.f64 2 (*.f64 x x))) 3/2) |
| 27.2b | (cbrt.f64 (*.f64 2 (*.f64 x x))) |
Compiled 26 to 14 computations (46.2% saved)
3 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 2.0ms | x | @ | 0 | (pow.f64 (cbrt.f64 (*.f64 2 (*.f64 x x))) 3/2) |
| 1.0ms | x | @ | inf | (pow.f64 (cbrt.f64 (*.f64 2 (*.f64 x x))) 3/2) |
| 1.0ms | x | @ | -inf | (pow.f64 (cbrt.f64 (*.f64 2 (*.f64 x x))) 3/2) |
| 1× | batch-egg-rewrite |
| 645× | pow1_binary64 |
| 606× | add-log-exp_binary64 |
| 606× | log1p-expm1-u_binary64 |
| 606× | expm1-log1p-u_binary64 |
| 591× | add-exp-log_binary64 |
Useful iterations: 1 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 8 | 12 |
| 1 | 166 | 6 |
| 2 | 1833 | 6 |
| 1× | node limit |
| Inputs |
|---|
(pow.f64 (cbrt.f64 (*.f64 2 (*.f64 x x))) 3/2) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (*.f64 x (sqrt.f64 2))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 x (sqrt.f64 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (*.f64 2 (*.f64 x x))) (cbrt.f64 (*.f64 x (sqrt.f64 2))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 x (sqrt.f64 2)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (*.f64 x (sqrt.f64 2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 2) x)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (*.f64 x (sqrt.f64 2))) (cbrt.f64 (*.f64 2 (*.f64 x x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (*.f64 x (sqrt.f64 2))) (sqrt.f64 (*.f64 x (sqrt.f64 2))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (*.f64 2 x)) (sqrt.f64 x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 1 3/2) (*.f64 x (sqrt.f64 2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 2) 3/2) (pow.f64 (cbrt.f64 (*.f64 x x)) 3/2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (cbrt.f64 (*.f64 4 (pow.f64 x 4)))) 3/2) (pow.f64 (cbrt.f64 (cbrt.f64 (*.f64 2 (*.f64 x x)))) 3/2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (*.f64 x (sqrt.f64 2))) 3/2) (pow.f64 (cbrt.f64 (*.f64 x (sqrt.f64 2))) 3/2))))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (*.f64 2 (*.f64 x x)))))) (#(struct:change #<rule egg-rr> (2) ((x fabs.f64 (*.f64 x (sqrt.f64 2)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (*.f64 x (sqrt.f64 2))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (*.f64 x (sqrt.f64 2)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 x (sqrt.f64 2))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 x (sqrt.f64 2))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (*.f64 x (sqrt.f64 2)))))))) |
| 1× | egg-herbie |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 0 | 0 |
| 1× | saturated |
| Inputs |
|---|
| Outputs |
|---|
Found 1 expressions with local error:
| New | Error | Program |
|---|---|---|
| ✓ | 0.1b | (*.f64 (sqrt.f64 (*.f64 2 x)) (sqrt.f64 x)) |
Compiled 19 to 12 computations (36.8% saved)
3 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 1.0ms | x | @ | -inf | (*.f64 (sqrt.f64 (*.f64 2 x)) (sqrt.f64 x)) |
| 0.0ms | x | @ | 0 | (*.f64 (sqrt.f64 (*.f64 2 x)) (sqrt.f64 x)) |
| 0.0ms | x | @ | inf | (*.f64 (sqrt.f64 (*.f64 2 x)) (sqrt.f64 x)) |
| 1× | batch-egg-rewrite |
| 597× | pow1_binary64 |
| 552× | add-log-exp_binary64 |
| 552× | log1p-expm1-u_binary64 |
| 552× | expm1-log1p-u_binary64 |
| 537× | add-exp-log_binary64 |
Useful iterations: 1 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 7 | 9 |
| 1 | 142 | 6 |
| 2 | 1593 | 6 |
| 1× | node limit |
| Inputs |
|---|
(*.f64 (sqrt.f64 (*.f64 2 x)) (sqrt.f64 x)) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (*.f64 (sqrt.f64 2) x)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 (sqrt.f64 2) x) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 (sqrt.f64 2) x) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (*.f64 (sqrt.f64 2) x)) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (*.f64 (sqrt.f64 2) x)) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 2 (*.f64 x x)) 1/2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (*.f64 2 (*.f64 x x)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (*.f64 (sqrt.f64 2) x)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (*.f64 (sqrt.f64 2) x) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 (sqrt.f64 2) x)))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 (sqrt.f64 2) x)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (*.f64 (sqrt.f64 2) x))))))) |
| 1× | egg-herbie |
| 248× | fma-def_binary64 |
| 22× | distribute-rgt-in_binary64 |
| 21× | associate-*l*_binary64 |
| 21× | sub-neg_binary64 |
| 19× | distribute-lft-in_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 12 | 100 |
| 1 | 21 | 100 |
| 2 | 53 | 100 |
| 3 | 104 | 100 |
| 4 | 119 | 100 |
| 5 | 167 | 100 |
| 6 | 239 | 100 |
| 7 | 276 | 100 |
| 8 | 322 | 100 |
| 9 | 499 | 100 |
| 10 | 527 | 100 |
| 1× | saturated |
| Inputs |
|---|
(*.f64 (sqrt.f64 2) x) |
(*.f64 (sqrt.f64 2) x) |
(*.f64 (sqrt.f64 2) x) |
(*.f64 (sqrt.f64 2) x) |
(*.f64 (sqrt.f64 2) x) |
(*.f64 (sqrt.f64 2) x) |
(*.f64 (sqrt.f64 2) x) |
(*.f64 (sqrt.f64 2) x) |
(*.f64 -1 (*.f64 (sqrt.f64 -1) (*.f64 (sqrt.f64 -2) x))) |
(*.f64 -1 (*.f64 (sqrt.f64 -1) (*.f64 (sqrt.f64 -2) x))) |
(*.f64 -1 (*.f64 (sqrt.f64 -1) (*.f64 (sqrt.f64 -2) x))) |
(*.f64 -1 (*.f64 (sqrt.f64 -1) (*.f64 (sqrt.f64 -2) x))) |
| Outputs |
|---|
(*.f64 (sqrt.f64 2) x) |
(*.f64 (sqrt.f64 2) x) |
(*.f64 (sqrt.f64 2) x) |
(*.f64 (sqrt.f64 2) x) |
(*.f64 (sqrt.f64 2) x) |
(*.f64 (sqrt.f64 2) x) |
(*.f64 (sqrt.f64 2) x) |
(*.f64 (sqrt.f64 2) x) |
(*.f64 -1 (*.f64 (sqrt.f64 -1) (*.f64 (sqrt.f64 -2) x))) |
(neg.f64 (*.f64 (*.f64 (sqrt.f64 -1) (sqrt.f64 -2)) x)) |
(*.f64 (*.f64 (sqrt.f64 -1) (sqrt.f64 -2)) (neg.f64 x)) |
(*.f64 -1 (*.f64 (sqrt.f64 -1) (*.f64 (sqrt.f64 -2) x))) |
(neg.f64 (*.f64 (*.f64 (sqrt.f64 -1) (sqrt.f64 -2)) x)) |
(*.f64 (*.f64 (sqrt.f64 -1) (sqrt.f64 -2)) (neg.f64 x)) |
(*.f64 -1 (*.f64 (sqrt.f64 -1) (*.f64 (sqrt.f64 -2) x))) |
(neg.f64 (*.f64 (*.f64 (sqrt.f64 -1) (sqrt.f64 -2)) x)) |
(*.f64 (*.f64 (sqrt.f64 -1) (sqrt.f64 -2)) (neg.f64 x)) |
(*.f64 -1 (*.f64 (sqrt.f64 -1) (*.f64 (sqrt.f64 -2) x))) |
(neg.f64 (*.f64 (*.f64 (sqrt.f64 -1) (sqrt.f64 -2)) x)) |
(*.f64 (*.f64 (sqrt.f64 -1) (sqrt.f64 -2)) (neg.f64 x)) |
Found 2 expressions with local error:
| New | Error | Program |
|---|---|---|
| 0.0b | (*.f64 4 (pow.f64 x 4)) | |
| ✓ | 43.3b | (pow.f64 (*.f64 4 (pow.f64 x 4)) 1/4) |
Compiled 19 to 15 computations (21.1% saved)
3 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 31.0ms | x | @ | 0 | (pow.f64 (*.f64 4 (pow.f64 x 4)) 1/4) |
| 7.0ms | x | @ | inf | (pow.f64 (*.f64 4 (pow.f64 x 4)) 1/4) |
| 0.0ms | x | @ | -inf | (pow.f64 (*.f64 4 (pow.f64 x 4)) 1/4) |
| 1× | batch-egg-rewrite |
| 611× | pow1_binary64 |
| 570× | add-log-exp_binary64 |
| 570× | log1p-expm1-u_binary64 |
| 570× | expm1-log1p-u_binary64 |
| 554× | add-exp-log_binary64 |
Useful iterations: 1 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 7 | 10 |
| 1 | 155 | 7 |
| 2 | 1685 | 7 |
| 1× | node limit |
| Inputs |
|---|
(pow.f64 (*.f64 4 (pow.f64 x 4)) 1/4) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (*.f64 x (pow.f64 4 1/4))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 x (pow.f64 4 1/4))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 x (pow.f64 4 1/4)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (*.f64 x (pow.f64 4 1/4)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (*.f64 x (pow.f64 4 1/4))) (cbrt.f64 (*.f64 (*.f64 x x) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (*.f64 (*.f64 x x) 2)) (cbrt.f64 (*.f64 x (pow.f64 4 1/4))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 4 1/4) x)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (*.f64 x (pow.f64 4 1/4))) (sqrt.f64 (*.f64 x (pow.f64 4 1/4))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 1 1/4) (*.f64 x (pow.f64 4 1/4)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (*.f64 16 (pow.f64 x 8))) 1/4) (pow.f64 (cbrt.f64 (*.f64 4 (pow.f64 x 4))) 1/4))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (*.f64 (*.f64 x x) 2) 1/4) (pow.f64 (*.f64 (*.f64 x x) 2) 1/4))))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (*.f64 (*.f64 x x) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (pow.f64 (exp.f64 (pow.f64 4 1/4)) x))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (*.f64 x (pow.f64 4 1/4)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 x (pow.f64 4 1/4))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 x (pow.f64 4 1/4))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (*.f64 x (pow.f64 4 1/4)))))))) |
| 1× | egg-herbie |
| 786× | fma-neg_binary64 |
| 552× | associate-/l*_binary64 |
| 380× | exp-sum_binary64 |
| 358× | fma-def_binary64 |
| 294× | exp-prod_binary64 |
Useful iterations: 3 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 25 | 192 |
| 1 | 61 | 168 |
| 2 | 146 | 120 |
| 3 | 309 | 84 |
| 4 | 714 | 84 |
| 5 | 2131 | 84 |
| 6 | 6354 | 84 |
| 1× | node limit |
| Inputs |
|---|
(exp.f64 (*.f64 1/4 (+.f64 (log.f64 4) (*.f64 4 (log.f64 x))))) |
(exp.f64 (*.f64 1/4 (+.f64 (log.f64 4) (*.f64 4 (log.f64 x))))) |
(exp.f64 (*.f64 1/4 (+.f64 (log.f64 4) (*.f64 4 (log.f64 x))))) |
(exp.f64 (*.f64 1/4 (+.f64 (log.f64 4) (*.f64 4 (log.f64 x))))) |
(exp.f64 (*.f64 1/4 (+.f64 (*.f64 -4 (log.f64 (/.f64 1 x))) (log.f64 4)))) |
(exp.f64 (*.f64 1/4 (+.f64 (*.f64 -4 (log.f64 (/.f64 1 x))) (log.f64 4)))) |
(exp.f64 (*.f64 1/4 (+.f64 (*.f64 -4 (log.f64 (/.f64 1 x))) (log.f64 4)))) |
(exp.f64 (*.f64 1/4 (+.f64 (*.f64 -4 (log.f64 (/.f64 1 x))) (log.f64 4)))) |
(exp.f64 (*.f64 1/4 (+.f64 (*.f64 -4 (log.f64 (/.f64 -1 x))) (log.f64 4)))) |
(exp.f64 (*.f64 1/4 (+.f64 (*.f64 -4 (log.f64 (/.f64 -1 x))) (log.f64 4)))) |
(exp.f64 (*.f64 1/4 (+.f64 (*.f64 -4 (log.f64 (/.f64 -1 x))) (log.f64 4)))) |
(exp.f64 (*.f64 1/4 (+.f64 (*.f64 -4 (log.f64 (/.f64 -1 x))) (log.f64 4)))) |
| Outputs |
|---|
(exp.f64 (*.f64 1/4 (+.f64 (log.f64 4) (*.f64 4 (log.f64 x))))) |
(pow.f64 (exp.f64 1/4) (+.f64 (log.f64 4) (*.f64 4 (log.f64 x)))) |
(pow.f64 (exp.f64 1/4) (fma.f64 4 (log.f64 x) (log.f64 4))) |
(*.f64 (pow.f64 4 1/4) (pow.f64 x 1)) |
(*.f64 (pow.f64 4 1/4) x) |
(exp.f64 (*.f64 1/4 (+.f64 (log.f64 4) (*.f64 4 (log.f64 x))))) |
(pow.f64 (exp.f64 1/4) (+.f64 (log.f64 4) (*.f64 4 (log.f64 x)))) |
(pow.f64 (exp.f64 1/4) (fma.f64 4 (log.f64 x) (log.f64 4))) |
(*.f64 (pow.f64 4 1/4) (pow.f64 x 1)) |
(*.f64 (pow.f64 4 1/4) x) |
(exp.f64 (*.f64 1/4 (+.f64 (log.f64 4) (*.f64 4 (log.f64 x))))) |
(pow.f64 (exp.f64 1/4) (+.f64 (log.f64 4) (*.f64 4 (log.f64 x)))) |
(pow.f64 (exp.f64 1/4) (fma.f64 4 (log.f64 x) (log.f64 4))) |
(*.f64 (pow.f64 4 1/4) (pow.f64 x 1)) |
(*.f64 (pow.f64 4 1/4) x) |
(exp.f64 (*.f64 1/4 (+.f64 (log.f64 4) (*.f64 4 (log.f64 x))))) |
(pow.f64 (exp.f64 1/4) (+.f64 (log.f64 4) (*.f64 4 (log.f64 x)))) |
(pow.f64 (exp.f64 1/4) (fma.f64 4 (log.f64 x) (log.f64 4))) |
(*.f64 (pow.f64 4 1/4) (pow.f64 x 1)) |
(*.f64 (pow.f64 4 1/4) x) |
(exp.f64 (*.f64 1/4 (+.f64 (*.f64 -4 (log.f64 (/.f64 1 x))) (log.f64 4)))) |
(pow.f64 (exp.f64 1/4) (+.f64 (log.f64 4) (*.f64 4 (log.f64 x)))) |
(pow.f64 (exp.f64 1/4) (fma.f64 4 (log.f64 x) (log.f64 4))) |
(*.f64 (pow.f64 4 1/4) (pow.f64 x 1)) |
(*.f64 (pow.f64 4 1/4) x) |
(exp.f64 (*.f64 1/4 (+.f64 (*.f64 -4 (log.f64 (/.f64 1 x))) (log.f64 4)))) |
(pow.f64 (exp.f64 1/4) (+.f64 (log.f64 4) (*.f64 4 (log.f64 x)))) |
(pow.f64 (exp.f64 1/4) (fma.f64 4 (log.f64 x) (log.f64 4))) |
(*.f64 (pow.f64 4 1/4) (pow.f64 x 1)) |
(*.f64 (pow.f64 4 1/4) x) |
(exp.f64 (*.f64 1/4 (+.f64 (*.f64 -4 (log.f64 (/.f64 1 x))) (log.f64 4)))) |
(pow.f64 (exp.f64 1/4) (+.f64 (log.f64 4) (*.f64 4 (log.f64 x)))) |
(pow.f64 (exp.f64 1/4) (fma.f64 4 (log.f64 x) (log.f64 4))) |
(*.f64 (pow.f64 4 1/4) (pow.f64 x 1)) |
(*.f64 (pow.f64 4 1/4) x) |
(exp.f64 (*.f64 1/4 (+.f64 (*.f64 -4 (log.f64 (/.f64 1 x))) (log.f64 4)))) |
(pow.f64 (exp.f64 1/4) (+.f64 (log.f64 4) (*.f64 4 (log.f64 x)))) |
(pow.f64 (exp.f64 1/4) (fma.f64 4 (log.f64 x) (log.f64 4))) |
(*.f64 (pow.f64 4 1/4) (pow.f64 x 1)) |
(*.f64 (pow.f64 4 1/4) x) |
(exp.f64 (*.f64 1/4 (+.f64 (*.f64 -4 (log.f64 (/.f64 -1 x))) (log.f64 4)))) |
(pow.f64 (exp.f64 1/4) (+.f64 (log.f64 4) (*.f64 4 (log.f64 x)))) |
(pow.f64 (exp.f64 1/4) (fma.f64 4 (log.f64 x) (log.f64 4))) |
(*.f64 (pow.f64 4 1/4) (pow.f64 x 1)) |
(*.f64 (pow.f64 4 1/4) x) |
(exp.f64 (*.f64 1/4 (+.f64 (*.f64 -4 (log.f64 (/.f64 -1 x))) (log.f64 4)))) |
(pow.f64 (exp.f64 1/4) (+.f64 (log.f64 4) (*.f64 4 (log.f64 x)))) |
(pow.f64 (exp.f64 1/4) (fma.f64 4 (log.f64 x) (log.f64 4))) |
(*.f64 (pow.f64 4 1/4) (pow.f64 x 1)) |
(*.f64 (pow.f64 4 1/4) x) |
(exp.f64 (*.f64 1/4 (+.f64 (*.f64 -4 (log.f64 (/.f64 -1 x))) (log.f64 4)))) |
(pow.f64 (exp.f64 1/4) (+.f64 (log.f64 4) (*.f64 4 (log.f64 x)))) |
(pow.f64 (exp.f64 1/4) (fma.f64 4 (log.f64 x) (log.f64 4))) |
(*.f64 (pow.f64 4 1/4) (pow.f64 x 1)) |
(*.f64 (pow.f64 4 1/4) x) |
(exp.f64 (*.f64 1/4 (+.f64 (*.f64 -4 (log.f64 (/.f64 -1 x))) (log.f64 4)))) |
(pow.f64 (exp.f64 1/4) (+.f64 (log.f64 4) (*.f64 4 (log.f64 x)))) |
(pow.f64 (exp.f64 1/4) (fma.f64 4 (log.f64 x) (log.f64 4))) |
(*.f64 (pow.f64 4 1/4) (pow.f64 x 1)) |
(*.f64 (pow.f64 4 1/4) x) |
Found 2 expressions with local error:
| New | Error | Program |
|---|---|---|
| ✓ | 0.2b | (*.f64 (pow.f64 2 1/4) x) |
| ✓ | 0.3b | (*.f64 (pow.f64 2 1/4) (*.f64 (pow.f64 2 1/4) x)) |
Compiled 21 to 18 computations (14.3% saved)
6 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 31.0ms | x | @ | 0 | (*.f64 (pow.f64 2 1/4) x) |
| 1.0ms | x | @ | inf | (*.f64 (pow.f64 2 1/4) x) |
| 0.0ms | x | @ | -inf | (*.f64 (pow.f64 2 1/4) x) |
| 0.0ms | x | @ | -inf | (*.f64 (pow.f64 2 1/4) (*.f64 (pow.f64 2 1/4) x)) |
| 0.0ms | x | @ | inf | (*.f64 (pow.f64 2 1/4) (*.f64 (pow.f64 2 1/4) x)) |
| 1× | batch-egg-rewrite |
| 610× | pow1_binary64 |
| 566× | add-log-exp_binary64 |
| 566× | log1p-expm1-u_binary64 |
| 566× | expm1-log1p-u_binary64 |
| 554× | add-exp-log_binary64 |
Useful iterations: 1 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 7 | 20 |
| 1 | 148 | 13 |
| 2 | 1611 | 13 |
| 1× | node limit |
| Inputs |
|---|
(*.f64 (pow.f64 2 1/4) (*.f64 (pow.f64 2 1/4) x)) |
(*.f64 (pow.f64 2 1/4) x) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (*.f64 x (sqrt.f64 2))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 x (sqrt.f64 2)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 x (sqrt.f64 2)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (*.f64 x (sqrt.f64 2))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (*.f64 x (sqrt.f64 2))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (*.f64 2 (*.f64 x x)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (pow.f64 (exp.f64 (sqrt.f64 2)) x))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (*.f64 x (sqrt.f64 2)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 x (sqrt.f64 2))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 x (sqrt.f64 2))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (*.f64 x (sqrt.f64 2)))))))) |
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (*.f64 (pow.f64 2 1/4) x)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 (pow.f64 2 1/4) x) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 (pow.f64 2 1/4) x) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (*.f64 (pow.f64 2 1/4) x)) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 (sqrt.f64 x) (pow.f64 2 1/8)) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (*.f64 (*.f64 x x) (sqrt.f64 2)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (pow.f64 (exp.f64 x) (pow.f64 2 1/4)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (*.f64 (pow.f64 2 1/4) x) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 (pow.f64 2 1/4) x)))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 (pow.f64 2 1/4) x)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (*.f64 (pow.f64 2 1/4) x))))))) |
| 1× | egg-herbie |
| 1× | *-commutative_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 5 | 72 |
| 1 | 6 | 72 |
| 1× | saturated |
| Inputs |
|---|
(*.f64 (sqrt.f64 2) x) |
(*.f64 (sqrt.f64 2) x) |
(*.f64 (sqrt.f64 2) x) |
(*.f64 (sqrt.f64 2) x) |
(*.f64 (sqrt.f64 2) x) |
(*.f64 (sqrt.f64 2) x) |
(*.f64 (sqrt.f64 2) x) |
(*.f64 (sqrt.f64 2) x) |
(*.f64 (sqrt.f64 2) x) |
(*.f64 (sqrt.f64 2) x) |
(*.f64 (sqrt.f64 2) x) |
(*.f64 (sqrt.f64 2) x) |
| Outputs |
|---|
(*.f64 (sqrt.f64 2) x) |
(*.f64 (sqrt.f64 2) x) |
(*.f64 (sqrt.f64 2) x) |
(*.f64 (sqrt.f64 2) x) |
(*.f64 (sqrt.f64 2) x) |
(*.f64 (sqrt.f64 2) x) |
(*.f64 (sqrt.f64 2) x) |
(*.f64 (sqrt.f64 2) x) |
(*.f64 (sqrt.f64 2) x) |
(*.f64 (sqrt.f64 2) x) |
(*.f64 (sqrt.f64 2) x) |
(*.f64 (sqrt.f64 2) x) |
Found 4 expressions with local error:
| New | Error | Program |
|---|---|---|
| 0.0b | (*.f64 2 (*.f64 x x)) | |
| ✓ | 0.1b | (pow.f64 (*.f64 2 (*.f64 x x)) 3) |
| ✓ | 22.2b | (cbrt.f64 (pow.f64 (*.f64 2 (*.f64 x x)) 3)) |
| ✓ | 26.3b | (sqrt.f64 (cbrt.f64 (pow.f64 (*.f64 2 (*.f64 x x)) 3))) |
Compiled 36 to 21 computations (41.7% saved)
9 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 1.0ms | x | @ | 0 | (pow.f64 (*.f64 2 (*.f64 x x)) 3) |
| 0.0ms | x | @ | inf | (pow.f64 (*.f64 2 (*.f64 x x)) 3) |
| 0.0ms | x | @ | 0 | (sqrt.f64 (cbrt.f64 (pow.f64 (*.f64 2 (*.f64 x x)) 3))) |
| 0.0ms | x | @ | inf | (sqrt.f64 (cbrt.f64 (pow.f64 (*.f64 2 (*.f64 x x)) 3))) |
| 0.0ms | x | @ | -inf | (pow.f64 (*.f64 2 (*.f64 x x)) 3) |
| 1× | batch-egg-rewrite |
| 662× | pow1_binary64 |
| 624× | add-log-exp_binary64 |
| 623× | log1p-expm1-u_binary64 |
| 623× | expm1-log1p-u_binary64 |
| 606× | add-exp-log_binary64 |
Useful iterations: 1 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 9 | 26 |
| 1 | 193 | 20 |
| 2 | 1902 | 20 |
| 1× | node limit |
| Inputs |
|---|
(sqrt.f64 (cbrt.f64 (pow.f64 (*.f64 2 (*.f64 x x)) 3))) |
(cbrt.f64 (pow.f64 (*.f64 2 (*.f64 x x)) 3)) |
(pow.f64 (*.f64 2 (*.f64 x x)) 3) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (*.f64 x (sqrt.f64 2))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 x (sqrt.f64 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 x (sqrt.f64 2)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (*.f64 x (sqrt.f64 2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (*.f64 2 (*.f64 x x))) (cbrt.f64 (*.f64 x (sqrt.f64 2))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (*.f64 x (sqrt.f64 2))) (cbrt.f64 (*.f64 2 (*.f64 x x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 2) x)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (*.f64 x (sqrt.f64 2))) (sqrt.f64 (*.f64 x (sqrt.f64 2))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (cbrt.f64 (*.f64 4 (pow.f64 x 4)))) (sqrt.f64 (cbrt.f64 (*.f64 2 (*.f64 x x)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (*.f64 2 x)) (sqrt.f64 x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 1 1/2) (*.f64 x (sqrt.f64 2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (*.f64 4 (pow.f64 x 4))) 1/2) (pow.f64 (cbrt.f64 (*.f64 2 (*.f64 x x))) 1/2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (*.f64 2 x) 1/2) (sqrt.f64 x))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 8 (pow.f64 x 6)) 1/6)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 2 (*.f64 x x)) 1/2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 x (sqrt.f64 2)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (*.f64 x (sqrt.f64 2))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (*.f64 x (sqrt.f64 2))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 x (sqrt.f64 2)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x fabs.f64 (*.f64 x (sqrt.f64 2)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (*.f64 x (sqrt.f64 2))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (*.f64 x (sqrt.f64 2)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 x (sqrt.f64 2))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 x (sqrt.f64 2))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (*.f64 x (sqrt.f64 2)))))))) |
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (*.f64 2 (*.f64 x x))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 2 (*.f64 x x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 x (*.f64 2 x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 x x) 2)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 2 (*.f64 x x)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 x (sqrt.f64 2)) (*.f64 x (sqrt.f64 2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (*.f64 2 (*.f64 x x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (*.f64 2 (*.f64 x x))) (cbrt.f64 (*.f64 4 (pow.f64 x 4))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (*.f64 2 (*.f64 x x))) (pow.f64 (*.f64 4 (pow.f64 x 4)) 1/3))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (*.f64 2 (*.f64 x x))) (*.f64 (cbrt.f64 (*.f64 x (sqrt.f64 2))) (*.f64 x (sqrt.f64 2))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (*.f64 4 (pow.f64 x 4))) (cbrt.f64 (*.f64 2 (*.f64 x x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (pow.f64 x 4)) (*.f64 (pow.f64 (cbrt.f64 x) 2) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (*.f64 x (sqrt.f64 2))) (*.f64 (sqrt.f64 (*.f64 x (sqrt.f64 2))) (*.f64 x (sqrt.f64 2))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 2 x) x)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (*.f64 x (sqrt.f64 2)) (sqrt.f64 (*.f64 x (sqrt.f64 2)))) (sqrt.f64 (*.f64 x (sqrt.f64 2))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (*.f64 4 (pow.f64 x 4)) 1/3) (cbrt.f64 (*.f64 2 (*.f64 x x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 1 1/3) (*.f64 2 (*.f64 x x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 8 1/3) (*.f64 x x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 2 (cbrt.f64 (pow.f64 x 4))) (pow.f64 (cbrt.f64 x) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (*.f64 x (sqrt.f64 2)) (cbrt.f64 (*.f64 2 (*.f64 x x)))) (cbrt.f64 (*.f64 x (sqrt.f64 2))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (*.f64 2 x) 1) x)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (*.f64 2 x) (pow.f64 (cbrt.f64 x) 2)) (cbrt.f64 x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (*.f64 2 x) (sqrt.f64 x)) (sqrt.f64 x))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 8 (pow.f64 x 6)) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 2 (*.f64 x x)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 x (sqrt.f64 2)) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 4 (pow.f64 x 4)) 1/2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (*.f64 2 (*.f64 x x))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (*.f64 4 (pow.f64 x 4)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (pow.f64 (exp.f64 2) (*.f64 x x)))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 2 (*.f64 x x))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 2 (*.f64 x x))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (*.f64 2 (*.f64 x x)))))))) |
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (*.f64 8 (pow.f64 x 6))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 2 (*.f64 (*.f64 x x) (*.f64 4 (pow.f64 x 4))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 x x) (*.f64 2 (*.f64 4 (pow.f64 x 4))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 8 (pow.f64 x 6)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 2 (*.f64 x x)) (*.f64 4 (pow.f64 x 4)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 x (sqrt.f64 2)) (*.f64 (*.f64 x (sqrt.f64 2)) (*.f64 4 (pow.f64 x 4))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (*.f64 8 (pow.f64 x 6)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 4 (pow.f64 x 4)) (*.f64 2 (*.f64 x x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 8 (pow.f64 x 6))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (*.f64 4 (pow.f64 x 4))) (*.f64 (cbrt.f64 (*.f64 2 (*.f64 x x))) (*.f64 4 (pow.f64 x 4))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 x 6) 8)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (*.f64 x (sqrt.f64 2)) 3) (pow.f64 (*.f64 x (sqrt.f64 2)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 2 x) (*.f64 x (*.f64 4 (pow.f64 x 4))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (*.f64 4 (pow.f64 x 4))) 3) (*.f64 2 (*.f64 x x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (*.f64 2 x) 3) (pow.f64 x 3))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (*.f64 4 (pow.f64 x 4)) 2) (*.f64 x x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (*.f64 4 (pow.f64 x 4)) (*.f64 x x)) 2)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (*.f64 4 (pow.f64 x 4)) (*.f64 x (sqrt.f64 2))) (*.f64 x (sqrt.f64 2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (*.f64 4 (pow.f64 x 4)) 1) (*.f64 2 (*.f64 x x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (*.f64 4 (pow.f64 x 4)) (cbrt.f64 (*.f64 4 (pow.f64 x 4)))) (cbrt.f64 (*.f64 2 (*.f64 x x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (*.f64 4 (pow.f64 x 4)) (*.f64 2 x)) x)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (*.f64 2 (*.f64 x x)) 6))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (pow.f64 (exp.f64 8) (pow.f64 x 6)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (*.f64 8 (pow.f64 x 6)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 8 (pow.f64 x 6))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 8 (pow.f64 x 6))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (*.f64 8 (pow.f64 x 6)))))))) |
| 1× | egg-herbie |
| 698× | fma-def_binary64 |
| 693× | sqr-pow_binary64 |
| 374× | cube-prod_binary64 |
| 331× | pow-sqr_binary64 |
| 283× | distribute-rgt-in_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 13 | 240 |
| 1 | 29 | 240 |
| 2 | 63 | 240 |
| 3 | 161 | 240 |
| 4 | 626 | 240 |
| 5 | 1023 | 240 |
| 6 | 1220 | 240 |
| 7 | 1482 | 240 |
| 8 | 1869 | 240 |
| 9 | 3289 | 240 |
| 10 | 3947 | 240 |
| 11 | 4520 | 240 |
| 12 | 5388 | 240 |
| 13 | 6728 | 240 |
| 1× | node limit |
| Inputs |
|---|
(*.f64 (sqrt.f64 2) x) |
(*.f64 (sqrt.f64 2) x) |
(*.f64 (sqrt.f64 2) x) |
(*.f64 (sqrt.f64 2) x) |
(*.f64 (sqrt.f64 2) x) |
(*.f64 (sqrt.f64 2) x) |
(*.f64 (sqrt.f64 2) x) |
(*.f64 (sqrt.f64 2) x) |
(*.f64 -1 (*.f64 (sqrt.f64 2) x)) |
(*.f64 -1 (*.f64 (sqrt.f64 2) x)) |
(*.f64 -1 (*.f64 (sqrt.f64 2) x)) |
(*.f64 -1 (*.f64 (sqrt.f64 2) x)) |
(*.f64 2 (pow.f64 x 2)) |
(*.f64 2 (pow.f64 x 2)) |
(*.f64 2 (pow.f64 x 2)) |
(*.f64 2 (pow.f64 x 2)) |
(*.f64 2 (pow.f64 x 2)) |
(*.f64 2 (pow.f64 x 2)) |
(*.f64 2 (pow.f64 x 2)) |
(*.f64 2 (pow.f64 x 2)) |
(*.f64 2 (pow.f64 x 2)) |
(*.f64 2 (pow.f64 x 2)) |
(*.f64 2 (pow.f64 x 2)) |
(*.f64 2 (pow.f64 x 2)) |
(*.f64 8 (pow.f64 x 6)) |
(*.f64 8 (pow.f64 x 6)) |
(*.f64 8 (pow.f64 x 6)) |
(*.f64 8 (pow.f64 x 6)) |
(*.f64 8 (pow.f64 x 6)) |
(*.f64 8 (pow.f64 x 6)) |
(*.f64 8 (pow.f64 x 6)) |
(*.f64 8 (pow.f64 x 6)) |
(*.f64 8 (pow.f64 x 6)) |
(*.f64 8 (pow.f64 x 6)) |
(*.f64 8 (pow.f64 x 6)) |
(*.f64 8 (pow.f64 x 6)) |
| Outputs |
|---|
(*.f64 (sqrt.f64 2) x) |
(*.f64 (sqrt.f64 2) x) |
(*.f64 (sqrt.f64 2) x) |
(*.f64 (sqrt.f64 2) x) |
(*.f64 (sqrt.f64 2) x) |
(*.f64 (sqrt.f64 2) x) |
(*.f64 (sqrt.f64 2) x) |
(*.f64 (sqrt.f64 2) x) |
(*.f64 -1 (*.f64 (sqrt.f64 2) x)) |
(*.f64 (sqrt.f64 2) x) |
(*.f64 -1 (*.f64 (sqrt.f64 2) x)) |
(*.f64 (sqrt.f64 2) x) |
(*.f64 -1 (*.f64 (sqrt.f64 2) x)) |
(*.f64 (sqrt.f64 2) x) |
(*.f64 -1 (*.f64 (sqrt.f64 2) x)) |
(*.f64 (sqrt.f64 2) x) |
(*.f64 2 (pow.f64 x 2)) |
(*.f64 2 (*.f64 x x)) |
(*.f64 x (*.f64 2 x)) |
(*.f64 2 (pow.f64 x 2)) |
(*.f64 2 (*.f64 x x)) |
(*.f64 x (*.f64 2 x)) |
(*.f64 2 (pow.f64 x 2)) |
(*.f64 2 (*.f64 x x)) |
(*.f64 x (*.f64 2 x)) |
(*.f64 2 (pow.f64 x 2)) |
(*.f64 2 (*.f64 x x)) |
(*.f64 x (*.f64 2 x)) |
(*.f64 2 (pow.f64 x 2)) |
(*.f64 2 (*.f64 x x)) |
(*.f64 x (*.f64 2 x)) |
(*.f64 2 (pow.f64 x 2)) |
(*.f64 2 (*.f64 x x)) |
(*.f64 x (*.f64 2 x)) |
(*.f64 2 (pow.f64 x 2)) |
(*.f64 2 (*.f64 x x)) |
(*.f64 x (*.f64 2 x)) |
(*.f64 2 (pow.f64 x 2)) |
(*.f64 2 (*.f64 x x)) |
(*.f64 x (*.f64 2 x)) |
(*.f64 2 (pow.f64 x 2)) |
(*.f64 2 (*.f64 x x)) |
(*.f64 x (*.f64 2 x)) |
(*.f64 2 (pow.f64 x 2)) |
(*.f64 2 (*.f64 x x)) |
(*.f64 x (*.f64 2 x)) |
(*.f64 2 (pow.f64 x 2)) |
(*.f64 2 (*.f64 x x)) |
(*.f64 x (*.f64 2 x)) |
(*.f64 2 (pow.f64 x 2)) |
(*.f64 2 (*.f64 x x)) |
(*.f64 x (*.f64 2 x)) |
(*.f64 8 (pow.f64 x 6)) |
(*.f64 8 (pow.f64 x 6)) |
(*.f64 8 (pow.f64 x 6)) |
(*.f64 8 (pow.f64 x 6)) |
(*.f64 8 (pow.f64 x 6)) |
(*.f64 8 (pow.f64 x 6)) |
(*.f64 8 (pow.f64 x 6)) |
(*.f64 8 (pow.f64 x 6)) |
(*.f64 8 (pow.f64 x 6)) |
(*.f64 8 (pow.f64 x 6)) |
(*.f64 8 (pow.f64 x 6)) |
(*.f64 8 (pow.f64 x 6)) |
Compiled 2203 to 1722 computations (21.8% saved)
13 alts after pruning (5 fresh and 8 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 223 | 4 | 227 |
| Fresh | 1 | 1 | 2 |
| Picked | 1 | 0 | 1 |
| Done | 0 | 8 | 8 |
| Total | 225 | 13 | 238 |
| Status | Error | Program |
|---|---|---|
| ✓ | 27.2b | (sqrt.f64 (*.f64 2 (*.f64 x x))) |
| ✓ | 26.2b | (*.f64 x (neg.f64 (sqrt.f64 2))) |
| ✓ | 36.8b | (*.f64 (sqrt.f64 2) x) |
| ▶ | 1.2b | (pow.f64 (*.f64 (cbrt.f64 (*.f64 2 x)) (cbrt.f64 x)) 3/2) |
| ✓ | 37.6b | (*.f64 (sqrt.f64 (*.f64 2 x)) (sqrt.f64 x)) |
| ▶ | 37.7b | (*.f64 (sqrt.f64 x) (*.f64 (pow.f64 2 1/4) (sqrt.f64 (*.f64 x (sqrt.f64 2))))) |
| ✓ | 37.8b | (pow.f64 (sqrt.f64 (*.f64 x (sqrt.f64 2))) 2) |
| ✓ | 27.6b | (pow.f64 (cbrt.f64 (*.f64 2 (*.f64 x x))) 3/2) |
| ▶ | 27.4b | (*.f64 (pow.f64 2 1/4) (sqrt.f64 (*.f64 (*.f64 x x) (sqrt.f64 2)))) |
| ✓ | 44.6b | (pow.f64 (*.f64 4 (pow.f64 x 4)) 1/4) |
| ✓ | 36.8b | (*.f64 (pow.f64 2 1/4) (*.f64 (pow.f64 2 1/4) x)) |
| ▶ | 27.5b | (*.f64 (pow.f64 (*.f64 (*.f64 x x) 2) 1/4) (pow.f64 (*.f64 (*.f64 x x) 2) 1/4)) |
| ▶ | 1.4b | (pow.f64 (pow.f64 (cbrt.f64 (*.f64 x (sqrt.f64 2))) 2) 3/2) |
Compiled 183 to 148 computations (19.1% saved)
Found 4 expressions with local error:
| New | Error | Program |
|---|---|---|
| ✓ | 0.3b | (pow.f64 (*.f64 (cbrt.f64 (*.f64 2 x)) (cbrt.f64 x)) 3/2) |
| ✓ | 0.3b | (*.f64 (cbrt.f64 (*.f64 2 x)) (cbrt.f64 x)) |
| ✓ | 0.6b | (cbrt.f64 (*.f64 2 x)) |
| ✓ | 0.6b | (cbrt.f64 x) |
Compiled 29 to 19 computations (34.5% saved)
12 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 4.0ms | x | @ | 0 | (pow.f64 (*.f64 (cbrt.f64 (*.f64 2 x)) (cbrt.f64 x)) 3/2) |
| 1.0ms | x | @ | -inf | (pow.f64 (*.f64 (cbrt.f64 (*.f64 2 x)) (cbrt.f64 x)) 3/2) |
| 1.0ms | x | @ | inf | (pow.f64 (*.f64 (cbrt.f64 (*.f64 2 x)) (cbrt.f64 x)) 3/2) |
| 1.0ms | x | @ | -inf | (cbrt.f64 x) |
| 1.0ms | x | @ | -inf | (*.f64 (cbrt.f64 (*.f64 2 x)) (cbrt.f64 x)) |
| 1× | batch-egg-rewrite |
| 755× | pow1_binary64 |
| 706× | add-log-exp_binary64 |
| 706× | log1p-expm1-u_binary64 |
| 706× | expm1-log1p-u_binary64 |
| 685× | add-exp-log_binary64 |
Useful iterations: 1 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 9 | 30 |
| 1 | 187 | 27 |
| 2 | 2119 | 27 |
| 1× | node limit |
| Inputs |
|---|
(cbrt.f64 x) |
(cbrt.f64 (*.f64 2 x)) |
(*.f64 (cbrt.f64 (*.f64 2 x)) (cbrt.f64 x)) |
(pow.f64 (*.f64 (cbrt.f64 (*.f64 2 x)) (cbrt.f64 x)) 3/2) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (cbrt.f64 x)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 x) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (cbrt.f64 x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (cbrt.f64 x)) (pow.f64 (cbrt.f64 (cbrt.f64 x)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (cbrt.f64 x)) 2) (cbrt.f64 (cbrt.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 x 1/6) (pow.f64 x 1/6))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 1 1/3) (cbrt.f64 x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (pow.f64 (cbrt.f64 x) 2) 1/3) (cbrt.f64 (cbrt.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (sqrt.f64 x) 1/3) (pow.f64 (sqrt.f64 x) 1/3))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 x 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 x) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (cbrt.f64 x)) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 x 1/6) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (cbrt.f64 x) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (cbrt.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (cbrt.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (cbrt.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (cbrt.f64 x))))))) |
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (cbrt.f64 (*.f64 x 2))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 x) (cbrt.f64 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (*.f64 x 2)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (cbrt.f64 (*.f64 x 2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (cbrt.f64 (*.f64 x 2))) (pow.f64 (cbrt.f64 (cbrt.f64 (*.f64 x 2))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (cbrt.f64 (*.f64 x 2))) 2) (cbrt.f64 (cbrt.f64 (*.f64 x 2))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 2) (cbrt.f64 x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (*.f64 x 2) 1/6) (pow.f64 (*.f64 x 2) 1/6))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 1 1/3) (cbrt.f64 (*.f64 x 2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (pow.f64 (cbrt.f64 (*.f64 x 2)) 2) 1/3) (cbrt.f64 (cbrt.f64 (*.f64 x 2))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (sqrt.f64 (*.f64 x 2)) 1/3) (pow.f64 (sqrt.f64 (*.f64 x 2)) 1/3))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (cbrt.f64 2) 1) (cbrt.f64 x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (cbrt.f64 2) (pow.f64 (cbrt.f64 (cbrt.f64 x)) 2)) (cbrt.f64 (cbrt.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (cbrt.f64 2) (pow.f64 x 1/6)) (pow.f64 x 1/6))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 x 2) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (*.f64 x 2)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (cbrt.f64 (*.f64 x 2))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 x 2) 1/6) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (cbrt.f64 (*.f64 x 2)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (cbrt.f64 (*.f64 x 2))))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (cbrt.f64 (*.f64 x 2))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (cbrt.f64 (*.f64 x 2))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (cbrt.f64 (*.f64 x 2)))))))) |
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (cbrt.f64 (*.f64 x (*.f64 x 2)))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (*.f64 x (*.f64 x 2))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (cbrt.f64 (*.f64 x (*.f64 x 2)))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (cbrt.f64 (*.f64 x (*.f64 x 2)))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 x (*.f64 x 2)) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (cbrt.f64 (*.f64 x (*.f64 x 2))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (cbrt.f64 (*.f64 x (*.f64 x 2)))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (*.f64 x (*.f64 x 2)))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (cbrt.f64 (*.f64 x (*.f64 x 2)))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (cbrt.f64 (*.f64 x (*.f64 x 2)))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (cbrt.f64 (*.f64 x (*.f64 x 2))))))))) |
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (sqrt.f64 (*.f64 x (*.f64 x 2)))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (*.f64 x (*.f64 x 2))) (sqrt.f64 (cbrt.f64 (*.f64 x (*.f64 x 2)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (*.f64 x (*.f64 x 2))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (sqrt.f64 (*.f64 x (*.f64 x 2))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (cbrt.f64 (*.f64 x (*.f64 x 2)))) (cbrt.f64 (*.f64 x (*.f64 x 2))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (*.f64 x 2)) (sqrt.f64 x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 x) (sqrt.f64 (*.f64 x 2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (sqrt.f64 (*.f64 x (*.f64 x 2)))) (sqrt.f64 (sqrt.f64 (*.f64 x (*.f64 x 2)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 1 3/2) (sqrt.f64 (*.f64 x (*.f64 x 2))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (pow.f64 (cbrt.f64 (*.f64 x (*.f64 x 2))) 2)) 3/2) (pow.f64 (cbrt.f64 (cbrt.f64 (*.f64 x (*.f64 x 2)))) 3/2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (sqrt.f64 (cbrt.f64 (*.f64 x (*.f64 x 2)))) 3/2) (pow.f64 (sqrt.f64 (cbrt.f64 (*.f64 x (*.f64 x 2)))) 3/2))))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (*.f64 x (*.f64 x 2)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (sqrt.f64 (*.f64 x (*.f64 x 2)))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (sqrt.f64 (*.f64 x (*.f64 x 2))) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (sqrt.f64 (*.f64 x (*.f64 x 2)))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (sqrt.f64 (*.f64 x (*.f64 x 2)))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (sqrt.f64 (*.f64 x (*.f64 x 2))))))))) |
| 1× | egg-herbie |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 0 | 0 |
| 1× | saturated |
| Inputs |
|---|
| Outputs |
|---|
Found 3 expressions with local error:
| New | Error | Program |
|---|---|---|
| ✓ | 0.0b | (*.f64 (*.f64 x x) 2) |
| ✓ | 0.5b | (*.f64 (pow.f64 (*.f64 (*.f64 x x) 2) 1/4) (pow.f64 (*.f64 (*.f64 x x) 2) 1/4)) |
| ✓ | 27.0b | (pow.f64 (*.f64 (*.f64 x x) 2) 1/4) |
Compiled 34 to 19 computations (44.1% saved)
9 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 13.0ms | x | @ | inf | (pow.f64 (*.f64 (*.f64 x x) 2) 1/4) |
| 8.0ms | x | @ | 0 | (pow.f64 (*.f64 (*.f64 x x) 2) 1/4) |
| 0.0ms | x | @ | -inf | (pow.f64 (*.f64 (*.f64 x x) 2) 1/4) |
| 0.0ms | x | @ | inf | (*.f64 (*.f64 x x) 2) |
| 0.0ms | x | @ | inf | (*.f64 (pow.f64 (*.f64 (*.f64 x x) 2) 1/4) (pow.f64 (*.f64 (*.f64 x x) 2) 1/4)) |
| 1× | batch-egg-rewrite |
| 665× | pow1_binary64 |
| 619× | add-log-exp_binary64 |
| 619× | log1p-expm1-u_binary64 |
| 619× | expm1-log1p-u_binary64 |
| 600× | add-exp-log_binary64 |
Useful iterations: 1 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 8 | 27 |
| 1 | 174 | 21 |
| 2 | 1936 | 21 |
| 1× | node limit |
| Inputs |
|---|
(pow.f64 (*.f64 (*.f64 x x) 2) 1/4) |
(*.f64 (pow.f64 (*.f64 (*.f64 x x) 2) 1/4) (pow.f64 (*.f64 (*.f64 x x) 2) 1/4)) |
(*.f64 (*.f64 x x) 2) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (sqrt.f64 (*.f64 x (sqrt.f64 2)))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (*.f64 x (sqrt.f64 2))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (sqrt.f64 (*.f64 x (sqrt.f64 2))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (sqrt.f64 (*.f64 x (sqrt.f64 2)))) (cbrt.f64 (*.f64 x (sqrt.f64 2))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (*.f64 x (sqrt.f64 2))) (cbrt.f64 (sqrt.f64 (*.f64 x (sqrt.f64 2)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 x) (pow.f64 2 1/4))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 2 1/4) (sqrt.f64 x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (*.f64 (*.f64 x x) 2) 1/8) (pow.f64 (*.f64 (*.f64 x x) 2) 1/8))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (cbrt.f64 (*.f64 (*.f64 x x) 2))) (sqrt.f64 (cbrt.f64 (*.f64 x (sqrt.f64 2)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 x 1/4) (pow.f64 (*.f64 x 2) 1/4))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 1 1/4) (sqrt.f64 (*.f64 x (sqrt.f64 2))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (*.f64 (pow.f64 x 4) 4)) 1/4) (pow.f64 (cbrt.f64 (*.f64 (*.f64 x x) 2)) 1/4))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (*.f64 x (sqrt.f64 2)) 1/4) (pow.f64 (*.f64 x (sqrt.f64 2)) 1/4))))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (*.f64 x (sqrt.f64 2)))))) (#(struct:change #<rule egg-rr> (2) ((x fabs.f64 (sqrt.f64 (*.f64 x (sqrt.f64 2))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (sqrt.f64 (*.f64 x (sqrt.f64 2)))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (*.f64 (*.f64 x x) 2) 3/4))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (sqrt.f64 (*.f64 x (sqrt.f64 2)))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (sqrt.f64 (*.f64 x (sqrt.f64 2)))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (sqrt.f64 (*.f64 x (sqrt.f64 2))))))))) |
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (*.f64 x (sqrt.f64 2))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 (*.f64 x x) 2) 1/2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (*.f64 x (sqrt.f64 2))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 x (sqrt.f64 2)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 x (sqrt.f64 2)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 (pow.f64 x 4) 4) 1/4)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (*.f64 x (sqrt.f64 2))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (*.f64 (*.f64 x x) 2))))) (#(struct:change #<rule egg-rr> (2) ((x fabs.f64 (*.f64 x (sqrt.f64 2)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (*.f64 x (sqrt.f64 2))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (*.f64 x (sqrt.f64 2)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 x (sqrt.f64 2))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 x (sqrt.f64 2))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (*.f64 x (sqrt.f64 2)))))))) |
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (*.f64 (*.f64 x x) 2)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 (*.f64 x x) 2) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (*.f64 x (sqrt.f64 2))) 4)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 x (sqrt.f64 2)) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 (pow.f64 x 4) 4) 1/2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 (*.f64 x x) 2) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (*.f64 (*.f64 x x) 2)) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 (*.f64 (pow.f64 x 4) 4) (*.f64 (pow.f64 x 4) 4)) 1/4)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (*.f64 (pow.f64 x 4) 4))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (pow.f64 (pow.f64 (exp.f64 x) x) 2))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (*.f64 (*.f64 x x) 2) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 (*.f64 x x) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 (*.f64 x x) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (*.f64 (*.f64 x x) 2))))))) |
| 1× | egg-herbie |
| 412× | associate-*l*_binary64 |
| 372× | fma-neg_binary64 |
| 362× | associate-*r*_binary64 |
| 357× | distribute-rgt-in_binary64 |
| 322× | log-prod_binary64 |
Useful iterations: 2 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 30 | 356 |
| 1 | 74 | 332 |
| 2 | 182 | 272 |
| 3 | 386 | 272 |
| 4 | 891 | 272 |
| 5 | 3814 | 272 |
| 1× | node limit |
| Inputs |
|---|
(exp.f64 (*.f64 1/4 (+.f64 (log.f64 2) (*.f64 2 (log.f64 x))))) |
(exp.f64 (*.f64 1/4 (+.f64 (log.f64 2) (*.f64 2 (log.f64 x))))) |
(exp.f64 (*.f64 1/4 (+.f64 (log.f64 2) (*.f64 2 (log.f64 x))))) |
(exp.f64 (*.f64 1/4 (+.f64 (log.f64 2) (*.f64 2 (log.f64 x))))) |
(exp.f64 (*.f64 1/4 (+.f64 (log.f64 2) (*.f64 -2 (log.f64 (/.f64 1 x)))))) |
(exp.f64 (*.f64 1/4 (+.f64 (log.f64 2) (*.f64 -2 (log.f64 (/.f64 1 x)))))) |
(exp.f64 (*.f64 1/4 (+.f64 (log.f64 2) (*.f64 -2 (log.f64 (/.f64 1 x)))))) |
(exp.f64 (*.f64 1/4 (+.f64 (log.f64 2) (*.f64 -2 (log.f64 (/.f64 1 x)))))) |
(exp.f64 (*.f64 1/4 (+.f64 (log.f64 2) (*.f64 -2 (log.f64 (/.f64 -1 x)))))) |
(exp.f64 (*.f64 1/4 (+.f64 (log.f64 2) (*.f64 -2 (log.f64 (/.f64 -1 x)))))) |
(exp.f64 (*.f64 1/4 (+.f64 (log.f64 2) (*.f64 -2 (log.f64 (/.f64 -1 x)))))) |
(exp.f64 (*.f64 1/4 (+.f64 (log.f64 2) (*.f64 -2 (log.f64 (/.f64 -1 x)))))) |
(*.f64 (sqrt.f64 2) x) |
(*.f64 (sqrt.f64 2) x) |
(*.f64 (sqrt.f64 2) x) |
(*.f64 (sqrt.f64 2) x) |
(*.f64 (sqrt.f64 2) x) |
(*.f64 (sqrt.f64 2) x) |
(*.f64 (sqrt.f64 2) x) |
(*.f64 (sqrt.f64 2) x) |
(*.f64 -1 (*.f64 (sqrt.f64 2) x)) |
(*.f64 -1 (*.f64 (sqrt.f64 2) x)) |
(*.f64 -1 (*.f64 (sqrt.f64 2) x)) |
(*.f64 -1 (*.f64 (sqrt.f64 2) x)) |
(*.f64 2 (pow.f64 x 2)) |
(*.f64 2 (pow.f64 x 2)) |
(*.f64 2 (pow.f64 x 2)) |
(*.f64 2 (pow.f64 x 2)) |
(*.f64 2 (pow.f64 x 2)) |
(*.f64 2 (pow.f64 x 2)) |
(*.f64 2 (pow.f64 x 2)) |
(*.f64 2 (pow.f64 x 2)) |
(*.f64 2 (pow.f64 x 2)) |
(*.f64 2 (pow.f64 x 2)) |
(*.f64 2 (pow.f64 x 2)) |
(*.f64 2 (pow.f64 x 2)) |
| Outputs |
|---|
(exp.f64 (*.f64 1/4 (+.f64 (log.f64 2) (*.f64 2 (log.f64 x))))) |
(pow.f64 (exp.f64 1/4) (+.f64 (log.f64 2) (*.f64 2 (log.f64 x)))) |
(pow.f64 (exp.f64 1/4) (fma.f64 2 (log.f64 x) (log.f64 2))) |
(*.f64 (pow.f64 2 1/4) (sqrt.f64 x)) |
(exp.f64 (*.f64 1/4 (+.f64 (log.f64 2) (*.f64 2 (log.f64 x))))) |
(pow.f64 (exp.f64 1/4) (+.f64 (log.f64 2) (*.f64 2 (log.f64 x)))) |
(pow.f64 (exp.f64 1/4) (fma.f64 2 (log.f64 x) (log.f64 2))) |
(*.f64 (pow.f64 2 1/4) (sqrt.f64 x)) |
(exp.f64 (*.f64 1/4 (+.f64 (log.f64 2) (*.f64 2 (log.f64 x))))) |
(pow.f64 (exp.f64 1/4) (+.f64 (log.f64 2) (*.f64 2 (log.f64 x)))) |
(pow.f64 (exp.f64 1/4) (fma.f64 2 (log.f64 x) (log.f64 2))) |
(*.f64 (pow.f64 2 1/4) (sqrt.f64 x)) |
(exp.f64 (*.f64 1/4 (+.f64 (log.f64 2) (*.f64 2 (log.f64 x))))) |
(pow.f64 (exp.f64 1/4) (+.f64 (log.f64 2) (*.f64 2 (log.f64 x)))) |
(pow.f64 (exp.f64 1/4) (fma.f64 2 (log.f64 x) (log.f64 2))) |
(*.f64 (pow.f64 2 1/4) (sqrt.f64 x)) |
(exp.f64 (*.f64 1/4 (+.f64 (log.f64 2) (*.f64 -2 (log.f64 (/.f64 1 x)))))) |
(pow.f64 (exp.f64 1/4) (+.f64 (log.f64 2) (*.f64 2 (log.f64 x)))) |
(pow.f64 (exp.f64 1/4) (fma.f64 2 (log.f64 x) (log.f64 2))) |
(*.f64 (pow.f64 2 1/4) (sqrt.f64 x)) |
(exp.f64 (*.f64 1/4 (+.f64 (log.f64 2) (*.f64 -2 (log.f64 (/.f64 1 x)))))) |
(pow.f64 (exp.f64 1/4) (+.f64 (log.f64 2) (*.f64 2 (log.f64 x)))) |
(pow.f64 (exp.f64 1/4) (fma.f64 2 (log.f64 x) (log.f64 2))) |
(*.f64 (pow.f64 2 1/4) (sqrt.f64 x)) |
(exp.f64 (*.f64 1/4 (+.f64 (log.f64 2) (*.f64 -2 (log.f64 (/.f64 1 x)))))) |
(pow.f64 (exp.f64 1/4) (+.f64 (log.f64 2) (*.f64 2 (log.f64 x)))) |
(pow.f64 (exp.f64 1/4) (fma.f64 2 (log.f64 x) (log.f64 2))) |
(*.f64 (pow.f64 2 1/4) (sqrt.f64 x)) |
(exp.f64 (*.f64 1/4 (+.f64 (log.f64 2) (*.f64 -2 (log.f64 (/.f64 1 x)))))) |
(pow.f64 (exp.f64 1/4) (+.f64 (log.f64 2) (*.f64 2 (log.f64 x)))) |
(pow.f64 (exp.f64 1/4) (fma.f64 2 (log.f64 x) (log.f64 2))) |
(*.f64 (pow.f64 2 1/4) (sqrt.f64 x)) |
(exp.f64 (*.f64 1/4 (+.f64 (log.f64 2) (*.f64 -2 (log.f64 (/.f64 -1 x)))))) |
(pow.f64 (exp.f64 1/4) (+.f64 (log.f64 2) (*.f64 2 (log.f64 x)))) |
(pow.f64 (exp.f64 1/4) (fma.f64 2 (log.f64 x) (log.f64 2))) |
(*.f64 (pow.f64 2 1/4) (sqrt.f64 x)) |
(exp.f64 (*.f64 1/4 (+.f64 (log.f64 2) (*.f64 -2 (log.f64 (/.f64 -1 x)))))) |
(pow.f64 (exp.f64 1/4) (+.f64 (log.f64 2) (*.f64 2 (log.f64 x)))) |
(pow.f64 (exp.f64 1/4) (fma.f64 2 (log.f64 x) (log.f64 2))) |
(*.f64 (pow.f64 2 1/4) (sqrt.f64 x)) |
(exp.f64 (*.f64 1/4 (+.f64 (log.f64 2) (*.f64 -2 (log.f64 (/.f64 -1 x)))))) |
(pow.f64 (exp.f64 1/4) (+.f64 (log.f64 2) (*.f64 2 (log.f64 x)))) |
(pow.f64 (exp.f64 1/4) (fma.f64 2 (log.f64 x) (log.f64 2))) |
(*.f64 (pow.f64 2 1/4) (sqrt.f64 x)) |
(exp.f64 (*.f64 1/4 (+.f64 (log.f64 2) (*.f64 -2 (log.f64 (/.f64 -1 x)))))) |
(pow.f64 (exp.f64 1/4) (+.f64 (log.f64 2) (*.f64 2 (log.f64 x)))) |
(pow.f64 (exp.f64 1/4) (fma.f64 2 (log.f64 x) (log.f64 2))) |
(*.f64 (pow.f64 2 1/4) (sqrt.f64 x)) |
(*.f64 (sqrt.f64 2) x) |
(*.f64 x (sqrt.f64 2)) |
(*.f64 (sqrt.f64 2) x) |
(*.f64 x (sqrt.f64 2)) |
(*.f64 (sqrt.f64 2) x) |
(*.f64 x (sqrt.f64 2)) |
(*.f64 (sqrt.f64 2) x) |
(*.f64 x (sqrt.f64 2)) |
(*.f64 (sqrt.f64 2) x) |
(*.f64 x (sqrt.f64 2)) |
(*.f64 (sqrt.f64 2) x) |
(*.f64 x (sqrt.f64 2)) |
(*.f64 (sqrt.f64 2) x) |
(*.f64 x (sqrt.f64 2)) |
(*.f64 (sqrt.f64 2) x) |
(*.f64 x (sqrt.f64 2)) |
(*.f64 -1 (*.f64 (sqrt.f64 2) x)) |
(neg.f64 (*.f64 x (sqrt.f64 2))) |
(*.f64 x (neg.f64 (sqrt.f64 2))) |
(*.f64 -1 (*.f64 (sqrt.f64 2) x)) |
(neg.f64 (*.f64 x (sqrt.f64 2))) |
(*.f64 x (neg.f64 (sqrt.f64 2))) |
(*.f64 -1 (*.f64 (sqrt.f64 2) x)) |
(neg.f64 (*.f64 x (sqrt.f64 2))) |
(*.f64 x (neg.f64 (sqrt.f64 2))) |
(*.f64 -1 (*.f64 (sqrt.f64 2) x)) |
(neg.f64 (*.f64 x (sqrt.f64 2))) |
(*.f64 x (neg.f64 (sqrt.f64 2))) |
(*.f64 2 (pow.f64 x 2)) |
(*.f64 2 (*.f64 x x)) |
(*.f64 x (*.f64 x 2)) |
(*.f64 2 (pow.f64 x 2)) |
(*.f64 2 (*.f64 x x)) |
(*.f64 x (*.f64 x 2)) |
(*.f64 2 (pow.f64 x 2)) |
(*.f64 2 (*.f64 x x)) |
(*.f64 x (*.f64 x 2)) |
(*.f64 2 (pow.f64 x 2)) |
(*.f64 2 (*.f64 x x)) |
(*.f64 x (*.f64 x 2)) |
(*.f64 2 (pow.f64 x 2)) |
(*.f64 2 (*.f64 x x)) |
(*.f64 x (*.f64 x 2)) |
(*.f64 2 (pow.f64 x 2)) |
(*.f64 2 (*.f64 x x)) |
(*.f64 x (*.f64 x 2)) |
(*.f64 2 (pow.f64 x 2)) |
(*.f64 2 (*.f64 x x)) |
(*.f64 x (*.f64 x 2)) |
(*.f64 2 (pow.f64 x 2)) |
(*.f64 2 (*.f64 x x)) |
(*.f64 x (*.f64 x 2)) |
(*.f64 2 (pow.f64 x 2)) |
(*.f64 2 (*.f64 x x)) |
(*.f64 x (*.f64 x 2)) |
(*.f64 2 (pow.f64 x 2)) |
(*.f64 2 (*.f64 x x)) |
(*.f64 x (*.f64 x 2)) |
(*.f64 2 (pow.f64 x 2)) |
(*.f64 2 (*.f64 x x)) |
(*.f64 x (*.f64 x 2)) |
(*.f64 2 (pow.f64 x 2)) |
(*.f64 2 (*.f64 x x)) |
(*.f64 x (*.f64 x 2)) |
Found 3 expressions with local error:
| New | Error | Program |
|---|---|---|
| ✓ | 0.3b | (*.f64 (*.f64 x x) (sqrt.f64 2)) |
| ✓ | 0.3b | (*.f64 (pow.f64 2 1/4) (sqrt.f64 (*.f64 (*.f64 x x) (sqrt.f64 2)))) |
| ✓ | 26.3b | (sqrt.f64 (*.f64 (*.f64 x x) (sqrt.f64 2))) |
Compiled 36 to 24 computations (33.3% saved)
9 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 1.0ms | x | @ | 0 | (sqrt.f64 (*.f64 (*.f64 x x) (sqrt.f64 2))) |
| 1.0ms | x | @ | 0 | (*.f64 (pow.f64 2 1/4) (sqrt.f64 (*.f64 (*.f64 x x) (sqrt.f64 2)))) |
| 1.0ms | x | @ | inf | (*.f64 (pow.f64 2 1/4) (sqrt.f64 (*.f64 (*.f64 x x) (sqrt.f64 2)))) |
| 1.0ms | x | @ | inf | (sqrt.f64 (*.f64 (*.f64 x x) (sqrt.f64 2))) |
| 0.0ms | x | @ | inf | (*.f64 (*.f64 x x) (sqrt.f64 2)) |
| 1× | batch-egg-rewrite |
| 795× | pow1_binary64 |
| 736× | add-log-exp_binary64 |
| 736× | log1p-expm1-u_binary64 |
| 736× | expm1-log1p-u_binary64 |
| 716× | add-exp-log_binary64 |
Useful iterations: 1 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 10 | 37 |
| 1 | 207 | 22 |
| 2 | 2269 | 22 |
| 1× | node limit |
| Inputs |
|---|
(sqrt.f64 (*.f64 (*.f64 x x) (sqrt.f64 2))) |
(*.f64 (pow.f64 2 1/4) (sqrt.f64 (*.f64 (*.f64 x x) (sqrt.f64 2)))) |
(*.f64 (*.f64 x x) (sqrt.f64 2)) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (*.f64 x (pow.f64 2 1/4))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 x (pow.f64 2 1/4))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 x (pow.f64 2 1/4)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 2 1/4) x)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (*.f64 x (pow.f64 2 1/4)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (sqrt.f64 (*.f64 2 (pow.f64 x 4)))) (cbrt.f64 (*.f64 x (pow.f64 2 1/4))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (*.f64 x (pow.f64 2 1/4))) (cbrt.f64 (sqrt.f64 (*.f64 2 (pow.f64 x 4)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 x) (sqrt.f64 (*.f64 x (sqrt.f64 2))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (sqrt.f64 x) (pow.f64 2 1/8)) (*.f64 (sqrt.f64 x) (pow.f64 2 1/8)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (cbrt.f64 (*.f64 2 (pow.f64 x 4)))) (sqrt.f64 (cbrt.f64 (sqrt.f64 (*.f64 2 (pow.f64 x 4))))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 1 1/2) (*.f64 x (pow.f64 2 1/4)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (*.f64 2 (pow.f64 x 4))) 1/2) (pow.f64 (cbrt.f64 (sqrt.f64 (*.f64 2 (pow.f64 x 4)))) 1/2))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (*.f64 2 (pow.f64 x 4))) 1/2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 x (pow.f64 2 1/4)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 x (pow.f64 2 1/4)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (*.f64 x (pow.f64 2 1/4))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 (sqrt.f64 x) (pow.f64 2 1/8)) 2)))) (#(struct:change #<rule egg-rr> (2) ((x fabs.f64 (*.f64 x (pow.f64 2 1/4)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (pow.f64 (exp.f64 x) (pow.f64 2 1/4)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (*.f64 x (pow.f64 2 1/4)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 x (pow.f64 2 1/4))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 x (pow.f64 2 1/4))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (*.f64 x (pow.f64 2 1/4)))))))) |
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (*.f64 x (sqrt.f64 2))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 x (sqrt.f64 2)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 x (sqrt.f64 2)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (*.f64 x (sqrt.f64 2))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (*.f64 x (sqrt.f64 2))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (*.f64 x (sqrt.f64 2)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (*.f64 x (sqrt.f64 2))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (*.f64 x (sqrt.f64 2)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (*.f64 (pow.f64 (*.f64 x (pow.f64 2 1/4)) 3) (pow.f64 (pow.f64 2 1/4) 3)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (*.f64 (pow.f64 (pow.f64 2 1/4) 3) (pow.f64 (*.f64 x (pow.f64 2 1/4)) 3)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (*.f64 (pow.f64 x 3) (*.f64 2 (sqrt.f64 2))))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 x (sqrt.f64 2))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 x (sqrt.f64 2))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (*.f64 x (sqrt.f64 2)))))))) |
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (sqrt.f64 (*.f64 2 (pow.f64 x 4)))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (*.f64 2 (pow.f64 x 4))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 x (pow.f64 2 1/4)) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 2 (pow.f64 x 4)) 1/2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (sqrt.f64 (*.f64 2 (pow.f64 x 4))) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (sqrt.f64 (*.f64 2 (pow.f64 x 4)))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (*.f64 2 (pow.f64 x 4)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (pow.f64 (exp.f64 x) (*.f64 x (sqrt.f64 2))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (sqrt.f64 (*.f64 2 (pow.f64 x 4))) 3))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (*.f64 (pow.f64 (*.f64 x x) 3) (*.f64 2 (sqrt.f64 2))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (*.f64 (*.f64 2 (sqrt.f64 2)) (pow.f64 (*.f64 x x) 3)))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (sqrt.f64 (*.f64 2 (pow.f64 x 4)))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (sqrt.f64 (*.f64 2 (pow.f64 x 4)))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (sqrt.f64 (*.f64 2 (pow.f64 x 4))))))))) |
| 1× | egg-herbie |
| 706× | distribute-lft-neg-in_binary64 |
| 688× | distribute-rgt-neg-in_binary64 |
| 598× | fma-def_binary64 |
| 454× | unswap-sqr_binary64 |
| 441× | fma-neg_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 15 | 388 |
| 1 | 37 | 388 |
| 2 | 95 | 388 |
| 3 | 270 | 388 |
| 4 | 1142 | 388 |
| 5 | 2167 | 388 |
| 6 | 3835 | 388 |
| 7 | 5287 | 388 |
| 8 | 6626 | 388 |
| 9 | 7448 | 388 |
| 1× | node limit |
| Inputs |
|---|
(*.f64 (sqrt.f64 (sqrt.f64 2)) x) |
(*.f64 (sqrt.f64 (sqrt.f64 2)) x) |
(*.f64 (sqrt.f64 (sqrt.f64 2)) x) |
(*.f64 (sqrt.f64 (sqrt.f64 2)) x) |
(*.f64 (sqrt.f64 (sqrt.f64 2)) x) |
(*.f64 (sqrt.f64 (sqrt.f64 2)) x) |
(*.f64 (sqrt.f64 (sqrt.f64 2)) x) |
(*.f64 (sqrt.f64 (sqrt.f64 2)) x) |
(*.f64 -1 (*.f64 (sqrt.f64 (sqrt.f64 2)) x)) |
(*.f64 -1 (*.f64 (sqrt.f64 (sqrt.f64 2)) x)) |
(*.f64 -1 (*.f64 (sqrt.f64 (sqrt.f64 2)) x)) |
(*.f64 -1 (*.f64 (sqrt.f64 (sqrt.f64 2)) x)) |
(*.f64 (sqrt.f64 (sqrt.f64 2)) (*.f64 (pow.f64 2 1/4) x)) |
(*.f64 (sqrt.f64 (sqrt.f64 2)) (*.f64 (pow.f64 2 1/4) x)) |
(*.f64 (sqrt.f64 (sqrt.f64 2)) (*.f64 (pow.f64 2 1/4) x)) |
(*.f64 (sqrt.f64 (sqrt.f64 2)) (*.f64 (pow.f64 2 1/4) x)) |
(*.f64 (sqrt.f64 (sqrt.f64 2)) (*.f64 (pow.f64 2 1/4) x)) |
(*.f64 (sqrt.f64 (sqrt.f64 2)) (*.f64 (pow.f64 2 1/4) x)) |
(*.f64 (sqrt.f64 (sqrt.f64 2)) (*.f64 (pow.f64 2 1/4) x)) |
(*.f64 (sqrt.f64 (sqrt.f64 2)) (*.f64 (pow.f64 2 1/4) x)) |
(*.f64 -1 (*.f64 (sqrt.f64 (sqrt.f64 2)) (*.f64 (pow.f64 2 1/4) x))) |
(*.f64 -1 (*.f64 (sqrt.f64 (sqrt.f64 2)) (*.f64 (pow.f64 2 1/4) x))) |
(*.f64 -1 (*.f64 (sqrt.f64 (sqrt.f64 2)) (*.f64 (pow.f64 2 1/4) x))) |
(*.f64 -1 (*.f64 (sqrt.f64 (sqrt.f64 2)) (*.f64 (pow.f64 2 1/4) x))) |
(*.f64 (sqrt.f64 2) (pow.f64 x 2)) |
(*.f64 (sqrt.f64 2) (pow.f64 x 2)) |
(*.f64 (sqrt.f64 2) (pow.f64 x 2)) |
(*.f64 (sqrt.f64 2) (pow.f64 x 2)) |
(*.f64 (sqrt.f64 2) (pow.f64 x 2)) |
(*.f64 (sqrt.f64 2) (pow.f64 x 2)) |
(*.f64 (sqrt.f64 2) (pow.f64 x 2)) |
(*.f64 (sqrt.f64 2) (pow.f64 x 2)) |
(*.f64 (sqrt.f64 2) (pow.f64 x 2)) |
(*.f64 (sqrt.f64 2) (pow.f64 x 2)) |
(*.f64 (sqrt.f64 2) (pow.f64 x 2)) |
(*.f64 (sqrt.f64 2) (pow.f64 x 2)) |
| Outputs |
|---|
(*.f64 (sqrt.f64 (sqrt.f64 2)) x) |
(*.f64 (sqrt.f64 (sqrt.f64 2)) x) |
(*.f64 (sqrt.f64 (sqrt.f64 2)) x) |
(*.f64 (sqrt.f64 (sqrt.f64 2)) x) |
(*.f64 (sqrt.f64 (sqrt.f64 2)) x) |
(*.f64 (sqrt.f64 (sqrt.f64 2)) x) |
(*.f64 (sqrt.f64 (sqrt.f64 2)) x) |
(*.f64 (sqrt.f64 (sqrt.f64 2)) x) |
(*.f64 -1 (*.f64 (sqrt.f64 (sqrt.f64 2)) x)) |
(neg.f64 (*.f64 (sqrt.f64 (sqrt.f64 2)) x)) |
(*.f64 (sqrt.f64 (sqrt.f64 2)) (neg.f64 x)) |
(*.f64 -1 (*.f64 (sqrt.f64 (sqrt.f64 2)) x)) |
(neg.f64 (*.f64 (sqrt.f64 (sqrt.f64 2)) x)) |
(*.f64 (sqrt.f64 (sqrt.f64 2)) (neg.f64 x)) |
(*.f64 -1 (*.f64 (sqrt.f64 (sqrt.f64 2)) x)) |
(neg.f64 (*.f64 (sqrt.f64 (sqrt.f64 2)) x)) |
(*.f64 (sqrt.f64 (sqrt.f64 2)) (neg.f64 x)) |
(*.f64 -1 (*.f64 (sqrt.f64 (sqrt.f64 2)) x)) |
(neg.f64 (*.f64 (sqrt.f64 (sqrt.f64 2)) x)) |
(*.f64 (sqrt.f64 (sqrt.f64 2)) (neg.f64 x)) |
(*.f64 (sqrt.f64 (sqrt.f64 2)) (*.f64 (pow.f64 2 1/4) x)) |
(*.f64 (sqrt.f64 (sqrt.f64 2)) (*.f64 x (pow.f64 2 1/4))) |
(*.f64 x (*.f64 (sqrt.f64 (sqrt.f64 2)) (pow.f64 2 1/4))) |
(*.f64 (sqrt.f64 (sqrt.f64 2)) (*.f64 (pow.f64 2 1/4) x)) |
(*.f64 (sqrt.f64 (sqrt.f64 2)) (*.f64 x (pow.f64 2 1/4))) |
(*.f64 x (*.f64 (sqrt.f64 (sqrt.f64 2)) (pow.f64 2 1/4))) |
(*.f64 (sqrt.f64 (sqrt.f64 2)) (*.f64 (pow.f64 2 1/4) x)) |
(*.f64 (sqrt.f64 (sqrt.f64 2)) (*.f64 x (pow.f64 2 1/4))) |
(*.f64 x (*.f64 (sqrt.f64 (sqrt.f64 2)) (pow.f64 2 1/4))) |
(*.f64 (sqrt.f64 (sqrt.f64 2)) (*.f64 (pow.f64 2 1/4) x)) |
(*.f64 (sqrt.f64 (sqrt.f64 2)) (*.f64 x (pow.f64 2 1/4))) |
(*.f64 x (*.f64 (sqrt.f64 (sqrt.f64 2)) (pow.f64 2 1/4))) |
(*.f64 (sqrt.f64 (sqrt.f64 2)) (*.f64 (pow.f64 2 1/4) x)) |
(*.f64 (sqrt.f64 (sqrt.f64 2)) (*.f64 x (pow.f64 2 1/4))) |
(*.f64 x (*.f64 (sqrt.f64 (sqrt.f64 2)) (pow.f64 2 1/4))) |
(*.f64 (sqrt.f64 (sqrt.f64 2)) (*.f64 (pow.f64 2 1/4) x)) |
(*.f64 (sqrt.f64 (sqrt.f64 2)) (*.f64 x (pow.f64 2 1/4))) |
(*.f64 x (*.f64 (sqrt.f64 (sqrt.f64 2)) (pow.f64 2 1/4))) |
(*.f64 (sqrt.f64 (sqrt.f64 2)) (*.f64 (pow.f64 2 1/4) x)) |
(*.f64 (sqrt.f64 (sqrt.f64 2)) (*.f64 x (pow.f64 2 1/4))) |
(*.f64 x (*.f64 (sqrt.f64 (sqrt.f64 2)) (pow.f64 2 1/4))) |
(*.f64 (sqrt.f64 (sqrt.f64 2)) (*.f64 (pow.f64 2 1/4) x)) |
(*.f64 (sqrt.f64 (sqrt.f64 2)) (*.f64 x (pow.f64 2 1/4))) |
(*.f64 x (*.f64 (sqrt.f64 (sqrt.f64 2)) (pow.f64 2 1/4))) |
(*.f64 -1 (*.f64 (sqrt.f64 (sqrt.f64 2)) (*.f64 (pow.f64 2 1/4) x))) |
(neg.f64 (*.f64 (sqrt.f64 (sqrt.f64 2)) (*.f64 x (pow.f64 2 1/4)))) |
(*.f64 (sqrt.f64 (sqrt.f64 2)) (neg.f64 (*.f64 x (pow.f64 2 1/4)))) |
(neg.f64 (*.f64 x (*.f64 (sqrt.f64 (sqrt.f64 2)) (pow.f64 2 1/4)))) |
(*.f64 (sqrt.f64 (sqrt.f64 2)) (*.f64 (pow.f64 2 1/4) (neg.f64 x))) |
(*.f64 (sqrt.f64 (sqrt.f64 2)) (*.f64 x (neg.f64 (pow.f64 2 1/4)))) |
(*.f64 -1 (*.f64 (sqrt.f64 (sqrt.f64 2)) (*.f64 (pow.f64 2 1/4) x))) |
(neg.f64 (*.f64 (sqrt.f64 (sqrt.f64 2)) (*.f64 x (pow.f64 2 1/4)))) |
(*.f64 (sqrt.f64 (sqrt.f64 2)) (neg.f64 (*.f64 x (pow.f64 2 1/4)))) |
(neg.f64 (*.f64 x (*.f64 (sqrt.f64 (sqrt.f64 2)) (pow.f64 2 1/4)))) |
(*.f64 (sqrt.f64 (sqrt.f64 2)) (*.f64 (pow.f64 2 1/4) (neg.f64 x))) |
(*.f64 (sqrt.f64 (sqrt.f64 2)) (*.f64 x (neg.f64 (pow.f64 2 1/4)))) |
(*.f64 -1 (*.f64 (sqrt.f64 (sqrt.f64 2)) (*.f64 (pow.f64 2 1/4) x))) |
(neg.f64 (*.f64 (sqrt.f64 (sqrt.f64 2)) (*.f64 x (pow.f64 2 1/4)))) |
(*.f64 (sqrt.f64 (sqrt.f64 2)) (neg.f64 (*.f64 x (pow.f64 2 1/4)))) |
(neg.f64 (*.f64 x (*.f64 (sqrt.f64 (sqrt.f64 2)) (pow.f64 2 1/4)))) |
(*.f64 (sqrt.f64 (sqrt.f64 2)) (*.f64 (pow.f64 2 1/4) (neg.f64 x))) |
(*.f64 (sqrt.f64 (sqrt.f64 2)) (*.f64 x (neg.f64 (pow.f64 2 1/4)))) |
(*.f64 -1 (*.f64 (sqrt.f64 (sqrt.f64 2)) (*.f64 (pow.f64 2 1/4) x))) |
(neg.f64 (*.f64 (sqrt.f64 (sqrt.f64 2)) (*.f64 x (pow.f64 2 1/4)))) |
(*.f64 (sqrt.f64 (sqrt.f64 2)) (neg.f64 (*.f64 x (pow.f64 2 1/4)))) |
(neg.f64 (*.f64 x (*.f64 (sqrt.f64 (sqrt.f64 2)) (pow.f64 2 1/4)))) |
(*.f64 (sqrt.f64 (sqrt.f64 2)) (*.f64 (pow.f64 2 1/4) (neg.f64 x))) |
(*.f64 (sqrt.f64 (sqrt.f64 2)) (*.f64 x (neg.f64 (pow.f64 2 1/4)))) |
(*.f64 (sqrt.f64 2) (pow.f64 x 2)) |
(*.f64 (sqrt.f64 2) (*.f64 x x)) |
(*.f64 (sqrt.f64 2) (pow.f64 x 2)) |
(*.f64 (sqrt.f64 2) (*.f64 x x)) |
(*.f64 (sqrt.f64 2) (pow.f64 x 2)) |
(*.f64 (sqrt.f64 2) (*.f64 x x)) |
(*.f64 (sqrt.f64 2) (pow.f64 x 2)) |
(*.f64 (sqrt.f64 2) (*.f64 x x)) |
(*.f64 (sqrt.f64 2) (pow.f64 x 2)) |
(*.f64 (sqrt.f64 2) (*.f64 x x)) |
(*.f64 (sqrt.f64 2) (pow.f64 x 2)) |
(*.f64 (sqrt.f64 2) (*.f64 x x)) |
(*.f64 (sqrt.f64 2) (pow.f64 x 2)) |
(*.f64 (sqrt.f64 2) (*.f64 x x)) |
(*.f64 (sqrt.f64 2) (pow.f64 x 2)) |
(*.f64 (sqrt.f64 2) (*.f64 x x)) |
(*.f64 (sqrt.f64 2) (pow.f64 x 2)) |
(*.f64 (sqrt.f64 2) (*.f64 x x)) |
(*.f64 (sqrt.f64 2) (pow.f64 x 2)) |
(*.f64 (sqrt.f64 2) (*.f64 x x)) |
(*.f64 (sqrt.f64 2) (pow.f64 x 2)) |
(*.f64 (sqrt.f64 2) (*.f64 x x)) |
(*.f64 (sqrt.f64 2) (pow.f64 x 2)) |
(*.f64 (sqrt.f64 2) (*.f64 x x)) |
Found 4 expressions with local error:
| New | Error | Program |
|---|---|---|
| ✓ | 0.3b | (pow.f64 (pow.f64 (cbrt.f64 (*.f64 x (sqrt.f64 2))) 2) 3/2) |
| ✓ | 0.5b | (pow.f64 (cbrt.f64 (*.f64 x (sqrt.f64 2))) 2) |
| 0.5b | (*.f64 x (sqrt.f64 2)) | |
| ✓ | 0.6b | (cbrt.f64 (*.f64 x (sqrt.f64 2))) |
Compiled 31 to 26 computations (16.1% saved)
9 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 4.0ms | x | @ | -inf | (pow.f64 (pow.f64 (cbrt.f64 (*.f64 x (sqrt.f64 2))) 2) 3/2) |
| 3.0ms | x | @ | 0 | (pow.f64 (pow.f64 (cbrt.f64 (*.f64 x (sqrt.f64 2))) 2) 3/2) |
| 2.0ms | x | @ | inf | (pow.f64 (pow.f64 (cbrt.f64 (*.f64 x (sqrt.f64 2))) 2) 3/2) |
| 1.0ms | x | @ | -inf | (pow.f64 (cbrt.f64 (*.f64 x (sqrt.f64 2))) 2) |
| 1.0ms | x | @ | 0 | (pow.f64 (cbrt.f64 (*.f64 x (sqrt.f64 2))) 2) |
| 1× | batch-egg-rewrite |
| 652× | pow1_binary64 |
| 616× | add-log-exp_binary64 |
| 615× | log1p-expm1-u_binary64 |
| 615× | expm1-log1p-u_binary64 |
| 600× | add-exp-log_binary64 |
Useful iterations: 1 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 9 | 30 |
| 1 | 191 | 23 |
| 2 | 2011 | 23 |
| 1× | node limit |
| Inputs |
|---|
(cbrt.f64 (*.f64 x (sqrt.f64 2))) |
(pow.f64 (cbrt.f64 (*.f64 x (sqrt.f64 2))) 2) |
(pow.f64 (pow.f64 (cbrt.f64 (*.f64 x (sqrt.f64 2))) 2) 3/2) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (cbrt.f64 (*.f64 x (sqrt.f64 2)))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (*.f64 x (sqrt.f64 2))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (cbrt.f64 (*.f64 x (sqrt.f64 2))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 x) (cbrt.f64 (sqrt.f64 2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (cbrt.f64 (*.f64 x (sqrt.f64 2)))) (cbrt.f64 (cbrt.f64 (*.f64 2 (*.f64 x x)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (cbrt.f64 (*.f64 2 (*.f64 x x)))) (cbrt.f64 (cbrt.f64 (*.f64 x (sqrt.f64 2)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (sqrt.f64 2)) (cbrt.f64 x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (*.f64 x (sqrt.f64 2)) 1/6) (pow.f64 (*.f64 x (sqrt.f64 2)) 1/6))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (cbrt.f64 (pow.f64 (cbrt.f64 (*.f64 x (sqrt.f64 2))) 4))) (sqrt.f64 (cbrt.f64 (cbrt.f64 (*.f64 2 (*.f64 x x))))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 1 1/3) (cbrt.f64 (*.f64 x (sqrt.f64 2))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (sqrt.f64 (*.f64 x (sqrt.f64 2))) 1/3) (pow.f64 (sqrt.f64 (*.f64 x (sqrt.f64 2))) 1/3))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 x (sqrt.f64 2)) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (*.f64 x (sqrt.f64 2))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (*.f64 2 (*.f64 x x))) 1/2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (cbrt.f64 (*.f64 x (sqrt.f64 2)))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 x (sqrt.f64 2)) 1/6) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (cbrt.f64 (*.f64 2 (*.f64 x x))))))) (#(struct:change #<rule egg-rr> (2) ((x fabs.f64 (cbrt.f64 (*.f64 x (sqrt.f64 2))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (cbrt.f64 (*.f64 x (sqrt.f64 2)))))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (cbrt.f64 (*.f64 x (sqrt.f64 2)))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (cbrt.f64 (*.f64 x (sqrt.f64 2)))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (cbrt.f64 (*.f64 x (sqrt.f64 2))))))))) |
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (cbrt.f64 (*.f64 2 (*.f64 x x)))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (*.f64 x (sqrt.f64 2))) (cbrt.f64 (*.f64 x (sqrt.f64 2))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (*.f64 2 (*.f64 x x))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (cbrt.f64 (*.f64 2 (*.f64 x x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 x) (*.f64 (cbrt.f64 (sqrt.f64 2)) (cbrt.f64 (*.f64 x (sqrt.f64 2)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 x) 2) (cbrt.f64 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (cbrt.f64 (*.f64 2 (*.f64 x x)))) (cbrt.f64 (pow.f64 (cbrt.f64 (*.f64 x (sqrt.f64 2))) 4)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (cbrt.f64 (*.f64 2 (*.f64 x x)))) (*.f64 (cbrt.f64 (cbrt.f64 (*.f64 x (sqrt.f64 2)))) (cbrt.f64 (*.f64 x (sqrt.f64 2)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (pow.f64 (cbrt.f64 (*.f64 x (sqrt.f64 2))) 4)) (cbrt.f64 (cbrt.f64 (*.f64 2 (*.f64 x x)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (*.f64 x (sqrt.f64 2)) 1/6) (*.f64 (pow.f64 (*.f64 x (sqrt.f64 2)) 1/6) (cbrt.f64 (*.f64 x (sqrt.f64 2)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (*.f64 x (sqrt.f64 2))) (pow.f64 (*.f64 x (sqrt.f64 2)) 1/6))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (cbrt.f64 (*.f64 x (sqrt.f64 2))) (cbrt.f64 x)) (cbrt.f64 (sqrt.f64 2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (cbrt.f64 (*.f64 x (sqrt.f64 2))) (cbrt.f64 (cbrt.f64 (*.f64 2 (*.f64 x x))))) (cbrt.f64 (cbrt.f64 (*.f64 x (sqrt.f64 2)))))))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (cbrt.f64 (*.f64 x (sqrt.f64 2))) 4))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (cbrt.f64 (*.f64 2 (*.f64 x x)))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (*.f64 2 (*.f64 x x)))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (cbrt.f64 (*.f64 2 (*.f64 x x)))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (cbrt.f64 (*.f64 2 (*.f64 x x)))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (cbrt.f64 (*.f64 2 (*.f64 x x))))))))) |
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (*.f64 x (sqrt.f64 2))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 x (sqrt.f64 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 2) x)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 x (sqrt.f64 2)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (*.f64 x (sqrt.f64 2))) (cbrt.f64 (*.f64 2 (*.f64 x x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (*.f64 2 (*.f64 x x))) (cbrt.f64 (*.f64 x (sqrt.f64 2))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (*.f64 x (sqrt.f64 2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 x) 2) (*.f64 (cbrt.f64 x) (sqrt.f64 2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (pow.f64 (cbrt.f64 (*.f64 x (sqrt.f64 2))) 4)) (*.f64 (cbrt.f64 (cbrt.f64 (*.f64 2 (*.f64 x x)))) (cbrt.f64 (*.f64 x (sqrt.f64 2)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 2) (*.f64 (cbrt.f64 (sqrt.f64 2)) x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 x) (*.f64 (sqrt.f64 x) (sqrt.f64 2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 2 1/4) (*.f64 (pow.f64 2 1/4) x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (*.f64 x (sqrt.f64 2))) (sqrt.f64 (*.f64 x (sqrt.f64 2))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (pow.f64 (*.f64 x (sqrt.f64 2)) 1/6) 3) (pow.f64 (pow.f64 (*.f64 x (sqrt.f64 2)) 1/6) 3))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 1 3/2) (*.f64 x (sqrt.f64 2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (pow.f64 (cbrt.f64 (*.f64 x (sqrt.f64 2))) 4)) 3/2) (pow.f64 (cbrt.f64 (cbrt.f64 (*.f64 2 (*.f64 x x)))) 3/2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 x (cbrt.f64 2)) (cbrt.f64 (sqrt.f64 2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 x (pow.f64 2 1/4)) (pow.f64 2 1/4))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (sqrt.f64 2) (pow.f64 (cbrt.f64 x) 2)) (cbrt.f64 x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (sqrt.f64 2) (sqrt.f64 x)) (sqrt.f64 x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (cbrt.f64 (*.f64 2 (*.f64 x x))) (cbrt.f64 x)) (cbrt.f64 (sqrt.f64 2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (cbrt.f64 (*.f64 2 (*.f64 x x))) (cbrt.f64 (cbrt.f64 (*.f64 2 (*.f64 x x))))) (cbrt.f64 (cbrt.f64 (*.f64 x (sqrt.f64 2)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (cbrt.f64 (*.f64 2 (*.f64 x x))) (pow.f64 (*.f64 x (sqrt.f64 2)) 1/6)) (pow.f64 (*.f64 x (sqrt.f64 2)) 1/6))))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (*.f64 2 (*.f64 x x)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (pow.f64 (exp.f64 x) (sqrt.f64 2)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (*.f64 x (sqrt.f64 2)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (*.f64 (pow.f64 x 3) (*.f64 2 (sqrt.f64 2))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (*.f64 (*.f64 2 (sqrt.f64 2)) (pow.f64 x 3)))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 x (sqrt.f64 2))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 x (sqrt.f64 2))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (*.f64 x (sqrt.f64 2)))))))) |
| 1× | egg-herbie |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 0 | 0 |
| 1× | saturated |
| Inputs |
|---|
| Outputs |
|---|
Found 4 expressions with local error:
| New | Error | Program |
|---|---|---|
| 0.1b | (sqrt.f64 (*.f64 x (sqrt.f64 2))) | |
| ✓ | 0.1b | (*.f64 (sqrt.f64 x) (*.f64 (pow.f64 2 1/4) (sqrt.f64 (*.f64 x (sqrt.f64 2))))) |
| ✓ | 0.1b | (*.f64 (pow.f64 2 1/4) (sqrt.f64 (*.f64 x (sqrt.f64 2)))) |
| 0.5b | (*.f64 x (sqrt.f64 2)) |
Compiled 41 to 33 computations (19.5% saved)
6 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 1.0ms | x | @ | -inf | (*.f64 (sqrt.f64 x) (*.f64 (pow.f64 2 1/4) (sqrt.f64 (*.f64 x (sqrt.f64 2))))) |
| 1.0ms | x | @ | -inf | (*.f64 (pow.f64 2 1/4) (sqrt.f64 (*.f64 x (sqrt.f64 2)))) |
| 1.0ms | x | @ | 0 | (*.f64 (pow.f64 2 1/4) (sqrt.f64 (*.f64 x (sqrt.f64 2)))) |
| 1.0ms | x | @ | inf | (*.f64 (pow.f64 2 1/4) (sqrt.f64 (*.f64 x (sqrt.f64 2)))) |
| 0.0ms | x | @ | inf | (*.f64 (sqrt.f64 x) (*.f64 (pow.f64 2 1/4) (sqrt.f64 (*.f64 x (sqrt.f64 2))))) |
| 1× | batch-egg-rewrite |
| 818× | pow1_binary64 |
| 758× | add-log-exp_binary64 |
| 758× | log1p-expm1-u_binary64 |
| 758× | expm1-log1p-u_binary64 |
| 739× | add-exp-log_binary64 |
Useful iterations: 1 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 11 | 33 |
| 1 | 227 | 14 |
| 2 | 2517 | 14 |
| 1× | node limit |
| Inputs |
|---|
(*.f64 (pow.f64 2 1/4) (sqrt.f64 (*.f64 x (sqrt.f64 2)))) |
(*.f64 (sqrt.f64 x) (*.f64 (pow.f64 2 1/4) (sqrt.f64 (*.f64 x (sqrt.f64 2))))) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (*.f64 (sqrt.f64 x) (sqrt.f64 2))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 (sqrt.f64 x) (sqrt.f64 2)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 (sqrt.f64 x) (sqrt.f64 2)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (*.f64 (sqrt.f64 x) (sqrt.f64 2))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (*.f64 (sqrt.f64 x) (sqrt.f64 2))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (*.f64 (sqrt.f64 2) (*.f64 x (sqrt.f64 2))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (*.f64 (sqrt.f64 x) (sqrt.f64 2))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (*.f64 (sqrt.f64 x) (sqrt.f64 2)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (*.f64 (pow.f64 (pow.f64 2 1/4) 3) (pow.f64 (*.f64 x (sqrt.f64 2)) 3/2)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (*.f64 (pow.f64 (*.f64 x (sqrt.f64 2)) 3/2) (pow.f64 (pow.f64 2 1/4) 3)))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 (sqrt.f64 x) (sqrt.f64 2))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 (sqrt.f64 x) (sqrt.f64 2))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (*.f64 (sqrt.f64 x) (sqrt.f64 2)))))))) |
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (*.f64 x (sqrt.f64 2))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 x (sqrt.f64 2)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (*.f64 x (sqrt.f64 2))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 2 (*.f64 x x)) 1/2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 x (sqrt.f64 2)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (*.f64 x (sqrt.f64 2))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (*.f64 2 (*.f64 x x)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (pow.f64 (exp.f64 x) (sqrt.f64 2)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (*.f64 x (sqrt.f64 2)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (*.f64 (pow.f64 (*.f64 (sqrt.f64 x) (sqrt.f64 2)) 3) (pow.f64 x 3/2)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (*.f64 (pow.f64 x 3/2) (pow.f64 (*.f64 (sqrt.f64 x) (sqrt.f64 2)) 3)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (*.f64 (pow.f64 x 3) (*.f64 2 (sqrt.f64 2))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (*.f64 (*.f64 2 (sqrt.f64 2)) (pow.f64 x 3)))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 x (sqrt.f64 2))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 x (sqrt.f64 2))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (*.f64 x (sqrt.f64 2)))))))) |
| 1× | egg-herbie |
| 525× | distribute-rgt-neg-in_binary64 |
| 514× | associate-*l*_binary64 |
| 507× | distribute-lft-neg-in_binary64 |
| 440× | fma-def_binary64 |
| 415× | sub-neg_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 16 | 168 |
| 1 | 40 | 168 |
| 2 | 132 | 168 |
| 3 | 459 | 168 |
| 4 | 2021 | 168 |
| 5 | 4156 | 168 |
| 6 | 6130 | 168 |
| 7 | 6695 | 168 |
| 8 | 7078 | 168 |
| 9 | 7637 | 168 |
| 1× | node limit |
| Inputs |
|---|
(*.f64 (sqrt.f64 (sqrt.f64 2)) (*.f64 (pow.f64 2 1/4) x)) |
(*.f64 (sqrt.f64 (sqrt.f64 2)) (*.f64 (pow.f64 2 1/4) x)) |
(*.f64 (sqrt.f64 (sqrt.f64 2)) (*.f64 (pow.f64 2 1/4) x)) |
(*.f64 (sqrt.f64 (sqrt.f64 2)) (*.f64 (pow.f64 2 1/4) x)) |
(*.f64 (sqrt.f64 (sqrt.f64 2)) (*.f64 (pow.f64 2 1/4) x)) |
(*.f64 (sqrt.f64 (sqrt.f64 2)) (*.f64 (pow.f64 2 1/4) x)) |
(*.f64 (sqrt.f64 (sqrt.f64 2)) (*.f64 (pow.f64 2 1/4) x)) |
(*.f64 (sqrt.f64 (sqrt.f64 2)) (*.f64 (pow.f64 2 1/4) x)) |
(*.f64 -1 (*.f64 (sqrt.f64 (sqrt.f64 2)) (*.f64 (*.f64 (pow.f64 (sqrt.f64 -1) 2) x) (pow.f64 2 1/4)))) |
(*.f64 -1 (*.f64 (sqrt.f64 (sqrt.f64 2)) (*.f64 (*.f64 (pow.f64 (sqrt.f64 -1) 2) x) (pow.f64 2 1/4)))) |
(*.f64 -1 (*.f64 (sqrt.f64 (sqrt.f64 2)) (*.f64 (*.f64 (pow.f64 (sqrt.f64 -1) 2) x) (pow.f64 2 1/4)))) |
(*.f64 -1 (*.f64 (sqrt.f64 (sqrt.f64 2)) (*.f64 (*.f64 (pow.f64 (sqrt.f64 -1) 2) x) (pow.f64 2 1/4)))) |
| Outputs |
|---|
(*.f64 (sqrt.f64 (sqrt.f64 2)) (*.f64 (pow.f64 2 1/4) x)) |
(*.f64 (sqrt.f64 (sqrt.f64 2)) (*.f64 (pow.f64 2 1/4) x)) |
(*.f64 (sqrt.f64 (sqrt.f64 2)) (*.f64 (pow.f64 2 1/4) x)) |
(*.f64 (sqrt.f64 (sqrt.f64 2)) (*.f64 (pow.f64 2 1/4) x)) |
(*.f64 (sqrt.f64 (sqrt.f64 2)) (*.f64 (pow.f64 2 1/4) x)) |
(*.f64 (sqrt.f64 (sqrt.f64 2)) (*.f64 (pow.f64 2 1/4) x)) |
(*.f64 (sqrt.f64 (sqrt.f64 2)) (*.f64 (pow.f64 2 1/4) x)) |
(*.f64 (sqrt.f64 (sqrt.f64 2)) (*.f64 (pow.f64 2 1/4) x)) |
(*.f64 -1 (*.f64 (sqrt.f64 (sqrt.f64 2)) (*.f64 (*.f64 (pow.f64 (sqrt.f64 -1) 2) x) (pow.f64 2 1/4)))) |
(*.f64 (sqrt.f64 (sqrt.f64 2)) (*.f64 (pow.f64 2 1/4) x)) |
(*.f64 -1 (*.f64 (sqrt.f64 (sqrt.f64 2)) (*.f64 (*.f64 (pow.f64 (sqrt.f64 -1) 2) x) (pow.f64 2 1/4)))) |
(*.f64 (sqrt.f64 (sqrt.f64 2)) (*.f64 (pow.f64 2 1/4) x)) |
(*.f64 -1 (*.f64 (sqrt.f64 (sqrt.f64 2)) (*.f64 (*.f64 (pow.f64 (sqrt.f64 -1) 2) x) (pow.f64 2 1/4)))) |
(*.f64 (sqrt.f64 (sqrt.f64 2)) (*.f64 (pow.f64 2 1/4) x)) |
(*.f64 -1 (*.f64 (sqrt.f64 (sqrt.f64 2)) (*.f64 (*.f64 (pow.f64 (sqrt.f64 -1) 2) x) (pow.f64 2 1/4)))) |
(*.f64 (sqrt.f64 (sqrt.f64 2)) (*.f64 (pow.f64 2 1/4) x)) |
Compiled 4808 to 3716 computations (22.7% saved)
15 alts after pruning (5 fresh and 10 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 371 | 5 | 376 |
| Fresh | 0 | 0 | 0 |
| Picked | 1 | 0 | 1 |
| Done | 2 | 10 | 12 |
| Total | 374 | 15 | 389 |
| Status | Error | Program |
|---|---|---|
| 2.0b | (pow.f64 (*.f64 (*.f64 (*.f64 (cbrt.f64 2) (pow.f64 (cbrt.f64 (cbrt.f64 x)) 2)) (cbrt.f64 (cbrt.f64 x))) (cbrt.f64 x)) 3/2) | |
| 37.8b | (*.f64 (sqrt.f64 x) (sqrt.f64 (*.f64 (sqrt.f64 2) (*.f64 x (sqrt.f64 2))))) | |
| ✓ | 27.2b | (sqrt.f64 (*.f64 2 (*.f64 x x))) |
| ✓ | 26.2b | (*.f64 x (neg.f64 (sqrt.f64 2))) |
| ✓ | 36.8b | (*.f64 (sqrt.f64 2) x) |
| ✓ | 1.2b | (pow.f64 (*.f64 (cbrt.f64 (*.f64 2 x)) (cbrt.f64 x)) 3/2) |
| ✓ | 27.5b | (*.f64 (pow.f64 (*.f64 (*.f64 x x) 2) 1/4) (pow.f64 (*.f64 (*.f64 x x) 2) 1/4)) |
| 26.2b | (*.f64 (pow.f64 2 1/4) (*.f64 (sqrt.f64 (sqrt.f64 2)) (neg.f64 x))) | |
| ✓ | 37.8b | (pow.f64 (sqrt.f64 (*.f64 x (sqrt.f64 2))) 2) |
| ✓ | 27.6b | (pow.f64 (cbrt.f64 (*.f64 2 (*.f64 x x))) 3/2) |
| 39.5b | (cbrt.f64 (pow.f64 (sqrt.f64 (*.f64 x (*.f64 x 2))) 3)) | |
| ✓ | 44.6b | (pow.f64 (*.f64 4 (pow.f64 x 4)) 1/4) |
| ✓ | 36.8b | (*.f64 (pow.f64 2 1/4) (*.f64 (pow.f64 2 1/4) x)) |
| ✓ | 37.6b | (*.f64 (sqrt.f64 (*.f64 2 x)) (sqrt.f64 x)) |
| 1.9b | (pow.f64 (*.f64 (pow.f64 (cbrt.f64 (cbrt.f64 (*.f64 x 2))) 3) (cbrt.f64 x)) 3/2) |
Compiled 151 to 120 computations (20.5% saved)
| Inputs |
|---|
(*.f64 (sqrt.f64 2) x) |
(*.f64 x (neg.f64 (sqrt.f64 2))) |
(sqrt.f64 (*.f64 2 (*.f64 x x))) |
(pow.f64 (*.f64 4 (pow.f64 x 4)) 1/4) |
(*.f64 (sqrt.f64 (*.f64 2 x)) (sqrt.f64 x)) |
(pow.f64 (cbrt.f64 (*.f64 2 (*.f64 x x))) 3/2) |
(*.f64 (pow.f64 2 1/4) (*.f64 (pow.f64 2 1/4) x)) |
(*.f64 (pow.f64 (*.f64 (*.f64 x x) 2) 1/4) (pow.f64 (*.f64 (*.f64 x x) 2) 1/4)) |
(pow.f64 (cbrt.f64 (*.f64 x (sqrt.f64 2))) 3) |
(sqrt.f64 (sqrt.f64 (*.f64 4 (pow.f64 x 4)))) |
(pow.f64 (sqrt.f64 (*.f64 x (sqrt.f64 2))) 2) |
(cbrt.f64 (pow.f64 (sqrt.f64 (*.f64 x (*.f64 x 2))) 3)) |
(pow.f64 (*.f64 (cbrt.f64 (*.f64 2 x)) (cbrt.f64 x)) 3/2) |
(sqrt.f64 (cbrt.f64 (pow.f64 (*.f64 2 (*.f64 x x)) 3))) |
(sqrt.f64 (pow.f64 (cbrt.f64 (*.f64 2 (*.f64 x x))) 3)) |
(*.f64 (pow.f64 2 1/4) (*.f64 (sqrt.f64 (sqrt.f64 2)) (neg.f64 x))) |
(*.f64 (pow.f64 2 1/4) (sqrt.f64 (*.f64 (*.f64 x x) (sqrt.f64 2)))) |
(pow.f64 (pow.f64 (cbrt.f64 (*.f64 x (sqrt.f64 2))) 2) 3/2) |
(*.f64 (sqrt.f64 x) (sqrt.f64 (*.f64 (sqrt.f64 2) (*.f64 x (sqrt.f64 2))))) |
(*.f64 (sqrt.f64 x) (*.f64 (pow.f64 2 1/4) (sqrt.f64 (*.f64 x (sqrt.f64 2))))) |
(cbrt.f64 (*.f64 (*.f64 (*.f64 x (neg.f64 (sqrt.f64 2))) (*.f64 x (neg.f64 (sqrt.f64 2)))) (*.f64 x (neg.f64 (sqrt.f64 2))))) |
(pow.f64 (*.f64 (pow.f64 (cbrt.f64 (cbrt.f64 (*.f64 x 2))) 3) (cbrt.f64 x)) 3/2) |
(*.f64 (sqrt.f64 (cbrt.f64 (*.f64 4 (pow.f64 x 4)))) (sqrt.f64 (cbrt.f64 (*.f64 2 (*.f64 x x))))) |
(pow.f64 (*.f64 (*.f64 (*.f64 (cbrt.f64 2) (pow.f64 (cbrt.f64 (cbrt.f64 x)) 2)) (cbrt.f64 (cbrt.f64 x))) (cbrt.f64 x)) 3/2) |
| Outputs |
|---|
(pow.f64 (*.f64 (cbrt.f64 (*.f64 2 x)) (cbrt.f64 x)) 3/2) |
6 calls:
| 13.0ms | x |
| 10.0ms | (*.f64 2 (*.f64 x x)) |
| 9.0ms | (sqrt.f64 (*.f64 2 (*.f64 x x))) |
| 8.0ms | (*.f64 x x) |
| 8.0ms | (*.f64 2 (*.f64 x x)) |
| Error | Segments | Branch |
|---|---|---|
| 1.2b | 1 | x |
| 1.2b | 1 | (sqrt.f64 (*.f64 2 (*.f64 x x))) |
| 1.2b | 1 | (*.f64 2 (*.f64 x x)) |
| 1.2b | 1 | (*.f64 2 (*.f64 x x)) |
| 1.2b | 1 | (*.f64 x x) |
| 1.2b | 1 | (*.f64 x x) |
Compiled 263 to 194 computations (26.2% saved)
| Inputs |
|---|
(*.f64 (sqrt.f64 2) x) |
(*.f64 x (neg.f64 (sqrt.f64 2))) |
(sqrt.f64 (*.f64 2 (*.f64 x x))) |
(pow.f64 (*.f64 4 (pow.f64 x 4)) 1/4) |
(*.f64 (sqrt.f64 (*.f64 2 x)) (sqrt.f64 x)) |
(pow.f64 (cbrt.f64 (*.f64 2 (*.f64 x x))) 3/2) |
(*.f64 (pow.f64 2 1/4) (*.f64 (pow.f64 2 1/4) x)) |
(*.f64 (pow.f64 (*.f64 (*.f64 x x) 2) 1/4) (pow.f64 (*.f64 (*.f64 x x) 2) 1/4)) |
(pow.f64 (cbrt.f64 (*.f64 x (sqrt.f64 2))) 3) |
(sqrt.f64 (sqrt.f64 (*.f64 4 (pow.f64 x 4)))) |
(pow.f64 (sqrt.f64 (*.f64 x (sqrt.f64 2))) 2) |
(cbrt.f64 (pow.f64 (sqrt.f64 (*.f64 x (*.f64 x 2))) 3)) |
| Outputs |
|---|
(*.f64 x (neg.f64 (sqrt.f64 2))) |
(*.f64 (sqrt.f64 (*.f64 2 x)) (sqrt.f64 x)) |
6 calls:
| 16.0ms | (*.f64 x x) |
| 15.0ms | x |
| 14.0ms | (*.f64 2 (*.f64 x x)) |
| 13.0ms | (*.f64 2 (*.f64 x x)) |
| 13.0ms | (sqrt.f64 (*.f64 2 (*.f64 x x))) |
| Error | Segments | Branch |
|---|---|---|
| 0.4b | 2 | x |
| 9.8b | 3 | (sqrt.f64 (*.f64 2 (*.f64 x x))) |
| 9.8b | 3 | (*.f64 2 (*.f64 x x)) |
| 9.8b | 3 | (*.f64 2 (*.f64 x x)) |
| 9.8b | 3 | (*.f64 x x) |
| 9.8b | 3 | (*.f64 x x) |
Compiled 121 to 88 computations (27.3% saved)
| 1× | binary-search |
| Time | Left | Right |
|---|---|---|
| 16.0ms | -1.1453510988663911e-306 | 1.1902758932144906e-304 |
Compiled 11 to 8 computations (27.3% saved)
Total -62.2b remaining (-13497.8%)
Threshold costs -62.2b (-13497.8%)
| Inputs |
|---|
(*.f64 (sqrt.f64 2) x) |
(*.f64 x (neg.f64 (sqrt.f64 2))) |
(sqrt.f64 (*.f64 2 (*.f64 x x))) |
(pow.f64 (*.f64 4 (pow.f64 x 4)) 1/4) |
| Outputs |
|---|
(*.f64 x (neg.f64 (sqrt.f64 2))) |
(*.f64 (sqrt.f64 2) x) |
4 calls:
| 27.0ms | (sqrt.f64 (*.f64 2 (*.f64 x x))) |
| 8.0ms | (*.f64 2 (*.f64 x x)) |
| 8.0ms | (*.f64 x x) |
| 7.0ms | x |
| Error | Segments | Branch |
|---|---|---|
| 0.5b | 2 | x |
| 9.8b | 3 | (sqrt.f64 (*.f64 2 (*.f64 x x))) |
| 9.8b | 3 | (*.f64 2 (*.f64 x x)) |
| 9.8b | 3 | (*.f64 x x) |
Compiled 42 to 30 computations (28.6% saved)
| 1× | binary-search |
| Time | Left | Right |
|---|---|---|
| 16.0ms | -1.1453510988663911e-306 | 1.1902758932144906e-304 |
Compiled 11 to 8 computations (27.3% saved)
| 1× | egg-herbie |
| 8× | *-commutative_binary64 |
| 3× | +-commutative_binary64 |
| 3× | sub-neg_binary64 |
| 3× | neg-sub0_binary64 |
| 3× | neg-mul-1_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 21 | 65 |
| 1 | 32 | 65 |
| 2 | 39 | 65 |
| 3 | 44 | 65 |
| 4 | 47 | 65 |
| 5 | 48 | 65 |
| 1× | fuel |
| 1× | saturated |
| Inputs |
|---|
(pow.f64 (*.f64 (cbrt.f64 (*.f64 2 x)) (cbrt.f64 x)) 3/2) |
(if (<=.f64 x -3622213175602529/3162535207926728411757739792483082922649322652564720599326583719178599055749927295186880995334955070237298091629950186115465761521653023076047084374074039217523709754321349396319795433470206505331871369976136641696281366928510823415907864932018118067825157133005605774255209603362976602065411367322593847864182933454585856) (*.f64 x (neg.f64 (sqrt.f64 2))) (*.f64 (sqrt.f64 (*.f64 2 x)) (sqrt.f64 x))) |
(if (<=.f64 x -3622213175602529/3162535207926728411757739792483082922649322652564720599326583719178599055749927295186880995334955070237298091629950186115465761521653023076047084374074039217523709754321349396319795433470206505331871369976136641696281366928510823415907864932018118067825157133005605774255209603362976602065411367322593847864182933454585856) (*.f64 x (neg.f64 (sqrt.f64 2))) (*.f64 (sqrt.f64 2) x)) |
(*.f64 (sqrt.f64 2) x) |
| Outputs |
|---|
(pow.f64 (*.f64 (cbrt.f64 (*.f64 2 x)) (cbrt.f64 x)) 3/2) |
(if (<=.f64 x -3622213175602529/3162535207926728411757739792483082922649322652564720599326583719178599055749927295186880995334955070237298091629950186115465761521653023076047084374074039217523709754321349396319795433470206505331871369976136641696281366928510823415907864932018118067825157133005605774255209603362976602065411367322593847864182933454585856) (*.f64 x (neg.f64 (sqrt.f64 2))) (*.f64 (sqrt.f64 (*.f64 2 x)) (sqrt.f64 x))) |
(if (<=.f64 x -3622213175602529/3162535207926728411757739792483082922649322652564720599326583719178599055749927295186880995334955070237298091629950186115465761521653023076047084374074039217523709754321349396319795433470206505331871369976136641696281366928510823415907864932018118067825157133005605774255209603362976602065411367322593847864182933454585856) (*.f64 (sqrt.f64 2) (neg.f64 x)) (*.f64 (sqrt.f64 (*.f64 2 x)) (sqrt.f64 x))) |
(if (<=.f64 x -3622213175602529/3162535207926728411757739792483082922649322652564720599326583719178599055749927295186880995334955070237298091629950186115465761521653023076047084374074039217523709754321349396319795433470206505331871369976136641696281366928510823415907864932018118067825157133005605774255209603362976602065411367322593847864182933454585856) (*.f64 x (neg.f64 (sqrt.f64 2))) (*.f64 (sqrt.f64 2) x)) |
(if (<=.f64 x -3622213175602529/3162535207926728411757739792483082922649322652564720599326583719178599055749927295186880995334955070237298091629950186115465761521653023076047084374074039217523709754321349396319795433470206505331871369976136641696281366928510823415907864932018118067825157133005605774255209603362976602065411367322593847864182933454585856) (*.f64 x (neg.f64 (sqrt.f64 2))) (*.f64 x (sqrt.f64 2))) |
(if (<=.f64 x -3622213175602529/3162535207926728411757739792483082922649322652564720599326583719178599055749927295186880995334955070237298091629950186115465761521653023076047084374074039217523709754321349396319795433470206505331871369976136641696281366928510823415907864932018118067825157133005605774255209603362976602065411367322593847864182933454585856) (*.f64 (sqrt.f64 2) (neg.f64 x)) (*.f64 x (sqrt.f64 2))) |
(*.f64 (sqrt.f64 2) x) |
(*.f64 x (sqrt.f64 2)) |
Compiled 46 to 36 computations (21.7% saved)
| 1× | egg-herbie |
| 964× | fma-def_binary64 |
| 402× | distribute-rgt-neg-out_binary64 |
| 365× | fma-neg_binary64 |
| 337× | distribute-rgt-neg-in_binary64 |
| 318× | fabs-mul_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 9 | 164 |
| 1 | 20 | 164 |
| 2 | 43 | 164 |
| 3 | 83 | 164 |
| 4 | 205 | 164 |
| 5 | 632 | 164 |
| 6 | 988 | 164 |
| 7 | 1635 | 164 |
| 8 | 2038 | 164 |
| 9 | 2907 | 164 |
| 10 | 3744 | 164 |
| 11 | 4611 | 164 |
| 12 | 5738 | 164 |
| 1× | node limit |
Compiled 25 to 21 computations (16% saved)
Compiled 43 to 32 computations (25.6% saved)
Loading profile data...