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

Time bar (total: 12.4s)

analyze0.0ms (0%)

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 4 computations (42.9% saved)

Precisions
Click to see histograms. Total time spent on operations: 0.0ms
ival-mult: 0.0ms (0% of total)
const: 0.0ms (0% of total)
backward-pass: 0.0ms (0% of total)

sample584.0ms (4.7%)

Results
394.0ms8256×0valid
Precisions
Click to see histograms. Total time spent on operations: 231.0ms
ival-mult: 217.0ms (93.8% of total)
const: 12.0ms (5.2% of total)
backward-pass: 2.0ms (0.9% of total)
Bogosity

preprocess21.0ms (0.2%)

Algorithm
egg-herbie
Rules
76×fnmadd-define
72×fnmsub-define
72×fmsub-define
64×fma-define
28×sum3-define
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
0716
12510
26110
312310
418110
527110
631910
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)

explain38.0ms (0.3%)

FPErrors
Click to see full error table
Ground TruthOverpredictionsExampleUnderpredictionsExampleSubexpression
00-0-x
00-0-(*.f64 x x)
00-0-(*.f64 (*.f64 x x) x)
Results
25.0ms512×0valid
Compiler

Compiled 28 to 11 computations (60.7% saved)

Precisions
Click to see histograms. Total time spent on operations: 9.0ms
ival-mult: 9.0ms (98.5% of total)
const: 0.0ms (0% of total)
backward-pass: 0.0ms (0% of total)

eval0.0ms (0%)

Compiler

Compiled 6 to 3 computations (50% saved)

prune1.0ms (0%)

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%)

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

localize17.0ms (0.1%)

Localize:

Found 2 expressions of interest:

NewMetricScoreProgram
accuracy100.0%
(*.f64 x x)
accuracy99.8%
(*.f64 (*.f64 x x) x)
Results
12.0ms256×0valid
Compiler

Compiled 11 to 4 computations (63.6% saved)

Precisions
Click to see histograms. Total time spent on operations: 6.0ms
ival-mult: 5.0ms (90.3% of total)
const: 0.0ms (0% of total)
backward-pass: 0.0ms (0% of total)

series2.0ms (0%)

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)

rewrite182.0ms (1.5%)

Algorithm
batch-egg-rewrite
Rules
2652×*-lowering-*.f32
2652×*-lowering-*.f64
1150×unpow-prod-down
1038×log-prod
950×pow-lowering-pow.f64
Iterations

Useful iterations: 5 (0.0ms)

IterNodesCost
036
186
2226
3506
41646
55742
645312
745932
848372
974152
083742
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

simplify39.0ms (0.3%)

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%)

Compiler

Compiled 129 to 6 computations (95.3% saved)

prune2.0ms (0%)

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)
51.1%
(*.f64 x x)
6.4%
x
Compiler

Compiled 12 to 6 computations (50% saved)

simplify4.0ms (0%)

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

localize16.0ms (0.1%)

Localize:

Found 1 expressions of interest:

NewMetricScoreProgram
accuracy100.0%
(*.f64 x x)
Results
12.0ms256×0valid
Compiler

Compiled 7 to 3 computations (57.1% saved)

Precisions
Click to see histograms. Total time spent on operations: 3.0ms
ival-mult: 2.0ms (77.1% of total)
const: 0.0ms (0% of total)
backward-pass: 0.0ms (0% of total)

series0.0ms (0%)

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)

rewrite171.0ms (1.4%)

Algorithm
batch-egg-rewrite
Rules
2200×pow-lowering-pow.f64
2200×pow-lowering-pow.f32
1432×prod-exp
1304×*-lowering-*.f32
1304×*-lowering-*.f64
Iterations

Useful iterations: 5 (0.0ms)

IterNodesCost
023
143
2113
3273
4753
52341
616551
716841
818141
931071
083431
Stop Event
iter limit
node limit
Counts
1 → 2
Calls
Call 1
Inputs
(* x x)
Outputs
#s(literal 1 binary64)
x

simplify5.0ms (0%)

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%)

Compiler

Compiled 39 to 3 computations (92.3% saved)

prune2.0ms (0%)

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)
51.1%
(*.f64 x x)
6.4%
x
Compiler

Compiled 22 to 9 computations (59.1% saved)

regimes9.0ms (0.1%)

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:

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

Compiled 8 to 4 computations (50% saved)

regimes2.0ms (0%)

Counts
2 → 1
Calls
Call 1
Inputs
x
(*.f64 x x)
Outputs
(*.f64 x x)
Calls

1 calls:

2.0ms
x
Results
AccuracySegmentsBranch
51.1%1x
Compiler

Compiled 2 to 1 computations (50% saved)

regimes2.0ms (0%)

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)

simplify7.0ms (0.1%)

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

soundness11.3s (90.8%)

Rules
2652×*-lowering-*.f32
2652×*-lowering-*.f64
1150×unpow-prod-down
1038×log-prod
950×pow-lowering-pow.f64
Iterations

Useful iterations: 5 (0.0ms)

IterNodesCost
036
186
2226
3506
41646
55742
645312
745932
848372
974152
083742
Stop Event
done
iter limit
node limit
Compiler

Compiled 10 to 3 computations (70% saved)

preprocess26.0ms (0.2%)

Remove

(negabs x)

Compiler

Compiled 56 to 24 computations (57.1% saved)

end0.0ms (0%)

Profiling

Loading profile data...