Data.Colour.RGBSpace.HSL:hsl from colour-2.3.3, C

Time bar (total: 1.3s)

start0.0ms (0%)

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

analyze0.0ms (0%)

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

sample671.0ms (49.9%)

Memory
26.5MiB live, 785.7MiB allocated; 210ms collecting garbage
Samples
466.0ms8 256×0valid
Precisions
Click to see histograms. Total time spent on operations: 196.0ms
ival-mult: 143.0ms (72.9% of total)
ival-sub: 42.0ms (21.4% of total)
exact: 7.0ms (3.6% of total)
ival-assert: 3.0ms (1.5% of total)
adjust: 2.0ms (1% of total)
Bogosity

explain50.0ms (3.7%)

Memory
21.9MiB live, 75.7MiB allocated; 5ms collecting garbage
FPErrors
Click to see full error table
Ground TruthOverpredictionsExampleUnderpredictionsExampleSubexpression
00-0-(-.f64 (*.f64 x #s(literal 2 binary64)) y)
00-0-(*.f64 x #s(literal 2 binary64))
00-0-#s(literal 2 binary64)
00-0-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
21.0ms512×0valid
Compiler

Compiled 31 to 19 computations (38.7% saved)

Precisions
Click to see histograms. Total time spent on operations: 7.0ms
ival-mult: 4.0ms (56.1% of total)
ival-sub: 3.0ms (42.1% 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)

preprocess252.0ms (18.7%)

Memory
-31.1MiB live, 201.6MiB allocated; 24ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01434
12032
24232
39432
421330
582630
6464830
055
075
1105
2185
3385
4805
53485
618895
081435
Stop Event
iter limit
node limit
iter limit
node limit
Calls
Call 1
Inputs
(-.f64 (*.f64 x #s(literal 2 binary64)) y)
Outputs
(-.f64 (*.f64 x #s(literal 2 binary64)) y)
(-.f64 (*.f64 #s(literal 2 binary64) 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.7MiB live, 0.7MiB allocated; 0ms collecting garbage
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
(-.f64 (*.f64 x #s(literal 2 binary64)) y)
Compiler

Compiled 5 to 5 computations (0% saved)

series4.0ms (0.3%)

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

6 calls:

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

rewrite60.0ms (4.5%)

Memory
28.5MiB live, 73.8MiB allocated; 6ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
040128
042122
1180121
01320119
Stop Event
iter limit
iter limit
node limit
iter limit
Counts
16 → 52
Calls
Call 1
Inputs
(-.f64 (*.f64 x #s(literal 2 binary64)) y)
(*.f64 x #s(literal 2 binary64))
x
#s(literal 2 binary64)
y
#s(approx (- (* x 2) y) #s(hole binary64 (* -1 y)))
#s(approx (- (* x 2) y) #s(hole binary64 (- (* 2 x) y)))
#s(approx (* x 2) #s(hole binary64 (* 2 x)))
#s(approx x #s(hole binary64 x))
#s(approx (- (* x 2) y) #s(hole binary64 (* 2 x)))
#s(approx (- (* x 2) y) #s(hole binary64 (* x (+ 2 (* -1 (/ y x))))))
#s(approx (- (* x 2) y) #s(hole binary64 (* -1 (* x (- (/ y x) 2)))))
#s(approx (- (* x 2) y) #s(hole binary64 (+ (* -1 y) (* 2 x))))
#s(approx y #s(hole binary64 y))
#s(approx (- (* x 2) y) #s(hole binary64 (* y (- (* 2 (/ x y)) 1))))
#s(approx (- (* x 2) y) #s(hole binary64 (* -1 (* y (+ 1 (* -2 (/ x y)))))))
Outputs
(/.f64 (-.f64 (pow.f64 (neg.f64 y) #s(literal 3 binary64)) (pow.f64 (*.f64 #s(literal -2 binary64) x) #s(literal 3 binary64))) (fma.f64 y y (fma.f64 (*.f64 x x) #s(literal 4 binary64) (*.f64 (neg.f64 y) (*.f64 #s(literal -2 binary64) x)))))
(/.f64 (neg.f64 (fma.f64 (*.f64 x x) #s(literal 4 binary64) (*.f64 (neg.f64 y) y))) (neg.f64 (fma.f64 #s(literal 2 binary64) x y)))
(/.f64 (neg.f64 (-.f64 (pow.f64 (*.f64 #s(literal 2 binary64) x) #s(literal 3 binary64)) (pow.f64 y #s(literal 3 binary64)))) (neg.f64 (fma.f64 (*.f64 x x) #s(literal 4 binary64) (*.f64 y (fma.f64 #s(literal 2 binary64) x y)))))
(/.f64 (neg.f64 (-.f64 (*.f64 y y) (pow.f64 (*.f64 #s(literal 2 binary64) x) #s(literal 2 binary64)))) (neg.f64 (fma.f64 #s(literal -1 binary64) y (*.f64 #s(literal -2 binary64) x))))
(/.f64 (neg.f64 (fma.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal 8 binary64) (pow.f64 (neg.f64 y) #s(literal 3 binary64)))) (neg.f64 (fma.f64 (*.f64 #s(literal 2 binary64) x) (-.f64 (*.f64 #s(literal 2 binary64) x) (neg.f64 y)) (*.f64 y y))))
(/.f64 (fma.f64 (*.f64 x x) #s(literal 4 binary64) (*.f64 (neg.f64 y) y)) (-.f64 (*.f64 #s(literal 2 binary64) x) (neg.f64 y)))
(/.f64 (fma.f64 (*.f64 x x) #s(literal 4 binary64) (*.f64 (neg.f64 y) y)) (fma.f64 #s(literal 2 binary64) x y))
(/.f64 (-.f64 (*.f64 y y) (pow.f64 (*.f64 #s(literal 2 binary64) x) #s(literal 2 binary64))) (fma.f64 #s(literal -1 binary64) y (*.f64 #s(literal -2 binary64) x)))
(/.f64 (-.f64 (pow.f64 (*.f64 #s(literal 2 binary64) x) #s(literal 3 binary64)) (pow.f64 y #s(literal 3 binary64))) (fma.f64 (*.f64 x x) #s(literal 4 binary64) (*.f64 y (fma.f64 #s(literal 2 binary64) x y))))
(/.f64 (fma.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal 8 binary64) (pow.f64 (neg.f64 y) #s(literal 3 binary64))) (fma.f64 (*.f64 x x) #s(literal 4 binary64) (-.f64 (*.f64 y y) (*.f64 (*.f64 (neg.f64 y) #s(literal 2 binary64)) x))))
(/.f64 (fma.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal 8 binary64) (pow.f64 (neg.f64 y) #s(literal 3 binary64))) (fma.f64 (*.f64 #s(literal 2 binary64) x) (-.f64 (*.f64 #s(literal 2 binary64) x) (neg.f64 y)) (*.f64 y y)))
(fma.f64 #s(literal -1 binary64) y (*.f64 #s(literal 2 binary64) x))
(fma.f64 y #s(literal -1 binary64) (*.f64 #s(literal 2 binary64) x))
(fma.f64 #s(literal 2 binary64) x (neg.f64 y))
(fma.f64 x #s(literal 2 binary64) (neg.f64 y))
(-.f64 (/.f64 (pow.f64 (*.f64 #s(literal 2 binary64) x) #s(literal 2 binary64)) (fma.f64 #s(literal 2 binary64) x y)) (/.f64 (*.f64 y y) (fma.f64 #s(literal 2 binary64) x y)))
(-.f64 (/.f64 (pow.f64 (*.f64 #s(literal 2 binary64) x) #s(literal 3 binary64)) (fma.f64 (*.f64 x x) #s(literal 4 binary64) (*.f64 y (fma.f64 #s(literal 2 binary64) x y)))) (/.f64 (pow.f64 y #s(literal 3 binary64)) (fma.f64 (*.f64 x x) #s(literal 4 binary64) (*.f64 y (fma.f64 #s(literal 2 binary64) x y)))))
(-.f64 (/.f64 (*.f64 y y) (fma.f64 #s(literal -1 binary64) y (*.f64 #s(literal -2 binary64) x))) (/.f64 (pow.f64 (*.f64 #s(literal 2 binary64) x) #s(literal 2 binary64)) (fma.f64 #s(literal -1 binary64) y (*.f64 #s(literal -2 binary64) x))))
(-.f64 (*.f64 #s(literal 2 binary64) x) (*.f64 (neg.f64 y) #s(literal -1 binary64)))
(-.f64 (*.f64 #s(literal 2 binary64) x) y)
(-.f64 (neg.f64 y) (*.f64 (neg.f64 x) #s(literal 2 binary64)))
(-.f64 (neg.f64 y) (*.f64 #s(literal -2 binary64) x))
(+.f64 (fma.f64 #s(literal -1 binary64) y x) x)
(+.f64 (/.f64 (pow.f64 (neg.f64 y) #s(literal 3 binary64)) (fma.f64 (*.f64 #s(literal 2 binary64) x) (-.f64 (*.f64 #s(literal 2 binary64) x) (neg.f64 y)) (*.f64 y y))) (/.f64 (pow.f64 (*.f64 #s(literal 2 binary64) x) #s(literal 3 binary64)) (fma.f64 (*.f64 #s(literal 2 binary64) x) (-.f64 (*.f64 #s(literal 2 binary64) x) (neg.f64 y)) (*.f64 y y))))
(+.f64 (*.f64 #s(literal 2 binary64) x) (neg.f64 y))
(+.f64 (neg.f64 y) (*.f64 #s(literal 2 binary64) x))
(+.f64 x (-.f64 x y))
(+.f64 x (+.f64 x (neg.f64 y)))
(*.f64 #s(literal 2 binary64) x)
(*.f64 x #s(literal 2 binary64))
(/.f64 (-.f64 (*.f64 x x) (*.f64 x x)) (-.f64 x x))
(/.f64 (+.f64 (pow.f64 x #s(literal 3 binary64)) (pow.f64 x #s(literal 3 binary64))) (fma.f64 x x (-.f64 (*.f64 x x) (*.f64 x x))))
(neg.f64 (*.f64 #s(literal -2 binary64) x))
(fma.f64 #s(literal 1 binary64) x (*.f64 #s(literal 1 binary64) x))
(fma.f64 x #s(literal 1 binary64) (*.f64 x #s(literal 1 binary64)))
(+.f64 (*.f64 #s(literal 1 binary64) x) (*.f64 #s(literal 1 binary64) x))
(+.f64 (*.f64 x #s(literal 1 binary64)) (*.f64 x #s(literal 1 binary64)))
(+.f64 x x)
x
#s(literal 2 binary64)
y
#s(approx (- (* x 2) y) (neg.f64 y))
#s(approx (- (* x 2) y) (fma.f64 #s(literal 2 binary64) x (neg.f64 y)))
#s(approx (* x 2) (*.f64 #s(literal 2 binary64) x))
#s(approx x x)
#s(approx (- (* x 2) y) (*.f64 #s(literal 2 binary64) x))
#s(approx (- (* x 2) y) (*.f64 (-.f64 #s(literal 2 binary64) (/.f64 y x)) x))
#s(approx (- (* x 2) y) (*.f64 (neg.f64 x) (-.f64 (/.f64 y x) #s(literal 2 binary64))))
#s(approx (- (* x 2) y) (fma.f64 #s(literal 2 binary64) x (neg.f64 y)))
#s(approx y y)
#s(approx (- (* x 2) y) (*.f64 (fma.f64 (/.f64 x y) #s(literal 2 binary64) #s(literal -1 binary64)) y))
#s(approx (- (* x 2) y) (*.f64 (fma.f64 #s(literal -2 binary64) (/.f64 x y) #s(literal 1 binary64)) (neg.f64 y)))

eval7.0ms (0.5%)

Memory
-33.6MiB live, 12.6MiB allocated; 3ms collecting garbage
Compiler

Compiled 622 to 140 computations (77.5% saved)

prune2.0ms (0.1%)

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

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New48351
Fresh000
Picked101
Done000
Total49352
Accuracy
100.0%
Counts
52 → 3
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
(-.f64 (+.f64 x x) y)
51.5%
#s(approx (- (* x 2) y) (*.f64 #s(literal 2 binary64) x))
49.6%
#s(approx (- (* x 2) y) (neg.f64 y))
Compiler

Compiled 22 to 19 computations (13.6% saved)

series3.0ms (0.2%)

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

6 calls:

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

rewrite36.0ms (2.7%)

Memory
4.2MiB live, 55.8MiB allocated; 6ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
057267
059256
0219252
Stop Event
iter limit
iter limit
iter limit
unsound
iter limit
Counts
30 → 43
Calls
Call 1
Inputs
#s(approx (- (* x 2) y) (neg.f64 y))
(neg.f64 y)
y
#s(approx (- (* x 2) y) (*.f64 #s(literal 2 binary64) x))
(*.f64 #s(literal 2 binary64) x)
#s(literal 2 binary64)
x
(-.f64 (+.f64 x x) y)
(+.f64 x x)
#s(approx (- (* x 2) y) #s(hole binary64 (* -1 y)))
#s(approx (- (* x 2) y) #s(hole binary64 (- (* 2 x) y)))
#s(approx (* 2 x) #s(hole binary64 (* 2 x)))
#s(approx x #s(hole binary64 x))
#s(approx (- (+ x x) y) #s(hole binary64 (* -1 y)))
#s(approx (- (+ x x) y) #s(hole binary64 (- (* 2 x) y)))
#s(approx (+ x x) #s(hole binary64 (* 2 x)))
#s(approx (- (* x 2) y) #s(hole binary64 (* 2 x)))
#s(approx (- (* x 2) y) #s(hole binary64 (* x (+ 2 (* -1 (/ y x))))))
#s(approx (- (+ x x) y) #s(hole binary64 (* 2 x)))
#s(approx (- (+ x x) y) #s(hole binary64 (* x (+ 2 (* -1 (/ y x))))))
#s(approx (- (* x 2) y) #s(hole binary64 (* -1 (* x (- (/ y x) 2)))))
#s(approx (- (+ x x) y) #s(hole binary64 (* -1 (* x (- (/ y x) 2)))))
#s(approx (- (* x 2) y) #s(hole binary64 (+ (* -1 y) (* 2 x))))
#s(approx (neg y) #s(hole binary64 (* -1 y)))
#s(approx y #s(hole binary64 y))
#s(approx (- (+ x x) y) #s(hole binary64 (+ (* -1 y) (* 2 x))))
#s(approx (- (* x 2) y) #s(hole binary64 (* y (- (* 2 (/ x y)) 1))))
#s(approx (- (+ x x) y) #s(hole binary64 (* y (- (* 2 (/ x y)) 1))))
#s(approx (- (* x 2) y) #s(hole binary64 (* -1 (* y (+ 1 (* -2 (/ x y)))))))
#s(approx (- (+ x x) y) #s(hole binary64 (* -1 (* y (+ 1 (* -2 (/ x y)))))))
Outputs
#s(approx (- (* x 2) y) (neg.f64 y))
(*.f64 #s(literal -1 binary64) y)
(*.f64 y #s(literal -1 binary64))
(neg.f64 y)
y
#s(approx (- (* x 2) y) (*.f64 #s(literal 2 binary64) x))
(*.f64 #s(literal 2 binary64) x)
(*.f64 x #s(literal 2 binary64))
(/.f64 (-.f64 (*.f64 x x) (*.f64 x x)) (-.f64 x x))
(/.f64 (+.f64 (pow.f64 x #s(literal 3 binary64)) (pow.f64 x #s(literal 3 binary64))) (fma.f64 x x (-.f64 (*.f64 x x) (*.f64 x x))))
(+.f64 x x)
#s(literal 2 binary64)
x
(/.f64 (-.f64 (*.f64 (*.f64 #s(literal 2 binary64) x) (*.f64 #s(literal 2 binary64) x)) (*.f64 y y)) (fma.f64 #s(literal 2 binary64) x y))
(/.f64 (-.f64 (pow.f64 (*.f64 #s(literal 2 binary64) x) #s(literal 3 binary64)) (pow.f64 y #s(literal 3 binary64))) (fma.f64 (*.f64 #s(literal 2 binary64) x) (*.f64 #s(literal 2 binary64) x) (fma.f64 y y (*.f64 (*.f64 #s(literal 2 binary64) x) y))))
(-.f64 (*.f64 #s(literal 2 binary64) x) y)
(+.f64 x (-.f64 x y))
(*.f64 #s(literal 2 binary64) x)
(*.f64 x #s(literal 2 binary64))
(/.f64 (-.f64 (*.f64 x x) (*.f64 x x)) (-.f64 x x))
(/.f64 (+.f64 (pow.f64 x #s(literal 3 binary64)) (pow.f64 x #s(literal 3 binary64))) (fma.f64 x x (-.f64 (*.f64 x x) (*.f64 x x))))
(+.f64 x x)
#s(approx (- (* x 2) y) (neg.f64 y))
#s(approx (- (* x 2) y) (-.f64 (*.f64 #s(literal 2 binary64) x) y))
#s(approx (* 2 x) (*.f64 #s(literal 2 binary64) x))
#s(approx x x)
#s(approx (- (* x 2) y) (neg.f64 y))
#s(approx (- (* x 2) y) (-.f64 (*.f64 #s(literal 2 binary64) x) y))
#s(approx (* 2 x) (*.f64 #s(literal 2 binary64) x))
#s(approx (- (* x 2) y) (*.f64 #s(literal 2 binary64) x))
#s(approx (- (* x 2) y) (*.f64 (fma.f64 (/.f64 y x) #s(literal -1 binary64) #s(literal 2 binary64)) x))
#s(approx (- (* x 2) y) (*.f64 #s(literal 2 binary64) x))
#s(approx (- (* x 2) y) (*.f64 (fma.f64 (/.f64 y x) #s(literal -1 binary64) #s(literal 2 binary64)) x))
#s(approx (- (* x 2) y) (neg.f64 (*.f64 (-.f64 (/.f64 y x) #s(literal 2 binary64)) x)))
#s(approx (- (* x 2) y) (neg.f64 (*.f64 (-.f64 (/.f64 y x) #s(literal 2 binary64)) x)))
#s(approx (- (* x 2) y) (fma.f64 #s(literal 2 binary64) x (neg.f64 y)))
#s(approx (neg y) (neg.f64 y))
#s(approx y y)
#s(approx (- (* x 2) y) (fma.f64 #s(literal 2 binary64) x (neg.f64 y)))
#s(approx (- (* x 2) y) (*.f64 (-.f64 (*.f64 (/.f64 x y) #s(literal 2 binary64)) #s(literal 1 binary64)) y))
#s(approx (- (* x 2) y) (*.f64 (-.f64 (*.f64 (/.f64 x y) #s(literal 2 binary64)) #s(literal 1 binary64)) y))
#s(approx (- (* x 2) y) (*.f64 (neg.f64 y) (fma.f64 #s(literal -2 binary64) (/.f64 x y) #s(literal 1 binary64))))
#s(approx (- (* x 2) y) (*.f64 (neg.f64 y) (fma.f64 #s(literal -2 binary64) (/.f64 x y) #s(literal 1 binary64))))

eval3.0ms (0.2%)

Memory
7.7MiB live, 7.6MiB allocated; 0ms collecting garbage
Compiler

Compiled 349 to 84 computations (75.9% saved)

prune2.0ms (0.1%)

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

3 alts after pruning (1 fresh and 2 done)

PrunedKeptTotal
New32133
Fresh000
Picked123
Done000
Total33336
Accuracy
100.0%
Counts
36 → 3
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
(-.f64 (+.f64 x x) y)
51.5%
#s(approx (- (* x 2) y) (+.f64 x x))
49.6%
#s(approx (- (* x 2) y) (neg.f64 y))
Compiler

Compiled 22 to 18 computations (18.2% saved)

series2.0ms (0.1%)

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

6 calls:

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

rewrite34.0ms (2.5%)

Memory
-25.0MiB live, 66.8MiB allocated; 9ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
040127
041122
0185120
Stop Event
iter limit
iter limit
iter limit
unsound
iter limit
Counts
13 → 17
Calls
Call 1
Inputs
#s(approx (- (* x 2) y) (+.f64 x x))
(+.f64 x x)
x
#s(approx (- (* x 2) y) #s(hole binary64 (* -1 y)))
#s(approx (- (* x 2) y) #s(hole binary64 (- (* 2 x) y)))
#s(approx (+ x x) #s(hole binary64 (* 2 x)))
#s(approx x #s(hole binary64 x))
#s(approx (- (* x 2) y) #s(hole binary64 (* 2 x)))
#s(approx (- (* x 2) y) #s(hole binary64 (* x (+ 2 (* -1 (/ y x))))))
#s(approx (- (* x 2) y) #s(hole binary64 (* -1 (* x (- (/ y x) 2)))))
#s(approx (- (* x 2) y) #s(hole binary64 (+ (* -1 y) (* 2 x))))
#s(approx (- (* x 2) y) #s(hole binary64 (* y (- (* 2 (/ x y)) 1))))
#s(approx (- (* x 2) y) #s(hole binary64 (* -1 (* y (+ 1 (* -2 (/ x y)))))))
Outputs
#s(approx (- (* x 2) y) (*.f64 #s(literal 2 binary64) x))
(*.f64 #s(literal 2 binary64) x)
(*.f64 x #s(literal 2 binary64))
(/.f64 (-.f64 (*.f64 x x) (*.f64 x x)) (-.f64 x x))
(/.f64 (+.f64 (pow.f64 x #s(literal 3 binary64)) (pow.f64 x #s(literal 3 binary64))) (fma.f64 x x (-.f64 (*.f64 x x) (*.f64 x x))))
(+.f64 x x)
x
#s(approx (- (* x 2) y) (neg.f64 y))
#s(approx (- (* x 2) y) (-.f64 (*.f64 #s(literal 2 binary64) x) y))
#s(approx (+ x x) (*.f64 #s(literal 2 binary64) x))
#s(approx x x)
#s(approx (- (* x 2) y) (*.f64 #s(literal 2 binary64) x))
#s(approx (- (* x 2) y) (*.f64 (fma.f64 (/.f64 y x) #s(literal -1 binary64) #s(literal 2 binary64)) x))
#s(approx (- (* x 2) y) (neg.f64 (*.f64 (-.f64 (/.f64 y x) #s(literal 2 binary64)) x)))
#s(approx (- (* x 2) y) (fma.f64 #s(literal 2 binary64) x (neg.f64 y)))
#s(approx (- (* x 2) y) (*.f64 (-.f64 (*.f64 (/.f64 x y) #s(literal 2 binary64)) #s(literal 1 binary64)) y))
#s(approx (- (* x 2) y) (*.f64 (neg.f64 y) (fma.f64 #s(literal -2 binary64) (/.f64 x y) #s(literal 1 binary64))))

eval2.0ms (0.1%)

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

Compiled 218 to 56 computations (74.3% saved)

prune2.0ms (0.1%)

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

3 alts after pruning (0 fresh and 3 done)

PrunedKeptTotal
New18018
Fresh000
Picked011
Done022
Total18321
Accuracy
100.0%
Counts
21 → 3
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
(-.f64 (+.f64 x x) y)
51.5%
#s(approx (- (* x 2) y) (+.f64 x x))
49.6%
#s(approx (- (* x 2) y) (neg.f64 y))
Compiler

Compiled 58 to 33 computations (43.1% saved)

regimes8.0ms (0.6%)

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

4 calls:

2.0ms
(-.f64 (*.f64 x #s(literal 2 binary64)) y)
2.0ms
y
2.0ms
(*.f64 x #s(literal 2 binary64))
2.0ms
x
Results
AccuracySegmentsBranch
100.0%1(*.f64 x #s(literal 2 binary64))
100.0%1(-.f64 (*.f64 x #s(literal 2 binary64)) y)
100.0%1x
100.0%1y
Compiler

Compiled 10 to 13 computations (-30% saved)

regimes10.0ms (0.7%)

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

4 calls:

5.0ms
y
2.0ms
(-.f64 (*.f64 x #s(literal 2 binary64)) y)
2.0ms
(*.f64 x #s(literal 2 binary64))
1.0ms
x
Results
AccuracySegmentsBranch
75.4%3(*.f64 x #s(literal 2 binary64))
62.0%4(-.f64 (*.f64 x #s(literal 2 binary64)) y)
75.4%3x
80.5%3y
Compiler

Compiled 10 to 13 computations (-30% saved)

regimes4.0ms (0.3%)

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

Total -0.0b remaining (-0%)

Threshold costs -0b (-0%)

Counts
1 → 1
Calls
Call 1
Inputs
#s(approx (- (* x 2) y) (neg.f64 y))
Outputs
#s(approx (- (* x 2) y) (neg.f64 y))
Calls

4 calls:

1.0ms
(*.f64 x #s(literal 2 binary64))
1.0ms
(-.f64 (*.f64 x #s(literal 2 binary64)) y)
1.0ms
y
1.0ms
x
Results
AccuracySegmentsBranch
49.6%1(-.f64 (*.f64 x #s(literal 2 binary64)) y)
49.6%1(*.f64 x #s(literal 2 binary64))
49.6%1x
49.6%1y
Compiler

Compiled 10 to 13 computations (-30% saved)

bsearch88.0ms (6.5%)

Memory
-14.6MiB live, 46.6MiB allocated; 84ms collecting garbage
Algorithm
binary-search
Stop Event
narrow-enough
narrow-enough
Steps
TimeLeftRight
9.0ms
2.076716050770189e-69
2.3479613525527125e-66
77.0ms
-1.6981292924077628e+81
-4.979887289117616e+79
Samples
76.0ms240×0valid
Compiler

Compiled 263 to 250 computations (4.9% saved)

Precisions
Click to see histograms. Total time spent on operations: 3.0ms
ival-mult: 2.0ms (60.5% of total)
ival-sub: 1.0ms (30.2% 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)

simplify75.0ms (5.6%)

Memory
-22.3MiB live, 77.9MiB allocated; 19ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01639
12839
23639
35639
412439
588339
6638739
Stop Event
node limit
Calls
Call 1
Inputs
(-.f64 (+.f64 x x) y)
(if (<=.f64 y #s(literal -949999999999999914686556734026774935046925318239181427329988772861999815577305088 binary64)) #s(approx (- (* x 2) y) (neg.f64 y)) (if (<=.f64 y #s(literal 8726832914295267/3794275180128377091639574036764685364535950857523710002444946112771297432041422848 binary64)) #s(approx (- (* x 2) y) (+.f64 x x)) #s(approx (- (* x 2) y) (neg.f64 y))))
#s(approx (- (* x 2) y) (neg.f64 y))
Outputs
(-.f64 (+.f64 x x) y)
(if (<=.f64 y #s(literal -949999999999999914686556734026774935046925318239181427329988772861999815577305088 binary64)) #s(approx (- (* x 2) y) (neg.f64 y)) (if (<=.f64 y #s(literal 8726832914295267/3794275180128377091639574036764685364535950857523710002444946112771297432041422848 binary64)) #s(approx (- (* x 2) y) (+.f64 x x)) #s(approx (- (* x 2) y) (neg.f64 y))))
(if (or (<=.f64 y #s(literal -949999999999999914686556734026774935046925318239181427329988772861999815577305088 binary64)) (not (<=.f64 y #s(literal 8726832914295267/3794275180128377091639574036764685364535950857523710002444946112771297432041422848 binary64)))) #s(approx (- (* x 2) y) (neg.f64 y)) #s(approx (- (* x 2) y) (+.f64 x x)))
#s(approx (- (* x 2) y) (neg.f64 y))

derivations12.0ms (0.9%)

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

Compiled 39 to 17 computations (56.4% saved)

preprocess18.0ms (1.3%)

Memory
-7.4MiB live, 39.1MiB allocated; 4ms collecting garbage
Compiler

Compiled 88 to 44 computations (50% saved)

end0.0ms (0%)

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

Profiling

Loading profile data...