expm1 (example 3.7)

Time bar (total: 1.1s)

start0.0ms (0%)

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

analyze0.0ms (0%)

Memory
0.3MiB live, 0.3MiB 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)

sample424.0ms (38.8%)

Memory
-5.1MiB live, 672.5MiB allocated; 104ms collecting garbage
Samples
218.0ms8 256×0valid
Precisions
Click to see histograms. Total time spent on operations: 92.0ms
ival-expm1: 90.0ms (98.3% of total)
adjust: 1.0ms (1.1% of total)
Bogosity

explain64.0ms (5.9%)

Memory
27.0MiB live, 117.1MiB allocated; 8ms collecting garbage
FPErrors
Click to see full error table
Ground TruthOverpredictionsExampleUnderpredictionsExampleSubexpression
2560-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))cancellation2560
Confusion
Predicted +Predicted -
+2560
-00
Precision
1.0
Recall
1.0
Confusion?
Predicted +Predicted MaybePredicted -
+25600
-000
Precision?
1.0
Recall?
1.0
Freqs
test
numberfreq
1256
Total Confusion?
Predicted +Predicted MaybePredicted -
+100
-000
Precision?
1.0
Recall?
1.0
Samples
31.0ms512×0valid
Compiler

Compiled 24 to 16 computations (33.3% saved)

Precisions
Click to see histograms. Total time spent on operations: 22.0ms
ival-expm1: 18.0ms (83.3% of total)
ival-exp: 4.0ms (18.5% of total)
adjust: 0.0ms (0% of total)

preprocess114.0ms (10.5%)

