Time bar (total: 10.0s)
| 1× | search |
| True | Other | False | Iter |
|---|---|---|---|
| 0% | 49.7% | 50.3% | 0 |
| 0% | 49.7% | 50.3% | 1 |
| 0% | 49.7% | 50.3% | 2 |
| 24.8% | 24.8% | 50.3% | 3 |
| 37.3% | 12.4% | 50.3% | 4 |
| 43.5% | 6.2% | 50.3% | 5 |
| 46.6% | 3.1% | 50.3% | 6 |
| 48.1% | 1.6% | 50.3% | 7 |
| 48.9% | 0.8% | 50.3% | 8 |
| 49.3% | 0.4% | 50.3% | 9 |
| 49.5% | 0.2% | 50.3% | 10 |
| 49.6% | 0.1% | 50.3% | 11 |
| 49.6% | 0% | 50.3% | 12 |
| 49.7% | 0% | 50.3% | 13 |
| 49.7% | 0% | 50.3% | 14 |
Compiled 16 to 12 computations (25% saved)
| 6.7s | 4124× | body | 2048 | valid |
| 1.3s | 2067× | body | 1024 | valid |
| 382.0ms | 1094× | body | 512 | valid |
| 193.0ms | 223× | body | 4096 | valid |
| 118.0ms | 521× | body | 256 | valid |
| 37.0ms | 227× | body | 128 | valid |
Compiled 32 to 24 computations (25% saved)
| 2× | egg-herbie |
| 39× | fma-def_binary64 |
| 32× | fma-neg_binary64 |
| 15× | cancel-sign-sub-inv_binary64 |
| 12× | sub-neg_binary64 |
| 10× | distribute-rgt-in_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 7 | 12 |
| 1 | 11 | 12 |
| 2 | 17 | 12 |
| 3 | 25 | 12 |
| 4 | 35 | 12 |
| 5 | 53 | 12 |
| 6 | 90 | 12 |
| 7 | 124 | 12 |
| 8 | 169 | 12 |
| 9 | 205 | 12 |
| 10 | 231 | 12 |
| 11 | 233 | 12 |
| 0 | 1 | 1 |
| 1× | saturated |
| 1× | saturated |
| Inputs |
|---|
0 |
| Outputs |
|---|
0 |
| Inputs |
|---|
(-.f64 (/.f64 1 x) (/.f64 1 (tan.f64 x))) |
| Outputs |
|---|
(-.f64 (/.f64 1 x) (/.f64 1 (tan.f64 x))) |
(+.f64 (/.f64 1 x) (/.f64 -1 (tan.f64 x))) |
Compiled 9 to 7 computations (22.2% saved)
| 1× | egg-herbie |
| 39× | fma-def_binary64 |
| 32× | fma-neg_binary64 |
| 15× | cancel-sign-sub-inv_binary64 |
| 12× | sub-neg_binary64 |
| 10× | distribute-rgt-in_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 7 | 12 |
| 1 | 11 | 12 |
| 2 | 17 | 12 |
| 3 | 25 | 12 |
| 4 | 35 | 12 |
| 5 | 53 | 12 |
| 6 | 90 | 12 |
| 7 | 124 | 12 |
| 8 | 169 | 12 |
| 9 | 205 | 12 |
| 10 | 231 | 12 |
| 11 | 233 | 12 |
| 1× | saturated |
| Inputs |
|---|
(-.f64 (/.f64 1 x) (/.f64 1 (tan.f64 x))) |
| Outputs |
|---|
(-.f64 (/.f64 1 x) (/.f64 1 (tan.f64 x))) |
(+.f64 (/.f64 1 x) (/.f64 -1 (tan.f64 x))) |
2 alts after pruning (2 fresh and 0 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 1 | 1 | 2 |
| Fresh | 0 | 1 | 1 |
| Picked | 0 | 0 | 0 |
| Done | 0 | 0 | 0 |
| Total | 1 | 2 | 3 |
| Status | Error | Program |
|---|---|---|
| ▶ | 60.2b | (-.f64 (/.f64 1 x) (/.f64 1 (tan.f64 x))) |
Compiled 35 to 26 computations (25.7% saved)
Found 2 expressions with local error:
| New | Error | Program |
|---|---|---|
| ✓ | 0.0b | (/.f64 1 (tan.f64 x)) |
| ✓ | 2.2b | (-.f64 (/.f64 1 x) (/.f64 1 (tan.f64 x))) |
6 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 4.0ms | x | @ | -inf | (-.f64 (/.f64 1 x) (/.f64 1 (tan.f64 x))) |
| 4.0ms | x | @ | inf | (-.f64 (/.f64 1 x) (/.f64 1 (tan.f64 x))) |
| 4.0ms | x | @ | -inf | (/.f64 1 (tan.f64 x)) |
| 3.0ms | x | @ | inf | (/.f64 1 (tan.f64 x)) |
| 1.0ms | x | @ | 0 | (-.f64 (/.f64 1 x) (/.f64 1 (tan.f64 x))) |
| 1× | batch-egg-rewrite |
| 823× | log1p-expm1-u_binary64 |
| 823× | expm1-log1p-u_binary64 |
| 84× | add-sqr-sqrt_binary64 |
| 81× | *-un-lft-identity_binary64 |
| 81× | pow1_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 7 | 18 |
| 1 | 160 | 18 |
| 2 | 2358 | 18 |
| 1× | node limit |
| Inputs |
|---|
(-.f64 (/.f64 1 x) (/.f64 1 (tan.f64 x))) |
(/.f64 1 (tan.f64 x)) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x +.f64 (/.f64 1 x) (/.f64 -1 (tan.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (/.f64 1 x) (*.f64 (/.f64 -1 (tan.f64 x)) 1))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (+.f64 (/.f64 1 x) (/.f64 -1 (tan.f64 x))) (fma.f64 (/.f64 -1 (tan.f64 x)) 1 (/.f64 1 (tan.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (+.f64 (/.f64 1 x) (/.f64 -1 (tan.f64 x))) (fma.f64 (neg.f64 (/.f64 1 (cbrt.f64 (tan.f64 x)))) (cbrt.f64 (pow.f64 (tan.f64 x) -2)) (/.f64 1 (tan.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (+.f64 (/.f64 1 x) (/.f64 -1 (tan.f64 x))) (fma.f64 (neg.f64 (pow.f64 (tan.f64 x) -1/2)) (pow.f64 (tan.f64 x) -1/2) (/.f64 1 (tan.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (/.f64 -1 (tan.f64 x)) (/.f64 1 x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (+.f64 (/.f64 1 x) (/.f64 -1 (tan.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 (/.f64 1 x) (/.f64 -1 (tan.f64 x))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (+.f64 (/.f64 1 x) (/.f64 -1 (tan.f64 x)))) (pow.f64 (cbrt.f64 (+.f64 (/.f64 1 x) (/.f64 -1 (tan.f64 x)))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (+.f64 (/.f64 1 x) (/.f64 -1 (tan.f64 x)))) 2) (cbrt.f64 (+.f64 (/.f64 1 x) (/.f64 -1 (tan.f64 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (+.f64 (/.f64 1 x) (/.f64 -1 (tan.f64 x)))) (sqrt.f64 (+.f64 (/.f64 1 x) (/.f64 -1 (tan.f64 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (-.f64 (tan.f64 x) x) (/.f64 (/.f64 1 x) (tan.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (-.f64 (pow.f64 x -3) (pow.f64 (tan.f64 x) -3)) (/.f64 1 (+.f64 (pow.f64 x -2) (+.f64 (pow.f64 (tan.f64 x) -2) (/.f64 (/.f64 1 x) (tan.f64 x))))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (-.f64 (pow.f64 x -2) (pow.f64 (tan.f64 x) -2)) (/.f64 1 (+.f64 (/.f64 1 x) (/.f64 1 (tan.f64 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 (pow.f64 x -1/2) (pow.f64 (tan.f64 x) -1/2)) (-.f64 (pow.f64 x -1/2) (pow.f64 (tan.f64 x) -1/2)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (*.f64 (tan.f64 x) x) (-.f64 (tan.f64 x) x)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (+.f64 (pow.f64 x -2) (+.f64 (pow.f64 (tan.f64 x) -2) (/.f64 (/.f64 1 x) (tan.f64 x)))) (-.f64 (pow.f64 x -3) (pow.f64 (tan.f64 x) -3))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (+.f64 (/.f64 1 x) (/.f64 1 (tan.f64 x))) (-.f64 (pow.f64 x -2) (pow.f64 (tan.f64 x) -2))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (tan.f64 x) x) (*.f64 (tan.f64 x) x))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (pow.f64 x -3) (pow.f64 (tan.f64 x) -3)) (+.f64 (pow.f64 x -2) (+.f64 (pow.f64 (tan.f64 x) -2) (/.f64 (/.f64 1 x) (tan.f64 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (pow.f64 x -2) (pow.f64 (tan.f64 x) -2)) (+.f64 (/.f64 1 x) (/.f64 1 (tan.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (-.f64 (tan.f64 x) x)) (neg.f64 (*.f64 (tan.f64 x) x)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (-.f64 (pow.f64 x -3) (pow.f64 (tan.f64 x) -3))) (neg.f64 (+.f64 (pow.f64 x -2) (+.f64 (pow.f64 (tan.f64 x) -2) (/.f64 (/.f64 1 x) (tan.f64 x))))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (-.f64 (pow.f64 x -2) (pow.f64 (tan.f64 x) -2))) (neg.f64 (+.f64 (/.f64 1 x) (/.f64 1 (tan.f64 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (neg.f64 (tan.f64 x)) (*.f64 (neg.f64 x) 1)) (*.f64 (neg.f64 x) (tan.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (neg.f64 (tan.f64 x)) (*.f64 x -1)) (*.f64 x (neg.f64 (tan.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (*.f64 -1 (neg.f64 (tan.f64 x))) (*.f64 (neg.f64 x) -1)) (*.f64 (neg.f64 x) (neg.f64 (tan.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 x -3) (pow.f64 (/.f64 -1 (tan.f64 x)) 3)) (+.f64 (pow.f64 x -2) (-.f64 (*.f64 (/.f64 -1 (tan.f64 x)) (/.f64 -1 (tan.f64 x))) (*.f64 (/.f64 1 x) (/.f64 -1 (tan.f64 x))))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (pow.f64 x -2) (*.f64 (/.f64 -1 (tan.f64 x)) (/.f64 -1 (tan.f64 x)))) (-.f64 (/.f64 1 x) (/.f64 -1 (tan.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (/.f64 (-.f64 (tan.f64 x) x) x) (tan.f64 x))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (+.f64 (/.f64 1 x) (/.f64 -1 (tan.f64 x))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (+.f64 (/.f64 1 x) (/.f64 -1 (tan.f64 x))) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (+.f64 (/.f64 1 x) (/.f64 -1 (tan.f64 x)))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (+.f64 (/.f64 1 x) (/.f64 -1 (tan.f64 x)))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (+.f64 (/.f64 1 x) (/.f64 -1 (tan.f64 x))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (+.f64 (/.f64 1 x) (/.f64 -1 (tan.f64 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (+.f64 (/.f64 1 x) (/.f64 -1 (tan.f64 x))))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (+.f64 (/.f64 1 x) (/.f64 -1 (tan.f64 x))) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (+.f64 (/.f64 1 x) (/.f64 -1 (tan.f64 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (/.f64 1 x) (/.f64 -1 (tan.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (pow.f64 x -2)) (cbrt.f64 (/.f64 1 x)) (/.f64 -1 (tan.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 x -1/2) (pow.f64 x -1/2) (/.f64 -1 (tan.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (+.f64 (/.f64 1 x) (/.f64 -1 (tan.f64 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (+.f64 (/.f64 1 x) (/.f64 -1 (tan.f64 x)))) 1))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (+.f64 (/.f64 1 x) (/.f64 -1 (tan.f64 x))))))))) |
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (/.f64 1 (tan.f64 x)))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (/.f64 1 (tan.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 1 (tan.f64 x)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 1 (cbrt.f64 (tan.f64 x))) (cbrt.f64 (pow.f64 (tan.f64 x) -2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (pow.f64 (tan.f64 x) -2)) (/.f64 1 (cbrt.f64 (tan.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (tan.f64 x) -1/2) (pow.f64 (tan.f64 x) -1/2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 -1 (/.f64 -1 (tan.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (pow.f64 (cbrt.f64 (tan.f64 x)) 2) -1) (pow.f64 (cbrt.f64 (tan.f64 x)) -1))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (sqrt.f64 (tan.f64 x)) -1) (pow.f64 (sqrt.f64 (tan.f64 x)) -1))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 1 (sin.f64 x)) (cos.f64 x))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (tan.f64 x) -1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 1 (tan.f64 x)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 1 (cbrt.f64 (tan.f64 x))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (tan.f64 x) -1/2) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (tan.f64 x) -3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (tan.f64 x) -2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (/.f64 1 (tan.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (/.f64 1 (tan.f64 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (tan.f64 x) -3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (/.f64 1 (tan.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (neg.f64 (log.f64 (tan.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (tan.f64 x)) -1))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (neg.f64 (log.f64 (tan.f64 x))) 1))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (/.f64 1 (tan.f64 x)))))))) |
| 1× | egg-herbie |
| 841× | fma-def_binary64 |
| 624× | unswap-sqr_binary64 |
| 439× | associate-*l*_binary64 |
| 298× | *-commutative_binary64 |
| 273× | associate-*r*_binary64 |
Useful iterations: 1 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 37 | 281 |
| 1 | 92 | 275 |
| 2 | 218 | 275 |
| 3 | 574 | 275 |
| 4 | 1060 | 275 |
| 5 | 2167 | 275 |
| 6 | 3026 | 275 |
| 7 | 4052 | 275 |
| 8 | 4553 | 275 |
| 1× | node limit |
| Inputs |
|---|
(*.f64 1/3 x) |
(+.f64 (*.f64 1/3 x) (*.f64 1/45 (pow.f64 x 3))) |
(+.f64 (*.f64 2/945 (pow.f64 x 5)) (+.f64 (*.f64 1/3 x) (*.f64 1/45 (pow.f64 x 3)))) |
(+.f64 (*.f64 1/4725 (pow.f64 x 7)) (+.f64 (*.f64 2/945 (pow.f64 x 5)) (+.f64 (*.f64 1/3 x) (*.f64 1/45 (pow.f64 x 3))))) |
(*.f64 -1 (/.f64 (cos.f64 x) (sin.f64 x))) |
(+.f64 (*.f64 -1 (/.f64 (cos.f64 x) (sin.f64 x))) (/.f64 1 x)) |
(+.f64 (*.f64 -1 (/.f64 (cos.f64 x) (sin.f64 x))) (/.f64 1 x)) |
(+.f64 (*.f64 -1 (/.f64 (cos.f64 x) (sin.f64 x))) (/.f64 1 x)) |
(*.f64 -1 (/.f64 (cos.f64 x) (sin.f64 x))) |
(+.f64 (*.f64 -1 (/.f64 (cos.f64 x) (sin.f64 x))) (/.f64 1 x)) |
(+.f64 (*.f64 -1 (/.f64 (cos.f64 x) (sin.f64 x))) (/.f64 1 x)) |
(+.f64 (*.f64 -1 (/.f64 (cos.f64 x) (sin.f64 x))) (/.f64 1 x)) |
(/.f64 1 x) |
(+.f64 (*.f64 -1/3 x) (/.f64 1 x)) |
(+.f64 (*.f64 -1/45 (pow.f64 x 3)) (+.f64 (*.f64 -1/3 x) (/.f64 1 x))) |
(+.f64 (*.f64 -1/45 (pow.f64 x 3)) (+.f64 (*.f64 -2/945 (pow.f64 x 5)) (+.f64 (*.f64 -1/3 x) (/.f64 1 x)))) |
(/.f64 (cos.f64 x) (sin.f64 x)) |
(/.f64 (cos.f64 x) (sin.f64 x)) |
(/.f64 (cos.f64 x) (sin.f64 x)) |
(/.f64 (cos.f64 x) (sin.f64 x)) |
(/.f64 (cos.f64 x) (sin.f64 x)) |
(/.f64 (cos.f64 x) (sin.f64 x)) |
(/.f64 (cos.f64 x) (sin.f64 x)) |
(/.f64 (cos.f64 x) (sin.f64 x)) |
| Outputs |
|---|
(*.f64 1/3 x) |
(+.f64 (*.f64 1/3 x) (*.f64 1/45 (pow.f64 x 3))) |
(fma.f64 1/3 x (*.f64 1/45 (pow.f64 x 3))) |
(fma.f64 1/45 (pow.f64 x 3) (*.f64 1/3 x)) |
(*.f64 x (fma.f64 x (*.f64 x 1/45) 1/3)) |
(+.f64 (*.f64 2/945 (pow.f64 x 5)) (+.f64 (*.f64 1/3 x) (*.f64 1/45 (pow.f64 x 3)))) |
(fma.f64 2/945 (pow.f64 x 5) (fma.f64 1/3 x (*.f64 1/45 (pow.f64 x 3)))) |
(fma.f64 1/45 (pow.f64 x 3) (fma.f64 2/945 (pow.f64 x 5) (*.f64 1/3 x))) |
(fma.f64 x (fma.f64 x (*.f64 x 1/45) 1/3) (*.f64 2/945 (pow.f64 x 5))) |
(fma.f64 1/3 x (fma.f64 2/945 (pow.f64 x 5) (*.f64 1/45 (pow.f64 x 3)))) |
(fma.f64 2/945 (pow.f64 x 5) (fma.f64 1/45 (pow.f64 x 3) (*.f64 1/3 x))) |
(+.f64 (*.f64 1/4725 (pow.f64 x 7)) (+.f64 (*.f64 2/945 (pow.f64 x 5)) (+.f64 (*.f64 1/3 x) (*.f64 1/45 (pow.f64 x 3))))) |
(fma.f64 1/4725 (pow.f64 x 7) (fma.f64 2/945 (pow.f64 x 5) (fma.f64 1/3 x (*.f64 1/45 (pow.f64 x 3))))) |
(fma.f64 2/945 (pow.f64 x 5) (fma.f64 1/4725 (pow.f64 x 7) (fma.f64 1/45 (pow.f64 x 3) (*.f64 1/3 x)))) |
(fma.f64 1/3 x (fma.f64 1/45 (pow.f64 x 3) (fma.f64 2/945 (pow.f64 x 5) (*.f64 1/4725 (pow.f64 x 7))))) |
(*.f64 -1 (/.f64 (cos.f64 x) (sin.f64 x))) |
(neg.f64 (/.f64 (cos.f64 x) (sin.f64 x))) |
(/.f64 (neg.f64 (cos.f64 x)) (sin.f64 x)) |
(+.f64 (*.f64 -1 (/.f64 (cos.f64 x) (sin.f64 x))) (/.f64 1 x)) |
(fma.f64 -1 (/.f64 (cos.f64 x) (sin.f64 x)) (/.f64 1 x)) |
(-.f64 (/.f64 1 x) (/.f64 (cos.f64 x) (sin.f64 x))) |
(+.f64 (*.f64 -1 (/.f64 (cos.f64 x) (sin.f64 x))) (/.f64 1 x)) |
(fma.f64 -1 (/.f64 (cos.f64 x) (sin.f64 x)) (/.f64 1 x)) |
(-.f64 (/.f64 1 x) (/.f64 (cos.f64 x) (sin.f64 x))) |
(+.f64 (*.f64 -1 (/.f64 (cos.f64 x) (sin.f64 x))) (/.f64 1 x)) |
(fma.f64 -1 (/.f64 (cos.f64 x) (sin.f64 x)) (/.f64 1 x)) |
(-.f64 (/.f64 1 x) (/.f64 (cos.f64 x) (sin.f64 x))) |
(*.f64 -1 (/.f64 (cos.f64 x) (sin.f64 x))) |
(neg.f64 (/.f64 (cos.f64 x) (sin.f64 x))) |
(/.f64 (neg.f64 (cos.f64 x)) (sin.f64 x)) |
(+.f64 (*.f64 -1 (/.f64 (cos.f64 x) (sin.f64 x))) (/.f64 1 x)) |
(fma.f64 -1 (/.f64 (cos.f64 x) (sin.f64 x)) (/.f64 1 x)) |
(-.f64 (/.f64 1 x) (/.f64 (cos.f64 x) (sin.f64 x))) |
(+.f64 (*.f64 -1 (/.f64 (cos.f64 x) (sin.f64 x))) (/.f64 1 x)) |
(fma.f64 -1 (/.f64 (cos.f64 x) (sin.f64 x)) (/.f64 1 x)) |
(-.f64 (/.f64 1 x) (/.f64 (cos.f64 x) (sin.f64 x))) |
(+.f64 (*.f64 -1 (/.f64 (cos.f64 x) (sin.f64 x))) (/.f64 1 x)) |
(fma.f64 -1 (/.f64 (cos.f64 x) (sin.f64 x)) (/.f64 1 x)) |
(-.f64 (/.f64 1 x) (/.f64 (cos.f64 x) (sin.f64 x))) |
(/.f64 1 x) |
(+.f64 (*.f64 -1/3 x) (/.f64 1 x)) |
(fma.f64 -1/3 x (/.f64 1 x)) |
(fma.f64 x -1/3 (/.f64 1 x)) |
(+.f64 (*.f64 -1/45 (pow.f64 x 3)) (+.f64 (*.f64 -1/3 x) (/.f64 1 x))) |
(fma.f64 -1/45 (pow.f64 x 3) (fma.f64 -1/3 x (/.f64 1 x))) |
(fma.f64 (pow.f64 x 3) -1/45 (fma.f64 x -1/3 (/.f64 1 x))) |
(fma.f64 x -1/3 (fma.f64 (pow.f64 x 3) -1/45 (/.f64 1 x))) |
(+.f64 (*.f64 -1/45 (pow.f64 x 3)) (+.f64 (*.f64 -2/945 (pow.f64 x 5)) (+.f64 (*.f64 -1/3 x) (/.f64 1 x)))) |
(fma.f64 -1/45 (pow.f64 x 3) (fma.f64 -2/945 (pow.f64 x 5) (fma.f64 -1/3 x (/.f64 1 x)))) |
(fma.f64 (pow.f64 x 3) -1/45 (fma.f64 (pow.f64 x 5) -2/945 (fma.f64 x -1/3 (/.f64 1 x)))) |
(fma.f64 (pow.f64 x 3) -1/45 (fma.f64 x -1/3 (fma.f64 (pow.f64 x 5) -2/945 (/.f64 1 x)))) |
(fma.f64 x (fma.f64 x (*.f64 x -1/45) -1/3) (fma.f64 (pow.f64 x 5) -2/945 (/.f64 1 x))) |
(fma.f64 x (fma.f64 -1/45 (*.f64 x x) -1/3) (fma.f64 (pow.f64 x 5) -2/945 (/.f64 1 x))) |
(fma.f64 x -1/3 (fma.f64 (pow.f64 x 5) -2/945 (fma.f64 (pow.f64 x 3) -1/45 (/.f64 1 x)))) |
(/.f64 (cos.f64 x) (sin.f64 x)) |
(/.f64 (cos.f64 x) (sin.f64 x)) |
(/.f64 (cos.f64 x) (sin.f64 x)) |
(/.f64 (cos.f64 x) (sin.f64 x)) |
(/.f64 (cos.f64 x) (sin.f64 x)) |
(/.f64 (cos.f64 x) (sin.f64 x)) |
(/.f64 (cos.f64 x) (sin.f64 x)) |
(/.f64 (cos.f64 x) (sin.f64 x)) |
1 alts after pruning (1 fresh and 0 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 87 | 1 | 88 |
| Fresh | 0 | 0 | 0 |
| Picked | 1 | 0 | 1 |
| Done | 0 | 0 | 0 |
| Total | 88 | 1 | 89 |
| Status | Error | Program |
|---|---|---|
| ▶ | 0.4b | (fma.f64 2/945 (pow.f64 x 5) (fma.f64 1/45 (pow.f64 x 3) (*.f64 1/3 x))) |
Compiled 1208 to 789 computations (34.7% saved)
Found 3 expressions with local error:
| New | Error | Program |
|---|---|---|
| ✓ | 0.0b | (fma.f64 2/945 (pow.f64 x 5) (fma.f64 1/45 (pow.f64 x 3) (*.f64 1/3 x))) |
| ✓ | 0.0b | (fma.f64 1/45 (pow.f64 x 3) (*.f64 1/3 x)) |
| ✓ | 0.4b | (*.f64 1/3 x) |
9 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 1.0ms | x | @ | -inf | (fma.f64 1/45 (pow.f64 x 3) (*.f64 1/3 x)) |
| 1.0ms | x | @ | -inf | (fma.f64 2/945 (pow.f64 x 5) (fma.f64 1/45 (pow.f64 x 3) (*.f64 1/3 x))) |
| 1.0ms | x | @ | inf | (fma.f64 1/45 (pow.f64 x 3) (*.f64 1/3 x)) |
| 1.0ms | x | @ | inf | (fma.f64 2/945 (pow.f64 x 5) (fma.f64 1/45 (pow.f64 x 3) (*.f64 1/3 x))) |
| 1.0ms | x | @ | 0 | (fma.f64 1/45 (pow.f64 x 3) (*.f64 1/3 x)) |
| 1× | batch-egg-rewrite |
| 446× | log-prod_binary64 |
| 203× | expm1-udef_binary64 |
| 203× | log1p-udef_binary64 |
| 196× | pow1/3_binary64 |
| 175× | pow3_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 12 | 33 |
| 1 | 259 | 33 |
| 2 | 2682 | 33 |
| 1× | node limit |
| Inputs |
|---|
(*.f64 1/3 x) |
(fma.f64 1/45 (pow.f64 x 3) (*.f64 1/3 x)) |
(fma.f64 2/945 (pow.f64 x 5) (fma.f64 1/45 (pow.f64 x 3) (*.f64 1/3 x))) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x +.f64 0 (*.f64 1/3 x))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (*.f64 (cbrt.f64 (cbrt.f64 (exp.f64 x))) (cbrt.f64 (cbrt.f64 (exp.f64 x))))) (log.f64 (cbrt.f64 (cbrt.f64 (exp.f64 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (sqrt.f64 (cbrt.f64 (exp.f64 x)))) (log.f64 (sqrt.f64 (cbrt.f64 (exp.f64 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (*.f64 1/3 x))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 1/3 x) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 1/3 x) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (*.f64 1/3 x)) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (*.f64 1/3 x)) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (*.f64 1/9 (*.f64 x x)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (cbrt.f64 (exp.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (*.f64 1/3 x))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (*.f64 1/3 x) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 1/3 x)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (*.f64 1/3 x)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (*.f64 1/3 x)) 1))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 1/3 x))))))) |
((#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 1/3 x) (*.f64 1/45 (pow.f64 x 3)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 1/45 (pow.f64 x 3)) (*.f64 1/3 x))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 0 (fma.f64 1/3 x (*.f64 1/45 (pow.f64 x 3))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 (*.f64 1/45 (pow.f64 x 3)) 1) (*.f64 1/3 x))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (*.f64 (cbrt.f64 (exp.f64 (fma.f64 1/3 x (*.f64 1/45 (pow.f64 x 3))))) (cbrt.f64 (exp.f64 (fma.f64 1/3 x (*.f64 1/45 (pow.f64 x 3))))))) (log.f64 (cbrt.f64 (exp.f64 (fma.f64 1/3 x (*.f64 1/45 (pow.f64 x 3)))))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (sqrt.f64 (exp.f64 (fma.f64 1/3 x (*.f64 1/45 (pow.f64 x 3)))))) (log.f64 (sqrt.f64 (exp.f64 (fma.f64 1/3 x (*.f64 1/45 (pow.f64 x 3)))))))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (fma.f64 1/3 x (*.f64 1/45 (pow.f64 x 3))))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (fma.f64 1/3 x (*.f64 1/45 (pow.f64 x 3))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (fma.f64 1/3 x (*.f64 1/45 (pow.f64 x 3))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (fma.f64 1/3 x (*.f64 1/45 (pow.f64 x 3)))) (cbrt.f64 (pow.f64 (fma.f64 1/3 x (*.f64 1/45 (pow.f64 x 3))) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (pow.f64 (fma.f64 1/3 x (*.f64 1/45 (pow.f64 x 3))) 2)) (cbrt.f64 (fma.f64 1/3 x (*.f64 1/45 (pow.f64 x 3)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (fma.f64 1/3 x (*.f64 1/45 (pow.f64 x 3)))) (sqrt.f64 (fma.f64 1/3 x (*.f64 1/45 (pow.f64 x 3)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 (*.f64 1/45 (pow.f64 x 3)) 3) (pow.f64 (*.f64 1/3 x) 3)) (fma.f64 (*.f64 1/45 (pow.f64 x 3)) (*.f64 1/45 (pow.f64 x 3)) (-.f64 (*.f64 1/9 (*.f64 x x)) (*.f64 (*.f64 1/45 (pow.f64 x 3)) (*.f64 1/3 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (*.f64 (*.f64 1/45 (pow.f64 x 3)) (*.f64 1/45 (pow.f64 x 3))) (*.f64 1/9 (*.f64 x x))) (-.f64 (*.f64 1/45 (pow.f64 x 3)) (*.f64 1/3 x)))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (fma.f64 1/3 x (*.f64 1/45 (pow.f64 x 3))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (fma.f64 1/3 x (*.f64 1/45 (pow.f64 x 3))) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (fma.f64 1/3 x (*.f64 1/45 (pow.f64 x 3)))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (fma.f64 1/3 x (*.f64 1/45 (pow.f64 x 3)))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (fma.f64 1/3 x (*.f64 1/45 (pow.f64 x 3))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (fma.f64 1/3 x (*.f64 1/45 (pow.f64 x 3)))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (fma.f64 1/3 x (*.f64 1/45 (pow.f64 x 3))))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (cbrt.f64 (exp.f64 x)) (exp.f64 (*.f64 1/45 (pow.f64 x 3)))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (+.f64 1 (expm1.f64 (*.f64 1/3 x))) (exp.f64 (*.f64 1/45 (pow.f64 x 3)))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (exp.f64 (*.f64 1/45 (pow.f64 x 3))) (+.f64 1 (expm1.f64 (*.f64 1/3 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (fma.f64 1/3 x (*.f64 1/45 (pow.f64 x 3))) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (fma.f64 1/3 x (*.f64 1/45 (pow.f64 x 3)))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (fma.f64 1/3 x (*.f64 1/45 (pow.f64 x 3)))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (fma.f64 1/3 x (*.f64 1/45 (pow.f64 x 3)))) 1))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (fma.f64 1/3 x (*.f64 1/45 (pow.f64 x 3))))))))) |
((#(struct:change #<rule egg-rr> (2) ((x +.f64 (fma.f64 1/3 x (*.f64 1/45 (pow.f64 x 3))) (*.f64 2/945 (pow.f64 x 5)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 2/945 (pow.f64 x 5)) (fma.f64 1/3 x (*.f64 1/45 (pow.f64 x 3))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 0 (fma.f64 2/945 (pow.f64 x 5) (fma.f64 1/3 x (*.f64 1/45 (pow.f64 x 3)))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 (*.f64 2/945 (pow.f64 x 5)) 1) (fma.f64 1/3 x (*.f64 1/45 (pow.f64 x 3))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (fma.f64 2/945 (pow.f64 x 5) (*.f64 1/45 (pow.f64 x 3))) (*.f64 1/3 x))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (*.f64 (cbrt.f64 (exp.f64 (fma.f64 2/945 (pow.f64 x 5) (fma.f64 1/3 x (*.f64 1/45 (pow.f64 x 3)))))) (cbrt.f64 (exp.f64 (fma.f64 2/945 (pow.f64 x 5) (fma.f64 1/3 x (*.f64 1/45 (pow.f64 x 3)))))))) (log.f64 (cbrt.f64 (exp.f64 (fma.f64 2/945 (pow.f64 x 5) (fma.f64 1/3 x (*.f64 1/45 (pow.f64 x 3))))))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (sqrt.f64 (exp.f64 (fma.f64 2/945 (pow.f64 x 5) (fma.f64 1/3 x (*.f64 1/45 (pow.f64 x 3))))))) (log.f64 (sqrt.f64 (exp.f64 (fma.f64 2/945 (pow.f64 x 5) (fma.f64 1/3 x (*.f64 1/45 (pow.f64 x 3))))))))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (fma.f64 2/945 (pow.f64 x 5) (fma.f64 1/3 x (*.f64 1/45 (pow.f64 x 3)))))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (fma.f64 2/945 (pow.f64 x 5) (fma.f64 1/3 x (*.f64 1/45 (pow.f64 x 3)))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (fma.f64 2/945 (pow.f64 x 5) (fma.f64 1/3 x (*.f64 1/45 (pow.f64 x 3)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (fma.f64 2/945 (pow.f64 x 5) (fma.f64 1/3 x (*.f64 1/45 (pow.f64 x 3))))) (pow.f64 (cbrt.f64 (fma.f64 2/945 (pow.f64 x 5) (fma.f64 1/3 x (*.f64 1/45 (pow.f64 x 3))))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (fma.f64 2/945 (pow.f64 x 5) (fma.f64 1/3 x (*.f64 1/45 (pow.f64 x 3))))) 2) (cbrt.f64 (fma.f64 2/945 (pow.f64 x 5) (fma.f64 1/3 x (*.f64 1/45 (pow.f64 x 3))))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (fma.f64 2/945 (pow.f64 x 5) (fma.f64 1/3 x (*.f64 1/45 (pow.f64 x 3))))) (sqrt.f64 (fma.f64 2/945 (pow.f64 x 5) (fma.f64 1/3 x (*.f64 1/45 (pow.f64 x 3))))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 (*.f64 2/945 (pow.f64 x 5)) 3) (pow.f64 (fma.f64 1/3 x (*.f64 1/45 (pow.f64 x 3))) 3)) (fma.f64 (*.f64 2/945 (pow.f64 x 5)) (*.f64 2/945 (pow.f64 x 5)) (-.f64 (pow.f64 (fma.f64 1/3 x (*.f64 1/45 (pow.f64 x 3))) 2) (*.f64 (*.f64 2/945 (pow.f64 x 5)) (fma.f64 1/3 x (*.f64 1/45 (pow.f64 x 3)))))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (*.f64 (*.f64 2/945 (pow.f64 x 5)) (*.f64 2/945 (pow.f64 x 5))) (pow.f64 (fma.f64 1/3 x (*.f64 1/45 (pow.f64 x 3))) 2)) (-.f64 (*.f64 2/945 (pow.f64 x 5)) (fma.f64 1/3 x (*.f64 1/45 (pow.f64 x 3)))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (fma.f64 2/945 (pow.f64 x 5) (fma.f64 1/3 x (*.f64 1/45 (pow.f64 x 3)))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (fma.f64 2/945 (pow.f64 x 5) (fma.f64 1/3 x (*.f64 1/45 (pow.f64 x 3)))) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (fma.f64 2/945 (pow.f64 x 5) (fma.f64 1/3 x (*.f64 1/45 (pow.f64 x 3))))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (fma.f64 2/945 (pow.f64 x 5) (fma.f64 1/3 x (*.f64 1/45 (pow.f64 x 3))))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (fma.f64 2/945 (pow.f64 x 5) (fma.f64 1/3 x (*.f64 1/45 (pow.f64 x 3)))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (fma.f64 2/945 (pow.f64 x 5) (fma.f64 1/3 x (*.f64 1/45 (pow.f64 x 3))))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (fma.f64 2/945 (pow.f64 x 5) (fma.f64 1/3 x (*.f64 1/45 (pow.f64 x 3)))))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (exp.f64 (fma.f64 1/3 x (*.f64 1/45 (pow.f64 x 3)))) (exp.f64 (*.f64 2/945 (pow.f64 x 5)))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (+.f64 1 (expm1.f64 (fma.f64 1/3 x (*.f64 1/45 (pow.f64 x 3))))) (exp.f64 (*.f64 2/945 (pow.f64 x 5)))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (exp.f64 (*.f64 2/945 (pow.f64 x 5))) (+.f64 1 (expm1.f64 (fma.f64 1/3 x (*.f64 1/45 (pow.f64 x 3)))))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (fma.f64 2/945 (pow.f64 x 5) (fma.f64 1/3 x (*.f64 1/45 (pow.f64 x 3)))) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (fma.f64 2/945 (pow.f64 x 5) (fma.f64 1/3 x (*.f64 1/45 (pow.f64 x 3))))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (fma.f64 2/945 (pow.f64 x 5) (fma.f64 1/3 x (*.f64 1/45 (pow.f64 x 3))))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (fma.f64 2/945 (pow.f64 x 5) (fma.f64 1/3 x (*.f64 1/45 (pow.f64 x 3))))) 1))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (fma.f64 2/945 (pow.f64 x 5) (fma.f64 1/3 x (*.f64 1/45 (pow.f64 x 3)))))))))) |
| 1× | egg-herbie |
| 828× | sqr-pow_binary64 |
| 416× | unswap-sqr_binary64 |
| 388× | pow-sqr_binary64 |
| 332× | cube-prod_binary64 |
| 236× | *-commutative_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 16 | 282 |
| 1 | 43 | 282 |
| 2 | 83 | 282 |
| 3 | 174 | 282 |
| 4 | 313 | 282 |
| 5 | 734 | 282 |
| 6 | 1072 | 282 |
| 7 | 1708 | 282 |
| 8 | 1816 | 282 |
| 9 | 1978 | 282 |
| 10 | 2195 | 282 |
| 11 | 2525 | 282 |
| 12 | 2981 | 282 |
| 13 | 3578 | 282 |
| 14 | 4327 | 282 |
| 1× | node limit |
| Inputs |
|---|
(*.f64 1/3 x) |
(+.f64 (*.f64 1/3 x) (*.f64 1/45 (pow.f64 x 3))) |
(+.f64 (*.f64 1/3 x) (*.f64 1/45 (pow.f64 x 3))) |
(+.f64 (*.f64 1/3 x) (*.f64 1/45 (pow.f64 x 3))) |
(*.f64 1/45 (pow.f64 x 3)) |
(+.f64 (*.f64 1/3 x) (*.f64 1/45 (pow.f64 x 3))) |
(+.f64 (*.f64 1/3 x) (*.f64 1/45 (pow.f64 x 3))) |
(+.f64 (*.f64 1/3 x) (*.f64 1/45 (pow.f64 x 3))) |
(*.f64 1/45 (pow.f64 x 3)) |
(+.f64 (*.f64 1/3 x) (*.f64 1/45 (pow.f64 x 3))) |
(+.f64 (*.f64 1/3 x) (*.f64 1/45 (pow.f64 x 3))) |
(+.f64 (*.f64 1/3 x) (*.f64 1/45 (pow.f64 x 3))) |
(*.f64 1/3 x) |
(+.f64 (*.f64 1/3 x) (*.f64 1/45 (pow.f64 x 3))) |
(+.f64 (*.f64 2/945 (pow.f64 x 5)) (+.f64 (*.f64 1/3 x) (*.f64 1/45 (pow.f64 x 3)))) |
(+.f64 (*.f64 2/945 (pow.f64 x 5)) (+.f64 (*.f64 1/3 x) (*.f64 1/45 (pow.f64 x 3)))) |
(*.f64 2/945 (pow.f64 x 5)) |
(+.f64 (*.f64 2/945 (pow.f64 x 5)) (*.f64 1/45 (pow.f64 x 3))) |
(+.f64 (*.f64 1/3 x) (+.f64 (*.f64 2/945 (pow.f64 x 5)) (*.f64 1/45 (pow.f64 x 3)))) |
(+.f64 (*.f64 1/3 x) (+.f64 (*.f64 2/945 (pow.f64 x 5)) (*.f64 1/45 (pow.f64 x 3)))) |
(*.f64 2/945 (pow.f64 x 5)) |
(+.f64 (*.f64 2/945 (pow.f64 x 5)) (*.f64 1/45 (pow.f64 x 3))) |
(+.f64 (*.f64 1/3 x) (+.f64 (*.f64 2/945 (pow.f64 x 5)) (*.f64 1/45 (pow.f64 x 3)))) |
(+.f64 (*.f64 1/3 x) (+.f64 (*.f64 2/945 (pow.f64 x 5)) (*.f64 1/45 (pow.f64 x 3)))) |
| Outputs |
|---|
(*.f64 1/3 x) |
(+.f64 (*.f64 1/3 x) (*.f64 1/45 (pow.f64 x 3))) |
(fma.f64 1/3 x (*.f64 1/45 (pow.f64 x 3))) |
(*.f64 x (fma.f64 x (*.f64 x 1/45) 1/3)) |
(fma.f64 1/45 (pow.f64 x 3) (*.f64 1/3 x)) |
(+.f64 (*.f64 1/3 x) (*.f64 1/45 (pow.f64 x 3))) |
(fma.f64 1/3 x (*.f64 1/45 (pow.f64 x 3))) |
(*.f64 x (fma.f64 x (*.f64 x 1/45) 1/3)) |
(fma.f64 1/45 (pow.f64 x 3) (*.f64 1/3 x)) |
(+.f64 (*.f64 1/3 x) (*.f64 1/45 (pow.f64 x 3))) |
(fma.f64 1/3 x (*.f64 1/45 (pow.f64 x 3))) |
(*.f64 x (fma.f64 x (*.f64 x 1/45) 1/3)) |
(fma.f64 1/45 (pow.f64 x 3) (*.f64 1/3 x)) |
(*.f64 1/45 (pow.f64 x 3)) |
(+.f64 (*.f64 1/3 x) (*.f64 1/45 (pow.f64 x 3))) |
(fma.f64 1/3 x (*.f64 1/45 (pow.f64 x 3))) |
(*.f64 x (fma.f64 x (*.f64 x 1/45) 1/3)) |
(fma.f64 1/45 (pow.f64 x 3) (*.f64 1/3 x)) |
(+.f64 (*.f64 1/3 x) (*.f64 1/45 (pow.f64 x 3))) |
(fma.f64 1/3 x (*.f64 1/45 (pow.f64 x 3))) |
(*.f64 x (fma.f64 x (*.f64 x 1/45) 1/3)) |
(fma.f64 1/45 (pow.f64 x 3) (*.f64 1/3 x)) |
(+.f64 (*.f64 1/3 x) (*.f64 1/45 (pow.f64 x 3))) |
(fma.f64 1/3 x (*.f64 1/45 (pow.f64 x 3))) |
(*.f64 x (fma.f64 x (*.f64 x 1/45) 1/3)) |
(fma.f64 1/45 (pow.f64 x 3) (*.f64 1/3 x)) |
(*.f64 1/45 (pow.f64 x 3)) |
(+.f64 (*.f64 1/3 x) (*.f64 1/45 (pow.f64 x 3))) |
(fma.f64 1/3 x (*.f64 1/45 (pow.f64 x 3))) |
(*.f64 x (fma.f64 x (*.f64 x 1/45) 1/3)) |
(fma.f64 1/45 (pow.f64 x 3) (*.f64 1/3 x)) |
(+.f64 (*.f64 1/3 x) (*.f64 1/45 (pow.f64 x 3))) |
(fma.f64 1/3 x (*.f64 1/45 (pow.f64 x 3))) |
(*.f64 x (fma.f64 x (*.f64 x 1/45) 1/3)) |
(fma.f64 1/45 (pow.f64 x 3) (*.f64 1/3 x)) |
(+.f64 (*.f64 1/3 x) (*.f64 1/45 (pow.f64 x 3))) |
(fma.f64 1/3 x (*.f64 1/45 (pow.f64 x 3))) |
(*.f64 x (fma.f64 x (*.f64 x 1/45) 1/3)) |
(fma.f64 1/45 (pow.f64 x 3) (*.f64 1/3 x)) |
(*.f64 1/3 x) |
(+.f64 (*.f64 1/3 x) (*.f64 1/45 (pow.f64 x 3))) |
(fma.f64 1/3 x (*.f64 1/45 (pow.f64 x 3))) |
(*.f64 x (fma.f64 x (*.f64 x 1/45) 1/3)) |
(fma.f64 1/45 (pow.f64 x 3) (*.f64 1/3 x)) |
(+.f64 (*.f64 2/945 (pow.f64 x 5)) (+.f64 (*.f64 1/3 x) (*.f64 1/45 (pow.f64 x 3)))) |
(fma.f64 2/945 (pow.f64 x 5) (fma.f64 1/3 x (*.f64 1/45 (pow.f64 x 3)))) |
(fma.f64 1/3 x (fma.f64 1/45 (pow.f64 x 3) (*.f64 2/945 (pow.f64 x 5)))) |
(fma.f64 x (fma.f64 x (*.f64 x 1/45) 1/3) (*.f64 2/945 (pow.f64 x 5))) |
(fma.f64 2/945 (pow.f64 x 5) (*.f64 x (fma.f64 x (*.f64 x 1/45) 1/3))) |
(+.f64 (*.f64 2/945 (pow.f64 x 5)) (+.f64 (*.f64 1/3 x) (*.f64 1/45 (pow.f64 x 3)))) |
(fma.f64 2/945 (pow.f64 x 5) (fma.f64 1/3 x (*.f64 1/45 (pow.f64 x 3)))) |
(fma.f64 1/3 x (fma.f64 1/45 (pow.f64 x 3) (*.f64 2/945 (pow.f64 x 5)))) |
(fma.f64 x (fma.f64 x (*.f64 x 1/45) 1/3) (*.f64 2/945 (pow.f64 x 5))) |
(fma.f64 2/945 (pow.f64 x 5) (*.f64 x (fma.f64 x (*.f64 x 1/45) 1/3))) |
(*.f64 2/945 (pow.f64 x 5)) |
(+.f64 (*.f64 2/945 (pow.f64 x 5)) (*.f64 1/45 (pow.f64 x 3))) |
(fma.f64 2/945 (pow.f64 x 5) (*.f64 1/45 (pow.f64 x 3))) |
(fma.f64 1/45 (pow.f64 x 3) (*.f64 2/945 (pow.f64 x 5))) |
(+.f64 (*.f64 1/3 x) (+.f64 (*.f64 2/945 (pow.f64 x 5)) (*.f64 1/45 (pow.f64 x 3)))) |
(fma.f64 2/945 (pow.f64 x 5) (fma.f64 1/3 x (*.f64 1/45 (pow.f64 x 3)))) |
(fma.f64 1/3 x (fma.f64 1/45 (pow.f64 x 3) (*.f64 2/945 (pow.f64 x 5)))) |
(fma.f64 x (fma.f64 x (*.f64 x 1/45) 1/3) (*.f64 2/945 (pow.f64 x 5))) |
(fma.f64 2/945 (pow.f64 x 5) (*.f64 x (fma.f64 x (*.f64 x 1/45) 1/3))) |
(+.f64 (*.f64 1/3 x) (+.f64 (*.f64 2/945 (pow.f64 x 5)) (*.f64 1/45 (pow.f64 x 3)))) |
(fma.f64 2/945 (pow.f64 x 5) (fma.f64 1/3 x (*.f64 1/45 (pow.f64 x 3)))) |
(fma.f64 1/3 x (fma.f64 1/45 (pow.f64 x 3) (*.f64 2/945 (pow.f64 x 5)))) |
(fma.f64 x (fma.f64 x (*.f64 x 1/45) 1/3) (*.f64 2/945 (pow.f64 x 5))) |
(fma.f64 2/945 (pow.f64 x 5) (*.f64 x (fma.f64 x (*.f64 x 1/45) 1/3))) |
(*.f64 2/945 (pow.f64 x 5)) |
(+.f64 (*.f64 2/945 (pow.f64 x 5)) (*.f64 1/45 (pow.f64 x 3))) |
(fma.f64 2/945 (pow.f64 x 5) (*.f64 1/45 (pow.f64 x 3))) |
(fma.f64 1/45 (pow.f64 x 3) (*.f64 2/945 (pow.f64 x 5))) |
(+.f64 (*.f64 1/3 x) (+.f64 (*.f64 2/945 (pow.f64 x 5)) (*.f64 1/45 (pow.f64 x 3)))) |
(fma.f64 2/945 (pow.f64 x 5) (fma.f64 1/3 x (*.f64 1/45 (pow.f64 x 3)))) |
(fma.f64 1/3 x (fma.f64 1/45 (pow.f64 x 3) (*.f64 2/945 (pow.f64 x 5)))) |
(fma.f64 x (fma.f64 x (*.f64 x 1/45) 1/3) (*.f64 2/945 (pow.f64 x 5))) |
(fma.f64 2/945 (pow.f64 x 5) (*.f64 x (fma.f64 x (*.f64 x 1/45) 1/3))) |
(+.f64 (*.f64 1/3 x) (+.f64 (*.f64 2/945 (pow.f64 x 5)) (*.f64 1/45 (pow.f64 x 3)))) |
(fma.f64 2/945 (pow.f64 x 5) (fma.f64 1/3 x (*.f64 1/45 (pow.f64 x 3)))) |
(fma.f64 1/3 x (fma.f64 1/45 (pow.f64 x 3) (*.f64 2/945 (pow.f64 x 5)))) |
(fma.f64 x (fma.f64 x (*.f64 x 1/45) 1/3) (*.f64 2/945 (pow.f64 x 5))) |
(fma.f64 2/945 (pow.f64 x 5) (*.f64 x (fma.f64 x (*.f64 x 1/45) 1/3))) |
8 alts after pruning (7 fresh and 1 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 77 | 7 | 84 |
| Fresh | 0 | 0 | 0 |
| Picked | 0 | 1 | 1 |
| Done | 0 | 0 | 0 |
| Total | 77 | 8 | 85 |
| Status | Error | Program |
|---|---|---|
| 34.0b | (fma.f64 2/945 (pow.f64 x 5) (fma.f64 1/45 (pow.f64 x 3) (pow.f64 (sqrt.f64 (*.f64 1/3 x)) 2))) | |
| ▶ | 1.5b | (fma.f64 2/945 (pow.f64 x 5) (fma.f64 1/45 (pow.f64 x 3) (pow.f64 (cbrt.f64 (*.f64 1/3 x)) 3))) |
| ✓ | 0.4b | (fma.f64 2/945 (pow.f64 x 5) (fma.f64 1/45 (pow.f64 x 3) (*.f64 1/3 x))) |
| 40.2b | (/.f64 (+.f64 (pow.f64 (*.f64 2/945 (pow.f64 x 5)) 3) (pow.f64 (fma.f64 1/3 x (*.f64 1/45 (pow.f64 x 3))) 3)) (fma.f64 (*.f64 2/945 (pow.f64 x 5)) (*.f64 2/945 (pow.f64 x 5)) (-.f64 (pow.f64 (fma.f64 1/3 x (*.f64 1/45 (pow.f64 x 3))) 2) (*.f64 (*.f64 2/945 (pow.f64 x 5)) (fma.f64 1/3 x (*.f64 1/45 (pow.f64 x 3))))))) | |
| 1.5b | (*.f64 (cbrt.f64 (fma.f64 2/945 (pow.f64 x 5) (fma.f64 1/3 x (*.f64 1/45 (pow.f64 x 3))))) (pow.f64 (cbrt.f64 (fma.f64 2/945 (pow.f64 x 5) (fma.f64 1/3 x (*.f64 1/45 (pow.f64 x 3))))) 2)) | |
| 38.3b | (fma.f64 2/945 (pow.f64 x 5) (cbrt.f64 (pow.f64 (fma.f64 1/3 x (*.f64 1/45 (pow.f64 x 3))) 3))) | |
| 26.3b | (fma.f64 2/945 (pow.f64 x 5) (/.f64 (-.f64 (*.f64 (*.f64 1/45 (pow.f64 x 3)) (*.f64 1/45 (pow.f64 x 3))) (*.f64 1/9 (*.f64 x x))) (-.f64 (*.f64 1/45 (pow.f64 x 3)) (*.f64 1/3 x)))) | |
| 44.1b | (fma.f64 2/945 (pow.f64 x 5) (fma.f64 1/45 (pow.f64 x 3) (sqrt.f64 (*.f64 1/9 (*.f64 x x))))) |
Compiled 1961 to 1566 computations (20.1% saved)
Found 4 expressions with local error:
| New | Error | Program |
|---|---|---|
| ✓ | 0.0b | (fma.f64 2/945 (pow.f64 x 5) (fma.f64 1/45 (pow.f64 x 3) (pow.f64 (cbrt.f64 (*.f64 1/3 x)) 3))) |
| 0.4b | (*.f64 1/3 x) | |
| ✓ | 0.6b | (cbrt.f64 (*.f64 1/3 x)) |
| ✓ | 0.7b | (pow.f64 (cbrt.f64 (*.f64 1/3 x)) 3) |
9 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 16.0ms | x | @ | -inf | (pow.f64 (cbrt.f64 (*.f64 1/3 x)) 3) |
| 7.0ms | x | @ | 0 | (pow.f64 (cbrt.f64 (*.f64 1/3 x)) 3) |
| 6.0ms | x | @ | inf | (pow.f64 (cbrt.f64 (*.f64 1/3 x)) 3) |
| 4.0ms | x | @ | -inf | (cbrt.f64 (*.f64 1/3 x)) |
| 3.0ms | x | @ | inf | (fma.f64 2/945 (pow.f64 x 5) (fma.f64 1/45 (pow.f64 x 3) (pow.f64 (cbrt.f64 (*.f64 1/3 x)) 3))) |
| 1× | batch-egg-rewrite |
| 505× | log-prod_binary64 |
| 249× | prod-diff_binary64 |
| 215× | expm1-udef_binary64 |
| 215× | log1p-udef_binary64 |
| 179× | log-pow_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 14 | 28 |
| 1 | 305 | 28 |
| 2 | 2959 | 28 |
| 1× | node limit |
| Inputs |
|---|
(pow.f64 (cbrt.f64 (*.f64 1/3 x)) 3) |
(cbrt.f64 (*.f64 1/3 x)) |
(fma.f64 2/945 (pow.f64 x 5) (fma.f64 1/45 (pow.f64 x 3) (pow.f64 (cbrt.f64 (*.f64 1/3 x)) 3))) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x +.f64 0 (*.f64 1/3 x))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (*.f64 (cbrt.f64 (pow.f64 (exp.f64 1/3) x)) (cbrt.f64 (pow.f64 (exp.f64 1/3) x)))) (log.f64 (cbrt.f64 (pow.f64 (exp.f64 1/3) x))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (sqrt.f64 (pow.f64 (exp.f64 1/3) x))) (log.f64 (sqrt.f64 (pow.f64 (exp.f64 1/3) x))))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (*.f64 1/3 x))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1/3 x)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 x 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 1/3 x) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (*.f64 1/3 x)) (pow.f64 (cbrt.f64 (*.f64 1/3 x)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (*.f64 1/3 x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (*.f64 1/3 x)) 2) (cbrt.f64 (*.f64 1/3 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (pow.f64 (cbrt.f64 (*.f64 1/3 x)) 2)) (*.f64 (cbrt.f64 (cbrt.f64 (*.f64 1/3 x))) (pow.f64 (cbrt.f64 (*.f64 1/3 x)) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 1/3) (*.f64 (cbrt.f64 x) (pow.f64 (cbrt.f64 (*.f64 1/3 x)) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 x) 2) (*.f64 (cbrt.f64 x) 1/3))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (*.f64 1/3 x) 1/6) (*.f64 (pow.f64 (*.f64 1/3 x) 1/6) (pow.f64 (cbrt.f64 (*.f64 1/3 x)) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 x) (*.f64 (sqrt.f64 x) 1/3))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (*.f64 1/3 x)) (sqrt.f64 (*.f64 1/3 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (pow.f64 (cbrt.f64 (*.f64 1/3 x)) 2)) 3) (cbrt.f64 (*.f64 1/3 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 1/3) 3) x)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (pow.f64 (*.f64 1/3 x) 1/6) 3) (pow.f64 (pow.f64 (*.f64 1/3 x) 1/6) 3))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 1/3 (pow.f64 (cbrt.f64 x) 2)) (cbrt.f64 x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 1/3 (sqrt.f64 x)) (sqrt.f64 x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (pow.f64 (cbrt.f64 (*.f64 1/3 x)) 2) 1) (cbrt.f64 (*.f64 1/3 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (pow.f64 (cbrt.f64 (*.f64 1/3 x)) 2) (cbrt.f64 (pow.f64 (cbrt.f64 (*.f64 1/3 x)) 2))) (cbrt.f64 (cbrt.f64 (*.f64 1/3 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (pow.f64 (cbrt.f64 (*.f64 1/3 x)) 2) (cbrt.f64 1/3)) (cbrt.f64 x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (pow.f64 (cbrt.f64 (*.f64 1/3 x)) 2) (pow.f64 (*.f64 1/3 x) 1/6)) (pow.f64 (*.f64 1/3 x) 1/6))))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (*.f64 1/9 (*.f64 x x)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (pow.f64 (exp.f64 1/3) x))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (*.f64 1/3 x))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (*.f64 1/3 x) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 1/3 x)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (*.f64 1/3 x)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (*.f64 1/3 x)) 1))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 1/3 x))))))) |
((#(struct:change #<rule egg-rr> (2) ((x +.f64 0 (cbrt.f64 (*.f64 1/3 x)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (*.f64 (cbrt.f64 (exp.f64 (cbrt.f64 (*.f64 1/3 x)))) (cbrt.f64 (exp.f64 (cbrt.f64 (*.f64 1/3 x)))))) (log.f64 (cbrt.f64 (exp.f64 (cbrt.f64 (*.f64 1/3 x))))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (sqrt.f64 (exp.f64 (cbrt.f64 (*.f64 1/3 x))))) (log.f64 (sqrt.f64 (exp.f64 (cbrt.f64 (*.f64 1/3 x))))))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (cbrt.f64 (*.f64 1/3 x)))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (*.f64 1/3 x)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (cbrt.f64 (*.f64 1/3 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (cbrt.f64 (*.f64 1/3 x))) (cbrt.f64 (pow.f64 (cbrt.f64 (*.f64 1/3 x)) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (cbrt.f64 (*.f64 1/3 x))) (pow.f64 (pow.f64 (cbrt.f64 (*.f64 1/3 x)) 2) 1/3))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (pow.f64 (cbrt.f64 (*.f64 1/3 x)) 2)) (cbrt.f64 (cbrt.f64 (*.f64 1/3 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 1/3) (cbrt.f64 x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 x) (cbrt.f64 1/3))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (*.f64 1/3 x) 1/6) (pow.f64 (*.f64 1/3 x) 1/6))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (pow.f64 (cbrt.f64 (*.f64 1/3 x)) 2) 1/3) (cbrt.f64 (cbrt.f64 (*.f64 1/3 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 1 1/3) (cbrt.f64 (*.f64 1/3 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (sqrt.f64 (*.f64 1/3 x)) 1/3) (pow.f64 (sqrt.f64 (*.f64 1/3 x)) 1/3))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 1/3 x) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (*.f64 1/3 x)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (cbrt.f64 (*.f64 1/3 x))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 1/3 x) 1/6) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (cbrt.f64 (*.f64 1/3 x)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (cbrt.f64 (*.f64 1/3 x))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (cbrt.f64 (*.f64 1/3 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (cbrt.f64 (*.f64 1/3 x))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (cbrt.f64 (*.f64 1/3 x))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (*.f64 1/3 x)) 1/3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (cbrt.f64 (*.f64 1/3 x))) 1))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (cbrt.f64 (*.f64 1/3 x)))))))) |
((#(struct:change #<rule egg-rr> (2) ((x +.f64 (fma.f64 1/45 (pow.f64 x 3) (*.f64 1/3 x)) (*.f64 2/945 (pow.f64 x 5)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 2/945 (pow.f64 x 5)) (fma.f64 1/45 (pow.f64 x 3) (*.f64 1/3 x)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 0 (fma.f64 2/945 (pow.f64 x 5) (fma.f64 1/45 (pow.f64 x 3) (*.f64 1/3 x))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 (*.f64 2/945 (pow.f64 x 5)) 1) (fma.f64 1/45 (pow.f64 x 3) (*.f64 1/3 x)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (fma.f64 2/945 (pow.f64 x 5) (*.f64 1/45 (pow.f64 x 3))) (*.f64 1/3 x))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (*.f64 (cbrt.f64 (exp.f64 (fma.f64 2/945 (pow.f64 x 5) (fma.f64 1/45 (pow.f64 x 3) (*.f64 1/3 x))))) (cbrt.f64 (exp.f64 (fma.f64 2/945 (pow.f64 x 5) (fma.f64 1/45 (pow.f64 x 3) (*.f64 1/3 x))))))) (log.f64 (cbrt.f64 (exp.f64 (fma.f64 2/945 (pow.f64 x 5) (fma.f64 1/45 (pow.f64 x 3) (*.f64 1/3 x)))))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (sqrt.f64 (exp.f64 (fma.f64 2/945 (pow.f64 x 5) (fma.f64 1/45 (pow.f64 x 3) (*.f64 1/3 x)))))) (log.f64 (sqrt.f64 (exp.f64 (fma.f64 2/945 (pow.f64 x 5) (fma.f64 1/45 (pow.f64 x 3) (*.f64 1/3 x)))))))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (fma.f64 2/945 (pow.f64 x 5) (fma.f64 1/45 (pow.f64 x 3) (*.f64 1/3 x))))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (fma.f64 2/945 (pow.f64 x 5) (fma.f64 1/45 (pow.f64 x 3) (*.f64 1/3 x))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (fma.f64 2/945 (pow.f64 x 5) (fma.f64 1/45 (pow.f64 x 3) (*.f64 1/3 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (fma.f64 2/945 (pow.f64 x 5) (fma.f64 1/45 (pow.f64 x 3) (*.f64 1/3 x)))) (pow.f64 (cbrt.f64 (fma.f64 2/945 (pow.f64 x 5) (fma.f64 1/45 (pow.f64 x 3) (*.f64 1/3 x)))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (fma.f64 2/945 (pow.f64 x 5) (fma.f64 1/45 (pow.f64 x 3) (*.f64 1/3 x)))) 2) (cbrt.f64 (fma.f64 2/945 (pow.f64 x 5) (fma.f64 1/45 (pow.f64 x 3) (*.f64 1/3 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (fma.f64 2/945 (pow.f64 x 5) (fma.f64 1/45 (pow.f64 x 3) (*.f64 1/3 x)))) (sqrt.f64 (fma.f64 2/945 (pow.f64 x 5) (fma.f64 1/45 (pow.f64 x 3) (*.f64 1/3 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 (*.f64 2/945 (pow.f64 x 5)) 3) (pow.f64 (fma.f64 1/45 (pow.f64 x 3) (*.f64 1/3 x)) 3)) (fma.f64 (*.f64 2/945 (pow.f64 x 5)) (*.f64 2/945 (pow.f64 x 5)) (-.f64 (pow.f64 (fma.f64 1/45 (pow.f64 x 3) (*.f64 1/3 x)) 2) (*.f64 (*.f64 2/945 (pow.f64 x 5)) (fma.f64 1/45 (pow.f64 x 3) (*.f64 1/3 x))))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (*.f64 (*.f64 2/945 (pow.f64 x 5)) (*.f64 2/945 (pow.f64 x 5))) (pow.f64 (fma.f64 1/45 (pow.f64 x 3) (*.f64 1/3 x)) 2)) (-.f64 (*.f64 2/945 (pow.f64 x 5)) (fma.f64 1/45 (pow.f64 x 3) (*.f64 1/3 x))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (fma.f64 2/945 (pow.f64 x 5) (fma.f64 1/45 (pow.f64 x 3) (*.f64 1/3 x))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (fma.f64 2/945 (pow.f64 x 5) (fma.f64 1/45 (pow.f64 x 3) (*.f64 1/3 x))) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (fma.f64 2/945 (pow.f64 x 5) (fma.f64 1/45 (pow.f64 x 3) (*.f64 1/3 x)))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (fma.f64 2/945 (pow.f64 x 5) (fma.f64 1/45 (pow.f64 x 3) (*.f64 1/3 x)))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (fma.f64 2/945 (pow.f64 x 5) (fma.f64 1/45 (pow.f64 x 3) (*.f64 1/3 x))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (fma.f64 2/945 (pow.f64 x 5) (fma.f64 1/45 (pow.f64 x 3) (*.f64 1/3 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (fma.f64 2/945 (pow.f64 x 5) (fma.f64 1/45 (pow.f64 x 3) (*.f64 1/3 x))))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (exp.f64 (fma.f64 1/45 (pow.f64 x 3) (*.f64 1/3 x))) (exp.f64 (*.f64 2/945 (pow.f64 x 5)))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (+.f64 1 (expm1.f64 (fma.f64 1/45 (pow.f64 x 3) (*.f64 1/3 x)))) (exp.f64 (*.f64 2/945 (pow.f64 x 5)))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (exp.f64 (*.f64 2/945 (pow.f64 x 5))) (+.f64 1 (expm1.f64 (fma.f64 1/45 (pow.f64 x 3) (*.f64 1/3 x))))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (fma.f64 2/945 (pow.f64 x 5) (fma.f64 1/45 (pow.f64 x 3) (*.f64 1/3 x))) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (fma.f64 2/945 (pow.f64 x 5) (fma.f64 1/45 (pow.f64 x 3) (*.f64 1/3 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (fma.f64 2/945 (pow.f64 x 5) (fma.f64 1/45 (pow.f64 x 3) (*.f64 1/3 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (fma.f64 2/945 (pow.f64 x 5) (fma.f64 1/45 (pow.f64 x 3) (*.f64 1/3 x)))) 1))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (fma.f64 2/945 (pow.f64 x 5) (fma.f64 1/45 (pow.f64 x 3) (*.f64 1/3 x))))))))) |
| 1× | egg-herbie |
| 828× | sqr-pow_binary64 |
| 416× | unswap-sqr_binary64 |
| 388× | pow-sqr_binary64 |
| 332× | cube-prod_binary64 |
| 239× | *-commutative_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 11 | 63 |
| 1 | 27 | 63 |
| 2 | 56 | 63 |
| 3 | 113 | 63 |
| 4 | 234 | 63 |
| 5 | 647 | 63 |
| 6 | 954 | 63 |
| 7 | 1590 | 63 |
| 8 | 1698 | 63 |
| 9 | 1860 | 63 |
| 10 | 2075 | 63 |
| 11 | 2405 | 63 |
| 12 | 2861 | 63 |
| 13 | 3458 | 63 |
| 14 | 4209 | 63 |
| 1× | node limit |
| Inputs |
|---|
(*.f64 1/45 (pow.f64 x 3)) |
(+.f64 (*.f64 2/945 (pow.f64 x 5)) (*.f64 1/45 (pow.f64 x 3))) |
(*.f64 2/945 (pow.f64 x 5)) |
(+.f64 (*.f64 2/945 (pow.f64 x 5)) (*.f64 1/45 (pow.f64 x 3))) |
(*.f64 2/945 (pow.f64 x 5)) |
(+.f64 (*.f64 2/945 (pow.f64 x 5)) (*.f64 1/45 (pow.f64 x 3))) |
| Outputs |
|---|
(*.f64 1/45 (pow.f64 x 3)) |
(+.f64 (*.f64 2/945 (pow.f64 x 5)) (*.f64 1/45 (pow.f64 x 3))) |
(fma.f64 2/945 (pow.f64 x 5) (*.f64 1/45 (pow.f64 x 3))) |
(fma.f64 1/45 (pow.f64 x 3) (*.f64 2/945 (pow.f64 x 5))) |
(*.f64 2/945 (pow.f64 x 5)) |
(+.f64 (*.f64 2/945 (pow.f64 x 5)) (*.f64 1/45 (pow.f64 x 3))) |
(fma.f64 2/945 (pow.f64 x 5) (*.f64 1/45 (pow.f64 x 3))) |
(fma.f64 1/45 (pow.f64 x 3) (*.f64 2/945 (pow.f64 x 5))) |
(*.f64 2/945 (pow.f64 x 5)) |
(+.f64 (*.f64 2/945 (pow.f64 x 5)) (*.f64 1/45 (pow.f64 x 3))) |
(fma.f64 2/945 (pow.f64 x 5) (*.f64 1/45 (pow.f64 x 3))) |
(fma.f64 1/45 (pow.f64 x 3) (*.f64 2/945 (pow.f64 x 5))) |
11 alts after pruning (10 fresh and 1 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 103 | 7 | 110 |
| Fresh | 3 | 3 | 6 |
| Picked | 1 | 0 | 1 |
| Done | 0 | 1 | 1 |
| Total | 107 | 11 | 118 |
| Status | Error | Program |
|---|---|---|
| 34.0b | (fma.f64 2/945 (pow.f64 x 5) (fma.f64 1/45 (pow.f64 x 3) (pow.f64 (sqrt.f64 (*.f64 1/3 x)) 2))) | |
| 2.3b | (fma.f64 2/945 (pow.f64 x 5) (fma.f64 1/45 (pow.f64 x 3) (pow.f64 (*.f64 (cbrt.f64 (cbrt.f64 (*.f64 1/3 x))) (cbrt.f64 (pow.f64 (cbrt.f64 (*.f64 1/3 x)) 2))) 3))) | |
| 38.3b | (fma.f64 2/945 (pow.f64 x 5) (cbrt.f64 (pow.f64 (fma.f64 1/3 x (*.f64 1/45 (pow.f64 x 3))) 3))) | |
| 2.7b | (fma.f64 2/945 (pow.f64 x 5) (fma.f64 1/45 (pow.f64 x 3) (pow.f64 (pow.f64 (cbrt.f64 (cbrt.f64 (*.f64 1/3 x))) 3) 3))) | |
| ▶ | 1.5b | (fma.f64 2/945 (pow.f64 x 5) (fma.f64 1/45 (pow.f64 x 3) (*.f64 (cbrt.f64 (*.f64 1/3 x)) (pow.f64 (cbrt.f64 (*.f64 1/3 x)) 2)))) |
| ✓ | 0.4b | (fma.f64 2/945 (pow.f64 x 5) (fma.f64 1/45 (pow.f64 x 3) (*.f64 1/3 x))) |
| 2.0b | (fma.f64 2/945 (pow.f64 x 5) (fma.f64 1/45 (pow.f64 x 3) (*.f64 (pow.f64 (cbrt.f64 (pow.f64 (cbrt.f64 (*.f64 1/3 x)) 2)) 3) (cbrt.f64 (*.f64 1/3 x))))) | |
| 34.0b | (fma.f64 2/945 (pow.f64 x 5) (fma.f64 1/45 (pow.f64 x 3) (*.f64 (sqrt.f64 x) (*.f64 (sqrt.f64 x) 1/3)))) | |
| 1.5b | (fma.f64 2/945 (pow.f64 x 5) (fma.f64 1/45 (pow.f64 x 3) (*.f64 (pow.f64 (cbrt.f64 x) 2) (*.f64 (cbrt.f64 x) 1/3)))) | |
| 1.8b | (fma.f64 2/945 (pow.f64 x 5) (fma.f64 1/45 (pow.f64 x 3) (*.f64 (cbrt.f64 (pow.f64 (cbrt.f64 (*.f64 1/3 x)) 2)) (*.f64 (cbrt.f64 (cbrt.f64 (*.f64 1/3 x))) (pow.f64 (cbrt.f64 (*.f64 1/3 x)) 2))))) | |
| 26.3b | (fma.f64 2/945 (pow.f64 x 5) (/.f64 (-.f64 (*.f64 (*.f64 1/45 (pow.f64 x 3)) (*.f64 1/45 (pow.f64 x 3))) (*.f64 1/9 (*.f64 x x))) (-.f64 (*.f64 1/45 (pow.f64 x 3)) (*.f64 1/3 x)))) |
Compiled 2659 to 2155 computations (19% saved)
Found 4 expressions with local error:
| New | Error | Program |
|---|---|---|
| ✓ | 0.3b | (*.f64 (cbrt.f64 (*.f64 1/3 x)) (pow.f64 (cbrt.f64 (*.f64 1/3 x)) 2)) |
| 0.4b | (*.f64 1/3 x) | |
| ✓ | 0.5b | (pow.f64 (cbrt.f64 (*.f64 1/3 x)) 2) |
| 0.6b | (cbrt.f64 (*.f64 1/3 x)) |
6 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 48.0ms | x | @ | -inf | (*.f64 (cbrt.f64 (*.f64 1/3 x)) (pow.f64 (cbrt.f64 (*.f64 1/3 x)) 2)) |
| 11.0ms | x | @ | 0 | (*.f64 (cbrt.f64 (*.f64 1/3 x)) (pow.f64 (cbrt.f64 (*.f64 1/3 x)) 2)) |
| 10.0ms | x | @ | -inf | (pow.f64 (cbrt.f64 (*.f64 1/3 x)) 2) |
| 4.0ms | x | @ | inf | (pow.f64 (cbrt.f64 (*.f64 1/3 x)) 2) |
| 3.0ms | x | @ | 0 | (pow.f64 (cbrt.f64 (*.f64 1/3 x)) 2) |
| 1× | batch-egg-rewrite |
| 544× | pow1_binary64 |
| 506× | add-log-exp_binary64 |
| 506× | log1p-expm1-u_binary64 |
| 506× | expm1-log1p-u_binary64 |
| 495× | add-exp-log_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 8 | 13 |
| 1 | 163 | 13 |
| 2 | 1483 | 13 |
| 1× | node limit |
| Inputs |
|---|
(pow.f64 (cbrt.f64 (*.f64 1/3 x)) 2) |
(*.f64 (cbrt.f64 (*.f64 1/3 x)) (pow.f64 (cbrt.f64 (*.f64 1/3 x)) 2)) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (pow.f64 (cbrt.f64 (*.f64 1/3 x)) 2)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (*.f64 1/3 x)) (cbrt.f64 (*.f64 1/3 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (*.f64 1/3 x)) 2) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (pow.f64 (cbrt.f64 (*.f64 1/3 x)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 1/3) (*.f64 (cbrt.f64 x) (cbrt.f64 (*.f64 1/3 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 1/9) (pow.f64 (cbrt.f64 x) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (pow.f64 (cbrt.f64 (*.f64 1/3 x)) 2)) (cbrt.f64 (pow.f64 (cbrt.f64 (*.f64 1/3 x)) 4)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (pow.f64 (cbrt.f64 (*.f64 1/3 x)) 2)) (*.f64 (cbrt.f64 (cbrt.f64 (*.f64 1/3 x))) (cbrt.f64 (*.f64 1/3 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (pow.f64 (cbrt.f64 (*.f64 1/3 x)) 4)) (cbrt.f64 (pow.f64 (cbrt.f64 (*.f64 1/3 x)) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (*.f64 1/3 x) 1/6) (sqrt.f64 (*.f64 1/3 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (*.f64 1/3 x)) (pow.f64 (*.f64 1/3 x) 1/6))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (cbrt.f64 (*.f64 1/3 x)) (cbrt.f64 (pow.f64 (cbrt.f64 (*.f64 1/3 x)) 2))) (cbrt.f64 (cbrt.f64 (*.f64 1/3 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (cbrt.f64 (*.f64 1/3 x)) (cbrt.f64 1/3)) (cbrt.f64 x))))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (cbrt.f64 (*.f64 1/3 x)) 4))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (pow.f64 (cbrt.f64 (*.f64 1/3 x)) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (*.f64 1/3 x) 2))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (pow.f64 (cbrt.f64 (*.f64 1/3 x)) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 2 (log.f64 (cbrt.f64 (*.f64 1/3 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (pow.f64 (cbrt.f64 (*.f64 1/3 x)) 2))))))) |
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (*.f64 1/3 x)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 1/3 x) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (*.f64 1/3 x)) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 1/3 x) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (*.f64 1/3 x)) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (*.f64 1/3 x) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (pow.f64 (exp.f64 1/3) x))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (*.f64 1/3 x) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 1/3 x)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (*.f64 1/3 x)))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 1/3 x))))))) |
| 1× | egg-herbie |
| 1× | *-commutative_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 4 | 48 |
| 1 | 5 | 48 |
| 1× | saturated |
| Inputs |
|---|
(*.f64 1/3 x) |
(*.f64 1/3 x) |
(*.f64 1/3 x) |
(*.f64 1/3 x) |
(*.f64 1/3 x) |
(*.f64 1/3 x) |
(*.f64 1/3 x) |
(*.f64 1/3 x) |
(*.f64 1/3 x) |
(*.f64 1/3 x) |
(*.f64 1/3 x) |
(*.f64 1/3 x) |
| Outputs |
|---|
(*.f64 1/3 x) |
(*.f64 1/3 x) |
(*.f64 1/3 x) |
(*.f64 1/3 x) |
(*.f64 1/3 x) |
(*.f64 1/3 x) |
(*.f64 1/3 x) |
(*.f64 1/3 x) |
(*.f64 1/3 x) |
(*.f64 1/3 x) |
(*.f64 1/3 x) |
(*.f64 1/3 x) |
12 alts after pruning (10 fresh and 2 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 114 | 3 | 117 |
| Fresh | 2 | 7 | 9 |
| Picked | 0 | 1 | 1 |
| Done | 0 | 1 | 1 |
| Total | 116 | 12 | 128 |
| Status | Error | Program |
|---|---|---|
| 38.3b | (fma.f64 2/945 (pow.f64 x 5) (cbrt.f64 (pow.f64 (fma.f64 1/3 x (*.f64 1/45 (pow.f64 x 3))) 3))) | |
| 1.9b | (fma.f64 2/945 (pow.f64 x 5) (fma.f64 1/45 (pow.f64 x 3) (*.f64 (pow.f64 (cbrt.f64 (cbrt.f64 (*.f64 1/3 x))) 3) (pow.f64 (cbrt.f64 (*.f64 1/3 x)) 2)))) | |
| ✓ | 1.5b | (fma.f64 2/945 (pow.f64 x 5) (fma.f64 1/45 (pow.f64 x 3) (*.f64 (cbrt.f64 (*.f64 1/3 x)) (pow.f64 (cbrt.f64 (*.f64 1/3 x)) 2)))) |
| 26.3b | (fma.f64 2/945 (pow.f64 x 5) (/.f64 (-.f64 (*.f64 (*.f64 1/45 (pow.f64 x 3)) (*.f64 1/45 (pow.f64 x 3))) (*.f64 1/9 (*.f64 x x))) (-.f64 (*.f64 1/45 (pow.f64 x 3)) (*.f64 1/3 x)))) | |
| 2.3b | (fma.f64 2/945 (pow.f64 x 5) (fma.f64 1/45 (pow.f64 x 3) (*.f64 (cbrt.f64 (*.f64 1/3 x)) (pow.f64 (pow.f64 (cbrt.f64 (cbrt.f64 (*.f64 1/3 x))) 3) 2)))) | |
| 34.0b | (fma.f64 2/945 (pow.f64 x 5) (fma.f64 1/45 (pow.f64 x 3) (pow.f64 (sqrt.f64 (*.f64 1/3 x)) 2))) | |
| ✓ | 0.4b | (fma.f64 2/945 (pow.f64 x 5) (fma.f64 1/45 (pow.f64 x 3) (*.f64 1/3 x))) |
| 2.0b | (fma.f64 2/945 (pow.f64 x 5) (fma.f64 1/45 (pow.f64 x 3) (*.f64 (pow.f64 (cbrt.f64 (pow.f64 (cbrt.f64 (*.f64 1/3 x)) 2)) 3) (cbrt.f64 (*.f64 1/3 x))))) | |
| 34.0b | (fma.f64 2/945 (pow.f64 x 5) (fma.f64 1/45 (pow.f64 x 3) (*.f64 (sqrt.f64 x) (*.f64 (sqrt.f64 x) 1/3)))) | |
| 1.5b | (fma.f64 2/945 (pow.f64 x 5) (fma.f64 1/45 (pow.f64 x 3) (*.f64 (pow.f64 (cbrt.f64 x) 2) (*.f64 (cbrt.f64 x) 1/3)))) | |
| 1.8b | (fma.f64 2/945 (pow.f64 x 5) (fma.f64 1/45 (pow.f64 x 3) (*.f64 (cbrt.f64 (pow.f64 (cbrt.f64 (*.f64 1/3 x)) 2)) (*.f64 (cbrt.f64 (cbrt.f64 (*.f64 1/3 x))) (pow.f64 (cbrt.f64 (*.f64 1/3 x)) 2))))) | |
| 1.8b | (fma.f64 2/945 (pow.f64 x 5) (fma.f64 1/45 (pow.f64 x 3) (*.f64 (cbrt.f64 (*.f64 1/3 x)) (*.f64 (cbrt.f64 (pow.f64 (cbrt.f64 (*.f64 1/3 x)) 2)) (*.f64 (cbrt.f64 (cbrt.f64 (*.f64 1/3 x))) (cbrt.f64 (*.f64 1/3 x))))))) |
Compiled 3132 to 2537 computations (19% saved)
Total 0.2b remaining (68.4%)
Threshold costs 0.2b (68.4%)
Compiled 1318 to 1060 computations (19.6% saved)
| 1× | egg-herbie |
| 1× | *-commutative_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 12 | 18 |
| 1 | 13 | 18 |
| 1× | saturated |
| Inputs |
|---|
(fma.f64 2/945 (pow.f64 x 5) (fma.f64 1/45 (pow.f64 x 3) (*.f64 1/3 x))) |
| Outputs |
|---|
(fma.f64 2/945 (pow.f64 x 5) (fma.f64 1/45 (pow.f64 x 3) (*.f64 1/3 x))) |
(fma.f64 2/945 (pow.f64 x 5) (fma.f64 1/45 (pow.f64 x 3) (*.f64 x 1/3))) |
| 1× | fuel |
Compiled 309 to 250 computations (19.1% saved)
Loading profile data...