Numeric.LinearAlgebra.Util:formatSparse from hmatrix-0.16.1.5

Time bar (total: 803.0ms)

start0.0ms (0%)

Memory
0.1MiB live, 0.0MiB allocated

analyze12.0ms (1.5%)

Memory
17.1MiB live, 17.1MiB allocated
Algorithm
search
Search
ProbabilityValidUnknownPreconditionInfiniteDomainCan'tIter
0%0%99.9%0.1%0%0%0%0
0%0%99.9%0.1%0%0%0%1
0%0%99.9%0.1%0%0%0%2
50%50%50%0.1%0%0%0%3
50%50%50%0.1%0%0%0%4
75%74.9%25%0.1%0%0%0%5
75%74.9%25%0.1%0%0%0%6
87.5%87.4%12.5%0.1%0%0%0%7
87.5%87.4%12.5%0.1%0%0%0%8
93.8%93.7%6.2%0.1%0%0%0%9
93.8%93.7%6.2%0.1%0%0%0%10
96.9%96.8%3.1%0.1%0%0%0%11
96.9%96.8%3.1%0.1%0%0%0%12
Compiler

Compiled 9 to 8 computations (11.1% saved)

sample628.0ms (78.2%)

Memory
18.2MiB live, 1 080.1MiB allocated
Samples
407.0ms8 256×0valid
Precisions
Click to see histograms. Total time spent on operations: 226.0ms
ival-fabs: 93.0ms (41.1% of total)
ival-sub: 65.0ms (28.7% of total)
ival-div: 59.0ms (26% of total)
ival-true: 6.0ms (2.6% of total)
ival-assert: 3.0ms (1.3% of total)
Bogosity

explain68.0ms (8.5%)

Memory
-0.3MiB live, 123.0MiB allocated
FPErrors
Click to see full error table
Ground TruthOverpredictionsExampleUnderpredictionsExampleSubexpression
00-0-y
00-0-(fabs.f64 (-.f64 x y))
00-0-(fabs.f64 y)
00-0-(/.f64 (fabs.f64 (-.f64 x y)) (fabs.f64 y))
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
27.0ms512×0valid
Compiler

Compiled 65 to 28 computations (56.9% saved)

Precisions
Click to see histograms. Total time spent on operations: 15.0ms
ival-div: 6.0ms (40.1% of total)
ival-fabs: 5.0ms (33.4% of total)
ival-sub: 3.0ms (20% of total)
ival-true: 0.0ms (0% of total)
ival-assert: 0.0ms (0% of total)

preprocess6.0ms (0.7%)

Memory
-29.8MiB live, 8.5MiB allocated
Algorithm
egg-herbie
Calls
Call 1
Inputs
(/.f64 (fabs.f64 (-.f64 x y)) (fabs.f64 y))
Outputs
(/.f64 (fabs.f64 (-.f64 x y)) (fabs.f64 y))
Compiler

Compiled 7 to 6 computations (14.3% saved)

eval0.0ms (0%)

Memory
0.2MiB live, 0.2MiB allocated
Compiler

Compiled 0 to 2 computations (-∞% saved)

prune0.0ms (0%)

Memory
1.0MiB live, 1.0MiB allocated
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
(/.f64 (fabs.f64 (-.f64 x y)) (fabs.f64 y))
Compiler

Compiled 7 to 6 computations (14.3% saved)

simplify0.0ms (0%)

Memory
0.9MiB live, 0.9MiB allocated
Algorithm
egg-herbie
Localize:

Found 4 expressions of interest:

NewMetricScoreProgram
cost-diff0
(fabs.f64 y)
cost-diff0
(-.f64 x y)
cost-diff0
(fabs.f64 (-.f64 x y))
cost-diff0
(/.f64 (fabs.f64 (-.f64 x y)) (fabs.f64 y))
Calls
Call 1
Inputs
(/.f64 (fabs.f64 (-.f64 x y)) (fabs.f64 y))
(fabs.f64 (-.f64 x y))
(-.f64 x y)
x
y
(fabs.f64 y)
Outputs
(/.f64 (fabs.f64 (-.f64 x y)) (fabs.f64 y))
(fabs.f64 (-.f64 x y))
(-.f64 x y)
x
y
(fabs.f64 y)

localize20.0ms (2.5%)

Memory
7.8MiB live, 46.0MiB allocated
Localize:

Found 4 expressions of interest:

NewMetricScoreProgram
accuracy0.0
(-.f64 x y)
accuracy0.0
(fabs.f64 (-.f64 x y))
accuracy0.0
(fabs.f64 y)
accuracy0.015625
(/.f64 (fabs.f64 (-.f64 x y)) (fabs.f64 y))
Samples
15.0ms256×0valid
Compiler

