expm1 (example 3.7)

Time bar (total: 2.7s)

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
ival-sub: 0.0ms (0% of total)
ival-exp: 0.0ms (0% of total)
ival-fabs: 0.0ms (0% of total)
const: 0.0ms (0% of total)
ival-<=: 0.0ms (0% of total)

sample2.3s (84.9%)

Results
1.8s7972×1valid
27.0ms284×0valid
Precisions
Click to see histograms. Total time spent on operations: 1.2s
ival-exp: 686.0ms (57.3% of total)
ival-fabs: 154.0ms (12.9% of total)
backward-pass: 143.0ms (11.9% of total)
ival-sub: 113.0ms (9.4% of total)
ival-<=: 81.0ms (6.8% of total)
const: 20.0ms (1.7% of total)
Bogosity

preprocess126.0ms (4.8%)

Algorithm
egg-herbie
Rules
15×fma-neg
14×fma-define
14×sub-neg
10×+-commutative
*-commutative
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) #s(literal 1 binary64))
(-.f64 (exp.f64 x) #s(literal 1 binary64))
(-.f64 (exp.f64 (neg.f64 x)) #s(literal 1 binary64))
(neg.f64 (-.f64 (exp.f64 (neg.f64 x)) #s(literal 1 binary64)))
Outputs
(-.f64 (exp.f64 x) #s(literal 1 binary64))
(expm1.f64 x)
(-.f64 (exp.f64 x) #s(literal 1 binary64))
(expm1.f64 x)
(-.f64 (exp.f64 (neg.f64 x)) #s(literal 1 binary64))
(expm1.f64 (neg.f64 x))
(neg.f64 (-.f64 (exp.f64 (neg.f64 x)) #s(literal 1 binary64)))
(neg.f64 (expm1.f64 (neg.f64 x)))

explain168.0ms (6.3%)

FPErrors
Click to see full error table
Ground TruthOverpredictionsExampleUnderpredictionsExampleSubexpression
2540-0-(-.f64 (exp.f64 x) #s(literal 1 binary64))
00-0-x
00-0-(exp.f64 x)
00-0-#s(literal 1 binary64)
Results
70.0ms276×1024valid
31.0ms106×512valid
7.0ms100×256valid
33.0ms30×2048valid
Compiler

Compiled 25 to 16 computations (36% saved)

Precisions
Click to see histograms. Total time spent on operations: 43.0ms
ival-exp: 32.0ms (74.9% of total)
ival-sub: 7.0ms (16.4% of total)
const: 3.0ms (7% of total)

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)

localize55.0ms (2.1%)

Results
29.0ms138×1024valid
6.0ms53×512valid
3.0ms50×256valid
9.0ms15×2048valid
Compiler

Compiled 5 to 3 computations (40% saved)

Precisions
Click to see histograms. Total time spent on operations: 47.0ms
composed: 24.0ms (50.8% of total)
ival-exp: 18.0ms (38.1% of total)
ival-sub: 4.0ms (8.5% of total)
const: 1.0ms (2.1% of total)

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)

regimes3.0ms (0.1%)

Accuracy

Total -59.1b remaining (-∞%)

Threshold costs -59.1b (-∞%)

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

3 calls:

1.0ms
x
1.0ms
(-.f64 (exp.f64 x) #s(literal 1 binary64))
1.0ms
(exp.f64 x)
Results
AccuracySegmentsBranch
100.0%1x
100.0%1(-.f64 (exp.f64 x) #s(literal 1 binary64))
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
saturated
Calls
Call 1
Inputs
(expm1.f64 x)
Outputs
(expm1.f64 x)

soundness18.0ms (0.7%)

Rules
15×fma-neg
14×fma-define
14×sub-neg
10×+-commutative
*-commutative
Iterations

Useful iterations: 0 (0.0ms)

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

Compiled 10 to 7 computations (30% saved)

preprocess26.0ms (1%)

Compiler

Compiled 22 to 16 computations (27.3% saved)

end0.0ms (0%)

Profiling

Loading profile data...