sqrt times

Time bar (total: 1.2s)

start0.0ms (0%)

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

analyze1.0ms (0.1%)

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

sample763.0ms (64%)

Memory
31.7MiB live, 666.3MiB allocated; 295ms collecting garbage
Samples
466.0ms8 244×0valid
1.0ms12×1valid
1.0ms15×0invalid
Precisions
Click to see histograms. Total time spent on operations: 279.0ms
ival-sqrt: 175.0ms (62.7% of total)
ival-sub!: 70.0ms (25.1% of total)
ival-mult!: 32.0ms (11.5% of total)
adjust: 2.0ms (0.7% of total)
Bogosity

preprocess79.0ms (6.6%)

Memory
-22.0MiB live, 28.7MiB allocated; 17ms collecting garbage
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
01221
14221
29219
332319
Stop Event
iter-limit
node-limit
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)

series4.0ms (0.3%)

Memory
6.4MiB live, 6.4MiB allocated; 0ms collecting garbage
Counts
6 → 26
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 -1) (sqrt x))))
#s(approx (* (sqrt (- x 1)) (sqrt x)) #s(hole binary64 (+ (* 1/2 (/ (* x (sqrt x)) (sqrt -1))) (* (sqrt -1) (sqrt x)))))
#s(approx (* (sqrt (- x 1)) (sqrt x)) #s(hole binary64 (+ (* x (+ (* -1/8 (/ (* x (sqrt x)) (pow (sqrt -1) 3))) (* 1/2 (/ (sqrt x) (sqrt -1))))) (* (sqrt -1) (sqrt x)))))
#s(approx (* (sqrt (- x 1)) (sqrt x)) #s(hole binary64 (+ (* x (+ (* 1/2 (/ (sqrt x) (sqrt -1))) (* x (+ (* -1/8 (/ (sqrt x) (pow (sqrt -1) 3))) (* 1/16 (/ (* x (sqrt x)) (pow (sqrt -1) 5))))))) (* (sqrt -1) (sqrt 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 x #s(hole binary64 x))
#s(approx (sqrt x) #s(hole binary64 (sqrt x)))
#s(approx (* (sqrt (- x 1)) (sqrt x)) #s(hole binary64 (* (pow x 2) (pow (sqrt (/ 1 x)) 2))))
#s(approx (* (sqrt (- x 1)) (sqrt x)) #s(hole binary64 (* (pow x 2) (- (pow (sqrt (/ 1 x)) 2) (* 1/2 (/ 1 (pow x 2)))))))
#s(approx (* (sqrt (- x 1)) (sqrt x)) #s(hole binary64 (* (pow x 2) (+ (* -1 (/ (+ 1/2 (* 1/8 (/ 1 (* (pow x 2) (pow (sqrt (/ 1 x)) 2))))) (pow x 2))) (pow (sqrt (/ 1 x)) 2)))))
#s(approx (* (sqrt (- x 1)) (sqrt x)) #s(hole binary64 (* (pow x 2) (- (+ (* -1 (/ (+ (* 1/8 (/ 1 (pow (sqrt (/ 1 x)) 2))) (* 1/16 (/ 1 (* (pow x 2) (pow (sqrt (/ 1 x)) 4))))) (pow x 4))) (pow (sqrt (/ 1 x)) 2)) (* 1/2 (/ 1 (pow x 2)))))))
#s(approx (sqrt (- x 1)) #s(hole binary64 (* x (sqrt (/ 1 x)))))
#s(approx (sqrt (- x 1)) #s(hole binary64 (* x (- (sqrt (/ 1 x)) (* 1/2 (/ 1 (* (pow x 2) (sqrt (/ 1 x)))))))))
#s(approx (sqrt (- x 1)) #s(hole binary64 (* x (+ (sqrt (/ 1 x)) (* -1 (/ (+ (* 1/2 (/ 1 (sqrt (/ 1 x)))) (* 1/8 (/ 1 (* (pow x 2) (pow (sqrt (/ 1 x)) 3))))) (pow x 2)))))))
#s(approx (sqrt (- x 1)) #s(hole binary64 (* x (- (+ (sqrt (/ 1 x)) (* -1 (/ (+ (* 1/16 (/ 1 (* (pow x 2) (pow (sqrt (/ 1 x)) 5)))) (* 1/8 (/ 1 (pow (sqrt (/ 1 x)) 3)))) (pow x 4)))) (/ 1/2 (* (pow x 2) (sqrt (/ 1 x))))))))
#s(approx (- x 1) #s(hole binary64 (* x (- 1 (/ 1 x)))))
#s(approx (sqrt (- x 1)) #s(hole binary64 (* -1 (* x (sqrt (/ 1 x))))))
#s(approx (sqrt (- x 1)) #s(hole binary64 (* -1 (* x (- (sqrt (/ 1 x)) (* 1/2 (/ 1 (* (pow x 2) (sqrt (/ 1 x))))))))))
#s(approx (sqrt (- x 1)) #s(hole binary64 (* -1 (* x (+ (sqrt (/ 1 x)) (* -1 (/ (+ (* 1/2 (/ 1 (sqrt (/ 1 x)))) (* 1/8 (/ 1 (* (pow x 2) (pow (sqrt (/ 1 x)) 3))))) (pow x 2))))))))
#s(approx (sqrt (- x 1)) #s(hole binary64 (* -1 (* x (- (+ (sqrt (/ 1 x)) (* -1 (/ (+ (* 1/16 (/ 1 (* (pow x 2) (pow (sqrt (/ 1 x)) 5)))) (* 1/8 (/ 1 (pow (sqrt (/ 1 x)) 3)))) (pow x 4)))) (/ 1/2 (* (pow x 2) (sqrt (/ 1 x)))))))))
#s(approx (- x 1) #s(hole binary64 (* -1 (* x (- (/ 1 x) 1)))))
Calls

3 calls:

