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

Time bar (total: 4.8s)

start0.0ms (0%)

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

analyze58.0ms (1.2%)

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

sample729.0ms (15.2%)

Memory
5.9MiB live, 350.8MiB allocated; 136ms collecting garbage
Samples
507.0ms8 256×0valid
21.0ms576×0invalid
Precisions
Click to see histograms. Total time spent on operations: 216.0ms
ival-sqrt: 180.0ms (83.4% of total)
ival-add!: 34.0ms (15.8% of total)
adjust: 2.0ms (0.9% of total)
Bogosity

preprocess88.0ms (1.8%)

Memory
-26.2MiB live, 68.6MiB allocated; 22ms collecting garbage
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
01430
13126
25926
314126
434326
588526
6431226
Stop Event
node-limit
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
(sqrt.f64 (+.f64 x y))
Symmetry

(sort x y)

Compiler

Compiled 8 to 8 computations (0% saved)

series175.0ms (3.7%)

Memory
18.8MiB live, 109.0MiB allocated; 38ms 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)) (sqrt.f64 y))
#s(approx (sqrt (+ x y)) (+.f64 (sqrt.f64 y) (*.f64 #s(literal 1/2 binary64) (/.f64 x (sqrt.f64 y)))))
#s(approx (sqrt (+ x y)) (+.f64 (sqrt.f64 y) (*.f64 x (fma.f64 #s(literal -1/8 binary64) (/.f64 x (pow.f64 (sqrt.f64 y) #s(literal 3 binary64))) (*.f64 #s(literal 1/2 binary64) (/.f64 #s(literal 1 binary64) (sqrt.f64 y)))))))
#s(approx (sqrt (+ x y)) (+.f64 (sqrt.f64 y) (*.f64 x (fma.f64 x (-.f64 (*.f64 #s(literal 1/16 binary64) (/.f64 x (pow.f64 (sqrt.f64 y) #s(literal 5 binary64)))) (*.f64 #s(literal 1/8 binary64) (/.f64 #s(literal 1 binary64) (pow.f64 (sqrt.f64 y) #s(literal 3 binary64))))) (*.f64 #s(literal 1/2 binary64) (/.f64 #s(literal 1 binary64) (sqrt.f64 y)))))))
#s(approx (+ x y) y)
#s(approx (+ x y) (+.f64 x y))
#s(approx x x)
#s(approx (sqrt (+ x y)) (*.f64 x (sqrt.f64 (/.f64 #s(literal 1 binary64) x))))
#s(approx (sqrt (+ x y)) (*.f64 x (+.f64 (sqrt.f64 (/.f64 #s(literal 1 binary64) x)) (*.f64 #s(literal 1/2 binary64) (/.f64 y (*.f64 (pow.f64 x #s(literal 2 binary64)) (sqrt.f64 (/.f64 #s(literal 1 binary64) x))))))))
#s(approx (sqrt (+ x y)) (*.f64 x (+.f64 (sqrt.f64 (/.f64 #s(literal 1 binary64) x)) (fma.f64 #s(literal -1/8 binary64) (/.f64 (pow.f64 y #s(literal 2 binary64)) (*.f64 (pow.f64 x #s(literal 4 binary64)) (pow.f64 (sqrt.f64 (/.f64 #s(literal 1 binary64) x)) #s(literal 3 binary64)))) (*.f64 #s(literal 1/2 binary64) (/.f64 y (*.f64 (pow.f64 x #s(literal 2 binary64)) (sqrt.f64 (/.f64 #s(literal 1 binary64) x)))))))))
#s(approx (sqrt (+ x y)) (*.f64 x (+.f64 (sqrt.f64 (/.f64 #s(literal 1 binary64) x)) (fma.f64 #s(literal -1/8 binary64) (/.f64 (pow.f64 y #s(literal 2 binary64)) (*.f64 (pow.f64 x #s(literal 4 binary64)) (pow.f64 (sqrt.f64 (/.f64 #s(literal 1 binary64) x)) #s(literal 3 binary64)))) (fma.f64 #s(literal 1/16 binary64) (/.f64 (pow.f64 y #s(literal 3 binary64)) (*.f64 (pow.f64 x #s(literal 6 binary64)) (pow.f64 (sqrt.f64 (/.f64 #s(literal 1 binary64) x)) #s(literal 5 binary64)))) (*.f64 #s(literal 1/2 binary64) (/.f64 y (*.f64 (pow.f64 x #s(literal 2 binary64)) (sqrt.f64 (/.f64 #s(literal 1 binary64) x))))))))))
#s(approx (+ x y) (*.f64 x (+.f64 #s(literal 1 binary64) (/.f64 y x))))
#s(approx (sqrt (+ x y)) (*.f64 #s(literal -1 binary64) (*.f64 x (sqrt.f64 (/.f64 #s(literal 1 binary64) x)))))
#s(approx (sqrt (+ x y)) (*.f64 #s(literal -1 binary64) (*.f64 x (+.f64 (sqrt.f64 (/.f64 #s(literal 1 binary64) x)) (*.f64 #s(literal 1/2 binary64) (/.f64 y (*.f64 (pow.f64 x #s(literal 2 binary64)) (sqrt.f64 (/.f64 #s(literal 1 binary64) x)))))))))
#s(approx (sqrt (+ x y)) (*.f64 #s(literal -1 binary64) (*.f64 x (+.f64 (sqrt.f64 (/.f64 #s(literal 1 binary64) x)) (fma.f64 #s(literal -1/8 binary64) (/.f64 (pow.f64 y #s(literal 2 binary64)) (*.f64 (pow.f64 x #s(literal 4 binary64)) (pow.f64 (sqrt.f64 (/.f64 #s(literal 1 binary64) x)) #s(literal 3 binary64)))) (*.f64 #s(literal 1/2 binary64) (/.f64 y (*.f64 (pow.f64 x #s(literal 2 binary64)) (sqrt.f64 (/.f64 #s(literal 1 binary64) x))))))))))
#s(approx (sqrt (+ x y)) (*.f64 #s(literal -1 binary64) (*.f64 x (+.f64 (sqrt.f64 (/.f64 #s(literal 1 binary64) x)) (fma.f64 #s(literal -1/8 binary64) (/.f64 (pow.f64 y #s(literal 2 binary64)) (*.f64 (pow.f64 x #s(literal 4 binary64)) (pow.f64 (sqrt.f64 (/.f64 #s(literal 1 binary64) x)) #s(literal 3 binary64)))) (fma.f64 #s(literal 1/16 binary64) (/.f64 (pow.f64 y #s(literal 3 binary64)) (*.f64 (pow.f64 x #s(literal 6 binary64)) (pow.f64 (sqrt.f64 (/.f64 #s(literal 1 binary64) x)) #s(literal 5 binary64)))) (*.f64 #s(literal 1/2 binary64) (/.f64 y (*.f64 (pow.f64 x #s(literal 2 binary64)) (sqrt.f64 (/.f64 #s(literal 1 binary64) x)))))))))))
#s(approx (+ x y) (*.f64 #s(literal -1 binary64) (*.f64 x (-.f64 (*.f64 #s(literal -1 binary64) (/.f64 y x)) #s(literal 1 binary64)))))
#s(approx (sqrt (+ x y)) (sqrt.f64 x))
#s(approx (sqrt (+ x y)) (+.f64 (sqrt.f64 x) (*.f64 #s(literal 1/2 binary64) (/.f64 y (sqrt.f64 x)))))
#s(approx (sqrt (+ x y)) (+.f64 (sqrt.f64 x) (*.f64 y (fma.f64 #s(literal -1/8 binary64) (/.f64 y (pow.f64 (sqrt.f64 x) #s(literal 3 binary64))) (*.f64 #s(literal 1/2 binary64) (/.f64 #s(literal 1 binary64) (sqrt.f64 x)))))))
#s(approx (sqrt (+ x y)) (+.f64 (sqrt.f64 x) (*.f64 y (fma.f64 y (-.f64 (*.f64 #s(literal 1/16 binary64) (/.f64 y (pow.f64 (sqrt.f64 x) #s(literal 5 binary64)))) (*.f64 #s(literal 1/8 binary64) (/.f64 #s(literal 1 binary64) (pow.f64 (sqrt.f64 x) #s(literal 3 binary64))))) (*.f64 #s(literal 1/2 binary64) (/.f64 #s(literal 1 binary64) (sqrt.f64 x)))))))
#s(approx (sqrt (+ x y)) (*.f64 y (sqrt.f64 (/.f64 #s(literal 1 binary64) y))))
#s(approx (sqrt (+ x y)) (*.f64 y (+.f64 (sqrt.f64 (/.f64 #s(literal 1 binary64) y)) (*.f64 #s(literal 1/2 binary64) (/.f64 x (*.f64 (pow.f64 y #s(literal 2 binary64)) (sqrt.f64 (/.f64 #s(literal 1 binary64) y))))))))
#s(approx (sqrt (+ x y)) (*.f64 y (+.f64 (sqrt.f64 (/.f64 #s(literal 1 binary64) y)) (fma.f64 #s(literal -1/8 binary64) (/.f64 (pow.f64 x #s(literal 2 binary64)) (*.f64 (pow.f64 y #s(literal 4 binary64)) (pow.f64 (sqrt.f64 (/.f64 #s(literal 1 binary64) y)) #s(literal 3 binary64)))) (*.f64 #s(literal 1/2 binary64) (/.f64 x (*.f64 (pow.f64 y #s(literal 2 binary64)) (sqrt.f64 (/.f64 #s(literal 1 binary64) y)))))))))
#s(approx (sqrt (+ x y)) (*.f64 y (+.f64 (sqrt.f64 (/.f64 #s(literal 1 binary64) y)) (fma.f64 #s(literal -1/8 binary64) (/.f64 (pow.f64 x #s(literal 2 binary64)) (*.f64 (pow.f64 y #s(literal 4 binary64)) (pow.f64 (sqrt.f64 (/.f64 #s(literal 1 binary64) y)) #s(literal 3 binary64)))) (fma.f64 #s(literal 1/16 binary64) (/.f64 (pow.f64 x #s(literal 3 binary64)) (*.f64 (pow.f64 y #s(literal 6 binary64)) (pow.f64 (sqrt.f64 (/.f64 #s(literal 1 binary64) y)) #s(literal 5 binary64)))) (*.f64 #s(literal 1/2 binary64) (/.f64 x (*.f64 (pow.f64 y #s(literal 2 binary64)) (sqrt.f64 (/.f64 #s(literal 1 binary64) y))))))))))
#s(approx (+ x y) (*.f64 y (+.f64 #s(literal 1 binary64) (/.f64 x y))))
#s(approx (sqrt (+ x y)) (*.f64 #s(literal -1 binary64) (*.f64 y (sqrt.f64 (/.f64 #s(literal 1 binary64) y)))))
#s(approx (sqrt (+ x y)) (*.f64 #s(literal -1 binary64) (*.f64 y (+.f64 (sqrt.f64 (/.f64 #s(literal 1 binary64) y)) (*.f64 #s(literal 1/2 binary64) (/.f64 x (*.f64 (pow.f64 y #s(literal 2 binary64)) (sqrt.f64 (/.f64 #s(literal 1 binary64) y)))))))))
#s(approx (sqrt (+ x y)) (*.f64 #s(literal -1 binary64) (*.f64 y (+.f64 (sqrt.f64 (/.f64 #s(literal 1 binary64) y)) (fma.f64 #s(literal -1/8 binary64) (/.f64 (pow.f64 x #s(literal 2 binary64)) (*.f64 (pow.f64 y #s(literal 4 binary64)) (pow.f64 (sqrt.f64 (/.f64 #s(literal 1 binary64) y)) #s(literal 3 binary64)))) (*.f64 #s(literal 1/2 binary64) (/.f64 x (*.f64 (pow.f64 y #s(literal 2 binary64)) (sqrt.f64 (/.f64 #s(literal 1 binary64) y))))))))))
#s(approx (sqrt (+ x y)) (*.f64 #s(literal -1 binary64) (*.f64 y (+.f64 (sqrt.f64 (/.f64 #s(literal 1 binary64) y)) (fma.f64 #s(literal -1/8 binary64) (/.f64 (pow.f64 x #s(literal 2 binary64)) (*.f64 (pow.f64 y #s(literal 4 binary64)) (pow.f64 (sqrt.f64 (/.f64 #s(literal 1 binary64) y)) #s(literal 3 binary64)))) (fma.f64 #s(literal 1/16 binary64) (/.f64 (pow.f64 x #s(literal 3 binary64)) (*.f64 (pow.f64 y #s(literal 6 binary64)) (pow.f64 (sqrt.f64 (/.f64 #s(literal 1 binary64) y)) #s(literal 5 binary64)))) (*.f64 #s(literal 1/2 binary64) (/.f64 x (*.f64 (pow.f64 y #s(literal 2 binary64)) (sqrt.f64 (/.f64 #s(literal 1 binary64) y)))))))))))
#s(approx (+ x y) (*.f64 #s(literal -1 binary64) (*.f64 y (-.f64 (*.f64 #s(literal -1 binary64) (/.f64 x y)) #s(literal 1 binary64)))))
Calls

