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

Time bar (total: 1.6s)

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)

sample1.0s (64.2%)

Results
649.0ms5465×body256valid
230.0ms2791×body256infinite
Bogosity

preprocess107.0ms (6.6%)

Algorithm
egg-herbie
Rules
2828×fma-def
1928×unswap-sqr
704×distribute-lft-neg-in
690×neg-sub0
674×distribute-lft-neg-out
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
0943
12125
26125
311925
418525
533825
663225
7151825
8276925
9593825
10705425
11794625
Stop Event
node limit
Calls
Call 1
Inputs
(*.f64 (*.f64 x x) x)
(*.f64 (*.f64 x x) x)
(*.f64 (*.f64 (neg.f64 x) (neg.f64 x)) (neg.f64 x))
Outputs
(*.f64 (*.f64 x x) x)
(*.f64 x (*.f64 x x))
(pow.f64 x 3)
(*.f64 (*.f64 x x) x)
(*.f64 x (*.f64 x x))
(pow.f64 x 3)
(*.f64 (*.f64 (neg.f64 x) (neg.f64 x)) (neg.f64 x))
(*.f64 (neg.f64 x) (*.f64 x x))
(pow.f64 (neg.f64 x) 3)
Compiler

Compiled 6 to 3 computations (50% saved)

eval0.0ms (0%)

Compiler

Compiled 9 to 5 computations (44.4% saved)

prune2.0ms (0.1%)

Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
(pow.f64 x 3)
99.9%
(*.f64 (*.f64 x x) x)
100.0%
(pow.f64 x 3)
99.9%
(*.f64 (*.f64 x x) x)
Compiler

Compiled 20 to 12 computations (40% saved)

localize45.0ms (2.7%)

Localize:

Found 1 expressions with local error:

NewAccuracyProgram
99.9%
(*.f64 (*.f64 x x) x)
Compiler

Compiled 16 to 7 computations (56.3% saved)

series2.0ms (0.1%)

Counts
1 → 12
Calls

3 calls:

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

rewrite66.0ms (4.1%)

Algorithm
batch-egg-rewrite
Rules
820×pow1
788×add-sqr-sqrt
770×*-un-lft-identity
760×add-exp-log
760×log1p-expm1-u
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
057
11007
211337
Stop Event
node limit
Counts
1 → 20
Calls
Call 1
Inputs
(*.f64 (*.f64 x x) x)
Outputs
(+.f64 0 (pow.f64 x 3))
(+.f64 (log.f64 (sqrt.f64 (exp.f64 (pow.f64 x 3)))) (log.f64 (sqrt.f64 (exp.f64 (pow.f64 x 3)))))
(+.f64 (log.f64 (*.f64 (cbrt.f64 (exp.f64 (pow.f64 x 3))) (cbrt.f64 (exp.f64 (pow.f64 x 3))))) (log.f64 (cbrt.f64 (exp.f64 (pow.f64 x 3)))))
(-.f64 (+.f64 1 (pow.f64 x 3)) 1)
(pow.f64 x 3)
(pow.f64 (*.f64 x x) 3/2)
(pow.f64 (pow.f64 x 3) 1)
(pow.f64 (cbrt.f64 x) 9)
(pow.f64 (pow.f64 x 9) 1/3)
(pow.f64 (pow.f64 x 6) 1/2)
(pow.f64 (sqrt.f64 x) 6)
(pow.f64 (pow.f64 x 3/2) 2)
(sqrt.f64 (pow.f64 x 6))
(log.f64 (exp.f64 (pow.f64 x 3)))
(cbrt.f64 (pow.f64 x 9))
(expm1.f64 (log1p.f64 (pow.f64 x 3)))
(exp.f64 (*.f64 (log.f64 x) 3))
(exp.f64 (*.f64 (log.f64 (pow.f64 x 9)) 1/3))
(exp.f64 (*.f64 (*.f64 3/2 (log.f64 x)) 2))
(log1p.f64 (expm1.f64 (pow.f64 x 3)))

simplify100.0ms (6.1%)

