Data.Colour.RGB:hslsv from colour-2.3.3, A

Time bar (total: 924.0ms)

start0.0ms (0%)

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

analyze0.0ms (0%)

Memory
0.7MiB live, 0.7MiB allocated; 0ms collecting garbage
Algorithm
search
Search
ProbabilityValidUnknownPreconditionInfiniteDomainCan'tIter
0%0%99.9%0.1%0%0%0%0
100%99.9%0%0.1%0%0%0%1
Compiler

Compiled 7 to 7 computations (0% saved)

sample606.0ms (65.6%)

Memory
5.8MiB live, 930.2MiB allocated; 278ms collecting garbage
Samples
411.0ms8 256×0valid
Precisions
Click to see histograms. Total time spent on operations: 155.0ms
ival-div!: 126.0ms (81.5% of total)
ival-add!: 28.0ms (18.1% of total)
adjust: 2.0ms (1.3% of total)
Bogosity

preprocess106.0ms (11.5%)

Memory
-22.0MiB live, 23.5MiB allocated; 5ms collecting garbage
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
01534
14134
210534
331530
4123830
5649730
Stop Event
node-limit
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
(/.f64 (+.f64 x y) #s(literal 2 binary64))
Symmetry

(sort x y)

Compiler

Compiled 10 to 10 computations (0% saved)

series3.0ms (0.4%)

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

6 calls:

TimeVariablePointExpression
1.0ms
x
@inf
((/ (+ x y) 2) (+ x y) x y 2)
1.0ms
x
@-inf
((/ (+ x y) 2) (+ x y) x y 2)
1.0ms
y
@inf
((/ (+ x y) 2) (+ x y) x y 2)
1.0ms
y
@-inf
((/ (+ x y) 2) (+ x y) x y 2)
0.0ms
x
@0
((/ (+ x y) 2) (+ x y) x y 2)

rewrite69.0ms (7.5%)

Memory
25.0MiB live, 76.5MiB allocated; 8ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
056173
057165
1256165
01948161
Stop Event
iter-limit
iter-limit
node-limit
iter-limit
Counts
19 → 39
Calls
Call 1
Inputs
(/.f64 (+.f64 x y) #s(literal 2 binary64))
(+.f64 x y)
x
y
#s(literal 2 binary64)
#s(approx (/ (+ x y) 2) #s(hole binary64 (* 1/2 y)))
#s(approx (/ (+ x y) 2) #s(hole binary64 (+ (* 1/2 x) (* 1/2 y))))
#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 (/ (+ x y) 2) #s(hole binary64 (* 1/2 x)))
#s(approx (/ (+ x y) 2) #s(hole binary64 (* x (+ 1/2 (* 1/2 (/ y x))))))
#s(approx (+ x y) #s(hole binary64 (* x (+ 1 (/ y x)))))
#s(approx (/ (+ x y) 2) #s(hole binary64 (* -1 (* x (- (* -1/2 (/ y x)) 1/2)))))
#s(approx (+ x y) #s(hole binary64 (* -1 (* x (- (* -1 (/ y x)) 1)))))
#s(approx (/ (+ x y) 2) #s(hole binary64 (* y (+ 1/2 (* 1/2 (/ x y))))))
#s(approx (+ x y) #s(hole binary64 (* y (+ 1 (/ x y)))))
#s(approx (/ (+ x y) 2) #s(hole binary64 (* -1 (* y (- (* -1/2 (/ x y)) 1/2)))))
#s(approx (+ x y) #s(hole binary64 (* -1 (* y (- (* -1 (/ x y)) 1)))))
Outputs
(/.f64 (-.f64 (*.f64 (/.f64 x #s(literal 2 binary64)) (/.f64 x #s(literal 2 binary64))) (*.f64 (/.f64 y #s(literal 2 binary64)) (/.f64 y #s(literal 2 binary64)))) (-.f64 (/.f64 x #s(literal 2 binary64)) (/.f64 y #s(literal 2 binary64))))
(/.f64 (+.f64 (pow.f64 (/.f64 x #s(literal 2 binary64)) #s(literal 3 binary64)) (pow.f64 (/.f64 y #s(literal 2 binary64)) #s(literal 3 binary64))) (fma.f64 (/.f64 x #s(literal 2 binary64)) (/.f64 x #s(literal 2 binary64)) (-.f64 (*.f64 (/.f64 y #s(literal 2 binary64)) (/.f64 y #s(literal 2 binary64))) (*.f64 (/.f64 x #s(literal 2 binary64)) (/.f64 y #s(literal 2 binary64))))))
(/.f64 (fma.f64 x #s(literal 2 binary64) (*.f64 #s(literal 2 binary64) y)) #s(literal 4 binary64))
(/.f64 (neg.f64 (neg.f64 (+.f64 y x))) #s(literal 2 binary64))
(/.f64 (*.f64 (+.f64 y x) (-.f64 x y)) (*.f64 (-.f64 x y) #s(literal 2 binary64)))
(/.f64 (fma.f64 (*.f64 y y) y (*.f64 (*.f64 x x) x)) (*.f64 (fma.f64 y (-.f64 y x) (*.f64 x x)) #s(literal 2 binary64)))
(/.f64 (neg.f64 (+.f64 y x)) #s(literal -2 binary64))
(/.f64 (+.f64 y x) #s(literal 2 binary64))
(neg.f64 (/.f64 (+.f64 y x) #s(literal -2 binary64)))
(neg.f64 (/.f64 (neg.f64 (+.f64 y x)) #s(literal 2 binary64)))
(+.f64 (/.f64 y #s(literal 2 binary64)) (/.f64 x #s(literal 2 binary64)))
(+.f64 (/.f64 x #s(literal 2 binary64)) (/.f64 y #s(literal 2 binary64)))
(/.f64 (-.f64 (*.f64 y y) (*.f64 x x)) (-.f64 y x))
(/.f64 (neg.f64 (*.f64 (+.f64 y x) (-.f64 x y))) (neg.f64 (-.f64 x y)))
(/.f64 (neg.f64 (fma.f64 (*.f64 y y) y (*.f64 (*.f64 x x) x))) (neg.f64 (fma.f64 y (-.f64 y x) (*.f64 x x))))
(/.f64 (*.f64 (+.f64 y x) (-.f64 x y)) (-.f64 x y))
(/.f64 (fma.f64 (*.f64 y y) y (*.f64 (*.f64 x x) x)) (fma.f64 y y (-.f64 (*.f64 x x) (*.f64 y x))))
(/.f64 (fma.f64 (*.f64 y y) y (*.f64 (*.f64 x x) x)) (fma.f64 y (-.f64 y x) (*.f64 x x)))
(-.f64 (/.f64 (*.f64 x x) (-.f64 x y)) (/.f64 (*.f64 y y) (-.f64 x y)))
(+.f64 (/.f64 (*.f64 (*.f64 x x) x) (fma.f64 y (-.f64 y x) (*.f64 x x))) (/.f64 (*.f64 (*.f64 y y) y) (fma.f64 y (-.f64 y x) (*.f64 x x))))
(+.f64 y x)
(+.f64 x y)
x
y
#s(literal 2 binary64)
#s(approx (/ (+ x y) 2) (*.f64 #s(literal 1/2 binary64) y))
#s(approx (/ (+ x y) 2) (*.f64 #s(literal 1/2 binary64) (+.f64 y x)))
#s(approx (+ x y) y)
#s(approx (+ x y) (+.f64 y x))
#s(approx x x)
#s(approx (/ (+ x y) 2) (*.f64 #s(literal 1/2 binary64) x))
#s(approx (/ (+ x y) 2) (*.f64 (fma.f64 (/.f64 y x) #s(literal 1/2 binary64) #s(literal 1/2 binary64)) x))
#s(approx (+ x y) (fma.f64 (/.f64 y x) x x))
#s(approx (/ (+ x y) 2) (*.f64 (neg.f64 x) (-.f64 (*.f64 #s(literal -1/2 binary64) (/.f64 y x)) #s(literal 1/2 binary64))))
#s(approx (+ x y) (*.f64 (neg.f64 x) (-.f64 (/.f64 (neg.f64 y) x) #s(literal 1 binary64))))
#s(approx (/ (+ x y) 2) (*.f64 (fma.f64 (/.f64 x y) #s(literal 1/2 binary64) #s(literal 1/2 binary64)) y))
#s(approx (+ x y) (fma.f64 (/.f64 x y) y y))
#s(approx (/ (+ x y) 2) (*.f64 (neg.f64 y) (-.f64 (*.f64 (/.f64 x y) #s(literal -1/2 binary64)) #s(literal 1/2 binary64))))
#s(approx (+ x y) (*.f64 (neg.f64 y) (-.f64 (/.f64 (neg.f64 x) y) #s(literal 1 binary64))))

eval3.0ms (0.3%)

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

Compiled 228 to 129 computations (43.4% saved)

prune3.0ms (0.3%)

Memory
-41.5MiB live, 4.7MiB allocated; 3ms collecting garbage
Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New32335
Fresh000
Picked101
Done000
Total33336
Accuracy
100.0%
Counts
36 → 3
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
#s(approx (/ (+ x y) 2) (*.f64 #s(literal 1/2 binary64) (+.f64 y x)))
51.1%
#s(approx (/ (+ x y) 2) (*.f64 #s(literal 1/2 binary64) y))
50.4%
#s(approx (/ (+ x y) 2) (*.f64 #s(literal 1/2 binary64) x))
Compiler

Compiled 25 to 25 computations (0% saved)

series4.0ms (0.4%)

Memory
4.7MiB live, 4.7MiB allocated; 0ms collecting garbage
Counts
10 → 14
Calls
Call 1
Inputs
#s(approx (/ (+ x y) 2) (*.f64 #s(literal 1/2 binary64) x))
(*.f64 #s(literal 1/2 binary64) x)
#s(literal 1/2 binary64)
x
#s(approx (/ (+ x y) 2) (*.f64 #s(literal 1/2 binary64) y))
(*.f64 #s(literal 1/2 binary64) y)
y
#s(approx (/ (+ x y) 2) (*.f64 #s(literal 1/2 binary64) (+.f64 y x)))
(*.f64 #s(literal 1/2 binary64) (+.f64 y x))
(+.f64 y x)
Outputs
#s(approx (/ (+ x y) 2) #s(hole binary64 (* 1/2 y)))
#s(approx (/ (+ x y) 2) #s(hole binary64 (+ (* 1/2 x) (* 1/2 y))))
#s(approx (* 1/2 x) #s(hole binary64 (* 1/2 x)))
#s(approx x #s(hole binary64 x))
#s(approx (+ y x) #s(hole binary64 y))
#s(approx (+ y x) #s(hole binary64 (+ x y)))
#s(approx (/ (+ x y) 2) #s(hole binary64 (* x (+ 1/2 (* 1/2 (/ y x))))))
#s(approx (+ y x) #s(hole binary64 (* x (+ 1 (/ y x)))))
#s(approx (/ (+ x y) 2) #s(hole binary64 (* -1 (* x (- (* -1/2 (/ y x)) 1/2)))))
#s(approx (+ y x) #s(hole binary64 (* -1 (* x (- (* -1 (/ y x)) 1)))))
#s(approx (/ (+ x y) 2) #s(hole binary64 (* y (+ 1/2 (* 1/2 (/ x y))))))
#s(approx (+ y x) #s(hole binary64 (* y (+ 1 (/ x y)))))
#s(approx (/ (+ x y) 2) #s(hole binary64 (* -1 (* y (- (* -1/2 (/ x y)) 1/2)))))
#s(approx (+ y x) #s(hole binary64 (* -1 (* y (- (* -1 (/ x y)) 1)))))
Calls

6 calls:

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

rewrite62.0ms (6.7%)

Memory
20.1MiB live, 66.0MiB allocated; 3ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
062206
066198
1277198
02050194
Stop Event
iter-limit
iter-limit
node-limit
iter-limit
Counts
24 → 67
Calls
Call 1
Inputs
#s(approx (/ (+ x y) 2) (*.f64 #s(literal 1/2 binary64) x))
(*.f64 #s(literal 1/2 binary64) x)
#s(literal 1/2 binary64)
x
#s(approx (/ (+ x y) 2) (*.f64 #s(literal 1/2 binary64) y))
(*.f64 #s(literal 1/2 binary64) y)
y
#s(approx (/ (+ x y) 2) (*.f64 #s(literal 1/2 binary64) (+.f64 y x)))
(*.f64 #s(literal 1/2 binary64) (+.f64 y x))
(+.f64 y x)
#s(approx (/ (+ x y) 2) #s(hole binary64 (* 1/2 y)))
#s(approx (/ (+ x y) 2) #s(hole binary64 (+ (* 1/2 x) (* 1/2 y))))
#s(approx (* 1/2 x) #s(hole binary64 (* 1/2 x)))
#s(approx x #s(hole binary64 x))
#s(approx (+ y x) #s(hole binary64 y))
#s(approx (+ y x) #s(hole binary64 (+ x y)))
#s(approx (/ (+ x y) 2) #s(hole binary64 (* x (+ 1/2 (* 1/2 (/ y x))))))
#s(approx (+ y x) #s(hole binary64 (* x (+ 1 (/ y x)))))
#s(approx (/ (+ x y) 2) #s(hole binary64 (* -1 (* x (- (* -1/2 (/ y x)) 1/2)))))
#s(approx (+ y x) #s(hole binary64 (* -1 (* x (- (* -1 (/ y x)) 1)))))
#s(approx (/ (+ x y) 2) #s(hole binary64 (* y (+ 1/2 (* 1/2 (/ x y))))))
#s(approx (+ y x) #s(hole binary64 (* y (+ 1 (/ x y)))))
#s(approx (/ (+ x y) 2) #s(hole binary64 (* -1 (* y (- (* -1/2 (/ x y)) 1/2)))))
#s(approx (+ y x) #s(hole binary64 (* -1 (* y (- (* -1 (/ x y)) 1)))))
Outputs
#s(approx (/ (+ x y) 2) (*.f64 #s(literal 1/2 binary64) x))
(*.f64 #s(literal 1/2 binary64) x)
(*.f64 x #s(literal 1/2 binary64))
#s(literal 1/2 binary64)
x
#s(approx (/ (+ x y) 2) (*.f64 #s(literal 1/2 binary64) y))
(*.f64 #s(literal 1/2 binary64) y)
(*.f64 y #s(literal 1/2 binary64))
y
#s(approx (/ (+ x y) 2) (*.f64 (+.f64 y x) #s(literal 1/2 binary64)))
(*.f64 (+.f64 y x) #s(literal 1/2 binary64))
(*.f64 #s(literal 1/2 binary64) (+.f64 y x))
(/.f64 (*.f64 #s(literal 1/2 binary64) (*.f64 (+.f64 y x) (-.f64 y x))) (-.f64 y x))
(/.f64 (*.f64 #s(literal 1/2 binary64) (*.f64 (+.f64 y x) (-.f64 x y))) (-.f64 x y))
(/.f64 (*.f64 #s(literal 1/2 binary64) (fma.f64 (*.f64 y y) y (*.f64 (*.f64 x x) x))) (fma.f64 x (-.f64 x y) (*.f64 y y)))
(/.f64 (*.f64 #s(literal 1/2 binary64) (fma.f64 (*.f64 y y) y (*.f64 (*.f64 x x) x))) (fma.f64 y (-.f64 y x) (*.f64 x x)))
(/.f64 (*.f64 (*.f64 (+.f64 y x) (-.f64 y x)) #s(literal 1/2 binary64)) (-.f64 y x))
(/.f64 (*.f64 (*.f64 (+.f64 y x) (-.f64 x y)) #s(literal 1/2 binary64)) (-.f64 x y))
(/.f64 (*.f64 (fma.f64 (*.f64 y y) y (*.f64 (*.f64 x x) x)) #s(literal 1/2 binary64)) (fma.f64 x (-.f64 x y) (*.f64 y y)))
(/.f64 (*.f64 (fma.f64 (*.f64 y y) y (*.f64 (*.f64 x x) x)) #s(literal 1/2 binary64)) (fma.f64 y (-.f64 y x) (*.f64 x x)))
(/.f64 (-.f64 (*.f64 (*.f64 y y) #s(literal 1/4 binary64)) (*.f64 (*.f64 x x) #s(literal 1/4 binary64))) (-.f64 (*.f64 #s(literal 1/2 binary64) y) (*.f64 #s(literal 1/2 binary64) x)))
(/.f64 (-.f64 (*.f64 (*.f64 (*.f64 x x) x) #s(literal 1/8 binary64)) (pow.f64 (*.f64 #s(literal -1/2 binary64) y) #s(literal 3 binary64))) (fma.f64 (*.f64 x x) #s(literal 1/4 binary64) (fma.f64 (*.f64 y y) #s(literal 1/4 binary64) (*.f64 (*.f64 #s(literal 1/2 binary64) x) (*.f64 #s(literal -1/2 binary64) y)))))
(/.f64 (neg.f64 (*.f64 (*.f64 (+.f64 y x) #s(literal 1/2 binary64)) (*.f64 #s(literal 1/2 binary64) (-.f64 x y)))) (neg.f64 (*.f64 #s(literal 1/2 binary64) (-.f64 x y))))
(/.f64 (neg.f64 (fma.f64 (*.f64 (*.f64 y y) y) #s(literal 1/8 binary64) (*.f64 (*.f64 (*.f64 x x) x) #s(literal 1/8 binary64)))) (neg.f64 (fma.f64 (*.f64 #s(literal 1/2 binary64) y) (-.f64 (*.f64 #s(literal 1/2 binary64) y) (*.f64 #s(literal 1/2 binary64) x)) (*.f64 (*.f64 x x) #s(literal 1/4 binary64)))))
(/.f64 (*.f64 (*.f64 (+.f64 y x) #s(literal 1/2 binary64)) (*.f64 #s(literal 1/2 binary64) (-.f64 x y))) (*.f64 #s(literal 1/2 binary64) (-.f64 x y)))
(/.f64 (fma.f64 (*.f64 (*.f64 y y) y) #s(literal 1/8 binary64) (*.f64 (*.f64 (*.f64 x x) x) #s(literal 1/8 binary64))) (fma.f64 (*.f64 y y) #s(literal 1/4 binary64) (-.f64 (*.f64 (*.f64 x x) #s(literal 1/4 binary64)) (*.f64 (*.f64 (*.f64 #s(literal 1/2 binary64) x) #s(literal 1/2 binary64)) y))))
(/.f64 (fma.f64 (*.f64 (*.f64 y y) y) #s(literal 1/8 binary64) (*.f64 (*.f64 (*.f64 x x) x) #s(literal 1/8 binary64))) (fma.f64 (*.f64 #s(literal 1/2 binary64) y) (-.f64 (*.f64 #s(literal 1/2 binary64) y) (*.f64 #s(literal 1/2 binary64) x)) (*.f64 (*.f64 x x) #s(literal 1/4 binary64))))
(fma.f64 #s(literal 1/2 binary64) y (*.f64 #s(literal 1/2 binary64) x))
(fma.f64 #s(literal 1/2 binary64) x (*.f64 #s(literal 1/2 binary64) y))
(fma.f64 y #s(literal 1/2 binary64) (*.f64 #s(literal 1/2 binary64) x))
(fma.f64 x #s(literal 1/2 binary64) (*.f64 #s(literal 1/2 binary64) y))
(-.f64 (/.f64 (*.f64 (*.f64 x x) #s(literal 1/4 binary64)) (*.f64 #s(literal 1/2 binary64) (-.f64 x y))) (/.f64 (*.f64 (*.f64 y y) #s(literal 1/4 binary64)) (*.f64 #s(literal 1/2 binary64) (-.f64 x y))))
(-.f64 (*.f64 #s(literal 1/2 binary64) x) (*.f64 (neg.f64 y) #s(literal 1/2 binary64)))
(-.f64 (*.f64 #s(literal 1/2 binary64) x) (*.f64 #s(literal -1/2 binary64) y))
(-.f64 (*.f64 #s(literal 1/2 binary64) y) (*.f64 (neg.f64 x) #s(literal 1/2 binary64)))
(-.f64 (*.f64 #s(literal 1/2 binary64) y) (*.f64 #s(literal -1/2 binary64) x))
(+.f64 (/.f64 (*.f64 (*.f64 (*.f64 x x) x) #s(literal 1/8 binary64)) (fma.f64 (*.f64 #s(literal 1/2 binary64) y) (-.f64 (*.f64 #s(literal 1/2 binary64) y) (*.f64 #s(literal 1/2 binary64) x)) (*.f64 (*.f64 x x) #s(literal 1/4 binary64)))) (/.f64 (*.f64 (*.f64 (*.f64 y y) y) #s(literal 1/8 binary64)) (fma.f64 (*.f64 #s(literal 1/2 binary64) y) (-.f64 (*.f64 #s(literal 1/2 binary64) y) (*.f64 #s(literal 1/2 binary64) x)) (*.f64 (*.f64 x x) #s(literal 1/4 binary64)))))
(+.f64 (*.f64 #s(literal 1/2 binary64) x) (*.f64 #s(literal 1/2 binary64) y))
(+.f64 (*.f64 #s(literal 1/2 binary64) y) (*.f64 #s(literal 1/2 binary64) x))
(/.f64 (neg.f64 (*.f64 (+.f64 y x) (-.f64 y x))) (neg.f64 (-.f64 y x)))
(/.f64 (neg.f64 (*.f64 (+.f64 y x) (-.f64 x y))) (neg.f64 (-.f64 x y)))
(/.f64 (neg.f64 (fma.f64 (*.f64 y y) y (*.f64 (*.f64 x x) x))) (neg.f64 (fma.f64 x (-.f64 x y) (*.f64 y y))))
(/.f64 (neg.f64 (fma.f64 (*.f64 y y) y (*.f64 (*.f64 x x) x))) (neg.f64 (fma.f64 y (-.f64 y x) (*.f64 x x))))
(/.f64 (*.f64 (+.f64 y x) (-.f64 y x)) (-.f64 y x))
(/.f64 (*.f64 (+.f64 y x) (-.f64 x y)) (-.f64 x y))
(/.f64 (fma.f64 (*.f64 y y) y (*.f64 (*.f64 x x) x)) (fma.f64 x (-.f64 x y) (*.f64 y y)))
(/.f64 (fma.f64 (*.f64 y y) y (*.f64 (*.f64 x x) x)) (fma.f64 y (-.f64 y x) (*.f64 x x)))
(-.f64 (/.f64 (*.f64 y y) (-.f64 y x)) (/.f64 (*.f64 x x) (-.f64 y x)))
(-.f64 (/.f64 (*.f64 x x) (-.f64 x y)) (/.f64 (*.f64 y y) (-.f64 x y)))
(+.f64 (/.f64 (*.f64 (*.f64 y y) y) (fma.f64 x (-.f64 x y) (*.f64 y y))) (/.f64 (*.f64 (*.f64 x x) x) (fma.f64 x (-.f64 x y) (*.f64 y y))))
(+.f64 (/.f64 (*.f64 (*.f64 x x) x) (fma.f64 y (-.f64 y x) (*.f64 x x))) (/.f64 (*.f64 (*.f64 y y) y) (fma.f64 y (-.f64 y x) (*.f64 x x))))
(+.f64 y x)
(+.f64 x y)
#s(approx (/ (+ x y) 2) (*.f64 #s(literal 1/2 binary64) y))
#s(approx (/ (+ x y) 2) (*.f64 (+.f64 y x) #s(literal 1/2 binary64)))
#s(approx (* 1/2 x) (*.f64 #s(literal 1/2 binary64) x))
#s(approx x x)
#s(approx (+ y x) y)
#s(approx (+ y x) (+.f64 y x))
#s(approx (/ (+ x y) 2) (*.f64 (fma.f64 (/.f64 y x) #s(literal 1/2 binary64) #s(literal 1/2 binary64)) x))
#s(approx (+ y x) (fma.f64 (/.f64 y x) x x))
#s(approx (/ (+ x y) 2) (*.f64 (neg.f64 x) (-.f64 (*.f64 #s(literal -1/2 binary64) (/.f64 y x)) #s(literal 1/2 binary64))))
#s(approx (+ y x) (*.f64 (neg.f64 x) (-.f64 (/.f64 (neg.f64 y) x) #s(literal 1 binary64))))
#s(approx (/ (+ x y) 2) (*.f64 (fma.f64 (/.f64 x y) #s(literal 1/2 binary64) #s(literal 1/2 binary64)) y))
#s(approx (+ y x) (fma.f64 (/.f64 x y) y y))
#s(approx (/ (+ x y) 2) (*.f64 (neg.f64 y) (-.f64 (*.f64 (/.f64 x y) #s(literal -1/2 binary64)) #s(literal 1/2 binary64))))
#s(approx (+ y x) (*.f64 (neg.f64 y) (-.f64 (/.f64 (neg.f64 x) y) #s(literal 1 binary64))))

eval5.0ms (0.5%)

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

Compiled 468 to 231 computations (50.6% saved)

prune3.0ms (0.3%)

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

3 alts after pruning (0 fresh and 3 done)

PrunedKeptTotal
New57057
Fresh000
Picked033
Done000
Total57360
Accuracy
100.0%
Counts
60 → 3
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
#s(approx (/ (+ x y) 2) (*.f64 #s(literal 1/2 binary64) (+.f64 y x)))
51.1%
#s(approx (/ (+ x y) 2) (*.f64 #s(literal 1/2 binary64) y))
50.4%
#s(approx (/ (+ x y) 2) (*.f64 #s(literal 1/2 binary64) x))
Compiler

Compiled 45 to 41 computations (8.9% saved)

regimes8.0ms (0.9%)

Memory
-32.8MiB live, 13.8MiB allocated; 2ms collecting garbage
Counts
4 → 1
Calls
Call 1
Inputs
#s(approx (/ (+ x y) 2) (*.f64 #s(literal 1/2 binary64) x))
#s(approx (/ (+ x y) 2) (*.f64 #s(literal 1/2 binary64) y))
#s(approx (/ (+ x y) 2) (*.f64 #s(literal 1/2 binary64) (+.f64 y x)))
(/.f64 (+.f64 x y) #s(literal 2 binary64))
Outputs
#s(approx (/ (+ x y) 2) (*.f64 #s(literal 1/2 binary64) (+.f64 y x)))
Calls

4 calls:

3.0ms
(+.f64 x y)
2.0ms
y
2.0ms
(/.f64 (+.f64 x y) #s(literal 2 binary64))
2.0ms
x
Results
AccuracySegmentsBranch
100.0%1(+.f64 x y)
100.0%1(/.f64 (+.f64 x y) #s(literal 2 binary64))
100.0%1x
100.0%1y
Compiler

Compiled 10 to 12 computations (-20% saved)

regimes5.0ms (0.6%)

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

4 calls:

1.0ms
(/.f64 (+.f64 x y) #s(literal 2 binary64))
1.0ms
(+.f64 x y)
1.0ms
y
1.0ms
x
Results
AccuracySegmentsBranch
98.2%2(+.f64 x y)
98.2%2(/.f64 (+.f64 x y) #s(literal 2 binary64))
79.8%2x
85.4%2y
Compiler

Compiled 10 to 12 computations (-20% saved)

regimes4.0ms (0.4%)

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

Total 0.0b remaining (0%)

Threshold costs 0b (0%)

Counts
1 → 1
Calls
Call 1
Inputs
#s(approx (/ (+ x y) 2) (*.f64 #s(literal 1/2 binary64) x))
Outputs
#s(approx (/ (+ x y) 2) (*.f64 #s(literal 1/2 binary64) x))
Calls

4 calls:

1.0ms
(/.f64 (+.f64 x y) #s(literal 2 binary64))
1.0ms
(+.f64 x y)
1.0ms
x
1.0ms
y
Results
AccuracySegmentsBranch
50.4%1x
50.4%1y
50.4%1(+.f64 x y)
50.4%1(/.f64 (+.f64 x y) #s(literal 2 binary64))
Compiler

Compiled 10 to 12 computations (-20% saved)

bsearch0.0ms (0%)

Memory
0.3MiB live, 0.3MiB allocated; 0ms collecting garbage
Algorithm
left-value
Steps
TimeLeftRight
0.0ms
-3.6034471208060555e-288
3.139452350682199e-290
Compiler

Compiled 8 to 10 computations (-25% saved)

derivations16.0ms (1.7%)

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

Compiled 23 to 19 computations (17.4% saved)

preprocess26.0ms (2.8%)

Memory
-6.2MiB live, 42.9MiB allocated; 4ms collecting garbage
Remove

(sort x y)

Compiler

Compiled 98 to 90 computations (8.2% saved)

end0.0ms (0%)

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

Profiling

Loading profile data...