Diagrams.Solve.Tridiagonal:solveCyclicTriDiagonal from diagrams-solve-0.1, A

Time bar (total: 1.7s)

start0.0ms (0%)

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

analyze69.0ms (4%)

Memory
10.2MiB live, 54.2MiB allocated; 10ms collecting garbage
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
0%0%99.9%0.1%0%0%0%3
50%49.9%49.9%0.1%0%0%0%4
50%49.9%49.9%0.1%0%0%0%5
50%49.9%49.9%0.1%0%0%0%6
75%74.9%25%0.1%0%0%0%7
75%74.9%25%0.1%0%0%0%8
75%74.9%25%0.1%0%0%0%9
87.5%87.4%12.5%0.1%0%0%0%10
87.5%87.4%12.5%0.1%0%0%0%11
87.5%87.4%12.5%0.1%0%0%0%12
Compiler

Compiled 7 to 7 computations (0% saved)

sample930.0ms (54.3%)

Memory
60.3MiB live, 1 263.2MiB allocated; 329ms collecting garbage
Samples
488.0ms8 256×0valid
Precisions
Click to see histograms. Total time spent on operations: 217.0ms
ival-mult: 129.0ms (59.5% of total)
ival-div: 77.0ms (35.5% of total)
ival-true: 6.0ms (2.8% of total)
ival-assert: 4.0ms (1.8% of total)
adjust: 2.0ms (0.9% of total)
Bogosity

explain68.0ms (4%)

Memory
15.3MiB live, 71.0MiB allocated; 17ms collecting garbage
FPErrors
Click to see full error table
Ground TruthOverpredictionsExampleUnderpredictionsExampleSubexpression
220-1(5.886413115561579e-103 1.0875490258030844e-215 9.939612138761679e-228)(/.f64 (*.f64 x y) z)
00-0-y
00-0-z
00-0-(*.f64 x y)
00-0-x
Explanations
Click to see full explanations table
OperatorSubexpressionExplanationCount
/.f64(/.f64 (*.f64 x y) z)o/n120
(*.f64 x y)overflow29
/.f64(/.f64 (*.f64 x y) z)u/n90
(*.f64 x y)underflow28
Confusion
Predicted +Predicted -
+211
-0234
Precision
1.0
Recall
0.9545454545454546
Confusion?
Predicted +Predicted MaybePredicted -
+2101
-00234
Precision?
1.0
Recall?
0.9545454545454546
Freqs
test
numberfreq
0235
121
Total Confusion?
Predicted +Predicted MaybePredicted -
+100
-000
Precision?
1.0
Recall?
1.0
Samples
22.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 (48.1% of total)
ival-mult: 4.0ms (48.1% of total)
ival-true: 0.0ms (0% of total)
adjust: 0.0ms (0% of total)
ival-assert: 0.0ms (0% of total)

preprocess56.0ms (3.2%)

Memory
-4.7MiB live, 39.0MiB allocated; 15ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02156
14548
28548
314648
421148
528148
055
075
1105
2135
3145
0145
Stop Event
iter limit
saturated
iter limit
saturated
Calls
Call 1
Inputs
(/.f64 (*.f64 x y) z)
Outputs
(/.f64 (*.f64 x y) z)
(/.f64 (*.f64 y x) z)
Symmetry

(negabs z)

(negabs y)

(negabs x)

(sort x y)

Compiler

Compiled 5 to 5 computations (0% saved)

eval0.0ms (0%)

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

Compiled 0 to 3 computations (-∞% saved)

prune0.0ms (0%)

Memory
0.8MiB live, 0.8MiB allocated; 0ms collecting garbage
Alt Table
Click to see full alt table
StatusAccuracyProgram
91.9%
(/.f64 (*.f64 x y) z)
Compiler

Compiled 5 to 5 computations (0% saved)

simplify4.0ms (0.2%)

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

Found 2 expressions of interest:

