mixedcos

Time bar (total: 2.7s)

start0.0ms (0%)

Memory
0.1MiB live, 0.1MiB allocated; 0ms collecting garbage

analyze360.0ms (13.2%)

Memory
29.9MiB live, 170.6MiB allocated; 585ms collecting garbage
Algorithm
search
Search
ProbabilityValidUnknownPreconditionInfiniteDomainCan'tIter
0%0%99.9%0.1%0%0%0%0
0%0%99.9%0.1%0%0%0%1
0%0%99.9%0.1%0%0%0%2
0%0%99.9%0.1%0%0%0%3
12.5%12.5%87.4%0.1%0%0%0%4
18.8%18.7%81.1%0.1%0%0%0%5
28.1%28.1%71.8%0.1%0%0%0%6
42.2%42.1%57.7%0.1%0%0%0%7
49.2%49.1%50.7%0.1%0%0%0%8
57.4%57.3%42.5%0.1%0%0%0%9
67%66.9%33%0.1%0%0%0%10
71.8%71.7%28.2%0.1%0%0%0%11
76.9%76.8%23.1%0.1%0%0%0%12
Compiler

Compiled 18 to 14 computations (22.2% saved)

sample1.2s (42.5%)

Memory
6.4MiB live, 1 221.2MiB allocated; 232ms collecting garbage
Samples
843.0ms8 256×0valid
Precisions
Click to see histograms. Total time spent on operations: 615.0ms
ival-cos: 203.0ms (33% of total)
ival-mult!: 197.0ms (32% of total)
ival-pow2: 178.0ms (29% of total)
ival-div!: 35.0ms (5.7% of total)
adjust: 2.0ms (0.3% of total)
Bogosity

preprocess36.0ms (1.3%)

Memory
39.6MiB live, 39.6MiB allocated; 0ms collecting garbage
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
049169
1152163
2512163
32060163
45322163
Stop Event
node-limit
Alt Table
Click to see full alt table
StatusAccuracyProgram
67.4%
(/.f64 (cos.f64 (*.f64 #s(literal 2 binary64) x)) (*.f64 (pow.f64 c #s(literal 2 binary64)) (*.f64 (*.f64 x (pow.f64 s #s(literal 2 binary64))) x)))
Symmetry

(abs x)

(abs c)

(abs s)

(sort c s)

Compiler

Compiled 28 to 24 computations (14.3% saved)

series29.0ms (1.1%)

Memory
-7.2MiB live, 38.9MiB allocated; 5ms collecting garbage
Counts
12 → 19
Calls
Call 1
Inputs
(/.f64 (cos.f64 (*.f64 #s(literal 2 binary64) x)) (*.f64 (pow.f64 c #s(literal 2 binary64)) (*.f64 (*.f64 x (pow.f64 s #s(literal 2 binary64))) x)))
(cos.f64 (*.f64 #s(literal 2 binary64) x))
(*.f64 #s(literal 2 binary64) x)
#s(literal 2 binary64)
x
(*.f64 (pow.f64 c #s(literal 2 binary64)) (*.f64 (*.f64 x (pow.f64 s #s(literal 2 binary64))) x))
(pow.f64 c #s(literal 2 binary64))
c
(*.f64 (*.f64 x (pow.f64 s #s(literal 2 binary64))) x)
(*.f64 x (pow.f64 s #s(literal 2 binary64)))
(pow.f64 s #s(literal 2 binary64))
s
Outputs
#s(approx (/ (cos (* 2 x)) (* (pow c 2) (* (* x (pow s 2)) x))) #s(hole binary64 (/ 1 (* (pow c 2) (* (pow s 2) (pow x 2))))))
#s(approx (/ (cos (* 2 x)) (* (pow c 2) (* (* x (pow s 2)) x))) #s(hole binary64 (/ (+ (* -2 (/ (pow x 2) (* (pow c 2) (pow s 2)))) (/ 1 (* (pow c 2) (pow s 2)))) (pow x 2))))
#s(approx (/ (cos (* 2 x)) (* (pow c 2) (* (* x (pow s 2)) x))) #s(hole binary64 (/ (+ (* (pow x 2) (- (* 2/3 (/ (pow x 2) (* (pow c 2) (pow s 2)))) (* 2 (/ 1 (* (pow c 2) (pow s 2)))))) (/ 1 (* (pow c 2) (pow s 2)))) (pow x 2))))
#s(approx (/ (cos (* 2 x)) (* (pow c 2) (* (* x (pow s 2)) x))) #s(hole binary64 (/ (+ (* (pow x 2) (- (* (pow x 2) (+ (* -4/45 (/ (pow x 2) (* (pow c 2) (pow s 2)))) (* 2/3 (/ 1 (* (pow c 2) (pow s 2)))))) (* 2 (/ 1 (* (pow c 2) (pow s 2)))))) (/ 1 (* (pow c 2) (pow s 2)))) (pow x 2))))
#s(approx (cos (* 2 x)) #s(hole binary64 1))
#s(approx (cos (* 2 x)) #s(hole binary64 (+ 1 (* -2 (pow x 2)))))
#s(approx (cos (* 2 x)) #s(hole binary64 (+ 1 (* (pow x 2) (- (* 2/3 (pow x 2)) 2)))))
#s(approx (cos (* 2 x)) #s(hole binary64 (+ 1 (* (pow x 2) (- (* (pow x 2) (+ 2/3 (* -4/45 (pow x 2)))) 2)))))
#s(approx (* 2 x) #s(hole binary64 (* 2 x)))
#s(approx x #s(hole binary64 x))
#s(approx (* (pow c 2) (* (* x (pow s 2)) x)) #s(hole binary64 (* (pow c 2) (* (pow s 2) (pow x 2)))))
#s(approx (* (* x (pow s 2)) x) #s(hole binary64 (* (pow s 2) (pow x 2))))
#s(approx (* x (pow s 2)) #s(hole binary64 (* (pow s 2) x)))
#s(approx (/ (cos (* 2 x)) (* (pow c 2) (* (* x (pow s 2)) x))) #s(hole binary64 (/ (cos (* 2 x)) (* (pow c 2) (* (pow s 2) (pow x 2))))))
#s(approx (cos (* 2 x)) #s(hole binary64 (cos (* 2 x))))
#s(approx (pow c 2) #s(hole binary64 (pow c 2)))
#s(approx c #s(hole binary64 c))
#s(approx (pow s 2) #s(hole binary64 (pow s 2)))
#s(approx s #s(hole binary64 s))
Calls

9 calls:

TimeVariablePointExpression
9.0ms
x
@inf
((/ (cos (* 2 x)) (* (pow c 2) (* (* x (pow s 2)) x))) (cos (* 2 x)) (* 2 x) 2 x (* (pow c 2) (* (* x (pow s 2)) x)) (pow c 2) c (* (* x (pow s 2)) x) (* x (pow s 2)) (pow s 2) s)
3.0ms
c
@inf
((/ (cos (* 2 x)) (* (pow c 2) (* (* x (pow s 2)) x))) (cos (* 2 x)) (* 2 x) 2 x (* (pow c 2) (* (* x (pow s 2)) x)) (pow c 2) c (* (* x (pow s 2)) x) (* x (pow s 2)) (pow s 2) s)
3.0ms
x
@0
((/ (cos (* 2 x)) (* (pow c 2) (* (* x (pow s 2)) x))) (cos (* 2 x)) (* 2 x) 2 x (* (pow c 2) (* (* x (pow s 2)) x)) (pow c 2) c (* (* x (pow s 2)) x) (* x (pow s 2)) (pow s 2) s)
3.0ms
x
@-inf
((/ (cos (* 2 x)) (* (pow c 2) (* (* x (pow s 2)) x))) (cos (* 2 x)) (* 2 x) 2 x (* (pow c 2) (* (* x (pow s 2)) x)) (pow c 2) c (* (* x (pow s 2)) x) (* x (pow s 2)) (pow s 2) s)
2.0ms
s
@inf
((/ (cos (* 2 x)) (* (pow c 2) (* (* x (pow s 2)) x))) (cos (* 2 x)) (* 2 x) 2 x (* (pow c 2) (* (* x (pow s 2)) x)) (pow c 2) c (* (* x (pow s 2)) x) (* x (pow s 2)) (pow s 2) s)

rewrite141.0ms (5.2%)

Memory
-6.7MiB live, 102.5MiB allocated; 32ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
081447
092415
1374351
03114339
Stop Event
iter-limit
iter-limit
node-limit
iter-limit
Counts
31 → 119
Calls
Call 1
Inputs
(/.f64 (cos.f64 (*.f64 #s(literal 2 binary64) x)) (*.f64 (pow.f64 c #s(literal 2 binary64)) (*.f64 (*.f64 x (pow.f64 s #s(literal 2 binary64))) x)))
(cos.f64 (*.f64 #s(literal 2 binary64) x))
(*.f64 #s(literal 2 binary64) x)
#s(literal 2 binary64)
x
(*.f64 (pow.f64 c #s(literal 2 binary64)) (*.f64 (*.f64 x (pow.f64 s #s(literal 2 binary64))) x))
(pow.f64 c #s(literal 2 binary64))
c
(*.f64 (*.f64 x (pow.f64 s #s(literal 2 binary64))) x)
(*.f64 x (pow.f64 s #s(literal 2 binary64)))
(pow.f64 s #s(literal 2 binary64))
s
#s(approx (/ (cos (* 2 x)) (* (pow c 2) (* (* x (pow s 2)) x))) #s(hole binary64 (/ 1 (* (pow c 2) (* (pow s 2) (pow x 2))))))
#s(approx (/ (cos (* 2 x)) (* (pow c 2) (* (* x (pow s 2)) x))) #s(hole binary64 (/ (+ (* -2 (/ (pow x 2) (* (pow c 2) (pow s 2)))) (/ 1 (* (pow c 2) (pow s 2)))) (pow x 2))))
#s(approx (/ (cos (* 2 x)) (* (pow c 2) (* (* x (pow s 2)) x))) #s(hole binary64 (/ (+ (* (pow x 2) (- (* 2/3 (/ (pow x 2) (* (pow c 2) (pow s 2)))) (* 2 (/ 1 (* (pow c 2) (pow s 2)))))) (/ 1 (* (pow c 2) (pow s 2)))) (pow x 2))))
#s(approx (/ (cos (* 2 x)) (* (pow c 2) (* (* x (pow s 2)) x))) #s(hole binary64 (/ (+ (* (pow x 2) (- (* (pow x 2) (+ (* -4/45 (/ (pow x 2) (* (pow c 2) (pow s 2)))) (* 2/3 (/ 1 (* (pow c 2) (pow s 2)))))) (* 2 (/ 1 (* (pow c 2) (pow s 2)))))) (/ 1 (* (pow c 2) (pow s 2)))) (pow x 2))))
#s(approx (cos (* 2 x)) #s(hole binary64 1))
#s(approx (cos (* 2 x)) #s(hole binary64 (+ 1 (* -2 (pow x 2)))))
#s(approx (cos (* 2 x)) #s(hole binary64 (+ 1 (* (pow x 2) (- (* 2/3 (pow x 2)) 2)))))
#s(approx (cos (* 2 x)) #s(hole binary64 (+ 1 (* (pow x 2) (- (* (pow x 2) (+ 2/3 (* -4/45 (pow x 2)))) 2)))))
#s(approx (* 2 x) #s(hole binary64 (* 2 x)))
#s(approx x #s(hole binary64 x))
#s(approx (* (pow c 2) (* (* x (pow s 2)) x)) #s(hole binary64 (* (pow c 2) (* (pow s 2) (pow x 2)))))
#s(approx (* (* x (pow s 2)) x) #s(hole binary64 (* (pow s 2) (pow x 2))))
#s(approx (* x (pow s 2)) #s(hole binary64 (* (pow s 2) x)))
#s(approx (/ (cos (* 2 x)) (* (pow c 2) (* (* x (pow s 2)) x))) #s(hole binary64 (/ (cos (* 2 x)) (* (pow c 2) (* (pow s 2) (pow x 2))))))
#s(approx (cos (* 2 x)) #s(hole binary64 (cos (* 2 x))))
#s(approx (pow c 2) #s(hole binary64 (pow c 2)))
#s(approx c #s(hole binary64 c))
#s(approx (pow s 2) #s(hole binary64 (pow s 2)))
#s(approx s #s(hole binary64 s))
Outputs
(/.f64 (/.f64 (/.f64 (cos.f64 (+.f64 x x)) (*.f64 c c)) (*.f64 x x)) (*.f64 s s))
(/.f64 (/.f64 (/.f64 (cos.f64 (+.f64 x x)) (*.f64 c c)) (*.f64 s s)) (*.f64 x x))
(/.f64 (/.f64 (cos.f64 (+.f64 x x)) (*.f64 (*.f64 (*.f64 s s) c) c)) (*.f64 x x))
(/.f64 (/.f64 (/.f64 (cos.f64 (+.f64 x x)) (*.f64 c c)) (*.f64 (*.f64 s s) x)) x)
(/.f64 (/.f64 (/.f64 (cos.f64 (+.f64 x x)) (*.f64 c c)) x) (*.f64 (*.f64 s s) x))
(/.f64 (/.f64 (cos.f64 (+.f64 x x)) (*.f64 (*.f64 (*.f64 c c) x) (*.f64 s s))) x)
(/.f64 (/.f64 (cos.f64 (+.f64 x x)) (*.f64 (*.f64 (*.f64 s s) x) x)) (*.f64 c c))
(/.f64 (neg.f64 (/.f64 (cos.f64 (+.f64 x x)) (*.f64 c c))) (neg.f64 (*.f64 (*.f64 (*.f64 s s) x) x)))
(/.f64 (neg.f64 (neg.f64 (cos.f64 (+.f64 x x)))) (neg.f64 (*.f64 (neg.f64 (*.f64 (*.f64 (*.f64 s s) x) x)) (*.f64 c c))))
(/.f64 (/.f64 (cos.f64 (+.f64 x x)) (*.f64 c c)) (*.f64 (*.f64 (*.f64 s s) x) x))
(/.f64 (neg.f64 (cos.f64 (+.f64 x x))) (*.f64 (neg.f64 (*.f64 (*.f64 (*.f64 s s) x) x)) (*.f64 c c)))
(/.f64 (cos.f64 (+.f64 x x)) (*.f64 (*.f64 (*.f64 (*.f64 (*.f64 s s) x) x) c) c))
(neg.f64 (/.f64 (neg.f64 (cos.f64 (+.f64 x x))) (*.f64 (*.f64 (*.f64 (*.f64 (*.f64 s s) x) x) c) c)))
(neg.f64 (/.f64 (cos.f64 (+.f64 x x)) (*.f64 (neg.f64 (*.f64 (*.f64 (*.f64 s s) x) x)) (*.f64 c c))))
(-.f64 (/.f64 (+.f64 #s(literal 1/2 binary64) (*.f64 #s(literal 1/2 binary64) (cos.f64 (+.f64 x x)))) (*.f64 (*.f64 (*.f64 (*.f64 (*.f64 s s) x) x) c) c)) (/.f64 (-.f64 #s(literal 1/2 binary64) (*.f64 #s(literal 1/2 binary64) (cos.f64 (+.f64 x x)))) (*.f64 (*.f64 (*.f64 (*.f64 (*.f64 s s) x) x) c) c)))
(*.f64 (+.f64 (cos.f64 x) (sin.f64 x)) (-.f64 (cos.f64 x) (sin.f64 x)))
(/.f64 (-.f64 (*.f64 (+.f64 #s(literal 1/2 binary64) (*.f64 #s(literal 1/2 binary64) (cos.f64 (+.f64 x x)))) (+.f64 #s(literal 1/2 binary64) (*.f64 #s(literal 1/2 binary64) (cos.f64 (+.f64 x x))))) (*.f64 (-.f64 #s(literal 1/2 binary64) (*.f64 #s(literal 1/2 binary64) (cos.f64 (+.f64 x x)))) (-.f64 #s(literal 1/2 binary64) (*.f64 #s(literal 1/2 binary64) (cos.f64 (+.f64 x x)))))) (+.f64 (+.f64 #s(literal 1/2 binary64) (*.f64 #s(literal 1/2 binary64) (cos.f64 (+.f64 x x)))) (-.f64 #s(literal 1/2 binary64) (*.f64 #s(literal 1/2 binary64) (cos.f64 (+.f64 x x))))))
(/.f64 (-.f64 (pow.f64 (+.f64 #s(literal 1/2 binary64) (*.f64 #s(literal 1/2 binary64) (cos.f64 (+.f64 x x)))) #s(literal 3 binary64)) (pow.f64 (-.f64 #s(literal 1/2 binary64) (*.f64 #s(literal 1/2 binary64) (cos.f64 (+.f64 x x)))) #s(literal 3 binary64))) (fma.f64 (+.f64 #s(literal 1/2 binary64) (*.f64 #s(literal 1/2 binary64) (cos.f64 (+.f64 x x)))) (+.f64 #s(literal 1/2 binary64) (*.f64 #s(literal 1/2 binary64) (cos.f64 (+.f64 x x)))) (fma.f64 (-.f64 #s(literal 1/2 binary64) (*.f64 #s(literal 1/2 binary64) (cos.f64 (+.f64 x x)))) (-.f64 #s(literal 1/2 binary64) (*.f64 #s(literal 1/2 binary64) (cos.f64 (+.f64 x x)))) (*.f64 (+.f64 #s(literal 1/2 binary64) (*.f64 #s(literal 1/2 binary64) (cos.f64 (+.f64 x x)))) (-.f64 #s(literal 1/2 binary64) (*.f64 #s(literal 1/2 binary64) (cos.f64 (+.f64 x x))))))))
(sin.f64 (fma.f64 #s(literal -2 binary64) x (/.f64 (PI.f64) #s(literal 2 binary64))))
(sin.f64 (fma.f64 x #s(literal 2 binary64) (/.f64 (PI.f64) #s(literal 2 binary64))))
(fma.f64 (neg.f64 (cos.f64 x)) (neg.f64 (cos.f64 x)) (*.f64 (neg.f64 (sin.f64 x)) (sin.f64 x)))
(fma.f64 (fabs.f64 (cos.f64 x)) (fabs.f64 (cos.f64 x)) (*.f64 (neg.f64 (sin.f64 x)) (sin.f64 x)))
(fma.f64 (sin.f64 (+.f64 x x)) (cos.f64 (/.f64 (PI.f64) #s(literal 2 binary64))) (*.f64 (cos.f64 (+.f64 x x)) (sin.f64 (/.f64 (PI.f64) #s(literal 2 binary64)))))
(fma.f64 (cos.f64 x) (cos.f64 x) (*.f64 (neg.f64 (sin.f64 x)) (sin.f64 x)))
(-.f64 (+.f64 #s(literal 1/2 binary64) (*.f64 #s(literal 1/2 binary64) (cos.f64 (+.f64 x x)))) (-.f64 #s(literal 1/2 binary64) (*.f64 #s(literal 1/2 binary64) (cos.f64 (+.f64 x x)))))
(cos.f64 (*.f64 #s(literal -2 binary64) x))
(cos.f64 (+.f64 x x))
(+.f64 (*.f64 (sin.f64 (+.f64 x x)) (cos.f64 (/.f64 (PI.f64) #s(literal 2 binary64)))) (*.f64 (cos.f64 (+.f64 x x)) (sin.f64 (/.f64 (PI.f64) #s(literal 2 binary64)))))
(+.f64 (+.f64 #s(literal 1/2 binary64) (*.f64 #s(literal 1/2 binary64) (cos.f64 (+.f64 x x)))) (*.f64 (neg.f64 (sin.f64 x)) (sin.f64 x)))
(*.f64 (+.f64 x x) #s(literal 1 binary64))
(*.f64 x #s(literal 2 binary64))
(*.f64 #s(literal 2 binary64) (*.f64 #s(literal 1 binary64) x))
(*.f64 #s(literal 2 binary64) x)
(/.f64 (-.f64 (*.f64 x x) (*.f64 x x)) (-.f64 x x))
(/.f64 (+.f64 (pow.f64 x #s(literal 3 binary64)) (pow.f64 x #s(literal 3 binary64))) (fma.f64 x x (-.f64 (*.f64 x x) (*.f64 x x))))
(neg.f64 (*.f64 #s(literal -2 binary64) x))
(fma.f64 #s(literal 1 binary64) x (*.f64 #s(literal 1 binary64) x))
(fma.f64 x #s(literal 1 binary64) (*.f64 x #s(literal 1 binary64)))
(+.f64 (*.f64 #s(literal 1 binary64) x) (*.f64 #s(literal 1 binary64) x))
(+.f64 (*.f64 x #s(literal 1 binary64)) (*.f64 x #s(literal 1 binary64)))
(+.f64 x x)
#s(literal 2 binary64)
x
(*.f64 (*.f64 (*.f64 (*.f64 (*.f64 s s) x) x) c) c)
(*.f64 (*.f64 (*.f64 c c) (*.f64 x x)) (*.f64 s s))
(*.f64 (*.f64 (*.f64 c c) x) (*.f64 (*.f64 s s) x))
(*.f64 (*.f64 (*.f64 (*.f64 c c) x) (*.f64 s s)) x)
(*.f64 (*.f64 (*.f64 (*.f64 s s) c) c) (*.f64 x x))
(*.f64 (*.f64 (*.f64 (*.f64 s s) x) x) (*.f64 c c))
(*.f64 (*.f64 x x) (*.f64 (*.f64 (*.f64 s s) c) c))
(*.f64 (*.f64 (*.f64 s s) x) (*.f64 x (*.f64 c c)))
(*.f64 (*.f64 s s) (*.f64 (*.f64 x x) (*.f64 c c)))
(*.f64 (*.f64 s s) (*.f64 (*.f64 c c) (*.f64 x x)))
(*.f64 (*.f64 c c) (*.f64 (*.f64 (*.f64 s s) x) x))
(*.f64 c (*.f64 c (*.f64 (*.f64 (*.f64 s s) x) x)))
(*.f64 x (*.f64 (*.f64 (*.f64 c c) x) (*.f64 s s)))
(pow.f64 (*.f64 (*.f64 s c) x) #s(literal 2 binary64))
(pow.f64 (*.f64 (*.f64 s x) c) #s(literal 2 binary64))
(pow.f64 (*.f64 c (*.f64 s x)) #s(literal 2 binary64))
(*.f64 (neg.f64 c) (neg.f64 c))
(*.f64 (fabs.f64 c) (fabs.f64 c))
(*.f64 (exp.f64 (log.f64 c)) (exp.f64 (log.f64 c)))
(*.f64 c c)
(pow.f64 (exp.f64 (log.f64 c)) #s(literal 2 binary64))
(pow.f64 (*.f64 c c) #s(literal 1 binary64))
(pow.f64 c #s(literal 2 binary64))
(/.f64 #s(literal 1 binary64) (/.f64 #s(literal 1 binary64) (*.f64 c c)))
(exp.f64 (*.f64 (log.f64 c) #s(literal 2 binary64)))
(+.f64 (cosh.f64 (*.f64 (log.f64 c) #s(literal 2 binary64))) (sinh.f64 (*.f64 (log.f64 c) #s(literal 2 binary64))))
c
(*.f64 (*.f64 (*.f64 x x) s) s)
(*.f64 (pow.f64 (*.f64 s x) #s(literal 1 binary64)) (pow.f64 (*.f64 s x) #s(literal 1 binary64)))
(*.f64 (pow.f64 (*.f64 s x) #s(literal 1 binary64)) (*.f64 s x))
(*.f64 (*.f64 s x) (*.f64 s x))
(*.f64 (*.f64 x x) (*.f64 s s))
(*.f64 (*.f64 (*.f64 s s) x) x)
(*.f64 (*.f64 s s) (*.f64 x x))
(*.f64 s (*.f64 s (*.f64 x x)))
(*.f64 x (*.f64 (*.f64 s s) x))
(pow.f64 (*.f64 s x) #s(literal 2 binary64))
(pow.f64 (*.f64 (*.f64 (*.f64 s s) x) x) #s(literal 1 binary64))
(/.f64 #s(literal 1 binary64) (pow.f64 (*.f64 s x) #s(literal -2 binary64)))
(exp.f64 (fma.f64 (log.f64 x) #s(literal 2 binary64) (*.f64 (log.f64 s) #s(literal 2 binary64))))
(exp.f64 (fma.f64 (log.f64 s) #s(literal 2 binary64) (*.f64 (log.f64 x) #s(literal 2 binary64))))
(exp.f64 (*.f64 (log.f64 (*.f64 s x)) #s(literal 2 binary64)))
(*.f64 (*.f64 s x) s)
(*.f64 (*.f64 s s) x)
(*.f64 s (*.f64 s x))
(*.f64 x (*.f64 s s))
(*.f64 (neg.f64 s) (neg.f64 s))
(*.f64 (fabs.f64 s) (fabs.f64 s))
(*.f64 (exp.f64 (log.f64 s)) (exp.f64 (log.f64 s)))
(*.f64 s s)
(pow.f64 (exp.f64 (log.f64 s)) #s(literal 2 binary64))
(pow.f64 (*.f64 s s) #s(literal 1 binary64))
(pow.f64 s #s(literal 2 binary64))
(/.f64 #s(literal 1 binary64) (pow.f64 s #s(literal -2 binary64)))
(exp.f64 (*.f64 (log.f64 s) #s(literal 2 binary64)))
(+.f64 (cosh.f64 (*.f64 (log.f64 s) #s(literal 2 binary64))) (sinh.f64 (*.f64 (log.f64 s) #s(literal 2 binary64))))
s
#s(approx (/ (cos (* 2 x)) (* (pow c 2) (* (* x (pow s 2)) x))) (/.f64 #s(literal 1 binary64) (*.f64 (*.f64 (*.f64 (*.f64 (*.f64 s s) x) x) c) c)))
#s(approx (/ (cos (* 2 x)) (* (pow c 2) (* (* x (pow s 2)) x))) (/.f64 (/.f64 (fma.f64 #s(literal -2 binary64) (*.f64 x x) #s(literal 1 binary64)) (*.f64 (*.f64 (*.f64 s s) c) c)) (*.f64 x x)))
#s(approx (/ (cos (* 2 x)) (* (pow c 2) (* (* x (pow s 2)) x))) (/.f64 (fma.f64 (*.f64 (/.f64 (fma.f64 #s(literal 2/3 binary64) (*.f64 x x) #s(literal -2 binary64)) (*.f64 (*.f64 (*.f64 s s) c) c)) x) x (/.f64 #s(literal 1 binary64) (*.f64 (*.f64 (*.f64 s s) c) c))) (*.f64 x x)))
#s(approx (/ (cos (* 2 x)) (* (pow c 2) (* (* x (pow s 2)) x))) (/.f64 (fma.f64 (*.f64 (fma.f64 (*.f64 (/.f64 (fma.f64 #s(literal -4/45 binary64) (*.f64 x x) #s(literal 2/3 binary64)) (*.f64 (*.f64 (*.f64 s s) c) c)) x) x (/.f64 #s(literal -2 binary64) (*.f64 (*.f64 (*.f64 s s) c) c))) x) x (/.f64 #s(literal 1 binary64) (*.f64 (*.f64 (*.f64 s s) c) c))) (*.f64 x x)))
#s(approx (cos (* 2 x)) #s(literal 1 binary64))
#s(approx (cos (* 2 x)) (fma.f64 #s(literal -2 binary64) (*.f64 x x) #s(literal 1 binary64)))
#s(approx (cos (* 2 x)) (fma.f64 (fma.f64 #s(literal 2/3 binary64) (*.f64 x x) #s(literal -2 binary64)) (*.f64 x x) #s(literal 1 binary64)))
#s(approx (cos (* 2 x)) (fma.f64 (*.f64 (fma.f64 (fma.f64 #s(literal -4/45 binary64) (*.f64 x x) #s(literal 2/3 binary64)) (*.f64 x x) #s(literal -2 binary64)) x) x #s(literal 1 binary64)))
#s(approx (* 2 x) (+.f64 x x))
#s(approx x x)
#s(approx (* (pow c 2) (* (* x (pow s 2)) x)) (*.f64 (*.f64 (*.f64 (*.f64 (*.f64 s s) x) x) c) c))
#s(approx (* (* x (pow s 2)) x) (*.f64 (*.f64 (*.f64 s s) x) x))
#s(approx (* x (pow s 2)) (*.f64 (*.f64 s s) x))
#s(approx (/ (cos (* 2 x)) (* (pow c 2) (* (* x (pow s 2)) x))) (/.f64 (cos.f64 (+.f64 x x)) (*.f64 (*.f64 (*.f64 (*.f64 (*.f64 s s) x) x) c) c)))
#s(approx (cos (* 2 x)) (cos.f64 (+.f64 x x)))
#s(approx (pow c 2) (*.f64 c c))
#s(approx c c)
#s(approx (pow s 2) (*.f64 s s))
#s(approx s s)

eval12.0ms (0.4%)

Memory
-28.5MiB live, 18.8MiB allocated; 4ms collecting garbage
Compiler

Compiled 897 to 433 computations (51.7% saved)

prune10.0ms (0.4%)

Memory
19.3MiB live, 19.3MiB allocated; 0ms collecting garbage
Pruning

16 alts after pruning (16 fresh and 0 done)

PrunedKeptTotal
New9816114
Fresh000
Picked101
Done000
Total9916115
Accuracy
99.9%
Counts
115 → 16
Alt Table
Click to see full alt table
StatusAccuracyProgram
67.4%
(/.f64 (/.f64 (cos.f64 (+.f64 x x)) (*.f64 (*.f64 (*.f64 s s) x) x)) (*.f64 c c))
64.0%
(/.f64 (/.f64 (cos.f64 (+.f64 x x)) (*.f64 (*.f64 (*.f64 s s) c) c)) (*.f64 x x))
70.3%
(/.f64 (/.f64 (cos.f64 (+.f64 x x)) (*.f64 (*.f64 (*.f64 c c) x) (*.f64 s s))) x)
66.5%
(/.f64 (/.f64 (cos.f64 (+.f64 x x)) (*.f64 c c)) (*.f64 (*.f64 (*.f64 s s) x) x))
72.9%
(/.f64 (cos.f64 (+.f64 x x)) (*.f64 (*.f64 (*.f64 (*.f64 (*.f64 s s) x) x) c) c))
98.2%
(/.f64 (cos.f64 (*.f64 #s(literal 2 binary64) x)) (pow.f64 (*.f64 (*.f64 s x) c) #s(literal 2 binary64)))
96.4%
(/.f64 (cos.f64 (*.f64 #s(literal 2 binary64) x)) (pow.f64 (*.f64 (*.f64 s c) x) #s(literal 2 binary64)))
79.9%
(/.f64 (cos.f64 (*.f64 #s(literal 2 binary64) x)) (*.f64 (pow.f64 c #s(literal 2 binary64)) (/.f64 #s(literal 1 binary64) (pow.f64 (*.f64 s x) #s(literal -2 binary64)))))
78.0%
(/.f64 (cos.f64 (*.f64 #s(literal 2 binary64) x)) (*.f64 (pow.f64 c #s(literal 2 binary64)) (*.f64 (*.f64 (*.f64 s x) s) x)))
70.4%
(/.f64 (cos.f64 (*.f64 #s(literal 2 binary64) x)) (*.f64 (*.f64 (*.f64 (*.f64 c c) x) (*.f64 s s)) x))
50.2%
(/.f64 #s(approx (cos (* 2 x)) (fma.f64 #s(literal -2 binary64) (*.f64 x x) #s(literal 1 binary64))) (*.f64 (pow.f64 c #s(literal 2 binary64)) (*.f64 (*.f64 x (pow.f64 s #s(literal 2 binary64))) x)))
59.6%
(/.f64 #s(approx (cos (* 2 x)) #s(literal 1 binary64)) (*.f64 (pow.f64 c #s(literal 2 binary64)) (*.f64 (*.f64 x (pow.f64 s #s(literal 2 binary64))) x)))
46.3%
(-.f64 (/.f64 (+.f64 #s(literal 1/2 binary64) (*.f64 #s(literal 1/2 binary64) (cos.f64 (+.f64 x x)))) (*.f64 (*.f64 (*.f64 (*.f64 (*.f64 s s) x) x) c) c)) (/.f64 (-.f64 #s(literal 1/2 binary64) (*.f64 #s(literal 1/2 binary64) (cos.f64 (+.f64 x x)))) (*.f64 (*.f64 (*.f64 (*.f64 (*.f64 s s) x) x) c) c)))
28.4%
#s(approx (/ (cos (* 2 x)) (* (pow c 2) (* (* x (pow s 2)) x))) (/.f64 (fma.f64 (*.f64 (/.f64 (fma.f64 #s(literal 2/3 binary64) (*.f64 x x) #s(literal -2 binary64)) (*.f64 (*.f64 (*.f64 s s) c) c)) x) x (/.f64 #s(literal 1 binary64) (*.f64 (*.f64 (*.f64 s s) c) c))) (*.f64 x x)))
43.0%
#s(approx (/ (cos (* 2 x)) (* (pow c 2) (* (* x (pow s 2)) x))) (/.f64 (/.f64 (fma.f64 #s(literal -2 binary64) (*.f64 x x) #s(literal 1 binary64)) (*.f64 (*.f64 (*.f64 s s) c) c)) (*.f64 x x)))
62.4%
#s(approx (/ (cos (* 2 x)) (* (pow c 2) (* (* x (pow s 2)) x))) (/.f64 #s(literal 1 binary64) (*.f64 (*.f64 (*.f64 (*.f64 (*.f64 s s) x) x) c) c)))
Compiler

Compiled 496 to 462 computations (6.9% saved)

series45.0ms (1.6%)

Memory
-19.2MiB live, 73.1MiB allocated; 7ms collecting garbage
Counts
37 → 66
Calls
Call 1
Inputs
(/.f64 (cos.f64 (*.f64 #s(literal 2 binary64) x)) (pow.f64 (*.f64 (*.f64 s x) c) #s(literal 2 binary64)))
(cos.f64 (*.f64 #s(literal 2 binary64) x))
(*.f64 #s(literal 2 binary64) x)
#s(literal 2 binary64)
x
(pow.f64 (*.f64 (*.f64 s x) c) #s(literal 2 binary64))
(*.f64 (*.f64 s x) c)
(*.f64 s x)
s
c
#s(approx (/ (cos (* 2 x)) (* (pow c 2) (* (* x (pow s 2)) x))) (/.f64 #s(literal 1 binary64) (*.f64 (*.f64 (*.f64 (*.f64 (*.f64 s s) x) x) c) c)))
(/.f64 #s(literal 1 binary64) (*.f64 (*.f64 (*.f64 (*.f64 (*.f64 s s) x) x) c) c))
#s(literal 1 binary64)
(*.f64 (*.f64 (*.f64 (*.f64 (*.f64 s s) x) x) c) c)
(*.f64 (*.f64 (*.f64 (*.f64 s s) x) x) c)
(*.f64 (*.f64 (*.f64 s s) x) x)
(*.f64 (*.f64 s s) x)
(*.f64 s s)
(/.f64 #s(approx (cos (* 2 x)) (fma.f64 #s(literal -2 binary64) (*.f64 x x) #s(literal 1 binary64))) (*.f64 (pow.f64 c #s(literal 2 binary64)) (*.f64 (*.f64 x (pow.f64 s #s(literal 2 binary64))) x)))
#s(approx (cos (* 2 x)) (fma.f64 #s(literal -2 binary64) (*.f64 x x) #s(literal 1 binary64)))
(fma.f64 #s(literal -2 binary64) (*.f64 x x) #s(literal 1 binary64))
#s(literal -2 binary64)
(*.f64 x x)
(*.f64 (pow.f64 c #s(literal 2 binary64)) (*.f64 (*.f64 x (pow.f64 s #s(literal 2 binary64))) x))
(pow.f64 c #s(literal 2 binary64))
(*.f64 (*.f64 x (pow.f64 s #s(literal 2 binary64))) x)
(*.f64 x (pow.f64 s #s(literal 2 binary64)))
(pow.f64 s #s(literal 2 binary64))
(/.f64 (/.f64 (cos.f64 (+.f64 x x)) (*.f64 c c)) (*.f64 (*.f64 (*.f64 s s) x) x))
(/.f64 (cos.f64 (+.f64 x x)) (*.f64 c c))
(cos.f64 (+.f64 x x))
(+.f64 x x)
(*.f64 c c)
(/.f64 (cos.f64 (*.f64 #s(literal 2 binary64) x)) (*.f64 (pow.f64 c #s(literal 2 binary64)) (*.f64 (*.f64 (*.f64 s x) s) x)))
(*.f64 (pow.f64 c #s(literal 2 binary64)) (*.f64 (*.f64 (*.f64 s x) s) x))
(*.f64 (*.f64 (*.f64 s x) s) x)
(*.f64 (*.f64 s x) s)
Outputs
#s(approx (/ (cos (* 2 x)) (pow (* (* s x) c) 2)) #s(hole binary64 (/ 1 (* (pow c 2) (* (pow s 2) (pow x 2))))))
#s(approx (/ (cos (* 2 x)) (pow (* (* s x) c) 2)) #s(hole binary64 (/ (+ (* -2 (/ (pow x 2) (* (pow c 2) (pow s 2)))) (/ 1 (* (pow c 2) (pow s 2)))) (pow x 2))))
#s(approx (/ (cos (* 2 x)) (pow (* (* s x) c) 2)) #s(hole binary64 (/ (+ (* (pow x 2) (- (* 2/3 (/ (pow x 2) (* (pow c 2) (pow s 2)))) (* 2 (/ 1 (* (pow c 2) (pow s 2)))))) (/ 1 (* (pow c 2) (pow s 2)))) (pow x 2))))
#s(approx (/ (cos (* 2 x)) (pow (* (* s x) c) 2)) #s(hole binary64 (/ (+ (* (pow x 2) (- (* (pow x 2) (+ (* -4/45 (/ (pow x 2) (* (pow c 2) (pow s 2)))) (* 2/3 (/ 1 (* (pow c 2) (pow s 2)))))) (* 2 (/ 1 (* (pow c 2) (pow s 2)))))) (/ 1 (* (pow c 2) (pow s 2)))) (pow x 2))))
#s(approx (cos (* 2 x)) #s(hole binary64 1))
#s(approx (cos (* 2 x)) #s(hole binary64 (+ 1 (* -2 (pow x 2)))))
#s(approx (cos (* 2 x)) #s(hole binary64 (+ 1 (* (pow x 2) (- (* 2/3 (pow x 2)) 2)))))
#s(approx (cos (* 2 x)) #s(hole binary64 (+ 1 (* (pow x 2) (- (* (pow x 2) (+ 2/3 (* -4/45 (pow x 2)))) 2)))))
#s(approx (* 2 x) #s(hole binary64 (* 2 x)))
#s(approx x #s(hole binary64 x))
#s(approx (pow (* (* s x) c) 2) #s(hole binary64 (* (pow c 2) (* (pow s 2) (pow x 2)))))
#s(approx (* (* s x) c) #s(hole binary64 (* c (* s x))))
#s(approx (* s x) #s(hole binary64 (* s x)))
#s(approx (/ (cos (* 2 x)) (* (pow c 2) (* (* x (pow s 2)) x))) #s(hole binary64 (/ 1 (* (pow c 2) (* (pow s 2) (pow x 2))))))
#s(approx (/ (cos (* 2 x)) (* (pow c 2) (* (* x (pow s 2)) x))) #s(hole binary64 (/ (+ (* -2 (/ (pow x 2) (* (pow c 2) (pow s 2)))) (/ 1 (* (pow c 2) (pow s 2)))) (pow x 2))))
#s(approx (/ (cos (* 2 x)) (* (pow c 2) (* (* x (pow s 2)) x))) #s(hole binary64 (/ (+ (* (pow x 2) (- (* 2/3 (/ (pow x 2) (* (pow c 2) (pow s 2)))) (* 2 (/ 1 (* (pow c 2) (pow s 2)))))) (/ 1 (* (pow c 2) (pow s 2)))) (pow x 2))))
#s(approx (/ (cos (* 2 x)) (* (pow c 2) (* (* x (pow s 2)) x))) #s(hole binary64 (/ (+ (* (pow x 2) (- (* (pow x 2) (+ (* -4/45 (/ (pow x 2) (* (pow c 2) (pow s 2)))) (* 2/3 (/ 1 (* (pow c 2) (pow s 2)))))) (* 2 (/ 1 (* (pow c 2) (pow s 2)))))) (/ 1 (* (pow c 2) (pow s 2)))) (pow x 2))))
#s(approx (/ 1 (* (* (* (* (* s s) x) x) c) c)) #s(hole binary64 (/ 1 (* (pow c 2) (* (pow s 2) (pow x 2))))))
#s(approx (* (* (* (* (* s s) x) x) c) c) #s(hole binary64 (* (pow c 2) (* (pow s 2) (pow x 2)))))
#s(approx (* (* (* (* s s) x) x) c) #s(hole binary64 (* c (* (pow s 2) (pow x 2)))))
#s(approx (* (* (* s s) x) x) #s(hole binary64 (* (pow s 2) (pow x 2))))
#s(approx (* (* s s) x) #s(hole binary64 (* (pow s 2) x)))
#s(approx (+ (* -2 (* x x)) 1) #s(hole binary64 1))
#s(approx (+ (* -2 (* x x)) 1) #s(hole binary64 (+ 1 (* -2 (pow x 2)))))
#s(approx (* x x) #s(hole binary64 (pow x 2)))
#s(approx (* (pow c 2) (* (* x (pow s 2)) x)) #s(hole binary64 (* (pow c 2) (* (pow s 2) (pow x 2)))))
#s(approx (* (* x (pow s 2)) x) #s(hole binary64 (* (pow s 2) (pow x 2))))
#s(approx (* x (pow s 2)) #s(hole binary64 (* (pow s 2) x)))
#s(approx (/ (/ (cos (+ x x)) (* c c)) (* (* (* s s) x) x)) #s(hole binary64 (/ 1 (* (pow c 2) (* (pow s 2) (pow x 2))))))
#s(approx (/ (/ (cos (+ x x)) (* c c)) (* (* (* s s) x) x)) #s(hole binary64 (/ (+ (* -2 (/ (pow x 2) (* (pow c 2) (pow s 2)))) (/ 1 (* (pow c 2) (pow s 2)))) (pow x 2))))
#s(approx (/ (/ (cos (+ x x)) (* c c)) (* (* (* s s) x) x)) #s(hole binary64 (/ (+ (* (pow x 2) (- (* 2/3 (/ (pow x 2) (* (pow c 2) (pow s 2)))) (* 2 (/ 1 (* (pow c 2) (pow s 2)))))) (/ 1 (* (pow c 2) (pow s 2)))) (pow x 2))))
#s(approx (/ (/ (cos (+ x x)) (* c c)) (* (* (* s s) x) x)) #s(hole binary64 (/ (+ (* (pow x 2) (- (* (pow x 2) (+ (* -4/45 (/ (pow x 2) (* (pow c 2) (pow s 2)))) (* 2/3 (/ 1 (* (pow c 2) (pow s 2)))))) (* 2 (/ 1 (* (pow c 2) (pow s 2)))))) (/ 1 (* (pow c 2) (pow s 2)))) (pow x 2))))
#s(approx (/ (cos (+ x x)) (* c c)) #s(hole binary64 (/ 1 (pow c 2))))
#s(approx (/ (cos (+ x x)) (* c c)) #s(hole binary64 (+ (* -2 (/ (pow x 2) (pow c 2))) (/ 1 (pow c 2)))))
#s(approx (/ (cos (+ x x)) (* c c)) #s(hole binary64 (+ (* (pow x 2) (- (* 2/3 (/ (pow x 2) (pow c 2))) (* 2 (/ 1 (pow c 2))))) (/ 1 (pow c 2)))))
#s(approx (/ (cos (+ x x)) (* c c)) #s(hole binary64 (+ (* (pow x 2) (- (* (pow x 2) (+ (* -4/45 (/ (pow x 2) (pow c 2))) (* 2/3 (/ 1 (pow c 2))))) (* 2 (/ 1 (pow c 2))))) (/ 1 (pow c 2)))))
#s(approx (cos (+ x x)) #s(hole binary64 1))
#s(approx (cos (+ x x)) #s(hole binary64 (+ 1 (* -2 (pow x 2)))))
#s(approx (cos (+ x x)) #s(hole binary64 (+ 1 (* (pow x 2) (- (* 2/3 (pow x 2)) 2)))))
#s(approx (cos (+ x x)) #s(hole binary64 (+ 1 (* (pow x 2) (- (* (pow x 2) (+ 2/3 (* -4/45 (pow x 2)))) 2)))))
#s(approx (+ x x) #s(hole binary64 (* 2 x)))
#s(approx (/ (cos (* 2 x)) (* (pow c 2) (* (* (* s x) s) x))) #s(hole binary64 (/ 1 (* (pow c 2) (* (pow s 2) (pow x 2))))))
#s(approx (/ (cos (* 2 x)) (* (pow c 2) (* (* (* s x) s) x))) #s(hole binary64 (/ (+ (* -2 (/ (pow x 2) (* (pow c 2) (pow s 2)))) (/ 1 (* (pow c 2) (pow s 2)))) (pow x 2))))
#s(approx (/ (cos (* 2 x)) (* (pow c 2) (* (* (* s x) s) x))) #s(hole binary64 (/ (+ (* (pow x 2) (- (* 2/3 (/ (pow x 2) (* (pow c 2) (pow s 2)))) (* 2 (/ 1 (* (pow c 2) (pow s 2)))))) (/ 1 (* (pow c 2) (pow s 2)))) (pow x 2))))
#s(approx (/ (cos (* 2 x)) (* (pow c 2) (* (* (* s x) s) x))) #s(hole binary64 (/ (+ (* (pow x 2) (- (* (pow x 2) (+ (* -4/45 (/ (pow x 2) (* (pow c 2) (pow s 2)))) (* 2/3 (/ 1 (* (pow c 2) (pow s 2)))))) (* 2 (/ 1 (* (pow c 2) (pow s 2)))))) (/ 1 (* (pow c 2) (pow s 2)))) (pow x 2))))
#s(approx (* (pow c 2) (* (* (* s x) s) x)) #s(hole binary64 (* (pow c 2) (* (pow s 2) (pow x 2)))))
#s(approx (* (* (* s x) s) x) #s(hole binary64 (* (pow s 2) (pow x 2))))
#s(approx (* (* s x) s) #s(hole binary64 (* (pow s 2) x)))
#s(approx (/ (cos (* 2 x)) (pow (* (* s x) c) 2)) #s(hole binary64 (/ (cos (* 2 x)) (* (pow c 2) (* (pow s 2) (pow x 2))))))
#s(approx (cos (* 2 x)) #s(hole binary64 (cos (* 2 x))))
#s(approx (/ (cos (* 2 x)) (* (pow c 2) (* (* x (pow s 2)) x))) #s(hole binary64 (/ (cos (* 2 x)) (* (pow c 2) (* (pow s 2) (pow x 2))))))
#s(approx (+ (* -2 (* x x)) 1) #s(hole binary64 (* -2 (pow x 2))))
#s(approx (+ (* -2 (* x x)) 1) #s(hole binary64 (* (pow x 2) (- (/ 1 (pow x 2)) 2))))
#s(approx (/ (/ (cos (+ x x)) (* c c)) (* (* (* s s) x) x)) #s(hole binary64 (/ (cos (* 2 x)) (* (pow c 2) (* (pow s 2) (pow x 2))))))
#s(approx (/ (cos (+ x x)) (* c c)) #s(hole binary64 (/ (cos (* 2 x)) (pow c 2))))
#s(approx (cos (+ x x)) #s(hole binary64 (cos (* 2 x))))
#s(approx (/ (cos (* 2 x)) (* (pow c 2) (* (* (* s x) s) x))) #s(hole binary64 (/ (cos (* 2 x)) (* (pow c 2) (* (pow s 2) (pow x 2))))))
#s(approx (/ (/ (cos (+ x x)) (* c c)) (* (* (* s s) x) x)) #s(hole binary64 (/ (cos (neg (* -2 x))) (* (pow c 2) (* (pow s 2) (pow x 2))))))
#s(approx (/ (cos (+ x x)) (* c c)) #s(hole binary64 (/ (cos (neg (* -2 x))) (pow c 2))))
#s(approx (cos (+ x x)) #s(hole binary64 (cos (neg (* -2 x)))))
#s(approx c #s(hole binary64 c))
#s(approx (pow c 2) #s(hole binary64 (pow c 2)))
#s(approx (* c c) #s(hole binary64 (pow c 2)))
#s(approx s #s(hole binary64 s))
#s(approx (* s s) #s(hole binary64 (pow s 2)))
#s(approx (pow s 2) #s(hole binary64 (pow s 2)))
Calls

9 calls:

TimeVariablePointExpression
6.0ms
c
@0
((/ (cos (* 2 x)) (pow (* (* s x) c) 2)) (cos (* 2 x)) (* 2 x) 2 x (pow (* (* s x) c) 2) (* (* s x) c) (* s x) s c (/ (cos (* 2 x)) (* (pow c 2) (* (* x (pow s 2)) x))) (/ 1 (* (* (* (* (* s s) x) x) c) c)) 1 (* (* (* (* (* s s) x) x) c) c) (* (* (* (* s s) x) x) c) (* (* (* s s) x) x) (* (* s s) x) (* s s) (/ (cos (* 2 x)) (* (pow c 2) (* (* x (pow s 2)) x))) (cos (* 2 x)) (+ (* -2 (* x x)) 1) -2 (* x x) (* (pow c 2) (* (* x (pow s 2)) x)) (pow c 2) (* (* x (pow s 2)) x) (* x (pow s 2)) (pow s 2) (/ (/ (cos (+ x x)) (* c c)) (* (* (* s s) x) x)) (/ (cos (+ x x)) (* c c)) (cos (+ x x)) (+ x x) (* c c) (/ (cos (* 2 x)) (* (pow c 2) (* (* (* s x) s) x))) (* (pow c 2) (* (* (* s x) s) x)) (* (* (* s x) s) x) (* (* s x) s))
6.0ms
s
@-inf
((/ (cos (* 2 x)) (pow (* (* s x) c) 2)) (cos (* 2 x)) (* 2 x) 2 x (pow (* (* s x) c) 2) (* (* s x) c) (* s x) s c (/ (cos (* 2 x)) (* (pow c 2) (* (* x (pow s 2)) x))) (/ 1 (* (* (* (* (* s s) x) x) c) c)) 1 (* (* (* (* (* s s) x) x) c) c) (* (* (* (* s s) x) x) c) (* (* (* s s) x) x) (* (* s s) x) (* s s) (/ (cos (* 2 x)) (* (pow c 2) (* (* x (pow s 2)) x))) (cos (* 2 x)) (+ (* -2 (* x x)) 1) -2 (* x x) (* (pow c 2) (* (* x (pow s 2)) x)) (pow c 2) (* (* x (pow s 2)) x) (* x (pow s 2)) (pow s 2) (/ (/ (cos (+ x x)) (* c c)) (* (* (* s s) x) x)) (/ (cos (+ x x)) (* c c)) (cos (+ x x)) (+ x x) (* c c) (/ (cos (* 2 x)) (* (pow c 2) (* (* (* s x) s) x))) (* (pow c 2) (* (* (* s x) s) x)) (* (* (* s x) s) x) (* (* s x) s))
6.0ms
x
@-inf
((/ (cos (* 2 x)) (pow (* (* s x) c) 2)) (cos (* 2 x)) (* 2 x) 2 x (pow (* (* s x) c) 2) (* (* s x) c) (* s x) s c (/ (cos (* 2 x)) (* (pow c 2) (* (* x (pow s 2)) x))) (/ 1 (* (* (* (* (* s s) x) x) c) c)) 1 (* (* (* (* (* s s) x) x) c) c) (* (* (* (* s s) x) x) c) (* (* (* s s) x) x) (* (* s s) x) (* s s) (/ (cos (* 2 x)) (* (pow c 2) (* (* x (pow s 2)) x))) (cos (* 2 x)) (+ (* -2 (* x x)) 1) -2 (* x x) (* (pow c 2) (* (* x (pow s 2)) x)) (pow c 2) (* (* x (pow s 2)) x) (* x (pow s 2)) (pow s 2) (/ (/ (cos (+ x x)) (* c c)) (* (* (* s s) x) x)) (/ (cos (+ x x)) (* c c)) (cos (+ x x)) (+ x x) (* c c) (/ (cos (* 2 x)) (* (pow c 2) (* (* (* s x) s) x))) (* (pow c 2) (* (* (* s x) s) x)) (* (* (* s x) s) x) (* (* s x) s))
5.0ms
x
@inf
((/ (cos (* 2 x)) (pow (* (* s x) c) 2)) (cos (* 2 x)) (* 2 x) 2 x (pow (* (* s x) c) 2) (* (* s x) c) (* s x) s c (/ (cos (* 2 x)) (* (pow c 2) (* (* x (pow s 2)) x))) (/ 1 (* (* (* (* (* s s) x) x) c) c)) 1 (* (* (* (* (* s s) x) x) c) c) (* (* (* (* s s) x) x) c) (* (* (* s s) x) x) (* (* s s) x) (* s s) (/ (cos (* 2 x)) (* (pow c 2) (* (* x (pow s 2)) x))) (cos (* 2 x)) (+ (* -2 (* x x)) 1) -2 (* x x) (* (pow c 2) (* (* x (pow s 2)) x)) (pow c 2) (* (* x (pow s 2)) x) (* x (pow s 2)) (pow s 2) (/ (/ (cos (+ x x)) (* c c)) (* (* (* s s) x) x)) (/ (cos (+ x x)) (* c c)) (cos (+ x x)) (+ x x) (* c c) (/ (cos (* 2 x)) (* (pow c 2) (* (* (* s x) s) x))) (* (pow c 2) (* (* (* s x) s) x)) (* (* (* s x) s) x) (* (* s x) s))
4.0ms
s
@inf
((/ (cos (* 2 x)) (pow (* (* s x) c) 2)) (cos (* 2 x)) (* 2 x) 2 x (pow (* (* s x) c) 2) (* (* s x) c) (* s x) s c (/ (cos (* 2 x)) (* (pow c 2) (* (* x (pow s 2)) x))) (/ 1 (* (* (* (* (* s s) x) x) c) c)) 1 (* (* (* (* (* s s) x) x) c) c) (* (* (* (* s s) x) x) c) (* (* (* s s) x) x) (* (* s s) x) (* s s) (/ (cos (* 2 x)) (* (pow c 2) (* (* x (pow s 2)) x))) (cos (* 2 x)) (+ (* -2 (* x x)) 1) -2 (* x x) (* (pow c 2) (* (* x (pow s 2)) x)) (pow c 2) (* (* x (pow s 2)) x) (* x (pow s 2)) (pow s 2) (/ (/ (cos (+ x x)) (* c c)) (* (* (* s s) x) x)) (/ (cos (+ x x)) (* c c)) (cos (+ x x)) (+ x x) (* c c) (/ (cos (* 2 x)) (* (pow c 2) (* (* (* s x) s) x))) (* (pow c 2) (* (* (* s x) s) x)) (* (* (* s x) s) x) (* (* s x) s))

rewrite49.0ms (1.8%)

Memory
9.8MiB live, 59.2MiB allocated; 6ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02001894
02511580
07741552
Stop Event
iter-limit
iter-limit
node-limit
iter-limit
Counts
103 → 244
Calls
Call 1
Inputs
(/.f64 (cos.f64 (*.f64 #s(literal 2 binary64) x)) (pow.f64 (*.f64 (*.f64 s x) c) #s(literal 2 binary64)))
(cos.f64 (*.f64 #s(literal 2 binary64) x))
(*.f64 #s(literal 2 binary64) x)
#s(literal 2 binary64)
x
(pow.f64 (*.f64 (*.f64 s x) c) #s(literal 2 binary64))
(*.f64 (*.f64 s x) c)
(*.f64 s x)
s
c
#s(approx (/ (cos (* 2 x)) (* (pow c 2) (* (* x (pow s 2)) x))) (/.f64 #s(literal 1 binary64) (*.f64 (*.f64 (*.f64 (*.f64 (*.f64 s s) x) x) c) c)))
(/.f64 #s(literal 1 binary64) (*.f64 (*.f64 (*.f64 (*.f64 (*.f64 s s) x) x) c) c))
#s(literal 1 binary64)
(*.f64 (*.f64 (*.f64 (*.f64 (*.f64 s s) x) x) c) c)
(*.f64 (*.f64 (*.f64 (*.f64 s s) x) x) c)
(*.f64 (*.f64 (*.f64 s s) x) x)
(*.f64 (*.f64 s s) x)
(*.f64 s s)
(/.f64 #s(approx (cos (* 2 x)) (fma.f64 #s(literal -2 binary64) (*.f64 x x) #s(literal 1 binary64))) (*.f64 (pow.f64 c #s(literal 2 binary64)) (*.f64 (*.f64 x (pow.f64 s #s(literal 2 binary64))) x)))
#s(approx (cos (* 2 x)) (fma.f64 #s(literal -2 binary64) (*.f64 x x) #s(literal 1 binary64)))
(fma.f64 #s(literal -2 binary64) (*.f64 x x) #s(literal 1 binary64))
#s(literal -2 binary64)
(*.f64 x x)
(*.f64 (pow.f64 c #s(literal 2 binary64)) (*.f64 (*.f64 x (pow.f64 s #s(literal 2 binary64))) x))
(pow.f64 c #s(literal 2 binary64))
(*.f64 (*.f64 x (pow.f64 s #s(literal 2 binary64))) x)
(*.f64 x (pow.f64 s #s(literal 2 binary64)))
(pow.f64 s #s(literal 2 binary64))
(/.f64 (/.f64 (cos.f64 (+.f64 x x)) (*.f64 c c)) (*.f64 (*.f64 (*.f64 s s) x) x))
(/.f64 (cos.f64 (+.f64 x x)) (*.f64 c c))
(cos.f64 (+.f64 x x))
(+.f64 x x)
(*.f64 c c)
(/.f64 (cos.f64 (*.f64 #s(literal 2 binary64) x)) (*.f64 (pow.f64 c #s(literal 2 binary64)) (*.f64 (*.f64 (*.f64 s x) s) x)))
(*.f64 (pow.f64 c #s(literal 2 binary64)) (*.f64 (*.f64 (*.f64 s x) s) x))
(*.f64 (*.f64 (*.f64 s x) s) x)
(*.f64 (*.f64 s x) s)
#s(approx (/ (cos (* 2 x)) (pow (* (* s x) c) 2)) #s(hole binary64 (/ 1 (* (pow c 2) (* (pow s 2) (pow x 2))))))
#s(approx (/ (cos (* 2 x)) (pow (* (* s x) c) 2)) #s(hole binary64 (/ (+ (* -2 (/ (pow x 2) (* (pow c 2) (pow s 2)))) (/ 1 (* (pow c 2) (pow s 2)))) (pow x 2))))
#s(approx (/ (cos (* 2 x)) (pow (* (* s x) c) 2)) #s(hole binary64 (/ (+ (* (pow x 2) (- (* 2/3 (/ (pow x 2) (* (pow c 2) (pow s 2)))) (* 2 (/ 1 (* (pow c 2) (pow s 2)))))) (/ 1 (* (pow c 2) (pow s 2)))) (pow x 2))))
#s(approx (/ (cos (* 2 x)) (pow (* (* s x) c) 2)) #s(hole binary64 (/ (+ (* (pow x 2) (- (* (pow x 2) (+ (* -4/45 (/ (pow x 2) (* (pow c 2) (pow s 2)))) (* 2/3 (/ 1 (* (pow c 2) (pow s 2)))))) (* 2 (/ 1 (* (pow c 2) (pow s 2)))))) (/ 1 (* (pow c 2) (pow s 2)))) (pow x 2))))
#s(approx (cos (* 2 x)) #s(hole binary64 1))
#s(approx (cos (* 2 x)) #s(hole binary64 (+ 1 (* -2 (pow x 2)))))
#s(approx (cos (* 2 x)) #s(hole binary64 (+ 1 (* (pow x 2) (- (* 2/3 (pow x 2)) 2)))))
#s(approx (cos (* 2 x)) #s(hole binary64 (+ 1 (* (pow x 2) (- (* (pow x 2) (+ 2/3 (* -4/45 (pow x 2)))) 2)))))
#s(approx (* 2 x) #s(hole binary64 (* 2 x)))
#s(approx x #s(hole binary64 x))
#s(approx (pow (* (* s x) c) 2) #s(hole binary64 (* (pow c 2) (* (pow s 2) (pow x 2)))))
#s(approx (* (* s x) c) #s(hole binary64 (* c (* s x))))
#s(approx (* s x) #s(hole binary64 (* s x)))
#s(approx (/ (cos (* 2 x)) (* (pow c 2) (* (* x (pow s 2)) x))) #s(hole binary64 (/ 1 (* (pow c 2) (* (pow s 2) (pow x 2))))))
#s(approx (/ (cos (* 2 x)) (* (pow c 2) (* (* x (pow s 2)) x))) #s(hole binary64 (/ (+ (* -2 (/ (pow x 2) (* (pow c 2) (pow s 2)))) (/ 1 (* (pow c 2) (pow s 2)))) (pow x 2))))
#s(approx (/ (cos (* 2 x)) (* (pow c 2) (* (* x (pow s 2)) x))) #s(hole binary64 (/ (+ (* (pow x 2) (- (* 2/3 (/ (pow x 2) (* (pow c 2) (pow s 2)))) (* 2 (/ 1 (* (pow c 2) (pow s 2)))))) (/ 1 (* (pow c 2) (pow s 2)))) (pow x 2))))
#s(approx (/ (cos (* 2 x)) (* (pow c 2) (* (* x (pow s 2)) x))) #s(hole binary64 (/ (+ (* (pow x 2) (- (* (pow x 2) (+ (* -4/45 (/ (pow x 2) (* (pow c 2) (pow s 2)))) (* 2/3 (/ 1 (* (pow c 2) (pow s 2)))))) (* 2 (/ 1 (* (pow c 2) (pow s 2)))))) (/ 1 (* (pow c 2) (pow s 2)))) (pow x 2))))
#s(approx (/ 1 (* (* (* (* (* s s) x) x) c) c)) #s(hole binary64 (/ 1 (* (pow c 2) (* (pow s 2) (pow x 2))))))
#s(approx (* (* (* (* (* s s) x) x) c) c) #s(hole binary64 (* (pow c 2) (* (pow s 2) (pow x 2)))))
#s(approx (* (* (* (* s s) x) x) c) #s(hole binary64 (* c (* (pow s 2) (pow x 2)))))
#s(approx (* (* (* s s) x) x) #s(hole binary64 (* (pow s 2) (pow x 2))))
#s(approx (* (* s s) x) #s(hole binary64 (* (pow s 2) x)))
#s(approx (+ (* -2 (* x x)) 1) #s(hole binary64 1))
#s(approx (+ (* -2 (* x x)) 1) #s(hole binary64 (+ 1 (* -2 (pow x 2)))))
#s(approx (* x x) #s(hole binary64 (pow x 2)))
#s(approx (* (pow c 2) (* (* x (pow s 2)) x)) #s(hole binary64 (* (pow c 2) (* (pow s 2) (pow x 2)))))
#s(approx (* (* x (pow s 2)) x) #s(hole binary64 (* (pow s 2) (pow x 2))))
#s(approx (* x (pow s 2)) #s(hole binary64 (* (pow s 2) x)))
#s(approx (/ (/ (cos (+ x x)) (* c c)) (* (* (* s s) x) x)) #s(hole binary64 (/ 1 (* (pow c 2) (* (pow s 2) (pow x 2))))))
#s(approx (/ (/ (cos (+ x x)) (* c c)) (* (* (* s s) x) x)) #s(hole binary64 (/ (+ (* -2 (/ (pow x 2) (* (pow c 2) (pow s 2)))) (/ 1 (* (pow c 2) (pow s 2)))) (pow x 2))))
#s(approx (/ (/ (cos (+ x x)) (* c c)) (* (* (* s s) x) x)) #s(hole binary64 (/ (+ (* (pow x 2) (- (* 2/3 (/ (pow x 2) (* (pow c 2) (pow s 2)))) (* 2 (/ 1 (* (pow c 2) (pow s 2)))))) (/ 1 (* (pow c 2) (pow s 2)))) (pow x 2))))
#s(approx (/ (/ (cos (+ x x)) (* c c)) (* (* (* s s) x) x)) #s(hole binary64 (/ (+ (* (pow x 2) (- (* (pow x 2) (+ (* -4/45 (/ (pow x 2) (* (pow c 2) (pow s 2)))) (* 2/3 (/ 1 (* (pow c 2) (pow s 2)))))) (* 2 (/ 1 (* (pow c 2) (pow s 2)))))) (/ 1 (* (pow c 2) (pow s 2)))) (pow x 2))))
#s(approx (/ (cos (+ x x)) (* c c)) #s(hole binary64 (/ 1 (pow c 2))))
#s(approx (/ (cos (+ x x)) (* c c)) #s(hole binary64 (+ (* -2 (/ (pow x 2) (pow c 2))) (/ 1 (pow c 2)))))
#s(approx (/ (cos (+ x x)) (* c c)) #s(hole binary64 (+ (* (pow x 2) (- (* 2/3 (/ (pow x 2) (pow c 2))) (* 2 (/ 1 (pow c 2))))) (/ 1 (pow c 2)))))
#s(approx (/ (cos (+ x x)) (* c c)) #s(hole binary64 (+ (* (pow x 2) (- (* (pow x 2) (+ (* -4/45 (/ (pow x 2) (pow c 2))) (* 2/3 (/ 1 (pow c 2))))) (* 2 (/ 1 (pow c 2))))) (/ 1 (pow c 2)))))
#s(approx (cos (+ x x)) #s(hole binary64 1))
#s(approx (cos (+ x x)) #s(hole binary64 (+ 1 (* -2 (pow x 2)))))
#s(approx (cos (+ x x)) #s(hole binary64 (+ 1 (* (pow x 2) (- (* 2/3 (pow x 2)) 2)))))
#s(approx (cos (+ x x)) #s(hole binary64 (+ 1 (* (pow x 2) (- (* (pow x 2) (+ 2/3 (* -4/45 (pow x 2)))) 2)))))
#s(approx (+ x x) #s(hole binary64 (* 2 x)))
#s(approx (/ (cos (* 2 x)) (* (pow c 2) (* (* (* s x) s) x))) #s(hole binary64 (/ 1 (* (pow c 2) (* (pow s 2) (pow x 2))))))
#s(approx (/ (cos (* 2 x)) (* (pow c 2) (* (* (* s x) s) x))) #s(hole binary64 (/ (+ (* -2 (/ (pow x 2) (* (pow c 2) (pow s 2)))) (/ 1 (* (pow c 2) (pow s 2)))) (pow x 2))))
#s(approx (/ (cos (* 2 x)) (* (pow c 2) (* (* (* s x) s) x))) #s(hole binary64 (/ (+ (* (pow x 2) (- (* 2/3 (/ (pow x 2) (* (pow c 2) (pow s 2)))) (* 2 (/ 1 (* (pow c 2) (pow s 2)))))) (/ 1 (* (pow c 2) (pow s 2)))) (pow x 2))))
#s(approx (/ (cos (* 2 x)) (* (pow c 2) (* (* (* s x) s) x))) #s(hole binary64 (/ (+ (* (pow x 2) (- (* (pow x 2) (+ (* -4/45 (/ (pow x 2) (* (pow c 2) (pow s 2)))) (* 2/3 (/ 1 (* (pow c 2) (pow s 2)))))) (* 2 (/ 1 (* (pow c 2) (pow s 2)))))) (/ 1 (* (pow c 2) (pow s 2)))) (pow x 2))))
#s(approx (* (pow c 2) (* (* (* s x) s) x)) #s(hole binary64 (* (pow c 2) (* (pow s 2) (pow x 2)))))
#s(approx (* (* (* s x) s) x) #s(hole binary64 (* (pow s 2) (pow x 2))))
#s(approx (* (* s x) s) #s(hole binary64 (* (pow s 2) x)))
#s(approx (/ (cos (* 2 x)) (pow (* (* s x) c) 2)) #s(hole binary64 (/ (cos (* 2 x)) (* (pow c 2) (* (pow s 2) (pow x 2))))))
#s(approx (cos (* 2 x)) #s(hole binary64 (cos (* 2 x))))
#s(approx (/ (cos (* 2 x)) (* (pow c 2) (* (* x (pow s 2)) x))) #s(hole binary64 (/ (cos (* 2 x)) (* (pow c 2) (* (pow s 2) (pow x 2))))))
#s(approx (+ (* -2 (* x x)) 1) #s(hole binary64 (* -2 (pow x 2))))
#s(approx (+ (* -2 (* x x)) 1) #s(hole binary64 (* (pow x 2) (- (/ 1 (pow x 2)) 2))))
#s(approx (/ (/ (cos (+ x x)) (* c c)) (* (* (* s s) x) x)) #s(hole binary64 (/ (cos (* 2 x)) (* (pow c 2) (* (pow s 2) (pow x 2))))))
#s(approx (/ (cos (+ x x)) (* c c)) #s(hole binary64 (/ (cos (* 2 x)) (pow c 2))))
#s(approx (cos (+ x x)) #s(hole binary64 (cos (* 2 x))))
#s(approx (/ (cos (* 2 x)) (* (pow c 2) (* (* (* s x) s) x))) #s(hole binary64 (/ (cos (* 2 x)) (* (pow c 2) (* (pow s 2) (pow x 2))))))
#s(approx (/ (/ (cos (+ x x)) (* c c)) (* (* (* s s) x) x)) #s(hole binary64 (/ (cos (neg (* -2 x))) (* (pow c 2) (* (pow s 2) (pow x 2))))))
#s(approx (/ (cos (+ x x)) (* c c)) #s(hole binary64 (/ (cos (neg (* -2 x))) (pow c 2))))
#s(approx (cos (+ x x)) #s(hole binary64 (cos (neg (* -2 x)))))
#s(approx c #s(hole binary64 c))
#s(approx (pow c 2) #s(hole binary64 (pow c 2)))
#s(approx (* c c) #s(hole binary64 (pow c 2)))
#s(approx s #s(hole binary64 s))
#s(approx (* s s) #s(hole binary64 (pow s 2)))
#s(approx (pow s 2) #s(hole binary64 (pow s 2)))
Outputs
(/.f64 (/.f64 (/.f64 (cos.f64 (+.f64 x x)) (*.f64 c c)) (*.f64 (*.f64 s x) s)) x)
(/.f64 (neg.f64 (/.f64 (cos.f64 (+.f64 x x)) (*.f64 c c))) (neg.f64 (*.f64 (*.f64 (*.f64 s x) s) x)))
(/.f64 (neg.f64 (cos.f64 (+.f64 x x))) (neg.f64 (*.f64 (*.f64 (*.f64 s x) c) (*.f64 (*.f64 s x) c))))
(/.f64 (/.f64 (cos.f64 (+.f64 x x)) (*.f64 c c)) (*.f64 (*.f64 (*.f64 s x) s) x))
(/.f64 (cos.f64 (+.f64 x x)) (*.f64 (*.f64 (*.f64 s x) c) (*.f64 (*.f64 s x) c)))
(sin.f64 (fma.f64 x #s(literal 2 binary64) (/.f64 (PI.f64) #s(literal 2 binary64))))
(-.f64 (*.f64 (cos.f64 x) (cos.f64 x)) (*.f64 (sin.f64 x) (sin.f64 x)))
(cos.f64 (neg.f64 (+.f64 x x)))
(cos.f64 (*.f64 #s(literal -2 binary64) x))
(cos.f64 (+.f64 x x))
(*.f64 #s(literal -2 binary64) (neg.f64 x))
(*.f64 x #s(literal 2 binary64))
(*.f64 #s(literal 2 binary64) x)
(/.f64 (-.f64 (*.f64 x x) (*.f64 x x)) (-.f64 x x))
(/.f64 (+.f64 (pow.f64 x #s(literal 3 binary64)) (pow.f64 x #s(literal 3 binary64))) (fma.f64 x x (-.f64 (*.f64 x x) (*.f64 x x))))
(neg.f64 (*.f64 #s(literal -2 binary64) x))
(+.f64 x x)
#s(literal 2 binary64)
x
(*.f64 (*.f64 (*.f64 c c) (*.f64 (*.f64 s x) s)) x)
(*.f64 (pow.f64 (*.f64 (*.f64 s x) c) #s(literal 1 binary64)) (pow.f64 (*.f64 (*.f64 s x) c) #s(literal 1 binary64)))
(*.f64 (*.f64 (*.f64 s s) (*.f64 c c)) (*.f64 x x))
(*.f64 (*.f64 (*.f64 s x) c) (*.f64 (*.f64 s x) c))
(*.f64 (*.f64 (*.f64 c (*.f64 s s)) (*.f64 x x)) c)
(*.f64 (*.f64 (*.f64 (*.f64 s x) s) x) (*.f64 c c))
(*.f64 (*.f64 c c) (*.f64 (*.f64 (*.f64 s x) s) x))
(*.f64 c (*.f64 (*.f64 c (*.f64 s s)) (*.f64 x x)))
(pow.f64 (*.f64 (*.f64 s x) c) #s(literal 2 binary64))
(exp.f64 (*.f64 (log.f64 (*.f64 (*.f64 s x) c)) #s(literal 2 binary64)))
(*.f64 (*.f64 c s) x)
(*.f64 (*.f64 s x) c)
(*.f64 c (*.f64 s x))
(*.f64 s (*.f64 x c))
(*.f64 s x)
(*.f64 x s)
s
c
#s(approx (/ (cos (* 2 x)) (* (pow c 2) (* (* x (pow s 2)) x))) (/.f64 #s(literal 1 binary64) (*.f64 (*.f64 (*.f64 s x) c) (*.f64 (*.f64 s x) c))))
(pow.f64 (*.f64 (*.f64 (*.f64 s x) c) (*.f64 (*.f64 s x) c)) #s(literal -1 binary64))
(/.f64 (/.f64 #s(literal 1 binary64) (*.f64 (*.f64 c (*.f64 s s)) (*.f64 x x))) c)
(/.f64 #s(literal -1 binary64) (neg.f64 (*.f64 (*.f64 (*.f64 s x) c) (*.f64 (*.f64 s x) c))))
(/.f64 (/.f64 #s(literal 1 binary64) (*.f64 c c)) (*.f64 (*.f64 (*.f64 s x) s) x))
(/.f64 #s(literal 1 binary64) (*.f64 (*.f64 (*.f64 s x) c) (*.f64 (*.f64 s x) c)))
#s(literal 1 binary64)
(*.f64 (*.f64 (*.f64 c c) (*.f64 (*.f64 s x) s)) x)
(*.f64 (pow.f64 (*.f64 (*.f64 s x) c) #s(literal 1 binary64)) (pow.f64 (*.f64 (*.f64 s x) c) #s(literal 1 binary64)))
(*.f64 (*.f64 (*.f64 s s) (*.f64 c c)) (*.f64 x x))
(*.f64 (*.f64 (*.f64 s x) c) (*.f64 (*.f64 s x) c))
(*.f64 (*.f64 (*.f64 c (*.f64 s s)) (*.f64 x x)) c)
(*.f64 (*.f64 (*.f64 (*.f64 s x) s) x) (*.f64 c c))
(*.f64 (*.f64 c c) (*.f64 (*.f64 (*.f64 s x) s) x))
(*.f64 c (*.f64 (*.f64 c (*.f64 s s)) (*.f64 x x)))
(pow.f64 (*.f64 (*.f64 s x) c) #s(literal 2 binary64))
(exp.f64 (*.f64 (log.f64 (*.f64 (*.f64 s x) c)) #s(literal 2 binary64)))
(*.f64 (*.f64 c (*.f64 s s)) (*.f64 x x))
(*.f64 (*.f64 (*.f64 s x) s) (*.f64 x c))
(*.f64 (*.f64 (*.f64 (*.f64 s x) s) x) c)
(*.f64 c (*.f64 (*.f64 (*.f64 s x) s) x))
(*.f64 (*.f64 (*.f64 s x) s) x)
(*.f64 (*.f64 x x) (*.f64 s s))
(*.f64 (*.f64 s x) (*.f64 s x))
(*.f64 (*.f64 s s) (*.f64 x x))
(*.f64 x (*.f64 (*.f64 s x) s))
(pow.f64 (*.f64 s x) #s(literal 2 binary64))
(*.f64 (*.f64 s x) s)
(*.f64 (*.f64 s s) x)
(*.f64 s (*.f64 s x))
(*.f64 x (*.f64 s s))
(*.f64 (pow.f64 s #s(literal 1 binary64)) (pow.f64 s #s(literal 1 binary64)))
(*.f64 (neg.f64 s) (neg.f64 s))
(*.f64 (fabs.f64 s) (fabs.f64 s))
(*.f64 s s)
(pow.f64 s #s(literal 2 binary64))
(exp.f64 (*.f64 (log.f64 s) #s(literal 2 binary64)))
(/.f64 (/.f64 #s(approx (cos (* 2 x)) (fma.f64 (*.f64 x x) #s(literal -2 binary64) #s(literal 1 binary64))) (*.f64 c c)) (*.f64 (*.f64 (*.f64 s x) s) x))
(/.f64 (neg.f64 #s(approx (cos (* 2 x)) (fma.f64 (*.f64 x x) #s(literal -2 binary64) #s(literal 1 binary64)))) (neg.f64 (*.f64 (*.f64 (*.f64 s x) c) (*.f64 (*.f64 s x) c))))
(/.f64 #s(approx (cos (* 2 x)) (fma.f64 (*.f64 x x) #s(literal -2 binary64) #s(literal 1 binary64))) (*.f64 (*.f64 (*.f64 s x) c) (*.f64 (*.f64 s x) c)))
#s(approx (cos (* 2 x)) (fma.f64 (*.f64 x x) #s(literal -2 binary64) #s(literal 1 binary64)))
(/.f64 (-.f64 (*.f64 (*.f64 (*.f64 x x) #s(literal -2 binary64)) (*.f64 (*.f64 x x) #s(literal -2 binary64))) #s(literal 1 binary64)) (-.f64 (*.f64 (*.f64 x x) #s(literal -2 binary64)) #s(literal 1 binary64)))
(/.f64 (-.f64 #s(literal 1 binary64) (*.f64 (*.f64 (*.f64 x x) #s(literal -2 binary64)) (*.f64 (*.f64 x x) #s(literal -2 binary64)))) (-.f64 #s(literal 1 binary64) (*.f64 (*.f64 x x) #s(literal -2 binary64))))
(/.f64 (+.f64 (pow.f64 (*.f64 (*.f64 x x) #s(literal -2 binary64)) #s(literal 3 binary64)) #s(literal 1 binary64)) (fma.f64 (*.f64 (*.f64 x x) #s(literal -2 binary64)) (*.f64 (*.f64 x x) #s(literal -2 binary64)) (-.f64 #s(literal 1 binary64) (*.f64 (*.f64 (*.f64 x x) #s(literal -2 binary64)) #s(literal 1 binary64)))))
(/.f64 (+.f64 #s(literal 1 binary64) (pow.f64 (*.f64 (*.f64 x x) #s(literal -2 binary64)) #s(literal 3 binary64))) (+.f64 #s(literal 1 binary64) (-.f64 (*.f64 (*.f64 (*.f64 x x) #s(literal -2 binary64)) (*.f64 (*.f64 x x) #s(literal -2 binary64))) (*.f64 #s(literal 1 binary64) (*.f64 (*.f64 x x) #s(literal -2 binary64))))))
(fma.f64 (*.f64 #s(literal -2 binary64) x) x #s(literal 1 binary64))
(fma.f64 (*.f64 x x) #s(literal -2 binary64) #s(literal 1 binary64))
(fma.f64 #s(literal -2 binary64) (*.f64 x x) #s(literal 1 binary64))
(-.f64 #s(literal 1 binary64) (*.f64 #s(literal 2 binary64) (*.f64 x x)))
(+.f64 (*.f64 (*.f64 x x) #s(literal -2 binary64)) #s(literal 1 binary64))
(+.f64 #s(literal 1 binary64) (*.f64 (*.f64 x x) #s(literal -2 binary64)))
#s(literal -2 binary64)
(*.f64 (pow.f64 x #s(literal 1 binary64)) (pow.f64 x #s(literal 1 binary64)))
(*.f64 (neg.f64 x) (neg.f64 x))
(*.f64 (fabs.f64 x) (fabs.f64 x))
(*.f64 x x)
(pow.f64 x #s(literal 2 binary64))
(exp.f64 (*.f64 (log.f64 x) #s(literal 2 binary64)))
(*.f64 (*.f64 (*.f64 c c) (*.f64 (*.f64 s x) s)) x)
(*.f64 (pow.f64 (*.f64 (*.f64 s x) c) #s(literal 1 binary64)) (pow.f64 (*.f64 (*.f64 s x) c) #s(literal 1 binary64)))
(*.f64 (*.f64 (*.f64 s s) (*.f64 c c)) (*.f64 x x))
(*.f64 (*.f64 (*.f64 s x) c) (*.f64 (*.f64 s x) c))
(*.f64 (*.f64 (*.f64 c (*.f64 s s)) (*.f64 x x)) c)
(*.f64 (*.f64 (*.f64 (*.f64 s x) s) x) (*.f64 c c))
(*.f64 (*.f64 c c) (*.f64 (*.f64 (*.f64 s x) s) x))
(*.f64 c (*.f64 (*.f64 c (*.f64 s s)) (*.f64 x x)))
(pow.f64 (*.f64 (*.f64 s x) c) #s(literal 2 binary64))
(exp.f64 (*.f64 (log.f64 (*.f64 (*.f64 s x) c)) #s(literal 2 binary64)))
(*.f64 (pow.f64 c #s(literal 1 binary64)) (pow.f64 c #s(literal 1 binary64)))
(*.f64 (neg.f64 c) (neg.f64 c))
(*.f64 (fabs.f64 c) (fabs.f64 c))
(*.f64 c c)
(pow.f64 c #s(literal 2 binary64))
(exp.f64 (*.f64 (log.f64 c) #s(literal 2 binary64)))
(*.f64 (*.f64 (*.f64 s x) s) x)
(*.f64 (*.f64 x x) (*.f64 s s))
(*.f64 (*.f64 s x) (*.f64 s x))
(*.f64 (*.f64 s s) (*.f64 x x))
(*.f64 x (*.f64 (*.f64 s x) s))
(pow.f64 (*.f64 s x) #s(literal 2 binary64))
(*.f64 (*.f64 s x) s)
(*.f64 (*.f64 s s) x)
(*.f64 s (*.f64 s x))
(*.f64 x (*.f64 s s))
(*.f64 (pow.f64 s #s(literal 1 binary64)) (pow.f64 s #s(literal 1 binary64)))
(*.f64 (neg.f64 s) (neg.f64 s))
(*.f64 (fabs.f64 s) (fabs.f64 s))
(*.f64 s s)
(pow.f64 s #s(literal 2 binary64))
(exp.f64 (*.f64 (log.f64 s) #s(literal 2 binary64)))
(/.f64 (/.f64 (/.f64 (cos.f64 (+.f64 x x)) (*.f64 c c)) (*.f64 (*.f64 s x) s)) x)
(/.f64 (neg.f64 (/.f64 (cos.f64 (+.f64 x x)) (*.f64 c c))) (neg.f64 (*.f64 (*.f64 (*.f64 s x) s) x)))
(/.f64 (neg.f64 (cos.f64 (+.f64 x x))) (neg.f64 (*.f64 (*.f64 (*.f64 s x) c) (*.f64 (*.f64 s x) c))))
(/.f64 (/.f64 (cos.f64 (+.f64 x x)) (*.f64 c c)) (*.f64 (*.f64 (*.f64 s x) s) x))
(/.f64 (cos.f64 (+.f64 x x)) (*.f64 (*.f64 (*.f64 s x) c) (*.f64 (*.f64 s x) c)))
(/.f64 (/.f64 (cos.f64 (+.f64 x x)) c) c)
(/.f64 (neg.f64 (cos.f64 (+.f64 x x))) (neg.f64 (*.f64 c c)))
(/.f64 (cos.f64 (+.f64 x x)) (*.f64 c c))
(sin.f64 (fma.f64 x #s(literal 2 binary64) (/.f64 (PI.f64) #s(literal 2 binary64))))
(-.f64 (*.f64 (cos.f64 x) (cos.f64 x)) (*.f64 (sin.f64 x) (sin.f64 x)))
(cos.f64 (neg.f64 (+.f64 x x)))
(cos.f64 (*.f64 #s(literal -2 binary64) x))
(cos.f64 (+.f64 x x))
(*.f64 #s(literal -2 binary64) (neg.f64 x))
(*.f64 x #s(literal 2 binary64))
(*.f64 #s(literal 2 binary64) x)
(/.f64 (-.f64 (*.f64 x x) (*.f64 x x)) (-.f64 x x))
(/.f64 (+.f64 (pow.f64 x #s(literal 3 binary64)) (pow.f64 x #s(literal 3 binary64))) (fma.f64 x x (-.f64 (*.f64 x x) (*.f64 x x))))
(neg.f64 (*.f64 #s(literal -2 binary64) x))
(+.f64 x x)
(*.f64 (pow.f64 c #s(literal 1 binary64)) (pow.f64 c #s(literal 1 binary64)))
(*.f64 (neg.f64 c) (neg.f64 c))
(*.f64 (fabs.f64 c) (fabs.f64 c))
(*.f64 c c)
(pow.f64 c #s(literal 2 binary64))
(exp.f64 (*.f64 (log.f64 c) #s(literal 2 binary64)))
(/.f64 (/.f64 (/.f64 (cos.f64 (+.f64 x x)) (*.f64 c c)) (*.f64 (*.f64 s x) s)) x)
(/.f64 (neg.f64 (/.f64 (cos.f64 (+.f64 x x)) (*.f64 c c))) (neg.f64 (*.f64 (*.f64 (*.f64 s x) s) x)))
(/.f64 (neg.f64 (cos.f64 (+.f64 x x))) (neg.f64 (*.f64 (*.f64 (*.f64 s x) c) (*.f64 (*.f64 s x) c))))
(/.f64 (/.f64 (cos.f64 (+.f64 x x)) (*.f64 c c)) (*.f64 (*.f64 (*.f64 s x) s) x))
(/.f64 (cos.f64 (+.f64 x x)) (*.f64 (*.f64 (*.f64 s x) c) (*.f64 (*.f64 s x) c)))
(*.f64 (*.f64 (*.f64 c c) (*.f64 (*.f64 s x) s)) x)
(*.f64 (pow.f64 (*.f64 (*.f64 s x) c) #s(literal 1 binary64)) (pow.f64 (*.f64 (*.f64 s x) c) #s(literal 1 binary64)))
(*.f64 (*.f64 (*.f64 s s) (*.f64 c c)) (*.f64 x x))
(*.f64 (*.f64 (*.f64 s x) c) (*.f64 (*.f64 s x) c))
(*.f64 (*.f64 (*.f64 c (*.f64 s s)) (*.f64 x x)) c)
(*.f64 (*.f64 (*.f64 (*.f64 s x) s) x) (*.f64 c c))
(*.f64 (*.f64 c c) (*.f64 (*.f64 (*.f64 s x) s) x))
(*.f64 c (*.f64 (*.f64 c (*.f64 s s)) (*.f64 x x)))
(pow.f64 (*.f64 (*.f64 s x) c) #s(literal 2 binary64))
(exp.f64 (*.f64 (log.f64 (*.f64 (*.f64 s x) c)) #s(literal 2 binary64)))
(*.f64 (*.f64 (*.f64 s x) s) x)
(*.f64 (*.f64 x x) (*.f64 s s))
(*.f64 (*.f64 s x) (*.f64 s x))
(*.f64 (*.f64 s s) (*.f64 x x))
(*.f64 x (*.f64 (*.f64 s x) s))
(pow.f64 (*.f64 s x) #s(literal 2 binary64))
(*.f64 (*.f64 s x) s)
(*.f64 (*.f64 s s) x)
(*.f64 s (*.f64 s x))
(*.f64 x (*.f64 s s))
#s(approx (/ (cos (* 2 x)) (* (pow c 2) (* (* x (pow s 2)) x))) (/.f64 #s(literal 1 binary64) (*.f64 (*.f64 (*.f64 s x) c) (*.f64 (*.f64 s x) c))))
#s(approx (/ (cos (* 2 x)) (* (pow c 2) (* (* x (pow s 2)) x))) (/.f64 (fma.f64 (/.f64 (*.f64 x x) (*.f64 (*.f64 s s) (*.f64 c c))) #s(literal -2 binary64) (/.f64 #s(literal 1 binary64) (*.f64 (*.f64 s s) (*.f64 c c)))) (*.f64 x x)))
#s(approx (/ (cos (* 2 x)) (* (pow c 2) (* (* x (pow s 2)) x))) (/.f64 (fma.f64 (-.f64 (*.f64 (/.f64 (*.f64 x x) (*.f64 (*.f64 s s) (*.f64 c c))) #s(literal 2/3 binary64)) (/.f64 #s(literal 2 binary64) (*.f64 (*.f64 s s) (*.f64 c c)))) (*.f64 x x) (/.f64 #s(literal 1 binary64) (*.f64 (*.f64 s s) (*.f64 c c)))) (*.f64 x x)))
#s(approx (/ (cos (* 2 x)) (* (pow c 2) (* (* x (pow s 2)) x))) (/.f64 (fma.f64 (-.f64 (*.f64 (fma.f64 #s(literal -4/45 binary64) (/.f64 (*.f64 x x) (*.f64 (*.f64 s s) (*.f64 c c))) (/.f64 #s(literal 2/3 binary64) (*.f64 (*.f64 s s) (*.f64 c c)))) (*.f64 x x)) (/.f64 #s(literal 2 binary64) (*.f64 (*.f64 s s) (*.f64 c c)))) (*.f64 x x) (/.f64 #s(literal 1 binary64) (*.f64 (*.f64 s s) (*.f64 c c)))) (*.f64 x x)))
#s(approx (cos (* 2 x)) #s(literal 1 binary64))
#s(approx (cos (* 2 x)) (fma.f64 (*.f64 x x) #s(literal -2 binary64) #s(literal 1 binary64)))
#s(approx (cos (* 2 x)) (fma.f64 (-.f64 (*.f64 #s(literal 2/3 binary64) (*.f64 x x)) #s(literal 2 binary64)) (*.f64 x x) #s(literal 1 binary64)))
#s(approx (cos (* 2 x)) (fma.f64 (-.f64 (*.f64 (fma.f64 #s(literal -4/45 binary64) (*.f64 x x) #s(literal 2/3 binary64)) (*.f64 x x)) #s(literal 2 binary64)) (*.f64 x x) #s(literal 1 binary64)))
#s(approx (+ x x) (+.f64 x x))
#s(approx x x)
#s(approx (* (pow c 2) (* (* x (pow s 2)) x)) (*.f64 (*.f64 (*.f64 s x) c) (*.f64 (*.f64 s x) c)))
#s(approx (* (* s x) c) (*.f64 (*.f64 s x) c))
#s(approx (* s x) (*.f64 s x))
#s(approx (/ (cos (* 2 x)) (* (pow c 2) (* (* x (pow s 2)) x))) (/.f64 #s(literal 1 binary64) (*.f64 (*.f64 (*.f64 s x) c) (*.f64 (*.f64 s x) c))))
#s(approx (/ (cos (* 2 x)) (* (pow c 2) (* (* x (pow s 2)) x))) (/.f64 (fma.f64 (/.f64 (*.f64 x x) (*.f64 (*.f64 s s) (*.f64 c c))) #s(literal -2 binary64) (/.f64 #s(literal 1 binary64) (*.f64 (*.f64 s s) (*.f64 c c)))) (*.f64 x x)))
#s(approx (/ (cos (* 2 x)) (* (pow c 2) (* (* x (pow s 2)) x))) (/.f64 (fma.f64 (-.f64 (*.f64 (/.f64 (*.f64 x x) (*.f64 (*.f64 s s) (*.f64 c c))) #s(literal 2/3 binary64)) (/.f64 #s(literal 2 binary64) (*.f64 (*.f64 s s) (*.f64 c c)))) (*.f64 x x) (/.f64 #s(literal 1 binary64) (*.f64 (*.f64 s s) (*.f64 c c)))) (*.f64 x x)))
#s(approx (/ (cos (* 2 x)) (* (pow c 2) (* (* x (pow s 2)) x))) (/.f64 (fma.f64 (-.f64 (*.f64 (fma.f64 #s(literal -4/45 binary64) (/.f64 (*.f64 x x) (*.f64 (*.f64 s s) (*.f64 c c))) (/.f64 #s(literal 2/3 binary64) (*.f64 (*.f64 s s) (*.f64 c c)))) (*.f64 x x)) (/.f64 #s(literal 2 binary64) (*.f64 (*.f64 s s) (*.f64 c c)))) (*.f64 x x) (/.f64 #s(literal 1 binary64) (*.f64 (*.f64 s s) (*.f64 c c)))) (*.f64 x x)))
#s(approx (/ 1 (* (* (* (* (* s s) x) x) c) c)) (/.f64 #s(literal 1 binary64) (*.f64 (*.f64 (*.f64 s x) c) (*.f64 (*.f64 s x) c))))
#s(approx (* (pow c 2) (* (* x (pow s 2)) x)) (*.f64 (*.f64 (*.f64 s x) c) (*.f64 (*.f64 s x) c)))
#s(approx (* (* (* (* s s) x) x) c) (*.f64 (*.f64 c (*.f64 s s)) (*.f64 x x)))
#s(approx (* (* x (pow s 2)) x) (*.f64 (*.f64 (*.f64 s x) s) x))
#s(approx (* x (pow s 2)) (*.f64 (*.f64 s x) s))
#s(approx (+ (* -2 (* x x)) 1) #s(literal 1 binary64))
#s(approx (+ (* -2 (* x x)) 1) (fma.f64 (*.f64 x x) #s(literal -2 binary64) #s(literal 1 binary64)))
#s(approx (* x x) (*.f64 x x))
#s(approx (* (pow c 2) (* (* x (pow s 2)) x)) (*.f64 (*.f64 (*.f64 s x) c) (*.f64 (*.f64 s x) c)))
#s(approx (* (* x (pow s 2)) x) (*.f64 (*.f64 (*.f64 s x) s) x))
#s(approx (* x (pow s 2)) (*.f64 (*.f64 s x) s))
#s(approx (/ (cos (* 2 x)) (* (pow c 2) (* (* x (pow s 2)) x))) (/.f64 #s(literal 1 binary64) (*.f64 (*.f64 (*.f64 s x) c) (*.f64 (*.f64 s x) c))))
#s(approx (/ (cos (* 2 x)) (* (pow c 2) (* (* x (pow s 2)) x))) (/.f64 (fma.f64 (/.f64 (*.f64 x x) (*.f64 (*.f64 s s) (*.f64 c c))) #s(literal -2 binary64) (/.f64 #s(literal 1 binary64) (*.f64 (*.f64 s s) (*.f64 c c)))) (*.f64 x x)))
#s(approx (/ (cos (* 2 x)) (* (pow c 2) (* (* x (pow s 2)) x))) (/.f64 (fma.f64 (-.f64 (*.f64 (/.f64 (*.f64 x x) (*.f64 (*.f64 s s) (*.f64 c c))) #s(literal 2/3 binary64)) (/.f64 #s(literal 2 binary64) (*.f64 (*.f64 s s) (*.f64 c c)))) (*.f64 x x) (/.f64 #s(literal 1 binary64) (*.f64 (*.f64 s s) (*.f64 c c)))) (*.f64 x x)))
#s(approx (/ (cos (* 2 x)) (* (pow c 2) (* (* x (pow s 2)) x))) (/.f64 (fma.f64 (-.f64 (*.f64 (fma.f64 #s(literal -4/45 binary64) (/.f64 (*.f64 x x) (*.f64 (*.f64 s s) (*.f64 c c))) (/.f64 #s(literal 2/3 binary64) (*.f64 (*.f64 s s) (*.f64 c c)))) (*.f64 x x)) (/.f64 #s(literal 2 binary64) (*.f64 (*.f64 s s) (*.f64 c c)))) (*.f64 x x) (/.f64 #s(literal 1 binary64) (*.f64 (*.f64 s s) (*.f64 c c)))) (*.f64 x x)))
#s(approx (/ (cos (+ x x)) (* c c)) (/.f64 #s(literal 1 binary64) (*.f64 c c)))
#s(approx (/ (cos (+ x x)) (* c c)) (fma.f64 (/.f64 (*.f64 x x) (*.f64 c c)) #s(literal -2 binary64) (/.f64 #s(literal 1 binary64) (*.f64 c c))))
#s(approx (/ (cos (+ x x)) (* c c)) (fma.f64 (-.f64 (/.f64 (*.f64 #s(literal 2/3 binary64) (*.f64 x x)) (*.f64 c c)) (/.f64 #s(literal 2 binary64) (*.f64 c c))) (*.f64 x x) (/.f64 #s(literal 1 binary64) (*.f64 c c))))
#s(approx (/ (cos (+ x x)) (* c c)) (fma.f64 (-.f64 (*.f64 (*.f64 x x) (fma.f64 (/.f64 (*.f64 x x) (*.f64 c c)) #s(literal -4/45 binary64) (/.f64 #s(literal 2/3 binary64) (*.f64 c c)))) (/.f64 #s(literal 2 binary64) (*.f64 c c))) (*.f64 x x) (/.f64 #s(literal 1 binary64) (*.f64 c c))))
#s(approx (cos (* 2 x)) #s(literal 1 binary64))
#s(approx (cos (* 2 x)) (fma.f64 (*.f64 x x) #s(literal -2 binary64) #s(literal 1 binary64)))
#s(approx (cos (* 2 x)) (fma.f64 (-.f64 (*.f64 #s(literal 2/3 binary64) (*.f64 x x)) #s(literal 2 binary64)) (*.f64 x x) #s(literal 1 binary64)))
#s(approx (cos (* 2 x)) (fma.f64 (-.f64 (*.f64 (fma.f64 #s(literal -4/45 binary64) (*.f64 x x) #s(literal 2/3 binary64)) (*.f64 x x)) #s(literal 2 binary64)) (*.f64 x x) #s(literal 1 binary64)))
#s(approx (+ x x) (+.f64 x x))
#s(approx (/ (cos (* 2 x)) (* (pow c 2) (* (* x (pow s 2)) x))) (/.f64 #s(literal 1 binary64) (*.f64 (*.f64 (*.f64 s x) c) (*.f64 (*.f64 s x) c))))
#s(approx (/ (cos (* 2 x)) (* (pow c 2) (* (* x (pow s 2)) x))) (/.f64 (fma.f64 (/.f64 (*.f64 x x) (*.f64 (*.f64 s s) (*.f64 c c))) #s(literal -2 binary64) (/.f64 #s(literal 1 binary64) (*.f64 (*.f64 s s) (*.f64 c c)))) (*.f64 x x)))
#s(approx (/ (cos (* 2 x)) (* (pow c 2) (* (* x (pow s 2)) x))) (/.f64 (fma.f64 (-.f64 (*.f64 (/.f64 (*.f64 x x) (*.f64 (*.f64 s s) (*.f64 c c))) #s(literal 2/3 binary64)) (/.f64 #s(literal 2 binary64) (*.f64 (*.f64 s s) (*.f64 c c)))) (*.f64 x x) (/.f64 #s(literal 1 binary64) (*.f64 (*.f64 s s) (*.f64 c c)))) (*.f64 x x)))
#s(approx (/ (cos (* 2 x)) (* (pow c 2) (* (* x (pow s 2)) x))) (/.f64 (fma.f64 (-.f64 (*.f64 (fma.f64 #s(literal -4/45 binary64) (/.f64 (*.f64 x x) (*.f64 (*.f64 s s) (*.f64 c c))) (/.f64 #s(literal 2/3 binary64) (*.f64 (*.f64 s s) (*.f64 c c)))) (*.f64 x x)) (/.f64 #s(literal 2 binary64) (*.f64 (*.f64 s s) (*.f64 c c)))) (*.f64 x x) (/.f64 #s(literal 1 binary64) (*.f64 (*.f64 s s) (*.f64 c c)))) (*.f64 x x)))
#s(approx (* (pow c 2) (* (* x (pow s 2)) x)) (*.f64 (*.f64 (*.f64 s x) c) (*.f64 (*.f64 s x) c)))
#s(approx (* (* x (pow s 2)) x) (*.f64 (*.f64 (*.f64 s x) s) x))
#s(approx (* x (pow s 2)) (*.f64 (*.f64 s x) s))
#s(approx (/ (cos (* 2 x)) (* (pow c 2) (* (* x (pow s 2)) x))) (/.f64 (cos.f64 (+.f64 x x)) (*.f64 (*.f64 (*.f64 s x) c) (*.f64 (*.f64 s x) c))))
#s(approx (cos (* 2 x)) (cos.f64 (+.f64 x x)))
#s(approx (/ (cos (* 2 x)) (* (pow c 2) (* (* x (pow s 2)) x))) (/.f64 (cos.f64 (+.f64 x x)) (*.f64 (*.f64 (*.f64 s x) c) (*.f64 (*.f64 s x) c))))
#s(approx (+ (* -2 (* x x)) 1) (*.f64 (*.f64 x x) #s(literal -2 binary64)))
#s(approx (+ (* -2 (* x x)) 1) (*.f64 (-.f64 (/.f64 #s(literal 1 binary64) (*.f64 x x)) #s(literal 2 binary64)) (*.f64 x x)))
#s(approx (/ (cos (* 2 x)) (* (pow c 2) (* (* x (pow s 2)) x))) (/.f64 (cos.f64 (+.f64 x x)) (*.f64 (*.f64 (*.f64 s x) c) (*.f64 (*.f64 s x) c))))
#s(approx (/ (cos (+ x x)) (* c c)) (/.f64 (cos.f64 (+.f64 x x)) (*.f64 c c)))
#s(approx (cos (* 2 x)) (cos.f64 (+.f64 x x)))
#s(approx (/ (cos (* 2 x)) (* (pow c 2) (* (* x (pow s 2)) x))) (/.f64 (cos.f64 (+.f64 x x)) (*.f64 (*.f64 (*.f64 s x) c) (*.f64 (*.f64 s x) c))))
#s(approx (/ (cos (* 2 x)) (* (pow c 2) (* (* x (pow s 2)) x))) (/.f64 (cos.f64 (+.f64 x x)) (*.f64 (*.f64 (*.f64 s x) c) (*.f64 (*.f64 s x) c))))
#s(approx (/ (cos (+ x x)) (* c c)) (/.f64 (cos.f64 (+.f64 x x)) (*.f64 c c)))
#s(approx (cos (* 2 x)) (cos.f64 (+.f64 x x)))
#s(approx c c)
#s(approx (pow c 2) (*.f64 c c))
#s(approx (pow c 2) (*.f64 c c))
#s(approx s s)
#s(approx (pow s 2) (*.f64 s s))
#s(approx (pow s 2) (*.f64 s s))

eval14.0ms (0.5%)

Memory
26.6MiB live, 26.6MiB allocated; 0ms collecting garbage
Compiler

Compiled 1 281 to 617 computations (51.8% saved)

prune19.0ms (0.7%)

Memory
-13.6MiB live, 33.2MiB allocated; 2ms collecting garbage
Pruning

25 alts after pruning (24 fresh and 1 done)

PrunedKeptTotal
New15918177
Fresh5611
Picked415
Done000
Total16825193
Accuracy
99.9%
Counts
193 → 25
Alt Table
Click to see full alt table
StatusAccuracyProgram
70.3%
(/.f64 (/.f64 (cos.f64 (+.f64 x x)) (*.f64 (*.f64 (*.f64 c c) x) (*.f64 s s))) x)
77.2%
(/.f64 (/.f64 (cos.f64 (+.f64 x x)) (*.f64 c c)) (*.f64 (*.f64 (*.f64 s x) s) x))
56.9%
(/.f64 (/.f64 #s(approx (cos (* 2 x)) (fma.f64 (*.f64 x x) #s(literal -2 binary64) #s(literal 1 binary64))) (*.f64 c c)) (*.f64 (*.f64 (*.f64 s x) s) x))
72.9%
(/.f64 (cos.f64 (+.f64 x x)) (*.f64 (*.f64 (*.f64 (*.f64 (*.f64 s s) x) x) c) c))
98.2%
(/.f64 (cos.f64 (+.f64 x x)) (*.f64 (*.f64 (*.f64 s x) c) (*.f64 (*.f64 s x) c)))
96.4%
(/.f64 (cos.f64 (*.f64 #s(literal 2 binary64) x)) (pow.f64 (*.f64 (*.f64 s c) x) #s(literal 2 binary64)))
98.5%
(/.f64 (cos.f64 (*.f64 #s(literal 2 binary64) x)) (pow.f64 (*.f64 s (*.f64 x c)) #s(literal 2 binary64)))
79.9%
(/.f64 (cos.f64 (*.f64 #s(literal 2 binary64) x)) (*.f64 (pow.f64 c #s(literal 2 binary64)) (/.f64 #s(literal 1 binary64) (pow.f64 (*.f64 s x) #s(literal -2 binary64)))))
70.4%
(/.f64 (cos.f64 (*.f64 #s(literal 2 binary64) x)) (*.f64 (*.f64 (*.f64 (*.f64 c c) x) (*.f64 s s)) x))
68.0%
(/.f64 (cos.f64 (*.f64 #s(literal 2 binary64) x)) (*.f64 (*.f64 (*.f64 c (*.f64 s s)) (*.f64 x x)) c))
77.7%
(/.f64 (cos.f64 (*.f64 #s(literal 2 binary64) x)) (*.f64 (*.f64 (*.f64 c c) (*.f64 (*.f64 s x) s)) x))
27.7%
(/.f64 #s(approx (/ (cos (+ x x)) (* c c)) (fma.f64 (/.f64 (*.f64 x x) (*.f64 c c)) #s(literal -2 binary64) (/.f64 #s(literal 1 binary64) (*.f64 c c)))) (*.f64 (*.f64 (*.f64 s s) x) x))
66.9%
(/.f64 #s(approx (cos (* 2 x)) (fma.f64 (*.f64 x x) #s(literal -2 binary64) #s(literal 1 binary64))) (*.f64 (*.f64 (*.f64 s x) c) (*.f64 (*.f64 s x) c)))
50.2%
(/.f64 #s(approx (cos (* 2 x)) (fma.f64 #s(literal -2 binary64) (*.f64 x x) #s(literal 1 binary64))) (*.f64 (*.f64 c c) (*.f64 (*.f64 x (pow.f64 s #s(literal 2 binary64))) x)))
46.3%
(-.f64 (/.f64 (+.f64 #s(literal 1/2 binary64) (*.f64 #s(literal 1/2 binary64) (cos.f64 (+.f64 x x)))) (*.f64 (*.f64 (*.f64 (*.f64 (*.f64 s s) x) x) c) c)) (/.f64 (-.f64 #s(literal 1/2 binary64) (*.f64 #s(literal 1/2 binary64) (cos.f64 (+.f64 x x)))) (*.f64 (*.f64 (*.f64 (*.f64 (*.f64 s s) x) x) c) c)))
58.6%
#s(approx (/ (cos (* 2 x)) (* (pow c 2) (* (* x (pow s 2)) x))) (/.f64 (/.f64 #s(literal 1 binary64) (*.f64 (*.f64 c (*.f64 s s)) (*.f64 x x))) c))
69.4%
#s(approx (/ (cos (* 2 x)) (* (pow c 2) (* (* x (pow s 2)) x))) (/.f64 (/.f64 #s(literal 1 binary64) (*.f64 c c)) (*.f64 (*.f64 (*.f64 s x) s) x)))
73.3%
#s(approx (/ (cos (* 2 x)) (* (pow c 2) (* (* x (pow s 2)) x))) (/.f64 #s(literal 1 binary64) (*.f64 (*.f64 (*.f64 (*.f64 (*.f64 s x) s) x) c) c)))
62.4%
#s(approx (/ (cos (* 2 x)) (* (pow c 2) (* (* x (pow s 2)) x))) (/.f64 #s(literal 1 binary64) (*.f64 (*.f64 (*.f64 (*.f64 (*.f64 s s) x) x) c) c)))
62.0%
#s(approx (/ (cos (* 2 x)) (* (pow c 2) (* (* x (pow s 2)) x))) (/.f64 #s(literal 1 binary64) (*.f64 (*.f64 (*.f64 (*.f64 (exp.f64 (*.f64 (log.f64 s) #s(literal 2 binary64))) x) x) c) c)))
58.8%
#s(approx (/ (cos (* 2 x)) (* (pow c 2) (* (* x (pow s 2)) x))) (/.f64 #s(literal 1 binary64) (*.f64 (*.f64 (*.f64 (*.f64 x x) (*.f64 s s)) c) c)))
75.6%
#s(approx (/ (cos (* 2 x)) (* (pow c 2) (* (* x (pow s 2)) x))) (/.f64 #s(literal 1 binary64) (*.f64 (*.f64 (*.f64 (*.f64 s x) (*.f64 s x)) c) c)))
72.8%
#s(approx (/ (cos (* 2 x)) (* (pow c 2) (* (* x (pow s 2)) x))) (/.f64 #s(literal 1 binary64) (*.f64 (*.f64 (*.f64 (*.f64 s x) s) (*.f64 x c)) c)))
79.3%
#s(approx (/ (cos (* 2 x)) (* (pow c 2) (* (* x (pow s 2)) x))) (/.f64 #s(literal 1 binary64) (*.f64 (*.f64 (*.f64 s x) c) (*.f64 (*.f64 s x) c))))
58.6%
#s(approx (/ (cos (* 2 x)) (* (pow c 2) (* (* x (pow s 2)) x))) (/.f64 #s(literal 1 binary64) (*.f64 (*.f64 (*.f64 c (*.f64 s s)) (*.f64 x x)) c)))
Compiler

Compiled 810 to 776 computations (4.2% saved)

series48.0ms (1.8%)

Memory
-12.5MiB live, 80.0MiB allocated; 5ms collecting garbage
Counts
39 → 68
Calls
Call 1
Inputs
(/.f64 (cos.f64 (*.f64 #s(literal 2 binary64) x)) (pow.f64 (*.f64 s (*.f64 x c)) #s(literal 2 binary64)))
(cos.f64 (*.f64 #s(literal 2 binary64) x))
(*.f64 #s(literal 2 binary64) x)
#s(literal 2 binary64)
x
(pow.f64 (*.f64 s (*.f64 x c)) #s(literal 2 binary64))
(*.f64 s (*.f64 x c))
s
(*.f64 x c)
c
#s(approx (/ (cos (* 2 x)) (* (pow c 2) (* (* x (pow s 2)) x))) (/.f64 #s(literal 1 binary64) (*.f64 (*.f64 (*.f64 c (*.f64 s s)) (*.f64 x x)) c)))
(/.f64 #s(literal 1 binary64) (*.f64 (*.f64 (*.f64 c (*.f64 s s)) (*.f64 x x)) c))
#s(literal 1 binary64)
(*.f64 (*.f64 (*.f64 c (*.f64 s s)) (*.f64 x x)) c)
(*.f64 (*.f64 c (*.f64 s s)) (*.f64 x x))
(*.f64 c (*.f64 s s))
(*.f64 s s)
(*.f64 x x)
#s(approx (/ (cos (* 2 x)) (* (pow c 2) (* (* x (pow s 2)) x))) (/.f64 (/.f64 #s(literal 1 binary64) (*.f64 c c)) (*.f64 (*.f64 (*.f64 s x) s) x)))
(/.f64 (/.f64 #s(literal 1 binary64) (*.f64 c c)) (*.f64 (*.f64 (*.f64 s x) s) x))
(/.f64 #s(literal 1 binary64) (*.f64 c c))
(*.f64 c c)
(*.f64 (*.f64 (*.f64 s x) s) x)
(*.f64 (*.f64 s x) s)
(*.f64 s x)
(/.f64 #s(approx (cos (* 2 x)) (fma.f64 #s(literal -2 binary64) (*.f64 x x) #s(literal 1 binary64))) (*.f64 (*.f64 c c) (*.f64 (*.f64 x (pow.f64 s #s(literal 2 binary64))) x)))
#s(approx (cos (* 2 x)) (fma.f64 #s(literal -2 binary64) (*.f64 x x) #s(literal 1 binary64)))
(fma.f64 #s(literal -2 binary64) (*.f64 x x) #s(literal 1 binary64))
#s(literal -2 binary64)
(*.f64 (*.f64 c c) (*.f64 (*.f64 x (pow.f64 s #s(literal 2 binary64))) x))
(*.f64 (*.f64 x (pow.f64 s #s(literal 2 binary64))) x)
(*.f64 x (pow.f64 s #s(literal 2 binary64)))
(pow.f64 s #s(literal 2 binary64))
(/.f64 (/.f64 (cos.f64 (+.f64 x x)) (*.f64 (*.f64 (*.f64 c c) x) (*.f64 s s))) x)
(/.f64 (cos.f64 (+.f64 x x)) (*.f64 (*.f64 (*.f64 c c) x) (*.f64 s s)))
(cos.f64 (+.f64 x x))
(+.f64 x x)
(*.f64 (*.f64 (*.f64 c c) x) (*.f64 s s))
(*.f64 (*.f64 c c) x)
Outputs
#s(approx (/ (cos (* 2 x)) (pow (* s (* x c)) 2)) #s(hole binary64 (/ 1 (* (pow c 2) (* (pow s 2) (pow x 2))))))
#s(approx (/ (cos (* 2 x)) (pow (* s (* x c)) 2)) #s(hole binary64 (/ (+ (* -2 (/ (pow x 2) (* (pow c 2) (pow s 2)))) (/ 1 (* (pow c 2) (pow s 2)))) (pow x 2))))
#s(approx (/ (cos (* 2 x)) (pow (* s (* x c)) 2)) #s(hole binary64 (/ (+ (* (pow x 2) (- (* 2/3 (/ (pow x 2) (* (pow c 2) (pow s 2)))) (* 2 (/ 1 (* (pow c 2) (pow s 2)))))) (/ 1 (* (pow c 2) (pow s 2)))) (pow x 2))))
#s(approx (/ (cos (* 2 x)) (pow (* s (* x c)) 2)) #s(hole binary64 (/ (+ (* (pow x 2) (- (* (pow x 2) (+ (* -4/45 (/ (pow x 2) (* (pow c 2) (pow s 2)))) (* 2/3 (/ 1 (* (pow c 2) (pow s 2)))))) (* 2 (/ 1 (* (pow c 2) (pow s 2)))))) (/ 1 (* (pow c 2) (pow s 2)))) (pow x 2))))
#s(approx (cos (* 2 x)) #s(hole binary64 1))
#s(approx (cos (* 2 x)) #s(hole binary64 (+ 1 (* -2 (pow x 2)))))
#s(approx (cos (* 2 x)) #s(hole binary64 (+ 1 (* (pow x 2) (- (* 2/3 (pow x 2)) 2)))))
#s(approx (cos (* 2 x)) #s(hole binary64 (+ 1 (* (pow x 2) (- (* (pow x 2) (+ 2/3 (* -4/45 (pow x 2)))) 2)))))
#s(approx (* 2 x) #s(hole binary64 (* 2 x)))
#s(approx x #s(hole binary64 x))
#s(approx (pow (* s (* x c)) 2) #s(hole binary64 (* (pow c 2) (* (pow s 2) (pow x 2)))))
#s(approx (* s (* x c)) #s(hole binary64 (* c (* s x))))
#s(approx (* x c) #s(hole binary64 (* c x)))
#s(approx (/ (cos (* 2 x)) (* (pow c 2) (* (* x (pow s 2)) x))) #s(hole binary64 (/ 1 (* (pow c 2) (* (pow s 2) (pow x 2))))))
#s(approx (/ (cos (* 2 x)) (* (pow c 2) (* (* x (pow s 2)) x))) #s(hole binary64 (/ (+ (* -2 (/ (pow x 2) (* (pow c 2) (pow s 2)))) (/ 1 (* (pow c 2) (pow s 2)))) (pow x 2))))
#s(approx (/ (cos (* 2 x)) (* (pow c 2) (* (* x (pow s 2)) x))) #s(hole binary64 (/ (+ (* (pow x 2) (- (* 2/3 (/ (pow x 2) (* (pow c 2) (pow s 2)))) (* 2 (/ 1 (* (pow c 2) (pow s 2)))))) (/ 1 (* (pow c 2) (pow s 2)))) (pow x 2))))
#s(approx (/ (cos (* 2 x)) (* (pow c 2) (* (* x (pow s 2)) x))) #s(hole binary64 (/ (+ (* (pow x 2) (- (* (pow x 2) (+ (* -4/45 (/ (pow x 2) (* (pow c 2) (pow s 2)))) (* 2/3 (/ 1 (* (pow c 2) (pow s 2)))))) (* 2 (/ 1 (* (pow c 2) (pow s 2)))))) (/ 1 (* (pow c 2) (pow s 2)))) (pow x 2))))
#s(approx (/ 1 (* (* (* c (* s s)) (* x x)) c)) #s(hole binary64 (/ 1 (* (pow c 2) (* (pow s 2) (pow x 2))))))
#s(approx (* (* (* c (* s s)) (* x x)) c) #s(hole binary64 (* (pow c 2) (* (pow s 2) (pow x 2)))))
#s(approx (* (* c (* s s)) (* x x)) #s(hole binary64 (* c (* (pow s 2) (pow x 2)))))
#s(approx (* x x) #s(hole binary64 (pow x 2)))
#s(approx (/ (/ 1 (* c c)) (* (* (* s x) s) x)) #s(hole binary64 (/ 1 (* (pow c 2) (* (pow s 2) (pow x 2))))))
#s(approx (* (* (* s x) s) x) #s(hole binary64 (* (pow s 2) (pow x 2))))
#s(approx (* (* s x) s) #s(hole binary64 (* (pow s 2) x)))
#s(approx (* s x) #s(hole binary64 (* s x)))
#s(approx (/ (cos (* 2 x)) (* (* c c) (* (* x (pow s 2)) x))) #s(hole binary64 (/ 1 (* (pow c 2) (* (pow s 2) (pow x 2))))))
#s(approx (/ (cos (* 2 x)) (* (* c c) (* (* x (pow s 2)) x))) #s(hole binary64 (/ (+ (* -2 (/ (pow x 2) (* (pow c 2) (pow s 2)))) (/ 1 (* (pow c 2) (pow s 2)))) (pow x 2))))
#s(approx (/ (cos (* 2 x)) (* (* c c) (* (* x (pow s 2)) x))) #s(hole binary64 (/ (+ (* (pow x 2) (- (* 2/3 (/ (pow x 2) (* (pow c 2) (pow s 2)))) (* 2 (/ 1 (* (pow c 2) (pow s 2)))))) (/ 1 (* (pow c 2) (pow s 2)))) (pow x 2))))
#s(approx (/ (cos (* 2 x)) (* (* c c) (* (* x (pow s 2)) x))) #s(hole binary64 (/ (+ (* (pow x 2) (- (* (pow x 2) (+ (* -4/45 (/ (pow x 2) (* (pow c 2) (pow s 2)))) (* 2/3 (/ 1 (* (pow c 2) (pow s 2)))))) (* 2 (/ 1 (* (pow c 2) (pow s 2)))))) (/ 1 (* (pow c 2) (pow s 2)))) (pow x 2))))
#s(approx (+ (* -2 (* x x)) 1) #s(hole binary64 1))
#s(approx (+ (* -2 (* x x)) 1) #s(hole binary64 (+ 1 (* -2 (pow x 2)))))
#s(approx (* (* c c) (* (* x (pow s 2)) x)) #s(hole binary64 (* (pow c 2) (* (pow s 2) (pow x 2)))))
#s(approx (* (* x (pow s 2)) x) #s(hole binary64 (* (pow s 2) (pow x 2))))
#s(approx (* x (pow s 2)) #s(hole binary64 (* (pow s 2) x)))
#s(approx (/ (/ (cos (+ x x)) (* (* (* c c) x) (* s s))) x) #s(hole binary64 (/ 1 (* (pow c 2) (* (pow s 2) (pow x 2))))))
#s(approx (/ (/ (cos (+ x x)) (* (* (* c c) x) (* s s))) x) #s(hole binary64 (/ (+ (* -2 (/ (pow x 2) (* (pow c 2) (pow s 2)))) (/ 1 (* (pow c 2) (pow s 2)))) (pow x 2))))
#s(approx (/ (/ (cos (+ x x)) (* (* (* c c) x) (* s s))) x) #s(hole binary64 (/ (+ (* (pow x 2) (- (* 2/3 (/ (pow x 2) (* (pow c 2) (pow s 2)))) (* 2 (/ 1 (* (pow c 2) (pow s 2)))))) (/ 1 (* (pow c 2) (pow s 2)))) (pow x 2))))
#s(approx (/ (/ (cos (+ x x)) (* (* (* c c) x) (* s s))) x) #s(hole binary64 (/ (+ (* (pow x 2) (- (* (pow x 2) (+ (* -4/45 (/ (pow x 2) (* (pow c 2) (pow s 2)))) (* 2/3 (/ 1 (* (pow c 2) (pow s 2)))))) (* 2 (/ 1 (* (pow c 2) (pow s 2)))))) (/ 1 (* (pow c 2) (pow s 2)))) (pow x 2))))
#s(approx (/ (cos (+ x x)) (* (* (* c c) x) (* s s))) #s(hole binary64 (/ 1 (* (pow c 2) (* (pow s 2) x)))))
#s(approx (/ (cos (+ x x)) (* (* (* c c) x) (* s s))) #s(hole binary64 (/ (+ (* -2 (/ (pow x 2) (* (pow c 2) (pow s 2)))) (/ 1 (* (pow c 2) (pow s 2)))) x)))
#s(approx (/ (cos (+ x x)) (* (* (* c c) x) (* s s))) #s(hole binary64 (/ (+ (* (pow x 2) (- (* 2/3 (/ (pow x 2) (* (pow c 2) (pow s 2)))) (* 2 (/ 1 (* (pow c 2) (pow s 2)))))) (/ 1 (* (pow c 2) (pow s 2)))) x)))
#s(approx (/ (cos (+ x x)) (* (* (* c c) x) (* s s))) #s(hole binary64 (/ (+ (* (pow x 2) (- (* (pow x 2) (+ (* -4/45 (/ (pow x 2) (* (pow c 2) (pow s 2)))) (* 2/3 (/ 1 (* (pow c 2) (pow s 2)))))) (* 2 (/ 1 (* (pow c 2) (pow s 2)))))) (/ 1 (* (pow c 2) (pow s 2)))) x)))
#s(approx (cos (+ x x)) #s(hole binary64 1))
#s(approx (cos (+ x x)) #s(hole binary64 (+ 1 (* -2 (pow x 2)))))
#s(approx (cos (+ x x)) #s(hole binary64 (+ 1 (* (pow x 2) (- (* 2/3 (pow x 2)) 2)))))
#s(approx (cos (+ x x)) #s(hole binary64 (+ 1 (* (pow x 2) (- (* (pow x 2) (+ 2/3 (* -4/45 (pow x 2)))) 2)))))
#s(approx (+ x x) #s(hole binary64 (* 2 x)))
#s(approx (* (* (* c c) x) (* s s)) #s(hole binary64 (* (pow c 2) (* (pow s 2) x))))
#s(approx (* (* c c) x) #s(hole binary64 (* (pow c 2) x)))
#s(approx (/ (cos (* 2 x)) (pow (* s (* x c)) 2)) #s(hole binary64 (/ (cos (* 2 x)) (* (pow c 2) (* (pow s 2) (pow x 2))))))
#s(approx (cos (* 2 x)) #s(hole binary64 (cos (* 2 x))))
#s(approx (/ (cos (* 2 x)) (* (pow c 2) (* (* x (pow s 2)) x))) #s(hole binary64 (/ (cos (* 2 x)) (* (pow c 2) (* (pow s 2) (pow x 2))))))
#s(approx (/ (cos (* 2 x)) (* (* c c) (* (* x (pow s 2)) x))) #s(hole binary64 (/ (cos (* 2 x)) (* (pow c 2) (* (pow s 2) (pow x 2))))))
#s(approx (+ (* -2 (* x x)) 1) #s(hole binary64 (* -2 (pow x 2))))
#s(approx (+ (* -2 (* x x)) 1) #s(hole binary64 (* (pow x 2) (- (/ 1 (pow x 2)) 2))))
#s(approx (/ (/ (cos (+ x x)) (* (* (* c c) x) (* s s))) x) #s(hole binary64 (/ (cos (* 2 x)) (* (pow c 2) (* (pow s 2) (pow x 2))))))
#s(approx (/ (cos (+ x x)) (* (* (* c c) x) (* s s))) #s(hole binary64 (/ (cos (* 2 x)) (* (pow c 2) (* (pow s 2) x)))))
#s(approx (cos (+ x x)) #s(hole binary64 (cos (* 2 x))))
#s(approx (/ (/ (cos (+ x x)) (* (* (* c c) x) (* s s))) x) #s(hole binary64 (/ (cos (neg (* -2 x))) (* (pow c 2) (* (pow s 2) (pow x 2))))))
#s(approx (/ (cos (+ x x)) (* (* (* c c) x) (* s s))) #s(hole binary64 (/ (cos (neg (* -2 x))) (* (pow c 2) (* (pow s 2) x)))))
#s(approx (cos (+ x x)) #s(hole binary64 (cos (neg (* -2 x)))))
#s(approx c #s(hole binary64 c))
#s(approx (* c (* s s)) #s(hole binary64 (* c (pow s 2))))
#s(approx (/ 1 (* c c)) #s(hole binary64 (/ 1 (pow c 2))))
#s(approx (* c c) #s(hole binary64 (pow c 2)))
#s(approx s #s(hole binary64 s))
#s(approx (* s s) #s(hole binary64 (pow s 2)))
#s(approx (pow s 2) #s(hole binary64 (pow s 2)))
Calls

9 calls:

TimeVariablePointExpression
7.0ms
x
@-inf
((/ (cos (* 2 x)) (pow (* s (* x c)) 2)) (cos (* 2 x)) (* 2 x) 2 x (pow (* s (* x c)) 2) (* s (* x c)) s (* x c) c (/ (cos (* 2 x)) (* (pow c 2) (* (* x (pow s 2)) x))) (/ 1 (* (* (* c (* s s)) (* x x)) c)) 1 (* (* (* c (* s s)) (* x x)) c) (* (* c (* s s)) (* x x)) (* c (* s s)) (* s s) (* x x) (/ (cos (* 2 x)) (* (pow c 2) (* (* x (pow s 2)) x))) (/ (/ 1 (* c c)) (* (* (* s x) s) x)) (/ 1 (* c c)) (* c c) (* (* (* s x) s) x) (* (* s x) s) (* s x) (/ (cos (* 2 x)) (* (* c c) (* (* x (pow s 2)) x))) (cos (* 2 x)) (+ (* -2 (* x x)) 1) -2 (* (* c c) (* (* x (pow s 2)) x)) (* (* x (pow s 2)) x) (* x (pow s 2)) (pow s 2) (/ (/ (cos (+ x x)) (* (* (* c c) x) (* s s))) x) (/ (cos (+ x x)) (* (* (* c c) x) (* s s))) (cos (+ x x)) (+ x x) (* (* (* c c) x) (* s s)) (* (* c c) x))
6.0ms
s
@-inf
((/ (cos (* 2 x)) (pow (* s (* x c)) 2)) (cos (* 2 x)) (* 2 x) 2 x (pow (* s (* x c)) 2) (* s (* x c)) s (* x c) c (/ (cos (* 2 x)) (* (pow c 2) (* (* x (pow s 2)) x))) (/ 1 (* (* (* c (* s s)) (* x x)) c)) 1 (* (* (* c (* s s)) (* x x)) c) (* (* c (* s s)) (* x x)) (* c (* s s)) (* s s) (* x x) (/ (cos (* 2 x)) (* (pow c 2) (* (* x (pow s 2)) x))) (/ (/ 1 (* c c)) (* (* (* s x) s) x)) (/ 1 (* c c)) (* c c) (* (* (* s x) s) x) (* (* s x) s) (* s x) (/ (cos (* 2 x)) (* (* c c) (* (* x (pow s 2)) x))) (cos (* 2 x)) (+ (* -2 (* x x)) 1) -2 (* (* c c) (* (* x (pow s 2)) x)) (* (* x (pow s 2)) x) (* x (pow s 2)) (pow s 2) (/ (/ (cos (+ x x)) (* (* (* c c) x) (* s s))) x) (/ (cos (+ x x)) (* (* (* c c) x) (* s s))) (cos (+ x x)) (+ x x) (* (* (* c c) x) (* s s)) (* (* c c) x))
5.0ms
x
@inf
((/ (cos (* 2 x)) (pow (* s (* x c)) 2)) (cos (* 2 x)) (* 2 x) 2 x (pow (* s (* x c)) 2) (* s (* x c)) s (* x c) c (/ (cos (* 2 x)) (* (pow c 2) (* (* x (pow s 2)) x))) (/ 1 (* (* (* c (* s s)) (* x x)) c)) 1 (* (* (* c (* s s)) (* x x)) c) (* (* c (* s s)) (* x x)) (* c (* s s)) (* s s) (* x x) (/ (cos (* 2 x)) (* (pow c 2) (* (* x (pow s 2)) x))) (/ (/ 1 (* c c)) (* (* (* s x) s) x)) (/ 1 (* c c)) (* c c) (* (* (* s x) s) x) (* (* s x) s) (* s x) (/ (cos (* 2 x)) (* (* c c) (* (* x (pow s 2)) x))) (cos (* 2 x)) (+ (* -2 (* x x)) 1) -2 (* (* c c) (* (* x (pow s 2)) x)) (* (* x (pow s 2)) x) (* x (pow s 2)) (pow s 2) (/ (/ (cos (+ x x)) (* (* (* c c) x) (* s s))) x) (/ (cos (+ x x)) (* (* (* c c) x) (* s s))) (cos (+ x x)) (+ x x) (* (* (* c c) x) (* s s)) (* (* c c) x))
4.0ms
c
@-inf
((/ (cos (* 2 x)) (pow (* s (* x c)) 2)) (cos (* 2 x)) (* 2 x) 2 x (pow (* s (* x c)) 2) (* s (* x c)) s (* x c) c (/ (cos (* 2 x)) (* (pow c 2) (* (* x (pow s 2)) x))) (/ 1 (* (* (* c (* s s)) (* x x)) c)) 1 (* (* (* c (* s s)) (* x x)) c) (* (* c (* s s)) (* x x)) (* c (* s s)) (* s s) (* x x) (/ (cos (* 2 x)) (* (pow c 2) (* (* x (pow s 2)) x))) (/ (/ 1 (* c c)) (* (* (* s x) s) x)) (/ 1 (* c c)) (* c c) (* (* (* s x) s) x) (* (* s x) s) (* s x) (/ (cos (* 2 x)) (* (* c c) (* (* x (pow s 2)) x))) (cos (* 2 x)) (+ (* -2 (* x x)) 1) -2 (* (* c c) (* (* x (pow s 2)) x)) (* (* x (pow s 2)) x) (* x (pow s 2)) (pow s 2) (/ (/ (cos (+ x x)) (* (* (* c c) x) (* s s))) x) (/ (cos (+ x x)) (* (* (* c c) x) (* s s))) (cos (+ x x)) (+ x x) (* (* (* c c) x) (* s s)) (* (* c c) x))
4.0ms
s
@inf
((/ (cos (* 2 x)) (pow (* s (* x c)) 2)) (cos (* 2 x)) (* 2 x) 2 x (pow (* s (* x c)) 2) (* s (* x c)) s (* x c) c (/ (cos (* 2 x)) (* (pow c 2) (* (* x (pow s 2)) x))) (/ 1 (* (* (* c (* s s)) (* x x)) c)) 1 (* (* (* c (* s s)) (* x x)) c) (* (* c (* s s)) (* x x)) (* c (* s s)) (* s s) (* x x) (/ (cos (* 2 x)) (* (pow c 2) (* (* x (pow s 2)) x))) (/ (/ 1 (* c c)) (* (* (* s x) s) x)) (/ 1 (* c c)) (* c c) (* (* (* s x) s) x) (* (* s x) s) (* s x) (/ (cos (* 2 x)) (* (* c c) (* (* x (pow s 2)) x))) (cos (* 2 x)) (+ (* -2 (* x x)) 1) -2 (* (* c c) (* (* x (pow s 2)) x)) (* (* x (pow s 2)) x) (* x (pow s 2)) (pow s 2) (/ (/ (cos (+ x x)) (* (* (* c c) x) (* s s))) x) (/ (cos (+ x x)) (* (* (* c c) x) (* s s))) (cos (+ x x)) (+ x x) (* (* (* c c) x) (* s s)) (* (* c c) x))

rewrite84.0ms (3.1%)

Memory
30.8MiB live, 75.1MiB allocated; 17ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02012054
02521784
07231758
Stop Event
iter-limit
iter-limit
iter-limit
unsound
iter-limit
Counts
107 → 209
Calls
Call 1
Inputs
(/.f64 (cos.f64 (*.f64 #s(literal 2 binary64) x)) (pow.f64 (*.f64 s (*.f64 x c)) #s(literal 2 binary64)))
(cos.f64 (*.f64 #s(literal 2 binary64) x))
(*.f64 #s(literal 2 binary64) x)
#s(literal 2 binary64)
x
(pow.f64 (*.f64 s (*.f64 x c)) #s(literal 2 binary64))
(*.f64 s (*.f64 x c))
s
(*.f64 x c)
c
#s(approx (/ (cos (* 2 x)) (* (pow c 2) (* (* x (pow s 2)) x))) (/.f64 #s(literal 1 binary64) (*.f64 (*.f64 (*.f64 c (*.f64 s s)) (*.f64 x x)) c)))
(/.f64 #s(literal 1 binary64) (*.f64 (*.f64 (*.f64 c (*.f64 s s)) (*.f64 x x)) c))
#s(literal 1 binary64)
(*.f64 (*.f64 (*.f64 c (*.f64 s s)) (*.f64 x x)) c)
(*.f64 (*.f64 c (*.f64 s s)) (*.f64 x x))
(*.f64 c (*.f64 s s))
(*.f64 s s)
(*.f64 x x)
#s(approx (/ (cos (* 2 x)) (* (pow c 2) (* (* x (pow s 2)) x))) (/.f64 (/.f64 #s(literal 1 binary64) (*.f64 c c)) (*.f64 (*.f64 (*.f64 s x) s) x)))
(/.f64 (/.f64 #s(literal 1 binary64) (*.f64 c c)) (*.f64 (*.f64 (*.f64 s x) s) x))
(/.f64 #s(literal 1 binary64) (*.f64 c c))
(*.f64 c c)
(*.f64 (*.f64 (*.f64 s x) s) x)
(*.f64 (*.f64 s x) s)
(*.f64 s x)
(/.f64 #s(approx (cos (* 2 x)) (fma.f64 #s(literal -2 binary64) (*.f64 x x) #s(literal 1 binary64))) (*.f64 (*.f64 c c) (*.f64 (*.f64 x (pow.f64 s #s(literal 2 binary64))) x)))
#s(approx (cos (* 2 x)) (fma.f64 #s(literal -2 binary64) (*.f64 x x) #s(literal 1 binary64)))
(fma.f64 #s(literal -2 binary64) (*.f64 x x) #s(literal 1 binary64))
#s(literal -2 binary64)
(*.f64 (*.f64 c c) (*.f64 (*.f64 x (pow.f64 s #s(literal 2 binary64))) x))
(*.f64 (*.f64 x (pow.f64 s #s(literal 2 binary64))) x)
(*.f64 x (pow.f64 s #s(literal 2 binary64)))
(pow.f64 s #s(literal 2 binary64))
(/.f64 (/.f64 (cos.f64 (+.f64 x x)) (*.f64 (*.f64 (*.f64 c c) x) (*.f64 s s))) x)
(/.f64 (cos.f64 (+.f64 x x)) (*.f64 (*.f64 (*.f64 c c) x) (*.f64 s s)))
(cos.f64 (+.f64 x x))
(+.f64 x x)
(*.f64 (*.f64 (*.f64 c c) x) (*.f64 s s))
(*.f64 (*.f64 c c) x)
#s(approx (/ (cos (* 2 x)) (pow (* s (* x c)) 2)) #s(hole binary64 (/ 1 (* (pow c 2) (* (pow s 2) (pow x 2))))))
#s(approx (/ (cos (* 2 x)) (pow (* s (* x c)) 2)) #s(hole binary64 (/ (+ (* -2 (/ (pow x 2) (* (pow c 2) (pow s 2)))) (/ 1 (* (pow c 2) (pow s 2)))) (pow x 2))))
#s(approx (/ (cos (* 2 x)) (pow (* s (* x c)) 2)) #s(hole binary64 (/ (+ (* (pow x 2) (- (* 2/3 (/ (pow x 2) (* (pow c 2) (pow s 2)))) (* 2 (/ 1 (* (pow c 2) (pow s 2)))))) (/ 1 (* (pow c 2) (pow s 2)))) (pow x 2))))
#s(approx (/ (cos (* 2 x)) (pow (* s (* x c)) 2)) #s(hole binary64 (/ (+ (* (pow x 2) (- (* (pow x 2) (+ (* -4/45 (/ (pow x 2) (* (pow c 2) (pow s 2)))) (* 2/3 (/ 1 (* (pow c 2) (pow s 2)))))) (* 2 (/ 1 (* (pow c 2) (pow s 2)))))) (/ 1 (* (pow c 2) (pow s 2)))) (pow x 2))))
#s(approx (cos (* 2 x)) #s(hole binary64 1))
#s(approx (cos (* 2 x)) #s(hole binary64 (+ 1 (* -2 (pow x 2)))))
#s(approx (cos (* 2 x)) #s(hole binary64 (+ 1 (* (pow x 2) (- (* 2/3 (pow x 2)) 2)))))
#s(approx (cos (* 2 x)) #s(hole binary64 (+ 1 (* (pow x 2) (- (* (pow x 2) (+ 2/3 (* -4/45 (pow x 2)))) 2)))))
#s(approx (* 2 x) #s(hole binary64 (* 2 x)))
#s(approx x #s(hole binary64 x))
#s(approx (pow (* s (* x c)) 2) #s(hole binary64 (* (pow c 2) (* (pow s 2) (pow x 2)))))
#s(approx (* s (* x c)) #s(hole binary64 (* c (* s x))))
#s(approx (* x c) #s(hole binary64 (* c x)))
#s(approx (/ (cos (* 2 x)) (* (pow c 2) (* (* x (pow s 2)) x))) #s(hole binary64 (/ 1 (* (pow c 2) (* (pow s 2) (pow x 2))))))
#s(approx (/ (cos (* 2 x)) (* (pow c 2) (* (* x (pow s 2)) x))) #s(hole binary64 (/ (+ (* -2 (/ (pow x 2) (* (pow c 2) (pow s 2)))) (/ 1 (* (pow c 2) (pow s 2)))) (pow x 2))))
#s(approx (/ (cos (* 2 x)) (* (pow c 2) (* (* x (pow s 2)) x))) #s(hole binary64 (/ (+ (* (pow x 2) (- (* 2/3 (/ (pow x 2) (* (pow c 2) (pow s 2)))) (* 2 (/ 1 (* (pow c 2) (pow s 2)))))) (/ 1 (* (pow c 2) (pow s 2)))) (pow x 2))))
#s(approx (/ (cos (* 2 x)) (* (pow c 2) (* (* x (pow s 2)) x))) #s(hole binary64 (/ (+ (* (pow x 2) (- (* (pow x 2) (+ (* -4/45 (/ (pow x 2) (* (pow c 2) (pow s 2)))) (* 2/3 (/ 1 (* (pow c 2) (pow s 2)))))) (* 2 (/ 1 (* (pow c 2) (pow s 2)))))) (/ 1 (* (pow c 2) (pow s 2)))) (pow x 2))))
#s(approx (/ 1 (* (* (* c (* s s)) (* x x)) c)) #s(hole binary64 (/ 1 (* (pow c 2) (* (pow s 2) (pow x 2))))))
#s(approx (* (* (* c (* s s)) (* x x)) c) #s(hole binary64 (* (pow c 2) (* (pow s 2) (pow x 2)))))
#s(approx (* (* c (* s s)) (* x x)) #s(hole binary64 (* c (* (pow s 2) (pow x 2)))))
#s(approx (* x x) #s(hole binary64 (pow x 2)))
#s(approx (/ (/ 1 (* c c)) (* (* (* s x) s) x)) #s(hole binary64 (/ 1 (* (pow c 2) (* (pow s 2) (pow x 2))))))
#s(approx (* (* (* s x) s) x) #s(hole binary64 (* (pow s 2) (pow x 2))))
#s(approx (* (* s x) s) #s(hole binary64 (* (pow s 2) x)))
#s(approx (* s x) #s(hole binary64 (* s x)))
#s(approx (/ (cos (* 2 x)) (* (* c c) (* (* x (pow s 2)) x))) #s(hole binary64 (/ 1 (* (pow c 2) (* (pow s 2) (pow x 2))))))
#s(approx (/ (cos (* 2 x)) (* (* c c) (* (* x (pow s 2)) x))) #s(hole binary64 (/ (+ (* -2 (/ (pow x 2) (* (pow c 2) (pow s 2)))) (/ 1 (* (pow c 2) (pow s 2)))) (pow x 2))))
#s(approx (/ (cos (* 2 x)) (* (* c c) (* (* x (pow s 2)) x))) #s(hole binary64 (/ (+ (* (pow x 2) (- (* 2/3 (/ (pow x 2) (* (pow c 2) (pow s 2)))) (* 2 (/ 1 (* (pow c 2) (pow s 2)))))) (/ 1 (* (pow c 2) (pow s 2)))) (pow x 2))))
#s(approx (/ (cos (* 2 x)) (* (* c c) (* (* x (pow s 2)) x))) #s(hole binary64 (/ (+ (* (pow x 2) (- (* (pow x 2) (+ (* -4/45 (/ (pow x 2) (* (pow c 2) (pow s 2)))) (* 2/3 (/ 1 (* (pow c 2) (pow s 2)))))) (* 2 (/ 1 (* (pow c 2) (pow s 2)))))) (/ 1 (* (pow c 2) (pow s 2)))) (pow x 2))))
#s(approx (+ (* -2 (* x x)) 1) #s(hole binary64 1))
#s(approx (+ (* -2 (* x x)) 1) #s(hole binary64 (+ 1 (* -2 (pow x 2)))))
#s(approx (* (* c c) (* (* x (pow s 2)) x)) #s(hole binary64 (* (pow c 2) (* (pow s 2) (pow x 2)))))
#s(approx (* (* x (pow s 2)) x) #s(hole binary64 (* (pow s 2) (pow x 2))))
#s(approx (* x (pow s 2)) #s(hole binary64 (* (pow s 2) x)))
#s(approx (/ (/ (cos (+ x x)) (* (* (* c c) x) (* s s))) x) #s(hole binary64 (/ 1 (* (pow c 2) (* (pow s 2) (pow x 2))))))
#s(approx (/ (/ (cos (+ x x)) (* (* (* c c) x) (* s s))) x) #s(hole binary64 (/ (+ (* -2 (/ (pow x 2) (* (pow c 2) (pow s 2)))) (/ 1 (* (pow c 2) (pow s 2)))) (pow x 2))))
#s(approx (/ (/ (cos (+ x x)) (* (* (* c c) x) (* s s))) x) #s(hole binary64 (/ (+ (* (pow x 2) (- (* 2/3 (/ (pow x 2) (* (pow c 2) (pow s 2)))) (* 2 (/ 1 (* (pow c 2) (pow s 2)))))) (/ 1 (* (pow c 2) (pow s 2)))) (pow x 2))))
#s(approx (/ (/ (cos (+ x x)) (* (* (* c c) x) (* s s))) x) #s(hole binary64 (/ (+ (* (pow x 2) (- (* (pow x 2) (+ (* -4/45 (/ (pow x 2) (* (pow c 2) (pow s 2)))) (* 2/3 (/ 1 (* (pow c 2) (pow s 2)))))) (* 2 (/ 1 (* (pow c 2) (pow s 2)))))) (/ 1 (* (pow c 2) (pow s 2)))) (pow x 2))))
#s(approx (/ (cos (+ x x)) (* (* (* c c) x) (* s s))) #s(hole binary64 (/ 1 (* (pow c 2) (* (pow s 2) x)))))
#s(approx (/ (cos (+ x x)) (* (* (* c c) x) (* s s))) #s(hole binary64 (/ (+ (* -2 (/ (pow x 2) (* (pow c 2) (pow s 2)))) (/ 1 (* (pow c 2) (pow s 2)))) x)))
#s(approx (/ (cos (+ x x)) (* (* (* c c) x) (* s s))) #s(hole binary64 (/ (+ (* (pow x 2) (- (* 2/3 (/ (pow x 2) (* (pow c 2) (pow s 2)))) (* 2 (/ 1 (* (pow c 2) (pow s 2)))))) (/ 1 (* (pow c 2) (pow s 2)))) x)))
#s(approx (/ (cos (+ x x)) (* (* (* c c) x) (* s s))) #s(hole binary64 (/ (+ (* (pow x 2) (- (* (pow x 2) (+ (* -4/45 (/ (pow x 2) (* (pow c 2) (pow s 2)))) (* 2/3 (/ 1 (* (pow c 2) (pow s 2)))))) (* 2 (/ 1 (* (pow c 2) (pow s 2)))))) (/ 1 (* (pow c 2) (pow s 2)))) x)))
#s(approx (cos (+ x x)) #s(hole binary64 1))
#s(approx (cos (+ x x)) #s(hole binary64 (+ 1 (* -2 (pow x 2)))))
#s(approx (cos (+ x x)) #s(hole binary64 (+ 1 (* (pow x 2) (- (* 2/3 (pow x 2)) 2)))))
#s(approx (cos (+ x x)) #s(hole binary64 (+ 1 (* (pow x 2) (- (* (pow x 2) (+ 2/3 (* -4/45 (pow x 2)))) 2)))))
#s(approx (+ x x) #s(hole binary64 (* 2 x)))
#s(approx (* (* (* c c) x) (* s s)) #s(hole binary64 (* (pow c 2) (* (pow s 2) x))))
#s(approx (* (* c c) x) #s(hole binary64 (* (pow c 2) x)))
#s(approx (/ (cos (* 2 x)) (pow (* s (* x c)) 2)) #s(hole binary64 (/ (cos (* 2 x)) (* (pow c 2) (* (pow s 2) (pow x 2))))))
#s(approx (cos (* 2 x)) #s(hole binary64 (cos (* 2 x))))
#s(approx (/ (cos (* 2 x)) (* (pow c 2) (* (* x (pow s 2)) x))) #s(hole binary64 (/ (cos (* 2 x)) (* (pow c 2) (* (pow s 2) (pow x 2))))))
#s(approx (/ (cos (* 2 x)) (* (* c c) (* (* x (pow s 2)) x))) #s(hole binary64 (/ (cos (* 2 x)) (* (pow c 2) (* (pow s 2) (pow x 2))))))
#s(approx (+ (* -2 (* x x)) 1) #s(hole binary64 (* -2 (pow x 2))))
#s(approx (+ (* -2 (* x x)) 1) #s(hole binary64 (* (pow x 2) (- (/ 1 (pow x 2)) 2))))
#s(approx (/ (/ (cos (+ x x)) (* (* (* c c) x) (* s s))) x) #s(hole binary64 (/ (cos (* 2 x)) (* (pow c 2) (* (pow s 2) (pow x 2))))))
#s(approx (/ (cos (+ x x)) (* (* (* c c) x) (* s s))) #s(hole binary64 (/ (cos (* 2 x)) (* (pow c 2) (* (pow s 2) x)))))
#s(approx (cos (+ x x)) #s(hole binary64 (cos (* 2 x))))
#s(approx (/ (/ (cos (+ x x)) (* (* (* c c) x) (* s s))) x) #s(hole binary64 (/ (cos (neg (* -2 x))) (* (pow c 2) (* (pow s 2) (pow x 2))))))
#s(approx (/ (cos (+ x x)) (* (* (* c c) x) (* s s))) #s(hole binary64 (/ (cos (neg (* -2 x))) (* (pow c 2) (* (pow s 2) x)))))
#s(approx (cos (+ x x)) #s(hole binary64 (cos (neg (* -2 x)))))
#s(approx c #s(hole binary64 c))
#s(approx (* c (* s s)) #s(hole binary64 (* c (pow s 2))))
#s(approx (/ 1 (* c c)) #s(hole binary64 (/ 1 (pow c 2))))
#s(approx (* c c) #s(hole binary64 (pow c 2)))
#s(approx s #s(hole binary64 s))
#s(approx (* s s) #s(hole binary64 (pow s 2)))
#s(approx (pow s 2) #s(hole binary64 (pow s 2)))
Outputs
(/.f64 (neg.f64 (cos.f64 (+.f64 x x))) (neg.f64 (*.f64 (*.f64 (*.f64 c x) s) (*.f64 (*.f64 c x) s))))
(/.f64 (cos.f64 (+.f64 x x)) (*.f64 (*.f64 (*.f64 c x) s) (*.f64 (*.f64 c x) s)))
(sin.f64 (fma.f64 x #s(literal 2 binary64) (/.f64 (PI.f64) #s(literal 2 binary64))))
(-.f64 (*.f64 (cos.f64 x) (cos.f64 x)) (*.f64 (sin.f64 x) (sin.f64 x)))
(cos.f64 (neg.f64 (+.f64 x x)))
(cos.f64 (*.f64 #s(literal -2 binary64) x))
(cos.f64 (+.f64 x x))
(*.f64 #s(literal -2 binary64) (neg.f64 x))
(*.f64 x #s(literal 2 binary64))
(*.f64 #s(literal 2 binary64) x)
(/.f64 (-.f64 (*.f64 x x) (*.f64 x x)) (-.f64 x x))
(/.f64 (+.f64 (pow.f64 x #s(literal 3 binary64)) (pow.f64 x #s(literal 3 binary64))) (fma.f64 x x (-.f64 (*.f64 x x) (*.f64 x x))))
(neg.f64 (*.f64 #s(literal -2 binary64) x))
(+.f64 x x)
#s(literal 2 binary64)
x
(*.f64 (pow.f64 (*.f64 (*.f64 c x) s) #s(literal 1 binary64)) (pow.f64 (*.f64 (*.f64 c x) s) #s(literal 1 binary64)))
(*.f64 (*.f64 s s) (pow.f64 (*.f64 c x) #s(literal 2 binary64)))
(*.f64 (*.f64 (*.f64 c x) s) (*.f64 (*.f64 c x) s))
(pow.f64 (*.f64 (*.f64 c x) s) #s(literal 2 binary64))
(exp.f64 (*.f64 (log.f64 (*.f64 (*.f64 c x) s)) #s(literal 2 binary64)))
(*.f64 (*.f64 c s) x)
(*.f64 (*.f64 s x) c)
(*.f64 (*.f64 c x) s)
(*.f64 c (*.f64 s x))
(*.f64 s (*.f64 c x))
s
(*.f64 c x)
(*.f64 x c)
c
#s(approx (/ (/ (cos (+ x x)) (* (* (* c c) x) (* s s))) x) (/.f64 #s(literal 1 binary64) (*.f64 (*.f64 (*.f64 s s) c) (*.f64 (*.f64 x x) c))))
(pow.f64 (*.f64 (*.f64 (*.f64 s s) c) (*.f64 (*.f64 x x) c)) #s(literal -1 binary64))
(/.f64 (/.f64 #s(literal 1 binary64) (*.f64 (*.f64 (*.f64 (*.f64 s s) c) x) x)) c)
(/.f64 #s(literal -1 binary64) (neg.f64 (*.f64 (*.f64 (*.f64 s s) c) (*.f64 (*.f64 x x) c))))
(/.f64 #s(literal 1 binary64) (*.f64 (*.f64 (*.f64 s s) c) (*.f64 (*.f64 x x) c)))
#s(literal 1 binary64)
(*.f64 (*.f64 (*.f64 (*.f64 (*.f64 s s) c) x) x) c)
(*.f64 (*.f64 (*.f64 s s) c) (*.f64 (*.f64 x x) c))
(*.f64 c (*.f64 (*.f64 (*.f64 (*.f64 s s) c) x) x))
(*.f64 (*.f64 (*.f64 (*.f64 s s) c) x) x)
(*.f64 (*.f64 (*.f64 x x) (*.f64 s s)) c)
(*.f64 (*.f64 x x) (*.f64 (*.f64 s s) c))
(*.f64 (*.f64 (*.f64 s s) c) (*.f64 x x))
(*.f64 c (*.f64 (*.f64 x x) (*.f64 s s)))
(*.f64 (*.f64 c s) s)
(*.f64 (*.f64 s s) c)
(*.f64 c (*.f64 s s))
(*.f64 (pow.f64 s #s(literal 1 binary64)) (pow.f64 s #s(literal 1 binary64)))
(*.f64 (neg.f64 s) (neg.f64 s))
(*.f64 (fabs.f64 s) (fabs.f64 s))
(*.f64 s s)
(pow.f64 s #s(literal 2 binary64))
(exp.f64 (*.f64 (log.f64 s) #s(literal 2 binary64)))
(*.f64 (pow.f64 x #s(literal 1 binary64)) (pow.f64 x #s(literal 1 binary64)))
(*.f64 (neg.f64 x) (neg.f64 x))
(*.f64 (fabs.f64 x) (fabs.f64 x))
(*.f64 x x)
(pow.f64 x #s(literal 2 binary64))
(exp.f64 (*.f64 (log.f64 x) #s(literal 2 binary64)))
#s(approx (/ (/ (cos (+ x x)) (* (* (* c c) x) (* s s))) x) (/.f64 #s(literal 1 binary64) (*.f64 (*.f64 c c) (*.f64 (*.f64 (*.f64 s x) s) x))))
(/.f64 (/.f64 (/.f64 #s(literal 1 binary64) (*.f64 c c)) (*.f64 (*.f64 s x) s)) x)
(/.f64 (neg.f64 (/.f64 #s(literal 1 binary64) (*.f64 c c))) (neg.f64 (*.f64 (*.f64 (*.f64 s x) s) x)))
(/.f64 (/.f64 #s(literal 1 binary64) (*.f64 c c)) (*.f64 (*.f64 (*.f64 s x) s) x))
(/.f64 #s(literal 1 binary64) (*.f64 (*.f64 c c) (*.f64 (*.f64 (*.f64 s x) s) x)))
(pow.f64 (*.f64 c c) #s(literal -1 binary64))
(pow.f64 c #s(literal -2 binary64))
(/.f64 (/.f64 #s(literal 1 binary64) c) c)
(/.f64 #s(literal -1 binary64) (neg.f64 (*.f64 c c)))
(/.f64 #s(literal 1 binary64) (*.f64 c c))
(*.f64 (pow.f64 c #s(literal 1 binary64)) (pow.f64 c #s(literal 1 binary64)))
(*.f64 (neg.f64 c) (neg.f64 c))
(*.f64 (fabs.f64 c) (fabs.f64 c))
(*.f64 c c)
(pow.f64 c #s(literal 2 binary64))
(exp.f64 (*.f64 (log.f64 c) #s(literal 2 binary64)))
(*.f64 (*.f64 (*.f64 s x) s) x)
(*.f64 (*.f64 s x) (*.f64 s x))
(*.f64 x (*.f64 (*.f64 s x) s))
(*.f64 (*.f64 s x) s)
(*.f64 s (*.f64 s x))
(*.f64 s x)
(*.f64 x s)
(/.f64 (/.f64 #s(approx (cos (+ x x)) (fma.f64 (*.f64 x x) #s(literal -2 binary64) #s(literal 1 binary64))) (*.f64 c c)) (*.f64 (*.f64 (*.f64 s s) x) x))
(/.f64 (neg.f64 #s(approx (cos (+ x x)) (fma.f64 (*.f64 x x) #s(literal -2 binary64) #s(literal 1 binary64)))) (neg.f64 (*.f64 (*.f64 c c) (*.f64 (*.f64 (*.f64 s s) x) x))))
(/.f64 #s(approx (cos (+ x x)) (fma.f64 (*.f64 x x) #s(literal -2 binary64) #s(literal 1 binary64))) (*.f64 (*.f64 c c) (*.f64 (*.f64 (*.f64 s s) x) x)))
#s(approx (cos (+ x x)) (fma.f64 (*.f64 x x) #s(literal -2 binary64) #s(literal 1 binary64)))
(/.f64 (-.f64 #s(literal 1 binary64) (*.f64 (*.f64 (*.f64 x x) #s(literal -2 binary64)) (*.f64 (*.f64 x x) #s(literal -2 binary64)))) (-.f64 #s(literal 1 binary64) (*.f64 (*.f64 x x) #s(literal -2 binary64))))
(/.f64 (-.f64 (*.f64 (*.f64 (*.f64 x x) #s(literal -2 binary64)) (*.f64 (*.f64 x x) #s(literal -2 binary64))) #s(literal 1 binary64)) (-.f64 (*.f64 (*.f64 x x) #s(literal -2 binary64)) #s(literal 1 binary64)))
(/.f64 (+.f64 #s(literal 1 binary64) (pow.f64 (*.f64 (*.f64 x x) #s(literal -2 binary64)) #s(literal 3 binary64))) (+.f64 #s(literal 1 binary64) (-.f64 (*.f64 (*.f64 (*.f64 x x) #s(literal -2 binary64)) (*.f64 (*.f64 x x) #s(literal -2 binary64))) (*.f64 #s(literal 1 binary64) (*.f64 (*.f64 x x) #s(literal -2 binary64))))))
(/.f64 (+.f64 (pow.f64 (*.f64 (*.f64 x x) #s(literal -2 binary64)) #s(literal 3 binary64)) #s(literal 1 binary64)) (fma.f64 (*.f64 (*.f64 x x) #s(literal -2 binary64)) (*.f64 (*.f64 x x) #s(literal -2 binary64)) (-.f64 #s(literal 1 binary64) (*.f64 (*.f64 (*.f64 x x) #s(literal -2 binary64)) #s(literal 1 binary64)))))
(fma.f64 (*.f64 #s(literal -2 binary64) x) x #s(literal 1 binary64))
(fma.f64 (*.f64 x x) #s(literal -2 binary64) #s(literal 1 binary64))
(fma.f64 #s(literal -2 binary64) (*.f64 x x) #s(literal 1 binary64))
(-.f64 #s(literal 1 binary64) (*.f64 #s(literal 2 binary64) (*.f64 x x)))
(+.f64 (*.f64 (*.f64 x x) #s(literal -2 binary64)) #s(literal 1 binary64))
(+.f64 #s(literal 1 binary64) (*.f64 (*.f64 x x) #s(literal -2 binary64)))
#s(literal -2 binary64)
(*.f64 (*.f64 (*.f64 (*.f64 (*.f64 c c) x) s) s) x)
(*.f64 (*.f64 c c) (*.f64 (*.f64 (*.f64 s s) x) x))
(*.f64 (*.f64 (*.f64 (*.f64 s s) x) x) (*.f64 c c))
(*.f64 c (*.f64 c (*.f64 (*.f64 (*.f64 s s) x) x)))
(*.f64 (*.f64 (*.f64 s s) x) x)
(*.f64 x (*.f64 (*.f64 s s) x))
(*.f64 (*.f64 s s) x)
(*.f64 x (*.f64 s s))
(*.f64 (pow.f64 s #s(literal 1 binary64)) (pow.f64 s #s(literal 1 binary64)))
(*.f64 (neg.f64 s) (neg.f64 s))
(*.f64 (fabs.f64 s) (fabs.f64 s))
(*.f64 s s)
(pow.f64 s #s(literal 2 binary64))
(exp.f64 (*.f64 (log.f64 s) #s(literal 2 binary64)))
(/.f64 (/.f64 (cos.f64 (+.f64 x x)) (*.f64 c c)) (*.f64 (*.f64 (*.f64 s s) x) x))
(/.f64 (neg.f64 (cos.f64 (+.f64 x x))) (neg.f64 (*.f64 (*.f64 c c) (*.f64 (*.f64 (*.f64 s s) x) x))))
(/.f64 (neg.f64 (/.f64 (cos.f64 (+.f64 x x)) (*.f64 (*.f64 (*.f64 (*.f64 c c) x) s) s))) (neg.f64 x))
(/.f64 (/.f64 (cos.f64 (+.f64 x x)) (*.f64 (*.f64 (*.f64 (*.f64 c c) x) s) s)) x)
(/.f64 (cos.f64 (+.f64 x x)) (*.f64 (*.f64 c c) (*.f64 (*.f64 (*.f64 s s) x) x)))
(/.f64 (/.f64 (cos.f64 (+.f64 x x)) (*.f64 (*.f64 c c) x)) (*.f64 s s))
(/.f64 (/.f64 (cos.f64 (+.f64 x x)) (*.f64 c c)) (*.f64 (*.f64 s s) x))
(/.f64 (neg.f64 (cos.f64 (+.f64 x x))) (neg.f64 (*.f64 (*.f64 (*.f64 (*.f64 c c) x) s) s)))
(/.f64 (cos.f64 (+.f64 x x)) (*.f64 (*.f64 (*.f64 (*.f64 c c) x) s) s))
(sin.f64 (fma.f64 x #s(literal 2 binary64) (/.f64 (PI.f64) #s(literal 2 binary64))))
(-.f64 (*.f64 (cos.f64 x) (cos.f64 x)) (*.f64 (sin.f64 x) (sin.f64 x)))
(cos.f64 (neg.f64 (+.f64 x x)))
(cos.f64 (*.f64 #s(literal -2 binary64) x))
(cos.f64 (+.f64 x x))
(*.f64 #s(literal -2 binary64) (neg.f64 x))
(*.f64 x #s(literal 2 binary64))
(*.f64 #s(literal 2 binary64) x)
(/.f64 (-.f64 (*.f64 x x) (*.f64 x x)) (-.f64 x x))
(/.f64 (+.f64 (pow.f64 x #s(literal 3 binary64)) (pow.f64 x #s(literal 3 binary64))) (fma.f64 x x (-.f64 (*.f64 x x) (*.f64 x x))))
(neg.f64 (*.f64 #s(literal -2 binary64) x))
(+.f64 x x)
(*.f64 (*.f64 (*.f64 (*.f64 c c) x) s) s)
(*.f64 (*.f64 (*.f64 s s) x) (*.f64 c c))
(*.f64 (*.f64 (*.f64 c c) (*.f64 s s)) x)
(*.f64 (*.f64 (*.f64 c c) x) (*.f64 s s))
(*.f64 (*.f64 c c) (*.f64 (*.f64 s s) x))
(*.f64 (*.f64 s s) (*.f64 (*.f64 c c) x))
(*.f64 (*.f64 c c) x)
(*.f64 c (*.f64 c x))
(*.f64 x (*.f64 c c))
#s(approx (/ (cos (* 2 x)) (pow (* s (* x c)) 2)) (/.f64 #s(literal 1 binary64) (*.f64 (*.f64 (*.f64 x x) (*.f64 s s)) (*.f64 c c))))
#s(approx (/ (cos (* 2 x)) (pow (* s (* x c)) 2)) (/.f64 (fma.f64 (/.f64 (*.f64 x x) (*.f64 (*.f64 c c) (*.f64 s s))) #s(literal -2 binary64) (/.f64 #s(literal 1 binary64) (*.f64 (*.f64 c c) (*.f64 s s)))) (*.f64 x x)))
#s(approx (/ (cos (* 2 x)) (pow (* s (* x c)) 2)) (/.f64 (fma.f64 (-.f64 (*.f64 (/.f64 (*.f64 x x) (*.f64 (*.f64 c c) (*.f64 s s))) #s(literal 2/3 binary64)) (/.f64 #s(literal 2 binary64) (*.f64 (*.f64 c c) (*.f64 s s)))) (*.f64 x x) (/.f64 #s(literal 1 binary64) (*.f64 (*.f64 c c) (*.f64 s s)))) (*.f64 x x)))
#s(approx (/ (cos (* 2 x)) (pow (* s (* x c)) 2)) (/.f64 (fma.f64 (-.f64 (*.f64 (fma.f64 #s(literal -4/45 binary64) (/.f64 (*.f64 x x) (*.f64 (*.f64 c c) (*.f64 s s))) (/.f64 #s(literal 2/3 binary64) (*.f64 (*.f64 c c) (*.f64 s s)))) (*.f64 x x)) (/.f64 #s(literal 2 binary64) (*.f64 (*.f64 c c) (*.f64 s s)))) (*.f64 x x) (/.f64 #s(literal 1 binary64) (*.f64 (*.f64 c c) (*.f64 s s)))) (*.f64 x x)))
#s(approx (cos (+ x x)) #s(literal 1 binary64))
#s(approx (cos (+ x x)) (fma.f64 (*.f64 x x) #s(literal -2 binary64) #s(literal 1 binary64)))
#s(approx (cos (+ x x)) (fma.f64 (-.f64 (*.f64 #s(literal 2/3 binary64) (*.f64 x x)) #s(literal 2 binary64)) (*.f64 x x) #s(literal 1 binary64)))
#s(approx (cos (+ x x)) (fma.f64 (-.f64 (*.f64 (fma.f64 #s(literal -4/45 binary64) (*.f64 x x) #s(literal 2/3 binary64)) (*.f64 x x)) #s(literal 2 binary64)) (*.f64 x x) #s(literal 1 binary64)))
#s(approx (+ x x) (+.f64 x x))
#s(approx x x)
#s(approx (pow (* s (* x c)) 2) (*.f64 (*.f64 (*.f64 x x) (*.f64 s s)) (*.f64 c c)))
#s(approx (* s (* x c)) (*.f64 (*.f64 c x) s))
#s(approx (* x c) (*.f64 c x))
#s(approx (/ (/ (cos (+ x x)) (* (* (* c c) x) (* s s))) x) (/.f64 #s(literal 1 binary64) (*.f64 (*.f64 (*.f64 x x) (*.f64 s s)) (*.f64 c c))))
#s(approx (/ (/ (cos (+ x x)) (* (* (* c c) x) (* s s))) x) (/.f64 (fma.f64 (/.f64 (*.f64 x x) (*.f64 (*.f64 c c) (*.f64 s s))) #s(literal -2 binary64) (/.f64 #s(literal 1 binary64) (*.f64 (*.f64 c c) (*.f64 s s)))) (*.f64 x x)))
#s(approx (/ (/ (cos (+ x x)) (* (* (* c c) x) (* s s))) x) (/.f64 (fma.f64 (-.f64 (*.f64 (/.f64 (*.f64 x x) (*.f64 (*.f64 c c) (*.f64 s s))) #s(literal 2/3 binary64)) (/.f64 #s(literal 2 binary64) (*.f64 (*.f64 c c) (*.f64 s s)))) (*.f64 x x) (/.f64 #s(literal 1 binary64) (*.f64 (*.f64 c c) (*.f64 s s)))) (*.f64 x x)))
#s(approx (/ (/ (cos (+ x x)) (* (* (* c c) x) (* s s))) x) (/.f64 (fma.f64 (-.f64 (*.f64 (fma.f64 #s(literal -4/45 binary64) (/.f64 (*.f64 x x) (*.f64 (*.f64 c c) (*.f64 s s))) (/.f64 #s(literal 2/3 binary64) (*.f64 (*.f64 c c) (*.f64 s s)))) (*.f64 x x)) (/.f64 #s(literal 2 binary64) (*.f64 (*.f64 c c) (*.f64 s s)))) (*.f64 x x) (/.f64 #s(literal 1 binary64) (*.f64 (*.f64 c c) (*.f64 s s)))) (*.f64 x x)))
#s(approx (/ 1 (* (* (* c (* s s)) (* x x)) c)) (/.f64 #s(literal 1 binary64) (*.f64 (*.f64 (*.f64 x x) (*.f64 s s)) (*.f64 c c))))
#s(approx (* (* (* c (* s s)) (* x x)) c) (*.f64 (*.f64 (*.f64 x x) (*.f64 s s)) (*.f64 c c)))
#s(approx (* (* c (* s s)) (* x x)) (*.f64 (*.f64 (*.f64 (*.f64 s s) c) x) x))
#s(approx (* x x) (*.f64 x x))
#s(approx (/ (/ 1 (* c c)) (* (* (* s x) s) x)) (/.f64 #s(literal 1 binary64) (*.f64 (*.f64 (*.f64 x x) (*.f64 s s)) (*.f64 c c))))
#s(approx (* (* (* s x) s) x) (*.f64 (*.f64 x x) (*.f64 s s)))
#s(approx (* (* s x) s) (*.f64 (*.f64 s s) x))
#s(approx (* s x) (*.f64 s x))
#s(approx (/ (/ (cos (+ x x)) (* (* (* c c) x) (* s s))) x) (/.f64 #s(literal 1 binary64) (*.f64 (*.f64 (*.f64 x x) (*.f64 s s)) (*.f64 c c))))
#s(approx (/ (/ (cos (+ x x)) (* (* (* c c) x) (* s s))) x) (/.f64 (fma.f64 (/.f64 (*.f64 x x) (*.f64 (*.f64 c c) (*.f64 s s))) #s(literal -2 binary64) (/.f64 #s(literal 1 binary64) (*.f64 (*.f64 c c) (*.f64 s s)))) (*.f64 x x)))
#s(approx (/ (/ (cos (+ x x)) (* (* (* c c) x) (* s s))) x) (/.f64 (fma.f64 (-.f64 (*.f64 (/.f64 (*.f64 x x) (*.f64 (*.f64 c c) (*.f64 s s))) #s(literal 2/3 binary64)) (/.f64 #s(literal 2 binary64) (*.f64 (*.f64 c c) (*.f64 s s)))) (*.f64 x x) (/.f64 #s(literal 1 binary64) (*.f64 (*.f64 c c) (*.f64 s s)))) (*.f64 x x)))
#s(approx (/ (/ (cos (+ x x)) (* (* (* c c) x) (* s s))) x) (/.f64 (fma.f64 (-.f64 (*.f64 (fma.f64 #s(literal -4/45 binary64) (/.f64 (*.f64 x x) (*.f64 (*.f64 c c) (*.f64 s s))) (/.f64 #s(literal 2/3 binary64) (*.f64 (*.f64 c c) (*.f64 s s)))) (*.f64 x x)) (/.f64 #s(literal 2 binary64) (*.f64 (*.f64 c c) (*.f64 s s)))) (*.f64 x x) (/.f64 #s(literal 1 binary64) (*.f64 (*.f64 c c) (*.f64 s s)))) (*.f64 x x)))
#s(approx (+ (* -2 (* x x)) 1) #s(literal 1 binary64))
#s(approx (+ (* -2 (* x x)) 1) (fma.f64 (*.f64 x x) #s(literal -2 binary64) #s(literal 1 binary64)))
#s(approx (* (* c c) (* (* x (pow s 2)) x)) (*.f64 (*.f64 (*.f64 x x) (*.f64 s s)) (*.f64 c c)))
#s(approx (* (* x (pow s 2)) x) (*.f64 (*.f64 x x) (*.f64 s s)))
#s(approx (* x (pow s 2)) (*.f64 (*.f64 s s) x))
#s(approx (/ (/ (cos (+ x x)) (* (* (* c c) x) (* s s))) x) (/.f64 #s(literal 1 binary64) (*.f64 (*.f64 (*.f64 x x) (*.f64 s s)) (*.f64 c c))))
#s(approx (/ (/ (cos (+ x x)) (* (* (* c c) x) (* s s))) x) (/.f64 (fma.f64 (/.f64 (*.f64 x x) (*.f64 (*.f64 c c) (*.f64 s s))) #s(literal -2 binary64) (/.f64 #s(literal 1 binary64) (*.f64 (*.f64 c c) (*.f64 s s)))) (*.f64 x x)))
#s(approx (/ (/ (cos (+ x x)) (* (* (* c c) x) (* s s))) x) (/.f64 (fma.f64 (-.f64 (*.f64 (/.f64 (*.f64 x x) (*.f64 (*.f64 c c) (*.f64 s s))) #s(literal 2/3 binary64)) (/.f64 #s(literal 2 binary64) (*.f64 (*.f64 c c) (*.f64 s s)))) (*.f64 x x) (/.f64 #s(literal 1 binary64) (*.f64 (*.f64 c c) (*.f64 s s)))) (*.f64 x x)))
#s(approx (/ (/ (cos (+ x x)) (* (* (* c c) x) (* s s))) x) (/.f64 (fma.f64 (-.f64 (*.f64 (fma.f64 #s(literal -4/45 binary64) (/.f64 (*.f64 x x) (*.f64 (*.f64 c c) (*.f64 s s))) (/.f64 #s(literal 2/3 binary64) (*.f64 (*.f64 c c) (*.f64 s s)))) (*.f64 x x)) (/.f64 #s(literal 2 binary64) (*.f64 (*.f64 c c) (*.f64 s s)))) (*.f64 x x) (/.f64 #s(literal 1 binary64) (*.f64 (*.f64 c c) (*.f64 s s)))) (*.f64 x x)))
#s(approx (/ (cos (+ x x)) (* (* (* c c) x) (* s s))) (/.f64 #s(literal 1 binary64) (*.f64 (*.f64 (*.f64 (*.f64 c c) x) s) s)))
#s(approx (/ (cos (+ x x)) (* (* (* c c) x) (* s s))) (/.f64 (fma.f64 (/.f64 (*.f64 x x) (*.f64 (*.f64 c c) (*.f64 s s))) #s(literal -2 binary64) (/.f64 #s(literal 1 binary64) (*.f64 (*.f64 c c) (*.f64 s s)))) x))
#s(approx (/ (cos (+ x x)) (* (* (* c c) x) (* s s))) (/.f64 (fma.f64 (-.f64 (*.f64 (/.f64 (*.f64 x x) (*.f64 (*.f64 c c) (*.f64 s s))) #s(literal 2/3 binary64)) (/.f64 #s(literal 2 binary64) (*.f64 (*.f64 c c) (*.f64 s s)))) (*.f64 x x) (/.f64 #s(literal 1 binary64) (*.f64 (*.f64 c c) (*.f64 s s)))) x))
#s(approx (/ (cos (+ x x)) (* (* (* c c) x) (* s s))) (/.f64 (fma.f64 (-.f64 (*.f64 (fma.f64 #s(literal -4/45 binary64) (/.f64 (*.f64 x x) (*.f64 (*.f64 c c) (*.f64 s s))) (/.f64 #s(literal 2/3 binary64) (*.f64 (*.f64 c c) (*.f64 s s)))) (*.f64 x x)) (/.f64 #s(literal 2 binary64) (*.f64 (*.f64 c c) (*.f64 s s)))) (*.f64 x x) (/.f64 #s(literal 1 binary64) (*.f64 (*.f64 c c) (*.f64 s s)))) x))
#s(approx (cos (+ x x)) #s(literal 1 binary64))
#s(approx (cos (+ x x)) (fma.f64 (*.f64 x x) #s(literal -2 binary64) #s(literal 1 binary64)))
#s(approx (cos (+ x x)) (fma.f64 (-.f64 (*.f64 #s(literal 2/3 binary64) (*.f64 x x)) #s(literal 2 binary64)) (*.f64 x x) #s(literal 1 binary64)))
#s(approx (cos (+ x x)) (fma.f64 (-.f64 (*.f64 (fma.f64 #s(literal -4/45 binary64) (*.f64 x x) #s(literal 2/3 binary64)) (*.f64 x x)) #s(literal 2 binary64)) (*.f64 x x) #s(literal 1 binary64)))
#s(approx (+ x x) (+.f64 x x))
#s(approx (* (* (* c c) x) (* s s)) (*.f64 (*.f64 (*.f64 (*.f64 c c) x) s) s))
#s(approx (* (* c c) x) (*.f64 (*.f64 c c) x))
#s(approx (/ (cos (* 2 x)) (pow (* s (* x c)) 2)) (/.f64 (cos.f64 (+.f64 x x)) (*.f64 (*.f64 (*.f64 x x) (*.f64 s s)) (*.f64 c c))))
#s(approx (cos (+ x x)) (cos.f64 (+.f64 x x)))
#s(approx (/ (/ (cos (+ x x)) (* (* (* c c) x) (* s s))) x) (/.f64 (cos.f64 (+.f64 x x)) (*.f64 (*.f64 (*.f64 x x) (*.f64 s s)) (*.f64 c c))))
#s(approx (/ (/ (cos (+ x x)) (* (* (* c c) x) (* s s))) x) (/.f64 (cos.f64 (+.f64 x x)) (*.f64 (*.f64 (*.f64 x x) (*.f64 s s)) (*.f64 c c))))
#s(approx (+ (* -2 (* x x)) 1) (*.f64 (*.f64 x x) #s(literal -2 binary64)))
#s(approx (+ (* -2 (* x x)) 1) (*.f64 (-.f64 (/.f64 #s(literal 1 binary64) (*.f64 x x)) #s(literal 2 binary64)) (*.f64 x x)))
#s(approx (/ (/ (cos (+ x x)) (* (* (* c c) x) (* s s))) x) (/.f64 (cos.f64 (+.f64 x x)) (*.f64 (*.f64 (*.f64 x x) (*.f64 s s)) (*.f64 c c))))
#s(approx (/ (cos (+ x x)) (* (* (* c c) x) (* s s))) (/.f64 (cos.f64 (+.f64 x x)) (*.f64 (*.f64 (*.f64 (*.f64 c c) x) s) s)))
#s(approx (cos (+ x x)) (cos.f64 (+.f64 x x)))
#s(approx (/ (/ (cos (+ x x)) (* (* (* c c) x) (* s s))) x) (/.f64 (cos.f64 (+.f64 x x)) (*.f64 (*.f64 (*.f64 x x) (*.f64 s s)) (*.f64 c c))))
#s(approx (/ (cos (+ x x)) (* (* (* c c) x) (* s s))) (/.f64 (cos.f64 (+.f64 x x)) (*.f64 (*.f64 (*.f64 (*.f64 c c) x) s) s)))
#s(approx (cos (+ x x)) (cos.f64 (+.f64 x x)))
#s(approx c c)
#s(approx (* c (* s s)) (*.f64 (*.f64 s s) c))
#s(approx (/ 1 (* c c)) (/.f64 #s(literal 1 binary64) (*.f64 c c)))
#s(approx (* c c) (*.f64 c c))
#s(approx s s)
#s(approx (* s s) (*.f64 s s))
#s(approx (* s s) (*.f64 s s))

eval21.0ms (0.8%)

Memory
-20.3MiB live, 24.1MiB allocated; 8ms collecting garbage
Compiler

Compiled 1 615 to 758 computations (53.1% saved)

prune25.0ms (0.9%)

Memory
-14.9MiB live, 32.3MiB allocated; 2ms collecting garbage
Pruning

33 alts after pruning (33 fresh and 0 done)

PrunedKeptTotal
New18318201
Fresh41519
Picked505
Done101
Total19333226
Accuracy
99.9%
Counts
226 → 33
Alt Table
Click to see full alt table
StatusAccuracyProgram
69.3%
(/.f64 (/.f64 (cos.f64 (+.f64 x x)) (*.f64 (*.f64 (*.f64 s s) x) (*.f64 c c))) x)
75.3%
(/.f64 (/.f64 (cos.f64 (+.f64 x x)) (*.f64 (*.f64 c (*.f64 c x)) (*.f64 s s))) x)
77.2%
(/.f64 (/.f64 (cos.f64 (+.f64 x x)) (*.f64 c c)) (*.f64 (*.f64 (*.f64 s x) s) x))
56.9%
(/.f64 (/.f64 #s(approx (cos (* 2 x)) (fma.f64 (*.f64 x x) #s(literal -2 binary64) #s(literal 1 binary64))) (*.f64 c c)) (*.f64 (*.f64 (*.f64 s x) s) x))
72.9%
(/.f64 (cos.f64 (+.f64 x x)) (*.f64 (*.f64 (*.f64 (*.f64 (*.f64 s s) x) x) c) c))
98.2%
(/.f64 (cos.f64 (+.f64 x x)) (*.f64 (*.f64 (*.f64 s x) c) (*.f64 (*.f64 s x) c)))
98.5%
(/.f64 (cos.f64 (+.f64 x x)) (*.f64 (*.f64 (*.f64 c x) s) (*.f64 (*.f64 c x) s)))
96.4%
(/.f64 (cos.f64 (*.f64 #s(literal 2 binary64) x)) (pow.f64 (*.f64 (*.f64 s c) x) #s(literal 2 binary64)))
79.9%
(/.f64 (cos.f64 (*.f64 #s(literal 2 binary64) x)) (*.f64 (pow.f64 c #s(literal 2 binary64)) (/.f64 #s(literal 1 binary64) (pow.f64 (*.f64 s x) #s(literal -2 binary64)))))
70.4%
(/.f64 (cos.f64 (*.f64 #s(literal 2 binary64) x)) (*.f64 (*.f64 (*.f64 (*.f64 c c) x) (*.f64 s s)) x))
68.0%
(/.f64 (cos.f64 (*.f64 #s(literal 2 binary64) x)) (*.f64 (*.f64 (*.f64 c (*.f64 s s)) (*.f64 x x)) c))
77.7%
(/.f64 (cos.f64 (*.f64 #s(literal 2 binary64) x)) (*.f64 (*.f64 (*.f64 c c) (*.f64 (*.f64 s x) s)) x))
77.7%
(/.f64 (cos.f64 (*.f64 #s(literal 2 binary64) x)) (*.f64 (*.f64 s s) (pow.f64 (*.f64 c x) #s(literal 2 binary64))))
68.2%
(/.f64 #s(approx (/ (cos (+ x x)) (* (* (* c c) x) (* s s))) (/.f64 #s(literal 1 binary64) (*.f64 (*.f64 (*.f64 (*.f64 c c) x) s) s))) x)
78.3%
(/.f64 #s(approx (cos (+ x x)) #s(literal 1 binary64)) (pow.f64 (*.f64 s (*.f64 x c)) #s(literal 2 binary64)))
66.9%
(/.f64 #s(approx (cos (* 2 x)) (fma.f64 (*.f64 x x) #s(literal -2 binary64) #s(literal 1 binary64))) (*.f64 (*.f64 (*.f64 s x) c) (*.f64 (*.f64 s x) c)))
58.4%
(/.f64 #s(approx (cos (* 2 x)) (fma.f64 #s(literal -2 binary64) (*.f64 x x) #s(literal 1 binary64))) (*.f64 (*.f64 (*.f64 (*.f64 (*.f64 c c) x) s) s) x))
50.8%
(/.f64 #s(approx (cos (* 2 x)) (fma.f64 #s(literal -2 binary64) (*.f64 x x) #s(literal 1 binary64))) (*.f64 c (*.f64 c (*.f64 (*.f64 (*.f64 s s) x) x))))
46.3%
(-.f64 (/.f64 (+.f64 #s(literal 1/2 binary64) (*.f64 #s(literal 1/2 binary64) (cos.f64 (+.f64 x x)))) (*.f64 (*.f64 (*.f64 (*.f64 (*.f64 s s) x) x) c) c)) (/.f64 (-.f64 #s(literal 1/2 binary64) (*.f64 #s(literal 1/2 binary64) (cos.f64 (+.f64 x x)))) (*.f64 (*.f64 (*.f64 (*.f64 (*.f64 s s) x) x) c) c)))
56.0%
#s(approx (/ (/ (cos (+ x x)) (* (* (* c c) x) (* s s))) x) (/.f64 #s(literal 1 binary64) (*.f64 (*.f64 (*.f64 x x) (*.f64 s s)) (*.f64 c c))))
58.2%
#s(approx (/ (/ (cos (+ x x)) (* (* (* c c) x) (* s s))) x) (/.f64 #s(literal 1 binary64) (*.f64 (*.f64 (*.f64 s s) c) (*.f64 (*.f64 x x) c))))
70.2%
#s(approx (/ (/ (cos (+ x x)) (* (* (* c c) x) (* s s))) x) (/.f64 #s(literal 1 binary64) (*.f64 (*.f64 c c) (*.f64 (*.f64 (*.f64 s x) s) x))))
67.4%
#s(approx (/ (cos (* 2 x)) (* (pow c 2) (* (* x (pow s 2)) x))) (/.f64 (/.f64 (/.f64 #s(literal 1 binary64) (*.f64 c c)) (*.f64 (*.f64 s x) s)) x))
69.4%
#s(approx (/ (cos (* 2 x)) (* (pow c 2) (* (* x (pow s 2)) x))) (/.f64 (/.f64 (/.f64 #s(literal 1 binary64) c) c) (*.f64 (*.f64 (*.f64 s x) s) x)))
61.8%
#s(approx (/ (cos (* 2 x)) (* (pow c 2) (* (* x (pow s 2)) x))) (/.f64 (/.f64 #s(literal 1 binary64) (*.f64 (*.f64 (*.f64 (*.f64 s s) c) x) x)) c))
68.5%
#s(approx (/ (cos (* 2 x)) (* (pow c 2) (* (* x (pow s 2)) x))) (/.f64 (/.f64 #s(literal 1 binary64) (exp.f64 (*.f64 (log.f64 c) #s(literal 2 binary64)))) (*.f64 (*.f64 (*.f64 s x) s) x)))
61.8%
#s(approx (/ (cos (* 2 x)) (* (pow c 2) (* (* x (pow s 2)) x))) (/.f64 #s(literal 1 binary64) (*.f64 (*.f64 (*.f64 (*.f64 (*.f64 s s) c) x) x) c)))
62.0%
#s(approx (/ (cos (* 2 x)) (* (pow c 2) (* (* x (pow s 2)) x))) (/.f64 #s(literal 1 binary64) (*.f64 (*.f64 (*.f64 (*.f64 (exp.f64 (*.f64 (log.f64 s) #s(literal 2 binary64))) x) x) c) c)))
58.8%
#s(approx (/ (cos (* 2 x)) (* (pow c 2) (* (* x (pow s 2)) x))) (/.f64 #s(literal 1 binary64) (*.f64 (*.f64 (*.f64 (*.f64 x x) (*.f64 s s)) c) c)))
75.6%
#s(approx (/ (cos (* 2 x)) (* (pow c 2) (* (* x (pow s 2)) x))) (/.f64 #s(literal 1 binary64) (*.f64 (*.f64 (*.f64 (*.f64 s x) (*.f64 s x)) c) c)))
63.8%
#s(approx (/ (cos (* 2 x)) (* (pow c 2) (* (* x (pow s 2)) x))) (/.f64 #s(literal 1 binary64) (*.f64 (*.f64 (*.f64 (*.f64 c s) s) (*.f64 x x)) c)))
79.3%
#s(approx (/ (cos (* 2 x)) (* (pow c 2) (* (* x (pow s 2)) x))) (/.f64 #s(literal 1 binary64) (*.f64 (*.f64 (*.f64 s x) c) (*.f64 (*.f64 s x) c))))
58.5%
#s(approx (/ (cos (* 2 x)) (* (pow c 2) (* (* x (pow s 2)) x))) (/.f64 #s(literal 1 binary64) (*.f64 (*.f64 (*.f64 c (*.f64 s s)) (exp.f64 (*.f64 (log.f64 x) #s(literal 2 binary64)))) c)))
Compiler

Compiled 1 094 to 1 058 computations (3.3% saved)

series44.0ms (1.6%)

Memory
13.1MiB live, 59.6MiB allocated; 2ms collecting garbage
Counts
38 → 66
Calls
Call 1
Inputs
(/.f64 (cos.f64 (+.f64 x x)) (*.f64 (*.f64 (*.f64 c x) s) (*.f64 (*.f64 c x) s)))
(cos.f64 (+.f64 x x))
(+.f64 x x)
x
(*.f64 (*.f64 (*.f64 c x) s) (*.f64 (*.f64 c x) s))
(*.f64 (*.f64 c x) s)
(*.f64 c x)
c
s
#s(approx (/ (cos (* 2 x)) (* (pow c 2) (* (* x (pow s 2)) x))) (/.f64 #s(literal 1 binary64) (*.f64 (*.f64 (*.f64 s x) c) (*.f64 (*.f64 s x) c))))
(/.f64 #s(literal 1 binary64) (*.f64 (*.f64 (*.f64 s x) c) (*.f64 (*.f64 s x) c)))
#s(literal 1 binary64)
(*.f64 (*.f64 (*.f64 s x) c) (*.f64 (*.f64 s x) c))
(*.f64 (*.f64 s x) c)
(*.f64 s x)
#s(approx (/ (cos (* 2 x)) (* (pow c 2) (* (* x (pow s 2)) x))) (/.f64 (/.f64 #s(literal 1 binary64) (*.f64 (*.f64 (*.f64 (*.f64 s s) c) x) x)) c))
(/.f64 (/.f64 #s(literal 1 binary64) (*.f64 (*.f64 (*.f64 (*.f64 s s) c) x) x)) c)
(/.f64 #s(literal 1 binary64) (*.f64 (*.f64 (*.f64 (*.f64 s s) c) x) x))
(*.f64 (*.f64 (*.f64 (*.f64 s s) c) x) x)
(*.f64 (*.f64 (*.f64 s s) c) x)
(*.f64 (*.f64 s s) c)
(*.f64 s s)
(/.f64 (/.f64 #s(approx (cos (* 2 x)) (fma.f64 (*.f64 x x) #s(literal -2 binary64) #s(literal 1 binary64))) (*.f64 c c)) (*.f64 (*.f64 (*.f64 s x) s) x))
(/.f64 #s(approx (cos (* 2 x)) (fma.f64 (*.f64 x x) #s(literal -2 binary64) #s(literal 1 binary64))) (*.f64 c c))
#s(approx (cos (* 2 x)) (fma.f64 (*.f64 x x) #s(literal -2 binary64) #s(literal 1 binary64)))
(fma.f64 (*.f64 x x) #s(literal -2 binary64) #s(literal 1 binary64))
(*.f64 x x)
#s(literal -2 binary64)
(*.f64 c c)
(*.f64 (*.f64 (*.f64 s x) s) x)
(*.f64 (*.f64 s x) s)
(/.f64 (cos.f64 (*.f64 #s(literal 2 binary64) x)) (*.f64 (*.f64 (*.f64 (*.f64 c c) x) (*.f64 s s)) x))
(cos.f64 (*.f64 #s(literal 2 binary64) x))
(*.f64 #s(literal 2 binary64) x)
#s(literal 2 binary64)
(*.f64 (*.f64 (*.f64 (*.f64 c c) x) (*.f64 s s)) x)
(*.f64 (*.f64 (*.f64 c c) x) (*.f64 s s))
(*.f64 (*.f64 c c) x)
Outputs
#s(approx (/ (cos (+ x x)) (* (* (* c x) s) (* (* c x) s))) #s(hole binary64 (/ 1 (* (pow c 2) (* (pow s 2) (pow x 2))))))
#s(approx (/ (cos (+ x x)) (* (* (* c x) s) (* (* c x) s))) #s(hole binary64 (/ (+ (* -2 (/ (pow x 2) (* (pow c 2) (pow s 2)))) (/ 1 (* (pow c 2) (pow s 2)))) (pow x 2))))
#s(approx (/ (cos (+ x x)) (* (* (* c x) s) (* (* c x) s))) #s(hole binary64 (/ (+ (* (pow x 2) (- (* 2/3 (/ (pow x 2) (* (pow c 2) (pow s 2)))) (* 2 (/ 1 (* (pow c 2) (pow s 2)))))) (/ 1 (* (pow c 2) (pow s 2)))) (pow x 2))))
#s(approx (/ (cos (+ x x)) (* (* (* c x) s) (* (* c x) s))) #s(hole binary64 (/ (+ (* (pow x 2) (- (* (pow x 2) (+ (* -4/45 (/ (pow x 2) (* (pow c 2) (pow s 2)))) (* 2/3 (/ 1 (* (pow c 2) (pow s 2)))))) (* 2 (/ 1 (* (pow c 2) (pow s 2)))))) (/ 1 (* (pow c 2) (pow s 2)))) (pow x 2))))
#s(approx (cos (+ x x)) #s(hole binary64 1))
#s(approx (cos (+ x x)) #s(hole binary64 (+ 1 (* -2 (pow x 2)))))
#s(approx (cos (+ x x)) #s(hole binary64 (+ 1 (* (pow x 2) (- (* 2/3 (pow x 2)) 2)))))
#s(approx (cos (+ x x)) #s(hole binary64 (+ 1 (* (pow x 2) (- (* (pow x 2) (+ 2/3 (* -4/45 (pow x 2)))) 2)))))
#s(approx (+ x x) #s(hole binary64 (* 2 x)))
#s(approx x #s(hole binary64 x))
#s(approx (* (* (* c x) s) (* (* c x) s)) #s(hole binary64 (* (pow c 2) (* (pow s 2) (pow x 2)))))
#s(approx (* (* c x) s) #s(hole binary64 (* c (* s x))))
#s(approx (* c x) #s(hole binary64 (* c x)))
#s(approx (/ (cos (* 2 x)) (* (pow c 2) (* (* x (pow s 2)) x))) #s(hole binary64 (/ 1 (* (pow c 2) (* (pow s 2) (pow x 2))))))
#s(approx (/ (cos (* 2 x)) (* (pow c 2) (* (* x (pow s 2)) x))) #s(hole binary64 (/ (+ (* -2 (/ (pow x 2) (* (pow c 2) (pow s 2)))) (/ 1 (* (pow c 2) (pow s 2)))) (pow x 2))))
#s(approx (/ (cos (* 2 x)) (* (pow c 2) (* (* x (pow s 2)) x))) #s(hole binary64 (/ (+ (* (pow x 2) (- (* 2/3 (/ (pow x 2) (* (pow c 2) (pow s 2)))) (* 2 (/ 1 (* (pow c 2) (pow s 2)))))) (/ 1 (* (pow c 2) (pow s 2)))) (pow x 2))))
#s(approx (/ (cos (* 2 x)) (* (pow c 2) (* (* x (pow s 2)) x))) #s(hole binary64 (/ (+ (* (pow x 2) (- (* (pow x 2) (+ (* -4/45 (/ (pow x 2) (* (pow c 2) (pow s 2)))) (* 2/3 (/ 1 (* (pow c 2) (pow s 2)))))) (* 2 (/ 1 (* (pow c 2) (pow s 2)))))) (/ 1 (* (pow c 2) (pow s 2)))) (pow x 2))))
#s(approx (/ 1 (* (* (* s x) c) (* (* s x) c))) #s(hole binary64 (/ 1 (* (pow c 2) (* (pow s 2) (pow x 2))))))
#s(approx (* (* (* s x) c) (* (* s x) c)) #s(hole binary64 (* (pow c 2) (* (pow s 2) (pow x 2)))))
#s(approx (* (* s x) c) #s(hole binary64 (* c (* s x))))
#s(approx (* s x) #s(hole binary64 (* s x)))
#s(approx (/ (/ 1 (* (* (* (* s s) c) x) x)) c) #s(hole binary64 (/ 1 (* (pow c 2) (* (pow s 2) (pow x 2))))))
#s(approx (/ 1 (* (* (* (* s s) c) x) x)) #s(hole binary64 (/ 1 (* c (* (pow s 2) (pow x 2))))))
#s(approx (* (* (* (* s s) c) x) x) #s(hole binary64 (* c (* (pow s 2) (pow x 2)))))
#s(approx (* (* (* s s) c) x) #s(hole binary64 (* c (* (pow s 2) x))))
#s(approx (/ (/ (cos (* 2 x)) (* c c)) (* (* (* s x) s) x)) #s(hole binary64 (/ 1 (* (pow c 2) (* (pow s 2) (pow x 2))))))
#s(approx (/ (/ (cos (* 2 x)) (* c c)) (* (* (* s x) s) x)) #s(hole binary64 (/ (+ (* -2 (/ (pow x 2) (* (pow c 2) (pow s 2)))) (/ 1 (* (pow c 2) (pow s 2)))) (pow x 2))))
#s(approx (/ (/ (cos (* 2 x)) (* c c)) (* (* (* s x) s) x)) #s(hole binary64 (/ (+ (* (pow x 2) (- (* 2/3 (/ (pow x 2) (* (pow c 2) (pow s 2)))) (* 2 (/ 1 (* (pow c 2) (pow s 2)))))) (/ 1 (* (pow c 2) (pow s 2)))) (pow x 2))))
#s(approx (/ (/ (cos (* 2 x)) (* c c)) (* (* (* s x) s) x)) #s(hole binary64 (/ (+ (* (pow x 2) (- (* (pow x 2) (+ (* -4/45 (/ (pow x 2) (* (pow c 2) (pow s 2)))) (* 2/3 (/ 1 (* (pow c 2) (pow s 2)))))) (* 2 (/ 1 (* (pow c 2) (pow s 2)))))) (/ 1 (* (pow c 2) (pow s 2)))) (pow x 2))))
#s(approx (/ (cos (* 2 x)) (* c c)) #s(hole binary64 (/ 1 (pow c 2))))
#s(approx (/ (cos (* 2 x)) (* c c)) #s(hole binary64 (+ (* -2 (/ (pow x 2) (pow c 2))) (/ 1 (pow c 2)))))
#s(approx (/ (cos (* 2 x)) (* c c)) #s(hole binary64 (+ (* (pow x 2) (- (* 2/3 (/ (pow x 2) (pow c 2))) (* 2 (/ 1 (pow c 2))))) (/ 1 (pow c 2)))))
#s(approx (/ (cos (* 2 x)) (* c c)) #s(hole binary64 (+ (* (pow x 2) (- (* (pow x 2) (+ (* -4/45 (/ (pow x 2) (pow c 2))) (* 2/3 (/ 1 (pow c 2))))) (* 2 (/ 1 (pow c 2))))) (/ 1 (pow c 2)))))
#s(approx (cos (* 2 x)) #s(hole binary64 1))
#s(approx (cos (* 2 x)) #s(hole binary64 (+ 1 (* -2 (pow x 2)))))
#s(approx (cos (* 2 x)) #s(hole binary64 (+ 1 (* (pow x 2) (- (* 2/3 (pow x 2)) 2)))))
#s(approx (cos (* 2 x)) #s(hole binary64 (+ 1 (* (pow x 2) (- (* (pow x 2) (+ 2/3 (* -4/45 (pow x 2)))) 2)))))
#s(approx (+ (* (* x x) -2) 1) #s(hole binary64 1))
#s(approx (+ (* (* x x) -2) 1) #s(hole binary64 (+ 1 (* -2 (pow x 2)))))
#s(approx (* x x) #s(hole binary64 (pow x 2)))
#s(approx (* (* (* s x) s) x) #s(hole binary64 (* (pow s 2) (pow x 2))))
#s(approx (* (* s x) s) #s(hole binary64 (* (pow s 2) x)))
#s(approx (/ (cos (* 2 x)) (* (* (* (* c c) x) (* s s)) x)) #s(hole binary64 (/ 1 (* (pow c 2) (* (pow s 2) (pow x 2))))))
#s(approx (/ (cos (* 2 x)) (* (* (* (* c c) x) (* s s)) x)) #s(hole binary64 (/ (+ (* -2 (/ (pow x 2) (* (pow c 2) (pow s 2)))) (/ 1 (* (pow c 2) (pow s 2)))) (pow x 2))))
#s(approx (/ (cos (* 2 x)) (* (* (* (* c c) x) (* s s)) x)) #s(hole binary64 (/ (+ (* (pow x 2) (- (* 2/3 (/ (pow x 2) (* (pow c 2) (pow s 2)))) (* 2 (/ 1 (* (pow c 2) (pow s 2)))))) (/ 1 (* (pow c 2) (pow s 2)))) (pow x 2))))
#s(approx (/ (cos (* 2 x)) (* (* (* (* c c) x) (* s s)) x)) #s(hole binary64 (/ (+ (* (pow x 2) (- (* (pow x 2) (+ (* -4/45 (/ (pow x 2) (* (pow c 2) (pow s 2)))) (* 2/3 (/ 1 (* (pow c 2) (pow s 2)))))) (* 2 (/ 1 (* (pow c 2) (pow s 2)))))) (/ 1 (* (pow c 2) (pow s 2)))) (pow x 2))))
#s(approx (* 2 x) #s(hole binary64 (* 2 x)))
#s(approx (* (* (* (* c c) x) (* s s)) x) #s(hole binary64 (* (pow c 2) (* (pow s 2) (pow x 2)))))
#s(approx (* (* (* c c) x) (* s s)) #s(hole binary64 (* (pow c 2) (* (pow s 2) x))))
#s(approx (* (* c c) x) #s(hole binary64 (* (pow c 2) x)))
#s(approx (/ (cos (+ x x)) (* (* (* c x) s) (* (* c x) s))) #s(hole binary64 (/ (cos (* 2 x)) (* (pow c 2) (* (pow s 2) (pow x 2))))))
#s(approx (cos (+ x x)) #s(hole binary64 (cos (* 2 x))))
#s(approx (/ (cos (* 2 x)) (* (pow c 2) (* (* x (pow s 2)) x))) #s(hole binary64 (/ (cos (* 2 x)) (* (pow c 2) (* (pow s 2) (pow x 2))))))
#s(approx (/ (/ (cos (* 2 x)) (* c c)) (* (* (* s x) s) x)) #s(hole binary64 (/ (cos (* 2 x)) (* (pow c 2) (* (pow s 2) (pow x 2))))))
#s(approx (/ (cos (* 2 x)) (* c c)) #s(hole binary64 (/ (cos (* 2 x)) (pow c 2))))
#s(approx (cos (* 2 x)) #s(hole binary64 (cos (* 2 x))))
#s(approx (+ (* (* x x) -2) 1) #s(hole binary64 (* -2 (pow x 2))))
#s(approx (+ (* (* x x) -2) 1) #s(hole binary64 (* (pow x 2) (- (/ 1 (pow x 2)) 2))))
#s(approx (/ (cos (* 2 x)) (* (* (* (* c c) x) (* s s)) x)) #s(hole binary64 (/ (cos (* 2 x)) (* (pow c 2) (* (pow s 2) (pow x 2))))))
#s(approx (/ (cos (+ x x)) (* (* (* c x) s) (* (* c x) s))) #s(hole binary64 (/ (cos (neg (* -2 x))) (* (pow c 2) (* (pow s 2) (pow x 2))))))
#s(approx (cos (+ x x)) #s(hole binary64 (cos (neg (* -2 x)))))
#s(approx c #s(hole binary64 c))
#s(approx (* (* s s) c) #s(hole binary64 (* c (pow s 2))))
#s(approx (* c c) #s(hole binary64 (pow c 2)))
#s(approx s #s(hole binary64 s))
#s(approx (* s s) #s(hole binary64 (pow s 2)))
Calls

9 calls:

TimeVariablePointExpression
6.0ms
x
@-inf
((/ (cos (+ x x)) (* (* (* c x) s) (* (* c x) s))) (cos (+ x x)) (+ x x) x (* (* (* c x) s) (* (* c x) s)) (* (* c x) s) (* c x) c s (/ (cos (* 2 x)) (* (pow c 2) (* (* x (pow s 2)) x))) (/ 1 (* (* (* s x) c) (* (* s x) c))) 1 (* (* (* s x) c) (* (* s x) c)) (* (* s x) c) (* s x) (/ (cos (* 2 x)) (* (pow c 2) (* (* x (pow s 2)) x))) (/ (/ 1 (* (* (* (* s s) c) x) x)) c) (/ 1 (* (* (* (* s s) c) x) x)) (* (* (* (* s s) c) x) x) (* (* (* s s) c) x) (* (* s s) c) (* s s) (/ (/ (cos (* 2 x)) (* c c)) (* (* (* s x) s) x)) (/ (cos (* 2 x)) (* c c)) (cos (* 2 x)) (+ (* (* x x) -2) 1) (* x x) -2 (* c c) (* (* (* s x) s) x) (* (* s x) s) (/ (cos (* 2 x)) (* (* (* (* c c) x) (* s s)) x)) (cos (* 2 x)) (* 2 x) 2 (* (* (* (* c c) x) (* s s)) x) (* (* (* c c) x) (* s s)) (* (* c c) x))
6.0ms
s
@inf
((/ (cos (+ x x)) (* (* (* c x) s) (* (* c x) s))) (cos (+ x x)) (+ x x) x (* (* (* c x) s) (* (* c x) s)) (* (* c x) s) (* c x) c s (/ (cos (* 2 x)) (* (pow c 2) (* (* x (pow s 2)) x))) (/ 1 (* (* (* s x) c) (* (* s x) c))) 1 (* (* (* s x) c) (* (* s x) c)) (* (* s x) c) (* s x) (/ (cos (* 2 x)) (* (pow c 2) (* (* x (pow s 2)) x))) (/ (/ 1 (* (* (* (* s s) c) x) x)) c) (/ 1 (* (* (* (* s s) c) x) x)) (* (* (* (* s s) c) x) x) (* (* (* s s) c) x) (* (* s s) c) (* s s) (/ (/ (cos (* 2 x)) (* c c)) (* (* (* s x) s) x)) (/ (cos (* 2 x)) (* c c)) (cos (* 2 x)) (+ (* (* x x) -2) 1) (* x x) -2 (* c c) (* (* (* s x) s) x) (* (* s x) s) (/ (cos (* 2 x)) (* (* (* (* c c) x) (* s s)) x)) (cos (* 2 x)) (* 2 x) 2 (* (* (* (* c c) x) (* s s)) x) (* (* (* c c) x) (* s s)) (* (* c c) x))
5.0ms
x
@inf
((/ (cos (+ x x)) (* (* (* c x) s) (* (* c x) s))) (cos (+ x x)) (+ x x) x (* (* (* c x) s) (* (* c x) s)) (* (* c x) s) (* c x) c s (/ (cos (* 2 x)) (* (pow c 2) (* (* x (pow s 2)) x))) (/ 1 (* (* (* s x) c) (* (* s x) c))) 1 (* (* (* s x) c) (* (* s x) c)) (* (* s x) c) (* s x) (/ (cos (* 2 x)) (* (pow c 2) (* (* x (pow s 2)) x))) (/ (/ 1 (* (* (* (* s s) c) x) x)) c) (/ 1 (* (* (* (* s s) c) x) x)) (* (* (* (* s s) c) x) x) (* (* (* s s) c) x) (* (* s s) c) (* s s) (/ (/ (cos (* 2 x)) (* c c)) (* (* (* s x) s) x)) (/ (cos (* 2 x)) (* c c)) (cos (* 2 x)) (+ (* (* x x) -2) 1) (* x x) -2 (* c c) (* (* (* s x) s) x) (* (* s x) s) (/ (cos (* 2 x)) (* (* (* (* c c) x) (* s s)) x)) (cos (* 2 x)) (* 2 x) 2 (* (* (* (* c c) x) (* s s)) x) (* (* (* c c) x) (* s s)) (* (* c c) x))
5.0ms
c
@-inf
((/ (cos (+ x x)) (* (* (* c x) s) (* (* c x) s))) (cos (+ x x)) (+ x x) x (* (* (* c x) s) (* (* c x) s)) (* (* c x) s) (* c x) c s (/ (cos (* 2 x)) (* (pow c 2) (* (* x (pow s 2)) x))) (/ 1 (* (* (* s x) c) (* (* s x) c))) 1 (* (* (* s x) c) (* (* s x) c)) (* (* s x) c) (* s x) (/ (cos (* 2 x)) (* (pow c 2) (* (* x (pow s 2)) x))) (/ (/ 1 (* (* (* (* s s) c) x) x)) c) (/ 1 (* (* (* (* s s) c) x) x)) (* (* (* (* s s) c) x) x) (* (* (* s s) c) x) (* (* s s) c) (* s s) (/ (/ (cos (* 2 x)) (* c c)) (* (* (* s x) s) x)) (/ (cos (* 2 x)) (* c c)) (cos (* 2 x)) (+ (* (* x x) -2) 1) (* x x) -2 (* c c) (* (* (* s x) s) x) (* (* s x) s) (/ (cos (* 2 x)) (* (* (* (* c c) x) (* s s)) x)) (cos (* 2 x)) (* 2 x) 2 (* (* (* (* c c) x) (* s s)) x) (* (* (* c c) x) (* s s)) (* (* c c) x))
5.0ms
s
@-inf
((/ (cos (+ x x)) (* (* (* c x) s) (* (* c x) s))) (cos (+ x x)) (+ x x) x (* (* (* c x) s) (* (* c x) s)) (* (* c x) s) (* c x) c s (/ (cos (* 2 x)) (* (pow c 2) (* (* x (pow s 2)) x))) (/ 1 (* (* (* s x) c) (* (* s x) c))) 1 (* (* (* s x) c) (* (* s x) c)) (* (* s x) c) (* s x) (/ (cos (* 2 x)) (* (pow c 2) (* (* x (pow s 2)) x))) (/ (/ 1 (* (* (* (* s s) c) x) x)) c) (/ 1 (* (* (* (* s s) c) x) x)) (* (* (* (* s s) c) x) x) (* (* (* s s) c) x) (* (* s s) c) (* s s) (/ (/ (cos (* 2 x)) (* c c)) (* (* (* s x) s) x)) (/ (cos (* 2 x)) (* c c)) (cos (* 2 x)) (+ (* (* x x) -2) 1) (* x x) -2 (* c c) (* (* (* s x) s) x) (* (* s x) s) (/ (cos (* 2 x)) (* (* (* (* c c) x) (* s s)) x)) (cos (* 2 x)) (* 2 x) 2 (* (* (* (* c c) x) (* s s)) x) (* (* (* c c) x) (* s s)) (* (* c c) x))

rewrite60.0ms (2.2%)

Memory
-4.3MiB live, 42.9MiB allocated; 16ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02111981
02581712
08421684
Stop Event
iter-limit
iter-limit
node-limit
iter-limit
Counts
104 → 219
Calls
Call 1
Inputs
(/.f64 (cos.f64 (+.f64 x x)) (*.f64 (*.f64 (*.f64 c x) s) (*.f64 (*.f64 c x) s)))
(cos.f64 (+.f64 x x))
(+.f64 x x)
x
(*.f64 (*.f64 (*.f64 c x) s) (*.f64 (*.f64 c x) s))
(*.f64 (*.f64 c x) s)
(*.f64 c x)
c
s
#s(approx (/ (cos (* 2 x)) (* (pow c 2) (* (* x (pow s 2)) x))) (/.f64 #s(literal 1 binary64) (*.f64 (*.f64 (*.f64 s x) c) (*.f64 (*.f64 s x) c))))
(/.f64 #s(literal 1 binary64) (*.f64 (*.f64 (*.f64 s x) c) (*.f64 (*.f64 s x) c)))
#s(literal 1 binary64)
(*.f64 (*.f64 (*.f64 s x) c) (*.f64 (*.f64 s x) c))
(*.f64 (*.f64 s x) c)
(*.f64 s x)
#s(approx (/ (cos (* 2 x)) (* (pow c 2) (* (* x (pow s 2)) x))) (/.f64 (/.f64 #s(literal 1 binary64) (*.f64 (*.f64 (*.f64 (*.f64 s s) c) x) x)) c))
(/.f64 (/.f64 #s(literal 1 binary64) (*.f64 (*.f64 (*.f64 (*.f64 s s) c) x) x)) c)
(/.f64 #s(literal 1 binary64) (*.f64 (*.f64 (*.f64 (*.f64 s s) c) x) x))
(*.f64 (*.f64 (*.f64 (*.f64 s s) c) x) x)
(*.f64 (*.f64 (*.f64 s s) c) x)
(*.f64 (*.f64 s s) c)
(*.f64 s s)
(/.f64 (/.f64 #s(approx (cos (* 2 x)) (fma.f64 (*.f64 x x) #s(literal -2 binary64) #s(literal 1 binary64))) (*.f64 c c)) (*.f64 (*.f64 (*.f64 s x) s) x))
(/.f64 #s(approx (cos (* 2 x)) (fma.f64 (*.f64 x x) #s(literal -2 binary64) #s(literal 1 binary64))) (*.f64 c c))
#s(approx (cos (* 2 x)) (fma.f64 (*.f64 x x) #s(literal -2 binary64) #s(literal 1 binary64)))
(fma.f64 (*.f64 x x) #s(literal -2 binary64) #s(literal 1 binary64))
(*.f64 x x)
#s(literal -2 binary64)
(*.f64 c c)
(*.f64 (*.f64 (*.f64 s x) s) x)
(*.f64 (*.f64 s x) s)
(/.f64 (cos.f64 (*.f64 #s(literal 2 binary64) x)) (*.f64 (*.f64 (*.f64 (*.f64 c c) x) (*.f64 s s)) x))
(cos.f64 (*.f64 #s(literal 2 binary64) x))
(*.f64 #s(literal 2 binary64) x)
#s(literal 2 binary64)
(*.f64 (*.f64 (*.f64 (*.f64 c c) x) (*.f64 s s)) x)
(*.f64 (*.f64 (*.f64 c c) x) (*.f64 s s))
(*.f64 (*.f64 c c) x)
#s(approx (/ (cos (+ x x)) (* (* (* c x) s) (* (* c x) s))) #s(hole binary64 (/ 1 (* (pow c 2) (* (pow s 2) (pow x 2))))))
#s(approx (/ (cos (+ x x)) (* (* (* c x) s) (* (* c x) s))) #s(hole binary64 (/ (+ (* -2 (/ (pow x 2) (* (pow c 2) (pow s 2)))) (/ 1 (* (pow c 2) (pow s 2)))) (pow x 2))))
#s(approx (/ (cos (+ x x)) (* (* (* c x) s) (* (* c x) s))) #s(hole binary64 (/ (+ (* (pow x 2) (- (* 2/3 (/ (pow x 2) (* (pow c 2) (pow s 2)))) (* 2 (/ 1 (* (pow c 2) (pow s 2)))))) (/ 1 (* (pow c 2) (pow s 2)))) (pow x 2))))
#s(approx (/ (cos (+ x x)) (* (* (* c x) s) (* (* c x) s))) #s(hole binary64 (/ (+ (* (pow x 2) (- (* (pow x 2) (+ (* -4/45 (/ (pow x 2) (* (pow c 2) (pow s 2)))) (* 2/3 (/ 1 (* (pow c 2) (pow s 2)))))) (* 2 (/ 1 (* (pow c 2) (pow s 2)))))) (/ 1 (* (pow c 2) (pow s 2)))) (pow x 2))))
#s(approx (cos (+ x x)) #s(hole binary64 1))
#s(approx (cos (+ x x)) #s(hole binary64 (+ 1 (* -2 (pow x 2)))))
#s(approx (cos (+ x x)) #s(hole binary64 (+ 1 (* (pow x 2) (- (* 2/3 (pow x 2)) 2)))))
#s(approx (cos (+ x x)) #s(hole binary64 (+ 1 (* (pow x 2) (- (* (pow x 2) (+ 2/3 (* -4/45 (pow x 2)))) 2)))))
#s(approx (+ x x) #s(hole binary64 (* 2 x)))
#s(approx x #s(hole binary64 x))
#s(approx (* (* (* c x) s) (* (* c x) s)) #s(hole binary64 (* (pow c 2) (* (pow s 2) (pow x 2)))))
#s(approx (* (* c x) s) #s(hole binary64 (* c (* s x))))
#s(approx (* c x) #s(hole binary64 (* c x)))
#s(approx (/ (cos (* 2 x)) (* (pow c 2) (* (* x (pow s 2)) x))) #s(hole binary64 (/ 1 (* (pow c 2) (* (pow s 2) (pow x 2))))))
#s(approx (/ (cos (* 2 x)) (* (pow c 2) (* (* x (pow s 2)) x))) #s(hole binary64 (/ (+ (* -2 (/ (pow x 2) (* (pow c 2) (pow s 2)))) (/ 1 (* (pow c 2) (pow s 2)))) (pow x 2))))
#s(approx (/ (cos (* 2 x)) (* (pow c 2) (* (* x (pow s 2)) x))) #s(hole binary64 (/ (+ (* (pow x 2) (- (* 2/3 (/ (pow x 2) (* (pow c 2) (pow s 2)))) (* 2 (/ 1 (* (pow c 2) (pow s 2)))))) (/ 1 (* (pow c 2) (pow s 2)))) (pow x 2))))
#s(approx (/ (cos (* 2 x)) (* (pow c 2) (* (* x (pow s 2)) x))) #s(hole binary64 (/ (+ (* (pow x 2) (- (* (pow x 2) (+ (* -4/45 (/ (pow x 2) (* (pow c 2) (pow s 2)))) (* 2/3 (/ 1 (* (pow c 2) (pow s 2)))))) (* 2 (/ 1 (* (pow c 2) (pow s 2)))))) (/ 1 (* (pow c 2) (pow s 2)))) (pow x 2))))
#s(approx (/ 1 (* (* (* s x) c) (* (* s x) c))) #s(hole binary64 (/ 1 (* (pow c 2) (* (pow s 2) (pow x 2))))))
#s(approx (* (* (* s x) c) (* (* s x) c)) #s(hole binary64 (* (pow c 2) (* (pow s 2) (pow x 2)))))
#s(approx (* (* s x) c) #s(hole binary64 (* c (* s x))))
#s(approx (* s x) #s(hole binary64 (* s x)))
#s(approx (/ (/ 1 (* (* (* (* s s) c) x) x)) c) #s(hole binary64 (/ 1 (* (pow c 2) (* (pow s 2) (pow x 2))))))
#s(approx (/ 1 (* (* (* (* s s) c) x) x)) #s(hole binary64 (/ 1 (* c (* (pow s 2) (pow x 2))))))
#s(approx (* (* (* (* s s) c) x) x) #s(hole binary64 (* c (* (pow s 2) (pow x 2)))))
#s(approx (* (* (* s s) c) x) #s(hole binary64 (* c (* (pow s 2) x))))
#s(approx (/ (/ (cos (* 2 x)) (* c c)) (* (* (* s x) s) x)) #s(hole binary64 (/ 1 (* (pow c 2) (* (pow s 2) (pow x 2))))))
#s(approx (/ (/ (cos (* 2 x)) (* c c)) (* (* (* s x) s) x)) #s(hole binary64 (/ (+ (* -2 (/ (pow x 2) (* (pow c 2) (pow s 2)))) (/ 1 (* (pow c 2) (pow s 2)))) (pow x 2))))
#s(approx (/ (/ (cos (* 2 x)) (* c c)) (* (* (* s x) s) x)) #s(hole binary64 (/ (+ (* (pow x 2) (- (* 2/3 (/ (pow x 2) (* (pow c 2) (pow s 2)))) (* 2 (/ 1 (* (pow c 2) (pow s 2)))))) (/ 1 (* (pow c 2) (pow s 2)))) (pow x 2))))
#s(approx (/ (/ (cos (* 2 x)) (* c c)) (* (* (* s x) s) x)) #s(hole binary64 (/ (+ (* (pow x 2) (- (* (pow x 2) (+ (* -4/45 (/ (pow x 2) (* (pow c 2) (pow s 2)))) (* 2/3 (/ 1 (* (pow c 2) (pow s 2)))))) (* 2 (/ 1 (* (pow c 2) (pow s 2)))))) (/ 1 (* (pow c 2) (pow s 2)))) (pow x 2))))
#s(approx (/ (cos (* 2 x)) (* c c)) #s(hole binary64 (/ 1 (pow c 2))))
#s(approx (/ (cos (* 2 x)) (* c c)) #s(hole binary64 (+ (* -2 (/ (pow x 2) (pow c 2))) (/ 1 (pow c 2)))))
#s(approx (/ (cos (* 2 x)) (* c c)) #s(hole binary64 (+ (* (pow x 2) (- (* 2/3 (/ (pow x 2) (pow c 2))) (* 2 (/ 1 (pow c 2))))) (/ 1 (pow c 2)))))
#s(approx (/ (cos (* 2 x)) (* c c)) #s(hole binary64 (+ (* (pow x 2) (- (* (pow x 2) (+ (* -4/45 (/ (pow x 2) (pow c 2))) (* 2/3 (/ 1 (pow c 2))))) (* 2 (/ 1 (pow c 2))))) (/ 1 (pow c 2)))))
#s(approx (cos (* 2 x)) #s(hole binary64 1))
#s(approx (cos (* 2 x)) #s(hole binary64 (+ 1 (* -2 (pow x 2)))))
#s(approx (cos (* 2 x)) #s(hole binary64 (+ 1 (* (pow x 2) (- (* 2/3 (pow x 2)) 2)))))
#s(approx (cos (* 2 x)) #s(hole binary64 (+ 1 (* (pow x 2) (- (* (pow x 2) (+ 2/3 (* -4/45 (pow x 2)))) 2)))))
#s(approx (+ (* (* x x) -2) 1) #s(hole binary64 1))
#s(approx (+ (* (* x x) -2) 1) #s(hole binary64 (+ 1 (* -2 (pow x 2)))))
#s(approx (* x x) #s(hole binary64 (pow x 2)))
#s(approx (* (* (* s x) s) x) #s(hole binary64 (* (pow s 2) (pow x 2))))
#s(approx (* (* s x) s) #s(hole binary64 (* (pow s 2) x)))
#s(approx (/ (cos (* 2 x)) (* (* (* (* c c) x) (* s s)) x)) #s(hole binary64 (/ 1 (* (pow c 2) (* (pow s 2) (pow x 2))))))
#s(approx (/ (cos (* 2 x)) (* (* (* (* c c) x) (* s s)) x)) #s(hole binary64 (/ (+ (* -2 (/ (pow x 2) (* (pow c 2) (pow s 2)))) (/ 1 (* (pow c 2) (pow s 2)))) (pow x 2))))
#s(approx (/ (cos (* 2 x)) (* (* (* (* c c) x) (* s s)) x)) #s(hole binary64 (/ (+ (* (pow x 2) (- (* 2/3 (/ (pow x 2) (* (pow c 2) (pow s 2)))) (* 2 (/ 1 (* (pow c 2) (pow s 2)))))) (/ 1 (* (pow c 2) (pow s 2)))) (pow x 2))))
#s(approx (/ (cos (* 2 x)) (* (* (* (* c c) x) (* s s)) x)) #s(hole binary64 (/ (+ (* (pow x 2) (- (* (pow x 2) (+ (* -4/45 (/ (pow x 2) (* (pow c 2) (pow s 2)))) (* 2/3 (/ 1 (* (pow c 2) (pow s 2)))))) (* 2 (/ 1 (* (pow c 2) (pow s 2)))))) (/ 1 (* (pow c 2) (pow s 2)))) (pow x 2))))
#s(approx (* 2 x) #s(hole binary64 (* 2 x)))
#s(approx (* (* (* (* c c) x) (* s s)) x) #s(hole binary64 (* (pow c 2) (* (pow s 2) (pow x 2)))))
#s(approx (* (* (* c c) x) (* s s)) #s(hole binary64 (* (pow c 2) (* (pow s 2) x))))
#s(approx (* (* c c) x) #s(hole binary64 (* (pow c 2) x)))
#s(approx (/ (cos (+ x x)) (* (* (* c x) s) (* (* c x) s))) #s(hole binary64 (/ (cos (* 2 x)) (* (pow c 2) (* (pow s 2) (pow x 2))))))
#s(approx (cos (+ x x)) #s(hole binary64 (cos (* 2 x))))
#s(approx (/ (cos (* 2 x)) (* (pow c 2) (* (* x (pow s 2)) x))) #s(hole binary64 (/ (cos (* 2 x)) (* (pow c 2) (* (pow s 2) (pow x 2))))))
#s(approx (/ (/ (cos (* 2 x)) (* c c)) (* (* (* s x) s) x)) #s(hole binary64 (/ (cos (* 2 x)) (* (pow c 2) (* (pow s 2) (pow x 2))))))
#s(approx (/ (cos (* 2 x)) (* c c)) #s(hole binary64 (/ (cos (* 2 x)) (pow c 2))))
#s(approx (cos (* 2 x)) #s(hole binary64 (cos (* 2 x))))
#s(approx (+ (* (* x x) -2) 1) #s(hole binary64 (* -2 (pow x 2))))
#s(approx (+ (* (* x x) -2) 1) #s(hole binary64 (* (pow x 2) (- (/ 1 (pow x 2)) 2))))
#s(approx (/ (cos (* 2 x)) (* (* (* (* c c) x) (* s s)) x)) #s(hole binary64 (/ (cos (* 2 x)) (* (pow c 2) (* (pow s 2) (pow x 2))))))
#s(approx (/ (cos (+ x x)) (* (* (* c x) s) (* (* c x) s))) #s(hole binary64 (/ (cos (neg (* -2 x))) (* (pow c 2) (* (pow s 2) (pow x 2))))))
#s(approx (cos (+ x x)) #s(hole binary64 (cos (neg (* -2 x)))))
#s(approx c #s(hole binary64 c))
#s(approx (* (* s s) c) #s(hole binary64 (* c (pow s 2))))
#s(approx (* c c) #s(hole binary64 (pow c 2)))
#s(approx s #s(hole binary64 s))
#s(approx (* s s) #s(hole binary64 (pow s 2)))
Outputs
(/.f64 (/.f64 (cos.f64 (+.f64 x x)) (*.f64 (*.f64 c s) x)) (*.f64 (*.f64 c s) x))
(/.f64 (neg.f64 (cos.f64 (+.f64 x x))) (neg.f64 (*.f64 (*.f64 (*.f64 (*.f64 s x) s) x) (*.f64 c c))))
(/.f64 (cos.f64 (+.f64 x x)) (*.f64 (*.f64 (*.f64 (*.f64 s x) s) x) (*.f64 c c)))
(sin.f64 (fma.f64 #s(literal 2 binary64) x (/.f64 (PI.f64) #s(literal 2 binary64))))
(-.f64 (*.f64 (cos.f64 x) (cos.f64 x)) (*.f64 (sin.f64 x) (sin.f64 x)))
(cos.f64 (neg.f64 (+.f64 x x)))
(cos.f64 (*.f64 #s(literal -2 binary64) x))
(cos.f64 (+.f64 x x))
(*.f64 #s(literal -2 binary64) (neg.f64 x))
(*.f64 #s(literal 2 binary64) x)
(*.f64 x #s(literal 2 binary64))
(/.f64 (-.f64 (*.f64 x x) (*.f64 x x)) (-.f64 x x))
(/.f64 (+.f64 (pow.f64 x #s(literal 3 binary64)) (pow.f64 x #s(literal 3 binary64))) (fma.f64 x x (-.f64 (*.f64 x x) (*.f64 x x))))
(neg.f64 (*.f64 #s(literal -2 binary64) x))
(+.f64 x x)
x
(*.f64 (*.f64 (*.f64 (*.f64 c s) x) (*.f64 s x)) c)
(*.f64 (*.f64 (*.f64 (*.f64 c s) x) (*.f64 c x)) s)
(*.f64 (*.f64 (*.f64 c x) (*.f64 c x)) (*.f64 s s))
(*.f64 (neg.f64 (*.f64 (*.f64 c s) x)) (neg.f64 (*.f64 (*.f64 c s) x)))
(*.f64 (fabs.f64 (*.f64 (*.f64 c s) x)) (fabs.f64 (*.f64 (*.f64 c s) x)))
(*.f64 (*.f64 (*.f64 (*.f64 s x) s) x) (*.f64 c c))
(*.f64 (*.f64 s x) (*.f64 c (*.f64 (*.f64 c s) x)))
(*.f64 (*.f64 c x) (*.f64 s (*.f64 (*.f64 c s) x)))
(*.f64 (*.f64 (*.f64 c s) x) (*.f64 (*.f64 c s) x))
(pow.f64 (*.f64 (*.f64 c s) x) #s(literal 2 binary64))
(*.f64 (*.f64 c s) x)
(*.f64 (*.f64 s x) c)
(*.f64 (*.f64 c x) s)
(*.f64 s (*.f64 c x))
(*.f64 c (*.f64 s x))
(*.f64 c x)
(*.f64 x c)
c
s
#s(approx (/ (cos (* 2 x)) (* (* (* (* c c) x) (* s s)) x)) (/.f64 #s(literal 1 binary64) (*.f64 (*.f64 (*.f64 (*.f64 s x) s) x) (*.f64 c c))))
(pow.f64 (*.f64 (*.f64 (*.f64 (*.f64 s x) s) x) (*.f64 c c)) #s(literal -1 binary64))
(/.f64 (/.f64 #s(literal 1 binary64) (*.f64 (*.f64 c s) x)) (*.f64 (*.f64 c s) x))
(/.f64 #s(literal -1 binary64) (neg.f64 (*.f64 (*.f64 (*.f64 (*.f64 s x) s) x) (*.f64 c c))))
(/.f64 #s(literal 1 binary64) (*.f64 (*.f64 (*.f64 (*.f64 s x) s) x) (*.f64 c c)))
#s(literal 1 binary64)
(*.f64 (*.f64 (*.f64 (*.f64 c s) x) (*.f64 s x)) c)
(*.f64 (*.f64 (*.f64 (*.f64 c s) x) (*.f64 c x)) s)
(*.f64 (*.f64 (*.f64 c x) (*.f64 c x)) (*.f64 s s))
(*.f64 (neg.f64 (*.f64 (*.f64 c s) x)) (neg.f64 (*.f64 (*.f64 c s) x)))
(*.f64 (fabs.f64 (*.f64 (*.f64 c s) x)) (fabs.f64 (*.f64 (*.f64 c s) x)))
(*.f64 (*.f64 (*.f64 (*.f64 s x) s) x) (*.f64 c c))
(*.f64 (*.f64 s x) (*.f64 c (*.f64 (*.f64 c s) x)))
(*.f64 (*.f64 c x) (*.f64 s (*.f64 (*.f64 c s) x)))
(*.f64 (*.f64 (*.f64 c s) x) (*.f64 (*.f64 c s) x))
(pow.f64 (*.f64 (*.f64 c s) x) #s(literal 2 binary64))
(*.f64 (*.f64 c s) x)
(*.f64 (*.f64 s x) c)
(*.f64 (*.f64 c x) s)
(*.f64 s (*.f64 c x))
(*.f64 c (*.f64 s x))
(*.f64 s x)
(*.f64 x s)
#s(approx (/ (cos (* 2 x)) (* (* (* (* c c) x) (* s s)) x)) (/.f64 #s(literal 1 binary64) (*.f64 (*.f64 (*.f64 (*.f64 (*.f64 s s) c) x) x) c)))
(/.f64 (neg.f64 (/.f64 #s(literal 1 binary64) (*.f64 (*.f64 (*.f64 (*.f64 s s) c) x) x))) (neg.f64 c))
(/.f64 (/.f64 #s(literal 1 binary64) (*.f64 (*.f64 (*.f64 (*.f64 s s) c) x) x)) c)
(/.f64 #s(literal 1 binary64) (*.f64 (*.f64 (*.f64 (*.f64 (*.f64 s s) c) x) x) c))
(pow.f64 (*.f64 (*.f64 (*.f64 (*.f64 s s) c) x) x) #s(literal -1 binary64))
(/.f64 (/.f64 #s(literal 1 binary64) (*.f64 (*.f64 (*.f64 s s) c) x)) x)
(/.f64 (/.f64 #s(literal 1 binary64) c) (*.f64 (*.f64 x x) (*.f64 s s)))
(/.f64 #s(literal -1 binary64) (neg.f64 (*.f64 (*.f64 (*.f64 (*.f64 s s) c) x) x)))
(/.f64 #s(literal 1 binary64) (*.f64 (*.f64 (*.f64 (*.f64 s s) c) x) x))
(*.f64 (*.f64 (*.f64 x x) (*.f64 s s)) c)
(*.f64 (*.f64 (*.f64 (*.f64 s s) c) x) x)
(*.f64 (*.f64 (*.f64 s s) c) (*.f64 x x))
(*.f64 c (*.f64 (*.f64 x x) (*.f64 s s)))
(*.f64 x (*.f64 (*.f64 (*.f64 s s) c) x))
(*.f64 (*.f64 (*.f64 s s) x) c)
(*.f64 (*.f64 (*.f64 s s) c) x)
(*.f64 (*.f64 s s) (*.f64 c x))
(*.f64 c (*.f64 (*.f64 s s) x))
(*.f64 x (*.f64 (*.f64 s s) c))
(*.f64 (*.f64 s s) c)
(*.f64 s (*.f64 s c))
(*.f64 c (*.f64 s s))
(*.f64 (pow.f64 s #s(literal 1 binary64)) (pow.f64 s #s(literal 1 binary64)))
(*.f64 (neg.f64 s) (neg.f64 s))
(*.f64 (fabs.f64 s) (fabs.f64 s))
(*.f64 s s)
(pow.f64 s #s(literal 2 binary64))
(exp.f64 (*.f64 (log.f64 s) #s(literal 2 binary64)))
(/.f64 (/.f64 (/.f64 #s(approx (cos (+ x x)) (fma.f64 (*.f64 x x) #s(literal -2 binary64) #s(literal 1 binary64))) (*.f64 c c)) (*.f64 (*.f64 s x) s)) x)
(/.f64 (neg.f64 (/.f64 #s(approx (cos (+ x x)) (fma.f64 (*.f64 x x) #s(literal -2 binary64) #s(literal 1 binary64))) (*.f64 c c))) (neg.f64 (*.f64 (*.f64 (*.f64 s x) s) x)))
(/.f64 (/.f64 #s(approx (cos (+ x x)) (fma.f64 (*.f64 x x) #s(literal -2 binary64) #s(literal 1 binary64))) (*.f64 c c)) (*.f64 (*.f64 (*.f64 s x) s) x))
(/.f64 #s(approx (cos (+ x x)) (fma.f64 (*.f64 x x) #s(literal -2 binary64) #s(literal 1 binary64))) (*.f64 (*.f64 c c) (*.f64 (*.f64 (*.f64 s x) s) x)))
(/.f64 (/.f64 #s(approx (cos (+ x x)) (fma.f64 (*.f64 x x) #s(literal -2 binary64) #s(literal 1 binary64))) c) c)
(/.f64 (neg.f64 #s(approx (cos (+ x x)) (fma.f64 (*.f64 x x) #s(literal -2 binary64) #s(literal 1 binary64)))) (neg.f64 (*.f64 c c)))
(/.f64 #s(approx (cos (+ x x)) (fma.f64 (*.f64 x x) #s(literal -2 binary64) #s(literal 1 binary64))) (*.f64 c c))
#s(approx (cos (+ x x)) (fma.f64 (*.f64 x x) #s(literal -2 binary64) #s(literal 1 binary64)))
(/.f64 (-.f64 (*.f64 (*.f64 (*.f64 x x) #s(literal -2 binary64)) (*.f64 (*.f64 x x) #s(literal -2 binary64))) #s(literal 1 binary64)) (-.f64 (*.f64 (*.f64 x x) #s(literal -2 binary64)) #s(literal 1 binary64)))
(/.f64 (-.f64 #s(literal 1 binary64) (*.f64 (*.f64 (*.f64 x x) #s(literal -2 binary64)) (*.f64 (*.f64 x x) #s(literal -2 binary64)))) (-.f64 #s(literal 1 binary64) (*.f64 (*.f64 x x) #s(literal -2 binary64))))
(/.f64 (+.f64 (pow.f64 (*.f64 (*.f64 x x) #s(literal -2 binary64)) #s(literal 3 binary64)) #s(literal 1 binary64)) (fma.f64 (*.f64 (*.f64 x x) #s(literal -2 binary64)) (*.f64 (*.f64 x x) #s(literal -2 binary64)) (-.f64 #s(literal 1 binary64) (*.f64 (*.f64 (*.f64 x x) #s(literal -2 binary64)) #s(literal 1 binary64)))))
(/.f64 (+.f64 #s(literal 1 binary64) (pow.f64 (*.f64 (*.f64 x x) #s(literal -2 binary64)) #s(literal 3 binary64))) (+.f64 #s(literal 1 binary64) (-.f64 (*.f64 (*.f64 (*.f64 x x) #s(literal -2 binary64)) (*.f64 (*.f64 x x) #s(literal -2 binary64))) (*.f64 #s(literal 1 binary64) (*.f64 (*.f64 x x) #s(literal -2 binary64))))))
(fma.f64 (*.f64 x x) #s(literal -2 binary64) #s(literal 1 binary64))
(fma.f64 #s(literal -2 binary64) (*.f64 x x) #s(literal 1 binary64))
(fma.f64 x (*.f64 #s(literal -2 binary64) x) #s(literal 1 binary64))
(-.f64 #s(literal 1 binary64) (*.f64 #s(literal 2 binary64) (*.f64 x x)))
(+.f64 (*.f64 (*.f64 x x) #s(literal -2 binary64)) #s(literal 1 binary64))
(+.f64 #s(literal 1 binary64) (*.f64 (*.f64 x x) #s(literal -2 binary64)))
(*.f64 (pow.f64 x #s(literal 1 binary64)) (pow.f64 x #s(literal 1 binary64)))
(*.f64 (neg.f64 x) (neg.f64 x))
(*.f64 (fabs.f64 x) (fabs.f64 x))
(*.f64 x x)
(pow.f64 x #s(literal 2 binary64))
(exp.f64 (*.f64 (log.f64 x) #s(literal 2 binary64)))
#s(literal -2 binary64)
(*.f64 (pow.f64 c #s(literal 1 binary64)) (pow.f64 c #s(literal 1 binary64)))
(*.f64 (neg.f64 c) (neg.f64 c))
(*.f64 (fabs.f64 c) (fabs.f64 c))
(*.f64 c c)
(pow.f64 c #s(literal 2 binary64))
(exp.f64 (*.f64 (log.f64 c) #s(literal 2 binary64)))
(*.f64 (*.f64 (*.f64 s x) s) x)
(*.f64 (*.f64 s x) (*.f64 s x))
(*.f64 x (*.f64 (*.f64 s x) s))
(*.f64 (*.f64 s x) s)
(*.f64 s (*.f64 s x))
(/.f64 (/.f64 (cos.f64 (+.f64 x x)) (*.f64 (*.f64 (*.f64 (*.f64 c c) x) s) s)) x)
(/.f64 (neg.f64 (cos.f64 (+.f64 x x))) (neg.f64 (*.f64 (*.f64 (*.f64 c c) x) (*.f64 (*.f64 s s) x))))
(/.f64 (/.f64 (cos.f64 (+.f64 x x)) (*.f64 c c)) (*.f64 (*.f64 (*.f64 s s) x) x))
(/.f64 (cos.f64 (+.f64 x x)) (*.f64 (*.f64 (*.f64 c c) x) (*.f64 (*.f64 s s) x)))
(sin.f64 (fma.f64 #s(literal 2 binary64) x (/.f64 (PI.f64) #s(literal 2 binary64))))
(-.f64 (*.f64 (cos.f64 x) (cos.f64 x)) (*.f64 (sin.f64 x) (sin.f64 x)))
(cos.f64 (neg.f64 (+.f64 x x)))
(cos.f64 (*.f64 #s(literal -2 binary64) x))
(cos.f64 (+.f64 x x))
(*.f64 #s(literal -2 binary64) (neg.f64 x))
(*.f64 #s(literal 2 binary64) x)
(*.f64 x #s(literal 2 binary64))
(/.f64 (-.f64 (*.f64 x x) (*.f64 x x)) (-.f64 x x))
(/.f64 (+.f64 (pow.f64 x #s(literal 3 binary64)) (pow.f64 x #s(literal 3 binary64))) (fma.f64 x x (-.f64 (*.f64 x x) (*.f64 x x))))
(neg.f64 (*.f64 #s(literal -2 binary64) x))
(+.f64 x x)
#s(literal 2 binary64)
(*.f64 (*.f64 (*.f64 (*.f64 (*.f64 c c) x) s) s) x)
(*.f64 (*.f64 (*.f64 c c) x) (*.f64 (*.f64 s s) x))
(*.f64 (*.f64 (*.f64 (*.f64 s s) x) x) (*.f64 c c))
(*.f64 (*.f64 c c) (*.f64 (*.f64 (*.f64 s s) x) x))
(*.f64 x (*.f64 (*.f64 (*.f64 (*.f64 c c) x) s) s))
(*.f64 (*.f64 (*.f64 (*.f64 c c) x) s) s)
(*.f64 (*.f64 (*.f64 s s) x) (*.f64 c c))
(*.f64 (*.f64 (*.f64 c c) x) (*.f64 s s))
(*.f64 (*.f64 (*.f64 s s) (*.f64 c c)) x)
(*.f64 (*.f64 s s) (*.f64 (*.f64 c c) x))
(*.f64 (*.f64 c c) (*.f64 (*.f64 s s) x))
(*.f64 (*.f64 c c) x)
(*.f64 c (*.f64 c x))
(*.f64 x (*.f64 c c))
#s(approx (/ (cos (+ x x)) (* (* (* c x) s) (* (* c x) s))) (/.f64 #s(literal 1 binary64) (*.f64 (*.f64 (*.f64 x x) (*.f64 s s)) (*.f64 c c))))
#s(approx (/ (cos (+ x x)) (* (* (* c x) s) (* (* c x) s))) (/.f64 (fma.f64 (/.f64 (*.f64 x x) (*.f64 (*.f64 s s) (*.f64 c c))) #s(literal -2 binary64) (/.f64 #s(literal 1 binary64) (*.f64 (*.f64 s s) (*.f64 c c)))) (*.f64 x x)))
#s(approx (/ (cos (+ x x)) (* (* (* c x) s) (* (* c x) s))) (/.f64 (fma.f64 (-.f64 (*.f64 (/.f64 (*.f64 x x) (*.f64 (*.f64 s s) (*.f64 c c))) #s(literal 2/3 binary64)) (/.f64 #s(literal 2 binary64) (*.f64 (*.f64 s s) (*.f64 c c)))) (*.f64 x x) (/.f64 #s(literal 1 binary64) (*.f64 (*.f64 s s) (*.f64 c c)))) (*.f64 x x)))
#s(approx (/ (cos (+ x x)) (* (* (* c x) s) (* (* c x) s))) (/.f64 (fma.f64 (-.f64 (*.f64 (fma.f64 #s(literal -4/45 binary64) (/.f64 (*.f64 x x) (*.f64 (*.f64 s s) (*.f64 c c))) (/.f64 #s(literal 2/3 binary64) (*.f64 (*.f64 s s) (*.f64 c c)))) (*.f64 x x)) (/.f64 #s(literal 2 binary64) (*.f64 (*.f64 s s) (*.f64 c c)))) (*.f64 x x) (/.f64 #s(literal 1 binary64) (*.f64 (*.f64 s s) (*.f64 c c)))) (*.f64 x x)))
#s(approx (cos (+ x x)) #s(literal 1 binary64))
#s(approx (cos (+ x x)) (fma.f64 (*.f64 x x) #s(literal -2 binary64) #s(literal 1 binary64)))
#s(approx (cos (+ x x)) (fma.f64 (-.f64 (*.f64 #s(literal 2/3 binary64) (*.f64 x x)) #s(literal 2 binary64)) (*.f64 x x) #s(literal 1 binary64)))
#s(approx (cos (+ x x)) (fma.f64 (-.f64 (*.f64 (fma.f64 #s(literal -4/45 binary64) (*.f64 x x) #s(literal 2/3 binary64)) (*.f64 x x)) #s(literal 2 binary64)) (*.f64 x x) #s(literal 1 binary64)))
#s(approx (+ x x) (+.f64 x x))
#s(approx x x)
#s(approx (* (* (* c x) s) (* (* c x) s)) (*.f64 (*.f64 (*.f64 x x) (*.f64 s s)) (*.f64 c c)))
#s(approx (* (* c x) s) (*.f64 (*.f64 c s) x))
#s(approx (* c x) (*.f64 c x))
#s(approx (/ (cos (* 2 x)) (* (* (* (* c c) x) (* s s)) x)) (/.f64 #s(literal 1 binary64) (*.f64 (*.f64 (*.f64 x x) (*.f64 s s)) (*.f64 c c))))
#s(approx (/ (cos (* 2 x)) (* (* (* (* c c) x) (* s s)) x)) (/.f64 (fma.f64 (/.f64 (*.f64 x x) (*.f64 (*.f64 s s) (*.f64 c c))) #s(literal -2 binary64) (/.f64 #s(literal 1 binary64) (*.f64 (*.f64 s s) (*.f64 c c)))) (*.f64 x x)))
#s(approx (/ (cos (* 2 x)) (* (* (* (* c c) x) (* s s)) x)) (/.f64 (fma.f64 (-.f64 (*.f64 (/.f64 (*.f64 x x) (*.f64 (*.f64 s s) (*.f64 c c))) #s(literal 2/3 binary64)) (/.f64 #s(literal 2 binary64) (*.f64 (*.f64 s s) (*.f64 c c)))) (*.f64 x x) (/.f64 #s(literal 1 binary64) (*.f64 (*.f64 s s) (*.f64 c c)))) (*.f64 x x)))
#s(approx (/ (cos (* 2 x)) (* (* (* (* c c) x) (* s s)) x)) (/.f64 (fma.f64 (-.f64 (*.f64 (fma.f64 #s(literal -4/45 binary64) (/.f64 (*.f64 x x) (*.f64 (*.f64 s s) (*.f64 c c))) (/.f64 #s(literal 2/3 binary64) (*.f64 (*.f64 s s) (*.f64 c c)))) (*.f64 x x)) (/.f64 #s(literal 2 binary64) (*.f64 (*.f64 s s) (*.f64 c c)))) (*.f64 x x) (/.f64 #s(literal 1 binary64) (*.f64 (*.f64 s s) (*.f64 c c)))) (*.f64 x x)))
#s(approx (/ 1 (* (* (* s x) c) (* (* s x) c))) (/.f64 #s(literal 1 binary64) (*.f64 (*.f64 (*.f64 x x) (*.f64 s s)) (*.f64 c c))))
#s(approx (* (* (* c x) s) (* (* c x) s)) (*.f64 (*.f64 (*.f64 x x) (*.f64 s s)) (*.f64 c c)))
#s(approx (* (* c x) s) (*.f64 (*.f64 c s) x))
#s(approx (* s x) (*.f64 s x))
#s(approx (/ (/ 1 (* (* (* (* s s) c) x) x)) c) (/.f64 #s(literal 1 binary64) (*.f64 (*.f64 (*.f64 x x) (*.f64 s s)) (*.f64 c c))))
#s(approx (/ 1 (* (* (* (* s s) c) x) x)) (/.f64 #s(literal 1 binary64) (*.f64 (*.f64 (*.f64 (*.f64 s s) c) x) x)))
#s(approx (* (* (* (* s s) c) x) x) (*.f64 (*.f64 (*.f64 (*.f64 s s) c) x) x))
#s(approx (* (* (* s s) c) x) (*.f64 (*.f64 (*.f64 s s) c) x))
#s(approx (/ (/ (cos (* 2 x)) (* c c)) (* (* (* s x) s) x)) (/.f64 #s(literal 1 binary64) (*.f64 (*.f64 (*.f64 x x) (*.f64 s s)) (*.f64 c c))))
#s(approx (/ (/ (cos (* 2 x)) (* c c)) (* (* (* s x) s) x)) (/.f64 (fma.f64 (/.f64 (*.f64 x x) (*.f64 (*.f64 s s) (*.f64 c c))) #s(literal -2 binary64) (/.f64 #s(literal 1 binary64) (*.f64 (*.f64 s s) (*.f64 c c)))) (*.f64 x x)))
#s(approx (/ (/ (cos (* 2 x)) (* c c)) (* (* (* s x) s) x)) (/.f64 (fma.f64 (-.f64 (*.f64 (/.f64 (*.f64 x x) (*.f64 (*.f64 s s) (*.f64 c c))) #s(literal 2/3 binary64)) (/.f64 #s(literal 2 binary64) (*.f64 (*.f64 s s) (*.f64 c c)))) (*.f64 x x) (/.f64 #s(literal 1 binary64) (*.f64 (*.f64 s s) (*.f64 c c)))) (*.f64 x x)))
#s(approx (/ (/ (cos (* 2 x)) (* c c)) (* (* (* s x) s) x)) (/.f64 (fma.f64 (-.f64 (*.f64 (fma.f64 #s(literal -4/45 binary64) (/.f64 (*.f64 x x) (*.f64 (*.f64 s s) (*.f64 c c))) (/.f64 #s(literal 2/3 binary64) (*.f64 (*.f64 s s) (*.f64 c c)))) (*.f64 x x)) (/.f64 #s(literal 2 binary64) (*.f64 (*.f64 s s) (*.f64 c c)))) (*.f64 x x) (/.f64 #s(literal 1 binary64) (*.f64 (*.f64 s s) (*.f64 c c)))) (*.f64 x x)))
#s(approx (/ (cos (* 2 x)) (* c c)) (/.f64 #s(literal 1 binary64) (*.f64 c c)))
#s(approx (/ (cos (* 2 x)) (* c c)) (fma.f64 (/.f64 (*.f64 x x) (*.f64 c c)) #s(literal -2 binary64) (/.f64 #s(literal 1 binary64) (*.f64 c c))))
#s(approx (/ (cos (* 2 x)) (* c c)) (fma.f64 (-.f64 (/.f64 (*.f64 #s(literal 2/3 binary64) (*.f64 x x)) (*.f64 c c)) (/.f64 #s(literal 2 binary64) (*.f64 c c))) (*.f64 x x) (/.f64 #s(literal 1 binary64) (*.f64 c c))))
#s(approx (/ (cos (* 2 x)) (* c c)) (fma.f64 (-.f64 (*.f64 (*.f64 x x) (fma.f64 (/.f64 (*.f64 x x) (*.f64 c c)) #s(literal -4/45 binary64) (/.f64 #s(literal 2/3 binary64) (*.f64 c c)))) (/.f64 #s(literal 2 binary64) (*.f64 c c))) (*.f64 x x) (/.f64 #s(literal 1 binary64) (*.f64 c c))))
#s(approx (cos (+ x x)) #s(literal 1 binary64))
#s(approx (cos (+ x x)) (fma.f64 (*.f64 x x) #s(literal -2 binary64) #s(literal 1 binary64)))
#s(approx (cos (+ x x)) (fma.f64 (-.f64 (*.f64 #s(literal 2/3 binary64) (*.f64 x x)) #s(literal 2 binary64)) (*.f64 x x) #s(literal 1 binary64)))
#s(approx (cos (+ x x)) (fma.f64 (-.f64 (*.f64 (fma.f64 #s(literal -4/45 binary64) (*.f64 x x) #s(literal 2/3 binary64)) (*.f64 x x)) #s(literal 2 binary64)) (*.f64 x x) #s(literal 1 binary64)))
#s(approx (+ (* (* x x) -2) 1) #s(literal 1 binary64))
#s(approx (+ (* (* x x) -2) 1) (fma.f64 (*.f64 x x) #s(literal -2 binary64) #s(literal 1 binary64)))
#s(approx (* x x) (*.f64 x x))
#s(approx (* (* (* s x) s) x) (*.f64 (*.f64 x x) (*.f64 s s)))
#s(approx (* (* s x) s) (*.f64 (*.f64 s s) x))
#s(approx (/ (cos (* 2 x)) (* (* (* (* c c) x) (* s s)) x)) (/.f64 #s(literal 1 binary64) (*.f64 (*.f64 (*.f64 x x) (*.f64 s s)) (*.f64 c c))))
#s(approx (/ (cos (* 2 x)) (* (* (* (* c c) x) (* s s)) x)) (/.f64 (fma.f64 (/.f64 (*.f64 x x) (*.f64 (*.f64 s s) (*.f64 c c))) #s(literal -2 binary64) (/.f64 #s(literal 1 binary64) (*.f64 (*.f64 s s) (*.f64 c c)))) (*.f64 x x)))
#s(approx (/ (cos (* 2 x)) (* (* (* (* c c) x) (* s s)) x)) (/.f64 (fma.f64 (-.f64 (*.f64 (/.f64 (*.f64 x x) (*.f64 (*.f64 s s) (*.f64 c c))) #s(literal 2/3 binary64)) (/.f64 #s(literal 2 binary64) (*.f64 (*.f64 s s) (*.f64 c c)))) (*.f64 x x) (/.f64 #s(literal 1 binary64) (*.f64 (*.f64 s s) (*.f64 c c)))) (*.f64 x x)))
#s(approx (/ (cos (* 2 x)) (* (* (* (* c c) x) (* s s)) x)) (/.f64 (fma.f64 (-.f64 (*.f64 (fma.f64 #s(literal -4/45 binary64) (/.f64 (*.f64 x x) (*.f64 (*.f64 s s) (*.f64 c c))) (/.f64 #s(literal 2/3 binary64) (*.f64 (*.f64 s s) (*.f64 c c)))) (*.f64 x x)) (/.f64 #s(literal 2 binary64) (*.f64 (*.f64 s s) (*.f64 c c)))) (*.f64 x x) (/.f64 #s(literal 1 binary64) (*.f64 (*.f64 s s) (*.f64 c c)))) (*.f64 x x)))
#s(approx (+ x x) (+.f64 x x))
#s(approx (* (* (* (* c c) x) (* s s)) x) (*.f64 (*.f64 (*.f64 x x) (*.f64 s s)) (*.f64 c c)))
#s(approx (* (* (* c c) x) (* s s)) (*.f64 (*.f64 (*.f64 (*.f64 c c) x) s) s))
#s(approx (* (* c c) x) (*.f64 (*.f64 c c) x))
#s(approx (/ (cos (+ x x)) (* (* (* c x) s) (* (* c x) s))) (/.f64 (cos.f64 (+.f64 x x)) (*.f64 (*.f64 (*.f64 x x) (*.f64 s s)) (*.f64 c c))))
#s(approx (cos (+ x x)) (cos.f64 (+.f64 x x)))
#s(approx (/ (cos (* 2 x)) (* (* (* (* c c) x) (* s s)) x)) (/.f64 (cos.f64 (+.f64 x x)) (*.f64 (*.f64 (*.f64 x x) (*.f64 s s)) (*.f64 c c))))
#s(approx (/ (/ (cos (* 2 x)) (* c c)) (* (* (* s x) s) x)) (/.f64 (cos.f64 (+.f64 x x)) (*.f64 (*.f64 (*.f64 x x) (*.f64 s s)) (*.f64 c c))))
#s(approx (/ (cos (* 2 x)) (* c c)) (/.f64 (cos.f64 (+.f64 x x)) (*.f64 c c)))
#s(approx (cos (+ x x)) (cos.f64 (+.f64 x x)))
#s(approx (+ (* (* x x) -2) 1) (*.f64 (*.f64 x x) #s(literal -2 binary64)))
#s(approx (+ (* (* x x) -2) 1) (*.f64 (-.f64 (/.f64 #s(literal 1 binary64) (*.f64 x x)) #s(literal 2 binary64)) (*.f64 x x)))
#s(approx (/ (cos (* 2 x)) (* (* (* (* c c) x) (* s s)) x)) (/.f64 (cos.f64 (+.f64 x x)) (*.f64 (*.f64 (*.f64 x x) (*.f64 s s)) (*.f64 c c))))
#s(approx (/ (cos (+ x x)) (* (* (* c x) s) (* (* c x) s))) (/.f64 (cos.f64 (+.f64 x x)) (*.f64 (*.f64 (*.f64 x x) (*.f64 s s)) (*.f64 c c))))
#s(approx (cos (+ x x)) (cos.f64 (+.f64 x x)))
#s(approx c c)
#s(approx (* (* s s) c) (*.f64 (*.f64 s s) c))
#s(approx (* c c) (*.f64 c c))
#s(approx s s)
#s(approx (* s s) (*.f64 s s))

eval16.0ms (0.6%)

Memory
27.7MiB live, 27.7MiB allocated; 0ms collecting garbage
Compiler

Compiled 1 741 to 808 computations (53.6% saved)

prune35.0ms (1.3%)

Memory
-1.6MiB live, 45.6MiB allocated; 4ms collecting garbage
Pruning

35 alts after pruning (32 fresh and 3 done)

PrunedKeptTotal
New19214206
Fresh101828
Picked235
Done000
Total20435239
Accuracy
100.0%
Counts
239 → 35
Alt Table
Click to see full alt table
StatusAccuracyProgram
69.3%
(/.f64 (/.f64 (cos.f64 (+.f64 x x)) (*.f64 (*.f64 (*.f64 s s) x) (*.f64 c c))) x)
96.3%
(/.f64 (/.f64 (cos.f64 (+.f64 x x)) (*.f64 (*.f64 c s) x)) (*.f64 (*.f64 c s) x))
77.2%
(/.f64 (/.f64 (cos.f64 (+.f64 x x)) (*.f64 c c)) (*.f64 (*.f64 (*.f64 s x) s) x))
56.9%
(/.f64 (/.f64 #s(approx (cos (* 2 x)) (fma.f64 (*.f64 x x) #s(literal -2 binary64) #s(literal 1 binary64))) (*.f64 c c)) (*.f64 (*.f64 (*.f64 s x) s) x))
56.0%
(/.f64 (/.f64 #s(approx (cos (* 2 x)) (fma.f64 (*.f64 x x) #s(literal -2 binary64) #s(literal 1 binary64))) (exp.f64 (*.f64 (log.f64 c) #s(literal 2 binary64)))) (*.f64 (*.f64 (*.f64 s x) s) x))
56.9%
(/.f64 (/.f64 #s(approx (cos (* 2 x)) (fma.f64 (exp.f64 (*.f64 (log.f64 x) #s(literal 2 binary64))) #s(literal -2 binary64) #s(literal 1 binary64))) (*.f64 c c)) (*.f64 (*.f64 (*.f64 s x) s) x))
20.6%
(/.f64 (/.f64 #s(approx (cos (* 2 x)) #s(approx (+ (* (* x x) -2) 1) (*.f64 (*.f64 x x) #s(literal -2 binary64)))) (*.f64 c c)) (*.f64 (*.f64 (*.f64 s x) s) x))
97.2%
(/.f64 (cos.f64 (+.f64 x x)) (*.f64 (*.f64 (*.f64 s x) c) (*.f64 (*.f64 c x) s)))
77.7%
(/.f64 (cos.f64 (+.f64 x x)) (*.f64 (*.f64 (*.f64 c x) (*.f64 c x)) (*.f64 s s)))
96.4%
(/.f64 (cos.f64 (+.f64 x x)) (*.f64 (*.f64 (*.f64 c s) x) (*.f64 (*.f64 c s) x)))
69.2%
(/.f64 (cos.f64 (+.f64 x x)) (*.f64 (*.f64 (*.f64 c c) x) (*.f64 (*.f64 s s) x)))
92.1%
(/.f64 (cos.f64 (+.f64 x x)) (*.f64 (*.f64 c x) (*.f64 s (*.f64 (*.f64 c s) x))))
75.4%
(/.f64 (cos.f64 (*.f64 #s(literal 2 binary64) x)) (*.f64 (*.f64 (*.f64 c (*.f64 c x)) (*.f64 s s)) x))
77.7%
(/.f64 (cos.f64 (*.f64 #s(literal 2 binary64) x)) (*.f64 (*.f64 (*.f64 c c) (*.f64 (*.f64 s x) s)) x))
68.2%
(/.f64 #s(approx (/ (cos (+ x x)) (* (* (* c c) x) (* s s))) (/.f64 #s(literal 1 binary64) (*.f64 (*.f64 (*.f64 (*.f64 c c) x) s) s))) x)
78.3%
(/.f64 #s(approx (cos (+ x x)) #s(literal 1 binary64)) (*.f64 (*.f64 (*.f64 c x) s) (*.f64 (*.f64 c x) s)))
66.9%
(/.f64 #s(approx (cos (* 2 x)) (fma.f64 (*.f64 x x) #s(literal -2 binary64) #s(literal 1 binary64))) (*.f64 (*.f64 (*.f64 s x) c) (*.f64 (*.f64 s x) c)))
58.4%
(/.f64 #s(approx (cos (* 2 x)) (fma.f64 #s(literal -2 binary64) (*.f64 x x) #s(literal 1 binary64))) (*.f64 (*.f64 (*.f64 (*.f64 (*.f64 c c) x) s) s) x))
50.8%
(/.f64 #s(approx (cos (* 2 x)) (fma.f64 #s(literal -2 binary64) (*.f64 x x) #s(literal 1 binary64))) (*.f64 c (*.f64 c (*.f64 (*.f64 (*.f64 s s) x) x))))
58.2%
#s(approx (/ (/ (cos (+ x x)) (* (* (* c c) x) (* s s))) x) (/.f64 #s(literal 1 binary64) (*.f64 (*.f64 (*.f64 s s) c) (*.f64 (*.f64 x x) c))))
70.2%
#s(approx (/ (/ (cos (+ x x)) (* (* (* c c) x) (* s s))) x) (/.f64 #s(literal 1 binary64) (*.f64 (*.f64 c c) (*.f64 (*.f64 (*.f64 s x) s) x))))
61.9%
#s(approx (/ (cos (* 2 x)) (* (pow c 2) (* (* x (pow s 2)) x))) (/.f64 (/.f64 (/.f64 #s(literal 1 binary64) (*.f64 (*.f64 (*.f64 s s) c) x)) x) c))
67.4%
#s(approx (/ (cos (* 2 x)) (* (pow c 2) (* (* x (pow s 2)) x))) (/.f64 (/.f64 (/.f64 #s(literal 1 binary64) (*.f64 c c)) (*.f64 (*.f64 s x) s)) x))
69.4%
#s(approx (/ (cos (* 2 x)) (* (pow c 2) (* (* x (pow s 2)) x))) (/.f64 (/.f64 (/.f64 #s(literal 1 binary64) c) c) (*.f64 (*.f64 (*.f64 s x) s) x)))
61.8%
#s(approx (/ (cos (* 2 x)) (* (pow c 2) (* (* x (pow s 2)) x))) (/.f64 (/.f64 #s(literal 1 binary64) (*.f64 (*.f64 (*.f64 (*.f64 s s) c) x) x)) c))
61.5%
#s(approx (/ (cos (* 2 x)) (* (pow c 2) (* (* x (pow s 2)) x))) (/.f64 (/.f64 #s(literal 1 binary64) (*.f64 (*.f64 (*.f64 (exp.f64 (*.f64 (log.f64 s) #s(literal 2 binary64))) c) x) x)) c))
76.7%
#s(approx (/ (cos (* 2 x)) (* (pow c 2) (* (* x (pow s 2)) x))) (/.f64 (/.f64 #s(literal 1 binary64) (*.f64 (*.f64 c s) x)) (*.f64 (*.f64 c s) x)))
68.5%
#s(approx (/ (cos (* 2 x)) (* (pow c 2) (* (* x (pow s 2)) x))) (/.f64 (/.f64 #s(literal 1 binary64) (exp.f64 (*.f64 (log.f64 c) #s(literal 2 binary64)))) (*.f64 (*.f64 (*.f64 s x) s) x)))
61.8%
#s(approx (/ (cos (* 2 x)) (* (pow c 2) (* (* x (pow s 2)) x))) (/.f64 #s(literal 1 binary64) (*.f64 (*.f64 (*.f64 (*.f64 (*.f64 s s) c) x) x) c)))
62.0%
#s(approx (/ (cos (* 2 x)) (* (pow c 2) (* (* x (pow s 2)) x))) (/.f64 #s(literal 1 binary64) (*.f64 (*.f64 (*.f64 (*.f64 (exp.f64 (*.f64 (log.f64 s) #s(literal 2 binary64))) x) x) c) c)))
58.8%
#s(approx (/ (cos (* 2 x)) (* (pow c 2) (* (* x (pow s 2)) x))) (/.f64 #s(literal 1 binary64) (*.f64 (*.f64 (*.f64 (*.f64 x x) (*.f64 s s)) c) c)))
75.6%
#s(approx (/ (cos (* 2 x)) (* (pow c 2) (* (* x (pow s 2)) x))) (/.f64 #s(literal 1 binary64) (*.f64 (*.f64 (*.f64 (*.f64 s x) (*.f64 s x)) c) c)))
63.8%
#s(approx (/ (cos (* 2 x)) (* (pow c 2) (* (* x (pow s 2)) x))) (/.f64 #s(literal 1 binary64) (*.f64 (*.f64 (*.f64 (*.f64 c s) s) (*.f64 x x)) c)))
79.3%
#s(approx (/ (cos (* 2 x)) (* (pow c 2) (* (* x (pow s 2)) x))) (/.f64 #s(literal 1 binary64) (*.f64 (*.f64 (*.f64 s x) c) (*.f64 (*.f64 s x) c))))
58.5%
#s(approx (/ (cos (* 2 x)) (* (pow c 2) (* (* x (pow s 2)) x))) (/.f64 #s(literal 1 binary64) (*.f64 (*.f64 (*.f64 c (*.f64 s s)) (exp.f64 (*.f64 (log.f64 x) #s(literal 2 binary64)))) c)))
Compiler

Compiled 1 150 to 865 computations (24.8% saved)

regimes125.0ms (4.6%)

Memory
-4.8MiB live, 136.7MiB allocated; 49ms collecting garbage
Counts
67 → 1
Calls
Call 1
Inputs
#s(approx (/ (cos (* 2 x)) (* (pow c 2) (* (* x (pow s 2)) x))) (/.f64 #s(literal 1 binary64) (*.f64 (*.f64 (*.f64 c (*.f64 s s)) (*.f64 x x)) c)))
#s(approx (/ (cos (* 2 x)) (* (pow c 2) (* (* x (pow s 2)) x))) (/.f64 #s(literal 1 binary64) (*.f64 (*.f64 (*.f64 s x) c) (*.f64 (*.f64 s x) c))))
#s(approx (/ (cos (* 2 x)) (* (pow c 2) (* (* x (pow s 2)) x))) (/.f64 #s(literal 1 binary64) (*.f64 (*.f64 (*.f64 (*.f64 c s) s) (*.f64 x x)) c)))
#s(approx (/ (cos (* 2 x)) (* (pow c 2) (* (* x (pow s 2)) x))) (/.f64 #s(literal 1 binary64) (*.f64 (*.f64 (*.f64 (*.f64 s x) s) (*.f64 x c)) c)))
#s(approx (/ (cos (* 2 x)) (* (pow c 2) (* (* x (pow s 2)) x))) (/.f64 #s(literal 1 binary64) (*.f64 (*.f64 (*.f64 (*.f64 s x) (*.f64 s x)) c) c)))
#s(approx (/ (cos (* 2 x)) (* (pow c 2) (* (* x (pow s 2)) x))) (/.f64 #s(literal 1 binary64) (*.f64 (*.f64 (*.f64 (*.f64 x x) (*.f64 s s)) c) c)))
#s(approx (/ (cos (* 2 x)) (* (pow c 2) (* (* x (pow s 2)) x))) (/.f64 #s(literal 1 binary64) (*.f64 (*.f64 (*.f64 (*.f64 (*.f64 s s) c) x) x) c)))
#s(approx (/ (cos (* 2 x)) (* (pow c 2) (* (* x (pow s 2)) x))) (/.f64 #s(literal 1 binary64) (*.f64 (*.f64 (*.f64 (*.f64 (*.f64 s s) x) x) c) c)))
#s(approx (/ (cos (* 2 x)) (* (pow c 2) (* (* x (pow s 2)) x))) (/.f64 #s(literal 1 binary64) (*.f64 (*.f64 (*.f64 (*.f64 (*.f64 s x) s) x) c) c)))
#s(approx (/ (/ (cos (+ x x)) (* (* (* c c) x) (* s s))) x) (/.f64 #s(literal 1 binary64) (*.f64 (*.f64 c c) (*.f64 (*.f64 (*.f64 s x) s) x))))
#s(approx (/ (/ (cos (+ x x)) (* (* (* c c) x) (* s s))) x) (/.f64 #s(literal 1 binary64) (*.f64 (*.f64 (*.f64 s s) c) (*.f64 (*.f64 x x) c))))
#s(approx (/ (/ (cos (+ x x)) (* (* (* c c) x) (* s s))) x) (/.f64 #s(literal 1 binary64) (*.f64 (*.f64 (*.f64 x x) (*.f64 s s)) (*.f64 c c))))
(/.f64 #s(approx (cos (+ x x)) #s(literal 1 binary64)) (*.f64 (*.f64 (*.f64 c x) s) (*.f64 (*.f64 c x) s)))
#s(approx (/ (cos (* 2 x)) (* (pow c 2) (* (* x (pow s 2)) x))) (/.f64 (/.f64 #s(literal 1 binary64) (*.f64 c c)) (*.f64 (*.f64 (*.f64 s x) s) x)))
#s(approx (/ (cos (* 2 x)) (* (pow c 2) (* (* x (pow s 2)) x))) (/.f64 (/.f64 #s(literal 1 binary64) (*.f64 (*.f64 c s) x)) (*.f64 (*.f64 c s) x)))
#s(approx (/ (cos (* 2 x)) (* (pow c 2) (* (* x (pow s 2)) x))) (/.f64 (/.f64 #s(literal 1 binary64) (*.f64 (*.f64 c (*.f64 s s)) (*.f64 x x))) c))
#s(approx (/ (cos (* 2 x)) (* (pow c 2) (* (* x (pow s 2)) x))) (/.f64 (/.f64 #s(literal 1 binary64) (*.f64 (*.f64 (*.f64 (*.f64 s s) c) x) x)) c))
(/.f64 #s(approx (/ (cos (+ x x)) (* (* (* c c) x) (* s s))) (/.f64 #s(literal 1 binary64) (*.f64 (*.f64 (*.f64 (*.f64 c c) x) s) s))) x)
#s(approx (/ (cos (* 2 x)) (* (pow c 2) (* (* x (pow s 2)) x))) (/.f64 (/.f64 (/.f64 #s(literal 1 binary64) c) c) (*.f64 (*.f64 (*.f64 s x) s) x)))
#s(approx (/ (cos (* 2 x)) (* (pow c 2) (* (* x (pow s 2)) x))) (/.f64 (/.f64 (/.f64 #s(literal 1 binary64) (*.f64 c c)) (*.f64 (*.f64 s x) s)) x))
#s(approx (/ (cos (* 2 x)) (* (pow c 2) (* (* x (pow s 2)) x))) (/.f64 (/.f64 (/.f64 #s(literal 1 binary64) (*.f64 (*.f64 (*.f64 s s) c) x)) x) c))
(/.f64 (/.f64 #s(approx (cos (* 2 x)) #s(approx (+ (* (* x x) -2) 1) (*.f64 (*.f64 x x) #s(literal -2 binary64)))) (*.f64 c c)) (*.f64 (*.f64 (*.f64 s x) s) x))
(/.f64 #s(approx (cos (+ x x)) #s(literal 1 binary64)) (pow.f64 (*.f64 s (*.f64 x c)) #s(literal 2 binary64)))
(/.f64 #s(approx (cos (* 2 x)) (fma.f64 #s(literal -2 binary64) (*.f64 x x) #s(literal 1 binary64))) (*.f64 c (*.f64 c (*.f64 (*.f64 (*.f64 s s) x) x))))
(/.f64 #s(approx (cos (* 2 x)) (fma.f64 #s(literal -2 binary64) (*.f64 x x) #s(literal 1 binary64))) (*.f64 (*.f64 (*.f64 (*.f64 (*.f64 c c) x) s) s) x))
(/.f64 #s(approx (cos (* 2 x)) (fma.f64 (*.f64 x x) #s(literal -2 binary64) #s(literal 1 binary64))) (*.f64 (*.f64 (*.f64 s x) c) (*.f64 (*.f64 s x) c)))
#s(approx (/ (cos (* 2 x)) (* (pow c 2) (* (* x (pow s 2)) x))) (/.f64 (/.f64 (fma.f64 #s(literal -2 binary64) (*.f64 x x) #s(literal 1 binary64)) (*.f64 (*.f64 (*.f64 s s) c) c)) (*.f64 x x)))
(/.f64 (/.f64 #s(approx (cos (* 2 x)) (fma.f64 (*.f64 x x) #s(literal -2 binary64) #s(literal 1 binary64))) (*.f64 c c)) (*.f64 (*.f64 (*.f64 s x) s) x))
(/.f64 #s(approx (/ (cos (+ x x)) (* c c)) (fma.f64 (/.f64 (*.f64 x x) (*.f64 c c)) #s(literal -2 binary64) (/.f64 #s(literal 1 binary64) (*.f64 c c)))) (*.f64 (*.f64 (*.f64 s s) x) x))
#s(approx (/ (cos (* 2 x)) (* (pow c 2) (* (* x (pow s 2)) x))) (/.f64 #s(literal 1 binary64) (*.f64 (*.f64 (*.f64 (*.f64 (exp.f64 (*.f64 (log.f64 s) #s(literal 2 binary64))) x) x) c) c)))
#s(approx (/ (cos (* 2 x)) (* (pow c 2) (* (* x (pow s 2)) x))) (/.f64 #s(literal 1 binary64) (*.f64 (*.f64 (*.f64 c (*.f64 s s)) (exp.f64 (*.f64 (log.f64 x) #s(literal 2 binary64)))) c)))
#s(approx (/ (cos (* 2 x)) (* (pow c 2) (* (* x (pow s 2)) x))) (/.f64 (/.f64 #s(literal 1 binary64) (*.f64 (*.f64 (*.f64 (exp.f64 (*.f64 (log.f64 s) #s(literal 2 binary64))) c) x) x)) c))
#s(approx (/ (cos (* 2 x)) (* (pow c 2) (* (* x (pow s 2)) x))) (/.f64 (/.f64 #s(literal 1 binary64) (exp.f64 (*.f64 (log.f64 c) #s(literal 2 binary64)))) (*.f64 (*.f64 (*.f64 s x) s) x)))
(/.f64 #s(approx (cos (* 2 x)) (fma.f64 #s(literal -2 binary64) (*.f64 x x) #s(literal 1 binary64))) (*.f64 (*.f64 c c) (*.f64 (*.f64 x (pow.f64 s #s(literal 2 binary64))) x)))
(/.f64 (/.f64 #s(approx (cos (* 2 x)) (fma.f64 (exp.f64 (*.f64 (log.f64 x) #s(literal 2 binary64))) #s(literal -2 binary64) #s(literal 1 binary64))) (*.f64 c c)) (*.f64 (*.f64 (*.f64 s x) s) x))
(/.f64 (/.f64 #s(approx (cos (* 2 x)) (fma.f64 (*.f64 x x) #s(literal -2 binary64) #s(literal 1 binary64))) (exp.f64 (*.f64 (log.f64 c) #s(literal 2 binary64)))) (*.f64 (*.f64 (*.f64 s x) s) x))
(/.f64 #s(approx (cos (* 2 x)) #s(literal 1 binary64)) (*.f64 (pow.f64 c #s(literal 2 binary64)) (*.f64 (*.f64 x (pow.f64 s #s(literal 2 binary64))) x)))
#s(approx (/ (cos (* 2 x)) (* (pow c 2) (* (* x (pow s 2)) x))) (/.f64 (fma.f64 (*.f64 (/.f64 (fma.f64 #s(literal 2/3 binary64) (*.f64 x x) #s(literal -2 binary64)) (*.f64 (*.f64 (*.f64 s s) c) c)) x) x (/.f64 #s(literal 1 binary64) (*.f64 (*.f64 (*.f64 s s) c) c))) (*.f64 x x)))
(/.f64 #s(approx (cos (* 2 x)) (fma.f64 #s(literal -2 binary64) (*.f64 x x) #s(literal 1 binary64))) (*.f64 (pow.f64 c #s(literal 2 binary64)) (*.f64 (*.f64 x (pow.f64 s #s(literal 2 binary64))) x)))
(/.f64 (cos.f64 (+.f64 x x)) (*.f64 (*.f64 c x) (*.f64 s (*.f64 (*.f64 c s) x))))
(/.f64 (cos.f64 (+.f64 x x)) (*.f64 (*.f64 (*.f64 c c) x) (*.f64 (*.f64 s s) x)))
(/.f64 (cos.f64 (+.f64 x x)) (*.f64 (*.f64 (*.f64 c s) x) (*.f64 (*.f64 c s) x)))
(/.f64 (cos.f64 (+.f64 x x)) (*.f64 (*.f64 (*.f64 c x) s) (*.f64 (*.f64 c x) s)))
(/.f64 (cos.f64 (+.f64 x x)) (*.f64 (*.f64 (*.f64 c x) (*.f64 c x)) (*.f64 s s)))
(/.f64 (cos.f64 (+.f64 x x)) (*.f64 (*.f64 (*.f64 s x) c) (*.f64 (*.f64 c x) s)))
(/.f64 (cos.f64 (+.f64 x x)) (*.f64 (*.f64 (*.f64 s x) c) (*.f64 (*.f64 s x) c)))
(/.f64 (cos.f64 (+.f64 x x)) (*.f64 (*.f64 (*.f64 (*.f64 (*.f64 s s) x) x) c) c))
(/.f64 (cos.f64 (*.f64 #s(literal 2 binary64) x)) (*.f64 (*.f64 (*.f64 c c) (*.f64 (*.f64 s x) s)) x))
(/.f64 (cos.f64 (*.f64 #s(literal 2 binary64) x)) (*.f64 (*.f64 (*.f64 c (*.f64 c x)) (*.f64 s s)) x))
(/.f64 (cos.f64 (*.f64 #s(literal 2 binary64) x)) (*.f64 (*.f64 (*.f64 c (*.f64 s s)) (*.f64 x x)) c))
(/.f64 (cos.f64 (*.f64 #s(literal 2 binary64) x)) (*.f64 (*.f64 (*.f64 (*.f64 c c) x) (*.f64 s s)) x))
(/.f64 (/.f64 (cos.f64 (+.f64 x x)) (*.f64 (*.f64 c s) x)) (*.f64 (*.f64 c s) x))
(/.f64 (/.f64 (cos.f64 (+.f64 x x)) (*.f64 (*.f64 c (*.f64 c x)) (*.f64 s s))) x)
(/.f64 (/.f64 (cos.f64 (+.f64 x x)) (*.f64 (*.f64 (*.f64 c c) x) (*.f64 s s))) x)
(/.f64 (/.f64 (cos.f64 (+.f64 x x)) (*.f64 (*.f64 (*.f64 s s) x) (*.f64 c c))) x)
(/.f64 (/.f64 (cos.f64 (+.f64 x x)) (*.f64 c c)) (*.f64 (*.f64 (*.f64 s s) x) x))
(/.f64 (/.f64 (cos.f64 (+.f64 x x)) (*.f64 c c)) (*.f64 (*.f64 (*.f64 s x) s) x))
(/.f64 (/.f64 (cos.f64 (+.f64 x x)) (*.f64 (*.f64 (*.f64 s s) c) c)) (*.f64 x x))
(/.f64 (/.f64 (cos.f64 (+.f64 x x)) (*.f64 (*.f64 (*.f64 s s) x) x)) (*.f64 c c))
(/.f64 (cos.f64 (*.f64 #s(literal 2 binary64) x)) (pow.f64 (*.f64 s (*.f64 x c)) #s(literal 2 binary64)))
(/.f64 (cos.f64 (*.f64 #s(literal 2 binary64) x)) (pow.f64 (*.f64 (*.f64 s c) x) #s(literal 2 binary64)))
(/.f64 (cos.f64 (*.f64 #s(literal 2 binary64) x)) (pow.f64 (*.f64 (*.f64 s x) c) #s(literal 2 binary64)))
(/.f64 (cos.f64 (*.f64 #s(literal 2 binary64) x)) (*.f64 (*.f64 s s) (pow.f64 (*.f64 c x) #s(literal 2 binary64))))
(/.f64 (cos.f64 (*.f64 #s(literal 2 binary64) x)) (*.f64 (pow.f64 c #s(literal 2 binary64)) (*.f64 (*.f64 (*.f64 s x) s) x)))
(/.f64 (cos.f64 (*.f64 #s(literal 2 binary64) x)) (*.f64 (pow.f64 c #s(literal 2 binary64)) (*.f64 (*.f64 x (pow.f64 s #s(literal 2 binary64))) x)))
(/.f64 (cos.f64 (*.f64 #s(literal 2 binary64) x)) (*.f64 (pow.f64 c #s(literal 2 binary64)) (/.f64 #s(literal 1 binary64) (pow.f64 (*.f64 s x) #s(literal -2 binary64)))))
(-.f64 (/.f64 (+.f64 #s(literal 1/2 binary64) (*.f64 #s(literal 1/2 binary64) (cos.f64 (+.f64 x x)))) (*.f64 (*.f64 (*.f64 (*.f64 (*.f64 s s) x) x) c) c)) (/.f64 (-.f64 #s(literal 1/2 binary64) (*.f64 #s(literal 1/2 binary64) (cos.f64 (+.f64 x x)))) (*.f64 (*.f64 (*.f64 (*.f64 (*.f64 s s) x) x) c) c)))
Outputs
(/.f64 (cos.f64 (+.f64 x x)) (*.f64 (*.f64 (*.f64 c x) s) (*.f64 (*.f64 c x) s)))
Calls

6 calls:

41.0ms
(pow.f64 c #s(literal 2 binary64))
19.0ms
s
18.0ms
x
16.0ms
c
15.0ms
(pow.f64 s #s(literal 2 binary64))
Results
AccuracySegmentsBranch
98.5%1(pow.f64 s #s(literal 2 binary64))
98.5%1(pow.f64 c #s(literal 2 binary64))
98.5%1(/.f64 (cos.f64 (*.f64 #s(literal 2 binary64) x)) (*.f64 (pow.f64 c #s(literal 2 binary64)) (*.f64 (*.f64 x (pow.f64 s #s(literal 2 binary64))) x)))
98.5%1x
98.5%1c
98.5%1s
Compiler

Compiled 23 to 31 computations (-34.8% saved)

regimes61.0ms (2.3%)

Memory
15.0MiB live, 63.8MiB allocated; 4ms collecting garbage
Counts
42 → 2
Calls
Call 1
Inputs
#s(approx (/ (cos (* 2 x)) (* (pow c 2) (* (* x (pow s 2)) x))) (/.f64 #s(literal 1 binary64) (*.f64 (*.f64 (*.f64 c (*.f64 s s)) (*.f64 x x)) c)))
#s(approx (/ (cos (* 2 x)) (* (pow c 2) (* (* x (pow s 2)) x))) (/.f64 #s(literal 1 binary64) (*.f64 (*.f64 (*.f64 s x) c) (*.f64 (*.f64 s x) c))))
#s(approx (/ (cos (* 2 x)) (* (pow c 2) (* (* x (pow s 2)) x))) (/.f64 #s(literal 1 binary64) (*.f64 (*.f64 (*.f64 (*.f64 c s) s) (*.f64 x x)) c)))
#s(approx (/ (cos (* 2 x)) (* (pow c 2) (* (* x (pow s 2)) x))) (/.f64 #s(literal 1 binary64) (*.f64 (*.f64 (*.f64 (*.f64 s x) s) (*.f64 x c)) c)))
#s(approx (/ (cos (* 2 x)) (* (pow c 2) (* (* x (pow s 2)) x))) (/.f64 #s(literal 1 binary64) (*.f64 (*.f64 (*.f64 (*.f64 s x) (*.f64 s x)) c) c)))
#s(approx (/ (cos (* 2 x)) (* (pow c 2) (* (* x (pow s 2)) x))) (/.f64 #s(literal 1 binary64) (*.f64 (*.f64 (*.f64 (*.f64 x x) (*.f64 s s)) c) c)))
#s(approx (/ (cos (* 2 x)) (* (pow c 2) (* (* x (pow s 2)) x))) (/.f64 #s(literal 1 binary64) (*.f64 (*.f64 (*.f64 (*.f64 (*.f64 s s) c) x) x) c)))
#s(approx (/ (cos (* 2 x)) (* (pow c 2) (* (* x (pow s 2)) x))) (/.f64 #s(literal 1 binary64) (*.f64 (*.f64 (*.f64 (*.f64 (*.f64 s s) x) x) c) c)))
#s(approx (/ (cos (* 2 x)) (* (pow c 2) (* (* x (pow s 2)) x))) (/.f64 #s(literal 1 binary64) (*.f64 (*.f64 (*.f64 (*.f64 (*.f64 s x) s) x) c) c)))
#s(approx (/ (/ (cos (+ x x)) (* (* (* c c) x) (* s s))) x) (/.f64 #s(literal 1 binary64) (*.f64 (*.f64 c c) (*.f64 (*.f64 (*.f64 s x) s) x))))
#s(approx (/ (/ (cos (+ x x)) (* (* (* c c) x) (* s s))) x) (/.f64 #s(literal 1 binary64) (*.f64 (*.f64 (*.f64 s s) c) (*.f64 (*.f64 x x) c))))
#s(approx (/ (/ (cos (+ x x)) (* (* (* c c) x) (* s s))) x) (/.f64 #s(literal 1 binary64) (*.f64 (*.f64 (*.f64 x x) (*.f64 s s)) (*.f64 c c))))
(/.f64 #s(approx (cos (+ x x)) #s(literal 1 binary64)) (*.f64 (*.f64 (*.f64 c x) s) (*.f64 (*.f64 c x) s)))
#s(approx (/ (cos (* 2 x)) (* (pow c 2) (* (* x (pow s 2)) x))) (/.f64 (/.f64 #s(literal 1 binary64) (*.f64 c c)) (*.f64 (*.f64 (*.f64 s x) s) x)))
#s(approx (/ (cos (* 2 x)) (* (pow c 2) (* (* x (pow s 2)) x))) (/.f64 (/.f64 #s(literal 1 binary64) (*.f64 (*.f64 c s) x)) (*.f64 (*.f64 c s) x)))
#s(approx (/ (cos (* 2 x)) (* (pow c 2) (* (* x (pow s 2)) x))) (/.f64 (/.f64 #s(literal 1 binary64) (*.f64 (*.f64 c (*.f64 s s)) (*.f64 x x))) c))
#s(approx (/ (cos (* 2 x)) (* (pow c 2) (* (* x (pow s 2)) x))) (/.f64 (/.f64 #s(literal 1 binary64) (*.f64 (*.f64 (*.f64 (*.f64 s s) c) x) x)) c))
(/.f64 #s(approx (/ (cos (+ x x)) (* (* (* c c) x) (* s s))) (/.f64 #s(literal 1 binary64) (*.f64 (*.f64 (*.f64 (*.f64 c c) x) s) s))) x)
#s(approx (/ (cos (* 2 x)) (* (pow c 2) (* (* x (pow s 2)) x))) (/.f64 (/.f64 (/.f64 #s(literal 1 binary64) c) c) (*.f64 (*.f64 (*.f64 s x) s) x)))
#s(approx (/ (cos (* 2 x)) (* (pow c 2) (* (* x (pow s 2)) x))) (/.f64 (/.f64 (/.f64 #s(literal 1 binary64) (*.f64 c c)) (*.f64 (*.f64 s x) s)) x))
#s(approx (/ (cos (* 2 x)) (* (pow c 2) (* (* x (pow s 2)) x))) (/.f64 (/.f64 (/.f64 #s(literal 1 binary64) (*.f64 (*.f64 (*.f64 s s) c) x)) x) c))
(/.f64 (/.f64 #s(approx (cos (* 2 x)) #s(approx (+ (* (* x x) -2) 1) (*.f64 (*.f64 x x) #s(literal -2 binary64)))) (*.f64 c c)) (*.f64 (*.f64 (*.f64 s x) s) x))
(/.f64 #s(approx (cos (+ x x)) #s(literal 1 binary64)) (pow.f64 (*.f64 s (*.f64 x c)) #s(literal 2 binary64)))
(/.f64 #s(approx (cos (* 2 x)) (fma.f64 #s(literal -2 binary64) (*.f64 x x) #s(literal 1 binary64))) (*.f64 c (*.f64 c (*.f64 (*.f64 (*.f64 s s) x) x))))
(/.f64 #s(approx (cos (* 2 x)) (fma.f64 #s(literal -2 binary64) (*.f64 x x) #s(literal 1 binary64))) (*.f64 (*.f64 (*.f64 (*.f64 (*.f64 c c) x) s) s) x))
(/.f64 #s(approx (cos (* 2 x)) (fma.f64 (*.f64 x x) #s(literal -2 binary64) #s(literal 1 binary64))) (*.f64 (*.f64 (*.f64 s x) c) (*.f64 (*.f64 s x) c)))
#s(approx (/ (cos (* 2 x)) (* (pow c 2) (* (* x (pow s 2)) x))) (/.f64 (/.f64 (fma.f64 #s(literal -2 binary64) (*.f64 x x) #s(literal 1 binary64)) (*.f64 (*.f64 (*.f64 s s) c) c)) (*.f64 x x)))
(/.f64 (/.f64 #s(approx (cos (* 2 x)) (fma.f64 (*.f64 x x) #s(literal -2 binary64) #s(literal 1 binary64))) (*.f64 c c)) (*.f64 (*.f64 (*.f64 s x) s) x))
(/.f64 #s(approx (/ (cos (+ x x)) (* c c)) (fma.f64 (/.f64 (*.f64 x x) (*.f64 c c)) #s(literal -2 binary64) (/.f64 #s(literal 1 binary64) (*.f64 c c)))) (*.f64 (*.f64 (*.f64 s s) x) x))
#s(approx (/ (cos (* 2 x)) (* (pow c 2) (* (* x (pow s 2)) x))) (/.f64 #s(literal 1 binary64) (*.f64 (*.f64 (*.f64 (*.f64 (exp.f64 (*.f64 (log.f64 s) #s(literal 2 binary64))) x) x) c) c)))
#s(approx (/ (cos (* 2 x)) (* (pow c 2) (* (* x (pow s 2)) x))) (/.f64 #s(literal 1 binary64) (*.f64 (*.f64 (*.f64 c (*.f64 s s)) (exp.f64 (*.f64 (log.f64 x) #s(literal 2 binary64)))) c)))
#s(approx (/ (cos (* 2 x)) (* (pow c 2) (* (* x (pow s 2)) x))) (/.f64 (/.f64 #s(literal 1 binary64) (*.f64 (*.f64 (*.f64 (exp.f64 (*.f64 (log.f64 s) #s(literal 2 binary64))) c) x) x)) c))
#s(approx (/ (cos (* 2 x)) (* (pow c 2) (* (* x (pow s 2)) x))) (/.f64 (/.f64 #s(literal 1 binary64) (exp.f64 (*.f64 (log.f64 c) #s(literal 2 binary64)))) (*.f64 (*.f64 (*.f64 s x) s) x)))
(/.f64 #s(approx (cos (* 2 x)) (fma.f64 #s(literal -2 binary64) (*.f64 x x) #s(literal 1 binary64))) (*.f64 (*.f64 c c) (*.f64 (*.f64 x (pow.f64 s #s(literal 2 binary64))) x)))
(/.f64 (/.f64 #s(approx (cos (* 2 x)) (fma.f64 (exp.f64 (*.f64 (log.f64 x) #s(literal 2 binary64))) #s(literal -2 binary64) #s(literal 1 binary64))) (*.f64 c c)) (*.f64 (*.f64 (*.f64 s x) s) x))
(/.f64 (/.f64 #s(approx (cos (* 2 x)) (fma.f64 (*.f64 x x) #s(literal -2 binary64) #s(literal 1 binary64))) (exp.f64 (*.f64 (log.f64 c) #s(literal 2 binary64)))) (*.f64 (*.f64 (*.f64 s x) s) x))
(/.f64 #s(approx (cos (* 2 x)) #s(literal 1 binary64)) (*.f64 (pow.f64 c #s(literal 2 binary64)) (*.f64 (*.f64 x (pow.f64 s #s(literal 2 binary64))) x)))
#s(approx (/ (cos (* 2 x)) (* (pow c 2) (* (* x (pow s 2)) x))) (/.f64 (fma.f64 (*.f64 (/.f64 (fma.f64 #s(literal 2/3 binary64) (*.f64 x x) #s(literal -2 binary64)) (*.f64 (*.f64 (*.f64 s s) c) c)) x) x (/.f64 #s(literal 1 binary64) (*.f64 (*.f64 (*.f64 s s) c) c))) (*.f64 x x)))
(/.f64 #s(approx (cos (* 2 x)) (fma.f64 #s(literal -2 binary64) (*.f64 x x) #s(literal 1 binary64))) (*.f64 (pow.f64 c #s(literal 2 binary64)) (*.f64 (*.f64 x (pow.f64 s #s(literal 2 binary64))) x)))
(/.f64 (cos.f64 (+.f64 x x)) (*.f64 (*.f64 c x) (*.f64 s (*.f64 (*.f64 c s) x))))
(/.f64 (cos.f64 (+.f64 x x)) (*.f64 (*.f64 (*.f64 c c) x) (*.f64 (*.f64 s s) x)))
(/.f64 (cos.f64 (+.f64 x x)) (*.f64 (*.f64 (*.f64 c s) x) (*.f64 (*.f64 c s) x)))
Outputs
#s(approx (/ (cos (* 2 x)) (* (pow c 2) (* (* x (pow s 2)) x))) (/.f64 #s(literal 1 binary64) (*.f64 (*.f64 (*.f64 (*.f64 s x) (*.f64 s x)) c) c)))
(/.f64 (cos.f64 (+.f64 x x)) (*.f64 (*.f64 (*.f64 c s) x) (*.f64 (*.f64 c s) x)))
Calls

6 calls:

13.0ms
x
10.0ms
s
10.0ms
c
9.0ms
(pow.f64 s #s(literal 2 binary64))
9.0ms
(pow.f64 c #s(literal 2 binary64))
Results
AccuracySegmentsBranch
96.4%1(pow.f64 s #s(literal 2 binary64))
99.0%2(pow.f64 c #s(literal 2 binary64))
96.4%1(/.f64 (cos.f64 (*.f64 #s(literal 2 binary64) x)) (*.f64 (pow.f64 c #s(literal 2 binary64)) (*.f64 (*.f64 x (pow.f64 s #s(literal 2 binary64))) x)))
99.0%2x
99.0%2c
98.6%2s
Compiler

Compiled 23 to 31 computations (-34.8% saved)

regimes60.0ms (2.2%)

Memory
-32.1MiB live, 61.1MiB allocated; 4ms collecting garbage
Counts
41 → 2
Calls
Call 1
Inputs
#s(approx (/ (cos (* 2 x)) (* (pow c 2) (* (* x (pow s 2)) x))) (/.f64 #s(literal 1 binary64) (*.f64 (*.f64 (*.f64 c (*.f64 s s)) (*.f64 x x)) c)))
#s(approx (/ (cos (* 2 x)) (* (pow c 2) (* (* x (pow s 2)) x))) (/.f64 #s(literal 1 binary64) (*.f64 (*.f64 (*.f64 s x) c) (*.f64 (*.f64 s x) c))))
#s(approx (/ (cos (* 2 x)) (* (pow c 2) (* (* x (pow s 2)) x))) (/.f64 #s(literal 1 binary64) (*.f64 (*.f64 (*.f64 (*.f64 c s) s) (*.f64 x x)) c)))
#s(approx (/ (cos (* 2 x)) (* (pow c 2) (* (* x (pow s 2)) x))) (/.f64 #s(literal 1 binary64) (*.f64 (*.f64 (*.f64 (*.f64 s x) s) (*.f64 x c)) c)))
#s(approx (/ (cos (* 2 x)) (* (pow c 2) (* (* x (pow s 2)) x))) (/.f64 #s(literal 1 binary64) (*.f64 (*.f64 (*.f64 (*.f64 s x) (*.f64 s x)) c) c)))
#s(approx (/ (cos (* 2 x)) (* (pow c 2) (* (* x (pow s 2)) x))) (/.f64 #s(literal 1 binary64) (*.f64 (*.f64 (*.f64 (*.f64 x x) (*.f64 s s)) c) c)))
#s(approx (/ (cos (* 2 x)) (* (pow c 2) (* (* x (pow s 2)) x))) (/.f64 #s(literal 1 binary64) (*.f64 (*.f64 (*.f64 (*.f64 (*.f64 s s) c) x) x) c)))
#s(approx (/ (cos (* 2 x)) (* (pow c 2) (* (* x (pow s 2)) x))) (/.f64 #s(literal 1 binary64) (*.f64 (*.f64 (*.f64 (*.f64 (*.f64 s s) x) x) c) c)))
#s(approx (/ (cos (* 2 x)) (* (pow c 2) (* (* x (pow s 2)) x))) (/.f64 #s(literal 1 binary64) (*.f64 (*.f64 (*.f64 (*.f64 (*.f64 s x) s) x) c) c)))
#s(approx (/ (/ (cos (+ x x)) (* (* (* c c) x) (* s s))) x) (/.f64 #s(literal 1 binary64) (*.f64 (*.f64 c c) (*.f64 (*.f64 (*.f64 s x) s) x))))
#s(approx (/ (/ (cos (+ x x)) (* (* (* c c) x) (* s s))) x) (/.f64 #s(literal 1 binary64) (*.f64 (*.f64 (*.f64 s s) c) (*.f64 (*.f64 x x) c))))
#s(approx (/ (/ (cos (+ x x)) (* (* (* c c) x) (* s s))) x) (/.f64 #s(literal 1 binary64) (*.f64 (*.f64 (*.f64 x x) (*.f64 s s)) (*.f64 c c))))
(/.f64 #s(approx (cos (+ x x)) #s(literal 1 binary64)) (*.f64 (*.f64 (*.f64 c x) s) (*.f64 (*.f64 c x) s)))
#s(approx (/ (cos (* 2 x)) (* (pow c 2) (* (* x (pow s 2)) x))) (/.f64 (/.f64 #s(literal 1 binary64) (*.f64 c c)) (*.f64 (*.f64 (*.f64 s x) s) x)))
#s(approx (/ (cos (* 2 x)) (* (pow c 2) (* (* x (pow s 2)) x))) (/.f64 (/.f64 #s(literal 1 binary64) (*.f64 (*.f64 c s) x)) (*.f64 (*.f64 c s) x)))
#s(approx (/ (cos (* 2 x)) (* (pow c 2) (* (* x (pow s 2)) x))) (/.f64 (/.f64 #s(literal 1 binary64) (*.f64 (*.f64 c (*.f64 s s)) (*.f64 x x))) c))
#s(approx (/ (cos (* 2 x)) (* (pow c 2) (* (* x (pow s 2)) x))) (/.f64 (/.f64 #s(literal 1 binary64) (*.f64 (*.f64 (*.f64 (*.f64 s s) c) x) x)) c))
(/.f64 #s(approx (/ (cos (+ x x)) (* (* (* c c) x) (* s s))) (/.f64 #s(literal 1 binary64) (*.f64 (*.f64 (*.f64 (*.f64 c c) x) s) s))) x)
#s(approx (/ (cos (* 2 x)) (* (pow c 2) (* (* x (pow s 2)) x))) (/.f64 (/.f64 (/.f64 #s(literal 1 binary64) c) c) (*.f64 (*.f64 (*.f64 s x) s) x)))
#s(approx (/ (cos (* 2 x)) (* (pow c 2) (* (* x (pow s 2)) x))) (/.f64 (/.f64 (/.f64 #s(literal 1 binary64) (*.f64 c c)) (*.f64 (*.f64 s x) s)) x))
#s(approx (/ (cos (* 2 x)) (* (pow c 2) (* (* x (pow s 2)) x))) (/.f64 (/.f64 (/.f64 #s(literal 1 binary64) (*.f64 (*.f64 (*.f64 s s) c) x)) x) c))
(/.f64 (/.f64 #s(approx (cos (* 2 x)) #s(approx (+ (* (* x x) -2) 1) (*.f64 (*.f64 x x) #s(literal -2 binary64)))) (*.f64 c c)) (*.f64 (*.f64 (*.f64 s x) s) x))
(/.f64 #s(approx (cos (+ x x)) #s(literal 1 binary64)) (pow.f64 (*.f64 s (*.f64 x c)) #s(literal 2 binary64)))
(/.f64 #s(approx (cos (* 2 x)) (fma.f64 #s(literal -2 binary64) (*.f64 x x) #s(literal 1 binary64))) (*.f64 c (*.f64 c (*.f64 (*.f64 (*.f64 s s) x) x))))
(/.f64 #s(approx (cos (* 2 x)) (fma.f64 #s(literal -2 binary64) (*.f64 x x) #s(literal 1 binary64))) (*.f64 (*.f64 (*.f64 (*.f64 (*.f64 c c) x) s) s) x))
(/.f64 #s(approx (cos (* 2 x)) (fma.f64 (*.f64 x x) #s(literal -2 binary64) #s(literal 1 binary64))) (*.f64 (*.f64 (*.f64 s x) c) (*.f64 (*.f64 s x) c)))
#s(approx (/ (cos (* 2 x)) (* (pow c 2) (* (* x (pow s 2)) x))) (/.f64 (/.f64 (fma.f64 #s(literal -2 binary64) (*.f64 x x) #s(literal 1 binary64)) (*.f64 (*.f64 (*.f64 s s) c) c)) (*.f64 x x)))
(/.f64 (/.f64 #s(approx (cos (* 2 x)) (fma.f64 (*.f64 x x) #s(literal -2 binary64) #s(literal 1 binary64))) (*.f64 c c)) (*.f64 (*.f64 (*.f64 s x) s) x))
(/.f64 #s(approx (/ (cos (+ x x)) (* c c)) (fma.f64 (/.f64 (*.f64 x x) (*.f64 c c)) #s(literal -2 binary64) (/.f64 #s(literal 1 binary64) (*.f64 c c)))) (*.f64 (*.f64 (*.f64 s s) x) x))
#s(approx (/ (cos (* 2 x)) (* (pow c 2) (* (* x (pow s 2)) x))) (/.f64 #s(literal 1 binary64) (*.f64 (*.f64 (*.f64 (*.f64 (exp.f64 (*.f64 (log.f64 s) #s(literal 2 binary64))) x) x) c) c)))
#s(approx (/ (cos (* 2 x)) (* (pow c 2) (* (* x (pow s 2)) x))) (/.f64 #s(literal 1 binary64) (*.f64 (*.f64 (*.f64 c (*.f64 s s)) (exp.f64 (*.f64 (log.f64 x) #s(literal 2 binary64)))) c)))
#s(approx (/ (cos (* 2 x)) (* (pow c 2) (* (* x (pow s 2)) x))) (/.f64 (/.f64 #s(literal 1 binary64) (*.f64 (*.f64 (*.f64 (exp.f64 (*.f64 (log.f64 s) #s(literal 2 binary64))) c) x) x)) c))
#s(approx (/ (cos (* 2 x)) (* (pow c 2) (* (* x (pow s 2)) x))) (/.f64 (/.f64 #s(literal 1 binary64) (exp.f64 (*.f64 (log.f64 c) #s(literal 2 binary64)))) (*.f64 (*.f64 (*.f64 s x) s) x)))
(/.f64 #s(approx (cos (* 2 x)) (fma.f64 #s(literal -2 binary64) (*.f64 x x) #s(literal 1 binary64))) (*.f64 (*.f64 c c) (*.f64 (*.f64 x (pow.f64 s #s(literal 2 binary64))) x)))
(/.f64 (/.f64 #s(approx (cos (* 2 x)) (fma.f64 (exp.f64 (*.f64 (log.f64 x) #s(literal 2 binary64))) #s(literal -2 binary64) #s(literal 1 binary64))) (*.f64 c c)) (*.f64 (*.f64 (*.f64 s x) s) x))
(/.f64 (/.f64 #s(approx (cos (* 2 x)) (fma.f64 (*.f64 x x) #s(literal -2 binary64) #s(literal 1 binary64))) (exp.f64 (*.f64 (log.f64 c) #s(literal 2 binary64)))) (*.f64 (*.f64 (*.f64 s x) s) x))
(/.f64 #s(approx (cos (* 2 x)) #s(literal 1 binary64)) (*.f64 (pow.f64 c #s(literal 2 binary64)) (*.f64 (*.f64 x (pow.f64 s #s(literal 2 binary64))) x)))
#s(approx (/ (cos (* 2 x)) (* (pow c 2) (* (* x (pow s 2)) x))) (/.f64 (fma.f64 (*.f64 (/.f64 (fma.f64 #s(literal 2/3 binary64) (*.f64 x x) #s(literal -2 binary64)) (*.f64 (*.f64 (*.f64 s s) c) c)) x) x (/.f64 #s(literal 1 binary64) (*.f64 (*.f64 (*.f64 s s) c) c))) (*.f64 x x)))
(/.f64 #s(approx (cos (* 2 x)) (fma.f64 #s(literal -2 binary64) (*.f64 x x) #s(literal 1 binary64))) (*.f64 (pow.f64 c #s(literal 2 binary64)) (*.f64 (*.f64 x (pow.f64 s #s(literal 2 binary64))) x)))
(/.f64 (cos.f64 (+.f64 x x)) (*.f64 (*.f64 c x) (*.f64 s (*.f64 (*.f64 c s) x))))
(/.f64 (cos.f64 (+.f64 x x)) (*.f64 (*.f64 (*.f64 c c) x) (*.f64 (*.f64 s s) x)))
Outputs
#s(approx (/ (cos (* 2 x)) (* (pow c 2) (* (* x (pow s 2)) x))) (/.f64 #s(literal 1 binary64) (*.f64 (*.f64 (*.f64 s x) c) (*.f64 (*.f64 s x) c))))
(/.f64 (cos.f64 (+.f64 x x)) (*.f64 (*.f64 c x) (*.f64 s (*.f64 (*.f64 c s) x))))
Calls

6 calls:

12.0ms
x
10.0ms
(pow.f64 s #s(literal 2 binary64))
10.0ms
c
10.0ms
s
8.0ms
(pow.f64 c #s(literal 2 binary64))
Results
AccuracySegmentsBranch
96.3%2(pow.f64 s #s(literal 2 binary64))
92.1%1(/.f64 (cos.f64 (*.f64 #s(literal 2 binary64) x)) (*.f64 (pow.f64 c #s(literal 2 binary64)) (*.f64 (*.f64 x (pow.f64 s #s(literal 2 binary64))) x)))
97.2%2s
94.6%2(pow.f64 c #s(literal 2 binary64))
94.6%2c
97.5%2x
Compiler

Compiled 23 to 31 computations (-34.8% saved)

regimes61.0ms (2.2%)

Memory
13.1MiB live, 60.6MiB allocated; 10ms collecting garbage
Counts
39 → 2
Calls
Call 1
Inputs
#s(approx (/ (cos (* 2 x)) (* (pow c 2) (* (* x (pow s 2)) x))) (/.f64 #s(literal 1 binary64) (*.f64 (*.f64 (*.f64 c (*.f64 s s)) (*.f64 x x)) c)))
#s(approx (/ (cos (* 2 x)) (* (pow c 2) (* (* x (pow s 2)) x))) (/.f64 #s(literal 1 binary64) (*.f64 (*.f64 (*.f64 s x) c) (*.f64 (*.f64 s x) c))))
#s(approx (/ (cos (* 2 x)) (* (pow c 2) (* (* x (pow s 2)) x))) (/.f64 #s(literal 1 binary64) (*.f64 (*.f64 (*.f64 (*.f64 c s) s) (*.f64 x x)) c)))
#s(approx (/ (cos (* 2 x)) (* (pow c 2) (* (* x (pow s 2)) x))) (/.f64 #s(literal 1 binary64) (*.f64 (*.f64 (*.f64 (*.f64 s x) s) (*.f64 x c)) c)))
#s(approx (/ (cos (* 2 x)) (* (pow c 2) (* (* x (pow s 2)) x))) (/.f64 #s(literal 1 binary64) (*.f64 (*.f64 (*.f64 (*.f64 s x) (*.f64 s x)) c) c)))
#s(approx (/ (cos (* 2 x)) (* (pow c 2) (* (* x (pow s 2)) x))) (/.f64 #s(literal 1 binary64) (*.f64 (*.f64 (*.f64 (*.f64 x x) (*.f64 s s)) c) c)))
#s(approx (/ (cos (* 2 x)) (* (pow c 2) (* (* x (pow s 2)) x))) (/.f64 #s(literal 1 binary64) (*.f64 (*.f64 (*.f64 (*.f64 (*.f64 s s) c) x) x) c)))
#s(approx (/ (cos (* 2 x)) (* (pow c 2) (* (* x (pow s 2)) x))) (/.f64 #s(literal 1 binary64) (*.f64 (*.f64 (*.f64 (*.f64 (*.f64 s s) x) x) c) c)))
#s(approx (/ (cos (* 2 x)) (* (pow c 2) (* (* x (pow s 2)) x))) (/.f64 #s(literal 1 binary64) (*.f64 (*.f64 (*.f64 (*.f64 (*.f64 s x) s) x) c) c)))
#s(approx (/ (/ (cos (+ x x)) (* (* (* c c) x) (* s s))) x) (/.f64 #s(literal 1 binary64) (*.f64 (*.f64 c c) (*.f64 (*.f64 (*.f64 s x) s) x))))
#s(approx (/ (/ (cos (+ x x)) (* (* (* c c) x) (* s s))) x) (/.f64 #s(literal 1 binary64) (*.f64 (*.f64 (*.f64 s s) c) (*.f64 (*.f64 x x) c))))
#s(approx (/ (/ (cos (+ x x)) (* (* (* c c) x) (* s s))) x) (/.f64 #s(literal 1 binary64) (*.f64 (*.f64 (*.f64 x x) (*.f64 s s)) (*.f64 c c))))
(/.f64 #s(approx (cos (+ x x)) #s(literal 1 binary64)) (*.f64 (*.f64 (*.f64 c x) s) (*.f64 (*.f64 c x) s)))
#s(approx (/ (cos (* 2 x)) (* (pow c 2) (* (* x (pow s 2)) x))) (/.f64 (/.f64 #s(literal 1 binary64) (*.f64 c c)) (*.f64 (*.f64 (*.f64 s x) s) x)))
#s(approx (/ (cos (* 2 x)) (* (pow c 2) (* (* x (pow s 2)) x))) (/.f64 (/.f64 #s(literal 1 binary64) (*.f64 (*.f64 c s) x)) (*.f64 (*.f64 c s) x)))
#s(approx (/ (cos (* 2 x)) (* (pow c 2) (* (* x (pow s 2)) x))) (/.f64 (/.f64 #s(literal 1 binary64) (*.f64 (*.f64 c (*.f64 s s)) (*.f64 x x))) c))
#s(approx (/ (cos (* 2 x)) (* (pow c 2) (* (* x (pow s 2)) x))) (/.f64 (/.f64 #s(literal 1 binary64) (*.f64 (*.f64 (*.f64 (*.f64 s s) c) x) x)) c))
(/.f64 #s(approx (/ (cos (+ x x)) (* (* (* c c) x) (* s s))) (/.f64 #s(literal 1 binary64) (*.f64 (*.f64 (*.f64 (*.f64 c c) x) s) s))) x)
#s(approx (/ (cos (* 2 x)) (* (pow c 2) (* (* x (pow s 2)) x))) (/.f64 (/.f64 (/.f64 #s(literal 1 binary64) c) c) (*.f64 (*.f64 (*.f64 s x) s) x)))
#s(approx (/ (cos (* 2 x)) (* (pow c 2) (* (* x (pow s 2)) x))) (/.f64 (/.f64 (/.f64 #s(literal 1 binary64) (*.f64 c c)) (*.f64 (*.f64 s x) s)) x))
#s(approx (/ (cos (* 2 x)) (* (pow c 2) (* (* x (pow s 2)) x))) (/.f64 (/.f64 (/.f64 #s(literal 1 binary64) (*.f64 (*.f64 (*.f64 s s) c) x)) x) c))
(/.f64 (/.f64 #s(approx (cos (* 2 x)) #s(approx (+ (* (* x x) -2) 1) (*.f64 (*.f64 x x) #s(literal -2 binary64)))) (*.f64 c c)) (*.f64 (*.f64 (*.f64 s x) s) x))
(/.f64 #s(approx (cos (+ x x)) #s(literal 1 binary64)) (pow.f64 (*.f64 s (*.f64 x c)) #s(literal 2 binary64)))
(/.f64 #s(approx (cos (* 2 x)) (fma.f64 #s(literal -2 binary64) (*.f64 x x) #s(literal 1 binary64))) (*.f64 c (*.f64 c (*.f64 (*.f64 (*.f64 s s) x) x))))
(/.f64 #s(approx (cos (* 2 x)) (fma.f64 #s(literal -2 binary64) (*.f64 x x) #s(literal 1 binary64))) (*.f64 (*.f64 (*.f64 (*.f64 (*.f64 c c) x) s) s) x))
(/.f64 #s(approx (cos (* 2 x)) (fma.f64 (*.f64 x x) #s(literal -2 binary64) #s(literal 1 binary64))) (*.f64 (*.f64 (*.f64 s x) c) (*.f64 (*.f64 s x) c)))
#s(approx (/ (cos (* 2 x)) (* (pow c 2) (* (* x (pow s 2)) x))) (/.f64 (/.f64 (fma.f64 #s(literal -2 binary64) (*.f64 x x) #s(literal 1 binary64)) (*.f64 (*.f64 (*.f64 s s) c) c)) (*.f64 x x)))
(/.f64 (/.f64 #s(approx (cos (* 2 x)) (fma.f64 (*.f64 x x) #s(literal -2 binary64) #s(literal 1 binary64))) (*.f64 c c)) (*.f64 (*.f64 (*.f64 s x) s) x))
(/.f64 #s(approx (/ (cos (+ x x)) (* c c)) (fma.f64 (/.f64 (*.f64 x x) (*.f64 c c)) #s(literal -2 binary64) (/.f64 #s(literal 1 binary64) (*.f64 c c)))) (*.f64 (*.f64 (*.f64 s s) x) x))
#s(approx (/ (cos (* 2 x)) (* (pow c 2) (* (* x (pow s 2)) x))) (/.f64 #s(literal 1 binary64) (*.f64 (*.f64 (*.f64 (*.f64 (exp.f64 (*.f64 (log.f64 s) #s(literal 2 binary64))) x) x) c) c)))
#s(approx (/ (cos (* 2 x)) (* (pow c 2) (* (* x (pow s 2)) x))) (/.f64 #s(literal 1 binary64) (*.f64 (*.f64 (*.f64 c (*.f64 s s)) (exp.f64 (*.f64 (log.f64 x) #s(literal 2 binary64)))) c)))
#s(approx (/ (cos (* 2 x)) (* (pow c 2) (* (* x (pow s 2)) x))) (/.f64 (/.f64 #s(literal 1 binary64) (*.f64 (*.f64 (*.f64 (exp.f64 (*.f64 (log.f64 s) #s(literal 2 binary64))) c) x) x)) c))
#s(approx (/ (cos (* 2 x)) (* (pow c 2) (* (* x (pow s 2)) x))) (/.f64 (/.f64 #s(literal 1 binary64) (exp.f64 (*.f64 (log.f64 c) #s(literal 2 binary64)))) (*.f64 (*.f64 (*.f64 s x) s) x)))
(/.f64 #s(approx (cos (* 2 x)) (fma.f64 #s(literal -2 binary64) (*.f64 x x) #s(literal 1 binary64))) (*.f64 (*.f64 c c) (*.f64 (*.f64 x (pow.f64 s #s(literal 2 binary64))) x)))
(/.f64 (/.f64 #s(approx (cos (* 2 x)) (fma.f64 (exp.f64 (*.f64 (log.f64 x) #s(literal 2 binary64))) #s(literal -2 binary64) #s(literal 1 binary64))) (*.f64 c c)) (*.f64 (*.f64 (*.f64 s x) s) x))
(/.f64 (/.f64 #s(approx (cos (* 2 x)) (fma.f64 (*.f64 x x) #s(literal -2 binary64) #s(literal 1 binary64))) (exp.f64 (*.f64 (log.f64 c) #s(literal 2 binary64)))) (*.f64 (*.f64 (*.f64 s x) s) x))
(/.f64 #s(approx (cos (* 2 x)) #s(literal 1 binary64)) (*.f64 (pow.f64 c #s(literal 2 binary64)) (*.f64 (*.f64 x (pow.f64 s #s(literal 2 binary64))) x)))
#s(approx (/ (cos (* 2 x)) (* (pow c 2) (* (* x (pow s 2)) x))) (/.f64 (fma.f64 (*.f64 (/.f64 (fma.f64 #s(literal 2/3 binary64) (*.f64 x x) #s(literal -2 binary64)) (*.f64 (*.f64 (*.f64 s s) c) c)) x) x (/.f64 #s(literal 1 binary64) (*.f64 (*.f64 (*.f64 s s) c) c))) (*.f64 x x)))
(/.f64 #s(approx (cos (* 2 x)) (fma.f64 #s(literal -2 binary64) (*.f64 x x) #s(literal 1 binary64))) (*.f64 (pow.f64 c #s(literal 2 binary64)) (*.f64 (*.f64 x (pow.f64 s #s(literal 2 binary64))) x)))
Outputs
(/.f64 #s(approx (cos (* 2 x)) (fma.f64 #s(literal -2 binary64) (*.f64 x x) #s(literal 1 binary64))) (*.f64 c (*.f64 c (*.f64 (*.f64 (*.f64 s s) x) x))))
#s(approx (/ (cos (* 2 x)) (* (pow c 2) (* (* x (pow s 2)) x))) (/.f64 #s(literal 1 binary64) (*.f64 (*.f64 (*.f64 s x) c) (*.f64 (*.f64 s x) c))))
Calls

6 calls:

14.0ms
(pow.f64 c #s(literal 2 binary64))
10.0ms
x
9.0ms
s
9.0ms
c
9.0ms
(pow.f64 s #s(literal 2 binary64))
Results
AccuracySegmentsBranch
83.5%2(/.f64 (cos.f64 (*.f64 #s(literal 2 binary64) x)) (*.f64 (pow.f64 c #s(literal 2 binary64)) (*.f64 (*.f64 x (pow.f64 s #s(literal 2 binary64))) x)))
79.3%1(pow.f64 c #s(literal 2 binary64))
81.2%2c
82.3%2(pow.f64 s #s(literal 2 binary64))
82.3%2s
79.3%1x
Compiler

Compiled 23 to 31 computations (-34.8% saved)

regimes6.0ms (0.2%)

Memory
8.0MiB live, 8.0MiB allocated; 0ms collecting garbage
Counts
23 → 2
Calls
Call 1
Inputs
#s(approx (/ (cos (* 2 x)) (* (pow c 2) (* (* x (pow s 2)) x))) (/.f64 #s(literal 1 binary64) (*.f64 (*.f64 (*.f64 c (*.f64 s s)) (*.f64 x x)) c)))
#s(approx (/ (cos (* 2 x)) (* (pow c 2) (* (* x (pow s 2)) x))) (/.f64 #s(literal 1 binary64) (*.f64 (*.f64 (*.f64 s x) c) (*.f64 (*.f64 s x) c))))
#s(approx (/ (cos (* 2 x)) (* (pow c 2) (* (* x (pow s 2)) x))) (/.f64 #s(literal 1 binary64) (*.f64 (*.f64 (*.f64 (*.f64 c s) s) (*.f64 x x)) c)))
#s(approx (/ (cos (* 2 x)) (* (pow c 2) (* (* x (pow s 2)) x))) (/.f64 #s(literal 1 binary64) (*.f64 (*.f64 (*.f64 (*.f64 s x) s) (*.f64 x c)) c)))
#s(approx (/ (cos (* 2 x)) (* (pow c 2) (* (* x (pow s 2)) x))) (/.f64 #s(literal 1 binary64) (*.f64 (*.f64 (*.f64 (*.f64 s x) (*.f64 s x)) c) c)))
#s(approx (/ (cos (* 2 x)) (* (pow c 2) (* (* x (pow s 2)) x))) (/.f64 #s(literal 1 binary64) (*.f64 (*.f64 (*.f64 (*.f64 x x) (*.f64 s s)) c) c)))
#s(approx (/ (cos (* 2 x)) (* (pow c 2) (* (* x (pow s 2)) x))) (/.f64 #s(literal 1 binary64) (*.f64 (*.f64 (*.f64 (*.f64 (*.f64 s s) c) x) x) c)))
#s(approx (/ (cos (* 2 x)) (* (pow c 2) (* (* x (pow s 2)) x))) (/.f64 #s(literal 1 binary64) (*.f64 (*.f64 (*.f64 (*.f64 (*.f64 s s) x) x) c) c)))
#s(approx (/ (cos (* 2 x)) (* (pow c 2) (* (* x (pow s 2)) x))) (/.f64 #s(literal 1 binary64) (*.f64 (*.f64 (*.f64 (*.f64 (*.f64 s x) s) x) c) c)))
#s(approx (/ (/ (cos (+ x x)) (* (* (* c c) x) (* s s))) x) (/.f64 #s(literal 1 binary64) (*.f64 (*.f64 c c) (*.f64 (*.f64 (*.f64 s x) s) x))))
#s(approx (/ (/ (cos (+ x x)) (* (* (* c c) x) (* s s))) x) (/.f64 #s(literal 1 binary64) (*.f64 (*.f64 (*.f64 s s) c) (*.f64 (*.f64 x x) c))))
#s(approx (/ (/ (cos (+ x x)) (* (* (* c c) x) (* s s))) x) (/.f64 #s(literal 1 binary64) (*.f64 (*.f64 (*.f64 x x) (*.f64 s s)) (*.f64 c c))))
(/.f64 #s(approx (cos (+ x x)) #s(literal 1 binary64)) (*.f64 (*.f64 (*.f64 c x) s) (*.f64 (*.f64 c x) s)))
#s(approx (/ (cos (* 2 x)) (* (pow c 2) (* (* x (pow s 2)) x))) (/.f64 (/.f64 #s(literal 1 binary64) (*.f64 c c)) (*.f64 (*.f64 (*.f64 s x) s) x)))
#s(approx (/ (cos (* 2 x)) (* (pow c 2) (* (* x (pow s 2)) x))) (/.f64 (/.f64 #s(literal 1 binary64) (*.f64 (*.f64 c s) x)) (*.f64 (*.f64 c s) x)))
#s(approx (/ (cos (* 2 x)) (* (pow c 2) (* (* x (pow s 2)) x))) (/.f64 (/.f64 #s(literal 1 binary64) (*.f64 (*.f64 c (*.f64 s s)) (*.f64 x x))) c))
#s(approx (/ (cos (* 2 x)) (* (pow c 2) (* (* x (pow s 2)) x))) (/.f64 (/.f64 #s(literal 1 binary64) (*.f64 (*.f64 (*.f64 (*.f64 s s) c) x) x)) c))
(/.f64 #s(approx (/ (cos (+ x x)) (* (* (* c c) x) (* s s))) (/.f64 #s(literal 1 binary64) (*.f64 (*.f64 (*.f64 (*.f64 c c) x) s) s))) x)
#s(approx (/ (cos (* 2 x)) (* (pow c 2) (* (* x (pow s 2)) x))) (/.f64 (/.f64 (/.f64 #s(literal 1 binary64) c) c) (*.f64 (*.f64 (*.f64 s x) s) x)))
#s(approx (/ (cos (* 2 x)) (* (pow c 2) (* (* x (pow s 2)) x))) (/.f64 (/.f64 (/.f64 #s(literal 1 binary64) (*.f64 c c)) (*.f64 (*.f64 s x) s)) x))
#s(approx (/ (cos (* 2 x)) (* (pow c 2) (* (* x (pow s 2)) x))) (/.f64 (/.f64 (/.f64 #s(literal 1 binary64) (*.f64 (*.f64 (*.f64 s s) c) x)) x) c))
(/.f64 (/.f64 #s(approx (cos (* 2 x)) #s(approx (+ (* (* x x) -2) 1) (*.f64 (*.f64 x x) #s(literal -2 binary64)))) (*.f64 c c)) (*.f64 (*.f64 (*.f64 s x) s) x))
(/.f64 #s(approx (cos (+ x x)) #s(literal 1 binary64)) (pow.f64 (*.f64 s (*.f64 x c)) #s(literal 2 binary64)))
Outputs
(/.f64 (/.f64 #s(approx (cos (* 2 x)) #s(approx (+ (* (* x x) -2) 1) (*.f64 (*.f64 x x) #s(literal -2 binary64)))) (*.f64 c c)) (*.f64 (*.f64 (*.f64 s x) s) x))
#s(approx (/ (cos (* 2 x)) (* (pow c 2) (* (* x (pow s 2)) x))) (/.f64 #s(literal 1 binary64) (*.f64 (*.f64 (*.f64 s x) c) (*.f64 (*.f64 s x) c))))
Calls

1 calls:

5.0ms
(/.f64 (cos.f64 (*.f64 #s(literal 2 binary64) x)) (*.f64 (pow.f64 c #s(literal 2 binary64)) (*.f64 (*.f64 x (pow.f64 s #s(literal 2 binary64))) x)))
Results
AccuracySegmentsBranch
83.4%2(/.f64 (cos.f64 (*.f64 #s(literal 2 binary64) x)) (*.f64 (pow.f64 c #s(literal 2 binary64)) (*.f64 (*.f64 x (pow.f64 s #s(literal 2 binary64))) x)))
Compiler

Compiled 14 to 12 computations (14.3% saved)

regimes28.0ms (1%)

Memory
-16.0MiB live, 31.3MiB allocated; 2ms collecting garbage
Counts
21 → 1
Calls
Call 1
Inputs
#s(approx (/ (cos (* 2 x)) (* (pow c 2) (* (* x (pow s 2)) x))) (/.f64 #s(literal 1 binary64) (*.f64 (*.f64 (*.f64 c (*.f64 s s)) (*.f64 x x)) c)))
#s(approx (/ (cos (* 2 x)) (* (pow c 2) (* (* x (pow s 2)) x))) (/.f64 #s(literal 1 binary64) (*.f64 (*.f64 (*.f64 s x) c) (*.f64 (*.f64 s x) c))))
#s(approx (/ (cos (* 2 x)) (* (pow c 2) (* (* x (pow s 2)) x))) (/.f64 #s(literal 1 binary64) (*.f64 (*.f64 (*.f64 (*.f64 c s) s) (*.f64 x x)) c)))
#s(approx (/ (cos (* 2 x)) (* (pow c 2) (* (* x (pow s 2)) x))) (/.f64 #s(literal 1 binary64) (*.f64 (*.f64 (*.f64 (*.f64 s x) s) (*.f64 x c)) c)))
#s(approx (/ (cos (* 2 x)) (* (pow c 2) (* (* x (pow s 2)) x))) (/.f64 #s(literal 1 binary64) (*.f64 (*.f64 (*.f64 (*.f64 s x) (*.f64 s x)) c) c)))
#s(approx (/ (cos (* 2 x)) (* (pow c 2) (* (* x (pow s 2)) x))) (/.f64 #s(literal 1 binary64) (*.f64 (*.f64 (*.f64 (*.f64 x x) (*.f64 s s)) c) c)))
#s(approx (/ (cos (* 2 x)) (* (pow c 2) (* (* x (pow s 2)) x))) (/.f64 #s(literal 1 binary64) (*.f64 (*.f64 (*.f64 (*.f64 (*.f64 s s) c) x) x) c)))
#s(approx (/ (cos (* 2 x)) (* (pow c 2) (* (* x (pow s 2)) x))) (/.f64 #s(literal 1 binary64) (*.f64 (*.f64 (*.f64 (*.f64 (*.f64 s s) x) x) c) c)))
#s(approx (/ (cos (* 2 x)) (* (pow c 2) (* (* x (pow s 2)) x))) (/.f64 #s(literal 1 binary64) (*.f64 (*.f64 (*.f64 (*.f64 (*.f64 s x) s) x) c) c)))
#s(approx (/ (/ (cos (+ x x)) (* (* (* c c) x) (* s s))) x) (/.f64 #s(literal 1 binary64) (*.f64 (*.f64 c c) (*.f64 (*.f64 (*.f64 s x) s) x))))
#s(approx (/ (/ (cos (+ x x)) (* (* (* c c) x) (* s s))) x) (/.f64 #s(literal 1 binary64) (*.f64 (*.f64 (*.f64 s s) c) (*.f64 (*.f64 x x) c))))
#s(approx (/ (/ (cos (+ x x)) (* (* (* c c) x) (* s s))) x) (/.f64 #s(literal 1 binary64) (*.f64 (*.f64 (*.f64 x x) (*.f64 s s)) (*.f64 c c))))
(/.f64 #s(approx (cos (+ x x)) #s(literal 1 binary64)) (*.f64 (*.f64 (*.f64 c x) s) (*.f64 (*.f64 c x) s)))
#s(approx (/ (cos (* 2 x)) (* (pow c 2) (* (* x (pow s 2)) x))) (/.f64 (/.f64 #s(literal 1 binary64) (*.f64 c c)) (*.f64 (*.f64 (*.f64 s x) s) x)))
#s(approx (/ (cos (* 2 x)) (* (pow c 2) (* (* x (pow s 2)) x))) (/.f64 (/.f64 #s(literal 1 binary64) (*.f64 (*.f64 c s) x)) (*.f64 (*.f64 c s) x)))
#s(approx (/ (cos (* 2 x)) (* (pow c 2) (* (* x (pow s 2)) x))) (/.f64 (/.f64 #s(literal 1 binary64) (*.f64 (*.f64 c (*.f64 s s)) (*.f64 x x))) c))
#s(approx (/ (cos (* 2 x)) (* (pow c 2) (* (* x (pow s 2)) x))) (/.f64 (/.f64 #s(literal 1 binary64) (*.f64 (*.f64 (*.f64 (*.f64 s s) c) x) x)) c))
(/.f64 #s(approx (/ (cos (+ x x)) (* (* (* c c) x) (* s s))) (/.f64 #s(literal 1 binary64) (*.f64 (*.f64 (*.f64 (*.f64 c c) x) s) s))) x)
#s(approx (/ (cos (* 2 x)) (* (pow c 2) (* (* x (pow s 2)) x))) (/.f64 (/.f64 (/.f64 #s(literal 1 binary64) c) c) (*.f64 (*.f64 (*.f64 s x) s) x)))
#s(approx (/ (cos (* 2 x)) (* (pow c 2) (* (* x (pow s 2)) x))) (/.f64 (/.f64 (/.f64 #s(literal 1 binary64) (*.f64 c c)) (*.f64 (*.f64 s x) s)) x))
#s(approx (/ (cos (* 2 x)) (* (pow c 2) (* (* x (pow s 2)) x))) (/.f64 (/.f64 (/.f64 #s(literal 1 binary64) (*.f64 (*.f64 (*.f64 s s) c) x)) x) c))
Outputs
#s(approx (/ (cos (* 2 x)) (* (pow c 2) (* (* x (pow s 2)) x))) (/.f64 #s(literal 1 binary64) (*.f64 (*.f64 (*.f64 s x) c) (*.f64 (*.f64 s x) c))))
Calls

5 calls:

7.0ms
c
6.0ms
x
5.0ms
s
5.0ms
(pow.f64 s #s(literal 2 binary64))
4.0ms
(/.f64 (cos.f64 (*.f64 #s(literal 2 binary64) x)) (*.f64 (pow.f64 c #s(literal 2 binary64)) (*.f64 (*.f64 x (pow.f64 s #s(literal 2 binary64))) x)))
Results
AccuracySegmentsBranch
79.3%1x
79.3%1c
79.3%1(pow.f64 s #s(literal 2 binary64))
79.3%1s
79.3%1(/.f64 (cos.f64 (*.f64 #s(literal 2 binary64) x)) (*.f64 (pow.f64 c #s(literal 2 binary64)) (*.f64 (*.f64 x (pow.f64 s #s(literal 2 binary64))) x)))
Compiler

Compiled 20 to 26 computations (-30% saved)

regimes6.0ms (0.2%)

Memory
11.2MiB live, 11.2MiB allocated; 0ms collecting garbage
Accuracy

Total -0.0b remaining (-0%)

Threshold costs -0b (-0%)

Counts
1 → 1
Calls
Call 1
Inputs
#s(approx (/ (cos (* 2 x)) (* (pow c 2) (* (* x (pow s 2)) x))) (/.f64 #s(literal 1 binary64) (*.f64 (*.f64 (*.f64 c (*.f64 s s)) (*.f64 x x)) c)))
Outputs
#s(approx (/ (cos (* 2 x)) (* (pow c 2) (* (* x (pow s 2)) x))) (/.f64 #s(literal 1 binary64) (*.f64 (*.f64 (*.f64 c (*.f64 s s)) (*.f64 x x)) c)))
Calls

6 calls:

1.0ms
x
1.0ms
s
1.0ms
c
1.0ms
(pow.f64 s #s(literal 2 binary64))
1.0ms
(/.f64 (cos.f64 (*.f64 #s(literal 2 binary64) x)) (*.f64 (pow.f64 c #s(literal 2 binary64)) (*.f64 (*.f64 x (pow.f64 s #s(literal 2 binary64))) x)))
Results
AccuracySegmentsBranch
58.6%1(pow.f64 c #s(literal 2 binary64))
58.6%1c
58.6%1(pow.f64 s #s(literal 2 binary64))
58.6%1s
58.6%1(/.f64 (cos.f64 (*.f64 #s(literal 2 binary64) x)) (*.f64 (pow.f64 c #s(literal 2 binary64)) (*.f64 (*.f64 x (pow.f64 s #s(literal 2 binary64))) x)))
58.6%1x
Compiler

Compiled 23 to 31 computations (-34.8% saved)

bsearch6.0ms (0.2%)

Memory
5.6MiB live, 5.6MiB allocated; 0ms collecting garbage
Algorithm
binary-search
Stop Event
predicate-same
Steps
TimeLeftRight
5.0ms
5.954848740795715e-158
9.515741166380306e-157
Samples
3.0ms48×0valid
Compiler

Compiled 112 to 108 computations (3.6% saved)

Precisions
Click to see histograms. Total time spent on operations: 2.0ms
ival-pow2: 1.0ms (47.8% of total)
ival-mult!: 1.0ms (47.8% of total)
adjust: 0.0ms (0% of total)
ival-cos: 0.0ms (0% of total)
ival-div!: 0.0ms (0% of total)

bsearch4.0ms (0.1%)

Memory
3.6MiB live, 3.6MiB allocated; 0ms collecting garbage
Algorithm
binary-search
Stop Event
narrow-enough
Steps
TimeLeftRight
3.0ms
4.7175220685590244e-17
5.174609159842366e-17
Samples
2.0ms32×0valid
Compiler

Compiled 81 to 80 computations (1.2% saved)

Precisions
Click to see histograms. Total time spent on operations: 1.0ms
ival-pow2: 1.0ms (72.5% of total)
adjust: 0.0ms (0% of total)
ival-cos: 0.0ms (0% of total)
ival-mult!: 0.0ms (0% of total)
ival-div!: 0.0ms (0% of total)

bsearch0.0ms (0%)

Memory
0.5MiB live, 0.5MiB allocated; 0ms collecting garbage
Algorithm
left-value
Steps
TimeLeftRight
0.0ms
-4.6428492142538954e-164
-0.0
Compiler

Compiled 17 to 18 computations (-5.9% saved)

bsearch0.0ms (0%)

Memory
0.4MiB live, 0.4MiB allocated; 0ms collecting garbage
Algorithm
left-value
Steps
TimeLeftRight
0.0ms
-4.6428492142538954e-164
-0.0
Compiler

Compiled 17 to 18 computations (-5.9% saved)

derivations52.0ms (1.9%)

Memory
-12.9MiB live, 33.8MiB allocated; 3ms collecting garbage
Stop Event
fuel
Compiler

Compiled 114 to 83 computations (27.2% saved)

preprocess108.0ms (3.9%)

Memory
4.5MiB live, 145.1MiB allocated; 11ms collecting garbage
Remove

(abs s)

(sort c s)

(abs c)

(abs x)

Compiler

Compiled 2 586 to 2 283 computations (11.7% saved)

end0.0ms (0%)

Memory
0.0MiB live, 0.0MiB allocated; 0ms collecting garbage

Profiling

Loading profile data...