
Time bar (total: 3.5s)
| 1× | search |
| Probability | Valid | Unknown | Precondition | Infinite | Domain | Can't | Iter |
|---|---|---|---|---|---|---|---|
| 0% | 0% | 49.6% | 50.4% | 0% | 0% | 0% | 0 |
| 0% | 0% | 97.8% | 2.2% | 0% | 0% | 0% | 1 |
| 0% | 0% | 192.8% | -92.8% | 0% | 0% | 0% | 2 |
| 33% | 94.9% | 192.8% | -187.8% | 0% | 0% | 0% | 3 |
| 49.6% | 189.9% | 192.8% | -282.8% | 0% | 0% | 0% | 4 |
| 59.6% | 284.9% | 192.8% | -377.8% | 0% | 0% | 0% | 5 |
| 66.3% | 379.9% | 192.8% | -472.8% | 0% | 0% | 0% | 6 |
| 71.1% | 474.9% | 192.8% | -567.8% | 0% | 0% | 0% | 7 |
| 74.7% | 569.9% | 192.8% | -662.7% | 0% | 0% | 0% | 8 |
| 77.5% | 664.9% | 192.8% | -757.7% | 0% | 0% | 0% | 9 |
| 79.8% | 759.9% | 192.8% | -852.7% | 0% | 0% | 0% | 10 |
| 81.6% | 854.9% | 192.8% | -947.7% | 0% | 0% | 0% | 11 |
| 83.1% | 949.9% | 192.8% | -1042.7% | 0% | 0% | 0% | 12 |
Compiled 12 to 9 computations (25% saved)
| 1.1s | 2213× | body | 1024 | valid |
| 912.0ms | 4531× | body | 256 | valid |
| 363.0ms | 1066× | body | 512 | valid |
| 310.0ms | 446× | body | 2048 | valid |
| 2× | egg-herbie |
| 16× | sub-neg |
| 12× | fma-def |
| 8× | +-commutative |
| 6× | associate--r+ |
| 6× | associate-+l- |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 7 | 11 |
| 1 | 11 | 11 |
| 2 | 15 | 11 |
| 3 | 22 | 11 |
| 4 | 29 | 11 |
| 5 | 39 | 11 |
| 6 | 50 | 11 |
| 7 | 62 | 11 |
| 8 | 65 | 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 |
| 16× | sub-neg |
| 12× | fma-def |
| 8× | +-commutative |
| 6× | associate--r+ |
| 6× | associate-+l- |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 7 | 11 |
| 1 | 11 | 11 |
| 2 | 15 | 11 |
| 3 | 22 | 11 |
| 4 | 29 | 11 |
| 5 | 39 | 11 |
| 6 | 50 | 11 |
| 7 | 62 | 11 |
| 8 | 65 | 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 | Accuracy | Program |
|---|---|---|
| ▶ | 54.3% | (-.f64 1 (cos.f64 x)) |
| ▶ | 54.3% | (-.f64 1 (cos.f64 x)) |
Compiled 10 to 8 computations (20% saved)
Found 1 expressions with local accuracy:
| New | Accuracy | Program |
|---|---|---|
| ✓ | 54.3% | (-.f64 1 (cos.f64 x)) |
Compiled 10 to 6 computations (40% 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 |
| 1386× | pow1 |
| 1278× | add-exp-log |
| 1278× | log1p-expm1-u |
| 1278× | expm1-log1p-u |
| 1252× | add-log-exp |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 7 | 11 |
| 1 | 140 | 11 |
| 2 | 1691 | 11 |
| 1× | node limit |
| Inputs |
|---|
(-.f64 1 (cos.f64 x)) |
| Outputs |
|---|
(+.f64 1 (neg.f64 (cos.f64 x))) |
(+.f64 1 (*.f64 (neg.f64 (cos.f64 x)) 1)) |
(+.f64 (neg.f64 (cos.f64 x)) 1) |
(*.f64 1 (-.f64 1 (cos.f64 x))) |
(*.f64 (-.f64 1 (cos.f64 x)) 1) |
(*.f64 (cbrt.f64 (-.f64 1 (cos.f64 x))) (pow.f64 (cbrt.f64 (-.f64 1 (cos.f64 x))) 2)) |
(*.f64 (pow.f64 (cbrt.f64 (-.f64 1 (cos.f64 x))) 2) (cbrt.f64 (-.f64 1 (cos.f64 x)))) |
(*.f64 (sqrt.f64 (-.f64 1 (cos.f64 x))) (sqrt.f64 (-.f64 1 (cos.f64 x)))) |
(*.f64 (-.f64 1 (pow.f64 (cos.f64 x) 3)) (/.f64 1 (+.f64 1 (+.f64 (cos.f64 x) (pow.f64 (cos.f64 x) 2))))) |
(*.f64 (*.f64 (sin.f64 x) (sin.f64 x)) (/.f64 1 (+.f64 1 (cos.f64 x)))) |
(/.f64 1 (/.f64 (+.f64 1 (+.f64 (cos.f64 x) (pow.f64 (cos.f64 x) 2))) (-.f64 1 (pow.f64 (cos.f64 x) 3)))) |
(/.f64 1 (/.f64 (+.f64 1 (cos.f64 x)) (*.f64 (sin.f64 x) (sin.f64 x)))) |
(/.f64 (-.f64 1 (pow.f64 (cos.f64 x) 3)) (+.f64 1 (+.f64 (cos.f64 x) (pow.f64 (cos.f64 x) 2)))) |
(/.f64 (*.f64 (sin.f64 x) (sin.f64 x)) (+.f64 1 (cos.f64 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))))) |
(/.f64 (neg.f64 (*.f64 (sin.f64 x) (sin.f64 x))) (neg.f64 (+.f64 1 (cos.f64 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))))) |
(/.f64 (-.f64 1 (*.f64 (neg.f64 (cos.f64 x)) (neg.f64 (cos.f64 x)))) (-.f64 1 (neg.f64 (cos.f64 x)))) |
(pow.f64 (-.f64 1 (cos.f64 x)) 1) |
(pow.f64 (cbrt.f64 (-.f64 1 (cos.f64 x))) 3) |
(pow.f64 (pow.f64 (-.f64 1 (cos.f64 x)) 3) 1/3) |
(pow.f64 (sqrt.f64 (-.f64 1 (cos.f64 x))) 2) |
(sqrt.f64 (pow.f64 (-.f64 1 (cos.f64 x)) 2)) |
(log.f64 (exp.f64 (-.f64 1 (cos.f64 x)))) |
(cbrt.f64 (pow.f64 (-.f64 1 (cos.f64 x)) 3)) |
(expm1.f64 (log1p.f64 (-.f64 1 (cos.f64 x)))) |
(exp.f64 (log1p.f64 (neg.f64 (cos.f64 x)))) |
(log1p.f64 (expm1.f64 (-.f64 1 (cos.f64 x)))) |
| 1× | egg-herbie |
| 1070× | associate-/l* |
| 998× | div-sub |
| 824× | distribute-lft-in |
| 782× | distribute-rgt-in |
| 724× | associate-/r* |
Useful iterations: 2 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 93 | 800 |
| 1 | 231 | 740 |
| 2 | 679 | 670 |
| 3 | 3306 | 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 1 (*.f64 (neg.f64 (cos.f64 x)) 1)) |
(+.f64 (neg.f64 (cos.f64 x)) 1) |
(*.f64 1 (-.f64 1 (cos.f64 x))) |
(*.f64 (-.f64 1 (cos.f64 x)) 1) |
(*.f64 (cbrt.f64 (-.f64 1 (cos.f64 x))) (pow.f64 (cbrt.f64 (-.f64 1 (cos.f64 x))) 2)) |
(*.f64 (pow.f64 (cbrt.f64 (-.f64 1 (cos.f64 x))) 2) (cbrt.f64 (-.f64 1 (cos.f64 x)))) |
(*.f64 (sqrt.f64 (-.f64 1 (cos.f64 x))) (sqrt.f64 (-.f64 1 (cos.f64 x)))) |
(*.f64 (-.f64 1 (pow.f64 (cos.f64 x) 3)) (/.f64 1 (+.f64 1 (+.f64 (cos.f64 x) (pow.f64 (cos.f64 x) 2))))) |
(*.f64 (*.f64 (sin.f64 x) (sin.f64 x)) (/.f64 1 (+.f64 1 (cos.f64 x)))) |
(/.f64 1 (/.f64 (+.f64 1 (+.f64 (cos.f64 x) (pow.f64 (cos.f64 x) 2))) (-.f64 1 (pow.f64 (cos.f64 x) 3)))) |
(/.f64 1 (/.f64 (+.f64 1 (cos.f64 x)) (*.f64 (sin.f64 x) (sin.f64 x)))) |
(/.f64 (-.f64 1 (pow.f64 (cos.f64 x) 3)) (+.f64 1 (+.f64 (cos.f64 x) (pow.f64 (cos.f64 x) 2)))) |
(/.f64 (*.f64 (sin.f64 x) (sin.f64 x)) (+.f64 1 (cos.f64 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))))) |
(/.f64 (neg.f64 (*.f64 (sin.f64 x) (sin.f64 x))) (neg.f64 (+.f64 1 (cos.f64 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))))) |
(/.f64 (-.f64 1 (*.f64 (neg.f64 (cos.f64 x)) (neg.f64 (cos.f64 x)))) (-.f64 1 (neg.f64 (cos.f64 x)))) |
(pow.f64 (-.f64 1 (cos.f64 x)) 1) |
(pow.f64 (cbrt.f64 (-.f64 1 (cos.f64 x))) 3) |
(pow.f64 (pow.f64 (-.f64 1 (cos.f64 x)) 3) 1/3) |
(pow.f64 (sqrt.f64 (-.f64 1 (cos.f64 x))) 2) |
(sqrt.f64 (pow.f64 (-.f64 1 (cos.f64 x)) 2)) |
(log.f64 (exp.f64 (-.f64 1 (cos.f64 x)))) |
(cbrt.f64 (pow.f64 (-.f64 1 (cos.f64 x)) 3)) |
(expm1.f64 (log1p.f64 (-.f64 1 (cos.f64 x)))) |
(exp.f64 (log1p.f64 (neg.f64 (cos.f64 x)))) |
(log1p.f64 (expm1.f64 (-.f64 1 (cos.f64 x)))) |
| Outputs |
|---|
(*.f64 1/2 (pow.f64 x 2)) |
(*.f64 1/2 (*.f64 x x)) |
(+.f64 (*.f64 1/2 (pow.f64 x 2)) (*.f64 -1/24 (pow.f64 x 4))) |
(fma.f64 1/2 (*.f64 x x) (*.f64 -1/24 (pow.f64 x 4))) |
(fma.f64 -1/24 (pow.f64 x 4) (*.f64 1/2 (*.f64 x x))) |
(+.f64 (*.f64 1/2 (pow.f64 x 2)) (+.f64 (*.f64 -1/24 (pow.f64 x 4)) (*.f64 1/720 (pow.f64 x 6)))) |
(fma.f64 1/2 (*.f64 x x) (fma.f64 -1/24 (pow.f64 x 4) (*.f64 1/720 (pow.f64 x 6)))) |
(fma.f64 -1/24 (pow.f64 x 4) (fma.f64 1/2 (*.f64 x x) (*.f64 1/720 (pow.f64 x 6)))) |
(+.f64 (*.f64 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))))) |
(+.f64 1 (neg.f64 (cos.f64 x))) |
(-.f64 1 (cos.f64 x)) |
(+.f64 1 (*.f64 (neg.f64 (cos.f64 x)) 1)) |
(-.f64 1 (cos.f64 x)) |
(+.f64 (neg.f64 (cos.f64 x)) 1) |
(-.f64 1 (cos.f64 x)) |
(*.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 (cbrt.f64 (-.f64 1 (cos.f64 x))) (pow.f64 (cbrt.f64 (-.f64 1 (cos.f64 x))) 2)) |
(-.f64 1 (cos.f64 x)) |
(*.f64 (pow.f64 (cbrt.f64 (-.f64 1 (cos.f64 x))) 2) (cbrt.f64 (-.f64 1 (cos.f64 x)))) |
(-.f64 1 (cos.f64 x)) |
(*.f64 (sqrt.f64 (-.f64 1 (cos.f64 x))) (sqrt.f64 (-.f64 1 (cos.f64 x)))) |
(-.f64 1 (cos.f64 x)) |
(*.f64 (-.f64 1 (pow.f64 (cos.f64 x) 3)) (/.f64 1 (+.f64 1 (+.f64 (cos.f64 x) (pow.f64 (cos.f64 x) 2))))) |
(*.f64 (-.f64 1 (pow.f64 (cos.f64 x) 3)) (/.f64 1 (+.f64 (+.f64 1 (cos.f64 x)) (pow.f64 (cos.f64 x) 2)))) |
(/.f64 (-.f64 1 (pow.f64 (cos.f64 x) 3)) (+.f64 1 (+.f64 (cos.f64 x) (pow.f64 (cos.f64 x) 2)))) |
(/.f64 (-.f64 1 (pow.f64 (cos.f64 x) 3)) (fma.f64 (cos.f64 x) (+.f64 1 (cos.f64 x)) 1)) |
(*.f64 (*.f64 (sin.f64 x) (sin.f64 x)) (/.f64 1 (+.f64 1 (cos.f64 x)))) |
(/.f64 (*.f64 (*.f64 (sin.f64 x) (sin.f64 x)) 1) (+.f64 1 (cos.f64 x))) |
(/.f64 (*.f64 (sin.f64 x) (sin.f64 x)) (+.f64 1 (cos.f64 x))) |
(*.f64 (sin.f64 x) (tan.f64 (/.f64 x 2))) |
(/.f64 1 (/.f64 (+.f64 1 (+.f64 (cos.f64 x) (pow.f64 (cos.f64 x) 2))) (-.f64 1 (pow.f64 (cos.f64 x) 3)))) |
(*.f64 (-.f64 1 (pow.f64 (cos.f64 x) 3)) (/.f64 1 (+.f64 (+.f64 1 (cos.f64 x)) (pow.f64 (cos.f64 x) 2)))) |
(/.f64 (-.f64 1 (pow.f64 (cos.f64 x) 3)) (+.f64 1 (+.f64 (cos.f64 x) (pow.f64 (cos.f64 x) 2)))) |
(/.f64 (-.f64 1 (pow.f64 (cos.f64 x) 3)) (fma.f64 (cos.f64 x) (+.f64 1 (cos.f64 x)) 1)) |
(/.f64 1 (/.f64 (+.f64 1 (cos.f64 x)) (*.f64 (sin.f64 x) (sin.f64 x)))) |
(/.f64 (*.f64 (*.f64 (sin.f64 x) (sin.f64 x)) 1) (+.f64 1 (cos.f64 x))) |
(/.f64 (*.f64 (sin.f64 x) (sin.f64 x)) (+.f64 1 (cos.f64 x))) |
(*.f64 (sin.f64 x) (tan.f64 (/.f64 x 2))) |
(/.f64 (-.f64 1 (pow.f64 (cos.f64 x) 3)) (+.f64 1 (+.f64 (cos.f64 x) (pow.f64 (cos.f64 x) 2)))) |
(*.f64 (-.f64 1 (pow.f64 (cos.f64 x) 3)) (/.f64 1 (+.f64 (+.f64 1 (cos.f64 x)) (pow.f64 (cos.f64 x) 2)))) |
(/.f64 (-.f64 1 (pow.f64 (cos.f64 x) 3)) (fma.f64 (cos.f64 x) (+.f64 1 (cos.f64 x)) 1)) |
(/.f64 (*.f64 (sin.f64 x) (sin.f64 x)) (+.f64 1 (cos.f64 x))) |
(/.f64 (*.f64 (*.f64 (sin.f64 x) (sin.f64 x)) 1) (+.f64 1 (cos.f64 x))) |
(*.f64 (sin.f64 x) (tan.f64 (/.f64 x 2))) |
(/.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))))) |
(*.f64 (-.f64 1 (pow.f64 (cos.f64 x) 3)) (/.f64 1 (+.f64 (+.f64 1 (cos.f64 x)) (pow.f64 (cos.f64 x) 2)))) |
(/.f64 (-.f64 1 (pow.f64 (cos.f64 x) 3)) (+.f64 1 (+.f64 (cos.f64 x) (pow.f64 (cos.f64 x) 2)))) |
(/.f64 (-.f64 1 (pow.f64 (cos.f64 x) 3)) (fma.f64 (cos.f64 x) (+.f64 1 (cos.f64 x)) 1)) |
(/.f64 (neg.f64 (*.f64 (sin.f64 x) (sin.f64 x))) (neg.f64 (+.f64 1 (cos.f64 x)))) |
(/.f64 (*.f64 (*.f64 (sin.f64 x) (sin.f64 x)) 1) (+.f64 1 (cos.f64 x))) |
(/.f64 (*.f64 (sin.f64 x) (sin.f64 x)) (+.f64 1 (cos.f64 x))) |
(*.f64 (sin.f64 x) (tan.f64 (/.f64 x 2))) |
(/.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))))) |
(*.f64 (-.f64 1 (pow.f64 (cos.f64 x) 3)) (/.f64 1 (+.f64 (+.f64 1 (cos.f64 x)) (pow.f64 (cos.f64 x) 2)))) |
(/.f64 (-.f64 1 (pow.f64 (cos.f64 x) 3)) (+.f64 1 (+.f64 (cos.f64 x) (pow.f64 (cos.f64 x) 2)))) |
(/.f64 (-.f64 1 (pow.f64 (cos.f64 x) 3)) (fma.f64 (cos.f64 x) (+.f64 1 (cos.f64 x)) 1)) |
(/.f64 (-.f64 1 (*.f64 (neg.f64 (cos.f64 x)) (neg.f64 (cos.f64 x)))) (-.f64 1 (neg.f64 (cos.f64 x)))) |
(/.f64 (*.f64 (*.f64 (sin.f64 x) (sin.f64 x)) 1) (+.f64 1 (cos.f64 x))) |
(/.f64 (*.f64 (sin.f64 x) (sin.f64 x)) (+.f64 1 (cos.f64 x))) |
(*.f64 (sin.f64 x) (tan.f64 (/.f64 x 2))) |
(pow.f64 (-.f64 1 (cos.f64 x)) 1) |
(-.f64 1 (cos.f64 x)) |
(pow.f64 (cbrt.f64 (-.f64 1 (cos.f64 x))) 3) |
(-.f64 1 (cos.f64 x)) |
(pow.f64 (pow.f64 (-.f64 1 (cos.f64 x)) 3) 1/3) |
(-.f64 1 (cos.f64 x)) |
(pow.f64 (sqrt.f64 (-.f64 1 (cos.f64 x))) 2) |
(-.f64 1 (cos.f64 x)) |
(sqrt.f64 (pow.f64 (-.f64 1 (cos.f64 x)) 2)) |
(-.f64 1 (cos.f64 x)) |
(log.f64 (exp.f64 (-.f64 1 (cos.f64 x)))) |
(-.f64 1 (cos.f64 x)) |
(cbrt.f64 (pow.f64 (-.f64 1 (cos.f64 x)) 3)) |
(-.f64 1 (cos.f64 x)) |
(expm1.f64 (log1p.f64 (-.f64 1 (cos.f64 x)))) |
(-.f64 1 (cos.f64 x)) |
(exp.f64 (log1p.f64 (neg.f64 (cos.f64 x)))) |
(log1p.f64 (expm1.f64 (-.f64 1 (cos.f64 x)))) |
(-.f64 1 (cos.f64 x)) |
Compiled 491 to 309 computations (37.1% saved)
2 alts after pruning (2 fresh and 0 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 42 | 2 | 44 |
| Fresh | 0 | 0 | 0 |
| Picked | 1 | 0 | 1 |
| Done | 0 | 0 | 0 |
| Total | 43 | 2 | 45 |
| Status | Accuracy | Program |
|---|---|---|
| ▶ | 100.0% | (*.f64 (sin.f64 x) (tan.f64 (/.f64 x 2))) |
| ▶ | 100.0% | (*.f64 1/2 (*.f64 x x)) |
| ▶ | 100.0% | (*.f64 (sin.f64 x) (tan.f64 (/.f64 x 2))) |
| ▶ | 100.0% | (*.f64 1/2 (*.f64 x x)) |
Compiled 28 to 20 computations (28.6% saved)
Found 2 expressions with local accuracy:
| New | Accuracy | Program |
|---|---|---|
| ✓ | 100.0% | (tan.f64 (/.f64 x 2)) |
| ✓ | 100.0% | (*.f64 1/2 (*.f64 x x)) |
Compiled 30 to 17 computations (43.3% saved)
6 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 0.0ms | x | @ | 0 | (*.f64 1/2 (*.f64 x x)) |
| 0.0ms | x | @ | inf | (tan.f64 (/.f64 x 2)) |
| 0.0ms | x | @ | 0 | (tan.f64 (/.f64 x 2)) |
| 0.0ms | x | @ | -inf | (tan.f64 (/.f64 x 2)) |
| 0.0ms | x | @ | inf | (*.f64 1/2 (*.f64 x x)) |
| 1× | batch-egg-rewrite |
| 1822× | pow1 |
| 1680× | add-exp-log |
| 1680× | log1p-expm1-u |
| 1680× | expm1-log1p-u |
| 1642× | add-log-exp |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 10 | 24 |
| 1 | 209 | 24 |
| 2 | 2392 | 24 |
| 1× | node limit |
| Inputs |
|---|
(*.f64 1/2 (*.f64 x x)) |
(tan.f64 (/.f64 x 2)) |
| Outputs |
|---|
(-.f64 (+.f64 1 (*.f64 1/2 (*.f64 x x))) 1) |
(pow.f64 (*.f64 1/2 (*.f64 x x)) 1) |
(pow.f64 (cbrt.f64 (*.f64 1/2 (*.f64 x x))) 3) |
(pow.f64 (pow.f64 (*.f64 1/2 (*.f64 x x)) 3) 1/3) |
(pow.f64 (*.f64 x (sqrt.f64 1/2)) 2) |
(sqrt.f64 (*.f64 (pow.f64 x 4) 1/4)) |
(log.f64 (pow.f64 (sqrt.f64 (exp.f64 x)) x)) |
(cbrt.f64 (pow.f64 (*.f64 1/2 (*.f64 x x)) 3)) |
(expm1.f64 (log1p.f64 (*.f64 1/2 (*.f64 x x)))) |
(exp.f64 (log.f64 (*.f64 1/2 (*.f64 x x)))) |
(log1p.f64 (expm1.f64 (*.f64 1/2 (*.f64 x x)))) |
(-.f64 (+.f64 1 (tan.f64 (*.f64 1/2 x))) 1) |
(*.f64 (tan.f64 (*.f64 1/2 x)) 1) |
(*.f64 1 (tan.f64 (*.f64 1/2 x))) |
(*.f64 (cbrt.f64 (tan.f64 (*.f64 1/2 x))) (pow.f64 (cbrt.f64 (tan.f64 (*.f64 1/2 x))) 2)) |
(*.f64 (pow.f64 (cbrt.f64 (tan.f64 (*.f64 1/2 x))) 2) (cbrt.f64 (tan.f64 (*.f64 1/2 x)))) |
(*.f64 (sqrt.f64 (tan.f64 (*.f64 1/2 x))) (sqrt.f64 (tan.f64 (*.f64 1/2 x)))) |
(*.f64 (sin.f64 (*.f64 1/2 x)) (/.f64 1 (cos.f64 (*.f64 1/2 x)))) |
(/.f64 1 (/.f64 (cos.f64 (*.f64 1/2 x)) (sin.f64 (*.f64 1/2 x)))) |
(/.f64 (sin.f64 (*.f64 1/2 x)) (cos.f64 (*.f64 1/2 x))) |
(/.f64 (neg.f64 (sin.f64 (*.f64 1/2 x))) (neg.f64 (cos.f64 (*.f64 1/2 x)))) |
(pow.f64 (tan.f64 (*.f64 1/2 x)) 1) |
(pow.f64 (cbrt.f64 (tan.f64 (*.f64 1/2 x))) 3) |
(pow.f64 (pow.f64 (tan.f64 (*.f64 1/2 x)) 3) 1/3) |
(pow.f64 (sqrt.f64 (tan.f64 (*.f64 1/2 x))) 2) |
(sqrt.f64 (pow.f64 (tan.f64 (*.f64 1/2 x)) 2)) |
(log.f64 (exp.f64 (tan.f64 (*.f64 1/2 x)))) |
(cbrt.f64 (pow.f64 (tan.f64 (*.f64 1/2 x)) 3)) |
(expm1.f64 (log1p.f64 (tan.f64 (*.f64 1/2 x)))) |
(exp.f64 (log.f64 (tan.f64 (*.f64 1/2 x)))) |
(log1p.f64 (expm1.f64 (tan.f64 (*.f64 1/2 x)))) |
| 1× | egg-herbie |
| 1782× | log-prod |
| 1570× | fma-def |
| 1230× | associate-*r* |
| 1092× | associate-*l* |
| 758× | distribute-rgt-in |
Useful iterations: 2 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 94 | 1109 |
| 1 | 209 | 1013 |
| 2 | 706 | 917 |
| 3 | 4127 | 917 |
| 1× | node limit |
| Inputs |
|---|
(*.f64 1/2 (pow.f64 x 2)) |
(*.f64 1/2 (pow.f64 x 2)) |
(*.f64 1/2 (pow.f64 x 2)) |
(*.f64 1/2 (pow.f64 x 2)) |
(*.f64 1/2 (pow.f64 x 2)) |
(*.f64 1/2 (pow.f64 x 2)) |
(*.f64 1/2 (pow.f64 x 2)) |
(*.f64 1/2 (pow.f64 x 2)) |
(*.f64 1/2 (pow.f64 x 2)) |
(*.f64 1/2 (pow.f64 x 2)) |
(*.f64 1/2 (pow.f64 x 2)) |
(*.f64 1/2 (pow.f64 x 2)) |
(*.f64 1/2 x) |
(+.f64 (*.f64 1/2 x) (*.f64 1/24 (pow.f64 x 3))) |
(+.f64 (*.f64 1/2 x) (+.f64 (*.f64 1/240 (pow.f64 x 5)) (*.f64 1/24 (pow.f64 x 3)))) |
(+.f64 (*.f64 1/2 x) (+.f64 (*.f64 1/240 (pow.f64 x 5)) (+.f64 (*.f64 17/40320 (pow.f64 x 7)) (*.f64 1/24 (pow.f64 x 3))))) |
(/.f64 (sin.f64 (*.f64 1/2 x)) (cos.f64 (*.f64 1/2 x))) |
(/.f64 (sin.f64 (*.f64 1/2 x)) (cos.f64 (*.f64 1/2 x))) |
(/.f64 (sin.f64 (*.f64 1/2 x)) (cos.f64 (*.f64 1/2 x))) |
(/.f64 (sin.f64 (*.f64 1/2 x)) (cos.f64 (*.f64 1/2 x))) |
(/.f64 (sin.f64 (*.f64 1/2 x)) (cos.f64 (*.f64 1/2 x))) |
(/.f64 (sin.f64 (*.f64 1/2 x)) (cos.f64 (*.f64 1/2 x))) |
(/.f64 (sin.f64 (*.f64 1/2 x)) (cos.f64 (*.f64 1/2 x))) |
(/.f64 (sin.f64 (*.f64 1/2 x)) (cos.f64 (*.f64 1/2 x))) |
(-.f64 (+.f64 1 (*.f64 1/2 (*.f64 x x))) 1) |
(pow.f64 (*.f64 1/2 (*.f64 x x)) 1) |
(pow.f64 (cbrt.f64 (*.f64 1/2 (*.f64 x x))) 3) |
(pow.f64 (pow.f64 (*.f64 1/2 (*.f64 x x)) 3) 1/3) |
(pow.f64 (*.f64 x (sqrt.f64 1/2)) 2) |
(sqrt.f64 (*.f64 (pow.f64 x 4) 1/4)) |
(log.f64 (pow.f64 (sqrt.f64 (exp.f64 x)) x)) |
(cbrt.f64 (pow.f64 (*.f64 1/2 (*.f64 x x)) 3)) |
(expm1.f64 (log1p.f64 (*.f64 1/2 (*.f64 x x)))) |
(exp.f64 (log.f64 (*.f64 1/2 (*.f64 x x)))) |
(log1p.f64 (expm1.f64 (*.f64 1/2 (*.f64 x x)))) |
(-.f64 (+.f64 1 (tan.f64 (*.f64 1/2 x))) 1) |
(*.f64 (tan.f64 (*.f64 1/2 x)) 1) |
(*.f64 1 (tan.f64 (*.f64 1/2 x))) |
(*.f64 (cbrt.f64 (tan.f64 (*.f64 1/2 x))) (pow.f64 (cbrt.f64 (tan.f64 (*.f64 1/2 x))) 2)) |
(*.f64 (pow.f64 (cbrt.f64 (tan.f64 (*.f64 1/2 x))) 2) (cbrt.f64 (tan.f64 (*.f64 1/2 x)))) |
(*.f64 (sqrt.f64 (tan.f64 (*.f64 1/2 x))) (sqrt.f64 (tan.f64 (*.f64 1/2 x)))) |
(*.f64 (sin.f64 (*.f64 1/2 x)) (/.f64 1 (cos.f64 (*.f64 1/2 x)))) |
(/.f64 1 (/.f64 (cos.f64 (*.f64 1/2 x)) (sin.f64 (*.f64 1/2 x)))) |
(/.f64 (sin.f64 (*.f64 1/2 x)) (cos.f64 (*.f64 1/2 x))) |
(/.f64 (neg.f64 (sin.f64 (*.f64 1/2 x))) (neg.f64 (cos.f64 (*.f64 1/2 x)))) |
(pow.f64 (tan.f64 (*.f64 1/2 x)) 1) |
(pow.f64 (cbrt.f64 (tan.f64 (*.f64 1/2 x))) 3) |
(pow.f64 (pow.f64 (tan.f64 (*.f64 1/2 x)) 3) 1/3) |
(pow.f64 (sqrt.f64 (tan.f64 (*.f64 1/2 x))) 2) |
(sqrt.f64 (pow.f64 (tan.f64 (*.f64 1/2 x)) 2)) |
(log.f64 (exp.f64 (tan.f64 (*.f64 1/2 x)))) |
(cbrt.f64 (pow.f64 (tan.f64 (*.f64 1/2 x)) 3)) |
(expm1.f64 (log1p.f64 (tan.f64 (*.f64 1/2 x)))) |
(exp.f64 (log.f64 (tan.f64 (*.f64 1/2 x)))) |
(log1p.f64 (expm1.f64 (tan.f64 (*.f64 1/2 x)))) |
| Outputs |
|---|
(*.f64 1/2 (pow.f64 x 2)) |
(*.f64 1/2 (*.f64 x x)) |
(*.f64 1/2 (pow.f64 x 2)) |
(*.f64 1/2 (*.f64 x x)) |
(*.f64 1/2 (pow.f64 x 2)) |
(*.f64 1/2 (*.f64 x x)) |
(*.f64 1/2 (pow.f64 x 2)) |
(*.f64 1/2 (*.f64 x x)) |
(*.f64 1/2 (pow.f64 x 2)) |
(*.f64 1/2 (*.f64 x x)) |
(*.f64 1/2 (pow.f64 x 2)) |
(*.f64 1/2 (*.f64 x x)) |
(*.f64 1/2 (pow.f64 x 2)) |
(*.f64 1/2 (*.f64 x x)) |
(*.f64 1/2 (pow.f64 x 2)) |
(*.f64 1/2 (*.f64 x x)) |
(*.f64 1/2 (pow.f64 x 2)) |
(*.f64 1/2 (*.f64 x x)) |
(*.f64 1/2 (pow.f64 x 2)) |
(*.f64 1/2 (*.f64 x x)) |
(*.f64 1/2 (pow.f64 x 2)) |
(*.f64 1/2 (*.f64 x x)) |
(*.f64 1/2 (pow.f64 x 2)) |
(*.f64 1/2 (*.f64 x x)) |
(*.f64 1/2 x) |
(+.f64 (*.f64 1/2 x) (*.f64 1/24 (pow.f64 x 3))) |
(fma.f64 1/2 x (*.f64 1/24 (pow.f64 x 3))) |
(*.f64 x (fma.f64 x (*.f64 x 1/24) 1/2)) |
(+.f64 (*.f64 1/2 x) (+.f64 (*.f64 1/240 (pow.f64 x 5)) (*.f64 1/24 (pow.f64 x 3)))) |
(fma.f64 1/2 x (fma.f64 1/240 (pow.f64 x 5) (*.f64 1/24 (pow.f64 x 3)))) |
(fma.f64 1/2 x (fma.f64 1/24 (pow.f64 x 3) (*.f64 1/240 (pow.f64 x 5)))) |
(fma.f64 x (fma.f64 x (*.f64 x 1/24) 1/2) (*.f64 1/240 (pow.f64 x 5))) |
(+.f64 (*.f64 1/2 x) (+.f64 (*.f64 1/240 (pow.f64 x 5)) (+.f64 (*.f64 17/40320 (pow.f64 x 7)) (*.f64 1/24 (pow.f64 x 3))))) |
(fma.f64 1/2 x (fma.f64 1/240 (pow.f64 x 5) (fma.f64 17/40320 (pow.f64 x 7) (*.f64 1/24 (pow.f64 x 3))))) |
(fma.f64 1/2 x (fma.f64 1/240 (pow.f64 x 5) (fma.f64 1/24 (pow.f64 x 3) (*.f64 17/40320 (pow.f64 x 7))))) |
(fma.f64 1/2 x (fma.f64 1/24 (pow.f64 x 3) (fma.f64 1/240 (pow.f64 x 5) (*.f64 17/40320 (pow.f64 x 7))))) |
(fma.f64 1/240 (pow.f64 x 5) (fma.f64 17/40320 (pow.f64 x 7) (*.f64 x (fma.f64 x (*.f64 x 1/24) 1/2)))) |
(/.f64 (sin.f64 (*.f64 1/2 x)) (cos.f64 (*.f64 1/2 x))) |
(/.f64 (sin.f64 (*.f64 1/2 x)) (cos.f64 (*.f64 1/2 x))) |
(/.f64 (sin.f64 (*.f64 1/2 x)) (cos.f64 (*.f64 1/2 x))) |
(/.f64 (sin.f64 (*.f64 1/2 x)) (cos.f64 (*.f64 1/2 x))) |
(/.f64 (sin.f64 (*.f64 1/2 x)) (cos.f64 (*.f64 1/2 x))) |
(/.f64 (sin.f64 (*.f64 1/2 x)) (cos.f64 (*.f64 1/2 x))) |
(/.f64 (sin.f64 (*.f64 1/2 x)) (cos.f64 (*.f64 1/2 x))) |
(/.f64 (sin.f64 (*.f64 1/2 x)) (cos.f64 (*.f64 1/2 x))) |
(-.f64 (+.f64 1 (*.f64 1/2 (*.f64 x x))) 1) |
(*.f64 1/2 (*.f64 x x)) |
(pow.f64 (*.f64 1/2 (*.f64 x x)) 1) |
(*.f64 1/2 (*.f64 x x)) |
(pow.f64 (cbrt.f64 (*.f64 1/2 (*.f64 x x))) 3) |
(*.f64 1/2 (*.f64 x x)) |
(pow.f64 (pow.f64 (*.f64 1/2 (*.f64 x x)) 3) 1/3) |
(*.f64 1/2 (*.f64 x x)) |
(pow.f64 (*.f64 x (sqrt.f64 1/2)) 2) |
(*.f64 1/2 (*.f64 x x)) |
(sqrt.f64 (*.f64 (pow.f64 x 4) 1/4)) |
(*.f64 1/2 (*.f64 x x)) |
(log.f64 (pow.f64 (sqrt.f64 (exp.f64 x)) x)) |
(*.f64 x (log.f64 (sqrt.f64 (exp.f64 x)))) |
(cbrt.f64 (pow.f64 (*.f64 1/2 (*.f64 x x)) 3)) |
(*.f64 1/2 (*.f64 x x)) |
(expm1.f64 (log1p.f64 (*.f64 1/2 (*.f64 x x)))) |
(*.f64 1/2 (*.f64 x x)) |
(exp.f64 (log.f64 (*.f64 1/2 (*.f64 x x)))) |
(*.f64 1/2 (*.f64 x x)) |
(log1p.f64 (expm1.f64 (*.f64 1/2 (*.f64 x x)))) |
(*.f64 1/2 (*.f64 x x)) |
(-.f64 (+.f64 1 (tan.f64 (*.f64 1/2 x))) 1) |
(+.f64 1 (-.f64 (tan.f64 (*.f64 1/2 x)) 1)) |
(+.f64 (tan.f64 (*.f64 1/2 x)) 0) |
(tan.f64 (*.f64 1/2 x)) |
(*.f64 (tan.f64 (*.f64 1/2 x)) 1) |
(+.f64 1 (-.f64 (tan.f64 (*.f64 1/2 x)) 1)) |
(+.f64 (tan.f64 (*.f64 1/2 x)) 0) |
(tan.f64 (*.f64 1/2 x)) |
(*.f64 1 (tan.f64 (*.f64 1/2 x))) |
(+.f64 1 (-.f64 (tan.f64 (*.f64 1/2 x)) 1)) |
(+.f64 (tan.f64 (*.f64 1/2 x)) 0) |
(tan.f64 (*.f64 1/2 x)) |
(*.f64 (cbrt.f64 (tan.f64 (*.f64 1/2 x))) (pow.f64 (cbrt.f64 (tan.f64 (*.f64 1/2 x))) 2)) |
(+.f64 1 (-.f64 (tan.f64 (*.f64 1/2 x)) 1)) |
(+.f64 (tan.f64 (*.f64 1/2 x)) 0) |
(tan.f64 (*.f64 1/2 x)) |
(*.f64 (pow.f64 (cbrt.f64 (tan.f64 (*.f64 1/2 x))) 2) (cbrt.f64 (tan.f64 (*.f64 1/2 x)))) |
(+.f64 1 (-.f64 (tan.f64 (*.f64 1/2 x)) 1)) |
(+.f64 (tan.f64 (*.f64 1/2 x)) 0) |
(tan.f64 (*.f64 1/2 x)) |
(*.f64 (sqrt.f64 (tan.f64 (*.f64 1/2 x))) (sqrt.f64 (tan.f64 (*.f64 1/2 x)))) |
(+.f64 1 (-.f64 (tan.f64 (*.f64 1/2 x)) 1)) |
(+.f64 (tan.f64 (*.f64 1/2 x)) 0) |
(tan.f64 (*.f64 1/2 x)) |
(*.f64 (sin.f64 (*.f64 1/2 x)) (/.f64 1 (cos.f64 (*.f64 1/2 x)))) |
(/.f64 (sin.f64 (*.f64 1/2 x)) (cos.f64 (*.f64 1/2 x))) |
(/.f64 1 (/.f64 (cos.f64 (*.f64 1/2 x)) (sin.f64 (*.f64 1/2 x)))) |
(/.f64 (sin.f64 (*.f64 1/2 x)) (cos.f64 (*.f64 1/2 x))) |
(/.f64 (sin.f64 (*.f64 1/2 x)) (cos.f64 (*.f64 1/2 x))) |
(/.f64 (neg.f64 (sin.f64 (*.f64 1/2 x))) (neg.f64 (cos.f64 (*.f64 1/2 x)))) |
(/.f64 (sin.f64 (*.f64 1/2 x)) (cos.f64 (*.f64 1/2 x))) |
(pow.f64 (tan.f64 (*.f64 1/2 x)) 1) |
(+.f64 1 (-.f64 (tan.f64 (*.f64 1/2 x)) 1)) |
(+.f64 (tan.f64 (*.f64 1/2 x)) 0) |
(tan.f64 (*.f64 1/2 x)) |
(pow.f64 (cbrt.f64 (tan.f64 (*.f64 1/2 x))) 3) |
(+.f64 1 (-.f64 (tan.f64 (*.f64 1/2 x)) 1)) |
(+.f64 (tan.f64 (*.f64 1/2 x)) 0) |
(tan.f64 (*.f64 1/2 x)) |
(pow.f64 (pow.f64 (tan.f64 (*.f64 1/2 x)) 3) 1/3) |
(+.f64 1 (-.f64 (tan.f64 (*.f64 1/2 x)) 1)) |
(+.f64 (tan.f64 (*.f64 1/2 x)) 0) |
(tan.f64 (*.f64 1/2 x)) |
(pow.f64 (sqrt.f64 (tan.f64 (*.f64 1/2 x))) 2) |
(+.f64 1 (-.f64 (tan.f64 (*.f64 1/2 x)) 1)) |
(+.f64 (tan.f64 (*.f64 1/2 x)) 0) |
(tan.f64 (*.f64 1/2 x)) |
(sqrt.f64 (pow.f64 (tan.f64 (*.f64 1/2 x)) 2)) |
(+.f64 1 (-.f64 (tan.f64 (*.f64 1/2 x)) 1)) |
(+.f64 (tan.f64 (*.f64 1/2 x)) 0) |
(tan.f64 (*.f64 1/2 x)) |
(log.f64 (exp.f64 (tan.f64 (*.f64 1/2 x)))) |
(+.f64 1 (-.f64 (tan.f64 (*.f64 1/2 x)) 1)) |
(+.f64 (tan.f64 (*.f64 1/2 x)) 0) |
(tan.f64 (*.f64 1/2 x)) |
(cbrt.f64 (pow.f64 (tan.f64 (*.f64 1/2 x)) 3)) |
(+.f64 1 (-.f64 (tan.f64 (*.f64 1/2 x)) 1)) |
(+.f64 (tan.f64 (*.f64 1/2 x)) 0) |
(tan.f64 (*.f64 1/2 x)) |
(expm1.f64 (log1p.f64 (tan.f64 (*.f64 1/2 x)))) |
(+.f64 1 (-.f64 (tan.f64 (*.f64 1/2 x)) 1)) |
(+.f64 (tan.f64 (*.f64 1/2 x)) 0) |
(tan.f64 (*.f64 1/2 x)) |
(exp.f64 (log.f64 (tan.f64 (*.f64 1/2 x)))) |
(+.f64 1 (-.f64 (tan.f64 (*.f64 1/2 x)) 1)) |
(+.f64 (tan.f64 (*.f64 1/2 x)) 0) |
(tan.f64 (*.f64 1/2 x)) |
(log1p.f64 (expm1.f64 (tan.f64 (*.f64 1/2 x)))) |
(+.f64 1 (-.f64 (tan.f64 (*.f64 1/2 x)) 1)) |
(+.f64 (tan.f64 (*.f64 1/2 x)) 0) |
(tan.f64 (*.f64 1/2 x)) |
Compiled 563 to 385 computations (31.6% saved)
2 alts after pruning (1 fresh and 1 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 49 | 1 | 50 |
| Fresh | 0 | 0 | 0 |
| Picked | 1 | 1 | 2 |
| Done | 0 | 0 | 0 |
| Total | 50 | 2 | 52 |
| Status | Accuracy | Program |
|---|---|---|
| ▶ | 100.0% | (*.f64 (sin.f64 x) (*.f64 1/2 x)) |
| ✓ | 100.0% | (*.f64 1/2 (*.f64 x x)) |
| ▶ | 100.0% | (*.f64 (sin.f64 x) (*.f64 1/2 x)) |
| ✓ | 100.0% | (*.f64 1/2 (*.f64 x x)) |
Compiled 26 to 18 computations (30.8% saved)
Compiled 15 to 9 computations (40% saved)
Compiled 1 to 1 computations (0% saved)
2 alts after pruning (0 fresh and 2 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 0 | 0 | 0 |
| Fresh | 0 | 0 | 0 |
| Picked | 0 | 1 | 1 |
| Done | 0 | 1 | 1 |
| Total | 0 | 2 | 2 |
| Status | Accuracy | Program |
|---|---|---|
| ✓ | 100.0% | (*.f64 (sin.f64 x) (*.f64 1/2 x)) |
| ✓ | 100.0% | (*.f64 1/2 (*.f64 x x)) |
Compiled 36 to 24 computations (33.3% saved)
| Inputs |
|---|
(*.f64 1/2 (*.f64 x x)) |
(-.f64 1 (cos.f64 x)) |
(*.f64 (sin.f64 x) (*.f64 1/2 x)) |
(*.f64 (sin.f64 x) (tan.f64 (/.f64 x 2))) |
| Outputs |
|---|
(*.f64 (sin.f64 x) (*.f64 1/2 x)) |
3 calls:
| 5.0ms | x |
| 2.0ms | (-.f64 1 (cos.f64 x)) |
| 2.0ms | (cos.f64 x) |
| Accuracy | Segments | Branch |
|---|---|---|
| 100.0% | 1 | x |
| 100.0% | 1 | (-.f64 1 (cos.f64 x)) |
| 100.0% | 1 | (cos.f64 x) |
Compiled 33 to 22 computations (33.3% saved)
Total -29.2b remaining (-747947.9%)
Threshold costs -29.2b (-747947.9%)
| Inputs |
|---|
(*.f64 1/2 (*.f64 x x)) |
(-.f64 1 (cos.f64 x)) |
| Outputs |
|---|
(*.f64 1/2 (*.f64 x x)) |
3 calls:
| 3.0ms | x |
| 2.0ms | (-.f64 1 (cos.f64 x)) |
| 2.0ms | (cos.f64 x) |
| Accuracy | Segments | Branch |
|---|---|---|
| 100.0% | 1 | x |
| 100.0% | 1 | (-.f64 1 (cos.f64 x)) |
| 100.0% | 1 | (cos.f64 x) |
Compiled 20 to 14 computations (30% saved)
| 1× | egg-herbie |
| 6× | *-commutative |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 10 | 30 |
| 1 | 13 | 30 |
| 1× | done |
| 1× | saturated |
| Inputs |
|---|
(*.f64 (sin.f64 x) (*.f64 1/2 x)) |
(*.f64 1/2 (*.f64 x x)) |
| Outputs |
|---|
(*.f64 (sin.f64 x) (*.f64 1/2 x)) |
(*.f64 (sin.f64 x) (*.f64 x 1/2)) |
(*.f64 1/2 (*.f64 x x)) |
Compiled 13 to 9 computations (30.8% saved)
| 1386× | pow1 |
| 1278× | add-exp-log |
| 1278× | log1p-expm1-u |
| 1278× | expm1-log1p-u |
| 1252× | add-log-exp |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 7 | 11 |
| 1 | 140 | 11 |
| 2 | 1691 | 11 |
| 0 | 93 | 800 |
| 1 | 231 | 740 |
| 2 | 679 | 670 |
| 3 | 3306 | 670 |
| 0 | 93 | 800 |
| 1 | 231 | 740 |
| 2 | 679 | 670 |
| 3 | 3306 | 670 |
| 1× | node limit |
| 1× | node limit |
| 1× | node limit |
Compiled 124 to 68 computations (45.2% saved)
Compiled 56 to 38 computations (32.1% saved)
Loading profile data...