NewMetricScoreProgram
cost-diff0
(*.f64 x y)
cost-diff0
(/.f64 (*.f64 x y) z)
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0511
0711
11011
21311
31411
01411
Stop Event
iter limit
saturated
iter limit
Calls
Call 1
Inputs
(/.f64 (*.f64 x y) z)
(*.f64 x y)
x
y
z
Outputs
(/.f64 (*.f64 x y) z)
(/.f64 (*.f64 y x) z)
(*.f64 x y)
(*.f64 y x)
x
y
z

localize43.0ms (2.5%)

Memory
-19.5MiB live, 24.3MiB allocated; 28ms collecting garbage
Localize:

Found 2 expressions of interest:

NewMetricScoreProgram
accuracy0.0
(*.f64 x y)
accuracy5.193461177638164
(/.f64 (*.f64 x y) z)
Samples
38.0ms256×0valid
Compiler

Compiled 13 to 7 computations (46.2% saved)

Precisions
Click to see histograms. Total time spent on operations: 32.0ms
ival-mult: 30.0ms (94.6% of total)
ival-div: 2.0ms (6.3% of total)
ival-true: 0.0ms (0% of total)
adjust: 0.0ms (0% of total)
ival-assert: 0.0ms (0% of total)

series7.0ms (0.4%)

Memory
12.4MiB live, 12.3MiB allocated; 0ms collecting garbage
Counts
2 → 2
Calls
Call 1
Inputs
(/.f64 (*.f64 x y) z)
(*.f64 x y)
Outputs
(/ (* x y) z)
(* x y)
Calls

9 calls:

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

simplify3.0ms (0.2%)

Memory
4.8MiB live, 4.8MiB allocated; 0ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
058
188
2118
3128
0128
Stop Event
iter limit
saturated
Counts
2 → 2
Calls
Call 1
Inputs
(/ (* x y) z)
(* x y)
Outputs
(/ (* x y) z)
(/.f64 (*.f64 y x) z)
(* x y)
(*.f64 y x)

rewrite43.0ms (2.5%)

Memory
-19.6MiB live, 25.5MiB allocated; 9ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
058
078
1138
2308
3658
41018
01018
Stop Event
iter limit
saturated
iter limit
Counts
2 → 16
Calls
Call 1
Inputs
(/.f64 (*.f64 x y) z)
(*.f64 x y)
Outputs
(*.f64 (/.f64 (neg.f64 x) z) (neg.f64 y))
(*.f64 (/.f64 (neg.f64 y) z) (neg.f64 x))
(*.f64 (/.f64 x z) y)
(*.f64 (neg.f64 x) (/.f64 (neg.f64 y) z))
(*.f64 (neg.f64 y) (/.f64 (neg.f64 x) z))
(*.f64 (/.f64 y z) x)
(*.f64 y (/.f64 x z))
(*.f64 x (/.f64 y z))
(/.f64 (*.f64 (neg.f64 x) y) (neg.f64 z))
(/.f64 (*.f64 y x) z)
(neg.f64 (*.f64 (/.f64 (neg.f64 x) z) y))
(*.f64 (neg.f64 x) (neg.f64 y))
(*.f64 (neg.f64 y) (neg.f64 x))
(*.f64 y x)
(*.f64 x y)
(neg.f64 (*.f64 (neg.f64 x) y))

eval2.0ms (0.1%)

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

Compiled 118 to 37 computations (68.6% saved)

prune2.0ms (0.1%)

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

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New16218
Fresh000
Picked011
Done000
Total16319
Accuracy
100.0%
Counts
19 → 3
Alt Table
Click to see full alt table
StatusAccuracyProgram
91.9%
(/.f64 (*.f64 x y) z)
92.1%
(*.f64 (/.f64 y z) x)
91.9%
(*.f64 (/.f64 x z) y)
Compiler

Compiled 15 to 15 computations (0% saved)

simplify3.0ms (0.2%)

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

Found 4 expressions of interest:

