Time bar (total: 15.0s)
| 1× | search |
| True | Other | False | Iter |
|---|---|---|---|
| 0% | 50% | 50% | 0 |
| 0% | 50% | 50% | 1 |
| 0% | 50% | 50% | 2 |
| 37.5% | 12.5% | 50% | 3 |
| 43.7% | 6.2% | 50% | 4 |
| 46.8% | 3.1% | 50% | 5 |
| 48.4% | 1.6% | 50% | 6 |
| 49.2% | 0.8% | 50% | 7 |
| 49.6% | 0.4% | 50% | 8 |
| 49.8% | 0.2% | 50% | 9 |
| 49.9% | 0.1% | 50% | 10 |
| 49.9% | 0% | 50% | 11 |
| 49.9% | 0% | 50% | 12 |
Compiled 15 to 10 computations (33.3% saved)
| 10.5s | 4318× | body | 2048 | valid |
| 1.9s | 2085× | body | 1024 | valid |
| 550.0ms | 1026× | body | 512 | valid |
| 205.0ms | 509× | body | 256 | valid |
| 101.0ms | 281× | body | 128 | valid |
| 5.0ms | 37× | body | 64 | valid |
| 2× | egg-herbie |
| 577× | fma-def_binary64 |
| 278× | fma-neg_binary64 |
| 235× | times-frac_binary64 |
| 176× | div-sub_binary64 |
| 119× | distribute-rgt-in_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 6 | 11 |
| 1 | 11 | 11 |
| 2 | 18 | 11 |
| 3 | 29 | 11 |
| 4 | 56 | 11 |
| 5 | 86 | 11 |
| 6 | 150 | 11 |
| 7 | 238 | 11 |
| 8 | 380 | 11 |
| 9 | 714 | 11 |
| 10 | 1628 | 11 |
| 11 | 2249 | 11 |
| 12 | 2882 | 11 |
| 13 | 2945 | 11 |
| 14 | 2983 | 11 |
| 15 | 2993 | 11 |
| 0 | 1 | 1 |
| 1× | saturated |
| 1× | saturated |
| Inputs |
|---|
0 |
| Outputs |
|---|
0 |
| Inputs |
|---|
(/.f64 (-.f64 x (sin.f64 x)) (tan.f64 x)) |
| Outputs |
|---|
(/.f64 (-.f64 x (sin.f64 x)) (tan.f64 x)) |
Compiled 8 to 5 computations (37.5% saved)
| 1× | egg-herbie |
| 577× | fma-def_binary64 |
| 278× | fma-neg_binary64 |
| 235× | times-frac_binary64 |
| 176× | div-sub_binary64 |
| 119× | distribute-rgt-in_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 6 | 11 |
| 1 | 11 | 11 |
| 2 | 18 | 11 |
| 3 | 29 | 11 |
| 4 | 56 | 11 |
| 5 | 86 | 11 |
| 6 | 150 | 11 |
| 7 | 238 | 11 |
| 8 | 380 | 11 |
| 9 | 714 | 11 |
| 10 | 1628 | 11 |
| 11 | 2249 | 11 |
| 12 | 2882 | 11 |
| 13 | 2945 | 11 |
| 14 | 2983 | 11 |
| 15 | 2993 | 11 |
| 1× | saturated |
| Inputs |
|---|
(/.f64 (-.f64 x (sin.f64 x)) (tan.f64 x)) |
| Outputs |
|---|
(/.f64 (-.f64 x (sin.f64 x)) (tan.f64 x)) |
2 alts after pruning (2 fresh and 0 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 0 | 1 | 1 |
| Fresh | 0 | 1 | 1 |
| Picked | 0 | 0 | 0 |
| Done | 0 | 0 | 0 |
| Total | 0 | 2 | 2 |
| Status | Error | Program |
|---|---|---|
| ▶ | 30.2b | (/.f64 (-.f64 x (sin.f64 x)) (tan.f64 x)) |
Compiled 24 to 15 computations (37.5% saved)
Found 2 expressions with local error:
| New | Error | Program |
|---|---|---|
| ✓ | 0.0b | (/.f64 (-.f64 x (sin.f64 x)) (tan.f64 x)) |
| ✓ | 2.1b | (-.f64 x (sin.f64 x)) |
6 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 10.0ms | x | @ | 0 | (-.f64 x (sin.f64 x)) |
| 1.0ms | x | @ | -inf | (/.f64 (-.f64 x (sin.f64 x)) (tan.f64 x)) |
| 1.0ms | x | @ | inf | (/.f64 (-.f64 x (sin.f64 x)) (tan.f64 x)) |
| 1.0ms | x | @ | 0 | (/.f64 (-.f64 x (sin.f64 x)) (tan.f64 x)) |
| 1.0ms | x | @ | inf | (-.f64 x (sin.f64 x)) |
| 1× | batch-egg-rewrite |
| 924× | pow1_binary64 |
| 864× | add-log-exp_binary64 |
| 864× | log1p-expm1-u_binary64 |
| 864× | expm1-log1p-u_binary64 |
| 845× | add-exp-log_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 6 | 17 |
| 1 | 140 | 17 |
| 2 | 2184 | 17 |
| 1× | node limit |
| Inputs |
|---|
(-.f64 x (sin.f64 x)) |
(/.f64 (-.f64 x (sin.f64 x)) (tan.f64 x)) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x +.f64 x (neg.f64 (sin.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 x (*.f64 (neg.f64 (sin.f64 x)) 1))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (-.f64 x (sin.f64 x)) (fma.f64 (neg.f64 (sin.f64 x)) 1 (sin.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (-.f64 x (sin.f64 x)) (fma.f64 (neg.f64 (cbrt.f64 (sin.f64 x))) (pow.f64 (cbrt.f64 (sin.f64 x)) 2) (sin.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (-.f64 x (sin.f64 x)) (fma.f64 (neg.f64 (sqrt.f64 (sin.f64 x))) (sqrt.f64 (sin.f64 x)) (sin.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (neg.f64 (sin.f64 x)) x)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (-.f64 x (sin.f64 x)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (-.f64 x (sin.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (-.f64 x (sin.f64 x))) (pow.f64 (cbrt.f64 (-.f64 x (sin.f64 x))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (-.f64 x (sin.f64 x))) 2) (cbrt.f64 (-.f64 x (sin.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (-.f64 x (sin.f64 x))) (sqrt.f64 (-.f64 x (sin.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (-.f64 (pow.f64 x 3) (pow.f64 (sin.f64 x) 3)) (/.f64 1 (fma.f64 x x (*.f64 (sin.f64 x) (+.f64 x (sin.f64 x))))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (-.f64 (*.f64 x x) (pow.f64 (sin.f64 x) 2)) (/.f64 1 (+.f64 x (sin.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 (sqrt.f64 x) (sqrt.f64 (sin.f64 x))) (-.f64 (sqrt.f64 x) (sqrt.f64 (sin.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (fma.f64 x x (*.f64 (sin.f64 x) (+.f64 x (sin.f64 x)))) (-.f64 (pow.f64 x 3) (pow.f64 (sin.f64 x) 3))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (+.f64 x (sin.f64 x)) (-.f64 (*.f64 x x) (pow.f64 (sin.f64 x) 2))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (pow.f64 x 3) (pow.f64 (sin.f64 x) 3)) (fma.f64 x x (*.f64 (sin.f64 x) (+.f64 x (sin.f64 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (*.f64 x x) (pow.f64 (sin.f64 x) 2)) (+.f64 x (sin.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (-.f64 (pow.f64 x 3) (pow.f64 (sin.f64 x) 3))) (neg.f64 (fma.f64 x x (*.f64 (sin.f64 x) (+.f64 x (sin.f64 x))))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (-.f64 (*.f64 x x) (pow.f64 (sin.f64 x) 2))) (neg.f64 (+.f64 x (sin.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 x 3) (pow.f64 (neg.f64 (sin.f64 x)) 3)) (+.f64 (*.f64 x x) (-.f64 (*.f64 (neg.f64 (sin.f64 x)) (neg.f64 (sin.f64 x))) (*.f64 x (neg.f64 (sin.f64 x))))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (*.f64 x x) (*.f64 (neg.f64 (sin.f64 x)) (neg.f64 (sin.f64 x)))) (-.f64 x (neg.f64 (sin.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (-.f64 x (sin.f64 x)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (-.f64 x (sin.f64 x)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (-.f64 x (sin.f64 x))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (-.f64 x (sin.f64 x))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (-.f64 x (sin.f64 x)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (-.f64 x (sin.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (-.f64 x (sin.f64 x)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 x (neg.f64 (sin.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 x) 2) (cbrt.f64 x) (neg.f64 (sin.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 x) (sqrt.f64 x) (neg.f64 (sin.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (-.f64 x (sin.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (-.f64 x (sin.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (-.f64 x (sin.f64 x)))))))) |
((#(struct:change #<rule egg-rr> (2) ((x +.f64 (/.f64 x (tan.f64 x)) (neg.f64 (/.f64 (sin.f64 x) (tan.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (/.f64 x (tan.f64 x)) (/.f64 (sin.f64 x) (tan.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (/.f64 (-.f64 x (sin.f64 x)) (tan.f64 x))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (-.f64 x (sin.f64 x)) (/.f64 1 (tan.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (-.f64 x (sin.f64 x)) (tan.f64 x)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (/.f64 (-.f64 x (sin.f64 x)) (tan.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (/.f64 (-.f64 x (sin.f64 x)) (tan.f64 x))) (pow.f64 (cbrt.f64 (/.f64 (-.f64 x (sin.f64 x)) (tan.f64 x))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (/.f64 (-.f64 x (sin.f64 x)) (tan.f64 x))) 2) (cbrt.f64 (/.f64 (-.f64 x (sin.f64 x)) (tan.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (-.f64 x (sin.f64 x))) 2) (*.f64 (cbrt.f64 (-.f64 x (sin.f64 x))) (/.f64 1 (tan.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (/.f64 (-.f64 x (sin.f64 x)) (tan.f64 x))) (sqrt.f64 (/.f64 (-.f64 x (sin.f64 x)) (tan.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (-.f64 x (sin.f64 x))) (*.f64 (sqrt.f64 (-.f64 x (sin.f64 x))) (/.f64 1 (tan.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (neg.f64 (-.f64 x (sin.f64 x))) (/.f64 1 (neg.f64 (tan.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 1 (tan.f64 x)) (-.f64 x (sin.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 1 (pow.f64 (cbrt.f64 (tan.f64 x)) 2)) (/.f64 (-.f64 x (sin.f64 x)) (cbrt.f64 (tan.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 1 (sqrt.f64 (tan.f64 x))) (/.f64 (-.f64 x (sin.f64 x)) (sqrt.f64 (tan.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (pow.f64 (cbrt.f64 (-.f64 x (sin.f64 x))) 2) 1) (/.f64 (cbrt.f64 (-.f64 x (sin.f64 x))) (tan.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (sqrt.f64 (-.f64 x (sin.f64 x))) 1) (/.f64 (sqrt.f64 (-.f64 x (sin.f64 x))) (tan.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (pow.f64 (cbrt.f64 (-.f64 x (sin.f64 x))) 2) (pow.f64 (cbrt.f64 (tan.f64 x)) 2)) (cbrt.f64 (/.f64 (-.f64 x (sin.f64 x)) (tan.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (sqrt.f64 (-.f64 x (sin.f64 x))) (pow.f64 (cbrt.f64 (tan.f64 x)) 2)) (/.f64 (sqrt.f64 (-.f64 x (sin.f64 x))) (cbrt.f64 (tan.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (pow.f64 (cbrt.f64 (-.f64 x (sin.f64 x))) 2) (sqrt.f64 (tan.f64 x))) (/.f64 (cbrt.f64 (-.f64 x (sin.f64 x))) (sqrt.f64 (tan.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (-.f64 x (sin.f64 x)) (sin.f64 x)) (cos.f64 x))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 (-.f64 x (sin.f64 x)) (tan.f64 x)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (/.f64 (-.f64 x (sin.f64 x)) (tan.f64 x)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (/.f64 (-.f64 x (sin.f64 x)) (tan.f64 x))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (/.f64 (-.f64 x (sin.f64 x)) (tan.f64 x))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 (tan.f64 x) (-.f64 x (sin.f64 x))) -1)))) (#(struct:change #<rule egg-rr> (2) ((x neg.f64 (/.f64 (-.f64 x (sin.f64 x)) (neg.f64 (tan.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (/.f64 (-.f64 x (sin.f64 x)) (tan.f64 x)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (/.f64 (-.f64 x (sin.f64 x)) (tan.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (/.f64 (-.f64 x (sin.f64 x)) (tan.f64 x)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (/.f64 (pow.f64 (-.f64 x (sin.f64 x)) 3) (pow.f64 (tan.f64 x) 3)))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (/.f64 (-.f64 x (sin.f64 x)) (tan.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (/.f64 (-.f64 x (sin.f64 x)) (tan.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (/.f64 (-.f64 x (sin.f64 x)) (tan.f64 x)))))))) |
| 1× | egg-herbie |
| 740× | distribute-lft-out_binary64 |
| 685× | distribute-rgt-out_binary64 |
| 663× | fma-def_binary64 |
| 620× | associate-*l*_binary64 |
| 446× | associate-*r*_binary64 |
Useful iterations: 3 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 52 | 314 |
| 1 | 132 | 296 |
| 2 | 302 | 296 |
| 3 | 878 | 284 |
| 4 | 3493 | 284 |
| 5 | 6253 | 284 |
| 6 | 7137 | 284 |
| 1× | node limit |
| Inputs |
|---|
(*.f64 1/6 (pow.f64 x 3)) |
(+.f64 (*.f64 1/6 (pow.f64 x 3)) (*.f64 -1/120 (pow.f64 x 5))) |
(+.f64 (*.f64 1/6 (pow.f64 x 3)) (+.f64 (*.f64 1/5040 (pow.f64 x 7)) (*.f64 -1/120 (pow.f64 x 5)))) |
(+.f64 (*.f64 1/6 (pow.f64 x 3)) (+.f64 (*.f64 -1/362880 (pow.f64 x 9)) (+.f64 (*.f64 1/5040 (pow.f64 x 7)) (*.f64 -1/120 (pow.f64 x 5))))) |
x |
(+.f64 (*.f64 -1 (sin.f64 x)) x) |
(+.f64 (*.f64 -1 (sin.f64 x)) x) |
(+.f64 (*.f64 -1 (sin.f64 x)) x) |
x |
(+.f64 (*.f64 -1 (sin.f64 x)) x) |
(+.f64 (*.f64 -1 (sin.f64 x)) x) |
(+.f64 (*.f64 -1 (sin.f64 x)) x) |
(*.f64 1/6 (pow.f64 x 2)) |
(+.f64 (*.f64 1/6 (pow.f64 x 2)) (*.f64 -23/360 (pow.f64 x 4))) |
(+.f64 (*.f64 1/6 (pow.f64 x 2)) (+.f64 (*.f64 -11/15120 (pow.f64 x 6)) (*.f64 -23/360 (pow.f64 x 4)))) |
(+.f64 (*.f64 1/6 (pow.f64 x 2)) (+.f64 (*.f64 -143/604800 (pow.f64 x 8)) (+.f64 (*.f64 -11/15120 (pow.f64 x 6)) (*.f64 -23/360 (pow.f64 x 4))))) |
(/.f64 (*.f64 (cos.f64 x) x) (sin.f64 x)) |
(+.f64 (/.f64 (*.f64 (cos.f64 x) x) (sin.f64 x)) (*.f64 -1 (cos.f64 x))) |
(+.f64 (/.f64 (*.f64 (cos.f64 x) x) (sin.f64 x)) (*.f64 -1 (cos.f64 x))) |
(+.f64 (/.f64 (*.f64 (cos.f64 x) x) (sin.f64 x)) (*.f64 -1 (cos.f64 x))) |
(/.f64 (*.f64 (cos.f64 x) x) (sin.f64 x)) |
(+.f64 (/.f64 (*.f64 (cos.f64 x) x) (sin.f64 x)) (*.f64 -1 (cos.f64 x))) |
(+.f64 (/.f64 (*.f64 (cos.f64 x) x) (sin.f64 x)) (*.f64 -1 (cos.f64 x))) |
(+.f64 (/.f64 (*.f64 (cos.f64 x) x) (sin.f64 x)) (*.f64 -1 (cos.f64 x))) |
| Outputs |
|---|
(*.f64 1/6 (pow.f64 x 3)) |
(+.f64 (*.f64 1/6 (pow.f64 x 3)) (*.f64 -1/120 (pow.f64 x 5))) |
(fma.f64 1/6 (pow.f64 x 3) (*.f64 -1/120 (pow.f64 x 5))) |
(fma.f64 -1/120 (pow.f64 x 5) (*.f64 1/6 (pow.f64 x 3))) |
(+.f64 (*.f64 1/6 (pow.f64 x 3)) (+.f64 (*.f64 1/5040 (pow.f64 x 7)) (*.f64 -1/120 (pow.f64 x 5)))) |
(fma.f64 1/6 (pow.f64 x 3) (fma.f64 1/5040 (pow.f64 x 7) (*.f64 -1/120 (pow.f64 x 5)))) |
(fma.f64 1/6 (pow.f64 x 3) (fma.f64 -1/120 (pow.f64 x 5) (*.f64 1/5040 (pow.f64 x 7)))) |
(fma.f64 -1/120 (pow.f64 x 5) (fma.f64 1/6 (pow.f64 x 3) (*.f64 1/5040 (pow.f64 x 7)))) |
(+.f64 (*.f64 1/6 (pow.f64 x 3)) (+.f64 (*.f64 -1/362880 (pow.f64 x 9)) (+.f64 (*.f64 1/5040 (pow.f64 x 7)) (*.f64 -1/120 (pow.f64 x 5))))) |
(fma.f64 1/6 (pow.f64 x 3) (fma.f64 -1/362880 (pow.f64 x 9) (fma.f64 1/5040 (pow.f64 x 7) (*.f64 -1/120 (pow.f64 x 5))))) |
(fma.f64 1/6 (pow.f64 x 3) (fma.f64 -1/362880 (pow.f64 x 9) (fma.f64 -1/120 (pow.f64 x 5) (*.f64 1/5040 (pow.f64 x 7))))) |
(fma.f64 -1/120 (pow.f64 x 5) (fma.f64 1/6 (pow.f64 x 3) (fma.f64 1/5040 (pow.f64 x 7) (*.f64 -1/362880 (pow.f64 x 9))))) |
(fma.f64 1/6 (pow.f64 x 3) (fma.f64 -1/120 (pow.f64 x 5) (fma.f64 1/5040 (pow.f64 x 7) (*.f64 -1/362880 (pow.f64 x 9))))) |
x |
(+.f64 (*.f64 -1 (sin.f64 x)) x) |
(fma.f64 -1 (sin.f64 x) x) |
(-.f64 x (sin.f64 x)) |
(+.f64 (*.f64 -1 (sin.f64 x)) x) |
(fma.f64 -1 (sin.f64 x) x) |
(-.f64 x (sin.f64 x)) |
(+.f64 (*.f64 -1 (sin.f64 x)) x) |
(fma.f64 -1 (sin.f64 x) x) |
(-.f64 x (sin.f64 x)) |
x |
(+.f64 (*.f64 -1 (sin.f64 x)) x) |
(fma.f64 -1 (sin.f64 x) x) |
(-.f64 x (sin.f64 x)) |
(+.f64 (*.f64 -1 (sin.f64 x)) x) |
(fma.f64 -1 (sin.f64 x) x) |
(-.f64 x (sin.f64 x)) |
(+.f64 (*.f64 -1 (sin.f64 x)) x) |
(fma.f64 -1 (sin.f64 x) x) |
(-.f64 x (sin.f64 x)) |
(*.f64 1/6 (pow.f64 x 2)) |
(*.f64 1/6 (*.f64 x x)) |
(+.f64 (*.f64 1/6 (pow.f64 x 2)) (*.f64 -23/360 (pow.f64 x 4))) |
(fma.f64 1/6 (*.f64 x x) (*.f64 -23/360 (pow.f64 x 4))) |
(*.f64 x (*.f64 x (fma.f64 (*.f64 x x) -23/360 1/6))) |
(+.f64 (*.f64 1/6 (pow.f64 x 2)) (+.f64 (*.f64 -11/15120 (pow.f64 x 6)) (*.f64 -23/360 (pow.f64 x 4)))) |
(fma.f64 1/6 (*.f64 x x) (fma.f64 -11/15120 (pow.f64 x 6) (*.f64 -23/360 (pow.f64 x 4)))) |
(fma.f64 1/6 (*.f64 x x) (fma.f64 -23/360 (pow.f64 x 4) (*.f64 -11/15120 (pow.f64 x 6)))) |
(fma.f64 -11/15120 (pow.f64 x 6) (fma.f64 1/6 (*.f64 x x) (*.f64 -23/360 (pow.f64 x 4)))) |
(fma.f64 (*.f64 x x) (fma.f64 (*.f64 x x) -23/360 1/6) (*.f64 -11/15120 (pow.f64 x 6))) |
(+.f64 (*.f64 1/6 (pow.f64 x 2)) (+.f64 (*.f64 -143/604800 (pow.f64 x 8)) (+.f64 (*.f64 -11/15120 (pow.f64 x 6)) (*.f64 -23/360 (pow.f64 x 4))))) |
(fma.f64 1/6 (*.f64 x x) (fma.f64 -143/604800 (pow.f64 x 8) (fma.f64 -11/15120 (pow.f64 x 6) (*.f64 -23/360 (pow.f64 x 4))))) |
(fma.f64 1/6 (*.f64 x x) (fma.f64 -23/360 (pow.f64 x 4) (fma.f64 -143/604800 (pow.f64 x 8) (*.f64 -11/15120 (pow.f64 x 6))))) |
(fma.f64 -143/604800 (pow.f64 x 8) (fma.f64 -11/15120 (pow.f64 x 6) (fma.f64 1/6 (*.f64 x x) (*.f64 -23/360 (pow.f64 x 4))))) |
(fma.f64 (*.f64 x x) (fma.f64 x (*.f64 x -23/360) 1/6) (fma.f64 -11/15120 (pow.f64 x 6) (*.f64 -143/604800 (pow.f64 x 8)))) |
(fma.f64 (pow.f64 x 4) (fma.f64 (pow.f64 x 4) -143/604800 -23/360) (fma.f64 1/6 (*.f64 x x) (*.f64 -11/15120 (pow.f64 x 6)))) |
(/.f64 (*.f64 (cos.f64 x) x) (sin.f64 x)) |
(/.f64 (*.f64 x (cos.f64 x)) (sin.f64 x)) |
(*.f64 (/.f64 (cos.f64 x) (sin.f64 x)) x) |
(/.f64 x (/.f64 (sin.f64 x) (cos.f64 x))) |
(*.f64 x (/.f64 (cos.f64 x) (sin.f64 x))) |
(*.f64 (cos.f64 x) (/.f64 x (sin.f64 x))) |
(+.f64 (/.f64 (*.f64 (cos.f64 x) x) (sin.f64 x)) (*.f64 -1 (cos.f64 x))) |
(+.f64 (/.f64 (*.f64 x (cos.f64 x)) (sin.f64 x)) (neg.f64 (cos.f64 x))) |
(-.f64 (*.f64 (/.f64 (cos.f64 x) (sin.f64 x)) x) (cos.f64 x)) |
(-.f64 (/.f64 x (/.f64 (sin.f64 x) (cos.f64 x))) (cos.f64 x)) |
(*.f64 (cos.f64 x) (+.f64 (/.f64 x (sin.f64 x)) -1)) |
(*.f64 (cos.f64 x) (+.f64 -1 (/.f64 x (sin.f64 x)))) |
(+.f64 (/.f64 (*.f64 (cos.f64 x) x) (sin.f64 x)) (*.f64 -1 (cos.f64 x))) |
(+.f64 (/.f64 (*.f64 x (cos.f64 x)) (sin.f64 x)) (neg.f64 (cos.f64 x))) |
(-.f64 (*.f64 (/.f64 (cos.f64 x) (sin.f64 x)) x) (cos.f64 x)) |
(-.f64 (/.f64 x (/.f64 (sin.f64 x) (cos.f64 x))) (cos.f64 x)) |
(*.f64 (cos.f64 x) (+.f64 (/.f64 x (sin.f64 x)) -1)) |
(*.f64 (cos.f64 x) (+.f64 -1 (/.f64 x (sin.f64 x)))) |
(+.f64 (/.f64 (*.f64 (cos.f64 x) x) (sin.f64 x)) (*.f64 -1 (cos.f64 x))) |
(+.f64 (/.f64 (*.f64 x (cos.f64 x)) (sin.f64 x)) (neg.f64 (cos.f64 x))) |
(-.f64 (*.f64 (/.f64 (cos.f64 x) (sin.f64 x)) x) (cos.f64 x)) |
(-.f64 (/.f64 x (/.f64 (sin.f64 x) (cos.f64 x))) (cos.f64 x)) |
(*.f64 (cos.f64 x) (+.f64 (/.f64 x (sin.f64 x)) -1)) |
(*.f64 (cos.f64 x) (+.f64 -1 (/.f64 x (sin.f64 x)))) |
(/.f64 (*.f64 (cos.f64 x) x) (sin.f64 x)) |
(/.f64 (*.f64 x (cos.f64 x)) (sin.f64 x)) |
(*.f64 (/.f64 (cos.f64 x) (sin.f64 x)) x) |
(/.f64 x (/.f64 (sin.f64 x) (cos.f64 x))) |
(*.f64 x (/.f64 (cos.f64 x) (sin.f64 x))) |
(*.f64 (cos.f64 x) (/.f64 x (sin.f64 x))) |
(+.f64 (/.f64 (*.f64 (cos.f64 x) x) (sin.f64 x)) (*.f64 -1 (cos.f64 x))) |
(+.f64 (/.f64 (*.f64 x (cos.f64 x)) (sin.f64 x)) (neg.f64 (cos.f64 x))) |
(-.f64 (*.f64 (/.f64 (cos.f64 x) (sin.f64 x)) x) (cos.f64 x)) |
(-.f64 (/.f64 x (/.f64 (sin.f64 x) (cos.f64 x))) (cos.f64 x)) |
(*.f64 (cos.f64 x) (+.f64 (/.f64 x (sin.f64 x)) -1)) |
(*.f64 (cos.f64 x) (+.f64 -1 (/.f64 x (sin.f64 x)))) |
(+.f64 (/.f64 (*.f64 (cos.f64 x) x) (sin.f64 x)) (*.f64 -1 (cos.f64 x))) |
(+.f64 (/.f64 (*.f64 x (cos.f64 x)) (sin.f64 x)) (neg.f64 (cos.f64 x))) |
(-.f64 (*.f64 (/.f64 (cos.f64 x) (sin.f64 x)) x) (cos.f64 x)) |
(-.f64 (/.f64 x (/.f64 (sin.f64 x) (cos.f64 x))) (cos.f64 x)) |
(*.f64 (cos.f64 x) (+.f64 (/.f64 x (sin.f64 x)) -1)) |
(*.f64 (cos.f64 x) (+.f64 -1 (/.f64 x (sin.f64 x)))) |
(+.f64 (/.f64 (*.f64 (cos.f64 x) x) (sin.f64 x)) (*.f64 -1 (cos.f64 x))) |
(+.f64 (/.f64 (*.f64 x (cos.f64 x)) (sin.f64 x)) (neg.f64 (cos.f64 x))) |
(-.f64 (*.f64 (/.f64 (cos.f64 x) (sin.f64 x)) x) (cos.f64 x)) |
(-.f64 (/.f64 x (/.f64 (sin.f64 x) (cos.f64 x))) (cos.f64 x)) |
(*.f64 (cos.f64 x) (+.f64 (/.f64 x (sin.f64 x)) -1)) |
(*.f64 (cos.f64 x) (+.f64 -1 (/.f64 x (sin.f64 x)))) |
4 alts after pruning (4 fresh and 0 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 87 | 4 | 91 |
| Fresh | 0 | 0 | 0 |
| Picked | 1 | 0 | 1 |
| Done | 0 | 0 | 0 |
| Total | 88 | 4 | 92 |
| Status | Error | Program |
|---|---|---|
| ▶ | 0.4b | (+.f64 (*.f64 1/6 (pow.f64 x 2)) (+.f64 (*.f64 -11/15120 (pow.f64 x 6)) (*.f64 -23/360 (pow.f64 x 4)))) |
| 0.5b | (*.f64 x (*.f64 x (fma.f64 (*.f64 x x) -23/360 1/6))) | |
| 10.0b | (/.f64 (fma.f64 1/6 (pow.f64 x 3) (fma.f64 -1/120 (pow.f64 x 5) (fma.f64 1/5040 (pow.f64 x 7) (*.f64 -1/362880 (pow.f64 x 9))))) (tan.f64 x)) | |
| 30.2b | (pow.f64 (cbrt.f64 (/.f64 (-.f64 x (sin.f64 x)) (tan.f64 x))) 3) |
Compiled 1346 to 571 computations (57.6% saved)
Found 4 expressions with local error:
| New | Error | Program |
|---|---|---|
| ✓ | 0.0b | (+.f64 (*.f64 -11/15120 (pow.f64 x 6)) (*.f64 -23/360 (pow.f64 x 4))) |
| ✓ | 0.1b | (*.f64 -11/15120 (pow.f64 x 6)) |
| ✓ | 0.2b | (*.f64 -23/360 (pow.f64 x 4)) |
| ✓ | 0.2b | (*.f64 1/6 (pow.f64 x 2)) |
12 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 1.0ms | x | @ | 0 | (*.f64 -23/360 (pow.f64 x 4)) |
| 1.0ms | x | @ | 0 | (*.f64 -11/15120 (pow.f64 x 6)) |
| 1.0ms | x | @ | inf | (+.f64 (*.f64 -11/15120 (pow.f64 x 6)) (*.f64 -23/360 (pow.f64 x 4))) |
| 1.0ms | x | @ | 0 | (*.f64 1/6 (pow.f64 x 2)) |
| 1.0ms | x | @ | inf | (*.f64 1/6 (pow.f64 x 2)) |
| 1× | batch-egg-rewrite |
| 575× | log-prod_binary64 |
| 348× | pow2_binary64 |
| 334× | pow-prod-down_binary64 |
| 320× | fma-def_binary64 |
| 239× | expm1-udef_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 15 | 35 |
| 1 | 325 | 35 |
| 2 | 3595 | 35 |
| 1× | node limit |
| Inputs |
|---|
(*.f64 1/6 (pow.f64 x 2)) |
(*.f64 -23/360 (pow.f64 x 4)) |
(*.f64 -11/15120 (pow.f64 x 6)) |
(+.f64 (*.f64 -11/15120 (pow.f64 x 6)) (*.f64 -23/360 (pow.f64 x 4))) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x +.f64 0 (*.f64 1/6 (*.f64 x x)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (pow.f64 (cbrt.f64 (pow.f64 (exp.f64 x) (*.f64 x 1/6))) 2)) (log.f64 (cbrt.f64 (pow.f64 (exp.f64 x) (*.f64 x 1/6)))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (sqrt.f64 (pow.f64 (exp.f64 x) (*.f64 x 1/6)))) (log.f64 (sqrt.f64 (pow.f64 (exp.f64 x) (*.f64 x 1/6)))))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (*.f64 1/6 (*.f64 x x)))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 1/6 (*.f64 x x)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 (pow.f64 x 4) 1/36) 1/2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 x (sqrt.f64 1/6)) 6) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (*.f64 1/6 (*.f64 x x))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 x (sqrt.f64 1/6)) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (*.f64 (pow.f64 x 4) 1/36))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (pow.f64 (exp.f64 x) (*.f64 x 1/6)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (*.f64 1/6 (*.f64 x x)))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (*.f64 x (sqrt.f64 1/6)) 6))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 1/6 (*.f64 x x))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (*.f64 1/6 (*.f64 x x))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (*.f64 1/6 (*.f64 x x))) 1))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 1/6 (*.f64 x x)))))))) |
((#(struct:change #<rule egg-rr> (2) ((x +.f64 0 (*.f64 -23/360 (pow.f64 x 4)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (pow.f64 (cbrt.f64 (pow.f64 (exp.f64 -23/360) (pow.f64 x 4))) 2)) (log.f64 (cbrt.f64 (pow.f64 (exp.f64 -23/360) (pow.f64 x 4)))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (sqrt.f64 (pow.f64 (exp.f64 -23/360) (pow.f64 x 4)))) (log.f64 (sqrt.f64 (pow.f64 (exp.f64 -23/360) (pow.f64 x 4)))))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (*.f64 -23/360 (pow.f64 x 4)))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 -23/360 (pow.f64 x 4)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 (pow.f64 x 8) 529/129600) 1/2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (*.f64 -23/360 (pow.f64 x 4))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 (*.f64 x x) (sqrt.f64 -23/360)) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 (pow.f64 x 12) -12167/46656000) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (*.f64 (pow.f64 x 8) 529/129600))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (pow.f64 (exp.f64 -23/360) (pow.f64 x 4)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (*.f64 -23/360 (pow.f64 x 4)))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (*.f64 (pow.f64 x 12) -12167/46656000))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 -23/360 (pow.f64 x 4))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (fma.f64 4 (log.f64 x) (log.f64 -23/360)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (fma.f64 4 (log.f64 x) (log.f64 -23/360)) 1))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 -23/360 (pow.f64 x 4)))))))) |
((#(struct:change #<rule egg-rr> (2) ((x +.f64 0 (*.f64 -11/15120 (pow.f64 x 6)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (pow.f64 (cbrt.f64 (pow.f64 (exp.f64 -11/15120) (pow.f64 x 6))) 2)) (log.f64 (cbrt.f64 (pow.f64 (exp.f64 -11/15120) (pow.f64 x 6)))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (sqrt.f64 (pow.f64 (exp.f64 -11/15120) (pow.f64 x 6)))) (log.f64 (sqrt.f64 (pow.f64 (exp.f64 -11/15120) (pow.f64 x 6)))))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (*.f64 -11/15120 (pow.f64 x 6)))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 -11/15120 (pow.f64 x 6)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 (pow.f64 x 12) 121/228614400) 1/2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 (*.f64 x x) (cbrt.f64 -11/15120)) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 (sqrt.f64 -11/15120) (pow.f64 x 3)) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 -1331/3456649728000 (pow.f64 x 18)) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (*.f64 (pow.f64 x 12) 121/228614400))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (pow.f64 (exp.f64 -11/15120) (pow.f64 x 6)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (*.f64 -11/15120 (pow.f64 x 6)))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (*.f64 -1331/3456649728000 (pow.f64 x 18)))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 -11/15120 (pow.f64 x 6))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (*.f64 -11/15120 (pow.f64 x 6))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (*.f64 -11/15120 (pow.f64 x 6))) 1))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 -11/15120 (pow.f64 x 6)))))))) |
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (fma.f64 -23/360 (pow.f64 x 4) (*.f64 -11/15120 (pow.f64 x 6))))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (/.f64 (*.f64 (pow.f64 x 12) 121/228614400) (fma.f64 -11/15120 (pow.f64 x 6) (*.f64 23/360 (pow.f64 x 4)))) (/.f64 (*.f64 (pow.f64 x 8) 529/129600) (fma.f64 -11/15120 (pow.f64 x 6) (*.f64 23/360 (pow.f64 x 4)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (fma.f64 -23/360 (pow.f64 x 4) (*.f64 -11/15120 (pow.f64 x 6))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (fma.f64 -23/360 (pow.f64 x 4) (*.f64 -11/15120 (pow.f64 x 6))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (fma.f64 -23/360 (pow.f64 x 4) (*.f64 -11/15120 (pow.f64 x 6)))) (pow.f64 (cbrt.f64 (fma.f64 -23/360 (pow.f64 x 4) (*.f64 -11/15120 (pow.f64 x 6)))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (fma.f64 -23/360 (pow.f64 x 4) (*.f64 -11/15120 (pow.f64 x 6)))) 2) (cbrt.f64 (fma.f64 -23/360 (pow.f64 x 4) (*.f64 -11/15120 (pow.f64 x 6)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (fma.f64 -23/360 (pow.f64 x 4) (*.f64 -11/15120 (pow.f64 x 6)))) (sqrt.f64 (fma.f64 -23/360 (pow.f64 x 4) (*.f64 -11/15120 (pow.f64 x 6)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (fma.f64 (pow.f64 x 12) -12167/46656000 (*.f64 -1331/3456649728000 (pow.f64 x 18))) (/.f64 1 (-.f64 (fma.f64 (pow.f64 x 12) 121/228614400 (*.f64 (pow.f64 x 8) 529/129600)) (*.f64 (*.f64 -23/360 (pow.f64 x 4)) (*.f64 -11/15120 (pow.f64 x 6))))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (-.f64 (*.f64 (pow.f64 x 12) 121/228614400) (*.f64 (pow.f64 x 8) 529/129600)) (/.f64 1 (fma.f64 -11/15120 (pow.f64 x 6) (*.f64 23/360 (pow.f64 x 4)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (-.f64 (fma.f64 (pow.f64 x 12) 121/228614400 (*.f64 (pow.f64 x 8) 529/129600)) (*.f64 (*.f64 -23/360 (pow.f64 x 4)) (*.f64 -11/15120 (pow.f64 x 6)))) (fma.f64 (pow.f64 x 12) -12167/46656000 (*.f64 -1331/3456649728000 (pow.f64 x 18)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (fma.f64 -11/15120 (pow.f64 x 6) (*.f64 23/360 (pow.f64 x 4))) (-.f64 (*.f64 (pow.f64 x 12) 121/228614400) (*.f64 (pow.f64 x 8) 529/129600))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (fma.f64 (pow.f64 x 12) -12167/46656000 (*.f64 -1331/3456649728000 (pow.f64 x 18))) (-.f64 (fma.f64 (pow.f64 x 12) 121/228614400 (*.f64 (pow.f64 x 8) 529/129600)) (*.f64 (*.f64 -23/360 (pow.f64 x 4)) (*.f64 -11/15120 (pow.f64 x 6)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (fma.f64 (pow.f64 x 12) -12167/46656000 (*.f64 -1331/3456649728000 (pow.f64 x 18))) (fma.f64 (pow.f64 x 8) 529/129600 (-.f64 (*.f64 (pow.f64 x 12) 121/228614400) (*.f64 (*.f64 -23/360 (pow.f64 x 4)) (*.f64 -11/15120 (pow.f64 x 6))))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (*.f64 (pow.f64 x 12) 121/228614400) (*.f64 (pow.f64 x 8) 529/129600)) (fma.f64 -11/15120 (pow.f64 x 6) (*.f64 23/360 (pow.f64 x 4))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (fma.f64 (pow.f64 x 12) -12167/46656000 (*.f64 -1331/3456649728000 (pow.f64 x 18)))) (neg.f64 (-.f64 (fma.f64 (pow.f64 x 12) 121/228614400 (*.f64 (pow.f64 x 8) 529/129600)) (*.f64 (*.f64 -23/360 (pow.f64 x 4)) (*.f64 -11/15120 (pow.f64 x 6))))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (-.f64 (*.f64 (pow.f64 x 12) 121/228614400) (*.f64 (pow.f64 x 8) 529/129600))) (neg.f64 (fma.f64 -11/15120 (pow.f64 x 6) (*.f64 23/360 (pow.f64 x 4)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (fma.f64 (pow.f64 x 8) 529/129600 (neg.f64 (*.f64 (pow.f64 x 12) 121/228614400))) (-.f64 (*.f64 -23/360 (pow.f64 x 4)) (*.f64 -11/15120 (pow.f64 x 6))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (fma.f64 -23/360 (pow.f64 x 4) (*.f64 -11/15120 (pow.f64 x 6))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (fma.f64 -23/360 (pow.f64 x 4) (*.f64 -11/15120 (pow.f64 x 6))) 2) 1/2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (fma.f64 -23/360 (pow.f64 x 4) (*.f64 -11/15120 (pow.f64 x 6))) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (fma.f64 -23/360 (pow.f64 x 4) (*.f64 -11/15120 (pow.f64 x 6)))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (fma.f64 -23/360 (pow.f64 x 4) (*.f64 -11/15120 (pow.f64 x 6)))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 (-.f64 (fma.f64 (pow.f64 x 12) 121/228614400 (*.f64 (pow.f64 x 8) 529/129600)) (*.f64 (*.f64 -23/360 (pow.f64 x 4)) (*.f64 -11/15120 (pow.f64 x 6)))) (fma.f64 (pow.f64 x 12) -12167/46656000 (*.f64 -1331/3456649728000 (pow.f64 x 18)))) -1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 (fma.f64 -11/15120 (pow.f64 x 6) (*.f64 23/360 (pow.f64 x 4))) (-.f64 (*.f64 (pow.f64 x 12) 121/228614400) (*.f64 (pow.f64 x 8) 529/129600))) -1)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (fma.f64 -23/360 (pow.f64 x 4) (*.f64 -11/15120 (pow.f64 x 6))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (fma.f64 -23/360 (pow.f64 x 4) (*.f64 -11/15120 (pow.f64 x 6)))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (fma.f64 -23/360 (pow.f64 x 4) (*.f64 -11/15120 (pow.f64 x 6))))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (+.f64 1 (expm1.f64 (*.f64 -23/360 (pow.f64 x 4)))) (pow.f64 (exp.f64 -11/15120) (pow.f64 x 6))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (pow.f64 (exp.f64 -23/360) (pow.f64 x 4)) (+.f64 1 (expm1.f64 (*.f64 -11/15120 (pow.f64 x 6))))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (+.f64 1 (expm1.f64 (*.f64 -23/360 (pow.f64 x 4)))) (+.f64 1 (expm1.f64 (*.f64 -11/15120 (pow.f64 x 6))))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (+.f64 1 (expm1.f64 (*.f64 -11/15120 (pow.f64 x 6)))) (pow.f64 (exp.f64 -23/360) (pow.f64 x 4))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (pow.f64 (exp.f64 -11/15120) (pow.f64 x 6)) (+.f64 1 (expm1.f64 (*.f64 -23/360 (pow.f64 x 4))))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (+.f64 1 (expm1.f64 (*.f64 -11/15120 (pow.f64 x 6)))) (+.f64 1 (expm1.f64 (*.f64 -23/360 (pow.f64 x 4))))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (fma.f64 -23/360 (pow.f64 x 4) (*.f64 -11/15120 (pow.f64 x 6))) 3))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 x x) (*.f64 (*.f64 x x) -23/360) (*.f64 -11/15120 (pow.f64 x 6)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 -23/360 (pow.f64 x 4) (*.f64 -11/15120 (pow.f64 x 6)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 x 4) -23/360 (*.f64 -11/15120 (pow.f64 x 6)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 x 4) (*.f64 (*.f64 x x) -11/15120) (*.f64 -23/360 (pow.f64 x 4)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 -23/360 (pow.f64 x 4)) 1 (*.f64 -11/15120 (pow.f64 x 6)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 -11/15120 (pow.f64 x 6) (*.f64 -23/360 (pow.f64 x 4)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 x 6) -11/15120 (*.f64 -23/360 (pow.f64 x 4)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 -11/15120 (pow.f64 x 6)) 1 (*.f64 -23/360 (pow.f64 x 4)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (*.f64 -23/360 (pow.f64 x 4)) (*.f64 -11/15120 (pow.f64 x 6)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (*.f64 -11/15120 (pow.f64 x 6)) (*.f64 -23/360 (pow.f64 x 4)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 x) 8) (*.f64 (*.f64 (cbrt.f64 x) x) -23/360) (*.f64 -11/15120 (pow.f64 x 6)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 (*.f64 x x) (cbrt.f64 -11/15120)) (cbrt.f64 (*.f64 (pow.f64 x 12) 121/228614400)) (*.f64 -23/360 (pow.f64 x 4)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (*.f64 (pow.f64 x 12) 121/228614400)) (*.f64 (*.f64 x x) (cbrt.f64 -11/15120)) (*.f64 -23/360 (pow.f64 x 4)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (*.f64 -23/360 (pow.f64 x 4))) (cbrt.f64 (*.f64 (pow.f64 x 8) 529/129600)) (*.f64 -11/15120 (pow.f64 x 6)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (*.f64 (pow.f64 x 8) 529/129600)) (cbrt.f64 (*.f64 -23/360 (pow.f64 x 4))) (*.f64 -11/15120 (pow.f64 x 6)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 (sqrt.f64 -11/15120) (pow.f64 x 3)) (*.f64 (sqrt.f64 -11/15120) (pow.f64 x 3)) (*.f64 -23/360 (pow.f64 x 4)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 (*.f64 x x) (sqrt.f64 -23/360)) (*.f64 (*.f64 x x) (sqrt.f64 -23/360)) (*.f64 -11/15120 (pow.f64 x 6)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 x 3) (*.f64 (pow.f64 x 3) -11/15120) (*.f64 -23/360 (pow.f64 x 4)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 -11/15120 (pow.f64 x 4)) (*.f64 x x) (*.f64 -23/360 (pow.f64 x 4)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 -11/15120 (pow.f64 x 3)) (pow.f64 x 3) (*.f64 -23/360 (pow.f64 x 4)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 -23/360 (*.f64 x x)) (*.f64 x x) (*.f64 -11/15120 (pow.f64 x 6)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 -23/360 (pow.f64 (cbrt.f64 x) 8)) (*.f64 (cbrt.f64 x) x) (*.f64 -11/15120 (pow.f64 x 6)))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (fma.f64 -23/360 (pow.f64 x 4) (*.f64 -11/15120 (pow.f64 x 6)))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (fma.f64 -23/360 (pow.f64 x 4) (*.f64 -11/15120 (pow.f64 x 6)))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (fma.f64 -23/360 (pow.f64 x 4) (*.f64 -11/15120 (pow.f64 x 6)))) 1))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (fma.f64 -23/360 (pow.f64 x 4) (*.f64 -11/15120 (pow.f64 x 6))))))))) |
| 1× | egg-herbie |
| 846× | sqr-pow_binary64 |
| 790× | cube-prod_binary64 |
| 594× | fabs-mul_binary64 |
| 492× | associate-*l*_binary64 |
| 467× | unswap-sqr_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 10 | 21 |
| 1 | 20 | 21 |
| 2 | 42 | 21 |
| 3 | 105 | 21 |
| 4 | 355 | 21 |
| 5 | 1368 | 21 |
| 6 | 2416 | 21 |
| 7 | 2573 | 21 |
| 8 | 2837 | 21 |
| 9 | 3101 | 21 |
| 10 | 3447 | 21 |
| 11 | 3896 | 21 |
| 12 | 4416 | 21 |
| 13 | 5046 | 21 |
| 14 | 5812 | 21 |
| 15 | 6255 | 21 |
| 16 | 6749 | 21 |
| 17 | 7259 | 21 |
| 18 | 7797 | 21 |
| 1× | node limit |
| Inputs |
|---|
(*.f64 -23/360 (pow.f64 x 4)) |
(*.f64 -11/15120 (pow.f64 x 6)) |
(*.f64 -11/15120 (pow.f64 x 6)) |
| Outputs |
|---|
(*.f64 -23/360 (pow.f64 x 4)) |
(*.f64 -11/15120 (pow.f64 x 6)) |
(*.f64 -11/15120 (pow.f64 x 6)) |
5 alts after pruning (4 fresh and 1 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 112 | 1 | 113 |
| Fresh | 0 | 3 | 3 |
| Picked | 0 | 1 | 1 |
| Done | 0 | 0 | 0 |
| Total | 112 | 5 | 117 |
| Status | Error | Program |
|---|---|---|
| ▶ | 0.4b | (+.f64 (pow.f64 (*.f64 x (sqrt.f64 1/6)) 2) (+.f64 (*.f64 -11/15120 (pow.f64 x 6)) (*.f64 -23/360 (pow.f64 x 4)))) |
| ✓ | 0.4b | (+.f64 (*.f64 1/6 (pow.f64 x 2)) (+.f64 (*.f64 -11/15120 (pow.f64 x 6)) (*.f64 -23/360 (pow.f64 x 4)))) |
| 0.5b | (*.f64 x (*.f64 x (fma.f64 (*.f64 x x) -23/360 1/6))) | |
| 10.0b | (/.f64 (fma.f64 1/6 (pow.f64 x 3) (fma.f64 -1/120 (pow.f64 x 5) (fma.f64 1/5040 (pow.f64 x 7) (*.f64 -1/362880 (pow.f64 x 9))))) (tan.f64 x)) | |
| 30.2b | (pow.f64 (cbrt.f64 (/.f64 (-.f64 x (sin.f64 x)) (tan.f64 x))) 3) |
Compiled 2655 to 2162 computations (18.6% saved)
Found 4 expressions with local error:
| New | Error | Program |
|---|---|---|
| 0.0b | (+.f64 (*.f64 -11/15120 (pow.f64 x 6)) (*.f64 -23/360 (pow.f64 x 4))) | |
| 0.1b | (*.f64 -11/15120 (pow.f64 x 6)) | |
| 0.2b | (*.f64 -23/360 (pow.f64 x 4)) | |
| ✓ | 0.2b | (pow.f64 (*.f64 x (sqrt.f64 1/6)) 2) |
3 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 1.0ms | x | @ | 0 | (pow.f64 (*.f64 x (sqrt.f64 1/6)) 2) |
| 1.0ms | x | @ | -inf | (pow.f64 (*.f64 x (sqrt.f64 1/6)) 2) |
| 1.0ms | x | @ | inf | (pow.f64 (*.f64 x (sqrt.f64 1/6)) 2) |
| 1× | batch-egg-rewrite |
| 561× | pow1_binary64 |
| 522× | add-log-exp_binary64 |
| 522× | log1p-expm1-u_binary64 |
| 522× | expm1-log1p-u_binary64 |
| 509× | add-exp-log_binary64 |
Useful iterations: 1 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 7 | 9 |
| 1 | 147 | 7 |
| 2 | 1537 | 7 |
| 1× | node limit |
| Inputs |
|---|
(pow.f64 (*.f64 x (sqrt.f64 1/6)) 2) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (*.f64 1/6 (*.f64 x x))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 x (*.f64 (sqrt.f64 1/6) (*.f64 x (sqrt.f64 1/6))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1/6 (*.f64 x x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 1/6) (*.f64 x (*.f64 x (sqrt.f64 1/6))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 x (sqrt.f64 1/6)) (*.f64 x (sqrt.f64 1/6)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 1/6 (*.f64 x x)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (*.f64 1/6 (*.f64 x x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (*.f64 1/6 (*.f64 x x))) (cbrt.f64 (pow.f64 (*.f64 x (sqrt.f64 1/6)) 4)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (*.f64 1/6 (*.f64 x x))) (*.f64 (cbrt.f64 (*.f64 x (sqrt.f64 1/6))) (*.f64 x (sqrt.f64 1/6))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (pow.f64 (*.f64 x (sqrt.f64 1/6)) 4)) (cbrt.f64 (*.f64 1/6 (*.f64 x x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (*.f64 x (sqrt.f64 1/6))) (*.f64 (sqrt.f64 (*.f64 x (sqrt.f64 1/6))) (*.f64 x (sqrt.f64 1/6))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 x x) 1/6)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (*.f64 x (sqrt.f64 1/6)) (sqrt.f64 (*.f64 x (sqrt.f64 1/6)))) (sqrt.f64 (*.f64 x (sqrt.f64 1/6))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (*.f64 x (sqrt.f64 1/6)) x) (sqrt.f64 1/6))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (*.f64 x (sqrt.f64 1/6)) (sqrt.f64 1/6)) x)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (*.f64 x (sqrt.f64 1/6)) (cbrt.f64 (*.f64 1/6 (*.f64 x x)))) (cbrt.f64 (*.f64 x (sqrt.f64 1/6))))))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (*.f64 x (sqrt.f64 1/6)) 4))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (pow.f64 (exp.f64 (*.f64 x x)) 1/6))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (*.f64 1/6 (*.f64 x x)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 1/6 (*.f64 x x))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (*.f64 1/6 (*.f64 x x))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 1/6 (*.f64 x x)))))))) |
| 1× | egg-herbie |
| 861× | sqr-pow_binary64 |
| 689× | cube-prod_binary64 |
| 675× | fabs-mul_binary64 |
| 618× | associate-*l*_binary64 |
| 582× | pow-sqr_binary64 |
Useful iterations: 1 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 8 | 144 |
| 1 | 17 | 84 |
| 2 | 39 | 84 |
| 3 | 98 | 84 |
| 4 | 389 | 84 |
| 5 | 2039 | 84 |
| 6 | 2152 | 84 |
| 7 | 2351 | 84 |
| 8 | 2547 | 84 |
| 9 | 2780 | 84 |
| 10 | 3083 | 84 |
| 11 | 3702 | 84 |
| 12 | 4179 | 84 |
| 13 | 4799 | 84 |
| 14 | 5509 | 84 |
| 15 | 6434 | 84 |
| 16 | 6948 | 84 |
| 17 | 7332 | 84 |
| 18 | 7698 | 84 |
| 19 | 7794 | 84 |
| 20 | 7822 | 84 |
| 1× | node limit |
| Inputs |
|---|
(*.f64 (pow.f64 (sqrt.f64 1/6) 2) (pow.f64 x 2)) |
(*.f64 (pow.f64 (sqrt.f64 1/6) 2) (pow.f64 x 2)) |
(*.f64 (pow.f64 (sqrt.f64 1/6) 2) (pow.f64 x 2)) |
(*.f64 (pow.f64 (sqrt.f64 1/6) 2) (pow.f64 x 2)) |
(*.f64 (pow.f64 (sqrt.f64 1/6) 2) (pow.f64 x 2)) |
(*.f64 (pow.f64 (sqrt.f64 1/6) 2) (pow.f64 x 2)) |
(*.f64 (pow.f64 (sqrt.f64 1/6) 2) (pow.f64 x 2)) |
(*.f64 (pow.f64 (sqrt.f64 1/6) 2) (pow.f64 x 2)) |
(*.f64 (pow.f64 (sqrt.f64 1/6) 2) (pow.f64 x 2)) |
(*.f64 (pow.f64 (sqrt.f64 1/6) 2) (pow.f64 x 2)) |
(*.f64 (pow.f64 (sqrt.f64 1/6) 2) (pow.f64 x 2)) |
(*.f64 (pow.f64 (sqrt.f64 1/6) 2) (pow.f64 x 2)) |
| Outputs |
|---|
(*.f64 (pow.f64 (sqrt.f64 1/6) 2) (pow.f64 x 2)) |
(*.f64 (pow.f64 (sqrt.f64 1/6) 2) (*.f64 x x)) |
(*.f64 1/6 (*.f64 x x)) |
(*.f64 (pow.f64 (sqrt.f64 1/6) 2) (pow.f64 x 2)) |
(*.f64 (pow.f64 (sqrt.f64 1/6) 2) (*.f64 x x)) |
(*.f64 1/6 (*.f64 x x)) |
(*.f64 (pow.f64 (sqrt.f64 1/6) 2) (pow.f64 x 2)) |
(*.f64 (pow.f64 (sqrt.f64 1/6) 2) (*.f64 x x)) |
(*.f64 1/6 (*.f64 x x)) |
(*.f64 (pow.f64 (sqrt.f64 1/6) 2) (pow.f64 x 2)) |
(*.f64 (pow.f64 (sqrt.f64 1/6) 2) (*.f64 x x)) |
(*.f64 1/6 (*.f64 x x)) |
(*.f64 (pow.f64 (sqrt.f64 1/6) 2) (pow.f64 x 2)) |
(*.f64 (pow.f64 (sqrt.f64 1/6) 2) (*.f64 x x)) |
(*.f64 1/6 (*.f64 x x)) |
(*.f64 (pow.f64 (sqrt.f64 1/6) 2) (pow.f64 x 2)) |
(*.f64 (pow.f64 (sqrt.f64 1/6) 2) (*.f64 x x)) |
(*.f64 1/6 (*.f64 x x)) |
(*.f64 (pow.f64 (sqrt.f64 1/6) 2) (pow.f64 x 2)) |
(*.f64 (pow.f64 (sqrt.f64 1/6) 2) (*.f64 x x)) |
(*.f64 1/6 (*.f64 x x)) |
(*.f64 (pow.f64 (sqrt.f64 1/6) 2) (pow.f64 x 2)) |
(*.f64 (pow.f64 (sqrt.f64 1/6) 2) (*.f64 x x)) |
(*.f64 1/6 (*.f64 x x)) |
(*.f64 (pow.f64 (sqrt.f64 1/6) 2) (pow.f64 x 2)) |
(*.f64 (pow.f64 (sqrt.f64 1/6) 2) (*.f64 x x)) |
(*.f64 1/6 (*.f64 x x)) |
(*.f64 (pow.f64 (sqrt.f64 1/6) 2) (pow.f64 x 2)) |
(*.f64 (pow.f64 (sqrt.f64 1/6) 2) (*.f64 x x)) |
(*.f64 1/6 (*.f64 x x)) |
(*.f64 (pow.f64 (sqrt.f64 1/6) 2) (pow.f64 x 2)) |
(*.f64 (pow.f64 (sqrt.f64 1/6) 2) (*.f64 x x)) |
(*.f64 1/6 (*.f64 x x)) |
(*.f64 (pow.f64 (sqrt.f64 1/6) 2) (pow.f64 x 2)) |
(*.f64 (pow.f64 (sqrt.f64 1/6) 2) (*.f64 x x)) |
(*.f64 1/6 (*.f64 x x)) |
7 alts after pruning (5 fresh and 2 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 116 | 3 | 119 |
| Fresh | 1 | 2 | 3 |
| Picked | 0 | 1 | 1 |
| Done | 0 | 1 | 1 |
| Total | 117 | 7 | 124 |
| Status | Error | Program |
|---|---|---|
| ✓ | 0.4b | (+.f64 (*.f64 1/6 (pow.f64 x 2)) (+.f64 (*.f64 -11/15120 (pow.f64 x 6)) (*.f64 -23/360 (pow.f64 x 4)))) |
| 0.8b | (+.f64 (*.f64 (cbrt.f64 (*.f64 1/6 (*.f64 x x))) (*.f64 (cbrt.f64 (*.f64 x (sqrt.f64 1/6))) (*.f64 x (sqrt.f64 1/6)))) (+.f64 (*.f64 -11/15120 (pow.f64 x 6)) (*.f64 -23/360 (pow.f64 x 4)))) | |
| ✓ | 0.4b | (+.f64 (pow.f64 (*.f64 x (sqrt.f64 1/6)) 2) (+.f64 (*.f64 -11/15120 (pow.f64 x 6)) (*.f64 -23/360 (pow.f64 x 4)))) |
| 0.4b | (+.f64 (*.f64 (sqrt.f64 1/6) (*.f64 x (*.f64 x (sqrt.f64 1/6)))) (+.f64 (*.f64 -11/15120 (pow.f64 x 6)) (*.f64 -23/360 (pow.f64 x 4)))) | |
| ▶ | 0.4b | (+.f64 (*.f64 x (*.f64 (sqrt.f64 1/6) (*.f64 x (sqrt.f64 1/6)))) (+.f64 (*.f64 -11/15120 (pow.f64 x 6)) (*.f64 -23/360 (pow.f64 x 4)))) |
| 10.0b | (/.f64 (fma.f64 1/6 (pow.f64 x 3) (fma.f64 -1/120 (pow.f64 x 5) (fma.f64 1/5040 (pow.f64 x 7) (*.f64 -1/362880 (pow.f64 x 9))))) (tan.f64 x)) | |
| 30.2b | (pow.f64 (cbrt.f64 (/.f64 (-.f64 x (sin.f64 x)) (tan.f64 x))) 3) |
Compiled 3006 to 2464 computations (18% saved)
Found 4 expressions with local error:
| New | Error | Program |
|---|---|---|
| 0.1b | (*.f64 -11/15120 (pow.f64 x 6)) | |
| ✓ | 0.1b | (*.f64 x (*.f64 (sqrt.f64 1/6) (*.f64 x (sqrt.f64 1/6)))) |
| 0.2b | (*.f64 -23/360 (pow.f64 x 4)) | |
| ✓ | 0.2b | (*.f64 (sqrt.f64 1/6) (*.f64 x (sqrt.f64 1/6))) |
6 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 2.0ms | x | @ | 0 | (*.f64 x (*.f64 (sqrt.f64 1/6) (*.f64 x (sqrt.f64 1/6)))) |
| 1.0ms | x | @ | 0 | (*.f64 (sqrt.f64 1/6) (*.f64 x (sqrt.f64 1/6))) |
| 1.0ms | x | @ | inf | (*.f64 (sqrt.f64 1/6) (*.f64 x (sqrt.f64 1/6))) |
| 0.0ms | x | @ | -inf | (*.f64 (sqrt.f64 1/6) (*.f64 x (sqrt.f64 1/6))) |
| 0.0ms | x | @ | inf | (*.f64 x (*.f64 (sqrt.f64 1/6) (*.f64 x (sqrt.f64 1/6)))) |
| 1× | batch-egg-rewrite |
| 596× | pow1_binary64 |
| 552× | add-log-exp_binary64 |
| 552× | log1p-expm1-u_binary64 |
| 552× | expm1-log1p-u_binary64 |
| 540× | add-exp-log_binary64 |
Useful iterations: 1 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 7 | 25 |
| 1 | 142 | 11 |
| 2 | 1587 | 11 |
| 1× | node limit |
| Inputs |
|---|
(*.f64 (sqrt.f64 1/6) (*.f64 x (sqrt.f64 1/6))) |
(*.f64 x (*.f64 (sqrt.f64 1/6) (*.f64 x (sqrt.f64 1/6)))) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (*.f64 1/6 x)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 1/6 x) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 1/6 x) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (*.f64 1/6 x)) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (*.f64 1/6 x)) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (*.f64 1/6 x) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (*.f64 1/6 x)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (*.f64 1/6 x) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 1/6 x)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (*.f64 1/6 x)))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 1/6 x))))))) |
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (*.f64 1/6 (*.f64 x x))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 (sqrt.f64 1/6) x) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 1/6 (*.f64 x x)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 1/6 (*.f64 x x)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (*.f64 1/6 (*.f64 x x))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (*.f64 1/6 (*.f64 x x)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (pow.f64 (exp.f64 (*.f64 1/6 x)) x))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (*.f64 1/6 (*.f64 x x)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 1/6 (*.f64 x x))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (*.f64 1/6 (*.f64 x x))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 1/6 (*.f64 x x)))))))) |
| 1× | egg-herbie |
| 861× | sqr-pow_binary64 |
| 756× | associate-*l*_binary64 |
| 658× | cube-prod_binary64 |
| 649× | fabs-mul_binary64 |
| 508× | associate-*r*_binary64 |
Useful iterations: 1 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 9 | 252 |
| 1 | 19 | 132 |
| 2 | 41 | 132 |
| 3 | 105 | 132 |
| 4 | 435 | 132 |
| 5 | 2432 | 132 |
| 6 | 2541 | 132 |
| 7 | 2736 | 132 |
| 8 | 2932 | 132 |
| 9 | 3161 | 132 |
| 10 | 3466 | 132 |
| 11 | 4107 | 132 |
| 12 | 4582 | 132 |
| 13 | 5205 | 132 |
| 14 | 5917 | 132 |
| 15 | 6844 | 132 |
| 16 | 7356 | 132 |
| 17 | 7742 | 132 |
| 1× | node limit |
| Inputs |
|---|
(*.f64 (pow.f64 (sqrt.f64 1/6) 2) x) |
(*.f64 (pow.f64 (sqrt.f64 1/6) 2) x) |
(*.f64 (pow.f64 (sqrt.f64 1/6) 2) x) |
(*.f64 (pow.f64 (sqrt.f64 1/6) 2) x) |
(*.f64 (pow.f64 (sqrt.f64 1/6) 2) x) |
(*.f64 (pow.f64 (sqrt.f64 1/6) 2) x) |
(*.f64 (pow.f64 (sqrt.f64 1/6) 2) x) |
(*.f64 (pow.f64 (sqrt.f64 1/6) 2) x) |
(*.f64 (pow.f64 (sqrt.f64 1/6) 2) x) |
(*.f64 (pow.f64 (sqrt.f64 1/6) 2) x) |
(*.f64 (pow.f64 (sqrt.f64 1/6) 2) x) |
(*.f64 (pow.f64 (sqrt.f64 1/6) 2) x) |
(*.f64 (pow.f64 (sqrt.f64 1/6) 2) (pow.f64 x 2)) |
(*.f64 (pow.f64 (sqrt.f64 1/6) 2) (pow.f64 x 2)) |
(*.f64 (pow.f64 (sqrt.f64 1/6) 2) (pow.f64 x 2)) |
(*.f64 (pow.f64 (sqrt.f64 1/6) 2) (pow.f64 x 2)) |
(*.f64 (pow.f64 (sqrt.f64 1/6) 2) (pow.f64 x 2)) |
(*.f64 (pow.f64 (sqrt.f64 1/6) 2) (pow.f64 x 2)) |
(*.f64 (pow.f64 (sqrt.f64 1/6) 2) (pow.f64 x 2)) |
(*.f64 (pow.f64 (sqrt.f64 1/6) 2) (pow.f64 x 2)) |
(*.f64 (pow.f64 (sqrt.f64 1/6) 2) (pow.f64 x 2)) |
(*.f64 (pow.f64 (sqrt.f64 1/6) 2) (pow.f64 x 2)) |
(*.f64 (pow.f64 (sqrt.f64 1/6) 2) (pow.f64 x 2)) |
(*.f64 (pow.f64 (sqrt.f64 1/6) 2) (pow.f64 x 2)) |
| Outputs |
|---|
(*.f64 (pow.f64 (sqrt.f64 1/6) 2) x) |
(*.f64 1/6 x) |
(*.f64 (pow.f64 (sqrt.f64 1/6) 2) x) |
(*.f64 1/6 x) |
(*.f64 (pow.f64 (sqrt.f64 1/6) 2) x) |
(*.f64 1/6 x) |
(*.f64 (pow.f64 (sqrt.f64 1/6) 2) x) |
(*.f64 1/6 x) |
(*.f64 (pow.f64 (sqrt.f64 1/6) 2) x) |
(*.f64 1/6 x) |
(*.f64 (pow.f64 (sqrt.f64 1/6) 2) x) |
(*.f64 1/6 x) |
(*.f64 (pow.f64 (sqrt.f64 1/6) 2) x) |
(*.f64 1/6 x) |
(*.f64 (pow.f64 (sqrt.f64 1/6) 2) x) |
(*.f64 1/6 x) |
(*.f64 (pow.f64 (sqrt.f64 1/6) 2) x) |
(*.f64 1/6 x) |
(*.f64 (pow.f64 (sqrt.f64 1/6) 2) x) |
(*.f64 1/6 x) |
(*.f64 (pow.f64 (sqrt.f64 1/6) 2) x) |
(*.f64 1/6 x) |
(*.f64 (pow.f64 (sqrt.f64 1/6) 2) x) |
(*.f64 1/6 x) |
(*.f64 (pow.f64 (sqrt.f64 1/6) 2) (pow.f64 x 2)) |
(*.f64 (pow.f64 (sqrt.f64 1/6) 2) (*.f64 x x)) |
(*.f64 1/6 (*.f64 x x)) |
(*.f64 (pow.f64 (sqrt.f64 1/6) 2) (pow.f64 x 2)) |
(*.f64 (pow.f64 (sqrt.f64 1/6) 2) (*.f64 x x)) |
(*.f64 1/6 (*.f64 x x)) |
(*.f64 (pow.f64 (sqrt.f64 1/6) 2) (pow.f64 x 2)) |
(*.f64 (pow.f64 (sqrt.f64 1/6) 2) (*.f64 x x)) |
(*.f64 1/6 (*.f64 x x)) |
(*.f64 (pow.f64 (sqrt.f64 1/6) 2) (pow.f64 x 2)) |
(*.f64 (pow.f64 (sqrt.f64 1/6) 2) (*.f64 x x)) |
(*.f64 1/6 (*.f64 x x)) |
(*.f64 (pow.f64 (sqrt.f64 1/6) 2) (pow.f64 x 2)) |
(*.f64 (pow.f64 (sqrt.f64 1/6) 2) (*.f64 x x)) |
(*.f64 1/6 (*.f64 x x)) |
(*.f64 (pow.f64 (sqrt.f64 1/6) 2) (pow.f64 x 2)) |
(*.f64 (pow.f64 (sqrt.f64 1/6) 2) (*.f64 x x)) |
(*.f64 1/6 (*.f64 x x)) |
(*.f64 (pow.f64 (sqrt.f64 1/6) 2) (pow.f64 x 2)) |
(*.f64 (pow.f64 (sqrt.f64 1/6) 2) (*.f64 x x)) |
(*.f64 1/6 (*.f64 x x)) |
(*.f64 (pow.f64 (sqrt.f64 1/6) 2) (pow.f64 x 2)) |
(*.f64 (pow.f64 (sqrt.f64 1/6) 2) (*.f64 x x)) |
(*.f64 1/6 (*.f64 x x)) |
(*.f64 (pow.f64 (sqrt.f64 1/6) 2) (pow.f64 x 2)) |
(*.f64 (pow.f64 (sqrt.f64 1/6) 2) (*.f64 x x)) |
(*.f64 1/6 (*.f64 x x)) |
(*.f64 (pow.f64 (sqrt.f64 1/6) 2) (pow.f64 x 2)) |
(*.f64 (pow.f64 (sqrt.f64 1/6) 2) (*.f64 x x)) |
(*.f64 1/6 (*.f64 x x)) |
(*.f64 (pow.f64 (sqrt.f64 1/6) 2) (pow.f64 x 2)) |
(*.f64 (pow.f64 (sqrt.f64 1/6) 2) (*.f64 x x)) |
(*.f64 1/6 (*.f64 x x)) |
(*.f64 (pow.f64 (sqrt.f64 1/6) 2) (pow.f64 x 2)) |
(*.f64 (pow.f64 (sqrt.f64 1/6) 2) (*.f64 x x)) |
(*.f64 1/6 (*.f64 x x)) |
7 alts after pruning (4 fresh and 3 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 60 | 0 | 60 |
| Fresh | 0 | 4 | 4 |
| Picked | 0 | 1 | 1 |
| Done | 0 | 2 | 2 |
| Total | 60 | 7 | 67 |
| Status | Error | Program |
|---|---|---|
| ✓ | 0.4b | (+.f64 (*.f64 1/6 (pow.f64 x 2)) (+.f64 (*.f64 -11/15120 (pow.f64 x 6)) (*.f64 -23/360 (pow.f64 x 4)))) |
| 0.8b | (+.f64 (*.f64 (cbrt.f64 (*.f64 1/6 (*.f64 x x))) (*.f64 (cbrt.f64 (*.f64 x (sqrt.f64 1/6))) (*.f64 x (sqrt.f64 1/6)))) (+.f64 (*.f64 -11/15120 (pow.f64 x 6)) (*.f64 -23/360 (pow.f64 x 4)))) | |
| ✓ | 0.4b | (+.f64 (pow.f64 (*.f64 x (sqrt.f64 1/6)) 2) (+.f64 (*.f64 -11/15120 (pow.f64 x 6)) (*.f64 -23/360 (pow.f64 x 4)))) |
| 0.4b | (+.f64 (*.f64 (sqrt.f64 1/6) (*.f64 x (*.f64 x (sqrt.f64 1/6)))) (+.f64 (*.f64 -11/15120 (pow.f64 x 6)) (*.f64 -23/360 (pow.f64 x 4)))) | |
| ✓ | 0.4b | (+.f64 (*.f64 x (*.f64 (sqrt.f64 1/6) (*.f64 x (sqrt.f64 1/6)))) (+.f64 (*.f64 -11/15120 (pow.f64 x 6)) (*.f64 -23/360 (pow.f64 x 4)))) |
| 10.0b | (/.f64 (fma.f64 1/6 (pow.f64 x 3) (fma.f64 -1/120 (pow.f64 x 5) (fma.f64 1/5040 (pow.f64 x 7) (*.f64 -1/362880 (pow.f64 x 9))))) (tan.f64 x)) | |
| 30.2b | (pow.f64 (cbrt.f64 (/.f64 (-.f64 x (sin.f64 x)) (tan.f64 x))) 3) |
Compiled 1491 to 1207 computations (19% saved)
Total -30.1b remaining (-7906.2%)
Threshold costs -30.1b (-7906.2%)
| Inputs |
|---|
(+.f64 (*.f64 (cbrt.f64 (*.f64 1/6 (*.f64 x x))) (*.f64 (cbrt.f64 (*.f64 x (sqrt.f64 1/6))) (*.f64 x (sqrt.f64 1/6)))) (+.f64 (*.f64 -11/15120 (pow.f64 x 6)) (*.f64 -23/360 (pow.f64 x 4)))) |
(+.f64 (*.f64 (sqrt.f64 1/6) (*.f64 x (*.f64 x (sqrt.f64 1/6)))) (+.f64 (*.f64 -11/15120 (pow.f64 x 6)) (*.f64 -23/360 (pow.f64 x 4)))) |
(+.f64 (*.f64 x (*.f64 (sqrt.f64 1/6) (*.f64 x (sqrt.f64 1/6)))) (+.f64 (*.f64 -11/15120 (pow.f64 x 6)) (*.f64 -23/360 (pow.f64 x 4)))) |
(+.f64 (pow.f64 (*.f64 x (sqrt.f64 1/6)) 2) (+.f64 (*.f64 -11/15120 (pow.f64 x 6)) (*.f64 -23/360 (pow.f64 x 4)))) |
(+.f64 (*.f64 1/6 (pow.f64 x 2)) (+.f64 (*.f64 -11/15120 (pow.f64 x 6)) (*.f64 -23/360 (pow.f64 x 4)))) |
(*.f64 x (*.f64 x (fma.f64 (*.f64 x x) -23/360 1/6))) |
(/.f64 (fma.f64 1/6 (pow.f64 x 3) (fma.f64 -1/120 (pow.f64 x 5) (fma.f64 1/5040 (pow.f64 x 7) (*.f64 -1/362880 (pow.f64 x 9))))) (tan.f64 x)) |
(pow.f64 (cbrt.f64 (/.f64 (-.f64 x (sin.f64 x)) (tan.f64 x))) 3) |
(/.f64 (-.f64 x (sin.f64 x)) (tan.f64 x)) |
| Outputs |
|---|
(+.f64 (*.f64 x (*.f64 (sqrt.f64 1/6) (*.f64 x (sqrt.f64 1/6)))) (+.f64 (*.f64 -11/15120 (pow.f64 x 6)) (*.f64 -23/360 (pow.f64 x 4)))) |
| 5.0ms | 0.4b | x |
| 2.0ms | 0.4b | (/.f64 (-.f64 x (sin.f64 x)) (tan.f64 x)) |
| 2.0ms | 0.4b | (/.f64 (-.f64 x (sin.f64 x)) (tan.f64 x)) |
Compiled 175 to 127 computations (27.4% saved)
| 1× | egg-herbie |
| 5× | *-commutative_binary64 |
| 2× | +-commutative_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 17 | 32 |
| 1 | 24 | 32 |
| 1× | saturated |
| Inputs |
|---|
(+.f64 (*.f64 x (*.f64 (sqrt.f64 1/6) (*.f64 x (sqrt.f64 1/6)))) (+.f64 (*.f64 -11/15120 (pow.f64 x 6)) (*.f64 -23/360 (pow.f64 x 4)))) |
| Outputs |
|---|
(+.f64 (*.f64 x (*.f64 (sqrt.f64 1/6) (*.f64 x (sqrt.f64 1/6)))) (+.f64 (*.f64 -11/15120 (pow.f64 x 6)) (*.f64 -23/360 (pow.f64 x 4)))) |
| 1× | fuel |
Compiled 44 to 36 computations (18.2% saved)
Loading profile data...