Diagrams.Segment:$catParam from diagrams-lib-1.3.0.3, C

Time bar (total: 8.6s)

analyze0.0ms (0%)

Memory
0.5MiB live, 0.5MiB allocated
Algorithm
search
Search
ProbabilityValidUnknownPreconditionInfiniteDomainCan'tIter
0%0%100%0%0%0%0%0
100%100%0%0%0%0%0%1
Compiler

Compiled 7 to 5 computations (28.6% saved)

sample721.0ms (8.4%)

Memory
44.2MiB live, 784.6MiB allocated
Samples
384.0ms8 256×0valid
Precisions
Click to see histograms. Total time spent on operations: 166.0ms
ival-mult: 158.0ms (95.1% of total)
ival-true: 5.0ms (3% of total)
ival-assert: 3.0ms (1.8% of total)
Bogosity

preprocess21.0ms (0.2%)

Memory
-8.0MiB live, 35.9MiB allocated
Algorithm
egg-herbie
Rules
22×distribute-lft-neg-in
22×associate-*r*
16×cancel-sign-sub-inv
16×unsub-neg
14×neg-sub0
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
0513
1239
2607
31277
41487
51567
035
055
163
283
083
Stop Event
iter limit
saturated
iter limit
saturated
Calls
Call 1
Inputs
(*.f64 (*.f64 x x) x)
Outputs
(*.f64 (*.f64 x x) x)
(*.f64 x (*.f64 x x))
Symmetry

(negabs x)

explain39.0ms (0.5%)

Memory
10.6MiB live, 88.9MiB allocated
FPErrors
Click to see full error table
Ground TruthOverpredictionsExampleUnderpredictionsExampleSubexpression
00-0-(*.f64 (*.f64 x x) x)
00-0-(*.f64 x x)
00-0-x
Confusion
Predicted +Predicted -
+00
-0256
Precision
0/0
Recall
0/0
Confusion?
Predicted +Predicted MaybePredicted -
+000
-00256
Precision?
0/0
Recall?
0/0
Freqs
test
numberfreq
0256
Total Confusion?
Predicted +Predicted MaybePredicted -
+000
-001
Precision?
0/0
Recall?
0/0
Samples
16.0ms512×0valid
Compiler

Compiled 34 to 16 computations (52.9% saved)

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

eval1.0ms (0%)

Memory
-38.6MiB live, 0.6MiB allocated
Compiler

Compiled 1 to 1 computations (0% saved)

prune1.0ms (0%)

Memory
1.4MiB live, 1.4MiB allocated
Alt Table
Click to see full alt table
StatusAccuracyProgram
99.9%
(*.f64 (*.f64 x x) x)
Compiler

Compiled 6 to 3 computations (50% saved)

simplify4.0ms (0.1%)

Memory
9.6MiB live, 9.6MiB allocated
Algorithm
egg-herbie
Localize:

Found 2 expressions of interest:

NewMetricScoreProgram
cost-diff0
(*.f64 x x)
cost-diff0
(*.f64 (*.f64 x x) x)
Rules
lower-*.f32
lift-*.f64
lower-*.f64
lower-pow.f64
cube-unmult
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
039
059
167
287
087
Stop Event
iter limit
saturated
iter limit
Calls
Call 1
Inputs
(*.f64 (*.f64 x x) x)
(*.f64 x x)
x
Outputs
(*.f64 (*.f64 x x) x)
(*.f64 x (*.f64 x x))
(*.f64 x x)
x

localize23.0ms (0.3%)

Memory
-43.6MiB live, 29.0MiB allocated
Localize:

Found 2 expressions of interest:

NewMetricScoreProgram
accuracy100.0%
(*.f64 x x)
accuracy99.9%
(*.f64 (*.f64 x x) x)
Samples
8.0ms256×0valid
Compiler

Compiled 11 to 5 computations (54.5% saved)

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

series2.0ms (0%)

