Optimisation.CirclePacking:place from circle-packing-0.1.0.4, A

Time bar (total: 1.3s)

start0.0ms (0%)

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

analyze17.0ms (1.3%)

Memory
38.9MiB live, 38.9MiB allocated; 0ms 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
25%25%74.9%0.1%0%0%0%3
28.6%25%62.4%0.1%0%12.5%0%4
46.2%37.5%43.7%0.1%0%18.7%0%5
52.2%37.5%34.3%0.1%0%28.1%0%6
65.1%43.7%23.4%0.1%0%32.8%0%7
70.9%43.7%18%0.1%0%38.2%0%8
79.5%46.8%12.1%0.1%0%41%0%9
83.6%46.8%9.2%0.1%0%43.9%0%10
88.7%48.4%6.1%0.1%0%45.4%0%11
91.3%48.4%4.6%0.1%0%46.9%0%12
Compiler

Compiled 6 to 6 computations (0% saved)

sample869.0ms (68%)

Memory
-10.9MiB live, 1 269.7MiB allocated; 285ms collecting garbage
Samples
508.0ms8 256×0valid
21.0ms509×0invalid
Precisions
Click to see histograms. Total time spent on operations: 182.0ms
ival-add: 91.0ms (50.1% of total)
ival-sqrt: 85.0ms (46.8% of total)
adjust: 3.0ms (1.7% of total)
ival-assert: 3.0ms (1.7% of total)
Bogosity

explain46.0ms (3.6%)

Memory
13.1MiB live, 107.1MiB allocated; 10ms collecting garbage
FPErrors
Click to see full error table
Ground TruthOverpredictionsExampleUnderpredictionsExampleSubexpression
00-0-(sqrt.f64 (+.f64 x y))
00-0-y
00-0-(+.f64 x y)
00-0-x
Confusion
Predicted +Predicted -
+00
-0256
Precision
0/0
Recall
0/0
Confusion?
Predicted +Predicted MaybePredicted -
+000
-00256
Precision?
0/0
Recall?
0/0
Freqs
test
numberfreq
0256
Total Confusion?
Predicted +Predicted MaybePredicted -
+000
-001
Precision?
0/0
Recall?
0/0
Samples
25.0ms512×0valid
Compiler

Compiled 26 to 16 computations (38.5% saved)

Precisions
Click to see histograms. Total time spent on operations: 14.0ms
ival-add: 10.0ms (73.6% of total)
ival-sqrt: 3.0ms (22.1% of total)
ival-true: 0.0ms (0% of total)
adjust: 0.0ms (0% of total)
ival-assert: 0.0ms (0% of total)

preprocess16.0ms (1.3%)

Memory
1.2MiB live, 45.8MiB allocated; 6ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01430
11630
044
064
174
074
Stop Event
iter limit
saturated
iter limit
saturated
Calls
Call 1
Inputs
(sqrt.f64 (+.f64 x y))
Outputs
(sqrt.f64 (+.f64 x y))
(sqrt.f64 (+.f64 y x))
Symmetry

(sort x y)

Compiler

Compiled 4 to 4 computations (0% saved)

eval0.0ms (0%)

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

Compiled 0 to 2 computations (-∞% saved)

prune0.0ms (0%)

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

Compiled 4 to 4 computations (0% saved)

series7.0ms (0.5%)

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

6 calls:

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

rewrite104.0ms (8.1%)

