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

Time bar (total: 1.3s)

start0.0ms (0%)

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

analyze67.0ms (5.2%)

Memory
11.8MiB live, 58.6MiB allocated; 4ms 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)

sample766.0ms (59%)

Memory
46.9MiB live, 926.7MiB allocated; 195ms collecting garbage
Samples
456.0ms8 256×0valid
Precisions
Click to see histograms. Total time spent on operations: 181.0ms
ival-mult!: 92.0ms (50.7% of total)
ival-div!: 88.0ms (48.5% of total)
adjust: 2.0ms (1.1% of total)
Bogosity

explain47.0ms (3.6%)

Memory
-26.8MiB live, 65.7MiB allocated; 8ms collecting garbage
FPErrors
Click to see full error table
Ground TruthOverpredictionsExampleUnderpredictionsExampleSubexpression
200-2(-9.941101410443476e-15 3.952235330147349e-308 1.489146822978496e-246)(/.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)overflow33
/.f64(/.f64 (*.f64 x y) z)u/n60
(*.f64 x y)underflow24
Confusion
Predicted +Predicted -
+182
-0236
Precision
1.0
Recall
0.9
Confusion?
Predicted +Predicted MaybePredicted -
+1802
-00236
Precision?
1.0
Recall?
0.9
Freqs
test
numberfreq
0238
118
Total Confusion?
Predicted +Predicted MaybePredicted -
+100
-000
Precision?
1.0
Recall?
1.0
Samples
24.0ms512×0valid
Compiler

Compiled 31 to 19 computations (38.7% saved)

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

preprocess14.0ms (1.1%)

Memory
21.5MiB live, 21.5MiB allocated; 0ms 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
92.8%
(/.f64 (*.f64 x y) z)
Symmetry

(negabs x)

(negabs y)

(negabs z)

(sort x y)

Compiler

Compiled 10 to 10 computations (0% saved)

series12.0ms (0.9%)

Memory
-35.0MiB live, 15.1MiB allocated; 7ms 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
z
@0
((/ (* x y) z) (* x y) x y z)
2.0ms
y
@-inf
((/ (* x y) z) (* x y) x y z)
1.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
y
@inf
((/ (* x y) z) (* x y) x y z)

rewrite19.0ms (1.5%)

Memory
29.6MiB live, 29.6MiB allocated; 0ms 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
3.3MiB live, 3.3MiB allocated; 0ms collecting garbage
Compiler

Compiled 134 to 44 computations (67.2% saved)

prune1.0ms (0.1%)

Memory
2.7MiB live, 2.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
92.8%
(/.f64 (*.f64 x y) z)
91.1%
(*.f64 (/.f64 y z) x)
93.2%
(*.f64 (/.f64 x z) y)
Compiler

Compiled 15 to 15 computations (0% saved)

series10.0ms (0.8%)

Memory
-32.5MiB live, 13.9MiB allocated; 3ms 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
3.0ms
y
@-inf
((* (/ x z) y) (/ x z) x z y (* (/ y z) x) (/ y z))
1.0ms
z
@0
((* (/ x z) y) (/ x z) x z y (* (/ y z) x) (/ y z))
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
x
@inf
((* (/ x z) y) (/ x z) x z y (* (/ y z) x) (/ y z))

rewrite9.0ms (0.7%)

Memory
12.8MiB live, 12.8MiB allocated; 0ms 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
4.2MiB live, 4.2MiB allocated; 0ms collecting garbage
Compiler

Compiled 156 to 52 computations (66.7% saved)

prune2.0ms (0.2%)

Memory
3.9MiB live, 3.9MiB 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
92.8%
(/.f64 (*.f64 x y) z)
91.1%
(*.f64 (/.f64 y z) x)
93.2%
(*.f64 (/.f64 x z) y)
Compiler

Compiled 30 to 24 computations (20% saved)

regimes8.0ms (0.6%)

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

1.0ms
y
1.0ms
x
1.0ms
z
1.0ms
(*.f64 x y)
1.0ms
(/.f64 (*.f64 x y) z)
Results
AccuracySegmentsBranch
99.7%3(*.f64 x y)
99.8%2(/.f64 (*.f64 x y) z)
97.2%2x
97.5%3y
99.8%2z
Compiler

Compiled 11 to 18 computations (-63.6% saved)

regimes7.0ms (0.5%)

Memory
-33.0MiB live, 13.8MiB allocated; 2ms 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:

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

Compiled 11 to 18 computations (-63.6% saved)

bsearch9.0ms (0.7%)

Memory
11.8MiB live, 11.8MiB allocated; 0ms collecting garbage
Algorithm
binary-search
Stop Event
narrow-enough
Steps
TimeLeftRight
8.0ms
2.3204094703290044e-61
5.334881647699375e-58
Samples
4.0ms128×0valid
Compiler

Compiled 88 to 107 computations (-21.6% saved)

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

derivations2.0ms (0.2%)

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

Compiled 19 to 10 computations (47.4% saved)

preprocess321.0ms (24.7%)

Memory
17.5MiB live, 394.8MiB allocated; 90ms collecting garbage
Remove

(negabs z)

Compiler

Compiled 276 to 210 computations (23.9% saved)

end0.0ms (0%)

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

Profiling

Loading profile data...