expm1 (example 3.7)

Time bar (total: 670.0ms)

start0.0ms (0%)

Memory
0.1MiB live, 0.1MiB allocated; 0ms collecting garbage

analyze0.0ms (0%)

Memory
0.4MiB live, 0.4MiB allocated; 0ms collecting garbage
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 6 computations (33.3% saved)

sample481.0ms (71.8%)

Memory
9.9MiB live, 629.9MiB allocated; 128ms collecting garbage
Samples
243.0ms8 256×0valid
Precisions
Click to see histograms. Total time spent on operations: 76.0ms
ival-expm1: 75.0ms (98.3% of total)
adjust: 1.0ms (1.3% of total)
Bogosity

explain54.0ms (8%)

Memory
1.4MiB live, 97.7MiB allocated; 11ms collecting garbage
FPErrors
Click to see full error table
Ground TruthOverpredictionsExampleUnderpredictionsExampleSubexpression
2550-0-(-.f64 (exp.f64 x) #s(literal 1 binary64))
00-0-#s(literal 1 binary64)
00-0-(exp.f64 x)
00-0-x
Explanations
Click to see full explanations table
OperatorSubexpressionExplanationCount
-.f64(-.f64 (exp.f64 x) #s(literal 1 binary64))cancellation2550
Confusion
Predicted +Predicted -
+2550
-01
Precision
1.0
Recall
1.0
Confusion?
Predicted +Predicted MaybePredicted -
+25500
-001
Precision?
1.0
Recall?
1.0
Freqs
test
numberfreq
01
1255
Total Confusion?
Predicted +Predicted MaybePredicted -
+100
-000
Precision?
1.0
Recall?
1.0
Samples
17.0ms512×0valid
Compiler

Compiled 24 to 16 computations (33.3% saved)

Precisions
Click to see histograms. Total time spent on operations: 7.0ms
ival-exp: 4.0ms (55% of total)
ival-expm1: 3.0ms (41.2% of total)
adjust: 0.0ms (0% of total)

preprocess33.0ms (5%)

Memory
-35.0MiB live, 11.5MiB allocated; 4ms collecting garbage
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
0815
12614
27414
330614
4125314
5733614
Stop Event
node-limit
Alt Table
Click to see full alt table
StatusAccuracyProgram
8.4%
(-.f64 (exp.f64 x) #s(literal 1 binary64))
Compiler

Compiled 8 to 8 computations (0% saved)

rewrite41.0ms (6.1%)

Memory
22.1MiB live, 68.3MiB allocated; 4ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
048
068
1308
02146
Stop Event
iter-limit
iter-limit
iter-limit
unsound
iter-limit
Counts
4 → 27
Calls
Call 1
Inputs
(-.f64 (exp.f64 x) #s(literal 1 binary64))
(exp.f64 x)
x
#s(literal 1 binary64)
Outputs
(/.f64 (neg.f64 (expm1.f64 (+.f64 x x))) (neg.f64 (-.f64 (exp.f64 x) #s(literal -1 binary64))))
(/.f64 (neg.f64 (expm1.f64 (*.f64 x #s(literal 3 binary64)))) (neg.f64 (fma.f64 (exp.f64 x) (exp.f64 x) (-.f64 (exp.f64 x) #s(literal -1 binary64)))))
(/.f64 (expm1.f64 (+.f64 x x)) (-.f64 (exp.f64 x) #s(literal -1 binary64)))
(/.f64 (expm1.f64 (*.f64 x #s(literal 3 binary64))) (fma.f64 (exp.f64 x) (exp.f64 x) (-.f64 #s(literal 1 binary64) (*.f64 (exp.f64 x) #s(literal -1 binary64)))))
(/.f64 (expm1.f64 (*.f64 x #s(literal 3 binary64))) (fma.f64 (exp.f64 x) (exp.f64 x) (-.f64 (exp.f64 x) #s(literal -1 binary64))))
(neg.f64 (neg.f64 (expm1.f64 x)))
(fma.f64 #s(literal 1 binary64) (exp.f64 x) #s(literal -1 binary64))
(fma.f64 (exp.f64 x) #s(literal 1 binary64) #s(literal -1 binary64))
(expm1.f64 (+.f64 x #s(literal 0 binary64)))
(expm1.f64 x)
(-.f64 (/.f64 (pow.f64 (exp.f64 x) #s(literal 2 binary64)) (-.f64 (exp.f64 x) #s(literal -1 binary64))) (/.f64 #s(literal 1 binary64) (-.f64 (exp.f64 x) #s(literal -1 binary64))))
(-.f64 (/.f64 (pow.f64 (exp.f64 x) #s(literal 3 binary64)) (fma.f64 (exp.f64 x) (exp.f64 x) (-.f64 (exp.f64 x) #s(literal -1 binary64)))) (/.f64 #s(literal 1 binary64) (fma.f64 (exp.f64 x) (exp.f64 x) (-.f64 (exp.f64 x) #s(literal -1 binary64)))))
(-.f64 (exp.f64 x) #s(literal 1 binary64))
(+.f64 #s(literal -1 binary64) (exp.f64 x))
(+.f64 (cosh.f64 x) (-.f64 (sinh.f64 x) #s(literal 1 binary64)))
(+.f64 (cosh.f64 x) (+.f64 (sinh.f64 x) #s(literal -1 binary64)))
(+.f64 (exp.f64 x) #s(literal -1 binary64))
(*.f64 #s(literal 1 binary64) (exp.f64 x))
(*.f64 (exp.f64 x) #s(literal 1 binary64))
(/.f64 (-.f64 (*.f64 (cosh.f64 x) (cosh.f64 x)) (*.f64 (sinh.f64 x) (sinh.f64 x))) (-.f64 (cosh.f64 x) (sinh.f64 x)))
(/.f64 (+.f64 (pow.f64 (cosh.f64 x) #s(literal 3 binary64)) (pow.f64 (sinh.f64 x) #s(literal 3 binary64))) (fma.f64 (cosh.f64 x) (cosh.f64 x) (-.f64 (*.f64 (sinh.f64 x) (sinh.f64 x)) (*.f64 (cosh.f64 x) (sinh.f64 x)))))
(exp.f64 (+.f64 x #s(literal 0 binary64)))
(exp.f64 x)
(+.f64 (sinh.f64 x) (cosh.f64 x))
(+.f64 (cosh.f64 x) (sinh.f64 x))
x
#s(literal 1 binary64)

eval2.0ms (0.3%)

Memory
6.0MiB live, 6.0MiB allocated; 0ms collecting garbage
Compiler

Compiled 229 to 72 computations (68.6% saved)

prune1.0ms (0.1%)

Memory
2.3MiB live, 2.3MiB allocated; 0ms collecting garbage
Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New22123
Fresh000
Picked101
Done000
Total23124
Accuracy
100.0%
Counts
24 → 1
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
(expm1.f64 x)
Compiler

Compiled 2 to 2 computations (0% saved)

rewrite37.0ms (5.5%)

Memory
13.7MiB live, 63.0MiB allocated; 8ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
023
053
1293
02133
Stop Event
iter-limit
iter-limit
iter-limit
unsound
iter-limit
Counts
2 → 18
Calls
Call 1
Inputs
(expm1.f64 x)
x
Outputs
(/.f64 (neg.f64 (expm1.f64 (+.f64 x x))) (neg.f64 (-.f64 (exp.f64 x) #s(literal -1 binary64))))
(/.f64 (neg.f64 (expm1.f64 (*.f64 x #s(literal 3 binary64)))) (neg.f64 (fma.f64 (exp.f64 x) (exp.f64 x) (-.f64 (exp.f64 x) #s(literal -1 binary64)))))
(/.f64 (expm1.f64 (+.f64 x x)) (-.f64 (exp.f64 x) #s(literal -1 binary64)))
(/.f64 (expm1.f64 (*.f64 x #s(literal 3 binary64))) (fma.f64 (exp.f64 x) (exp.f64 x) (-.f64 #s(literal 1 binary64) (*.f64 (exp.f64 x) #s(literal -1 binary64)))))
(/.f64 (expm1.f64 (*.f64 x #s(literal 3 binary64))) (fma.f64 (exp.f64 x) (exp.f64 x) (-.f64 (exp.f64 x) #s(literal -1 binary64))))
(neg.f64 (neg.f64 (expm1.f64 x)))
(fma.f64 #s(literal 1 binary64) (exp.f64 x) #s(literal -1 binary64))
(fma.f64 (exp.f64 x) #s(literal 1 binary64) #s(literal -1 binary64))
(expm1.f64 (+.f64 x #s(literal 0 binary64)))
(expm1.f64 x)
(-.f64 (/.f64 (pow.f64 (exp.f64 x) #s(literal 2 binary64)) (-.f64 (exp.f64 x) #s(literal -1 binary64))) (/.f64 #s(literal 1 binary64) (-.f64 (exp.f64 x) #s(literal -1 binary64))))
(-.f64 (/.f64 (pow.f64 (exp.f64 x) #s(literal 3 binary64)) (fma.f64 (exp.f64 x) (exp.f64 x) (-.f64 (exp.f64 x) #s(literal -1 binary64)))) (/.f64 #s(literal 1 binary64) (fma.f64 (exp.f64 x) (exp.f64 x) (-.f64 (exp.f64 x) #s(literal -1 binary64)))))
(-.f64 (exp.f64 x) #s(literal 1 binary64))
(+.f64 #s(literal -1 binary64) (exp.f64 x))
(+.f64 (cosh.f64 x) (-.f64 (sinh.f64 x) #s(literal 1 binary64)))
(+.f64 (cosh.f64 x) (+.f64 (sinh.f64 x) #s(literal -1 binary64)))
(+.f64 (exp.f64 x) #s(literal -1 binary64))
x

eval2.0ms (0.2%)

Memory
3.4MiB live, 3.4MiB allocated; 0ms collecting garbage
Compiler

Compiled 152 to 49 computations (67.8% saved)

prune3.0ms (0.5%)

Memory
-40.7MiB live, 6.0MiB allocated; 3ms collecting garbage
Pruning

1 alts after pruning (0 fresh and 1 done)

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

Compiled 8 to 7 computations (12.5% saved)

regimes3.0ms (0.5%)

Memory
7.8MiB live, 7.8MiB allocated; 0ms collecting garbage
Accuracy

Total -58.6b remaining (-∞%)

Threshold costs -58.6b (-∞%)

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%1(exp.f64 x)
100.0%1(-.f64 (exp.f64 x) #s(literal 1 binary64))
100.0%1x
Compiler

Compiled 7 to 7 computations (0% saved)

derivations1.0ms (0.2%)

Memory
1.8MiB live, 1.8MiB allocated; 0ms collecting garbage
Stop Event
done
Compiler

Compiled 2 to 2 computations (0% saved)

preprocess11.0ms (1.7%)

Memory
29.7MiB live, 29.7MiB allocated; 0ms collecting garbage
Compiler

Compiled 16 to 16 computations (0% saved)

end0.0ms (0%)

Memory
0.0MiB live, 0.0MiB allocated; 0ms collecting garbage

Profiling

Loading profile data...