exp2 (problem 3.3.7)

Time bar (total: 5.1s)

start0.0ms (0%)

Memory
0.0MiB live, 0.0MiB 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.4%49.6%0%0%0%0
100%50.4%0%49.6%0%0%0%1
Compiler

Compiled 13 to 11 computations (15.4% saved)

sample3.3s (65.7%)

Memory
51.7MiB live, 2 181.4MiB allocated; 816ms collecting garbage
Samples
2.5s5 829×2valid
470.0ms2 301×1valid
7.0ms126×0valid
Precisions
Click to see histograms. Total time spent on operations: 2.6s
ival-exp: 2.0s (76.7% of total)
adjust: 328.0ms (12.5% of total)
ival-sub!: 184.0ms (7% of total)
ival-add!: 53.0ms (2% of total)
ival-neg: 44.0ms (1.7% of total)
Bogosity

preprocess59.0ms (1.2%)

Memory
15.9MiB live, 15.9MiB allocated; 0ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01225
19225
Stop Event
iter-limit
node-limit
Alt Table
Click to see full alt table
StatusAccuracyProgram
56.9%
(+.f64 (-.f64 (exp.f64 x) #s(literal 2 binary64)) (exp.f64 (neg.f64 x)))
Compiler

Compiled 16 to 14 computations (12.5% saved)

series602.0ms (11.9%)

Memory
-102.9MiB live, 27.3MiB allocated; 1.1s collecting garbage
Counts
7 → 23
Calls
Call 1
Inputs
(+.f64 (-.f64 (exp.f64 x) #s(literal 2 binary64)) (exp.f64 (neg.f64 x)))
(-.f64 (exp.f64 x) #s(literal 2 binary64))
(exp.f64 x)
x
#s(literal 2 binary64)
(exp.f64 (neg.f64 x))
(neg.f64 x)
Outputs
#s(approx (+ (- (exp x) 2) (exp (neg x))) (pow.f64 x #s(literal 2 binary64)))
#s(approx (+ (- (exp x) 2) (exp (neg x))) (*.f64 (pow.f64 x #s(literal 2 binary64)) (+.f64 #s(literal 1 binary64) (*.f64 #s(literal 1/12 binary64) (pow.f64 x #s(literal 2 binary64))))))
#s(approx (+ (- (exp x) 2) (exp (neg x))) (*.f64 (pow.f64 x #s(literal 2 binary64)) (+.f64 #s(literal 1 binary64) (*.f64 (pow.f64 x #s(literal 2 binary64)) (+.f64 #s(literal 1/12 binary64) (*.f64 #s(literal 1/360 binary64) (pow.f64 x #s(literal 2 binary64))))))))
#s(approx (+ (- (exp x) 2) (exp (neg x))) (*.f64 (pow.f64 x #s(literal 2 binary64)) (+.f64 #s(literal 1 binary64) (*.f64 (pow.f64 x #s(literal 2 binary64)) (+.f64 #s(literal 1/12 binary64) (*.f64 (pow.f64 x #s(literal 2 binary64)) (+.f64 #s(literal 1/360 binary64) (*.f64 #s(literal 1/20160 binary64) (pow.f64 x #s(literal 2 binary64))))))))))
#s(approx (- (exp x) 2) #s(literal -1 binary64))
#s(approx (- (exp x) 2) (-.f64 x #s(literal 1 binary64)))
#s(approx (- (exp x) 2) (-.f64 (*.f64 x (+.f64 #s(literal 1 binary64) (*.f64 #s(literal 1/2 binary64) x))) #s(literal 1 binary64)))
#s(approx (- (exp x) 2) (-.f64 (*.f64 x (+.f64 #s(literal 1 binary64) (*.f64 x (+.f64 #s(literal 1/2 binary64) (*.f64 #s(literal 1/6 binary64) x))))) #s(literal 1 binary64)))
#s(approx (exp x) #s(literal 1 binary64))
#s(approx (exp x) (+.f64 #s(literal 1 binary64) x))
#s(approx (exp x) (+.f64 #s(literal 1 binary64) (*.f64 x (+.f64 #s(literal 1 binary64) (*.f64 #s(literal 1/2 binary64) x)))))
#s(approx (exp x) (+.f64 #s(literal 1 binary64) (*.f64 x (+.f64 #s(literal 1 binary64) (*.f64 x (+.f64 #s(literal 1/2 binary64) (*.f64 #s(literal 1/6 binary64) x)))))))
#s(approx x x)
#s(approx (exp (neg x)) (+.f64 #s(literal 1 binary64) (*.f64 #s(literal -1 binary64) x)))
#s(approx (exp (neg x)) (+.f64 #s(literal 1 binary64) (*.f64 x (-.f64 (*.f64 #s(literal 1/2 binary64) x) #s(literal 1 binary64)))))
#s(approx (exp (neg x)) (+.f64 #s(literal 1 binary64) (*.f64 x (-.f64 (*.f64 x (+.f64 #s(literal 1/2 binary64) (*.f64 #s(literal -1/6 binary64) x))) #s(literal 1 binary64)))))
#s(approx (neg x) (*.f64 #s(literal -1 binary64) x))
#s(approx (+ (- (exp x) 2) (exp (neg x))) (-.f64 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) #s(literal 2 binary64)))
#s(approx (- (exp x) 2) (-.f64 (exp.f64 x) #s(literal 2 binary64)))
#s(approx (exp x) (exp.f64 x))
#s(approx (exp (neg x)) (exp.f64 (neg.f64 x)))
#s(approx (+ (- (exp x) 2) (exp (neg x))) (-.f64 (+.f64 (exp.f64 x) (exp.f64 (*.f64 #s(literal -1 binary64) x))) #s(literal 2 binary64)))
#s(approx (exp (neg x)) (exp.f64 (*.f64 #s(literal -1 binary64) x)))
Calls

3 calls:

TimeVariablePoint
1.0ms
x
-inf
1.0ms
x
0
1.0ms
x
inf

rewrite222.0ms (4.4%)

Memory
-42.9MiB live, 84.8MiB allocated; 27ms collecting garbage
Counts
7 → 35
Calls
Call 1
Inputs
(+.f64 (-.f64 (exp.f64 x) #s(literal 2 binary64)) (exp.f64 (neg.f64 x)))
(-.f64 (exp.f64 x) #s(literal 2 binary64))
(exp.f64 x)
x
#s(literal 2 binary64)
(exp.f64 (neg.f64 x))
(neg.f64 x)
Outputs
(*.f64 (fma.f64 (-.f64 (expm1.f64 x) #s(literal 1 binary64)) (-.f64 (expm1.f64 x) #s(literal 1 binary64)) (exp.f64 (neg.f64 (+.f64 x x)))) (-.f64 (*.f64 #s(literal 2 binary64) (cosh.f64 x)) #s(literal 2 binary64)))
(*.f64 (+.f64 (pow.f64 (-.f64 (expm1.f64 x) #s(literal 1 binary64)) #s(literal 3 binary64)) (exp.f64 (neg.f64 (*.f64 x #s(literal 3 binary64))))) (fma.f64 (-.f64 (expm1.f64 x) #s(literal 1 binary64)) (-.f64 (expm1.f64 x) #s(literal 1 binary64)) (/.f64 (-.f64 (*.f64 #s(literal 2 binary64) (cosh.f64 x)) #s(literal 2 binary64)) (exp.f64 x))))
(*.f64 (-.f64 (*.f64 #s(literal 2 binary64) (cosh.f64 x)) #s(literal 2 binary64)) (/.f64 (-.f64 (-.f64 (expm1.f64 x) #s(literal 1 binary64)) (exp.f64 (neg.f64 x))) (-.f64 (-.f64 (expm1.f64 x) #s(literal 1 binary64)) (exp.f64 (neg.f64 x)))))
(*.f64 (/.f64 (-.f64 (*.f64 (-.f64 (expm1.f64 x) #s(literal 1 binary64)) (-.f64 (expm1.f64 x) #s(literal 1 binary64))) (exp.f64 (neg.f64 (+.f64 x x)))) (-.f64 (*.f64 (-.f64 (exp.f64 (+.f64 x x)) #s(literal 2 binary64)) (exp.f64 x)) (+.f64 (exp.f64 x) #s(literal 2 binary64)))) (*.f64 (+.f64 (exp.f64 x) #s(literal 2 binary64)) (exp.f64 x)))
(*.f64 (fma.f64 (-.f64 (expm1.f64 x) #s(literal 1 binary64)) (-.f64 (-.f64 (expm1.f64 x) #s(literal 1 binary64)) (exp.f64 (neg.f64 x))) (exp.f64 (neg.f64 (+.f64 x x)))) (/.f64 (-.f64 (*.f64 #s(literal 2 binary64) (cosh.f64 x)) #s(literal 2 binary64)) (fma.f64 (-.f64 (expm1.f64 x) #s(literal 1 binary64)) (-.f64 (-.f64 (expm1.f64 x) #s(literal 1 binary64)) (exp.f64 (neg.f64 x))) (exp.f64 (neg.f64 (+.f64 x x))))))
(*.f64 (-.f64 (expm1.f64 x) #s(literal 1 binary64)) #s(literal 1 binary64))
(*.f64 (+.f64 (exp.f64 (+.f64 x x)) #s(literal 2 binary64)) (-.f64 (expm1.f64 x) #s(literal 1 binary64)))
(*.f64 #s(literal 1 binary64) (-.f64 (expm1.f64 x) #s(literal 1 binary64)))
(*.f64 (-.f64 (exp.f64 (*.f64 x #s(literal 3 binary64))) #s(literal 2 binary64)) (fma.f64 #s(literal 2 binary64) (-.f64 #s(literal 2 binary64) (exp.f64 x)) (exp.f64 (+.f64 x x))))
(*.f64 (+.f64 (exp.f64 x) #s(literal 2 binary64)) (/.f64 (-.f64 (expm1.f64 x) #s(literal 1 binary64)) (+.f64 (exp.f64 x) #s(literal 2 binary64))))
(*.f64 (/.f64 #s(literal 1 binary64) #s(literal 1 binary64)) (exp.f64 x))
(*.f64 (exp.f64 x) #s(literal 1 binary64))
(*.f64 #s(literal 1 binary64) (exp.f64 x))
(*.f64 (/.f64 #s(literal 1 binary64) (neg.f64 #s(literal 1 binary64))) (neg.f64 (exp.f64 x)))
(*.f64 (/.f64 #s(literal 1 binary64) (+.f64 (pow.f64 (sinh.f64 (neg.f64 x)) #s(literal 3 binary64)) (pow.f64 (cosh.f64 x) #s(literal 3 binary64)))) (fma.f64 (sinh.f64 (neg.f64 x)) (-.f64 (sinh.f64 (neg.f64 x)) (cosh.f64 x)) (*.f64 (cosh.f64 x) (cosh.f64 x))))
x
(-.f64 (log.f64 #s(literal 1 binary64)) (neg.f64 x))
(-.f64 (log.f64 (+.f64 (pow.f64 (cosh.f64 x) #s(literal 3 binary64)) (pow.f64 (sinh.f64 x) #s(literal 3 binary64)))) (log.f64 (fma.f64 (sinh.f64 x) (-.f64 (sinh.f64 x) (cosh.f64 x)) (*.f64 (cosh.f64 x) (cosh.f64 x)))))
(log.f64 (exp.f64 x))
(neg.f64 (neg.f64 x))
#s(literal 2 binary64)
(*.f64 #s(literal 2 binary64) #s(literal 1 binary64))
(*.f64 #s(literal 1 binary64) #s(literal 2 binary64))
(*.f64 #s(literal 2 binary64) #s(literal 2 binary64))
(*.f64 (neg.f64 #s(literal 2 binary64)) (neg.f64 #s(literal 2 binary64)))
(*.f64 (exp.f64 (neg.f64 x)) #s(literal 1 binary64))
(*.f64 (pow.f64 (exp.f64 x) (/.f64 #s(literal -1 binary64) #s(literal 2 binary64))) (pow.f64 (exp.f64 x) (/.f64 #s(literal -1 binary64) #s(literal 2 binary64))))
(*.f64 #s(literal 1 binary64) (exp.f64 (neg.f64 x)))
(*.f64 (/.f64 #s(literal 1 binary64) #s(literal 1 binary64)) (exp.f64 (neg.f64 x)))
(*.f64 (/.f64 #s(literal 1 binary64) (+.f64 (pow.f64 (cosh.f64 x) #s(literal 3 binary64)) (pow.f64 (sinh.f64 x) #s(literal 3 binary64)))) (fma.f64 (sinh.f64 x) (-.f64 (sinh.f64 x) (cosh.f64 x)) (*.f64 (cosh.f64 x) (cosh.f64 x))))
(*.f64 #s(literal -1 binary64) x)
(-.f64 (log.f64 #s(literal 1 binary64)) x)
(-.f64 (log.f64 (neg.f64 #s(literal 1 binary64))) (log.f64 (neg.f64 (exp.f64 x))))
(-.f64 (log.f64 (-.f64 (pow.f64 (cosh.f64 x) #s(literal 3 binary64)) (pow.f64 (sinh.f64 x) #s(literal 3 binary64)))) (log.f64 (fma.f64 (cosh.f64 x) (cosh.f64 x) (*.f64 (exp.f64 x) (sinh.f64 x)))))
(-.f64 (log.f64 (+.f64 (pow.f64 (sinh.f64 (neg.f64 x)) #s(literal 3 binary64)) (pow.f64 (cosh.f64 x) #s(literal 3 binary64)))) (log.f64 (fma.f64 (sinh.f64 (neg.f64 x)) (-.f64 (sinh.f64 (neg.f64 x)) (cosh.f64 x)) (*.f64 (cosh.f64 x) (cosh.f64 x)))))

eval6.0ms (0.1%)

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

Compiled 1 001 to 274 computations (72.6% saved)

prune2.0ms (0%)

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

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New54256
Fresh000
Picked101
Done000
Total55257
Accuracy
100.0%
Counts
57 → 2
Alt Table
Click to see full alt table
StatusAccuracyProgram
56.9%
(+.f64 #s(approx (- (exp x) 2) #s(literal -1 binary64)) (exp.f64 (neg.f64 x)))
100.0%
#s(approx (+ (- (exp x) 2) (exp (neg x))) (pow.f64 x #s(literal 2 binary64)))
Compiler

Compiled 22 to 19 computations (13.6% saved)

series85.0ms (1.7%)

Memory
-6.7MiB live, 38.9MiB allocated; 11ms collecting garbage
Counts
9 → 19
Calls
Call 1
Inputs
#s(approx (+ (- (exp x) 2) (exp (neg x))) (pow.f64 x #s(literal 2 binary64)))
(pow.f64 x #s(literal 2 binary64))
x
#s(literal 2 binary64)
(+.f64 #s(approx (- (exp x) 2) #s(literal -1 binary64)) (exp.f64 (neg.f64 x)))
#s(approx (- (exp x) 2) #s(literal -1 binary64))
#s(literal -1 binary64)
(exp.f64 (neg.f64 x))
(neg.f64 x)
Outputs
#s(approx (+ (- (exp x) 2) (exp (neg x))) (pow.f64 x #s(literal 2 binary64)))
#s(approx (+ (- (exp x) 2) (exp (neg x))) (*.f64 (pow.f64 x #s(literal 2 binary64)) (+.f64 #s(literal 1 binary64) (*.f64 #s(literal 1/12 binary64) (pow.f64 x #s(literal 2 binary64))))))
#s(approx (+ (- (exp x) 2) (exp (neg x))) (*.f64 (pow.f64 x #s(literal 2 binary64)) (+.f64 #s(literal 1 binary64) (*.f64 (pow.f64 x #s(literal 2 binary64)) (+.f64 #s(literal 1/12 binary64) (*.f64 #s(literal 1/360 binary64) (pow.f64 x #s(literal 2 binary64))))))))
#s(approx (+ (- (exp x) 2) (exp (neg x))) (*.f64 (pow.f64 x #s(literal 2 binary64)) (+.f64 #s(literal 1 binary64) (*.f64 (pow.f64 x #s(literal 2 binary64)) (+.f64 #s(literal 1/12 binary64) (*.f64 (pow.f64 x #s(literal 2 binary64)) (+.f64 #s(literal 1/360 binary64) (*.f64 #s(literal 1/20160 binary64) (pow.f64 x #s(literal 2 binary64))))))))))
#s(approx x x)
#s(approx (- (exp x) 2) #s(literal -1 binary64))
#s(approx (- (exp x) 2) (-.f64 x #s(literal 1 binary64)))
#s(approx (- (exp x) 2) (-.f64 (*.f64 x (+.f64 #s(literal 1 binary64) (*.f64 #s(literal 1/2 binary64) x))) #s(literal 1 binary64)))
#s(approx (- (exp x) 2) (-.f64 (*.f64 x (+.f64 #s(literal 1 binary64) (*.f64 x (+.f64 #s(literal 1/2 binary64) (*.f64 #s(literal 1/6 binary64) x))))) #s(literal 1 binary64)))
#s(approx (exp (neg x)) #s(literal 1 binary64))
#s(approx (exp (neg x)) (+.f64 #s(literal 1 binary64) (*.f64 #s(literal -1 binary64) x)))
#s(approx (exp (neg x)) (+.f64 #s(literal 1 binary64) (*.f64 x (-.f64 (*.f64 #s(literal 1/2 binary64) x) #s(literal 1 binary64)))))
#s(approx (exp (neg x)) (+.f64 #s(literal 1 binary64) (*.f64 x (-.f64 (*.f64 x (+.f64 #s(literal 1/2 binary64) (*.f64 #s(literal -1/6 binary64) x))) #s(literal 1 binary64)))))
#s(approx (neg x) (*.f64 #s(literal -1 binary64) x))
#s(approx (+ (- (exp x) 2) (exp (neg x))) (-.f64 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) #s(literal 2 binary64)))
#s(approx (- (exp x) 2) (-.f64 (exp.f64 x) #s(literal 2 binary64)))
#s(approx (exp (neg x)) (exp.f64 (neg.f64 x)))
#s(approx (+ (- (exp x) 2) (exp (neg x))) (-.f64 (+.f64 (exp.f64 x) (exp.f64 (*.f64 #s(literal -1 binary64) x))) #s(literal 2 binary64)))
#s(approx (exp (neg x)) (exp.f64 (*.f64 #s(literal -1 binary64) x)))
Calls

3 calls:

TimeVariablePoint
1.0ms
x
-inf
1.0ms
x
inf
0.0ms
x
0

rewrite227.0ms (4.5%)

Memory
8.4MiB live, 154.6MiB allocated; 19ms collecting garbage
Counts
9 → 29
Calls
Call 1
Inputs
#s(approx (+ (- (exp x) 2) (exp (neg x))) (pow.f64 x #s(literal 2 binary64)))
(pow.f64 x #s(literal 2 binary64))
x
#s(literal 2 binary64)
(+.f64 #s(approx (- (exp x) 2) #s(literal -1 binary64)) (exp.f64 (neg.f64 x)))
#s(approx (- (exp x) 2) #s(literal -1 binary64))
#s(literal -1 binary64)
(exp.f64 (neg.f64 x))
(neg.f64 x)
Outputs
#s(approx (- (cosh x) 0) x)
x
(*.f64 x x)
(*.f64 (neg.f64 x) (neg.f64 x))
(fabs.f64 x)
(fabs.f64 (neg.f64 x))
x
(*.f64 x x)
(*.f64 (neg.f64 x) (neg.f64 x))
(fabs.f64 x)
(fabs.f64 (neg.f64 x))
#s(literal 2 binary64)
#s(literal 0 binary64)
#s(literal 1 binary64)
(*.f64 #s(literal 2 binary64) #s(literal 2 binary64))
(*.f64 (neg.f64 #s(literal 2 binary64)) (neg.f64 #s(literal 2 binary64)))
(+.f64 #s(approx (- (exp x) 0) #s(literal -1 binary64)) (exp.f64 (neg.f64 x)))
#s(approx (- (exp x) 0) #s(literal -1 binary64))
#s(literal -1 binary64)
(*.f64 (exp.f64 (neg.f64 x)) #s(literal 2 binary64))
(*.f64 (pow.f64 (exp.f64 x) (/.f64 #s(literal -1 binary64) #s(literal 2 binary64))) (pow.f64 (exp.f64 x) (/.f64 #s(literal -1 binary64) #s(literal 2 binary64))))
(*.f64 #s(literal 2 binary64) (exp.f64 (neg.f64 x)))
(*.f64 (/.f64 #s(literal 2 binary64) (+.f64 (pow.f64 (cosh.f64 x) #s(literal 3 binary64)) (pow.f64 (sinh.f64 x) #s(literal 3 binary64)))) (fma.f64 (sinh.f64 x) (-.f64 (sinh.f64 x) (cosh.f64 x)) (*.f64 (cosh.f64 x) (cosh.f64 x))))
(+.f64 (exp.f64 (neg.f64 x)) (exp.f64 (neg.f64 x)))
(*.f64 #s(literal -1 binary64) x)
(*.f64 (neg.f64 x) x)
(*.f64 x (neg.f64 x))
(-.f64 (log.f64 #s(literal 2 binary64)) x)
(-.f64 (log.f64 (neg.f64 #s(literal 2 binary64))) (log.f64 (neg.f64 (exp.f64 x))))

eval6.0ms (0.1%)

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

Compiled 611 to 165 computations (73% saved)

prune4.0ms (0.1%)

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

4 alts after pruning (4 fresh and 0 done)

PrunedKeptTotal
New36440
Fresh000
Picked202
Done000
Total38442
Accuracy
100.0%
Counts
42 → 4
Alt Table
Click to see full alt table
StatusAccuracyProgram
56.8%
(+.f64 #s(approx (- (exp x) 2) #s(literal -1 binary64)) #s(approx (exp (neg x)) #s(literal 1 binary64)))
5.9%
#s(approx (- (cosh x) 0) x)
100.0%
#s(approx (+ (- (exp x) 2) (exp (neg x))) (*.f64 x x))
6.8%
#s(approx (+ (- (exp x) 2) (exp (neg x))) (fabs.f64 x))
Compiler

Compiled 41 to 34 computations (17.1% saved)

series87.0ms (1.7%)

Memory
-9.5MiB live, 36.2MiB allocated; 8ms collecting garbage
Counts
11 → 23
Calls
Call 1
Inputs
#s(approx (+ (- (exp x) 2) (exp (neg x))) (fabs.f64 x))
(fabs.f64 x)
x
#s(approx (+ (- (exp x) 2) (exp (neg x))) (*.f64 x x))
(*.f64 x x)
#s(approx (- (cosh x) 0) x)
(+.f64 #s(approx (- (exp x) 2) #s(literal -1 binary64)) #s(approx (exp (neg x)) #s(literal 1 binary64)))
#s(approx (- (exp x) 2) #s(literal -1 binary64))
#s(literal -1 binary64)
#s(approx (exp (neg x)) #s(literal 1 binary64))
#s(literal 1 binary64)
Outputs
#s(approx (+ (- (exp x) 2) (exp (neg x))) (pow.f64 x #s(literal 2 binary64)))
#s(approx (+ (- (exp x) 2) (exp (neg x))) (*.f64 (pow.f64 x #s(literal 2 binary64)) (+.f64 #s(literal 1 binary64) (*.f64 #s(literal 1/12 binary64) (pow.f64 x #s(literal 2 binary64))))))
#s(approx (+ (- (exp x) 2) (exp (neg x))) (*.f64 (pow.f64 x #s(literal 2 binary64)) (+.f64 #s(literal 1 binary64) (*.f64 (pow.f64 x #s(literal 2 binary64)) (+.f64 #s(literal 1/12 binary64) (*.f64 #s(literal 1/360 binary64) (pow.f64 x #s(literal 2 binary64))))))))
#s(approx (+ (- (exp x) 2) (exp (neg x))) (*.f64 (pow.f64 x #s(literal 2 binary64)) (+.f64 #s(literal 1 binary64) (*.f64 (pow.f64 x #s(literal 2 binary64)) (+.f64 #s(literal 1/12 binary64) (*.f64 (pow.f64 x #s(literal 2 binary64)) (+.f64 #s(literal 1/360 binary64) (*.f64 #s(literal 1/20160 binary64) (pow.f64 x #s(literal 2 binary64))))))))))
#s(approx (fabs x) (fabs.f64 x))
#s(approx x x)
#s(approx (- (cosh x) 0) #s(literal 1 binary64))
#s(approx (- (cosh x) 0) (+.f64 #s(literal 1 binary64) (*.f64 #s(literal 1/2 binary64) (pow.f64 x #s(literal 2 binary64)))))
#s(approx (- (cosh x) 0) (+.f64 #s(literal 1 binary64) (*.f64 (pow.f64 x #s(literal 2 binary64)) (+.f64 #s(literal 1/2 binary64) (*.f64 #s(literal 1/24 binary64) (pow.f64 x #s(literal 2 binary64)))))))
#s(approx (- (cosh x) 0) (+.f64 #s(literal 1 binary64) (*.f64 (pow.f64 x #s(literal 2 binary64)) (+.f64 #s(literal 1/2 binary64) (*.f64 (pow.f64 x #s(literal 2 binary64)) (+.f64 #s(literal 1/24 binary64) (*.f64 #s(literal 1/720 binary64) (pow.f64 x #s(literal 2 binary64)))))))))
#s(approx (- (exp x) 2) #s(literal -1 binary64))
#s(approx (- (exp x) 2) (-.f64 x #s(literal 1 binary64)))
#s(approx (- (exp x) 2) (-.f64 (*.f64 x (+.f64 #s(literal 1 binary64) (*.f64 #s(literal 1/2 binary64) x))) #s(literal 1 binary64)))
#s(approx (- (exp x) 2) (-.f64 (*.f64 x (+.f64 #s(literal 1 binary64) (*.f64 x (+.f64 #s(literal 1/2 binary64) (*.f64 #s(literal 1/6 binary64) x))))) #s(literal 1 binary64)))
#s(approx (exp (neg x)) (+.f64 #s(literal 1 binary64) (*.f64 #s(literal -1 binary64) x)))
#s(approx (exp (neg x)) (+.f64 #s(literal 1 binary64) (*.f64 x (-.f64 (*.f64 #s(literal 1/2 binary64) x) #s(literal 1 binary64)))))
#s(approx (exp (neg x)) (+.f64 #s(literal 1 binary64) (*.f64 x (-.f64 (*.f64 x (+.f64 #s(literal 1/2 binary64) (*.f64 #s(literal -1/6 binary64) x))) #s(literal 1 binary64)))))
#s(approx (+ (- (exp x) 2) (exp (neg x))) (-.f64 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) #s(literal 2 binary64)))
#s(approx (- (cosh x) 0) (*.f64 #s(literal 1/2 binary64) (+.f64 (exp.f64 x) (/.f64 #s(literal 1 binary64) (exp.f64 x)))))
#s(approx (- (exp x) 2) (-.f64 (exp.f64 x) #s(literal 2 binary64)))
#s(approx (exp (neg x)) (exp.f64 (neg.f64 x)))
#s(approx (+ (- (exp x) 2) (exp (neg x))) (-.f64 (+.f64 (exp.f64 x) (exp.f64 (*.f64 #s(literal -1 binary64) x))) #s(literal 2 binary64)))
#s(approx (exp (neg x)) (exp.f64 (*.f64 #s(literal -1 binary64) x)))
Calls

3 calls:

TimeVariablePoint
2.0ms
x
inf
1.0ms
x
-inf
1.0ms
x
0

rewrite176.0ms (3.5%)

Memory
5.1MiB live, 146.1MiB allocated; 43ms collecting garbage
Counts
11 → 27
Calls
Call 1
Inputs
#s(approx (+ (- (exp x) 2) (exp (neg x))) (fabs.f64 x))
(fabs.f64 x)
x
#s(approx (+ (- (exp x) 2) (exp (neg x))) (*.f64 x x))
(*.f64 x x)
#s(approx (- (cosh x) 0) x)
(+.f64 #s(approx (- (exp x) 2) #s(literal -1 binary64)) #s(approx (exp (neg x)) #s(literal 1 binary64)))
#s(approx (- (exp x) 2) #s(literal -1 binary64))
#s(literal -1 binary64)
#s(approx (exp (neg x)) #s(literal 1 binary64))
#s(literal 1 binary64)
Outputs
#s(approx 2 x)
x
(*.f64 x x)
(*.f64 x #s(literal 3 binary64))
(*.f64 x #s(literal 1 binary64))
(*.f64 #s(literal 3 binary64) x)
x
(*.f64 x x)
(*.f64 x #s(literal 3 binary64))
(*.f64 x #s(literal 1 binary64))
(*.f64 #s(literal 3 binary64) x)
#s(approx 2 x)
x
(*.f64 x x)
(*.f64 x #s(literal 3 binary64))
(*.f64 x #s(literal 1 binary64))
(*.f64 #s(literal 3 binary64) x)
#s(approx 2 x)
(+.f64 #s(approx 2 #s(literal -1 binary64)) #s(approx 2 #s(literal 1 binary64)))
#s(approx 2 #s(literal -1 binary64))
#s(literal -1 binary64)
#s(approx 2 #s(literal 1 binary64))
#s(literal 1 binary64)
#s(literal 2 binary64)
#s(literal 0 binary64)
(*.f64 #s(literal 1 binary64) #s(literal 1 binary64))
(*.f64 (pow.f64 #s(literal 1 binary64) (/.f64 #s(literal -1 binary64) #s(literal 1 binary64))) (pow.f64 #s(literal 1 binary64) (/.f64 #s(literal -1 binary64) #s(literal 1 binary64))))

eval3.0ms (0.1%)

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

Compiled 547 to 151 computations (72.4% saved)

prune3.0ms (0.1%)

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

5 alts after pruning (1 fresh and 4 done)

PrunedKeptTotal
New35136
Fresh000
Picked044
Done000
Total35540
Accuracy
100.0%
Counts
40 → 5
Alt Table
Click to see full alt table
StatusAccuracyProgram
56.8%
(+.f64 #s(approx (- (exp x) 2) #s(literal -1 binary64)) #s(approx (exp (neg x)) #s(literal 1 binary64)))
5.9%
#s(approx (- (cosh x) 0) x)
4.0%
#s(approx (- (cosh x) 0) #s(literal 1 binary64))
100.0%
#s(approx (+ (- (exp x) 2) (exp (neg x))) (*.f64 x x))
6.8%
#s(approx (+ (- (exp x) 2) (exp (neg x))) (fabs.f64 x))
Compiler

Compiled 47 to 40 computations (14.9% saved)

series73.0ms (1.4%)

Memory
-9.4MiB live, 35.8MiB allocated; 26ms collecting garbage
Counts
2 → 5
Calls
Call 1
Inputs
#s(approx (- (cosh x) 0) #s(literal 1 binary64))
#s(literal 1 binary64)
Outputs
#s(approx (- (cosh x) 0) #s(literal 1 binary64))
#s(approx (- (cosh x) 0) (+.f64 #s(literal 1 binary64) (*.f64 #s(literal 1/2 binary64) (pow.f64 x #s(literal 2 binary64)))))
#s(approx (- (cosh x) 0) (+.f64 #s(literal 1 binary64) (*.f64 (pow.f64 x #s(literal 2 binary64)) (+.f64 #s(literal 1/2 binary64) (*.f64 #s(literal 1/24 binary64) (pow.f64 x #s(literal 2 binary64)))))))
#s(approx (- (cosh x) 0) (+.f64 #s(literal 1 binary64) (*.f64 (pow.f64 x #s(literal 2 binary64)) (+.f64 #s(literal 1/2 binary64) (*.f64 (pow.f64 x #s(literal 2 binary64)) (+.f64 #s(literal 1/24 binary64) (*.f64 #s(literal 1/720 binary64) (pow.f64 x #s(literal 2 binary64)))))))))
#s(approx (- (cosh x) 0) (*.f64 #s(literal 1/2 binary64) (+.f64 (exp.f64 x) (/.f64 #s(literal 1 binary64) (exp.f64 x)))))
Calls

3 calls:

TimeVariablePoint
0.0ms
x
inf
0.0ms
x
-inf
0.0ms
x
0

rewrite148.0ms (2.9%)

Memory
-12.2MiB live, 83.3MiB allocated; 42ms collecting garbage
Counts
2 → 6
Calls
Call 1
Inputs
#s(approx (- (cosh x) 0) #s(literal 1 binary64))
#s(literal 1 binary64)
Outputs
#s(approx 2 #s(literal 1 binary64))
#s(literal 1 binary64)
#s(literal 2 binary64)
#s(literal 0 binary64)
(*.f64 #s(literal 1 binary64) #s(literal 1 binary64))
(*.f64 (exp.f64 (neg.f64 x)) (exp.f64 x))

eval1.0ms (0%)

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

Compiled 102 to 41 computations (59.8% saved)

prune2.0ms (0%)

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

5 alts after pruning (1 fresh and 4 done)

PrunedKeptTotal
New819
Fresh000
Picked011
Done134
Total9514
Accuracy
100.0%
Counts
14 → 5
Alt Table
Click to see full alt table
StatusAccuracyProgram
5.9%
#s(approx (- (cosh x) 0) x)
4.0%
#s(approx (- (cosh x) 0) #s(literal 1 binary64))
56.8%
#s(approx (- (cosh x) 0) #s(literal 0 binary64))
100.0%
#s(approx (+ (- (exp x) 2) (exp (neg x))) (*.f64 x x))
6.8%
#s(approx (+ (- (exp x) 2) (exp (neg x))) (fabs.f64 x))
Compiler

Compiled 41 to 35 computations (14.6% saved)

regimes10.0ms (0.2%)

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

Total -34.3b remaining (-123.9%)

Threshold costs -34.3b (-123.9%)

Counts
5 → 1
9 → 1
Calls
Call 1
Inputs
#s(approx (- (cosh x) 0) #s(literal 0 binary64))
#s(approx (- (cosh x) 0) #s(literal 1 binary64))
#s(approx (- (cosh x) 0) x)
#s(approx (+ (- (exp x) 2) (exp (neg x))) (fabs.f64 x))
(+.f64 #s(approx (- (exp x) 2) #s(literal -1 binary64)) #s(approx (exp (neg x)) #s(literal 1 binary64)))
Outputs
#s(approx (- (cosh x) 0) #s(literal 0 binary64))
Call 2
Inputs
#s(approx (- (cosh x) 0) #s(literal 0 binary64))
#s(approx (- (cosh x) 0) #s(literal 1 binary64))
#s(approx (- (cosh x) 0) x)
#s(approx (+ (- (exp x) 2) (exp (neg x))) (fabs.f64 x))
(+.f64 #s(approx (- (exp x) 2) #s(literal -1 binary64)) #s(approx (exp (neg x)) #s(literal 1 binary64)))
#s(approx (+ (- (exp x) 2) (exp (neg x))) (*.f64 x x))
(+.f64 #s(approx (- (exp x) 2) #s(literal -1 binary64)) (exp.f64 (neg.f64 x)))
#s(approx (+ (- (exp x) 2) (exp (neg x))) (pow.f64 x #s(literal 2 binary64)))
(+.f64 (-.f64 (exp.f64 x) #s(literal 2 binary64)) (exp.f64 (neg.f64 x)))
Outputs
#s(approx (+ (- (exp x) 2) (exp (neg x))) (*.f64 x x))
Calls

4 calls:

3.0ms
x
2.0ms
x
2.0ms
(+.f64 (-.f64 (exp.f64 x) #s(literal 2 binary64)) (exp.f64 (neg.f64 x)))
1.0ms
(+.f64 (-.f64 (exp.f64 x) #s(literal 2 binary64)) (exp.f64 (neg.f64 x)))
Results
AccuracySegmentsBranch
56.8%1(+.f64 (-.f64 (exp.f64 x) #s(literal 2 binary64)) (exp.f64 (neg.f64 x)))
56.8%1x
100.0%1(+.f64 (-.f64 (exp.f64 x) #s(literal 2 binary64)) (exp.f64 (neg.f64 x)))
100.0%1x
Compiler

Compiled 101 to 48 computations (52.5% saved)

derivations1.0ms (0%)

Memory
0.8MiB live, 0.8MiB allocated; 0ms collecting garbage
Stop Event
fuel
Compiler

Compiled 18 to 14 computations (22.2% saved)

preprocess20.0ms (0.4%)

Memory
-8.4MiB live, 37.9MiB allocated; 3ms collecting garbage
Compiler

Compiled 37 to 28 computations (24.3% saved)

end0.0ms (0%)

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

Profiling

Loading profile data...