Memory
5.3MiB live, 5.3MiB allocated
Counts
2 → 24
Calls
Call 1
Inputs
#<alt (*.f64 (*.f64 x x) x)>
#<alt (*.f64 x x)>
Outputs
#<alt (pow x 3)>
#<alt (pow x 3)>
#<alt (pow x 3)>
#<alt (pow x 3)>
#<alt (pow x 3)>
#<alt (pow x 3)>
#<alt (pow x 3)>
#<alt (pow x 3)>
#<alt (pow x 3)>
#<alt (pow x 3)>
#<alt (pow x 3)>
#<alt (pow x 3)>
#<alt (pow x 2)>
#<alt (pow x 2)>
#<alt (pow x 2)>
#<alt (pow x 2)>
#<alt (pow x 2)>
#<alt (pow x 2)>
#<alt (pow x 2)>
#<alt (pow x 2)>
#<alt (pow x 2)>
#<alt (pow x 2)>
#<alt (pow x 2)>
#<alt (pow x 2)>
Calls

6 calls:

TimeVariablePointExpression
1.0ms
x
@0
(* (* x x) x)
0.0ms
x
@-inf
(* (* x x) x)
0.0ms
x
@inf
(* (* x x) x)
0.0ms
x
@inf
(* x x)
0.0ms
x
@0
(* x x)

rewrite231.0ms (2.7%)

Memory
19.3MiB live, 172.7MiB allocated
Algorithm
batch-egg-rewrite
Rules
2 618×lower-*.f64
2 618×lower-*.f32
1 200×unpow-prod-down
1 030×log-prod
922×associate-*r*
Iterations

Useful iterations: 5 (0.0ms)

IterNodesCost
038
056
1106
2246
3526
41666
55712
640592
741172
843542
968812
085902
Stop Event
iter limit
node limit
iter limit
Counts
2 → 4
Calls
Call 1
Inputs
(*.f64 (*.f64 x x) x)
(*.f64 x x)
Outputs
#s(literal 1 binary64)
x
#s(literal 1 binary64)
x

simplify5.0ms (0.1%)

Memory
8.7MiB live, 8.7MiB allocated
Algorithm
egg-herbie
Rules
lower-*.f64
lower-*.f32
lower-pow.f64
lower-pow.f32
cube-mult
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0572
1872
21072
31272
01272
Stop Event
iter limit
saturated
Counts
24 → 24
Calls
Call 1
Inputs
(pow x 3)
(pow x 3)
(pow x 3)
(pow x 3)
(pow x 3)
(pow x 3)
(pow x 3)
(pow x 3)
(pow x 3)
(pow x 3)
(pow x 3)
(pow x 3)
(pow x 2)
(pow x 2)
(pow x 2)
(pow x 2)
(pow x 2)
(pow x 2)
(pow x 2)
(pow x 2)
(pow x 2)
(pow x 2)
(pow x 2)
(pow x 2)
Outputs
(pow x 3)
(*.f64 x (*.f64 x x))
(pow x 3)
(*.f64 x (*.f64 x x))
(pow x 3)
(*.f64 x (*.f64 x x))
(pow x 3)
(*.f64 x (*.f64 x x))
(pow x 3)
(*.f64 x (*.f64 x x))
(pow x 3)
(*.f64 x (*.f64 x x))
(pow x 3)
(*.f64 x (*.f64 x x))
(pow x 3)
(*.f64 x (*.f64 x x))
(pow x 3)
(*.f64 x (*.f64 x x))
(pow x 3)
(*.f64 x (*.f64 x x))
(pow x 3)
(*.f64 x (*.f64 x x))
(pow x 3)
(*.f64 x (*.f64 x x))
(pow x 2)
(*.f64 x x)
(pow x 2)
(*.f64 x x)
(pow x 2)
(*.f64 x x)
(pow x 2)
(*.f64 x x)
(pow x 2)
(*.f64 x x)
(pow x 2)
(*.f64 x x)
(pow x 2)
(*.f64 x x)
(pow x 2)
(*.f64 x x)
(pow x 2)
(*.f64 x x)
(pow x 2)
(*.f64 x x)
(pow x 2)
(*.f64 x x)
(pow x 2)
(*.f64 x x)

