sqrt times

Time bar (total: 1.6s)

start0.0ms (0%)

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

analyze1.0ms (0.1%)

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

sample831.0ms (52.7%)

Memory
0.1MiB live, 658.9MiB allocated; 831ms collecting garbage
Samples
591.0ms8 252×0valid
0.0ms10×0invalid
0.0ms1valid
Precisions
Click to see histograms. Total time spent on operations: 453.0ms
ival-sqrt: 379.0ms (83.6% of total)
ival-sub!: 37.0ms (8.2% of total)
ival-mult!: 36.0ms (7.9% of total)
adjust: 2.0ms (0.4% of total)
Bogosity

explain59.0ms (3.7%)

Memory
10.2MiB live, 105.9MiB allocated; 4ms collecting garbage
FPErrors
Click to see full error table
Ground TruthOverpredictionsExampleUnderpredictionsExampleSubexpression
00-0-(*.f64 (sqrt.f64 (-.f64 x #s(literal 1 binary64))) (sqrt.f64 x))
00-0-(sqrt.f64 (-.f64 x #s(literal 1 binary64)))
00-0-(sqrt.f64 x)
00-0-(-.f64 x #s(literal 1 binary64))
00-0-#s(literal 1 binary64)
00-0-x
Confusion
Predicted +Predicted -
+00
-0256
Precision
0/0
Recall
0/0
Confusion?
Predicted +Predicted MaybePredicted -
+000
-00256
Precision?
0/0
Recall?
0/0
Freqs
test
numberfreq
0256
Total Confusion?
Predicted +Predicted MaybePredicted -
+000
-001
Precision?
0/0
Recall?
0/0
Samples
23.0ms512×0valid
Compiler

Compiled 47 to 22 computations (53.2% saved)

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

preprocess250.0ms (15.8%)

Memory
28.8MiB live, 169.8MiB allocated; 21ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01226
12026
22526
33526
46926
525026
6193626
7507126
067
0107
1137
2167
3257
4557
52147
616787
747417
082827
Stop Event
iter-limit
node-limit
iter-limit
node-limit
Calls
Call 1
Inputs
(*.f64 (sqrt.f64 (-.f64 x #s(literal 1 binary64))) (sqrt.f64 x))
Outputs
(*.f64 (sqrt.f64 (-.f64 x #s(literal 1 binary64))) (sqrt.f64 x))
(*.f64 (sqrt.f64 x) (sqrt.f64 (-.f64 x #s(literal 1 binary64))))
Compiler

Compiled 7 to 6 computations (14.3% saved)

eval0.0ms (0%)

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

Compiled 0 to 1 computations (-∞% saved)

prune0.0ms (0%)

Memory
0.9MiB live, 0.9MiB allocated; 0ms collecting garbage
Alt Table
Click to see full alt table
StatusAccuracyProgram
99.2%
(*.f64 (sqrt.f64 (-.f64 x #s(literal 1 binary64))) (sqrt.f64 x))
Compiler

Compiled 7 to 6 computations (14.3% saved)

series9.0ms (0.6%)

Memory
-32.2MiB live, 11.4MiB allocated; 7ms collecting garbage
Counts
6 → 32
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))
#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 (sqrt 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))
#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)))))
#s(approx (sqrt x) #s(hole binary64 (* -1 (* (sqrt x) (pow (sqrt -1) 2)))))
Calls

3 calls:

TimeVariablePointExpression
5.0ms
x
@0
((* (sqrt (- x 1)) (sqrt x)) (sqrt (- x 1)) (- x 1) x 1 (sqrt x))
2.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))

rewrite84.0ms (5.4%)

Memory
21.3MiB live, 65.8MiB allocated; 10ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0188753
0193596
01106575
Stop Event
iter-limit
iter-limit
node-limit
iter-limit
Counts
38 → 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 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))
#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 (sqrt 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))
#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)))))
#s(approx (sqrt x) #s(hole binary64 (* -1 (* (sqrt x) (pow (sqrt -1) 2)))))
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)))
(/.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)))))
(-.f64 x #s(literal 1 binary64))
x
#s(literal 1 binary64)
(pow.f64 x #s(literal 1/2 binary64))
(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 #s(literal 1/2 binary64) (pow.f64 x #s(literal 3/2 binary64))) (pow.f64 (sqrt.f64 #s(literal -1 binary64)) #s(literal -1 binary64)) (sqrt.f64 (*.f64 #s(literal -1 binary64) x))))
#s(approx (* (sqrt (- x 1)) (sqrt x)) (fma.f64 (fma.f64 (*.f64 #s(literal -1/8 binary64) (sqrt.f64 x)) (pow.f64 (sqrt.f64 #s(literal -1 binary64)) #s(literal -3 binary64)) (*.f64 (*.f64 #s(literal 1/2 binary64) (/.f64 #s(literal 1 binary64) (sqrt.f64 x))) (pow.f64 (sqrt.f64 #s(literal -1 binary64)) #s(literal -1 binary64)))) (*.f64 x x) (sqrt.f64 (*.f64 #s(literal -1 binary64) x))))
#s(approx (* (sqrt (- x 1)) (sqrt x)) (fma.f64 (fma.f64 (*.f64 #s(literal 1/2 binary64) (/.f64 #s(literal 1 binary64) (sqrt.f64 x))) (pow.f64 (sqrt.f64 #s(literal -1 binary64)) #s(literal -1 binary64)) (*.f64 (fma.f64 (*.f64 #s(literal -1/8 binary64) (sqrt.f64 (pow.f64 x #s(literal -3 binary64)))) (pow.f64 (sqrt.f64 #s(literal -1 binary64)) #s(literal -3 binary64)) (*.f64 (*.f64 #s(literal 1/16 binary64) (/.f64 #s(literal 1 binary64) (sqrt.f64 x))) (pow.f64 (sqrt.f64 #s(literal -1 binary64)) #s(literal -5 binary64)))) (*.f64 x x))) (*.f64 x x) (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 (pow.f64 #s(literal -1 binary64) #s(literal 3/2 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 (fma.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) (pow.f64 (sqrt.f64 #s(literal -1 binary64)) #s(literal -3 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)) x)
#s(approx (* (sqrt (- x 1)) (sqrt x)) (*.f64 (-.f64 #s(literal 1 binary64) (/.f64 #s(literal 1/2 binary64) x)) x))
#s(approx (* (sqrt (- x 1)) (sqrt x)) (*.f64 (fma.f64 (/.f64 (+.f64 (/.f64 #s(literal 1/8 binary64) x) #s(literal 1/2 binary64)) x) #s(literal -1 binary64) #s(literal 1 binary64)) x))
#s(approx (* (sqrt (- x 1)) (sqrt x)) (*.f64 (-.f64 (fma.f64 (/.f64 (+.f64 (/.f64 #s(literal 1/16 binary64) x) #s(literal 1/8 binary64)) (*.f64 x x)) #s(literal -1 binary64) #s(literal 1 binary64)) (/.f64 #s(literal 1/2 binary64) x)) x))
#s(approx (sqrt (- x 1)) (sqrt.f64 x))
#s(approx (sqrt (- x 1)) (*.f64 (fma.f64 #s(literal -1/2 binary64) (sqrt.f64 (pow.f64 x #s(literal -3 binary64))) (/.f64 #s(literal 1 binary64) (sqrt.f64 x))) x))
#s(approx (sqrt (- x 1)) (*.f64 (+.f64 (fma.f64 (sqrt.f64 (pow.f64 x #s(literal -5 binary64))) #s(literal -1/8 binary64) (*.f64 #s(literal -1/2 binary64) (sqrt.f64 (pow.f64 x #s(literal -3 binary64))))) (/.f64 #s(literal 1 binary64) (sqrt.f64 x))) x))
#s(approx (sqrt (- x 1)) (*.f64 (+.f64 (fma.f64 #s(literal -1/2 binary64) (sqrt.f64 (pow.f64 x #s(literal -3 binary64))) (fma.f64 (sqrt.f64 (pow.f64 x #s(literal -7 binary64))) #s(literal -1/16 binary64) (*.f64 (sqrt.f64 (pow.f64 x #s(literal -5 binary64))) #s(literal -1/8 binary64)))) (/.f64 #s(literal 1 binary64) (sqrt.f64 x))) x))
#s(approx (- x 1) x)
#s(approx (- x 1) (*.f64 (-.f64 #s(literal 1 binary64) (pow.f64 x #s(literal -1 binary64))) x))
#s(approx (* (sqrt (- x 1)) (sqrt x)) (neg.f64 (*.f64 #s(literal -1 binary64) x)))
#s(approx (* (sqrt (- x 1)) (sqrt x)) (neg.f64 (*.f64 (+.f64 (/.f64 #s(literal 1/2 binary64) x) #s(literal -1 binary64)) x)))
#s(approx (* (sqrt (- x 1)) (sqrt x)) (neg.f64 (*.f64 (fma.f64 (/.f64 (-.f64 (/.f64 #s(literal -1/8 binary64) x) #s(literal 1/2 binary64)) x) #s(literal -1 binary64) #s(literal -1 binary64)) x)))
#s(approx (* (sqrt (- x 1)) (sqrt x)) (neg.f64 (*.f64 (fma.f64 (/.f64 (fma.f64 (/.f64 (+.f64 (/.f64 #s(literal 1/16 binary64) x) #s(literal 1/8 binary64)) x) #s(literal -1 binary64) #s(literal -1/2 binary64)) x) #s(literal -1 binary64) #s(literal -1 binary64)) x)))
#s(approx (sqrt (- x 1)) (neg.f64 (*.f64 #s(literal -1 binary64) (sqrt.f64 x))))
#s(approx (sqrt (- x 1)) (neg.f64 (*.f64 (fma.f64 (*.f64 (sqrt.f64 (pow.f64 x #s(literal -3 binary64))) #s(literal -1 binary64)) #s(literal 1/2 binary64) (*.f64 (/.f64 #s(literal 1 binary64) (sqrt.f64 x)) #s(literal -1 binary64))) x)))
#s(approx (sqrt (- x 1)) (neg.f64 (*.f64 (fma.f64 (*.f64 (sqrt.f64 (pow.f64 x #s(literal -5 binary64))) #s(literal -1 binary64)) #s(literal -1/8 binary64) (fma.f64 (*.f64 (sqrt.f64 (pow.f64 x #s(literal -3 binary64))) #s(literal -1 binary64)) #s(literal 1/2 binary64) (*.f64 (/.f64 #s(literal 1 binary64) (sqrt.f64 x)) #s(literal -1 binary64)))) x)))
#s(approx (sqrt (- x 1)) (neg.f64 (*.f64 (fma.f64 (*.f64 (sqrt.f64 (pow.f64 x #s(literal -5 binary64))) #s(literal -1 binary64)) #s(literal -1/8 binary64) (fma.f64 (*.f64 (sqrt.f64 (pow.f64 x #s(literal -7 binary64))) #s(literal -1 binary64)) #s(literal 1/16 binary64) (fma.f64 (*.f64 (sqrt.f64 (pow.f64 x #s(literal -3 binary64))) #s(literal -1 binary64)) #s(literal 1/2 binary64) (*.f64 (/.f64 #s(literal 1 binary64) (sqrt.f64 x)) #s(literal -1 binary64))))) x)))
#s(approx (- x 1) (neg.f64 (*.f64 (-.f64 (pow.f64 x #s(literal -1 binary64)) #s(literal 1 binary64)) x)))
#s(approx (sqrt x) (neg.f64 (*.f64 #s(literal -1 binary64) (sqrt.f64 x))))

eval5.0ms (0.3%)

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

Compiled 760 to 210 computations (72.4% saved)

prune2.0ms (0.1%)

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

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New44246
Fresh000
Picked011
Done000
Total44347
Accuracy
100.0%
Counts
47 → 3
Alt Table
Click to see full alt table
StatusAccuracyProgram
99.2%
(*.f64 (sqrt.f64 (-.f64 x #s(literal 1 binary64))) (sqrt.f64 x))
54.4%
(sqrt.f64 (*.f64 (-.f64 x #s(literal 1 binary64)) x))
98.2%
#s(approx (* (sqrt (- x 1)) (sqrt x)) x)
Compiler

Compiled 22 to 18 computations (18.2% saved)

series2.0ms (0.1%)

Memory
2.2MiB live, 2.2MiB allocated; 0ms collecting garbage
Counts
6 → 34
Calls
Call 1
Inputs
#s(approx (* (sqrt (- x 1)) (sqrt x)) x)
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)
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 #s(hole binary64 x))
#s(approx (sqrt (* (- x 1) x)) #s(hole binary64 (* (sqrt x) (sqrt -1))))
#s(approx (sqrt (* (- x 1) x)) #s(hole binary64 (+ (* 1/2 (* (sqrt (pow x 3)) (/ 1 (sqrt -1)))) (* (sqrt x) (sqrt -1)))))
#s(approx (sqrt (* (- x 1) 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) 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) x) #s(hole binary64 (* -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)) (sqrt x)) #s(hole binary64 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) 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 (* (- 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))
#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) 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 (- x 1) #s(hole binary64 (* -1 (* x (- (/ 1 x) 1)))))
Calls

3 calls:

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

rewrite95.0ms (6%)

Memory
0.7MiB live, 54.2MiB allocated; 15ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

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

eval10.0ms (0.6%)

Memory
-31.5MiB live, 10.7MiB allocated; 11ms collecting garbage
Compiler

Compiled 567 to 153 computations (73% saved)

prune2.0ms (0.1%)

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

4 alts after pruning (1 fresh and 3 done)

PrunedKeptTotal
New40141
Fresh000
Picked022
Done011
Total40444
Accuracy
100.0%
Counts
44 → 4
Alt Table
Click to see full alt table
StatusAccuracyProgram
99.2%
(*.f64 (sqrt.f64 (-.f64 x #s(literal 1 binary64))) (sqrt.f64 x))
54.4%
(sqrt.f64 (*.f64 (-.f64 x #s(literal 1 binary64)) x))
54.4%
(sqrt.f64 #s(approx (* (- x 1) x) (*.f64 (-.f64 #s(literal 1 binary64) (pow.f64 x #s(literal -1 binary64))) (*.f64 x x))))
98.2%
#s(approx (* (sqrt (- x 1)) (sqrt x)) x)
Compiler

Compiled 38 to 30 computations (21.1% saved)

series3.0ms (0.2%)

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

3 calls:

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

rewrite62.0ms (3.9%)

Memory
7.5MiB live, 96.6MiB allocated; 8ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0116509
0123468
0565462
Stop Event
iter-limit
iter-limit
iter-limit
unsound
iter-limit
Counts
36 → 50
Calls
Call 1
Inputs
(sqrt.f64 #s(approx (* (- x 1) x) (*.f64 (-.f64 #s(literal 1 binary64) (pow.f64 x #s(literal -1 binary64))) (*.f64 x x))))
#s(approx (* (- x 1) x) (*.f64 (-.f64 #s(literal 1 binary64) (pow.f64 x #s(literal -1 binary64))) (*.f64 x x)))
(*.f64 (-.f64 #s(literal 1 binary64) (pow.f64 x #s(literal -1 binary64))) (*.f64 x x))
(-.f64 #s(literal 1 binary64) (pow.f64 x #s(literal -1 binary64)))
#s(literal 1 binary64)
(pow.f64 x #s(literal -1 binary64))
x
#s(literal -1 binary64)
(*.f64 x x)
#s(approx (sqrt (* (- x 1) x)) #s(hole binary64 (* (sqrt x) (sqrt -1))))
#s(approx (sqrt (* (- x 1) x)) #s(hole binary64 (+ (* 1/2 (* (sqrt (pow x 3)) (/ 1 (sqrt -1)))) (* (sqrt x) (sqrt -1)))))
#s(approx (sqrt (* (- x 1) 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) 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) x) #s(hole binary64 (* -1 x)))
#s(approx (* (- x 1) x) #s(hole binary64 (* x (- x 1))))
#s(approx (* (- 1 (pow x -1)) (* x x)) #s(hole binary64 (* -1 x)))
#s(approx (* (- 1 (pow x -1)) (* x x)) #s(hole binary64 (* x (- x 1))))
#s(approx (- 1 (pow x -1)) #s(hole binary64 (/ -1 x)))
#s(approx (- 1 (pow x -1)) #s(hole binary64 (/ (- x 1) x)))
#s(approx (pow x -1) #s(hole binary64 (/ 1 x)))
#s(approx x #s(hole binary64 x))
#s(approx (* x x) #s(hole binary64 (pow x 2)))
#s(approx (sqrt (* (- x 1) 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 (* (- 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 (* (- 1 (pow x -1)) (* x x)) #s(hole binary64 (pow x 2)))
#s(approx (* (- 1 (pow x -1)) (* x x)) #s(hole binary64 (* (pow x 2) (- 1 (/ 1 x)))))
#s(approx (- 1 (pow x -1)) #s(hole binary64 1))
#s(approx (- 1 (pow x -1)) #s(hole binary64 (- 1 (/ 1 x))))
#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)))))))
Outputs
(pow.f64 #s(approx (* (- x 1) x) (*.f64 (*.f64 (-.f64 #s(literal 1 binary64) (pow.f64 x #s(literal -1 binary64))) x) x)) #s(literal 1/2 binary64))
(sqrt.f64 #s(approx (* (- x 1) x) (*.f64 (*.f64 (-.f64 #s(literal 1 binary64) (pow.f64 x #s(literal -1 binary64))) x) x)))
#s(approx (* (- x 1) x) (*.f64 (*.f64 (-.f64 #s(literal 1 binary64) (pow.f64 x #s(literal -1 binary64))) x) x))
(*.f64 (*.f64 (-.f64 #s(literal 1 binary64) (pow.f64 x #s(literal -1 binary64))) x) x)
(*.f64 (-.f64 #s(literal 1 binary64) (pow.f64 x #s(literal -1 binary64))) (*.f64 x x))
(*.f64 (*.f64 x x) (-.f64 #s(literal 1 binary64) (pow.f64 x #s(literal -1 binary64))))
(/.f64 (-.f64 #s(literal 1 binary64) (*.f64 (pow.f64 x #s(literal -1 binary64)) (pow.f64 x #s(literal -1 binary64)))) (+.f64 #s(literal 1 binary64) (pow.f64 x #s(literal -1 binary64))))
(/.f64 (-.f64 #s(literal 1 binary64) (pow.f64 (pow.f64 x #s(literal -1 binary64)) #s(literal 3 binary64))) (+.f64 #s(literal 1 binary64) (fma.f64 (pow.f64 x #s(literal -1 binary64)) (pow.f64 x #s(literal -1 binary64)) (*.f64 #s(literal 1 binary64) (pow.f64 x #s(literal -1 binary64))))))
(-.f64 #s(literal 1 binary64) (pow.f64 x #s(literal -1 binary64)))
#s(literal 1 binary64)
(*.f64 (pow.f64 x #s(literal -1/2 binary64)) (pow.f64 x #s(literal -1/2 binary64)))
(pow.f64 x #s(literal -1 binary64))
(/.f64 #s(literal -1 binary64) (neg.f64 x))
(/.f64 #s(literal 1 binary64) x)
(exp.f64 (*.f64 (log.f64 x) #s(literal -1 binary64)))
x
#s(literal -1 binary64)
(*.f64 (pow.f64 x #s(literal 1 binary64)) (pow.f64 x #s(literal 1 binary64)))
(*.f64 (neg.f64 x) (neg.f64 x))
(*.f64 (fabs.f64 x) (fabs.f64 x))
(*.f64 x x)
(pow.f64 x #s(literal 2 binary64))
(exp.f64 (*.f64 (log.f64 x) #s(literal 2 binary64)))
#s(approx (sqrt (* (- x 1) x)) (sqrt.f64 (neg.f64 x)))
#s(approx (sqrt (* (- x 1) x)) (fma.f64 (*.f64 #s(literal 1/2 binary64) (pow.f64 x #s(literal 3/2 binary64))) (pow.f64 (sqrt.f64 #s(literal -1 binary64)) #s(literal -1 binary64)) (sqrt.f64 (neg.f64 x))))
#s(approx (sqrt (* (- x 1) x)) (fma.f64 (fma.f64 (*.f64 #s(literal 1/2 binary64) (/.f64 #s(literal 1 binary64) (sqrt.f64 x))) (pow.f64 (sqrt.f64 #s(literal -1 binary64)) #s(literal -1 binary64)) (*.f64 (*.f64 #s(literal -1/8 binary64) (sqrt.f64 x)) (pow.f64 (sqrt.f64 #s(literal -1 binary64)) #s(literal -3 binary64)))) (*.f64 x x) (sqrt.f64 (neg.f64 x))))
#s(approx (sqrt (* (- x 1) x)) (fma.f64 (fma.f64 (*.f64 #s(literal 1/2 binary64) (/.f64 #s(literal 1 binary64) (sqrt.f64 x))) (pow.f64 (sqrt.f64 #s(literal -1 binary64)) #s(literal -1 binary64)) (*.f64 (fma.f64 (*.f64 #s(literal -1/8 binary64) (sqrt.f64 (pow.f64 x #s(literal -3 binary64)))) (pow.f64 (sqrt.f64 #s(literal -1 binary64)) #s(literal -3 binary64)) (*.f64 (*.f64 #s(literal 1/16 binary64) (/.f64 #s(literal 1 binary64) (sqrt.f64 x))) (pow.f64 (sqrt.f64 #s(literal -1 binary64)) #s(literal -5 binary64)))) (*.f64 x x))) (*.f64 x x) (sqrt.f64 (neg.f64 x))))
#s(approx (* (- x 1) x) (neg.f64 x))
#s(approx (* (- x 1) x) (*.f64 (-.f64 x #s(literal 1 binary64)) x))
#s(approx (* (- 1 (pow x -1)) (* x x)) (neg.f64 x))
#s(approx (* (- 1 (pow x -1)) (* x x)) (*.f64 (-.f64 x #s(literal 1 binary64)) x))
#s(approx (- 1 (pow x -1)) (/.f64 #s(literal -1 binary64) x))
#s(approx (- 1 (pow x -1)) (/.f64 (-.f64 x #s(literal 1 binary64)) x))
#s(approx (pow x -1) (pow.f64 x #s(literal -1 binary64)))
#s(approx x x)
#s(approx (* x x) (*.f64 x x))
#s(approx (sqrt (* (- x 1) 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 (fma.f64 (/.f64 (+.f64 (/.f64 #s(literal 1/8 binary64) x) #s(literal 1/2 binary64)) x) #s(literal -1 binary64) #s(literal 1 binary64)) x))
#s(approx (sqrt (* (- x 1) x)) (*.f64 (-.f64 (fma.f64 (/.f64 (+.f64 (/.f64 #s(literal 1/16 binary64) x) #s(literal 1/8 binary64)) (*.f64 x x)) #s(literal -1 binary64) #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 (-.f64 #s(literal 1 binary64) (pow.f64 x #s(literal -1 binary64))) x) x))
#s(approx (* (- 1 (pow x -1)) (* x x)) (*.f64 x x))
#s(approx (* (- 1 (pow x -1)) (* x x)) (*.f64 (*.f64 (-.f64 #s(literal 1 binary64) (pow.f64 x #s(literal -1 binary64))) x) x))
#s(approx (- 1 (pow x -1)) #s(literal 1 binary64))
#s(approx (- 1 (pow x -1)) (-.f64 #s(literal 1 binary64) (pow.f64 x #s(literal -1 binary64))))
#s(approx (sqrt (* (- x 1) x)) (neg.f64 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) (fma.f64 (/.f64 (+.f64 (/.f64 #s(literal 1/8 binary64) x) #s(literal 1/2 binary64)) x) #s(literal -1 binary64) #s(literal 1 binary64))))
#s(approx (sqrt (* (- x 1) x)) (*.f64 (neg.f64 x) (fma.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(literal 1 binary64))))

eval5.0ms (0.3%)

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

Compiled 990 to 218 computations (78% saved)

prune2.0ms (0.1%)

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

4 alts after pruning (1 fresh and 3 done)

PrunedKeptTotal
New52153
Fresh000
Picked101
Done033
Total53457
Accuracy
100.0%
Counts
57 → 4
Alt Table
Click to see full alt table
StatusAccuracyProgram
99.2%
(*.f64 (sqrt.f64 (-.f64 x #s(literal 1 binary64))) (sqrt.f64 x))
54.4%
(sqrt.f64 (*.f64 (-.f64 x #s(literal 1 binary64)) x))
54.4%
(sqrt.f64 #s(approx (* (- x 1) x) (*.f64 (-.f64 #s(literal 1 binary64) (/.f64 #s(literal 1 binary64) x)) (*.f64 x x))))
98.2%
#s(approx (* (sqrt (- x 1)) (sqrt x)) x)
Compiler

Compiled 38 to 29 computations (23.7% saved)

series10.0ms (0.7%)

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

3 calls:

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

rewrite59.0ms (3.7%)

Memory
13.9MiB live, 59.6MiB allocated; 4ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0114508
0122467
0555461
Stop Event
iter-limit
iter-limit
iter-limit
unsound
iter-limit
Counts
35 → 47
Calls
Call 1
Inputs
(sqrt.f64 #s(approx (* (- x 1) x) (*.f64 (-.f64 #s(literal 1 binary64) (/.f64 #s(literal 1 binary64) x)) (*.f64 x x))))
#s(approx (* (- x 1) x) (*.f64 (-.f64 #s(literal 1 binary64) (/.f64 #s(literal 1 binary64) x)) (*.f64 x x)))
(*.f64 (-.f64 #s(literal 1 binary64) (/.f64 #s(literal 1 binary64) x)) (*.f64 x x))
(-.f64 #s(literal 1 binary64) (/.f64 #s(literal 1 binary64) x))
#s(literal 1 binary64)
(/.f64 #s(literal 1 binary64) x)
x
(*.f64 x x)
#s(approx (sqrt (* (- x 1) x)) #s(hole binary64 (* (sqrt x) (sqrt -1))))
#s(approx (sqrt (* (- x 1) x)) #s(hole binary64 (+ (* 1/2 (* (sqrt (pow x 3)) (/ 1 (sqrt -1)))) (* (sqrt x) (sqrt -1)))))
#s(approx (sqrt (* (- x 1) 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) 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) x) #s(hole binary64 (* -1 x)))
#s(approx (* (- x 1) x) #s(hole binary64 (* x (- x 1))))
#s(approx (* (- 1 (/ 1 x)) (* x x)) #s(hole binary64 (* -1 x)))
#s(approx (* (- 1 (/ 1 x)) (* x x)) #s(hole binary64 (* x (- x 1))))
#s(approx (- 1 (/ 1 x)) #s(hole binary64 (/ -1 x)))
#s(approx (- 1 (/ 1 x)) #s(hole binary64 (/ (- x 1) x)))
#s(approx (/ 1 x) #s(hole binary64 (/ 1 x)))
#s(approx x #s(hole binary64 x))
#s(approx (* x x) #s(hole binary64 (pow x 2)))
#s(approx (sqrt (* (- x 1) 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 (* (- 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 (* (- 1 (/ 1 x)) (* x x)) #s(hole binary64 (pow x 2)))
#s(approx (* (- 1 (/ 1 x)) (* x x)) #s(hole binary64 (* (pow x 2) (- 1 (/ 1 x)))))
#s(approx (- 1 (/ 1 x)) #s(hole binary64 1))
#s(approx (- 1 (/ 1 x)) #s(hole binary64 (- 1 (/ 1 x))))
#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)))))))
Outputs
(pow.f64 #s(approx (* (- x 1) x) (*.f64 (*.f64 (-.f64 #s(literal 1 binary64) (pow.f64 x #s(literal -1 binary64))) x) x)) #s(literal 1/2 binary64))
(sqrt.f64 #s(approx (* (- x 1) x) (*.f64 (*.f64 (-.f64 #s(literal 1 binary64) (pow.f64 x #s(literal -1 binary64))) x) x)))
#s(approx (* (- x 1) x) (*.f64 (*.f64 (-.f64 #s(literal 1 binary64) (pow.f64 x #s(literal -1 binary64))) x) x))
(*.f64 (*.f64 (-.f64 #s(literal 1 binary64) (pow.f64 x #s(literal -1 binary64))) x) x)
(*.f64 (-.f64 #s(literal 1 binary64) (pow.f64 x #s(literal -1 binary64))) (*.f64 x x))
(*.f64 (*.f64 x x) (-.f64 #s(literal 1 binary64) (pow.f64 x #s(literal -1 binary64))))
(/.f64 (-.f64 #s(literal 1 binary64) (*.f64 (pow.f64 x #s(literal -1 binary64)) (pow.f64 x #s(literal -1 binary64)))) (+.f64 #s(literal 1 binary64) (pow.f64 x #s(literal -1 binary64))))
(/.f64 (-.f64 #s(literal 1 binary64) (pow.f64 (pow.f64 x #s(literal -1 binary64)) #s(literal 3 binary64))) (+.f64 #s(literal 1 binary64) (fma.f64 (pow.f64 x #s(literal -1 binary64)) (pow.f64 x #s(literal -1 binary64)) (*.f64 #s(literal 1 binary64) (pow.f64 x #s(literal -1 binary64))))))
(-.f64 #s(literal 1 binary64) (pow.f64 x #s(literal -1 binary64)))
#s(literal 1 binary64)
(pow.f64 x #s(literal -1 binary64))
(/.f64 #s(literal -1 binary64) (neg.f64 x))
(/.f64 #s(literal 1 binary64) x)
x
(*.f64 (pow.f64 x #s(literal 1 binary64)) (pow.f64 x #s(literal 1 binary64)))
(*.f64 (neg.f64 x) (neg.f64 x))
(*.f64 (fabs.f64 x) (fabs.f64 x))
(*.f64 x x)
(pow.f64 x #s(literal 2 binary64))
(exp.f64 (*.f64 (log.f64 x) #s(literal 2 binary64)))
#s(approx (sqrt (* (- x 1) x)) (sqrt.f64 (neg.f64 x)))
#s(approx (sqrt (* (- x 1) x)) (fma.f64 (*.f64 #s(literal 1/2 binary64) (pow.f64 x #s(literal 3/2 binary64))) (pow.f64 (sqrt.f64 #s(literal -1 binary64)) #s(literal -1 binary64)) (sqrt.f64 (neg.f64 x))))
#s(approx (sqrt (* (- x 1) x)) (fma.f64 (fma.f64 (*.f64 #s(literal 1/2 binary64) (/.f64 #s(literal 1 binary64) (sqrt.f64 x))) (pow.f64 (sqrt.f64 #s(literal -1 binary64)) #s(literal -1 binary64)) (*.f64 (*.f64 #s(literal -1/8 binary64) (sqrt.f64 x)) (pow.f64 (sqrt.f64 #s(literal -1 binary64)) #s(literal -3 binary64)))) (*.f64 x x) (sqrt.f64 (neg.f64 x))))
#s(approx (sqrt (* (- x 1) x)) (fma.f64 (fma.f64 (*.f64 #s(literal 1/2 binary64) (/.f64 #s(literal 1 binary64) (sqrt.f64 x))) (pow.f64 (sqrt.f64 #s(literal -1 binary64)) #s(literal -1 binary64)) (*.f64 (fma.f64 (*.f64 #s(literal -1/8 binary64) (sqrt.f64 (pow.f64 x #s(literal -3 binary64)))) (pow.f64 (sqrt.f64 #s(literal -1 binary64)) #s(literal -3 binary64)) (*.f64 (*.f64 #s(literal 1/16 binary64) (/.f64 #s(literal 1 binary64) (sqrt.f64 x))) (pow.f64 (sqrt.f64 #s(literal -1 binary64)) #s(literal -5 binary64)))) (*.f64 x x))) (*.f64 x x) (sqrt.f64 (neg.f64 x))))
#s(approx (* (- x 1) x) (neg.f64 x))
#s(approx (* (- x 1) x) (*.f64 (-.f64 x #s(literal 1 binary64)) x))
#s(approx (* (- 1 (/ 1 x)) (* x x)) (neg.f64 x))
#s(approx (* (- 1 (/ 1 x)) (* x x)) (*.f64 (-.f64 x #s(literal 1 binary64)) x))
#s(approx (- 1 (/ 1 x)) (/.f64 #s(literal -1 binary64) x))
#s(approx (- 1 (/ 1 x)) (/.f64 (-.f64 x #s(literal 1 binary64)) x))
#s(approx (/ 1 x) (pow.f64 x #s(literal -1 binary64)))
#s(approx x x)
#s(approx (* x x) (*.f64 x x))
#s(approx (sqrt (* (- x 1) 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 (fma.f64 (/.f64 (+.f64 (/.f64 #s(literal 1/8 binary64) x) #s(literal 1/2 binary64)) x) #s(literal -1 binary64) #s(literal 1 binary64)) x))
#s(approx (sqrt (* (- x 1) x)) (*.f64 (-.f64 (fma.f64 (/.f64 (+.f64 (/.f64 #s(literal 1/16 binary64) x) #s(literal 1/8 binary64)) (*.f64 x x)) #s(literal -1 binary64) #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 (-.f64 #s(literal 1 binary64) (pow.f64 x #s(literal -1 binary64))) x) x))
#s(approx (* (- 1 (/ 1 x)) (* x x)) (*.f64 x x))
#s(approx (* (- 1 (/ 1 x)) (* x x)) (*.f64 (*.f64 (-.f64 #s(literal 1 binary64) (pow.f64 x #s(literal -1 binary64))) x) x))
#s(approx (- 1 (/ 1 x)) #s(literal 1 binary64))
#s(approx (- 1 (/ 1 x)) (-.f64 #s(literal 1 binary64) (pow.f64 x #s(literal -1 binary64))))
#s(approx (sqrt (* (- x 1) x)) (neg.f64 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) (fma.f64 (/.f64 (+.f64 (/.f64 #s(literal 1/8 binary64) x) #s(literal 1/2 binary64)) x) #s(literal -1 binary64) #s(literal 1 binary64))))
#s(approx (sqrt (* (- x 1) x)) (*.f64 (neg.f64 x) (fma.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(literal 1 binary64))))

eval5.0ms (0.3%)

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

Compiled 952 to 204 computations (78.6% saved)

prune3.0ms (0.2%)

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

4 alts after pruning (0 fresh and 4 done)

PrunedKeptTotal
New51051
Fresh000
Picked011
Done033
Total51455
Accuracy
100.0%
Counts
55 → 4
Alt Table
Click to see full alt table
StatusAccuracyProgram
99.2%
(*.f64 (sqrt.f64 (-.f64 x #s(literal 1 binary64))) (sqrt.f64 x))
54.4%
(sqrt.f64 (*.f64 (-.f64 x #s(literal 1 binary64)) x))
54.4%
(sqrt.f64 #s(approx (* (- x 1) x) (*.f64 (-.f64 #s(literal 1 binary64) (/.f64 #s(literal 1 binary64) x)) (*.f64 x x))))
98.2%
#s(approx (* (sqrt (- x 1)) (sqrt x)) x)
Compiler

Compiled 92 to 56 computations (39.1% saved)

regimes4.0ms (0.3%)

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

2 calls:

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

Compiled 8 to 7 computations (12.5% saved)

regimes3.0ms (0.2%)

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

2 calls:

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

Compiled 8 to 7 computations (12.5% saved)

regimes2.0ms (0.1%)

Memory
2.9MiB live, 2.9MiB 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)) x)
Outputs
#s(approx (* (sqrt (- x 1)) (sqrt x)) x)
Calls

2 calls:

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

Compiled 8 to 7 computations (12.5% saved)

bsearch4.0ms (0.2%)

Memory
1.1MiB live, 1.1MiB allocated; 0ms collecting garbage
Algorithm
binary-search
Stop Event
predicate-same
Steps
TimeLeftRight
3.0ms
2150621111924510.8
27544355523447988.0
Samples
1.0ms16×1valid
1.0ms16×0valid
Compiler

Compiled 40 to 38 computations (5% saved)

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

derivations5.0ms (0.3%)

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

Compiled 35 to 17 computations (51.4% saved)

preprocess58.0ms (3.7%)

Memory
-18.6MiB live, 26.7MiB allocated; 6ms collecting garbage
Compiler

Compiled 84 to 46 computations (45.2% saved)

end0.0ms (0%)

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

Profiling

Loading profile data...