Time bar (total: 9.8s)
| 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 |
Compiled 10 to 7 computations (30% saved)
| 1.6s | 2055× | body | 2048 | valid |
| 571.0ms | 3387× | body | 256 | valid |
| 522.0ms | 1597× | body | 512 | valid |
| 468.0ms | 1107× | body | 1024 | valid |
| 79.0ms | 110× | body | 4096 | valid |
| 2× | egg-herbie |
| 426× | fma-def_binary64 |
| 293× | fma-neg_binary64 |
| 85× | div-sub_binary64 |
| 78× | 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 | 125 | 12 |
| 6 | 192 | 12 |
| 7 | 318 | 12 |
| 8 | 623 | 12 |
| 9 | 1140 | 12 |
| 10 | 1698 | 12 |
| 11 | 1830 | 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 10 to 7 computations (30% saved)
| 1× | egg-herbie |
| 426× | fma-def_binary64 |
| 293× | fma-neg_binary64 |
| 85× | div-sub_binary64 |
| 78× | 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 | 125 | 12 |
| 6 | 192 | 12 |
| 7 | 318 | 12 |
| 8 | 623 | 12 |
| 9 | 1140 | 12 |
| 10 | 1698 | 12 |
| 11 | 1830 | 12 |
| 1× | saturated |
| 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)
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 |
|---|---|---|
| ▶ | 32.4b | (/.f64 (-.f64 1 (cos.f64 x)) (*.f64 x x)) |
Compiled 9 to 6 computations (33.3% saved)
Found 2 expressions with local error:
| New | Error | Program |
|---|---|---|
| ✓ | 1.6b | (-.f64 1 (cos.f64 x)) |
| ✓ | 15.1b | (/.f64 (-.f64 1 (cos.f64 x)) (*.f64 x x)) |
Compiled 20 to 9 computations (55% saved)
6 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 1.0ms | x | @ | inf | (/.f64 (-.f64 1 (cos.f64 x)) (*.f64 x x)) |
| 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)) |
| 0.0ms | x | @ | 0 | (-.f64 1 (cos.f64 x)) |
| 0.0ms | x | @ | inf | (-.f64 1 (cos.f64 x)) |
| 1× | batch-egg-rewrite |
| 873× | pow1_binary64 |
| 819× | add-log-exp_binary64 |
| 818× | log1p-expm1-u_binary64 |
| 818× | expm1-log1p-u_binary64 |
| 801× | add-exp-log_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 7 | 18 |
| 1 | 152 | 18 |
| 2 | 2135 | 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 (+.f64 1 (*.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 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 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 expm1.f64 (log1p.f64 (*.f64 (-.f64 1 (cos.f64 x)) (pow.f64 x -2))))))) (#(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 +.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 cbrt.f64 (pow.f64 (-.f64 1 (cos.f64 x)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (-.f64 1 (cos.f64 x))))))) (#(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)))))))) |
| 1× | egg-herbie |
| 619× | distribute-rgt-out_binary64 |
| 564× | associate-/r*_binary64 |
| 555× | distribute-lft-out_binary64 |
| 510× | fma-def_binary64 |
| 427× | associate-*l*_binary64 |
Useful iterations: 3 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 37 | 218 |
| 1 | 91 | 216 |
| 2 | 217 | 214 |
| 3 | 656 | 212 |
| 4 | 2571 | 212 |
| 5 | 5901 | 212 |
| 1× | node limit |
| Inputs |
|---|
1/2 |
(+.f64 1/2 (*.f64 -1/24 (pow.f64 x 2))) |
(+.f64 1/2 (+.f64 (*.f64 -1/24 (pow.f64 x 2)) (*.f64 1/720 (pow.f64 x 4)))) |
(+.f64 1/2 (+.f64 (*.f64 -1/24 (pow.f64 x 2)) (+.f64 (*.f64 -1/40320 (pow.f64 x 6)) (*.f64 1/720 (pow.f64 x 4))))) |
(/.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 1/2 (pow.f64 x 2)) (+.f64 (*.f64 -1/24 (pow.f64 x 4)) (*.f64 1/720 (pow.f64 x 6)))) |
(+.f64 (*.f64 1/2 (pow.f64 x 2)) (+.f64 (*.f64 -1/24 (pow.f64 x 4)) (+.f64 (*.f64 1/720 (pow.f64 x 6)) (*.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))) |
(fma.f64 -1/24 (*.f64 x x) 1/2) |
(+.f64 1/2 (+.f64 (*.f64 -1/24 (pow.f64 x 2)) (*.f64 1/720 (pow.f64 x 4)))) |
(+.f64 1/2 (fma.f64 -1/24 (*.f64 x x) (*.f64 1/720 (pow.f64 x 4)))) |
(fma.f64 -1/24 (*.f64 x x) (fma.f64 1/720 (pow.f64 x 4) 1/2)) |
(+.f64 1/2 (+.f64 (*.f64 -1/24 (pow.f64 x 2)) (+.f64 (*.f64 -1/40320 (pow.f64 x 6)) (*.f64 1/720 (pow.f64 x 4))))) |
(+.f64 1/2 (fma.f64 -1/24 (*.f64 x x) (fma.f64 -1/40320 (pow.f64 x 6) (*.f64 1/720 (pow.f64 x 4))))) |
(+.f64 1/2 (fma.f64 -1/24 (*.f64 x x) (fma.f64 1/720 (pow.f64 x 4) (*.f64 -1/40320 (pow.f64 x 6))))) |
(+.f64 (fma.f64 -1/24 (*.f64 x x) 1/2) (fma.f64 -1/40320 (pow.f64 x 6) (*.f64 1/720 (pow.f64 x 4)))) |
(fma.f64 -1/24 (*.f64 x x) (fma.f64 1/720 (pow.f64 x 4) (fma.f64 -1/40320 (pow.f64 x 6) 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))) |
(fma.f64 1/2 (*.f64 x x) (*.f64 -1/24 (pow.f64 x 4))) |
(*.f64 (*.f64 x x) (fma.f64 -1/24 (*.f64 x x) 1/2)) |
(*.f64 x (*.f64 x (fma.f64 -1/24 (*.f64 x x) 1/2))) |
(+.f64 (*.f64 1/2 (pow.f64 x 2)) (+.f64 (*.f64 -1/24 (pow.f64 x 4)) (*.f64 1/720 (pow.f64 x 6)))) |
(fma.f64 1/2 (*.f64 x x) (fma.f64 -1/24 (pow.f64 x 4) (*.f64 1/720 (pow.f64 x 6)))) |
(fma.f64 1/2 (*.f64 x x) (fma.f64 1/720 (pow.f64 x 6) (*.f64 -1/24 (pow.f64 x 4)))) |
(fma.f64 (*.f64 x x) (fma.f64 -1/24 (*.f64 x x) 1/2) (*.f64 1/720 (pow.f64 x 6))) |
(*.f64 (*.f64 x x) (fma.f64 -1/24 (*.f64 x x) (fma.f64 1/720 (pow.f64 x 4) 1/2))) |
(*.f64 x (*.f64 x (fma.f64 -1/24 (*.f64 x x) (fma.f64 1/720 (pow.f64 x 4) 1/2)))) |
(+.f64 (*.f64 1/2 (pow.f64 x 2)) (+.f64 (*.f64 -1/24 (pow.f64 x 4)) (+.f64 (*.f64 1/720 (pow.f64 x 6)) (*.f64 -1/40320 (pow.f64 x 8))))) |
(fma.f64 1/2 (*.f64 x x) (fma.f64 -1/24 (pow.f64 x 4) (fma.f64 1/720 (pow.f64 x 6) (*.f64 -1/40320 (pow.f64 x 8))))) |
(fma.f64 1/2 (*.f64 x x) (fma.f64 1/720 (pow.f64 x 6) (fma.f64 -1/24 (pow.f64 x 4) (*.f64 -1/40320 (pow.f64 x 8))))) |
(fma.f64 1/2 (*.f64 x x) (fma.f64 1/720 (pow.f64 x 6) (*.f64 (pow.f64 x 4) (fma.f64 (pow.f64 x 4) -1/40320 -1/24)))) |
(*.f64 (*.f64 x x) (fma.f64 -1/24 (*.f64 x x) (fma.f64 1/720 (pow.f64 x 4) (fma.f64 -1/40320 (pow.f64 x 6) 1/2)))) |
Compiled 1062 to 636 computations (40.1% saved)
18 alts after pruning (17 fresh and 1 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 62 | 17 | 79 |
| Fresh | 0 | 0 | 0 |
| Picked | 0 | 1 | 1 |
| Done | 0 | 0 | 0 |
| Total | 62 | 18 | 80 |
| Status | Error | Program |
|---|---|---|
| 31.8b | (*.f64 (/.f64 (pow.f64 (cbrt.f64 (-.f64 1 (cos.f64 x))) 2) x) (/.f64 (cbrt.f64 (-.f64 1 (cos.f64 x))) x)) | |
| 32.2b | (-.f64 (pow.f64 x -2) (*.f64 (cos.f64 x) (pow.f64 x -2))) | |
| ▶ | 31.2b | (fma.f64 -1/24 (*.f64 x x) 1/2) |
| ▶ | 15.7b | (/.f64 (/.f64 (*.f64 (sin.f64 x) (sin.f64 x)) (+.f64 1 (cos.f64 x))) (*.f64 x x)) |
| 30.2b | 1/2 | |
| 32.4b | (/.f64 (exp.f64 (log1p.f64 (neg.f64 (cos.f64 x)))) (*.f64 x x)) | |
| ▶ | 17.0b | (/.f64 (/.f64 1 (/.f64 (+.f64 1 (cos.f64 x)) (*.f64 (sin.f64 x) (sin.f64 x)))) (*.f64 x x)) |
| 31.7b | (*.f64 (/.f64 (-.f64 1 (cos.f64 x)) x) (/.f64 1 x)) | |
| ✓ | 32.4b | (/.f64 (-.f64 1 (cos.f64 x)) (*.f64 x x)) |
| 32.2b | (*.f64 (pow.f64 x -2) (-.f64 1 (cos.f64 x))) | |
| 15.7b | (/.f64 (*.f64 (*.f64 (sin.f64 x) (sin.f64 x)) (/.f64 1 (+.f64 1 (cos.f64 x)))) (*.f64 x x)) | |
| 32.5b | (*.f64 (neg.f64 (-.f64 1 (cos.f64 x))) (/.f64 1 (*.f64 x (neg.f64 x)))) | |
| 32.4b | (/.f64 (log.f64 (exp.f64 (-.f64 1 (cos.f64 x)))) (*.f64 x x)) | |
| ▶ | 31.9b | (pow.f64 (/.f64 x (/.f64 (-.f64 1 (cos.f64 x)) x)) -1) |
| 32.4b | (/.f64 (pow.f64 (sqrt.f64 (-.f64 1 (cos.f64 x))) 2) (*.f64 x x)) | |
| 32.4b | (pow.f64 (cbrt.f64 (*.f64 (-.f64 1 (cos.f64 x)) (pow.f64 x -2))) 3) | |
| ▶ | 32.5b | (/.f64 (pow.f64 (cbrt.f64 (-.f64 1 (cos.f64 x))) 3) (*.f64 x x)) |
| 32.4b | (/.f64 (pow.f64 (pow.f64 (-.f64 1 (cos.f64 x)) 3) 1/3) (*.f64 x x)) |
Compiled 409 to 294 computations (28.1% 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.4b | (+.f64 1 (cos.f64 x)) |
| ✓ | 15.1b | (/.f64 (/.f64 (*.f64 (sin.f64 x) (sin.f64 x)) (+.f64 1 (cos.f64 x))) (*.f64 x x)) |
Compiled 43 to 15 computations (65.1% saved)
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 |
| 582× | log-prod_binary64 |
| 456× | prod-diff_binary64 |
| 291× | pow2_binary64 |
| 250× | fma-def_binary64 |
| 243× | log-div_binary64 |
Useful iterations: 1 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 10 | 46 |
| 1 | 228 | 30 |
| 2 | 3540 | 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 0 (*.f64 (-.f64 1 (cos.f64 x)) (pow.f64 x -2)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (pow.f64 (cbrt.f64 (pow.f64 (exp.f64 (-.f64 1 (cos.f64 x))) (pow.f64 x -2))) 2)) (log.f64 (cbrt.f64 (pow.f64 (exp.f64 (-.f64 1 (cos.f64 x))) (pow.f64 x -2)))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (sqrt.f64 (pow.f64 (exp.f64 (-.f64 1 (cos.f64 x))) (pow.f64 x -2)))) (log.f64 (sqrt.f64 (pow.f64 (exp.f64 (-.f64 1 (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 (/.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)) (tan.f64 (/.f64 x 2)))))) (#(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 (/.f64 (pow.f64 (-.f64 1 (cos.f64 x)) 2) (pow.f64 x 4)) 1/2)))) (#(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 pow.f64 (/.f64 (pow.f64 (-.f64 1 (cos.f64 x)) 3) (pow.f64 (*.f64 x x) 3)) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 (/.f64 1 (-.f64 1 (cos.f64 x))) (*.f64 x x)) -1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 (*.f64 (+.f64 1 (cos.f64 x)) (*.f64 x x)) (pow.f64 (sin.f64 x) 2)) -1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 (/.f64 x (/.f64 (-.f64 1 (cos.f64 x)) x)) 1) -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 expm1.f64 (log1p.f64 (*.f64 (-.f64 1 (cos.f64 x)) (pow.f64 x -2))))))) (#(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 -.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 (fma.f64 (cos.f64 x) (-.f64 (cos.f64 x) 1) 1)))))) (#(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 (fma.f64 (cos.f64 x) (-.f64 (cos.f64 x) 1) 1) (+.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 (neg.f64 (pow.f64 (sin.f64 x) 2)) (-.f64 (cos.f64 x) 1))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.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 1 (pow.f64 (cos.f64 x) 3)) (fma.f64 (cos.f64 x) (cos.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 (fma.f64 (cos.f64 x) (-.f64 (cos.f64 x) 1) 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)) 2) 1/2)))) (#(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 (fma.f64 (cos.f64 x) (-.f64 (cos.f64 x) 1) 1) (+.f64 1 (pow.f64 (cos.f64 x) 3))) -1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 (-.f64 1 (cos.f64 x)) (pow.f64 (sin.f64 x) 2)) -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 expm1.f64 (log1p.f64 (+.f64 1 (cos.f64 x))))))) (#(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 1 (/.f64 1 (-.f64 1 (cos.f64 x))) (neg.f64 (/.f64 (pow.f64 (cos.f64 x) 2) (-.f64 1 (cos.f64 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cos.f64 x) 1 1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (+.f64 1 (cos.f64 x)) (/.f64 1 (pow.f64 (sin.f64 x) 2)) (neg.f64 (/.f64 (pow.f64 (cos.f64 x) 2) (-.f64 1 (cos.f64 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (cos.f64 x)) (cbrt.f64 (pow.f64 (cos.f64 x) 2)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (pow.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 fma.f64 (pow.f64 (cbrt.f64 (/.f64 1 (-.f64 1 (cos.f64 x)))) 2) (cbrt.f64 (/.f64 1 (-.f64 1 (cos.f64 x)))) (neg.f64 (/.f64 (pow.f64 (cos.f64 x) 2) (-.f64 1 (cos.f64 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 (/.f64 1 (-.f64 1 (cos.f64 x)))) (sqrt.f64 (/.f64 1 (-.f64 1 (cos.f64 x)))) (neg.f64 (/.f64 (pow.f64 (cos.f64 x) 2) (-.f64 1 (cos.f64 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (/.f64 1 (sin.f64 x)) (/.f64 1 (tan.f64 (/.f64 x 2))) (neg.f64 (/.f64 (pow.f64 (cos.f64 x) 2) (-.f64 1 (cos.f64 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (/.f64 (pow.f64 (cbrt.f64 (+.f64 1 (cos.f64 x))) 2) (sin.f64 x)) (/.f64 (cbrt.f64 (+.f64 1 (cos.f64 x))) (sin.f64 x)) (neg.f64 (/.f64 (pow.f64 (cos.f64 x) 2) (-.f64 1 (cos.f64 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (/.f64 (sqrt.f64 (+.f64 1 (cos.f64 x))) (sin.f64 x)) (/.f64 (sqrt.f64 (+.f64 1 (cos.f64 x))) (sin.f64 x)) (neg.f64 (/.f64 (pow.f64 (cos.f64 x) 2) (-.f64 1 (cos.f64 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (/.f64 (pow.f64 (cbrt.f64 (+.f64 1 (cos.f64 x))) 2) 1) (/.f64 (cbrt.f64 (+.f64 1 (cos.f64 x))) (pow.f64 (sin.f64 x) 2)) (neg.f64 (/.f64 (pow.f64 (cos.f64 x) 2) (-.f64 1 (cos.f64 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (/.f64 (sqrt.f64 (+.f64 1 (cos.f64 x))) 1) (/.f64 (sqrt.f64 (+.f64 1 (cos.f64 x))) (pow.f64 (sin.f64 x) 2)) (neg.f64 (/.f64 (pow.f64 (cos.f64 x) 2) (-.f64 1 (cos.f64 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (/.f64 1 (cbrt.f64 (pow.f64 (sin.f64 x) 4))) (/.f64 (+.f64 1 (cos.f64 x)) (pow.f64 (cbrt.f64 (sin.f64 x)) 2)) (neg.f64 (/.f64 (pow.f64 (cos.f64 x) 2) (-.f64 1 (cos.f64 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (/.f64 (pow.f64 (cbrt.f64 (+.f64 1 (cos.f64 x))) 2) (cbrt.f64 (pow.f64 (sin.f64 x) 4))) (/.f64 (cbrt.f64 (+.f64 1 (cos.f64 x))) (pow.f64 (cbrt.f64 (sin.f64 x)) 2)) (neg.f64 (/.f64 (pow.f64 (cos.f64 x) 2) (-.f64 1 (cos.f64 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (/.f64 (sqrt.f64 (+.f64 1 (cos.f64 x))) (cbrt.f64 (pow.f64 (sin.f64 x) 4))) (/.f64 (sqrt.f64 (+.f64 1 (cos.f64 x))) (pow.f64 (cbrt.f64 (sin.f64 x)) 2)) (neg.f64 (/.f64 (pow.f64 (cos.f64 x) 2) (-.f64 1 (cos.f64 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (/.f64 (+.f64 1 (cos.f64 x)) (-.f64 1 (cos.f64 (+.f64 x x)))) 2 (neg.f64 (/.f64 (pow.f64 (cos.f64 x) 2) (-.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 0 (pow.f64 (sin.f64 x) 2))))) (#(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 (log.f64 (pow.f64 (cbrt.f64 (exp.f64 (pow.f64 (sin.f64 x) 2))) 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 1/2 (*.f64 (cos.f64 (+.f64 x x)) 1/2))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 1/2 (/.f64 (cos.f64 (+.f64 x 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 (/.f64 2 (-.f64 1 (cos.f64 (+.f64 x x)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 1 (cos.f64 (+.f64 x x))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (-.f64 1 (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 (+.f64 (pow.f64 (pow.f64 (cos.f64 x) 2) 2) (pow.f64 (cos.f64 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 (pow.f64 (*.f64 (cos.f64 (+.f64 x x)) 1/2) 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) 2)) (+.f64 1 (pow.f64 (cos.f64 x) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 1/4 (pow.f64 (*.f64 (cos.f64 (+.f64 x x)) 1/2) 2)) (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 (sin.f64 x) 4) 1/2)))) (#(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 pow.f64 (/.f64 2 (-.f64 1 (cos.f64 (+.f64 x x)))) -1)))) (#(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 expm1.f64 (log1p.f64 (pow.f64 (sin.f64 x) 2)))))) (#(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 +.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 (cbrt.f64 (pow.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 0 (-.f64 1 (cos.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (pow.f64 (cbrt.f64 (exp.f64 (-.f64 1 (cos.f64 x)))) 2)) (log.f64 (cbrt.f64 (exp.f64 (-.f64 1 (cos.f64 x))))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (sqrt.f64 (exp.f64 (-.f64 1 (cos.f64 x))))) (log.f64 (sqrt.f64 (exp.f64 (-.f64 1 (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 1 (tan.f64 (/.f64 x 2)))))))) (#(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) (tan.f64 (/.f64 x 2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (tan.f64 (/.f64 x 2)) (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))) (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) (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)) 2) 1/2)))) (#(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 pow.f64 (/.f64 (pow.f64 (pow.f64 (sin.f64 x) 2) 3) (pow.f64 (+.f64 1 (cos.f64 x)) 3)) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 (/.f64 1 (-.f64 1 (cos.f64 x))) 1) -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 expm1.f64 (log1p.f64 (-.f64 1 (cos.f64 x))))))) (#(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)))))) |
| 1× | egg-herbie |
| 920× | times-frac_binary64 |
| 877× | distribute-lft-out_binary64 |
| 511× | associate-/l*_binary64 |
| 357× | associate-/r*_binary64 |
| 346× | associate-/l/_binary64 |
Useful iterations: 2 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 68 | 576 |
| 1 | 158 | 572 |
| 2 | 393 | 520 |
| 3 | 1256 | 520 |
| 4 | 2457 | 520 |
| 5 | 7247 | 520 |
| 1× | node limit |
| Inputs |
|---|
1/2 |
(+.f64 1/2 (*.f64 -1/24 (pow.f64 x 2))) |
(+.f64 1/2 (+.f64 (*.f64 -1/24 (pow.f64 x 2)) (*.f64 1/720 (pow.f64 x 4)))) |
(+.f64 1/2 (+.f64 (*.f64 -1/24 (pow.f64 x 2)) (+.f64 (*.f64 -1/40320 (pow.f64 x 6)) (*.f64 1/720 (pow.f64 x 4))))) |
(/.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 (cos.f64 x) 1) (pow.f64 x 2))) |
(/.f64 (pow.f64 (sin.f64 x) 2) (*.f64 (+.f64 (cos.f64 x) 1) (pow.f64 x 2))) |
(/.f64 (pow.f64 (sin.f64 x) 2) (*.f64 (+.f64 (cos.f64 x) 1) (pow.f64 x 2))) |
(/.f64 (pow.f64 (sin.f64 x) 2) (*.f64 (+.f64 (cos.f64 x) 1) (pow.f64 x 2))) |
2 |
(+.f64 2 (*.f64 -1/2 (pow.f64 x 2))) |
(+.f64 2 (+.f64 (*.f64 -1/2 (pow.f64 x 2)) (*.f64 1/24 (pow.f64 x 4)))) |
(+.f64 2 (+.f64 (*.f64 -1/2 (pow.f64 x 2)) (+.f64 (*.f64 1/24 (pow.f64 x 4)) (*.f64 -1/720 (pow.f64 x 6))))) |
(+.f64 (cos.f64 x) 1) |
(+.f64 (cos.f64 x) 1) |
(+.f64 (cos.f64 x) 1) |
(+.f64 (cos.f64 x) 1) |
(pow.f64 x 2) |
(+.f64 (*.f64 -1/3 (pow.f64 x 4)) (pow.f64 x 2)) |
(+.f64 (*.f64 -1/3 (pow.f64 x 4)) (+.f64 (*.f64 2/45 (pow.f64 x 6)) (pow.f64 x 2))) |
(+.f64 (*.f64 -1/3 (pow.f64 x 4)) (+.f64 (*.f64 -1/315 (pow.f64 x 8)) (+.f64 (*.f64 2/45 (pow.f64 x 6)) (pow.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) |
(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 1/2 (pow.f64 x 2)) (+.f64 (*.f64 -1/24 (pow.f64 x 4)) (*.f64 1/720 (pow.f64 x 6)))) |
(+.f64 (*.f64 1/2 (pow.f64 x 2)) (+.f64 (*.f64 -1/24 (pow.f64 x 4)) (+.f64 (*.f64 1/720 (pow.f64 x 6)) (*.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 (cos.f64 x) 1)) |
(/.f64 (pow.f64 (sin.f64 x) 2) (+.f64 (cos.f64 x) 1)) |
(/.f64 (pow.f64 (sin.f64 x) 2) (+.f64 (cos.f64 x) 1)) |
(/.f64 (pow.f64 (sin.f64 x) 2) (+.f64 (cos.f64 x) 1)) |
| Outputs |
|---|
1/2 |
(+.f64 1/2 (*.f64 -1/24 (pow.f64 x 2))) |
(+.f64 1/2 (*.f64 -1/24 (*.f64 x x))) |
(fma.f64 -1/24 (*.f64 x x) 1/2) |
(+.f64 1/2 (+.f64 (*.f64 -1/24 (pow.f64 x 2)) (*.f64 1/720 (pow.f64 x 4)))) |
(+.f64 1/2 (fma.f64 -1/24 (*.f64 x x) (*.f64 1/720 (pow.f64 x 4)))) |
(+.f64 (fma.f64 -1/24 (*.f64 x x) 1/2) (*.f64 1/720 (pow.f64 x 4))) |
(fma.f64 -1/24 (*.f64 x x) (fma.f64 1/720 (pow.f64 x 4) 1/2)) |
(+.f64 1/2 (+.f64 (*.f64 -1/24 (pow.f64 x 2)) (+.f64 (*.f64 -1/40320 (pow.f64 x 6)) (*.f64 1/720 (pow.f64 x 4))))) |
(+.f64 1/2 (fma.f64 -1/24 (*.f64 x x) (fma.f64 -1/40320 (pow.f64 x 6) (*.f64 1/720 (pow.f64 x 4))))) |
(+.f64 (fma.f64 -1/24 (*.f64 x x) 1/2) (fma.f64 -1/40320 (pow.f64 x 6) (*.f64 1/720 (pow.f64 x 4)))) |
(+.f64 1/2 (fma.f64 -1/24 (*.f64 x x) (fma.f64 1/720 (pow.f64 x 4) (*.f64 -1/40320 (pow.f64 x 6))))) |
(+.f64 (fma.f64 -1/24 (*.f64 x x) 1/2) (fma.f64 1/720 (pow.f64 x 4) (*.f64 -1/40320 (pow.f64 x 6)))) |
(+.f64 1/2 (fma.f64 1/720 (pow.f64 x 4) (fma.f64 -1/24 (*.f64 x x) (*.f64 -1/40320 (pow.f64 x 6))))) |
(/.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 (/.f64 (sin.f64 x) (*.f64 x x)) (tan.f64 (/.f64 x 2))) |
(/.f64 (sin.f64 x) (/.f64 (*.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 (/.f64 (sin.f64 x) (*.f64 x x)) (tan.f64 (/.f64 x 2))) |
(/.f64 (sin.f64 x) (/.f64 (*.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 (/.f64 (sin.f64 x) (*.f64 x x)) (tan.f64 (/.f64 x 2))) |
(/.f64 (sin.f64 x) (/.f64 (*.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 (/.f64 (sin.f64 x) (*.f64 x x)) (tan.f64 (/.f64 x 2))) |
(/.f64 (sin.f64 x) (/.f64 (*.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 (cos.f64 x) 1) (pow.f64 x 2))) |
(/.f64 (pow.f64 (sin.f64 x) 2) (*.f64 (*.f64 x x) (+.f64 1 (cos.f64 x)))) |
(*.f64 (/.f64 (sin.f64 x) (*.f64 x x)) (tan.f64 (/.f64 x 2))) |
(/.f64 (sin.f64 x) (/.f64 (*.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 (cos.f64 x) 1) (pow.f64 x 2))) |
(/.f64 (pow.f64 (sin.f64 x) 2) (*.f64 (*.f64 x x) (+.f64 1 (cos.f64 x)))) |
(*.f64 (/.f64 (sin.f64 x) (*.f64 x x)) (tan.f64 (/.f64 x 2))) |
(/.f64 (sin.f64 x) (/.f64 (*.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 (cos.f64 x) 1) (pow.f64 x 2))) |
(/.f64 (pow.f64 (sin.f64 x) 2) (*.f64 (*.f64 x x) (+.f64 1 (cos.f64 x)))) |
(*.f64 (/.f64 (sin.f64 x) (*.f64 x x)) (tan.f64 (/.f64 x 2))) |
(/.f64 (sin.f64 x) (/.f64 (*.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 (cos.f64 x) 1) (pow.f64 x 2))) |
(/.f64 (pow.f64 (sin.f64 x) 2) (*.f64 (*.f64 x x) (+.f64 1 (cos.f64 x)))) |
(*.f64 (/.f64 (sin.f64 x) (*.f64 x x)) (tan.f64 (/.f64 x 2))) |
(/.f64 (sin.f64 x) (/.f64 (*.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 (*.f64 x x) -1/2)) |
(fma.f64 (*.f64 x x) -1/2 2) |
(fma.f64 x (*.f64 x -1/2) 2) |
(+.f64 2 (+.f64 (*.f64 -1/2 (pow.f64 x 2)) (*.f64 1/24 (pow.f64 x 4)))) |
(+.f64 2 (fma.f64 -1/2 (*.f64 x x) (*.f64 (pow.f64 x 4) 1/24))) |
(+.f64 (fma.f64 (*.f64 x x) -1/2 2) (*.f64 (pow.f64 x 4) 1/24)) |
(fma.f64 x (*.f64 x -1/2) (fma.f64 (pow.f64 x 4) 1/24 2)) |
(fma.f64 (pow.f64 x 4) 1/24 (fma.f64 (*.f64 x x) -1/2 2)) |
(+.f64 2 (+.f64 (*.f64 -1/2 (pow.f64 x 2)) (+.f64 (*.f64 1/24 (pow.f64 x 4)) (*.f64 -1/720 (pow.f64 x 6))))) |
(+.f64 2 (fma.f64 -1/2 (*.f64 x x) (fma.f64 1/24 (pow.f64 x 4) (*.f64 (pow.f64 x 6) -1/720)))) |
(+.f64 (fma.f64 (*.f64 x x) -1/2 2) (fma.f64 (pow.f64 x 4) 1/24 (*.f64 (pow.f64 x 6) -1/720))) |
(+.f64 2 (fma.f64 (pow.f64 x 6) -1/720 (fma.f64 x (*.f64 x -1/2) (*.f64 (pow.f64 x 4) 1/24)))) |
(+.f64 (fma.f64 (*.f64 x x) -1/2 2) (fma.f64 (pow.f64 x 6) -1/720 (*.f64 (pow.f64 x 4) 1/24))) |
(+.f64 (fma.f64 x (*.f64 x -1/2) 2) (fma.f64 (pow.f64 x 4) 1/24 (*.f64 (pow.f64 x 6) -1/720))) |
(+.f64 (cos.f64 x) 1) |
(+.f64 1 (cos.f64 x)) |
(+.f64 (cos.f64 x) 1) |
(+.f64 1 (cos.f64 x)) |
(+.f64 (cos.f64 x) 1) |
(+.f64 1 (cos.f64 x)) |
(+.f64 (cos.f64 x) 1) |
(+.f64 1 (cos.f64 x)) |
(pow.f64 x 2) |
(*.f64 x x) |
(+.f64 (*.f64 -1/3 (pow.f64 x 4)) (pow.f64 x 2)) |
(fma.f64 -1/3 (pow.f64 x 4) (*.f64 x x)) |
(fma.f64 (pow.f64 x 4) -1/3 (*.f64 x x)) |
(fma.f64 x x (*.f64 (pow.f64 x 4) -1/3)) |
(+.f64 (*.f64 -1/3 (pow.f64 x 4)) (+.f64 (*.f64 2/45 (pow.f64 x 6)) (pow.f64 x 2))) |
(fma.f64 -1/3 (pow.f64 x 4) (fma.f64 2/45 (pow.f64 x 6) (*.f64 x x))) |
(fma.f64 (pow.f64 x 4) -1/3 (fma.f64 x x (*.f64 (pow.f64 x 6) 2/45))) |
(fma.f64 x x (fma.f64 (pow.f64 x 4) -1/3 (*.f64 (pow.f64 x 6) 2/45))) |
(fma.f64 (pow.f64 x 4) -1/3 (fma.f64 (pow.f64 x 6) 2/45 (*.f64 x x))) |
(+.f64 (*.f64 -1/3 (pow.f64 x 4)) (+.f64 (*.f64 -1/315 (pow.f64 x 8)) (+.f64 (*.f64 2/45 (pow.f64 x 6)) (pow.f64 x 2)))) |
(fma.f64 -1/3 (pow.f64 x 4) (fma.f64 -1/315 (pow.f64 x 8) (fma.f64 2/45 (pow.f64 x 6) (*.f64 x x)))) |
(fma.f64 (pow.f64 x 4) -1/3 (fma.f64 -1/315 (pow.f64 x 8) (fma.f64 x x (*.f64 (pow.f64 x 6) 2/45)))) |
(fma.f64 (pow.f64 x 4) -1/3 (fma.f64 (pow.f64 x 6) 2/45 (fma.f64 x x (*.f64 -1/315 (pow.f64 x 8))))) |
(fma.f64 (pow.f64 x 4) -1/3 (fma.f64 (pow.f64 x 6) 2/45 (fma.f64 -1/315 (pow.f64 x 8) (*.f64 x x)))) |
(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 x (*.f64 1/2 x)) |
(+.f64 (*.f64 1/2 (pow.f64 x 2)) (*.f64 -1/24 (pow.f64 x 4))) |
(fma.f64 1/2 (*.f64 x x) (*.f64 -1/24 (pow.f64 x 4))) |
(*.f64 (*.f64 x x) (fma.f64 -1/24 (*.f64 x x) 1/2)) |
(*.f64 x (*.f64 x (fma.f64 -1/24 (*.f64 x x) 1/2))) |
(+.f64 (*.f64 1/2 (pow.f64 x 2)) (+.f64 (*.f64 -1/24 (pow.f64 x 4)) (*.f64 1/720 (pow.f64 x 6)))) |
(fma.f64 1/2 (*.f64 x x) (fma.f64 -1/24 (pow.f64 x 4) (*.f64 1/720 (pow.f64 x 6)))) |
(fma.f64 -1/24 (pow.f64 x 4) (fma.f64 1/720 (pow.f64 x 6) (*.f64 x (*.f64 1/2 x)))) |
(fma.f64 -1/24 (pow.f64 x 4) (*.f64 (*.f64 x x) (fma.f64 1/720 (pow.f64 x 4) 1/2))) |
(+.f64 (*.f64 1/2 (pow.f64 x 2)) (+.f64 (*.f64 -1/24 (pow.f64 x 4)) (+.f64 (*.f64 1/720 (pow.f64 x 6)) (*.f64 -1/40320 (pow.f64 x 8))))) |
(fma.f64 1/2 (*.f64 x x) (fma.f64 -1/24 (pow.f64 x 4) (fma.f64 1/720 (pow.f64 x 6) (*.f64 -1/40320 (pow.f64 x 8))))) |
(fma.f64 1/2 (*.f64 x x) (fma.f64 -1/24 (pow.f64 x 4) (fma.f64 -1/40320 (pow.f64 x 8) (*.f64 1/720 (pow.f64 x 6))))) |
(fma.f64 1/2 (*.f64 x x) (fma.f64 1/720 (pow.f64 x 6) (fma.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 (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 (cos.f64 x) 1)) |
(/.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 (cos.f64 x) 1)) |
(/.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 (cos.f64 x) 1)) |
(/.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 (cos.f64 x) 1)) |
(/.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))) |
Found 1 expressions with local error:
| New | Error | Program |
|---|---|---|
| ✓ | 0.1b | (fma.f64 -1/24 (*.f64 x x) 1/2) |
Compiled 13 to 7 computations (46.2% saved)
3 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 1.0ms | x | @ | inf | (fma.f64 -1/24 (*.f64 x x) 1/2) |
| 0.0ms | x | @ | 0 | (fma.f64 -1/24 (*.f64 x x) 1/2) |
| 0.0ms | x | @ | -inf | (fma.f64 -1/24 (*.f64 x x) 1/2) |
| 1× | batch-egg-rewrite |
| 505× | pow1_binary64 |
| 497× | add-sqr-sqrt_binary64 |
| 473× | add-log-exp_binary64 |
| 473× | log1p-expm1-u_binary64 |
| 473× | expm1-log1p-u_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 6 | 8 |
| 1 | 122 | 8 |
| 2 | 1308 | 8 |
| 1× | node limit |
| Inputs |
|---|
(fma.f64 -1/24 (*.f64 x x) 1/2) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x +.f64 1/2 (*.f64 -1/24 (*.f64 x x)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 -1/24 (*.f64 x x)) 1/2)))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 (*.f64 -1/24 (*.f64 x x)) 1) 1/2)))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (fma.f64 -1/24 (*.f64 x x) 1/2)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (fma.f64 -1/24 (*.f64 x x) 1/2) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (fma.f64 -1/24 (*.f64 x x) 1/2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (fma.f64 -1/24 (*.f64 x x) 1/2)) (pow.f64 (cbrt.f64 (fma.f64 -1/24 (*.f64 x x) 1/2)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (fma.f64 -1/24 (*.f64 x x) 1/2)) 2) (cbrt.f64 (fma.f64 -1/24 (*.f64 x x) 1/2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (fma.f64 -1/24 (*.f64 x x) 1/2)) (sqrt.f64 (fma.f64 -1/24 (*.f64 x x) 1/2)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 (*.f64 -1/24 (*.f64 x x)) 3) 1/8) (+.f64 (*.f64 (*.f64 -1/24 (*.f64 x x)) (*.f64 -1/24 (*.f64 x x))) (-.f64 1/4 (*.f64 (*.f64 -1/24 (*.f64 x x)) 1/2))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (*.f64 (*.f64 -1/24 (*.f64 x x)) (*.f64 -1/24 (*.f64 x x))) 1/4) (-.f64 (*.f64 -1/24 (*.f64 x x)) 1/2))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (fma.f64 -1/24 (*.f64 x x) 1/2) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (fma.f64 -1/24 (*.f64 x x) 1/2) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (fma.f64 -1/24 (*.f64 x x) 1/2)) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (fma.f64 -1/24 (*.f64 x x) 1/2)) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (fma.f64 -1/24 (*.f64 x x) 1/2) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (fma.f64 -1/24 (*.f64 x x) 1/2)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (fma.f64 -1/24 (*.f64 x x) 1/2) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (fma.f64 -1/24 (*.f64 x x) 1/2)))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (fma.f64 -1/24 (*.f64 x x) 1/2)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (fma.f64 -1/24 (*.f64 x x) 1/2))))))) |
| 1× | egg-herbie |
| 1082× | sqr-pow_binary64 |
| 560× | cube-prod_binary64 |
| 556× | fabs-mul_binary64 |
| 523× | pow-sqr_binary64 |
| 443× | associate-*l*_binary64 |
Useful iterations: 1 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 8 | 105 |
| 1 | 15 | 87 |
| 2 | 27 | 87 |
| 3 | 51 | 87 |
| 4 | 114 | 87 |
| 5 | 337 | 87 |
| 6 | 1282 | 87 |
| 7 | 2179 | 87 |
| 8 | 2343 | 87 |
| 9 | 2527 | 87 |
| 10 | 2735 | 87 |
| 11 | 3034 | 87 |
| 12 | 3425 | 87 |
| 13 | 3904 | 87 |
| 14 | 4472 | 87 |
| 15 | 5162 | 87 |
| 16 | 5997 | 87 |
| 17 | 6389 | 87 |
| 18 | 6679 | 87 |
| 19 | 6957 | 87 |
| 20 | 7029 | 87 |
| 21 | 7063 | 87 |
| 1× | node limit |
| Inputs |
|---|
1/2 |
(+.f64 1/2 (*.f64 -1/24 (pow.f64 x 2))) |
(+.f64 1/2 (*.f64 -1/24 (pow.f64 x 2))) |
(+.f64 1/2 (*.f64 -1/24 (pow.f64 x 2))) |
(*.f64 -1/24 (pow.f64 x 2)) |
(+.f64 1/2 (*.f64 -1/24 (pow.f64 x 2))) |
(+.f64 1/2 (*.f64 -1/24 (pow.f64 x 2))) |
(+.f64 1/2 (*.f64 -1/24 (pow.f64 x 2))) |
(*.f64 -1/24 (pow.f64 x 2)) |
(+.f64 1/2 (*.f64 -1/24 (pow.f64 x 2))) |
(+.f64 1/2 (*.f64 -1/24 (pow.f64 x 2))) |
(+.f64 1/2 (*.f64 -1/24 (pow.f64 x 2))) |
| Outputs |
|---|
1/2 |
(+.f64 1/2 (*.f64 -1/24 (pow.f64 x 2))) |
(+.f64 1/2 (*.f64 -1/24 (*.f64 x x))) |
(fma.f64 -1/24 (*.f64 x x) 1/2) |
(+.f64 1/2 (*.f64 -1/24 (pow.f64 x 2))) |
(+.f64 1/2 (*.f64 -1/24 (*.f64 x x))) |
(fma.f64 -1/24 (*.f64 x x) 1/2) |
(+.f64 1/2 (*.f64 -1/24 (pow.f64 x 2))) |
(+.f64 1/2 (*.f64 -1/24 (*.f64 x x))) |
(fma.f64 -1/24 (*.f64 x x) 1/2) |
(*.f64 -1/24 (pow.f64 x 2)) |
(*.f64 -1/24 (*.f64 x x)) |
(+.f64 1/2 (*.f64 -1/24 (pow.f64 x 2))) |
(+.f64 1/2 (*.f64 -1/24 (*.f64 x x))) |
(fma.f64 -1/24 (*.f64 x x) 1/2) |
(+.f64 1/2 (*.f64 -1/24 (pow.f64 x 2))) |
(+.f64 1/2 (*.f64 -1/24 (*.f64 x x))) |
(fma.f64 -1/24 (*.f64 x x) 1/2) |
(+.f64 1/2 (*.f64 -1/24 (pow.f64 x 2))) |
(+.f64 1/2 (*.f64 -1/24 (*.f64 x x))) |
(fma.f64 -1/24 (*.f64 x x) 1/2) |
(*.f64 -1/24 (pow.f64 x 2)) |
(*.f64 -1/24 (*.f64 x x)) |
(+.f64 1/2 (*.f64 -1/24 (pow.f64 x 2))) |
(+.f64 1/2 (*.f64 -1/24 (*.f64 x x))) |
(fma.f64 -1/24 (*.f64 x x) 1/2) |
(+.f64 1/2 (*.f64 -1/24 (pow.f64 x 2))) |
(+.f64 1/2 (*.f64 -1/24 (*.f64 x x))) |
(fma.f64 -1/24 (*.f64 x x) 1/2) |
(+.f64 1/2 (*.f64 -1/24 (pow.f64 x 2))) |
(+.f64 1/2 (*.f64 -1/24 (*.f64 x x))) |
(fma.f64 -1/24 (*.f64 x x) 1/2) |
Found 4 expressions with local error:
| New | Error | Program |
|---|---|---|
| ✓ | 0.1b | (/.f64 x (/.f64 (-.f64 1 (cos.f64 x)) x)) |
| ✓ | 0.1b | (/.f64 (-.f64 1 (cos.f64 x)) x) |
| ✓ | 0.3b | (pow.f64 (/.f64 x (/.f64 (-.f64 1 (cos.f64 x)) x)) -1) |
| 1.6b | (-.f64 1 (cos.f64 x)) |
Compiled 34 to 19 computations (44.1% saved)
9 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 1.0ms | x | @ | inf | (pow.f64 (/.f64 x (/.f64 (-.f64 1 (cos.f64 x)) x)) -1) |
| 1.0ms | x | @ | -inf | (pow.f64 (/.f64 x (/.f64 (-.f64 1 (cos.f64 x)) x)) -1) |
| 1.0ms | x | @ | -inf | (/.f64 (-.f64 1 (cos.f64 x)) x) |
| 1.0ms | x | @ | 0 | (pow.f64 (/.f64 x (/.f64 (-.f64 1 (cos.f64 x)) x)) -1) |
| 1.0ms | x | @ | 0 | (/.f64 (-.f64 1 (cos.f64 x)) x) |
| 1× | batch-egg-rewrite |
| 489× | log-prod_binary64 |
| 382× | exp-prod_binary64 |
| 269× | pow-prod-down_binary64 |
| 252× | pow2_binary64 |
| 244× | prod-diff_binary64 |
Useful iterations: 1 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 9 | 36 |
| 1 | 198 | 33 |
| 2 | 2741 | 33 |
| 1× | node limit |
| Inputs |
|---|
(pow.f64 (/.f64 x (/.f64 (-.f64 1 (cos.f64 x)) x)) -1) |
(/.f64 (-.f64 1 (cos.f64 x)) x) |
(/.f64 x (/.f64 (-.f64 1 (cos.f64 x)) x)) |
| 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 (pow.f64 (cbrt.f64 (exp.f64 (/.f64 (-.f64 1 (cos.f64 x)) (*.f64 x x)))) 2)) (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 (pow.f64 x -2) (/.f64 (/.f64 (cos.f64 x) x) 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)) x) (/.f64 1 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 (/.f64 1 x) (/.f64 (-.f64 1 (cos.f64 x)) x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (/.f64 (-.f64 1 (cos.f64 x)) (*.f64 x x))) (sqrt.f64 (/.f64 (-.f64 1 (cos.f64 x)) (*.f64 x x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (-.f64 1 (cos.f64 x)) 1) (pow.f64 x -2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (cbrt.f64 (pow.f64 (/.f64 x (-.f64 1 (cos.f64 x))) -2)) 1) (/.f64 (cbrt.f64 (/.f64 (-.f64 1 (cos.f64 x)) x)) x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (sqrt.f64 (/.f64 (-.f64 1 (cos.f64 x)) x)) 1) (/.f64 (sqrt.f64 (/.f64 (-.f64 1 (cos.f64 x)) x)) x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 x) -2) (/.f64 (/.f64 (-.f64 1 (cos.f64 x)) x) (cbrt.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (-.f64 1 (cos.f64 x)) (cbrt.f64 (*.f64 x x))) (/.f64 (/.f64 1 x) (cbrt.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (cbrt.f64 (pow.f64 (/.f64 x (-.f64 1 (cos.f64 x))) -2)) (cbrt.f64 (*.f64 x x))) (/.f64 (cbrt.f64 (/.f64 (-.f64 1 (cos.f64 x)) x)) (cbrt.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (sqrt.f64 (/.f64 (-.f64 1 (cos.f64 x)) x)) (cbrt.f64 (*.f64 x x))) (/.f64 (sqrt.f64 (/.f64 (-.f64 1 (cos.f64 x)) x)) (cbrt.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 x -1/2) (/.f64 (/.f64 (-.f64 1 (cos.f64 x)) x) (sqrt.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (-.f64 1 (cos.f64 x)) (sqrt.f64 x)) (pow.f64 x -3/2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (cbrt.f64 (pow.f64 (/.f64 x (-.f64 1 (cos.f64 x))) -2)) (sqrt.f64 x)) (/.f64 (cbrt.f64 (/.f64 (-.f64 1 (cos.f64 x)) x)) (sqrt.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (sqrt.f64 (/.f64 (-.f64 1 (cos.f64 x)) x)) (sqrt.f64 x)) (/.f64 (sqrt.f64 (/.f64 (-.f64 1 (cos.f64 x)) x)) (sqrt.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 1 (neg.f64 x)) (/.f64 (neg.f64 (-.f64 1 (cos.f64 x))) x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (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 1 (*.f64 x (/.f64 x (-.f64 1 (cos.f64 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (*.f64 x (/.f64 x (-.f64 1 (cos.f64 x)))) 1))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 1 (cos.f64 x)) (*.f64 x x))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (/.f64 (-.f64 1 (cos.f64 x)) x) x)))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 -1 (neg.f64 (*.f64 x (/.f64 x (-.f64 1 (cos.f64 x))))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (cbrt.f64 (pow.f64 (/.f64 x (-.f64 1 (cos.f64 x))) -2)) (/.f64 x (cbrt.f64 (/.f64 (-.f64 1 (cos.f64 x)) x))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (sqrt.f64 (/.f64 (-.f64 1 (cos.f64 x)) x)) (/.f64 x (sqrt.f64 (/.f64 (-.f64 1 (cos.f64 x)) x))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (-.f64 1 (cos.f64 x))) (*.f64 x (neg.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (/.f64 (neg.f64 (-.f64 1 (cos.f64 x))) x) (neg.f64 x))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (/.f64 1 x) (/.f64 x (-.f64 1 (cos.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (sqrt.f64 (/.f64 (-.f64 1 (cos.f64 x)) (*.f64 x x))) (sqrt.f64 (*.f64 x (/.f64 x (-.f64 1 (cos.f64 x))))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (/.f64 (/.f64 (-.f64 1 (cos.f64 x)) x) (sqrt.f64 x)) (sqrt.f64 x))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (/.f64 (/.f64 (-.f64 1 (cos.f64 x)) x) 1) x)))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (/.f64 (/.f64 (-.f64 1 (cos.f64 x)) x) (cbrt.f64 (*.f64 x x))) (cbrt.f64 x))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (pow.f64 (cbrt.f64 (*.f64 x (/.f64 x (-.f64 1 (cos.f64 x))))) -2) (cbrt.f64 (*.f64 x (/.f64 x (-.f64 1 (cos.f64 x))))))))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (*.f64 x (/.f64 x (-.f64 1 (cos.f64 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 x (/.f64 x (-.f64 1 (cos.f64 x)))) -3))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (/.f64 (pow.f64 (/.f64 (-.f64 1 (cos.f64 x)) x) 3) (pow.f64 x 3)))))) (#(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 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 exp.f64 (*.f64 (*.f64 3 (log.f64 (/.f64 (-.f64 1 (cos.f64 x)) (*.f64 x x)))) 1/3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 2 (log.f64 (*.f64 x (/.f64 x (-.f64 1 (cos.f64 x)))))) -1/2))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (cbrt.f64 (/.f64 (-.f64 1 (cos.f64 x)) (*.f64 x x)))) 3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (sqrt.f64 (/.f64 (-.f64 1 (cos.f64 x)) (*.f64 x x)))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 (log.f64 (*.f64 x (/.f64 x (-.f64 1 (cos.f64 x))))) 1) -1))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 (log.f64 (/.f64 (-.f64 1 (cos.f64 x)) (*.f64 x x))) 1) 1))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 (log.f64 (*.f64 x (/.f64 x (-.f64 1 (cos.f64 x))))) -1/2) 2)))))) |
((#(struct:change #<rule egg-rr> (2) ((x +.f64 (/.f64 (-.f64 1 (cos.f64 x)) x) (fma.f64 (neg.f64 (sqrt.f64 (/.f64 (cos.f64 x) x))) (sqrt.f64 (/.f64 (cos.f64 x) x)) (/.f64 (cos.f64 x) x)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (/.f64 (-.f64 1 (cos.f64 x)) x) (fma.f64 (neg.f64 (/.f64 (sqrt.f64 (cos.f64 x)) (sqrt.f64 x))) (/.f64 (sqrt.f64 (cos.f64 x)) (sqrt.f64 x)) (/.f64 (cos.f64 x) x)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 0 (/.f64 (-.f64 1 (cos.f64 x)) x))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (/.f64 1 x) (neg.f64 (/.f64 (cos.f64 x) x)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (fma.f64 1 (/.f64 1 x) (neg.f64 (*.f64 (/.f64 (cos.f64 x) x) 1))) (fma.f64 (neg.f64 (/.f64 (cos.f64 x) x)) 1 (*.f64 (/.f64 (cos.f64 x) x) 1)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (fma.f64 (pow.f64 (cbrt.f64 (/.f64 1 x)) 2) (cbrt.f64 (/.f64 1 x)) (neg.f64 (*.f64 (/.f64 (cos.f64 x) x) 1))) (fma.f64 (neg.f64 (/.f64 (cos.f64 x) x)) 1 (*.f64 (/.f64 (cos.f64 x) x) 1)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (fma.f64 (sqrt.f64 (/.f64 1 x)) (sqrt.f64 (/.f64 1 x)) (neg.f64 (*.f64 (/.f64 (cos.f64 x) x) 1))) (fma.f64 (neg.f64 (/.f64 (cos.f64 x) x)) 1 (*.f64 (/.f64 (cos.f64 x) x) 1)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (fma.f64 1 (/.f64 1 x) (neg.f64 (*.f64 (/.f64 1 x) (cos.f64 x)))) (fma.f64 (neg.f64 (/.f64 1 x)) (cos.f64 x) (*.f64 (/.f64 1 x) (cos.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (fma.f64 (pow.f64 (cbrt.f64 (/.f64 1 x)) 2) (cbrt.f64 (/.f64 1 x)) (neg.f64 (*.f64 (/.f64 1 x) (cos.f64 x)))) (fma.f64 (neg.f64 (/.f64 1 x)) (cos.f64 x) (*.f64 (/.f64 1 x) (cos.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (fma.f64 (sqrt.f64 (/.f64 1 x)) (sqrt.f64 (/.f64 1 x)) (neg.f64 (*.f64 (/.f64 1 x) (cos.f64 x)))) (fma.f64 (neg.f64 (/.f64 1 x)) (cos.f64 x) (*.f64 (/.f64 1 x) (cos.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (fma.f64 1 (/.f64 1 x) (neg.f64 (*.f64 (cbrt.f64 (/.f64 (cos.f64 x) x)) (pow.f64 (cbrt.f64 (/.f64 (cos.f64 x) x)) 2)))) (fma.f64 (neg.f64 (cbrt.f64 (/.f64 (cos.f64 x) x))) (pow.f64 (cbrt.f64 (/.f64 (cos.f64 x) x)) 2) (*.f64 (cbrt.f64 (/.f64 (cos.f64 x) x)) (pow.f64 (cbrt.f64 (/.f64 (cos.f64 x) x)) 2))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (fma.f64 (pow.f64 (cbrt.f64 (/.f64 1 x)) 2) (cbrt.f64 (/.f64 1 x)) (neg.f64 (*.f64 (cbrt.f64 (/.f64 (cos.f64 x) x)) (pow.f64 (cbrt.f64 (/.f64 (cos.f64 x) x)) 2)))) (fma.f64 (neg.f64 (cbrt.f64 (/.f64 (cos.f64 x) x))) (pow.f64 (cbrt.f64 (/.f64 (cos.f64 x) x)) 2) (*.f64 (cbrt.f64 (/.f64 (cos.f64 x) x)) (pow.f64 (cbrt.f64 (/.f64 (cos.f64 x) x)) 2))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (fma.f64 (sqrt.f64 (/.f64 1 x)) (sqrt.f64 (/.f64 1 x)) (neg.f64 (*.f64 (cbrt.f64 (/.f64 (cos.f64 x) x)) (pow.f64 (cbrt.f64 (/.f64 (cos.f64 x) x)) 2)))) (fma.f64 (neg.f64 (cbrt.f64 (/.f64 (cos.f64 x) x))) (pow.f64 (cbrt.f64 (/.f64 (cos.f64 x) x)) 2) (*.f64 (cbrt.f64 (/.f64 (cos.f64 x) x)) (pow.f64 (cbrt.f64 (/.f64 (cos.f64 x) x)) 2))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (fma.f64 1 (/.f64 1 x) (neg.f64 (*.f64 (/.f64 (cos.f64 x) (cbrt.f64 x)) (pow.f64 (cbrt.f64 x) -2)))) (fma.f64 (neg.f64 (/.f64 (cos.f64 x) (cbrt.f64 x))) (pow.f64 (cbrt.f64 x) -2) (*.f64 (/.f64 (cos.f64 x) (cbrt.f64 x)) (pow.f64 (cbrt.f64 x) -2))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (fma.f64 (pow.f64 (cbrt.f64 (/.f64 1 x)) 2) (cbrt.f64 (/.f64 1 x)) (neg.f64 (*.f64 (/.f64 (cos.f64 x) (cbrt.f64 x)) (pow.f64 (cbrt.f64 x) -2)))) (fma.f64 (neg.f64 (/.f64 (cos.f64 x) (cbrt.f64 x))) (pow.f64 (cbrt.f64 x) -2) (*.f64 (/.f64 (cos.f64 x) (cbrt.f64 x)) (pow.f64 (cbrt.f64 x) -2))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (fma.f64 (sqrt.f64 (/.f64 1 x)) (sqrt.f64 (/.f64 1 x)) (neg.f64 (*.f64 (/.f64 (cos.f64 x) (cbrt.f64 x)) (pow.f64 (cbrt.f64 x) -2)))) (fma.f64 (neg.f64 (/.f64 (cos.f64 x) (cbrt.f64 x))) (pow.f64 (cbrt.f64 x) -2) (*.f64 (/.f64 (cos.f64 x) (cbrt.f64 x)) (pow.f64 (cbrt.f64 x) -2))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (fma.f64 1 (/.f64 1 x) (neg.f64 (*.f64 (/.f64 (cos.f64 x) (sqrt.f64 x)) (pow.f64 x -1/2)))) (fma.f64 (neg.f64 (/.f64 (cos.f64 x) (sqrt.f64 x))) (pow.f64 x -1/2) (*.f64 (/.f64 (cos.f64 x) (sqrt.f64 x)) (pow.f64 x -1/2))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (fma.f64 (pow.f64 (cbrt.f64 (/.f64 1 x)) 2) (cbrt.f64 (/.f64 1 x)) (neg.f64 (*.f64 (/.f64 (cos.f64 x) (sqrt.f64 x)) (pow.f64 x -1/2)))) (fma.f64 (neg.f64 (/.f64 (cos.f64 x) (sqrt.f64 x))) (pow.f64 x -1/2) (*.f64 (/.f64 (cos.f64 x) (sqrt.f64 x)) (pow.f64 x -1/2))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (fma.f64 (sqrt.f64 (/.f64 1 x)) (sqrt.f64 (/.f64 1 x)) (neg.f64 (*.f64 (/.f64 (cos.f64 x) (sqrt.f64 x)) (pow.f64 x -1/2)))) (fma.f64 (neg.f64 (/.f64 (cos.f64 x) (sqrt.f64 x))) (pow.f64 x -1/2) (*.f64 (/.f64 (cos.f64 x) (sqrt.f64 x)) (pow.f64 x -1/2))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (fma.f64 1 (/.f64 1 x) (neg.f64 (*.f64 (/.f64 (cbrt.f64 (cos.f64 x)) x) (/.f64 (pow.f64 (cbrt.f64 (cos.f64 x)) 2) 1)))) (fma.f64 (neg.f64 (/.f64 (cbrt.f64 (cos.f64 x)) x)) (/.f64 (pow.f64 (cbrt.f64 (cos.f64 x)) 2) 1) (*.f64 (/.f64 (cbrt.f64 (cos.f64 x)) x) (/.f64 (pow.f64 (cbrt.f64 (cos.f64 x)) 2) 1))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (fma.f64 (pow.f64 (cbrt.f64 (/.f64 1 x)) 2) (cbrt.f64 (/.f64 1 x)) (neg.f64 (*.f64 (/.f64 (cbrt.f64 (cos.f64 x)) x) (/.f64 (pow.f64 (cbrt.f64 (cos.f64 x)) 2) 1)))) (fma.f64 (neg.f64 (/.f64 (cbrt.f64 (cos.f64 x)) x)) (/.f64 (pow.f64 (cbrt.f64 (cos.f64 x)) 2) 1) (*.f64 (/.f64 (cbrt.f64 (cos.f64 x)) x) (/.f64 (pow.f64 (cbrt.f64 (cos.f64 x)) 2) 1))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (fma.f64 (sqrt.f64 (/.f64 1 x)) (sqrt.f64 (/.f64 1 x)) (neg.f64 (*.f64 (/.f64 (cbrt.f64 (cos.f64 x)) x) (/.f64 (pow.f64 (cbrt.f64 (cos.f64 x)) 2) 1)))) (fma.f64 (neg.f64 (/.f64 (cbrt.f64 (cos.f64 x)) x)) (/.f64 (pow.f64 (cbrt.f64 (cos.f64 x)) 2) 1) (*.f64 (/.f64 (cbrt.f64 (cos.f64 x)) x) (/.f64 (pow.f64 (cbrt.f64 (cos.f64 x)) 2) 1))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (fma.f64 1 (/.f64 1 x) (neg.f64 (*.f64 (/.f64 (sqrt.f64 (cos.f64 x)) x) (/.f64 (sqrt.f64 (cos.f64 x)) 1)))) (fma.f64 (neg.f64 (/.f64 (sqrt.f64 (cos.f64 x)) x)) (/.f64 (sqrt.f64 (cos.f64 x)) 1) (*.f64 (/.f64 (sqrt.f64 (cos.f64 x)) x) (/.f64 (sqrt.f64 (cos.f64 x)) 1))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (fma.f64 (pow.f64 (cbrt.f64 (/.f64 1 x)) 2) (cbrt.f64 (/.f64 1 x)) (neg.f64 (*.f64 (/.f64 (sqrt.f64 (cos.f64 x)) x) (/.f64 (sqrt.f64 (cos.f64 x)) 1)))) (fma.f64 (neg.f64 (/.f64 (sqrt.f64 (cos.f64 x)) x)) (/.f64 (sqrt.f64 (cos.f64 x)) 1) (*.f64 (/.f64 (sqrt.f64 (cos.f64 x)) x) (/.f64 (sqrt.f64 (cos.f64 x)) 1))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (fma.f64 (sqrt.f64 (/.f64 1 x)) (sqrt.f64 (/.f64 1 x)) (neg.f64 (*.f64 (/.f64 (sqrt.f64 (cos.f64 x)) x) (/.f64 (sqrt.f64 (cos.f64 x)) 1)))) (fma.f64 (neg.f64 (/.f64 (sqrt.f64 (cos.f64 x)) x)) (/.f64 (sqrt.f64 (cos.f64 x)) 1) (*.f64 (/.f64 (sqrt.f64 (cos.f64 x)) x) (/.f64 (sqrt.f64 (cos.f64 x)) 1))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (fma.f64 1 (/.f64 1 x) (neg.f64 (*.f64 (/.f64 (cbrt.f64 (cos.f64 x)) (cbrt.f64 x)) (/.f64 (pow.f64 (cbrt.f64 (cos.f64 x)) 2) (cbrt.f64 (*.f64 x x)))))) (fma.f64 (neg.f64 (/.f64 (cbrt.f64 (cos.f64 x)) (cbrt.f64 x))) (/.f64 (pow.f64 (cbrt.f64 (cos.f64 x)) 2) (cbrt.f64 (*.f64 x x))) (*.f64 (/.f64 (cbrt.f64 (cos.f64 x)) (cbrt.f64 x)) (/.f64 (pow.f64 (cbrt.f64 (cos.f64 x)) 2) (cbrt.f64 (*.f64 x x))))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (fma.f64 (pow.f64 (cbrt.f64 (/.f64 1 x)) 2) (cbrt.f64 (/.f64 1 x)) (neg.f64 (*.f64 (/.f64 (cbrt.f64 (cos.f64 x)) (cbrt.f64 x)) (/.f64 (pow.f64 (cbrt.f64 (cos.f64 x)) 2) (cbrt.f64 (*.f64 x x)))))) (fma.f64 (neg.f64 (/.f64 (cbrt.f64 (cos.f64 x)) (cbrt.f64 x))) (/.f64 (pow.f64 (cbrt.f64 (cos.f64 x)) 2) (cbrt.f64 (*.f64 x x))) (*.f64 (/.f64 (cbrt.f64 (cos.f64 x)) (cbrt.f64 x)) (/.f64 (pow.f64 (cbrt.f64 (cos.f64 x)) 2) (cbrt.f64 (*.f64 x x))))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (fma.f64 (sqrt.f64 (/.f64 1 x)) (sqrt.f64 (/.f64 1 x)) (neg.f64 (*.f64 (/.f64 (cbrt.f64 (cos.f64 x)) (cbrt.f64 x)) (/.f64 (pow.f64 (cbrt.f64 (cos.f64 x)) 2) (cbrt.f64 (*.f64 x x)))))) (fma.f64 (neg.f64 (/.f64 (cbrt.f64 (cos.f64 x)) (cbrt.f64 x))) (/.f64 (pow.f64 (cbrt.f64 (cos.f64 x)) 2) (cbrt.f64 (*.f64 x x))) (*.f64 (/.f64 (cbrt.f64 (cos.f64 x)) (cbrt.f64 x)) (/.f64 (pow.f64 (cbrt.f64 (cos.f64 x)) 2) (cbrt.f64 (*.f64 x x))))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (fma.f64 1 (/.f64 1 x) (neg.f64 (*.f64 (/.f64 (sqrt.f64 (cos.f64 x)) (cbrt.f64 x)) (/.f64 (sqrt.f64 (cos.f64 x)) (cbrt.f64 (*.f64 x x)))))) (fma.f64 (neg.f64 (/.f64 (sqrt.f64 (cos.f64 x)) (cbrt.f64 x))) (/.f64 (sqrt.f64 (cos.f64 x)) (cbrt.f64 (*.f64 x x))) (*.f64 (/.f64 (sqrt.f64 (cos.f64 x)) (cbrt.f64 x)) (/.f64 (sqrt.f64 (cos.f64 x)) (cbrt.f64 (*.f64 x x))))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (fma.f64 (pow.f64 (cbrt.f64 (/.f64 1 x)) 2) (cbrt.f64 (/.f64 1 x)) (neg.f64 (*.f64 (/.f64 (sqrt.f64 (cos.f64 x)) (cbrt.f64 x)) (/.f64 (sqrt.f64 (cos.f64 x)) (cbrt.f64 (*.f64 x x)))))) (fma.f64 (neg.f64 (/.f64 (sqrt.f64 (cos.f64 x)) (cbrt.f64 x))) (/.f64 (sqrt.f64 (cos.f64 x)) (cbrt.f64 (*.f64 x x))) (*.f64 (/.f64 (sqrt.f64 (cos.f64 x)) (cbrt.f64 x)) (/.f64 (sqrt.f64 (cos.f64 x)) (cbrt.f64 (*.f64 x x))))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (fma.f64 (sqrt.f64 (/.f64 1 x)) (sqrt.f64 (/.f64 1 x)) (neg.f64 (*.f64 (/.f64 (sqrt.f64 (cos.f64 x)) (cbrt.f64 x)) (/.f64 (sqrt.f64 (cos.f64 x)) (cbrt.f64 (*.f64 x x)))))) (fma.f64 (neg.f64 (/.f64 (sqrt.f64 (cos.f64 x)) (cbrt.f64 x))) (/.f64 (sqrt.f64 (cos.f64 x)) (cbrt.f64 (*.f64 x x))) (*.f64 (/.f64 (sqrt.f64 (cos.f64 x)) (cbrt.f64 x)) (/.f64 (sqrt.f64 (cos.f64 x)) (cbrt.f64 (*.f64 x x))))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (fma.f64 1 (/.f64 1 x) (neg.f64 (*.f64 (/.f64 (cbrt.f64 (cos.f64 x)) (sqrt.f64 x)) (/.f64 (pow.f64 (cbrt.f64 (cos.f64 x)) 2) (sqrt.f64 x))))) (fma.f64 (neg.f64 (/.f64 (cbrt.f64 (cos.f64 x)) (sqrt.f64 x))) (/.f64 (pow.f64 (cbrt.f64 (cos.f64 x)) 2) (sqrt.f64 x)) (*.f64 (/.f64 (cbrt.f64 (cos.f64 x)) (sqrt.f64 x)) (/.f64 (pow.f64 (cbrt.f64 (cos.f64 x)) 2) (sqrt.f64 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (fma.f64 (pow.f64 (cbrt.f64 (/.f64 1 x)) 2) (cbrt.f64 (/.f64 1 x)) (neg.f64 (*.f64 (/.f64 (cbrt.f64 (cos.f64 x)) (sqrt.f64 x)) (/.f64 (pow.f64 (cbrt.f64 (cos.f64 x)) 2) (sqrt.f64 x))))) (fma.f64 (neg.f64 (/.f64 (cbrt.f64 (cos.f64 x)) (sqrt.f64 x))) (/.f64 (pow.f64 (cbrt.f64 (cos.f64 x)) 2) (sqrt.f64 x)) (*.f64 (/.f64 (cbrt.f64 (cos.f64 x)) (sqrt.f64 x)) (/.f64 (pow.f64 (cbrt.f64 (cos.f64 x)) 2) (sqrt.f64 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (fma.f64 (sqrt.f64 (/.f64 1 x)) (sqrt.f64 (/.f64 1 x)) (neg.f64 (*.f64 (/.f64 (cbrt.f64 (cos.f64 x)) (sqrt.f64 x)) (/.f64 (pow.f64 (cbrt.f64 (cos.f64 x)) 2) (sqrt.f64 x))))) (fma.f64 (neg.f64 (/.f64 (cbrt.f64 (cos.f64 x)) (sqrt.f64 x))) (/.f64 (pow.f64 (cbrt.f64 (cos.f64 x)) 2) (sqrt.f64 x)) (*.f64 (/.f64 (cbrt.f64 (cos.f64 x)) (sqrt.f64 x)) (/.f64 (pow.f64 (cbrt.f64 (cos.f64 x)) 2) (sqrt.f64 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (pow.f64 (cbrt.f64 (exp.f64 (/.f64 (-.f64 1 (cos.f64 x)) x))) 2)) (log.f64 (cbrt.f64 (exp.f64 (/.f64 (-.f64 1 (cos.f64 x)) x)))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (sqrt.f64 (exp.f64 (/.f64 (-.f64 1 (cos.f64 x)) x)))) (log.f64 (sqrt.f64 (exp.f64 (/.f64 (-.f64 1 (cos.f64 x)) x)))))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (/.f64 1 x) (/.f64 (cos.f64 x) x))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (/.f64 (-.f64 1 (cos.f64 x)) x))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (/.f64 (-.f64 1 (cos.f64 x)) x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (-.f64 1 (cos.f64 x)) (/.f64 1 x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (-.f64 1 (cos.f64 x)) x) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (pow.f64 (-.f64 1 (cos.f64 x)) 2)) (*.f64 (cbrt.f64 (-.f64 1 (cos.f64 x))) (/.f64 1 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (/.f64 (-.f64 1 (cos.f64 x)) x)) (cbrt.f64 (pow.f64 (/.f64 x (-.f64 1 (cos.f64 x))) -2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (pow.f64 (/.f64 x (-.f64 1 (cos.f64 x))) -2)) (cbrt.f64 (/.f64 (-.f64 1 (cos.f64 x)) x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (-.f64 1 (cos.f64 x))) (*.f64 (sqrt.f64 (-.f64 1 (cos.f64 x))) (/.f64 1 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (/.f64 (-.f64 1 (cos.f64 x)) x)) (sqrt.f64 (/.f64 (-.f64 1 (cos.f64 x)) x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (neg.f64 (-.f64 1 (cos.f64 x))) (/.f64 1 (neg.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 1 x) (-.f64 1 (cos.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 x) -2) (/.f64 (-.f64 1 (cos.f64 x)) (cbrt.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 x -1/2) (/.f64 (-.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)) 1) (/.f64 (cbrt.f64 (-.f64 1 (cos.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))) x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (cbrt.f64 (pow.f64 (-.f64 1 (cos.f64 x)) 2)) (cbrt.f64 (*.f64 x x))) (cbrt.f64 (/.f64 (-.f64 1 (cos.f64 x)) x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (sqrt.f64 (-.f64 1 (cos.f64 x))) (cbrt.f64 (*.f64 x x))) (/.f64 (sqrt.f64 (-.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)) (sqrt.f64 x)) (/.f64 (cbrt.f64 (-.f64 1 (cos.f64 x))) (sqrt.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 (-.f64 1 (cos.f64 x)) x) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (E.f64) (log.f64 (/.f64 (-.f64 1 (cos.f64 x)) x)))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (/.f64 x (-.f64 1 (cos.f64 x))) -2) 1/2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (/.f64 (-.f64 1 (cos.f64 x)) x) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (/.f64 (-.f64 1 (cos.f64 x)) x)) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (/.f64 (-.f64 1 (cos.f64 x)) x)) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 x (-.f64 1 (cos.f64 x))) -1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 (pow.f64 (-.f64 1 (cos.f64 x)) 3) (pow.f64 x 3)) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 (/.f64 x (-.f64 1 (cos.f64 x))) 1) -1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 (pow.f64 (cbrt.f64 (log.f64 (/.f64 (-.f64 1 (cos.f64 x)) x))) 2)) (cbrt.f64 (log.f64 (/.f64 (-.f64 1 (cos.f64 x)) x))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 (sqrt.f64 (log.f64 (/.f64 (-.f64 1 (cos.f64 x)) x)))) (sqrt.f64 (log.f64 (/.f64 (-.f64 1 (cos.f64 x)) x))))))) (#(struct:change #<rule egg-rr> (2) ((x neg.f64 (/.f64 (-.f64 1 (cos.f64 x)) (neg.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (/.f64 x (-.f64 1 (cos.f64 x))) -2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (/.f64 (-.f64 1 (cos.f64 x)) x)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (/.f64 (-.f64 1 (cos.f64 x)) x))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (/.f64 (-.f64 1 (cos.f64 x)) x) 3))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (/.f64 (pow.f64 (-.f64 1 (cos.f64 x)) 3) (pow.f64 x 3)))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (/.f64 (-.f64 1 (cos.f64 x)) x)))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (/.f64 (-.f64 1 (cos.f64 x)) x)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (/.f64 (-.f64 1 (cos.f64 x)) x)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (/.f64 (-.f64 1 (cos.f64 x)) x)) 1))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (pow.f64 (/.f64 (-.f64 1 (cos.f64 x)) x) 3)) 1/3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (cbrt.f64 (/.f64 (-.f64 1 (cos.f64 x)) x))) 3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (sqrt.f64 (/.f64 (-.f64 1 (cos.f64 x)) x))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (/.f64 x (-.f64 1 (cos.f64 x)))) -1))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 (log.f64 (/.f64 (-.f64 1 (cos.f64 x)) x)) 1) 1))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (/.f64 1 x) (neg.f64 (/.f64 (cos.f64 x) x)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 (/.f64 1 x)) 2) (cbrt.f64 (/.f64 1 x)) (neg.f64 (/.f64 (cos.f64 x) x)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 (/.f64 1 x)) (sqrt.f64 (/.f64 1 x)) (neg.f64 (/.f64 (cos.f64 x) 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 (log.f64 (pow.f64 (cbrt.f64 (pow.f64 (exp.f64 x) (/.f64 x (-.f64 1 (cos.f64 x))))) 2)) (log.f64 (cbrt.f64 (pow.f64 (exp.f64 x) (/.f64 x (-.f64 1 (cos.f64 x)))))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (sqrt.f64 (pow.f64 (exp.f64 x) (/.f64 x (-.f64 1 (cos.f64 x)))))) (log.f64 (sqrt.f64 (pow.f64 (exp.f64 x) (/.f64 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 x (/.f64 x (-.f64 1 (cos.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (*.f64 x (/.f64 x (-.f64 1 (cos.f64 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 x (/.f64 x (-.f64 1 (cos.f64 x)))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (*.f64 x x)) (*.f64 (cbrt.f64 x) (/.f64 x (-.f64 1 (cos.f64 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (*.f64 x (/.f64 x (-.f64 1 (cos.f64 x))))) (pow.f64 (cbrt.f64 (*.f64 x (/.f64 x (-.f64 1 (cos.f64 x))))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (*.f64 x (/.f64 x (-.f64 1 (cos.f64 x))))) 2) (cbrt.f64 (*.f64 x (/.f64 x (-.f64 1 (cos.f64 x))))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 x) (*.f64 (sqrt.f64 x) (/.f64 x (-.f64 1 (cos.f64 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (*.f64 x (/.f64 x (-.f64 1 (cos.f64 x))))) (sqrt.f64 (*.f64 x (/.f64 x (-.f64 1 (cos.f64 x))))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (neg.f64 x) (/.f64 1 (/.f64 (neg.f64 (-.f64 1 (cos.f64 x))) x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 x (-.f64 1 (cos.f64 x))) x)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (cbrt.f64 (*.f64 x x)) 1) (/.f64 (cbrt.f64 x) (/.f64 (-.f64 1 (cos.f64 x)) x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (sqrt.f64 x) 1) (/.f64 (sqrt.f64 x) (/.f64 (-.f64 1 (cos.f64 x)) x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (sqrt.f64 x) (-.f64 1 (cos.f64 x))) (pow.f64 x 3/2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 1 (-.f64 1 (cos.f64 x))) (*.f64 x x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (cbrt.f64 (*.f64 x x)) (-.f64 1 (cos.f64 x))) (*.f64 (cbrt.f64 x) x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (/.f64 (-.f64 1 (cos.f64 x)) x)) -2) (/.f64 x (cbrt.f64 (/.f64 (-.f64 1 (cos.f64 x)) x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (cbrt.f64 (*.f64 x x)) (cbrt.f64 (pow.f64 (/.f64 x (-.f64 1 (cos.f64 x))) -2))) (cbrt.f64 (*.f64 x (/.f64 x (-.f64 1 (cos.f64 x))))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (sqrt.f64 x) (cbrt.f64 (pow.f64 (/.f64 x (-.f64 1 (cos.f64 x))) -2))) (/.f64 (sqrt.f64 x) (cbrt.f64 (/.f64 (-.f64 1 (cos.f64 x)) x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (/.f64 (-.f64 1 (cos.f64 x)) x) -1/2) (/.f64 x (sqrt.f64 (/.f64 (-.f64 1 (cos.f64 x)) x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (cbrt.f64 (*.f64 x x)) (sqrt.f64 (/.f64 (-.f64 1 (cos.f64 x)) x))) (/.f64 (cbrt.f64 x) (sqrt.f64 (/.f64 (-.f64 1 (cos.f64 x)) x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 x 1) (/.f64 x (-.f64 1 (cos.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 x (neg.f64 (-.f64 1 (cos.f64 x)))) (neg.f64 x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (/.f64 x (-.f64 1 (cos.f64 x))) 1) x)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (/.f64 x (-.f64 1 (cos.f64 x))) (cbrt.f64 (*.f64 x x))) (cbrt.f64 x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (/.f64 x (-.f64 1 (cos.f64 x))) (sqrt.f64 x)) (sqrt.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 (/.f64 (-.f64 1 (cos.f64 x)) (*.f64 x x)) -1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (E.f64) (log.f64 (*.f64 x (/.f64 x (-.f64 1 (cos.f64 x))))))))) (#(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 (pow.f64 (*.f64 x (/.f64 x (-.f64 1 (cos.f64 x)))) 2) 1/2)))) (#(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 (-.f64 1 (cos.f64 x)) (*.f64 x x))) -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 (sqrt.f64 (*.f64 x (/.f64 x (-.f64 1 (cos.f64 x))))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (/.f64 (-.f64 1 (cos.f64 x)) (*.f64 x x))) -2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 (pow.f64 x 3) (pow.f64 (/.f64 (-.f64 1 (cos.f64 x)) x) 3)) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 (/.f64 (-.f64 1 (cos.f64 x)) (*.f64 x x)) 1) -1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 (pow.f64 (cbrt.f64 (log.f64 (*.f64 x (/.f64 x (-.f64 1 (cos.f64 x)))))) 2)) (cbrt.f64 (log.f64 (*.f64 x (/.f64 x (-.f64 1 (cos.f64 x)))))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 (sqrt.f64 (log.f64 (*.f64 x (/.f64 x (-.f64 1 (cos.f64 x))))))) (sqrt.f64 (log.f64 (*.f64 x (/.f64 x (-.f64 1 (cos.f64 x)))))))))) (#(struct:change #<rule egg-rr> (2) ((x neg.f64 (/.f64 x (/.f64 (neg.f64 (-.f64 1 (cos.f64 x))) x)))))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (*.f64 x (/.f64 x (-.f64 1 (cos.f64 x)))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (pow.f64 (exp.f64 x) (/.f64 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 x 3) (pow.f64 (/.f64 (-.f64 1 (cos.f64 x)) x) 3)))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 x (/.f64 x (-.f64 1 (cos.f64 x))))))))) (#(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 (log.f64 (*.f64 x (/.f64 x (-.f64 1 (cos.f64 x))))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (*.f64 x (/.f64 x (-.f64 1 (cos.f64 x))))) 1))))) (#(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 exp.f64 (*.f64 (*.f64 3 (log.f64 (*.f64 x (/.f64 x (-.f64 1 (cos.f64 x)))))) 1/3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (cbrt.f64 (*.f64 x (/.f64 x (-.f64 1 (cos.f64 x)))))) 3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (sqrt.f64 (*.f64 x (/.f64 x (-.f64 1 (cos.f64 x)))))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 (log.f64 (*.f64 x (/.f64 x (-.f64 1 (cos.f64 x))))) 1) 1))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 (log.f64 (/.f64 (-.f64 1 (cos.f64 x)) (*.f64 x x))) 1) -1)))))) |
| 1× | egg-herbie |
| 768× | fma-def_binary64 |
| 570× | associate-*l*_binary64 |
| 506× | unswap-sqr_binary64 |
| 471× | distribute-rgt-out_binary64 |
| 446× | associate-*r*_binary64 |
Useful iterations: 3 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 54 | 352 |
| 1 | 137 | 348 |
| 2 | 328 | 344 |
| 3 | 954 | 342 |
| 4 | 3807 | 342 |
| 5 | 6663 | 342 |
| 1× | node limit |
| Inputs |
|---|
1/2 |
(+.f64 1/2 (*.f64 -1/24 (pow.f64 x 2))) |
(+.f64 1/2 (+.f64 (*.f64 -1/24 (pow.f64 x 2)) (*.f64 1/720 (pow.f64 x 4)))) |
(+.f64 1/2 (+.f64 (*.f64 -1/24 (pow.f64 x 2)) (+.f64 (*.f64 -1/40320 (pow.f64 x 6)) (*.f64 1/720 (pow.f64 x 4))))) |
(/.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 x) |
(+.f64 (*.f64 -1/24 (pow.f64 x 3)) (*.f64 1/2 x)) |
(+.f64 (*.f64 -1/24 (pow.f64 x 3)) (+.f64 (*.f64 1/2 x) (*.f64 1/720 (pow.f64 x 5)))) |
(+.f64 (*.f64 -1/24 (pow.f64 x 3)) (+.f64 (*.f64 1/2 x) (+.f64 (*.f64 -1/40320 (pow.f64 x 7)) (*.f64 1/720 (pow.f64 x 5))))) |
2 |
(+.f64 (*.f64 1/6 (pow.f64 x 2)) 2) |
(+.f64 (*.f64 1/6 (pow.f64 x 2)) (+.f64 2 (*.f64 1/120 (pow.f64 x 4)))) |
(+.f64 (*.f64 1/6 (pow.f64 x 2)) (+.f64 2 (+.f64 (*.f64 1/3024 (pow.f64 x 6)) (*.f64 1/120 (pow.f64 x 4))))) |
(/.f64 (pow.f64 x 2) (-.f64 1 (cos.f64 x))) |
(/.f64 (pow.f64 x 2) (-.f64 1 (cos.f64 x))) |
(/.f64 (pow.f64 x 2) (-.f64 1 (cos.f64 x))) |
(/.f64 (pow.f64 x 2) (-.f64 1 (cos.f64 x))) |
(/.f64 (pow.f64 x 2) (-.f64 1 (cos.f64 x))) |
(/.f64 (pow.f64 x 2) (-.f64 1 (cos.f64 x))) |
(/.f64 (pow.f64 x 2) (-.f64 1 (cos.f64 x))) |
(/.f64 (pow.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))) |
(fma.f64 -1/24 (*.f64 x x) 1/2) |
(fma.f64 x (*.f64 -1/24 x) 1/2) |
(+.f64 1/2 (+.f64 (*.f64 -1/24 (pow.f64 x 2)) (*.f64 1/720 (pow.f64 x 4)))) |
(+.f64 1/2 (fma.f64 -1/24 (*.f64 x x) (*.f64 1/720 (pow.f64 x 4)))) |
(+.f64 (fma.f64 -1/24 (*.f64 x x) 1/2) (*.f64 1/720 (pow.f64 x 4))) |
(fma.f64 -1/24 (*.f64 x x) (fma.f64 1/720 (pow.f64 x 4) 1/2)) |
(+.f64 1/2 (+.f64 (*.f64 -1/24 (pow.f64 x 2)) (+.f64 (*.f64 -1/40320 (pow.f64 x 6)) (*.f64 1/720 (pow.f64 x 4))))) |
(+.f64 1/2 (fma.f64 -1/24 (*.f64 x x) (fma.f64 -1/40320 (pow.f64 x 6) (*.f64 1/720 (pow.f64 x 4))))) |
(+.f64 (fma.f64 -1/24 (*.f64 x x) 1/2) (fma.f64 -1/40320 (pow.f64 x 6) (*.f64 1/720 (pow.f64 x 4)))) |
(+.f64 1/2 (fma.f64 -1/24 (*.f64 x x) (fma.f64 1/720 (pow.f64 x 4) (*.f64 -1/40320 (pow.f64 x 6))))) |
(fma.f64 -1/24 (*.f64 x x) (fma.f64 1/720 (pow.f64 x 4) (fma.f64 -1/40320 (pow.f64 x 6) 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 x) |
(+.f64 (*.f64 -1/24 (pow.f64 x 3)) (*.f64 1/2 x)) |
(fma.f64 -1/24 (pow.f64 x 3) (*.f64 1/2 x)) |
(*.f64 x (fma.f64 x (*.f64 -1/24 x) 1/2)) |
(*.f64 x (fma.f64 -1/24 (*.f64 x x) 1/2)) |
(+.f64 (*.f64 -1/24 (pow.f64 x 3)) (+.f64 (*.f64 1/2 x) (*.f64 1/720 (pow.f64 x 5)))) |
(fma.f64 -1/24 (pow.f64 x 3) (fma.f64 1/2 x (*.f64 1/720 (pow.f64 x 5)))) |
(fma.f64 1/2 x (fma.f64 1/720 (pow.f64 x 5) (*.f64 -1/24 (pow.f64 x 3)))) |
(fma.f64 x (fma.f64 -1/24 (*.f64 x x) 1/2) (*.f64 1/720 (pow.f64 x 5))) |
(+.f64 (*.f64 -1/24 (pow.f64 x 3)) (+.f64 (*.f64 1/2 x) (+.f64 (*.f64 -1/40320 (pow.f64 x 7)) (*.f64 1/720 (pow.f64 x 5))))) |
(fma.f64 -1/24 (pow.f64 x 3) (fma.f64 1/2 x (fma.f64 -1/40320 (pow.f64 x 7) (*.f64 1/720 (pow.f64 x 5))))) |
(fma.f64 -1/24 (pow.f64 x 3) (fma.f64 1/2 x (fma.f64 1/720 (pow.f64 x 5) (*.f64 -1/40320 (pow.f64 x 7))))) |
(fma.f64 1/2 x (fma.f64 -1/24 (pow.f64 x 3) (fma.f64 1/720 (pow.f64 x 5) (*.f64 -1/40320 (pow.f64 x 7))))) |
(fma.f64 -1/24 (pow.f64 x 3) (fma.f64 1/720 (pow.f64 x 5) (fma.f64 1/2 x (*.f64 -1/40320 (pow.f64 x 7))))) |
2 |
(+.f64 (*.f64 1/6 (pow.f64 x 2)) 2) |
(fma.f64 1/6 (*.f64 x x) 2) |
(fma.f64 (*.f64 x x) 1/6 2) |
(fma.f64 x (*.f64 x 1/6) 2) |
(+.f64 (*.f64 1/6 (pow.f64 x 2)) (+.f64 2 (*.f64 1/120 (pow.f64 x 4)))) |
(+.f64 (fma.f64 1/6 (*.f64 x x) 2) (*.f64 (pow.f64 x 4) 1/120)) |
(fma.f64 (*.f64 x x) 1/6 (fma.f64 (pow.f64 x 4) 1/120 2)) |
(fma.f64 x (*.f64 x 1/6) (fma.f64 (pow.f64 x 4) 1/120 2)) |
(fma.f64 (*.f64 x x) (fma.f64 (*.f64 x x) 1/120 1/6) 2) |
(+.f64 (*.f64 1/6 (pow.f64 x 2)) (+.f64 2 (+.f64 (*.f64 1/3024 (pow.f64 x 6)) (*.f64 1/120 (pow.f64 x 4))))) |
(+.f64 (fma.f64 1/6 (*.f64 x x) 2) (fma.f64 1/3024 (pow.f64 x 6) (*.f64 (pow.f64 x 4) 1/120))) |
(+.f64 (fma.f64 (*.f64 x x) 1/6 2) (fma.f64 (pow.f64 x 4) 1/120 (*.f64 (pow.f64 x 6) 1/3024))) |
(fma.f64 x (*.f64 x 1/6) (fma.f64 (pow.f64 x 4) 1/120 (fma.f64 (pow.f64 x 6) 1/3024 2))) |
(fma.f64 (pow.f64 x 4) 1/120 (fma.f64 (pow.f64 x 6) 1/3024 (fma.f64 (*.f64 x x) 1/6 2))) |
(/.f64 (pow.f64 x 2) (-.f64 1 (cos.f64 x))) |
(/.f64 (*.f64 x x) (-.f64 1 (cos.f64 x))) |
(/.f64 x (/.f64 (-.f64 1 (cos.f64 x)) x)) |
(/.f64 (pow.f64 x 2) (-.f64 1 (cos.f64 x))) |
(/.f64 (*.f64 x x) (-.f64 1 (cos.f64 x))) |
(/.f64 x (/.f64 (-.f64 1 (cos.f64 x)) x)) |
(/.f64 (pow.f64 x 2) (-.f64 1 (cos.f64 x))) |
(/.f64 (*.f64 x x) (-.f64 1 (cos.f64 x))) |
(/.f64 x (/.f64 (-.f64 1 (cos.f64 x)) x)) |
(/.f64 (pow.f64 x 2) (-.f64 1 (cos.f64 x))) |
(/.f64 (*.f64 x x) (-.f64 1 (cos.f64 x))) |
(/.f64 x (/.f64 (-.f64 1 (cos.f64 x)) x)) |
(/.f64 (pow.f64 x 2) (-.f64 1 (cos.f64 x))) |
(/.f64 (*.f64 x x) (-.f64 1 (cos.f64 x))) |
(/.f64 x (/.f64 (-.f64 1 (cos.f64 x)) x)) |
(/.f64 (pow.f64 x 2) (-.f64 1 (cos.f64 x))) |
(/.f64 (*.f64 x x) (-.f64 1 (cos.f64 x))) |
(/.f64 x (/.f64 (-.f64 1 (cos.f64 x)) x)) |
(/.f64 (pow.f64 x 2) (-.f64 1 (cos.f64 x))) |
(/.f64 (*.f64 x x) (-.f64 1 (cos.f64 x))) |
(/.f64 x (/.f64 (-.f64 1 (cos.f64 x)) x)) |
(/.f64 (pow.f64 x 2) (-.f64 1 (cos.f64 x))) |
(/.f64 (*.f64 x x) (-.f64 1 (cos.f64 x))) |
(/.f64 x (/.f64 (-.f64 1 (cos.f64 x)) x)) |
Found 4 expressions with local error:
| New | Error | Program |
|---|---|---|
| ✓ | 0.3b | (cbrt.f64 (-.f64 1 (cos.f64 x))) |
| ✓ | 0.4b | (pow.f64 (cbrt.f64 (-.f64 1 (cos.f64 x))) 3) |
| 1.6b | (-.f64 1 (cos.f64 x)) | |
| ✓ | 15.1b | (/.f64 (pow.f64 (cbrt.f64 (-.f64 1 (cos.f64 x))) 3) (*.f64 x x)) |
Compiled 36 to 21 computations (41.7% saved)
9 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 2.0ms | x | @ | inf | (pow.f64 (cbrt.f64 (-.f64 1 (cos.f64 x))) 3) |
| 2.0ms | x | @ | inf | (/.f64 (pow.f64 (cbrt.f64 (-.f64 1 (cos.f64 x))) 3) (*.f64 x x)) |
| 2.0ms | x | @ | -inf | (pow.f64 (cbrt.f64 (-.f64 1 (cos.f64 x))) 3) |
| 2.0ms | x | @ | 0 | (cbrt.f64 (-.f64 1 (cos.f64 x))) |
| 1.0ms | x | @ | 0 | (pow.f64 (cbrt.f64 (-.f64 1 (cos.f64 x))) 3) |
| 1× | batch-egg-rewrite |
| 438× | log-prod_binary64 |
| 341× | prod-exp_binary64 |
| 331× | exp-prod_binary64 |
| 259× | pow-prod-down_binary64 |
| 237× | pow2_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 10 | 26 |
| 1 | 217 | 26 |
| 2 | 2551 | 26 |
| 1× | node limit |
| Inputs |
|---|
(/.f64 (pow.f64 (cbrt.f64 (-.f64 1 (cos.f64 x))) 3) (*.f64 x x)) |
(pow.f64 (cbrt.f64 (-.f64 1 (cos.f64 x))) 3) |
(cbrt.f64 (-.f64 1 (cos.f64 x))) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x +.f64 0 (*.f64 (-.f64 1 (cos.f64 x)) (pow.f64 x -2)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (pow.f64 (cbrt.f64 (pow.f64 (exp.f64 (pow.f64 x -2)) (-.f64 1 (cos.f64 x)))) 2)) (log.f64 (cbrt.f64 (pow.f64 (exp.f64 (pow.f64 x -2)) (-.f64 1 (cos.f64 x))))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (sqrt.f64 (pow.f64 (exp.f64 (pow.f64 x -2)) (-.f64 1 (cos.f64 x))))) (log.f64 (sqrt.f64 (pow.f64 (exp.f64 (pow.f64 x -2)) (-.f64 1 (cos.f64 x))))))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (pow.f64 x -2) (/.f64 (cos.f64 x) (*.f64 x x)))))) (#(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 (cbrt.f64 (-.f64 1 (cos.f64 x))) (*.f64 (pow.f64 (cbrt.f64 (-.f64 1 (cos.f64 x))) 2) (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))) (cbrt.f64 (pow.f64 (/.f64 (sqrt.f64 (-.f64 1 (cos.f64 x))) x) 4)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (pow.f64 (/.f64 (sqrt.f64 (-.f64 1 (cos.f64 x))) x) 4)) (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 (cbrt.f64 (-.f64 1 (cos.f64 x))) 1) (/.f64 (pow.f64 (cbrt.f64 (-.f64 1 (cos.f64 x))) 2) (*.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 (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 (cbrt.f64 (-.f64 1 (cos.f64 x))) x) (/.f64 (pow.f64 (cbrt.f64 (-.f64 1 (cos.f64 x))) 2) 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 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 (cbrt.f64 (-.f64 1 (cos.f64 x))) (cbrt.f64 (pow.f64 x 4))) (/.f64 (pow.f64 (cbrt.f64 (-.f64 1 (cos.f64 x))) 2) (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 (E.f64) (log.f64 (*.f64 (-.f64 1 (cos.f64 x)) (pow.f64 x -2))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (/.f64 (sqrt.f64 (-.f64 1 (cos.f64 x))) x) 4) 1/2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (/.f64 (sqrt.f64 (-.f64 1 (cos.f64 x))) x) 6) 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 pow.f64 (/.f64 (pow.f64 (-.f64 1 (cos.f64 x)) 3) (pow.f64 x 6)) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 (/.f64 (*.f64 x x) (-.f64 1 (cos.f64 x))) 1) -1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 (pow.f64 (cbrt.f64 (log.f64 (*.f64 (-.f64 1 (cos.f64 x)) (pow.f64 x -2)))) 2)) (cbrt.f64 (log.f64 (*.f64 (-.f64 1 (cos.f64 x)) (pow.f64 x -2)))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 (sqrt.f64 (log.f64 (*.f64 (-.f64 1 (cos.f64 x)) (pow.f64 x -2))))) (sqrt.f64 (log.f64 (*.f64 (-.f64 1 (cos.f64 x)) (pow.f64 x -2)))))))) (#(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 (pow.f64 (/.f64 (sqrt.f64 (-.f64 1 (cos.f64 x))) x) 4))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (pow.f64 (exp.f64 (pow.f64 x -2)) (-.f64 1 (cos.f64 x))))))) (#(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 (sqrt.f64 (-.f64 1 (cos.f64 x))) x) 6))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (/.f64 (pow.f64 (-.f64 1 (cos.f64 x)) 3) (pow.f64 x 6)))))) (#(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 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 exp.f64 (*.f64 (log.f64 (pow.f64 (/.f64 (sqrt.f64 (-.f64 1 (cos.f64 x))) x) 6)) 1/3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (cbrt.f64 (*.f64 (-.f64 1 (cos.f64 x)) (pow.f64 x -2)))) 3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (/.f64 (sqrt.f64 (-.f64 1 (cos.f64 x))) x)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (/.f64 (*.f64 x x) (-.f64 1 (cos.f64 x)))) -1))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 (log.f64 (*.f64 (-.f64 1 (cos.f64 x)) (pow.f64 x -2))) 1) 1))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (-.f64 (*.f64 (log1p.f64 (neg.f64 (cos.f64 x))) 1) (*.f64 2 (log.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (-.f64 (log1p.f64 (neg.f64 (cos.f64 x))) (*.f64 (log.f64 x) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (-.f64 (*.f64 (log1p.f64 (neg.f64 (cos.f64 x))) 1) (*.f64 (log.f64 x) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (-.f64 (log1p.f64 (neg.f64 (cos.f64 x))) (*.f64 (*.f64 2 (log.f64 x)) 1)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (-.f64 (*.f64 (log1p.f64 (neg.f64 (cos.f64 x))) 1) (*.f64 (*.f64 2 (log.f64 x)) 1)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (-.f64 (log.f64 (/.f64 (-.f64 1 (cos.f64 x)) x)) (*.f64 (log.f64 x) 1)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (+.f64 (*.f64 (log1p.f64 (neg.f64 (cos.f64 x))) 1) (*.f64 -2 (log.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (+.f64 (*.f64 -2 (log.f64 x)) (*.f64 (log1p.f64 (neg.f64 (cos.f64 x))) 1)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (pow.f64 x -2) (neg.f64 (/.f64 (cos.f64 x) (*.f64 x x))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 (pow.f64 x -2)) 2) (cbrt.f64 (pow.f64 x -2)) (neg.f64 (/.f64 (cos.f64 x) (*.f64 x x))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 (pow.f64 x -2)) (sqrt.f64 (pow.f64 x -2)) (neg.f64 (/.f64 (cos.f64 x) (*.f64 x x)))))))) |
((#(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 0 (-.f64 1 (cos.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (neg.f64 (cos.f64 x)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (pow.f64 (cbrt.f64 (exp.f64 (-.f64 1 (cos.f64 x)))) 2)) (log.f64 (cbrt.f64 (exp.f64 (-.f64 1 (cos.f64 x))))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (sqrt.f64 (exp.f64 (-.f64 1 (cos.f64 x))))) (log.f64 (sqrt.f64 (exp.f64 (-.f64 1 (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 (fma.f64 (cos.f64 x) (+.f64 1 (cos.f64 x)) 1)) (/.f64 (pow.f64 (cos.f64 x) 3) (fma.f64 (cos.f64 x) (+.f64 1 (cos.f64 x)) 1)))))) (#(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 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 (cbrt.f64 (-.f64 1 (cos.f64 x))) 2)) (*.f64 (cbrt.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 (sqrt.f64 (-.f64 1 (cos.f64 x))) (sqrt.f64 (-.f64 1 (cos.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (-.f64 1 (cos.f64 x)) 1/6) (pow.f64 (-.f64 1 (cos.f64 x)) 5/6))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (-.f64 1 (pow.f64 (cos.f64 x) 3)) (/.f64 1 (fma.f64 (cos.f64 x) (+.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 (pow.f64 (-.f64 1 (cos.f64 x)) 5/6) (pow.f64 (-.f64 1 (cos.f64 x)) 1/6))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (pow.f64 (cbrt.f64 (-.f64 1 (cos.f64 x))) 2) 1) (cbrt.f64 (-.f64 1 (cos.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (*.f64 (cbrt.f64 (-.f64 1 (cos.f64 x))) (cbrt.f64 (cbrt.f64 (-.f64 1 (cos.f64 x))))) 2) (cbrt.f64 (cbrt.f64 (-.f64 1 (cos.f64 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (fma.f64 (cos.f64 x) (+.f64 1 (cos.f64 x)) 1) (-.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 (-.f64 1 (pow.f64 (cos.f64 x) 3)) (fma.f64 (cos.f64 x) (+.f64 1 (cos.f64 x)) 1))))) (#(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 (neg.f64 (-.f64 1 (pow.f64 (cos.f64 x) 3))) (neg.f64 (fma.f64 (cos.f64 x) (+.f64 1 (cos.f64 x)) 1)))))) (#(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 (neg.f64 (cos.f64 x)) 3)) (+.f64 1 (-.f64 (pow.f64 (neg.f64 (cos.f64 x)) 2) (neg.f64 (cos.f64 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 1 (pow.f64 (neg.f64 (cos.f64 x)) 2)) (-.f64 1 (neg.f64 (cos.f64 x))))))) (#(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 expm1.f64 (log1p.f64 (-.f64 1 (cos.f64 x))))))) (#(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 exp.f64 (*.f64 (*.f64 3 (log1p.f64 (neg.f64 (cos.f64 x)))) 1/3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 2/3 (log1p.f64 (neg.f64 (cos.f64 x)))) 3/2))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 1/2 (log1p.f64 (neg.f64 (cos.f64 x)))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 (log1p.f64 (neg.f64 (cos.f64 x))) 1) 1))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 (log1p.f64 (neg.f64 (cos.f64 x))) 1/3) 3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 (*.f64 1/3 (log1p.f64 (neg.f64 (cos.f64 x)))) 1) 3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 (*.f64 1/3 (log1p.f64 (neg.f64 (cos.f64 x)))) 3/2) 2))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (+.f64 (*.f64 (log1p.f64 (neg.f64 (cos.f64 x))) 1/3) (*.f64 2/3 (log1p.f64 (neg.f64 (cos.f64 x))))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (+.f64 (*.f64 (*.f64 1/3 (log1p.f64 (neg.f64 (cos.f64 x)))) 1) (*.f64 2/3 (log1p.f64 (neg.f64 (cos.f64 x))))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (+.f64 (*.f64 2/3 (log1p.f64 (neg.f64 (cos.f64 x)))) (*.f64 (log1p.f64 (neg.f64 (cos.f64 x))) 1/3)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (+.f64 (*.f64 2/3 (log1p.f64 (neg.f64 (cos.f64 x)))) (*.f64 (*.f64 1/3 (log1p.f64 (neg.f64 (cos.f64 x)))) 1)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (+.f64 (*.f64 (*.f64 1/3 (log1p.f64 (neg.f64 (cos.f64 x)))) 3/2) (*.f64 1/2 (log1p.f64 (neg.f64 (cos.f64 x))))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (+.f64 (*.f64 1/2 (log1p.f64 (neg.f64 (cos.f64 x)))) (*.f64 (*.f64 1/3 (log1p.f64 (neg.f64 (cos.f64 x)))) 3/2)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (+.f64 (*.f64 (*.f64 1/3 (log1p.f64 (neg.f64 (cos.f64 x)))) 3/2) (*.f64 (*.f64 1/3 (log1p.f64 (neg.f64 (cos.f64 x)))) 3/2)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (neg.f64 (cos.f64 x)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 (cos.f64 x)) 2) (neg.f64 (cbrt.f64 (cos.f64 x))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 (cos.f64 x)) (neg.f64 (sqrt.f64 (cos.f64 x))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 (neg.f64 (cos.f64 x))) 2) (cbrt.f64 (neg.f64 (cos.f64 x))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 (neg.f64 (cos.f64 x))) (sqrt.f64 (neg.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 (neg.f64 (pow.f64 (cbrt.f64 (cos.f64 x)) 2)) (cbrt.f64 (cos.f64 x)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (neg.f64 (sqrt.f64 (cos.f64 x))) (sqrt.f64 (cos.f64 x)) 1))))) |
((#(struct:change #<rule egg-rr> (2) ((x +.f64 0 (cbrt.f64 (-.f64 1 (cos.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (pow.f64 (cbrt.f64 (exp.f64 (cbrt.f64 (-.f64 1 (cos.f64 x))))) 2)) (log.f64 (cbrt.f64 (exp.f64 (cbrt.f64 (-.f64 1 (cos.f64 x)))))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (sqrt.f64 (exp.f64 (cbrt.f64 (-.f64 1 (cos.f64 x)))))) (log.f64 (sqrt.f64 (exp.f64 (cbrt.f64 (-.f64 1 (cos.f64 x)))))))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (cbrt.f64 (-.f64 1 (cos.f64 x))))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (cbrt.f64 (-.f64 1 (cos.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (-.f64 1 (cos.f64 x))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (cbrt.f64 (-.f64 1 (cos.f64 x)))) (cbrt.f64 (pow.f64 (cbrt.f64 (-.f64 1 (cos.f64 x))) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (pow.f64 (cbrt.f64 (-.f64 1 (cos.f64 x))) 2)) (cbrt.f64 (cbrt.f64 (-.f64 1 (cos.f64 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (-.f64 1 (cos.f64 x)) 1/6) (pow.f64 (-.f64 1 (cos.f64 x)) 1/6))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (cbrt.f64 (-.f64 1 (pow.f64 (cos.f64 x) 3))) (cbrt.f64 (fma.f64 (cos.f64 x) (+.f64 1 (cos.f64 x)) 1)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (cbrt.f64 (pow.f64 (sin.f64 x) 2)) (cbrt.f64 (+.f64 1 (cos.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (-.f64 1 (cos.f64 x)) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (-.f64 1 (cos.f64 x))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (E.f64) (*.f64 1/3 (log1p.f64 (neg.f64 (cos.f64 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (-.f64 1 (cos.f64 x)) 2) 1/6)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (-.f64 1 (cos.f64 x)) 3) 1/9)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (cbrt.f64 (-.f64 1 (cos.f64 x))) 2) 1/2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (cbrt.f64 (-.f64 1 (cos.f64 x)))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (pow.f64 (cbrt.f64 (-.f64 1 (cos.f64 x))) 2)) 3/2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (-.f64 1 (cos.f64 x))) 2/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (-.f64 1 (cos.f64 x)) 1/6) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 1/3) (log1p.f64 (neg.f64 (cos.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 (pow.f64 (cbrt.f64 (*.f64 1/3 (log1p.f64 (neg.f64 (cos.f64 x))))) 2)) (cbrt.f64 (*.f64 1/3 (log1p.f64 (neg.f64 (cos.f64 x))))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 (sqrt.f64 (*.f64 1/3 (log1p.f64 (neg.f64 (cos.f64 x)))))) (sqrt.f64 (*.f64 1/3 (log1p.f64 (neg.f64 (cos.f64 x))))))))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (cbrt.f64 (-.f64 1 (cos.f64 x))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (cbrt.f64 (-.f64 1 (cos.f64 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (cbrt.f64 (-.f64 1 (cos.f64 x))))))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (cbrt.f64 (-.f64 1 (cos.f64 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (cbrt.f64 (-.f64 1 (cos.f64 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 1/3 (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/3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 1/3 (log1p.f64 (neg.f64 (cos.f64 x)))) 1))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (cbrt.f64 (cbrt.f64 (-.f64 1 (cos.f64 x))))) 3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 1/6 (log1p.f64 (neg.f64 (cos.f64 x)))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (cbrt.f64 (pow.f64 (cbrt.f64 (-.f64 1 (cos.f64 x))) 2))) 3/2))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 (log1p.f64 (neg.f64 (cos.f64 x))) 1) 1/3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 (log1p.f64 (neg.f64 (cos.f64 x))) 1/3) 1))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 (*.f64 1/3 (log1p.f64 (neg.f64 (cos.f64 x)))) 1) 1)))))) |
| 1× | egg-herbie |
| 727× | fma-def_binary64 |
| 400× | div-sub_binary64 |
| 355× | times-frac_binary64 |
| 325× | distribute-lft-out_binary64 |
| 297× | unswap-sqr_binary64 |
Useful iterations: 3 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 29 | 284 |
| 1 | 72 | 258 |
| 2 | 156 | 256 |
| 3 | 411 | 254 |
| 4 | 1495 | 254 |
| 5 | 4943 | 254 |
| 6 | 6870 | 254 |
| 1× | node limit |
| Inputs |
|---|
1/2 |
(+.f64 1/2 (*.f64 -1/24 (pow.f64 x 2))) |
(+.f64 1/2 (+.f64 (*.f64 -1/24 (pow.f64 x 2)) (*.f64 1/720 (pow.f64 x 4)))) |
(+.f64 1/2 (+.f64 (*.f64 -1/24 (pow.f64 x 2)) (+.f64 (*.f64 -1/40320 (pow.f64 x 6)) (*.f64 1/720 (pow.f64 x 4))))) |
(/.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 (pow.f64 1 1/3) (-.f64 1 (cos.f64 x))) |
(*.f64 (pow.f64 1 1/3) (-.f64 1 (cos.f64 x))) |
(*.f64 (pow.f64 1 1/3) (-.f64 1 (cos.f64 x))) |
(*.f64 (pow.f64 1 1/3) (-.f64 1 (cos.f64 x))) |
(*.f64 (pow.f64 1 1/3) (-.f64 1 (cos.f64 x))) |
(*.f64 (pow.f64 1 1/3) (-.f64 1 (cos.f64 x))) |
(*.f64 (pow.f64 1 1/3) (-.f64 1 (cos.f64 x))) |
(*.f64 (pow.f64 1 1/3) (-.f64 1 (cos.f64 x))) |
(pow.f64 (-.f64 1 (cos.f64 x)) 1/3) |
(pow.f64 (-.f64 1 (cos.f64 x)) 1/3) |
(pow.f64 (-.f64 1 (cos.f64 x)) 1/3) |
(pow.f64 (-.f64 1 (cos.f64 x)) 1/3) |
(pow.f64 (-.f64 1 (cos.f64 x)) 1/3) |
(pow.f64 (-.f64 1 (cos.f64 x)) 1/3) |
(pow.f64 (-.f64 1 (cos.f64 x)) 1/3) |
(pow.f64 (-.f64 1 (cos.f64 x)) 1/3) |
| Outputs |
|---|
1/2 |
(+.f64 1/2 (*.f64 -1/24 (pow.f64 x 2))) |
(+.f64 1/2 (*.f64 -1/24 (*.f64 x x))) |
(fma.f64 -1/24 (*.f64 x x) 1/2) |
(fma.f64 x (*.f64 -1/24 x) 1/2) |
(+.f64 1/2 (+.f64 (*.f64 -1/24 (pow.f64 x 2)) (*.f64 1/720 (pow.f64 x 4)))) |
(+.f64 1/2 (fma.f64 -1/24 (*.f64 x x) (*.f64 1/720 (pow.f64 x 4)))) |
(fma.f64 -1/24 (*.f64 x x) (fma.f64 1/720 (pow.f64 x 4) 1/2)) |
(+.f64 1/2 (+.f64 (*.f64 -1/24 (pow.f64 x 2)) (+.f64 (*.f64 -1/40320 (pow.f64 x 6)) (*.f64 1/720 (pow.f64 x 4))))) |
(+.f64 1/2 (fma.f64 -1/24 (*.f64 x x) (fma.f64 -1/40320 (pow.f64 x 6) (*.f64 1/720 (pow.f64 x 4))))) |
(+.f64 1/2 (fma.f64 -1/24 (*.f64 x x) (fma.f64 1/720 (pow.f64 x 4) (*.f64 -1/40320 (pow.f64 x 6))))) |
(+.f64 (fma.f64 -1/24 (*.f64 x x) 1/2) (fma.f64 -1/40320 (pow.f64 x 6) (*.f64 1/720 (pow.f64 x 4)))) |
(fma.f64 -1/40320 (pow.f64 x 6) (fma.f64 -1/24 (*.f64 x x) (fma.f64 1/720 (pow.f64 x 4) 1/2))) |
(fma.f64 1/720 (pow.f64 x 4) (fma.f64 -1/40320 (pow.f64 x 6) (fma.f64 x (*.f64 -1/24 x) 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 (pow.f64 1 1/3) (-.f64 1 (cos.f64 x))) |
(*.f64 1 (-.f64 1 (cos.f64 x))) |
(-.f64 1 (cos.f64 x)) |
(*.f64 (pow.f64 1 1/3) (-.f64 1 (cos.f64 x))) |
(*.f64 1 (-.f64 1 (cos.f64 x))) |
(-.f64 1 (cos.f64 x)) |
(*.f64 (pow.f64 1 1/3) (-.f64 1 (cos.f64 x))) |
(*.f64 1 (-.f64 1 (cos.f64 x))) |
(-.f64 1 (cos.f64 x)) |
(*.f64 (pow.f64 1 1/3) (-.f64 1 (cos.f64 x))) |
(*.f64 1 (-.f64 1 (cos.f64 x))) |
(-.f64 1 (cos.f64 x)) |
(*.f64 (pow.f64 1 1/3) (-.f64 1 (cos.f64 x))) |
(*.f64 1 (-.f64 1 (cos.f64 x))) |
(-.f64 1 (cos.f64 x)) |
(*.f64 (pow.f64 1 1/3) (-.f64 1 (cos.f64 x))) |
(*.f64 1 (-.f64 1 (cos.f64 x))) |
(-.f64 1 (cos.f64 x)) |
(*.f64 (pow.f64 1 1/3) (-.f64 1 (cos.f64 x))) |
(*.f64 1 (-.f64 1 (cos.f64 x))) |
(-.f64 1 (cos.f64 x)) |
(*.f64 (pow.f64 1 1/3) (-.f64 1 (cos.f64 x))) |
(*.f64 1 (-.f64 1 (cos.f64 x))) |
(-.f64 1 (cos.f64 x)) |
(pow.f64 (-.f64 1 (cos.f64 x)) 1/3) |
(cbrt.f64 (-.f64 1 (cos.f64 x))) |
(pow.f64 (-.f64 1 (cos.f64 x)) 1/3) |
(cbrt.f64 (-.f64 1 (cos.f64 x))) |
(pow.f64 (-.f64 1 (cos.f64 x)) 1/3) |
(cbrt.f64 (-.f64 1 (cos.f64 x))) |
(pow.f64 (-.f64 1 (cos.f64 x)) 1/3) |
(cbrt.f64 (-.f64 1 (cos.f64 x))) |
(pow.f64 (-.f64 1 (cos.f64 x)) 1/3) |
(cbrt.f64 (-.f64 1 (cos.f64 x))) |
(pow.f64 (-.f64 1 (cos.f64 x)) 1/3) |
(cbrt.f64 (-.f64 1 (cos.f64 x))) |
(pow.f64 (-.f64 1 (cos.f64 x)) 1/3) |
(cbrt.f64 (-.f64 1 (cos.f64 x))) |
(pow.f64 (-.f64 1 (cos.f64 x)) 1/3) |
(cbrt.f64 (-.f64 1 (cos.f64 x))) |
Found 4 expressions with local error:
| New | Error | Program |
|---|---|---|
| 0.3b | (*.f64 (sin.f64 x) (sin.f64 x)) | |
| 0.4b | (+.f64 1 (cos.f64 x)) | |
| ✓ | 0.6b | (/.f64 1 (/.f64 (+.f64 1 (cos.f64 x)) (*.f64 (sin.f64 x) (sin.f64 x)))) |
| ✓ | 15.1b | (/.f64 (/.f64 1 (/.f64 (+.f64 1 (cos.f64 x)) (*.f64 (sin.f64 x) (sin.f64 x)))) (*.f64 x x)) |
Compiled 57 to 22 computations (61.4% saved)
6 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 0.0ms | x | @ | 0 | (/.f64 (/.f64 1 (/.f64 (+.f64 1 (cos.f64 x)) (*.f64 (sin.f64 x) (sin.f64 x)))) (*.f64 x x)) |
| 0.0ms | x | @ | inf | (/.f64 (/.f64 1 (/.f64 (+.f64 1 (cos.f64 x)) (*.f64 (sin.f64 x) (sin.f64 x)))) (*.f64 x x)) |
| 0.0ms | x | @ | -inf | (/.f64 (/.f64 1 (/.f64 (+.f64 1 (cos.f64 x)) (*.f64 (sin.f64 x) (sin.f64 x)))) (*.f64 x x)) |
| 0.0ms | x | @ | 0 | (/.f64 1 (/.f64 (+.f64 1 (cos.f64 x)) (*.f64 (sin.f64 x) (sin.f64 x)))) |
| 0.0ms | x | @ | inf | (/.f64 1 (/.f64 (+.f64 1 (cos.f64 x)) (*.f64 (sin.f64 x) (sin.f64 x)))) |
| 1× | batch-egg-rewrite |
| 645× | log-prod_binary64 |
| 471× | prod-diff_binary64 |
| 252× | log-div_binary64 |
| 231× | fma-def_binary64 |
| 214× | expm1-udef_binary64 |
Useful iterations: 1 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 11 | 40 |
| 1 | 256 | 18 |
| 2 | 3934 | 18 |
| 1× | node limit |
| Inputs |
|---|
(/.f64 (/.f64 1 (/.f64 (+.f64 1 (cos.f64 x)) (*.f64 (sin.f64 x) (sin.f64 x)))) (*.f64 x x)) |
(/.f64 1 (/.f64 (+.f64 1 (cos.f64 x)) (*.f64 (sin.f64 x) (sin.f64 x)))) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x +.f64 0 (*.f64 (-.f64 1 (cos.f64 x)) (pow.f64 x -2)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (*.f64 (cbrt.f64 (exp.f64 (*.f64 (-.f64 1 (cos.f64 x)) (pow.f64 x -2)))) (cbrt.f64 (exp.f64 (*.f64 (-.f64 1 (cos.f64 x)) (pow.f64 x -2)))))) (log.f64 (cbrt.f64 (exp.f64 (*.f64 (-.f64 1 (cos.f64 x)) (pow.f64 x -2))))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (sqrt.f64 (exp.f64 (*.f64 (-.f64 1 (cos.f64 x)) (pow.f64 x -2))))) (log.f64 (sqrt.f64 (exp.f64 (*.f64 (-.f64 1 (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 (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 (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 (/.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 (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 (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 1 (+.f64 1 (cos.f64 x))) (*.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 x -2)))))) (#(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 (/.f64 1 (+.f64 1 (cos.f64 x))) 1) (/.f64 (pow.f64 (sin.f64 x) 2) (*.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 (/.f64 1 (+.f64 1 (cos.f64 x))) x) (/.f64 (pow.f64 (sin.f64 x) 2) 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 *.f64 (/.f64 (/.f64 1 (+.f64 1 (cos.f64 x))) (cbrt.f64 (pow.f64 x 4))) (/.f64 (pow.f64 (sin.f64 x) 2) (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 pow.f64 (/.f64 (/.f64 (*.f64 x x) (-.f64 1 (cos.f64 x))) 1) -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 (exp.f64 (*.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 expm1.f64 (log1p.f64 (*.f64 (-.f64 1 (cos.f64 x)) (pow.f64 x -2))))))) (#(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 +.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 0 (-.f64 1 (cos.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (*.f64 (cbrt.f64 (exp.f64 (-.f64 1 (cos.f64 x)))) (cbrt.f64 (exp.f64 (-.f64 1 (cos.f64 x)))))) (log.f64 (cbrt.f64 (exp.f64 (-.f64 1 (cos.f64 x))))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (sqrt.f64 (exp.f64 (-.f64 1 (cos.f64 x))))) (log.f64 (sqrt.f64 (exp.f64 (-.f64 1 (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 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 (-.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 -1 (neg.f64 (-.f64 1 (cos.f64 x))))))) (#(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 1 (+.f64 1 (cos.f64 x))) (/.f64 1 (pow.f64 (sin.f64 x) -2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (sin.f64 x) 1) (tan.f64 (/.f64 x 2)))))) (#(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 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 (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 (cbrt.f64 (pow.f64 (sin.f64 x) 4)) (pow.f64 (cbrt.f64 (+.f64 1 (cos.f64 x))) 2)) (/.f64 (pow.f64 (cbrt.f64 (sin.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 (sin.f64 x) (sqrt.f64 (+.f64 1 (cos.f64 x)))) (/.f64 (sin.f64 x) (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))) (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) (pow.f64 (sin.f64 x) 2)) (-.f64 1 (cos.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 1 (+.f64 -1 (neg.f64 (cos.f64 x)))) (neg.f64 (pow.f64 (sin.f64 x) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 1 (/.f64 1 (tan.f64 (/.f64 x 2)))) (sin.f64 x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 1 (pow.f64 (/.f64 1 (cbrt.f64 (-.f64 1 (cos.f64 x)))) 2)) (cbrt.f64 (-.f64 1 (cos.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (/.f64 1 (+.f64 1 (cos.f64 x))) 1) (pow.f64 (sin.f64 x) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (/.f64 1 (+.f64 1 (cos.f64 x))) (sin.f64 x)) (sin.f64 x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (/.f64 1 (+.f64 1 (cos.f64 x))) (cbrt.f64 (pow.f64 (sin.f64 x) 4))) (pow.f64 (cbrt.f64 (sin.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 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 (neg.f64 (/.f64 -1 (-.f64 1 (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 expm1.f64 (log1p.f64 (-.f64 1 (cos.f64 x))))))) (#(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 (neg.f64 (log1p.f64 (neg.f64 (cos.f64 x)))) -1))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log1p.f64 (neg.f64 (cos.f64 x))) 1)))))) |
| 1× | egg-herbie |
| 743× | associate-/l*_binary64 |
| 566× | distribute-lft-out_binary64 |
| 536× | distribute-rgt-out_binary64 |
| 522× | fma-def_binary64 |
| 515× | associate-/r*_binary64 |
Useful iterations: 3 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 45 | 394 |
| 1 | 101 | 392 |
| 2 | 241 | 342 |
| 3 | 754 | 340 |
| 4 | 3326 | 340 |
| 1× | node limit |
| Inputs |
|---|
1/2 |
(+.f64 1/2 (*.f64 -1/24 (pow.f64 x 2))) |
(+.f64 1/2 (+.f64 (*.f64 -1/24 (pow.f64 x 2)) (*.f64 1/720 (pow.f64 x 4)))) |
(+.f64 1/2 (+.f64 (*.f64 -1/24 (pow.f64 x 2)) (+.f64 (*.f64 -1/40320 (pow.f64 x 6)) (*.f64 1/720 (pow.f64 x 4))))) |
(/.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 (cos.f64 x) 1) (pow.f64 x 2))) |
(/.f64 (pow.f64 (sin.f64 x) 2) (*.f64 (+.f64 (cos.f64 x) 1) (pow.f64 x 2))) |
(/.f64 (pow.f64 (sin.f64 x) 2) (*.f64 (+.f64 (cos.f64 x) 1) (pow.f64 x 2))) |
(/.f64 (pow.f64 (sin.f64 x) 2) (*.f64 (+.f64 (cos.f64 x) 1) (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 1/2 (pow.f64 x 2)) (+.f64 (*.f64 -1/24 (pow.f64 x 4)) (*.f64 1/720 (pow.f64 x 6)))) |
(+.f64 (*.f64 1/2 (pow.f64 x 2)) (+.f64 (*.f64 -1/24 (pow.f64 x 4)) (+.f64 (*.f64 1/720 (pow.f64 x 6)) (*.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 (cos.f64 x) 1)) |
(/.f64 (pow.f64 (sin.f64 x) 2) (+.f64 (cos.f64 x) 1)) |
(/.f64 (pow.f64 (sin.f64 x) 2) (+.f64 (cos.f64 x) 1)) |
(/.f64 (pow.f64 (sin.f64 x) 2) (+.f64 (cos.f64 x) 1)) |
| Outputs |
|---|
1/2 |
(+.f64 1/2 (*.f64 -1/24 (pow.f64 x 2))) |
(+.f64 1/2 (*.f64 -1/24 (*.f64 x x))) |
(fma.f64 -1/24 (*.f64 x x) 1/2) |
(+.f64 1/2 (+.f64 (*.f64 -1/24 (pow.f64 x 2)) (*.f64 1/720 (pow.f64 x 4)))) |
(+.f64 1/2 (fma.f64 -1/24 (*.f64 x x) (*.f64 1/720 (pow.f64 x 4)))) |
(fma.f64 1/720 (pow.f64 x 4) (fma.f64 -1/24 (*.f64 x x) 1/2)) |
(fma.f64 -1/24 (*.f64 x x) (fma.f64 1/720 (pow.f64 x 4) 1/2)) |
(fma.f64 (*.f64 x x) (fma.f64 x (*.f64 x 1/720) -1/24) 1/2) |
(+.f64 1/2 (+.f64 (*.f64 -1/24 (pow.f64 x 2)) (+.f64 (*.f64 -1/40320 (pow.f64 x 6)) (*.f64 1/720 (pow.f64 x 4))))) |
(+.f64 1/2 (fma.f64 -1/24 (*.f64 x x) (fma.f64 -1/40320 (pow.f64 x 6) (*.f64 1/720 (pow.f64 x 4))))) |
(+.f64 1/2 (fma.f64 -1/24 (*.f64 x x) (fma.f64 1/720 (pow.f64 x 4) (*.f64 -1/40320 (pow.f64 x 6))))) |
(+.f64 (fma.f64 -1/24 (*.f64 x x) 1/2) (fma.f64 -1/40320 (pow.f64 x 6) (*.f64 1/720 (pow.f64 x 4)))) |
(fma.f64 -1/24 (*.f64 x x) (fma.f64 1/720 (pow.f64 x 4) (fma.f64 -1/40320 (pow.f64 x 6) 1/2))) |
(fma.f64 -1/40320 (pow.f64 x 6) (fma.f64 (*.f64 x x) (fma.f64 x (*.f64 x 1/720) -1/24) 1/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 x x) (+.f64 1 (cos.f64 x)))) |
(*.f64 (/.f64 (sin.f64 x) (*.f64 x x)) (tan.f64 (/.f64 x 2))) |
(/.f64 (sin.f64 x) (/.f64 (*.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 (/.f64 (sin.f64 x) (*.f64 x x)) (tan.f64 (/.f64 x 2))) |
(/.f64 (sin.f64 x) (/.f64 (*.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 (/.f64 (sin.f64 x) (*.f64 x x)) (tan.f64 (/.f64 x 2))) |
(/.f64 (sin.f64 x) (/.f64 (*.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 (/.f64 (sin.f64 x) (*.f64 x x)) (tan.f64 (/.f64 x 2))) |
(/.f64 (sin.f64 x) (/.f64 (*.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 (cos.f64 x) 1) (pow.f64 x 2))) |
(/.f64 (pow.f64 (sin.f64 x) 2) (*.f64 (*.f64 x x) (+.f64 1 (cos.f64 x)))) |
(*.f64 (/.f64 (sin.f64 x) (*.f64 x x)) (tan.f64 (/.f64 x 2))) |
(/.f64 (sin.f64 x) (/.f64 (*.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 (cos.f64 x) 1) (pow.f64 x 2))) |
(/.f64 (pow.f64 (sin.f64 x) 2) (*.f64 (*.f64 x x) (+.f64 1 (cos.f64 x)))) |
(*.f64 (/.f64 (sin.f64 x) (*.f64 x x)) (tan.f64 (/.f64 x 2))) |
(/.f64 (sin.f64 x) (/.f64 (*.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 (cos.f64 x) 1) (pow.f64 x 2))) |
(/.f64 (pow.f64 (sin.f64 x) 2) (*.f64 (*.f64 x x) (+.f64 1 (cos.f64 x)))) |
(*.f64 (/.f64 (sin.f64 x) (*.f64 x x)) (tan.f64 (/.f64 x 2))) |
(/.f64 (sin.f64 x) (/.f64 (*.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 (cos.f64 x) 1) (pow.f64 x 2))) |
(/.f64 (pow.f64 (sin.f64 x) 2) (*.f64 (*.f64 x x) (+.f64 1 (cos.f64 x)))) |
(*.f64 (/.f64 (sin.f64 x) (*.f64 x x)) (tan.f64 (/.f64 x 2))) |
(/.f64 (sin.f64 x) (/.f64 (*.f64 x x) (tan.f64 (/.f64 x 2)))) |
(*.f64 (sin.f64 x) (/.f64 (tan.f64 (/.f64 x 2)) (*.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))) |
(fma.f64 1/2 (*.f64 x x) (*.f64 -1/24 (pow.f64 x 4))) |
(*.f64 (*.f64 x x) (fma.f64 -1/24 (*.f64 x x) 1/2)) |
(*.f64 x (*.f64 x (fma.f64 -1/24 (*.f64 x x) 1/2))) |
(+.f64 (*.f64 1/2 (pow.f64 x 2)) (+.f64 (*.f64 -1/24 (pow.f64 x 4)) (*.f64 1/720 (pow.f64 x 6)))) |
(fma.f64 1/2 (*.f64 x x) (fma.f64 -1/24 (pow.f64 x 4) (*.f64 1/720 (pow.f64 x 6)))) |
(fma.f64 -1/24 (pow.f64 x 4) (fma.f64 1/2 (*.f64 x x) (*.f64 1/720 (pow.f64 x 6)))) |
(*.f64 (*.f64 x x) (fma.f64 (*.f64 x x) (fma.f64 x (*.f64 x 1/720) -1/24) 1/2)) |
(+.f64 (*.f64 1/2 (pow.f64 x 2)) (+.f64 (*.f64 -1/24 (pow.f64 x 4)) (+.f64 (*.f64 1/720 (pow.f64 x 6)) (*.f64 -1/40320 (pow.f64 x 8))))) |
(fma.f64 1/2 (*.f64 x x) (fma.f64 -1/24 (pow.f64 x 4) (fma.f64 1/720 (pow.f64 x 6) (*.f64 -1/40320 (pow.f64 x 8))))) |
(fma.f64 1/2 (*.f64 x x) (fma.f64 1/720 (pow.f64 x 6) (fma.f64 -1/24 (pow.f64 x 4) (*.f64 -1/40320 (pow.f64 x 8))))) |
(fma.f64 (pow.f64 x 4) (fma.f64 (pow.f64 x 4) -1/40320 -1/24) (fma.f64 1/2 (*.f64 x x) (*.f64 1/720 (pow.f64 x 6)))) |
(*.f64 (*.f64 x x) (fma.f64 -1/40320 (pow.f64 x 6) (fma.f64 (*.f64 x x) (fma.f64 x (*.f64 x 1/720) -1/24) 1/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 (cos.f64 x) 1)) |
(/.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 (cos.f64 x) 1)) |
(/.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 (cos.f64 x) 1)) |
(/.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 (cos.f64 x) 1)) |
(/.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))) |
Compiled 16298 to 9194 computations (43.6% saved)
19 alts after pruning (17 fresh and 2 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 912 | 16 | 928 |
| Fresh | 11 | 1 | 12 |
| Picked | 1 | 0 | 1 |
| Done | 3 | 2 | 5 |
| Total | 927 | 19 | 946 |
| Status | Error | Program |
|---|---|---|
| ▶ | 15.7b | (/.f64 (/.f64 (pow.f64 (sin.f64 x) 2) (+.f64 (cos.f64 x) 1)) (*.f64 x x)) |
| ▶ | 16.1b | (*.f64 (sin.f64 x) (/.f64 (tan.f64 (/.f64 x 2)) (*.f64 x x))) |
| 31.7b | (/.f64 (/.f64 (-.f64 1 (cos.f64 x)) x) x) | |
| 32.4b | (/.f64 (pow.f64 (pow.f64 (-.f64 1 (cos.f64 x)) 1/3) 3) (*.f64 x x)) | |
| 32.4b | (/.f64 (exp.f64 (log1p.f64 (neg.f64 (cos.f64 x)))) (*.f64 x x)) | |
| ▶ | 31.7b | (/.f64 (/.f64 1 x) (/.f64 x (-.f64 1 (cos.f64 x)))) |
| 31.9b | (/.f64 1 (*.f64 x (/.f64 x (-.f64 1 (cos.f64 x))))) | |
| 30.2b | 1/2 | |
| ▶ | 15.5b | (*.f64 (/.f64 (/.f64 1 (+.f64 1 (cos.f64 x))) 1) (/.f64 (pow.f64 (sin.f64 x) 2) (*.f64 x x))) |
| ✓ | 31.9b | (pow.f64 (/.f64 x (/.f64 (-.f64 1 (cos.f64 x)) x)) -1) |
| 17.0b | (*.f64 (pow.f64 (sin.f64 x) 2) (/.f64 1 (*.f64 (+.f64 1 (cos.f64 x)) (*.f64 x x)))) | |
| 32.2b | (-.f64 (pow.f64 x -2) (/.f64 (/.f64 (cos.f64 x) x) x)) | |
| 32.2b | (*.f64 (pow.f64 x -2) (-.f64 1 (cos.f64 x))) | |
| ▶ | 31.2b | (+.f64 (*.f64 -1/24 (*.f64 x x)) 1/2) |
| 32.5b | (*.f64 (neg.f64 (-.f64 1 (cos.f64 x))) (/.f64 1 (*.f64 x (neg.f64 x)))) | |
| 15.8b | (pow.f64 (/.f64 x (/.f64 (/.f64 (*.f64 (sin.f64 x) (sin.f64 x)) (+.f64 1 (cos.f64 x))) x)) -1) | |
| 15.6b | (/.f64 (*.f64 (tan.f64 (/.f64 x 2)) (sin.f64 x)) (*.f64 x x)) | |
| ✓ | 32.4b | (/.f64 (-.f64 1 (cos.f64 x)) (*.f64 x x)) |
| 31.7b | (*.f64 (/.f64 (-.f64 1 (cos.f64 x)) x) (/.f64 1 x)) |
Compiled 412 to 296 computations (28.2% saved)
Found 4 expressions with local error:
| New | Error | Program |
|---|---|---|
| ✓ | 0.1b | (/.f64 1 (+.f64 1 (cos.f64 x))) |
| ✓ | 0.3b | (pow.f64 (sin.f64 x) 2) |
| 0.4b | (+.f64 1 (cos.f64 x)) | |
| ✓ | 14.9b | (/.f64 (pow.f64 (sin.f64 x) 2) (*.f64 x x)) |
Compiled 58 to 33 computations (43.1% saved)
9 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 1.0ms | x | @ | inf | (/.f64 1 (+.f64 1 (cos.f64 x))) |
| 1.0ms | x | @ | -inf | (/.f64 1 (+.f64 1 (cos.f64 x))) |
| 1.0ms | x | @ | 0 | (/.f64 (pow.f64 (sin.f64 x) 2) (*.f64 x x)) |
| 1.0ms | x | @ | 0 | (/.f64 1 (+.f64 1 (cos.f64 x))) |
| 1.0ms | x | @ | inf | (/.f64 (pow.f64 (sin.f64 x) 2) (*.f64 x x)) |
| 1× | batch-egg-rewrite |
| 495× | log-prod_binary64 |
| 386× | exp-prod_binary64 |
| 292× | pow-prod-down_binary64 |
| 276× | pow2_binary64 |
| 190× | pow1/3_binary64 |
Useful iterations: 1 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 11 | 27 |
| 1 | 237 | 24 |
| 2 | 2997 | 24 |
| 1× | node limit |
| Inputs |
|---|
(/.f64 (pow.f64 (sin.f64 x) 2) (*.f64 x x)) |
(pow.f64 (sin.f64 x) 2) |
(/.f64 1 (+.f64 1 (cos.f64 x))) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x +.f64 0 (pow.f64 (/.f64 (sin.f64 x) x) 2))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (pow.f64 (cbrt.f64 (exp.f64 (pow.f64 (/.f64 (sin.f64 x) x) 2))) 2)) (log.f64 (cbrt.f64 (exp.f64 (pow.f64 (/.f64 (sin.f64 x) x) 2)))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (sqrt.f64 (exp.f64 (pow.f64 (/.f64 (sin.f64 x) x) 2)))) (log.f64 (sqrt.f64 (exp.f64 (pow.f64 (/.f64 (sin.f64 x) x) 2)))))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (pow.f64 (/.f64 (sin.f64 x) x) 2))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sin.f64 x) (*.f64 (sin.f64 x) (pow.f64 x -2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 x -2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (/.f64 (sin.f64 x) x) 2) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (pow.f64 (/.f64 (sin.f64 x) x) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (sin.f64 x)) 4) (*.f64 (pow.f64 (cbrt.f64 (sin.f64 x)) 2) (pow.f64 x -2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (/.f64 (sin.f64 x) x)) 2) (cbrt.f64 (pow.f64 (/.f64 (sin.f64 x) x) 4)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (pow.f64 (/.f64 (sin.f64 x) x) 4)) (pow.f64 (cbrt.f64 (/.f64 (sin.f64 x) x)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (sin.f64 x) x) (/.f64 (sin.f64 x) x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (neg.f64 (pow.f64 (sin.f64 x) 2)) (/.f64 1 (*.f64 x (neg.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 x -2) (pow.f64 (sin.f64 x) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (pow.f64 (sin.f64 x) 2) x) (/.f64 1 x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (sin.f64 x) 1) (/.f64 (sin.f64 x) (*.f64 x x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (pow.f64 (cbrt.f64 (sin.f64 x)) 4) 1) (/.f64 (pow.f64 (cbrt.f64 (sin.f64 x)) 2) (*.f64 x x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 1 x) (/.f64 (pow.f64 (sin.f64 x) 2) x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (pow.f64 (cbrt.f64 (sin.f64 x)) 4) x) (/.f64 (pow.f64 (cbrt.f64 (sin.f64 x)) 2) x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (sin.f64 x) (*.f64 (cbrt.f64 x) x)) (/.f64 (sin.f64 x) (pow.f64 (cbrt.f64 x) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 1 (*.f64 (cbrt.f64 x) x)) (/.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 (cbrt.f64 x) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (pow.f64 (cbrt.f64 (sin.f64 x)) 4) (*.f64 (cbrt.f64 x) x)) (pow.f64 (cbrt.f64 (/.f64 (sin.f64 x) x)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (/.f64 (sin.f64 x) x) 2) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (E.f64) (*.f64 2 (log.f64 (/.f64 (sin.f64 x) x))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (/.f64 (sin.f64 x) x) 4) 1/2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (/.f64 (sin.f64 x) x) 6) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (cbrt.f64 (/.f64 (sin.f64 x) x)) 2) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 (sin.f64 x) x) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (/.f64 (sin.f64 x) x) -2) -1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 (pow.f64 (sin.f64 x) 6) (pow.f64 x 6)) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 (pow.f64 (/.f64 (sin.f64 x) x) -2) 1) -1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 (pow.f64 (cbrt.f64 (*.f64 2 (log.f64 (/.f64 (sin.f64 x) x)))) 2)) (cbrt.f64 (*.f64 2 (log.f64 (/.f64 (sin.f64 x) x)))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 (sqrt.f64 (*.f64 2 (log.f64 (/.f64 (sin.f64 x) x))))) (sqrt.f64 (*.f64 2 (log.f64 (/.f64 (sin.f64 x) x)))))))) (#(struct:change #<rule egg-rr> (2) ((x neg.f64 (/.f64 (pow.f64 (sin.f64 x) 2) (*.f64 x (neg.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (/.f64 (sin.f64 x) x) 4))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (pow.f64 (/.f64 (sin.f64 x) x) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (pow.f64 (/.f64 (sin.f64 x) x) 2))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (/.f64 (sin.f64 x) x) 6))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (/.f64 (pow.f64 (sin.f64 x) 6) (pow.f64 x 6)))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (pow.f64 (/.f64 (sin.f64 x) x) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (pow.f64 (/.f64 (sin.f64 x) x) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 2 (log.f64 (/.f64 (sin.f64 x) x))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 2 (log.f64 (/.f64 (sin.f64 x) x))) 1))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (pow.f64 (/.f64 (sin.f64 x) x) 6)) 1/3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (pow.f64 (cbrt.f64 (/.f64 (sin.f64 x) x)) 2)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (/.f64 (sin.f64 x) x)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (pow.f64 (/.f64 (sin.f64 x) x) -2)) -1))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 (*.f64 2 (log.f64 (/.f64 (sin.f64 x) x))) 1) 1)))))) |
((#(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 (pow.f64 (cbrt.f64 (exp.f64 (pow.f64 (sin.f64 x) 2))) 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)) 4) (pow.f64 (cbrt.f64 (sin.f64 x)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (sin.f64 x)) 2) (pow.f64 (cbrt.f64 (sin.f64 x)) 4))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (sin.f64 x)) (pow.f64 (sin.f64 x) 3/2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (sin.f64 x) 3/2) (sqrt.f64 (sin.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (sin.f64 x)) 5) (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 (cos.f64 x) 4)) (+.f64 1 (pow.f64 (cos.f64 x) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 1 (pow.f64 (cos.f64 x) 6)) (+.f64 1 (+.f64 (pow.f64 (cos.f64 x) 4) (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 (sin.f64 x) 6))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (pow.f64 (sin.f64 x) 2)))))) (#(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 exp.f64 (*.f64 (log.f64 (pow.f64 (sin.f64 x) 6)) 1/3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 2 (log.f64 (cbrt.f64 (sin.f64 x)))) 3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 (log.f64 (sin.f64 x)) 1) 2))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 (*.f64 2 (log.f64 (sin.f64 x))) 1) 1)))))) |
((#(struct:change #<rule egg-rr> (2) ((x +.f64 0 (/.f64 1 (+.f64 1 (cos.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (pow.f64 (cbrt.f64 (exp.f64 (/.f64 1 (+.f64 1 (cos.f64 x))))) 2)) (log.f64 (cbrt.f64 (exp.f64 (/.f64 1 (+.f64 1 (cos.f64 x)))))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (sqrt.f64 (exp.f64 (/.f64 1 (+.f64 1 (cos.f64 x)))))) (log.f64 (sqrt.f64 (exp.f64 (/.f64 1 (+.f64 1 (cos.f64 x)))))))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (/.f64 1 (+.f64 1 (cos.f64 x))))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (/.f64 1 (+.f64 1 (cos.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 1 (+.f64 1 (cos.f64 x))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 1 (cbrt.f64 (+.f64 1 (cos.f64 x)))) (cbrt.f64 (pow.f64 (+.f64 1 (cos.f64 x)) -2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (pow.f64 (+.f64 1 (cos.f64 x)) -2)) (/.f64 1 (cbrt.f64 (+.f64 1 (cos.f64 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (+.f64 1 (cos.f64 x)) -1/2) (pow.f64 (+.f64 1 (cos.f64 x)) -1/2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 -1 (/.f64 1 (+.f64 -1 (neg.f64 (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 (/.f64 1 (+.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 (pow.f64 (cbrt.f64 (+.f64 1 (cos.f64 x))) -2) (/.f64 1 (cbrt.f64 (+.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 (/.f64 1 (+.f64 1 (cos.f64 x))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (E.f64) (neg.f64 (log1p.f64 (cos.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (+.f64 1 (cos.f64 x)) -2) 1/2)))) (#(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 (pow.f64 (+.f64 1 (cos.f64 x)) 2) -1/2)))) (#(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 (/.f64 1 (cbrt.f64 (+.f64 1 (cos.f64 x)))) 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 (pow.f64 (+.f64 1 (cos.f64 x)) -1/2) 2)))) (#(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 (exp.f64 -1) (log1p.f64 (cos.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (neg.f64 (+.f64 -1 (neg.f64 (cos.f64 x)))) -1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 (pow.f64 (cbrt.f64 (neg.f64 (log1p.f64 (cos.f64 x)))) 2)) (cbrt.f64 (neg.f64 (log1p.f64 (cos.f64 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 (sqrt.f64 (neg.f64 (log1p.f64 (cos.f64 x))))) (sqrt.f64 (neg.f64 (log1p.f64 (cos.f64 x)))))))) (#(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 (+.f64 1 (cos.f64 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (/.f64 1 (+.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 expm1.f64 (log1p.f64 (/.f64 1 (+.f64 1 (cos.f64 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (/.f64 1 (+.f64 1 (cos.f64 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (neg.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 exp.f64 (*.f64 (neg.f64 (log1p.f64 (cos.f64 x))) 1))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 3 (neg.f64 (log1p.f64 (cos.f64 x)))) 1/3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 1/3 (neg.f64 (log1p.f64 (cos.f64 x)))) 3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 -1/2 (log1p.f64 (cos.f64 x))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 (log1p.f64 (cos.f64 x)) 1) -1))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 (log1p.f64 (cos.f64 x)) -1) 1))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 (neg.f64 (log1p.f64 (cos.f64 x))) 1) 1)))))) |
| 1× | egg-herbie |
| 680× | fma-def_binary64 |
| 669× | distribute-rgt-out_binary64 |
| 662× | distribute-lft-out_binary64 |
| 654× | times-frac_binary64 |
| 550× | associate-*l*_binary64 |
Useful iterations: 2 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 50 | 290 |
| 1 | 120 | 286 |
| 2 | 282 | 282 |
| 3 | 834 | 282 |
| 4 | 3446 | 282 |
| 1× | node limit |
| Inputs |
|---|
1 |
(+.f64 (*.f64 -1/3 (pow.f64 x 2)) 1) |
(+.f64 (*.f64 -1/3 (pow.f64 x 2)) (+.f64 1 (*.f64 2/45 (pow.f64 x 4)))) |
(+.f64 (*.f64 -1/3 (pow.f64 x 2)) (+.f64 1 (+.f64 (*.f64 2/45 (pow.f64 x 4)) (*.f64 -1/315 (pow.f64 x 6))))) |
(/.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 x 2)) |
(/.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 x 2)) |
(/.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 x 2)) |
(/.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 x 2)) |
(/.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 x 2)) |
(/.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 x 2)) |
(/.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 x 2)) |
(/.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 x 2)) |
(pow.f64 x 2) |
(+.f64 (*.f64 -1/3 (pow.f64 x 4)) (pow.f64 x 2)) |
(+.f64 (*.f64 -1/3 (pow.f64 x 4)) (+.f64 (*.f64 2/45 (pow.f64 x 6)) (pow.f64 x 2))) |
(+.f64 (*.f64 -1/3 (pow.f64 x 4)) (+.f64 (*.f64 -1/315 (pow.f64 x 8)) (+.f64 (*.f64 2/45 (pow.f64 x 6)) (pow.f64 x 2)))) |
1/2 |
(+.f64 (*.f64 1/8 (pow.f64 x 2)) 1/2) |
(+.f64 (*.f64 1/8 (pow.f64 x 2)) (+.f64 1/2 (*.f64 1/48 (pow.f64 x 4)))) |
(+.f64 (*.f64 1/8 (pow.f64 x 2)) (+.f64 1/2 (+.f64 (*.f64 17/5760 (pow.f64 x 6)) (*.f64 1/48 (pow.f64 x 4))))) |
(/.f64 1 (+.f64 (cos.f64 x) 1)) |
(/.f64 1 (+.f64 (cos.f64 x) 1)) |
(/.f64 1 (+.f64 (cos.f64 x) 1)) |
(/.f64 1 (+.f64 (cos.f64 x) 1)) |
| Outputs |
|---|
1 |
(+.f64 (*.f64 -1/3 (pow.f64 x 2)) 1) |
(fma.f64 -1/3 (*.f64 x x) 1) |
(fma.f64 x (*.f64 -1/3 x) 1) |
(+.f64 (*.f64 -1/3 (pow.f64 x 2)) (+.f64 1 (*.f64 2/45 (pow.f64 x 4)))) |
(fma.f64 -1/3 (*.f64 x x) (+.f64 1 (*.f64 2/45 (pow.f64 x 4)))) |
(fma.f64 -1/3 (*.f64 x x) (fma.f64 2/45 (pow.f64 x 4) 1)) |
(fma.f64 (*.f64 x x) (fma.f64 x (*.f64 x 2/45) -1/3) 1) |
(+.f64 (*.f64 -1/3 (pow.f64 x 2)) (+.f64 1 (+.f64 (*.f64 2/45 (pow.f64 x 4)) (*.f64 -1/315 (pow.f64 x 6))))) |
(+.f64 (fma.f64 -1/3 (*.f64 x x) 1) (fma.f64 2/45 (pow.f64 x 4) (*.f64 -1/315 (pow.f64 x 6)))) |
(fma.f64 -1/3 (*.f64 x x) (fma.f64 2/45 (pow.f64 x 4) (fma.f64 -1/315 (pow.f64 x 6) 1))) |
(fma.f64 -1/315 (pow.f64 x 6) (fma.f64 (*.f64 x x) (fma.f64 x (*.f64 x 2/45) -1/3) 1)) |
(fma.f64 (*.f64 x x) (fma.f64 x (*.f64 x 2/45) -1/3) (fma.f64 -1/315 (pow.f64 x 6) 1)) |
(/.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 x 2)) |
(/.f64 (pow.f64 (sin.f64 x) 2) (*.f64 x x)) |
(/.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 x 2)) |
(/.f64 (pow.f64 (sin.f64 x) 2) (*.f64 x x)) |
(/.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 x 2)) |
(/.f64 (pow.f64 (sin.f64 x) 2) (*.f64 x x)) |
(/.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 x 2)) |
(/.f64 (pow.f64 (sin.f64 x) 2) (*.f64 x x)) |
(/.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 x 2)) |
(/.f64 (pow.f64 (sin.f64 x) 2) (*.f64 x x)) |
(/.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 x 2)) |
(/.f64 (pow.f64 (sin.f64 x) 2) (*.f64 x x)) |
(/.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 x 2)) |
(/.f64 (pow.f64 (sin.f64 x) 2) (*.f64 x x)) |
(/.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 x 2)) |
(/.f64 (pow.f64 (sin.f64 x) 2) (*.f64 x x)) |
(pow.f64 x 2) |
(*.f64 x x) |
(+.f64 (*.f64 -1/3 (pow.f64 x 4)) (pow.f64 x 2)) |
(fma.f64 -1/3 (pow.f64 x 4) (*.f64 x x)) |
(fma.f64 x x (*.f64 -1/3 (pow.f64 x 4))) |
(+.f64 (*.f64 -1/3 (pow.f64 x 4)) (+.f64 (*.f64 2/45 (pow.f64 x 6)) (pow.f64 x 2))) |
(fma.f64 -1/3 (pow.f64 x 4) (fma.f64 2/45 (pow.f64 x 6) (*.f64 x x))) |
(fma.f64 -1/3 (pow.f64 x 4) (fma.f64 x x (*.f64 2/45 (pow.f64 x 6)))) |
(+.f64 (*.f64 -1/3 (pow.f64 x 4)) (+.f64 (*.f64 -1/315 (pow.f64 x 8)) (+.f64 (*.f64 2/45 (pow.f64 x 6)) (pow.f64 x 2)))) |
(fma.f64 -1/3 (pow.f64 x 4) (fma.f64 -1/315 (pow.f64 x 8) (fma.f64 2/45 (pow.f64 x 6) (*.f64 x x)))) |
(fma.f64 -1/3 (pow.f64 x 4) (fma.f64 -1/315 (pow.f64 x 8) (fma.f64 x x (*.f64 2/45 (pow.f64 x 6))))) |
1/2 |
(+.f64 (*.f64 1/8 (pow.f64 x 2)) 1/2) |
(fma.f64 1/8 (*.f64 x x) 1/2) |
(fma.f64 (*.f64 x x) 1/8 1/2) |
(fma.f64 x (*.f64 x 1/8) 1/2) |
(+.f64 (*.f64 1/8 (pow.f64 x 2)) (+.f64 1/2 (*.f64 1/48 (pow.f64 x 4)))) |
(+.f64 (fma.f64 1/8 (*.f64 x x) 1/2) (*.f64 (pow.f64 x 4) 1/48)) |
(fma.f64 (*.f64 x x) 1/8 (fma.f64 (pow.f64 x 4) 1/48 1/2)) |
(fma.f64 x (*.f64 x 1/8) (fma.f64 (pow.f64 x 4) 1/48 1/2)) |
(fma.f64 (*.f64 x x) (fma.f64 x (*.f64 x 1/48) 1/8) 1/2) |
(+.f64 (*.f64 1/8 (pow.f64 x 2)) (+.f64 1/2 (+.f64 (*.f64 17/5760 (pow.f64 x 6)) (*.f64 1/48 (pow.f64 x 4))))) |
(+.f64 (fma.f64 1/8 (*.f64 x x) 1/2) (fma.f64 17/5760 (pow.f64 x 6) (*.f64 (pow.f64 x 4) 1/48))) |
(+.f64 (fma.f64 (*.f64 x x) 1/8 1/2) (fma.f64 (pow.f64 x 4) 1/48 (*.f64 (pow.f64 x 6) 17/5760))) |
(fma.f64 x (*.f64 x 1/8) (fma.f64 (pow.f64 x 6) 17/5760 (fma.f64 (pow.f64 x 4) 1/48 1/2))) |
(fma.f64 (pow.f64 x 6) 17/5760 (fma.f64 (*.f64 x x) (fma.f64 x (*.f64 x 1/48) 1/8) 1/2)) |
(fma.f64 (pow.f64 x 4) 1/48 (fma.f64 (pow.f64 x 6) 17/5760 (fma.f64 x (*.f64 x 1/8) 1/2))) |
(/.f64 1 (+.f64 (cos.f64 x) 1)) |
(/.f64 1 (+.f64 1 (cos.f64 x))) |
(/.f64 1 (+.f64 (cos.f64 x) 1)) |
(/.f64 1 (+.f64 1 (cos.f64 x))) |
(/.f64 1 (+.f64 (cos.f64 x) 1)) |
(/.f64 1 (+.f64 1 (cos.f64 x))) |
(/.f64 1 (+.f64 (cos.f64 x) 1)) |
(/.f64 1 (+.f64 1 (cos.f64 x))) |
Found 1 expressions with local error:
| New | Error | Program |
|---|---|---|
| ✓ | 0.2b | (*.f64 -1/24 (*.f64 x x)) |
Compiled 19 to 10 computations (47.4% saved)
3 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 1.0ms | x | @ | inf | (*.f64 -1/24 (*.f64 x x)) |
| 1.0ms | x | @ | 0 | (*.f64 -1/24 (*.f64 x x)) |
| 0.0ms | x | @ | -inf | (*.f64 -1/24 (*.f64 x x)) |
| 1× | batch-egg-rewrite |
| 432× | pow1_binary64 |
| 422× | add-sqr-sqrt_binary64 |
| 411× | *-un-lft-identity_binary64 |
| 403× | add-log-exp_binary64 |
| 403× | log1p-expm1-u_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 5 | 7 |
| 1 | 102 | 7 |
| 2 | 1150 | 7 |
| 1× | node limit |
| Inputs |
|---|
(*.f64 -1/24 (*.f64 x x)) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x +.f64 0 (*.f64 -1/24 (*.f64 x x)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (*.f64 (cbrt.f64 (pow.f64 (exp.f64 -1/24) (*.f64 x x))) (cbrt.f64 (pow.f64 (exp.f64 -1/24) (*.f64 x x))))) (log.f64 (cbrt.f64 (pow.f64 (exp.f64 -1/24) (*.f64 x x)))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (sqrt.f64 (pow.f64 (exp.f64 -1/24) (*.f64 x x)))) (log.f64 (sqrt.f64 (pow.f64 (exp.f64 -1/24) (*.f64 x x)))))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (*.f64 -1/24 (*.f64 x x))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 -1/24 (*.f64 x x)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 -1/24 (*.f64 x x)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (*.f64 -1/24 (*.f64 x x))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 x (sqrt.f64 -1/24)) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (*.f64 1/576 (pow.f64 x 4)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (pow.f64 (exp.f64 -1/24) (*.f64 x x)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (*.f64 -1/24 (*.f64 x x)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 -1/24 (*.f64 x x))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 -1/24 (*.f64 x x))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (*.f64 -1/24 (*.f64 x x)))))))) |
| 1× | egg-herbie |
| 1082× | sqr-pow_binary64 |
| 617× | cube-prod_binary64 |
| 554× | fabs-mul_binary64 |
| 523× | pow-sqr_binary64 |
| 441× | associate-*l*_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 6 | 84 |
| 1 | 12 | 84 |
| 2 | 23 | 84 |
| 3 | 44 | 84 |
| 4 | 105 | 84 |
| 5 | 331 | 84 |
| 6 | 1250 | 84 |
| 7 | 2123 | 84 |
| 8 | 2287 | 84 |
| 9 | 2471 | 84 |
| 10 | 2679 | 84 |
| 11 | 2976 | 84 |
| 12 | 3371 | 84 |
| 13 | 3852 | 84 |
| 14 | 4418 | 84 |
| 15 | 5102 | 84 |
| 16 | 5935 | 84 |
| 17 | 6327 | 84 |
| 18 | 6619 | 84 |
| 19 | 6895 | 84 |
| 20 | 6969 | 84 |
| 21 | 7003 | 84 |
| 22 | 7944 | 84 |
| 1× | node limit |
| Inputs |
|---|
(*.f64 -1/24 (pow.f64 x 2)) |
(*.f64 -1/24 (pow.f64 x 2)) |
(*.f64 -1/24 (pow.f64 x 2)) |
(*.f64 -1/24 (pow.f64 x 2)) |
(*.f64 -1/24 (pow.f64 x 2)) |
(*.f64 -1/24 (pow.f64 x 2)) |
(*.f64 -1/24 (pow.f64 x 2)) |
(*.f64 -1/24 (pow.f64 x 2)) |
(*.f64 -1/24 (pow.f64 x 2)) |
(*.f64 -1/24 (pow.f64 x 2)) |
(*.f64 -1/24 (pow.f64 x 2)) |
(*.f64 -1/24 (pow.f64 x 2)) |
| Outputs |
|---|
(*.f64 -1/24 (pow.f64 x 2)) |
(*.f64 -1/24 (*.f64 x x)) |
(*.f64 x (*.f64 -1/24 x)) |
(*.f64 -1/24 (pow.f64 x 2)) |
(*.f64 -1/24 (*.f64 x x)) |
(*.f64 x (*.f64 -1/24 x)) |
(*.f64 -1/24 (pow.f64 x 2)) |
(*.f64 -1/24 (*.f64 x x)) |
(*.f64 x (*.f64 -1/24 x)) |
(*.f64 -1/24 (pow.f64 x 2)) |
(*.f64 -1/24 (*.f64 x x)) |
(*.f64 x (*.f64 -1/24 x)) |
(*.f64 -1/24 (pow.f64 x 2)) |
(*.f64 -1/24 (*.f64 x x)) |
(*.f64 x (*.f64 -1/24 x)) |
(*.f64 -1/24 (pow.f64 x 2)) |
(*.f64 -1/24 (*.f64 x x)) |
(*.f64 x (*.f64 -1/24 x)) |
(*.f64 -1/24 (pow.f64 x 2)) |
(*.f64 -1/24 (*.f64 x x)) |
(*.f64 x (*.f64 -1/24 x)) |
(*.f64 -1/24 (pow.f64 x 2)) |
(*.f64 -1/24 (*.f64 x x)) |
(*.f64 x (*.f64 -1/24 x)) |
(*.f64 -1/24 (pow.f64 x 2)) |
(*.f64 -1/24 (*.f64 x x)) |
(*.f64 x (*.f64 -1/24 x)) |
(*.f64 -1/24 (pow.f64 x 2)) |
(*.f64 -1/24 (*.f64 x x)) |
(*.f64 x (*.f64 -1/24 x)) |
(*.f64 -1/24 (pow.f64 x 2)) |
(*.f64 -1/24 (*.f64 x x)) |
(*.f64 x (*.f64 -1/24 x)) |
(*.f64 -1/24 (pow.f64 x 2)) |
(*.f64 -1/24 (*.f64 x x)) |
(*.f64 x (*.f64 -1/24 x)) |
Found 3 expressions with local error:
| New | Error | Program |
|---|---|---|
| ✓ | 0.1b | (/.f64 (/.f64 1 x) (/.f64 x (-.f64 1 (cos.f64 x)))) |
| ✓ | 0.1b | (/.f64 x (-.f64 1 (cos.f64 x))) |
| 1.6b | (-.f64 1 (cos.f64 x)) |
Compiled 28 to 16 computations (42.9% saved)
6 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 1.0ms | x | @ | -inf | (/.f64 x (-.f64 1 (cos.f64 x))) |
| 1.0ms | x | @ | inf | (/.f64 x (-.f64 1 (cos.f64 x))) |
| 1.0ms | x | @ | 0 | (/.f64 x (-.f64 1 (cos.f64 x))) |
| 1.0ms | x | @ | inf | (/.f64 (/.f64 1 x) (/.f64 x (-.f64 1 (cos.f64 x)))) |
| 0.0ms | x | @ | 0 | (/.f64 (/.f64 1 x) (/.f64 x (-.f64 1 (cos.f64 x)))) |
| 1× | batch-egg-rewrite |
| 484× | log-prod_binary64 |
| 372× | exp-prod_binary64 |
| 275× | pow-prod-down_binary64 |
| 236× | pow2_binary64 |
| 211× | prod-diff_binary64 |
Useful iterations: 1 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 8 | 24 |
| 1 | 183 | 21 |
| 2 | 2708 | 21 |
| 1× | node limit |
| Inputs |
|---|
(/.f64 x (-.f64 1 (cos.f64 x))) |
(/.f64 (/.f64 1 x) (/.f64 x (-.f64 1 (cos.f64 x)))) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x +.f64 0 (/.f64 x (-.f64 1 (cos.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (pow.f64 (cbrt.f64 (exp.f64 (/.f64 x (-.f64 1 (cos.f64 x))))) 2)) (log.f64 (cbrt.f64 (exp.f64 (/.f64 x (-.f64 1 (cos.f64 x)))))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (sqrt.f64 (exp.f64 (/.f64 x (-.f64 1 (cos.f64 x)))))) (log.f64 (sqrt.f64 (exp.f64 (/.f64 x (-.f64 1 (cos.f64 x)))))))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (/.f64 x (-.f64 1 (cos.f64 x))))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 x (/.f64 1 (-.f64 1 (cos.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (/.f64 x (-.f64 1 (cos.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 x (-.f64 1 (cos.f64 x))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 x) 2) (*.f64 (cbrt.f64 x) (/.f64 1 (-.f64 1 (cos.f64 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (/.f64 x (-.f64 1 (cos.f64 x)))) (cbrt.f64 (pow.f64 (/.f64 x (-.f64 1 (cos.f64 x))) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (pow.f64 (/.f64 x (-.f64 1 (cos.f64 x))) 2)) (cbrt.f64 (/.f64 x (-.f64 1 (cos.f64 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 x) (*.f64 (sqrt.f64 x) (/.f64 1 (-.f64 1 (cos.f64 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (/.f64 x (-.f64 1 (cos.f64 x)))) (sqrt.f64 (/.f64 x (-.f64 1 (cos.f64 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (neg.f64 x) (/.f64 1 (neg.f64 (-.f64 1 (cos.f64 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 1 (-.f64 1 (cos.f64 x))) x)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (pow.f64 (cbrt.f64 x) 2) 1) (/.f64 (cbrt.f64 x) (-.f64 1 (cos.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (sqrt.f64 x) 1) (/.f64 (sqrt.f64 x) (-.f64 1 (cos.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (-.f64 1 (cos.f64 x))) -2) (/.f64 x (cbrt.f64 (-.f64 1 (cos.f64 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (pow.f64 (cbrt.f64 x) 2) (pow.f64 (cbrt.f64 (-.f64 1 (cos.f64 x))) 2)) (cbrt.f64 (/.f64 x (-.f64 1 (cos.f64 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (sqrt.f64 x) (pow.f64 (cbrt.f64 (-.f64 1 (cos.f64 x))) 2)) (/.f64 (sqrt.f64 x) (cbrt.f64 (-.f64 1 (cos.f64 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (-.f64 1 (cos.f64 x)) -1/2) (/.f64 x (sqrt.f64 (-.f64 1 (cos.f64 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (pow.f64 (cbrt.f64 x) 2) (sqrt.f64 (-.f64 1 (cos.f64 x)))) (/.f64 (cbrt.f64 x) (sqrt.f64 (-.f64 1 (cos.f64 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 x (-.f64 1 (pow.f64 (cos.f64 x) 3))) (fma.f64 (cos.f64 x) (+.f64 1 (cos.f64 x)) 1))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 x (pow.f64 (sin.f64 x) 2)) (+.f64 1 (cos.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 x (-.f64 1 (cos.f64 x))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (E.f64) (log.f64 (/.f64 x (-.f64 1 (cos.f64 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (/.f64 x (-.f64 1 (cos.f64 x))) 2) 1/2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (/.f64 x (-.f64 1 (cos.f64 x))) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (/.f64 x (-.f64 1 (cos.f64 x)))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (/.f64 x (-.f64 1 (cos.f64 x)))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 (-.f64 1 (cos.f64 x)) x) -1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 (pow.f64 x 3) (pow.f64 (-.f64 1 (cos.f64 x)) 3)) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 (/.f64 (-.f64 1 (cos.f64 x)) x) 1) -1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 (pow.f64 (cbrt.f64 (log.f64 (/.f64 x (-.f64 1 (cos.f64 x))))) 2)) (cbrt.f64 (log.f64 (/.f64 x (-.f64 1 (cos.f64 x))))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 (sqrt.f64 (log.f64 (/.f64 x (-.f64 1 (cos.f64 x)))))) (sqrt.f64 (log.f64 (/.f64 x (-.f64 1 (cos.f64 x))))))))) (#(struct:change #<rule egg-rr> (2) ((x neg.f64 (/.f64 x (neg.f64 (-.f64 1 (cos.f64 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (/.f64 x (-.f64 1 (cos.f64 x))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (/.f64 x (-.f64 1 (cos.f64 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (/.f64 x (-.f64 1 (cos.f64 x))))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (/.f64 x (-.f64 1 (cos.f64 x))) 3))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (/.f64 (pow.f64 x 3) (pow.f64 (-.f64 1 (cos.f64 x)) 3)))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (/.f64 x (-.f64 1 (cos.f64 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (/.f64 x (-.f64 1 (cos.f64 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (/.f64 x (-.f64 1 (cos.f64 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (/.f64 x (-.f64 1 (cos.f64 x)))) 1))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 3 (log.f64 (/.f64 x (-.f64 1 (cos.f64 x))))) 1/3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (cbrt.f64 (/.f64 x (-.f64 1 (cos.f64 x))))) 3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (sqrt.f64 (/.f64 x (-.f64 1 (cos.f64 x))))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (/.f64 (-.f64 1 (cos.f64 x)) x)) -1))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 (log.f64 (/.f64 x (-.f64 1 (cos.f64 x)))) 1) 1))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (-.f64 (*.f64 (log.f64 x) 1) (log1p.f64 (neg.f64 (cos.f64 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (-.f64 (log.f64 x) (*.f64 (log1p.f64 (neg.f64 (cos.f64 x))) 1)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (-.f64 (*.f64 (log.f64 x) 1) (*.f64 (log1p.f64 (neg.f64 (cos.f64 x))) 1))))))) |
((#(struct:change #<rule egg-rr> (2) ((x +.f64 0 (*.f64 (-.f64 1 (cos.f64 x)) (pow.f64 x -2)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (pow.f64 x -2) (*.f64 (neg.f64 (cos.f64 x)) (pow.f64 x -2)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 (pow.f64 x -2) 1) (*.f64 (pow.f64 x -2) (neg.f64 (cos.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (pow.f64 (cbrt.f64 (pow.f64 (exp.f64 (-.f64 1 (cos.f64 x))) (pow.f64 x -2))) 2)) (log.f64 (cbrt.f64 (pow.f64 (exp.f64 (-.f64 1 (cos.f64 x))) (pow.f64 x -2)))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (sqrt.f64 (pow.f64 (exp.f64 (-.f64 1 (cos.f64 x))) (pow.f64 x -2)))) (log.f64 (sqrt.f64 (pow.f64 (exp.f64 (-.f64 1 (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 1 x) (/.f64 (-.f64 1 (cos.f64 x)) x))))) (#(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 x -2) (-.f64 1 (cos.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (*.f64 (-.f64 1 (cos.f64 x)) (pow.f64 x -2))) (cbrt.f64 (*.f64 (pow.f64 x -4) (pow.f64 (-.f64 1 (cos.f64 x)) 2))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (*.f64 (pow.f64 x -4) (pow.f64 (-.f64 1 (cos.f64 x)) 2))) (cbrt.f64 (*.f64 (-.f64 1 (cos.f64 x)) (pow.f64 x -2))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (pow.f64 x -2)) (*.f64 (/.f64 1 (cbrt.f64 x)) (/.f64 (-.f64 1 (cos.f64 x)) x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (/.f64 1 x) (sqrt.f64 (-.f64 1 (cos.f64 x)))) (*.f64 (/.f64 1 x) (sqrt.f64 (-.f64 1 (cos.f64 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 x -1/2) (*.f64 (pow.f64 x -1/2) (/.f64 (-.f64 1 (cos.f64 x)) x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 -1 x) (/.f64 1 (/.f64 (neg.f64 x) (-.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 (pow.f64 x -3/2) (/.f64 (pow.f64 x -1/2) (/.f64 1 (-.f64 1 (cos.f64 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (cbrt.f64 (pow.f64 x -2)) x) (/.f64 (/.f64 1 (cbrt.f64 x)) (/.f64 1 (-.f64 1 (cos.f64 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (cbrt.f64 (pow.f64 x -2)) 1) (/.f64 (/.f64 1 (cbrt.f64 x)) (/.f64 x (-.f64 1 (cos.f64 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (pow.f64 x -1/2) 1) (/.f64 (pow.f64 x -1/2) (/.f64 x (-.f64 1 (cos.f64 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (/.f64 x (-.f64 1 (cos.f64 x)))) -2) (/.f64 (/.f64 1 x) (cbrt.f64 (/.f64 x (-.f64 1 (cos.f64 x))))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (cbrt.f64 (pow.f64 x -2)) (cbrt.f64 (pow.f64 (/.f64 x (-.f64 1 (cos.f64 x))) 2))) (cbrt.f64 (*.f64 (-.f64 1 (cos.f64 x)) (pow.f64 x -2))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (pow.f64 x -1/2) (cbrt.f64 (pow.f64 (/.f64 x (-.f64 1 (cos.f64 x))) 2))) (/.f64 (pow.f64 x -1/2) (cbrt.f64 (/.f64 x (-.f64 1 (cos.f64 x))))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (/.f64 x (-.f64 1 (cos.f64 x))) -1/2) (/.f64 (/.f64 1 x) (sqrt.f64 (/.f64 x (-.f64 1 (cos.f64 x))))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (cbrt.f64 (pow.f64 x -2)) (sqrt.f64 (/.f64 x (-.f64 1 (cos.f64 x))))) (/.f64 (/.f64 1 (cbrt.f64 x)) (sqrt.f64 (/.f64 x (-.f64 1 (cos.f64 x))))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (pow.f64 x -2) 1) (-.f64 1 (cos.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (/.f64 1 x) 1) (/.f64 (-.f64 1 (cos.f64 x)) x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (/.f64 1 x) (neg.f64 x)) (neg.f64 (-.f64 1 (cos.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (pow.f64 x -2) (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 (pow.f64 x -2) (sqrt.f64 (-.f64 1 (cos.f64 x)))) (sqrt.f64 (-.f64 1 (cos.f64 x))))))) (#(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 (E.f64) (log.f64 (*.f64 (-.f64 1 (cos.f64 x)) (pow.f64 x -2))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 (pow.f64 x -4) (pow.f64 (-.f64 1 (cos.f64 x)) 2)) 1/2)))) (#(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 (/.f64 1 x) (sqrt.f64 (-.f64 1 (cos.f64 x)))) 2)))) (#(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 (/.f64 (pow.f64 x -3) (pow.f64 (/.f64 x (-.f64 1 (cos.f64 x))) 3)) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 (*.f64 x (/.f64 x (-.f64 1 (cos.f64 x)))) 1) -1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 (sqrt.f64 (-.f64 1 (cos.f64 x))) (/.f64 1 x)) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 (pow.f64 (cbrt.f64 (log.f64 (*.f64 (-.f64 1 (cos.f64 x)) (pow.f64 x -2)))) 2)) (cbrt.f64 (log.f64 (*.f64 (-.f64 1 (cos.f64 x)) (pow.f64 x -2)))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 (sqrt.f64 (log.f64 (*.f64 (-.f64 1 (cos.f64 x)) (pow.f64 x -2))))) (sqrt.f64 (log.f64 (*.f64 (-.f64 1 (cos.f64 x)) (pow.f64 x -2)))))))) (#(struct:change #<rule egg-rr> (2) ((x neg.f64 (/.f64 (/.f64 1 x) (/.f64 (neg.f64 x) (-.f64 1 (cos.f64 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (*.f64 (pow.f64 x -4) (pow.f64 (-.f64 1 (cos.f64 x)) 2)))))) (#(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 x -3) (pow.f64 (/.f64 x (-.f64 1 (cos.f64 x))) 3)))))) (#(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 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 exp.f64 (*.f64 (*.f64 3 (log.f64 (*.f64 (-.f64 1 (cos.f64 x)) (pow.f64 x -2)))) 1/3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (cbrt.f64 (*.f64 (-.f64 1 (cos.f64 x)) (pow.f64 x -2)))) 3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (*.f64 (/.f64 1 x) (sqrt.f64 (-.f64 1 (cos.f64 x))))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (*.f64 x (/.f64 x (-.f64 1 (cos.f64 x))))) -1))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 (log.f64 (*.f64 (-.f64 1 (cos.f64 x)) (pow.f64 x -2))) 1) 1))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (-.f64 (*.f64 (log.f64 x) -1) (log.f64 (/.f64 x (-.f64 1 (cos.f64 x))))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (-.f64 (*.f64 (neg.f64 (log.f64 x)) 1) (log.f64 (/.f64 x (-.f64 1 (cos.f64 x))))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (-.f64 (neg.f64 (log.f64 x)) (*.f64 (log.f64 (/.f64 x (-.f64 1 (cos.f64 x)))) 1)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (-.f64 (*.f64 (log.f64 x) -1) (*.f64 (log.f64 (/.f64 x (-.f64 1 (cos.f64 x)))) 1)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (-.f64 (*.f64 (neg.f64 (log.f64 x)) 1) (*.f64 (log.f64 (/.f64 x (-.f64 1 (cos.f64 x)))) 1)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (-.f64 (log.f64 (/.f64 (-.f64 1 (cos.f64 x)) x)) (*.f64 (log.f64 x) 1)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (pow.f64 x -2) (*.f64 (neg.f64 (cos.f64 x)) (pow.f64 x -2)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (/.f64 1 x) (/.f64 1 x) (*.f64 (neg.f64 (cos.f64 x)) (pow.f64 x -2)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 x -2) 1 (*.f64 (pow.f64 x -2) (neg.f64 (cos.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (pow.f64 x -2)) (pow.f64 (/.f64 1 (cbrt.f64 x)) 4) (*.f64 (neg.f64 (cos.f64 x)) (pow.f64 x -2)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 x -1/2) (pow.f64 x -3/2) (*.f64 (neg.f64 (cos.f64 x)) (pow.f64 x -2)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 x -3/2) (pow.f64 x -1/2) (*.f64 (neg.f64 (cos.f64 x)) (pow.f64 x -2)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (/.f64 1 (cbrt.f64 x)) 4) (cbrt.f64 (pow.f64 x -2)) (*.f64 (neg.f64 (cos.f64 x)) (pow.f64 x -2)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 x) -2) (/.f64 (/.f64 1 x) (cbrt.f64 x)) (*.f64 (neg.f64 (cos.f64 x)) (pow.f64 x -2)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (/.f64 (cbrt.f64 (pow.f64 x -2)) 1) (/.f64 (/.f64 1 (cbrt.f64 x)) x) (*.f64 (neg.f64 (cos.f64 x)) (pow.f64 x -2)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (/.f64 (pow.f64 x -1/2) 1) (pow.f64 x -3/2) (*.f64 (neg.f64 (cos.f64 x)) (pow.f64 x -2)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (/.f64 (cbrt.f64 (pow.f64 x -2)) (pow.f64 (cbrt.f64 x) 2)) (/.f64 (/.f64 1 (cbrt.f64 x)) (cbrt.f64 x)) (*.f64 (neg.f64 (cos.f64 x)) (pow.f64 x -2)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (/.f64 (pow.f64 x -1/2) (pow.f64 (cbrt.f64 x) 2)) (pow.f64 x -5/6) (*.f64 (neg.f64 (cos.f64 x)) (pow.f64 x -2)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (/.f64 (cbrt.f64 (pow.f64 x -2)) (sqrt.f64 x)) (/.f64 (/.f64 1 (cbrt.f64 x)) (sqrt.f64 x)) (*.f64 (neg.f64 (cos.f64 x)) (pow.f64 x -2)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (/.f64 1 (cbrt.f64 x)) 5) (/.f64 1 (cbrt.f64 x)) (*.f64 (neg.f64 (cos.f64 x)) (pow.f64 x -2))))))) |
| 1× | egg-herbie |
| 604× | div-sub_binary64 |
| 492× | unswap-sqr_binary64 |
| 486× | distribute-lft-out_binary64 |
| 471× | fma-def_binary64 |
| 450× | associate-/l/_binary64 |
Useful iterations: 3 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 43 | 199 |
| 1 | 104 | 195 |
| 2 | 241 | 193 |
| 3 | 682 | 191 |
| 4 | 2502 | 191 |
| 5 | 4938 | 191 |
| 6 | 7594 | 191 |
| 1× | node limit |
| Inputs |
|---|
(/.f64 2 x) |
(+.f64 (*.f64 1/6 x) (*.f64 2 (/.f64 1 x))) |
(+.f64 (*.f64 1/120 (pow.f64 x 3)) (+.f64 (*.f64 1/6 x) (*.f64 2 (/.f64 1 x)))) |
(+.f64 (*.f64 1/120 (pow.f64 x 3)) (+.f64 (*.f64 1/6 x) (+.f64 (*.f64 2 (/.f64 1 x)) (*.f64 1/3024 (pow.f64 x 5))))) |
1/2 |
(+.f64 1/2 (*.f64 -1/24 (pow.f64 x 2))) |
(+.f64 1/2 (+.f64 (*.f64 -1/24 (pow.f64 x 2)) (*.f64 1/720 (pow.f64 x 4)))) |
(+.f64 1/2 (+.f64 (*.f64 -1/24 (pow.f64 x 2)) (+.f64 (*.f64 -1/40320 (pow.f64 x 6)) (*.f64 1/720 (pow.f64 x 4))))) |
(/.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)) |
| Outputs |
|---|
(/.f64 2 x) |
(+.f64 (*.f64 1/6 x) (*.f64 2 (/.f64 1 x))) |
(fma.f64 1/6 x (/.f64 2 x)) |
(fma.f64 x 1/6 (/.f64 2 x)) |
(+.f64 (*.f64 1/120 (pow.f64 x 3)) (+.f64 (*.f64 1/6 x) (*.f64 2 (/.f64 1 x)))) |
(fma.f64 1/120 (pow.f64 x 3) (fma.f64 1/6 x (/.f64 2 x))) |
(fma.f64 1/120 (pow.f64 x 3) (fma.f64 x 1/6 (/.f64 2 x))) |
(fma.f64 x 1/6 (fma.f64 1/120 (pow.f64 x 3) (/.f64 2 x))) |
(+.f64 (*.f64 1/120 (pow.f64 x 3)) (+.f64 (*.f64 1/6 x) (+.f64 (*.f64 2 (/.f64 1 x)) (*.f64 1/3024 (pow.f64 x 5))))) |
(fma.f64 1/120 (pow.f64 x 3) (+.f64 (fma.f64 1/6 x (/.f64 2 x)) (*.f64 1/3024 (pow.f64 x 5)))) |
(fma.f64 1/120 (pow.f64 x 3) (fma.f64 x 1/6 (fma.f64 1/3024 (pow.f64 x 5) (/.f64 2 x)))) |
(fma.f64 x 1/6 (fma.f64 1/120 (pow.f64 x 3) (fma.f64 1/3024 (pow.f64 x 5) (/.f64 2 x)))) |
(fma.f64 x (fma.f64 1/120 (*.f64 x x) 1/6) (fma.f64 1/3024 (pow.f64 x 5) (/.f64 2 x))) |
1/2 |
(+.f64 1/2 (*.f64 -1/24 (pow.f64 x 2))) |
(+.f64 1/2 (*.f64 -1/24 (*.f64 x x))) |
(fma.f64 -1/24 (*.f64 x x) 1/2) |
(fma.f64 x (*.f64 x -1/24) 1/2) |
(+.f64 1/2 (+.f64 (*.f64 -1/24 (pow.f64 x 2)) (*.f64 1/720 (pow.f64 x 4)))) |
(+.f64 1/2 (fma.f64 -1/24 (*.f64 x x) (*.f64 1/720 (pow.f64 x 4)))) |
(fma.f64 x (*.f64 x -1/24) (fma.f64 1/720 (pow.f64 x 4) 1/2)) |
(+.f64 1/2 (+.f64 (*.f64 -1/24 (pow.f64 x 2)) (+.f64 (*.f64 -1/40320 (pow.f64 x 6)) (*.f64 1/720 (pow.f64 x 4))))) |
(+.f64 1/2 (fma.f64 -1/24 (*.f64 x x) (fma.f64 -1/40320 (pow.f64 x 6) (*.f64 1/720 (pow.f64 x 4))))) |
(+.f64 1/2 (fma.f64 -1/24 (*.f64 x x) (fma.f64 1/720 (pow.f64 x 4) (*.f64 -1/40320 (pow.f64 x 6))))) |
(+.f64 (fma.f64 -1/24 (*.f64 x x) 1/2) (fma.f64 -1/40320 (pow.f64 x 6) (*.f64 1/720 (pow.f64 x 4)))) |
(fma.f64 1/720 (pow.f64 x 4) (fma.f64 -1/40320 (pow.f64 x 6) (fma.f64 x (*.f64 x -1/24) 1/2))) |
(fma.f64 x (*.f64 x -1/24) (fma.f64 1/720 (pow.f64 x 4) (fma.f64 -1/40320 (pow.f64 x 6) 1/2))) |
(fma.f64 (*.f64 x x) (fma.f64 x (*.f64 x 1/720) -1/24) (fma.f64 -1/40320 (pow.f64 x 6) 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)) |
Found 2 expressions with local error:
| New | Error | Program |
|---|---|---|
| ✓ | 0.1b | (*.f64 (sin.f64 x) (/.f64 (tan.f64 (/.f64 x 2)) (*.f64 x x))) |
| ✓ | 15.1b | (/.f64 (tan.f64 (/.f64 x 2)) (*.f64 x x)) |
Compiled 34 to 18 computations (47.1% saved)
6 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 7.0ms | x | @ | -inf | (*.f64 (sin.f64 x) (/.f64 (tan.f64 (/.f64 x 2)) (*.f64 x x))) |
| 5.0ms | x | @ | 0 | (/.f64 (tan.f64 (/.f64 x 2)) (*.f64 x x)) |
| 2.0ms | x | @ | inf | (/.f64 (tan.f64 (/.f64 x 2)) (*.f64 x x)) |
| 2.0ms | x | @ | -inf | (/.f64 (tan.f64 (/.f64 x 2)) (*.f64 x x)) |
| 1.0ms | x | @ | inf | (*.f64 (sin.f64 x) (/.f64 (tan.f64 (/.f64 x 2)) (*.f64 x x))) |
| 1× | batch-egg-rewrite |
| 492× | log-prod_binary64 |
| 386× | prod-exp_binary64 |
| 372× | exp-prod_binary64 |
| 309× | pow-prod-down_binary64 |
| 255× | pow2_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 9 | 29 |
| 1 | 198 | 29 |
| 2 | 2621 | 29 |
| 1× | node limit |
| Inputs |
|---|
(/.f64 (tan.f64 (/.f64 x 2)) (*.f64 x x)) |
(*.f64 (sin.f64 x) (/.f64 (tan.f64 (/.f64 x 2)) (*.f64 x x))) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x +.f64 0 (*.f64 (tan.f64 (*.f64 x 1/2)) (pow.f64 x -2)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (pow.f64 (cbrt.f64 (pow.f64 (exp.f64 (tan.f64 (*.f64 x 1/2))) (pow.f64 x -2))) 2)) (log.f64 (cbrt.f64 (pow.f64 (exp.f64 (tan.f64 (*.f64 x 1/2))) (pow.f64 x -2)))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (sqrt.f64 (pow.f64 (exp.f64 (tan.f64 (*.f64 x 1/2))) (pow.f64 x -2)))) (log.f64 (sqrt.f64 (pow.f64 (exp.f64 (tan.f64 (*.f64 x 1/2))) (pow.f64 x -2)))))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (*.f64 (tan.f64 (*.f64 x 1/2)) (pow.f64 x -2)))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (tan.f64 (*.f64 x 1/2)) (pow.f64 x -2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (tan.f64 (*.f64 x 1/2)) (pow.f64 x -2)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (*.f64 (tan.f64 (*.f64 x 1/2)) (pow.f64 x -2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (tan.f64 (*.f64 x 1/2))) 2) (*.f64 (cbrt.f64 (tan.f64 (*.f64 x 1/2))) (pow.f64 x -2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (*.f64 (tan.f64 (*.f64 x 1/2)) (pow.f64 x -2))) (cbrt.f64 (pow.f64 (/.f64 (sqrt.f64 (tan.f64 (*.f64 x 1/2))) x) 4)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (pow.f64 (/.f64 (sqrt.f64 (tan.f64 (*.f64 x 1/2))) x) 4)) (cbrt.f64 (*.f64 (tan.f64 (*.f64 x 1/2)) (pow.f64 x -2))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (tan.f64 (*.f64 x 1/2))) (*.f64 (sqrt.f64 (tan.f64 (*.f64 x 1/2))) (pow.f64 x -2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (sqrt.f64 (tan.f64 (*.f64 x 1/2))) x) (/.f64 (sqrt.f64 (tan.f64 (*.f64 x 1/2))) x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (neg.f64 (tan.f64 (*.f64 x 1/2))) (/.f64 1 (*.f64 x (neg.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 x -2) (tan.f64 (*.f64 x 1/2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (tan.f64 (*.f64 x 1/2)) x) (/.f64 1 x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (pow.f64 (cbrt.f64 (tan.f64 (*.f64 x 1/2))) 2) 1) (/.f64 (cbrt.f64 (tan.f64 (*.f64 x 1/2))) (*.f64 x x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (sqrt.f64 (tan.f64 (*.f64 x 1/2))) 1) (/.f64 (sqrt.f64 (tan.f64 (*.f64 x 1/2))) (*.f64 x x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 1 x) (/.f64 (tan.f64 (*.f64 x 1/2)) x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (pow.f64 (cbrt.f64 (tan.f64 (*.f64 x 1/2))) 2) x) (/.f64 (cbrt.f64 (tan.f64 (*.f64 x 1/2))) x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 1 (*.f64 (cbrt.f64 x) x)) (/.f64 (tan.f64 (*.f64 x 1/2)) (pow.f64 (cbrt.f64 x) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (pow.f64 (cbrt.f64 (tan.f64 (*.f64 x 1/2))) 2) (*.f64 (cbrt.f64 x) x)) (cbrt.f64 (*.f64 (tan.f64 (*.f64 x 1/2)) (pow.f64 x -2))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (sqrt.f64 (tan.f64 (*.f64 x 1/2))) (*.f64 (cbrt.f64 x) x)) (/.f64 (sqrt.f64 (tan.f64 (*.f64 x 1/2))) (pow.f64 (cbrt.f64 x) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 (tan.f64 (*.f64 x 1/2)) (pow.f64 x -2)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (/.f64 (sqrt.f64 (tan.f64 (*.f64 x 1/2))) x) 4) 1/2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (/.f64 (sqrt.f64 (tan.f64 (*.f64 x 1/2))) x) 6) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (*.f64 (tan.f64 (*.f64 x 1/2)) (pow.f64 x -2))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 (sqrt.f64 (tan.f64 (*.f64 x 1/2))) x) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 x (/.f64 (tan.f64 (*.f64 x 1/2)) x)) -1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 1) (log.f64 (*.f64 (tan.f64 (*.f64 x 1/2)) (pow.f64 x -2))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 (pow.f64 (tan.f64 (*.f64 x 1/2)) 3) (pow.f64 x 6)) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 (/.f64 x (/.f64 (tan.f64 (*.f64 x 1/2)) x)) 1) -1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 (pow.f64 (cbrt.f64 (log.f64 (*.f64 (tan.f64 (*.f64 x 1/2)) (pow.f64 x -2)))) 2)) (cbrt.f64 (log.f64 (*.f64 (tan.f64 (*.f64 x 1/2)) (pow.f64 x -2)))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 (sqrt.f64 (log.f64 (*.f64 (tan.f64 (*.f64 x 1/2)) (pow.f64 x -2))))) (sqrt.f64 (log.f64 (*.f64 (tan.f64 (*.f64 x 1/2)) (pow.f64 x -2)))))))) (#(struct:change #<rule egg-rr> (2) ((x neg.f64 (/.f64 (tan.f64 (*.f64 x 1/2)) (*.f64 x (neg.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (/.f64 (sqrt.f64 (tan.f64 (*.f64 x 1/2))) x) 4))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (pow.f64 (exp.f64 (tan.f64 (*.f64 x 1/2))) (pow.f64 x -2)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (*.f64 (tan.f64 (*.f64 x 1/2)) (pow.f64 x -2)))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (/.f64 (sqrt.f64 (tan.f64 (*.f64 x 1/2))) x) 6))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (/.f64 (pow.f64 (tan.f64 (*.f64 x 1/2)) 3) (pow.f64 x 6)))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 (tan.f64 (*.f64 x 1/2)) (pow.f64 x -2))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 (tan.f64 (*.f64 x 1/2)) (pow.f64 x -2))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (*.f64 (tan.f64 (*.f64 x 1/2)) (pow.f64 x -2))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (*.f64 (tan.f64 (*.f64 x 1/2)) (pow.f64 x -2))) 1))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (pow.f64 (/.f64 (sqrt.f64 (tan.f64 (*.f64 x 1/2))) x) 6)) 1/3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (cbrt.f64 (*.f64 (tan.f64 (*.f64 x 1/2)) (pow.f64 x -2)))) 3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (/.f64 (sqrt.f64 (tan.f64 (*.f64 x 1/2))) x)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (/.f64 x (/.f64 (tan.f64 (*.f64 x 1/2)) x))) -1))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 (log.f64 (*.f64 (tan.f64 (*.f64 x 1/2)) (pow.f64 x -2))) 1) 1))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (-.f64 (*.f64 (log.f64 (tan.f64 (*.f64 x 1/2))) 1) (*.f64 2 (log.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (-.f64 (log.f64 (tan.f64 (*.f64 x 1/2))) (*.f64 (log.f64 x) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (-.f64 (*.f64 (log.f64 (tan.f64 (*.f64 x 1/2))) 1) (*.f64 (log.f64 x) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (-.f64 (log.f64 (tan.f64 (*.f64 x 1/2))) (*.f64 (*.f64 2 (log.f64 x)) 1)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (-.f64 (*.f64 (log.f64 (tan.f64 (*.f64 x 1/2))) 1) (*.f64 (*.f64 2 (log.f64 x)) 1)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (-.f64 (log.f64 (/.f64 (tan.f64 (*.f64 x 1/2)) x)) (*.f64 (log.f64 x) 1)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (+.f64 (*.f64 (log.f64 (tan.f64 (*.f64 x 1/2))) 1) (*.f64 -2 (log.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (+.f64 (*.f64 -2 (log.f64 x)) (*.f64 (log.f64 (tan.f64 (*.f64 x 1/2))) 1))))))) |
((#(struct:change #<rule egg-rr> (2) ((x +.f64 0 (*.f64 (tan.f64 (*.f64 x 1/2)) (*.f64 (pow.f64 x -2) (sin.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (pow.f64 (cbrt.f64 (pow.f64 (exp.f64 (sin.f64 x)) (*.f64 (tan.f64 (*.f64 x 1/2)) (pow.f64 x -2)))) 2)) (log.f64 (cbrt.f64 (pow.f64 (exp.f64 (sin.f64 x)) (*.f64 (tan.f64 (*.f64 x 1/2)) (pow.f64 x -2))))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (sqrt.f64 (pow.f64 (exp.f64 (sin.f64 x)) (*.f64 (tan.f64 (*.f64 x 1/2)) (pow.f64 x -2))))) (log.f64 (sqrt.f64 (pow.f64 (exp.f64 (sin.f64 x)) (*.f64 (tan.f64 (*.f64 x 1/2)) (pow.f64 x -2))))))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (*.f64 (tan.f64 (*.f64 x 1/2)) (*.f64 (pow.f64 x -2) (sin.f64 x))))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (sin.f64 x) (/.f64 x (/.f64 (tan.f64 (*.f64 x 1/2)) x)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (*.f64 x x) (*.f64 (tan.f64 (*.f64 x 1/2)) (sin.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (tan.f64 (*.f64 x 1/2)) (sin.f64 x)) (*.f64 x x))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (*.f64 (tan.f64 (*.f64 x 1/2)) (sin.f64 x))) (*.f64 x (neg.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (/.f64 (*.f64 (tan.f64 (*.f64 x 1/2)) (sin.f64 x)) x) x)))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (/.f64 (*.f64 (tan.f64 (*.f64 x 1/2)) (sin.f64 x)) 1) (*.f64 x x))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (/.f64 (*.f64 (tan.f64 (*.f64 x 1/2)) (sin.f64 x)) (*.f64 (cbrt.f64 x) x)) (pow.f64 (cbrt.f64 x) 2))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (neg.f64 (tan.f64 (*.f64 x 1/2))) (sin.f64 x)) (*.f64 x (neg.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (/.f64 (tan.f64 (*.f64 x 1/2)) x) (sin.f64 x)) x)))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (sin.f64 x) (neg.f64 (tan.f64 (*.f64 x 1/2)))) (*.f64 x (neg.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (sin.f64 x) (/.f64 (tan.f64 (*.f64 x 1/2)) x)) x)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 (tan.f64 (*.f64 x 1/2)) (*.f64 (pow.f64 x -2) (sin.f64 x))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (/.f64 (sqrt.f64 (*.f64 (tan.f64 (*.f64 x 1/2)) (sin.f64 x))) x) 4) 1/2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (/.f64 (sqrt.f64 (*.f64 (tan.f64 (*.f64 x 1/2)) (sin.f64 x))) x) 6) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (*.f64 (tan.f64 (*.f64 x 1/2)) (*.f64 (pow.f64 x -2) (sin.f64 x)))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 (sqrt.f64 (*.f64 (tan.f64 (*.f64 x 1/2)) (sin.f64 x))) x) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 1) (log.f64 (*.f64 (tan.f64 (*.f64 x 1/2)) (*.f64 (pow.f64 x -2) (sin.f64 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 (*.f64 x x) (*.f64 (tan.f64 (*.f64 x 1/2)) (sin.f64 x))) -1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 (pow.f64 (cbrt.f64 (log.f64 (*.f64 (tan.f64 (*.f64 x 1/2)) (*.f64 (pow.f64 x -2) (sin.f64 x))))) 2)) (cbrt.f64 (log.f64 (*.f64 (tan.f64 (*.f64 x 1/2)) (*.f64 (pow.f64 x -2) (sin.f64 x))))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 (sqrt.f64 (log.f64 (*.f64 (tan.f64 (*.f64 x 1/2)) (*.f64 (pow.f64 x -2) (sin.f64 x)))))) (sqrt.f64 (log.f64 (*.f64 (tan.f64 (*.f64 x 1/2)) (*.f64 (pow.f64 x -2) (sin.f64 x))))))))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (/.f64 (sqrt.f64 (*.f64 (tan.f64 (*.f64 x 1/2)) (sin.f64 x))) x) 4))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (pow.f64 (exp.f64 (sin.f64 x)) (*.f64 (tan.f64 (*.f64 x 1/2)) (pow.f64 x -2))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (*.f64 (tan.f64 (*.f64 x 1/2)) (*.f64 (pow.f64 x -2) (sin.f64 x))))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (/.f64 (sqrt.f64 (*.f64 (tan.f64 (*.f64 x 1/2)) (sin.f64 x))) x) 6))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 (tan.f64 (*.f64 x 1/2)) (*.f64 (pow.f64 x -2) (sin.f64 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 (tan.f64 (*.f64 x 1/2)) (*.f64 (pow.f64 x -2) (sin.f64 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (*.f64 (tan.f64 (*.f64 x 1/2)) (*.f64 (pow.f64 x -2) (sin.f64 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (*.f64 (tan.f64 (*.f64 x 1/2)) (*.f64 (pow.f64 x -2) (sin.f64 x)))) 1))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (pow.f64 (/.f64 (sqrt.f64 (*.f64 (tan.f64 (*.f64 x 1/2)) (sin.f64 x))) x) 6)) 1/3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (cbrt.f64 (*.f64 (tan.f64 (*.f64 x 1/2)) (*.f64 (pow.f64 x -2) (sin.f64 x))))) 3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (/.f64 (sqrt.f64 (*.f64 (tan.f64 (*.f64 x 1/2)) (sin.f64 x))) x)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 (log.f64 (*.f64 (tan.f64 (*.f64 x 1/2)) (*.f64 (pow.f64 x -2) (sin.f64 x)))) 1) 1))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (-.f64 (*.f64 (log.f64 (sin.f64 x)) 1) (log.f64 (/.f64 x (/.f64 (tan.f64 (*.f64 x 1/2)) x)))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (-.f64 (log.f64 (*.f64 (tan.f64 (*.f64 x 1/2)) (sin.f64 x))) (*.f64 (log.f64 x) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (-.f64 (log.f64 (*.f64 (tan.f64 (*.f64 x 1/2)) (sin.f64 x))) (*.f64 (*.f64 2 (log.f64 x)) 1)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (+.f64 (*.f64 (log.f64 (*.f64 (tan.f64 (*.f64 x 1/2)) (pow.f64 x -2))) 1) (log.f64 (sin.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (+.f64 (log.f64 (*.f64 (tan.f64 (*.f64 x 1/2)) (pow.f64 x -2))) (*.f64 (log.f64 (sin.f64 x)) 1)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (+.f64 (*.f64 (log.f64 (*.f64 (tan.f64 (*.f64 x 1/2)) (pow.f64 x -2))) 1) (*.f64 (log.f64 (sin.f64 x)) 1)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (+.f64 (*.f64 (log.f64 (sin.f64 x)) 1) (log.f64 (*.f64 (tan.f64 (*.f64 x 1/2)) (pow.f64 x -2)))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (+.f64 (log.f64 (sin.f64 x)) (*.f64 (log.f64 (*.f64 (tan.f64 (*.f64 x 1/2)) (pow.f64 x -2))) 1)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (+.f64 (*.f64 (log.f64 (sin.f64 x)) 1) (*.f64 (log.f64 (*.f64 (tan.f64 (*.f64 x 1/2)) (pow.f64 x -2))) 1))))))) |
| 1× | egg-herbie |
| 631× | associate-/r/_binary64 |
| 492× | unswap-sqr_binary64 |
| 486× | distribute-lft-out_binary64 |
| 468× | fma-def_binary64 |
| 427× | *-commutative_binary64 |
Useful iterations: 3 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 49 | 465 |
| 1 | 119 | 461 |
| 2 | 281 | 457 |
| 3 | 783 | 455 |
| 4 | 2898 | 455 |
| 5 | 6407 | 455 |
| 6 | 7854 | 455 |
| 1× | node limit |
| Inputs |
|---|
(/.f64 1/2 x) |
(+.f64 (*.f64 1/24 x) (*.f64 1/2 (/.f64 1 x))) |
(+.f64 (*.f64 1/24 x) (+.f64 (*.f64 1/2 (/.f64 1 x)) (*.f64 1/240 (pow.f64 x 3)))) |
(+.f64 (*.f64 1/24 x) (+.f64 (*.f64 1/2 (/.f64 1 x)) (+.f64 (*.f64 17/40320 (pow.f64 x 5)) (*.f64 1/240 (pow.f64 x 3))))) |
(/.f64 (sin.f64 (*.f64 1/2 x)) (*.f64 (cos.f64 (*.f64 1/2 x)) (pow.f64 x 2))) |
(/.f64 (sin.f64 (*.f64 1/2 x)) (*.f64 (cos.f64 (*.f64 1/2 x)) (pow.f64 x 2))) |
(/.f64 (sin.f64 (*.f64 1/2 x)) (*.f64 (cos.f64 (*.f64 1/2 x)) (pow.f64 x 2))) |
(/.f64 (sin.f64 (*.f64 1/2 x)) (*.f64 (cos.f64 (*.f64 1/2 x)) (pow.f64 x 2))) |
(/.f64 (sin.f64 (*.f64 1/2 x)) (*.f64 (cos.f64 (*.f64 1/2 x)) (pow.f64 x 2))) |
(/.f64 (sin.f64 (*.f64 1/2 x)) (*.f64 (cos.f64 (*.f64 1/2 x)) (pow.f64 x 2))) |
(/.f64 (sin.f64 (*.f64 1/2 x)) (*.f64 (cos.f64 (*.f64 1/2 x)) (pow.f64 x 2))) |
(/.f64 (sin.f64 (*.f64 1/2 x)) (*.f64 (cos.f64 (*.f64 1/2 x)) (pow.f64 x 2))) |
1/2 |
(+.f64 1/2 (*.f64 -1/24 (pow.f64 x 2))) |
(+.f64 1/2 (+.f64 (*.f64 -1/24 (pow.f64 x 2)) (*.f64 1/720 (pow.f64 x 4)))) |
(+.f64 1/2 (+.f64 (*.f64 -1/24 (pow.f64 x 2)) (+.f64 (*.f64 -1/40320 (pow.f64 x 6)) (*.f64 1/720 (pow.f64 x 4))))) |
(/.f64 (*.f64 (sin.f64 x) (sin.f64 (*.f64 1/2 x))) (*.f64 (cos.f64 (*.f64 1/2 x)) (pow.f64 x 2))) |
(/.f64 (*.f64 (sin.f64 x) (sin.f64 (*.f64 1/2 x))) (*.f64 (cos.f64 (*.f64 1/2 x)) (pow.f64 x 2))) |
(/.f64 (*.f64 (sin.f64 x) (sin.f64 (*.f64 1/2 x))) (*.f64 (cos.f64 (*.f64 1/2 x)) (pow.f64 x 2))) |
(/.f64 (*.f64 (sin.f64 x) (sin.f64 (*.f64 1/2 x))) (*.f64 (cos.f64 (*.f64 1/2 x)) (pow.f64 x 2))) |
(/.f64 (*.f64 (sin.f64 x) (sin.f64 (*.f64 1/2 x))) (*.f64 (cos.f64 (*.f64 1/2 x)) (pow.f64 x 2))) |
(/.f64 (*.f64 (sin.f64 x) (sin.f64 (*.f64 1/2 x))) (*.f64 (cos.f64 (*.f64 1/2 x)) (pow.f64 x 2))) |
(/.f64 (*.f64 (sin.f64 x) (sin.f64 (*.f64 1/2 x))) (*.f64 (cos.f64 (*.f64 1/2 x)) (pow.f64 x 2))) |
(/.f64 (*.f64 (sin.f64 x) (sin.f64 (*.f64 1/2 x))) (*.f64 (cos.f64 (*.f64 1/2 x)) (pow.f64 x 2))) |
| Outputs |
|---|
(/.f64 1/2 x) |
(+.f64 (*.f64 1/24 x) (*.f64 1/2 (/.f64 1 x))) |
(fma.f64 1/24 x (/.f64 1/2 x)) |
(fma.f64 x 1/24 (/.f64 1/2 x)) |
(+.f64 (*.f64 1/24 x) (+.f64 (*.f64 1/2 (/.f64 1 x)) (*.f64 1/240 (pow.f64 x 3)))) |
(+.f64 (fma.f64 1/24 x (/.f64 1/2 x)) (*.f64 1/240 (pow.f64 x 3))) |
(fma.f64 x 1/24 (fma.f64 1/240 (pow.f64 x 3) (/.f64 1/2 x))) |
(fma.f64 x (fma.f64 1/240 (*.f64 x x) 1/24) (/.f64 1/2 x)) |
(fma.f64 x (fma.f64 x (*.f64 x 1/240) 1/24) (/.f64 1/2 x)) |
(+.f64 (*.f64 1/24 x) (+.f64 (*.f64 1/2 (/.f64 1 x)) (+.f64 (*.f64 17/40320 (pow.f64 x 5)) (*.f64 1/240 (pow.f64 x 3))))) |
(+.f64 (fma.f64 1/24 x (/.f64 1/2 x)) (fma.f64 17/40320 (pow.f64 x 5) (*.f64 1/240 (pow.f64 x 3)))) |
(+.f64 (fma.f64 x 1/24 (/.f64 1/2 x)) (fma.f64 17/40320 (pow.f64 x 5) (*.f64 1/240 (pow.f64 x 3)))) |
(fma.f64 x 1/24 (fma.f64 1/240 (pow.f64 x 3) (fma.f64 17/40320 (pow.f64 x 5) (/.f64 1/2 x)))) |
(fma.f64 17/40320 (pow.f64 x 5) (fma.f64 x (fma.f64 1/240 (*.f64 x x) 1/24) (/.f64 1/2 x))) |
(/.f64 (sin.f64 (*.f64 1/2 x)) (*.f64 (cos.f64 (*.f64 1/2 x)) (pow.f64 x 2))) |
(/.f64 (sin.f64 (*.f64 1/2 x)) (*.f64 (cos.f64 (*.f64 1/2 x)) (*.f64 x x))) |
(/.f64 (sin.f64 (*.f64 1/2 x)) (*.f64 x (*.f64 x (cos.f64 (*.f64 1/2 x))))) |
(/.f64 (/.f64 (sin.f64 (*.f64 1/2 x)) (cos.f64 (*.f64 1/2 x))) (*.f64 x x)) |
(/.f64 (/.f64 (sin.f64 (*.f64 1/2 x)) (*.f64 x (cos.f64 (*.f64 1/2 x)))) x) |
(/.f64 (sin.f64 (*.f64 1/2 x)) (*.f64 (cos.f64 (*.f64 1/2 x)) (pow.f64 x 2))) |
(/.f64 (sin.f64 (*.f64 1/2 x)) (*.f64 (cos.f64 (*.f64 1/2 x)) (*.f64 x x))) |
(/.f64 (sin.f64 (*.f64 1/2 x)) (*.f64 x (*.f64 x (cos.f64 (*.f64 1/2 x))))) |
(/.f64 (/.f64 (sin.f64 (*.f64 1/2 x)) (cos.f64 (*.f64 1/2 x))) (*.f64 x x)) |
(/.f64 (/.f64 (sin.f64 (*.f64 1/2 x)) (*.f64 x (cos.f64 (*.f64 1/2 x)))) x) |
(/.f64 (sin.f64 (*.f64 1/2 x)) (*.f64 (cos.f64 (*.f64 1/2 x)) (pow.f64 x 2))) |
(/.f64 (sin.f64 (*.f64 1/2 x)) (*.f64 (cos.f64 (*.f64 1/2 x)) (*.f64 x x))) |
(/.f64 (sin.f64 (*.f64 1/2 x)) (*.f64 x (*.f64 x (cos.f64 (*.f64 1/2 x))))) |
(/.f64 (/.f64 (sin.f64 (*.f64 1/2 x)) (cos.f64 (*.f64 1/2 x))) (*.f64 x x)) |
(/.f64 (/.f64 (sin.f64 (*.f64 1/2 x)) (*.f64 x (cos.f64 (*.f64 1/2 x)))) x) |
(/.f64 (sin.f64 (*.f64 1/2 x)) (*.f64 (cos.f64 (*.f64 1/2 x)) (pow.f64 x 2))) |
(/.f64 (sin.f64 (*.f64 1/2 x)) (*.f64 (cos.f64 (*.f64 1/2 x)) (*.f64 x x))) |
(/.f64 (sin.f64 (*.f64 1/2 x)) (*.f64 x (*.f64 x (cos.f64 (*.f64 1/2 x))))) |
(/.f64 (/.f64 (sin.f64 (*.f64 1/2 x)) (cos.f64 (*.f64 1/2 x))) (*.f64 x x)) |
(/.f64 (/.f64 (sin.f64 (*.f64 1/2 x)) (*.f64 x (cos.f64 (*.f64 1/2 x)))) x) |
(/.f64 (sin.f64 (*.f64 1/2 x)) (*.f64 (cos.f64 (*.f64 1/2 x)) (pow.f64 x 2))) |
(/.f64 (sin.f64 (*.f64 1/2 x)) (*.f64 (cos.f64 (*.f64 1/2 x)) (*.f64 x x))) |
(/.f64 (sin.f64 (*.f64 1/2 x)) (*.f64 x (*.f64 x (cos.f64 (*.f64 1/2 x))))) |
(/.f64 (/.f64 (sin.f64 (*.f64 1/2 x)) (cos.f64 (*.f64 1/2 x))) (*.f64 x x)) |
(/.f64 (/.f64 (sin.f64 (*.f64 1/2 x)) (*.f64 x (cos.f64 (*.f64 1/2 x)))) x) |
(/.f64 (sin.f64 (*.f64 1/2 x)) (*.f64 (cos.f64 (*.f64 1/2 x)) (pow.f64 x 2))) |
(/.f64 (sin.f64 (*.f64 1/2 x)) (*.f64 (cos.f64 (*.f64 1/2 x)) (*.f64 x x))) |
(/.f64 (sin.f64 (*.f64 1/2 x)) (*.f64 x (*.f64 x (cos.f64 (*.f64 1/2 x))))) |
(/.f64 (/.f64 (sin.f64 (*.f64 1/2 x)) (cos.f64 (*.f64 1/2 x))) (*.f64 x x)) |
(/.f64 (/.f64 (sin.f64 (*.f64 1/2 x)) (*.f64 x (cos.f64 (*.f64 1/2 x)))) x) |
(/.f64 (sin.f64 (*.f64 1/2 x)) (*.f64 (cos.f64 (*.f64 1/2 x)) (pow.f64 x 2))) |
(/.f64 (sin.f64 (*.f64 1/2 x)) (*.f64 (cos.f64 (*.f64 1/2 x)) (*.f64 x x))) |
(/.f64 (sin.f64 (*.f64 1/2 x)) (*.f64 x (*.f64 x (cos.f64 (*.f64 1/2 x))))) |
(/.f64 (/.f64 (sin.f64 (*.f64 1/2 x)) (cos.f64 (*.f64 1/2 x))) (*.f64 x x)) |
(/.f64 (/.f64 (sin.f64 (*.f64 1/2 x)) (*.f64 x (cos.f64 (*.f64 1/2 x)))) x) |
(/.f64 (sin.f64 (*.f64 1/2 x)) (*.f64 (cos.f64 (*.f64 1/2 x)) (pow.f64 x 2))) |
(/.f64 (sin.f64 (*.f64 1/2 x)) (*.f64 (cos.f64 (*.f64 1/2 x)) (*.f64 x x))) |
(/.f64 (sin.f64 (*.f64 1/2 x)) (*.f64 x (*.f64 x (cos.f64 (*.f64 1/2 x))))) |
(/.f64 (/.f64 (sin.f64 (*.f64 1/2 x)) (cos.f64 (*.f64 1/2 x))) (*.f64 x x)) |
(/.f64 (/.f64 (sin.f64 (*.f64 1/2 x)) (*.f64 x (cos.f64 (*.f64 1/2 x)))) x) |
1/2 |
(+.f64 1/2 (*.f64 -1/24 (pow.f64 x 2))) |
(+.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 1/2 (+.f64 (*.f64 -1/24 (pow.f64 x 2)) (*.f64 1/720 (pow.f64 x 4)))) |
(+.f64 1/2 (fma.f64 -1/24 (*.f64 x x) (*.f64 1/720 (pow.f64 x 4)))) |
(+.f64 1/2 (fma.f64 1/720 (pow.f64 x 4) (*.f64 (*.f64 x x) -1/24))) |
(fma.f64 x (*.f64 x -1/24) (fma.f64 1/720 (pow.f64 x 4) 1/2)) |
(fma.f64 (*.f64 x x) (fma.f64 x (*.f64 x 1/720) -1/24) 1/2) |
(+.f64 1/2 (+.f64 (*.f64 -1/24 (pow.f64 x 2)) (+.f64 (*.f64 -1/40320 (pow.f64 x 6)) (*.f64 1/720 (pow.f64 x 4))))) |
(+.f64 1/2 (fma.f64 -1/24 (*.f64 x x) (fma.f64 -1/40320 (pow.f64 x 6) (*.f64 1/720 (pow.f64 x 4))))) |
(+.f64 (fma.f64 (*.f64 x x) -1/24 1/2) (fma.f64 1/720 (pow.f64 x 4) (*.f64 -1/40320 (pow.f64 x 6)))) |
(+.f64 1/2 (fma.f64 x (*.f64 x -1/24) (fma.f64 1/720 (pow.f64 x 4) (*.f64 -1/40320 (pow.f64 x 6))))) |
(fma.f64 -1/40320 (pow.f64 x 6) (fma.f64 (*.f64 x x) (fma.f64 x (*.f64 x 1/720) -1/24) 1/2)) |
(fma.f64 x (*.f64 x -1/24) (fma.f64 1/720 (pow.f64 x 4) (fma.f64 -1/40320 (pow.f64 x 6) 1/2))) |
(/.f64 (*.f64 (sin.f64 x) (sin.f64 (*.f64 1/2 x))) (*.f64 (cos.f64 (*.f64 1/2 x)) (pow.f64 x 2))) |
(*.f64 (/.f64 (sin.f64 x) (cos.f64 (*.f64 1/2 x))) (/.f64 (sin.f64 (*.f64 1/2 x)) (*.f64 x x))) |
(*.f64 (/.f64 (/.f64 (sin.f64 (*.f64 1/2 x)) (cos.f64 (*.f64 1/2 x))) (*.f64 x x)) (sin.f64 x)) |
(*.f64 (sin.f64 (*.f64 1/2 x)) (/.f64 (/.f64 (sin.f64 x) (*.f64 x x)) (cos.f64 (*.f64 1/2 x)))) |
(*.f64 (sin.f64 (*.f64 1/2 x)) (/.f64 (/.f64 (sin.f64 x) (cos.f64 (*.f64 1/2 x))) (*.f64 x x))) |
(/.f64 (*.f64 (sin.f64 x) (sin.f64 (*.f64 1/2 x))) (*.f64 (cos.f64 (*.f64 1/2 x)) (pow.f64 x 2))) |
(*.f64 (/.f64 (sin.f64 x) (cos.f64 (*.f64 1/2 x))) (/.f64 (sin.f64 (*.f64 1/2 x)) (*.f64 x x))) |
(*.f64 (/.f64 (/.f64 (sin.f64 (*.f64 1/2 x)) (cos.f64 (*.f64 1/2 x))) (*.f64 x x)) (sin.f64 x)) |
(*.f64 (sin.f64 (*.f64 1/2 x)) (/.f64 (/.f64 (sin.f64 x) (*.f64 x x)) (cos.f64 (*.f64 1/2 x)))) |
(*.f64 (sin.f64 (*.f64 1/2 x)) (/.f64 (/.f64 (sin.f64 x) (cos.f64 (*.f64 1/2 x))) (*.f64 x x))) |
(/.f64 (*.f64 (sin.f64 x) (sin.f64 (*.f64 1/2 x))) (*.f64 (cos.f64 (*.f64 1/2 x)) (pow.f64 x 2))) |
(*.f64 (/.f64 (sin.f64 x) (cos.f64 (*.f64 1/2 x))) (/.f64 (sin.f64 (*.f64 1/2 x)) (*.f64 x x))) |
(*.f64 (/.f64 (/.f64 (sin.f64 (*.f64 1/2 x)) (cos.f64 (*.f64 1/2 x))) (*.f64 x x)) (sin.f64 x)) |
(*.f64 (sin.f64 (*.f64 1/2 x)) (/.f64 (/.f64 (sin.f64 x) (*.f64 x x)) (cos.f64 (*.f64 1/2 x)))) |
(*.f64 (sin.f64 (*.f64 1/2 x)) (/.f64 (/.f64 (sin.f64 x) (cos.f64 (*.f64 1/2 x))) (*.f64 x x))) |
(/.f64 (*.f64 (sin.f64 x) (sin.f64 (*.f64 1/2 x))) (*.f64 (cos.f64 (*.f64 1/2 x)) (pow.f64 x 2))) |
(*.f64 (/.f64 (sin.f64 x) (cos.f64 (*.f64 1/2 x))) (/.f64 (sin.f64 (*.f64 1/2 x)) (*.f64 x x))) |
(*.f64 (/.f64 (/.f64 (sin.f64 (*.f64 1/2 x)) (cos.f64 (*.f64 1/2 x))) (*.f64 x x)) (sin.f64 x)) |
(*.f64 (sin.f64 (*.f64 1/2 x)) (/.f64 (/.f64 (sin.f64 x) (*.f64 x x)) (cos.f64 (*.f64 1/2 x)))) |
(*.f64 (sin.f64 (*.f64 1/2 x)) (/.f64 (/.f64 (sin.f64 x) (cos.f64 (*.f64 1/2 x))) (*.f64 x x))) |
(/.f64 (*.f64 (sin.f64 x) (sin.f64 (*.f64 1/2 x))) (*.f64 (cos.f64 (*.f64 1/2 x)) (pow.f64 x 2))) |
(*.f64 (/.f64 (sin.f64 x) (cos.f64 (*.f64 1/2 x))) (/.f64 (sin.f64 (*.f64 1/2 x)) (*.f64 x x))) |
(*.f64 (/.f64 (/.f64 (sin.f64 (*.f64 1/2 x)) (cos.f64 (*.f64 1/2 x))) (*.f64 x x)) (sin.f64 x)) |
(*.f64 (sin.f64 (*.f64 1/2 x)) (/.f64 (/.f64 (sin.f64 x) (*.f64 x x)) (cos.f64 (*.f64 1/2 x)))) |
(*.f64 (sin.f64 (*.f64 1/2 x)) (/.f64 (/.f64 (sin.f64 x) (cos.f64 (*.f64 1/2 x))) (*.f64 x x))) |
(/.f64 (*.f64 (sin.f64 x) (sin.f64 (*.f64 1/2 x))) (*.f64 (cos.f64 (*.f64 1/2 x)) (pow.f64 x 2))) |
(*.f64 (/.f64 (sin.f64 x) (cos.f64 (*.f64 1/2 x))) (/.f64 (sin.f64 (*.f64 1/2 x)) (*.f64 x x))) |
(*.f64 (/.f64 (/.f64 (sin.f64 (*.f64 1/2 x)) (cos.f64 (*.f64 1/2 x))) (*.f64 x x)) (sin.f64 x)) |
(*.f64 (sin.f64 (*.f64 1/2 x)) (/.f64 (/.f64 (sin.f64 x) (*.f64 x x)) (cos.f64 (*.f64 1/2 x)))) |
(*.f64 (sin.f64 (*.f64 1/2 x)) (/.f64 (/.f64 (sin.f64 x) (cos.f64 (*.f64 1/2 x))) (*.f64 x x))) |
(/.f64 (*.f64 (sin.f64 x) (sin.f64 (*.f64 1/2 x))) (*.f64 (cos.f64 (*.f64 1/2 x)) (pow.f64 x 2))) |
(*.f64 (/.f64 (sin.f64 x) (cos.f64 (*.f64 1/2 x))) (/.f64 (sin.f64 (*.f64 1/2 x)) (*.f64 x x))) |
(*.f64 (/.f64 (/.f64 (sin.f64 (*.f64 1/2 x)) (cos.f64 (*.f64 1/2 x))) (*.f64 x x)) (sin.f64 x)) |
(*.f64 (sin.f64 (*.f64 1/2 x)) (/.f64 (/.f64 (sin.f64 x) (*.f64 x x)) (cos.f64 (*.f64 1/2 x)))) |
(*.f64 (sin.f64 (*.f64 1/2 x)) (/.f64 (/.f64 (sin.f64 x) (cos.f64 (*.f64 1/2 x))) (*.f64 x x))) |
(/.f64 (*.f64 (sin.f64 x) (sin.f64 (*.f64 1/2 x))) (*.f64 (cos.f64 (*.f64 1/2 x)) (pow.f64 x 2))) |
(*.f64 (/.f64 (sin.f64 x) (cos.f64 (*.f64 1/2 x))) (/.f64 (sin.f64 (*.f64 1/2 x)) (*.f64 x x))) |
(*.f64 (/.f64 (/.f64 (sin.f64 (*.f64 1/2 x)) (cos.f64 (*.f64 1/2 x))) (*.f64 x x)) (sin.f64 x)) |
(*.f64 (sin.f64 (*.f64 1/2 x)) (/.f64 (/.f64 (sin.f64 x) (*.f64 x x)) (cos.f64 (*.f64 1/2 x)))) |
(*.f64 (sin.f64 (*.f64 1/2 x)) (/.f64 (/.f64 (sin.f64 x) (cos.f64 (*.f64 1/2 x))) (*.f64 x x))) |
Found 4 expressions with local error:
| New | Error | Program |
|---|---|---|
| ✓ | 0.2b | (/.f64 (pow.f64 (sin.f64 x) 2) (+.f64 (cos.f64 x) 1)) |
| 0.3b | (pow.f64 (sin.f64 x) 2) | |
| ✓ | 0.4b | (+.f64 (cos.f64 x) 1) |
| ✓ | 15.1b | (/.f64 (/.f64 (pow.f64 (sin.f64 x) 2) (+.f64 (cos.f64 x) 1)) (*.f64 x x)) |
Compiled 41 to 21 computations (48.8% saved)
9 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 1.0ms | x | @ | 0 | (/.f64 (/.f64 (pow.f64 (sin.f64 x) 2) (+.f64 (cos.f64 x) 1)) (*.f64 x x)) |
| 1.0ms | x | @ | inf | (/.f64 (/.f64 (pow.f64 (sin.f64 x) 2) (+.f64 (cos.f64 x) 1)) (*.f64 x x)) |
| 1.0ms | x | @ | 0 | (/.f64 (pow.f64 (sin.f64 x) 2) (+.f64 (cos.f64 x) 1)) |
| 1.0ms | x | @ | -inf | (/.f64 (/.f64 (pow.f64 (sin.f64 x) 2) (+.f64 (cos.f64 x) 1)) (*.f64 x x)) |
| 0.0ms | x | @ | 0 | (+.f64 (cos.f64 x) 1) |
| 1× | batch-egg-rewrite |
| 560× | log-prod_binary64 |
| 369× | pow-prod-down_binary64 |
| 287× | pow2_binary64 |
| 199× | pow1/3_binary64 |
| 193× | log-div_binary64 |
Useful iterations: 2 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 11 | 40 |
| 1 | 240 | 34 |
| 2 | 3294 | 24 |
| 1× | node limit |
| Inputs |
|---|
(/.f64 (/.f64 (pow.f64 (sin.f64 x) 2) (+.f64 (cos.f64 x) 1)) (*.f64 x x)) |
(+.f64 (cos.f64 x) 1) |
(/.f64 (pow.f64 (sin.f64 x) 2) (+.f64 (cos.f64 x) 1)) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x +.f64 0 (*.f64 (-.f64 1 (cos.f64 x)) (pow.f64 x -2)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (pow.f64 (cbrt.f64 (exp.f64 (*.f64 (-.f64 1 (cos.f64 x)) (pow.f64 x -2)))) 2)) (log.f64 (cbrt.f64 (exp.f64 (*.f64 (-.f64 1 (cos.f64 x)) (pow.f64 x -2))))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (sqrt.f64 (exp.f64 (*.f64 (-.f64 1 (cos.f64 x)) (pow.f64 x -2))))) (log.f64 (sqrt.f64 (exp.f64 (*.f64 (-.f64 1 (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 (pow.f64 (sin.f64 x) 2) (*.f64 (/.f64 1 (+.f64 (cos.f64 x) 1)) (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 (cbrt.f64 (*.f64 (-.f64 1 (cos.f64 x)) (pow.f64 x -2))) (cbrt.f64 (pow.f64 (/.f64 (sqrt.f64 (-.f64 1 (cos.f64 x))) x) 4)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (pow.f64 (/.f64 (sqrt.f64 (-.f64 1 (cos.f64 x))) x) 4)) (cbrt.f64 (*.f64 (-.f64 1 (cos.f64 x)) (pow.f64 x -2))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (pow.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 (/.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 (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 (cos.f64 x) -1) (/.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 (sin.f64 x) (*.f64 x x)) (tan.f64 (/.f64 x 2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (cbrt.f64 (pow.f64 (sin.f64 x) 4)) (*.f64 x x)) (/.f64 (cbrt.f64 (pow.f64 (sin.f64 x) 2)) (+.f64 (cos.f64 x) 1)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (pow.f64 (sin.f64 x) 2) x) (/.f64 (/.f64 1 (+.f64 (cos.f64 x) 1)) 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 (cbrt.f64 (pow.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) 1) (/.f64 (/.f64 1 (+.f64 (cos.f64 x) 1)) (*.f64 x x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (cbrt.f64 (pow.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 (pow.f64 (sin.f64 x) 2) (*.f64 (cbrt.f64 x) x)) (/.f64 (/.f64 1 (+.f64 (cos.f64 x) 1)) (pow.f64 (cbrt.f64 x) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 1 (*.f64 (cbrt.f64 x) x)) (/.f64 (-.f64 1 (cos.f64 x)) (pow.f64 (cbrt.f64 x) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (cbrt.f64 (pow.f64 (-.f64 1 (cos.f64 x)) 2)) (*.f64 (cbrt.f64 x) x)) (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))) (*.f64 (cbrt.f64 x) x)) (/.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 (sqrt.f64 (-.f64 1 (cos.f64 x))) x) 4) 1/2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (/.f64 (sqrt.f64 (-.f64 1 (cos.f64 x))) x) 6) 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 pow.f64 (/.f64 (pow.f64 (-.f64 1 (cos.f64 x)) 3) (pow.f64 x 6)) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 (/.f64 1 (-.f64 1 (cos.f64 x))) (*.f64 x x)) -1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 (*.f64 (+.f64 (cos.f64 x) 1) (*.f64 x x)) (pow.f64 (sin.f64 x) 2)) -1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 (/.f64 (*.f64 x x) (-.f64 1 (cos.f64 x))) 1) -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 (pow.f64 (/.f64 (sqrt.f64 (-.f64 1 (cos.f64 x))) x) 4))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (*.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 (sqrt.f64 (-.f64 1 (cos.f64 x))) x) 6))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (/.f64 (pow.f64 (-.f64 1 (cos.f64 x)) 3) (pow.f64 x 6)))))) (#(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 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 -.f64 (exp.f64 (log1p.f64 (+.f64 (cos.f64 x) 1))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (/.f64 (pow.f64 (cos.f64 x) 2) (+.f64 (cos.f64 x) -1)) (/.f64 1 (+.f64 (cos.f64 x) -1)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (+.f64 (cos.f64 x) 1))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 (cos.f64 x) 1) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (+.f64 (cos.f64 x) 1)) (pow.f64 (cbrt.f64 (+.f64 (cos.f64 x) 1)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (+.f64 (cos.f64 x) 1)) 2) (cbrt.f64 (+.f64 (cos.f64 x) 1)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (+.f64 (cos.f64 x) 1)) (sqrt.f64 (+.f64 (cos.f64 x) 1)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 1 (pow.f64 (cos.f64 x) 3)) (/.f64 1 (-.f64 (+.f64 (pow.f64 (cos.f64 x) 2) 1) (cos.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (neg.f64 (pow.f64 (sin.f64 x) 2)) (/.f64 1 (+.f64 (cos.f64 x) -1)))))) (#(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 (+.f64 (pow.f64 (cos.f64 x) 2) 1) (cos.f64 x)) (+.f64 1 (pow.f64 (cos.f64 x) 3))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (+.f64 (cos.f64 x) -1) (neg.f64 (pow.f64 (sin.f64 x) 2))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 1 (pow.f64 (cos.f64 x) 3)) (-.f64 (+.f64 (pow.f64 (cos.f64 x) 2) 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 (neg.f64 (pow.f64 (sin.f64 x) 2)) (+.f64 (cos.f64 x) -1))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (+.f64 1 (pow.f64 (cos.f64 x) 3))) (neg.f64 (-.f64 (+.f64 (pow.f64 (cos.f64 x) 2) 1) (cos.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (neg.f64 (pow.f64 (sin.f64 x) 2))) (neg.f64 (+.f64 (cos.f64 x) -1)))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (+.f64 (cos.f64 x) 1) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (+.f64 (cos.f64 x) 1) 2) 1/2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (+.f64 (cos.f64 x) 1) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (+.f64 (cos.f64 x) 1)) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (+.f64 (cos.f64 x) 1)) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 (-.f64 (+.f64 (pow.f64 (cos.f64 x) 2) 1) (cos.f64 x)) (+.f64 1 (pow.f64 (cos.f64 x) 3))) -1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 (+.f64 (cos.f64 x) -1) (neg.f64 (pow.f64 (sin.f64 x) 2))) -1)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (+.f64 (cos.f64 x) 1) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (+.f64 (cos.f64 x) 1)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (+.f64 (cos.f64 x) 1))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (+.f64 (cos.f64 x) 1) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (+.f64 (cos.f64 x) 1)))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (+.f64 (cos.f64 x) 1)))))) (#(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 (cos.f64 x) 1 1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (cos.f64 x) 1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (cos.f64 x)) (cbrt.f64 (pow.f64 (cos.f64 x) 2)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (pow.f64 (cos.f64 x) 2)) (cbrt.f64 (cos.f64 x)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (pow.f64 (cos.f64 x) 2)) (*.f64 (cbrt.f64 (cos.f64 x)) 1) 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 fma.f64 (sqrt.f64 (cos.f64 x)) (*.f64 (sqrt.f64 (cos.f64 x)) 1) 1))))) |
((#(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 0 (-.f64 1 (cos.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (pow.f64 (cbrt.f64 (exp.f64 (-.f64 1 (cos.f64 x)))) 2)) (log.f64 (cbrt.f64 (exp.f64 (-.f64 1 (cos.f64 x))))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (sqrt.f64 (exp.f64 (-.f64 1 (cos.f64 x))))) (log.f64 (sqrt.f64 (exp.f64 (-.f64 1 (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 (sin.f64 x) (*.f64 (sin.f64 x) (/.f64 1 (+.f64 (cos.f64 x) 1))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (sin.f64 x) 2) (/.f64 1 (+.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 (pow.f64 (sin.f64 x) 4)) (*.f64 (cbrt.f64 (pow.f64 (sin.f64 x) 2)) (/.f64 1 (+.f64 (cos.f64 x) 1))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (-.f64 1 (cos.f64 x))) (cbrt.f64 (pow.f64 (-.f64 1 (cos.f64 x)) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (pow.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 (+.f64 (cos.f64 x) 1)) (pow.f64 (sin.f64 x) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (neg.f64 (pow.f64 (sin.f64 x) 2)) (/.f64 1 (+.f64 -1 (neg.f64 (cos.f64 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (sin.f64 x) 1) (tan.f64 (/.f64 x 2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (cbrt.f64 (pow.f64 (sin.f64 x) 4)) 1) (/.f64 (cbrt.f64 (pow.f64 (sin.f64 x) 2)) (+.f64 (cos.f64 x) 1)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (sin.f64 x) (pow.f64 (cbrt.f64 (+.f64 (cos.f64 x) 1)) 2)) (/.f64 (sin.f64 x) (cbrt.f64 (+.f64 (cos.f64 x) 1))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (+.f64 (cos.f64 x) 1)) -2) (/.f64 (pow.f64 (sin.f64 x) 2) (cbrt.f64 (+.f64 (cos.f64 x) 1))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (cbrt.f64 (pow.f64 (sin.f64 x) 4)) (pow.f64 (cbrt.f64 (+.f64 (cos.f64 x) 1)) 2)) (cbrt.f64 (-.f64 1 (cos.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (+.f64 (cos.f64 x) 1) -1/2) (/.f64 (pow.f64 (sin.f64 x) 2) (sqrt.f64 (+.f64 (cos.f64 x) 1))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (cbrt.f64 (pow.f64 (sin.f64 x) 4)) (sqrt.f64 (+.f64 (cos.f64 x) 1))) (/.f64 (cbrt.f64 (pow.f64 (sin.f64 x) 2)) (sqrt.f64 (+.f64 (cos.f64 x) 1))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (pow.f64 (sin.f64 x) 2) (+.f64 1 (pow.f64 (cos.f64 x) 3))) (-.f64 (+.f64 (pow.f64 (cos.f64 x) 2) 1) (cos.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (pow.f64 (sin.f64 x) 2) (neg.f64 (pow.f64 (sin.f64 x) 2))) (+.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)) 2) 1/2)))) (#(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 pow.f64 (/.f64 (pow.f64 (sin.f64 x) 6) (pow.f64 (+.f64 (cos.f64 x) 1) 3)) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 (/.f64 1 (-.f64 1 (cos.f64 x))) 1) -1)))) (#(struct:change #<rule egg-rr> (2) ((x neg.f64 (/.f64 (pow.f64 (sin.f64 x) 2) (+.f64 -1 (neg.f64 (cos.f64 x)))))))) (#(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 (sin.f64 x) 6) (pow.f64 (+.f64 (cos.f64 x) 1) 3)))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (-.f64 1 (cos.f64 x))))))) (#(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)))))) |
| 1× | egg-herbie |
| 736× | fma-def_binary64 |
| 705× | distribute-lft-out_binary64 |
| 666× | distribute-rgt-out_binary64 |
| 639× | associate-*l*_binary64 |
| 486× | associate-*r*_binary64 |
Useful iterations: 3 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 56 | 414 |
| 1 | 128 | 410 |
| 2 | 312 | 370 |
| 3 | 989 | 366 |
| 4 | 4257 | 366 |
| 1× | node limit |
| Inputs |
|---|
1/2 |
(+.f64 1/2 (*.f64 -1/24 (pow.f64 x 2))) |
(+.f64 1/2 (+.f64 (*.f64 -1/24 (pow.f64 x 2)) (*.f64 1/720 (pow.f64 x 4)))) |
(+.f64 1/2 (+.f64 (*.f64 -1/24 (pow.f64 x 2)) (+.f64 (*.f64 -1/40320 (pow.f64 x 6)) (*.f64 1/720 (pow.f64 x 4))))) |
(/.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 (cos.f64 x) 1) (pow.f64 x 2))) |
(/.f64 (pow.f64 (sin.f64 x) 2) (*.f64 (+.f64 (cos.f64 x) 1) (pow.f64 x 2))) |
(/.f64 (pow.f64 (sin.f64 x) 2) (*.f64 (+.f64 (cos.f64 x) 1) (pow.f64 x 2))) |
(/.f64 (pow.f64 (sin.f64 x) 2) (*.f64 (+.f64 (cos.f64 x) 1) (pow.f64 x 2))) |
2 |
(+.f64 2 (*.f64 -1/2 (pow.f64 x 2))) |
(+.f64 2 (+.f64 (*.f64 -1/2 (pow.f64 x 2)) (*.f64 1/24 (pow.f64 x 4)))) |
(+.f64 2 (+.f64 (*.f64 -1/2 (pow.f64 x 2)) (+.f64 (*.f64 1/24 (pow.f64 x 4)) (*.f64 -1/720 (pow.f64 x 6))))) |
(+.f64 1 (cos.f64 x)) |
(+.f64 1 (cos.f64 x)) |
(+.f64 1 (cos.f64 x)) |
(+.f64 1 (cos.f64 x)) |
(*.f64 1/2 (pow.f64 x 2)) |
(+.f64 (*.f64 1/2 (pow.f64 x 2)) (*.f64 -1/24 (pow.f64 x 4))) |
(+.f64 (*.f64 1/2 (pow.f64 x 2)) (+.f64 (*.f64 -1/24 (pow.f64 x 4)) (*.f64 1/720 (pow.f64 x 6)))) |
(+.f64 (*.f64 1/2 (pow.f64 x 2)) (+.f64 (*.f64 -1/24 (pow.f64 x 4)) (+.f64 (*.f64 1/720 (pow.f64 x 6)) (*.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))) |
| Outputs |
|---|
1/2 |
(+.f64 1/2 (*.f64 -1/24 (pow.f64 x 2))) |
(+.f64 1/2 (*.f64 -1/24 (*.f64 x x))) |
(fma.f64 -1/24 (*.f64 x x) 1/2) |
(+.f64 1/2 (+.f64 (*.f64 -1/24 (pow.f64 x 2)) (*.f64 1/720 (pow.f64 x 4)))) |
(+.f64 1/2 (fma.f64 -1/24 (*.f64 x x) (*.f64 1/720 (pow.f64 x 4)))) |
(+.f64 (fma.f64 -1/24 (*.f64 x x) 1/2) (*.f64 1/720 (pow.f64 x 4))) |
(fma.f64 -1/24 (*.f64 x x) (fma.f64 1/720 (pow.f64 x 4) 1/2)) |
(+.f64 1/2 (+.f64 (*.f64 -1/24 (pow.f64 x 2)) (+.f64 (*.f64 -1/40320 (pow.f64 x 6)) (*.f64 1/720 (pow.f64 x 4))))) |
(+.f64 1/2 (fma.f64 -1/24 (*.f64 x x) (fma.f64 -1/40320 (pow.f64 x 6) (*.f64 1/720 (pow.f64 x 4))))) |
(+.f64 (fma.f64 -1/24 (*.f64 x x) 1/2) (fma.f64 -1/40320 (pow.f64 x 6) (*.f64 1/720 (pow.f64 x 4)))) |
(+.f64 1/2 (fma.f64 -1/24 (*.f64 x x) (fma.f64 1/720 (pow.f64 x 4) (*.f64 -1/40320 (pow.f64 x 6))))) |
(fma.f64 -1/24 (*.f64 x x) (fma.f64 1/720 (pow.f64 x 4) (fma.f64 -1/40320 (pow.f64 x 6) 1/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 x x) (+.f64 1 (cos.f64 x)))) |
(/.f64 (*.f64 (tan.f64 (/.f64 x 2)) (sin.f64 x)) (*.f64 x x)) |
(*.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 (*.f64 (tan.f64 (/.f64 x 2)) (sin.f64 x)) (*.f64 x x)) |
(*.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 (*.f64 (tan.f64 (/.f64 x 2)) (sin.f64 x)) (*.f64 x x)) |
(*.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 (*.f64 (tan.f64 (/.f64 x 2)) (sin.f64 x)) (*.f64 x x)) |
(*.f64 (sin.f64 x) (/.f64 (tan.f64 (/.f64 x 2)) (*.f64 x x))) |
(/.f64 (pow.f64 (sin.f64 x) 2) (*.f64 (+.f64 (cos.f64 x) 1) (pow.f64 x 2))) |
(/.f64 (pow.f64 (sin.f64 x) 2) (*.f64 (*.f64 x x) (+.f64 1 (cos.f64 x)))) |
(/.f64 (*.f64 (tan.f64 (/.f64 x 2)) (sin.f64 x)) (*.f64 x x)) |
(*.f64 (sin.f64 x) (/.f64 (tan.f64 (/.f64 x 2)) (*.f64 x x))) |
(/.f64 (pow.f64 (sin.f64 x) 2) (*.f64 (+.f64 (cos.f64 x) 1) (pow.f64 x 2))) |
(/.f64 (pow.f64 (sin.f64 x) 2) (*.f64 (*.f64 x x) (+.f64 1 (cos.f64 x)))) |
(/.f64 (*.f64 (tan.f64 (/.f64 x 2)) (sin.f64 x)) (*.f64 x x)) |
(*.f64 (sin.f64 x) (/.f64 (tan.f64 (/.f64 x 2)) (*.f64 x x))) |
(/.f64 (pow.f64 (sin.f64 x) 2) (*.f64 (+.f64 (cos.f64 x) 1) (pow.f64 x 2))) |
(/.f64 (pow.f64 (sin.f64 x) 2) (*.f64 (*.f64 x x) (+.f64 1 (cos.f64 x)))) |
(/.f64 (*.f64 (tan.f64 (/.f64 x 2)) (sin.f64 x)) (*.f64 x x)) |
(*.f64 (sin.f64 x) (/.f64 (tan.f64 (/.f64 x 2)) (*.f64 x x))) |
(/.f64 (pow.f64 (sin.f64 x) 2) (*.f64 (+.f64 (cos.f64 x) 1) (pow.f64 x 2))) |
(/.f64 (pow.f64 (sin.f64 x) 2) (*.f64 (*.f64 x x) (+.f64 1 (cos.f64 x)))) |
(/.f64 (*.f64 (tan.f64 (/.f64 x 2)) (sin.f64 x)) (*.f64 x x)) |
(*.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 (*.f64 x x) -1/2)) |
(fma.f64 (*.f64 x x) -1/2 2) |
(fma.f64 x (*.f64 x -1/2) 2) |
(+.f64 2 (+.f64 (*.f64 -1/2 (pow.f64 x 2)) (*.f64 1/24 (pow.f64 x 4)))) |
(+.f64 2 (fma.f64 -1/2 (*.f64 x x) (*.f64 (pow.f64 x 4) 1/24))) |
(+.f64 (fma.f64 (*.f64 x x) -1/2 2) (*.f64 (pow.f64 x 4) 1/24)) |
(fma.f64 x (*.f64 x -1/2) (fma.f64 (pow.f64 x 4) 1/24 2)) |
(fma.f64 (*.f64 x x) (fma.f64 (*.f64 x x) 1/24 -1/2) 2) |
(+.f64 2 (+.f64 (*.f64 -1/2 (pow.f64 x 2)) (+.f64 (*.f64 1/24 (pow.f64 x 4)) (*.f64 -1/720 (pow.f64 x 6))))) |
(+.f64 2 (fma.f64 -1/2 (*.f64 x x) (fma.f64 1/24 (pow.f64 x 4) (*.f64 (pow.f64 x 6) -1/720)))) |
(+.f64 (fma.f64 (*.f64 x x) -1/2 2) (fma.f64 (pow.f64 x 4) 1/24 (*.f64 (pow.f64 x 6) -1/720))) |
(+.f64 2 (fma.f64 (pow.f64 x 6) -1/720 (fma.f64 x (*.f64 x -1/2) (*.f64 (pow.f64 x 4) 1/24)))) |
(fma.f64 x (*.f64 x -1/2) (fma.f64 (pow.f64 x 4) 1/24 (fma.f64 (pow.f64 x 6) -1/720 2))) |
(+.f64 1 (cos.f64 x)) |
(+.f64 1 (cos.f64 x)) |
(+.f64 1 (cos.f64 x)) |
(+.f64 1 (cos.f64 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))) |
(fma.f64 1/2 (*.f64 x x) (*.f64 -1/24 (pow.f64 x 4))) |
(fma.f64 -1/24 (pow.f64 x 4) (*.f64 1/2 (*.f64 x x))) |
(*.f64 (*.f64 x x) (fma.f64 -1/24 (*.f64 x x) 1/2)) |
(*.f64 x (*.f64 x (fma.f64 -1/24 (*.f64 x x) 1/2))) |
(+.f64 (*.f64 1/2 (pow.f64 x 2)) (+.f64 (*.f64 -1/24 (pow.f64 x 4)) (*.f64 1/720 (pow.f64 x 6)))) |
(fma.f64 1/2 (*.f64 x x) (fma.f64 -1/24 (pow.f64 x 4) (*.f64 1/720 (pow.f64 x 6)))) |
(*.f64 (*.f64 x x) (fma.f64 -1/24 (*.f64 x x) (fma.f64 1/720 (pow.f64 x 4) 1/2))) |
(+.f64 (*.f64 1/2 (pow.f64 x 2)) (+.f64 (*.f64 -1/24 (pow.f64 x 4)) (+.f64 (*.f64 1/720 (pow.f64 x 6)) (*.f64 -1/40320 (pow.f64 x 8))))) |
(fma.f64 1/2 (*.f64 x x) (fma.f64 -1/24 (pow.f64 x 4) (fma.f64 1/720 (pow.f64 x 6) (*.f64 -1/40320 (pow.f64 x 8))))) |
(fma.f64 -1/24 (pow.f64 x 4) (fma.f64 1/720 (pow.f64 x 6) (fma.f64 -1/40320 (pow.f64 x 8) (*.f64 1/2 (*.f64 x x))))) |
(/.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))) |
Compiled 12601 to 7934 computations (37% saved)
19 alts after pruning (14 fresh and 5 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 714 | 9 | 723 |
| Fresh | 7 | 5 | 12 |
| Picked | 1 | 0 | 1 |
| Done | 1 | 5 | 6 |
| Total | 723 | 19 | 742 |
| Status | Error | Program |
|---|---|---|
| ✓ | 16.1b | (*.f64 (sin.f64 x) (/.f64 (tan.f64 (/.f64 x 2)) (*.f64 x x))) |
| 31.7b | (/.f64 (/.f64 (-.f64 1 (cos.f64 x)) x) x) | |
| ✓ | 31.7b | (/.f64 (/.f64 1 x) (/.f64 x (-.f64 1 (cos.f64 x)))) |
| 31.9b | (/.f64 1 (*.f64 x (/.f64 x (-.f64 1 (cos.f64 x))))) | |
| ▶ | 31.7b | (*.f64 (/.f64 (-.f64 1 (cos.f64 x)) x) (/.f64 1 x)) |
| 15.4b | (/.f64 (/.f64 (*.f64 (tan.f64 (*.f64 x 1/2)) (sin.f64 x)) x) x) | |
| 32.5b | (*.f64 (+.f64 (cos.f64 x) -1) (/.f64 1 (*.f64 x (neg.f64 x)))) | |
| ✓ | 31.9b | (pow.f64 (/.f64 x (/.f64 (-.f64 1 (cos.f64 x)) x)) -1) |
| ▶ | 0.2b | (*.f64 (sin.f64 x) (*.f64 (/.f64 (tan.f64 (*.f64 x 1/2)) x) (/.f64 1 x))) |
| 16.9b | (*.f64 (sin.f64 x) (*.f64 (neg.f64 (tan.f64 (*.f64 x 1/2))) (/.f64 1 (*.f64 x (neg.f64 x))))) | |
| ▶ | 46.0b | (/.f64 (/.f64 1 x) (/.f64 x (*.f64 1/2 (*.f64 x x)))) |
| ✓ | 31.2b | (+.f64 (*.f64 -1/24 (*.f64 x x)) 1/2) |
| ▶ | 32.2b | (*.f64 (/.f64 (/.f64 1 x) (neg.f64 x)) (neg.f64 (-.f64 1 (cos.f64 x)))) |
| 13.3b | (/.f64 (/.f64 1 x) (+.f64 (*.f64 1/6 x) (*.f64 2 (/.f64 1 x)))) | |
| 31.7b | (/.f64 (/.f64 1 x) (*.f64 (/.f64 1 (-.f64 1 (cos.f64 x))) x)) | |
| ▶ | 15.6b | (/.f64 (*.f64 (tan.f64 (/.f64 x 2)) (sin.f64 x)) (*.f64 x x)) |
| ✓ | 32.4b | (/.f64 (-.f64 1 (cos.f64 x)) (*.f64 x x)) |
| 30.2b | 1/2 | |
| 32.2b | (-.f64 (pow.f64 x -2) (/.f64 (/.f64 (cos.f64 x) x) x)) |
Compiled 373 to 268 computations (28.2% saved)
Found 3 expressions with local error:
| New | Error | Program |
|---|---|---|
| ✓ | 0.1b | (/.f64 (tan.f64 (*.f64 x 1/2)) x) |
| ✓ | 0.1b | (*.f64 (/.f64 (tan.f64 (*.f64 x 1/2)) x) (/.f64 1 x)) |
| ✓ | 0.1b | (*.f64 (sin.f64 x) (*.f64 (/.f64 (tan.f64 (*.f64 x 1/2)) x) (/.f64 1 x))) |
Compiled 45 to 30 computations (33.3% saved)
9 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 1.0ms | x | @ | -inf | (/.f64 (tan.f64 (*.f64 x 1/2)) x) |
| 1.0ms | x | @ | inf | (/.f64 (tan.f64 (*.f64 x 1/2)) x) |
| 0.0ms | x | @ | 0 | (*.f64 (sin.f64 x) (*.f64 (/.f64 (tan.f64 (*.f64 x 1/2)) x) (/.f64 1 x))) |
| 0.0ms | x | @ | -inf | (*.f64 (sin.f64 x) (*.f64 (/.f64 (tan.f64 (*.f64 x 1/2)) x) (/.f64 1 x))) |
| 0.0ms | x | @ | inf | (*.f64 (sin.f64 x) (*.f64 (/.f64 (tan.f64 (*.f64 x 1/2)) x) (/.f64 1 x))) |
| 1× | batch-egg-rewrite |
| 584× | log-prod_binary64 |
| 445× | exp-prod_binary64 |
| 383× | pow-prod-down_binary64 |
| 283× | pow2_binary64 |
| 254× | pow-unpow_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 11 | 38 |
| 1 | 231 | 38 |
| 2 | 2977 | 38 |
| 1× | node limit |
| Inputs |
|---|
(*.f64 (sin.f64 x) (*.f64 (/.f64 (tan.f64 (*.f64 x 1/2)) x) (/.f64 1 x))) |
(*.f64 (/.f64 (tan.f64 (*.f64 x 1/2)) x) (/.f64 1 x)) |
(/.f64 (tan.f64 (*.f64 x 1/2)) x) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x +.f64 0 (/.f64 (*.f64 (tan.f64 (*.f64 x 1/2)) (sin.f64 x)) (*.f64 x x)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (pow.f64 (cbrt.f64 (pow.f64 (exp.f64 (sin.f64 x)) (*.f64 (tan.f64 (*.f64 x 1/2)) (pow.f64 x -2)))) 2)) (log.f64 (cbrt.f64 (pow.f64 (exp.f64 (sin.f64 x)) (*.f64 (tan.f64 (*.f64 x 1/2)) (pow.f64 x -2))))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (sqrt.f64 (pow.f64 (exp.f64 (sin.f64 x)) (*.f64 (tan.f64 (*.f64 x 1/2)) (pow.f64 x -2))))) (log.f64 (sqrt.f64 (pow.f64 (exp.f64 (sin.f64 x)) (*.f64 (tan.f64 (*.f64 x 1/2)) (pow.f64 x -2))))))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (/.f64 (*.f64 (tan.f64 (*.f64 x 1/2)) (sin.f64 x)) (*.f64 x x)))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (sin.f64 x) (/.f64 (tan.f64 (*.f64 x 1/2)) x)) x)))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (tan.f64 (*.f64 x 1/2)) (sin.f64 x)) (*.f64 x x))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (sin.f64 x) (tan.f64 (*.f64 x 1/2))) (*.f64 x x))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (*.f64 (sin.f64 x) (/.f64 (tan.f64 (*.f64 x 1/2)) x)) 1) x)))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (*.f64 (sin.f64 x) (/.f64 (tan.f64 (*.f64 x 1/2)) x)) -1) (neg.f64 x))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 (*.f64 (tan.f64 (*.f64 x 1/2)) (sin.f64 x)) (*.f64 x x)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (E.f64) (log.f64 (/.f64 (*.f64 (tan.f64 (*.f64 x 1/2)) (sin.f64 x)) (*.f64 x x))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (/.f64 (*.f64 (tan.f64 (*.f64 x 1/2)) (sin.f64 x)) (*.f64 x x)) 2) 1/2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (/.f64 (*.f64 (tan.f64 (*.f64 x 1/2)) (sin.f64 x)) (*.f64 x x)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (/.f64 (*.f64 (tan.f64 (*.f64 x 1/2)) (sin.f64 x)) (*.f64 x x))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 (sqrt.f64 (sin.f64 x)) (/.f64 (sqrt.f64 (tan.f64 (*.f64 x 1/2))) x)) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 (pow.f64 (cbrt.f64 (log.f64 (/.f64 (*.f64 (tan.f64 (*.f64 x 1/2)) (sin.f64 x)) (*.f64 x x)))) 2)) (cbrt.f64 (log.f64 (/.f64 (*.f64 (tan.f64 (*.f64 x 1/2)) (sin.f64 x)) (*.f64 x x)))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 (sqrt.f64 (log.f64 (/.f64 (*.f64 (tan.f64 (*.f64 x 1/2)) (sin.f64 x)) (*.f64 x x))))) (sqrt.f64 (log.f64 (/.f64 (*.f64 (tan.f64 (*.f64 x 1/2)) (sin.f64 x)) (*.f64 x x)))))))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (/.f64 (*.f64 (tan.f64 (*.f64 x 1/2)) (sin.f64 x)) (*.f64 x x)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (pow.f64 (exp.f64 (sin.f64 x)) (*.f64 (tan.f64 (*.f64 x 1/2)) (pow.f64 x -2))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (/.f64 (*.f64 (tan.f64 (*.f64 x 1/2)) (sin.f64 x)) (*.f64 x x)))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (/.f64 (*.f64 (tan.f64 (*.f64 x 1/2)) (sin.f64 x)) (*.f64 x x)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (/.f64 (*.f64 (tan.f64 (*.f64 x 1/2)) (sin.f64 x)) (*.f64 x x))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (/.f64 (*.f64 (tan.f64 (*.f64 x 1/2)) (sin.f64 x)) (*.f64 x x))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (/.f64 (*.f64 (tan.f64 (*.f64 x 1/2)) (sin.f64 x)) (*.f64 x x))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (/.f64 (*.f64 (tan.f64 (*.f64 x 1/2)) (sin.f64 x)) (*.f64 x x))) 1))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (pow.f64 (/.f64 (*.f64 (tan.f64 (*.f64 x 1/2)) (sin.f64 x)) (*.f64 x x)) 3)) 1/3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (cbrt.f64 (/.f64 (*.f64 (tan.f64 (*.f64 x 1/2)) (sin.f64 x)) (*.f64 x x)))) 3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (*.f64 (sqrt.f64 (sin.f64 x)) (/.f64 (sqrt.f64 (tan.f64 (*.f64 x 1/2))) x))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 (log.f64 (/.f64 (*.f64 (tan.f64 (*.f64 x 1/2)) (sin.f64 x)) (*.f64 x x))) 1) 1)))))) |
((#(struct:change #<rule egg-rr> (2) ((x +.f64 0 (*.f64 (tan.f64 (*.f64 x 1/2)) (pow.f64 x -2)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (pow.f64 (cbrt.f64 (pow.f64 (exp.f64 (tan.f64 (*.f64 x 1/2))) (pow.f64 x -2))) 2)) (log.f64 (cbrt.f64 (pow.f64 (exp.f64 (tan.f64 (*.f64 x 1/2))) (pow.f64 x -2)))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (sqrt.f64 (pow.f64 (exp.f64 (tan.f64 (*.f64 x 1/2))) (pow.f64 x -2)))) (log.f64 (sqrt.f64 (pow.f64 (exp.f64 (tan.f64 (*.f64 x 1/2))) (pow.f64 x -2)))))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (*.f64 (tan.f64 (*.f64 x 1/2)) (pow.f64 x -2)))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (tan.f64 (*.f64 x 1/2)) (*.f64 x x))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (tan.f64 (*.f64 x 1/2)) (/.f64 (*.f64 x x) 1))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (/.f64 (tan.f64 (*.f64 x 1/2)) x) x)))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (*.f64 (/.f64 x (tan.f64 (*.f64 x 1/2))) x))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (*.f64 x (/.f64 x (tan.f64 (*.f64 x 1/2)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 x (/.f64 (tan.f64 (*.f64 x 1/2)) x)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (*.f64 x x) (tan.f64 (*.f64 x 1/2))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (/.f64 1 x) (/.f64 x (tan.f64 (*.f64 x 1/2))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (pow.f64 (cbrt.f64 (/.f64 (tan.f64 (*.f64 x 1/2)) x)) 2) (/.f64 x (cbrt.f64 (/.f64 (tan.f64 (*.f64 x 1/2)) x))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (sqrt.f64 (/.f64 (tan.f64 (*.f64 x 1/2)) x)) (/.f64 x (sqrt.f64 (/.f64 (tan.f64 (*.f64 x 1/2)) x))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 -1 (*.f64 (neg.f64 x) (/.f64 x (tan.f64 (*.f64 x 1/2)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 -1 (*.f64 (/.f64 x (tan.f64 (*.f64 x 1/2))) (neg.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (tan.f64 (*.f64 x 1/2))) (neg.f64 (*.f64 x x)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (tan.f64 (*.f64 x 1/2))) (*.f64 (neg.f64 x) x))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (tan.f64 (*.f64 x 1/2))) (*.f64 x (neg.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (/.f64 (tan.f64 (*.f64 x 1/2)) x)) (neg.f64 x))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (neg.f64 (tan.f64 (*.f64 x 1/2))) 1) (*.f64 (neg.f64 x) x))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (tan.f64 (*.f64 x 1/2)) -1) (*.f64 x (neg.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (neg.f64 (tan.f64 (*.f64 x 1/2))) -1) (pow.f64 (neg.f64 x) 2))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 -1 (neg.f64 (tan.f64 (*.f64 x 1/2)))) (pow.f64 (neg.f64 x) 2))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (/.f64 (/.f64 (tan.f64 (*.f64 x 1/2)) x) (sqrt.f64 x)) (sqrt.f64 x))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (/.f64 (/.f64 (tan.f64 (*.f64 x 1/2)) x) 1) x)))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (/.f64 (/.f64 (tan.f64 (*.f64 x 1/2)) x) (pow.f64 (cbrt.f64 x) 2)) (cbrt.f64 x))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (neg.f64 (tan.f64 (*.f64 x 1/2))) (/.f64 1 x)) (neg.f64 x))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 -1 (/.f64 (tan.f64 (*.f64 x 1/2)) x)) (neg.f64 x))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (/.f64 (tan.f64 (*.f64 x 1/2)) x) -1) (neg.f64 x))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (/.f64 1 x) (neg.f64 (tan.f64 (*.f64 x 1/2)))) (neg.f64 x))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 (tan.f64 (*.f64 x 1/2)) (pow.f64 x -2)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (E.f64) (log.f64 (*.f64 (tan.f64 (*.f64 x 1/2)) (pow.f64 x -2))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (/.f64 (sqrt.f64 (tan.f64 (*.f64 x 1/2))) x) 4) 1/2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (/.f64 (sqrt.f64 (tan.f64 (*.f64 x 1/2))) x) 6) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (*.f64 (tan.f64 (*.f64 x 1/2)) (pow.f64 x -2))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 (sqrt.f64 (tan.f64 (*.f64 x 1/2))) x) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 (pow.f64 (/.f64 (tan.f64 (*.f64 x 1/2)) x) 3) (pow.f64 x 3)) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 (/.f64 x (tan.f64 (*.f64 x 1/2))) x) -1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 x (/.f64 x (tan.f64 (*.f64 x 1/2)))) -1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 x (/.f64 (tan.f64 (*.f64 x 1/2)) x)) -1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 (*.f64 x x) (tan.f64 (*.f64 x 1/2))) -1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 (sqrt.f64 (tan.f64 (*.f64 x 1/2))) (/.f64 1 x)) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 (pow.f64 (cbrt.f64 (log.f64 (*.f64 (tan.f64 (*.f64 x 1/2)) (pow.f64 x -2)))) 2)) (cbrt.f64 (log.f64 (*.f64 (tan.f64 (*.f64 x 1/2)) (pow.f64 x -2)))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 (sqrt.f64 (log.f64 (*.f64 (tan.f64 (*.f64 x 1/2)) (pow.f64 x -2))))) (sqrt.f64 (log.f64 (*.f64 (tan.f64 (*.f64 x 1/2)) (pow.f64 x -2)))))))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (/.f64 (sqrt.f64 (tan.f64 (*.f64 x 1/2))) x) 4))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (pow.f64 (exp.f64 (tan.f64 (*.f64 x 1/2))) (pow.f64 x -2)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (*.f64 (tan.f64 (*.f64 x 1/2)) (pow.f64 x -2)))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (/.f64 (sqrt.f64 (tan.f64 (*.f64 x 1/2))) x) 6))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (/.f64 (pow.f64 (/.f64 (tan.f64 (*.f64 x 1/2)) x) 3) (pow.f64 x 3)))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 (tan.f64 (*.f64 x 1/2)) (pow.f64 x -2))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 (tan.f64 (*.f64 x 1/2)) (pow.f64 x -2))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (*.f64 (tan.f64 (*.f64 x 1/2)) (pow.f64 x -2))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (*.f64 (tan.f64 (*.f64 x 1/2)) (pow.f64 x -2))) 1))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (pow.f64 (/.f64 (sqrt.f64 (tan.f64 (*.f64 x 1/2))) x) 6)) 1/3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (cbrt.f64 (*.f64 (tan.f64 (*.f64 x 1/2)) (pow.f64 x -2)))) 3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (/.f64 (sqrt.f64 (tan.f64 (*.f64 x 1/2))) x)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 (log.f64 (*.f64 (tan.f64 (*.f64 x 1/2)) (pow.f64 x -2))) 1) 1)))))) |
((#(struct:change #<rule egg-rr> (2) ((x +.f64 0 (/.f64 (tan.f64 (*.f64 x 1/2)) x))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (pow.f64 (cbrt.f64 (exp.f64 (/.f64 (tan.f64 (*.f64 x 1/2)) x))) 2)) (log.f64 (cbrt.f64 (exp.f64 (/.f64 (tan.f64 (*.f64 x 1/2)) x)))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (sqrt.f64 (exp.f64 (/.f64 (tan.f64 (*.f64 x 1/2)) x)))) (log.f64 (sqrt.f64 (exp.f64 (/.f64 (tan.f64 (*.f64 x 1/2)) x)))))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (/.f64 (tan.f64 (*.f64 x 1/2)) x))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (tan.f64 (*.f64 x 1/2)) (/.f64 1 x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (tan.f64 (*.f64 x 1/2)) x) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (/.f64 (tan.f64 (*.f64 x 1/2)) x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 1 x) (tan.f64 (*.f64 x 1/2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (tan.f64 (*.f64 x 1/2))) 2) (*.f64 (cbrt.f64 (tan.f64 (*.f64 x 1/2))) (/.f64 1 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (/.f64 (tan.f64 (*.f64 x 1/2)) x)) (pow.f64 (cbrt.f64 (/.f64 (tan.f64 (*.f64 x 1/2)) x)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (/.f64 (tan.f64 (*.f64 x 1/2)) x)) 2) (cbrt.f64 (/.f64 (tan.f64 (*.f64 x 1/2)) x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (/.f64 (tan.f64 (*.f64 x 1/2)) x)) 2) (*.f64 (cbrt.f64 (/.f64 (tan.f64 (*.f64 x 1/2)) x)) 1))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 x -1/2) (/.f64 (tan.f64 (*.f64 x 1/2)) (sqrt.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (tan.f64 (*.f64 x 1/2))) (*.f64 (sqrt.f64 (tan.f64 (*.f64 x 1/2))) (/.f64 1 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (/.f64 (tan.f64 (*.f64 x 1/2)) x)) (sqrt.f64 (/.f64 (tan.f64 (*.f64 x 1/2)) x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (/.f64 (tan.f64 (*.f64 x 1/2)) x)) (*.f64 (sqrt.f64 (/.f64 (tan.f64 (*.f64 x 1/2)) x)) 1))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (neg.f64 (tan.f64 (*.f64 x 1/2))) (/.f64 1 (neg.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 x) -2) (/.f64 (tan.f64 (*.f64 x 1/2)) (cbrt.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (pow.f64 (cbrt.f64 (tan.f64 (*.f64 x 1/2))) 2) 1) (/.f64 (cbrt.f64 (tan.f64 (*.f64 x 1/2))) x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (sqrt.f64 (tan.f64 (*.f64 x 1/2))) 1) (/.f64 (sqrt.f64 (tan.f64 (*.f64 x 1/2))) x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (pow.f64 (cbrt.f64 (tan.f64 (*.f64 x 1/2))) 2) (pow.f64 (cbrt.f64 x) 2)) (cbrt.f64 (/.f64 (tan.f64 (*.f64 x 1/2)) x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (sqrt.f64 (tan.f64 (*.f64 x 1/2))) (pow.f64 (cbrt.f64 x) 2)) (/.f64 (sqrt.f64 (tan.f64 (*.f64 x 1/2))) (cbrt.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (pow.f64 (cbrt.f64 (tan.f64 (*.f64 x 1/2))) 2) (sqrt.f64 x)) (/.f64 (cbrt.f64 (tan.f64 (*.f64 x 1/2))) (sqrt.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (tan.f64 (*.f64 x 1/2)) (cbrt.f64 (pow.f64 x -2))) (/.f64 1 (cbrt.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (tan.f64 (*.f64 x 1/2)) (pow.f64 x -1/2)) (pow.f64 x -1/2))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 (tan.f64 (*.f64 x 1/2)) x) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (E.f64) (log.f64 (/.f64 (tan.f64 (*.f64 x 1/2)) x)))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (/.f64 (tan.f64 (*.f64 x 1/2)) x) 2) 1/2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (/.f64 (tan.f64 (*.f64 x 1/2)) x) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (/.f64 (tan.f64 (*.f64 x 1/2)) x)) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (/.f64 (tan.f64 (*.f64 x 1/2)) x)) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 x (tan.f64 (*.f64 x 1/2))) -1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 (pow.f64 (tan.f64 (*.f64 x 1/2)) 3) (pow.f64 x 3)) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 (/.f64 x (tan.f64 (*.f64 x 1/2))) 1) -1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 (pow.f64 x -3) (pow.f64 (tan.f64 (*.f64 x 1/2)) 3)) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 (/.f64 1 (cbrt.f64 x)) (cbrt.f64 (tan.f64 (*.f64 x 1/2)))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 (pow.f64 x -1/2) (sqrt.f64 (tan.f64 (*.f64 x 1/2)))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 (pow.f64 (cbrt.f64 (log.f64 (/.f64 (tan.f64 (*.f64 x 1/2)) x))) 2)) (cbrt.f64 (log.f64 (/.f64 (tan.f64 (*.f64 x 1/2)) x))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 (sqrt.f64 (log.f64 (/.f64 (tan.f64 (*.f64 x 1/2)) x)))) (sqrt.f64 (log.f64 (/.f64 (tan.f64 (*.f64 x 1/2)) x))))))) (#(struct:change #<rule egg-rr> (2) ((x neg.f64 (/.f64 (tan.f64 (*.f64 x 1/2)) (neg.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (/.f64 (tan.f64 (*.f64 x 1/2)) x) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (/.f64 (tan.f64 (*.f64 x 1/2)) x)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (/.f64 (tan.f64 (*.f64 x 1/2)) x))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (/.f64 (tan.f64 (*.f64 x 1/2)) x) 3))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (/.f64 (pow.f64 (tan.f64 (*.f64 x 1/2)) 3) (pow.f64 x 3)))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (/.f64 (tan.f64 (*.f64 x 1/2)) x)))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (/.f64 (tan.f64 (*.f64 x 1/2)) x)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (/.f64 (tan.f64 (*.f64 x 1/2)) x)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (/.f64 (tan.f64 (*.f64 x 1/2)) x)) 1))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 3 (log.f64 (/.f64 (tan.f64 (*.f64 x 1/2)) x))) 1/3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (cbrt.f64 (/.f64 (tan.f64 (*.f64 x 1/2)) x))) 3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (sqrt.f64 (/.f64 (tan.f64 (*.f64 x 1/2)) x))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (/.f64 x (tan.f64 (*.f64 x 1/2)))) -1))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 (log.f64 (/.f64 (tan.f64 (*.f64 x 1/2)) x)) 1) 1)))))) |
| 1× | egg-herbie |
| 736× | fma-def_binary64 |
| 562× | associate-*l*_binary64 |
| 492× | unswap-sqr_binary64 |
| 441× | distribute-lft-out_binary64 |
| 437× | associate-*r*_binary64 |
Useful iterations: 3 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 60 | 653 |
| 1 | 148 | 647 |
| 2 | 350 | 641 |
| 3 | 984 | 637 |
| 4 | 3983 | 637 |
| 5 | 7827 | 637 |
| 1× | node limit |
| Inputs |
|---|
1/2 |
(+.f64 1/2 (*.f64 -1/24 (pow.f64 x 2))) |
(+.f64 1/2 (+.f64 (*.f64 -1/24 (pow.f64 x 2)) (*.f64 1/720 (pow.f64 x 4)))) |
(+.f64 1/2 (+.f64 (*.f64 -1/24 (pow.f64 x 2)) (+.f64 (*.f64 -1/40320 (pow.f64 x 6)) (*.f64 1/720 (pow.f64 x 4))))) |
(/.f64 (*.f64 (sin.f64 x) (sin.f64 (*.f64 1/2 x))) (*.f64 (cos.f64 (*.f64 1/2 x)) (pow.f64 x 2))) |
(/.f64 (*.f64 (sin.f64 x) (sin.f64 (*.f64 1/2 x))) (*.f64 (cos.f64 (*.f64 1/2 x)) (pow.f64 x 2))) |
(/.f64 (*.f64 (sin.f64 x) (sin.f64 (*.f64 1/2 x))) (*.f64 (cos.f64 (*.f64 1/2 x)) (pow.f64 x 2))) |
(/.f64 (*.f64 (sin.f64 x) (sin.f64 (*.f64 1/2 x))) (*.f64 (cos.f64 (*.f64 1/2 x)) (pow.f64 x 2))) |
(/.f64 (*.f64 (sin.f64 x) (sin.f64 (*.f64 1/2 x))) (*.f64 (cos.f64 (*.f64 1/2 x)) (pow.f64 x 2))) |
(/.f64 (*.f64 (sin.f64 x) (sin.f64 (*.f64 1/2 x))) (*.f64 (cos.f64 (*.f64 1/2 x)) (pow.f64 x 2))) |
(/.f64 (*.f64 (sin.f64 x) (sin.f64 (*.f64 1/2 x))) (*.f64 (cos.f64 (*.f64 1/2 x)) (pow.f64 x 2))) |
(/.f64 (*.f64 (sin.f64 x) (sin.f64 (*.f64 1/2 x))) (*.f64 (cos.f64 (*.f64 1/2 x)) (pow.f64 x 2))) |
(/.f64 1/2 x) |
(+.f64 (*.f64 1/24 x) (*.f64 1/2 (/.f64 1 x))) |
(+.f64 (*.f64 1/24 x) (+.f64 (*.f64 1/2 (/.f64 1 x)) (*.f64 1/240 (pow.f64 x 3)))) |
(+.f64 (*.f64 1/24 x) (+.f64 (*.f64 1/2 (/.f64 1 x)) (+.f64 (*.f64 17/40320 (pow.f64 x 5)) (*.f64 1/240 (pow.f64 x 3))))) |
(/.f64 (sin.f64 (*.f64 1/2 x)) (*.f64 (cos.f64 (*.f64 1/2 x)) (pow.f64 x 2))) |
(/.f64 (sin.f64 (*.f64 1/2 x)) (*.f64 (cos.f64 (*.f64 1/2 x)) (pow.f64 x 2))) |
(/.f64 (sin.f64 (*.f64 1/2 x)) (*.f64 (cos.f64 (*.f64 1/2 x)) (pow.f64 x 2))) |
(/.f64 (sin.f64 (*.f64 1/2 x)) (*.f64 (cos.f64 (*.f64 1/2 x)) (pow.f64 x 2))) |
(/.f64 (sin.f64 (*.f64 1/2 x)) (*.f64 (cos.f64 (*.f64 1/2 x)) (pow.f64 x 2))) |
(/.f64 (sin.f64 (*.f64 1/2 x)) (*.f64 (cos.f64 (*.f64 1/2 x)) (pow.f64 x 2))) |
(/.f64 (sin.f64 (*.f64 1/2 x)) (*.f64 (cos.f64 (*.f64 1/2 x)) (pow.f64 x 2))) |
(/.f64 (sin.f64 (*.f64 1/2 x)) (*.f64 (cos.f64 (*.f64 1/2 x)) (pow.f64 x 2))) |
1/2 |
(+.f64 1/2 (*.f64 1/24 (pow.f64 x 2))) |
(+.f64 1/2 (+.f64 (*.f64 1/24 (pow.f64 x 2)) (*.f64 1/240 (pow.f64 x 4)))) |
(+.f64 1/2 (+.f64 (*.f64 1/24 (pow.f64 x 2)) (+.f64 (*.f64 17/40320 (pow.f64 x 6)) (*.f64 1/240 (pow.f64 x 4))))) |
(/.f64 (sin.f64 (*.f64 1/2 x)) (*.f64 (cos.f64 (*.f64 1/2 x)) x)) |
(/.f64 (sin.f64 (*.f64 1/2 x)) (*.f64 (cos.f64 (*.f64 1/2 x)) x)) |
(/.f64 (sin.f64 (*.f64 1/2 x)) (*.f64 (cos.f64 (*.f64 1/2 x)) x)) |
(/.f64 (sin.f64 (*.f64 1/2 x)) (*.f64 (cos.f64 (*.f64 1/2 x)) x)) |
(/.f64 (sin.f64 (*.f64 1/2 x)) (*.f64 (cos.f64 (*.f64 1/2 x)) x)) |
(/.f64 (sin.f64 (*.f64 1/2 x)) (*.f64 (cos.f64 (*.f64 1/2 x)) x)) |
(/.f64 (sin.f64 (*.f64 1/2 x)) (*.f64 (cos.f64 (*.f64 1/2 x)) x)) |
(/.f64 (sin.f64 (*.f64 1/2 x)) (*.f64 (cos.f64 (*.f64 1/2 x)) x)) |
| Outputs |
|---|
1/2 |
(+.f64 1/2 (*.f64 -1/24 (pow.f64 x 2))) |
(+.f64 1/2 (*.f64 -1/24 (*.f64 x x))) |
(fma.f64 -1/24 (*.f64 x x) 1/2) |
(+.f64 1/2 (+.f64 (*.f64 -1/24 (pow.f64 x 2)) (*.f64 1/720 (pow.f64 x 4)))) |
(+.f64 1/2 (fma.f64 -1/24 (*.f64 x x) (*.f64 1/720 (pow.f64 x 4)))) |
(+.f64 (fma.f64 -1/24 (*.f64 x x) 1/2) (*.f64 1/720 (pow.f64 x 4))) |
(fma.f64 -1/24 (*.f64 x x) (fma.f64 1/720 (pow.f64 x 4) 1/2)) |
(fma.f64 (*.f64 x x) (fma.f64 (*.f64 x x) 1/720 -1/24) 1/2) |
(+.f64 1/2 (+.f64 (*.f64 -1/24 (pow.f64 x 2)) (+.f64 (*.f64 -1/40320 (pow.f64 x 6)) (*.f64 1/720 (pow.f64 x 4))))) |
(+.f64 1/2 (fma.f64 -1/24 (*.f64 x x) (fma.f64 -1/40320 (pow.f64 x 6) (*.f64 1/720 (pow.f64 x 4))))) |
(+.f64 (fma.f64 -1/24 (*.f64 x x) 1/2) (fma.f64 -1/40320 (pow.f64 x 6) (*.f64 1/720 (pow.f64 x 4)))) |
(+.f64 1/2 (fma.f64 -1/24 (*.f64 x x) (fma.f64 1/720 (pow.f64 x 4) (*.f64 -1/40320 (pow.f64 x 6))))) |
(fma.f64 -1/24 (*.f64 x x) (fma.f64 1/720 (pow.f64 x 4) (fma.f64 -1/40320 (pow.f64 x 6) 1/2))) |
(fma.f64 (*.f64 x x) (fma.f64 (*.f64 x x) 1/720 -1/24) (fma.f64 -1/40320 (pow.f64 x 6) 1/2)) |
(/.f64 (*.f64 (sin.f64 x) (sin.f64 (*.f64 1/2 x))) (*.f64 (cos.f64 (*.f64 1/2 x)) (pow.f64 x 2))) |
(*.f64 (/.f64 (sin.f64 x) (cos.f64 (*.f64 1/2 x))) (/.f64 (sin.f64 (*.f64 1/2 x)) (*.f64 x x))) |
(*.f64 (sin.f64 x) (/.f64 (sin.f64 (*.f64 1/2 x)) (*.f64 (*.f64 x x) (cos.f64 (*.f64 1/2 x))))) |
(*.f64 (sin.f64 (*.f64 1/2 x)) (/.f64 (/.f64 (sin.f64 x) (*.f64 x x)) (cos.f64 (*.f64 1/2 x)))) |
(/.f64 (*.f64 (sin.f64 x) (sin.f64 (*.f64 1/2 x))) (*.f64 (cos.f64 (*.f64 1/2 x)) (pow.f64 x 2))) |
(*.f64 (/.f64 (sin.f64 x) (cos.f64 (*.f64 1/2 x))) (/.f64 (sin.f64 (*.f64 1/2 x)) (*.f64 x x))) |
(*.f64 (sin.f64 x) (/.f64 (sin.f64 (*.f64 1/2 x)) (*.f64 (*.f64 x x) (cos.f64 (*.f64 1/2 x))))) |
(*.f64 (sin.f64 (*.f64 1/2 x)) (/.f64 (/.f64 (sin.f64 x) (*.f64 x x)) (cos.f64 (*.f64 1/2 x)))) |
(/.f64 (*.f64 (sin.f64 x) (sin.f64 (*.f64 1/2 x))) (*.f64 (cos.f64 (*.f64 1/2 x)) (pow.f64 x 2))) |
(*.f64 (/.f64 (sin.f64 x) (cos.f64 (*.f64 1/2 x))) (/.f64 (sin.f64 (*.f64 1/2 x)) (*.f64 x x))) |
(*.f64 (sin.f64 x) (/.f64 (sin.f64 (*.f64 1/2 x)) (*.f64 (*.f64 x x) (cos.f64 (*.f64 1/2 x))))) |
(*.f64 (sin.f64 (*.f64 1/2 x)) (/.f64 (/.f64 (sin.f64 x) (*.f64 x x)) (cos.f64 (*.f64 1/2 x)))) |
(/.f64 (*.f64 (sin.f64 x) (sin.f64 (*.f64 1/2 x))) (*.f64 (cos.f64 (*.f64 1/2 x)) (pow.f64 x 2))) |
(*.f64 (/.f64 (sin.f64 x) (cos.f64 (*.f64 1/2 x))) (/.f64 (sin.f64 (*.f64 1/2 x)) (*.f64 x x))) |
(*.f64 (sin.f64 x) (/.f64 (sin.f64 (*.f64 1/2 x)) (*.f64 (*.f64 x x) (cos.f64 (*.f64 1/2 x))))) |
(*.f64 (sin.f64 (*.f64 1/2 x)) (/.f64 (/.f64 (sin.f64 x) (*.f64 x x)) (cos.f64 (*.f64 1/2 x)))) |
(/.f64 (*.f64 (sin.f64 x) (sin.f64 (*.f64 1/2 x))) (*.f64 (cos.f64 (*.f64 1/2 x)) (pow.f64 x 2))) |
(*.f64 (/.f64 (sin.f64 x) (cos.f64 (*.f64 1/2 x))) (/.f64 (sin.f64 (*.f64 1/2 x)) (*.f64 x x))) |
(*.f64 (sin.f64 x) (/.f64 (sin.f64 (*.f64 1/2 x)) (*.f64 (*.f64 x x) (cos.f64 (*.f64 1/2 x))))) |
(*.f64 (sin.f64 (*.f64 1/2 x)) (/.f64 (/.f64 (sin.f64 x) (*.f64 x x)) (cos.f64 (*.f64 1/2 x)))) |
(/.f64 (*.f64 (sin.f64 x) (sin.f64 (*.f64 1/2 x))) (*.f64 (cos.f64 (*.f64 1/2 x)) (pow.f64 x 2))) |
(*.f64 (/.f64 (sin.f64 x) (cos.f64 (*.f64 1/2 x))) (/.f64 (sin.f64 (*.f64 1/2 x)) (*.f64 x x))) |
(*.f64 (sin.f64 x) (/.f64 (sin.f64 (*.f64 1/2 x)) (*.f64 (*.f64 x x) (cos.f64 (*.f64 1/2 x))))) |
(*.f64 (sin.f64 (*.f64 1/2 x)) (/.f64 (/.f64 (sin.f64 x) (*.f64 x x)) (cos.f64 (*.f64 1/2 x)))) |
(/.f64 (*.f64 (sin.f64 x) (sin.f64 (*.f64 1/2 x))) (*.f64 (cos.f64 (*.f64 1/2 x)) (pow.f64 x 2))) |
(*.f64 (/.f64 (sin.f64 x) (cos.f64 (*.f64 1/2 x))) (/.f64 (sin.f64 (*.f64 1/2 x)) (*.f64 x x))) |
(*.f64 (sin.f64 x) (/.f64 (sin.f64 (*.f64 1/2 x)) (*.f64 (*.f64 x x) (cos.f64 (*.f64 1/2 x))))) |
(*.f64 (sin.f64 (*.f64 1/2 x)) (/.f64 (/.f64 (sin.f64 x) (*.f64 x x)) (cos.f64 (*.f64 1/2 x)))) |
(/.f64 (*.f64 (sin.f64 x) (sin.f64 (*.f64 1/2 x))) (*.f64 (cos.f64 (*.f64 1/2 x)) (pow.f64 x 2))) |
(*.f64 (/.f64 (sin.f64 x) (cos.f64 (*.f64 1/2 x))) (/.f64 (sin.f64 (*.f64 1/2 x)) (*.f64 x x))) |
(*.f64 (sin.f64 x) (/.f64 (sin.f64 (*.f64 1/2 x)) (*.f64 (*.f64 x x) (cos.f64 (*.f64 1/2 x))))) |
(*.f64 (sin.f64 (*.f64 1/2 x)) (/.f64 (/.f64 (sin.f64 x) (*.f64 x x)) (cos.f64 (*.f64 1/2 x)))) |
(/.f64 1/2 x) |
(+.f64 (*.f64 1/24 x) (*.f64 1/2 (/.f64 1 x))) |
(fma.f64 1/24 x (/.f64 1/2 x)) |
(fma.f64 x 1/24 (/.f64 1/2 x)) |
(+.f64 (*.f64 1/24 x) (+.f64 (*.f64 1/2 (/.f64 1 x)) (*.f64 1/240 (pow.f64 x 3)))) |
(+.f64 (fma.f64 1/24 x (/.f64 1/2 x)) (*.f64 1/240 (pow.f64 x 3))) |
(fma.f64 x 1/24 (fma.f64 1/240 (pow.f64 x 3) (/.f64 1/2 x))) |
(fma.f64 x (fma.f64 x (*.f64 x 1/240) 1/24) (/.f64 1/2 x)) |
(+.f64 (*.f64 1/24 x) (+.f64 (*.f64 1/2 (/.f64 1 x)) (+.f64 (*.f64 17/40320 (pow.f64 x 5)) (*.f64 1/240 (pow.f64 x 3))))) |
(+.f64 (fma.f64 1/24 x (/.f64 1/2 x)) (fma.f64 17/40320 (pow.f64 x 5) (*.f64 1/240 (pow.f64 x 3)))) |
(+.f64 (fma.f64 x 1/24 (/.f64 1/2 x)) (fma.f64 1/240 (pow.f64 x 3) (*.f64 17/40320 (pow.f64 x 5)))) |
(fma.f64 x 1/24 (fma.f64 1/240 (pow.f64 x 3) (fma.f64 17/40320 (pow.f64 x 5) (/.f64 1/2 x)))) |
(fma.f64 17/40320 (pow.f64 x 5) (fma.f64 x (fma.f64 x (*.f64 x 1/240) 1/24) (/.f64 1/2 x))) |
(fma.f64 x (fma.f64 x (*.f64 x 1/240) 1/24) (fma.f64 17/40320 (pow.f64 x 5) (/.f64 1/2 x))) |
(/.f64 (sin.f64 (*.f64 1/2 x)) (*.f64 (cos.f64 (*.f64 1/2 x)) (pow.f64 x 2))) |
(/.f64 (sin.f64 (*.f64 1/2 x)) (*.f64 (*.f64 x x) (cos.f64 (*.f64 1/2 x)))) |
(/.f64 (/.f64 (sin.f64 (*.f64 1/2 x)) (*.f64 x x)) (cos.f64 (*.f64 1/2 x))) |
(/.f64 (sin.f64 (*.f64 1/2 x)) (*.f64 (cos.f64 (*.f64 1/2 x)) (pow.f64 x 2))) |
(/.f64 (sin.f64 (*.f64 1/2 x)) (*.f64 (*.f64 x x) (cos.f64 (*.f64 1/2 x)))) |
(/.f64 (/.f64 (sin.f64 (*.f64 1/2 x)) (*.f64 x x)) (cos.f64 (*.f64 1/2 x))) |
(/.f64 (sin.f64 (*.f64 1/2 x)) (*.f64 (cos.f64 (*.f64 1/2 x)) (pow.f64 x 2))) |
(/.f64 (sin.f64 (*.f64 1/2 x)) (*.f64 (*.f64 x x) (cos.f64 (*.f64 1/2 x)))) |
(/.f64 (/.f64 (sin.f64 (*.f64 1/2 x)) (*.f64 x x)) (cos.f64 (*.f64 1/2 x))) |
(/.f64 (sin.f64 (*.f64 1/2 x)) (*.f64 (cos.f64 (*.f64 1/2 x)) (pow.f64 x 2))) |
(/.f64 (sin.f64 (*.f64 1/2 x)) (*.f64 (*.f64 x x) (cos.f64 (*.f64 1/2 x)))) |
(/.f64 (/.f64 (sin.f64 (*.f64 1/2 x)) (*.f64 x x)) (cos.f64 (*.f64 1/2 x))) |
(/.f64 (sin.f64 (*.f64 1/2 x)) (*.f64 (cos.f64 (*.f64 1/2 x)) (pow.f64 x 2))) |
(/.f64 (sin.f64 (*.f64 1/2 x)) (*.f64 (*.f64 x x) (cos.f64 (*.f64 1/2 x)))) |
(/.f64 (/.f64 (sin.f64 (*.f64 1/2 x)) (*.f64 x x)) (cos.f64 (*.f64 1/2 x))) |
(/.f64 (sin.f64 (*.f64 1/2 x)) (*.f64 (cos.f64 (*.f64 1/2 x)) (pow.f64 x 2))) |
(/.f64 (sin.f64 (*.f64 1/2 x)) (*.f64 (*.f64 x x) (cos.f64 (*.f64 1/2 x)))) |
(/.f64 (/.f64 (sin.f64 (*.f64 1/2 x)) (*.f64 x x)) (cos.f64 (*.f64 1/2 x))) |
(/.f64 (sin.f64 (*.f64 1/2 x)) (*.f64 (cos.f64 (*.f64 1/2 x)) (pow.f64 x 2))) |
(/.f64 (sin.f64 (*.f64 1/2 x)) (*.f64 (*.f64 x x) (cos.f64 (*.f64 1/2 x)))) |
(/.f64 (/.f64 (sin.f64 (*.f64 1/2 x)) (*.f64 x x)) (cos.f64 (*.f64 1/2 x))) |
(/.f64 (sin.f64 (*.f64 1/2 x)) (*.f64 (cos.f64 (*.f64 1/2 x)) (pow.f64 x 2))) |
(/.f64 (sin.f64 (*.f64 1/2 x)) (*.f64 (*.f64 x x) (cos.f64 (*.f64 1/2 x)))) |
(/.f64 (/.f64 (sin.f64 (*.f64 1/2 x)) (*.f64 x x)) (cos.f64 (*.f64 1/2 x))) |
1/2 |
(+.f64 1/2 (*.f64 1/24 (pow.f64 x 2))) |
(+.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 1/2 (+.f64 (*.f64 1/24 (pow.f64 x 2)) (*.f64 1/240 (pow.f64 x 4)))) |
(+.f64 1/2 (fma.f64 1/24 (*.f64 x x) (*.f64 (pow.f64 x 4) 1/240))) |
(+.f64 (fma.f64 (*.f64 x x) 1/24 1/2) (*.f64 (pow.f64 x 4) 1/240)) |
(fma.f64 x (*.f64 x 1/24) (fma.f64 (pow.f64 x 4) 1/240 1/2)) |
(+.f64 1/2 (+.f64 (*.f64 1/24 (pow.f64 x 2)) (+.f64 (*.f64 17/40320 (pow.f64 x 6)) (*.f64 1/240 (pow.f64 x 4))))) |
(+.f64 1/2 (fma.f64 1/24 (*.f64 x x) (fma.f64 17/40320 (pow.f64 x 6) (*.f64 (pow.f64 x 4) 1/240)))) |
(+.f64 (fma.f64 (*.f64 x x) 1/24 1/2) (fma.f64 (pow.f64 x 4) 1/240 (*.f64 (pow.f64 x 6) 17/40320))) |
(+.f64 1/2 (fma.f64 x (*.f64 x 1/24) (fma.f64 (pow.f64 x 4) 1/240 (*.f64 (pow.f64 x 6) 17/40320)))) |
(fma.f64 (*.f64 x x) (fma.f64 x (*.f64 x 1/240) 1/24) (fma.f64 (pow.f64 x 6) 17/40320 1/2)) |
(fma.f64 x (*.f64 x 1/24) (fma.f64 (pow.f64 x 4) 1/240 (fma.f64 (pow.f64 x 6) 17/40320 1/2))) |
(/.f64 (sin.f64 (*.f64 1/2 x)) (*.f64 (cos.f64 (*.f64 1/2 x)) x)) |
(/.f64 (sin.f64 (*.f64 1/2 x)) (*.f64 x (cos.f64 (*.f64 1/2 x)))) |
(/.f64 (/.f64 (sin.f64 (*.f64 1/2 x)) x) (cos.f64 (*.f64 1/2 x))) |
(/.f64 (sin.f64 (*.f64 1/2 x)) (*.f64 (cos.f64 (*.f64 1/2 x)) x)) |
(/.f64 (sin.f64 (*.f64 1/2 x)) (*.f64 x (cos.f64 (*.f64 1/2 x)))) |
(/.f64 (/.f64 (sin.f64 (*.f64 1/2 x)) x) (cos.f64 (*.f64 1/2 x))) |
(/.f64 (sin.f64 (*.f64 1/2 x)) (*.f64 (cos.f64 (*.f64 1/2 x)) x)) |
(/.f64 (sin.f64 (*.f64 1/2 x)) (*.f64 x (cos.f64 (*.f64 1/2 x)))) |
(/.f64 (/.f64 (sin.f64 (*.f64 1/2 x)) x) (cos.f64 (*.f64 1/2 x))) |
(/.f64 (sin.f64 (*.f64 1/2 x)) (*.f64 (cos.f64 (*.f64 1/2 x)) x)) |
(/.f64 (sin.f64 (*.f64 1/2 x)) (*.f64 x (cos.f64 (*.f64 1/2 x)))) |
(/.f64 (/.f64 (sin.f64 (*.f64 1/2 x)) x) (cos.f64 (*.f64 1/2 x))) |
(/.f64 (sin.f64 (*.f64 1/2 x)) (*.f64 (cos.f64 (*.f64 1/2 x)) x)) |
(/.f64 (sin.f64 (*.f64 1/2 x)) (*.f64 x (cos.f64 (*.f64 1/2 x)))) |
(/.f64 (/.f64 (sin.f64 (*.f64 1/2 x)) x) (cos.f64 (*.f64 1/2 x))) |
(/.f64 (sin.f64 (*.f64 1/2 x)) (*.f64 (cos.f64 (*.f64 1/2 x)) x)) |
(/.f64 (sin.f64 (*.f64 1/2 x)) (*.f64 x (cos.f64 (*.f64 1/2 x)))) |
(/.f64 (/.f64 (sin.f64 (*.f64 1/2 x)) x) (cos.f64 (*.f64 1/2 x))) |
(/.f64 (sin.f64 (*.f64 1/2 x)) (*.f64 (cos.f64 (*.f64 1/2 x)) x)) |
(/.f64 (sin.f64 (*.f64 1/2 x)) (*.f64 x (cos.f64 (*.f64 1/2 x)))) |
(/.f64 (/.f64 (sin.f64 (*.f64 1/2 x)) x) (cos.f64 (*.f64 1/2 x))) |
(/.f64 (sin.f64 (*.f64 1/2 x)) (*.f64 (cos.f64 (*.f64 1/2 x)) x)) |
(/.f64 (sin.f64 (*.f64 1/2 x)) (*.f64 x (cos.f64 (*.f64 1/2 x)))) |
(/.f64 (/.f64 (sin.f64 (*.f64 1/2 x)) x) (cos.f64 (*.f64 1/2 x))) |
Found 2 expressions with local error:
| New | Error | Program |
|---|---|---|
| ✓ | 0.0b | (*.f64 1/2 (*.f64 x x)) |
| ✓ | 29.7b | (/.f64 x (*.f64 1/2 (*.f64 x x))) |
Compiled 33 to 17 computations (48.5% saved)
6 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 2.0ms | x | @ | -inf | (/.f64 x (*.f64 1/2 (*.f64 x x))) |
| 1.0ms | x | @ | 0 | (/.f64 x (*.f64 1/2 (*.f64 x x))) |
| 1.0ms | x | @ | inf | (*.f64 1/2 (*.f64 x x)) |
| 1.0ms | x | @ | inf | (/.f64 x (*.f64 1/2 (*.f64 x x))) |
| 1.0ms | x | @ | 0 | (*.f64 1/2 (*.f64 x x)) |
| 1× | batch-egg-rewrite |
| 685× | pow1_binary64 |
| 642× | add-log-exp_binary64 |
| 642× | log1p-expm1-u_binary64 |
| 642× | expm1-log1p-u_binary64 |
| 629× | add-exp-log_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 6 | 17 |
| 1 | 130 | 17 |
| 2 | 1739 | 17 |
| 1× | node limit |
| Inputs |
|---|
(/.f64 x (*.f64 1/2 (*.f64 x x))) |
(*.f64 1/2 (*.f64 x x)) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (*.f64 x (/.f64 2 (*.f64 x x)))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 x (/.f64 2 (*.f64 x x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 x (/.f64 2 (*.f64 x x))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (*.f64 x (/.f64 2 (*.f64 x x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (*.f64 x (/.f64 2 (*.f64 x x)))) (pow.f64 (cbrt.f64 (*.f64 x (/.f64 2 (*.f64 x x)))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (*.f64 x (/.f64 2 (*.f64 x x)))) 2) (cbrt.f64 (*.f64 x (/.f64 2 (*.f64 x x)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 x) 2) (*.f64 (cbrt.f64 x) (/.f64 2 (*.f64 x x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (sqrt.f64 (/.f64 x 1/2)) x) (/.f64 (sqrt.f64 (/.f64 x 1/2)) x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 x) (*.f64 (sqrt.f64 x) (/.f64 2 (*.f64 x x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 2 (/.f64 x (*.f64 x x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (neg.f64 x) (/.f64 1 (*.f64 (*.f64 x x) -1/2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 2 (*.f64 x x)) x)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 x 1/2) (/.f64 1 (*.f64 x x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (pow.f64 (cbrt.f64 x) 2) 1/2) (/.f64 (cbrt.f64 x) (*.f64 x x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (sqrt.f64 x) 1/2) (/.f64 (sqrt.f64 x) (*.f64 x x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (sqrt.f64 x) (*.f64 x x)) (/.f64 (sqrt.f64 x) 1/2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 1 (*.f64 x x)) (/.f64 x 1/2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (pow.f64 (cbrt.f64 x) 2) (*.f64 x x)) (/.f64 (cbrt.f64 x) 1/2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (pow.f64 (cbrt.f64 x) 2) 1) (/.f64 (cbrt.f64 x) (*.f64 1/2 (*.f64 x x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (sqrt.f64 x) 1) (/.f64 (sqrt.f64 x) (*.f64 1/2 (*.f64 x x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 1 (cbrt.f64 (*.f64 1/4 (pow.f64 x 4)))) (/.f64 x (cbrt.f64 (*.f64 1/2 (*.f64 x x)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (pow.f64 (cbrt.f64 x) 2) (cbrt.f64 (*.f64 1/4 (pow.f64 x 4)))) (cbrt.f64 (*.f64 x (/.f64 2 (*.f64 x x)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (sqrt.f64 x) (cbrt.f64 (*.f64 1/4 (pow.f64 x 4)))) (/.f64 (sqrt.f64 x) (cbrt.f64 (*.f64 1/2 (*.f64 x x)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 1 (*.f64 x (sqrt.f64 1/2))) (/.f64 x (*.f64 x (sqrt.f64 1/2))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (pow.f64 (cbrt.f64 x) 2) (*.f64 x (sqrt.f64 1/2))) (/.f64 (cbrt.f64 x) (*.f64 x (sqrt.f64 1/2))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 1 (*.f64 x 1/2)) (/.f64 x x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (pow.f64 (cbrt.f64 x) 2) (*.f64 x 1/2)) (/.f64 (cbrt.f64 x) x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (sqrt.f64 x) (*.f64 x 1/2)) (/.f64 (sqrt.f64 x) x))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 x (/.f64 2 (*.f64 x x))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 x (/.f64 2 (*.f64 x x))) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (*.f64 x (/.f64 2 (*.f64 x x)))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 (sqrt.f64 (/.f64 x 1/2)) x) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 (*.f64 x x) (/.f64 x 1/2)) -1)))) (#(struct:change #<rule egg-rr> (2) ((x neg.f64 (/.f64 x (*.f64 (*.f64 x x) -1/2)))))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (/.f64 (*.f64 x x) (*.f64 1/4 (pow.f64 x 4))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (pow.f64 (exp.f64 x) (/.f64 2 (*.f64 x x))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (*.f64 x (/.f64 2 (*.f64 x x))) 3))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (/.f64 (pow.f64 x 3) (pow.f64 (*.f64 1/2 (*.f64 x x)) 3)))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 x (/.f64 2 (*.f64 x x)))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 x (/.f64 2 (*.f64 x x)))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (*.f64 x (/.f64 2 (*.f64 x x))))))))) |
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (*.f64 1/2 (*.f64 x x))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 1/2 (*.f64 x x)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 1/2 (*.f64 x x)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (*.f64 1/2 (*.f64 x x))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 x (sqrt.f64 1/2)) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (*.f64 1/4 (pow.f64 x 4)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (pow.f64 (exp.f64 1/2) (*.f64 x x)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (*.f64 1/2 (*.f64 x x)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 1/2 (*.f64 x x))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 1/2 (*.f64 x x))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (*.f64 1/2 (*.f64 x x)))))))) |
| 1× | egg-herbie |
| 759× | sqr-pow_binary64 |
| 542× | associate-/l/_binary64 |
| 535× | cube-prod_binary64 |
| 525× | fabs-mul_binary64 |
| 451× | associate-*l*_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 7 | 132 |
| 1 | 13 | 132 |
| 2 | 23 | 132 |
| 3 | 46 | 132 |
| 4 | 113 | 132 |
| 5 | 346 | 132 |
| 6 | 1319 | 132 |
| 7 | 2385 | 132 |
| 8 | 3401 | 132 |
| 9 | 3585 | 132 |
| 10 | 3797 | 132 |
| 11 | 4095 | 132 |
| 12 | 4509 | 132 |
| 13 | 4992 | 132 |
| 14 | 5560 | 132 |
| 15 | 6246 | 132 |
| 16 | 7081 | 132 |
| 17 | 7471 | 132 |
| 18 | 7757 | 132 |
| 1× | node limit |
| Inputs |
|---|
(/.f64 2 x) |
(/.f64 2 x) |
(/.f64 2 x) |
(/.f64 2 x) |
(/.f64 2 x) |
(/.f64 2 x) |
(/.f64 2 x) |
(/.f64 2 x) |
(/.f64 2 x) |
(/.f64 2 x) |
(/.f64 2 x) |
(/.f64 2 x) |
(*.f64 1/2 (pow.f64 x 2)) |
(*.f64 1/2 (pow.f64 x 2)) |
(*.f64 1/2 (pow.f64 x 2)) |
(*.f64 1/2 (pow.f64 x 2)) |
(*.f64 1/2 (pow.f64 x 2)) |
(*.f64 1/2 (pow.f64 x 2)) |
(*.f64 1/2 (pow.f64 x 2)) |
(*.f64 1/2 (pow.f64 x 2)) |
(*.f64 1/2 (pow.f64 x 2)) |
(*.f64 1/2 (pow.f64 x 2)) |
(*.f64 1/2 (pow.f64 x 2)) |
(*.f64 1/2 (pow.f64 x 2)) |
| Outputs |
|---|
(/.f64 2 x) |
(/.f64 2 x) |
(/.f64 2 x) |
(/.f64 2 x) |
(/.f64 2 x) |
(/.f64 2 x) |
(/.f64 2 x) |
(/.f64 2 x) |
(/.f64 2 x) |
(/.f64 2 x) |
(/.f64 2 x) |
(/.f64 2 x) |
(*.f64 1/2 (pow.f64 x 2)) |
(*.f64 1/2 (*.f64 x x)) |
(*.f64 x (*.f64 x 1/2)) |
(*.f64 1/2 (pow.f64 x 2)) |
(*.f64 1/2 (*.f64 x x)) |
(*.f64 x (*.f64 x 1/2)) |
(*.f64 1/2 (pow.f64 x 2)) |
(*.f64 1/2 (*.f64 x x)) |
(*.f64 x (*.f64 x 1/2)) |
(*.f64 1/2 (pow.f64 x 2)) |
(*.f64 1/2 (*.f64 x x)) |
(*.f64 x (*.f64 x 1/2)) |
(*.f64 1/2 (pow.f64 x 2)) |
(*.f64 1/2 (*.f64 x x)) |
(*.f64 x (*.f64 x 1/2)) |
(*.f64 1/2 (pow.f64 x 2)) |
(*.f64 1/2 (*.f64 x x)) |
(*.f64 x (*.f64 x 1/2)) |
(*.f64 1/2 (pow.f64 x 2)) |
(*.f64 1/2 (*.f64 x x)) |
(*.f64 x (*.f64 x 1/2)) |
(*.f64 1/2 (pow.f64 x 2)) |
(*.f64 1/2 (*.f64 x x)) |
(*.f64 x (*.f64 x 1/2)) |
(*.f64 1/2 (pow.f64 x 2)) |
(*.f64 1/2 (*.f64 x x)) |
(*.f64 x (*.f64 x 1/2)) |
(*.f64 1/2 (pow.f64 x 2)) |
(*.f64 1/2 (*.f64 x x)) |
(*.f64 x (*.f64 x 1/2)) |
(*.f64 1/2 (pow.f64 x 2)) |
(*.f64 1/2 (*.f64 x x)) |
(*.f64 x (*.f64 x 1/2)) |
(*.f64 1/2 (pow.f64 x 2)) |
(*.f64 1/2 (*.f64 x x)) |
(*.f64 x (*.f64 x 1/2)) |
Found 3 expressions with local error:
| New | Error | Program |
|---|---|---|
| ✓ | 0.1b | (*.f64 (/.f64 (-.f64 1 (cos.f64 x)) x) (/.f64 1 x)) |
| 0.1b | (/.f64 (-.f64 1 (cos.f64 x)) x) | |
| 1.6b | (-.f64 1 (cos.f64 x)) |
Compiled 28 to 16 computations (42.9% saved)
3 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 0.0ms | x | @ | 0 | (*.f64 (/.f64 (-.f64 1 (cos.f64 x)) x) (/.f64 1 x)) |
| 0.0ms | x | @ | -inf | (*.f64 (/.f64 (-.f64 1 (cos.f64 x)) x) (/.f64 1 x)) |
| 0.0ms | x | @ | inf | (*.f64 (/.f64 (-.f64 1 (cos.f64 x)) x) (/.f64 1 x)) |
| 1× | batch-egg-rewrite |
| 451× | log-prod_binary64 |
| 347× | exp-prod_binary64 |
| 305× | prod-diff_binary64 |
| 278× | pow-prod-down_binary64 |
| 226× | pow2_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 8 | 12 |
| 1 | 179 | 12 |
| 2 | 2567 | 12 |
| 1× | node limit |
| Inputs |
|---|
(*.f64 (/.f64 (-.f64 1 (cos.f64 x)) x) (/.f64 1 x)) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x +.f64 0 (*.f64 (-.f64 1 (cos.f64 x)) (pow.f64 x -2)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (pow.f64 (cbrt.f64 (pow.f64 (exp.f64 (pow.f64 x -2)) (-.f64 1 (cos.f64 x)))) 2)) (log.f64 (cbrt.f64 (pow.f64 (exp.f64 (pow.f64 x -2)) (-.f64 1 (cos.f64 x))))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (sqrt.f64 (pow.f64 (exp.f64 (pow.f64 x -2)) (-.f64 1 (cos.f64 x))))) (log.f64 (sqrt.f64 (pow.f64 (exp.f64 (pow.f64 x -2)) (-.f64 1 (cos.f64 x))))))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (pow.f64 x -2) (/.f64 (/.f64 (cos.f64 x) x) x))))) (#(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 x (-.f64 1 (cos.f64 x))) x))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (*.f64 x (/.f64 x (-.f64 1 (cos.f64 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 x (/.f64 (-.f64 1 (cos.f64 x)) x)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (*.f64 x x) (-.f64 1 (cos.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 1 (cos.f64 x)) (*.f64 x x))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 1 (cos.f64 x)) (/.f64 (*.f64 x x) 1))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (/.f64 (-.f64 1 (cos.f64 x)) x) x)))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (/.f64 1 x) (/.f64 x (-.f64 1 (cos.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (pow.f64 (cbrt.f64 (/.f64 (-.f64 1 (cos.f64 x)) x)) 2) (/.f64 x (cbrt.f64 (/.f64 (-.f64 1 (cos.f64 x)) x))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (sqrt.f64 (/.f64 (-.f64 1 (cos.f64 x)) x)) (/.f64 x (sqrt.f64 (/.f64 (-.f64 1 (cos.f64 x)) x))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 -1 (*.f64 (/.f64 x (-.f64 1 (cos.f64 x))) (neg.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 -1 (*.f64 (neg.f64 x) (/.f64 x (-.f64 1 (cos.f64 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (-.f64 1 (cos.f64 x))) (neg.f64 (*.f64 x x)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (-.f64 1 (cos.f64 x))) (*.f64 (neg.f64 x) x))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (-.f64 1 (cos.f64 x))) (*.f64 x (neg.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (/.f64 (-.f64 1 (cos.f64 x)) x)) (neg.f64 x))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (neg.f64 (-.f64 1 (cos.f64 x))) 1) (*.f64 (neg.f64 x) x))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (-.f64 1 (cos.f64 x)) -1) (*.f64 x (neg.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (neg.f64 (-.f64 1 (cos.f64 x))) -1) (pow.f64 (neg.f64 x) 2))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 -1 (neg.f64 (-.f64 1 (cos.f64 x)))) (pow.f64 (neg.f64 x) 2))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (/.f64 (/.f64 (-.f64 1 (cos.f64 x)) x) (sqrt.f64 x)) (sqrt.f64 x))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (/.f64 (/.f64 (-.f64 1 (cos.f64 x)) x) 1) x)))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (/.f64 (/.f64 (-.f64 1 (cos.f64 x)) x) (pow.f64 (cbrt.f64 x) 2)) (cbrt.f64 x))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (neg.f64 (-.f64 1 (cos.f64 x))) (/.f64 1 x)) (neg.f64 x))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 -1 (/.f64 (-.f64 1 (cos.f64 x)) x)) (neg.f64 x))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (/.f64 (-.f64 1 (cos.f64 x)) x) -1) (neg.f64 x))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (/.f64 1 x) (neg.f64 (-.f64 1 (cos.f64 x)))) (neg.f64 x))))) (#(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 (E.f64) (log.f64 (*.f64 (-.f64 1 (cos.f64 x)) (pow.f64 x -2))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (/.f64 (sqrt.f64 (-.f64 1 (cos.f64 x))) x) 4) 1/2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (/.f64 (sqrt.f64 (-.f64 1 (cos.f64 x))) x) 6) 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 (pow.f64 (/.f64 (-.f64 1 (cos.f64 x)) x) 3) (pow.f64 x 3)) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 (/.f64 x (-.f64 1 (cos.f64 x))) x) -1)))) (#(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 (/.f64 x (/.f64 (-.f64 1 (cos.f64 x)) x)) -1)))) (#(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 pow.f64 (*.f64 (sqrt.f64 (-.f64 1 (cos.f64 x))) (/.f64 1 x)) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 (pow.f64 (cbrt.f64 (log.f64 (*.f64 (-.f64 1 (cos.f64 x)) (pow.f64 x -2)))) 2)) (cbrt.f64 (log.f64 (*.f64 (-.f64 1 (cos.f64 x)) (pow.f64 x -2)))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 (sqrt.f64 (log.f64 (*.f64 (-.f64 1 (cos.f64 x)) (pow.f64 x -2))))) (sqrt.f64 (log.f64 (*.f64 (-.f64 1 (cos.f64 x)) (pow.f64 x -2)))))))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (/.f64 (sqrt.f64 (-.f64 1 (cos.f64 x))) x) 4))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (pow.f64 (exp.f64 (pow.f64 x -2)) (-.f64 1 (cos.f64 x))))))) (#(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 (sqrt.f64 (-.f64 1 (cos.f64 x))) x) 6))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (/.f64 (pow.f64 (/.f64 (-.f64 1 (cos.f64 x)) x) 3) (pow.f64 x 3)))))) (#(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 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 exp.f64 (*.f64 (log.f64 (pow.f64 (/.f64 (sqrt.f64 (-.f64 1 (cos.f64 x))) x) 6)) 1/3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (cbrt.f64 (*.f64 (-.f64 1 (cos.f64 x)) (pow.f64 x -2)))) 3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (/.f64 (sqrt.f64 (-.f64 1 (cos.f64 x))) x)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 (log.f64 (*.f64 (-.f64 1 (cos.f64 x)) (pow.f64 x -2))) 1) 1))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (-.f64 (*.f64 (log1p.f64 (neg.f64 (cos.f64 x))) 1) (*.f64 2 (log.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (-.f64 (*.f64 (log.f64 (/.f64 (-.f64 1 (cos.f64 x)) x)) 1) (log.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (-.f64 (log.f64 (/.f64 (-.f64 1 (cos.f64 x)) x)) (*.f64 (log.f64 x) 1)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (-.f64 (*.f64 (log.f64 (/.f64 (-.f64 1 (cos.f64 x)) x)) 1) (*.f64 (log.f64 x) 1)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (-.f64 (*.f64 (log.f64 x) -1) (log.f64 (/.f64 x (-.f64 1 (cos.f64 x))))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (-.f64 (*.f64 (neg.f64 (log.f64 x)) 1) (log.f64 (/.f64 x (-.f64 1 (cos.f64 x))))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (pow.f64 x -2) (neg.f64 (/.f64 (/.f64 (cos.f64 x) x) x)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (/.f64 1 x) (/.f64 1 x) (neg.f64 (/.f64 (/.f64 (cos.f64 x) x) x)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (pow.f64 x -2)) (pow.f64 (/.f64 1 (cbrt.f64 x)) 4) (neg.f64 (/.f64 (/.f64 (cos.f64 x) x) x)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 x -1/2) (pow.f64 x -3/2) (neg.f64 (/.f64 (/.f64 (cos.f64 x) x) x)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 x -3/2) (pow.f64 x -1/2) (neg.f64 (/.f64 (/.f64 (cos.f64 x) x) x)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (/.f64 1 (cbrt.f64 x)) 4) (cbrt.f64 (pow.f64 x -2)) (neg.f64 (/.f64 (/.f64 (cos.f64 x) x) x)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (/.f64 1 (cbrt.f64 x)) 5) (/.f64 1 (cbrt.f64 x)) (neg.f64 (/.f64 (/.f64 (cos.f64 x) x) x))))))) |
| 1× | egg-herbie |
| 716× | fma-def_binary64 |
| 649× | div-sub_binary64 |
| 566× | associate-/r*_binary64 |
| 374× | associate-/l/_binary64 |
| 352× | *-commutative_binary64 |
Useful iterations: 3 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 25 | 148 |
| 1 | 58 | 146 |
| 2 | 130 | 144 |
| 3 | 356 | 142 |
| 4 | 1285 | 142 |
| 5 | 3563 | 142 |
| 6 | 6488 | 142 |
| 1× | node limit |
| Inputs |
|---|
1/2 |
(+.f64 1/2 (*.f64 -1/24 (pow.f64 x 2))) |
(+.f64 1/2 (+.f64 (*.f64 -1/24 (pow.f64 x 2)) (*.f64 1/720 (pow.f64 x 4)))) |
(+.f64 1/2 (+.f64 (*.f64 -1/24 (pow.f64 x 2)) (+.f64 (*.f64 -1/40320 (pow.f64 x 6)) (*.f64 1/720 (pow.f64 x 4))))) |
(/.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)) |
| Outputs |
|---|
1/2 |
(+.f64 1/2 (*.f64 -1/24 (pow.f64 x 2))) |
(+.f64 1/2 (*.f64 -1/24 (*.f64 x x))) |
(fma.f64 -1/24 (*.f64 x x) 1/2) |
(+.f64 1/2 (+.f64 (*.f64 -1/24 (pow.f64 x 2)) (*.f64 1/720 (pow.f64 x 4)))) |
(+.f64 1/2 (fma.f64 -1/24 (*.f64 x x) (*.f64 1/720 (pow.f64 x 4)))) |
(fma.f64 -1/24 (*.f64 x x) (fma.f64 1/720 (pow.f64 x 4) 1/2)) |
(+.f64 1/2 (+.f64 (*.f64 -1/24 (pow.f64 x 2)) (+.f64 (*.f64 -1/40320 (pow.f64 x 6)) (*.f64 1/720 (pow.f64 x 4))))) |
(+.f64 1/2 (fma.f64 -1/24 (*.f64 x x) (fma.f64 -1/40320 (pow.f64 x 6) (*.f64 1/720 (pow.f64 x 4))))) |
(+.f64 1/2 (fma.f64 -1/24 (*.f64 x x) (fma.f64 1/720 (pow.f64 x 4) (*.f64 -1/40320 (pow.f64 x 6))))) |
(+.f64 (fma.f64 -1/24 (*.f64 x x) 1/2) (fma.f64 -1/40320 (pow.f64 x 6) (*.f64 1/720 (pow.f64 x 4)))) |
(fma.f64 -1/40320 (pow.f64 x 6) (fma.f64 -1/24 (*.f64 x x) (fma.f64 1/720 (pow.f64 x 4) 1/2))) |
(fma.f64 -1/24 (*.f64 x x) (fma.f64 1/720 (pow.f64 x 4) (fma.f64 -1/40320 (pow.f64 x 6) 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)) |
Found 3 expressions with local error:
| New | Error | Program |
|---|---|---|
| ✓ | 0.1b | (/.f64 (/.f64 1 x) (neg.f64 x)) |
| 1.6b | (-.f64 1 (cos.f64 x)) | |
| ✓ | 16.4b | (*.f64 (/.f64 (/.f64 1 x) (neg.f64 x)) (neg.f64 (-.f64 1 (cos.f64 x)))) |
Compiled 37 to 21 computations (43.2% saved)
6 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 4.0ms | x | @ | 0 | (*.f64 (/.f64 (/.f64 1 x) (neg.f64 x)) (neg.f64 (-.f64 1 (cos.f64 x)))) |
| 1.0ms | x | @ | -inf | (*.f64 (/.f64 (/.f64 1 x) (neg.f64 x)) (neg.f64 (-.f64 1 (cos.f64 x)))) |
| 1.0ms | x | @ | inf | (*.f64 (/.f64 (/.f64 1 x) (neg.f64 x)) (neg.f64 (-.f64 1 (cos.f64 x)))) |
| 1.0ms | x | @ | 0 | (/.f64 (/.f64 1 x) (neg.f64 x)) |
| 0.0ms | x | @ | inf | (/.f64 (/.f64 1 x) (neg.f64 x)) |
| 1× | batch-egg-rewrite |
| 913× | pow1_binary64 |
| 851× | add-log-exp_binary64 |
| 851× | log1p-expm1-u_binary64 |
| 851× | expm1-log1p-u_binary64 |
| 111× | add-sqr-sqrt_binary64 |
Useful iterations: 1 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 10 | 28 |
| 1 | 221 | 16 |
| 2 | 3309 | 16 |
| 1× | node limit |
| Inputs |
|---|
(*.f64 (/.f64 (/.f64 1 x) (neg.f64 x)) (neg.f64 (-.f64 1 (cos.f64 x)))) |
(/.f64 (/.f64 1 x) (neg.f64 x)) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x +.f64 (pow.f64 x -2) (*.f64 (neg.f64 (cos.f64 x)) (pow.f64 x -2)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (pow.f64 x -2) (*.f64 (pow.f64 x -2) (neg.f64 (cos.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 0 (*.f64 (pow.f64 x -2) (+.f64 -1 (cos.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (*.f64 (pow.f64 x -2) (+.f64 -1 (cos.f64 x))))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 x (/.f64 (+.f64 -1 (cos.f64 x)) x)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (/.f64 1 x) (/.f64 x (+.f64 -1 (cos.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 -1 (cos.f64 x)) (*.f64 x x))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 1 (pow.f64 (cos.f64 x) 3)) (*.f64 (*.f64 x x) (+.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 (*.f64 x x) (+.f64 1 (cos.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (/.f64 (+.f64 -1 (cos.f64 x)) x) x)))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (/.f64 1 x) (-.f64 1 (pow.f64 (cos.f64 x) 3))) (*.f64 x (+.f64 1 (+.f64 (cos.f64 x) (pow.f64 (cos.f64 x) 2)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (/.f64 1 x) (*.f64 (sin.f64 x) (sin.f64 x))) (*.f64 x (+.f64 1 (cos.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (/.f64 (/.f64 (+.f64 -1 (cos.f64 x)) x) 1) x)))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (/.f64 (/.f64 (+.f64 -1 (cos.f64 x)) x) (cbrt.f64 (*.f64 x x))) (cbrt.f64 x))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (/.f64 (/.f64 (+.f64 -1 (cos.f64 x)) x) (sqrt.f64 x)) (sqrt.f64 x))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (/.f64 (/.f64 (+.f64 -1 (cos.f64 x)) x) -1) x)))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (pow.f64 x -2) (-.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 (pow.f64 x -2) (*.f64 (sin.f64 x) (sin.f64 x))) (+.f64 1 (cos.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 (pow.f64 x -2) (+.f64 -1 (cos.f64 x))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 (pow.f64 x -2) (+.f64 -1 (cos.f64 x))) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (*.f64 (pow.f64 x -2) (+.f64 -1 (cos.f64 x)))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 (/.f64 1 x) (sqrt.f64 (+.f64 -1 (cos.f64 x)))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x neg.f64 (*.f64 (pow.f64 x -2) (+.f64 -1 (cos.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (*.f64 (pow.f64 x -2) (+.f64 -1 (cos.f64 x))) 2))))) (#(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 (pow.f64 x -2) (+.f64 -1 (cos.f64 x))))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (*.f64 (pow.f64 x -2) (+.f64 -1 (cos.f64 x))) 3))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (*.f64 (pow.f64 (pow.f64 x -2) 3) (pow.f64 (+.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 (pow.f64 x -2) 3)))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 (pow.f64 x -2) (+.f64 -1 (cos.f64 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 (pow.f64 x -2) (+.f64 -1 (cos.f64 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (*.f64 (pow.f64 x -2) (+.f64 -1 (cos.f64 x))))))))) |
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (pow.f64 x -2))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (pow.f64 x -2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 1 x) (/.f64 1 x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 x -2) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (pow.f64 x -2)) 2) (cbrt.f64 (pow.f64 x -2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (pow.f64 x -2)) (pow.f64 (cbrt.f64 (pow.f64 x -2)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (pow.f64 x -2)) (/.f64 (/.f64 1 x) (cbrt.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (pow.f64 x -2)) (*.f64 (/.f64 1 (cbrt.f64 x)) (/.f64 1 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 x -1/2) (/.f64 (/.f64 1 x) (sqrt.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 x -1/2) (*.f64 (pow.f64 x -1/2) (/.f64 1 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 -1 (pow.f64 x -2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (/.f64 1 x) (pow.f64 x -1/2)) (pow.f64 x -1/2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (cbrt.f64 (pow.f64 x -2)) 1) (/.f64 (/.f64 1 (cbrt.f64 x)) x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (pow.f64 x -1/2) 1) (/.f64 (pow.f64 x -1/2) x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (cbrt.f64 (pow.f64 x -2)) (cbrt.f64 (*.f64 x x))) (cbrt.f64 (pow.f64 x -2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (pow.f64 x -1/2) (cbrt.f64 (*.f64 x x))) (/.f64 (pow.f64 x -1/2) (cbrt.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (cbrt.f64 (pow.f64 x -2)) (sqrt.f64 x)) (/.f64 (/.f64 1 (cbrt.f64 x)) (sqrt.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (cbrt.f64 (pow.f64 x -2)) -1) (/.f64 (/.f64 1 (cbrt.f64 x)) x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (pow.f64 x -1/2) -1) (/.f64 (pow.f64 x -1/2) x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (/.f64 1 x) (cbrt.f64 (pow.f64 x -2))) (/.f64 1 (cbrt.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 x -2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 1 x) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 x -2) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (pow.f64 x -2) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (pow.f64 x -2)) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 x x) -1)))) (#(struct:change #<rule egg-rr> (2) ((x neg.f64 (pow.f64 x -2))))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (pow.f64 x -2) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (pow.f64 x -2)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (pow.f64 x -2))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (pow.f64 x -2) 3))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (/.f64 (/.f64 (pow.f64 x -2) x) (pow.f64 x 3)))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (pow.f64 x -2)))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (pow.f64 x -2)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (pow.f64 x -2))))))) |
| 1× | egg-herbie |
| 797× | div-sub_binary64 |
| 733× | fma-def_binary64 |
| 505× | associate-/l*_binary64 |
| 428× | fma-neg_binary64 |
| 330× | associate-/r/_binary64 |
Useful iterations: 3 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 28 | 248 |
| 1 | 65 | 246 |
| 2 | 150 | 236 |
| 3 | 414 | 226 |
| 4 | 1478 | 226 |
| 5 | 4443 | 226 |
| 6 | 7371 | 226 |
| 1× | node limit |
| Inputs |
|---|
1/2 |
(+.f64 1/2 (*.f64 -1/24 (pow.f64 x 2))) |
(+.f64 1/2 (+.f64 (*.f64 -1/24 (pow.f64 x 2)) (*.f64 1/720 (pow.f64 x 4)))) |
(+.f64 1/2 (+.f64 (*.f64 -1/24 (pow.f64 x 2)) (+.f64 (*.f64 -1/40320 (pow.f64 x 6)) (*.f64 1/720 (pow.f64 x 4))))) |
(*.f64 -1 (/.f64 (-.f64 (cos.f64 x) 1) (pow.f64 x 2))) |
(*.f64 -1 (/.f64 (-.f64 (cos.f64 x) 1) (pow.f64 x 2))) |
(*.f64 -1 (/.f64 (-.f64 (cos.f64 x) 1) (pow.f64 x 2))) |
(*.f64 -1 (/.f64 (-.f64 (cos.f64 x) 1) (pow.f64 x 2))) |
(*.f64 -1 (/.f64 (-.f64 (cos.f64 x) 1) (pow.f64 x 2))) |
(*.f64 -1 (/.f64 (-.f64 (cos.f64 x) 1) (pow.f64 x 2))) |
(*.f64 -1 (/.f64 (-.f64 (cos.f64 x) 1) (pow.f64 x 2))) |
(*.f64 -1 (/.f64 (-.f64 (cos.f64 x) 1) (pow.f64 x 2))) |
(/.f64 -1 (pow.f64 x 2)) |
(/.f64 -1 (pow.f64 x 2)) |
(/.f64 -1 (pow.f64 x 2)) |
(/.f64 -1 (pow.f64 x 2)) |
(/.f64 -1 (pow.f64 x 2)) |
(/.f64 -1 (pow.f64 x 2)) |
(/.f64 -1 (pow.f64 x 2)) |
(/.f64 -1 (pow.f64 x 2)) |
(/.f64 -1 (pow.f64 x 2)) |
(/.f64 -1 (pow.f64 x 2)) |
(/.f64 -1 (pow.f64 x 2)) |
(/.f64 -1 (pow.f64 x 2)) |
| Outputs |
|---|
1/2 |
(+.f64 1/2 (*.f64 -1/24 (pow.f64 x 2))) |
(+.f64 1/2 (*.f64 -1/24 (*.f64 x x))) |
(fma.f64 -1/24 (*.f64 x x) 1/2) |
(+.f64 1/2 (+.f64 (*.f64 -1/24 (pow.f64 x 2)) (*.f64 1/720 (pow.f64 x 4)))) |
(+.f64 1/2 (fma.f64 -1/24 (*.f64 x x) (*.f64 1/720 (pow.f64 x 4)))) |
(fma.f64 -1/24 (*.f64 x x) (fma.f64 1/720 (pow.f64 x 4) 1/2)) |
(fma.f64 (*.f64 x x) (fma.f64 (*.f64 x x) 1/720 -1/24) 1/2) |
(+.f64 1/2 (+.f64 (*.f64 -1/24 (pow.f64 x 2)) (+.f64 (*.f64 -1/40320 (pow.f64 x 6)) (*.f64 1/720 (pow.f64 x 4))))) |
(+.f64 1/2 (fma.f64 -1/24 (*.f64 x x) (fma.f64 -1/40320 (pow.f64 x 6) (*.f64 1/720 (pow.f64 x 4))))) |
(+.f64 1/2 (fma.f64 -1/24 (*.f64 x x) (fma.f64 1/720 (pow.f64 x 4) (*.f64 -1/40320 (pow.f64 x 6))))) |
(+.f64 (fma.f64 -1/24 (*.f64 x x) 1/2) (fma.f64 -1/40320 (pow.f64 x 6) (*.f64 1/720 (pow.f64 x 4)))) |
(fma.f64 -1/40320 (pow.f64 x 6) (fma.f64 -1/24 (*.f64 x x) (fma.f64 1/720 (pow.f64 x 4) 1/2))) |
(fma.f64 x (*.f64 x (fma.f64 (pow.f64 x 4) -1/40320 -1/24)) (fma.f64 1/720 (pow.f64 x 4) 1/2)) |
(*.f64 -1 (/.f64 (-.f64 (cos.f64 x) 1) (pow.f64 x 2))) |
(neg.f64 (/.f64 (+.f64 (cos.f64 x) -1) (*.f64 x x))) |
(/.f64 (neg.f64 (+.f64 -1 (cos.f64 x))) (*.f64 x x)) |
(/.f64 (fma.f64 -1 (cos.f64 x) 1) (*.f64 x x)) |
(/.f64 (-.f64 1 (cos.f64 x)) (*.f64 x x)) |
(*.f64 -1 (/.f64 (-.f64 (cos.f64 x) 1) (pow.f64 x 2))) |
(neg.f64 (/.f64 (+.f64 (cos.f64 x) -1) (*.f64 x x))) |
(/.f64 (neg.f64 (+.f64 -1 (cos.f64 x))) (*.f64 x x)) |
(/.f64 (fma.f64 -1 (cos.f64 x) 1) (*.f64 x x)) |
(/.f64 (-.f64 1 (cos.f64 x)) (*.f64 x x)) |
(*.f64 -1 (/.f64 (-.f64 (cos.f64 x) 1) (pow.f64 x 2))) |
(neg.f64 (/.f64 (+.f64 (cos.f64 x) -1) (*.f64 x x))) |
(/.f64 (neg.f64 (+.f64 -1 (cos.f64 x))) (*.f64 x x)) |
(/.f64 (fma.f64 -1 (cos.f64 x) 1) (*.f64 x x)) |
(/.f64 (-.f64 1 (cos.f64 x)) (*.f64 x x)) |
(*.f64 -1 (/.f64 (-.f64 (cos.f64 x) 1) (pow.f64 x 2))) |
(neg.f64 (/.f64 (+.f64 (cos.f64 x) -1) (*.f64 x x))) |
(/.f64 (neg.f64 (+.f64 -1 (cos.f64 x))) (*.f64 x x)) |
(/.f64 (fma.f64 -1 (cos.f64 x) 1) (*.f64 x x)) |
(/.f64 (-.f64 1 (cos.f64 x)) (*.f64 x x)) |
(*.f64 -1 (/.f64 (-.f64 (cos.f64 x) 1) (pow.f64 x 2))) |
(neg.f64 (/.f64 (+.f64 (cos.f64 x) -1) (*.f64 x x))) |
(/.f64 (neg.f64 (+.f64 -1 (cos.f64 x))) (*.f64 x x)) |
(/.f64 (fma.f64 -1 (cos.f64 x) 1) (*.f64 x x)) |
(/.f64 (-.f64 1 (cos.f64 x)) (*.f64 x x)) |
(*.f64 -1 (/.f64 (-.f64 (cos.f64 x) 1) (pow.f64 x 2))) |
(neg.f64 (/.f64 (+.f64 (cos.f64 x) -1) (*.f64 x x))) |
(/.f64 (neg.f64 (+.f64 -1 (cos.f64 x))) (*.f64 x x)) |
(/.f64 (fma.f64 -1 (cos.f64 x) 1) (*.f64 x x)) |
(/.f64 (-.f64 1 (cos.f64 x)) (*.f64 x x)) |
(*.f64 -1 (/.f64 (-.f64 (cos.f64 x) 1) (pow.f64 x 2))) |
(neg.f64 (/.f64 (+.f64 (cos.f64 x) -1) (*.f64 x x))) |
(/.f64 (neg.f64 (+.f64 -1 (cos.f64 x))) (*.f64 x x)) |
(/.f64 (fma.f64 -1 (cos.f64 x) 1) (*.f64 x x)) |
(/.f64 (-.f64 1 (cos.f64 x)) (*.f64 x x)) |
(*.f64 -1 (/.f64 (-.f64 (cos.f64 x) 1) (pow.f64 x 2))) |
(neg.f64 (/.f64 (+.f64 (cos.f64 x) -1) (*.f64 x x))) |
(/.f64 (neg.f64 (+.f64 -1 (cos.f64 x))) (*.f64 x x)) |
(/.f64 (fma.f64 -1 (cos.f64 x) 1) (*.f64 x x)) |
(/.f64 (-.f64 1 (cos.f64 x)) (*.f64 x x)) |
(/.f64 -1 (pow.f64 x 2)) |
(/.f64 -1 (*.f64 x x)) |
(/.f64 (/.f64 -1 x) x) |
(/.f64 -1 (pow.f64 x 2)) |
(/.f64 -1 (*.f64 x x)) |
(/.f64 (/.f64 -1 x) x) |
(/.f64 -1 (pow.f64 x 2)) |
(/.f64 -1 (*.f64 x x)) |
(/.f64 (/.f64 -1 x) x) |
(/.f64 -1 (pow.f64 x 2)) |
(/.f64 -1 (*.f64 x x)) |
(/.f64 (/.f64 -1 x) x) |
(/.f64 -1 (pow.f64 x 2)) |
(/.f64 -1 (*.f64 x x)) |
(/.f64 (/.f64 -1 x) x) |
(/.f64 -1 (pow.f64 x 2)) |
(/.f64 -1 (*.f64 x x)) |
(/.f64 (/.f64 -1 x) x) |
(/.f64 -1 (pow.f64 x 2)) |
(/.f64 -1 (*.f64 x x)) |
(/.f64 (/.f64 -1 x) x) |
(/.f64 -1 (pow.f64 x 2)) |
(/.f64 -1 (*.f64 x x)) |
(/.f64 (/.f64 -1 x) x) |
(/.f64 -1 (pow.f64 x 2)) |
(/.f64 -1 (*.f64 x x)) |
(/.f64 (/.f64 -1 x) x) |
(/.f64 -1 (pow.f64 x 2)) |
(/.f64 -1 (*.f64 x x)) |
(/.f64 (/.f64 -1 x) x) |
(/.f64 -1 (pow.f64 x 2)) |
(/.f64 -1 (*.f64 x x)) |
(/.f64 (/.f64 -1 x) x) |
(/.f64 -1 (pow.f64 x 2)) |
(/.f64 -1 (*.f64 x x)) |
(/.f64 (/.f64 -1 x) x) |
Found 2 expressions with local error:
| New | Error | Program |
|---|---|---|
| ✓ | 0.2b | (*.f64 (tan.f64 (/.f64 x 2)) (sin.f64 x)) |
| ✓ | 15.1b | (/.f64 (*.f64 (tan.f64 (/.f64 x 2)) (sin.f64 x)) (*.f64 x x)) |
Compiled 33 to 18 computations (45.5% saved)
6 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 0.0ms | x | @ | inf | (*.f64 (tan.f64 (/.f64 x 2)) (sin.f64 x)) |
| 0.0ms | x | @ | -inf | (*.f64 (tan.f64 (/.f64 x 2)) (sin.f64 x)) |
| 0.0ms | x | @ | 0 | (/.f64 (*.f64 (tan.f64 (/.f64 x 2)) (sin.f64 x)) (*.f64 x x)) |
| 0.0ms | x | @ | inf | (/.f64 (*.f64 (tan.f64 (/.f64 x 2)) (sin.f64 x)) (*.f64 x x)) |
| 0.0ms | x | @ | -inf | (/.f64 (*.f64 (tan.f64 (/.f64 x 2)) (sin.f64 x)) (*.f64 x x)) |
| 1× | batch-egg-rewrite |
| 545× | log-prod_binary64 |
| 421× | exp-prod_binary64 |
| 316× | pow-prod-down_binary64 |
| 263× | pow2_binary64 |
| 186× | pow1/3_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 9 | 28 |
| 1 | 201 | 28 |
| 2 | 2802 | 28 |
| 1× | node limit |
| Inputs |
|---|
(/.f64 (*.f64 (tan.f64 (/.f64 x 2)) (sin.f64 x)) (*.f64 x x)) |
(*.f64 (tan.f64 (/.f64 x 2)) (sin.f64 x)) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x +.f64 0 (*.f64 (tan.f64 (*.f64 x 1/2)) (*.f64 (sin.f64 x) (pow.f64 x -2))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (pow.f64 (cbrt.f64 (pow.f64 (exp.f64 (tan.f64 (*.f64 x 1/2))) (*.f64 (sin.f64 x) (pow.f64 x -2)))) 2)) (log.f64 (cbrt.f64 (pow.f64 (exp.f64 (tan.f64 (*.f64 x 1/2))) (*.f64 (sin.f64 x) (pow.f64 x -2))))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (sqrt.f64 (pow.f64 (exp.f64 (tan.f64 (*.f64 x 1/2))) (*.f64 (sin.f64 x) (pow.f64 x -2))))) (log.f64 (sqrt.f64 (pow.f64 (exp.f64 (tan.f64 (*.f64 x 1/2))) (*.f64 (sin.f64 x) (pow.f64 x -2))))))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (*.f64 (tan.f64 (*.f64 x 1/2)) (*.f64 (sin.f64 x) (pow.f64 x -2))))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (tan.f64 (*.f64 x 1/2)) (/.f64 1 (/.f64 x (/.f64 (sin.f64 x) x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (tan.f64 (*.f64 x 1/2)) (*.f64 (sin.f64 x) (pow.f64 x -2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sin.f64 x) (*.f64 (tan.f64 (*.f64 x 1/2)) (pow.f64 x -2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (tan.f64 (*.f64 x 1/2)) (sin.f64 x)) (pow.f64 x -2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (tan.f64 (*.f64 x 1/2)) (*.f64 (sin.f64 x) (pow.f64 x -2))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (*.f64 (tan.f64 (*.f64 x 1/2)) (*.f64 (sin.f64 x) (pow.f64 x -2))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (*.f64 (tan.f64 (*.f64 x 1/2)) (*.f64 (sin.f64 x) (pow.f64 x -2)))) (cbrt.f64 (pow.f64 (/.f64 (sqrt.f64 (*.f64 (tan.f64 (*.f64 x 1/2)) (sin.f64 x))) x) 4)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (pow.f64 (/.f64 (sqrt.f64 (*.f64 (tan.f64 (*.f64 x 1/2)) (sin.f64 x))) x) 4)) (cbrt.f64 (*.f64 (tan.f64 (*.f64 x 1/2)) (*.f64 (sin.f64 x) (pow.f64 x -2)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (*.f64 (tan.f64 (*.f64 x 1/2)) (sin.f64 x))) 2) (*.f64 (cbrt.f64 (*.f64 (tan.f64 (*.f64 x 1/2)) (sin.f64 x))) (pow.f64 x -2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (sqrt.f64 (*.f64 (tan.f64 (*.f64 x 1/2)) (sin.f64 x))) x) (/.f64 (sqrt.f64 (*.f64 (tan.f64 (*.f64 x 1/2)) (sin.f64 x))) x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (*.f64 (tan.f64 (*.f64 x 1/2)) (sin.f64 x))) (*.f64 (sqrt.f64 (*.f64 (tan.f64 (*.f64 x 1/2)) (sin.f64 x))) (pow.f64 x -2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (tan.f64 (*.f64 x 1/2)) (neg.f64 (sin.f64 x))) (/.f64 1 (*.f64 x (neg.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (tan.f64 (*.f64 x 1/2)) x) (/.f64 (sin.f64 x) x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (sin.f64 x) x) (/.f64 (tan.f64 (*.f64 x 1/2)) x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 x -2) (*.f64 (tan.f64 (*.f64 x 1/2)) (sin.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (tan.f64 (*.f64 x 1/2)) (/.f64 x (sin.f64 x))) (/.f64 1 x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (tan.f64 (*.f64 x 1/2)) 1) (/.f64 (sin.f64 x) (*.f64 x x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (sin.f64 x) 1) (/.f64 (tan.f64 (*.f64 x 1/2)) (*.f64 x x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (pow.f64 (cbrt.f64 (*.f64 (tan.f64 (*.f64 x 1/2)) (sin.f64 x))) 2) 1) (/.f64 (cbrt.f64 (*.f64 (tan.f64 (*.f64 x 1/2)) (sin.f64 x))) (*.f64 x x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (sqrt.f64 (*.f64 (tan.f64 (*.f64 x 1/2)) (sin.f64 x))) 1) (/.f64 (sqrt.f64 (*.f64 (tan.f64 (*.f64 x 1/2)) (sin.f64 x))) (*.f64 x x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 1 x) (/.f64 (tan.f64 (*.f64 x 1/2)) (/.f64 x (sin.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (pow.f64 (cbrt.f64 (*.f64 (tan.f64 (*.f64 x 1/2)) (sin.f64 x))) 2) x) (/.f64 (cbrt.f64 (*.f64 (tan.f64 (*.f64 x 1/2)) (sin.f64 x))) x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (tan.f64 (*.f64 x 1/2)) (*.f64 x x)) (sin.f64 x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (tan.f64 (*.f64 x 1/2)) (*.f64 (cbrt.f64 x) x)) (/.f64 (sin.f64 x) (pow.f64 (cbrt.f64 x) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (sin.f64 x) (*.f64 (cbrt.f64 x) x)) (/.f64 (tan.f64 (*.f64 x 1/2)) (pow.f64 (cbrt.f64 x) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 1 (*.f64 (cbrt.f64 x) x)) (/.f64 (*.f64 (tan.f64 (*.f64 x 1/2)) (sin.f64 x)) (pow.f64 (cbrt.f64 x) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (pow.f64 (cbrt.f64 (*.f64 (tan.f64 (*.f64 x 1/2)) (sin.f64 x))) 2) (*.f64 (cbrt.f64 x) x)) (cbrt.f64 (*.f64 (tan.f64 (*.f64 x 1/2)) (*.f64 (sin.f64 x) (pow.f64 x -2)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (sqrt.f64 (*.f64 (tan.f64 (*.f64 x 1/2)) (sin.f64 x))) (*.f64 (cbrt.f64 x) x)) (/.f64 (sqrt.f64 (*.f64 (tan.f64 (*.f64 x 1/2)) (sin.f64 x))) (pow.f64 (cbrt.f64 x) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 (tan.f64 (*.f64 x 1/2)) (*.f64 (sin.f64 x) (pow.f64 x -2))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (/.f64 (sqrt.f64 (*.f64 (tan.f64 (*.f64 x 1/2)) (sin.f64 x))) x) 4) 1/2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (/.f64 (sqrt.f64 (*.f64 (tan.f64 (*.f64 x 1/2)) (sin.f64 x))) x) 6) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (*.f64 (tan.f64 (*.f64 x 1/2)) (*.f64 (sin.f64 x) (pow.f64 x -2)))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 (sqrt.f64 (*.f64 (tan.f64 (*.f64 x 1/2)) (sin.f64 x))) x) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 (*.f64 x x) (*.f64 (tan.f64 (*.f64 x 1/2)) (sin.f64 x))) -1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 1) (log.f64 (*.f64 (tan.f64 (*.f64 x 1/2)) (*.f64 (sin.f64 x) (pow.f64 x -2)))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 (pow.f64 (*.f64 (tan.f64 (*.f64 x 1/2)) (sin.f64 x)) 3) (pow.f64 x 6)) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 (/.f64 (*.f64 x x) (*.f64 (tan.f64 (*.f64 x 1/2)) (sin.f64 x))) 1) -1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 (pow.f64 (cbrt.f64 (log.f64 (*.f64 (tan.f64 (*.f64 x 1/2)) (*.f64 (sin.f64 x) (pow.f64 x -2))))) 2)) (cbrt.f64 (log.f64 (*.f64 (tan.f64 (*.f64 x 1/2)) (*.f64 (sin.f64 x) (pow.f64 x -2))))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 (sqrt.f64 (log.f64 (*.f64 (tan.f64 (*.f64 x 1/2)) (*.f64 (sin.f64 x) (pow.f64 x -2)))))) (sqrt.f64 (log.f64 (*.f64 (tan.f64 (*.f64 x 1/2)) (*.f64 (sin.f64 x) (pow.f64 x -2))))))))) (#(struct:change #<rule egg-rr> (2) ((x neg.f64 (/.f64 (*.f64 (tan.f64 (*.f64 x 1/2)) (sin.f64 x)) (*.f64 x (neg.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (/.f64 (sqrt.f64 (*.f64 (tan.f64 (*.f64 x 1/2)) (sin.f64 x))) x) 4))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (pow.f64 (exp.f64 (tan.f64 (*.f64 x 1/2))) (*.f64 (sin.f64 x) (pow.f64 x -2))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (*.f64 (tan.f64 (*.f64 x 1/2)) (*.f64 (sin.f64 x) (pow.f64 x -2))))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (/.f64 (sqrt.f64 (*.f64 (tan.f64 (*.f64 x 1/2)) (sin.f64 x))) x) 6))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (/.f64 (pow.f64 (*.f64 (tan.f64 (*.f64 x 1/2)) (sin.f64 x)) 3) (pow.f64 x 6)))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 (tan.f64 (*.f64 x 1/2)) (*.f64 (sin.f64 x) (pow.f64 x -2)))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 (tan.f64 (*.f64 x 1/2)) (*.f64 (sin.f64 x) (pow.f64 x -2)))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (*.f64 (tan.f64 (*.f64 x 1/2)) (*.f64 (sin.f64 x) (pow.f64 x -2)))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (*.f64 (tan.f64 (*.f64 x 1/2)) (*.f64 (sin.f64 x) (pow.f64 x -2)))) 1))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (pow.f64 (/.f64 (sqrt.f64 (*.f64 (tan.f64 (*.f64 x 1/2)) (sin.f64 x))) x) 6)) 1/3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (cbrt.f64 (*.f64 (tan.f64 (*.f64 x 1/2)) (*.f64 (sin.f64 x) (pow.f64 x -2))))) 3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (/.f64 (sqrt.f64 (*.f64 (tan.f64 (*.f64 x 1/2)) (sin.f64 x))) x)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (/.f64 (*.f64 x x) (*.f64 (tan.f64 (*.f64 x 1/2)) (sin.f64 x)))) -1))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 (log.f64 (*.f64 (tan.f64 (*.f64 x 1/2)) (*.f64 (sin.f64 x) (pow.f64 x -2)))) 1) 1)))))) |
((#(struct:change #<rule egg-rr> (2) ((x +.f64 0 (*.f64 (tan.f64 (*.f64 x 1/2)) (sin.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (pow.f64 (cbrt.f64 (pow.f64 (exp.f64 (tan.f64 (*.f64 x 1/2))) (sin.f64 x))) 2)) (log.f64 (cbrt.f64 (pow.f64 (exp.f64 (tan.f64 (*.f64 x 1/2))) (sin.f64 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (sqrt.f64 (pow.f64 (exp.f64 (tan.f64 (*.f64 x 1/2))) (sin.f64 x)))) (log.f64 (sqrt.f64 (pow.f64 (exp.f64 (tan.f64 (*.f64 x 1/2))) (sin.f64 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (*.f64 (tan.f64 (*.f64 x 1/2)) (sin.f64 x)))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (sin.f64 (*.f64 x 1/2)) (sin.f64 x)) (cos.f64 (*.f64 x 1/2)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (sin.f64 x) (sin.f64 (*.f64 x 1/2))) (cos.f64 (*.f64 x 1/2)))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 (tan.f64 (*.f64 x 1/2)) (sin.f64 x)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 (tan.f64 (*.f64 x 1/2)) (sin.f64 x)) 2) 1/2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 (tan.f64 (*.f64 x 1/2)) (sin.f64 x)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (*.f64 (tan.f64 (*.f64 x 1/2)) (sin.f64 x))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (*.f64 (tan.f64 (*.f64 x 1/2)) (sin.f64 x))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 1) (log.f64 (*.f64 (tan.f64 (*.f64 x 1/2)) (sin.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 (pow.f64 (cbrt.f64 (log.f64 (*.f64 (tan.f64 (*.f64 x 1/2)) (sin.f64 x)))) 2)) (cbrt.f64 (log.f64 (*.f64 (tan.f64 (*.f64 x 1/2)) (sin.f64 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 (sqrt.f64 (log.f64 (*.f64 (tan.f64 (*.f64 x 1/2)) (sin.f64 x))))) (sqrt.f64 (log.f64 (*.f64 (tan.f64 (*.f64 x 1/2)) (sin.f64 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (*.f64 (tan.f64 (*.f64 x 1/2)) (sin.f64 x)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (pow.f64 (exp.f64 (tan.f64 (*.f64 x 1/2))) (sin.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (*.f64 (tan.f64 (*.f64 x 1/2)) (sin.f64 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (*.f64 (tan.f64 (*.f64 x 1/2)) (sin.f64 x)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 (tan.f64 (*.f64 x 1/2)) (sin.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 (tan.f64 (*.f64 x 1/2)) (sin.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (*.f64 (tan.f64 (*.f64 x 1/2)) (sin.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (*.f64 (tan.f64 (*.f64 x 1/2)) (sin.f64 x))) 1))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 3 (log.f64 (*.f64 (tan.f64 (*.f64 x 1/2)) (sin.f64 x)))) 1/3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (cbrt.f64 (*.f64 (tan.f64 (*.f64 x 1/2)) (sin.f64 x)))) 3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (sqrt.f64 (*.f64 (tan.f64 (*.f64 x 1/2)) (sin.f64 x)))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 (log.f64 (*.f64 (tan.f64 (*.f64 x 1/2)) (sin.f64 x))) 1) 1)))))) |
| 1× | egg-herbie |
| 604× | associate-/r/_binary64 |
| 596× | distribute-rgt-out_binary64 |
| 555× | distribute-lft-out_binary64 |
| 507× | fma-def_binary64 |
| 449× | associate-*l*_binary64 |
Useful iterations: 3 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 41 | 474 |
| 1 | 100 | 472 |
| 2 | 242 | 470 |
| 3 | 741 | 468 |
| 4 | 2948 | 468 |
| 5 | 6849 | 468 |
| 1× | node limit |
| Inputs |
|---|
1/2 |
(+.f64 1/2 (*.f64 -1/24 (pow.f64 x 2))) |
(+.f64 1/2 (+.f64 (*.f64 -1/24 (pow.f64 x 2)) (*.f64 1/720 (pow.f64 x 4)))) |
(+.f64 1/2 (+.f64 (*.f64 -1/24 (pow.f64 x 2)) (+.f64 (*.f64 -1/40320 (pow.f64 x 6)) (*.f64 1/720 (pow.f64 x 4))))) |
(/.f64 (*.f64 (sin.f64 x) (sin.f64 (*.f64 1/2 x))) (*.f64 (cos.f64 (*.f64 1/2 x)) (pow.f64 x 2))) |
(/.f64 (*.f64 (sin.f64 x) (sin.f64 (*.f64 1/2 x))) (*.f64 (cos.f64 (*.f64 1/2 x)) (pow.f64 x 2))) |
(/.f64 (*.f64 (sin.f64 x) (sin.f64 (*.f64 1/2 x))) (*.f64 (cos.f64 (*.f64 1/2 x)) (pow.f64 x 2))) |
(/.f64 (*.f64 (sin.f64 x) (sin.f64 (*.f64 1/2 x))) (*.f64 (cos.f64 (*.f64 1/2 x)) (pow.f64 x 2))) |
(/.f64 (*.f64 (sin.f64 x) (sin.f64 (*.f64 1/2 x))) (*.f64 (cos.f64 (*.f64 1/2 x)) (pow.f64 x 2))) |
(/.f64 (*.f64 (sin.f64 x) (sin.f64 (*.f64 1/2 x))) (*.f64 (cos.f64 (*.f64 1/2 x)) (pow.f64 x 2))) |
(/.f64 (*.f64 (sin.f64 x) (sin.f64 (*.f64 1/2 x))) (*.f64 (cos.f64 (*.f64 1/2 x)) (pow.f64 x 2))) |
(/.f64 (*.f64 (sin.f64 x) (sin.f64 (*.f64 1/2 x))) (*.f64 (cos.f64 (*.f64 1/2 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 1/2 (pow.f64 x 2)) (+.f64 (*.f64 -1/24 (pow.f64 x 4)) (*.f64 1/720 (pow.f64 x 6)))) |
(+.f64 (*.f64 1/2 (pow.f64 x 2)) (+.f64 (*.f64 -1/24 (pow.f64 x 4)) (+.f64 (*.f64 1/720 (pow.f64 x 6)) (*.f64 -1/40320 (pow.f64 x 8))))) |
(/.f64 (*.f64 (sin.f64 x) (sin.f64 (*.f64 1/2 x))) (cos.f64 (*.f64 1/2 x))) |
(/.f64 (*.f64 (sin.f64 x) (sin.f64 (*.f64 1/2 x))) (cos.f64 (*.f64 1/2 x))) |
(/.f64 (*.f64 (sin.f64 x) (sin.f64 (*.f64 1/2 x))) (cos.f64 (*.f64 1/2 x))) |
(/.f64 (*.f64 (sin.f64 x) (sin.f64 (*.f64 1/2 x))) (cos.f64 (*.f64 1/2 x))) |
(/.f64 (*.f64 (sin.f64 x) (sin.f64 (*.f64 1/2 x))) (cos.f64 (*.f64 1/2 x))) |
(/.f64 (*.f64 (sin.f64 x) (sin.f64 (*.f64 1/2 x))) (cos.f64 (*.f64 1/2 x))) |
(/.f64 (*.f64 (sin.f64 x) (sin.f64 (*.f64 1/2 x))) (cos.f64 (*.f64 1/2 x))) |
(/.f64 (*.f64 (sin.f64 x) (sin.f64 (*.f64 1/2 x))) (cos.f64 (*.f64 1/2 x))) |
| Outputs |
|---|
1/2 |
(+.f64 1/2 (*.f64 -1/24 (pow.f64 x 2))) |
(+.f64 1/2 (*.f64 -1/24 (*.f64 x x))) |
(fma.f64 -1/24 (*.f64 x x) 1/2) |
(+.f64 1/2 (+.f64 (*.f64 -1/24 (pow.f64 x 2)) (*.f64 1/720 (pow.f64 x 4)))) |
(+.f64 1/2 (fma.f64 -1/24 (*.f64 x x) (*.f64 1/720 (pow.f64 x 4)))) |
(fma.f64 -1/24 (*.f64 x x) (fma.f64 1/720 (pow.f64 x 4) 1/2)) |
(fma.f64 (*.f64 x x) (fma.f64 (*.f64 x x) 1/720 -1/24) 1/2) |
(+.f64 1/2 (+.f64 (*.f64 -1/24 (pow.f64 x 2)) (+.f64 (*.f64 -1/40320 (pow.f64 x 6)) (*.f64 1/720 (pow.f64 x 4))))) |
(+.f64 1/2 (fma.f64 -1/24 (*.f64 x x) (fma.f64 -1/40320 (pow.f64 x 6) (*.f64 1/720 (pow.f64 x 4))))) |
(+.f64 1/2 (fma.f64 -1/24 (*.f64 x x) (fma.f64 1/720 (pow.f64 x 4) (*.f64 -1/40320 (pow.f64 x 6))))) |
(+.f64 (fma.f64 -1/24 (*.f64 x x) 1/2) (fma.f64 -1/40320 (pow.f64 x 6) (*.f64 1/720 (pow.f64 x 4)))) |
(fma.f64 (*.f64 x x) (fma.f64 x (*.f64 x 1/720) -1/24) (fma.f64 -1/40320 (pow.f64 x 6) 1/2)) |
(fma.f64 (*.f64 x x) (fma.f64 (*.f64 x x) 1/720 -1/24) (fma.f64 -1/40320 (pow.f64 x 6) 1/2)) |
(/.f64 (*.f64 (sin.f64 x) (sin.f64 (*.f64 1/2 x))) (*.f64 (cos.f64 (*.f64 1/2 x)) (pow.f64 x 2))) |
(*.f64 (/.f64 (sin.f64 x) (cos.f64 (*.f64 1/2 x))) (/.f64 (sin.f64 (*.f64 1/2 x)) (*.f64 x x))) |
(/.f64 (/.f64 (sin.f64 x) (cos.f64 (*.f64 1/2 x))) (/.f64 (*.f64 x x) (sin.f64 (*.f64 1/2 x)))) |
(/.f64 (/.f64 (sin.f64 x) (/.f64 (*.f64 x x) (sin.f64 (*.f64 1/2 x)))) (cos.f64 (*.f64 1/2 x))) |
(*.f64 (sin.f64 x) (/.f64 (/.f64 (sin.f64 (*.f64 1/2 x)) (*.f64 x x)) (cos.f64 (*.f64 1/2 x)))) |
(/.f64 (*.f64 (sin.f64 x) (sin.f64 (*.f64 1/2 x))) (*.f64 (cos.f64 (*.f64 1/2 x)) (pow.f64 x 2))) |
(*.f64 (/.f64 (sin.f64 x) (cos.f64 (*.f64 1/2 x))) (/.f64 (sin.f64 (*.f64 1/2 x)) (*.f64 x x))) |
(/.f64 (/.f64 (sin.f64 x) (cos.f64 (*.f64 1/2 x))) (/.f64 (*.f64 x x) (sin.f64 (*.f64 1/2 x)))) |
(/.f64 (/.f64 (sin.f64 x) (/.f64 (*.f64 x x) (sin.f64 (*.f64 1/2 x)))) (cos.f64 (*.f64 1/2 x))) |
(*.f64 (sin.f64 x) (/.f64 (/.f64 (sin.f64 (*.f64 1/2 x)) (*.f64 x x)) (cos.f64 (*.f64 1/2 x)))) |
(/.f64 (*.f64 (sin.f64 x) (sin.f64 (*.f64 1/2 x))) (*.f64 (cos.f64 (*.f64 1/2 x)) (pow.f64 x 2))) |
(*.f64 (/.f64 (sin.f64 x) (cos.f64 (*.f64 1/2 x))) (/.f64 (sin.f64 (*.f64 1/2 x)) (*.f64 x x))) |
(/.f64 (/.f64 (sin.f64 x) (cos.f64 (*.f64 1/2 x))) (/.f64 (*.f64 x x) (sin.f64 (*.f64 1/2 x)))) |
(/.f64 (/.f64 (sin.f64 x) (/.f64 (*.f64 x x) (sin.f64 (*.f64 1/2 x)))) (cos.f64 (*.f64 1/2 x))) |
(*.f64 (sin.f64 x) (/.f64 (/.f64 (sin.f64 (*.f64 1/2 x)) (*.f64 x x)) (cos.f64 (*.f64 1/2 x)))) |
(/.f64 (*.f64 (sin.f64 x) (sin.f64 (*.f64 1/2 x))) (*.f64 (cos.f64 (*.f64 1/2 x)) (pow.f64 x 2))) |
(*.f64 (/.f64 (sin.f64 x) (cos.f64 (*.f64 1/2 x))) (/.f64 (sin.f64 (*.f64 1/2 x)) (*.f64 x x))) |
(/.f64 (/.f64 (sin.f64 x) (cos.f64 (*.f64 1/2 x))) (/.f64 (*.f64 x x) (sin.f64 (*.f64 1/2 x)))) |
(/.f64 (/.f64 (sin.f64 x) (/.f64 (*.f64 x x) (sin.f64 (*.f64 1/2 x)))) (cos.f64 (*.f64 1/2 x))) |
(*.f64 (sin.f64 x) (/.f64 (/.f64 (sin.f64 (*.f64 1/2 x)) (*.f64 x x)) (cos.f64 (*.f64 1/2 x)))) |
(/.f64 (*.f64 (sin.f64 x) (sin.f64 (*.f64 1/2 x))) (*.f64 (cos.f64 (*.f64 1/2 x)) (pow.f64 x 2))) |
(*.f64 (/.f64 (sin.f64 x) (cos.f64 (*.f64 1/2 x))) (/.f64 (sin.f64 (*.f64 1/2 x)) (*.f64 x x))) |
(/.f64 (/.f64 (sin.f64 x) (cos.f64 (*.f64 1/2 x))) (/.f64 (*.f64 x x) (sin.f64 (*.f64 1/2 x)))) |
(/.f64 (/.f64 (sin.f64 x) (/.f64 (*.f64 x x) (sin.f64 (*.f64 1/2 x)))) (cos.f64 (*.f64 1/2 x))) |
(*.f64 (sin.f64 x) (/.f64 (/.f64 (sin.f64 (*.f64 1/2 x)) (*.f64 x x)) (cos.f64 (*.f64 1/2 x)))) |
(/.f64 (*.f64 (sin.f64 x) (sin.f64 (*.f64 1/2 x))) (*.f64 (cos.f64 (*.f64 1/2 x)) (pow.f64 x 2))) |
(*.f64 (/.f64 (sin.f64 x) (cos.f64 (*.f64 1/2 x))) (/.f64 (sin.f64 (*.f64 1/2 x)) (*.f64 x x))) |
(/.f64 (/.f64 (sin.f64 x) (cos.f64 (*.f64 1/2 x))) (/.f64 (*.f64 x x) (sin.f64 (*.f64 1/2 x)))) |
(/.f64 (/.f64 (sin.f64 x) (/.f64 (*.f64 x x) (sin.f64 (*.f64 1/2 x)))) (cos.f64 (*.f64 1/2 x))) |
(*.f64 (sin.f64 x) (/.f64 (/.f64 (sin.f64 (*.f64 1/2 x)) (*.f64 x x)) (cos.f64 (*.f64 1/2 x)))) |
(/.f64 (*.f64 (sin.f64 x) (sin.f64 (*.f64 1/2 x))) (*.f64 (cos.f64 (*.f64 1/2 x)) (pow.f64 x 2))) |
(*.f64 (/.f64 (sin.f64 x) (cos.f64 (*.f64 1/2 x))) (/.f64 (sin.f64 (*.f64 1/2 x)) (*.f64 x x))) |
(/.f64 (/.f64 (sin.f64 x) (cos.f64 (*.f64 1/2 x))) (/.f64 (*.f64 x x) (sin.f64 (*.f64 1/2 x)))) |
(/.f64 (/.f64 (sin.f64 x) (/.f64 (*.f64 x x) (sin.f64 (*.f64 1/2 x)))) (cos.f64 (*.f64 1/2 x))) |
(*.f64 (sin.f64 x) (/.f64 (/.f64 (sin.f64 (*.f64 1/2 x)) (*.f64 x x)) (cos.f64 (*.f64 1/2 x)))) |
(/.f64 (*.f64 (sin.f64 x) (sin.f64 (*.f64 1/2 x))) (*.f64 (cos.f64 (*.f64 1/2 x)) (pow.f64 x 2))) |
(*.f64 (/.f64 (sin.f64 x) (cos.f64 (*.f64 1/2 x))) (/.f64 (sin.f64 (*.f64 1/2 x)) (*.f64 x x))) |
(/.f64 (/.f64 (sin.f64 x) (cos.f64 (*.f64 1/2 x))) (/.f64 (*.f64 x x) (sin.f64 (*.f64 1/2 x)))) |
(/.f64 (/.f64 (sin.f64 x) (/.f64 (*.f64 x x) (sin.f64 (*.f64 1/2 x)))) (cos.f64 (*.f64 1/2 x))) |
(*.f64 (sin.f64 x) (/.f64 (/.f64 (sin.f64 (*.f64 1/2 x)) (*.f64 x x)) (cos.f64 (*.f64 1/2 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))) |
(fma.f64 1/2 (*.f64 x x) (*.f64 -1/24 (pow.f64 x 4))) |
(*.f64 (*.f64 x x) (fma.f64 -1/24 (*.f64 x x) 1/2)) |
(*.f64 x (*.f64 x (fma.f64 -1/24 (*.f64 x x) 1/2))) |
(+.f64 (*.f64 1/2 (pow.f64 x 2)) (+.f64 (*.f64 -1/24 (pow.f64 x 4)) (*.f64 1/720 (pow.f64 x 6)))) |
(fma.f64 1/2 (*.f64 x x) (fma.f64 -1/24 (pow.f64 x 4) (*.f64 1/720 (pow.f64 x 6)))) |
(fma.f64 1/2 (*.f64 x x) (fma.f64 1/720 (pow.f64 x 6) (*.f64 -1/24 (pow.f64 x 4)))) |
(fma.f64 (*.f64 x x) (fma.f64 -1/24 (*.f64 x x) 1/2) (*.f64 1/720 (pow.f64 x 6))) |
(*.f64 (*.f64 x x) (fma.f64 (*.f64 x x) (fma.f64 (*.f64 x x) 1/720 -1/24) 1/2)) |
(+.f64 (*.f64 1/2 (pow.f64 x 2)) (+.f64 (*.f64 -1/24 (pow.f64 x 4)) (+.f64 (*.f64 1/720 (pow.f64 x 6)) (*.f64 -1/40320 (pow.f64 x 8))))) |
(fma.f64 1/2 (*.f64 x x) (fma.f64 -1/24 (pow.f64 x 4) (fma.f64 1/720 (pow.f64 x 6) (*.f64 -1/40320 (pow.f64 x 8))))) |
(fma.f64 1/2 (*.f64 x x) (fma.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) (*.f64 (pow.f64 x 4) (fma.f64 (pow.f64 x 4) -1/40320 -1/24)))) |
(fma.f64 1/720 (pow.f64 x 6) (fma.f64 -1/24 (pow.f64 x 4) (fma.f64 -1/40320 (pow.f64 x 8) (*.f64 1/2 (*.f64 x x))))) |
(/.f64 (*.f64 (sin.f64 x) (sin.f64 (*.f64 1/2 x))) (cos.f64 (*.f64 1/2 x))) |
(/.f64 (sin.f64 x) (/.f64 (cos.f64 (*.f64 1/2 x)) (sin.f64 (*.f64 1/2 x)))) |
(*.f64 (sin.f64 (*.f64 1/2 x)) (/.f64 (sin.f64 x) (cos.f64 (*.f64 1/2 x)))) |
(*.f64 (sin.f64 x) (/.f64 (sin.f64 (*.f64 1/2 x)) (cos.f64 (*.f64 1/2 x)))) |
(/.f64 (*.f64 (sin.f64 x) (sin.f64 (*.f64 1/2 x))) (cos.f64 (*.f64 1/2 x))) |
(/.f64 (sin.f64 x) (/.f64 (cos.f64 (*.f64 1/2 x)) (sin.f64 (*.f64 1/2 x)))) |
(*.f64 (sin.f64 (*.f64 1/2 x)) (/.f64 (sin.f64 x) (cos.f64 (*.f64 1/2 x)))) |
(*.f64 (sin.f64 x) (/.f64 (sin.f64 (*.f64 1/2 x)) (cos.f64 (*.f64 1/2 x)))) |
(/.f64 (*.f64 (sin.f64 x) (sin.f64 (*.f64 1/2 x))) (cos.f64 (*.f64 1/2 x))) |
(/.f64 (sin.f64 x) (/.f64 (cos.f64 (*.f64 1/2 x)) (sin.f64 (*.f64 1/2 x)))) |
(*.f64 (sin.f64 (*.f64 1/2 x)) (/.f64 (sin.f64 x) (cos.f64 (*.f64 1/2 x)))) |
(*.f64 (sin.f64 x) (/.f64 (sin.f64 (*.f64 1/2 x)) (cos.f64 (*.f64 1/2 x)))) |
(/.f64 (*.f64 (sin.f64 x) (sin.f64 (*.f64 1/2 x))) (cos.f64 (*.f64 1/2 x))) |
(/.f64 (sin.f64 x) (/.f64 (cos.f64 (*.f64 1/2 x)) (sin.f64 (*.f64 1/2 x)))) |
(*.f64 (sin.f64 (*.f64 1/2 x)) (/.f64 (sin.f64 x) (cos.f64 (*.f64 1/2 x)))) |
(*.f64 (sin.f64 x) (/.f64 (sin.f64 (*.f64 1/2 x)) (cos.f64 (*.f64 1/2 x)))) |
(/.f64 (*.f64 (sin.f64 x) (sin.f64 (*.f64 1/2 x))) (cos.f64 (*.f64 1/2 x))) |
(/.f64 (sin.f64 x) (/.f64 (cos.f64 (*.f64 1/2 x)) (sin.f64 (*.f64 1/2 x)))) |
(*.f64 (sin.f64 (*.f64 1/2 x)) (/.f64 (sin.f64 x) (cos.f64 (*.f64 1/2 x)))) |
(*.f64 (sin.f64 x) (/.f64 (sin.f64 (*.f64 1/2 x)) (cos.f64 (*.f64 1/2 x)))) |
(/.f64 (*.f64 (sin.f64 x) (sin.f64 (*.f64 1/2 x))) (cos.f64 (*.f64 1/2 x))) |
(/.f64 (sin.f64 x) (/.f64 (cos.f64 (*.f64 1/2 x)) (sin.f64 (*.f64 1/2 x)))) |
(*.f64 (sin.f64 (*.f64 1/2 x)) (/.f64 (sin.f64 x) (cos.f64 (*.f64 1/2 x)))) |
(*.f64 (sin.f64 x) (/.f64 (sin.f64 (*.f64 1/2 x)) (cos.f64 (*.f64 1/2 x)))) |
(/.f64 (*.f64 (sin.f64 x) (sin.f64 (*.f64 1/2 x))) (cos.f64 (*.f64 1/2 x))) |
(/.f64 (sin.f64 x) (/.f64 (cos.f64 (*.f64 1/2 x)) (sin.f64 (*.f64 1/2 x)))) |
(*.f64 (sin.f64 (*.f64 1/2 x)) (/.f64 (sin.f64 x) (cos.f64 (*.f64 1/2 x)))) |
(*.f64 (sin.f64 x) (/.f64 (sin.f64 (*.f64 1/2 x)) (cos.f64 (*.f64 1/2 x)))) |
(/.f64 (*.f64 (sin.f64 x) (sin.f64 (*.f64 1/2 x))) (cos.f64 (*.f64 1/2 x))) |
(/.f64 (sin.f64 x) (/.f64 (cos.f64 (*.f64 1/2 x)) (sin.f64 (*.f64 1/2 x)))) |
(*.f64 (sin.f64 (*.f64 1/2 x)) (/.f64 (sin.f64 x) (cos.f64 (*.f64 1/2 x)))) |
(*.f64 (sin.f64 x) (/.f64 (sin.f64 (*.f64 1/2 x)) (cos.f64 (*.f64 1/2 x)))) |
Compiled 10987 to 6746 computations (38.6% saved)
20 alts after pruning (14 fresh and 6 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 638 | 8 | 646 |
| Fresh | 3 | 6 | 9 |
| Picked | 1 | 0 | 1 |
| Done | 3 | 6 | 9 |
| Total | 645 | 20 | 665 |
| Status | Error | Program |
|---|---|---|
| ✓ | 16.1b | (*.f64 (sin.f64 x) (/.f64 (tan.f64 (/.f64 x 2)) (*.f64 x x))) |
| 31.7b | (/.f64 (/.f64 (-.f64 1 (cos.f64 x)) x) x) | |
| 46.8b | (/.f64 (/.f64 1 x) (*.f64 (/.f64 2 (*.f64 x x)) x)) | |
| 0.1b | (*.f64 (/.f64 (tan.f64 (*.f64 x 1/2)) x) (/.f64 (sin.f64 x) x)) | |
| 32.2b | (*.f64 (/.f64 (/.f64 -1 x) x) (neg.f64 (-.f64 1 (cos.f64 x)))) | |
| ✓ | 31.7b | (/.f64 (/.f64 1 x) (/.f64 x (-.f64 1 (cos.f64 x)))) |
| ✓ | 31.7b | (*.f64 (/.f64 (-.f64 1 (cos.f64 x)) x) (/.f64 1 x)) |
| 15.4b | (/.f64 (/.f64 (*.f64 (tan.f64 (*.f64 x 1/2)) (sin.f64 x)) x) x) | |
| ✓ | 0.2b | (*.f64 (sin.f64 x) (*.f64 (/.f64 (tan.f64 (*.f64 x 1/2)) x) (/.f64 1 x))) |
| 32.4b | (/.f64 1 (/.f64 (*.f64 x x) (-.f64 1 (cos.f64 x)))) | |
| 31.7b | (*.f64 (-.f64 (/.f64 1 x) (/.f64 (cos.f64 x) x)) (/.f64 1 x)) | |
| 31.9b | (/.f64 1 (*.f64 (/.f64 x (-.f64 1 (cos.f64 x))) x)) | |
| ✓ | 31.2b | (+.f64 (*.f64 -1/24 (*.f64 x x)) 1/2) |
| 0.5b | (*.f64 (sin.f64 x) (/.f64 1 (*.f64 (/.f64 x (tan.f64 (*.f64 x 1/2))) x))) | |
| 13.3b | (/.f64 (/.f64 1 x) (+.f64 (*.f64 1/6 x) (*.f64 2 (/.f64 1 x)))) | |
| 30.3b | (*.f64 (*.f64 1/2 x) (/.f64 1 x)) | |
| 31.7b | (/.f64 (/.f64 1 x) (*.f64 (/.f64 1 (-.f64 1 (cos.f64 x))) x)) | |
| ✓ | 32.4b | (/.f64 (-.f64 1 (cos.f64 x)) (*.f64 x x)) |
| 30.2b | 1/2 | |
| 32.2b | (-.f64 (pow.f64 x -2) (/.f64 (/.f64 (cos.f64 x) x) x)) |
Compiled 219 to 156 computations (28.8% saved)
| Inputs |
|---|
1/2 |
1/2 |
(*.f64 (*.f64 1/2 x) (/.f64 1 x)) |
(+.f64 (*.f64 -1/24 (*.f64 x x)) 1/2) |
(/.f64 (/.f64 1 x) (*.f64 (/.f64 2 (*.f64 x x)) x)) |
(/.f64 (/.f64 1 x) (/.f64 x (*.f64 1/2 (*.f64 x x)))) |
(/.f64 (/.f64 1 x) (+.f64 (*.f64 1/6 x) (*.f64 2 (/.f64 1 x)))) |
(fma.f64 -1/24 (*.f64 x x) 1/2) |
(/.f64 (/.f64 (-.f64 1 (cos.f64 x)) x) x) |
(/.f64 (-.f64 1 (cos.f64 x)) (*.f64 x x)) |
(/.f64 1 (/.f64 (*.f64 x x) (-.f64 1 (cos.f64 x)))) |
(/.f64 1 (*.f64 (/.f64 x (-.f64 1 (cos.f64 x))) x)) |
(*.f64 (/.f64 (-.f64 1 (cos.f64 x)) x) (/.f64 1 x)) |
(/.f64 (/.f64 1 x) (/.f64 x (-.f64 1 (cos.f64 x)))) |
(/.f64 1 (*.f64 x (/.f64 x (-.f64 1 (cos.f64 x))))) |
(*.f64 (/.f64 (-.f64 1 (cos.f64 x)) x) (/.f64 1 x)) |
(*.f64 (/.f64 (-.f64 1 (cos.f64 x)) x) (/.f64 1 x)) |
(*.f64 (/.f64 (/.f64 -1 x) x) (neg.f64 (-.f64 1 (cos.f64 x)))) |
(*.f64 (+.f64 (cos.f64 x) -1) (/.f64 1 (*.f64 x (neg.f64 x)))) |
(*.f64 (-.f64 (/.f64 1 x) (/.f64 (cos.f64 x) x)) (/.f64 1 x)) |
(*.f64 (/.f64 (/.f64 1 x) (neg.f64 x)) (neg.f64 (-.f64 1 (cos.f64 x)))) |
(/.f64 (/.f64 1 x) (*.f64 (/.f64 1 (-.f64 1 (cos.f64 x))) x)) |
(*.f64 (neg.f64 (-.f64 1 (cos.f64 x))) (/.f64 1 (*.f64 x (neg.f64 x)))) |
(*.f64 (neg.f64 (-.f64 1 (cos.f64 x))) (/.f64 1 (*.f64 x (neg.f64 x)))) |
(*.f64 (pow.f64 x -2) (-.f64 1 (cos.f64 x))) |
(*.f64 (pow.f64 x -2) (-.f64 1 (cos.f64 x))) |
(-.f64 (pow.f64 x -2) (/.f64 (/.f64 (cos.f64 x) x) x)) |
(pow.f64 (/.f64 x (/.f64 (-.f64 1 (cos.f64 x)) x)) -1) |
(*.f64 (/.f64 (tan.f64 (*.f64 x 1/2)) x) (/.f64 (sin.f64 x) x)) |
(/.f64 (/.f64 (*.f64 (tan.f64 (*.f64 x 1/2)) (sin.f64 x)) x) x) |
(*.f64 (sin.f64 x) (/.f64 (tan.f64 (/.f64 x 2)) (*.f64 x x))) |
(/.f64 (*.f64 (tan.f64 (/.f64 x 2)) (sin.f64 x)) (*.f64 x x)) |
(*.f64 (sin.f64 x) (/.f64 1 (*.f64 (/.f64 x (tan.f64 (*.f64 x 1/2))) x))) |
(*.f64 (sin.f64 x) (*.f64 (/.f64 (tan.f64 (*.f64 x 1/2)) x) (/.f64 1 x))) |
(*.f64 (sin.f64 x) (*.f64 (neg.f64 (tan.f64 (*.f64 x 1/2))) (/.f64 1 (*.f64 x (neg.f64 x))))) |
(/.f64 (exp.f64 (log1p.f64 (neg.f64 (cos.f64 x)))) (*.f64 x x)) |
(-.f64 (pow.f64 x -2) (*.f64 (cos.f64 x) (pow.f64 x -2))) |
(/.f64 (log.f64 (exp.f64 (-.f64 1 (cos.f64 x)))) (*.f64 x x)) |
(/.f64 (pow.f64 (sqrt.f64 (-.f64 1 (cos.f64 x))) 2) (*.f64 x x)) |
(/.f64 (pow.f64 (cbrt.f64 (-.f64 1 (cos.f64 x))) 3) (*.f64 x x)) |
(/.f64 (pow.f64 (pow.f64 (-.f64 1 (cos.f64 x)) 1/3) 3) (*.f64 x x)) |
(/.f64 (pow.f64 (pow.f64 (-.f64 1 (cos.f64 x)) 3) 1/3) (*.f64 x x)) |
(/.f64 (/.f64 (pow.f64 (sin.f64 x) 2) (+.f64 (cos.f64 x) 1)) (*.f64 x x)) |
(/.f64 (/.f64 (*.f64 (sin.f64 x) (sin.f64 x)) (+.f64 1 (cos.f64 x))) (*.f64 x x)) |
(*.f64 (pow.f64 (sin.f64 x) 2) (/.f64 1 (*.f64 (+.f64 1 (cos.f64 x)) (*.f64 x x)))) |
(/.f64 (/.f64 1 (/.f64 (+.f64 1 (cos.f64 x)) (*.f64 (sin.f64 x) (sin.f64 x)))) (*.f64 x x)) |
(/.f64 (*.f64 (*.f64 (sin.f64 x) (sin.f64 x)) (/.f64 1 (+.f64 1 (cos.f64 x)))) (*.f64 x x)) |
(*.f64 (/.f64 (/.f64 1 (+.f64 1 (cos.f64 x))) 1) (/.f64 (pow.f64 (sin.f64 x) 2) (*.f64 x x))) |
(pow.f64 (cbrt.f64 (*.f64 (-.f64 1 (cos.f64 x)) (pow.f64 x -2))) 3) |
(pow.f64 (/.f64 x (/.f64 (/.f64 (*.f64 (sin.f64 x) (sin.f64 x)) (+.f64 1 (cos.f64 x))) x)) -1) |
(*.f64 (/.f64 (pow.f64 (cbrt.f64 (-.f64 1 (cos.f64 x))) 2) x) (/.f64 (cbrt.f64 (-.f64 1 (cos.f64 x))) x)) |
| Outputs |
|---|
(*.f64 (/.f64 (tan.f64 (*.f64 x 1/2)) x) (/.f64 (sin.f64 x) x)) |
3 calls:
| 26.0ms | x |
| 12.0ms | (/.f64 (-.f64 1 (cos.f64 x)) (*.f64 x x)) |
| 8.0ms | (/.f64 (-.f64 1 (cos.f64 x)) (*.f64 x x)) |
| Error | Segments | Branch |
|---|---|---|
| 0.1b | 1 | x |
| 0.1b | 1 | (/.f64 (-.f64 1 (cos.f64 x)) (*.f64 x x)) |
| 0.1b | 1 | (/.f64 (-.f64 1 (cos.f64 x)) (*.f64 x x)) |
Compiled 577 to 323 computations (44% saved)
| Inputs |
|---|
1/2 |
1/2 |
(*.f64 (*.f64 1/2 x) (/.f64 1 x)) |
(+.f64 (*.f64 -1/24 (*.f64 x x)) 1/2) |
(/.f64 (/.f64 1 x) (*.f64 (/.f64 2 (*.f64 x x)) x)) |
(/.f64 (/.f64 1 x) (/.f64 x (*.f64 1/2 (*.f64 x x)))) |
(/.f64 (/.f64 1 x) (+.f64 (*.f64 1/6 x) (*.f64 2 (/.f64 1 x)))) |
(fma.f64 -1/24 (*.f64 x x) 1/2) |
(/.f64 (/.f64 (-.f64 1 (cos.f64 x)) x) x) |
(/.f64 (-.f64 1 (cos.f64 x)) (*.f64 x x)) |
(/.f64 1 (/.f64 (*.f64 x x) (-.f64 1 (cos.f64 x)))) |
(/.f64 1 (*.f64 (/.f64 x (-.f64 1 (cos.f64 x))) x)) |
(*.f64 (/.f64 (-.f64 1 (cos.f64 x)) x) (/.f64 1 x)) |
(/.f64 (/.f64 1 x) (/.f64 x (-.f64 1 (cos.f64 x)))) |
(/.f64 1 (*.f64 x (/.f64 x (-.f64 1 (cos.f64 x))))) |
(*.f64 (/.f64 (-.f64 1 (cos.f64 x)) x) (/.f64 1 x)) |
(*.f64 (/.f64 (-.f64 1 (cos.f64 x)) x) (/.f64 1 x)) |
(*.f64 (/.f64 (/.f64 -1 x) x) (neg.f64 (-.f64 1 (cos.f64 x)))) |
(*.f64 (+.f64 (cos.f64 x) -1) (/.f64 1 (*.f64 x (neg.f64 x)))) |
(*.f64 (-.f64 (/.f64 1 x) (/.f64 (cos.f64 x) x)) (/.f64 1 x)) |
(*.f64 (/.f64 (/.f64 1 x) (neg.f64 x)) (neg.f64 (-.f64 1 (cos.f64 x)))) |
(/.f64 (/.f64 1 x) (*.f64 (/.f64 1 (-.f64 1 (cos.f64 x))) x)) |
(*.f64 (neg.f64 (-.f64 1 (cos.f64 x))) (/.f64 1 (*.f64 x (neg.f64 x)))) |
(*.f64 (neg.f64 (-.f64 1 (cos.f64 x))) (/.f64 1 (*.f64 x (neg.f64 x)))) |
(*.f64 (pow.f64 x -2) (-.f64 1 (cos.f64 x))) |
(*.f64 (pow.f64 x -2) (-.f64 1 (cos.f64 x))) |
(-.f64 (pow.f64 x -2) (/.f64 (/.f64 (cos.f64 x) x) x)) |
(pow.f64 (/.f64 x (/.f64 (-.f64 1 (cos.f64 x)) x)) -1) |
| Outputs |
|---|
(*.f64 (pow.f64 x -2) (-.f64 1 (cos.f64 x))) |
(+.f64 (*.f64 -1/24 (*.f64 x x)) 1/2) |
(/.f64 (/.f64 (-.f64 1 (cos.f64 x)) x) x) |
3 calls:
| 41.0ms | x |
| 23.0ms | (/.f64 (-.f64 1 (cos.f64 x)) (*.f64 x x)) |
| 15.0ms | (/.f64 (-.f64 1 (cos.f64 x)) (*.f64 x x)) |
| Error | Segments | Branch |
|---|---|---|
| 0.3b | 3 | x |
| 0.6b | 3 | (/.f64 (-.f64 1 (cos.f64 x)) (*.f64 x x)) |
| 0.6b | 3 | (/.f64 (-.f64 1 (cos.f64 x)) (*.f64 x x)) |
Compiled 282 to 168 computations (40.4% saved)
| 2× | binary-search |
| Time | Left | Right |
|---|---|---|
| 22.0ms | 9.519044008672343e-19 | 616.0276296902447 |
| 25.0ms | -1.7922668269295663 | -7.538911107406542e-5 |
Compiled 13 to 9 computations (30.8% saved)
| Inputs |
|---|
1/2 |
1/2 |
(*.f64 (*.f64 1/2 x) (/.f64 1 x)) |
(+.f64 (*.f64 -1/24 (*.f64 x x)) 1/2) |
(/.f64 (/.f64 1 x) (*.f64 (/.f64 2 (*.f64 x x)) x)) |
(/.f64 (/.f64 1 x) (/.f64 x (*.f64 1/2 (*.f64 x x)))) |
(/.f64 (/.f64 1 x) (+.f64 (*.f64 1/6 x) (*.f64 2 (/.f64 1 x)))) |
(fma.f64 -1/24 (*.f64 x x) 1/2) |
(/.f64 (/.f64 (-.f64 1 (cos.f64 x)) x) x) |
(/.f64 (-.f64 1 (cos.f64 x)) (*.f64 x x)) |
(/.f64 1 (/.f64 (*.f64 x x) (-.f64 1 (cos.f64 x)))) |
(/.f64 1 (*.f64 (/.f64 x (-.f64 1 (cos.f64 x))) x)) |
(*.f64 (/.f64 (-.f64 1 (cos.f64 x)) x) (/.f64 1 x)) |
(/.f64 (/.f64 1 x) (/.f64 x (-.f64 1 (cos.f64 x)))) |
(/.f64 1 (*.f64 x (/.f64 x (-.f64 1 (cos.f64 x))))) |
(*.f64 (/.f64 (-.f64 1 (cos.f64 x)) x) (/.f64 1 x)) |
(*.f64 (/.f64 (-.f64 1 (cos.f64 x)) x) (/.f64 1 x)) |
(*.f64 (/.f64 (/.f64 -1 x) x) (neg.f64 (-.f64 1 (cos.f64 x)))) |
(*.f64 (+.f64 (cos.f64 x) -1) (/.f64 1 (*.f64 x (neg.f64 x)))) |
(*.f64 (-.f64 (/.f64 1 x) (/.f64 (cos.f64 x) x)) (/.f64 1 x)) |
(*.f64 (/.f64 (/.f64 1 x) (neg.f64 x)) (neg.f64 (-.f64 1 (cos.f64 x)))) |
(/.f64 (/.f64 1 x) (*.f64 (/.f64 1 (-.f64 1 (cos.f64 x))) x)) |
(*.f64 (neg.f64 (-.f64 1 (cos.f64 x))) (/.f64 1 (*.f64 x (neg.f64 x)))) |
(*.f64 (neg.f64 (-.f64 1 (cos.f64 x))) (/.f64 1 (*.f64 x (neg.f64 x)))) |
| Outputs |
|---|
(*.f64 (/.f64 (/.f64 -1 x) x) (neg.f64 (-.f64 1 (cos.f64 x)))) |
(+.f64 (*.f64 -1/24 (*.f64 x x)) 1/2) |
(/.f64 (/.f64 (-.f64 1 (cos.f64 x)) x) x) |
3 calls:
| 34.0ms | x |
| 13.0ms | (/.f64 (-.f64 1 (cos.f64 x)) (*.f64 x x)) |
| 11.0ms | (/.f64 (-.f64 1 (cos.f64 x)) (*.f64 x x)) |
| Error | Segments | Branch |
|---|---|---|
| 0.3b | 3 | x |
| 0.6b | 3 | (/.f64 (-.f64 1 (cos.f64 x)) (*.f64 x x)) |
| 0.6b | 3 | (/.f64 (-.f64 1 (cos.f64 x)) (*.f64 x x)) |
Compiled 246 to 148 computations (39.8% saved)
| 2× | binary-search |
| Time | Left | Right |
|---|---|---|
| 22.0ms | 9.519044008672343e-19 | 616.0276296902447 |
| 24.0ms | -1.7922668269295663 | -7.538911107406542e-5 |
Compiled 13 to 9 computations (30.8% saved)
| Inputs |
|---|
1/2 |
1/2 |
(*.f64 (*.f64 1/2 x) (/.f64 1 x)) |
(+.f64 (*.f64 -1/24 (*.f64 x x)) 1/2) |
(/.f64 (/.f64 1 x) (*.f64 (/.f64 2 (*.f64 x x)) x)) |
(/.f64 (/.f64 1 x) (/.f64 x (*.f64 1/2 (*.f64 x x)))) |
(/.f64 (/.f64 1 x) (+.f64 (*.f64 1/6 x) (*.f64 2 (/.f64 1 x)))) |
(fma.f64 -1/24 (*.f64 x x) 1/2) |
(/.f64 (/.f64 (-.f64 1 (cos.f64 x)) x) x) |
(/.f64 (-.f64 1 (cos.f64 x)) (*.f64 x x)) |
(/.f64 1 (/.f64 (*.f64 x x) (-.f64 1 (cos.f64 x)))) |
(/.f64 1 (*.f64 (/.f64 x (-.f64 1 (cos.f64 x))) x)) |
(*.f64 (/.f64 (-.f64 1 (cos.f64 x)) x) (/.f64 1 x)) |
(/.f64 (/.f64 1 x) (/.f64 x (-.f64 1 (cos.f64 x)))) |
(/.f64 1 (*.f64 x (/.f64 x (-.f64 1 (cos.f64 x))))) |
(*.f64 (/.f64 (-.f64 1 (cos.f64 x)) x) (/.f64 1 x)) |
(*.f64 (/.f64 (-.f64 1 (cos.f64 x)) x) (/.f64 1 x)) |
| Outputs |
|---|
(/.f64 1 (*.f64 (/.f64 x (-.f64 1 (cos.f64 x))) x)) |
(+.f64 (*.f64 -1/24 (*.f64 x x)) 1/2) |
(/.f64 (/.f64 (-.f64 1 (cos.f64 x)) x) x) |
3 calls:
| 25.0ms | x |
| 11.0ms | (/.f64 (-.f64 1 (cos.f64 x)) (*.f64 x x)) |
| 9.0ms | (/.f64 (-.f64 1 (cos.f64 x)) (*.f64 x x)) |
| Error | Segments | Branch |
|---|---|---|
| 0.3b | 3 | x |
| 0.6b | 3 | (/.f64 (-.f64 1 (cos.f64 x)) (*.f64 x x)) |
| 0.6b | 3 | (/.f64 (-.f64 1 (cos.f64 x)) (*.f64 x x)) |
Compiled 164 to 100 computations (39% saved)
| 2× | binary-search |
| Time | Left | Right |
|---|---|---|
| 22.0ms | 9.519044008672343e-19 | 616.0276296902447 |
| 25.0ms | -1.7922668269295663 | -7.538911107406542e-5 |
Compiled 13 to 9 computations (30.8% saved)
| Inputs |
|---|
1/2 |
1/2 |
(*.f64 (*.f64 1/2 x) (/.f64 1 x)) |
(+.f64 (*.f64 -1/24 (*.f64 x x)) 1/2) |
(/.f64 (/.f64 1 x) (*.f64 (/.f64 2 (*.f64 x x)) x)) |
(/.f64 (/.f64 1 x) (/.f64 x (*.f64 1/2 (*.f64 x x)))) |
(/.f64 (/.f64 1 x) (+.f64 (*.f64 1/6 x) (*.f64 2 (/.f64 1 x)))) |
(fma.f64 -1/24 (*.f64 x x) 1/2) |
(/.f64 (/.f64 (-.f64 1 (cos.f64 x)) x) x) |
(/.f64 (-.f64 1 (cos.f64 x)) (*.f64 x x)) |
(/.f64 1 (/.f64 (*.f64 x x) (-.f64 1 (cos.f64 x)))) |
| Outputs |
|---|
(/.f64 (-.f64 1 (cos.f64 x)) (*.f64 x x)) |
(+.f64 (*.f64 -1/24 (*.f64 x x)) 1/2) |
(/.f64 (/.f64 (-.f64 1 (cos.f64 x)) x) x) |
3 calls:
| 19.0ms | x |
| 8.0ms | (/.f64 (-.f64 1 (cos.f64 x)) (*.f64 x x)) |
| 7.0ms | (/.f64 (-.f64 1 (cos.f64 x)) (*.f64 x x)) |
| Error | Segments | Branch |
|---|---|---|
| 0.3b | 3 | x |
| 0.6b | 3 | (/.f64 (-.f64 1 (cos.f64 x)) (*.f64 x x)) |
| 0.6b | 3 | (/.f64 (-.f64 1 (cos.f64 x)) (*.f64 x x)) |
Compiled 104 to 64 computations (38.5% saved)
| 2× | binary-search |
| Time | Left | Right |
|---|---|---|
| 22.0ms | 9.519044008672343e-19 | 616.0276296902447 |
| 30.0ms | -1.7922668269295663 | -7.538911107406542e-5 |
Compiled 13 to 9 computations (30.8% saved)
| Inputs |
|---|
1/2 |
1/2 |
(*.f64 (*.f64 1/2 x) (/.f64 1 x)) |
(+.f64 (*.f64 -1/24 (*.f64 x x)) 1/2) |
(/.f64 (/.f64 1 x) (*.f64 (/.f64 2 (*.f64 x x)) x)) |
(/.f64 (/.f64 1 x) (/.f64 x (*.f64 1/2 (*.f64 x x)))) |
(/.f64 (/.f64 1 x) (+.f64 (*.f64 1/6 x) (*.f64 2 (/.f64 1 x)))) |
(fma.f64 -1/24 (*.f64 x x) 1/2) |
(/.f64 (/.f64 (-.f64 1 (cos.f64 x)) x) x) |
| Outputs |
|---|
(/.f64 (/.f64 (-.f64 1 (cos.f64 x)) x) x) |
(+.f64 (*.f64 -1/24 (*.f64 x x)) 1/2) |
(/.f64 (/.f64 (-.f64 1 (cos.f64 x)) x) x) |
1 calls:
| 18.0ms | x |
| Error | Segments | Branch |
|---|---|---|
| 0.3b | 3 | x |
Compiled 68 to 44 computations (35.3% saved)
| 2× | binary-search |
| Time | Left | Right |
|---|---|---|
| 26.0ms | 9.519044008672343e-19 | 616.0276296902447 |
| 26.0ms | -1.7922668269295663 | -7.538911107406542e-5 |
Compiled 13 to 9 computations (30.8% saved)
| Inputs |
|---|
1/2 |
1/2 |
(*.f64 (*.f64 1/2 x) (/.f64 1 x)) |
(+.f64 (*.f64 -1/24 (*.f64 x x)) 1/2) |
(/.f64 (/.f64 1 x) (*.f64 (/.f64 2 (*.f64 x x)) x)) |
(/.f64 (/.f64 1 x) (/.f64 x (*.f64 1/2 (*.f64 x x)))) |
(/.f64 (/.f64 1 x) (+.f64 (*.f64 1/6 x) (*.f64 2 (/.f64 1 x)))) |
(fma.f64 -1/24 (*.f64 x x) 1/2) |
| Outputs |
|---|
(/.f64 (/.f64 1 x) (+.f64 (*.f64 1/6 x) (*.f64 2 (/.f64 1 x)))) |
1 calls:
| 6.0ms | x |
| Error | Segments | Branch |
|---|---|---|
| 13.3b | 1 | x |
Compiled 60 to 39 computations (35% saved)
Total -17.2b remaining (-57%)
Threshold costs -17.2b (-57%)
| Inputs |
|---|
1/2 |
1/2 |
(*.f64 (*.f64 1/2 x) (/.f64 1 x)) |
(+.f64 (*.f64 -1/24 (*.f64 x x)) 1/2) |
(/.f64 (/.f64 1 x) (*.f64 (/.f64 2 (*.f64 x x)) x)) |
(/.f64 (/.f64 1 x) (/.f64 x (*.f64 1/2 (*.f64 x x)))) |
| Outputs |
|---|
1/2 |
1 calls:
| 5.0ms | x |
| Error | Segments | Branch |
|---|---|---|
| 30.2b | 1 | x |
Compiled 41 to 26 computations (36.6% saved)
| 1× | egg-herbie |
| 17× | *-commutative_binary64 |
| 10× | +-commutative_binary64 |
| 9× | sub-neg_binary64 |
| 9× | neg-sub0_binary64 |
| 9× | neg-mul-1_binary64 |
Useful iterations: 2 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 48 | 275 |
| 1 | 66 | 275 |
| 2 | 80 | 273 |
| 3 | 97 | 273 |
| 4 | 115 | 273 |
| 5 | 129 | 273 |
| 6 | 141 | 273 |
| 7 | 145 | 273 |
| 8 | 147 | 273 |
| 1× | fuel |
| 1× | saturated |
| Inputs |
|---|
(*.f64 (/.f64 (tan.f64 (*.f64 x 1/2)) x) (/.f64 (sin.f64 x) x)) |
(if (<=.f64 x -504478263369281/281474976710656) (*.f64 (pow.f64 x -2) (-.f64 1 (cos.f64 x))) (if (<=.f64 x 2471285115124209/2596148429267413814265248164610048) (+.f64 (*.f64 -1/24 (*.f64 x x)) 1/2) (/.f64 (/.f64 (-.f64 1 (cos.f64 x)) x) x))) |
(if (<=.f64 x -504478263369281/281474976710656) (*.f64 (/.f64 (/.f64 -1 x) x) (neg.f64 (-.f64 1 (cos.f64 x)))) (if (<=.f64 x 2471285115124209/2596148429267413814265248164610048) (+.f64 (*.f64 -1/24 (*.f64 x x)) 1/2) (/.f64 (/.f64 (-.f64 1 (cos.f64 x)) x) x))) |
(if (<=.f64 x -504478263369281/281474976710656) (/.f64 1 (*.f64 (/.f64 x (-.f64 1 (cos.f64 x))) x)) (if (<=.f64 x 2471285115124209/2596148429267413814265248164610048) (+.f64 (*.f64 -1/24 (*.f64 x x)) 1/2) (/.f64 (/.f64 (-.f64 1 (cos.f64 x)) x) x))) |
(if (<=.f64 x -504478263369281/281474976710656) (/.f64 (-.f64 1 (cos.f64 x)) (*.f64 x x)) (if (<=.f64 x 2471285115124209/2596148429267413814265248164610048) (+.f64 (*.f64 -1/24 (*.f64 x x)) 1/2) (/.f64 (/.f64 (-.f64 1 (cos.f64 x)) x) x))) |
(if (<=.f64 x -504478263369281/281474976710656) (/.f64 (/.f64 (-.f64 1 (cos.f64 x)) x) x) (if (<=.f64 x 2471285115124209/2596148429267413814265248164610048) (+.f64 (*.f64 -1/24 (*.f64 x x)) 1/2) (/.f64 (/.f64 (-.f64 1 (cos.f64 x)) x) x))) |
(/.f64 (/.f64 1 x) (+.f64 (*.f64 1/6 x) (*.f64 2 (/.f64 1 x)))) |
1/2 |
| Outputs |
|---|
(*.f64 (/.f64 (tan.f64 (*.f64 x 1/2)) x) (/.f64 (sin.f64 x) x)) |
(if (<=.f64 x -504478263369281/281474976710656) (*.f64 (pow.f64 x -2) (-.f64 1 (cos.f64 x))) (if (<=.f64 x 2471285115124209/2596148429267413814265248164610048) (+.f64 (*.f64 -1/24 (*.f64 x x)) 1/2) (/.f64 (/.f64 (-.f64 1 (cos.f64 x)) x) x))) |
(if (<=.f64 x -504478263369281/281474976710656) (*.f64 (pow.f64 x -2) (-.f64 1 (cos.f64 x))) (if (<=.f64 x 2471285115124209/2596148429267413814265248164610048) (+.f64 1/2 (*.f64 -1/24 (*.f64 x x))) (/.f64 (/.f64 (-.f64 1 (cos.f64 x)) x) x))) |
(if (<=.f64 x -504478263369281/281474976710656) (*.f64 (/.f64 (/.f64 -1 x) x) (neg.f64 (-.f64 1 (cos.f64 x)))) (if (<=.f64 x 2471285115124209/2596148429267413814265248164610048) (+.f64 (*.f64 -1/24 (*.f64 x x)) 1/2) (/.f64 (/.f64 (-.f64 1 (cos.f64 x)) x) x))) |
(if (<=.f64 x -504478263369281/281474976710656) (*.f64 (/.f64 (/.f64 -1 x) x) (neg.f64 (-.f64 1 (cos.f64 x)))) (if (<=.f64 x 2471285115124209/2596148429267413814265248164610048) (+.f64 1/2 (*.f64 -1/24 (*.f64 x x))) (/.f64 (/.f64 (-.f64 1 (cos.f64 x)) x) x))) |
(if (<=.f64 x -504478263369281/281474976710656) (*.f64 (/.f64 (/.f64 -1 x) x) (+.f64 (cos.f64 x) -1)) (if (<=.f64 x 2471285115124209/2596148429267413814265248164610048) (+.f64 1/2 (*.f64 -1/24 (*.f64 x x))) (/.f64 (/.f64 (-.f64 1 (cos.f64 x)) x) x))) |
(if (<=.f64 x -504478263369281/281474976710656) (/.f64 1 (*.f64 (/.f64 x (-.f64 1 (cos.f64 x))) x)) (if (<=.f64 x 2471285115124209/2596148429267413814265248164610048) (+.f64 (*.f64 -1/24 (*.f64 x x)) 1/2) (/.f64 (/.f64 (-.f64 1 (cos.f64 x)) x) x))) |
(if (<=.f64 x -504478263369281/281474976710656) (/.f64 1 (*.f64 x (/.f64 x (-.f64 1 (cos.f64 x))))) (if (<=.f64 x 2471285115124209/2596148429267413814265248164610048) (+.f64 1/2 (*.f64 -1/24 (*.f64 x x))) (/.f64 (/.f64 (-.f64 1 (cos.f64 x)) x) x))) |
(if (<=.f64 x -504478263369281/281474976710656) (/.f64 (-.f64 1 (cos.f64 x)) (*.f64 x x)) (if (<=.f64 x 2471285115124209/2596148429267413814265248164610048) (+.f64 (*.f64 -1/24 (*.f64 x x)) 1/2) (/.f64 (/.f64 (-.f64 1 (cos.f64 x)) x) x))) |
(if (<=.f64 x -504478263369281/281474976710656) (/.f64 (-.f64 1 (cos.f64 x)) (*.f64 x x)) (if (<=.f64 x 2471285115124209/2596148429267413814265248164610048) (+.f64 1/2 (*.f64 -1/24 (*.f64 x x))) (/.f64 (/.f64 (-.f64 1 (cos.f64 x)) x) x))) |
(if (<=.f64 x -504478263369281/281474976710656) (/.f64 (/.f64 (-.f64 1 (cos.f64 x)) x) x) (if (<=.f64 x 2471285115124209/2596148429267413814265248164610048) (+.f64 (*.f64 -1/24 (*.f64 x x)) 1/2) (/.f64 (/.f64 (-.f64 1 (cos.f64 x)) x) x))) |
(if (<=.f64 x -504478263369281/281474976710656) (/.f64 (/.f64 (-.f64 1 (cos.f64 x)) x) x) (if (<=.f64 x 2471285115124209/2596148429267413814265248164610048) (+.f64 1/2 (*.f64 -1/24 (*.f64 x x))) (/.f64 (/.f64 (-.f64 1 (cos.f64 x)) x) x))) |
(/.f64 (/.f64 1 x) (+.f64 (*.f64 1/6 x) (*.f64 2 (/.f64 1 x)))) |
(/.f64 (/.f64 1 x) (+.f64 (*.f64 x 1/6) (*.f64 (/.f64 1 x) 2))) |
(/.f64 (/.f64 1 x) (+.f64 (*.f64 x 1/6) (*.f64 -2 (/.f64 -1 x)))) |
1/2 |
Compiled 192 to 130 computations (32.3% saved)
Compiled 185 to 115 computations (37.8% saved)
Loading profile data...