eval2.0ms (0%)

Memory
5.3MiB live, 5.3MiB allocated
Compiler

Compiled 129 to 6 computations (95.3% saved)

prune2.0ms (0%)

Memory
4.6MiB live, 4.6MiB allocated
Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New26228
Fresh000
Picked011
Done000
Total26329
Accuracy
99.9%
Counts
29 → 3
Alt Table
Click to see full alt table
StatusAccuracyProgram
99.9%
(*.f64 (*.f64 x x) x)
51.4%
(*.f64 x x)
6.3%
x
Compiler

Compiled 12 to 6 computations (50% saved)

simplify13.0ms (0.1%)

Memory
-31.0MiB live, 6.7MiB allocated
Algorithm
egg-herbie
Localize:

Found 1 expressions of interest:

NewMetricScoreProgram
cost-diff0
(*.f64 x x)
Rules
lift-*.f64
lower-*.f32
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
025
035
035
Stop Event
iter limit
saturated
iter limit
Calls
Call 1
Inputs
x
(*.f64 x x)
x
Outputs
x
(*.f64 x x)
x

localize10.0ms (0.1%)

Memory
23.3MiB live, 23.3MiB allocated
Localize:

Found 1 expressions of interest:

NewMetricScoreProgram
accuracy100.0%
(*.f64 x x)
Samples
6.0ms256×0valid
Compiler

Compiled 7 to 4 computations (42.9% saved)

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

series0.0ms (0%)

Memory
0.4MiB live, 0.4MiB allocated
Counts
1 → 12
Calls
Call 1
Inputs
#<alt (*.f64 x x)>
Outputs
#<alt (pow x 2)>
#<alt (pow x 2)>
#<alt (pow x 2)>
#<alt (pow x 2)>
#<alt (pow x 2)>
#<alt (pow x 2)>
#<alt (pow x 2)>
#<alt (pow x 2)>
#<alt (pow x 2)>
#<alt (pow x 2)>
#<alt (pow x 2)>
#<alt (pow x 2)>
Calls

3 calls:

TimeVariablePointExpression
0.0ms
x
@0
(* x x)
0.0ms
x
@inf
(* x x)
0.0ms
x
@-inf
(* x x)

rewrite116.0ms (1.4%)

Memory
2.9MiB live, 194.7MiB allocated
Algorithm
batch-egg-rewrite
Rules
2 136×lower-pow.f64
2 136×lower-pow.f32
1 588×lower-*.f64
1 588×lower-*.f32
1 412×prod-exp
Iterations

Useful iterations: 5 (0.0ms)

IterNodesCost
023
033
153
2123
3283
4763
52311
615151
715401
816631
929071
082821
Stop Event
iter limit
node limit
iter limit
Counts
1 → 2
Calls
Call 1
Inputs
(*.f64 x x)
Outputs
#s(literal 1 binary64)
x

simplify4.0ms (0%)

Memory
10.6MiB live, 10.6MiB allocated
Algorithm
egg-herbie
Rules
lower-*.f64
lower-pow.f64
unpow2
lower-*.f32
lower-pow.f32
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0336
1436
0436
Stop Event
iter limit
saturated
Counts
12 → 12
Calls
Call 1
Inputs
(pow x 2)
(pow x 2)
(pow x 2)
(pow x 2)
(pow x 2)
(pow x 2)
(pow x 2)
(pow x 2)
(pow x 2)
(pow x 2)
(pow x 2)
(pow x 2)
Outputs
(pow x 2)
(*.f64 x x)
(pow x 2)
(*.f64 x x)
(pow x 2)
(*.f64 x x)
(pow x 2)
(*.f64 x x)
(pow x 2)
(*.f64 x x)
(pow x 2)
(*.f64 x x)
(pow x 2)
(*.f64 x x)
(pow x 2)
(*.f64 x x)
(pow x 2)
(*.f64 x x)
(pow x 2)
(*.f64 x x)
(pow x 2)
(*.f64 x x)
(pow x 2)
(*.f64 x x)

