Time bar (total: 16.8s)
| 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 |
Compiled 16 to 12 computations (25% saved)
| 8.7s | 4190× | body | 2048 | valid |
| 1.5s | 2055× | body | 1024 | valid |
| 319.0ms | 972× | body | 512 | valid |
| 190.0ms | 228× | body | 4096 | valid |
| 104.0ms | 811× | body | 256 | valid |
| 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 | 168 | 12 |
| 9 | 204 | 12 |
| 10 | 230 | 12 |
| 11 | 232 | 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 10 to 8 computations (20% 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 | 168 | 12 |
| 9 | 204 | 12 |
| 10 | 230 | 12 |
| 11 | 232 | 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))) |
Compiled 17 to 12 computations (29.4% saved)
2 alts after pruning (2 fresh and 0 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 1 | 1 | 2 |
| Fresh | 0 | 1 | 1 |
| Picked | 0 | 0 | 0 |
| Done | 0 | 0 | 0 |
| Total | 1 | 2 | 3 |
| Status | Error | Program |
|---|---|---|
| ▶ | 59.5b | (-.f64 (/.f64 1 x) (/.f64 1 (tan.f64 x))) |
Compiled 9 to 7 computations (22.2% saved)
Found 1 expressions with local error:
| New | Error | Program |
|---|---|---|
| ✓ | 2.5b | (-.f64 (/.f64 1 x) (/.f64 1 (tan.f64 x))) |
Compiled 20 to 12 computations (40% saved)
3 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 1.0ms | x | @ | 0 | (-.f64 (/.f64 1 x) (/.f64 1 (tan.f64 x))) |
| 1.0ms | x | @ | inf | (-.f64 (/.f64 1 x) (/.f64 1 (tan.f64 x))) |
| 1.0ms | x | @ | -inf | (-.f64 (/.f64 1 x) (/.f64 1 (tan.f64 x))) |
| 1× | batch-egg-rewrite |
| 883× | pow1_binary64 |
| 823× | add-log-exp_binary64 |
| 823× | log1p-expm1-u_binary64 |
| 823× | expm1-log1p-u_binary64 |
| 805× | add-exp-log_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 7 | 12 |
| 1 | 160 | 12 |
| 2 | 2365 | 12 |
| 1× | node limit |
| Inputs |
|---|
(-.f64 (/.f64 1 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 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 log1p.f64 (expm1.f64 (-.f64 (/.f64 1 x) (/.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 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)) (/.f64 1 (cbrt.f64 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))))))) |
| 1× | egg-herbie |
| 675× | sqr-pow_binary64 |
| 624× | unswap-sqr_binary64 |
| 594× | cube-prod_binary64 |
| 554× | fma-def_binary64 |
| 417× | fabs-mul_binary64 |
Useful iterations: 1 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 30 | 168 |
| 1 | 74 | 162 |
| 2 | 153 | 162 |
| 3 | 367 | 162 |
| 4 | 677 | 162 |
| 5 | 1437 | 162 |
| 6 | 2099 | 162 |
| 7 | 3090 | 162 |
| 8 | 3307 | 162 |
| 9 | 3633 | 162 |
| 10 | 4034 | 162 |
| 11 | 4566 | 162 |
| 12 | 5297 | 162 |
| 13 | 6300 | 162 |
| 14 | 6946 | 162 |
| 15 | 7455 | 162 |
| 16 | 7858 | 162 |
| 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 (*.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 (*.f64 1/45 (pow.f64 x 3)) (*.f64 1/4725 (pow.f64 x 7))))) |
(*.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)) |
| 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)) |
(*.f64 x (fma.f64 1/45 (*.f64 x x) 1/3)) |
(+.f64 (*.f64 1/3 x) (+.f64 (*.f64 2/945 (pow.f64 x 5)) (*.f64 1/45 (pow.f64 x 3)))) |
(fma.f64 1/3 x (fma.f64 2/945 (pow.f64 x 5) (*.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 x (fma.f64 1/45 (*.f64 x x) 1/3) (*.f64 2/945 (pow.f64 x 5))) |
(+.f64 (*.f64 1/3 x) (+.f64 (*.f64 2/945 (pow.f64 x 5)) (+.f64 (*.f64 1/45 (pow.f64 x 3)) (*.f64 1/4725 (pow.f64 x 7))))) |
(fma.f64 1/3 x (fma.f64 2/945 (pow.f64 x 5) (fma.f64 1/45 (pow.f64 x 3) (*.f64 1/4725 (pow.f64 x 7))))) |
(fma.f64 1/45 (pow.f64 x 3) (fma.f64 2/945 (pow.f64 x 5) (fma.f64 1/3 x (*.f64 1/4725 (pow.f64 x 7))))) |
(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))))) |
(fma.f64 2/945 (pow.f64 x 5) (fma.f64 1/4725 (pow.f64 x 7) (*.f64 x (fma.f64 1/45 (*.f64 x x) 1/3)))) |
(*.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))) |
Compiled 777 to 491 computations (36.8% saved)
9 alts after pruning (8 fresh and 1 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 46 | 8 | 54 |
| Fresh | 0 | 0 | 0 |
| Picked | 0 | 1 | 1 |
| Done | 0 | 0 | 0 |
| Total | 46 | 9 | 55 |
| Status | Error | Program |
|---|---|---|
| 0.4b | (+.f64 (*.f64 1/3 x) (+.f64 (*.f64 2/945 (pow.f64 x 5)) (*.f64 1/45 (pow.f64 x 3)))) | |
| 0.5b | (*.f64 x (fma.f64 1/45 (*.f64 x x) 1/3)) | |
| ▶ | 0.5b | (+.f64 (*.f64 1/3 x) (*.f64 1/45 (pow.f64 x 3))) |
| ▶ | 1.0b | (*.f64 1/3 x) |
| ▶ | 59.5b | (log.f64 (exp.f64 (-.f64 (/.f64 1 x) (/.f64 1 (tan.f64 x))))) |
| ✓ | 59.5b | (-.f64 (/.f64 1 x) (/.f64 1 (tan.f64 x))) |
| 59.5b | (/.f64 (/.f64 (-.f64 (tan.f64 x) x) x) (tan.f64 x)) | |
| ▶ | 61.6b | (*.f64 (-.f64 (tan.f64 x) x) (/.f64 (/.f64 1 x) (tan.f64 x))) |
| ▶ | 0.3b | (+.f64 (*.f64 1/3 x) (+.f64 (*.f64 2/945 (pow.f64 x 5)) (+.f64 (*.f64 1/45 (pow.f64 x 3)) (*.f64 1/4725 (pow.f64 x 7))))) |
Compiled 197 to 145 computations (26.4% saved)
Found 4 expressions with local error:
| New | Error | Program |
|---|---|---|
| ✓ | 0.1b | (*.f64 1/4725 (pow.f64 x 7)) |
| ✓ | 0.1b | (*.f64 1/45 (pow.f64 x 3)) |
| ✓ | 0.1b | (*.f64 2/945 (pow.f64 x 5)) |
| ✓ | 0.3b | (*.f64 1/3 x) |
Compiled 85 to 68 computations (20% saved)
12 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 1.0ms | x | @ | 0 | (*.f64 2/945 (pow.f64 x 5)) |
| 1.0ms | x | @ | 0 | (*.f64 1/4725 (pow.f64 x 7)) |
| 1.0ms | x | @ | inf | (*.f64 2/945 (pow.f64 x 5)) |
| 1.0ms | x | @ | 0 | (*.f64 1/45 (pow.f64 x 3)) |
| 1.0ms | x | @ | -inf | (*.f64 1/4725 (pow.f64 x 7)) |
| 1× | batch-egg-rewrite |
| 622× | log-prod_binary64 |
| 378× | pow2_binary64 |
| 307× | pow-prod-down_binary64 |
| 266× | expm1-udef_binary64 |
| 266× | log1p-udef_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 16 | 25 |
| 1 | 344 | 25 |
| 2 | 3538 | 25 |
| 1× | node limit |
| Inputs |
|---|
(*.f64 1/3 x) |
(*.f64 2/945 (pow.f64 x 5)) |
(*.f64 1/45 (pow.f64 x 3)) |
(*.f64 1/4725 (pow.f64 x 7)) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x +.f64 0 (*.f64 1/3 x))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (pow.f64 (cbrt.f64 (cbrt.f64 (exp.f64 x))) 2)) (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 (*.f64 (*.f64 x x) 1/9) 1/2)))) (#(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 (*.f64 x x) 1/9))))) (#(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 log1p.f64 (expm1.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 exp.f64 (*.f64 (*.f64 3 (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))) 3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (sqrt.f64 (*.f64 1/3 x))) 2)))))) |
((#(struct:change #<rule egg-rr> (2) ((x +.f64 0 (*.f64 2/945 (pow.f64 x 5)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (pow.f64 (cbrt.f64 (pow.f64 (exp.f64 2/945) (pow.f64 x 5))) 2)) (log.f64 (cbrt.f64 (pow.f64 (exp.f64 2/945) (pow.f64 x 5)))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (sqrt.f64 (pow.f64 (exp.f64 2/945) (pow.f64 x 5)))) (log.f64 (sqrt.f64 (pow.f64 (exp.f64 2/945) (pow.f64 x 5)))))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (*.f64 2/945 (pow.f64 x 5)))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 2/945 (pow.f64 x 5)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 4/893025 (pow.f64 x 10)) 1/2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 2/945 (pow.f64 x 5)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (*.f64 2/945 (pow.f64 x 5))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 (sqrt.f64 2/945) (pow.f64 x 5/2)) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (*.f64 4/893025 (pow.f64 x 10)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (pow.f64 (exp.f64 2/945) (pow.f64 x 5)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (*.f64 2/945 (pow.f64 x 5)))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (*.f64 2/945 (pow.f64 x 5)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 2/945 (pow.f64 x 5))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 2/945 (pow.f64 x 5))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (*.f64 2/945 (pow.f64 x 5))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (*.f64 2/945 (pow.f64 x 5))) 1))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 3 (log.f64 (*.f64 2/945 (pow.f64 x 5)))) 1/3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (cbrt.f64 (*.f64 2/945 (pow.f64 x 5)))) 3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (*.f64 (sqrt.f64 2/945) (pow.f64 x 5/2))) 2)))))) |
((#(struct:change #<rule egg-rr> (2) ((x +.f64 0 (*.f64 1/45 (pow.f64 x 3)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (pow.f64 (cbrt.f64 (pow.f64 (exp.f64 1/45) (pow.f64 x 3))) 2)) (log.f64 (cbrt.f64 (pow.f64 (exp.f64 1/45) (pow.f64 x 3)))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (sqrt.f64 (pow.f64 (exp.f64 1/45) (pow.f64 x 3)))) (log.f64 (sqrt.f64 (pow.f64 (exp.f64 1/45) (pow.f64 x 3)))))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (*.f64 1/45 (pow.f64 x 3)))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 1/45 (pow.f64 x 3)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 1/2025 (pow.f64 x 6)) 1/2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 x (cbrt.f64 1/45)) 9) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 x (cbrt.f64 1/45)) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 (sqrt.f64 1/45) (pow.f64 x 3/2)) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (*.f64 1/2025 (pow.f64 x 6)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (pow.f64 (exp.f64 1/45) (pow.f64 x 3)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (*.f64 1/45 (pow.f64 x 3)))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (*.f64 x (cbrt.f64 1/45)) 9))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 1/45 (pow.f64 x 3))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 1/45 (pow.f64 x 3))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (fma.f64 3 (log.f64 x) (log.f64 1/45)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (fma.f64 3 (log.f64 x) (log.f64 1/45)) 1))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (pow.f64 (*.f64 x (cbrt.f64 1/45)) 9)) 1/3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (*.f64 x (cbrt.f64 1/45))) 3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (*.f64 (sqrt.f64 1/45) (pow.f64 x 3/2))) 2)))))) |
((#(struct:change #<rule egg-rr> (2) ((x +.f64 0 (*.f64 1/4725 (pow.f64 x 7)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (pow.f64 (cbrt.f64 (pow.f64 (exp.f64 1/4725) (pow.f64 x 7))) 2)) (log.f64 (cbrt.f64 (pow.f64 (exp.f64 1/4725) (pow.f64 x 7)))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (sqrt.f64 (pow.f64 (exp.f64 1/4725) (pow.f64 x 7)))) (log.f64 (sqrt.f64 (pow.f64 (exp.f64 1/4725) (pow.f64 x 7)))))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (*.f64 1/4725 (pow.f64 x 7)))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 1/4725 (pow.f64 x 7)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 (pow.f64 x 14) 1/22325625) 1/2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 1/4725 (pow.f64 x 7)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (*.f64 1/4725 (pow.f64 x 7))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 (sqrt.f64 1/4725) (pow.f64 x 7/2)) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (*.f64 (pow.f64 x 14) 1/22325625))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (pow.f64 (exp.f64 1/4725) (pow.f64 x 7)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (*.f64 1/4725 (pow.f64 x 7)))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (*.f64 1/4725 (pow.f64 x 7)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 1/4725 (pow.f64 x 7))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 1/4725 (pow.f64 x 7))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (fma.f64 7 (log.f64 x) (log.f64 1/4725)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (fma.f64 7 (log.f64 x) (log.f64 1/4725)) 1))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 3 (fma.f64 7 (log.f64 x) (log.f64 1/4725))) 1/3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (cbrt.f64 (*.f64 1/4725 (pow.f64 x 7)))) 3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (*.f64 (sqrt.f64 1/4725) (pow.f64 x 7/2))) 2)))))) |
| 1× | egg-herbie |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 0 | 0 |
| 1× | saturated |
| Inputs |
|---|
| Outputs |
|---|
Found 1 expressions with local error:
| New | Error | Program |
|---|---|---|
| 0.3b | (*.f64 1/3 x) |
Compiled 6 to 4 computations (33.3% saved)
Found 3 expressions with local error:
| New | Error | Program |
|---|---|---|
| ✓ | 0.0b | (+.f64 (*.f64 1/3 x) (*.f64 1/45 (pow.f64 x 3))) |
| 0.1b | (*.f64 1/45 (pow.f64 x 3)) | |
| 0.3b | (*.f64 1/3 x) |
Compiled 25 to 19 computations (24% saved)
3 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 1.0ms | x | @ | inf | (+.f64 (*.f64 1/3 x) (*.f64 1/45 (pow.f64 x 3))) |
| 1.0ms | x | @ | 0 | (+.f64 (*.f64 1/3 x) (*.f64 1/45 (pow.f64 x 3))) |
| 0.0ms | x | @ | -inf | (+.f64 (*.f64 1/3 x) (*.f64 1/45 (pow.f64 x 3))) |
| 1× | batch-egg-rewrite |
| 928× | pow1_binary64 |
| 874× | add-log-exp_binary64 |
| 874× | log1p-expm1-u_binary64 |
| 874× | expm1-log1p-u_binary64 |
| 857× | add-exp-log_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 9 | 11 |
| 1 | 201 | 11 |
| 2 | 2398 | 11 |
| 1× | node limit |
| Inputs |
|---|
(+.f64 (*.f64 1/3 x) (*.f64 1/45 (pow.f64 x 3))) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (fma.f64 1/3 x (*.f64 1/45 (pow.f64 x 3)))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (/.f64 (pow.f64 (*.f64 1/3 x) 2) (+.f64 (*.f64 1/3 x) (*.f64 -1/45 (pow.f64 x 3)))) (/.f64 (*.f64 1/2025 (pow.f64 x 6)) (+.f64 (*.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))) 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)))) (pow.f64 (cbrt.f64 (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 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 (*.f64 (pow.f64 x 3) 1/27) (*.f64 1/91125 (pow.f64 (pow.f64 x 3) 3))) (/.f64 1 (+.f64 (pow.f64 (*.f64 1/3 x) 2) (-.f64 (*.f64 1/2025 (pow.f64 x 6)) (*.f64 (*.f64 (*.f64 1/3 x) 1/45) (pow.f64 x 3))))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (-.f64 (pow.f64 (*.f64 1/3 x) 2) (*.f64 1/2025 (pow.f64 x 6))) (/.f64 1 (+.f64 (*.f64 1/3 x) (*.f64 -1/45 (pow.f64 x 3)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (+.f64 (pow.f64 (*.f64 1/3 x) 2) (-.f64 (*.f64 1/2025 (pow.f64 x 6)) (*.f64 (*.f64 (*.f64 1/3 x) 1/45) (pow.f64 x 3)))) (+.f64 (*.f64 (pow.f64 x 3) 1/27) (*.f64 1/91125 (pow.f64 (pow.f64 x 3) 3)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (+.f64 (*.f64 1/3 x) (*.f64 -1/45 (pow.f64 x 3))) (-.f64 (pow.f64 (*.f64 1/3 x) 2) (*.f64 1/2025 (pow.f64 x 6)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (*.f64 (pow.f64 x 3) 1/27) (*.f64 1/91125 (pow.f64 (pow.f64 x 3) 3))) (+.f64 (pow.f64 (*.f64 1/3 x) 2) (-.f64 (*.f64 1/2025 (pow.f64 x 6)) (*.f64 (*.f64 (*.f64 1/3 x) 1/45) (pow.f64 x 3)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (*.f64 (pow.f64 x 3) 1/27) (*.f64 1/91125 (pow.f64 (pow.f64 x 3) 3))) (+.f64 (*.f64 1/2025 (pow.f64 x 6)) (-.f64 (pow.f64 (*.f64 1/3 x) 2) (*.f64 (*.f64 (*.f64 1/3 x) 1/45) (pow.f64 x 3)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (pow.f64 (*.f64 1/3 x) 2) (*.f64 1/2025 (pow.f64 x 6))) (+.f64 (*.f64 1/3 x) (*.f64 -1/45 (pow.f64 x 3))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (+.f64 (*.f64 (pow.f64 x 3) 1/27) (*.f64 1/91125 (pow.f64 (pow.f64 x 3) 3)))) (neg.f64 (+.f64 (pow.f64 (*.f64 1/3 x) 2) (-.f64 (*.f64 1/2025 (pow.f64 x 6)) (*.f64 (*.f64 (*.f64 1/3 x) 1/45) (pow.f64 x 3))))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (-.f64 (pow.f64 (*.f64 1/3 x) 2) (*.f64 1/2025 (pow.f64 x 6)))) (neg.f64 (+.f64 (*.f64 1/3 x) (*.f64 -1/45 (pow.f64 x 3)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (*.f64 1/2025 (pow.f64 x 6)) (pow.f64 (*.f64 1/3 x) 2)) (-.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 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 log1p.f64 (expm1.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 fma.f64 1/3 x (*.f64 1/45 (pow.f64 x 3)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 x 1/3 (*.f64 1/45 (pow.f64 x 3)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1/45 (pow.f64 x 3) (*.f64 1/3 x))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 x 3) 1/45 (*.f64 1/3 x))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (*.f64 1/3 x) (*.f64 1/45 (pow.f64 x 3)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (*.f64 1/45 (pow.f64 x 3)) (*.f64 1/3 x))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (*.f64 x (cbrt.f64 1/45)) 2) (*.f64 x (cbrt.f64 1/45)) (*.f64 1/3 x))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (pow.f64 (*.f64 1/3 x) 2)) (cbrt.f64 (*.f64 1/3 x)) (*.f64 1/45 (pow.f64 x 3)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 (sqrt.f64 1/45) (pow.f64 x 3/2)) (*.f64 (sqrt.f64 1/45) (pow.f64 x 3/2)) (*.f64 1/3 x))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 (*.f64 1/3 x)) (sqrt.f64 (*.f64 1/3 x)) (*.f64 1/45 (pow.f64 x 3))))))) |
| 1× | egg-herbie |
| 1274× | sqr-pow_binary64 |
| 666× | pow-sqr_binary64 |
| 529× | cube-prod_binary64 |
| 468× | fabs-mul_binary64 |
| 442× | associate-*l*_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 8 | 18 |
| 1 | 18 | 18 |
| 2 | 35 | 18 |
| 3 | 63 | 18 |
| 4 | 120 | 18 |
| 5 | 333 | 18 |
| 6 | 1212 | 18 |
| 7 | 1899 | 18 |
| 8 | 1986 | 18 |
| 9 | 2119 | 18 |
| 10 | 2277 | 18 |
| 11 | 2515 | 18 |
| 12 | 2837 | 18 |
| 13 | 3261 | 18 |
| 14 | 3762 | 18 |
| 15 | 4362 | 18 |
| 16 | 5082 | 18 |
| 17 | 5401 | 18 |
| 18 | 5685 | 18 |
| 19 | 5905 | 18 |
| 20 | 6085 | 18 |
| 21 | 6167 | 18 |
| 22 | 7107 | 18 |
| 1× | node limit |
| Inputs |
|---|
(*.f64 1/3 x) |
(*.f64 1/45 (pow.f64 x 3)) |
(*.f64 1/45 (pow.f64 x 3)) |
| Outputs |
|---|
(*.f64 1/3 x) |
(*.f64 1/45 (pow.f64 x 3)) |
(*.f64 1/45 (pow.f64 x 3)) |
Found 3 expressions with local error:
| New | Error | Program |
|---|---|---|
| ✓ | 0.2b | (/.f64 (/.f64 1 x) (tan.f64 x)) |
| ✓ | 2.5b | (-.f64 (tan.f64 x) x) |
| ✓ | 29.6b | (*.f64 (-.f64 (tan.f64 x) x) (/.f64 (/.f64 1 x) (tan.f64 x))) |
Compiled 29 to 13 computations (55.2% saved)
9 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 3.0ms | x | @ | -inf | (*.f64 (-.f64 (tan.f64 x) x) (/.f64 (/.f64 1 x) (tan.f64 x))) |
| 2.0ms | x | @ | -inf | (/.f64 (/.f64 1 x) (tan.f64 x)) |
| 1.0ms | x | @ | inf | (*.f64 (-.f64 (tan.f64 x) x) (/.f64 (/.f64 1 x) (tan.f64 x))) |
| 1.0ms | x | @ | inf | (/.f64 (/.f64 1 x) (tan.f64 x)) |
| 1.0ms | x | @ | 0 | (*.f64 (-.f64 (tan.f64 x) x) (/.f64 (/.f64 1 x) (tan.f64 x))) |
| 1× | batch-egg-rewrite |
| 466× | prod-diff_binary64 |
| 455× | log-prod_binary64 |
| 346× | pow-prod-down_binary64 |
| 236× | pow2_binary64 |
| 195× | fma-def_binary64 |
Useful iterations: 1 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 8 | 32 |
| 1 | 180 | 29 |
| 2 | 2666 | 29 |
| 1× | node limit |
| Inputs |
|---|
(*.f64 (-.f64 (tan.f64 x) x) (/.f64 (/.f64 1 x) (tan.f64 x))) |
(-.f64 (tan.f64 x) x) |
(/.f64 (/.f64 1 x) (tan.f64 x)) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x +.f64 0 (/.f64 (-.f64 (tan.f64 x) x) (*.f64 x (tan.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 (tan.f64 x) (/.f64 (/.f64 1 x) (tan.f64 x))) (*.f64 (neg.f64 x) (/.f64 (/.f64 1 x) (tan.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 (/.f64 (/.f64 1 x) (tan.f64 x)) (tan.f64 x)) (*.f64 (/.f64 (/.f64 1 x) (tan.f64 x)) (neg.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (pow.f64 (cbrt.f64 (exp.f64 (/.f64 (-.f64 (tan.f64 x) x) (*.f64 x (tan.f64 x))))) 2)) (log.f64 (cbrt.f64 (exp.f64 (/.f64 (-.f64 (tan.f64 x) x) (*.f64 x (tan.f64 x)))))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (sqrt.f64 (exp.f64 (/.f64 (-.f64 (tan.f64 x) x) (*.f64 x (tan.f64 x)))))) (log.f64 (sqrt.f64 (exp.f64 (/.f64 (-.f64 (tan.f64 x) x) (*.f64 x (tan.f64 x)))))))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (/.f64 (-.f64 (tan.f64 x) x) (*.f64 x (tan.f64 x))))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (tan.f64 x) x) (*.f64 x (tan.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (tan.f64 x) (/.f64 (-.f64 (tan.f64 x) x) x)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (pow.f64 (tan.f64 x) 3) (pow.f64 x 3)) (*.f64 (*.f64 x (tan.f64 x)) (fma.f64 x (+.f64 x (tan.f64 x)) (pow.f64 (tan.f64 x) 2))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (pow.f64 (tan.f64 x) 2) (*.f64 x x)) (*.f64 (*.f64 x (tan.f64 x)) (+.f64 x (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 /.f64 (neg.f64 (/.f64 (-.f64 (tan.f64 x) x) x)) (neg.f64 (tan.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (-.f64 (pow.f64 (tan.f64 x) 3) (pow.f64 x 3)) 1) (*.f64 (fma.f64 x (+.f64 x (tan.f64 x)) (pow.f64 (tan.f64 x) 2)) (*.f64 x (tan.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (-.f64 (pow.f64 (tan.f64 x) 2) (*.f64 x x)) 1) (*.f64 (+.f64 x (tan.f64 x)) (*.f64 x (tan.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (-.f64 (pow.f64 (tan.f64 x) 3) (pow.f64 x 3)) (/.f64 1 x)) (*.f64 (fma.f64 x (+.f64 x (tan.f64 x)) (pow.f64 (tan.f64 x) 2)) (tan.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (-.f64 (pow.f64 (tan.f64 x) 2) (*.f64 x x)) (/.f64 1 x)) (*.f64 (+.f64 x (tan.f64 x)) (tan.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (-.f64 (pow.f64 (tan.f64 x) 3) (pow.f64 x 3)) (/.f64 -1 x)) (*.f64 (fma.f64 x (+.f64 x (tan.f64 x)) (pow.f64 (tan.f64 x) 2)) (neg.f64 (tan.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (-.f64 (pow.f64 (tan.f64 x) 2) (*.f64 x x)) (/.f64 -1 x)) (*.f64 (+.f64 x (tan.f64 x)) (neg.f64 (tan.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (/.f64 1 x) (-.f64 (pow.f64 (tan.f64 x) 3) (pow.f64 x 3))) (*.f64 (tan.f64 x) (fma.f64 x (+.f64 x (tan.f64 x)) (pow.f64 (tan.f64 x) 2))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (/.f64 -1 x) (-.f64 (pow.f64 (tan.f64 x) 3) (pow.f64 x 3))) (*.f64 (neg.f64 (tan.f64 x)) (fma.f64 x (+.f64 x (tan.f64 x)) (pow.f64 (tan.f64 x) 2))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (/.f64 1 x) (-.f64 (pow.f64 (tan.f64 x) 2) (*.f64 x x))) (*.f64 (tan.f64 x) (+.f64 x (tan.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (/.f64 -1 x) (-.f64 (pow.f64 (tan.f64 x) 2) (*.f64 x x))) (*.f64 (neg.f64 (tan.f64 x)) (+.f64 x (tan.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (/.f64 (/.f64 (-.f64 (tan.f64 x) x) x) 1) (tan.f64 x))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (/.f64 (/.f64 (-.f64 (tan.f64 x) x) x) (pow.f64 (cbrt.f64 (tan.f64 x)) 2)) (cbrt.f64 (tan.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (/.f64 (/.f64 (-.f64 (tan.f64 x) x) x) (sqrt.f64 (tan.f64 x))) (sqrt.f64 (tan.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (-.f64 (pow.f64 (tan.f64 x) 3) (pow.f64 x 3)) (/.f64 (/.f64 1 x) (tan.f64 x))) (fma.f64 x (+.f64 x (tan.f64 x)) (pow.f64 (tan.f64 x) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (-.f64 (pow.f64 (tan.f64 x) 2) (*.f64 x x)) (/.f64 (/.f64 1 x) (tan.f64 x))) (+.f64 x (tan.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (/.f64 -1 x) (-.f64 (tan.f64 x) x)) (neg.f64 (tan.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (-.f64 (tan.f64 x) x) (/.f64 -1 x)) (neg.f64 (tan.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (/.f64 (/.f64 1 x) (tan.f64 x)) (-.f64 (pow.f64 (tan.f64 x) 3) (pow.f64 x 3))) (fma.f64 x (+.f64 x (tan.f64 x)) (pow.f64 (tan.f64 x) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (/.f64 (/.f64 1 x) (tan.f64 x)) (-.f64 (pow.f64 (tan.f64 x) 2) (*.f64 x x))) (+.f64 x (tan.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 (-.f64 (tan.f64 x) x) (*.f64 x (tan.f64 x))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (/.f64 (-.f64 (tan.f64 x) x) (*.f64 x (tan.f64 x))) 2) 1/2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (/.f64 (-.f64 (tan.f64 x) x) (*.f64 x (tan.f64 x))) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (/.f64 (-.f64 (tan.f64 x) x) (*.f64 x (tan.f64 x)))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (/.f64 (-.f64 (tan.f64 x) x) (*.f64 x (tan.f64 x)))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 (tan.f64 x) (/.f64 (-.f64 (tan.f64 x) x) x)) -1)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (/.f64 (-.f64 (tan.f64 x) x) (*.f64 x (tan.f64 x))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (/.f64 (-.f64 (tan.f64 x) x) (*.f64 x (tan.f64 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (/.f64 (-.f64 (tan.f64 x) x) (*.f64 x (tan.f64 x))))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (/.f64 (-.f64 (tan.f64 x) x) (*.f64 x (tan.f64 x))) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (/.f64 (-.f64 (tan.f64 x) x) (*.f64 x (tan.f64 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (/.f64 (-.f64 (tan.f64 x) x) (*.f64 x (tan.f64 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (/.f64 (-.f64 (tan.f64 x) x) (*.f64 x (tan.f64 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (/.f64 (-.f64 (tan.f64 x) x) (*.f64 x (tan.f64 x)))) 1))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 3 (log.f64 (/.f64 (-.f64 (tan.f64 x) x) (*.f64 x (tan.f64 x))))) 1/3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (cbrt.f64 (/.f64 (-.f64 (tan.f64 x) x) (*.f64 x (tan.f64 x))))) 3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (sqrt.f64 (/.f64 (-.f64 (tan.f64 x) x) (*.f64 x (tan.f64 x))))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 (log.f64 (/.f64 (-.f64 (tan.f64 x) x) (*.f64 x (tan.f64 x)))) 1) 1))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (tan.f64 x) (/.f64 (/.f64 1 x) (tan.f64 x)) (*.f64 (neg.f64 x) (/.f64 (/.f64 1 x) (tan.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (/.f64 (/.f64 1 x) (tan.f64 x)) (tan.f64 x) (*.f64 (/.f64 (/.f64 1 x) (tan.f64 x)) (neg.f64 x))))))) |
((#(struct:change #<rule egg-rr> (2) ((x +.f64 (tan.f64 x) (neg.f64 x))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (tan.f64 x) (*.f64 (neg.f64 x) 1))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (-.f64 (tan.f64 x) x) (fma.f64 (neg.f64 x) 1 x))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (-.f64 (tan.f64 x) x) (fma.f64 (neg.f64 (cbrt.f64 x)) (pow.f64 (cbrt.f64 x) 2) x))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (-.f64 (tan.f64 x) x) (+.f64 (neg.f64 x) x))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (-.f64 (tan.f64 x) x) (fma.f64 -1 x x))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (-.f64 (tan.f64 x) x) (fma.f64 (neg.f64 (pow.f64 (cbrt.f64 x) 2)) (cbrt.f64 x) x))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 0 (-.f64 (tan.f64 x) x))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (neg.f64 x) (tan.f64 x))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (pow.f64 (cbrt.f64 (exp.f64 (-.f64 (tan.f64 x) x))) 2)) (log.f64 (cbrt.f64 (exp.f64 (-.f64 (tan.f64 x) x)))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (sqrt.f64 (exp.f64 (-.f64 (tan.f64 x) x)))) (log.f64 (sqrt.f64 (exp.f64 (-.f64 (tan.f64 x) x)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (-.f64 (tan.f64 x) x) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (-.f64 (tan.f64 x) x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (-.f64 (tan.f64 x) x)) (pow.f64 (cbrt.f64 (-.f64 (tan.f64 x) x)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (-.f64 (tan.f64 x) x)) 2) (cbrt.f64 (-.f64 (tan.f64 x) x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (-.f64 (tan.f64 x) x)) (sqrt.f64 (-.f64 (tan.f64 x) x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (-.f64 (pow.f64 (tan.f64 x) 3) (pow.f64 x 3)) (/.f64 1 (fma.f64 x (+.f64 x (tan.f64 x)) (pow.f64 (tan.f64 x) 2))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (-.f64 (pow.f64 (tan.f64 x) 2) (*.f64 x x)) (/.f64 1 (+.f64 x (tan.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 (sqrt.f64 (tan.f64 x)) (sqrt.f64 x)) (-.f64 (sqrt.f64 (tan.f64 x)) (sqrt.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (fma.f64 x (+.f64 x (tan.f64 x)) (pow.f64 (tan.f64 x) 2)) (-.f64 (pow.f64 (tan.f64 x) 3) (pow.f64 x 3))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (+.f64 x (tan.f64 x)) (-.f64 (pow.f64 (tan.f64 x) 2) (*.f64 x x))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (pow.f64 (tan.f64 x) 3) (pow.f64 x 3)) (fma.f64 x (+.f64 x (tan.f64 x)) (pow.f64 (tan.f64 x) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (pow.f64 (tan.f64 x) 2) (*.f64 x x)) (+.f64 x (tan.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (-.f64 (pow.f64 (tan.f64 x) 3) (pow.f64 x 3))) (neg.f64 (fma.f64 x (+.f64 x (tan.f64 x)) (pow.f64 (tan.f64 x) 2))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (-.f64 (pow.f64 (tan.f64 x) 2) (*.f64 x x))) (neg.f64 (+.f64 x (tan.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 (tan.f64 x) 3) (pow.f64 (neg.f64 x) 3)) (+.f64 (pow.f64 (tan.f64 x) 2) (-.f64 (pow.f64 (neg.f64 x) 2) (*.f64 (tan.f64 x) (neg.f64 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (pow.f64 (tan.f64 x) 2) (pow.f64 (neg.f64 x) 2)) (-.f64 (tan.f64 x) (neg.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (-.f64 (tan.f64 x) x) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (-.f64 (tan.f64 x) x) 2) 1/2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (-.f64 (tan.f64 x) x) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (-.f64 (tan.f64 x) x)) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (-.f64 (tan.f64 x) x)) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 (fma.f64 x (+.f64 x (tan.f64 x)) (pow.f64 (tan.f64 x) 2)) (-.f64 (pow.f64 (tan.f64 x) 3) (pow.f64 x 3))) -1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 (+.f64 x (tan.f64 x)) (-.f64 (pow.f64 (tan.f64 x) 2) (*.f64 x x))) -1)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (-.f64 (tan.f64 x) x) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (-.f64 (tan.f64 x) x)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (-.f64 (tan.f64 x) x))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (/.f64 (+.f64 1 (expm1.f64 (tan.f64 x))) (exp.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (/.f64 (exp.f64 (tan.f64 x)) (+.f64 1 (expm1.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (/.f64 (+.f64 1 (expm1.f64 (tan.f64 x))) (+.f64 1 (expm1.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (+.f64 1 (expm1.f64 (tan.f64 x))) (exp.f64 (neg.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (exp.f64 (neg.f64 x)) (+.f64 1 (expm1.f64 (tan.f64 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (-.f64 (tan.f64 x) x) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (-.f64 (tan.f64 x) x)))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (-.f64 (tan.f64 x) x)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (-.f64 (tan.f64 x) x)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (-.f64 (tan.f64 x) x)) 1))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 3 (log.f64 (-.f64 (tan.f64 x) x))) 1/3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (cbrt.f64 (-.f64 (tan.f64 x) x))) 3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (sqrt.f64 (-.f64 (tan.f64 x) x))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 (log.f64 (-.f64 (tan.f64 x) x)) 1) 1))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (tan.f64 x) 1 (neg.f64 x))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (tan.f64 x) 1 (*.f64 (neg.f64 x) 1))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (-.f64 (tan.f64 x) x) 1 (fma.f64 (neg.f64 x) 1 x))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (-.f64 (tan.f64 x) x) 1 (fma.f64 (neg.f64 (cbrt.f64 x)) (pow.f64 (cbrt.f64 x) 2) x))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (-.f64 (tan.f64 x) x) 1 (+.f64 (neg.f64 x) x))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (tan.f64 x) (neg.f64 x))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (tan.f64 x) (*.f64 (neg.f64 x) 1))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (-.f64 (tan.f64 x) x) (fma.f64 (neg.f64 x) 1 x))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (-.f64 (tan.f64 x) x) (fma.f64 (neg.f64 (cbrt.f64 x)) (pow.f64 (cbrt.f64 x) 2) x))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (-.f64 (tan.f64 x) x) (+.f64 (neg.f64 x) x))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (neg.f64 x) (tan.f64 x))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 x) 2) (neg.f64 (cbrt.f64 x)) (tan.f64 x))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (tan.f64 x)) (pow.f64 (cbrt.f64 (tan.f64 x)) 2) (neg.f64 x))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (tan.f64 x)) (pow.f64 (cbrt.f64 (tan.f64 x)) 2) (*.f64 (neg.f64 x) 1))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 (tan.f64 x)) 2) (cbrt.f64 (tan.f64 x)) (neg.f64 x))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 (tan.f64 x)) 2) (cbrt.f64 (tan.f64 x)) (*.f64 (neg.f64 x) 1))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (-.f64 (tan.f64 x) x)) (pow.f64 (cbrt.f64 (-.f64 (tan.f64 x) x)) 2) (fma.f64 (neg.f64 x) 1 x))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (-.f64 (tan.f64 x) x)) (pow.f64 (cbrt.f64 (-.f64 (tan.f64 x) x)) 2) (fma.f64 (neg.f64 (cbrt.f64 x)) (pow.f64 (cbrt.f64 x) 2) x))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (-.f64 (tan.f64 x) x)) (pow.f64 (cbrt.f64 (-.f64 (tan.f64 x) x)) 2) (+.f64 (neg.f64 x) x))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 (-.f64 (tan.f64 x) x)) 2) (cbrt.f64 (-.f64 (tan.f64 x) x)) (fma.f64 (neg.f64 x) 1 x))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 (-.f64 (tan.f64 x) x)) 2) (cbrt.f64 (-.f64 (tan.f64 x) x)) (fma.f64 (neg.f64 (cbrt.f64 x)) (pow.f64 (cbrt.f64 x) 2) x))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 (-.f64 (tan.f64 x) x)) 2) (cbrt.f64 (-.f64 (tan.f64 x) x)) (+.f64 (neg.f64 x) x))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 x) (neg.f64 (sqrt.f64 x)) (tan.f64 x))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 (tan.f64 x)) (sqrt.f64 (tan.f64 x)) (neg.f64 x))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 (tan.f64 x)) (sqrt.f64 (tan.f64 x)) (*.f64 (neg.f64 x) 1))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 (-.f64 (tan.f64 x) x)) (sqrt.f64 (-.f64 (tan.f64 x) x)) (fma.f64 (neg.f64 x) 1 x))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 (-.f64 (tan.f64 x) x)) (sqrt.f64 (-.f64 (tan.f64 x) x)) (fma.f64 (neg.f64 (cbrt.f64 x)) (pow.f64 (cbrt.f64 x) 2) x))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 (-.f64 (tan.f64 x) x)) (sqrt.f64 (-.f64 (tan.f64 x) x)) (+.f64 (neg.f64 x) x))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sin.f64 x) (/.f64 1 (cos.f64 x)) (neg.f64 x))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sin.f64 x) (/.f64 1 (cos.f64 x)) (*.f64 (neg.f64 x) 1))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 -1 x (tan.f64 x))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (-.f64 (pow.f64 (tan.f64 x) 3) (pow.f64 x 3)) (/.f64 1 (fma.f64 x (+.f64 x (tan.f64 x)) (pow.f64 (tan.f64 x) 2))) (fma.f64 (neg.f64 x) 1 x))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (-.f64 (pow.f64 (tan.f64 x) 3) (pow.f64 x 3)) (/.f64 1 (fma.f64 x (+.f64 x (tan.f64 x)) (pow.f64 (tan.f64 x) 2))) (fma.f64 (neg.f64 (cbrt.f64 x)) (pow.f64 (cbrt.f64 x) 2) x))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (-.f64 (pow.f64 (tan.f64 x) 3) (pow.f64 x 3)) (/.f64 1 (fma.f64 x (+.f64 x (tan.f64 x)) (pow.f64 (tan.f64 x) 2))) (+.f64 (neg.f64 x) x))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (-.f64 (pow.f64 (tan.f64 x) 2) (*.f64 x x)) (/.f64 1 (+.f64 x (tan.f64 x))) (fma.f64 (neg.f64 x) 1 x))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (-.f64 (pow.f64 (tan.f64 x) 2) (*.f64 x x)) (/.f64 1 (+.f64 x (tan.f64 x))) (fma.f64 (neg.f64 (cbrt.f64 x)) (pow.f64 (cbrt.f64 x) 2) x))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (-.f64 (pow.f64 (tan.f64 x) 2) (*.f64 x x)) (/.f64 1 (+.f64 x (tan.f64 x))) (+.f64 (neg.f64 x) x))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 (neg.f64 x)) 2) (cbrt.f64 (neg.f64 x)) (tan.f64 x))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 (neg.f64 x)) (sqrt.f64 (neg.f64 x)) (tan.f64 x))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (neg.f64 (sqrt.f64 x)) (sqrt.f64 x) (tan.f64 x))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (+.f64 (sqrt.f64 (tan.f64 x)) (sqrt.f64 x)) (-.f64 (sqrt.f64 (tan.f64 x)) (sqrt.f64 x)) (fma.f64 (neg.f64 x) 1 x))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (+.f64 (sqrt.f64 (tan.f64 x)) (sqrt.f64 x)) (-.f64 (sqrt.f64 (tan.f64 x)) (sqrt.f64 x)) (fma.f64 (neg.f64 (cbrt.f64 x)) (pow.f64 (cbrt.f64 x) 2) x))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (+.f64 (sqrt.f64 (tan.f64 x)) (sqrt.f64 x)) (-.f64 (sqrt.f64 (tan.f64 x)) (sqrt.f64 x)) (+.f64 (neg.f64 x) x))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (neg.f64 (pow.f64 (cbrt.f64 x) 2)) (cbrt.f64 x) (tan.f64 x)))))) |
((#(struct:change #<rule egg-rr> (2) ((x +.f64 0 (/.f64 (/.f64 1 x) (tan.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (pow.f64 (cbrt.f64 (exp.f64 (/.f64 (/.f64 1 x) (tan.f64 x)))) 2)) (log.f64 (cbrt.f64 (exp.f64 (/.f64 (/.f64 1 x) (tan.f64 x))))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (sqrt.f64 (exp.f64 (/.f64 (/.f64 1 x) (tan.f64 x))))) (log.f64 (sqrt.f64 (exp.f64 (/.f64 (/.f64 1 x) (tan.f64 x))))))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (/.f64 (/.f64 1 x) (tan.f64 x)))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (/.f64 (/.f64 1 x) (tan.f64 x)))))) (#(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 (/.f64 1 x) (tan.f64 x)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (pow.f64 x -2)) (*.f64 (cbrt.f64 (/.f64 1 x)) (/.f64 1 (tan.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (/.f64 (/.f64 1 x) (tan.f64 x))) (cbrt.f64 (pow.f64 (*.f64 x (tan.f64 x)) -2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (pow.f64 (*.f64 x (tan.f64 x)) -2)) (cbrt.f64 (/.f64 (/.f64 1 x) (tan.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 x -1/2) (*.f64 (pow.f64 x -1/2) (/.f64 1 (tan.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (*.f64 x (tan.f64 x)) -1/2) (pow.f64 (*.f64 x (tan.f64 x)) -1/2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 -1 x) (/.f64 1 (neg.f64 (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 (/.f64 (cbrt.f64 (pow.f64 x -2)) 1) (/.f64 (cbrt.f64 (/.f64 1 x)) (tan.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (pow.f64 x -1/2) 1) (/.f64 (pow.f64 x -1/2) (tan.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (tan.f64 x)) -2) (/.f64 (/.f64 1 x) (cbrt.f64 (tan.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (cbrt.f64 (pow.f64 x -2)) (pow.f64 (cbrt.f64 (tan.f64 x)) 2)) (cbrt.f64 (/.f64 (/.f64 1 x) (tan.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (pow.f64 x -1/2) (pow.f64 (cbrt.f64 (tan.f64 x)) 2)) (/.f64 (pow.f64 x -1/2) (cbrt.f64 (tan.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (tan.f64 x) -1/2) (/.f64 (/.f64 1 x) (sqrt.f64 (tan.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (cbrt.f64 (pow.f64 x -2)) (sqrt.f64 (tan.f64 x))) (/.f64 (cbrt.f64 (/.f64 1 x)) (sqrt.f64 (tan.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (/.f64 1 x) (sin.f64 x)) (cos.f64 x))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 (/.f64 1 x) (tan.f64 x)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 x (tan.f64 x)) -2) 1/2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 x (tan.f64 x)) -3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (/.f64 (/.f64 1 x) (tan.f64 x))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 x (tan.f64 x)) -1/2) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 x (tan.f64 x)) -1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 (pow.f64 x -3) (pow.f64 (tan.f64 x) 3)) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 (*.f64 x (tan.f64 x)) 1) -1)))) (#(struct:change #<rule egg-rr> (2) ((x neg.f64 (/.f64 (/.f64 1 x) (neg.f64 (tan.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (*.f64 x (tan.f64 x)) -2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (/.f64 (/.f64 1 x) (tan.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (/.f64 (/.f64 1 x) (tan.f64 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (*.f64 x (tan.f64 x)) -3))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (/.f64 (pow.f64 x -3) (pow.f64 (tan.f64 x) 3)))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (/.f64 (/.f64 1 x) (tan.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (/.f64 (/.f64 1 x) (tan.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (neg.f64 (log.f64 (*.f64 x (tan.f64 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (neg.f64 (log.f64 (*.f64 x (tan.f64 x)))) 1))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (pow.f64 (*.f64 x (tan.f64 x)) -3)) 1/3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (neg.f64 (log.f64 (cbrt.f64 (*.f64 x (tan.f64 x))))) 3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (pow.f64 (*.f64 x (tan.f64 x)) -1/2)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (*.f64 x (tan.f64 x))) -1))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 (neg.f64 (log.f64 (*.f64 x (tan.f64 x)))) 1) 1)))))) |
| 1× | egg-herbie |
| 577× | associate-/r*_binary64 |
| 559× | fma-def_binary64 |
| 387× | distribute-rgt-neg-in_binary64 |
| 344× | cancel-sign-sub-inv_binary64 |
| 335× | *-commutative_binary64 |
Useful iterations: 1 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 63 | 472 |
| 1 | 155 | 450 |
| 2 | 349 | 450 |
| 3 | 951 | 450 |
| 4 | 2314 | 450 |
| 5 | 3834 | 450 |
| 6 | 6035 | 450 |
| 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 (*.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 (*.f64 1/45 (pow.f64 x 3)) (*.f64 1/4725 (pow.f64 x 7))))) |
(*.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/3 (pow.f64 x 3)) |
(+.f64 (*.f64 1/3 (pow.f64 x 3)) (*.f64 2/15 (pow.f64 x 5))) |
(+.f64 (*.f64 17/315 (pow.f64 x 7)) (+.f64 (*.f64 1/3 (pow.f64 x 3)) (*.f64 2/15 (pow.f64 x 5)))) |
(+.f64 (*.f64 17/315 (pow.f64 x 7)) (+.f64 (*.f64 1/3 (pow.f64 x 3)) (+.f64 (*.f64 62/2835 (pow.f64 x 9)) (*.f64 2/15 (pow.f64 x 5))))) |
(*.f64 -1 x) |
(+.f64 (/.f64 (sin.f64 x) (cos.f64 x)) (*.f64 -1 x)) |
(+.f64 (/.f64 (sin.f64 x) (cos.f64 x)) (*.f64 -1 x)) |
(+.f64 (/.f64 (sin.f64 x) (cos.f64 x)) (*.f64 -1 x)) |
(*.f64 -1 x) |
(+.f64 (/.f64 (sin.f64 x) (cos.f64 x)) (*.f64 -1 x)) |
(+.f64 (/.f64 (sin.f64 x) (cos.f64 x)) (*.f64 -1 x)) |
(+.f64 (/.f64 (sin.f64 x) (cos.f64 x)) (*.f64 -1 x)) |
(/.f64 1 (pow.f64 x 2)) |
(-.f64 (/.f64 1 (pow.f64 x 2)) 1/3) |
(-.f64 (+.f64 (/.f64 1 (pow.f64 x 2)) (*.f64 -1/45 (pow.f64 x 2))) 1/3) |
(-.f64 (+.f64 (*.f64 -2/945 (pow.f64 x 4)) (+.f64 (/.f64 1 (pow.f64 x 2)) (*.f64 -1/45 (pow.f64 x 2)))) 1/3) |
(/.f64 (cos.f64 x) (*.f64 (sin.f64 x) x)) |
(/.f64 (cos.f64 x) (*.f64 (sin.f64 x) x)) |
(/.f64 (cos.f64 x) (*.f64 (sin.f64 x) x)) |
(/.f64 (cos.f64 x) (*.f64 (sin.f64 x) x)) |
(/.f64 (cos.f64 x) (*.f64 (sin.f64 x) x)) |
(/.f64 (cos.f64 x) (*.f64 (sin.f64 x) x)) |
(/.f64 (cos.f64 x) (*.f64 (sin.f64 x) x)) |
(/.f64 (cos.f64 x) (*.f64 (sin.f64 x) 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 1/3 x) (+.f64 (*.f64 2/945 (pow.f64 x 5)) (*.f64 1/45 (pow.f64 x 3)))) |
(fma.f64 1/3 x (fma.f64 2/945 (pow.f64 x 5) (*.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))) |
(+.f64 (*.f64 1/3 x) (+.f64 (*.f64 2/945 (pow.f64 x 5)) (+.f64 (*.f64 1/45 (pow.f64 x 3)) (*.f64 1/4725 (pow.f64 x 7))))) |
(fma.f64 1/3 x (fma.f64 2/945 (pow.f64 x 5) (fma.f64 1/45 (pow.f64 x 3) (*.f64 1/4725 (pow.f64 x 7))))) |
(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/3 (pow.f64 x 3)) |
(+.f64 (*.f64 1/3 (pow.f64 x 3)) (*.f64 2/15 (pow.f64 x 5))) |
(fma.f64 1/3 (pow.f64 x 3) (*.f64 (pow.f64 x 5) 2/15)) |
(+.f64 (*.f64 17/315 (pow.f64 x 7)) (+.f64 (*.f64 1/3 (pow.f64 x 3)) (*.f64 2/15 (pow.f64 x 5)))) |
(fma.f64 17/315 (pow.f64 x 7) (fma.f64 1/3 (pow.f64 x 3) (*.f64 (pow.f64 x 5) 2/15))) |
(fma.f64 (pow.f64 x 7) 17/315 (fma.f64 1/3 (pow.f64 x 3) (*.f64 (pow.f64 x 5) 2/15))) |
(fma.f64 1/3 (pow.f64 x 3) (fma.f64 (pow.f64 x 5) 2/15 (*.f64 (pow.f64 x 7) 17/315))) |
(+.f64 (*.f64 17/315 (pow.f64 x 7)) (+.f64 (*.f64 1/3 (pow.f64 x 3)) (+.f64 (*.f64 62/2835 (pow.f64 x 9)) (*.f64 2/15 (pow.f64 x 5))))) |
(fma.f64 17/315 (pow.f64 x 7) (fma.f64 1/3 (pow.f64 x 3) (fma.f64 62/2835 (pow.f64 x 9) (*.f64 (pow.f64 x 5) 2/15)))) |
(fma.f64 (pow.f64 x 7) 17/315 (fma.f64 1/3 (pow.f64 x 3) (fma.f64 (pow.f64 x 5) 2/15 (*.f64 62/2835 (pow.f64 x 9))))) |
(fma.f64 1/3 (pow.f64 x 3) (fma.f64 (pow.f64 x 7) 17/315 (fma.f64 (pow.f64 x 5) 2/15 (*.f64 62/2835 (pow.f64 x 9))))) |
(fma.f64 1/3 (pow.f64 x 3) (fma.f64 62/2835 (pow.f64 x 9) (fma.f64 (pow.f64 x 5) 2/15 (*.f64 (pow.f64 x 7) 17/315)))) |
(fma.f64 1/3 (pow.f64 x 3) (fma.f64 (pow.f64 x 5) 2/15 (fma.f64 (pow.f64 x 7) 17/315 (*.f64 62/2835 (pow.f64 x 9))))) |
(*.f64 -1 x) |
(neg.f64 x) |
(+.f64 (/.f64 (sin.f64 x) (cos.f64 x)) (*.f64 -1 x)) |
(+.f64 (neg.f64 x) (/.f64 (sin.f64 x) (cos.f64 x))) |
(-.f64 (/.f64 (sin.f64 x) (cos.f64 x)) x) |
(+.f64 (/.f64 (sin.f64 x) (cos.f64 x)) (*.f64 -1 x)) |
(+.f64 (neg.f64 x) (/.f64 (sin.f64 x) (cos.f64 x))) |
(-.f64 (/.f64 (sin.f64 x) (cos.f64 x)) x) |
(+.f64 (/.f64 (sin.f64 x) (cos.f64 x)) (*.f64 -1 x)) |
(+.f64 (neg.f64 x) (/.f64 (sin.f64 x) (cos.f64 x))) |
(-.f64 (/.f64 (sin.f64 x) (cos.f64 x)) x) |
(*.f64 -1 x) |
(neg.f64 x) |
(+.f64 (/.f64 (sin.f64 x) (cos.f64 x)) (*.f64 -1 x)) |
(+.f64 (neg.f64 x) (/.f64 (sin.f64 x) (cos.f64 x))) |
(-.f64 (/.f64 (sin.f64 x) (cos.f64 x)) x) |
(+.f64 (/.f64 (sin.f64 x) (cos.f64 x)) (*.f64 -1 x)) |
(+.f64 (neg.f64 x) (/.f64 (sin.f64 x) (cos.f64 x))) |
(-.f64 (/.f64 (sin.f64 x) (cos.f64 x)) x) |
(+.f64 (/.f64 (sin.f64 x) (cos.f64 x)) (*.f64 -1 x)) |
(+.f64 (neg.f64 x) (/.f64 (sin.f64 x) (cos.f64 x))) |
(-.f64 (/.f64 (sin.f64 x) (cos.f64 x)) x) |
(/.f64 1 (pow.f64 x 2)) |
(/.f64 1 (*.f64 x x)) |
(-.f64 (/.f64 1 (pow.f64 x 2)) 1/3) |
(+.f64 (/.f64 1 (*.f64 x x)) -1/3) |
(-.f64 (+.f64 (/.f64 1 (pow.f64 x 2)) (*.f64 -1/45 (pow.f64 x 2))) 1/3) |
(+.f64 (/.f64 1 (*.f64 x x)) (-.f64 (*.f64 (*.f64 x x) -1/45) 1/3)) |
(+.f64 (/.f64 1 (*.f64 x x)) (fma.f64 (*.f64 x x) -1/45 -1/3)) |
(+.f64 (/.f64 1 (*.f64 x x)) (fma.f64 x (*.f64 x -1/45) -1/3)) |
(-.f64 (+.f64 (*.f64 -2/945 (pow.f64 x 4)) (+.f64 (/.f64 1 (pow.f64 x 2)) (*.f64 -1/45 (pow.f64 x 2)))) 1/3) |
(+.f64 (fma.f64 -2/945 (pow.f64 x 4) (+.f64 (/.f64 1 (*.f64 x x)) (*.f64 (*.f64 x x) -1/45))) -1/3) |
(+.f64 (fma.f64 -2/945 (pow.f64 x 4) (fma.f64 (*.f64 x x) -1/45 (/.f64 1 (*.f64 x x)))) -1/3) |
(+.f64 (fma.f64 (*.f64 x x) -1/45 (/.f64 1 (*.f64 x x))) (fma.f64 -2/945 (pow.f64 x 4) -1/3)) |
(+.f64 (/.f64 1 (*.f64 x x)) (fma.f64 (*.f64 x x) -1/45 (fma.f64 -2/945 (pow.f64 x 4) -1/3))) |
(+.f64 (/.f64 1 (*.f64 x x)) (fma.f64 x (*.f64 x -1/45) (fma.f64 -2/945 (pow.f64 x 4) -1/3))) |
(+.f64 (fma.f64 x (*.f64 x -1/45) (/.f64 1 (*.f64 x x))) (fma.f64 -2/945 (pow.f64 x 4) -1/3)) |
(/.f64 (cos.f64 x) (*.f64 (sin.f64 x) x)) |
(/.f64 (cos.f64 x) (*.f64 x (sin.f64 x))) |
(/.f64 (/.f64 (cos.f64 x) x) (sin.f64 x)) |
(/.f64 (/.f64 (cos.f64 x) (sin.f64 x)) x) |
(/.f64 (cos.f64 x) (*.f64 (sin.f64 x) x)) |
(/.f64 (cos.f64 x) (*.f64 x (sin.f64 x))) |
(/.f64 (/.f64 (cos.f64 x) x) (sin.f64 x)) |
(/.f64 (/.f64 (cos.f64 x) (sin.f64 x)) x) |
(/.f64 (cos.f64 x) (*.f64 (sin.f64 x) x)) |
(/.f64 (cos.f64 x) (*.f64 x (sin.f64 x))) |
(/.f64 (/.f64 (cos.f64 x) x) (sin.f64 x)) |
(/.f64 (/.f64 (cos.f64 x) (sin.f64 x)) x) |
(/.f64 (cos.f64 x) (*.f64 (sin.f64 x) x)) |
(/.f64 (cos.f64 x) (*.f64 x (sin.f64 x))) |
(/.f64 (/.f64 (cos.f64 x) x) (sin.f64 x)) |
(/.f64 (/.f64 (cos.f64 x) (sin.f64 x)) x) |
(/.f64 (cos.f64 x) (*.f64 (sin.f64 x) x)) |
(/.f64 (cos.f64 x) (*.f64 x (sin.f64 x))) |
(/.f64 (/.f64 (cos.f64 x) x) (sin.f64 x)) |
(/.f64 (/.f64 (cos.f64 x) (sin.f64 x)) x) |
(/.f64 (cos.f64 x) (*.f64 (sin.f64 x) x)) |
(/.f64 (cos.f64 x) (*.f64 x (sin.f64 x))) |
(/.f64 (/.f64 (cos.f64 x) x) (sin.f64 x)) |
(/.f64 (/.f64 (cos.f64 x) (sin.f64 x)) x) |
(/.f64 (cos.f64 x) (*.f64 (sin.f64 x) x)) |
(/.f64 (cos.f64 x) (*.f64 x (sin.f64 x))) |
(/.f64 (/.f64 (cos.f64 x) x) (sin.f64 x)) |
(/.f64 (/.f64 (cos.f64 x) (sin.f64 x)) x) |
(/.f64 (cos.f64 x) (*.f64 (sin.f64 x) x)) |
(/.f64 (cos.f64 x) (*.f64 x (sin.f64 x))) |
(/.f64 (/.f64 (cos.f64 x) x) (sin.f64 x)) |
(/.f64 (/.f64 (cos.f64 x) (sin.f64 x)) x) |
Found 2 expressions with local error:
| New | Error | Program |
|---|---|---|
| ✓ | 1.7b | (log.f64 (exp.f64 (-.f64 (/.f64 1 x) (/.f64 1 (tan.f64 x))))) |
| 2.5b | (-.f64 (/.f64 1 x) (/.f64 1 (tan.f64 x))) |
Compiled 39 to 25 computations (35.9% saved)
3 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 1.0ms | x | @ | 0 | (log.f64 (exp.f64 (-.f64 (/.f64 1 x) (/.f64 1 (tan.f64 x))))) |
| 0.0ms | x | @ | inf | (log.f64 (exp.f64 (-.f64 (/.f64 1 x) (/.f64 1 (tan.f64 x))))) |
| 0.0ms | x | @ | -inf | (log.f64 (exp.f64 (-.f64 (/.f64 1 x) (/.f64 1 (tan.f64 x))))) |
| 1× | batch-egg-rewrite |
| 958× | pow1_binary64 |
| 891× | add-log-exp_binary64 |
| 891× | log1p-expm1-u_binary64 |
| 891× | expm1-log1p-u_binary64 |
| 92× | add-sqr-sqrt_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 9 | 12 |
| 1 | 184 | 12 |
| 2 | 2564 | 12 |
| 1× | node limit |
| Inputs |
|---|
(log.f64 (exp.f64 (-.f64 (/.f64 1 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 0 (+.f64 (/.f64 1 x) (/.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 (log.f64 (sqrt.f64 (exp.f64 (+.f64 (/.f64 1 x) (/.f64 -1 (tan.f64 x)))))) (log.f64 (sqrt.f64 (exp.f64 (+.f64 (/.f64 1 x) (/.f64 -1 (tan.f64 x)))))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (pow.f64 (cbrt.f64 (exp.f64 (+.f64 (/.f64 1 x) (/.f64 -1 (tan.f64 x))))) 2)) (log.f64 (cbrt.f64 (exp.f64 (+.f64 (/.f64 1 x) (/.f64 -1 (tan.f64 x)))))))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (/.f64 1 x) (/.f64 1 (tan.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (+.f64 (/.f64 1 x) (/.f64 -1 (tan.f64 x))))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (/.f64 (tan.f64 x) (*.f64 (tan.f64 x) x)) (/.f64 x (*.f64 (tan.f64 x) x)))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (/.f64 (pow.f64 x -3) (+.f64 (pow.f64 x -2) (+.f64 (pow.f64 (tan.f64 x) -2) (/.f64 (/.f64 1 x) (tan.f64 x))))) (/.f64 (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) (+.f64 (/.f64 1 x) (/.f64 1 (tan.f64 x)))) (/.f64 (pow.f64 (tan.f64 x) -2) (+.f64 (/.f64 1 x) (/.f64 1 (tan.f64 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 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 log1p.f64 (expm1.f64 (+.f64 (/.f64 1 x) (/.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 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)) (/.f64 1 (cbrt.f64 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))))))) |
| 1× | egg-herbie |
| 675× | sqr-pow_binary64 |
| 624× | unswap-sqr_binary64 |
| 594× | cube-prod_binary64 |
| 554× | fma-def_binary64 |
| 417× | fabs-mul_binary64 |
Useful iterations: 1 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 30 | 168 |
| 1 | 74 | 162 |
| 2 | 153 | 162 |
| 3 | 367 | 162 |
| 4 | 677 | 162 |
| 5 | 1437 | 162 |
| 6 | 2099 | 162 |
| 7 | 3090 | 162 |
| 8 | 3307 | 162 |
| 9 | 3633 | 162 |
| 10 | 4034 | 162 |
| 11 | 4566 | 162 |
| 12 | 5297 | 162 |
| 13 | 6300 | 162 |
| 14 | 6946 | 162 |
| 15 | 7455 | 162 |
| 16 | 7858 | 162 |
| 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 (*.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 (*.f64 1/45 (pow.f64 x 3)) (*.f64 1/4725 (pow.f64 x 7))))) |
(*.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)) |
| 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)) |
(*.f64 x (fma.f64 1/45 (*.f64 x x) 1/3)) |
(+.f64 (*.f64 1/3 x) (+.f64 (*.f64 2/945 (pow.f64 x 5)) (*.f64 1/45 (pow.f64 x 3)))) |
(fma.f64 1/3 x (fma.f64 2/945 (pow.f64 x 5) (*.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 x (fma.f64 1/45 (*.f64 x x) 1/3) (*.f64 2/945 (pow.f64 x 5))) |
(+.f64 (*.f64 1/3 x) (+.f64 (*.f64 2/945 (pow.f64 x 5)) (+.f64 (*.f64 1/45 (pow.f64 x 3)) (*.f64 1/4725 (pow.f64 x 7))))) |
(fma.f64 1/3 x (fma.f64 2/945 (pow.f64 x 5) (fma.f64 1/45 (pow.f64 x 3) (*.f64 1/4725 (pow.f64 x 7))))) |
(fma.f64 1/45 (pow.f64 x 3) (fma.f64 2/945 (pow.f64 x 5) (fma.f64 1/3 x (*.f64 1/4725 (pow.f64 x 7))))) |
(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))))) |
(fma.f64 2/945 (pow.f64 x 5) (fma.f64 1/4725 (pow.f64 x 7) (*.f64 x (fma.f64 1/45 (*.f64 x x) 1/3)))) |
(*.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))) |
Compiled 8963 to 5515 computations (38.5% saved)
20 alts after pruning (14 fresh and 6 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 503 | 14 | 517 |
| Fresh | 3 | 0 | 3 |
| Picked | 0 | 1 | 1 |
| Done | 0 | 5 | 5 |
| Total | 506 | 20 | 526 |
| Status | Error | Program |
|---|---|---|
| 59.5b | (/.f64 (/.f64 (-.f64 (tan.f64 x) x) x) (tan.f64 x)) | |
| ✓ | 0.5b | (+.f64 (*.f64 1/3 x) (*.f64 1/45 (pow.f64 x 3))) |
| 39.8b | (/.f64 (+.f64 (*.f64 (pow.f64 x 3) 1/27) (*.f64 1/91125 (pow.f64 (pow.f64 x 3) 3))) (+.f64 (pow.f64 (*.f64 1/3 x) 2) (-.f64 (*.f64 1/2025 (pow.f64 x 6)) (*.f64 (*.f64 (*.f64 1/3 x) 1/45) (pow.f64 x 3))))) | |
| ✓ | 1.0b | (*.f64 1/3 x) |
| 27.1b | (/.f64 1 (/.f64 (+.f64 (*.f64 1/3 x) (*.f64 -1/45 (pow.f64 x 3))) (-.f64 (pow.f64 (*.f64 1/3 x) 2) (*.f64 1/2025 (pow.f64 x 6))))) | |
| ✓ | 59.5b | (log.f64 (exp.f64 (-.f64 (/.f64 1 x) (/.f64 1 (tan.f64 x))))) |
| 39.9b | (*.f64 (+.f64 (*.f64 1/3 (pow.f64 x 3)) (*.f64 2/15 (pow.f64 x 5))) (/.f64 (/.f64 1 x) (tan.f64 x))) | |
| 39.8b | (/.f64 1 (/.f64 (+.f64 (pow.f64 (*.f64 1/3 x) 2) (-.f64 (*.f64 1/2025 (pow.f64 x 6)) (*.f64 (*.f64 (*.f64 1/3 x) 1/45) (pow.f64 x 3)))) (+.f64 (*.f64 (pow.f64 x 3) 1/27) (*.f64 1/91125 (pow.f64 (pow.f64 x 3) 3))))) | |
| ▶ | 40.5b | (*.f64 (*.f64 1/3 (pow.f64 x 3)) (/.f64 (/.f64 1 x) (tan.f64 x))) |
| ✓ | 59.5b | (-.f64 (/.f64 1 x) (/.f64 1 (tan.f64 x))) |
| 38.4b | (cbrt.f64 (pow.f64 (*.f64 1/3 x) 3)) | |
| ✓ | 61.6b | (*.f64 (-.f64 (tan.f64 x) x) (/.f64 (/.f64 1 x) (tan.f64 x))) |
| 1.6b | (+.f64 (pow.f64 (cbrt.f64 (*.f64 1/3 x)) 3) (+.f64 (*.f64 2/945 (pow.f64 x 5)) (+.f64 (*.f64 1/45 (pow.f64 x 3)) (*.f64 1/4725 (pow.f64 x 7))))) | |
| ▶ | 0.4b | (+.f64 (*.f64 1/3 x) (+.f64 (*.f64 2/945 (pow.f64 x 5)) (*.f64 1/45 (pow.f64 x 3)))) |
| ✓ | 0.3b | (+.f64 (*.f64 1/3 x) (+.f64 (*.f64 2/945 (pow.f64 x 5)) (+.f64 (*.f64 1/45 (pow.f64 x 3)) (*.f64 1/4725 (pow.f64 x 7))))) |
| 0.5b | (*.f64 x (fma.f64 x (*.f64 x 1/45) 1/3)) | |
| ▶ | 2.2b | (pow.f64 (cbrt.f64 (*.f64 1/3 x)) 3) |
| 33.6b | (pow.f64 (sqrt.f64 (*.f64 1/3 x)) 2) | |
| ▶ | 43.8b | (sqrt.f64 (*.f64 (*.f64 x x) 1/9)) |
| ▶ | 27.4b | (fma.f64 (cbrt.f64 (pow.f64 (*.f64 1/3 x) 2)) (cbrt.f64 (*.f64 1/3 x)) (*.f64 1/45 (pow.f64 x 3))) |
Compiled 538 to 430 computations (20.1% saved)
Found 4 expressions with local error:
| New | Error | Program |
|---|---|---|
| ✓ | 0.0b | (+.f64 (*.f64 2/945 (pow.f64 x 5)) (*.f64 1/45 (pow.f64 x 3))) |
| 0.1b | (*.f64 1/45 (pow.f64 x 3)) | |
| 0.1b | (*.f64 2/945 (pow.f64 x 5)) | |
| 0.3b | (*.f64 1/3 x) |
Compiled 52 to 41 computations (21.2% saved)
3 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 0.0ms | x | @ | inf | (+.f64 (*.f64 2/945 (pow.f64 x 5)) (*.f64 1/45 (pow.f64 x 3))) |
| 0.0ms | x | @ | 0 | (+.f64 (*.f64 2/945 (pow.f64 x 5)) (*.f64 1/45 (pow.f64 x 3))) |
| 0.0ms | x | @ | -inf | (+.f64 (*.f64 2/945 (pow.f64 x 5)) (*.f64 1/45 (pow.f64 x 3))) |
| 1× | batch-egg-rewrite |
| 476× | log-prod_binary64 |
| 363× | exp-prod_binary64 |
| 316× | prod-exp_binary64 |
| 299× | fma-def_binary64 |
| 283× | pow-prod-down_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 11 | 14 |
| 1 | 247 | 14 |
| 2 | 2871 | 14 |
| 1× | node limit |
| Inputs |
|---|
(+.f64 (*.f64 2/945 (pow.f64 x 5)) (*.f64 1/45 (pow.f64 x 3))) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (fma.f64 2/945 (pow.f64 x 5) (*.f64 1/45 (pow.f64 x 3))))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (/.f64 (*.f64 (pow.f64 x 10) 4/893025) (fma.f64 2/945 (pow.f64 x 5) (*.f64 -1/45 (pow.f64 x 3)))) (/.f64 (*.f64 (pow.f64 x 6) 1/2025) (fma.f64 2/945 (pow.f64 x 5) (*.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))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (fma.f64 2/945 (pow.f64 x 5) (*.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) (*.f64 1/45 (pow.f64 x 3)))) (pow.f64 (cbrt.f64 (fma.f64 2/945 (pow.f64 x 5) (*.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) (*.f64 1/45 (pow.f64 x 3)))) 2) (cbrt.f64 (fma.f64 2/945 (pow.f64 x 5) (*.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) (*.f64 1/45 (pow.f64 x 3)))) (sqrt.f64 (fma.f64 2/945 (pow.f64 x 5) (*.f64 1/45 (pow.f64 x 3)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (fma.f64 (pow.f64 x 15) 8/843908625 (*.f64 (pow.f64 x 9) 1/91125)) (/.f64 1 (-.f64 (fma.f64 (pow.f64 x 10) 4/893025 (*.f64 (pow.f64 x 6) 1/2025)) (*.f64 2/945 (*.f64 (pow.f64 x 5) (*.f64 1/45 (pow.f64 x 3)))))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (-.f64 (*.f64 (pow.f64 x 10) 4/893025) (*.f64 (pow.f64 x 6) 1/2025)) (/.f64 1 (fma.f64 2/945 (pow.f64 x 5) (*.f64 -1/45 (pow.f64 x 3)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (-.f64 (fma.f64 (pow.f64 x 10) 4/893025 (*.f64 (pow.f64 x 6) 1/2025)) (*.f64 2/945 (*.f64 (pow.f64 x 5) (*.f64 1/45 (pow.f64 x 3))))) (fma.f64 (pow.f64 x 15) 8/843908625 (*.f64 (pow.f64 x 9) 1/91125))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (fma.f64 2/945 (pow.f64 x 5) (*.f64 -1/45 (pow.f64 x 3))) (-.f64 (*.f64 (pow.f64 x 10) 4/893025) (*.f64 (pow.f64 x 6) 1/2025))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (fma.f64 (pow.f64 x 15) 8/843908625 (*.f64 (pow.f64 x 9) 1/91125)) (-.f64 (fma.f64 (pow.f64 x 10) 4/893025 (*.f64 (pow.f64 x 6) 1/2025)) (*.f64 2/945 (*.f64 (pow.f64 x 5) (*.f64 1/45 (pow.f64 x 3))))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (fma.f64 (pow.f64 x 15) 8/843908625 (*.f64 (pow.f64 x 9) 1/91125)) (fma.f64 (pow.f64 x 6) 1/2025 (-.f64 (*.f64 (pow.f64 x 10) 4/893025) (*.f64 2/945 (*.f64 (pow.f64 x 5) (*.f64 1/45 (pow.f64 x 3)))))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (*.f64 (pow.f64 x 10) 4/893025) (*.f64 (pow.f64 x 6) 1/2025)) (fma.f64 2/945 (pow.f64 x 5) (*.f64 -1/45 (pow.f64 x 3))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (fma.f64 (pow.f64 x 15) 8/843908625 (*.f64 (pow.f64 x 9) 1/91125))) (neg.f64 (-.f64 (fma.f64 (pow.f64 x 10) 4/893025 (*.f64 (pow.f64 x 6) 1/2025)) (*.f64 2/945 (*.f64 (pow.f64 x 5) (*.f64 1/45 (pow.f64 x 3)))))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (-.f64 (*.f64 (pow.f64 x 10) 4/893025) (*.f64 (pow.f64 x 6) 1/2025))) (neg.f64 (fma.f64 2/945 (pow.f64 x 5) (*.f64 -1/45 (pow.f64 x 3)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (*.f64 (pow.f64 x 6) 1/2025) (*.f64 (pow.f64 x 10) 4/893025)) (-.f64 (*.f64 1/45 (pow.f64 x 3)) (*.f64 2/945 (pow.f64 x 5))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (fma.f64 2/945 (pow.f64 x 5) (*.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) (*.f64 1/45 (pow.f64 x 3))) 2) 1/2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (fma.f64 2/945 (pow.f64 x 5) (*.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) (*.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) (*.f64 1/45 (pow.f64 x 3)))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 1) (log.f64 (fma.f64 2/945 (pow.f64 x 5) (*.f64 1/45 (pow.f64 x 3)))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 (-.f64 (fma.f64 (pow.f64 x 10) 4/893025 (*.f64 (pow.f64 x 6) 1/2025)) (*.f64 2/945 (*.f64 (pow.f64 x 5) (*.f64 1/45 (pow.f64 x 3))))) (fma.f64 (pow.f64 x 15) 8/843908625 (*.f64 (pow.f64 x 9) 1/91125))) -1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 (fma.f64 2/945 (pow.f64 x 5) (*.f64 -1/45 (pow.f64 x 3))) (-.f64 (*.f64 (pow.f64 x 10) 4/893025) (*.f64 (pow.f64 x 6) 1/2025))) -1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 (pow.f64 (cbrt.f64 (log.f64 (fma.f64 2/945 (pow.f64 x 5) (*.f64 1/45 (pow.f64 x 3))))) 2)) (cbrt.f64 (log.f64 (fma.f64 2/945 (pow.f64 x 5) (*.f64 1/45 (pow.f64 x 3))))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 (sqrt.f64 (log.f64 (fma.f64 2/945 (pow.f64 x 5) (*.f64 1/45 (pow.f64 x 3)))))) (sqrt.f64 (log.f64 (fma.f64 2/945 (pow.f64 x 5) (*.f64 1/45 (pow.f64 x 3))))))))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (fma.f64 2/945 (pow.f64 x 5) (*.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) (*.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) (*.f64 1/45 (pow.f64 x 3))))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (+.f64 1 (expm1.f64 (*.f64 2/945 (pow.f64 x 5)))) (pow.f64 (exp.f64 1/45) (pow.f64 x 3))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (pow.f64 (exp.f64 2/945) (pow.f64 x 5)) (+.f64 1 (expm1.f64 (*.f64 1/45 (pow.f64 x 3))))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (+.f64 1 (expm1.f64 (*.f64 2/945 (pow.f64 x 5)))) (+.f64 1 (expm1.f64 (*.f64 1/45 (pow.f64 x 3))))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (+.f64 1 (expm1.f64 (*.f64 1/45 (pow.f64 x 3)))) (pow.f64 (exp.f64 2/945) (pow.f64 x 5))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (pow.f64 (exp.f64 1/45) (pow.f64 x 3)) (+.f64 1 (expm1.f64 (*.f64 2/945 (pow.f64 x 5))))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (+.f64 1 (expm1.f64 (*.f64 1/45 (pow.f64 x 3)))) (+.f64 1 (expm1.f64 (*.f64 2/945 (pow.f64 x 5))))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (fma.f64 2/945 (pow.f64 x 5) (*.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) (*.f64 1/45 (pow.f64 x 3)))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (fma.f64 2/945 (pow.f64 x 5) (*.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) (*.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) (*.f64 1/45 (pow.f64 x 3)))) 1))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 3 (log.f64 (fma.f64 2/945 (pow.f64 x 5) (*.f64 1/45 (pow.f64 x 3))))) 1/3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (cbrt.f64 (fma.f64 2/945 (pow.f64 x 5) (*.f64 1/45 (pow.f64 x 3))))) 3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (sqrt.f64 (fma.f64 2/945 (pow.f64 x 5) (*.f64 1/45 (pow.f64 x 3))))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 (log.f64 (fma.f64 2/945 (pow.f64 x 5) (*.f64 1/45 (pow.f64 x 3)))) 1) 1))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 2/945 (pow.f64 x 5) (*.f64 1/45 (pow.f64 x 3)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 x (*.f64 (*.f64 x x) 1/45) (*.f64 2/945 (pow.f64 x 5)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 x 5) 2/945 (*.f64 1/45 (pow.f64 x 3)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 2/945 (pow.f64 x 5)) 1 (*.f64 1/45 (pow.f64 x 3)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1/45 (pow.f64 x 3) (*.f64 2/945 (pow.f64 x 5)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 x 3) 1/45 (*.f64 2/945 (pow.f64 x 5)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 1/45 (pow.f64 x 3)) 1 (*.f64 2/945 (pow.f64 x 5)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (*.f64 2/945 (pow.f64 x 5)) (*.f64 1/45 (pow.f64 x 3)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (*.f64 1/45 (pow.f64 x 3)) (*.f64 2/945 (pow.f64 x 5)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 x x) (*.f64 x 1/45) (*.f64 2/945 (pow.f64 x 5)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (pow.f64 x 10)) (*.f64 (pow.f64 (cbrt.f64 x) 5) 2/945) (*.f64 1/45 (pow.f64 x 3)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (*.f64 2/945 (pow.f64 x 5))) (cbrt.f64 (*.f64 (pow.f64 x 10) 4/893025)) (*.f64 1/45 (pow.f64 x 3)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (*.f64 (pow.f64 x 10) 4/893025)) (cbrt.f64 (*.f64 2/945 (pow.f64 x 5))) (*.f64 1/45 (pow.f64 x 3)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 x (cbrt.f64 1/45)) (pow.f64 (*.f64 x (cbrt.f64 1/45)) 2) (*.f64 2/945 (pow.f64 x 5)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (*.f64 x (cbrt.f64 1/45)) 2) (*.f64 x (cbrt.f64 1/45)) (*.f64 2/945 (pow.f64 x 5)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 (sqrt.f64 2/945) (pow.f64 x 5/2)) (*.f64 (sqrt.f64 2/945) (pow.f64 x 5/2)) (*.f64 1/45 (pow.f64 x 3)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (*.f64 x (cbrt.f64 1/45)) 3/2) (pow.f64 (*.f64 x (cbrt.f64 1/45)) 3/2) (*.f64 2/945 (pow.f64 x 5)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 x 5/2) (*.f64 (pow.f64 x 5/2) 2/945) (*.f64 1/45 (pow.f64 x 3)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 x 3/2) (*.f64 (pow.f64 x 3/2) 1/45) (*.f64 2/945 (pow.f64 x 5)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 2/945 (cbrt.f64 (pow.f64 x 10))) (pow.f64 (cbrt.f64 x) 5) (*.f64 1/45 (pow.f64 x 3)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 2/945 (pow.f64 x 5/2)) (pow.f64 x 5/2) (*.f64 1/45 (pow.f64 x 3)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 1/45 x) (*.f64 x x) (*.f64 2/945 (pow.f64 x 5)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 1/45 (*.f64 x x)) x (*.f64 2/945 (pow.f64 x 5)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 1/45 (pow.f64 x 3/2)) (pow.f64 x 3/2) (*.f64 2/945 (pow.f64 x 5))))))) |
| 1× | egg-herbie |
| 1204× | sqr-pow_binary64 |
| 708× | cube-prod_binary64 |
| 678× | fabs-mul_binary64 |
| 660× | pow-sqr_binary64 |
| 416× | unswap-sqr_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 10 | 21 |
| 1 | 24 | 21 |
| 2 | 50 | 21 |
| 3 | 98 | 21 |
| 4 | 213 | 21 |
| 5 | 643 | 21 |
| 6 | 932 | 21 |
| 7 | 1568 | 21 |
| 8 | 1676 | 21 |
| 9 | 1838 | 21 |
| 10 | 2051 | 21 |
| 11 | 2381 | 21 |
| 12 | 2837 | 21 |
| 13 | 3436 | 21 |
| 14 | 4190 | 21 |
| 15 | 5122 | 21 |
| 16 | 5630 | 21 |
| 17 | 6120 | 21 |
| 18 | 6516 | 21 |
| 19 | 6838 | 21 |
| 20 | 6998 | 21 |
| 1× | node limit |
| Inputs |
|---|
(*.f64 1/45 (pow.f64 x 3)) |
(*.f64 2/945 (pow.f64 x 5)) |
(*.f64 2/945 (pow.f64 x 5)) |
| Outputs |
|---|
(*.f64 1/45 (pow.f64 x 3)) |
(*.f64 2/945 (pow.f64 x 5)) |
(*.f64 2/945 (pow.f64 x 5)) |
Found 2 expressions with local error:
| New | Error | Program |
|---|---|---|
| ✓ | 0.2b | (*.f64 (*.f64 x x) 1/9) |
| ✓ | 26.8b | (sqrt.f64 (*.f64 (*.f64 x x) 1/9)) |
Compiled 17 to 8 computations (52.9% saved)
6 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 1.0ms | x | @ | 0 | (*.f64 (*.f64 x x) 1/9) |
| 1.0ms | x | @ | inf | (*.f64 (*.f64 x x) 1/9) |
| 0.0ms | x | @ | 0 | (sqrt.f64 (*.f64 (*.f64 x x) 1/9)) |
| 0.0ms | x | @ | -inf | (*.f64 (*.f64 x x) 1/9) |
| 0.0ms | x | @ | inf | (sqrt.f64 (*.f64 (*.f64 x x) 1/9)) |
| 1× | batch-egg-rewrite |
| 508× | pow1_binary64 |
| 492× | add-sqr-sqrt_binary64 |
| 475× | add-log-exp_binary64 |
| 475× | log1p-expm1-u_binary64 |
| 475× | expm1-log1p-u_binary64 |
Useful iterations: 1 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 6 | 16 |
| 1 | 124 | 11 |
| 2 | 1396 | 11 |
| 1× | node limit |
| Inputs |
|---|
(sqrt.f64 (*.f64 (*.f64 x x) 1/9)) |
(*.f64 (*.f64 x x) 1/9) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (*.f64 x 1/3)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 x 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 x (pow.f64 1/9 1/2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 x 1/3) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (*.f64 x 1/3))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (*.f64 x 1/3)) (pow.f64 (cbrt.f64 (*.f64 x 1/3)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (*.f64 x 1/3)) 2) (cbrt.f64 (*.f64 x 1/3)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (*.f64 x 1/3)) (sqrt.f64 (*.f64 x 1/3)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 x) (sqrt.f64 (*.f64 x 1/9)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 x) (pow.f64 (*.f64 x 1/9) 1/2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1/3 x)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (cbrt.f64 (*.f64 (pow.f64 x 4) 1/81))) (sqrt.f64 (pow.f64 (cbrt.f64 (*.f64 x 1/3)) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 1/9 1/2) x)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 1 1/2) (*.f64 x 1/3))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (*.f64 (pow.f64 x 4) 1/81)) 1/2) (pow.f64 (pow.f64 (cbrt.f64 (*.f64 x 1/3)) 2) 1/2))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 (*.f64 x x) 1/9) 1/2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 x 1/3) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 x 1/3) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (*.f64 x 1/3)) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (*.f64 x 1/3)) 2)))) (#(struct:change #<rule egg-rr> (2) ((x fabs.f64 (*.f64 x 1/3))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (*.f64 x 1/3)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (*.f64 x 1/3) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 x 1/3)))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 x 1/3)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (*.f64 x 1/3))))))) |
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (*.f64 (*.f64 x x) 1/9)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 (*.f64 x x) 1/9) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 x 1/3) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 (pow.f64 x 4) 1/81) 1/2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 (*.f64 x x) 1/9) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (cbrt.f64 (*.f64 x 1/3)) 2) 3)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (*.f64 (pow.f64 x 4) 1/81))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (pow.f64 (exp.f64 x) (*.f64 x 1/9)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (*.f64 (*.f64 x x) 1/9) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 (*.f64 x x) 1/9)))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 (*.f64 x x) 1/9)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (*.f64 (*.f64 x x) 1/9))))))) |
| 1× | egg-herbie |
| 1101× | sqr-pow_binary64 |
| 582× | associate-*l*_binary64 |
| 565× | cube-prod_binary64 |
| 557× | fabs-mul_binary64 |
| 528× | pow-sqr_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 10 | 132 |
| 1 | 18 | 132 |
| 2 | 29 | 132 |
| 3 | 58 | 132 |
| 4 | 138 | 132 |
| 5 | 442 | 132 |
| 6 | 1604 | 132 |
| 7 | 2497 | 132 |
| 8 | 2661 | 132 |
| 9 | 2874 | 132 |
| 10 | 3094 | 132 |
| 11 | 3397 | 132 |
| 12 | 3799 | 132 |
| 13 | 4292 | 132 |
| 14 | 4860 | 132 |
| 15 | 5550 | 132 |
| 16 | 6383 | 132 |
| 17 | 6773 | 132 |
| 18 | 7057 | 132 |
| 19 | 7333 | 132 |
| 20 | 7409 | 132 |
| 21 | 7443 | 132 |
| 1× | node limit |
| 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) |
(*.f64 1/9 (pow.f64 x 2)) |
(*.f64 1/9 (pow.f64 x 2)) |
(*.f64 1/9 (pow.f64 x 2)) |
(*.f64 1/9 (pow.f64 x 2)) |
(*.f64 1/9 (pow.f64 x 2)) |
(*.f64 1/9 (pow.f64 x 2)) |
(*.f64 1/9 (pow.f64 x 2)) |
(*.f64 1/9 (pow.f64 x 2)) |
(*.f64 1/9 (pow.f64 x 2)) |
(*.f64 1/9 (pow.f64 x 2)) |
(*.f64 1/9 (pow.f64 x 2)) |
(*.f64 1/9 (pow.f64 x 2)) |
| 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 x -1/3) |
(*.f64 -1/3 x) |
(*.f64 x -1/3) |
(*.f64 -1/3 x) |
(*.f64 x -1/3) |
(*.f64 -1/3 x) |
(*.f64 x -1/3) |
(*.f64 1/9 (pow.f64 x 2)) |
(*.f64 1/9 (*.f64 x x)) |
(*.f64 x (*.f64 x 1/9)) |
(*.f64 1/9 (pow.f64 x 2)) |
(*.f64 1/9 (*.f64 x x)) |
(*.f64 x (*.f64 x 1/9)) |
(*.f64 1/9 (pow.f64 x 2)) |
(*.f64 1/9 (*.f64 x x)) |
(*.f64 x (*.f64 x 1/9)) |
(*.f64 1/9 (pow.f64 x 2)) |
(*.f64 1/9 (*.f64 x x)) |
(*.f64 x (*.f64 x 1/9)) |
(*.f64 1/9 (pow.f64 x 2)) |
(*.f64 1/9 (*.f64 x x)) |
(*.f64 x (*.f64 x 1/9)) |
(*.f64 1/9 (pow.f64 x 2)) |
(*.f64 1/9 (*.f64 x x)) |
(*.f64 x (*.f64 x 1/9)) |
(*.f64 1/9 (pow.f64 x 2)) |
(*.f64 1/9 (*.f64 x x)) |
(*.f64 x (*.f64 x 1/9)) |
(*.f64 1/9 (pow.f64 x 2)) |
(*.f64 1/9 (*.f64 x x)) |
(*.f64 x (*.f64 x 1/9)) |
(*.f64 1/9 (pow.f64 x 2)) |
(*.f64 1/9 (*.f64 x x)) |
(*.f64 x (*.f64 x 1/9)) |
(*.f64 1/9 (pow.f64 x 2)) |
(*.f64 1/9 (*.f64 x x)) |
(*.f64 x (*.f64 x 1/9)) |
(*.f64 1/9 (pow.f64 x 2)) |
(*.f64 1/9 (*.f64 x x)) |
(*.f64 x (*.f64 x 1/9)) |
(*.f64 1/9 (pow.f64 x 2)) |
(*.f64 1/9 (*.f64 x x)) |
(*.f64 x (*.f64 x 1/9)) |
Found 3 expressions with local error:
| New | Error | Program |
|---|---|---|
| 0.3b | (*.f64 1/3 x) | |
| ✓ | 0.6b | (cbrt.f64 (*.f64 1/3 x)) |
| ✓ | 0.8b | (pow.f64 (cbrt.f64 (*.f64 1/3 x)) 3) |
Compiled 17 to 13 computations (23.5% saved)
6 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 4.0ms | x | @ | 0 | (pow.f64 (cbrt.f64 (*.f64 1/3 x)) 3) |
| 3.0ms | x | @ | -inf | (pow.f64 (cbrt.f64 (*.f64 1/3 x)) 3) |
| 2.0ms | x | @ | inf | (pow.f64 (cbrt.f64 (*.f64 1/3 x)) 3) |
| 1.0ms | x | @ | 0 | (cbrt.f64 (*.f64 1/3 x)) |
| 1.0ms | x | @ | -inf | (cbrt.f64 (*.f64 1/3 x)) |
| 1× | batch-egg-rewrite |
| 515× | pow1_binary64 |
| 508× | add-sqr-sqrt_binary64 |
| 487× | add-log-exp_binary64 |
| 487× | log1p-expm1-u_binary64 |
| 487× | expm1-log1p-u_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 7 | 10 |
| 1 | 148 | 10 |
| 2 | 1376 | 10 |
| 1× | node limit |
| Inputs |
|---|
(pow.f64 (cbrt.f64 (*.f64 1/3 x)) 3) |
(cbrt.f64 (*.f64 1/3 x)) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (*.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 (pow.f64 (cbrt.f64 x) 2) (*.f64 (cbrt.f64 x) 1/3))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.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 (sqrt.f64 x) (*.f64 (sqrt.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 (*.f64 1/3 x)) (sqrt.f64 (*.f64 1/3 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (pow.f64 (cbrt.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) (pow.f64 (cbrt.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 (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 log1p.f64 (expm1.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 -.f64 (+.f64 1 (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 x) (cbrt.f64 1/3))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (cbrt.f64 (*.f64 1/3 x))) (pow.f64 (cbrt.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 (pow.f64 (cbrt.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 (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 expm1.f64 (log1p.f64 (cbrt.f64 (*.f64 1/3 x))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (cbrt.f64 (*.f64 1/3 x))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (cbrt.f64 (*.f64 1/3 x)))))))) |
| 1× | egg-herbie |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 0 | 0 |
| 1× | saturated |
| Inputs |
|---|
| Outputs |
|---|
Found 3 expressions with local error:
| New | Error | Program |
|---|---|---|
| ✓ | 0.1b | (*.f64 1/3 (pow.f64 x 3)) |
| 0.2b | (/.f64 (/.f64 1 x) (tan.f64 x)) | |
| ✓ | 39.2b | (*.f64 (*.f64 1/3 (pow.f64 x 3)) (/.f64 (/.f64 1 x) (tan.f64 x))) |
Compiled 36 to 24 computations (33.3% saved)
6 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 2.0ms | x | @ | inf | (*.f64 (*.f64 1/3 (pow.f64 x 3)) (/.f64 (/.f64 1 x) (tan.f64 x))) |
| 2.0ms | x | @ | -inf | (*.f64 (*.f64 1/3 (pow.f64 x 3)) (/.f64 (/.f64 1 x) (tan.f64 x))) |
| 1.0ms | x | @ | 0 | (*.f64 (*.f64 1/3 (pow.f64 x 3)) (/.f64 (/.f64 1 x) (tan.f64 x))) |
| 1.0ms | x | @ | -inf | (*.f64 1/3 (pow.f64 x 3)) |
| 1.0ms | x | @ | inf | (*.f64 1/3 (pow.f64 x 3)) |
| 1× | batch-egg-rewrite |
| 554× | log-prod_binary64 |
| 413× | exp-prod_binary64 |
| 357× | pow-prod-down_binary64 |
| 282× | pow2_binary64 |
| 209× | pow-unpow_binary64 |
Useful iterations: 2 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 11 | 25 |
| 1 | 242 | 22 |
| 2 | 2963 | 19 |
| 1× | node limit |
| Inputs |
|---|
(*.f64 (*.f64 1/3 (pow.f64 x 3)) (/.f64 (/.f64 1 x) (tan.f64 x))) |
(*.f64 1/3 (pow.f64 x 3)) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x +.f64 0 (*.f64 1/3 (/.f64 (*.f64 x x) (tan.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (pow.f64 (cbrt.f64 (pow.f64 (exp.f64 1/3) (/.f64 (*.f64 x x) (tan.f64 x)))) 2)) (log.f64 (cbrt.f64 (pow.f64 (exp.f64 1/3) (/.f64 (*.f64 x x) (tan.f64 x))))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (sqrt.f64 (pow.f64 (exp.f64 1/3) (/.f64 (*.f64 x x) (tan.f64 x))))) (log.f64 (sqrt.f64 (pow.f64 (exp.f64 1/3) (/.f64 (*.f64 x x) (tan.f64 x))))))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (*.f64 1/3 (/.f64 (*.f64 x x) (tan.f64 x))))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 1/3 (pow.f64 x 3)) (*.f64 x (tan.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (tan.f64 x) (*.f64 1/3 (*.f64 x x))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 1/3 (*.f64 x x)) (tan.f64 x))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (*.f64 1/3 (*.f64 x x))) (neg.f64 (tan.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (/.f64 (*.f64 1/3 (*.f64 x x)) 1) (tan.f64 x))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (/.f64 (*.f64 1/3 (*.f64 x x)) (cbrt.f64 (pow.f64 (tan.f64 x) 2))) (cbrt.f64 (tan.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (/.f64 (*.f64 1/3 (*.f64 x x)) (sqrt.f64 (tan.f64 x))) (sqrt.f64 (tan.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (/.f64 -1 x) (*.f64 1/3 (pow.f64 x 3))) (neg.f64 (tan.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (*.f64 1/3 (pow.f64 x 3)) (/.f64 -1 x)) (neg.f64 (tan.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 1/3 (/.f64 (*.f64 x x) (tan.f64 x))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (E.f64) (log.f64 (*.f64 1/3 (/.f64 (*.f64 x x) (tan.f64 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 1/9 (pow.f64 (/.f64 (*.f64 x x) (tan.f64 x)) 2)) 1/2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 1/3 (/.f64 (*.f64 x x) (tan.f64 x))) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (*.f64 1/3 (/.f64 (*.f64 x x) (tan.f64 x)))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (*.f64 1/3 (/.f64 (*.f64 x x) (tan.f64 x)))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 (tan.f64 x) (*.f64 1/3 (*.f64 x x))) -1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 (pow.f64 (cbrt.f64 (log.f64 (*.f64 1/3 (/.f64 (*.f64 x x) (tan.f64 x))))) 2)) (cbrt.f64 (log.f64 (*.f64 1/3 (/.f64 (*.f64 x x) (tan.f64 x))))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 (sqrt.f64 (log.f64 (*.f64 1/3 (/.f64 (*.f64 x x) (tan.f64 x)))))) (sqrt.f64 (log.f64 (*.f64 1/3 (/.f64 (*.f64 x x) (tan.f64 x))))))))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (*.f64 1/9 (pow.f64 (/.f64 (*.f64 x x) (tan.f64 x)) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (pow.f64 (exp.f64 1/3) (/.f64 (*.f64 x x) (tan.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (*.f64 1/3 (/.f64 (*.f64 x x) (tan.f64 x))))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (*.f64 1/3 (/.f64 (*.f64 x x) (tan.f64 x))) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 1/3 (/.f64 (*.f64 x x) (tan.f64 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 1/3 (/.f64 (*.f64 x x) (tan.f64 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (*.f64 1/3 (/.f64 (*.f64 x x) (tan.f64 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (*.f64 1/3 (/.f64 (*.f64 x x) (tan.f64 x)))) 1))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (pow.f64 (*.f64 1/3 (/.f64 (*.f64 x x) (tan.f64 x))) 3)) 1/3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (cbrt.f64 (*.f64 1/3 (/.f64 (*.f64 x x) (tan.f64 x))))) 3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (sqrt.f64 (*.f64 1/3 (/.f64 (*.f64 x x) (tan.f64 x))))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 (log.f64 (*.f64 1/3 (/.f64 (*.f64 x x) (tan.f64 x)))) 1) 1)))))) |
((#(struct:change #<rule egg-rr> (2) ((x +.f64 0 (*.f64 1/3 (pow.f64 x 3)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (pow.f64 (cbrt.f64 (cbrt.f64 (exp.f64 (pow.f64 x 3)))) 2)) (log.f64 (cbrt.f64 (cbrt.f64 (exp.f64 (pow.f64 x 3))))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (sqrt.f64 (cbrt.f64 (exp.f64 (pow.f64 x 3))))) (log.f64 (sqrt.f64 (cbrt.f64 (exp.f64 (pow.f64 x 3))))))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (*.f64 1/3 (pow.f64 x 3)))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 1/3 (pow.f64 x 3)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (E.f64) (fma.f64 3 (log.f64 x) (log1p.f64 -2/3)))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 (pow.f64 x 6) 1/9) 1/2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 x (cbrt.f64 1/3)) 9) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 x (cbrt.f64 1/3)) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 (sqrt.f64 1/3) (pow.f64 x 3/2)) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 (pow.f64 (cbrt.f64 (fma.f64 3 (log.f64 x) (log1p.f64 -2/3))) 2)) (cbrt.f64 (fma.f64 3 (log.f64 x) (log1p.f64 -2/3))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 (sqrt.f64 (fma.f64 3 (log.f64 x) (log1p.f64 -2/3)))) (sqrt.f64 (fma.f64 3 (log.f64 x) (log1p.f64 -2/3))))))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (*.f64 (pow.f64 x 6) 1/9))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (cbrt.f64 (exp.f64 (pow.f64 x 3))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (*.f64 1/3 (pow.f64 x 3)))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (*.f64 x (cbrt.f64 1/3)) 9))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 1/3 (pow.f64 x 3))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 1/3 (pow.f64 x 3))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (fma.f64 3 (log.f64 x) (log1p.f64 -2/3)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (fma.f64 3 (log.f64 x) (log1p.f64 -2/3)) 1))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (pow.f64 (*.f64 x (cbrt.f64 1/3)) 9)) 1/3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (*.f64 x (cbrt.f64 1/3))) 3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (*.f64 (sqrt.f64 1/3) (pow.f64 x 3/2))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 (fma.f64 3 (log.f64 x) (log1p.f64 -2/3)) 1) 1)))))) |
| 1× | egg-herbie |
| 613× | associate-*r/_binary64 |
| 587× | associate-/r/_binary64 |
| 566× | associate-/l/_binary64 |
| 439× | unswap-sqr_binary64 |
| 424× | fma-def_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 29 | 194 |
| 1 | 75 | 194 |
| 2 | 175 | 194 |
| 3 | 472 | 194 |
| 4 | 1219 | 194 |
| 5 | 2309 | 194 |
| 6 | 5413 | 194 |
| 7 | 5965 | 194 |
| 8 | 6532 | 194 |
| 9 | 6984 | 194 |
| 10 | 7418 | 194 |
| 1× | node limit |
| Inputs |
|---|
(*.f64 1/3 x) |
(+.f64 (*.f64 -1/9 (pow.f64 x 3)) (*.f64 1/3 x)) |
(+.f64 (*.f64 -1/9 (pow.f64 x 3)) (+.f64 (*.f64 -1/135 (pow.f64 x 5)) (*.f64 1/3 x))) |
(+.f64 (*.f64 -1/9 (pow.f64 x 3)) (+.f64 (*.f64 -1/135 (pow.f64 x 5)) (+.f64 (*.f64 1/3 x) (*.f64 -2/2835 (pow.f64 x 7))))) |
(*.f64 1/3 (/.f64 (*.f64 (cos.f64 x) (pow.f64 x 2)) (sin.f64 x))) |
(*.f64 1/3 (/.f64 (*.f64 (cos.f64 x) (pow.f64 x 2)) (sin.f64 x))) |
(*.f64 1/3 (/.f64 (*.f64 (cos.f64 x) (pow.f64 x 2)) (sin.f64 x))) |
(*.f64 1/3 (/.f64 (*.f64 (cos.f64 x) (pow.f64 x 2)) (sin.f64 x))) |
(*.f64 1/3 (/.f64 (*.f64 (cos.f64 x) (pow.f64 x 2)) (sin.f64 x))) |
(*.f64 1/3 (/.f64 (*.f64 (cos.f64 x) (pow.f64 x 2)) (sin.f64 x))) |
(*.f64 1/3 (/.f64 (*.f64 (cos.f64 x) (pow.f64 x 2)) (sin.f64 x))) |
(*.f64 1/3 (/.f64 (*.f64 (cos.f64 x) (pow.f64 x 2)) (sin.f64 x))) |
| Outputs |
|---|
(*.f64 1/3 x) |
(+.f64 (*.f64 -1/9 (pow.f64 x 3)) (*.f64 1/3 x)) |
(fma.f64 -1/9 (pow.f64 x 3) (*.f64 1/3 x)) |
(fma.f64 1/3 x (*.f64 -1/9 (pow.f64 x 3))) |
(+.f64 (*.f64 -1/9 (pow.f64 x 3)) (+.f64 (*.f64 -1/135 (pow.f64 x 5)) (*.f64 1/3 x))) |
(fma.f64 -1/9 (pow.f64 x 3) (fma.f64 -1/135 (pow.f64 x 5) (*.f64 1/3 x))) |
(fma.f64 -1/9 (pow.f64 x 3) (fma.f64 1/3 x (*.f64 -1/135 (pow.f64 x 5)))) |
(fma.f64 1/3 x (fma.f64 -1/9 (pow.f64 x 3) (*.f64 -1/135 (pow.f64 x 5)))) |
(fma.f64 x (fma.f64 -1/9 (*.f64 x x) 1/3) (*.f64 -1/135 (pow.f64 x 5))) |
(fma.f64 1/3 x (fma.f64 -1/135 (pow.f64 x 5) (*.f64 -1/9 (pow.f64 x 3)))) |
(fma.f64 x (fma.f64 x (*.f64 x -1/9) 1/3) (*.f64 -1/135 (pow.f64 x 5))) |
(+.f64 (*.f64 -1/9 (pow.f64 x 3)) (+.f64 (*.f64 -1/135 (pow.f64 x 5)) (+.f64 (*.f64 1/3 x) (*.f64 -2/2835 (pow.f64 x 7))))) |
(fma.f64 -1/9 (pow.f64 x 3) (fma.f64 -1/135 (pow.f64 x 5) (fma.f64 1/3 x (*.f64 -2/2835 (pow.f64 x 7))))) |
(fma.f64 -1/9 (pow.f64 x 3) (fma.f64 -1/135 (pow.f64 x 5) (fma.f64 -2/2835 (pow.f64 x 7) (*.f64 1/3 x)))) |
(fma.f64 1/3 x (fma.f64 -1/9 (pow.f64 x 3) (fma.f64 -1/135 (pow.f64 x 5) (*.f64 -2/2835 (pow.f64 x 7))))) |
(*.f64 1/3 (/.f64 (*.f64 (cos.f64 x) (pow.f64 x 2)) (sin.f64 x))) |
(*.f64 1/3 (/.f64 (cos.f64 x) (/.f64 (sin.f64 x) (*.f64 x x)))) |
(*.f64 1/3 (*.f64 (/.f64 (cos.f64 x) (sin.f64 x)) (*.f64 x x))) |
(*.f64 (/.f64 (cos.f64 x) (sin.f64 x)) (*.f64 1/3 (*.f64 x x))) |
(*.f64 1/3 (*.f64 (*.f64 x x) (/.f64 (cos.f64 x) (sin.f64 x)))) |
(*.f64 1/3 (*.f64 (cos.f64 x) (/.f64 x (/.f64 (sin.f64 x) x)))) |
(*.f64 1/3 (*.f64 x (*.f64 (cos.f64 x) (/.f64 x (sin.f64 x))))) |
(*.f64 1/3 (/.f64 (*.f64 (cos.f64 x) (pow.f64 x 2)) (sin.f64 x))) |
(*.f64 1/3 (/.f64 (cos.f64 x) (/.f64 (sin.f64 x) (*.f64 x x)))) |
(*.f64 1/3 (*.f64 (/.f64 (cos.f64 x) (sin.f64 x)) (*.f64 x x))) |
(*.f64 (/.f64 (cos.f64 x) (sin.f64 x)) (*.f64 1/3 (*.f64 x x))) |
(*.f64 1/3 (*.f64 (*.f64 x x) (/.f64 (cos.f64 x) (sin.f64 x)))) |
(*.f64 1/3 (*.f64 (cos.f64 x) (/.f64 x (/.f64 (sin.f64 x) x)))) |
(*.f64 1/3 (*.f64 x (*.f64 (cos.f64 x) (/.f64 x (sin.f64 x))))) |
(*.f64 1/3 (/.f64 (*.f64 (cos.f64 x) (pow.f64 x 2)) (sin.f64 x))) |
(*.f64 1/3 (/.f64 (cos.f64 x) (/.f64 (sin.f64 x) (*.f64 x x)))) |
(*.f64 1/3 (*.f64 (/.f64 (cos.f64 x) (sin.f64 x)) (*.f64 x x))) |
(*.f64 (/.f64 (cos.f64 x) (sin.f64 x)) (*.f64 1/3 (*.f64 x x))) |
(*.f64 1/3 (*.f64 (*.f64 x x) (/.f64 (cos.f64 x) (sin.f64 x)))) |
(*.f64 1/3 (*.f64 (cos.f64 x) (/.f64 x (/.f64 (sin.f64 x) x)))) |
(*.f64 1/3 (*.f64 x (*.f64 (cos.f64 x) (/.f64 x (sin.f64 x))))) |
(*.f64 1/3 (/.f64 (*.f64 (cos.f64 x) (pow.f64 x 2)) (sin.f64 x))) |
(*.f64 1/3 (/.f64 (cos.f64 x) (/.f64 (sin.f64 x) (*.f64 x x)))) |
(*.f64 1/3 (*.f64 (/.f64 (cos.f64 x) (sin.f64 x)) (*.f64 x x))) |
(*.f64 (/.f64 (cos.f64 x) (sin.f64 x)) (*.f64 1/3 (*.f64 x x))) |
(*.f64 1/3 (*.f64 (*.f64 x x) (/.f64 (cos.f64 x) (sin.f64 x)))) |
(*.f64 1/3 (*.f64 (cos.f64 x) (/.f64 x (/.f64 (sin.f64 x) x)))) |
(*.f64 1/3 (*.f64 x (*.f64 (cos.f64 x) (/.f64 x (sin.f64 x))))) |
(*.f64 1/3 (/.f64 (*.f64 (cos.f64 x) (pow.f64 x 2)) (sin.f64 x))) |
(*.f64 1/3 (/.f64 (cos.f64 x) (/.f64 (sin.f64 x) (*.f64 x x)))) |
(*.f64 1/3 (*.f64 (/.f64 (cos.f64 x) (sin.f64 x)) (*.f64 x x))) |
(*.f64 (/.f64 (cos.f64 x) (sin.f64 x)) (*.f64 1/3 (*.f64 x x))) |
(*.f64 1/3 (*.f64 (*.f64 x x) (/.f64 (cos.f64 x) (sin.f64 x)))) |
(*.f64 1/3 (*.f64 (cos.f64 x) (/.f64 x (/.f64 (sin.f64 x) x)))) |
(*.f64 1/3 (*.f64 x (*.f64 (cos.f64 x) (/.f64 x (sin.f64 x))))) |
(*.f64 1/3 (/.f64 (*.f64 (cos.f64 x) (pow.f64 x 2)) (sin.f64 x))) |
(*.f64 1/3 (/.f64 (cos.f64 x) (/.f64 (sin.f64 x) (*.f64 x x)))) |
(*.f64 1/3 (*.f64 (/.f64 (cos.f64 x) (sin.f64 x)) (*.f64 x x))) |
(*.f64 (/.f64 (cos.f64 x) (sin.f64 x)) (*.f64 1/3 (*.f64 x x))) |
(*.f64 1/3 (*.f64 (*.f64 x x) (/.f64 (cos.f64 x) (sin.f64 x)))) |
(*.f64 1/3 (*.f64 (cos.f64 x) (/.f64 x (/.f64 (sin.f64 x) x)))) |
(*.f64 1/3 (*.f64 x (*.f64 (cos.f64 x) (/.f64 x (sin.f64 x))))) |
(*.f64 1/3 (/.f64 (*.f64 (cos.f64 x) (pow.f64 x 2)) (sin.f64 x))) |
(*.f64 1/3 (/.f64 (cos.f64 x) (/.f64 (sin.f64 x) (*.f64 x x)))) |
(*.f64 1/3 (*.f64 (/.f64 (cos.f64 x) (sin.f64 x)) (*.f64 x x))) |
(*.f64 (/.f64 (cos.f64 x) (sin.f64 x)) (*.f64 1/3 (*.f64 x x))) |
(*.f64 1/3 (*.f64 (*.f64 x x) (/.f64 (cos.f64 x) (sin.f64 x)))) |
(*.f64 1/3 (*.f64 (cos.f64 x) (/.f64 x (/.f64 (sin.f64 x) x)))) |
(*.f64 1/3 (*.f64 x (*.f64 (cos.f64 x) (/.f64 x (sin.f64 x))))) |
(*.f64 1/3 (/.f64 (*.f64 (cos.f64 x) (pow.f64 x 2)) (sin.f64 x))) |
(*.f64 1/3 (/.f64 (cos.f64 x) (/.f64 (sin.f64 x) (*.f64 x x)))) |
(*.f64 1/3 (*.f64 (/.f64 (cos.f64 x) (sin.f64 x)) (*.f64 x x))) |
(*.f64 (/.f64 (cos.f64 x) (sin.f64 x)) (*.f64 1/3 (*.f64 x x))) |
(*.f64 1/3 (*.f64 (*.f64 x x) (/.f64 (cos.f64 x) (sin.f64 x)))) |
(*.f64 1/3 (*.f64 (cos.f64 x) (/.f64 x (/.f64 (sin.f64 x) x)))) |
(*.f64 1/3 (*.f64 x (*.f64 (cos.f64 x) (/.f64 x (sin.f64 x))))) |
Found 4 expressions with local error:
| New | Error | Program |
|---|---|---|
| 0.3b | (*.f64 1/3 x) | |
| ✓ | 0.3b | (fma.f64 (cbrt.f64 (pow.f64 (*.f64 1/3 x) 2)) (cbrt.f64 (*.f64 1/3 x)) (*.f64 1/45 (pow.f64 x 3))) |
| 0.6b | (cbrt.f64 (*.f64 1/3 x)) | |
| ✓ | 27.6b | (cbrt.f64 (pow.f64 (*.f64 1/3 x) 2)) |
Compiled 48 to 38 computations (20.8% saved)
6 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 2.0ms | x | @ | 0 | (cbrt.f64 (pow.f64 (*.f64 1/3 x) 2)) |
| 2.0ms | x | @ | -inf | (fma.f64 (cbrt.f64 (pow.f64 (*.f64 1/3 x) 2)) (cbrt.f64 (*.f64 1/3 x)) (*.f64 1/45 (pow.f64 x 3))) |
| 1.0ms | x | @ | 0 | (fma.f64 (cbrt.f64 (pow.f64 (*.f64 1/3 x) 2)) (cbrt.f64 (*.f64 1/3 x)) (*.f64 1/45 (pow.f64 x 3))) |
| 1.0ms | x | @ | inf | (fma.f64 (cbrt.f64 (pow.f64 (*.f64 1/3 x) 2)) (cbrt.f64 (*.f64 1/3 x)) (*.f64 1/45 (pow.f64 x 3))) |
| 1.0ms | x | @ | inf | (cbrt.f64 (pow.f64 (*.f64 1/3 x) 2)) |
| 1× | batch-egg-rewrite |
| 484× | log-prod_binary64 |
| 429× | prod-diff_binary64 |
| 368× | exp-prod_binary64 |
| 300× | pow-prod-down_binary64 |
| 274× | pow2_binary64 |
Useful iterations: 2 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 13 | 33 |
| 1 | 272 | 22 |
| 2 | 2794 | 20 |
| 1× | node limit |
| Inputs |
|---|
(cbrt.f64 (pow.f64 (*.f64 1/3 x) 2)) |
(fma.f64 (cbrt.f64 (pow.f64 (*.f64 1/3 x) 2)) (cbrt.f64 (*.f64 1/3 x)) (*.f64 1/45 (pow.f64 x 3))) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x +.f64 0 (pow.f64 (cbrt.f64 (*.f64 1/3 x)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (pow.f64 (cbrt.f64 (exp.f64 (pow.f64 (cbrt.f64 (*.f64 1/3 x)) 2))) 2)) (log.f64 (cbrt.f64 (exp.f64 (pow.f64 (cbrt.f64 (*.f64 1/3 x)) 2)))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (sqrt.f64 (exp.f64 (pow.f64 (cbrt.f64 (*.f64 1/3 x)) 2)))) (log.f64 (sqrt.f64 (exp.f64 (pow.f64 (cbrt.f64 (*.f64 1/3 x)) 2)))))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (pow.f64 (cbrt.f64 (*.f64 1/3 x)) 2))) 1)))) (#(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 (cbrt.f64 (*.f64 1/3 x)) (cbrt.f64 (*.f64 1/3 x)))))) (#(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) (cbrt.f64 (*.f64 x x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (pow.f64 (cbrt.f64 (*.f64 1/3 x)) 2)) (pow.f64 (cbrt.f64 (cbrt.f64 (*.f64 1/3 x))) 4))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.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 (pow.f64 (cbrt.f64 (cbrt.f64 (*.f64 1/3 x))) 5) (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 pow.f64 (*.f64 1/3 x) 2/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 1/9 (*.f64 x x)) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (cbrt.f64 (*.f64 1/3 x)) 2) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (*.f64 1/3 x)) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 1/3) (*.f64 2 (log.f64 (*.f64 1/3 x))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 1/81 (pow.f64 x 4)) 1/6)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 1/3 x) 6) 1/9)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (cbrt.f64 (*.f64 1/3 x)) 4) 1/2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 1/3 x) 3) 2/9)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (cbrt.f64 (*.f64 1/3 x))) 6)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (pow.f64 (cbrt.f64 (*.f64 1/3 x)) 2)) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 1/3 x) 1/6) 4)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (*.f64 1/3 x)) 4/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 1) (*.f64 2/3 (log.f64 (*.f64 1/3 x))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 (pow.f64 (cbrt.f64 (*.f64 2/3 (log.f64 (*.f64 1/3 x)))) 2)) (cbrt.f64 (*.f64 2/3 (log.f64 (*.f64 1/3 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 (sqrt.f64 (*.f64 2/3 (log.f64 (*.f64 1/3 x))))) (sqrt.f64 (*.f64 2/3 (log.f64 (*.f64 1/3 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 log.f64 (+.f64 1 (expm1.f64 (pow.f64 (cbrt.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 log1p.f64 (expm1.f64 (pow.f64 (cbrt.f64 (*.f64 1/3 x)) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 2/3 (log.f64 (*.f64 1/3 x))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 2 (log.f64 (*.f64 1/3 x))) 1/3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 2/3 (log.f64 (*.f64 1/3 x))) 1))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (*.f64 1/3 x)) 2/3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (cbrt.f64 (*.f64 1/3 x))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 1/3 (*.f64 2/3 (log.f64 (*.f64 1/3 x)))) 3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 (log.f64 (*.f64 1/3 x)) 1) 2/3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 (*.f64 2 (log.f64 (*.f64 1/3 x))) 1) 1/3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 (*.f64 2 (log.f64 (*.f64 1/3 x))) 1/3) 1))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 (*.f64 2/3 (log.f64 (*.f64 1/3 x))) 1) 1))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 (log.f64 (*.f64 1/3 x)) 1/3) 2))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 (log.f64 (cbrt.f64 (*.f64 1/3 x))) 1) 2)))))) |
((#(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/45 (pow.f64 x 3) (*.f64 1/3 x)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (pow.f64 (cbrt.f64 (exp.f64 (fma.f64 1/45 (pow.f64 x 3) (*.f64 1/3 x)))) 2)) (log.f64 (cbrt.f64 (exp.f64 (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 1/45 (pow.f64 x 3) (*.f64 1/3 x))))) (log.f64 (sqrt.f64 (exp.f64 (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 1/45 (pow.f64 x 3) (*.f64 1/3 x)))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (fma.f64 1/45 (pow.f64 x 3) (*.f64 1/3 x)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (fma.f64 1/45 (pow.f64 x 3) (*.f64 1/3 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (fma.f64 1/45 (pow.f64 x 3) (*.f64 1/3 x))) (pow.f64 (cbrt.f64 (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 1/45 (pow.f64 x 3) (*.f64 1/3 x))) 2) (cbrt.f64 (fma.f64 1/45 (pow.f64 x 3) (*.f64 1/3 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (fma.f64 1/45 (pow.f64 x 3) (*.f64 1/3 x))) (sqrt.f64 (fma.f64 1/45 (pow.f64 x 3) (*.f64 1/3 x))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 (*.f64 1/3 x) 3) (pow.f64 (*.f64 x (cbrt.f64 1/45)) 9)) (fma.f64 1/9 (*.f64 x x) (-.f64 (*.f64 (pow.f64 x 6) 1/2025) (*.f64 (*.f64 1/3 x) (*.f64 1/45 (pow.f64 x 3))))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (*.f64 1/9 (*.f64 x x)) (*.f64 (pow.f64 x 6) 1/2025)) (-.f64 (*.f64 1/3 x) (*.f64 1/45 (pow.f64 x 3))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (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 1/45 (pow.f64 x 3) (*.f64 1/3 x)) 2) 1/2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (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 1/45 (pow.f64 x 3) (*.f64 1/3 x))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (fma.f64 1/45 (pow.f64 x 3) (*.f64 1/3 x))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 1) (log.f64 (fma.f64 1/45 (pow.f64 x 3) (*.f64 1/3 x))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 (pow.f64 (cbrt.f64 (log.f64 (fma.f64 1/45 (pow.f64 x 3) (*.f64 1/3 x)))) 2)) (cbrt.f64 (log.f64 (fma.f64 1/45 (pow.f64 x 3) (*.f64 1/3 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 (sqrt.f64 (log.f64 (fma.f64 1/45 (pow.f64 x 3) (*.f64 1/3 x))))) (sqrt.f64 (log.f64 (fma.f64 1/45 (pow.f64 x 3) (*.f64 1/3 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (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 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 1/45 (pow.f64 x 3) (*.f64 1/3 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (+.f64 1 (expm1.f64 (*.f64 1/3 x))) (pow.f64 (exp.f64 1/45) (pow.f64 x 3))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (cbrt.f64 (exp.f64 x)) (+.f64 1 (expm1.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))) (+.f64 1 (expm1.f64 (*.f64 1/45 (pow.f64 x 3))))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (+.f64 1 (expm1.f64 (*.f64 1/45 (pow.f64 x 3)))) (cbrt.f64 (exp.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (pow.f64 (exp.f64 1/45) (pow.f64 x 3)) (+.f64 1 (expm1.f64 (*.f64 1/3 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (+.f64 1 (expm1.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/45 (pow.f64 x 3) (*.f64 1/3 x)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (fma.f64 1/45 (pow.f64 x 3) (*.f64 1/3 x))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (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 1/45 (pow.f64 x 3) (*.f64 1/3 x))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (fma.f64 1/45 (pow.f64 x 3) (*.f64 1/3 x))) 1))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 3 (log.f64 (fma.f64 1/45 (pow.f64 x 3) (*.f64 1/3 x)))) 1/3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (cbrt.f64 (fma.f64 1/45 (pow.f64 x 3) (*.f64 1/3 x)))) 3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (sqrt.f64 (fma.f64 1/45 (pow.f64 x 3) (*.f64 1/3 x)))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 (log.f64 (fma.f64 1/45 (pow.f64 x 3) (*.f64 1/3 x))) 1) 1)))))) |
| 1× | egg-herbie |
| 1274× | sqr-pow_binary64 |
| 666× | pow-sqr_binary64 |
| 529× | cube-prod_binary64 |
| 471× | fabs-mul_binary64 |
| 438× | associate-*l*_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 6 | 21 |
| 1 | 15 | 21 |
| 2 | 32 | 21 |
| 3 | 56 | 21 |
| 4 | 114 | 21 |
| 5 | 326 | 21 |
| 6 | 1180 | 21 |
| 7 | 1869 | 21 |
| 8 | 1956 | 21 |
| 9 | 2089 | 21 |
| 10 | 2247 | 21 |
| 11 | 2486 | 21 |
| 12 | 2808 | 21 |
| 13 | 3231 | 21 |
| 14 | 3733 | 21 |
| 15 | 4335 | 21 |
| 16 | 5057 | 21 |
| 17 | 5378 | 21 |
| 18 | 5664 | 21 |
| 19 | 5886 | 21 |
| 20 | 6064 | 21 |
| 21 | 6144 | 21 |
| 22 | 7084 | 21 |
| 1× | node limit |
| Inputs |
|---|
(*.f64 1/45 (pow.f64 x 3)) |
(*.f64 1/45 (pow.f64 x 3)) |
(*.f64 1/45 (pow.f64 x 3)) |
| Outputs |
|---|
(*.f64 1/45 (pow.f64 x 3)) |
(*.f64 1/45 (pow.f64 x 3)) |
(*.f64 1/45 (pow.f64 x 3)) |
Compiled 8186 to 6337 computations (22.6% saved)
30 alts after pruning (21 fresh and 9 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 495 | 18 | 513 |
| Fresh | 6 | 3 | 9 |
| Picked | 1 | 0 | 1 |
| Done | 1 | 9 | 10 |
| Total | 503 | 30 | 533 |
| Status | Error | Program |
|---|---|---|
| ▶ | 27.0b | (/.f64 (-.f64 (*.f64 1/9 (*.f64 x x)) (*.f64 (pow.f64 x 6) 1/2025)) (-.f64 (*.f64 1/3 x) (*.f64 1/45 (pow.f64 x 3)))) |
| ▶ | 0.5b | (*.f64 x (fma.f64 x (*.f64 x 1/45) 1/3)) |
| 40.4b | (/.f64 (*.f64 1/3 (pow.f64 x 3)) (*.f64 x (tan.f64 x))) | |
| 33.7b | (*.f64 (*.f64 1/3 (sqrt.f64 x)) (sqrt.f64 x)) | |
| 40.4b | (*.f64 (*.f64 1/3 (pow.f64 x 3)) (/.f64 1 (*.f64 x x))) | |
| 59.5b | (/.f64 (/.f64 (-.f64 (tan.f64 x) x) x) (tan.f64 x)) | |
| ✓ | 0.5b | (+.f64 (*.f64 1/3 x) (*.f64 1/45 (pow.f64 x 3))) |
| 2.5b | (pow.f64 (*.f64 (cbrt.f64 x) (cbrt.f64 1/3)) 3) | |
| ✓ | 1.0b | (*.f64 1/3 x) |
| 2.3b | (fma.f64 (*.f64 (pow.f64 (cbrt.f64 (cbrt.f64 (*.f64 1/3 x))) 4) (cbrt.f64 (pow.f64 (cbrt.f64 (*.f64 1/3 x)) 2))) (cbrt.f64 (*.f64 1/3 x)) (*.f64 1/45 (pow.f64 x 3))) | |
| ✓ | 59.5b | (log.f64 (exp.f64 (-.f64 (/.f64 1 x) (/.f64 1 (tan.f64 x))))) |
| 2.6b | (pow.f64 (cbrt.f64 (pow.f64 (cbrt.f64 (*.f64 1/3 x)) 3)) 3) | |
| 39.9b | (*.f64 (+.f64 (*.f64 1/3 (pow.f64 x 3)) (*.f64 2/15 (pow.f64 x 5))) (/.f64 (/.f64 1 x) (tan.f64 x))) | |
| ▶ | 33.6b | (pow.f64 (sqrt.f64 (*.f64 x 1/3)) 2) |
| 27.3b | (fma.f64 (*.f64 (cbrt.f64 1/9) (cbrt.f64 (*.f64 x x))) (cbrt.f64 (*.f64 1/3 x)) (*.f64 1/45 (pow.f64 x 3))) | |
| ✓ | 59.5b | (-.f64 (/.f64 1 x) (/.f64 1 (tan.f64 x))) |
| ▶ | 3.3b | (pow.f64 (pow.f64 (cbrt.f64 (cbrt.f64 (*.f64 1/3 x))) 3) 3) |
| ▶ | 59.0b | (-.f64 (+.f64 1 (*.f64 x 1/3)) 1) |
| ✓ | 2.2b | (pow.f64 (cbrt.f64 (*.f64 1/3 x)) 3) |
| 43.8b | (sqrt.f64 (*.f64 x (*.f64 x 1/9))) | |
| 40.5b | (*.f64 (*.f64 1/3 (pow.f64 x 3)) (*.f64 (/.f64 (cbrt.f64 (pow.f64 x -2)) 1) (/.f64 (cbrt.f64 (/.f64 1 x)) (tan.f64 x)))) | |
| 1.7b | (+.f64 (pow.f64 (cbrt.f64 (*.f64 1/3 x)) 3) (+.f64 (*.f64 2/945 (pow.f64 x 5)) (*.f64 1/45 (pow.f64 x 3)))) | |
| ✓ | 61.6b | (*.f64 (-.f64 (tan.f64 x) x) (/.f64 (/.f64 1 x) (tan.f64 x))) |
| 27.6b | (/.f64 (*.f64 1/3 (*.f64 x x)) (tan.f64 x)) | |
| ✓ | 0.4b | (+.f64 (*.f64 1/3 x) (+.f64 (*.f64 2/945 (pow.f64 x 5)) (*.f64 1/45 (pow.f64 x 3)))) |
| ✓ | 0.3b | (+.f64 (*.f64 1/3 x) (+.f64 (*.f64 2/945 (pow.f64 x 5)) (+.f64 (*.f64 1/45 (pow.f64 x 3)) (*.f64 1/4725 (pow.f64 x 7))))) |
| 27.6b | (/.f64 1 (/.f64 (tan.f64 x) (*.f64 1/3 (*.f64 x x)))) | |
| 33.6b | (*.f64 (sqrt.f64 x) (sqrt.f64 (*.f64 x 1/9))) | |
| ✓ | 43.8b | (sqrt.f64 (*.f64 (*.f64 x x) 1/9)) |
| 2.2b | (*.f64 (pow.f64 (cbrt.f64 x) 2) (*.f64 (cbrt.f64 x) 1/3)) |
Compiled 624 to 484 computations (22.4% saved)
Found 3 expressions with local error:
| New | Error | Program |
|---|---|---|
| ✓ | 0.0b | (fma.f64 x (*.f64 x 1/45) 1/3) |
| ✓ | 0.3b | (*.f64 x 1/45) |
| ✓ | 0.3b | (*.f64 x (fma.f64 x (*.f64 x 1/45) 1/3)) |
Compiled 21 to 14 computations (33.3% saved)
9 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 4.0ms | x | @ | 0 | (*.f64 x (fma.f64 x (*.f64 x 1/45) 1/3)) |
| 1.0ms | x | @ | -inf | (*.f64 x (fma.f64 x (*.f64 x 1/45) 1/3)) |
| 1.0ms | x | @ | inf | (*.f64 x (fma.f64 x (*.f64 x 1/45) 1/3)) |
| 0.0ms | x | @ | -inf | (*.f64 x 1/45) |
| 0.0ms | x | @ | 0 | (*.f64 x 1/45) |
| 1× | batch-egg-rewrite |
| 641× | pow1_binary64 |
| 595× | add-log-exp_binary64 |
| 595× | log1p-expm1-u_binary64 |
| 595× | expm1-log1p-u_binary64 |
| 584× | add-exp-log_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 7 | 23 |
| 1 | 142 | 23 |
| 2 | 1591 | 23 |
| 1× | node limit |
| Inputs |
|---|
(*.f64 x (fma.f64 x (*.f64 x 1/45) 1/3)) |
(*.f64 x 1/45) |
(fma.f64 x (*.f64 x 1/45) 1/3) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 (*.f64 x (*.f64 x 1/45)) x) (*.f64 1/3 x))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 x (*.f64 x (*.f64 x 1/45))) (*.f64 x 1/3))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (*.f64 x (fma.f64 x (*.f64 x 1/45) 1/3))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 x (fma.f64 x (*.f64 x 1/45) 1/3)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 x (fma.f64 x (*.f64 x 1/45) 1/3)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (*.f64 x (fma.f64 x (*.f64 x 1/45) 1/3))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (*.f64 x (fma.f64 x (*.f64 x 1/45) 1/3))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (*.f64 x (fma.f64 x (*.f64 x 1/45) 1/3)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (pow.f64 (exp.f64 (fma.f64 x (*.f64 x 1/45) 1/3)) x))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (*.f64 x (fma.f64 x (*.f64 x 1/45) 1/3)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 x (fma.f64 x (*.f64 x 1/45) 1/3))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 x (fma.f64 x (*.f64 x 1/45) 1/3))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (*.f64 x (fma.f64 x (*.f64 x 1/45) 1/3)))))))) |
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (*.f64 x 1/45)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 x 1/45) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 x 1/45) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (*.f64 x 1/45)) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (*.f64 x 1/45)) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (*.f64 1/2025 (*.f64 x x)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (*.f64 x 1/45)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (*.f64 x 1/45) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 x 1/45)))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 x 1/45)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (*.f64 x 1/45))))))) |
((#(struct:change #<rule egg-rr> (2) ((x +.f64 1/3 (*.f64 x (*.f64 x 1/45)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 x (*.f64 x 1/45)) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 (*.f64 x (*.f64 x 1/45)) 1) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (fma.f64 x (*.f64 x 1/45) 1/3)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (fma.f64 x (*.f64 x 1/45) 1/3) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (fma.f64 x (*.f64 x 1/45) 1/3))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (fma.f64 x (*.f64 x 1/45) 1/3)) (pow.f64 (cbrt.f64 (fma.f64 x (*.f64 x 1/45) 1/3)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (fma.f64 x (*.f64 x 1/45) 1/3)) 2) (cbrt.f64 (fma.f64 x (*.f64 x 1/45) 1/3)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (fma.f64 x (*.f64 x 1/45) 1/3)) (sqrt.f64 (fma.f64 x (*.f64 x 1/45) 1/3)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 (*.f64 x (*.f64 x 1/45)) 3) 1/27) (+.f64 (*.f64 (*.f64 x (*.f64 x 1/45)) (*.f64 x (*.f64 x 1/45))) (-.f64 1/9 (*.f64 (*.f64 x (*.f64 x 1/45)) 1/3))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (*.f64 (*.f64 x (*.f64 x 1/45)) (*.f64 x (*.f64 x 1/45))) 1/9) (-.f64 (*.f64 x (*.f64 x 1/45)) 1/3))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (fma.f64 x (*.f64 x 1/45) 1/3) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (fma.f64 x (*.f64 x 1/45) 1/3) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (fma.f64 x (*.f64 x 1/45) 1/3)) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (fma.f64 x (*.f64 x 1/45) 1/3)) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (fma.f64 x (*.f64 x 1/45) 1/3) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (fma.f64 x (*.f64 x 1/45) 1/3)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (fma.f64 x (*.f64 x 1/45) 1/3) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (fma.f64 x (*.f64 x 1/45) 1/3)))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (fma.f64 x (*.f64 x 1/45) 1/3)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (fma.f64 x (*.f64 x 1/45) 1/3))))))) |
| 1× | egg-herbie |
| 944× | sqr-pow_binary64 |
| 564× | cube-prod_binary64 |
| 536× | unswap-sqr_binary64 |
| 534× | fabs-mul_binary64 |
| 413× | associate-*l*_binary64 |
Useful iterations: 1 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 14 | 270 |
| 1 | 33 | 252 |
| 2 | 61 | 252 |
| 3 | 125 | 252 |
| 4 | 356 | 252 |
| 5 | 1396 | 252 |
| 6 | 2764 | 252 |
| 7 | 2950 | 252 |
| 8 | 3200 | 252 |
| 9 | 3487 | 252 |
| 10 | 3866 | 252 |
| 11 | 4377 | 252 |
| 12 | 4984 | 252 |
| 13 | 5694 | 252 |
| 14 | 6167 | 252 |
| 15 | 6488 | 252 |
| 16 | 6758 | 252 |
| 17 | 6926 | 252 |
| 18 | 7018 | 252 |
| 19 | 7695 | 252 |
| 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/45 x) |
(*.f64 1/45 x) |
(*.f64 1/45 x) |
(*.f64 1/45 x) |
(*.f64 1/45 x) |
(*.f64 1/45 x) |
(*.f64 1/45 x) |
(*.f64 1/45 x) |
(*.f64 1/45 x) |
(*.f64 1/45 x) |
(*.f64 1/45 x) |
(*.f64 1/45 x) |
1/3 |
(+.f64 1/3 (*.f64 1/45 (pow.f64 x 2))) |
(+.f64 1/3 (*.f64 1/45 (pow.f64 x 2))) |
(+.f64 1/3 (*.f64 1/45 (pow.f64 x 2))) |
(*.f64 1/45 (pow.f64 x 2)) |
(+.f64 1/3 (*.f64 1/45 (pow.f64 x 2))) |
(+.f64 1/3 (*.f64 1/45 (pow.f64 x 2))) |
(+.f64 1/3 (*.f64 1/45 (pow.f64 x 2))) |
(*.f64 1/45 (pow.f64 x 2)) |
(+.f64 1/3 (*.f64 1/45 (pow.f64 x 2))) |
(+.f64 1/3 (*.f64 1/45 (pow.f64 x 2))) |
(+.f64 1/3 (*.f64 1/45 (pow.f64 x 2))) |
| 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 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 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 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))) |
(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 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 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 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))) |
(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 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 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 1/45 x) |
(*.f64 x 1/45) |
(*.f64 1/45 x) |
(*.f64 x 1/45) |
(*.f64 1/45 x) |
(*.f64 x 1/45) |
(*.f64 1/45 x) |
(*.f64 x 1/45) |
(*.f64 1/45 x) |
(*.f64 x 1/45) |
(*.f64 1/45 x) |
(*.f64 x 1/45) |
(*.f64 1/45 x) |
(*.f64 x 1/45) |
(*.f64 1/45 x) |
(*.f64 x 1/45) |
(*.f64 1/45 x) |
(*.f64 x 1/45) |
(*.f64 1/45 x) |
(*.f64 x 1/45) |
(*.f64 1/45 x) |
(*.f64 x 1/45) |
(*.f64 1/45 x) |
(*.f64 x 1/45) |
1/3 |
(+.f64 1/3 (*.f64 1/45 (pow.f64 x 2))) |
(+.f64 1/3 (*.f64 1/45 (*.f64 x x))) |
(fma.f64 1/45 (*.f64 x x) 1/3) |
(fma.f64 x (*.f64 x 1/45) 1/3) |
(+.f64 1/3 (*.f64 1/45 (pow.f64 x 2))) |
(+.f64 1/3 (*.f64 1/45 (*.f64 x x))) |
(fma.f64 1/45 (*.f64 x x) 1/3) |
(fma.f64 x (*.f64 x 1/45) 1/3) |
(+.f64 1/3 (*.f64 1/45 (pow.f64 x 2))) |
(+.f64 1/3 (*.f64 1/45 (*.f64 x x))) |
(fma.f64 1/45 (*.f64 x x) 1/3) |
(fma.f64 x (*.f64 x 1/45) 1/3) |
(*.f64 1/45 (pow.f64 x 2)) |
(*.f64 1/45 (*.f64 x x)) |
(*.f64 x (*.f64 x 1/45)) |
(+.f64 1/3 (*.f64 1/45 (pow.f64 x 2))) |
(+.f64 1/3 (*.f64 1/45 (*.f64 x x))) |
(fma.f64 1/45 (*.f64 x x) 1/3) |
(fma.f64 x (*.f64 x 1/45) 1/3) |
(+.f64 1/3 (*.f64 1/45 (pow.f64 x 2))) |
(+.f64 1/3 (*.f64 1/45 (*.f64 x x))) |
(fma.f64 1/45 (*.f64 x x) 1/3) |
(fma.f64 x (*.f64 x 1/45) 1/3) |
(+.f64 1/3 (*.f64 1/45 (pow.f64 x 2))) |
(+.f64 1/3 (*.f64 1/45 (*.f64 x x))) |
(fma.f64 1/45 (*.f64 x x) 1/3) |
(fma.f64 x (*.f64 x 1/45) 1/3) |
(*.f64 1/45 (pow.f64 x 2)) |
(*.f64 1/45 (*.f64 x x)) |
(*.f64 x (*.f64 x 1/45)) |
(+.f64 1/3 (*.f64 1/45 (pow.f64 x 2))) |
(+.f64 1/3 (*.f64 1/45 (*.f64 x x))) |
(fma.f64 1/45 (*.f64 x x) 1/3) |
(fma.f64 x (*.f64 x 1/45) 1/3) |
(+.f64 1/3 (*.f64 1/45 (pow.f64 x 2))) |
(+.f64 1/3 (*.f64 1/45 (*.f64 x x))) |
(fma.f64 1/45 (*.f64 x x) 1/3) |
(fma.f64 x (*.f64 x 1/45) 1/3) |
(+.f64 1/3 (*.f64 1/45 (pow.f64 x 2))) |
(+.f64 1/3 (*.f64 1/45 (*.f64 x x))) |
(fma.f64 1/45 (*.f64 x x) 1/3) |
(fma.f64 x (*.f64 x 1/45) 1/3) |
Found 2 expressions with local error:
| New | Error | Program |
|---|---|---|
| ✓ | 0.3b | (*.f64 x 1/3) |
| ✓ | 7.2b | (-.f64 (+.f64 1 (*.f64 x 1/3)) 1) |
Compiled 19 to 15 computations (21.1% saved)
6 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 0.0ms | x | @ | inf | (-.f64 (+.f64 1 (*.f64 x 1/3)) 1) |
| 0.0ms | x | @ | 0 | (-.f64 (+.f64 1 (*.f64 x 1/3)) 1) |
| 0.0ms | x | @ | -inf | (-.f64 (+.f64 1 (*.f64 x 1/3)) 1) |
| 0.0ms | x | @ | 0 | (*.f64 x 1/3) |
| 0.0ms | x | @ | inf | (*.f64 x 1/3) |
| 1× | batch-egg-rewrite |
| 726× | pow1_binary64 |
| 683× | add-log-exp_binary64 |
| 683× | log1p-expm1-u_binary64 |
| 683× | expm1-log1p-u_binary64 |
| 673× | add-exp-log_binary64 |
Useful iterations: 1 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 7 | 20 |
| 1 | 156 | 8 |
| 2 | 2108 | 8 |
| 1× | node limit |
| Inputs |
|---|
(-.f64 (+.f64 1 (*.f64 x 1/3)) 1) |
(*.f64 x 1/3) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x +.f64 1 (fma.f64 x 1/3 -1))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 1 (*.f64 (fma.f64 x 1/3 -1) 1))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 x 1/3) 0)))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (fma.f64 x 1/3 1) -1)))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 -1 (fma.f64 x 1/3 1))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (fma.f64 x 1/3 -1) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (*.f64 x 1/3))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 x 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1/3 x)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 x 1/3) 1)))) (#(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 (cbrt.f64 (*.f64 x 1/3)) (pow.f64 (cbrt.f64 (*.f64 x 1/3)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (*.f64 x 1/3)) 2) (cbrt.f64 (*.f64 x 1/3)))))) (#(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 x 1/3)) (sqrt.f64 (*.f64 x 1/3)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 (pow.f64 (fma.f64 x 1/3 1) 3) -1) (/.f64 1 (+.f64 (pow.f64 (fma.f64 x 1/3 1) 2) (+.f64 (*.f64 x 1/3) 2))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 (pow.f64 (fma.f64 x 1/3 1) 2) -1) (/.f64 1 (+.f64 (*.f64 x 1/3) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 (sqrt.f64 (fma.f64 x 1/3 1)) 1) (-.f64 (sqrt.f64 (fma.f64 x 1/3 1)) 1))))) (#(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 1 (/.f64 (+.f64 (pow.f64 (fma.f64 x 1/3 1) 2) (+.f64 (*.f64 x 1/3) 2)) (+.f64 (pow.f64 (fma.f64 x 1/3 1) 3) -1)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (+.f64 (*.f64 x 1/3) 2) (+.f64 (pow.f64 (fma.f64 x 1/3 1) 2) -1)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 (fma.f64 x 1/3 1) 3) -1) (+.f64 (pow.f64 (fma.f64 x 1/3 1) 2) (+.f64 (*.f64 x 1/3) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 (fma.f64 x 1/3 1) 3) -1) (+.f64 (pow.f64 (fma.f64 x 1/3 1) 2) (-.f64 1 (*.f64 (fma.f64 x 1/3 1) -1))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 (fma.f64 x 1/3 1) 2) -1) (+.f64 (*.f64 x 1/3) 2))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 (fma.f64 x 1/3 1) 2) -1) (-.f64 (fma.f64 x 1/3 1) -1))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (+.f64 (pow.f64 (fma.f64 x 1/3 1) 3) -1)) (neg.f64 (+.f64 (pow.f64 (fma.f64 x 1/3 1) 2) (+.f64 (*.f64 x 1/3) 2))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (+.f64 (pow.f64 (fma.f64 x 1/3 1) 2) -1)) (neg.f64 (+.f64 (*.f64 x 1/3) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 1 (pow.f64 (fma.f64 x 1/3 -1) 3)) (+.f64 1 (-.f64 (*.f64 (fma.f64 x 1/3 -1) (fma.f64 x 1/3 -1)) (fma.f64 x 1/3 -1))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 1 (*.f64 (fma.f64 x 1/3 -1) (fma.f64 x 1/3 -1))) (-.f64 1 (fma.f64 x 1/3 -1)))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 x 1/3) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (*.f64 x 1/3)) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (*.f64 x 1/3)) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 (pow.f64 x 3) 1/27) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (*.f64 x 1/3) 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 (*.f64 (pow.f64 x 3) 1/27))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 x 1/3)))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 x 1/3)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (*.f64 x 1/3)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (fma.f64 x 1/3 1) -1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 (fma.f64 x 1/3 1)) 2) (cbrt.f64 (fma.f64 x 1/3 1)) -1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 (fma.f64 x 1/3 1)) (sqrt.f64 (fma.f64 x 1/3 1)) -1))))) |
((#(struct:change #<rule egg-rr> (2) ((x +.f64 1 (fma.f64 x 1/3 -1))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 1 (*.f64 (fma.f64 x 1/3 -1) 1))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 x 1/3) 0)))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (fma.f64 x 1/3 1) -1)))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 -1 (fma.f64 x 1/3 1))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (fma.f64 x 1/3 -1) 1)))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (fma.f64 x 1/3 1) 1)))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (/.f64 (pow.f64 (fma.f64 x 1/3 1) 3) (+.f64 (pow.f64 (fma.f64 x 1/3 1) 2) (+.f64 (*.f64 x 1/3) 2))) (/.f64 1 (+.f64 (pow.f64 (fma.f64 x 1/3 1) 2) (+.f64 (*.f64 x 1/3) 2))))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (/.f64 (pow.f64 (fma.f64 x 1/3 1) 2) (+.f64 (*.f64 x 1/3) 2)) (/.f64 1 (+.f64 (*.f64 x 1/3) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (+.f64 (pow.f64 (fma.f64 x 1/3 1) 2) (+.f64 (*.f64 x 1/3) 2)) (+.f64 (pow.f64 (fma.f64 x 1/3 1) 3) -1)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (+.f64 (*.f64 x 1/3) 2) (+.f64 (pow.f64 (fma.f64 x 1/3 1) 2) -1)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 (fma.f64 x 1/3 1) 3) -1) (+.f64 (pow.f64 (fma.f64 x 1/3 1) 2) (+.f64 (*.f64 x 1/3) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 (fma.f64 x 1/3 1) 3) -1) (+.f64 (pow.f64 (fma.f64 x 1/3 1) 2) (-.f64 1 (*.f64 (fma.f64 x 1/3 1) -1))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 (fma.f64 x 1/3 1) 2) -1) (+.f64 (*.f64 x 1/3) 2))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 (fma.f64 x 1/3 1) 2) -1) (-.f64 (fma.f64 x 1/3 1) -1))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (+.f64 (pow.f64 (fma.f64 x 1/3 1) 3) -1)) (neg.f64 (+.f64 (pow.f64 (fma.f64 x 1/3 1) 2) (+.f64 (*.f64 x 1/3) 2))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (+.f64 (pow.f64 (fma.f64 x 1/3 1) 2) -1)) (neg.f64 (+.f64 (*.f64 x 1/3) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 1 (pow.f64 (fma.f64 x 1/3 -1) 3)) (+.f64 1 (-.f64 (*.f64 (fma.f64 x 1/3 -1) (fma.f64 x 1/3 -1)) (fma.f64 x 1/3 -1))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 1 (*.f64 (fma.f64 x 1/3 -1) (fma.f64 x 1/3 -1))) (-.f64 1 (fma.f64 x 1/3 -1)))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 x 1/3) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (*.f64 x 1/3)) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (*.f64 x 1/3)) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 (pow.f64 x 3) 1/27) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (*.f64 x 1/3) 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 (*.f64 (pow.f64 x 3) 1/27))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 x 1/3)))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 x 1/3)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (*.f64 x 1/3)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (fma.f64 x 1/3 1) -1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 (fma.f64 x 1/3 1)) 2) (cbrt.f64 (fma.f64 x 1/3 1)) -1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 (fma.f64 x 1/3 1)) (sqrt.f64 (fma.f64 x 1/3 1)) -1))))) |
| 1× | egg-herbie |
| 1× | *-commutative_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 4 | 96 |
| 1 | 5 | 96 |
| 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) |
(*.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) |
(*.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) |
Found 3 expressions with local error:
| New | Error | Program |
|---|---|---|
| ✓ | 0.1b | (sqrt.f64 (*.f64 x 1/3)) |
| ✓ | 0.2b | (pow.f64 (sqrt.f64 (*.f64 x 1/3)) 2) |
| 0.3b | (*.f64 x 1/3) |
Compiled 17 to 13 computations (23.5% saved)
6 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 1.0ms | x | @ | 0 | (pow.f64 (sqrt.f64 (*.f64 x 1/3)) 2) |
| 1.0ms | x | @ | -inf | (pow.f64 (sqrt.f64 (*.f64 x 1/3)) 2) |
| 1.0ms | x | @ | inf | (pow.f64 (sqrt.f64 (*.f64 x 1/3)) 2) |
| 1.0ms | x | @ | -inf | (sqrt.f64 (*.f64 x 1/3)) |
| 0.0ms | x | @ | 0 | (sqrt.f64 (*.f64 x 1/3)) |
| 1× | batch-egg-rewrite |
| 497× | pow1_binary64 |
| 486× | add-sqr-sqrt_binary64 |
| 464× | add-log-exp_binary64 |
| 464× | log1p-expm1-u_binary64 |
| 464× | expm1-log1p-u_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 7 | 10 |
| 1 | 146 | 10 |
| 2 | 1319 | 10 |
| 1× | node limit |
| Inputs |
|---|
(pow.f64 (sqrt.f64 (*.f64 x 1/3)) 2) |
(sqrt.f64 (*.f64 x 1/3)) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (*.f64 x 1/3)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 x 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 x (pow.f64 (sqrt.f64 1/3) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1/3 x)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 x 1/3) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (*.f64 x 1/3)) (sqrt.f64 (*.f64 x 1/3)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (*.f64 x 1/3))))) (#(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 (cbrt.f64 (*.f64 x 1/3)) (pow.f64 (cbrt.f64 (*.f64 x 1/3)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (*.f64 x 1/3)) (*.f64 (cbrt.f64 (sqrt.f64 (*.f64 x 1/3))) (sqrt.f64 (*.f64 x 1/3))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (*.f64 x 1/3)) 2) (cbrt.f64 (*.f64 x 1/3)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (*.f64 x 1/3) 1/4) (*.f64 (pow.f64 (*.f64 x 1/3) 1/4) (sqrt.f64 (*.f64 x 1/3))))))) (#(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 x) (*.f64 (sqrt.f64 1/3) (sqrt.f64 (*.f64 x 1/3))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (sqrt.f64 (*.f64 x 1/3)) (pow.f64 (*.f64 x 1/3) 1/4)) (pow.f64 (*.f64 x 1/3) 1/4))))) (#(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 (sqrt.f64 (*.f64 x 1/3)) (cbrt.f64 (*.f64 x 1/3))) (cbrt.f64 (sqrt.f64 (*.f64 x 1/3))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (sqrt.f64 (*.f64 x 1/3)) (sqrt.f64 x)) (sqrt.f64 1/3))))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (*.f64 1/9 (*.f64 x x)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (*.f64 x 1/3)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (*.f64 x 1/3) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 x 1/3)))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 x 1/3)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (*.f64 x 1/3))))))) |
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (sqrt.f64 (*.f64 x 1/3))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (*.f64 x 1/3)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (sqrt.f64 (*.f64 x 1/3)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (sqrt.f64 (*.f64 x 1/3))) (cbrt.f64 (*.f64 x 1/3)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (*.f64 x 1/3)) (cbrt.f64 (sqrt.f64 (*.f64 x 1/3))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 1/3) (sqrt.f64 x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (*.f64 x 1/3) 1/4) (pow.f64 (*.f64 x 1/3) 1/4))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 x) (sqrt.f64 1/3))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (pow.f64 (cbrt.f64 (*.f64 x 1/3)) 2)) (sqrt.f64 (cbrt.f64 (*.f64 x 1/3))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 1 1/2) (sqrt.f64 (*.f64 x 1/3)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (pow.f64 (cbrt.f64 (*.f64 x 1/3)) 2) 1/2) (pow.f64 (cbrt.f64 (*.f64 x 1/3)) 1/2))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 x 1/3) 1/2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (*.f64 x 1/3)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 x 1/3) 3/2) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (sqrt.f64 (*.f64 x 1/3))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 x 1/3) 1/4) 2)))) (#(struct:change #<rule egg-rr> (2) ((x fabs.f64 (sqrt.f64 (*.f64 x 1/3)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (sqrt.f64 (*.f64 x 1/3))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (*.f64 x 1/3) 3/2))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (sqrt.f64 (*.f64 x 1/3))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (sqrt.f64 (*.f64 x 1/3))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (sqrt.f64 (*.f64 x 1/3)))))))) |
| 1× | egg-herbie |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 0 | 0 |
| 1× | saturated |
| Inputs |
|---|
| Outputs |
|---|
Found 4 expressions with local error:
| New | Error | Program |
|---|---|---|
| 0.1b | (*.f64 1/45 (pow.f64 x 3)) | |
| ✓ | 0.2b | (*.f64 1/9 (*.f64 x x)) |
| 0.3b | (*.f64 1/3 x) | |
| ✓ | 27.0b | (/.f64 (-.f64 (*.f64 1/9 (*.f64 x x)) (*.f64 (pow.f64 x 6) 1/2025)) (-.f64 (*.f64 1/3 x) (*.f64 1/45 (pow.f64 x 3)))) |
Compiled 76 to 53 computations (30.3% saved)
6 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 1.0ms | x | @ | inf | (/.f64 (-.f64 (*.f64 1/9 (*.f64 x x)) (*.f64 (pow.f64 x 6) 1/2025)) (-.f64 (*.f64 1/3 x) (*.f64 1/45 (pow.f64 x 3)))) |
| 1.0ms | x | @ | 0 | (/.f64 (-.f64 (*.f64 1/9 (*.f64 x x)) (*.f64 (pow.f64 x 6) 1/2025)) (-.f64 (*.f64 1/3 x) (*.f64 1/45 (pow.f64 x 3)))) |
| 0.0ms | x | @ | -inf | (/.f64 (-.f64 (*.f64 1/9 (*.f64 x x)) (*.f64 (pow.f64 x 6) 1/2025)) (-.f64 (*.f64 1/3 x) (*.f64 1/45 (pow.f64 x 3)))) |
| 0.0ms | x | @ | inf | (*.f64 1/9 (*.f64 x x)) |
| 0.0ms | x | @ | 0 | (*.f64 1/9 (*.f64 x x)) |
| 1× | batch-egg-rewrite |
| 895× | log-prod_binary64 |
| 468× | fma-neg_binary64 |
| 313× | expm1-udef_binary64 |
| 313× | log1p-udef_binary64 |
| 245× | log-pow_binary64 |
Useful iterations: 1 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 18 | 38 |
| 1 | 428 | 18 |
| 2 | 5610 | 18 |
| 1× | node limit |
| Inputs |
|---|
(/.f64 (-.f64 (*.f64 1/9 (*.f64 x x)) (*.f64 (pow.f64 x 6) 1/2025)) (-.f64 (*.f64 1/3 x) (*.f64 1/45 (pow.f64 x 3)))) |
(*.f64 1/9 (*.f64 x x)) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 x 1/3) (*.f64 1/45 (pow.f64 x 3)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 1/45 (pow.f64 x 3)) (*.f64 x 1/3))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (/.f64 (*.f64 x x) (/.f64 (fma.f64 x 1/3 (*.f64 (pow.f64 x 3) -1/45)) 1/9)) (neg.f64 (*.f64 1/2025 (/.f64 (pow.f64 x 6) (fma.f64 x 1/3 (*.f64 (pow.f64 x 3) -1/45))))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 0 (fma.f64 x 1/3 (*.f64 1/45 (pow.f64 x 3))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (*.f64 (cbrt.f64 (exp.f64 (fma.f64 x 1/3 (*.f64 1/45 (pow.f64 x 3))))) (cbrt.f64 (exp.f64 (fma.f64 x 1/3 (*.f64 1/45 (pow.f64 x 3))))))) (log.f64 (cbrt.f64 (exp.f64 (fma.f64 x 1/3 (*.f64 1/45 (pow.f64 x 3)))))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (sqrt.f64 (exp.f64 (fma.f64 x 1/3 (*.f64 1/45 (pow.f64 x 3)))))) (log.f64 (sqrt.f64 (exp.f64 (fma.f64 x 1/3 (*.f64 1/45 (pow.f64 x 3)))))))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (/.f64 (*.f64 x x) (/.f64 (fma.f64 x 1/3 (*.f64 (pow.f64 x 3) -1/45)) 1/9)) (*.f64 1/2025 (/.f64 (pow.f64 x 6) (fma.f64 x 1/3 (*.f64 (pow.f64 x 3) -1/45)))))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (fma.f64 x 1/3 (*.f64 1/45 (pow.f64 x 3))))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (fma.f64 1/9 (*.f64 x x) (*.f64 (pow.f64 x 6) -1/2025)) (/.f64 1 (fma.f64 x 1/3 (*.f64 (pow.f64 x 3) -1/45))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (fma.f64 x 1/3 (*.f64 1/45 (pow.f64 x 3))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (fma.f64 x 1/3 (*.f64 1/45 (pow.f64 x 3))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (fma.f64 x 1/3 (*.f64 1/45 (pow.f64 x 3)))) (pow.f64 (cbrt.f64 (fma.f64 x 1/3 (*.f64 1/45 (pow.f64 x 3)))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (fma.f64 x 1/3 (*.f64 1/45 (pow.f64 x 3)))) 2) (cbrt.f64 (fma.f64 x 1/3 (*.f64 1/45 (pow.f64 x 3)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (fma.f64 1/9 (*.f64 x x) (*.f64 (pow.f64 x 6) -1/2025))) 2) (*.f64 (cbrt.f64 (fma.f64 1/9 (*.f64 x x) (*.f64 (pow.f64 x 6) -1/2025))) (/.f64 1 (fma.f64 x 1/3 (*.f64 (pow.f64 x 3) -1/45)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (fma.f64 x 1/3 (*.f64 1/45 (pow.f64 x 3)))) (sqrt.f64 (fma.f64 x 1/3 (*.f64 1/45 (pow.f64 x 3)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (hypot.f64 (*.f64 x 1/3) (sqrt.f64 (*.f64 (pow.f64 x 6) -1/2025))) (*.f64 (hypot.f64 (*.f64 x 1/3) (sqrt.f64 (*.f64 (pow.f64 x 6) -1/2025))) (/.f64 1 (fma.f64 x 1/3 (*.f64 (pow.f64 x 3) -1/45)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (neg.f64 (fma.f64 1/9 (*.f64 x x) (*.f64 (pow.f64 x 6) -1/2025))) (/.f64 1 (neg.f64 (fma.f64 x 1/3 (*.f64 (pow.f64 x 3) -1/45)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 1 (fma.f64 x 1/3 (*.f64 (pow.f64 x 3) -1/45))) (fma.f64 1/9 (*.f64 x x) (*.f64 (pow.f64 x 6) -1/2025)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 1 (pow.f64 (cbrt.f64 (fma.f64 x 1/3 (*.f64 (pow.f64 x 3) -1/45))) 2)) (/.f64 (fma.f64 1/9 (*.f64 x x) (*.f64 (pow.f64 x 6) -1/2025)) (cbrt.f64 (fma.f64 x 1/3 (*.f64 (pow.f64 x 3) -1/45)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 1 (sqrt.f64 (fma.f64 x 1/3 (*.f64 (pow.f64 x 3) -1/45)))) (/.f64 (fma.f64 1/9 (*.f64 x x) (*.f64 (pow.f64 x 6) -1/2025)) (sqrt.f64 (fma.f64 x 1/3 (*.f64 (pow.f64 x 3) -1/45)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (pow.f64 (cbrt.f64 (fma.f64 1/9 (*.f64 x x) (*.f64 (pow.f64 x 6) -1/2025))) 2) 1) (/.f64 (cbrt.f64 (fma.f64 1/9 (*.f64 x x) (*.f64 (pow.f64 x 6) -1/2025))) (fma.f64 x 1/3 (*.f64 (pow.f64 x 3) -1/45))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (hypot.f64 (*.f64 x 1/3) (sqrt.f64 (*.f64 (pow.f64 x 6) -1/2025))) 1) (/.f64 (hypot.f64 (*.f64 x 1/3) (sqrt.f64 (*.f64 (pow.f64 x 6) -1/2025))) (fma.f64 x 1/3 (*.f64 (pow.f64 x 3) -1/45))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (pow.f64 (cbrt.f64 (fma.f64 1/9 (*.f64 x x) (*.f64 (pow.f64 x 6) -1/2025))) 2) (pow.f64 (cbrt.f64 (fma.f64 x 1/3 (*.f64 (pow.f64 x 3) -1/45))) 2)) (cbrt.f64 (fma.f64 x 1/3 (*.f64 1/45 (pow.f64 x 3)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (hypot.f64 (*.f64 x 1/3) (sqrt.f64 (*.f64 (pow.f64 x 6) -1/2025))) (pow.f64 (cbrt.f64 (fma.f64 x 1/3 (*.f64 (pow.f64 x 3) -1/45))) 2)) (/.f64 (hypot.f64 (*.f64 x 1/3) (sqrt.f64 (*.f64 (pow.f64 x 6) -1/2025))) (cbrt.f64 (fma.f64 x 1/3 (*.f64 (pow.f64 x 3) -1/45)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (pow.f64 (cbrt.f64 (fma.f64 1/9 (*.f64 x x) (*.f64 (pow.f64 x 6) -1/2025))) 2) (sqrt.f64 (fma.f64 x 1/3 (*.f64 (pow.f64 x 3) -1/45)))) (/.f64 (cbrt.f64 (fma.f64 1/9 (*.f64 x x) (*.f64 (pow.f64 x 6) -1/2025))) (sqrt.f64 (fma.f64 x 1/3 (*.f64 (pow.f64 x 3) -1/45)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (fma.f64 1/9 (*.f64 x x) (*.f64 (pow.f64 x 6) -1/2025)) (-.f64 (*.f64 (pow.f64 x 3) 1/27) (*.f64 (pow.f64 x 9) 1/91125))) (+.f64 (fma.f64 1/9 (*.f64 x x) (*.f64 (pow.f64 x 6) 1/2025)) (*.f64 (*.f64 (*.f64 x 1/3) 1/45) (pow.f64 x 3))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (fma.f64 1/9 (*.f64 x x) (*.f64 (pow.f64 x 6) -1/2025)) (fma.f64 1/9 (*.f64 x x) (*.f64 (pow.f64 x 6) -1/2025))) (fma.f64 x 1/3 (*.f64 1/45 (pow.f64 x 3))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (fma.f64 x 1/3 (*.f64 1/45 (pow.f64 x 3))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (fma.f64 x 1/3 (*.f64 1/45 (pow.f64 x 3))) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (fma.f64 x 1/3 (*.f64 1/45 (pow.f64 x 3)))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (fma.f64 x 1/3 (*.f64 1/45 (pow.f64 x 3)))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 1 (fma.f64 x 1/3 (*.f64 1/45 (pow.f64 x 3)))) -1)))) (#(struct:change #<rule egg-rr> (2) ((x neg.f64 (/.f64 (fma.f64 1/9 (*.f64 x x) (*.f64 (pow.f64 x 6) -1/2025)) (neg.f64 (fma.f64 x 1/3 (*.f64 (pow.f64 x 3) -1/45)))))))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (fma.f64 x 1/3 (*.f64 1/45 (pow.f64 x 3))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (fma.f64 x 1/3 (*.f64 1/45 (pow.f64 x 3)))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (fma.f64 x 1/3 (*.f64 1/45 (pow.f64 x 3))))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (pow.f64 (exp.f64 1/3) x) (pow.f64 (exp.f64 1/45) (pow.f64 x 3))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (+.f64 1 (expm1.f64 (*.f64 x 1/3))) (pow.f64 (exp.f64 1/45) (pow.f64 x 3))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (pow.f64 (exp.f64 1/3) x) (+.f64 1 (expm1.f64 (*.f64 1/45 (pow.f64 x 3))))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (+.f64 1 (expm1.f64 (*.f64 x 1/3))) (+.f64 1 (expm1.f64 (*.f64 1/45 (pow.f64 x 3))))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (pow.f64 (exp.f64 1/45) (pow.f64 x 3)) (pow.f64 (exp.f64 1/3) x)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (+.f64 1 (expm1.f64 (*.f64 1/45 (pow.f64 x 3)))) (pow.f64 (exp.f64 1/3) x)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (pow.f64 (exp.f64 1/45) (pow.f64 x 3)) (+.f64 1 (expm1.f64 (*.f64 x 1/3)))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (+.f64 1 (expm1.f64 (*.f64 1/45 (pow.f64 x 3)))) (+.f64 1 (expm1.f64 (*.f64 x 1/3)))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (fma.f64 x 1/3 (*.f64 1/45 (pow.f64 x 3))) 3))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (/.f64 (pow.f64 (fma.f64 1/9 (*.f64 x x) (*.f64 (pow.f64 x 6) -1/2025)) 3) (pow.f64 (fma.f64 x 1/3 (*.f64 (pow.f64 x 3) -1/45)) 3)))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (fma.f64 x 1/3 (*.f64 1/45 (pow.f64 x 3)))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (fma.f64 x 1/3 (*.f64 1/45 (pow.f64 x 3)))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (fma.f64 x 1/3 (*.f64 1/45 (pow.f64 x 3)))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (fma.f64 x 1/3 (*.f64 1/45 (pow.f64 x 3)))) 1))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1/9 (/.f64 (*.f64 x x) (fma.f64 x 1/3 (*.f64 (pow.f64 x 3) -1/45))) (neg.f64 (*.f64 1/2025 (/.f64 (pow.f64 x 6) (fma.f64 x 1/3 (*.f64 (pow.f64 x 3) -1/45))))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 x 1/3 (*.f64 1/45 (pow.f64 x 3)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 1/9 (*.f64 x x)) (/.f64 1 (fma.f64 x 1/3 (*.f64 (pow.f64 x 3) -1/45))) (neg.f64 (*.f64 1/2025 (/.f64 (pow.f64 x 6) (fma.f64 x 1/3 (*.f64 (pow.f64 x 3) -1/45))))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1/3 x (*.f64 1/45 (pow.f64 x 3)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (*.f64 x 1/3) (*.f64 1/45 (pow.f64 x 3)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (/.f64 (*.f64 x x) (/.f64 (fma.f64 x 1/3 (*.f64 (pow.f64 x 3) -1/45)) 1/9)) (neg.f64 (*.f64 1/2025 (/.f64 (pow.f64 x 6) (fma.f64 x 1/3 (*.f64 (pow.f64 x 3) -1/45))))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 (*.f64 x 1/3)) 2) (cbrt.f64 (*.f64 x 1/3)) (*.f64 1/45 (pow.f64 x 3)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 (*.f64 x 1/3)) (sqrt.f64 (*.f64 x 1/3)) (*.f64 1/45 (pow.f64 x 3)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 (cbrt.f64 (/.f64 (*.f64 x x) (/.f64 (fma.f64 x 1/3 (*.f64 (pow.f64 x 3) -1/45)) 1/9))) (cbrt.f64 (/.f64 (*.f64 x x) (/.f64 (fma.f64 x 1/3 (*.f64 (pow.f64 x 3) -1/45)) 1/9)))) (cbrt.f64 (/.f64 (*.f64 x x) (/.f64 (fma.f64 x 1/3 (*.f64 (pow.f64 x 3) -1/45)) 1/9))) (neg.f64 (*.f64 1/2025 (/.f64 (pow.f64 x 6) (fma.f64 x 1/3 (*.f64 (pow.f64 x 3) -1/45))))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 (/.f64 (*.f64 x x) (/.f64 (fma.f64 x 1/3 (*.f64 (pow.f64 x 3) -1/45)) 1/9))) (sqrt.f64 (/.f64 (*.f64 x x) (/.f64 (fma.f64 x 1/3 (*.f64 (pow.f64 x 3) -1/45)) 1/9))) (neg.f64 (*.f64 1/2025 (/.f64 (pow.f64 x 6) (fma.f64 x 1/3 (*.f64 (pow.f64 x 3) -1/45))))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (/.f64 1 (pow.f64 (cbrt.f64 (fma.f64 x 1/3 (*.f64 (pow.f64 x 3) -1/45))) 2)) (/.f64 (*.f64 1/9 (*.f64 x x)) (cbrt.f64 (fma.f64 x 1/3 (*.f64 (pow.f64 x 3) -1/45)))) (neg.f64 (*.f64 1/2025 (/.f64 (pow.f64 x 6) (fma.f64 x 1/3 (*.f64 (pow.f64 x 3) -1/45))))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (/.f64 1 (sqrt.f64 (fma.f64 x 1/3 (*.f64 (pow.f64 x 3) -1/45)))) (/.f64 (*.f64 1/9 (*.f64 x x)) (sqrt.f64 (fma.f64 x 1/3 (*.f64 (pow.f64 x 3) -1/45)))) (neg.f64 (*.f64 1/2025 (/.f64 (pow.f64 x 6) (fma.f64 x 1/3 (*.f64 (pow.f64 x 3) -1/45))))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (/.f64 (*.f64 x x) 1) (/.f64 1/9 (fma.f64 x 1/3 (*.f64 (pow.f64 x 3) -1/45))) (neg.f64 (*.f64 1/2025 (/.f64 (pow.f64 x 6) (fma.f64 x 1/3 (*.f64 (pow.f64 x 3) -1/45))))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (/.f64 (cbrt.f64 (*.f64 1/81 (pow.f64 x 4))) 1) (/.f64 (pow.f64 (cbrt.f64 (*.f64 x 1/3)) 2) (fma.f64 x 1/3 (*.f64 (pow.f64 x 3) -1/45))) (neg.f64 (*.f64 1/2025 (/.f64 (pow.f64 x 6) (fma.f64 x 1/3 (*.f64 (pow.f64 x 3) -1/45))))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (/.f64 (*.f64 x 1/3) 1) (/.f64 (*.f64 x 1/3) (fma.f64 x 1/3 (*.f64 (pow.f64 x 3) -1/45))) (neg.f64 (*.f64 1/2025 (/.f64 (pow.f64 x 6) (fma.f64 x 1/3 (*.f64 (pow.f64 x 3) -1/45))))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (/.f64 (*.f64 1/9 x) 1) (/.f64 x (fma.f64 x 1/3 (*.f64 (pow.f64 x 3) -1/45))) (neg.f64 (*.f64 1/2025 (/.f64 (pow.f64 x 6) (fma.f64 x 1/3 (*.f64 (pow.f64 x 3) -1/45))))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (/.f64 1/9 (pow.f64 (cbrt.f64 (fma.f64 x 1/3 (*.f64 (pow.f64 x 3) -1/45))) 2)) (/.f64 (*.f64 x x) (cbrt.f64 (fma.f64 x 1/3 (*.f64 (pow.f64 x 3) -1/45)))) (neg.f64 (*.f64 1/2025 (/.f64 (pow.f64 x 6) (fma.f64 x 1/3 (*.f64 (pow.f64 x 3) -1/45))))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (/.f64 (*.f64 x x) (pow.f64 (cbrt.f64 (fma.f64 x 1/3 (*.f64 (pow.f64 x 3) -1/45))) 2)) (/.f64 1/9 (cbrt.f64 (fma.f64 x 1/3 (*.f64 (pow.f64 x 3) -1/45)))) (neg.f64 (*.f64 1/2025 (/.f64 (pow.f64 x 6) (fma.f64 x 1/3 (*.f64 (pow.f64 x 3) -1/45))))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (/.f64 (cbrt.f64 (*.f64 1/81 (pow.f64 x 4))) (pow.f64 (cbrt.f64 (fma.f64 x 1/3 (*.f64 (pow.f64 x 3) -1/45))) 2)) (/.f64 (pow.f64 (cbrt.f64 (*.f64 x 1/3)) 2) (cbrt.f64 (fma.f64 x 1/3 (*.f64 (pow.f64 x 3) -1/45)))) (neg.f64 (*.f64 1/2025 (/.f64 (pow.f64 x 6) (fma.f64 x 1/3 (*.f64 (pow.f64 x 3) -1/45))))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (/.f64 (*.f64 x 1/3) (pow.f64 (cbrt.f64 (fma.f64 x 1/3 (*.f64 (pow.f64 x 3) -1/45))) 2)) (/.f64 (*.f64 x 1/3) (cbrt.f64 (fma.f64 x 1/3 (*.f64 (pow.f64 x 3) -1/45)))) (neg.f64 (*.f64 1/2025 (/.f64 (pow.f64 x 6) (fma.f64 x 1/3 (*.f64 (pow.f64 x 3) -1/45))))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (/.f64 (*.f64 1/9 x) (pow.f64 (cbrt.f64 (fma.f64 x 1/3 (*.f64 (pow.f64 x 3) -1/45))) 2)) (/.f64 x (cbrt.f64 (fma.f64 x 1/3 (*.f64 (pow.f64 x 3) -1/45)))) (neg.f64 (*.f64 1/2025 (/.f64 (pow.f64 x 6) (fma.f64 x 1/3 (*.f64 (pow.f64 x 3) -1/45))))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (/.f64 1/9 (sqrt.f64 (fma.f64 x 1/3 (*.f64 (pow.f64 x 3) -1/45)))) (/.f64 (*.f64 x x) (sqrt.f64 (fma.f64 x 1/3 (*.f64 (pow.f64 x 3) -1/45)))) (neg.f64 (*.f64 1/2025 (/.f64 (pow.f64 x 6) (fma.f64 x 1/3 (*.f64 (pow.f64 x 3) -1/45))))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (/.f64 (*.f64 x x) (sqrt.f64 (fma.f64 x 1/3 (*.f64 (pow.f64 x 3) -1/45)))) (/.f64 1/9 (sqrt.f64 (fma.f64 x 1/3 (*.f64 (pow.f64 x 3) -1/45)))) (neg.f64 (*.f64 1/2025 (/.f64 (pow.f64 x 6) (fma.f64 x 1/3 (*.f64 (pow.f64 x 3) -1/45))))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (/.f64 (cbrt.f64 (*.f64 1/81 (pow.f64 x 4))) (sqrt.f64 (fma.f64 x 1/3 (*.f64 (pow.f64 x 3) -1/45)))) (/.f64 (pow.f64 (cbrt.f64 (*.f64 x 1/3)) 2) (sqrt.f64 (fma.f64 x 1/3 (*.f64 (pow.f64 x 3) -1/45)))) (neg.f64 (*.f64 1/2025 (/.f64 (pow.f64 x 6) (fma.f64 x 1/3 (*.f64 (pow.f64 x 3) -1/45))))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (/.f64 (*.f64 x 1/3) (sqrt.f64 (fma.f64 x 1/3 (*.f64 (pow.f64 x 3) -1/45)))) (/.f64 (*.f64 x 1/3) (sqrt.f64 (fma.f64 x 1/3 (*.f64 (pow.f64 x 3) -1/45)))) (neg.f64 (*.f64 1/2025 (/.f64 (pow.f64 x 6) (fma.f64 x 1/3 (*.f64 (pow.f64 x 3) -1/45))))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (/.f64 (*.f64 1/9 x) (sqrt.f64 (fma.f64 x 1/3 (*.f64 (pow.f64 x 3) -1/45)))) (/.f64 x (sqrt.f64 (fma.f64 x 1/3 (*.f64 (pow.f64 x 3) -1/45)))) (neg.f64 (*.f64 1/2025 (/.f64 (pow.f64 x 6) (fma.f64 x 1/3 (*.f64 (pow.f64 x 3) -1/45))))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (/.f64 (*.f64 1/9 (*.f64 x x)) (-.f64 (*.f64 (pow.f64 x 3) 1/27) (*.f64 (pow.f64 x 9) 1/91125))) (+.f64 (fma.f64 1/9 (*.f64 x x) (*.f64 (pow.f64 x 6) 1/2025)) (*.f64 (*.f64 (*.f64 x 1/3) 1/45) (pow.f64 x 3))) (neg.f64 (*.f64 1/2025 (/.f64 (pow.f64 x 6) (fma.f64 x 1/3 (*.f64 (pow.f64 x 3) -1/45))))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (/.f64 (*.f64 1/9 (*.f64 x x)) (fma.f64 1/9 (*.f64 x x) (*.f64 (pow.f64 x 6) -1/2025))) (fma.f64 x 1/3 (*.f64 1/45 (pow.f64 x 3))) (neg.f64 (*.f64 1/2025 (/.f64 (pow.f64 x 6) (fma.f64 x 1/3 (*.f64 (pow.f64 x 3) -1/45)))))))))) |
((#(struct:change #<rule egg-rr> (2) ((x +.f64 0 (*.f64 1/9 (*.f64 x x)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (*.f64 (cbrt.f64 (pow.f64 (exp.f64 1/9) (*.f64 x x))) (cbrt.f64 (pow.f64 (exp.f64 1/9) (*.f64 x x))))) (log.f64 (cbrt.f64 (pow.f64 (exp.f64 1/9) (*.f64 x x)))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (sqrt.f64 (pow.f64 (exp.f64 1/9) (*.f64 x x)))) (log.f64 (sqrt.f64 (pow.f64 (exp.f64 1/9) (*.f64 x x)))))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (*.f64 1/9 (*.f64 x x)))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 1/9 (*.f64 x x)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 x 1/3) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (cbrt.f64 (*.f64 x 1/3)) 2) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 (pow.f64 x 6) 1/729) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (*.f64 1/81 (pow.f64 x 4)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (pow.f64 (exp.f64 1/9) (*.f64 x x)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (*.f64 1/9 (*.f64 x x)))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (*.f64 (pow.f64 x 6) 1/729))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 1/9 (*.f64 x x))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 1/9 (*.f64 x x))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 2 (log.f64 (*.f64 x 1/3))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 2 (log.f64 (*.f64 x 1/3))) 1)))))) |
| 1× | egg-herbie |
| 944× | sqr-pow_binary64 |
| 564× | cube-prod_binary64 |
| 536× | unswap-sqr_binary64 |
| 462× | fabs-mul_binary64 |
| 460× | *-commutative_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 13 | 201 |
| 1 | 30 | 201 |
| 2 | 62 | 201 |
| 3 | 146 | 201 |
| 4 | 402 | 201 |
| 5 | 1579 | 201 |
| 6 | 3011 | 201 |
| 7 | 3197 | 201 |
| 8 | 3447 | 201 |
| 9 | 3734 | 201 |
| 10 | 4113 | 201 |
| 11 | 4629 | 201 |
| 12 | 5232 | 201 |
| 13 | 5942 | 201 |
| 14 | 6411 | 201 |
| 15 | 6730 | 201 |
| 16 | 7002 | 201 |
| 17 | 7172 | 201 |
| 18 | 7266 | 201 |
| 19 | 7943 | 201 |
| 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/9 (pow.f64 x 2)) |
(*.f64 1/9 (pow.f64 x 2)) |
(*.f64 1/9 (pow.f64 x 2)) |
(*.f64 1/9 (pow.f64 x 2)) |
(*.f64 1/9 (pow.f64 x 2)) |
(*.f64 1/9 (pow.f64 x 2)) |
(*.f64 1/9 (pow.f64 x 2)) |
(*.f64 1/9 (pow.f64 x 2)) |
(*.f64 1/9 (pow.f64 x 2)) |
(*.f64 1/9 (pow.f64 x 2)) |
(*.f64 1/9 (pow.f64 x 2)) |
(*.f64 1/9 (pow.f64 x 2)) |
| 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/9 (pow.f64 x 2)) |
(*.f64 1/9 (*.f64 x x)) |
(*.f64 x (*.f64 x 1/9)) |
(*.f64 1/9 (pow.f64 x 2)) |
(*.f64 1/9 (*.f64 x x)) |
(*.f64 x (*.f64 x 1/9)) |
(*.f64 1/9 (pow.f64 x 2)) |
(*.f64 1/9 (*.f64 x x)) |
(*.f64 x (*.f64 x 1/9)) |
(*.f64 1/9 (pow.f64 x 2)) |
(*.f64 1/9 (*.f64 x x)) |
(*.f64 x (*.f64 x 1/9)) |
(*.f64 1/9 (pow.f64 x 2)) |
(*.f64 1/9 (*.f64 x x)) |
(*.f64 x (*.f64 x 1/9)) |
(*.f64 1/9 (pow.f64 x 2)) |
(*.f64 1/9 (*.f64 x x)) |
(*.f64 x (*.f64 x 1/9)) |
(*.f64 1/9 (pow.f64 x 2)) |
(*.f64 1/9 (*.f64 x x)) |
(*.f64 x (*.f64 x 1/9)) |
(*.f64 1/9 (pow.f64 x 2)) |
(*.f64 1/9 (*.f64 x x)) |
(*.f64 x (*.f64 x 1/9)) |
(*.f64 1/9 (pow.f64 x 2)) |
(*.f64 1/9 (*.f64 x x)) |
(*.f64 x (*.f64 x 1/9)) |
(*.f64 1/9 (pow.f64 x 2)) |
(*.f64 1/9 (*.f64 x x)) |
(*.f64 x (*.f64 x 1/9)) |
(*.f64 1/9 (pow.f64 x 2)) |
(*.f64 1/9 (*.f64 x x)) |
(*.f64 x (*.f64 x 1/9)) |
(*.f64 1/9 (pow.f64 x 2)) |
(*.f64 1/9 (*.f64 x x)) |
(*.f64 x (*.f64 x 1/9)) |
Found 4 expressions with local error:
| New | Error | Program |
|---|---|---|
| ✓ | 0.6b | (cbrt.f64 (cbrt.f64 (*.f64 1/3 x))) |
| 0.6b | (cbrt.f64 (*.f64 1/3 x)) | |
| ✓ | 0.7b | (pow.f64 (cbrt.f64 (cbrt.f64 (*.f64 1/3 x))) 3) |
| ✓ | 0.8b | (pow.f64 (pow.f64 (cbrt.f64 (cbrt.f64 (*.f64 1/3 x))) 3) 3) |
Compiled 32 to 26 computations (18.8% saved)
9 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 41.0ms | x | @ | 0 | (pow.f64 (pow.f64 (cbrt.f64 (cbrt.f64 (*.f64 1/3 x))) 3) 3) |
| 17.0ms | x | @ | inf | (pow.f64 (pow.f64 (cbrt.f64 (cbrt.f64 (*.f64 1/3 x))) 3) 3) |
| 5.0ms | x | @ | -inf | (pow.f64 (pow.f64 (cbrt.f64 (cbrt.f64 (*.f64 1/3 x))) 3) 3) |
| 0.0ms | x | @ | -inf | (pow.f64 (cbrt.f64 (cbrt.f64 (*.f64 1/3 x))) 3) |
| 0.0ms | x | @ | 0 | (pow.f64 (cbrt.f64 (cbrt.f64 (*.f64 1/3 x))) 3) |
| 1× | batch-egg-rewrite |
| 594× | pow1_binary64 |
| 562× | add-log-exp_binary64 |
| 562× | log1p-expm1-u_binary64 |
| 562× | expm1-log1p-u_binary64 |
| 545× | add-exp-log_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 9 | 18 |
| 1 | 193 | 18 |
| 2 | 1655 | 18 |
| 1× | node limit |
| Inputs |
|---|
(pow.f64 (pow.f64 (cbrt.f64 (cbrt.f64 (*.f64 1/3 x))) 3) 3) |
(pow.f64 (cbrt.f64 (cbrt.f64 (*.f64 1/3 x))) 3) |
(cbrt.f64 (cbrt.f64 (*.f64 1/3 x))) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (*.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)) (cbrt.f64 (pow.f64 (*.f64 1/3 x) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (cbrt.f64 (*.f64 1/3 x))) (*.f64 (pow.f64 (cbrt.f64 (cbrt.f64 (*.f64 1/3 x))) 2) (cbrt.f64 (pow.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 (cbrt.f64 (pow.f64 (*.f64 1/3 x) 2)) (cbrt.f64 (*.f64 1/3 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (cbrt.f64 (*.f64 1/3 x))) 2) (*.f64 (cbrt.f64 (cbrt.f64 (*.f64 1/3 x))) (cbrt.f64 (pow.f64 (*.f64 1/3 x) 2))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 1/3) (*.f64 (cbrt.f64 x) (cbrt.f64 (pow.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 (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 (*.f64 1/3 x) 1/6) (*.f64 (pow.f64 (*.f64 1/3 x) 1/6) (cbrt.f64 (pow.f64 (*.f64 1/3 x) 2))))))) (#(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 (pow.f64 (pow.f64 (cbrt.f64 (cbrt.f64 (cbrt.f64 (*.f64 1/3 x)))) 2) 9) (pow.f64 (cbrt.f64 (cbrt.f64 (cbrt.f64 (*.f64 1/3 x)))) 9))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (pow.f64 (*.f64 1/3 x) 1/6)) 9) (pow.f64 (cbrt.f64 (pow.f64 (*.f64 1/3 x) 1/6)) 9))))) (#(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 (cbrt.f64 (pow.f64 (*.f64 1/3 x) 2)) (cbrt.f64 (cbrt.f64 (*.f64 1/3 x)))) (pow.f64 (cbrt.f64 (cbrt.f64 (*.f64 1/3 x))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (cbrt.f64 (pow.f64 (*.f64 1/3 x) 2)) 1) (cbrt.f64 (*.f64 1/3 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (cbrt.f64 (pow.f64 (*.f64 1/3 x) 2)) (pow.f64 (cbrt.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 (pow.f64 (*.f64 1/3 x) 2)) (cbrt.f64 1/3)) (cbrt.f64 x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (cbrt.f64 (pow.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 (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 log1p.f64 (expm1.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 -.f64 (+.f64 1 (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 (cbrt.f64 (cbrt.f64 (*.f64 1/3 x))) (pow.f64 (cbrt.f64 (cbrt.f64 (*.f64 1/3 x))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (cbrt.f64 (*.f64 1/3 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.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 (pow.f64 (cbrt.f64 (cbrt.f64 (cbrt.f64 (*.f64 1/3 x)))) 2) (*.f64 (cbrt.f64 (cbrt.f64 (cbrt.f64 (*.f64 1/3 x)))) (pow.f64 (cbrt.f64 (cbrt.f64 (*.f64 1/3 x))) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 x) (cbrt.f64 1/3))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (pow.f64 (*.f64 1/3 x) 1/6)) (*.f64 (cbrt.f64 (pow.f64 (*.f64 1/3 x) 1/6)) (pow.f64 (cbrt.f64 (cbrt.f64 (*.f64 1/3 x))) 2)))))) (#(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 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 *.f64 (pow.f64 (pow.f64 (cbrt.f64 (cbrt.f64 (cbrt.f64 (*.f64 1/3 x)))) 2) 3) (cbrt.f64 (cbrt.f64 (*.f64 1/3 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (pow.f64 (*.f64 1/3 x) 1/6)) 3) (pow.f64 (cbrt.f64 (pow.f64 (*.f64 1/3 x) 1/6)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (pow.f64 (cbrt.f64 (cbrt.f64 (*.f64 1/3 x))) 2) 1) (cbrt.f64 (cbrt.f64 (*.f64 1/3 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (pow.f64 (cbrt.f64 (cbrt.f64 (*.f64 1/3 x))) 2) (pow.f64 (cbrt.f64 (cbrt.f64 (cbrt.f64 (*.f64 1/3 x)))) 2)) (cbrt.f64 (cbrt.f64 (cbrt.f64 (*.f64 1/3 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (pow.f64 (cbrt.f64 (cbrt.f64 (*.f64 1/3 x))) 2) (cbrt.f64 (pow.f64 (*.f64 1/3 x) 1/6))) (cbrt.f64 (pow.f64 (*.f64 1/3 x) 1/6)))))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (cbrt.f64 (pow.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 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 log1p.f64 (expm1.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 -.f64 (+.f64 1 (cbrt.f64 (cbrt.f64 (*.f64 1/3 x)))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (cbrt.f64 (*.f64 1/3 x))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (cbrt.f64 (cbrt.f64 (*.f64 1/3 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (cbrt.f64 (cbrt.f64 (*.f64 1/3 x)))) (pow.f64 (cbrt.f64 (cbrt.f64 (cbrt.f64 (*.f64 1/3 x)))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (cbrt.f64 (cbrt.f64 (*.f64 1/3 x)))) (pow.f64 (pow.f64 (cbrt.f64 (cbrt.f64 (*.f64 1/3 x))) 2) 1/3))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (cbrt.f64 (cbrt.f64 (*.f64 1/3 x)))) 2) (cbrt.f64 (cbrt.f64 (cbrt.f64 (*.f64 1/3 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (pow.f64 (*.f64 1/3 x) 1/6)) (cbrt.f64 (pow.f64 (*.f64 1/3 x) 1/6)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (cbrt.f64 1/3)) (cbrt.f64 (cbrt.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (pow.f64 (cbrt.f64 (cbrt.f64 (*.f64 1/3 x))) 2) 1/3) (cbrt.f64 (cbrt.f64 (cbrt.f64 (*.f64 1/3 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 1 1/3) (cbrt.f64 (cbrt.f64 (*.f64 1/3 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 1/3) 1/3) (pow.f64 (cbrt.f64 x) 1/3))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (pow.f64 (*.f64 1/3 x) 1/6) 1/3) (pow.f64 (pow.f64 (*.f64 1/3 x) 1/6) 1/3))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 1/3 x) 1/9)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (*.f64 1/3 x)) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (cbrt.f64 (*.f64 1/3 x))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (cbrt.f64 (cbrt.f64 (*.f64 1/3 x)))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (pow.f64 (*.f64 1/3 x) 1/6)) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (cbrt.f64 (cbrt.f64 (*.f64 1/3 x))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (cbrt.f64 (cbrt.f64 (*.f64 1/3 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (cbrt.f64 (cbrt.f64 (*.f64 1/3 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (cbrt.f64 (cbrt.f64 (*.f64 1/3 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (cbrt.f64 (cbrt.f64 (*.f64 1/3 x))))))))) |
| 1× | egg-herbie |
| 2184× | unswap-sqr_binary64 |
| 1339× | sqr-pow_binary64 |
| 462× | pow-sqr_binary64 |
| 367× | cube-prod_binary64 |
| 364× | *-commutative_binary64 |
Useful iterations: 4 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 29 | 396 |
| 1 | 77 | 372 |
| 2 | 151 | 372 |
| 3 | 337 | 372 |
| 4 | 1181 | 328 |
| 5 | 2195 | 328 |
| 6 | 2307 | 328 |
| 7 | 2509 | 328 |
| 8 | 2780 | 328 |
| 9 | 3044 | 328 |
| 10 | 3375 | 328 |
| 11 | 3792 | 328 |
| 12 | 4256 | 328 |
| 13 | 4810 | 328 |
| 14 | 5094 | 328 |
| 15 | 5266 | 328 |
| 16 | 5370 | 328 |
| 17 | 5490 | 328 |
| 18 | 5526 | 328 |
| 19 | 5975 | 328 |
| 20 | 6547 | 328 |
| 1× | node limit |
| Inputs |
|---|
(*.f64 1/3 (*.f64 (pow.f64 1 1/9) x)) |
(*.f64 1/3 (*.f64 (pow.f64 1 1/9) x)) |
(*.f64 1/3 (*.f64 (pow.f64 1 1/9) x)) |
(*.f64 1/3 (*.f64 (pow.f64 1 1/9) x)) |
(*.f64 1/3 (*.f64 (pow.f64 1 1/9) x)) |
(*.f64 1/3 (*.f64 (pow.f64 1 1/9) x)) |
(*.f64 1/3 (*.f64 (pow.f64 1 1/9) x)) |
(*.f64 1/3 (*.f64 (pow.f64 1 1/9) x)) |
(*.f64 1/3 (*.f64 (pow.f64 1 1/9) x)) |
(*.f64 1/3 (*.f64 (pow.f64 1 1/9) x)) |
(*.f64 1/3 (*.f64 (pow.f64 1 1/9) x)) |
(*.f64 1/3 (*.f64 (pow.f64 1 1/9) x)) |
(*.f64 (pow.f64 (pow.f64 1 4) 1/9) (*.f64 (cbrt.f64 1/3) (pow.f64 x 1/3))) |
(*.f64 (pow.f64 (pow.f64 1 4) 1/9) (*.f64 (cbrt.f64 1/3) (pow.f64 x 1/3))) |
(*.f64 (pow.f64 (pow.f64 1 4) 1/9) (*.f64 (cbrt.f64 1/3) (pow.f64 x 1/3))) |
(*.f64 (pow.f64 (pow.f64 1 4) 1/9) (*.f64 (cbrt.f64 1/3) (pow.f64 x 1/3))) |
(*.f64 (pow.f64 (pow.f64 1 4) 1/9) (*.f64 (cbrt.f64 1/3) (pow.f64 x 1/3))) |
(*.f64 (pow.f64 (pow.f64 1 4) 1/9) (*.f64 (cbrt.f64 1/3) (pow.f64 x 1/3))) |
(*.f64 (pow.f64 (pow.f64 1 4) 1/9) (*.f64 (cbrt.f64 1/3) (pow.f64 x 1/3))) |
(*.f64 (pow.f64 (pow.f64 1 4) 1/9) (*.f64 (cbrt.f64 1/3) (pow.f64 x 1/3))) |
(*.f64 (pow.f64 (*.f64 -1 x) 1/3) (*.f64 (pow.f64 1 1/9) (cbrt.f64 -1/3))) |
(*.f64 (pow.f64 (*.f64 -1 x) 1/3) (*.f64 (pow.f64 1 1/9) (cbrt.f64 -1/3))) |
(*.f64 (pow.f64 (*.f64 -1 x) 1/3) (*.f64 (pow.f64 1 1/9) (cbrt.f64 -1/3))) |
(*.f64 (pow.f64 (*.f64 -1 x) 1/3) (*.f64 (pow.f64 1 1/9) (cbrt.f64 -1/3))) |
(*.f64 (pow.f64 (*.f64 (pow.f64 1 4) x) 1/9) (pow.f64 (cbrt.f64 1/3) 1/3)) |
(*.f64 (pow.f64 (*.f64 (pow.f64 1 4) x) 1/9) (pow.f64 (cbrt.f64 1/3) 1/3)) |
(*.f64 (pow.f64 (*.f64 (pow.f64 1 4) x) 1/9) (pow.f64 (cbrt.f64 1/3) 1/3)) |
(*.f64 (pow.f64 (*.f64 (pow.f64 1 4) x) 1/9) (pow.f64 (cbrt.f64 1/3) 1/3)) |
(*.f64 (pow.f64 (*.f64 (pow.f64 1 4) x) 1/9) (pow.f64 (cbrt.f64 1/3) 1/3)) |
(*.f64 (pow.f64 (*.f64 (pow.f64 1 4) x) 1/9) (pow.f64 (cbrt.f64 1/3) 1/3)) |
(*.f64 (pow.f64 (*.f64 (pow.f64 1 4) x) 1/9) (pow.f64 (cbrt.f64 1/3) 1/3)) |
(*.f64 (pow.f64 (*.f64 (pow.f64 1 4) x) 1/9) (pow.f64 (cbrt.f64 1/3) 1/3)) |
(*.f64 (pow.f64 (*.f64 -1 x) 1/9) (pow.f64 (*.f64 1 (cbrt.f64 -1/3)) 1/3)) |
(*.f64 (pow.f64 (*.f64 -1 x) 1/9) (pow.f64 (*.f64 1 (cbrt.f64 -1/3)) 1/3)) |
(*.f64 (pow.f64 (*.f64 -1 x) 1/9) (pow.f64 (*.f64 1 (cbrt.f64 -1/3)) 1/3)) |
(*.f64 (pow.f64 (*.f64 -1 x) 1/9) (pow.f64 (*.f64 1 (cbrt.f64 -1/3)) 1/3)) |
| Outputs |
|---|
(*.f64 1/3 (*.f64 (pow.f64 1 1/9) x)) |
(*.f64 1/3 x) |
(*.f64 1/3 (*.f64 (pow.f64 1 1/9) x)) |
(*.f64 1/3 x) |
(*.f64 1/3 (*.f64 (pow.f64 1 1/9) x)) |
(*.f64 1/3 x) |
(*.f64 1/3 (*.f64 (pow.f64 1 1/9) x)) |
(*.f64 1/3 x) |
(*.f64 1/3 (*.f64 (pow.f64 1 1/9) x)) |
(*.f64 1/3 x) |
(*.f64 1/3 (*.f64 (pow.f64 1 1/9) x)) |
(*.f64 1/3 x) |
(*.f64 1/3 (*.f64 (pow.f64 1 1/9) x)) |
(*.f64 1/3 x) |
(*.f64 1/3 (*.f64 (pow.f64 1 1/9) x)) |
(*.f64 1/3 x) |
(*.f64 1/3 (*.f64 (pow.f64 1 1/9) x)) |
(*.f64 1/3 x) |
(*.f64 1/3 (*.f64 (pow.f64 1 1/9) x)) |
(*.f64 1/3 x) |
(*.f64 1/3 (*.f64 (pow.f64 1 1/9) x)) |
(*.f64 1/3 x) |
(*.f64 1/3 (*.f64 (pow.f64 1 1/9) x)) |
(*.f64 1/3 x) |
(*.f64 (pow.f64 (pow.f64 1 4) 1/9) (*.f64 (cbrt.f64 1/3) (pow.f64 x 1/3))) |
(*.f64 1 (*.f64 (cbrt.f64 1/3) (cbrt.f64 x))) |
(*.f64 (cbrt.f64 1/3) (cbrt.f64 x)) |
(*.f64 (pow.f64 (pow.f64 1 4) 1/9) (*.f64 (cbrt.f64 1/3) (pow.f64 x 1/3))) |
(*.f64 1 (*.f64 (cbrt.f64 1/3) (cbrt.f64 x))) |
(*.f64 (cbrt.f64 1/3) (cbrt.f64 x)) |
(*.f64 (pow.f64 (pow.f64 1 4) 1/9) (*.f64 (cbrt.f64 1/3) (pow.f64 x 1/3))) |
(*.f64 1 (*.f64 (cbrt.f64 1/3) (cbrt.f64 x))) |
(*.f64 (cbrt.f64 1/3) (cbrt.f64 x)) |
(*.f64 (pow.f64 (pow.f64 1 4) 1/9) (*.f64 (cbrt.f64 1/3) (pow.f64 x 1/3))) |
(*.f64 1 (*.f64 (cbrt.f64 1/3) (cbrt.f64 x))) |
(*.f64 (cbrt.f64 1/3) (cbrt.f64 x)) |
(*.f64 (pow.f64 (pow.f64 1 4) 1/9) (*.f64 (cbrt.f64 1/3) (pow.f64 x 1/3))) |
(*.f64 1 (*.f64 (cbrt.f64 1/3) (cbrt.f64 x))) |
(*.f64 (cbrt.f64 1/3) (cbrt.f64 x)) |
(*.f64 (pow.f64 (pow.f64 1 4) 1/9) (*.f64 (cbrt.f64 1/3) (pow.f64 x 1/3))) |
(*.f64 1 (*.f64 (cbrt.f64 1/3) (cbrt.f64 x))) |
(*.f64 (cbrt.f64 1/3) (cbrt.f64 x)) |
(*.f64 (pow.f64 (pow.f64 1 4) 1/9) (*.f64 (cbrt.f64 1/3) (pow.f64 x 1/3))) |
(*.f64 1 (*.f64 (cbrt.f64 1/3) (cbrt.f64 x))) |
(*.f64 (cbrt.f64 1/3) (cbrt.f64 x)) |
(*.f64 (pow.f64 (pow.f64 1 4) 1/9) (*.f64 (cbrt.f64 1/3) (pow.f64 x 1/3))) |
(*.f64 1 (*.f64 (cbrt.f64 1/3) (cbrt.f64 x))) |
(*.f64 (cbrt.f64 1/3) (cbrt.f64 x)) |
(*.f64 (pow.f64 (*.f64 -1 x) 1/3) (*.f64 (pow.f64 1 1/9) (cbrt.f64 -1/3))) |
(*.f64 (cbrt.f64 (neg.f64 x)) (cbrt.f64 -1/3)) |
(*.f64 (pow.f64 (*.f64 -1 x) 1/3) (*.f64 (pow.f64 1 1/9) (cbrt.f64 -1/3))) |
(*.f64 (cbrt.f64 (neg.f64 x)) (cbrt.f64 -1/3)) |
(*.f64 (pow.f64 (*.f64 -1 x) 1/3) (*.f64 (pow.f64 1 1/9) (cbrt.f64 -1/3))) |
(*.f64 (cbrt.f64 (neg.f64 x)) (cbrt.f64 -1/3)) |
(*.f64 (pow.f64 (*.f64 -1 x) 1/3) (*.f64 (pow.f64 1 1/9) (cbrt.f64 -1/3))) |
(*.f64 (cbrt.f64 (neg.f64 x)) (cbrt.f64 -1/3)) |
(*.f64 (pow.f64 (*.f64 (pow.f64 1 4) x) 1/9) (pow.f64 (cbrt.f64 1/3) 1/3)) |
(*.f64 (*.f64 (pow.f64 x 1/18) (pow.f64 x 1/18)) (cbrt.f64 (cbrt.f64 1/3))) |
(*.f64 (pow.f64 (pow.f64 x 1/36) 4) (cbrt.f64 (cbrt.f64 1/3))) |
(*.f64 (pow.f64 (pow.f64 x 1/72) 8) (cbrt.f64 (cbrt.f64 1/3))) |
(*.f64 (pow.f64 (*.f64 (pow.f64 1 4) x) 1/9) (pow.f64 (cbrt.f64 1/3) 1/3)) |
(*.f64 (*.f64 (pow.f64 x 1/18) (pow.f64 x 1/18)) (cbrt.f64 (cbrt.f64 1/3))) |
(*.f64 (pow.f64 (pow.f64 x 1/36) 4) (cbrt.f64 (cbrt.f64 1/3))) |
(*.f64 (pow.f64 (pow.f64 x 1/72) 8) (cbrt.f64 (cbrt.f64 1/3))) |
(*.f64 (pow.f64 (*.f64 (pow.f64 1 4) x) 1/9) (pow.f64 (cbrt.f64 1/3) 1/3)) |
(*.f64 (*.f64 (pow.f64 x 1/18) (pow.f64 x 1/18)) (cbrt.f64 (cbrt.f64 1/3))) |
(*.f64 (pow.f64 (pow.f64 x 1/36) 4) (cbrt.f64 (cbrt.f64 1/3))) |
(*.f64 (pow.f64 (pow.f64 x 1/72) 8) (cbrt.f64 (cbrt.f64 1/3))) |
(*.f64 (pow.f64 (*.f64 (pow.f64 1 4) x) 1/9) (pow.f64 (cbrt.f64 1/3) 1/3)) |
(*.f64 (*.f64 (pow.f64 x 1/18) (pow.f64 x 1/18)) (cbrt.f64 (cbrt.f64 1/3))) |
(*.f64 (pow.f64 (pow.f64 x 1/36) 4) (cbrt.f64 (cbrt.f64 1/3))) |
(*.f64 (pow.f64 (pow.f64 x 1/72) 8) (cbrt.f64 (cbrt.f64 1/3))) |
(*.f64 (pow.f64 (*.f64 (pow.f64 1 4) x) 1/9) (pow.f64 (cbrt.f64 1/3) 1/3)) |
(*.f64 (*.f64 (pow.f64 x 1/18) (pow.f64 x 1/18)) (cbrt.f64 (cbrt.f64 1/3))) |
(*.f64 (pow.f64 (pow.f64 x 1/36) 4) (cbrt.f64 (cbrt.f64 1/3))) |
(*.f64 (pow.f64 (pow.f64 x 1/72) 8) (cbrt.f64 (cbrt.f64 1/3))) |
(*.f64 (pow.f64 (*.f64 (pow.f64 1 4) x) 1/9) (pow.f64 (cbrt.f64 1/3) 1/3)) |
(*.f64 (*.f64 (pow.f64 x 1/18) (pow.f64 x 1/18)) (cbrt.f64 (cbrt.f64 1/3))) |
(*.f64 (pow.f64 (pow.f64 x 1/36) 4) (cbrt.f64 (cbrt.f64 1/3))) |
(*.f64 (pow.f64 (pow.f64 x 1/72) 8) (cbrt.f64 (cbrt.f64 1/3))) |
(*.f64 (pow.f64 (*.f64 (pow.f64 1 4) x) 1/9) (pow.f64 (cbrt.f64 1/3) 1/3)) |
(*.f64 (*.f64 (pow.f64 x 1/18) (pow.f64 x 1/18)) (cbrt.f64 (cbrt.f64 1/3))) |
(*.f64 (pow.f64 (pow.f64 x 1/36) 4) (cbrt.f64 (cbrt.f64 1/3))) |
(*.f64 (pow.f64 (pow.f64 x 1/72) 8) (cbrt.f64 (cbrt.f64 1/3))) |
(*.f64 (pow.f64 (*.f64 (pow.f64 1 4) x) 1/9) (pow.f64 (cbrt.f64 1/3) 1/3)) |
(*.f64 (*.f64 (pow.f64 x 1/18) (pow.f64 x 1/18)) (cbrt.f64 (cbrt.f64 1/3))) |
(*.f64 (pow.f64 (pow.f64 x 1/36) 4) (cbrt.f64 (cbrt.f64 1/3))) |
(*.f64 (pow.f64 (pow.f64 x 1/72) 8) (cbrt.f64 (cbrt.f64 1/3))) |
(*.f64 (pow.f64 (*.f64 -1 x) 1/9) (pow.f64 (*.f64 1 (cbrt.f64 -1/3)) 1/3)) |
(*.f64 (*.f64 (pow.f64 (neg.f64 x) 1/18) (pow.f64 (neg.f64 x) 1/18)) (cbrt.f64 (cbrt.f64 -1/3))) |
(*.f64 (*.f64 (cbrt.f64 (cbrt.f64 -1/3)) (pow.f64 (neg.f64 x) 1/18)) (pow.f64 (neg.f64 x) 1/18)) |
(*.f64 (pow.f64 (neg.f64 x) 1/18) (*.f64 (cbrt.f64 (cbrt.f64 -1/3)) (pow.f64 (neg.f64 x) 1/18))) |
(*.f64 (pow.f64 (pow.f64 (neg.f64 x) 1/36) 4) (cbrt.f64 (cbrt.f64 -1/3))) |
(*.f64 (pow.f64 (*.f64 -1 x) 1/9) (pow.f64 (*.f64 1 (cbrt.f64 -1/3)) 1/3)) |
(*.f64 (*.f64 (pow.f64 (neg.f64 x) 1/18) (pow.f64 (neg.f64 x) 1/18)) (cbrt.f64 (cbrt.f64 -1/3))) |
(*.f64 (*.f64 (cbrt.f64 (cbrt.f64 -1/3)) (pow.f64 (neg.f64 x) 1/18)) (pow.f64 (neg.f64 x) 1/18)) |
(*.f64 (pow.f64 (neg.f64 x) 1/18) (*.f64 (cbrt.f64 (cbrt.f64 -1/3)) (pow.f64 (neg.f64 x) 1/18))) |
(*.f64 (pow.f64 (pow.f64 (neg.f64 x) 1/36) 4) (cbrt.f64 (cbrt.f64 -1/3))) |
(*.f64 (pow.f64 (*.f64 -1 x) 1/9) (pow.f64 (*.f64 1 (cbrt.f64 -1/3)) 1/3)) |
(*.f64 (*.f64 (pow.f64 (neg.f64 x) 1/18) (pow.f64 (neg.f64 x) 1/18)) (cbrt.f64 (cbrt.f64 -1/3))) |
(*.f64 (*.f64 (cbrt.f64 (cbrt.f64 -1/3)) (pow.f64 (neg.f64 x) 1/18)) (pow.f64 (neg.f64 x) 1/18)) |
(*.f64 (pow.f64 (neg.f64 x) 1/18) (*.f64 (cbrt.f64 (cbrt.f64 -1/3)) (pow.f64 (neg.f64 x) 1/18))) |
(*.f64 (pow.f64 (pow.f64 (neg.f64 x) 1/36) 4) (cbrt.f64 (cbrt.f64 -1/3))) |
(*.f64 (pow.f64 (*.f64 -1 x) 1/9) (pow.f64 (*.f64 1 (cbrt.f64 -1/3)) 1/3)) |
(*.f64 (*.f64 (pow.f64 (neg.f64 x) 1/18) (pow.f64 (neg.f64 x) 1/18)) (cbrt.f64 (cbrt.f64 -1/3))) |
(*.f64 (*.f64 (cbrt.f64 (cbrt.f64 -1/3)) (pow.f64 (neg.f64 x) 1/18)) (pow.f64 (neg.f64 x) 1/18)) |
(*.f64 (pow.f64 (neg.f64 x) 1/18) (*.f64 (cbrt.f64 (cbrt.f64 -1/3)) (pow.f64 (neg.f64 x) 1/18))) |
(*.f64 (pow.f64 (pow.f64 (neg.f64 x) 1/36) 4) (cbrt.f64 (cbrt.f64 -1/3))) |
Compiled 6384 to 5030 computations (21.2% saved)
34 alts after pruning (22 fresh and 12 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 384 | 13 | 397 |
| Fresh | 7 | 9 | 16 |
| Picked | 0 | 1 | 1 |
| Done | 2 | 11 | 13 |
| Total | 393 | 34 | 427 |
| Status | Error | Program |
|---|---|---|
| 2.5b | (pow.f64 (*.f64 (cbrt.f64 x) (cbrt.f64 1/3)) 3) | |
| 38.4b | (cbrt.f64 (*.f64 (pow.f64 x 3) 1/27)) | |
| 58.8b | (-.f64 (+.f64 1 (*.f64 x (fma.f64 x (*.f64 x 1/45) 1/3))) 1) | |
| 33.6b | (*.f64 (sqrt.f64 x) (sqrt.f64 (*.f64 x 1/9))) | |
| 40.4b | (*.f64 (*.f64 1/3 (pow.f64 x 3)) (/.f64 1 (*.f64 x x))) | |
| 33.7b | (*.f64 (pow.f64 (*.f64 x 1/3) 1/4) (*.f64 (pow.f64 (*.f64 x 1/3) 1/4) (sqrt.f64 (*.f64 x 1/3)))) | |
| 0.5b | (+.f64 (*.f64 (*.f64 x (*.f64 x 1/45)) x) (*.f64 1/3 x)) | |
| 59.5b | (/.f64 (/.f64 (-.f64 (tan.f64 x) x) x) (tan.f64 x)) | |
| 33.7b | (*.f64 (*.f64 1/3 (sqrt.f64 x)) (sqrt.f64 x)) | |
| 0.4b | (fma.f64 (/.f64 (*.f64 1/9 x) 1) (/.f64 x (fma.f64 x 1/3 (*.f64 (pow.f64 x 3) -1/45))) (neg.f64 (*.f64 1/2025 (/.f64 (pow.f64 x 6) (fma.f64 x 1/3 (*.f64 (pow.f64 x 3) -1/45)))))) | |
| ✓ | 1.0b | (*.f64 1/3 x) |
| 2.6b | (pow.f64 (cbrt.f64 (pow.f64 (cbrt.f64 (*.f64 1/3 x)) 3)) 3) | |
| 0.6b | (pow.f64 (/.f64 1 (fma.f64 x 1/3 (*.f64 1/45 (pow.f64 x 3)))) -1) | |
| 27.0b | (/.f64 (-.f64 (*.f64 x (*.f64 x 1/9)) (*.f64 (pow.f64 x 6) 1/2025)) (-.f64 (*.f64 1/3 x) (*.f64 1/45 (pow.f64 x 3)))) | |
| 3.1b | (pow.f64 (pow.f64 (*.f64 (cbrt.f64 (cbrt.f64 1/3)) (cbrt.f64 (cbrt.f64 x))) 3) 3) | |
| ✓ | 33.6b | (pow.f64 (sqrt.f64 (*.f64 x 1/3)) 2) |
| ✓ | 59.5b | (-.f64 (/.f64 1 x) (/.f64 1 (tan.f64 x))) |
| 0.5b | (*.f64 x (+.f64 (*.f64 x (*.f64 x 1/45)) 1/3)) | |
| ✓ | 3.3b | (pow.f64 (pow.f64 (cbrt.f64 (cbrt.f64 (*.f64 1/3 x))) 3) 3) |
| ✓ | 59.0b | (-.f64 (+.f64 1 (*.f64 x 1/3)) 1) |
| ✓ | 2.2b | (pow.f64 (cbrt.f64 (*.f64 1/3 x)) 3) |
| 3.5b | (pow.f64 (pow.f64 (cbrt.f64 (*.f64 (cbrt.f64 x) (cbrt.f64 1/3))) 3) 3) | |
| ✓ | 43.8b | (sqrt.f64 (*.f64 (*.f64 x x) 1/9)) |
| 0.5b | (*.f64 x (/.f64 (+.f64 (pow.f64 (*.f64 x (*.f64 x 1/45)) 3) 1/27) (+.f64 (*.f64 (*.f64 x (*.f64 x 1/45)) (*.f64 x (*.f64 x 1/45))) (-.f64 1/9 (*.f64 (*.f64 x (*.f64 x 1/45)) 1/3))))) | |
| 1.7b | (+.f64 (pow.f64 (cbrt.f64 (*.f64 1/3 x)) 3) (+.f64 (*.f64 2/945 (pow.f64 x 5)) (*.f64 1/45 (pow.f64 x 3)))) | |
| ✓ | 61.6b | (*.f64 (-.f64 (tan.f64 x) x) (/.f64 (/.f64 1 x) (tan.f64 x))) |
| 27.6b | (/.f64 (*.f64 1/3 (*.f64 x x)) (tan.f64 x)) | |
| ✓ | 0.4b | (+.f64 (*.f64 1/3 x) (+.f64 (*.f64 2/945 (pow.f64 x 5)) (*.f64 1/45 (pow.f64 x 3)))) |
| ✓ | 0.3b | (+.f64 (*.f64 1/3 x) (+.f64 (*.f64 2/945 (pow.f64 x 5)) (+.f64 (*.f64 1/45 (pow.f64 x 3)) (*.f64 1/4725 (pow.f64 x 7))))) |
| 27.6b | (/.f64 1 (/.f64 (tan.f64 x) (*.f64 1/3 (*.f64 x x)))) | |
| ✓ | 27.0b | (/.f64 (-.f64 (*.f64 1/9 (*.f64 x x)) (*.f64 (pow.f64 x 6) 1/2025)) (-.f64 (*.f64 1/3 x) (*.f64 1/45 (pow.f64 x 3)))) |
| ✓ | 59.5b | (log.f64 (exp.f64 (-.f64 (/.f64 1 x) (/.f64 1 (tan.f64 x))))) |
| 43.8b | (sqrt.f64 (*.f64 x (*.f64 x 1/9))) | |
| 2.2b | (*.f64 (pow.f64 (cbrt.f64 x) 2) (*.f64 (cbrt.f64 x) 1/3)) |
Compiled 430 to 334 computations (22.3% saved)
| Inputs |
|---|
(*.f64 1/3 x) |
(-.f64 (+.f64 1 (*.f64 x 1/3)) 1) |
(*.f64 x (+.f64 (*.f64 x (*.f64 x 1/45)) 1/3)) |
(+.f64 (*.f64 (*.f64 x (*.f64 x 1/45)) x) (*.f64 1/3 x)) |
(sqrt.f64 (*.f64 x (*.f64 x 1/9))) |
(sqrt.f64 (*.f64 (*.f64 x x) 1/9)) |
(/.f64 (*.f64 1/3 (*.f64 x x)) (tan.f64 x)) |
(*.f64 x (fma.f64 x (*.f64 x 1/45) 1/3)) |
(*.f64 x (fma.f64 1/45 (*.f64 x x) 1/3)) |
(-.f64 (/.f64 1 x) (/.f64 1 (tan.f64 x))) |
(+.f64 (*.f64 1/3 x) (*.f64 1/45 (pow.f64 x 3))) |
(/.f64 1 (/.f64 (tan.f64 x) (*.f64 1/3 (*.f64 x x)))) |
(*.f64 (*.f64 1/3 (pow.f64 x 3)) (/.f64 1 (*.f64 x x))) |
(-.f64 (+.f64 1 (*.f64 x (fma.f64 x (*.f64 x 1/45) 1/3))) 1) |
(*.f64 x (/.f64 (+.f64 (pow.f64 (*.f64 x (*.f64 x 1/45)) 3) 1/27) (+.f64 (*.f64 (*.f64 x (*.f64 x 1/45)) (*.f64 x (*.f64 x 1/45))) (-.f64 1/9 (*.f64 (*.f64 x (*.f64 x 1/45)) 1/3))))) |
(cbrt.f64 (*.f64 (pow.f64 x 3) 1/27)) |
(pow.f64 (sqrt.f64 (*.f64 x 1/3)) 2) |
(cbrt.f64 (pow.f64 (*.f64 1/3 x) 3)) |
(pow.f64 (cbrt.f64 (*.f64 1/3 x)) 3) |
(pow.f64 (sqrt.f64 (*.f64 1/3 x)) 2) |
(*.f64 (*.f64 1/3 (sqrt.f64 x)) (sqrt.f64 x)) |
(*.f64 (*.f64 1/3 (sqrt.f64 x)) (sqrt.f64 x)) |
(*.f64 (sqrt.f64 x) (sqrt.f64 (*.f64 x 1/9))) |
(/.f64 (/.f64 (-.f64 (tan.f64 x) x) x) (tan.f64 x)) |
(/.f64 (/.f64 (-.f64 (tan.f64 x) x) x) (tan.f64 x)) |
(/.f64 (*.f64 1/3 (pow.f64 x 3)) (*.f64 x (tan.f64 x))) |
(*.f64 (-.f64 (tan.f64 x) x) (/.f64 (/.f64 1 x) (tan.f64 x))) |
(*.f64 (*.f64 1/3 (pow.f64 x 3)) (/.f64 (/.f64 1 x) (tan.f64 x))) |
(+.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 (-.f64 (*.f64 x (*.f64 x 1/9)) (*.f64 (pow.f64 x 6) 1/2025)) (-.f64 (*.f64 1/3 x) (*.f64 1/45 (pow.f64 x 3)))) |
(/.f64 (-.f64 (*.f64 1/9 (*.f64 x x)) (*.f64 (pow.f64 x 6) 1/2025)) (-.f64 (*.f64 1/3 x) (*.f64 1/45 (pow.f64 x 3)))) |
(pow.f64 (*.f64 (cbrt.f64 x) (cbrt.f64 1/3)) 3) |
(pow.f64 (*.f64 (cbrt.f64 x) (cbrt.f64 1/3)) 3) |
(*.f64 (pow.f64 (cbrt.f64 x) 2) (*.f64 (cbrt.f64 x) 1/3)) |
(log.f64 (exp.f64 (-.f64 (/.f64 1 x) (/.f64 1 (tan.f64 x))))) |
(pow.f64 (/.f64 1 (fma.f64 x 1/3 (*.f64 1/45 (pow.f64 x 3)))) -1) |
(*.f64 (pow.f64 (*.f64 x 1/3) 1/4) (*.f64 (pow.f64 (*.f64 x 1/3) 1/4) (sqrt.f64 (*.f64 x 1/3)))) |
(*.f64 (+.f64 (*.f64 1/3 (pow.f64 x 3)) (*.f64 2/15 (pow.f64 x 5))) (/.f64 (/.f64 1 x) (tan.f64 x))) |
(+.f64 (*.f64 1/3 x) (+.f64 (*.f64 2/945 (pow.f64 x 5)) (+.f64 (*.f64 1/45 (pow.f64 x 3)) (*.f64 1/4725 (pow.f64 x 7))))) |
(/.f64 1 (/.f64 (+.f64 (*.f64 1/3 x) (*.f64 -1/45 (pow.f64 x 3))) (-.f64 (pow.f64 (*.f64 1/3 x) 2) (*.f64 1/2025 (pow.f64 x 6))))) |
(pow.f64 (cbrt.f64 (pow.f64 (cbrt.f64 (*.f64 1/3 x)) 3)) 3) |
(pow.f64 (pow.f64 (cbrt.f64 (cbrt.f64 (*.f64 1/3 x))) 3) 3) |
(+.f64 (pow.f64 (cbrt.f64 (*.f64 1/3 x)) 3) (+.f64 (*.f64 2/945 (pow.f64 x 5)) (*.f64 1/45 (pow.f64 x 3)))) |
(pow.f64 (pow.f64 (cbrt.f64 (*.f64 (cbrt.f64 x) (cbrt.f64 1/3))) 3) 3) |
(fma.f64 (cbrt.f64 (pow.f64 (*.f64 1/3 x) 2)) (cbrt.f64 (*.f64 1/3 x)) (*.f64 1/45 (pow.f64 x 3))) |
(fma.f64 (*.f64 (cbrt.f64 1/9) (cbrt.f64 (*.f64 x x))) (cbrt.f64 (*.f64 1/3 x)) (*.f64 1/45 (pow.f64 x 3))) |
(*.f64 (*.f64 1/3 (pow.f64 x 3)) (*.f64 (/.f64 (cbrt.f64 (pow.f64 x -2)) 1) (/.f64 (cbrt.f64 (/.f64 1 x)) (tan.f64 x)))) |
(+.f64 (pow.f64 (cbrt.f64 (*.f64 1/3 x)) 3) (+.f64 (*.f64 2/945 (pow.f64 x 5)) (+.f64 (*.f64 1/45 (pow.f64 x 3)) (*.f64 1/4725 (pow.f64 x 7))))) |
(pow.f64 (pow.f64 (*.f64 (cbrt.f64 (cbrt.f64 1/3)) (cbrt.f64 (cbrt.f64 x))) 3) 3) |
(fma.f64 (/.f64 (*.f64 1/9 x) 1) (/.f64 x (fma.f64 x 1/3 (*.f64 (pow.f64 x 3) -1/45))) (neg.f64 (*.f64 1/2025 (/.f64 (pow.f64 x 6) (fma.f64 x 1/3 (*.f64 (pow.f64 x 3) -1/45)))))) |
(/.f64 (+.f64 (*.f64 (pow.f64 x 3) 1/27) (*.f64 1/91125 (pow.f64 (pow.f64 x 3) 3))) (+.f64 (pow.f64 (*.f64 1/3 x) 2) (-.f64 (*.f64 1/2025 (pow.f64 x 6)) (*.f64 (*.f64 (*.f64 1/3 x) 1/45) (pow.f64 x 3))))) |
(/.f64 1 (/.f64 (+.f64 (pow.f64 (*.f64 1/3 x) 2) (-.f64 (*.f64 1/2025 (pow.f64 x 6)) (*.f64 (*.f64 (*.f64 1/3 x) 1/45) (pow.f64 x 3)))) (+.f64 (*.f64 (pow.f64 x 3) 1/27) (*.f64 1/91125 (pow.f64 (pow.f64 x 3) 3))))) |
(fma.f64 (*.f64 (pow.f64 (cbrt.f64 (cbrt.f64 (*.f64 1/3 x))) 4) (cbrt.f64 (pow.f64 (cbrt.f64 (*.f64 1/3 x)) 2))) (cbrt.f64 (*.f64 1/3 x)) (*.f64 1/45 (pow.f64 x 3))) |
| Outputs |
|---|
(+.f64 (*.f64 1/3 x) (+.f64 (*.f64 2/945 (pow.f64 x 5)) (+.f64 (*.f64 1/45 (pow.f64 x 3)) (*.f64 1/4725 (pow.f64 x 7))))) |
3 calls:
| 47.0ms | x |
| 19.0ms | (-.f64 (/.f64 1 x) (/.f64 1 (tan.f64 x))) |
| 10.0ms | (-.f64 (/.f64 1 x) (/.f64 1 (tan.f64 x))) |
| Error | Segments | Branch |
|---|---|---|
| 0.3b | 1 | x |
| 0.3b | 1 | (-.f64 (/.f64 1 x) (/.f64 1 (tan.f64 x))) |
| 0.3b | 1 | (-.f64 (/.f64 1 x) (/.f64 1 (tan.f64 x))) |
Compiled 729 to 535 computations (26.6% saved)
| Inputs |
|---|
(*.f64 1/3 x) |
(-.f64 (+.f64 1 (*.f64 x 1/3)) 1) |
(*.f64 x (+.f64 (*.f64 x (*.f64 x 1/45)) 1/3)) |
(+.f64 (*.f64 (*.f64 x (*.f64 x 1/45)) x) (*.f64 1/3 x)) |
(sqrt.f64 (*.f64 x (*.f64 x 1/9))) |
(sqrt.f64 (*.f64 (*.f64 x x) 1/9)) |
(/.f64 (*.f64 1/3 (*.f64 x x)) (tan.f64 x)) |
(*.f64 x (fma.f64 x (*.f64 x 1/45) 1/3)) |
(*.f64 x (fma.f64 1/45 (*.f64 x x) 1/3)) |
(-.f64 (/.f64 1 x) (/.f64 1 (tan.f64 x))) |
(+.f64 (*.f64 1/3 x) (*.f64 1/45 (pow.f64 x 3))) |
(/.f64 1 (/.f64 (tan.f64 x) (*.f64 1/3 (*.f64 x x)))) |
(*.f64 (*.f64 1/3 (pow.f64 x 3)) (/.f64 1 (*.f64 x x))) |
(-.f64 (+.f64 1 (*.f64 x (fma.f64 x (*.f64 x 1/45) 1/3))) 1) |
(*.f64 x (/.f64 (+.f64 (pow.f64 (*.f64 x (*.f64 x 1/45)) 3) 1/27) (+.f64 (*.f64 (*.f64 x (*.f64 x 1/45)) (*.f64 x (*.f64 x 1/45))) (-.f64 1/9 (*.f64 (*.f64 x (*.f64 x 1/45)) 1/3))))) |
(cbrt.f64 (*.f64 (pow.f64 x 3) 1/27)) |
(pow.f64 (sqrt.f64 (*.f64 x 1/3)) 2) |
(cbrt.f64 (pow.f64 (*.f64 1/3 x) 3)) |
(pow.f64 (cbrt.f64 (*.f64 1/3 x)) 3) |
(pow.f64 (sqrt.f64 (*.f64 1/3 x)) 2) |
(*.f64 (*.f64 1/3 (sqrt.f64 x)) (sqrt.f64 x)) |
(*.f64 (*.f64 1/3 (sqrt.f64 x)) (sqrt.f64 x)) |
(*.f64 (sqrt.f64 x) (sqrt.f64 (*.f64 x 1/9))) |
(/.f64 (/.f64 (-.f64 (tan.f64 x) x) x) (tan.f64 x)) |
(/.f64 (/.f64 (-.f64 (tan.f64 x) x) x) (tan.f64 x)) |
(/.f64 (*.f64 1/3 (pow.f64 x 3)) (*.f64 x (tan.f64 x))) |
(*.f64 (-.f64 (tan.f64 x) x) (/.f64 (/.f64 1 x) (tan.f64 x))) |
(*.f64 (*.f64 1/3 (pow.f64 x 3)) (/.f64 (/.f64 1 x) (tan.f64 x))) |
(+.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 (-.f64 (*.f64 x (*.f64 x 1/9)) (*.f64 (pow.f64 x 6) 1/2025)) (-.f64 (*.f64 1/3 x) (*.f64 1/45 (pow.f64 x 3)))) |
(/.f64 (-.f64 (*.f64 1/9 (*.f64 x x)) (*.f64 (pow.f64 x 6) 1/2025)) (-.f64 (*.f64 1/3 x) (*.f64 1/45 (pow.f64 x 3)))) |
(pow.f64 (*.f64 (cbrt.f64 x) (cbrt.f64 1/3)) 3) |
(pow.f64 (*.f64 (cbrt.f64 x) (cbrt.f64 1/3)) 3) |
(*.f64 (pow.f64 (cbrt.f64 x) 2) (*.f64 (cbrt.f64 x) 1/3)) |
(log.f64 (exp.f64 (-.f64 (/.f64 1 x) (/.f64 1 (tan.f64 x))))) |
(pow.f64 (/.f64 1 (fma.f64 x 1/3 (*.f64 1/45 (pow.f64 x 3)))) -1) |
(*.f64 (pow.f64 (*.f64 x 1/3) 1/4) (*.f64 (pow.f64 (*.f64 x 1/3) 1/4) (sqrt.f64 (*.f64 x 1/3)))) |
(*.f64 (+.f64 (*.f64 1/3 (pow.f64 x 3)) (*.f64 2/15 (pow.f64 x 5))) (/.f64 (/.f64 1 x) (tan.f64 x))) |
| Outputs |
|---|
(+.f64 (*.f64 1/3 x) (+.f64 (*.f64 2/945 (pow.f64 x 5)) (*.f64 1/45 (pow.f64 x 3)))) |
3 calls:
| 38.0ms | x |
| 13.0ms | (-.f64 (/.f64 1 x) (/.f64 1 (tan.f64 x))) |
| 8.0ms | (-.f64 (/.f64 1 x) (/.f64 1 (tan.f64 x))) |
| Error | Segments | Branch |
|---|---|---|
| 0.4b | 1 | x |
| 0.4b | 1 | (-.f64 (/.f64 1 x) (/.f64 1 (tan.f64 x))) |
| 0.4b | 1 | (-.f64 (/.f64 1 x) (/.f64 1 (tan.f64 x))) |
Compiled 423 to 286 computations (32.4% saved)
| Inputs |
|---|
(*.f64 1/3 x) |
(-.f64 (+.f64 1 (*.f64 x 1/3)) 1) |
(*.f64 x (+.f64 (*.f64 x (*.f64 x 1/45)) 1/3)) |
(+.f64 (*.f64 (*.f64 x (*.f64 x 1/45)) x) (*.f64 1/3 x)) |
(sqrt.f64 (*.f64 x (*.f64 x 1/9))) |
(sqrt.f64 (*.f64 (*.f64 x x) 1/9)) |
(/.f64 (*.f64 1/3 (*.f64 x x)) (tan.f64 x)) |
(*.f64 x (fma.f64 x (*.f64 x 1/45) 1/3)) |
(*.f64 x (fma.f64 1/45 (*.f64 x x) 1/3)) |
(-.f64 (/.f64 1 x) (/.f64 1 (tan.f64 x))) |
(+.f64 (*.f64 1/3 x) (*.f64 1/45 (pow.f64 x 3))) |
(/.f64 1 (/.f64 (tan.f64 x) (*.f64 1/3 (*.f64 x x)))) |
(*.f64 (*.f64 1/3 (pow.f64 x 3)) (/.f64 1 (*.f64 x x))) |
(-.f64 (+.f64 1 (*.f64 x (fma.f64 x (*.f64 x 1/45) 1/3))) 1) |
(*.f64 x (/.f64 (+.f64 (pow.f64 (*.f64 x (*.f64 x 1/45)) 3) 1/27) (+.f64 (*.f64 (*.f64 x (*.f64 x 1/45)) (*.f64 x (*.f64 x 1/45))) (-.f64 1/9 (*.f64 (*.f64 x (*.f64 x 1/45)) 1/3))))) |
(cbrt.f64 (*.f64 (pow.f64 x 3) 1/27)) |
(pow.f64 (sqrt.f64 (*.f64 x 1/3)) 2) |
(cbrt.f64 (pow.f64 (*.f64 1/3 x) 3)) |
(pow.f64 (cbrt.f64 (*.f64 1/3 x)) 3) |
(pow.f64 (sqrt.f64 (*.f64 1/3 x)) 2) |
(*.f64 (*.f64 1/3 (sqrt.f64 x)) (sqrt.f64 x)) |
(*.f64 (*.f64 1/3 (sqrt.f64 x)) (sqrt.f64 x)) |
(*.f64 (sqrt.f64 x) (sqrt.f64 (*.f64 x 1/9))) |
(/.f64 (/.f64 (-.f64 (tan.f64 x) x) x) (tan.f64 x)) |
(/.f64 (/.f64 (-.f64 (tan.f64 x) x) x) (tan.f64 x)) |
(/.f64 (*.f64 1/3 (pow.f64 x 3)) (*.f64 x (tan.f64 x))) |
(*.f64 (-.f64 (tan.f64 x) x) (/.f64 (/.f64 1 x) (tan.f64 x))) |
(*.f64 (*.f64 1/3 (pow.f64 x 3)) (/.f64 (/.f64 1 x) (tan.f64 x))) |
| Outputs |
|---|
(*.f64 x (/.f64 (+.f64 (pow.f64 (*.f64 x (*.f64 x 1/45)) 3) 1/27) (+.f64 (*.f64 (*.f64 x (*.f64 x 1/45)) (*.f64 x (*.f64 x 1/45))) (-.f64 1/9 (*.f64 (*.f64 x (*.f64 x 1/45)) 1/3))))) |
2 calls:
| 29.0ms | x |
| 8.0ms | (-.f64 (/.f64 1 x) (/.f64 1 (tan.f64 x))) |
| Error | Segments | Branch |
|---|---|---|
| 0.5b | 1 | x |
| 0.5b | 1 | (-.f64 (/.f64 1 x) (/.f64 1 (tan.f64 x))) |
Compiled 263 to 165 computations (37.3% saved)
| Inputs |
|---|
(*.f64 1/3 x) |
(-.f64 (+.f64 1 (*.f64 x 1/3)) 1) |
(*.f64 x (+.f64 (*.f64 x (*.f64 x 1/45)) 1/3)) |
(+.f64 (*.f64 (*.f64 x (*.f64 x 1/45)) x) (*.f64 1/3 x)) |
(sqrt.f64 (*.f64 x (*.f64 x 1/9))) |
(sqrt.f64 (*.f64 (*.f64 x x) 1/9)) |
(/.f64 (*.f64 1/3 (*.f64 x x)) (tan.f64 x)) |
(*.f64 x (fma.f64 x (*.f64 x 1/45) 1/3)) |
(*.f64 x (fma.f64 1/45 (*.f64 x x) 1/3)) |
(-.f64 (/.f64 1 x) (/.f64 1 (tan.f64 x))) |
(+.f64 (*.f64 1/3 x) (*.f64 1/45 (pow.f64 x 3))) |
(/.f64 1 (/.f64 (tan.f64 x) (*.f64 1/3 (*.f64 x x)))) |
(*.f64 (*.f64 1/3 (pow.f64 x 3)) (/.f64 1 (*.f64 x x))) |
(-.f64 (+.f64 1 (*.f64 x (fma.f64 x (*.f64 x 1/45) 1/3))) 1) |
| Outputs |
|---|
(+.f64 (*.f64 (*.f64 x (*.f64 x 1/45)) x) (*.f64 1/3 x)) |
2 calls:
| 16.0ms | x |
| 6.0ms | (-.f64 (/.f64 1 x) (/.f64 1 (tan.f64 x))) |
| Error | Segments | Branch |
|---|---|---|
| 0.5b | 1 | x |
| 0.5b | 1 | (-.f64 (/.f64 1 x) (/.f64 1 (tan.f64 x))) |
Compiled 128 to 84 computations (34.4% saved)
| Inputs |
|---|
(*.f64 1/3 x) |
(-.f64 (+.f64 1 (*.f64 x 1/3)) 1) |
(*.f64 x (+.f64 (*.f64 x (*.f64 x 1/45)) 1/3)) |
| Outputs |
|---|
(*.f64 x (+.f64 (*.f64 x (*.f64 x 1/45)) 1/3)) |
1 calls:
| 8.0ms | x |
| Error | Segments | Branch |
|---|---|---|
| 0.5b | 1 | x |
Compiled 22 to 16 computations (27.3% saved)
Total -58.0b remaining (-5790.4%)
Threshold costs -58.0b (-5790.4%)
| Inputs |
|---|
(*.f64 1/3 x) |
(-.f64 (+.f64 1 (*.f64 x 1/3)) 1) |
| Outputs |
|---|
(*.f64 1/3 x) |
1 calls:
| 7.0ms | x |
| Error | Segments | Branch |
|---|---|---|
| 1.0b | 1 | x |
Compiled 13 to 10 computations (23.1% saved)
| 1× | egg-herbie |
| 14× | +-commutative_binary64 |
| 14× | *-commutative_binary64 |
| 6× | distribute-rgt-neg-in_binary64 |
| 5× | distribute-lft-neg-in_binary64 |
| 5× | sub-neg_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 37 | 135 |
| 1 | 61 | 135 |
| 2 | 80 | 135 |
| 3 | 94 | 135 |
| 4 | 100 | 135 |
| 5 | 102 | 135 |
| 1× | fuel |
| 1× | saturated |
| Inputs |
|---|
(+.f64 (*.f64 1/3 x) (+.f64 (*.f64 2/945 (pow.f64 x 5)) (+.f64 (*.f64 1/45 (pow.f64 x 3)) (*.f64 1/4725 (pow.f64 x 7))))) |
(+.f64 (*.f64 1/3 x) (+.f64 (*.f64 2/945 (pow.f64 x 5)) (*.f64 1/45 (pow.f64 x 3)))) |
(*.f64 x (/.f64 (+.f64 (pow.f64 (*.f64 x (*.f64 x 1/45)) 3) 1/27) (+.f64 (*.f64 (*.f64 x (*.f64 x 1/45)) (*.f64 x (*.f64 x 1/45))) (-.f64 1/9 (*.f64 (*.f64 x (*.f64 x 1/45)) 1/3))))) |
(+.f64 (*.f64 (*.f64 x (*.f64 x 1/45)) x) (*.f64 1/3 x)) |
(*.f64 x (+.f64 (*.f64 x (*.f64 x 1/45)) 1/3)) |
(*.f64 1/3 x) |
| Outputs |
|---|
(+.f64 (*.f64 1/3 x) (+.f64 (*.f64 2/945 (pow.f64 x 5)) (+.f64 (*.f64 1/45 (pow.f64 x 3)) (*.f64 1/4725 (pow.f64 x 7))))) |
(+.f64 (*.f64 1/3 x) (+.f64 (*.f64 2/945 (pow.f64 x 5)) (*.f64 1/45 (pow.f64 x 3)))) |
(*.f64 x (/.f64 (+.f64 (pow.f64 (*.f64 x (*.f64 x 1/45)) 3) 1/27) (+.f64 (*.f64 (*.f64 x (*.f64 x 1/45)) (*.f64 x (*.f64 x 1/45))) (-.f64 1/9 (*.f64 (*.f64 x (*.f64 x 1/45)) 1/3))))) |
(*.f64 x (/.f64 (+.f64 (pow.f64 (*.f64 x (*.f64 x 1/45)) 3) 1/27) (+.f64 (*.f64 (*.f64 x (*.f64 x 1/45)) (*.f64 x (*.f64 x 1/45))) (-.f64 1/9 (*.f64 1/3 (*.f64 x (*.f64 x 1/45))))))) |
(*.f64 x (/.f64 (+.f64 (pow.f64 (*.f64 x (*.f64 x 1/45)) 3) 1/27) (+.f64 (*.f64 (*.f64 x (*.f64 x 1/45)) (*.f64 x (*.f64 x 1/45))) (+.f64 1/9 (*.f64 (*.f64 x (*.f64 x 1/45)) -1/3))))) |
(*.f64 x (/.f64 (+.f64 (pow.f64 (*.f64 x (*.f64 x 1/45)) 3) 1/27) (+.f64 (*.f64 (*.f64 x (*.f64 x 1/45)) (*.f64 x (*.f64 x 1/45))) (+.f64 1/9 (*.f64 1/3 (*.f64 x (*.f64 x -1/45))))))) |
(+.f64 (*.f64 (*.f64 x (*.f64 x 1/45)) x) (*.f64 1/3 x)) |
(+.f64 (*.f64 1/3 x) (*.f64 x (*.f64 x (*.f64 x 1/45)))) |
(*.f64 x (+.f64 (*.f64 x (*.f64 x 1/45)) 1/3)) |
(*.f64 x (+.f64 1/3 (*.f64 x (*.f64 x 1/45)))) |
(*.f64 1/3 x) |
Compiled 98 to 74 computations (24.5% saved)
Compiled 93 to 69 computations (25.8% saved)
Loading profile data...