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

Time bar (total: 2.1s)

start0.0ms (0%)

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

analyze2.0ms (0.1%)

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

sample862.0ms (41.6%)

Memory
50.5MiB live, 1 031.1MiB allocated; 216ms collecting garbage
Samples
570.0ms8 256×0valid
Precisions
Click to see histograms. Total time spent on operations: 281.0ms
ival-div: 168.0ms (59.8% of total)
ival-add: 95.0ms (33.8% of total)
ival-true: 7.0ms (2.5% of total)
exact: 6.0ms (2.1% of total)
ival-assert: 3.0ms (1.1% of total)
adjust: 2.0ms (0.7% of total)
Bogosity

explain111.0ms (5.4%)

Memory
9.2MiB live, 110.6MiB allocated; 9ms collecting garbage
FPErrors
Click to see full error table
Ground TruthOverpredictionsExampleUnderpredictionsExampleSubexpression
00-0-(/.f64 (+.f64 x y) #s(literal 2 binary64))
00-0-y
00-0-#s(literal 2 binary64)
00-0-(+.f64 x y)
00-0-x
Confusion
Predicted +Predicted -
+00
-0256
Precision
0/0
Recall
0/0
Confusion?
Predicted +Predicted MaybePredicted -
+000
-00256
Precision?
0/0
Recall?
0/0
Freqs
test
numberfreq
0256
Total Confusion?
Predicted +Predicted MaybePredicted -
+000
-001
Precision?
0/0
Recall?
0/0
Samples
20.0ms512×0valid
Compiler

Compiled 31 to 19 computations (38.7% saved)

Precisions
Click to see histograms. Total time spent on operations: 8.0ms
ival-div: 4.0ms (51.9% of total)
ival-add: 3.0ms (38.9% of total)
ival-true: 0.0ms (0% of total)
adjust: 0.0ms (0% of total)
exact: 0.0ms (0% of total)
ival-assert: 0.0ms (0% of total)

preprocess310.0ms (14.9%)

Memory
-13.6MiB live, 182.5MiB allocated; 43ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01329
13329
26429
39829
415429
537425
6160725
7545825
055
075
1135
2175
3255
4515
51655
69355
754495
083575
Stop Event
iter limit
node limit
iter limit
node limit
Calls
Call 1
Inputs
(/.f64 (+.f64 x y) #s(literal 2 binary64))
Outputs
(/.f64 (+.f64 x y) #s(literal 2 binary64))
(/.f64 (+.f64 y x) #s(literal 2 binary64))
Symmetry

(sort x y)

Compiler

Compiled 5 to 5 computations (0% saved)

eval0.0ms (0%)

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

Compiled 0 to 2 computations (-∞% saved)

prune0.0ms (0%)

Memory
0.5MiB live, 0.5MiB allocated; 0ms collecting garbage
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
(/.f64 (+.f64 x y) #s(literal 2 binary64))
Compiler

Compiled 5 to 5 computations (0% saved)

series4.0ms (0.2%)

Memory
3.7MiB live, 3.7MiB allocated; 0ms collecting garbage
Counts
5 → 16
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))
#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 y #s(hole binary64 y))
#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
y
@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)
0.0ms
x
@0
((/ (+ x y) 2) (+ x y) x y 2)

simplify124.0ms (6%)

Memory
-23.1MiB live, 111.2MiB allocated; 18ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
056124
1135124
2281124
3765124
43181124
57076124
08120124
Stop Event
iter limit
node limit
Counts
16 → 16
Calls
Call 1
Inputs
#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))
#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 y #s(hole binary64 y))
#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
#s(approx (/ (+ x y) 2) #s(hole binary64 (* 1/2 y)))
#s(approx (/ (+ x y) 2) (*.f64 #s(literal 1/2 binary64) y))
#s(approx (/ (+ x y) 2) #s(hole binary64 (+ (* 1/2 x) (* 1/2 y))))
#s(approx (/ (+ x y) 2) (*.f64 (+.f64 y x) #s(literal 1/2 binary64)))
#s(approx (+ x y) #s(hole binary64 y))
#s(approx (+ x y) y)
#s(approx (+ x y) #s(hole binary64 (+ x y)))
#s(approx (+ x y) (+.f64 y x))
#s(approx x #s(hole binary64 x))
#s(approx x x)
#s(approx (/ (+ x y) 2) #s(hole binary64 (* 1/2 x)))
#s(approx (/ (+ x y) 2) (*.f64 #s(literal 1/2 binary64) x))
#s(approx (/ (+ x y) 2) #s(hole binary64 (* x (+ 1/2 (* 1/2 (/ y x))))))
#s(approx (/ (+ x y) 2) (*.f64 (+.f64 y x) #s(literal 1/2 binary64)))
#s(approx (+ x y) #s(hole binary64 x))
#s(approx (+ x y) x)
#s(approx (+ x y) #s(hole binary64 (* x (+ 1 (/ y x)))))
#s(approx (+ x y) (+.f64 y x))
#s(approx (/ (+ x y) 2) #s(hole binary64 (* -1 (* x (- (* -1/2 (/ y x)) 1/2)))))
#s(approx (/ (+ x y) 2) (*.f64 (+.f64 y x) #s(literal 1/2 binary64)))
#s(approx (+ x y) #s(hole binary64 (* -1 (* x (- (* -1 (/ y x)) 1)))))
#s(approx (+ x y) (+.f64 y x))
#s(approx y #s(hole binary64 y))
#s(approx y y)
#s(approx (/ (+ x y) 2) #s(hole binary64 (* y (+ 1/2 (* 1/2 (/ x y))))))
#s(approx (/ (+ x y) 2) (*.f64 (+.f64 y x) #s(literal 1/2 binary64)))
#s(approx (+ x y) #s(hole binary64 (* y (+ 1 (/ x y)))))
#s(approx (+ x y) (+.f64 y x))
#s(approx (/ (+ x y) 2) #s(hole binary64 (* -1 (* y (- (* -1/2 (/ x y)) 1/2)))))
#s(approx (/ (+ x y) 2) (*.f64 (+.f64 y x) #s(literal 1/2 binary64)))
#s(approx (+ x y) #s(hole binary64 (* -1 (* y (- (* -1 (/ x y)) 1)))))
#s(approx (+ x y) (+.f64 y x))

rewrite55.0ms (2.7%)

Memory
-0.9MiB live, 143.9MiB allocated; 15ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0511
0711
13011
018511
Stop Event
iter limit
iter limit
iter limit
unsound
iter limit
Counts
5 → 25
Calls
Call 1
Inputs
(/.f64 (+.f64 x y) #s(literal 2 binary64))
(+.f64 x y)
x
y
#s(literal 2 binary64)
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 (neg.f64 (neg.f64 (+.f64 y x))) #s(literal 2 binary64))
(/.f64 (fma.f64 x #s(literal 2 binary64) (*.f64 #s(literal 2 binary64) y)) #s(literal 4 binary64))
(/.f64 (*.f64 (+.f64 y x) (-.f64 x y)) (*.f64 (-.f64 x y) #s(literal 2 binary64)))
(/.f64 (+.f64 (pow.f64 y #s(literal 3 binary64)) (pow.f64 x #s(literal 3 binary64))) (*.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 (neg.f64 (+.f64 y x)) #s(literal 2 binary64)))
(neg.f64 (/.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 (+.f64 (pow.f64 y #s(literal 3 binary64)) (pow.f64 x #s(literal 3 binary64)))) (neg.f64 (fma.f64 y (-.f64 y x) (*.f64 x x))))
(/.f64 (*.f64 (+.f64 y x) (-.f64 x y)) (-.f64 x y))
(/.f64 (+.f64 (pow.f64 y #s(literal 3 binary64)) (pow.f64 x #s(literal 3 binary64))) (fma.f64 y y (-.f64 (*.f64 x x) (*.f64 y x))))
(/.f64 (+.f64 (pow.f64 y #s(literal 3 binary64)) (pow.f64 x #s(literal 3 binary64))) (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 (pow.f64 x #s(literal 3 binary64)) (fma.f64 y (-.f64 y x) (*.f64 x x))) (/.f64 (pow.f64 y #s(literal 3 binary64)) (fma.f64 y (-.f64 y x) (*.f64 x x))))
(+.f64 y x)
(+.f64 x y)
x
y
#s(literal 2 binary64)

eval3.0ms (0.2%)

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

Compiled 375 to 100 computations (73.3% saved)

prune2.0ms (0.1%)

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

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New30333
Fresh000
Picked101
Done000
Total31334
Accuracy
100.0%
Counts
34 → 3
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
#s(approx (/ (+ x y) 2) (*.f64 (+.f64 y x) #s(literal 1/2 binary64)))
51.9%
#s(approx (/ (+ x y) 2) (*.f64 #s(literal 1/2 binary64) y))
50.1%
#s(approx (/ (+ x y) 2) (*.f64 #s(literal 1/2 binary64) x))
Compiler

Compiled 29 to 25 computations (13.8% saved)

series4.0ms (0.2%)

Memory
10.8MiB live, 10.8MiB allocated; 0ms collecting garbage
Counts
10 → 25
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 (+.f64 y x) #s(literal 1/2 binary64)))
(*.f64 (+.f64 y x) #s(literal 1/2 binary64))
(+.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) 1/2) #s(hole binary64 (* 1/2 y)))
#s(approx (* (+ y x) 1/2) #s(hole binary64 (+ (* 1/2 x) (* 1/2 y))))
#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 (* 1/2 x)))
#s(approx (/ (+ x y) 2) #s(hole binary64 (* x (+ 1/2 (* 1/2 (/ y x))))))
#s(approx (* (+ y x) 1/2) #s(hole binary64 (* 1/2 x)))
#s(approx (* (+ y x) 1/2) #s(hole binary64 (* x (+ 1/2 (* 1/2 (/ y x))))))
#s(approx (+ y x) #s(hole binary64 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) 1/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 (* 1/2 y) #s(hole binary64 (* 1/2 y)))
#s(approx y #s(hole binary64 y))
#s(approx (/ (+ x y) 2) #s(hole binary64 (* y (+ 1/2 (* 1/2 (/ x y))))))
#s(approx (* (+ y x) 1/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) 1/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
x
@-inf
((/ (+ x y) 2) (* 1/2 x) 1/2 x (/ (+ x y) 2) (* 1/2 y) y (/ (+ x y) 2) (* (+ y x) 1/2) (+ 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) (* (+ y x) 1/2) (+ 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) (* (+ y x) 1/2) (+ 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) (* (+ y x) 1/2) (+ y x))
1.0ms
x
@0
((/ (+ x y) 2) (* 1/2 x) 1/2 x (/ (+ x y) 2) (* 1/2 y) y (/ (+ x y) 2) (* (+ y x) 1/2) (+ y x))

simplify117.0ms (5.7%)

Memory
-12.1MiB live, 129.2MiB allocated; 18ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
067211
1150211
2295211
3779211
43214211
57102211
08146211
Stop Event
iter limit
node limit
Counts
25 → 25
Calls
Call 1
Inputs
#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) 1/2) #s(hole binary64 (* 1/2 y)))
#s(approx (* (+ y x) 1/2) #s(hole binary64 (+ (* 1/2 x) (* 1/2 y))))
#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 (* 1/2 x)))
#s(approx (/ (+ x y) 2) #s(hole binary64 (* x (+ 1/2 (* 1/2 (/ y x))))))
#s(approx (* (+ y x) 1/2) #s(hole binary64 (* 1/2 x)))
#s(approx (* (+ y x) 1/2) #s(hole binary64 (* x (+ 1/2 (* 1/2 (/ y x))))))
#s(approx (+ y x) #s(hole binary64 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) 1/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 (* 1/2 y) #s(hole binary64 (* 1/2 y)))
#s(approx y #s(hole binary64 y))
#s(approx (/ (+ x y) 2) #s(hole binary64 (* y (+ 1/2 (* 1/2 (/ x y))))))
#s(approx (* (+ y x) 1/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) 1/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) #s(hole binary64 (* 1/2 y)))
#s(approx (* (+ y x) 1/2) (*.f64 #s(literal 1/2 binary64) y))
#s(approx (/ (+ x y) 2) #s(hole binary64 (+ (* 1/2 x) (* 1/2 y))))
#s(approx (* (+ y x) 1/2) (*.f64 (+.f64 y x) #s(literal 1/2 binary64)))
#s(approx (* 1/2 x) #s(hole binary64 (* 1/2 x)))
#s(approx (* 1/2 x) (*.f64 #s(literal 1/2 binary64) x))
#s(approx x #s(hole binary64 x))
#s(approx x x)
#s(approx (* (+ y x) 1/2) #s(hole binary64 (* 1/2 y)))
#s(approx (* (+ y x) 1/2) (*.f64 #s(literal 1/2 binary64) y))
#s(approx (* (+ y x) 1/2) #s(hole binary64 (+ (* 1/2 x) (* 1/2 y))))
#s(approx (* (+ y x) 1/2) (*.f64 (+.f64 y x) #s(literal 1/2 binary64)))
#s(approx (+ y x) #s(hole binary64 y))
#s(approx (+ y x) y)
#s(approx (+ y x) #s(hole binary64 (+ x y)))
#s(approx (+ y x) (+.f64 y x))
#s(approx (/ (+ x y) 2) #s(hole binary64 (* 1/2 x)))
#s(approx (* (+ y x) 1/2) (*.f64 #s(literal 1/2 binary64) x))
#s(approx (/ (+ x y) 2) #s(hole binary64 (* x (+ 1/2 (* 1/2 (/ y x))))))
#s(approx (* (+ y x) 1/2) (*.f64 (+.f64 y x) #s(literal 1/2 binary64)))
#s(approx (* (+ y x) 1/2) #s(hole binary64 (* 1/2 x)))
#s(approx (* (+ y x) 1/2) (*.f64 #s(literal 1/2 binary64) x))
#s(approx (* (+ y x) 1/2) #s(hole binary64 (* x (+ 1/2 (* 1/2 (/ y x))))))
#s(approx (* (+ y x) 1/2) (*.f64 (+.f64 y x) #s(literal 1/2 binary64)))
#s(approx (+ y x) #s(hole binary64 x))
#s(approx (+ y x) x)
#s(approx (+ y x) #s(hole binary64 (* x (+ 1 (/ y x)))))
#s(approx (+ y x) (+.f64 y x))
#s(approx (/ (+ x y) 2) #s(hole binary64 (* -1 (* x (- (* -1/2 (/ y x)) 1/2)))))
#s(approx (* (+ y x) 1/2) (*.f64 (+.f64 y x) #s(literal 1/2 binary64)))
#s(approx (* (+ y x) 1/2) #s(hole binary64 (* -1 (* x (- (* -1/2 (/ y x)) 1/2)))))
#s(approx (* (+ y x) 1/2) (*.f64 (+.f64 y x) #s(literal 1/2 binary64)))
#s(approx (+ y x) #s(hole binary64 (* -1 (* x (- (* -1 (/ y x)) 1)))))
#s(approx (+ y x) (+.f64 y x))
#s(approx (* 1/2 y) #s(hole binary64 (* 1/2 y)))
#s(approx (* 1/2 y) (*.f64 #s(literal 1/2 binary64) y))
#s(approx y #s(hole binary64 y))
#s(approx y y)
#s(approx (/ (+ x y) 2) #s(hole binary64 (* y (+ 1/2 (* 1/2 (/ x y))))))
#s(approx (* (+ y x) 1/2) (*.f64 (+.f64 y x) #s(literal 1/2 binary64)))
#s(approx (* (+ y x) 1/2) #s(hole binary64 (* y (+ 1/2 (* 1/2 (/ x y))))))
#s(approx (* (+ y x) 1/2) (*.f64 (+.f64 y x) #s(literal 1/2 binary64)))
#s(approx (+ y x) #s(hole binary64 (* y (+ 1 (/ x y)))))
#s(approx (+ y x) (+.f64 y x))
#s(approx (/ (+ x y) 2) #s(hole binary64 (* -1 (* y (- (* -1/2 (/ x y)) 1/2)))))
#s(approx (* (+ y x) 1/2) (*.f64 (+.f64 y x) #s(literal 1/2 binary64)))
#s(approx (* (+ y x) 1/2) #s(hole binary64 (* -1 (* y (- (* -1/2 (/ x y)) 1/2)))))
#s(approx (* (+ y x) 1/2) (*.f64 (+.f64 y x) #s(literal 1/2 binary64)))
#s(approx (+ y x) #s(hole binary64 (* -1 (* y (- (* -1 (/ x y)) 1)))))
#s(approx (+ y x) (+.f64 y x))

rewrite48.0ms (2.3%)

Memory
3.3MiB live, 92.8MiB allocated; 14ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01346
01746
15246
029746
Stop Event
iter limit
iter limit
iter limit
unsound
iter limit
Counts
10 → 40
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 (+.f64 y x) #s(literal 1/2 binary64)))
(*.f64 (+.f64 y x) #s(literal 1/2 binary64))
(+.f64 y x)
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 (*.f64 (+.f64 y x) (-.f64 x y)) #s(literal 1/2 binary64)) (-.f64 x y))
(/.f64 (*.f64 (*.f64 (+.f64 y x) (-.f64 y x)) #s(literal 1/2 binary64)) (-.f64 y x))
(/.f64 (*.f64 (+.f64 (pow.f64 x #s(literal 3 binary64)) (pow.f64 y #s(literal 3 binary64))) #s(literal 1/2 binary64)) (fma.f64 y (-.f64 y x) (*.f64 x x)))
(/.f64 (*.f64 (+.f64 (pow.f64 x #s(literal 3 binary64)) (pow.f64 y #s(literal 3 binary64))) #s(literal 1/2 binary64)) (fma.f64 x (-.f64 x y) (*.f64 y y)))
(/.f64 (*.f64 #s(literal 1/2 binary64) (*.f64 (+.f64 y x) (-.f64 x y))) (-.f64 x y))
(/.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 (pow.f64 x #s(literal 3 binary64)) (pow.f64 y #s(literal 3 binary64)))) (fma.f64 y (-.f64 y x) (*.f64 x x)))
(/.f64 (*.f64 #s(literal 1/2 binary64) (+.f64 (pow.f64 x #s(literal 3 binary64)) (pow.f64 y #s(literal 3 binary64)))) (fma.f64 x (-.f64 x y) (*.f64 y y)))
(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 #s(literal 1/2 binary64) y) (*.f64 #s(literal 1/2 binary64) x))
(+.f64 (*.f64 #s(literal 1/2 binary64) x) (*.f64 #s(literal 1/2 binary64) y))
(/.f64 (neg.f64 (*.f64 (+.f64 y x) (-.f64 x y))) (neg.f64 (-.f64 x y)))
(/.f64 (neg.f64 (*.f64 (+.f64 y x) (-.f64 y x))) (neg.f64 (-.f64 y x)))
(/.f64 (neg.f64 (+.f64 (pow.f64 x #s(literal 3 binary64)) (pow.f64 y #s(literal 3 binary64)))) (neg.f64 (fma.f64 y (-.f64 y x) (*.f64 x x))))
(/.f64 (neg.f64 (+.f64 (pow.f64 x #s(literal 3 binary64)) (pow.f64 y #s(literal 3 binary64)))) (neg.f64 (fma.f64 x (-.f64 x y) (*.f64 y y))))
(/.f64 (*.f64 (+.f64 y x) (-.f64 x y)) (-.f64 x y))
(/.f64 (*.f64 (+.f64 y x) (-.f64 y x)) (-.f64 y x))
(/.f64 (+.f64 (pow.f64 x #s(literal 3 binary64)) (pow.f64 y #s(literal 3 binary64))) (fma.f64 y (-.f64 y x) (*.f64 x x)))
(/.f64 (+.f64 (pow.f64 x #s(literal 3 binary64)) (pow.f64 y #s(literal 3 binary64))) (fma.f64 x (-.f64 x y) (*.f64 y y)))
(-.f64 (/.f64 (*.f64 x x) (-.f64 x y)) (/.f64 (*.f64 y y) (-.f64 x y)))
(-.f64 (/.f64 (*.f64 y y) (-.f64 y x)) (/.f64 (*.f64 x x) (-.f64 y x)))
(+.f64 (/.f64 (pow.f64 x #s(literal 3 binary64)) (fma.f64 y (-.f64 y x) (*.f64 x x))) (/.f64 (pow.f64 y #s(literal 3 binary64)) (fma.f64 y (-.f64 y x) (*.f64 x x))))
(+.f64 (/.f64 (pow.f64 y #s(literal 3 binary64)) (fma.f64 x (-.f64 x y) (*.f64 y y))) (/.f64 (pow.f64 x #s(literal 3 binary64)) (fma.f64 x (-.f64 x y) (*.f64 y y))))
(+.f64 y x)
(+.f64 x y)

eval5.0ms (0.2%)

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

Compiled 860 to 152 computations (82.3% saved)

prune5.0ms (0.2%)

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

3 alts after pruning (0 fresh and 3 done)

PrunedKeptTotal
New56056
Fresh000
Picked033
Done000
Total56359
Accuracy
100.0%
Counts
59 → 3
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
#s(approx (/ (+ x y) 2) (*.f64 (+.f64 y x) #s(literal 1/2 binary64)))
51.9%
#s(approx (/ (+ x y) 2) (*.f64 #s(literal 1/2 binary64) y))
50.1%
#s(approx (/ (+ x y) 2) (*.f64 #s(literal 1/2 binary64) x))
Compiler

Compiled 63 to 41 computations (34.9% saved)

regimes47.0ms (2.3%)

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

4 calls:

40.0ms
x
2.0ms
(+.f64 x y)
2.0ms
(/.f64 (+.f64 x y) #s(literal 2 binary64))
2.0ms
y
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)

regimes37.0ms (1.8%)

Memory
-25.4MiB live, 18.9MiB allocated; 11ms 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:

32.0ms
(+.f64 x y)
1.0ms
y
1.0ms
(/.f64 (+.f64 x y) #s(literal 2 binary64))
1.0ms
x
Results
AccuracySegmentsBranch
98.6%2(+.f64 x y)
98.6%2(/.f64 (+.f64 x y) #s(literal 2 binary64))
82.5%2x
82.9%2y
Compiler

Compiled 10 to 12 computations (-20% saved)

regimes5.0ms (0.2%)

Memory
22.3MiB live, 22.3MiB 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
y
1.0ms
x
Results
AccuracySegmentsBranch
50.1%1x
50.1%1y
50.1%1(+.f64 x y)
50.1%1(/.f64 (+.f64 x y) #s(literal 2 binary64))
Compiler

Compiled 10 to 12 computations (-20% saved)

bsearch0.0ms (0%)

Memory
1.7MiB live, 1.7MiB allocated; 0ms collecting garbage
Algorithm
left-value
Steps
TimeLeftRight
0.0ms
-9.448985793992493e-283
3.6640867680135285e-269
Compiler

Compiled 8 to 10 computations (-25% saved)

simplify62.0ms (3%)

Memory
-2.8MiB live, 80.4MiB allocated; 34ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01846
12446
22846
33746
47546
542446
6357946
Stop Event
node limit
Calls
Call 1
Inputs
#s(approx (/ (+ x y) 2) (*.f64 (+.f64 y x) #s(literal 1/2 binary64)))
(if (<=.f64 (/.f64 (+.f64 x y) #s(literal 2 binary64)) #s(literal -653996952628337/1307993905256673975767120421215822522657964858038981454399109360803651185455244290152830052265253733065911465963809993683089776960073625541502023629723947119620918917825223508962533521125777727280023703876104306028269279939868013618062200188730110219063866757530095479450736063434158250346338582528 binary64)) #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) x))
Outputs
#s(approx (/ (+ x y) 2) (*.f64 (+.f64 y x) #s(literal 1/2 binary64)))
(if (<=.f64 (/.f64 (+.f64 x y) #s(literal 2 binary64)) #s(literal -653996952628337/1307993905256673975767120421215822522657964858038981454399109360803651185455244290152830052265253733065911465963809993683089776960073625541502023629723947119620918917825223508962533521125777727280023703876104306028269279939868013618062200188730110219063866757530095479450736063434158250346338582528 binary64)) #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) x))

derivations254.0ms (12.2%)

Memory
-44.9MiB live, 142.3MiB allocated; 129ms collecting garbage
Stop Event
done
Compiler

Compiled 46 to 19 computations (58.7% saved)

preprocess18.0ms (0.9%)

Memory
9.8MiB live, 56.3MiB allocated; 3ms collecting garbage
Remove

(sort x y)

Compiler

Compiled 124 to 66 computations (46.8% saved)

end0.0ms (0%)

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

Profiling

Loading profile data...