Time bar (total: 6.7s)
| 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 |
| 0% | 0% | 100% | 0% | 0% | 0% | 0% | 3 |
| 37.5% | 37.5% | 62.5% | 0% | 0% | 0% | 0% | 4 |
| 43.8% | 43.7% | 56.2% | 0% | 0% | 0% | 0% | 5 |
| 46.9% | 46.9% | 53.1% | 0% | 0% | 0% | 0% | 6 |
| 48.4% | 48.4% | 51.5% | 0% | 0% | 0% | 0% | 7 |
| 49.2% | 49.2% | 50.8% | 0% | 0% | 0% | 0% | 8 |
| 49.6% | 49.6% | 50.4% | 0% | 0% | 0% | 0% | 9 |
| 49.8% | 49.8% | 50.2% | 0% | 0% | 0% | 0% | 10 |
| 49.9% | 49.9% | 50.1% | 0% | 0% | 0% | 0% | 11 |
| 50% | 49.9% | 50% | 0% | 0% | 0% | 0% | 12 |
Compiled 9 to 7 computations (22.2% saved)
| 3.8s | 2026× | body | 2048 | valid |
| 1.4s | 3051× | body | 1024 | valid |
| 440.0ms | 1619× | body | 512 | valid |
| 275.0ms | 1464× | body | 256 | valid |
| 154.0ms | 94× | body | 4096 | valid |
| 7.0ms | 2× | body | 8192 | valid |
| 2× | egg-herbie |
| 196× | fma-def |
| 118× | associate-*r* |
| 90× | *-commutative |
| 80× | associate-+l- |
| 74× | associate-/l* |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 9 | 11 |
| 1 | 19 | 11 |
| 2 | 25 | 11 |
| 3 | 36 | 11 |
| 4 | 58 | 11 |
| 5 | 85 | 11 |
| 6 | 126 | 11 |
| 7 | 206 | 11 |
| 8 | 368 | 11 |
| 9 | 598 | 11 |
| 10 | 817 | 11 |
| 11 | 861 | 11 |
| 0 | 1 | 1 |
| 1× | saturated |
| 1× | saturated |
| Inputs |
|---|
0 |
| Outputs |
|---|
0 |
| Inputs |
|---|
(/.f64 (-.f64 1 (cos.f64 x)) (sin.f64 x)) |
| Outputs |
|---|
(/.f64 (-.f64 1 (cos.f64 x)) (sin.f64 x)) |
(tan.f64 (/.f64 x 2)) |
Compiled 9 to 7 computations (22.2% saved)
| 1× | egg-herbie |
| 196× | fma-def |
| 118× | associate-*r* |
| 90× | *-commutative |
| 80× | associate-+l- |
| 74× | associate-/l* |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 9 | 11 |
| 1 | 19 | 11 |
| 2 | 25 | 11 |
| 3 | 36 | 11 |
| 4 | 58 | 11 |
| 5 | 85 | 11 |
| 6 | 126 | 11 |
| 7 | 206 | 11 |
| 8 | 368 | 11 |
| 9 | 598 | 11 |
| 10 | 817 | 11 |
| 11 | 861 | 11 |
| 1× | saturated |
| Inputs |
|---|
(/.f64 (-.f64 1 (cos.f64 x)) (sin.f64 x)) |
| Outputs |
|---|
(/.f64 (-.f64 1 (cos.f64 x)) (sin.f64 x)) |
(tan.f64 (/.f64 x 2)) |
Compiled 12 to 9 computations (25% saved)
1 alts after pruning (1 fresh and 0 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 1 | 1 | 2 |
| Fresh | 1 | 0 | 1 |
| Picked | 0 | 0 | 0 |
| Done | 0 | 0 | 0 |
| Total | 2 | 1 | 3 |
| Status | Accuracy | Program |
|---|---|---|
| ▶ | 100.0% | (tan.f64 (/.f64 x 2)) |
Compiled 5 to 4 computations (20% saved)
Found 1 expressions with local accuracy:
| New | Accuracy | Program |
|---|---|---|
| ✓ | 100.0% | (tan.f64 (/.f64 x 2)) |
Compiled 10 to 7 computations (30% saved)
3 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 1.0ms | x | @ | 0 | (tan.f64 (/.f64 x 2)) |
| 0.0ms | x | @ | inf | (tan.f64 (/.f64 x 2)) |
| 0.0ms | x | @ | -inf | (tan.f64 (/.f64 x 2)) |
| 1× | batch-egg-rewrite |
| 1392× | add-sqr-sqrt |
| 1366× | *-un-lft-identity |
| 1276× | add-cube-cbrt |
| 1264× | add-cbrt-cube |
| 1250× | add-exp-log |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 7 | 11 |
| 1 | 148 | 11 |
| 2 | 1723 | 11 |
| 1× | node limit |
| Inputs |
|---|
(tan.f64 (/.f64 x 2)) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (tan.f64 (*.f64 x 1/2))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (tan.f64 (*.f64 x 1/2)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (tan.f64 (*.f64 x 1/2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (tan.f64 (*.f64 x 1/2))) (sqrt.f64 (tan.f64 (*.f64 x 1/2))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (tan.f64 (*.f64 x 1/2))) (pow.f64 (cbrt.f64 (tan.f64 (*.f64 x 1/2))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (tan.f64 (*.f64 x 1/2))) 2) (cbrt.f64 (tan.f64 (*.f64 x 1/2))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sin.f64 (*.f64 x 1/2)) (/.f64 1 (cos.f64 (*.f64 x 1/2))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (cos.f64 (*.f64 x 1/2)) (sin.f64 (*.f64 x 1/2))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (sin.f64 (*.f64 x 1/2)) (cos.f64 (*.f64 x 1/2)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (sin.f64 (*.f64 x 1/2))) (neg.f64 (cos.f64 (*.f64 x 1/2))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (tan.f64 (*.f64 x 1/2)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (tan.f64 (*.f64 x 1/2))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (tan.f64 (*.f64 x 1/2))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (tan.f64 (*.f64 x 1/2)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (tan.f64 (*.f64 x 1/2)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (tan.f64 (*.f64 x 1/2))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (tan.f64 (*.f64 x 1/2)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (tan.f64 (*.f64 x 1/2))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (tan.f64 (*.f64 x 1/2))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (tan.f64 (*.f64 x 1/2)))))))) |
| 1× | egg-herbie |
| 854× | associate-*r/ |
| 720× | fma-def |
| 682× | *-commutative |
| 650× | associate-*r* |
| 574× | associate-*l/ |
Useful iterations: 2 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 68 | 804 |
| 1 | 147 | 708 |
| 2 | 524 | 612 |
| 3 | 2040 | 612 |
| 4 | 4521 | 612 |
| 5 | 6576 | 612 |
| 1× | node limit |
| Inputs |
|---|
(*.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 (tan.f64 (*.f64 x 1/2))) 1) |
(*.f64 (tan.f64 (*.f64 x 1/2)) 1) |
(*.f64 1 (tan.f64 (*.f64 x 1/2))) |
(*.f64 (sqrt.f64 (tan.f64 (*.f64 x 1/2))) (sqrt.f64 (tan.f64 (*.f64 x 1/2)))) |
(*.f64 (cbrt.f64 (tan.f64 (*.f64 x 1/2))) (pow.f64 (cbrt.f64 (tan.f64 (*.f64 x 1/2))) 2)) |
(*.f64 (pow.f64 (cbrt.f64 (tan.f64 (*.f64 x 1/2))) 2) (cbrt.f64 (tan.f64 (*.f64 x 1/2)))) |
(*.f64 (sin.f64 (*.f64 x 1/2)) (/.f64 1 (cos.f64 (*.f64 x 1/2)))) |
(/.f64 1 (/.f64 (cos.f64 (*.f64 x 1/2)) (sin.f64 (*.f64 x 1/2)))) |
(/.f64 (sin.f64 (*.f64 x 1/2)) (cos.f64 (*.f64 x 1/2))) |
(/.f64 (neg.f64 (sin.f64 (*.f64 x 1/2))) (neg.f64 (cos.f64 (*.f64 x 1/2)))) |
(pow.f64 (tan.f64 (*.f64 x 1/2)) 1) |
(pow.f64 (sqrt.f64 (tan.f64 (*.f64 x 1/2))) 2) |
(pow.f64 (cbrt.f64 (tan.f64 (*.f64 x 1/2))) 3) |
(pow.f64 (pow.f64 (tan.f64 (*.f64 x 1/2)) 3) 1/3) |
(sqrt.f64 (pow.f64 (tan.f64 (*.f64 x 1/2)) 2)) |
(log.f64 (exp.f64 (tan.f64 (*.f64 x 1/2)))) |
(cbrt.f64 (pow.f64 (tan.f64 (*.f64 x 1/2)) 3)) |
(expm1.f64 (log1p.f64 (tan.f64 (*.f64 x 1/2)))) |
(exp.f64 (log.f64 (tan.f64 (*.f64 x 1/2)))) |
(log1p.f64 (expm1.f64 (tan.f64 (*.f64 x 1/2)))) |
| Outputs |
|---|
(*.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))) |
(fma.f64 1/24 (pow.f64 x 3) (*.f64 1/2 x)) |
(+.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 1/24 (pow.f64 x 3) (fma.f64 1/240 (pow.f64 x 5) (*.f64 1/2 x))) |
(+.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))))) |
(/.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 (tan.f64 (*.f64 x 1/2))) 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 x 1/2)) 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 x 1/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 (sqrt.f64 (tan.f64 (*.f64 x 1/2))) (sqrt.f64 (tan.f64 (*.f64 x 1/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 (cbrt.f64 (tan.f64 (*.f64 x 1/2))) (pow.f64 (cbrt.f64 (tan.f64 (*.f64 x 1/2))) 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 x 1/2))) 2) (cbrt.f64 (tan.f64 (*.f64 x 1/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 (sin.f64 (*.f64 x 1/2)) (/.f64 1 (cos.f64 (*.f64 x 1/2)))) |
(/.f64 (sin.f64 (*.f64 1/2 x)) (cos.f64 (*.f64 1/2 x))) |
(/.f64 1 (/.f64 (cos.f64 (*.f64 x 1/2)) (sin.f64 (*.f64 x 1/2)))) |
(/.f64 (sin.f64 (*.f64 1/2 x)) (cos.f64 (*.f64 1/2 x))) |
(/.f64 (sin.f64 (*.f64 x 1/2)) (cos.f64 (*.f64 x 1/2))) |
(/.f64 (sin.f64 (*.f64 1/2 x)) (cos.f64 (*.f64 1/2 x))) |
(/.f64 (neg.f64 (sin.f64 (*.f64 x 1/2))) (neg.f64 (cos.f64 (*.f64 x 1/2)))) |
(/.f64 (sin.f64 (*.f64 1/2 x)) (cos.f64 (*.f64 1/2 x))) |
(pow.f64 (tan.f64 (*.f64 x 1/2)) 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 (sqrt.f64 (tan.f64 (*.f64 x 1/2))) 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)) |
(pow.f64 (cbrt.f64 (tan.f64 (*.f64 x 1/2))) 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 x 1/2)) 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)) |
(sqrt.f64 (pow.f64 (tan.f64 (*.f64 x 1/2)) 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 x 1/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)) |
(cbrt.f64 (pow.f64 (tan.f64 (*.f64 x 1/2)) 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 x 1/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)) |
(exp.f64 (log.f64 (tan.f64 (*.f64 x 1/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)) |
(log1p.f64 (expm1.f64 (tan.f64 (*.f64 x 1/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)) |
Compiled 350 to 283 computations (19.1% saved)
3 alts after pruning (2 fresh and 1 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 34 | 2 | 36 |
| Fresh | 0 | 0 | 0 |
| Picked | 0 | 1 | 1 |
| Done | 0 | 0 | 0 |
| Total | 34 | 3 | 37 |
| Status | Accuracy | Program |
|---|---|---|
| ▶ | 99.8% | (/.f64 (sin.f64 (*.f64 x 1/2)) (cos.f64 (*.f64 x 1/2))) |
| ▶ | 49.4% | (*.f64 1/2 x) |
| ✓ | 100.0% | (tan.f64 (/.f64 x 2)) |
Compiled 19 to 15 computations (21.1% saved)
Compiled 6 to 4 computations (33.3% saved)
Found 1 expressions with local accuracy:
| New | Accuracy | Program |
|---|---|---|
| ✓ | 99.8% | (/.f64 (sin.f64 (*.f64 x 1/2)) (cos.f64 (*.f64 x 1/2))) |
Compiled 23 to 17 computations (26.1% saved)
3 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 0.0ms | x | @ | 0 | (/.f64 (sin.f64 (*.f64 x 1/2)) (cos.f64 (*.f64 x 1/2))) |
| 0.0ms | x | @ | -inf | (/.f64 (sin.f64 (*.f64 x 1/2)) (cos.f64 (*.f64 x 1/2))) |
| 0.0ms | x | @ | inf | (/.f64 (sin.f64 (*.f64 x 1/2)) (cos.f64 (*.f64 x 1/2))) |
| 1× | batch-egg-rewrite |
| 1814× | add-sqr-sqrt |
| 1796× | *-un-lft-identity |
| 1668× | add-cube-cbrt |
| 1648× | add-cbrt-cube |
| 182× | pow1 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 9 | 11 |
| 1 | 183 | 11 |
| 2 | 2215 | 11 |
| 1× | node limit |
| Inputs |
|---|
(/.f64 (sin.f64 (*.f64 x 1/2)) (cos.f64 (*.f64 x 1/2))) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (tan.f64 (*.f64 x 1/2)))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sin.f64 (*.f64 x 1/2)) (/.f64 1 (cos.f64 (*.f64 x 1/2))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (tan.f64 (*.f64 x 1/2)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (tan.f64 (*.f64 x 1/2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (tan.f64 (*.f64 x 1/2))) (sqrt.f64 (tan.f64 (*.f64 x 1/2))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (sin.f64 (*.f64 x 1/2))) (*.f64 (sqrt.f64 (sin.f64 (*.f64 x 1/2))) (/.f64 1 (cos.f64 (*.f64 x 1/2)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (tan.f64 (*.f64 x 1/2))) (pow.f64 (cbrt.f64 (tan.f64 (*.f64 x 1/2))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (tan.f64 (*.f64 x 1/2))) 2) (cbrt.f64 (tan.f64 (*.f64 x 1/2))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (sin.f64 (*.f64 x 1/2))) 2) (*.f64 (cbrt.f64 (sin.f64 (*.f64 x 1/2))) (/.f64 1 (cos.f64 (*.f64 x 1/2)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 1 (cos.f64 (*.f64 x 1/2))) (sin.f64 (*.f64 x 1/2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (neg.f64 (sin.f64 (*.f64 x 1/2))) (/.f64 1 (neg.f64 (cos.f64 (*.f64 x 1/2)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 1 (sqrt.f64 (cos.f64 (*.f64 x 1/2)))) (/.f64 (sin.f64 (*.f64 x 1/2)) (sqrt.f64 (cos.f64 (*.f64 x 1/2)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 1 (pow.f64 (cbrt.f64 (cos.f64 (*.f64 x 1/2))) 2)) (/.f64 (sin.f64 (*.f64 x 1/2)) (cbrt.f64 (cos.f64 (*.f64 x 1/2)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (sqrt.f64 (sin.f64 (*.f64 x 1/2))) 1) (/.f64 (sqrt.f64 (sin.f64 (*.f64 x 1/2))) (cos.f64 (*.f64 x 1/2))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (sqrt.f64 (sin.f64 (*.f64 x 1/2))) (pow.f64 (cbrt.f64 (cos.f64 (*.f64 x 1/2))) 2)) (/.f64 (sqrt.f64 (sin.f64 (*.f64 x 1/2))) (cbrt.f64 (cos.f64 (*.f64 x 1/2)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (pow.f64 (cbrt.f64 (sin.f64 (*.f64 x 1/2))) 2) 1) (/.f64 (cbrt.f64 (sin.f64 (*.f64 x 1/2))) (cos.f64 (*.f64 x 1/2))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (pow.f64 (cbrt.f64 (sin.f64 (*.f64 x 1/2))) 2) (sqrt.f64 (cos.f64 (*.f64 x 1/2)))) (/.f64 (cbrt.f64 (sin.f64 (*.f64 x 1/2))) (sqrt.f64 (cos.f64 (*.f64 x 1/2)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (pow.f64 (cbrt.f64 (sin.f64 (*.f64 x 1/2))) 2) (pow.f64 (cbrt.f64 (cos.f64 (*.f64 x 1/2))) 2)) (cbrt.f64 (tan.f64 (*.f64 x 1/2))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (tan.f64 (*.f64 x 1/2)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (tan.f64 (*.f64 x 1/2))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (tan.f64 (*.f64 x 1/2))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (tan.f64 (*.f64 x 1/2)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 1 (tan.f64 (*.f64 x 1/2))) -1)))) (#(struct:change #<rule egg-rr> (2) ((x neg.f64 (/.f64 (sin.f64 (*.f64 x 1/2)) (neg.f64 (cos.f64 (*.f64 x 1/2)))))))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (tan.f64 (*.f64 x 1/2)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (tan.f64 (*.f64 x 1/2))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (tan.f64 (*.f64 x 1/2)))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (tan.f64 (*.f64 x 1/2)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (tan.f64 (*.f64 x 1/2))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (tan.f64 (*.f64 x 1/2))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (tan.f64 (*.f64 x 1/2))) 1))))) (#(struct:change #<rule egg-rr> (2) ((x tan.f64 (*.f64 x 1/2))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (tan.f64 (*.f64 x 1/2)))))))) |
| 1× | egg-herbie |
| 1216× | associate-/r/ |
| 956× | associate-*r* |
| 902× | distribute-rgt-in |
| 892× | distribute-lft-in |
| 814× | associate-*l* |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 106 | 939 |
| 1 | 251 | 939 |
| 2 | 857 | 939 |
| 3 | 3771 | 939 |
| 1× | node limit |
| Inputs |
|---|
(*.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 (exp.f64 (log1p.f64 (tan.f64 (*.f64 x 1/2)))) 1) |
(*.f64 (sin.f64 (*.f64 x 1/2)) (/.f64 1 (cos.f64 (*.f64 x 1/2)))) |
(*.f64 (tan.f64 (*.f64 x 1/2)) 1) |
(*.f64 1 (tan.f64 (*.f64 x 1/2))) |
(*.f64 (sqrt.f64 (tan.f64 (*.f64 x 1/2))) (sqrt.f64 (tan.f64 (*.f64 x 1/2)))) |
(*.f64 (sqrt.f64 (sin.f64 (*.f64 x 1/2))) (*.f64 (sqrt.f64 (sin.f64 (*.f64 x 1/2))) (/.f64 1 (cos.f64 (*.f64 x 1/2))))) |
(*.f64 (cbrt.f64 (tan.f64 (*.f64 x 1/2))) (pow.f64 (cbrt.f64 (tan.f64 (*.f64 x 1/2))) 2)) |
(*.f64 (pow.f64 (cbrt.f64 (tan.f64 (*.f64 x 1/2))) 2) (cbrt.f64 (tan.f64 (*.f64 x 1/2)))) |
(*.f64 (pow.f64 (cbrt.f64 (sin.f64 (*.f64 x 1/2))) 2) (*.f64 (cbrt.f64 (sin.f64 (*.f64 x 1/2))) (/.f64 1 (cos.f64 (*.f64 x 1/2))))) |
(*.f64 (/.f64 1 (cos.f64 (*.f64 x 1/2))) (sin.f64 (*.f64 x 1/2))) |
(*.f64 (neg.f64 (sin.f64 (*.f64 x 1/2))) (/.f64 1 (neg.f64 (cos.f64 (*.f64 x 1/2))))) |
(*.f64 (/.f64 1 (sqrt.f64 (cos.f64 (*.f64 x 1/2)))) (/.f64 (sin.f64 (*.f64 x 1/2)) (sqrt.f64 (cos.f64 (*.f64 x 1/2))))) |
(*.f64 (/.f64 1 (pow.f64 (cbrt.f64 (cos.f64 (*.f64 x 1/2))) 2)) (/.f64 (sin.f64 (*.f64 x 1/2)) (cbrt.f64 (cos.f64 (*.f64 x 1/2))))) |
(*.f64 (/.f64 (sqrt.f64 (sin.f64 (*.f64 x 1/2))) 1) (/.f64 (sqrt.f64 (sin.f64 (*.f64 x 1/2))) (cos.f64 (*.f64 x 1/2)))) |
(*.f64 (/.f64 (sqrt.f64 (sin.f64 (*.f64 x 1/2))) (pow.f64 (cbrt.f64 (cos.f64 (*.f64 x 1/2))) 2)) (/.f64 (sqrt.f64 (sin.f64 (*.f64 x 1/2))) (cbrt.f64 (cos.f64 (*.f64 x 1/2))))) |
(*.f64 (/.f64 (pow.f64 (cbrt.f64 (sin.f64 (*.f64 x 1/2))) 2) 1) (/.f64 (cbrt.f64 (sin.f64 (*.f64 x 1/2))) (cos.f64 (*.f64 x 1/2)))) |
(*.f64 (/.f64 (pow.f64 (cbrt.f64 (sin.f64 (*.f64 x 1/2))) 2) (sqrt.f64 (cos.f64 (*.f64 x 1/2)))) (/.f64 (cbrt.f64 (sin.f64 (*.f64 x 1/2))) (sqrt.f64 (cos.f64 (*.f64 x 1/2))))) |
(*.f64 (/.f64 (pow.f64 (cbrt.f64 (sin.f64 (*.f64 x 1/2))) 2) (pow.f64 (cbrt.f64 (cos.f64 (*.f64 x 1/2))) 2)) (cbrt.f64 (tan.f64 (*.f64 x 1/2)))) |
(pow.f64 (tan.f64 (*.f64 x 1/2)) 1) |
(pow.f64 (sqrt.f64 (tan.f64 (*.f64 x 1/2))) 2) |
(pow.f64 (cbrt.f64 (tan.f64 (*.f64 x 1/2))) 3) |
(pow.f64 (pow.f64 (tan.f64 (*.f64 x 1/2)) 3) 1/3) |
(pow.f64 (/.f64 1 (tan.f64 (*.f64 x 1/2))) -1) |
(neg.f64 (/.f64 (sin.f64 (*.f64 x 1/2)) (neg.f64 (cos.f64 (*.f64 x 1/2))))) |
(sqrt.f64 (pow.f64 (tan.f64 (*.f64 x 1/2)) 2)) |
(log.f64 (exp.f64 (tan.f64 (*.f64 x 1/2)))) |
(log.f64 (+.f64 1 (expm1.f64 (tan.f64 (*.f64 x 1/2))))) |
(cbrt.f64 (pow.f64 (tan.f64 (*.f64 x 1/2)) 3)) |
(expm1.f64 (log1p.f64 (tan.f64 (*.f64 x 1/2)))) |
(exp.f64 (log.f64 (tan.f64 (*.f64 x 1/2)))) |
(exp.f64 (*.f64 (log.f64 (tan.f64 (*.f64 x 1/2))) 1)) |
(tan.f64 (*.f64 x 1/2)) |
(log1p.f64 (expm1.f64 (tan.f64 (*.f64 x 1/2)))) |
| Outputs |
|---|
(*.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))) |
(fma.f64 1/24 (pow.f64 x 3) (*.f64 1/2 x)) |
(+.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 1/24 (pow.f64 x 3) (fma.f64 1/2 x (*.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))))) |
(/.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 (exp.f64 (log1p.f64 (tan.f64 (*.f64 x 1/2)))) 1) |
(tan.f64 (*.f64 1/2 x)) |
(*.f64 (sin.f64 (*.f64 x 1/2)) (/.f64 1 (cos.f64 (*.f64 x 1/2)))) |
(/.f64 (sin.f64 (*.f64 1/2 x)) (cos.f64 (*.f64 1/2 x))) |
(*.f64 (tan.f64 (*.f64 x 1/2)) 1) |
(tan.f64 (*.f64 1/2 x)) |
(*.f64 1 (tan.f64 (*.f64 x 1/2))) |
(tan.f64 (*.f64 1/2 x)) |
(*.f64 (sqrt.f64 (tan.f64 (*.f64 x 1/2))) (sqrt.f64 (tan.f64 (*.f64 x 1/2)))) |
(tan.f64 (*.f64 1/2 x)) |
(*.f64 (sqrt.f64 (sin.f64 (*.f64 x 1/2))) (*.f64 (sqrt.f64 (sin.f64 (*.f64 x 1/2))) (/.f64 1 (cos.f64 (*.f64 x 1/2))))) |
(/.f64 (sin.f64 (*.f64 1/2 x)) (cos.f64 (*.f64 1/2 x))) |
(*.f64 (cbrt.f64 (tan.f64 (*.f64 x 1/2))) (pow.f64 (cbrt.f64 (tan.f64 (*.f64 x 1/2))) 2)) |
(tan.f64 (*.f64 1/2 x)) |
(*.f64 (pow.f64 (cbrt.f64 (tan.f64 (*.f64 x 1/2))) 2) (cbrt.f64 (tan.f64 (*.f64 x 1/2)))) |
(tan.f64 (*.f64 1/2 x)) |
(*.f64 (pow.f64 (cbrt.f64 (sin.f64 (*.f64 x 1/2))) 2) (*.f64 (cbrt.f64 (sin.f64 (*.f64 x 1/2))) (/.f64 1 (cos.f64 (*.f64 x 1/2))))) |
(/.f64 (sin.f64 (*.f64 1/2 x)) (cos.f64 (*.f64 1/2 x))) |
(*.f64 (/.f64 1 (cos.f64 (*.f64 x 1/2))) (sin.f64 (*.f64 x 1/2))) |
(/.f64 (sin.f64 (*.f64 1/2 x)) (cos.f64 (*.f64 1/2 x))) |
(*.f64 (neg.f64 (sin.f64 (*.f64 x 1/2))) (/.f64 1 (neg.f64 (cos.f64 (*.f64 x 1/2))))) |
(/.f64 (sin.f64 (*.f64 1/2 x)) (cos.f64 (*.f64 1/2 x))) |
(*.f64 (/.f64 1 (sqrt.f64 (cos.f64 (*.f64 x 1/2)))) (/.f64 (sin.f64 (*.f64 x 1/2)) (sqrt.f64 (cos.f64 (*.f64 x 1/2))))) |
(/.f64 (sin.f64 (*.f64 1/2 x)) (cos.f64 (*.f64 1/2 x))) |
(*.f64 (/.f64 1 (pow.f64 (cbrt.f64 (cos.f64 (*.f64 x 1/2))) 2)) (/.f64 (sin.f64 (*.f64 x 1/2)) (cbrt.f64 (cos.f64 (*.f64 x 1/2))))) |
(/.f64 (sin.f64 (*.f64 1/2 x)) (cos.f64 (*.f64 1/2 x))) |
(*.f64 (/.f64 (sqrt.f64 (sin.f64 (*.f64 x 1/2))) 1) (/.f64 (sqrt.f64 (sin.f64 (*.f64 x 1/2))) (cos.f64 (*.f64 x 1/2)))) |
(/.f64 (sin.f64 (*.f64 1/2 x)) (cos.f64 (*.f64 1/2 x))) |
(*.f64 (/.f64 (sqrt.f64 (sin.f64 (*.f64 x 1/2))) (pow.f64 (cbrt.f64 (cos.f64 (*.f64 x 1/2))) 2)) (/.f64 (sqrt.f64 (sin.f64 (*.f64 x 1/2))) (cbrt.f64 (cos.f64 (*.f64 x 1/2))))) |
(/.f64 (sin.f64 (*.f64 1/2 x)) (cos.f64 (*.f64 1/2 x))) |
(*.f64 (/.f64 (pow.f64 (cbrt.f64 (sin.f64 (*.f64 x 1/2))) 2) 1) (/.f64 (cbrt.f64 (sin.f64 (*.f64 x 1/2))) (cos.f64 (*.f64 x 1/2)))) |
(/.f64 (sin.f64 (*.f64 1/2 x)) (cos.f64 (*.f64 1/2 x))) |
(*.f64 (/.f64 (pow.f64 (cbrt.f64 (sin.f64 (*.f64 x 1/2))) 2) (sqrt.f64 (cos.f64 (*.f64 x 1/2)))) (/.f64 (cbrt.f64 (sin.f64 (*.f64 x 1/2))) (sqrt.f64 (cos.f64 (*.f64 x 1/2))))) |
(/.f64 (sin.f64 (*.f64 1/2 x)) (cos.f64 (*.f64 1/2 x))) |
(*.f64 (/.f64 (pow.f64 (cbrt.f64 (sin.f64 (*.f64 x 1/2))) 2) (pow.f64 (cbrt.f64 (cos.f64 (*.f64 x 1/2))) 2)) (cbrt.f64 (tan.f64 (*.f64 x 1/2)))) |
(*.f64 (cbrt.f64 (tan.f64 (*.f64 1/2 x))) (/.f64 (pow.f64 (cbrt.f64 (sin.f64 (*.f64 1/2 x))) 2) (pow.f64 (cbrt.f64 (cos.f64 (*.f64 1/2 x))) 2))) |
(/.f64 (*.f64 (cbrt.f64 (tan.f64 (*.f64 1/2 x))) (pow.f64 (cbrt.f64 (sin.f64 (*.f64 1/2 x))) 2)) (pow.f64 (cbrt.f64 (cos.f64 (*.f64 1/2 x))) 2)) |
(pow.f64 (tan.f64 (*.f64 x 1/2)) 1) |
(tan.f64 (*.f64 1/2 x)) |
(pow.f64 (sqrt.f64 (tan.f64 (*.f64 x 1/2))) 2) |
(tan.f64 (*.f64 1/2 x)) |
(pow.f64 (cbrt.f64 (tan.f64 (*.f64 x 1/2))) 3) |
(tan.f64 (*.f64 1/2 x)) |
(pow.f64 (pow.f64 (tan.f64 (*.f64 x 1/2)) 3) 1/3) |
(tan.f64 (*.f64 1/2 x)) |
(pow.f64 (/.f64 1 (tan.f64 (*.f64 x 1/2))) -1) |
(tan.f64 (*.f64 1/2 x)) |
(neg.f64 (/.f64 (sin.f64 (*.f64 x 1/2)) (neg.f64 (cos.f64 (*.f64 x 1/2))))) |
(/.f64 (sin.f64 (*.f64 1/2 x)) (cos.f64 (*.f64 1/2 x))) |
(sqrt.f64 (pow.f64 (tan.f64 (*.f64 x 1/2)) 2)) |
(tan.f64 (*.f64 1/2 x)) |
(log.f64 (exp.f64 (tan.f64 (*.f64 x 1/2)))) |
(tan.f64 (*.f64 1/2 x)) |
(log.f64 (+.f64 1 (expm1.f64 (tan.f64 (*.f64 x 1/2))))) |
(tan.f64 (*.f64 1/2 x)) |
(cbrt.f64 (pow.f64 (tan.f64 (*.f64 x 1/2)) 3)) |
(tan.f64 (*.f64 1/2 x)) |
(expm1.f64 (log1p.f64 (tan.f64 (*.f64 x 1/2)))) |
(tan.f64 (*.f64 1/2 x)) |
(exp.f64 (log.f64 (tan.f64 (*.f64 x 1/2)))) |
(tan.f64 (*.f64 1/2 x)) |
(exp.f64 (*.f64 (log.f64 (tan.f64 (*.f64 x 1/2))) 1)) |
(tan.f64 (*.f64 1/2 x)) |
(tan.f64 (*.f64 x 1/2)) |
(tan.f64 (*.f64 1/2 x)) |
(log1p.f64 (expm1.f64 (tan.f64 (*.f64 x 1/2)))) |
(tan.f64 (*.f64 1/2 x)) |
Compiled 595 to 491 computations (17.5% saved)
3 alts after pruning (0 fresh and 3 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 49 | 0 | 49 |
| Fresh | 0 | 0 | 0 |
| Picked | 0 | 1 | 1 |
| Done | 0 | 2 | 2 |
| Total | 49 | 3 | 52 |
| Status | Accuracy | Program |
|---|---|---|
| ✓ | 99.8% | (/.f64 (sin.f64 (*.f64 x 1/2)) (cos.f64 (*.f64 x 1/2))) |
| ✓ | 49.4% | (*.f64 1/2 x) |
| ✓ | 100.0% | (tan.f64 (/.f64 x 2)) |
Compiled 19 to 15 computations (21.1% saved)
Total -61.3b remaining (-784020.4%)
Threshold costs -61.3b (-784020.4%)
| Inputs |
|---|
(*.f64 1/2 x) |
(tan.f64 (/.f64 x 2)) |
(/.f64 (-.f64 1 (cos.f64 x)) (sin.f64 x)) |
(/.f64 (sin.f64 (*.f64 x 1/2)) (cos.f64 (*.f64 x 1/2))) |
| Outputs |
|---|
(tan.f64 (/.f64 x 2)) |
2 calls:
| 4.0ms | x |
| 3.0ms | (/.f64 (-.f64 1 (cos.f64 x)) (sin.f64 x)) |
| Accuracy | Segments | Branch |
|---|---|---|
| 100.0% | 1 | x |
| 100.0% | 1 | (/.f64 (-.f64 1 (cos.f64 x)) (sin.f64 x)) |
Compiled 34 to 25 computations (26.5% saved)
| 1× | egg-herbie |
| 2× | *-commutative |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 9 | 18 |
| 1 | 10 | 18 |
| 1× | done |
| 1× | saturated |
| Inputs |
|---|
(tan.f64 (/.f64 x 2)) |
(*.f64 1/2 x) |
| Outputs |
|---|
(tan.f64 (/.f64 x 2)) |
(*.f64 1/2 x) |
(*.f64 x 1/2) |
Compiled 9 to 7 computations (22.2% saved)
| 1× | egg-herbie |
| 196× | fma-def |
| 118× | associate-*r* |
| 90× | *-commutative |
| 80× | associate-+l- |
| 74× | associate-/l* |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 9 | 11 |
| 1 | 19 | 11 |
| 2 | 25 | 11 |
| 3 | 36 | 11 |
| 4 | 58 | 11 |
| 5 | 85 | 11 |
| 6 | 126 | 11 |
| 7 | 206 | 11 |
| 8 | 368 | 11 |
| 9 | 598 | 11 |
| 10 | 817 | 11 |
| 11 | 861 | 11 |
| 1× | saturated |
Compiled 12 to 9 computations (25% saved)
Compiled 8 to 6 computations (25% saved)
Loading profile data...