6 calls:

TimeVariablePointExpression
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
y
@inf
((sqrt (+ x y)) (+ x y) x y)
1.0ms
x
@0
((sqrt (+ x y)) (+ x y) x y)

rewrite1.6s (34.3%)

Memory
37.5MiB live, 703.1MiB allocated; 305ms collecting garbage
Counts
4 → 30
Calls
Call 1
Inputs
(sqrt.f64 (+.f64 x y))
(+.f64 x y)
x
y
Outputs
(fabs.f64 (sqrt.f64 (+.f64 x y)))
(fabs.f64 (neg.f64 (sqrt.f64 (+.f64 x y))))
(neg.f64 (neg.f64 (sqrt.f64 (+.f64 x y))))
(pow.f64 (+.f64 x y) #s(literal 1/2 binary64))
(pow.f64 (*.f64 (+.f64 x y) (+.f64 x y)) (/.f64 #s(literal 1/2 binary64) #s(literal 2 binary64)))
(pow.f64 (*.f64 (*.f64 (+.f64 x y) (+.f64 x y)) (*.f64 (+.f64 x y) (+.f64 x y))) (/.f64 (/.f64 #s(literal 1/2 binary64) #s(literal 2 binary64)) #s(literal 2 binary64)))
(sqrt.f64 (+.f64 x y))
(*.f64 (sqrt.f64 (+.f64 x y)) (sqrt.f64 (+.f64 x y)))
(*.f64 (neg.f64 (sqrt.f64 (+.f64 x y))) (neg.f64 (sqrt.f64 (+.f64 x y))))
(fabs.f64 (+.f64 x y))
(fabs.f64 (-.f64 (neg.f64 y) x))
(+.f64 x y)
(+.f64 y x)
(-.f64 x (neg.f64 y))
(-.f64 y (neg.f64 x))
(neg.f64 (-.f64 (neg.f64 y) x))
(pow.f64 (+.f64 x y) (+.f64 #s(literal 1/2 binary64) #s(literal 1/2 binary64)))
(pow.f64 (+.f64 x y) #s(literal 1 binary64))
(pow.f64 (*.f64 (+.f64 x y) (+.f64 x y)) #s(literal 1/2 binary64))
(pow.f64 (*.f64 (*.f64 (+.f64 x y) (+.f64 x y)) (*.f64 (+.f64 x y) (+.f64 x y))) (/.f64 #s(literal 1/2 binary64) #s(literal 2 binary64)))
(pow.f64 (*.f64 (+.f64 x y) (+.f64 x y)) (*.f64 #s(literal 1/2 binary64) #s(literal 1 binary64)))
(pow.f64 (*.f64 (*.f64 (+.f64 x y) (+.f64 x y)) (*.f64 (+.f64 x y) (+.f64 x y))) (/.f64 (*.f64 #s(literal 1/2 binary64) #s(literal 1 binary64)) #s(literal 2 binary64)))
(pow.f64 (*.f64 (+.f64 x y) (+.f64 x y)) (/.f64 #s(literal 1 binary64) #s(literal 2 binary64)))
(pow.f64 (sqrt.f64 (+.f64 x y)) #s(literal 2 binary64))
(pow.f64 (neg.f64 (sqrt.f64 (+.f64 x y))) #s(literal 2 binary64))
(sqrt.f64 (*.f64 (+.f64 x y) (+.f64 x y)))
x
(neg.f64 (neg.f64 x))
y
(neg.f64 (neg.f64 y))

eval17.0ms (0.3%)

Memory
-37.9MiB live, 8.8MiB allocated; 5ms collecting garbage
Compiler

Compiled 551 to 228 computations (58.6% saved)

prune4.0ms (0.1%)

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

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New55257
Fresh000
Picked011
Done000
Total55358
Accuracy
100.0%
Counts
58 → 3
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
(sqrt.f64 (+.f64 x y))
98.7%
(sqrt.f64 #s(approx (+ x y) y))
3.3%
#s(approx (sqrt (+ x y)) (sqrt.f64 x))
Compiler

Compiled 15 to 15 computations (0% saved)

series198.0ms (4.1%)

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

6 calls:

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

rewrite1.8s (37.4%)

Memory
-23.0MiB live, 344.0MiB allocated; 229ms collecting garbage
Counts
6 → 28
Calls
Call 1
Inputs
#s(approx (sqrt (+ x y)) (sqrt.f64 x))
(sqrt.f64 x)
x
(sqrt.f64 #s(approx (+ x y) y))
#s(approx (+ x y) y)
y
Outputs
#s(approx (sqrt (+ y x)) (sqrt.f64 x))
(fabs.f64 (sqrt.f64 x))
(fabs.f64 (neg.f64 (sqrt.f64 x)))
(neg.f64 (neg.f64 (sqrt.f64 x)))
(pow.f64 x #s(literal 1/2 binary64))
(pow.f64 (*.f64 x x) (/.f64 #s(literal 1/2 binary64) #s(literal 2 binary64)))
(pow.f64 (*.f64 (*.f64 x x) (*.f64 x x)) (/.f64 (/.f64 #s(literal 1/2 binary64) #s(literal 2 binary64)) #s(literal 2 binary64)))
(sqrt.f64 x)
x
(*.f64 (sqrt.f64 x) (sqrt.f64 x))
(*.f64 (neg.f64 (sqrt.f64 x)) (neg.f64 (sqrt.f64 x)))
(fabs.f64 x)
(fabs.f64 (neg.f64 x))
(neg.f64 (neg.f64 x))
(pow.f64 x #s(literal 1 binary64))
(pow.f64 (*.f64 x x) #s(literal 1/2 binary64))
(pow.f64 (*.f64 x x) (*.f64 #s(literal 1/2 binary64) #s(literal 1 binary64)))
(pow.f64 (*.f64 x x) (/.f64 #s(literal 1 binary64) #s(literal 2 binary64)))
(pow.f64 (sqrt.f64 x) #s(literal 2 binary64))
(pow.f64 x (+.f64 #s(literal 1/2 binary64) #s(literal 1/2 binary64)))
(pow.f64 (*.f64 (*.f64 x x) (*.f64 x x)) (/.f64 #s(literal 1/2 binary64) #s(literal 2 binary64)))
(pow.f64 (*.f64 (*.f64 x x) (*.f64 x x)) (/.f64 (*.f64 #s(literal 1/2 binary64) #s(literal 1 binary64)) #s(literal 2 binary64)))
(pow.f64 (neg.f64 (sqrt.f64 x)) #s(literal 2 binary64))
(sqrt.f64 (*.f64 x x))
(sqrt.f64 #s(approx (+ y x) y))
#s(approx (+ y x) y)
y
(neg.f64 (neg.f64 y))

eval7.0ms (0.1%)

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

Compiled 533 to 243 computations (54.4% saved)

prune3.0ms (0.1%)

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

3 alts after pruning (0 fresh and 3 done)

PrunedKeptTotal
New55055
Fresh000
Picked022
Done011
Total55358
Accuracy
100.0%
Counts
58 → 3
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
(sqrt.f64 (+.f64 x y))
98.7%
(sqrt.f64 #s(approx (+ x y) y))
3.3%
#s(approx (sqrt (+ x y)) (sqrt.f64 x))
Compiler

Compiled 26 to 25 computations (3.8% saved)

regimes10.0ms (0.2%)

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

4 calls:

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

regimes7.0ms (0.2%)

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

4 calls:

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

Compiled 9 to 11 computations (-22.2% saved)

regimes11.0ms (0.2%)

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

4 calls:

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

Compiled 9 to 11 computations (-22.2% saved)

derivations1.0ms (0%)

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

Compiled 11 to 10 computations (9.1% saved)

preprocess46.0ms (1%)

Memory
22.9MiB live, 22.9MiB allocated; 0ms collecting garbage
Remove

(sort x y)

Compiler

Compiled 45 to 44 computations (2.2% saved)

end0.0ms (0%)

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

Profiling

Loading profile data...