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

Time bar (total: 1.8s)

start0.0ms (0%)

Memory
0.0MiB live, 0.0MiB allocated

analyze48.0ms (2.6%)

Memory
37.2MiB live, 84.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
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)

sample1.1s (57.8%)

Memory
-4.5MiB live, 1 070.2MiB allocated
Samples
711.0ms8 256×0valid
Precisions
Click to see histograms. Total time spent on operations: 217.0ms
ival-div: 111.0ms (51.2% of total)
ival-mult: 96.0ms (44.3% of total)
ival-true: 7.0ms (3.2% of total)
ival-assert: 3.0ms (1.4% of total)
Bogosity

explain65.0ms (3.5%)

Memory
16.2MiB live, 168.8MiB allocated
FPErrors
Click to see full error table
Ground TruthOverpredictionsExampleUnderpredictionsExampleSubexpression
250-2(-1.903002624415743e-215 4.933011113191541e-108 6.602149021258591e-7)(/.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/n130
(*.f64 x y)overflow41
/.f64(/.f64 (*.f64 x y) z)u/n100
(*.f64 x y)underflow25
Confusion
Predicted +Predicted -
+232
-0231
Precision
1.0
Recall
0.92
Confusion?
Predicted +Predicted MaybePredicted -
+2302
-00231
Precision?
1.0
Recall?
0.92
Freqs
test
numberfreq
0233
123
Total Confusion?
Predicted +Predicted MaybePredicted -
+100
-000
Precision?
1.0
Recall?
1.0
Samples
33.0ms512×0valid
Compiler

Compiled 31 to 19 computations (38.7% saved)

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

preprocess38.0ms (2.1%)

Memory
-3.9MiB live, 81.0MiB allocated
Algorithm
egg-herbie
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.2MiB live, 0.2MiB allocated
Compiler

Compiled 0 to 3 computations (-∞% saved)

prune0.0ms (0%)

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

Compiled 5 to 5 computations (0% saved)

simplify4.0ms (0.2%)

Memory
5.6MiB live, 5.6MiB allocated
Algorithm
egg-herbie
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

localize14.0ms (0.8%)

Memory
21.0MiB live, 21.0MiB allocated
Localize:

Found 2 expressions of interest:

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

Compiled 13 to 7 computations (46.2% saved)

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

series30.0ms (1.6%)

Memory
-34.3MiB live, 9.4MiB allocated
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
23.0ms
x
@0
((/ (* x y) z) (* x y))
2.0ms
x
@inf
((/ (* x y) z) (* x y))
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))

simplify3.0ms (0.2%)

Memory
2.6MiB live, 2.6MiB allocated
Algorithm
egg-herbie
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)

rewrite16.0ms (0.8%)

Memory
20.1MiB live, 20.1MiB allocated
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.5MiB live, 3.5MiB allocated
Compiler

Compiled 118 to 37 computations (68.6% saved)

prune2.0ms (0.1%)

Memory
3.3MiB live, 3.3MiB allocated
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.4%
(/.f64 (*.f64 x y) z)
92.4%
(*.f64 (/.f64 y z) x)
90.4%
(*.f64 (/.f64 x z) y)
Compiler

Compiled 15 to 15 computations (0% saved)

simplify4.0ms (0.2%)

Memory
4.1MiB live, 4.1MiB allocated
Algorithm
egg-herbie
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

localize84.0ms (4.6%)

Memory
-22.4MiB live, 30.1MiB allocated
Localize:

Found 4 expressions of interest:

NewMetricScoreProgram
accuracy0.0
(/.f64 y z)
accuracy4.861258910051312
(*.f64 (/.f64 y z) x)
accuracy0.0
(/.f64 x z)
accuracy6.167440786886603
(*.f64 (/.f64 x z) y)
Samples
79.0ms256×0valid
Compiler

Compiled 24 to 9 computations (62.5% saved)

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

series6.0ms (0.3%)

Memory
9.6MiB live, 9.6MiB allocated
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
x
@inf
((* (/ 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.8MiB live, 3.8MiB allocated
Algorithm
egg-herbie
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
9.7MiB live, 9.6MiB allocated
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))

eval14.0ms (0.8%)

Memory
-41.9MiB live, 5.0MiB allocated
Compiler

Compiled 134 to 40 computations (70.1% saved)

prune2.0ms (0.1%)

Memory
4.2MiB live, 4.2MiB allocated
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.4%
(/.f64 (*.f64 x y) z)
92.4%
(*.f64 (/.f64 y z) x)
90.4%
(*.f64 (/.f64 x z) y)
Compiler

Compiled 30 to 24 computations (20% saved)

regimes8.0ms (0.4%)

Memory
15.3MiB live, 15.3MiB allocated
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
2.0ms
(*.f64 x y)
1.0ms
(/.f64 (*.f64 x y) z)
Results
AccuracySegmentsBranch
99.8%3(*.f64 x y)
99.7%2(/.f64 (*.f64 x y) z)
96.2%2x
95.0%2y
99.7%2z
Compiler

Compiled 11 to 18 computations (-63.6% saved)

regimes5.0ms (0.3%)

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

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

Compiled 11 to 18 computations (-63.6% saved)

bsearch7.0ms (0.4%)

Memory
8.2MiB live, 8.2MiB allocated
Algorithm
binary-search
Stop Event
predicate-same
Steps
TimeLeftRight
6.0ms
1.4134269886452884e-8
6.602149021258591e-7
Samples
3.0ms80×0valid
Compiler

Compiled 58 to 71 computations (-22.4% saved)

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

simplify28.0ms (1.5%)

Memory
-30.7MiB live, 15.2MiB allocated
Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

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

soundness10.0ms (0.6%)

Memory
11.0MiB live, 11.0MiB allocated
Iterations

Useful iterations: 0 (0.0ms)

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

Compiled 49 to 31 computations (36.7% saved)

preprocess371.0ms (20.2%)

Memory
20.0MiB live, 349.1MiB allocated
Compiler

Compiled 206 to 140 computations (32% saved)

end0.0ms (0%)

Memory
0.0MiB live, 0.0MiB allocated

Profiling

Loading profile data...