Hyperbolic secant

Time bar (total: 1.6s)

start0.0ms (0%)

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

analyze0.0ms (0%)

Memory
0.9MiB live, 0.9MiB allocated; 0ms collecting garbage
Algorithm
search
Search
ProbabilityValidUnknownPreconditionInfiniteDomainCan'tIter
0%0%100%0%0%0%0%0
0%0%100%0%0%0%0%1
100%100%0%0%0%0%0%2
Compiler

Compiled 10 to 9 computations (10% saved)

sample809.0ms (51.2%)

Memory
9.8MiB live, 700.8MiB allocated; 734ms collecting garbage
Samples
621.0ms8 256×0valid
Precisions
Click to see histograms. Total time spent on operations: 479.0ms
ival-div!: 309.0ms (64.4% of total)
ival-exp: 116.0ms (24.2% of total)
ival-neg: 33.0ms (6.9% of total)
ival-add!: 20.0ms (4.2% of total)
adjust: 1.0ms (0.2% of total)
Bogosity

preprocess40.0ms (2.5%)

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

Useful iterations: 1 (0.0ms)

IterNodesCost
01218
14012
211112
368312
Stop Event
node-limit
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
(/.f64 #s(literal 2 binary64) (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))
Symmetry

(abs x)

Compiler

Compiled 14 to 14 computations (0% saved)

series9.0ms (0.6%)

Memory
-44.6MiB live, 6.3MiB allocated; 8ms collecting garbage
Counts
7 → 23
Calls
Call 1
Inputs
(/.f64 #s(literal 2 binary64) (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))
#s(literal 2 binary64)
(+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))
(exp.f64 x)
x
(exp.f64 (neg.f64 x))
(neg.f64 x)
Outputs
#s(approx (/ 2 (+ (exp x) (exp (neg x)))) #s(hole binary64 1))
#s(approx (/ 2 (+ (exp x) (exp (neg x)))) #s(hole binary64 (+ 1 (* -1/2 (pow x 2)))))
#s(approx (/ 2 (+ (exp x) (exp (neg x)))) #s(hole binary64 (+ 1 (* (pow x 2) (- (* 5/24 (pow x 2)) 1/2)))))
#s(approx (/ 2 (+ (exp x) (exp (neg x)))) #s(hole binary64 (+ 1 (* (pow x 2) (- (* (pow x 2) (+ 5/24 (* -61/720 (pow x 2)))) 1/2)))))
#s(approx (+ (exp x) (exp (neg x))) #s(hole binary64 2))
#s(approx (+ (exp x) (exp (neg x))) #s(hole binary64 (+ 2 (pow x 2))))
#s(approx (+ (exp x) (exp (neg x))) #s(hole binary64 (+ 2 (* (pow x 2) (+ 1 (* 1/12 (pow x 2)))))))
#s(approx (+ (exp x) (exp (neg x))) #s(hole binary64 (+ 2 (* (pow x 2) (+ 1 (* (pow x 2) (+ 1/12 (* 1/360 (pow x 2)))))))))
#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 (neg x)) #s(hole binary64 (+ 1 (* -1 x))))
#s(approx (exp (neg x)) #s(hole binary64 (+ 1 (* x (- (* 1/2 x) 1)))))
#s(approx (exp (neg x)) #s(hole binary64 (+ 1 (* x (- (* x (+ 1/2 (* -1/6 x))) 1)))))
#s(approx (neg x) #s(hole binary64 (* -1 x)))
#s(approx (/ 2 (+ (exp x) (exp (neg x)))) #s(hole binary64 (/ 2 (+ (exp x) (exp (neg x))))))
#s(approx (+ (exp x) (exp (neg x))) #s(hole binary64 (+ (exp x) (exp (neg x)))))
#s(approx (exp x) #s(hole binary64 (exp x)))
#s(approx (exp (neg x)) #s(hole binary64 (exp (neg x))))
#s(approx (/ 2 (+ (exp x) (exp (neg x)))) #s(hole binary64 (/ 2 (+ (exp x) (exp (* -1 x))))))
#s(approx (+ (exp x) (exp (neg x))) #s(hole binary64 (+ (exp x) (exp (* -1 x)))))
#s(approx (exp (neg x)) #s(hole binary64 (exp (* -1 x))))
Calls

3 calls:

TimeVariablePointExpression
7.0ms
x
@inf
((/ 2 (+ (exp x) (exp (neg x)))) 2 (+ (exp x) (exp (neg x))) (exp x) x (exp (neg x)) (neg x))
1.0ms
x
@-inf
((/ 2 (+ (exp x) (exp (neg x)))) 2 (+ (exp x) (exp (neg x))) (exp x) x (exp (neg x)) (neg x))
1.0ms
x
@0
((/ 2 (+ (exp x) (exp (neg x)))) 2 (+ (exp x) (exp (neg x))) (exp x) x (exp (neg x)) (neg x))

rewrite143.0ms (9.1%)

Memory
38.7MiB live, 129.0MiB allocated; 8ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
094329
0100288
1546265
04622245
Stop Event
iter-limit
iter-limit
node-limit
iter-limit
Counts
30 → 84
Calls
Call 1
Inputs
(/.f64 #s(literal 2 binary64) (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))
#s(literal 2 binary64)
(+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))
(exp.f64 x)
x
(exp.f64 (neg.f64 x))
(neg.f64 x)
#s(approx (/ 2 (+ (exp x) (exp (neg x)))) #s(hole binary64 1))
#s(approx (/ 2 (+ (exp x) (exp (neg x)))) #s(hole binary64 (+ 1 (* -1/2 (pow x 2)))))
#s(approx (/ 2 (+ (exp x) (exp (neg x)))) #s(hole binary64 (+ 1 (* (pow x 2) (- (* 5/24 (pow x 2)) 1/2)))))
#s(approx (/ 2 (+ (exp x) (exp (neg x)))) #s(hole binary64 (+ 1 (* (pow x 2) (- (* (pow x 2) (+ 5/24 (* -61/720 (pow x 2)))) 1/2)))))
#s(approx (+ (exp x) (exp (neg x))) #s(hole binary64 2))
#s(approx (+ (exp x) (exp (neg x))) #s(hole binary64 (+ 2 (pow x 2))))
#s(approx (+ (exp x) (exp (neg x))) #s(hole binary64 (+ 2 (* (pow x 2) (+ 1 (* 1/12 (pow x 2)))))))
#s(approx (+ (exp x) (exp (neg x))) #s(hole binary64 (+ 2 (* (pow x 2) (+ 1 (* (pow x 2) (+ 1/12 (* 1/360 (pow x 2)))))))))
#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 (neg x)) #s(hole binary64 (+ 1 (* -1 x))))
#s(approx (exp (neg x)) #s(hole binary64 (+ 1 (* x (- (* 1/2 x) 1)))))
#s(approx (exp (neg x)) #s(hole binary64 (+ 1 (* x (- (* x (+ 1/2 (* -1/6 x))) 1)))))
#s(approx (neg x) #s(hole binary64 (* -1 x)))
#s(approx (/ 2 (+ (exp x) (exp (neg x)))) #s(hole binary64 (/ 2 (+ (exp x) (exp (neg x))))))
#s(approx (+ (exp x) (exp (neg x))) #s(hole binary64 (+ (exp x) (exp (neg x)))))
#s(approx (exp x) #s(hole binary64 (exp x)))
#s(approx (exp (neg x)) #s(hole binary64 (exp (neg x))))
#s(approx (/ 2 (+ (exp x) (exp (neg x)))) #s(hole binary64 (/ 2 (+ (exp x) (exp (* -1 x))))))
#s(approx (+ (exp x) (exp (neg x))) #s(hole binary64 (+ (exp x) (exp (* -1 x)))))
#s(approx (exp (neg x)) #s(hole binary64 (exp (* -1 x))))
Outputs
(*.f64 (/.f64 #s(literal 2 binary64) (-.f64 (exp.f64 (+.f64 x x)) (exp.f64 (*.f64 (neg.f64 x) #s(literal 2 binary64))))) (*.f64 #s(literal 2 binary64) (sinh.f64 x)))
(*.f64 (/.f64 #s(literal 2 binary64) (+.f64 (exp.f64 (*.f64 (neg.f64 x) #s(literal 3 binary64))) (exp.f64 (*.f64 x #s(literal 3 binary64))))) (+.f64 (expm1.f64 (*.f64 (neg.f64 x) #s(literal 2 binary64))) (exp.f64 (+.f64 x x))))
(/.f64 #s(literal -2 binary64) (*.f64 #s(literal -2 binary64) (cosh.f64 x)))
(/.f64 #s(literal 1 binary64) (cosh.f64 x))
(/.f64 #s(literal 2 binary64) (neg.f64 (*.f64 #s(literal -2 binary64) (cosh.f64 x))))
(/.f64 #s(literal 2 binary64) (*.f64 (cosh.f64 x) #s(literal 2 binary64)))
(neg.f64 (/.f64 #s(literal 2 binary64) (*.f64 #s(literal -2 binary64) (cosh.f64 x))))
(neg.f64 (/.f64 #s(literal -2 binary64) (*.f64 (cosh.f64 x) #s(literal 2 binary64))))
(+.f64 (/.f64 #s(literal 1 binary64) (*.f64 (cosh.f64 x) #s(literal 2 binary64))) (/.f64 #s(literal 1 binary64) (*.f64 (cosh.f64 x) #s(literal 2 binary64))))
#s(literal 2 binary64)
(*.f64 (cosh.f64 x) #s(literal 2 binary64))
(*.f64 #s(literal 2 binary64) (cosh.f64 x))
(/.f64 (-.f64 (exp.f64 (*.f64 (neg.f64 x) #s(literal 2 binary64))) (exp.f64 (+.f64 x x))) (-.f64 (exp.f64 (neg.f64 x)) (exp.f64 x)))
(/.f64 (neg.f64 (-.f64 (exp.f64 (+.f64 x x)) (exp.f64 (*.f64 (neg.f64 x) #s(literal 2 binary64))))) (neg.f64 (*.f64 #s(literal 2 binary64) (sinh.f64 x))))
(/.f64 (neg.f64 (+.f64 (exp.f64 (*.f64 (neg.f64 x) #s(literal 3 binary64))) (exp.f64 (*.f64 x #s(literal 3 binary64))))) (neg.f64 (+.f64 (expm1.f64 (*.f64 (neg.f64 x) #s(literal 2 binary64))) (exp.f64 (+.f64 x x)))))
(/.f64 (-.f64 (exp.f64 (+.f64 x x)) (exp.f64 (*.f64 (neg.f64 x) #s(literal 2 binary64)))) (*.f64 #s(literal 2 binary64) (sinh.f64 x)))
(/.f64 (+.f64 (exp.f64 (*.f64 (neg.f64 x) #s(literal 3 binary64))) (exp.f64 (*.f64 x #s(literal 3 binary64)))) (+.f64 (exp.f64 (*.f64 (neg.f64 x) #s(literal 2 binary64))) (expm1.f64 (+.f64 x x))))
(/.f64 (+.f64 (exp.f64 (*.f64 (neg.f64 x) #s(literal 3 binary64))) (exp.f64 (*.f64 x #s(literal 3 binary64)))) (+.f64 (expm1.f64 (*.f64 (neg.f64 x) #s(literal 2 binary64))) (exp.f64 (+.f64 x x))))
(fma.f64 (pow.f64 (exp.f64 #s(literal -1 binary64)) (/.f64 x #s(literal 2 binary64))) (pow.f64 (exp.f64 #s(literal -1 binary64)) (/.f64 x #s(literal 2 binary64))) (exp.f64 x))
(fma.f64 #s(literal 1 binary64) (exp.f64 (neg.f64 x)) (exp.f64 x))
(-.f64 (+.f64 (exp.f64 x) (cosh.f64 x)) (sinh.f64 x))
(-.f64 (/.f64 (exp.f64 (+.f64 x x)) (*.f64 #s(literal 2 binary64) (sinh.f64 x))) (/.f64 (exp.f64 (*.f64 (neg.f64 x) #s(literal 2 binary64))) (*.f64 #s(literal 2 binary64) (sinh.f64 x))))
(-.f64 (cosh.f64 x) (-.f64 (sinh.f64 x) (exp.f64 x)))
(+.f64 (+.f64 (exp.f64 (neg.f64 x)) (cosh.f64 x)) (sinh.f64 x))
(+.f64 (+.f64 (exp.f64 x) (cosh.f64 x)) (sinh.f64 (neg.f64 x)))
(+.f64 (/.f64 (exp.f64 (*.f64 x #s(literal 3 binary64))) (+.f64 (expm1.f64 (*.f64 (neg.f64 x) #s(literal 2 binary64))) (exp.f64 (+.f64 x x)))) (/.f64 (exp.f64 (*.f64 (neg.f64 x) #s(literal 3 binary64))) (+.f64 (expm1.f64 (*.f64 (neg.f64 x) #s(literal 2 binary64))) (exp.f64 (+.f64 x x)))))
(+.f64 (cosh.f64 x) (+.f64 (sinh.f64 (neg.f64 x)) (exp.f64 x)))
(+.f64 (cosh.f64 x) (+.f64 (sinh.f64 x) (exp.f64 (neg.f64 x))))
(+.f64 (cosh.f64 x) (cosh.f64 x))
(+.f64 (exp.f64 (neg.f64 x)) (exp.f64 x))
(+.f64 (exp.f64 x) (exp.f64 (neg.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 #s(literal 1 binary64) (exp.f64 (neg.f64 x)))
(+.f64 (sinh.f64 x) (cosh.f64 x))
(+.f64 (cosh.f64 x) (sinh.f64 x))
(exp.f64 x)
x
(*.f64 (pow.f64 (exp.f64 #s(literal -1 binary64)) (/.f64 x #s(literal 2 binary64))) (pow.f64 (exp.f64 #s(literal -1 binary64)) (/.f64 x #s(literal 2 binary64))))
(*.f64 #s(literal 1 binary64) (exp.f64 (neg.f64 x)))
(pow.f64 (exp.f64 #s(literal -1 binary64)) x)
(pow.f64 (exp.f64 x) #s(literal -1 binary64))
(/.f64 (-.f64 (*.f64 (cosh.f64 x) (cosh.f64 x)) (*.f64 (sinh.f64 (neg.f64 x)) (sinh.f64 (neg.f64 x)))) (-.f64 (cosh.f64 x) (sinh.f64 (neg.f64 x))))
(/.f64 (+.f64 (pow.f64 (cosh.f64 x) #s(literal 3 binary64)) (pow.f64 (sinh.f64 (neg.f64 x)) #s(literal 3 binary64))) (fma.f64 (cosh.f64 x) (cosh.f64 x) (-.f64 (*.f64 (sinh.f64 (neg.f64 x)) (sinh.f64 (neg.f64 x))) (*.f64 (cosh.f64 x) (sinh.f64 (neg.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) (fma.f64 (sinh.f64 x) (sinh.f64 x) (*.f64 (cosh.f64 x) (sinh.f64 x)))))
(/.f64 #s(literal -1 binary64) (neg.f64 (exp.f64 x)))
(/.f64 #s(literal 1 binary64) (exp.f64 x))
(/.f64 #s(literal 2 binary64) (*.f64 #s(literal 2 binary64) (exp.f64 x)))
(neg.f64 (/.f64 #s(literal -1 binary64) (exp.f64 x)))
(-.f64 (cosh.f64 x) (sinh.f64 x))
(+.f64 (sinh.f64 (neg.f64 x)) (cosh.f64 x))
(+.f64 (cosh.f64 x) (sinh.f64 (neg.f64 x)))
(exp.f64 (-.f64 #s(literal 0 binary64) x))
(exp.f64 (*.f64 (log.f64 (exp.f64 #s(literal -1 binary64))) x))
(exp.f64 (neg.f64 x))
(*.f64 #s(literal -1 binary64) x)
(*.f64 #s(literal 1 binary64) (neg.f64 x))
(*.f64 (neg.f64 x) #s(literal 1 binary64))
(*.f64 x #s(literal -1 binary64))
(/.f64 (*.f64 #s(literal 2 binary64) (neg.f64 x)) #s(literal 2 binary64))
(neg.f64 (*.f64 #s(literal -1 binary64) (neg.f64 x)))
(neg.f64 x)
#s(approx (/ 2 (+ (exp x) (exp (neg x)))) #s(literal 1 binary64))
#s(approx (/ 2 (+ (exp x) (exp (neg x)))) (fma.f64 (*.f64 x x) #s(literal -1/2 binary64) #s(literal 1 binary64)))
#s(approx (/ 2 (+ (exp x) (exp (neg x)))) (fma.f64 (-.f64 (*.f64 #s(literal 5/24 binary64) (*.f64 x x)) #s(literal 1/2 binary64)) (*.f64 x x) #s(literal 1 binary64)))
#s(approx (/ 2 (+ (exp x) (exp (neg x)))) (fma.f64 (*.f64 (-.f64 (*.f64 (*.f64 (fma.f64 #s(literal -61/720 binary64) (*.f64 x x) #s(literal 5/24 binary64)) x) x) #s(literal 1/2 binary64)) x) x #s(literal 1 binary64)))
#s(approx (+ (exp x) (exp (neg x))) #s(literal 2 binary64))
#s(approx (+ (exp x) (exp (neg x))) (fma.f64 x x #s(literal 2 binary64)))
#s(approx (+ (exp x) (exp (neg x))) (fma.f64 (fma.f64 #s(literal 1/12 binary64) (*.f64 x x) #s(literal 1 binary64)) (*.f64 x x) #s(literal 2 binary64)))
#s(approx (+ (exp x) (exp (neg x))) (fma.f64 (*.f64 (fma.f64 (fma.f64 #s(literal 1/360 binary64) (*.f64 x x) #s(literal 1/12 binary64)) (*.f64 x x) #s(literal 1 binary64)) x) x #s(literal 2 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 (neg x)) (-.f64 #s(literal 1 binary64) x))
#s(approx (exp (neg x)) (fma.f64 (fma.f64 #s(literal 1/2 binary64) x #s(literal -1 binary64)) x #s(literal 1 binary64)))
#s(approx (exp (neg 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 (neg x) (neg.f64 x))
#s(approx (/ 2 (+ (exp x) (exp (neg x)))) (/.f64 #s(literal 1 binary64) (cosh.f64 x)))
#s(approx (+ (exp x) (exp (neg x))) (*.f64 (cosh.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 (/ 2 (+ (exp x) (exp (neg x)))) (/.f64 #s(literal 1 binary64) (cosh.f64 x)))
#s(approx (+ (exp x) (exp (neg x))) (*.f64 (cosh.f64 x) #s(literal 2 binary64)))
#s(approx (exp (neg x)) (exp.f64 (neg.f64 x)))

eval9.0ms (0.6%)

Memory
-34.2MiB live, 11.3MiB allocated; 3ms collecting garbage
Compiler

Compiled 590 to 305 computations (48.3% saved)

prune2.0ms (0.1%)

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

4 alts after pruning (4 fresh and 0 done)

PrunedKeptTotal
New71475
Fresh000
Picked101
Done000
Total72476
Accuracy
100.0%
Counts
76 → 4
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
(/.f64 #s(literal 2 binary64) (+.f64 (exp.f64 x) (/.f64 #s(literal 1 binary64) (exp.f64 x))))
74.5%
(/.f64 #s(literal 2 binary64) #s(approx (+ (exp x) (exp (neg x))) (fma.f64 x x #s(literal 2 binary64))))
100.0%
(/.f64 #s(literal 1 binary64) (cosh.f64 x))
50.9%
#s(approx (/ 2 (+ (exp x) (exp (neg x)))) #s(literal 1 binary64))
Compiler

Compiled 30 to 29 computations (3.3% saved)

series7.0ms (0.4%)

Memory
12.7MiB live, 12.7MiB allocated; 0ms collecting garbage
Counts
13 → 29
Calls
Call 1
Inputs
#s(approx (/ 2 (+ (exp x) (exp (neg x)))) #s(literal 1 binary64))
#s(literal 1 binary64)
(/.f64 #s(literal 1 binary64) (cosh.f64 x))
(cosh.f64 x)
x
(/.f64 #s(literal 2 binary64) #s(approx (+ (exp x) (exp (neg x))) (fma.f64 x x #s(literal 2 binary64))))
#s(literal 2 binary64)
#s(approx (+ (exp x) (exp (neg x))) (fma.f64 x x #s(literal 2 binary64)))
(fma.f64 x x #s(literal 2 binary64))
(/.f64 #s(literal 2 binary64) (+.f64 (exp.f64 x) (/.f64 #s(literal 1 binary64) (exp.f64 x))))
(+.f64 (exp.f64 x) (/.f64 #s(literal 1 binary64) (exp.f64 x)))
(exp.f64 x)
(/.f64 #s(literal 1 binary64) (exp.f64 x))
Outputs
#s(approx (/ 2 (+ (exp x) (exp (neg x)))) #s(hole binary64 1))
#s(approx (/ 2 (+ (exp x) (exp (neg x)))) #s(hole binary64 (+ 1 (* -1/2 (pow x 2)))))
#s(approx (/ 2 (+ (exp x) (exp (neg x)))) #s(hole binary64 (+ 1 (* (pow x 2) (- (* 5/24 (pow x 2)) 1/2)))))
#s(approx (/ 2 (+ (exp x) (exp (neg x)))) #s(hole binary64 (+ 1 (* (pow x 2) (- (* (pow x 2) (+ 5/24 (* -61/720 (pow x 2)))) 1/2)))))
#s(approx (cosh x) #s(hole binary64 (+ 1 (* 1/2 (pow x 2)))))
#s(approx (cosh x) #s(hole binary64 (+ 1 (* (pow x 2) (+ 1/2 (* 1/24 (pow x 2)))))))
#s(approx (cosh x) #s(hole binary64 (+ 1 (* (pow x 2) (+ 1/2 (* (pow x 2) (+ 1/24 (* 1/720 (pow x 2)))))))))
#s(approx x #s(hole binary64 x))
#s(approx (+ (exp x) (exp (neg x))) #s(hole binary64 2))
#s(approx (+ (exp x) (exp (neg x))) #s(hole binary64 (+ 2 (pow x 2))))
#s(approx (+ (exp x) (exp (neg x))) #s(hole binary64 (+ 2 (* (pow x 2) (+ 1 (* 1/12 (pow x 2)))))))
#s(approx (+ (exp x) (exp (neg x))) #s(hole binary64 (+ 2 (* (pow x 2) (+ 1 (* (pow x 2) (+ 1/12 (* 1/360 (pow x 2)))))))))
#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 (/ 1 (exp x)) #s(hole binary64 (+ 1 (* -1 x))))
#s(approx (/ 1 (exp x)) #s(hole binary64 (+ 1 (* x (- (* 1/2 x) 1)))))
#s(approx (/ 1 (exp x)) #s(hole binary64 (+ 1 (* x (- (* x (+ 1/2 (* -1/6 x))) 1)))))
#s(approx (/ 2 (+ (exp x) (exp (neg x)))) #s(hole binary64 (/ 2 (+ (exp x) (exp (neg x))))))
#s(approx (/ 1 (cosh x)) #s(hole binary64 (/ 2 (+ (exp x) (/ 1 (exp x))))))
#s(approx (cosh x) #s(hole binary64 (* 1/2 (+ (exp x) (/ 1 (exp x))))))
#s(approx (+ (exp x) (exp (neg x))) #s(hole binary64 (+ (exp x) (exp (neg x)))))
#s(approx (+ (* x x) 2) #s(hole binary64 (pow x 2)))
#s(approx (+ (* x x) 2) #s(hole binary64 (* (pow x 2) (+ 1 (* 2 (/ 1 (pow x 2)))))))
#s(approx (+ (exp x) (/ 1 (exp x))) #s(hole binary64 (+ (exp x) (/ 1 (exp x)))))
#s(approx (exp x) #s(hole binary64 (exp x)))
#s(approx (/ 1 (exp x)) #s(hole binary64 (/ 1 (exp x))))
#s(approx (/ 2 (+ (exp x) (exp (neg x)))) #s(hole binary64 (/ 2 (+ (exp x) (exp (* -1 x))))))
#s(approx (+ (exp x) (exp (neg x))) #s(hole binary64 (+ (exp x) (exp (* -1 x)))))
Calls

3 calls:

TimeVariablePointExpression
3.0ms
x
@inf
((/ 2 (+ (exp x) (exp (neg x)))) 1 (/ 1 (cosh x)) (cosh x) x (/ 2 (+ (exp x) (exp (neg x)))) 2 (+ (exp x) (exp (neg x))) (+ (* x x) 2) (/ 2 (+ (exp x) (/ 1 (exp x)))) (+ (exp x) (/ 1 (exp x))) (exp x) (/ 1 (exp x)))
2.0ms
x
@-inf
((/ 2 (+ (exp x) (exp (neg x)))) 1 (/ 1 (cosh x)) (cosh x) x (/ 2 (+ (exp x) (exp (neg x)))) 2 (+ (exp x) (exp (neg x))) (+ (* x x) 2) (/ 2 (+ (exp x) (/ 1 (exp x)))) (+ (exp x) (/ 1 (exp x))) (exp x) (/ 1 (exp x)))
1.0ms
x
@0
((/ 2 (+ (exp x) (exp (neg x)))) 1 (/ 1 (cosh x)) (cosh x) x (/ 2 (+ (exp x) (exp (neg x)))) 2 (+ (exp x) (exp (neg x))) (+ (* x x) 2) (/ 2 (+ (exp x) (/ 1 (exp x)))) (+ (exp x) (/ 1 (exp x))) (exp x) (/ 1 (exp x)))

rewrite230.0ms (14.5%)

Memory
10.7MiB live, 147.5MiB allocated; 24ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0130481
0140413
1752380
06609356
Stop Event
iter-limit
iter-limit
node-limit
iter-limit
Counts
42 → 220
Calls
Call 1
Inputs
#s(approx (/ 2 (+ (exp x) (exp (neg x)))) #s(literal 1 binary64))
#s(literal 1 binary64)
(/.f64 #s(literal 1 binary64) (cosh.f64 x))
(cosh.f64 x)
x
(/.f64 #s(literal 2 binary64) #s(approx (+ (exp x) (exp (neg x))) (fma.f64 x x #s(literal 2 binary64))))
#s(literal 2 binary64)
#s(approx (+ (exp x) (exp (neg x))) (fma.f64 x x #s(literal 2 binary64)))
(fma.f64 x x #s(literal 2 binary64))
(/.f64 #s(literal 2 binary64) (+.f64 (exp.f64 x) (/.f64 #s(literal 1 binary64) (exp.f64 x))))
(+.f64 (exp.f64 x) (/.f64 #s(literal 1 binary64) (exp.f64 x)))
(exp.f64 x)
(/.f64 #s(literal 1 binary64) (exp.f64 x))
#s(approx (/ 2 (+ (exp x) (exp (neg x)))) #s(hole binary64 1))
#s(approx (/ 2 (+ (exp x) (exp (neg x)))) #s(hole binary64 (+ 1 (* -1/2 (pow x 2)))))
#s(approx (/ 2 (+ (exp x) (exp (neg x)))) #s(hole binary64 (+ 1 (* (pow x 2) (- (* 5/24 (pow x 2)) 1/2)))))
#s(approx (/ 2 (+ (exp x) (exp (neg x)))) #s(hole binary64 (+ 1 (* (pow x 2) (- (* (pow x 2) (+ 5/24 (* -61/720 (pow x 2)))) 1/2)))))
#s(approx (cosh x) #s(hole binary64 (+ 1 (* 1/2 (pow x 2)))))
#s(approx (cosh x) #s(hole binary64 (+ 1 (* (pow x 2) (+ 1/2 (* 1/24 (pow x 2)))))))
#s(approx (cosh x) #s(hole binary64 (+ 1 (* (pow x 2) (+ 1/2 (* (pow x 2) (+ 1/24 (* 1/720 (pow x 2)))))))))
#s(approx x #s(hole binary64 x))
#s(approx (+ (exp x) (exp (neg x))) #s(hole binary64 2))
#s(approx (+ (exp x) (exp (neg x))) #s(hole binary64 (+ 2 (pow x 2))))
#s(approx (+ (exp x) (exp (neg x))) #s(hole binary64 (+ 2 (* (pow x 2) (+ 1 (* 1/12 (pow x 2)))))))
#s(approx (+ (exp x) (exp (neg x))) #s(hole binary64 (+ 2 (* (pow x 2) (+ 1 (* (pow x 2) (+ 1/12 (* 1/360 (pow x 2)))))))))
#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 (/ 1 (exp x)) #s(hole binary64 (+ 1 (* -1 x))))
#s(approx (/ 1 (exp x)) #s(hole binary64 (+ 1 (* x (- (* 1/2 x) 1)))))
#s(approx (/ 1 (exp x)) #s(hole binary64 (+ 1 (* x (- (* x (+ 1/2 (* -1/6 x))) 1)))))
#s(approx (/ 2 (+ (exp x) (exp (neg x)))) #s(hole binary64 (/ 2 (+ (exp x) (exp (neg x))))))
#s(approx (/ 1 (cosh x)) #s(hole binary64 (/ 2 (+ (exp x) (/ 1 (exp x))))))
#s(approx (cosh x) #s(hole binary64 (* 1/2 (+ (exp x) (/ 1 (exp x))))))
#s(approx (+ (exp x) (exp (neg x))) #s(hole binary64 (+ (exp x) (exp (neg x)))))
#s(approx (+ (* x x) 2) #s(hole binary64 (pow x 2)))
#s(approx (+ (* x x) 2) #s(hole binary64 (* (pow x 2) (+ 1 (* 2 (/ 1 (pow x 2)))))))
#s(approx (+ (exp x) (/ 1 (exp x))) #s(hole binary64 (+ (exp x) (/ 1 (exp x)))))
#s(approx (exp x) #s(hole binary64 (exp x)))
#s(approx (/ 1 (exp x)) #s(hole binary64 (/ 1 (exp x))))
#s(approx (/ 2 (+ (exp x) (exp (neg x)))) #s(hole binary64 (/ 2 (+ (exp x) (exp (* -1 x))))))
#s(approx (+ (exp x) (exp (neg x))) #s(hole binary64 (+ (exp x) (exp (* -1 x)))))
Outputs
#s(approx (/ 1 (cosh x)) #s(literal 1 binary64))
#s(literal 1 binary64)
(*.f64 (/.f64 #s(literal 2 binary64) (-.f64 (exp.f64 (+.f64 x x)) (exp.f64 (*.f64 (neg.f64 x) #s(literal 2 binary64))))) (*.f64 #s(literal 2 binary64) (sinh.f64 x)))
(*.f64 (/.f64 #s(literal 2 binary64) (+.f64 (exp.f64 (*.f64 (neg.f64 x) #s(literal 3 binary64))) (exp.f64 (*.f64 x #s(literal 3 binary64))))) (+.f64 (expm1.f64 (*.f64 (neg.f64 x) #s(literal 2 binary64))) (exp.f64 (+.f64 x x))))
(*.f64 (pow.f64 (cosh.f64 x) #s(literal -1/2 binary64)) (pow.f64 (cosh.f64 x) #s(literal -1/2 binary64)))
(*.f64 (/.f64 #s(literal 1 binary64) (*.f64 (cosh.f64 x) #s(literal 2 binary64))) #s(literal 2 binary64))
(*.f64 #s(literal 1 binary64) (/.f64 #s(literal 1 binary64) (cosh.f64 x)))
(*.f64 #s(literal 2 binary64) (/.f64 #s(literal 1 binary64) (*.f64 (cosh.f64 x) #s(literal 2 binary64))))
(pow.f64 (cosh.f64 x) #s(literal -1 binary64))
(/.f64 #s(literal -2 binary64) (*.f64 #s(literal -2 binary64) (cosh.f64 x)))
(/.f64 #s(literal -1 binary64) (neg.f64 (cosh.f64 x)))
(/.f64 #s(literal 1 binary64) (neg.f64 (neg.f64 (cosh.f64 x))))
(/.f64 #s(literal 1 binary64) (pow.f64 (cosh.f64 x) #s(literal 1 binary64)))
(/.f64 #s(literal 1 binary64) (cosh.f64 x))
(/.f64 #s(literal 2 binary64) (neg.f64 (*.f64 #s(literal -2 binary64) (cosh.f64 x))))
(/.f64 #s(literal 2 binary64) (*.f64 (cosh.f64 x) #s(literal 2 binary64)))
(neg.f64 (/.f64 #s(literal 2 binary64) (*.f64 #s(literal -2 binary64) (cosh.f64 x))))
(neg.f64 (/.f64 #s(literal 1 binary64) (neg.f64 (cosh.f64 x))))
(neg.f64 (/.f64 #s(literal -2 binary64) (*.f64 (cosh.f64 x) #s(literal 2 binary64))))
(neg.f64 (/.f64 #s(literal -1 binary64) (cosh.f64 x)))
(+.f64 (/.f64 #s(literal 1 binary64) (*.f64 (cosh.f64 x) #s(literal 2 binary64))) (/.f64 #s(literal 1 binary64) (*.f64 (cosh.f64 x) #s(literal 2 binary64))))
(exp.f64 (*.f64 (log.f64 (cosh.f64 x)) #s(literal -1 binary64)))
(*.f64 (*.f64 (cosh.f64 x) #s(literal 2 binary64)) #s(literal 1/2 binary64))
(*.f64 #s(literal 1/2 binary64) (*.f64 (cosh.f64 x) #s(literal 2 binary64)))
(*.f64 #s(literal 1 binary64) (cosh.f64 x))
(*.f64 #s(literal 2 binary64) (/.f64 (cosh.f64 x) #s(literal 2 binary64)))
(*.f64 #s(literal 2 binary64) (*.f64 (cosh.f64 x) #s(literal 1/2 binary64)))
(/.f64 (*.f64 #s(literal 1/2 binary64) (-.f64 (exp.f64 (+.f64 x x)) (exp.f64 (*.f64 (neg.f64 x) #s(literal 2 binary64))))) (*.f64 #s(literal 2 binary64) (sinh.f64 x)))
(/.f64 (*.f64 #s(literal 1/2 binary64) (+.f64 (exp.f64 (*.f64 (neg.f64 x) #s(literal 3 binary64))) (exp.f64 (*.f64 x #s(literal 3 binary64))))) (+.f64 (expm1.f64 (*.f64 (neg.f64 x) #s(literal 2 binary64))) (exp.f64 (+.f64 x x))))
(/.f64 (*.f64 (-.f64 (exp.f64 (+.f64 x x)) (exp.f64 (*.f64 (neg.f64 x) #s(literal 2 binary64)))) #s(literal 1/2 binary64)) (*.f64 #s(literal 2 binary64) (sinh.f64 x)))
(/.f64 (*.f64 (+.f64 (exp.f64 (*.f64 (neg.f64 x) #s(literal 3 binary64))) (exp.f64 (*.f64 x #s(literal 3 binary64)))) #s(literal 1/2 binary64)) (+.f64 (expm1.f64 (*.f64 (neg.f64 x) #s(literal 2 binary64))) (exp.f64 (+.f64 x x))))
(/.f64 (-.f64 (*.f64 (*.f64 #s(literal 1/2 binary64) (exp.f64 x)) (*.f64 #s(literal 1/2 binary64) (exp.f64 x))) (*.f64 (/.f64 #s(literal 1/2 binary64) (exp.f64 x)) (/.f64 #s(literal 1/2 binary64) (exp.f64 x)))) (-.f64 (*.f64 #s(literal 1/2 binary64) (exp.f64 x)) (/.f64 #s(literal 1/2 binary64) (exp.f64 x))))
(/.f64 (+.f64 (pow.f64 (*.f64 #s(literal 1/2 binary64) (exp.f64 x)) #s(literal 3 binary64)) (pow.f64 (/.f64 #s(literal 1/2 binary64) (exp.f64 x)) #s(literal 3 binary64))) (fma.f64 (*.f64 #s(literal 1/2 binary64) (exp.f64 x)) (*.f64 #s(literal 1/2 binary64) (exp.f64 x)) (-.f64 (*.f64 (/.f64 #s(literal 1/2 binary64) (exp.f64 x)) (/.f64 #s(literal 1/2 binary64) (exp.f64 x))) (*.f64 (*.f64 #s(literal 1/2 binary64) (exp.f64 x)) (/.f64 #s(literal 1/2 binary64) (exp.f64 x))))))
(/.f64 (-.f64 (exp.f64 (+.f64 x x)) (exp.f64 (*.f64 (neg.f64 x) #s(literal 2 binary64)))) (*.f64 (*.f64 #s(literal 2 binary64) (sinh.f64 x)) #s(literal 2 binary64)))
(/.f64 (+.f64 (exp.f64 (*.f64 (neg.f64 x) #s(literal 3 binary64))) (exp.f64 (*.f64 x #s(literal 3 binary64)))) (*.f64 (+.f64 (expm1.f64 (*.f64 (neg.f64 x) #s(literal 2 binary64))) (exp.f64 (+.f64 x x))) #s(literal 2 binary64)))
(/.f64 (*.f64 #s(literal -2 binary64) (cosh.f64 x)) #s(literal -2 binary64))
(/.f64 (*.f64 (cosh.f64 x) #s(literal 2 binary64)) #s(literal 2 binary64))
(/.f64 (cosh.f64 x) #s(literal 1 binary64))
(neg.f64 (*.f64 #s(literal -1/2 binary64) (*.f64 (cosh.f64 x) #s(literal 2 binary64))))
(neg.f64 (*.f64 (*.f64 (cosh.f64 x) #s(literal 2 binary64)) #s(literal -1/2 binary64)))
(fma.f64 (exp.f64 (neg.f64 x)) #s(literal 1/2 binary64) (*.f64 #s(literal 1/2 binary64) (exp.f64 x)))
(fma.f64 #s(literal 1/2 binary64) (exp.f64 (neg.f64 x)) (*.f64 #s(literal 1/2 binary64) (exp.f64 x)))
(fma.f64 #s(literal 1/2 binary64) (exp.f64 x) (/.f64 #s(literal 1/2 binary64) (exp.f64 x)))
(fma.f64 (exp.f64 x) #s(literal 1/2 binary64) (/.f64 #s(literal 1/2 binary64) (exp.f64 x)))
(cosh.f64 (neg.f64 x))
(cosh.f64 x)
(-.f64 (*.f64 #s(literal 1/2 binary64) (exp.f64 x)) (*.f64 #s(literal -1/2 binary64) (exp.f64 (neg.f64 x))))
(-.f64 (*.f64 #s(literal 1/2 binary64) (exp.f64 x)) (*.f64 (neg.f64 (exp.f64 (neg.f64 x))) #s(literal 1/2 binary64)))
(+.f64 (/.f64 (exp.f64 (neg.f64 x)) #s(literal 2 binary64)) (/.f64 (exp.f64 x) #s(literal 2 binary64)))
(+.f64 (/.f64 (exp.f64 x) #s(literal 2 binary64)) (/.f64 (exp.f64 (neg.f64 x)) #s(literal 2 binary64)))
(+.f64 (/.f64 #s(literal 1/2 binary64) (exp.f64 x)) (*.f64 #s(literal 1/2 binary64) (exp.f64 x)))
(+.f64 (*.f64 #s(literal 1/2 binary64) (exp.f64 x)) (/.f64 #s(literal 1/2 binary64) (exp.f64 x)))
x
(*.f64 #s(literal 2 binary64) (/.f64 #s(literal 1 binary64) #s(approx (+ (exp x) (/ 1 (exp x))) (fma.f64 x x #s(literal 2 binary64)))))
(/.f64 #s(literal -2 binary64) (neg.f64 #s(approx (+ (exp x) (/ 1 (exp x))) (fma.f64 x x #s(literal 2 binary64)))))
(/.f64 #s(literal 2 binary64) (neg.f64 (neg.f64 #s(approx (+ (exp x) (/ 1 (exp x))) (fma.f64 x x #s(literal 2 binary64))))))
(/.f64 #s(literal 2 binary64) #s(approx (+ (exp x) (/ 1 (exp x))) (fma.f64 x x #s(literal 2 binary64))))
(neg.f64 (/.f64 #s(literal 2 binary64) (neg.f64 #s(approx (+ (exp x) (/ 1 (exp x))) (fma.f64 x x #s(literal 2 binary64))))))
(neg.f64 (/.f64 #s(literal -2 binary64) #s(approx (+ (exp x) (/ 1 (exp x))) (fma.f64 x x #s(literal 2 binary64)))))
(+.f64 (/.f64 #s(literal 1 binary64) #s(approx (+ (exp x) (/ 1 (exp x))) (fma.f64 x x #s(literal 2 binary64)))) (/.f64 #s(literal 1 binary64) #s(approx (+ (exp x) (/ 1 (exp x))) (fma.f64 x x #s(literal 2 binary64)))))
#s(literal 2 binary64)
#s(approx (+ (exp x) (/ 1 (exp x))) (fma.f64 x x #s(literal 2 binary64)))
(/.f64 (neg.f64 (fma.f64 (*.f64 (*.f64 x x) x) x #s(literal -4 binary64))) (neg.f64 (fma.f64 x x #s(literal -2 binary64))))
(/.f64 (neg.f64 (-.f64 #s(literal 4 binary64) (*.f64 (*.f64 (*.f64 x x) x) x))) (neg.f64 (-.f64 #s(literal 2 binary64) (*.f64 x x))))
(/.f64 (neg.f64 (fma.f64 (*.f64 (*.f64 x x) x) (*.f64 (*.f64 x x) x) #s(literal 8 binary64))) (neg.f64 (fma.f64 (*.f64 (*.f64 x x) x) x (-.f64 #s(literal 4 binary64) (*.f64 (*.f64 x x) #s(literal 2 binary64))))))
(/.f64 (neg.f64 (fma.f64 (*.f64 (*.f64 x x) x) (*.f64 (*.f64 x x) x) #s(literal 8 binary64))) (neg.f64 (fma.f64 (*.f64 x x) (fma.f64 x x #s(literal -2 binary64)) #s(literal 4 binary64))))
(/.f64 (fma.f64 (*.f64 (*.f64 x x) x) x #s(literal -4 binary64)) (fma.f64 x x #s(literal -2 binary64)))
(/.f64 (-.f64 #s(literal 4 binary64) (*.f64 (*.f64 (*.f64 x x) x) x)) (-.f64 #s(literal 2 binary64) (*.f64 x x)))
(/.f64 (fma.f64 (*.f64 (*.f64 x x) x) (*.f64 (*.f64 x x) x) #s(literal 8 binary64)) (fma.f64 (*.f64 (*.f64 x x) x) x (-.f64 #s(literal 4 binary64) (*.f64 (*.f64 x x) #s(literal 2 binary64)))))
(/.f64 (fma.f64 (*.f64 (*.f64 x x) x) (*.f64 (*.f64 x x) x) #s(literal 8 binary64)) (fma.f64 (*.f64 x x) (fma.f64 x x #s(literal -2 binary64)) #s(literal 4 binary64)))
(fma.f64 (*.f64 (neg.f64 x) #s(literal -1 binary64)) x #s(literal 2 binary64))
(fma.f64 (*.f64 (fabs.f64 x) #s(literal 1 binary64)) (*.f64 (fabs.f64 x) #s(literal 1 binary64)) #s(literal 2 binary64))
(fma.f64 (*.f64 #s(literal 1 binary64) (fabs.f64 x)) (*.f64 #s(literal 1 binary64) (fabs.f64 x)) #s(literal 2 binary64))
(fma.f64 (*.f64 #s(literal 1 binary64) (fabs.f64 x)) (fabs.f64 x) #s(literal 2 binary64))
(fma.f64 (fabs.f64 (fabs.f64 x)) (fabs.f64 (fabs.f64 x)) #s(literal 2 binary64))
(fma.f64 (neg.f64 (fabs.f64 x)) (neg.f64 (fabs.f64 x)) #s(literal 2 binary64))
(fma.f64 (exp.f64 (log.f64 x)) (exp.f64 (log.f64 x)) #s(literal 2 binary64))
(fma.f64 (*.f64 (neg.f64 x) x) #s(literal -1 binary64) #s(literal 2 binary64))
(fma.f64 (fabs.f64 x) (*.f64 (fabs.f64 x) #s(literal 1 binary64)) #s(literal 2 binary64))
(fma.f64 (fabs.f64 x) (fabs.f64 x) #s(literal 2 binary64))
(fma.f64 #s(literal -1 binary64) (*.f64 (neg.f64 x) x) #s(literal 2 binary64))
(fma.f64 (*.f64 x x) #s(literal 1 binary64) #s(literal 2 binary64))
(fma.f64 #s(literal 1 binary64) (*.f64 x x) #s(literal 2 binary64))
(fma.f64 (neg.f64 x) (neg.f64 x) #s(literal 2 binary64))
(fma.f64 x (*.f64 #s(literal -1 binary64) (neg.f64 x)) #s(literal 2 binary64))
(fma.f64 x x #s(literal 2 binary64))
(-.f64 (/.f64 (*.f64 (*.f64 (*.f64 x x) x) x) (fma.f64 x x #s(literal -2 binary64))) (/.f64 #s(literal 4 binary64) (fma.f64 x x #s(literal -2 binary64))))
(-.f64 (/.f64 #s(literal 4 binary64) (-.f64 #s(literal 2 binary64) (*.f64 x x))) (/.f64 (*.f64 (*.f64 (*.f64 x x) x) x) (-.f64 #s(literal 2 binary64) (*.f64 x x))))
(-.f64 (*.f64 x x) #s(literal -2 binary64))
(-.f64 #s(literal 2 binary64) (*.f64 (neg.f64 x) x))
(+.f64 (fma.f64 x x #s(literal 1 binary64)) #s(literal 1 binary64))
(+.f64 (/.f64 (*.f64 (*.f64 (*.f64 (*.f64 x x) x) x) (*.f64 x x)) (fma.f64 (*.f64 (*.f64 x x) x) x (-.f64 #s(literal 4 binary64) (*.f64 (*.f64 x x) #s(literal 2 binary64))))) (/.f64 #s(literal 8 binary64) (fma.f64 (*.f64 (*.f64 x x) x) x (-.f64 #s(literal 4 binary64) (*.f64 (*.f64 x x) #s(literal 2 binary64))))))
(+.f64 (/.f64 #s(literal 8 binary64) (fma.f64 (*.f64 x x) (fma.f64 x x #s(literal -2 binary64)) #s(literal 4 binary64))) (/.f64 (*.f64 (*.f64 (*.f64 (*.f64 x x) x) x) (*.f64 x x)) (fma.f64 (*.f64 x x) (fma.f64 x x #s(literal -2 binary64)) #s(literal 4 binary64))))
(+.f64 (*.f64 x x) #s(literal 2 binary64))
(+.f64 #s(literal 1 binary64) (+.f64 #s(literal 1 binary64) (*.f64 x x)))
(+.f64 #s(literal 2 binary64) (*.f64 x x))
(*.f64 (/.f64 #s(literal 2 binary64) (-.f64 (exp.f64 (+.f64 x x)) (exp.f64 (*.f64 (neg.f64 x) #s(literal 2 binary64))))) (*.f64 #s(literal 2 binary64) (sinh.f64 x)))
(*.f64 (/.f64 #s(literal 2 binary64) (+.f64 (exp.f64 (*.f64 (neg.f64 x) #s(literal 3 binary64))) (exp.f64 (*.f64 x #s(literal 3 binary64))))) (+.f64 (expm1.f64 (*.f64 (neg.f64 x) #s(literal 2 binary64))) (exp.f64 (+.f64 x x))))
(*.f64 (pow.f64 (cosh.f64 x) #s(literal -1/2 binary64)) (pow.f64 (cosh.f64 x) #s(literal -1/2 binary64)))
(*.f64 (/.f64 #s(literal 1 binary64) (*.f64 (cosh.f64 x) #s(literal 2 binary64))) #s(literal 2 binary64))
(*.f64 #s(literal 1 binary64) (/.f64 #s(literal 1 binary64) (cosh.f64 x)))
(*.f64 #s(literal 2 binary64) (/.f64 #s(literal 1 binary64) (*.f64 (cosh.f64 x) #s(literal 2 binary64))))
(pow.f64 (cosh.f64 x) #s(literal -1 binary64))
(/.f64 #s(literal -2 binary64) (*.f64 #s(literal -2 binary64) (cosh.f64 x)))
(/.f64 #s(literal -1 binary64) (neg.f64 (cosh.f64 x)))
(/.f64 #s(literal 1 binary64) (neg.f64 (neg.f64 (cosh.f64 x))))
(/.f64 #s(literal 1 binary64) (pow.f64 (cosh.f64 x) #s(literal 1 binary64)))
(/.f64 #s(literal 1 binary64) (cosh.f64 x))
(/.f64 #s(literal 2 binary64) (neg.f64 (*.f64 #s(literal -2 binary64) (cosh.f64 x))))
(/.f64 #s(literal 2 binary64) (*.f64 (cosh.f64 x) #s(literal 2 binary64)))
(neg.f64 (/.f64 #s(literal 2 binary64) (*.f64 #s(literal -2 binary64) (cosh.f64 x))))
(neg.f64 (/.f64 #s(literal 1 binary64) (neg.f64 (cosh.f64 x))))
(neg.f64 (/.f64 #s(literal -2 binary64) (*.f64 (cosh.f64 x) #s(literal 2 binary64))))
(neg.f64 (/.f64 #s(literal -1 binary64) (cosh.f64 x)))
(+.f64 (/.f64 #s(literal 1 binary64) (*.f64 (cosh.f64 x) #s(literal 2 binary64))) (/.f64 #s(literal 1 binary64) (*.f64 (cosh.f64 x) #s(literal 2 binary64))))
(exp.f64 (*.f64 (log.f64 (cosh.f64 x)) #s(literal -1 binary64)))
(*.f64 (cosh.f64 x) #s(literal 2 binary64))
(*.f64 #s(literal 2 binary64) (cosh.f64 x))
(/.f64 (*.f64 #s(literal 2 binary64) (*.f64 (cosh.f64 x) #s(literal 2 binary64))) #s(literal 2 binary64))
(/.f64 (-.f64 (exp.f64 (*.f64 (neg.f64 x) #s(literal 2 binary64))) (exp.f64 (+.f64 x x))) (-.f64 (exp.f64 (neg.f64 x)) (exp.f64 x)))
(/.f64 (neg.f64 (-.f64 (exp.f64 (+.f64 x x)) (exp.f64 (*.f64 (neg.f64 x) #s(literal 2 binary64))))) (neg.f64 (*.f64 #s(literal 2 binary64) (sinh.f64 x))))
(/.f64 (neg.f64 (+.f64 (exp.f64 (*.f64 (neg.f64 x) #s(literal 3 binary64))) (exp.f64 (*.f64 x #s(literal 3 binary64))))) (neg.f64 (+.f64 (expm1.f64 (*.f64 (neg.f64 x) #s(literal 2 binary64))) (exp.f64 (+.f64 x x)))))
(/.f64 (-.f64 (exp.f64 (+.f64 x x)) (exp.f64 (*.f64 (neg.f64 x) #s(literal 2 binary64)))) (*.f64 #s(literal 2 binary64) (sinh.f64 x)))
(/.f64 (+.f64 (exp.f64 (*.f64 (neg.f64 x) #s(literal 3 binary64))) (exp.f64 (*.f64 x #s(literal 3 binary64)))) (+.f64 (exp.f64 (*.f64 (neg.f64 x) #s(literal 2 binary64))) (expm1.f64 (+.f64 x x))))
(/.f64 (+.f64 (exp.f64 (*.f64 (neg.f64 x) #s(literal 3 binary64))) (exp.f64 (*.f64 x #s(literal 3 binary64)))) (+.f64 (expm1.f64 (*.f64 (neg.f64 x) #s(literal 2 binary64))) (exp.f64 (+.f64 x x))))
(fma.f64 (pow.f64 (exp.f64 #s(literal -1 binary64)) (/.f64 x #s(literal 2 binary64))) (pow.f64 (exp.f64 #s(literal -1 binary64)) (/.f64 x #s(literal 2 binary64))) (exp.f64 x))
(fma.f64 (pow.f64 (exp.f64 x) #s(literal -1/2 binary64)) (pow.f64 (exp.f64 x) #s(literal -1/2 binary64)) (exp.f64 x))
(fma.f64 (*.f64 (cosh.f64 x) #s(literal 2 binary64)) #s(literal 1/2 binary64) (+.f64 (sinh.f64 (neg.f64 x)) (exp.f64 x)))
(fma.f64 (*.f64 (cosh.f64 x) #s(literal 2 binary64)) #s(literal 1/2 binary64) (+.f64 (sinh.f64 x) (exp.f64 (neg.f64 x))))
(fma.f64 (*.f64 (cosh.f64 x) #s(literal 2 binary64)) #s(literal 1/2 binary64) (cosh.f64 x))
(fma.f64 #s(literal 1/2 binary64) (*.f64 (cosh.f64 x) #s(literal 2 binary64)) (+.f64 (sinh.f64 (neg.f64 x)) (exp.f64 x)))
(fma.f64 #s(literal 1/2 binary64) (*.f64 (cosh.f64 x) #s(literal 2 binary64)) (+.f64 (sinh.f64 x) (exp.f64 (neg.f64 x))))
(fma.f64 #s(literal 1/2 binary64) (*.f64 (cosh.f64 x) #s(literal 2 binary64)) (cosh.f64 x))
(fma.f64 #s(literal 1 binary64) (exp.f64 (neg.f64 x)) (exp.f64 x))
(fma.f64 #s(literal 1 binary64) (cosh.f64 x) (+.f64 (sinh.f64 (neg.f64 x)) (exp.f64 x)))
(fma.f64 #s(literal 1 binary64) (cosh.f64 x) (+.f64 (sinh.f64 x) (exp.f64 (neg.f64 x))))
(fma.f64 #s(literal 1 binary64) (cosh.f64 x) (cosh.f64 x))
(fma.f64 #s(literal 2 binary64) (/.f64 (cosh.f64 x) #s(literal 2 binary64)) (+.f64 (sinh.f64 (neg.f64 x)) (exp.f64 x)))
(fma.f64 #s(literal 2 binary64) (/.f64 (cosh.f64 x) #s(literal 2 binary64)) (+.f64 (sinh.f64 x) (exp.f64 (neg.f64 x))))
(fma.f64 #s(literal 2 binary64) (/.f64 (cosh.f64 x) #s(literal 2 binary64)) (cosh.f64 x))
(fma.f64 #s(literal 2 binary64) (*.f64 (cosh.f64 x) #s(literal 1/2 binary64)) (+.f64 (sinh.f64 (neg.f64 x)) (exp.f64 x)))
(fma.f64 #s(literal 2 binary64) (*.f64 (cosh.f64 x) #s(literal 1/2 binary64)) (+.f64 (sinh.f64 x) (exp.f64 (neg.f64 x))))
(fma.f64 #s(literal 2 binary64) (*.f64 (cosh.f64 x) #s(literal 1/2 binary64)) (cosh.f64 x))
(-.f64 (+.f64 (exp.f64 x) (cosh.f64 x)) (sinh.f64 x))
(-.f64 (/.f64 (exp.f64 (+.f64 x x)) (*.f64 #s(literal 2 binary64) (sinh.f64 x))) (/.f64 (exp.f64 (*.f64 (neg.f64 x) #s(literal 2 binary64))) (*.f64 #s(literal 2 binary64) (sinh.f64 x))))
(-.f64 (cosh.f64 x) (-.f64 (sinh.f64 x) (exp.f64 x)))
(+.f64 (+.f64 (exp.f64 (neg.f64 x)) (cosh.f64 x)) (sinh.f64 x))
(+.f64 (+.f64 (exp.f64 x) (cosh.f64 x)) (sinh.f64 (neg.f64 x)))
(+.f64 (/.f64 (exp.f64 (*.f64 x #s(literal 3 binary64))) (+.f64 (expm1.f64 (*.f64 (neg.f64 x) #s(literal 2 binary64))) (exp.f64 (+.f64 x x)))) (/.f64 (exp.f64 (*.f64 (neg.f64 x) #s(literal 3 binary64))) (+.f64 (expm1.f64 (*.f64 (neg.f64 x) #s(literal 2 binary64))) (exp.f64 (+.f64 x x)))))
(+.f64 (exp.f64 (neg.f64 x)) (exp.f64 x))
(+.f64 (cosh.f64 x) (+.f64 (sinh.f64 (neg.f64 x)) (exp.f64 x)))
(+.f64 (cosh.f64 x) (+.f64 (sinh.f64 x) (exp.f64 (neg.f64 x))))
(+.f64 (cosh.f64 x) (cosh.f64 x))
(+.f64 (exp.f64 x) (exp.f64 (neg.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 #s(literal 1 binary64) (exp.f64 (neg.f64 x)))
(fma.f64 (*.f64 (cosh.f64 x) #s(literal 2 binary64)) #s(literal 1/2 binary64) (sinh.f64 x))
(fma.f64 #s(literal 1/2 binary64) (*.f64 (cosh.f64 x) #s(literal 2 binary64)) (sinh.f64 x))
(fma.f64 #s(literal 1 binary64) (cosh.f64 x) (sinh.f64 x))
(fma.f64 #s(literal 2 binary64) (/.f64 (cosh.f64 x) #s(literal 2 binary64)) (sinh.f64 x))
(fma.f64 #s(literal 2 binary64) (*.f64 (cosh.f64 x) #s(literal 1/2 binary64)) (sinh.f64 x))
(+.f64 (sinh.f64 x) (cosh.f64 x))
(+.f64 (cosh.f64 x) (sinh.f64 x))
(exp.f64 x)
(*.f64 (pow.f64 (exp.f64 #s(literal -1 binary64)) (/.f64 x #s(literal 2 binary64))) (pow.f64 (exp.f64 #s(literal -1 binary64)) (/.f64 x #s(literal 2 binary64))))
(*.f64 (pow.f64 (exp.f64 x) #s(literal -1/2 binary64)) (pow.f64 (exp.f64 x) #s(literal -1/2 binary64)))
(*.f64 #s(literal 1 binary64) (exp.f64 (neg.f64 x)))
(pow.f64 (exp.f64 #s(literal -1 binary64)) x)
(pow.f64 (exp.f64 x) #s(literal -1 binary64))
(/.f64 (-.f64 (*.f64 (cosh.f64 x) (cosh.f64 x)) (*.f64 (sinh.f64 (neg.f64 x)) (sinh.f64 (neg.f64 x)))) (-.f64 (cosh.f64 x) (sinh.f64 (neg.f64 x))))
(/.f64 (+.f64 (pow.f64 (cosh.f64 x) #s(literal 3 binary64)) (pow.f64 (sinh.f64 (neg.f64 x)) #s(literal 3 binary64))) (fma.f64 (cosh.f64 x) (cosh.f64 x) (-.f64 (*.f64 (sinh.f64 (neg.f64 x)) (sinh.f64 (neg.f64 x))) (*.f64 (cosh.f64 x) (sinh.f64 (neg.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) (fma.f64 (sinh.f64 x) (sinh.f64 x) (*.f64 (cosh.f64 x) (sinh.f64 x)))))
(/.f64 #s(literal -1 binary64) (neg.f64 (exp.f64 x)))
(/.f64 #s(literal 1 binary64) (neg.f64 (neg.f64 (exp.f64 x))))
(/.f64 #s(literal 1 binary64) (pow.f64 (exp.f64 x) #s(literal 1 binary64)))
(/.f64 #s(literal 1 binary64) (exp.f64 x))
(/.f64 #s(literal 2 binary64) (*.f64 #s(literal 2 binary64) (exp.f64 x)))
(neg.f64 (/.f64 #s(literal 1 binary64) (neg.f64 (exp.f64 x))))
(neg.f64 (/.f64 #s(literal -1 binary64) (exp.f64 x)))
(fma.f64 (*.f64 (cosh.f64 x) #s(literal 2 binary64)) #s(literal 1/2 binary64) (sinh.f64 (neg.f64 x)))
(fma.f64 #s(literal 1/2 binary64) (*.f64 (cosh.f64 x) #s(literal 2 binary64)) (sinh.f64 (neg.f64 x)))
(fma.f64 #s(literal 1 binary64) (cosh.f64 x) (sinh.f64 (neg.f64 x)))
(fma.f64 #s(literal 2 binary64) (/.f64 (cosh.f64 x) #s(literal 2 binary64)) (sinh.f64 (neg.f64 x)))
(fma.f64 #s(literal 2 binary64) (*.f64 (cosh.f64 x) #s(literal 1/2 binary64)) (sinh.f64 (neg.f64 x)))
(-.f64 (cosh.f64 x) (sinh.f64 x))
(+.f64 (sinh.f64 (neg.f64 x)) (cosh.f64 x))
(+.f64 (cosh.f64 x) (sinh.f64 (neg.f64 x)))
(exp.f64 (-.f64 #s(literal 0 binary64) x))
(exp.f64 (*.f64 (log.f64 (exp.f64 #s(literal -1 binary64))) x))
(exp.f64 (*.f64 (log.f64 (exp.f64 x)) #s(literal -1 binary64)))
(exp.f64 (neg.f64 x))
#s(approx (/ 1 (cosh x)) #s(literal 1 binary64))
#s(approx (/ 1 (cosh x)) (fma.f64 (*.f64 x x) #s(literal -1/2 binary64) #s(literal 1 binary64)))
#s(approx (/ 1 (cosh x)) (fma.f64 (-.f64 (*.f64 #s(literal 5/24 binary64) (*.f64 x x)) #s(literal 1/2 binary64)) (*.f64 x x) #s(literal 1 binary64)))
#s(approx (/ 1 (cosh x)) (fma.f64 (*.f64 (-.f64 (*.f64 (*.f64 (fma.f64 #s(literal -61/720 binary64) (*.f64 x x) #s(literal 5/24 binary64)) x) x) #s(literal 1/2 binary64)) x) x #s(literal 1 binary64)))
#s(approx (cosh x) (fma.f64 #s(literal 1/2 binary64) (*.f64 x x) #s(literal 1 binary64)))
#s(approx (cosh x) (fma.f64 (fma.f64 #s(literal 1/24 binary64) (*.f64 x x) #s(literal 1/2 binary64)) (*.f64 x x) #s(literal 1 binary64)))
#s(approx (cosh x) (fma.f64 (*.f64 (fma.f64 (fma.f64 #s(literal 1/720 binary64) (*.f64 x x) #s(literal 1/24 binary64)) (*.f64 x x) #s(literal 1/2 binary64)) x) x #s(literal 1 binary64)))
#s(approx x x)
#s(approx (+ (exp x) (/ 1 (exp x))) #s(literal 2 binary64))
#s(approx (+ (exp x) (/ 1 (exp x))) (fma.f64 x x #s(literal 2 binary64)))
#s(approx (+ (exp x) (/ 1 (exp x))) (fma.f64 (fma.f64 #s(literal 1/12 binary64) (*.f64 x x) #s(literal 1 binary64)) (*.f64 x x) #s(literal 2 binary64)))
#s(approx (+ (exp x) (/ 1 (exp x))) (fma.f64 (*.f64 (fma.f64 (fma.f64 #s(literal 1/360 binary64) (*.f64 x x) #s(literal 1/12 binary64)) (*.f64 x x) #s(literal 1 binary64)) x) x #s(literal 2 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 (/ 1 (exp x)) (-.f64 #s(literal 1 binary64) x))
#s(approx (/ 1 (exp x)) (fma.f64 (fma.f64 #s(literal 1/2 binary64) x #s(literal -1 binary64)) x #s(literal 1 binary64)))
#s(approx (/ 1 (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 (/ 1 (cosh x)) (/.f64 #s(literal 1 binary64) (cosh.f64 x)))
#s(approx (/ 1 (cosh x)) (/.f64 #s(literal 1 binary64) (cosh.f64 x)))
#s(approx (cosh x) (cosh.f64 x))
#s(approx (+ (exp x) (/ 1 (exp x))) (*.f64 (cosh.f64 x) #s(literal 2 binary64)))
#s(approx (+ (* x x) 2) (*.f64 x x))
#s(approx (+ (* x x) 2) (*.f64 (*.f64 (-.f64 (/.f64 #s(literal 2 binary64) (*.f64 x x)) #s(literal -1 binary64)) x) x))
#s(approx (+ (exp x) (/ 1 (exp x))) (*.f64 (cosh.f64 x) #s(literal 2 binary64)))
#s(approx (exp x) (exp.f64 x))
#s(approx (/ 1 (exp x)) (exp.f64 (neg.f64 x)))
#s(approx (/ 1 (cosh x)) (/.f64 #s(literal 1 binary64) (cosh.f64 x)))
#s(approx (+ (exp x) (/ 1 (exp x))) (*.f64 (cosh.f64 x) #s(literal 2 binary64)))

eval17.0ms (1.1%)

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

Compiled 1 469 to 666 computations (54.7% saved)

prune21.0ms (1.3%)

Memory
-37.2MiB live, 8.8MiB allocated; 4ms collecting garbage
Pruning

5 alts after pruning (1 fresh and 4 done)

PrunedKeptTotal
New1871188
Fresh000
Picked044
Done000
Total1875192
Accuracy
100.0%
Counts
192 → 5
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
(/.f64 #s(literal 2 binary64) (+.f64 (exp.f64 x) (/.f64 #s(literal 1 binary64) (exp.f64 x))))
74.5%
(/.f64 #s(literal 2 binary64) #s(approx (+ (exp x) (exp (neg x))) (fma.f64 x x #s(literal 2 binary64))))
27.2%
(/.f64 #s(literal 2 binary64) #s(approx (+ (exp x) (exp (neg x))) #s(approx (+ (* x x) 2) (*.f64 x x))))
100.0%
(/.f64 #s(literal 1 binary64) (cosh.f64 x))
50.9%
#s(approx (/ 2 (+ (exp x) (exp (neg x)))) #s(literal 1 binary64))
Compiler

Compiled 43 to 42 computations (2.3% saved)

series2.0ms (0.1%)

Memory
4.1MiB live, 4.1MiB allocated; 0ms collecting garbage
Counts
6 → 15
Calls
Call 1
Inputs
(/.f64 #s(literal 2 binary64) #s(approx (+ (exp x) (exp (neg x))) #s(approx (+ (* x x) 2) (*.f64 x x))))
#s(literal 2 binary64)
#s(approx (+ (exp x) (exp (neg x))) #s(approx (+ (* x x) 2) (*.f64 x x)))
#s(approx (+ (* x x) 2) (*.f64 x x))
(*.f64 x x)
x
Outputs
#s(approx (/ 2 (+ (exp x) (exp (neg x)))) #s(hole binary64 1))
#s(approx (/ 2 (+ (exp x) (exp (neg x)))) #s(hole binary64 (+ 1 (* -1/2 (pow x 2)))))
#s(approx (/ 2 (+ (exp x) (exp (neg x)))) #s(hole binary64 (+ 1 (* (pow x 2) (- (* 5/24 (pow x 2)) 1/2)))))
#s(approx (/ 2 (+ (exp x) (exp (neg x)))) #s(hole binary64 (+ 1 (* (pow x 2) (- (* (pow x 2) (+ 5/24 (* -61/720 (pow x 2)))) 1/2)))))
#s(approx (+ (exp x) (exp (neg x))) #s(hole binary64 2))
#s(approx (+ (exp x) (exp (neg x))) #s(hole binary64 (+ 2 (pow x 2))))
#s(approx (+ (exp x) (exp (neg x))) #s(hole binary64 (+ 2 (* (pow x 2) (+ 1 (* 1/12 (pow x 2)))))))
#s(approx (+ (exp x) (exp (neg x))) #s(hole binary64 (+ 2 (* (pow x 2) (+ 1 (* (pow x 2) (+ 1/12 (* 1/360 (pow x 2)))))))))
#s(approx (* x x) #s(hole binary64 (pow x 2)))
#s(approx x #s(hole binary64 x))
#s(approx (/ 2 (+ (exp x) (exp (neg x)))) #s(hole binary64 (/ 2 (+ (exp x) (exp (neg x))))))
#s(approx (+ (exp x) (exp (neg x))) #s(hole binary64 (+ (exp x) (exp (neg x)))))
#s(approx (+ (* x x) 2) #s(hole binary64 (* (pow x 2) (+ 1 (* 2 (/ 1 (pow x 2)))))))
#s(approx (/ 2 (+ (exp x) (exp (neg x)))) #s(hole binary64 (/ 2 (+ (exp x) (exp (* -1 x))))))
#s(approx (+ (exp x) (exp (neg x))) #s(hole binary64 (+ (exp x) (exp (* -1 x)))))
Calls

3 calls:

TimeVariablePointExpression
1.0ms
x
@inf
((/ 2 (+ (exp x) (exp (neg x)))) 2 (+ (exp x) (exp (neg x))) (+ (* x x) 2) (* x x) x)
1.0ms
x
@-inf
((/ 2 (+ (exp x) (exp (neg x)))) 2 (+ (exp x) (exp (neg x))) (+ (* x x) 2) (* x x) x)
0.0ms
x
@0
((/ 2 (+ (exp x) (exp (neg x)))) 2 (+ (exp x) (exp (neg x))) (+ (* x x) 2) (* x x) x)

rewrite123.0ms (7.8%)

Memory
13.3MiB live, 122.6MiB allocated; 19ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
068281
070241
1377221
03243206
Stop Event
iter-limit
iter-limit
node-limit
iter-limit
Counts
21 → 63
Calls
Call 1
Inputs
(/.f64 #s(literal 2 binary64) #s(approx (+ (exp x) (exp (neg x))) #s(approx (+ (* x x) 2) (*.f64 x x))))
#s(literal 2 binary64)
#s(approx (+ (exp x) (exp (neg x))) #s(approx (+ (* x x) 2) (*.f64 x x)))
#s(approx (+ (* x x) 2) (*.f64 x x))
(*.f64 x x)
x
#s(approx (/ 2 (+ (exp x) (exp (neg x)))) #s(hole binary64 1))
#s(approx (/ 2 (+ (exp x) (exp (neg x)))) #s(hole binary64 (+ 1 (* -1/2 (pow x 2)))))
#s(approx (/ 2 (+ (exp x) (exp (neg x)))) #s(hole binary64 (+ 1 (* (pow x 2) (- (* 5/24 (pow x 2)) 1/2)))))
#s(approx (/ 2 (+ (exp x) (exp (neg x)))) #s(hole binary64 (+ 1 (* (pow x 2) (- (* (pow x 2) (+ 5/24 (* -61/720 (pow x 2)))) 1/2)))))
#s(approx (+ (exp x) (exp (neg x))) #s(hole binary64 2))
#s(approx (+ (exp x) (exp (neg x))) #s(hole binary64 (+ 2 (pow x 2))))
#s(approx (+ (exp x) (exp (neg x))) #s(hole binary64 (+ 2 (* (pow x 2) (+ 1 (* 1/12 (pow x 2)))))))
#s(approx (+ (exp x) (exp (neg x))) #s(hole binary64 (+ 2 (* (pow x 2) (+ 1 (* (pow x 2) (+ 1/12 (* 1/360 (pow x 2)))))))))
#s(approx (* x x) #s(hole binary64 (pow x 2)))
#s(approx x #s(hole binary64 x))
#s(approx (/ 2 (+ (exp x) (exp (neg x)))) #s(hole binary64 (/ 2 (+ (exp x) (exp (neg x))))))
#s(approx (+ (exp x) (exp (neg x))) #s(hole binary64 (+ (exp x) (exp (neg x)))))
#s(approx (+ (* x x) 2) #s(hole binary64 (* (pow x 2) (+ 1 (* 2 (/ 1 (pow x 2)))))))
#s(approx (/ 2 (+ (exp x) (exp (neg x)))) #s(hole binary64 (/ 2 (+ (exp x) (exp (* -1 x))))))
#s(approx (+ (exp x) (exp (neg x))) #s(hole binary64 (+ (exp x) (exp (* -1 x)))))
Outputs
(*.f64 #s(literal 2 binary64) (/.f64 #s(literal 1 binary64) #s(approx (+ (exp x) (exp (neg x))) #s(approx (+ (* x x) 2) (*.f64 x x)))))
(/.f64 #s(literal -2 binary64) (neg.f64 #s(approx (+ (exp x) (exp (neg x))) #s(approx (+ (* x x) 2) (*.f64 x x)))))
(/.f64 #s(literal 2 binary64) (neg.f64 (neg.f64 #s(approx (+ (exp x) (exp (neg x))) #s(approx (+ (* x x) 2) (*.f64 x x))))))
(/.f64 #s(literal 2 binary64) #s(approx (+ (exp x) (exp (neg x))) #s(approx (+ (* x x) 2) (*.f64 x x))))
(neg.f64 (/.f64 #s(literal 2 binary64) (neg.f64 #s(approx (+ (exp x) (exp (neg x))) #s(approx (+ (* x x) 2) (*.f64 x x))))))
(neg.f64 (/.f64 #s(literal -2 binary64) #s(approx (+ (exp x) (exp (neg x))) #s(approx (+ (* x x) 2) (*.f64 x x)))))
(+.f64 (/.f64 #s(literal 1 binary64) #s(approx (+ (exp x) (exp (neg x))) #s(approx (+ (* x x) 2) (*.f64 x x)))) (/.f64 #s(literal 1 binary64) #s(approx (+ (exp x) (exp (neg x))) #s(approx (+ (* x x) 2) (*.f64 x x)))))
#s(literal 2 binary64)
#s(approx (+ (exp x) (exp (neg x))) #s(approx (+ (* x x) 2) (*.f64 x x)))
#s(approx (+ (* x x) 2) (*.f64 x x))
(*.f64 (*.f64 (neg.f64 x) #s(literal -1 binary64)) x)
(*.f64 (*.f64 #s(literal 1 binary64) (fabs.f64 x)) (*.f64 #s(literal 1 binary64) (fabs.f64 x)))
(*.f64 (*.f64 #s(literal 1 binary64) (fabs.f64 x)) (fabs.f64 x))
(*.f64 (*.f64 #s(literal 1 binary64) (neg.f64 x)) (*.f64 #s(literal 1 binary64) (neg.f64 x)))
(*.f64 (*.f64 #s(literal 1 binary64) (neg.f64 x)) (neg.f64 x))
(*.f64 (*.f64 #s(literal 1 binary64) x) (*.f64 #s(literal 1 binary64) x))
(*.f64 (*.f64 #s(literal 1 binary64) x) x)
(*.f64 (*.f64 (fabs.f64 x) #s(literal 1 binary64)) (*.f64 (fabs.f64 x) #s(literal 1 binary64)))
(*.f64 (*.f64 (neg.f64 x) #s(literal 1 binary64)) (*.f64 (neg.f64 x) #s(literal 1 binary64)))
(*.f64 (*.f64 x #s(literal 1 binary64)) (*.f64 x #s(literal 1 binary64)))
(*.f64 (fabs.f64 (fabs.f64 x)) (fabs.f64 (fabs.f64 x)))
(*.f64 (neg.f64 (fabs.f64 x)) (neg.f64 (fabs.f64 x)))
(*.f64 (exp.f64 (log.f64 x)) (exp.f64 (log.f64 x)))
(*.f64 (neg.f64 (neg.f64 x)) (neg.f64 (neg.f64 x)))
(*.f64 (*.f64 (neg.f64 x) x) #s(literal -1 binary64))
(*.f64 (fabs.f64 x) (*.f64 (fabs.f64 x) #s(literal 1 binary64)))
(*.f64 (fabs.f64 x) (fabs.f64 x))
(*.f64 #s(literal -1 binary64) (*.f64 (neg.f64 x) x))
(*.f64 (*.f64 x x) #s(literal 1 binary64))
(*.f64 #s(literal 1 binary64) (*.f64 x x))
(*.f64 (neg.f64 x) (*.f64 (neg.f64 x) #s(literal 1 binary64)))
(*.f64 (neg.f64 x) (neg.f64 x))
(*.f64 x (*.f64 #s(literal -1 binary64) (neg.f64 x)))
(*.f64 x (*.f64 x #s(literal 1 binary64)))
(*.f64 x x)
(pow.f64 (exp.f64 (log.f64 x)) #s(literal 2 binary64))
(pow.f64 (fabs.f64 x) #s(literal 2 binary64))
(pow.f64 (*.f64 x x) #s(literal 1 binary64))
(pow.f64 (neg.f64 x) #s(literal 2 binary64))
(pow.f64 x #s(literal 2 binary64))
(/.f64 (*.f64 (*.f64 x x) #s(literal 2 binary64)) #s(literal 2 binary64))
(neg.f64 (*.f64 (neg.f64 x) x))
(fabs.f64 (*.f64 x x))
(+.f64 (cosh.f64 (*.f64 (log.f64 x) #s(literal 2 binary64))) (sinh.f64 (*.f64 (log.f64 x) #s(literal 2 binary64))))
(exp.f64 (+.f64 #s(literal 0 binary64) (*.f64 (log.f64 x) #s(literal 2 binary64))))
(exp.f64 (fma.f64 (log.f64 x) #s(literal 2 binary64) #s(literal 0 binary64)))
(exp.f64 (*.f64 (log.f64 x) #s(literal 2 binary64)))
x
#s(approx (/ 2 (+ (exp x) (exp (neg x)))) #s(literal 1 binary64))
#s(approx (/ 2 (+ (exp x) (exp (neg x)))) (fma.f64 (*.f64 x x) #s(literal -1/2 binary64) #s(literal 1 binary64)))
#s(approx (/ 2 (+ (exp x) (exp (neg x)))) (fma.f64 (-.f64 (*.f64 #s(literal 5/24 binary64) (*.f64 x x)) #s(literal 1/2 binary64)) (*.f64 x x) #s(literal 1 binary64)))
#s(approx (/ 2 (+ (exp x) (exp (neg x)))) (fma.f64 (*.f64 (-.f64 (*.f64 (*.f64 (fma.f64 #s(literal -61/720 binary64) (*.f64 x x) #s(literal 5/24 binary64)) x) x) #s(literal 1/2 binary64)) x) x #s(literal 1 binary64)))
#s(approx (+ (exp x) (exp (neg x))) #s(literal 2 binary64))
#s(approx (+ (exp x) (exp (neg x))) (fma.f64 x x #s(literal 2 binary64)))
#s(approx (+ (exp x) (exp (neg x))) (fma.f64 (fma.f64 #s(literal 1/12 binary64) (*.f64 x x) #s(literal 1 binary64)) (*.f64 x x) #s(literal 2 binary64)))
#s(approx (+ (exp x) (exp (neg x))) (fma.f64 (*.f64 (fma.f64 (fma.f64 #s(literal 1/360 binary64) (*.f64 x x) #s(literal 1/12 binary64)) (*.f64 x x) #s(literal 1 binary64)) x) x #s(literal 2 binary64)))
#s(approx (* x x) (*.f64 x x))
#s(approx x x)
#s(approx (/ 2 (+ (exp x) (exp (neg x)))) (/.f64 #s(literal 1 binary64) (cosh.f64 x)))
#s(approx (+ (exp x) (exp (neg x))) (*.f64 (cosh.f64 x) #s(literal 2 binary64)))
#s(approx (+ (* x x) 2) (*.f64 (*.f64 (-.f64 (/.f64 #s(literal 2 binary64) (*.f64 x x)) #s(literal -1 binary64)) x) x))
#s(approx (/ 2 (+ (exp x) (exp (neg x)))) (/.f64 #s(literal 1 binary64) (cosh.f64 x)))
#s(approx (+ (exp x) (exp (neg x))) (*.f64 (cosh.f64 x) #s(literal 2 binary64)))

eval5.0ms (0.3%)

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

Compiled 426 to 247 computations (42% saved)

prune5.0ms (0.3%)

Memory
-41.2MiB live, 4.5MiB allocated; 4ms collecting garbage
Pruning

5 alts after pruning (0 fresh and 5 done)

PrunedKeptTotal
New53053
Fresh000
Picked011
Done044
Total53558
Accuracy
100.0%
Counts
58 → 5
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
(/.f64 #s(literal 2 binary64) (+.f64 (exp.f64 x) (/.f64 #s(literal 1 binary64) (exp.f64 x))))
74.5%
(/.f64 #s(literal 2 binary64) #s(approx (+ (exp x) (exp (neg x))) (fma.f64 x x #s(literal 2 binary64))))
27.2%
(/.f64 #s(literal 2 binary64) #s(approx (+ (exp x) (exp (neg x))) #s(approx (+ (* x x) 2) (*.f64 x x))))
100.0%
(/.f64 #s(literal 1 binary64) (cosh.f64 x))
50.9%
#s(approx (/ 2 (+ (exp x) (exp (neg x)))) #s(literal 1 binary64))
Compiler

Compiled 77 to 71 computations (7.8% saved)

regimes6.0ms (0.4%)

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

3 calls:

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

Compiled 13 to 13 computations (0% saved)

regimes4.0ms (0.3%)

Memory
8.7MiB live, 8.7MiB allocated; 0ms collecting garbage
Counts
3 → 1
Calls
Call 1
Inputs
#s(approx (/ 2 (+ (exp x) (exp (neg x)))) #s(literal 1 binary64))
(/.f64 #s(literal 2 binary64) #s(approx (+ (exp x) (exp (neg x))) #s(approx (+ (* x x) 2) (*.f64 x x))))
(/.f64 #s(literal 2 binary64) #s(approx (+ (exp x) (exp (neg x))) (fma.f64 x x #s(literal 2 binary64))))
Outputs
(/.f64 #s(literal 2 binary64) #s(approx (+ (exp x) (exp (neg x))) (fma.f64 x x #s(literal 2 binary64))))
Calls

3 calls:

2.0ms
x
1.0ms
(/.f64 #s(literal 2 binary64) (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))
1.0ms
(+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))
Results
AccuracySegmentsBranch
74.5%1(+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))
74.5%1(/.f64 #s(literal 2 binary64) (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))
74.5%1x
Compiler

Compiled 13 to 13 computations (0% saved)

regimes3.0ms (0.2%)

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

3 calls:

1.0ms
x
1.0ms
(/.f64 #s(literal 2 binary64) (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))
1.0ms
(+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))
Results
AccuracySegmentsBranch
74.5%2(+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))
74.5%2(/.f64 #s(literal 2 binary64) (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))
74.5%2x
Compiler

Compiled 13 to 13 computations (0% saved)

regimes3.0ms (0.2%)

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

Total 0.0b remaining (0%)

Threshold costs 0b (0%)

Counts
1 → 1
Calls
Call 1
Inputs
#s(approx (/ 2 (+ (exp x) (exp (neg x)))) #s(literal 1 binary64))
Outputs
#s(approx (/ 2 (+ (exp x) (exp (neg x)))) #s(literal 1 binary64))
Calls

3 calls:

1.0ms
x
1.0ms
(/.f64 #s(literal 2 binary64) (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))
1.0ms
(+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))
Results
AccuracySegmentsBranch
50.9%1(/.f64 #s(literal 2 binary64) (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))
50.9%1x
50.9%1(+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))
Compiler

Compiled 13 to 13 computations (0% saved)

bsearch0.0ms (0%)

Memory
0.3MiB live, 0.3MiB allocated; 0ms collecting garbage
Algorithm
left-value
Steps
TimeLeftRight
0.0ms
2.0
6.687734520549658
Compiler

Compiled 10 to 11 computations (-10% saved)

derivations104.0ms (6.6%)

Memory
11.7MiB live, 57.8MiB allocated; 2ms collecting garbage
Stop Event
done
Compiler

Compiled 32 to 28 computations (12.5% saved)

preprocess38.0ms (2.4%)

Memory
-31.0MiB live, 58.8MiB allocated; 16ms collecting garbage
Remove

(abs x)

Compiler

Compiled 137 to 125 computations (8.8% saved)

end0.0ms (0%)

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

Profiling

Loading profile data...