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

Time bar (total: 2.4s)

start0.0ms (0%)

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

analyze15.0ms (0.7%)

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

sample1.1s (45.8%)

Memory
-99.2MiB live, 518.9MiB allocated; 1.2s collecting garbage
Samples
334.0ms8 256×0valid
55.0ms529×0invalid
Precisions
Click to see histograms. Total time spent on operations: 176.0ms
ival-sqrt: 126.0ms (71.4% of total)
ival-add!: 49.0ms (27.8% of total)
adjust: 2.0ms (1.1% of total)
Bogosity

preprocess38.0ms (1.6%)

Memory
-19.9MiB live, 23.7MiB allocated; 14ms collecting garbage
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
01428
16228
245526
Stop Event
node-limit
Alt Table
Click to see full alt table
StatusAccuracyProgram
98.6%
(sqrt.f64 (+.f64 x y))
Symmetry

(abs x)

(abs y)

(sort x y)

Compiler

Compiled 8 to 8 computations (0% saved)

series102.0ms (4.3%)

Memory
0.8MiB live, 44.8MiB allocated; 12ms 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:

TimeVariablePoint
1.0ms
x
-inf
1.0ms
x
inf
1.0ms
y
-inf
1.0ms
y
inf
0.0ms
x
0

rewrite158.0ms (6.6%)

