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

Time bar (total: 10.7s)

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)

sample518.0ms (4.8%)

Memory
-31.4MiB live, 713.6MiB allocated
Samples
280.0ms8 256×0valid
Precisions
Click to see histograms. Total time spent on operations: 115.0ms
ival-mult: 107.0ms (93% of total)
ival-true: 5.0ms (4.3% of total)
ival-assert: 3.0ms (2.6% of total)
Bogosity

preprocess35.0ms (0.3%)

Memory
-8.1MiB live, 35.6MiB allocated
Algorithm
egg-herbie
Rules
18×distribute-lft-neg-in
18×associate-*r*
16×unsub-neg
14×distribute-rgt-neg-in
14×neg-sub0
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
0716
12510
26110
312310
414310
515110
035
143
263
063
Stop Event
iter limit
saturated
saturated
Calls
Call 1
Inputs
(* (* x x) x)
Outputs
(* (* x x) x)
(*.f64 x (*.f64 x x))
Call 2
Inputs
(* (* x x) x)
(* (* (neg x) (neg x)) (neg x))
(neg (* (* (neg x) (neg x)) (neg x)))
Outputs
(* (* x x) x)
(pow x 3)
(* (* (neg x) (neg x)) (neg x))
(pow (neg x) 3)
(neg (* (* (neg x) (neg x)) (neg x)))
(pow x 3)
Symmetry

(negabs x)

explain59.0ms (0.5%)

Memory
-0.4MiB live, 75.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
15.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.2% of total)
ival-true: 0.0ms (0% of total)
ival-assert: 0.0ms (0% of total)

eval0.0ms (0%)

Memory
0.4MiB live, 0.4MiB allocated
Compiler

Compiled 1 to 1 computations (0% saved)

prune1.0ms (0%)

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

simplify3.0ms (0%)

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

Found 2 expressions of interest:

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

Useful iterations: 1 (0.0ms)

IterNodesCost
039
147
267
067
Stop Event
iter limit
saturated
Calls
Call 1
Inputs
(* (* x x) x)
(* x x)
x
Outputs
(* (* x x) x)
(*.f64 x (*.f64 x x))
(* x x)
(*.f64 x x)
x

localize13.0ms (0.1%)

Memory
-9.9MiB live, 28.1MiB 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 (88.8% of total)
ival-true: 0.0ms (0% of total)
ival-assert: 0.0ms (0% of total)

series2.0ms (0%)

Memory
4.1MiB live, 4.1MiB allocated
Counts
2 → 24
Calls
Call 1
Inputs
#<alt (* (* x x) x)>
#<alt (* 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
0.0ms
x
@-inf
(* (* x x) x)
0.0ms
x
@0
(* (* x x) x)
0.0ms
x
@inf
(* (* x x) x)
0.0ms
x
@inf
(* x x)
0.0ms
x
@0
(* x x)

rewrite137.0ms (1.3%)

Memory
-8.0MiB live, 238.3MiB allocated
Algorithm
batch-egg-rewrite
Rules
2 618×*-lowering-*.f32
2 618×*-lowering-*.f64
1 202×unpow-prod-down
1 036×log-prod
926×associate-*r*
Iterations

Useful iterations: 5 (0.0ms)

IterNodesCost
036
186
2226
3506
41646
55692
640622
741202
843592
969032
086202
Stop Event
iter limit
node limit
Counts
2 → 4
Calls
Call 1
Inputs
(* (* x x) x)
(* x x)
Outputs
#s(literal 1 binary64)
x
#s(literal 1 binary64)
x

simplify5.0ms (0.1%)

Memory
15.2MiB live, 15.2MiB allocated
Algorithm
egg-herbie
Rules
*-lowering-*.f32
*-lowering-*.f64
pow-lowering-pow.f64
pow-lowering-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
7.4MiB live, 7.4MiB allocated
Compiler

Compiled 129 to 6 computations (95.3% saved)

prune2.0ms (0%)

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

Compiled 12 to 6 computations (50% saved)

simplify4.0ms (0%)

Memory
-30.3MiB live, 8.2MiB allocated
Algorithm
egg-herbie
Localize:

Found 1 expressions of interest:

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

Useful iterations: 0 (0.0ms)

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

localize10.0ms (0.1%)

Memory
34.1MiB live, 34.1MiB 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.3% of total)
ival-true: 0.0ms (0% of total)
ival-assert: 0.0ms (0% of total)

series0.0ms (0%)

Memory
0.7MiB live, 0.7MiB allocated
Counts
1 → 12
Calls
Call 1
Inputs
#<alt (* 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)

rewrite123.0ms (1.1%)

Memory
-1.9MiB live, 267.2MiB allocated
Algorithm
batch-egg-rewrite
Rules
2 136×pow-lowering-pow.f64
2 136×pow-lowering-pow.f32
1 638×*-lowering-*.f32
1 638×*-lowering-*.f64
1 412×prod-exp
Iterations

Useful iterations: 5 (0.0ms)

IterNodesCost
023
143
2113
3273
4753
52301
614831
715081
816311
928721
083171
Stop Event
iter limit
node limit
Counts
1 → 2
Calls
Call 1
Inputs
(* x x)
Outputs
#s(literal 1 binary64)
x

simplify4.0ms (0%)

Memory
11.3MiB live, 11.3MiB allocated
Algorithm
egg-herbie
Rules
pow-lowering-pow.f64
pow-lowering-pow.f32
*-lowering-*.f32
*-lowering-*.f64
unpow2
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
4.0MiB live, 4.0MiB allocated
Compiler

Compiled 39 to 3 computations (92.3% saved)

prune4.0ms (0%)

Memory
-31.9MiB live, 6.0MiB 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)
54.8%
(*.f64 x x)
6.4%
x
Compiler

Compiled 22 to 9 computations (59.1% saved)

regimes4.0ms (0%)

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

regimes2.0ms (0%)

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

1 calls:

2.0ms
x
Results
AccuracySegmentsBranch
54.8%1x
Compiler

Compiled 2 to 1 computations (50% saved)

regimes1.0ms (0%)

Memory
4.7MiB live, 4.7MiB allocated
Accuracy

Total 0.0b remaining (0%)

Threshold costs 0b (0%)

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

1 calls:

1.0ms
x
Results
AccuracySegmentsBranch
6.4%1x
Compiler

Compiled 2 to 1 computations (50% saved)

simplify8.0ms (0.1%)

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

soundness9.7s (90.2%)

Memory
40.3MiB live, 188.4MiB allocated
Rules
2 618×*-lowering-*.f32
2 618×*-lowering-*.f64
1 202×unpow-prod-down
1 036×log-prod
926×associate-*r*
Iterations

Useful iterations: 5 (0.0ms)

IterNodesCost
036
186
2226
3506
41646
55692
640622
741202
843592
969032
086202
Stop Event
done
iter limit
node limit
Compiler

Compiled 10 to 3 computations (70% saved)

preprocess111.0ms (1%)

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