arccos

Time bar (total: 1.3s)

start0.0ms (0%)

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

analyze4.0ms (0.3%)

Memory
5.5MiB live, 5.5MiB allocated; 0ms collecting garbage
Algorithm
search
Search
ProbabilityValidUnknownPreconditionInfiniteDomainCan'tIter
0%0%100%0%0%0%0%0
0%0%100%0%0%0%0%1
0%0%100%0%0%0%0%2
0%0%100%0%0%0%0%3
33.3%25%50%0%0%25%0%4
60%37.5%25%0%0%37.5%0%5
77.8%43.7%12.5%0%0%43.7%0%6
88.2%46.9%6.2%0%0%46.9%0%7
93.9%48.4%3.1%0%0%48.4%0%8
96.9%49.2%1.6%0%0%49.2%0%9
98.4%49.6%0.8%0%0%49.6%0%10
99.2%49.8%0.4%0%0%49.8%0%11
99.6%49.9%0.2%0%0%49.9%0%12
Compiler

Compiled 13 to 11 computations (15.4% saved)

sample952.0ms (74.2%)

Memory
26.8MiB live, 1 125.1MiB allocated; 256ms collecting garbage
Samples
688.0ms8 256×0valid
1.0ms22×0invalid
Precisions
Click to see histograms. Total time spent on operations: 491.0ms
ival-atan: 124.0ms (25.3% of total)
ival-sqrt: 94.0ms (19.2% of total)
ival-sub!: 77.0ms (15.7% of total)
ival-mult!: 67.0ms (13.7% of total)
ival-add!: 66.0ms (13.4% of total)
ival-div!: 61.0ms (12.4% of total)
adjust: 1.0ms (0.2% of total)
Bogosity

preprocess69.0ms (5.3%)

