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

Time bar (total: 1.9s)

start0.0ms (0%)

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

analyze56.0ms (3%)

Memory
1.7MiB live, 48.9MiB allocated; 11ms 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)

sample631.0ms (33.9%)

Memory
-0.3MiB live, 988.6MiB allocated; 148ms collecting garbage
Samples
359.0ms8 256×0valid
Precisions
Click to see histograms. Total time spent on operations: 152.0ms
ival-div!: 88.0ms (58% of total)
ival-mult!: 62.0ms (40.8% of total)
adjust: 2.0ms (1.3% of total)
Bogosity

explain790.0ms (42.4%)

Memory
-56.6MiB live, 126.7MiB allocated; 1.1s collecting garbage
FPErrors
Click to see full error table
Ground TruthOverpredictionsExampleUnderpredictionsExampleSubexpression
250-4(-8.439747285809328e-15 1.1821343173234154e-299 -5.056147031175809e-13)(/.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)u/n110
(*.f64 x y)underflow26
/.f64(/.f64 (*.f64 x y) z)o/n100
(*.f64 x y)overflow36
Confusion
Predicted +Predicted -
+214
-0231
Precision
1.0
Recall
0.84
Confusion?
Predicted +Predicted MaybePredicted -
+2104
-00231
Precision?
1.0
Recall?
0.84
Freqs
test
numberfreq
0235
121
Total Confusion?
Predicted +Predicted MaybePredicted -
+100
-000
Precision?
1.0
Recall?
1.0
Samples
31.0ms512×0valid
Compiler

Compiled 31 to 19 computations (38.7% saved)

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

preprocess22.0ms (1.2%)

Memory
-13.9MiB live, 33.5MiB allocated; 3ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02253
14653
28653
314553
421053
528053
Stop Event
saturated
Alt Table
Click to see full alt table
StatusAccuracyProgram
91.4%
(/.f64 (*.f64 x y) z)
Symmetry

(negabs x)

(negabs y)

(negabs z)

(sort x y)

Compiler

Compiled 10 to 10 computations (0% saved)

series11.0ms (0.6%)

Memory
-24.4MiB live, 22.3MiB allocated; 4ms collecting garbage
Counts
5 → 5
Calls
Call 1
Inputs
(/.f64 (*.f64 x y) z)
(*.f64 x y)
x
y
z
Outputs
#s(approx (/ (* x y) z) #s(hole binary64 (/ (* x y) z)))
#s(approx (* x y) #s(hole binary64 (* x y)))
#s(approx x #s(hole binary64 x))
#s(approx y #s(hole binary64 y))
#s(approx z #s(hole binary64 z))
Calls

9 calls:

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

rewrite21.0ms (1.1%)

Memory
-2.8MiB live, 43.6MiB allocated; 4ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01238
01338
11938
23638
37138
410738
010738
Stop Event
iter-limit
saturated
iter-limit
Counts
10 → 24
Calls
Call 1
Inputs
(/.f64 (*.f64 x y) z)
(*.f64 x y)
x
y
z
#s(approx (/ (* x y) z) #s(hole binary64 (/ (* x y) z)))
#s(approx (* x y) #s(hole binary64 (* x y)))
#s(approx x #s(hole binary64 x))
#s(approx y #s(hole binary64 y))
#s(approx z #s(hole binary64 z))
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))
x
y
z
#s(approx (/ (* x y) z) (/.f64 (*.f64 y x) z))
#s(approx (* x y) (*.f64 y x))
#s(approx x x)
#s(approx y y)
#s(approx z z)

eval2.0ms (0.1%)

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

Compiled 134 to 44 computations (67.2% saved)

prune1.0ms (0.1%)

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

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New18220
Fresh000
Picked011
Done000
Total18321
Accuracy
99.9%
Counts
21 → 3
Alt Table
Click to see full alt table
StatusAccuracyProgram
91.4%
(/.f64 (*.f64 x y) z)
93.5%
(*.f64 (/.f64 y z) x)
91.6%
(*.f64 (/.f64 x z) y)
Compiler

Compiled 15 to 15 computations (0% saved)

series7.0ms (0.4%)

Memory
19.5MiB live, 19.5MiB allocated; 0ms collecting garbage
Counts
7 → 7
Calls
Call 1
Inputs
(*.f64 (/.f64 x z) y)
(/.f64 x z)
x
z
y
(*.f64 (/.f64 y z) x)
(/.f64 y z)
Outputs
#s(approx (* (/ x z) y) #s(hole binary64 (/ (* x y) z)))
#s(approx (/ x z) #s(hole binary64 (/ x z)))
#s(approx x #s(hole binary64 x))
#s(approx (* (/ y z) x) #s(hole binary64 (/ (* x y) z)))
#s(approx y #s(hole binary64 y))
#s(approx (/ y z) #s(hole binary64 (/ y z)))
#s(approx z #s(hole binary64 z))
Calls

9 calls:

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

rewrite13.0ms (0.7%)

