Time bar (total: 4.6s)
| 1× | search |
| True | Other | False | Iter |
|---|---|---|---|
| 0% | 100% | 0% | 0 |
| 0% | 100% | 0% | 1 |
| 0% | 100% | 0% | 2 |
| 50% | 50% | 0% | 3 |
| 75% | 25% | 0% | 4 |
| 75% | 25% | 0% | 5 |
| 75% | 25% | 0% | 6 |
| 78.1% | 21.9% | 0% | 7 |
| 78.1% | 21.9% | 0% | 8 |
| 78.1% | 21.9% | 0% | 9 |
| 78.1% | 21.9% | 0% | 10 |
| 78.1% | 21.9% | 0% | 11 |
| 78.1% | 21.9% | 0% | 12 |
| 78.1% | 21.9% | 0% | 13 |
| 78.1% | 21.8% | 0% | 14 |
Compiled 10 to 7 computations (30% saved)
| 1.4s | 2061× | body | 2048 | valid |
| 454.0ms | 1133× | body | 1024 | valid |
| 435.0ms | 1588× | body | 512 | valid |
| 256.0ms | 2593× | body | 128 | valid |
| 167.0ms | 768× | body | 256 | valid |
| 73.0ms | 113× | body | 4096 | valid |
Compiled 20 to 14 computations (30% saved)
| 2× | egg-herbie |
| 424× | fma-def_binary64 |
| 293× | fma-neg_binary64 |
| 86× | div-sub_binary64 |
| 74× | associate-/l*_binary64 |
| 63× | times-frac_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 7 | 12 |
| 1 | 16 | 12 |
| 2 | 27 | 12 |
| 3 | 40 | 12 |
| 4 | 73 | 12 |
| 5 | 127 | 12 |
| 6 | 192 | 12 |
| 7 | 317 | 12 |
| 8 | 621 | 12 |
| 9 | 1140 | 12 |
| 10 | 1700 | 12 |
| 11 | 1829 | 12 |
| 0 | 1 | 1 |
| 1× | saturated |
| 1× | saturated |
| Inputs |
|---|
0 |
| Outputs |
|---|
0 |
| Inputs |
|---|
(/.f64 (-.f64 1 (cos.f64 x)) (*.f64 x x)) |
| Outputs |
|---|
(/.f64 (-.f64 1 (cos.f64 x)) (*.f64 x x)) |
Compiled 9 to 6 computations (33.3% saved)
| 1× | egg-herbie |
| 424× | fma-def_binary64 |
| 293× | fma-neg_binary64 |
| 86× | div-sub_binary64 |
| 74× | associate-/l*_binary64 |
| 63× | times-frac_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 7 | 12 |
| 1 | 16 | 12 |
| 2 | 27 | 12 |
| 3 | 40 | 12 |
| 4 | 73 | 12 |
| 5 | 127 | 12 |
| 6 | 192 | 12 |
| 7 | 317 | 12 |
| 8 | 621 | 12 |
| 9 | 1140 | 12 |
| 10 | 1700 | 12 |
| 11 | 1829 | 12 |
| 1× | saturated |
| Inputs |
|---|
(/.f64 (-.f64 1 (cos.f64 x)) (*.f64 x x)) |
| Outputs |
|---|
(/.f64 (-.f64 1 (cos.f64 x)) (*.f64 x 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 |
|---|---|---|
| ▶ | 29.6b | (/.f64 (-.f64 1 (cos.f64 x)) (*.f64 x x)) |
Compiled 27 to 18 computations (33.3% saved)
Found 2 expressions with local error:
| New | Error | Program |
|---|---|---|
| ✓ | 2.6b | (-.f64 1 (cos.f64 x)) |
| ✓ | 13.2b | (/.f64 (-.f64 1 (cos.f64 x)) (*.f64 x x)) |
6 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 1.0ms | x | @ | 0 | (/.f64 (-.f64 1 (cos.f64 x)) (*.f64 x x)) |
| 1.0ms | x | @ | inf | (/.f64 (-.f64 1 (cos.f64 x)) (*.f64 x x)) |
| 1.0ms | x | @ | -inf | (/.f64 (-.f64 1 (cos.f64 x)) (*.f64 x x)) |
| 0.0ms | x | @ | 0 | (-.f64 1 (cos.f64 x)) |
| 0.0ms | x | @ | inf | (-.f64 1 (cos.f64 x)) |
| 1× | batch-egg-rewrite |
| 818× | log1p-expm1-u_binary64 |
| 818× | expm1-log1p-u_binary64 |
| 78× | add-sqr-sqrt_binary64 |
| 75× | *-un-lft-identity_binary64 |
| 75× | pow1_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 7 | 18 |
| 1 | 152 | 18 |
| 2 | 2130 | 18 |
| 1× | node limit |
| Inputs |
|---|
(/.f64 (-.f64 1 (cos.f64 x)) (*.f64 x x)) |
(-.f64 1 (cos.f64 x)) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x +.f64 (pow.f64 x -2) (neg.f64 (*.f64 (cos.f64 x) (pow.f64 x -2))))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (pow.f64 x -2) (*.f64 (cos.f64 x) (pow.f64 x -2)))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (*.f64 (-.f64 1 (cos.f64 x)) (pow.f64 x -2)))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (*.f64 (-.f64 1 (cos.f64 x)) (pow.f64 x -2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (-.f64 1 (cos.f64 x)) (pow.f64 x -2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (-.f64 1 (cos.f64 x)) (pow.f64 x -2)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (-.f64 1 (cos.f64 x))) 2) (*.f64 (cbrt.f64 (-.f64 1 (cos.f64 x))) (pow.f64 x -2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (*.f64 (-.f64 1 (cos.f64 x)) (pow.f64 x -2))) (pow.f64 (cbrt.f64 (*.f64 (-.f64 1 (cos.f64 x)) (pow.f64 x -2))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (*.f64 (-.f64 1 (cos.f64 x)) (pow.f64 x -2))) 2) (cbrt.f64 (*.f64 (-.f64 1 (cos.f64 x)) (pow.f64 x -2))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (-.f64 1 (cos.f64 x))) (*.f64 (sqrt.f64 (-.f64 1 (cos.f64 x))) (pow.f64 x -2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (sqrt.f64 (-.f64 1 (cos.f64 x))) x) (/.f64 (sqrt.f64 (-.f64 1 (cos.f64 x))) x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (neg.f64 (-.f64 1 (cos.f64 x))) (/.f64 1 (*.f64 x (neg.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 x -2) (-.f64 1 (cos.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (-.f64 1 (cos.f64 x)) x) (/.f64 1 x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (pow.f64 (cbrt.f64 (-.f64 1 (cos.f64 x))) 2) 1) (/.f64 (cbrt.f64 (-.f64 1 (cos.f64 x))) (*.f64 x x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (sqrt.f64 (-.f64 1 (cos.f64 x))) 1) (/.f64 (sqrt.f64 (-.f64 1 (cos.f64 x))) (*.f64 x x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 1 x) (/.f64 (-.f64 1 (cos.f64 x)) x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (pow.f64 (cbrt.f64 (-.f64 1 (cos.f64 x))) 2) x) (/.f64 (cbrt.f64 (-.f64 1 (cos.f64 x))) x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 1 (cbrt.f64 (pow.f64 x 4))) (/.f64 (-.f64 1 (cos.f64 x)) (pow.f64 (cbrt.f64 x) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (pow.f64 (cbrt.f64 (-.f64 1 (cos.f64 x))) 2) (cbrt.f64 (pow.f64 x 4))) (cbrt.f64 (*.f64 (-.f64 1 (cos.f64 x)) (pow.f64 x -2))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (sqrt.f64 (-.f64 1 (cos.f64 x))) (cbrt.f64 (pow.f64 x 4))) (/.f64 (sqrt.f64 (-.f64 1 (cos.f64 x))) (pow.f64 (cbrt.f64 x) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 (-.f64 1 (cos.f64 x)) (pow.f64 x -2)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 (-.f64 1 (cos.f64 x)) (pow.f64 x -2)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (*.f64 (-.f64 1 (cos.f64 x)) (pow.f64 x -2))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 (sqrt.f64 (-.f64 1 (cos.f64 x))) x) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 (*.f64 x x) (-.f64 1 (cos.f64 x))) -1)))) (#(struct:change #<rule egg-rr> (2) ((x neg.f64 (/.f64 (-.f64 1 (cos.f64 x)) (*.f64 x (neg.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (/.f64 (pow.f64 (-.f64 1 (cos.f64 x)) 2) (pow.f64 x 4)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (pow.f64 (exp.f64 (-.f64 1 (cos.f64 x))) (pow.f64 x -2)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (*.f64 (-.f64 1 (cos.f64 x)) (pow.f64 x -2)))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (*.f64 (-.f64 1 (cos.f64 x)) (pow.f64 x -2)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (/.f64 (pow.f64 (-.f64 1 (cos.f64 x)) 3) (pow.f64 (*.f64 x x) 3)))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 (-.f64 1 (cos.f64 x)) (pow.f64 x -2))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (*.f64 (-.f64 1 (cos.f64 x)) (pow.f64 x -2))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (*.f64 (-.f64 1 (cos.f64 x)) (pow.f64 x -2))) 1))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 (-.f64 1 (cos.f64 x)) (pow.f64 x -2)))))))) |
((#(struct:change #<rule egg-rr> (2) ((x +.f64 1 (neg.f64 (cos.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 1 (*.f64 (neg.f64 (cos.f64 x)) 1))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (neg.f64 (cos.f64 x)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (-.f64 1 (cos.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (-.f64 1 (cos.f64 x)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (-.f64 1 (cos.f64 x))) (pow.f64 (cbrt.f64 (-.f64 1 (cos.f64 x))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (-.f64 1 (cos.f64 x))) 2) (cbrt.f64 (-.f64 1 (cos.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (-.f64 1 (cos.f64 x))) (sqrt.f64 (-.f64 1 (cos.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (-.f64 1 (pow.f64 (cos.f64 x) 3)) (/.f64 1 (+.f64 1 (+.f64 (cos.f64 x) (pow.f64 (cos.f64 x) 2)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (sin.f64 x) (sin.f64 x)) (/.f64 1 (+.f64 1 (cos.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (+.f64 1 (+.f64 (cos.f64 x) (pow.f64 (cos.f64 x) 2))) (-.f64 1 (pow.f64 (cos.f64 x) 3))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (+.f64 1 (cos.f64 x)) (*.f64 (sin.f64 x) (sin.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 1 (pow.f64 (cos.f64 x) 3)) (+.f64 1 (+.f64 (cos.f64 x) (pow.f64 (cos.f64 x) 2))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (sin.f64 x) (sin.f64 x)) (+.f64 1 (cos.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (-.f64 1 (pow.f64 (cos.f64 x) 3))) (neg.f64 (+.f64 1 (+.f64 (cos.f64 x) (pow.f64 (cos.f64 x) 2)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (*.f64 (sin.f64 x) (sin.f64 x))) (neg.f64 (+.f64 1 (cos.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 1 (pow.f64 (neg.f64 (cos.f64 x)) 3)) (+.f64 1 (-.f64 (*.f64 (neg.f64 (cos.f64 x)) (neg.f64 (cos.f64 x))) (neg.f64 (cos.f64 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 1 (*.f64 (neg.f64 (cos.f64 x)) (neg.f64 (cos.f64 x)))) (-.f64 1 (neg.f64 (cos.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (-.f64 1 (cos.f64 x)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (-.f64 1 (cos.f64 x)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (-.f64 1 (cos.f64 x))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (-.f64 1 (cos.f64 x))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (-.f64 1 (cos.f64 x)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (-.f64 1 (cos.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (-.f64 1 (cos.f64 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (-.f64 1 (cos.f64 x)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (-.f64 1 (cos.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log1p.f64 (neg.f64 (cos.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log1p.f64 (neg.f64 (cos.f64 x))) 1))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (-.f64 1 (cos.f64 x)))))))) |
| 1× | egg-herbie |
| 588× | associate-*l*_binary64 |
| 468× | fma-def_binary64 |
| 434× | associate-*r*_binary64 |
| 413× | unswap-sqr_binary64 |
| 387× | cancel-sign-sub-inv_binary64 |
Useful iterations: 3 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 35 | 224 |
| 1 | 97 | 220 |
| 2 | 266 | 214 |
| 3 | 901 | 212 |
| 4 | 4446 | 212 |
| 1× | node limit |
| Inputs |
|---|
1/2 |
(-.f64 1/2 (*.f64 1/24 (pow.f64 x 2))) |
(-.f64 (+.f64 (*.f64 1/720 (pow.f64 x 4)) 1/2) (*.f64 1/24 (pow.f64 x 2))) |
(-.f64 (+.f64 (*.f64 1/720 (pow.f64 x 4)) 1/2) (+.f64 (*.f64 1/40320 (pow.f64 x 6)) (*.f64 1/24 (pow.f64 x 2)))) |
(/.f64 (-.f64 1 (cos.f64 x)) (pow.f64 x 2)) |
(/.f64 (-.f64 1 (cos.f64 x)) (pow.f64 x 2)) |
(/.f64 (-.f64 1 (cos.f64 x)) (pow.f64 x 2)) |
(/.f64 (-.f64 1 (cos.f64 x)) (pow.f64 x 2)) |
(/.f64 (-.f64 1 (cos.f64 x)) (pow.f64 x 2)) |
(/.f64 (-.f64 1 (cos.f64 x)) (pow.f64 x 2)) |
(/.f64 (-.f64 1 (cos.f64 x)) (pow.f64 x 2)) |
(/.f64 (-.f64 1 (cos.f64 x)) (pow.f64 x 2)) |
(*.f64 1/2 (pow.f64 x 2)) |
(-.f64 (*.f64 1/2 (pow.f64 x 2)) (*.f64 1/24 (pow.f64 x 4))) |
(-.f64 (+.f64 (*.f64 1/720 (pow.f64 x 6)) (*.f64 1/2 (pow.f64 x 2))) (*.f64 1/24 (pow.f64 x 4))) |
(-.f64 (+.f64 (*.f64 1/720 (pow.f64 x 6)) (*.f64 1/2 (pow.f64 x 2))) (+.f64 (*.f64 1/24 (pow.f64 x 4)) (*.f64 1/40320 (pow.f64 x 8)))) |
| Outputs |
|---|
1/2 |
(-.f64 1/2 (*.f64 1/24 (pow.f64 x 2))) |
(+.f64 1/2 (*.f64 -1/24 (*.f64 x x))) |
(+.f64 1/2 (*.f64 (*.f64 x x) -1/24)) |
(fma.f64 (*.f64 x x) -1/24 1/2) |
(fma.f64 x (*.f64 x -1/24) 1/2) |
(-.f64 (+.f64 (*.f64 1/720 (pow.f64 x 4)) 1/2) (*.f64 1/24 (pow.f64 x 2))) |
(-.f64 (fma.f64 1/720 (pow.f64 x 4) 1/2) (*.f64 1/24 (*.f64 x x))) |
(fma.f64 (*.f64 x x) -1/24 (fma.f64 1/720 (pow.f64 x 4) 1/2)) |
(fma.f64 x (*.f64 x -1/24) (fma.f64 1/720 (pow.f64 x 4) 1/2)) |
(-.f64 (+.f64 (*.f64 1/720 (pow.f64 x 4)) 1/2) (+.f64 (*.f64 1/40320 (pow.f64 x 6)) (*.f64 1/24 (pow.f64 x 2)))) |
(-.f64 (fma.f64 1/720 (pow.f64 x 4) 1/2) (fma.f64 1/40320 (pow.f64 x 6) (*.f64 1/24 (*.f64 x x)))) |
(-.f64 (fma.f64 1/720 (pow.f64 x 4) 1/2) (fma.f64 1/24 (*.f64 x x) (*.f64 1/40320 (pow.f64 x 6)))) |
(+.f64 1/2 (fma.f64 1/720 (pow.f64 x 4) (fma.f64 (*.f64 x x) -1/24 (*.f64 (pow.f64 x 6) -1/40320)))) |
(fma.f64 x (*.f64 x -1/24) (fma.f64 (pow.f64 x 6) -1/40320 (fma.f64 1/720 (pow.f64 x 4) 1/2))) |
(/.f64 (-.f64 1 (cos.f64 x)) (pow.f64 x 2)) |
(/.f64 (-.f64 1 (cos.f64 x)) (*.f64 x x)) |
(/.f64 (-.f64 1 (cos.f64 x)) (pow.f64 x 2)) |
(/.f64 (-.f64 1 (cos.f64 x)) (*.f64 x x)) |
(/.f64 (-.f64 1 (cos.f64 x)) (pow.f64 x 2)) |
(/.f64 (-.f64 1 (cos.f64 x)) (*.f64 x x)) |
(/.f64 (-.f64 1 (cos.f64 x)) (pow.f64 x 2)) |
(/.f64 (-.f64 1 (cos.f64 x)) (*.f64 x x)) |
(/.f64 (-.f64 1 (cos.f64 x)) (pow.f64 x 2)) |
(/.f64 (-.f64 1 (cos.f64 x)) (*.f64 x x)) |
(/.f64 (-.f64 1 (cos.f64 x)) (pow.f64 x 2)) |
(/.f64 (-.f64 1 (cos.f64 x)) (*.f64 x x)) |
(/.f64 (-.f64 1 (cos.f64 x)) (pow.f64 x 2)) |
(/.f64 (-.f64 1 (cos.f64 x)) (*.f64 x x)) |
(/.f64 (-.f64 1 (cos.f64 x)) (pow.f64 x 2)) |
(/.f64 (-.f64 1 (cos.f64 x)) (*.f64 x x)) |
(*.f64 1/2 (pow.f64 x 2)) |
(*.f64 1/2 (*.f64 x x)) |
(-.f64 (*.f64 1/2 (pow.f64 x 2)) (*.f64 1/24 (pow.f64 x 4))) |
(+.f64 (*.f64 1/2 (*.f64 x x)) (*.f64 -1/24 (pow.f64 x 4))) |
(fma.f64 1/2 (*.f64 x x) (*.f64 (pow.f64 x 4) -1/24)) |
(*.f64 x (*.f64 x (fma.f64 x (*.f64 x -1/24) 1/2))) |
(-.f64 (+.f64 (*.f64 1/720 (pow.f64 x 6)) (*.f64 1/2 (pow.f64 x 2))) (*.f64 1/24 (pow.f64 x 4))) |
(+.f64 (fma.f64 1/720 (pow.f64 x 6) (*.f64 1/2 (*.f64 x x))) (*.f64 -1/24 (pow.f64 x 4))) |
(fma.f64 1/720 (pow.f64 x 6) (fma.f64 1/2 (*.f64 x x) (*.f64 (pow.f64 x 4) -1/24))) |
(fma.f64 1/2 (*.f64 x x) (fma.f64 1/720 (pow.f64 x 6) (*.f64 (pow.f64 x 4) -1/24))) |
(-.f64 (+.f64 (*.f64 1/720 (pow.f64 x 6)) (*.f64 1/2 (pow.f64 x 2))) (+.f64 (*.f64 1/24 (pow.f64 x 4)) (*.f64 1/40320 (pow.f64 x 8)))) |
(-.f64 (fma.f64 1/720 (pow.f64 x 6) (*.f64 1/2 (*.f64 x x))) (fma.f64 1/24 (pow.f64 x 4) (*.f64 1/40320 (pow.f64 x 8)))) |
(+.f64 (fma.f64 1/720 (pow.f64 x 6) (fma.f64 1/2 (*.f64 x x) (*.f64 (pow.f64 x 4) -1/24))) (*.f64 -1/40320 (pow.f64 x 8))) |
(fma.f64 1/2 (*.f64 x x) (fma.f64 1/720 (pow.f64 x 6) (fma.f64 (pow.f64 x 4) -1/24 (*.f64 (pow.f64 x 8) -1/40320)))) |
(fma.f64 (*.f64 x x) (fma.f64 x (*.f64 x -1/24) 1/2) (fma.f64 1/720 (pow.f64 x 6) (*.f64 (pow.f64 x 8) -1/40320))) |
8 alts after pruning (8 fresh and 0 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 75 | 8 | 83 |
| Fresh | 0 | 0 | 0 |
| Picked | 1 | 0 | 1 |
| Done | 0 | 0 | 0 |
| Total | 76 | 8 | 84 |
| Status | Error | Program |
|---|---|---|
| 29.7b | (/.f64 (*.f64 (-.f64 1 (pow.f64 (cos.f64 x) 3)) (/.f64 1 (+.f64 1 (+.f64 (cos.f64 x) (pow.f64 (cos.f64 x) 2))))) (*.f64 x x)) | |
| 29.3b | (-.f64 (pow.f64 x -2) (*.f64 (cos.f64 x) (pow.f64 x -2))) | |
| 29.0b | (pow.f64 (/.f64 (sqrt.f64 (-.f64 1 (cos.f64 x))) x) 2) | |
| 29.1b | (*.f64 (/.f64 (pow.f64 (cbrt.f64 (-.f64 1 (cos.f64 x))) 2) x) (/.f64 (cbrt.f64 (-.f64 1 (cos.f64 x))) x)) | |
| 33.7b | (fma.f64 x (*.f64 x -1/24) (fma.f64 1/720 (pow.f64 x 4) 1/2)) | |
| 28.9b | (*.f64 (/.f64 (-.f64 1 (cos.f64 x)) x) (/.f64 1 x)) | |
| ▶ | 14.3b | (/.f64 (/.f64 (*.f64 (sin.f64 x) (sin.f64 x)) (+.f64 1 (cos.f64 x))) (*.f64 x x)) |
| 14.3b | (/.f64 (*.f64 (*.f64 (sin.f64 x) (sin.f64 x)) (/.f64 1 (+.f64 1 (cos.f64 x)))) (*.f64 x x)) |
Compiled 1343 to 834 computations (37.9% saved)
Found 4 expressions with local error:
| New | Error | Program |
|---|---|---|
| ✓ | 0.2b | (/.f64 (*.f64 (sin.f64 x) (sin.f64 x)) (+.f64 1 (cos.f64 x))) |
| ✓ | 0.3b | (*.f64 (sin.f64 x) (sin.f64 x)) |
| ✓ | 0.5b | (+.f64 1 (cos.f64 x)) |
| ✓ | 13.7b | (/.f64 (/.f64 (*.f64 (sin.f64 x) (sin.f64 x)) (+.f64 1 (cos.f64 x))) (*.f64 x x)) |
12 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 2.0ms | x | @ | -inf | (/.f64 (/.f64 (*.f64 (sin.f64 x) (sin.f64 x)) (+.f64 1 (cos.f64 x))) (*.f64 x x)) |
| 1.0ms | x | @ | inf | (/.f64 (/.f64 (*.f64 (sin.f64 x) (sin.f64 x)) (+.f64 1 (cos.f64 x))) (*.f64 x x)) |
| 1.0ms | x | @ | 0 | (/.f64 (/.f64 (*.f64 (sin.f64 x) (sin.f64 x)) (+.f64 1 (cos.f64 x))) (*.f64 x x)) |
| 0.0ms | x | @ | -inf | (/.f64 (*.f64 (sin.f64 x) (sin.f64 x)) (+.f64 1 (cos.f64 x))) |
| 0.0ms | x | @ | inf | (/.f64 (*.f64 (sin.f64 x) (sin.f64 x)) (+.f64 1 (cos.f64 x))) |
| 1× | batch-egg-rewrite |
| 456× | prod-diff_binary64 |
| 195× | expm1-udef_binary64 |
| 195× | log1p-udef_binary64 |
| 120× | add-sqr-sqrt_binary64 |
| 116× | *-un-lft-identity_binary64 |
Useful iterations: 1 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 10 | 46 |
| 1 | 228 | 30 |
| 2 | 3521 | 30 |
| 1× | node limit |
| Inputs |
|---|
(/.f64 (/.f64 (*.f64 (sin.f64 x) (sin.f64 x)) (+.f64 1 (cos.f64 x))) (*.f64 x x)) |
(+.f64 1 (cos.f64 x)) |
(*.f64 (sin.f64 x) (sin.f64 x)) |
(/.f64 (*.f64 (sin.f64 x) (sin.f64 x)) (+.f64 1 (cos.f64 x))) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (*.f64 (-.f64 1 (cos.f64 x)) (pow.f64 x -2)))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (/.f64 1/2 (*.f64 (+.f64 1 (cos.f64 x)) (*.f64 x x))) (/.f64 (*.f64 (cos.f64 (+.f64 x x)) 1/2) (*.f64 (+.f64 1 (cos.f64 x)) (*.f64 x x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (sin.f64 x) 2) (/.f64 1 (*.f64 (+.f64 1 (cos.f64 x)) (*.f64 x x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (sin.f64 x) 2) (*.f64 (/.f64 1 (+.f64 1 (cos.f64 x))) (pow.f64 x -2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (*.f64 (-.f64 1 (cos.f64 x)) (pow.f64 x -2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (-.f64 1 (cos.f64 x)) (pow.f64 x -2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (-.f64 1 (cos.f64 x)) (pow.f64 x -2)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (-.f64 1 (cos.f64 x))) 2) (*.f64 (cbrt.f64 (-.f64 1 (cos.f64 x))) (pow.f64 x -2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (*.f64 (-.f64 1 (cos.f64 x)) (pow.f64 x -2))) (pow.f64 (cbrt.f64 (*.f64 (-.f64 1 (cos.f64 x)) (pow.f64 x -2))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (*.f64 (-.f64 1 (cos.f64 x)) (pow.f64 x -2))) 2) (cbrt.f64 (*.f64 (-.f64 1 (cos.f64 x)) (pow.f64 x -2))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (-.f64 1 (cos.f64 x))) (*.f64 (sqrt.f64 (-.f64 1 (cos.f64 x))) (pow.f64 x -2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (sqrt.f64 (-.f64 1 (cos.f64 x))) x) (/.f64 (sqrt.f64 (-.f64 1 (cos.f64 x))) x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (neg.f64 (-.f64 1 (cos.f64 x))) (/.f64 1 (*.f64 x (neg.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 x -2) (-.f64 1 (cos.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (-.f64 1 (cos.f64 x)) x) (/.f64 1 x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (pow.f64 (sin.f64 x) 2) 1) (/.f64 (/.f64 1 (+.f64 1 (cos.f64 x))) (*.f64 x x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (pow.f64 (cbrt.f64 (-.f64 1 (cos.f64 x))) 2) 1) (/.f64 (cbrt.f64 (-.f64 1 (cos.f64 x))) (*.f64 x x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (sqrt.f64 (-.f64 1 (cos.f64 x))) 1) (/.f64 (sqrt.f64 (-.f64 1 (cos.f64 x))) (*.f64 x x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (sin.f64 x) (*.f64 x x)) (/.f64 (sin.f64 x) (+.f64 1 (cos.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (cbrt.f64 (pow.f64 (sin.f64 x) 4)) (*.f64 x x)) (/.f64 (pow.f64 (cbrt.f64 (sin.f64 x)) 2) (+.f64 1 (cos.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (pow.f64 (sin.f64 x) 2) x) (/.f64 (/.f64 1 (+.f64 1 (cos.f64 x))) x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 1 x) (/.f64 (-.f64 1 (cos.f64 x)) x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (pow.f64 (cbrt.f64 (-.f64 1 (cos.f64 x))) 2) x) (/.f64 (cbrt.f64 (-.f64 1 (cos.f64 x))) x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (pow.f64 (sin.f64 x) 2) (cbrt.f64 (pow.f64 x 4))) (/.f64 (/.f64 1 (+.f64 1 (cos.f64 x))) (pow.f64 (cbrt.f64 x) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 1 (cbrt.f64 (pow.f64 x 4))) (/.f64 (-.f64 1 (cos.f64 x)) (pow.f64 (cbrt.f64 x) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (pow.f64 (cbrt.f64 (-.f64 1 (cos.f64 x))) 2) (cbrt.f64 (pow.f64 x 4))) (cbrt.f64 (*.f64 (-.f64 1 (cos.f64 x)) (pow.f64 x -2))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (sqrt.f64 (-.f64 1 (cos.f64 x))) (cbrt.f64 (pow.f64 x 4))) (/.f64 (sqrt.f64 (-.f64 1 (cos.f64 x))) (pow.f64 (cbrt.f64 x) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 (-.f64 1 (cos.f64 x)) (pow.f64 x -2)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 (-.f64 1 (cos.f64 x)) (pow.f64 x -2)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (*.f64 (-.f64 1 (cos.f64 x)) (pow.f64 x -2))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 (sqrt.f64 (-.f64 1 (cos.f64 x))) x) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 x (/.f64 (-.f64 1 (cos.f64 x)) x)) -1)))) (#(struct:change #<rule egg-rr> (2) ((x neg.f64 (/.f64 (-.f64 1 (cos.f64 x)) (*.f64 x (neg.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (/.f64 (pow.f64 (-.f64 1 (cos.f64 x)) 2) (pow.f64 x 4)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (pow.f64 (exp.f64 (-.f64 1 (cos.f64 x))) (pow.f64 x -2)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (*.f64 (-.f64 1 (cos.f64 x)) (pow.f64 x -2)))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (*.f64 (-.f64 1 (cos.f64 x)) (pow.f64 x -2)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (/.f64 (pow.f64 (-.f64 1 (cos.f64 x)) 3) (pow.f64 (*.f64 x x) 3)))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 (-.f64 1 (cos.f64 x)) (pow.f64 x -2))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (*.f64 (-.f64 1 (cos.f64 x)) (pow.f64 x -2))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (*.f64 (-.f64 1 (cos.f64 x)) (pow.f64 x -2))) 1))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 (-.f64 1 (cos.f64 x)) (pow.f64 x -2)))))))) |
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (/.f64 1 (-.f64 1 (cos.f64 x))) (/.f64 (pow.f64 (cos.f64 x) 2) (-.f64 1 (cos.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (+.f64 1 (cos.f64 x)))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (sin.f64 x) 2) (/.f64 1 (-.f64 1 (cos.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (+.f64 1 (cos.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 1 (cos.f64 x)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (+.f64 1 (cos.f64 x))) (pow.f64 (cbrt.f64 (+.f64 1 (cos.f64 x))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (+.f64 1 (cos.f64 x))) 2) (cbrt.f64 (+.f64 1 (cos.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (+.f64 1 (cos.f64 x))) (sqrt.f64 (+.f64 1 (cos.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 1 (pow.f64 (cos.f64 x) 3)) (/.f64 1 (+.f64 1 (-.f64 (pow.f64 (cos.f64 x) 2) (cos.f64 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (pow.f64 (sin.f64 x) 2) (-.f64 1 (cos.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (+.f64 1 (-.f64 (pow.f64 (cos.f64 x) 2) (cos.f64 x))) (+.f64 1 (pow.f64 (cos.f64 x) 3))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (-.f64 1 (cos.f64 x)) (pow.f64 (sin.f64 x) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (pow.f64 (sin.f64 x) 2)) (neg.f64 (-.f64 1 (cos.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 1 (pow.f64 (cos.f64 x) 3)) (+.f64 1 (-.f64 (pow.f64 (cos.f64 x) 2) (cos.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 1 (pow.f64 (cos.f64 x) 3)) (+.f64 (pow.f64 (cos.f64 x) 2) (-.f64 1 (cos.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (+.f64 1 (pow.f64 (cos.f64 x) 3))) (neg.f64 (+.f64 1 (-.f64 (pow.f64 (cos.f64 x) 2) (cos.f64 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (pow.f64 (cos.f64 x) 2) 1) (-.f64 (cos.f64 x) 1))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (+.f64 1 (cos.f64 x)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (+.f64 1 (cos.f64 x)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (+.f64 1 (cos.f64 x))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (+.f64 1 (cos.f64 x))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (+.f64 1 (cos.f64 x)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (+.f64 1 (cos.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (+.f64 1 (cos.f64 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (+.f64 1 (cos.f64 x)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (+.f64 1 (cos.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log1p.f64 (cos.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log1p.f64 (cos.f64 x)) 1))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (cos.f64 x) 1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 (cos.f64 x)) 2) (cbrt.f64 (cos.f64 x)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 (cos.f64 x)) (sqrt.f64 (cos.f64 x)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (+.f64 1 (cos.f64 x)))))))) |
((#(struct:change #<rule egg-rr> (2) ((x +.f64 1 (neg.f64 (pow.f64 (cos.f64 x) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 1 (*.f64 (neg.f64 (cos.f64 x)) (cos.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 1/2 (neg.f64 (*.f64 (cos.f64 (+.f64 x x)) 1/2)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 1/2 (*.f64 -1/2 (cos.f64 (+.f64 x x))))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 1 (pow.f64 (cos.f64 x) 2))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 1/2 (*.f64 (cos.f64 (+.f64 x x)) 1/2))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (pow.f64 (sin.f64 x) 2))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (/.f64 (cos.f64 0) 2) (/.f64 (cos.f64 (+.f64 x x)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 2 (-.f64 (cos.f64 0) (cos.f64 (+.f64 x x)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (cos.f64 0) (cos.f64 (+.f64 x x))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (-.f64 (cos.f64 0) (cos.f64 (+.f64 x x)))) -2)))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 1/8 (pow.f64 (*.f64 (cos.f64 (+.f64 x x)) 1/2) 3)) (+.f64 1/4 (+.f64 (*.f64 (*.f64 (cos.f64 (+.f64 x x)) 1/2) (*.f64 (cos.f64 (+.f64 x x)) 1/2)) (*.f64 1/2 (*.f64 (cos.f64 (+.f64 x x)) 1/2)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 1 (pow.f64 (pow.f64 (cos.f64 x) 2) 3)) (+.f64 1 (+.f64 (*.f64 (pow.f64 (cos.f64 x) 2) (pow.f64 (cos.f64 x) 2)) (pow.f64 (cos.f64 x) 2))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 1/4 (*.f64 (*.f64 (cos.f64 (+.f64 x x)) 1/2) (*.f64 (cos.f64 (+.f64 x x)) 1/2))) (pow.f64 (cos.f64 x) 2))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 1 (*.f64 (pow.f64 (cos.f64 x) 2) (pow.f64 (cos.f64 x) 2))) (+.f64 1 (pow.f64 (cos.f64 x) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sin.f64 x) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (sin.f64 x) 2) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (pow.f64 (sin.f64 x) 2) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (cbrt.f64 (sin.f64 x)) 2) 3)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (sin.f64 x) 4))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (pow.f64 (sin.f64 x) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (pow.f64 (sin.f64 x) 2))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (pow.f64 (sin.f64 x) 2) 3))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (pow.f64 (sin.f64 x) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 2 (log.f64 (sin.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (sin.f64 x)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 2 (log.f64 (sin.f64 x))) 1))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (pow.f64 (sin.f64 x) 2))))))) |
((#(struct:change #<rule egg-rr> (2) ((x +.f64 1 (neg.f64 (cos.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 1 (*.f64 -1 (cos.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 1 (*.f64 (neg.f64 (pow.f64 (cbrt.f64 (cos.f64 x)) 2)) (cbrt.f64 (cos.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 1 (*.f64 (neg.f64 (sqrt.f64 (cos.f64 x))) (sqrt.f64 (cos.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 1 (cos.f64 x))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (-.f64 1 (cos.f64 x)))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (/.f64 1/2 (+.f64 1 (cos.f64 x))) (/.f64 (*.f64 (cos.f64 (+.f64 x x)) 1/2) (+.f64 1 (cos.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sin.f64 x) (/.f64 1 (/.f64 (+.f64 1 (cos.f64 x)) (sin.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sin.f64 x) (*.f64 (sin.f64 x) (/.f64 1 (+.f64 1 (cos.f64 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (sin.f64 x) 2) (/.f64 1 (+.f64 1 (cos.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (-.f64 1 (cos.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (-.f64 1 (cos.f64 x)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (-.f64 1 (cos.f64 x))) (pow.f64 (cbrt.f64 (-.f64 1 (cos.f64 x))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (-.f64 1 (cos.f64 x))) 2) (cbrt.f64 (-.f64 1 (cos.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (pow.f64 (sin.f64 x) 4)) (*.f64 (pow.f64 (cbrt.f64 (sin.f64 x)) 2) (/.f64 1 (+.f64 1 (cos.f64 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (-.f64 1 (cos.f64 x))) (sqrt.f64 (-.f64 1 (cos.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (neg.f64 (pow.f64 (sin.f64 x) 2)) (/.f64 1 (+.f64 (neg.f64 (cos.f64 x)) -1)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 1 (+.f64 1 (cos.f64 x))) (pow.f64 (sin.f64 x) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (sin.f64 x) 1) (/.f64 (sin.f64 x) (+.f64 1 (cos.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (sin.f64 x) (+.f64 1 (cos.f64 x))) (sin.f64 x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (cbrt.f64 (pow.f64 (sin.f64 x) 4)) 1) (/.f64 (pow.f64 (cbrt.f64 (sin.f64 x)) 2) (+.f64 1 (cos.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (sin.f64 x) (pow.f64 (cbrt.f64 (+.f64 1 (cos.f64 x))) 2)) (/.f64 (sin.f64 x) (cbrt.f64 (+.f64 1 (cos.f64 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 1 (pow.f64 (cbrt.f64 (+.f64 1 (cos.f64 x))) 2)) (/.f64 (pow.f64 (sin.f64 x) 2) (cbrt.f64 (+.f64 1 (cos.f64 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (cbrt.f64 (pow.f64 (sin.f64 x) 4)) (pow.f64 (cbrt.f64 (+.f64 1 (cos.f64 x))) 2)) (cbrt.f64 (-.f64 1 (cos.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 1 (sqrt.f64 (+.f64 1 (cos.f64 x)))) (/.f64 (pow.f64 (sin.f64 x) 2) (sqrt.f64 (+.f64 1 (cos.f64 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (cbrt.f64 (pow.f64 (sin.f64 x) 4)) (sqrt.f64 (+.f64 1 (cos.f64 x)))) (/.f64 (pow.f64 (cbrt.f64 (sin.f64 x)) 2) (sqrt.f64 (+.f64 1 (cos.f64 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (pow.f64 (sin.f64 x) 2) (+.f64 1 (pow.f64 (cos.f64 x) 3))) (+.f64 1 (-.f64 (pow.f64 (cos.f64 x) 2) (cos.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 (sin.f64 x) 2)) (-.f64 1 (cos.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (-.f64 1 (cos.f64 x)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (-.f64 1 (cos.f64 x)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (-.f64 1 (cos.f64 x))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (-.f64 1 (cos.f64 x))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 1 (-.f64 1 (cos.f64 x))) -1)))) (#(struct:change #<rule egg-rr> (2) ((x neg.f64 (/.f64 (pow.f64 (sin.f64 x) 2) (+.f64 (neg.f64 (cos.f64 x)) -1)))))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (-.f64 1 (cos.f64 x)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (-.f64 1 (cos.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (-.f64 1 (cos.f64 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (-.f64 1 (cos.f64 x)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (/.f64 (pow.f64 (pow.f64 (sin.f64 x) 2) 3) (pow.f64 (+.f64 1 (cos.f64 x)) 3)))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (-.f64 1 (cos.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (-.f64 1 (cos.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (-.f64 1 (cos.f64 x))) 1))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (-.f64 1 (cos.f64 x)))))))) |
| 1× | egg-herbie |
| 920× | times-frac_binary64 |
| 452× | fma-neg_binary64 |
| 209× | *-commutative_binary64 |
| 187× | fma-def_binary64 |
| 167× | distribute-rgt-neg-in_binary64 |
Useful iterations: 2 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 54 | 564 |
| 1 | 155 | 556 |
| 2 | 460 | 496 |
| 3 | 1638 | 496 |
| 4 | 4511 | 496 |
| 1× | node limit |
| Inputs |
|---|
1/2 |
(-.f64 1/2 (*.f64 1/24 (pow.f64 x 2))) |
(-.f64 (+.f64 (*.f64 1/720 (pow.f64 x 4)) 1/2) (*.f64 1/24 (pow.f64 x 2))) |
(-.f64 (+.f64 (*.f64 1/720 (pow.f64 x 4)) 1/2) (+.f64 (*.f64 1/40320 (pow.f64 x 6)) (*.f64 1/24 (pow.f64 x 2)))) |
(/.f64 (pow.f64 (sin.f64 x) 2) (*.f64 (+.f64 1 (cos.f64 x)) (pow.f64 x 2))) |
(/.f64 (pow.f64 (sin.f64 x) 2) (*.f64 (+.f64 1 (cos.f64 x)) (pow.f64 x 2))) |
(/.f64 (pow.f64 (sin.f64 x) 2) (*.f64 (+.f64 1 (cos.f64 x)) (pow.f64 x 2))) |
(/.f64 (pow.f64 (sin.f64 x) 2) (*.f64 (+.f64 1 (cos.f64 x)) (pow.f64 x 2))) |
(/.f64 (pow.f64 (sin.f64 x) 2) (*.f64 (+.f64 1 (cos.f64 x)) (pow.f64 x 2))) |
(/.f64 (pow.f64 (sin.f64 x) 2) (*.f64 (+.f64 1 (cos.f64 x)) (pow.f64 x 2))) |
(/.f64 (pow.f64 (sin.f64 x) 2) (*.f64 (+.f64 1 (cos.f64 x)) (pow.f64 x 2))) |
(/.f64 (pow.f64 (sin.f64 x) 2) (*.f64 (+.f64 1 (cos.f64 x)) (pow.f64 x 2))) |
2 |
(-.f64 2 (*.f64 1/2 (pow.f64 x 2))) |
(-.f64 (+.f64 (*.f64 1/24 (pow.f64 x 4)) 2) (*.f64 1/2 (pow.f64 x 2))) |
(-.f64 (+.f64 (*.f64 1/24 (pow.f64 x 4)) 2) (+.f64 (*.f64 1/720 (pow.f64 x 6)) (*.f64 1/2 (pow.f64 x 2)))) |
(pow.f64 x 2) |
(-.f64 (pow.f64 x 2) (*.f64 1/3 (pow.f64 x 4))) |
(-.f64 (+.f64 (*.f64 2/45 (pow.f64 x 6)) (pow.f64 x 2)) (*.f64 1/3 (pow.f64 x 4))) |
(-.f64 (+.f64 (*.f64 2/45 (pow.f64 x 6)) (pow.f64 x 2)) (+.f64 (*.f64 1/3 (pow.f64 x 4)) (*.f64 1/315 (pow.f64 x 8)))) |
(pow.f64 (sin.f64 x) 2) |
(pow.f64 (sin.f64 x) 2) |
(pow.f64 (sin.f64 x) 2) |
(pow.f64 (sin.f64 x) 2) |
(pow.f64 (sin.f64 x) 2) |
(pow.f64 (sin.f64 x) 2) |
(pow.f64 (sin.f64 x) 2) |
(pow.f64 (sin.f64 x) 2) |
(*.f64 1/2 (pow.f64 x 2)) |
(-.f64 (*.f64 1/2 (pow.f64 x 2)) (*.f64 1/24 (pow.f64 x 4))) |
(-.f64 (+.f64 (*.f64 1/720 (pow.f64 x 6)) (*.f64 1/2 (pow.f64 x 2))) (*.f64 1/24 (pow.f64 x 4))) |
(-.f64 (+.f64 (*.f64 1/720 (pow.f64 x 6)) (*.f64 1/2 (pow.f64 x 2))) (+.f64 (*.f64 1/24 (pow.f64 x 4)) (*.f64 1/40320 (pow.f64 x 8)))) |
(/.f64 (pow.f64 (sin.f64 x) 2) (+.f64 1 (cos.f64 x))) |
(/.f64 (pow.f64 (sin.f64 x) 2) (+.f64 1 (cos.f64 x))) |
(/.f64 (pow.f64 (sin.f64 x) 2) (+.f64 1 (cos.f64 x))) |
(/.f64 (pow.f64 (sin.f64 x) 2) (+.f64 1 (cos.f64 x))) |
(/.f64 (pow.f64 (sin.f64 x) 2) (+.f64 1 (cos.f64 x))) |
(/.f64 (pow.f64 (sin.f64 x) 2) (+.f64 1 (cos.f64 x))) |
(/.f64 (pow.f64 (sin.f64 x) 2) (+.f64 1 (cos.f64 x))) |
(/.f64 (pow.f64 (sin.f64 x) 2) (+.f64 1 (cos.f64 x))) |
| Outputs |
|---|
1/2 |
(-.f64 1/2 (*.f64 1/24 (pow.f64 x 2))) |
(+.f64 1/2 (*.f64 -1/24 (*.f64 x x))) |
(+.f64 1/2 (*.f64 (*.f64 x x) -1/24)) |
(fma.f64 (*.f64 x x) -1/24 1/2) |
(-.f64 (+.f64 (*.f64 1/720 (pow.f64 x 4)) 1/2) (*.f64 1/24 (pow.f64 x 2))) |
(+.f64 (fma.f64 1/720 (pow.f64 x 4) 1/2) (*.f64 -1/24 (*.f64 x x))) |
(+.f64 (fma.f64 1/720 (pow.f64 x 4) 1/2) (*.f64 (*.f64 x x) -1/24)) |
(fma.f64 (*.f64 x x) -1/24 (fma.f64 1/720 (pow.f64 x 4) 1/2)) |
(-.f64 (+.f64 (*.f64 1/720 (pow.f64 x 4)) 1/2) (+.f64 (*.f64 1/40320 (pow.f64 x 6)) (*.f64 1/24 (pow.f64 x 2)))) |
(-.f64 (fma.f64 1/720 (pow.f64 x 4) 1/2) (fma.f64 1/40320 (pow.f64 x 6) (*.f64 1/24 (*.f64 x x)))) |
(-.f64 (fma.f64 1/720 (pow.f64 x 4) 1/2) (fma.f64 1/24 (*.f64 x x) (*.f64 1/40320 (pow.f64 x 6)))) |
(+.f64 (fma.f64 (*.f64 x x) -1/24 1/2) (fma.f64 1/720 (pow.f64 x 4) (*.f64 (pow.f64 x 6) -1/40320))) |
(+.f64 (fma.f64 1/720 (pow.f64 x 4) 1/2) (fma.f64 x (*.f64 x -1/24) (*.f64 (pow.f64 x 6) -1/40320))) |
(/.f64 (pow.f64 (sin.f64 x) 2) (*.f64 (+.f64 1 (cos.f64 x)) (pow.f64 x 2))) |
(/.f64 (pow.f64 (sin.f64 x) 2) (*.f64 (*.f64 x x) (+.f64 1 (cos.f64 x)))) |
(/.f64 (pow.f64 (sin.f64 x) 2) (*.f64 x (*.f64 x (+.f64 1 (cos.f64 x))))) |
(*.f64 (/.f64 (sin.f64 x) (*.f64 x x)) (tan.f64 (/.f64 x 2))) |
(*.f64 (sin.f64 x) (/.f64 (tan.f64 (/.f64 x 2)) (*.f64 x x))) |
(/.f64 (pow.f64 (sin.f64 x) 2) (*.f64 (+.f64 1 (cos.f64 x)) (pow.f64 x 2))) |
(/.f64 (pow.f64 (sin.f64 x) 2) (*.f64 (*.f64 x x) (+.f64 1 (cos.f64 x)))) |
(/.f64 (pow.f64 (sin.f64 x) 2) (*.f64 x (*.f64 x (+.f64 1 (cos.f64 x))))) |
(*.f64 (/.f64 (sin.f64 x) (*.f64 x x)) (tan.f64 (/.f64 x 2))) |
(*.f64 (sin.f64 x) (/.f64 (tan.f64 (/.f64 x 2)) (*.f64 x x))) |
(/.f64 (pow.f64 (sin.f64 x) 2) (*.f64 (+.f64 1 (cos.f64 x)) (pow.f64 x 2))) |
(/.f64 (pow.f64 (sin.f64 x) 2) (*.f64 (*.f64 x x) (+.f64 1 (cos.f64 x)))) |
(/.f64 (pow.f64 (sin.f64 x) 2) (*.f64 x (*.f64 x (+.f64 1 (cos.f64 x))))) |
(*.f64 (/.f64 (sin.f64 x) (*.f64 x x)) (tan.f64 (/.f64 x 2))) |
(*.f64 (sin.f64 x) (/.f64 (tan.f64 (/.f64 x 2)) (*.f64 x x))) |
(/.f64 (pow.f64 (sin.f64 x) 2) (*.f64 (+.f64 1 (cos.f64 x)) (pow.f64 x 2))) |
(/.f64 (pow.f64 (sin.f64 x) 2) (*.f64 (*.f64 x x) (+.f64 1 (cos.f64 x)))) |
(/.f64 (pow.f64 (sin.f64 x) 2) (*.f64 x (*.f64 x (+.f64 1 (cos.f64 x))))) |
(*.f64 (/.f64 (sin.f64 x) (*.f64 x x)) (tan.f64 (/.f64 x 2))) |
(*.f64 (sin.f64 x) (/.f64 (tan.f64 (/.f64 x 2)) (*.f64 x x))) |
(/.f64 (pow.f64 (sin.f64 x) 2) (*.f64 (+.f64 1 (cos.f64 x)) (pow.f64 x 2))) |
(/.f64 (pow.f64 (sin.f64 x) 2) (*.f64 (*.f64 x x) (+.f64 1 (cos.f64 x)))) |
(/.f64 (pow.f64 (sin.f64 x) 2) (*.f64 x (*.f64 x (+.f64 1 (cos.f64 x))))) |
(*.f64 (/.f64 (sin.f64 x) (*.f64 x x)) (tan.f64 (/.f64 x 2))) |
(*.f64 (sin.f64 x) (/.f64 (tan.f64 (/.f64 x 2)) (*.f64 x x))) |
(/.f64 (pow.f64 (sin.f64 x) 2) (*.f64 (+.f64 1 (cos.f64 x)) (pow.f64 x 2))) |
(/.f64 (pow.f64 (sin.f64 x) 2) (*.f64 (*.f64 x x) (+.f64 1 (cos.f64 x)))) |
(/.f64 (pow.f64 (sin.f64 x) 2) (*.f64 x (*.f64 x (+.f64 1 (cos.f64 x))))) |
(*.f64 (/.f64 (sin.f64 x) (*.f64 x x)) (tan.f64 (/.f64 x 2))) |
(*.f64 (sin.f64 x) (/.f64 (tan.f64 (/.f64 x 2)) (*.f64 x x))) |
(/.f64 (pow.f64 (sin.f64 x) 2) (*.f64 (+.f64 1 (cos.f64 x)) (pow.f64 x 2))) |
(/.f64 (pow.f64 (sin.f64 x) 2) (*.f64 (*.f64 x x) (+.f64 1 (cos.f64 x)))) |
(/.f64 (pow.f64 (sin.f64 x) 2) (*.f64 x (*.f64 x (+.f64 1 (cos.f64 x))))) |
(*.f64 (/.f64 (sin.f64 x) (*.f64 x x)) (tan.f64 (/.f64 x 2))) |
(*.f64 (sin.f64 x) (/.f64 (tan.f64 (/.f64 x 2)) (*.f64 x x))) |
(/.f64 (pow.f64 (sin.f64 x) 2) (*.f64 (+.f64 1 (cos.f64 x)) (pow.f64 x 2))) |
(/.f64 (pow.f64 (sin.f64 x) 2) (*.f64 (*.f64 x x) (+.f64 1 (cos.f64 x)))) |
(/.f64 (pow.f64 (sin.f64 x) 2) (*.f64 x (*.f64 x (+.f64 1 (cos.f64 x))))) |
(*.f64 (/.f64 (sin.f64 x) (*.f64 x x)) (tan.f64 (/.f64 x 2))) |
(*.f64 (sin.f64 x) (/.f64 (tan.f64 (/.f64 x 2)) (*.f64 x x))) |
2 |
(-.f64 2 (*.f64 1/2 (pow.f64 x 2))) |
(+.f64 2 (*.f64 -1/2 (*.f64 x x))) |
(+.f64 2 (*.f64 (*.f64 x x) -1/2)) |
(fma.f64 (*.f64 x x) -1/2 2) |
(-.f64 (+.f64 (*.f64 1/24 (pow.f64 x 4)) 2) (*.f64 1/2 (pow.f64 x 2))) |
(+.f64 (fma.f64 1/24 (pow.f64 x 4) 2) (*.f64 -1/2 (*.f64 x x))) |
(+.f64 (fma.f64 1/24 (pow.f64 x 4) 2) (*.f64 (*.f64 x x) -1/2)) |
(fma.f64 1/24 (pow.f64 x 4) (fma.f64 (*.f64 x x) -1/2 2)) |
(-.f64 (+.f64 (*.f64 1/24 (pow.f64 x 4)) 2) (+.f64 (*.f64 1/720 (pow.f64 x 6)) (*.f64 1/2 (pow.f64 x 2)))) |
(-.f64 (fma.f64 1/24 (pow.f64 x 4) 2) (fma.f64 1/720 (pow.f64 x 6) (*.f64 1/2 (*.f64 x x)))) |
(-.f64 (fma.f64 1/24 (pow.f64 x 4) 2) (fma.f64 1/2 (*.f64 x x) (*.f64 1/720 (pow.f64 x 6)))) |
(+.f64 2 (fma.f64 1/24 (pow.f64 x 4) (fma.f64 (*.f64 x x) -1/2 (*.f64 (pow.f64 x 6) -1/720)))) |
(pow.f64 x 2) |
(*.f64 x x) |
(-.f64 (pow.f64 x 2) (*.f64 1/3 (pow.f64 x 4))) |
(+.f64 (*.f64 x x) (*.f64 -1/3 (pow.f64 x 4))) |
(fma.f64 x x (*.f64 (pow.f64 x 4) -1/3)) |
(-.f64 (+.f64 (*.f64 2/45 (pow.f64 x 6)) (pow.f64 x 2)) (*.f64 1/3 (pow.f64 x 4))) |
(+.f64 (fma.f64 2/45 (pow.f64 x 6) (*.f64 x x)) (*.f64 -1/3 (pow.f64 x 4))) |
(fma.f64 (pow.f64 x 6) 2/45 (fma.f64 x x (*.f64 (pow.f64 x 4) -1/3))) |
(fma.f64 x x (fma.f64 (pow.f64 x 6) 2/45 (*.f64 (pow.f64 x 4) -1/3))) |
(fma.f64 (pow.f64 x 4) -1/3 (fma.f64 x x (*.f64 (pow.f64 x 6) 2/45))) |
(-.f64 (+.f64 (*.f64 2/45 (pow.f64 x 6)) (pow.f64 x 2)) (+.f64 (*.f64 1/3 (pow.f64 x 4)) (*.f64 1/315 (pow.f64 x 8)))) |
(-.f64 (fma.f64 2/45 (pow.f64 x 6) (*.f64 x x)) (fma.f64 1/3 (pow.f64 x 4) (*.f64 1/315 (pow.f64 x 8)))) |
(+.f64 (fma.f64 (pow.f64 x 6) 2/45 (fma.f64 x x (*.f64 (pow.f64 x 4) -1/3))) (*.f64 -1/315 (pow.f64 x 8))) |
(fma.f64 x x (fma.f64 (pow.f64 x 6) 2/45 (fma.f64 (pow.f64 x 4) -1/3 (*.f64 (pow.f64 x 8) -1/315)))) |
(pow.f64 (sin.f64 x) 2) |
(pow.f64 (sin.f64 x) 2) |
(pow.f64 (sin.f64 x) 2) |
(pow.f64 (sin.f64 x) 2) |
(pow.f64 (sin.f64 x) 2) |
(pow.f64 (sin.f64 x) 2) |
(pow.f64 (sin.f64 x) 2) |
(pow.f64 (sin.f64 x) 2) |
(*.f64 1/2 (pow.f64 x 2)) |
(*.f64 1/2 (*.f64 x x)) |
(-.f64 (*.f64 1/2 (pow.f64 x 2)) (*.f64 1/24 (pow.f64 x 4))) |
(+.f64 (*.f64 1/2 (*.f64 x x)) (*.f64 -1/24 (pow.f64 x 4))) |
(fma.f64 1/2 (*.f64 x x) (*.f64 (pow.f64 x 4) -1/24)) |
(*.f64 (*.f64 x x) (fma.f64 (*.f64 x x) -1/24 1/2)) |
(-.f64 (+.f64 (*.f64 1/720 (pow.f64 x 6)) (*.f64 1/2 (pow.f64 x 2))) (*.f64 1/24 (pow.f64 x 4))) |
(+.f64 (fma.f64 1/720 (pow.f64 x 6) (*.f64 1/2 (*.f64 x x))) (*.f64 -1/24 (pow.f64 x 4))) |
(fma.f64 1/720 (pow.f64 x 6) (fma.f64 1/2 (*.f64 x x) (*.f64 (pow.f64 x 4) -1/24))) |
(fma.f64 1/2 (*.f64 x x) (fma.f64 1/720 (pow.f64 x 6) (*.f64 (pow.f64 x 4) -1/24))) |
(-.f64 (+.f64 (*.f64 1/720 (pow.f64 x 6)) (*.f64 1/2 (pow.f64 x 2))) (+.f64 (*.f64 1/24 (pow.f64 x 4)) (*.f64 1/40320 (pow.f64 x 8)))) |
(-.f64 (fma.f64 1/720 (pow.f64 x 6) (*.f64 1/2 (*.f64 x x))) (fma.f64 1/24 (pow.f64 x 4) (*.f64 1/40320 (pow.f64 x 8)))) |
(-.f64 (fma.f64 1/2 (*.f64 x x) (*.f64 1/720 (pow.f64 x 6))) (fma.f64 1/40320 (pow.f64 x 8) (*.f64 1/24 (pow.f64 x 4)))) |
(fma.f64 1/2 (*.f64 x x) (fma.f64 1/720 (pow.f64 x 6) (fma.f64 (pow.f64 x 4) -1/24 (*.f64 (pow.f64 x 8) -1/40320)))) |
(/.f64 (pow.f64 (sin.f64 x) 2) (+.f64 1 (cos.f64 x))) |
(*.f64 (tan.f64 (/.f64 x 2)) (sin.f64 x)) |
(*.f64 (sin.f64 x) (tan.f64 (/.f64 x 2))) |
(/.f64 (pow.f64 (sin.f64 x) 2) (+.f64 1 (cos.f64 x))) |
(*.f64 (tan.f64 (/.f64 x 2)) (sin.f64 x)) |
(*.f64 (sin.f64 x) (tan.f64 (/.f64 x 2))) |
(/.f64 (pow.f64 (sin.f64 x) 2) (+.f64 1 (cos.f64 x))) |
(*.f64 (tan.f64 (/.f64 x 2)) (sin.f64 x)) |
(*.f64 (sin.f64 x) (tan.f64 (/.f64 x 2))) |
(/.f64 (pow.f64 (sin.f64 x) 2) (+.f64 1 (cos.f64 x))) |
(*.f64 (tan.f64 (/.f64 x 2)) (sin.f64 x)) |
(*.f64 (sin.f64 x) (tan.f64 (/.f64 x 2))) |
(/.f64 (pow.f64 (sin.f64 x) 2) (+.f64 1 (cos.f64 x))) |
(*.f64 (tan.f64 (/.f64 x 2)) (sin.f64 x)) |
(*.f64 (sin.f64 x) (tan.f64 (/.f64 x 2))) |
(/.f64 (pow.f64 (sin.f64 x) 2) (+.f64 1 (cos.f64 x))) |
(*.f64 (tan.f64 (/.f64 x 2)) (sin.f64 x)) |
(*.f64 (sin.f64 x) (tan.f64 (/.f64 x 2))) |
(/.f64 (pow.f64 (sin.f64 x) 2) (+.f64 1 (cos.f64 x))) |
(*.f64 (tan.f64 (/.f64 x 2)) (sin.f64 x)) |
(*.f64 (sin.f64 x) (tan.f64 (/.f64 x 2))) |
(/.f64 (pow.f64 (sin.f64 x) 2) (+.f64 1 (cos.f64 x))) |
(*.f64 (tan.f64 (/.f64 x 2)) (sin.f64 x)) |
(*.f64 (sin.f64 x) (tan.f64 (/.f64 x 2))) |
9 alts after pruning (9 fresh and 0 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 174 | 5 | 179 |
| Fresh | 3 | 4 | 7 |
| Picked | 1 | 0 | 1 |
| Done | 0 | 0 | 0 |
| Total | 178 | 9 | 187 |
| Status | Error | Program |
|---|---|---|
| 29.3b | (-.f64 (pow.f64 x -2) (*.f64 (cos.f64 x) (pow.f64 x -2))) | |
| 15.2b | (*.f64 (/.f64 (pow.f64 (sin.f64 x) 2) 1) (/.f64 (/.f64 1 (+.f64 1 (cos.f64 x))) (*.f64 x x))) | |
| 33.7b | (fma.f64 x (*.f64 x -1/24) (fma.f64 1/720 (pow.f64 x 4) 1/2)) | |
| 15.0b | (/.f64 (*.f64 (/.f64 (sin.f64 x) (pow.f64 (cbrt.f64 (+.f64 1 (cos.f64 x))) 2)) (/.f64 (sin.f64 x) (cbrt.f64 (+.f64 1 (cos.f64 x))))) (*.f64 x x)) | |
| 13.9b | (*.f64 (/.f64 (pow.f64 (sin.f64 x) 2) x) (/.f64 (/.f64 1 (+.f64 1 (cos.f64 x))) x)) | |
| 29.0b | (pow.f64 (/.f64 (sqrt.f64 (-.f64 1 (cos.f64 x))) x) 2) | |
| 14.5b | (*.f64 (sin.f64 x) (/.f64 (tan.f64 (/.f64 x 2)) (*.f64 x x))) | |
| ▶ | 13.6b | (/.f64 (pow.f64 (sin.f64 x) 2) (*.f64 (+.f64 1 (cos.f64 x)) (pow.f64 x 2))) |
| 28.9b | (*.f64 (/.f64 (-.f64 1 (cos.f64 x)) x) (/.f64 1 x)) |
Compiled 3219 to 1793 computations (44.3% saved)
Found 4 expressions with local error:
| New | Error | Program |
|---|---|---|
| ✓ | 0.1b | (*.f64 (+.f64 1 (cos.f64 x)) (pow.f64 x 2)) |
| ✓ | 0.3b | (pow.f64 (sin.f64 x) 2) |
| 0.5b | (+.f64 1 (cos.f64 x)) | |
| ✓ | 13.6b | (/.f64 (pow.f64 (sin.f64 x) 2) (*.f64 (+.f64 1 (cos.f64 x)) (pow.f64 x 2))) |
9 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 1.0ms | x | @ | inf | (*.f64 (+.f64 1 (cos.f64 x)) (pow.f64 x 2)) |
| 1.0ms | x | @ | -inf | (*.f64 (+.f64 1 (cos.f64 x)) (pow.f64 x 2)) |
| 0.0ms | x | @ | 0 | (*.f64 (+.f64 1 (cos.f64 x)) (pow.f64 x 2)) |
| 0.0ms | x | @ | inf | (/.f64 (pow.f64 (sin.f64 x) 2) (*.f64 (+.f64 1 (cos.f64 x)) (pow.f64 x 2))) |
| 0.0ms | x | @ | 0 | (/.f64 (pow.f64 (sin.f64 x) 2) (*.f64 (+.f64 1 (cos.f64 x)) (pow.f64 x 2))) |
| 1× | batch-egg-rewrite |
| 519× | log-prod_binary64 |
| 191× | fma-def_binary64 |
| 184× | expm1-udef_binary64 |
| 184× | log1p-udef_binary64 |
| 159× | prod-diff_binary64 |
Useful iterations: 1 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 11 | 38 |
| 1 | 234 | 30 |
| 2 | 2958 | 30 |
| 1× | node limit |
| Inputs |
|---|
(/.f64 (pow.f64 (sin.f64 x) 2) (*.f64 (+.f64 1 (cos.f64 x)) (pow.f64 x 2))) |
(pow.f64 (sin.f64 x) 2) |
(*.f64 (+.f64 1 (cos.f64 x)) (pow.f64 x 2)) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x +.f64 0 (/.f64 (-.f64 1 (cos.f64 x)) (*.f64 x x)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (*.f64 (cbrt.f64 (exp.f64 (/.f64 (-.f64 1 (cos.f64 x)) (*.f64 x x)))) (cbrt.f64 (exp.f64 (/.f64 (-.f64 1 (cos.f64 x)) (*.f64 x x)))))) (log.f64 (cbrt.f64 (exp.f64 (/.f64 (-.f64 1 (cos.f64 x)) (*.f64 x x))))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (sqrt.f64 (exp.f64 (/.f64 (-.f64 1 (cos.f64 x)) (*.f64 x x))))) (log.f64 (sqrt.f64 (exp.f64 (/.f64 (-.f64 1 (cos.f64 x)) (*.f64 x x))))))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (/.f64 (-.f64 1 (cos.f64 x)) (*.f64 x x)))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sin.f64 x) (*.f64 (sin.f64 x) (/.f64 1 (*.f64 x (*.f64 x (+.f64 1 (cos.f64 x)))))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (sin.f64 x) 2) (/.f64 1 (*.f64 x (*.f64 x (+.f64 1 (cos.f64 x))))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (/.f64 (-.f64 1 (cos.f64 x)) (*.f64 x x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (-.f64 1 (cos.f64 x)) (*.f64 x x)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (/.f64 (-.f64 1 (cos.f64 x)) (*.f64 x x))) (pow.f64 (cbrt.f64 (/.f64 (-.f64 1 (cos.f64 x)) (*.f64 x x))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (/.f64 (-.f64 1 (cos.f64 x)) (*.f64 x x))) 2) (cbrt.f64 (/.f64 (-.f64 1 (cos.f64 x)) (*.f64 x x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (pow.f64 (sin.f64 x) 4)) (*.f64 (pow.f64 (cbrt.f64 (sin.f64 x)) 2) (/.f64 1 (*.f64 x (*.f64 x (+.f64 1 (cos.f64 x)))))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (sqrt.f64 (-.f64 1 (cos.f64 x))) x) (/.f64 (sqrt.f64 (-.f64 1 (cos.f64 x))) x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (neg.f64 (pow.f64 (sin.f64 x) 2)) (/.f64 1 (*.f64 (+.f64 1 (cos.f64 x)) (neg.f64 (*.f64 x x)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 1 (*.f64 x (*.f64 x (+.f64 1 (cos.f64 x))))) (pow.f64 (sin.f64 x) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (-.f64 1 (cos.f64 x)) (/.f64 1 (*.f64 x x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (sin.f64 x) 1) (/.f64 (sin.f64 x) (*.f64 x (*.f64 x (+.f64 1 (cos.f64 x))))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (cbrt.f64 (pow.f64 (sin.f64 x) 4)) 1) (/.f64 (pow.f64 (cbrt.f64 (sin.f64 x)) 2) (*.f64 x (*.f64 x (+.f64 1 (cos.f64 x))))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (tan.f64 (/.f64 x 2)) (/.f64 (sin.f64 x) (*.f64 x x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (sin.f64 x) (*.f64 x x)) (tan.f64 (/.f64 x 2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 1 (+.f64 1 (cos.f64 x))) (/.f64 (pow.f64 (sin.f64 x) 2) (*.f64 x x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (cbrt.f64 (pow.f64 (sin.f64 x) 4)) (+.f64 1 (cos.f64 x))) (/.f64 (pow.f64 (cbrt.f64 (sin.f64 x)) 2) (*.f64 x x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 1 (*.f64 x x)) (-.f64 1 (cos.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (cbrt.f64 (pow.f64 (sin.f64 x) 4)) (*.f64 x x)) (/.f64 (pow.f64 (cbrt.f64 (sin.f64 x)) 2) (+.f64 1 (cos.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (sin.f64 x) (pow.f64 (cbrt.f64 (*.f64 x (*.f64 x (+.f64 1 (cos.f64 x))))) 2)) (/.f64 (sin.f64 x) (cbrt.f64 (*.f64 x (*.f64 x (+.f64 1 (cos.f64 x)))))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 1 (pow.f64 (cbrt.f64 (*.f64 x (*.f64 x (+.f64 1 (cos.f64 x))))) 2)) (/.f64 (pow.f64 (sin.f64 x) 2) (cbrt.f64 (*.f64 x (*.f64 x (+.f64 1 (cos.f64 x)))))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (cbrt.f64 (pow.f64 (sin.f64 x) 4)) (pow.f64 (cbrt.f64 (*.f64 x (*.f64 x (+.f64 1 (cos.f64 x))))) 2)) (cbrt.f64 (/.f64 (-.f64 1 (cos.f64 x)) (*.f64 x x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 1 (*.f64 x (hypot.f64 1 (sqrt.f64 (cos.f64 x))))) (/.f64 (pow.f64 (sin.f64 x) 2) (*.f64 x (hypot.f64 1 (sqrt.f64 (cos.f64 x))))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (cbrt.f64 (pow.f64 (sin.f64 x) 4)) (*.f64 x (hypot.f64 1 (sqrt.f64 (cos.f64 x))))) (/.f64 (pow.f64 (cbrt.f64 (sin.f64 x)) 2) (*.f64 x (hypot.f64 1 (sqrt.f64 (cos.f64 x))))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 (-.f64 1 (cos.f64 x)) (*.f64 x x)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (/.f64 (-.f64 1 (cos.f64 x)) (*.f64 x x)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (/.f64 (-.f64 1 (cos.f64 x)) (*.f64 x x))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 (sqrt.f64 (-.f64 1 (cos.f64 x))) x) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 (*.f64 x x) (-.f64 1 (cos.f64 x))) -1)))) (#(struct:change #<rule egg-rr> (2) ((x neg.f64 (/.f64 (pow.f64 (sin.f64 x) 2) (*.f64 (+.f64 1 (cos.f64 x)) (neg.f64 (*.f64 x x)))))))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (/.f64 (-.f64 1 (cos.f64 x)) (*.f64 x x)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (/.f64 (-.f64 1 (cos.f64 x)) (*.f64 x x))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (/.f64 (-.f64 1 (cos.f64 x)) (*.f64 x x)))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (/.f64 (-.f64 1 (cos.f64 x)) (*.f64 x x)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (/.f64 (pow.f64 (pow.f64 (sin.f64 x) 2) 3) (pow.f64 (*.f64 x (*.f64 x (+.f64 1 (cos.f64 x)))) 3)))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (/.f64 (-.f64 1 (cos.f64 x)) (*.f64 x x))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (/.f64 (-.f64 1 (cos.f64 x)) (*.f64 x x))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (/.f64 (-.f64 1 (cos.f64 x)) (*.f64 x x))) 1))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (/.f64 (-.f64 1 (cos.f64 x)) (*.f64 x x)))))))) |
((#(struct:change #<rule egg-rr> (2) ((x +.f64 1 (neg.f64 (pow.f64 (cos.f64 x) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 1 (*.f64 (neg.f64 (cos.f64 x)) (cos.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 0 (pow.f64 (sin.f64 x) 2))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (*.f64 (cbrt.f64 (exp.f64 (pow.f64 (sin.f64 x) 2))) (cbrt.f64 (exp.f64 (pow.f64 (sin.f64 x) 2))))) (log.f64 (cbrt.f64 (exp.f64 (pow.f64 (sin.f64 x) 2)))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (sqrt.f64 (exp.f64 (pow.f64 (sin.f64 x) 2)))) (log.f64 (sqrt.f64 (exp.f64 (pow.f64 (sin.f64 x) 2)))))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 1 (pow.f64 (cos.f64 x) 2))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (pow.f64 (sin.f64 x) 2))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 1/2 (*.f64 1/2 (cos.f64 (+.f64 x x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sin.f64 x) (sin.f64 x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (sin.f64 x) 2) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (pow.f64 (sin.f64 x) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (sin.f64 x)) 2) (cbrt.f64 (pow.f64 (sin.f64 x) 4)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (sin.f64 x)) 2) (*.f64 (cbrt.f64 (sin.f64 x)) (sin.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (pow.f64 (sin.f64 x) 4)) (pow.f64 (cbrt.f64 (sin.f64 x)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (sin.f64 x)) (*.f64 (sqrt.f64 (sin.f64 x)) (sin.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (sin.f64 x) (sqrt.f64 (sin.f64 x))) (sqrt.f64 (sin.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (sin.f64 x) (pow.f64 (cbrt.f64 (sin.f64 x)) 2)) (cbrt.f64 (sin.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (cos.f64 (-.f64 x x)) (cos.f64 (+.f64 x x))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 1 (pow.f64 (pow.f64 (cos.f64 x) 2) 3)) (+.f64 1 (fma.f64 (pow.f64 (cos.f64 x) 2) (pow.f64 (cos.f64 x) 2) (pow.f64 (cos.f64 x) 2))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 1 (*.f64 (pow.f64 (cos.f64 x) 2) (pow.f64 (cos.f64 x) 2))) (+.f64 1 (pow.f64 (cos.f64 x) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (sin.f64 x) 4))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (pow.f64 (sin.f64 x) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (pow.f64 (sin.f64 x) 2))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (pow.f64 (sin.f64 x) 2) 3))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (pow.f64 (sin.f64 x) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 2 (log.f64 (sin.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 2 (log.f64 (sin.f64 x))) 1))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (pow.f64 (sin.f64 x) 2))))))) |
((#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 x x) (*.f64 (cos.f64 x) (*.f64 x x)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 x x) (*.f64 (*.f64 x x) (cos.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 0 (*.f64 x (*.f64 x (+.f64 1 (cos.f64 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 (cos.f64 x) (*.f64 x x)) (*.f64 x x))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 (*.f64 x x) (cos.f64 x)) (*.f64 x x))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (*.f64 (cbrt.f64 (pow.f64 (pow.f64 (exp.f64 x) x) (+.f64 1 (cos.f64 x)))) (cbrt.f64 (pow.f64 (pow.f64 (exp.f64 x) x) (+.f64 1 (cos.f64 x)))))) (log.f64 (cbrt.f64 (pow.f64 (pow.f64 (exp.f64 x) x) (+.f64 1 (cos.f64 x))))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (sqrt.f64 (pow.f64 (pow.f64 (exp.f64 x) x) (+.f64 1 (cos.f64 x))))) (log.f64 (sqrt.f64 (pow.f64 (pow.f64 (exp.f64 x) x) (+.f64 1 (cos.f64 x))))))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (*.f64 x (*.f64 x (+.f64 1 (cos.f64 x)))))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (+.f64 1 (pow.f64 (cos.f64 x) 3)) (*.f64 x x)) (fma.f64 (cos.f64 x) (-.f64 (cos.f64 x) 1) 1))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (pow.f64 (sin.f64 x) 2) (*.f64 x x)) (-.f64 1 (cos.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (*.f64 x x) (+.f64 1 (pow.f64 (cos.f64 x) 3))) (fma.f64 (cos.f64 x) (-.f64 (cos.f64 x) 1) 1))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (*.f64 x x) (pow.f64 (sin.f64 x) 2)) (-.f64 1 (cos.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 x (*.f64 x (+.f64 1 (cos.f64 x)))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 x (*.f64 x (+.f64 1 (cos.f64 x)))) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (*.f64 x (*.f64 x (+.f64 1 (cos.f64 x))))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 x (hypot.f64 1 (sqrt.f64 (cos.f64 x)))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (*.f64 (pow.f64 (+.f64 1 (cos.f64 x)) 2) (pow.f64 x 4)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (pow.f64 (pow.f64 (exp.f64 x) x) (+.f64 1 (cos.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (*.f64 x (*.f64 x (+.f64 1 (cos.f64 x)))))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (*.f64 x (*.f64 x (+.f64 1 (cos.f64 x)))) 3))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (*.f64 (pow.f64 (+.f64 1 (cos.f64 x)) 3) (pow.f64 (*.f64 x x) 3)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (*.f64 (pow.f64 (*.f64 x x) 3) (pow.f64 (+.f64 1 (cos.f64 x)) 3)))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 x (*.f64 x (+.f64 1 (cos.f64 x))))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (fma.f64 2 (log.f64 x) (log1p.f64 (cos.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (fma.f64 2 (log.f64 x) (log1p.f64 (cos.f64 x))) 1))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 x x (*.f64 (cos.f64 x) (*.f64 x x)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 x x (*.f64 (*.f64 x x) (cos.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (*.f64 x x) (*.f64 (cos.f64 x) (*.f64 x x)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (*.f64 x x) (*.f64 (*.f64 x x) (cos.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cos.f64 x) (*.f64 x x) (*.f64 x x))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 x x) 1 (*.f64 (cos.f64 x) (*.f64 x x)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 x x) 1 (*.f64 (*.f64 x x) (cos.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 x x) (cos.f64 x) (*.f64 x x))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 x) 2) (cbrt.f64 (pow.f64 x 4)) (*.f64 (cos.f64 x) (*.f64 x x)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 x) 2) (cbrt.f64 (pow.f64 x 4)) (*.f64 (*.f64 x x) (cos.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 x) 2) (*.f64 (cbrt.f64 x) x) (*.f64 (cos.f64 x) (*.f64 x x)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 x) 2) (*.f64 (cbrt.f64 x) x) (*.f64 (*.f64 x x) (cos.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (pow.f64 x 4)) (pow.f64 (cbrt.f64 x) 2) (*.f64 (cos.f64 x) (*.f64 x x)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (pow.f64 x 4)) (pow.f64 (cbrt.f64 x) 2) (*.f64 (*.f64 x x) (cos.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 x) (*.f64 (sqrt.f64 x) x) (*.f64 (cos.f64 x) (*.f64 x x)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 x) (*.f64 (sqrt.f64 x) x) (*.f64 (*.f64 x x) (cos.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 x (sqrt.f64 x)) (sqrt.f64 x) (*.f64 (cos.f64 x) (*.f64 x x)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 x (sqrt.f64 x)) (sqrt.f64 x) (*.f64 (*.f64 x x) (cos.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 x (pow.f64 (cbrt.f64 x) 2)) (cbrt.f64 x) (*.f64 (cos.f64 x) (*.f64 x x)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 x (pow.f64 (cbrt.f64 x) 2)) (cbrt.f64 x) (*.f64 (*.f64 x x) (cos.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 x (*.f64 x (+.f64 1 (cos.f64 x)))))))))) |
| 1× | egg-herbie |
| 779× | fma-def_binary64 |
| 649× | cancel-sign-sub-inv_binary64 |
| 390× | fma-neg_binary64 |
| 204× | *-commutative_binary64 |
| 145× | distribute-rgt-neg-in_binary64 |
Useful iterations: 3 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 42 | 192 |
| 1 | 121 | 184 |
| 2 | 355 | 176 |
| 3 | 1271 | 174 |
| 4 | 4840 | 174 |
| 1× | node limit |
| Inputs |
|---|
1/2 |
(-.f64 1/2 (*.f64 1/24 (pow.f64 x 2))) |
(-.f64 (+.f64 (*.f64 1/720 (pow.f64 x 4)) 1/2) (*.f64 1/24 (pow.f64 x 2))) |
(-.f64 (+.f64 (*.f64 1/720 (pow.f64 x 4)) 1/2) (+.f64 (*.f64 1/40320 (pow.f64 x 6)) (*.f64 1/24 (pow.f64 x 2)))) |
(pow.f64 x 2) |
(-.f64 (pow.f64 x 2) (*.f64 1/3 (pow.f64 x 4))) |
(-.f64 (+.f64 (*.f64 2/45 (pow.f64 x 6)) (pow.f64 x 2)) (*.f64 1/3 (pow.f64 x 4))) |
(-.f64 (+.f64 (*.f64 2/45 (pow.f64 x 6)) (pow.f64 x 2)) (+.f64 (*.f64 1/3 (pow.f64 x 4)) (*.f64 1/315 (pow.f64 x 8)))) |
(*.f64 2 (pow.f64 x 2)) |
(-.f64 (*.f64 2 (pow.f64 x 2)) (*.f64 1/2 (pow.f64 x 4))) |
(-.f64 (+.f64 (*.f64 1/24 (pow.f64 x 6)) (*.f64 2 (pow.f64 x 2))) (*.f64 1/2 (pow.f64 x 4))) |
(-.f64 (+.f64 (*.f64 1/24 (pow.f64 x 6)) (*.f64 2 (pow.f64 x 2))) (+.f64 (*.f64 1/2 (pow.f64 x 4)) (*.f64 1/720 (pow.f64 x 8)))) |
| Outputs |
|---|
1/2 |
(-.f64 1/2 (*.f64 1/24 (pow.f64 x 2))) |
(+.f64 1/2 (*.f64 -1/24 (*.f64 x x))) |
(+.f64 1/2 (*.f64 (*.f64 x x) -1/24)) |
(fma.f64 (*.f64 x x) -1/24 1/2) |
(fma.f64 x (*.f64 x -1/24) 1/2) |
(-.f64 (+.f64 (*.f64 1/720 (pow.f64 x 4)) 1/2) (*.f64 1/24 (pow.f64 x 2))) |
(-.f64 (fma.f64 1/720 (pow.f64 x 4) 1/2) (*.f64 1/24 (*.f64 x x))) |
(fma.f64 (*.f64 x x) -1/24 (fma.f64 1/720 (pow.f64 x 4) 1/2)) |
(fma.f64 x (*.f64 x -1/24) (fma.f64 1/720 (pow.f64 x 4) 1/2)) |
(-.f64 (+.f64 (*.f64 1/720 (pow.f64 x 4)) 1/2) (+.f64 (*.f64 1/40320 (pow.f64 x 6)) (*.f64 1/24 (pow.f64 x 2)))) |
(-.f64 (fma.f64 1/720 (pow.f64 x 4) 1/2) (fma.f64 1/40320 (pow.f64 x 6) (*.f64 1/24 (*.f64 x x)))) |
(-.f64 (fma.f64 1/720 (pow.f64 x 4) 1/2) (fma.f64 1/24 (*.f64 x x) (*.f64 1/40320 (pow.f64 x 6)))) |
(+.f64 1/2 (fma.f64 1/720 (pow.f64 x 4) (fma.f64 (*.f64 x x) -1/24 (*.f64 (pow.f64 x 6) -1/40320)))) |
(fma.f64 x (*.f64 x -1/24) (fma.f64 (pow.f64 x 6) -1/40320 (fma.f64 1/720 (pow.f64 x 4) 1/2))) |
(pow.f64 x 2) |
(*.f64 x x) |
(-.f64 (pow.f64 x 2) (*.f64 1/3 (pow.f64 x 4))) |
(+.f64 (*.f64 x x) (*.f64 -1/3 (pow.f64 x 4))) |
(fma.f64 x x (*.f64 (pow.f64 x 4) -1/3)) |
(-.f64 (+.f64 (*.f64 2/45 (pow.f64 x 6)) (pow.f64 x 2)) (*.f64 1/3 (pow.f64 x 4))) |
(+.f64 (fma.f64 2/45 (pow.f64 x 6) (*.f64 x x)) (*.f64 -1/3 (pow.f64 x 4))) |
(fma.f64 (pow.f64 x 6) 2/45 (fma.f64 x x (*.f64 (pow.f64 x 4) -1/3))) |
(fma.f64 x x (fma.f64 (pow.f64 x 6) 2/45 (*.f64 (pow.f64 x 4) -1/3))) |
(fma.f64 x x (fma.f64 (pow.f64 x 4) -1/3 (*.f64 (pow.f64 x 6) 2/45))) |
(-.f64 (+.f64 (*.f64 2/45 (pow.f64 x 6)) (pow.f64 x 2)) (+.f64 (*.f64 1/3 (pow.f64 x 4)) (*.f64 1/315 (pow.f64 x 8)))) |
(-.f64 (fma.f64 2/45 (pow.f64 x 6) (*.f64 x x)) (fma.f64 1/3 (pow.f64 x 4) (*.f64 1/315 (pow.f64 x 8)))) |
(-.f64 (fma.f64 (pow.f64 x 6) 2/45 (*.f64 x x)) (fma.f64 (pow.f64 x 4) 1/3 (*.f64 1/315 (pow.f64 x 8)))) |
(fma.f64 x x (fma.f64 (pow.f64 x 6) 2/45 (fma.f64 (pow.f64 x 4) -1/3 (*.f64 (pow.f64 x 8) -1/315)))) |
(fma.f64 (pow.f64 x 4) -1/3 (fma.f64 x x (fma.f64 (pow.f64 x 6) 2/45 (*.f64 (pow.f64 x 8) -1/315)))) |
(*.f64 2 (pow.f64 x 2)) |
(*.f64 2 (*.f64 x x)) |
(*.f64 x (*.f64 x 2)) |
(-.f64 (*.f64 2 (pow.f64 x 2)) (*.f64 1/2 (pow.f64 x 4))) |
(+.f64 (*.f64 2 (*.f64 x x)) (*.f64 -1/2 (pow.f64 x 4))) |
(fma.f64 2 (*.f64 x x) (*.f64 (pow.f64 x 4) -1/2)) |
(fma.f64 x (*.f64 x 2) (*.f64 (pow.f64 x 4) -1/2)) |
(*.f64 (*.f64 x x) (fma.f64 (*.f64 x x) -1/2 2)) |
(-.f64 (+.f64 (*.f64 1/24 (pow.f64 x 6)) (*.f64 2 (pow.f64 x 2))) (*.f64 1/2 (pow.f64 x 4))) |
(+.f64 (fma.f64 1/24 (pow.f64 x 6) (*.f64 2 (*.f64 x x))) (*.f64 -1/2 (pow.f64 x 4))) |
(fma.f64 1/24 (pow.f64 x 6) (fma.f64 2 (*.f64 x x) (*.f64 (pow.f64 x 4) -1/2))) |
(fma.f64 1/24 (pow.f64 x 6) (fma.f64 x (*.f64 x 2) (*.f64 (pow.f64 x 4) -1/2))) |
(fma.f64 (*.f64 x x) (fma.f64 (*.f64 x x) -1/2 2) (*.f64 1/24 (pow.f64 x 6))) |
(-.f64 (+.f64 (*.f64 1/24 (pow.f64 x 6)) (*.f64 2 (pow.f64 x 2))) (+.f64 (*.f64 1/2 (pow.f64 x 4)) (*.f64 1/720 (pow.f64 x 8)))) |
(-.f64 (fma.f64 1/24 (pow.f64 x 6) (*.f64 2 (*.f64 x x))) (fma.f64 1/2 (pow.f64 x 4) (*.f64 1/720 (pow.f64 x 8)))) |
(+.f64 (fma.f64 1/24 (pow.f64 x 6) (fma.f64 2 (*.f64 x x) (*.f64 (pow.f64 x 4) -1/2))) (*.f64 -1/720 (pow.f64 x 8))) |
(fma.f64 1/24 (pow.f64 x 6) (fma.f64 x (*.f64 x 2) (fma.f64 (pow.f64 x 4) -1/2 (*.f64 (pow.f64 x 8) -1/720)))) |
(fma.f64 x (*.f64 x 2) (fma.f64 1/24 (pow.f64 x 6) (fma.f64 (pow.f64 x 8) -1/720 (*.f64 (pow.f64 x 4) -1/2)))) |
8 alts after pruning (8 fresh and 0 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 177 | 2 | 179 |
| Fresh | 2 | 6 | 8 |
| Picked | 1 | 0 | 1 |
| Done | 0 | 0 | 0 |
| Total | 180 | 8 | 188 |
| Status | Error | Program |
|---|---|---|
| 29.3b | (-.f64 (pow.f64 x -2) (*.f64 (cos.f64 x) (pow.f64 x -2))) | |
| 15.2b | (*.f64 (/.f64 (pow.f64 (sin.f64 x) 2) 1) (/.f64 (/.f64 1 (+.f64 1 (cos.f64 x))) (*.f64 x x))) | |
| 33.7b | (fma.f64 x (*.f64 x -1/24) (fma.f64 1/720 (pow.f64 x 4) 1/2)) | |
| 15.0b | (/.f64 (*.f64 (/.f64 (sin.f64 x) (pow.f64 (cbrt.f64 (+.f64 1 (cos.f64 x))) 2)) (/.f64 (sin.f64 x) (cbrt.f64 (+.f64 1 (cos.f64 x))))) (*.f64 x x)) | |
| 14.4b | (*.f64 (tan.f64 (/.f64 x 2)) (/.f64 (sin.f64 x) (*.f64 x x))) | |
| ▶ | 13.9b | (*.f64 (/.f64 (pow.f64 (sin.f64 x) 2) x) (/.f64 (/.f64 1 (+.f64 1 (cos.f64 x))) x)) |
| 14.5b | (*.f64 (sin.f64 x) (/.f64 (tan.f64 (/.f64 x 2)) (*.f64 x x))) | |
| 29.6b | (/.f64 (pow.f64 (sin.f64 x) 2) (*.f64 (/.f64 (pow.f64 (sin.f64 x) 2) (-.f64 1 (cos.f64 x))) (pow.f64 x 2))) |
Compiled 3381 to 2011 computations (40.5% saved)
Found 4 expressions with local error:
| New | Error | Program |
|---|---|---|
| ✓ | 0.2b | (/.f64 (/.f64 1 (+.f64 1 (cos.f64 x))) x) |
| 0.3b | (pow.f64 (sin.f64 x) 2) | |
| 0.5b | (+.f64 1 (cos.f64 x)) | |
| ✓ | 13.3b | (/.f64 (pow.f64 (sin.f64 x) 2) x) |
6 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 1.0ms | x | @ | -inf | (/.f64 (/.f64 1 (+.f64 1 (cos.f64 x))) x) |
| 1.0ms | x | @ | -inf | (/.f64 (pow.f64 (sin.f64 x) 2) x) |
| 1.0ms | x | @ | 0 | (/.f64 (pow.f64 (sin.f64 x) 2) x) |
| 1.0ms | x | @ | inf | (/.f64 (/.f64 1 (+.f64 1 (cos.f64 x))) x) |
| 1.0ms | x | @ | inf | (/.f64 (pow.f64 (sin.f64 x) 2) x) |
| 1× | batch-egg-rewrite |
| 535× | log-prod_binary64 |
| 197× | expm1-udef_binary64 |
| 197× | log1p-udef_binary64 |
| 175× | fma-def_binary64 |
| 168× | log-pow_binary64 |
Useful iterations: 2 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 11 | 21 |
| 1 | 242 | 21 |
| 2 | 3167 | 19 |
| 1× | node limit |
| Inputs |
|---|
(/.f64 (pow.f64 (sin.f64 x) 2) x) |
(/.f64 (/.f64 1 (+.f64 1 (cos.f64 x))) x) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x +.f64 0 (/.f64 (pow.f64 (sin.f64 x) 2) x))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (*.f64 (cbrt.f64 (exp.f64 (/.f64 (pow.f64 (sin.f64 x) 2) x))) (cbrt.f64 (exp.f64 (/.f64 (pow.f64 (sin.f64 x) 2) x))))) (log.f64 (cbrt.f64 (exp.f64 (/.f64 (pow.f64 (sin.f64 x) 2) x)))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (sqrt.f64 (exp.f64 (/.f64 (pow.f64 (sin.f64 x) 2) x)))) (log.f64 (sqrt.f64 (exp.f64 (/.f64 (pow.f64 (sin.f64 x) 2) x)))))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (/.f64 (pow.f64 (sin.f64 x) 2) x))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sin.f64 x) (*.f64 (sin.f64 x) (pow.f64 x -1)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 x -1))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (pow.f64 (sin.f64 x) 2) x) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (/.f64 (pow.f64 (sin.f64 x) 2) x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (pow.f64 (sin.f64 x) 4)) (*.f64 (pow.f64 (cbrt.f64 (sin.f64 x)) 2) (pow.f64 x -1)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (/.f64 (pow.f64 (sin.f64 x) 2) x)) (cbrt.f64 (/.f64 (pow.f64 (sin.f64 x) 4) (*.f64 x x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (/.f64 (pow.f64 (sin.f64 x) 4) (*.f64 x x))) (cbrt.f64 (/.f64 (pow.f64 (sin.f64 x) 2) x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (sin.f64 x) (sqrt.f64 x)) (/.f64 (sin.f64 x) (sqrt.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (neg.f64 (pow.f64 (sin.f64 x) 2)) (/.f64 1 (neg.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 x -1) (pow.f64 (sin.f64 x) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 1 (pow.f64 (cbrt.f64 x) 2)) (/.f64 (pow.f64 (sin.f64 x) 2) (cbrt.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 1 (sqrt.f64 x)) (/.f64 (pow.f64 (sin.f64 x) 2) (sqrt.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (sin.f64 x) 1) (/.f64 (sin.f64 x) x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (cbrt.f64 (pow.f64 (sin.f64 x) 4)) 1) (/.f64 (pow.f64 (cbrt.f64 (sin.f64 x)) 2) x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (sin.f64 x) (pow.f64 (cbrt.f64 x) 2)) (/.f64 (sin.f64 x) (cbrt.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (cbrt.f64 (pow.f64 (sin.f64 x) 4)) (pow.f64 (cbrt.f64 x) 2)) (cbrt.f64 (/.f64 (pow.f64 (sin.f64 x) 2) x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (cbrt.f64 (pow.f64 (sin.f64 x) 4)) (sqrt.f64 x)) (/.f64 (pow.f64 (cbrt.f64 (sin.f64 x)) 2) (sqrt.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 (pow.f64 (sin.f64 x) 2) x) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (/.f64 (pow.f64 (sin.f64 x) 2) x) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (/.f64 (pow.f64 (sin.f64 x) 2) x)) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 (sin.f64 x) (sqrt.f64 x)) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 x (pow.f64 (sin.f64 x) 2)) -1)))) (#(struct:change #<rule egg-rr> (2) ((x neg.f64 (/.f64 (pow.f64 (sin.f64 x) 2) (neg.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (/.f64 (pow.f64 (sin.f64 x) 4) (*.f64 x x)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (/.f64 (pow.f64 (sin.f64 x) 2) x)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (/.f64 (pow.f64 (sin.f64 x) 2) x))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (/.f64 (pow.f64 (sin.f64 x) 2) x) 3))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (/.f64 (pow.f64 (pow.f64 (sin.f64 x) 2) 3) (pow.f64 x 3)))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (/.f64 (pow.f64 (sin.f64 x) 2) x)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (/.f64 (pow.f64 (sin.f64 x) 2) x)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (/.f64 (pow.f64 (sin.f64 x) 2) x)) 1))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (/.f64 (pow.f64 (sin.f64 x) 2) x))))))) |
((#(struct:change #<rule egg-rr> (2) ((x +.f64 0 (/.f64 1 (fma.f64 x (cos.f64 x) x)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (*.f64 (cbrt.f64 (exp.f64 (/.f64 1 (fma.f64 x (cos.f64 x) x)))) (cbrt.f64 (exp.f64 (/.f64 1 (fma.f64 x (cos.f64 x) x)))))) (log.f64 (cbrt.f64 (exp.f64 (/.f64 1 (fma.f64 x (cos.f64 x) x))))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (sqrt.f64 (exp.f64 (/.f64 1 (fma.f64 x (cos.f64 x) x))))) (log.f64 (sqrt.f64 (exp.f64 (/.f64 1 (fma.f64 x (cos.f64 x) x))))))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (/.f64 1 (fma.f64 x (cos.f64 x) x)))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (/.f64 1 (fma.f64 x (cos.f64 x) x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 1 (+.f64 1 (cos.f64 x))) (pow.f64 x -1))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 1 (fma.f64 x (cos.f64 x) x)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (/.f64 1 (fma.f64 x (cos.f64 x) x))) (pow.f64 (cbrt.f64 (/.f64 1 (fma.f64 x (cos.f64 x) x))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (/.f64 1 (fma.f64 x (cos.f64 x) x))) 2) (cbrt.f64 (/.f64 1 (fma.f64 x (cos.f64 x) x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (pow.f64 (+.f64 1 (cos.f64 x)) -2)) (*.f64 (/.f64 1 (cbrt.f64 (+.f64 1 (cos.f64 x)))) (pow.f64 x -1)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 1 (sqrt.f64 (fma.f64 x (cos.f64 x) x))) (/.f64 1 (sqrt.f64 (fma.f64 x (cos.f64 x) x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (+.f64 1 (cos.f64 x)) -1/2) (*.f64 (pow.f64 (+.f64 1 (cos.f64 x)) -1/2) (pow.f64 x -1)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 -1 (+.f64 1 (cos.f64 x))) (/.f64 1 (neg.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 x -1) (/.f64 1 (+.f64 1 (cos.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (cbrt.f64 (pow.f64 (+.f64 1 (cos.f64 x)) -2)) 1) (/.f64 (/.f64 1 (cbrt.f64 (+.f64 1 (cos.f64 x)))) x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (pow.f64 (+.f64 1 (cos.f64 x)) -1/2) 1) (/.f64 (pow.f64 (+.f64 1 (cos.f64 x)) -1/2) x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 1 (pow.f64 (cbrt.f64 x) 2)) (/.f64 (/.f64 1 (+.f64 1 (cos.f64 x))) (cbrt.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (cbrt.f64 (pow.f64 (+.f64 1 (cos.f64 x)) -2)) (pow.f64 (cbrt.f64 x) 2)) (cbrt.f64 (/.f64 1 (fma.f64 x (cos.f64 x) x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (pow.f64 (+.f64 1 (cos.f64 x)) -1/2) (pow.f64 (cbrt.f64 x) 2)) (/.f64 (pow.f64 (+.f64 1 (cos.f64 x)) -1/2) (cbrt.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 1 (sqrt.f64 x)) (/.f64 (/.f64 1 (+.f64 1 (cos.f64 x))) (sqrt.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (cbrt.f64 (pow.f64 (+.f64 1 (cos.f64 x)) -2)) (sqrt.f64 x)) (/.f64 (/.f64 1 (cbrt.f64 (+.f64 1 (cos.f64 x)))) (sqrt.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 1 (fma.f64 x (cos.f64 x) x)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (/.f64 1 (fma.f64 x (cos.f64 x) x)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (/.f64 1 (fma.f64 x (cos.f64 x) x))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 1 (sqrt.f64 (fma.f64 x (cos.f64 x) x))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (fma.f64 x (cos.f64 x) x) -1)))) (#(struct:change #<rule egg-rr> (2) ((x neg.f64 (/.f64 (/.f64 1 (+.f64 1 (cos.f64 x))) (neg.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (/.f64 1 (fma.f64 x (cos.f64 x) x)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (/.f64 1 (fma.f64 x (cos.f64 x) x))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (/.f64 1 (fma.f64 x (cos.f64 x) x)))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (/.f64 1 (fma.f64 x (cos.f64 x) x)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (/.f64 (exp.f64 (*.f64 3 (neg.f64 (log1p.f64 (cos.f64 x))))) (pow.f64 x 3)))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (/.f64 1 (fma.f64 x (cos.f64 x) x))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (neg.f64 (log.f64 (fma.f64 x (cos.f64 x) x))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (neg.f64 (log.f64 (fma.f64 x (cos.f64 x) x))) 1))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (/.f64 1 (fma.f64 x (cos.f64 x) x)))))))) |
| 1× | egg-herbie |
| 550× | fma-neg_binary64 |
| 452× | fma-def_binary64 |
| 391× | distribute-rgt-neg-in_binary64 |
| 370× | cancel-sign-sub-inv_binary64 |
| 289× | distribute-lft-neg-in_binary64 |
Useful iterations: 3 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 38 | 203 |
| 1 | 98 | 201 |
| 2 | 250 | 177 |
| 3 | 744 | 175 |
| 4 | 2031 | 175 |
| 5 | 3777 | 175 |
| 1× | node limit |
| Inputs |
|---|
x |
(-.f64 x (*.f64 1/3 (pow.f64 x 3))) |
(-.f64 (+.f64 (*.f64 2/45 (pow.f64 x 5)) x) (*.f64 1/3 (pow.f64 x 3))) |
(-.f64 (+.f64 (*.f64 2/45 (pow.f64 x 5)) x) (+.f64 (*.f64 1/315 (pow.f64 x 7)) (*.f64 1/3 (pow.f64 x 3)))) |
(/.f64 1/2 x) |
(+.f64 (*.f64 1/2 (/.f64 1 x)) (*.f64 1/8 x)) |
(+.f64 (*.f64 1/2 (/.f64 1 x)) (+.f64 (*.f64 1/8 x) (*.f64 1/48 (pow.f64 x 3)))) |
(+.f64 (*.f64 17/5760 (pow.f64 x 5)) (+.f64 (*.f64 1/2 (/.f64 1 x)) (+.f64 (*.f64 1/8 x) (*.f64 1/48 (pow.f64 x 3))))) |
(/.f64 1 (*.f64 (+.f64 1 (cos.f64 x)) x)) |
(/.f64 1 (*.f64 (+.f64 1 (cos.f64 x)) x)) |
(/.f64 1 (*.f64 (+.f64 1 (cos.f64 x)) x)) |
(/.f64 1 (*.f64 (+.f64 1 (cos.f64 x)) x)) |
(/.f64 1 (*.f64 (+.f64 1 (cos.f64 x)) x)) |
(/.f64 1 (*.f64 (+.f64 1 (cos.f64 x)) x)) |
(/.f64 1 (*.f64 (+.f64 1 (cos.f64 x)) x)) |
(/.f64 1 (*.f64 (+.f64 1 (cos.f64 x)) x)) |
| Outputs |
|---|
x |
(-.f64 x (*.f64 1/3 (pow.f64 x 3))) |
(+.f64 x (*.f64 -1/3 (pow.f64 x 3))) |
(+.f64 x (*.f64 (pow.f64 x 3) -1/3)) |
(fma.f64 (pow.f64 x 3) -1/3 x) |
(-.f64 (+.f64 (*.f64 2/45 (pow.f64 x 5)) x) (*.f64 1/3 (pow.f64 x 3))) |
(-.f64 (fma.f64 2/45 (pow.f64 x 5) x) (*.f64 1/3 (pow.f64 x 3))) |
(+.f64 (fma.f64 2/45 (pow.f64 x 5) x) (*.f64 (pow.f64 x 3) -1/3)) |
(fma.f64 (pow.f64 x 3) -1/3 (fma.f64 2/45 (pow.f64 x 5) x)) |
(-.f64 (+.f64 (*.f64 2/45 (pow.f64 x 5)) x) (+.f64 (*.f64 1/315 (pow.f64 x 7)) (*.f64 1/3 (pow.f64 x 3)))) |
(-.f64 (fma.f64 2/45 (pow.f64 x 5) x) (fma.f64 1/315 (pow.f64 x 7) (*.f64 1/3 (pow.f64 x 3)))) |
(-.f64 (fma.f64 2/45 (pow.f64 x 5) x) (fma.f64 1/3 (pow.f64 x 3) (*.f64 1/315 (pow.f64 x 7)))) |
(+.f64 (fma.f64 2/45 (pow.f64 x 5) x) (fma.f64 (pow.f64 x 3) -1/3 (*.f64 (pow.f64 x 7) -1/315))) |
(fma.f64 (pow.f64 x 3) -1/3 (fma.f64 (pow.f64 x 7) -1/315 (fma.f64 2/45 (pow.f64 x 5) x))) |
(/.f64 1/2 x) |
(+.f64 (*.f64 1/2 (/.f64 1 x)) (*.f64 1/8 x)) |
(+.f64 (/.f64 1/2 x) (*.f64 x 1/8)) |
(fma.f64 x 1/8 (/.f64 1/2 x)) |
(+.f64 (*.f64 1/2 (/.f64 1 x)) (+.f64 (*.f64 1/8 x) (*.f64 1/48 (pow.f64 x 3)))) |
(+.f64 (/.f64 1/2 x) (fma.f64 1/8 x (*.f64 (pow.f64 x 3) 1/48))) |
(+.f64 (/.f64 1/2 x) (fma.f64 (pow.f64 x 3) 1/48 (*.f64 x 1/8))) |
(fma.f64 x 1/8 (fma.f64 (pow.f64 x 3) 1/48 (/.f64 1/2 x))) |
(+.f64 (*.f64 17/5760 (pow.f64 x 5)) (+.f64 (*.f64 1/2 (/.f64 1 x)) (+.f64 (*.f64 1/8 x) (*.f64 1/48 (pow.f64 x 3))))) |
(fma.f64 17/5760 (pow.f64 x 5) (+.f64 (/.f64 1/2 x) (fma.f64 1/8 x (*.f64 (pow.f64 x 3) 1/48)))) |
(+.f64 (fma.f64 (pow.f64 x 3) 1/48 (*.f64 x 1/8)) (fma.f64 (pow.f64 x 5) 17/5760 (/.f64 1/2 x))) |
(fma.f64 (pow.f64 x 5) 17/5760 (fma.f64 x 1/8 (fma.f64 (pow.f64 x 3) 1/48 (/.f64 1/2 x)))) |
(fma.f64 x 1/8 (fma.f64 (pow.f64 x 3) 1/48 (fma.f64 (pow.f64 x 5) 17/5760 (/.f64 1/2 x)))) |
(fma.f64 x (fma.f64 x (*.f64 x 1/48) 1/8) (fma.f64 (pow.f64 x 5) 17/5760 (/.f64 1/2 x))) |
(/.f64 1 (*.f64 (+.f64 1 (cos.f64 x)) x)) |
(/.f64 1 (*.f64 x (+.f64 1 (cos.f64 x)))) |
(/.f64 1 (fma.f64 x (cos.f64 x) x)) |
(/.f64 1 (*.f64 (+.f64 1 (cos.f64 x)) x)) |
(/.f64 1 (*.f64 x (+.f64 1 (cos.f64 x)))) |
(/.f64 1 (fma.f64 x (cos.f64 x) x)) |
(/.f64 1 (*.f64 (+.f64 1 (cos.f64 x)) x)) |
(/.f64 1 (*.f64 x (+.f64 1 (cos.f64 x)))) |
(/.f64 1 (fma.f64 x (cos.f64 x) x)) |
(/.f64 1 (*.f64 (+.f64 1 (cos.f64 x)) x)) |
(/.f64 1 (*.f64 x (+.f64 1 (cos.f64 x)))) |
(/.f64 1 (fma.f64 x (cos.f64 x) x)) |
(/.f64 1 (*.f64 (+.f64 1 (cos.f64 x)) x)) |
(/.f64 1 (*.f64 x (+.f64 1 (cos.f64 x)))) |
(/.f64 1 (fma.f64 x (cos.f64 x) x)) |
(/.f64 1 (*.f64 (+.f64 1 (cos.f64 x)) x)) |
(/.f64 1 (*.f64 x (+.f64 1 (cos.f64 x)))) |
(/.f64 1 (fma.f64 x (cos.f64 x) x)) |
(/.f64 1 (*.f64 (+.f64 1 (cos.f64 x)) x)) |
(/.f64 1 (*.f64 x (+.f64 1 (cos.f64 x)))) |
(/.f64 1 (fma.f64 x (cos.f64 x) x)) |
(/.f64 1 (*.f64 (+.f64 1 (cos.f64 x)) x)) |
(/.f64 1 (*.f64 x (+.f64 1 (cos.f64 x)))) |
(/.f64 1 (fma.f64 x (cos.f64 x) x)) |
8 alts after pruning (7 fresh and 1 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 162 | 1 | 163 |
| Fresh | 1 | 6 | 7 |
| Picked | 0 | 1 | 1 |
| Done | 0 | 0 | 0 |
| Total | 163 | 8 | 171 |
| Status | Error | Program |
|---|---|---|
| 29.3b | (-.f64 (pow.f64 x -2) (*.f64 (cos.f64 x) (pow.f64 x -2))) | |
| 15.2b | (*.f64 (/.f64 (pow.f64 (sin.f64 x) 2) 1) (/.f64 (/.f64 1 (+.f64 1 (cos.f64 x))) (*.f64 x x))) | |
| 33.7b | (fma.f64 x (*.f64 x -1/24) (fma.f64 1/720 (pow.f64 x 4) 1/2)) | |
| 14.4b | (*.f64 (tan.f64 (/.f64 x 2)) (/.f64 (sin.f64 x) (*.f64 x x))) | |
| ✓ | 13.9b | (*.f64 (/.f64 (pow.f64 (sin.f64 x) 2) x) (/.f64 (/.f64 1 (+.f64 1 (cos.f64 x))) x)) |
| 14.5b | (*.f64 (sin.f64 x) (/.f64 (tan.f64 (/.f64 x 2)) (*.f64 x x))) | |
| 29.6b | (/.f64 (pow.f64 (sin.f64 x) 2) (*.f64 (/.f64 (pow.f64 (sin.f64 x) 2) (-.f64 1 (cos.f64 x))) (pow.f64 x 2))) | |
| 14.1b | (*.f64 (/.f64 (pow.f64 (sin.f64 x) 2) x) (/.f64 (/.f64 1 (expm1.f64 (log1p.f64 (+.f64 1 (cos.f64 x))))) x)) |
Compiled 3451 to 2164 computations (37.3% saved)
Total 0.4b remaining (95.7%)
Threshold costs 0.4b (95.7%)
Compiled 1594 to 893 computations (44% saved)
| 2× | binary-search |
2 calls:
| 6.0ms | x |
| 4.0ms | x |
| Iters | Point | Range | ||||
|---|---|---|---|---|---|---|
1e-90 | ∈ [ | 1.7464718943020767e-97 | , | 4.380360787086247e-88 | ] | |
-0.0025 | ∈ [ | -0.002745054295041108 | , | -0.0016321500042475042 | ] | |
Compiled 2 to 1 computations (50% saved)
| 1× | egg-herbie |
| 3× | *-commutative_binary64 |
| 1× | 1-exp_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 33 | 68 |
| 1 | 38 | 68 |
| 1× | saturated |
| Inputs |
|---|
(if (<=.f64 x -5764607523034235/2305843009213693952) (*.f64 (tan.f64 (/.f64 x 2)) (/.f64 (sin.f64 x) (*.f64 x x))) (if (<=.f64 x 4586997231980143/4586997231980143023221641790604173881593129978336562247475177678773845752176969616140037106220251373109248) (fma.f64 x (*.f64 x -1/24) (fma.f64 1/720 (pow.f64 x 4) 1/2)) (*.f64 (/.f64 (pow.f64 (sin.f64 x) 2) x) (/.f64 (/.f64 1 (exp.f64 (log1p.f64 (cos.f64 x)))) x)))) |
| Outputs |
|---|
(if (<=.f64 x -5764607523034235/2305843009213693952) (*.f64 (tan.f64 (/.f64 x 2)) (/.f64 (sin.f64 x) (*.f64 x x))) (if (<=.f64 x 4586997231980143/4586997231980143023221641790604173881593129978336562247475177678773845752176969616140037106220251373109248) (fma.f64 x (*.f64 x -1/24) (fma.f64 1/720 (pow.f64 x 4) 1/2)) (*.f64 (/.f64 (pow.f64 (sin.f64 x) 2) x) (/.f64 (/.f64 1 (exp.f64 (log1p.f64 (cos.f64 x)))) x)))) |
| 1× | fuel |
Compiled 210 to 151 computations (28.1% saved)
Loading profile data...