arccos

Time bar (total: 1.5s)

start0.0ms (0%)

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

analyze4.0ms (0.3%)

Memory
6.2MiB live, 6.2MiB 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)

sample972.0ms (63.6%)

Memory
34.3MiB live, 811.8MiB allocated; 873ms collecting garbage
Samples
721.0ms8 256×0valid
1.0ms25×0invalid
Precisions
Click to see histograms. Total time spent on operations: 565.0ms
ival-sqrt: 325.0ms (57.5% of total)
ival-atan: 84.0ms (14.9% of total)
ival-add!: 57.0ms (10.1% of total)
ival-mult!: 37.0ms (6.6% of total)
ival-div!: 34.0ms (6% of total)
ival-sub!: 26.0ms (4.6% of total)
adjust: 1.0ms (0.2% of total)
Bogosity

preprocess75.0ms (4.9%)

Memory
-14.9MiB live, 40.8MiB allocated; 18ms 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)

series4.0ms (0.3%)

Memory
5.6MiB live, 5.6MiB 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
2.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
@-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))

rewrite66.0ms (4.3%)

Memory
22.6MiB live, 66.4MiB allocated; 10ms 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))))

eval5.0ms (0.3%)

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

Compiled 466 to 250 computations (46.4% saved)

prune2.0ms (0.1%)

Memory
3.2MiB live, 3.2MiB 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.4%
(*.f64 #s(literal 2 binary64) (atan.f64 #s(approx (sqrt (/ (- 1 x) (+ 1 x))) (+.f64 (neg.f64 x) #s(literal 1 binary64)))))
98.4%
(*.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
3.4MiB live, 3.4MiB 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))

rewrite118.0ms (7.7%)

Memory
-7.4MiB live, 38.3MiB allocated; 5ms 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.4%)

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

Compiled 575 to 335 computations (41.7% saved)

prune2.0ms (0.2%)

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

4 alts after pruning (1 fresh and 3 done)