Algorithm
egg-herbie
Rules
1268×unswap-sqr
908×fma-def
760×log-prod
472×exp-prod
444×fma-neg
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
055284
1114270
2268246
3993246
44597246
57758246
Stop Event
node limit
Counts
32 → 22
Calls
Call 1
Inputs
(pow.f64 x 3)
(pow.f64 x 3)
(pow.f64 x 3)
(pow.f64 x 3)
(pow.f64 x 3)
(pow.f64 x 3)
(pow.f64 x 3)
(pow.f64 x 3)
(pow.f64 x 3)
(pow.f64 x 3)
(pow.f64 x 3)
(pow.f64 x 3)
(+.f64 0 (pow.f64 x 3))
(+.f64 (log.f64 (sqrt.f64 (exp.f64 (pow.f64 x 3)))) (log.f64 (sqrt.f64 (exp.f64 (pow.f64 x 3)))))
(+.f64 (log.f64 (*.f64 (cbrt.f64 (exp.f64 (pow.f64 x 3))) (cbrt.f64 (exp.f64 (pow.f64 x 3))))) (log.f64 (cbrt.f64 (exp.f64 (pow.f64 x 3)))))
(-.f64 (+.f64 1 (pow.f64 x 3)) 1)
(pow.f64 x 3)
(pow.f64 (*.f64 x x) 3/2)
(pow.f64 (pow.f64 x 3) 1)
(pow.f64 (cbrt.f64 x) 9)
(pow.f64 (pow.f64 x 9) 1/3)
(pow.f64 (pow.f64 x 6) 1/2)
(pow.f64 (sqrt.f64 x) 6)
(pow.f64 (pow.f64 x 3/2) 2)
(sqrt.f64 (pow.f64 x 6))
(log.f64 (exp.f64 (pow.f64 x 3)))
(cbrt.f64 (pow.f64 x 9))
(expm1.f64 (log1p.f64 (pow.f64 x 3)))
(exp.f64 (*.f64 (log.f64 x) 3))
(exp.f64 (*.f64 (log.f64 (pow.f64 x 9)) 1/3))
(exp.f64 (*.f64 (*.f64 3/2 (log.f64 x)) 2))
(log1p.f64 (expm1.f64 (pow.f64 x 3)))
Outputs
(pow.f64 x 3)
(pow.f64 x 3)
(pow.f64 x 3)
(pow.f64 x 3)
(pow.f64 x 3)
(pow.f64 x 3)
(pow.f64 x 3)
(pow.f64 x 3)
(pow.f64 x 3)
(pow.f64 x 3)
(pow.f64 x 3)
(pow.f64 x 3)
(+.f64 0 (pow.f64 x 3))
(pow.f64 x 3)
(+.f64 (log.f64 (sqrt.f64 (exp.f64 (pow.f64 x 3)))) (log.f64 (sqrt.f64 (exp.f64 (pow.f64 x 3)))))
(pow.f64 x 3)
(+.f64 (log.f64 (*.f64 (cbrt.f64 (exp.f64 (pow.f64 x 3))) (cbrt.f64 (exp.f64 (pow.f64 x 3))))) (log.f64 (cbrt.f64 (exp.f64 (pow.f64 x 3)))))
(+.f64 (*.f64 2 (log.f64 (cbrt.f64 (exp.f64 (pow.f64 x 3))))) (log.f64 (cbrt.f64 (exp.f64 (pow.f64 x 3)))))
(*.f64 3 (log.f64 (cbrt.f64 (exp.f64 (pow.f64 x 3)))))
(-.f64 (+.f64 1 (pow.f64 x 3)) 1)
(pow.f64 x 3)
(pow.f64 x 3)
(pow.f64 (*.f64 x x) 3/2)
(pow.f64 x 3)
(pow.f64 (pow.f64 x 3) 1)
(pow.f64 x 3)
(pow.f64 (cbrt.f64 x) 9)
(pow.f64 (pow.f64 x 9) 1/3)
(pow.f64 x 3)
(pow.f64 (pow.f64 x 6) 1/2)
(pow.f64 x 3)
(pow.f64 (sqrt.f64 x) 6)
(pow.f64 x 3)
(pow.f64 (pow.f64 x 3/2) 2)
(pow.f64 x 3)
(sqrt.f64 (pow.f64 x 6))
(pow.f64 x 3)
(log.f64 (exp.f64 (pow.f64 x 3)))
(pow.f64 x 3)
(cbrt.f64 (pow.f64 x 9))
(pow.f64 x 3)
(expm1.f64 (log1p.f64 (pow.f64 x 3)))
(pow.f64 x 3)
(exp.f64 (*.f64 (log.f64 x) 3))
(pow.f64 x 3)
(exp.f64 (*.f64 (log.f64 (pow.f64 x 9)) 1/3))
(pow.f64 x 3)
(exp.f64 (*.f64 (*.f64 3/2 (log.f64 x)) 2))
(pow.f64 x 3)
(log1p.f64 (expm1.f64 (pow.f64 x 3)))
(pow.f64 x 3)

eval10.0ms (0.6%)

Compiler

Compiled 146 to 118 computations (19.2% saved)

prune3.0ms (0.2%)

Pruning

2 alts after pruning (0 fresh and 2 done)

PrunedKeptTotal
New22022
Fresh000
Picked022
Done000
Total22224
Accuracy
100.0%
Counts
24 → 2
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
(pow.f64 x 3)
99.9%
(*.f64 (*.f64 x x) x)
Compiler

Compiled 19 to 11 computations (42.1% saved)

regimes6.0ms (0.4%)

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

2 calls:

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

Compiled 17 to 9 computations (47.1% saved)

regimes6.0ms (0.4%)

Accuracy

Total 0.0b remaining (0%)

Threshold costs 0b (0%)

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

2 calls:

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

Compiled 14 to 7 computations (50% saved)

simplify4.0ms (0.2%)

Algorithm
egg-herbie
Rules
*-commutative
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0720
1820
Stop Event
done
saturated
Calls
Call 1
Inputs
(pow.f64 x 3)
(*.f64 (*.f64 x x) x)
Outputs
(pow.f64 x 3)
(*.f64 (*.f64 x x) x)
(*.f64 x (*.f64 x x))
Compiler

Compiled 10 to 6 computations (40% saved)

soundness214.0ms (13.1%)

Rules
2828×fma-def
1928×unswap-sqr
704×distribute-lft-neg-in
690×neg-sub0
674×distribute-lft-neg-out
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
0943
12125
26125
311925
418525
533825
663225
7151825
8276925
9593825
10705425
11794625
Stop Event
node limit
Compiler

Compiled 9 to 5 computations (44.4% saved)

end0.0ms (0%)

preprocess20.0ms (1.2%)

Compiler

Compiled 30 to 16 computations (46.7% saved)

Profiling

Loading profile data...