Compiled 38 to 14 computations (63.2% saved)

Precisions
Click to see histograms. Total time spent on operations: 8.0ms
ival-sub: 4.0ms (49.3% of total)
ival-fabs: 3.0ms (37% of total)
ival-div: 2.0ms (24.7% of total)
ival-true: 0.0ms (0% of total)
ival-assert: 0.0ms (0% of total)

series4.0ms (0.5%)

Memory
10.1MiB live, 10.1MiB allocated
Counts
4 → 15
Calls
Call 1
Inputs
(/.f64 (fabs.f64 (-.f64 x y)) (fabs.f64 y))
(fabs.f64 (-.f64 x y))
(-.f64 x y)
(fabs.f64 y)
Outputs
(/ (fabs (- x y)) (fabs y))
(fabs (- x y))
(* -1 y)
(- x y)
x
(* x (+ 1 (* -1 (/ y x))))
(/ (fabs (neg (+ y (* -1 x)))) (fabs y))
(fabs (neg (+ y (* -1 x))))
(* -1 (* x (- (/ y x) 1)))
(+ x (* -1 y))
(fabs y)
(* y (- (/ x y) 1))
(/ (fabs (+ x (* -1 y))) (fabs y))
(fabs (+ x (* -1 y)))
(* -1 (* y (+ 1 (* -1 (/ x y)))))
Calls

6 calls:

TimeVariablePointExpression
1.0ms
y
@inf
((/ (fabs (- x y)) (fabs y)) (fabs (- x y)) (- x y) (fabs y))
1.0ms
x
@inf
((/ (fabs (- x y)) (fabs y)) (fabs (- x y)) (- x y) (fabs y))
1.0ms
y
@-inf
((/ (fabs (- x y)) (fabs y)) (fabs (- x y)) (- x y) (fabs y))
1.0ms
x
@-inf
((/ (fabs (- x y)) (fabs y)) (fabs (- x y)) (- x y) (fabs y))
1.0ms
x
@0
((/ (fabs (- x y)) (fabs y)) (fabs (- x y)) (- x y) (fabs y))

simplify0.0ms (0%)

Memory
0.6MiB live, 0.6MiB allocated
Algorithm
egg-herbie
Counts
15 → 4
Calls
Call 1
Inputs
(/ (fabs (- x y)) (fabs y))
(fabs (- x y))
(* -1 y)
(- x y)
x
(* x (+ 1 (* -1 (/ y x))))
(/ (fabs (neg (+ y (* -1 x)))) (fabs y))
(fabs (neg (+ y (* -1 x))))
(* -1 (* x (- (/ y x) 1)))
(+ x (* -1 y))
(fabs y)
(* y (- (/ x y) 1))
(/ (fabs (+ x (* -1 y))) (fabs y))
(fabs (+ x (* -1 y)))
(* -1 (* y (+ 1 (* -1 (/ x y)))))
Outputs
(/ (fabs (- x y)) (fabs y))
(/.f64 (fabs.f64 (-.f64 x y)) (fabs.f64 y))
(fabs (- x y))
(fabs.f64 (-.f64 x y))
(* -1 y)
(-.f64 x y)
(- x y)
(fabs.f64 y)

rewrite0.0ms (0%)

Memory
0.7MiB live, 0.7MiB allocated
Counts
4 → 4
Calls
Call 1
Inputs
(/.f64 (fabs.f64 (-.f64 x y)) (fabs.f64 y))
(fabs.f64 (-.f64 x y))
(-.f64 x y)
(fabs.f64 y)
Outputs
(/.f64 (fabs.f64 (-.f64 x y)) (fabs.f64 y))
(fabs.f64 (-.f64 x y))
(-.f64 x y)
(fabs.f64 y)

eval1.0ms (0.1%)

Memory
1.8MiB live, 1.8MiB allocated
Compiler

Compiled 76 to 19 computations (75% saved)

prune1.0ms (0.1%)

Memory
2.4MiB live, 2.4MiB allocated
Pruning

2 alts after pruning (1 fresh and 1 done)

