
Time bar (total: 3.5s)
| 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 |
| 25% | 25% | 75% | 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 8 computations (11.1% saved)
| 1.0s | 4 186× | 0 | valid |
| 832.0ms | 2 236× | 2 | valid |
| 294.0ms | 654× | 3 | valid |
| 127.0ms | 1 173× | 1 | valid |
| 8.0ms | 7× | 4 | valid |
ival-cos: 828.0ms (40.8% of total)ival-sin: 721.0ms (35.5% of total)ival-div: 199.0ms (9.8% of total)adjust: 168.0ms (8.3% of total)ival-sub: 103.0ms (5.1% of total)exact: 7.0ms (0.3% of total)ival-assert: 3.0ms (0.1% of total)| Ground Truth | Overpredictions | Example | Underpredictions | Example | Subexpression |
|---|---|---|---|---|---|
| 72 | 0 | - | 0 | - | (-.f64 #s(literal 1 binary64) (cos.f64 x)) |
| 68 | 0 | - | 3 | (1.905263735906201e-160) | (/.f64 (-.f64 #s(literal 1 binary64) (cos.f64 x)) (sin.f64 x)) |
| 0 | 0 | - | 0 | - | #s(literal 1 binary64) |
| 0 | 0 | - | 0 | - | (cos.f64 x) |
| 0 | 0 | - | 0 | - | (sin.f64 x) |
| 0 | 0 | - | 0 | - | x |
| Operator | Subexpression | Explanation | Count | |
|---|---|---|---|---|
-.f64 | (-.f64 #s(literal 1 binary64) (cos.f64 x)) | cancellation | 72 | 4 |
/.f64 | (/.f64 (-.f64 #s(literal 1 binary64) (cos.f64 x)) (sin.f64 x)) | u/n | 65 | 0 |
| ↳ | (-.f64 #s(literal 1 binary64) (cos.f64 x)) | underflow | 65 |
| Predicted + | Predicted - | |
|---|---|---|
| + | 137 | 1 |
| - | 0 | 118 |
| Predicted + | Predicted Maybe | Predicted - | |
|---|---|---|---|
| + | 137 | 1 | 0 |
| - | 0 | 3 | 115 |
| number | freq |
|---|---|
| 0 | 119 |
| 1 | 137 |
| Predicted + | Predicted Maybe | Predicted - | |
|---|---|---|---|
| + | 1 | 0 | 0 |
| - | 0 | 0 | 0 |
| 47.0ms | 148× | 2 | valid |
| 26.0ms | 248× | 0 | valid |
| 16.0ms | 34× | 3 | valid |
| 9.0ms | 80× | 1 | valid |
| 3.0ms | 2× | 4 | valid |
Compiled 45 to 22 computations (51.1% saved)
ival-cos: 51.0ms (60.4% of total)ival-sin: 11.0ms (13% of total)adjust: 10.0ms (11.8% of total)ival-div: 6.0ms (7.1% of total)ival-sub: 5.0ms (5.9% of total)ival-assert: 0.0ms (0% of total)ival-true: 0.0ms (0% of total)exact: 0.0ms (0% of total)Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 12 | 13 |
| 1 | 40 | 13 |
| 2 | 78 | 12 |
| 3 | 152 | 12 |
| 4 | 392 | 12 |
| 5 | 1447 | 12 |
| 0 | 6 | 7 |
| 0 | 10 | 4 |
| 1 | 24 | 4 |
| 2 | 37 | 4 |
| 3 | 60 | 4 |
| 4 | 131 | 4 |
| 5 | 606 | 4 |
| 0 | 8288 | 4 |
| 1× | iter limit |
| 1× | node limit |
| 1× | iter limit |
| 1× | node limit |
| Inputs |
|---|
(/.f64 (-.f64 #s(literal 1 binary64) (cos.f64 x)) (sin.f64 x)) |
| Outputs |
|---|
(/.f64 (-.f64 #s(literal 1 binary64) (cos.f64 x)) (sin.f64 x)) |
(tan.f64 (/.f64 x #s(literal 2 binary64))) |
(negabs x)
Compiled 7 to 6 computations (14.3% saved)
Compiled 0 to 1 computations (-∞% saved)
| Status | Accuracy | Program |
|---|---|---|
| ▶ | 50.6% | (/.f64 (-.f64 #s(literal 1 binary64) (cos.f64 x)) (sin.f64 x)) |
Compiled 7 to 6 computations (14.3% saved)
| Inputs |
|---|
(/.f64 (-.f64 #s(literal 1 binary64) (cos.f64 x)) (sin.f64 x)) |
(-.f64 #s(literal 1 binary64) (cos.f64 x)) |
#s(literal 1 binary64) |
(cos.f64 x) |
x |
(sin.f64 x) |
| Outputs |
|---|
#s(approx (/ (- 1 (cos x)) (sin x)) #s(hole binary64 (* 1/2 x))) |
#s(approx (/ (- 1 (cos x)) (sin x)) #s(hole binary64 (* x (+ 1/2 (* 1/24 (pow x 2)))))) |
#s(approx (/ (- 1 (cos x)) (sin x)) #s(hole binary64 (* x (+ 1/2 (* (pow x 2) (+ 1/24 (* 1/240 (pow x 2)))))))) |
#s(approx (/ (- 1 (cos x)) (sin x)) #s(hole binary64 (* x (+ 1/2 (* (pow x 2) (+ 1/24 (* (pow x 2) (+ 1/240 (* 17/40320 (pow x 2)))))))))) |
#s(approx (- 1 (cos x)) #s(hole binary64 (* 1/2 (pow x 2)))) |
#s(approx (- 1 (cos x)) #s(hole binary64 (* (pow x 2) (+ 1/2 (* -1/24 (pow x 2)))))) |
#s(approx (- 1 (cos x)) #s(hole binary64 (* (pow x 2) (+ 1/2 (* (pow x 2) (- (* 1/720 (pow x 2)) 1/24)))))) |
#s(approx (- 1 (cos x)) #s(hole binary64 (* (pow x 2) (+ 1/2 (* (pow x 2) (- (* (pow x 2) (+ 1/720 (* -1/40320 (pow x 2)))) 1/24)))))) |
#s(approx (cos x) #s(hole binary64 1)) |
#s(approx (cos x) #s(hole binary64 (+ 1 (* -1/2 (pow x 2))))) |
#s(approx (cos x) #s(hole binary64 (+ 1 (* (pow x 2) (- (* 1/24 (pow x 2)) 1/2))))) |
#s(approx (cos x) #s(hole binary64 (+ 1 (* (pow x 2) (- (* (pow x 2) (+ 1/24 (* -1/720 (pow x 2)))) 1/2))))) |
#s(approx x #s(hole binary64 x)) |
#s(approx (sin x) #s(hole binary64 x)) |
#s(approx (sin x) #s(hole binary64 (* x (+ 1 (* -1/6 (pow x 2)))))) |
#s(approx (sin x) #s(hole binary64 (* x (+ 1 (* (pow x 2) (- (* 1/120 (pow x 2)) 1/6)))))) |
#s(approx (sin x) #s(hole binary64 (* x (+ 1 (* (pow x 2) (- (* (pow x 2) (+ 1/120 (* -1/5040 (pow x 2)))) 1/6)))))) |
#s(approx (/ (- 1 (cos x)) (sin x)) #s(hole binary64 (/ (- 1 (cos x)) (sin x)))) |
#s(approx (- 1 (cos x)) #s(hole binary64 (- 1 (cos x)))) |
#s(approx (cos x) #s(hole binary64 (cos x))) |
#s(approx (sin x) #s(hole binary64 (sin x))) |
3 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 1.0ms | x | @ | inf | ((/ (- 1 (cos x)) (sin x)) (- 1 (cos x)) 1 (cos x) x (sin x)) |
| 1.0ms | x | @ | 0 | ((/ (- 1 (cos x)) (sin x)) (- 1 (cos x)) 1 (cos x) x (sin x)) |
| 1.0ms | x | @ | -inf | ((/ (- 1 (cos x)) (sin x)) (- 1 (cos x)) 1 (cos x) x (sin x)) |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 104 | 320 |
| 0 | 110 | 299 |
| 1 | 582 | 299 |
| 0 | 4946 | 281 |
| 1× | iter limit |
| 1× | iter limit |
| 1× | node limit |
| 1× | iter limit |
| Inputs |
|---|
(/.f64 (-.f64 #s(literal 1 binary64) (cos.f64 x)) (sin.f64 x)) |
(-.f64 #s(literal 1 binary64) (cos.f64 x)) |
#s(literal 1 binary64) |
(cos.f64 x) |
x |
(sin.f64 x) |
#s(approx (/ (- 1 (cos x)) (sin x)) #s(hole binary64 (* 1/2 x))) |
#s(approx (/ (- 1 (cos x)) (sin x)) #s(hole binary64 (* x (+ 1/2 (* 1/24 (pow x 2)))))) |
#s(approx (/ (- 1 (cos x)) (sin x)) #s(hole binary64 (* x (+ 1/2 (* (pow x 2) (+ 1/24 (* 1/240 (pow x 2)))))))) |
#s(approx (/ (- 1 (cos x)) (sin x)) #s(hole binary64 (* x (+ 1/2 (* (pow x 2) (+ 1/24 (* (pow x 2) (+ 1/240 (* 17/40320 (pow x 2)))))))))) |
#s(approx (- 1 (cos x)) #s(hole binary64 (* 1/2 (pow x 2)))) |
#s(approx (- 1 (cos x)) #s(hole binary64 (* (pow x 2) (+ 1/2 (* -1/24 (pow x 2)))))) |
#s(approx (- 1 (cos x)) #s(hole binary64 (* (pow x 2) (+ 1/2 (* (pow x 2) (- (* 1/720 (pow x 2)) 1/24)))))) |
#s(approx (- 1 (cos x)) #s(hole binary64 (* (pow x 2) (+ 1/2 (* (pow x 2) (- (* (pow x 2) (+ 1/720 (* -1/40320 (pow x 2)))) 1/24)))))) |
#s(approx (cos x) #s(hole binary64 1)) |
#s(approx (cos x) #s(hole binary64 (+ 1 (* -1/2 (pow x 2))))) |
#s(approx (cos x) #s(hole binary64 (+ 1 (* (pow x 2) (- (* 1/24 (pow x 2)) 1/2))))) |
#s(approx (cos x) #s(hole binary64 (+ 1 (* (pow x 2) (- (* (pow x 2) (+ 1/24 (* -1/720 (pow x 2)))) 1/2))))) |
#s(approx x #s(hole binary64 x)) |
#s(approx (sin x) #s(hole binary64 x)) |
#s(approx (sin x) #s(hole binary64 (* x (+ 1 (* -1/6 (pow x 2)))))) |
#s(approx (sin x) #s(hole binary64 (* x (+ 1 (* (pow x 2) (- (* 1/120 (pow x 2)) 1/6)))))) |
#s(approx (sin x) #s(hole binary64 (* x (+ 1 (* (pow x 2) (- (* (pow x 2) (+ 1/120 (* -1/5040 (pow x 2)))) 1/6)))))) |
#s(approx (/ (- 1 (cos x)) (sin x)) #s(hole binary64 (/ (- 1 (cos x)) (sin x)))) |
#s(approx (- 1 (cos x)) #s(hole binary64 (- 1 (cos x)))) |
#s(approx (cos x) #s(hole binary64 (cos x))) |
#s(approx (sin x) #s(hole binary64 (sin x))) |
| Outputs |
|---|
(/.f64 (-.f64 (*.f64 (pow.f64 (sin.f64 x) #s(literal -1 binary64)) (pow.f64 (sin.f64 x) #s(literal -1 binary64))) (*.f64 (/.f64 (cos.f64 x) (sin.f64 x)) (/.f64 (cos.f64 x) (sin.f64 x)))) (+.f64 (pow.f64 (sin.f64 x) #s(literal -1 binary64)) (/.f64 (cos.f64 x) (sin.f64 x)))) |
(/.f64 (-.f64 (pow.f64 (pow.f64 (sin.f64 x) #s(literal -1 binary64)) #s(literal 3 binary64)) (pow.f64 (/.f64 (cos.f64 x) (sin.f64 x)) #s(literal 3 binary64))) (fma.f64 (pow.f64 (sin.f64 x) #s(literal -1 binary64)) (pow.f64 (sin.f64 x) #s(literal -1 binary64)) (fma.f64 (/.f64 (cos.f64 x) (sin.f64 x)) (/.f64 (cos.f64 x) (sin.f64 x)) (*.f64 (pow.f64 (sin.f64 x) #s(literal -1 binary64)) (/.f64 (cos.f64 x) (sin.f64 x)))))) |
(/.f64 (neg.f64 (neg.f64 (-.f64 #s(literal 1 binary64) (cos.f64 x)))) (neg.f64 (neg.f64 (sin.f64 x)))) |
(/.f64 (-.f64 (*.f64 #s(literal 1 binary64) (sin.f64 x)) (*.f64 (sin.f64 x) (cos.f64 x))) (*.f64 (sin.f64 x) (sin.f64 x))) |
(/.f64 (sin.f64 (/.f64 x #s(literal 2 binary64))) (cos.f64 (/.f64 x #s(literal 2 binary64)))) |
(/.f64 (*.f64 (sin.f64 x) (sin.f64 x)) (*.f64 (+.f64 (cos.f64 x) #s(literal 1 binary64)) (sin.f64 x))) |
(/.f64 (-.f64 #s(literal 1 binary64) (pow.f64 (cos.f64 x) #s(literal 3 binary64))) (*.f64 (fma.f64 (cos.f64 x) (+.f64 (cos.f64 x) #s(literal 1 binary64)) #s(literal 1 binary64)) (sin.f64 x))) |
(/.f64 (neg.f64 (-.f64 #s(literal 1 binary64) (cos.f64 x))) (neg.f64 (sin.f64 x))) |
(/.f64 (sin.f64 x) (+.f64 (cos.f64 x) #s(literal 1 binary64))) |
(/.f64 (-.f64 #s(literal 1 binary64) (cos.f64 x)) (sin.f64 x)) |
(neg.f64 (/.f64 (neg.f64 (-.f64 #s(literal 1 binary64) (cos.f64 x))) (sin.f64 x))) |
(neg.f64 (/.f64 (-.f64 #s(literal 1 binary64) (cos.f64 x)) (neg.f64 (sin.f64 x)))) |
(tan.f64 (+.f64 (/.f64 x #s(literal 2 binary64)) (PI.f64))) |
(tan.f64 (/.f64 x #s(literal 2 binary64))) |
(-.f64 (pow.f64 (sin.f64 x) #s(literal -1 binary64)) (/.f64 (cos.f64 x) (sin.f64 x))) |
(/.f64 (neg.f64 (*.f64 (sin.f64 x) (sin.f64 x))) (neg.f64 (+.f64 (cos.f64 x) #s(literal 1 binary64)))) |
(/.f64 (neg.f64 (-.f64 #s(literal 1 binary64) (pow.f64 (cos.f64 x) #s(literal 3 binary64)))) (neg.f64 (fma.f64 (cos.f64 x) (+.f64 (cos.f64 x) #s(literal 1 binary64)) #s(literal 1 binary64)))) |
(/.f64 (*.f64 (sin.f64 x) (sin.f64 x)) (+.f64 (cos.f64 x) #s(literal 1 binary64))) |
(/.f64 (-.f64 #s(literal 1 binary64) (pow.f64 (cos.f64 x) #s(literal 3 binary64))) (fma.f64 (cos.f64 x) (+.f64 (cos.f64 x) #s(literal 1 binary64)) #s(literal 1 binary64))) |
(-.f64 (/.f64 #s(literal 1 binary64) (+.f64 (cos.f64 x) #s(literal 1 binary64))) (/.f64 (pow.f64 (cos.f64 x) #s(literal 2 binary64)) (+.f64 (cos.f64 x) #s(literal 1 binary64)))) |
(-.f64 (/.f64 #s(literal 1 binary64) (fma.f64 (cos.f64 x) (+.f64 (cos.f64 x) #s(literal 1 binary64)) #s(literal 1 binary64))) (/.f64 (pow.f64 (cos.f64 x) #s(literal 3 binary64)) (fma.f64 (cos.f64 x) (+.f64 (cos.f64 x) #s(literal 1 binary64)) #s(literal 1 binary64)))) |
(-.f64 #s(literal 1 binary64) (cos.f64 x)) |
#s(literal 1 binary64) |
(*.f64 (cos.f64 x) #s(literal 1 binary64)) |
(*.f64 #s(literal 1 binary64) (cos.f64 x)) |
(/.f64 (*.f64 #s(literal 2 binary64) (cos.f64 x)) #s(literal 2 binary64)) |
(fma.f64 (sin.f64 x) (cos.f64 (/.f64 (PI.f64) #s(literal 2 binary64))) (*.f64 (cos.f64 x) (sin.f64 (/.f64 (PI.f64) #s(literal 2 binary64))))) |
(sin.f64 (+.f64 (neg.f64 x) (/.f64 (PI.f64) #s(literal 2 binary64)))) |
(sin.f64 (+.f64 (/.f64 (PI.f64) #s(literal 2 binary64)) x)) |
(cos.f64 (neg.f64 (neg.f64 x))) |
(cos.f64 (neg.f64 x)) |
(cos.f64 x) |
(+.f64 (*.f64 (sin.f64 x) (cos.f64 (/.f64 (PI.f64) #s(literal 2 binary64)))) (*.f64 (cos.f64 x) (sin.f64 (/.f64 (PI.f64) #s(literal 2 binary64))))) |
x |
(sin.f64 x) |
#s(approx (/ (- 1 (cos x)) (sin x)) (*.f64 #s(literal 1/2 binary64) x)) |
#s(approx (/ (- 1 (cos x)) (sin x)) (*.f64 (fma.f64 (*.f64 x x) #s(literal 1/24 binary64) #s(literal 1/2 binary64)) x)) |
#s(approx (/ (- 1 (cos x)) (sin x)) (*.f64 (fma.f64 (fma.f64 #s(literal 1/240 binary64) (*.f64 x x) #s(literal 1/24 binary64)) (*.f64 x x) #s(literal 1/2 binary64)) x)) |
#s(approx (/ (- 1 (cos x)) (sin x)) (*.f64 (fma.f64 (fma.f64 (fma.f64 #s(literal 17/40320 binary64) (*.f64 x x) #s(literal 1/240 binary64)) (*.f64 x x) #s(literal 1/24 binary64)) (*.f64 x x) #s(literal 1/2 binary64)) x)) |
#s(approx (- 1 (cos x)) (*.f64 (*.f64 x x) #s(literal 1/2 binary64))) |
#s(approx (- 1 (cos x)) (*.f64 (*.f64 (fma.f64 #s(literal -1/24 binary64) (*.f64 x x) #s(literal 1/2 binary64)) x) x)) |
#s(approx (- 1 (cos x)) (*.f64 (*.f64 (fma.f64 (-.f64 (*.f64 #s(literal 1/720 binary64) (*.f64 x x)) #s(literal 1/24 binary64)) (*.f64 x x) #s(literal 1/2 binary64)) x) x)) |
#s(approx (- 1 (cos x)) (*.f64 (fma.f64 (-.f64 (*.f64 (*.f64 (fma.f64 #s(literal -1/40320 binary64) (*.f64 x x) #s(literal 1/720 binary64)) x) x) #s(literal 1/24 binary64)) (*.f64 x x) #s(literal 1/2 binary64)) (*.f64 x x))) |
#s(approx (cos x) #s(literal 1 binary64)) |
#s(approx (cos x) (fma.f64 #s(literal -1/2 binary64) (*.f64 x x) #s(literal 1 binary64))) |
#s(approx (cos x) (fma.f64 (-.f64 (*.f64 (*.f64 x x) #s(literal 1/24 binary64)) #s(literal 1/2 binary64)) (*.f64 x x) #s(literal 1 binary64))) |
#s(approx (cos x) (fma.f64 (-.f64 (*.f64 (*.f64 (fma.f64 #s(literal -1/720 binary64) (*.f64 x x) #s(literal 1/24 binary64)) x) x) #s(literal 1/2 binary64)) (*.f64 x x) #s(literal 1 binary64))) |
#s(approx x x) |
#s(approx (sin x) x) |
#s(approx (sin x) (*.f64 (fma.f64 #s(literal -1/6 binary64) (*.f64 x x) #s(literal 1 binary64)) x)) |
#s(approx (sin x) (*.f64 (fma.f64 (-.f64 (*.f64 #s(literal 1/120 binary64) (*.f64 x x)) #s(literal 1/6 binary64)) (*.f64 x x) #s(literal 1 binary64)) x)) |
#s(approx (sin x) (fma.f64 (*.f64 x (*.f64 x x)) (-.f64 (*.f64 (*.f64 (fma.f64 #s(literal -1/5040 binary64) (*.f64 x x) #s(literal 1/120 binary64)) x) x) #s(literal 1/6 binary64)) x)) |
#s(approx (/ (- 1 (cos x)) (sin x)) (tan.f64 (/.f64 x #s(literal 2 binary64)))) |
#s(approx (- 1 (cos x)) (-.f64 #s(literal 1 binary64) (cos.f64 x))) |
#s(approx (cos x) (cos.f64 x)) |
#s(approx (sin x) (sin.f64 x)) |
Compiled 829 to 225 computations (72.9% saved)
4 alts after pruning (3 fresh and 1 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 55 | 3 | 58 |
| Fresh | 0 | 0 | 0 |
| Picked | 0 | 1 | 1 |
| Done | 0 | 0 | 0 |
| Total | 55 | 4 | 59 |
| Status | Accuracy | Program |
|---|---|---|
| ✓ | 50.6% | (/.f64 (-.f64 #s(literal 1 binary64) (cos.f64 x)) (sin.f64 x)) |
| ▶ | 100.0% | (tan.f64 (/.f64 x #s(literal 2 binary64))) |
| ▶ | 52.8% | #s(approx (/ (- 1 (cos x)) (sin x)) (*.f64 (fma.f64 (*.f64 x x) #s(literal 1/24 binary64) #s(literal 1/2 binary64)) x)) |
| ▶ | 53.2% | #s(approx (/ (- 1 (cos x)) (sin x)) (*.f64 #s(literal 1/2 binary64) x)) |
Compiled 38 to 31 computations (18.4% saved)
| Inputs |
|---|
#s(approx (/ (- 1 (cos x)) (sin x)) (*.f64 #s(literal 1/2 binary64) x)) |
(*.f64 #s(literal 1/2 binary64) x) |
#s(literal 1/2 binary64) |
x |
#s(approx (/ (- 1 (cos x)) (sin x)) (*.f64 (fma.f64 (*.f64 x x) #s(literal 1/24 binary64) #s(literal 1/2 binary64)) x)) |
(*.f64 (fma.f64 (*.f64 x x) #s(literal 1/24 binary64) #s(literal 1/2 binary64)) x) |
(fma.f64 (*.f64 x x) #s(literal 1/24 binary64) #s(literal 1/2 binary64)) |
(*.f64 x x) |
#s(literal 1/24 binary64) |
(tan.f64 (/.f64 x #s(literal 2 binary64))) |
(/.f64 x #s(literal 2 binary64)) |
#s(literal 2 binary64) |
| Outputs |
|---|
#s(approx (/ (- 1 (cos x)) (sin x)) #s(hole binary64 (* 1/2 x))) |
#s(approx (/ (- 1 (cos x)) (sin x)) #s(hole binary64 (* x (+ 1/2 (* 1/24 (pow x 2)))))) |
#s(approx (/ (- 1 (cos x)) (sin x)) #s(hole binary64 (* x (+ 1/2 (* (pow x 2) (+ 1/24 (* 1/240 (pow x 2)))))))) |
#s(approx (/ (- 1 (cos x)) (sin x)) #s(hole binary64 (* x (+ 1/2 (* (pow x 2) (+ 1/24 (* (pow x 2) (+ 1/240 (* 17/40320 (pow x 2)))))))))) |
#s(approx (* 1/2 x) #s(hole binary64 (* 1/2 x))) |
#s(approx x #s(hole binary64 x)) |
#s(approx (* (+ (* (* x x) 1/24) 1/2) x) #s(hole binary64 (* 1/2 x))) |
#s(approx (* (+ (* (* x x) 1/24) 1/2) x) #s(hole binary64 (* x (+ 1/2 (* 1/24 (pow x 2)))))) |
#s(approx (+ (* (* x x) 1/24) 1/2) #s(hole binary64 1/2)) |
#s(approx (+ (* (* x x) 1/24) 1/2) #s(hole binary64 (+ 1/2 (* 1/24 (pow x 2))))) |
#s(approx (* x x) #s(hole binary64 (pow x 2))) |
#s(approx (tan (/ x 2)) #s(hole binary64 (* 1/2 x))) |
#s(approx (tan (/ x 2)) #s(hole binary64 (* x (+ 1/2 (* 1/24 (pow x 2)))))) |
#s(approx (tan (/ x 2)) #s(hole binary64 (* x (+ 1/2 (* (pow x 2) (+ 1/24 (* 1/240 (pow x 2)))))))) |
#s(approx (tan (/ x 2)) #s(hole binary64 (* x (+ 1/2 (* (pow x 2) (+ 1/24 (* (pow x 2) (+ 1/240 (* 17/40320 (pow x 2)))))))))) |
#s(approx (/ x 2) #s(hole binary64 (* 1/2 x))) |
#s(approx (/ (- 1 (cos x)) (sin x)) #s(hole binary64 (/ (- 1 (cos x)) (sin x)))) |
#s(approx (* (+ (* (* x x) 1/24) 1/2) x) #s(hole binary64 (* 1/24 (pow x 3)))) |
#s(approx (* (+ (* (* x x) 1/24) 1/2) x) #s(hole binary64 (* (pow x 3) (+ 1/24 (* 1/2 (/ 1 (pow x 2))))))) |
#s(approx (+ (* (* x x) 1/24) 1/2) #s(hole binary64 (* 1/24 (pow x 2)))) |
#s(approx (+ (* (* x x) 1/24) 1/2) #s(hole binary64 (* (pow x 2) (+ 1/24 (* 1/2 (/ 1 (pow x 2))))))) |
#s(approx (tan (/ x 2)) #s(hole binary64 (/ (sin (* 1/2 x)) (cos (* 1/2 x))))) |
3 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 3.0ms | x | @ | 0 | ((/ (- 1 (cos x)) (sin x)) (* 1/2 x) 1/2 x (/ (- 1 (cos x)) (sin x)) (* (+ (* (* x x) 1/24) 1/2) x) (+ (* (* x x) 1/24) 1/2) (* x x) 1/24 (tan (/ x 2)) (/ x 2) 2) |
| 2.0ms | x | @ | -inf | ((/ (- 1 (cos x)) (sin x)) (* 1/2 x) 1/2 x (/ (- 1 (cos x)) (sin x)) (* (+ (* (* x x) 1/24) 1/2) x) (+ (* (* x x) 1/24) 1/2) (* x x) 1/24 (tan (/ x 2)) (/ x 2) 2) |
| 2.0ms | x | @ | inf | ((/ (- 1 (cos x)) (sin x)) (* 1/2 x) 1/2 x (/ (- 1 (cos x)) (sin x)) (* (+ (* (* x x) 1/24) 1/2) x) (+ (* (* x x) 1/24) 1/2) (* x x) 1/24 (tan (/ x 2)) (/ x 2) 2) |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 75 | 379 |
| 0 | 80 | 342 |
| 1 | 339 | 342 |
| 0 | 2493 | 330 |
| 1× | iter limit |
| 1× | iter limit |
| 1× | node limit |
| 1× | iter limit |
| Inputs |
|---|
#s(approx (/ (- 1 (cos x)) (sin x)) (*.f64 #s(literal 1/2 binary64) x)) |
(*.f64 #s(literal 1/2 binary64) x) |
#s(literal 1/2 binary64) |
x |
#s(approx (/ (- 1 (cos x)) (sin x)) (*.f64 (fma.f64 (*.f64 x x) #s(literal 1/24 binary64) #s(literal 1/2 binary64)) x)) |
(*.f64 (fma.f64 (*.f64 x x) #s(literal 1/24 binary64) #s(literal 1/2 binary64)) x) |
(fma.f64 (*.f64 x x) #s(literal 1/24 binary64) #s(literal 1/2 binary64)) |
(*.f64 x x) |
#s(literal 1/24 binary64) |
(tan.f64 (/.f64 x #s(literal 2 binary64))) |
(/.f64 x #s(literal 2 binary64)) |
#s(literal 2 binary64) |
#s(approx (/ (- 1 (cos x)) (sin x)) #s(hole binary64 (* 1/2 x))) |
#s(approx (/ (- 1 (cos x)) (sin x)) #s(hole binary64 (* x (+ 1/2 (* 1/24 (pow x 2)))))) |
#s(approx (/ (- 1 (cos x)) (sin x)) #s(hole binary64 (* x (+ 1/2 (* (pow x 2) (+ 1/24 (* 1/240 (pow x 2)))))))) |
#s(approx (/ (- 1 (cos x)) (sin x)) #s(hole binary64 (* x (+ 1/2 (* (pow x 2) (+ 1/24 (* (pow x 2) (+ 1/240 (* 17/40320 (pow x 2)))))))))) |
#s(approx (* 1/2 x) #s(hole binary64 (* 1/2 x))) |
#s(approx x #s(hole binary64 x)) |
#s(approx (* (+ (* (* x x) 1/24) 1/2) x) #s(hole binary64 (* 1/2 x))) |
#s(approx (* (+ (* (* x x) 1/24) 1/2) x) #s(hole binary64 (* x (+ 1/2 (* 1/24 (pow x 2)))))) |
#s(approx (+ (* (* x x) 1/24) 1/2) #s(hole binary64 1/2)) |
#s(approx (+ (* (* x x) 1/24) 1/2) #s(hole binary64 (+ 1/2 (* 1/24 (pow x 2))))) |
#s(approx (* x x) #s(hole binary64 (pow x 2))) |
#s(approx (tan (/ x 2)) #s(hole binary64 (* 1/2 x))) |
#s(approx (tan (/ x 2)) #s(hole binary64 (* x (+ 1/2 (* 1/24 (pow x 2)))))) |
#s(approx (tan (/ x 2)) #s(hole binary64 (* x (+ 1/2 (* (pow x 2) (+ 1/24 (* 1/240 (pow x 2)))))))) |
#s(approx (tan (/ x 2)) #s(hole binary64 (* x (+ 1/2 (* (pow x 2) (+ 1/24 (* (pow x 2) (+ 1/240 (* 17/40320 (pow x 2)))))))))) |
#s(approx (/ x 2) #s(hole binary64 (* 1/2 x))) |
#s(approx (/ (- 1 (cos x)) (sin x)) #s(hole binary64 (/ (- 1 (cos x)) (sin x)))) |
#s(approx (* (+ (* (* x x) 1/24) 1/2) x) #s(hole binary64 (* 1/24 (pow x 3)))) |
#s(approx (* (+ (* (* x x) 1/24) 1/2) x) #s(hole binary64 (* (pow x 3) (+ 1/24 (* 1/2 (/ 1 (pow x 2))))))) |
#s(approx (+ (* (* x x) 1/24) 1/2) #s(hole binary64 (* 1/24 (pow x 2)))) |
#s(approx (+ (* (* x x) 1/24) 1/2) #s(hole binary64 (* (pow x 2) (+ 1/24 (* 1/2 (/ 1 (pow x 2))))))) |
#s(approx (tan (/ x 2)) #s(hole binary64 (/ (sin (* 1/2 x)) (cos (* 1/2 x))))) |
| Outputs |
|---|
#s(approx (/ (- 1 (cos x)) (sin x)) (*.f64 #s(literal 1/2 binary64) x)) |
(*.f64 (*.f64 #s(literal 1/2 binary64) x) #s(literal 1 binary64)) |
(*.f64 #s(literal 1/2 binary64) (*.f64 #s(literal 1 binary64) x)) |
(*.f64 #s(literal 1/2 binary64) x) |
(*.f64 x #s(literal 1/2 binary64)) |
#s(literal 1/2 binary64) |
x |
#s(approx (/ (- 1 (cos x)) (sin x)) (*.f64 (fma.f64 (*.f64 x x) #s(literal 1/24 binary64) #s(literal 1/2 binary64)) x)) |
(*.f64 (fma.f64 (*.f64 x x) #s(literal 1/24 binary64) #s(literal 1/2 binary64)) x) |
(*.f64 x (fma.f64 (*.f64 x x) #s(literal 1/24 binary64) #s(literal 1/2 binary64))) |
(/.f64 (*.f64 (-.f64 (pow.f64 (*.f64 (*.f64 x x) #s(literal 1/24 binary64)) #s(literal 2 binary64)) #s(literal 1/4 binary64)) x) (fma.f64 (*.f64 x x) #s(literal 1/24 binary64) #s(literal -1/2 binary64))) |
(/.f64 (*.f64 (-.f64 #s(literal 1/4 binary64) (pow.f64 (*.f64 (*.f64 x x) #s(literal 1/24 binary64)) #s(literal 2 binary64))) x) (-.f64 #s(literal 1/2 binary64) (*.f64 (*.f64 x x) #s(literal 1/24 binary64)))) |
(/.f64 (*.f64 (fma.f64 (pow.f64 (*.f64 x x) #s(literal 3 binary64)) #s(literal 1/13824 binary64) #s(literal 1/8 binary64)) x) (-.f64 (+.f64 (pow.f64 (*.f64 (*.f64 x x) #s(literal 1/24 binary64)) #s(literal 2 binary64)) #s(literal 1/4 binary64)) (*.f64 #s(literal 1/48 binary64) (*.f64 x x)))) |
(/.f64 (*.f64 (fma.f64 (pow.f64 (*.f64 x x) #s(literal 3 binary64)) #s(literal 1/13824 binary64) #s(literal 1/8 binary64)) x) (fma.f64 (*.f64 (*.f64 x x) #s(literal 1/24 binary64)) (fma.f64 (*.f64 x x) #s(literal 1/24 binary64) #s(literal -1/2 binary64)) #s(literal 1/4 binary64))) |
(/.f64 (*.f64 x (-.f64 (pow.f64 (*.f64 (*.f64 x x) #s(literal 1/24 binary64)) #s(literal 2 binary64)) #s(literal 1/4 binary64))) (fma.f64 (*.f64 x x) #s(literal 1/24 binary64) #s(literal -1/2 binary64))) |
(/.f64 (*.f64 x (-.f64 #s(literal 1/4 binary64) (pow.f64 (*.f64 (*.f64 x x) #s(literal 1/24 binary64)) #s(literal 2 binary64)))) (-.f64 #s(literal 1/2 binary64) (*.f64 (*.f64 x x) #s(literal 1/24 binary64)))) |
(/.f64 (*.f64 x (fma.f64 (pow.f64 (*.f64 x x) #s(literal 3 binary64)) #s(literal 1/13824 binary64) #s(literal 1/8 binary64))) (-.f64 (+.f64 (pow.f64 (*.f64 (*.f64 x x) #s(literal 1/24 binary64)) #s(literal 2 binary64)) #s(literal 1/4 binary64)) (*.f64 #s(literal 1/48 binary64) (*.f64 x x)))) |
(/.f64 (*.f64 x (fma.f64 (pow.f64 (*.f64 x x) #s(literal 3 binary64)) #s(literal 1/13824 binary64) #s(literal 1/8 binary64))) (fma.f64 (*.f64 (*.f64 x x) #s(literal 1/24 binary64)) (fma.f64 (*.f64 x x) #s(literal 1/24 binary64) #s(literal -1/2 binary64)) #s(literal 1/4 binary64))) |
(/.f64 (-.f64 (*.f64 (*.f64 #s(literal 1/2 binary64) x) (*.f64 #s(literal 1/2 binary64) x)) (*.f64 (*.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal 1/24 binary64)) (*.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal 1/24 binary64)))) (-.f64 (*.f64 #s(literal 1/2 binary64) x) (*.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal 1/24 binary64)))) |
(/.f64 (+.f64 (pow.f64 (*.f64 #s(literal 1/2 binary64) x) #s(literal 3 binary64)) (pow.f64 (*.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal 1/24 binary64)) #s(literal 3 binary64))) (fma.f64 (*.f64 #s(literal 1/2 binary64) x) (*.f64 #s(literal 1/2 binary64) x) (-.f64 (*.f64 (*.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal 1/24 binary64)) (*.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal 1/24 binary64))) (*.f64 (*.f64 #s(literal 1/2 binary64) x) (*.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal 1/24 binary64)))))) |
(fma.f64 (*.f64 #s(literal 1/24 binary64) (pow.f64 x #s(literal 3/2 binary64))) (pow.f64 x #s(literal 3/2 binary64)) (*.f64 #s(literal 1/2 binary64) x)) |
(fma.f64 (*.f64 #s(literal 1/24 binary64) x) (*.f64 x x) (*.f64 #s(literal 1/2 binary64) x)) |
(fma.f64 (pow.f64 x #s(literal 3/2 binary64)) (*.f64 (pow.f64 x #s(literal 3/2 binary64)) #s(literal 1/24 binary64)) (*.f64 #s(literal 1/2 binary64) x)) |
(fma.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal 1/24 binary64) (*.f64 #s(literal 1/2 binary64) x)) |
(fma.f64 (*.f64 (*.f64 x x) #s(literal 1/24 binary64)) x (*.f64 #s(literal 1/2 binary64) x)) |
(fma.f64 (*.f64 x x) (*.f64 #s(literal 1/24 binary64) x) (*.f64 #s(literal 1/2 binary64) x)) |
(fma.f64 (*.f64 #s(literal 1/2 binary64) x) #s(literal 1 binary64) (*.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal 1/24 binary64))) |
(fma.f64 #s(literal 1/24 binary64) (pow.f64 x #s(literal 3 binary64)) (*.f64 #s(literal 1/2 binary64) x)) |
(fma.f64 #s(literal 1/2 binary64) (*.f64 #s(literal 1 binary64) x) (*.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal 1/24 binary64))) |
(fma.f64 #s(literal 1/2 binary64) x (*.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal 1/24 binary64))) |
(fma.f64 x (*.f64 (*.f64 x x) #s(literal 1/24 binary64)) (*.f64 #s(literal 1/2 binary64) x)) |
(fma.f64 x #s(literal 1/2 binary64) (*.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal 1/24 binary64))) |
(-.f64 (*.f64 #s(literal 1/2 binary64) x) (*.f64 (*.f64 #s(literal -1/24 binary64) (*.f64 x x)) x)) |
(-.f64 (*.f64 #s(literal 1/2 binary64) x) (*.f64 (neg.f64 x) (*.f64 (*.f64 x x) #s(literal 1/24 binary64)))) |
(+.f64 (*.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal 1/24 binary64)) (*.f64 #s(literal 1/2 binary64) x)) |
(+.f64 (*.f64 #s(literal 1/2 binary64) x) (*.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal 1/24 binary64))) |
(/.f64 (-.f64 #s(literal 1/8 binary64) (pow.f64 (*.f64 #s(literal -1/24 binary64) (*.f64 x x)) #s(literal 3 binary64))) (+.f64 #s(literal 1/4 binary64) (+.f64 (pow.f64 (*.f64 (*.f64 x x) #s(literal 1/24 binary64)) #s(literal 2 binary64)) (*.f64 #s(literal 1/2 binary64) (*.f64 #s(literal -1/24 binary64) (*.f64 x x)))))) |
(/.f64 (neg.f64 (-.f64 (pow.f64 (*.f64 (*.f64 x x) #s(literal 1/24 binary64)) #s(literal 2 binary64)) #s(literal 1/4 binary64))) (neg.f64 (fma.f64 (*.f64 x x) #s(literal 1/24 binary64) #s(literal -1/2 binary64)))) |
(/.f64 (neg.f64 (-.f64 #s(literal 1/4 binary64) (pow.f64 (*.f64 (*.f64 x x) #s(literal 1/24 binary64)) #s(literal 2 binary64)))) (neg.f64 (-.f64 #s(literal 1/2 binary64) (*.f64 (*.f64 x x) #s(literal 1/24 binary64))))) |
(/.f64 (neg.f64 (fma.f64 (pow.f64 (*.f64 x x) #s(literal 3 binary64)) #s(literal 1/13824 binary64) #s(literal 1/8 binary64))) (neg.f64 (-.f64 (+.f64 (pow.f64 (*.f64 (*.f64 x x) #s(literal 1/24 binary64)) #s(literal 2 binary64)) #s(literal 1/4 binary64)) (*.f64 #s(literal 1/48 binary64) (*.f64 x x))))) |
(/.f64 (neg.f64 (fma.f64 (pow.f64 (*.f64 x x) #s(literal 3 binary64)) #s(literal 1/13824 binary64) #s(literal 1/8 binary64))) (neg.f64 (fma.f64 (*.f64 (*.f64 x x) #s(literal 1/24 binary64)) (fma.f64 (*.f64 x x) #s(literal 1/24 binary64) #s(literal -1/2 binary64)) #s(literal 1/4 binary64)))) |
(/.f64 (-.f64 (pow.f64 (*.f64 (*.f64 x x) #s(literal 1/24 binary64)) #s(literal 2 binary64)) #s(literal 1/4 binary64)) (fma.f64 (*.f64 x x) #s(literal 1/24 binary64) #s(literal -1/2 binary64))) |
(/.f64 (-.f64 #s(literal 1/4 binary64) (pow.f64 (*.f64 (*.f64 x x) #s(literal 1/24 binary64)) #s(literal 2 binary64))) (-.f64 #s(literal 1/2 binary64) (*.f64 (*.f64 x x) #s(literal 1/24 binary64)))) |
(/.f64 (fma.f64 (pow.f64 (*.f64 x x) #s(literal 3 binary64)) #s(literal 1/13824 binary64) #s(literal 1/8 binary64)) (-.f64 (+.f64 (pow.f64 (*.f64 (*.f64 x x) #s(literal 1/24 binary64)) #s(literal 2 binary64)) #s(literal 1/4 binary64)) (*.f64 #s(literal 1/48 binary64) (*.f64 x x)))) |
(/.f64 (fma.f64 (pow.f64 (*.f64 x x) #s(literal 3 binary64)) #s(literal 1/13824 binary64) #s(literal 1/8 binary64)) (fma.f64 (*.f64 (*.f64 x x) #s(literal 1/24 binary64)) (fma.f64 (*.f64 x x) #s(literal 1/24 binary64) #s(literal -1/2 binary64)) #s(literal 1/4 binary64))) |
(fma.f64 (*.f64 #s(literal 1/24 binary64) (fabs.f64 x)) (fabs.f64 x) #s(literal 1/2 binary64)) |
(fma.f64 (*.f64 #s(literal 1/24 binary64) (neg.f64 x)) (neg.f64 x) #s(literal 1/2 binary64)) |
(fma.f64 (*.f64 #s(literal 1/24 binary64) x) x #s(literal 1/2 binary64)) |
(fma.f64 (fabs.f64 x) (*.f64 (fabs.f64 x) #s(literal 1/24 binary64)) #s(literal 1/2 binary64)) |
(fma.f64 (neg.f64 x) (*.f64 (neg.f64 x) #s(literal 1/24 binary64)) #s(literal 1/2 binary64)) |
(fma.f64 (*.f64 x x) #s(literal 1/24 binary64) #s(literal 1/2 binary64)) |
(fma.f64 #s(literal 1/24 binary64) (*.f64 x x) #s(literal 1/2 binary64)) |
(fma.f64 x (*.f64 #s(literal 1/24 binary64) x) #s(literal 1/2 binary64)) |
(-.f64 (/.f64 (pow.f64 (*.f64 (*.f64 x x) #s(literal 1/24 binary64)) #s(literal 2 binary64)) (fma.f64 (*.f64 x x) #s(literal 1/24 binary64) #s(literal -1/2 binary64))) (/.f64 #s(literal 1/4 binary64) (fma.f64 (*.f64 x x) #s(literal 1/24 binary64) #s(literal -1/2 binary64)))) |
(-.f64 (/.f64 #s(literal 1/4 binary64) (-.f64 #s(literal 1/2 binary64) (*.f64 (*.f64 x x) #s(literal 1/24 binary64)))) (/.f64 (pow.f64 (*.f64 (*.f64 x x) #s(literal 1/24 binary64)) #s(literal 2 binary64)) (-.f64 #s(literal 1/2 binary64) (*.f64 (*.f64 x x) #s(literal 1/24 binary64))))) |
(-.f64 (*.f64 (*.f64 x x) #s(literal 1/24 binary64)) #s(literal -1/2 binary64)) |
(-.f64 #s(literal 1/2 binary64) (*.f64 (*.f64 (neg.f64 x) x) #s(literal 1/24 binary64))) |
(-.f64 #s(literal 1/2 binary64) (*.f64 (neg.f64 x) (*.f64 #s(literal 1/24 binary64) x))) |
(-.f64 #s(literal 1/2 binary64) (*.f64 #s(literal -1/24 binary64) (*.f64 x x))) |
(+.f64 (/.f64 (pow.f64 (*.f64 (*.f64 x x) #s(literal 1/24 binary64)) #s(literal 3 binary64)) (-.f64 (+.f64 (pow.f64 (*.f64 (*.f64 x x) #s(literal 1/24 binary64)) #s(literal 2 binary64)) #s(literal 1/4 binary64)) (*.f64 #s(literal 1/48 binary64) (*.f64 x x)))) (/.f64 #s(literal 1/8 binary64) (-.f64 (+.f64 (pow.f64 (*.f64 (*.f64 x x) #s(literal 1/24 binary64)) #s(literal 2 binary64)) #s(literal 1/4 binary64)) (*.f64 #s(literal 1/48 binary64) (*.f64 x x))))) |
(+.f64 (/.f64 #s(literal 1/8 binary64) (fma.f64 (*.f64 (*.f64 x x) #s(literal 1/24 binary64)) (fma.f64 (*.f64 x x) #s(literal 1/24 binary64) #s(literal -1/2 binary64)) #s(literal 1/4 binary64))) (/.f64 (pow.f64 (*.f64 (*.f64 x x) #s(literal 1/24 binary64)) #s(literal 3 binary64)) (fma.f64 (*.f64 (*.f64 x x) #s(literal 1/24 binary64)) (fma.f64 (*.f64 x x) #s(literal 1/24 binary64) #s(literal -1/2 binary64)) #s(literal 1/4 binary64)))) |
(+.f64 (*.f64 (*.f64 x x) #s(literal 1/24 binary64)) #s(literal 1/2 binary64)) |
(+.f64 #s(literal 1/2 binary64) (*.f64 (*.f64 x x) #s(literal 1/24 binary64))) |
(*.f64 (neg.f64 (fabs.f64 x)) (neg.f64 (fabs.f64 x))) |
(*.f64 (fabs.f64 (fabs.f64 x)) (fabs.f64 (fabs.f64 x))) |
(*.f64 (exp.f64 (log.f64 x)) (exp.f64 (log.f64 x))) |
(*.f64 (neg.f64 (neg.f64 x)) (neg.f64 (neg.f64 x))) |
(*.f64 (fabs.f64 x) (fabs.f64 x)) |
(*.f64 (neg.f64 x) (neg.f64 x)) |
(*.f64 x x) |
(pow.f64 (exp.f64 (log.f64 x)) #s(literal 2 binary64)) |
(pow.f64 (fabs.f64 x) #s(literal 2 binary64)) |
(pow.f64 (neg.f64 x) #s(literal 2 binary64)) |
(pow.f64 (*.f64 x x) #s(literal 1 binary64)) |
(pow.f64 x #s(literal 2 binary64)) |
(neg.f64 (*.f64 (neg.f64 x) x)) |
(fabs.f64 (*.f64 x x)) |
(exp.f64 (*.f64 (log.f64 x) #s(literal 2 binary64))) |
(+.f64 (cosh.f64 (*.f64 (log.f64 x) #s(literal 2 binary64))) (sinh.f64 (*.f64 (log.f64 x) #s(literal 2 binary64)))) |
#s(literal 1/24 binary64) |
(/.f64 (-.f64 (*.f64 (pow.f64 (sin.f64 x) #s(literal -1 binary64)) (pow.f64 (sin.f64 x) #s(literal -1 binary64))) (*.f64 (/.f64 (cos.f64 x) (sin.f64 x)) (/.f64 (cos.f64 x) (sin.f64 x)))) (+.f64 (pow.f64 (sin.f64 x) #s(literal -1 binary64)) (/.f64 (cos.f64 x) (sin.f64 x)))) |
(/.f64 (-.f64 (pow.f64 (pow.f64 (sin.f64 x) #s(literal -1 binary64)) #s(literal 3 binary64)) (pow.f64 (/.f64 (cos.f64 x) (sin.f64 x)) #s(literal 3 binary64))) (fma.f64 (pow.f64 (sin.f64 x) #s(literal -1 binary64)) (pow.f64 (sin.f64 x) #s(literal -1 binary64)) (fma.f64 (/.f64 (cos.f64 x) (sin.f64 x)) (/.f64 (cos.f64 x) (sin.f64 x)) (*.f64 (pow.f64 (sin.f64 x) #s(literal -1 binary64)) (/.f64 (cos.f64 x) (sin.f64 x)))))) |
(/.f64 (neg.f64 (neg.f64 (-.f64 #s(literal 1 binary64) (cos.f64 x)))) (neg.f64 (neg.f64 (sin.f64 x)))) |
(/.f64 (neg.f64 (sin.f64 (/.f64 x #s(literal 2 binary64)))) (neg.f64 (cos.f64 (/.f64 x #s(literal 2 binary64))))) |
(/.f64 (-.f64 (*.f64 #s(literal 1 binary64) (sin.f64 x)) (*.f64 (sin.f64 x) (cos.f64 x))) (*.f64 (sin.f64 x) (sin.f64 x))) |
(/.f64 (+.f64 (tan.f64 (/.f64 x #s(literal 2 binary64))) (tan.f64 (PI.f64))) (-.f64 #s(literal 1 binary64) (*.f64 (tan.f64 (/.f64 x #s(literal 2 binary64))) (tan.f64 (PI.f64))))) |
(/.f64 (sin.f64 (+.f64 (PI.f64) (/.f64 x #s(literal 2 binary64)))) (cos.f64 (+.f64 (PI.f64) (/.f64 x #s(literal 2 binary64))))) |
(/.f64 (*.f64 (sin.f64 x) (sin.f64 x)) (*.f64 (+.f64 (cos.f64 x) #s(literal 1 binary64)) (sin.f64 x))) |
(/.f64 (-.f64 #s(literal 1 binary64) (pow.f64 (cos.f64 x) #s(literal 3 binary64))) (*.f64 (fma.f64 (cos.f64 x) (+.f64 (cos.f64 x) #s(literal 1 binary64)) #s(literal 1 binary64)) (sin.f64 x))) |
(/.f64 (neg.f64 (sin.f64 x)) (neg.f64 (+.f64 (cos.f64 x) #s(literal 1 binary64)))) |
(/.f64 (neg.f64 (-.f64 #s(literal 1 binary64) (cos.f64 x))) (neg.f64 (sin.f64 x))) |
(/.f64 (sin.f64 (/.f64 x #s(literal 2 binary64))) (cos.f64 (/.f64 x #s(literal 2 binary64)))) |
(/.f64 (sin.f64 x) (+.f64 (cos.f64 x) #s(literal 1 binary64))) |
(/.f64 (-.f64 #s(literal 1 binary64) (cos.f64 x)) (sin.f64 x)) |
(neg.f64 (/.f64 (neg.f64 (-.f64 #s(literal 1 binary64) (cos.f64 x))) (sin.f64 x))) |
(neg.f64 (/.f64 (-.f64 #s(literal 1 binary64) (cos.f64 x)) (neg.f64 (sin.f64 x)))) |
(tan.f64 (+.f64 (+.f64 (PI.f64) (/.f64 x #s(literal 2 binary64))) (PI.f64))) |
(tan.f64 (+.f64 (PI.f64) (/.f64 x #s(literal 2 binary64)))) |
(tan.f64 (/.f64 x #s(literal 2 binary64))) |
(-.f64 (pow.f64 (sin.f64 x) #s(literal -1 binary64)) (/.f64 (cos.f64 x) (sin.f64 x))) |
(/.f64 (neg.f64 (neg.f64 x)) #s(literal 2 binary64)) |
(/.f64 (neg.f64 x) #s(literal -2 binary64)) |
(/.f64 x #s(literal 2 binary64)) |
(neg.f64 (/.f64 (neg.f64 x) #s(literal 2 binary64))) |
(neg.f64 (/.f64 x #s(literal -2 binary64))) |
#s(literal 2 binary64) |
#s(approx (/ (- 1 (cos x)) (sin x)) (*.f64 #s(literal 1/2 binary64) x)) |
#s(approx (/ (- 1 (cos x)) (sin x)) (*.f64 (fma.f64 (*.f64 x x) #s(literal 1/24 binary64) #s(literal 1/2 binary64)) x)) |
#s(approx (/ (- 1 (cos x)) (sin x)) (*.f64 (fma.f64 (fma.f64 #s(literal 1/240 binary64) (*.f64 x x) #s(literal 1/24 binary64)) (*.f64 x x) #s(literal 1/2 binary64)) x)) |
#s(approx (/ (- 1 (cos x)) (sin x)) (*.f64 (fma.f64 (fma.f64 (fma.f64 #s(literal 17/40320 binary64) (*.f64 x x) #s(literal 1/240 binary64)) (*.f64 x x) #s(literal 1/24 binary64)) (*.f64 x x) #s(literal 1/2 binary64)) x)) |
#s(approx (* 1/2 x) (*.f64 #s(literal 1/2 binary64) x)) |
#s(approx x x) |
#s(approx (* (+ (* (* x x) 1/24) 1/2) x) (*.f64 #s(literal 1/2 binary64) x)) |
#s(approx (* (+ (* (* x x) 1/24) 1/2) x) (*.f64 (fma.f64 (*.f64 x x) #s(literal 1/24 binary64) #s(literal 1/2 binary64)) x)) |
#s(approx (+ (* (* x x) 1/24) 1/2) #s(literal 1/2 binary64)) |
#s(approx (+ (* (* x x) 1/24) 1/2) (fma.f64 (*.f64 x x) #s(literal 1/24 binary64) #s(literal 1/2 binary64))) |
#s(approx (* x x) (*.f64 x x)) |
#s(approx (/ (- 1 (cos x)) (sin x)) (*.f64 #s(literal 1/2 binary64) x)) |
#s(approx (/ (- 1 (cos x)) (sin x)) (*.f64 (fma.f64 (*.f64 x x) #s(literal 1/24 binary64) #s(literal 1/2 binary64)) x)) |
#s(approx (/ (- 1 (cos x)) (sin x)) (*.f64 (fma.f64 (fma.f64 #s(literal 1/240 binary64) (*.f64 x x) #s(literal 1/24 binary64)) (*.f64 x x) #s(literal 1/2 binary64)) x)) |
#s(approx (/ (- 1 (cos x)) (sin x)) (*.f64 (fma.f64 (fma.f64 (fma.f64 #s(literal 17/40320 binary64) (*.f64 x x) #s(literal 1/240 binary64)) (*.f64 x x) #s(literal 1/24 binary64)) (*.f64 x x) #s(literal 1/2 binary64)) x)) |
#s(approx (/ x 2) (*.f64 #s(literal 1/2 binary64) x)) |
#s(approx (/ (- 1 (cos x)) (sin x)) (tan.f64 (/.f64 x #s(literal 2 binary64)))) |
#s(approx (* (+ (* (* x x) 1/24) 1/2) x) (*.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal 1/24 binary64))) |
#s(approx (* (+ (* (* x x) 1/24) 1/2) x) (*.f64 (fma.f64 (pow.f64 x #s(literal -2 binary64)) #s(literal 1/2 binary64) #s(literal 1/24 binary64)) (pow.f64 x #s(literal 3 binary64)))) |
#s(approx (+ (* (* x x) 1/24) 1/2) (*.f64 (*.f64 x x) #s(literal 1/24 binary64))) |
#s(approx (+ (* (* x x) 1/24) 1/2) (*.f64 (*.f64 (fma.f64 (pow.f64 x #s(literal -2 binary64)) #s(literal 1/2 binary64) #s(literal 1/24 binary64)) x) x)) |
#s(approx (/ (- 1 (cos x)) (sin x)) (tan.f64 (*.f64 #s(literal 1/2 binary64) x))) |
Compiled 2 479 to 447 computations (82% saved)
4 alts after pruning (1 fresh and 3 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 130 | 1 | 131 |
| Fresh | 0 | 0 | 0 |
| Picked | 1 | 2 | 3 |
| Done | 0 | 1 | 1 |
| Total | 131 | 4 | 135 |
| Status | Accuracy | Program |
|---|---|---|
| ✓ | 50.6% | (/.f64 (-.f64 #s(literal 1 binary64) (cos.f64 x)) (sin.f64 x)) |
| ▶ | 100.0% | (tan.f64 #s(approx (/ x 2) (*.f64 #s(literal 1/2 binary64) x))) |
| ✓ | 52.8% | #s(approx (/ (- 1 (cos x)) (sin x)) (*.f64 (fma.f64 (*.f64 x x) #s(literal 1/24 binary64) #s(literal 1/2 binary64)) x)) |
| ✓ | 53.2% | #s(approx (/ (- 1 (cos x)) (sin x)) (*.f64 #s(literal 1/2 binary64) x)) |
Compiled 42 to 34 computations (19% saved)
| Inputs |
|---|
(tan.f64 #s(approx (/ x 2) (*.f64 #s(literal 1/2 binary64) x))) |
#s(approx (/ x 2) (*.f64 #s(literal 1/2 binary64) x)) |
(*.f64 #s(literal 1/2 binary64) x) |
#s(literal 1/2 binary64) |
x |
| Outputs |
|---|
#s(approx (tan (/ x 2)) #s(hole binary64 (* 1/2 x))) |
#s(approx (tan (/ x 2)) #s(hole binary64 (* x (+ 1/2 (* 1/24 (pow x 2)))))) |
#s(approx (tan (/ x 2)) #s(hole binary64 (* x (+ 1/2 (* (pow x 2) (+ 1/24 (* 1/240 (pow x 2)))))))) |
#s(approx (tan (/ x 2)) #s(hole binary64 (* x (+ 1/2 (* (pow x 2) (+ 1/24 (* (pow x 2) (+ 1/240 (* 17/40320 (pow x 2)))))))))) |
#s(approx (/ x 2) #s(hole binary64 (* 1/2 x))) |
#s(approx (* 1/2 x) #s(hole binary64 (* 1/2 x))) |
#s(approx x #s(hole binary64 x)) |
#s(approx (tan (/ x 2)) #s(hole binary64 (/ (sin (* 1/2 x)) (cos (* 1/2 x))))) |
3 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 1.0ms | x | @ | -inf | ((tan (/ x 2)) (/ x 2) (* 1/2 x) 1/2 x) |
| 1.0ms | x | @ | inf | ((tan (/ x 2)) (/ x 2) (* 1/2 x) 1/2 x) |
| 0.0ms | x | @ | 0 | ((tan (/ x 2)) (/ x 2) (* 1/2 x) 1/2 x) |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 39 | 119 |
| 0 | 40 | 114 |
| 1 | 217 | 114 |
| 0 | 1631 | 108 |
| 1× | iter limit |
| 1× | iter limit |
| 1× | node limit |
| 1× | iter limit |
| Inputs |
|---|
(tan.f64 #s(approx (/ x 2) (*.f64 #s(literal 1/2 binary64) x))) |
#s(approx (/ x 2) (*.f64 #s(literal 1/2 binary64) x)) |
(*.f64 #s(literal 1/2 binary64) x) |
#s(literal 1/2 binary64) |
x |
#s(approx (tan (/ x 2)) #s(hole binary64 (* 1/2 x))) |
#s(approx (tan (/ x 2)) #s(hole binary64 (* x (+ 1/2 (* 1/24 (pow x 2)))))) |
#s(approx (tan (/ x 2)) #s(hole binary64 (* x (+ 1/2 (* (pow x 2) (+ 1/24 (* 1/240 (pow x 2)))))))) |
#s(approx (tan (/ x 2)) #s(hole binary64 (* x (+ 1/2 (* (pow x 2) (+ 1/24 (* (pow x 2) (+ 1/240 (* 17/40320 (pow x 2)))))))))) |
#s(approx (/ x 2) #s(hole binary64 (* 1/2 x))) |
#s(approx (* 1/2 x) #s(hole binary64 (* 1/2 x))) |
#s(approx x #s(hole binary64 x)) |
#s(approx (tan (/ x 2)) #s(hole binary64 (/ (sin (* 1/2 x)) (cos (* 1/2 x))))) |
| Outputs |
|---|
(/.f64 (neg.f64 (sin.f64 #s(approx (/ x 2) (*.f64 #s(literal 1/2 binary64) x)))) (neg.f64 (cos.f64 #s(approx (/ x 2) (*.f64 #s(literal 1/2 binary64) x))))) |
(/.f64 (+.f64 (tan.f64 #s(approx (/ x 2) (*.f64 #s(literal 1/2 binary64) x))) (tan.f64 (PI.f64))) (-.f64 #s(literal 1 binary64) (*.f64 (tan.f64 #s(approx (/ x 2) (*.f64 #s(literal 1/2 binary64) x))) (tan.f64 (PI.f64))))) |
(/.f64 (sin.f64 (+.f64 (PI.f64) #s(approx (/ x 2) (*.f64 #s(literal 1/2 binary64) x)))) (cos.f64 (+.f64 (PI.f64) #s(approx (/ x 2) (*.f64 #s(literal 1/2 binary64) x))))) |
(/.f64 (sin.f64 #s(approx (/ x 2) (*.f64 #s(literal 1/2 binary64) x))) (cos.f64 #s(approx (/ x 2) (*.f64 #s(literal 1/2 binary64) x)))) |
(tan.f64 (+.f64 (+.f64 (PI.f64) #s(approx (/ x 2) (*.f64 #s(literal 1/2 binary64) x))) (PI.f64))) |
(tan.f64 (+.f64 (PI.f64) #s(approx (/ x 2) (*.f64 #s(literal 1/2 binary64) x)))) |
(tan.f64 #s(approx (/ x 2) (*.f64 #s(literal 1/2 binary64) x))) |
#s(approx (/ x 2) (*.f64 #s(literal 1/2 binary64) x)) |
(*.f64 #s(literal 1/2 binary64) x) |
(*.f64 x #s(literal 1/2 binary64)) |
#s(literal 1/2 binary64) |
x |
#s(approx (tan (/ x 2)) (*.f64 #s(literal 1/2 binary64) x)) |
#s(approx (tan (/ x 2)) (*.f64 (fma.f64 (*.f64 x x) #s(literal 1/24 binary64) #s(literal 1/2 binary64)) x)) |
#s(approx (tan (/ x 2)) (*.f64 (fma.f64 (fma.f64 #s(literal 1/240 binary64) (*.f64 x x) #s(literal 1/24 binary64)) (*.f64 x x) #s(literal 1/2 binary64)) x)) |
#s(approx (tan (/ x 2)) (*.f64 (fma.f64 (fma.f64 (fma.f64 #s(literal 17/40320 binary64) (*.f64 x x) #s(literal 1/240 binary64)) (*.f64 x x) #s(literal 1/24 binary64)) (*.f64 x x) #s(literal 1/2 binary64)) x)) |
#s(approx (/ x 2) (*.f64 #s(literal 1/2 binary64) x)) |
#s(approx (* 1/2 x) (*.f64 #s(literal 1/2 binary64) x)) |
#s(approx x x) |
#s(approx (tan (/ x 2)) (tan.f64 (*.f64 #s(literal 1/2 binary64) x))) |
Compiled 245 to 59 computations (75.9% saved)
4 alts after pruning (0 fresh and 4 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 19 | 0 | 19 |
| Fresh | 0 | 0 | 0 |
| Picked | 0 | 1 | 1 |
| Done | 0 | 3 | 3 |
| Total | 19 | 4 | 23 |
| Status | Accuracy | Program |
|---|---|---|
| ✓ | 50.6% | (/.f64 (-.f64 #s(literal 1 binary64) (cos.f64 x)) (sin.f64 x)) |
| ✓ | 100.0% | (tan.f64 #s(approx (/ x 2) (*.f64 #s(literal 1/2 binary64) x))) |
| ✓ | 52.8% | #s(approx (/ (- 1 (cos x)) (sin x)) (*.f64 (fma.f64 (*.f64 x x) #s(literal 1/24 binary64) #s(literal 1/2 binary64)) x)) |
| ✓ | 53.2% | #s(approx (/ (- 1 (cos x)) (sin x)) (*.f64 #s(literal 1/2 binary64) x)) |
Compiled 88 to 60 computations (31.8% saved)
| Inputs |
|---|
#s(approx (/ (- 1 (cos x)) (sin x)) (*.f64 #s(literal 1/2 binary64) x)) |
#s(approx (/ (- 1 (cos x)) (sin x)) (*.f64 (fma.f64 (*.f64 x x) #s(literal 1/24 binary64) #s(literal 1/2 binary64)) x)) |
(tan.f64 #s(approx (/ x 2) (*.f64 #s(literal 1/2 binary64) x))) |
(tan.f64 (/.f64 x #s(literal 2 binary64))) |
(/.f64 (-.f64 #s(literal 1 binary64) (cos.f64 x)) (sin.f64 x)) |
| Outputs |
|---|
(tan.f64 #s(approx (/ x 2) (*.f64 #s(literal 1/2 binary64) x))) |
2 calls:
| 2.0ms | x |
| 2.0ms | (/.f64 (-.f64 #s(literal 1 binary64) (cos.f64 x)) (sin.f64 x)) |
| Accuracy | Segments | Branch |
|---|---|---|
| 100.0% | 1 | (/.f64 (-.f64 #s(literal 1 binary64) (cos.f64 x)) (sin.f64 x)) |
| 100.0% | 1 | x |
Compiled 8 to 7 computations (12.5% saved)
Total -0.3b remaining (-0.9%)
Threshold costs -0.3b (-0.9%)
| Inputs |
|---|
#s(approx (/ (- 1 (cos x)) (sin x)) (*.f64 #s(literal 1/2 binary64) x)) |
#s(approx (/ (- 1 (cos x)) (sin x)) (*.f64 (fma.f64 (*.f64 x x) #s(literal 1/24 binary64) #s(literal 1/2 binary64)) x)) |
| Outputs |
|---|
#s(approx (/ (- 1 (cos x)) (sin x)) (*.f64 #s(literal 1/2 binary64) x)) |
2 calls:
| 1.0ms | x |
| 1.0ms | (/.f64 (-.f64 #s(literal 1 binary64) (cos.f64 x)) (sin.f64 x)) |
| Accuracy | Segments | Branch |
|---|---|---|
| 53.2% | 1 | (/.f64 (-.f64 #s(literal 1 binary64) (cos.f64 x)) (sin.f64 x)) |
| 53.2% | 1 | x |
Compiled 8 to 7 computations (12.5% saved)
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 13 | 16 |
| 1 | 26 | 16 |
| 2 | 39 | 16 |
| 3 | 77 | 16 |
| 4 | 260 | 16 |
| 5 | 2360 | 16 |
| 1× | node limit |
| Inputs |
|---|
(tan.f64 #s(approx (/ x 2) (*.f64 #s(literal 1/2 binary64) x))) |
#s(approx (/ (- 1 (cos x)) (sin x)) (*.f64 #s(literal 1/2 binary64) x)) |
| Outputs |
|---|
(tan.f64 #s(approx (/ x 2) (*.f64 #s(literal 1/2 binary64) x))) |
#s(approx (/ (- 1 (cos x)) (sin x)) (*.f64 #s(literal 1/2 binary64) x)) |
| 1× | done |
Compiled 19 to 13 computations (31.6% saved)
(negabs x)
Compiled 76 to 60 computations (21.1% saved)
Loading profile data...