eval1.0ms (0%)

Memory
3.8MiB live, 3.8MiB allocated
Compiler

Compiled 39 to 3 computations (92.3% saved)

prune6.0ms (0.1%)

Memory
-28.0MiB live, 5.6MiB allocated
Pruning

3 alts after pruning (0 fresh and 3 done)

PrunedKeptTotal
New14014
Fresh000
Picked022
Done011
Total14317
Accuracy
99.9%
Counts
17 → 3
Alt Table
Click to see full alt table
StatusAccuracyProgram
99.9%
(*.f64 (*.f64 x x) x)
51.4%
(*.f64 x x)
6.3%
x
Compiler

Compiled 22 to 9 computations (59.1% saved)

regimes4.0ms (0%)

Memory
9.4MiB live, 9.4MiB allocated
Counts
3 → 1
Calls
Call 1
Inputs
x
(*.f64 x x)
(*.f64 (*.f64 x x) x)
Outputs
(*.f64 (*.f64 x x) x)
Calls

2 calls:

2.0ms
x
2.0ms
(*.f64 (*.f64 x x) x)
Results
AccuracySegmentsBranch
99.9%1x
99.9%1(*.f64 (*.f64 x x) x)
Compiler

Compiled 8 to 4 computations (50% saved)

regimes3.0ms (0%)

Memory
7.9MiB live, 7.9MiB allocated
Counts
2 → 1
Calls
Call 1
Inputs
x
(*.f64 x x)
Outputs
(*.f64 x x)
Calls

2 calls:

1.0ms
x
1.0ms
(*.f64 (*.f64 x x) x)
Results
AccuracySegmentsBranch
51.4%1x
51.4%1(*.f64 (*.f64 x x) x)
Compiler

Compiled 8 to 4 computations (50% saved)

regimes3.0ms (0%)

Memory
7.8MiB live, 7.8MiB allocated
Accuracy

Total -0.0b remaining (-0%)

Threshold costs -0b (-0%)

Counts
1 → 1
Calls
Call 1
Inputs
x
Outputs
x
Calls

2 calls:

1.0ms
x
1.0ms
(*.f64 (*.f64 x x) x)
Results
AccuracySegmentsBranch
6.3%1x
6.3%1(*.f64 (*.f64 x x) x)
Compiler

Compiled 8 to 4 computations (50% saved)

simplify10.0ms (0.1%)

Memory
-28.9MiB live, 14.5MiB allocated
Algorithm
egg-herbie
Rules
*-commutative_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
039
149
Stop Event
saturated
Calls
Call 1
Inputs
(*.f64 (*.f64 x x) x)
(*.f64 x x)
x
Outputs
(*.f64 (*.f64 x x) x)
(*.f64 x (*.f64 x x))
(*.f64 x x)
x

soundness7.3s (85.2%)

Memory
5.7MiB live, 121.8MiB allocated
Rules
2 618×lower-*.f64
2 618×lower-*.f32
1 200×unpow-prod-down
1 030×log-prod
922×associate-*r*
Iterations

Useful iterations: 5 (0.0ms)

IterNodesCost
038
056
1106
2246
3526
41666
55712
640592
741172
843542
968812
085902
Stop Event
done
iter limit
node limit
iter limit
Compiler

Compiled 10 to 3 computations (70% saved)

preprocess43.0ms (0.5%)

Memory
12.5MiB live, 94.8MiB allocated
Remove

(negabs x)

Compiler

Compiled 56 to 24 computations (57.1% saved)

end0.0ms (0%)

Memory
0.0MiB live, 0.0MiB allocated

Profiling

Loading profile data...