Memory
7.6MiB live, 53.6MiB allocated; 16ms collecting garbage
Counts
4 → 12
Calls
Call 1
Inputs
(sqrt.f64 (+.f64 x y))
(+.f64 x y)
x
y
Outputs
(*.f64 (pow.f64 (+.f64 x y) (/.f64 #s(literal 1/2 binary64) #s(literal 2 binary64))) (pow.f64 (+.f64 x y) (/.f64 #s(literal 1/2 binary64) #s(literal 2 binary64))))
(*.f64 (fabs.f64 (pow.f64 (+.f64 x y) (/.f64 #s(literal 1/2 binary64) #s(literal 2 binary64)))) (fabs.f64 (pow.f64 (+.f64 x y) (/.f64 #s(literal 1/2 binary64) #s(literal 2 binary64)))))
(*.f64 (neg.f64 (pow.f64 (+.f64 x y) (/.f64 #s(literal 1/2 binary64) #s(literal 2 binary64)))) (neg.f64 (pow.f64 (+.f64 x y) (/.f64 #s(literal 1/2 binary64) #s(literal 2 binary64)))))
(+.f64 (cosh.f64 (*.f64 (log.f64 (+.f64 x y)) #s(literal 1/2 binary64))) (sinh.f64 (*.f64 (log.f64 (+.f64 x y)) #s(literal 1/2 binary64))))
(/.f64 (sqrt.f64 (fma.f64 (*.f64 x x) x (*.f64 (*.f64 y y) y))) (sqrt.f64 (fma.f64 (-.f64 y x) y (*.f64 x x))))
(*.f64 (+.f64 x y) (/.f64 (-.f64 x y) (-.f64 x y)))
(*.f64 (/.f64 (*.f64 (+.f64 x y) (-.f64 x y)) (-.f64 (*.f64 (*.f64 x x) x) (*.f64 (*.f64 y y) y))) (fma.f64 y (+.f64 x y) (*.f64 x x)))
(*.f64 (/.f64 (*.f64 (+.f64 x y) (-.f64 x y)) (*.f64 (+.f64 x y) (-.f64 x y))) (+.f64 x y))
(*.f64 (fma.f64 (-.f64 y x) y (*.f64 x x)) (/.f64 (+.f64 x y) (fma.f64 (-.f64 y x) y (*.f64 x x))))
(*.f64 (/.f64 (fma.f64 (*.f64 x x) x (*.f64 (*.f64 y y) y)) (fma.f64 (*.f64 (*.f64 x x) x) (*.f64 (*.f64 x x) x) (pow.f64 (*.f64 (-.f64 y x) y) #s(literal 3 binary64)))) (fma.f64 (*.f64 (-.f64 y x) y) (-.f64 (*.f64 (-.f64 y x) y) (*.f64 x x)) (*.f64 (*.f64 x x) (*.f64 x x))))
x
y

eval6.0ms (0.3%)

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

Compiled 997 to 214 computations (78.5% saved)

prune4.0ms (0.2%)

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

7 alts after pruning (6 fresh and 1 done)

PrunedKeptTotal
New35641
Fresh000
Picked011
Done000
Total35742
Accuracy
100.0%
Counts
42 → 7
Alt Table
Click to see full alt table
StatusAccuracyProgram
98.6%
(sqrt.f64 (+.f64 x y))
33.2%
(sqrt.f64 (*.f64 (/.f64 (*.f64 (+.f64 x y) (-.f64 x y)) (-.f64 (*.f64 (*.f64 x x) x) (*.f64 (*.f64 y y) y))) (fma.f64 y (+.f64 x y) (*.f64 x x))))
98.6%
(sqrt.f64 #s(approx (+ x y) (*.f64 y (+.f64 #s(literal 1 binary64) (/.f64 x y)))))
72.7%
(sqrt.f64 #s(approx (+ x y) (*.f64 x (+.f64 #s(literal 1 binary64) (/.f64 y x)))))
97.8%
(sqrt.f64 #s(approx (+ x y) y))
98.4%
#s(approx (sqrt (+ x y)) (+.f64 (sqrt.f64 y) (*.f64 #s(literal 1/2 binary64) (/.f64 x (sqrt.f64 y)))))
6.4%
#s(approx (sqrt (+ x y)) (sqrt.f64 x))
Compiler

Compiled 164 to 110 computations (32.9% saved)

series135.0ms (5.7%)

Memory
4.0MiB live, 57.9MiB allocated; 19ms collecting garbage
Counts
23 → 48
Calls
Call 1
Inputs
(sqrt.f64 #s(approx (+ x y) (*.f64 y (+.f64 #s(literal 1 binary64) (/.f64 x y)))))
#s(approx (+ x y) (*.f64 y (+.f64 #s(literal 1 binary64) (/.f64 x y))))
(*.f64 y (+.f64 #s(literal 1 binary64) (/.f64 x y)))
y
(+.f64 #s(literal 1 binary64) (/.f64 x y))
#s(literal 1 binary64)
(/.f64 x y)
x
#s(approx (sqrt (+ x y)) (sqrt.f64 x))
(sqrt.f64 x)
(sqrt.f64 #s(approx (+ x y) y))
#s(approx (+ x y) y)
(sqrt.f64 #s(approx (+ x y) (*.f64 x (+.f64 #s(literal 1 binary64) (/.f64 y x)))))
#s(approx (+ x y) (*.f64 x (+.f64 #s(literal 1 binary64) (/.f64 y x))))
(*.f64 x (+.f64 #s(literal 1 binary64) (/.f64 y x)))
(+.f64 #s(literal 1 binary64) (/.f64 y x))
(/.f64 y x)
#s(approx (sqrt (+ x y)) (+.f64 (sqrt.f64 y) (*.f64 #s(literal 1/2 binary64) (/.f64 x (sqrt.f64 y)))))
(+.f64 (sqrt.f64 y) (*.f64 #s(literal 1/2 binary64) (/.f64 x (sqrt.f64 y))))
(sqrt.f64 y)
(*.f64 #s(literal 1/2 binary64) (/.f64 x (sqrt.f64 y)))
#s(literal 1/2 binary64)
(/.f64 x (sqrt.f64 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 (+ 1 (/ x y)) #s(literal 1 binary64))
#s(approx (+ 1 (/ x y)) (+.f64 #s(literal 1 binary64) (/.f64 x y)))
#s(approx (/ x y) (/.f64 x y))
#s(approx x x)
#s(approx (sqrt x) (sqrt.f64 x))
#s(approx (+ 1 (/ y x)) (/.f64 y x))
#s(approx (+ 1 (/ y x)) (/.f64 (+.f64 x y) x))
#s(approx (* 1/2 (/ x (sqrt y))) (*.f64 #s(literal 1/2 binary64) (/.f64 x (sqrt.f64 y))))
#s(approx (/ x (sqrt y)) (/.f64 x (sqrt.f64 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 (+ 1 (/ x y)) (*.f64 x (+.f64 (/.f64 #s(literal 1 binary64) x) (/.f64 #s(literal 1 binary64) y))))
#s(approx (+ 1 (/ y x)) (+.f64 #s(literal 1 binary64) (/.f64 y x)))
#s(approx (+ (sqrt y) (* 1/2 (/ x (sqrt y)))) (*.f64 x (fma.f64 #s(literal 1/2 binary64) (/.f64 #s(literal 1 binary64) (sqrt.f64 y)) (/.f64 (sqrt.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 y) (* 1/2 (/ x (sqrt y)))) (*.f64 #s(literal -1 binary64) (*.f64 x (-.f64 (*.f64 #s(literal -1 binary64) (/.f64 (sqrt.f64 y) x)) (*.f64 #s(literal 1/2 binary64) (/.f64 #s(literal 1 binary64) (sqrt.f64 y)))))))
#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 (+ 1 (/ x y)) (/.f64 (+.f64 x y) y))
#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 (+ 1 (/ y x)) (*.f64 y (+.f64 (/.f64 #s(literal 1 binary64) x) (/.f64 #s(literal 1 binary64) y))))
#s(approx (* 1/2 (/ x (sqrt y))) (*.f64 #s(literal 1/2 binary64) (/.f64 x (*.f64 y (sqrt.f64 (/.f64 #s(literal 1 binary64) y))))))
#s(approx (/ x (sqrt y)) (/.f64 x (*.f64 y (sqrt.f64 (/.f64 #s(literal 1 binary64) 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)))))
#s(approx (* 1/2 (/ x (sqrt y))) (*.f64 #s(literal -1/2 binary64) (/.f64 x (*.f64 y (sqrt.f64 (/.f64 #s(literal 1 binary64) y))))))
#s(approx (/ x (sqrt y)) (*.f64 #s(literal -1 binary64) (/.f64 x (*.f64 y (sqrt.f64 (/.f64 #s(literal 1 binary64) y))))))
Calls

6 calls:

TimeVariablePoint
20.0ms
x
-inf
4.0ms
y
-inf
3.0ms
x
inf
3.0ms
x
0
3.0ms
y
inf

rewrite239.0ms (10%)

Memory
-19.8MiB live, 214.8MiB allocated; 54ms collecting garbage
Counts
23 → 80
Calls
Call 1
Inputs
(sqrt.f64 #s(approx (+ x y) (*.f64 y (+.f64 #s(literal 1 binary64) (/.f64 x y)))))
#s(approx (+ x y) (*.f64 y (+.f64 #s(literal 1 binary64) (/.f64 x y))))
(*.f64 y (+.f64 #s(literal 1 binary64) (/.f64 x y)))
y
(+.f64 #s(literal 1 binary64) (/.f64 x y))
#s(literal 1 binary64)
(/.f64 x y)
x
#s(approx (sqrt (+ x y)) (sqrt.f64 x))
(sqrt.f64 x)
(sqrt.f64 #s(approx (+ x y) y))
#s(approx (+ x y) y)
(sqrt.f64 #s(approx (+ x y) (*.f64 x (+.f64 #s(literal 1 binary64) (/.f64 y x)))))
#s(approx (+ x y) (*.f64 x (+.f64 #s(literal 1 binary64) (/.f64 y x))))
(*.f64 x (+.f64 #s(literal 1 binary64) (/.f64 y x)))
(+.f64 #s(literal 1 binary64) (/.f64 y x))
(/.f64 y x)
#s(approx (sqrt (+ x y)) (+.f64 (sqrt.f64 y) (*.f64 #s(literal 1/2 binary64) (/.f64 x (sqrt.f64 y)))))
(+.f64 (sqrt.f64 y) (*.f64 #s(literal 1/2 binary64) (/.f64 x (sqrt.f64 y))))
(sqrt.f64 y)
(*.f64 #s(literal 1/2 binary64) (/.f64 x (sqrt.f64 y)))
#s(literal 1/2 binary64)
(/.f64 x (sqrt.f64 y))
Outputs
(sqrt.f64 #s(approx (+ x y) (fma.f64 (/.f64 x y) y y)))
#s(approx (+ x y) (fma.f64 (/.f64 x y) y y))
(*.f64 y (+.f64 #s(literal 1 binary64) (/.f64 x y)))
(*.f64 (+.f64 #s(literal 1 binary64) (/.f64 x y)) y)
(*.f64 (fma.f64 (/.f64 x y) y y) #s(literal 1 binary64))
(*.f64 #s(literal 1 binary64) (fma.f64 (/.f64 x y) y y))
(*.f64 (-.f64 #s(literal 1 binary64) (/.f64 (*.f64 x x) (*.f64 y y))) (/.f64 y (-.f64 #s(literal 1 binary64) (/.f64 x y))))
y
(*.f64 y #s(literal 1 binary64))
(*.f64 #s(literal 1 binary64) y)
(*.f64 (neg.f64 #s(literal 1 binary64)) (neg.f64 y))
(*.f64 (neg.f64 y) (neg.f64 #s(literal 1 binary64)))
(*.f64 (+.f64 #s(literal 1 binary64) (/.f64 x y)) #s(literal 1 binary64))
(*.f64 #s(literal 1 binary64) (+.f64 #s(literal 1 binary64) (/.f64 x y)))
(*.f64 (+.f64 #s(literal 1 binary64) (/.f64 x y)) (/.f64 (-.f64 #s(literal 1 binary64) (/.f64 x y)) (-.f64 #s(literal 1 binary64) (/.f64 x y))))
(*.f64 (/.f64 (-.f64 #s(literal 1 binary64) (/.f64 (*.f64 x x) (*.f64 y y))) (-.f64 #s(literal 1 binary64) (/.f64 (*.f64 (*.f64 x x) x) (*.f64 (*.f64 y y) y)))) (fma.f64 (+.f64 #s(literal 1 binary64) (/.f64 x y)) (/.f64 x y) #s(literal 1 binary64)))
(*.f64 (/.f64 (-.f64 #s(literal 1 binary64) (/.f64 (*.f64 x x) (*.f64 y y))) (-.f64 #s(literal 1 binary64) (/.f64 (*.f64 x x) (*.f64 y y)))) (+.f64 #s(literal 1 binary64) (/.f64 x y)))
#s(literal 1 binary64)
(*.f64 #s(literal 1 binary64) #s(literal 1 binary64))
(*.f64 (neg.f64 #s(literal 1 binary64)) (neg.f64 #s(literal 1 binary64)))
(*.f64 (pow.f64 (neg.f64 #s(literal 1 binary64)) (/.f64 #s(literal 3 binary64) #s(literal 2 binary64))) (pow.f64 (neg.f64 #s(literal 1 binary64)) (/.f64 #s(literal 3 binary64) #s(literal 2 binary64))))
(*.f64 (pow.f64 #s(literal 1 binary64) (/.f64 #s(literal 2 binary64) #s(literal 2 binary64))) (pow.f64 #s(literal 1 binary64) (/.f64 #s(literal 2 binary64) #s(literal 2 binary64))))
(*.f64 (-.f64 #s(literal 1 binary64) #s(literal 0 binary64)) (/.f64 x y))
(*.f64 (/.f64 x #s(literal 1 binary64)) (/.f64 #s(literal 1 binary64) y))
(*.f64 (/.f64 #s(literal 1 binary64) y) (/.f64 x #s(literal 1 binary64)))
(*.f64 (/.f64 x y) #s(literal 1 binary64))
(*.f64 (/.f64 x y) (-.f64 #s(literal 1 binary64) #s(literal 0 binary64)))
x
(*.f64 x #s(literal 1 binary64))
(*.f64 #s(literal 1 binary64) x)
(*.f64 (neg.f64 #s(literal 1 binary64)) (neg.f64 x))
(*.f64 (neg.f64 x) (neg.f64 #s(literal 1 binary64)))
#s(approx (sqrt (+ x y)) (sqrt.f64 x))
(*.f64 (pow.f64 #s(literal 1 binary64) #s(literal 1/2 binary64)) (sqrt.f64 x))
(*.f64 (sqrt.f64 x) (pow.f64 #s(literal 1 binary64) #s(literal 1/2 binary64)))
(*.f64 (sqrt.f64 x) #s(literal 1 binary64))
(*.f64 #s(literal 1 binary64) (sqrt.f64 x))
(*.f64 (pow.f64 x (/.f64 #s(literal 1/2 binary64) #s(literal 2 binary64))) (pow.f64 x (/.f64 #s(literal 1/2 binary64) #s(literal 2 binary64))))
(sqrt.f64 #s(approx (+ x y) y))
#s(approx (+ x y) y)
(sqrt.f64 #s(approx (+ x y) (fma.f64 (/.f64 y x) x x)))
#s(approx (+ x y) (fma.f64 (/.f64 y x) x x))
(*.f64 x (+.f64 #s(literal 1 binary64) (/.f64 y x)))
(*.f64 (+.f64 #s(literal 1 binary64) (/.f64 y x)) x)
(*.f64 (fma.f64 (/.f64 y x) x x) #s(literal 1 binary64))
(*.f64 #s(literal 1 binary64) (fma.f64 (/.f64 y x) x x))
(*.f64 (-.f64 #s(literal 1 binary64) (/.f64 (*.f64 y y) (*.f64 x x))) (/.f64 x (-.f64 #s(literal 1 binary64) (/.f64 y x))))
(*.f64 (+.f64 #s(literal 1 binary64) (/.f64 y x)) #s(literal 1 binary64))
(*.f64 #s(literal 1 binary64) (+.f64 #s(literal 1 binary64) (/.f64 y x)))
(*.f64 (+.f64 #s(literal 1 binary64) (/.f64 y x)) (/.f64 (-.f64 #s(literal 1 binary64) (/.f64 y x)) (-.f64 #s(literal 1 binary64) (/.f64 y x))))
(*.f64 (/.f64 (-.f64 #s(literal 1 binary64) (/.f64 (*.f64 y y) (*.f64 x x))) (-.f64 #s(literal 1 binary64) (/.f64 (*.f64 (*.f64 y y) y) (*.f64 (*.f64 x x) x)))) (fma.f64 (+.f64 #s(literal 1 binary64) (/.f64 y x)) (/.f64 y x) #s(literal 1 binary64)))
(*.f64 (/.f64 (-.f64 #s(literal 1 binary64) (/.f64 (*.f64 y y) (*.f64 x x))) (-.f64 #s(literal 1 binary64) (/.f64 (*.f64 y y) (*.f64 x x)))) (+.f64 #s(literal 1 binary64) (/.f64 y x)))
(*.f64 (-.f64 #s(literal 1 binary64) #s(literal 0 binary64)) (/.f64 y x))
(*.f64 (/.f64 y #s(literal 1 binary64)) (/.f64 #s(literal 1 binary64) x))
(*.f64 (/.f64 #s(literal 1 binary64) x) (/.f64 y #s(literal 1 binary64)))
(*.f64 (/.f64 y x) #s(literal 1 binary64))
(*.f64 (/.f64 y x) (-.f64 #s(literal 1 binary64) #s(literal 0 binary64)))
#s(approx (sqrt (+ x y)) (fma.f64 (/.f64 x (sqrt.f64 y)) #s(literal 1/2 binary64) (sqrt.f64 y)))
(*.f64 (fma.f64 (/.f64 x (sqrt.f64 y)) #s(literal 1/2 binary64) (sqrt.f64 y)) (/.f64 (-.f64 (sqrt.f64 y) (/.f64 (*.f64 x #s(literal 1/2 binary64)) (sqrt.f64 y))) (-.f64 (sqrt.f64 y) (/.f64 (*.f64 x #s(literal 1/2 binary64)) (sqrt.f64 y)))))
(*.f64 (/.f64 (-.f64 y (/.f64 (*.f64 (*.f64 #s(literal 1/2 binary64) #s(literal 1/2 binary64)) (*.f64 x x)) y)) (-.f64 y (/.f64 (*.f64 (*.f64 #s(literal 1/2 binary64) #s(literal 1/2 binary64)) (*.f64 x x)) y))) (fma.f64 (/.f64 x (sqrt.f64 y)) #s(literal 1/2 binary64) (sqrt.f64 y)))
(*.f64 (/.f64 (-.f64 y (/.f64 (*.f64 (*.f64 #s(literal 1/2 binary64) #s(literal 1/2 binary64)) (*.f64 x x)) y)) (-.f64 (*.f64 (sqrt.f64 y) y) (/.f64 (*.f64 (*.f64 (*.f64 #s(literal 1/2 binary64) #s(literal 1/2 binary64)) #s(literal 1/2 binary64)) (*.f64 (*.f64 x x) x)) (*.f64 (sqrt.f64 y) y)))) (fma.f64 (/.f64 (*.f64 x #s(literal 1/2 binary64)) (sqrt.f64 y)) (fma.f64 (/.f64 x (sqrt.f64 y)) #s(literal 1/2 binary64) (sqrt.f64 y)) y))
(*.f64 (fma.f64 (-.f64 (/.f64 (*.f64 x #s(literal 1/2 binary64)) (sqrt.f64 y)) (sqrt.f64 y)) (/.f64 (*.f64 x #s(literal 1/2 binary64)) (sqrt.f64 y)) y) (/.f64 (fma.f64 (/.f64 x (sqrt.f64 y)) #s(literal 1/2 binary64) (sqrt.f64 y)) (fma.f64 (-.f64 (/.f64 (*.f64 x #s(literal 1/2 binary64)) (sqrt.f64 y)) (sqrt.f64 y)) (/.f64 (*.f64 x #s(literal 1/2 binary64)) (sqrt.f64 y)) y)))
(*.f64 (/.f64 (fma.f64 (/.f64 (*.f64 (*.f64 x x) x) (*.f64 (sqrt.f64 y) y)) (*.f64 (*.f64 #s(literal 1/2 binary64) #s(literal 1/2 binary64)) #s(literal 1/2 binary64)) (*.f64 (sqrt.f64 y) y)) (-.f64 (*.f64 y y) (pow.f64 (*.f64 (-.f64 (/.f64 (*.f64 x #s(literal 1/2 binary64)) (sqrt.f64 y)) (sqrt.f64 y)) (/.f64 (*.f64 x #s(literal 1/2 binary64)) (sqrt.f64 y))) #s(literal 2 binary64)))) (-.f64 y (*.f64 (-.f64 (/.f64 (*.f64 x #s(literal 1/2 binary64)) (sqrt.f64 y)) (sqrt.f64 y)) (/.f64 (*.f64 x #s(literal 1/2 binary64)) (sqrt.f64 y)))))
(*.f64 (pow.f64 #s(literal 1 binary64) #s(literal 1/2 binary64)) (sqrt.f64 y))
(*.f64 (sqrt.f64 y) (pow.f64 #s(literal 1 binary64) #s(literal 1/2 binary64)))
(*.f64 (sqrt.f64 y) #s(literal 1 binary64))
(*.f64 #s(literal 1 binary64) (sqrt.f64 y))
(*.f64 (pow.f64 (sqrt.f64 y) #s(literal 1/2 binary64)) (pow.f64 (sqrt.f64 y) #s(literal 1/2 binary64)))
(*.f64 #s(literal 1/2 binary64) (/.f64 x (sqrt.f64 y)))
(*.f64 (/.f64 x (sqrt.f64 y)) #s(literal 1/2 binary64))
(*.f64 x (/.f64 #s(literal 1/2 binary64) (sqrt.f64 y)))
(*.f64 (/.f64 #s(literal 1/2 binary64) (pow.f64 y (/.f64 #s(literal 1/2 binary64) #s(literal 2 binary64)))) (/.f64 x (pow.f64 y (/.f64 #s(literal 1/2 binary64) #s(literal 2 binary64)))))
(*.f64 (/.f64 x (pow.f64 y (/.f64 #s(literal 1/2 binary64) #s(literal 2 binary64)))) (/.f64 #s(literal 1/2 binary64) (pow.f64 y (/.f64 #s(literal 1/2 binary64) #s(literal 2 binary64)))))
#s(literal 1/2 binary64)
(neg.f64 (neg.f64 #s(literal 1/2 binary64)))
(*.f64 #s(literal 1 binary64) (/.f64 x (sqrt.f64 y)))
(*.f64 x (/.f64 #s(literal 1 binary64) (sqrt.f64 y)))
(*.f64 (/.f64 x (pow.f64 y (/.f64 #s(literal 1/2 binary64) #s(literal 2 binary64)))) (/.f64 #s(literal 1 binary64) (pow.f64 y (/.f64 #s(literal 1/2 binary64) #s(literal 2 binary64)))))
(*.f64 (/.f64 #s(literal 1 binary64) (pow.f64 y (/.f64 #s(literal 1/2 binary64) #s(literal 2 binary64)))) (/.f64 x (pow.f64 y (/.f64 #s(literal 1/2 binary64) #s(literal 2 binary64)))))
(/.f64 x (sqrt.f64 y))

eval36.0ms (1.5%)

Memory
26.1MiB live, 67.5MiB allocated; 12ms collecting garbage
Compiler

Compiled 2 943 to 708 computations (75.9% saved)

prune16.0ms (0.7%)

Memory
-22.9MiB live, 21.4MiB allocated; 10ms collecting garbage
Pruning

8 alts after pruning (4 fresh and 4 done)

PrunedKeptTotal
New1404144
Fresh101
Picked235
Done011
Total1438151
Accuracy
100.0%
Counts
151 → 8
Alt Table
Click to see full alt table
StatusAccuracyProgram
98.6%
(sqrt.f64 (+.f64 x y))
72.7%
(sqrt.f64 #s(approx (+ x y) (fma.f64 (/.f64 y x) x x)))
18.3%
(sqrt.f64 #s(approx (+ x y) (*.f64 (-.f64 #s(literal 1 binary64) (/.f64 (*.f64 y y) (*.f64 x x))) (/.f64 x (-.f64 #s(literal 1 binary64) (/.f64 y x))))))
98.6%
(sqrt.f64 #s(approx (+ x y) (*.f64 y (+.f64 #s(literal 1 binary64) (/.f64 x y)))))
98.5%
(sqrt.f64 #s(approx (+ x y) (*.f64 y #s(approx (+ 1 (/ x y)) (*.f64 x (+.f64 (/.f64 #s(literal 1 binary64) x) (/.f64 #s(literal 1 binary64) y)))))))
97.8%
(sqrt.f64 #s(approx (+ x y) y))
98.4%
#s(approx (sqrt (+ x y)) (fma.f64 (/.f64 x (sqrt.f64 y)) #s(literal 1/2 binary64) (sqrt.f64 y)))
6.4%
#s(approx (sqrt (+ x y)) (sqrt.f64 x))
Compiler

Compiled 97 to 69 computations (28.9% saved)

series247.0ms (10.4%)

Memory
-9.7MiB live, 106.7MiB allocated; 164ms collecting garbage
Counts
29 → 76
Calls
Call 1
Inputs
#s(approx (sqrt (+ x y)) (fma.f64 (/.f64 x (sqrt.f64 y)) #s(literal 1/2 binary64) (sqrt.f64 y)))
(fma.f64 (/.f64 x (sqrt.f64 y)) #s(literal 1/2 binary64) (sqrt.f64 y))
(/.f64 x (sqrt.f64 y))
x
(sqrt.f64 y)
y
#s(literal 1/2 binary64)
(sqrt.f64 #s(approx (+ x y) (*.f64 y #s(approx (+ 1 (/ x y)) (*.f64 x (+.f64 (/.f64 #s(literal 1 binary64) x) (/.f64 #s(literal 1 binary64) y)))))))
#s(approx (+ x y) (*.f64 y #s(approx (+ 1 (/ x y)) (*.f64 x (+.f64 (/.f64 #s(literal 1 binary64) x) (/.f64 #s(literal 1 binary64) y))))))
(*.f64 y #s(approx (+ 1 (/ x y)) (*.f64 x (+.f64 (/.f64 #s(literal 1 binary64) x) (/.f64 #s(literal 1 binary64) y)))))
#s(approx (+ 1 (/ x y)) (*.f64 x (+.f64 (/.f64 #s(literal 1 binary64) x) (/.f64 #s(literal 1 binary64) y))))
(*.f64 x (+.f64 (/.f64 #s(literal 1 binary64) x) (/.f64 #s(literal 1 binary64) y)))
(+.f64 (/.f64 #s(literal 1 binary64) x) (/.f64 #s(literal 1 binary64) y))
(/.f64 #s(literal 1 binary64) x)
#s(literal 1 binary64)
(/.f64 #s(literal 1 binary64) y)
(sqrt.f64 #s(approx (+ x y) (*.f64 (-.f64 #s(literal 1 binary64) (/.f64 (*.f64 y y) (*.f64 x x))) (/.f64 x (-.f64 #s(literal 1 binary64) (/.f64 y x))))))
#s(approx (+ x y) (*.f64 (-.f64 #s(literal 1 binary64) (/.f64 (*.f64 y y) (*.f64 x x))) (/.f64 x (-.f64 #s(literal 1 binary64) (/.f64 y x)))))
(*.f64 (-.f64 #s(literal 1 binary64) (/.f64 (*.f64 y y) (*.f64 x x))) (/.f64 x (-.f64 #s(literal 1 binary64) (/.f64 y x))))
(-.f64 #s(literal 1 binary64) (/.f64 (*.f64 y y) (*.f64 x x)))
(/.f64 (*.f64 y y) (*.f64 x x))
(*.f64 y y)
(*.f64 x x)
(/.f64 x (-.f64 #s(literal 1 binary64) (/.f64 y x)))
(-.f64 #s(literal 1 binary64) (/.f64 y x))
(/.f64 y x)
(sqrt.f64 #s(approx (+ x y) (fma.f64 (/.f64 y x) x x)))
#s(approx (+ x y) (fma.f64 (/.f64 y x) x x))
(fma.f64 (/.f64 y x) x x)
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 (sqrt y)) (/.f64 x (sqrt.f64 y)))
#s(approx x x)
#s(approx (+ x y) y)
#s(approx (+ x y) (+.f64 x y))
#s(approx (+ 1 (/ x y)) #s(literal 1 binary64))
#s(approx (+ 1 (/ x y)) (+.f64 #s(literal 1 binary64) (/.f64 x y)))
#s(approx (+ (/ 1 x) (/ 1 y)) (/.f64 #s(literal 1 binary64) x))
#s(approx (+ (/ 1 x) (/ 1 y)) (/.f64 (+.f64 #s(literal 1 binary64) (/.f64 x y)) x))
#s(approx (- 1 (/ (* y y) (* x x))) (*.f64 #s(literal -1 binary64) (/.f64 (pow.f64 y #s(literal 2 binary64)) (pow.f64 x #s(literal 2 binary64)))))
#s(approx (- 1 (/ (* y y) (* x x))) (/.f64 (-.f64 (pow.f64 x #s(literal 2 binary64)) (pow.f64 y #s(literal 2 binary64))) (pow.f64 x #s(literal 2 binary64))))
#s(approx (/ (* y y) (* x x)) (/.f64 (pow.f64 y #s(literal 2 binary64)) (pow.f64 x #s(literal 2 binary64))))
#s(approx (* x x) (pow.f64 x #s(literal 2 binary64)))
#s(approx (/ x (- 1 (/ y x))) (*.f64 #s(literal -1 binary64) (/.f64 (pow.f64 x #s(literal 2 binary64)) y)))
#s(approx (/ x (- 1 (/ y x))) (*.f64 (pow.f64 x #s(literal 2 binary64)) (-.f64 (*.f64 #s(literal -1 binary64) (/.f64 x (pow.f64 y #s(literal 2 binary64)))) (/.f64 #s(literal 1 binary64) y))))
#s(approx (/ x (- 1 (/ y x))) (*.f64 (pow.f64 x #s(literal 2 binary64)) (-.f64 (*.f64 x (-.f64 (*.f64 #s(literal -1 binary64) (/.f64 x (pow.f64 y #s(literal 3 binary64)))) (/.f64 #s(literal 1 binary64) (pow.f64 y #s(literal 2 binary64))))) (/.f64 #s(literal 1 binary64) y))))
#s(approx (/ x (- 1 (/ y x))) (*.f64 (pow.f64 x #s(literal 2 binary64)) (-.f64 (*.f64 x (-.f64 (*.f64 x (-.f64 (*.f64 #s(literal -1 binary64) (/.f64 x (pow.f64 y #s(literal 4 binary64)))) (/.f64 #s(literal 1 binary64) (pow.f64 y #s(literal 3 binary64))))) (/.f64 #s(literal 1 binary64) (pow.f64 y #s(literal 2 binary64))))) (/.f64 #s(literal 1 binary64) y))))
#s(approx (- 1 (/ y x)) (*.f64 #s(literal -1 binary64) (/.f64 y x)))
#s(approx (- 1 (/ y x)) (/.f64 (-.f64 x y) x))
#s(approx (/ y x) (/.f64 y 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 (sqrt y)) 1/2) (sqrt y)) (*.f64 #s(literal 1/2 binary64) (/.f64 x (sqrt.f64 y))))
#s(approx (+ (* (/ x (sqrt y)) 1/2) (sqrt y)) (*.f64 x (fma.f64 #s(literal 1/2 binary64) (/.f64 #s(literal 1 binary64) (sqrt.f64 y)) (/.f64 (sqrt.f64 y) x))))
#s(approx (+ x y) (*.f64 x (+.f64 #s(literal 1 binary64) (/.f64 y x))))
#s(approx (+ 1 (/ x y)) (/.f64 x y))
#s(approx (+ 1 (/ x y)) (*.f64 x (+.f64 (/.f64 #s(literal 1 binary64) x) (/.f64 #s(literal 1 binary64) y))))
#s(approx (+ (/ 1 x) (/ 1 y)) (/.f64 #s(literal 1 binary64) y))
#s(approx (+ (/ 1 x) (/ 1 y)) (+.f64 (/.f64 #s(literal 1 binary64) x) (/.f64 #s(literal 1 binary64) y)))
#s(approx (- 1 (/ (* y y) (* x x))) (+.f64 #s(literal 1 binary64) (*.f64 #s(literal -1 binary64) (/.f64 (pow.f64 y #s(literal 2 binary64)) (pow.f64 x #s(literal 2 binary64))))))
#s(approx (/ x (- 1 (/ y x))) (*.f64 x (-.f64 (+.f64 #s(literal 1 binary64) (/.f64 (pow.f64 y #s(literal 2 binary64)) (pow.f64 x #s(literal 2 binary64)))) (*.f64 #s(literal -1 binary64) (/.f64 y x)))))
#s(approx (/ x (- 1 (/ y x))) (*.f64 x (-.f64 (+.f64 #s(literal 1 binary64) (/.f64 (pow.f64 y #s(literal 3 binary64)) (pow.f64 x #s(literal 3 binary64)))) (fma.f64 #s(literal -1 binary64) (/.f64 y x) (*.f64 #s(literal -1 binary64) (/.f64 (pow.f64 y #s(literal 2 binary64)) (pow.f64 x #s(literal 2 binary64))))))))
#s(approx (- 1 (/ y x)) (+.f64 #s(literal 1 binary64) (*.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 (sqrt y)) 1/2) (sqrt y)) (*.f64 #s(literal -1 binary64) (*.f64 x (-.f64 (*.f64 #s(literal -1 binary64) (/.f64 (sqrt.f64 y) x)) (*.f64 #s(literal 1/2 binary64) (/.f64 #s(literal 1 binary64) (sqrt.f64 y)))))))
#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 (/ x (- 1 (/ y x))) (*.f64 #s(literal -1 binary64) (*.f64 x (-.f64 (*.f64 #s(literal -1 binary64) (/.f64 (-.f64 (/.f64 (pow.f64 y #s(literal 2 binary64)) x) (*.f64 #s(literal -1 binary64) y)) x)) #s(literal 1 binary64)))))
#s(approx (/ x (- 1 (/ y x))) (*.f64 #s(literal -1 binary64) (*.f64 x (-.f64 (*.f64 #s(literal -1 binary64) (/.f64 (-.f64 (*.f64 #s(literal -1 binary64) (/.f64 (-.f64 (*.f64 #s(literal -1 binary64) (/.f64 (pow.f64 y #s(literal 3 binary64)) x)) (pow.f64 y #s(literal 2 binary64))) x)) (*.f64 #s(literal -1 binary64) 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 (+ 1 (/ x y)) (/.f64 (+.f64 x y) y))
#s(approx (+ (/ 1 x) (/ 1 y)) (/.f64 (+.f64 #s(literal 1 binary64) (/.f64 y x)) y))
#s(approx (* y y) (pow.f64 y #s(literal 2 binary64)))
#s(approx (/ x (- 1 (/ y x))) (+.f64 x (*.f64 y (+.f64 #s(literal 1 binary64) (/.f64 y x)))))
#s(approx (/ x (- 1 (/ y x))) (+.f64 x (*.f64 y (+.f64 #s(literal 1 binary64) (*.f64 y (+.f64 (/.f64 #s(literal 1 binary64) x) (/.f64 y (pow.f64 x #s(literal 2 binary64)))))))))
#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 (sqrt y)) (/.f64 x (*.f64 y (sqrt.f64 (/.f64 #s(literal 1 binary64) y)))))
#s(approx (+ x y) (*.f64 y (+.f64 #s(literal 1 binary64) (/.f64 x y))))
#s(approx (- 1 (/ (* y y) (* x x))) (*.f64 (pow.f64 y #s(literal 2 binary64)) (-.f64 (/.f64 #s(literal 1 binary64) (pow.f64 y #s(literal 2 binary64))) (/.f64 #s(literal 1 binary64) (pow.f64 x #s(literal 2 binary64))))))
#s(approx (/ x (- 1 (/ y x))) (/.f64 (fma.f64 #s(literal -1 binary64) (/.f64 (pow.f64 x #s(literal 3 binary64)) y) (*.f64 #s(literal -1 binary64) (pow.f64 x #s(literal 2 binary64)))) y))
#s(approx (/ x (- 1 (/ y x))) (/.f64 (-.f64 (fma.f64 #s(literal -1 binary64) (/.f64 (pow.f64 x #s(literal 4 binary64)) (pow.f64 y #s(literal 2 binary64))) (*.f64 #s(literal -1 binary64) (pow.f64 x #s(literal 2 binary64)))) (/.f64 (pow.f64 x #s(literal 3 binary64)) y)) y))
#s(approx (/ x (- 1 (/ y x))) (/.f64 (-.f64 (fma.f64 #s(literal -1 binary64) (/.f64 (pow.f64 x #s(literal 5 binary64)) (pow.f64 y #s(literal 3 binary64))) (*.f64 #s(literal -1 binary64) (pow.f64 x #s(literal 2 binary64)))) (+.f64 (/.f64 (pow.f64 x #s(literal 3 binary64)) y) (/.f64 (pow.f64 x #s(literal 4 binary64)) (pow.f64 y #s(literal 2 binary64))))) y))
#s(approx (- 1 (/ y x)) (*.f64 y (-.f64 (/.f64 #s(literal 1 binary64) y) (/.f64 #s(literal 1 binary64) x))))
#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 (sqrt y)) (*.f64 #s(literal -1 binary64) (/.f64 x (*.f64 y (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)))))
#s(approx (/ x (- 1 (/ y x))) (*.f64 #s(literal -1 binary64) (/.f64 (+.f64 (/.f64 (pow.f64 x #s(literal 3 binary64)) y) (pow.f64 x #s(literal 2 binary64))) y)))
#s(approx (/ x (- 1 (/ y x))) (*.f64 #s(literal -1 binary64) (/.f64 (fma.f64 #s(literal -1 binary64) (/.f64 (-.f64 (*.f64 #s(literal -1 binary64) (/.f64 (pow.f64 x #s(literal 4 binary64)) y)) (pow.f64 x #s(literal 3 binary64))) y) (pow.f64 x #s(literal 2 binary64))) y)))
#s(approx (/ x (- 1 (/ y x))) (*.f64 #s(literal -1 binary64) (/.f64 (fma.f64 #s(literal -1 binary64) (/.f64 (-.f64 (*.f64 #s(literal -1 binary64) (/.f64 (-.f64 (/.f64 (pow.f64 x #s(literal 5 binary64)) y) (*.f64 #s(literal -1 binary64) (pow.f64 x #s(literal 4 binary64)))) y)) (pow.f64 x #s(literal 3 binary64))) y) (pow.f64 x #s(literal 2 binary64))) y)))
#s(approx (- 1 (/ y x)) (*.f64 #s(literal -1 binary64) (*.f64 y (-.f64 (/.f64 #s(literal 1 binary64) x) (/.f64 #s(literal 1 binary64) y)))))
Calls

6 calls:

TimeVariablePoint
92.0ms
y
-inf
19.0ms
y
inf
10.0ms
x
0
4.0ms
x
inf
3.0ms
x
-inf

rewrite187.0ms (7.9%)

Memory
2.8MiB live, 188.8MiB allocated; 26ms collecting garbage
Counts
29 → 105
Calls
Call 1
Inputs
#s(approx (sqrt (+ x y)) (fma.f64 (/.f64 x (sqrt.f64 y)) #s(literal 1/2 binary64) (sqrt.f64 y)))
(fma.f64 (/.f64 x (sqrt.f64 y)) #s(literal 1/2 binary64) (sqrt.f64 y))
(/.f64 x (sqrt.f64 y))
x
(sqrt.f64 y)
y
#s(literal 1/2 binary64)
(sqrt.f64 #s(approx (+ x y) (*.f64 y #s(approx (+ 1 (/ x y)) (*.f64 x (+.f64 (/.f64 #s(literal 1 binary64) x) (/.f64 #s(literal 1 binary64) y)))))))
#s(approx (+ x y) (*.f64 y #s(approx (+ 1 (/ x y)) (*.f64 x (+.f64 (/.f64 #s(literal 1 binary64) x) (/.f64 #s(literal 1 binary64) y))))))
(*.f64 y #s(approx (+ 1 (/ x y)) (*.f64 x (+.f64 (/.f64 #s(literal 1 binary64) x) (/.f64 #s(literal 1 binary64) y)))))
#s(approx (+ 1 (/ x y)) (*.f64 x (+.f64 (/.f64 #s(literal 1 binary64) x) (/.f64 #s(literal 1 binary64) y))))
(*.f64 x (+.f64 (/.f64 #s(literal 1 binary64) x) (/.f64 #s(literal 1 binary64) y)))
(+.f64 (/.f64 #s(literal 1 binary64) x) (/.f64 #s(literal 1 binary64) y))
(/.f64 #s(literal 1 binary64) x)
#s(literal 1 binary64)
(/.f64 #s(literal 1 binary64) y)
(sqrt.f64 #s(approx (+ x y) (*.f64 (-.f64 #s(literal 1 binary64) (/.f64 (*.f64 y y) (*.f64 x x))) (/.f64 x (-.f64 #s(literal 1 binary64) (/.f64 y x))))))
#s(approx (+ x y) (*.f64 (-.f64 #s(literal 1 binary64) (/.f64 (*.f64 y y) (*.f64 x x))) (/.f64 x (-.f64 #s(literal 1 binary64) (/.f64 y x)))))
(*.f64 (-.f64 #s(literal 1 binary64) (/.f64 (*.f64 y y) (*.f64 x x))) (/.f64 x (-.f64 #s(literal 1 binary64) (/.f64 y x))))
(-.f64 #s(literal 1 binary64) (/.f64 (*.f64 y y) (*.f64 x x)))
(/.f64 (*.f64 y y) (*.f64 x x))
(*.f64 y y)
(*.f64 x x)
(/.f64 x (-.f64 #s(literal 1 binary64) (/.f64 y x)))
(-.f64 #s(literal 1 binary64) (/.f64 y x))
(/.f64 y x)
(sqrt.f64 #s(approx (+ x y) (fma.f64 (/.f64 y x) x x)))
#s(approx (+ x y) (fma.f64 (/.f64 y x) x x))
(fma.f64 (/.f64 y x) x x)
Outputs
#s(approx y (fma.f64 y #s(literal 1/2 binary64) y))
(*.f64 (fma.f64 y #s(literal 1/2 binary64) y) y)
(*.f64 y (fma.f64 y #s(literal 1/2 binary64) y))
(*.f64 (pow.f64 (fma.f64 y #s(literal 1/2 binary64) y) (/.f64 #s(literal 3 binary64) #s(literal 1 binary64))) (pow.f64 (fma.f64 y #s(literal 1/2 binary64) y) (/.f64 #s(literal 3 binary64) #s(literal 1 binary64))))
(*.f64 (fma.f64 (*.f64 #s(literal 1/2 binary64) #s(literal 1/2 binary64)) y y) (fma.f64 y #s(literal 1/2 binary64) y))
(*.f64 (fma.f64 (*.f64 #s(literal 1/2 binary64) #s(literal 1/2 binary64)) y y) (fma.f64 #s(literal 1/2 binary64) (fma.f64 y #s(literal 1/2 binary64) y) y))
y
(*.f64 y y)
(*.f64 y #s(literal 1 binary64))
(*.f64 #s(literal 1 binary64) y)
(*.f64 (pow.f64 #s(literal 1 binary64) (/.f64 #s(literal 1/2 binary64) #s(literal 1 binary64))) y)
#s(literal 1 binary64)
#s(literal 2 binary64)
#s(literal 0 binary64)
x
(*.f64 #s(literal 1 binary64) #s(literal 1 binary64))
y
(*.f64 y y)
(*.f64 y #s(literal 1 binary64))
(*.f64 #s(literal 1 binary64) y)
(*.f64 (pow.f64 #s(literal 1 binary64) (/.f64 #s(literal 1/2 binary64) #s(literal 1 binary64))) y)
y
(*.f64 y y)
(*.f64 y #s(literal 1 binary64))
(*.f64 #s(literal 1 binary64) y)
(*.f64 (pow.f64 #s(literal 1 binary64) (/.f64 #s(literal 1/2 binary64) #s(literal 1 binary64))) y)
#s(literal 1/2 binary64)
(sqrt.f64 #s(approx y (*.f64 y #s(approx y y))))
#s(approx y (*.f64 y #s(approx y y)))
(*.f64 y #s(approx y y))
#s(approx y y)
y
(*.f64 y y)
(*.f64 y #s(literal 1 binary64))
(*.f64 #s(literal 1 binary64) y)
(*.f64 (pow.f64 #s(literal 1 binary64) (/.f64 #s(literal 1/2 binary64) #s(literal 1 binary64))) y)
y
(*.f64 y y)
(*.f64 y #s(literal 1 binary64))
(*.f64 #s(literal 1 binary64) y)
(*.f64 (pow.f64 #s(literal 1 binary64) (/.f64 #s(literal 1/2 binary64) #s(literal 1 binary64))) y)
#s(literal 1 binary64)
#s(literal 2 binary64)
#s(literal 0 binary64)
x
(*.f64 #s(literal 1 binary64) #s(literal 1 binary64))
#s(literal 1 binary64)
#s(literal 2 binary64)
#s(literal 0 binary64)
x
(*.f64 #s(literal 1 binary64) #s(literal 1 binary64))
y
(*.f64 y y)
(*.f64 y #s(literal 1 binary64))
(*.f64 #s(literal 1 binary64) y)
(*.f64 (pow.f64 #s(literal 1 binary64) (/.f64 #s(literal 1/2 binary64) #s(literal 1 binary64))) y)
(sqrt.f64 #s(approx y y))
#s(approx y y)
y
(*.f64 y y)
(*.f64 y #s(literal 1 binary64))
(*.f64 #s(literal 1 binary64) y)
(*.f64 (pow.f64 #s(literal 1 binary64) (/.f64 #s(literal 1/2 binary64) #s(literal 1 binary64))) y)
y
(*.f64 y y)
(*.f64 y #s(literal 1 binary64))
(*.f64 #s(literal 1 binary64) y)
(*.f64 (pow.f64 #s(literal 1 binary64) (/.f64 #s(literal 1/2 binary64) #s(literal 1 binary64))) y)
y
(*.f64 y y)
(*.f64 y #s(literal 1 binary64))
(*.f64 #s(literal 1 binary64) y)
(*.f64 (pow.f64 #s(literal 1 binary64) (/.f64 #s(literal 1/2 binary64) #s(literal 1 binary64))) y)
y
(*.f64 y y)
(*.f64 y #s(literal 1 binary64))
(*.f64 #s(literal 1 binary64) y)
(*.f64 (pow.f64 #s(literal 1 binary64) (/.f64 #s(literal 1/2 binary64) #s(literal 1 binary64))) y)
#s(literal 1 binary64)
#s(literal 2 binary64)
#s(literal 0 binary64)
x
(*.f64 #s(literal 1 binary64) #s(literal 1 binary64))
y
(*.f64 y y)
(*.f64 y #s(literal 1 binary64))
(*.f64 #s(literal 1 binary64) y)
(*.f64 (pow.f64 #s(literal 1 binary64) (/.f64 #s(literal 1/2 binary64) #s(literal 1 binary64))) y)
y
(*.f64 y y)
(*.f64 y #s(literal 1 binary64))
(*.f64 #s(literal 1 binary64) y)
(*.f64 (pow.f64 #s(literal 1 binary64) (/.f64 #s(literal 1/2 binary64) #s(literal 1 binary64))) y)
y
(*.f64 y y)
(*.f64 y #s(literal 1 binary64))
(*.f64 #s(literal 1 binary64) y)
(*.f64 (pow.f64 #s(literal 1 binary64) (/.f64 #s(literal 1/2 binary64) #s(literal 1 binary64))) y)
(sqrt.f64 #s(approx y y))
#s(approx y y)
y
(*.f64 y y)
(*.f64 y #s(literal 1 binary64))
(*.f64 #s(literal 1 binary64) y)
(*.f64 (pow.f64 #s(literal 1 binary64) (/.f64 #s(literal 1/2 binary64) #s(literal 1 binary64))) y)

eval11.0ms (0.5%)

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

Compiled 2 769 to 644 computations (76.7% saved)

prune4.0ms (0.2%)

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

8 alts after pruning (0 fresh and 8 done)

PrunedKeptTotal
New1080108
Fresh000
Picked044
Done044
Total1088116
Accuracy
100.0%
Counts
116 → 8
Alt Table
Click to see full alt table
StatusAccuracyProgram
98.6%
(sqrt.f64 (+.f64 x y))
72.7%
(sqrt.f64 #s(approx (+ x y) (fma.f64 (/.f64 y x) x x)))
18.3%
(sqrt.f64 #s(approx (+ x y) (*.f64 (-.f64 #s(literal 1 binary64) (/.f64 (*.f64 y y) (*.f64 x x))) (/.f64 x (-.f64 #s(literal 1 binary64) (/.f64 y x))))))
98.6%
(sqrt.f64 #s(approx (+ x y) (*.f64 y (+.f64 #s(literal 1 binary64) (/.f64 x y)))))
98.5%
(sqrt.f64 #s(approx (+ x y) (*.f64 y #s(approx (+ 1 (/ x y)) (*.f64 x (+.f64 (/.f64 #s(literal 1 binary64) x) (/.f64 #s(literal 1 binary64) y)))))))
97.8%
(sqrt.f64 #s(approx (+ x y) y))
98.4%
#s(approx (sqrt (+ x y)) (fma.f64 (/.f64 x (sqrt.f64 y)) #s(literal 1/2 binary64) (sqrt.f64 y)))
6.4%
#s(approx (sqrt (+ x y)) (sqrt.f64 x))
Compiler

Compiled 97 to 69 computations (28.9% saved)

regimes37.0ms (1.6%)

Memory
-14.8MiB live, 75.6MiB allocated; 6ms collecting garbage
Accuracy

Total -0.0b remaining (-0%)

Threshold costs -0b (-0%)

Counts
1 → 1
2 → 1
5 → 1
11 → 1
Calls
Call 1
Inputs
#s(approx (sqrt (+ x y)) (sqrt.f64 x))
Outputs
#s(approx (sqrt (+ x y)) (sqrt.f64 x))
Call 2
Inputs
#s(approx (sqrt (+ x y)) (sqrt.f64 x))
(sqrt.f64 #s(approx (+ x y) y))
Outputs
(sqrt.f64 #s(approx (+ x y) y))
Call 3
Inputs
#s(approx (sqrt (+ x y)) (sqrt.f64 x))
(sqrt.f64 #s(approx (+ x y) y))
(sqrt.f64 (+.f64 x y))
(sqrt.f64 #s(approx (+ x y) (fma.f64 (/.f64 y x) x x)))
(sqrt.f64 #s(approx (+ x y) (*.f64 x (+.f64 #s(literal 1 binary64) (/.f64 y x)))))
Outputs
(sqrt.f64 (+.f64 x y))
Call 4
Inputs
#s(approx (sqrt (+ x y)) (sqrt.f64 x))
(sqrt.f64 #s(approx (+ x y) y))
(sqrt.f64 (+.f64 x y))
(sqrt.f64 #s(approx (+ x y) (fma.f64 (/.f64 y x) x x)))
(sqrt.f64 #s(approx (+ x y) (*.f64 x (+.f64 #s(literal 1 binary64) (/.f64 y x)))))
(sqrt.f64 #s(approx (+ x y) (*.f64 y (+.f64 #s(literal 1 binary64) (/.f64 x y)))))
#s(approx (sqrt (+ x y)) (fma.f64 (/.f64 x (sqrt.f64 y)) #s(literal 1/2 binary64) (sqrt.f64 y)))
#s(approx (sqrt (+ x y)) (+.f64 (sqrt.f64 y) (*.f64 #s(literal 1/2 binary64) (/.f64 x (sqrt.f64 y)))))
(sqrt.f64 #s(approx (+ x y) (*.f64 y #s(approx (+ 1 (/ x y)) (*.f64 x (+.f64 (/.f64 #s(literal 1 binary64) x) (/.f64 #s(literal 1 binary64) y)))))))
(sqrt.f64 #s(approx (+ x y) (*.f64 (-.f64 #s(literal 1 binary64) (/.f64 (*.f64 y y) (*.f64 x x))) (/.f64 x (-.f64 #s(literal 1 binary64) (/.f64 y x))))))
(sqrt.f64 (*.f64 (/.f64 (*.f64 (+.f64 x y) (-.f64 x y)) (-.f64 (*.f64 (*.f64 x x) x) (*.f64 (*.f64 y y) y))) (fma.f64 y (+.f64 x y) (*.f64 x x))))
Outputs
(sqrt.f64 #s(approx (+ x y) (*.f64 y (+.f64 #s(literal 1 binary64) (/.f64 x y)))))
Calls

16 calls:

5.0ms
y
3.0ms
x
3.0ms
(sqrt.f64 (+.f64 x y))
3.0ms
(+.f64 x y)
3.0ms
(+.f64 x y)
Results
AccuracySegmentsBranch
6.4%1(+.f64 x y)
6.4%1(sqrt.f64 (+.f64 x y))
6.4%1x
6.4%1y
97.8%1(+.f64 x y)
97.8%1(sqrt.f64 (+.f64 x y))
97.8%1x
97.8%1y
98.6%1(+.f64 x y)
98.6%1(sqrt.f64 (+.f64 x y))
98.6%1x
98.6%1y
98.6%1(+.f64 x y)
98.6%1(sqrt.f64 (+.f64 x y))
98.6%1x
98.6%1y
Compiler

Compiled 188 to 105 computations (44.1% saved)

derivations1.0ms (0%)

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

Compiled 29 to 16 computations (44.8% saved)

preprocess51.0ms (2.1%)

Memory
-9.1MiB live, 90.1MiB allocated; 8ms collecting garbage
Remove

(abs y)

(sort x y)

Compiler

Compiled 285 to 228 computations (20% saved)

end0.0ms (0%)

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

Profiling

Loading profile data...