NewMetricScoreProgram
cost-diff0
(/.f64 y z)
cost-diff0
(*.f64 (/.f64 y z) x)
cost-diff0
(/.f64 x z)
cost-diff0
(*.f64 (/.f64 x z) y)
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0722
01122
11722
21722
01722
Stop Event
iter limit
saturated
iter limit
Calls
Call 1
Inputs
(*.f64 (/.f64 x z) y)
(/.f64 x z)
x
z
y
(*.f64 (/.f64 y z) x)
(/.f64 y z)
y
z
x
Outputs
(*.f64 (/.f64 x z) y)
(*.f64 y (/.f64 x z))
(/.f64 x z)
x
z
y
(*.f64 (/.f64 y z) x)
(*.f64 y (/.f64 x z))
(/.f64 y z)
y
z
x

localize43.0ms (2.5%)

Memory
-37.9MiB live, 28.8MiB allocated; 27ms collecting garbage
Localize:

Found 4 expressions of interest:

NewMetricScoreProgram
accuracy0.0
(/.f64 y z)
accuracy5.07434491810302
(*.f64 (/.f64 y z) x)
accuracy0.0
(/.f64 x z)
accuracy5.2039317327818
(*.f64 (/.f64 x z) y)
Samples
38.0ms256×0valid
Compiler

Compiled 24 to 9 computations (62.5% saved)

Precisions
Click to see histograms. Total time spent on operations: 28.0ms
ival-div: 24.0ms (85.5% of total)
ival-mult: 3.0ms (10.7% of total)
ival-true: 0.0ms (0% of total)
adjust: 0.0ms (0% of total)
ival-assert: 0.0ms (0% of total)

series6.0ms (0.3%)

Memory
7.8MiB live, 7.8MiB allocated; 0ms collecting garbage
Counts
4 → 3
Calls
Call 1
Inputs
(*.f64 (/.f64 x z) y)
(/.f64 x z)
(*.f64 (/.f64 y z) x)
(/.f64 y z)
Outputs
(/ (* x y) z)
(/ x z)
(/ y z)
Calls

9 calls:

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

simplify3.0ms (0.2%)

Memory
3.6MiB live, 3.6MiB allocated; 0ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0711
1911
21111
31211
01211
Stop Event
iter limit
saturated
Counts
3 → 3
Calls
Call 1
Inputs
(/ (* x y) z)
(/ x z)
(/ y z)
Outputs
(/ (* x y) z)
(/.f64 (*.f64 y x) z)
(/ x z)
(/.f64 x z)
(/ y z)
(/.f64 y z)

rewrite9.0ms (0.5%)

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

Useful iterations: 0 (0.0ms)

IterNodesCost
0716
01116
12216
24716
310016
411616
511616
011616
Stop Event
iter limit
saturated
iter limit
Counts
4 → 28
Calls
Call 1
Inputs
(*.f64 (/.f64 x z) y)
(/.f64 x z)
(*.f64 (/.f64 y z) x)
(/.f64 y z)
Outputs
(*.f64 (/.f64 (neg.f64 x) z) (neg.f64 y))
(*.f64 (/.f64 (neg.f64 y) z) (neg.f64 x))
(*.f64 (neg.f64 x) (/.f64 (neg.f64 y) z))
(*.f64 (neg.f64 y) (/.f64 (neg.f64 x) z))
(*.f64 (/.f64 y z) x)
(*.f64 y (/.f64 x z))
(*.f64 (/.f64 x z) y)
(*.f64 x (/.f64 y z))
(/.f64 (*.f64 y x) z)
(/.f64 (*.f64 (neg.f64 x) y) (neg.f64 z))
(neg.f64 (*.f64 (/.f64 (neg.f64 x) z) y))
(/.f64 (neg.f64 x) (neg.f64 z))
(/.f64 x z)
(neg.f64 (/.f64 (neg.f64 x) z))
(*.f64 (/.f64 (neg.f64 x) z) (neg.f64 y))
(*.f64 (/.f64 (neg.f64 y) z) (neg.f64 x))
(*.f64 (neg.f64 x) (/.f64 (neg.f64 y) z))
(*.f64 (neg.f64 y) (/.f64 (neg.f64 x) z))
(*.f64 (/.f64 y z) x)
(*.f64 y (/.f64 x z))
(*.f64 (/.f64 x z) y)
(*.f64 x (/.f64 y z))
(/.f64 (*.f64 y x) z)
(/.f64 (*.f64 (neg.f64 x) y) (neg.f64 z))
(neg.f64 (*.f64 (/.f64 (neg.f64 x) z) y))
(/.f64 (neg.f64 y) (neg.f64 z))
(/.f64 y z)
(neg.f64 (/.f64 (neg.f64 y) z))