Memory
-27.3MiB live, 22.1MiB allocated; 6ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02064
02464
13664
25964
311064
411464
011464
Stop Event
iter-limit
saturated
iter-limit
Counts
14 → 38
Calls
Call 1
Inputs
(*.f64 (/.f64 x z) y)
(/.f64 x z)
x
z
y
(*.f64 (/.f64 y z) x)
(/.f64 y z)
#s(approx (* (/ x z) y) #s(hole binary64 (/ (* x y) z)))
#s(approx (/ x z) #s(hole binary64 (/ x z)))
#s(approx x #s(hole binary64 x))
#s(approx (* (/ y z) x) #s(hole binary64 (/ (* x y) z)))
#s(approx y #s(hole binary64 y))
#s(approx (/ y z) #s(hole binary64 (/ y z)))
#s(approx z #s(hole binary64 z))
Outputs
(*.f64 (/.f64 (neg.f64 y) z) (neg.f64 x))
(*.f64 (/.f64 (neg.f64 x) z) (neg.f64 y))
(*.f64 (neg.f64 y) (/.f64 (neg.f64 x) z))
(*.f64 (neg.f64 x) (/.f64 (neg.f64 y) z))
(*.f64 (/.f64 y z) x)
(*.f64 (/.f64 x z) y)
(*.f64 y (/.f64 x z))
(*.f64 x (/.f64 y z))
(/.f64 (*.f64 (neg.f64 y) x) (neg.f64 z))
(/.f64 (*.f64 y x) z)
(neg.f64 (*.f64 (/.f64 (neg.f64 y) z) x))
(/.f64 (neg.f64 x) (neg.f64 z))
(/.f64 x z)
(neg.f64 (/.f64 (neg.f64 x) z))
x
z
y
(*.f64 (/.f64 (neg.f64 y) z) (neg.f64 x))
(*.f64 (/.f64 (neg.f64 x) z) (neg.f64 y))
(*.f64 (neg.f64 y) (/.f64 (neg.f64 x) z))
(*.f64 (neg.f64 x) (/.f64 (neg.f64 y) z))
(*.f64 (/.f64 y z) x)
(*.f64 (/.f64 x z) y)
(*.f64 y (/.f64 x z))
(*.f64 x (/.f64 y z))
(/.f64 (*.f64 (neg.f64 y) x) (neg.f64 z))
(/.f64 (*.f64 y x) z)
(neg.f64 (*.f64 (/.f64 (neg.f64 y) z) x))
(/.f64 (neg.f64 y) (neg.f64 z))
(/.f64 y z)
(neg.f64 (/.f64 (neg.f64 y) z))
#s(approx (* (/ y z) x) (*.f64 (/.f64 x z) y))
#s(approx (/ x z) (/.f64 x z))
#s(approx x x)
#s(approx (* (/ y z) x) (*.f64 (/.f64 x z) y))
#s(approx y y)
#s(approx (/ y z) (/.f64 y z))
#s(approx z z)

eval2.0ms (0.1%)

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

Compiled 156 to 52 computations (66.7% saved)

prune2.0ms (0.1%)

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

3 alts after pruning (0 fresh and 3 done)

PrunedKeptTotal
New22022
Fresh000
Picked022
Done011
Total22325
Accuracy
99.9%
Counts
25 → 3
Alt Table
Click to see full alt table
StatusAccuracyProgram
91.4%
(/.f64 (*.f64 x y) z)
93.5%
(*.f64 (/.f64 y z) x)
91.6%
(*.f64 (/.f64 x z) y)
Compiler

Compiled 30 to 24 computations (20% saved)

regimes8.0ms (0.4%)

Memory
23.4MiB live, 23.4MiB 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
x
2.0ms
y
2.0ms
z
1.0ms
(*.f64 x y)
1.0ms
(/.f64 (*.f64 x y) z)
Results
AccuracySegmentsBranch
99.7%3(*.f64 x y)
99.7%2(/.f64 (*.f64 x y) z)
97.2%3x
96.0%2y
99.7%2z
Compiler

Compiled 11 to 18 computations (-63.6% saved)

regimes6.0ms (0.3%)

Memory
-29.4MiB live, 17.9MiB allocated; 3ms 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:

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

Compiled 11 to 18 computations (-63.6% saved)

bsearch4.0ms (0.2%)

Memory
8.9MiB live, 8.9MiB allocated; 0ms collecting garbage
Algorithm
binary-search
Stop Event
predicate-same
Steps
TimeLeftRight
3.0ms
298.10333791503365
408738.85648467875
Samples
2.0ms48×0valid
Compiler

Compiled 38 to 47 computations (-23.7% saved)

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

derivations2.0ms (0.1%)

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

Compiled 19 to 10 computations (47.4% saved)

preprocess285.0ms (15.3%)

Memory
25.2MiB live, 499.4MiB allocated; 57ms collecting garbage
Remove

(negabs z)

(negabs x)

Compiler

Compiled 266 to 200 computations (24.8% saved)

end0.0ms (0%)

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

Profiling

Loading profile data...