Memory
-32.7MiB live, 58.6MiB allocated; 42ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0815
11815
24215
314915
471815
5796515
Stop Event
node-limit
Alt Table
Click to see full alt table
StatusAccuracyProgram
8.3%
(-.f64 (exp.f64 x) #s(literal 1 binary64))
Compiler

Compiled 8 to 8 computations (0% saved)

series1.0ms (0.1%)

Memory
4.2MiB live, 4.2MiB allocated; 0ms collecting garbage
Counts
4 → 11
Calls
Call 1
Inputs
(-.f64 (exp.f64 x) #s(literal 1 binary64))
(exp.f64 x)
x
#s(literal 1 binary64)
Outputs
#s(approx (- (exp x) 1) #s(hole binary64 x))
#s(approx (- (exp x) 1) #s(hole binary64 (* x (+ 1 (* 1/2 x)))))
#s(approx (- (exp x) 1) #s(hole binary64 (* x (+ 1 (* x (+ 1/2 (* 1/6 x)))))))
#s(approx (- (exp x) 1) #s(hole binary64 (* x (+ 1 (* x (+ 1/2 (* x (+ 1/6 (* 1/24 x)))))))))
#s(approx (exp x) #s(hole binary64 1))
#s(approx (exp x) #s(hole binary64 (+ 1 x)))
#s(approx (exp x) #s(hole binary64 (+ 1 (* x (+ 1 (* 1/2 x))))))
#s(approx (exp x) #s(hole binary64 (+ 1 (* x (+ 1 (* x (+ 1/2 (* 1/6 x))))))))
#s(approx x #s(hole binary64 x))
#s(approx (- (exp x) 1) #s(hole binary64 (- (exp x) 1)))
#s(approx (exp x) #s(hole binary64 (exp x)))
Calls

3 calls:

TimeVariablePointExpression
0.0ms
x
@-inf
((- (exp x) 1) (exp x) x 1)
0.0ms
x
@inf
((- (exp x) 1) (exp x) x 1)
0.0ms
x
@0
((- (exp x) 1) (exp x) x 1)

rewrite212.0ms (19.4%)

Memory
17.1MiB live, 248.9MiB allocated; 45ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
038117
040117
1226117
22046117
0891592
Stop Event
iter-limit
node-limit
iter-limit
Counts
15 → 63
Calls
Call 1
Inputs
(-.f64 (exp.f64 x) #s(literal 1 binary64))
(exp.f64 x)
x
#s(literal 1 binary64)
#s(approx (- (exp x) 1) #s(hole binary64 x))
#s(approx (- (exp x) 1) #s(hole binary64 (* x (+ 1 (* 1/2 x)))))
#s(approx (- (exp x) 1) #s(hole binary64 (* x (+ 1 (* x (+ 1/2 (* 1/6 x)))))))
#s(approx (- (exp x) 1) #s(hole binary64 (* x (+ 1 (* x (+ 1/2 (* x (+ 1/6 (* 1/24 x)))))))))
#s(approx (exp x) #s(hole binary64 1))
#s(approx (exp x) #s(hole binary64 (+ 1 x)))
#s(approx (exp x) #s(hole binary64 (+ 1 (* x (+ 1 (* 1/2 x))))))
#s(approx (exp x) #s(hole binary64 (+ 1 (* x (+ 1 (* x (+ 1/2 (* 1/6 x))))))))
#s(approx x #s(hole binary64 x))
#s(approx (- (exp x) 1) #s(hole binary64 (- (exp x) 1)))
#s(approx (exp x) #s(hole binary64 (exp x)))
Outputs
(*.f64 (/.f64 (-.f64 (exp.f64 x) #s(literal -1 binary64)) (-.f64 (exp.f64 x) #s(literal -1 binary64))) (/.f64 (expm1.f64 x) #s(literal 1 binary64)))
(*.f64 (/.f64 (-.f64 (exp.f64 x) #s(literal -1 binary64)) #s(literal 1 binary64)) (/.f64 (expm1.f64 x) (-.f64 (exp.f64 x) #s(literal -1 binary64))))
(/.f64 (-.f64 (pow.f64 (/.f64 (exp.f64 (+.f64 x x)) (-.f64 (exp.f64 x) #s(literal -1 binary64))) #s(literal 3 binary64)) (pow.f64 (/.f64 #s(literal 1 binary64) (-.f64 (exp.f64 x) #s(literal -1 binary64))) #s(literal 3 binary64))) (fma.f64 (/.f64 (exp.f64 (+.f64 x x)) (-.f64 (exp.f64 x) #s(literal -1 binary64))) (/.f64 (exp.f64 (+.f64 x x)) (-.f64 (exp.f64 x) #s(literal -1 binary64))) (fma.f64 (/.f64 #s(literal 1 binary64) (-.f64 (exp.f64 x) #s(literal -1 binary64))) (/.f64 #s(literal 1 binary64) (-.f64 (exp.f64 x) #s(literal -1 binary64))) (*.f64 (/.f64 (exp.f64 (+.f64 x x)) (-.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 (/.f64 (exp.f64 (*.f64 x #s(literal 3 binary64))) (+.f64 (-.f64 (exp.f64 x) #s(literal -1 binary64)) (exp.f64 (+.f64 x x)))) #s(literal 3 binary64)) (pow.f64 (/.f64 #s(literal 1 binary64) (+.f64 (-.f64 (exp.f64 x) #s(literal -1 binary64)) (exp.f64 (+.f64 x x)))) #s(literal 3 binary64))) (fma.f64 (/.f64 (exp.f64 (*.f64 x #s(literal 3 binary64))) (+.f64 (-.f64 (exp.f64 x) #s(literal -1 binary64)) (exp.f64 (+.f64 x x)))) (/.f64 (exp.f64 (*.f64 x #s(literal 3 binary64))) (+.f64 (-.f64 (exp.f64 x) #s(literal -1 binary64)) (exp.f64 (+.f64 x x)))) (fma.f64 (/.f64 #s(literal 1 binary64) (+.f64 (-.f64 (exp.f64 x) #s(literal -1 binary64)) (exp.f64 (+.f64 x x)))) (/.f64 #s(literal 1 binary64) (+.f64 (-.f64 (exp.f64 x) #s(literal -1 binary64)) (exp.f64 (+.f64 x x)))) (*.f64 (/.f64 (exp.f64 (*.f64 x #s(literal 3 binary64))) (+.f64 (-.f64 (exp.f64 x) #s(literal -1 binary64)) (exp.f64 (+.f64 x x)))) (/.f64 #s(literal 1 binary64) (+.f64 (-.f64 (exp.f64 x) #s(literal -1 binary64)) (exp.f64 (+.f64 x x))))))))
(/.f64 (+.f64 (pow.f64 (cosh.f64 x) #s(literal 3 binary64)) (pow.f64 (-.f64 (sinh.f64 x) #s(literal 1 binary64)) #s(literal 3 binary64))) (fma.f64 (cosh.f64 x) (cosh.f64 x) (-.f64 (*.f64 (-.f64 (sinh.f64 x) #s(literal 1 binary64)) (-.f64 (sinh.f64 x) #s(literal 1 binary64))) (*.f64 (cosh.f64 x) (-.f64 (sinh.f64 x) #s(literal 1 binary64))))))
(/.f64 (neg.f64 (neg.f64 (expm1.f64 (+.f64 x x)))) (neg.f64 (neg.f64 (-.f64 (exp.f64 x) #s(literal -1 binary64)))))
(/.f64 (neg.f64 (neg.f64 (expm1.f64 (*.f64 x #s(literal 3 binary64))))) (neg.f64 (neg.f64 (+.f64 (-.f64 (exp.f64 x) #s(literal -1 binary64)) (exp.f64 (+.f64 x x))))))
(/.f64 (-.f64 (*.f64 (exp.f64 (+.f64 x x)) (-.f64 (exp.f64 x) #s(literal -1 binary64))) (-.f64 (exp.f64 x) #s(literal -1 binary64))) (*.f64 (-.f64 (exp.f64 x) #s(literal -1 binary64)) (-.f64 (exp.f64 x) #s(literal -1 binary64))))
(/.f64 (-.f64 (*.f64 (exp.f64 (*.f64 x #s(literal 3 binary64))) (+.f64 (-.f64 (exp.f64 x) #s(literal -1 binary64)) (exp.f64 (+.f64 x x)))) (*.f64 (+.f64 (-.f64 (exp.f64 x) #s(literal -1 binary64)) (exp.f64 (+.f64 x x))) #s(literal 1 binary64))) (*.f64 (+.f64 (-.f64 (exp.f64 x) #s(literal -1 binary64)) (exp.f64 (+.f64 x x))) (+.f64 (-.f64 (exp.f64 x) #s(literal -1 binary64)) (exp.f64 (+.f64 x x)))))
(/.f64 (-.f64 #s(literal 2 binary64) (*.f64 (exp.f64 (neg.f64 x)) #s(literal 2 binary64))) (*.f64 (exp.f64 (neg.f64 x)) #s(literal 2 binary64)))
(/.f64 (-.f64 (*.f64 (+.f64 (pow.f64 (cosh.f64 x) #s(literal 3 binary64)) (pow.f64 (sinh.f64 x) #s(literal 3 binary64))) #s(literal 2 binary64)) (*.f64 (fma.f64 (cosh.f64 x) (cosh.f64 x) (-.f64 (*.f64 (sinh.f64 x) (sinh.f64 x)) (*.f64 (cosh.f64 x) (sinh.f64 x)))) #s(literal 2 binary64))) (*.f64 (fma.f64 (cosh.f64 x) (cosh.f64 x) (-.f64 (*.f64 (sinh.f64 x) (sinh.f64 x)) (*.f64 (cosh.f64 x) (sinh.f64 x)))) #s(literal 2 binary64)))
(/.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 (+.f64 (-.f64 (exp.f64 x) #s(literal -1 binary64)) (exp.f64 (+.f64 x x)))))
(/.f64 (expm1.f64 (+.f64 x x)) (-.f64 (exp.f64 x) #s(literal -1 binary64)))
(/.f64 (expm1.f64 (*.f64 x #s(literal 3 binary64))) (+.f64 (exp.f64 (+.f64 x x)) (-.f64 #s(literal 1 binary64) (*.f64 (exp.f64 x) #s(literal -1 binary64)))))
(/.f64 (expm1.f64 (*.f64 x #s(literal 3 binary64))) (+.f64 (-.f64 (exp.f64 x) #s(literal -1 binary64)) (exp.f64 (+.f64 x x))))
(fma.f64 (/.f64 (neg.f64 (exp.f64 x)) (-.f64 (exp.f64 x) #s(literal -1 binary64))) (/.f64 (neg.f64 (exp.f64 x)) #s(literal 1 binary64)) (/.f64 #s(literal -1 binary64) (-.f64 (exp.f64 x) #s(literal -1 binary64))))
(fma.f64 (/.f64 (neg.f64 (exp.f64 x)) #s(literal 1 binary64)) (/.f64 (neg.f64 (exp.f64 x)) (-.f64 (exp.f64 x) #s(literal -1 binary64))) (/.f64 #s(literal -1 binary64) (-.f64 (exp.f64 x) #s(literal -1 binary64))))
(fma.f64 (/.f64 (fabs.f64 (exp.f64 x)) (-.f64 (exp.f64 x) #s(literal -1 binary64))) (/.f64 (fabs.f64 (exp.f64 x)) #s(literal 1 binary64)) (/.f64 #s(literal -1 binary64) (-.f64 (exp.f64 x) #s(literal -1 binary64))))
(fma.f64 (/.f64 (fabs.f64 (exp.f64 x)) #s(literal 1 binary64)) (/.f64 (fabs.f64 (exp.f64 x)) (-.f64 (exp.f64 x) #s(literal -1 binary64))) (/.f64 #s(literal -1 binary64) (-.f64 (exp.f64 x) #s(literal -1 binary64))))
(fma.f64 (/.f64 (exp.f64 x) (-.f64 (exp.f64 x) #s(literal -1 binary64))) (/.f64 (exp.f64 x) #s(literal 1 binary64)) (/.f64 #s(literal -1 binary64) (-.f64 (exp.f64 x) #s(literal -1 binary64))))
(fma.f64 (/.f64 (exp.f64 x) #s(literal 1 binary64)) (/.f64 (exp.f64 x) (-.f64 (exp.f64 x) #s(literal -1 binary64))) (/.f64 #s(literal -1 binary64) (-.f64 (exp.f64 x) #s(literal -1 binary64))))
(fma.f64 (exp.f64 x) #s(literal 1 binary64) #s(literal -1 binary64))
(fma.f64 #s(literal 1 binary64) (exp.f64 x) #s(literal -1 binary64))
(expm1.f64 x)
(-.f64 (/.f64 (exp.f64 (+.f64 x x)) (-.f64 (exp.f64 x) #s(literal -1 binary64))) (/.f64 #s(literal 1 binary64) (-.f64 (exp.f64 x) #s(literal -1 binary64))))
(-.f64 (/.f64 (exp.f64 (*.f64 x #s(literal 3 binary64))) (+.f64 (-.f64 (exp.f64 x) #s(literal -1 binary64)) (exp.f64 (+.f64 x x)))) (/.f64 #s(literal 1 binary64) (+.f64 (-.f64 (exp.f64 x) #s(literal -1 binary64)) (exp.f64 (+.f64 x x)))))
(-.f64 (exp.f64 x) #s(literal 1 binary64))
(+.f64 (/.f64 (exp.f64 (+.f64 x x)) (-.f64 (exp.f64 x) #s(literal -1 binary64))) (/.f64 #s(literal -1 binary64) (-.f64 (exp.f64 x) #s(literal -1 binary64))))
(+.f64 (/.f64 (exp.f64 (*.f64 x #s(literal 3 binary64))) (+.f64 (-.f64 (exp.f64 x) #s(literal -1 binary64)) (exp.f64 (+.f64 x x)))) (/.f64 #s(literal -1 binary64) (+.f64 (-.f64 (exp.f64 x) #s(literal -1 binary64)) (exp.f64 (+.f64 x x)))))
(+.f64 (cosh.f64 x) (-.f64 (sinh.f64 x) #s(literal 1 binary64)))
(+.f64 (exp.f64 x) #s(literal -1 binary64))
(*.f64 (exp.f64 x) #s(literal 1 binary64))
(*.f64 #s(literal 1 binary64) (exp.f64 x))
(pow.f64 (exp.f64 #s(literal 1 binary64)) x)
(pow.f64 (exp.f64 x) #s(literal 1 binary64))
(/.f64 (+.f64 (pow.f64 (sinh.f64 x) #s(literal 3 binary64)) (pow.f64 (cosh.f64 x) #s(literal 3 binary64))) (fma.f64 (sinh.f64 x) (sinh.f64 x) (-.f64 (*.f64 (cosh.f64 x) (cosh.f64 x)) (*.f64 (sinh.f64 x) (cosh.f64 x)))))
(/.f64 (fma.f64 #s(literal 2 binary64) (sinh.f64 x) (*.f64 #s(literal 2 binary64) (cosh.f64 x))) #s(literal 2 binary64))
(/.f64 (fma.f64 #s(literal 2 binary64) (cosh.f64 x) (*.f64 #s(literal 2 binary64) (sinh.f64 x))) #s(literal 2 binary64))
(/.f64 (neg.f64 (+.f64 (pow.f64 (cosh.f64 x) #s(literal 3 binary64)) (pow.f64 (sinh.f64 x) #s(literal 3 binary64)))) (neg.f64 (fma.f64 (cosh.f64 x) (cosh.f64 x) (-.f64 (*.f64 (sinh.f64 x) (sinh.f64 x)) (*.f64 (cosh.f64 x) (sinh.f64 x))))))
(/.f64 (fma.f64 (*.f64 #s(literal 2 binary64) (sinh.f64 x)) #s(literal 2 binary64) (*.f64 #s(literal 2 binary64) (*.f64 #s(literal 2 binary64) (cosh.f64 x)))) #s(literal 4 binary64))
(/.f64 (fma.f64 (*.f64 #s(literal 2 binary64) (cosh.f64 x)) #s(literal 2 binary64) (*.f64 #s(literal 2 binary64) (*.f64 #s(literal 2 binary64) (sinh.f64 x)))) #s(literal 4 binary64))
(/.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)))))
(/.f64 #s(literal -1 binary64) (neg.f64 (exp.f64 (neg.f64 x))))
(/.f64 #s(literal 1 binary64) (exp.f64 (neg.f64 x)))
(-.f64 (/.f64 (*.f64 (cosh.f64 x) (cosh.f64 x)) (exp.f64 (neg.f64 x))) (/.f64 (*.f64 (sinh.f64 x) (sinh.f64 x)) (exp.f64 (neg.f64 x))))
(exp.f64 x)
(+.f64 (/.f64 (pow.f64 (cosh.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))))) (/.f64 (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))))))
(+.f64 (sinh.f64 x) (cosh.f64 x))
(+.f64 (cosh.f64 x) (sinh.f64 x))
x
#s(literal 1 binary64)
#s(approx (- (exp x) 1) x)
#s(approx (- (exp x) 1) (*.f64 (fma.f64 #s(literal 1/2 binary64) x #s(literal 1 binary64)) x))
#s(approx (- (exp x) 1) (*.f64 (fma.f64 (fma.f64 #s(literal 1/6 binary64) x #s(literal 1/2 binary64)) x #s(literal 1 binary64)) x))
#s(approx (- (exp x) 1) (*.f64 (fma.f64 (fma.f64 (fma.f64 #s(literal 1/24 binary64) x #s(literal 1/6 binary64)) x #s(literal 1/2 binary64)) x #s(literal 1 binary64)) x))
#s(approx (exp x) #s(literal 1 binary64))
#s(approx (exp x) (-.f64 x #s(literal -1 binary64)))
#s(approx (exp x) (fma.f64 (fma.f64 #s(literal 1/2 binary64) x #s(literal 1 binary64)) x #s(literal 1 binary64)))
#s(approx (exp x) (fma.f64 (fma.f64 (fma.f64 #s(literal 1/6 binary64) x #s(literal 1/2 binary64)) x #s(literal 1 binary64)) x #s(literal 1 binary64)))
#s(approx x x)
#s(approx (- (exp x) 1) (expm1.f64 x))
#s(approx (exp x) (exp.f64 x))

eval6.0ms (0.6%)

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

Compiled 1 062 to 208 computations (80.4% saved)

prune2.0ms (0.2%)

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

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New56359
Fresh000
Picked101
Done000
Total57360
Accuracy
100.0%
Counts
60 → 3
Alt Table
Click to see full alt table
StatusAccuracyProgram
7.4%
(-.f64 #s(approx (exp x) (-.f64 x #s(literal -1 binary64))) #s(literal 1 binary64))
100.0%
(expm1.f64 x)
98.0%
#s(approx (- (exp x) 1) x)
Compiler

Compiled 16 to 14 computations (12.5% saved)

series1.0ms (0.1%)

Memory
1.8MiB live, 1.8MiB allocated; 0ms collecting garbage
Counts
8 → 15
Calls
Call 1
Inputs
#s(approx (- (exp x) 1) x)
x
(expm1.f64 x)
(-.f64 #s(approx (exp x) (-.f64 x #s(literal -1 binary64))) #s(literal 1 binary64))
#s(approx (exp x) (-.f64 x #s(literal -1 binary64)))
(-.f64 x #s(literal -1 binary64))
#s(literal -1 binary64)
#s(literal 1 binary64)
Outputs
#s(approx (- (exp x) 1) #s(hole binary64 x))
#s(approx (- (exp x) 1) #s(hole binary64 (* x (+ 1 (* 1/2 x)))))
#s(approx (- (exp x) 1) #s(hole binary64 (* x (+ 1 (* x (+ 1/2 (* 1/6 x)))))))
#s(approx (- (exp x) 1) #s(hole binary64 (* x (+ 1 (* x (+ 1/2 (* x (+ 1/6 (* 1/24 x)))))))))
#s(approx x #s(hole binary64 x))
#s(approx (exp x) #s(hole binary64 1))
#s(approx (exp x) #s(hole binary64 (+ 1 x)))
#s(approx (exp x) #s(hole binary64 (+ 1 (* x (+ 1 (* 1/2 x))))))
#s(approx (exp x) #s(hole binary64 (+ 1 (* x (+ 1 (* x (+ 1/2 (* 1/6 x))))))))
#s(approx (- x -1) #s(hole binary64 1))
#s(approx (- x -1) #s(hole binary64 (+ 1 x)))
#s(approx (- (exp x) 1) #s(hole binary64 (- (exp x) 1)))
#s(approx (exp x) #s(hole binary64 (exp x)))
#s(approx (- x -1) #s(hole binary64 x))
#s(approx (- x -1) #s(hole binary64 (* x (+ 1 (/ 1 x)))))
Calls

3 calls:

TimeVariablePointExpression
0.0ms
x
@-inf
((- (exp x) 1) x (- (exp x) 1) (- (exp x) 1) (exp x) (- x -1) -1 1)
0.0ms
x
@inf
((- (exp x) 1) x (- (exp x) 1) (- (exp x) 1) (exp x) (- x -1) -1 1)
0.0ms
x
@0
((- (exp x) 1) x (- (exp x) 1) (- (exp x) 1) (exp x) (- x -1) -1 1)

rewrite88.0ms (8.1%)

Memory
-4.2MiB live, 86.7MiB allocated; 7ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
049151
051147
1276147
02496136
Stop Event
iter-limit
iter-limit
node-limit
iter-limit
Counts
23 → 76
Calls
Call 1
Inputs
#s(approx (- (exp x) 1) x)
x
(expm1.f64 x)
(-.f64 #s(approx (exp x) (-.f64 x #s(literal -1 binary64))) #s(literal 1 binary64))
#s(approx (exp x) (-.f64 x #s(literal -1 binary64)))
(-.f64 x #s(literal -1 binary64))
#s(literal -1 binary64)
#s(literal 1 binary64)
#s(approx (- (exp x) 1) #s(hole binary64 x))
#s(approx (- (exp x) 1) #s(hole binary64 (* x (+ 1 (* 1/2 x)))))
#s(approx (- (exp x) 1) #s(hole binary64 (* x (+ 1 (* x (+ 1/2 (* 1/6 x)))))))
#s(approx (- (exp x) 1) #s(hole binary64 (* x (+ 1 (* x (+ 1/2 (* x (+ 1/6 (* 1/24 x)))))))))
#s(approx x #s(hole binary64 x))
#s(approx (exp x) #s(hole binary64 1))
#s(approx (exp x) #s(hole binary64 (+ 1 x)))
#s(approx (exp x) #s(hole binary64 (+ 1 (* x (+ 1 (* 1/2 x))))))
#s(approx (exp x) #s(hole binary64 (+ 1 (* x (+ 1 (* x (+ 1/2 (* 1/6 x))))))))
#s(approx (- x -1) #s(hole binary64 1))
#s(approx (- x -1) #s(hole binary64 (+ 1 x)))
#s(approx (- (exp x) 1) #s(hole binary64 (- (exp x) 1)))
#s(approx (exp x) #s(hole binary64 (exp x)))
#s(approx (- x -1) #s(hole binary64 x))
#s(approx (- x -1) #s(hole binary64 (* x (+ 1 (/ 1 x)))))
Outputs
#s(approx (- (exp x) 1) x)
x
(/.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 (+.f64 (-.f64 (exp.f64 x) #s(literal -1 binary64)) (exp.f64 (+.f64 x x)))))
(/.f64 (expm1.f64 (+.f64 x x)) (-.f64 (exp.f64 x) #s(literal -1 binary64)))
(/.f64 (expm1.f64 (*.f64 x #s(literal 3 binary64))) (+.f64 (-.f64 (exp.f64 x) #s(literal -1 binary64)) (exp.f64 (+.f64 x x))))
(fma.f64 (*.f64 (exp.f64 x) #s(literal -1 binary64)) #s(literal -1 binary64) #s(literal -1 binary64))
(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 (exp.f64 (+.f64 x x)) (-.f64 (exp.f64 x) #s(literal -1 binary64))) (/.f64 #s(literal 1 binary64) (-.f64 (exp.f64 x) #s(literal -1 binary64))))
(-.f64 (/.f64 (exp.f64 (*.f64 x #s(literal 3 binary64))) (+.f64 (-.f64 (exp.f64 x) #s(literal -1 binary64)) (exp.f64 (+.f64 x x)))) (/.f64 #s(literal 1 binary64) (+.f64 (-.f64 (exp.f64 x) #s(literal -1 binary64)) (exp.f64 (+.f64 x x)))))
(-.f64 (exp.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 (neg.f64 (fma.f64 #s(approx (exp x) (-.f64 x #s(literal -1 binary64))) #s(approx (exp x) (-.f64 x #s(literal -1 binary64))) #s(literal -1 binary64))) (neg.f64 (-.f64 #s(approx (exp x) (-.f64 x #s(literal -1 binary64))) #s(literal -1 binary64))))
(/.f64 (neg.f64 (fma.f64 (*.f64 #s(approx (exp x) (-.f64 x #s(literal -1 binary64))) #s(approx (exp x) (-.f64 x #s(literal -1 binary64)))) #s(approx (exp x) (-.f64 x #s(literal -1 binary64))) #s(literal -1 binary64))) (neg.f64 (fma.f64 #s(approx (exp x) (-.f64 x #s(literal -1 binary64))) #s(approx (exp x) (-.f64 x #s(literal -1 binary64))) (-.f64 #s(approx (exp x) (-.f64 x #s(literal -1 binary64))) #s(literal -1 binary64)))))
(/.f64 (fma.f64 #s(approx (exp x) (-.f64 x #s(literal -1 binary64))) #s(approx (exp x) (-.f64 x #s(literal -1 binary64))) #s(literal -1 binary64)) (-.f64 #s(approx (exp x) (-.f64 x #s(literal -1 binary64))) #s(literal -1 binary64)))
(/.f64 (fma.f64 (*.f64 #s(approx (exp x) (-.f64 x #s(literal -1 binary64))) #s(approx (exp x) (-.f64 x #s(literal -1 binary64)))) #s(approx (exp x) (-.f64 x #s(literal -1 binary64))) #s(literal -1 binary64)) (fma.f64 #s(approx (exp x) (-.f64 x #s(literal -1 binary64))) #s(approx (exp x) (-.f64 x #s(literal -1 binary64))) (-.f64 #s(approx (exp x) (-.f64 x #s(literal -1 binary64))) #s(literal -1 binary64))))
(fma.f64 (*.f64 #s(approx (exp x) (-.f64 x #s(literal -1 binary64))) #s(literal -1 binary64)) #s(literal -1 binary64) #s(literal -1 binary64))
(fma.f64 #s(approx (exp x) (-.f64 x #s(literal -1 binary64))) #s(literal 1 binary64) #s(literal -1 binary64))
(fma.f64 #s(literal 1 binary64) #s(approx (exp x) (-.f64 x #s(literal -1 binary64))) #s(literal -1 binary64))
(-.f64 (/.f64 (*.f64 #s(approx (exp x) (-.f64 x #s(literal -1 binary64))) #s(approx (exp x) (-.f64 x #s(literal -1 binary64)))) (-.f64 #s(approx (exp x) (-.f64 x #s(literal -1 binary64))) #s(literal -1 binary64))) (/.f64 #s(literal 1 binary64) (-.f64 #s(approx (exp x) (-.f64 x #s(literal -1 binary64))) #s(literal -1 binary64))))
(-.f64 (/.f64 (*.f64 (*.f64 #s(approx (exp x) (-.f64 x #s(literal -1 binary64))) #s(approx (exp x) (-.f64 x #s(literal -1 binary64)))) #s(approx (exp x) (-.f64 x #s(literal -1 binary64)))) (fma.f64 #s(approx (exp x) (-.f64 x #s(literal -1 binary64))) #s(approx (exp x) (-.f64 x #s(literal -1 binary64))) (-.f64 #s(approx (exp x) (-.f64 x #s(literal -1 binary64))) #s(literal -1 binary64)))) (/.f64 #s(literal 1 binary64) (fma.f64 #s(approx (exp x) (-.f64 x #s(literal -1 binary64))) #s(approx (exp x) (-.f64 x #s(literal -1 binary64))) (-.f64 #s(approx (exp x) (-.f64 x #s(literal -1 binary64))) #s(literal -1 binary64)))))
(-.f64 #s(approx (exp x) (-.f64 x #s(literal -1 binary64))) #s(literal 1 binary64))
(+.f64 #s(approx (exp x) (-.f64 x #s(literal -1 binary64))) #s(literal -1 binary64))
(*.f64 (*.f64 #s(approx (exp x) (-.f64 x #s(literal -1 binary64))) #s(literal -1 binary64)) #s(literal -1 binary64))
(*.f64 #s(approx (exp x) (-.f64 x #s(literal -1 binary64))) #s(literal 1 binary64))
(*.f64 #s(literal 1 binary64) #s(approx (exp x) (-.f64 x #s(literal -1 binary64))))
#s(approx (exp x) (-.f64 x #s(literal -1 binary64)))
(*.f64 (-.f64 (/.f64 #s(literal 1 binary64) x) #s(literal -1 binary64)) x)
(*.f64 x (-.f64 (/.f64 #s(literal 1 binary64) x) #s(literal -1 binary64)))
(/.f64 (*.f64 (-.f64 #s(literal 1 binary64) (/.f64 #s(literal 1 binary64) (*.f64 x x))) x) (-.f64 #s(literal 1 binary64) (/.f64 #s(literal 1 binary64) x)))
(/.f64 (*.f64 (+.f64 (/.f64 #s(literal 1 binary64) (*.f64 (*.f64 x x) x)) #s(literal 1 binary64)) x) (fma.f64 (/.f64 #s(literal 1 binary64) x) (-.f64 (/.f64 #s(literal 1 binary64) x) #s(literal 1 binary64)) #s(literal 1 binary64)))
(/.f64 (*.f64 x (-.f64 #s(literal 1 binary64) (/.f64 #s(literal 1 binary64) (*.f64 x x)))) (-.f64 #s(literal 1 binary64) (/.f64 #s(literal 1 binary64) x)))
(/.f64 (*.f64 x (+.f64 (/.f64 #s(literal 1 binary64) (*.f64 (*.f64 x x) x)) #s(literal 1 binary64))) (fma.f64 (/.f64 #s(literal 1 binary64) x) (-.f64 (/.f64 #s(literal 1 binary64) x) #s(literal 1 binary64)) #s(literal 1 binary64)))
(/.f64 (neg.f64 (-.f64 #s(literal 1 binary64) (*.f64 x x))) (neg.f64 (-.f64 #s(literal 1 binary64) x)))
(/.f64 (neg.f64 (fma.f64 (*.f64 x x) x #s(literal 1 binary64))) (neg.f64 (fma.f64 x (-.f64 x #s(literal 1 binary64)) #s(literal 1 binary64))))
(/.f64 (neg.f64 (fma.f64 x x #s(literal -1 binary64))) (neg.f64 (+.f64 #s(literal -1 binary64) x)))
(/.f64 (neg.f64 (-.f64 (*.f64 (*.f64 x x) x) #s(literal -1 binary64))) (neg.f64 (fma.f64 x x (-.f64 #s(literal 1 binary64) x))))
(/.f64 (fma.f64 x x #s(literal -1 binary64)) (-.f64 x #s(literal 1 binary64)))
(/.f64 (fma.f64 x x #s(literal -1 binary64)) (+.f64 #s(literal -1 binary64) x))
(/.f64 (-.f64 #s(literal 1 binary64) (*.f64 x x)) (-.f64 #s(literal 1 binary64) x))
(/.f64 (-.f64 (*.f64 (*.f64 x x) x) #s(literal -1 binary64)) (fma.f64 x x (-.f64 #s(literal 1 binary64) x)))
(/.f64 (fma.f64 (*.f64 x x) x #s(literal 1 binary64)) (fma.f64 x x (-.f64 #s(literal 1 binary64) x)))
(/.f64 (fma.f64 (*.f64 x x) x #s(literal 1 binary64)) (fma.f64 x (-.f64 x #s(literal 1 binary64)) #s(literal 1 binary64)))
(-.f64 (/.f64 #s(literal 1 binary64) (-.f64 #s(literal 1 binary64) x)) (/.f64 (*.f64 x x) (-.f64 #s(literal 1 binary64) x)))
(-.f64 (/.f64 (*.f64 x x) (+.f64 #s(literal -1 binary64) x)) (/.f64 #s(literal 1 binary64) (+.f64 #s(literal -1 binary64) x)))
(-.f64 (/.f64 (*.f64 (*.f64 x x) x) (fma.f64 x x (-.f64 #s(literal 1 binary64) x))) (/.f64 #s(literal -1 binary64) (fma.f64 x x (-.f64 #s(literal 1 binary64) x))))
(-.f64 x (*.f64 (neg.f64 x) (/.f64 #s(literal 1 binary64) x)))
(-.f64 x (*.f64 (neg.f64 (/.f64 #s(literal 1 binary64) x)) x))
(-.f64 x #s(literal -1 binary64))
(+.f64 (/.f64 #s(literal 1 binary64) (fma.f64 x (-.f64 x #s(literal 1 binary64)) #s(literal 1 binary64))) (/.f64 (*.f64 (*.f64 x x) x) (fma.f64 x (-.f64 x #s(literal 1 binary64)) #s(literal 1 binary64))))
(+.f64 #s(literal 1 binary64) x)
(+.f64 x #s(literal 1 binary64))
#s(literal -1 binary64)
#s(literal 1 binary64)
#s(approx (- (exp x) 1) x)
#s(approx (- (exp x) 1) (*.f64 (fma.f64 #s(literal 1/2 binary64) x #s(literal 1 binary64)) x))
#s(approx (- (exp x) 1) (*.f64 (fma.f64 (fma.f64 #s(literal 1/6 binary64) x #s(literal 1/2 binary64)) x #s(literal 1 binary64)) x))
#s(approx (- (exp x) 1) (*.f64 (fma.f64 (fma.f64 (fma.f64 #s(literal 1/24 binary64) x #s(literal 1/6 binary64)) x #s(literal 1/2 binary64)) x #s(literal 1 binary64)) x))
#s(approx x x)
#s(approx (exp x) #s(literal 1 binary64))
(*.f64 (*.f64 #s(approx (exp x) (-.f64 x #s(literal -1 binary64))) #s(literal -1 binary64)) #s(literal -1 binary64))
(*.f64 #s(approx (exp x) (-.f64 x #s(literal -1 binary64))) #s(literal 1 binary64))
(*.f64 #s(literal 1 binary64) #s(approx (exp x) (-.f64 x #s(literal -1 binary64))))
#s(approx (exp x) (-.f64 x #s(literal -1 binary64)))
#s(approx (exp x) (fma.f64 (fma.f64 #s(literal 1/2 binary64) x #s(literal 1 binary64)) x #s(literal 1 binary64)))
#s(approx (exp x) (fma.f64 (fma.f64 (fma.f64 #s(literal 1/6 binary64) x #s(literal 1/2 binary64)) x #s(literal 1 binary64)) x #s(literal 1 binary64)))
#s(approx (- x -1) #s(literal 1 binary64))
#s(approx (- x -1) (-.f64 x #s(literal -1 binary64)))
#s(approx (- (exp x) 1) (expm1.f64 x))
#s(approx (exp x) (exp.f64 x))
#s(approx (- x -1) x)
#s(approx (- x -1) (-.f64 x #s(literal -1 binary64)))

eval6.0ms (0.6%)

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

Compiled 990 to 236 computations (76.2% saved)

prune3.0ms (0.3%)

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

3 alts after pruning (0 fresh and 3 done)

PrunedKeptTotal
New64064
Fresh000
Picked033
Done000
Total64367
Accuracy
100.0%
Counts
67 → 3
Alt Table
Click to see full alt table
StatusAccuracyProgram
7.4%
(-.f64 #s(approx (exp x) (-.f64 x #s(literal -1 binary64))) #s(literal 1 binary64))
100.0%
(expm1.f64 x)
98.0%
#s(approx (- (exp x) 1) x)
Compiler

Compiled 36 to 27 computations (25% saved)

regimes56.0ms (5.1%)

Memory
-50.7MiB live, 15.3MiB allocated; 66ms collecting garbage
Counts
4 → 1
Calls
Call 1
Inputs
#s(approx (- (exp x) 1) x)
(-.f64 #s(approx (exp x) (-.f64 x #s(literal -1 binary64))) #s(literal 1 binary64))
(expm1.f64 x)
(-.f64 (exp.f64 x) #s(literal 1 binary64))
Outputs
(expm1.f64 x)
Calls

3 calls:

53.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)

regimes3.0ms (0.3%)

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

Total -58.0b remaining (-4572%)

Threshold costs -58b (-4572%)

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

3 calls:

1.0ms
x
1.0ms
(-.f64 (exp.f64 x) #s(literal 1 binary64))
1.0ms
(exp.f64 x)
Results
AccuracySegmentsBranch
98.0%1(exp.f64 x)
98.0%1(-.f64 (exp.f64 x) #s(literal 1 binary64))
98.0%1x
Compiler

Compiled 7 to 7 computations (0% saved)

derivations66.0ms (6%)

Memory
18.7MiB live, 69.9MiB allocated; 7ms collecting garbage
Stop Event
done
Compiler

Compiled 8 to 6 computations (25% saved)

preprocess45.0ms (4.1%)

Memory
-19.1MiB live, 27.8MiB allocated; 2ms collecting garbage
Compiler

Compiled 28 to 24 computations (14.3% saved)

end0.0ms (0%)

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

Profiling

Loading profile data...