Linear.Quaternion:$clog from linear-1.19.1.3

Time bar (total: 1.8s)

start0.0ms (0%)

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

analyze29.0ms (1.6%)

Memory
-8.8MiB live, 36.8MiB allocated; 14ms 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)

sample829.0ms (45.4%)

Memory
58.4MiB live, 1 216.7MiB allocated; 267ms collecting garbage
Samples
489.0ms8 256×0valid
13.0ms315×0invalid
Precisions
Click to see histograms. Total time spent on operations: 275.0ms
ival-sqrt: 141.0ms (51.4% of total)
ival-mult: 84.0ms (30.6% of total)
ival-add: 38.0ms (13.8% of total)
ival-true: 6.0ms (2.2% of total)
ival-assert: 3.0ms (1.1% of total)
adjust: 2.0ms (0.7% of total)
Bogosity

explain158.0ms (8.6%)

Memory
-24.2MiB live, 212.0MiB allocated; 90ms collecting garbage
FPErrors
Click to see full error table
Ground TruthOverpredictionsExampleUnderpredictionsExampleSubexpression
880-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-rescue880
(+.f64 (*.f64 x x) y)overflow88
(*.f64 x x)overflow88
Confusion
Predicted +Predicted -
+880
-0168
Precision
1.0
Recall
1.0
Confusion?
Predicted +Predicted MaybePredicted -
+8800
-00168
Precision?
1.0
Recall?
1.0
Freqs
test
numberfreq
0168
188
Total Confusion?
Predicted +Predicted MaybePredicted -
+100
-000
Precision?
1.0
Recall?
1.0
Samples
36.0ms512×0valid
Compiler

Compiled 42 to 19 computations (54.8% saved)

Precisions
Click to see histograms. Total time spent on operations: 23.0ms
ival-mult: 16.0ms (69% of total)
ival-sqrt: 4.0ms (17.3% of total)
ival-add: 2.0ms (8.6% of total)
ival-true: 0.0ms (0% of total)
adjust: 0.0ms (0% of total)
ival-assert: 0.0ms (0% of total)

preprocess39.0ms (2.2%)

Memory
-25.3MiB live, 32.9MiB allocated; 28ms 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)

eval1.0ms (0%)

Memory
1.1MiB live, 1.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
68.0%
(sqrt.f64 (+.f64 (*.f64 x x) y))
Compiler

Compiled 6 to 5 computations (16.7% saved)

simplify4.0ms (0.2%)

Memory
6.2MiB live, 6.2MiB allocated; 0ms collecting garbage
Localize:

Found 3 expressions of interest:

NewMetricScoreProgram
cost-diff0
(*.f64 x x)
cost-diff0
(sqrt.f64 (+.f64 (*.f64 x x) y))
cost-diff1
(+.f64 (*.f64 x x) y)
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0516
0816
11316
23216
35916
47416
07414
Stop Event
iter limit
saturated
iter limit
Calls
Call 1
Inputs
(sqrt.f64 (+.f64 (*.f64 x x) y))
(+.f64 (*.f64 x x) y)
(*.f64 x x)
x
y
Outputs
(sqrt.f64 (+.f64 (*.f64 x x) y))
(sqrt.f64 (fma.f64 x x y))
(+.f64 (*.f64 x x) y)
(fma.f64 x x y)
(*.f64 x x)
x
y

localize16.0ms (0.9%)

Memory
25.8MiB live, 25.8MiB allocated; 0ms collecting garbage
Localize:

Found 3 expressions of interest:

NewMetricScoreProgram
accuracy0.0
(*.f64 x x)
accuracy0.00390625
(+.f64 (*.f64 x x) y)
accuracy20.49202211749941
(sqrt.f64 (+.f64 (*.f64 x x) y))
Samples
11.0ms256×0valid
Compiler

Compiled 18 to 7 computations (61.1% saved)

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

series6.0ms (0.3%)

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