TimeVariablePointExpression
1.0ms
x
@inf
((* (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))
1.0ms
x
@0
((* (sqrt (- x 1)) (sqrt x)) (sqrt (- x 1)) (- x 1) x 1 (sqrt x))

rewrite52.0ms (4.4%)

Memory
0.7MiB live, 47.8MiB allocated; 3ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0156673
0161585
01046569
Stop Event
iter-limit
iter-limit
node-limit
iter-limit
Counts
32 → 44
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 -1) (sqrt x))))
#s(approx (* (sqrt (- x 1)) (sqrt x)) #s(hole binary64 (+ (* 1/2 (/ (* x (sqrt x)) (sqrt -1))) (* (sqrt -1) (sqrt x)))))
#s(approx (* (sqrt (- x 1)) (sqrt x)) #s(hole binary64 (+ (* x (+ (* -1/8 (/ (* x (sqrt x)) (pow (sqrt -1) 3))) (* 1/2 (/ (sqrt x) (sqrt -1))))) (* (sqrt -1) (sqrt x)))))
#s(approx (* (sqrt (- x 1)) (sqrt x)) #s(hole binary64 (+ (* x (+ (* 1/2 (/ (sqrt x) (sqrt -1))) (* x (+ (* -1/8 (/ (sqrt x) (pow (sqrt -1) 3))) (* 1/16 (/ (* x (sqrt x)) (pow (sqrt -1) 5))))))) (* (sqrt -1) (sqrt 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 x #s(hole binary64 x))
#s(approx (sqrt x) #s(hole binary64 (sqrt x)))
#s(approx (* (sqrt (- x 1)) (sqrt x)) #s(hole binary64 (* (pow x 2) (pow (sqrt (/ 1 x)) 2))))
#s(approx (* (sqrt (- x 1)) (sqrt x)) #s(hole binary64 (* (pow x 2) (- (pow (sqrt (/ 1 x)) 2) (* 1/2 (/ 1 (pow x 2)))))))
#s(approx (* (sqrt (- x 1)) (sqrt x)) #s(hole binary64 (* (pow x 2) (+ (* -1 (/ (+ 1/2 (* 1/8 (/ 1 (* (pow x 2) (pow (sqrt (/ 1 x)) 2))))) (pow x 2))) (pow (sqrt (/ 1 x)) 2)))))
#s(approx (* (sqrt (- x 1)) (sqrt x)) #s(hole binary64 (* (pow x 2) (- (+ (* -1 (/ (+ (* 1/8 (/ 1 (pow (sqrt (/ 1 x)) 2))) (* 1/16 (/ 1 (* (pow x 2) (pow (sqrt (/ 1 x)) 4))))) (pow x 4))) (pow (sqrt (/ 1 x)) 2)) (* 1/2 (/ 1 (pow x 2)))))))
#s(approx (sqrt (- x 1)) #s(hole binary64 (* x (sqrt (/ 1 x)))))
#s(approx (sqrt (- x 1)) #s(hole binary64 (* x (- (sqrt (/ 1 x)) (* 1/2 (/ 1 (* (pow x 2) (sqrt (/ 1 x)))))))))
#s(approx (sqrt (- x 1)) #s(hole binary64 (* x (+ (sqrt (/ 1 x)) (* -1 (/ (+ (* 1/2 (/ 1 (sqrt (/ 1 x)))) (* 1/8 (/ 1 (* (pow x 2) (pow (sqrt (/ 1 x)) 3))))) (pow x 2)))))))
#s(approx (sqrt (- x 1)) #s(hole binary64 (* x (- (+ (sqrt (/ 1 x)) (* -1 (/ (+ (* 1/16 (/ 1 (* (pow x 2) (pow (sqrt (/ 1 x)) 5)))) (* 1/8 (/ 1 (pow (sqrt (/ 1 x)) 3)))) (pow x 4)))) (/ 1/2 (* (pow x 2) (sqrt (/ 1 x))))))))
#s(approx (- x 1) #s(hole binary64 (* x (- 1 (/ 1 x)))))
#s(approx (sqrt (- x 1)) #s(hole binary64 (* -1 (* x (sqrt (/ 1 x))))))
#s(approx (sqrt (- x 1)) #s(hole binary64 (* -1 (* x (- (sqrt (/ 1 x)) (* 1/2 (/ 1 (* (pow x 2) (sqrt (/ 1 x))))))))))
#s(approx (sqrt (- x 1)) #s(hole binary64 (* -1 (* x (+ (sqrt (/ 1 x)) (* -1 (/ (+ (* 1/2 (/ 1 (sqrt (/ 1 x)))) (* 1/8 (/ 1 (* (pow x 2) (pow (sqrt (/ 1 x)) 3))))) (pow x 2))))))))
#s(approx (sqrt (- x 1)) #s(hole binary64 (* -1 (* x (- (+ (sqrt (/ 1 x)) (* -1 (/ (+ (* 1/16 (/ 1 (* (pow x 2) (pow (sqrt (/ 1 x)) 5)))) (* 1/8 (/ 1 (pow (sqrt (/ 1 x)) 3)))) (pow x 4)))) (/ 1/2 (* (pow x 2) (sqrt (/ 1 x)))))))))
#s(approx (- x 1) #s(hole binary64 (* -1 (* x (- (/ 1 x) 1)))))
Outputs
(*.f64 (sqrt.f64 x) (sqrt.f64 (-.f64 x #s(literal 1 binary64))))
(*.f64 (sqrt.f64 (-.f64 x #s(literal 1 binary64))) (sqrt.f64 x))
(sqrt.f64 (*.f64 (-.f64 x #s(literal 1 binary64)) x))
(pow.f64 (-.f64 x #s(literal 1 binary64)) #s(literal 1/2 binary64))
(sqrt.f64 (-.f64 x #s(literal 1 binary64)))
(fabs.f64 (sqrt.f64 (-.f64 x #s(literal 1 binary64))))
(*.f64 (-.f64 #s(literal 1 binary64) (/.f64 #s(literal 1 binary64) x)) x)
(*.f64 x (-.f64 #s(literal 1 binary64) (/.f64 #s(literal 1 binary64) x)))
(/.f64 (-.f64 (*.f64 x x) #s(literal 1 binary64)) (+.f64 x #s(literal 1 binary64)))
(/.f64 (-.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal 1 binary64)) (fma.f64 x x (+.f64 #s(literal 1 binary64) (*.f64 x #s(literal 1 binary64)))))
(neg.f64 (-.f64 #s(literal 1 binary64) x))
(-.f64 x #s(literal 1 binary64))
(+.f64 x #s(literal -1 binary64))
x
#s(literal 1 binary64)
(pow.f64 x #s(literal 1/2 binary64))
(sqrt.f64 x)
(fabs.f64 (sqrt.f64 x))
#s(approx (* (sqrt (- x 1)) (sqrt x)) (sqrt.f64 (*.f64 #s(literal -1 binary64) x)))
#s(approx (* (sqrt (- x 1)) (sqrt x)) (fma.f64 (*.f64 x (sqrt.f64 (/.f64 x #s(literal -1 binary64)))) #s(literal 1/2 binary64) (sqrt.f64 (*.f64 #s(literal -1 binary64) x))))
#s(approx (* (sqrt (- x 1)) (sqrt x)) (fma.f64 (fma.f64 (sqrt.f64 (/.f64 x #s(literal -1 binary64))) #s(literal 1/2 binary64) (/.f64 (*.f64 #s(literal -1/8 binary64) (*.f64 (sqrt.f64 x) x)) (*.f64 (*.f64 (sqrt.f64 #s(literal -1 binary64)) (sqrt.f64 #s(literal -1 binary64))) (sqrt.f64 #s(literal -1 binary64))))) x (sqrt.f64 (*.f64 #s(literal -1 binary64) x))))
#s(approx (* (sqrt (- x 1)) (sqrt x)) (fma.f64 x (fma.f64 (fma.f64 (/.f64 (sqrt.f64 x) (*.f64 (*.f64 (sqrt.f64 #s(literal -1 binary64)) (sqrt.f64 #s(literal -1 binary64))) (sqrt.f64 #s(literal -1 binary64)))) #s(literal -1/8 binary64) (*.f64 (/.f64 (*.f64 (sqrt.f64 x) x) (pow.f64 #s(literal -1 binary64) #s(literal 5/2 binary64))) #s(literal 1/16 binary64))) x (*.f64 (sqrt.f64 (/.f64 x #s(literal -1 binary64))) #s(literal 1/2 binary64))) (sqrt.f64 (*.f64 #s(literal -1 binary64) x))))
#s(approx (sqrt (- x 1)) (sqrt.f64 #s(literal -1 binary64)))
#s(approx (sqrt (- x 1)) (fma.f64 (/.f64 x (sqrt.f64 #s(literal -1 binary64))) #s(literal 1/2 binary64) (sqrt.f64 #s(literal -1 binary64))))
#s(approx (sqrt (- x 1)) (fma.f64 (fma.f64 (/.f64 x (*.f64 (*.f64 (sqrt.f64 #s(literal -1 binary64)) (sqrt.f64 #s(literal -1 binary64))) (sqrt.f64 #s(literal -1 binary64)))) #s(literal -1/8 binary64) (/.f64 #s(literal 1/2 binary64) (sqrt.f64 #s(literal -1 binary64)))) x (sqrt.f64 #s(literal -1 binary64))))
#s(approx (sqrt (- x 1)) (fma.f64 (fma.f64 (-.f64 (*.f64 (/.f64 x (pow.f64 #s(literal -1 binary64) #s(literal 5/2 binary64))) #s(literal 1/16 binary64)) (/.f64 #s(literal 1/8 binary64) (*.f64 (*.f64 (sqrt.f64 #s(literal -1 binary64)) (sqrt.f64 #s(literal -1 binary64))) (sqrt.f64 #s(literal -1 binary64))))) x (/.f64 #s(literal 1/2 binary64) (sqrt.f64 #s(literal -1 binary64)))) x (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 (*.f64 (/.f64 #s(literal 1 binary64) (sqrt.f64 x)) (/.f64 #s(literal 1 binary64) (sqrt.f64 x))) (*.f64 x x)))
#s(approx (* (sqrt (- x 1)) (sqrt x)) (*.f64 (-.f64 (*.f64 (/.f64 #s(literal 1 binary64) (sqrt.f64 x)) (/.f64 #s(literal 1 binary64) (sqrt.f64 x))) (/.f64 #s(literal 1/2 binary64) (*.f64 x x))) (*.f64 x x)))
#s(approx (* (sqrt (- x 1)) (sqrt x)) (*.f64 (fma.f64 (/.f64 #s(literal 1 binary64) (sqrt.f64 x)) (/.f64 #s(literal 1 binary64) (sqrt.f64 x)) (neg.f64 (/.f64 (+.f64 (/.f64 #s(literal 1/8 binary64) (*.f64 (*.f64 (/.f64 #s(literal 1 binary64) (sqrt.f64 x)) (/.f64 #s(literal 1 binary64) (sqrt.f64 x))) (*.f64 x x))) #s(literal 1/2 binary64)) (*.f64 x x)))) (*.f64 x x)))
#s(approx (* (sqrt (- x 1)) (sqrt x)) (*.f64 (-.f64 (fma.f64 (/.f64 #s(literal 1 binary64) (sqrt.f64 x)) (/.f64 #s(literal 1 binary64) (sqrt.f64 x)) (neg.f64 (/.f64 (+.f64 (/.f64 #s(literal 1/16 binary64) (*.f64 (pow.f64 (/.f64 #s(literal 1 binary64) x) #s(literal 2 binary64)) (*.f64 x x))) (/.f64 #s(literal 1/8 binary64) (*.f64 (/.f64 #s(literal 1 binary64) (sqrt.f64 x)) (/.f64 #s(literal 1 binary64) (sqrt.f64 x))))) (*.f64 (*.f64 x x) (*.f64 x x))))) (/.f64 #s(literal 1/2 binary64) (*.f64 x x))) (*.f64 x x)))
#s(approx (sqrt (- x 1)) (*.f64 (/.f64 #s(literal 1 binary64) (sqrt.f64 x)) x))
#s(approx (sqrt (- x 1)) (*.f64 (-.f64 (/.f64 #s(literal 1 binary64) (sqrt.f64 x)) (/.f64 #s(literal 1/2 binary64) (*.f64 (/.f64 #s(literal 1 binary64) (sqrt.f64 x)) (*.f64 x x)))) x))
#s(approx (sqrt (- x 1)) (*.f64 (+.f64 (neg.f64 (/.f64 (+.f64 (/.f64 #s(literal 1/8 binary64) (*.f64 (pow.f64 (/.f64 #s(literal 1 binary64) x) #s(literal 3/2 binary64)) (*.f64 x x))) (/.f64 #s(literal 1/2 binary64) (/.f64 #s(literal 1 binary64) (sqrt.f64 x)))) (*.f64 x x))) (/.f64 #s(literal 1 binary64) (sqrt.f64 x))) x))
#s(approx (sqrt (- x 1)) (*.f64 (-.f64 (+.f64 (neg.f64 (/.f64 (+.f64 (/.f64 #s(literal 1/8 binary64) (pow.f64 (/.f64 #s(literal 1 binary64) x) #s(literal 3/2 binary64))) (/.f64 #s(literal 1/16 binary64) (*.f64 (pow.f64 (/.f64 #s(literal 1 binary64) x) #s(literal 5/2 binary64)) (*.f64 x x)))) (*.f64 (*.f64 x x) (*.f64 x x)))) (/.f64 #s(literal 1 binary64) (sqrt.f64 x))) (/.f64 #s(literal 1/2 binary64) (*.f64 (/.f64 #s(literal 1 binary64) (sqrt.f64 x)) (*.f64 x x)))) x))
#s(approx (- x 1) (-.f64 x #s(literal 1 binary64)))
#s(approx (sqrt (- x 1)) (neg.f64 (*.f64 (/.f64 #s(literal 1 binary64) (sqrt.f64 x)) x)))
#s(approx (sqrt (- x 1)) (neg.f64 (*.f64 (-.f64 (/.f64 #s(literal 1 binary64) (sqrt.f64 x)) (/.f64 #s(literal 1/2 binary64) (*.f64 (/.f64 #s(literal 1 binary64) (sqrt.f64 x)) (*.f64 x x)))) x)))
#s(approx (sqrt (- x 1)) (neg.f64 (*.f64 (+.f64 (neg.f64 (/.f64 (+.f64 (/.f64 #s(literal 1/8 binary64) (*.f64 (pow.f64 (/.f64 #s(literal 1 binary64) x) #s(literal 3/2 binary64)) (*.f64 x x))) (/.f64 #s(literal 1/2 binary64) (/.f64 #s(literal 1 binary64) (sqrt.f64 x)))) (*.f64 x x))) (/.f64 #s(literal 1 binary64) (sqrt.f64 x))) x)))
#s(approx (sqrt (- x 1)) (neg.f64 (*.f64 (-.f64 (+.f64 (neg.f64 (/.f64 (+.f64 (/.f64 #s(literal 1/8 binary64) (pow.f64 (/.f64 #s(literal 1 binary64) x) #s(literal 3/2 binary64))) (/.f64 #s(literal 1/16 binary64) (*.f64 (pow.f64 (/.f64 #s(literal 1 binary64) x) #s(literal 5/2 binary64)) (*.f64 x x)))) (*.f64 (*.f64 x x) (*.f64 x x)))) (/.f64 #s(literal 1 binary64) (sqrt.f64 x))) (/.f64 #s(literal 1/2 binary64) (*.f64 (/.f64 #s(literal 1 binary64) (sqrt.f64 x)) (*.f64 x x)))) x)))
#s(approx (- x 1) (neg.f64 (*.f64 (-.f64 (/.f64 #s(literal 1 binary64) x) #s(literal 1 binary64)) x)))

eval3.0ms (0.3%)

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

Compiled 425 to 195 computations (54.1% saved)

prune2.0ms (0.2%)

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

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New34337
Fresh000
Picked011
Done000
Total34438
Accuracy
99.8%
Counts
38 → 4
Alt Table
Click to see full alt table
StatusAccuracyProgram
99.2%
(*.f64 (sqrt.f64 (-.f64 x #s(literal 1 binary64))) (sqrt.f64 x))
96.2%
(*.f64 #s(approx (sqrt (- x 1)) (*.f64 (/.f64 #s(literal 1 binary64) (sqrt.f64 x)) x)) (sqrt.f64 x))
53.4%
(sqrt.f64 (*.f64 (-.f64 x #s(literal 1 binary64)) x))
0.0%
#s(approx (* (sqrt (- x 1)) (sqrt x)) (sqrt.f64 (*.f64 #s(literal -1 binary64) x)))
Compiler

Compiled 32 to 31 computations (3.1% saved)

series7.0ms (0.6%)

Memory
10.2MiB live, 10.2MiB allocated; 0ms collecting garbage
Counts
14 → 48
Calls
Call 1
Inputs
#s(approx (* (sqrt (- x 1)) (sqrt x)) (sqrt.f64 (*.f64 #s(literal -1 binary64) x)))
(sqrt.f64 (*.f64 #s(literal -1 binary64) x))
(*.f64 #s(literal -1 binary64) x)
#s(literal -1 binary64)
x
(sqrt.f64 (*.f64 (-.f64 x #s(literal 1 binary64)) x))
(*.f64 (-.f64 x #s(literal 1 binary64)) x)
(-.f64 x #s(literal 1 binary64))
#s(literal 1 binary64)
(*.f64 #s(approx (sqrt (- x 1)) (*.f64 (/.f64 #s(literal 1 binary64) (sqrt.f64 x)) x)) (sqrt.f64 x))
#s(approx (sqrt (- x 1)) (*.f64 (/.f64 #s(literal 1 binary64) (sqrt.f64 x)) x))
(*.f64 (/.f64 #s(literal 1 binary64) (sqrt.f64 x)) x)
(/.f64 #s(literal 1 binary64) (sqrt.f64 x))
(sqrt.f64 x)
Outputs
#s(approx (* (sqrt (- x 1)) (sqrt x)) #s(hole binary64 (* (sqrt -1) (sqrt x))))
#s(approx (* (sqrt (- x 1)) (sqrt x)) #s(hole binary64 (+ (* 1/2 (/ (* x (sqrt x)) (sqrt -1))) (* (sqrt -1) (sqrt x)))))
#s(approx (* (sqrt (- x 1)) (sqrt x)) #s(hole binary64 (+ (* x (+ (* -1/8 (/ (* x (sqrt x)) (pow (sqrt -1) 3))) (* 1/2 (/ (sqrt x) (sqrt -1))))) (* (sqrt -1) (sqrt x)))))
#s(approx (* (sqrt (- x 1)) (sqrt x)) #s(hole binary64 (+ (* x (+ (* 1/2 (/ (sqrt x) (sqrt -1))) (* x (+ (* -1/8 (/ (sqrt x) (pow (sqrt -1) 3))) (* 1/16 (/ (* x (sqrt x)) (pow (sqrt -1) 5))))))) (* (sqrt -1) (sqrt x)))))
#s(approx (sqrt (* -1 x)) #s(hole binary64 (sqrt (* -1 x))))
#s(approx (* -1 x) #s(hole binary64 (* -1 x)))
#s(approx x #s(hole binary64 x))
#s(approx (sqrt (* (- x 1) x)) #s(hole binary64 (+ (sqrt (* -1 x)) (* 1/2 (/ (pow x 2) (sqrt (* -1 x)))))))
#s(approx (sqrt (* (- x 1) x)) #s(hole binary64 (+ (sqrt (* -1 x)) (* (pow x 2) (+ (* -1/8 (/ (pow x 2) (pow (sqrt (* -1 x)) 3))) (* 1/2 (/ 1 (sqrt (* -1 x)))))))))
#s(approx (sqrt (* (- x 1) x)) #s(hole binary64 (+ (sqrt (* -1 x)) (* (pow x 2) (+ (* (pow x 2) (- (* 1/16 (/ (pow x 2) (pow (sqrt (* -1 x)) 5))) (* 1/8 (/ 1 (pow (sqrt (* -1 x)) 3))))) (* 1/2 (/ 1 (sqrt (* -1 x)))))))))
#s(approx (* (- x 1) x) #s(hole binary64 (* x (- x 1))))
#s(approx (- x 1) #s(hole binary64 -1))
#s(approx (- x 1) #s(hole binary64 (- x 1)))
#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 (* (/ 1 (sqrt x)) x) #s(hole binary64 (/ x (sqrt x))))
#s(approx (/ 1 (sqrt x)) #s(hole binary64 (/ 1 (sqrt x))))
#s(approx (sqrt x) #s(hole binary64 (sqrt x)))
#s(approx (* (sqrt (- x 1)) (sqrt x)) #s(hole binary64 (* (pow x 2) (pow (sqrt (/ 1 x)) 2))))
#s(approx (* (sqrt (- x 1)) (sqrt x)) #s(hole binary64 (* (pow x 2) (- (pow (sqrt (/ 1 x)) 2) (* 1/2 (/ 1 (pow x 2)))))))
#s(approx (* (sqrt (- x 1)) (sqrt x)) #s(hole binary64 (* (pow x 2) (+ (* -1 (/ (+ 1/2 (* 1/8 (/ 1 (* (pow x 2) (pow (sqrt (/ 1 x)) 2))))) (pow x 2))) (pow (sqrt (/ 1 x)) 2)))))
#s(approx (* (sqrt (- x 1)) (sqrt x)) #s(hole binary64 (* (pow x 2) (- (+ (* -1 (/ (+ (* 1/8 (/ 1 (pow (sqrt (/ 1 x)) 2))) (* 1/16 (/ 1 (* (pow x 2) (pow (sqrt (/ 1 x)) 4))))) (pow x 4))) (pow (sqrt (/ 1 x)) 2)) (* 1/2 (/ 1 (pow x 2)))))))
#s(approx (sqrt (* -1 x)) #s(hole binary64 (* x (sqrt (/ -1 x)))))
#s(approx (sqrt (* (- x 1) x)) #s(hole binary64 (* x (- 1 (* 1/2 (/ 1 x))))))
#s(approx (sqrt (* (- x 1) x)) #s(hole binary64 (* x (+ 1 (* -1 (/ (+ 1/2 (* 1/8 (/ 1 x))) x))))))
#s(approx (sqrt (* (- x 1) x)) #s(hole binary64 (* x (- (+ 1 (* -1 (/ (+ 1/8 (* 1/16 (/ 1 x))) (pow x 2)))) (* 1/2 (/ 1 x))))))
#s(approx (* (- x 1) x) #s(hole binary64 (pow x 2)))
#s(approx (* (- x 1) x) #s(hole binary64 (* (pow x 2) (- 1 (/ 1 x)))))
#s(approx (- x 1) #s(hole binary64 (* x (- 1 (/ 1 x)))))
#s(approx (sqrt (- x 1)) #s(hole binary64 (* x (sqrt (/ 1 x)))))
#s(approx (sqrt (- x 1)) #s(hole binary64 (* x (- (sqrt (/ 1 x)) (* 1/2 (/ 1 (* (pow x 2) (sqrt (/ 1 x)))))))))
#s(approx (sqrt (- x 1)) #s(hole binary64 (* x (+ (sqrt (/ 1 x)) (* -1 (/ (+ (* 1/2 (/ 1 (sqrt (/ 1 x)))) (* 1/8 (/ 1 (* (pow x 2) (pow (sqrt (/ 1 x)) 3))))) (pow x 2)))))))
#s(approx (sqrt (- x 1)) #s(hole binary64 (* x (- (+ (sqrt (/ 1 x)) (* -1 (/ (+ (* 1/16 (/ 1 (* (pow x 2) (pow (sqrt (/ 1 x)) 5)))) (* 1/8 (/ 1 (pow (sqrt (/ 1 x)) 3)))) (pow x 4)))) (/ 1/2 (* (pow x 2) (sqrt (/ 1 x))))))))
#s(approx (* (/ 1 (sqrt x)) x) #s(hole binary64 (/ 1 (sqrt (/ 1 x)))))
#s(approx (/ 1 (sqrt x)) #s(hole binary64 (/ 1 (* x (sqrt (/ 1 x))))))
#s(approx (sqrt (* -1 x)) #s(hole binary64 (* -1 (* x (sqrt (/ -1 x))))))
#s(approx (sqrt (* (- x 1) x)) #s(hole binary64 (* -1 (* x (- 1 (* 1/2 (/ 1 x)))))))
#s(approx (sqrt (* (- x 1) x)) #s(hole binary64 (* -1 (* x (+ 1 (* -1 (/ (+ 1/2 (* 1/8 (/ 1 x))) x)))))))
#s(approx (sqrt (* (- x 1) x)) #s(hole binary64 (* -1 (* x (+ 1 (* -1 (/ (+ 1/2 (+ (/ 1/16 (pow x 2)) (* 1/8 (/ 1 x)))) x)))))))
#s(approx (- x 1) #s(hole binary64 (* -1 (* x (- (/ 1 x) 1)))))
#s(approx (sqrt (- x 1)) #s(hole binary64 (* -1 (* x (sqrt (/ 1 x))))))
#s(approx (sqrt (- x 1)) #s(hole binary64 (* -1 (* x (- (sqrt (/ 1 x)) (* 1/2 (/ 1 (* (pow x 2) (sqrt (/ 1 x))))))))))
#s(approx (sqrt (- x 1)) #s(hole binary64 (* -1 (* x (+ (sqrt (/ 1 x)) (* -1 (/ (+ (* 1/2 (/ 1 (sqrt (/ 1 x)))) (* 1/8 (/ 1 (* (pow x 2) (pow (sqrt (/ 1 x)) 3))))) (pow x 2))))))))
#s(approx (sqrt (- x 1)) #s(hole binary64 (* -1 (* x (- (+ (sqrt (/ 1 x)) (* -1 (/ (+ (* 1/16 (/ 1 (* (pow x 2) (pow (sqrt (/ 1 x)) 5)))) (* 1/8 (/ 1 (pow (sqrt (/ 1 x)) 3)))) (pow x 4)))) (/ 1/2 (* (pow x 2) (sqrt (/ 1 x)))))))))
#s(approx (* (/ 1 (sqrt x)) x) #s(hole binary64 (/ -1 (sqrt (/ 1 x)))))
#s(approx (/ 1 (sqrt x)) #s(hole binary64 (/ -1 (* x (sqrt (/ 1 x))))))
Calls

3 calls:

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

rewrite71.0ms (6%)

Memory
-29.1MiB live, 17.9MiB allocated; 1ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02481126
0262961
01617939
Stop Event
iter-limit
iter-limit
node-limit
iter-limit
Counts
62 → 94
Calls
Call 1
Inputs
#s(approx (* (sqrt (- x 1)) (sqrt x)) (sqrt.f64 (*.f64 #s(literal -1 binary64) x)))
(sqrt.f64 (*.f64 #s(literal -1 binary64) x))
(*.f64 #s(literal -1 binary64) x)
#s(literal -1 binary64)
x
(sqrt.f64 (*.f64 (-.f64 x #s(literal 1 binary64)) x))
(*.f64 (-.f64 x #s(literal 1 binary64)) x)
(-.f64 x #s(literal 1 binary64))
#s(literal 1 binary64)
(*.f64 #s(approx (sqrt (- x 1)) (*.f64 (/.f64 #s(literal 1 binary64) (sqrt.f64 x)) x)) (sqrt.f64 x))
#s(approx (sqrt (- x 1)) (*.f64 (/.f64 #s(literal 1 binary64) (sqrt.f64 x)) x))
(*.f64 (/.f64 #s(literal 1 binary64) (sqrt.f64 x)) x)
(/.f64 #s(literal 1 binary64) (sqrt.f64 x))
(sqrt.f64 x)
#s(approx (* (sqrt (- x 1)) (sqrt x)) #s(hole binary64 (* (sqrt -1) (sqrt x))))
#s(approx (* (sqrt (- x 1)) (sqrt x)) #s(hole binary64 (+ (* 1/2 (/ (* x (sqrt x)) (sqrt -1))) (* (sqrt -1) (sqrt x)))))
#s(approx (* (sqrt (- x 1)) (sqrt x)) #s(hole binary64 (+ (* x (+ (* -1/8 (/ (* x (sqrt x)) (pow (sqrt -1) 3))) (* 1/2 (/ (sqrt x) (sqrt -1))))) (* (sqrt -1) (sqrt x)))))
#s(approx (* (sqrt (- x 1)) (sqrt x)) #s(hole binary64 (+ (* x (+ (* 1/2 (/ (sqrt x) (sqrt -1))) (* x (+ (* -1/8 (/ (sqrt x) (pow (sqrt -1) 3))) (* 1/16 (/ (* x (sqrt x)) (pow (sqrt -1) 5))))))) (* (sqrt -1) (sqrt x)))))
#s(approx (sqrt (* -1 x)) #s(hole binary64 (sqrt (* -1 x))))
#s(approx (* -1 x) #s(hole binary64 (* -1 x)))
#s(approx x #s(hole binary64 x))
#s(approx (sqrt (* (- x 1) x)) #s(hole binary64 (+ (sqrt (* -1 x)) (* 1/2 (/ (pow x 2) (sqrt (* -1 x)))))))
#s(approx (sqrt (* (- x 1) x)) #s(hole binary64 (+ (sqrt (* -1 x)) (* (pow x 2) (+ (* -1/8 (/ (pow x 2) (pow (sqrt (* -1 x)) 3))) (* 1/2 (/ 1 (sqrt (* -1 x)))))))))
#s(approx (sqrt (* (- x 1) x)) #s(hole binary64 (+ (sqrt (* -1 x)) (* (pow x 2) (+ (* (pow x 2) (- (* 1/16 (/ (pow x 2) (pow (sqrt (* -1 x)) 5))) (* 1/8 (/ 1 (pow (sqrt (* -1 x)) 3))))) (* 1/2 (/ 1 (sqrt (* -1 x)))))))))
#s(approx (* (- x 1) x) #s(hole binary64 (* x (- x 1))))
#s(approx (- x 1) #s(hole binary64 -1))
#s(approx (- x 1) #s(hole binary64 (- x 1)))
#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 (* (/ 1 (sqrt x)) x) #s(hole binary64 (/ x (sqrt x))))
#s(approx (/ 1 (sqrt x)) #s(hole binary64 (/ 1 (sqrt x))))
#s(approx (sqrt x) #s(hole binary64 (sqrt x)))
#s(approx (* (sqrt (- x 1)) (sqrt x)) #s(hole binary64 (* (pow x 2) (pow (sqrt (/ 1 x)) 2))))
#s(approx (* (sqrt (- x 1)) (sqrt x)) #s(hole binary64 (* (pow x 2) (- (pow (sqrt (/ 1 x)) 2) (* 1/2 (/ 1 (pow x 2)))))))
#s(approx (* (sqrt (- x 1)) (sqrt x)) #s(hole binary64 (* (pow x 2) (+ (* -1 (/ (+ 1/2 (* 1/8 (/ 1 (* (pow x 2) (pow (sqrt (/ 1 x)) 2))))) (pow x 2))) (pow (sqrt (/ 1 x)) 2)))))
#s(approx (* (sqrt (- x 1)) (sqrt x)) #s(hole binary64 (* (pow x 2) (- (+ (* -1 (/ (+ (* 1/8 (/ 1 (pow (sqrt (/ 1 x)) 2))) (* 1/16 (/ 1 (* (pow x 2) (pow (sqrt (/ 1 x)) 4))))) (pow x 4))) (pow (sqrt (/ 1 x)) 2)) (* 1/2 (/ 1 (pow x 2)))))))
#s(approx (sqrt (* -1 x)) #s(hole binary64 (* x (sqrt (/ -1 x)))))
#s(approx (sqrt (* (- x 1) x)) #s(hole binary64 (* x (- 1 (* 1/2 (/ 1 x))))))
#s(approx (sqrt (* (- x 1) x)) #s(hole binary64 (* x (+ 1 (* -1 (/ (+ 1/2 (* 1/8 (/ 1 x))) x))))))
#s(approx (sqrt (* (- x 1) x)) #s(hole binary64 (* x (- (+ 1 (* -1 (/ (+ 1/8 (* 1/16 (/ 1 x))) (pow x 2)))) (* 1/2 (/ 1 x))))))
#s(approx (* (- x 1) x) #s(hole binary64 (pow x 2)))
#s(approx (* (- x 1) x) #s(hole binary64 (* (pow x 2) (- 1 (/ 1 x)))))
#s(approx (- x 1) #s(hole binary64 (* x (- 1 (/ 1 x)))))
#s(approx (sqrt (- x 1)) #s(hole binary64 (* x (sqrt (/ 1 x)))))
#s(approx (sqrt (- x 1)) #s(hole binary64 (* x (- (sqrt (/ 1 x)) (* 1/2 (/ 1 (* (pow x 2) (sqrt (/ 1 x)))))))))
#s(approx (sqrt (- x 1)) #s(hole binary64 (* x (+ (sqrt (/ 1 x)) (* -1 (/ (+ (* 1/2 (/ 1 (sqrt (/ 1 x)))) (* 1/8 (/ 1 (* (pow x 2) (pow (sqrt (/ 1 x)) 3))))) (pow x 2)))))))
#s(approx (sqrt (- x 1)) #s(hole binary64 (* x (- (+ (sqrt (/ 1 x)) (* -1 (/ (+ (* 1/16 (/ 1 (* (pow x 2) (pow (sqrt (/ 1 x)) 5)))) (* 1/8 (/ 1 (pow (sqrt (/ 1 x)) 3)))) (pow x 4)))) (/ 1/2 (* (pow x 2) (sqrt (/ 1 x))))))))
#s(approx (* (/ 1 (sqrt x)) x) #s(hole binary64 (/ 1 (sqrt (/ 1 x)))))
#s(approx (/ 1 (sqrt x)) #s(hole binary64 (/ 1 (* x (sqrt (/ 1 x))))))
#s(approx (sqrt (* -1 x)) #s(hole binary64 (* -1 (* x (sqrt (/ -1 x))))))
#s(approx (sqrt (* (- x 1) x)) #s(hole binary64 (* -1 (* x (- 1 (* 1/2 (/ 1 x)))))))
#s(approx (sqrt (* (- x 1) x)) #s(hole binary64 (* -1 (* x (+ 1 (* -1 (/ (+ 1/2 (* 1/8 (/ 1 x))) x)))))))
#s(approx (sqrt (* (- x 1) x)) #s(hole binary64 (* -1 (* x (+ 1 (* -1 (/ (+ 1/2 (+ (/ 1/16 (pow x 2)) (* 1/8 (/ 1 x)))) x)))))))
#s(approx (- x 1) #s(hole binary64 (* -1 (* x (- (/ 1 x) 1)))))
#s(approx (sqrt (- x 1)) #s(hole binary64 (* -1 (* x (sqrt (/ 1 x))))))
#s(approx (sqrt (- x 1)) #s(hole binary64 (* -1 (* x (- (sqrt (/ 1 x)) (* 1/2 (/ 1 (* (pow x 2) (sqrt (/ 1 x))))))))))
#s(approx (sqrt (- x 1)) #s(hole binary64 (* -1 (* x (+ (sqrt (/ 1 x)) (* -1 (/ (+ (* 1/2 (/ 1 (sqrt (/ 1 x)))) (* 1/8 (/ 1 (* (pow x 2) (pow (sqrt (/ 1 x)) 3))))) (pow x 2))))))))
#s(approx (sqrt (- x 1)) #s(hole binary64 (* -1 (* x (- (+ (sqrt (/ 1 x)) (* -1 (/ (+ (* 1/16 (/ 1 (* (pow x 2) (pow (sqrt (/ 1 x)) 5)))) (* 1/8 (/ 1 (pow (sqrt (/ 1 x)) 3)))) (pow x 4)))) (/ 1/2 (* (pow x 2) (sqrt (/ 1 x)))))))))
#s(approx (* (/ 1 (sqrt x)) x) #s(hole binary64 (/ -1 (sqrt (/ 1 x)))))
#s(approx (/ 1 (sqrt x)) #s(hole binary64 (/ -1 (* x (sqrt (/ 1 x))))))
Outputs
#s(approx (sqrt (* (- x 1) x)) (sqrt.f64 (neg.f64 x)))
(*.f64 (sqrt.f64 #s(literal -1 binary64)) (sqrt.f64 x))
(*.f64 (sqrt.f64 x) (sqrt.f64 #s(literal -1 binary64)))
(pow.f64 (neg.f64 x) #s(literal 1/2 binary64))
(sqrt.f64 (neg.f64 x))
(fabs.f64 (sqrt.f64 (neg.f64 x)))
(*.f64 #s(literal -1 binary64) x)
(*.f64 x #s(literal -1 binary64))
(neg.f64 x)
#s(literal -1 binary64)
x
(*.f64 (sqrt.f64 x) (sqrt.f64 (-.f64 x #s(literal 1 binary64))))
(*.f64 (sqrt.f64 (-.f64 x #s(literal 1 binary64))) (sqrt.f64 x))
(pow.f64 (*.f64 (-.f64 x #s(literal 1 binary64)) x) #s(literal 1/2 binary64))
(sqrt.f64 (*.f64 (-.f64 x #s(literal 1 binary64)) x))
(fabs.f64 (sqrt.f64 (*.f64 (-.f64 x #s(literal 1 binary64)) x)))
(*.f64 (-.f64 x #s(literal 1 binary64)) x)
(*.f64 x (-.f64 x #s(literal 1 binary64)))
(*.f64 (-.f64 #s(literal 1 binary64) (/.f64 #s(literal 1 binary64) x)) x)
(*.f64 x (-.f64 #s(literal 1 binary64) (/.f64 #s(literal 1 binary64) x)))
(/.f64 (-.f64 (*.f64 x x) #s(literal 1 binary64)) (+.f64 x #s(literal 1 binary64)))
(/.f64 (-.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal 1 binary64)) (fma.f64 x x (+.f64 #s(literal 1 binary64) (*.f64 x #s(literal 1 binary64)))))
(neg.f64 (-.f64 #s(literal 1 binary64) x))
(-.f64 x #s(literal 1 binary64))
(+.f64 x #s(literal -1 binary64))
#s(literal 1 binary64)
(*.f64 #s(approx (sqrt (- x 1)) (/.f64 x (sqrt.f64 x))) (sqrt.f64 x))
(*.f64 (sqrt.f64 x) #s(approx (sqrt (- x 1)) (/.f64 x (sqrt.f64 x))))
#s(approx (sqrt (- x 1)) (/.f64 x (sqrt.f64 x)))
(*.f64 (/.f64 #s(literal 1 binary64) (sqrt.f64 x)) x)
(*.f64 x (/.f64 #s(literal 1 binary64) (sqrt.f64 x)))
(/.f64 (*.f64 #s(literal 1 binary64) x) (sqrt.f64 x))
(/.f64 (neg.f64 x) (neg.f64 (sqrt.f64 x)))
(/.f64 #s(literal 1 binary64) (/.f64 (sqrt.f64 x) x))
(/.f64 x (sqrt.f64 x))
(*.f64 #s(literal 1 binary64) (/.f64 #s(literal 1 binary64) (sqrt.f64 x)))
(pow.f64 (/.f64 #s(literal 1 binary64) x) #s(literal 1/2 binary64))
(pow.f64 (sqrt.f64 x) #s(literal -1 binary64))
(/.f64 #s(literal -1 binary64) (neg.f64 (sqrt.f64 x)))
(/.f64 #s(literal 1 binary64) (/.f64 (sqrt.f64 x) #s(literal 1 binary64)))
(/.f64 #s(literal 1 binary64) (sqrt.f64 x))
(sqrt.f64 (/.f64 #s(literal 1 binary64) x))
(fabs.f64 (/.f64 #s(literal 1 binary64) (sqrt.f64 x)))
(pow.f64 x #s(literal 1/2 binary64))
(sqrt.f64 x)
(fabs.f64 (sqrt.f64 x))
#s(approx (sqrt (* (- x 1) x)) (sqrt.f64 (neg.f64 x)))
#s(approx (sqrt (* (- x 1) x)) (fma.f64 (*.f64 x (sqrt.f64 (/.f64 x #s(literal -1 binary64)))) #s(literal 1/2 binary64) (sqrt.f64 (neg.f64 x))))
#s(approx (sqrt (* (- x 1) x)) (fma.f64 (fma.f64 (sqrt.f64 (/.f64 x #s(literal -1 binary64))) #s(literal 1/2 binary64) (/.f64 (*.f64 #s(literal -1/8 binary64) (*.f64 (sqrt.f64 x) x)) (*.f64 (*.f64 (sqrt.f64 #s(literal -1 binary64)) (sqrt.f64 #s(literal -1 binary64))) (sqrt.f64 #s(literal -1 binary64))))) x (sqrt.f64 (neg.f64 x))))
#s(approx (sqrt (* (- x 1) x)) (fma.f64 x (fma.f64 (fma.f64 (/.f64 (sqrt.f64 x) (*.f64 (*.f64 (sqrt.f64 #s(literal -1 binary64)) (sqrt.f64 #s(literal -1 binary64))) (sqrt.f64 #s(literal -1 binary64)))) #s(literal -1/8 binary64) (*.f64 (/.f64 (*.f64 (sqrt.f64 x) x) (pow.f64 #s(literal -1 binary64) #s(literal 5/2 binary64))) #s(literal 1/16 binary64))) x (*.f64 (sqrt.f64 (/.f64 x #s(literal -1 binary64))) #s(literal 1/2 binary64))) (sqrt.f64 (neg.f64 x))))
#s(approx (sqrt (* -1 x)) (sqrt.f64 (neg.f64 x)))
#s(approx (* -1 x) (neg.f64 x))
#s(approx x x)
#s(approx (sqrt (* (- x 1) x)) (fma.f64 (/.f64 (*.f64 x x) (sqrt.f64 (neg.f64 x))) #s(literal 1/2 binary64) (sqrt.f64 (neg.f64 x))))
#s(approx (sqrt (* (- x 1) x)) (fma.f64 (fma.f64 (/.f64 (*.f64 x x) (*.f64 (*.f64 (sqrt.f64 (neg.f64 x)) (sqrt.f64 (neg.f64 x))) (sqrt.f64 (neg.f64 x)))) #s(literal -1/8 binary64) (/.f64 #s(literal 1/2 binary64) (sqrt.f64 (neg.f64 x)))) (*.f64 x x) (sqrt.f64 (neg.f64 x))))
#s(approx (sqrt (* (- x 1) x)) (fma.f64 (fma.f64 (-.f64 (/.f64 (*.f64 #s(literal 1/16 binary64) (*.f64 x x)) (pow.f64 (neg.f64 x) #s(literal 5/2 binary64))) (/.f64 #s(literal 1/8 binary64) (*.f64 (*.f64 (sqrt.f64 (neg.f64 x)) (sqrt.f64 (neg.f64 x))) (sqrt.f64 (neg.f64 x))))) (*.f64 x x) (/.f64 #s(literal 1/2 binary64) (sqrt.f64 (neg.f64 x)))) (*.f64 x x) (sqrt.f64 (neg.f64 x))))
#s(approx (* (- x 1) x) (*.f64 (-.f64 x #s(literal 1 binary64)) x))
#s(approx (- x 1) #s(literal -1 binary64))
#s(approx (- x 1) (-.f64 x #s(literal 1 binary64)))
#s(approx (sqrt (- x 1)) (sqrt.f64 #s(literal -1 binary64)))
#s(approx (sqrt (- x 1)) (fma.f64 (/.f64 x (sqrt.f64 #s(literal -1 binary64))) #s(literal 1/2 binary64) (sqrt.f64 #s(literal -1 binary64))))
#s(approx (sqrt (- x 1)) (fma.f64 (fma.f64 (/.f64 x (*.f64 (*.f64 (sqrt.f64 #s(literal -1 binary64)) (sqrt.f64 #s(literal -1 binary64))) (sqrt.f64 #s(literal -1 binary64)))) #s(literal -1/8 binary64) (/.f64 #s(literal 1/2 binary64) (sqrt.f64 #s(literal -1 binary64)))) x (sqrt.f64 #s(literal -1 binary64))))
#s(approx (sqrt (- x 1)) (fma.f64 (fma.f64 (-.f64 (*.f64 (/.f64 x (pow.f64 #s(literal -1 binary64) #s(literal 5/2 binary64))) #s(literal 1/16 binary64)) (/.f64 #s(literal 1/8 binary64) (*.f64 (*.f64 (sqrt.f64 #s(literal -1 binary64)) (sqrt.f64 #s(literal -1 binary64))) (sqrt.f64 #s(literal -1 binary64))))) x (/.f64 #s(literal 1/2 binary64) (sqrt.f64 #s(literal -1 binary64)))) x (sqrt.f64 #s(literal -1 binary64))))
#s(approx (* (/ 1 (sqrt x)) x) (/.f64 x (sqrt.f64 x)))
#s(approx (/ 1 (sqrt x)) (/.f64 #s(literal 1 binary64) (sqrt.f64 x)))
#s(approx (sqrt x) (sqrt.f64 x))
#s(approx (sqrt (* (- x 1) x)) (*.f64 (*.f64 (/.f64 #s(literal 1 binary64) (sqrt.f64 x)) (/.f64 #s(literal 1 binary64) (sqrt.f64 x))) (*.f64 x x)))
#s(approx (sqrt (* (- x 1) x)) (*.f64 (-.f64 (*.f64 (/.f64 #s(literal 1 binary64) (sqrt.f64 x)) (/.f64 #s(literal 1 binary64) (sqrt.f64 x))) (/.f64 #s(literal 1/2 binary64) (*.f64 x x))) (*.f64 x x)))
#s(approx (sqrt (* (- x 1) x)) (*.f64 (fma.f64 (/.f64 #s(literal 1 binary64) (sqrt.f64 x)) (/.f64 #s(literal 1 binary64) (sqrt.f64 x)) (neg.f64 (/.f64 (+.f64 (/.f64 #s(literal 1/8 binary64) (*.f64 (*.f64 (/.f64 #s(literal 1 binary64) (sqrt.f64 x)) (/.f64 #s(literal 1 binary64) (sqrt.f64 x))) (*.f64 x x))) #s(literal 1/2 binary64)) (*.f64 x x)))) (*.f64 x x)))
#s(approx (sqrt (* (- x 1) x)) (*.f64 (-.f64 (fma.f64 (/.f64 #s(literal 1 binary64) (sqrt.f64 x)) (/.f64 #s(literal 1 binary64) (sqrt.f64 x)) (neg.f64 (/.f64 (+.f64 (/.f64 #s(literal 1/16 binary64) (*.f64 (pow.f64 (/.f64 #s(literal 1 binary64) x) #s(literal 2 binary64)) (*.f64 x x))) (/.f64 #s(literal 1/8 binary64) (*.f64 (/.f64 #s(literal 1 binary64) (sqrt.f64 x)) (/.f64 #s(literal 1 binary64) (sqrt.f64 x))))) (*.f64 (*.f64 x x) (*.f64 x x))))) (/.f64 #s(literal 1/2 binary64) (*.f64 x x))) (*.f64 x x)))
#s(approx (sqrt (* -1 x)) (*.f64 (sqrt.f64 (/.f64 #s(literal -1 binary64) x)) x))
#s(approx (sqrt (* (- x 1) x)) (*.f64 (-.f64 #s(literal 1 binary64) (/.f64 #s(literal 1/2 binary64) x)) x))
#s(approx (sqrt (* (- x 1) x)) (*.f64 (+.f64 (neg.f64 (/.f64 (+.f64 (/.f64 #s(literal 1/8 binary64) x) #s(literal 1/2 binary64)) x)) #s(literal 1 binary64)) x))
#s(approx (sqrt (* (- x 1) x)) (*.f64 (-.f64 (+.f64 (neg.f64 (/.f64 (+.f64 (/.f64 #s(literal 1/16 binary64) x) #s(literal 1/8 binary64)) (*.f64 x x))) #s(literal 1 binary64)) (/.f64 #s(literal 1/2 binary64) x)) x))
#s(approx (* (- x 1) x) (*.f64 x x))
#s(approx (* (- x 1) x) (*.f64 (-.f64 #s(literal 1 binary64) (/.f64 #s(literal 1 binary64) x)) (*.f64 x x)))
#s(approx (- x 1) (-.f64 x #s(literal 1 binary64)))
#s(approx (sqrt (- x 1)) (/.f64 x (sqrt.f64 x)))
#s(approx (sqrt (- x 1)) (*.f64 (-.f64 (/.f64 #s(literal 1 binary64) (sqrt.f64 x)) (/.f64 #s(literal 1/2 binary64) (*.f64 (/.f64 #s(literal 1 binary64) (sqrt.f64 x)) (*.f64 x x)))) x))
#s(approx (sqrt (- x 1)) (*.f64 (+.f64 (neg.f64 (/.f64 (+.f64 (/.f64 #s(literal 1/8 binary64) (*.f64 (pow.f64 (/.f64 #s(literal 1 binary64) x) #s(literal 3/2 binary64)) (*.f64 x x))) (/.f64 #s(literal 1/2 binary64) (/.f64 #s(literal 1 binary64) (sqrt.f64 x)))) (*.f64 x x))) (/.f64 #s(literal 1 binary64) (sqrt.f64 x))) x))
#s(approx (sqrt (- x 1)) (*.f64 (-.f64 (+.f64 (neg.f64 (/.f64 (+.f64 (/.f64 #s(literal 1/8 binary64) (pow.f64 (/.f64 #s(literal 1 binary64) x) #s(literal 3/2 binary64))) (/.f64 #s(literal 1/16 binary64) (*.f64 (pow.f64 (/.f64 #s(literal 1 binary64) x) #s(literal 5/2 binary64)) (*.f64 x x)))) (*.f64 (*.f64 x x) (*.f64 x x)))) (/.f64 #s(literal 1 binary64) (sqrt.f64 x))) (/.f64 #s(literal 1/2 binary64) (*.f64 (/.f64 #s(literal 1 binary64) (sqrt.f64 x)) (*.f64 x x)))) x))
#s(approx (* (/ 1 (sqrt x)) x) (/.f64 #s(literal 1 binary64) (/.f64 #s(literal 1 binary64) (sqrt.f64 x))))
#s(approx (/ 1 (sqrt x)) (/.f64 #s(literal 1 binary64) (/.f64 x (sqrt.f64 x))))
#s(approx (sqrt (* -1 x)) (*.f64 (neg.f64 x) (sqrt.f64 (/.f64 #s(literal -1 binary64) x))))
#s(approx (sqrt (* (- x 1) x)) (*.f64 (neg.f64 x) (-.f64 #s(literal 1 binary64) (/.f64 #s(literal 1/2 binary64) x))))
#s(approx (sqrt (* (- x 1) x)) (*.f64 (neg.f64 x) (+.f64 (neg.f64 (/.f64 (+.f64 (/.f64 #s(literal 1/8 binary64) x) #s(literal 1/2 binary64)) x)) #s(literal 1 binary64))))
#s(approx (sqrt (* (- x 1) x)) (*.f64 (neg.f64 x) (+.f64 (neg.f64 (/.f64 (+.f64 (+.f64 #s(literal 1/2 binary64) (/.f64 #s(literal 1/16 binary64) (*.f64 x x))) (/.f64 #s(literal 1/8 binary64) x)) x)) #s(literal 1 binary64))))
#s(approx (- x 1) (*.f64 (neg.f64 x) (-.f64 (/.f64 #s(literal 1 binary64) x) #s(literal 1 binary64))))
#s(approx (sqrt (- x 1)) (neg.f64 (/.f64 x (sqrt.f64 x))))
#s(approx (sqrt (- x 1)) (*.f64 (neg.f64 x) (-.f64 (/.f64 #s(literal 1 binary64) (sqrt.f64 x)) (/.f64 #s(literal 1/2 binary64) (*.f64 (/.f64 #s(literal 1 binary64) (sqrt.f64 x)) (*.f64 x x))))))
#s(approx (sqrt (- x 1)) (*.f64 (neg.f64 x) (+.f64 (neg.f64 (/.f64 (+.f64 (/.f64 #s(literal 1/8 binary64) (*.f64 (pow.f64 (/.f64 #s(literal 1 binary64) x) #s(literal 3/2 binary64)) (*.f64 x x))) (/.f64 #s(literal 1/2 binary64) (/.f64 #s(literal 1 binary64) (sqrt.f64 x)))) (*.f64 x x))) (/.f64 #s(literal 1 binary64) (sqrt.f64 x)))))
#s(approx (sqrt (- x 1)) (*.f64 (neg.f64 x) (-.f64 (+.f64 (neg.f64 (/.f64 (+.f64 (/.f64 #s(literal 1/8 binary64) (pow.f64 (/.f64 #s(literal 1 binary64) x) #s(literal 3/2 binary64))) (/.f64 #s(literal 1/16 binary64) (*.f64 (pow.f64 (/.f64 #s(literal 1 binary64) x) #s(literal 5/2 binary64)) (*.f64 x x)))) (*.f64 (*.f64 x x) (*.f64 x x)))) (/.f64 #s(literal 1 binary64) (sqrt.f64 x))) (/.f64 #s(literal 1/2 binary64) (*.f64 (/.f64 #s(literal 1 binary64) (sqrt.f64 x)) (*.f64 x x))))))
#s(approx (* (/ 1 (sqrt x)) x) (/.f64 #s(literal -1 binary64) (/.f64 #s(literal 1 binary64) (sqrt.f64 x))))
#s(approx (/ 1 (sqrt x)) (/.f64 #s(literal -1 binary64) (/.f64 x (sqrt.f64 x))))

eval7.0ms (0.6%)

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

Compiled 770 to 368 computations (52.2% saved)

prune3.0ms (0.3%)

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

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New79382
Fresh000
Picked213
Done101
Total82486
Accuracy
100.0%
Counts
86 → 4
Alt Table
Click to see full alt table
StatusAccuracyProgram
53.4%
(sqrt.f64 (*.f64 (-.f64 x #s(literal 1 binary64)) x))
50.1%
(sqrt.f64 #s(approx (* (- x 1) x) (*.f64 x x)))
0.0%
#s(approx (* (sqrt (- x 1)) (sqrt x)) (sqrt.f64 (neg.f64 x)))
98.3%
#s(approx (sqrt (* (- x 1) x)) (*.f64 (-.f64 #s(literal 1 binary64) (/.f64 #s(literal 1/2 binary64) x)) x))
Compiler

Compiled 32 to 32 computations (0% saved)

series6.0ms (0.5%)

Memory
2.8MiB live, 2.8MiB allocated; 0ms collecting garbage
Counts
13 → 33
Calls
Call 1
Inputs
#s(approx (sqrt (* (- x 1) x)) (*.f64 (-.f64 #s(literal 1 binary64) (/.f64 #s(literal 1/2 binary64) x)) x))
(*.f64 (-.f64 #s(literal 1 binary64) (/.f64 #s(literal 1/2 binary64) x)) x)
(-.f64 #s(literal 1 binary64) (/.f64 #s(literal 1/2 binary64) x))
#s(literal 1 binary64)
(/.f64 #s(literal 1/2 binary64) x)
#s(literal 1/2 binary64)
x
#s(approx (* (sqrt (- x 1)) (sqrt x)) (sqrt.f64 (neg.f64 x)))
(sqrt.f64 (neg.f64 x))
(neg.f64 x)
(sqrt.f64 #s(approx (* (- x 1) x) (*.f64 x x)))
#s(approx (* (- x 1) x) (*.f64 x x))
(*.f64 x x)
Outputs
#s(approx (sqrt (* (- x 1) x)) #s(hole binary64 (sqrt (* -1 x))))
#s(approx (sqrt (* (- x 1) x)) #s(hole binary64 (+ (sqrt (* -1 x)) (* 1/2 (/ (pow x 2) (sqrt (* -1 x)))))))
#s(approx (sqrt (* (- x 1) x)) #s(hole binary64 (+ (sqrt (* -1 x)) (* (pow x 2) (+ (* -1/8 (/ (pow x 2) (pow (sqrt (* -1 x)) 3))) (* 1/2 (/ 1 (sqrt (* -1 x)))))))))
#s(approx (sqrt (* (- x 1) x)) #s(hole binary64 (+ (sqrt (* -1 x)) (* (pow x 2) (+ (* (pow x 2) (- (* 1/16 (/ (pow x 2) (pow (sqrt (* -1 x)) 5))) (* 1/8 (/ 1 (pow (sqrt (* -1 x)) 3))))) (* 1/2 (/ 1 (sqrt (* -1 x)))))))))
#s(approx (* (- 1 (/ 1/2 x)) x) #s(hole binary64 -1/2))
#s(approx (* (- 1 (/ 1/2 x)) x) #s(hole binary64 (- x 1/2)))
#s(approx (- 1 (/ 1/2 x)) #s(hole binary64 (/ -1/2 x)))
#s(approx (- 1 (/ 1/2 x)) #s(hole binary64 (/ (- x 1/2) x)))
#s(approx (/ 1/2 x) #s(hole binary64 (/ 1/2 x)))
#s(approx x #s(hole binary64 x))
#s(approx (* (sqrt (- x 1)) (sqrt x)) #s(hole binary64 (* (sqrt -1) (sqrt x))))
#s(approx (* (sqrt (- x 1)) (sqrt x)) #s(hole binary64 (+ (* 1/2 (/ (* x (sqrt x)) (sqrt -1))) (* (sqrt -1) (sqrt x)))))
#s(approx (* (sqrt (- x 1)) (sqrt x)) #s(hole binary64 (+ (* x (+ (* -1/8 (/ (* x (sqrt x)) (pow (sqrt -1) 3))) (* 1/2 (/ (sqrt x) (sqrt -1))))) (* (sqrt -1) (sqrt x)))))
#s(approx (* (sqrt (- x 1)) (sqrt x)) #s(hole binary64 (+ (* x (+ (* 1/2 (/ (sqrt x) (sqrt -1))) (* x (+ (* -1/8 (/ (sqrt x) (pow (sqrt -1) 3))) (* 1/16 (/ (* x (sqrt x)) (pow (sqrt -1) 5))))))) (* (sqrt -1) (sqrt x)))))
#s(approx (neg x) #s(hole binary64 (* -1 x)))
#s(approx (* (- x 1) x) #s(hole binary64 (* x (- x 1))))
#s(approx (* x x) #s(hole binary64 (pow x 2)))
#s(approx (sqrt (* (- x 1) x)) #s(hole binary64 (* x (- 1 (* 1/2 (/ 1 x))))))
#s(approx (sqrt (* (- x 1) x)) #s(hole binary64 (* x (+ 1 (* -1 (/ (+ 1/2 (* 1/8 (/ 1 x))) x))))))
#s(approx (sqrt (* (- x 1) 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 x)) #s(hole binary64 1))
#s(approx (- 1 (/ 1/2 x)) #s(hole binary64 (- 1 (* 1/2 (/ 1 x)))))
#s(approx (* (sqrt (- x 1)) (sqrt x)) #s(hole binary64 (* (pow x 2) (pow (sqrt (/ 1 x)) 2))))
#s(approx (* (sqrt (- x 1)) (sqrt x)) #s(hole binary64 (* (pow x 2) (- (pow (sqrt (/ 1 x)) 2) (* 1/2 (/ 1 (pow x 2)))))))
#s(approx (* (sqrt (- x 1)) (sqrt x)) #s(hole binary64 (* (pow x 2) (+ (* -1 (/ (+ 1/2 (* 1/8 (/ 1 (* (pow x 2) (pow (sqrt (/ 1 x)) 2))))) (pow x 2))) (pow (sqrt (/ 1 x)) 2)))))
#s(approx (* (sqrt (- x 1)) (sqrt x)) #s(hole binary64 (* (pow x 2) (- (+ (* -1 (/ (+ (* 1/8 (/ 1 (pow (sqrt (/ 1 x)) 2))) (* 1/16 (/ 1 (* (pow x 2) (pow (sqrt (/ 1 x)) 4))))) (pow x 4))) (pow (sqrt (/ 1 x)) 2)) (* 1/2 (/ 1 (pow x 2)))))))
#s(approx (sqrt (neg x)) #s(hole binary64 (* x (sqrt (/ -1 x)))))
#s(approx (* (- x 1) x) #s(hole binary64 (* (pow x 2) (- 1 (/ 1 x)))))
#s(approx (sqrt (* (- x 1) x)) #s(hole binary64 (* -1 (* x (- 1 (* 1/2 (/ 1 x)))))))
#s(approx (sqrt (* (- x 1) x)) #s(hole binary64 (* -1 (* x (+ 1 (* -1 (/ (+ 1/2 (* 1/8 (/ 1 x))) x)))))))
#s(approx (sqrt (* (- x 1) x)) #s(hole binary64 (* -1 (* x (+ 1 (* -1 (/ (+ 1/2 (+ (/ 1/16 (pow x 2)) (* 1/8 (/ 1 x)))) x)))))))
#s(approx (* (- 1 (/ 1/2 x)) x) #s(hole binary64 (* -1 (* x (- (* 1/2 (/ 1 x)) 1)))))
#s(approx (sqrt (neg x)) #s(hole binary64 (* -1 (* x (sqrt (/ -1 x))))))
Calls

3 calls:

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

rewrite46.0ms (3.9%)

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

Useful iterations: 0 (0.0ms)

IterNodesCost
0182743
0191624
01182611
Stop Event
iter-limit
iter-limit
node-limit
iter-limit
Counts
46 → 76
Calls
Call 1
Inputs
#s(approx (sqrt (* (- x 1) x)) (*.f64 (-.f64 #s(literal 1 binary64) (/.f64 #s(literal 1/2 binary64) x)) x))
(*.f64 (-.f64 #s(literal 1 binary64) (/.f64 #s(literal 1/2 binary64) x)) x)
(-.f64 #s(literal 1 binary64) (/.f64 #s(literal 1/2 binary64) x))
#s(literal 1 binary64)
(/.f64 #s(literal 1/2 binary64) x)
#s(literal 1/2 binary64)
x
#s(approx (* (sqrt (- x 1)) (sqrt x)) (sqrt.f64 (neg.f64 x)))
(sqrt.f64 (neg.f64 x))
(neg.f64 x)
(sqrt.f64 #s(approx (* (- x 1) x) (*.f64 x x)))
#s(approx (* (- x 1) x) (*.f64 x x))
(*.f64 x x)
#s(approx (sqrt (* (- x 1) x)) #s(hole binary64 (sqrt (* -1 x))))
#s(approx (sqrt (* (- x 1) x)) #s(hole binary64 (+ (sqrt (* -1 x)) (* 1/2 (/ (pow x 2) (sqrt (* -1 x)))))))
#s(approx (sqrt (* (- x 1) x)) #s(hole binary64 (+ (sqrt (* -1 x)) (* (pow x 2) (+ (* -1/8 (/ (pow x 2) (pow (sqrt (* -1 x)) 3))) (* 1/2 (/ 1 (sqrt (* -1 x)))))))))
#s(approx (sqrt (* (- x 1) x)) #s(hole binary64 (+ (sqrt (* -1 x)) (* (pow x 2) (+ (* (pow x 2) (- (* 1/16 (/ (pow x 2) (pow (sqrt (* -1 x)) 5))) (* 1/8 (/ 1 (pow (sqrt (* -1 x)) 3))))) (* 1/2 (/ 1 (sqrt (* -1 x)))))))))
#s(approx (* (- 1 (/ 1/2 x)) x) #s(hole binary64 -1/2))
#s(approx (* (- 1 (/ 1/2 x)) x) #s(hole binary64 (- x 1/2)))
#s(approx (- 1 (/ 1/2 x)) #s(hole binary64 (/ -1/2 x)))
#s(approx (- 1 (/ 1/2 x)) #s(hole binary64 (/ (- x 1/2) x)))
#s(approx (/ 1/2 x) #s(hole binary64 (/ 1/2 x)))
#s(approx x #s(hole binary64 x))
#s(approx (* (sqrt (- x 1)) (sqrt x)) #s(hole binary64 (* (sqrt -1) (sqrt x))))
#s(approx (* (sqrt (- x 1)) (sqrt x)) #s(hole binary64 (+ (* 1/2 (/ (* x (sqrt x)) (sqrt -1))) (* (sqrt -1) (sqrt x)))))
#s(approx (* (sqrt (- x 1)) (sqrt x)) #s(hole binary64 (+ (* x (+ (* -1/8 (/ (* x (sqrt x)) (pow (sqrt -1) 3))) (* 1/2 (/ (sqrt x) (sqrt -1))))) (* (sqrt -1) (sqrt x)))))
#s(approx (* (sqrt (- x 1)) (sqrt x)) #s(hole binary64 (+ (* x (+ (* 1/2 (/ (sqrt x) (sqrt -1))) (* x (+ (* -1/8 (/ (sqrt x) (pow (sqrt -1) 3))) (* 1/16 (/ (* x (sqrt x)) (pow (sqrt -1) 5))))))) (* (sqrt -1) (sqrt x)))))
#s(approx (neg x) #s(hole binary64 (* -1 x)))
#s(approx (* (- x 1) x) #s(hole binary64 (* x (- x 1))))
#s(approx (* x x) #s(hole binary64 (pow x 2)))
#s(approx (sqrt (* (- x 1) x)) #s(hole binary64 (* x (- 1 (* 1/2 (/ 1 x))))))
#s(approx (sqrt (* (- x 1) x)) #s(hole binary64 (* x (+ 1 (* -1 (/ (+ 1/2 (* 1/8 (/ 1 x))) x))))))
#s(approx (sqrt (* (- x 1) 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 x)) #s(hole binary64 1))
#s(approx (- 1 (/ 1/2 x)) #s(hole binary64 (- 1 (* 1/2 (/ 1 x)))))
#s(approx (* (sqrt (- x 1)) (sqrt x)) #s(hole binary64 (* (pow x 2) (pow (sqrt (/ 1 x)) 2))))
#s(approx (* (sqrt (- x 1)) (sqrt x)) #s(hole binary64 (* (pow x 2) (- (pow (sqrt (/ 1 x)) 2) (* 1/2 (/ 1 (pow x 2)))))))
#s(approx (* (sqrt (- x 1)) (sqrt x)) #s(hole binary64 (* (pow x 2) (+ (* -1 (/ (+ 1/2 (* 1/8 (/ 1 (* (pow x 2) (pow (sqrt (/ 1 x)) 2))))) (pow x 2))) (pow (sqrt (/ 1 x)) 2)))))
#s(approx (* (sqrt (- x 1)) (sqrt x)) #s(hole binary64 (* (pow x 2) (- (+ (* -1 (/ (+ (* 1/8 (/ 1 (pow (sqrt (/ 1 x)) 2))) (* 1/16 (/ 1 (* (pow x 2) (pow (sqrt (/ 1 x)) 4))))) (pow x 4))) (pow (sqrt (/ 1 x)) 2)) (* 1/2 (/ 1 (pow x 2)))))))
#s(approx (sqrt (neg x)) #s(hole binary64 (* x (sqrt (/ -1 x)))))
#s(approx (* (- x 1) x) #s(hole binary64 (* (pow x 2) (- 1 (/ 1 x)))))
#s(approx (sqrt (* (- x 1) x)) #s(hole binary64 (* -1 (* x (- 1 (* 1/2 (/ 1 x)))))))
#s(approx (sqrt (* (- x 1) x)) #s(hole binary64 (* -1 (* x (+ 1 (* -1 (/ (+ 1/2 (* 1/8 (/ 1 x))) x)))))))
#s(approx (sqrt (* (- x 1) x)) #s(hole binary64 (* -1 (* x (+ 1 (* -1 (/ (+ 1/2 (+ (/ 1/16 (pow x 2)) (* 1/8 (/ 1 x)))) x)))))))
#s(approx (* (- 1 (/ 1/2 x)) x) #s(hole binary64 (* -1 (* x (- (* 1/2 (/ 1 x)) 1)))))
#s(approx (sqrt (neg x)) #s(hole binary64 (* -1 (* x (sqrt (/ -1 x))))))
Outputs
#s(approx (* (sqrt (- x 1)) (sqrt x)) (-.f64 x #s(literal 1/2 binary64)))
(*.f64 (-.f64 #s(literal 1 binary64) (/.f64 #s(literal 1/2 binary64) x)) x)
(*.f64 x (-.f64 #s(literal 1 binary64) (/.f64 #s(literal 1/2 binary64) x)))
(/.f64 (-.f64 (*.f64 x x) #s(literal 1/4 binary64)) (+.f64 x #s(literal 1/2 binary64)))
(/.f64 (-.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal 1/8 binary64)) (fma.f64 x x (+.f64 #s(literal 1/4 binary64) (*.f64 x #s(literal 1/2 binary64)))))
(neg.f64 (-.f64 #s(literal 1/2 binary64) x))
(-.f64 x #s(literal 1/2 binary64))
(+.f64 x #s(literal -1/2 binary64))
(*.f64 (-.f64 #s(literal 1 binary64) (/.f64 (/.f64 #s(literal 1/2 binary64) x) #s(literal 1 binary64))) #s(literal 1 binary64))
(/.f64 (-.f64 (*.f64 #s(literal 1 binary64) x) #s(literal 1/2 binary64)) x)
(/.f64 (-.f64 #s(literal 1 binary64) (*.f64 (/.f64 #s(literal 1/2 binary64) x) (/.f64 #s(literal 1/2 binary64) x))) (+.f64 #s(literal 1 binary64) (/.f64 #s(literal 1/2 binary64) x)))
(/.f64 (-.f64 #s(literal 1 binary64) (pow.f64 (/.f64 #s(literal 1/2 binary64) x) #s(literal 3 binary64))) (+.f64 #s(literal 1 binary64) (fma.f64 (/.f64 #s(literal 1/2 binary64) x) (/.f64 #s(literal 1/2 binary64) x) (*.f64 #s(literal 1 binary64) (/.f64 #s(literal 1/2 binary64) x)))))
(neg.f64 (-.f64 (/.f64 #s(literal 1/2 binary64) x) #s(literal 1 binary64)))
(-.f64 #s(literal 1 binary64) (/.f64 #s(literal 1/2 binary64) x))
(+.f64 #s(literal 1 binary64) (neg.f64 (/.f64 #s(literal 1/2 binary64) x)))
(+.f64 #s(literal 1 binary64) (/.f64 #s(literal -1/2 binary64) x))
#s(literal 1 binary64)
(*.f64 (/.f64 #s(literal 1 binary64) x) #s(literal 1/2 binary64))
(*.f64 #s(literal 1/2 binary64) (/.f64 #s(literal 1 binary64) x))
(/.f64 #s(literal -1/2 binary64) (neg.f64 x))
(/.f64 #s(literal 1/2 binary64) x)
(/.f64 #s(literal 1 binary64) (/.f64 x #s(literal 1/2 binary64)))
#s(literal 1/2 binary64)
x
#s(approx (* (sqrt (- x 1)) (sqrt x)) (sqrt.f64 (neg.f64 x)))
(*.f64 (sqrt.f64 #s(literal -1 binary64)) (sqrt.f64 x))
(*.f64 (sqrt.f64 x) (sqrt.f64 #s(literal -1 binary64)))
(pow.f64 (neg.f64 x) #s(literal 1/2 binary64))
(sqrt.f64 (neg.f64 x))
(fabs.f64 (sqrt.f64 (neg.f64 x)))
(*.f64 #s(literal -1 binary64) x)
(*.f64 x #s(literal -1 binary64))
(neg.f64 x)
(pow.f64 #s(approx (* (- x 1) x) (*.f64 x x)) #s(literal 1/2 binary64))
(sqrt.f64 #s(approx (* (- x 1) x) (*.f64 x x)))
(fabs.f64 (sqrt.f64 #s(approx (* (- x 1) x) (*.f64 x x))))
#s(approx (* (- x 1) x) (*.f64 x x))
(*.f64 (pow.f64 x #s(literal 1 binary64)) (pow.f64 x #s(literal 1 binary64)))
(*.f64 (fabs.f64 x) (fabs.f64 x))
(*.f64 (neg.f64 x) (neg.f64 x))
(*.f64 x x)
(pow.f64 x #s(literal 2 binary64))
(exp.f64 (*.f64 (log.f64 x) #s(literal 2 binary64)))
#s(approx (* (sqrt (- x 1)) (sqrt x)) (sqrt.f64 (neg.f64 x)))
#s(approx (* (sqrt (- x 1)) (sqrt x)) (fma.f64 (/.f64 (*.f64 x x) (sqrt.f64 (neg.f64 x))) #s(literal 1/2 binary64) (sqrt.f64 (neg.f64 x))))
#s(approx (* (sqrt (- x 1)) (sqrt x)) (fma.f64 (fma.f64 (/.f64 (*.f64 x x) (*.f64 (*.f64 (sqrt.f64 (neg.f64 x)) (sqrt.f64 (neg.f64 x))) (sqrt.f64 (neg.f64 x)))) #s(literal -1/8 binary64) (/.f64 #s(literal 1/2 binary64) (sqrt.f64 (neg.f64 x)))) (*.f64 x x) (sqrt.f64 (neg.f64 x))))
#s(approx (* (sqrt (- x 1)) (sqrt x)) (fma.f64 (fma.f64 (-.f64 (/.f64 (*.f64 #s(literal 1/16 binary64) (*.f64 x x)) (pow.f64 (neg.f64 x) #s(literal 5/2 binary64))) (/.f64 #s(literal 1/8 binary64) (*.f64 (*.f64 (sqrt.f64 (neg.f64 x)) (sqrt.f64 (neg.f64 x))) (sqrt.f64 (neg.f64 x))))) (*.f64 x x) (/.f64 #s(literal 1/2 binary64) (sqrt.f64 (neg.f64 x)))) (*.f64 x x) (sqrt.f64 (neg.f64 x))))
#s(approx (* (- 1 (/ 1/2 x)) x) #s(literal -1/2 binary64))
#s(approx (* (- 1 (/ 1/2 x)) x) (-.f64 x #s(literal 1/2 binary64)))
#s(approx (- 1 (/ 1/2 x)) (/.f64 #s(literal -1/2 binary64) x))
#s(approx (- 1 (/ 1/2 x)) (/.f64 (-.f64 x #s(literal 1/2 binary64)) x))
#s(approx (/ 1/2 x) (/.f64 #s(literal 1/2 binary64) x))
#s(approx x x)
#s(approx (* (sqrt (- x 1)) (sqrt x)) (sqrt.f64 (neg.f64 x)))
#s(approx (* (sqrt (- x 1)) (sqrt x)) (fma.f64 (*.f64 x (sqrt.f64 (/.f64 x #s(literal -1 binary64)))) #s(literal 1/2 binary64) (sqrt.f64 (neg.f64 x))))
#s(approx (* (sqrt (- x 1)) (sqrt x)) (fma.f64 (fma.f64 (sqrt.f64 (/.f64 x #s(literal -1 binary64))) #s(literal 1/2 binary64) (/.f64 (*.f64 #s(literal -1/8 binary64) (*.f64 (sqrt.f64 x) x)) (*.f64 (*.f64 (sqrt.f64 #s(literal -1 binary64)) (sqrt.f64 #s(literal -1 binary64))) (sqrt.f64 #s(literal -1 binary64))))) x (sqrt.f64 (neg.f64 x))))
#s(approx (* (sqrt (- x 1)) (sqrt x)) (fma.f64 x (fma.f64 (fma.f64 (/.f64 (sqrt.f64 x) (*.f64 (*.f64 (sqrt.f64 #s(literal -1 binary64)) (sqrt.f64 #s(literal -1 binary64))) (sqrt.f64 #s(literal -1 binary64)))) #s(literal -1/8 binary64) (*.f64 (/.f64 (*.f64 (sqrt.f64 x) x) (pow.f64 #s(literal -1 binary64) #s(literal 5/2 binary64))) #s(literal 1/16 binary64))) x (*.f64 (sqrt.f64 (/.f64 x #s(literal -1 binary64))) #s(literal 1/2 binary64))) (sqrt.f64 (neg.f64 x))))
#s(approx (neg x) (neg.f64 x))
#s(approx (* (- x 1) x) (*.f64 (-.f64 x #s(literal 1 binary64)) x))
#s(approx (* x x) (*.f64 x x))
#s(approx (* (sqrt (- x 1)) (sqrt x)) (-.f64 x #s(literal 1/2 binary64)))
#s(approx (* (sqrt (- x 1)) (sqrt x)) (*.f64 (+.f64 (neg.f64 (/.f64 (+.f64 (/.f64 #s(literal 1/8 binary64) x) #s(literal 1/2 binary64)) x)) #s(literal 1 binary64)) x))
#s(approx (* (sqrt (- x 1)) (sqrt x)) (*.f64 (-.f64 (+.f64 (neg.f64 (/.f64 (+.f64 (/.f64 #s(literal 1/16 binary64) x) #s(literal 1/8 binary64)) (*.f64 x x))) #s(literal 1 binary64)) (/.f64 #s(literal 1/2 binary64) x)) x))
#s(approx (- 1 (/ 1/2 x)) #s(literal 1 binary64))
#s(approx (- 1 (/ 1/2 x)) (-.f64 #s(literal 1 binary64) (/.f64 #s(literal 1/2 binary64) x)))
#s(approx (* (sqrt (- x 1)) (sqrt x)) (*.f64 (*.f64 (/.f64 #s(literal 1 binary64) (sqrt.f64 x)) (/.f64 #s(literal 1 binary64) (sqrt.f64 x))) (*.f64 x x)))
#s(approx (* (sqrt (- x 1)) (sqrt x)) (*.f64 (-.f64 (*.f64 (/.f64 #s(literal 1 binary64) (sqrt.f64 x)) (/.f64 #s(literal 1 binary64) (sqrt.f64 x))) (/.f64 #s(literal 1/2 binary64) (*.f64 x x))) (*.f64 x x)))
#s(approx (* (sqrt (- x 1)) (sqrt x)) (*.f64 (fma.f64 (/.f64 #s(literal 1 binary64) (sqrt.f64 x)) (/.f64 #s(literal 1 binary64) (sqrt.f64 x)) (neg.f64 (/.f64 (+.f64 (/.f64 #s(literal 1/8 binary64) (*.f64 (*.f64 (/.f64 #s(literal 1 binary64) (sqrt.f64 x)) (/.f64 #s(literal 1 binary64) (sqrt.f64 x))) (*.f64 x x))) #s(literal 1/2 binary64)) (*.f64 x x)))) (*.f64 x x)))
#s(approx (* (sqrt (- x 1)) (sqrt x)) (*.f64 (-.f64 (fma.f64 (/.f64 #s(literal 1 binary64) (sqrt.f64 x)) (/.f64 #s(literal 1 binary64) (sqrt.f64 x)) (neg.f64 (/.f64 (+.f64 (/.f64 #s(literal 1/16 binary64) (*.f64 (pow.f64 (/.f64 #s(literal 1 binary64) x) #s(literal 2 binary64)) (*.f64 x x))) (/.f64 #s(literal 1/8 binary64) (*.f64 (/.f64 #s(literal 1 binary64) (sqrt.f64 x)) (/.f64 #s(literal 1 binary64) (sqrt.f64 x))))) (*.f64 (*.f64 x x) (*.f64 x x))))) (/.f64 #s(literal 1/2 binary64) (*.f64 x x))) (*.f64 x x)))
#s(approx (sqrt (neg x)) (*.f64 (sqrt.f64 (/.f64 #s(literal -1 binary64) x)) x))
#s(approx (* (- x 1) x) (*.f64 (-.f64 #s(literal 1 binary64) (/.f64 #s(literal 1 binary64) x)) (*.f64 x x)))
#s(approx (* (sqrt (- x 1)) (sqrt x)) (neg.f64 (-.f64 x #s(literal 1/2 binary64))))
#s(approx (* (sqrt (- x 1)) (sqrt x)) (*.f64 (neg.f64 x) (+.f64 (neg.f64 (/.f64 (+.f64 (/.f64 #s(literal 1/8 binary64) x) #s(literal 1/2 binary64)) x)) #s(literal 1 binary64))))
#s(approx (* (sqrt (- x 1)) (sqrt x)) (*.f64 (neg.f64 x) (+.f64 (neg.f64 (/.f64 (+.f64 (+.f64 #s(literal 1/2 binary64) (/.f64 #s(literal 1/16 binary64) (*.f64 x x))) (/.f64 #s(literal 1/8 binary64) x)) x)) #s(literal 1 binary64))))
#s(approx (* (- 1 (/ 1/2 x)) x) (*.f64 (neg.f64 x) (-.f64 (/.f64 #s(literal 1/2 binary64) x) #s(literal 1 binary64))))
#s(approx (sqrt (neg x)) (*.f64 (neg.f64 x) (sqrt.f64 (/.f64 #s(literal -1 binary64) x))))

eval5.0ms (0.5%)

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

Compiled 540 to 296 computations (45.2% saved)

prune2.0ms (0.2%)

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

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New61263
Fresh000
Picked303
Done011
Total64367
Accuracy
100.0%
Counts
67 → 3
Alt Table
Click to see full alt table
StatusAccuracyProgram
53.4%
(sqrt.f64 (*.f64 (-.f64 x #s(literal 1 binary64)) x))
98.3%
#s(approx (* (sqrt (- x 1)) (sqrt x)) (-.f64 x #s(literal 1/2 binary64)))
1.1%
#s(approx (sqrt (* (- x 1) x)) #s(approx (* (- 1 (/ 1/2 x)) x) #s(literal -1/2 binary64)))
Compiler

Compiled 26 to 26 computations (0% saved)

series2.0ms (0.2%)

Memory
1.3MiB live, 1.3MiB allocated; 0ms collecting garbage
Counts
7 → 23
Calls
Call 1
Inputs
#s(approx (sqrt (* (- x 1) x)) #s(approx (* (- 1 (/ 1/2 x)) x) #s(literal -1/2 binary64)))
#s(approx (* (- 1 (/ 1/2 x)) x) #s(literal -1/2 binary64))
#s(literal -1/2 binary64)
#s(approx (* (sqrt (- x 1)) (sqrt x)) (-.f64 x #s(literal 1/2 binary64)))
(-.f64 x #s(literal 1/2 binary64))
x
#s(literal 1/2 binary64)
Outputs
#s(approx (sqrt (* (- x 1) x)) #s(hole binary64 (sqrt (* -1 x))))
#s(approx (sqrt (* (- x 1) x)) #s(hole binary64 (+ (sqrt (* -1 x)) (* 1/2 (/ (pow x 2) (sqrt (* -1 x)))))))
#s(approx (sqrt (* (- x 1) x)) #s(hole binary64 (+ (sqrt (* -1 x)) (* (pow x 2) (+ (* -1/8 (/ (pow x 2) (pow (sqrt (* -1 x)) 3))) (* 1/2 (/ 1 (sqrt (* -1 x)))))))))
#s(approx (sqrt (* (- x 1) x)) #s(hole binary64 (+ (sqrt (* -1 x)) (* (pow x 2) (+ (* (pow x 2) (- (* 1/16 (/ (pow x 2) (pow (sqrt (* -1 x)) 5))) (* 1/8 (/ 1 (pow (sqrt (* -1 x)) 3))))) (* 1/2 (/ 1 (sqrt (* -1 x)))))))))
#s(approx (* (- 1 (/ 1/2 x)) x) #s(hole binary64 -1/2))
#s(approx (* (- 1 (/ 1/2 x)) x) #s(hole binary64 (- x 1/2)))
#s(approx (* (sqrt (- x 1)) (sqrt x)) #s(hole binary64 (* (sqrt -1) (sqrt x))))
#s(approx (* (sqrt (- x 1)) (sqrt x)) #s(hole binary64 (+ (* 1/2 (/ (* x (sqrt x)) (sqrt -1))) (* (sqrt -1) (sqrt x)))))
#s(approx (* (sqrt (- x 1)) (sqrt x)) #s(hole binary64 (+ (* x (+ (* -1/8 (/ (* x (sqrt x)) (pow (sqrt -1) 3))) (* 1/2 (/ (sqrt x) (sqrt -1))))) (* (sqrt -1) (sqrt x)))))
#s(approx (* (sqrt (- x 1)) (sqrt x)) #s(hole binary64 (+ (* x (+ (* 1/2 (/ (sqrt x) (sqrt -1))) (* x (+ (* -1/8 (/ (sqrt x) (pow (sqrt -1) 3))) (* 1/16 (/ (* x (sqrt x)) (pow (sqrt -1) 5))))))) (* (sqrt -1) (sqrt x)))))
#s(approx x #s(hole binary64 x))
#s(approx (sqrt (* (- x 1) x)) #s(hole binary64 (* x (- 1 (* 1/2 (/ 1 x))))))
#s(approx (sqrt (* (- x 1) x)) #s(hole binary64 (* x (+ 1 (* -1 (/ (+ 1/2 (* 1/8 (/ 1 x))) x))))))
#s(approx (sqrt (* (- x 1) 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)) (sqrt x)) #s(hole binary64 (* (pow x 2) (pow (sqrt (/ 1 x)) 2))))
#s(approx (* (sqrt (- x 1)) (sqrt x)) #s(hole binary64 (* (pow x 2) (- (pow (sqrt (/ 1 x)) 2) (* 1/2 (/ 1 (pow x 2)))))))
#s(approx (* (sqrt (- x 1)) (sqrt x)) #s(hole binary64 (* (pow x 2) (+ (* -1 (/ (+ 1/2 (* 1/8 (/ 1 (* (pow x 2) (pow (sqrt (/ 1 x)) 2))))) (pow x 2))) (pow (sqrt (/ 1 x)) 2)))))
#s(approx (* (sqrt (- x 1)) (sqrt x)) #s(hole binary64 (* (pow x 2) (- (+ (* -1 (/ (+ (* 1/8 (/ 1 (pow (sqrt (/ 1 x)) 2))) (* 1/16 (/ 1 (* (pow x 2) (pow (sqrt (/ 1 x)) 4))))) (pow x 4))) (pow (sqrt (/ 1 x)) 2)) (* 1/2 (/ 1 (pow x 2)))))))
#s(approx (sqrt (* (- x 1) x)) #s(hole binary64 (* -1 x)))
#s(approx (sqrt (* (- x 1) x)) #s(hole binary64 (* -1 (* x (- 1 (* 1/2 (/ 1 x)))))))
#s(approx (sqrt (* (- x 1) x)) #s(hole binary64 (* -1 (* x (+ 1 (* -1 (/ (+ 1/2 (* 1/8 (/ 1 x))) x)))))))
#s(approx (sqrt (* (- x 1) x)) #s(hole binary64 (* -1 (* x (+ 1 (* -1 (/ (+ 1/2 (+ (/ 1/16 (pow x 2)) (* 1/8 (/ 1 x)))) x)))))))
#s(approx (* (- 1 (/ 1/2 x)) x) #s(hole binary64 (* -1 (* x (- (* 1/2 (/ 1 x)) 1)))))
Calls

3 calls:

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

rewrite47.0ms (4%)

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

Useful iterations: 0 (0.0ms)

IterNodesCost
0153617
0154501
01092488
Stop Event
iter-limit
iter-limit
node-limit
iter-limit
Counts
30 → 36
Calls
Call 1
Inputs
#s(approx (sqrt (* (- x 1) x)) #s(approx (* (- 1 (/ 1/2 x)) x) #s(literal -1/2 binary64)))
#s(approx (* (- 1 (/ 1/2 x)) x) #s(literal -1/2 binary64))
#s(literal -1/2 binary64)
#s(approx (* (sqrt (- x 1)) (sqrt 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) x)) #s(hole binary64 (sqrt (* -1 x))))
#s(approx (sqrt (* (- x 1) x)) #s(hole binary64 (+ (sqrt (* -1 x)) (* 1/2 (/ (pow x 2) (sqrt (* -1 x)))))))
#s(approx (sqrt (* (- x 1) x)) #s(hole binary64 (+ (sqrt (* -1 x)) (* (pow x 2) (+ (* -1/8 (/ (pow x 2) (pow (sqrt (* -1 x)) 3))) (* 1/2 (/ 1 (sqrt (* -1 x)))))))))
#s(approx (sqrt (* (- x 1) x)) #s(hole binary64 (+ (sqrt (* -1 x)) (* (pow x 2) (+ (* (pow x 2) (- (* 1/16 (/ (pow x 2) (pow (sqrt (* -1 x)) 5))) (* 1/8 (/ 1 (pow (sqrt (* -1 x)) 3))))) (* 1/2 (/ 1 (sqrt (* -1 x)))))))))
#s(approx (* (- 1 (/ 1/2 x)) x) #s(hole binary64 -1/2))
#s(approx (* (- 1 (/ 1/2 x)) x) #s(hole binary64 (- x 1/2)))
#s(approx (* (sqrt (- x 1)) (sqrt x)) #s(hole binary64 (* (sqrt -1) (sqrt x))))
#s(approx (* (sqrt (- x 1)) (sqrt x)) #s(hole binary64 (+ (* 1/2 (/ (* x (sqrt x)) (sqrt -1))) (* (sqrt -1) (sqrt x)))))
#s(approx (* (sqrt (- x 1)) (sqrt x)) #s(hole binary64 (+ (* x (+ (* -1/8 (/ (* x (sqrt x)) (pow (sqrt -1) 3))) (* 1/2 (/ (sqrt x) (sqrt -1))))) (* (sqrt -1) (sqrt x)))))
#s(approx (* (sqrt (- x 1)) (sqrt x)) #s(hole binary64 (+ (* x (+ (* 1/2 (/ (sqrt x) (sqrt -1))) (* x (+ (* -1/8 (/ (sqrt x) (pow (sqrt -1) 3))) (* 1/16 (/ (* x (sqrt x)) (pow (sqrt -1) 5))))))) (* (sqrt -1) (sqrt x)))))
#s(approx x #s(hole binary64 x))
#s(approx (sqrt (* (- x 1) x)) #s(hole binary64 (* x (- 1 (* 1/2 (/ 1 x))))))
#s(approx (sqrt (* (- x 1) x)) #s(hole binary64 (* x (+ 1 (* -1 (/ (+ 1/2 (* 1/8 (/ 1 x))) x))))))
#s(approx (sqrt (* (- x 1) 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)) (sqrt x)) #s(hole binary64 (* (pow x 2) (pow (sqrt (/ 1 x)) 2))))
#s(approx (* (sqrt (- x 1)) (sqrt x)) #s(hole binary64 (* (pow x 2) (- (pow (sqrt (/ 1 x)) 2) (* 1/2 (/ 1 (pow x 2)))))))
#s(approx (* (sqrt (- x 1)) (sqrt x)) #s(hole binary64 (* (pow x 2) (+ (* -1 (/ (+ 1/2 (* 1/8 (/ 1 (* (pow x 2) (pow (sqrt (/ 1 x)) 2))))) (pow x 2))) (pow (sqrt (/ 1 x)) 2)))))
#s(approx (* (sqrt (- x 1)) (sqrt x)) #s(hole binary64 (* (pow x 2) (- (+ (* -1 (/ (+ (* 1/8 (/ 1 (pow (sqrt (/ 1 x)) 2))) (* 1/16 (/ 1 (* (pow x 2) (pow (sqrt (/ 1 x)) 4))))) (pow x 4))) (pow (sqrt (/ 1 x)) 2)) (* 1/2 (/ 1 (pow x 2)))))))
#s(approx (sqrt (* (- x 1) x)) #s(hole binary64 (* -1 x)))
#s(approx (sqrt (* (- x 1) x)) #s(hole binary64 (* -1 (* x (- 1 (* 1/2 (/ 1 x)))))))
#s(approx (sqrt (* (- x 1) x)) #s(hole binary64 (* -1 (* x (+ 1 (* -1 (/ (+ 1/2 (* 1/8 (/ 1 x))) x)))))))
#s(approx (sqrt (* (- x 1) x)) #s(hole binary64 (* -1 (* x (+ 1 (* -1 (/ (+ 1/2 (+ (/ 1/16 (pow x 2)) (* 1/8 (/ 1 x)))) x)))))))
#s(approx (* (- 1 (/ 1/2 x)) x) #s(hole binary64 (* -1 (* x (- (* 1/2 (/ 1 x)) 1)))))
Outputs
#s(approx (* (sqrt (- x 1)) (sqrt x)) #s(approx (* (- 1 (/ 1/2 x)) x) #s(literal -1/2 binary64)))
#s(approx (* (- 1 (/ 1/2 x)) x) #s(literal -1/2 binary64))
#s(literal -1/2 binary64)
#s(approx (* (sqrt (- x 1)) (sqrt x)) (-.f64 x #s(literal 1/2 binary64)))
(*.f64 (-.f64 #s(literal 1 binary64) (/.f64 #s(literal 1/2 binary64) x)) x)
(*.f64 x (-.f64 #s(literal 1 binary64) (/.f64 #s(literal 1/2 binary64) x)))
(/.f64 (-.f64 (*.f64 x x) #s(literal 1/4 binary64)) (+.f64 x #s(literal 1/2 binary64)))
(/.f64 (-.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal 1/8 binary64)) (fma.f64 x x (+.f64 #s(literal 1/4 binary64) (*.f64 x #s(literal 1/2 binary64)))))
(neg.f64 (-.f64 #s(literal 1/2 binary64) 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)) (sqrt.f64 (neg.f64 x)))
#s(approx (* (sqrt (- x 1)) (sqrt x)) (fma.f64 (/.f64 (*.f64 x x) (sqrt.f64 (neg.f64 x))) #s(literal 1/2 binary64) (sqrt.f64 (neg.f64 x))))
#s(approx (* (sqrt (- x 1)) (sqrt x)) (fma.f64 (fma.f64 (/.f64 (*.f64 x x) (*.f64 (*.f64 (sqrt.f64 (neg.f64 x)) (sqrt.f64 (neg.f64 x))) (sqrt.f64 (neg.f64 x)))) #s(literal -1/8 binary64) (/.f64 #s(literal 1/2 binary64) (sqrt.f64 (neg.f64 x)))) (*.f64 x x) (sqrt.f64 (neg.f64 x))))
#s(approx (* (sqrt (- x 1)) (sqrt x)) (fma.f64 (fma.f64 (-.f64 (/.f64 (*.f64 #s(literal 1/16 binary64) (*.f64 x x)) (pow.f64 (neg.f64 x) #s(literal 5/2 binary64))) (/.f64 #s(literal 1/8 binary64) (*.f64 (*.f64 (sqrt.f64 (neg.f64 x)) (sqrt.f64 (neg.f64 x))) (sqrt.f64 (neg.f64 x))))) (*.f64 x x) (/.f64 #s(literal 1/2 binary64) (sqrt.f64 (neg.f64 x)))) (*.f64 x x) (sqrt.f64 (neg.f64 x))))
#s(approx (* (- 1 (/ 1/2 x)) x) #s(literal -1/2 binary64))
#s(approx (* (- 1 (/ 1/2 x)) x) (-.f64 x #s(literal 1/2 binary64)))
#s(approx (* (sqrt (- x 1)) (sqrt x)) (sqrt.f64 (neg.f64 x)))
#s(approx (* (sqrt (- x 1)) (sqrt x)) (fma.f64 (*.f64 x (sqrt.f64 (/.f64 x #s(literal -1 binary64)))) #s(literal 1/2 binary64) (sqrt.f64 (neg.f64 x))))
#s(approx (* (sqrt (- x 1)) (sqrt x)) (fma.f64 (fma.f64 (sqrt.f64 (/.f64 x #s(literal -1 binary64))) #s(literal 1/2 binary64) (/.f64 (*.f64 #s(literal -1/8 binary64) (*.f64 (sqrt.f64 x) x)) (*.f64 (*.f64 (sqrt.f64 #s(literal -1 binary64)) (sqrt.f64 #s(literal -1 binary64))) (sqrt.f64 #s(literal -1 binary64))))) x (sqrt.f64 (neg.f64 x))))
#s(approx (* (sqrt (- x 1)) (sqrt x)) (fma.f64 x (fma.f64 (fma.f64 (/.f64 (sqrt.f64 x) (*.f64 (*.f64 (sqrt.f64 #s(literal -1 binary64)) (sqrt.f64 #s(literal -1 binary64))) (sqrt.f64 #s(literal -1 binary64)))) #s(literal -1/8 binary64) (*.f64 (/.f64 (*.f64 (sqrt.f64 x) x) (pow.f64 #s(literal -1 binary64) #s(literal 5/2 binary64))) #s(literal 1/16 binary64))) x (*.f64 (sqrt.f64 (/.f64 x #s(literal -1 binary64))) #s(literal 1/2 binary64))) (sqrt.f64 (neg.f64 x))))
#s(approx x x)
#s(approx (* (sqrt (- x 1)) (sqrt x)) (-.f64 x #s(literal 1/2 binary64)))
#s(approx (* (sqrt (- x 1)) (sqrt x)) (*.f64 (+.f64 (neg.f64 (/.f64 (+.f64 (/.f64 #s(literal 1/8 binary64) x) #s(literal 1/2 binary64)) x)) #s(literal 1 binary64)) x))
#s(approx (* (sqrt (- x 1)) (sqrt x)) (*.f64 (-.f64 (+.f64 (neg.f64 (/.f64 (+.f64 (/.f64 #s(literal 1/16 binary64) x) #s(literal 1/8 binary64)) (*.f64 x x))) #s(literal 1 binary64)) (/.f64 #s(literal 1/2 binary64) x)) x))
#s(approx (* (sqrt (- x 1)) (sqrt x)) (*.f64 (*.f64 (/.f64 #s(literal 1 binary64) (sqrt.f64 x)) (/.f64 #s(literal 1 binary64) (sqrt.f64 x))) (*.f64 x x)))
#s(approx (* (sqrt (- x 1)) (sqrt x)) (*.f64 (-.f64 (*.f64 (/.f64 #s(literal 1 binary64) (sqrt.f64 x)) (/.f64 #s(literal 1 binary64) (sqrt.f64 x))) (/.f64 #s(literal 1/2 binary64) (*.f64 x x))) (*.f64 x x)))
#s(approx (* (sqrt (- x 1)) (sqrt x)) (*.f64 (fma.f64 (/.f64 #s(literal 1 binary64) (sqrt.f64 x)) (/.f64 #s(literal 1 binary64) (sqrt.f64 x)) (neg.f64 (/.f64 (+.f64 (/.f64 #s(literal 1/8 binary64) (*.f64 (*.f64 (/.f64 #s(literal 1 binary64) (sqrt.f64 x)) (/.f64 #s(literal 1 binary64) (sqrt.f64 x))) (*.f64 x x))) #s(literal 1/2 binary64)) (*.f64 x x)))) (*.f64 x x)))
#s(approx (* (sqrt (- x 1)) (sqrt x)) (*.f64 (-.f64 (fma.f64 (/.f64 #s(literal 1 binary64) (sqrt.f64 x)) (/.f64 #s(literal 1 binary64) (sqrt.f64 x)) (neg.f64 (/.f64 (+.f64 (/.f64 #s(literal 1/16 binary64) (*.f64 (pow.f64 (/.f64 #s(literal 1 binary64) x) #s(literal 2 binary64)) (*.f64 x x))) (/.f64 #s(literal 1/8 binary64) (*.f64 (/.f64 #s(literal 1 binary64) (sqrt.f64 x)) (/.f64 #s(literal 1 binary64) (sqrt.f64 x))))) (*.f64 (*.f64 x x) (*.f64 x x))))) (/.f64 #s(literal 1/2 binary64) (*.f64 x x))) (*.f64 x x)))
#s(approx (* (sqrt (- x 1)) (sqrt x)) (neg.f64 x))
#s(approx (* (sqrt (- x 1)) (sqrt x)) (neg.f64 (-.f64 x #s(literal 1/2 binary64))))
#s(approx (* (sqrt (- x 1)) (sqrt x)) (*.f64 (neg.f64 x) (+.f64 (neg.f64 (/.f64 (+.f64 (/.f64 #s(literal 1/8 binary64) x) #s(literal 1/2 binary64)) x)) #s(literal 1 binary64))))
#s(approx (* (sqrt (- x 1)) (sqrt x)) (*.f64 (neg.f64 x) (+.f64 (neg.f64 (/.f64 (+.f64 (+.f64 #s(literal 1/2 binary64) (/.f64 #s(literal 1/16 binary64) (*.f64 x x))) (/.f64 #s(literal 1/8 binary64) x)) x)) #s(literal 1 binary64))))
#s(approx (* (- 1 (/ 1/2 x)) x) (*.f64 (neg.f64 x) (-.f64 (/.f64 #s(literal 1/2 binary64) x) #s(literal 1 binary64))))

eval3.0ms (0.2%)

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

Compiled 348 to 159 computations (54.3% saved)

prune3.0ms (0.2%)

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

3 alts after pruning (0 fresh and 3 done)

PrunedKeptTotal
New27027
Fresh000
Picked022
Done011
Total27330
Accuracy
100.0%
Counts
30 → 3
Alt Table
Click to see full alt table
StatusAccuracyProgram
53.4%
(sqrt.f64 (*.f64 (-.f64 x #s(literal 1 binary64)) x))
98.3%
#s(approx (* (sqrt (- x 1)) (sqrt x)) (-.f64 x #s(literal 1/2 binary64)))
1.1%
#s(approx (sqrt (* (- x 1) x)) #s(approx (* (- 1 (/ 1/2 x)) x) #s(literal -1/2 binary64)))
Compiler

Compiled 80 to 69 computations (13.8% saved)

regimes6.0ms (0.5%)

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

2 calls:

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

Compiled 7 to 7 computations (0% saved)

regimes32.0ms (2.7%)

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

2 calls:

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

Compiled 7 to 7 computations (0% saved)

regimes4.0ms (0.4%)

Memory
3.8MiB live, 3.8MiB allocated; 0ms collecting garbage
Counts
5 → 1
Calls
Call 1
Inputs
#s(approx (sqrt (* (- x 1) x)) #s(approx (* (- 1 (/ 1/2 x)) x) #s(literal -1/2 binary64)))
#s(approx (* (sqrt (- x 1)) (sqrt x)) (-.f64 x #s(literal 1/2 binary64)))
#s(approx (* (sqrt (- x 1)) (sqrt x)) (sqrt.f64 (neg.f64 x)))
#s(approx (* (sqrt (- x 1)) (sqrt x)) (sqrt.f64 (*.f64 #s(literal -1 binary64) x)))
(sqrt.f64 #s(approx (* (- x 1) x) (*.f64 x x)))
Outputs
#s(approx (* (sqrt (- x 1)) (sqrt 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
98.3%1(*.f64 (sqrt.f64 (-.f64 x #s(literal 1 binary64))) (sqrt.f64 x))
98.3%1x
Compiler

Compiled 7 to 7 computations (0% saved)

regimes2.0ms (0.2%)

Memory
3.1MiB live, 3.1MiB 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) x)) #s(approx (* (- 1 (/ 1/2 x)) x) #s(literal -1/2 binary64)))
Outputs
#s(approx (sqrt (* (- x 1) x)) #s(approx (* (- 1 (/ 1/2 x)) x) #s(literal -1/2 binary64)))
Calls

2 calls:

1.0ms
x
1.0ms
(*.f64 (sqrt.f64 (-.f64 x #s(literal 1 binary64))) (sqrt.f64 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)

bsearch2.0ms (0.1%)

Memory
0.5MiB live, 0.5MiB allocated; 0ms collecting garbage
Algorithm
binary-search
Stop Event
predicate-same
Steps
TimeLeftRight
1.0ms
26720376.844871607
297027961.26008135
Samples
1.0ms16×0valid
Compiler

Compiled 24 to 26 computations (-8.3% saved)

Precisions
Click to see histograms. Total time spent on operations: 0.0ms
ival-sub!: 0.0ms (0% of total)
adjust: 0.0ms (0% of total)
ival-sqrt: 0.0ms (0% of total)
ival-mult!: 0.0ms (0% of total)

derivations11.0ms (0.9%)

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

Compiled 30 to 28 computations (6.7% saved)

preprocess28.0ms (2.3%)

Memory
-9.5MiB live, 37.0MiB allocated; 3ms collecting garbage
Remove

(abs x)

Compiler

Compiled 122 to 120 computations (1.6% saved)

end0.0ms (0%)

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

Profiling

Loading profile data...