Linear.Quaternion:$clog from linear-1.19.1.3

Time bar (total: 1.6s)

start0.0ms (0%)

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

analyze25.0ms (1.6%)

Memory
6.0MiB live, 52.9MiB allocated; 12ms 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)

sample775.0ms (48.1%)

Memory
7.8MiB live, 1 197.4MiB allocated; 350ms collecting garbage
Samples
492.0ms8 256×0valid
15.0ms314×0invalid
Precisions
Click to see histograms. Total time spent on operations: 283.0ms
ival-mult: 160.0ms (56.6% of total)
ival-sqrt: 62.0ms (21.9% of total)
ival-add: 51.0ms (18% of total)
ival-true: 5.0ms (1.8% of total)
ival-assert: 3.0ms (1.1% of total)
adjust: 2.0ms (0.7% of total)
Bogosity

explain63.0ms (3.9%)

Memory
-10.7MiB live, 136.1MiB allocated; 11ms collecting garbage
FPErrors
Click to see full error table
Ground TruthOverpredictionsExampleUnderpredictionsExampleSubexpression
900-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-rescue900
(+.f64 (*.f64 x x) y)overflow90
(*.f64 x x)overflow90
Confusion
Predicted +Predicted -
+900
-0166
Precision
1.0
Recall
1.0
Confusion?
Predicted +Predicted MaybePredicted -
+9000
-00166
Precision?
1.0
Recall?
1.0
Freqs
test
numberfreq
0166
190
Total Confusion?
Predicted +Predicted MaybePredicted -
+100
-000
Precision?
1.0
Recall?
1.0
Samples
23.0ms512×0valid
Compiler

Compiled 42 to 19 computations (54.8% saved)

Precisions
Click to see histograms. Total time spent on operations: 11.0ms
ival-mult: 4.0ms (37.4% of total)
ival-sqrt: 3.0ms (28.1% of total)
ival-add: 2.0ms (18.7% of total)
ival-true: 1.0ms (9.4% of total)
adjust: 0.0ms (0% of total)
ival-assert: 0.0ms (0% of total)

preprocess18.0ms (1.1%)

Memory
-16.2MiB live, 30.5MiB allocated; 6ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01740
13340
28740
313340
417940
518140
056
086
1136
2326
3596
4746
0745
Stop Event
iter limit
saturated
iter limit
saturated
Calls
Call 1
Inputs
(sqrt.f64 (+.f64 (*.f64 x x) y))
Outputs
(sqrt.f64 (+.f64 (*.f64 x x) y))
(sqrt.f64 (fma.f64 x x y))
Symmetry

(abs x)

Compiler

Compiled 6 to 5 computations (16.7% saved)

eval0.0ms (0%)

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

Compiled 0 to 2 computations (-∞% saved)

prune0.0ms (0%)

Memory
0.7MiB live, 0.7MiB allocated; 0ms collecting garbage
Alt Table
Click to see full alt table
StatusAccuracyProgram
67.3%
(sqrt.f64 (+.f64 (*.f64 x x) y))
Compiler

Compiled 6 to 5 computations (16.7% saved)

series7.0ms (0.4%)

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

simplify157.0ms (9.7%)

