Numeric.LinearAlgebra.Util:formatSparse from hmatrix-0.16.1.5

Time bar (total: 823.0ms)

start0.0ms (0%)

Memory
0.1MiB live, 0.1MiB allocated

analyze14.0ms (1.7%)

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

sample668.0ms (81.1%)

Memory
10.2MiB live, 1 177.8MiB allocated
Samples
425.0ms8 256×0valid
Precisions
Click to see histograms. Total time spent on operations: 244.0ms
ival-fabs: 112.0ms (45.8% of total)
ival-sub: 65.0ms (26.6% of total)
ival-div: 57.0ms (23.3% of total)
ival-true: 7.0ms (2.9% of total)
ival-assert: 3.0ms (1.2% of total)
Bogosity

explain58.0ms (7%)

Memory
3.8MiB live, 84.7MiB 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
26.0ms512×0valid
Compiler

Compiled 65 to 28 computations (56.9% saved)

Precisions
Click to see histograms. Total time spent on operations: 12.0ms
ival-fabs: 5.0ms (41.3% of total)
ival-sub: 3.0ms (24.8% of total)
ival-div: 3.0ms (24.8% of total)
ival-true: 0.0ms (0% of total)
ival-assert: 0.0ms (0% of total)

preprocess2.0ms (0.3%)

Memory
3.9MiB live, 3.9MiB 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.1MiB live, 0.1MiB allocated
Compiler

Compiled 0 to 2 computations (-∞% saved)

prune0.0ms (0%)

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

localize18.0ms (2.2%)

Memory
-17.8MiB live, 20.2MiB 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.00390625
(/.f64 (fabs.f64 (-.f64 x y)) (fabs.f64 y))
Samples
14.0ms256×0valid
Compiler

Compiled 38 to 14 computations (63.2% saved)

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

series4.0ms (0.5%)

Memory
4.5MiB live, 4.5MiB 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.4MiB live, 0.4MiB 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.5MiB live, 0.5MiB 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.3MiB live, 1.3MiB allocated
Compiler

Compiled 76 to 19 computations (75% saved)

prune1.0ms (0.1%)

Memory
1.7MiB live, 1.7MiB 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))
50.7%
(/.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.5MiB live, 0.5MiB 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

localize17.0ms (2.1%)

Memory
22.8MiB live, 22.8MiB 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.00390625
(/.f64 (fabs.f64 #s(approx (- x y) (fabs.f64 y))) (fabs.f64 y))
accuracy46.82552394319048
#s(approx (- x y) (fabs.f64 y))
Samples
12.0ms256×0valid
Compiler

Compiled 45 to 15 computations (66.7% saved)

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

series3.0ms (0.4%)

Memory
-34.8MiB live, 3.4MiB 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
2.0ms
y
@0
((/ (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
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))

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.2%)

Memory
3.7MiB live, 3.7MiB 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))
50.7%
(/.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.8MiB live, 8.8MiB 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
y
1.0ms
x
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)

regimes3.0ms (0.4%)

Memory
7.9MiB live, 7.9MiB 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:

1.0ms
y
1.0ms
x
1.0ms
(/.f64 (fabs.f64 (-.f64 x y)) (fabs.f64 y))
Results
AccuracySegmentsBranch
50.7%1x
50.7%1y
50.7%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.7MiB live, 8.7MiB 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
-11.3MiB live, 29.4MiB allocated
Compiler

Compiled 48 to 32 computations (33.3% saved)

end0.0ms (0%)

Memory
0.0MiB live, 0.0MiB allocated

Profiling

Loading profile data...