6 calls:

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

simplify224.0ms (12.3%)

Memory
-39.2MiB live, 155.6MiB allocated; 68ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0165721
1455706
21915685
06993618
Stop Event
iter limit
iter limit
node limit
Counts
29 → 29
Calls
Call 1
Inputs
#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 (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) #s(hole binary64 (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 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 (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 (+ (* x x) y) #s(hole binary64 (* y (+ 1 (/ (pow x 2) 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 (* -1 (* y (- (* -1 (/ (pow x 2) y)) 1)))))
#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)))))))))
Outputs
#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 (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 #s(literal 1/2 binary64) (*.f64 x x)) (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 #s(literal 1/2 binary64) (*.f64 x x)) (sqrt.f64 (/.f64 #s(literal 1 binary64) y)) (sqrt.f64 y))))
#s(approx (* x x) #s(hole binary64 (pow x 2)))
#s(approx (* x x) (*.f64 x 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 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 (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 (+ (* 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 (* y (+ (sqrt (/ 1 y)) (* 1/2 (* (pow x 2) (sqrt (/ 1 (pow y 3)))))))))
#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 (* 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 #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 (* 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 #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))))
#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))

rewrite51.0ms (2.8%)

Memory
-4.5MiB live, 46.5MiB allocated; 9ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0514
0814
13014
021512
Stop Event
iter limit
iter limit
iter limit
unsound
iter limit
Counts
3 → 41
Calls
Call 1
Inputs
(+.f64 (*.f64 x x) y)
(sqrt.f64 (+.f64 (*.f64 x x) y))
(*.f64 x x)
Outputs
(/.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 (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 (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)))

eval8.0ms (0.4%)

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

Compiled 1 079 to 260 computations (75.9% saved)

prune3.0ms (0.1%)

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

4 alts after pruning (4 fresh and 0 done)

