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

Time bar (total: 10.4s)

analyze0.0ms (0%)

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

sample452.0ms (4.4%)

Memory
10.8MiB live, 755.6MiB allocated
Samples
301.0ms8 256×0valid
Precisions
Click to see histograms. Total time spent on operations: 152.0ms
ival-mult: 144.0ms (94.8% of total)
ival-true: 5.0ms (3.3% of total)
ival-assert: 3.0ms (2% of total)
Bogosity

preprocess14.0ms (0.1%)

Memory
31.6MiB live, 31.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)

explain48.0ms (0.5%)

Memory
-23.1MiB live, 97.1MiB 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
20.0ms512×0valid
Compiler

Compiled 34 to 16 computations (52.9% saved)

Precisions
Click to see histograms. Total time spent on operations: 11.0ms
ival-mult: 10.0ms (92.6% 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.6MiB live, 1.6MiB 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%)

Memory
8.4MiB live, 8.4MiB 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
-8.2MiB live, 31.0MiB allocated
Localize:

Found 2 expressions of interest:

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

Compiled 11 to 5 computations (54.5% saved)

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

series2.0ms (0%)

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

rewrite139.0ms (1.3%)

Memory
21.4MiB live, 251.0MiB 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%)

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

eval14.0ms (0.1%)

Memory
-65.1MiB live, 7.5MiB allocated
Compiler

Compiled 129 to 6 computations (95.3% saved)

prune2.0ms (0%)

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

Compiled 12 to 6 computations (50% saved)

simplify3.0ms (0%)

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

localize12.0ms (0.1%)

Memory
-19.4MiB live, 19.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.7% 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)

rewrite125.0ms (1.2%)

Memory
16.2MiB live, 211.7MiB 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
5.8MiB live, 5.8MiB 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
2.5MiB live, 2.5MiB allocated
Compiler

Compiled 39 to 3 computations (92.3% saved)

prune2.0ms (0%)

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

Compiled 22 to 9 computations (59.1% saved)

regimes4.0ms (0%)

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

regimes4.0ms (0%)

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

2 calls:

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

Compiled 8 to 4 computations (50% saved)

regimes3.0ms (0%)

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

Compiled 8 to 4 computations (50% saved)

simplify7.0ms (0.1%)

Memory
13.9MiB live, 13.9MiB 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.5s (91.4%)

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

preprocess35.0ms (0.3%)

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