Time bar (total: 4.8s)
| 1× | search |
| Probability | Valid | Unknown | Precondition | Infinite | Domain | Can't | Iter |
|---|---|---|---|---|---|---|---|
| 0% | 0% | 49.6% | 50.4% | 0% | 0% | 0% | 0 |
| 100% | 49.6% | 0% | 50.4% | 0% | 0% | 0% | 1 |
Compiled 12 to 9 computations (25% saved)
| 3.2s | 4417× | body | 2048 | valid |
| 783.0ms | 2093× | body | 1024 | valid |
| 205.0ms | 1019× | body | 512 | valid |
| 79.0ms | 727× | body | 256 | valid |
| 2× | egg-herbie |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 7 | 11 |
| 0 | 1 | 1 |
| 1× | saturated |
| 1× | saturated |
| Inputs |
|---|
0 |
| Outputs |
|---|
0 |
| Inputs |
|---|
(-.f64 1 (cos.f64 x)) |
| Outputs |
|---|
(-.f64 1 (cos.f64 x)) |
Compiled 6 to 5 computations (16.7% saved)
| 1× | egg-herbie |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 7 | 11 |
| 1× | saturated |
| Inputs |
|---|
(-.f64 1 (cos.f64 x)) |
| Outputs |
|---|
(-.f64 1 (cos.f64 x)) |
Compiled 5 to 4 computations (20% 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 |
|---|---|---|
| ▶ | 33.0b | (-.f64 1 (cos.f64 x)) |
Compiled 5 to 4 computations (20% saved)
Found 1 expressions with local error:
| New | Error | Program |
|---|---|---|
| ✓ | 3.6b | (-.f64 1 (cos.f64 x)) |
Compiled 9 to 5 computations (44.4% saved)
3 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 0.0ms | x | @ | 0 | (-.f64 1 (cos.f64 x)) |
| 0.0ms | x | @ | inf | (-.f64 1 (cos.f64 x)) |
| 0.0ms | x | @ | -inf | (-.f64 1 (cos.f64 x)) |
| 1× | batch-egg-rewrite |
| 1028× | rational_best-simplify-51 |
| 956× | rational_best-simplify-47 |
| 866× | rational_best-2 |
| 866× | rational_best-1 |
| 862× | rational_best-3 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 7 | 11 |
| 1 | 43 | 11 |
| 2 | 68 | 11 |
| 3 | 125 | 11 |
| 4 | 281 | 11 |
| 5 | 550 | 11 |
| 6 | 1326 | 11 |
| 7 | 4740 | 11 |
| 1× | node limit |
| Inputs |
|---|
(-.f64 1 (cos.f64 x)) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x +.f64 1 (neg.f64 (cos.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (cos.f64 x) (+.f64 1 (*.f64 (cos.f64 x) -2)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 0 (-.f64 1 (cos.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (-.f64 1 (cos.f64 x)) 0)))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (neg.f64 (cos.f64 x)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (neg.f64 (cos.f64 x)) (+.f64 (*.f64 (cos.f64 x) 2) (+.f64 1 (*.f64 (cos.f64 x) -2))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 (cos.f64 x) 2) (+.f64 (neg.f64 (cos.f64 x)) (+.f64 1 (*.f64 (cos.f64 x) -2))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 (cos.f64 x) 2) (-.f64 1 (*.f64 (cos.f64 x) 3)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 (cos.f64 x) -2) (+.f64 1 (cos.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (+.f64 1 (*.f64 (cos.f64 x) -2)) (cos.f64 x))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 (cos.f64 x) 3) (-.f64 1 (*.f64 (cos.f64 x) 4)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 (cos.f64 x) 3) (+.f64 (*.f64 (cos.f64 x) -2) (+.f64 1 (*.f64 (cos.f64 x) -2))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 (cos.f64 x) -3) (-.f64 1 (*.f64 (cos.f64 x) -2)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (+.f64 1 (cos.f64 x)) (*.f64 (cos.f64 x) -2))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (-.f64 1 (*.f64 (cos.f64 x) 4)) (*.f64 (cos.f64 x) 3))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 (cos.f64 x) -4) (+.f64 1 (*.f64 (cos.f64 x) 3)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (+.f64 1 (*.f64 (cos.f64 x) 3)) (*.f64 (cos.f64 x) -4))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (+.f64 (neg.f64 (cos.f64 x)) (+.f64 1 (*.f64 (cos.f64 x) -2))) (*.f64 (cos.f64 x) 2))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (+.f64 (*.f64 (cos.f64 x) 2) (+.f64 1 (*.f64 (cos.f64 x) -2))) (neg.f64 (cos.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (+.f64 (*.f64 (cos.f64 x) -2) (+.f64 1 (*.f64 (cos.f64 x) -2))) (*.f64 (cos.f64 x) 3))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (-.f64 1 (*.f64 (cos.f64 x) -2)) (*.f64 (cos.f64 x) -3))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (-.f64 1 (*.f64 (cos.f64 x) 3)) (*.f64 (cos.f64 x) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (-.f64 1 (cos.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 (cos.f64 x) -1) -1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 -1 (+.f64 (cos.f64 x) -1))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (-.f64 1 (cos.f64 x)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (cos.f64 x) -1) -1)))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 1 (cos.f64 x)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (/.f64 (-.f64 1 (cos.f64 x)) -1) -1)))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 2 (*.f64 (cos.f64 x) -2)) 2)))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (+.f64 -1 (neg.f64 (cos.f64 x))) (*.f64 (cos.f64 x) -2)) -1)))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (+.f64 -1 (*.f64 (cos.f64 x) 4)) (*.f64 (cos.f64 x) 3)) -1)))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 2 (-.f64 (cos.f64 (neg.f64 (-.f64 (PI.f64) x))) (cos.f64 x))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 2 (+.f64 (neg.f64 (cos.f64 x)) (cos.f64 (neg.f64 (-.f64 (PI.f64) x))))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 -1 (/.f64 (-.f64 1 (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 neg.f64 (+.f64 (cos.f64 x) -1))))) (#(struct:change #<rule egg-rr> (2) ((x neg.f64 (/.f64 (-.f64 1 (cos.f64 x)) -1)))))) |
| 1× | egg-herbie |
| 1196× | rational_best-simplify-1 |
| 1048× | rational_best-simplify-2 |
| 680× | rational_best-simplify-43 |
| 616× | rational_best-simplify-46 |
| 546× | rational_best-simplify-49 |
Useful iterations: 2 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 106 | 814 |
| 1 | 187 | 678 |
| 2 | 304 | 670 |
| 3 | 452 | 670 |
| 4 | 856 | 670 |
| 5 | 1971 | 670 |
| 6 | 4448 | 670 |
| 7 | 5671 | 670 |
| 8 | 6291 | 670 |
| 9 | 6966 | 670 |
| 1× | node limit |
| Inputs |
|---|
(*.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 1 (neg.f64 (cos.f64 x))) |
(+.f64 (cos.f64 x) (+.f64 1 (*.f64 (cos.f64 x) -2))) |
(+.f64 0 (-.f64 1 (cos.f64 x))) |
(+.f64 (-.f64 1 (cos.f64 x)) 0) |
(+.f64 (neg.f64 (cos.f64 x)) 1) |
(+.f64 (neg.f64 (cos.f64 x)) (+.f64 (*.f64 (cos.f64 x) 2) (+.f64 1 (*.f64 (cos.f64 x) -2)))) |
(+.f64 (*.f64 (cos.f64 x) 2) (+.f64 (neg.f64 (cos.f64 x)) (+.f64 1 (*.f64 (cos.f64 x) -2)))) |
(+.f64 (*.f64 (cos.f64 x) 2) (-.f64 1 (*.f64 (cos.f64 x) 3))) |
(+.f64 (*.f64 (cos.f64 x) -2) (+.f64 1 (cos.f64 x))) |
(+.f64 (+.f64 1 (*.f64 (cos.f64 x) -2)) (cos.f64 x)) |
(+.f64 (*.f64 (cos.f64 x) 3) (-.f64 1 (*.f64 (cos.f64 x) 4))) |
(+.f64 (*.f64 (cos.f64 x) 3) (+.f64 (*.f64 (cos.f64 x) -2) (+.f64 1 (*.f64 (cos.f64 x) -2)))) |
(+.f64 (*.f64 (cos.f64 x) -3) (-.f64 1 (*.f64 (cos.f64 x) -2))) |
(+.f64 (+.f64 1 (cos.f64 x)) (*.f64 (cos.f64 x) -2)) |
(+.f64 (-.f64 1 (*.f64 (cos.f64 x) 4)) (*.f64 (cos.f64 x) 3)) |
(+.f64 (*.f64 (cos.f64 x) -4) (+.f64 1 (*.f64 (cos.f64 x) 3))) |
(+.f64 (+.f64 1 (*.f64 (cos.f64 x) 3)) (*.f64 (cos.f64 x) -4)) |
(+.f64 (+.f64 (neg.f64 (cos.f64 x)) (+.f64 1 (*.f64 (cos.f64 x) -2))) (*.f64 (cos.f64 x) 2)) |
(+.f64 (+.f64 (*.f64 (cos.f64 x) 2) (+.f64 1 (*.f64 (cos.f64 x) -2))) (neg.f64 (cos.f64 x))) |
(+.f64 (+.f64 (*.f64 (cos.f64 x) -2) (+.f64 1 (*.f64 (cos.f64 x) -2))) (*.f64 (cos.f64 x) 3)) |
(+.f64 (-.f64 1 (*.f64 (cos.f64 x) -2)) (*.f64 (cos.f64 x) -3)) |
(+.f64 (-.f64 1 (*.f64 (cos.f64 x) 3)) (*.f64 (cos.f64 x) 2)) |
(*.f64 1 (-.f64 1 (cos.f64 x))) |
(*.f64 (+.f64 (cos.f64 x) -1) -1) |
(*.f64 -1 (+.f64 (cos.f64 x) -1)) |
(*.f64 (-.f64 1 (cos.f64 x)) 1) |
(/.f64 (+.f64 (cos.f64 x) -1) -1) |
(/.f64 (-.f64 1 (cos.f64 x)) 1) |
(/.f64 (/.f64 (-.f64 1 (cos.f64 x)) -1) -1) |
(/.f64 (+.f64 2 (*.f64 (cos.f64 x) -2)) 2) |
(/.f64 (-.f64 (+.f64 -1 (neg.f64 (cos.f64 x))) (*.f64 (cos.f64 x) -2)) -1) |
(/.f64 (-.f64 (+.f64 -1 (*.f64 (cos.f64 x) 4)) (*.f64 (cos.f64 x) 3)) -1) |
(/.f64 (+.f64 2 (-.f64 (cos.f64 (neg.f64 (-.f64 (PI.f64) x))) (cos.f64 x))) 2) |
(/.f64 (+.f64 2 (+.f64 (neg.f64 (cos.f64 x)) (cos.f64 (neg.f64 (-.f64 (PI.f64) x))))) 2) |
(/.f64 (*.f64 -1 (/.f64 (-.f64 1 (cos.f64 x)) -1)) 1) |
(pow.f64 (-.f64 1 (cos.f64 x)) 1) |
(neg.f64 (+.f64 (cos.f64 x) -1)) |
(neg.f64 (/.f64 (-.f64 1 (cos.f64 x)) -1)) |
| Outputs |
|---|
(*.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/24 (pow.f64 x 4)) (+.f64 (*.f64 1/2 (pow.f64 x 2)) (*.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 1/2 (pow.f64 x 2)) (+.f64 (*.f64 -1/40320 (pow.f64 x 8)) (+.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 (*.f64 -1/24 (pow.f64 x 4)) (*.f64 1/720 (pow.f64 x 6))) (*.f64 -1/40320 (pow.f64 x 8)))) |
(+.f64 (*.f64 -1/24 (pow.f64 x 4)) (+.f64 (*.f64 1/2 (pow.f64 x 2)) (+.f64 (*.f64 1/720 (pow.f64 x 6)) (*.f64 -1/40320 (pow.f64 x 8))))) |
(+.f64 1 (neg.f64 (cos.f64 x))) |
(-.f64 1 (cos.f64 x)) |
(+.f64 (cos.f64 x) (+.f64 1 (*.f64 (cos.f64 x) -2))) |
(+.f64 1 (neg.f64 (cos.f64 x))) |
(-.f64 1 (cos.f64 x)) |
(+.f64 0 (-.f64 1 (cos.f64 x))) |
(+.f64 1 (neg.f64 (cos.f64 x))) |
(-.f64 1 (cos.f64 x)) |
(+.f64 (-.f64 1 (cos.f64 x)) 0) |
(+.f64 1 (neg.f64 (cos.f64 x))) |
(-.f64 1 (cos.f64 x)) |
(+.f64 (neg.f64 (cos.f64 x)) 1) |
(+.f64 1 (neg.f64 (cos.f64 x))) |
(-.f64 1 (cos.f64 x)) |
(+.f64 (neg.f64 (cos.f64 x)) (+.f64 (*.f64 (cos.f64 x) 2) (+.f64 1 (*.f64 (cos.f64 x) -2)))) |
(+.f64 1 (neg.f64 (cos.f64 x))) |
(-.f64 1 (cos.f64 x)) |
(+.f64 (*.f64 (cos.f64 x) 2) (+.f64 (neg.f64 (cos.f64 x)) (+.f64 1 (*.f64 (cos.f64 x) -2)))) |
(+.f64 1 (neg.f64 (cos.f64 x))) |
(-.f64 1 (cos.f64 x)) |
(+.f64 (*.f64 (cos.f64 x) 2) (-.f64 1 (*.f64 (cos.f64 x) 3))) |
(+.f64 (*.f64 2 (cos.f64 x)) (-.f64 1 (*.f64 (cos.f64 x) 3))) |
(+.f64 (*.f64 (cos.f64 x) -2) (+.f64 1 (cos.f64 x))) |
(+.f64 1 (neg.f64 (cos.f64 x))) |
(-.f64 1 (cos.f64 x)) |
(+.f64 (+.f64 1 (*.f64 (cos.f64 x) -2)) (cos.f64 x)) |
(+.f64 1 (neg.f64 (cos.f64 x))) |
(-.f64 1 (cos.f64 x)) |
(+.f64 (*.f64 (cos.f64 x) 3) (-.f64 1 (*.f64 (cos.f64 x) 4))) |
(+.f64 1 (neg.f64 (cos.f64 x))) |
(-.f64 1 (cos.f64 x)) |
(+.f64 (*.f64 (cos.f64 x) 3) (+.f64 (*.f64 (cos.f64 x) -2) (+.f64 1 (*.f64 (cos.f64 x) -2)))) |
(+.f64 1 (neg.f64 (cos.f64 x))) |
(-.f64 1 (cos.f64 x)) |
(+.f64 (*.f64 (cos.f64 x) -3) (-.f64 1 (*.f64 (cos.f64 x) -2))) |
(+.f64 1 (neg.f64 (cos.f64 x))) |
(-.f64 1 (cos.f64 x)) |
(+.f64 (+.f64 1 (cos.f64 x)) (*.f64 (cos.f64 x) -2)) |
(+.f64 1 (neg.f64 (cos.f64 x))) |
(-.f64 1 (cos.f64 x)) |
(+.f64 (-.f64 1 (*.f64 (cos.f64 x) 4)) (*.f64 (cos.f64 x) 3)) |
(+.f64 1 (neg.f64 (cos.f64 x))) |
(-.f64 1 (cos.f64 x)) |
(+.f64 (*.f64 (cos.f64 x) -4) (+.f64 1 (*.f64 (cos.f64 x) 3))) |
(+.f64 1 (neg.f64 (cos.f64 x))) |
(-.f64 1 (cos.f64 x)) |
(+.f64 (+.f64 1 (*.f64 (cos.f64 x) 3)) (*.f64 (cos.f64 x) -4)) |
(+.f64 1 (neg.f64 (cos.f64 x))) |
(-.f64 1 (cos.f64 x)) |
(+.f64 (+.f64 (neg.f64 (cos.f64 x)) (+.f64 1 (*.f64 (cos.f64 x) -2))) (*.f64 (cos.f64 x) 2)) |
(+.f64 1 (neg.f64 (cos.f64 x))) |
(-.f64 1 (cos.f64 x)) |
(+.f64 (+.f64 (*.f64 (cos.f64 x) 2) (+.f64 1 (*.f64 (cos.f64 x) -2))) (neg.f64 (cos.f64 x))) |
(+.f64 1 (neg.f64 (cos.f64 x))) |
(-.f64 1 (cos.f64 x)) |
(+.f64 (+.f64 (*.f64 (cos.f64 x) -2) (+.f64 1 (*.f64 (cos.f64 x) -2))) (*.f64 (cos.f64 x) 3)) |
(+.f64 1 (neg.f64 (cos.f64 x))) |
(-.f64 1 (cos.f64 x)) |
(+.f64 (-.f64 1 (*.f64 (cos.f64 x) -2)) (*.f64 (cos.f64 x) -3)) |
(+.f64 1 (neg.f64 (cos.f64 x))) |
(-.f64 1 (cos.f64 x)) |
(+.f64 (-.f64 1 (*.f64 (cos.f64 x) 3)) (*.f64 (cos.f64 x) 2)) |
(+.f64 (*.f64 2 (cos.f64 x)) (-.f64 1 (*.f64 (cos.f64 x) 3))) |
(*.f64 1 (-.f64 1 (cos.f64 x))) |
(+.f64 1 (neg.f64 (cos.f64 x))) |
(-.f64 1 (cos.f64 x)) |
(*.f64 (+.f64 (cos.f64 x) -1) -1) |
(+.f64 1 (neg.f64 (cos.f64 x))) |
(-.f64 1 (cos.f64 x)) |
(*.f64 -1 (+.f64 (cos.f64 x) -1)) |
(+.f64 1 (neg.f64 (cos.f64 x))) |
(-.f64 1 (cos.f64 x)) |
(*.f64 (-.f64 1 (cos.f64 x)) 1) |
(+.f64 1 (neg.f64 (cos.f64 x))) |
(-.f64 1 (cos.f64 x)) |
(/.f64 (+.f64 (cos.f64 x) -1) -1) |
(+.f64 1 (neg.f64 (cos.f64 x))) |
(-.f64 1 (cos.f64 x)) |
(/.f64 (-.f64 1 (cos.f64 x)) 1) |
(+.f64 1 (neg.f64 (cos.f64 x))) |
(-.f64 1 (cos.f64 x)) |
(/.f64 (/.f64 (-.f64 1 (cos.f64 x)) -1) -1) |
(+.f64 1 (neg.f64 (cos.f64 x))) |
(-.f64 1 (cos.f64 x)) |
(/.f64 (+.f64 2 (*.f64 (cos.f64 x) -2)) 2) |
(+.f64 1 (neg.f64 (cos.f64 x))) |
(-.f64 1 (cos.f64 x)) |
(/.f64 (-.f64 (+.f64 -1 (neg.f64 (cos.f64 x))) (*.f64 (cos.f64 x) -2)) -1) |
(+.f64 1 (neg.f64 (cos.f64 x))) |
(-.f64 1 (cos.f64 x)) |
(/.f64 (-.f64 (+.f64 -1 (*.f64 (cos.f64 x) 4)) (*.f64 (cos.f64 x) 3)) -1) |
(+.f64 1 (neg.f64 (cos.f64 x))) |
(-.f64 1 (cos.f64 x)) |
(/.f64 (+.f64 2 (-.f64 (cos.f64 (neg.f64 (-.f64 (PI.f64) x))) (cos.f64 x))) 2) |
(+.f64 1 (/.f64 (-.f64 (cos.f64 (neg.f64 (-.f64 (PI.f64) x))) (cos.f64 x)) 2)) |
(+.f64 1 (/.f64 (-.f64 (cos.f64 (-.f64 x (PI.f64))) (cos.f64 x)) 2)) |
(+.f64 1 (/.f64 (-.f64 (cos.f64 (-.f64 (PI.f64) x)) (cos.f64 x)) 2)) |
(/.f64 (+.f64 2 (+.f64 (neg.f64 (cos.f64 x)) (cos.f64 (neg.f64 (-.f64 (PI.f64) x))))) 2) |
(+.f64 1 (/.f64 (-.f64 (cos.f64 (neg.f64 (-.f64 (PI.f64) x))) (cos.f64 x)) 2)) |
(+.f64 1 (/.f64 (-.f64 (cos.f64 (-.f64 x (PI.f64))) (cos.f64 x)) 2)) |
(+.f64 1 (/.f64 (-.f64 (cos.f64 (-.f64 (PI.f64) x)) (cos.f64 x)) 2)) |
(/.f64 (*.f64 -1 (/.f64 (-.f64 1 (cos.f64 x)) -1)) 1) |
(+.f64 1 (neg.f64 (cos.f64 x))) |
(-.f64 1 (cos.f64 x)) |
(pow.f64 (-.f64 1 (cos.f64 x)) 1) |
(+.f64 1 (neg.f64 (cos.f64 x))) |
(-.f64 1 (cos.f64 x)) |
(neg.f64 (+.f64 (cos.f64 x) -1)) |
(+.f64 1 (neg.f64 (cos.f64 x))) |
(-.f64 1 (cos.f64 x)) |
(neg.f64 (/.f64 (-.f64 1 (cos.f64 x)) -1)) |
(+.f64 1 (neg.f64 (cos.f64 x))) |
(-.f64 1 (cos.f64 x)) |
Compiled 560 to 372 computations (33.6% saved)
4 alts after pruning (3 fresh and 1 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 48 | 3 | 51 |
| Fresh | 0 | 0 | 0 |
| Picked | 0 | 1 | 1 |
| Done | 0 | 0 | 0 |
| Total | 48 | 4 | 52 |
| Status | Error | Program |
|---|---|---|
| ✓ | 33.0b | (-.f64 1 (cos.f64 x)) |
| ▶ | 0.0b | (+.f64 (*.f64 1/2 (pow.f64 x 2)) (+.f64 (*.f64 -1/24 (pow.f64 x 4)) (*.f64 1/720 (pow.f64 x 6)))) |
| ▶ | 0.0b | (+.f64 (*.f64 1/2 (pow.f64 x 2)) (*.f64 -1/24 (pow.f64 x 4))) |
| ▶ | 0.1b | (*.f64 1/2 (pow.f64 x 2)) |
Compiled 41 to 34 computations (17.1% saved)
Found 1 expressions with local error:
| New | Error | Program |
|---|---|---|
| ✓ | 0.0b | (*.f64 1/2 (pow.f64 x 2)) |
Compiled 12 to 9 computations (25% saved)
3 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 0.0ms | x | @ | 0 | (*.f64 1/2 (pow.f64 x 2)) |
| 0.0ms | x | @ | inf | (*.f64 1/2 (pow.f64 x 2)) |
| 0.0ms | x | @ | -inf | (*.f64 1/2 (pow.f64 x 2)) |
| 1× | batch-egg-rewrite |
| 12× | rational_best-simplify-2 |
| 10× | rational_best-4 |
| 10× | rational_best-2 |
| 10× | rational_best-3 |
| 10× | rational_best-1 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 7 | 13 |
| 1 | 45 | 13 |
| 2 | 66 | 13 |
| 3 | 67 | 13 |
| 1× | saturated |
| Inputs |
|---|
(*.f64 1/2 (pow.f64 x 2)) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 1/2 (pow.f64 x 2)) 0)))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 0 (*.f64 1/2 (pow.f64 x 2)))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (*.f64 1/2 (pow.f64 x 2)) 0)))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 1/2 (pow.f64 x 2)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 1/2 (pow.f64 x 2)) 1))))) |
| 1× | egg-herbie |
| 4× | rational_best-simplify-2 |
| 4× | rational_best-simplify-6 |
| 2× | rational_best-simplify-4 |
| 2× | rational_best-simplify-3 |
| 2× | exponential-simplify-11 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 14 | 65 |
| 1 | 16 | 65 |
| 2 | 21 | 65 |
| 3 | 22 | 65 |
| 1× | saturated |
| Inputs |
|---|
(+.f64 (*.f64 1/2 (pow.f64 x 2)) 0) |
(+.f64 0 (*.f64 1/2 (pow.f64 x 2))) |
(-.f64 (*.f64 1/2 (pow.f64 x 2)) 0) |
(/.f64 (*.f64 1/2 (pow.f64 x 2)) 1) |
(pow.f64 (*.f64 1/2 (pow.f64 x 2)) 1) |
| Outputs |
|---|
(+.f64 (*.f64 1/2 (pow.f64 x 2)) 0) |
(*.f64 1/2 (pow.f64 x 2)) |
(+.f64 0 (*.f64 1/2 (pow.f64 x 2))) |
(*.f64 1/2 (pow.f64 x 2)) |
(-.f64 (*.f64 1/2 (pow.f64 x 2)) 0) |
(*.f64 1/2 (pow.f64 x 2)) |
(/.f64 (*.f64 1/2 (pow.f64 x 2)) 1) |
(*.f64 1/2 (pow.f64 x 2)) |
(pow.f64 (*.f64 1/2 (pow.f64 x 2)) 1) |
(*.f64 1/2 (pow.f64 x 2)) |
Found 3 expressions with local error:
| New | Error | Program |
|---|---|---|
| ✓ | 0.0b | (+.f64 (*.f64 1/2 (pow.f64 x 2)) (*.f64 -1/24 (pow.f64 x 4))) |
| 0.0b | (*.f64 1/2 (pow.f64 x 2)) | |
| ✓ | 0.1b | (*.f64 -1/24 (pow.f64 x 4)) |
Compiled 33 to 26 computations (21.2% saved)
6 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 0.0ms | x | @ | inf | (*.f64 -1/24 (pow.f64 x 4)) |
| 0.0ms | x | @ | inf | (+.f64 (*.f64 1/2 (pow.f64 x 2)) (*.f64 -1/24 (pow.f64 x 4))) |
| 0.0ms | x | @ | 0 | (*.f64 -1/24 (pow.f64 x 4)) |
| 0.0ms | x | @ | 0 | (+.f64 (*.f64 1/2 (pow.f64 x 2)) (*.f64 -1/24 (pow.f64 x 4))) |
| 0.0ms | x | @ | -inf | (*.f64 -1/24 (pow.f64 x 4)) |
| 1× | batch-egg-rewrite |
| 20× | rational_best-simplify-2 |
| 18× | rational_best-simplify-1 |
| 16× | rational_best-4 |
| 16× | rational_best-2 |
| 16× | rational_best-3 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 12 | 44 |
| 1 | 77 | 44 |
| 2 | 105 | 44 |
| 3 | 107 | 44 |
| 1× | saturated |
| Inputs |
|---|
(*.f64 -1/24 (pow.f64 x 4)) |
(+.f64 (*.f64 1/2 (pow.f64 x 2)) (*.f64 -1/24 (pow.f64 x 4))) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 -1/24 (pow.f64 x 4)) 0)))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 0 (*.f64 -1/24 (pow.f64 x 4)))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (*.f64 -1/24 (pow.f64 x 4)) 0)))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 -1/24 (pow.f64 x 4)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 -1/24 (pow.f64 x 4)) 1))))) |
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 (*.f64 -1/24 (pow.f64 x 4)) (*.f64 1/2 (pow.f64 x 2))) 0)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 (*.f64 -1/24 (pow.f64 x 4)) (*.f64 1/2 (pow.f64 x 2))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (+.f64 (*.f64 -1/24 (pow.f64 x 4)) (*.f64 1/2 (pow.f64 x 2))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (*.f64 -1/24 (pow.f64 x 4)) (*.f64 1/2 (pow.f64 x 2))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (+.f64 (*.f64 -1/24 (pow.f64 x 4)) (*.f64 1/2 (pow.f64 x 2))) 1))))) |
| 1× | egg-herbie |
| 10× | rational_best-simplify-1 |
| 8× | rational_best-simplify-2 |
| 6× | rational_best-simplify-6 |
| 4× | rational_best-simplify-4 |
| 4× | rational_best-simplify-3 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 24 | 259 |
| 1 | 28 | 259 |
| 2 | 37 | 259 |
| 3 | 41 | 259 |
| 4 | 41 | 259 |
| 1× | saturated |
| Inputs |
|---|
(*.f64 1/2 (pow.f64 x 2)) |
(*.f64 -1/24 (pow.f64 x 4)) |
(*.f64 -1/24 (pow.f64 x 4)) |
(+.f64 (*.f64 -1/24 (pow.f64 x 4)) 0) |
(+.f64 0 (*.f64 -1/24 (pow.f64 x 4))) |
(-.f64 (*.f64 -1/24 (pow.f64 x 4)) 0) |
(/.f64 (*.f64 -1/24 (pow.f64 x 4)) 1) |
(pow.f64 (*.f64 -1/24 (pow.f64 x 4)) 1) |
(-.f64 (+.f64 (*.f64 -1/24 (pow.f64 x 4)) (*.f64 1/2 (pow.f64 x 2))) 0) |
(*.f64 (+.f64 (*.f64 -1/24 (pow.f64 x 4)) (*.f64 1/2 (pow.f64 x 2))) 1) |
(*.f64 1 (+.f64 (*.f64 -1/24 (pow.f64 x 4)) (*.f64 1/2 (pow.f64 x 2)))) |
(/.f64 (+.f64 (*.f64 -1/24 (pow.f64 x 4)) (*.f64 1/2 (pow.f64 x 2))) 1) |
(pow.f64 (+.f64 (*.f64 -1/24 (pow.f64 x 4)) (*.f64 1/2 (pow.f64 x 2))) 1) |
| Outputs |
|---|
(*.f64 1/2 (pow.f64 x 2)) |
(*.f64 -1/24 (pow.f64 x 4)) |
(*.f64 -1/24 (pow.f64 x 4)) |
(+.f64 (*.f64 -1/24 (pow.f64 x 4)) 0) |
(*.f64 -1/24 (pow.f64 x 4)) |
(+.f64 0 (*.f64 -1/24 (pow.f64 x 4))) |
(*.f64 -1/24 (pow.f64 x 4)) |
(-.f64 (*.f64 -1/24 (pow.f64 x 4)) 0) |
(*.f64 -1/24 (pow.f64 x 4)) |
(/.f64 (*.f64 -1/24 (pow.f64 x 4)) 1) |
(*.f64 -1/24 (pow.f64 x 4)) |
(pow.f64 (*.f64 -1/24 (pow.f64 x 4)) 1) |
(*.f64 -1/24 (pow.f64 x 4)) |
(-.f64 (+.f64 (*.f64 -1/24 (pow.f64 x 4)) (*.f64 1/2 (pow.f64 x 2))) 0) |
(+.f64 (*.f64 1/2 (pow.f64 x 2)) (*.f64 -1/24 (pow.f64 x 4))) |
(*.f64 (+.f64 (*.f64 -1/24 (pow.f64 x 4)) (*.f64 1/2 (pow.f64 x 2))) 1) |
(+.f64 (*.f64 1/2 (pow.f64 x 2)) (*.f64 -1/24 (pow.f64 x 4))) |
(*.f64 1 (+.f64 (*.f64 -1/24 (pow.f64 x 4)) (*.f64 1/2 (pow.f64 x 2)))) |
(+.f64 (*.f64 1/2 (pow.f64 x 2)) (*.f64 -1/24 (pow.f64 x 4))) |
(/.f64 (+.f64 (*.f64 -1/24 (pow.f64 x 4)) (*.f64 1/2 (pow.f64 x 2))) 1) |
(+.f64 (*.f64 1/2 (pow.f64 x 2)) (*.f64 -1/24 (pow.f64 x 4))) |
(pow.f64 (+.f64 (*.f64 -1/24 (pow.f64 x 4)) (*.f64 1/2 (pow.f64 x 2))) 1) |
(+.f64 (*.f64 1/2 (pow.f64 x 2)) (*.f64 -1/24 (pow.f64 x 4))) |
Found 4 expressions with local error:
| New | Error | Program |
|---|---|---|
| ✓ | 0.0b | (+.f64 (*.f64 -1/24 (pow.f64 x 4)) (*.f64 1/720 (pow.f64 x 6))) |
| 0.0b | (*.f64 1/2 (pow.f64 x 2)) | |
| ✓ | 0.0b | (*.f64 1/720 (pow.f64 x 6)) |
| 0.1b | (*.f64 -1/24 (pow.f64 x 4)) |
Compiled 60 to 48 computations (20% saved)
6 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 0.0ms | x | @ | 0 | (*.f64 1/720 (pow.f64 x 6)) |
| 0.0ms | x | @ | inf | (*.f64 1/720 (pow.f64 x 6)) |
| 0.0ms | x | @ | inf | (+.f64 (*.f64 -1/24 (pow.f64 x 4)) (*.f64 1/720 (pow.f64 x 6))) |
| 0.0ms | x | @ | 0 | (+.f64 (*.f64 -1/24 (pow.f64 x 4)) (*.f64 1/720 (pow.f64 x 6))) |
| 0.0ms | x | @ | -inf | (+.f64 (*.f64 -1/24 (pow.f64 x 4)) (*.f64 1/720 (pow.f64 x 6))) |
| 1× | batch-egg-rewrite |
| 20× | rational_best-simplify-2 |
| 18× | rational_best-simplify-1 |
| 16× | rational_best-4 |
| 16× | rational_best-2 |
| 16× | rational_best-3 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 12 | 44 |
| 1 | 77 | 44 |
| 2 | 105 | 44 |
| 3 | 107 | 44 |
| 1× | saturated |
| Inputs |
|---|
(*.f64 1/720 (pow.f64 x 6)) |
(+.f64 (*.f64 -1/24 (pow.f64 x 4)) (*.f64 1/720 (pow.f64 x 6))) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 1/720 (pow.f64 x 6)) 0)))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 0 (*.f64 1/720 (pow.f64 x 6)))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (*.f64 1/720 (pow.f64 x 6)) 0)))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 1/720 (pow.f64 x 6)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 1/720 (pow.f64 x 6)) 1))))) |
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 (*.f64 1/720 (pow.f64 x 6)) (*.f64 -1/24 (pow.f64 x 4))) 0)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 (*.f64 1/720 (pow.f64 x 6)) (*.f64 -1/24 (pow.f64 x 4))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (+.f64 (*.f64 1/720 (pow.f64 x 6)) (*.f64 -1/24 (pow.f64 x 4))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (*.f64 1/720 (pow.f64 x 6)) (*.f64 -1/24 (pow.f64 x 4))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (+.f64 (*.f64 1/720 (pow.f64 x 6)) (*.f64 -1/24 (pow.f64 x 4))) 1))))) |
| 1× | egg-herbie |
| 10× | rational_best-simplify-1 |
| 8× | rational_best-simplify-2 |
| 6× | rational_best-simplify-6 |
| 4× | rational_best-simplify-4 |
| 4× | rational_best-simplify-3 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 24 | 259 |
| 1 | 28 | 259 |
| 2 | 37 | 259 |
| 3 | 41 | 259 |
| 4 | 41 | 259 |
| 1× | saturated |
| Inputs |
|---|
(*.f64 -1/24 (pow.f64 x 4)) |
(*.f64 1/720 (pow.f64 x 6)) |
(*.f64 1/720 (pow.f64 x 6)) |
(+.f64 (*.f64 1/720 (pow.f64 x 6)) 0) |
(+.f64 0 (*.f64 1/720 (pow.f64 x 6))) |
(-.f64 (*.f64 1/720 (pow.f64 x 6)) 0) |
(/.f64 (*.f64 1/720 (pow.f64 x 6)) 1) |
(pow.f64 (*.f64 1/720 (pow.f64 x 6)) 1) |
(-.f64 (+.f64 (*.f64 1/720 (pow.f64 x 6)) (*.f64 -1/24 (pow.f64 x 4))) 0) |
(*.f64 (+.f64 (*.f64 1/720 (pow.f64 x 6)) (*.f64 -1/24 (pow.f64 x 4))) 1) |
(*.f64 1 (+.f64 (*.f64 1/720 (pow.f64 x 6)) (*.f64 -1/24 (pow.f64 x 4)))) |
(/.f64 (+.f64 (*.f64 1/720 (pow.f64 x 6)) (*.f64 -1/24 (pow.f64 x 4))) 1) |
(pow.f64 (+.f64 (*.f64 1/720 (pow.f64 x 6)) (*.f64 -1/24 (pow.f64 x 4))) 1) |
| Outputs |
|---|
(*.f64 -1/24 (pow.f64 x 4)) |
(*.f64 1/720 (pow.f64 x 6)) |
(*.f64 1/720 (pow.f64 x 6)) |
(+.f64 (*.f64 1/720 (pow.f64 x 6)) 0) |
(*.f64 1/720 (pow.f64 x 6)) |
(+.f64 0 (*.f64 1/720 (pow.f64 x 6))) |
(*.f64 1/720 (pow.f64 x 6)) |
(-.f64 (*.f64 1/720 (pow.f64 x 6)) 0) |
(*.f64 1/720 (pow.f64 x 6)) |
(/.f64 (*.f64 1/720 (pow.f64 x 6)) 1) |
(*.f64 1/720 (pow.f64 x 6)) |
(pow.f64 (*.f64 1/720 (pow.f64 x 6)) 1) |
(*.f64 1/720 (pow.f64 x 6)) |
(-.f64 (+.f64 (*.f64 1/720 (pow.f64 x 6)) (*.f64 -1/24 (pow.f64 x 4))) 0) |
(+.f64 (*.f64 -1/24 (pow.f64 x 4)) (*.f64 1/720 (pow.f64 x 6))) |
(*.f64 (+.f64 (*.f64 1/720 (pow.f64 x 6)) (*.f64 -1/24 (pow.f64 x 4))) 1) |
(+.f64 (*.f64 -1/24 (pow.f64 x 4)) (*.f64 1/720 (pow.f64 x 6))) |
(*.f64 1 (+.f64 (*.f64 1/720 (pow.f64 x 6)) (*.f64 -1/24 (pow.f64 x 4)))) |
(+.f64 (*.f64 -1/24 (pow.f64 x 4)) (*.f64 1/720 (pow.f64 x 6))) |
(/.f64 (+.f64 (*.f64 1/720 (pow.f64 x 6)) (*.f64 -1/24 (pow.f64 x 4))) 1) |
(+.f64 (*.f64 -1/24 (pow.f64 x 4)) (*.f64 1/720 (pow.f64 x 6))) |
(pow.f64 (+.f64 (*.f64 1/720 (pow.f64 x 6)) (*.f64 -1/24 (pow.f64 x 4))) 1) |
(+.f64 (*.f64 -1/24 (pow.f64 x 4)) (*.f64 1/720 (pow.f64 x 6))) |
Compiled 704 to 592 computations (15.9% saved)
4 alts after pruning (0 fresh and 4 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 49 | 0 | 49 |
| Fresh | 0 | 0 | 0 |
| Picked | 0 | 1 | 1 |
| Done | 0 | 3 | 3 |
| Total | 49 | 4 | 53 |
| Status | Error | Program |
|---|---|---|
| ✓ | 33.0b | (-.f64 1 (cos.f64 x)) |
| ✓ | 0.0b | (+.f64 (*.f64 1/2 (pow.f64 x 2)) (+.f64 (*.f64 -1/24 (pow.f64 x 4)) (*.f64 1/720 (pow.f64 x 6)))) |
| ✓ | 0.0b | (+.f64 (*.f64 1/2 (pow.f64 x 2)) (*.f64 -1/24 (pow.f64 x 4))) |
| ✓ | 0.1b | (*.f64 1/2 (pow.f64 x 2)) |
Compiled 41 to 34 computations (17.1% saved)
| Inputs |
|---|
(-.f64 1 (cos.f64 x)) |
(*.f64 1/2 (pow.f64 x 2)) |
(+.f64 (*.f64 1/2 (pow.f64 x 2)) (*.f64 -1/24 (pow.f64 x 4))) |
(+.f64 (*.f64 1/2 (pow.f64 x 2)) (+.f64 (*.f64 -1/24 (pow.f64 x 4)) (*.f64 1/720 (pow.f64 x 6)))) |
| Outputs |
|---|
(+.f64 (*.f64 1/2 (pow.f64 x 2)) (+.f64 (*.f64 -1/24 (pow.f64 x 4)) (*.f64 1/720 (pow.f64 x 6)))) |
3 calls:
| 3.0ms | x |
| 2.0ms | (cos.f64 x) |
| 2.0ms | (-.f64 1 (cos.f64 x)) |
| Error | Segments | Branch |
|---|---|---|
| 0.0b | 1 | x |
| 0.0b | 1 | (-.f64 1 (cos.f64 x)) |
| 0.0b | 1 | (cos.f64 x) |
Compiled 48 to 38 computations (20.8% saved)
| Inputs |
|---|
(-.f64 1 (cos.f64 x)) |
(*.f64 1/2 (pow.f64 x 2)) |
(+.f64 (*.f64 1/2 (pow.f64 x 2)) (*.f64 -1/24 (pow.f64 x 4))) |
| Outputs |
|---|
(+.f64 (*.f64 1/2 (pow.f64 x 2)) (*.f64 -1/24 (pow.f64 x 4))) |
3 calls:
| 3.0ms | x |
| 2.0ms | (-.f64 1 (cos.f64 x)) |
| 2.0ms | (cos.f64 x) |
| Error | Segments | Branch |
|---|---|---|
| 0.0b | 1 | x |
| 0.0b | 1 | (-.f64 1 (cos.f64 x)) |
| 0.0b | 1 | (cos.f64 x) |
Compiled 31 to 24 computations (22.6% saved)
Total -32.9b remaining (-24035.3%)
Threshold costs -32.9b (-24035.3%)
| Inputs |
|---|
(-.f64 1 (cos.f64 x)) |
(*.f64 1/2 (pow.f64 x 2)) |
| Outputs |
|---|
(*.f64 1/2 (pow.f64 x 2)) |
3 calls:
| 4.0ms | x |
| 2.0ms | (-.f64 1 (cos.f64 x)) |
| 2.0ms | (cos.f64 x) |
| Error | Segments | Branch |
|---|---|---|
| 0.1b | 1 | x |
| 0.1b | 1 | (-.f64 1 (cos.f64 x)) |
| 0.1b | 1 | (cos.f64 x) |
Compiled 20 to 15 computations (25% saved)
| 1× | egg-herbie |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 22 | 104 |
| 1× | done |
| 1× | saturated |
| Inputs |
|---|
(+.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 -1/24 (pow.f64 x 4))) |
(*.f64 1/2 (pow.f64 x 2)) |
(-.f64 1 (cos.f64 x)) |
| Outputs |
|---|
(+.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 -1/24 (pow.f64 x 4))) |
(*.f64 1/2 (pow.f64 x 2)) |
(-.f64 1 (cos.f64 x)) |
Compiled 41 to 34 computations (17.1% saved)
Compiled 38 to 31 computations (18.4% saved)
Loading profile data...