Linear.Quaternion:$clog from linear-1.19.1.3

Time bar (total: 1.1s)

start0.0ms (0%)

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

analyze24.0ms (2.3%)

Memory
-7.7MiB live, 36.9MiB allocated; 9ms collecting garbage
Algorithm
search
Search
ProbabilityValidUnknownPreconditionInfiniteDomainCan'tIter
0%0%99.9%0.1%0%0%0%0
0%0%99.9%0.1%0%0%0%1
0%0%99.9%0.1%0%0%0%2
50%50%50%0.1%0%0%0%3
50%50%50%0.1%0%0%0%4
62.5%62.4%37.5%0.1%0%0%0%5
66.7%62.4%31.2%0.1%0%6.2%0%6
75%65.6%21.9%0.1%0%12.5%0%7
80%68.7%17.2%0.1%0%14%0%8
85.7%70.2%11.7%0.1%0%18%0%9
88.9%71.8%9%0.1%0%19.1%0%10
92.3%72.6%6%0.1%0%21.3%0%11
94.1%73.4%4.6%0.1%0%22%0%12
Compiler

Compiled 8 to 7 computations (12.5% saved)

sample667.0ms (63.4%)

Memory
-18.6MiB live, 988.7MiB allocated; 125ms collecting garbage
Samples
412.0ms8 256×0valid
12.0ms338×0invalid
Precisions
Click to see histograms. Total time spent on operations: 234.0ms
ival-sqrt: 163.0ms (69.5% of total)
ival-mult!: 50.0ms (21.3% of total)
ival-add!: 20.0ms (8.5% of total)
adjust: 1.0ms (0.4% of total)
Bogosity

explain58.0ms (5.6%)

Memory
5.5MiB live, 64.1MiB allocated; 4ms collecting garbage
FPErrors
Click to see full error table
Ground TruthOverpredictionsExampleUnderpredictionsExampleSubexpression
680-0-(sqrt.f64 (+.f64 (*.f64 x x) y))
00-0-(+.f64 (*.f64 x x) y)
00-0-y
00-0-(*.f64 x x)
00-0-x
Explanations
Click to see full explanations table
OperatorSubexpressionExplanationCount
sqrt.f64(sqrt.f64 (+.f64 (*.f64 x x) y))oflow-rescue680
(+.f64 (*.f64 x x) y)overflow68
(*.f64 x x)overflow68
Confusion
Predicted +Predicted -
+680
-0188
Precision
1.0
Recall
1.0
Confusion?
Predicted +Predicted MaybePredicted -
+6800
-00188
Precision?
1.0
Recall?
1.0
Freqs
test
numberfreq
0188
168
Total Confusion?
Predicted +Predicted MaybePredicted -
+100
-000
Precision?
1.0
Recall?
1.0
Samples
20.0ms512×0valid
Compiler

Compiled 42 to 19 computations (54.8% saved)

Precisions
Click to see histograms. Total time spent on operations: 8.0ms
ival-sqrt: 4.0ms (48.3% of total)
ival-mult!: 3.0ms (36.2% of total)
ival-add!: 1.0ms (12.1% of total)
adjust: 0.0ms (0% of total)

preprocess8.0ms (0.7%)

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

Useful iterations: 0 (0.0ms)

IterNodesCost
01740
13340
28740
313340
417940
518140
Stop Event
saturated
Alt Table
Click to see full alt table
StatusAccuracyProgram
75.4%
(sqrt.f64 (+.f64 (*.f64 x x) y))
Symmetry

(abs x)

Compiler

Compiled 12 to 10 computations (16.7% saved)

series7.0ms (0.7%)

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

6 calls:

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

rewrite83.0ms (7.9%)

Memory
8.4MiB live, 55.2MiB allocated; 2ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

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

eval38.0ms (3.6%)

Memory
-35.6MiB live, 11.6MiB allocated; 2ms collecting garbage
Compiler

Compiled 956 to 207 computations (78.3% saved)

prune2.0ms (0.2%)

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

4 alts after pruning (4 fresh and 0 done)