Memory
28.0MiB live, 168.8MiB allocated; 13ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0167727
1457712
21913691
07007624
Stop Event
iter limit
iter limit
node limit
Counts
31 → 31
Calls
Call 1
Inputs
#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
#s(approx (sqrt (+ (* x x) y)) #s(hole binary64 (sqrt y)))
#s(approx (sqrt (+ (* x x) y)) (sqrt.f64 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)) (fma.f64 (*.f64 (*.f64 x x) #s(literal 1/2 binary64)) (sqrt.f64 (/.f64 #s(literal 1 binary64) y)) (sqrt.f64 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)) (fma.f64 (fma.f64 (*.f64 #s(literal -1/8 binary64) (*.f64 x x)) (sqrt.f64 (/.f64 #s(literal 1 binary64) (pow.f64 y #s(literal 3 binary64)))) (*.f64 (sqrt.f64 (/.f64 #s(literal 1 binary64) y)) #s(literal 1/2 binary64))) (*.f64 x x) (sqrt.f64 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 (sqrt (+ (* x x) y)) (fma.f64 (pow.f64 x #s(literal 4 binary64)) (fma.f64 (*.f64 #s(literal 1/16 binary64) (*.f64 x x)) (sqrt.f64 (/.f64 #s(literal 1 binary64) (pow.f64 y #s(literal 5 binary64)))) (*.f64 (sqrt.f64 (/.f64 #s(literal 1 binary64) (pow.f64 y #s(literal 3 binary64)))) #s(literal -1/8 binary64))) (fma.f64 (*.f64 (*.f64 x x) #s(literal 1/2 binary64)) (sqrt.f64 (/.f64 #s(literal 1 binary64) y)) (sqrt.f64 y))))
#s(approx (+ (* x x) y) #s(hole binary64 y))
#s(approx (+ (* x x) y) y)
#s(approx (+ (* x x) y) #s(hole binary64 (+ y (pow x 2))))
#s(approx (+ (* x x) y) (fma.f64 x x y))
#s(approx (* x x) #s(hole binary64 (pow x 2)))
#s(approx (* x x) (*.f64 x x))
#s(approx x #s(hole binary64 x))
#s(approx x x)
#s(approx (sqrt (+ (* x x) y)) #s(hole binary64 x))
#s(approx (sqrt (+ (* x x) y)) x)
#s(approx (sqrt (+ (* x x) y)) #s(hole binary64 (* x (+ 1 (* 1/2 (/ y (pow x 2)))))))
#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)) #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)) (*.f64 (fma.f64 (*.f64 #s(literal -1/8 binary64) y) (/.f64 y (pow.f64 x #s(literal 4 binary64))) (fma.f64 (/.f64 y (*.f64 x x)) #s(literal 1/2 binary64) #s(literal 1 binary64))) x))
#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 (sqrt (+ (* x x) y)) (*.f64 (fma.f64 (pow.f64 y #s(literal 3 binary64)) (/.f64 #s(literal 1/16 binary64) (pow.f64 x #s(literal 6 binary64))) (fma.f64 (*.f64 #s(literal -1/8 binary64) y) (/.f64 y (pow.f64 x #s(literal 4 binary64))) (fma.f64 (/.f64 y (*.f64 x x)) #s(literal 1/2 binary64) #s(literal 1 binary64)))) x))
#s(approx (+ (* x x) y) #s(hole binary64 (pow x 2)))
#s(approx (+ (* x x) y) (*.f64 x x))
#s(approx (+ (* x x) y) #s(hole binary64 (* (pow x 2) (+ 1 (/ y (pow x 2))))))
#s(approx (+ (* x x) y) (*.f64 (fma.f64 (/.f64 y (*.f64 x x)) x x) x))
#s(approx (sqrt (+ (* x x) y)) #s(hole binary64 (* -1 x)))
#s(approx (sqrt (+ (* x x) y)) (neg.f64 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)) (*.f64 (fma.f64 (/.f64 #s(literal -1/2 binary64) x) (/.f64 y x) #s(literal -1 binary64)) x))
#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)) (*.f64 (fma.f64 #s(literal 1/8 binary64) (*.f64 (/.f64 y (pow.f64 x #s(literal 4 binary64))) y) (fma.f64 (/.f64 #s(literal -1/2 binary64) x) (/.f64 y x) #s(literal -1 binary64))) x))
#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)) (*.f64 (neg.f64 x) (fma.f64 (pow.f64 y #s(literal 3 binary64)) (/.f64 #s(literal 1/16 binary64) (pow.f64 x #s(literal 6 binary64))) (fma.f64 (*.f64 #s(literal -1/8 binary64) y) (/.f64 y (pow.f64 x #s(literal 4 binary64))) (fma.f64 (/.f64 y (*.f64 x x)) #s(literal 1/2 binary64) #s(literal 1 binary64))))))
#s(approx (sqrt (+ (* x x) y)) #s(hole binary64 (+ x (* 1/2 (/ y x)))))
#s(approx (sqrt (+ (* x x) y)) (fma.f64 (/.f64 #s(literal 1/2 binary64) x) 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)) (fma.f64 (fma.f64 (/.f64 y (pow.f64 x #s(literal 3 binary64))) #s(literal -1/8 binary64) (/.f64 #s(literal 1/2 binary64) x)) y 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 (sqrt (+ (* x x) y)) (fma.f64 (fma.f64 (fma.f64 (/.f64 y (pow.f64 x #s(literal 5 binary64))) #s(literal 1/16 binary64) (/.f64 #s(literal -1/8 binary64) (pow.f64 x #s(literal 3 binary64)))) y (/.f64 #s(literal 1/2 binary64) x)) y x))
#s(approx y #s(hole binary64 y))
#s(approx y 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)) (*.f64 (fma.f64 (*.f64 (*.f64 x x) #s(literal 1/2 binary64)) (sqrt.f64 (/.f64 #s(literal 1 binary64) (pow.f64 y #s(literal 3 binary64)))) (sqrt.f64 (/.f64 #s(literal 1 binary64) y))) y))
#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)) (*.f64 (fma.f64 (*.f64 (pow.f64 x #s(literal 4 binary64)) #s(literal -1/8 binary64)) (sqrt.f64 (/.f64 #s(literal 1 binary64) (pow.f64 y #s(literal 5 binary64)))) (fma.f64 (*.f64 (*.f64 x x) #s(literal 1/2 binary64)) (sqrt.f64 (/.f64 #s(literal 1 binary64) (pow.f64 y #s(literal 3 binary64)))) (sqrt.f64 (/.f64 #s(literal 1 binary64) y)))) y))
#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 (sqrt (+ (* x x) y)) (*.f64 (fma.f64 (*.f64 (pow.f64 x #s(literal 6 binary64)) #s(literal 1/16 binary64)) (sqrt.f64 (/.f64 #s(literal 1 binary64) (pow.f64 y #s(literal 7 binary64)))) (fma.f64 (*.f64 (pow.f64 x #s(literal 4 binary64)) #s(literal -1/8 binary64)) (sqrt.f64 (/.f64 #s(literal 1 binary64) (pow.f64 y #s(literal 5 binary64)))) (fma.f64 (*.f64 (*.f64 x x) #s(literal 1/2 binary64)) (sqrt.f64 (/.f64 #s(literal 1 binary64) (pow.f64 y #s(literal 3 binary64)))) (sqrt.f64 (/.f64 #s(literal 1 binary64) y))))) y))
#s(approx (+ (* x x) y) #s(hole binary64 (* y (+ 1 (/ (pow x 2) y)))))
#s(approx (+ (* x x) y) (fma.f64 (/.f64 (*.f64 x x) y) y y))
#s(approx (sqrt (+ (* x x) y)) #s(hole binary64 (* -1 (* (sqrt y) (pow (sqrt -1) 2)))))
#s(approx (sqrt (+ (* x x) y)) (sqrt.f64 y))
#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)) (*.f64 (fma.f64 (*.f64 #s(literal -1/2 binary64) (*.f64 x x)) (sqrt.f64 (/.f64 #s(literal 1 binary64) (pow.f64 y #s(literal 3 binary64)))) (sqrt.f64 (/.f64 #s(literal 1 binary64) y))) y))
#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)) (*.f64 (fma.f64 (*.f64 (pow.f64 x #s(literal 4 binary64)) #s(literal -1/8 binary64)) (sqrt.f64 (/.f64 #s(literal 1 binary64) (pow.f64 y #s(literal 5 binary64)))) (fma.f64 (*.f64 #s(literal -1/2 binary64) (*.f64 x x)) (sqrt.f64 (/.f64 #s(literal 1 binary64) (pow.f64 y #s(literal 3 binary64)))) (sqrt.f64 (/.f64 #s(literal 1 binary64) y)))) y))
#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 (sqrt (+ (* x x) y)) (*.f64 (fma.f64 (*.f64 #s(literal -1/16 binary64) (pow.f64 x #s(literal 6 binary64))) (sqrt.f64 (/.f64 #s(literal 1 binary64) (pow.f64 y #s(literal 7 binary64)))) (fma.f64 (*.f64 (pow.f64 x #s(literal 4 binary64)) #s(literal -1/8 binary64)) (sqrt.f64 (/.f64 #s(literal 1 binary64) (pow.f64 y #s(literal 5 binary64)))) (fma.f64 (*.f64 #s(literal -1/2 binary64) (*.f64 x x)) (sqrt.f64 (/.f64 #s(literal 1 binary64) (pow.f64 y #s(literal 3 binary64)))) (sqrt.f64 (/.f64 #s(literal 1 binary64) y))))) y))
#s(approx (+ (* x x) y) #s(hole binary64 (* -1 (* y (- (* -1 (/ (pow x 2) y)) 1)))))
#s(approx (+ (* x x) y) (*.f64 (neg.f64 y) (fma.f64 (neg.f64 x) (/.f64 x y) #s(literal -1 binary64))))

