sqrt times

Time bar (total: 1.2s)

start0.0ms (0%)

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

analyze2.0ms (0.1%)

Memory
3.2MiB live, 3.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%50%0%0%50%0%2
50%25%25%0%0%50%0%3
66.7%25%12.5%0%0%62.5%0%4
80%25%6.2%0%0%68.7%0%5
88.9%25%3.1%0%0%71.8%0%6
94.1%25%1.6%0%0%73.4%0%7
97%25%0.8%0%0%74.2%0%8
98.5%25%0.4%0%0%74.6%0%9
99.2%25%0.2%0%0%74.8%0%10
99.6%25%0.1%0%0%74.9%0%11
99.8%25%0%0%0%74.9%0%12
Compiler

Compiled 9 to 8 computations (11.1% saved)

sample836.0ms (70.8%)

Memory
19.5MiB live, 652.2MiB allocated; 913ms collecting garbage
Samples
661.0ms8 247×0valid
1.0ms1valid
0.0ms0invalid
Precisions
Click to see histograms. Total time spent on operations: 244.0ms
ival-sqrt: 183.0ms (75% of total)
ival-mult!: 33.0ms (13.5% of total)
ival-sub!: 27.0ms (11.1% of total)
adjust: 2.0ms (0.8% of total)
Bogosity

preprocess131.0ms (11.1%)

