Data.Colour.CIE:cieLABView from colour-2.3.3, B

Time bar (total: 1.7s)

start0.0ms (0%)

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

analyze0.0ms (0%)

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

sample719.0ms (42.7%)

Memory
25.2MiB live, 768.6MiB allocated; 156ms collecting garbage
Samples
465.0ms8 224×0valid
1.0ms16×1valid
1.0ms3valid
1.0ms2valid
Precisions
Click to see histograms. Total time spent on operations: 171.0ms
ival-sub: 104.0ms (60.7% of total)
ival-mult: 52.0ms (30.4% of total)
ival-true: 5.0ms (2.9% of total)
exact: 5.0ms (2.9% of total)
adjust: 3.0ms (1.8% of total)
ival-assert: 3.0ms (1.8% of total)
Bogosity

explain94.0ms (5.6%)

Memory
0.3MiB live, 91.7MiB allocated; 7ms collecting garbage
FPErrors
Click to see full error table
Ground TruthOverpredictionsExampleUnderpredictionsExampleSubexpression
00-0-y
00-0-(*.f64 #s(literal 500 binary64) (-.f64 x y))
00-0-#s(literal 500 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
34.0ms510×0valid
0.0ms1valid
Compiler

Compiled 31 to 19 computations (38.7% saved)

Precisions
Click to see histograms. Total time spent on operations: 7.0ms
ival-mult: 3.0ms (42.2% of total)
ival-sub: 3.0ms (42.2% of total)
adjust: 0.0ms (0% of total)
ival-assert: 0.0ms (0% of total)
ival-true: 0.0ms (0% of total)
exact: 0.0ms (0% of total)

preprocess91.0ms (5.4%)

Memory
-57.7MiB live, 22.1MiB allocated; 74ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01329
12429
22829
055
075
185
085
Stop Event
iter limit
saturated
iter limit
saturated
Calls
Call 1
Inputs
(*.f64 #s(literal 500 binary64) (-.f64 x y))
Outputs
(*.f64 #s(literal 500 binary64) (-.f64 x y))
(*.f64 (-.f64 x y) #s(literal 500 binary64))
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 #s(literal 500 binary64) (-.f64 x y))
Compiler

Compiled 5 to 5 computations (0% saved)

simplify3.0ms (0.2%)

Memory
3.3MiB live, 3.3MiB allocated; 0ms collecting garbage
Localize:

Found 2 expressions of interest:

NewMetricScoreProgram
cost-diff0
(-.f64 x y)
cost-diff0
(*.f64 #s(literal 500 binary64) (-.f64 x y))
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0511
0711
1811
0811
Stop Event
iter limit
saturated
iter limit
Calls
Call 1
Inputs
(*.f64 #s(literal 500 binary64) (-.f64 x y))
#s(literal 500 binary64)
(-.f64 x y)
x
y
Outputs
(*.f64 #s(literal 500 binary64) (-.f64 x y))
(*.f64 (-.f64 x y) #s(literal 500 binary64))
#s(literal 500 binary64)
(-.f64 x y)
x
y

localize14.0ms (0.8%)

Memory
14.8MiB live, 14.9MiB allocated; 0ms collecting garbage
Localize:

Found 2 expressions of interest:

NewMetricScoreProgram
accuracy0.0
(-.f64 x y)
accuracy0.0078125
(*.f64 #s(literal 500 binary64) (-.f64 x y))
Samples
9.0ms255×0valid
0.0ms1valid
Compiler

Compiled 13 to 7 computations (46.2% saved)

Precisions
Click to see histograms. Total time spent on operations: 3.0ms
ival-mult: 2.0ms (58.2% of total)
ival-sub: 1.0ms (29.1% of total)
adjust: 0.0ms (0% of total)
ival-assert: 0.0ms (0% of total)
ival-true: 0.0ms (0% of total)
exact: 0.0ms (0% of total)

series2.0ms (0.1%)

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

6 calls:

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

simplify129.0ms (7.7%)

Memory
7.6MiB live, 144.6MiB allocated; 17ms collecting garbage
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
04062
112252
236252
3112052
4408652
5785152
0801652
Stop Event
iter limit
node limit
Counts
15 → 14
Calls
Call 1
Inputs
(* -500 y)
(+ (* -500 y) (* 500 x))
(* -1 y)
(- x y)
(* 500 x)
(* x (+ 500 (* -500 (/ y x))))
x
(* x (+ 1 (* -1 (/ y x))))
(* -1 (* x (- (* 500 (/ y x)) 500)))
(* -1 (* x (- (/ y x) 1)))
(+ x (* -1 y))
(* y (- (* 500 (/ x y)) 500))
(* y (- (/ x y) 1))
(* -1 (* y (+ 500 (* -500 (/ x y)))))
(* -1 (* y (+ 1 (* -1 (/ x y)))))
Outputs
(* -500 y)
(*.f64 #s(literal -500 binary64) y)
(+ (* -500 y) (* 500 x))
(*.f64 (-.f64 y x) #s(literal -500 binary64))
(* -1 y)
(neg.f64 y)
(- x y)
(-.f64 x y)
(* 500 x)
(*.f64 #s(literal 500 binary64) x)
(* x (+ 500 (* -500 (/ y x))))
(*.f64 (-.f64 y x) #s(literal -500 binary64))
x
(* x (+ 1 (* -1 (/ y x))))
(-.f64 x y)
(* -1 (* x (- (* 500 (/ y x)) 500)))
(*.f64 (-.f64 y x) #s(literal -500 binary64))
(* -1 (* x (- (/ y x) 1)))
(-.f64 x y)
(+ x (* -1 y))
(-.f64 x y)
(* y (- (* 500 (/ x y)) 500))
(*.f64 (-.f64 y x) #s(literal -500 binary64))
(* y (- (/ x y) 1))
(-.f64 x y)
(* -1 (* y (+ 500 (* -500 (/ x y)))))
(*.f64 (-.f64 y x) #s(literal -500 binary64))
(* -1 (* y (+ 1 (* -1 (/ x y)))))
(-.f64 x y)

rewrite71.0ms (4.2%)

Memory
6.2MiB live, 107.5MiB allocated; 12ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
058
078
1218
21288
012318
Stop Event
iter limit
iter limit
node limit
iter limit
Counts
2 → 51
Calls
Call 1
Inputs
(*.f64 #s(literal 500 binary64) (-.f64 x y))
(-.f64 x y)
Outputs
(*.f64 (/.f64 (*.f64 (*.f64 #s(literal 500 binary64) (+.f64 y x)) (-.f64 x y)) (+.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 (*.f64 #s(literal 500 binary64) (+.f64 y x)) (-.f64 x y)) (*.f64 (+.f64 y x) (-.f64 x y))) (-.f64 x y))
(*.f64 (/.f64 (*.f64 (-.f64 (pow.f64 x #s(literal 3 binary64)) (pow.f64 y #s(literal 3 binary64))) #s(literal 500 binary64)) (-.f64 (pow.f64 x #s(literal 4 binary64)) (pow.f64 (*.f64 (+.f64 y x) y) #s(literal 2 binary64)))) (-.f64 (*.f64 x x) (*.f64 (+.f64 y x) y)))
(*.f64 (/.f64 (*.f64 (-.f64 (pow.f64 x #s(literal 3 binary64)) (pow.f64 y #s(literal 3 binary64))) #s(literal 500 binary64)) (+.f64 (pow.f64 (*.f64 (+.f64 y x) y) #s(literal 3 binary64)) (pow.f64 x #s(literal 6 binary64)))) (fma.f64 (*.f64 (+.f64 y x) y) (-.f64 (*.f64 (+.f64 y x) y) (*.f64 x x)) (pow.f64 x #s(literal 4 binary64))))
(*.f64 (*.f64 (+.f64 y x) (-.f64 x y)) (/.f64 #s(literal 500 binary64) (+.f64 y x)))
(*.f64 (-.f64 (pow.f64 x #s(literal 3 binary64)) (pow.f64 y #s(literal 3 binary64))) (/.f64 #s(literal 500 binary64) (fma.f64 (+.f64 y x) y (*.f64 x x))))
(*.f64 (-.f64 x y) #s(literal 500 binary64))
(*.f64 #s(literal 500 binary64) (-.f64 x y))
(/.f64 (*.f64 (*.f64 (neg.f64 (+.f64 y x)) (-.f64 x y)) #s(literal 500 binary64)) (neg.f64 (+.f64 y x)))
(/.f64 (*.f64 (neg.f64 (-.f64 (pow.f64 x #s(literal 3 binary64)) (pow.f64 y #s(literal 3 binary64)))) #s(literal 500 binary64)) (neg.f64 (fma.f64 (+.f64 y x) y (*.f64 x x))))
(/.f64 (*.f64 #s(literal 500 binary64) (*.f64 (neg.f64 (+.f64 y x)) (-.f64 x y))) (neg.f64 (+.f64 y x)))
(/.f64 (*.f64 #s(literal 500 binary64) (neg.f64 (-.f64 (pow.f64 x #s(literal 3 binary64)) (pow.f64 y #s(literal 3 binary64))))) (neg.f64 (fma.f64 (+.f64 y x) y (*.f64 x x))))
(/.f64 (neg.f64 (*.f64 (*.f64 #s(literal 500 binary64) (+.f64 y x)) (-.f64 x y))) (neg.f64 (+.f64 y x)))
(/.f64 (neg.f64 (*.f64 (-.f64 (pow.f64 x #s(literal 3 binary64)) (pow.f64 y #s(literal 3 binary64))) #s(literal 500 binary64))) (neg.f64 (fma.f64 (+.f64 y x) y (*.f64 x x))))
(/.f64 (*.f64 (*.f64 #s(literal 500 binary64) (+.f64 y x)) (-.f64 x y)) (+.f64 y x))
(/.f64 (*.f64 (-.f64 (pow.f64 x #s(literal 3 binary64)) (pow.f64 y #s(literal 3 binary64))) #s(literal 500 binary64)) (fma.f64 (+.f64 y x) y (*.f64 x x)))
(*.f64 (/.f64 (*.f64 (+.f64 y x) (-.f64 x y)) (+.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 (pow.f64 x #s(literal 3 binary64)) (pow.f64 y #s(literal 3 binary64))) (-.f64 (pow.f64 x #s(literal 4 binary64)) (pow.f64 (*.f64 (+.f64 y x) y) #s(literal 2 binary64)))) (-.f64 (*.f64 x x) (*.f64 (+.f64 y x) y)))
(*.f64 (/.f64 (-.f64 (pow.f64 x #s(literal 3 binary64)) (pow.f64 y #s(literal 3 binary64))) (+.f64 (pow.f64 (*.f64 (+.f64 y x) y) #s(literal 3 binary64)) (pow.f64 x #s(literal 6 binary64)))) (fma.f64 (*.f64 (+.f64 y x) y) (-.f64 (*.f64 (+.f64 y x) y) (*.f64 x x)) (pow.f64 x #s(literal 4 binary64))))
(*.f64 (/.f64 (*.f64 (+.f64 y x) (-.f64 x y)) (*.f64 (+.f64 y x) (-.f64 x y))) (-.f64 x y))
(*.f64 (+.f64 y x) (/.f64 (-.f64 x y) (+.f64 y x)))
(*.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 (*.f64 (*.f64 x (/.f64 x (+.f64 y x))) (*.f64 x (/.f64 x (+.f64 y x)))) (*.f64 (*.f64 y (/.f64 y (+.f64 y x))) (*.f64 y (/.f64 y (+.f64 y x))))) (fma.f64 x (/.f64 x (+.f64 y x)) (*.f64 y (/.f64 y (+.f64 y x)))))
(/.f64 (-.f64 (*.f64 (/.f64 (pow.f64 x #s(literal 3 binary64)) (fma.f64 (+.f64 y x) y (*.f64 x x))) (/.f64 (pow.f64 x #s(literal 3 binary64)) (fma.f64 (+.f64 y x) y (*.f64 x x)))) (*.f64 (/.f64 (pow.f64 y #s(literal 3 binary64)) (fma.f64 (+.f64 y x) y (*.f64 x x))) (/.f64 (pow.f64 y #s(literal 3 binary64)) (fma.f64 (+.f64 y x) y (*.f64 x x))))) (+.f64 (/.f64 (pow.f64 x #s(literal 3 binary64)) (fma.f64 (+.f64 y x) y (*.f64 x x))) (/.f64 (pow.f64 y #s(literal 3 binary64)) (fma.f64 (+.f64 y x) y (*.f64 x x)))))
(/.f64 (-.f64 (pow.f64 (*.f64 x (/.f64 x (+.f64 y x))) #s(literal 3 binary64)) (pow.f64 (*.f64 y (/.f64 y (+.f64 y x))) #s(literal 3 binary64))) (fma.f64 (*.f64 x (/.f64 x (+.f64 y x))) (*.f64 x (/.f64 x (+.f64 y x))) (fma.f64 (*.f64 y (/.f64 y (+.f64 y x))) (*.f64 y (/.f64 y (+.f64 y x))) (*.f64 (*.f64 x (/.f64 x (+.f64 y x))) (*.f64 y (/.f64 y (+.f64 y x)))))))
(/.f64 (-.f64 (pow.f64 (/.f64 (pow.f64 x #s(literal 3 binary64)) (fma.f64 (+.f64 y x) y (*.f64 x x))) #s(literal 3 binary64)) (pow.f64 (/.f64 (pow.f64 y #s(literal 3 binary64)) (fma.f64 (+.f64 y x) y (*.f64 x x))) #s(literal 3 binary64))) (fma.f64 (/.f64 (pow.f64 x #s(literal 3 binary64)) (fma.f64 (+.f64 y x) y (*.f64 x x))) (/.f64 (pow.f64 x #s(literal 3 binary64)) (fma.f64 (+.f64 y x) y (*.f64 x x))) (fma.f64 (/.f64 (pow.f64 y #s(literal 3 binary64)) (fma.f64 (+.f64 y x) y (*.f64 x x))) (/.f64 (pow.f64 y #s(literal 3 binary64)) (fma.f64 (+.f64 y x) y (*.f64 x x))) (*.f64 (/.f64 (pow.f64 x #s(literal 3 binary64)) (fma.f64 (+.f64 y x) y (*.f64 x x))) (/.f64 (pow.f64 y #s(literal 3 binary64)) (fma.f64 (+.f64 y x) y (*.f64 x x)))))))
(/.f64 (neg.f64 (*.f64 (neg.f64 (+.f64 y x)) (-.f64 x y))) (neg.f64 (neg.f64 (+.f64 y x))))
(/.f64 (neg.f64 (neg.f64 (-.f64 (pow.f64 x #s(literal 3 binary64)) (pow.f64 y #s(literal 3 binary64))))) (neg.f64 (neg.f64 (fma.f64 (+.f64 y x) y (*.f64 x x)))))
(/.f64 (-.f64 (*.f64 (*.f64 x x) (+.f64 y x)) (*.f64 (+.f64 y x) (*.f64 y y))) (*.f64 (+.f64 y x) (+.f64 y x)))
(/.f64 (-.f64 (*.f64 (pow.f64 x #s(literal 3 binary64)) (fma.f64 (+.f64 y x) y (*.f64 x x))) (*.f64 (fma.f64 (+.f64 y x) y (*.f64 x x)) (pow.f64 y #s(literal 3 binary64)))) (*.f64 (fma.f64 (+.f64 y x) y (*.f64 x x)) (fma.f64 (+.f64 y x) y (*.f64 x x))))
(/.f64 (-.f64 (pow.f64 x #s(literal 4 binary64)) (pow.f64 y #s(literal 4 binary64))) (*.f64 (fma.f64 y y (*.f64 x x)) (+.f64 y x)))
(/.f64 (-.f64 (pow.f64 x #s(literal 9 binary64)) (pow.f64 y #s(literal 9 binary64))) (*.f64 (+.f64 (+.f64 (pow.f64 (*.f64 y x) #s(literal 3 binary64)) (pow.f64 y #s(literal 6 binary64))) (pow.f64 x #s(literal 6 binary64))) (fma.f64 (+.f64 y x) y (*.f64 x x))))
(/.f64 (-.f64 (pow.f64 x #s(literal 6 binary64)) (pow.f64 y #s(literal 6 binary64))) (*.f64 (fma.f64 (*.f64 y y) (fma.f64 y y (*.f64 x x)) (pow.f64 x #s(literal 4 binary64))) (+.f64 y x)))
(/.f64 (-.f64 (pow.f64 x #s(literal 6 binary64)) (pow.f64 y #s(literal 6 binary64))) (*.f64 (+.f64 (pow.f64 y #s(literal 3 binary64)) (pow.f64 x #s(literal 3 binary64))) (fma.f64 (+.f64 y x) y (*.f64 x x))))
(/.f64 (*.f64 (neg.f64 (+.f64 y x)) (-.f64 x y)) (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 (+.f64 y x) y (*.f64 x x))))
(/.f64 (*.f64 (+.f64 y x) (-.f64 x y)) (+.f64 y x))
(/.f64 (-.f64 (pow.f64 x #s(literal 3 binary64)) (pow.f64 y #s(literal 3 binary64))) (fma.f64 (+.f64 y x) y (*.f64 x x)))
(neg.f64 (/.f64 (*.f64 (neg.f64 (+.f64 y x)) (-.f64 x y)) (+.f64 y x)))
(neg.f64 (/.f64 (neg.f64 (-.f64 (pow.f64 x #s(literal 3 binary64)) (pow.f64 y #s(literal 3 binary64)))) (fma.f64 (+.f64 y x) y (*.f64 x x))))
(neg.f64 (/.f64 (*.f64 (+.f64 y x) (-.f64 x y)) (neg.f64 (+.f64 y x))))
(neg.f64 (/.f64 (-.f64 (pow.f64 x #s(literal 3 binary64)) (pow.f64 y #s(literal 3 binary64))) (neg.f64 (fma.f64 (+.f64 y x) y (*.f64 x x)))))
(fma.f64 (/.f64 (*.f64 x x) (+.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 (neg.f64 y) y) (+.f64 y x)))
(fma.f64 (/.f64 (*.f64 x x) (*.f64 (+.f64 y x) (-.f64 x y))) (-.f64 x y) (/.f64 (*.f64 (neg.f64 y) y) (+.f64 y x)))
(fma.f64 (neg.f64 x) (/.f64 (neg.f64 x) (+.f64 y x)) (/.f64 (*.f64 (neg.f64 y) y) (+.f64 y x)))
(fma.f64 (fabs.f64 x) (/.f64 (fabs.f64 x) (+.f64 y x)) (/.f64 (*.f64 (neg.f64 y) y) (+.f64 y x)))
(fma.f64 x (/.f64 x (+.f64 y x)) (/.f64 (*.f64 (neg.f64 y) y) (+.f64 y x)))
(-.f64 (*.f64 x (/.f64 x (+.f64 y x))) (*.f64 y (/.f64 y (+.f64 y x))))
(-.f64 (/.f64 (pow.f64 x #s(literal 3 binary64)) (fma.f64 (+.f64 y x) y (*.f64 x x))) (/.f64 (pow.f64 y #s(literal 3 binary64)) (fma.f64 (+.f64 y x) y (*.f64 x x))))
(-.f64 x y)
(+.f64 (*.f64 x (/.f64 x (+.f64 y x))) (/.f64 (*.f64 (neg.f64 y) y) (+.f64 y x)))

eval9.0ms (0.5%)

Memory
-32.0MiB live, 13.2MiB allocated; 6ms collecting garbage
Compiler

Compiled 1 323 to 221 computations (83.3% saved)

prune2.0ms (0.1%)

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

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New54256
Fresh000
Picked011
Done000
Total54357
Accuracy
100.0%
Counts
57 → 3
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
(*.f64 #s(literal 500 binary64) (-.f64 x y))
54.3%
#s(approx (* 500 (- x y)) (*.f64 #s(literal 500 binary64) x))
48.0%
#s(approx (* 500 (- x y)) (*.f64 #s(literal -500 binary64) y))
Compiler

Compiled 23 to 21 computations (8.7% saved)

simplify5.0ms (0.3%)

Memory
7.9MiB live, 7.9MiB allocated; 0ms collecting garbage
Localize:

Found 4 expressions of interest:

NewMetricScoreProgram
cost-diff0
(*.f64 #s(literal 500 binary64) x)
cost-diff0
#s(approx (* 500 (- x y)) (*.f64 #s(literal 500 binary64) x))
cost-diff0
(*.f64 #s(literal -500 binary64) y)
cost-diff0
#s(approx (* 500 (- x y)) (*.f64 #s(literal -500 binary64) y))
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01028
01228
11528
01528
Stop Event
iter limit
saturated
iter limit
Calls
Call 1
Inputs
#s(approx (* 500 (- x y)) (*.f64 #s(literal -500 binary64) y))
(*.f64 #s(literal -500 binary64) y)
#s(literal -500 binary64)
y
#s(approx (* 500 (- x y)) (*.f64 #s(literal 500 binary64) x))
(*.f64 #s(literal 500 binary64) x)
#s(literal 500 binary64)
x
Outputs
#s(approx (* 500 (- x y)) (*.f64 #s(literal -500 binary64) y))
(*.f64 #s(literal -500 binary64) y)
#s(literal -500 binary64)
y
#s(approx (* 500 (- x y)) (*.f64 #s(literal 500 binary64) x))
#s(approx (* 500 (- x y)) (*.f64 x #s(literal 500 binary64)))
(*.f64 #s(literal 500 binary64) x)
(*.f64 x #s(literal 500 binary64))
#s(literal 500 binary64)
x

localize22.0ms (1.3%)

Memory
8.0MiB live, 54.1MiB allocated; 3ms collecting garbage
Localize:

Found 4 expressions of interest:

NewMetricScoreProgram
accuracy0.0
(*.f64 #s(literal 500 binary64) x)
accuracy29.26399806392983
#s(approx (* 500 (- x y)) (*.f64 #s(literal 500 binary64) x))
accuracy0.0
(*.f64 #s(literal -500 binary64) y)
accuracy33.268190874294945
#s(approx (* 500 (- x y)) (*.f64 #s(literal -500 binary64) y))
Samples
16.0ms255×0valid
0.0ms1valid
Compiler

Compiled 22 to 10 computations (54.5% saved)

Precisions
Click to see histograms. Total time spent on operations: 9.0ms
ival-mult: 7.0ms (74.5% of total)
ival-sub: 1.0ms (10.6% of total)
adjust: 0.0ms (0% of total)
ival-assert: 0.0ms (0% of total)
ival-true: 0.0ms (0% of total)
exact: 0.0ms (0% of total)

series3.0ms (0.2%)

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

6 calls:

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

simplify198.0ms (11.7%)

Memory
11.7MiB live, 245.8MiB allocated; 31ms collecting garbage
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
02441
16631
218631
343031
4124731
5314431
6626931
0846031
Stop Event
iter limit
node limit
Counts
7 → 7
Calls
Call 1
Inputs
(* -500 y)
(+ (* -500 y) (* 500 x))
(* 500 x)
(* x (+ 500 (* -500 (/ y x))))
(* -1 (* x (- (* 500 (/ y x)) 500)))
(* y (- (* 500 (/ x y)) 500))
(* -1 (* y (+ 500 (* -500 (/ x y)))))
Outputs
(* -500 y)
(*.f64 #s(literal -500 binary64) y)
(+ (* -500 y) (* 500 x))
(*.f64 (-.f64 y x) #s(literal -500 binary64))
(* 500 x)
(*.f64 x #s(literal 500 binary64))
(* x (+ 500 (* -500 (/ y x))))
(*.f64 (-.f64 y x) #s(literal -500 binary64))
(* -1 (* x (- (* 500 (/ y x)) 500)))
(*.f64 (-.f64 y x) #s(literal -500 binary64))
(* y (- (* 500 (/ x y)) 500))
(*.f64 (-.f64 y x) #s(literal -500 binary64))
(* -1 (* y (+ 500 (* -500 (/ x y)))))
(*.f64 (-.f64 y x) #s(literal -500 binary64))

rewrite99.0ms (5.9%)

Memory
16.0MiB live, 98.8MiB allocated; 23ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01024
01224
12824
213524
0123824
Stop Event
iter limit
iter limit
node limit
iter limit
Counts
4 → 6
Calls
Call 1
Inputs
#s(approx (* 500 (- x y)) (*.f64 #s(literal -500 binary64) y))
(*.f64 #s(literal -500 binary64) y)
#s(approx (* 500 (- x y)) (*.f64 #s(literal 500 binary64) x))
(*.f64 #s(literal 500 binary64) x)
Outputs
#s(approx (* 500 (- x y)) (*.f64 #s(literal -500 binary64) y))
(*.f64 #s(literal -500 binary64) y)
(*.f64 y #s(literal -500 binary64))
#s(approx (* 500 (- x y)) (*.f64 x #s(literal 500 binary64)))
(*.f64 x #s(literal 500 binary64))
(*.f64 #s(literal 500 binary64) x)

eval1.0ms (0.1%)

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

Compiled 78 to 21 computations (73.1% saved)

prune10.0ms (0.6%)

Memory
-35.3MiB live, 7.9MiB allocated; 11ms collecting garbage
Pruning

3 alts after pruning (0 fresh and 3 done)

PrunedKeptTotal
New808
Fresh000
Picked022
Done011
Total8311
Accuracy
100.0%
Counts
11 → 3
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
(*.f64 #s(literal 500 binary64) (-.f64 x y))
54.3%
#s(approx (* 500 (- x y)) (*.f64 #s(literal 500 binary64) x))
48.0%
#s(approx (* 500 (- x y)) (*.f64 #s(literal -500 binary64) y))
Compiler

Compiled 46 to 34 computations (26.1% saved)

regimes7.0ms (0.4%)

Memory
24.0MiB live, 24.0MiB allocated; 0ms collecting garbage
Counts
3 → 1
Calls
Call 1
Inputs
#s(approx (* 500 (- x y)) (*.f64 #s(literal -500 binary64) y))
#s(approx (* 500 (- x y)) (*.f64 #s(literal 500 binary64) x))
(*.f64 #s(literal 500 binary64) (-.f64 x y))
Outputs
(*.f64 #s(literal 500 binary64) (-.f64 x y))
Calls

4 calls:

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

Compiled 10 to 12 computations (-20% saved)

regimes6.0ms (0.3%)

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

4 calls:

1.0ms
(*.f64 #s(literal 500 binary64) (-.f64 x y))
1.0ms
(-.f64 x y)
1.0ms
y
1.0ms
x
Results
AccuracySegmentsBranch
63.2%5(-.f64 x y)
63.2%5(*.f64 #s(literal 500 binary64) (-.f64 x y))
77.2%3x
74.1%3y
Compiler

Compiled 10 to 12 computations (-20% saved)

regimes53.0ms (3.1%)

Memory
-31.7MiB live, 27.5MiB allocated; 55ms collecting garbage
Accuracy

Total -0.0b remaining (-0%)

Threshold costs -0b (-0%)

Counts
1 → 1
Calls
Call 1
Inputs
#s(approx (* 500 (- x y)) (*.f64 #s(literal -500 binary64) y))
Outputs
#s(approx (* 500 (- x y)) (*.f64 #s(literal -500 binary64) y))
Calls

4 calls:

49.0ms
x
1.0ms
(*.f64 #s(literal 500 binary64) (-.f64 x y))
1.0ms
y
1.0ms
(-.f64 x y)
Results
AccuracySegmentsBranch
48.0%1(-.f64 x y)
48.0%1(*.f64 #s(literal 500 binary64) (-.f64 x y))
48.0%1y
48.0%1x
Compiler

Compiled 10 to 12 computations (-20% saved)

bsearch29.0ms (1.7%)

Memory
12.6MiB live, 62.0MiB allocated; 7ms collecting garbage
Algorithm
binary-search
Stop Event
narrow-enough
narrow-enough
Steps
TimeLeftRight
21.0ms
45328385903.18725
161360858493288830.0
6.0ms
-3.5971208250030386e-107
-1.0006491975221837e-107
Samples
19.0ms224×0valid
Compiler

Compiled 260 to 262 computations (-0.8% saved)

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

simplify13.0ms (0.8%)

Memory
-12.3MiB live, 33.2MiB allocated; 3ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01841
12441
22941
33041
Stop Event
saturated
Calls
Call 1
Inputs
(*.f64 #s(literal 500 binary64) (-.f64 x y))
(if (<=.f64 x #s(literal -5784239726914675/165263992197562149737978827008192759957101170741070304821162198818601447809077836456297302609928821211897803006255839576064 binary64)) #s(approx (* 500 (- x y)) (*.f64 #s(literal 500 binary64) x)) (if (<=.f64 x #s(literal 2400000000000 binary64)) #s(approx (* 500 (- x y)) (*.f64 #s(literal -500 binary64) y)) #s(approx (* 500 (- x y)) (*.f64 #s(literal 500 binary64) x))))
#s(approx (* 500 (- x y)) (*.f64 #s(literal -500 binary64) y))
Outputs
(*.f64 #s(literal 500 binary64) (-.f64 x y))
(if (<=.f64 x #s(literal -5784239726914675/165263992197562149737978827008192759957101170741070304821162198818601447809077836456297302609928821211897803006255839576064 binary64)) #s(approx (* 500 (- x y)) (*.f64 #s(literal 500 binary64) x)) (if (<=.f64 x #s(literal 2400000000000 binary64)) #s(approx (* 500 (- x y)) (*.f64 #s(literal -500 binary64) y)) #s(approx (* 500 (- x y)) (*.f64 #s(literal 500 binary64) x))))
(if (or (<=.f64 x #s(literal -5784239726914675/165263992197562149737978827008192759957101170741070304821162198818601447809077836456297302609928821211897803006255839576064 binary64)) (not (<=.f64 x #s(literal 2400000000000 binary64)))) #s(approx (* 500 (- x y)) (*.f64 #s(literal 500 binary64) x)) #s(approx (* 500 (- x y)) (*.f64 #s(literal -500 binary64) y)))
#s(approx (* 500 (- x y)) (*.f64 #s(literal -500 binary64) y))

derivations88.0ms (5.2%)

Memory
-22.7MiB live, 74.5MiB allocated; 18ms collecting garbage
Stop Event
done
Compiler

Compiled 41 to 20 computations (51.2% saved)

preprocess16.0ms (1%)

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

Compiled 92 to 50 computations (45.7% saved)

end0.0ms (0%)

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

Profiling

Loading profile data...