Memory
-3.8MiB live, 121.4MiB allocated; 51ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0190780
0191666
01062634
Stop Event
iter limit
iter limit
node limit
iter limit
Counts
35 → 39
Calls
Call 1
Inputs
(sqrt.f64 (+.f64 x y))
(+.f64 x y)
x
y
#s(approx (sqrt (+ x y)) #s(hole binary64 (sqrt y)))
#s(approx (sqrt (+ x y)) #s(hole binary64 (+ (sqrt y) (* 1/2 (* x (sqrt (/ 1 y)))))))
#s(approx (sqrt (+ x y)) #s(hole binary64 (+ (sqrt y) (* x (+ (* -1/8 (* x (sqrt (/ 1 (pow y 3))))) (* 1/2 (sqrt (/ 1 y))))))))
#s(approx (sqrt (+ x y)) #s(hole binary64 (+ (sqrt y) (* x (+ (* 1/2 (sqrt (/ 1 y))) (* x (+ (* -1/8 (sqrt (/ 1 (pow y 3)))) (* 1/16 (* x (sqrt (/ 1 (pow y 5))))))))))))
#s(approx (+ x y) #s(hole binary64 y))
#s(approx (+ x y) #s(hole binary64 (+ x y)))
#s(approx x #s(hole binary64 x))
#s(approx (sqrt (+ x y)) #s(hole binary64 (sqrt x)))
#s(approx (sqrt (+ x y)) #s(hole binary64 (* x (+ (sqrt (/ 1 x)) (* 1/2 (* (sqrt (/ 1 (pow x 3))) y))))))
#s(approx (sqrt (+ x y)) #s(hole binary64 (* x (+ (sqrt (/ 1 x)) (+ (* -1/8 (* (sqrt (/ 1 (pow x 5))) (pow y 2))) (* 1/2 (* (sqrt (/ 1 (pow x 3))) y)))))))
#s(approx (sqrt (+ x y)) #s(hole binary64 (* x (+ (sqrt (/ 1 x)) (+ (* -1/8 (* (sqrt (/ 1 (pow x 5))) (pow y 2))) (+ (* 1/16 (* (sqrt (/ 1 (pow x 7))) (pow y 3))) (* 1/2 (* (sqrt (/ 1 (pow x 3))) y))))))))
#s(approx (+ x y) #s(hole binary64 x))
#s(approx (+ x y) #s(hole binary64 (* x (+ 1 (/ y x)))))
#s(approx (sqrt (+ x y)) #s(hole binary64 (* -1 (* (sqrt x) (pow (sqrt -1) 2)))))
#s(approx (sqrt (+ x y)) #s(hole binary64 (* -1 (* x (+ (* 1/2 (* (sqrt (/ 1 (pow x 3))) y)) (* (sqrt (/ 1 x)) (pow (sqrt -1) 2)))))))
#s(approx (sqrt (+ x y)) #s(hole binary64 (* -1 (* x (+ (* -1/8 (* (sqrt (/ 1 (pow x 5))) (/ (pow y 2) (pow (sqrt -1) 2)))) (+ (* 1/2 (* (sqrt (/ 1 (pow x 3))) y)) (* (sqrt (/ 1 x)) (pow (sqrt -1) 2))))))))
#s(approx (sqrt (+ x y)) #s(hole binary64 (* -1 (* x (+ (* -1/8 (* (sqrt (/ 1 (pow x 5))) (/ (pow y 2) (pow (sqrt -1) 2)))) (+ (* 1/16 (* (sqrt (/ 1 (pow x 7))) (/ (pow y 3) (pow (sqrt -1) 4)))) (+ (* 1/2 (* (sqrt (/ 1 (pow x 3))) y)) (* (sqrt (/ 1 x)) (pow (sqrt -1) 2)))))))))
#s(approx (+ x y) #s(hole binary64 (* -1 (* x (- (* -1 (/ y x)) 1)))))
#s(approx (sqrt (+ x y)) #s(hole binary64 (+ (sqrt x) (* 1/2 (* (sqrt (/ 1 x)) y)))))
#s(approx (sqrt (+ x y)) #s(hole binary64 (+ (sqrt x) (* y (+ (* -1/8 (* (sqrt (/ 1 (pow x 3))) y)) (* 1/2 (sqrt (/ 1 x))))))))
#s(approx (sqrt (+ x y)) #s(hole binary64 (+ (sqrt x) (* y (+ (* 1/2 (sqrt (/ 1 x))) (* y (+ (* -1/8 (sqrt (/ 1 (pow x 3)))) (* 1/16 (* (sqrt (/ 1 (pow x 5))) y)))))))))
#s(approx y #s(hole binary64 y))
#s(approx (sqrt (+ x y)) #s(hole binary64 (* y (+ (sqrt (/ 1 y)) (* 1/2 (* x (sqrt (/ 1 (pow y 3)))))))))
#s(approx (sqrt (+ x y)) #s(hole binary64 (* y (+ (sqrt (/ 1 y)) (+ (* -1/8 (* (pow x 2) (sqrt (/ 1 (pow y 5))))) (* 1/2 (* x (sqrt (/ 1 (pow y 3))))))))))
#s(approx (sqrt (+ x y)) #s(hole binary64 (* y (+ (sqrt (/ 1 y)) (+ (* -1/8 (* (pow x 2) (sqrt (/ 1 (pow y 5))))) (+ (* 1/16 (* (pow x 3) (sqrt (/ 1 (pow y 7))))) (* 1/2 (* x (sqrt (/ 1 (pow y 3)))))))))))
#s(approx (+ x y) #s(hole binary64 (* y (+ 1 (/ x y)))))
#s(approx (sqrt (+ x y)) #s(hole binary64 (* -1 (* (sqrt y) (pow (sqrt -1) 2)))))
#s(approx (sqrt (+ x y)) #s(hole binary64 (* -1 (* y (+ (* 1/2 (* x (sqrt (/ 1 (pow y 3))))) (* (sqrt (/ 1 y)) (pow (sqrt -1) 2)))))))
#s(approx (sqrt (+ x y)) #s(hole binary64 (* -1 (* y (+ (* -1/8 (* (/ (pow x 2) (pow (sqrt -1) 2)) (sqrt (/ 1 (pow y 5))))) (+ (* 1/2 (* x (sqrt (/ 1 (pow y 3))))) (* (sqrt (/ 1 y)) (pow (sqrt -1) 2))))))))
#s(approx (sqrt (+ x y)) #s(hole binary64 (* -1 (* y (+ (* -1/8 (* (/ (pow x 2) (pow (sqrt -1) 2)) (sqrt (/ 1 (pow y 5))))) (+ (* 1/16 (* (/ (pow x 3) (pow (sqrt -1) 4)) (sqrt (/ 1 (pow y 7))))) (+ (* 1/2 (* x (sqrt (/ 1 (pow y 3))))) (* (sqrt (/ 1 y)) (pow (sqrt -1) 2)))))))))
#s(approx (+ x y) #s(hole binary64 (* -1 (* y (- (* -1 (/ x y)) 1)))))
Outputs
(pow.f64 (+.f64 y x) #s(literal 1/2 binary64))
(sqrt.f64 (+.f64 y x))
(/.f64 (-.f64 (*.f64 x x) (*.f64 y y)) (-.f64 x y))
(/.f64 (+.f64 (pow.f64 x #s(literal 3 binary64)) (pow.f64 y #s(literal 3 binary64))) (fma.f64 x x (-.f64 (*.f64 y y) (*.f64 x y))))
(+.f64 y x)
(+.f64 x y)
x
y
#s(approx (sqrt (+ x y)) (sqrt.f64 y))
#s(approx (sqrt (+ x y)) (fma.f64 (*.f64 (/.f64 #s(literal 1 binary64) (sqrt.f64 y)) x) #s(literal 1/2 binary64) (sqrt.f64 y)))
#s(approx (sqrt (+ x y)) (fma.f64 (fma.f64 (*.f64 #s(literal -1/8 binary64) x) (sqrt.f64 (pow.f64 y #s(literal -3 binary64))) (*.f64 (/.f64 #s(literal 1 binary64) (sqrt.f64 y)) #s(literal 1/2 binary64))) x (sqrt.f64 y)))
#s(approx (sqrt (+ x y)) (fma.f64 (fma.f64 (fma.f64 (*.f64 #s(literal 1/16 binary64) x) (sqrt.f64 (pow.f64 y #s(literal -5 binary64))) (*.f64 (sqrt.f64 (pow.f64 y #s(literal -3 binary64))) #s(literal -1/8 binary64))) x (*.f64 (/.f64 #s(literal 1 binary64) (sqrt.f64 y)) #s(literal 1/2 binary64))) x (sqrt.f64 y)))
#s(approx (+ x y) y)
#s(approx (+ x y) (+.f64 y x))
#s(approx x x)
#s(approx (sqrt (+ x y)) (sqrt.f64 x))
#s(approx (sqrt (+ x y)) (*.f64 (fma.f64 (*.f64 (sqrt.f64 (pow.f64 x #s(literal -3 binary64))) y) #s(literal 1/2 binary64) (/.f64 #s(literal 1 binary64) (sqrt.f64 x))) x))
#s(approx (sqrt (+ x y)) (*.f64 (+.f64 (fma.f64 (*.f64 (*.f64 y y) (sqrt.f64 (pow.f64 x #s(literal -5 binary64)))) #s(literal -1/8 binary64) (*.f64 (*.f64 (sqrt.f64 (pow.f64 x #s(literal -3 binary64))) y) #s(literal 1/2 binary64))) (/.f64 #s(literal 1 binary64) (sqrt.f64 x))) x))
#s(approx (sqrt (+ x y)) (*.f64 (+.f64 (fma.f64 (*.f64 #s(literal -1/8 binary64) (sqrt.f64 (pow.f64 x #s(literal -5 binary64)))) (*.f64 y y) (fma.f64 (*.f64 (sqrt.f64 (pow.f64 x #s(literal -7 binary64))) (pow.f64 y #s(literal 3 binary64))) #s(literal 1/16 binary64) (*.f64 (*.f64 (sqrt.f64 (pow.f64 x #s(literal -3 binary64))) y) #s(literal 1/2 binary64)))) (/.f64 #s(literal 1 binary64) (sqrt.f64 x))) x))
#s(approx (+ x y) x)
#s(approx (+ x y) (*.f64 (+.f64 (/.f64 y x) #s(literal 1 binary64)) x))
#s(approx (sqrt (+ x y)) (neg.f64 (*.f64 #s(literal -1 binary64) (sqrt.f64 x))))
#s(approx (sqrt (+ x y)) (neg.f64 (*.f64 (fma.f64 #s(literal -1 binary64) (/.f64 #s(literal 1 binary64) (sqrt.f64 x)) (*.f64 (*.f64 (sqrt.f64 (pow.f64 x #s(literal -3 binary64))) y) #s(literal 1/2 binary64))) x)))
#s(approx (sqrt (+ x y)) (neg.f64 (*.f64 (fma.f64 (*.f64 (/.f64 (*.f64 y y) #s(literal -1 binary64)) (sqrt.f64 (pow.f64 x #s(literal -5 binary64)))) #s(literal -1/8 binary64) (fma.f64 #s(literal -1 binary64) (/.f64 #s(literal 1 binary64) (sqrt.f64 x)) (*.f64 (*.f64 (sqrt.f64 (pow.f64 x #s(literal -3 binary64))) y) #s(literal 1/2 binary64)))) x)))
#s(approx (sqrt (+ x y)) (neg.f64 (*.f64 (fma.f64 (*.f64 #s(literal -1/8 binary64) (sqrt.f64 (pow.f64 x #s(literal -5 binary64)))) (/.f64 (*.f64 y y) #s(literal -1 binary64)) (fma.f64 (*.f64 (/.f64 (pow.f64 y #s(literal 3 binary64)) #s(literal 1 binary64)) (sqrt.f64 (pow.f64 x #s(literal -7 binary64)))) #s(literal 1/16 binary64) (fma.f64 #s(literal -1 binary64) (/.f64 #s(literal 1 binary64) (sqrt.f64 x)) (*.f64 (*.f64 (sqrt.f64 (pow.f64 x #s(literal -3 binary64))) y) #s(literal 1/2 binary64))))) x)))
#s(approx (+ x y) (neg.f64 (*.f64 (-.f64 (neg.f64 (/.f64 y x)) #s(literal 1 binary64)) x)))
#s(approx (sqrt (+ x y)) (fma.f64 (*.f64 (/.f64 #s(literal 1 binary64) (sqrt.f64 x)) y) #s(literal 1/2 binary64) (sqrt.f64 x)))
#s(approx (sqrt (+ x y)) (fma.f64 (fma.f64 (*.f64 (sqrt.f64 (pow.f64 x #s(literal -3 binary64))) y) #s(literal -1/8 binary64) (*.f64 (/.f64 #s(literal 1 binary64) (sqrt.f64 x)) #s(literal 1/2 binary64))) y (sqrt.f64 x)))
#s(approx (sqrt (+ x y)) (fma.f64 (fma.f64 (fma.f64 (*.f64 (sqrt.f64 (pow.f64 x #s(literal -5 binary64))) y) #s(literal 1/16 binary64) (*.f64 (sqrt.f64 (pow.f64 x #s(literal -3 binary64))) #s(literal -1/8 binary64))) y (*.f64 (/.f64 #s(literal 1 binary64) (sqrt.f64 x)) #s(literal 1/2 binary64))) y (sqrt.f64 x)))
#s(approx y y)
#s(approx (sqrt (+ x y)) (*.f64 (fma.f64 (*.f64 #s(literal 1/2 binary64) x) (sqrt.f64 (pow.f64 y #s(literal -3 binary64))) (/.f64 #s(literal 1 binary64) (sqrt.f64 y))) y))
#s(approx (sqrt (+ x y)) (*.f64 (+.f64 (fma.f64 (*.f64 #s(literal -1/8 binary64) (*.f64 x x)) (sqrt.f64 (pow.f64 y #s(literal -5 binary64))) (*.f64 (*.f64 #s(literal 1/2 binary64) x) (sqrt.f64 (pow.f64 y #s(literal -3 binary64))))) (/.f64 #s(literal 1 binary64) (sqrt.f64 y))) y))
#s(approx (sqrt (+ x y)) (*.f64 (+.f64 (fma.f64 (*.f64 #s(literal -1/8 binary64) (*.f64 x x)) (sqrt.f64 (pow.f64 y #s(literal -5 binary64))) (fma.f64 (*.f64 #s(literal 1/16 binary64) (pow.f64 x #s(literal 3 binary64))) (sqrt.f64 (pow.f64 y #s(literal -7 binary64))) (*.f64 (*.f64 #s(literal 1/2 binary64) x) (sqrt.f64 (pow.f64 y #s(literal -3 binary64)))))) (/.f64 #s(literal 1 binary64) (sqrt.f64 y))) y))
#s(approx (+ x y) (*.f64 (+.f64 (/.f64 x y) #s(literal 1 binary64)) y))
#s(approx (sqrt (+ x y)) (neg.f64 (*.f64 #s(literal -1 binary64) (sqrt.f64 y))))
#s(approx (sqrt (+ x y)) (neg.f64 (*.f64 (fma.f64 (*.f64 #s(literal 1/2 binary64) x) (sqrt.f64 (pow.f64 y #s(literal -3 binary64))) (*.f64 #s(literal -1 binary64) (/.f64 #s(literal 1 binary64) (sqrt.f64 y)))) y)))
#s(approx (sqrt (+ x y)) (neg.f64 (*.f64 (fma.f64 (*.f64 #s(literal -1/8 binary64) (/.f64 (*.f64 x x) #s(literal -1 binary64))) (sqrt.f64 (pow.f64 y #s(literal -5 binary64))) (fma.f64 (*.f64 #s(literal 1/2 binary64) x) (sqrt.f64 (pow.f64 y #s(literal -3 binary64))) (*.f64 #s(literal -1 binary64) (/.f64 #s(literal 1 binary64) (sqrt.f64 y))))) y)))
#s(approx (sqrt (+ x y)) (neg.f64 (*.f64 (fma.f64 (*.f64 #s(literal -1/8 binary64) (/.f64 (*.f64 x x) #s(literal -1 binary64))) (sqrt.f64 (pow.f64 y #s(literal -5 binary64))) (fma.f64 (*.f64 #s(literal 1/16 binary64) (/.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal 1 binary64))) (sqrt.f64 (pow.f64 y #s(literal -7 binary64))) (fma.f64 (*.f64 #s(literal 1/2 binary64) x) (sqrt.f64 (pow.f64 y #s(literal -3 binary64))) (*.f64 #s(literal -1 binary64) (/.f64 #s(literal 1 binary64) (sqrt.f64 y)))))) y)))
#s(approx (+ x y) (neg.f64 (*.f64 (-.f64 (neg.f64 (/.f64 x y)) #s(literal 1 binary64)) y)))

eval5.0ms (0.4%)

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

Compiled 694 to 185 computations (73.3% saved)

prune2.0ms (0.2%)

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

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New37239
Fresh000
Picked011
Done000
Total37340
Accuracy
100.0%
Counts
40 → 3
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
(sqrt.f64 (+.f64 x y))
100.0%
(sqrt.f64 #s(approx (+ x y) (*.f64 (+.f64 (/.f64 x y) #s(literal 1 binary64)) y)))
98.3%
(sqrt.f64 #s(approx (+ x y) y))
Compiler

Compiled 22 to 18 computations (18.2% saved)

series7.0ms (0.5%)

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

6 calls:

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

rewrite59.0ms (4.6%)

Memory
2.7MiB live, 46.0MiB allocated; 11ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0212980
0219862
01127830
Stop Event
iter limit
iter limit
node limit
iter limit
Counts
54 → 67
Calls
Call 1
Inputs
(sqrt.f64 #s(approx (+ x y) y))
#s(approx (+ x y) y)
y
(sqrt.f64 #s(approx (+ x y) (*.f64 (+.f64 (/.f64 x y) #s(literal 1 binary64)) y)))
#s(approx (+ x y) (*.f64 (+.f64 (/.f64 x y) #s(literal 1 binary64)) y))
(*.f64 (+.f64 (/.f64 x y) #s(literal 1 binary64)) y)
(+.f64 (/.f64 x y) #s(literal 1 binary64))
(/.f64 x y)
x
#s(literal 1 binary64)
#s(approx (sqrt (+ x y)) #s(hole binary64 (sqrt y)))
#s(approx (sqrt (+ x y)) #s(hole binary64 (+ (sqrt y) (* 1/2 (* x (sqrt (/ 1 y)))))))
#s(approx (sqrt (+ x y)) #s(hole binary64 (+ (sqrt y) (* x (+ (* -1/8 (* x (sqrt (/ 1 (pow y 3))))) (* 1/2 (sqrt (/ 1 y))))))))
#s(approx (sqrt (+ x y)) #s(hole binary64 (+ (sqrt y) (* x (+ (* 1/2 (sqrt (/ 1 y))) (* x (+ (* -1/8 (sqrt (/ 1 (pow y 3)))) (* 1/16 (* x (sqrt (/ 1 (pow y 5))))))))))))
#s(approx (+ x y) #s(hole binary64 y))
#s(approx (+ x y) #s(hole binary64 (+ x y)))
#s(approx (* (+ (/ x y) 1) y) #s(hole binary64 y))
#s(approx (* (+ (/ x y) 1) y) #s(hole binary64 (+ x y)))
#s(approx (+ (/ x y) 1) #s(hole binary64 1))
#s(approx (+ (/ x y) 1) #s(hole binary64 (+ 1 (/ x y))))
#s(approx (/ x y) #s(hole binary64 (/ x y)))
#s(approx x #s(hole binary64 x))
#s(approx (sqrt (+ x y)) #s(hole binary64 (sqrt x)))
#s(approx (sqrt (+ x y)) #s(hole binary64 (* x (+ (sqrt (/ 1 x)) (* 1/2 (* (sqrt (/ 1 (pow x 3))) y))))))
#s(approx (sqrt (+ x y)) #s(hole binary64 (* x (+ (sqrt (/ 1 x)) (+ (* -1/8 (* (sqrt (/ 1 (pow x 5))) (pow y 2))) (* 1/2 (* (sqrt (/ 1 (pow x 3))) y)))))))
#s(approx (sqrt (+ x y)) #s(hole binary64 (* x (+ (sqrt (/ 1 x)) (+ (* -1/8 (* (sqrt (/ 1 (pow x 5))) (pow y 2))) (+ (* 1/16 (* (sqrt (/ 1 (pow x 7))) (pow y 3))) (* 1/2 (* (sqrt (/ 1 (pow x 3))) y))))))))
#s(approx (+ x y) #s(hole binary64 x))
#s(approx (+ x y) #s(hole binary64 (* x (+ 1 (/ y x)))))
#s(approx (* (+ (/ x y) 1) y) #s(hole binary64 x))
#s(approx (* (+ (/ x y) 1) y) #s(hole binary64 (* x (+ 1 (/ y x)))))
#s(approx (+ (/ x y) 1) #s(hole binary64 (/ x y)))
#s(approx (+ (/ x y) 1) #s(hole binary64 (* x (+ (/ 1 x) (/ 1 y)))))
#s(approx (sqrt (+ x y)) #s(hole binary64 (* -1 (* (sqrt x) (pow (sqrt -1) 2)))))
#s(approx (sqrt (+ x y)) #s(hole binary64 (* -1 (* x (+ (* 1/2 (* (sqrt (/ 1 (pow x 3))) y)) (* (sqrt (/ 1 x)) (pow (sqrt -1) 2)))))))
#s(approx (sqrt (+ x y)) #s(hole binary64 (* -1 (* x (+ (* -1/8 (* (sqrt (/ 1 (pow x 5))) (/ (pow y 2) (pow (sqrt -1) 2)))) (+ (* 1/2 (* (sqrt (/ 1 (pow x 3))) y)) (* (sqrt (/ 1 x)) (pow (sqrt -1) 2))))))))
#s(approx (sqrt (+ x y)) #s(hole binary64 (* -1 (* x (+ (* -1/8 (* (sqrt (/ 1 (pow x 5))) (/ (pow y 2) (pow (sqrt -1) 2)))) (+ (* 1/16 (* (sqrt (/ 1 (pow x 7))) (/ (pow y 3) (pow (sqrt -1) 4)))) (+ (* 1/2 (* (sqrt (/ 1 (pow x 3))) y)) (* (sqrt (/ 1 x)) (pow (sqrt -1) 2)))))))))
#s(approx (+ x y) #s(hole binary64 (* -1 (* x (- (* -1 (/ y x)) 1)))))
#s(approx (* (+ (/ x y) 1) y) #s(hole binary64 (* -1 (* x (- (* -1 (/ y x)) 1)))))
#s(approx (sqrt (+ x y)) #s(hole binary64 (+ (sqrt x) (* 1/2 (* (sqrt (/ 1 x)) y)))))
#s(approx (sqrt (+ x y)) #s(hole binary64 (+ (sqrt x) (* y (+ (* -1/8 (* (sqrt (/ 1 (pow x 3))) y)) (* 1/2 (sqrt (/ 1 x))))))))
#s(approx (sqrt (+ x y)) #s(hole binary64 (+ (sqrt x) (* y (+ (* 1/2 (sqrt (/ 1 x))) (* y (+ (* -1/8 (sqrt (/ 1 (pow x 3)))) (* 1/16 (* (sqrt (/ 1 (pow x 5))) y)))))))))
#s(approx y #s(hole binary64 y))
#s(approx (+ (/ x y) 1) #s(hole binary64 (/ (+ x y) y)))
#s(approx (sqrt (+ x y)) #s(hole binary64 (* y (+ (sqrt (/ 1 y)) (* 1/2 (* x (sqrt (/ 1 (pow y 3)))))))))
#s(approx (sqrt (+ x y)) #s(hole binary64 (* y (+ (sqrt (/ 1 y)) (+ (* -1/8 (* (pow x 2) (sqrt (/ 1 (pow y 5))))) (* 1/2 (* x (sqrt (/ 1 (pow y 3))))))))))
#s(approx (sqrt (+ x y)) #s(hole binary64 (* y (+ (sqrt (/ 1 y)) (+ (* -1/8 (* (pow x 2) (sqrt (/ 1 (pow y 5))))) (+ (* 1/16 (* (pow x 3) (sqrt (/ 1 (pow y 7))))) (* 1/2 (* x (sqrt (/ 1 (pow y 3)))))))))))
#s(approx (+ x y) #s(hole binary64 (* y (+ 1 (/ x y)))))
#s(approx (* (+ (/ x y) 1) y) #s(hole binary64 (* y (+ 1 (/ x y)))))
#s(approx (sqrt (+ x y)) #s(hole binary64 (* -1 (* (sqrt y) (pow (sqrt -1) 2)))))
#s(approx (sqrt (+ x y)) #s(hole binary64 (* -1 (* y (+ (* 1/2 (* x (sqrt (/ 1 (pow y 3))))) (* (sqrt (/ 1 y)) (pow (sqrt -1) 2)))))))
#s(approx (sqrt (+ x y)) #s(hole binary64 (* -1 (* y (+ (* -1/8 (* (/ (pow x 2) (pow (sqrt -1) 2)) (sqrt (/ 1 (pow y 5))))) (+ (* 1/2 (* x (sqrt (/ 1 (pow y 3))))) (* (sqrt (/ 1 y)) (pow (sqrt -1) 2))))))))
#s(approx (sqrt (+ x y)) #s(hole binary64 (* -1 (* y (+ (* -1/8 (* (/ (pow x 2) (pow (sqrt -1) 2)) (sqrt (/ 1 (pow y 5))))) (+ (* 1/16 (* (/ (pow x 3) (pow (sqrt -1) 4)) (sqrt (/ 1 (pow y 7))))) (+ (* 1/2 (* x (sqrt (/ 1 (pow y 3))))) (* (sqrt (/ 1 y)) (pow (sqrt -1) 2)))))))))
#s(approx (+ x y) #s(hole binary64 (* -1 (* y (- (* -1 (/ x y)) 1)))))
#s(approx (* (+ (/ x y) 1) y) #s(hole binary64 (* -1 (* y (- (* -1 (/ x y)) 1)))))
Outputs
(pow.f64 #s(approx (+ x y) y) #s(literal 1/2 binary64))
(sqrt.f64 #s(approx (+ x y) y))
#s(approx (+ x y) y)
y
(pow.f64 #s(approx (+ x y) (*.f64 (+.f64 (/.f64 x y) #s(literal 1 binary64)) y)) #s(literal 1/2 binary64))
(sqrt.f64 #s(approx (+ x y) (*.f64 (+.f64 (/.f64 x y) #s(literal 1 binary64)) y)))
#s(approx (+ x y) (*.f64 (+.f64 (/.f64 x y) #s(literal 1 binary64)) y))
(*.f64 (+.f64 (/.f64 x y) #s(literal 1 binary64)) y)
(*.f64 y (+.f64 (/.f64 x y) #s(literal 1 binary64)))
(fma.f64 #s(literal 1 binary64) y (*.f64 (/.f64 x y) y))
(fma.f64 y #s(literal 1 binary64) (*.f64 y (/.f64 x y)))
(+.f64 (*.f64 y #s(literal 1 binary64)) (*.f64 y (/.f64 x y)))
(+.f64 (*.f64 #s(literal 1 binary64) y) (*.f64 (/.f64 x y) y))
(/.f64 (-.f64 #s(literal 1 binary64) (*.f64 (/.f64 x y) (/.f64 x y))) (-.f64 #s(literal 1 binary64) (/.f64 x y)))
(/.f64 (-.f64 (*.f64 (/.f64 x y) (/.f64 x y)) #s(literal 1 binary64)) (-.f64 (/.f64 x y) #s(literal 1 binary64)))
(/.f64 (+.f64 #s(literal 1 binary64) (pow.f64 (/.f64 x y) #s(literal 3 binary64))) (+.f64 #s(literal 1 binary64) (-.f64 (*.f64 (/.f64 x y) (/.f64 x y)) (*.f64 #s(literal 1 binary64) (/.f64 x y)))))
(/.f64 (+.f64 (pow.f64 (/.f64 x y) #s(literal 3 binary64)) #s(literal 1 binary64)) (fma.f64 (/.f64 x y) (/.f64 x y) (-.f64 #s(literal 1 binary64) (*.f64 (/.f64 x y) #s(literal 1 binary64)))))
(+.f64 (/.f64 x y) #s(literal 1 binary64))
(+.f64 #s(literal 1 binary64) (/.f64 x y))
(/.f64 (neg.f64 x) (neg.f64 y))
(/.f64 x y)
x
#s(literal 1 binary64)
#s(approx (sqrt (+ x y)) (sqrt.f64 y))
#s(approx (sqrt (+ x y)) (fma.f64 (*.f64 (/.f64 #s(literal 1 binary64) (sqrt.f64 y)) x) #s(literal 1/2 binary64) (sqrt.f64 y)))
#s(approx (sqrt (+ x y)) (fma.f64 (fma.f64 (*.f64 #s(literal -1/8 binary64) x) (sqrt.f64 (pow.f64 y #s(literal -3 binary64))) (*.f64 (/.f64 #s(literal 1 binary64) (sqrt.f64 y)) #s(literal 1/2 binary64))) x (sqrt.f64 y)))
#s(approx (sqrt (+ x y)) (fma.f64 (fma.f64 (fma.f64 (*.f64 #s(literal 1/16 binary64) x) (sqrt.f64 (pow.f64 y #s(literal -5 binary64))) (*.f64 (sqrt.f64 (pow.f64 y #s(literal -3 binary64))) #s(literal -1/8 binary64))) x (*.f64 (/.f64 #s(literal 1 binary64) (sqrt.f64 y)) #s(literal 1/2 binary64))) x (sqrt.f64 y)))
#s(approx (+ x y) y)
#s(approx (+ x y) (+.f64 y x))
#s(approx (* (+ (/ x y) 1) y) y)
#s(approx (* (+ (/ x y) 1) y) (+.f64 y x))
#s(approx (+ (/ x y) 1) #s(literal 1 binary64))
#s(approx (+ (/ x y) 1) (+.f64 (/.f64 x y) #s(literal 1 binary64)))
#s(approx (/ x y) (/.f64 x y))
#s(approx x x)
#s(approx (sqrt (+ x y)) (sqrt.f64 x))
#s(approx (sqrt (+ x y)) (*.f64 (fma.f64 (*.f64 (sqrt.f64 (pow.f64 x #s(literal -3 binary64))) y) #s(literal 1/2 binary64) (/.f64 #s(literal 1 binary64) (sqrt.f64 x))) x))
#s(approx (sqrt (+ x y)) (*.f64 (+.f64 (fma.f64 (*.f64 (*.f64 y y) (sqrt.f64 (pow.f64 x #s(literal -5 binary64)))) #s(literal -1/8 binary64) (*.f64 (*.f64 (sqrt.f64 (pow.f64 x #s(literal -3 binary64))) y) #s(literal 1/2 binary64))) (/.f64 #s(literal 1 binary64) (sqrt.f64 x))) x))
#s(approx (sqrt (+ x y)) (*.f64 (+.f64 (fma.f64 (*.f64 #s(literal -1/8 binary64) (sqrt.f64 (pow.f64 x #s(literal -5 binary64)))) (*.f64 y y) (fma.f64 (*.f64 (sqrt.f64 (pow.f64 x #s(literal -7 binary64))) (pow.f64 y #s(literal 3 binary64))) #s(literal 1/16 binary64) (*.f64 (*.f64 (sqrt.f64 (pow.f64 x #s(literal -3 binary64))) y) #s(literal 1/2 binary64)))) (/.f64 #s(literal 1 binary64) (sqrt.f64 x))) x))
#s(approx (+ x y) x)
#s(approx (+ x y) (*.f64 (+.f64 (/.f64 y x) #s(literal 1 binary64)) x))
#s(approx (* (+ (/ x y) 1) y) x)
#s(approx (* (+ (/ x y) 1) y) (*.f64 (+.f64 (/.f64 y x) #s(literal 1 binary64)) x))
#s(approx (+ (/ x y) 1) (/.f64 x y))
#s(approx (+ (/ x y) 1) (*.f64 (+.f64 (pow.f64 x #s(literal -1 binary64)) (pow.f64 y #s(literal -1 binary64))) x))
#s(approx (sqrt (+ x y)) (neg.f64 (*.f64 #s(literal -1 binary64) (sqrt.f64 x))))
#s(approx (sqrt (+ x y)) (neg.f64 (*.f64 (fma.f64 #s(literal -1 binary64) (/.f64 #s(literal 1 binary64) (sqrt.f64 x)) (*.f64 (*.f64 (sqrt.f64 (pow.f64 x #s(literal -3 binary64))) y) #s(literal 1/2 binary64))) x)))
#s(approx (sqrt (+ x y)) (neg.f64 (*.f64 (fma.f64 (*.f64 (/.f64 (*.f64 y y) #s(literal -1 binary64)) (sqrt.f64 (pow.f64 x #s(literal -5 binary64)))) #s(literal -1/8 binary64) (fma.f64 #s(literal -1 binary64) (/.f64 #s(literal 1 binary64) (sqrt.f64 x)) (*.f64 (*.f64 (sqrt.f64 (pow.f64 x #s(literal -3 binary64))) y) #s(literal 1/2 binary64)))) x)))
#s(approx (sqrt (+ x y)) (neg.f64 (*.f64 (fma.f64 (*.f64 #s(literal -1/8 binary64) (sqrt.f64 (pow.f64 x #s(literal -5 binary64)))) (/.f64 (*.f64 y y) #s(literal -1 binary64)) (fma.f64 (*.f64 (/.f64 (pow.f64 y #s(literal 3 binary64)) #s(literal 1 binary64)) (sqrt.f64 (pow.f64 x #s(literal -7 binary64)))) #s(literal 1/16 binary64) (fma.f64 #s(literal -1 binary64) (/.f64 #s(literal 1 binary64) (sqrt.f64 x)) (*.f64 (*.f64 (sqrt.f64 (pow.f64 x #s(literal -3 binary64))) y) #s(literal 1/2 binary64))))) x)))
#s(approx (+ x y) (neg.f64 (*.f64 (-.f64 (neg.f64 (/.f64 y x)) #s(literal 1 binary64)) x)))
#s(approx (* (+ (/ x y) 1) y) (neg.f64 (*.f64 (-.f64 (neg.f64 (/.f64 y x)) #s(literal 1 binary64)) x)))
#s(approx (sqrt (+ x y)) (fma.f64 (*.f64 (/.f64 #s(literal 1 binary64) (sqrt.f64 x)) y) #s(literal 1/2 binary64) (sqrt.f64 x)))
#s(approx (sqrt (+ x y)) (fma.f64 (fma.f64 (*.f64 (sqrt.f64 (pow.f64 x #s(literal -3 binary64))) y) #s(literal -1/8 binary64) (*.f64 (/.f64 #s(literal 1 binary64) (sqrt.f64 x)) #s(literal 1/2 binary64))) y (sqrt.f64 x)))
#s(approx (sqrt (+ x y)) (fma.f64 (fma.f64 (fma.f64 (*.f64 (sqrt.f64 (pow.f64 x #s(literal -5 binary64))) y) #s(literal 1/16 binary64) (*.f64 (sqrt.f64 (pow.f64 x #s(literal -3 binary64))) #s(literal -1/8 binary64))) y (*.f64 (/.f64 #s(literal 1 binary64) (sqrt.f64 x)) #s(literal 1/2 binary64))) y (sqrt.f64 x)))
#s(approx y y)
#s(approx (+ (/ x y) 1) (/.f64 (+.f64 y x) y))
#s(approx (sqrt (+ x y)) (*.f64 (fma.f64 (*.f64 #s(literal 1/2 binary64) x) (sqrt.f64 (pow.f64 y #s(literal -3 binary64))) (/.f64 #s(literal 1 binary64) (sqrt.f64 y))) y))
#s(approx (sqrt (+ x y)) (*.f64 (+.f64 (fma.f64 (*.f64 #s(literal 1/2 binary64) x) (sqrt.f64 (pow.f64 y #s(literal -3 binary64))) (*.f64 (*.f64 #s(literal -1/8 binary64) (*.f64 x x)) (sqrt.f64 (pow.f64 y #s(literal -5 binary64))))) (/.f64 #s(literal 1 binary64) (sqrt.f64 y))) y))
#s(approx (sqrt (+ x y)) (*.f64 (+.f64 (fma.f64 (*.f64 #s(literal -1/8 binary64) (*.f64 x x)) (sqrt.f64 (pow.f64 y #s(literal -5 binary64))) (fma.f64 (*.f64 #s(literal 1/16 binary64) (pow.f64 x #s(literal 3 binary64))) (sqrt.f64 (pow.f64 y #s(literal -7 binary64))) (*.f64 (*.f64 #s(literal 1/2 binary64) x) (sqrt.f64 (pow.f64 y #s(literal -3 binary64)))))) (/.f64 #s(literal 1 binary64) (sqrt.f64 y))) y))
#s(approx (+ x y) (*.f64 (+.f64 (/.f64 x y) #s(literal 1 binary64)) y))
#s(approx (* (+ (/ x y) 1) y) (*.f64 (+.f64 (/.f64 x y) #s(literal 1 binary64)) y))
#s(approx (sqrt (+ x y)) (neg.f64 (*.f64 #s(literal -1 binary64) (sqrt.f64 y))))
#s(approx (sqrt (+ x y)) (neg.f64 (*.f64 (fma.f64 (*.f64 #s(literal 1/2 binary64) x) (sqrt.f64 (pow.f64 y #s(literal -3 binary64))) (*.f64 #s(literal -1 binary64) (/.f64 #s(literal 1 binary64) (sqrt.f64 y)))) y)))
#s(approx (sqrt (+ x y)) (neg.f64 (*.f64 (fma.f64 (*.f64 #s(literal -1/8 binary64) (/.f64 (*.f64 x x) #s(literal -1 binary64))) (sqrt.f64 (pow.f64 y #s(literal -5 binary64))) (fma.f64 (*.f64 #s(literal 1/2 binary64) x) (sqrt.f64 (pow.f64 y #s(literal -3 binary64))) (*.f64 #s(literal -1 binary64) (/.f64 #s(literal 1 binary64) (sqrt.f64 y))))) y)))
#s(approx (sqrt (+ x y)) (neg.f64 (*.f64 (fma.f64 (*.f64 #s(literal -1/8 binary64) (/.f64 (*.f64 x x) #s(literal -1 binary64))) (sqrt.f64 (pow.f64 y #s(literal -5 binary64))) (fma.f64 (*.f64 #s(literal 1/16 binary64) (/.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal 1 binary64))) (sqrt.f64 (pow.f64 y #s(literal -7 binary64))) (fma.f64 (*.f64 #s(literal 1/2 binary64) x) (sqrt.f64 (pow.f64 y #s(literal -3 binary64))) (*.f64 #s(literal -1 binary64) (/.f64 #s(literal 1 binary64) (sqrt.f64 y)))))) y)))
#s(approx (+ x y) (neg.f64 (*.f64 (-.f64 (neg.f64 (/.f64 x y)) #s(literal 1 binary64)) y)))
#s(approx (* (+ (/ x y) 1) y) (neg.f64 (*.f64 (-.f64 (neg.f64 (/.f64 x y)) #s(literal 1 binary64)) y)))

eval40.0ms (3.1%)

Memory
-36.8MiB live, 22.0MiB allocated; 36ms collecting garbage
Compiler

Compiled 1 231 to 300 computations (75.6% saved)

prune3.0ms (0.3%)

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

3 alts after pruning (0 fresh and 3 done)

PrunedKeptTotal
New69069
Fresh000
Picked022
Done011
Total69372
Accuracy
100.0%
Counts
72 → 3
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
(sqrt.f64 (+.f64 x y))
100.0%
(sqrt.f64 #s(approx (+ x y) (*.f64 (+.f64 (/.f64 x y) #s(literal 1 binary64)) y)))
98.3%
(sqrt.f64 #s(approx (+ x y) y))
Compiler

Compiled 44 to 31 computations (29.5% saved)

regimes7.0ms (0.5%)

Memory
16.2MiB live, 16.2MiB allocated; 0ms collecting garbage
Counts
3 → 1
Calls
Call 1
Inputs
(sqrt.f64 #s(approx (+ x y) y))
(sqrt.f64 (+.f64 x y))
(sqrt.f64 #s(approx (+ x y) (*.f64 (+.f64 (/.f64 x y) #s(literal 1 binary64)) y)))
Outputs
(sqrt.f64 #s(approx (+ x y) (*.f64 (+.f64 (/.f64 x y) #s(literal 1 binary64)) y)))
Calls

4 calls:

2.0ms
(+.f64 x y)
2.0ms
x
2.0ms
y
1.0ms
(sqrt.f64 (+.f64 x y))
Results
AccuracySegmentsBranch
100.0%1(+.f64 x y)
100.0%1(sqrt.f64 (+.f64 x y))
100.0%1x
100.0%1y
Compiler

Compiled 9 to 11 computations (-22.2% saved)

regimes11.0ms (0.8%)

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

4 calls:

7.0ms
(sqrt.f64 (+.f64 x y))
1.0ms
(+.f64 x y)
1.0ms
x
1.0ms
y
Results
AccuracySegmentsBranch
100.0%1(+.f64 x y)
100.0%1(sqrt.f64 (+.f64 x y))
100.0%1x
100.0%1y
Compiler

Compiled 9 to 11 computations (-22.2% saved)

regimes4.0ms (0.3%)

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

Total 0.0b remaining (0%)

Threshold costs 0b (0%)

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

4 calls:

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

Compiled 9 to 11 computations (-22.2% saved)

simplify52.0ms (4%)

Memory
4.0MiB live, 47.4MiB allocated; 8ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01322
11622
21922
32722
45022
522322
6214822
7528122
Stop Event
node limit
Calls
Call 1
Inputs
(sqrt.f64 #s(approx (+ x y) (*.f64 (+.f64 (/.f64 x y) #s(literal 1 binary64)) y)))
(sqrt.f64 (+.f64 x y))
(sqrt.f64 #s(approx (+ x y) y))
Outputs
(sqrt.f64 #s(approx (+ x y) (*.f64 (+.f64 (/.f64 x y) #s(literal 1 binary64)) y)))
(sqrt.f64 (+.f64 x y))
(sqrt.f64 #s(approx (+ x y) y))

derivations5.0ms (0.4%)

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

Compiled 22 to 13 computations (40.9% saved)

preprocess28.0ms (2.2%)

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

Compiled 100 to 70 computations (30% saved)

end0.0ms (0%)

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

Profiling

Loading profile data...