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

Time bar (total: 8.2s)

start0.0ms (0%)

Memory
0.0MiB live, 0.0MiB allocated

analyze0.0ms (0%)

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

sample541.0ms (6.6%)

Memory
28.1MiB live, 727.0MiB allocated
Samples
342.0ms8 256×0valid
Precisions
Click to see histograms. Total time spent on operations: 162.0ms
ival-mult: 153.0ms (94.5% of total)
ival-true: 5.0ms (3.1% of total)
ival-assert: 3.0ms (1.9% of total)
Bogosity

explain41.0ms (0.5%)

Memory
-18.1MiB live, 97.4MiB 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
18.0ms512×0valid
Compiler

Compiled 28 to 13 computations (53.6% saved)

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

preprocess25.0ms (0.3%)

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

Compiler

Compiled 6 to 3 computations (50% saved)

eval0.0ms (0%)

Memory
0.4MiB live, 0.4MiB 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.8%
(*.f64 (*.f64 x x) x)
Compiler

Compiled 6 to 3 computations (50% saved)

simplify4.0ms (0.1%)

Memory
7.6MiB live, 7.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

localize12.0ms (0.1%)

Memory
23.8MiB live, 23.8MiB allocated
Localize:

Found 2 expressions of interest:

NewMetricScoreProgram
accuracy0
(*.f64 x x)
accuracy0.1015625
(*.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 (91% of total)
ival-true: 0.0ms (0% of total)
ival-assert: 0.0ms (0% of total)

series2.0ms (0%)

Memory
3.3MiB live, 3.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)

simplify18.0ms (0.2%)

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

rewrite116.0ms (1.4%)

Memory
23.0MiB live, 180.0MiB 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
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

eval2.0ms (0%)

Memory
8.5MiB live, 8.5MiB allocated
Compiler

Compiled 153 to 6 computations (96.1% saved)

prune4.0ms (0%)

Memory
-30.9MiB live, 7.5MiB allocated
Pruning

3 alts after pruning (2 fresh and 1 done)

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

Compiled 12 to 6 computations (50% saved)

simplify5.0ms (0.1%)

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

localize9.0ms (0.1%)

Memory
17.4MiB live, 17.4MiB allocated
Localize:

Found 1 expressions of interest:

NewMetricScoreProgram
accuracy0
(*.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 (97.7% 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)

simplify17.0ms (0.2%)

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

rewrite131.0ms (1.6%)

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

eval1.0ms (0%)

Memory
3.7MiB live, 3.7MiB allocated
Compiler

Compiled 51 to 3 computations (94.1% saved)

prune2.0ms (0%)

Memory
5.8MiB live, 5.8MiB allocated
Pruning

3 alts after pruning (0 fresh and 3 done)

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

Compiled 22 to 9 computations (59.1% saved)

regimes4.0ms (0%)

Memory
10.6MiB live, 10.6MiB 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.8%1x
99.8%1(*.f64 (*.f64 x x) x)
Compiler

Compiled 8 to 4 computations (50% saved)

regimes5.0ms (0.1%)

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

2 calls:

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

Compiled 8 to 4 computations (50% saved)

regimes3.0ms (0%)

Memory
8.2MiB live, 8.2MiB 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.4%1x
6.4%1(*.f64 (*.f64 x x) x)
Compiler

Compiled 8 to 4 computations (50% saved)

simplify5.0ms (0.1%)

Memory
13.5MiB live, 13.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.2s (87.9%)

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

preprocess54.0ms (0.6%)

Memory
-12.2MiB live, 83.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...