PrunedKeptTotal
New718
Fresh000
Picked011
Done000
Total729
Accuracy
100.0%
Counts
9 → 2
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
(/.f64 (fabs.f64 (-.f64 x y)) (fabs.f64 y))
52.5%
(/.f64 (fabs.f64 #s(approx (- x y) (fabs.f64 y))) (fabs.f64 y))
Compiler

Compiled 17 to 13 computations (23.5% saved)

simplify0.0ms (0%)

Memory
0.6MiB live, 0.6MiB allocated
Algorithm
egg-herbie
Localize:

Found 4 expressions of interest:

NewMetricScoreProgram
cost-diff0
(fabs.f64 y)
cost-diff0
#s(approx (- x y) (fabs.f64 y))
cost-diff0
(fabs.f64 #s(approx (- x y) (fabs.f64 y)))
cost-diff0
(/.f64 (fabs.f64 #s(approx (- x y) (fabs.f64 y))) (fabs.f64 y))
Calls
Call 1
Inputs
(/.f64 (fabs.f64 #s(approx (- x y) (fabs.f64 y))) (fabs.f64 y))
(fabs.f64 #s(approx (- x y) (fabs.f64 y)))
#s(approx (- x y) (fabs.f64 y))
(fabs.f64 y)
y
Outputs
(/.f64 (fabs.f64 #s(approx (- x y) (fabs.f64 y))) (fabs.f64 y))
(fabs.f64 #s(approx (- x y) (fabs.f64 y)))
#s(approx (- x y) (fabs.f64 y))
(fabs.f64 y)
y

localize22.0ms (2.8%)

Memory
-20.1MiB live, 32.0MiB allocated
Localize:

Found 4 expressions of interest:

NewMetricScoreProgram
accuracy0.0
(fabs.f64 #s(approx (- x y) (fabs.f64 y)))
accuracy0.0
(fabs.f64 y)
accuracy0.015625
(/.f64 (fabs.f64 #s(approx (- x y) (fabs.f64 y))) (fabs.f64 y))
accuracy47.81419381306874
#s(approx (- x y) (fabs.f64 y))
Samples
17.0ms256×0valid
Compiler

Compiled 45 to 15 computations (66.7% saved)

Precisions
Click to see histograms. Total time spent on operations: 11.0ms
ival-div: 7.0ms (63% of total)
ival-sub: 2.0ms (18% of total)
ival-fabs: 2.0ms (18% of total)
ival-true: 0.0ms (0% of total)
ival-assert: 0.0ms (0% of total)

series2.0ms (0.2%)

Memory
3.1MiB live, 3.1MiB allocated
Counts
4 → 15
Calls
Call 1
Inputs
(/.f64 (fabs.f64 #s(approx (- x y) (fabs.f64 y))) (fabs.f64 y))
(fabs.f64 #s(approx (- x y) (fabs.f64 y)))
#s(approx (- x y) (fabs.f64 y))
(fabs.f64 y)
Outputs
(/ (fabs (- x y)) (fabs y))
(fabs (- x y))
(* -1 y)
(- x y)
x
(* x (+ 1 (* -1 (/ y x))))
(/ (fabs (neg (+ y (* -1 x)))) (fabs y))
(fabs (neg (+ y (* -1 x))))
(* -1 (* x (- (/ y x) 1)))
(+ x (* -1 y))
(fabs y)
(* y (- (/ x y) 1))
(/ (fabs (+ x (* -1 y))) (fabs y))
(fabs (+ x (* -1 y)))
(* -1 (* y (+ 1 (* -1 (/ x y)))))
Calls

6 calls:

TimeVariablePointExpression
0.0ms
y
@inf
((/ (fabs (- x y)) (fabs y)) (fabs (- x y)) (- x y) (fabs y))
0.0ms
y
@-inf
((/ (fabs (- x y)) (fabs y)) (fabs (- x y)) (- x y) (fabs y))
0.0ms
x
@inf
((/ (fabs (- x y)) (fabs y)) (fabs (- x y)) (- x y) (fabs y))
0.0ms
x
@-inf
((/ (fabs (- x y)) (fabs y)) (fabs (- x y)) (- x y) (fabs y))
0.0ms
x
@0
((/ (fabs (- x y)) (fabs y)) (fabs (- x y)) (- x y) (fabs y))

simplify0.0ms (0%)

Memory
0.5MiB live, 0.5MiB allocated
Algorithm
egg-herbie
Counts
15 → 4
Calls
Call 1
Inputs
(/ (fabs (- x y)) (fabs y))
(fabs (- x y))
(* -1 y)
(- x y)
x
(* x (+ 1 (* -1 (/ y x))))
(/ (fabs (neg (+ y (* -1 x)))) (fabs y))
(fabs (neg (+ y (* -1 x))))
(* -1 (* x (- (/ y x) 1)))
(+ x (* -1 y))
(fabs y)
(* y (- (/ x y) 1))
(/ (fabs (+ x (* -1 y))) (fabs y))
(fabs (+ x (* -1 y)))
(* -1 (* y (+ 1 (* -1 (/ x y)))))
Outputs
(/ (fabs (- x y)) (fabs y))
(/.f64 (fabs.f64 #s(approx (- x y) (fabs.f64 y))) (fabs.f64 y))
(fabs (- x y))
(fabs.f64 #s(approx (- x y) (fabs.f64 y)))
(* -1 y)
#s(approx (- x y) (fabs.f64 y))
(- x y)
(fabs.f64 y)

rewrite0.0ms (0%)

Memory
0.6MiB live, 0.6MiB allocated
Counts
4 → 4
Calls
Call 1
Inputs
(/.f64 (fabs.f64 #s(approx (- x y) (fabs.f64 y))) (fabs.f64 y))
(fabs.f64 #s(approx (- x y) (fabs.f64 y)))
#s(approx (- x y) (fabs.f64 y))
(fabs.f64 y)
Outputs
(/.f64 (fabs.f64 #s(approx (- x y) (fabs.f64 y))) (fabs.f64 y))
(fabs.f64 #s(approx (- x y) (fabs.f64 y)))
#s(approx (- x y) (fabs.f64 y))
(fabs.f64 y)

eval1.0ms (0.1%)

Memory
1.5MiB live, 1.5MiB allocated
Compiler

Compiled 97 to 16 computations (83.5% saved)

prune2.0ms (0.3%)

Memory
3.4MiB live, 3.4MiB allocated
Pruning

2 alts after pruning (0 fresh and 2 done)

PrunedKeptTotal
New808
Fresh000
Picked011
Done011
Total8210
Accuracy
100.0%
Counts
10 → 2
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
(/.f64 (fabs.f64 (-.f64 x y)) (fabs.f64 y))
52.5%
(/.f64 (fabs.f64 #s(approx (- x y) (fabs.f64 y))) (fabs.f64 y))
Compiler

Compiled 34 to 23 computations (32.4% saved)

regimes4.0ms (0.5%)

Memory
8.2MiB live, 8.2MiB allocated
Counts
2 → 1
Calls
Call 1
Inputs
(/.f64 (fabs.f64 #s(approx (- x y) (fabs.f64 y))) (fabs.f64 y))
(/.f64 (fabs.f64 (-.f64 x y)) (fabs.f64 y))
Outputs
(/.f64 (fabs.f64 (-.f64 x y)) (fabs.f64 y))
Calls

3 calls:

1.0ms
x
1.0ms
y
1.0ms
(/.f64 (fabs.f64 (-.f64 x y)) (fabs.f64 y))
Results
AccuracySegmentsBranch
100.0%1x
100.0%1y
100.0%1(/.f64 (fabs.f64 (-.f64 x y)) (fabs.f64 y))
Compiler

Compiled 9 to 10 computations (-11.1% saved)

regimes6.0ms (0.8%)

Memory
-30.2MiB live, 7.6MiB allocated
Accuracy

Total 0.0b remaining (0%)

Threshold costs 0b (0%)

Counts
1 → 1
Calls
Call 1
Inputs
(/.f64 (fabs.f64 #s(approx (- x y) (fabs.f64 y))) (fabs.f64 y))
Outputs
(/.f64 (fabs.f64 #s(approx (- x y) (fabs.f64 y))) (fabs.f64 y))
Calls

3 calls:

4.0ms
(/.f64 (fabs.f64 (-.f64 x y)) (fabs.f64 y))
1.0ms
y
1.0ms
x
Results
AccuracySegmentsBranch
52.5%1x
52.5%1y
52.5%1(/.f64 (fabs.f64 (-.f64 x y)) (fabs.f64 y))
Compiler

Compiled 9 to 10 computations (-11.1% saved)

simplify4.0ms (0.5%)

Memory
8.1MiB live, 8.1MiB allocated
Algorithm
egg-herbie
Calls
Call 1
Inputs
(/.f64 (fabs.f64 (-.f64 x y)) (fabs.f64 y))
(/.f64 (fabs.f64 #s(approx (- x y) (fabs.f64 y))) (fabs.f64 y))
Outputs
(/.f64 (fabs.f64 (-.f64 x y)) (fabs.f64 y))
(/.f64 (fabs.f64 #s(approx (- x y) (fabs.f64 y))) (fabs.f64 y))

soundness0.0ms (0.1%)

Memory
0.8MiB live, 0.8MiB allocated
Stop Event
done
Compiler

Compiled 17 to 10 computations (41.2% saved)

preprocess19.0ms (2.3%)

Memory
-10.5MiB live, 27.0MiB allocated
Compiler

Compiled 48 to 32 computations (33.3% saved)

end0.0ms (0%)

Memory
0.0MiB live, 0.0MiB allocated

Profiling

Loading profile data...