Memory
4.2MiB live, 91.7MiB allocated; 35ms collecting garbage
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
01221
14421
29519
332119
Stop Event
iter-limit
iter-limit
unsound
Alt Table
Click to see full alt table
StatusAccuracyProgram
99.2%
(*.f64 (sqrt.f64 (-.f64 x #s(literal 1 binary64))) (sqrt.f64 x))
Symmetry

(abs x)

Compiler

Compiled 12 to 12 computations (0% saved)

series5.0ms (0.5%)

Memory
6.3MiB live, 6.3MiB allocated; 0ms collecting garbage
Counts
6 → 28
Calls
Call 1
Inputs
(*.f64 (sqrt.f64 (-.f64 x #s(literal 1 binary64))) (sqrt.f64 x))
(sqrt.f64 (-.f64 x #s(literal 1 binary64)))
(-.f64 x #s(literal 1 binary64))
x
#s(literal 1 binary64)
(sqrt.f64 x)
Outputs
#s(approx (* (sqrt (- x 1)) (sqrt x)) #s(hole binary64 (* (sqrt x) (sqrt -1))))
#s(approx (* (sqrt (- x 1)) (sqrt x)) #s(hole binary64 (+ (* 1/2 (* (sqrt (pow x 3)) (/ 1 (sqrt -1)))) (* (sqrt x) (sqrt -1)))))
#s(approx (* (sqrt (- x 1)) (sqrt x)) #s(hole binary64 (+ (* (sqrt x) (sqrt -1)) (* (pow x 2) (+ (* -1/8 (* (sqrt x) (/ 1 (pow (sqrt -1) 3)))) (* 1/2 (* (sqrt (/ 1 x)) (/ 1 (sqrt -1)))))))))
#s(approx (* (sqrt (- x 1)) (sqrt x)) #s(hole binary64 (+ (* (sqrt x) (sqrt -1)) (* (pow x 2) (+ (* 1/2 (* (sqrt (/ 1 x)) (/ 1 (sqrt -1)))) (* (pow x 2) (+ (* -1/8 (* (sqrt (/ 1 (pow x 3))) (/ 1 (pow (sqrt -1) 3)))) (* 1/16 (* (sqrt (/ 1 x)) (/ 1 (pow (sqrt -1) 5)))))))))))
#s(approx (sqrt (- x 1)) #s(hole binary64 (sqrt -1)))
#s(approx (sqrt (- x 1)) #s(hole binary64 (+ (sqrt -1) (* 1/2 (/ x (sqrt -1))))))
#s(approx (sqrt (- x 1)) #s(hole binary64 (+ (sqrt -1) (* x (+ (* -1/8 (/ x (pow (sqrt -1) 3))) (* 1/2 (/ 1 (sqrt -1))))))))
#s(approx (sqrt (- x 1)) #s(hole binary64 (+ (sqrt -1) (* x (+ (* x (- (* 1/16 (/ x (pow (sqrt -1) 5))) (* 1/8 (/ 1 (pow (sqrt -1) 3))))) (* 1/2 (/ 1 (sqrt -1))))))))
#s(approx (- x 1) #s(hole binary64 -1))
#s(approx (- x 1) #s(hole binary64 (- x 1)))
#s(approx x #s(hole binary64 x))
#s(approx (sqrt x) #s(hole binary64 (sqrt x)))
#s(approx (* (sqrt (- x 1)) (sqrt x)) #s(hole binary64 (* x (- 1 (* 1/2 (/ 1 x))))))
#s(approx (* (sqrt (- x 1)) (sqrt x)) #s(hole binary64 (* x (+ 1 (* -1 (/ (+ 1/2 (* 1/8 (/ 1 x))) x))))))
#s(approx (* (sqrt (- x 1)) (sqrt x)) #s(hole binary64 (* x (- (+ 1 (* -1 (/ (+ 1/8 (* 1/16 (/ 1 x))) (pow x 2)))) (* 1/2 (/ 1 x))))))
#s(approx (sqrt (- x 1)) #s(hole binary64 (* x (+ (sqrt (/ 1 x)) (* -1/2 (sqrt (/ 1 (pow x 3))))))))
#s(approx (sqrt (- x 1)) #s(hole binary64 (* x (+ (sqrt (/ 1 x)) (+ (* -1/2 (sqrt (/ 1 (pow x 3)))) (* -1/8 (sqrt (/ 1 (pow x 5)))))))))
#s(approx (sqrt (- x 1)) #s(hole binary64 (* x (+ (sqrt (/ 1 x)) (+ (* -1/2 (sqrt (/ 1 (pow x 3)))) (+ (* -1/8 (sqrt (/ 1 (pow x 5)))) (* -1/16 (sqrt (/ 1 (pow x 7))))))))))
#s(approx (- x 1) #s(hole binary64 (* x (- 1 (/ 1 x)))))
#s(approx (* (sqrt (- x 1)) (sqrt x)) #s(hole binary64 (* -1 (* x (pow (sqrt -1) 2)))))
#s(approx (* (sqrt (- x 1)) (sqrt x)) #s(hole binary64 (* -1 (* x (+ (* -1/2 (/ (pow (sqrt -1) 2) x)) (pow (sqrt -1) 2))))))
#s(approx (* (sqrt (- x 1)) (sqrt x)) #s(hole binary64 (* -1 (* x (+ (* -1 (/ (+ (* 1/8 (/ (pow (sqrt -1) 2) x)) (* 1/2 (pow (sqrt -1) 2))) x)) (pow (sqrt -1) 2))))))
#s(approx (* (sqrt (- x 1)) (sqrt x)) #s(hole binary64 (* -1 (* x (+ (* -1 (/ (+ (* -1 (/ (+ (* -1/8 (pow (sqrt -1) 2)) (* -1/16 (/ (pow (sqrt -1) 2) x))) x)) (* 1/2 (pow (sqrt -1) 2))) x)) (pow (sqrt -1) 2))))))
#s(approx (sqrt (- x 1)) #s(hole binary64 (* -1 (* (sqrt x) (pow (sqrt -1) 2)))))
#s(approx (sqrt (- x 1)) #s(hole binary64 (* -1 (* x (+ (* 1/2 (* (sqrt (/ 1 (pow x 3))) (pow (sqrt -1) 2))) (* (sqrt (/ 1 x)) (pow (sqrt -1) 2)))))))
#s(approx (sqrt (- x 1)) #s(hole binary64 (* -1 (* x (+ (* -1/8 (* (sqrt (/ 1 (pow x 5))) (pow (sqrt -1) 2))) (+ (* 1/2 (* (sqrt (/ 1 (pow x 3))) (pow (sqrt -1) 2))) (* (sqrt (/ 1 x)) (pow (sqrt -1) 2))))))))
#s(approx (sqrt (- x 1)) #s(hole binary64 (* -1 (* x (+ (* -1/8 (* (sqrt (/ 1 (pow x 5))) (pow (sqrt -1) 2))) (+ (* 1/16 (* (sqrt (/ 1 (pow x 7))) (pow (sqrt -1) 2))) (+ (* 1/2 (* (sqrt (/ 1 (pow x 3))) (pow (sqrt -1) 2))) (* (sqrt (/ 1 x)) (pow (sqrt -1) 2)))))))))
#s(approx (- x 1) #s(hole binary64 (* -1 (* x (- (/ 1 x) 1)))))
Calls

3 calls:

TimeVariablePointExpression
2.0ms
x
@-inf
((* (sqrt (- x 1)) (sqrt x)) (sqrt (- x 1)) (- x 1) x 1 (sqrt x))
1.0ms
x
@0
((* (sqrt (- x 1)) (sqrt x)) (sqrt (- x 1)) (- x 1) x 1 (sqrt x))
1.0ms
x
@inf
((* (sqrt (- x 1)) (sqrt x)) (sqrt (- x 1)) (- x 1) x 1 (sqrt x))

rewrite29.0ms (2.5%)

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

Useful iterations: 0 (0.0ms)

IterNodesCost
0184720
0189697
1505697
Stop Event
saturated
iter-limit
unsound
iter-limit
Counts
34 → 34
Calls
Call 1
Inputs
(*.f64 (sqrt.f64 (-.f64 x #s(literal 1 binary64))) (sqrt.f64 x))
(sqrt.f64 (-.f64 x #s(literal 1 binary64)))
(-.f64 x #s(literal 1 binary64))
x
#s(literal 1 binary64)
(sqrt.f64 x)
#s(approx (* (sqrt (- x 1)) (sqrt x)) #s(hole binary64 (* (sqrt x) (sqrt -1))))
#s(approx (* (sqrt (- x 1)) (sqrt x)) #s(hole binary64 (+ (* 1/2 (* (sqrt (pow x 3)) (/ 1 (sqrt -1)))) (* (sqrt x) (sqrt -1)))))
#s(approx (* (sqrt (- x 1)) (sqrt x)) #s(hole binary64 (+ (* (sqrt x) (sqrt -1)) (* (pow x 2) (+ (* -1/8 (* (sqrt x) (/ 1 (pow (sqrt -1) 3)))) (* 1/2 (* (sqrt (/ 1 x)) (/ 1 (sqrt -1)))))))))
#s(approx (* (sqrt (- x 1)) (sqrt x)) #s(hole binary64 (+ (* (sqrt x) (sqrt -1)) (* (pow x 2) (+ (* 1/2 (* (sqrt (/ 1 x)) (/ 1 (sqrt -1)))) (* (pow x 2) (+ (* -1/8 (* (sqrt (/ 1 (pow x 3))) (/ 1 (pow (sqrt -1) 3)))) (* 1/16 (* (sqrt (/ 1 x)) (/ 1 (pow (sqrt -1) 5)))))))))))
#s(approx (sqrt (- x 1)) #s(hole binary64 (sqrt -1)))
#s(approx (sqrt (- x 1)) #s(hole binary64 (+ (sqrt -1) (* 1/2 (/ x (sqrt -1))))))
#s(approx (sqrt (- x 1)) #s(hole binary64 (+ (sqrt -1) (* x (+ (* -1/8 (/ x (pow (sqrt -1) 3))) (* 1/2 (/ 1 (sqrt -1))))))))
#s(approx (sqrt (- x 1)) #s(hole binary64 (+ (sqrt -1) (* x (+ (* x (- (* 1/16 (/ x (pow (sqrt -1) 5))) (* 1/8 (/ 1 (pow (sqrt -1) 3))))) (* 1/2 (/ 1 (sqrt -1))))))))
#s(approx (- x 1) #s(hole binary64 -1))
#s(approx (- x 1) #s(hole binary64 (- x 1)))
#s(approx x #s(hole binary64 x))
#s(approx (sqrt x) #s(hole binary64 (sqrt x)))
#s(approx (* (sqrt (- x 1)) (sqrt x)) #s(hole binary64 (* x (- 1 (* 1/2 (/ 1 x))))))
#s(approx (* (sqrt (- x 1)) (sqrt x)) #s(hole binary64 (* x (+ 1 (* -1 (/ (+ 1/2 (* 1/8 (/ 1 x))) x))))))
#s(approx (* (sqrt (- x 1)) (sqrt x)) #s(hole binary64 (* x (- (+ 1 (* -1 (/ (+ 1/8 (* 1/16 (/ 1 x))) (pow x 2)))) (* 1/2 (/ 1 x))))))
#s(approx (sqrt (- x 1)) #s(hole binary64 (* x (+ (sqrt (/ 1 x)) (* -1/2 (sqrt (/ 1 (pow x 3))))))))
#s(approx (sqrt (- x 1)) #s(hole binary64 (* x (+ (sqrt (/ 1 x)) (+ (* -1/2 (sqrt (/ 1 (pow x 3)))) (* -1/8 (sqrt (/ 1 (pow x 5)))))))))
#s(approx (sqrt (- x 1)) #s(hole binary64 (* x (+ (sqrt (/ 1 x)) (+ (* -1/2 (sqrt (/ 1 (pow x 3)))) (+ (* -1/8 (sqrt (/ 1 (pow x 5)))) (* -1/16 (sqrt (/ 1 (pow x 7))))))))))
#s(approx (- x 1) #s(hole binary64 (* x (- 1 (/ 1 x)))))
#s(approx (* (sqrt (- x 1)) (sqrt x)) #s(hole binary64 (* -1 (* x (pow (sqrt -1) 2)))))
#s(approx (* (sqrt (- x 1)) (sqrt x)) #s(hole binary64 (* -1 (* x (+ (* -1/2 (/ (pow (sqrt -1) 2) x)) (pow (sqrt -1) 2))))))
#s(approx (* (sqrt (- x 1)) (sqrt x)) #s(hole binary64 (* -1 (* x (+ (* -1 (/ (+ (* 1/8 (/ (pow (sqrt -1) 2) x)) (* 1/2 (pow (sqrt -1) 2))) x)) (pow (sqrt -1) 2))))))
#s(approx (* (sqrt (- x 1)) (sqrt x)) #s(hole binary64 (* -1 (* x (+ (* -1 (/ (+ (* -1 (/ (+ (* -1/8 (pow (sqrt -1) 2)) (* -1/16 (/ (pow (sqrt -1) 2) x))) x)) (* 1/2 (pow (sqrt -1) 2))) x)) (pow (sqrt -1) 2))))))
#s(approx (sqrt (- x 1)) #s(hole binary64 (* -1 (* (sqrt x) (pow (sqrt -1) 2)))))
#s(approx (sqrt (- x 1)) #s(hole binary64 (* -1 (* x (+ (* 1/2 (* (sqrt (/ 1 (pow x 3))) (pow (sqrt -1) 2))) (* (sqrt (/ 1 x)) (pow (sqrt -1) 2)))))))
#s(approx (sqrt (- x 1)) #s(hole binary64 (* -1 (* x (+ (* -1/8 (* (sqrt (/ 1 (pow x 5))) (pow (sqrt -1) 2))) (+ (* 1/2 (* (sqrt (/ 1 (pow x 3))) (pow (sqrt -1) 2))) (* (sqrt (/ 1 x)) (pow (sqrt -1) 2))))))))
#s(approx (sqrt (- x 1)) #s(hole binary64 (* -1 (* x (+ (* -1/8 (* (sqrt (/ 1 (pow x 5))) (pow (sqrt -1) 2))) (+ (* 1/16 (* (sqrt (/ 1 (pow x 7))) (pow (sqrt -1) 2))) (+ (* 1/2 (* (sqrt (/ 1 (pow x 3))) (pow (sqrt -1) 2))) (* (sqrt (/ 1 x)) (pow (sqrt -1) 2)))))))))
#s(approx (- x 1) #s(hole binary64 (* -1 (* x (- (/ 1 x) 1)))))
Outputs
(*.f64 (sqrt.f64 (-.f64 x #s(literal 1 binary64))) (sqrt.f64 x))
(sqrt.f64 (-.f64 x #s(literal 1 binary64)))
(-.f64 x #s(literal 1 binary64))
x
#s(literal 1 binary64)
(sqrt.f64 x)
#s(approx (* (sqrt (- x 1)) (sqrt x)) (*.f64 (sqrt.f64 x) (sqrt.f64 #s(literal -1 binary64))))
#s(approx (* (sqrt (- x 1)) (sqrt x)) (fma.f64 #s(literal 1/2 binary64) (*.f64 (sqrt.f64 (pow.f64 x #s(literal 3 binary64))) (/.f64 #s(literal 1 binary64) (sqrt.f64 #s(literal -1 binary64)))) (*.f64 (sqrt.f64 x) (sqrt.f64 #s(literal -1 binary64)))))
#s(approx (* (sqrt (- x 1)) (sqrt x)) (fma.f64 (sqrt.f64 x) (sqrt.f64 #s(literal -1 binary64)) (*.f64 (pow.f64 x #s(literal 2 binary64)) (fma.f64 #s(literal -1/8 binary64) (*.f64 (sqrt.f64 x) (/.f64 #s(literal 1 binary64) (pow.f64 (sqrt.f64 #s(literal -1 binary64)) #s(literal 3 binary64)))) (*.f64 #s(literal 1/2 binary64) (*.f64 (sqrt.f64 (/.f64 #s(literal 1 binary64) x)) (/.f64 #s(literal 1 binary64) (sqrt.f64 #s(literal -1 binary64)))))))))
#s(approx (* (sqrt (- x 1)) (sqrt x)) (fma.f64 (sqrt.f64 x) (sqrt.f64 #s(literal -1 binary64)) (*.f64 (pow.f64 x #s(literal 2 binary64)) (fma.f64 #s(literal 1/2 binary64) (*.f64 (sqrt.f64 (/.f64 #s(literal 1 binary64) x)) (/.f64 #s(literal 1 binary64) (sqrt.f64 #s(literal -1 binary64)))) (*.f64 (pow.f64 x #s(literal 2 binary64)) (fma.f64 #s(literal -1/8 binary64) (*.f64 (sqrt.f64 (/.f64 #s(literal 1 binary64) (pow.f64 x #s(literal 3 binary64)))) (/.f64 #s(literal 1 binary64) (pow.f64 (sqrt.f64 #s(literal -1 binary64)) #s(literal 3 binary64)))) (*.f64 #s(literal 1/16 binary64) (*.f64 (sqrt.f64 (/.f64 #s(literal 1 binary64) x)) (/.f64 #s(literal 1 binary64) (pow.f64 (sqrt.f64 #s(literal -1 binary64)) #s(literal 5 binary64)))))))))))
#s(approx (sqrt (- x 1)) (sqrt.f64 #s(literal -1 binary64)))
#s(approx (sqrt (- x 1)) (+.f64 (sqrt.f64 #s(literal -1 binary64)) (*.f64 #s(literal 1/2 binary64) (/.f64 x (sqrt.f64 #s(literal -1 binary64))))))
#s(approx (sqrt (- x 1)) (+.f64 (sqrt.f64 #s(literal -1 binary64)) (*.f64 x (fma.f64 #s(literal -1/8 binary64) (/.f64 x (pow.f64 (sqrt.f64 #s(literal -1 binary64)) #s(literal 3 binary64))) (*.f64 #s(literal 1/2 binary64) (/.f64 #s(literal 1 binary64) (sqrt.f64 #s(literal -1 binary64))))))))
#s(approx (sqrt (- x 1)) (+.f64 (sqrt.f64 #s(literal -1 binary64)) (*.f64 x (fma.f64 x (-.f64 (*.f64 #s(literal 1/16 binary64) (/.f64 x (pow.f64 (sqrt.f64 #s(literal -1 binary64)) #s(literal 5 binary64)))) (*.f64 #s(literal 1/8 binary64) (/.f64 #s(literal 1 binary64) (pow.f64 (sqrt.f64 #s(literal -1 binary64)) #s(literal 3 binary64))))) (*.f64 #s(literal 1/2 binary64) (/.f64 #s(literal 1 binary64) (sqrt.f64 #s(literal -1 binary64))))))))
#s(approx (- x 1) #s(literal -1 binary64))
#s(approx (- x 1) (-.f64 x #s(literal 1 binary64)))
#s(approx x x)
#s(approx (sqrt x) (sqrt.f64 x))
#s(approx (* (sqrt (- x 1)) (sqrt x)) (*.f64 x (-.f64 #s(literal 1 binary64) (*.f64 #s(literal 1/2 binary64) (/.f64 #s(literal 1 binary64) x)))))
#s(approx (* (sqrt (- x 1)) (sqrt x)) (*.f64 x (+.f64 #s(literal 1 binary64) (*.f64 #s(literal -1 binary64) (/.f64 (+.f64 #s(literal 1/2 binary64) (*.f64 #s(literal 1/8 binary64) (/.f64 #s(literal 1 binary64) x))) x)))))
#s(approx (* (sqrt (- x 1)) (sqrt x)) (*.f64 x (-.f64 (+.f64 #s(literal 1 binary64) (*.f64 #s(literal -1 binary64) (/.f64 (+.f64 #s(literal 1/8 binary64) (*.f64 #s(literal 1/16 binary64) (/.f64 #s(literal 1 binary64) x))) (pow.f64 x #s(literal 2 binary64))))) (*.f64 #s(literal 1/2 binary64) (/.f64 #s(literal 1 binary64) x)))))
#s(approx (sqrt (- x 1)) (*.f64 x (+.f64 (sqrt.f64 (/.f64 #s(literal 1 binary64) x)) (*.f64 #s(literal -1/2 binary64) (sqrt.f64 (/.f64 #s(literal 1 binary64) (pow.f64 x #s(literal 3 binary64))))))))
#s(approx (sqrt (- x 1)) (*.f64 x (+.f64 (sqrt.f64 (/.f64 #s(literal 1 binary64) x)) (fma.f64 #s(literal -1/2 binary64) (sqrt.f64 (/.f64 #s(literal 1 binary64) (pow.f64 x #s(literal 3 binary64)))) (*.f64 #s(literal -1/8 binary64) (sqrt.f64 (/.f64 #s(literal 1 binary64) (pow.f64 x #s(literal 5 binary64)))))))))
#s(approx (sqrt (- x 1)) (*.f64 x (+.f64 (sqrt.f64 (/.f64 #s(literal 1 binary64) x)) (fma.f64 #s(literal -1/2 binary64) (sqrt.f64 (/.f64 #s(literal 1 binary64) (pow.f64 x #s(literal 3 binary64)))) (fma.f64 #s(literal -1/8 binary64) (sqrt.f64 (/.f64 #s(literal 1 binary64) (pow.f64 x #s(literal 5 binary64)))) (*.f64 #s(literal -1/16 binary64) (sqrt.f64 (/.f64 #s(literal 1 binary64) (pow.f64 x #s(literal 7 binary64))))))))))
#s(approx (- x 1) (*.f64 x (-.f64 #s(literal 1 binary64) (/.f64 #s(literal 1 binary64) x))))
#s(approx (* (sqrt (- x 1)) (sqrt x)) (*.f64 #s(literal -1 binary64) (*.f64 x (pow.f64 (sqrt.f64 #s(literal -1 binary64)) #s(literal 2 binary64)))))
#s(approx (* (sqrt (- x 1)) (sqrt x)) (*.f64 #s(literal -1 binary64) (*.f64 x (fma.f64 #s(literal -1/2 binary64) (/.f64 (pow.f64 (sqrt.f64 #s(literal -1 binary64)) #s(literal 2 binary64)) x) (pow.f64 (sqrt.f64 #s(literal -1 binary64)) #s(literal 2 binary64))))))
#s(approx (* (sqrt (- x 1)) (sqrt x)) (*.f64 #s(literal -1 binary64) (*.f64 x (fma.f64 #s(literal -1 binary64) (/.f64 (fma.f64 #s(literal 1/8 binary64) (/.f64 (pow.f64 (sqrt.f64 #s(literal -1 binary64)) #s(literal 2 binary64)) x) (*.f64 #s(literal 1/2 binary64) (pow.f64 (sqrt.f64 #s(literal -1 binary64)) #s(literal 2 binary64)))) x) (pow.f64 (sqrt.f64 #s(literal -1 binary64)) #s(literal 2 binary64))))))
#s(approx (* (sqrt (- x 1)) (sqrt x)) (*.f64 #s(literal -1 binary64) (*.f64 x (fma.f64 #s(literal -1 binary64) (/.f64 (fma.f64 #s(literal -1 binary64) (/.f64 (fma.f64 #s(literal -1/8 binary64) (pow.f64 (sqrt.f64 #s(literal -1 binary64)) #s(literal 2 binary64)) (*.f64 #s(literal -1/16 binary64) (/.f64 (pow.f64 (sqrt.f64 #s(literal -1 binary64)) #s(literal 2 binary64)) x))) x) (*.f64 #s(literal 1/2 binary64) (pow.f64 (sqrt.f64 #s(literal -1 binary64)) #s(literal 2 binary64)))) x) (pow.f64 (sqrt.f64 #s(literal -1 binary64)) #s(literal 2 binary64))))))
#s(approx (sqrt (- x 1)) (*.f64 #s(literal -1 binary64) (*.f64 (sqrt.f64 x) (pow.f64 (sqrt.f64 #s(literal -1 binary64)) #s(literal 2 binary64)))))
#s(approx (sqrt (- x 1)) (*.f64 #s(literal -1 binary64) (*.f64 x (fma.f64 #s(literal 1/2 binary64) (*.f64 (sqrt.f64 (/.f64 #s(literal 1 binary64) (pow.f64 x #s(literal 3 binary64)))) (pow.f64 (sqrt.f64 #s(literal -1 binary64)) #s(literal 2 binary64))) (*.f64 (sqrt.f64 (/.f64 #s(literal 1 binary64) x)) (pow.f64 (sqrt.f64 #s(literal -1 binary64)) #s(literal 2 binary64)))))))
#s(approx (sqrt (- x 1)) (*.f64 #s(literal -1 binary64) (*.f64 x (fma.f64 #s(literal -1/8 binary64) (*.f64 (sqrt.f64 (/.f64 #s(literal 1 binary64) (pow.f64 x #s(literal 5 binary64)))) (pow.f64 (sqrt.f64 #s(literal -1 binary64)) #s(literal 2 binary64))) (fma.f64 #s(literal 1/2 binary64) (*.f64 (sqrt.f64 (/.f64 #s(literal 1 binary64) (pow.f64 x #s(literal 3 binary64)))) (pow.f64 (sqrt.f64 #s(literal -1 binary64)) #s(literal 2 binary64))) (*.f64 (sqrt.f64 (/.f64 #s(literal 1 binary64) x)) (pow.f64 (sqrt.f64 #s(literal -1 binary64)) #s(literal 2 binary64))))))))
#s(approx (sqrt (- x 1)) (*.f64 #s(literal -1 binary64) (*.f64 x (fma.f64 #s(literal -1/8 binary64) (*.f64 (sqrt.f64 (/.f64 #s(literal 1 binary64) (pow.f64 x #s(literal 5 binary64)))) (pow.f64 (sqrt.f64 #s(literal -1 binary64)) #s(literal 2 binary64))) (fma.f64 #s(literal 1/16 binary64) (*.f64 (sqrt.f64 (/.f64 #s(literal 1 binary64) (pow.f64 x #s(literal 7 binary64)))) (pow.f64 (sqrt.f64 #s(literal -1 binary64)) #s(literal 2 binary64))) (fma.f64 #s(literal 1/2 binary64) (*.f64 (sqrt.f64 (/.f64 #s(literal 1 binary64) (pow.f64 x #s(literal 3 binary64)))) (pow.f64 (sqrt.f64 #s(literal -1 binary64)) #s(literal 2 binary64))) (*.f64 (sqrt.f64 (/.f64 #s(literal 1 binary64) x)) (pow.f64 (sqrt.f64 #s(literal -1 binary64)) #s(literal 2 binary64)))))))))
#s(approx (- x 1) (*.f64 #s(literal -1 binary64) (*.f64 x (-.f64 (/.f64 #s(literal 1 binary64) x) #s(literal 1 binary64)))))

eval3.0ms (0.2%)

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

Compiled 408 to 194 computations (52.5% saved)

prune2.0ms (0.1%)

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

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New26228
Fresh000
Picked011
Done000
Total26329
Accuracy
100.0%
Counts
29 → 3
Alt Table
Click to see full alt table
StatusAccuracyProgram
99.2%
(*.f64 (sqrt.f64 (-.f64 x #s(literal 1 binary64))) (sqrt.f64 x))
0.0%
(*.f64 (sqrt.f64 #s(approx (- x 1) #s(literal -1 binary64))) (sqrt.f64 x))
99.8%
#s(approx (* (sqrt (- x 1)) (sqrt x)) (*.f64 x (-.f64 #s(literal 1 binary64) (*.f64 #s(literal 1/2 binary64) (/.f64 #s(literal 1 binary64) x)))))
Compiler

Compiled 27 to 27 computations (0% saved)

series37.0ms (3.2%)

Memory
-38.1MiB live, 7.7MiB allocated; 7ms collecting garbage
Counts
13 → 37
Calls
Call 1
Inputs
#s(approx (* (sqrt (- x 1)) (sqrt x)) (*.f64 x (-.f64 #s(literal 1 binary64) (*.f64 #s(literal 1/2 binary64) (/.f64 #s(literal 1 binary64) x)))))
(*.f64 x (-.f64 #s(literal 1 binary64) (*.f64 #s(literal 1/2 binary64) (/.f64 #s(literal 1 binary64) x))))
x
(-.f64 #s(literal 1 binary64) (*.f64 #s(literal 1/2 binary64) (/.f64 #s(literal 1 binary64) x)))
#s(literal 1 binary64)
(*.f64 #s(literal 1/2 binary64) (/.f64 #s(literal 1 binary64) x))
#s(literal 1/2 binary64)
(/.f64 #s(literal 1 binary64) x)
(*.f64 (sqrt.f64 #s(approx (- x 1) #s(literal -1 binary64))) (sqrt.f64 x))
(sqrt.f64 #s(approx (- x 1) #s(literal -1 binary64)))
#s(approx (- x 1) #s(literal -1 binary64))
#s(literal -1 binary64)
(sqrt.f64 x)
Outputs
#s(approx (* (sqrt (- x 1)) (sqrt x)) #s(hole binary64 (* (sqrt x) (sqrt -1))))
#s(approx (* (sqrt (- x 1)) (sqrt x)) #s(hole binary64 (+ (* 1/2 (* (sqrt (pow x 3)) (/ 1 (sqrt -1)))) (* (sqrt x) (sqrt -1)))))
#s(approx (* (sqrt (- x 1)) (sqrt x)) #s(hole binary64 (+ (* (sqrt x) (sqrt -1)) (* (pow x 2) (+ (* -1/8 (* (sqrt x) (/ 1 (pow (sqrt -1) 3)))) (* 1/2 (* (sqrt (/ 1 x)) (/ 1 (sqrt -1)))))))))
#s(approx (* (sqrt (- x 1)) (sqrt x)) #s(hole binary64 (+ (* (sqrt x) (sqrt -1)) (* (pow x 2) (+ (* 1/2 (* (sqrt (/ 1 x)) (/ 1 (sqrt -1)))) (* (pow x 2) (+ (* -1/8 (* (sqrt (/ 1 (pow x 3))) (/ 1 (pow (sqrt -1) 3)))) (* 1/16 (* (sqrt (/ 1 x)) (/ 1 (pow (sqrt -1) 5)))))))))))
#s(approx (* x (- 1 (* 1/2 (/ 1 x)))) #s(hole binary64 -1/2))
#s(approx (* x (- 1 (* 1/2 (/ 1 x)))) #s(hole binary64 (- x 1/2)))
#s(approx x #s(hole binary64 x))
#s(approx (- 1 (* 1/2 (/ 1 x))) #s(hole binary64 (/ -1/2 x)))
#s(approx (- 1 (* 1/2 (/ 1 x))) #s(hole binary64 (/ (- x 1/2) x)))
#s(approx (* 1/2 (/ 1 x)) #s(hole binary64 (/ 1/2 x)))
#s(approx (/ 1 x) #s(hole binary64 (/ 1 x)))
#s(approx (sqrt (- x 1)) #s(hole binary64 (sqrt -1)))
#s(approx (sqrt (- x 1)) #s(hole binary64 (+ (sqrt -1) (* 1/2 (/ x (sqrt -1))))))
#s(approx (sqrt (- x 1)) #s(hole binary64 (+ (sqrt -1) (* x (+ (* -1/8 (/ x (pow (sqrt -1) 3))) (* 1/2 (/ 1 (sqrt -1))))))))
#s(approx (sqrt (- x 1)) #s(hole binary64 (+ (sqrt -1) (* x (+ (* x (- (* 1/16 (/ x (pow (sqrt -1) 5))) (* 1/8 (/ 1 (pow (sqrt -1) 3))))) (* 1/2 (/ 1 (sqrt -1))))))))
#s(approx (- x 1) #s(hole binary64 -1))
#s(approx (- x 1) #s(hole binary64 (- x 1)))
#s(approx (sqrt x) #s(hole binary64 (sqrt x)))
#s(approx (* (sqrt (- x 1)) (sqrt x)) #s(hole binary64 (* x (- 1 (* 1/2 (/ 1 x))))))
#s(approx (* (sqrt (- x 1)) (sqrt x)) #s(hole binary64 (* x (+ 1 (* -1 (/ (+ 1/2 (* 1/8 (/ 1 x))) x))))))
#s(approx (* (sqrt (- x 1)) (sqrt x)) #s(hole binary64 (* x (- (+ 1 (* -1 (/ (+ 1/8 (* 1/16 (/ 1 x))) (pow x 2)))) (* 1/2 (/ 1 x))))))
#s(approx (- 1 (* 1/2 (/ 1 x))) #s(hole binary64 1))
#s(approx (- 1 (* 1/2 (/ 1 x))) #s(hole binary64 (- 1 (* 1/2 (/ 1 x)))))
#s(approx (sqrt (- x 1)) #s(hole binary64 (* x (+ (sqrt (/ 1 x)) (* -1/2 (sqrt (/ 1 (pow x 3))))))))
#s(approx (sqrt (- x 1)) #s(hole binary64 (* x (+ (sqrt (/ 1 x)) (+ (* -1/2 (sqrt (/ 1 (pow x 3)))) (* -1/8 (sqrt (/ 1 (pow x 5)))))))))
#s(approx (sqrt (- x 1)) #s(hole binary64 (* x (+ (sqrt (/ 1 x)) (+ (* -1/2 (sqrt (/ 1 (pow x 3)))) (+ (* -1/8 (sqrt (/ 1 (pow x 5)))) (* -1/16 (sqrt (/ 1 (pow x 7))))))))))
#s(approx (- x 1) #s(hole binary64 (* x (- 1 (/ 1 x)))))
#s(approx (* (sqrt (- x 1)) (sqrt x)) #s(hole binary64 (* -1 (* x (pow (sqrt -1) 2)))))
#s(approx (* (sqrt (- x 1)) (sqrt x)) #s(hole binary64 (* -1 (* x (+ (* -1/2 (/ (pow (sqrt -1) 2) x)) (pow (sqrt -1) 2))))))
#s(approx (* (sqrt (- x 1)) (sqrt x)) #s(hole binary64 (* -1 (* x (+ (* -1 (/ (+ (* 1/8 (/ (pow (sqrt -1) 2) x)) (* 1/2 (pow (sqrt -1) 2))) x)) (pow (sqrt -1) 2))))))
#s(approx (* (sqrt (- x 1)) (sqrt x)) #s(hole binary64 (* -1 (* x (+ (* -1 (/ (+ (* -1 (/ (+ (* -1/8 (pow (sqrt -1) 2)) (* -1/16 (/ (pow (sqrt -1) 2) x))) x)) (* 1/2 (pow (sqrt -1) 2))) x)) (pow (sqrt -1) 2))))))
#s(approx (* x (- 1 (* 1/2 (/ 1 x)))) #s(hole binary64 (* -1 (* x (- (* 1/2 (/ 1 x)) 1)))))
#s(approx (sqrt (- x 1)) #s(hole binary64 (* -1 (* (sqrt x) (pow (sqrt -1) 2)))))
#s(approx (sqrt (- x 1)) #s(hole binary64 (* -1 (* x (+ (* 1/2 (* (sqrt (/ 1 (pow x 3))) (pow (sqrt -1) 2))) (* (sqrt (/ 1 x)) (pow (sqrt -1) 2)))))))
#s(approx (sqrt (- x 1)) #s(hole binary64 (* -1 (* x (+ (* -1/8 (* (sqrt (/ 1 (pow x 5))) (pow (sqrt -1) 2))) (+ (* 1/2 (* (sqrt (/ 1 (pow x 3))) (pow (sqrt -1) 2))) (* (sqrt (/ 1 x)) (pow (sqrt -1) 2))))))))
#s(approx (sqrt (- x 1)) #s(hole binary64 (* -1 (* x (+ (* -1/8 (* (sqrt (/ 1 (pow x 5))) (pow (sqrt -1) 2))) (+ (* 1/16 (* (sqrt (/ 1 (pow x 7))) (pow (sqrt -1) 2))) (+ (* 1/2 (* (sqrt (/ 1 (pow x 3))) (pow (sqrt -1) 2))) (* (sqrt (/ 1 x)) (pow (sqrt -1) 2)))))))))
#s(approx (- x 1) #s(hole binary64 (* -1 (* x (- (/ 1 x) 1)))))
Calls

3 calls:

TimeVariablePointExpression
34.0ms
x
@inf
((* (sqrt (- x 1)) (sqrt x)) (* x (- 1 (* 1/2 (/ 1 x)))) x (- 1 (* 1/2 (/ 1 x))) 1 (* 1/2 (/ 1 x)) 1/2 (/ 1 x) (* (sqrt (- x 1)) (sqrt x)) (sqrt (- x 1)) (- x 1) -1 (sqrt x))
2.0ms
x
@-inf
((* (sqrt (- x 1)) (sqrt x)) (* x (- 1 (* 1/2 (/ 1 x)))) x (- 1 (* 1/2 (/ 1 x))) 1 (* 1/2 (/ 1 x)) 1/2 (/ 1 x) (* (sqrt (- x 1)) (sqrt x)) (sqrt (- x 1)) (- x 1) -1 (sqrt x))
1.0ms
x
@0
((* (sqrt (- x 1)) (sqrt x)) (* x (- 1 (* 1/2 (/ 1 x)))) x (- 1 (* 1/2 (/ 1 x))) 1 (* 1/2 (/ 1 x)) 1/2 (/ 1 x) (* (sqrt (- x 1)) (sqrt x)) (sqrt (- x 1)) (- x 1) -1 (sqrt x))

rewrite24.0ms (2%)

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

Useful iterations: 0 (0.0ms)

IterNodesCost
0204878
0214855
1545855
Stop Event
saturated
iter-limit
unsound
iter-limit
Counts
50 → 50
Calls
Call 1
Inputs
#s(approx (* (sqrt (- x 1)) (sqrt x)) (*.f64 x (-.f64 #s(literal 1 binary64) (*.f64 #s(literal 1/2 binary64) (/.f64 #s(literal 1 binary64) x)))))
(*.f64 x (-.f64 #s(literal 1 binary64) (*.f64 #s(literal 1/2 binary64) (/.f64 #s(literal 1 binary64) x))))
x
(-.f64 #s(literal 1 binary64) (*.f64 #s(literal 1/2 binary64) (/.f64 #s(literal 1 binary64) x)))
#s(literal 1 binary64)
(*.f64 #s(literal 1/2 binary64) (/.f64 #s(literal 1 binary64) x))
#s(literal 1/2 binary64)
(/.f64 #s(literal 1 binary64) x)
(*.f64 (sqrt.f64 #s(approx (- x 1) #s(literal -1 binary64))) (sqrt.f64 x))
(sqrt.f64 #s(approx (- x 1) #s(literal -1 binary64)))
#s(approx (- x 1) #s(literal -1 binary64))
#s(literal -1 binary64)
(sqrt.f64 x)
#s(approx (* (sqrt (- x 1)) (sqrt x)) #s(hole binary64 (* (sqrt x) (sqrt -1))))
#s(approx (* (sqrt (- x 1)) (sqrt x)) #s(hole binary64 (+ (* 1/2 (* (sqrt (pow x 3)) (/ 1 (sqrt -1)))) (* (sqrt x) (sqrt -1)))))
#s(approx (* (sqrt (- x 1)) (sqrt x)) #s(hole binary64 (+ (* (sqrt x) (sqrt -1)) (* (pow x 2) (+ (* -1/8 (* (sqrt x) (/ 1 (pow (sqrt -1) 3)))) (* 1/2 (* (sqrt (/ 1 x)) (/ 1 (sqrt -1)))))))))
#s(approx (* (sqrt (- x 1)) (sqrt x)) #s(hole binary64 (+ (* (sqrt x) (sqrt -1)) (* (pow x 2) (+ (* 1/2 (* (sqrt (/ 1 x)) (/ 1 (sqrt -1)))) (* (pow x 2) (+ (* -1/8 (* (sqrt (/ 1 (pow x 3))) (/ 1 (pow (sqrt -1) 3)))) (* 1/16 (* (sqrt (/ 1 x)) (/ 1 (pow (sqrt -1) 5)))))))))))
#s(approx (* x (- 1 (* 1/2 (/ 1 x)))) #s(hole binary64 -1/2))
#s(approx (* x (- 1 (* 1/2 (/ 1 x)))) #s(hole binary64 (- x 1/2)))
#s(approx x #s(hole binary64 x))
#s(approx (- 1 (* 1/2 (/ 1 x))) #s(hole binary64 (/ -1/2 x)))
#s(approx (- 1 (* 1/2 (/ 1 x))) #s(hole binary64 (/ (- x 1/2) x)))
#s(approx (* 1/2 (/ 1 x)) #s(hole binary64 (/ 1/2 x)))
#s(approx (/ 1 x) #s(hole binary64 (/ 1 x)))
#s(approx (sqrt (- x 1)) #s(hole binary64 (sqrt -1)))
#s(approx (sqrt (- x 1)) #s(hole binary64 (+ (sqrt -1) (* 1/2 (/ x (sqrt -1))))))
#s(approx (sqrt (- x 1)) #s(hole binary64 (+ (sqrt -1) (* x (+ (* -1/8 (/ x (pow (sqrt -1) 3))) (* 1/2 (/ 1 (sqrt -1))))))))
#s(approx (sqrt (- x 1)) #s(hole binary64 (+ (sqrt -1) (* x (+ (* x (- (* 1/16 (/ x (pow (sqrt -1) 5))) (* 1/8 (/ 1 (pow (sqrt -1) 3))))) (* 1/2 (/ 1 (sqrt -1))))))))
#s(approx (- x 1) #s(hole binary64 -1))
#s(approx (- x 1) #s(hole binary64 (- x 1)))
#s(approx (sqrt x) #s(hole binary64 (sqrt x)))
#s(approx (* (sqrt (- x 1)) (sqrt x)) #s(hole binary64 (* x (- 1 (* 1/2 (/ 1 x))))))
#s(approx (* (sqrt (- x 1)) (sqrt x)) #s(hole binary64 (* x (+ 1 (* -1 (/ (+ 1/2 (* 1/8 (/ 1 x))) x))))))
#s(approx (* (sqrt (- x 1)) (sqrt x)) #s(hole binary64 (* x (- (+ 1 (* -1 (/ (+ 1/8 (* 1/16 (/ 1 x))) (pow x 2)))) (* 1/2 (/ 1 x))))))
#s(approx (- 1 (* 1/2 (/ 1 x))) #s(hole binary64 1))
#s(approx (- 1 (* 1/2 (/ 1 x))) #s(hole binary64 (- 1 (* 1/2 (/ 1 x)))))
#s(approx (sqrt (- x 1)) #s(hole binary64 (* x (+ (sqrt (/ 1 x)) (* -1/2 (sqrt (/ 1 (pow x 3))))))))
#s(approx (sqrt (- x 1)) #s(hole binary64 (* x (+ (sqrt (/ 1 x)) (+ (* -1/2 (sqrt (/ 1 (pow x 3)))) (* -1/8 (sqrt (/ 1 (pow x 5)))))))))
#s(approx (sqrt (- x 1)) #s(hole binary64 (* x (+ (sqrt (/ 1 x)) (+ (* -1/2 (sqrt (/ 1 (pow x 3)))) (+ (* -1/8 (sqrt (/ 1 (pow x 5)))) (* -1/16 (sqrt (/ 1 (pow x 7))))))))))
#s(approx (- x 1) #s(hole binary64 (* x (- 1 (/ 1 x)))))
#s(approx (* (sqrt (- x 1)) (sqrt x)) #s(hole binary64 (* -1 (* x (pow (sqrt -1) 2)))))
#s(approx (* (sqrt (- x 1)) (sqrt x)) #s(hole binary64 (* -1 (* x (+ (* -1/2 (/ (pow (sqrt -1) 2) x)) (pow (sqrt -1) 2))))))
#s(approx (* (sqrt (- x 1)) (sqrt x)) #s(hole binary64 (* -1 (* x (+ (* -1 (/ (+ (* 1/8 (/ (pow (sqrt -1) 2) x)) (* 1/2 (pow (sqrt -1) 2))) x)) (pow (sqrt -1) 2))))))
#s(approx (* (sqrt (- x 1)) (sqrt x)) #s(hole binary64 (* -1 (* x (+ (* -1 (/ (+ (* -1 (/ (+ (* -1/8 (pow (sqrt -1) 2)) (* -1/16 (/ (pow (sqrt -1) 2) x))) x)) (* 1/2 (pow (sqrt -1) 2))) x)) (pow (sqrt -1) 2))))))
#s(approx (* x (- 1 (* 1/2 (/ 1 x)))) #s(hole binary64 (* -1 (* x (- (* 1/2 (/ 1 x)) 1)))))
#s(approx (sqrt (- x 1)) #s(hole binary64 (* -1 (* (sqrt x) (pow (sqrt -1) 2)))))
#s(approx (sqrt (- x 1)) #s(hole binary64 (* -1 (* x (+ (* 1/2 (* (sqrt (/ 1 (pow x 3))) (pow (sqrt -1) 2))) (* (sqrt (/ 1 x)) (pow (sqrt -1) 2)))))))
#s(approx (sqrt (- x 1)) #s(hole binary64 (* -1 (* x (+ (* -1/8 (* (sqrt (/ 1 (pow x 5))) (pow (sqrt -1) 2))) (+ (* 1/2 (* (sqrt (/ 1 (pow x 3))) (pow (sqrt -1) 2))) (* (sqrt (/ 1 x)) (pow (sqrt -1) 2))))))))
#s(approx (sqrt (- x 1)) #s(hole binary64 (* -1 (* x (+ (* -1/8 (* (sqrt (/ 1 (pow x 5))) (pow (sqrt -1) 2))) (+ (* 1/16 (* (sqrt (/ 1 (pow x 7))) (pow (sqrt -1) 2))) (+ (* 1/2 (* (sqrt (/ 1 (pow x 3))) (pow (sqrt -1) 2))) (* (sqrt (/ 1 x)) (pow (sqrt -1) 2)))))))))
#s(approx (- x 1) #s(hole binary64 (* -1 (* x (- (/ 1 x) 1)))))
Outputs
#s(approx (* (sqrt (- x 1)) (sqrt x)) (*.f64 x (-.f64 #s(literal 1 binary64) (*.f64 #s(literal 1/2 binary64) (/.f64 #s(literal 1 binary64) x)))))
(*.f64 x (-.f64 #s(literal 1 binary64) (*.f64 #s(literal 1/2 binary64) (/.f64 #s(literal 1 binary64) x))))
x
(-.f64 #s(literal 1 binary64) (*.f64 #s(literal 1/2 binary64) (/.f64 #s(literal 1 binary64) x)))
#s(literal 1 binary64)
(*.f64 #s(literal 1/2 binary64) (/.f64 #s(literal 1 binary64) x))
#s(literal 1/2 binary64)
(/.f64 #s(literal 1 binary64) x)
(*.f64 (sqrt.f64 #s(approx (- x 1) #s(literal -1 binary64))) (sqrt.f64 x))
(sqrt.f64 #s(approx (- x 1) #s(literal -1 binary64)))
#s(approx (- x 1) #s(literal -1 binary64))
#s(literal -1 binary64)
(sqrt.f64 x)
#s(approx (* (sqrt (- x 1)) (sqrt x)) (*.f64 (sqrt.f64 x) (sqrt.f64 #s(literal -1 binary64))))
#s(approx (* (sqrt (- x 1)) (sqrt x)) (fma.f64 #s(literal 1/2 binary64) (*.f64 (sqrt.f64 (pow.f64 x #s(literal 3 binary64))) (/.f64 #s(literal 1 binary64) (sqrt.f64 #s(literal -1 binary64)))) (*.f64 (sqrt.f64 x) (sqrt.f64 #s(literal -1 binary64)))))
#s(approx (* (sqrt (- x 1)) (sqrt x)) (fma.f64 (sqrt.f64 x) (sqrt.f64 #s(literal -1 binary64)) (*.f64 (pow.f64 x #s(literal 2 binary64)) (fma.f64 #s(literal -1/8 binary64) (*.f64 (sqrt.f64 x) (/.f64 #s(literal 1 binary64) (pow.f64 (sqrt.f64 #s(literal -1 binary64)) #s(literal 3 binary64)))) (*.f64 #s(literal 1/2 binary64) (*.f64 (sqrt.f64 (/.f64 #s(literal 1 binary64) x)) (/.f64 #s(literal 1 binary64) (sqrt.f64 #s(literal -1 binary64)))))))))
#s(approx (* (sqrt (- x 1)) (sqrt x)) (fma.f64 (sqrt.f64 x) (sqrt.f64 #s(literal -1 binary64)) (*.f64 (pow.f64 x #s(literal 2 binary64)) (fma.f64 #s(literal 1/2 binary64) (*.f64 (sqrt.f64 (/.f64 #s(literal 1 binary64) x)) (/.f64 #s(literal 1 binary64) (sqrt.f64 #s(literal -1 binary64)))) (*.f64 (pow.f64 x #s(literal 2 binary64)) (fma.f64 #s(literal -1/8 binary64) (*.f64 (sqrt.f64 (/.f64 #s(literal 1 binary64) (pow.f64 x #s(literal 3 binary64)))) (/.f64 #s(literal 1 binary64) (pow.f64 (sqrt.f64 #s(literal -1 binary64)) #s(literal 3 binary64)))) (*.f64 #s(literal 1/16 binary64) (*.f64 (sqrt.f64 (/.f64 #s(literal 1 binary64) x)) (/.f64 #s(literal 1 binary64) (pow.f64 (sqrt.f64 #s(literal -1 binary64)) #s(literal 5 binary64)))))))))))
#s(approx (* x (- 1 (* 1/2 (/ 1 x)))) #s(literal -1/2 binary64))
#s(approx (* x (- 1 (* 1/2 (/ 1 x)))) (-.f64 x #s(literal 1/2 binary64)))
#s(approx x x)
#s(approx (- 1 (* 1/2 (/ 1 x))) (/.f64 #s(literal -1/2 binary64) x))
#s(approx (- 1 (* 1/2 (/ 1 x))) (/.f64 (-.f64 x #s(literal 1/2 binary64)) x))
#s(approx (* 1/2 (/ 1 x)) (/.f64 #s(literal 1/2 binary64) x))
#s(approx (/ 1 x) (/.f64 #s(literal 1 binary64) x))
#s(approx (sqrt (- x 1)) (sqrt.f64 #s(literal -1 binary64)))
#s(approx (sqrt (- x 1)) (+.f64 (sqrt.f64 #s(literal -1 binary64)) (*.f64 #s(literal 1/2 binary64) (/.f64 x (sqrt.f64 #s(literal -1 binary64))))))
#s(approx (sqrt (- x 1)) (+.f64 (sqrt.f64 #s(literal -1 binary64)) (*.f64 x (fma.f64 #s(literal -1/8 binary64) (/.f64 x (pow.f64 (sqrt.f64 #s(literal -1 binary64)) #s(literal 3 binary64))) (*.f64 #s(literal 1/2 binary64) (/.f64 #s(literal 1 binary64) (sqrt.f64 #s(literal -1 binary64))))))))
#s(approx (sqrt (- x 1)) (+.f64 (sqrt.f64 #s(literal -1 binary64)) (*.f64 x (fma.f64 x (-.f64 (*.f64 #s(literal 1/16 binary64) (/.f64 x (pow.f64 (sqrt.f64 #s(literal -1 binary64)) #s(literal 5 binary64)))) (*.f64 #s(literal 1/8 binary64) (/.f64 #s(literal 1 binary64) (pow.f64 (sqrt.f64 #s(literal -1 binary64)) #s(literal 3 binary64))))) (*.f64 #s(literal 1/2 binary64) (/.f64 #s(literal 1 binary64) (sqrt.f64 #s(literal -1 binary64))))))))
#s(approx (- x 1) #s(literal -1 binary64))
#s(approx (- x 1) (-.f64 x #s(literal 1 binary64)))
#s(approx (sqrt x) (sqrt.f64 x))
#s(approx (* (sqrt (- x 1)) (sqrt x)) (*.f64 x (-.f64 #s(literal 1 binary64) (*.f64 #s(literal 1/2 binary64) (/.f64 #s(literal 1 binary64) x)))))
#s(approx (* (sqrt (- x 1)) (sqrt x)) (*.f64 x (+.f64 #s(literal 1 binary64) (*.f64 #s(literal -1 binary64) (/.f64 (+.f64 #s(literal 1/2 binary64) (*.f64 #s(literal 1/8 binary64) (/.f64 #s(literal 1 binary64) x))) x)))))
#s(approx (* (sqrt (- x 1)) (sqrt x)) (*.f64 x (-.f64 (+.f64 #s(literal 1 binary64) (*.f64 #s(literal -1 binary64) (/.f64 (+.f64 #s(literal 1/8 binary64) (*.f64 #s(literal 1/16 binary64) (/.f64 #s(literal 1 binary64) x))) (pow.f64 x #s(literal 2 binary64))))) (*.f64 #s(literal 1/2 binary64) (/.f64 #s(literal 1 binary64) x)))))
#s(approx (- 1 (* 1/2 (/ 1 x))) #s(literal 1 binary64))
#s(approx (- 1 (* 1/2 (/ 1 x))) (-.f64 #s(literal 1 binary64) (*.f64 #s(literal 1/2 binary64) (/.f64 #s(literal 1 binary64) x))))
#s(approx (sqrt (- x 1)) (*.f64 x (+.f64 (sqrt.f64 (/.f64 #s(literal 1 binary64) x)) (*.f64 #s(literal -1/2 binary64) (sqrt.f64 (/.f64 #s(literal 1 binary64) (pow.f64 x #s(literal 3 binary64))))))))
#s(approx (sqrt (- x 1)) (*.f64 x (+.f64 (sqrt.f64 (/.f64 #s(literal 1 binary64) x)) (fma.f64 #s(literal -1/2 binary64) (sqrt.f64 (/.f64 #s(literal 1 binary64) (pow.f64 x #s(literal 3 binary64)))) (*.f64 #s(literal -1/8 binary64) (sqrt.f64 (/.f64 #s(literal 1 binary64) (pow.f64 x #s(literal 5 binary64)))))))))
#s(approx (sqrt (- x 1)) (*.f64 x (+.f64 (sqrt.f64 (/.f64 #s(literal 1 binary64) x)) (fma.f64 #s(literal -1/2 binary64) (sqrt.f64 (/.f64 #s(literal 1 binary64) (pow.f64 x #s(literal 3 binary64)))) (fma.f64 #s(literal -1/8 binary64) (sqrt.f64 (/.f64 #s(literal 1 binary64) (pow.f64 x #s(literal 5 binary64)))) (*.f64 #s(literal -1/16 binary64) (sqrt.f64 (/.f64 #s(literal 1 binary64) (pow.f64 x #s(literal 7 binary64))))))))))
#s(approx (- x 1) (*.f64 x (-.f64 #s(literal 1 binary64) (/.f64 #s(literal 1 binary64) x))))
#s(approx (* (sqrt (- x 1)) (sqrt x)) (*.f64 #s(literal -1 binary64) (*.f64 x (pow.f64 (sqrt.f64 #s(literal -1 binary64)) #s(literal 2 binary64)))))
#s(approx (* (sqrt (- x 1)) (sqrt x)) (*.f64 #s(literal -1 binary64) (*.f64 x (fma.f64 #s(literal -1/2 binary64) (/.f64 (pow.f64 (sqrt.f64 #s(literal -1 binary64)) #s(literal 2 binary64)) x) (pow.f64 (sqrt.f64 #s(literal -1 binary64)) #s(literal 2 binary64))))))
#s(approx (* (sqrt (- x 1)) (sqrt x)) (*.f64 #s(literal -1 binary64) (*.f64 x (fma.f64 #s(literal -1 binary64) (/.f64 (fma.f64 #s(literal 1/8 binary64) (/.f64 (pow.f64 (sqrt.f64 #s(literal -1 binary64)) #s(literal 2 binary64)) x) (*.f64 #s(literal 1/2 binary64) (pow.f64 (sqrt.f64 #s(literal -1 binary64)) #s(literal 2 binary64)))) x) (pow.f64 (sqrt.f64 #s(literal -1 binary64)) #s(literal 2 binary64))))))
#s(approx (* (sqrt (- x 1)) (sqrt x)) (*.f64 #s(literal -1 binary64) (*.f64 x (fma.f64 #s(literal -1 binary64) (/.f64 (fma.f64 #s(literal -1 binary64) (/.f64 (fma.f64 #s(literal -1/8 binary64) (pow.f64 (sqrt.f64 #s(literal -1 binary64)) #s(literal 2 binary64)) (*.f64 #s(literal -1/16 binary64) (/.f64 (pow.f64 (sqrt.f64 #s(literal -1 binary64)) #s(literal 2 binary64)) x))) x) (*.f64 #s(literal 1/2 binary64) (pow.f64 (sqrt.f64 #s(literal -1 binary64)) #s(literal 2 binary64)))) x) (pow.f64 (sqrt.f64 #s(literal -1 binary64)) #s(literal 2 binary64))))))
#s(approx (* x (- 1 (* 1/2 (/ 1 x)))) (*.f64 #s(literal -1 binary64) (*.f64 x (-.f64 (*.f64 #s(literal 1/2 binary64) (/.f64 #s(literal 1 binary64) x)) #s(literal 1 binary64)))))
#s(approx (sqrt (- x 1)) (*.f64 #s(literal -1 binary64) (*.f64 (sqrt.f64 x) (pow.f64 (sqrt.f64 #s(literal -1 binary64)) #s(literal 2 binary64)))))
#s(approx (sqrt (- x 1)) (*.f64 #s(literal -1 binary64) (*.f64 x (fma.f64 #s(literal 1/2 binary64) (*.f64 (sqrt.f64 (/.f64 #s(literal 1 binary64) (pow.f64 x #s(literal 3 binary64)))) (pow.f64 (sqrt.f64 #s(literal -1 binary64)) #s(literal 2 binary64))) (*.f64 (sqrt.f64 (/.f64 #s(literal 1 binary64) x)) (pow.f64 (sqrt.f64 #s(literal -1 binary64)) #s(literal 2 binary64)))))))
#s(approx (sqrt (- x 1)) (*.f64 #s(literal -1 binary64) (*.f64 x (fma.f64 #s(literal -1/8 binary64) (*.f64 (sqrt.f64 (/.f64 #s(literal 1 binary64) (pow.f64 x #s(literal 5 binary64)))) (pow.f64 (sqrt.f64 #s(literal -1 binary64)) #s(literal 2 binary64))) (fma.f64 #s(literal 1/2 binary64) (*.f64 (sqrt.f64 (/.f64 #s(literal 1 binary64) (pow.f64 x #s(literal 3 binary64)))) (pow.f64 (sqrt.f64 #s(literal -1 binary64)) #s(literal 2 binary64))) (*.f64 (sqrt.f64 (/.f64 #s(literal 1 binary64) x)) (pow.f64 (sqrt.f64 #s(literal -1 binary64)) #s(literal 2 binary64))))))))
#s(approx (sqrt (- x 1)) (*.f64 #s(literal -1 binary64) (*.f64 x (fma.f64 #s(literal -1/8 binary64) (*.f64 (sqrt.f64 (/.f64 #s(literal 1 binary64) (pow.f64 x #s(literal 5 binary64)))) (pow.f64 (sqrt.f64 #s(literal -1 binary64)) #s(literal 2 binary64))) (fma.f64 #s(literal 1/16 binary64) (*.f64 (sqrt.f64 (/.f64 #s(literal 1 binary64) (pow.f64 x #s(literal 7 binary64)))) (pow.f64 (sqrt.f64 #s(literal -1 binary64)) #s(literal 2 binary64))) (fma.f64 #s(literal 1/2 binary64) (*.f64 (sqrt.f64 (/.f64 #s(literal 1 binary64) (pow.f64 x #s(literal 3 binary64)))) (pow.f64 (sqrt.f64 #s(literal -1 binary64)) #s(literal 2 binary64))) (*.f64 (sqrt.f64 (/.f64 #s(literal 1 binary64) x)) (pow.f64 (sqrt.f64 #s(literal -1 binary64)) #s(literal 2 binary64)))))))))
#s(approx (- x 1) (*.f64 #s(literal -1 binary64) (*.f64 x (-.f64 (/.f64 #s(literal 1 binary64) x) #s(literal 1 binary64)))))

eval3.0ms (0.3%)

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

Compiled 473 to 232 computations (51% saved)

prune2.0ms (0.2%)

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

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New33336
Fresh000
Picked202
Done011
Total35439
Accuracy
100.0%
Counts
39 → 4
Alt Table
Click to see full alt table
StatusAccuracyProgram
99.2%
(*.f64 (sqrt.f64 (-.f64 x #s(literal 1 binary64))) (sqrt.f64 x))
99.8%
#s(approx (* (sqrt (- x 1)) (sqrt x)) (*.f64 x (-.f64 #s(literal 1 binary64) #s(approx (* 1/2 (/ 1 x)) (/.f64 #s(literal 1/2 binary64) x)))))
99.8%
#s(approx (* (sqrt (- x 1)) (sqrt x)) #s(approx (* x (- 1 (* 1/2 (/ 1 x)))) (-.f64 x #s(literal 1/2 binary64))))
1.1%
#s(approx (* (sqrt (- x 1)) (sqrt x)) #s(approx (* x (- 1 (* 1/2 (/ 1 x)))) #s(literal -1/2 binary64)))
Compiler

Compiled 51 to 51 computations (0% saved)

series3.0ms (0.2%)

Memory
3.0MiB live, 3.0MiB allocated; 0ms collecting garbage
Counts
14 → 20
Calls
Call 1
Inputs
#s(approx (* (sqrt (- x 1)) (sqrt x)) #s(approx (* x (- 1 (* 1/2 (/ 1 x)))) #s(literal -1/2 binary64)))
#s(approx (* x (- 1 (* 1/2 (/ 1 x)))) #s(literal -1/2 binary64))
#s(literal -1/2 binary64)
#s(approx (* (sqrt (- x 1)) (sqrt x)) #s(approx (* x (- 1 (* 1/2 (/ 1 x)))) (-.f64 x #s(literal 1/2 binary64))))
#s(approx (* x (- 1 (* 1/2 (/ 1 x)))) (-.f64 x #s(literal 1/2 binary64)))
(-.f64 x #s(literal 1/2 binary64))
x
#s(literal 1/2 binary64)
#s(approx (* (sqrt (- x 1)) (sqrt x)) (*.f64 x (-.f64 #s(literal 1 binary64) #s(approx (* 1/2 (/ 1 x)) (/.f64 #s(literal 1/2 binary64) x)))))
(*.f64 x (-.f64 #s(literal 1 binary64) #s(approx (* 1/2 (/ 1 x)) (/.f64 #s(literal 1/2 binary64) x))))
(-.f64 #s(literal 1 binary64) #s(approx (* 1/2 (/ 1 x)) (/.f64 #s(literal 1/2 binary64) x)))
#s(literal 1 binary64)
#s(approx (* 1/2 (/ 1 x)) (/.f64 #s(literal 1/2 binary64) x))
(/.f64 #s(literal 1/2 binary64) x)
Outputs
#s(approx (* (sqrt (- x 1)) (sqrt x)) #s(hole binary64 (* (sqrt x) (sqrt -1))))
#s(approx (* (sqrt (- x 1)) (sqrt x)) #s(hole binary64 (+ (* 1/2 (* (sqrt (pow x 3)) (/ 1 (sqrt -1)))) (* (sqrt x) (sqrt -1)))))
#s(approx (* (sqrt (- x 1)) (sqrt x)) #s(hole binary64 (+ (* (sqrt x) (sqrt -1)) (* (pow x 2) (+ (* -1/8 (* (sqrt x) (/ 1 (pow (sqrt -1) 3)))) (* 1/2 (* (sqrt (/ 1 x)) (/ 1 (sqrt -1)))))))))
#s(approx (* (sqrt (- x 1)) (sqrt x)) #s(hole binary64 (+ (* (sqrt x) (sqrt -1)) (* (pow x 2) (+ (* 1/2 (* (sqrt (/ 1 x)) (/ 1 (sqrt -1)))) (* (pow x 2) (+ (* -1/8 (* (sqrt (/ 1 (pow x 3))) (/ 1 (pow (sqrt -1) 3)))) (* 1/16 (* (sqrt (/ 1 x)) (/ 1 (pow (sqrt -1) 5)))))))))))
#s(approx (* x (- 1 (* 1/2 (/ 1 x)))) #s(hole binary64 -1/2))
#s(approx (* x (- 1 (* 1/2 (/ 1 x)))) #s(hole binary64 (- x 1/2)))
#s(approx x #s(hole binary64 x))
#s(approx (- 1 (* 1/2 (/ 1 x))) #s(hole binary64 (/ -1/2 x)))
#s(approx (- 1 (* 1/2 (/ 1 x))) #s(hole binary64 (/ (- x 1/2) x)))
#s(approx (* 1/2 (/ 1 x)) #s(hole binary64 (/ 1/2 x)))
#s(approx (* (sqrt (- x 1)) (sqrt x)) #s(hole binary64 (* x (- 1 (* 1/2 (/ 1 x))))))
#s(approx (* (sqrt (- x 1)) (sqrt x)) #s(hole binary64 (* x (+ 1 (* -1 (/ (+ 1/2 (* 1/8 (/ 1 x))) x))))))
#s(approx (* (sqrt (- x 1)) (sqrt x)) #s(hole binary64 (* x (- (+ 1 (* -1 (/ (+ 1/8 (* 1/16 (/ 1 x))) (pow x 2)))) (* 1/2 (/ 1 x))))))
#s(approx (- 1 (* 1/2 (/ 1 x))) #s(hole binary64 1))
#s(approx (- 1 (* 1/2 (/ 1 x))) #s(hole binary64 (- 1 (* 1/2 (/ 1 x)))))
#s(approx (* (sqrt (- x 1)) (sqrt x)) #s(hole binary64 (* -1 (* x (pow (sqrt -1) 2)))))
#s(approx (* (sqrt (- x 1)) (sqrt x)) #s(hole binary64 (* -1 (* x (+ (* -1/2 (/ (pow (sqrt -1) 2) x)) (pow (sqrt -1) 2))))))
#s(approx (* (sqrt (- x 1)) (sqrt x)) #s(hole binary64 (* -1 (* x (+ (* -1 (/ (+ (* 1/8 (/ (pow (sqrt -1) 2) x)) (* 1/2 (pow (sqrt -1) 2))) x)) (pow (sqrt -1) 2))))))
#s(approx (* (sqrt (- x 1)) (sqrt x)) #s(hole binary64 (* -1 (* x (+ (* -1 (/ (+ (* -1 (/ (+ (* -1/8 (pow (sqrt -1) 2)) (* -1/16 (/ (pow (sqrt -1) 2) x))) x)) (* 1/2 (pow (sqrt -1) 2))) x)) (pow (sqrt -1) 2))))))
#s(approx (* x (- 1 (* 1/2 (/ 1 x)))) #s(hole binary64 (* -1 (* x (- (* 1/2 (/ 1 x)) 1)))))
Calls

3 calls:

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

rewrite21.0ms (1.8%)

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

Useful iterations: 0 (0.0ms)

IterNodesCost
0128570
0130558
1328558
Stop Event
saturated
iter-limit
unsound
iter-limit
Counts
34 → 34
Calls
Call 1
Inputs
#s(approx (* (sqrt (- x 1)) (sqrt x)) #s(approx (* x (- 1 (* 1/2 (/ 1 x)))) #s(literal -1/2 binary64)))
#s(approx (* x (- 1 (* 1/2 (/ 1 x)))) #s(literal -1/2 binary64))
#s(literal -1/2 binary64)
#s(approx (* (sqrt (- x 1)) (sqrt x)) #s(approx (* x (- 1 (* 1/2 (/ 1 x)))) (-.f64 x #s(literal 1/2 binary64))))
#s(approx (* x (- 1 (* 1/2 (/ 1 x)))) (-.f64 x #s(literal 1/2 binary64)))
(-.f64 x #s(literal 1/2 binary64))
x
#s(literal 1/2 binary64)
#s(approx (* (sqrt (- x 1)) (sqrt x)) (*.f64 x (-.f64 #s(literal 1 binary64) #s(approx (* 1/2 (/ 1 x)) (/.f64 #s(literal 1/2 binary64) x)))))
(*.f64 x (-.f64 #s(literal 1 binary64) #s(approx (* 1/2 (/ 1 x)) (/.f64 #s(literal 1/2 binary64) x))))
(-.f64 #s(literal 1 binary64) #s(approx (* 1/2 (/ 1 x)) (/.f64 #s(literal 1/2 binary64) x)))
#s(literal 1 binary64)
#s(approx (* 1/2 (/ 1 x)) (/.f64 #s(literal 1/2 binary64) x))
(/.f64 #s(literal 1/2 binary64) x)
#s(approx (* (sqrt (- x 1)) (sqrt x)) #s(hole binary64 (* (sqrt x) (sqrt -1))))
#s(approx (* (sqrt (- x 1)) (sqrt x)) #s(hole binary64 (+ (* 1/2 (* (sqrt (pow x 3)) (/ 1 (sqrt -1)))) (* (sqrt x) (sqrt -1)))))
#s(approx (* (sqrt (- x 1)) (sqrt x)) #s(hole binary64 (+ (* (sqrt x) (sqrt -1)) (* (pow x 2) (+ (* -1/8 (* (sqrt x) (/ 1 (pow (sqrt -1) 3)))) (* 1/2 (* (sqrt (/ 1 x)) (/ 1 (sqrt -1)))))))))
#s(approx (* (sqrt (- x 1)) (sqrt x)) #s(hole binary64 (+ (* (sqrt x) (sqrt -1)) (* (pow x 2) (+ (* 1/2 (* (sqrt (/ 1 x)) (/ 1 (sqrt -1)))) (* (pow x 2) (+ (* -1/8 (* (sqrt (/ 1 (pow x 3))) (/ 1 (pow (sqrt -1) 3)))) (* 1/16 (* (sqrt (/ 1 x)) (/ 1 (pow (sqrt -1) 5)))))))))))
#s(approx (* x (- 1 (* 1/2 (/ 1 x)))) #s(hole binary64 -1/2))
#s(approx (* x (- 1 (* 1/2 (/ 1 x)))) #s(hole binary64 (- x 1/2)))
#s(approx x #s(hole binary64 x))
#s(approx (- 1 (* 1/2 (/ 1 x))) #s(hole binary64 (/ -1/2 x)))
#s(approx (- 1 (* 1/2 (/ 1 x))) #s(hole binary64 (/ (- x 1/2) x)))
#s(approx (* 1/2 (/ 1 x)) #s(hole binary64 (/ 1/2 x)))
#s(approx (* (sqrt (- x 1)) (sqrt x)) #s(hole binary64 (* x (- 1 (* 1/2 (/ 1 x))))))
#s(approx (* (sqrt (- x 1)) (sqrt x)) #s(hole binary64 (* x (+ 1 (* -1 (/ (+ 1/2 (* 1/8 (/ 1 x))) x))))))
#s(approx (* (sqrt (- x 1)) (sqrt x)) #s(hole binary64 (* x (- (+ 1 (* -1 (/ (+ 1/8 (* 1/16 (/ 1 x))) (pow x 2)))) (* 1/2 (/ 1 x))))))
#s(approx (- 1 (* 1/2 (/ 1 x))) #s(hole binary64 1))
#s(approx (- 1 (* 1/2 (/ 1 x))) #s(hole binary64 (- 1 (* 1/2 (/ 1 x)))))
#s(approx (* (sqrt (- x 1)) (sqrt x)) #s(hole binary64 (* -1 (* x (pow (sqrt -1) 2)))))
#s(approx (* (sqrt (- x 1)) (sqrt x)) #s(hole binary64 (* -1 (* x (+ (* -1/2 (/ (pow (sqrt -1) 2) x)) (pow (sqrt -1) 2))))))
#s(approx (* (sqrt (- x 1)) (sqrt x)) #s(hole binary64 (* -1 (* x (+ (* -1 (/ (+ (* 1/8 (/ (pow (sqrt -1) 2) x)) (* 1/2 (pow (sqrt -1) 2))) x)) (pow (sqrt -1) 2))))))
#s(approx (* (sqrt (- x 1)) (sqrt x)) #s(hole binary64 (* -1 (* x (+ (* -1 (/ (+ (* -1 (/ (+ (* -1/8 (pow (sqrt -1) 2)) (* -1/16 (/ (pow (sqrt -1) 2) x))) x)) (* 1/2 (pow (sqrt -1) 2))) x)) (pow (sqrt -1) 2))))))
#s(approx (* x (- 1 (* 1/2 (/ 1 x)))) #s(hole binary64 (* -1 (* x (- (* 1/2 (/ 1 x)) 1)))))
Outputs
#s(approx (* (sqrt (- x 1)) (sqrt x)) #s(approx (* x (- 1 (* 1/2 (/ 1 x)))) #s(literal -1/2 binary64)))
#s(approx (* x (- 1 (* 1/2 (/ 1 x)))) #s(literal -1/2 binary64))
#s(literal -1/2 binary64)
#s(approx (* (sqrt (- x 1)) (sqrt x)) #s(approx (* x (- 1 (* 1/2 (/ 1 x)))) (-.f64 x #s(literal 1/2 binary64))))
#s(approx (* x (- 1 (* 1/2 (/ 1 x)))) (-.f64 x #s(literal 1/2 binary64)))
(-.f64 x #s(literal 1/2 binary64))
x
#s(literal 1/2 binary64)
#s(approx (* (sqrt (- x 1)) (sqrt x)) (*.f64 x (-.f64 #s(literal 1 binary64) #s(approx (* 1/2 (/ 1 x)) (/.f64 #s(literal 1/2 binary64) x)))))
(*.f64 x (-.f64 #s(literal 1 binary64) #s(approx (* 1/2 (/ 1 x)) (/.f64 #s(literal 1/2 binary64) x))))
(-.f64 #s(literal 1 binary64) #s(approx (* 1/2 (/ 1 x)) (/.f64 #s(literal 1/2 binary64) x)))
#s(literal 1 binary64)
#s(approx (* 1/2 (/ 1 x)) (/.f64 #s(literal 1/2 binary64) x))
(/.f64 #s(literal 1/2 binary64) x)
#s(approx (* (sqrt (- x 1)) (sqrt x)) (*.f64 (sqrt.f64 x) (sqrt.f64 #s(literal -1 binary64))))
#s(approx (* (sqrt (- x 1)) (sqrt x)) (fma.f64 #s(literal 1/2 binary64) (*.f64 (sqrt.f64 (pow.f64 x #s(literal 3 binary64))) (/.f64 #s(literal 1 binary64) (sqrt.f64 #s(literal -1 binary64)))) (*.f64 (sqrt.f64 x) (sqrt.f64 #s(literal -1 binary64)))))
#s(approx (* (sqrt (- x 1)) (sqrt x)) (fma.f64 (sqrt.f64 x) (sqrt.f64 #s(literal -1 binary64)) (*.f64 (pow.f64 x #s(literal 2 binary64)) (fma.f64 #s(literal -1/8 binary64) (*.f64 (sqrt.f64 x) (/.f64 #s(literal 1 binary64) (pow.f64 (sqrt.f64 #s(literal -1 binary64)) #s(literal 3 binary64)))) (*.f64 #s(literal 1/2 binary64) (*.f64 (sqrt.f64 (/.f64 #s(literal 1 binary64) x)) (/.f64 #s(literal 1 binary64) (sqrt.f64 #s(literal -1 binary64)))))))))
#s(approx (* (sqrt (- x 1)) (sqrt x)) (fma.f64 (sqrt.f64 x) (sqrt.f64 #s(literal -1 binary64)) (*.f64 (pow.f64 x #s(literal 2 binary64)) (fma.f64 #s(literal 1/2 binary64) (*.f64 (sqrt.f64 (/.f64 #s(literal 1 binary64) x)) (/.f64 #s(literal 1 binary64) (sqrt.f64 #s(literal -1 binary64)))) (*.f64 (pow.f64 x #s(literal 2 binary64)) (fma.f64 #s(literal -1/8 binary64) (*.f64 (sqrt.f64 (/.f64 #s(literal 1 binary64) (pow.f64 x #s(literal 3 binary64)))) (/.f64 #s(literal 1 binary64) (pow.f64 (sqrt.f64 #s(literal -1 binary64)) #s(literal 3 binary64)))) (*.f64 #s(literal 1/16 binary64) (*.f64 (sqrt.f64 (/.f64 #s(literal 1 binary64) x)) (/.f64 #s(literal 1 binary64) (pow.f64 (sqrt.f64 #s(literal -1 binary64)) #s(literal 5 binary64)))))))))))
#s(approx (* x (- 1 (* 1/2 (/ 1 x)))) #s(literal -1/2 binary64))
#s(approx (* x (- 1 (* 1/2 (/ 1 x)))) (-.f64 x #s(literal 1/2 binary64)))
#s(approx x x)
#s(approx (- 1 (* 1/2 (/ 1 x))) (/.f64 #s(literal -1/2 binary64) x))
#s(approx (- 1 (* 1/2 (/ 1 x))) (/.f64 (-.f64 x #s(literal 1/2 binary64)) x))
#s(approx (* 1/2 (/ 1 x)) (/.f64 #s(literal 1/2 binary64) x))
#s(approx (* (sqrt (- x 1)) (sqrt x)) (*.f64 x (-.f64 #s(literal 1 binary64) (*.f64 #s(literal 1/2 binary64) (/.f64 #s(literal 1 binary64) x)))))
#s(approx (* (sqrt (- x 1)) (sqrt x)) (*.f64 x (+.f64 #s(literal 1 binary64) (*.f64 #s(literal -1 binary64) (/.f64 (+.f64 #s(literal 1/2 binary64) (*.f64 #s(literal 1/8 binary64) (/.f64 #s(literal 1 binary64) x))) x)))))
#s(approx (* (sqrt (- x 1)) (sqrt x)) (*.f64 x (-.f64 (+.f64 #s(literal 1 binary64) (*.f64 #s(literal -1 binary64) (/.f64 (+.f64 #s(literal 1/8 binary64) (*.f64 #s(literal 1/16 binary64) (/.f64 #s(literal 1 binary64) x))) (pow.f64 x #s(literal 2 binary64))))) (*.f64 #s(literal 1/2 binary64) (/.f64 #s(literal 1 binary64) x)))))
#s(approx (- 1 (* 1/2 (/ 1 x))) #s(literal 1 binary64))
#s(approx (- 1 (* 1/2 (/ 1 x))) (-.f64 #s(literal 1 binary64) (*.f64 #s(literal 1/2 binary64) (/.f64 #s(literal 1 binary64) x))))
#s(approx (* (sqrt (- x 1)) (sqrt x)) (*.f64 #s(literal -1 binary64) (*.f64 x (pow.f64 (sqrt.f64 #s(literal -1 binary64)) #s(literal 2 binary64)))))
#s(approx (* (sqrt (- x 1)) (sqrt x)) (*.f64 #s(literal -1 binary64) (*.f64 x (fma.f64 #s(literal -1/2 binary64) (/.f64 (pow.f64 (sqrt.f64 #s(literal -1 binary64)) #s(literal 2 binary64)) x) (pow.f64 (sqrt.f64 #s(literal -1 binary64)) #s(literal 2 binary64))))))
#s(approx (* (sqrt (- x 1)) (sqrt x)) (*.f64 #s(literal -1 binary64) (*.f64 x (fma.f64 #s(literal -1 binary64) (/.f64 (fma.f64 #s(literal 1/8 binary64) (/.f64 (pow.f64 (sqrt.f64 #s(literal -1 binary64)) #s(literal 2 binary64)) x) (*.f64 #s(literal 1/2 binary64) (pow.f64 (sqrt.f64 #s(literal -1 binary64)) #s(literal 2 binary64)))) x) (pow.f64 (sqrt.f64 #s(literal -1 binary64)) #s(literal 2 binary64))))))
#s(approx (* (sqrt (- x 1)) (sqrt x)) (*.f64 #s(literal -1 binary64) (*.f64 x (fma.f64 #s(literal -1 binary64) (/.f64 (fma.f64 #s(literal -1 binary64) (/.f64 (fma.f64 #s(literal -1/8 binary64) (pow.f64 (sqrt.f64 #s(literal -1 binary64)) #s(literal 2 binary64)) (*.f64 #s(literal -1/16 binary64) (/.f64 (pow.f64 (sqrt.f64 #s(literal -1 binary64)) #s(literal 2 binary64)) x))) x) (*.f64 #s(literal 1/2 binary64) (pow.f64 (sqrt.f64 #s(literal -1 binary64)) #s(literal 2 binary64)))) x) (pow.f64 (sqrt.f64 #s(literal -1 binary64)) #s(literal 2 binary64))))))
#s(approx (* x (- 1 (* 1/2 (/ 1 x)))) (*.f64 #s(literal -1 binary64) (*.f64 x (-.f64 (*.f64 #s(literal 1/2 binary64) (/.f64 #s(literal 1 binary64) x)) #s(literal 1 binary64)))))

eval40.0ms (3.4%)

Memory
-58.2MiB live, 14.6MiB allocated; 54ms collecting garbage
Compiler

Compiled 253 to 130 computations (48.6% saved)

prune2.0ms (0.2%)

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

4 alts after pruning (0 fresh and 4 done)

PrunedKeptTotal
New18018
Fresh000
Picked033
Done011
Total18422
Accuracy
100.0%
Counts
22 → 4
Alt Table
Click to see full alt table
StatusAccuracyProgram
99.2%
(*.f64 (sqrt.f64 (-.f64 x #s(literal 1 binary64))) (sqrt.f64 x))
99.8%
#s(approx (* (sqrt (- x 1)) (sqrt x)) (*.f64 x (-.f64 #s(literal 1 binary64) #s(approx (* 1/2 (/ 1 x)) (/.f64 #s(literal 1/2 binary64) x)))))
99.8%
#s(approx (* (sqrt (- x 1)) (sqrt x)) #s(approx (* x (- 1 (* 1/2 (/ 1 x)))) (-.f64 x #s(literal 1/2 binary64))))
1.1%
#s(approx (* (sqrt (- x 1)) (sqrt x)) #s(approx (* x (- 1 (* 1/2 (/ 1 x)))) #s(literal -1/2 binary64)))
Compiler

Compiled 95 to 88 computations (7.4% saved)

regimes5.0ms (0.4%)

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

2 calls:

2.0ms
(*.f64 (sqrt.f64 (-.f64 x #s(literal 1 binary64))) (sqrt.f64 x))
2.0ms
x
Results
AccuracySegmentsBranch
99.8%1(*.f64 (sqrt.f64 (-.f64 x #s(literal 1 binary64))) (sqrt.f64 x))
99.8%1x
Compiler

Compiled 7 to 7 computations (0% saved)

regimes3.0ms (0.3%)

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

2 calls:

2.0ms
(*.f64 (sqrt.f64 (-.f64 x #s(literal 1 binary64))) (sqrt.f64 x))
2.0ms
x
Results
AccuracySegmentsBranch
99.8%1(*.f64 (sqrt.f64 (-.f64 x #s(literal 1 binary64))) (sqrt.f64 x))
99.8%1x
Compiler

Compiled 7 to 7 computations (0% saved)

regimes2.0ms (0.2%)

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

Total 0.0b remaining (0%)

Threshold costs 0b (0%)

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

2 calls:

1.0ms
(*.f64 (sqrt.f64 (-.f64 x #s(literal 1 binary64))) (sqrt.f64 x))
1.0ms
x
Results
AccuracySegmentsBranch
1.1%1(*.f64 (sqrt.f64 (-.f64 x #s(literal 1 binary64))) (sqrt.f64 x))
1.1%1x
Compiler

Compiled 7 to 7 computations (0% saved)

derivations3.0ms (0.3%)

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

Compiled 30 to 24 computations (20% saved)

preprocess27.0ms (2.3%)

Memory
-36.1MiB live, 53.5MiB allocated; 10ms collecting garbage
Remove

(abs x)

Compiler

Compiled 126 to 120 computations (4.8% saved)

end0.0ms (0%)

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

Profiling

Loading profile data...