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

Time bar (total: 1.5s)

start0.0ms (0%)

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

analyze90.0ms (5.8%)

Memory
-9.8MiB live, 82.1MiB allocated; 46ms 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)

sample871.0ms (56.4%)

Memory
45.9MiB live, 1 328.1MiB allocated; 287ms collecting garbage
Samples
501.0ms8 256×0valid
Precisions
Click to see histograms. Total time spent on operations: 234.0ms
ival-mult: 136.0ms (58% of total)
ival-div: 88.0ms (37.5% of total)
ival-true: 6.0ms (2.6% of total)
ival-assert: 3.0ms (1.3% of total)
adjust: 2.0ms (0.9% of total)
Bogosity

explain57.0ms (3.7%)

Memory
-6.0MiB live, 92.9MiB allocated; 26ms collecting garbage
FPErrors
Click to see full error table
Ground TruthOverpredictionsExampleUnderpredictionsExampleSubexpression
170-2(-1.5336206483860252e-207 -9.471309276779318e-114 -4.080175146819884e-237)(/.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/n80
(*.f64 x y)underflow29
/.f64(/.f64 (*.f64 x y) z)o/n70
(*.f64 x y)overflow32
Confusion
Predicted +Predicted -
+152
-0239
Precision
1.0
Recall
0.8823529411764706
Confusion?
Predicted +Predicted MaybePredicted -
+1502
-00239
Precision?
1.0
Recall?
0.8823529411764706
Freqs
test
numberfreq
0241
115
Total Confusion?
Predicted +Predicted MaybePredicted -
+100
-000
Precision?
1.0
Recall?
1.0
Samples
21.0ms512×0valid
Compiler

Compiled 31 to 19 computations (38.7% saved)

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

preprocess25.0ms (1.6%)

Memory
-2.2MiB live, 41.0MiB allocated; 9ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02253
14653
28653
314553
421053
528053
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 x)

(negabs y)

(negabs z)

(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.7MiB live, 0.7MiB allocated; 0ms collecting garbage
Alt Table
Click to see full alt table
StatusAccuracyProgram
93.8%
(/.f64 (*.f64 x y) z)
Compiler

Compiled 5 to 5 computations (0% saved)

series9.0ms (0.6%)

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

simplify3.0ms (0.2%)

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

Useful iterations: 0 (0.0ms)

IterNodesCost
01027
11327
21627
31727
01727
Stop Event
iter limit
saturated
Counts
5 → 5
Calls
Call 1
Inputs
#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
#s(approx (/ (* x y) z) #s(hole binary64 (/ (* x y) z)))
#s(approx (/ (* x y) z) (/.f64 (*.f64 y x) z))
#s(approx (* x y) #s(hole binary64 (* x y)))
#s(approx (* x y) (*.f64 y x))
#s(approx x #s(hole binary64 x))
#s(approx x x)
#s(approx y #s(hole binary64 y))
#s(approx y y)
#s(approx z #s(hole binary64 z))
#s(approx z z)

rewrite51.0ms (3.3%)

Memory
-27.4MiB live, 17.1MiB allocated; 8ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0511
0711
11311
23011
36511
410111
010111
Stop Event
iter limit
saturated
iter limit
Counts
5 → 19
Calls
Call 1
Inputs
(/.f64 (*.f64 x y) z)
(*.f64 x y)
x
y
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

eval2.0ms (0.1%)

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

Compiled 154 to 45 computations (70.8% saved)

prune3.0ms (0.2%)

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

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New22224
Fresh000
Picked011
Done000
Total22325
Accuracy
99.9%
Counts
25 → 3
Alt Table
Click to see full alt table
StatusAccuracyProgram
93.8%
(/.f64 (*.f64 x y) z)
92.8%
(*.f64 (/.f64 y z) x)
92.3%
(*.f64 (/.f64 x z) y)
Compiler

Compiled 15 to 15 computations (0% saved)

series7.0ms (0.5%)

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

simplify3.0ms (0.2%)

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

Useful iterations: 0 (0.0ms)

IterNodesCost
01645
12145
02145
Stop Event
iter limit
saturated
Counts
7 → 7
Calls
Call 1
Inputs
#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
#s(approx (* (/ x z) y) #s(hole binary64 (/ (* x y) z)))
#s(approx (* (/ x z) y) (*.f64 (/.f64 x z) y))
#s(approx (/ x z) #s(hole binary64 (/ x z)))
#s(approx (/ x z) (/.f64 x z))
#s(approx x #s(hole binary64 x))
#s(approx x x)
#s(approx (* (/ y z) x) #s(hole binary64 (/ (* x y) z)))
#s(approx (* (/ x z) y) (*.f64 (/.f64 x z) y))
#s(approx y #s(hole binary64 y))
#s(approx y y)
#s(approx (/ y z) #s(hole binary64 (/ y z)))
#s(approx (/ y z) (/.f64 y z))
#s(approx z #s(hole binary64 z))
#s(approx z z)

rewrite24.0ms (1.5%)

Memory
-40.1MiB live, 13.8MiB allocated; 14ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0719
01119
12219
24719
310019
411619
511619
011619
Stop Event
iter limit
saturated
iter limit
Counts
7 → 31
Calls
Call 1
Inputs
(*.f64 (/.f64 x z) y)
(/.f64 x z)
x
z
y
(*.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))
x
z
y
(*.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.2%)

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

Compiled 206 to 53 computations (74.3% saved)

prune5.0ms (0.3%)

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

3 alts after pruning (0 fresh and 3 done)

PrunedKeptTotal
New32032
Fresh000
Picked022
Done011
Total32335
Accuracy
99.9%
Counts
35 → 3
Alt Table
Click to see full alt table
StatusAccuracyProgram
93.8%
(/.f64 (*.f64 x y) z)
92.8%
(*.f64 (/.f64 y z) x)
92.3%
(*.f64 (/.f64 x z) y)
Compiler

Compiled 30 to 24 computations (20% saved)

regimes10.0ms (0.6%)

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

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

Compiled 11 to 18 computations (-63.6% saved)

regimes5.0ms (0.3%)

Memory
19.2MiB live, 19.2MiB allocated; 0ms 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:

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

Compiled 11 to 18 computations (-63.6% saved)

bsearch9.0ms (0.6%)

Memory
-20.7MiB live, 24.3MiB allocated; 4ms collecting garbage
Algorithm
binary-search
Stop Event
narrow-enough
Steps
TimeLeftRight
8.0ms
8.890131848889625e-15
2.6371192900602594e-14
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 (82.1% of total)
ival-mult: 1.0ms (82.1% of total)
ival-true: 0.0ms (0% of total)
adjust: 0.0ms (0% of total)
ival-assert: 0.0ms (0% of total)

simplify9.0ms (0.6%)

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

Useful iterations: 0 (0.0ms)

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

derivations2.0ms (0.1%)

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

Compiled 19 to 10 computations (47.4% saved)

preprocess356.0ms (23.1%)

Memory
-37.7MiB live, 731.8MiB allocated; 115ms 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...