eval2.0ms (0.1%)

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

Compiled 134 to 40 computations (70.1% saved)

prune2.0ms (0.1%)

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

3 alts after pruning (0 fresh and 3 done)

PrunedKeptTotal
New20020
Fresh000
Picked022
Done011
Total20323
Accuracy
100.0%
Counts
23 → 3
Alt Table
Click to see full alt table
StatusAccuracyProgram
91.9%
(/.f64 (*.f64 x y) z)
92.1%
(*.f64 (/.f64 y z) x)
91.9%
(*.f64 (/.f64 x z) y)
Compiler

Compiled 30 to 24 computations (20% saved)

regimes8.0ms (0.5%)

Memory
10.0MiB live, 10.0MiB allocated; 0ms collecting garbage
Counts
3 → 2
Calls
Call 1
Inputs
(*.f64 (/.f64 x z) y)
(*.f64 (/.f64 y z) x)
(/.f64 (*.f64 x y) z)
Outputs
(*.f64 (/.f64 x z) y)
(*.f64 (/.f64 y z) x)
Calls

5 calls:

2.0ms
y
2.0ms
x
1.0ms
(*.f64 x y)
1.0ms
z
1.0ms
(/.f64 (*.f64 x y) z)
Results
AccuracySegmentsBranch
99.8%3(*.f64 x y)
99.8%2(/.f64 (*.f64 x y) z)
96.3%2x
95.3%2y
99.8%2z
Compiler

Compiled 11 to 18 computations (-63.6% saved)

regimes47.0ms (2.7%)

Memory
-36.4MiB live, 9.1MiB allocated; 9ms collecting garbage
Accuracy

Total -0.0b remaining (-0%)

Threshold costs -0b (-0%)

Counts
1 → 1
Calls
Call 1
Inputs
(*.f64 (/.f64 x z) y)
Outputs
(*.f64 (/.f64 x z) y)
Calls

5 calls:

43.0ms
(/.f64 (*.f64 x y) z)
1.0ms
z
1.0ms
x
1.0ms
(*.f64 x y)
1.0ms
y
Results
AccuracySegmentsBranch
91.9%1y
91.9%1x
91.9%1(*.f64 x y)
91.9%1(/.f64 (*.f64 x y) z)
91.9%1z
Compiler

Compiled 11 to 18 computations (-63.6% saved)

bsearch2.0ms (0.1%)

Memory
1.0MiB live, 1.0MiB allocated; 0ms collecting garbage
Algorithm
binary-search
Stop Event
predicate-same
Steps
TimeLeftRight
1.0ms
15.074591042486711
1365385.4724077657
Samples
1.0ms16×0valid
Compiler

Compiled 18 to 23 computations (-27.8% saved)

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

simplify9.0ms (0.5%)

Memory
7.3MiB live, 7.3MiB allocated; 0ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01019
Stop Event
saturated
Calls
Call 1
Inputs
(if (<=.f64 z #s(literal 20 binary64)) (*.f64 (/.f64 x z) y) (*.f64 (/.f64 y z) x))
(*.f64 (/.f64 x z) y)
Outputs
(if (<=.f64 z #s(literal 20 binary64)) (*.f64 (/.f64 x z) y) (*.f64 (/.f64 y z) x))
(*.f64 (/.f64 x z) y)

derivations9.0ms (0.5%)

Memory
5.1MiB live, 5.1MiB allocated; 0ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
058
078
1138
2308
3658
41018
01018
Stop Event
done
iter limit
saturated
iter limit
Compiler

Compiled 19 to 10 computations (47.4% saved)

preprocess345.0ms (20.2%)

Memory
22.4MiB live, 352.1MiB allocated; 97ms collecting garbage
Compiler

Compiled 206 to 140 computations (32% saved)

end0.0ms (0%)

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

Profiling

Loading profile data...