Time bar (total: 12.8s)
| 1× | search |
| Probability | Valid | Unknown | Precondition | Infinite | Domain | Can't | Iter |
|---|---|---|---|---|---|---|---|
| 0% | 0% | 100% | 0% | 0% | 0% | 0% | 0 |
| 0% | 0% | 100% | 0% | 0% | 0% | 0% | 1 |
| 0% | 0% | 100% | 0% | 0% | 0% | 0% | 2 |
| 50% | 50% | 50% | 0% | 0% | 0% | 0% | 3 |
| 75% | 75% | 25% | 0% | 0% | 0% | 0% | 4 |
| 75% | 75% | 25% | 0% | 0% | 0% | 0% | 5 |
| 75% | 75% | 25% | 0% | 0% | 0% | 0% | 6 |
| 78.1% | 78.1% | 21.9% | 0% | 0% | 0% | 0% | 7 |
| 78.1% | 78.1% | 21.9% | 0% | 0% | 0% | 0% | 8 |
| 78.1% | 78.1% | 21.9% | 0% | 0% | 0% | 0% | 9 |
| 78.1% | 78.1% | 21.9% | 0% | 0% | 0% | 0% | 10 |
| 78.1% | 78.1% | 21.9% | 0% | 0% | 0% | 0% | 11 |
| 78.1% | 78.1% | 21.9% | 0% | 0% | 0% | 0% | 12 |
Compiled 10 to 7 computations (30% saved)
| 2.1s | 2103× | body | 2048 | valid |
| 652.0ms | 1531× | body | 512 | valid |
| 587.0ms | 1189× | body | 1024 | valid |
| 497.0ms | 3302× | body | 256 | valid |
| 143.0ms | 131× | 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 |
|---|---|---|
| ▶ | 34.0b | (/.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 |
|---|---|---|
| ✓ | 2.0b | (-.f64 1 (cos.f64 x)) |
| ✓ | 16.9b | (/.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 | @ | 0 | (/.f64 (-.f64 1 (cos.f64 x)) (*.f64 x x)) |
| 1.0ms | x | @ | inf | (/.f64 (-.f64 1 (cos.f64 x)) (*.f64 x x)) |
| 1.0ms | x | @ | -inf | (/.f64 (-.f64 1 (cos.f64 x)) (*.f64 x x)) |
| 0.0ms | x | @ | 0 | (-.f64 1 (cos.f64 x)) |
| 0.0ms | x | @ | inf | (-.f64 1 (cos.f64 x)) |
| 1× | batch-egg-rewrite |
| 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)
15 alts after pruning (14 fresh and 1 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 65 | 14 | 79 |
| Fresh | 0 | 0 | 0 |
| Picked | 0 | 1 | 1 |
| Done | 0 | 0 | 0 |
| Total | 65 | 15 | 80 |
| Status | Error | Program |
|---|---|---|
| 34.1b | (*.f64 (neg.f64 (-.f64 1 (cos.f64 x))) (/.f64 1 (*.f64 x (neg.f64 x)))) | |
| ▶ | 46.0b | (/.f64 (*.f64 x (*.f64 x (fma.f64 -1/24 (*.f64 x x) 1/2))) (*.f64 x x)) |
| 34.1b | (/.f64 (log.f64 (exp.f64 (-.f64 1 (cos.f64 x)))) (*.f64 x x)) | |
| 33.5b | (pow.f64 (/.f64 x (/.f64 (-.f64 1 (cos.f64 x)) x)) -1) | |
| ▶ | 33.2b | (-.f64 (pow.f64 x -2) (*.f64 (cos.f64 x) (pow.f64 x -2))) |
| ▶ | 29.1b | (fma.f64 -1/24 (*.f64 x x) 1/2) |
| ✓ | 34.0b | (/.f64 (-.f64 1 (cos.f64 x)) (*.f64 x x)) |
| 28.4b | 1/2 | |
| ▶ | 17.3b | (/.f64 (/.f64 (*.f64 (sin.f64 x) (sin.f64 x)) (+.f64 1 (cos.f64 x))) (*.f64 x x)) |
| 34.0b | (/.f64 (exp.f64 (log1p.f64 (neg.f64 (cos.f64 x)))) (*.f64 x x)) | |
| 18.5b | (/.f64 (/.f64 1 (/.f64 (+.f64 1 (cos.f64 x)) (*.f64 (sin.f64 x) (sin.f64 x)))) (*.f64 x x)) | |
| 33.2b | (*.f64 (/.f64 (-.f64 1 (cos.f64 x)) x) (/.f64 1 x)) | |
| 33.7b | (*.f64 (pow.f64 x -2) (-.f64 1 (cos.f64 x))) | |
| 33.2b | (pow.f64 (/.f64 (sqrt.f64 (-.f64 1 (cos.f64 x))) x) 2) | |
| ▶ | 28.9b | (+.f64 1/2 (+.f64 (*.f64 -1/24 (pow.f64 x 2)) (*.f64 1/720 (pow.f64 x 4)))) |
Compiled 319 to 226 computations (29.2% 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)) |
| ✓ | 16.6b | (/.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 | |
|---|---|---|---|---|
| 3.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.3b | (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.0b | (*.f64 x (*.f64 x (fma.f64 -1/24 (*.f64 x x) 1/2))) |
| ✓ | 0.1b | (*.f64 x (fma.f64 -1/24 (*.f64 x x) 1/2)) |
| 0.3b | (fma.f64 -1/24 (*.f64 x x) 1/2) | |
| ✓ | 37.7b | (/.f64 (*.f64 x (*.f64 x (fma.f64 -1/24 (*.f64 x x) 1/2))) (*.f64 x x)) |
Compiled 45 to 22 computations (51.1% saved)
9 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 1.0ms | x | @ | 0 | (*.f64 x (fma.f64 -1/24 (*.f64 x x) 1/2)) |
| 0.0ms | x | @ | inf | (*.f64 x (fma.f64 -1/24 (*.f64 x x) 1/2)) |
| 0.0ms | x | @ | -inf | (*.f64 x (fma.f64 -1/24 (*.f64 x x) 1/2)) |
| 0.0ms | x | @ | inf | (*.f64 x (*.f64 x (fma.f64 -1/24 (*.f64 x x) 1/2))) |
| 0.0ms | x | @ | 0 | (/.f64 (*.f64 x (*.f64 x (fma.f64 -1/24 (*.f64 x x) 1/2))) (*.f64 x x)) |
| 1× | batch-egg-rewrite |
| 530× | log-prod_binary64 |
| 402× | exp-prod_binary64 |
| 330× | pow-prod-down_binary64 |
| 241× | pow2_binary64 |
| 237× | div-exp_binary64 |
Useful iterations: 1 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 9 | 45 |
| 1 | 196 | 36 |
| 2 | 2712 | 36 |
| 1× | node limit |
| Inputs |
|---|
(/.f64 (*.f64 x (*.f64 x (fma.f64 -1/24 (*.f64 x x) 1/2))) (*.f64 x x)) |
(*.f64 x (fma.f64 -1/24 (*.f64 x x) 1/2)) |
(*.f64 x (*.f64 x (fma.f64 -1/24 (*.f64 x x) 1/2))) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x +.f64 0 (/.f64 (fma.f64 -1/24 (*.f64 x x) 1/2) 1))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (pow.f64 (cbrt.f64 (exp.f64 (/.f64 (fma.f64 -1/24 (*.f64 x x) 1/2) 1))) 2)) (log.f64 (cbrt.f64 (exp.f64 (/.f64 (fma.f64 -1/24 (*.f64 x x) 1/2) 1)))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (sqrt.f64 (exp.f64 (/.f64 (fma.f64 -1/24 (*.f64 x x) 1/2) 1)))) (log.f64 (sqrt.f64 (exp.f64 (/.f64 (fma.f64 -1/24 (*.f64 x x) 1/2) 1)))))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (/.f64 (fma.f64 -1/24 (*.f64 x x) 1/2) 1))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 x (/.f64 (fma.f64 -1/24 (*.f64 x x) 1/2) x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 x (/.f64 1 (/.f64 x (fma.f64 -1/24 (*.f64 x x) 1/2))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 x (*.f64 (*.f64 x (fma.f64 -1/24 (*.f64 x x) 1/2)) (pow.f64 x -2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 x x) (*.f64 (fma.f64 -1/24 (*.f64 x x) 1/2) (pow.f64 x -2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 x (fma.f64 -1/24 (*.f64 x x) 1/2)) (/.f64 1 x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (*.f64 x x) (fma.f64 -1/24 (*.f64 x x) 1/2)) (pow.f64 x -2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (fma.f64 -1/24 (*.f64 x x) 1/2) 1) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (/.f64 (fma.f64 -1/24 (*.f64 x x) 1/2) 1))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (pow.f64 (*.f64 x (sqrt.f64 (fma.f64 -1/24 (*.f64 x x) 1/2))) 4)) (*.f64 (cbrt.f64 (*.f64 (*.f64 x x) (fma.f64 -1/24 (*.f64 x x) 1/2))) (pow.f64 x -2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 x) (/.f64 (fma.f64 -1/24 (*.f64 x x) 1/2) (cbrt.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 x (cbrt.f64 x)) (/.f64 (fma.f64 -1/24 (*.f64 x x) 1/2) (/.f64 x (cbrt.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (/.f64 (fma.f64 -1/24 (*.f64 x x) 1/2) 1)) (cbrt.f64 (pow.f64 (/.f64 (fma.f64 -1/24 (*.f64 x x) 1/2) 1) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (pow.f64 (/.f64 (fma.f64 -1/24 (*.f64 x x) 1/2) 1) 2)) (cbrt.f64 (/.f64 (fma.f64 -1/24 (*.f64 x x) 1/2) 1)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 x (sqrt.f64 (fma.f64 -1/24 (*.f64 x x) 1/2))) (*.f64 (*.f64 x (sqrt.f64 (fma.f64 -1/24 (*.f64 x x) 1/2))) (pow.f64 x -2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 x) (/.f64 (fma.f64 -1/24 (*.f64 x x) 1/2) (sqrt.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (/.f64 (fma.f64 -1/24 (*.f64 x x) 1/2) 1)) (sqrt.f64 (/.f64 (fma.f64 -1/24 (*.f64 x x) 1/2) 1)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (*.f64 x x) (neg.f64 (fma.f64 -1/24 (*.f64 x x) 1/2))) (/.f64 1 (neg.f64 (*.f64 x x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 x -2) (*.f64 (*.f64 x x) (fma.f64 -1/24 (*.f64 x x) 1/2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 x (/.f64 1 (fma.f64 -1/24 (*.f64 x x) 1/2))) (/.f64 1 x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (cbrt.f64 x) x) (/.f64 (*.f64 x (fma.f64 -1/24 (*.f64 x x) 1/2)) (cbrt.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 x -1/2) (/.f64 (*.f64 x (fma.f64 -1/24 (*.f64 x x) 1/2)) (sqrt.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 1 x) (*.f64 x (fma.f64 -1/24 (*.f64 x x) 1/2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 1 x) (/.f64 x (/.f64 1 (fma.f64 -1/24 (*.f64 x x) 1/2))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (cbrt.f64 (pow.f64 (*.f64 x (sqrt.f64 (fma.f64 -1/24 (*.f64 x x) 1/2))) 4)) x) (/.f64 (cbrt.f64 (*.f64 (*.f64 x x) (fma.f64 -1/24 (*.f64 x x) 1/2))) x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 x 1) (/.f64 (fma.f64 -1/24 (*.f64 x x) 1/2) x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 x 1) (/.f64 (*.f64 x (fma.f64 -1/24 (*.f64 x x) 1/2)) (*.f64 x x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (*.f64 x x) 1) (/.f64 (fma.f64 -1/24 (*.f64 x x) 1/2) (*.f64 x x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (cbrt.f64 (pow.f64 (*.f64 x (sqrt.f64 (fma.f64 -1/24 (*.f64 x x) 1/2))) 4)) 1) (/.f64 (cbrt.f64 (*.f64 (*.f64 x x) (fma.f64 -1/24 (*.f64 x x) 1/2))) (*.f64 x x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (*.f64 x (sqrt.f64 (fma.f64 -1/24 (*.f64 x x) 1/2))) 1) (/.f64 (*.f64 x (sqrt.f64 (fma.f64 -1/24 (*.f64 x x) 1/2))) (*.f64 x x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 x (*.f64 (cbrt.f64 x) x)) (/.f64 (*.f64 x (fma.f64 -1/24 (*.f64 x x) 1/2)) (/.f64 x (cbrt.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (fma.f64 -1/24 (*.f64 x x) 1/2) (/.f64 x (cbrt.f64 x))) (/.f64 x (cbrt.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (*.f64 x (fma.f64 -1/24 (*.f64 x x) 1/2)) (*.f64 (cbrt.f64 x) x)) (cbrt.f64 x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 1 (*.f64 (cbrt.f64 x) x)) (/.f64 (*.f64 (*.f64 x x) (fma.f64 -1/24 (*.f64 x x) 1/2)) (/.f64 x (cbrt.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (cbrt.f64 (pow.f64 (*.f64 x (sqrt.f64 (fma.f64 -1/24 (*.f64 x x) 1/2))) 4)) (*.f64 (cbrt.f64 x) x)) (cbrt.f64 (/.f64 (fma.f64 -1/24 (*.f64 x x) 1/2) 1)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (*.f64 x (sqrt.f64 (fma.f64 -1/24 (*.f64 x x) 1/2))) (*.f64 (cbrt.f64 x) x)) (/.f64 (*.f64 x (sqrt.f64 (fma.f64 -1/24 (*.f64 x x) 1/2))) (/.f64 x (cbrt.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (pow.f64 (cbrt.f64 (*.f64 x (fma.f64 -1/24 (*.f64 x x) 1/2))) 2) 1) (/.f64 (cbrt.f64 (*.f64 x (fma.f64 -1/24 (*.f64 x x) 1/2))) x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (sqrt.f64 (*.f64 x (fma.f64 -1/24 (*.f64 x x) 1/2))) 1) (/.f64 (sqrt.f64 (*.f64 x (fma.f64 -1/24 (*.f64 x x) 1/2))) x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (pow.f64 (cbrt.f64 (*.f64 x (fma.f64 -1/24 (*.f64 x x) 1/2))) 2) (/.f64 x (cbrt.f64 x))) (/.f64 (cbrt.f64 (*.f64 x (fma.f64 -1/24 (*.f64 x x) 1/2))) (cbrt.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (sqrt.f64 (*.f64 x (fma.f64 -1/24 (*.f64 x x) 1/2))) (/.f64 x (cbrt.f64 x))) (/.f64 (sqrt.f64 (*.f64 x (fma.f64 -1/24 (*.f64 x x) 1/2))) (cbrt.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (fma.f64 -1/24 (*.f64 x x) 1/2) (sqrt.f64 x)) (sqrt.f64 x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (pow.f64 (cbrt.f64 (*.f64 x (fma.f64 -1/24 (*.f64 x x) 1/2))) 2) (sqrt.f64 x)) (/.f64 (cbrt.f64 (*.f64 x (fma.f64 -1/24 (*.f64 x x) 1/2))) (sqrt.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (sqrt.f64 (*.f64 x (fma.f64 -1/24 (*.f64 x x) 1/2))) (sqrt.f64 x)) (/.f64 (sqrt.f64 (*.f64 x (fma.f64 -1/24 (*.f64 x x) 1/2))) (sqrt.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 (fma.f64 -1/24 (*.f64 x x) 1/2) 1) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (/.f64 (fma.f64 -1/24 (*.f64 x x) 1/2) 1) 2) 1/2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (/.f64 1 (fma.f64 -1/24 (*.f64 x x) 1/2)) -3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (/.f64 (fma.f64 -1/24 (*.f64 x x) 1/2) 1)) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (/.f64 (fma.f64 -1/24 (*.f64 x x) 1/2) 1)) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 1 (fma.f64 -1/24 (*.f64 x x) 1/2)) -1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 1) (-.f64 (log.f64 (fma.f64 -1/24 (*.f64 x x) 1/2)) 0))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 (pow.f64 (*.f64 x (sqrt.f64 (fma.f64 -1/24 (*.f64 x x) 1/2))) 6) (pow.f64 x 6)) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 (pow.f64 (*.f64 x (fma.f64 -1/24 (*.f64 x x) 1/2)) 3) (pow.f64 x 3)) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 (sqrt.f64 (*.f64 x (fma.f64 -1/24 (*.f64 x x) 1/2))) (sqrt.f64 x)) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 (/.f64 1 (fma.f64 -1/24 (*.f64 x x) 1/2)) 1) -1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 (pow.f64 (cbrt.f64 (-.f64 (log.f64 (fma.f64 -1/24 (*.f64 x x) 1/2)) 0)) 2)) (cbrt.f64 (-.f64 (log.f64 (fma.f64 -1/24 (*.f64 x x) 1/2)) 0)))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 (sqrt.f64 (-.f64 (log.f64 (fma.f64 -1/24 (*.f64 x x) 1/2)) 0))) (sqrt.f64 (-.f64 (log.f64 (fma.f64 -1/24 (*.f64 x x) 1/2)) 0)))))) (#(struct:change #<rule egg-rr> (2) ((x neg.f64 (/.f64 (*.f64 (*.f64 x x) (fma.f64 -1/24 (*.f64 x x) 1/2)) (neg.f64 (*.f64 x x))))))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (/.f64 (fma.f64 -1/24 (*.f64 x x) 1/2) 1) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (/.f64 (fma.f64 -1/24 (*.f64 x x) 1/2) 1)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (/.f64 (fma.f64 -1/24 (*.f64 x x) 1/2) 1))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (/.f64 1 (fma.f64 -1/24 (*.f64 x x) 1/2)) -3))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (/.f64 (pow.f64 (*.f64 x (sqrt.f64 (fma.f64 -1/24 (*.f64 x x) 1/2))) 6) (pow.f64 x 6)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (/.f64 (pow.f64 (*.f64 x (fma.f64 -1/24 (*.f64 x x) 1/2)) 3) (pow.f64 x 3)))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (/.f64 (fma.f64 -1/24 (*.f64 x x) 1/2) 1)))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (/.f64 (fma.f64 -1/24 (*.f64 x x) 1/2) 1)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (-.f64 (log.f64 (fma.f64 -1/24 (*.f64 x x) 1/2)) 0))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (-.f64 (log.f64 (fma.f64 -1/24 (*.f64 x x) 1/2)) 0) 1))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (pow.f64 (/.f64 1 (fma.f64 -1/24 (*.f64 x x) 1/2)) -3)) 1/3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (cbrt.f64 (/.f64 (fma.f64 -1/24 (*.f64 x x) 1/2) 1))) 3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (sqrt.f64 (/.f64 (fma.f64 -1/24 (*.f64 x x) 1/2) 1))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (-.f64 0 (log.f64 (fma.f64 -1/24 (*.f64 x x) 1/2))) -1))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 (-.f64 (log.f64 (fma.f64 -1/24 (*.f64 x x) 1/2)) 0) 1) 1))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (-.f64 (*.f64 (log.f64 x) 1) (log.f64 (/.f64 x (fma.f64 -1/24 (*.f64 x x) 1/2)))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (-.f64 (*.f64 (log.f64 (*.f64 x (fma.f64 -1/24 (*.f64 x x) 1/2))) 1) (log.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (-.f64 (log.f64 (*.f64 x (fma.f64 -1/24 (*.f64 x x) 1/2))) (*.f64 (log.f64 x) 1)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (-.f64 (*.f64 (log.f64 (*.f64 x (fma.f64 -1/24 (*.f64 x x) 1/2))) 1) (*.f64 (log.f64 x) 1)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (-.f64 (*.f64 (log.f64 (*.f64 (*.f64 x x) (fma.f64 -1/24 (*.f64 x x) 1/2))) 1) (*.f64 2 (log.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (-.f64 (log.f64 (*.f64 (*.f64 x x) (fma.f64 -1/24 (*.f64 x x) 1/2))) (*.f64 (log.f64 x) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (-.f64 (*.f64 (log.f64 (*.f64 (*.f64 x x) (fma.f64 -1/24 (*.f64 x x) 1/2))) 1) (*.f64 (log.f64 x) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (-.f64 (log.f64 (*.f64 (*.f64 x x) (fma.f64 -1/24 (*.f64 x x) 1/2))) (*.f64 (*.f64 2 (log.f64 x)) 1)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (-.f64 (*.f64 (log.f64 (*.f64 (*.f64 x x) (fma.f64 -1/24 (*.f64 x x) 1/2))) 1) (*.f64 (*.f64 2 (log.f64 x)) 1)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (-.f64 (-.f64 (log.f64 (*.f64 x (fma.f64 -1/24 (*.f64 x x) 1/2))) 0) (*.f64 (log.f64 x) 1))))))) |
((#(struct:change #<rule egg-rr> (2) ((x +.f64 0 (*.f64 x (fma.f64 -1/24 (*.f64 x x) 1/2)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 (*.f64 -1/24 (*.f64 x x)) x) (*.f64 1/2 x))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 x (*.f64 -1/24 (*.f64 x x))) (*.f64 x 1/2))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (pow.f64 (cbrt.f64 (pow.f64 (exp.f64 x) (fma.f64 -1/24 (*.f64 x x) 1/2))) 2)) (log.f64 (cbrt.f64 (pow.f64 (exp.f64 x) (fma.f64 -1/24 (*.f64 x x) 1/2)))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (sqrt.f64 (pow.f64 (exp.f64 x) (fma.f64 -1/24 (*.f64 x x) 1/2)))) (log.f64 (sqrt.f64 (pow.f64 (exp.f64 x) (fma.f64 -1/24 (*.f64 x x) 1/2)))))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (*.f64 x (fma.f64 -1/24 (*.f64 x x) 1/2)))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 x (fma.f64 -1/24 (*.f64 x x) 1/2)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 x (fma.f64 -1/24 (*.f64 x x) 1/2)) 2) 1/2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 x (fma.f64 -1/24 (*.f64 x x) 1/2)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (*.f64 x (fma.f64 -1/24 (*.f64 x x) 1/2))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (*.f64 x (fma.f64 -1/24 (*.f64 x x) 1/2))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 1) (log.f64 (*.f64 x (fma.f64 -1/24 (*.f64 x x) 1/2))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 (pow.f64 (cbrt.f64 (log.f64 (*.f64 x (fma.f64 -1/24 (*.f64 x x) 1/2)))) 2)) (cbrt.f64 (log.f64 (*.f64 x (fma.f64 -1/24 (*.f64 x x) 1/2)))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 (sqrt.f64 (log.f64 (*.f64 x (fma.f64 -1/24 (*.f64 x x) 1/2))))) (sqrt.f64 (log.f64 (*.f64 x (fma.f64 -1/24 (*.f64 x x) 1/2)))))))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (*.f64 x (fma.f64 -1/24 (*.f64 x x) 1/2)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (pow.f64 (exp.f64 x) (fma.f64 -1/24 (*.f64 x x) 1/2)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (*.f64 x (fma.f64 -1/24 (*.f64 x x) 1/2)))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (*.f64 x (fma.f64 -1/24 (*.f64 x x) 1/2)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 x (fma.f64 -1/24 (*.f64 x x) 1/2))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 x (fma.f64 -1/24 (*.f64 x x) 1/2))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (*.f64 x (fma.f64 -1/24 (*.f64 x x) 1/2))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (*.f64 x (fma.f64 -1/24 (*.f64 x x) 1/2))) 1))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (pow.f64 (*.f64 x (fma.f64 -1/24 (*.f64 x x) 1/2)) 3)) 1/3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (cbrt.f64 (*.f64 x (fma.f64 -1/24 (*.f64 x x) 1/2)))) 3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (sqrt.f64 (*.f64 x (fma.f64 -1/24 (*.f64 x x) 1/2)))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 (log.f64 (*.f64 x (fma.f64 -1/24 (*.f64 x x) 1/2))) 1) 1))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 x (*.f64 -1/24 (*.f64 x x)) (*.f64 x 1/2))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 -1/24 (*.f64 x x)) x (*.f64 1/2 x)))))) |
((#(struct:change #<rule egg-rr> (2) ((x +.f64 0 (*.f64 (*.f64 x x) (fma.f64 -1/24 (*.f64 x x) 1/2)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 (*.f64 -1/24 (*.f64 x x)) (*.f64 x x)) (*.f64 1/2 (*.f64 x x)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 (*.f64 x x) (*.f64 -1/24 (*.f64 x x))) (*.f64 (*.f64 x x) 1/2))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (pow.f64 (cbrt.f64 (pow.f64 (pow.f64 (exp.f64 x) (fma.f64 -1/24 (*.f64 x x) 1/2)) x)) 2)) (log.f64 (cbrt.f64 (pow.f64 (pow.f64 (exp.f64 x) (fma.f64 -1/24 (*.f64 x x) 1/2)) x))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (sqrt.f64 (pow.f64 (pow.f64 (exp.f64 x) (fma.f64 -1/24 (*.f64 x x) 1/2)) x))) (log.f64 (sqrt.f64 (pow.f64 (pow.f64 (exp.f64 x) (fma.f64 -1/24 (*.f64 x x) 1/2)) x))))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (*.f64 (*.f64 x x) (fma.f64 -1/24 (*.f64 x x) 1/2)))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 (*.f64 x x) (fma.f64 -1/24 (*.f64 x x) 1/2)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 x (sqrt.f64 (fma.f64 -1/24 (*.f64 x x) 1/2))) 4) 1/2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 x (sqrt.f64 (fma.f64 -1/24 (*.f64 x x) 1/2))) 6) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (*.f64 (*.f64 x x) (fma.f64 -1/24 (*.f64 x x) 1/2))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 x (sqrt.f64 (fma.f64 -1/24 (*.f64 x x) 1/2))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 1) (log.f64 (*.f64 (*.f64 x x) (fma.f64 -1/24 (*.f64 x x) 1/2))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 (pow.f64 (fma.f64 -1/24 (*.f64 x x) 1/2) 3) (pow.f64 x 6)) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 (cbrt.f64 (fma.f64 -1/24 (*.f64 x x) 1/2)) (/.f64 x (cbrt.f64 x))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 (pow.f64 (cbrt.f64 (log.f64 (*.f64 (*.f64 x x) (fma.f64 -1/24 (*.f64 x x) 1/2)))) 2)) (cbrt.f64 (log.f64 (*.f64 (*.f64 x x) (fma.f64 -1/24 (*.f64 x x) 1/2)))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 (sqrt.f64 (log.f64 (*.f64 (*.f64 x x) (fma.f64 -1/24 (*.f64 x x) 1/2))))) (sqrt.f64 (log.f64 (*.f64 (*.f64 x x) (fma.f64 -1/24 (*.f64 x x) 1/2)))))))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (*.f64 x (sqrt.f64 (fma.f64 -1/24 (*.f64 x x) 1/2))) 4))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (pow.f64 (pow.f64 (exp.f64 x) (fma.f64 -1/24 (*.f64 x x) 1/2)) x))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (*.f64 (*.f64 x x) (fma.f64 -1/24 (*.f64 x x) 1/2)))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (*.f64 x (sqrt.f64 (fma.f64 -1/24 (*.f64 x x) 1/2))) 6))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 (*.f64 x x) (fma.f64 -1/24 (*.f64 x x) 1/2))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 (*.f64 x x) (fma.f64 -1/24 (*.f64 x x) 1/2))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (*.f64 (*.f64 x x) (fma.f64 -1/24 (*.f64 x x) 1/2))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (*.f64 (*.f64 x x) (fma.f64 -1/24 (*.f64 x x) 1/2))) 1))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (pow.f64 (*.f64 x (sqrt.f64 (fma.f64 -1/24 (*.f64 x x) 1/2))) 6)) 1/3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (cbrt.f64 (*.f64 (*.f64 x x) (fma.f64 -1/24 (*.f64 x x) 1/2)))) 3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (*.f64 x (sqrt.f64 (fma.f64 -1/24 (*.f64 x x) 1/2)))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 (log.f64 (*.f64 (*.f64 x x) (fma.f64 -1/24 (*.f64 x x) 1/2))) 1) 1))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 x x) (*.f64 -1/24 (*.f64 x x)) (*.f64 (*.f64 x x) 1/2))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 -1/24 (*.f64 x x)) (*.f64 x x) (*.f64 1/2 (*.f64 x x))))))) |
| 1× | egg-herbie |
| 957× | sqr-pow_binary64 |
| 803× | unswap-sqr_binary64 |
| 635× | cube-prod_binary64 |
| 536× | fabs-mul_binary64 |
| 385× | pow-sqr_binary64 |
Useful iterations: 1 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 18 | 369 |
| 1 | 42 | 351 |
| 2 | 81 | 351 |
| 3 | 182 | 351 |
| 4 | 611 | 351 |
| 5 | 1165 | 351 |
| 6 | 2602 | 351 |
| 7 | 2721 | 351 |
| 8 | 2895 | 351 |
| 9 | 3110 | 351 |
| 10 | 3393 | 351 |
| 11 | 3765 | 351 |
| 12 | 4211 | 351 |
| 13 | 4763 | 351 |
| 14 | 5449 | 351 |
| 15 | 5906 | 351 |
| 16 | 6213 | 351 |
| 17 | 6481 | 351 |
| 18 | 6693 | 351 |
| 19 | 6887 | 351 |
| 20 | 7668 | 351 |
| 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))) |
(*.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 1/2 x)) |
(+.f64 (*.f64 -1/24 (pow.f64 x 3)) (*.f64 1/2 x)) |
(*.f64 -1/24 (pow.f64 x 3)) |
(+.f64 (*.f64 -1/24 (pow.f64 x 3)) (*.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 1/2 x)) |
(*.f64 -1/24 (pow.f64 x 3)) |
(+.f64 (*.f64 -1/24 (pow.f64 x 3)) (*.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 1/2 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 -1/24 (pow.f64 x 4))) |
(+.f64 (*.f64 1/2 (pow.f64 x 2)) (*.f64 -1/24 (pow.f64 x 4))) |
(*.f64 -1/24 (pow.f64 x 4)) |
(+.f64 (*.f64 1/2 (pow.f64 x 2)) (*.f64 -1/24 (pow.f64 x 4))) |
(+.f64 (*.f64 1/2 (pow.f64 x 2)) (*.f64 -1/24 (pow.f64 x 4))) |
(+.f64 (*.f64 1/2 (pow.f64 x 2)) (*.f64 -1/24 (pow.f64 x 4))) |
(*.f64 -1/24 (pow.f64 x 4)) |
(+.f64 (*.f64 1/2 (pow.f64 x 2)) (*.f64 -1/24 (pow.f64 x 4))) |
(+.f64 (*.f64 1/2 (pow.f64 x 2)) (*.f64 -1/24 (pow.f64 x 4))) |
(+.f64 (*.f64 1/2 (pow.f64 x 2)) (*.f64 -1/24 (pow.f64 x 4))) |
| 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) |
(*.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)) |
(fma.f64 1/2 x (*.f64 -1/24 (pow.f64 x 3))) |
(+.f64 (*.f64 -1/24 (pow.f64 x 3)) (*.f64 1/2 x)) |
(fma.f64 -1/24 (pow.f64 x 3) (*.f64 1/2 x)) |
(fma.f64 1/2 x (*.f64 -1/24 (pow.f64 x 3))) |
(+.f64 (*.f64 -1/24 (pow.f64 x 3)) (*.f64 1/2 x)) |
(fma.f64 -1/24 (pow.f64 x 3) (*.f64 1/2 x)) |
(fma.f64 1/2 x (*.f64 -1/24 (pow.f64 x 3))) |
(*.f64 -1/24 (pow.f64 x 3)) |
(+.f64 (*.f64 -1/24 (pow.f64 x 3)) (*.f64 1/2 x)) |
(fma.f64 -1/24 (pow.f64 x 3) (*.f64 1/2 x)) |
(fma.f64 1/2 x (*.f64 -1/24 (pow.f64 x 3))) |
(+.f64 (*.f64 -1/24 (pow.f64 x 3)) (*.f64 1/2 x)) |
(fma.f64 -1/24 (pow.f64 x 3) (*.f64 1/2 x)) |
(fma.f64 1/2 x (*.f64 -1/24 (pow.f64 x 3))) |
(+.f64 (*.f64 -1/24 (pow.f64 x 3)) (*.f64 1/2 x)) |
(fma.f64 -1/24 (pow.f64 x 3) (*.f64 1/2 x)) |
(fma.f64 1/2 x (*.f64 -1/24 (pow.f64 x 3))) |
(*.f64 -1/24 (pow.f64 x 3)) |
(+.f64 (*.f64 -1/24 (pow.f64 x 3)) (*.f64 1/2 x)) |
(fma.f64 -1/24 (pow.f64 x 3) (*.f64 1/2 x)) |
(fma.f64 1/2 x (*.f64 -1/24 (pow.f64 x 3))) |
(+.f64 (*.f64 -1/24 (pow.f64 x 3)) (*.f64 1/2 x)) |
(fma.f64 -1/24 (pow.f64 x 3) (*.f64 1/2 x)) |
(fma.f64 1/2 x (*.f64 -1/24 (pow.f64 x 3))) |
(+.f64 (*.f64 -1/24 (pow.f64 x 3)) (*.f64 1/2 x)) |
(fma.f64 -1/24 (pow.f64 x 3) (*.f64 1/2 x)) |
(fma.f64 1/2 x (*.f64 -1/24 (pow.f64 x 3))) |
(*.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 (fma.f64 1/2 x (*.f64 -1/24 (pow.f64 x 3)))) |
(*.f64 x (fma.f64 -1/24 (pow.f64 x 3) (*.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 (fma.f64 1/2 x (*.f64 -1/24 (pow.f64 x 3)))) |
(*.f64 x (fma.f64 -1/24 (pow.f64 x 3) (*.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 (fma.f64 1/2 x (*.f64 -1/24 (pow.f64 x 3)))) |
(*.f64 x (fma.f64 -1/24 (pow.f64 x 3) (*.f64 1/2 x))) |
(*.f64 -1/24 (pow.f64 x 4)) |
(+.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 (fma.f64 1/2 x (*.f64 -1/24 (pow.f64 x 3)))) |
(*.f64 x (fma.f64 -1/24 (pow.f64 x 3) (*.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 (fma.f64 1/2 x (*.f64 -1/24 (pow.f64 x 3)))) |
(*.f64 x (fma.f64 -1/24 (pow.f64 x 3) (*.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 (fma.f64 1/2 x (*.f64 -1/24 (pow.f64 x 3)))) |
(*.f64 x (fma.f64 -1/24 (pow.f64 x 3) (*.f64 1/2 x))) |
(*.f64 -1/24 (pow.f64 x 4)) |
(+.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 (fma.f64 1/2 x (*.f64 -1/24 (pow.f64 x 3)))) |
(*.f64 x (fma.f64 -1/24 (pow.f64 x 3) (*.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 (fma.f64 1/2 x (*.f64 -1/24 (pow.f64 x 3)))) |
(*.f64 x (fma.f64 -1/24 (pow.f64 x 3) (*.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 (fma.f64 1/2 x (*.f64 -1/24 (pow.f64 x 3)))) |
(*.f64 x (fma.f64 -1/24 (pow.f64 x 3) (*.f64 1/2 x))) |
Found 3 expressions with local error:
| New | Error | Program |
|---|---|---|
| ✓ | 0.1b | (*.f64 1/720 (pow.f64 x 4)) |
| ✓ | 0.4b | (*.f64 -1/24 (pow.f64 x 2)) |
| ✓ | 12.4b | (+.f64 (*.f64 -1/24 (pow.f64 x 2)) (*.f64 1/720 (pow.f64 x 4))) |
Compiled 47 to 38 computations (19.1% saved)
9 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 1.0ms | x | @ | inf | (+.f64 (*.f64 -1/24 (pow.f64 x 2)) (*.f64 1/720 (pow.f64 x 4))) |
| 1.0ms | x | @ | 0 | (+.f64 (*.f64 -1/24 (pow.f64 x 2)) (*.f64 1/720 (pow.f64 x 4))) |
| 0.0ms | x | @ | inf | (*.f64 -1/24 (pow.f64 x 2)) |
| 0.0ms | x | @ | inf | (*.f64 1/720 (pow.f64 x 4)) |
| 0.0ms | x | @ | 0 | (*.f64 1/720 (pow.f64 x 4)) |
| 1× | batch-egg-rewrite |
| 446× | log-prod_binary64 |
| 335× | exp-prod_binary64 |
| 304× | fma-def_binary64 |
| 298× | prod-exp_binary64 |
| 270× | pow-prod-down_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 11 | 28 |
| 1 | 239 | 28 |
| 2 | 2734 | 28 |
| 1× | node limit |
| Inputs |
|---|
(+.f64 (*.f64 -1/24 (pow.f64 x 2)) (*.f64 1/720 (pow.f64 x 4))) |
(*.f64 -1/24 (pow.f64 x 2)) |
(*.f64 1/720 (pow.f64 x 4)) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (fma.f64 1/720 (pow.f64 x 4) (*.f64 -1/24 (*.f64 x x))))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (/.f64 (*.f64 (pow.f64 x 4) 1/576) (fma.f64 -1/24 (*.f64 x x) (*.f64 -1/720 (pow.f64 x 4)))) (/.f64 (*.f64 (pow.f64 x 8) 1/518400) (fma.f64 -1/24 (*.f64 x x) (*.f64 -1/720 (pow.f64 x 4)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (fma.f64 1/720 (pow.f64 x 4) (*.f64 -1/24 (*.f64 x x))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (fma.f64 1/720 (pow.f64 x 4) (*.f64 -1/24 (*.f64 x x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (fma.f64 1/720 (pow.f64 x 4) (*.f64 -1/24 (*.f64 x x)))) (pow.f64 (cbrt.f64 (fma.f64 1/720 (pow.f64 x 4) (*.f64 -1/24 (*.f64 x x)))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (fma.f64 1/720 (pow.f64 x 4) (*.f64 -1/24 (*.f64 x x)))) 2) (cbrt.f64 (fma.f64 1/720 (pow.f64 x 4) (*.f64 -1/24 (*.f64 x x)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (fma.f64 1/720 (pow.f64 x 4) (*.f64 -1/24 (*.f64 x x)))) (sqrt.f64 (fma.f64 1/720 (pow.f64 x 4) (*.f64 -1/24 (*.f64 x x)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (fma.f64 (pow.f64 x 12) 1/373248000 (*.f64 (pow.f64 x 6) -1/13824)) (/.f64 1 (fma.f64 (*.f64 1/720 (pow.f64 x 4)) (-.f64 (*.f64 1/720 (pow.f64 x 4)) (*.f64 -1/24 (*.f64 x x))) (*.f64 (pow.f64 x 4) 1/576))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (-.f64 (*.f64 (pow.f64 x 4) 1/576) (*.f64 (pow.f64 x 8) 1/518400)) (/.f64 1 (fma.f64 -1/24 (*.f64 x x) (*.f64 -1/720 (pow.f64 x 4)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (fma.f64 (*.f64 1/720 (pow.f64 x 4)) (-.f64 (*.f64 1/720 (pow.f64 x 4)) (*.f64 -1/24 (*.f64 x x))) (*.f64 (pow.f64 x 4) 1/576)) (fma.f64 (pow.f64 x 12) 1/373248000 (*.f64 (pow.f64 x 6) -1/13824))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (fma.f64 -1/24 (*.f64 x x) (*.f64 -1/720 (pow.f64 x 4))) (-.f64 (*.f64 (pow.f64 x 4) 1/576) (*.f64 (pow.f64 x 8) 1/518400))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (fma.f64 (pow.f64 x 12) 1/373248000 (*.f64 (pow.f64 x 6) -1/13824)) (fma.f64 (*.f64 1/720 (pow.f64 x 4)) (-.f64 (*.f64 1/720 (pow.f64 x 4)) (*.f64 -1/24 (*.f64 x x))) (*.f64 (pow.f64 x 4) 1/576)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (fma.f64 (pow.f64 x 12) 1/373248000 (*.f64 (pow.f64 x 6) -1/13824)) (fma.f64 (pow.f64 x 8) 1/518400 (-.f64 (*.f64 (pow.f64 x 4) 1/576) (*.f64 (*.f64 -1/24 (*.f64 x x)) (*.f64 1/720 (pow.f64 x 4))))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (*.f64 (pow.f64 x 4) 1/576) (*.f64 (pow.f64 x 8) 1/518400)) (fma.f64 -1/24 (*.f64 x x) (*.f64 -1/720 (pow.f64 x 4))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (fma.f64 (pow.f64 x 12) 1/373248000 (*.f64 (pow.f64 x 6) -1/13824))) (neg.f64 (fma.f64 (*.f64 1/720 (pow.f64 x 4)) (-.f64 (*.f64 1/720 (pow.f64 x 4)) (*.f64 -1/24 (*.f64 x x))) (*.f64 (pow.f64 x 4) 1/576))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (-.f64 (*.f64 (pow.f64 x 4) 1/576) (*.f64 (pow.f64 x 8) 1/518400))) (neg.f64 (fma.f64 -1/24 (*.f64 x x) (*.f64 -1/720 (pow.f64 x 4)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (*.f64 (pow.f64 x 8) 1/518400) (*.f64 (pow.f64 x 4) 1/576)) (-.f64 (*.f64 1/720 (pow.f64 x 4)) (*.f64 -1/24 (*.f64 x x))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (fma.f64 1/720 (pow.f64 x 4) (*.f64 -1/24 (*.f64 x x))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (fma.f64 1/720 (pow.f64 x 4) (*.f64 -1/24 (*.f64 x x))) 2) 1/2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (fma.f64 1/720 (pow.f64 x 4) (*.f64 -1/24 (*.f64 x x))) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (fma.f64 1/720 (pow.f64 x 4) (*.f64 -1/24 (*.f64 x x)))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (fma.f64 1/720 (pow.f64 x 4) (*.f64 -1/24 (*.f64 x x)))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 1) (log.f64 (fma.f64 1/720 (pow.f64 x 4) (*.f64 -1/24 (*.f64 x x)))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 (fma.f64 (*.f64 1/720 (pow.f64 x 4)) (-.f64 (*.f64 1/720 (pow.f64 x 4)) (*.f64 -1/24 (*.f64 x x))) (*.f64 (pow.f64 x 4) 1/576)) (fma.f64 (pow.f64 x 12) 1/373248000 (*.f64 (pow.f64 x 6) -1/13824))) -1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 (fma.f64 -1/24 (*.f64 x x) (*.f64 -1/720 (pow.f64 x 4))) (-.f64 (*.f64 (pow.f64 x 4) 1/576) (*.f64 (pow.f64 x 8) 1/518400))) -1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 (pow.f64 (cbrt.f64 (log.f64 (fma.f64 1/720 (pow.f64 x 4) (*.f64 -1/24 (*.f64 x x))))) 2)) (cbrt.f64 (log.f64 (fma.f64 1/720 (pow.f64 x 4) (*.f64 -1/24 (*.f64 x x))))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 (sqrt.f64 (log.f64 (fma.f64 1/720 (pow.f64 x 4) (*.f64 -1/24 (*.f64 x x)))))) (sqrt.f64 (log.f64 (fma.f64 1/720 (pow.f64 x 4) (*.f64 -1/24 (*.f64 x x))))))))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (fma.f64 1/720 (pow.f64 x 4) (*.f64 -1/24 (*.f64 x x))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (fma.f64 1/720 (pow.f64 x 4) (*.f64 -1/24 (*.f64 x x)))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (fma.f64 1/720 (pow.f64 x 4) (*.f64 -1/24 (*.f64 x x))))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (+.f64 1 (expm1.f64 (*.f64 -1/24 (*.f64 x x)))) (pow.f64 (exp.f64 1/720) (pow.f64 x 4))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (pow.f64 (exp.f64 x) (*.f64 x -1/24)) (+.f64 1 (expm1.f64 (*.f64 1/720 (pow.f64 x 4))))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (+.f64 1 (expm1.f64 (*.f64 -1/24 (*.f64 x x)))) (+.f64 1 (expm1.f64 (*.f64 1/720 (pow.f64 x 4))))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (+.f64 1 (expm1.f64 (*.f64 1/720 (pow.f64 x 4)))) (pow.f64 (exp.f64 x) (*.f64 x -1/24))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (pow.f64 (exp.f64 1/720) (pow.f64 x 4)) (+.f64 1 (expm1.f64 (*.f64 -1/24 (*.f64 x x))))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (+.f64 1 (expm1.f64 (*.f64 1/720 (pow.f64 x 4)))) (+.f64 1 (expm1.f64 (*.f64 -1/24 (*.f64 x x))))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (fma.f64 1/720 (pow.f64 x 4) (*.f64 -1/24 (*.f64 x x))) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (fma.f64 1/720 (pow.f64 x 4) (*.f64 -1/24 (*.f64 x x)))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (fma.f64 1/720 (pow.f64 x 4) (*.f64 -1/24 (*.f64 x x)))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (fma.f64 1/720 (pow.f64 x 4) (*.f64 -1/24 (*.f64 x x)))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (fma.f64 1/720 (pow.f64 x 4) (*.f64 -1/24 (*.f64 x x)))) 1))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 3 (log.f64 (fma.f64 1/720 (pow.f64 x 4) (*.f64 -1/24 (*.f64 x x))))) 1/3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (cbrt.f64 (fma.f64 1/720 (pow.f64 x 4) (*.f64 -1/24 (*.f64 x x))))) 3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (sqrt.f64 (fma.f64 1/720 (pow.f64 x 4) (*.f64 -1/24 (*.f64 x x))))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 (log.f64 (fma.f64 1/720 (pow.f64 x 4) (*.f64 -1/24 (*.f64 x x)))) 1) 1))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 -1/24 (*.f64 x x) (*.f64 1/720 (pow.f64 x 4)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 x (*.f64 x -1/24) (*.f64 1/720 (pow.f64 x 4)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 x x) -1/24 (*.f64 1/720 (pow.f64 x 4)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 x x) (*.f64 (*.f64 x x) 1/720) (*.f64 -1/24 (*.f64 x x)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 -1/24 (*.f64 x x)) 1 (*.f64 1/720 (pow.f64 x 4)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1/720 (pow.f64 x 4) (*.f64 -1/24 (*.f64 x x)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 x 4) 1/720 (*.f64 -1/24 (*.f64 x x)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 1/720 (pow.f64 x 4)) 1 (*.f64 -1/24 (*.f64 x x)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (*.f64 -1/24 (*.f64 x x)) (*.f64 1/720 (pow.f64 x 4)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (*.f64 1/720 (pow.f64 x 4)) (*.f64 -1/24 (*.f64 x x)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 (cbrt.f64 x) x) (*.f64 (pow.f64 (cbrt.f64 x) 2) -1/24) (*.f64 1/720 (pow.f64 x 4)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 x) 8) (*.f64 (*.f64 (cbrt.f64 x) x) 1/720) (*.f64 -1/24 (*.f64 x x)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (*.f64 -1/24 (*.f64 x x))) (cbrt.f64 (*.f64 (pow.f64 x 4) 1/576)) (*.f64 1/720 (pow.f64 x 4)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (*.f64 (pow.f64 x 4) 1/576)) (cbrt.f64 (*.f64 -1/24 (*.f64 x x))) (*.f64 1/720 (pow.f64 x 4)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (*.f64 1/720 (pow.f64 x 4))) (cbrt.f64 (*.f64 (pow.f64 x 8) 1/518400)) (*.f64 -1/24 (*.f64 x x)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (*.f64 (pow.f64 x 8) 1/518400)) (cbrt.f64 (*.f64 1/720 (pow.f64 x 4))) (*.f64 -1/24 (*.f64 x x)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 x (sqrt.f64 -1/24)) (*.f64 x (sqrt.f64 -1/24)) (*.f64 1/720 (pow.f64 x 4)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 (*.f64 x x) (sqrt.f64 1/720)) (*.f64 (*.f64 x x) (sqrt.f64 1/720)) (*.f64 -1/24 (*.f64 x x)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 -1/24 x) x (*.f64 1/720 (pow.f64 x 4)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 -1/24 (*.f64 (cbrt.f64 x) x)) (pow.f64 (cbrt.f64 x) 2) (*.f64 1/720 (pow.f64 x 4)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 1/720 (*.f64 x x)) (*.f64 x x) (*.f64 -1/24 (*.f64 x x)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 1/720 (pow.f64 (cbrt.f64 x) 8)) (*.f64 (cbrt.f64 x) x) (*.f64 -1/24 (*.f64 x x))))))) |
((#(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 (pow.f64 (cbrt.f64 (pow.f64 (exp.f64 x) (*.f64 x -1/24))) 2)) (log.f64 (cbrt.f64 (pow.f64 (exp.f64 x) (*.f64 x -1/24)))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (sqrt.f64 (pow.f64 (exp.f64 x) (*.f64 x -1/24)))) (log.f64 (sqrt.f64 (pow.f64 (exp.f64 x) (*.f64 x -1/24)))))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (*.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 (*.f64 (pow.f64 x 4) 1/576) 1/2)))) (#(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 pow.f64 (*.f64 (pow.f64 x 6) -1/13824) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 1) (log.f64 (*.f64 -1/24 (*.f64 x x))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 (pow.f64 (cbrt.f64 (log.f64 (*.f64 -1/24 (*.f64 x x)))) 2)) (cbrt.f64 (log.f64 (*.f64 -1/24 (*.f64 x x)))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 (sqrt.f64 (log.f64 (*.f64 -1/24 (*.f64 x x))))) (sqrt.f64 (log.f64 (*.f64 -1/24 (*.f64 x x)))))))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (*.f64 (pow.f64 x 4) 1/576))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (pow.f64 (exp.f64 x) (*.f64 x -1/24)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (*.f64 -1/24 (*.f64 x x)))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (*.f64 (pow.f64 x 6) -1/13824))))) (#(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))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (*.f64 -1/24 (*.f64 x x))) 1))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (cbrt.f64 (*.f64 -1/24 (*.f64 x x)))) 3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (*.f64 x (sqrt.f64 -1/24))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (*.f64 (pow.f64 x 6) -1/13824)) 1/3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 (log.f64 (*.f64 -1/24 (*.f64 x x))) 1) 1))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 (log.f64 (*.f64 -1/24 (*.f64 x x))) 3) 1/3)))))) |
((#(struct:change #<rule egg-rr> (2) ((x +.f64 0 (*.f64 1/720 (pow.f64 x 4)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (pow.f64 (cbrt.f64 (pow.f64 (exp.f64 1/720) (pow.f64 x 4))) 2)) (log.f64 (cbrt.f64 (pow.f64 (exp.f64 1/720) (pow.f64 x 4)))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (sqrt.f64 (pow.f64 (exp.f64 1/720) (pow.f64 x 4)))) (log.f64 (sqrt.f64 (pow.f64 (exp.f64 1/720) (pow.f64 x 4)))))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (*.f64 1/720 (pow.f64 x 4)))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 1/720 (pow.f64 x 4)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 (pow.f64 x 8) 1/518400) 1/2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (*.f64 1/720 (pow.f64 x 4))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 (*.f64 x x) (sqrt.f64 1/720)) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 (pow.f64 x 12) 1/373248000) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 1) (log.f64 (*.f64 1/720 (pow.f64 x 4))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 (pow.f64 (cbrt.f64 (log.f64 (*.f64 1/720 (pow.f64 x 4)))) 2)) (cbrt.f64 (log.f64 (*.f64 1/720 (pow.f64 x 4)))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 (sqrt.f64 (log.f64 (*.f64 1/720 (pow.f64 x 4))))) (sqrt.f64 (log.f64 (*.f64 1/720 (pow.f64 x 4)))))))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (*.f64 (pow.f64 x 8) 1/518400))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (pow.f64 (exp.f64 1/720) (pow.f64 x 4)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (*.f64 1/720 (pow.f64 x 4)))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (*.f64 (pow.f64 x 12) 1/373248000))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 1/720 (pow.f64 x 4))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 1/720 (pow.f64 x 4))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (*.f64 1/720 (pow.f64 x 4))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (*.f64 1/720 (pow.f64 x 4))) 1))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (cbrt.f64 (*.f64 1/720 (pow.f64 x 4)))) 3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (*.f64 (*.f64 x x) (sqrt.f64 1/720))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (*.f64 (pow.f64 x 12) 1/373248000)) 1/3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 (log.f64 (*.f64 1/720 (pow.f64 x 4))) 1) 1))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 (log.f64 (*.f64 1/720 (pow.f64 x 4))) 3) 1/3)))))) |
| 1× | egg-herbie |
| 1319× | sqr-pow_binary64 |
| 659× | pow-sqr_binary64 |
| 493× | cube-prod_binary64 |
| 406× | fabs-mul_binary64 |
| 386× | associate-*l*_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 10 | 21 |
| 1 | 19 | 21 |
| 2 | 39 | 21 |
| 3 | 90 | 21 |
| 4 | 294 | 21 |
| 5 | 1173 | 21 |
| 6 | 1917 | 21 |
| 7 | 2041 | 21 |
| 8 | 2210 | 21 |
| 9 | 2409 | 21 |
| 10 | 2680 | 21 |
| 11 | 3037 | 21 |
| 12 | 3491 | 21 |
| 13 | 4022 | 21 |
| 14 | 4652 | 21 |
| 15 | 5403 | 21 |
| 16 | 5713 | 21 |
| 17 | 5939 | 21 |
| 18 | 6137 | 21 |
| 19 | 6195 | 21 |
| 20 | 6217 | 21 |
| 21 | 7051 | 21 |
| 22 | 7964 | 21 |
| 1× | node limit |
| Inputs |
|---|
(*.f64 -1/24 (pow.f64 x 2)) |
(*.f64 1/720 (pow.f64 x 4)) |
(*.f64 1/720 (pow.f64 x 4)) |
| Outputs |
|---|
(*.f64 -1/24 (pow.f64 x 2)) |
(*.f64 -1/24 (*.f64 x x)) |
(*.f64 1/720 (pow.f64 x 4)) |
(*.f64 1/720 (pow.f64 x 4)) |
Found 2 expressions with local error:
| New | Error | Program |
|---|---|---|
| ✓ | 0.1b | (*.f64 (cos.f64 x) (pow.f64 x -2)) |
| ✓ | 19.2b | (-.f64 (pow.f64 x -2) (*.f64 (cos.f64 x) (pow.f64 x -2))) |
Compiled 24 to 14 computations (41.7% saved)
6 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 2.0ms | x | @ | -inf | (-.f64 (pow.f64 x -2) (*.f64 (cos.f64 x) (pow.f64 x -2))) |
| 1.0ms | x | @ | inf | (-.f64 (pow.f64 x -2) (*.f64 (cos.f64 x) (pow.f64 x -2))) |
| 1.0ms | x | @ | 0 | (-.f64 (pow.f64 x -2) (*.f64 (cos.f64 x) (pow.f64 x -2))) |
| 0.0ms | x | @ | 0 | (*.f64 (cos.f64 x) (pow.f64 x -2)) |
| 0.0ms | x | @ | -inf | (*.f64 (cos.f64 x) (pow.f64 x -2)) |
| 1× | batch-egg-rewrite |
| 837× | pow1_binary64 |
| 783× | add-log-exp_binary64 |
| 782× | log1p-expm1-u_binary64 |
| 782× | expm1-log1p-u_binary64 |
| 766× | add-exp-log_binary64 |
Useful iterations: 1 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 7 | 24 |
| 1 | 160 | 21 |
| 2 | 2162 | 21 |
| 1× | node limit |
| Inputs |
|---|
(-.f64 (pow.f64 x -2) (*.f64 (cos.f64 x) (pow.f64 x -2))) |
(*.f64 (cos.f64 x) (pow.f64 x -2)) |
| Outputs |
|---|
((#(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 (pow.f64 x -2) (*.f64 (*.f64 (pow.f64 x -2) (neg.f64 (cos.f64 x))) 1))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 (pow.f64 x -2) (-.f64 1 (cos.f64 x))) (fma.f64 (neg.f64 (cos.f64 x)) (pow.f64 x -2) (*.f64 (pow.f64 x -2) (cos.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 (pow.f64 x -2) (-.f64 1 (cos.f64 x))) (fma.f64 (neg.f64 (pow.f64 x -2)) (cos.f64 x) (*.f64 (pow.f64 x -2) (cos.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 (pow.f64 x -2) (-.f64 1 (cos.f64 x))) (fma.f64 (*.f64 (pow.f64 x -2) (neg.f64 (cos.f64 x))) 1 (*.f64 (pow.f64 x -2) (cos.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 (pow.f64 x -2) (-.f64 1 (cos.f64 x))) (fma.f64 (neg.f64 (cbrt.f64 (*.f64 (pow.f64 x -2) (cos.f64 x)))) (cbrt.f64 (*.f64 (pow.f64 (cos.f64 x) 2) (pow.f64 x -4))) (*.f64 (pow.f64 x -2) (cos.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 (pow.f64 x -2) (-.f64 1 (cos.f64 x))) (fma.f64 (neg.f64 (*.f64 (sqrt.f64 (cos.f64 x)) (/.f64 1 x))) (*.f64 (sqrt.f64 (cos.f64 x)) (/.f64 1 x)) (*.f64 (pow.f64 x -2) (cos.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 (pow.f64 x -2) (neg.f64 (cos.f64 x))) (pow.f64 x -2))))) (#(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 (pow.f64 x -2) (+.f64 1 (neg.f64 (cos.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (pow.f64 x -2) (-.f64 1 (cos.f64 x))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (*.f64 (pow.f64 x -2) (-.f64 1 (cos.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (*.f64 (pow.f64 x -2) (-.f64 1 (cos.f64 x)))) (pow.f64 (cbrt.f64 (*.f64 (pow.f64 x -2) (-.f64 1 (cos.f64 x)))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (*.f64 (pow.f64 x -2) (-.f64 1 (cos.f64 x)))) 2) (cbrt.f64 (*.f64 (pow.f64 x -2) (-.f64 1 (cos.f64 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (*.f64 (pow.f64 x -2) (-.f64 1 (cos.f64 x)))) (sqrt.f64 (*.f64 (pow.f64 x -2) (-.f64 1 (cos.f64 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (-.f64 (pow.f64 x -6) (*.f64 (pow.f64 (cos.f64 x) 3) (pow.f64 x -6))) (/.f64 1 (+.f64 (pow.f64 x -4) (+.f64 (*.f64 (pow.f64 (cos.f64 x) 2) (pow.f64 x -4)) (*.f64 (pow.f64 x -4) (cos.f64 x))))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (-.f64 (pow.f64 x -4) (*.f64 (pow.f64 (cos.f64 x) 2) (pow.f64 x -4))) (/.f64 1 (*.f64 (pow.f64 x -2) (+.f64 1 (cos.f64 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 (/.f64 1 x) (*.f64 (sqrt.f64 (cos.f64 x)) (/.f64 1 x))) (-.f64 (/.f64 1 x) (*.f64 (sqrt.f64 (cos.f64 x)) (/.f64 1 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 (neg.f64 (cos.f64 x)) 1) (pow.f64 x -2))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (+.f64 (pow.f64 x -4) (+.f64 (*.f64 (pow.f64 (cos.f64 x) 2) (pow.f64 x -4)) (*.f64 (pow.f64 x -4) (cos.f64 x)))) (-.f64 (pow.f64 x -6) (*.f64 (pow.f64 (cos.f64 x) 3) (pow.f64 x -6)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (*.f64 (pow.f64 x -2) (+.f64 1 (cos.f64 x))) (-.f64 (pow.f64 x -4) (*.f64 (pow.f64 (cos.f64 x) 2) (pow.f64 x -4)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (pow.f64 x -6) (*.f64 (pow.f64 (cos.f64 x) 3) (pow.f64 x -6))) (+.f64 (pow.f64 x -4) (+.f64 (*.f64 (pow.f64 (cos.f64 x) 2) (pow.f64 x -4)) (*.f64 (pow.f64 x -4) (cos.f64 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (pow.f64 x -4) (*.f64 (pow.f64 (cos.f64 x) 2) (pow.f64 x -4))) (*.f64 (pow.f64 x -2) (+.f64 1 (cos.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (-.f64 (pow.f64 x -6) (*.f64 (pow.f64 (cos.f64 x) 3) (pow.f64 x -6)))) (neg.f64 (+.f64 (pow.f64 x -4) (+.f64 (*.f64 (pow.f64 (cos.f64 x) 2) (pow.f64 x -4)) (*.f64 (pow.f64 x -4) (cos.f64 x))))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (-.f64 (pow.f64 x -4) (*.f64 (pow.f64 (cos.f64 x) 2) (pow.f64 x -4)))) (neg.f64 (*.f64 (pow.f64 x -2) (+.f64 1 (cos.f64 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 x -6) (pow.f64 (*.f64 (pow.f64 x -2) (neg.f64 (cos.f64 x))) 3)) (+.f64 (pow.f64 x -4) (-.f64 (*.f64 (*.f64 (pow.f64 x -2) (neg.f64 (cos.f64 x))) (*.f64 (pow.f64 x -2) (neg.f64 (cos.f64 x)))) (*.f64 (pow.f64 x -2) (*.f64 (pow.f64 x -2) (neg.f64 (cos.f64 x)))))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (pow.f64 x -4) (*.f64 (*.f64 (pow.f64 x -2) (neg.f64 (cos.f64 x))) (*.f64 (pow.f64 x -2) (neg.f64 (cos.f64 x))))) (-.f64 (pow.f64 x -2) (*.f64 (pow.f64 x -2) (neg.f64 (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 (sqrt.f64 (*.f64 (pow.f64 x -2) (-.f64 1 (cos.f64 x)))) 2)))) (#(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 (exp.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 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 fma.f64 1 (pow.f64 x -2) (*.f64 (pow.f64 x -2) (neg.f64 (cos.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (pow.f64 x -4)) (cbrt.f64 (pow.f64 x -2)) (*.f64 (pow.f64 x -2) (neg.f64 (cos.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (/.f64 1 x) (/.f64 1 x) (*.f64 (pow.f64 x -2) (neg.f64 (cos.f64 x)))))))) |
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (*.f64 (pow.f64 x -2) (cos.f64 x))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 (pow.f64 x -2) (cos.f64 x)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (*.f64 (pow.f64 x -2) (cos.f64 x))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 (sqrt.f64 (cos.f64 x)) (/.f64 1 x)) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 (pow.f64 (cos.f64 x) 3) (pow.f64 x -6)) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (*.f64 (pow.f64 (cos.f64 x) 2) (pow.f64 x -4)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (pow.f64 (exp.f64 (pow.f64 x -2)) (cos.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (*.f64 (pow.f64 (cos.f64 x) 3) (pow.f64 x -6)))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 (pow.f64 x -2) (cos.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 (pow.f64 x -2) (cos.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (*.f64 (pow.f64 x -2) (cos.f64 x)))))))) |
| 1× | egg-herbie |
| 568× | associate-/r*_binary64 |
| 374× | associate-/l/_binary64 |
| 345× | distribute-lft-out_binary64 |
| 341× | distribute-rgt-neg-in_binary64 |
| 327× | fma-neg_binary64 |
Useful iterations: 3 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 36 | 278 |
| 1 | 82 | 276 |
| 2 | 191 | 274 |
| 3 | 536 | 272 |
| 4 | 1830 | 272 |
| 5 | 4141 | 272 |
| 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 (pow.f64 x 2)) |
(-.f64 (/.f64 1 (pow.f64 x 2)) 1/2) |
(-.f64 (+.f64 (*.f64 1/24 (pow.f64 x 2)) (/.f64 1 (pow.f64 x 2))) 1/2) |
(-.f64 (+.f64 (*.f64 -1/720 (pow.f64 x 4)) (+.f64 (*.f64 1/24 (pow.f64 x 2)) (/.f64 1 (pow.f64 x 2)))) 1/2) |
(/.f64 (cos.f64 x) (pow.f64 x 2)) |
(/.f64 (cos.f64 x) (pow.f64 x 2)) |
(/.f64 (cos.f64 x) (pow.f64 x 2)) |
(/.f64 (cos.f64 x) (pow.f64 x 2)) |
(/.f64 (cos.f64 x) (pow.f64 x 2)) |
(/.f64 (cos.f64 x) (pow.f64 x 2)) |
(/.f64 (cos.f64 x) (pow.f64 x 2)) |
(/.f64 (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/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)) |
(+.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 -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 (pow.f64 x 2)) |
(/.f64 1 (*.f64 x x)) |
(-.f64 (/.f64 1 (pow.f64 x 2)) 1/2) |
(+.f64 (/.f64 1 (*.f64 x x)) -1/2) |
(-.f64 (+.f64 (*.f64 1/24 (pow.f64 x 2)) (/.f64 1 (pow.f64 x 2))) 1/2) |
(+.f64 (fma.f64 1/24 (*.f64 x x) (/.f64 1 (*.f64 x x))) -1/2) |
(+.f64 (fma.f64 (*.f64 x x) 1/24 (/.f64 1 (*.f64 x x))) -1/2) |
(+.f64 (/.f64 1 (*.f64 x x)) (fma.f64 x (*.f64 x 1/24) -1/2)) |
(+.f64 (/.f64 1 (*.f64 x x)) (fma.f64 (*.f64 x x) 1/24 -1/2)) |
(-.f64 (+.f64 (*.f64 -1/720 (pow.f64 x 4)) (+.f64 (*.f64 1/24 (pow.f64 x 2)) (/.f64 1 (pow.f64 x 2)))) 1/2) |
(+.f64 (fma.f64 -1/720 (pow.f64 x 4) (fma.f64 1/24 (*.f64 x x) (/.f64 1 (*.f64 x x)))) -1/2) |
(+.f64 (fma.f64 (pow.f64 x 4) -1/720 (fma.f64 (*.f64 x x) 1/24 (/.f64 1 (*.f64 x x)))) -1/2) |
(+.f64 (fma.f64 x (*.f64 x 1/24) (/.f64 1 (*.f64 x x))) (fma.f64 (pow.f64 x 4) -1/720 -1/2)) |
(+.f64 (/.f64 1 (*.f64 x x)) (fma.f64 x (*.f64 x 1/24) (fma.f64 (pow.f64 x 4) -1/720 -1/2))) |
(-.f64 (fma.f64 x (*.f64 x 1/24) (fma.f64 (pow.f64 x 4) -1/720 -1/2)) (/.f64 -1 (*.f64 x x))) |
(/.f64 (cos.f64 x) (pow.f64 x 2)) |
(/.f64 (cos.f64 x) (*.f64 x x)) |
(/.f64 (cos.f64 x) (pow.f64 x 2)) |
(/.f64 (cos.f64 x) (*.f64 x x)) |
(/.f64 (cos.f64 x) (pow.f64 x 2)) |
(/.f64 (cos.f64 x) (*.f64 x x)) |
(/.f64 (cos.f64 x) (pow.f64 x 2)) |
(/.f64 (cos.f64 x) (*.f64 x x)) |
(/.f64 (cos.f64 x) (pow.f64 x 2)) |
(/.f64 (cos.f64 x) (*.f64 x x)) |
(/.f64 (cos.f64 x) (pow.f64 x 2)) |
(/.f64 (cos.f64 x) (*.f64 x x)) |
(/.f64 (cos.f64 x) (pow.f64 x 2)) |
(/.f64 (cos.f64 x) (*.f64 x x)) |
(/.f64 (cos.f64 x) (pow.f64 x 2)) |
(/.f64 (cos.f64 x) (*.f64 x x)) |
Compiled 10577 to 6429 computations (39.2% saved)
16 alts after pruning (15 fresh and 1 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 607 | 12 | 619 |
| Fresh | 6 | 3 | 9 |
| Picked | 1 | 0 | 1 |
| Done | 4 | 1 | 5 |
| Total | 618 | 16 | 634 |
| Status | Error | Program |
|---|---|---|
| 34.1b | (*.f64 (neg.f64 (-.f64 1 (cos.f64 x))) (/.f64 1 (*.f64 x (neg.f64 x)))) | |
| 28.4b | 1/2 | |
| 46.0b | (/.f64 (*.f64 x (*.f64 x (+.f64 (*.f64 -1/24 (*.f64 x x)) 1/2))) (*.f64 x x)) | |
| ▶ | 33.5b | (pow.f64 (/.f64 x (/.f64 (-.f64 1 (cos.f64 x)) x)) -1) |
| 33.6b | (-.f64 (pow.f64 x -2) (/.f64 (cos.f64 x) (*.f64 x x))) | |
| 17.9b | (*.f64 (/.f64 (sin.f64 x) (*.f64 x x)) (tan.f64 (/.f64 x 2))) | |
| 29.2b | (/.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)) | |
| 33.2b | (*.f64 (/.f64 (-.f64 1 (cos.f64 x)) x) (/.f64 1 x)) | |
| 34.0b | (/.f64 (exp.f64 (log1p.f64 (neg.f64 (cos.f64 x)))) (*.f64 x x)) | |
| 34.0b | (/.f64 (/.f64 (/.f64 (-.f64 1 (cos.f64 (+.f64 x x))) 2) (+.f64 1 (cos.f64 x))) (*.f64 x x)) | |
| ▶ | 28.9b | (+.f64 1/2 (+.f64 (+.f64 0 (*.f64 -1/24 (*.f64 x x))) (*.f64 1/720 (pow.f64 x 4)))) |
| 33.7b | (*.f64 (pow.f64 x -2) (-.f64 1 (cos.f64 x))) | |
| ▶ | 47.4b | (-.f64 (pow.f64 x -2) (/.f64 1 (*.f64 x x))) |
| ▶ | 29.1b | (+.f64 (*.f64 -1/24 (*.f64 x x)) 1/2) |
| ▶ | 17.2b | (/.f64 (*.f64 (tan.f64 (/.f64 x 2)) (sin.f64 x)) (*.f64 x x)) |
| ✓ | 34.0b | (/.f64 (-.f64 1 (cos.f64 x)) (*.f64 x x)) |
Compiled 369 to 258 computations (30.1% saved)
Found 2 expressions with local error:
| New | Error | Program |
|---|---|---|
| ✓ | 0.2b | (*.f64 (tan.f64 (/.f64 x 2)) (sin.f64 x)) |
| ✓ | 16.6b | (/.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 | |
|---|---|---|---|---|
| 2.0ms | x | @ | inf | (*.f64 (tan.f64 (/.f64 x 2)) (sin.f64 x)) |
| 2.0ms | x | @ | inf | (/.f64 (*.f64 (tan.f64 (/.f64 x 2)) (sin.f64 x)) (*.f64 x x)) |
| 2.0ms | x | @ | -inf | (/.f64 (*.f64 (tan.f64 (/.f64 x 2)) (sin.f64 x)) (*.f64 x x)) |
| 1.0ms | x | @ | 0 | (/.f64 (*.f64 (tan.f64 (/.f64 x 2)) (sin.f64 x)) (*.f64 x x)) |
| 1.0ms | x | @ | -inf | (*.f64 (tan.f64 (/.f64 x 2)) (sin.f64 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)))) |
Found 1 expressions with local error:
| New | Error | Program |
|---|---|---|
| ✓ | 0.4b | (*.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 2 expressions with local error:
| New | Error | Program |
|---|---|---|
| ✓ | 0.4b | (/.f64 1 (*.f64 x x)) |
| ✓ | 17.7b | (-.f64 (pow.f64 x -2) (/.f64 1 (*.f64 x x))) |
Compiled 24 to 13 computations (45.8% saved)
6 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 2.0ms | x | @ | 0 | (-.f64 (pow.f64 x -2) (/.f64 1 (*.f64 x x))) |
| 1.0ms | x | @ | -inf | (-.f64 (pow.f64 x -2) (/.f64 1 (*.f64 x x))) |
| 1.0ms | x | @ | inf | (-.f64 (pow.f64 x -2) (/.f64 1 (*.f64 x x))) |
| 0.0ms | x | @ | -inf | (/.f64 1 (*.f64 x x)) |
| 0.0ms | x | @ | inf | (/.f64 1 (*.f64 x x)) |
| 1× | batch-egg-rewrite |
| 722× | pow1_binary64 |
| 679× | add-log-exp_binary64 |
| 677× | log1p-expm1-u_binary64 |
| 677× | expm1-log1p-u_binary64 |
| 663× | add-exp-log_binary64 |
Useful iterations: 1 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 8 | 20 |
| 1 | 177 | 14 |
| 2 | 2310 | 14 |
| 1× | node limit |
| Inputs |
|---|
(-.f64 (pow.f64 x -2) (/.f64 1 (*.f64 x x))) |
(/.f64 1 (*.f64 x x)) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x +.f64 (pow.f64 x -2) (neg.f64 (pow.f64 x -2)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (pow.f64 x -2) (*.f64 (neg.f64 (pow.f64 x -2)) 1))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (-.f64 (pow.f64 x -2) (pow.f64 x -2)) (fma.f64 (neg.f64 (pow.f64 x -2)) 1 (pow.f64 x -2)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (-.f64 (pow.f64 x -2) (pow.f64 x -2)) (fma.f64 (neg.f64 (cbrt.f64 (pow.f64 x -2))) (cbrt.f64 (pow.f64 x -4)) (pow.f64 x -2)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (-.f64 (pow.f64 x -2) (pow.f64 x -2)) (fma.f64 (neg.f64 (/.f64 1 x)) (/.f64 1 x) (pow.f64 x -2)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (neg.f64 (pow.f64 x -2)) (pow.f64 x -2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (-.f64 (pow.f64 x -2) (pow.f64 x -2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (-.f64 (pow.f64 x -2) (pow.f64 x -2)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (-.f64 (pow.f64 x -2) (pow.f64 x -2))) (pow.f64 (cbrt.f64 (-.f64 (pow.f64 x -2) (pow.f64 x -2))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (-.f64 (pow.f64 x -2) (pow.f64 x -2))) 2) (cbrt.f64 (-.f64 (pow.f64 x -2) (pow.f64 x -2))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (-.f64 (pow.f64 x -2) (pow.f64 x -2))) (sqrt.f64 (-.f64 (pow.f64 x -2) (pow.f64 x -2))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (-.f64 (pow.f64 x -6) (pow.f64 x -6)) (/.f64 1 (+.f64 (pow.f64 x -4) (+.f64 (pow.f64 x -4) (pow.f64 x -4)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (-.f64 (pow.f64 x -4) (pow.f64 x -4)) (/.f64 1 (+.f64 (pow.f64 x -2) (pow.f64 x -2))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 (/.f64 1 x) (/.f64 1 x)) (-.f64 (/.f64 1 x) (/.f64 1 x)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (+.f64 (pow.f64 x -4) (+.f64 (pow.f64 x -4) (pow.f64 x -4))) (-.f64 (pow.f64 x -6) (pow.f64 x -6))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (+.f64 (pow.f64 x -2) (pow.f64 x -2)) (-.f64 (pow.f64 x -4) (pow.f64 x -4))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (pow.f64 x -6) (pow.f64 x -6)) (+.f64 (pow.f64 x -4) (+.f64 (pow.f64 x -4) (pow.f64 x -4))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (pow.f64 x -4) (pow.f64 x -4)) (+.f64 (pow.f64 x -2) (pow.f64 x -2)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (-.f64 (pow.f64 x -6) (pow.f64 x -6))) (neg.f64 (+.f64 (pow.f64 x -4) (+.f64 (pow.f64 x -4) (pow.f64 x -4)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (-.f64 (pow.f64 x -4) (pow.f64 x -4))) (neg.f64 (+.f64 (pow.f64 x -2) (pow.f64 x -2))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 x -6) (pow.f64 (neg.f64 (pow.f64 x -2)) 3)) (+.f64 (pow.f64 x -4) (-.f64 (*.f64 (neg.f64 (pow.f64 x -2)) (neg.f64 (pow.f64 x -2))) (*.f64 (pow.f64 x -2) (neg.f64 (pow.f64 x -2))))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (pow.f64 x -4) (*.f64 (neg.f64 (pow.f64 x -2)) (neg.f64 (pow.f64 x -2)))) (-.f64 (pow.f64 x -2) (neg.f64 (pow.f64 x -2))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (-.f64 (pow.f64 x -2) (pow.f64 x -2)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (-.f64 (pow.f64 x -2) (pow.f64 x -2)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (-.f64 (pow.f64 x -2) (pow.f64 x -2))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (-.f64 (pow.f64 x -2) (pow.f64 x -2))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (-.f64 (pow.f64 x -2) (pow.f64 x -2)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (-.f64 (pow.f64 x -2) (pow.f64 x -2))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (-.f64 (pow.f64 x -2) (pow.f64 x -2)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (-.f64 (pow.f64 x -2) (pow.f64 x -2))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (-.f64 (pow.f64 x -2) (pow.f64 x -2))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (-.f64 (pow.f64 x -2) (pow.f64 x -2))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (pow.f64 x -2) (neg.f64 (pow.f64 x -2)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (pow.f64 x -4)) (cbrt.f64 (pow.f64 x -2)) (neg.f64 (pow.f64 x -2)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (/.f64 1 x) (/.f64 1 x) (neg.f64 (pow.f64 x -2))))))) |
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (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 (pow.f64 x -2) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (pow.f64 x -2)) (cbrt.f64 (pow.f64 x -4)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (pow.f64 x -4)) (cbrt.f64 (pow.f64 x -2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 -1 (neg.f64 (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 (cbrt.f64 (pow.f64 x 4)) -1) (pow.f64 (pow.f64 (cbrt.f64 x) 2) -1))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (pow.f64 (cbrt.f64 x) 2) -2) (pow.f64 (cbrt.f64 x) -2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (sqrt.f64 x) -2) (pow.f64 (sqrt.f64 x) -2))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 x -2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 x x) -1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 x -2) 1)))) (#(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 (pow.f64 x -6) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 1 x) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 x -4))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (pow.f64 x -2)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 x -6))))) (#(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 (*.f64 -2 (log.f64 x))))))) |
| 1× | egg-herbie |
| 1118× | associate-/r*_binary64 |
| 1082× | sqr-pow_binary64 |
| 560× | cube-prod_binary64 |
| 559× | fabs-mul_binary64 |
| 523× | pow-sqr_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 7 | 96 |
| 1 | 12 | 96 |
| 2 | 19 | 96 |
| 3 | 34 | 96 |
| 4 | 74 | 96 |
| 5 | 214 | 96 |
| 6 | 818 | 96 |
| 7 | 2025 | 96 |
| 8 | 2191 | 96 |
| 9 | 2375 | 96 |
| 10 | 2583 | 96 |
| 11 | 2882 | 96 |
| 12 | 3277 | 96 |
| 13 | 3758 | 96 |
| 14 | 4326 | 96 |
| 15 | 5012 | 96 |
| 16 | 5845 | 96 |
| 17 | 6239 | 96 |
| 18 | 6531 | 96 |
| 19 | 6811 | 96 |
| 20 | 6885 | 96 |
| 21 | 6921 | 96 |
| 1× | node limit |
| Inputs |
|---|
0 |
0 |
0 |
0 |
0 |
0 |
0 |
0 |
0 |
0 |
0 |
0 |
(/.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 |
|---|
0 |
0 |
0 |
0 |
0 |
0 |
0 |
0 |
0 |
0 |
0 |
0 |
(/.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 3 expressions with local error:
| New | Error | Program |
|---|---|---|
| 0.1b | (*.f64 1/720 (pow.f64 x 4)) | |
| 0.4b | (*.f64 -1/24 (*.f64 x x)) | |
| ✓ | 12.4b | (+.f64 (+.f64 0 (*.f64 -1/24 (*.f64 x x))) (*.f64 1/720 (pow.f64 x 4))) |
Compiled 58 to 39 computations (32.8% saved)
3 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 1.0ms | x | @ | 0 | (+.f64 (+.f64 0 (*.f64 -1/24 (*.f64 x x))) (*.f64 1/720 (pow.f64 x 4))) |
| 1.0ms | x | @ | inf | (+.f64 (+.f64 0 (*.f64 -1/24 (*.f64 x x))) (*.f64 1/720 (pow.f64 x 4))) |
| 1.0ms | x | @ | -inf | (+.f64 (+.f64 0 (*.f64 -1/24 (*.f64 x x))) (*.f64 1/720 (pow.f64 x 4))) |
| 1× | batch-egg-rewrite |
| 477× | fma-def_binary64 |
| 456× | log-prod_binary64 |
| 344× | exp-prod_binary64 |
| 299× | pow-prod-down_binary64 |
| 262× | pow2_binary64 |
Useful iterations: 1 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 12 | 16 |
| 1 | 271 | 14 |
| 2 | 3132 | 14 |
| 1× | node limit |
| Inputs |
|---|
(+.f64 (+.f64 0 (*.f64 -1/24 (*.f64 x x))) (*.f64 1/720 (pow.f64 x 4))) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (fma.f64 1/720 (pow.f64 x 4) (*.f64 -1/24 (*.f64 x x))))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (/.f64 (*.f64 (pow.f64 x 4) 1/576) (fma.f64 -1/24 (*.f64 x x) (*.f64 -1/720 (pow.f64 x 4)))) (/.f64 (*.f64 1/518400 (pow.f64 x 8)) (fma.f64 -1/24 (*.f64 x x) (*.f64 -1/720 (pow.f64 x 4)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (fma.f64 1/720 (pow.f64 x 4) (*.f64 -1/24 (*.f64 x x))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (fma.f64 1/720 (pow.f64 x 4) (*.f64 -1/24 (*.f64 x x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (fma.f64 1/720 (pow.f64 x 4) (*.f64 -1/24 (*.f64 x x)))) (pow.f64 (cbrt.f64 (fma.f64 1/720 (pow.f64 x 4) (*.f64 -1/24 (*.f64 x x)))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (fma.f64 1/720 (pow.f64 x 4) (*.f64 -1/24 (*.f64 x x)))) 2) (cbrt.f64 (fma.f64 1/720 (pow.f64 x 4) (*.f64 -1/24 (*.f64 x x)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (fma.f64 1/720 (pow.f64 x 4) (*.f64 -1/24 (*.f64 x x)))) (sqrt.f64 (fma.f64 1/720 (pow.f64 x 4) (*.f64 -1/24 (*.f64 x x)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (fma.f64 1/373248000 (pow.f64 x 12) (*.f64 (pow.f64 x 6) -1/13824)) (/.f64 1 (-.f64 (fma.f64 (pow.f64 x 4) 1/576 (*.f64 1/518400 (pow.f64 x 8))) (*.f64 (*.f64 (*.f64 -1/24 (*.f64 x x)) 1/720) (pow.f64 x 4)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (-.f64 (*.f64 (pow.f64 x 4) 1/576) (*.f64 1/518400 (pow.f64 x 8))) (/.f64 1 (fma.f64 -1/24 (*.f64 x x) (*.f64 -1/720 (pow.f64 x 4)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (-.f64 (fma.f64 (pow.f64 x 4) 1/576 (*.f64 1/518400 (pow.f64 x 8))) (*.f64 (*.f64 (*.f64 -1/24 (*.f64 x x)) 1/720) (pow.f64 x 4))) (fma.f64 1/373248000 (pow.f64 x 12) (*.f64 (pow.f64 x 6) -1/13824))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (fma.f64 -1/24 (*.f64 x x) (*.f64 -1/720 (pow.f64 x 4))) (-.f64 (*.f64 (pow.f64 x 4) 1/576) (*.f64 1/518400 (pow.f64 x 8)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (fma.f64 1/373248000 (pow.f64 x 12) (*.f64 (pow.f64 x 6) -1/13824)) (-.f64 (fma.f64 (pow.f64 x 4) 1/576 (*.f64 1/518400 (pow.f64 x 8))) (*.f64 (*.f64 (*.f64 -1/24 (*.f64 x x)) 1/720) (pow.f64 x 4))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (fma.f64 1/373248000 (pow.f64 x 12) (*.f64 (pow.f64 x 6) -1/13824)) (fma.f64 1/518400 (pow.f64 x 8) (-.f64 (*.f64 (pow.f64 x 4) 1/576) (*.f64 (*.f64 (*.f64 -1/24 (*.f64 x x)) 1/720) (pow.f64 x 4)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (*.f64 (pow.f64 x 4) 1/576) (*.f64 1/518400 (pow.f64 x 8))) (fma.f64 -1/24 (*.f64 x x) (*.f64 -1/720 (pow.f64 x 4))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (fma.f64 1/373248000 (pow.f64 x 12) (*.f64 (pow.f64 x 6) -1/13824))) (neg.f64 (-.f64 (fma.f64 (pow.f64 x 4) 1/576 (*.f64 1/518400 (pow.f64 x 8))) (*.f64 (*.f64 (*.f64 -1/24 (*.f64 x x)) 1/720) (pow.f64 x 4)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (-.f64 (*.f64 (pow.f64 x 4) 1/576) (*.f64 1/518400 (pow.f64 x 8)))) (neg.f64 (fma.f64 -1/24 (*.f64 x x) (*.f64 -1/720 (pow.f64 x 4)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 0 (pow.f64 (fma.f64 1/720 (pow.f64 x 4) (*.f64 -1/24 (*.f64 x x))) 3)) (+.f64 0 (-.f64 (pow.f64 (fma.f64 1/720 (pow.f64 x 4) (*.f64 -1/24 (*.f64 x x))) 2) (*.f64 0 (fma.f64 1/720 (pow.f64 x 4) (*.f64 -1/24 (*.f64 x x)))))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 0 (pow.f64 (fma.f64 1/720 (pow.f64 x 4) (*.f64 -1/24 (*.f64 x x))) 2)) (-.f64 0 (fma.f64 1/720 (pow.f64 x 4) (*.f64 -1/24 (*.f64 x x)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (*.f64 1/518400 (pow.f64 x 8)) (*.f64 (pow.f64 x 4) 1/576)) (-.f64 (*.f64 1/720 (pow.f64 x 4)) (*.f64 -1/24 (*.f64 x x))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (fma.f64 1/720 (pow.f64 x 4) (*.f64 -1/24 (*.f64 x x))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (fma.f64 1/720 (pow.f64 x 4) (*.f64 -1/24 (*.f64 x x))) 2) 1/2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (fma.f64 1/720 (pow.f64 x 4) (*.f64 -1/24 (*.f64 x x))) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (fma.f64 1/720 (pow.f64 x 4) (*.f64 -1/24 (*.f64 x x)))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (fma.f64 1/720 (pow.f64 x 4) (*.f64 -1/24 (*.f64 x x)))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 1) (log.f64 (fma.f64 1/720 (pow.f64 x 4) (*.f64 -1/24 (*.f64 x x)))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 (-.f64 (fma.f64 (pow.f64 x 4) 1/576 (*.f64 1/518400 (pow.f64 x 8))) (*.f64 (*.f64 (*.f64 -1/24 (*.f64 x x)) 1/720) (pow.f64 x 4))) (fma.f64 1/373248000 (pow.f64 x 12) (*.f64 (pow.f64 x 6) -1/13824))) -1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 (fma.f64 -1/24 (*.f64 x x) (*.f64 -1/720 (pow.f64 x 4))) (-.f64 (*.f64 (pow.f64 x 4) 1/576) (*.f64 1/518400 (pow.f64 x 8)))) -1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 (pow.f64 (cbrt.f64 (log.f64 (fma.f64 1/720 (pow.f64 x 4) (*.f64 -1/24 (*.f64 x x))))) 2)) (cbrt.f64 (log.f64 (fma.f64 1/720 (pow.f64 x 4) (*.f64 -1/24 (*.f64 x x))))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 (sqrt.f64 (log.f64 (fma.f64 1/720 (pow.f64 x 4) (*.f64 -1/24 (*.f64 x x)))))) (sqrt.f64 (log.f64 (fma.f64 1/720 (pow.f64 x 4) (*.f64 -1/24 (*.f64 x x))))))))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (fma.f64 1/720 (pow.f64 x 4) (*.f64 -1/24 (*.f64 x x))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (fma.f64 1/720 (pow.f64 x 4) (*.f64 -1/24 (*.f64 x x)))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (fma.f64 1/720 (pow.f64 x 4) (*.f64 -1/24 (*.f64 x x))))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (+.f64 1 (expm1.f64 (*.f64 -1/24 (*.f64 x x)))) (pow.f64 (exp.f64 1/720) (pow.f64 x 4))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (pow.f64 (pow.f64 (exp.f64 -1/24) x) x) (+.f64 1 (expm1.f64 (*.f64 1/720 (pow.f64 x 4))))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (+.f64 1 (expm1.f64 (*.f64 -1/24 (*.f64 x x)))) (+.f64 1 (expm1.f64 (*.f64 1/720 (pow.f64 x 4))))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (+.f64 1 (expm1.f64 (*.f64 1/720 (pow.f64 x 4)))) (pow.f64 (pow.f64 (exp.f64 -1/24) x) x)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (pow.f64 (exp.f64 1/720) (pow.f64 x 4)) (+.f64 1 (expm1.f64 (*.f64 -1/24 (*.f64 x x))))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (+.f64 1 (expm1.f64 (*.f64 1/720 (pow.f64 x 4)))) (+.f64 1 (expm1.f64 (*.f64 -1/24 (*.f64 x x))))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (fma.f64 1/720 (pow.f64 x 4) (*.f64 -1/24 (*.f64 x x))) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (fma.f64 1/720 (pow.f64 x 4) (*.f64 -1/24 (*.f64 x x)))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (fma.f64 1/720 (pow.f64 x 4) (*.f64 -1/24 (*.f64 x x)))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (fma.f64 1/720 (pow.f64 x 4) (*.f64 -1/24 (*.f64 x x)))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (fma.f64 1/720 (pow.f64 x 4) (*.f64 -1/24 (*.f64 x x)))) 1))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (pow.f64 (fma.f64 1/720 (pow.f64 x 4) (*.f64 -1/24 (*.f64 x x))) 3)) 1/3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (cbrt.f64 (fma.f64 1/720 (pow.f64 x 4) (*.f64 -1/24 (*.f64 x x))))) 3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (sqrt.f64 (fma.f64 1/720 (pow.f64 x 4) (*.f64 -1/24 (*.f64 x x))))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 (log.f64 (fma.f64 1/720 (pow.f64 x 4) (*.f64 -1/24 (*.f64 x x)))) 1) 1))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 -1/24 (*.f64 x x) (*.f64 1/720 (pow.f64 x 4)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 x (*.f64 -1/24 x) (*.f64 1/720 (pow.f64 x 4)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 x x) -1/24 (*.f64 1/720 (pow.f64 x 4)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 x x) (*.f64 (*.f64 x x) 1/720) (*.f64 -1/24 (*.f64 x x)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 -1/24 (*.f64 x x)) 1 (*.f64 1/720 (pow.f64 x 4)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1/720 (pow.f64 x 4) (*.f64 -1/24 (*.f64 x x)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 x 4) 1/720 (*.f64 -1/24 (*.f64 x x)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 1/720 (pow.f64 x 4)) 1 (*.f64 -1/24 (*.f64 x x)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (fma.f64 1/720 (pow.f64 x 4) (*.f64 -1/24 (*.f64 x x))) 1 0)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (*.f64 -1/24 (*.f64 x x)) (*.f64 1/720 (pow.f64 x 4)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (*.f64 1/720 (pow.f64 x 4)) (*.f64 -1/24 (*.f64 x x)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (fma.f64 1/720 (pow.f64 x 4) (*.f64 -1/24 (*.f64 x x))) 0)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (*.f64 1/720 (pow.f64 x 4))) (cbrt.f64 (*.f64 1/518400 (pow.f64 x 8))) (*.f64 -1/24 (*.f64 x x)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (*.f64 1/518400 (pow.f64 x 8))) (cbrt.f64 (*.f64 1/720 (pow.f64 x 4))) (*.f64 -1/24 (*.f64 x x)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (fma.f64 1/720 (pow.f64 x 4) (*.f64 -1/24 (*.f64 x x)))) (pow.f64 (cbrt.f64 (fma.f64 1/720 (pow.f64 x 4) (*.f64 -1/24 (*.f64 x x)))) 2) 0)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 (fma.f64 1/720 (pow.f64 x 4) (*.f64 -1/24 (*.f64 x x)))) 2) (cbrt.f64 (fma.f64 1/720 (pow.f64 x 4) (*.f64 -1/24 (*.f64 x x)))) 0)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 (cbrt.f64 x) x) (*.f64 (pow.f64 (cbrt.f64 x) 2) -1/24) (*.f64 1/720 (pow.f64 x 4)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 x) 8) (*.f64 (*.f64 (cbrt.f64 x) x) 1/720) (*.f64 -1/24 (*.f64 x x)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (*.f64 -1/24 (*.f64 x x))) (cbrt.f64 (*.f64 (pow.f64 x 4) 1/576)) (*.f64 1/720 (pow.f64 x 4)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (*.f64 (pow.f64 x 4) 1/576)) (cbrt.f64 (*.f64 -1/24 (*.f64 x x))) (*.f64 1/720 (pow.f64 x 4)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 (*.f64 x x) (sqrt.f64 1/720)) (*.f64 (*.f64 x x) (sqrt.f64 1/720)) (*.f64 -1/24 (*.f64 x x)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 (fma.f64 1/720 (pow.f64 x 4) (*.f64 -1/24 (*.f64 x x)))) (sqrt.f64 (fma.f64 1/720 (pow.f64 x 4) (*.f64 -1/24 (*.f64 x x)))) 0)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 x (sqrt.f64 -1/24)) (*.f64 x (sqrt.f64 -1/24)) (*.f64 1/720 (pow.f64 x 4)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 (pow.f64 x 6) -1/13824) (/.f64 1 (*.f64 (pow.f64 x 4) 1/576)) (*.f64 1/720 (pow.f64 x 4)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (fma.f64 1/373248000 (pow.f64 x 12) (*.f64 (pow.f64 x 6) -1/13824)) (/.f64 1 (-.f64 (fma.f64 (pow.f64 x 4) 1/576 (*.f64 1/518400 (pow.f64 x 8))) (*.f64 (*.f64 (*.f64 -1/24 (*.f64 x x)) 1/720) (pow.f64 x 4)))) 0)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (neg.f64 (*.f64 (pow.f64 x 4) 1/576)) (/.f64 1 (neg.f64 (*.f64 -1/24 (*.f64 x x)))) (*.f64 1/720 (pow.f64 x 4)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (-.f64 (*.f64 (pow.f64 x 4) 1/576) (*.f64 1/518400 (pow.f64 x 8))) (/.f64 1 (fma.f64 -1/24 (*.f64 x x) (*.f64 -1/720 (pow.f64 x 4)))) 0)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 -1/24 x) x (*.f64 1/720 (pow.f64 x 4)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 1/720 (*.f64 x x)) (*.f64 x x) (*.f64 -1/24 (*.f64 x x)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 1/720 (pow.f64 (cbrt.f64 x) 8)) (*.f64 (cbrt.f64 x) x) (*.f64 -1/24 (*.f64 x x)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 -1/24 (*.f64 (cbrt.f64 x) x)) (pow.f64 (cbrt.f64 x) 2) (*.f64 1/720 (pow.f64 x 4)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 (*.f64 -1/24 x) 1) x (*.f64 1/720 (pow.f64 x 4)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 (*.f64 -1/24 x) (pow.f64 (cbrt.f64 x) 2)) (cbrt.f64 x) (*.f64 1/720 (pow.f64 x 4)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 (*.f64 -1/24 x) (sqrt.f64 x)) (sqrt.f64 x) (*.f64 1/720 (pow.f64 x 4))))))) |
| 1× | egg-herbie |
| 1057× | sqr-pow_binary64 |
| 538× | fma-def_binary64 |
| 506× | pow-sqr_binary64 |
| 443× | cube-prod_binary64 |
| 425× | associate-*l*_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 11 | 147 |
| 1 | 22 | 147 |
| 2 | 45 | 147 |
| 3 | 114 | 147 |
| 4 | 355 | 147 |
| 5 | 1427 | 147 |
| 6 | 2658 | 147 |
| 7 | 3120 | 147 |
| 8 | 3289 | 147 |
| 9 | 3488 | 147 |
| 10 | 3761 | 147 |
| 11 | 4118 | 147 |
| 12 | 4568 | 147 |
| 13 | 5099 | 147 |
| 14 | 5729 | 147 |
| 15 | 6484 | 147 |
| 16 | 6794 | 147 |
| 17 | 7018 | 147 |
| 18 | 7216 | 147 |
| 19 | 7270 | 147 |
| 20 | 7292 | 147 |
| 1× | node limit |
| Inputs |
|---|
(*.f64 -1/24 (pow.f64 x 2)) |
(+.f64 (*.f64 -1/24 (pow.f64 x 2)) (*.f64 1/720 (pow.f64 x 4))) |
(+.f64 (*.f64 -1/24 (pow.f64 x 2)) (*.f64 1/720 (pow.f64 x 4))) |
(+.f64 (*.f64 -1/24 (pow.f64 x 2)) (*.f64 1/720 (pow.f64 x 4))) |
(*.f64 1/720 (pow.f64 x 4)) |
(+.f64 (*.f64 -1/24 (pow.f64 x 2)) (*.f64 1/720 (pow.f64 x 4))) |
(+.f64 (*.f64 -1/24 (pow.f64 x 2)) (*.f64 1/720 (pow.f64 x 4))) |
(+.f64 (*.f64 -1/24 (pow.f64 x 2)) (*.f64 1/720 (pow.f64 x 4))) |
(*.f64 1/720 (pow.f64 x 4)) |
(+.f64 (*.f64 -1/24 (pow.f64 x 2)) (*.f64 1/720 (pow.f64 x 4))) |
(+.f64 (*.f64 -1/24 (pow.f64 x 2)) (*.f64 1/720 (pow.f64 x 4))) |
(+.f64 (*.f64 -1/24 (pow.f64 x 2)) (*.f64 1/720 (pow.f64 x 4))) |
| Outputs |
|---|
(*.f64 -1/24 (pow.f64 x 2)) |
(*.f64 -1/24 (*.f64 x x)) |
(+.f64 (*.f64 -1/24 (pow.f64 x 2)) (*.f64 1/720 (pow.f64 x 4))) |
(fma.f64 -1/24 (*.f64 x x) (*.f64 1/720 (pow.f64 x 4))) |
(fma.f64 1/720 (pow.f64 x 4) (*.f64 -1/24 (*.f64 x x))) |
(*.f64 x (*.f64 x (fma.f64 (*.f64 x x) 1/720 -1/24))) |
(*.f64 (*.f64 x x) (fma.f64 (*.f64 x x) 1/720 -1/24)) |
(*.f64 x (fma.f64 -1/24 x (*.f64 1/720 (pow.f64 x 3)))) |
(+.f64 (*.f64 -1/24 (pow.f64 x 2)) (*.f64 1/720 (pow.f64 x 4))) |
(fma.f64 -1/24 (*.f64 x x) (*.f64 1/720 (pow.f64 x 4))) |
(fma.f64 1/720 (pow.f64 x 4) (*.f64 -1/24 (*.f64 x x))) |
(*.f64 x (*.f64 x (fma.f64 (*.f64 x x) 1/720 -1/24))) |
(*.f64 (*.f64 x x) (fma.f64 (*.f64 x x) 1/720 -1/24)) |
(*.f64 x (fma.f64 -1/24 x (*.f64 1/720 (pow.f64 x 3)))) |
(+.f64 (*.f64 -1/24 (pow.f64 x 2)) (*.f64 1/720 (pow.f64 x 4))) |
(fma.f64 -1/24 (*.f64 x x) (*.f64 1/720 (pow.f64 x 4))) |
(fma.f64 1/720 (pow.f64 x 4) (*.f64 -1/24 (*.f64 x x))) |
(*.f64 x (*.f64 x (fma.f64 (*.f64 x x) 1/720 -1/24))) |
(*.f64 (*.f64 x x) (fma.f64 (*.f64 x x) 1/720 -1/24)) |
(*.f64 x (fma.f64 -1/24 x (*.f64 1/720 (pow.f64 x 3)))) |
(*.f64 1/720 (pow.f64 x 4)) |
(+.f64 (*.f64 -1/24 (pow.f64 x 2)) (*.f64 1/720 (pow.f64 x 4))) |
(fma.f64 -1/24 (*.f64 x x) (*.f64 1/720 (pow.f64 x 4))) |
(fma.f64 1/720 (pow.f64 x 4) (*.f64 -1/24 (*.f64 x x))) |
(*.f64 x (*.f64 x (fma.f64 (*.f64 x x) 1/720 -1/24))) |
(*.f64 (*.f64 x x) (fma.f64 (*.f64 x x) 1/720 -1/24)) |
(*.f64 x (fma.f64 -1/24 x (*.f64 1/720 (pow.f64 x 3)))) |
(+.f64 (*.f64 -1/24 (pow.f64 x 2)) (*.f64 1/720 (pow.f64 x 4))) |
(fma.f64 -1/24 (*.f64 x x) (*.f64 1/720 (pow.f64 x 4))) |
(fma.f64 1/720 (pow.f64 x 4) (*.f64 -1/24 (*.f64 x x))) |
(*.f64 x (*.f64 x (fma.f64 (*.f64 x x) 1/720 -1/24))) |
(*.f64 (*.f64 x x) (fma.f64 (*.f64 x x) 1/720 -1/24)) |
(*.f64 x (fma.f64 -1/24 x (*.f64 1/720 (pow.f64 x 3)))) |
(+.f64 (*.f64 -1/24 (pow.f64 x 2)) (*.f64 1/720 (pow.f64 x 4))) |
(fma.f64 -1/24 (*.f64 x x) (*.f64 1/720 (pow.f64 x 4))) |
(fma.f64 1/720 (pow.f64 x 4) (*.f64 -1/24 (*.f64 x x))) |
(*.f64 x (*.f64 x (fma.f64 (*.f64 x x) 1/720 -1/24))) |
(*.f64 (*.f64 x x) (fma.f64 (*.f64 x x) 1/720 -1/24)) |
(*.f64 x (fma.f64 -1/24 x (*.f64 1/720 (pow.f64 x 3)))) |
(*.f64 1/720 (pow.f64 x 4)) |
(+.f64 (*.f64 -1/24 (pow.f64 x 2)) (*.f64 1/720 (pow.f64 x 4))) |
(fma.f64 -1/24 (*.f64 x x) (*.f64 1/720 (pow.f64 x 4))) |
(fma.f64 1/720 (pow.f64 x 4) (*.f64 -1/24 (*.f64 x x))) |
(*.f64 x (*.f64 x (fma.f64 (*.f64 x x) 1/720 -1/24))) |
(*.f64 (*.f64 x x) (fma.f64 (*.f64 x x) 1/720 -1/24)) |
(*.f64 x (fma.f64 -1/24 x (*.f64 1/720 (pow.f64 x 3)))) |
(+.f64 (*.f64 -1/24 (pow.f64 x 2)) (*.f64 1/720 (pow.f64 x 4))) |
(fma.f64 -1/24 (*.f64 x x) (*.f64 1/720 (pow.f64 x 4))) |
(fma.f64 1/720 (pow.f64 x 4) (*.f64 -1/24 (*.f64 x x))) |
(*.f64 x (*.f64 x (fma.f64 (*.f64 x x) 1/720 -1/24))) |
(*.f64 (*.f64 x x) (fma.f64 (*.f64 x x) 1/720 -1/24)) |
(*.f64 x (fma.f64 -1/24 x (*.f64 1/720 (pow.f64 x 3)))) |
(+.f64 (*.f64 -1/24 (pow.f64 x 2)) (*.f64 1/720 (pow.f64 x 4))) |
(fma.f64 -1/24 (*.f64 x x) (*.f64 1/720 (pow.f64 x 4))) |
(fma.f64 1/720 (pow.f64 x 4) (*.f64 -1/24 (*.f64 x x))) |
(*.f64 x (*.f64 x (fma.f64 (*.f64 x x) 1/720 -1/24))) |
(*.f64 (*.f64 x x) (fma.f64 (*.f64 x x) 1/720 -1/24)) |
(*.f64 x (fma.f64 -1/24 x (*.f64 1/720 (pow.f64 x 3)))) |
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.4b | (pow.f64 (/.f64 x (/.f64 (-.f64 1 (cos.f64 x)) x)) -1) |
| 2.0b | (-.f64 1 (cos.f64 x)) |
Compiled 34 to 19 computations (44.1% saved)
9 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 2.0ms | x | @ | -inf | (pow.f64 (/.f64 x (/.f64 (-.f64 1 (cos.f64 x)) x)) -1) |
| 2.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 | @ | inf | (/.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)) |
Compiled 10092 to 6483 computations (35.8% saved)
19 alts after pruning (14 fresh and 5 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 557 | 8 | 565 |
| Fresh | 4 | 6 | 10 |
| Picked | 0 | 1 | 1 |
| Done | 1 | 4 | 5 |
| Total | 562 | 19 | 581 |
| Status | Error | Program |
|---|---|---|
| 34.0b | (/.f64 (exp.f64 (log1p.f64 (neg.f64 (cos.f64 x)))) (*.f64 x x)) | |
| ▶ | 33.2b | (/.f64 (/.f64 (-.f64 1 (cos.f64 x)) x) x) |
| ▶ | 34.1b | (*.f64 (neg.f64 (-.f64 1 (cos.f64 x))) (/.f64 1 (*.f64 x (neg.f64 x)))) |
| 28.4b | 1/2 | |
| 46.0b | (/.f64 (*.f64 x (*.f64 x (+.f64 (*.f64 -1/24 (*.f64 x x)) 1/2))) (*.f64 x x)) | |
| ✓ | 33.5b | (pow.f64 (/.f64 x (/.f64 (-.f64 1 (cos.f64 x)) x)) -1) |
| ✓ | 28.9b | (+.f64 1/2 (+.f64 (+.f64 0 (*.f64 -1/24 (*.f64 x x))) (*.f64 1/720 (pow.f64 x 4)))) |
| 33.2b | (*.f64 (/.f64 (-.f64 1 (cos.f64 x)) x) (/.f64 1 x)) | |
| ▶ | 29.1b | (+.f64 (-.f64 (+.f64 1 (*.f64 -1/24 (*.f64 x x))) 1) 1/2) |
| 33.4b | (-.f64 (pow.f64 x -2) (/.f64 (/.f64 (cos.f64 x) x) x)) | |
| 33.6b | (-.f64 (pow.f64 x -2) (/.f64 (cos.f64 x) (*.f64 x x))) | |
| ▶ | 17.9b | (*.f64 (/.f64 (sin.f64 x) (*.f64 x x)) (tan.f64 (/.f64 x 2))) |
| ▶ | 33.5b | (/.f64 1 (*.f64 x (/.f64 x (-.f64 1 (cos.f64 x))))) |
| ✓ | 29.1b | (+.f64 (*.f64 -1/24 (*.f64 x x)) 1/2) |
| ✓ | 17.2b | (/.f64 (*.f64 (tan.f64 (/.f64 x 2)) (sin.f64 x)) (*.f64 x x)) |
| 33.2b | (/.f64 (/.f64 1 x) (/.f64 x (-.f64 1 (cos.f64 x)))) | |
| 46.8b | 0 | |
| ✓ | 34.0b | (/.f64 (-.f64 1 (cos.f64 x)) (*.f64 x x)) |
| 33.5b | (pow.f64 (/.f64 x (-.f64 (/.f64 1 x) (/.f64 (cos.f64 x) x))) -1) |
Compiled 340 to 239 computations (29.7% saved)
Found 2 expressions with local error:
| New | Error | Program |
|---|---|---|
| ✓ | 0.1b | (*.f64 (/.f64 (sin.f64 x) (*.f64 x x)) (tan.f64 (/.f64 x 2))) |
| ✓ | 16.7b | (/.f64 (sin.f64 x) (*.f64 x x)) |
Compiled 32 to 14 computations (56.3% saved)
6 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 1.0ms | x | @ | 0 | (/.f64 (sin.f64 x) (*.f64 x x)) |
| 1.0ms | x | @ | -inf | (*.f64 (/.f64 (sin.f64 x) (*.f64 x x)) (tan.f64 (/.f64 x 2))) |
| 1.0ms | x | @ | inf | (*.f64 (/.f64 (sin.f64 x) (*.f64 x x)) (tan.f64 (/.f64 x 2))) |
| 1.0ms | x | @ | inf | (/.f64 (sin.f64 x) (*.f64 x x)) |
| 1.0ms | x | @ | -inf | (/.f64 (sin.f64 x) (*.f64 x x)) |
| 1× | batch-egg-rewrite |
| 491× | log-prod_binary64 |
| 401× | prod-exp_binary64 |
| 370× | exp-prod_binary64 |
| 318× | pow-prod-down_binary64 |
| 255× | pow2_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 9 | 26 |
| 1 | 198 | 26 |
| 2 | 2639 | 26 |
| 1× | node limit |
| Inputs |
|---|
(/.f64 (sin.f64 x) (*.f64 x x)) |
(*.f64 (/.f64 (sin.f64 x) (*.f64 x x)) (tan.f64 (/.f64 x 2))) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x +.f64 0 (*.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 (pow.f64 x -2)) (sin.f64 x))) 2)) (log.f64 (cbrt.f64 (pow.f64 (exp.f64 (pow.f64 x -2)) (sin.f64 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (sqrt.f64 (pow.f64 (exp.f64 (pow.f64 x -2)) (sin.f64 x)))) (log.f64 (sqrt.f64 (pow.f64 (exp.f64 (pow.f64 x -2)) (sin.f64 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (*.f64 (sin.f64 x) (pow.f64 x -2)))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sin.f64 x) (pow.f64 x -2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (sin.f64 x) (pow.f64 x -2)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (*.f64 (sin.f64 x) (pow.f64 x -2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (*.f64 (sin.f64 x) (pow.f64 x -2))) (cbrt.f64 (pow.f64 (/.f64 (sqrt.f64 (sin.f64 x)) x) 4)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (pow.f64 (/.f64 (sqrt.f64 (sin.f64 x)) x) 4)) (cbrt.f64 (*.f64 (sin.f64 x) (pow.f64 x -2))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (pow.f64 (sin.f64 x) 2)) (*.f64 (cbrt.f64 (sin.f64 x)) (pow.f64 x -2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (sqrt.f64 (sin.f64 x)) x) (/.f64 (sqrt.f64 (sin.f64 x)) x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (sin.f64 x)) (*.f64 (sqrt.f64 (sin.f64 x)) (pow.f64 x -2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (neg.f64 (sin.f64 x)) (/.f64 1 (*.f64 x (neg.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 x -2) (sin.f64 x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (sin.f64 x) x) (/.f64 1 x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 1 x) (/.f64 (sin.f64 x) x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (cbrt.f64 (pow.f64 (sin.f64 x) 2)) x) (/.f64 (cbrt.f64 (sin.f64 x)) x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (cbrt.f64 (pow.f64 (sin.f64 x) 2)) 1) (/.f64 (cbrt.f64 (sin.f64 x)) (*.f64 x x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (sqrt.f64 (sin.f64 x)) 1) (/.f64 (sqrt.f64 (sin.f64 x)) (*.f64 x x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 1 (*.f64 (cbrt.f64 x) x)) (/.f64 (sin.f64 x) (pow.f64 (cbrt.f64 x) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (cbrt.f64 (pow.f64 (sin.f64 x) 2)) (*.f64 (cbrt.f64 x) x)) (cbrt.f64 (*.f64 (sin.f64 x) (pow.f64 x -2))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (sqrt.f64 (sin.f64 x)) (*.f64 (cbrt.f64 x) x)) (/.f64 (sqrt.f64 (sin.f64 x)) (pow.f64 (cbrt.f64 x) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 (sin.f64 x) (pow.f64 x -2)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (/.f64 (sqrt.f64 (sin.f64 x)) x) 4) 1/2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (/.f64 (sqrt.f64 (sin.f64 x)) x) 6) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (*.f64 (sin.f64 x) (pow.f64 x -2))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 (sqrt.f64 (sin.f64 x)) x) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 (*.f64 x x) (sin.f64 x)) -1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 1) (log.f64 (*.f64 (sin.f64 x) (pow.f64 x -2))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 (pow.f64 (sin.f64 x) 3) (pow.f64 x 6)) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 (/.f64 (*.f64 x x) (sin.f64 x)) 1) -1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 (pow.f64 (cbrt.f64 (log.f64 (*.f64 (sin.f64 x) (pow.f64 x -2)))) 2)) (cbrt.f64 (log.f64 (*.f64 (sin.f64 x) (pow.f64 x -2)))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 (sqrt.f64 (log.f64 (*.f64 (sin.f64 x) (pow.f64 x -2))))) (sqrt.f64 (log.f64 (*.f64 (sin.f64 x) (pow.f64 x -2)))))))) (#(struct:change #<rule egg-rr> (2) ((x neg.f64 (/.f64 (sin.f64 x) (*.f64 x (neg.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (/.f64 (sqrt.f64 (sin.f64 x)) x) 4))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (pow.f64 (exp.f64 (pow.f64 x -2)) (sin.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (*.f64 (sin.f64 x) (pow.f64 x -2)))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (/.f64 (sqrt.f64 (sin.f64 x)) x) 6))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (/.f64 (pow.f64 (sin.f64 x) 3) (pow.f64 x 6)))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 (sin.f64 x) (pow.f64 x -2))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 (sin.f64 x) (pow.f64 x -2))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (*.f64 (sin.f64 x) (pow.f64 x -2))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (*.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 (sin.f64 x)) x) 6)) 1/3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (cbrt.f64 (*.f64 (sin.f64 x) (pow.f64 x -2)))) 3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (/.f64 (sqrt.f64 (sin.f64 x)) x)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (/.f64 (*.f64 x x) (sin.f64 x))) -1))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 (log.f64 (*.f64 (sin.f64 x) (pow.f64 x -2))) 1) 1))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (-.f64 (*.f64 (log.f64 (sin.f64 x)) 1) (*.f64 2 (log.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (-.f64 (log.f64 (sin.f64 x)) (*.f64 (log.f64 x) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (-.f64 (*.f64 (log.f64 (sin.f64 x)) 1) (*.f64 (log.f64 x) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (-.f64 (log.f64 (sin.f64 x)) (*.f64 (*.f64 2 (log.f64 x)) 1)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (-.f64 (*.f64 (log.f64 (sin.f64 x)) 1) (*.f64 (*.f64 2 (log.f64 x)) 1)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (-.f64 (log.f64 (/.f64 (sin.f64 x) x)) (*.f64 (log.f64 x) 1)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (+.f64 (*.f64 (log.f64 (sin.f64 x)) 1) (*.f64 -2 (log.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (+.f64 (*.f64 -2 (log.f64 x)) (*.f64 (log.f64 (sin.f64 x)) 1))))))) |
((#(struct:change #<rule egg-rr> (2) ((x +.f64 0 (*.f64 (*.f64 (sin.f64 x) (pow.f64 x -2)) (tan.f64 (*.f64 x 1/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 (*.f64 (sin.f64 x) (pow.f64 x -2)) (tan.f64 (*.f64 x 1/2))))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (sin.f64 x) (/.f64 (*.f64 x x) (tan.f64 (*.f64 x 1/2))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (tan.f64 (*.f64 x 1/2)) (/.f64 (*.f64 x x) (sin.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (*.f64 x x) (*.f64 (sin.f64 x) (tan.f64 (*.f64 x 1/2)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (sin.f64 (*.f64 x 1/2)) (*.f64 (/.f64 (*.f64 x x) (sin.f64 x)) (cos.f64 (*.f64 x 1/2))))))) (#(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 (neg.f64 (*.f64 (sin.f64 x) (tan.f64 (*.f64 x 1/2)))) (*.f64 x (neg.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (sin.f64 x) (sin.f64 (*.f64 x 1/2))) (*.f64 (*.f64 x x) (cos.f64 (*.f64 x 1/2))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (neg.f64 (sin.f64 x)) (sin.f64 (*.f64 x 1/2))) (*.f64 (*.f64 x (neg.f64 x)) (cos.f64 (*.f64 x 1/2))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (/.f64 (sin.f64 x) x) (sin.f64 (*.f64 x 1/2))) (*.f64 x (cos.f64 (*.f64 x 1/2))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (sin.f64 (*.f64 x 1/2)) (sin.f64 x)) (*.f64 (cos.f64 (*.f64 x 1/2)) (*.f64 x x)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (sin.f64 (*.f64 x 1/2)) 1) (*.f64 (cos.f64 (*.f64 x 1/2)) (/.f64 (*.f64 x x) (sin.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (sin.f64 (*.f64 x 1/2)) (neg.f64 (sin.f64 x))) (*.f64 (cos.f64 (*.f64 x 1/2)) (*.f64 x (neg.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (sin.f64 (*.f64 x 1/2)) (/.f64 (sin.f64 x) x)) (*.f64 (cos.f64 (*.f64 x 1/2)) x))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (/.f64 (*.f64 (sin.f64 x) (tan.f64 (*.f64 x 1/2))) x) x)))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (/.f64 (*.f64 (sin.f64 x) (tan.f64 (*.f64 x 1/2))) 1) (*.f64 x x))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (/.f64 (*.f64 (sin.f64 x) (tan.f64 (*.f64 x 1/2))) (*.f64 (cbrt.f64 x) x)) (pow.f64 (cbrt.f64 x) 2))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (neg.f64 (sin.f64 x)) (tan.f64 (*.f64 x 1/2))) (*.f64 x (neg.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (/.f64 (sin.f64 x) x) (tan.f64 (*.f64 x 1/2))) x)))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (sin.f64 (*.f64 x 1/2)) (*.f64 (sin.f64 x) (pow.f64 x -2))) (cos.f64 (*.f64 x 1/2)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (*.f64 (sin.f64 x) (pow.f64 x -2)) (sin.f64 (*.f64 x 1/2))) (cos.f64 (*.f64 x 1/2)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (tan.f64 (*.f64 x 1/2)) (neg.f64 (sin.f64 x))) (*.f64 x (neg.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (tan.f64 (*.f64 x 1/2)) (/.f64 (sin.f64 x) x)) x)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 (*.f64 (sin.f64 x) (pow.f64 x -2)) (tan.f64 (*.f64 x 1/2))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (/.f64 (sqrt.f64 (*.f64 (sin.f64 x) (tan.f64 (*.f64 x 1/2)))) x) 4) 1/2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (/.f64 (sqrt.f64 (*.f64 (sin.f64 x) (tan.f64 (*.f64 x 1/2)))) x) 6) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (*.f64 (*.f64 (sin.f64 x) (pow.f64 x -2)) (tan.f64 (*.f64 x 1/2)))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 (sqrt.f64 (*.f64 (sin.f64 x) (tan.f64 (*.f64 x 1/2)))) x) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 1) (log.f64 (*.f64 (*.f64 (sin.f64 x) (pow.f64 x -2)) (tan.f64 (*.f64 x 1/2)))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 (*.f64 x x) (*.f64 (sin.f64 x) (tan.f64 (*.f64 x 1/2)))) -1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 (pow.f64 (cbrt.f64 (log.f64 (*.f64 (*.f64 (sin.f64 x) (pow.f64 x -2)) (tan.f64 (*.f64 x 1/2))))) 2)) (cbrt.f64 (log.f64 (*.f64 (*.f64 (sin.f64 x) (pow.f64 x -2)) (tan.f64 (*.f64 x 1/2))))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 (sqrt.f64 (log.f64 (*.f64 (*.f64 (sin.f64 x) (pow.f64 x -2)) (tan.f64 (*.f64 x 1/2)))))) (sqrt.f64 (log.f64 (*.f64 (*.f64 (sin.f64 x) (pow.f64 x -2)) (tan.f64 (*.f64 x 1/2))))))))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (/.f64 (sqrt.f64 (*.f64 (sin.f64 x) (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))) (*.f64 (sin.f64 x) (pow.f64 x -2))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (*.f64 (*.f64 (sin.f64 x) (pow.f64 x -2)) (tan.f64 (*.f64 x 1/2))))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (/.f64 (sqrt.f64 (*.f64 (sin.f64 x) (tan.f64 (*.f64 x 1/2)))) x) 6))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 (*.f64 (sin.f64 x) (pow.f64 x -2)) (tan.f64 (*.f64 x 1/2)))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 (*.f64 (sin.f64 x) (pow.f64 x -2)) (tan.f64 (*.f64 x 1/2)))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (*.f64 (*.f64 (sin.f64 x) (pow.f64 x -2)) (tan.f64 (*.f64 x 1/2)))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (*.f64 (*.f64 (sin.f64 x) (pow.f64 x -2)) (tan.f64 (*.f64 x 1/2)))) 1))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (pow.f64 (/.f64 (sqrt.f64 (*.f64 (sin.f64 x) (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 (*.f64 (sin.f64 x) (pow.f64 x -2)) (tan.f64 (*.f64 x 1/2))))) 3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (/.f64 (sqrt.f64 (*.f64 (sin.f64 x) (tan.f64 (*.f64 x 1/2)))) x)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 (log.f64 (*.f64 (*.f64 (sin.f64 x) (pow.f64 x -2)) (tan.f64 (*.f64 x 1/2)))) 1) 1))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (-.f64 (*.f64 (log.f64 (tan.f64 (*.f64 x 1/2))) 1) (log.f64 (/.f64 (*.f64 x x) (sin.f64 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (-.f64 (log.f64 (*.f64 (sin.f64 x) (tan.f64 (*.f64 x 1/2)))) (*.f64 (log.f64 x) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (-.f64 (log.f64 (*.f64 (sin.f64 x) (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 (*.f64 (sin.f64 x) (pow.f64 x -2))) 1) (log.f64 (tan.f64 (*.f64 x 1/2)))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (+.f64 (log.f64 (*.f64 (sin.f64 x) (pow.f64 x -2))) (*.f64 (log.f64 (tan.f64 (*.f64 x 1/2))) 1)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (+.f64 (*.f64 (log.f64 (*.f64 (sin.f64 x) (pow.f64 x -2))) 1) (*.f64 (log.f64 (tan.f64 (*.f64 x 1/2))) 1)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (+.f64 (*.f64 (log.f64 (tan.f64 (*.f64 x 1/2))) 1) (log.f64 (*.f64 (sin.f64 x) (pow.f64 x -2)))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (+.f64 (log.f64 (tan.f64 (*.f64 x 1/2))) (*.f64 (log.f64 (*.f64 (sin.f64 x) (pow.f64 x -2))) 1)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (+.f64 (*.f64 (log.f64 (tan.f64 (*.f64 x 1/2))) 1) (*.f64 (log.f64 (*.f64 (sin.f64 x) (pow.f64 x -2))) 1))))))) |
| 1× | egg-herbie |
| 651× | associate-/r/_binary64 |
| 492× | unswap-sqr_binary64 |
| 486× | distribute-lft-out_binary64 |
| 458× | fma-def_binary64 |
| 431× | *-commutative_binary64 |
Useful iterations: 3 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 45 | 373 |
| 1 | 109 | 371 |
| 2 | 268 | 369 |
| 3 | 793 | 367 |
| 4 | 2913 | 367 |
| 5 | 6482 | 367 |
| 6 | 7955 | 367 |
| 1× | node limit |
| Inputs |
|---|
(/.f64 1 x) |
(+.f64 (*.f64 -1/6 x) (/.f64 1 x)) |
(+.f64 (*.f64 1/120 (pow.f64 x 3)) (+.f64 (*.f64 -1/6 x) (/.f64 1 x))) |
(+.f64 (*.f64 1/120 (pow.f64 x 3)) (+.f64 (*.f64 -1/5040 (pow.f64 x 5)) (+.f64 (*.f64 -1/6 x) (/.f64 1 x)))) |
(/.f64 (sin.f64 x) (pow.f64 x 2)) |
(/.f64 (sin.f64 x) (pow.f64 x 2)) |
(/.f64 (sin.f64 x) (pow.f64 x 2)) |
(/.f64 (sin.f64 x) (pow.f64 x 2)) |
(/.f64 (sin.f64 x) (pow.f64 x 2)) |
(/.f64 (sin.f64 x) (pow.f64 x 2)) |
(/.f64 (sin.f64 x) (pow.f64 x 2)) |
(/.f64 (sin.f64 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 x) |
(+.f64 (*.f64 -1/6 x) (/.f64 1 x)) |
(fma.f64 -1/6 x (/.f64 1 x)) |
(fma.f64 x -1/6 (/.f64 1 x)) |
(+.f64 (*.f64 1/120 (pow.f64 x 3)) (+.f64 (*.f64 -1/6 x) (/.f64 1 x))) |
(fma.f64 1/120 (pow.f64 x 3) (fma.f64 -1/6 x (/.f64 1 x))) |
(fma.f64 1/120 (pow.f64 x 3) (fma.f64 x -1/6 (/.f64 1 x))) |
(fma.f64 x -1/6 (fma.f64 1/120 (pow.f64 x 3) (/.f64 1 x))) |
(fma.f64 x (fma.f64 1/120 (*.f64 x x) -1/6) (/.f64 1 x)) |
(+.f64 (*.f64 1/120 (pow.f64 x 3)) (+.f64 (*.f64 -1/5040 (pow.f64 x 5)) (+.f64 (*.f64 -1/6 x) (/.f64 1 x)))) |
(fma.f64 1/120 (pow.f64 x 3) (fma.f64 -1/5040 (pow.f64 x 5) (fma.f64 -1/6 x (/.f64 1 x)))) |
(fma.f64 1/120 (pow.f64 x 3) (fma.f64 -1/5040 (pow.f64 x 5) (fma.f64 x -1/6 (/.f64 1 x)))) |
(fma.f64 1/120 (pow.f64 x 3) (fma.f64 x -1/6 (fma.f64 -1/5040 (pow.f64 x 5) (/.f64 1 x)))) |
(fma.f64 x -1/6 (fma.f64 1/120 (pow.f64 x 3) (fma.f64 -1/5040 (pow.f64 x 5) (/.f64 1 x)))) |
(fma.f64 x -1/6 (fma.f64 -1/5040 (pow.f64 x 5) (fma.f64 1/120 (pow.f64 x 3) (/.f64 1 x)))) |
(/.f64 (sin.f64 x) (pow.f64 x 2)) |
(/.f64 (sin.f64 x) (*.f64 x x)) |
(/.f64 (sin.f64 x) (pow.f64 x 2)) |
(/.f64 (sin.f64 x) (*.f64 x x)) |
(/.f64 (sin.f64 x) (pow.f64 x 2)) |
(/.f64 (sin.f64 x) (*.f64 x x)) |
(/.f64 (sin.f64 x) (pow.f64 x 2)) |
(/.f64 (sin.f64 x) (*.f64 x x)) |
(/.f64 (sin.f64 x) (pow.f64 x 2)) |
(/.f64 (sin.f64 x) (*.f64 x x)) |
(/.f64 (sin.f64 x) (pow.f64 x 2)) |
(/.f64 (sin.f64 x) (*.f64 x x)) |
(/.f64 (sin.f64 x) (pow.f64 x 2)) |
(/.f64 (sin.f64 x) (*.f64 x x)) |
(/.f64 (sin.f64 x) (pow.f64 x 2)) |
(/.f64 (sin.f64 x) (*.f64 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 x (*.f64 x -1/24)))) |
(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 (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 (*.f64 x x) (fma.f64 (*.f64 x x) 1/720 -1/24) (fma.f64 -1/40320 (pow.f64 x 6) 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) (sin.f64 (*.f64 x 1/2))) (*.f64 (*.f64 x x) (cos.f64 (*.f64 x 1/2)))) |
(*.f64 (/.f64 (sin.f64 x) (*.f64 x x)) (/.f64 (sin.f64 (*.f64 x 1/2)) (cos.f64 (*.f64 x 1/2)))) |
(*.f64 (sin.f64 x) (/.f64 (/.f64 (sin.f64 (*.f64 x 1/2)) (*.f64 x x)) (cos.f64 (*.f64 x 1/2)))) |
(*.f64 (sin.f64 (*.f64 x 1/2)) (/.f64 (/.f64 (sin.f64 x) (*.f64 x x)) (cos.f64 (*.f64 x 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) (sin.f64 (*.f64 x 1/2))) (*.f64 (*.f64 x x) (cos.f64 (*.f64 x 1/2)))) |
(*.f64 (/.f64 (sin.f64 x) (*.f64 x x)) (/.f64 (sin.f64 (*.f64 x 1/2)) (cos.f64 (*.f64 x 1/2)))) |
(*.f64 (sin.f64 x) (/.f64 (/.f64 (sin.f64 (*.f64 x 1/2)) (*.f64 x x)) (cos.f64 (*.f64 x 1/2)))) |
(*.f64 (sin.f64 (*.f64 x 1/2)) (/.f64 (/.f64 (sin.f64 x) (*.f64 x x)) (cos.f64 (*.f64 x 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) (sin.f64 (*.f64 x 1/2))) (*.f64 (*.f64 x x) (cos.f64 (*.f64 x 1/2)))) |
(*.f64 (/.f64 (sin.f64 x) (*.f64 x x)) (/.f64 (sin.f64 (*.f64 x 1/2)) (cos.f64 (*.f64 x 1/2)))) |
(*.f64 (sin.f64 x) (/.f64 (/.f64 (sin.f64 (*.f64 x 1/2)) (*.f64 x x)) (cos.f64 (*.f64 x 1/2)))) |
(*.f64 (sin.f64 (*.f64 x 1/2)) (/.f64 (/.f64 (sin.f64 x) (*.f64 x x)) (cos.f64 (*.f64 x 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) (sin.f64 (*.f64 x 1/2))) (*.f64 (*.f64 x x) (cos.f64 (*.f64 x 1/2)))) |
(*.f64 (/.f64 (sin.f64 x) (*.f64 x x)) (/.f64 (sin.f64 (*.f64 x 1/2)) (cos.f64 (*.f64 x 1/2)))) |
(*.f64 (sin.f64 x) (/.f64 (/.f64 (sin.f64 (*.f64 x 1/2)) (*.f64 x x)) (cos.f64 (*.f64 x 1/2)))) |
(*.f64 (sin.f64 (*.f64 x 1/2)) (/.f64 (/.f64 (sin.f64 x) (*.f64 x x)) (cos.f64 (*.f64 x 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) (sin.f64 (*.f64 x 1/2))) (*.f64 (*.f64 x x) (cos.f64 (*.f64 x 1/2)))) |
(*.f64 (/.f64 (sin.f64 x) (*.f64 x x)) (/.f64 (sin.f64 (*.f64 x 1/2)) (cos.f64 (*.f64 x 1/2)))) |
(*.f64 (sin.f64 x) (/.f64 (/.f64 (sin.f64 (*.f64 x 1/2)) (*.f64 x x)) (cos.f64 (*.f64 x 1/2)))) |
(*.f64 (sin.f64 (*.f64 x 1/2)) (/.f64 (/.f64 (sin.f64 x) (*.f64 x x)) (cos.f64 (*.f64 x 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) (sin.f64 (*.f64 x 1/2))) (*.f64 (*.f64 x x) (cos.f64 (*.f64 x 1/2)))) |
(*.f64 (/.f64 (sin.f64 x) (*.f64 x x)) (/.f64 (sin.f64 (*.f64 x 1/2)) (cos.f64 (*.f64 x 1/2)))) |
(*.f64 (sin.f64 x) (/.f64 (/.f64 (sin.f64 (*.f64 x 1/2)) (*.f64 x x)) (cos.f64 (*.f64 x 1/2)))) |
(*.f64 (sin.f64 (*.f64 x 1/2)) (/.f64 (/.f64 (sin.f64 x) (*.f64 x x)) (cos.f64 (*.f64 x 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) (sin.f64 (*.f64 x 1/2))) (*.f64 (*.f64 x x) (cos.f64 (*.f64 x 1/2)))) |
(*.f64 (/.f64 (sin.f64 x) (*.f64 x x)) (/.f64 (sin.f64 (*.f64 x 1/2)) (cos.f64 (*.f64 x 1/2)))) |
(*.f64 (sin.f64 x) (/.f64 (/.f64 (sin.f64 (*.f64 x 1/2)) (*.f64 x x)) (cos.f64 (*.f64 x 1/2)))) |
(*.f64 (sin.f64 (*.f64 x 1/2)) (/.f64 (/.f64 (sin.f64 x) (*.f64 x x)) (cos.f64 (*.f64 x 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) (sin.f64 (*.f64 x 1/2))) (*.f64 (*.f64 x x) (cos.f64 (*.f64 x 1/2)))) |
(*.f64 (/.f64 (sin.f64 x) (*.f64 x x)) (/.f64 (sin.f64 (*.f64 x 1/2)) (cos.f64 (*.f64 x 1/2)))) |
(*.f64 (sin.f64 x) (/.f64 (/.f64 (sin.f64 (*.f64 x 1/2)) (*.f64 x x)) (cos.f64 (*.f64 x 1/2)))) |
(*.f64 (sin.f64 (*.f64 x 1/2)) (/.f64 (/.f64 (sin.f64 x) (*.f64 x x)) (cos.f64 (*.f64 x 1/2)))) |
Found 3 expressions with local error:
| New | Error | Program |
|---|---|---|
| ✓ | 0.0b | (+.f64 1 (*.f64 -1/24 (*.f64 x x))) |
| 0.4b | (*.f64 -1/24 (*.f64 x x)) | |
| ✓ | 1.8b | (-.f64 (+.f64 1 (*.f64 -1/24 (*.f64 x x))) 1) |
Compiled 40 to 25 computations (37.5% saved)
6 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 1.0ms | x | @ | inf | (-.f64 (+.f64 1 (*.f64 -1/24 (*.f64 x x))) 1) |
| 1.0ms | x | @ | 0 | (-.f64 (+.f64 1 (*.f64 -1/24 (*.f64 x x))) 1) |
| 1.0ms | x | @ | -inf | (-.f64 (+.f64 1 (*.f64 -1/24 (*.f64 x x))) 1) |
| 1.0ms | x | @ | inf | (+.f64 1 (*.f64 -1/24 (*.f64 x x))) |
| 1.0ms | x | @ | 0 | (+.f64 1 (*.f64 -1/24 (*.f64 x x))) |
| 1× | batch-egg-rewrite |
| 816× | pow1_binary64 |
| 769× | add-log-exp_binary64 |
| 768× | log1p-expm1-u_binary64 |
| 768× | expm1-log1p-u_binary64 |
| 756× | add-exp-log_binary64 |
Useful iterations: 1 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 8 | 23 |
| 1 | 178 | 15 |
| 2 | 2399 | 15 |
| 1× | node limit |
| Inputs |
|---|
(-.f64 (+.f64 1 (*.f64 -1/24 (*.f64 x x))) 1) |
(+.f64 1 (*.f64 -1/24 (*.f64 x x))) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x +.f64 1 (fma.f64 -1/24 (*.f64 x x) -1))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 1 (*.f64 (fma.f64 -1/24 (*.f64 x x) -1) 1))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 -1/24 (*.f64 x x)) 0)))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (fma.f64 -1/24 (*.f64 x x) 1) -1)))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 -1 (fma.f64 -1/24 (*.f64 x x) 1))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (fma.f64 -1/24 (*.f64 x x) -1) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (*.f64 -1/24 (*.f64 x x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 -1/24 (*.f64 x x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 x (*.f64 -1/24 x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 x x) -1/24)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 -1/24 (*.f64 x x)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (pow.f64 x 4)) (*.f64 (pow.f64 (cbrt.f64 x) 2) -1/24))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (*.f64 -1/24 (*.f64 x x))) (cbrt.f64 (*.f64 (pow.f64 x 4) 1/576)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (*.f64 (pow.f64 x 4) 1/576)) (cbrt.f64 (*.f64 -1/24 (*.f64 x x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 x (sqrt.f64 -1/24)) (*.f64 x (sqrt.f64 -1/24)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 (pow.f64 (fma.f64 -1/24 (*.f64 x x) 1) 3) -1) (/.f64 1 (+.f64 (pow.f64 (fma.f64 -1/24 (*.f64 x x) 1) 2) (+.f64 (*.f64 -1/24 (*.f64 x x)) 2))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 (pow.f64 (fma.f64 -1/24 (*.f64 x x) 1) 2) -1) (/.f64 1 (+.f64 (*.f64 -1/24 (*.f64 x x)) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 -1/24 x) x)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 (hypot.f64 1 (*.f64 x (sqrt.f64 -1/24))) 1) (-.f64 (hypot.f64 1 (*.f64 x (sqrt.f64 -1/24))) 1))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 -1/24 (cbrt.f64 (pow.f64 x 4))) (pow.f64 (cbrt.f64 x) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (*.f64 -1/24 x) 1) x)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (*.f64 -1/24 x) (pow.f64 (cbrt.f64 x) 2)) (cbrt.f64 x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (*.f64 -1/24 x) (sqrt.f64 x)) (sqrt.f64 x))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (+.f64 (pow.f64 (fma.f64 -1/24 (*.f64 x x) 1) 2) (+.f64 (*.f64 -1/24 (*.f64 x x)) 2)) (+.f64 (pow.f64 (fma.f64 -1/24 (*.f64 x x) 1) 3) -1)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (+.f64 (*.f64 -1/24 (*.f64 x x)) 2) (+.f64 (pow.f64 (fma.f64 -1/24 (*.f64 x x) 1) 2) -1)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 (fma.f64 -1/24 (*.f64 x x) 1) 3) -1) (+.f64 (pow.f64 (fma.f64 -1/24 (*.f64 x x) 1) 2) (+.f64 (*.f64 -1/24 (*.f64 x x)) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 (fma.f64 -1/24 (*.f64 x x) 1) 3) -1) (+.f64 (pow.f64 (fma.f64 -1/24 (*.f64 x x) 1) 2) (-.f64 1 (*.f64 (fma.f64 -1/24 (*.f64 x x) 1) -1))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 (fma.f64 -1/24 (*.f64 x x) 1) 2) -1) (+.f64 (*.f64 -1/24 (*.f64 x x)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 (fma.f64 -1/24 (*.f64 x x) 1) 2) -1) (-.f64 (fma.f64 -1/24 (*.f64 x x) 1) -1))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (+.f64 (pow.f64 (fma.f64 -1/24 (*.f64 x x) 1) 3) -1)) (neg.f64 (+.f64 (pow.f64 (fma.f64 -1/24 (*.f64 x x) 1) 2) (+.f64 (*.f64 -1/24 (*.f64 x x)) 2))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (+.f64 (pow.f64 (fma.f64 -1/24 (*.f64 x x) 1) 2) -1)) (neg.f64 (+.f64 (*.f64 -1/24 (*.f64 x x)) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 1 (pow.f64 (fma.f64 -1/24 (*.f64 x x) -1) 3)) (+.f64 1 (-.f64 (*.f64 (fma.f64 -1/24 (*.f64 x x) -1) (fma.f64 -1/24 (*.f64 x x) -1)) (fma.f64 -1/24 (*.f64 x x) -1))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 1 (*.f64 (fma.f64 -1/24 (*.f64 x x) -1) (fma.f64 -1/24 (*.f64 x x) -1))) (-.f64 1 (fma.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 (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 pow.f64 (*.f64 (pow.f64 (*.f64 x x) 3) -1/13824) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (*.f64 (pow.f64 x 4) 1/576))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (pow.f64 (pow.f64 (exp.f64 x) x) -1/24))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (*.f64 (pow.f64 (*.f64 x x) 3) -1/13824))))) (#(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))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (fma.f64 -1/24 (*.f64 x x) 1) -1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (pow.f64 (fma.f64 -1/24 (*.f64 x x) 1) 2)) (cbrt.f64 (fma.f64 -1/24 (*.f64 x x) 1)) -1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (hypot.f64 1 (*.f64 x (sqrt.f64 -1/24))) (hypot.f64 1 (*.f64 x (sqrt.f64 -1/24))) -1))))) |
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 (*.f64 -1/24 (*.f64 x x)) 2) 1)))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (/.f64 1 (+.f64 1 (*.f64 1/24 (*.f64 x x)))) (/.f64 (*.f64 (pow.f64 x 4) 1/576) (+.f64 1 (*.f64 1/24 (*.f64 x x)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (fma.f64 -1/24 (*.f64 x x) 1))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (fma.f64 -1/24 (*.f64 x x) 1) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (fma.f64 -1/24 (*.f64 x x) 1)) (cbrt.f64 (pow.f64 (fma.f64 -1/24 (*.f64 x x) 1) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (pow.f64 (fma.f64 -1/24 (*.f64 x x) 1) 2)) (cbrt.f64 (fma.f64 -1/24 (*.f64 x x) 1)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (pow.f64 (fma.f64 -1/24 (*.f64 x x) 1) 2)) (*.f64 (cbrt.f64 (fma.f64 -1/24 (*.f64 x x) 1)) 1))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (hypot.f64 1 (*.f64 x (sqrt.f64 -1/24))) (hypot.f64 1 (*.f64 x (sqrt.f64 -1/24))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (hypot.f64 1 (*.f64 x (sqrt.f64 -1/24))) (*.f64 (hypot.f64 1 (*.f64 x (sqrt.f64 -1/24))) 1))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 1 (*.f64 (pow.f64 (*.f64 x x) 3) -1/13824)) (/.f64 1 (+.f64 1 (+.f64 (*.f64 (pow.f64 x 4) 1/576) (*.f64 1/24 (*.f64 x x))))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (-.f64 1 (*.f64 (pow.f64 x 4) 1/576)) (/.f64 1 (+.f64 1 (*.f64 1/24 (*.f64 x x)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (+.f64 1 (+.f64 (*.f64 (pow.f64 x 4) 1/576) (*.f64 1/24 (*.f64 x x)))) (+.f64 1 (*.f64 (pow.f64 (*.f64 x x) 3) -1/13824))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (+.f64 1 (*.f64 1/24 (*.f64 x x))) (-.f64 1 (*.f64 (pow.f64 x 4) 1/576))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 1 (*.f64 (pow.f64 (*.f64 x x) 3) -1/13824)) (+.f64 1 (+.f64 (*.f64 (pow.f64 x 4) 1/576) (*.f64 1/24 (*.f64 x x)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 1 (*.f64 (pow.f64 (*.f64 x x) 3) -1/13824)) (+.f64 (*.f64 (pow.f64 x 4) 1/576) (+.f64 1 (*.f64 1/24 (*.f64 x x)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 1 (*.f64 (pow.f64 x 4) 1/576)) (+.f64 1 (*.f64 1/24 (*.f64 x x))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (+.f64 1 (*.f64 (pow.f64 (*.f64 x x) 3) -1/13824))) (neg.f64 (+.f64 1 (+.f64 (*.f64 (pow.f64 x 4) 1/576) (*.f64 1/24 (*.f64 x x))))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (-.f64 1 (*.f64 (pow.f64 x 4) 1/576))) (neg.f64 (+.f64 1 (*.f64 1/24 (*.f64 x x)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (*.f64 (pow.f64 x 4) 1/576) 1) (fma.f64 -1/24 (*.f64 x x) -1))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (+.f64 1 (*.f64 (pow.f64 (*.f64 x x) 3) -1/13824)) 1) (+.f64 1 (+.f64 (*.f64 (pow.f64 x 4) 1/576) (*.f64 1/24 (*.f64 x x)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (-.f64 1 (*.f64 (pow.f64 x 4) 1/576)) 1) (+.f64 1 (*.f64 1/24 (*.f64 x x))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (fma.f64 -1/24 (*.f64 x x) 1) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (fma.f64 -1/24 (*.f64 x x) 1)) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (hypot.f64 1 (*.f64 x (sqrt.f64 -1/24))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (fma.f64 -1/24 (*.f64 x x) 1) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (fma.f64 -1/24 (*.f64 x x) 1) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (fma.f64 -1/24 (*.f64 x x) 1)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (fma.f64 -1/24 (*.f64 x x) 1) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (fma.f64 -1/24 (*.f64 x x) 1)))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (fma.f64 -1/24 (*.f64 x x) 1)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log1p.f64 (*.f64 -1/24 (*.f64 x x))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (*.f64 -1/24 (*.f64 x x)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 -1/24 (*.f64 x x) 1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 x x) -1/24 1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (*.f64 (pow.f64 x 4) 1/576)) (cbrt.f64 (*.f64 -1/24 (*.f64 x x))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 x (sqrt.f64 -1/24)) (*.f64 x (sqrt.f64 -1/24)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 -1/24 x) x 1))))) |
| 1× | egg-herbie |
| 1082× | sqr-pow_binary64 |
| 560× | cube-prod_binary64 |
| 558× | fabs-mul_binary64 |
| 523× | pow-sqr_binary64 |
| 455× | associate-*l*_binary64 |
Useful iterations: 1 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 8 | 189 |
| 1 | 16 | 171 |
| 2 | 27 | 171 |
| 3 | 52 | 171 |
| 4 | 118 | 171 |
| 5 | 352 | 171 |
| 6 | 1287 | 171 |
| 7 | 2193 | 171 |
| 8 | 2357 | 171 |
| 9 | 2541 | 171 |
| 10 | 2749 | 171 |
| 11 | 3048 | 171 |
| 12 | 3439 | 171 |
| 13 | 3922 | 171 |
| 14 | 4490 | 171 |
| 15 | 5176 | 171 |
| 16 | 6009 | 171 |
| 17 | 6401 | 171 |
| 18 | 6695 | 171 |
| 19 | 6973 | 171 |
| 20 | 7047 | 171 |
| 21 | 7083 | 171 |
| 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)) |
1 |
(+.f64 1 (*.f64 -1/24 (pow.f64 x 2))) |
(+.f64 1 (*.f64 -1/24 (pow.f64 x 2))) |
(+.f64 1 (*.f64 -1/24 (pow.f64 x 2))) |
(*.f64 -1/24 (pow.f64 x 2)) |
(+.f64 1 (*.f64 -1/24 (pow.f64 x 2))) |
(+.f64 1 (*.f64 -1/24 (pow.f64 x 2))) |
(+.f64 1 (*.f64 -1/24 (pow.f64 x 2))) |
(*.f64 -1/24 (pow.f64 x 2)) |
(+.f64 1 (*.f64 -1/24 (pow.f64 x 2))) |
(+.f64 1 (*.f64 -1/24 (pow.f64 x 2))) |
(+.f64 1 (*.f64 -1/24 (pow.f64 x 2))) |
| Outputs |
|---|
(*.f64 -1/24 (pow.f64 x 2)) |
(*.f64 -1/24 (*.f64 x x)) |
(*.f64 -1/24 (pow.f64 x 2)) |
(*.f64 -1/24 (*.f64 x x)) |
(*.f64 -1/24 (pow.f64 x 2)) |
(*.f64 -1/24 (*.f64 x x)) |
(*.f64 -1/24 (pow.f64 x 2)) |
(*.f64 -1/24 (*.f64 x x)) |
(*.f64 -1/24 (pow.f64 x 2)) |
(*.f64 -1/24 (*.f64 x x)) |
(*.f64 -1/24 (pow.f64 x 2)) |
(*.f64 -1/24 (*.f64 x x)) |
(*.f64 -1/24 (pow.f64 x 2)) |
(*.f64 -1/24 (*.f64 x x)) |
(*.f64 -1/24 (pow.f64 x 2)) |
(*.f64 -1/24 (*.f64 x x)) |
(*.f64 -1/24 (pow.f64 x 2)) |
(*.f64 -1/24 (*.f64 x x)) |
(*.f64 -1/24 (pow.f64 x 2)) |
(*.f64 -1/24 (*.f64 x x)) |
(*.f64 -1/24 (pow.f64 x 2)) |
(*.f64 -1/24 (*.f64 x x)) |
(*.f64 -1/24 (pow.f64 x 2)) |
(*.f64 -1/24 (*.f64 x x)) |
1 |
(+.f64 1 (*.f64 -1/24 (pow.f64 x 2))) |
(+.f64 (*.f64 -1/24 (*.f64 x x)) 1) |
(fma.f64 -1/24 (*.f64 x x) 1) |
(fma.f64 x (*.f64 -1/24 x) 1) |
(+.f64 1 (*.f64 -1/24 (pow.f64 x 2))) |
(+.f64 (*.f64 -1/24 (*.f64 x x)) 1) |
(fma.f64 -1/24 (*.f64 x x) 1) |
(fma.f64 x (*.f64 -1/24 x) 1) |
(+.f64 1 (*.f64 -1/24 (pow.f64 x 2))) |
(+.f64 (*.f64 -1/24 (*.f64 x x)) 1) |
(fma.f64 -1/24 (*.f64 x x) 1) |
(fma.f64 x (*.f64 -1/24 x) 1) |
(*.f64 -1/24 (pow.f64 x 2)) |
(*.f64 -1/24 (*.f64 x x)) |
(+.f64 1 (*.f64 -1/24 (pow.f64 x 2))) |
(+.f64 (*.f64 -1/24 (*.f64 x x)) 1) |
(fma.f64 -1/24 (*.f64 x x) 1) |
(fma.f64 x (*.f64 -1/24 x) 1) |
(+.f64 1 (*.f64 -1/24 (pow.f64 x 2))) |
(+.f64 (*.f64 -1/24 (*.f64 x x)) 1) |
(fma.f64 -1/24 (*.f64 x x) 1) |
(fma.f64 x (*.f64 -1/24 x) 1) |
(+.f64 1 (*.f64 -1/24 (pow.f64 x 2))) |
(+.f64 (*.f64 -1/24 (*.f64 x x)) 1) |
(fma.f64 -1/24 (*.f64 x x) 1) |
(fma.f64 x (*.f64 -1/24 x) 1) |
(*.f64 -1/24 (pow.f64 x 2)) |
(*.f64 -1/24 (*.f64 x x)) |
(+.f64 1 (*.f64 -1/24 (pow.f64 x 2))) |
(+.f64 (*.f64 -1/24 (*.f64 x x)) 1) |
(fma.f64 -1/24 (*.f64 x x) 1) |
(fma.f64 x (*.f64 -1/24 x) 1) |
(+.f64 1 (*.f64 -1/24 (pow.f64 x 2))) |
(+.f64 (*.f64 -1/24 (*.f64 x x)) 1) |
(fma.f64 -1/24 (*.f64 x x) 1) |
(fma.f64 x (*.f64 -1/24 x) 1) |
(+.f64 1 (*.f64 -1/24 (pow.f64 x 2))) |
(+.f64 (*.f64 -1/24 (*.f64 x x)) 1) |
(fma.f64 -1/24 (*.f64 x x) 1) |
(fma.f64 x (*.f64 -1/24 x) 1) |
Found 3 expressions with local error:
| New | Error | Program |
|---|---|---|
| ✓ | 0.1b | (/.f64 (/.f64 (-.f64 1 (cos.f64 x)) x) x) |
| 0.1b | (/.f64 (-.f64 1 (cos.f64 x)) x) | |
| 2.0b | (-.f64 1 (cos.f64 x)) |
Compiled 23 to 12 computations (47.8% saved)
3 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 1.0ms | x | @ | 0 | (/.f64 (/.f64 (-.f64 1 (cos.f64 x)) x) x) |
| 1.0ms | x | @ | inf | (/.f64 (/.f64 (-.f64 1 (cos.f64 x)) x) x) |
| 1.0ms | x | @ | -inf | (/.f64 (/.f64 (-.f64 1 (cos.f64 x)) x) x) |
| 1× | batch-egg-rewrite |
| 949× | pow1_binary64 |
| 888× | add-log-exp_binary64 |
| 888× | log1p-expm1-u_binary64 |
| 888× | expm1-log1p-u_binary64 |
| 79× | add-sqr-sqrt_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 7 | 12 |
| 1 | 155 | 12 |
| 2 | 2275 | 12 |
| 1× | node limit |
| Inputs |
|---|
(/.f64 (/.f64 (-.f64 1 (cos.f64 x)) x) x) |
| Outputs |
|---|
((#(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 (/.f64 (/.f64 1 x) x) (/.f64 (/.f64 (cos.f64 x) x) x))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (/.f64 1 (*.f64 x x)) (/.f64 (cos.f64 x) (*.f64 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 1 (cos.f64 x)) (*.f64 (/.f64 1 x) (/.f64 1 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (-.f64 1 (cos.f64 x)) (/.f64 1 (*.f64 x x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (-.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 (pow.f64 (cbrt.f64 (/.f64 (-.f64 1 (cos.f64 x)) x)) 2) (*.f64 (cbrt.f64 (/.f64 (-.f64 1 (cos.f64 x)) x)) (/.f64 1 x)))))) (#(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 (sqrt.f64 (/.f64 (-.f64 1 (cos.f64 x)) x)) (*.f64 (sqrt.f64 (/.f64 (-.f64 1 (cos.f64 x)) x)) (/.f64 1 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (sqrt.f64 (-.f64 1 (cos.f64 x))) x) (/.f64 (sqrt.f64 (-.f64 1 (cos.f64 x))) x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (neg.f64 (/.f64 (-.f64 1 (cos.f64 x)) x)) (/.f64 1 (neg.f64 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 (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 1 (sqrt.f64 x)) (/.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)) (/.f64 (/.f64 1 x) (sqrt.f64 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 (-.f64 1 (cos.f64 x)) 1) (/.f64 (/.f64 1 x) x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (pow.f64 (cbrt.f64 (/.f64 (-.f64 1 (cos.f64 x)) 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 (/.f64 (-.f64 1 (cos.f64 x)) (pow.f64 (cbrt.f64 x) 2)) (/.f64 (/.f64 1 x) (cbrt.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (pow.f64 (cbrt.f64 (/.f64 (-.f64 1 (cos.f64 x)) x)) 2) (pow.f64 (cbrt.f64 x) 2)) (cbrt.f64 (/.f64 (-.f64 1 (cos.f64 x)) (*.f64 x x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (sqrt.f64 (/.f64 (-.f64 1 (cos.f64 x)) x)) (pow.f64 (cbrt.f64 x) 2)) (/.f64 (sqrt.f64 (/.f64 (-.f64 1 (cos.f64 x)) x)) (cbrt.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (pow.f64 (cbrt.f64 (/.f64 (-.f64 1 (cos.f64 x)) 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 pow.f64 (/.f64 (-.f64 1 (cos.f64 x)) (*.f64 x x)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (/.f64 (-.f64 1 (cos.f64 x)) (*.f64 x x)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (/.f64 (-.f64 1 (cos.f64 x)) (*.f64 x x))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 (sqrt.f64 (-.f64 1 (cos.f64 x))) x) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 x (/.f64 x (-.f64 1 (cos.f64 x)))) -1)))) (#(struct:change #<rule egg-rr> (2) ((x neg.f64 (/.f64 (/.f64 (-.f64 1 (cos.f64 x)) x) (neg.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (/.f64 (-.f64 1 (cos.f64 x)) (*.f64 x x)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (/.f64 (-.f64 1 (cos.f64 x)) (*.f64 x x))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (/.f64 (-.f64 1 (cos.f64 x)) (*.f64 x x)))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (/.f64 (-.f64 1 (cos.f64 x)) (*.f64 x x)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (/.f64 (pow.f64 (/.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)))))))) |
| 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 4 expressions with local error:
| New | Error | Program |
|---|---|---|
| ✓ | 0.0b | (*.f64 x (/.f64 x (-.f64 1 (cos.f64 x)))) |
| ✓ | 0.1b | (/.f64 x (-.f64 1 (cos.f64 x))) |
| ✓ | 0.4b | (/.f64 1 (*.f64 x (/.f64 x (-.f64 1 (cos.f64 x))))) |
| 2.0b | (-.f64 1 (cos.f64 x)) |
Compiled 33 to 18 computations (45.5% saved)
9 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 | @ | 0 | (/.f64 1 (*.f64 x (/.f64 x (-.f64 1 (cos.f64 x))))) |
| 1.0ms | x | @ | inf | (/.f64 1 (*.f64 x (/.f64 x (-.f64 1 (cos.f64 x))))) |
| 1× | batch-egg-rewrite |
| 975× | pow1_binary64 |
| 907× | add-log-exp_binary64 |
| 907× | log1p-expm1-u_binary64 |
| 907× | expm1-log1p-u_binary64 |
| 90× | add-sqr-sqrt_binary64 |
Useful iterations: 1 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 8 | 36 |
| 1 | 177 | 33 |
| 2 | 2444 | 33 |
| 1× | node limit |
| Inputs |
|---|
(/.f64 1 (*.f64 x (/.f64 x (-.f64 1 (cos.f64 x))))) |
(/.f64 x (-.f64 1 (cos.f64 x))) |
(*.f64 x (/.f64 x (-.f64 1 (cos.f64 x)))) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (/.f64 (/.f64 (-.f64 1 (cos.f64 x)) x) x))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (/.f64 (/.f64 (-.f64 1 (cos.f64 x)) x) x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (/.f64 (-.f64 1 (cos.f64 x)) x) x) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (/.f64 (/.f64 (-.f64 1 (cos.f64 x)) x) x)) (cbrt.f64 (pow.f64 (/.f64 (*.f64 x x) (-.f64 1 (cos.f64 x))) -2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (pow.f64 (/.f64 (*.f64 x x) (-.f64 1 (cos.f64 x))) -2)) (cbrt.f64 (/.f64 (/.f64 (-.f64 1 (cos.f64 x)) x) x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 1 (/.f64 x (sqrt.f64 (-.f64 1 (cos.f64 x))))) (/.f64 1 (/.f64 x (sqrt.f64 (-.f64 1 (cos.f64 x))))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 -1 (/.f64 1 (/.f64 (neg.f64 (*.f64 x x)) (-.f64 1 (cos.f64 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 x) (pow.f64 (/.f64 x (-.f64 1 (cos.f64 x))) -1))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (/.f64 x (-.f64 1 (cos.f64 x))) -1) (/.f64 1 x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (pow.f64 (cbrt.f64 (/.f64 (*.f64 x x) (-.f64 1 (cos.f64 x)))) 2) -1) (pow.f64 (cbrt.f64 (/.f64 (*.f64 x x) (-.f64 1 (cos.f64 x)))) -1))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (/.f64 x (sqrt.f64 (-.f64 1 (cos.f64 x)))) -1) (pow.f64 (/.f64 x (sqrt.f64 (-.f64 1 (cos.f64 x)))) -1))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 1 (*.f64 x x)) (-.f64 1 (cos.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (/.f64 1 x) 1) (/.f64 (-.f64 1 (cos.f64 x)) x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (/.f64 1 x) x) (-.f64 1 (cos.f64 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 pow.f64 (/.f64 (*.f64 x x) (-.f64 1 (cos.f64 x))) -1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 (/.f64 (-.f64 1 (cos.f64 x)) x) x) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (/.f64 (/.f64 (-.f64 1 (cos.f64 x)) x) x) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (/.f64 (/.f64 (-.f64 1 (cos.f64 x)) x) x)) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 1 (/.f64 x (sqrt.f64 (-.f64 1 (cos.f64 x))))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (/.f64 (*.f64 x x) (-.f64 1 (cos.f64 x))) -2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (/.f64 (/.f64 (-.f64 1 (cos.f64 x)) x) x)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (/.f64 (/.f64 (-.f64 1 (cos.f64 x)) x) x))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (/.f64 (/.f64 (-.f64 1 (cos.f64 x)) x) x) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (/.f64 (/.f64 (-.f64 1 (cos.f64 x)) x) x)))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (/.f64 (/.f64 (-.f64 1 (cos.f64 x)) x) x)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (/.f64 (/.f64 (-.f64 1 (cos.f64 x)) x) 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 1 (/.f64 x (-.f64 1 (cos.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 x (/.f64 1 (-.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 (cbrt.f64 (/.f64 x (-.f64 1 (cos.f64 x)))) (pow.f64 (cbrt.f64 (/.f64 x (-.f64 1 (cos.f64 x)))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.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 (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 (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 (sqrt.f64 x) (*.f64 (sqrt.f64 x) (/.f64 1 (-.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 (/.f64 1 (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 (/.f64 1 (sqrt.f64 (-.f64 1 (cos.f64 x)))) (/.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))) (+.f64 1 (+.f64 (cos.f64 x) (pow.f64 (cos.f64 x) 2))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 x (*.f64 (sin.f64 x) (sin.f64 x))) (+.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 (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 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 -.f64 (exp.f64 (log1p.f64 (/.f64 (*.f64 x x) (-.f64 1 (cos.f64 x))))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (/.f64 (-.f64 1 (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 x (/.f64 (-.f64 1 (cos.f64 x)) x))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (/.f64 x (-.f64 1 (cos.f64 x))) (/.f64 1 x))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (/.f64 (*.f64 x x) (-.f64 1 (cos.f64 x))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 x x) (-.f64 1 (cos.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (pow.f64 (cbrt.f64 (/.f64 (*.f64 x x) (-.f64 1 (cos.f64 x)))) 2) (cbrt.f64 (/.f64 (/.f64 (-.f64 1 (cos.f64 x)) x) x)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (/.f64 x (sqrt.f64 (-.f64 1 (cos.f64 x)))) (/.f64 1 (/.f64 x (sqrt.f64 (-.f64 1 (cos.f64 x))))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (/.f64 (neg.f64 (*.f64 x x)) (-.f64 1 (cos.f64 x))) -1)))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (*.f64 x x)) (neg.f64 (-.f64 1 (cos.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (neg.f64 x) x) (neg.f64 (-.f64 1 (cos.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 x (neg.f64 x)) (neg.f64 (-.f64 1 (cos.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (/.f64 (*.f64 x x) 1) (-.f64 1 (cos.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (/.f64 (*.f64 x x) (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 (*.f64 x x) (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 x x) (-.f64 1 (cos.f64 x))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (/.f64 (*.f64 x x) (-.f64 1 (cos.f64 x))) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (/.f64 (*.f64 x x) (-.f64 1 (cos.f64 x)))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 x (sqrt.f64 (-.f64 1 (cos.f64 x)))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (/.f64 (*.f64 x 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 (*.f64 x x) (-.f64 1 (cos.f64 x))))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (/.f64 (*.f64 x x) (-.f64 1 (cos.f64 x))) 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 cbrt.f64 (*.f64 (pow.f64 (/.f64 x (-.f64 1 (cos.f64 x))) 3) (pow.f64 x 3)))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (/.f64 (*.f64 x x) (-.f64 1 (cos.f64 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (/.f64 (*.f64 x x) (-.f64 1 (cos.f64 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (/.f64 (*.f64 x x) (-.f64 1 (cos.f64 x))))))))) |
| 1× | egg-herbie |
| 729× | fma-def_binary64 |
| 521× | associate-*l*_binary64 |
| 506× | distribute-rgt-out_binary64 |
| 492× | unswap-sqr_binary64 |
| 441× | distribute-lft-out_binary64 |
Useful iterations: 3 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 53 | 345 |
| 1 | 131 | 339 |
| 2 | 310 | 335 |
| 3 | 889 | 333 |
| 4 | 3555 | 333 |
| 5 | 6455 | 333 |
| 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 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))))) |
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) |
(+.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 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 (fma.f64 x (*.f64 x 1/120) 1/6) (/.f64 2 x)) |
(fma.f64 x (fma.f64 (*.f64 x x) 1/120 1/6) (/.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 (fma.f64 x (*.f64 x 1/120) 1/6) (fma.f64 1/3024 (pow.f64 x 5) (/.f64 2 x))) |
(fma.f64 x (fma.f64 (*.f64 x x) 1/120 1/6) (fma.f64 1/3024 (pow.f64 x 5) (/.f64 2 x))) |
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 6) 1/3024 (*.f64 (pow.f64 x 4) 1/120))) |
(fma.f64 x (*.f64 x 1/6) (fma.f64 (pow.f64 x 4) 1/120 (fma.f64 (pow.f64 x 6) 1/3024 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 (/.f64 x (-.f64 1 (cos.f64 x))) x) |
(*.f64 x (/.f64 x (-.f64 1 (cos.f64 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 (/.f64 x (-.f64 1 (cos.f64 x))) x) |
(*.f64 x (/.f64 x (-.f64 1 (cos.f64 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 (/.f64 x (-.f64 1 (cos.f64 x))) x) |
(*.f64 x (/.f64 x (-.f64 1 (cos.f64 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 (/.f64 x (-.f64 1 (cos.f64 x))) x) |
(*.f64 x (/.f64 x (-.f64 1 (cos.f64 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 (/.f64 x (-.f64 1 (cos.f64 x))) x) |
(*.f64 x (/.f64 x (-.f64 1 (cos.f64 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 (/.f64 x (-.f64 1 (cos.f64 x))) x) |
(*.f64 x (/.f64 x (-.f64 1 (cos.f64 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 (/.f64 x (-.f64 1 (cos.f64 x))) x) |
(*.f64 x (/.f64 x (-.f64 1 (cos.f64 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 (/.f64 x (-.f64 1 (cos.f64 x))) x) |
(*.f64 x (/.f64 x (-.f64 1 (cos.f64 x)))) |
Found 3 expressions with local error:
| New | Error | Program |
|---|---|---|
| ✓ | 0.4b | (/.f64 1 (*.f64 x (neg.f64 x))) |
| 2.0b | (-.f64 1 (cos.f64 x)) | |
| ✓ | 17.8b | (*.f64 (neg.f64 (-.f64 1 (cos.f64 x))) (/.f64 1 (*.f64 x (neg.f64 x)))) |
Compiled 38 to 18 computations (52.6% saved)
6 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 6.0ms | x | @ | inf | (*.f64 (neg.f64 (-.f64 1 (cos.f64 x))) (/.f64 1 (*.f64 x (neg.f64 x)))) |
| 1.0ms | x | @ | -inf | (*.f64 (neg.f64 (-.f64 1 (cos.f64 x))) (/.f64 1 (*.f64 x (neg.f64 x)))) |
| 1.0ms | x | @ | 0 | (*.f64 (neg.f64 (-.f64 1 (cos.f64 x))) (/.f64 1 (*.f64 x (neg.f64 x)))) |
| 0.0ms | x | @ | 0 | (/.f64 1 (*.f64 x (neg.f64 x))) |
| 0.0ms | x | @ | inf | (/.f64 1 (*.f64 x (neg.f64 x))) |
| 1× | batch-egg-rewrite |
| 877× | pow1_binary64 |
| 816× | add-log-exp_binary64 |
| 816× | log1p-expm1-u_binary64 |
| 816× | expm1-log1p-u_binary64 |
| 108× | add-sqr-sqrt_binary64 |
Useful iterations: 1 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 10 | 25 |
| 1 | 218 | 19 |
| 2 | 3165 | 19 |
| 1× | node limit |
| Inputs |
|---|
(*.f64 (neg.f64 (-.f64 1 (cos.f64 x))) (/.f64 1 (*.f64 x (neg.f64 x)))) |
(/.f64 1 (*.f64 x (neg.f64 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 (exp.f64 (log1p.f64 (/.f64 (+.f64 -1 (cos.f64 x)) (*.f64 x x)))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (/.f64 0 (*.f64 x x)) (/.f64 (+.f64 -1 (cos.f64 x)) (*.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 (pow.f64 (cbrt.f64 (+.f64 -1 (cos.f64 x))) 2) (/.f64 (*.f64 x x) (cbrt.f64 (+.f64 -1 (cos.f64 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (sqrt.f64 (+.f64 -1 (cos.f64 x))) (/.f64 (*.f64 x x) (sqrt.f64 (+.f64 -1 (cos.f64 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 (-.f64 1 (pow.f64 (cos.f64 x) 3)) 1) (*.f64 (+.f64 1 (fma.f64 (cos.f64 x) (cos.f64 x) (cos.f64 x))) (*.f64 x x)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (*.f64 (sin.f64 x) (sin.f64 x)) 1) (*.f64 (+.f64 1 (cos.f64 x)) (*.f64 x x)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (-.f64 1 (pow.f64 (cos.f64 x) 3)) -1) (*.f64 (+.f64 1 (fma.f64 (cos.f64 x) (cos.f64 x) (cos.f64 x))) (*.f64 x x)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (*.f64 (sin.f64 x) (sin.f64 x)) -1) (*.f64 (+.f64 1 (cos.f64 x)) (*.f64 x x)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (-.f64 1 (pow.f64 (cos.f64 x) 3)) (/.f64 1 x)) (*.f64 (+.f64 1 (fma.f64 (cos.f64 x) (cos.f64 x) (cos.f64 x))) x))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (*.f64 (sin.f64 x) (sin.f64 x)) (/.f64 1 x)) (*.f64 (+.f64 1 (cos.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 (/.f64 (+.f64 -1 (cos.f64 x)) 1) (*.f64 x x))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (/.f64 (+.f64 -1 (cos.f64 x)) (cbrt.f64 (pow.f64 (*.f64 x x) 2))) (pow.f64 (cbrt.f64 x) 2))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (-.f64 1 (pow.f64 (cos.f64 x) 3)) (/.f64 1 (*.f64 x x))) (+.f64 1 (fma.f64 (cos.f64 x) (cos.f64 x) (cos.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (*.f64 (sin.f64 x) (sin.f64 x)) (/.f64 1 (*.f64 x x))) (+.f64 1 (cos.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (/.f64 1 x) (+.f64 -1 (cos.f64 x))) x)))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (+.f64 -1 (cos.f64 x)) (/.f64 1 x)) x)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 (+.f64 -1 (cos.f64 x)) (*.f64 x x)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (/.f64 (+.f64 -1 (cos.f64 x)) (*.f64 x x)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (/.f64 (+.f64 -1 (cos.f64 x)) (*.f64 x x))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 (sqrt.f64 (+.f64 -1 (cos.f64 x))) x) 2)))) (#(struct:change #<rule egg-rr> (2) ((x neg.f64 (/.f64 (+.f64 -1 (cos.f64 x)) (*.f64 x x)))))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (/.f64 (+.f64 -1 (cos.f64 x)) (*.f64 x x)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (/.f64 (+.f64 -1 (cos.f64 x)) (*.f64 x x))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (/.f64 (+.f64 -1 (cos.f64 x)) (*.f64 x x)))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (/.f64 (+.f64 -1 (cos.f64 x)) (*.f64 x x)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (/.f64 (pow.f64 (+.f64 -1 (cos.f64 x)) 3) (pow.f64 (*.f64 x x) 3)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (*.f64 (pow.f64 (+.f64 -1 (cos.f64 x)) 3) (pow.f64 (/.f64 1 (*.f64 x x)) 3)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (*.f64 (pow.f64 (/.f64 1 (*.f64 x x)) 3) (pow.f64 (+.f64 -1 (cos.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 -.f64 (exp.f64 (log1p.f64 (/.f64 1 (*.f64 x x)))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (/.f64 1 (*.f64 x x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 1 (*.f64 x x)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 1 (pow.f64 (cbrt.f64 x) 2)) (cbrt.f64 (pow.f64 (*.f64 x x) -2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (pow.f64 (*.f64 x x) -2)) (/.f64 1 (pow.f64 (cbrt.f64 x) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 -1 (/.f64 1 (*.f64 x x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 1 x) (/.f64 1 x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (pow.f64 (*.f64 x x) 2)) -1) (pow.f64 (pow.f64 (cbrt.f64 x) 2) -1))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 x x) -1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 1 (*.f64 x x)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (/.f64 1 (*.f64 x x)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 1 (pow.f64 (cbrt.f64 x) 2)) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 1 x) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (*.f64 x x) -2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (/.f64 1 (*.f64 x x))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (/.f64 1 (*.f64 x x)))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (/.f64 1 (*.f64 x x)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (/.f64 1 (*.f64 x x))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (/.f64 1 (*.f64 x x))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (neg.f64 (log.f64 (*.f64 x x)))))))) |
| 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) |
Compiled 10830 to 6594 computations (39.1% saved)
18 alts after pruning (11 fresh and 7 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 655 | 9 | 664 |
| Fresh | 7 | 2 | 9 |
| Picked | 1 | 0 | 1 |
| Done | 2 | 7 | 9 |
| Total | 665 | 18 | 683 |
| Status | Error | Program |
|---|---|---|
| 33.5b | (-.f64 (/.f64 (/.f64 1 x) x) (/.f64 (/.f64 (cos.f64 x) x) x)) | |
| ✓ | 33.2b | (/.f64 (/.f64 (-.f64 1 (cos.f64 x)) x) x) |
| ✓ | 33.5b | (/.f64 1 (*.f64 x (/.f64 x (-.f64 1 (cos.f64 x))))) |
| 33.7b | (*.f64 (/.f64 (/.f64 1 x) x) (-.f64 1 (cos.f64 x))) | |
| 33.2b | (pow.f64 (/.f64 (sqrt.f64 (-.f64 1 (cos.f64 x))) x) 2) | |
| 34.1b | (*.f64 (/.f64 1 (*.f64 x x)) (-.f64 1 (cos.f64 x))) | |
| 45.8b | (/.f64 (/.f64 (*.f64 1/2 (*.f64 x x)) x) x) | |
| ✓ | 29.1b | (+.f64 (-.f64 (+.f64 1 (*.f64 -1/24 (*.f64 x x))) 1) 1/2) |
| 33.5b | (/.f64 1 (/.f64 x (/.f64 (-.f64 1 (cos.f64 x)) x))) | |
| 11.8b | (/.f64 1 (*.f64 x (+.f64 (*.f64 1/6 x) (*.f64 2 (/.f64 1 x))))) | |
| 46.0b | (/.f64 (*.f64 x (*.f64 x (+.f64 (*.f64 -1/24 (*.f64 x x)) 1/2))) (*.f64 x x)) | |
| ✓ | 28.9b | (+.f64 1/2 (+.f64 (+.f64 0 (*.f64 -1/24 (*.f64 x x))) (*.f64 1/720 (pow.f64 x 4)))) |
| 33.2b | (/.f64 (-.f64 (/.f64 1 x) (/.f64 (cos.f64 x) x)) x) | |
| ✓ | 29.1b | (+.f64 (*.f64 -1/24 (*.f64 x x)) 1/2) |
| ✓ | 17.2b | (/.f64 (*.f64 (tan.f64 (/.f64 x 2)) (sin.f64 x)) (*.f64 x x)) |
| 28.4b | 1/2 | |
| 46.8b | 0 | |
| ✓ | 34.0b | (/.f64 (-.f64 1 (cos.f64 x)) (*.f64 x x)) |
Compiled 188 to 134 computations (28.7% saved)
| Inputs |
|---|
1/2 |
0 |
1/2 |
1/2 |
(+.f64 (*.f64 -1/24 (*.f64 x x)) 1/2) |
(/.f64 (/.f64 (*.f64 1/2 (*.f64 x x)) x) x) |
(+.f64 (-.f64 (+.f64 1 (*.f64 -1/24 (*.f64 x x))) 1) 1/2) |
(/.f64 1 (*.f64 x (+.f64 (*.f64 1/6 x) (*.f64 2 (/.f64 1 x))))) |
(/.f64 (*.f64 x (*.f64 x (+.f64 (*.f64 -1/24 (*.f64 x x)) 1/2))) (*.f64 x 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)) |
(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 (pow.f64 x -2) (/.f64 1 (*.f64 x x))) |
(*.f64 (/.f64 (/.f64 1 x) x) (-.f64 1 (cos.f64 x))) |
(*.f64 (/.f64 1 (*.f64 x x)) (-.f64 1 (cos.f64 x))) |
(/.f64 1 (/.f64 x (/.f64 (-.f64 1 (cos.f64 x)) x))) |
(/.f64 (-.f64 (/.f64 1 x) (/.f64 (cos.f64 x) x)) x) |
(*.f64 (/.f64 (-.f64 1 (cos.f64 x)) x) (/.f64 1 x)) |
(/.f64 1 (*.f64 x (/.f64 x (-.f64 1 (cos.f64 x))))) |
(/.f64 (/.f64 1 x) (/.f64 x (-.f64 1 (cos.f64 x)))) |
(*.f64 (/.f64 (-.f64 1 (cos.f64 x)) x) (/.f64 1 x)) |
(-.f64 (/.f64 (/.f64 1 x) x) (/.f64 (/.f64 (cos.f64 x) x) x)) |
(*.f64 (neg.f64 (-.f64 1 (cos.f64 x))) (/.f64 1 (*.f64 x (neg.f64 x)))) |
(/.f64 (*.f64 x (*.f64 x (fma.f64 -1/24 (*.f64 x x) 1/2))) (*.f64 x x)) |
(+.f64 1/2 (+.f64 (+.f64 0 (*.f64 -1/24 (*.f64 x x))) (*.f64 1/720 (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 (/.f64 (cos.f64 x) x) x)) |
(-.f64 (pow.f64 x -2) (/.f64 (cos.f64 x) (*.f64 x x))) |
(pow.f64 (/.f64 x (/.f64 (-.f64 1 (cos.f64 x)) x)) -1) |
(*.f64 (/.f64 (sin.f64 x) (*.f64 x x)) (tan.f64 (/.f64 x 2))) |
(/.f64 (*.f64 (tan.f64 (/.f64 x 2)) (sin.f64 x)) (*.f64 x x)) |
(pow.f64 (/.f64 x (-.f64 (/.f64 1 x) (/.f64 (cos.f64 x) x))) -1) |
(+.f64 1/2 (+.f64 (*.f64 -1/24 (pow.f64 x 2)) (*.f64 1/720 (pow.f64 x 4)))) |
(/.f64 (/.f64 (/.f64 (-.f64 1 (cos.f64 (+.f64 x x))) 2) (+.f64 1 (cos.f64 x))) (*.f64 x x)) |
(pow.f64 (/.f64 (sqrt.f64 (-.f64 1 (cos.f64 x))) x) 2) |
(/.f64 (exp.f64 (log1p.f64 (neg.f64 (cos.f64 x)))) (*.f64 x x)) |
(/.f64 (exp.f64 (log1p.f64 (neg.f64 (cos.f64 x)))) (*.f64 x x)) |
(pow.f64 (/.f64 (sqrt.f64 (-.f64 1 (cos.f64 x))) x) 2) |
(/.f64 (log.f64 (exp.f64 (-.f64 1 (cos.f64 x)))) (*.f64 x x)) |
(-.f64 (pow.f64 x -2) (*.f64 (cos.f64 x) (pow.f64 x -2))) |
(/.f64 (/.f64 (*.f64 (sin.f64 x) (sin.f64 x)) (+.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)) |
| Outputs |
|---|
(-.f64 (pow.f64 x -2) (*.f64 (cos.f64 x) (pow.f64 x -2))) |
(+.f64 1/2 (+.f64 (+.f64 0 (*.f64 -1/24 (*.f64 x x))) (*.f64 1/720 (pow.f64 x 4)))) |
(/.f64 (*.f64 (tan.f64 (/.f64 x 2)) (sin.f64 x)) (*.f64 x x)) |
3 calls:
| 251.0ms | x |
| 29.0ms | (/.f64 (-.f64 1 (cos.f64 x)) (*.f64 x x)) |
| 19.0ms | (/.f64 (-.f64 1 (cos.f64 x)) (*.f64 x x)) |
| Error | Segments | Branch |
|---|---|---|
| 0.2b | 3 | x |
| 0.4b | 2 | (/.f64 (-.f64 1 (cos.f64 x)) (*.f64 x x)) |
| 0.4b | 2 | (/.f64 (-.f64 1 (cos.f64 x)) (*.f64 x x)) |
Compiled 461 to 255 computations (44.7% saved)
| 2× | binary-search |
| Time | Left | Right |
|---|---|---|
| 43.0ms | 1.2754132945467591e-5 | 0.0038429952274706726 |
| 40.0ms | -753.3516174146289 | -0.0020696513194771566 |
Compiled 13 to 9 computations (30.8% saved)
| Inputs |
|---|
1/2 |
0 |
1/2 |
1/2 |
(+.f64 (*.f64 -1/24 (*.f64 x x)) 1/2) |
(/.f64 (/.f64 (*.f64 1/2 (*.f64 x x)) x) x) |
(+.f64 (-.f64 (+.f64 1 (*.f64 -1/24 (*.f64 x x))) 1) 1/2) |
(/.f64 1 (*.f64 x (+.f64 (*.f64 1/6 x) (*.f64 2 (/.f64 1 x))))) |
(/.f64 (*.f64 x (*.f64 x (+.f64 (*.f64 -1/24 (*.f64 x x)) 1/2))) (*.f64 x 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)) |
(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 (pow.f64 x -2) (/.f64 1 (*.f64 x x))) |
(*.f64 (/.f64 (/.f64 1 x) x) (-.f64 1 (cos.f64 x))) |
(*.f64 (/.f64 1 (*.f64 x x)) (-.f64 1 (cos.f64 x))) |
(/.f64 1 (/.f64 x (/.f64 (-.f64 1 (cos.f64 x)) x))) |
(/.f64 (-.f64 (/.f64 1 x) (/.f64 (cos.f64 x) x)) x) |
(*.f64 (/.f64 (-.f64 1 (cos.f64 x)) x) (/.f64 1 x)) |
(/.f64 1 (*.f64 x (/.f64 x (-.f64 1 (cos.f64 x))))) |
(/.f64 (/.f64 1 x) (/.f64 x (-.f64 1 (cos.f64 x)))) |
(*.f64 (/.f64 (-.f64 1 (cos.f64 x)) x) (/.f64 1 x)) |
(-.f64 (/.f64 (/.f64 1 x) x) (/.f64 (/.f64 (cos.f64 x) x) x)) |
(*.f64 (neg.f64 (-.f64 1 (cos.f64 x))) (/.f64 1 (*.f64 x (neg.f64 x)))) |
(/.f64 (*.f64 x (*.f64 x (fma.f64 -1/24 (*.f64 x x) 1/2))) (*.f64 x x)) |
(+.f64 1/2 (+.f64 (+.f64 0 (*.f64 -1/24 (*.f64 x x))) (*.f64 1/720 (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 (/.f64 (cos.f64 x) x) x)) |
(-.f64 (pow.f64 x -2) (/.f64 (cos.f64 x) (*.f64 x x))) |
(pow.f64 (/.f64 x (/.f64 (-.f64 1 (cos.f64 x)) x)) -1) |
(*.f64 (/.f64 (sin.f64 x) (*.f64 x x)) (tan.f64 (/.f64 x 2))) |
(/.f64 (*.f64 (tan.f64 (/.f64 x 2)) (sin.f64 x)) (*.f64 x x)) |
(pow.f64 (/.f64 x (-.f64 (/.f64 1 x) (/.f64 (cos.f64 x) x))) -1) |
(+.f64 1/2 (+.f64 (*.f64 -1/24 (pow.f64 x 2)) (*.f64 1/720 (pow.f64 x 4)))) |
(/.f64 (/.f64 (/.f64 (-.f64 1 (cos.f64 (+.f64 x x))) 2) (+.f64 1 (cos.f64 x))) (*.f64 x x)) |
(pow.f64 (/.f64 (sqrt.f64 (-.f64 1 (cos.f64 x))) x) 2) |
(/.f64 (exp.f64 (log1p.f64 (neg.f64 (cos.f64 x)))) (*.f64 x x)) |
(/.f64 (exp.f64 (log1p.f64 (neg.f64 (cos.f64 x)))) (*.f64 x x)) |
(pow.f64 (/.f64 (sqrt.f64 (-.f64 1 (cos.f64 x))) x) 2) |
(/.f64 (log.f64 (exp.f64 (-.f64 1 (cos.f64 x)))) (*.f64 x x)) |
| Outputs |
|---|
(/.f64 (/.f64 (-.f64 1 (cos.f64 x)) x) x) |
(+.f64 1/2 (+.f64 (+.f64 0 (*.f64 -1/24 (*.f64 x x))) (*.f64 1/720 (pow.f64 x 4)))) |
(/.f64 (*.f64 (tan.f64 (/.f64 x 2)) (sin.f64 x)) (*.f64 x x)) |
3 calls:
| 70.0ms | x |
| 23.0ms | (/.f64 (-.f64 1 (cos.f64 x)) (*.f64 x x)) |
| 22.0ms | (/.f64 (-.f64 1 (cos.f64 x)) (*.f64 x x)) |
| Error | Segments | Branch |
|---|---|---|
| 0.2b | 3 | x |
| 0.4b | 2 | (/.f64 (-.f64 1 (cos.f64 x)) (*.f64 x x)) |
| 0.4b | 2 | (/.f64 (-.f64 1 (cos.f64 x)) (*.f64 x x)) |
Compiled 421 to 238 computations (43.5% saved)
| 2× | binary-search |
| Time | Left | Right |
|---|---|---|
| 23.0ms | 1.2754132945467591e-5 | 0.0038429952274706726 |
| 25.0ms | -753.3516174146289 | -0.0020696513194771566 |
Compiled 13 to 9 computations (30.8% saved)
| Inputs |
|---|
1/2 |
0 |
1/2 |
1/2 |
(+.f64 (*.f64 -1/24 (*.f64 x x)) 1/2) |
(/.f64 (/.f64 (*.f64 1/2 (*.f64 x x)) x) x) |
(+.f64 (-.f64 (+.f64 1 (*.f64 -1/24 (*.f64 x x))) 1) 1/2) |
(/.f64 1 (*.f64 x (+.f64 (*.f64 1/6 x) (*.f64 2 (/.f64 1 x))))) |
(/.f64 (*.f64 x (*.f64 x (+.f64 (*.f64 -1/24 (*.f64 x x)) 1/2))) (*.f64 x 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)) |
(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 (pow.f64 x -2) (/.f64 1 (*.f64 x x))) |
(*.f64 (/.f64 (/.f64 1 x) x) (-.f64 1 (cos.f64 x))) |
(*.f64 (/.f64 1 (*.f64 x x)) (-.f64 1 (cos.f64 x))) |
(/.f64 1 (/.f64 x (/.f64 (-.f64 1 (cos.f64 x)) x))) |
(/.f64 (-.f64 (/.f64 1 x) (/.f64 (cos.f64 x) x)) x) |
(*.f64 (/.f64 (-.f64 1 (cos.f64 x)) x) (/.f64 1 x)) |
(/.f64 1 (*.f64 x (/.f64 x (-.f64 1 (cos.f64 x))))) |
(/.f64 (/.f64 1 x) (/.f64 x (-.f64 1 (cos.f64 x)))) |
(*.f64 (/.f64 (-.f64 1 (cos.f64 x)) x) (/.f64 1 x)) |
(-.f64 (/.f64 (/.f64 1 x) x) (/.f64 (/.f64 (cos.f64 x) x) x)) |
(*.f64 (neg.f64 (-.f64 1 (cos.f64 x))) (/.f64 1 (*.f64 x (neg.f64 x)))) |
(/.f64 (*.f64 x (*.f64 x (fma.f64 -1/24 (*.f64 x x) 1/2))) (*.f64 x x)) |
(+.f64 1/2 (+.f64 (+.f64 0 (*.f64 -1/24 (*.f64 x x))) (*.f64 1/720 (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 (/.f64 (cos.f64 x) x) x)) |
(-.f64 (pow.f64 x -2) (/.f64 (cos.f64 x) (*.f64 x x))) |
(pow.f64 (/.f64 x (/.f64 (-.f64 1 (cos.f64 x)) x)) -1) |
(*.f64 (/.f64 (sin.f64 x) (*.f64 x x)) (tan.f64 (/.f64 x 2))) |
| Outputs |
|---|
(/.f64 (/.f64 (-.f64 1 (cos.f64 x)) x) x) |
(+.f64 1/2 (+.f64 (+.f64 0 (*.f64 -1/24 (*.f64 x x))) (*.f64 1/720 (pow.f64 x 4)))) |
(*.f64 (/.f64 (sin.f64 x) (*.f64 x x)) (tan.f64 (/.f64 x 2))) |
3 calls:
| 41.0ms | x |
| 12.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.2b | 3 | x |
| 1.2b | 2 | (/.f64 (-.f64 1 (cos.f64 x)) (*.f64 x x)) |
| 1.2b | 2 | (/.f64 (-.f64 1 (cos.f64 x)) (*.f64 x x)) |
Compiled 322 to 185 computations (42.5% saved)
| 2× | binary-search |
| Time | Left | Right |
|---|---|---|
| 26.0ms | 0.0038429952274706726 | 471940232.7722814 |
| 26.0ms | -753.3516174146289 | -0.0020696513194771566 |
Compiled 13 to 9 computations (30.8% saved)
| Inputs |
|---|
1/2 |
0 |
1/2 |
1/2 |
(+.f64 (*.f64 -1/24 (*.f64 x x)) 1/2) |
(/.f64 (/.f64 (*.f64 1/2 (*.f64 x x)) x) x) |
(+.f64 (-.f64 (+.f64 1 (*.f64 -1/24 (*.f64 x x))) 1) 1/2) |
(/.f64 1 (*.f64 x (+.f64 (*.f64 1/6 x) (*.f64 2 (/.f64 1 x))))) |
(/.f64 (*.f64 x (*.f64 x (+.f64 (*.f64 -1/24 (*.f64 x x)) 1/2))) (*.f64 x 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)) |
(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 (pow.f64 x -2) (/.f64 1 (*.f64 x x))) |
(*.f64 (/.f64 (/.f64 1 x) x) (-.f64 1 (cos.f64 x))) |
(*.f64 (/.f64 1 (*.f64 x x)) (-.f64 1 (cos.f64 x))) |
(/.f64 1 (/.f64 x (/.f64 (-.f64 1 (cos.f64 x)) x))) |
(/.f64 (-.f64 (/.f64 1 x) (/.f64 (cos.f64 x) x)) x) |
(*.f64 (/.f64 (-.f64 1 (cos.f64 x)) x) (/.f64 1 x)) |
(/.f64 1 (*.f64 x (/.f64 x (-.f64 1 (cos.f64 x))))) |
(/.f64 (/.f64 1 x) (/.f64 x (-.f64 1 (cos.f64 x)))) |
(*.f64 (/.f64 (-.f64 1 (cos.f64 x)) x) (/.f64 1 x)) |
(-.f64 (/.f64 (/.f64 1 x) x) (/.f64 (/.f64 (cos.f64 x) x) x)) |
(*.f64 (neg.f64 (-.f64 1 (cos.f64 x))) (/.f64 1 (*.f64 x (neg.f64 x)))) |
(/.f64 (*.f64 x (*.f64 x (fma.f64 -1/24 (*.f64 x x) 1/2))) (*.f64 x x)) |
(+.f64 1/2 (+.f64 (+.f64 0 (*.f64 -1/24 (*.f64 x x))) (*.f64 1/720 (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 (/.f64 (cos.f64 x) x) x)) |
(-.f64 (pow.f64 x -2) (/.f64 (cos.f64 x) (*.f64 x x))) |
(pow.f64 (/.f64 x (/.f64 (-.f64 1 (cos.f64 x)) x)) -1) |
| Outputs |
|---|
(/.f64 (/.f64 (-.f64 1 (cos.f64 x)) x) x) |
(+.f64 1/2 (+.f64 (+.f64 0 (*.f64 -1/24 (*.f64 x x))) (*.f64 1/720 (pow.f64 x 4)))) |
(*.f64 (/.f64 (/.f64 1 x) x) (-.f64 1 (cos.f64 x))) |
3 calls:
| 39.0ms | x |
| 14.0ms | (/.f64 (-.f64 1 (cos.f64 x)) (*.f64 x x)) |
| 12.0ms | (/.f64 (-.f64 1 (cos.f64 x)) (*.f64 x x)) |
| Error | Segments | Branch |
|---|---|---|
| 0.2b | 3 | x |
| 0.5b | 3 | (/.f64 (-.f64 1 (cos.f64 x)) (*.f64 x x)) |
| 0.5b | 3 | (/.f64 (-.f64 1 (cos.f64 x)) (*.f64 x x)) |
Compiled 311 to 179 computations (42.4% saved)
| 2× | binary-search |
| Time | Left | Right |
|---|---|---|
| 26.0ms | 0.0038429952274706726 | 471940232.7722814 |
| 25.0ms | -753.3516174146289 | -0.0020696513194771566 |
Compiled 13 to 9 computations (30.8% saved)
| Inputs |
|---|
1/2 |
0 |
1/2 |
1/2 |
(+.f64 (*.f64 -1/24 (*.f64 x x)) 1/2) |
(/.f64 (/.f64 (*.f64 1/2 (*.f64 x x)) x) x) |
(+.f64 (-.f64 (+.f64 1 (*.f64 -1/24 (*.f64 x x))) 1) 1/2) |
(/.f64 1 (*.f64 x (+.f64 (*.f64 1/6 x) (*.f64 2 (/.f64 1 x))))) |
(/.f64 (*.f64 x (*.f64 x (+.f64 (*.f64 -1/24 (*.f64 x x)) 1/2))) (*.f64 x 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)) |
(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 (pow.f64 x -2) (/.f64 1 (*.f64 x x))) |
(*.f64 (/.f64 (/.f64 1 x) x) (-.f64 1 (cos.f64 x))) |
(*.f64 (/.f64 1 (*.f64 x x)) (-.f64 1 (cos.f64 x))) |
(/.f64 1 (/.f64 x (/.f64 (-.f64 1 (cos.f64 x)) x))) |
(/.f64 (-.f64 (/.f64 1 x) (/.f64 (cos.f64 x) x)) x) |
(*.f64 (/.f64 (-.f64 1 (cos.f64 x)) x) (/.f64 1 x)) |
(/.f64 1 (*.f64 x (/.f64 x (-.f64 1 (cos.f64 x))))) |
(/.f64 (/.f64 1 x) (/.f64 x (-.f64 1 (cos.f64 x)))) |
(*.f64 (/.f64 (-.f64 1 (cos.f64 x)) x) (/.f64 1 x)) |
(-.f64 (/.f64 (/.f64 1 x) x) (/.f64 (/.f64 (cos.f64 x) x) x)) |
(*.f64 (neg.f64 (-.f64 1 (cos.f64 x))) (/.f64 1 (*.f64 x (neg.f64 x)))) |
(/.f64 (*.f64 x (*.f64 x (fma.f64 -1/24 (*.f64 x x) 1/2))) (*.f64 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 x) x) (-.f64 1 (cos.f64 x))) |
3 calls:
| 32.0ms | x |
| 12.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 250 to 145 computations (42% saved)
| 2× | binary-search |
| Time | Left | Right |
|---|---|---|
| 26.0ms | 0.0038429952274706726 | 471940232.7722814 |
| 26.0ms | -753.3516174146289 | -0.0020696513194771566 |
Compiled 13 to 9 computations (30.8% saved)
| Inputs |
|---|
1/2 |
0 |
1/2 |
1/2 |
(+.f64 (*.f64 -1/24 (*.f64 x x)) 1/2) |
(/.f64 (/.f64 (*.f64 1/2 (*.f64 x x)) x) x) |
(+.f64 (-.f64 (+.f64 1 (*.f64 -1/24 (*.f64 x x))) 1) 1/2) |
(/.f64 1 (*.f64 x (+.f64 (*.f64 1/6 x) (*.f64 2 (/.f64 1 x))))) |
(/.f64 (*.f64 x (*.f64 x (+.f64 (*.f64 -1/24 (*.f64 x x)) 1/2))) (*.f64 x 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)) |
(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 (pow.f64 x -2) (/.f64 1 (*.f64 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) |
3 calls:
| 21.0ms | x |
| 9.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.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 132 to 80 computations (39.4% saved)
| 2× | binary-search |
| Time | Left | Right |
|---|---|---|
| 24.0ms | 0.0038429952274706726 | 471940232.7722814 |
| 25.0ms | -753.3516174146289 | -0.0020696513194771566 |
Compiled 13 to 9 computations (30.8% saved)
| Inputs |
|---|
1/2 |
0 |
1/2 |
1/2 |
(+.f64 (*.f64 -1/24 (*.f64 x x)) 1/2) |
(/.f64 (/.f64 (*.f64 1/2 (*.f64 x x)) x) x) |
(+.f64 (-.f64 (+.f64 1 (*.f64 -1/24 (*.f64 x x))) 1) 1/2) |
(/.f64 1 (*.f64 x (+.f64 (*.f64 1/6 x) (*.f64 2 (/.f64 1 x))))) |
(/.f64 (*.f64 x (*.f64 x (+.f64 (*.f64 -1/24 (*.f64 x x)) 1/2))) (*.f64 x 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)) |
(fma.f64 -1/24 (*.f64 x x) 1/2) |
| Outputs |
|---|
(/.f64 1 (*.f64 x (+.f64 (*.f64 1/6 x) (*.f64 2 (/.f64 1 x))))) |
1 calls:
| 8.0ms | x |
| Error | Segments | Branch |
|---|---|---|
| 11.8b | 1 | x |
Compiled 89 to 55 computations (38.2% saved)
| Inputs |
|---|
1/2 |
0 |
1/2 |
1/2 |
(+.f64 (*.f64 -1/24 (*.f64 x x)) 1/2) |
(/.f64 (/.f64 (*.f64 1/2 (*.f64 x x)) x) x) |
(+.f64 (-.f64 (+.f64 1 (*.f64 -1/24 (*.f64 x x))) 1) 1/2) |
| Outputs |
|---|
0 |
(+.f64 (*.f64 -1/24 (*.f64 x x)) 1/2) |
0 |
1 calls:
| 14.0ms | x |
| Error | Segments | Branch |
|---|---|---|
| 13.2b | 3 | x |
Compiled 34 to 23 computations (32.4% saved)
| 2× | binary-search |
| Time | Left | Right |
|---|---|---|
| 26.0ms | 0.0038429952274706726 | 471940232.7722814 |
| 26.0ms | -753.3516174146289 | -0.0020696513194771566 |
Compiled 13 to 9 computations (30.8% saved)
Total -48.6b remaining (-365.9%)
Threshold costs -48.6b (-365.9%)
| Inputs |
|---|
1/2 |
0 |
1/2 |
1/2 |
| Outputs |
|---|
0 |
1/2 |
0 |
1 calls:
| 11.0ms | x |
| Error | Segments | Branch |
|---|---|---|
| 13.3b | 3 | x |
Compiled 7 to 6 computations (14.3% saved)
| 2× | binary-search |
| Time | Left | Right |
|---|---|---|
| 54.0ms | 5.596090494016065e+71 | 2.9370042980227652e+88 |
| 26.0ms | -8.362066599189694e+88 | -2.8226336814427807e+53 |
Compiled 13 to 9 computations (30.8% saved)
| 1× | egg-herbie |
| 12× | *-commutative_binary64 |
| 10× | +-commutative_binary64 |
| 5× | sub-neg_binary64 |
| 3× | neg-sub0_binary64 |
| 3× | neg-mul-1_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 67 | 395 |
| 1 | 89 | 395 |
| 2 | 101 | 395 |
| 3 | 107 | 395 |
| 4 | 111 | 395 |
| 5 | 112 | 395 |
| 1× | fuel |
| 1× | saturated |
| Inputs |
|---|
(if (<=.f64 x -828318863151241/1099511627776) (-.f64 (pow.f64 x -2) (*.f64 (cos.f64 x) (pow.f64 x -2))) (if (<=.f64 x 7528711242467457/590295810358705651712) (+.f64 1/2 (+.f64 (+.f64 0 (*.f64 -1/24 (*.f64 x x))) (*.f64 1/720 (pow.f64 x 4)))) (/.f64 (*.f64 (tan.f64 (/.f64 x 2)) (sin.f64 x)) (*.f64 x x)))) |
(if (<=.f64 x -828318863151241/1099511627776) (/.f64 (/.f64 (-.f64 1 (cos.f64 x)) x) x) (if (<=.f64 x 7528711242467457/590295810358705651712) (+.f64 1/2 (+.f64 (+.f64 0 (*.f64 -1/24 (*.f64 x x))) (*.f64 1/720 (pow.f64 x 4)))) (/.f64 (*.f64 (tan.f64 (/.f64 x 2)) (sin.f64 x)) (*.f64 x x)))) |
(if (<=.f64 x -828318863151241/1099511627776) (/.f64 (/.f64 (-.f64 1 (cos.f64 x)) x) x) (if (<=.f64 x 1107667959963105/288230376151711744) (+.f64 1/2 (+.f64 (+.f64 0 (*.f64 -1/24 (*.f64 x x))) (*.f64 1/720 (pow.f64 x 4)))) (*.f64 (/.f64 (sin.f64 x) (*.f64 x x)) (tan.f64 (/.f64 x 2))))) |
(if (<=.f64 x -828318863151241/1099511627776) (/.f64 (/.f64 (-.f64 1 (cos.f64 x)) x) x) (if (<=.f64 x 1107667959963105/288230376151711744) (+.f64 1/2 (+.f64 (+.f64 0 (*.f64 -1/24 (*.f64 x x))) (*.f64 1/720 (pow.f64 x 4)))) (*.f64 (/.f64 (/.f64 1 x) x) (-.f64 1 (cos.f64 x))))) |
(if (<=.f64 x -828318863151241/1099511627776) (/.f64 (/.f64 (-.f64 1 (cos.f64 x)) x) x) (if (<=.f64 x 1107667959963105/288230376151711744) (+.f64 (*.f64 -1/24 (*.f64 x x)) 1/2) (*.f64 (/.f64 (/.f64 1 x) x) (-.f64 1 (cos.f64 x))))) |
(if (<=.f64 x -828318863151241/1099511627776) (/.f64 (/.f64 (-.f64 1 (cos.f64 x)) x) x) (if (<=.f64 x 1107667959963105/288230376151711744) (+.f64 (*.f64 -1/24 (*.f64 x x)) 1/2) (/.f64 (/.f64 (-.f64 1 (cos.f64 x)) x) x))) |
(/.f64 1 (*.f64 x (+.f64 (*.f64 1/6 x) (*.f64 2 (/.f64 1 x))))) |
(if (<=.f64 x -828318863151241/1099511627776) 0 (if (<=.f64 x 1107667959963105/288230376151711744) (+.f64 (*.f64 -1/24 (*.f64 x x)) 1/2) 0)) |
(if (<=.f64 x -83620665991896939575396643057828159782453430363731456802980644505786909389427802365755392) 0 (if (<=.f64 x 559609049401606473545637131277738700043853689409149670544721276647243776) 1/2 0)) |
1/2 |
| Outputs |
|---|
(if (<=.f64 x -828318863151241/1099511627776) (-.f64 (pow.f64 x -2) (*.f64 (cos.f64 x) (pow.f64 x -2))) (if (<=.f64 x 7528711242467457/590295810358705651712) (+.f64 1/2 (+.f64 (+.f64 0 (*.f64 -1/24 (*.f64 x x))) (*.f64 1/720 (pow.f64 x 4)))) (/.f64 (*.f64 (tan.f64 (/.f64 x 2)) (sin.f64 x)) (*.f64 x x)))) |
(if (<=.f64 x -828318863151241/1099511627776) (-.f64 (pow.f64 x -2) (*.f64 (pow.f64 x -2) (cos.f64 x))) (if (<=.f64 x 7528711242467457/590295810358705651712) (+.f64 1/2 (+.f64 (*.f64 -1/24 (*.f64 x x)) (*.f64 1/720 (pow.f64 x 4)))) (/.f64 (*.f64 (tan.f64 (/.f64 x 2)) (sin.f64 x)) (*.f64 x x)))) |
(if (<=.f64 x -828318863151241/1099511627776) (/.f64 (/.f64 (-.f64 1 (cos.f64 x)) x) x) (if (<=.f64 x 7528711242467457/590295810358705651712) (+.f64 1/2 (+.f64 (+.f64 0 (*.f64 -1/24 (*.f64 x x))) (*.f64 1/720 (pow.f64 x 4)))) (/.f64 (*.f64 (tan.f64 (/.f64 x 2)) (sin.f64 x)) (*.f64 x x)))) |
(if (<=.f64 x -828318863151241/1099511627776) (/.f64 (/.f64 (-.f64 1 (cos.f64 x)) x) x) (if (<=.f64 x 7528711242467457/590295810358705651712) (+.f64 1/2 (+.f64 (*.f64 -1/24 (*.f64 x x)) (*.f64 1/720 (pow.f64 x 4)))) (/.f64 (*.f64 (tan.f64 (/.f64 x 2)) (sin.f64 x)) (*.f64 x x)))) |
(if (<=.f64 x -828318863151241/1099511627776) (/.f64 (/.f64 (-.f64 1 (cos.f64 x)) x) x) (if (<=.f64 x 1107667959963105/288230376151711744) (+.f64 1/2 (+.f64 (+.f64 0 (*.f64 -1/24 (*.f64 x x))) (*.f64 1/720 (pow.f64 x 4)))) (*.f64 (/.f64 (sin.f64 x) (*.f64 x x)) (tan.f64 (/.f64 x 2))))) |
(if (<=.f64 x -828318863151241/1099511627776) (/.f64 (/.f64 (-.f64 1 (cos.f64 x)) x) x) (if (<=.f64 x 1107667959963105/288230376151711744) (+.f64 1/2 (+.f64 (*.f64 -1/24 (*.f64 x x)) (*.f64 1/720 (pow.f64 x 4)))) (*.f64 (tan.f64 (/.f64 x 2)) (/.f64 (sin.f64 x) (*.f64 x x))))) |
(if (<=.f64 x -828318863151241/1099511627776) (/.f64 (/.f64 (-.f64 1 (cos.f64 x)) x) x) (if (<=.f64 x 1107667959963105/288230376151711744) (+.f64 1/2 (+.f64 (+.f64 0 (*.f64 -1/24 (*.f64 x x))) (*.f64 1/720 (pow.f64 x 4)))) (*.f64 (/.f64 (/.f64 1 x) x) (-.f64 1 (cos.f64 x))))) |
(if (<=.f64 x -828318863151241/1099511627776) (/.f64 (/.f64 (-.f64 1 (cos.f64 x)) x) x) (if (<=.f64 x 1107667959963105/288230376151711744) (+.f64 1/2 (+.f64 (*.f64 -1/24 (*.f64 x x)) (*.f64 1/720 (pow.f64 x 4)))) (*.f64 (-.f64 1 (cos.f64 x)) (/.f64 (/.f64 1 x) x)))) |
(if (<=.f64 x -828318863151241/1099511627776) (/.f64 (/.f64 (-.f64 1 (cos.f64 x)) x) x) (if (<=.f64 x 1107667959963105/288230376151711744) (+.f64 (*.f64 -1/24 (*.f64 x x)) 1/2) (*.f64 (/.f64 (/.f64 1 x) x) (-.f64 1 (cos.f64 x))))) |
(if (<=.f64 x -828318863151241/1099511627776) (/.f64 (/.f64 (-.f64 1 (cos.f64 x)) x) x) (if (<=.f64 x 1107667959963105/288230376151711744) (+.f64 1/2 (*.f64 -1/24 (*.f64 x x))) (*.f64 (-.f64 1 (cos.f64 x)) (/.f64 (/.f64 1 x) x)))) |
(if (<=.f64 x -828318863151241/1099511627776) (/.f64 (/.f64 (-.f64 1 (cos.f64 x)) x) x) (if (<=.f64 x 1107667959963105/288230376151711744) (+.f64 (*.f64 -1/24 (*.f64 x x)) 1/2) (/.f64 (/.f64 (-.f64 1 (cos.f64 x)) x) x))) |
(if (<=.f64 x -828318863151241/1099511627776) (/.f64 (/.f64 (-.f64 1 (cos.f64 x)) x) x) (if (<=.f64 x 1107667959963105/288230376151711744) (+.f64 1/2 (*.f64 -1/24 (*.f64 x x))) (/.f64 (/.f64 (-.f64 1 (cos.f64 x)) x) x))) |
(/.f64 1 (*.f64 x (+.f64 (*.f64 1/6 x) (*.f64 2 (/.f64 1 x))))) |
(/.f64 1 (*.f64 x (+.f64 (*.f64 x 1/6) (*.f64 2 (/.f64 1 x))))) |
(if (<=.f64 x -828318863151241/1099511627776) 0 (if (<=.f64 x 1107667959963105/288230376151711744) (+.f64 (*.f64 -1/24 (*.f64 x x)) 1/2) 0)) |
(if (<=.f64 x -828318863151241/1099511627776) 0 (if (<=.f64 x 1107667959963105/288230376151711744) (+.f64 1/2 (*.f64 -1/24 (*.f64 x x))) 0)) |
(if (<=.f64 x -83620665991896939575396643057828159782453430363731456802980644505786909389427802365755392) 0 (if (<=.f64 x 559609049401606473545637131277738700043853689409149670544721276647243776) 1/2 0)) |
1/2 |
Compiled 277 to 195 computations (29.6% saved)
Compiled 268 to 173 computations (35.4% saved)
Loading profile data...