Time bar (total: 5.6s)
| 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 |
|---|---|---|
| ▶ | 34.1b | (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)) |
| ✓ | 32.7b | (sqrt.f64 (*.f64 2 (*.f64 x x))) |
Compiled 17 to 8 computations (52.9% saved)
6 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 1.0ms | x | @ | 0 | (sqrt.f64 (*.f64 2 (*.f64 x x))) |
| 1.0ms | x | @ | -inf | (*.f64 2 (*.f64 x x)) |
| 1.0ms | x | @ | 0 | (*.f64 2 (*.f64 x x)) |
| 1.0ms | x | @ | inf | (sqrt.f64 (*.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)
7 alts after pruning (6 fresh and 1 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 34 | 6 | 40 |
| Fresh | 0 | 0 | 0 |
| Picked | 0 | 1 | 1 |
| Done | 0 | 0 | 0 |
| Total | 34 | 7 | 41 |
| Status | Error | Program |
|---|---|---|
| ▶ | 31.0b | (*.f64 (sqrt.f64 2) x) |
| ▶ | 31.7b | (*.f64 (sqrt.f64 (*.f64 2 x)) (sqrt.f64 x)) |
| ▶ | 31.4b | (pow.f64 (cbrt.f64 (*.f64 x (sqrt.f64 2))) 3) |
| ✓ | 34.1b | (sqrt.f64 (*.f64 2 (*.f64 x x))) |
| ▶ | 45.7b | (sqrt.f64 (sqrt.f64 (*.f64 4 (pow.f64 x 4)))) |
| 31.8b | (pow.f64 (sqrt.f64 (*.f64 x (sqrt.f64 2))) 2) | |
| ▶ | 32.0b | (*.f64 x (neg.f64 (sqrt.f64 2))) |
Compiled 93 to 77 computations (17.2% saved)
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 | @ | -inf | (*.f64 (sqrt.f64 2) x) |
| 0.0ms | x | @ | 0 | (*.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 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.2b | (*.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 3 expressions with local error:
| New | Error | Program |
|---|---|---|
| ✓ | 0.0b | (*.f64 4 (pow.f64 x 4)) |
| ✓ | 11.0b | (sqrt.f64 (*.f64 4 (pow.f64 x 4))) |
| ✓ | 32.7b | (sqrt.f64 (sqrt.f64 (*.f64 4 (pow.f64 x 4)))) |
Compiled 24 to 19 computations (20.8% saved)
9 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 4.0ms | x | @ | 0 | (sqrt.f64 (*.f64 4 (pow.f64 x 4))) |
| 1.0ms | x | @ | inf | (*.f64 4 (pow.f64 x 4)) |
| 1.0ms | x | @ | 0 | (*.f64 4 (pow.f64 x 4)) |
| 0.0ms | x | @ | 0 | (sqrt.f64 (sqrt.f64 (*.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.5b | (*.f64 x (sqrt.f64 2)) |
| ✓ | 0.6b | (cbrt.f64 (*.f64 x (sqrt.f64 2))) |
| ✓ | 0.7b | (pow.f64 (cbrt.f64 (*.f64 x (sqrt.f64 2))) 3) |
Compiled 22 to 18 computations (18.2% saved)
9 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 2.0ms | x | @ | -inf | (pow.f64 (cbrt.f64 (*.f64 x (sqrt.f64 2))) 3) |
| 1.0ms | x | @ | 0 | (pow.f64 (cbrt.f64 (*.f64 x (sqrt.f64 2))) 3) |
| 1.0ms | x | @ | inf | (pow.f64 (cbrt.f64 (*.f64 x (sqrt.f64 2))) 3) |
| 1.0ms | x | @ | -inf | (cbrt.f64 (*.f64 x (sqrt.f64 2))) |
| 0.0ms | x | @ | inf | (cbrt.f64 (*.f64 x (sqrt.f64 2))) |
| 1× | batch-egg-rewrite |
| 575× | pow1_binary64 |
| 543× | add-log-exp_binary64 |
| 542× | log1p-expm1-u_binary64 |
| 542× | expm1-log1p-u_binary64 |
| 530× | add-exp-log_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 8 | 20 |
| 1 | 168 | 20 |
| 2 | 1578 | 20 |
| 1× | node limit |
| Inputs |
|---|
(pow.f64 (cbrt.f64 (*.f64 x (sqrt.f64 2))) 3) |
(cbrt.f64 (*.f64 x (sqrt.f64 2))) |
(*.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 *.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 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 x) (*.f64 (cbrt.f64 (sqrt.f64 2)) (cbrt.f64 (*.f64 2 (*.f64 x x)))))))) (#(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 (cbrt.f64 (*.f64 2 (*.f64 x x)))) (*.f64 (cbrt.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 2) (*.f64 (cbrt.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 x) (*.f64 (sqrt.f64 x) (sqrt.f64 2)))))) (#(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 2 (*.f64 x x)))))))) (#(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 (pow.f64 (cbrt.f64 (cbrt.f64 (*.f64 2 (*.f64 x x)))) 3) (cbrt.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 (*.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))) 1) (cbrt.f64 (*.f64 x (sqrt.f64 2))))))) (#(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 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 (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 x (sqrt.f64 2)))) (pow.f64 (cbrt.f64 (*.f64 2 (*.f64 x x))) 1/3))))) (#(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 (pow.f64 (cbrt.f64 (*.f64 2 (*.f64 x x))) 1/3) (cbrt.f64 (cbrt.f64 (*.f64 x (sqrt.f64 2)))))))) (#(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 (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 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 (*.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 (cbrt.f64 (*.f64 x (sqrt.f64 2))) 3)))) (#(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 2 (*.f64 x x))) 3/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 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)))))))) |
| 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) |
Compiled 1515 to 1197 computations (21% saved)
7 alts after pruning (3 fresh and 4 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 159 | 3 | 162 |
| Fresh | 1 | 0 | 1 |
| Picked | 1 | 0 | 1 |
| Done | 1 | 4 | 5 |
| Total | 162 | 7 | 169 |
| Status | Error | Program |
|---|---|---|
| ✓ | 31.0b | (*.f64 (sqrt.f64 2) x) |
| ✓ | 31.7b | (*.f64 (sqrt.f64 (*.f64 2 x)) (sqrt.f64 x)) |
| ▶ | 51.7b | (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))))) |
| ✓ | 32.0b | (*.f64 x (neg.f64 (sqrt.f64 2))) |
| ▶ | 45.6b | (pow.f64 (*.f64 4 (pow.f64 x 4)) 1/4) |
| ✓ | 34.1b | (sqrt.f64 (*.f64 2 (*.f64 x x))) |
| ▶ | 30.9b | (*.f64 (pow.f64 2 1/4) (*.f64 (pow.f64 2 1/4) x)) |
Compiled 63 to 52 computations (17.5% saved)
Found 4 expressions with local error:
| New | Error | Program |
|---|---|---|
| ✓ | 0.1b | (*.f64 (*.f64 (*.f64 x (neg.f64 (sqrt.f64 2))) (*.f64 x (neg.f64 (sqrt.f64 2)))) (*.f64 x (neg.f64 (sqrt.f64 2)))) |
| ✓ | 0.2b | (*.f64 (*.f64 x (neg.f64 (sqrt.f64 2))) (*.f64 x (neg.f64 (sqrt.f64 2)))) |
| 0.5b | (*.f64 x (neg.f64 (sqrt.f64 2))) | |
| ✓ | 40.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 59 to 49 computations (16.9% saved)
9 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 3.0ms | x | @ | inf | (*.f64 (*.f64 (*.f64 x (neg.f64 (sqrt.f64 2))) (*.f64 x (neg.f64 (sqrt.f64 2)))) (*.f64 x (neg.f64 (sqrt.f64 2)))) |
| 2.0ms | x | @ | 0 | (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))))) |
| 2.0ms | x | @ | 0 | (*.f64 (*.f64 x (neg.f64 (sqrt.f64 2))) (*.f64 x (neg.f64 (sqrt.f64 2)))) |
| 1.0ms | x | @ | 0 | (*.f64 (*.f64 (*.f64 x (neg.f64 (sqrt.f64 2))) (*.f64 x (neg.f64 (sqrt.f64 2)))) (*.f64 x (neg.f64 (sqrt.f64 2)))) |
| 1.0ms | x | @ | inf | (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))))) |
| 3× | egg-rewrite-iter-limit |
| 3× | egg-rewrite |
| 1× | batch-egg-rewrite |
| 88× | associate-*r*_binary64 |
| 87× | associate-*r*_binary64 |
| 87× | associate-*r*_binary64 |
| 82× | add-sqr-sqrt_binary64 |
| 82× | add-sqr-sqrt_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 9 | 30 |
| 1 | 185 | 30 |
| 2 | 2148 | 30 |
| 0 | 9 | 8 |
| 1 | 185 | 8 |
| 2 | 2148 | 8 |
| 0 | 9 | 8 |
| 0 | 7 | 11 |
| 1 | 149 | 11 |
| 2 | 1827 | 11 |
| 0 | 7 | 11 |
| 0 | 8 | 11 |
| 1 | 169 | 11 |
| 2 | 2095 | 11 |
| 0 | 8 | 11 |
| 1× | iter limit |
| 1× | unsound |
| 1× | iter limit |
| 1× | unsound |
| 1× | iter limit |
| 1× | unsound |
| 1× | unsound |
| Inputs |
|---|
(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))))) |
(*.f64 (*.f64 x (neg.f64 (sqrt.f64 2))) (*.f64 x (neg.f64 (sqrt.f64 2)))) |
(*.f64 (*.f64 (*.f64 x (neg.f64 (sqrt.f64 2))) (*.f64 x (neg.f64 (sqrt.f64 2)))) (*.f64 x (neg.f64 (sqrt.f64 2)))) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x *.f64 x (neg.f64 (sqrt.f64 2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (neg.f64 (sqrt.f64 2)) x)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (*.f64 x (neg.f64 (sqrt.f64 2))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (cbrt.f64 (*.f64 x (neg.f64 (sqrt.f64 2)))) (cbrt.f64 (*.f64 x (neg.f64 (sqrt.f64 2))))) (cbrt.f64 (*.f64 x (neg.f64 (sqrt.f64 2)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (pow.f64 (*.f64 x (neg.f64 (sqrt.f64 2))) 2)) (cbrt.f64 (*.f64 x (neg.f64 (sqrt.f64 2)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (*.f64 x (neg.f64 (sqrt.f64 2)))) (sqrt.f64 (*.f64 x (neg.f64 (sqrt.f64 2)))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 x (neg.f64 (sqrt.f64 2))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 x (neg.f64 (sqrt.f64 2))) 3) 1/3)))) (#(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 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))))))))) |
((#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 x (neg.f64 (sqrt.f64 2))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 x (neg.f64 (sqrt.f64 2))) 2) 1)))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (pow.f64 (*.f64 x (neg.f64 (sqrt.f64 2))) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (*.f64 (*.f64 (pow.f64 (*.f64 x (neg.f64 (sqrt.f64 2))) 2) (pow.f64 (*.f64 x (neg.f64 (sqrt.f64 2))) 2)) (pow.f64 (*.f64 x (neg.f64 (sqrt.f64 2))) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (pow.f64 (*.f64 x (neg.f64 (sqrt.f64 2))) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (pow.f64 (*.f64 x (neg.f64 (sqrt.f64 2))) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (pow.f64 (*.f64 x (neg.f64 (sqrt.f64 2))) 2))))))) |
((#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 x (neg.f64 (sqrt.f64 2))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 x (neg.f64 (sqrt.f64 2))) 3) 1)))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (pow.f64 (*.f64 x (neg.f64 (sqrt.f64 2))) 3)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (*.f64 (*.f64 (pow.f64 (*.f64 x (neg.f64 (sqrt.f64 2))) 3) (pow.f64 (*.f64 x (neg.f64 (sqrt.f64 2))) 3)) (pow.f64 (*.f64 x (neg.f64 (sqrt.f64 2))) 3)))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (pow.f64 (*.f64 x (neg.f64 (sqrt.f64 2))) 3)))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (pow.f64 (*.f64 x (neg.f64 (sqrt.f64 2))) 3)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (pow.f64 (*.f64 x (neg.f64 (sqrt.f64 2))) 3))))))) |
| 1× | egg-herbie |
| 1004× | fma-def_binary64 |
| 883× | distribute-rgt-neg-in_binary64 |
| 869× | distribute-lft-neg-in_binary64 |
| 545× | fma-neg_binary64 |
| 536× | unswap-sqr_binary64 |
Useful iterations: 1 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 18 | 432 |
| 1 | 53 | 348 |
| 2 | 158 | 348 |
| 3 | 616 | 348 |
| 4 | 1289 | 348 |
| 5 | 2875 | 348 |
| 6 | 4568 | 348 |
| 7 | 6916 | 348 |
| 8 | 7881 | 348 |
| 1× | node limit |
| Inputs |
|---|
(*.f64 (sqrt.f64 2) (*.f64 (cbrt.f64 -1) x)) |
(*.f64 (sqrt.f64 2) (*.f64 (cbrt.f64 -1) x)) |
(*.f64 (sqrt.f64 2) (*.f64 (cbrt.f64 -1) x)) |
(*.f64 (sqrt.f64 2) (*.f64 (cbrt.f64 -1) x)) |
(*.f64 (sqrt.f64 2) (*.f64 (cbrt.f64 -1) x)) |
(*.f64 (sqrt.f64 2) (*.f64 (cbrt.f64 -1) x)) |
(*.f64 (sqrt.f64 2) (*.f64 (cbrt.f64 -1) x)) |
(*.f64 (sqrt.f64 2) (*.f64 (cbrt.f64 -1) 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 (pow.f64 (sqrt.f64 2) 2) (pow.f64 x 2)) |
(*.f64 (pow.f64 (sqrt.f64 2) 2) (pow.f64 x 2)) |
(*.f64 (pow.f64 (sqrt.f64 2) 2) (pow.f64 x 2)) |
(*.f64 (pow.f64 (sqrt.f64 2) 2) (pow.f64 x 2)) |
(*.f64 (pow.f64 (sqrt.f64 2) 2) (pow.f64 x 2)) |
(*.f64 (pow.f64 (sqrt.f64 2) 2) (pow.f64 x 2)) |
(*.f64 (pow.f64 (sqrt.f64 2) 2) (pow.f64 x 2)) |
(*.f64 (pow.f64 (sqrt.f64 2) 2) (pow.f64 x 2)) |
(*.f64 (pow.f64 (sqrt.f64 2) 2) (pow.f64 x 2)) |
(*.f64 (pow.f64 (sqrt.f64 2) 2) (pow.f64 x 2)) |
(*.f64 (pow.f64 (sqrt.f64 2) 2) (pow.f64 x 2)) |
(*.f64 (pow.f64 (sqrt.f64 2) 2) (pow.f64 x 2)) |
(*.f64 -1 (*.f64 (pow.f64 (sqrt.f64 2) 3) (pow.f64 x 3))) |
(*.f64 -1 (*.f64 (pow.f64 (sqrt.f64 2) 3) (pow.f64 x 3))) |
(*.f64 -1 (*.f64 (pow.f64 (sqrt.f64 2) 3) (pow.f64 x 3))) |
(*.f64 -1 (*.f64 (pow.f64 (sqrt.f64 2) 3) (pow.f64 x 3))) |
(*.f64 -1 (*.f64 (pow.f64 (sqrt.f64 2) 3) (pow.f64 x 3))) |
(*.f64 -1 (*.f64 (pow.f64 (sqrt.f64 2) 3) (pow.f64 x 3))) |
(*.f64 -1 (*.f64 (pow.f64 (sqrt.f64 2) 3) (pow.f64 x 3))) |
(*.f64 -1 (*.f64 (pow.f64 (sqrt.f64 2) 3) (pow.f64 x 3))) |
(*.f64 -1 (*.f64 (pow.f64 (sqrt.f64 2) 3) (pow.f64 x 3))) |
(*.f64 -1 (*.f64 (pow.f64 (sqrt.f64 2) 3) (pow.f64 x 3))) |
(*.f64 -1 (*.f64 (pow.f64 (sqrt.f64 2) 3) (pow.f64 x 3))) |
(*.f64 -1 (*.f64 (pow.f64 (sqrt.f64 2) 3) (pow.f64 x 3))) |
| Outputs |
|---|
(*.f64 (sqrt.f64 2) (*.f64 (cbrt.f64 -1) x)) |
(*.f64 (sqrt.f64 2) (*.f64 (cbrt.f64 -1) x)) |
(*.f64 (sqrt.f64 2) (*.f64 (cbrt.f64 -1) x)) |
(*.f64 (sqrt.f64 2) (*.f64 (cbrt.f64 -1) x)) |
(*.f64 (sqrt.f64 2) (*.f64 (cbrt.f64 -1) x)) |
(*.f64 (sqrt.f64 2) (*.f64 (cbrt.f64 -1) x)) |
(*.f64 (sqrt.f64 2) (*.f64 (cbrt.f64 -1) x)) |
(*.f64 (sqrt.f64 2) (*.f64 (cbrt.f64 -1) 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 (pow.f64 (sqrt.f64 2) 2) (pow.f64 x 2)) |
(*.f64 (pow.f64 (sqrt.f64 2) 2) (*.f64 x x)) |
(*.f64 x (*.f64 x 2)) |
(*.f64 2 (*.f64 x x)) |
(*.f64 x (*.f64 2 x)) |
(*.f64 (pow.f64 (sqrt.f64 2) 2) (pow.f64 x 2)) |
(*.f64 (pow.f64 (sqrt.f64 2) 2) (*.f64 x x)) |
(*.f64 x (*.f64 x 2)) |
(*.f64 2 (*.f64 x x)) |
(*.f64 x (*.f64 2 x)) |
(*.f64 (pow.f64 (sqrt.f64 2) 2) (pow.f64 x 2)) |
(*.f64 (pow.f64 (sqrt.f64 2) 2) (*.f64 x x)) |
(*.f64 x (*.f64 x 2)) |
(*.f64 2 (*.f64 x x)) |
(*.f64 x (*.f64 2 x)) |
(*.f64 (pow.f64 (sqrt.f64 2) 2) (pow.f64 x 2)) |
(*.f64 (pow.f64 (sqrt.f64 2) 2) (*.f64 x x)) |
(*.f64 x (*.f64 x 2)) |
(*.f64 2 (*.f64 x x)) |
(*.f64 x (*.f64 2 x)) |
(*.f64 (pow.f64 (sqrt.f64 2) 2) (pow.f64 x 2)) |
(*.f64 (pow.f64 (sqrt.f64 2) 2) (*.f64 x x)) |
(*.f64 x (*.f64 x 2)) |
(*.f64 2 (*.f64 x x)) |
(*.f64 x (*.f64 2 x)) |
(*.f64 (pow.f64 (sqrt.f64 2) 2) (pow.f64 x 2)) |
(*.f64 (pow.f64 (sqrt.f64 2) 2) (*.f64 x x)) |
(*.f64 x (*.f64 x 2)) |
(*.f64 2 (*.f64 x x)) |
(*.f64 x (*.f64 2 x)) |
(*.f64 (pow.f64 (sqrt.f64 2) 2) (pow.f64 x 2)) |
(*.f64 (pow.f64 (sqrt.f64 2) 2) (*.f64 x x)) |
(*.f64 x (*.f64 x 2)) |
(*.f64 2 (*.f64 x x)) |
(*.f64 x (*.f64 2 x)) |
(*.f64 (pow.f64 (sqrt.f64 2) 2) (pow.f64 x 2)) |
(*.f64 (pow.f64 (sqrt.f64 2) 2) (*.f64 x x)) |
(*.f64 x (*.f64 x 2)) |
(*.f64 2 (*.f64 x x)) |
(*.f64 x (*.f64 2 x)) |
(*.f64 (pow.f64 (sqrt.f64 2) 2) (pow.f64 x 2)) |
(*.f64 (pow.f64 (sqrt.f64 2) 2) (*.f64 x x)) |
(*.f64 x (*.f64 x 2)) |
(*.f64 2 (*.f64 x x)) |
(*.f64 x (*.f64 2 x)) |
(*.f64 (pow.f64 (sqrt.f64 2) 2) (pow.f64 x 2)) |
(*.f64 (pow.f64 (sqrt.f64 2) 2) (*.f64 x x)) |
(*.f64 x (*.f64 x 2)) |
(*.f64 2 (*.f64 x x)) |
(*.f64 x (*.f64 2 x)) |
(*.f64 (pow.f64 (sqrt.f64 2) 2) (pow.f64 x 2)) |
(*.f64 (pow.f64 (sqrt.f64 2) 2) (*.f64 x x)) |
(*.f64 x (*.f64 x 2)) |
(*.f64 2 (*.f64 x x)) |
(*.f64 x (*.f64 2 x)) |
(*.f64 (pow.f64 (sqrt.f64 2) 2) (pow.f64 x 2)) |
(*.f64 (pow.f64 (sqrt.f64 2) 2) (*.f64 x x)) |
(*.f64 x (*.f64 x 2)) |
(*.f64 2 (*.f64 x x)) |
(*.f64 x (*.f64 2 x)) |
(*.f64 -1 (*.f64 (pow.f64 (sqrt.f64 2) 3) (pow.f64 x 3))) |
(neg.f64 (*.f64 (pow.f64 (sqrt.f64 2) 3) (pow.f64 x 3))) |
(*.f64 (pow.f64 x 3) (*.f64 -2 (sqrt.f64 2))) |
(*.f64 (pow.f64 x 3) (*.f64 (sqrt.f64 2) -2)) |
(*.f64 (sqrt.f64 2) (*.f64 (pow.f64 x 3) -2)) |
(*.f64 -1 (*.f64 (pow.f64 (sqrt.f64 2) 3) (pow.f64 x 3))) |
(neg.f64 (*.f64 (pow.f64 (sqrt.f64 2) 3) (pow.f64 x 3))) |
(*.f64 (pow.f64 x 3) (*.f64 -2 (sqrt.f64 2))) |
(*.f64 (pow.f64 x 3) (*.f64 (sqrt.f64 2) -2)) |
(*.f64 (sqrt.f64 2) (*.f64 (pow.f64 x 3) -2)) |
(*.f64 -1 (*.f64 (pow.f64 (sqrt.f64 2) 3) (pow.f64 x 3))) |
(neg.f64 (*.f64 (pow.f64 (sqrt.f64 2) 3) (pow.f64 x 3))) |
(*.f64 (pow.f64 x 3) (*.f64 -2 (sqrt.f64 2))) |
(*.f64 (pow.f64 x 3) (*.f64 (sqrt.f64 2) -2)) |
(*.f64 (sqrt.f64 2) (*.f64 (pow.f64 x 3) -2)) |
(*.f64 -1 (*.f64 (pow.f64 (sqrt.f64 2) 3) (pow.f64 x 3))) |
(neg.f64 (*.f64 (pow.f64 (sqrt.f64 2) 3) (pow.f64 x 3))) |
(*.f64 (pow.f64 x 3) (*.f64 -2 (sqrt.f64 2))) |
(*.f64 (pow.f64 x 3) (*.f64 (sqrt.f64 2) -2)) |
(*.f64 (sqrt.f64 2) (*.f64 (pow.f64 x 3) -2)) |
(*.f64 -1 (*.f64 (pow.f64 (sqrt.f64 2) 3) (pow.f64 x 3))) |
(neg.f64 (*.f64 (pow.f64 (sqrt.f64 2) 3) (pow.f64 x 3))) |
(*.f64 (pow.f64 x 3) (*.f64 -2 (sqrt.f64 2))) |
(*.f64 (pow.f64 x 3) (*.f64 (sqrt.f64 2) -2)) |
(*.f64 (sqrt.f64 2) (*.f64 (pow.f64 x 3) -2)) |
(*.f64 -1 (*.f64 (pow.f64 (sqrt.f64 2) 3) (pow.f64 x 3))) |
(neg.f64 (*.f64 (pow.f64 (sqrt.f64 2) 3) (pow.f64 x 3))) |
(*.f64 (pow.f64 x 3) (*.f64 -2 (sqrt.f64 2))) |
(*.f64 (pow.f64 x 3) (*.f64 (sqrt.f64 2) -2)) |
(*.f64 (sqrt.f64 2) (*.f64 (pow.f64 x 3) -2)) |
(*.f64 -1 (*.f64 (pow.f64 (sqrt.f64 2) 3) (pow.f64 x 3))) |
(neg.f64 (*.f64 (pow.f64 (sqrt.f64 2) 3) (pow.f64 x 3))) |
(*.f64 (pow.f64 x 3) (*.f64 -2 (sqrt.f64 2))) |
(*.f64 (pow.f64 x 3) (*.f64 (sqrt.f64 2) -2)) |
(*.f64 (sqrt.f64 2) (*.f64 (pow.f64 x 3) -2)) |
(*.f64 -1 (*.f64 (pow.f64 (sqrt.f64 2) 3) (pow.f64 x 3))) |
(neg.f64 (*.f64 (pow.f64 (sqrt.f64 2) 3) (pow.f64 x 3))) |
(*.f64 (pow.f64 x 3) (*.f64 -2 (sqrt.f64 2))) |
(*.f64 (pow.f64 x 3) (*.f64 (sqrt.f64 2) -2)) |
(*.f64 (sqrt.f64 2) (*.f64 (pow.f64 x 3) -2)) |
(*.f64 -1 (*.f64 (pow.f64 (sqrt.f64 2) 3) (pow.f64 x 3))) |
(neg.f64 (*.f64 (pow.f64 (sqrt.f64 2) 3) (pow.f64 x 3))) |
(*.f64 (pow.f64 x 3) (*.f64 -2 (sqrt.f64 2))) |
(*.f64 (pow.f64 x 3) (*.f64 (sqrt.f64 2) -2)) |
(*.f64 (sqrt.f64 2) (*.f64 (pow.f64 x 3) -2)) |
(*.f64 -1 (*.f64 (pow.f64 (sqrt.f64 2) 3) (pow.f64 x 3))) |
(neg.f64 (*.f64 (pow.f64 (sqrt.f64 2) 3) (pow.f64 x 3))) |
(*.f64 (pow.f64 x 3) (*.f64 -2 (sqrt.f64 2))) |
(*.f64 (pow.f64 x 3) (*.f64 (sqrt.f64 2) -2)) |
(*.f64 (sqrt.f64 2) (*.f64 (pow.f64 x 3) -2)) |
(*.f64 -1 (*.f64 (pow.f64 (sqrt.f64 2) 3) (pow.f64 x 3))) |
(neg.f64 (*.f64 (pow.f64 (sqrt.f64 2) 3) (pow.f64 x 3))) |
(*.f64 (pow.f64 x 3) (*.f64 -2 (sqrt.f64 2))) |
(*.f64 (pow.f64 x 3) (*.f64 (sqrt.f64 2) -2)) |
(*.f64 (sqrt.f64 2) (*.f64 (pow.f64 x 3) -2)) |
(*.f64 -1 (*.f64 (pow.f64 (sqrt.f64 2) 3) (pow.f64 x 3))) |
(neg.f64 (*.f64 (pow.f64 (sqrt.f64 2) 3) (pow.f64 x 3))) |
(*.f64 (pow.f64 x 3) (*.f64 -2 (sqrt.f64 2))) |
(*.f64 (pow.f64 x 3) (*.f64 (sqrt.f64 2) -2)) |
(*.f64 (sqrt.f64 2) (*.f64 (pow.f64 x 3) -2)) |
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 | |
|---|---|---|---|---|
| 41.0ms | x | @ | 0 | (*.f64 (pow.f64 2 1/4) x) |
| 1.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) x) |
| 0.0ms | x | @ | -inf | (*.f64 (pow.f64 2 1/4) x) |
| 0.0ms | x | @ | 0 | (*.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 2 expressions with local error:
| New | Error | Program |
|---|---|---|
| 0.0b | (*.f64 4 (pow.f64 x 4)) | |
| ✓ | 44.0b | (pow.f64 (*.f64 4 (pow.f64 x 4)) 1/4) |
Compiled 19 to 15 computations (21.1% saved)
3 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 11.0ms | x | @ | 0 | (pow.f64 (*.f64 4 (pow.f64 x 4)) 1/4) |
| 6.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) |
Compiled 1453 to 1236 computations (14.9% saved)
11 alts after pruning (5 fresh and 6 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 111 | 5 | 116 |
| Fresh | 0 | 0 | 0 |
| Picked | 0 | 1 | 1 |
| Done | 1 | 5 | 6 |
| Total | 112 | 11 | 123 |
| Status | Error | Program |
|---|---|---|
| ✓ | 31.0b | (*.f64 (sqrt.f64 2) x) |
| ✓ | 31.7b | (*.f64 (sqrt.f64 (*.f64 2 x)) (sqrt.f64 x)) |
| ✓ | 32.0b | (*.f64 x (neg.f64 (sqrt.f64 2))) |
| ✓ | 45.6b | (pow.f64 (*.f64 4 (pow.f64 x 4)) 1/4) |
| ▶ | 32.5b | (*.f64 (*.f64 (cbrt.f64 (*.f64 x (neg.f64 (sqrt.f64 2)))) (cbrt.f64 (*.f64 x (neg.f64 (sqrt.f64 2))))) (cbrt.f64 (*.f64 x (neg.f64 (sqrt.f64 2))))) |
| ✓ | 34.1b | (sqrt.f64 (*.f64 2 (*.f64 x x))) |
| ▶ | 51.7b | (cbrt.f64 (*.f64 (*.f64 x (*.f64 2 x)) (*.f64 x (neg.f64 (sqrt.f64 2))))) |
| ✓ | 30.9b | (*.f64 (pow.f64 2 1/4) (*.f64 (pow.f64 2 1/4) x)) |
| ▶ | 34.2b | (*.f64 (pow.f64 (*.f64 (*.f64 x x) 2) 1/4) (pow.f64 (*.f64 (*.f64 x x) 2) 1/4)) |
| ▶ | 34.1b | (*.f64 (pow.f64 2 1/4) (sqrt.f64 (*.f64 (*.f64 x x) (sqrt.f64 2)))) |
| ▶ | 32.8b | (*.f64 (sqrt.f64 (*.f64 x (neg.f64 (sqrt.f64 2)))) (sqrt.f64 (*.f64 x (neg.f64 (sqrt.f64 2))))) |
Compiled 196 to 158 computations (19.4% saved)
Found 4 expressions with local error:
| New | Error | Program |
|---|---|---|
| ✓ | 0.3b | (*.f64 (*.f64 (cbrt.f64 (*.f64 x (neg.f64 (sqrt.f64 2)))) (cbrt.f64 (*.f64 x (neg.f64 (sqrt.f64 2))))) (cbrt.f64 (*.f64 x (neg.f64 (sqrt.f64 2))))) |
| 0.5b | (*.f64 x (neg.f64 (sqrt.f64 2))) | |
| ✓ | 0.5b | (*.f64 (cbrt.f64 (*.f64 x (neg.f64 (sqrt.f64 2)))) (cbrt.f64 (*.f64 x (neg.f64 (sqrt.f64 2))))) |
| ✓ | 0.6b | (cbrt.f64 (*.f64 x (neg.f64 (sqrt.f64 2)))) |
Compiled 52 to 44 computations (15.4% saved)
9 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 3.0ms | x | @ | 0 | (*.f64 (*.f64 (cbrt.f64 (*.f64 x (neg.f64 (sqrt.f64 2)))) (cbrt.f64 (*.f64 x (neg.f64 (sqrt.f64 2))))) (cbrt.f64 (*.f64 x (neg.f64 (sqrt.f64 2))))) |
| 1.0ms | x | @ | inf | (*.f64 (*.f64 (cbrt.f64 (*.f64 x (neg.f64 (sqrt.f64 2)))) (cbrt.f64 (*.f64 x (neg.f64 (sqrt.f64 2))))) (cbrt.f64 (*.f64 x (neg.f64 (sqrt.f64 2))))) |
| 1.0ms | x | @ | 0 | (*.f64 (cbrt.f64 (*.f64 x (neg.f64 (sqrt.f64 2)))) (cbrt.f64 (*.f64 x (neg.f64 (sqrt.f64 2))))) |
| 1.0ms | x | @ | inf | (*.f64 (cbrt.f64 (*.f64 x (neg.f64 (sqrt.f64 2)))) (cbrt.f64 (*.f64 x (neg.f64 (sqrt.f64 2))))) |
| 1.0ms | x | @ | 0 | (cbrt.f64 (*.f64 x (neg.f64 (sqrt.f64 2)))) |
| 3× | egg-rewrite-iter-limit |
| 3× | egg-rewrite |
| 1× | batch-egg-rewrite |
| 78× | add-sqr-sqrt_binary64 |
| 78× | add-sqr-sqrt_binary64 |
| 77× | add-sqr-sqrt_binary64 |
| 74× | add-cbrt-cube_binary64 |
| 74× | add-exp-log_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 9 | 31 |
| 1 | 180 | 31 |
| 2 | 1942 | 31 |
| 0 | 7 | 10 |
| 1 | 144 | 10 |
| 2 | 1675 | 10 |
| 0 | 7 | 10 |
| 0 | 8 | 13 |
| 1 | 164 | 13 |
| 2 | 1875 | 13 |
| 0 | 8 | 13 |
| 0 | 9 | 8 |
| 1 | 180 | 8 |
| 2 | 1942 | 8 |
| 0 | 9 | 8 |
| 1× | iter limit |
| 1× | unsound |
| 1× | iter limit |
| 1× | unsound |
| 1× | iter limit |
| 1× | unsound |
| 1× | unsound |
| Inputs |
|---|
(cbrt.f64 (*.f64 x (neg.f64 (sqrt.f64 2)))) |
(*.f64 (cbrt.f64 (*.f64 x (neg.f64 (sqrt.f64 2)))) (cbrt.f64 (*.f64 x (neg.f64 (sqrt.f64 2))))) |
(*.f64 (*.f64 (cbrt.f64 (*.f64 x (neg.f64 (sqrt.f64 2)))) (cbrt.f64 (*.f64 x (neg.f64 (sqrt.f64 2))))) (cbrt.f64 (*.f64 x (neg.f64 (sqrt.f64 2))))) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (cbrt.f64 (*.f64 x (neg.f64 (sqrt.f64 2)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 x) (cbrt.f64 (neg.f64 (sqrt.f64 2))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (cbrt.f64 (cbrt.f64 (*.f64 x (neg.f64 (sqrt.f64 2))))) (cbrt.f64 (cbrt.f64 (*.f64 x (neg.f64 (sqrt.f64 2)))))) (cbrt.f64 (cbrt.f64 (*.f64 x (neg.f64 (sqrt.f64 2))))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (cbrt.f64 (*.f64 x (neg.f64 (sqrt.f64 2))))) (sqrt.f64 (cbrt.f64 (*.f64 x (neg.f64 (sqrt.f64 2))))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 x (neg.f64 (sqrt.f64 2))) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (*.f64 x (neg.f64 (sqrt.f64 2)))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (cbrt.f64 (*.f64 x (neg.f64 (sqrt.f64 2))))))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (cbrt.f64 (*.f64 x (neg.f64 (sqrt.f64 2))))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (cbrt.f64 (*.f64 x (neg.f64 (sqrt.f64 2))))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (cbrt.f64 (*.f64 x (neg.f64 (sqrt.f64 2)))))))))) |
((#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (*.f64 x (neg.f64 (sqrt.f64 2)))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (cbrt.f64 (*.f64 x (neg.f64 (sqrt.f64 2)))) 2) 1)))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (pow.f64 (cbrt.f64 (*.f64 x (neg.f64 (sqrt.f64 2)))) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (*.f64 (*.f64 (pow.f64 (cbrt.f64 (*.f64 x (neg.f64 (sqrt.f64 2)))) 2) (pow.f64 (cbrt.f64 (*.f64 x (neg.f64 (sqrt.f64 2)))) 2)) (pow.f64 (cbrt.f64 (*.f64 x (neg.f64 (sqrt.f64 2)))) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (*.f64 (*.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 (pow.f64 (cbrt.f64 (*.f64 x (neg.f64 (sqrt.f64 2)))) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (pow.f64 (cbrt.f64 (*.f64 x (neg.f64 (sqrt.f64 2)))) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (pow.f64 (cbrt.f64 (*.f64 x (neg.f64 (sqrt.f64 2)))) 2))))))) |
((#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 x (neg.f64 (sqrt.f64 2))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (*.f64 x (neg.f64 (sqrt.f64 2)))) 3)))) (#(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 3 expressions with local error:
| New | Error | Program |
|---|---|---|
| ✓ | 0.1b | (*.f64 (*.f64 x (*.f64 2 x)) (*.f64 x (neg.f64 (sqrt.f64 2)))) |
| 0.5b | (*.f64 x (neg.f64 (sqrt.f64 2))) | |
| ✓ | 40.6b | (cbrt.f64 (*.f64 (*.f64 x (*.f64 2 x)) (*.f64 x (neg.f64 (sqrt.f64 2))))) |
Compiled 44 to 33 computations (25% saved)
6 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 5.0ms | x | @ | 0 | (cbrt.f64 (*.f64 (*.f64 x (*.f64 2 x)) (*.f64 x (neg.f64 (sqrt.f64 2))))) |
| 2.0ms | x | @ | -inf | (cbrt.f64 (*.f64 (*.f64 x (*.f64 2 x)) (*.f64 x (neg.f64 (sqrt.f64 2))))) |
| 1.0ms | x | @ | inf | (cbrt.f64 (*.f64 (*.f64 x (*.f64 2 x)) (*.f64 x (neg.f64 (sqrt.f64 2))))) |
| 1.0ms | x | @ | 0 | (*.f64 (*.f64 x (*.f64 2 x)) (*.f64 x (neg.f64 (sqrt.f64 2)))) |
| 1.0ms | x | @ | inf | (*.f64 (*.f64 x (*.f64 2 x)) (*.f64 x (neg.f64 (sqrt.f64 2)))) |
| 2× | egg-rewrite-iter-limit |
| 2× | egg-rewrite |
| 1× | batch-egg-rewrite |
| 111× | associate-*r*_binary64 |
| 111× | associate-*r*_binary64 |
| 104× | associate-*r*_binary64 |
| 101× | add-sqr-sqrt_binary64 |
| 101× | add-sqr-sqrt_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 10 | 36 |
| 1 | 209 | 36 |
| 2 | 2621 | 36 |
| 0 | 10 | 19 |
| 1 | 209 | 19 |
| 2 | 2621 | 19 |
| 0 | 10 | 19 |
| 0 | 9 | 17 |
| 1 | 190 | 17 |
| 2 | 2401 | 17 |
| 0 | 9 | 17 |
| 1× | iter limit |
| 1× | unsound |
| 1× | iter limit |
| 1× | unsound |
| 1× | unsound |
| Inputs |
|---|
(cbrt.f64 (*.f64 (*.f64 x (*.f64 2 x)) (*.f64 x (neg.f64 (sqrt.f64 2))))) |
(*.f64 (*.f64 x (*.f64 2 x)) (*.f64 x (neg.f64 (sqrt.f64 2)))) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (cbrt.f64 (*.f64 (*.f64 x (*.f64 x 2)) (*.f64 x (neg.f64 (sqrt.f64 2))))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (*.f64 x (*.f64 x 2))) (cbrt.f64 (*.f64 x (neg.f64 (sqrt.f64 2)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (cbrt.f64 (cbrt.f64 (*.f64 (*.f64 x (*.f64 x 2)) (*.f64 x (neg.f64 (sqrt.f64 2)))))) (cbrt.f64 (cbrt.f64 (*.f64 (*.f64 x (*.f64 x 2)) (*.f64 x (neg.f64 (sqrt.f64 2))))))) (cbrt.f64 (cbrt.f64 (*.f64 (*.f64 x (*.f64 x 2)) (*.f64 x (neg.f64 (sqrt.f64 2)))))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (cbrt.f64 (*.f64 (*.f64 x (*.f64 x 2)) (*.f64 x (neg.f64 (sqrt.f64 2)))))) (sqrt.f64 (cbrt.f64 (*.f64 (*.f64 x (*.f64 x 2)) (*.f64 x (neg.f64 (sqrt.f64 2)))))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 (*.f64 x (*.f64 x 2)) (*.f64 x (neg.f64 (sqrt.f64 2)))) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (*.f64 (*.f64 x (*.f64 x 2)) (*.f64 x (neg.f64 (sqrt.f64 2))))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (cbrt.f64 (*.f64 (*.f64 x (*.f64 x 2)) (*.f64 x (neg.f64 (sqrt.f64 2)))))))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (cbrt.f64 (*.f64 (*.f64 x (*.f64 x 2)) (*.f64 x (neg.f64 (sqrt.f64 2)))))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (cbrt.f64 (*.f64 (*.f64 x (*.f64 x 2)) (*.f64 x (neg.f64 (sqrt.f64 2)))))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (cbrt.f64 (*.f64 (*.f64 x (*.f64 x 2)) (*.f64 x (neg.f64 (sqrt.f64 2))))))))))) |
((#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 (*.f64 x (*.f64 x 2)) (*.f64 x (neg.f64 (sqrt.f64 2)))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (*.f64 (*.f64 x (*.f64 x 2)) (*.f64 x (neg.f64 (sqrt.f64 2))))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (*.f64 (*.f64 (*.f64 (*.f64 x (*.f64 x 2)) (*.f64 x (neg.f64 (sqrt.f64 2)))) (*.f64 (*.f64 x (*.f64 x 2)) (*.f64 x (neg.f64 (sqrt.f64 2))))) (*.f64 (*.f64 x (*.f64 x 2)) (*.f64 x (neg.f64 (sqrt.f64 2))))))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 (*.f64 x (*.f64 x 2)) (*.f64 x (neg.f64 (sqrt.f64 2))))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 (*.f64 x (*.f64 x 2)) (*.f64 x (neg.f64 (sqrt.f64 2))))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (*.f64 (*.f64 x (*.f64 x 2)) (*.f64 x (neg.f64 (sqrt.f64 2)))))))))) |
| 1× | egg-herbie |
| 773× | fma-neg_binary64 |
| 546× | distribute-lft-neg-in_binary64 |
| 544× | distribute-rgt-neg-in_binary64 |
| 460× | unswap-sqr_binary64 |
| 411× | fma-def_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 21 | 308 |
| 1 | 55 | 308 |
| 2 | 149 | 308 |
| 3 | 434 | 308 |
| 4 | 1121 | 308 |
| 5 | 1594 | 308 |
| 6 | 2059 | 308 |
| 7 | 2761 | 308 |
| 8 | 3984 | 308 |
| 9 | 5106 | 308 |
| 10 | 5998 | 308 |
| 11 | 6711 | 308 |
| 12 | 7865 | 308 |
| 1× | node limit |
| Inputs |
|---|
(*.f64 (pow.f64 (*.f64 (sqrt.f64 2) 1) 1/3) (*.f64 (cbrt.f64 -2) x)) |
(*.f64 (pow.f64 (*.f64 (sqrt.f64 2) 1) 1/3) (*.f64 (cbrt.f64 -2) x)) |
(*.f64 (pow.f64 (*.f64 (sqrt.f64 2) 1) 1/3) (*.f64 (cbrt.f64 -2) x)) |
(*.f64 (pow.f64 (*.f64 (sqrt.f64 2) 1) 1/3) (*.f64 (cbrt.f64 -2) x)) |
(*.f64 (pow.f64 (*.f64 (sqrt.f64 2) 1) 1/3) (*.f64 (cbrt.f64 -2) x)) |
(*.f64 (pow.f64 (*.f64 (sqrt.f64 2) 1) 1/3) (*.f64 (cbrt.f64 -2) x)) |
(*.f64 (pow.f64 (*.f64 (sqrt.f64 2) 1) 1/3) (*.f64 (cbrt.f64 -2) x)) |
(*.f64 (pow.f64 (*.f64 (sqrt.f64 2) 1) 1/3) (*.f64 (cbrt.f64 -2) x)) |
(*.f64 -1 (*.f64 (pow.f64 (*.f64 (sqrt.f64 2) 1) 1/3) (*.f64 (cbrt.f64 2) x))) |
(*.f64 -1 (*.f64 (pow.f64 (*.f64 (sqrt.f64 2) 1) 1/3) (*.f64 (cbrt.f64 2) x))) |
(*.f64 -1 (*.f64 (pow.f64 (*.f64 (sqrt.f64 2) 1) 1/3) (*.f64 (cbrt.f64 2) x))) |
(*.f64 -1 (*.f64 (pow.f64 (*.f64 (sqrt.f64 2) 1) 1/3) (*.f64 (cbrt.f64 2) x))) |
(*.f64 -2 (*.f64 (sqrt.f64 2) (pow.f64 x 3))) |
(*.f64 -2 (*.f64 (sqrt.f64 2) (pow.f64 x 3))) |
(*.f64 -2 (*.f64 (sqrt.f64 2) (pow.f64 x 3))) |
(*.f64 -2 (*.f64 (sqrt.f64 2) (pow.f64 x 3))) |
(*.f64 -2 (*.f64 (sqrt.f64 2) (pow.f64 x 3))) |
(*.f64 -2 (*.f64 (sqrt.f64 2) (pow.f64 x 3))) |
(*.f64 -2 (*.f64 (sqrt.f64 2) (pow.f64 x 3))) |
(*.f64 -2 (*.f64 (sqrt.f64 2) (pow.f64 x 3))) |
(*.f64 -2 (*.f64 (sqrt.f64 2) (pow.f64 x 3))) |
(*.f64 -2 (*.f64 (sqrt.f64 2) (pow.f64 x 3))) |
(*.f64 -2 (*.f64 (sqrt.f64 2) (pow.f64 x 3))) |
(*.f64 -2 (*.f64 (sqrt.f64 2) (pow.f64 x 3))) |
| Outputs |
|---|
(*.f64 (pow.f64 (*.f64 (sqrt.f64 2) 1) 1/3) (*.f64 (cbrt.f64 -2) x)) |
(*.f64 (cbrt.f64 (sqrt.f64 2)) (*.f64 (cbrt.f64 -2) x)) |
(*.f64 (pow.f64 (*.f64 (sqrt.f64 2) 1) 1/3) (*.f64 (cbrt.f64 -2) x)) |
(*.f64 (cbrt.f64 (sqrt.f64 2)) (*.f64 (cbrt.f64 -2) x)) |
(*.f64 (pow.f64 (*.f64 (sqrt.f64 2) 1) 1/3) (*.f64 (cbrt.f64 -2) x)) |
(*.f64 (cbrt.f64 (sqrt.f64 2)) (*.f64 (cbrt.f64 -2) x)) |
(*.f64 (pow.f64 (*.f64 (sqrt.f64 2) 1) 1/3) (*.f64 (cbrt.f64 -2) x)) |
(*.f64 (cbrt.f64 (sqrt.f64 2)) (*.f64 (cbrt.f64 -2) x)) |
(*.f64 (pow.f64 (*.f64 (sqrt.f64 2) 1) 1/3) (*.f64 (cbrt.f64 -2) x)) |
(*.f64 (cbrt.f64 (sqrt.f64 2)) (*.f64 (cbrt.f64 -2) x)) |
(*.f64 (pow.f64 (*.f64 (sqrt.f64 2) 1) 1/3) (*.f64 (cbrt.f64 -2) x)) |
(*.f64 (cbrt.f64 (sqrt.f64 2)) (*.f64 (cbrt.f64 -2) x)) |
(*.f64 (pow.f64 (*.f64 (sqrt.f64 2) 1) 1/3) (*.f64 (cbrt.f64 -2) x)) |
(*.f64 (cbrt.f64 (sqrt.f64 2)) (*.f64 (cbrt.f64 -2) x)) |
(*.f64 (pow.f64 (*.f64 (sqrt.f64 2) 1) 1/3) (*.f64 (cbrt.f64 -2) x)) |
(*.f64 (cbrt.f64 (sqrt.f64 2)) (*.f64 (cbrt.f64 -2) x)) |
(*.f64 -1 (*.f64 (pow.f64 (*.f64 (sqrt.f64 2) 1) 1/3) (*.f64 (cbrt.f64 2) x))) |
(neg.f64 (*.f64 (cbrt.f64 (sqrt.f64 2)) (*.f64 x (cbrt.f64 2)))) |
(*.f64 (*.f64 (cbrt.f64 (sqrt.f64 2)) (cbrt.f64 2)) (neg.f64 x)) |
(*.f64 x (neg.f64 (*.f64 (cbrt.f64 (sqrt.f64 2)) (cbrt.f64 2)))) |
(*.f64 (cbrt.f64 (sqrt.f64 2)) (*.f64 (cbrt.f64 2) (neg.f64 x))) |
(*.f64 (cbrt.f64 (sqrt.f64 2)) (*.f64 x (neg.f64 (cbrt.f64 2)))) |
(*.f64 -1 (*.f64 (pow.f64 (*.f64 (sqrt.f64 2) 1) 1/3) (*.f64 (cbrt.f64 2) x))) |
(neg.f64 (*.f64 (cbrt.f64 (sqrt.f64 2)) (*.f64 x (cbrt.f64 2)))) |
(*.f64 (*.f64 (cbrt.f64 (sqrt.f64 2)) (cbrt.f64 2)) (neg.f64 x)) |
(*.f64 x (neg.f64 (*.f64 (cbrt.f64 (sqrt.f64 2)) (cbrt.f64 2)))) |
(*.f64 (cbrt.f64 (sqrt.f64 2)) (*.f64 (cbrt.f64 2) (neg.f64 x))) |
(*.f64 (cbrt.f64 (sqrt.f64 2)) (*.f64 x (neg.f64 (cbrt.f64 2)))) |
(*.f64 -1 (*.f64 (pow.f64 (*.f64 (sqrt.f64 2) 1) 1/3) (*.f64 (cbrt.f64 2) x))) |
(neg.f64 (*.f64 (cbrt.f64 (sqrt.f64 2)) (*.f64 x (cbrt.f64 2)))) |
(*.f64 (*.f64 (cbrt.f64 (sqrt.f64 2)) (cbrt.f64 2)) (neg.f64 x)) |
(*.f64 x (neg.f64 (*.f64 (cbrt.f64 (sqrt.f64 2)) (cbrt.f64 2)))) |
(*.f64 (cbrt.f64 (sqrt.f64 2)) (*.f64 (cbrt.f64 2) (neg.f64 x))) |
(*.f64 (cbrt.f64 (sqrt.f64 2)) (*.f64 x (neg.f64 (cbrt.f64 2)))) |
(*.f64 -1 (*.f64 (pow.f64 (*.f64 (sqrt.f64 2) 1) 1/3) (*.f64 (cbrt.f64 2) x))) |
(neg.f64 (*.f64 (cbrt.f64 (sqrt.f64 2)) (*.f64 x (cbrt.f64 2)))) |
(*.f64 (*.f64 (cbrt.f64 (sqrt.f64 2)) (cbrt.f64 2)) (neg.f64 x)) |
(*.f64 x (neg.f64 (*.f64 (cbrt.f64 (sqrt.f64 2)) (cbrt.f64 2)))) |
(*.f64 (cbrt.f64 (sqrt.f64 2)) (*.f64 (cbrt.f64 2) (neg.f64 x))) |
(*.f64 (cbrt.f64 (sqrt.f64 2)) (*.f64 x (neg.f64 (cbrt.f64 2)))) |
(*.f64 -2 (*.f64 (sqrt.f64 2) (pow.f64 x 3))) |
(*.f64 (sqrt.f64 2) (*.f64 -2 (pow.f64 x 3))) |
(*.f64 -2 (*.f64 (sqrt.f64 2) (pow.f64 x 3))) |
(*.f64 (sqrt.f64 2) (*.f64 -2 (pow.f64 x 3))) |
(*.f64 -2 (*.f64 (sqrt.f64 2) (pow.f64 x 3))) |
(*.f64 (sqrt.f64 2) (*.f64 -2 (pow.f64 x 3))) |
(*.f64 -2 (*.f64 (sqrt.f64 2) (pow.f64 x 3))) |
(*.f64 (sqrt.f64 2) (*.f64 -2 (pow.f64 x 3))) |
(*.f64 -2 (*.f64 (sqrt.f64 2) (pow.f64 x 3))) |
(*.f64 (sqrt.f64 2) (*.f64 -2 (pow.f64 x 3))) |
(*.f64 -2 (*.f64 (sqrt.f64 2) (pow.f64 x 3))) |
(*.f64 (sqrt.f64 2) (*.f64 -2 (pow.f64 x 3))) |
(*.f64 -2 (*.f64 (sqrt.f64 2) (pow.f64 x 3))) |
(*.f64 (sqrt.f64 2) (*.f64 -2 (pow.f64 x 3))) |
(*.f64 -2 (*.f64 (sqrt.f64 2) (pow.f64 x 3))) |
(*.f64 (sqrt.f64 2) (*.f64 -2 (pow.f64 x 3))) |
(*.f64 -2 (*.f64 (sqrt.f64 2) (pow.f64 x 3))) |
(*.f64 (sqrt.f64 2) (*.f64 -2 (pow.f64 x 3))) |
(*.f64 -2 (*.f64 (sqrt.f64 2) (pow.f64 x 3))) |
(*.f64 (sqrt.f64 2) (*.f64 -2 (pow.f64 x 3))) |
(*.f64 -2 (*.f64 (sqrt.f64 2) (pow.f64 x 3))) |
(*.f64 (sqrt.f64 2) (*.f64 -2 (pow.f64 x 3))) |
(*.f64 -2 (*.f64 (sqrt.f64 2) (pow.f64 x 3))) |
(*.f64 (sqrt.f64 2) (*.f64 -2 (pow.f64 x 3))) |
Found 3 expressions with local error:
| New | Error | Program |
|---|---|---|
| ✓ | 0.0b | (*.f64 (*.f64 x x) 2) |
| ✓ | 0.4b | (*.f64 (pow.f64 (*.f64 (*.f64 x x) 2) 1/4) (pow.f64 (*.f64 (*.f64 x x) 2) 1/4)) |
| ✓ | 33.8b | (pow.f64 (*.f64 (*.f64 x x) 2) 1/4) |
Compiled 34 to 19 computations (44.1% saved)
9 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 10.0ms | x | @ | 0 | (pow.f64 (*.f64 (*.f64 x x) 2) 1/4) |
| 8.0ms | x | @ | inf | (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 | @ | 0 | (*.f64 (pow.f64 (*.f64 (*.f64 x x) 2) 1/4) (pow.f64 (*.f64 (*.f64 x x) 2) 1/4)) |
| 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.2b | (*.f64 (*.f64 x x) (sqrt.f64 2)) |
| ✓ | 0.3b | (*.f64 (pow.f64 2 1/4) (sqrt.f64 (*.f64 (*.f64 x x) (sqrt.f64 2)))) |
| ✓ | 32.7b | (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))) |
| 0.0ms | x | @ | 0 | (*.f64 (pow.f64 2 1/4) (sqrt.f64 (*.f64 (*.f64 x x) (sqrt.f64 2)))) |
| 0.0ms | x | @ | inf | (*.f64 (pow.f64 2 1/4) (sqrt.f64 (*.f64 (*.f64 x x) (sqrt.f64 2)))) |
| 0.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 3 expressions with local error:
| New | Error | Program |
|---|---|---|
| ✓ | 0.1b | (sqrt.f64 (*.f64 x (neg.f64 (sqrt.f64 2)))) |
| ✓ | 0.2b | (*.f64 (sqrt.f64 (*.f64 x (neg.f64 (sqrt.f64 2)))) (sqrt.f64 (*.f64 x (neg.f64 (sqrt.f64 2))))) |
| 0.5b | (*.f64 x (neg.f64 (sqrt.f64 2))) |
Compiled 32 to 27 computations (15.6% saved)
6 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 2.0ms | x | @ | 0 | (*.f64 (sqrt.f64 (*.f64 x (neg.f64 (sqrt.f64 2)))) (sqrt.f64 (*.f64 x (neg.f64 (sqrt.f64 2))))) |
| 2.0ms | x | @ | 0 | (sqrt.f64 (*.f64 x (neg.f64 (sqrt.f64 2)))) |
| 2.0ms | x | @ | inf | (*.f64 (sqrt.f64 (*.f64 x (neg.f64 (sqrt.f64 2)))) (sqrt.f64 (*.f64 x (neg.f64 (sqrt.f64 2))))) |
| 1.0ms | x | @ | inf | (sqrt.f64 (*.f64 x (neg.f64 (sqrt.f64 2)))) |
| 1.0ms | x | @ | -inf | (sqrt.f64 (*.f64 x (neg.f64 (sqrt.f64 2)))) |
| 2× | egg-rewrite-iter-limit |
| 2× | egg-rewrite |
| 1× | batch-egg-rewrite |
| 69× | add-sqr-sqrt_binary64 |
| 69× | add-sqr-sqrt_binary64 |
| 69× | add-sqr-sqrt_binary64 |
| 65× | add-exp-log_binary64 |
| 65× | add-log-exp_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 8 | 18 |
| 1 | 165 | 18 |
| 2 | 1716 | 18 |
| 0 | 8 | 8 |
| 1 | 165 | 8 |
| 2 | 1716 | 8 |
| 0 | 8 | 8 |
| 0 | 7 | 10 |
| 1 | 145 | 10 |
| 2 | 1684 | 10 |
| 0 | 7 | 10 |
| 1× | iter limit |
| 1× | unsound |
| 1× | iter limit |
| 1× | unsound |
| 1× | unsound |
| Inputs |
|---|
(*.f64 (sqrt.f64 (*.f64 x (neg.f64 (sqrt.f64 2)))) (sqrt.f64 (*.f64 x (neg.f64 (sqrt.f64 2))))) |
(sqrt.f64 (*.f64 x (neg.f64 (sqrt.f64 2)))) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (*.f64 x (neg.f64 (sqrt.f64 2)))) 2)))) (#(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 sqrt.f64 (*.f64 (*.f64 x (neg.f64 (sqrt.f64 2))) (*.f64 x (neg.f64 (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))))))))) |
((#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (sqrt.f64 (*.f64 x (neg.f64 (sqrt.f64 2)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (cbrt.f64 (sqrt.f64 (*.f64 x (neg.f64 (sqrt.f64 2))))) (cbrt.f64 (sqrt.f64 (*.f64 x (neg.f64 (sqrt.f64 2)))))) (cbrt.f64 (sqrt.f64 (*.f64 x (neg.f64 (sqrt.f64 2))))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 x) (sqrt.f64 (neg.f64 (sqrt.f64 2))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (sqrt.f64 (*.f64 x (neg.f64 (sqrt.f64 2))))) (sqrt.f64 (sqrt.f64 (*.f64 x (neg.f64 (sqrt.f64 2))))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 x (neg.f64 (sqrt.f64 2))) 1/2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (*.f64 x (neg.f64 (sqrt.f64 2)))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (sqrt.f64 (*.f64 x (neg.f64 (sqrt.f64 2))))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (*.f64 (*.f64 x (neg.f64 (sqrt.f64 2))) (sqrt.f64 (*.f64 x (neg.f64 (sqrt.f64 2))))))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (sqrt.f64 (*.f64 x (neg.f64 (sqrt.f64 2))))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (sqrt.f64 (*.f64 x (neg.f64 (sqrt.f64 2))))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (sqrt.f64 (*.f64 x (neg.f64 (sqrt.f64 2)))))))))) |
| 1× | egg-herbie |
| 1037× | fma-def_binary64 |
| 795× | fabs-mul_binary64 |
| 775× | cube-prod_binary64 |
| 741× | sqr-pow_binary64 |
| 409× | pow-sqr_binary64 |
Useful iterations: 1 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 11 | 168 |
| 1 | 25 | 96 |
| 2 | 54 | 96 |
| 3 | 91 | 96 |
| 4 | 198 | 96 |
| 5 | 632 | 96 |
| 6 | 902 | 96 |
| 7 | 1097 | 96 |
| 8 | 1918 | 96 |
| 9 | 2939 | 96 |
| 10 | 3217 | 96 |
| 11 | 3476 | 96 |
| 12 | 3793 | 96 |
| 13 | 4185 | 96 |
| 14 | 4666 | 96 |
| 15 | 5307 | 96 |
| 16 | 6203 | 96 |
| 17 | 7388 | 96 |
| 1× | node limit |
| Inputs |
|---|
(*.f64 (sqrt.f64 2) (*.f64 (pow.f64 (sqrt.f64 -1) 2) x)) |
(*.f64 (sqrt.f64 2) (*.f64 (pow.f64 (sqrt.f64 -1) 2) x)) |
(*.f64 (sqrt.f64 2) (*.f64 (pow.f64 (sqrt.f64 -1) 2) x)) |
(*.f64 (sqrt.f64 2) (*.f64 (pow.f64 (sqrt.f64 -1) 2) x)) |
(*.f64 (sqrt.f64 2) (*.f64 (pow.f64 (sqrt.f64 -1) 2) x)) |
(*.f64 (sqrt.f64 2) (*.f64 (pow.f64 (sqrt.f64 -1) 2) x)) |
(*.f64 (sqrt.f64 2) (*.f64 (pow.f64 (sqrt.f64 -1) 2) x)) |
(*.f64 (sqrt.f64 2) (*.f64 (pow.f64 (sqrt.f64 -1) 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) (*.f64 (pow.f64 (sqrt.f64 -1) 2) x)) |
(*.f64 (sqrt.f64 2) (neg.f64 x)) |
(*.f64 (sqrt.f64 2) (*.f64 (pow.f64 (sqrt.f64 -1) 2) x)) |
(*.f64 (sqrt.f64 2) (neg.f64 x)) |
(*.f64 (sqrt.f64 2) (*.f64 (pow.f64 (sqrt.f64 -1) 2) x)) |
(*.f64 (sqrt.f64 2) (neg.f64 x)) |
(*.f64 (sqrt.f64 2) (*.f64 (pow.f64 (sqrt.f64 -1) 2) x)) |
(*.f64 (sqrt.f64 2) (neg.f64 x)) |
(*.f64 (sqrt.f64 2) (*.f64 (pow.f64 (sqrt.f64 -1) 2) x)) |
(*.f64 (sqrt.f64 2) (neg.f64 x)) |
(*.f64 (sqrt.f64 2) (*.f64 (pow.f64 (sqrt.f64 -1) 2) x)) |
(*.f64 (sqrt.f64 2) (neg.f64 x)) |
(*.f64 (sqrt.f64 2) (*.f64 (pow.f64 (sqrt.f64 -1) 2) x)) |
(*.f64 (sqrt.f64 2) (neg.f64 x)) |
(*.f64 (sqrt.f64 2) (*.f64 (pow.f64 (sqrt.f64 -1) 2) x)) |
(*.f64 (sqrt.f64 2) (neg.f64 x)) |
(*.f64 -1 (*.f64 (sqrt.f64 2) x)) |
(*.f64 (sqrt.f64 2) (*.f64 (pow.f64 (sqrt.f64 -1) 2) x)) |
(*.f64 (sqrt.f64 2) (neg.f64 x)) |
(*.f64 -1 (*.f64 (sqrt.f64 2) x)) |
(*.f64 (sqrt.f64 2) (*.f64 (pow.f64 (sqrt.f64 -1) 2) x)) |
(*.f64 (sqrt.f64 2) (neg.f64 x)) |
(*.f64 -1 (*.f64 (sqrt.f64 2) x)) |
(*.f64 (sqrt.f64 2) (*.f64 (pow.f64 (sqrt.f64 -1) 2) x)) |
(*.f64 (sqrt.f64 2) (neg.f64 x)) |
(*.f64 -1 (*.f64 (sqrt.f64 2) x)) |
(*.f64 (sqrt.f64 2) (*.f64 (pow.f64 (sqrt.f64 -1) 2) x)) |
(*.f64 (sqrt.f64 2) (neg.f64 x)) |
Compiled 4959 to 4035 computations (18.6% saved)
16 alts after pruning (8 fresh and 8 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 306 | 8 | 314 |
| Fresh | 0 | 0 | 0 |
| Picked | 1 | 0 | 1 |
| Done | 2 | 8 | 10 |
| Total | 309 | 16 | 325 |
| Status | Error | Program |
|---|---|---|
| ✓ | 31.0b | (*.f64 (sqrt.f64 2) x) |
| ✓ | 31.7b | (*.f64 (sqrt.f64 (*.f64 2 x)) (sqrt.f64 x)) |
| 34.6b | (*.f64 (*.f64 (cbrt.f64 (*.f64 x (neg.f64 (sqrt.f64 2)))) (cbrt.f64 (exp.f64 (log.f64 (*.f64 x (neg.f64 (sqrt.f64 2))))))) (cbrt.f64 (*.f64 x (neg.f64 (sqrt.f64 2))))) | |
| 33.2b | (*.f64 (*.f64 (*.f64 (cbrt.f64 (sqrt.f64 (*.f64 x (neg.f64 (sqrt.f64 2))))) (cbrt.f64 (sqrt.f64 (*.f64 x (neg.f64 (sqrt.f64 2)))))) (cbrt.f64 (sqrt.f64 (*.f64 x (neg.f64 (sqrt.f64 2)))))) (sqrt.f64 (*.f64 x (neg.f64 (sqrt.f64 2))))) | |
| 32.4b | (*.f64 (*.f64 (*.f64 (cbrt.f64 x) (cbrt.f64 (neg.f64 (sqrt.f64 2)))) (cbrt.f64 (*.f64 x (neg.f64 (sqrt.f64 2))))) (cbrt.f64 (*.f64 x (neg.f64 (sqrt.f64 2))))) | |
| 44.7b | (*.f64 (sqrt.f64 (*.f64 x (neg.f64 (sqrt.f64 2)))) (cbrt.f64 (*.f64 (*.f64 x (neg.f64 (sqrt.f64 2))) (sqrt.f64 (*.f64 x (neg.f64 (sqrt.f64 2))))))) | |
| 32.5b | (pow.f64 (cbrt.f64 (*.f64 x (neg.f64 (sqrt.f64 2)))) 3) | |
| ✓ | 32.0b | (*.f64 x (neg.f64 (sqrt.f64 2))) |
| ✓ | 45.6b | (pow.f64 (*.f64 4 (pow.f64 x 4)) 1/4) |
| 32.8b | (pow.f64 (sqrt.f64 (*.f64 x (neg.f64 (sqrt.f64 2)))) 2) | |
| ✓ | 34.1b | (sqrt.f64 (*.f64 2 (*.f64 x x))) |
| 31.0b | (*.f64 x (*.f64 (sqrt.f64 (sqrt.f64 2)) (pow.f64 2 1/4))) | |
| 32.0b | (*.f64 (pow.f64 2 1/4) (*.f64 (sqrt.f64 (sqrt.f64 2)) (neg.f64 x))) | |
| ✓ | 51.7b | (cbrt.f64 (*.f64 (*.f64 x (*.f64 2 x)) (*.f64 x (neg.f64 (sqrt.f64 2))))) |
| ✓ | 30.9b | (*.f64 (pow.f64 2 1/4) (*.f64 (pow.f64 2 1/4) x)) |
| ✓ | 34.2b | (*.f64 (pow.f64 (*.f64 (*.f64 x x) 2) 1/4) (pow.f64 (*.f64 (*.f64 x x) 2) 1/4)) |
Compiled 209 to 176 computations (15.8% 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)) |
(*.f64 (pow.f64 2 1/4) (*.f64 (pow.f64 2 1/4) x)) |
(cbrt.f64 (*.f64 (*.f64 x (*.f64 2 x)) (*.f64 x (neg.f64 (sqrt.f64 2))))) |
(*.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) |
(pow.f64 (cbrt.f64 (*.f64 x (neg.f64 (sqrt.f64 2)))) 3) |
(pow.f64 (sqrt.f64 (*.f64 x (neg.f64 (sqrt.f64 2)))) 2) |
(*.f64 x (*.f64 (sqrt.f64 (sqrt.f64 2)) (pow.f64 2 1/4))) |
(*.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)))) |
(*.f64 (sqrt.f64 (*.f64 x (neg.f64 (sqrt.f64 2)))) (sqrt.f64 (*.f64 x (neg.f64 (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))))) |
(*.f64 (sqrt.f64 (*.f64 x (neg.f64 (sqrt.f64 2)))) (cbrt.f64 (*.f64 (*.f64 x (neg.f64 (sqrt.f64 2))) (sqrt.f64 (*.f64 x (neg.f64 (sqrt.f64 2))))))) |
(*.f64 (*.f64 (cbrt.f64 (*.f64 x (neg.f64 (sqrt.f64 2)))) (cbrt.f64 (*.f64 x (neg.f64 (sqrt.f64 2))))) (cbrt.f64 (*.f64 x (neg.f64 (sqrt.f64 2))))) |
(*.f64 (*.f64 (*.f64 (cbrt.f64 x) (cbrt.f64 (neg.f64 (sqrt.f64 2)))) (cbrt.f64 (*.f64 x (neg.f64 (sqrt.f64 2))))) (cbrt.f64 (*.f64 x (neg.f64 (sqrt.f64 2))))) |
(*.f64 (*.f64 (cbrt.f64 (*.f64 x (neg.f64 (sqrt.f64 2)))) (cbrt.f64 (exp.f64 (log.f64 (*.f64 x (neg.f64 (sqrt.f64 2))))))) (cbrt.f64 (*.f64 x (neg.f64 (sqrt.f64 2))))) |
(*.f64 (*.f64 (*.f64 (cbrt.f64 (sqrt.f64 (*.f64 x (neg.f64 (sqrt.f64 2))))) (cbrt.f64 (sqrt.f64 (*.f64 x (neg.f64 (sqrt.f64 2)))))) (cbrt.f64 (sqrt.f64 (*.f64 x (neg.f64 (sqrt.f64 2)))))) (sqrt.f64 (*.f64 x (neg.f64 (sqrt.f64 2))))) |
| Outputs |
|---|
(*.f64 x (neg.f64 (sqrt.f64 2))) |
(*.f64 (sqrt.f64 (*.f64 2 x)) (sqrt.f64 x)) |
5 calls:
| 24.0ms | x |
| 22.0ms | (*.f64 2 (*.f64 x x)) |
| 21.0ms | (*.f64 x x) |
| 20.0ms | (*.f64 x x) |
| 19.0ms | (sqrt.f64 (*.f64 2 (*.f64 x x))) |
| Error | Segments | Branch |
|---|---|---|
| 0.4b | 2 | x |
| 16.5b | 3 | (sqrt.f64 (*.f64 2 (*.f64 x x))) |
| 16.5b | 3 | (*.f64 2 (*.f64 x x)) |
| 16.5b | 3 | (*.f64 x x) |
| 16.5b | 3 | (*.f64 x x) |
Compiled 300 to 243 computations (19% saved)
| 1× | binary-search |
| Time | Left | Right |
|---|---|---|
| 16.0ms | -2.713715200157104e-299 | 5.5881129459418656e-303 |
Compiled 11 to 8 computations (27.3% saved)
Total -62.1b remaining (-13369.3%)
Threshold costs -62.1b (-13369.3%)
| 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:
| 10.0ms | (*.f64 x x) |
| 7.0ms | (*.f64 2 (*.f64 x x)) |
| 7.0ms | (sqrt.f64 (*.f64 2 (*.f64 x x))) |
| 7.0ms | x |
| Error | Segments | Branch |
|---|---|---|
| 0.5b | 2 | x |
| 16.5b | 3 | (sqrt.f64 (*.f64 2 (*.f64 x x))) |
| 16.5b | 3 | (*.f64 2 (*.f64 x x)) |
| 16.5b | 3 | (*.f64 x x) |
Compiled 42 to 30 computations (28.6% saved)
| 1× | binary-search |
| Time | Left | Right |
|---|---|---|
| 27.0ms | -2.713715200157104e-299 | 5.5881129459418656e-303 |
Compiled 11 to 8 computations (27.3% saved)
| 1× | egg-herbie |
| 7× | *-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 | 16 | 51 |
| 1 | 26 | 51 |
| 2 | 33 | 51 |
| 3 | 38 | 51 |
| 4 | 41 | 51 |
| 5 | 42 | 51 |
| 1× | fuel |
| 1× | saturated |
| Inputs |
|---|
(if (<=.f64 x -1278850416061695/47125446914534694131579097993419809976955095716785201420286055195012674566357244479460731079205201122720511132925006540350105785156086431086764996857554304860885586653967937772270969055149056096849908977391371752266308172471982589601097478449614615258949356272900190565812730839296826751014759649673012612226351104) (*.f64 x (neg.f64 (sqrt.f64 2))) (*.f64 (sqrt.f64 (*.f64 2 x)) (sqrt.f64 x))) |
(if (<=.f64 x -1278850416061695/47125446914534694131579097993419809976955095716785201420286055195012674566357244479460731079205201122720511132925006540350105785156086431086764996857554304860885586653967937772270969055149056096849908977391371752266308172471982589601097478449614615258949356272900190565812730839296826751014759649673012612226351104) (*.f64 x (neg.f64 (sqrt.f64 2))) (*.f64 (sqrt.f64 2) x)) |
(*.f64 (sqrt.f64 2) x) |
| Outputs |
|---|
(if (<=.f64 x -1278850416061695/47125446914534694131579097993419809976955095716785201420286055195012674566357244479460731079205201122720511132925006540350105785156086431086764996857554304860885586653967937772270969055149056096849908977391371752266308172471982589601097478449614615258949356272900190565812730839296826751014759649673012612226351104) (*.f64 x (neg.f64 (sqrt.f64 2))) (*.f64 (sqrt.f64 (*.f64 2 x)) (sqrt.f64 x))) |
(if (<=.f64 x -1278850416061695/47125446914534694131579097993419809976955095716785201420286055195012674566357244479460731079205201122720511132925006540350105785156086431086764996857554304860885586653967937772270969055149056096849908977391371752266308172471982589601097478449614615258949356272900190565812730839296826751014759649673012612226351104) (neg.f64 (*.f64 x (sqrt.f64 2))) (*.f64 (sqrt.f64 (*.f64 x 2)) (sqrt.f64 x))) |
(if (<=.f64 x -1278850416061695/47125446914534694131579097993419809976955095716785201420286055195012674566357244479460731079205201122720511132925006540350105785156086431086764996857554304860885586653967937772270969055149056096849908977391371752266308172471982589601097478449614615258949356272900190565812730839296826751014759649673012612226351104) (*.f64 (sqrt.f64 2) (neg.f64 x)) (*.f64 (sqrt.f64 (*.f64 x 2)) (sqrt.f64 x))) |
(if (<=.f64 x -1278850416061695/47125446914534694131579097993419809976955095716785201420286055195012674566357244479460731079205201122720511132925006540350105785156086431086764996857554304860885586653967937772270969055149056096849908977391371752266308172471982589601097478449614615258949356272900190565812730839296826751014759649673012612226351104) (*.f64 x (neg.f64 (sqrt.f64 2))) (*.f64 (sqrt.f64 2) x)) |
(if (<=.f64 x -1278850416061695/47125446914534694131579097993419809976955095716785201420286055195012674566357244479460731079205201122720511132925006540350105785156086431086764996857554304860885586653967937772270969055149056096849908977391371752266308172471982589601097478449614615258949356272900190565812730839296826751014759649673012612226351104) (neg.f64 (*.f64 x (sqrt.f64 2))) (*.f64 x (sqrt.f64 2))) |
(if (<=.f64 x -1278850416061695/47125446914534694131579097993419809976955095716785201420286055195012674566357244479460731079205201122720511132925006540350105785156086431086764996857554304860885586653967937772270969055149056096849908977391371752266308172471982589601097478449614615258949356272900190565812730839296826751014759649673012612226351104) (*.f64 (sqrt.f64 2) (neg.f64 x)) (*.f64 x (sqrt.f64 2))) |
(*.f64 (sqrt.f64 2) x) |
(*.f64 x (sqrt.f64 2)) |
Compiled 36 to 28 computations (22.2% 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 34 to 25 computations (26.5% saved)
Loading profile data...