expm1 (example 3.7)

Time bar (total: 2.2s)

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)

Precisions
Click to see histograms. Total time spent on operations: 0.0ms
Operation ival-sub, time spent: 0.0ms, 0.0% of total-time
Operation ival-exp, time spent: 0.0ms, 0.0% of total-time
Operation ival-fabs, time spent: 0.0ms, 0.0% of total-time
Operation const, time spent: 0.0ms, 0.0% of total-time
Operation ival-<=, time spent: 0.0ms, 0.0% of total-time

sample1.9s (86%)

Results
1000.0ms4162×1024valid
297.0ms2045×512valid
162.0ms1793×256valid
70.0ms255×2048valid
0.0ms512valid
Precisions
Click to see histograms. Total time spent on operations: 905.0ms
Operation ival-exp, time spent: 540.0ms, 60.0% of total-time
Operation ival-sub, time spent: 136.0ms, 15.0% of total-time
Operation ival-<=, time spent: 119.0ms, 13.0% of total-time
Operation ival-fabs, time spent: 85.0ms, 9.0% of total-time
Operation const, time spent: 26.0ms, 3.0% of total-time
Bogosity

preprocess167.0ms (7.6%)

Algorithm
egg-herbie
Rules
30×fma-neg
28×fma-define
28×sub-neg
20×+-commutative
10×*-commutative
FPErrors
Click to see full error table
Ground TruthOverpredictionsExampleUnderpredictionsExampleSubexpression
2560-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
37044
49144
511844
613844
715744
817544
918244
1018344
Stop Event
saturated
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)))
Results
58.0ms246×1024valid
20.0ms126×512valid
12.0ms126×256valid
3.0ms13×2048valid
0.0ms2048valid
Compiler

Compiled 25 to 16 computations (36% saved)

Precisions
Click to see histograms. Total time spent on operations: 43.0ms
Operation ival-exp, time spent: 32.0ms, 75.0% of total-time
Operation ival-sub, time spent: 8.0ms, 19.0% of total-time
Operation const, time spent: 3.0ms, 7.0% of total-time

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)

localize52.0ms (2.4%)

Results
26.0ms120×1024valid
7.0ms68×256valid
10.0ms65×512valid
0.0ms2048valid
0.0ms2048valid
Compiler

Compiled 5 to 3 computations (40% saved)

Precisions
Click to see histograms. Total time spent on operations: 43.0ms
Operation composed, time spent: 22.0ms, 51.0% of total-time
Operation ival-exp, time spent: 16.0ms, 37.0% of total-time
Operation ival-sub, time spent: 4.0ms, 9.0% of total-time
Operation const, time spent: 1.0ms, 2.0% of total-time

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)

regimes8.0ms (0.4%)

Accuracy

Total -58.1b remaining (-∞%)

Threshold costs -58.1b (-∞%)

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

3 calls:

4.0ms
(-.f64 (exp.f64 x) 1)
3.0ms
x
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)

soundness16.0ms (0.7%)

Rules
30×fma-neg
28×fma-define
28×sub-neg
20×+-commutative
10×*-commutative
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01344
12944
24844
37044
49144
511844
613844
715744
817544
918244
1018344
Stop Event
saturated
Compiler

Compiled 7 to 5 computations (28.6% saved)

end0.0ms (0%)

preprocess62.0ms (2.8%)

Compiler

Compiled 22 to 16 computations (27.3% saved)

Profiling

Loading profile data...