PrunedKeptTotal
New65469
Fresh000
Picked101
Done000
Total66470
Accuracy
100.0%
Counts
70 → 4
Alt Table
Click to see full alt table
StatusAccuracyProgram
68.0%
(sqrt.f64 (fma.f64 x x y))
33.0%
(sqrt.f64 #s(approx (+ (* x x) y) y))
69.7%
#s(approx (sqrt (+ (* x x) y)) (fma.f64 (/.f64 #s(literal 1/2 binary64) x) y x))
69.0%
#s(approx (sqrt (+ (* x x) y)) x)
Compiler

Compiled 34 to 25 computations (26.5% saved)

simplify8.0ms (0.4%)

Memory
11.9MiB live, 11.9MiB allocated; 0ms collecting garbage
Localize:

Found 8 expressions of interest:

NewMetricScoreProgram
cost-diff0
(fma.f64 x x y)
cost-diff0
(sqrt.f64 (fma.f64 x x y))
cost-diff0
#s(approx (+ (* x x) y) y)
cost-diff0
(sqrt.f64 #s(approx (+ (* x x) y) y))
cost-diff0
(/.f64 #s(literal 1/2 binary64) x)
cost-diff0
(fma.f64 (/.f64 #s(literal 1/2 binary64) x) y x)
cost-diff0
#s(approx (sqrt (+ (* x x) y)) (fma.f64 (/.f64 #s(literal 1/2 binary64) x) y x))
cost-diff0
#s(approx (sqrt (+ (* x x) y)) x)
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01457
02057
12957
25857
310357
415157
519257
619657
019657
Stop Event
iter limit
saturated
iter limit
Calls
Call 1
Inputs
#s(approx (sqrt (+ (* x x) y)) x)
x
#s(approx (sqrt (+ (* x x) y)) (fma.f64 (/.f64 #s(literal 1/2 binary64) x) y x))
(fma.f64 (/.f64 #s(literal 1/2 binary64) x) y x)
(/.f64 #s(literal 1/2 binary64) x)
#s(literal 1/2 binary64)
x
y
(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)
x
y
Outputs
#s(approx (sqrt (+ (* x x) y)) x)
x
#s(approx (sqrt (+ (* x x) y)) (fma.f64 (/.f64 #s(literal 1/2 binary64) x) y x))
(fma.f64 (/.f64 #s(literal 1/2 binary64) x) y x)
(/.f64 #s(literal 1/2 binary64) x)
#s(literal 1/2 binary64)
x
y
(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)
x
y

localize28.0ms (1.5%)

Memory
8.8MiB live, 54.5MiB allocated; 3ms collecting garbage
Localize:

Found 8 expressions of interest:

NewMetricScoreProgram
accuracy0.0
(fma.f64 x x y)
accuracy20.49202211749941
(sqrt.f64 (fma.f64 x x y))
accuracy20.49202211749941
(sqrt.f64 #s(approx (+ (* x x) y) y))
accuracy42.71472930942874
#s(approx (+ (* x x) y) y)
accuracy0.0
(/.f64 #s(literal 1/2 binary64) x)
accuracy0.0390625
(fma.f64 (/.f64 #s(literal 1/2 binary64) x) y x)
accuracy19.381977103167554
#s(approx (sqrt (+ (* x x) y)) (fma.f64 (/.f64 #s(literal 1/2 binary64) x) y x))
accuracy19.818095552199726
#s(approx (sqrt (+ (* x x) y)) x)
Samples
19.0ms256×0valid
Compiler

Compiled 53 to 11 computations (79.2% saved)

Precisions
Click to see histograms. Total time spent on operations: 10.0ms
ival-mult: 4.0ms (40.6% of total)
ival-div: 2.0ms (20.3% of total)
ival-add: 2.0ms (20.3% of total)
ival-sqrt: 2.0ms (20.3% of total)
ival-true: 0.0ms (0% of total)
adjust: 0.0ms (0% of total)
exact: 0.0ms (0% of total)
ival-assert: 0.0ms (0% of total)

series10.0ms (0.6%)

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

6 calls:

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

simplify201.0ms (11%)

Memory
6.9MiB live, 194.1MiB allocated; 18ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0191854
1511839
22046787
07450709
Stop Event
iter limit
iter limit
node limit
Counts
37 → 37
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 (+ (* (/ 1/2 x) y) x) #s(hole binary64 (* 1/2 (/ y x))))
#s(approx (+ (* (/ 1/2 x) y) x) #s(hole binary64 (/ (+ (* 1/2 y) (pow x 2)) x)))
#s(approx (/ 1/2 x) #s(hole binary64 (/ 1/2 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 (+ (* (/ 1/2 x) y) x) #s(hole binary64 x))
#s(approx (+ (* (/ 1/2 x) y) x) #s(hole binary64 (* x (+ 1 (* 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 (+ (* (/ 1/2 x) y) x) #s(hole binary64 (* -1 (* x (- (* -1/2 (/ y (pow x 2))) 1)))))
#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 (+ (* (/ 1/2 x) y) x) #s(hole binary64 (+ x (* 1/2 (/ y x)))))
#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 (+ (* (/ 1/2 x) y) x) #s(hole binary64 (* y (+ (* 1/2 (/ 1 x)) (/ x y)))))
#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 (+ (* (/ 1/2 x) y) x) #s(hole binary64 (* -1 (* y (- (* -1 (/ x y)) (* 1/2 (/ 1 x)))))))
#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 (+ (* (/ 1/2 x) y) x) #s(hole binary64 (* 1/2 (/ y x))))
#s(approx (+ (* (/ 1/2 x) y) x) (*.f64 (/.f64 #s(literal 1/2 binary64) x) y))
#s(approx (+ (* (/ 1/2 x) y) x) #s(hole binary64 (/ (+ (* 1/2 y) (pow x 2)) x)))
#s(approx (+ (* (/ 1/2 x) y) x) (fma.f64 (/.f64 #s(literal 1/2 binary64) x) y x))
#s(approx (/ 1/2 x) #s(hole binary64 (/ 1/2 x)))
#s(approx (/ 1/2 x) (/.f64 #s(literal 1/2 binary64) 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)) (fma.f64 (/.f64 #s(literal 1/2 binary64) x) y 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)) (fma.f64 (fma.f64 (*.f64 #s(literal -1/8 binary64) y) (/.f64 y (pow.f64 x #s(literal 4 binary64))) #s(literal 1 binary64)) x (*.f64 (/.f64 #s(literal 1/2 binary64) x) y)))
#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)) (fma.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))) #s(literal 1 binary64))) x (*.f64 (/.f64 #s(literal 1/2 binary64) x) y)))
#s(approx (+ (* (/ 1/2 x) y) x) #s(hole binary64 x))
#s(approx (+ (* (/ 1/2 x) y) x) x)
#s(approx (+ (* (/ 1/2 x) y) x) #s(hole binary64 (* x (+ 1 (* 1/2 (/ y (pow x 2)))))))
#s(approx (+ (* (/ 1/2 x) y) x) (fma.f64 (/.f64 #s(literal 1/2 binary64) x) y 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) (fma.f64 (/.f64 y x) x (*.f64 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)) (fma.f64 (/.f64 #s(literal -1/2 binary64) x) y (neg.f64 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)) (fma.f64 (fma.f64 (*.f64 #s(literal -1/8 binary64) y) (/.f64 y (pow.f64 x #s(literal 4 binary64))) #s(literal 1 binary64)) (neg.f64 x) (*.f64 #s(literal -1/2 binary64) (/.f64 y 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)) (fma.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))) #s(literal 1 binary64))) (neg.f64 x) (*.f64 #s(literal -1/2 binary64) (/.f64 y x))))
#s(approx (+ (* (/ 1/2 x) y) x) #s(hole binary64 (* -1 (* x (- (* -1/2 (/ y (pow x 2))) 1)))))
#s(approx (+ (* (/ 1/2 x) y) x) (neg.f64 (fma.f64 (/.f64 #s(literal -1/2 binary64) x) y (neg.f64 x))))
#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 (+ (* (/ 1/2 x) y) x) #s(hole binary64 (+ x (* 1/2 (/ y x)))))
#s(approx (+ (* (/ 1/2 x) y) x) (fma.f64 (/.f64 #s(literal 1/2 binary64) x) y x))
#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 (+ (* (/ 1/2 x) y) x) #s(hole binary64 (* y (+ (* 1/2 (/ 1 x)) (/ x y)))))
#s(approx (+ (* (/ 1/2 x) y) x) (*.f64 (-.f64 (/.f64 x y) (/.f64 #s(literal -1/2 binary64) x)) y))
#s(approx (+ (* x x) y) #s(hole binary64 (* y (+ 1 (/ (pow x 2) y)))))
#s(approx (+ (* x x) y) (*.f64 (fma.f64 (/.f64 x y) x #s(literal 1 binary64)) 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 (+ (* (/ 1/2 x) y) x) #s(hole binary64 (* -1 (* y (- (* -1 (/ x y)) (* 1/2 (/ 1 x)))))))
#s(approx (+ (* (/ 1/2 x) y) x) (*.f64 (neg.f64 y) (-.f64 (/.f64 #s(literal -1/2 binary64) x) (/.f64 x 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))))

rewrite49.0ms (2.7%)

Memory
19.0MiB live, 74.4MiB allocated; 6ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01450
02050
16050
039750
Stop Event
iter limit
iter limit
iter limit
unsound
iter limit
Counts
8 → 54
Calls
Call 1
Inputs
#s(approx (sqrt (+ (* x x) y)) x)
#s(approx (sqrt (+ (* x x) y)) (fma.f64 (/.f64 #s(literal 1/2 binary64) x) y x))
(fma.f64 (/.f64 #s(literal 1/2 binary64) x) y x)
(/.f64 #s(literal 1/2 binary64) x)
(sqrt.f64 #s(approx (+ (* x x) y) y))
#s(approx (+ (* x x) y) y)
(sqrt.f64 (fma.f64 x x y))
(fma.f64 x x y)
Outputs
#s(approx (sqrt (+ (* x x) y)) x)
#s(approx (sqrt (+ (* x x) y)) (fma.f64 (/.f64 #s(literal 1/2 binary64) x) y x))
(/.f64 (-.f64 (*.f64 x x) (pow.f64 (*.f64 (/.f64 #s(literal 1/2 binary64) x) y) #s(literal 2 binary64))) (-.f64 x (*.f64 (/.f64 #s(literal 1/2 binary64) x) y)))
(/.f64 (neg.f64 (-.f64 (pow.f64 (*.f64 (/.f64 #s(literal 1/2 binary64) x) y) #s(literal 2 binary64)) (*.f64 x x))) (neg.f64 (-.f64 (*.f64 (/.f64 #s(literal 1/2 binary64) x) y) x)))
(/.f64 (neg.f64 (+.f64 (pow.f64 x #s(literal 3 binary64)) (pow.f64 (*.f64 (/.f64 #s(literal 1/2 binary64) x) y) #s(literal 3 binary64)))) (neg.f64 (fma.f64 x (-.f64 x (*.f64 (/.f64 #s(literal 1/2 binary64) x) y)) (pow.f64 (*.f64 (/.f64 #s(literal 1/2 binary64) x) y) #s(literal 2 binary64)))))
(/.f64 (-.f64 (pow.f64 (*.f64 (/.f64 #s(literal 1/2 binary64) x) y) #s(literal 2 binary64)) (*.f64 x x)) (-.f64 (*.f64 (/.f64 #s(literal 1/2 binary64) x) y) x))
(/.f64 (+.f64 (pow.f64 x #s(literal 3 binary64)) (pow.f64 (*.f64 (/.f64 #s(literal 1/2 binary64) x) y) #s(literal 3 binary64))) (fma.f64 x x (-.f64 (pow.f64 (*.f64 (/.f64 #s(literal 1/2 binary64) x) y) #s(literal 2 binary64)) (*.f64 (*.f64 (/.f64 #s(literal 1/2 binary64) x) y) x))))
(/.f64 (+.f64 (pow.f64 x #s(literal 3 binary64)) (pow.f64 (*.f64 (/.f64 #s(literal 1/2 binary64) x) y) #s(literal 3 binary64))) (fma.f64 x (-.f64 x (*.f64 (/.f64 #s(literal 1/2 binary64) x) y)) (pow.f64 (*.f64 (/.f64 #s(literal 1/2 binary64) x) y) #s(literal 2 binary64))))
(fma.f64 (/.f64 #s(literal 1/2 binary64) x) y x)
(fma.f64 #s(literal 1/2 binary64) (/.f64 y x) x)
(fma.f64 y (/.f64 #s(literal 1/2 binary64) x) x)
(-.f64 (/.f64 (pow.f64 (*.f64 (/.f64 #s(literal 1/2 binary64) x) y) #s(literal 2 binary64)) (-.f64 (*.f64 (/.f64 #s(literal 1/2 binary64) x) y) x)) (/.f64 (*.f64 x x) (-.f64 (*.f64 (/.f64 #s(literal 1/2 binary64) x) y) x)))
(-.f64 x (*.f64 (neg.f64 (/.f64 #s(literal 1/2 binary64) x)) y))
(-.f64 x (*.f64 (neg.f64 y) (/.f64 #s(literal 1/2 binary64) x)))
(+.f64 (/.f64 (pow.f64 (*.f64 (/.f64 #s(literal 1/2 binary64) x) y) #s(literal 3 binary64)) (fma.f64 x (-.f64 x (*.f64 (/.f64 #s(literal 1/2 binary64) x) y)) (pow.f64 (*.f64 (/.f64 #s(literal 1/2 binary64) x) y) #s(literal 2 binary64)))) (/.f64 (pow.f64 x #s(literal 3 binary64)) (fma.f64 x (-.f64 x (*.f64 (/.f64 #s(literal 1/2 binary64) x) y)) (pow.f64 (*.f64 (/.f64 #s(literal 1/2 binary64) x) y) #s(literal 2 binary64)))))
(+.f64 (*.f64 (/.f64 #s(literal 1/2 binary64) x) y) x)
(+.f64 x (*.f64 (/.f64 #s(literal 1/2 binary64) x) y))
(/.f64 #s(literal -1/2 binary64) (neg.f64 x))
(/.f64 #s(literal 1/2 binary64) (neg.f64 (neg.f64 x)))
(/.f64 #s(literal 1/2 binary64) x)
(neg.f64 (/.f64 #s(literal -1/2 binary64) x))
(neg.f64 (/.f64 #s(literal 1/2 binary64) (neg.f64 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)
(*.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)

eval11.0ms (0.6%)

Memory
-24.9MiB live, 21.5MiB allocated; 3ms collecting garbage
Compiler

Compiled 1 563 to 302 computations (80.7% saved)

prune3.0ms (0.2%)

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

4 alts after pruning (0 fresh and 4 done)

PrunedKeptTotal
New84084
Fresh000
Picked044
Done000
Total84488
Accuracy
100.0%
Counts
88 → 4
Alt Table
Click to see full alt table
StatusAccuracyProgram
68.0%
(sqrt.f64 (fma.f64 x x y))
33.0%
(sqrt.f64 #s(approx (+ (* x x) y) y))
69.7%
#s(approx (sqrt (+ (* x x) y)) (fma.f64 (/.f64 #s(literal 1/2 binary64) x) y x))
69.0%
#s(approx (sqrt (+ (* x x) y)) x)
Compiler

Compiled 74 to 42 computations (43.2% saved)

regimes10.0ms (0.6%)

Memory
22.2MiB live, 22.2MiB allocated; 0ms collecting garbage
Counts
5 → 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))
#s(approx (sqrt (+ (* x x) y)) (fma.f64 (/.f64 #s(literal 1/2 binary64) x) y x))
(sqrt.f64 (+.f64 (*.f64 x x) y))
Outputs
(sqrt.f64 (+.f64 (*.f64 x x) y))
#s(approx (sqrt (+ (* x x) y)) x)
Calls

5 calls:

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

Compiled 16 to 16 computations (0% saved)

regimes8.0ms (0.4%)

Memory
-30.1MiB live, 17.1MiB allocated; 2ms 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))
#s(approx (sqrt (+ (* x x) y)) (fma.f64 (/.f64 #s(literal 1/2 binary64) x) y x))
Outputs
(sqrt.f64 (fma.f64 x x y))
#s(approx (sqrt (+ (* x x) y)) x)
Calls

4 calls:

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

Compiled 15 to 14 computations (6.7% saved)

regimes5.0ms (0.3%)

Memory
14.2MiB live, 14.2MiB 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
x
1.0ms
(sqrt.f64 (+.f64 (*.f64 x x) y))
1.0ms
(+.f64 (*.f64 x x) y)
1.0ms
(*.f64 x x)
Results
AccuracySegmentsBranch
87.7%2(*.f64 x x)
73.2%2(+.f64 (*.f64 x x) y)
73.2%2(sqrt.f64 (+.f64 (*.f64 x x) y))
87.7%2x
Compiler

Compiled 15 to 14 computations (6.7% saved)

regimes5.0ms (0.3%)

Memory
13.2MiB live, 13.2MiB 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
(sqrt.f64 (+.f64 (*.f64 x x) y))
1.0ms
y
1.0ms
x
1.0ms
(+.f64 (*.f64 x x) y)
1.0ms
(*.f64 x x)
Results
AccuracySegmentsBranch
69.0%1(+.f64 (*.f64 x x) y)
69.0%1(sqrt.f64 (+.f64 (*.f64 x x) y))
69.0%1y
69.0%1(*.f64 x x)
69.0%1x
Compiler

Compiled 16 to 16 computations (0% saved)

bsearch4.0ms (0.2%)

Memory
7.8MiB live, 7.8MiB allocated; 0ms collecting garbage
Algorithm
binary-search
Stop Event
predicate-same
Steps
TimeLeftRight
4.0ms
2.8658143057137426e+137
9.824596619407523e+140
Samples
2.0ms48×0valid
0.0ms0invalid
Compiler

Compiled 51 to 49 computations (3.9% 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)

bsearch0.0ms (0%)

Memory
0.7MiB live, 0.7MiB allocated; 0ms collecting garbage
Algorithm
binary-search
Stop Event
predicate-same
Steps
TimeLeftRight
0.0ms
2.8658143057137426e+137
9.824596619407523e+140
Compiler

Compiled 48 to 46 computations (4.2% saved)

bsearch10.0ms (0.6%)

Memory
-28.7MiB live, 18.6MiB allocated; 1ms collecting garbage
Algorithm
binary-search
Stop Event
narrow-enough
Steps
TimeLeftRight
9.0ms
1.634652869416524e-41
1.4892611222734442e-40
Samples
4.0ms96×0valid
1.0ms19×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 (43.2% of total)
ival-mult: 1.0ms (43.2% of total)
ival-sqrt: 1.0ms (43.2% 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.6%)

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

Useful iterations: 0 (0.0ms)

IterNodesCost
02063
12563
24463
37163
48663
Stop Event
saturated
Calls
Call 1
Inputs
(if (<=.f64 x #s(literal 200000000000000011856760248162974007412724977534090657729700148965999155656947961304046593016036249138303584474586765896459394327029164802048 binary64)) (sqrt.f64 (+.f64 (*.f64 x x) y)) #s(approx (sqrt (+ (* x x) y)) x))
(if (<=.f64 x #s(literal 200000000000000011856760248162974007412724977534090657729700148965999155656947961304046593016036249138303584474586765896459394327029164802048 binary64)) (sqrt.f64 (fma.f64 x x y)) #s(approx (sqrt (+ (* x x) y)) x))
(if (<=.f64 x #s(literal 1225996432692711/49039857307708443467467104868809893875799651909875269632 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 200000000000000011856760248162974007412724977534090657729700148965999155656947961304046593016036249138303584474586765896459394327029164802048 binary64)) (sqrt.f64 (+.f64 (*.f64 x x) y)) #s(approx (sqrt (+ (* x x) y)) x))
(if (<=.f64 x #s(literal 200000000000000011856760248162974007412724977534090657729700148965999155656947961304046593016036249138303584474586765896459394327029164802048 binary64)) (sqrt.f64 (fma.f64 x x y)) #s(approx (sqrt (+ (* x x) y)) x))
(if (<=.f64 x #s(literal 1225996432692711/49039857307708443467467104868809893875799651909875269632 binary64)) (sqrt.f64 #s(approx (+ (* x x) y) y)) #s(approx (sqrt (+ (* x x) y)) x))
#s(approx (sqrt (+ (* x x) y)) x)

derivations66.0ms (3.6%)

Memory
-32.6MiB live, 63.4MiB allocated; 7ms collecting garbage
Stop Event
done
Compiler

Compiled 63 to 20 computations (68.3% saved)

preprocess28.0ms (1.5%)

Memory
13.2MiB live, 59.3MiB allocated; 4ms collecting garbage
Compiler

Compiled 232 to 106 computations (54.3% saved)

end0.0ms (0%)

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

Profiling

Loading profile data...