Memory
-36.2MiB live, 51.3MiB allocated; 14ms collecting garbage
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
01737
14737
211733
341533
4377533
Stop Event
node-limit
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
(*.f64 #s(literal 2 binary64) (atan.f64 (sqrt.f64 (/.f64 (-.f64 #s(literal 1 binary64) x) (+.f64 #s(literal 1 binary64) x)))))
Compiler

Compiled 20 to 18 computations (10% saved)

series7.0ms (0.6%)

Memory
21.3MiB live, 21.3MiB allocated; 0ms collecting garbage
Counts
9 → 29
Calls
Call 1
Inputs
(*.f64 #s(literal 2 binary64) (atan.f64 (sqrt.f64 (/.f64 (-.f64 #s(literal 1 binary64) x) (+.f64 #s(literal 1 binary64) x)))))
#s(literal 2 binary64)
(atan.f64 (sqrt.f64 (/.f64 (-.f64 #s(literal 1 binary64) x) (+.f64 #s(literal 1 binary64) x))))
(sqrt.f64 (/.f64 (-.f64 #s(literal 1 binary64) x) (+.f64 #s(literal 1 binary64) x)))
(/.f64 (-.f64 #s(literal 1 binary64) x) (+.f64 #s(literal 1 binary64) x))
(-.f64 #s(literal 1 binary64) x)
#s(literal 1 binary64)
x
(+.f64 #s(literal 1 binary64) x)
Outputs
#s(approx (* 2 (atan (sqrt (/ (- 1 x) (+ 1 x))))) #s(hole binary64 (* 2 (atan (sqrt (/ (- 1 x) (+ 1 x)))))))
#s(approx (atan (sqrt (/ (- 1 x) (+ 1 x)))) #s(hole binary64 (atan (sqrt (/ (- 1 x) (+ 1 x))))))
#s(approx (sqrt (/ (- 1 x) (+ 1 x))) #s(hole binary64 1))
#s(approx (sqrt (/ (- 1 x) (+ 1 x))) #s(hole binary64 (+ 1 (* -1 x))))
#s(approx (sqrt (/ (- 1 x) (+ 1 x))) #s(hole binary64 (+ 1 (* x (- (* 1/2 x) 1)))))
#s(approx (sqrt (/ (- 1 x) (+ 1 x))) #s(hole binary64 (+ 1 (* x (- (* x (+ 1/2 (* -1/2 x))) 1)))))
#s(approx (/ (- 1 x) (+ 1 x)) #s(hole binary64 (+ 1 (* -2 x))))
#s(approx (/ (- 1 x) (+ 1 x)) #s(hole binary64 (+ 1 (* x (- (* 2 x) 2)))))
#s(approx (/ (- 1 x) (+ 1 x)) #s(hole binary64 (+ 1 (* x (- (* x (+ 2 (* -2 x))) 2)))))
#s(approx x #s(hole binary64 x))
#s(approx (+ 1 x) #s(hole binary64 (+ 1 x)))
#s(approx (sqrt (/ (- 1 x) (+ 1 x))) #s(hole binary64 (sqrt -1)))
#s(approx (sqrt (/ (- 1 x) (+ 1 x))) #s(hole binary64 (+ (sqrt -1) (/ 1 (* x (sqrt -1))))))
#s(approx (sqrt (/ (- 1 x) (+ 1 x))) #s(hole binary64 (+ (sqrt -1) (+ (* -1/2 (/ (+ 2 (/ 1 (pow (sqrt -1) 2))) (* (pow x 2) (sqrt -1)))) (/ 1 (* x (sqrt -1)))))))
#s(approx (sqrt (/ (- 1 x) (+ 1 x))) #s(hole binary64 (+ (sqrt -1) (+ (* -1/2 (/ (+ 2 (/ 1 (pow (sqrt -1) 2))) (* (pow x 2) (sqrt -1)))) (+ (* 1/2 (/ (- 2 (* -1 (/ (+ 2 (/ 1 (pow (sqrt -1) 2))) (pow (sqrt -1) 2)))) (* (pow x 3) (sqrt -1)))) (/ 1 (* x (sqrt -1))))))))
#s(approx (/ (- 1 x) (+ 1 x)) #s(hole binary64 -1))
#s(approx (/ (- 1 x) (+ 1 x)) #s(hole binary64 (- (* 2 (/ 1 x)) 1)))
#s(approx (/ (- 1 x) (+ 1 x)) #s(hole binary64 (- (* 2 (/ 1 x)) (+ 1 (/ 2 (pow x 2))))))
#s(approx (/ (- 1 x) (+ 1 x)) #s(hole binary64 (- (+ (* 2 (/ 1 x)) (* 2 (/ 1 (pow x 3)))) (+ 1 (/ 2 (pow x 2))))))
#s(approx (- 1 x) #s(hole binary64 (* -1 x)))
#s(approx (- 1 x) #s(hole binary64 (* x (- (/ 1 x) 1))))
#s(approx (+ 1 x) #s(hole binary64 (* x (+ 1 (/ 1 x)))))
#s(approx (* 2 (atan (sqrt (/ (- 1 x) (+ 1 x))))) #s(hole binary64 (* 2 (atan (sqrt (/ (+ 1 (* -1 x)) (- 1 (* -1 x))))))))
#s(approx (atan (sqrt (/ (- 1 x) (+ 1 x)))) #s(hole binary64 (atan (sqrt (/ (+ 1 (* -1 x)) (- 1 (* -1 x)))))))
#s(approx (sqrt (/ (- 1 x) (+ 1 x))) #s(hole binary64 (+ (sqrt -1) (* -1 (/ (- (* 1/2 (/ (+ 2 (/ 1 (pow (sqrt -1) 2))) (* x (sqrt -1)))) (/ 1 (sqrt -1))) x)))))
#s(approx (sqrt (/ (- 1 x) (+ 1 x))) #s(hole binary64 (+ (sqrt -1) (* -1 (/ (- (* -1 (/ (+ (* -1/2 (/ (+ 2 (/ 1 (pow (sqrt -1) 2))) (sqrt -1))) (* 1/2 (/ (+ 2 (+ (* 2 (/ 1 (pow (sqrt -1) 2))) (/ 1 (pow (sqrt -1) 4)))) (* x (sqrt -1))))) x)) (/ 1 (sqrt -1))) x)))))
#s(approx (/ (- 1 x) (+ 1 x)) #s(hole binary64 (- (* -1 (/ (- (* 2 (/ 1 x)) 2) x)) 1)))
#s(approx (/ (- 1 x) (+ 1 x)) #s(hole binary64 (- (* -1 (/ (- (* -1 (/ (- (* 2 (/ 1 x)) 2) x)) 2) x)) 1)))
#s(approx (- 1 x) #s(hole binary64 (* -1 (* x (- 1 (/ 1 x))))))
Calls

3 calls:

TimeVariablePointExpression
3.0ms
x
@inf
((* 2 (atan (sqrt (/ (- 1 x) (+ 1 x))))) 2 (atan (sqrt (/ (- 1 x) (+ 1 x)))) (sqrt (/ (- 1 x) (+ 1 x))) (/ (- 1 x) (+ 1 x)) (- 1 x) 1 x (+ 1 x))
3.0ms
x
@-inf
((* 2 (atan (sqrt (/ (- 1 x) (+ 1 x))))) 2 (atan (sqrt (/ (- 1 x) (+ 1 x)))) (sqrt (/ (- 1 x) (+ 1 x))) (/ (- 1 x) (+ 1 x)) (- 1 x) 1 x (+ 1 x))
1.0ms
x
@0
((* 2 (atan (sqrt (/ (- 1 x) (+ 1 x))))) 2 (atan (sqrt (/ (- 1 x) (+ 1 x)))) (sqrt (/ (- 1 x) (+ 1 x))) (/ (- 1 x) (+ 1 x)) (- 1 x) 1 x (+ 1 x))

rewrite72.0ms (5.6%)

Memory
-21.2MiB live, 132.9MiB allocated; 16ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0149652
0156555
0948546
Stop Event
iter-limit
iter-limit
node-limit
iter-limit
Counts
38 → 49
Calls
Call 1
Inputs
(*.f64 #s(literal 2 binary64) (atan.f64 (sqrt.f64 (/.f64 (-.f64 #s(literal 1 binary64) x) (+.f64 #s(literal 1 binary64) x)))))
#s(literal 2 binary64)
(atan.f64 (sqrt.f64 (/.f64 (-.f64 #s(literal 1 binary64) x) (+.f64 #s(literal 1 binary64) x))))
(sqrt.f64 (/.f64 (-.f64 #s(literal 1 binary64) x) (+.f64 #s(literal 1 binary64) x)))
(/.f64 (-.f64 #s(literal 1 binary64) x) (+.f64 #s(literal 1 binary64) x))
(-.f64 #s(literal 1 binary64) x)
#s(literal 1 binary64)
x
(+.f64 #s(literal 1 binary64) x)
#s(approx (* 2 (atan (sqrt (/ (- 1 x) (+ 1 x))))) #s(hole binary64 (* 2 (atan (sqrt (/ (- 1 x) (+ 1 x)))))))
#s(approx (atan (sqrt (/ (- 1 x) (+ 1 x)))) #s(hole binary64 (atan (sqrt (/ (- 1 x) (+ 1 x))))))
#s(approx (sqrt (/ (- 1 x) (+ 1 x))) #s(hole binary64 1))
#s(approx (sqrt (/ (- 1 x) (+ 1 x))) #s(hole binary64 (+ 1 (* -1 x))))
#s(approx (sqrt (/ (- 1 x) (+ 1 x))) #s(hole binary64 (+ 1 (* x (- (* 1/2 x) 1)))))
#s(approx (sqrt (/ (- 1 x) (+ 1 x))) #s(hole binary64 (+ 1 (* x (- (* x (+ 1/2 (* -1/2 x))) 1)))))
#s(approx (/ (- 1 x) (+ 1 x)) #s(hole binary64 (+ 1 (* -2 x))))
#s(approx (/ (- 1 x) (+ 1 x)) #s(hole binary64 (+ 1 (* x (- (* 2 x) 2)))))
#s(approx (/ (- 1 x) (+ 1 x)) #s(hole binary64 (+ 1 (* x (- (* x (+ 2 (* -2 x))) 2)))))
#s(approx x #s(hole binary64 x))
#s(approx (+ 1 x) #s(hole binary64 (+ 1 x)))
#s(approx (sqrt (/ (- 1 x) (+ 1 x))) #s(hole binary64 (sqrt -1)))
#s(approx (sqrt (/ (- 1 x) (+ 1 x))) #s(hole binary64 (+ (sqrt -1) (/ 1 (* x (sqrt -1))))))
#s(approx (sqrt (/ (- 1 x) (+ 1 x))) #s(hole binary64 (+ (sqrt -1) (+ (* -1/2 (/ (+ 2 (/ 1 (pow (sqrt -1) 2))) (* (pow x 2) (sqrt -1)))) (/ 1 (* x (sqrt -1)))))))
#s(approx (sqrt (/ (- 1 x) (+ 1 x))) #s(hole binary64 (+ (sqrt -1) (+ (* -1/2 (/ (+ 2 (/ 1 (pow (sqrt -1) 2))) (* (pow x 2) (sqrt -1)))) (+ (* 1/2 (/ (- 2 (* -1 (/ (+ 2 (/ 1 (pow (sqrt -1) 2))) (pow (sqrt -1) 2)))) (* (pow x 3) (sqrt -1)))) (/ 1 (* x (sqrt -1))))))))
#s(approx (/ (- 1 x) (+ 1 x)) #s(hole binary64 -1))
#s(approx (/ (- 1 x) (+ 1 x)) #s(hole binary64 (- (* 2 (/ 1 x)) 1)))
#s(approx (/ (- 1 x) (+ 1 x)) #s(hole binary64 (- (* 2 (/ 1 x)) (+ 1 (/ 2 (pow x 2))))))
#s(approx (/ (- 1 x) (+ 1 x)) #s(hole binary64 (- (+ (* 2 (/ 1 x)) (* 2 (/ 1 (pow x 3)))) (+ 1 (/ 2 (pow x 2))))))
#s(approx (- 1 x) #s(hole binary64 (* -1 x)))
#s(approx (- 1 x) #s(hole binary64 (* x (- (/ 1 x) 1))))
#s(approx (+ 1 x) #s(hole binary64 (* x (+ 1 (/ 1 x)))))
#s(approx (* 2 (atan (sqrt (/ (- 1 x) (+ 1 x))))) #s(hole binary64 (* 2 (atan (sqrt (/ (+ 1 (* -1 x)) (- 1 (* -1 x))))))))
#s(approx (atan (sqrt (/ (- 1 x) (+ 1 x)))) #s(hole binary64 (atan (sqrt (/ (+ 1 (* -1 x)) (- 1 (* -1 x)))))))
#s(approx (sqrt (/ (- 1 x) (+ 1 x))) #s(hole binary64 (+ (sqrt -1) (* -1 (/ (- (* 1/2 (/ (+ 2 (/ 1 (pow (sqrt -1) 2))) (* x (sqrt -1)))) (/ 1 (sqrt -1))) x)))))
#s(approx (sqrt (/ (- 1 x) (+ 1 x))) #s(hole binary64 (+ (sqrt -1) (* -1 (/ (- (* -1 (/ (+ (* -1/2 (/ (+ 2 (/ 1 (pow (sqrt -1) 2))) (sqrt -1))) (* 1/2 (/ (+ 2 (+ (* 2 (/ 1 (pow (sqrt -1) 2))) (/ 1 (pow (sqrt -1) 4)))) (* x (sqrt -1))))) x)) (/ 1 (sqrt -1))) x)))))
#s(approx (/ (- 1 x) (+ 1 x)) #s(hole binary64 (- (* -1 (/ (- (* 2 (/ 1 x)) 2) x)) 1)))
#s(approx (/ (- 1 x) (+ 1 x)) #s(hole binary64 (- (* -1 (/ (- (* -1 (/ (- (* 2 (/ 1 x)) 2) x)) 2) x)) 1)))
#s(approx (- 1 x) #s(hole binary64 (* -1 (* x (- 1 (/ 1 x))))))
Outputs
(*.f64 (atan.f64 (sqrt.f64 (/.f64 (-.f64 #s(literal 1 binary64) x) (+.f64 x #s(literal 1 binary64))))) #s(literal 2 binary64))
(*.f64 #s(literal 2 binary64) (atan.f64 (sqrt.f64 (/.f64 (-.f64 #s(literal 1 binary64) x) (+.f64 x #s(literal 1 binary64))))))
(+.f64 (atan.f64 (sqrt.f64 (/.f64 (-.f64 #s(literal 1 binary64) x) (+.f64 x #s(literal 1 binary64))))) (atan.f64 (sqrt.f64 (/.f64 (-.f64 #s(literal 1 binary64) x) (+.f64 x #s(literal 1 binary64))))))
#s(literal 2 binary64)
(atan.f64 (sqrt.f64 (/.f64 (-.f64 #s(literal 1 binary64) x) (+.f64 x #s(literal 1 binary64)))))
(pow.f64 (/.f64 (-.f64 #s(literal 1 binary64) x) (+.f64 x #s(literal 1 binary64))) #s(literal 1/2 binary64))
(/.f64 (sqrt.f64 (-.f64 #s(literal 1 binary64) x)) (sqrt.f64 (+.f64 x #s(literal 1 binary64))))
(sqrt.f64 (/.f64 (-.f64 #s(literal 1 binary64) x) (+.f64 x #s(literal 1 binary64))))
(/.f64 (neg.f64 (-.f64 #s(literal 1 binary64) x)) (neg.f64 (+.f64 x #s(literal 1 binary64))))
(/.f64 (-.f64 #s(literal 1 binary64) x) (+.f64 x #s(literal 1 binary64)))
(-.f64 (/.f64 #s(literal 1 binary64) (+.f64 x #s(literal 1 binary64))) (/.f64 x (+.f64 x #s(literal 1 binary64))))
(/.f64 (-.f64 #s(literal 1 binary64) (*.f64 x x)) (+.f64 x #s(literal 1 binary64)))
(/.f64 (-.f64 #s(literal 1 binary64) (*.f64 (*.f64 x x) x)) (+.f64 #s(literal 1 binary64) (fma.f64 x x (*.f64 #s(literal 1 binary64) x))))
(-.f64 #s(literal 1 binary64) x)
#s(literal 1 binary64)
x
(/.f64 (-.f64 #s(literal 1 binary64) (*.f64 x x)) (-.f64 #s(literal 1 binary64) x))
(/.f64 (+.f64 #s(literal 1 binary64) (*.f64 (*.f64 x x) x)) (+.f64 #s(literal 1 binary64) (-.f64 (*.f64 x x) (*.f64 #s(literal 1 binary64) x))))
(+.f64 x #s(literal 1 binary64))
(+.f64 #s(literal 1 binary64) x)
#s(approx (* 2 (atan (sqrt (/ (- 1 x) (+ 1 x))))) (*.f64 (atan.f64 (sqrt.f64 (/.f64 (-.f64 #s(literal 1 binary64) x) (+.f64 x #s(literal 1 binary64))))) #s(literal 2 binary64)))
#s(approx (atan (sqrt (/ (- 1 x) (+ 1 x)))) (atan.f64 (sqrt.f64 (/.f64 (-.f64 #s(literal 1 binary64) x) (+.f64 x #s(literal 1 binary64))))))
#s(approx (sqrt (/ (- 1 x) (+ 1 x))) #s(literal 1 binary64))
#s(approx (sqrt (/ (- 1 x) (+ 1 x))) (+.f64 (neg.f64 x) #s(literal 1 binary64)))
#s(approx (sqrt (/ (- 1 x) (+ 1 x))) (fma.f64 (-.f64 (*.f64 #s(literal 1/2 binary64) x) #s(literal 1 binary64)) x #s(literal 1 binary64)))
#s(approx (sqrt (/ (- 1 x) (+ 1 x))) (fma.f64 (-.f64 (*.f64 (fma.f64 #s(literal -1/2 binary64) x #s(literal 1/2 binary64)) x) #s(literal 1 binary64)) x #s(literal 1 binary64)))
#s(approx (/ (- 1 x) (+ 1 x)) (fma.f64 #s(literal -2 binary64) x #s(literal 1 binary64)))
#s(approx (/ (- 1 x) (+ 1 x)) (fma.f64 (-.f64 (+.f64 x x) #s(literal 2 binary64)) x #s(literal 1 binary64)))
#s(approx (/ (- 1 x) (+ 1 x)) (fma.f64 (-.f64 (*.f64 (fma.f64 #s(literal -2 binary64) x #s(literal 2 binary64)) x) #s(literal 2 binary64)) x #s(literal 1 binary64)))
#s(approx x x)
#s(approx (+ 1 x) (+.f64 x #s(literal 1 binary64)))
#s(approx (sqrt (/ (- 1 x) (+ 1 x))) (sqrt.f64 #s(literal -1 binary64)))
#s(approx (sqrt (/ (- 1 x) (+ 1 x))) (+.f64 (/.f64 #s(literal 1 binary64) (*.f64 (sqrt.f64 #s(literal -1 binary64)) x)) (sqrt.f64 #s(literal -1 binary64))))
#s(approx (sqrt (/ (- 1 x) (+ 1 x))) (+.f64 (+.f64 (sqrt.f64 #s(literal -1 binary64)) (/.f64 #s(literal -1/2 binary64) (*.f64 (*.f64 x x) (sqrt.f64 #s(literal -1 binary64))))) (/.f64 #s(literal 1 binary64) (*.f64 (sqrt.f64 #s(literal -1 binary64)) x))))
#s(approx (sqrt (/ (- 1 x) (+ 1 x))) (+.f64 (+.f64 (+.f64 (/.f64 #s(literal 1 binary64) (*.f64 (sqrt.f64 #s(literal -1 binary64)) x)) (/.f64 #s(literal 1/2 binary64) (*.f64 (*.f64 (*.f64 x x) x) (sqrt.f64 #s(literal -1 binary64))))) (/.f64 #s(literal -1/2 binary64) (*.f64 (*.f64 x x) (sqrt.f64 #s(literal -1 binary64))))) (sqrt.f64 #s(literal -1 binary64))))
#s(approx (/ (- 1 x) (+ 1 x)) #s(literal -1 binary64))
#s(approx (/ (- 1 x) (+ 1 x)) (-.f64 (/.f64 #s(literal 2 binary64) x) #s(literal 1 binary64)))
#s(approx (/ (- 1 x) (+ 1 x)) (-.f64 (-.f64 (/.f64 #s(literal 2 binary64) x) #s(literal 1 binary64)) (/.f64 #s(literal 2 binary64) (*.f64 x x))))
#s(approx (/ (- 1 x) (+ 1 x)) (-.f64 (-.f64 (+.f64 (/.f64 #s(literal 2 binary64) (*.f64 (*.f64 x x) x)) (/.f64 #s(literal 2 binary64) x)) #s(literal 1 binary64)) (/.f64 #s(literal 2 binary64) (*.f64 x x))))
#s(approx (- 1 x) (neg.f64 x))
#s(approx (- 1 x) (*.f64 (-.f64 (/.f64 #s(literal 1 binary64) x) #s(literal 1 binary64)) x))
#s(approx (+ 1 x) (*.f64 (+.f64 (/.f64 #s(literal 1 binary64) x) #s(literal 1 binary64)) x))
#s(approx (* 2 (atan (sqrt (/ (- 1 x) (+ 1 x))))) (*.f64 (atan.f64 (sqrt.f64 (/.f64 (+.f64 (neg.f64 x) #s(literal 1 binary64)) (-.f64 #s(literal 1 binary64) (neg.f64 x))))) #s(literal 2 binary64)))
#s(approx (atan (sqrt (/ (- 1 x) (+ 1 x)))) (atan.f64 (sqrt.f64 (/.f64 (+.f64 (neg.f64 x) #s(literal 1 binary64)) (-.f64 #s(literal 1 binary64) (neg.f64 x))))))
#s(approx (sqrt (/ (- 1 x) (+ 1 x))) (+.f64 (neg.f64 (/.f64 (-.f64 (/.f64 #s(literal 1/2 binary64) (*.f64 (sqrt.f64 #s(literal -1 binary64)) x)) (/.f64 #s(literal 1 binary64) (sqrt.f64 #s(literal -1 binary64)))) x)) (sqrt.f64 #s(literal -1 binary64))))
#s(approx (sqrt (/ (- 1 x) (+ 1 x))) (+.f64 (neg.f64 (/.f64 (-.f64 (neg.f64 (/.f64 (+.f64 (/.f64 #s(literal 1/2 binary64) (*.f64 (sqrt.f64 #s(literal -1 binary64)) x)) (/.f64 #s(literal -1/2 binary64) (sqrt.f64 #s(literal -1 binary64)))) x)) (/.f64 #s(literal 1 binary64) (sqrt.f64 #s(literal -1 binary64)))) x)) (sqrt.f64 #s(literal -1 binary64))))
#s(approx (/ (- 1 x) (+ 1 x)) (-.f64 (neg.f64 (/.f64 (-.f64 (/.f64 #s(literal 2 binary64) x) #s(literal 2 binary64)) x)) #s(literal 1 binary64)))
#s(approx (/ (- 1 x) (+ 1 x)) (-.f64 (neg.f64 (/.f64 (-.f64 (neg.f64 (/.f64 (-.f64 (/.f64 #s(literal 2 binary64) x) #s(literal 2 binary64)) x)) #s(literal 2 binary64)) x)) #s(literal 1 binary64)))
#s(approx (- 1 x) (*.f64 (neg.f64 x) (-.f64 #s(literal 1 binary64) (/.f64 #s(literal 1 binary64) x))))

eval4.0ms (0.3%)

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

Compiled 466 to 250 computations (46.4% saved)

prune2.0ms (0.1%)

Memory
5.6MiB live, 5.5MiB allocated; 0ms collecting garbage
Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New41344
Fresh000
Picked101
Done000
Total42345
Accuracy
100.0%
Counts
45 → 3
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
(*.f64 (atan.f64 (sqrt.f64 (/.f64 (-.f64 #s(literal 1 binary64) x) (+.f64 x #s(literal 1 binary64))))) #s(literal 2 binary64))
99.2%
(*.f64 #s(literal 2 binary64) (atan.f64 #s(approx (sqrt (/ (- 1 x) (+ 1 x))) (+.f64 (neg.f64 x) #s(literal 1 binary64)))))
98.6%
(*.f64 #s(literal 2 binary64) (atan.f64 #s(approx (sqrt (/ (- 1 x) (+ 1 x))) #s(literal 1 binary64))))
Compiler

Compiled 33 to 33 computations (0% saved)

series3.0ms (0.2%)

Memory
7.7MiB live, 7.7MiB allocated; 0ms collecting garbage
Counts
17 → 29
Calls
Call 1
Inputs
(*.f64 #s(literal 2 binary64) (atan.f64 #s(approx (sqrt (/ (- 1 x) (+ 1 x))) #s(literal 1 binary64))))
#s(literal 2 binary64)
(atan.f64 #s(approx (sqrt (/ (- 1 x) (+ 1 x))) #s(literal 1 binary64)))
#s(approx (sqrt (/ (- 1 x) (+ 1 x))) #s(literal 1 binary64))
#s(literal 1 binary64)
(*.f64 #s(literal 2 binary64) (atan.f64 #s(approx (sqrt (/ (- 1 x) (+ 1 x))) (+.f64 (neg.f64 x) #s(literal 1 binary64)))))
(atan.f64 #s(approx (sqrt (/ (- 1 x) (+ 1 x))) (+.f64 (neg.f64 x) #s(literal 1 binary64))))
#s(approx (sqrt (/ (- 1 x) (+ 1 x))) (+.f64 (neg.f64 x) #s(literal 1 binary64)))
(+.f64 (neg.f64 x) #s(literal 1 binary64))
(neg.f64 x)
x
(*.f64 (atan.f64 (sqrt.f64 (/.f64 (-.f64 #s(literal 1 binary64) x) (+.f64 x #s(literal 1 binary64))))) #s(literal 2 binary64))
(atan.f64 (sqrt.f64 (/.f64 (-.f64 #s(literal 1 binary64) x) (+.f64 x #s(literal 1 binary64)))))
(sqrt.f64 (/.f64 (-.f64 #s(literal 1 binary64) x) (+.f64 x #s(literal 1 binary64))))
(/.f64 (-.f64 #s(literal 1 binary64) x) (+.f64 x #s(literal 1 binary64)))
(-.f64 #s(literal 1 binary64) x)
(+.f64 x #s(literal 1 binary64))
Outputs
#s(approx (* 2 (atan (sqrt (/ (- 1 x) (+ 1 x))))) #s(hole binary64 (* 2 (atan (sqrt (/ (- 1 x) (+ 1 x)))))))
#s(approx (atan (sqrt (/ (- 1 x) (+ 1 x)))) #s(hole binary64 (atan (sqrt (/ (- 1 x) (+ 1 x))))))
#s(approx (sqrt (/ (- 1 x) (+ 1 x))) #s(hole binary64 1))
#s(approx (sqrt (/ (- 1 x) (+ 1 x))) #s(hole binary64 (+ 1 (* -1 x))))
#s(approx (sqrt (/ (- 1 x) (+ 1 x))) #s(hole binary64 (+ 1 (* x (- (* 1/2 x) 1)))))
#s(approx (sqrt (/ (- 1 x) (+ 1 x))) #s(hole binary64 (+ 1 (* x (- (* x (+ 1/2 (* -1/2 x))) 1)))))
#s(approx (neg x) #s(hole binary64 (* -1 x)))
#s(approx x #s(hole binary64 x))
#s(approx (/ (- 1 x) (+ x 1)) #s(hole binary64 (+ 1 (* -2 x))))
#s(approx (/ (- 1 x) (+ x 1)) #s(hole binary64 (+ 1 (* x (- (* 2 x) 2)))))
#s(approx (/ (- 1 x) (+ x 1)) #s(hole binary64 (+ 1 (* x (- (* x (+ 2 (* -2 x))) 2)))))
#s(approx (+ x 1) #s(hole binary64 (+ 1 x)))
#s(approx (sqrt (/ (- 1 x) (+ 1 x))) #s(hole binary64 (sqrt -1)))
#s(approx (sqrt (/ (- 1 x) (+ 1 x))) #s(hole binary64 (+ (sqrt -1) (/ 1 (* x (sqrt -1))))))
#s(approx (sqrt (/ (- 1 x) (+ 1 x))) #s(hole binary64 (+ (sqrt -1) (+ (* -1/2 (/ (+ 2 (/ 1 (pow (sqrt -1) 2))) (* (pow x 2) (sqrt -1)))) (/ 1 (* x (sqrt -1)))))))
#s(approx (sqrt (/ (- 1 x) (+ 1 x))) #s(hole binary64 (+ (sqrt -1) (+ (* -1/2 (/ (+ 2 (/ 1 (pow (sqrt -1) 2))) (* (pow x 2) (sqrt -1)))) (+ (* 1/2 (/ (- 2 (* -1 (/ (+ 2 (/ 1 (pow (sqrt -1) 2))) (pow (sqrt -1) 2)))) (* (pow x 3) (sqrt -1)))) (/ 1 (* x (sqrt -1))))))))
#s(approx (+ (neg x) 1) #s(hole binary64 (* x (- (/ 1 x) 1))))
#s(approx (/ (- 1 x) (+ x 1)) #s(hole binary64 -1))
#s(approx (/ (- 1 x) (+ x 1)) #s(hole binary64 (- (* 2 (/ 1 x)) 1)))
#s(approx (/ (- 1 x) (+ x 1)) #s(hole binary64 (- (* 2 (/ 1 x)) (+ 1 (/ 2 (pow x 2))))))
#s(approx (/ (- 1 x) (+ x 1)) #s(hole binary64 (- (+ (* 2 (/ 1 x)) (* 2 (/ 1 (pow x 3)))) (+ 1 (/ 2 (pow x 2))))))
#s(approx (+ x 1) #s(hole binary64 (* x (+ 1 (/ 1 x)))))
#s(approx (* 2 (atan (sqrt (/ (- 1 x) (+ 1 x))))) #s(hole binary64 (* 2 (atan (sqrt (/ (+ 1 (* -1 x)) (- 1 (* -1 x))))))))
#s(approx (atan (sqrt (/ (- 1 x) (+ 1 x)))) #s(hole binary64 (atan (sqrt (/ (+ 1 (* -1 x)) (- 1 (* -1 x)))))))
#s(approx (sqrt (/ (- 1 x) (+ 1 x))) #s(hole binary64 (+ (sqrt -1) (* -1 (/ (- (* 1/2 (/ (+ 2 (/ 1 (pow (sqrt -1) 2))) (* x (sqrt -1)))) (/ 1 (sqrt -1))) x)))))
#s(approx (sqrt (/ (- 1 x) (+ 1 x))) #s(hole binary64 (+ (sqrt -1) (* -1 (/ (- (* -1 (/ (+ (* -1/2 (/ (+ 2 (/ 1 (pow (sqrt -1) 2))) (sqrt -1))) (* 1/2 (/ (+ 2 (+ (* 2 (/ 1 (pow (sqrt -1) 2))) (/ 1 (pow (sqrt -1) 4)))) (* x (sqrt -1))))) x)) (/ 1 (sqrt -1))) x)))))
#s(approx (+ (neg x) 1) #s(hole binary64 (* -1 (* x (- 1 (/ 1 x))))))
#s(approx (/ (- 1 x) (+ x 1)) #s(hole binary64 (- (* -1 (/ (- (* 2 (/ 1 x)) 2) x)) 1)))
#s(approx (/ (- 1 x) (+ x 1)) #s(hole binary64 (- (* -1 (/ (- (* -1 (/ (- (* 2 (/ 1 x)) 2) x)) 2) x)) 1)))
Calls

3 calls:

TimeVariablePointExpression
1.0ms
x
@-inf
((* 2 (atan (sqrt (/ (- 1 x) (+ 1 x))))) 2 (atan (sqrt (/ (- 1 x) (+ 1 x)))) (sqrt (/ (- 1 x) (+ 1 x))) 1 (* 2 (atan (sqrt (/ (- 1 x) (+ 1 x))))) (atan (sqrt (/ (- 1 x) (+ 1 x)))) (sqrt (/ (- 1 x) (+ 1 x))) (+ (neg x) 1) (neg x) x (* (atan (sqrt (/ (- 1 x) (+ x 1)))) 2) (atan (sqrt (/ (- 1 x) (+ x 1)))) (sqrt (/ (- 1 x) (+ x 1))) (/ (- 1 x) (+ x 1)) (- 1 x) (+ x 1))
1.0ms
x
@inf
((* 2 (atan (sqrt (/ (- 1 x) (+ 1 x))))) 2 (atan (sqrt (/ (- 1 x) (+ 1 x)))) (sqrt (/ (- 1 x) (+ 1 x))) 1 (* 2 (atan (sqrt (/ (- 1 x) (+ 1 x))))) (atan (sqrt (/ (- 1 x) (+ 1 x)))) (sqrt (/ (- 1 x) (+ 1 x))) (+ (neg x) 1) (neg x) x (* (atan (sqrt (/ (- 1 x) (+ x 1)))) 2) (atan (sqrt (/ (- 1 x) (+ x 1)))) (sqrt (/ (- 1 x) (+ x 1))) (/ (- 1 x) (+ x 1)) (- 1 x) (+ x 1))
1.0ms
x
@0
((* 2 (atan (sqrt (/ (- 1 x) (+ 1 x))))) 2 (atan (sqrt (/ (- 1 x) (+ 1 x)))) (sqrt (/ (- 1 x) (+ 1 x))) 1 (* 2 (atan (sqrt (/ (- 1 x) (+ 1 x))))) (atan (sqrt (/ (- 1 x) (+ 1 x)))) (sqrt (/ (- 1 x) (+ 1 x))) (+ (neg x) 1) (neg x) x (* (atan (sqrt (/ (- 1 x) (+ x 1)))) 2) (atan (sqrt (/ (- 1 x) (+ x 1)))) (sqrt (/ (- 1 x) (+ x 1))) (/ (- 1 x) (+ x 1)) (- 1 x) (+ x 1))

rewrite111.0ms (8.6%)

Memory
-34.2MiB live, 110.1MiB allocated; 10ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0160736
0173639
01001630
Stop Event
iter-limit
iter-limit
node-limit
iter-limit
Counts
46 → 73
Calls
Call 1
Inputs
(*.f64 #s(literal 2 binary64) (atan.f64 #s(approx (sqrt (/ (- 1 x) (+ 1 x))) #s(literal 1 binary64))))
#s(literal 2 binary64)
(atan.f64 #s(approx (sqrt (/ (- 1 x) (+ 1 x))) #s(literal 1 binary64)))
#s(approx (sqrt (/ (- 1 x) (+ 1 x))) #s(literal 1 binary64))
#s(literal 1 binary64)
(*.f64 #s(literal 2 binary64) (atan.f64 #s(approx (sqrt (/ (- 1 x) (+ 1 x))) (+.f64 (neg.f64 x) #s(literal 1 binary64)))))
(atan.f64 #s(approx (sqrt (/ (- 1 x) (+ 1 x))) (+.f64 (neg.f64 x) #s(literal 1 binary64))))
#s(approx (sqrt (/ (- 1 x) (+ 1 x))) (+.f64 (neg.f64 x) #s(literal 1 binary64)))
(+.f64 (neg.f64 x) #s(literal 1 binary64))
(neg.f64 x)
x
(*.f64 (atan.f64 (sqrt.f64 (/.f64 (-.f64 #s(literal 1 binary64) x) (+.f64 x #s(literal 1 binary64))))) #s(literal 2 binary64))
(atan.f64 (sqrt.f64 (/.f64 (-.f64 #s(literal 1 binary64) x) (+.f64 x #s(literal 1 binary64)))))
(sqrt.f64 (/.f64 (-.f64 #s(literal 1 binary64) x) (+.f64 x #s(literal 1 binary64))))
(/.f64 (-.f64 #s(literal 1 binary64) x) (+.f64 x #s(literal 1 binary64)))
(-.f64 #s(literal 1 binary64) x)
(+.f64 x #s(literal 1 binary64))
#s(approx (* 2 (atan (sqrt (/ (- 1 x) (+ 1 x))))) #s(hole binary64 (* 2 (atan (sqrt (/ (- 1 x) (+ 1 x)))))))
#s(approx (atan (sqrt (/ (- 1 x) (+ 1 x)))) #s(hole binary64 (atan (sqrt (/ (- 1 x) (+ 1 x))))))
#s(approx (sqrt (/ (- 1 x) (+ 1 x))) #s(hole binary64 1))
#s(approx (sqrt (/ (- 1 x) (+ 1 x))) #s(hole binary64 (+ 1 (* -1 x))))
#s(approx (sqrt (/ (- 1 x) (+ 1 x))) #s(hole binary64 (+ 1 (* x (- (* 1/2 x) 1)))))
#s(approx (sqrt (/ (- 1 x) (+ 1 x))) #s(hole binary64 (+ 1 (* x (- (* x (+ 1/2 (* -1/2 x))) 1)))))
#s(approx (neg x) #s(hole binary64 (* -1 x)))
#s(approx x #s(hole binary64 x))
#s(approx (/ (- 1 x) (+ x 1)) #s(hole binary64 (+ 1 (* -2 x))))
#s(approx (/ (- 1 x) (+ x 1)) #s(hole binary64 (+ 1 (* x (- (* 2 x) 2)))))
#s(approx (/ (- 1 x) (+ x 1)) #s(hole binary64 (+ 1 (* x (- (* x (+ 2 (* -2 x))) 2)))))
#s(approx (+ x 1) #s(hole binary64 (+ 1 x)))
#s(approx (sqrt (/ (- 1 x) (+ 1 x))) #s(hole binary64 (sqrt -1)))
#s(approx (sqrt (/ (- 1 x) (+ 1 x))) #s(hole binary64 (+ (sqrt -1) (/ 1 (* x (sqrt -1))))))
#s(approx (sqrt (/ (- 1 x) (+ 1 x))) #s(hole binary64 (+ (sqrt -1) (+ (* -1/2 (/ (+ 2 (/ 1 (pow (sqrt -1) 2))) (* (pow x 2) (sqrt -1)))) (/ 1 (* x (sqrt -1)))))))
#s(approx (sqrt (/ (- 1 x) (+ 1 x))) #s(hole binary64 (+ (sqrt -1) (+ (* -1/2 (/ (+ 2 (/ 1 (pow (sqrt -1) 2))) (* (pow x 2) (sqrt -1)))) (+ (* 1/2 (/ (- 2 (* -1 (/ (+ 2 (/ 1 (pow (sqrt -1) 2))) (pow (sqrt -1) 2)))) (* (pow x 3) (sqrt -1)))) (/ 1 (* x (sqrt -1))))))))
#s(approx (+ (neg x) 1) #s(hole binary64 (* x (- (/ 1 x) 1))))
#s(approx (/ (- 1 x) (+ x 1)) #s(hole binary64 -1))
#s(approx (/ (- 1 x) (+ x 1)) #s(hole binary64 (- (* 2 (/ 1 x)) 1)))
#s(approx (/ (- 1 x) (+ x 1)) #s(hole binary64 (- (* 2 (/ 1 x)) (+ 1 (/ 2 (pow x 2))))))
#s(approx (/ (- 1 x) (+ x 1)) #s(hole binary64 (- (+ (* 2 (/ 1 x)) (* 2 (/ 1 (pow x 3)))) (+ 1 (/ 2 (pow x 2))))))
#s(approx (+ x 1) #s(hole binary64 (* x (+ 1 (/ 1 x)))))
#s(approx (* 2 (atan (sqrt (/ (- 1 x) (+ 1 x))))) #s(hole binary64 (* 2 (atan (sqrt (/ (+ 1 (* -1 x)) (- 1 (* -1 x))))))))
#s(approx (atan (sqrt (/ (- 1 x) (+ 1 x)))) #s(hole binary64 (atan (sqrt (/ (+ 1 (* -1 x)) (- 1 (* -1 x)))))))
#s(approx (sqrt (/ (- 1 x) (+ 1 x))) #s(hole binary64 (+ (sqrt -1) (* -1 (/ (- (* 1/2 (/ (+ 2 (/ 1 (pow (sqrt -1) 2))) (* x (sqrt -1)))) (/ 1 (sqrt -1))) x)))))
#s(approx (sqrt (/ (- 1 x) (+ 1 x))) #s(hole binary64 (+ (sqrt -1) (* -1 (/ (- (* -1 (/ (+ (* -1/2 (/ (+ 2 (/ 1 (pow (sqrt -1) 2))) (sqrt -1))) (* 1/2 (/ (+ 2 (+ (* 2 (/ 1 (pow (sqrt -1) 2))) (/ 1 (pow (sqrt -1) 4)))) (* x (sqrt -1))))) x)) (/ 1 (sqrt -1))) x)))))
#s(approx (+ (neg x) 1) #s(hole binary64 (* -1 (* x (- 1 (/ 1 x))))))
#s(approx (/ (- 1 x) (+ x 1)) #s(hole binary64 (- (* -1 (/ (- (* 2 (/ 1 x)) 2) x)) 1)))
#s(approx (/ (- 1 x) (+ x 1)) #s(hole binary64 (- (* -1 (/ (- (* -1 (/ (- (* 2 (/ 1 x)) 2) x)) 2) x)) 1)))
Outputs
(*.f64 (atan.f64 #s(approx (sqrt (/ (- 1 x) (+ 1 x))) #s(literal 1 binary64))) #s(literal 2 binary64))
(*.f64 #s(literal 2 binary64) (atan.f64 #s(approx (sqrt (/ (- 1 x) (+ 1 x))) #s(literal 1 binary64))))
(+.f64 (atan.f64 #s(approx (sqrt (/ (- 1 x) (+ 1 x))) #s(literal 1 binary64))) (atan.f64 #s(approx (sqrt (/ (- 1 x) (+ 1 x))) #s(literal 1 binary64))))
#s(literal 2 binary64)
(atan.f64 #s(approx (sqrt (/ (- 1 x) (+ 1 x))) #s(literal 1 binary64)))
#s(approx (sqrt (/ (- 1 x) (+ 1 x))) #s(literal 1 binary64))
#s(literal 1 binary64)
(*.f64 (atan.f64 #s(approx (sqrt (/ (- 1 x) (+ 1 x))) (+.f64 (neg.f64 x) #s(literal 1 binary64)))) #s(literal 2 binary64))
(*.f64 #s(literal 2 binary64) (atan.f64 #s(approx (sqrt (/ (- 1 x) (+ 1 x))) (+.f64 (neg.f64 x) #s(literal 1 binary64)))))
(+.f64 (atan.f64 #s(approx (sqrt (/ (- 1 x) (+ 1 x))) (+.f64 (neg.f64 x) #s(literal 1 binary64)))) (atan.f64 #s(approx (sqrt (/ (- 1 x) (+ 1 x))) (+.f64 (neg.f64 x) #s(literal 1 binary64)))))
(atan.f64 #s(approx (sqrt (/ (- 1 x) (+ 1 x))) (+.f64 (neg.f64 x) #s(literal 1 binary64))))
#s(approx (sqrt (/ (- 1 x) (+ 1 x))) (+.f64 (neg.f64 x) #s(literal 1 binary64)))
(/.f64 (-.f64 (*.f64 (neg.f64 x) (neg.f64 x)) #s(literal 1 binary64)) (-.f64 (neg.f64 x) #s(literal 1 binary64)))
(/.f64 (-.f64 #s(literal 1 binary64) (*.f64 (neg.f64 x) (neg.f64 x))) (-.f64 #s(literal 1 binary64) (neg.f64 x)))
(/.f64 (+.f64 (pow.f64 (neg.f64 x) #s(literal 3 binary64)) #s(literal 1 binary64)) (fma.f64 (neg.f64 x) (neg.f64 x) (-.f64 #s(literal 1 binary64) (*.f64 (neg.f64 x) #s(literal 1 binary64)))))
(/.f64 (+.f64 #s(literal 1 binary64) (pow.f64 (neg.f64 x) #s(literal 3 binary64))) (+.f64 #s(literal 1 binary64) (-.f64 (*.f64 (neg.f64 x) (neg.f64 x)) (*.f64 #s(literal 1 binary64) (neg.f64 x)))))
(fma.f64 #s(literal -1 binary64) x #s(literal 1 binary64))
(fma.f64 x #s(literal -1 binary64) #s(literal 1 binary64))
(-.f64 #s(literal 1 binary64) (*.f64 #s(literal 1 binary64) x))
(+.f64 (neg.f64 x) #s(literal 1 binary64))
(+.f64 #s(literal 1 binary64) (neg.f64 x))
(*.f64 #s(literal -1 binary64) x)
(*.f64 x #s(literal -1 binary64))
(neg.f64 x)
x
(*.f64 (atan.f64 (sqrt.f64 (/.f64 (-.f64 #s(literal 1 binary64) x) (+.f64 x #s(literal 1 binary64))))) #s(literal 2 binary64))
(*.f64 #s(literal 2 binary64) (atan.f64 (sqrt.f64 (/.f64 (-.f64 #s(literal 1 binary64) x) (+.f64 x #s(literal 1 binary64))))))
(+.f64 (atan.f64 (sqrt.f64 (/.f64 (-.f64 #s(literal 1 binary64) x) (+.f64 x #s(literal 1 binary64))))) (atan.f64 (sqrt.f64 (/.f64 (-.f64 #s(literal 1 binary64) x) (+.f64 x #s(literal 1 binary64))))))
(atan.f64 (sqrt.f64 (/.f64 (-.f64 #s(literal 1 binary64) x) (+.f64 x #s(literal 1 binary64)))))
(pow.f64 (/.f64 (-.f64 #s(literal 1 binary64) x) (+.f64 x #s(literal 1 binary64))) #s(literal 1/2 binary64))
(/.f64 (sqrt.f64 (-.f64 #s(literal 1 binary64) x)) (sqrt.f64 (+.f64 x #s(literal 1 binary64))))
(sqrt.f64 (/.f64 (-.f64 #s(literal 1 binary64) x) (+.f64 x #s(literal 1 binary64))))
(/.f64 (neg.f64 (-.f64 #s(literal 1 binary64) x)) (neg.f64 (+.f64 x #s(literal 1 binary64))))
(/.f64 (-.f64 #s(literal 1 binary64) x) (+.f64 x #s(literal 1 binary64)))
(-.f64 (/.f64 #s(literal 1 binary64) (+.f64 x #s(literal 1 binary64))) (/.f64 x (+.f64 x #s(literal 1 binary64))))
(/.f64 (-.f64 #s(literal 1 binary64) (*.f64 x x)) (+.f64 x #s(literal 1 binary64)))
(/.f64 (-.f64 #s(literal 1 binary64) (*.f64 (*.f64 x x) x)) (+.f64 #s(literal 1 binary64) (fma.f64 x x (*.f64 #s(literal 1 binary64) x))))
(-.f64 #s(literal 1 binary64) x)
(/.f64 (-.f64 (*.f64 x x) #s(literal 1 binary64)) (-.f64 x #s(literal 1 binary64)))
(/.f64 (-.f64 #s(literal 1 binary64) (*.f64 x x)) (-.f64 #s(literal 1 binary64) x))
(/.f64 (fma.f64 (*.f64 x x) x #s(literal 1 binary64)) (fma.f64 x x (-.f64 #s(literal 1 binary64) (*.f64 x #s(literal 1 binary64)))))
(/.f64 (+.f64 #s(literal 1 binary64) (*.f64 (*.f64 x x) x)) (+.f64 #s(literal 1 binary64) (-.f64 (*.f64 x x) (*.f64 #s(literal 1 binary64) x))))
(+.f64 x #s(literal 1 binary64))
(+.f64 #s(literal 1 binary64) x)
#s(approx (* 2 (atan (sqrt (/ (- 1 x) (+ 1 x))))) (*.f64 (atan.f64 (sqrt.f64 (/.f64 (-.f64 #s(literal 1 binary64) x) (+.f64 x #s(literal 1 binary64))))) #s(literal 2 binary64)))
#s(approx (atan (sqrt (/ (- 1 x) (+ 1 x)))) (atan.f64 (sqrt.f64 (/.f64 (-.f64 #s(literal 1 binary64) x) (+.f64 x #s(literal 1 binary64))))))
#s(approx (sqrt (/ (- 1 x) (+ 1 x))) #s(literal 1 binary64))
#s(approx (sqrt (/ (- 1 x) (+ 1 x))) (+.f64 (neg.f64 x) #s(literal 1 binary64)))
#s(approx (sqrt (/ (- 1 x) (+ 1 x))) (fma.f64 (-.f64 (*.f64 #s(literal 1/2 binary64) x) #s(literal 1 binary64)) x #s(literal 1 binary64)))
#s(approx (sqrt (/ (- 1 x) (+ 1 x))) (fma.f64 (-.f64 (*.f64 (fma.f64 #s(literal -1/2 binary64) x #s(literal 1/2 binary64)) x) #s(literal 1 binary64)) x #s(literal 1 binary64)))
#s(approx (neg x) (neg.f64 x))
#s(approx x x)
#s(approx (/ (- 1 x) (+ x 1)) (fma.f64 #s(literal -2 binary64) x #s(literal 1 binary64)))
#s(approx (/ (- 1 x) (+ x 1)) (fma.f64 (-.f64 (+.f64 x x) #s(literal 2 binary64)) x #s(literal 1 binary64)))
#s(approx (/ (- 1 x) (+ x 1)) (fma.f64 (-.f64 (*.f64 (fma.f64 #s(literal -2 binary64) x #s(literal 2 binary64)) x) #s(literal 2 binary64)) x #s(literal 1 binary64)))
#s(approx (+ x 1) (+.f64 x #s(literal 1 binary64)))
#s(approx (sqrt (/ (- 1 x) (+ 1 x))) (sqrt.f64 #s(literal -1 binary64)))
#s(approx (sqrt (/ (- 1 x) (+ 1 x))) (+.f64 (/.f64 #s(literal 1 binary64) (*.f64 (sqrt.f64 #s(literal -1 binary64)) x)) (sqrt.f64 #s(literal -1 binary64))))
#s(approx (sqrt (/ (- 1 x) (+ 1 x))) (+.f64 (+.f64 (sqrt.f64 #s(literal -1 binary64)) (/.f64 #s(literal -1/2 binary64) (*.f64 (*.f64 x x) (sqrt.f64 #s(literal -1 binary64))))) (/.f64 #s(literal 1 binary64) (*.f64 (sqrt.f64 #s(literal -1 binary64)) x))))
#s(approx (sqrt (/ (- 1 x) (+ 1 x))) (+.f64 (+.f64 (+.f64 (/.f64 #s(literal 1 binary64) (*.f64 (sqrt.f64 #s(literal -1 binary64)) x)) (/.f64 #s(literal 1/2 binary64) (*.f64 (*.f64 (*.f64 x x) x) (sqrt.f64 #s(literal -1 binary64))))) (/.f64 #s(literal -1/2 binary64) (*.f64 (*.f64 x x) (sqrt.f64 #s(literal -1 binary64))))) (sqrt.f64 #s(literal -1 binary64))))
#s(approx (+ (neg x) 1) (*.f64 (-.f64 (/.f64 #s(literal 1 binary64) x) #s(literal 1 binary64)) x))
#s(approx (/ (- 1 x) (+ x 1)) #s(literal -1 binary64))
#s(approx (/ (- 1 x) (+ x 1)) (-.f64 (/.f64 #s(literal 2 binary64) x) #s(literal 1 binary64)))
#s(approx (/ (- 1 x) (+ x 1)) (-.f64 (-.f64 (/.f64 #s(literal 2 binary64) x) #s(literal 1 binary64)) (/.f64 #s(literal 2 binary64) (*.f64 x x))))
#s(approx (/ (- 1 x) (+ x 1)) (-.f64 (-.f64 (+.f64 (/.f64 #s(literal 2 binary64) (*.f64 (*.f64 x x) x)) (/.f64 #s(literal 2 binary64) x)) #s(literal 1 binary64)) (/.f64 #s(literal 2 binary64) (*.f64 x x))))
#s(approx (+ x 1) (*.f64 (+.f64 (/.f64 #s(literal 1 binary64) x) #s(literal 1 binary64)) x))
#s(approx (* 2 (atan (sqrt (/ (- 1 x) (+ 1 x))))) (*.f64 (atan.f64 (sqrt.f64 (/.f64 (+.f64 (neg.f64 x) #s(literal 1 binary64)) (-.f64 #s(literal 1 binary64) (neg.f64 x))))) #s(literal 2 binary64)))
#s(approx (atan (sqrt (/ (- 1 x) (+ 1 x)))) (atan.f64 (sqrt.f64 (/.f64 (+.f64 (neg.f64 x) #s(literal 1 binary64)) (-.f64 #s(literal 1 binary64) (neg.f64 x))))))
#s(approx (sqrt (/ (- 1 x) (+ 1 x))) (+.f64 (neg.f64 (/.f64 (-.f64 (/.f64 #s(literal 1/2 binary64) (*.f64 (sqrt.f64 #s(literal -1 binary64)) x)) (/.f64 #s(literal 1 binary64) (sqrt.f64 #s(literal -1 binary64)))) x)) (sqrt.f64 #s(literal -1 binary64))))
#s(approx (sqrt (/ (- 1 x) (+ 1 x))) (+.f64 (neg.f64 (/.f64 (-.f64 (neg.f64 (/.f64 (+.f64 (/.f64 #s(literal 1/2 binary64) (*.f64 (sqrt.f64 #s(literal -1 binary64)) x)) (/.f64 #s(literal -1/2 binary64) (sqrt.f64 #s(literal -1 binary64)))) x)) (/.f64 #s(literal 1 binary64) (sqrt.f64 #s(literal -1 binary64)))) x)) (sqrt.f64 #s(literal -1 binary64))))
#s(approx (+ (neg x) 1) (*.f64 (neg.f64 x) (-.f64 #s(literal 1 binary64) (/.f64 #s(literal 1 binary64) x))))
#s(approx (/ (- 1 x) (+ x 1)) (-.f64 (neg.f64 (/.f64 (-.f64 (/.f64 #s(literal 2 binary64) x) #s(literal 2 binary64)) x)) #s(literal 1 binary64)))
#s(approx (/ (- 1 x) (+ x 1)) (-.f64 (neg.f64 (/.f64 (-.f64 (neg.f64 (/.f64 (-.f64 (/.f64 #s(literal 2 binary64) x) #s(literal 2 binary64)) x)) #s(literal 2 binary64)) x)) #s(literal 1 binary64)))

eval6.0ms (0.5%)

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

Compiled 575 to 335 computations (41.7% saved)

prune3.0ms (0.2%)

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

3 alts after pruning (0 fresh and 3 done)

PrunedKeptTotal
New55055
Fresh000
Picked033
Done000
Total55358
Accuracy
100.0%
Counts
58 → 3
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
(*.f64 (atan.f64 (sqrt.f64 (/.f64 (-.f64 #s(literal 1 binary64) x) (+.f64 x #s(literal 1 binary64))))) #s(literal 2 binary64))
99.2%
(*.f64 #s(literal 2 binary64) (atan.f64 #s(approx (sqrt (/ (- 1 x) (+ 1 x))) (+.f64 (neg.f64 x) #s(literal 1 binary64)))))
98.6%
(*.f64 #s(literal 2 binary64) (atan.f64 #s(approx (sqrt (/ (- 1 x) (+ 1 x))) #s(literal 1 binary64))))
Compiler

Compiled 66 to 60 computations (9.1% saved)

regimes7.0ms (0.6%)

Memory
20.1MiB live, 20.1MiB allocated; 0ms collecting garbage
Counts
4 → 1
Calls
Call 1
Inputs
(*.f64 #s(literal 2 binary64) (atan.f64 #s(approx (sqrt (/ (- 1 x) (+ 1 x))) #s(literal 1 binary64))))
(*.f64 #s(literal 2 binary64) (atan.f64 #s(approx (sqrt (/ (- 1 x) (+ 1 x))) (+.f64 (neg.f64 x) #s(literal 1 binary64)))))
(*.f64 (atan.f64 (sqrt.f64 (/.f64 (-.f64 #s(literal 1 binary64) x) (+.f64 x #s(literal 1 binary64))))) #s(literal 2 binary64))
(*.f64 #s(literal 2 binary64) (atan.f64 (sqrt.f64 (/.f64 (-.f64 #s(literal 1 binary64) x) (+.f64 #s(literal 1 binary64) x)))))
Outputs
(*.f64 (atan.f64 (sqrt.f64 (/.f64 (-.f64 #s(literal 1 binary64) x) (+.f64 x #s(literal 1 binary64))))) #s(literal 2 binary64))
Calls

5 calls:

2.0ms
x
1.0ms
(*.f64 #s(literal 2 binary64) (atan.f64 (sqrt.f64 (/.f64 (-.f64 #s(literal 1 binary64) x) (+.f64 #s(literal 1 binary64) x)))))
1.0ms
(/.f64 (-.f64 #s(literal 1 binary64) x) (+.f64 #s(literal 1 binary64) x))
1.0ms
(atan.f64 (sqrt.f64 (/.f64 (-.f64 #s(literal 1 binary64) x) (+.f64 #s(literal 1 binary64) x))))
1.0ms
(sqrt.f64 (/.f64 (-.f64 #s(literal 1 binary64) x) (+.f64 #s(literal 1 binary64) x)))
Results
AccuracySegmentsBranch
100.0%1(/.f64 (-.f64 #s(literal 1 binary64) x) (+.f64 #s(literal 1 binary64) x))
100.0%1(sqrt.f64 (/.f64 (-.f64 #s(literal 1 binary64) x) (+.f64 #s(literal 1 binary64) x)))
100.0%1(atan.f64 (sqrt.f64 (/.f64 (-.f64 #s(literal 1 binary64) x) (+.f64 #s(literal 1 binary64) x))))
100.0%1(*.f64 #s(literal 2 binary64) (atan.f64 (sqrt.f64 (/.f64 (-.f64 #s(literal 1 binary64) x) (+.f64 #s(literal 1 binary64) x)))))
100.0%1x
Compiler

Compiled 32 to 28 computations (12.5% saved)

regimes6.0ms (0.5%)

Memory
-25.5MiB live, 21.4MiB allocated; 1ms collecting garbage
Counts
2 → 1
Calls
Call 1
Inputs
(*.f64 #s(literal 2 binary64) (atan.f64 #s(approx (sqrt (/ (- 1 x) (+ 1 x))) #s(literal 1 binary64))))
(*.f64 #s(literal 2 binary64) (atan.f64 #s(approx (sqrt (/ (- 1 x) (+ 1 x))) (+.f64 (neg.f64 x) #s(literal 1 binary64)))))
Outputs
(*.f64 #s(literal 2 binary64) (atan.f64 #s(approx (sqrt (/ (- 1 x) (+ 1 x))) (+.f64 (neg.f64 x) #s(literal 1 binary64)))))
Calls

5 calls:

2.0ms
x
1.0ms
(atan.f64 (sqrt.f64 (/.f64 (-.f64 #s(literal 1 binary64) x) (+.f64 #s(literal 1 binary64) x))))
1.0ms
(*.f64 #s(literal 2 binary64) (atan.f64 (sqrt.f64 (/.f64 (-.f64 #s(literal 1 binary64) x) (+.f64 #s(literal 1 binary64) x)))))
1.0ms
(sqrt.f64 (/.f64 (-.f64 #s(literal 1 binary64) x) (+.f64 #s(literal 1 binary64) x)))
1.0ms
(/.f64 (-.f64 #s(literal 1 binary64) x) (+.f64 #s(literal 1 binary64) x))
Results
AccuracySegmentsBranch
99.2%1(/.f64 (-.f64 #s(literal 1 binary64) x) (+.f64 #s(literal 1 binary64) x))
99.2%1(sqrt.f64 (/.f64 (-.f64 #s(literal 1 binary64) x) (+.f64 #s(literal 1 binary64) x)))
99.2%1(atan.f64 (sqrt.f64 (/.f64 (-.f64 #s(literal 1 binary64) x) (+.f64 #s(literal 1 binary64) x))))
99.2%1(*.f64 #s(literal 2 binary64) (atan.f64 (sqrt.f64 (/.f64 (-.f64 #s(literal 1 binary64) x) (+.f64 #s(literal 1 binary64) x)))))
99.2%1x
Compiler

Compiled 32 to 28 computations (12.5% saved)

regimes4.0ms (0.3%)

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

Total 0.0b remaining (0%)

Threshold costs 0b (0%)

Counts
1 → 1
Calls
Call 1
Inputs
(*.f64 #s(literal 2 binary64) (atan.f64 #s(approx (sqrt (/ (- 1 x) (+ 1 x))) #s(literal 1 binary64))))
Outputs
(*.f64 #s(literal 2 binary64) (atan.f64 #s(approx (sqrt (/ (- 1 x) (+ 1 x))) #s(literal 1 binary64))))
Calls

5 calls:

1.0ms
x
1.0ms
(*.f64 #s(literal 2 binary64) (atan.f64 (sqrt.f64 (/.f64 (-.f64 #s(literal 1 binary64) x) (+.f64 #s(literal 1 binary64) x)))))
1.0ms
(atan.f64 (sqrt.f64 (/.f64 (-.f64 #s(literal 1 binary64) x) (+.f64 #s(literal 1 binary64) x))))
1.0ms
(/.f64 (-.f64 #s(literal 1 binary64) x) (+.f64 #s(literal 1 binary64) x))
1.0ms
(sqrt.f64 (/.f64 (-.f64 #s(literal 1 binary64) x) (+.f64 #s(literal 1 binary64) x)))
Results
AccuracySegmentsBranch
98.6%1(/.f64 (-.f64 #s(literal 1 binary64) x) (+.f64 #s(literal 1 binary64) x))
98.6%1(sqrt.f64 (/.f64 (-.f64 #s(literal 1 binary64) x) (+.f64 #s(literal 1 binary64) x)))
98.6%1(atan.f64 (sqrt.f64 (/.f64 (-.f64 #s(literal 1 binary64) x) (+.f64 #s(literal 1 binary64) x))))
98.6%1(*.f64 #s(literal 2 binary64) (atan.f64 (sqrt.f64 (/.f64 (-.f64 #s(literal 1 binary64) x) (+.f64 #s(literal 1 binary64) x)))))
98.6%1x
Compiler

Compiled 32 to 28 computations (12.5% saved)

derivations7.0ms (0.6%)

Memory
-30.3MiB live, 16.9MiB allocated; 1ms collecting garbage
Stop Event
done
Compiler

Compiled 26 to 22 computations (15.4% saved)

preprocess25.0ms (2%)

Memory
16.0MiB live, 78.4MiB allocated; 10ms collecting garbage
Compiler

Compiled 36 to 31 computations (13.9% saved)

end0.0ms (0%)

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

Profiling

Loading profile data...