expm1 (example 3.7)

Time bar (total: 2.5s)

analyze0.0ms (0%)

Algorithm
search
Search
ProbabilityValidUnknownPreconditionInfiniteDomainCan'tIter
0%0%50%50%0%0%0%0
100%50%0%50%0%0%0%1
Compiler

Compiled 9 to 7 computations (22.2% saved)

sample2.2s (85.8%)

Results
1.3s4165×1024valid
304.0ms2100×512valid
199.0ms1738×256valid
349.0ms253×2048valid
Bogosity

preprocess186.0ms (7.4%)

Algorithm
egg-herbie
Rules
1460×fma-def
826×associate--r+
794×cancel-sign-sub-inv
652×distribute-lft-in
580×distribute-neg-in
FPErrors
Click to see full error table
Ground TruthOverpredictionsExampleUnderpredictionsExampleSubexpression
2550-0-(-.f64 (exp.f64 x) 1)
00-0-x
00-0-(exp.f64 x)
00-0-1
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01344
12944
24844
37244
411544
522944
653544
7161144
8457344
Stop Event
node limit
Calls
Call 1
Inputs
(-.f64 (exp.f64 x) 1)
(-.f64 (exp.f64 x) 1)
(-.f64 (exp.f64 (neg.f64 x)) 1)
(neg.f64 (-.f64 (exp.f64 (neg.f64 x)) 1))
Outputs
(-.f64 (exp.f64 x) 1)
(expm1.f64 x)
(-.f64 (exp.f64 x) 1)
(expm1.f64 x)
(-.f64 (exp.f64 (neg.f64 x)) 1)
(expm1.f64 (neg.f64 x))
(neg.f64 (-.f64 (exp.f64 (neg.f64 x)) 1))
(neg.f64 (expm1.f64 (neg.f64 x)))
Compiler

Compiled 25 to 16 computations (36% saved)

eval0.0ms (0%)

Compiler

Compiled 3 to 2 computations (33.3% saved)

prune1.0ms (0%)

Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
(expm1.f64 x)
Compiler

Compiled 3 to 2 computations (33.3% saved)

localize16.0ms (0.6%)

Compiler

Compiled 5 to 3 computations (40% saved)

eval0.0ms (0%)

Compiler

Compiled 1 to 1 computations (0% saved)

prune1.0ms (0%)

Pruning

1 alts after pruning (0 fresh and 1 done)

PrunedKeptTotal
New000
Fresh000
Picked011
Done000
Total011
Accuracy
100.0%
Counts
1 → 1
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
(expm1.f64 x)
Compiler

Compiled 10 to 7 computations (30% saved)

regimes6.0ms (0.3%)

Accuracy

Total -59.1b remaining (-∞%)

Threshold costs -59.1b (-∞%)

Counts
2 → 1
Calls
Call 1
Inputs
(expm1.f64 x)
(-.f64 (exp.f64 x) 1)
Outputs
(expm1.f64 x)
Calls

3 calls:

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

Compiled 10 to 7 computations (30% saved)

simplify2.0ms (0.1%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
068
Stop Event
done
saturated
Calls
Call 1
Inputs
(expm1.f64 x)
Outputs
(expm1.f64 x)
Compiler

Compiled 3 to 2 computations (33.3% saved)

soundness117.0ms (4.6%)

Rules
1460×fma-def
826×associate--r+
794×cancel-sign-sub-inv
652×distribute-lft-in
580×distribute-neg-in
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01344
12944
24844
37244
411544
522944
653544
7161144
8457344
Stop Event
node limit
Compiler

Compiled 7 to 5 computations (28.6% saved)

end0.0ms (0%)

preprocess27.0ms (1.1%)

Compiler

Compiled 22 to 16 computations (27.3% saved)

Profiling

Loading profile data...