PrunedKeptTotal
New43447
Fresh000
Picked101
Done000
Total44448
Accuracy
100.0%
Counts
48 → 4
Alt Table
Click to see full alt table
StatusAccuracyProgram
75.4%
(sqrt.f64 (fma.f64 x x y))
35.7%
(sqrt.f64 #s(approx (+ (* x x) y) y))
1.3%
#s(approx (sqrt (+ (* x x) y)) (neg.f64 x))
66.9%
#s(approx (sqrt (+ (* x x) y)) x)
Compiler

Compiled 30 to 23 computations (23.3% saved)

series4.0ms (0.4%)

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

6 calls:

TimeVariablePointExpression
1.0ms
x
@-inf
((sqrt (+ (* x x) y)) x (sqrt (+ (* x x) y)) (neg x) (sqrt (+ (* x x) y)) (+ (* x x) y) y (sqrt (+ (* x x) y)) (+ (* x x) y))
1.0ms
y
@-inf
((sqrt (+ (* x x) y)) x (sqrt (+ (* x x) y)) (neg x) (sqrt (+ (* x x) y)) (+ (* x x) y) y (sqrt (+ (* x x) y)) (+ (* x x) y))
1.0ms
x
@inf
((sqrt (+ (* x x) y)) x (sqrt (+ (* x x) y)) (neg x) (sqrt (+ (* x x) y)) (+ (* x x) y) y (sqrt (+ (* x x) y)) (+ (* x x) y))
0.0ms
y
@inf
((sqrt (+ (* x x) y)) x (sqrt (+ (* x x) y)) (neg x) (sqrt (+ (* x x) y)) (+ (* x x) y) y (sqrt (+ (* x x) y)) (+ (* x x) y))
0.0ms
x
@0
((sqrt (+ (* x x) y)) x (sqrt (+ (* x x) y)) (neg x) (sqrt (+ (* x x) y)) (+ (* x x) y) y (sqrt (+ (* x x) y)) (+ (* x x) y))

rewrite70.0ms (6.6%)

Memory
31.6MiB live, 77.9MiB allocated; 4ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0173761
0176692
0932662
Stop Event
iter-limit
iter-limit
node-limit
iter-limit
Counts
40 → 53
Calls
Call 1
Inputs
#s(approx (sqrt (+ (* x x) y)) x)
x
#s(approx (sqrt (+ (* x x) y)) (neg.f64 x))
(neg.f64 x)
(sqrt.f64 #s(approx (+ (* x x) y) y))
#s(approx (+ (* x x) y) y)
y
(sqrt.f64 (fma.f64 x x y))
(fma.f64 x x y)
#s(approx (sqrt (+ (* x x) y)) #s(hole binary64 (sqrt y)))
#s(approx (sqrt (+ (* x x) y)) #s(hole binary64 (+ (sqrt y) (* 1/2 (* (pow x 2) (sqrt (/ 1 y)))))))
#s(approx (sqrt (+ (* x x) y)) #s(hole binary64 (+ (sqrt y) (* (pow x 2) (+ (* -1/8 (* (pow x 2) (sqrt (/ 1 (pow y 3))))) (* 1/2 (sqrt (/ 1 y))))))))
#s(approx (sqrt (+ (* x x) y)) #s(hole binary64 (+ (sqrt y) (* (pow x 2) (+ (* 1/2 (sqrt (/ 1 y))) (* (pow x 2) (+ (* -1/8 (sqrt (/ 1 (pow y 3)))) (* 1/16 (* (pow x 2) (sqrt (/ 1 (pow y 5))))))))))))
#s(approx x #s(hole binary64 x))
#s(approx (neg x) #s(hole binary64 (* -1 x)))
#s(approx (+ (* x x) y) #s(hole binary64 y))
#s(approx (+ (* x x) y) #s(hole binary64 (+ y (pow x 2))))
#s(approx (sqrt (+ (* x x) y)) #s(hole binary64 x))
#s(approx (sqrt (+ (* x x) y)) #s(hole binary64 (* x (+ 1 (* 1/2 (/ y (pow x 2)))))))
#s(approx (sqrt (+ (* x x) y)) #s(hole binary64 (* x (+ 1 (+ (* -1/8 (/ (pow y 2) (pow x 4))) (* 1/2 (/ y (pow x 2))))))))
#s(approx (sqrt (+ (* x x) y)) #s(hole binary64 (* x (+ 1 (+ (* -1/8 (/ (pow y 2) (pow x 4))) (+ (* 1/16 (/ (pow y 3) (pow x 6))) (* 1/2 (/ y (pow x 2)))))))))
#s(approx (+ (* x x) y) #s(hole binary64 (pow x 2)))
#s(approx (+ (* x x) y) #s(hole binary64 (* (pow x 2) (+ 1 (/ y (pow x 2))))))
#s(approx (sqrt (+ (* x x) y)) #s(hole binary64 (* -1 x)))
#s(approx (sqrt (+ (* x x) y)) #s(hole binary64 (* -1 (* x (+ 1 (* 1/2 (/ y (pow x 2))))))))
#s(approx (sqrt (+ (* x x) y)) #s(hole binary64 (* -1 (* x (+ 1 (+ (* -1/8 (/ (pow y 2) (pow x 4))) (* 1/2 (/ y (pow x 2)))))))))
#s(approx (sqrt (+ (* x x) y)) #s(hole binary64 (* -1 (* x (+ 1 (+ (* -1/8 (/ (pow y 2) (pow x 4))) (+ (* 1/16 (/ (pow y 3) (pow x 6))) (* 1/2 (/ y (pow x 2))))))))))
#s(approx (sqrt (+ (* x x) y)) #s(hole binary64 (+ x (* 1/2 (/ y x)))))
#s(approx (sqrt (+ (* x x) y)) #s(hole binary64 (+ x (* y (+ (* -1/8 (/ y (pow x 3))) (* 1/2 (/ 1 x)))))))
#s(approx (sqrt (+ (* x x) y)) #s(hole binary64 (+ x (* y (+ (* y (- (* 1/16 (/ y (pow x 5))) (* 1/8 (/ 1 (pow x 3))))) (* 1/2 (/ 1 x)))))))
#s(approx y #s(hole binary64 y))
#s(approx (sqrt (+ (* x x) y)) #s(hole binary64 (* y (+ (sqrt (/ 1 y)) (* 1/2 (* (pow x 2) (sqrt (/ 1 (pow y 3)))))))))
#s(approx (sqrt (+ (* x x) y)) #s(hole binary64 (* y (+ (sqrt (/ 1 y)) (+ (* -1/8 (* (pow x 4) (sqrt (/ 1 (pow y 5))))) (* 1/2 (* (pow x 2) (sqrt (/ 1 (pow y 3))))))))))
#s(approx (sqrt (+ (* x x) y)) #s(hole binary64 (* y (+ (sqrt (/ 1 y)) (+ (* -1/8 (* (pow x 4) (sqrt (/ 1 (pow y 5))))) (+ (* 1/16 (* (pow x 6) (sqrt (/ 1 (pow y 7))))) (* 1/2 (* (pow x 2) (sqrt (/ 1 (pow y 3)))))))))))
#s(approx (+ (* x x) y) #s(hole binary64 (* y (+ 1 (/ (pow x 2) y)))))
#s(approx (sqrt (+ (* x x) y)) #s(hole binary64 (* -1 (* (sqrt y) (pow (sqrt -1) 2)))))
#s(approx (sqrt (+ (* x x) y)) #s(hole binary64 (* -1 (* y (+ (* 1/2 (* (pow x 2) (sqrt (/ 1 (pow y 3))))) (* (sqrt (/ 1 y)) (pow (sqrt -1) 2)))))))
#s(approx (sqrt (+ (* x x) y)) #s(hole binary64 (* -1 (* y (+ (* -1/8 (* (/ (pow x 4) (pow (sqrt -1) 2)) (sqrt (/ 1 (pow y 5))))) (+ (* 1/2 (* (pow x 2) (sqrt (/ 1 (pow y 3))))) (* (sqrt (/ 1 y)) (pow (sqrt -1) 2))))))))
#s(approx (sqrt (+ (* x x) y)) #s(hole binary64 (* -1 (* y (+ (* -1/8 (* (/ (pow x 4) (pow (sqrt -1) 2)) (sqrt (/ 1 (pow y 5))))) (+ (* 1/16 (* (/ (pow x 6) (pow (sqrt -1) 4)) (sqrt (/ 1 (pow y 7))))) (+ (* 1/2 (* (pow x 2) (sqrt (/ 1 (pow y 3))))) (* (sqrt (/ 1 y)) (pow (sqrt -1) 2)))))))))
#s(approx (+ (* x x) y) #s(hole binary64 (* -1 (* y (- (* -1 (/ (pow x 2) y)) 1)))))
Outputs
#s(approx (sqrt (+ (* x x) y)) x)
x
#s(approx (sqrt (+ (* x x) y)) (neg.f64 x))
(*.f64 #s(literal -1 binary64) x)
(*.f64 x #s(literal -1 binary64))
(neg.f64 x)
(pow.f64 #s(approx (+ (* x x) y) y) #s(literal 1/2 binary64))
(sqrt.f64 #s(approx (+ (* x x) y) y))
#s(approx (+ (* x x) y) y)
y
(pow.f64 (fma.f64 x x y) #s(literal 1/2 binary64))
(sqrt.f64 (fma.f64 x x y))
(/.f64 (-.f64 (*.f64 (*.f64 x x) (*.f64 x x)) (*.f64 y y)) (-.f64 (*.f64 x x) y))
(/.f64 (-.f64 (*.f64 y y) (*.f64 (*.f64 x x) (*.f64 x x))) (-.f64 y (*.f64 x x)))
(/.f64 (+.f64 (pow.f64 (*.f64 x x) #s(literal 3 binary64)) (*.f64 (*.f64 y y) y)) (fma.f64 (*.f64 x x) (*.f64 x x) (-.f64 (*.f64 y y) (*.f64 (*.f64 x x) y))))
(/.f64 (fma.f64 (*.f64 y y) y (pow.f64 (*.f64 x x) #s(literal 3 binary64))) (fma.f64 y y (-.f64 (*.f64 (*.f64 x x) (*.f64 x x)) (*.f64 y (*.f64 x x)))))
(fma.f64 (pow.f64 x #s(literal 1 binary64)) (pow.f64 x #s(literal 1 binary64)) y)
(fma.f64 (fabs.f64 x) (fabs.f64 x) y)
(fma.f64 (neg.f64 x) (neg.f64 x) y)
(fma.f64 x x y)
(+.f64 (*.f64 x x) y)
(+.f64 y (*.f64 x x))
#s(approx (sqrt (+ (* x x) y)) (sqrt.f64 y))
#s(approx (sqrt (+ (* x x) y)) (fma.f64 (*.f64 #s(literal 1/2 binary64) (*.f64 x x)) (/.f64 #s(literal 1 binary64) (sqrt.f64 y)) (sqrt.f64 y)))
#s(approx (sqrt (+ (* x x) y)) (fma.f64 (fma.f64 (*.f64 (sqrt.f64 (/.f64 #s(literal 1 binary64) (*.f64 (*.f64 y y) y))) (*.f64 x x)) #s(literal -1/8 binary64) (*.f64 (/.f64 #s(literal 1 binary64) (sqrt.f64 y)) #s(literal 1/2 binary64))) (*.f64 x x) (sqrt.f64 y)))
#s(approx (sqrt (+ (* x x) y)) (fma.f64 (fma.f64 (fma.f64 (*.f64 #s(literal 1/16 binary64) (*.f64 x x)) (sqrt.f64 (pow.f64 y #s(literal -5 binary64))) (*.f64 (sqrt.f64 (/.f64 #s(literal 1 binary64) (*.f64 (*.f64 y y) y))) #s(literal -1/8 binary64))) (*.f64 x x) (*.f64 (/.f64 #s(literal 1 binary64) (sqrt.f64 y)) #s(literal 1/2 binary64))) (*.f64 x x) (sqrt.f64 y)))
#s(approx x x)
#s(approx (neg x) (neg.f64 x))
#s(approx (+ (* x x) y) y)
#s(approx (+ (* x x) y) (fma.f64 x x y))
#s(approx (sqrt (+ (* x x) y)) x)
#s(approx (sqrt (+ (* x x) y)) (*.f64 (fma.f64 (/.f64 y (*.f64 x x)) #s(literal 1/2 binary64) #s(literal 1 binary64)) x))
#s(approx (sqrt (+ (* x x) y)) (*.f64 (+.f64 (fma.f64 (/.f64 (*.f64 y y) (*.f64 (*.f64 x x) (*.f64 x x))) #s(literal -1/8 binary64) (*.f64 (/.f64 y (*.f64 x x)) #s(literal 1/2 binary64))) #s(literal 1 binary64)) x))
#s(approx (sqrt (+ (* x x) y)) (*.f64 x (+.f64 (fma.f64 (/.f64 (*.f64 y y) (*.f64 (*.f64 x x) (*.f64 x x))) #s(literal -1/8 binary64) (fma.f64 (/.f64 (*.f64 (*.f64 y y) y) (*.f64 (*.f64 (*.f64 x x) x) (*.f64 (*.f64 x x) x))) #s(literal 1/16 binary64) (*.f64 (/.f64 y (*.f64 x x)) #s(literal 1/2 binary64)))) #s(literal 1 binary64))))
#s(approx (+ (* x x) y) (*.f64 x x))
#s(approx (+ (* x x) y) (*.f64 (+.f64 (/.f64 y (*.f64 x x)) #s(literal 1 binary64)) (*.f64 x x)))
#s(approx (sqrt (+ (* x x) y)) (neg.f64 x))
#s(approx (sqrt (+ (* x x) y)) (*.f64 (neg.f64 x) (fma.f64 (/.f64 y (*.f64 x x)) #s(literal 1/2 binary64) #s(literal 1 binary64))))
#s(approx (sqrt (+ (* x x) y)) (*.f64 (neg.f64 x) (+.f64 (fma.f64 (/.f64 (*.f64 y y) (*.f64 (*.f64 x x) (*.f64 x x))) #s(literal -1/8 binary64) (*.f64 (/.f64 y (*.f64 x x)) #s(literal 1/2 binary64))) #s(literal 1 binary64))))
#s(approx (sqrt (+ (* x x) y)) (neg.f64 (*.f64 x (+.f64 (fma.f64 (/.f64 (*.f64 y y) (*.f64 (*.f64 x x) (*.f64 x x))) #s(literal -1/8 binary64) (fma.f64 (/.f64 (*.f64 (*.f64 y y) y) (*.f64 (*.f64 (*.f64 x x) x) (*.f64 (*.f64 x x) x))) #s(literal 1/16 binary64) (*.f64 (/.f64 y (*.f64 x x)) #s(literal 1/2 binary64)))) #s(literal 1 binary64)))))
#s(approx (sqrt (+ (* x x) y)) (fma.f64 (/.f64 y x) #s(literal 1/2 binary64) x))
#s(approx (sqrt (+ (* x x) y)) (fma.f64 (fma.f64 (/.f64 y (*.f64 (*.f64 x x) x)) #s(literal -1/8 binary64) (/.f64 #s(literal 1/2 binary64) x)) y x))
#s(approx (sqrt (+ (* x x) y)) (fma.f64 (fma.f64 (-.f64 (*.f64 (/.f64 y (pow.f64 x #s(literal 5 binary64))) #s(literal 1/16 binary64)) (/.f64 #s(literal 1/8 binary64) (*.f64 (*.f64 x x) x))) y (/.f64 #s(literal 1/2 binary64) x)) y x))
#s(approx y y)
#s(approx (sqrt (+ (* x x) y)) (*.f64 (fma.f64 (*.f64 (sqrt.f64 (/.f64 #s(literal 1 binary64) (*.f64 (*.f64 y y) y))) (*.f64 x x)) #s(literal 1/2 binary64) (/.f64 #s(literal 1 binary64) (sqrt.f64 y))) y))
#s(approx (sqrt (+ (* x x) y)) (*.f64 y (+.f64 (fma.f64 (*.f64 #s(literal -1/8 binary64) (*.f64 (*.f64 x x) (*.f64 x x))) (sqrt.f64 (pow.f64 y #s(literal -5 binary64))) (*.f64 (*.f64 (sqrt.f64 (/.f64 #s(literal 1 binary64) (*.f64 (*.f64 y y) y))) (*.f64 x x)) #s(literal 1/2 binary64))) (/.f64 #s(literal 1 binary64) (sqrt.f64 y)))))
#s(approx (sqrt (+ (* x x) y)) (*.f64 (+.f64 (fma.f64 (*.f64 #s(literal -1/8 binary64) (*.f64 (*.f64 x x) (*.f64 x x))) (sqrt.f64 (pow.f64 y #s(literal -5 binary64))) (fma.f64 (*.f64 #s(literal 1/16 binary64) (*.f64 (*.f64 (*.f64 x x) x) (*.f64 (*.f64 x x) x))) (sqrt.f64 (pow.f64 y #s(literal -7 binary64))) (*.f64 (*.f64 (sqrt.f64 (/.f64 #s(literal 1 binary64) (*.f64 (*.f64 y y) y))) (*.f64 x x)) #s(literal 1/2 binary64)))) (/.f64 #s(literal 1 binary64) (sqrt.f64 y))) y))
#s(approx (+ (* x x) y) (*.f64 (+.f64 (/.f64 (*.f64 x x) y) #s(literal 1 binary64)) y))
#s(approx (sqrt (+ (* x x) y)) (neg.f64 (*.f64 #s(literal -1 binary64) (sqrt.f64 y))))
#s(approx (sqrt (+ (* x x) y)) (neg.f64 (*.f64 (fma.f64 (*.f64 (sqrt.f64 (/.f64 #s(literal 1 binary64) (*.f64 (*.f64 y y) y))) (*.f64 x x)) #s(literal 1/2 binary64) (*.f64 #s(literal -1 binary64) (/.f64 #s(literal 1 binary64) (sqrt.f64 y)))) y)))
#s(approx (sqrt (+ (* x x) y)) (neg.f64 (*.f64 (fma.f64 (*.f64 #s(literal -1/8 binary64) (/.f64 (*.f64 (*.f64 x x) (*.f64 x x)) #s(literal -1 binary64))) (sqrt.f64 (pow.f64 y #s(literal -5 binary64))) (fma.f64 (*.f64 (sqrt.f64 (/.f64 #s(literal 1 binary64) (*.f64 (*.f64 y y) y))) (*.f64 x x)) #s(literal 1/2 binary64) (*.f64 #s(literal -1 binary64) (/.f64 #s(literal 1 binary64) (sqrt.f64 y))))) y)))
#s(approx (sqrt (+ (* x x) y)) (neg.f64 (*.f64 (fma.f64 (*.f64 #s(literal -1/8 binary64) (/.f64 (*.f64 (*.f64 x x) (*.f64 x x)) #s(literal -1 binary64))) (sqrt.f64 (pow.f64 y #s(literal -5 binary64))) (fma.f64 (/.f64 (*.f64 (*.f64 (*.f64 (*.f64 x x) x) (*.f64 (*.f64 x x) x)) (sqrt.f64 (pow.f64 y #s(literal -7 binary64)))) #s(literal 1 binary64)) #s(literal 1/16 binary64) (fma.f64 (*.f64 (sqrt.f64 (/.f64 #s(literal 1 binary64) (*.f64 (*.f64 y y) y))) (*.f64 x x)) #s(literal 1/2 binary64) (*.f64 #s(literal -1 binary64) (/.f64 #s(literal 1 binary64) (sqrt.f64 y)))))) y)))
#s(approx (+ (* x x) y) (neg.f64 (*.f64 (-.f64 (neg.f64 (/.f64 (*.f64 x x) y)) #s(literal 1 binary64)) y)))

eval13.0ms (1.2%)

Memory
-32.0MiB live, 16.3MiB allocated; 5ms collecting garbage
Compiler

Compiled 951 to 195 computations (79.5% saved)

prune3.0ms (0.3%)

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

4 alts after pruning (0 fresh and 4 done)

PrunedKeptTotal
New45045
Fresh000
Picked044
Done000
Total45449
Accuracy
100.0%
Counts
49 → 4
Alt Table
Click to see full alt table
StatusAccuracyProgram
75.4%
(sqrt.f64 (fma.f64 x x y))
35.7%
(sqrt.f64 #s(approx (+ (* x x) y) y))
1.3%
#s(approx (sqrt (+ (* x x) y)) (neg.f64 x))
66.9%
#s(approx (sqrt (+ (* x x) y)) x)
Compiler

Compiled 66 to 38 computations (42.4% saved)

regimes10.0ms (1%)

Memory
21.6MiB live, 21.6MiB allocated; 0ms collecting garbage
Counts
5 → 2
Calls
Call 1
Inputs
#s(approx (sqrt (+ (* x x) y)) x)
#s(approx (sqrt (+ (* x x) y)) (neg.f64 x))
(sqrt.f64 #s(approx (+ (* x x) y) y))
(sqrt.f64 (fma.f64 x x y))
(sqrt.f64 (+.f64 (*.f64 x x) y))
Outputs
(sqrt.f64 (fma.f64 x x y))
#s(approx (sqrt (+ (* x x) y)) x)
Calls

5 calls:

2.0ms
y
2.0ms
x
2.0ms
(sqrt.f64 (+.f64 (*.f64 x x) y))
2.0ms
(+.f64 (*.f64 x x) y)
2.0ms
(*.f64 x x)
Results
AccuracySegmentsBranch
100.0%2(*.f64 x x)
100.0%2(+.f64 (*.f64 x x) y)
100.0%2(sqrt.f64 (+.f64 (*.f64 x x) y))
100.0%2x
85.5%2y
Compiler

Compiled 16 to 16 computations (0% saved)

regimes19.0ms (1.8%)

Memory
-32.3MiB live, 15.1MiB allocated; 1ms collecting garbage
Counts
3 → 2
Calls
Call 1
Inputs
#s(approx (sqrt (+ (* x x) y)) x)
#s(approx (sqrt (+ (* x x) y)) (neg.f64 x))
(sqrt.f64 #s(approx (+ (* x x) y) y))
Outputs
(sqrt.f64 #s(approx (+ (* x x) y) y))
#s(approx (sqrt (+ (* x x) y)) x)
Calls

4 calls:

14.0ms
(sqrt.f64 (+.f64 (*.f64 x x) y))
2.0ms
(+.f64 (*.f64 x x) y)
1.0ms
x
1.0ms
(*.f64 x x)
Results
AccuracySegmentsBranch
89.4%2(*.f64 x x)
74.7%4(+.f64 (*.f64 x x) y)
74.7%4(sqrt.f64 (+.f64 (*.f64 x x) y))
89.4%2x
Compiler

Compiled 15 to 14 computations (6.7% saved)

regimes6.0ms (0.6%)

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

Total -42.0b remaining (-198%)

Threshold costs -42b (-198%)

Counts
2 → 1
Calls
Call 1
Inputs
#s(approx (sqrt (+ (* x x) y)) x)
#s(approx (sqrt (+ (* x x) y)) (neg.f64 x))
Outputs
#s(approx (sqrt (+ (* x x) y)) x)
Calls

5 calls:

1.0ms
x
1.0ms
y
1.0ms
(+.f64 (*.f64 x x) y)
1.0ms
(sqrt.f64 (+.f64 (*.f64 x x) y))
1.0ms
(*.f64 x x)
Results
AccuracySegmentsBranch
66.9%1(+.f64 (*.f64 x x) y)
66.9%1(sqrt.f64 (+.f64 (*.f64 x x) y))
66.9%1y
66.9%1(*.f64 x x)
66.9%1x
Compiler

Compiled 16 to 16 computations (0% saved)

bsearch6.0ms (0.6%)

Memory
11.2MiB live, 11.2MiB allocated; 0ms collecting garbage
Algorithm
binary-search
Stop Event
narrow-enough
Steps
TimeLeftRight
5.0ms
1.1047925476798253e+105
2.563944158441548e+105
Samples
3.0ms80×0valid
Compiler

Compiled 74 to 70 computations (5.4% saved)

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

bsearch4.0ms (0.4%)

Memory
8.3MiB live, 8.3MiB allocated; 0ms collecting garbage
Algorithm
binary-search
Stop Event
narrow-enough
Steps
TimeLeftRight
4.0ms
4.2492160332498604e-83
5.823610309025967e-83
Samples
2.0ms48×0valid
0.0ms0invalid
Compiler

Compiled 57 to 52 computations (8.8% saved)

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

derivations7.0ms (0.7%)

Memory
-36.5MiB live, 11.1MiB allocated; 2ms collecting garbage
Stop Event
done
Compiler

Compiled 45 to 16 computations (64.4% saved)

preprocess23.0ms (2.2%)

Memory
27.6MiB live, 72.7MiB allocated; 3ms collecting garbage
Compiler

Compiled 192 to 98 computations (49% saved)

end0.0ms (0%)

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

Profiling

Loading profile data...