rewrite57.0ms (3.5%)

Memory
13.4MiB live, 58.7MiB allocated; 7ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0516
0816
13016
021514
Stop Event
iter limit
iter limit
iter limit
unsound
iter limit
Counts
5 → 43
Calls
Call 1
Inputs
(sqrt.f64 (+.f64 (*.f64 x x) y))
(+.f64 (*.f64 x x) y)
(*.f64 x x)
x
y
Outputs
(*.f64 (pow.f64 (fma.f64 x x y) #s(literal 1/4 binary64)) (pow.f64 (fma.f64 x x y) #s(literal 1/4 binary64)))
(pow.f64 (fma.f64 x x y) #s(literal 1/2 binary64))
(/.f64 (sqrt.f64 (-.f64 (pow.f64 x #s(literal 4 binary64)) (*.f64 y y))) (sqrt.f64 (-.f64 (*.f64 x x) y)))
(/.f64 (hypot.f64 (pow.f64 y #s(literal 3/2 binary64)) (pow.f64 x #s(literal 3 binary64))) (sqrt.f64 (fma.f64 y (-.f64 y (*.f64 x x)) (pow.f64 x #s(literal 4 binary64)))))
(sqrt.f64 (fma.f64 x x y))
(exp.f64 (*.f64 (log.f64 (fma.f64 x x y)) #s(literal 1/2 binary64)))
(/.f64 (-.f64 (*.f64 y y) (pow.f64 x #s(literal 4 binary64))) (-.f64 y (*.f64 x x)))
(/.f64 (neg.f64 (-.f64 (pow.f64 x #s(literal 4 binary64)) (*.f64 y y))) (neg.f64 (-.f64 (*.f64 x x) y)))
(/.f64 (neg.f64 (+.f64 (pow.f64 y #s(literal 3 binary64)) (pow.f64 x #s(literal 6 binary64)))) (neg.f64 (fma.f64 y (-.f64 y (*.f64 x x)) (pow.f64 x #s(literal 4 binary64)))))
(/.f64 (-.f64 (pow.f64 x #s(literal 4 binary64)) (*.f64 y y)) (-.f64 (*.f64 x x) y))
(/.f64 (+.f64 (pow.f64 y #s(literal 3 binary64)) (pow.f64 x #s(literal 6 binary64))) (fma.f64 y y (-.f64 (pow.f64 x #s(literal 4 binary64)) (*.f64 y (*.f64 x x)))))
(/.f64 (+.f64 (pow.f64 y #s(literal 3 binary64)) (pow.f64 x #s(literal 6 binary64))) (fma.f64 y (-.f64 y (*.f64 x x)) (pow.f64 x #s(literal 4 binary64))))
(fma.f64 (pow.f64 x #s(literal 1 binary64)) (pow.f64 x #s(literal 1 binary64)) y)
(fma.f64 (neg.f64 (neg.f64 x)) (neg.f64 (neg.f64 x)) y)
(fma.f64 (neg.f64 (fabs.f64 x)) (neg.f64 (fabs.f64 x)) y)
(fma.f64 (fabs.f64 (fabs.f64 x)) (fabs.f64 (fabs.f64 x)) 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 (pow.f64 x #s(literal 4 binary64)) (-.f64 (*.f64 x x) y)) (/.f64 (*.f64 y y) (-.f64 (*.f64 x x) y)))
(-.f64 y (*.f64 (neg.f64 (neg.f64 x)) (neg.f64 x)))
(-.f64 y (*.f64 (neg.f64 (fabs.f64 x)) (fabs.f64 x)))
(-.f64 y (*.f64 (neg.f64 x) x))
(-.f64 y (*.f64 x (neg.f64 x)))
(+.f64 (/.f64 (pow.f64 x #s(literal 6 binary64)) (fma.f64 y (-.f64 y (*.f64 x x)) (pow.f64 x #s(literal 4 binary64)))) (/.f64 (pow.f64 y #s(literal 3 binary64)) (fma.f64 y (-.f64 y (*.f64 x x)) (pow.f64 x #s(literal 4 binary64)))))
(+.f64 y (*.f64 x x))
(+.f64 (*.f64 x x) y)
(*.f64 (pow.f64 x #s(literal 1 binary64)) (pow.f64 x #s(literal 1 binary64)))
(*.f64 (neg.f64 (neg.f64 x)) (neg.f64 (neg.f64 x)))
(*.f64 (neg.f64 (fabs.f64 x)) (neg.f64 (fabs.f64 x)))
(*.f64 (fabs.f64 (fabs.f64 x)) (fabs.f64 (fabs.f64 x)))
(*.f64 (neg.f64 x) (neg.f64 x))
(*.f64 (fabs.f64 x) (fabs.f64 x))
(*.f64 x x)
(pow.f64 (neg.f64 x) #s(literal 2 binary64))
(pow.f64 (fabs.f64 x) #s(literal 2 binary64))
(pow.f64 x #s(literal 2 binary64))
(neg.f64 (*.f64 (neg.f64 x) x))
(neg.f64 (*.f64 x (neg.f64 x)))
(fabs.f64 (*.f64 x x))
(exp.f64 (*.f64 (log.f64 x) #s(literal 2 binary64)))
x
y

eval21.0ms (1.3%)

Memory
-24.2MiB live, 21.4MiB allocated; 8ms collecting garbage
Compiler

Compiled 1 121 to 270 computations (75.9% saved)

prune3.0ms (0.2%)

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

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New72375
Fresh000
Picked101
Done000
Total73376
Accuracy
100.0%
Counts
76 → 3
Alt Table
Click to see full alt table
StatusAccuracyProgram
67.3%
(sqrt.f64 (fma.f64 x x y))
35.1%
(sqrt.f64 #s(approx (+ (* x x) y) y))
67.9%
#s(approx (sqrt (+ (* x x) y)) x)
Compiler

Compiled 21 to 16 computations (23.8% saved)

series3.0ms (0.2%)

Memory
5.8MiB live, 5.8MiB allocated; 0ms collecting garbage
Counts
7 → 30
Calls
Call 1
Inputs
#s(approx (sqrt (+ (* x x) y)) x)
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 (+ (* 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
y
@-inf
((sqrt (+ (* x x) y)) 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)) (+ (* x x) y) y (sqrt (+ (* x x) y)) (+ (* x x) y))
1.0ms
x
@-inf
((sqrt (+ (* x x) y)) 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)) (+ (* x x) y) y (sqrt (+ (* x x) y)) (+ (* x x) y))
0.0ms
x
@0
((sqrt (+ (* x x) y)) x (sqrt (+ (* x x) y)) (+ (* x x) y) y (sqrt (+ (* x x) y)) (+ (* x x) y))

simplify216.0ms (13.4%)

Memory
-9.2MiB live, 138.6MiB allocated; 16ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

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

rewrite63.0ms (3.9%)

Memory
-15.5MiB live, 31.6MiB allocated; 2ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01031
01331
13631
022631
Stop Event
iter limit
iter limit
iter limit
unsound
iter limit
Counts
7 → 35
Calls
Call 1
Inputs
#s(approx (sqrt (+ (* x x) y)) x)
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)) x)
x
(*.f64 (pow.f64 #s(approx (+ (* x x) y) y) #s(literal 1/4 binary64)) (pow.f64 #s(approx (+ (* x x) y) y) #s(literal 1/4 binary64)))
(pow.f64 #s(approx (+ (* x x) y) y) #s(literal 1/2 binary64))
(sqrt.f64 #s(approx (+ (* x x) y) y))
(exp.f64 (*.f64 (log.f64 #s(approx (+ (* x x) y) y)) #s(literal 1/2 binary64)))
#s(approx (+ (* x x) y) y)
y
(*.f64 (pow.f64 (fma.f64 x x y) #s(literal 1/4 binary64)) (pow.f64 (fma.f64 x x y) #s(literal 1/4 binary64)))
(pow.f64 (fma.f64 x x y) #s(literal 1/2 binary64))
(/.f64 (sqrt.f64 (-.f64 (pow.f64 x #s(literal 4 binary64)) (*.f64 y y))) (sqrt.f64 (-.f64 (*.f64 x x) y)))
(/.f64 (hypot.f64 (pow.f64 y #s(literal 3/2 binary64)) (pow.f64 x #s(literal 3 binary64))) (sqrt.f64 (fma.f64 y (-.f64 y (*.f64 x x)) (pow.f64 x #s(literal 4 binary64)))))
(sqrt.f64 (fma.f64 x x y))
(exp.f64 (*.f64 (log.f64 (fma.f64 x x y)) #s(literal 1/2 binary64)))
(/.f64 (-.f64 (*.f64 y y) (pow.f64 x #s(literal 4 binary64))) (-.f64 y (*.f64 x x)))
(/.f64 (neg.f64 (-.f64 (pow.f64 x #s(literal 4 binary64)) (*.f64 y y))) (neg.f64 (-.f64 (*.f64 x x) y)))
(/.f64 (neg.f64 (+.f64 (pow.f64 y #s(literal 3 binary64)) (pow.f64 x #s(literal 6 binary64)))) (neg.f64 (fma.f64 y (-.f64 y (*.f64 x x)) (pow.f64 x #s(literal 4 binary64)))))
(/.f64 (-.f64 (pow.f64 x #s(literal 4 binary64)) (*.f64 y y)) (-.f64 (*.f64 x x) y))
(/.f64 (+.f64 (pow.f64 y #s(literal 3 binary64)) (pow.f64 x #s(literal 6 binary64))) (fma.f64 y y (-.f64 (pow.f64 x #s(literal 4 binary64)) (*.f64 y (*.f64 x x)))))
(/.f64 (+.f64 (pow.f64 y #s(literal 3 binary64)) (pow.f64 x #s(literal 6 binary64))) (fma.f64 y (-.f64 y (*.f64 x x)) (pow.f64 x #s(literal 4 binary64))))
(fma.f64 (pow.f64 x #s(literal 1 binary64)) (pow.f64 x #s(literal 1 binary64)) y)
(fma.f64 (neg.f64 (neg.f64 x)) (neg.f64 (neg.f64 x)) y)
(fma.f64 (neg.f64 (fabs.f64 x)) (neg.f64 (fabs.f64 x)) y)
(fma.f64 (fabs.f64 (fabs.f64 x)) (fabs.f64 (fabs.f64 x)) 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 (pow.f64 x #s(literal 4 binary64)) (-.f64 (*.f64 x x) y)) (/.f64 (*.f64 y y) (-.f64 (*.f64 x x) y)))
(-.f64 y (*.f64 (neg.f64 (neg.f64 x)) (neg.f64 x)))
(-.f64 y (*.f64 (neg.f64 (fabs.f64 x)) (fabs.f64 x)))
(-.f64 y (*.f64 (neg.f64 x) x))
(-.f64 y (*.f64 x (neg.f64 x)))
(+.f64 (/.f64 (pow.f64 x #s(literal 6 binary64)) (fma.f64 y (-.f64 y (*.f64 x x)) (pow.f64 x #s(literal 4 binary64)))) (/.f64 (pow.f64 y #s(literal 3 binary64)) (fma.f64 y (-.f64 y (*.f64 x x)) (pow.f64 x #s(literal 4 binary64)))))
(+.f64 y (*.f64 x x))
(+.f64 (*.f64 x x) y)

eval7.0ms (0.4%)

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

Compiled 1 075 to 233 computations (78.3% saved)

prune3.0ms (0.2%)

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

3 alts after pruning (0 fresh and 3 done)

PrunedKeptTotal
New68068
Fresh000
Picked033
Done000
Total68371
Accuracy
100.0%
Counts
71 → 3
Alt Table
Click to see full alt table
StatusAccuracyProgram
67.3%
(sqrt.f64 (fma.f64 x x y))
35.1%
(sqrt.f64 #s(approx (+ (* x x) y) y))
67.9%
#s(approx (sqrt (+ (* x x) y)) x)
Compiler

Compiled 48 to 29 computations (39.6% saved)

regimes32.0ms (2%)

Memory
-30.4MiB live, 24.5MiB allocated; 9ms collecting garbage
Counts
4 → 2
Calls
Call 1
Inputs
#s(approx (sqrt (+ (* x x) y)) 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:

25.0ms
(+.f64 (*.f64 x x) y)
2.0ms
y
2.0ms
x
2.0ms
(sqrt.f64 (+.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
83.1%2y
Compiler

Compiled 16 to 16 computations (0% saved)

regimes5.0ms (0.3%)

Memory
13.0MiB live, 13.0MiB allocated; 0ms collecting garbage
Counts
2 → 2
Calls
Call 1
Inputs
#s(approx (sqrt (+ (* x x) y)) 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:

1.0ms
(sqrt.f64 (+.f64 (*.f64 x x) y))
1.0ms
x
1.0ms
(+.f64 (*.f64 x x) y)
1.0ms
(*.f64 x x)
Results
AccuracySegmentsBranch
91.0%2(*.f64 x x)
76.6%4(+.f64 (*.f64 x x) y)
76.6%4(sqrt.f64 (+.f64 (*.f64 x x) y))
91.0%2x
Compiler

Compiled 15 to 14 computations (6.7% saved)

regimes5.0ms (0.3%)

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

5 calls:

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

Compiled 16 to 16 computations (0% saved)

bsearch4.0ms (0.3%)

Memory
5.5MiB live, 5.5MiB allocated; 0ms collecting garbage
Algorithm
binary-search
Stop Event
predicate-same
Steps
TimeLeftRight
4.0ms
2.61453295133907e+134
9.681159843186478e+139
Samples
2.0ms48×0valid
0.0ms0invalid
Compiler

Compiled 48 to 46 computations (4.2% saved)

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

bsearch18.0ms (1.1%)

Memory
-31.9MiB live, 14.5MiB allocated; 4ms collecting garbage
Algorithm
binary-search
Stop Event
narrow-enough
Steps
TimeLeftRight
17.0ms
5.484501300449776e-108
6.638489710321418e-107
Samples
13.0ms96×0valid
1.0ms16×0invalid
Compiler

Compiled 105 to 94 computations (10.5% saved)

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

simplify11.0ms (0.7%)

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

Useful iterations: 0 (0.0ms)

IterNodesCost
01645
12145
24045
36745
48245
Stop Event
saturated
Calls
Call 1
Inputs
(if (<=.f64 x #s(literal 5000000000000000164207812446024630394935062831798058477561567131293735034493939977720006578138637063419747523921612177893242453171057459200 binary64)) (sqrt.f64 (fma.f64 x x y)) #s(approx (sqrt (+ (* x x) y)) x))
(if (<=.f64 x #s(literal 2685539873210385/41315998049390537434494706752048189989275292685267576205290549704650361952269459114074325652482205302974450751563959894016 binary64)) (sqrt.f64 #s(approx (+ (* x x) y) y)) #s(approx (sqrt (+ (* x x) y)) x))
#s(approx (sqrt (+ (* x x) y)) x)
Outputs
(if (<=.f64 x #s(literal 5000000000000000164207812446024630394935062831798058477561567131293735034493939977720006578138637063419747523921612177893242453171057459200 binary64)) (sqrt.f64 (fma.f64 x x y)) #s(approx (sqrt (+ (* x x) y)) x))
(if (<=.f64 x #s(literal 2685539873210385/41315998049390537434494706752048189989275292685267576205290549704650361952269459114074325652482205302974450751563959894016 binary64)) (sqrt.f64 #s(approx (+ (* x x) y) y)) #s(approx (sqrt (+ (* x x) y)) x))
#s(approx (sqrt (+ (* x x) y)) x)

derivations68.0ms (4.2%)

Memory
-3.7MiB live, 43.4MiB allocated; 4ms collecting garbage
Stop Event
done
Compiler

Compiled 45 to 16 computations (64.4% saved)

preprocess49.0ms (3%)

Memory
-1.0MiB live, 45.9MiB allocated; 4ms collecting garbage
Compiler

Compiled 194 to 96 computations (50.5% saved)

end0.0ms (0%)

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

Profiling

Loading profile data...