expq2 (section 3.11)

Time bar (total: 1.1s)

start0.0ms (0%)

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

analyze1.0ms (0.1%)

Memory
2.6MiB live, 2.6MiB allocated; 0ms collecting garbage
Algorithm
search
Search
ProbabilityValidUnknownPreconditionInfiniteDomainCan'tIter
0%0%75.2%24.8%0%0%0%0
0%0%75.2%24.8%0%0%0%1
50%37.6%37.6%24.8%0%0%0%2
75%56.4%18.8%24.8%0%0%0%3
87.5%65.8%9.4%24.8%0%0%0%4
93.8%70.5%4.7%24.8%0%0%0%5
96.9%72.8%2.3%24.8%0%0%0%6
98.4%74%1.2%24.8%0%0%0%7
99.2%74.6%0.6%24.8%0%0%0%8
99.6%74.9%0.3%24.8%0%0%0%9
99.8%75%0.1%24.8%0%0%0%10
99.9%75.1%0.1%24.8%0%0%0%11
100%75.1%0%24.8%0%0%0%12
Compiler

Compiled 11 to 7 computations (36.4% saved)

sample689.0ms (60.5%)

Memory
11.5MiB live, 722.1MiB allocated; 113ms collecting garbage
Samples
491.0ms8 256×0valid
Precisions
Click to see histograms. Total time spent on operations: 315.0ms
ival-exp: 137.0ms (43.5% of total)
ival-expm1: 128.0ms (40.7% of total)
ival-div!: 48.0ms (15.2% of total)
adjust: 2.0ms (0.6% of total)
Bogosity

explain62.0ms (5.4%)