PrunedKeptTotal
New54155
Fresh000
Picked033
Done000
Total54458
Accuracy
100.0%
Counts
58 → 4
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.4%
(*.f64 #s(literal 2 binary64) (atan.f64 #s(approx (sqrt (/ (- 1 x) (+ 1 x))) (+.f64 (neg.f64 x) #s(literal 1 binary64)))))
99.4%
(*.f64 #s(literal 2 binary64) (atan.f64 #s(approx (sqrt (/ (- 1 x) (+ 1 x))) #s(approx (+ (neg x) 1) (*.f64 (-.f64 (/.f64 #s(literal 1 binary64) x) #s(literal 1 binary64)) x)))))
98.4%
(*.f64 #s(literal 2 binary64) (atan.f64 #s(approx (sqrt (/ (- 1 x) (+ 1 x))) #s(literal 1 binary64))))
Compiler

Compiled 50 to 50 computations (0% saved)

series23.0ms (1.5%)

Memory
-39.2MiB live, 4.7MiB allocated; 7ms collecting garbage
Counts
10 → 22
Calls
Call 1
Inputs
(*.f64 #s(literal 2 binary64) (atan.f64 #s(approx (sqrt (/ (- 1 x) (+ 1 x))) #s(approx (+ (neg x) 1) (*.f64 (-.f64 (/.f64 #s(literal 1 binary64) x) #s(literal 1 binary64)) x)))))
#s(literal 2 binary64)
(atan.f64 #s(approx (sqrt (/ (- 1 x) (+ 1 x))) #s(approx (+ (neg x) 1) (*.f64 (-.f64 (/.f64 #s(literal 1 binary64) x) #s(literal 1 binary64)) x))))
#s(approx (sqrt (/ (- 1 x) (+ 1 x))) #s(approx (+ (neg x) 1) (*.f64 (-.f64 (/.f64 #s(literal 1 binary64) x) #s(literal 1 binary64)) x)))
#s(approx (+ (neg x) 1) (*.f64 (-.f64 (/.f64 #s(literal 1 binary64) x) #s(literal 1 binary64)) x))
(*.f64 (-.f64 (/.f64 #s(literal 1 binary64) x) #s(literal 1 binary64)) x)
(-.f64 (/.f64 #s(literal 1 binary64) x) #s(literal 1 binary64))
(/.f64 #s(literal 1 binary64) x)
#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) #s(hole binary64 (/ 1 x)))
#s(approx (- (/ 1 x) 1) #s(hole binary64 (/ (+ 1 (* -1 x)) x)))
#s(approx x #s(hole binary64 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 (* -1 x)))
#s(approx (+ (neg x) 1) #s(hole binary64 (* x (- (/ 1 x) 1))))
#s(approx (- (/ 1 x) 1) #s(hole binary64 -1))
#s(approx (- (/ 1 x) 1) #s(hole binary64 (- (/ 1 x) 1)))
#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))))))
Calls

3 calls:

TimeVariablePointExpression
21.0ms
x
@-inf
((* 2 (atan (sqrt (/ (- 1 x) (+ 1 x))))) 2 (atan (sqrt (/ (- 1 x) (+ 1 x)))) (sqrt (/ (- 1 x) (+ 1 x))) (+ (neg x) 1) (* (- (/ 1 x) 1) x) (- (/ 1 x) 1) (/ 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))) (+ (neg x) 1) (* (- (/ 1 x) 1) x) (- (/ 1 x) 1) (/ 1 x) 1 x)
1.0ms
x
@inf
((* 2 (atan (sqrt (/ (- 1 x) (+ 1 x))))) 2 (atan (sqrt (/ (- 1 x) (+ 1 x)))) (sqrt (/ (- 1 x) (+ 1 x))) (+ (neg x) 1) (* (- (/ 1 x) 1) x) (- (/ 1 x) 1) (/ 1 x) 1 x)

rewrite80.0ms (5.2%)

Memory
28.7MiB live, 81.0MiB allocated; 14ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0115557
0122474
0707471
Stop Event
iter-limit
iter-limit
iter-limit
unsound
iter-limit
Counts
32 → 39
Calls
Call 1
Inputs
(*.f64 #s(literal 2 binary64) (atan.f64 #s(approx (sqrt (/ (- 1 x) (+ 1 x))) #s(approx (+ (neg x) 1) (*.f64 (-.f64 (/.f64 #s(literal 1 binary64) x) #s(literal 1 binary64)) x)))))
#s(literal 2 binary64)
(atan.f64 #s(approx (sqrt (/ (- 1 x) (+ 1 x))) #s(approx (+ (neg x) 1) (*.f64 (-.f64 (/.f64 #s(literal 1 binary64) x) #s(literal 1 binary64)) x))))
#s(approx (sqrt (/ (- 1 x) (+ 1 x))) #s(approx (+ (neg x) 1) (*.f64 (-.f64 (/.f64 #s(literal 1 binary64) x) #s(literal 1 binary64)) x)))
#s(approx (+ (neg x) 1) (*.f64 (-.f64 (/.f64 #s(literal 1 binary64) x) #s(literal 1 binary64)) x))
(*.f64 (-.f64 (/.f64 #s(literal 1 binary64) x) #s(literal 1 binary64)) x)
(-.f64 (/.f64 #s(literal 1 binary64) x) #s(literal 1 binary64))
(/.f64 #s(literal 1 binary64) x)
#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) #s(hole binary64 (/ 1 x)))
#s(approx (- (/ 1 x) 1) #s(hole binary64 (/ (+ 1 (* -1 x)) x)))
#s(approx x #s(hole binary64 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 (* -1 x)))
#s(approx (+ (neg x) 1) #s(hole binary64 (* x (- (/ 1 x) 1))))
#s(approx (- (/ 1 x) 1) #s(hole binary64 -1))
#s(approx (- (/ 1 x) 1) #s(hole binary64 (- (/ 1 x) 1)))
#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))))))
Outputs
(*.f64 (atan.f64 #s(approx (sqrt (/ (- 1 x) (+ 1 x))) #s(approx (+ (neg x) 1) (*.f64 (-.f64 (/.f64 #s(literal 1 binary64) x) #s(literal 1 binary64)) x)))) #s(literal 2 binary64))
(*.f64 #s(literal 2 binary64) (atan.f64 #s(approx (sqrt (/ (- 1 x) (+ 1 x))) #s(approx (+ (neg x) 1) (*.f64 (-.f64 (/.f64 #s(literal 1 binary64) x) #s(literal 1 binary64)) x)))))
(+.f64 (atan.f64 #s(approx (sqrt (/ (- 1 x) (+ 1 x))) #s(approx (+ (neg x) 1) (*.f64 (-.f64 (/.f64 #s(literal 1 binary64) x) #s(literal 1 binary64)) x)))) (atan.f64 #s(approx (sqrt (/ (- 1 x) (+ 1 x))) #s(approx (+ (neg x) 1) (*.f64 (-.f64 (/.f64 #s(literal 1 binary64) x) #s(literal 1 binary64)) x)))))
#s(literal 2 binary64)
(atan.f64 #s(approx (sqrt (/ (- 1 x) (+ 1 x))) #s(approx (+ (neg x) 1) (*.f64 (-.f64 (/.f64 #s(literal 1 binary64) x) #s(literal 1 binary64)) x))))
#s(approx (sqrt (/ (- 1 x) (+ 1 x))) #s(approx (+ (neg x) 1) (*.f64 (-.f64 (/.f64 #s(literal 1 binary64) x) #s(literal 1 binary64)) x)))
#s(approx (+ (neg x) 1) (*.f64 (-.f64 (/.f64 #s(literal 1 binary64) x) #s(literal 1 binary64)) x))
(*.f64 (-.f64 (/.f64 #s(literal 1 binary64) x) #s(literal 1 binary64)) x)
(*.f64 x (-.f64 (/.f64 #s(literal 1 binary64) x) #s(literal 1 binary64)))
(/.f64 (-.f64 (*.f64 (/.f64 #s(literal 1 binary64) x) (/.f64 #s(literal 1 binary64) x)) #s(literal 1 binary64)) (+.f64 (/.f64 #s(literal 1 binary64) x) #s(literal 1 binary64)))
(/.f64 (-.f64 (pow.f64 (/.f64 #s(literal 1 binary64) x) #s(literal 3 binary64)) #s(literal 1 binary64)) (fma.f64 (/.f64 #s(literal 1 binary64) x) (/.f64 #s(literal 1 binary64) x) (+.f64 #s(literal 1 binary64) (*.f64 (/.f64 #s(literal 1 binary64) x) #s(literal 1 binary64)))))
(-.f64 (/.f64 #s(literal 1 binary64) x) #s(literal 1 binary64))
(pow.f64 x #s(literal -1 binary64))
(/.f64 #s(literal -1 binary64) (neg.f64 x))
(/.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 #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) (/.f64 #s(literal 1 binary64) x))
#s(approx (- (/ 1 x) 1) (/.f64 (+.f64 (neg.f64 x) #s(literal 1 binary64)) x))
#s(approx x x)
#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) (neg.f64 x))
#s(approx (+ (neg x) 1) (*.f64 (-.f64 (/.f64 #s(literal 1 binary64) x) #s(literal 1 binary64)) x))
#s(approx (- (/ 1 x) 1) #s(literal -1 binary64))
#s(approx (- (/ 1 x) 1) (-.f64 (/.f64 #s(literal 1 binary64) x) #s(literal 1 binary64)))
#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))))

eval3.0ms (0.2%)

Memory
6.6MiB live, 6.5MiB allocated; 0ms collecting garbage
Compiler

Compiled 340 to 188 computations (44.7% saved)

prune2.0ms (0.1%)

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

4 alts after pruning (1 fresh and 3 done)

PrunedKeptTotal
New25126
Fresh000
Picked101
Done033
Total26430
Accuracy
100.0%
Counts
30 → 4
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.4%
(*.f64 (atan.f64 #s(approx (sqrt (/ (- 1 x) (+ 1 x))) #s(approx (+ (neg x) 1) (*.f64 (-.f64 (/.f64 #s(literal 1 binary64) x) #s(literal 1 binary64)) x)))) #s(literal 2 binary64))
99.4%
(*.f64 #s(literal 2 binary64) (atan.f64 #s(approx (sqrt (/ (- 1 x) (+ 1 x))) (+.f64 (neg.f64 x) #s(literal 1 binary64)))))
98.4%
(*.f64 #s(literal 2 binary64) (atan.f64 #s(approx (sqrt (/ (- 1 x) (+ 1 x))) #s(literal 1 binary64))))
Compiler

Compiled 50 to 50 computations (0% saved)

series5.0ms (0.3%)

Memory
-38.9MiB live, 7.2MiB allocated; 4ms collecting garbage
Counts
10 → 22
Calls
Call 1
Inputs
(*.f64 (atan.f64 #s(approx (sqrt (/ (- 1 x) (+ 1 x))) #s(approx (+ (neg x) 1) (*.f64 (-.f64 (/.f64 #s(literal 1 binary64) x) #s(literal 1 binary64)) x)))) #s(literal 2 binary64))
(atan.f64 #s(approx (sqrt (/ (- 1 x) (+ 1 x))) #s(approx (+ (neg x) 1) (*.f64 (-.f64 (/.f64 #s(literal 1 binary64) x) #s(literal 1 binary64)) x))))
#s(approx (sqrt (/ (- 1 x) (+ 1 x))) #s(approx (+ (neg x) 1) (*.f64 (-.f64 (/.f64 #s(literal 1 binary64) x) #s(literal 1 binary64)) x)))
#s(approx (+ (neg x) 1) (*.f64 (-.f64 (/.f64 #s(literal 1 binary64) x) #s(literal 1 binary64)) x))
(*.f64 (-.f64 (/.f64 #s(literal 1 binary64) x) #s(literal 1 binary64)) x)
(-.f64 (/.f64 #s(literal 1 binary64) x) #s(literal 1 binary64))
(/.f64 #s(literal 1 binary64) x)
#s(literal 1 binary64)
x
#s(literal 2 binary64)
Outputs
#s(approx (* (atan (sqrt (/ (- 1 x) (+ 1 x)))) 2) #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) #s(hole binary64 (/ 1 x)))
#s(approx (- (/ 1 x) 1) #s(hole binary64 (/ (+ 1 (* -1 x)) x)))
#s(approx x #s(hole binary64 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 (* -1 x)))
#s(approx (+ (neg x) 1) #s(hole binary64 (* x (- (/ 1 x) 1))))
#s(approx (- (/ 1 x) 1) #s(hole binary64 -1))
#s(approx (- (/ 1 x) 1) #s(hole binary64 (- (/ 1 x) 1)))
#s(approx (* (atan (sqrt (/ (- 1 x) (+ 1 x)))) 2) #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))))))
Calls

3 calls:

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

rewrite71.0ms (4.6%)

Memory
8.0MiB live, 54.3MiB allocated; 2ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0116557
0123474
0707471
Stop Event
iter-limit
iter-limit
iter-limit
unsound
iter-limit
Counts
32 → 38
Calls
Call 1
Inputs
(*.f64 (atan.f64 #s(approx (sqrt (/ (- 1 x) (+ 1 x))) #s(approx (+ (neg x) 1) (*.f64 (-.f64 (/.f64 #s(literal 1 binary64) x) #s(literal 1 binary64)) x)))) #s(literal 2 binary64))
(atan.f64 #s(approx (sqrt (/ (- 1 x) (+ 1 x))) #s(approx (+ (neg x) 1) (*.f64 (-.f64 (/.f64 #s(literal 1 binary64) x) #s(literal 1 binary64)) x))))
#s(approx (sqrt (/ (- 1 x) (+ 1 x))) #s(approx (+ (neg x) 1) (*.f64 (-.f64 (/.f64 #s(literal 1 binary64) x) #s(literal 1 binary64)) x)))
#s(approx (+ (neg x) 1) (*.f64 (-.f64 (/.f64 #s(literal 1 binary64) x) #s(literal 1 binary64)) x))
(*.f64 (-.f64 (/.f64 #s(literal 1 binary64) x) #s(literal 1 binary64)) x)
(-.f64 (/.f64 #s(literal 1 binary64) x) #s(literal 1 binary64))
(/.f64 #s(literal 1 binary64) x)
#s(literal 1 binary64)
x
#s(literal 2 binary64)
#s(approx (* (atan (sqrt (/ (- 1 x) (+ 1 x)))) 2) #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) #s(hole binary64 (/ 1 x)))
#s(approx (- (/ 1 x) 1) #s(hole binary64 (/ (+ 1 (* -1 x)) x)))
#s(approx x #s(hole binary64 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 (* -1 x)))
#s(approx (+ (neg x) 1) #s(hole binary64 (* x (- (/ 1 x) 1))))
#s(approx (- (/ 1 x) 1) #s(hole binary64 -1))
#s(approx (- (/ 1 x) 1) #s(hole binary64 (- (/ 1 x) 1)))
#s(approx (* (atan (sqrt (/ (- 1 x) (+ 1 x)))) 2) #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))))))
Outputs
(*.f64 #s(literal 2 binary64) (atan.f64 #s(approx (sqrt (/ (- 1 x) (+ 1 x))) #s(approx (+ (neg x) 1) (*.f64 (-.f64 (/.f64 #s(literal 1 binary64) x) #s(literal 1 binary64)) x)))))
(*.f64 (atan.f64 #s(approx (sqrt (/ (- 1 x) (+ 1 x))) #s(approx (+ (neg x) 1) (*.f64 (-.f64 (/.f64 #s(literal 1 binary64) x) #s(literal 1 binary64)) x)))) #s(literal 2 binary64))
(atan.f64 #s(approx (sqrt (/ (- 1 x) (+ 1 x))) #s(approx (+ (neg x) 1) (*.f64 (-.f64 (/.f64 #s(literal 1 binary64) x) #s(literal 1 binary64)) x))))
#s(approx (sqrt (/ (- 1 x) (+ 1 x))) #s(approx (+ (neg x) 1) (*.f64 (-.f64 (/.f64 #s(literal 1 binary64) x) #s(literal 1 binary64)) x)))
#s(approx (+ (neg x) 1) (*.f64 (-.f64 (/.f64 #s(literal 1 binary64) x) #s(literal 1 binary64)) x))
(*.f64 (-.f64 (/.f64 #s(literal 1 binary64) x) #s(literal 1 binary64)) x)
(*.f64 x (-.f64 (/.f64 #s(literal 1 binary64) x) #s(literal 1 binary64)))
(/.f64 (-.f64 (*.f64 (/.f64 #s(literal 1 binary64) x) (/.f64 #s(literal 1 binary64) x)) #s(literal 1 binary64)) (+.f64 (/.f64 #s(literal 1 binary64) x) #s(literal 1 binary64)))
(/.f64 (-.f64 (pow.f64 (/.f64 #s(literal 1 binary64) x) #s(literal 3 binary64)) #s(literal 1 binary64)) (fma.f64 (/.f64 #s(literal 1 binary64) x) (/.f64 #s(literal 1 binary64) x) (+.f64 #s(literal 1 binary64) (*.f64 (/.f64 #s(literal 1 binary64) x) #s(literal 1 binary64)))))
(-.f64 (/.f64 #s(literal 1 binary64) x) #s(literal 1 binary64))
(pow.f64 x #s(literal -1 binary64))
(/.f64 #s(literal -1 binary64) (neg.f64 x))
(/.f64 #s(literal 1 binary64) x)
#s(literal 1 binary64)
x
#s(literal 2 binary64)
#s(approx (* (atan (sqrt (/ (- 1 x) (+ 1 x)))) 2) (*.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) (/.f64 #s(literal 1 binary64) x))
#s(approx (- (/ 1 x) 1) (/.f64 (+.f64 (neg.f64 x) #s(literal 1 binary64)) x))
#s(approx x x)
#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) (neg.f64 x))
#s(approx (+ (neg x) 1) (*.f64 (-.f64 (/.f64 #s(literal 1 binary64) x) #s(literal 1 binary64)) x))
#s(approx (- (/ 1 x) 1) #s(literal -1 binary64))
#s(approx (- (/ 1 x) 1) (-.f64 (/.f64 #s(literal 1 binary64) x) #s(literal 1 binary64)))
#s(approx (* (atan (sqrt (/ (- 1 x) (+ 1 x)))) 2) (*.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))))

eval3.0ms (0.2%)

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

Compiled 331 to 193 computations (41.7% saved)

prune3.0ms (0.2%)

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

4 alts after pruning (0 fresh and 4 done)

PrunedKeptTotal
New27027
Fresh000
Picked011
Done033
Total27431
Accuracy
100.0%
Counts
31 → 4
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.4%
(*.f64 (atan.f64 #s(approx (sqrt (/ (- 1 x) (+ 1 x))) #s(approx (+ (neg x) 1) (*.f64 (-.f64 (/.f64 #s(literal 1 binary64) x) #s(literal 1 binary64)) x)))) #s(literal 2 binary64))
99.4%
(*.f64 #s(literal 2 binary64) (atan.f64 #s(approx (sqrt (/ (- 1 x) (+ 1 x))) (+.f64 (neg.f64 x) #s(literal 1 binary64)))))
98.4%
(*.f64 #s(literal 2 binary64) (atan.f64 #s(approx (sqrt (/ (- 1 x) (+ 1 x))) #s(literal 1 binary64))))
Compiler

Compiled 105 to 87 computations (17.1% saved)

regimes9.0ms (0.6%)

Memory
16.9MiB live, 16.9MiB allocated; 0ms collecting garbage
Counts
6 → 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 #s(approx (sqrt (/ (- 1 x) (+ 1 x))) #s(approx (+ (neg x) 1) (*.f64 (-.f64 (/.f64 #s(literal 1 binary64) x) #s(literal 1 binary64)) x)))) #s(literal 2 binary64))
(*.f64 #s(literal 2 binary64) (atan.f64 #s(approx (sqrt (/ (- 1 x) (+ 1 x))) #s(approx (+ (neg x) 1) (*.f64 (-.f64 (/.f64 #s(literal 1 binary64) x) #s(literal 1 binary64)) 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 #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
2.0ms
(*.f64 #s(literal 2 binary64) (atan.f64 (sqrt.f64 (/.f64 (-.f64 #s(literal 1 binary64) x) (+.f64 #s(literal 1 binary64) x)))))
2.0ms
(atan.f64 (sqrt.f64 (/.f64 (-.f64 #s(literal 1 binary64) x) (+.f64 #s(literal 1 binary64) x))))
2.0ms
(sqrt.f64 (/.f64 (-.f64 #s(literal 1 binary64) x) (+.f64 #s(literal 1 binary64) x)))
2.0ms
(/.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)

regimes28.0ms (1.8%)

Memory
-29.8MiB live, 16.9MiB allocated; 3ms 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 #s(approx (sqrt (/ (- 1 x) (+ 1 x))) #s(approx (+ (neg x) 1) (*.f64 (-.f64 (/.f64 #s(literal 1 binary64) x) #s(literal 1 binary64)) x)))) #s(literal 2 binary64))
(*.f64 #s(literal 2 binary64) (atan.f64 #s(approx (sqrt (/ (- 1 x) (+ 1 x))) #s(approx (+ (neg x) 1) (*.f64 (-.f64 (/.f64 #s(literal 1 binary64) x) #s(literal 1 binary64)) x)))))
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:

22.0ms
(/.f64 (-.f64 #s(literal 1 binary64) x) (+.f64 #s(literal 1 binary64) x))
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
(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
99.4%1(/.f64 (-.f64 #s(literal 1 binary64) x) (+.f64 #s(literal 1 binary64) x))
99.4%1(sqrt.f64 (/.f64 (-.f64 #s(literal 1 binary64) x) (+.f64 #s(literal 1 binary64) x)))
99.4%1(atan.f64 (sqrt.f64 (/.f64 (-.f64 #s(literal 1 binary64) x) (+.f64 #s(literal 1 binary64) x))))
99.4%1(*.f64 #s(literal 2 binary64) (atan.f64 (sqrt.f64 (/.f64 (-.f64 #s(literal 1 binary64) x) (+.f64 #s(literal 1 binary64) x)))))
99.4%1x
Compiler

Compiled 32 to 28 computations (12.5% saved)

regimes4.0ms (0.3%)

Memory
13.6MiB live, 13.5MiB 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
(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
98.4%1(/.f64 (-.f64 #s(literal 1 binary64) x) (+.f64 #s(literal 1 binary64) x))
98.4%1(sqrt.f64 (/.f64 (-.f64 #s(literal 1 binary64) x) (+.f64 #s(literal 1 binary64) x)))
98.4%1(atan.f64 (sqrt.f64 (/.f64 (-.f64 #s(literal 1 binary64) x) (+.f64 #s(literal 1 binary64) x))))
98.4%1(*.f64 #s(literal 2 binary64) (atan.f64 (sqrt.f64 (/.f64 (-.f64 #s(literal 1 binary64) x) (+.f64 #s(literal 1 binary64) x)))))
98.4%1x
Compiler

Compiled 32 to 28 computations (12.5% saved)

derivations7.0ms (0.4%)

Memory
10.8MiB live, 10.8MiB allocated; 0ms collecting garbage
Stop Event
done
Compiler

Compiled 26 to 22 computations (15.4% saved)

preprocess36.0ms (2.3%)

Memory
-12.2MiB live, 47.7MiB allocated; 25ms 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...