Time bar (total: 18.0s)
| 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)
| 9.5s | 4389× | body | 2048 | valid |
| 3.6s | 2128× | body | 1024 | valid |
| 851.0ms | 1029× | body | 512 | valid |
| 732.0ms | 710× | body | 256 | valid |
| 2× | egg-herbie |
| 2608× | rational.json-simplify-42 |
| 2160× | rational.json-simplify-35 |
| 2126× | rational.json-simplify-45 |
| 1730× | rational.json-simplify-1 |
| 1080× | rational.json-simplify-41 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 7 | 11 |
| 1 | 9 | 11 |
| 2 | 16 | 11 |
| 3 | 26 | 11 |
| 4 | 49 | 11 |
| 5 | 90 | 11 |
| 6 | 205 | 11 |
| 7 | 480 | 11 |
| 8 | 1123 | 11 |
| 9 | 2651 | 11 |
| 10 | 3571 | 11 |
| 11 | 4164 | 11 |
| 12 | 4714 | 11 |
| 13 | 5022 | 11 |
| 14 | 5142 | 11 |
| 15 | 5263 | 11 |
| 16 | 5573 | 11 |
| 17 | 5702 | 11 |
| 18 | 5818 | 11 |
| 19 | 5945 | 11 |
| 20 | 6059 | 11 |
| 21 | 6173 | 11 |
| 22 | 6287 | 11 |
| 23 | 6287 | 11 |
| 24 | 6287 | 11 |
| 0 | 1 | 1 |
| 1× | saturated |
| 1× | node limit |
| 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 |
| 2608× | rational.json-simplify-42 |
| 2160× | rational.json-simplify-35 |
| 2126× | rational.json-simplify-45 |
| 1730× | rational.json-simplify-1 |
| 1080× | rational.json-simplify-41 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 7 | 11 |
| 1 | 9 | 11 |
| 2 | 16 | 11 |
| 3 | 26 | 11 |
| 4 | 49 | 11 |
| 5 | 90 | 11 |
| 6 | 205 | 11 |
| 7 | 480 | 11 |
| 8 | 1123 | 11 |
| 9 | 2651 | 11 |
| 10 | 3571 | 11 |
| 11 | 4164 | 11 |
| 12 | 4714 | 11 |
| 13 | 5022 | 11 |
| 14 | 5142 | 11 |
| 15 | 5263 | 11 |
| 16 | 5573 | 11 |
| 17 | 5702 | 11 |
| 18 | 5818 | 11 |
| 19 | 5945 | 11 |
| 20 | 6059 | 11 |
| 21 | 6173 | 11 |
| 22 | 6287 | 11 |
| 23 | 6287 | 11 |
| 24 | 6287 | 11 |
| 1× | node limit |
| 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 |
|---|---|---|
| ▶ | 30.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 |
| 1824× | rational.json-simplify-35 |
| 1462× | rational.json-1 |
| 1462× | rational.json-2 |
| 1462× | rational.json-4 |
| 1462× | rational.json-3 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 7 | 11 |
| 1 | 55 | 11 |
| 2 | 134 | 11 |
| 3 | 268 | 11 |
| 4 | 516 | 11 |
| 5 | 1130 | 11 |
| 6 | 2571 | 11 |
| 7 | 4420 | 11 |
| 8 | 5462 | 11 |
| 9 | 7266 | 11 |
| 1× | node limit |
| Inputs |
|---|
(-.f64 1 (cos.f64 x)) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x +.f64 (-.f64 1 (cos.f64 x)) 0)))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 0 (-.f64 1 (cos.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 -1 (neg.f64 (+.f64 (cos.f64 x) -2)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 -1 (-.f64 1 (*.f64 2 (/.f64 (+.f64 (cos.f64 x) -1) 2))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 -2 (-.f64 1 (+.f64 (cos.f64 x) -2)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (neg.f64 (+.f64 (cos.f64 x) -2)) -1)))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 (-.f64 1 (cos.f64 x)) 1/2) (*.f64 (-.f64 1 (cos.f64 x)) 1/2))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (-.f64 -1 (/.f64 (+.f64 (cos.f64 x) -1) 2)) (-.f64 1 (/.f64 (+.f64 (cos.f64 x) -1) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (-.f64 -1 (/.f64 (+.f64 (cos.f64 x) -1) 2)) (-.f64 1 (*.f64 (+.f64 (cos.f64 x) -1) 1/2)))))) (#(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 2 (*.f64 (-.f64 1 (cos.f64 x)) 1/2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 -1 (+.f64 (cos.f64 x) -1))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 -1 (*.f64 2 (/.f64 (+.f64 (cos.f64 x) -1) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 4 (/.f64 (-.f64 1 (cos.f64 x)) 4))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (-.f64 1 (cos.f64 x)) 2) 1/2)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 (cos.f64 x) -1) -1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (-.f64 1 (cos.f64 x)) 4) 1/4)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1/2 (*.f64 (-.f64 1 (cos.f64 x)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1/4 (*.f64 (-.f64 1 (cos.f64 x)) 4))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (-.f64 1 (cos.f64 x)) 1/2) 2)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (+.f64 (cos.f64 x) -1) 2) -2)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (-.f64 1 (cos.f64 x)) 4) 4)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 2 (/.f64 (+.f64 (cos.f64 x) -1) 2)) -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)) 2) 2)))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (cos.f64 x) -1) -1)))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (-.f64 1 (cos.f64 x)) 4) 4)))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 2 (+.f64 (cos.f64 x) -1)) -2)))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (-.f64 1 (cos.f64 x)) 8) 8)))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 4 (+.f64 (cos.f64 x) -1)) -4)))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 2 (*.f64 (-.f64 1 (cos.f64 x)) 8)) 16)))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 2 (*.f64 4 (+.f64 (cos.f64 x) -1))) -8)))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 2 (*.f64 2 (*.f64 (-.f64 1 (cos.f64 x)) 8))) 32)))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 2 (/.f64 (+.f64 (cos.f64 x) -1) 2)) -1)))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 2 (*.f64 2 (*.f64 4 (+.f64 (cos.f64 x) -1)))) -16)))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 2 (*.f64 2 (*.f64 2 (*.f64 (-.f64 1 (cos.f64 x)) 8)))) 64)))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 2 (*.f64 2 (*.f64 2 (*.f64 4 (+.f64 (cos.f64 x) -1))))) -32)))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 2 (*.f64 2 (*.f64 2 (*.f64 2 (*.f64 (-.f64 1 (cos.f64 x)) 8))))) 128)))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (*.f64 2 (*.f64 2 (*.f64 2 (*.f64 2 (*.f64 (-.f64 1 (cos.f64 x)) 8))))) (*.f64 2 (*.f64 2 (*.f64 2 (*.f64 2 (*.f64 (-.f64 1 (cos.f64 x)) 8)))))) 256)))) (#(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 2 (/.f64 (+.f64 (cos.f64 x) -1) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x neg.f64 (+.f64 1 (+.f64 (cos.f64 x) -2))))))) |
| 1× | egg-herbie |
| 2406× | rational.json-simplify-35 |
| 1392× | rational.json-simplify-1 |
| 1318× | rational.json-simplify-2 |
| 912× | rational.json-simplify-45 |
| 594× | rational.json-simplify-26 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 113 | 684 |
| 1 | 251 | 684 |
| 2 | 528 | 684 |
| 3 | 1356 | 684 |
| 4 | 2976 | 684 |
| 5 | 3964 | 684 |
| 6 | 4675 | 684 |
| 7 | 5359 | 684 |
| 8 | 6260 | 684 |
| 9 | 6576 | 684 |
| 10 | 6864 | 684 |
| 11 | 7168 | 684 |
| 12 | 7479 | 684 |
| 13 | 7842 | 684 |
| 14 | 7992 | 684 |
| 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 (-.f64 1 (cos.f64 x)) 0) |
(+.f64 0 (-.f64 1 (cos.f64 x))) |
(+.f64 -1 (neg.f64 (+.f64 (cos.f64 x) -2))) |
(+.f64 -1 (-.f64 1 (*.f64 2 (/.f64 (+.f64 (cos.f64 x) -1) 2)))) |
(+.f64 -2 (-.f64 1 (+.f64 (cos.f64 x) -2))) |
(+.f64 (neg.f64 (+.f64 (cos.f64 x) -2)) -1) |
(+.f64 (*.f64 (-.f64 1 (cos.f64 x)) 1/2) (*.f64 (-.f64 1 (cos.f64 x)) 1/2)) |
(+.f64 (-.f64 -1 (/.f64 (+.f64 (cos.f64 x) -1) 2)) (-.f64 1 (/.f64 (+.f64 (cos.f64 x) -1) 2))) |
(+.f64 (-.f64 -1 (/.f64 (+.f64 (cos.f64 x) -1) 2)) (-.f64 1 (*.f64 (+.f64 (cos.f64 x) -1) 1/2))) |
(*.f64 1 (-.f64 1 (cos.f64 x))) |
(*.f64 (-.f64 1 (cos.f64 x)) 1) |
(*.f64 2 (*.f64 (-.f64 1 (cos.f64 x)) 1/2)) |
(*.f64 -1 (+.f64 (cos.f64 x) -1)) |
(*.f64 -1 (*.f64 2 (/.f64 (+.f64 (cos.f64 x) -1) 2))) |
(*.f64 4 (/.f64 (-.f64 1 (cos.f64 x)) 4)) |
(*.f64 (*.f64 (-.f64 1 (cos.f64 x)) 2) 1/2) |
(*.f64 (+.f64 (cos.f64 x) -1) -1) |
(*.f64 (*.f64 (-.f64 1 (cos.f64 x)) 4) 1/4) |
(*.f64 1/2 (*.f64 (-.f64 1 (cos.f64 x)) 2)) |
(*.f64 1/4 (*.f64 (-.f64 1 (cos.f64 x)) 4)) |
(*.f64 (*.f64 (-.f64 1 (cos.f64 x)) 1/2) 2) |
(*.f64 (/.f64 (+.f64 (cos.f64 x) -1) 2) -2) |
(*.f64 (/.f64 (-.f64 1 (cos.f64 x)) 4) 4) |
(*.f64 (*.f64 2 (/.f64 (+.f64 (cos.f64 x) -1) 2)) -1) |
(/.f64 (-.f64 1 (cos.f64 x)) 1) |
(/.f64 (*.f64 (-.f64 1 (cos.f64 x)) 2) 2) |
(/.f64 (+.f64 (cos.f64 x) -1) -1) |
(/.f64 (*.f64 (-.f64 1 (cos.f64 x)) 4) 4) |
(/.f64 (*.f64 2 (+.f64 (cos.f64 x) -1)) -2) |
(/.f64 (*.f64 (-.f64 1 (cos.f64 x)) 8) 8) |
(/.f64 (*.f64 4 (+.f64 (cos.f64 x) -1)) -4) |
(/.f64 (*.f64 2 (*.f64 (-.f64 1 (cos.f64 x)) 8)) 16) |
(/.f64 (*.f64 2 (*.f64 4 (+.f64 (cos.f64 x) -1))) -8) |
(/.f64 (*.f64 2 (*.f64 2 (*.f64 (-.f64 1 (cos.f64 x)) 8))) 32) |
(/.f64 (*.f64 2 (/.f64 (+.f64 (cos.f64 x) -1) 2)) -1) |
(/.f64 (*.f64 2 (*.f64 2 (*.f64 4 (+.f64 (cos.f64 x) -1)))) -16) |
(/.f64 (*.f64 2 (*.f64 2 (*.f64 2 (*.f64 (-.f64 1 (cos.f64 x)) 8)))) 64) |
(/.f64 (*.f64 2 (*.f64 2 (*.f64 2 (*.f64 4 (+.f64 (cos.f64 x) -1))))) -32) |
(/.f64 (*.f64 2 (*.f64 2 (*.f64 2 (*.f64 2 (*.f64 (-.f64 1 (cos.f64 x)) 8))))) 128) |
(/.f64 (+.f64 (*.f64 2 (*.f64 2 (*.f64 2 (*.f64 2 (*.f64 (-.f64 1 (cos.f64 x)) 8))))) (*.f64 2 (*.f64 2 (*.f64 2 (*.f64 2 (*.f64 (-.f64 1 (cos.f64 x)) 8)))))) 256) |
(pow.f64 (-.f64 1 (cos.f64 x)) 1) |
(neg.f64 (+.f64 (cos.f64 x) -1)) |
(neg.f64 (*.f64 2 (/.f64 (+.f64 (cos.f64 x) -1) 2))) |
(neg.f64 (+.f64 1 (+.f64 (cos.f64 x) -2))) |
| 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/24 (pow.f64 x 4)) (+.f64 (+.f64 (*.f64 1/720 (pow.f64 x 6)) (*.f64 -1/40320 (pow.f64 x 8))) (*.f64 1/2 (pow.f64 x 2)))) |
(+.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 1/720 (pow.f64 x 6)) (+.f64 (*.f64 -1/24 (pow.f64 x 4)) (*.f64 -1/40320 (pow.f64 x 8))))) |
(+.f64 (-.f64 1 (cos.f64 x)) 0) |
(-.f64 1 (cos.f64 x)) |
(+.f64 0 (-.f64 1 (cos.f64 x))) |
(-.f64 1 (cos.f64 x)) |
(+.f64 -1 (neg.f64 (+.f64 (cos.f64 x) -2))) |
(-.f64 1 (cos.f64 x)) |
(+.f64 -1 (-.f64 1 (*.f64 2 (/.f64 (+.f64 (cos.f64 x) -1) 2)))) |
(-.f64 1 (cos.f64 x)) |
(+.f64 -2 (-.f64 1 (+.f64 (cos.f64 x) -2))) |
(-.f64 1 (cos.f64 x)) |
(+.f64 (neg.f64 (+.f64 (cos.f64 x) -2)) -1) |
(-.f64 1 (cos.f64 x)) |
(+.f64 (*.f64 (-.f64 1 (cos.f64 x)) 1/2) (*.f64 (-.f64 1 (cos.f64 x)) 1/2)) |
(-.f64 1 (cos.f64 x)) |
(+.f64 (-.f64 -1 (/.f64 (+.f64 (cos.f64 x) -1) 2)) (-.f64 1 (/.f64 (+.f64 (cos.f64 x) -1) 2))) |
(-.f64 1 (cos.f64 x)) |
(+.f64 (-.f64 -1 (/.f64 (+.f64 (cos.f64 x) -1) 2)) (-.f64 1 (*.f64 (+.f64 (cos.f64 x) -1) 1/2))) |
(+.f64 (-.f64 -1 (/.f64 (+.f64 (cos.f64 x) -1) 2)) (-.f64 1 (*.f64 1/2 (+.f64 (cos.f64 x) -1)))) |
(+.f64 (+.f64 -1 (*.f64 (+.f64 (cos.f64 x) -1) -1/2)) (-.f64 1 (*.f64 1/2 (+.f64 (cos.f64 x) -1)))) |
(+.f64 (+.f64 -1 (*.f64 1/2 (-.f64 1 (cos.f64 x)))) (-.f64 1 (*.f64 1/2 (+.f64 (cos.f64 x) -1)))) |
(*.f64 1 (-.f64 1 (cos.f64 x))) |
(-.f64 1 (cos.f64 x)) |
(*.f64 (-.f64 1 (cos.f64 x)) 1) |
(-.f64 1 (cos.f64 x)) |
(*.f64 2 (*.f64 (-.f64 1 (cos.f64 x)) 1/2)) |
(-.f64 1 (cos.f64 x)) |
(*.f64 -1 (+.f64 (cos.f64 x) -1)) |
(-.f64 1 (cos.f64 x)) |
(*.f64 -1 (*.f64 2 (/.f64 (+.f64 (cos.f64 x) -1) 2))) |
(-.f64 1 (cos.f64 x)) |
(*.f64 4 (/.f64 (-.f64 1 (cos.f64 x)) 4)) |
(-.f64 1 (cos.f64 x)) |
(*.f64 (*.f64 (-.f64 1 (cos.f64 x)) 2) 1/2) |
(-.f64 1 (cos.f64 x)) |
(*.f64 (+.f64 (cos.f64 x) -1) -1) |
(-.f64 1 (cos.f64 x)) |
(*.f64 (*.f64 (-.f64 1 (cos.f64 x)) 4) 1/4) |
(-.f64 1 (cos.f64 x)) |
(*.f64 1/2 (*.f64 (-.f64 1 (cos.f64 x)) 2)) |
(-.f64 1 (cos.f64 x)) |
(*.f64 1/4 (*.f64 (-.f64 1 (cos.f64 x)) 4)) |
(-.f64 1 (cos.f64 x)) |
(*.f64 (*.f64 (-.f64 1 (cos.f64 x)) 1/2) 2) |
(-.f64 1 (cos.f64 x)) |
(*.f64 (/.f64 (+.f64 (cos.f64 x) -1) 2) -2) |
(-.f64 1 (cos.f64 x)) |
(*.f64 (/.f64 (-.f64 1 (cos.f64 x)) 4) 4) |
(-.f64 1 (cos.f64 x)) |
(*.f64 (*.f64 2 (/.f64 (+.f64 (cos.f64 x) -1) 2)) -1) |
(-.f64 1 (cos.f64 x)) |
(/.f64 (-.f64 1 (cos.f64 x)) 1) |
(-.f64 1 (cos.f64 x)) |
(/.f64 (*.f64 (-.f64 1 (cos.f64 x)) 2) 2) |
(-.f64 1 (cos.f64 x)) |
(/.f64 (+.f64 (cos.f64 x) -1) -1) |
(-.f64 1 (cos.f64 x)) |
(/.f64 (*.f64 (-.f64 1 (cos.f64 x)) 4) 4) |
(-.f64 1 (cos.f64 x)) |
(/.f64 (*.f64 2 (+.f64 (cos.f64 x) -1)) -2) |
(-.f64 1 (cos.f64 x)) |
(/.f64 (*.f64 (-.f64 1 (cos.f64 x)) 8) 8) |
(-.f64 1 (cos.f64 x)) |
(/.f64 (*.f64 4 (+.f64 (cos.f64 x) -1)) -4) |
(-.f64 1 (cos.f64 x)) |
(/.f64 (*.f64 2 (*.f64 (-.f64 1 (cos.f64 x)) 8)) 16) |
(-.f64 1 (cos.f64 x)) |
(/.f64 (*.f64 2 (*.f64 4 (+.f64 (cos.f64 x) -1))) -8) |
(-.f64 1 (cos.f64 x)) |
(/.f64 (*.f64 2 (*.f64 2 (*.f64 (-.f64 1 (cos.f64 x)) 8))) 32) |
(-.f64 1 (cos.f64 x)) |
(/.f64 (*.f64 2 (/.f64 (+.f64 (cos.f64 x) -1) 2)) -1) |
(-.f64 1 (cos.f64 x)) |
(/.f64 (*.f64 2 (*.f64 2 (*.f64 4 (+.f64 (cos.f64 x) -1)))) -16) |
(-.f64 1 (cos.f64 x)) |
(/.f64 (*.f64 2 (*.f64 2 (*.f64 2 (*.f64 (-.f64 1 (cos.f64 x)) 8)))) 64) |
(-.f64 1 (cos.f64 x)) |
(/.f64 (*.f64 2 (*.f64 2 (*.f64 2 (*.f64 4 (+.f64 (cos.f64 x) -1))))) -32) |
(-.f64 1 (cos.f64 x)) |
(/.f64 (*.f64 2 (*.f64 2 (*.f64 2 (*.f64 2 (*.f64 (-.f64 1 (cos.f64 x)) 8))))) 128) |
(-.f64 1 (cos.f64 x)) |
(/.f64 (+.f64 (*.f64 2 (*.f64 2 (*.f64 2 (*.f64 2 (*.f64 (-.f64 1 (cos.f64 x)) 8))))) (*.f64 2 (*.f64 2 (*.f64 2 (*.f64 2 (*.f64 (-.f64 1 (cos.f64 x)) 8)))))) 256) |
(-.f64 1 (cos.f64 x)) |
(pow.f64 (-.f64 1 (cos.f64 x)) 1) |
(-.f64 1 (cos.f64 x)) |
(neg.f64 (+.f64 (cos.f64 x) -1)) |
(-.f64 1 (cos.f64 x)) |
(neg.f64 (*.f64 2 (/.f64 (+.f64 (cos.f64 x) -1) 2))) |
(-.f64 1 (cos.f64 x)) |
(neg.f64 (+.f64 1 (+.f64 (cos.f64 x) -2))) |
(-.f64 1 (cos.f64 x)) |
Compiled 615 to 481 computations (21.8% saved)
3 alts after pruning (2 fresh and 1 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 54 | 2 | 56 |
| Fresh | 0 | 0 | 0 |
| Picked | 0 | 1 | 1 |
| Done | 0 | 0 | 0 |
| Total | 54 | 3 | 57 |
| Status | Error | Program |
|---|---|---|
| ✓ | 30.0b | (-.f64 1 (cos.f64 x)) |
| ▶ | 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 23 to 19 computations (17.4% 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 |
| 3096× | rational.json-simplify-35 |
| 2050× | rational.json-simplify-51 |
| 1862× | rational.json-simplify-2 |
| 994× | exponential.json-3 |
| 994× | rational.json-1 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 7 | 13 |
| 1 | 45 | 13 |
| 2 | 95 | 13 |
| 3 | 179 | 13 |
| 4 | 303 | 13 |
| 5 | 642 | 13 |
| 6 | 1471 | 13 |
| 7 | 2408 | 13 |
| 8 | 2889 | 13 |
| 9 | 3455 | 13 |
| 10 | 4180 | 13 |
| 11 | 4860 | 13 |
| 12 | 5243 | 13 |
| 13 | 5243 | 13 |
| 14 | 5567 | 13 |
| 15 | 6026 | 13 |
| 16 | 6760 | 13 |
| 17 | 7251 | 13 |
| 18 | 7305 | 13 |
| 19 | 7305 | 13 |
| 1× | node limit |
| 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 (pow.f64 x 2) 1/4) (*.f64 (pow.f64 x 2) 1/4))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (*.f64 1/2 (pow.f64 x 2)) 0)))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (pow.f64 x 2) 2)))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 1/2 (pow.f64 x 2)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 2 (pow.f64 x 2)) 4)))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (pow.f64 x 2) 4) 8)))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (pow.f64 x 2) 8) 16)))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (pow.f64 x 2) 16) 32)))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (pow.f64 x 2) 32) 64)))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (pow.f64 x 2) 64) 128)))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (pow.f64 x 2) 128) 256)))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 2 (*.f64 (pow.f64 x 2) 128)) 512)))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (*.f64 (pow.f64 x 2) 128) 4) 1024)))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 2 (*.f64 (*.f64 (pow.f64 x 2) 128) 4)) 2048)))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (*.f64 (*.f64 (pow.f64 x 2) 128) 4) 4) 4096)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 1/2 (pow.f64 x 2)) 1))))) |
| 1× | egg-herbie |
| 4530× | rational.json-simplify-51 |
| 1996× | rational.json-simplify-35 |
| 1036× | rational.json-simplify-2 |
| 1012× | rational.json-simplify-1 |
| 982× | exponential.json-simplify-26 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 51 | 234 |
| 1 | 135 | 234 |
| 2 | 255 | 234 |
| 3 | 635 | 234 |
| 4 | 1674 | 234 |
| 5 | 2849 | 234 |
| 6 | 3400 | 234 |
| 7 | 3527 | 234 |
| 8 | 3613 | 234 |
| 9 | 3678 | 234 |
| 10 | 3742 | 234 |
| 11 | 3806 | 234 |
| 12 | 3870 | 234 |
| 13 | 3934 | 234 |
| 14 | 3998 | 234 |
| 15 | 4062 | 234 |
| 16 | 4126 | 234 |
| 17 | 4190 | 234 |
| 18 | 4254 | 234 |
| 19 | 4318 | 234 |
| 20 | 7896 | 234 |
| 1× | node limit |
| Inputs |
|---|
(+.f64 (*.f64 1/2 (pow.f64 x 2)) 0) |
(+.f64 0 (*.f64 1/2 (pow.f64 x 2))) |
(+.f64 (*.f64 (pow.f64 x 2) 1/4) (*.f64 (pow.f64 x 2) 1/4)) |
(-.f64 (*.f64 1/2 (pow.f64 x 2)) 0) |
(/.f64 (pow.f64 x 2) 2) |
(/.f64 (*.f64 1/2 (pow.f64 x 2)) 1) |
(/.f64 (*.f64 2 (pow.f64 x 2)) 4) |
(/.f64 (*.f64 (pow.f64 x 2) 4) 8) |
(/.f64 (*.f64 (pow.f64 x 2) 8) 16) |
(/.f64 (*.f64 (pow.f64 x 2) 16) 32) |
(/.f64 (*.f64 (pow.f64 x 2) 32) 64) |
(/.f64 (*.f64 (pow.f64 x 2) 64) 128) |
(/.f64 (*.f64 (pow.f64 x 2) 128) 256) |
(/.f64 (*.f64 2 (*.f64 (pow.f64 x 2) 128)) 512) |
(/.f64 (*.f64 (*.f64 (pow.f64 x 2) 128) 4) 1024) |
(/.f64 (*.f64 2 (*.f64 (*.f64 (pow.f64 x 2) 128) 4)) 2048) |
(/.f64 (*.f64 (*.f64 (*.f64 (pow.f64 x 2) 128) 4) 4) 4096) |
(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 (pow.f64 x 2) 1/4) (*.f64 (pow.f64 x 2) 1/4)) |
(*.f64 1/2 (pow.f64 x 2)) |
(-.f64 (*.f64 1/2 (pow.f64 x 2)) 0) |
(*.f64 1/2 (pow.f64 x 2)) |
(/.f64 (pow.f64 x 2) 2) |
(*.f64 1/2 (pow.f64 x 2)) |
(/.f64 (*.f64 1/2 (pow.f64 x 2)) 1) |
(*.f64 1/2 (pow.f64 x 2)) |
(/.f64 (*.f64 2 (pow.f64 x 2)) 4) |
(*.f64 1/2 (pow.f64 x 2)) |
(/.f64 (*.f64 (pow.f64 x 2) 4) 8) |
(*.f64 1/2 (pow.f64 x 2)) |
(/.f64 (*.f64 (pow.f64 x 2) 8) 16) |
(*.f64 1/2 (pow.f64 x 2)) |
(/.f64 (*.f64 (pow.f64 x 2) 16) 32) |
(*.f64 1/2 (pow.f64 x 2)) |
(/.f64 (*.f64 (pow.f64 x 2) 32) 64) |
(*.f64 1/2 (pow.f64 x 2)) |
(/.f64 (*.f64 (pow.f64 x 2) 64) 128) |
(*.f64 1/2 (pow.f64 x 2)) |
(/.f64 (*.f64 (pow.f64 x 2) 128) 256) |
(*.f64 1/2 (pow.f64 x 2)) |
(/.f64 (*.f64 2 (*.f64 (pow.f64 x 2) 128)) 512) |
(*.f64 1/2 (pow.f64 x 2)) |
(/.f64 (*.f64 (*.f64 (pow.f64 x 2) 128) 4) 1024) |
(*.f64 1/2 (pow.f64 x 2)) |
(/.f64 (*.f64 2 (*.f64 (*.f64 (pow.f64 x 2) 128) 4)) 2048) |
(*.f64 1/2 (pow.f64 x 2)) |
(/.f64 (*.f64 (*.f64 (*.f64 (pow.f64 x 2) 128) 4) 4) 4096) |
(*.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 2 expressions with local error:
| New | Error | Program |
|---|---|---|
| 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)
3 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 0.0ms | x | @ | inf | (*.f64 -1/24 (pow.f64 x 4)) |
| 0.0ms | x | @ | 0 | (*.f64 -1/24 (pow.f64 x 4)) |
| 0.0ms | x | @ | -inf | (*.f64 -1/24 (pow.f64 x 4)) |
| 1× | batch-egg-rewrite |
| 3716× | rational.json-simplify-35 |
| 1760× | rational.json-simplify-2 |
| 1186× | rational.json-1 |
| 1186× | rational.json-2 |
| 1052× | exponential.json-3 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 7 | 13 |
| 1 | 45 | 13 |
| 2 | 96 | 13 |
| 3 | 185 | 13 |
| 4 | 316 | 13 |
| 5 | 677 | 13 |
| 6 | 1625 | 13 |
| 7 | 2734 | 13 |
| 8 | 3310 | 13 |
| 9 | 3952 | 13 |
| 10 | 4717 | 13 |
| 11 | 5191 | 13 |
| 12 | 5191 | 13 |
| 13 | 5637 | 13 |
| 14 | 5637 | 13 |
| 15 | 6131 | 13 |
| 16 | 6961 | 13 |
| 17 | 7930 | 13 |
| 1× | node limit |
| Inputs |
|---|
(*.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 (pow.f64 x 4) -1/48) (*.f64 (pow.f64 x 4) -1/48))))) (#(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 /.f64 (*.f64 (pow.f64 x 4) -1/12) 2)))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (pow.f64 x 4) -1/6) 4)))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (pow.f64 x 4) -1/3) 8)))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 2 (*.f64 (pow.f64 x 4) -1/3)) 16)))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 2 (*.f64 2 (*.f64 (pow.f64 x 4) -1/3))) 32)))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 2 (*.f64 2 (*.f64 2 (*.f64 (pow.f64 x 4) -1/3)))) 64)))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 2 (*.f64 2 (*.f64 2 (*.f64 2 (*.f64 (pow.f64 x 4) -1/3))))) 128)))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 2 (*.f64 2 (*.f64 2 (*.f64 2 (*.f64 2 (*.f64 (pow.f64 x 4) -1/3)))))) 256)))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 2 (*.f64 2 (*.f64 2 (*.f64 2 (*.f64 2 (*.f64 2 (*.f64 (pow.f64 x 4) -1/3))))))) 512)))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 2 (*.f64 2 (*.f64 2 (*.f64 2 (*.f64 2 (*.f64 2 (*.f64 2 (*.f64 (pow.f64 x 4) -1/3)))))))) 1024)))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 2 (*.f64 2 (*.f64 2 (*.f64 2 (*.f64 2 (*.f64 2 (*.f64 2 (*.f64 2 (*.f64 (pow.f64 x 4) -1/3))))))))) 2048)))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (*.f64 2 (*.f64 2 (*.f64 2 (*.f64 2 (*.f64 2 (*.f64 2 (*.f64 2 (*.f64 2 (*.f64 (pow.f64 x 4) -1/3))))))))) (*.f64 2 (*.f64 2 (*.f64 2 (*.f64 2 (*.f64 2 (*.f64 2 (*.f64 2 (*.f64 2 (*.f64 (pow.f64 x 4) -1/3)))))))))) 4096)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 -1/24 (pow.f64 x 4)) 1))))) |
| 1× | egg-herbie |
| 3666× | rational.json-simplify-43 |
| 2610× | rational.json-simplify-51 |
| 2092× | rational.json-simplify-35 |
| 1144× | rational.json-simplify-1 |
| 1020× | rational.json-simplify-2 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 55 | 234 |
| 1 | 143 | 234 |
| 2 | 250 | 234 |
| 3 | 627 | 234 |
| 4 | 1547 | 234 |
| 5 | 2697 | 234 |
| 6 | 3525 | 234 |
| 7 | 3762 | 234 |
| 8 | 3919 | 234 |
| 9 | 4044 | 234 |
| 10 | 4158 | 234 |
| 11 | 4271 | 234 |
| 12 | 4391 | 234 |
| 13 | 4503 | 234 |
| 14 | 4503 | 234 |
| 1× | node limit |
| Inputs |
|---|
(+.f64 (*.f64 -1/24 (pow.f64 x 4)) 0) |
(+.f64 0 (*.f64 -1/24 (pow.f64 x 4))) |
(+.f64 (*.f64 (pow.f64 x 4) -1/48) (*.f64 (pow.f64 x 4) -1/48)) |
(-.f64 (*.f64 -1/24 (pow.f64 x 4)) 0) |
(/.f64 (*.f64 -1/24 (pow.f64 x 4)) 1) |
(/.f64 (*.f64 (pow.f64 x 4) -1/12) 2) |
(/.f64 (*.f64 (pow.f64 x 4) -1/6) 4) |
(/.f64 (*.f64 (pow.f64 x 4) -1/3) 8) |
(/.f64 (*.f64 2 (*.f64 (pow.f64 x 4) -1/3)) 16) |
(/.f64 (*.f64 2 (*.f64 2 (*.f64 (pow.f64 x 4) -1/3))) 32) |
(/.f64 (*.f64 2 (*.f64 2 (*.f64 2 (*.f64 (pow.f64 x 4) -1/3)))) 64) |
(/.f64 (*.f64 2 (*.f64 2 (*.f64 2 (*.f64 2 (*.f64 (pow.f64 x 4) -1/3))))) 128) |
(/.f64 (*.f64 2 (*.f64 2 (*.f64 2 (*.f64 2 (*.f64 2 (*.f64 (pow.f64 x 4) -1/3)))))) 256) |
(/.f64 (*.f64 2 (*.f64 2 (*.f64 2 (*.f64 2 (*.f64 2 (*.f64 2 (*.f64 (pow.f64 x 4) -1/3))))))) 512) |
(/.f64 (*.f64 2 (*.f64 2 (*.f64 2 (*.f64 2 (*.f64 2 (*.f64 2 (*.f64 2 (*.f64 (pow.f64 x 4) -1/3)))))))) 1024) |
(/.f64 (*.f64 2 (*.f64 2 (*.f64 2 (*.f64 2 (*.f64 2 (*.f64 2 (*.f64 2 (*.f64 2 (*.f64 (pow.f64 x 4) -1/3))))))))) 2048) |
(/.f64 (+.f64 (*.f64 2 (*.f64 2 (*.f64 2 (*.f64 2 (*.f64 2 (*.f64 2 (*.f64 2 (*.f64 2 (*.f64 (pow.f64 x 4) -1/3))))))))) (*.f64 2 (*.f64 2 (*.f64 2 (*.f64 2 (*.f64 2 (*.f64 2 (*.f64 2 (*.f64 2 (*.f64 (pow.f64 x 4) -1/3)))))))))) 4096) |
(pow.f64 (*.f64 -1/24 (pow.f64 x 4)) 1) |
| Outputs |
|---|
(+.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 (pow.f64 x 4) -1/48) (*.f64 (pow.f64 x 4) -1/48)) |
(*.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)) |
(/.f64 (*.f64 (pow.f64 x 4) -1/12) 2) |
(*.f64 -1/24 (pow.f64 x 4)) |
(/.f64 (*.f64 (pow.f64 x 4) -1/6) 4) |
(*.f64 -1/24 (pow.f64 x 4)) |
(/.f64 (*.f64 (pow.f64 x 4) -1/3) 8) |
(*.f64 -1/24 (pow.f64 x 4)) |
(/.f64 (*.f64 2 (*.f64 (pow.f64 x 4) -1/3)) 16) |
(*.f64 -1/24 (pow.f64 x 4)) |
(/.f64 (*.f64 2 (*.f64 2 (*.f64 (pow.f64 x 4) -1/3))) 32) |
(*.f64 -1/24 (pow.f64 x 4)) |
(/.f64 (*.f64 2 (*.f64 2 (*.f64 2 (*.f64 (pow.f64 x 4) -1/3)))) 64) |
(*.f64 -1/24 (pow.f64 x 4)) |
(/.f64 (*.f64 2 (*.f64 2 (*.f64 2 (*.f64 2 (*.f64 (pow.f64 x 4) -1/3))))) 128) |
(*.f64 -1/24 (pow.f64 x 4)) |
(/.f64 (*.f64 2 (*.f64 2 (*.f64 2 (*.f64 2 (*.f64 2 (*.f64 (pow.f64 x 4) -1/3)))))) 256) |
(*.f64 -1/24 (pow.f64 x 4)) |
(/.f64 (*.f64 2 (*.f64 2 (*.f64 2 (*.f64 2 (*.f64 2 (*.f64 2 (*.f64 (pow.f64 x 4) -1/3))))))) 512) |
(*.f64 -1/24 (pow.f64 x 4)) |
(/.f64 (*.f64 2 (*.f64 2 (*.f64 2 (*.f64 2 (*.f64 2 (*.f64 2 (*.f64 2 (*.f64 (pow.f64 x 4) -1/3)))))))) 1024) |
(*.f64 -1/24 (pow.f64 x 4)) |
(/.f64 (*.f64 2 (*.f64 2 (*.f64 2 (*.f64 2 (*.f64 2 (*.f64 2 (*.f64 2 (*.f64 2 (*.f64 (pow.f64 x 4) -1/3))))))))) 2048) |
(*.f64 -1/24 (pow.f64 x 4)) |
(/.f64 (+.f64 (*.f64 2 (*.f64 2 (*.f64 2 (*.f64 2 (*.f64 2 (*.f64 2 (*.f64 2 (*.f64 2 (*.f64 (pow.f64 x 4) -1/3))))))))) (*.f64 2 (*.f64 2 (*.f64 2 (*.f64 2 (*.f64 2 (*.f64 2 (*.f64 2 (*.f64 2 (*.f64 (pow.f64 x 4) -1/3)))))))))) 4096) |
(*.f64 -1/24 (pow.f64 x 4)) |
(pow.f64 (*.f64 -1/24 (pow.f64 x 4)) 1) |
(*.f64 -1/24 (pow.f64 x 4)) |
Compiled 764 to 665 computations (13% saved)
3 alts after pruning (0 fresh and 3 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 57 | 0 | 57 |
| Fresh | 0 | 0 | 0 |
| Picked | 0 | 1 | 1 |
| Done | 0 | 2 | 2 |
| Total | 57 | 3 | 60 |
| Status | Error | Program |
|---|---|---|
| ✓ | 30.0b | (-.f64 1 (cos.f64 x)) |
| ✓ | 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 23 to 19 computations (17.4% 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 | (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 31 to 24 computations (22.6% saved)
Total -30.0b remaining (-38277.8%)
Threshold costs -30.0b (-38277.8%)
| Inputs |
|---|
(-.f64 1 (cos.f64 x)) |
(*.f64 1/2 (pow.f64 x 2)) |
| Outputs |
|---|
(*.f64 1/2 (pow.f64 x 2)) |
3 calls:
| 6.0ms | (cos.f64 x) |
| 3.0ms | x |
| 2.0ms | (-.f64 1 (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 | 16 | 55 |
| 1× | done |
| 1× | saturated |
| Inputs |
|---|
(+.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 -1/24 (pow.f64 x 4))) |
(*.f64 1/2 (pow.f64 x 2)) |
(-.f64 1 (cos.f64 x)) |
Compiled 23 to 19 computations (17.4% saved)
Compiled 21 to 17 computations (19% saved)
Loading profile data...