Memory
23.5MiB live, 118.4MiB allocated; 3ms collecting garbage
FPErrors
Click to see full error table
Ground TruthOverpredictionsExampleUnderpredictionsExampleSubexpression
1700-0-(-.f64 (exp.f64 x) #s(literal 1 binary64))
00-0-(/.f64 (exp.f64 x) (-.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))cancellation1701
Confusion
Predicted +Predicted -
+1700
-086
Precision
1.0
Recall
1.0
Confusion?
Predicted +Predicted MaybePredicted -
+17000
-0185
Precision?
0.9941520467836257
Recall?
1.0
Freqs
test
numberfreq
086
1170
Total Confusion?
Predicted +Predicted MaybePredicted -
+100
-000
Precision?
1.0
Recall?
1.0
Samples
21.0ms512×0valid
Compiler

Compiled 41 to 19 computations (53.7% saved)

Precisions
Click to see histograms. Total time spent on operations: 10.0ms
ival-exp: 4.0ms (38.4% of total)
ival-expm1: 3.0ms (28.8% of total)
ival-div!: 3.0ms (28.8% of total)
adjust: 0.0ms (0% of total)

preprocess50.0ms (4.4%)

Memory
-38.2MiB live, 16.5MiB allocated; 35ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01026
12426
27526
324326
4128826
Stop Event
node-limit
Alt Table
Click to see full alt table
StatusAccuracyProgram
37.0%
(/.f64 (exp.f64 x) (-.f64 (exp.f64 x) #s(literal 1 binary64)))
Compiler

Compiled 14 to 10 computations (28.6% saved)

series3.0ms (0.3%)

Memory
4.9MiB live, 4.9MiB allocated; 0ms collecting garbage
Counts
5 → 16
Calls
Call 1
Inputs
(/.f64 (exp.f64 x) (-.f64 (exp.f64 x) #s(literal 1 binary64)))
(exp.f64 x)
x
(-.f64 (exp.f64 x) #s(literal 1 binary64))
#s(literal 1 binary64)
Outputs
#s(approx (/ (exp x) (- (exp x) 1)) #s(hole binary64 (/ 1 x)))
#s(approx (/ (exp x) (- (exp x) 1)) #s(hole binary64 (/ (+ 1 (* 1/2 x)) x)))
#s(approx (/ (exp x) (- (exp x) 1)) #s(hole binary64 (/ (+ 1 (* x (+ 1/2 (* 1/12 x)))) x)))
#s(approx (/ (exp x) (- (exp x) 1)) #s(hole binary64 (/ (+ 1 (* x (+ 1/2 (* x (+ 1/12 (* -1/720 (pow x 2))))))) 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 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) (- (exp x) 1)) #s(hole binary64 (/ (exp x) (- (exp x) 1))))
#s(approx (exp x) #s(hole binary64 (exp x)))
#s(approx (- (exp x) 1) #s(hole binary64 (- (exp x) 1)))
Calls

3 calls:

TimeVariablePointExpression
1.0ms
x
@-inf
((/ (exp x) (- (exp x) 1)) (exp x) x (- (exp x) 1) 1)
1.0ms
x
@inf
((/ (exp x) (- (exp x) 1)) (exp x) x (- (exp x) 1) 1)
1.0ms
x
@0
((/ (exp x) (- (exp x) 1)) (exp x) x (- (exp x) 1) 1)

rewrite124.0ms (10.9%)

Memory
15.5MiB live, 95.7MiB allocated; 27ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
063209
068209
1373209
03314164
Stop Event
iter-limit
iter-limit
node-limit
iter-limit
Counts
21 → 48
Calls
Call 1
Inputs
(/.f64 (exp.f64 x) (-.f64 (exp.f64 x) #s(literal 1 binary64)))
(exp.f64 x)
x
(-.f64 (exp.f64 x) #s(literal 1 binary64))
#s(literal 1 binary64)
#s(approx (/ (exp x) (- (exp x) 1)) #s(hole binary64 (/ 1 x)))
#s(approx (/ (exp x) (- (exp x) 1)) #s(hole binary64 (/ (+ 1 (* 1/2 x)) x)))
#s(approx (/ (exp x) (- (exp x) 1)) #s(hole binary64 (/ (+ 1 (* x (+ 1/2 (* 1/12 x)))) x)))
#s(approx (/ (exp x) (- (exp x) 1)) #s(hole binary64 (/ (+ 1 (* x (+ 1/2 (* x (+ 1/12 (* -1/720 (pow x 2))))))) 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 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) (- (exp x) 1)) #s(hole binary64 (/ (exp x) (- (exp x) 1))))
#s(approx (exp x) #s(hole binary64 (exp x)))
#s(approx (- (exp x) 1) #s(hole binary64 (- (exp x) 1)))
Outputs
(*.f64 (/.f64 (exp.f64 x) (expm1.f64 (+.f64 x x))) (-.f64 (exp.f64 x) #s(literal -1 binary64)))
(*.f64 (/.f64 (exp.f64 x) (expm1.f64 (*.f64 x #s(literal 3 binary64)))) (fma.f64 (exp.f64 x) (exp.f64 x) (-.f64 (exp.f64 x) #s(literal -1 binary64))))
(/.f64 (neg.f64 (neg.f64 (exp.f64 x))) (neg.f64 (neg.f64 (expm1.f64 x))))
(/.f64 (neg.f64 (exp.f64 x)) (neg.f64 (expm1.f64 x)))
(/.f64 (exp.f64 x) (expm1.f64 x))
(neg.f64 (/.f64 (neg.f64 (exp.f64 x)) (expm1.f64 x)))
(neg.f64 (/.f64 (exp.f64 x) (neg.f64 (expm1.f64 x))))
(+.f64 (/.f64 (cosh.f64 x) (expm1.f64 x)) (/.f64 (sinh.f64 x) (expm1.f64 x)))
(*.f64 (exp.f64 x) #s(literal 1 binary64))
(*.f64 #s(literal 1 binary64) (exp.f64 x))
(/.f64 (*.f64 (exp.f64 x) #s(literal 2 binary64)) #s(literal 2 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)))))
(+.f64 (sinh.f64 x) (cosh.f64 x))
(+.f64 (cosh.f64 x) (sinh.f64 x))
(exp.f64 (+.f64 x #s(literal 0 binary64)))
(exp.f64 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 (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 (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 (+.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 (cosh.f64 x) (-.f64 (sinh.f64 x) #s(literal 1 binary64)))
(+.f64 (exp.f64 x) #s(literal -1 binary64))
#s(literal 1 binary64)
#s(approx (/ (exp x) (- (exp x) 1)) (pow.f64 x #s(literal -1 binary64)))
#s(approx (/ (exp x) (- (exp x) 1)) (/.f64 (fma.f64 #s(literal 1/2 binary64) x #s(literal 1 binary64)) x))
#s(approx (/ (exp x) (- (exp x) 1)) (/.f64 (fma.f64 (fma.f64 #s(literal 1/12 binary64) x #s(literal 1/2 binary64)) x #s(literal 1 binary64)) x))
#s(approx (/ (exp x) (- (exp x) 1)) (/.f64 (fma.f64 (fma.f64 (fma.f64 (*.f64 x x) #s(literal -1/720 binary64) #s(literal 1/12 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) 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) (- (exp x) 1)) (/.f64 (exp.f64 x) (expm1.f64 x)))
#s(approx (exp x) (exp.f64 x))
#s(approx (- (exp x) 1) (expm1.f64 x))

eval6.0ms (0.5%)

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

Compiled 738 to 183 computations (75.2% saved)

prune2.0ms (0.2%)

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

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New54357
Fresh000
Picked011
Done000
Total54458
Accuracy
100.0%
Counts
58 → 4
Alt Table
Click to see full alt table
StatusAccuracyProgram
37.0%
(/.f64 (exp.f64 x) (-.f64 (exp.f64 x) #s(literal 1 binary64)))
100.0%
(/.f64 (exp.f64 x) (expm1.f64 x))
98.0%
(/.f64 (exp.f64 x) #s(approx (- (exp x) 1) x))
67.4%
#s(approx (/ (exp x) (- (exp x) 1)) (pow.f64 x #s(literal -1 binary64)))
Compiler

Compiled 32 to 24 computations (25% saved)

series2.0ms (0.2%)

Memory
4.1MiB live, 4.1MiB allocated; 0ms collecting garbage
Counts
9 → 17
Calls
Call 1
Inputs
#s(approx (/ (exp x) (- (exp x) 1)) (pow.f64 x #s(literal -1 binary64)))
(pow.f64 x #s(literal -1 binary64))
x
#s(literal -1 binary64)
(/.f64 (exp.f64 x) #s(approx (- (exp x) 1) x))
(exp.f64 x)
#s(approx (- (exp x) 1) x)
(/.f64 (exp.f64 x) (expm1.f64 x))
(expm1.f64 x)
Outputs
#s(approx (/ (exp x) (- (exp x) 1)) #s(hole binary64 (/ 1 x)))
#s(approx (/ (exp x) (- (exp x) 1)) #s(hole binary64 (/ (+ 1 (* 1/2 x)) x)))
#s(approx (/ (exp x) (- (exp x) 1)) #s(hole binary64 (/ (+ 1 (* x (+ 1/2 (* 1/12 x)))) x)))
#s(approx (/ (exp x) (- (exp x) 1)) #s(hole binary64 (/ (+ 1 (* x (+ 1/2 (* x (+ 1/12 (* -1/720 (pow x 2))))))) x)))
#s(approx (pow x -1) #s(hole binary64 (/ 1 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 (- (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) (- (exp x) 1)) #s(hole binary64 (/ (exp x) (- (exp x) 1))))
#s(approx (exp x) #s(hole binary64 (exp x)))
#s(approx (- (exp x) 1) #s(hole binary64 (- (exp x) 1)))
Calls

3 calls:

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

rewrite132.0ms (11.6%)

Memory
-31.9MiB live, 118.3MiB allocated; 56ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
069211
075211
1386211
03355194
Stop Event
iter-limit
iter-limit
node-limit
iter-limit
Counts
26 → 73
Calls
Call 1
Inputs
#s(approx (/ (exp x) (- (exp x) 1)) (pow.f64 x #s(literal -1 binary64)))
(pow.f64 x #s(literal -1 binary64))
x
#s(literal -1 binary64)
(/.f64 (exp.f64 x) #s(approx (- (exp x) 1) x))
(exp.f64 x)
#s(approx (- (exp x) 1) x)
(/.f64 (exp.f64 x) (expm1.f64 x))
(expm1.f64 x)
#s(approx (/ (exp x) (- (exp x) 1)) #s(hole binary64 (/ 1 x)))
#s(approx (/ (exp x) (- (exp x) 1)) #s(hole binary64 (/ (+ 1 (* 1/2 x)) x)))
#s(approx (/ (exp x) (- (exp x) 1)) #s(hole binary64 (/ (+ 1 (* x (+ 1/2 (* 1/12 x)))) x)))
#s(approx (/ (exp x) (- (exp x) 1)) #s(hole binary64 (/ (+ 1 (* x (+ 1/2 (* x (+ 1/12 (* -1/720 (pow x 2))))))) x)))
#s(approx (pow x -1) #s(hole binary64 (/ 1 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 (- (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) (- (exp x) 1)) #s(hole binary64 (/ (exp x) (- (exp x) 1))))
#s(approx (exp x) #s(hole binary64 (exp x)))
#s(approx (- (exp x) 1) #s(hole binary64 (- (exp x) 1)))
Outputs
#s(approx (/ (exp x) (- (exp x) 1)) (pow.f64 x #s(literal -1 binary64)))
(*.f64 (neg.f64 (pow.f64 x #s(literal -1/2 binary64))) (neg.f64 (pow.f64 x #s(literal -1/2 binary64))))
(*.f64 (fabs.f64 (pow.f64 x #s(literal -1/2 binary64))) (fabs.f64 (pow.f64 x #s(literal -1/2 binary64))))
(*.f64 (pow.f64 x #s(literal -1/2 binary64)) (pow.f64 x #s(literal -1/2 binary64)))
(*.f64 #s(literal 1 binary64) (pow.f64 x #s(literal -1 binary64)))
(pow.f64 (exp.f64 (log.f64 x)) #s(literal -1 binary64))
(pow.f64 (pow.f64 x #s(literal -1/2 binary64)) #s(literal 2 binary64))
(pow.f64 (*.f64 x x) #s(literal -1/2 binary64))
(pow.f64 x #s(literal -1 binary64))
(/.f64 #s(literal 2 binary64) (*.f64 #s(literal 2 binary64) x))
(/.f64 #s(literal -1 binary64) (neg.f64 x))
(/.f64 #s(literal 1 binary64) (neg.f64 (neg.f64 x)))
(/.f64 #s(literal 1 binary64) x)
(neg.f64 (/.f64 #s(literal -1 binary64) x))
(neg.f64 (/.f64 #s(literal 1 binary64) (neg.f64 x)))
(+.f64 (cosh.f64 (*.f64 (log.f64 x) #s(literal -1 binary64))) (sinh.f64 (*.f64 (log.f64 x) #s(literal -1 binary64))))
(exp.f64 (*.f64 (log.f64 x) #s(literal -1 binary64)))
x
#s(literal -1 binary64)
(/.f64 (neg.f64 (neg.f64 (exp.f64 x))) (neg.f64 (neg.f64 #s(approx (- (exp x) 1) x))))
(/.f64 (neg.f64 (exp.f64 x)) (neg.f64 #s(approx (- (exp x) 1) x)))
(/.f64 (exp.f64 x) #s(approx (- (exp x) 1) x))
(neg.f64 (/.f64 (neg.f64 (exp.f64 x)) #s(approx (- (exp x) 1) x)))
(neg.f64 (/.f64 (exp.f64 x) (neg.f64 #s(approx (- (exp x) 1) x))))
(+.f64 (/.f64 (cosh.f64 x) #s(approx (- (exp x) 1) x)) (/.f64 (sinh.f64 x) #s(approx (- (exp x) 1) x)))
(*.f64 #s(literal 1 binary64) (exp.f64 x))
(*.f64 (exp.f64 x) #s(literal 1 binary64))
(/.f64 (*.f64 (exp.f64 x) #s(literal 2 binary64)) #s(literal 2 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)))))
(+.f64 (sinh.f64 x) (cosh.f64 x))
(+.f64 (cosh.f64 x) (sinh.f64 x))
(exp.f64 (+.f64 x #s(literal 0 binary64)))
(exp.f64 x)
#s(approx (- (exp x) 1) x)
(*.f64 (/.f64 (exp.f64 x) (expm1.f64 (+.f64 x x))) (-.f64 (exp.f64 x) #s(literal -1 binary64)))
(*.f64 (/.f64 (exp.f64 x) (expm1.f64 (*.f64 x #s(literal 3 binary64)))) (fma.f64 (exp.f64 x) (exp.f64 x) (-.f64 (exp.f64 x) #s(literal -1 binary64))))
(/.f64 (neg.f64 (neg.f64 (exp.f64 x))) (neg.f64 (neg.f64 (expm1.f64 x))))
(/.f64 (neg.f64 (exp.f64 x)) (neg.f64 (expm1.f64 x)))
(/.f64 (exp.f64 x) (expm1.f64 x))
(neg.f64 (/.f64 (neg.f64 (exp.f64 x)) (expm1.f64 x)))
(neg.f64 (/.f64 (exp.f64 x) (neg.f64 (expm1.f64 x))))
(+.f64 (/.f64 (cosh.f64 x) (expm1.f64 x)) (/.f64 (sinh.f64 x) (expm1.f64 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 (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 (exp.f64 x) #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 (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 (cosh.f64 x) (-.f64 (sinh.f64 x) #s(literal 1 binary64)))
(+.f64 (exp.f64 x) #s(literal -1 binary64))
#s(approx (/ (exp x) (- (exp x) 1)) (pow.f64 x #s(literal -1 binary64)))
#s(approx (/ (exp x) (- (exp x) 1)) (/.f64 (fma.f64 #s(literal 1/2 binary64) x #s(literal 1 binary64)) x))
#s(approx (/ (exp x) (- (exp x) 1)) (/.f64 (fma.f64 (fma.f64 #s(literal 1/12 binary64) x #s(literal 1/2 binary64)) x #s(literal 1 binary64)) x))
#s(approx (/ (exp x) (- (exp x) 1)) (/.f64 (fma.f64 (fma.f64 (fma.f64 (*.f64 x x) #s(literal -1/720 binary64) #s(literal 1/12 binary64)) x #s(literal 1/2 binary64)) x #s(literal 1 binary64)) x))
#s(approx (pow x -1) (pow.f64 x #s(literal -1 binary64)))
#s(approx x 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 (- (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) (- (exp x) 1)) (/.f64 (exp.f64 x) (expm1.f64 x)))
#s(approx (exp x) (exp.f64 x))
#s(approx (- (exp x) 1) (expm1.f64 x))

eval7.0ms (0.6%)

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

Compiled 1 031 to 231 computations (77.6% saved)

prune3.0ms (0.3%)

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

4 alts after pruning (0 fresh and 4 done)

PrunedKeptTotal
New78078
Fresh000
Picked033
Done011
Total78482
Accuracy
100.0%
Counts
82 → 4
Alt Table
Click to see full alt table
StatusAccuracyProgram
37.0%
(/.f64 (exp.f64 x) (-.f64 (exp.f64 x) #s(literal 1 binary64)))
100.0%
(/.f64 (exp.f64 x) (expm1.f64 x))
98.0%
(/.f64 (exp.f64 x) #s(approx (- (exp x) 1) x))
67.4%
#s(approx (/ (exp x) (- (exp x) 1)) (pow.f64 x #s(literal -1 binary64)))
Compiler

Compiled 64 to 40 computations (37.5% saved)

regimes5.0ms (0.4%)

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

3 calls:

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

Compiled 10 to 8 computations (20% saved)

regimes3.0ms (0.3%)

Memory
7.3MiB live, 7.3MiB allocated; 0ms collecting garbage
Counts
2 → 1
Calls
Call 1
Inputs
#s(approx (/ (exp x) (- (exp x) 1)) (pow.f64 x #s(literal -1 binary64)))
(/.f64 (exp.f64 x) #s(approx (- (exp x) 1) x))
Outputs
(/.f64 (exp.f64 x) #s(approx (- (exp x) 1) x))
Calls

3 calls:

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

Compiled 10 to 8 computations (20% saved)

regimes3.0ms (0.2%)

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

Total 0.0b remaining (0%)

Threshold costs 0b (0%)

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

3 calls:

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

Compiled 10 to 8 computations (20% saved)

derivations27.0ms (2.4%)

Memory
-22.7MiB live, 25.2MiB allocated; 1ms collecting garbage
Stop Event
done
Compiler

Compiled 25 to 13 computations (48% saved)

preprocess19.0ms (1.7%)

Memory
-8.8MiB live, 37.7MiB allocated; 3ms collecting garbage
Compiler

Compiled 64 to 36 computations (43.8% saved)

end0.0ms (0%)

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

Profiling

Loading profile data...