Hyperbolic tangent

Time bar (total: 5.5s)

start0.0ms (0%)

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

analyze0.0ms (0%)

Memory
0.7MiB live, 0.7MiB 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 15 to 9 computations (40% saved)

sample4.2s (77.3%)

Memory
19.4MiB live, 3 210.7MiB allocated; 1.8s collecting garbage
Samples
1.7s3 346×2valid
1.1s7 895×0exit
704.0ms4 556×1valid
20.0ms354×0valid
Precisions
Click to see histograms. Total time spent on operations: 3.0s
ival-exp: 1.8s (59.8% of total)
ival-neg: 593.0ms (20% of total)
adjust: 332.0ms (11.2% of total)
ival-div!: 125.0ms (4.2% of total)
ival-sub!: 82.0ms (2.8% of total)
ival-add!: 58.0ms (2% of total)
Bogosity

explain221.0ms (4%)

Memory
28.7MiB live, 266.0MiB allocated; 13ms collecting garbage
FPErrors
Click to see full error table
Ground TruthOverpredictionsExampleUnderpredictionsExampleSubexpression
2500-0-(-.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))
30-0-(/.f64 (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))
00-0-(+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))
00-0-(exp.f64 x)
00-0-(exp.f64 (neg.f64 x))
00-0-(neg.f64 x)
00-0-x
Explanations
Click to see full explanations table
OperatorSubexpressionExplanationCount
-.f64(-.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))cancellation2500
/.f64(/.f64 (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))o/o30
(exp.f64 x)overflow1
(-.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))overflow3
(exp.f64 (neg.f64 x))overflow2
(+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))overflow3
(exp.f64 x)overflow1
(exp.f64 (neg.f64 x))overflow2
Confusion
Predicted +Predicted -
+2530
-03
Precision
1.0
Recall
1.0
Confusion?
Predicted +Predicted MaybePredicted -
+25300
-003
Precision?
1.0
Recall?
1.0
Freqs
test
numberfreq
03
1253
Total Confusion?
Predicted +Predicted MaybePredicted -
+100
-000
Precision?
1.0
Recall?
1.0
Samples
95.0ms212×2valid
50.0ms284×1valid
1.0ms16×0valid
Compiler

Compiled 83 to 25 computations (69.9% saved)

Precisions
Click to see histograms. Total time spent on operations: 126.0ms
ival-exp: 98.0ms (77.9% of total)
adjust: 12.0ms (9.5% of total)
ival-div!: 6.0ms (4.8% of total)
ival-neg: 4.0ms (3.2% of total)
ival-add!: 3.0ms (2.4% of total)
ival-sub!: 3.0ms (2.4% of total)

preprocess153.0ms (2.8%)

Memory
15.1MiB live, 157.1MiB allocated; 12ms collecting garbage
Iterations

Useful iterations: 4 (0.0ms)

IterNodesCost
01339
14539
210439
341439
4441227
0713
01313
12613
26613
326313
416679
089929
Stop Event
iter limit
node limit
iter limit
node limit
Calls
Call 1
Inputs
(/.f64 (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))
Outputs
(/.f64 (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))
(/.f64 (*.f64 #s(literal 2 binary64) (sinh.f64 x)) (*.f64 #s(literal 2 binary64) (cosh.f64 x)))
Symmetry

(negabs x)

Compiler

Compiled 13 to 7 computations (46.2% saved)

eval0.0ms (0%)

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

Compiled 0 to 1 computations (-∞% saved)

prune0.0ms (0%)

Memory
1.5MiB live, 1.5MiB allocated; 0ms collecting garbage
Alt Table
Click to see full alt table
StatusAccuracyProgram
9.0%
(/.f64 (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))
Compiler

Compiled 13 to 7 computations (46.2% saved)

series5.0ms (0.1%)

Memory
-36.4MiB live, 9.5MiB allocated; 2ms collecting garbage
Counts
7 → 31
Calls
Call 1
Inputs
(/.f64 (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))
(-.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))
(exp.f64 x)
x
(exp.f64 (neg.f64 x))
(neg.f64 x)
(+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))
Outputs
#s(approx (/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) #s(hole binary64 x))
#s(approx (/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) #s(hole binary64 (* x (+ 1 (* -1/3 (pow x 2))))))
#s(approx (/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) #s(hole binary64 (* x (+ 1 (* (pow x 2) (- (* 2/15 (pow x 2)) 1/3))))))
#s(approx (/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) #s(hole binary64 (* x (+ 1 (* (pow x 2) (- (* (pow x 2) (+ 2/15 (* -17/315 (pow x 2)))) 1/3))))))
#s(approx (- (exp x) (exp (neg x))) #s(hole binary64 (* 2 x)))
#s(approx (- (exp x) (exp (neg x))) #s(hole binary64 (* x (+ 2 (* 1/3 (pow x 2))))))
#s(approx (- (exp x) (exp (neg x))) #s(hole binary64 (* x (+ 2 (* (pow x 2) (+ 1/3 (* 1/60 (pow x 2))))))))
#s(approx (- (exp x) (exp (neg x))) #s(hole binary64 (* x (+ 2 (* (pow x 2) (+ 1/3 (* (pow x 2) (+ 1/60 (* 1/2520 (pow x 2))))))))))
#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 (neg x)) #s(hole binary64 1))
#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 (+ (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) (exp (neg x))) (+ (exp x) (exp (neg x)))) #s(hole binary64 (/ (- (exp x) (exp (neg x))) (+ (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 (+ (exp x) (exp (neg x))) #s(hole binary64 (+ (exp x) (exp (neg x)))))
#s(approx (/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) #s(hole binary64 (/ (- (exp x) (exp (* -1 x))) (+ (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))))
#s(approx (+ (exp x) (exp (neg x))) #s(hole binary64 (+ (exp x) (exp (* -1 x)))))
Calls

3 calls:

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

rewrite249.0ms (4.5%)

Memory
51.6MiB live, 175.6MiB allocated; 52ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0127498
0140356
1753345
06406319
Stop Event
iter limit
iter limit
node limit
iter limit
Counts
38 → 120
Calls
Call 1
Inputs
(/.f64 (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))
(-.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))
(exp.f64 x)
x
(exp.f64 (neg.f64 x))
(neg.f64 x)
(+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))
#s(approx (/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) #s(hole binary64 x))
#s(approx (/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) #s(hole binary64 (* x (+ 1 (* -1/3 (pow x 2))))))
#s(approx (/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) #s(hole binary64 (* x (+ 1 (* (pow x 2) (- (* 2/15 (pow x 2)) 1/3))))))
#s(approx (/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) #s(hole binary64 (* x (+ 1 (* (pow x 2) (- (* (pow x 2) (+ 2/15 (* -17/315 (pow x 2)))) 1/3))))))
#s(approx (- (exp x) (exp (neg x))) #s(hole binary64 (* 2 x)))
#s(approx (- (exp x) (exp (neg x))) #s(hole binary64 (* x (+ 2 (* 1/3 (pow x 2))))))
#s(approx (- (exp x) (exp (neg x))) #s(hole binary64 (* x (+ 2 (* (pow x 2) (+ 1/3 (* 1/60 (pow x 2))))))))
#s(approx (- (exp x) (exp (neg x))) #s(hole binary64 (* x (+ 2 (* (pow x 2) (+ 1/3 (* (pow x 2) (+ 1/60 (* 1/2520 (pow x 2))))))))))
#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 (neg x)) #s(hole binary64 1))
#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 (+ (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) (exp (neg x))) (+ (exp x) (exp (neg x)))) #s(hole binary64 (/ (- (exp x) (exp (neg x))) (+ (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 (+ (exp x) (exp (neg x))) #s(hole binary64 (+ (exp x) (exp (neg x)))))
#s(approx (/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) #s(hole binary64 (/ (- (exp x) (exp (* -1 x))) (+ (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))))
#s(approx (+ (exp x) (exp (neg x))) #s(hole binary64 (+ (exp x) (exp (* -1 x)))))
Outputs
(tanh.f64 x)
(*.f64 (/.f64 (*.f64 (sinh.f64 x) #s(literal 2 binary64)) (*.f64 (*.f64 (cosh.f64 x) #s(literal 2 binary64)) (*.f64 (sinh.f64 x) #s(literal 2 binary64)))) (*.f64 (sinh.f64 x) #s(literal 2 binary64)))
(*.f64 (/.f64 (*.f64 (sinh.f64 x) #s(literal 2 binary64)) (+.f64 (pow.f64 (exp.f64 (neg.f64 x)) #s(literal 3 binary64)) (pow.f64 (exp.f64 x) #s(literal 3 binary64)))) (fma.f64 (exp.f64 x) (exp.f64 x) (expm1.f64 (*.f64 (neg.f64 x) #s(literal 2 binary64)))))
(*.f64 #s(literal 2 binary64) (/.f64 (sinh.f64 x) (*.f64 (cosh.f64 x) #s(literal 2 binary64))))
(*.f64 #s(literal 1 binary64) (tanh.f64 x))
(/.f64 (-.f64 (*.f64 (/.f64 (/.f64 (exp.f64 x) #s(literal 2 binary64)) (cosh.f64 x)) (/.f64 (/.f64 (exp.f64 x) #s(literal 2 binary64)) (cosh.f64 x))) (*.f64 (/.f64 (exp.f64 (neg.f64 x)) (*.f64 (cosh.f64 x) #s(literal 2 binary64))) (/.f64 (exp.f64 (neg.f64 x)) (*.f64 (cosh.f64 x) #s(literal 2 binary64))))) (+.f64 (/.f64 (/.f64 (exp.f64 x) #s(literal 2 binary64)) (cosh.f64 x)) (/.f64 (exp.f64 (neg.f64 x)) (*.f64 (cosh.f64 x) #s(literal 2 binary64)))))
(/.f64 (-.f64 (pow.f64 (/.f64 (/.f64 (exp.f64 x) #s(literal 2 binary64)) (cosh.f64 x)) #s(literal 3 binary64)) (pow.f64 (/.f64 (exp.f64 (neg.f64 x)) (*.f64 (cosh.f64 x) #s(literal 2 binary64))) #s(literal 3 binary64))) (fma.f64 (/.f64 (/.f64 (exp.f64 x) #s(literal 2 binary64)) (cosh.f64 x)) (/.f64 (/.f64 (exp.f64 x) #s(literal 2 binary64)) (cosh.f64 x)) (fma.f64 (/.f64 (exp.f64 (neg.f64 x)) (*.f64 (cosh.f64 x) #s(literal 2 binary64))) (/.f64 (exp.f64 (neg.f64 x)) (*.f64 (cosh.f64 x) #s(literal 2 binary64))) (*.f64 (/.f64 (/.f64 (exp.f64 x) #s(literal 2 binary64)) (cosh.f64 x)) (/.f64 (exp.f64 (neg.f64 x)) (*.f64 (cosh.f64 x) #s(literal 2 binary64)))))))
(/.f64 (expm1.f64 (*.f64 #s(literal 2 binary64) x)) (fma.f64 (exp.f64 x) (exp.f64 x) #s(literal 1 binary64)))
(/.f64 (neg.f64 (*.f64 #s(literal -2 binary64) (sinh.f64 x))) (neg.f64 (*.f64 #s(literal -2 binary64) (cosh.f64 x))))
(/.f64 (-.f64 (*.f64 (exp.f64 x) (*.f64 (cosh.f64 x) #s(literal 2 binary64))) (*.f64 (*.f64 (cosh.f64 x) #s(literal 2 binary64)) (exp.f64 (neg.f64 x)))) (*.f64 (*.f64 (cosh.f64 x) #s(literal 2 binary64)) (*.f64 (cosh.f64 x) #s(literal 2 binary64))))
(/.f64 (-.f64 #s(literal 1 binary64) (exp.f64 (*.f64 #s(literal -2 binary64) x))) (+.f64 #s(literal 1 binary64) (exp.f64 (*.f64 #s(literal -2 binary64) x))))
(/.f64 (*.f64 (*.f64 (cosh.f64 x) #s(literal 2 binary64)) (*.f64 (sinh.f64 x) #s(literal 2 binary64))) (*.f64 (*.f64 (cosh.f64 x) #s(literal 2 binary64)) (*.f64 (cosh.f64 x) #s(literal 2 binary64))))
(/.f64 (-.f64 (pow.f64 (exp.f64 x) #s(literal 3 binary64)) (pow.f64 (exp.f64 (neg.f64 x)) #s(literal 3 binary64))) (*.f64 (fma.f64 (exp.f64 (neg.f64 x)) (*.f64 (cosh.f64 x) #s(literal 2 binary64)) (pow.f64 (exp.f64 x) #s(literal 2 binary64))) (*.f64 (cosh.f64 x) #s(literal 2 binary64))))
(/.f64 (*.f64 #s(literal -2 binary64) (sinh.f64 x)) (*.f64 #s(literal -2 binary64) (cosh.f64 x)))
(/.f64 (sinh.f64 x) (cosh.f64 x))
(/.f64 (*.f64 (sinh.f64 x) #s(literal 2 binary64)) (*.f64 (cosh.f64 x) #s(literal 2 binary64)))
(neg.f64 (/.f64 (*.f64 #s(literal -2 binary64) (sinh.f64 x)) (*.f64 (cosh.f64 x) #s(literal 2 binary64))))
(neg.f64 (/.f64 (*.f64 (sinh.f64 x) #s(literal 2 binary64)) (*.f64 #s(literal -2 binary64) (cosh.f64 x))))
(-.f64 (/.f64 (/.f64 (exp.f64 x) #s(literal 2 binary64)) (cosh.f64 x)) (/.f64 (exp.f64 (neg.f64 x)) (*.f64 (cosh.f64 x) #s(literal 2 binary64))))
(*.f64 (/.f64 (*.f64 (*.f64 (cosh.f64 x) #s(literal 2 binary64)) (*.f64 (sinh.f64 x) #s(literal 2 binary64))) (*.f64 (*.f64 (cosh.f64 x) #s(literal 2 binary64)) (*.f64 (sinh.f64 x) #s(literal 2 binary64)))) (*.f64 (sinh.f64 x) #s(literal 2 binary64)))
(*.f64 (/.f64 (*.f64 (*.f64 (cosh.f64 x) #s(literal 2 binary64)) (*.f64 (sinh.f64 x) #s(literal 2 binary64))) (+.f64 (pow.f64 (exp.f64 (neg.f64 x)) #s(literal 3 binary64)) (pow.f64 (exp.f64 x) #s(literal 3 binary64)))) (fma.f64 (exp.f64 x) (exp.f64 x) (expm1.f64 (*.f64 (neg.f64 x) #s(literal 2 binary64)))))
(*.f64 (sinh.f64 x) #s(literal 2 binary64))
(*.f64 #s(literal 2 binary64) (sinh.f64 x))
(/.f64 (/.f64 (*.f64 (*.f64 (cosh.f64 x) #s(literal 2 binary64)) (*.f64 (sinh.f64 x) #s(literal 2 binary64))) #s(literal 2 binary64)) (cosh.f64 x))
(/.f64 (neg.f64 (*.f64 (*.f64 (cosh.f64 x) #s(literal 2 binary64)) (*.f64 (sinh.f64 x) #s(literal 2 binary64)))) (*.f64 #s(literal -2 binary64) (cosh.f64 x)))
(/.f64 (neg.f64 (-.f64 (pow.f64 (exp.f64 x) #s(literal 3 binary64)) (pow.f64 (exp.f64 (neg.f64 x)) #s(literal 3 binary64)))) (neg.f64 (fma.f64 (exp.f64 (neg.f64 x)) (*.f64 (cosh.f64 x) #s(literal 2 binary64)) (pow.f64 (exp.f64 x) #s(literal 2 binary64)))))
(/.f64 (*.f64 (*.f64 (cosh.f64 x) #s(literal 2 binary64)) (*.f64 (sinh.f64 x) #s(literal 2 binary64))) (*.f64 (cosh.f64 x) #s(literal 2 binary64)))
(/.f64 (-.f64 (pow.f64 (exp.f64 x) #s(literal 3 binary64)) (pow.f64 (exp.f64 (neg.f64 x)) #s(literal 3 binary64))) (fma.f64 (exp.f64 (neg.f64 x)) (*.f64 (cosh.f64 x) #s(literal 2 binary64)) (pow.f64 (exp.f64 x) #s(literal 2 binary64))))
(-.f64 (-.f64 (exp.f64 x) (cosh.f64 x)) (sinh.f64 (neg.f64 x)))
(-.f64 (/.f64 (pow.f64 (exp.f64 x) #s(literal 2 binary64)) (*.f64 (cosh.f64 x) #s(literal 2 binary64))) (/.f64 (pow.f64 (exp.f64 (neg.f64 x)) #s(literal 2 binary64)) (*.f64 (cosh.f64 x) #s(literal 2 binary64))))
(-.f64 (/.f64 (pow.f64 (exp.f64 x) #s(literal 3 binary64)) (fma.f64 (exp.f64 (neg.f64 x)) (*.f64 (cosh.f64 x) #s(literal 2 binary64)) (pow.f64 (exp.f64 x) #s(literal 2 binary64)))) (/.f64 (pow.f64 (exp.f64 (neg.f64 x)) #s(literal 3 binary64)) (fma.f64 (exp.f64 (neg.f64 x)) (*.f64 (cosh.f64 x) #s(literal 2 binary64)) (pow.f64 (exp.f64 x) #s(literal 2 binary64)))))
(-.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))
(+.f64 (-.f64 (exp.f64 x) (cosh.f64 x)) (sinh.f64 x))
(+.f64 (cosh.f64 x) (-.f64 (sinh.f64 x) (exp.f64 (neg.f64 x))))
(+.f64 (sinh.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 #s(literal 1 binary64) (exp.f64 (neg.f64 x)))
(exp.f64 x)
(+.f64 (cosh.f64 x) (sinh.f64 x))
(+.f64 (sinh.f64 x) (cosh.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 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 (+.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 #s(literal -1 binary64) (neg.f64 (exp.f64 x)))
(/.f64 #s(literal 2 binary64) (*.f64 #s(literal 2 binary64) (exp.f64 x)))
(/.f64 #s(literal 1 binary64) (exp.f64 x))
(neg.f64 (/.f64 #s(literal -1 binary64) (exp.f64 x)))
(-.f64 (cosh.f64 x) (sinh.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 (sinh.f64 (neg.f64 x)) (cosh.f64 x))
(+.f64 (cosh.f64 x) (sinh.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)
(*.f64 (/.f64 (*.f64 (*.f64 (cosh.f64 x) #s(literal 2 binary64)) (*.f64 (sinh.f64 x) #s(literal 2 binary64))) (-.f64 (pow.f64 (exp.f64 x) #s(literal 3 binary64)) (pow.f64 (exp.f64 (neg.f64 x)) #s(literal 3 binary64)))) (fma.f64 (exp.f64 (neg.f64 x)) (*.f64 (cosh.f64 x) #s(literal 2 binary64)) (pow.f64 (exp.f64 x) #s(literal 2 binary64))))
(*.f64 (/.f64 (*.f64 (*.f64 (cosh.f64 x) #s(literal 2 binary64)) (*.f64 (sinh.f64 x) #s(literal 2 binary64))) (*.f64 (*.f64 (cosh.f64 x) #s(literal 2 binary64)) (*.f64 (sinh.f64 x) #s(literal 2 binary64)))) (*.f64 (cosh.f64 x) #s(literal 2 binary64)))
(*.f64 (cosh.f64 x) #s(literal 2 binary64))
(*.f64 #s(literal 2 binary64) (cosh.f64 x))
(/.f64 (/.f64 (*.f64 (*.f64 (cosh.f64 x) #s(literal 2 binary64)) (*.f64 (sinh.f64 x) #s(literal 2 binary64))) #s(literal 2 binary64)) (sinh.f64 x))
(/.f64 (-.f64 (pow.f64 (exp.f64 (neg.f64 x)) #s(literal 2 binary64)) (pow.f64 (exp.f64 x) #s(literal 2 binary64))) (-.f64 (exp.f64 (neg.f64 x)) (exp.f64 x)))
(/.f64 (neg.f64 (+.f64 (pow.f64 (exp.f64 (neg.f64 x)) #s(literal 3 binary64)) (pow.f64 (exp.f64 x) #s(literal 3 binary64)))) (neg.f64 (fma.f64 (exp.f64 x) (exp.f64 x) (expm1.f64 (*.f64 (neg.f64 x) #s(literal 2 binary64))))))
(/.f64 (neg.f64 (*.f64 (*.f64 (cosh.f64 x) #s(literal 2 binary64)) (*.f64 (sinh.f64 x) #s(literal 2 binary64)))) (*.f64 #s(literal -2 binary64) (sinh.f64 x)))
(/.f64 (*.f64 (*.f64 (cosh.f64 x) #s(literal 2 binary64)) (*.f64 (sinh.f64 x) #s(literal 2 binary64))) (*.f64 (sinh.f64 x) #s(literal 2 binary64)))
(/.f64 (+.f64 (pow.f64 (exp.f64 (neg.f64 x)) #s(literal 3 binary64)) (pow.f64 (exp.f64 x) #s(literal 3 binary64))) (+.f64 (pow.f64 (exp.f64 (neg.f64 x)) #s(literal 2 binary64)) (expm1.f64 (*.f64 #s(literal 2 binary64) x))))
(/.f64 (+.f64 (pow.f64 (exp.f64 (neg.f64 x)) #s(literal 3 binary64)) (pow.f64 (exp.f64 x) #s(literal 3 binary64))) (fma.f64 (exp.f64 x) (exp.f64 x) (expm1.f64 (*.f64 (neg.f64 x) #s(literal 2 binary64)))))
(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 (pow.f64 (exp.f64 x) #s(literal 2 binary64)) (*.f64 (sinh.f64 x) #s(literal 2 binary64))) (/.f64 (pow.f64 (exp.f64 (neg.f64 x)) #s(literal 2 binary64)) (*.f64 (sinh.f64 x) #s(literal 2 binary64))))
(-.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 (pow.f64 (exp.f64 x) #s(literal 3 binary64)) (fma.f64 (exp.f64 x) (exp.f64 x) (expm1.f64 (*.f64 (neg.f64 x) #s(literal 2 binary64))))) (/.f64 (pow.f64 (exp.f64 (neg.f64 x)) #s(literal 3 binary64)) (fma.f64 (exp.f64 x) (exp.f64 x) (expm1.f64 (*.f64 (neg.f64 x) #s(literal 2 binary64))))))
(+.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)))
#s(approx (/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) x)
#s(approx (/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) (fma.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal -1/3 binary64) x))
#s(approx (/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) (fma.f64 (pow.f64 x #s(literal 3 binary64)) (-.f64 (*.f64 #s(literal 2/15 binary64) (*.f64 x x)) #s(literal 1/3 binary64)) x))
#s(approx (/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) (fma.f64 (pow.f64 x #s(literal 3 binary64)) (fma.f64 (*.f64 #s(literal 2/15 binary64) x) x (-.f64 (*.f64 (pow.f64 x #s(literal 4 binary64)) #s(literal -17/315 binary64)) #s(literal 1/3 binary64))) x))
#s(approx (- (exp x) (exp (neg x))) (*.f64 #s(literal 2 binary64) x))
#s(approx (- (exp x) (exp (neg x))) (*.f64 (fma.f64 #s(literal 1/3 binary64) (*.f64 x x) #s(literal 2 binary64)) x))
#s(approx (- (exp x) (exp (neg x))) (*.f64 (fma.f64 (fma.f64 #s(literal 1/60 binary64) (*.f64 x x) #s(literal 1/3 binary64)) (*.f64 x x) #s(literal 2 binary64)) x))
#s(approx (- (exp x) (exp (neg x))) (*.f64 (fma.f64 (fma.f64 (fma.f64 #s(literal 1/2520 binary64) (*.f64 x x) #s(literal 1/60 binary64)) (*.f64 x x) #s(literal 1/3 binary64)) (*.f64 x x) #s(literal 2 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 (neg x)) #s(literal 1 binary64))
#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 (+ (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 x x (fma.f64 (pow.f64 x #s(literal 4 binary64)) #s(literal 1/12 binary64) #s(literal 2 binary64))))
#s(approx (+ (exp x) (exp (neg x))) (fma.f64 x x (fma.f64 (pow.f64 x #s(literal 4 binary64)) (fma.f64 #s(literal 1/360 binary64) (*.f64 x x) #s(literal 1/12 binary64)) #s(literal 2 binary64))))
#s(approx (/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) (tanh.f64 x))
#s(approx (- (exp x) (exp (neg x))) (*.f64 (sinh.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) (exp (neg x))) (*.f64 (cosh.f64 x) #s(literal 2 binary64)))
#s(approx (/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) (tanh.f64 x))
#s(approx (- (exp x) (exp (neg x))) (*.f64 (sinh.f64 x) #s(literal 2 binary64)))
#s(approx (exp (neg x)) (exp.f64 (neg.f64 x)))
#s(approx (+ (exp x) (exp (neg x))) (*.f64 (cosh.f64 x) #s(literal 2 binary64)))

eval19.0ms (0.3%)

Memory
-21.1MiB live, 25.0MiB allocated; 2ms collecting garbage
Compiler

Compiled 3 096 to 499 computations (83.9% saved)

prune4.0ms (0.1%)

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

4 alts after pruning (4 fresh and 0 done)

PrunedKeptTotal
New1584162
Fresh000
Picked101
Done000
Total1594163
Accuracy
100.0%
Counts
163 → 4
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
(tanh.f64 x)
98.2%
#s(approx (/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) (fma.f64 (pow.f64 x #s(literal 3 binary64)) (-.f64 (*.f64 #s(literal 2/15 binary64) (*.f64 x x)) #s(literal 1/3 binary64)) x))
97.9%
#s(approx (/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) (fma.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal -1/3 binary64) x))
97.6%
#s(approx (/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) x)
Compiler

Compiled 63 to 38 computations (39.7% saved)

series9.0ms (0.2%)

Memory
13.9MiB live, 13.9MiB allocated; 0ms collecting garbage
Counts
15 → 32
Calls
Call 1
Inputs
#s(approx (/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) x)
x
#s(approx (/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) (fma.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal -1/3 binary64) x))
(fma.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal -1/3 binary64) x)
(pow.f64 x #s(literal 3 binary64))
#s(literal 3 binary64)
#s(literal -1/3 binary64)
#s(approx (/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) (fma.f64 (pow.f64 x #s(literal 3 binary64)) (-.f64 (*.f64 #s(literal 2/15 binary64) (*.f64 x x)) #s(literal 1/3 binary64)) x))
(fma.f64 (pow.f64 x #s(literal 3 binary64)) (-.f64 (*.f64 #s(literal 2/15 binary64) (*.f64 x x)) #s(literal 1/3 binary64)) x)
(-.f64 (*.f64 #s(literal 2/15 binary64) (*.f64 x x)) #s(literal 1/3 binary64))
(*.f64 #s(literal 2/15 binary64) (*.f64 x x))
#s(literal 2/15 binary64)
(*.f64 x x)
#s(literal 1/3 binary64)
(tanh.f64 x)
Outputs
#s(approx (/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) #s(hole binary64 x))
#s(approx (/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) #s(hole binary64 (* x (+ 1 (* -1/3 (pow x 2))))))
#s(approx (/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) #s(hole binary64 (* x (+ 1 (* (pow x 2) (- (* 2/15 (pow x 2)) 1/3))))))
#s(approx (/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) #s(hole binary64 (* x (+ 1 (* (pow x 2) (- (* (pow x 2) (+ 2/15 (* -17/315 (pow x 2)))) 1/3))))))
#s(approx x #s(hole binary64 x))
#s(approx (+ (* (pow x 3) -1/3) x) #s(hole binary64 x))
#s(approx (+ (* (pow x 3) -1/3) x) #s(hole binary64 (* x (+ 1 (* -1/3 (pow x 2))))))
#s(approx (pow x 3) #s(hole binary64 (pow x 3)))
#s(approx (+ (* (pow x 3) (- (* 2/15 (* x x)) 1/3)) x) #s(hole binary64 x))
#s(approx (+ (* (pow x 3) (- (* 2/15 (* x x)) 1/3)) x) #s(hole binary64 (* x (+ 1 (* -1/3 (pow x 2))))))
#s(approx (+ (* (pow x 3) (- (* 2/15 (* x x)) 1/3)) x) #s(hole binary64 (* x (+ 1 (* (pow x 2) (- (* 2/15 (pow x 2)) 1/3))))))
#s(approx (- (* 2/15 (* x x)) 1/3) #s(hole binary64 -1/3))
#s(approx (- (* 2/15 (* x x)) 1/3) #s(hole binary64 (- (* 2/15 (pow x 2)) 1/3)))
#s(approx (* 2/15 (* x x)) #s(hole binary64 (* 2/15 (pow x 2))))
#s(approx (* x x) #s(hole binary64 (pow x 2)))
#s(approx (tanh x) #s(hole binary64 x))
#s(approx (tanh x) #s(hole binary64 (* x (+ 1 (* -1/3 (pow x 2))))))
#s(approx (tanh x) #s(hole binary64 (* x (+ 1 (* (pow x 2) (- (* 2/15 (pow x 2)) 1/3))))))
#s(approx (tanh x) #s(hole binary64 (* x (+ 1 (* (pow x 2) (- (* (pow x 2) (+ 2/15 (* -17/315 (pow x 2)))) 1/3))))))
#s(approx (/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) #s(hole binary64 (/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x))))))
#s(approx (+ (* (pow x 3) -1/3) x) #s(hole binary64 (* -1/3 (pow x 3))))
#s(approx (+ (* (pow x 3) -1/3) x) #s(hole binary64 (* (pow x 3) (- (/ 1 (pow x 2)) 1/3))))
#s(approx (+ (* (pow x 3) (- (* 2/15 (* x x)) 1/3)) x) #s(hole binary64 (* 2/15 (pow x 5))))
#s(approx (+ (* (pow x 3) (- (* 2/15 (* x x)) 1/3)) x) #s(hole binary64 (* (pow x 5) (- 2/15 (* 1/3 (/ 1 (pow x 2)))))))
#s(approx (+ (* (pow x 3) (- (* 2/15 (* x x)) 1/3)) x) #s(hole binary64 (* (pow x 5) (- (+ 2/15 (/ 1 (pow x 4))) (* 1/3 (/ 1 (pow x 2)))))))
#s(approx (- (* 2/15 (* x x)) 1/3) #s(hole binary64 (* 2/15 (pow x 2))))
#s(approx (- (* 2/15 (* x x)) 1/3) #s(hole binary64 (* (pow x 2) (- 2/15 (* 1/3 (/ 1 (pow x 2)))))))
#s(approx (tanh x) #s(hole binary64 (/ (- (exp x) (/ 1 (exp x))) (+ (exp x) (/ 1 (exp x))))))
#s(approx (/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) #s(hole binary64 (/ (- (exp x) (exp (* -1 x))) (+ (exp x) (exp (* -1 x))))))
#s(approx (+ (* (pow x 3) -1/3) x) #s(hole binary64 (* -1 (* (pow x 3) (- 1/3 (/ 1 (pow x 2)))))))
#s(approx (+ (* (pow x 3) (- (* 2/15 (* x x)) 1/3)) x) #s(hole binary64 (* -1 (* (pow x 5) (- (* 1/3 (/ 1 (pow x 2))) 2/15)))))
#s(approx (+ (* (pow x 3) (- (* 2/15 (* x x)) 1/3)) x) #s(hole binary64 (* -1 (* (pow x 5) (- (* 1/3 (/ 1 (pow x 2))) (+ 2/15 (/ 1 (pow x 4))))))))
Calls

3 calls:

TimeVariablePointExpression
3.0ms
x
@inf
((/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) x (/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) (+ (* (pow x 3) -1/3) x) (pow x 3) 3 -1/3 (/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) (+ (* (pow x 3) (- (* 2/15 (* x x)) 1/3)) x) (- (* 2/15 (* x x)) 1/3) (* 2/15 (* x x)) 2/15 (* x x) 1/3 (tanh x))
3.0ms
x
@-inf
((/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) x (/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) (+ (* (pow x 3) -1/3) x) (pow x 3) 3 -1/3 (/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) (+ (* (pow x 3) (- (* 2/15 (* x x)) 1/3)) x) (- (* 2/15 (* x x)) 1/3) (* 2/15 (* x x)) 2/15 (* x x) 1/3 (tanh x))
2.0ms
x
@0
((/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) x (/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) (+ (* (pow x 3) -1/3) x) (pow x 3) 3 -1/3 (/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) (+ (* (pow x 3) (- (* 2/15 (* x x)) 1/3)) x) (- (* 2/15 (* x x)) 1/3) (* 2/15 (* x x)) 2/15 (* x x) 1/3 (tanh x))

rewrite158.0ms (2.9%)

Memory
-12.8MiB live, 86.9MiB allocated; 40ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0116700
0126531
1515518
03636490
Stop Event
iter limit
iter limit
node limit
iter limit
Counts
47 → 184
Calls
Call 1
Inputs
#s(approx (/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) x)
x
#s(approx (/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) (fma.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal -1/3 binary64) x))
(fma.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal -1/3 binary64) x)
(pow.f64 x #s(literal 3 binary64))
#s(literal 3 binary64)
#s(literal -1/3 binary64)
#s(approx (/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) (fma.f64 (pow.f64 x #s(literal 3 binary64)) (-.f64 (*.f64 #s(literal 2/15 binary64) (*.f64 x x)) #s(literal 1/3 binary64)) x))
(fma.f64 (pow.f64 x #s(literal 3 binary64)) (-.f64 (*.f64 #s(literal 2/15 binary64) (*.f64 x x)) #s(literal 1/3 binary64)) x)
(-.f64 (*.f64 #s(literal 2/15 binary64) (*.f64 x x)) #s(literal 1/3 binary64))
(*.f64 #s(literal 2/15 binary64) (*.f64 x x))
#s(literal 2/15 binary64)
(*.f64 x x)
#s(literal 1/3 binary64)
(tanh.f64 x)
#s(approx (/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) #s(hole binary64 x))
#s(approx (/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) #s(hole binary64 (* x (+ 1 (* -1/3 (pow x 2))))))
#s(approx (/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) #s(hole binary64 (* x (+ 1 (* (pow x 2) (- (* 2/15 (pow x 2)) 1/3))))))
#s(approx (/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) #s(hole binary64 (* x (+ 1 (* (pow x 2) (- (* (pow x 2) (+ 2/15 (* -17/315 (pow x 2)))) 1/3))))))
#s(approx x #s(hole binary64 x))
#s(approx (+ (* (pow x 3) -1/3) x) #s(hole binary64 x))
#s(approx (+ (* (pow x 3) -1/3) x) #s(hole binary64 (* x (+ 1 (* -1/3 (pow x 2))))))
#s(approx (pow x 3) #s(hole binary64 (pow x 3)))
#s(approx (+ (* (pow x 3) (- (* 2/15 (* x x)) 1/3)) x) #s(hole binary64 x))
#s(approx (+ (* (pow x 3) (- (* 2/15 (* x x)) 1/3)) x) #s(hole binary64 (* x (+ 1 (* -1/3 (pow x 2))))))
#s(approx (+ (* (pow x 3) (- (* 2/15 (* x x)) 1/3)) x) #s(hole binary64 (* x (+ 1 (* (pow x 2) (- (* 2/15 (pow x 2)) 1/3))))))
#s(approx (- (* 2/15 (* x x)) 1/3) #s(hole binary64 -1/3))
#s(approx (- (* 2/15 (* x x)) 1/3) #s(hole binary64 (- (* 2/15 (pow x 2)) 1/3)))
#s(approx (* 2/15 (* x x)) #s(hole binary64 (* 2/15 (pow x 2))))
#s(approx (* x x) #s(hole binary64 (pow x 2)))
#s(approx (tanh x) #s(hole binary64 x))
#s(approx (tanh x) #s(hole binary64 (* x (+ 1 (* -1/3 (pow x 2))))))
#s(approx (tanh x) #s(hole binary64 (* x (+ 1 (* (pow x 2) (- (* 2/15 (pow x 2)) 1/3))))))
#s(approx (tanh x) #s(hole binary64 (* x (+ 1 (* (pow x 2) (- (* (pow x 2) (+ 2/15 (* -17/315 (pow x 2)))) 1/3))))))
#s(approx (/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) #s(hole binary64 (/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x))))))
#s(approx (+ (* (pow x 3) -1/3) x) #s(hole binary64 (* -1/3 (pow x 3))))
#s(approx (+ (* (pow x 3) -1/3) x) #s(hole binary64 (* (pow x 3) (- (/ 1 (pow x 2)) 1/3))))
#s(approx (+ (* (pow x 3) (- (* 2/15 (* x x)) 1/3)) x) #s(hole binary64 (* 2/15 (pow x 5))))
#s(approx (+ (* (pow x 3) (- (* 2/15 (* x x)) 1/3)) x) #s(hole binary64 (* (pow x 5) (- 2/15 (* 1/3 (/ 1 (pow x 2)))))))
#s(approx (+ (* (pow x 3) (- (* 2/15 (* x x)) 1/3)) x) #s(hole binary64 (* (pow x 5) (- (+ 2/15 (/ 1 (pow x 4))) (* 1/3 (/ 1 (pow x 2)))))))
#s(approx (- (* 2/15 (* x x)) 1/3) #s(hole binary64 (* 2/15 (pow x 2))))
#s(approx (- (* 2/15 (* x x)) 1/3) #s(hole binary64 (* (pow x 2) (- 2/15 (* 1/3 (/ 1 (pow x 2)))))))
#s(approx (tanh x) #s(hole binary64 (/ (- (exp x) (/ 1 (exp x))) (+ (exp x) (/ 1 (exp x))))))
#s(approx (/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) #s(hole binary64 (/ (- (exp x) (exp (* -1 x))) (+ (exp x) (exp (* -1 x))))))
#s(approx (+ (* (pow x 3) -1/3) x) #s(hole binary64 (* -1 (* (pow x 3) (- 1/3 (/ 1 (pow x 2)))))))
#s(approx (+ (* (pow x 3) (- (* 2/15 (* x x)) 1/3)) x) #s(hole binary64 (* -1 (* (pow x 5) (- (* 1/3 (/ 1 (pow x 2))) 2/15)))))
#s(approx (+ (* (pow x 3) (- (* 2/15 (* x x)) 1/3)) x) #s(hole binary64 (* -1 (* (pow x 5) (- (* 1/3 (/ 1 (pow x 2))) (+ 2/15 (/ 1 (pow x 4))))))))
Outputs
#s(approx (tanh x) x)
x
#s(approx (tanh x) (fma.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal -1/3 binary64) x))
(*.f64 (fma.f64 (*.f64 x x) #s(literal -1/3 binary64) #s(literal 1 binary64)) x)
(*.f64 x (fma.f64 (*.f64 x x) #s(literal -1/3 binary64) #s(literal 1 binary64)))
(/.f64 (*.f64 (-.f64 #s(literal 1 binary64) (*.f64 #s(literal 1/9 binary64) (pow.f64 x #s(literal 4 binary64)))) x) (-.f64 #s(literal 1 binary64) (*.f64 (*.f64 x x) #s(literal -1/3 binary64))))
(/.f64 (*.f64 (fma.f64 #s(literal -1/27 binary64) (pow.f64 (*.f64 x x) #s(literal 3 binary64)) #s(literal 1 binary64)) x) (-.f64 (+.f64 #s(literal 1 binary64) (*.f64 #s(literal 1/9 binary64) (pow.f64 x #s(literal 4 binary64)))) (*.f64 (*.f64 x x) #s(literal -1/3 binary64))))
(/.f64 (*.f64 x (-.f64 #s(literal 1 binary64) (*.f64 #s(literal 1/9 binary64) (pow.f64 x #s(literal 4 binary64))))) (-.f64 #s(literal 1 binary64) (*.f64 (*.f64 x x) #s(literal -1/3 binary64))))
(/.f64 (*.f64 x (fma.f64 #s(literal -1/27 binary64) (pow.f64 (*.f64 x x) #s(literal 3 binary64)) #s(literal 1 binary64))) (-.f64 (+.f64 #s(literal 1 binary64) (*.f64 #s(literal 1/9 binary64) (pow.f64 x #s(literal 4 binary64)))) (*.f64 (*.f64 x x) #s(literal -1/3 binary64))))
(/.f64 (-.f64 (*.f64 x x) (pow.f64 (*.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal -1/3 binary64)) #s(literal 2 binary64))) (-.f64 x (*.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal -1/3 binary64))))
(/.f64 (neg.f64 (-.f64 (pow.f64 (*.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal -1/3 binary64)) #s(literal 2 binary64)) (*.f64 x x))) (neg.f64 (-.f64 (*.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal -1/3 binary64)) x)))
(/.f64 (neg.f64 (fma.f64 (pow.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal 3 binary64)) #s(literal -1/27 binary64) (pow.f64 x #s(literal 3 binary64)))) (neg.f64 (fma.f64 x (-.f64 x (*.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal -1/3 binary64))) (pow.f64 (*.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal -1/3 binary64)) #s(literal 2 binary64)))))
(/.f64 (-.f64 (pow.f64 (*.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal -1/3 binary64)) #s(literal 2 binary64)) (*.f64 x x)) (-.f64 (*.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal -1/3 binary64)) x))
(/.f64 (fma.f64 (pow.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal 3 binary64)) #s(literal -1/27 binary64) (pow.f64 x #s(literal 3 binary64))) (fma.f64 x x (-.f64 (pow.f64 (*.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal -1/3 binary64)) #s(literal 2 binary64)) (*.f64 #s(literal -1/3 binary64) (pow.f64 x #s(literal 4 binary64))))))
(/.f64 (fma.f64 (pow.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal 3 binary64)) #s(literal -1/27 binary64) (pow.f64 x #s(literal 3 binary64))) (fma.f64 x (-.f64 x (*.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal -1/3 binary64))) (pow.f64 (*.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal -1/3 binary64)) #s(literal 2 binary64))))
(fma.f64 (*.f64 x #s(literal -1/3 binary64)) (*.f64 x x) x)
(fma.f64 (*.f64 #s(literal -1/3 binary64) (pow.f64 x #s(literal 3/2 binary64))) (pow.f64 x #s(literal 3/2 binary64)) x)
(fma.f64 (*.f64 #s(literal -1/3 binary64) x) (*.f64 x x) x)
(fma.f64 (pow.f64 x #s(literal 3/2 binary64)) (*.f64 (pow.f64 x #s(literal 3/2 binary64)) #s(literal -1/3 binary64)) x)
(fma.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal -1/3 binary64) x)
(fma.f64 (*.f64 (*.f64 x x) #s(literal -1/3 binary64)) x x)
(fma.f64 (*.f64 x x) (*.f64 x #s(literal -1/3 binary64)) x)
(fma.f64 (*.f64 x x) (*.f64 #s(literal -1/3 binary64) x) x)
(fma.f64 #s(literal -1/3 binary64) (pow.f64 x #s(literal 3 binary64)) x)
(fma.f64 x (*.f64 (*.f64 x x) #s(literal -1/3 binary64)) x)
(-.f64 (/.f64 (pow.f64 (*.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal -1/3 binary64)) #s(literal 2 binary64)) (-.f64 (*.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal -1/3 binary64)) x)) (/.f64 (*.f64 x x) (-.f64 (*.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal -1/3 binary64)) x)))
(-.f64 x (*.f64 (neg.f64 (pow.f64 x #s(literal 3 binary64))) #s(literal -1/3 binary64)))
(-.f64 x (*.f64 #s(literal 1/3 binary64) (pow.f64 x #s(literal 3 binary64))))
(-.f64 x (*.f64 (*.f64 (*.f64 x x) #s(literal 1/3 binary64)) x))
(-.f64 x (*.f64 (neg.f64 x) (*.f64 (*.f64 x x) #s(literal -1/3 binary64))))
(+.f64 (/.f64 (pow.f64 (*.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal -1/3 binary64)) #s(literal 3 binary64)) (fma.f64 x (-.f64 x (*.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal -1/3 binary64))) (pow.f64 (*.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal -1/3 binary64)) #s(literal 2 binary64)))) (/.f64 (pow.f64 x #s(literal 3 binary64)) (fma.f64 x (-.f64 x (*.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal -1/3 binary64))) (pow.f64 (*.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal -1/3 binary64)) #s(literal 2 binary64)))))
(+.f64 (*.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal -1/3 binary64)) x)
(+.f64 x (*.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal -1/3 binary64)))
(*.f64 (*.f64 x (fabs.f64 x)) (fabs.f64 x))
(*.f64 (neg.f64 (pow.f64 x #s(literal 3/2 binary64))) (neg.f64 (pow.f64 x #s(literal 3/2 binary64))))
(*.f64 (fabs.f64 (pow.f64 x #s(literal 3/2 binary64))) (fabs.f64 (pow.f64 x #s(literal 3/2 binary64))))
(*.f64 (pow.f64 x #s(literal 3/2 binary64)) (pow.f64 x #s(literal 3/2 binary64)))
(*.f64 (*.f64 (neg.f64 x) x) (neg.f64 x))
(*.f64 (fabs.f64 x) (*.f64 (fabs.f64 x) x))
(*.f64 (*.f64 x x) x)
(*.f64 (neg.f64 x) (*.f64 (neg.f64 x) x))
(*.f64 x (*.f64 x x))
(pow.f64 (exp.f64 (log.f64 x)) #s(literal 3 binary64))
(pow.f64 (pow.f64 x #s(literal 3/2 binary64)) #s(literal 2 binary64))
(pow.f64 (*.f64 x x) #s(literal 3/2 binary64))
(pow.f64 x #s(literal 3 binary64))
(exp.f64 (*.f64 (log.f64 x) #s(literal 3 binary64)))
(+.f64 (cosh.f64 (*.f64 (log.f64 x) #s(literal 3 binary64))) (sinh.f64 (*.f64 (log.f64 x) #s(literal 3 binary64))))
#s(literal 3 binary64)
#s(literal -1/3 binary64)
#s(approx (tanh x) (fma.f64 (fma.f64 (*.f64 x x) #s(literal 2/15 binary64) #s(literal -1/3 binary64)) (pow.f64 x #s(literal 3 binary64)) x))
(*.f64 (fma.f64 (*.f64 (fma.f64 (*.f64 x x) #s(literal 2/15 binary64) #s(literal -1/3 binary64)) x) x #s(literal 1 binary64)) x)
(*.f64 x (fma.f64 (*.f64 (fma.f64 (*.f64 x x) #s(literal 2/15 binary64) #s(literal -1/3 binary64)) x) x #s(literal 1 binary64)))
(/.f64 (*.f64 (-.f64 #s(literal 1 binary64) (pow.f64 (*.f64 (*.f64 (fma.f64 (*.f64 x x) #s(literal 2/15 binary64) #s(literal -1/3 binary64)) x) x) #s(literal 2 binary64))) x) (-.f64 #s(literal 1 binary64) (*.f64 (*.f64 (fma.f64 (*.f64 x x) #s(literal 2/15 binary64) #s(literal -1/3 binary64)) x) x)))
(/.f64 (*.f64 (+.f64 (pow.f64 (*.f64 (*.f64 (fma.f64 (*.f64 x x) #s(literal 2/15 binary64) #s(literal -1/3 binary64)) x) x) #s(literal 3 binary64)) #s(literal 1 binary64)) x) (fma.f64 (*.f64 (*.f64 (fma.f64 (*.f64 x x) #s(literal 2/15 binary64) #s(literal -1/3 binary64)) x) x) (-.f64 (*.f64 (*.f64 (fma.f64 (*.f64 x x) #s(literal 2/15 binary64) #s(literal -1/3 binary64)) x) x) #s(literal 1 binary64)) #s(literal 1 binary64)))
(/.f64 (*.f64 x (-.f64 #s(literal 1 binary64) (pow.f64 (*.f64 (*.f64 (fma.f64 (*.f64 x x) #s(literal 2/15 binary64) #s(literal -1/3 binary64)) x) x) #s(literal 2 binary64)))) (-.f64 #s(literal 1 binary64) (*.f64 (*.f64 (fma.f64 (*.f64 x x) #s(literal 2/15 binary64) #s(literal -1/3 binary64)) x) x)))
(/.f64 (*.f64 x (+.f64 (pow.f64 (*.f64 (*.f64 (fma.f64 (*.f64 x x) #s(literal 2/15 binary64) #s(literal -1/3 binary64)) x) x) #s(literal 3 binary64)) #s(literal 1 binary64))) (fma.f64 (*.f64 (*.f64 (fma.f64 (*.f64 x x) #s(literal 2/15 binary64) #s(literal -1/3 binary64)) x) x) (-.f64 (*.f64 (*.f64 (fma.f64 (*.f64 x x) #s(literal 2/15 binary64) #s(literal -1/3 binary64)) x) x) #s(literal 1 binary64)) #s(literal 1 binary64)))
(/.f64 (-.f64 (*.f64 x x) (pow.f64 (*.f64 (fma.f64 (*.f64 x x) #s(literal 2/15 binary64) #s(literal -1/3 binary64)) (pow.f64 x #s(literal 3 binary64))) #s(literal 2 binary64))) (-.f64 x (*.f64 (fma.f64 (*.f64 x x) #s(literal 2/15 binary64) #s(literal -1/3 binary64)) (pow.f64 x #s(literal 3 binary64)))))
(/.f64 (neg.f64 (-.f64 (pow.f64 (*.f64 (fma.f64 (*.f64 x x) #s(literal 2/15 binary64) #s(literal -1/3 binary64)) (pow.f64 x #s(literal 3 binary64))) #s(literal 2 binary64)) (*.f64 x x))) (neg.f64 (-.f64 (*.f64 (fma.f64 (*.f64 x x) #s(literal 2/15 binary64) #s(literal -1/3 binary64)) (pow.f64 x #s(literal 3 binary64))) x)))
(/.f64 (neg.f64 (+.f64 (pow.f64 (*.f64 (fma.f64 (*.f64 x x) #s(literal 2/15 binary64) #s(literal -1/3 binary64)) (pow.f64 x #s(literal 3 binary64))) #s(literal 3 binary64)) (pow.f64 x #s(literal 3 binary64)))) (neg.f64 (fma.f64 x (-.f64 x (*.f64 (fma.f64 (*.f64 x x) #s(literal 2/15 binary64) #s(literal -1/3 binary64)) (pow.f64 x #s(literal 3 binary64)))) (pow.f64 (*.f64 (fma.f64 (*.f64 x x) #s(literal 2/15 binary64) #s(literal -1/3 binary64)) (pow.f64 x #s(literal 3 binary64))) #s(literal 2 binary64)))))
(/.f64 (-.f64 (pow.f64 (*.f64 (fma.f64 (*.f64 x x) #s(literal 2/15 binary64) #s(literal -1/3 binary64)) (pow.f64 x #s(literal 3 binary64))) #s(literal 2 binary64)) (*.f64 x x)) (-.f64 (*.f64 (fma.f64 (*.f64 x x) #s(literal 2/15 binary64) #s(literal -1/3 binary64)) (pow.f64 x #s(literal 3 binary64))) x))
(/.f64 (+.f64 (pow.f64 (*.f64 (fma.f64 (*.f64 x x) #s(literal 2/15 binary64) #s(literal -1/3 binary64)) (pow.f64 x #s(literal 3 binary64))) #s(literal 3 binary64)) (pow.f64 x #s(literal 3 binary64))) (fma.f64 x x (-.f64 (pow.f64 (*.f64 (fma.f64 (*.f64 x x) #s(literal 2/15 binary64) #s(literal -1/3 binary64)) (pow.f64 x #s(literal 3 binary64))) #s(literal 2 binary64)) (*.f64 (fma.f64 (*.f64 x x) #s(literal 2/15 binary64) #s(literal -1/3 binary64)) (pow.f64 x #s(literal 4 binary64))))))
(/.f64 (+.f64 (pow.f64 (*.f64 (fma.f64 (*.f64 x x) #s(literal 2/15 binary64) #s(literal -1/3 binary64)) (pow.f64 x #s(literal 3 binary64))) #s(literal 3 binary64)) (pow.f64 x #s(literal 3 binary64))) (fma.f64 x (-.f64 x (*.f64 (fma.f64 (*.f64 x x) #s(literal 2/15 binary64) #s(literal -1/3 binary64)) (pow.f64 x #s(literal 3 binary64)))) (pow.f64 (*.f64 (fma.f64 (*.f64 x x) #s(literal 2/15 binary64) #s(literal -1/3 binary64)) (pow.f64 x #s(literal 3 binary64))) #s(literal 2 binary64))))
(fma.f64 (*.f64 (fma.f64 (*.f64 x x) #s(literal 2/15 binary64) #s(literal -1/3 binary64)) (pow.f64 x #s(literal 3/2 binary64))) (pow.f64 x #s(literal 3/2 binary64)) x)
(fma.f64 (*.f64 (fma.f64 (*.f64 x x) #s(literal 2/15 binary64) #s(literal -1/3 binary64)) x) (*.f64 x x) x)
(fma.f64 (*.f64 x (fma.f64 (*.f64 x x) #s(literal 2/15 binary64) #s(literal -1/3 binary64))) (*.f64 x x) x)
(fma.f64 (pow.f64 x #s(literal 3/2 binary64)) (*.f64 (pow.f64 x #s(literal 3/2 binary64)) (fma.f64 (*.f64 x x) #s(literal 2/15 binary64) #s(literal -1/3 binary64))) x)
(fma.f64 (fma.f64 (*.f64 x x) #s(literal 2/15 binary64) #s(literal -1/3 binary64)) (pow.f64 x #s(literal 3 binary64)) x)
(fma.f64 (pow.f64 x #s(literal 3 binary64)) (fma.f64 (*.f64 x x) #s(literal 2/15 binary64) #s(literal -1/3 binary64)) x)
(fma.f64 (*.f64 (*.f64 (fma.f64 (*.f64 x x) #s(literal 2/15 binary64) #s(literal -1/3 binary64)) x) x) x x)
(fma.f64 (*.f64 x x) (*.f64 (fma.f64 (*.f64 x x) #s(literal 2/15 binary64) #s(literal -1/3 binary64)) x) x)
(fma.f64 (*.f64 x x) (*.f64 x (fma.f64 (*.f64 x x) #s(literal 2/15 binary64) #s(literal -1/3 binary64))) x)
(fma.f64 x (*.f64 (*.f64 (fma.f64 (*.f64 x x) #s(literal 2/15 binary64) #s(literal -1/3 binary64)) x) x) x)
(-.f64 (/.f64 (pow.f64 (*.f64 (fma.f64 (*.f64 x x) #s(literal 2/15 binary64) #s(literal -1/3 binary64)) (pow.f64 x #s(literal 3 binary64))) #s(literal 2 binary64)) (-.f64 (*.f64 (fma.f64 (*.f64 x x) #s(literal 2/15 binary64) #s(literal -1/3 binary64)) (pow.f64 x #s(literal 3 binary64))) x)) (/.f64 (*.f64 x x) (-.f64 (*.f64 (fma.f64 (*.f64 x x) #s(literal 2/15 binary64) #s(literal -1/3 binary64)) (pow.f64 x #s(literal 3 binary64))) x)))
(-.f64 x (*.f64 (neg.f64 (fma.f64 (*.f64 x x) #s(literal 2/15 binary64) #s(literal -1/3 binary64))) (pow.f64 x #s(literal 3 binary64))))
(-.f64 x (*.f64 (neg.f64 (pow.f64 x #s(literal 3 binary64))) (fma.f64 (*.f64 x x) #s(literal 2/15 binary64) #s(literal -1/3 binary64))))
(-.f64 x (*.f64 (*.f64 (*.f64 (neg.f64 x) x) (fma.f64 (*.f64 x x) #s(literal 2/15 binary64) #s(literal -1/3 binary64))) x))
(-.f64 x (*.f64 (neg.f64 x) (*.f64 (*.f64 (fma.f64 (*.f64 x x) #s(literal 2/15 binary64) #s(literal -1/3 binary64)) x) x)))
(+.f64 (/.f64 (pow.f64 (*.f64 (fma.f64 (*.f64 x x) #s(literal 2/15 binary64) #s(literal -1/3 binary64)) (pow.f64 x #s(literal 3 binary64))) #s(literal 3 binary64)) (fma.f64 x (-.f64 x (*.f64 (fma.f64 (*.f64 x x) #s(literal 2/15 binary64) #s(literal -1/3 binary64)) (pow.f64 x #s(literal 3 binary64)))) (pow.f64 (*.f64 (fma.f64 (*.f64 x x) #s(literal 2/15 binary64) #s(literal -1/3 binary64)) (pow.f64 x #s(literal 3 binary64))) #s(literal 2 binary64)))) (/.f64 (pow.f64 x #s(literal 3 binary64)) (fma.f64 x (-.f64 x (*.f64 (fma.f64 (*.f64 x x) #s(literal 2/15 binary64) #s(literal -1/3 binary64)) (pow.f64 x #s(literal 3 binary64)))) (pow.f64 (*.f64 (fma.f64 (*.f64 x x) #s(literal 2/15 binary64) #s(literal -1/3 binary64)) (pow.f64 x #s(literal 3 binary64))) #s(literal 2 binary64)))))
(+.f64 (*.f64 (fma.f64 (*.f64 x x) #s(literal 2/15 binary64) #s(literal -1/3 binary64)) (pow.f64 x #s(literal 3 binary64))) x)
(+.f64 x (*.f64 (fma.f64 (*.f64 x x) #s(literal 2/15 binary64) #s(literal -1/3 binary64)) (pow.f64 x #s(literal 3 binary64))))
(/.f64 (neg.f64 (fma.f64 #s(literal 4/225 binary64) (pow.f64 x #s(literal 4 binary64)) #s(literal -1/9 binary64))) (neg.f64 (fma.f64 (*.f64 x x) #s(literal 2/15 binary64) #s(literal 1/3 binary64))))
(/.f64 (neg.f64 (-.f64 (pow.f64 (*.f64 (*.f64 x x) #s(literal 2/15 binary64)) #s(literal 3 binary64)) #s(literal 1/27 binary64))) (neg.f64 (fma.f64 #s(literal 4/225 binary64) (pow.f64 x #s(literal 4 binary64)) (fma.f64 (*.f64 x x) #s(literal 2/45 binary64) #s(literal 1/9 binary64)))))
(/.f64 (fma.f64 #s(literal 4/225 binary64) (pow.f64 x #s(literal 4 binary64)) #s(literal -1/9 binary64)) (fma.f64 (*.f64 x x) #s(literal 2/15 binary64) #s(literal 1/3 binary64)))
(/.f64 (-.f64 (pow.f64 (*.f64 (*.f64 x x) #s(literal 2/15 binary64)) #s(literal 3 binary64)) #s(literal 1/27 binary64)) (fma.f64 #s(literal 4/225 binary64) (pow.f64 x #s(literal 4 binary64)) (fma.f64 (*.f64 x x) #s(literal 2/45 binary64) #s(literal 1/9 binary64))))
(fma.f64 (*.f64 #s(literal 2/15 binary64) (fabs.f64 x)) (fabs.f64 x) #s(literal -1/3 binary64))
(fma.f64 (*.f64 #s(literal 2/15 binary64) (neg.f64 x)) (neg.f64 x) #s(literal -1/3 binary64))
(fma.f64 (*.f64 #s(literal 2/15 binary64) x) x #s(literal -1/3 binary64))
(fma.f64 (fabs.f64 x) (*.f64 (fabs.f64 x) #s(literal 2/15 binary64)) #s(literal -1/3 binary64))
(fma.f64 (*.f64 x x) #s(literal 2/15 binary64) #s(literal -1/3 binary64))
(fma.f64 #s(literal 2/15 binary64) (*.f64 x x) #s(literal -1/3 binary64))
(fma.f64 (neg.f64 x) (*.f64 (neg.f64 x) #s(literal 2/15 binary64)) #s(literal -1/3 binary64))
(fma.f64 x (*.f64 #s(literal 2/15 binary64) x) #s(literal -1/3 binary64))
(-.f64 (/.f64 (*.f64 #s(literal 4/225 binary64) (pow.f64 x #s(literal 4 binary64))) (fma.f64 (*.f64 x x) #s(literal 2/15 binary64) #s(literal 1/3 binary64))) (/.f64 #s(literal 1/9 binary64) (fma.f64 (*.f64 x x) #s(literal 2/15 binary64) #s(literal 1/3 binary64))))
(-.f64 (/.f64 (pow.f64 (*.f64 (*.f64 x x) #s(literal 2/15 binary64)) #s(literal 3 binary64)) (fma.f64 #s(literal 4/225 binary64) (pow.f64 x #s(literal 4 binary64)) (fma.f64 (*.f64 x x) #s(literal 2/45 binary64) #s(literal 1/9 binary64)))) (/.f64 #s(literal 1/27 binary64) (fma.f64 #s(literal 4/225 binary64) (pow.f64 x #s(literal 4 binary64)) (fma.f64 (*.f64 x x) #s(literal 2/45 binary64) #s(literal 1/9 binary64)))))
(-.f64 (*.f64 (*.f64 x x) #s(literal 2/15 binary64)) #s(literal 1/3 binary64))
(+.f64 (*.f64 (*.f64 x x) #s(literal 2/15 binary64)) #s(literal -1/3 binary64))
(*.f64 (*.f64 #s(literal 2/15 binary64) (fabs.f64 x)) (fabs.f64 x))
(*.f64 (*.f64 #s(literal 2/15 binary64) (neg.f64 x)) (neg.f64 x))
(*.f64 (*.f64 #s(literal 2/15 binary64) x) x)
(*.f64 (fabs.f64 x) (*.f64 (fabs.f64 x) #s(literal 2/15 binary64)))
(*.f64 (*.f64 x x) #s(literal 2/15 binary64))
(*.f64 #s(literal 2/15 binary64) (*.f64 x x))
(*.f64 (neg.f64 x) (*.f64 (neg.f64 x) #s(literal 2/15 binary64)))
(*.f64 x (*.f64 #s(literal 2/15 binary64) x))
#s(literal 2/15 binary64)
(*.f64 (*.f64 (neg.f64 x) #s(literal -1 binary64)) x)
(*.f64 (neg.f64 (fabs.f64 x)) (neg.f64 (fabs.f64 x)))
(*.f64 (fabs.f64 (fabs.f64 x)) (fabs.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) (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) (neg.f64 x))
(*.f64 x (*.f64 #s(literal -1 binary64) (neg.f64 x)))
(*.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))
(neg.f64 (*.f64 (neg.f64 x) x))
(fabs.f64 (*.f64 x x))
(exp.f64 (*.f64 (log.f64 x) #s(literal 2 binary64)))
(+.f64 (cosh.f64 (*.f64 (log.f64 x) #s(literal 2 binary64))) (sinh.f64 (*.f64 (log.f64 x) #s(literal 2 binary64))))
#s(literal 1/3 binary64)
(tanh.f64 x)
(*.f64 (/.f64 (*.f64 (sinh.f64 x) #s(literal 2 binary64)) (*.f64 (*.f64 (cosh.f64 x) #s(literal 2 binary64)) (*.f64 (sinh.f64 x) #s(literal 2 binary64)))) (*.f64 (sinh.f64 x) #s(literal 2 binary64)))
(*.f64 (/.f64 (*.f64 (sinh.f64 x) #s(literal 2 binary64)) (+.f64 (pow.f64 (exp.f64 x) #s(literal -3 binary64)) (pow.f64 (exp.f64 x) #s(literal 3 binary64)))) (fma.f64 (exp.f64 x) (exp.f64 x) (expm1.f64 (*.f64 (neg.f64 x) #s(literal 2 binary64)))))
(*.f64 #s(literal 2 binary64) (/.f64 (sinh.f64 x) (*.f64 (cosh.f64 x) #s(literal 2 binary64))))
(*.f64 #s(literal 1 binary64) (tanh.f64 x))
(/.f64 (-.f64 (*.f64 (/.f64 (/.f64 (exp.f64 x) #s(literal 2 binary64)) (cosh.f64 x)) (/.f64 (/.f64 (exp.f64 x) #s(literal 2 binary64)) (cosh.f64 x))) (*.f64 (/.f64 (exp.f64 (neg.f64 x)) (*.f64 (cosh.f64 x) #s(literal 2 binary64))) (/.f64 (exp.f64 (neg.f64 x)) (*.f64 (cosh.f64 x) #s(literal 2 binary64))))) (+.f64 (/.f64 (/.f64 (exp.f64 x) #s(literal 2 binary64)) (cosh.f64 x)) (/.f64 (exp.f64 (neg.f64 x)) (*.f64 (cosh.f64 x) #s(literal 2 binary64)))))
(/.f64 (-.f64 (pow.f64 (/.f64 (/.f64 (exp.f64 x) #s(literal 2 binary64)) (cosh.f64 x)) #s(literal 3 binary64)) (pow.f64 (/.f64 (exp.f64 (neg.f64 x)) (*.f64 (cosh.f64 x) #s(literal 2 binary64))) #s(literal 3 binary64))) (fma.f64 (/.f64 (/.f64 (exp.f64 x) #s(literal 2 binary64)) (cosh.f64 x)) (/.f64 (/.f64 (exp.f64 x) #s(literal 2 binary64)) (cosh.f64 x)) (fma.f64 (/.f64 (exp.f64 (neg.f64 x)) (*.f64 (cosh.f64 x) #s(literal 2 binary64))) (/.f64 (exp.f64 (neg.f64 x)) (*.f64 (cosh.f64 x) #s(literal 2 binary64))) (*.f64 (/.f64 (/.f64 (exp.f64 x) #s(literal 2 binary64)) (cosh.f64 x)) (/.f64 (exp.f64 (neg.f64 x)) (*.f64 (cosh.f64 x) #s(literal 2 binary64)))))))
(/.f64 (neg.f64 (*.f64 #s(literal -2 binary64) (sinh.f64 x))) (neg.f64 (*.f64 #s(literal -2 binary64) (cosh.f64 x))))
(/.f64 (neg.f64 (-.f64 #s(literal 1 binary64) (pow.f64 (exp.f64 #s(literal -2 binary64)) x))) (neg.f64 (+.f64 (pow.f64 (exp.f64 #s(literal -2 binary64)) x) #s(literal 1 binary64))))
(/.f64 (neg.f64 (expm1.f64 (*.f64 #s(literal 2 binary64) x))) (neg.f64 (fma.f64 (exp.f64 x) (exp.f64 x) #s(literal 1 binary64))))
(/.f64 (-.f64 (*.f64 (exp.f64 x) (*.f64 (cosh.f64 x) #s(literal 2 binary64))) (*.f64 (*.f64 (cosh.f64 x) #s(literal 2 binary64)) (exp.f64 (neg.f64 x)))) (*.f64 (*.f64 (cosh.f64 x) #s(literal 2 binary64)) (*.f64 (cosh.f64 x) #s(literal 2 binary64))))
(/.f64 (*.f64 (*.f64 (cosh.f64 x) #s(literal 2 binary64)) (*.f64 (sinh.f64 x) #s(literal 2 binary64))) (*.f64 (*.f64 (cosh.f64 x) #s(literal 2 binary64)) (*.f64 (cosh.f64 x) #s(literal 2 binary64))))
(/.f64 (-.f64 (pow.f64 (exp.f64 x) #s(literal 3 binary64)) (pow.f64 (exp.f64 x) #s(literal -3 binary64))) (*.f64 (fma.f64 (exp.f64 x) (exp.f64 x) (+.f64 (pow.f64 (exp.f64 x) #s(literal -2 binary64)) #s(literal 1 binary64))) (*.f64 (cosh.f64 x) #s(literal 2 binary64))))
(/.f64 (*.f64 #s(literal -2 binary64) (sinh.f64 x)) (*.f64 #s(literal -2 binary64) (cosh.f64 x)))
(/.f64 (-.f64 #s(literal 1 binary64) (pow.f64 (exp.f64 #s(literal -2 binary64)) x)) (+.f64 (pow.f64 (exp.f64 #s(literal -2 binary64)) x) #s(literal 1 binary64)))
(/.f64 (expm1.f64 (*.f64 #s(literal 2 binary64) x)) (fma.f64 (exp.f64 x) (exp.f64 x) #s(literal 1 binary64)))
(/.f64 (sinh.f64 x) (cosh.f64 x))
(/.f64 (*.f64 (sinh.f64 x) #s(literal 2 binary64)) (*.f64 (cosh.f64 x) #s(literal 2 binary64)))
(neg.f64 (/.f64 (*.f64 #s(literal -2 binary64) (sinh.f64 x)) (*.f64 (cosh.f64 x) #s(literal 2 binary64))))
(neg.f64 (/.f64 (*.f64 (sinh.f64 x) #s(literal 2 binary64)) (*.f64 #s(literal -2 binary64) (cosh.f64 x))))
(-.f64 (/.f64 #s(literal 1 binary64) (+.f64 (pow.f64 (exp.f64 #s(literal -2 binary64)) x) #s(literal 1 binary64))) (/.f64 (pow.f64 (exp.f64 #s(literal -2 binary64)) x) (+.f64 (pow.f64 (exp.f64 #s(literal -2 binary64)) x) #s(literal 1 binary64))))
(-.f64 (/.f64 (pow.f64 (exp.f64 x) #s(literal 2 binary64)) (fma.f64 (exp.f64 x) (exp.f64 x) #s(literal 1 binary64))) (/.f64 #s(literal 1 binary64) (fma.f64 (exp.f64 x) (exp.f64 x) #s(literal 1 binary64))))
(-.f64 (/.f64 (/.f64 (exp.f64 x) #s(literal 2 binary64)) (cosh.f64 x)) (/.f64 (exp.f64 (neg.f64 x)) (*.f64 (cosh.f64 x) #s(literal 2 binary64))))
#s(approx (tanh x) x)
#s(approx (tanh x) (fma.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal -1/3 binary64) x))
#s(approx (tanh x) (fma.f64 (fma.f64 (*.f64 x x) #s(literal 2/15 binary64) #s(literal -1/3 binary64)) (pow.f64 x #s(literal 3 binary64)) x))
#s(approx (tanh x) (fma.f64 (pow.f64 x #s(literal 3 binary64)) (fma.f64 (fma.f64 #s(literal -17/315 binary64) (*.f64 x x) #s(literal 2/15 binary64)) (*.f64 x x) #s(literal -1/3 binary64)) x))
#s(approx x x)
#s(approx (+ (* (pow x 3) -1/3) x) x)
#s(approx (+ (* (pow x 3) -1/3) x) (fma.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal -1/3 binary64) x))
#s(approx (pow x 3) (pow.f64 x #s(literal 3 binary64)))
#s(approx (+ (* (pow x 3) (- (* 2/15 (* x x)) 1/3)) x) x)
#s(approx (+ (* (pow x 3) (- (* 2/15 (* x x)) 1/3)) x) (fma.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal -1/3 binary64) x))
#s(approx (+ (* (pow x 3) (- (* 2/15 (* x x)) 1/3)) x) (fma.f64 (fma.f64 (*.f64 x x) #s(literal 2/15 binary64) #s(literal -1/3 binary64)) (pow.f64 x #s(literal 3 binary64)) x))
#s(approx (- (* 2/15 (* x x)) 1/3) #s(literal -1/3 binary64))
#s(approx (- (* 2/15 (* x x)) 1/3) (fma.f64 (*.f64 x x) #s(literal 2/15 binary64) #s(literal -1/3 binary64)))
#s(approx (* 2/15 (* x x)) (*.f64 (*.f64 x x) #s(literal 2/15 binary64)))
#s(approx (* x x) (*.f64 x x))
#s(approx (tanh x) x)
#s(approx (tanh x) (fma.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal -1/3 binary64) x))
#s(approx (tanh x) (fma.f64 (fma.f64 (*.f64 x x) #s(literal 2/15 binary64) #s(literal -1/3 binary64)) (pow.f64 x #s(literal 3 binary64)) x))
#s(approx (tanh x) (fma.f64 (pow.f64 x #s(literal 3 binary64)) (fma.f64 (fma.f64 #s(literal -17/315 binary64) (*.f64 x x) #s(literal 2/15 binary64)) (*.f64 x x) #s(literal -1/3 binary64)) x))
#s(approx (tanh x) (tanh.f64 x))
#s(approx (+ (* (pow x 3) -1/3) x) (*.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal -1/3 binary64)))
#s(approx (+ (* (pow x 3) -1/3) x) (*.f64 (-.f64 (pow.f64 x #s(literal -2 binary64)) #s(literal 1/3 binary64)) (pow.f64 x #s(literal 3 binary64))))
#s(approx (+ (* (pow x 3) (- (* 2/15 (* x x)) 1/3)) x) (*.f64 (pow.f64 x #s(literal 5 binary64)) #s(literal 2/15 binary64)))
#s(approx (+ (* (pow x 3) (- (* 2/15 (* x x)) 1/3)) x) (*.f64 (fma.f64 (pow.f64 x #s(literal -2 binary64)) #s(literal -1/3 binary64) #s(literal 2/15 binary64)) (pow.f64 x #s(literal 5 binary64))))
#s(approx (+ (* (pow x 3) (- (* 2/15 (* x x)) 1/3)) x) (*.f64 (fma.f64 (pow.f64 x #s(literal -2 binary64)) #s(literal -1/3 binary64) (+.f64 (pow.f64 x #s(literal -4 binary64)) #s(literal 2/15 binary64))) (pow.f64 x #s(literal 5 binary64))))
#s(approx (- (* 2/15 (* x x)) 1/3) (*.f64 (*.f64 x x) #s(literal 2/15 binary64)))
#s(approx (- (* 2/15 (* x x)) 1/3) (*.f64 (*.f64 (fma.f64 (pow.f64 x #s(literal -2 binary64)) #s(literal -1/3 binary64) #s(literal 2/15 binary64)) x) x))
#s(approx (tanh x) (tanh.f64 x))
#s(approx (tanh x) (tanh.f64 x))
#s(approx (+ (* (pow x 3) -1/3) x) (*.f64 (neg.f64 (-.f64 #s(literal 1/3 binary64) (pow.f64 x #s(literal -2 binary64)))) (pow.f64 x #s(literal 3 binary64))))
#s(approx (+ (* (pow x 3) (- (* 2/15 (* x x)) 1/3)) x) (*.f64 (neg.f64 (-.f64 (*.f64 (pow.f64 x #s(literal -2 binary64)) #s(literal 1/3 binary64)) #s(literal 2/15 binary64))) (pow.f64 x #s(literal 5 binary64))))
#s(approx (+ (* (pow x 3) (- (* 2/15 (* x x)) 1/3)) x) (*.f64 (neg.f64 (pow.f64 x #s(literal 5 binary64))) (-.f64 (-.f64 (*.f64 (pow.f64 x #s(literal -2 binary64)) #s(literal 1/3 binary64)) #s(literal 2/15 binary64)) (pow.f64 x #s(literal -4 binary64)))))

eval37.0ms (0.7%)

Memory
-14.4MiB live, 32.7MiB allocated; 4ms collecting garbage
Compiler

Compiled 5 729 to 730 computations (87.3% saved)

prune6.0ms (0.1%)

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

4 alts after pruning (2 fresh and 2 done)

PrunedKeptTotal
New2042206
Fresh000
Picked224
Done000
Total2064210
Accuracy
100.0%
Counts
210 → 4
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
(tanh.f64 x)
98.2%
#s(approx (/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) (fma.f64 (*.f64 (fma.f64 (*.f64 x x) #s(literal 2/15 binary64) #s(literal -1/3 binary64)) x) (*.f64 x x) x))
97.9%
#s(approx (/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) (*.f64 (fma.f64 (*.f64 x x) #s(literal -1/3 binary64) #s(literal 1 binary64)) x))
97.6%
#s(approx (/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) x)
Compiler

Compiled 66 to 37 computations (43.9% saved)

series7.0ms (0.1%)

Memory
7.8MiB live, 7.8MiB allocated; 0ms collecting garbage
Counts
12 → 34
Calls
Call 1
Inputs
#s(approx (/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) (*.f64 (fma.f64 (*.f64 x x) #s(literal -1/3 binary64) #s(literal 1 binary64)) x))
(*.f64 (fma.f64 (*.f64 x x) #s(literal -1/3 binary64) #s(literal 1 binary64)) x)
(fma.f64 (*.f64 x x) #s(literal -1/3 binary64) #s(literal 1 binary64))
(*.f64 x x)
x
#s(literal -1/3 binary64)
#s(literal 1 binary64)
#s(approx (/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) (fma.f64 (*.f64 (fma.f64 (*.f64 x x) #s(literal 2/15 binary64) #s(literal -1/3 binary64)) x) (*.f64 x x) x))
(fma.f64 (*.f64 (fma.f64 (*.f64 x x) #s(literal 2/15 binary64) #s(literal -1/3 binary64)) x) (*.f64 x x) x)
(*.f64 (fma.f64 (*.f64 x x) #s(literal 2/15 binary64) #s(literal -1/3 binary64)) x)
(fma.f64 (*.f64 x x) #s(literal 2/15 binary64) #s(literal -1/3 binary64))
#s(literal 2/15 binary64)
Outputs
#s(approx (/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) #s(hole binary64 x))
#s(approx (/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) #s(hole binary64 (* x (+ 1 (* -1/3 (pow x 2))))))
#s(approx (/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) #s(hole binary64 (* x (+ 1 (* (pow x 2) (- (* 2/15 (pow x 2)) 1/3))))))
#s(approx (/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) #s(hole binary64 (* x (+ 1 (* (pow x 2) (- (* (pow x 2) (+ 2/15 (* -17/315 (pow x 2)))) 1/3))))))
#s(approx (* (+ (* (* x x) -1/3) 1) x) #s(hole binary64 x))
#s(approx (* (+ (* (* x x) -1/3) 1) x) #s(hole binary64 (* x (+ 1 (* -1/3 (pow x 2))))))
#s(approx (+ (* (* x x) -1/3) 1) #s(hole binary64 1))
#s(approx (+ (* (* x x) -1/3) 1) #s(hole binary64 (+ 1 (* -1/3 (pow x 2)))))
#s(approx (* x x) #s(hole binary64 (pow x 2)))
#s(approx x #s(hole binary64 x))
#s(approx (+ (* (* (+ (* (* x x) 2/15) -1/3) x) (* x x)) x) #s(hole binary64 x))
#s(approx (+ (* (* (+ (* (* x x) 2/15) -1/3) x) (* x x)) x) #s(hole binary64 (* x (+ 1 (* -1/3 (pow x 2))))))
#s(approx (+ (* (* (+ (* (* x x) 2/15) -1/3) x) (* x x)) x) #s(hole binary64 (* x (+ 1 (* (pow x 2) (- (* 2/15 (pow x 2)) 1/3))))))
#s(approx (* (+ (* (* x x) 2/15) -1/3) x) #s(hole binary64 (* -1/3 x)))
#s(approx (* (+ (* (* x x) 2/15) -1/3) x) #s(hole binary64 (* x (- (* 2/15 (pow x 2)) 1/3))))
#s(approx (+ (* (* x x) 2/15) -1/3) #s(hole binary64 -1/3))
#s(approx (+ (* (* x x) 2/15) -1/3) #s(hole binary64 (- (* 2/15 (pow x 2)) 1/3)))
#s(approx (/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) #s(hole binary64 (/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x))))))
#s(approx (* (+ (* (* x x) -1/3) 1) x) #s(hole binary64 (* -1/3 (pow x 3))))
#s(approx (* (+ (* (* x x) -1/3) 1) x) #s(hole binary64 (* (pow x 3) (- (/ 1 (pow x 2)) 1/3))))
#s(approx (+ (* (* x x) -1/3) 1) #s(hole binary64 (* -1/3 (pow x 2))))
#s(approx (+ (* (* x x) -1/3) 1) #s(hole binary64 (* (pow x 2) (- (/ 1 (pow x 2)) 1/3))))
#s(approx (+ (* (* (+ (* (* x x) 2/15) -1/3) x) (* x x)) x) #s(hole binary64 (* 2/15 (pow x 5))))
#s(approx (+ (* (* (+ (* (* x x) 2/15) -1/3) x) (* x x)) x) #s(hole binary64 (* (pow x 5) (- 2/15 (* 1/3 (/ 1 (pow x 2)))))))
#s(approx (+ (* (* (+ (* (* x x) 2/15) -1/3) x) (* x x)) x) #s(hole binary64 (* (pow x 5) (- (+ 2/15 (/ 1 (pow x 4))) (* 1/3 (/ 1 (pow x 2)))))))
#s(approx (* (+ (* (* x x) 2/15) -1/3) x) #s(hole binary64 (* 2/15 (pow x 3))))
#s(approx (* (+ (* (* x x) 2/15) -1/3) x) #s(hole binary64 (* (pow x 3) (- 2/15 (* 1/3 (/ 1 (pow x 2)))))))
#s(approx (+ (* (* x x) 2/15) -1/3) #s(hole binary64 (* 2/15 (pow x 2))))
#s(approx (+ (* (* x x) 2/15) -1/3) #s(hole binary64 (* (pow x 2) (- 2/15 (* 1/3 (/ 1 (pow x 2)))))))
#s(approx (/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) #s(hole binary64 (/ (- (exp x) (exp (* -1 x))) (+ (exp x) (exp (* -1 x))))))
#s(approx (* (+ (* (* x x) -1/3) 1) x) #s(hole binary64 (* -1 (* (pow x 3) (- 1/3 (/ 1 (pow x 2)))))))
#s(approx (+ (* (* (+ (* (* x x) 2/15) -1/3) x) (* x x)) x) #s(hole binary64 (* -1 (* (pow x 5) (- (* 1/3 (/ 1 (pow x 2))) 2/15)))))
#s(approx (+ (* (* (+ (* (* x x) 2/15) -1/3) x) (* x x)) x) #s(hole binary64 (* -1 (* (pow x 5) (- (* 1/3 (/ 1 (pow x 2))) (+ 2/15 (/ 1 (pow x 4))))))))
#s(approx (* (+ (* (* x x) 2/15) -1/3) x) #s(hole binary64 (* -1 (* (pow x 3) (- (* 1/3 (/ 1 (pow x 2))) 2/15)))))
Calls

3 calls:

TimeVariablePointExpression
2.0ms
x
@0
((/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) (* (+ (* (* x x) -1/3) 1) x) (+ (* (* x x) -1/3) 1) (* x x) x -1/3 1 (/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) (+ (* (* (+ (* (* x x) 2/15) -1/3) x) (* x x)) x) (* (+ (* (* x x) 2/15) -1/3) x) (+ (* (* x x) 2/15) -1/3) 2/15)
2.0ms
x
@inf
((/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) (* (+ (* (* x x) -1/3) 1) x) (+ (* (* x x) -1/3) 1) (* x x) x -1/3 1 (/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) (+ (* (* (+ (* (* x x) 2/15) -1/3) x) (* x x)) x) (* (+ (* (* x x) 2/15) -1/3) x) (+ (* (* x x) 2/15) -1/3) 2/15)
2.0ms
x
@-inf
((/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) (* (+ (* (* x x) -1/3) 1) x) (+ (* (* x x) -1/3) 1) (* x x) x -1/3 1 (/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) (+ (* (* (+ (* (* x x) 2/15) -1/3) x) (* x x)) x) (* (+ (* (* x x) 2/15) -1/3) x) (+ (* (* x x) 2/15) -1/3) 2/15)

rewrite117.0ms (2.1%)

Memory
-6.8MiB live, 86.2MiB allocated; 3ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0121755
0133598
1538581
03799552
Stop Event
iter limit
iter limit
node limit
iter limit
Counts
46 → 193
Calls
Call 1
Inputs
#s(approx (/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) (*.f64 (fma.f64 (*.f64 x x) #s(literal -1/3 binary64) #s(literal 1 binary64)) x))
(*.f64 (fma.f64 (*.f64 x x) #s(literal -1/3 binary64) #s(literal 1 binary64)) x)
(fma.f64 (*.f64 x x) #s(literal -1/3 binary64) #s(literal 1 binary64))
(*.f64 x x)
x
#s(literal -1/3 binary64)
#s(literal 1 binary64)
#s(approx (/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) (fma.f64 (*.f64 (fma.f64 (*.f64 x x) #s(literal 2/15 binary64) #s(literal -1/3 binary64)) x) (*.f64 x x) x))
(fma.f64 (*.f64 (fma.f64 (*.f64 x x) #s(literal 2/15 binary64) #s(literal -1/3 binary64)) x) (*.f64 x x) x)
(*.f64 (fma.f64 (*.f64 x x) #s(literal 2/15 binary64) #s(literal -1/3 binary64)) x)
(fma.f64 (*.f64 x x) #s(literal 2/15 binary64) #s(literal -1/3 binary64))
#s(literal 2/15 binary64)
#s(approx (/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) #s(hole binary64 x))
#s(approx (/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) #s(hole binary64 (* x (+ 1 (* -1/3 (pow x 2))))))
#s(approx (/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) #s(hole binary64 (* x (+ 1 (* (pow x 2) (- (* 2/15 (pow x 2)) 1/3))))))
#s(approx (/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) #s(hole binary64 (* x (+ 1 (* (pow x 2) (- (* (pow x 2) (+ 2/15 (* -17/315 (pow x 2)))) 1/3))))))
#s(approx (* (+ (* (* x x) -1/3) 1) x) #s(hole binary64 x))
#s(approx (* (+ (* (* x x) -1/3) 1) x) #s(hole binary64 (* x (+ 1 (* -1/3 (pow x 2))))))
#s(approx (+ (* (* x x) -1/3) 1) #s(hole binary64 1))
#s(approx (+ (* (* x x) -1/3) 1) #s(hole binary64 (+ 1 (* -1/3 (pow x 2)))))
#s(approx (* x x) #s(hole binary64 (pow x 2)))
#s(approx x #s(hole binary64 x))
#s(approx (+ (* (* (+ (* (* x x) 2/15) -1/3) x) (* x x)) x) #s(hole binary64 x))
#s(approx (+ (* (* (+ (* (* x x) 2/15) -1/3) x) (* x x)) x) #s(hole binary64 (* x (+ 1 (* -1/3 (pow x 2))))))
#s(approx (+ (* (* (+ (* (* x x) 2/15) -1/3) x) (* x x)) x) #s(hole binary64 (* x (+ 1 (* (pow x 2) (- (* 2/15 (pow x 2)) 1/3))))))
#s(approx (* (+ (* (* x x) 2/15) -1/3) x) #s(hole binary64 (* -1/3 x)))
#s(approx (* (+ (* (* x x) 2/15) -1/3) x) #s(hole binary64 (* x (- (* 2/15 (pow x 2)) 1/3))))
#s(approx (+ (* (* x x) 2/15) -1/3) #s(hole binary64 -1/3))
#s(approx (+ (* (* x x) 2/15) -1/3) #s(hole binary64 (- (* 2/15 (pow x 2)) 1/3)))
#s(approx (/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) #s(hole binary64 (/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x))))))
#s(approx (* (+ (* (* x x) -1/3) 1) x) #s(hole binary64 (* -1/3 (pow x 3))))
#s(approx (* (+ (* (* x x) -1/3) 1) x) #s(hole binary64 (* (pow x 3) (- (/ 1 (pow x 2)) 1/3))))
#s(approx (+ (* (* x x) -1/3) 1) #s(hole binary64 (* -1/3 (pow x 2))))
#s(approx (+ (* (* x x) -1/3) 1) #s(hole binary64 (* (pow x 2) (- (/ 1 (pow x 2)) 1/3))))
#s(approx (+ (* (* (+ (* (* x x) 2/15) -1/3) x) (* x x)) x) #s(hole binary64 (* 2/15 (pow x 5))))
#s(approx (+ (* (* (+ (* (* x x) 2/15) -1/3) x) (* x x)) x) #s(hole binary64 (* (pow x 5) (- 2/15 (* 1/3 (/ 1 (pow x 2)))))))
#s(approx (+ (* (* (+ (* (* x x) 2/15) -1/3) x) (* x x)) x) #s(hole binary64 (* (pow x 5) (- (+ 2/15 (/ 1 (pow x 4))) (* 1/3 (/ 1 (pow x 2)))))))
#s(approx (* (+ (* (* x x) 2/15) -1/3) x) #s(hole binary64 (* 2/15 (pow x 3))))
#s(approx (* (+ (* (* x x) 2/15) -1/3) x) #s(hole binary64 (* (pow x 3) (- 2/15 (* 1/3 (/ 1 (pow x 2)))))))
#s(approx (+ (* (* x x) 2/15) -1/3) #s(hole binary64 (* 2/15 (pow x 2))))
#s(approx (+ (* (* x x) 2/15) -1/3) #s(hole binary64 (* (pow x 2) (- 2/15 (* 1/3 (/ 1 (pow x 2)))))))
#s(approx (/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) #s(hole binary64 (/ (- (exp x) (exp (* -1 x))) (+ (exp x) (exp (* -1 x))))))
#s(approx (* (+ (* (* x x) -1/3) 1) x) #s(hole binary64 (* -1 (* (pow x 3) (- 1/3 (/ 1 (pow x 2)))))))
#s(approx (+ (* (* (+ (* (* x x) 2/15) -1/3) x) (* x x)) x) #s(hole binary64 (* -1 (* (pow x 5) (- (* 1/3 (/ 1 (pow x 2))) 2/15)))))
#s(approx (+ (* (* (+ (* (* x x) 2/15) -1/3) x) (* x x)) x) #s(hole binary64 (* -1 (* (pow x 5) (- (* 1/3 (/ 1 (pow x 2))) (+ 2/15 (/ 1 (pow x 4))))))))
#s(approx (* (+ (* (* x x) 2/15) -1/3) x) #s(hole binary64 (* -1 (* (pow x 3) (- (* 1/3 (/ 1 (pow x 2))) 2/15)))))
Outputs
#s(approx (/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) (fma.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal -1/3 binary64) x))
(*.f64 (fma.f64 (*.f64 x x) #s(literal -1/3 binary64) #s(literal 1 binary64)) x)
(*.f64 x (fma.f64 (*.f64 x x) #s(literal -1/3 binary64) #s(literal 1 binary64)))
(/.f64 (*.f64 (-.f64 #s(literal 1 binary64) (*.f64 #s(literal 1/9 binary64) (pow.f64 x #s(literal 4 binary64)))) x) (+.f64 #s(literal 1 binary64) (*.f64 (*.f64 x x) #s(literal 1/3 binary64))))
(/.f64 (*.f64 (fma.f64 #s(literal 1/9 binary64) (pow.f64 x #s(literal 4 binary64)) #s(literal -1 binary64)) x) (fma.f64 (*.f64 #s(literal -1/3 binary64) x) x #s(literal -1 binary64)))
(/.f64 (*.f64 (fma.f64 (pow.f64 (*.f64 x x) #s(literal 3 binary64)) #s(literal -1/27 binary64) #s(literal 1 binary64)) x) (fma.f64 (*.f64 (*.f64 #s(literal -1/3 binary64) x) x) (fma.f64 (*.f64 #s(literal -1/3 binary64) x) x #s(literal -1 binary64)) #s(literal 1 binary64)))
(/.f64 (*.f64 (fma.f64 (pow.f64 (*.f64 x x) #s(literal 3 binary64)) #s(literal -1/27 binary64) #s(literal 1 binary64)) x) (-.f64 (fma.f64 #s(literal 1/9 binary64) (pow.f64 x #s(literal 4 binary64)) #s(literal 1 binary64)) (*.f64 (*.f64 #s(literal -1/3 binary64) x) x)))
(/.f64 (*.f64 x (-.f64 #s(literal 1 binary64) (*.f64 #s(literal 1/9 binary64) (pow.f64 x #s(literal 4 binary64))))) (+.f64 #s(literal 1 binary64) (*.f64 (*.f64 x x) #s(literal 1/3 binary64))))
(/.f64 (*.f64 x (fma.f64 #s(literal 1/9 binary64) (pow.f64 x #s(literal 4 binary64)) #s(literal -1 binary64))) (fma.f64 (*.f64 #s(literal -1/3 binary64) x) x #s(literal -1 binary64)))
(/.f64 (*.f64 x (fma.f64 (pow.f64 (*.f64 x x) #s(literal 3 binary64)) #s(literal -1/27 binary64) #s(literal 1 binary64))) (fma.f64 (*.f64 (*.f64 #s(literal -1/3 binary64) x) x) (fma.f64 (*.f64 #s(literal -1/3 binary64) x) x #s(literal -1 binary64)) #s(literal 1 binary64)))
(/.f64 (*.f64 x (fma.f64 (pow.f64 (*.f64 x x) #s(literal 3 binary64)) #s(literal -1/27 binary64) #s(literal 1 binary64))) (-.f64 (fma.f64 #s(literal 1/9 binary64) (pow.f64 x #s(literal 4 binary64)) #s(literal 1 binary64)) (*.f64 (*.f64 #s(literal -1/3 binary64) x) x)))
(/.f64 (-.f64 (*.f64 x x) (*.f64 (*.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal -1/3 binary64)) (*.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal -1/3 binary64)))) (-.f64 x (*.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal -1/3 binary64))))
(/.f64 (+.f64 (pow.f64 x #s(literal 3 binary64)) (pow.f64 (*.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal -1/3 binary64)) #s(literal 3 binary64))) (fma.f64 x x (-.f64 (*.f64 (*.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal -1/3 binary64)) (*.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal -1/3 binary64))) (*.f64 x (*.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal -1/3 binary64))))))
(fma.f64 (*.f64 #s(literal -1/3 binary64) (pow.f64 x #s(literal 3/2 binary64))) (pow.f64 x #s(literal 3/2 binary64)) x)
(fma.f64 (pow.f64 x #s(literal 3/2 binary64)) (*.f64 (pow.f64 x #s(literal 3/2 binary64)) #s(literal -1/3 binary64)) x)
(fma.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal -1/3 binary64) x)
(fma.f64 (*.f64 #s(literal -1/3 binary64) x) (*.f64 x x) x)
(fma.f64 (*.f64 x x) (*.f64 #s(literal -1/3 binary64) x) x)
(fma.f64 (*.f64 (*.f64 #s(literal -1/3 binary64) x) x) x x)
(fma.f64 #s(literal -1/3 binary64) (pow.f64 x #s(literal 3 binary64)) x)
(fma.f64 x (*.f64 (*.f64 #s(literal -1/3 binary64) x) x) x)
(-.f64 x (*.f64 (*.f64 (*.f64 x x) #s(literal 1/3 binary64)) x))
(-.f64 x (*.f64 (neg.f64 x) (*.f64 (*.f64 #s(literal -1/3 binary64) x) x)))
(+.f64 (*.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal -1/3 binary64)) x)
(+.f64 x (*.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal -1/3 binary64)))
(/.f64 (-.f64 #s(literal 1 binary64) (pow.f64 (*.f64 (*.f64 x x) #s(literal 1/3 binary64)) #s(literal 3 binary64))) (+.f64 #s(literal 1 binary64) (fma.f64 #s(literal 1/9 binary64) (pow.f64 x #s(literal 4 binary64)) (*.f64 #s(literal 1 binary64) (*.f64 (*.f64 x x) #s(literal 1/3 binary64))))))
(/.f64 (neg.f64 (-.f64 #s(literal 1 binary64) (*.f64 #s(literal 1/9 binary64) (pow.f64 x #s(literal 4 binary64))))) (neg.f64 (+.f64 #s(literal 1 binary64) (*.f64 (*.f64 x x) #s(literal 1/3 binary64)))))
(/.f64 (neg.f64 (fma.f64 #s(literal 1/9 binary64) (pow.f64 x #s(literal 4 binary64)) #s(literal -1 binary64))) (neg.f64 (fma.f64 (*.f64 #s(literal -1/3 binary64) x) x #s(literal -1 binary64))))
(/.f64 (neg.f64 (fma.f64 (pow.f64 (*.f64 x x) #s(literal 3 binary64)) #s(literal -1/27 binary64) #s(literal 1 binary64))) (neg.f64 (fma.f64 (*.f64 (*.f64 #s(literal -1/3 binary64) x) x) (fma.f64 (*.f64 #s(literal -1/3 binary64) x) x #s(literal -1 binary64)) #s(literal 1 binary64))))
(/.f64 (neg.f64 (fma.f64 (pow.f64 (*.f64 x x) #s(literal 3 binary64)) #s(literal -1/27 binary64) #s(literal 1 binary64))) (neg.f64 (-.f64 (fma.f64 #s(literal 1/9 binary64) (pow.f64 x #s(literal 4 binary64)) #s(literal 1 binary64)) (*.f64 (*.f64 #s(literal -1/3 binary64) x) x))))
(/.f64 (-.f64 #s(literal 1 binary64) (*.f64 #s(literal 1/9 binary64) (pow.f64 x #s(literal 4 binary64)))) (+.f64 #s(literal 1 binary64) (*.f64 (*.f64 x x) #s(literal 1/3 binary64))))
(/.f64 (fma.f64 #s(literal 1/9 binary64) (pow.f64 x #s(literal 4 binary64)) #s(literal -1 binary64)) (fma.f64 (*.f64 #s(literal -1/3 binary64) x) x #s(literal -1 binary64)))
(/.f64 (fma.f64 (pow.f64 (*.f64 x x) #s(literal 3 binary64)) #s(literal -1/27 binary64) #s(literal 1 binary64)) (fma.f64 (*.f64 (*.f64 #s(literal -1/3 binary64) x) x) (fma.f64 (*.f64 #s(literal -1/3 binary64) x) x #s(literal -1 binary64)) #s(literal 1 binary64)))
(/.f64 (fma.f64 (pow.f64 (*.f64 x x) #s(literal 3 binary64)) #s(literal -1/27 binary64) #s(literal 1 binary64)) (-.f64 (fma.f64 #s(literal 1/9 binary64) (pow.f64 x #s(literal 4 binary64)) #s(literal 1 binary64)) (*.f64 (*.f64 #s(literal -1/3 binary64) x) x)))
(fma.f64 (*.f64 #s(literal -1/3 binary64) (fabs.f64 x)) (fabs.f64 x) #s(literal 1 binary64))
(fma.f64 (*.f64 #s(literal -1/3 binary64) (neg.f64 x)) (neg.f64 x) #s(literal 1 binary64))
(fma.f64 (fabs.f64 x) (*.f64 (fabs.f64 x) #s(literal -1/3 binary64)) #s(literal 1 binary64))
(fma.f64 (*.f64 #s(literal -1/3 binary64) x) x #s(literal 1 binary64))
(fma.f64 (*.f64 x x) #s(literal -1/3 binary64) #s(literal 1 binary64))
(fma.f64 (*.f64 (*.f64 #s(literal -1/3 binary64) x) x) #s(literal 1 binary64) #s(literal 1 binary64))
(fma.f64 #s(literal 1 binary64) (*.f64 (*.f64 #s(literal -1/3 binary64) x) x) #s(literal 1 binary64))
(fma.f64 #s(literal -1/3 binary64) (*.f64 x x) #s(literal 1 binary64))
(fma.f64 (neg.f64 x) (*.f64 (neg.f64 x) #s(literal -1/3 binary64)) #s(literal 1 binary64))
(fma.f64 x (*.f64 (*.f64 #s(literal -1/3 binary64) x) #s(literal 1 binary64)) #s(literal 1 binary64))
(fma.f64 x (*.f64 #s(literal -1/3 binary64) x) #s(literal 1 binary64))
(-.f64 (/.f64 #s(literal 1 binary64) (+.f64 #s(literal 1 binary64) (*.f64 (*.f64 x x) #s(literal 1/3 binary64)))) (/.f64 (*.f64 #s(literal 1/9 binary64) (pow.f64 x #s(literal 4 binary64))) (+.f64 #s(literal 1 binary64) (*.f64 (*.f64 x x) #s(literal 1/3 binary64)))))
(-.f64 (/.f64 (*.f64 #s(literal 1/9 binary64) (pow.f64 x #s(literal 4 binary64))) (fma.f64 (*.f64 #s(literal -1/3 binary64) x) x #s(literal -1 binary64))) (/.f64 #s(literal 1 binary64) (fma.f64 (*.f64 #s(literal -1/3 binary64) x) x #s(literal -1 binary64))))
(-.f64 (*.f64 (*.f64 #s(literal -1/3 binary64) x) x) #s(literal -1 binary64))
(-.f64 #s(literal 1 binary64) (*.f64 (*.f64 (neg.f64 x) x) #s(literal -1/3 binary64)))
(-.f64 #s(literal 1 binary64) (*.f64 (neg.f64 x) (*.f64 #s(literal -1/3 binary64) x)))
(-.f64 #s(literal 1 binary64) (*.f64 (*.f64 x x) #s(literal 1/3 binary64)))
(+.f64 (/.f64 #s(literal 1 binary64) (fma.f64 (*.f64 (*.f64 #s(literal -1/3 binary64) x) x) (fma.f64 (*.f64 #s(literal -1/3 binary64) x) x #s(literal -1 binary64)) #s(literal 1 binary64))) (/.f64 (*.f64 (pow.f64 (*.f64 x x) #s(literal 3 binary64)) #s(literal -1/27 binary64)) (fma.f64 (*.f64 (*.f64 #s(literal -1/3 binary64) x) x) (fma.f64 (*.f64 #s(literal -1/3 binary64) x) x #s(literal -1 binary64)) #s(literal 1 binary64))))
(+.f64 (/.f64 (*.f64 (pow.f64 (*.f64 x x) #s(literal 3 binary64)) #s(literal -1/27 binary64)) (-.f64 (fma.f64 #s(literal 1/9 binary64) (pow.f64 x #s(literal 4 binary64)) #s(literal 1 binary64)) (*.f64 (*.f64 #s(literal -1/3 binary64) x) x))) (/.f64 #s(literal 1 binary64) (-.f64 (fma.f64 #s(literal 1/9 binary64) (pow.f64 x #s(literal 4 binary64)) #s(literal 1 binary64)) (*.f64 (*.f64 #s(literal -1/3 binary64) x) x))))
(+.f64 (*.f64 (*.f64 #s(literal -1/3 binary64) x) x) #s(literal 1 binary64))
(+.f64 #s(literal 1 binary64) (*.f64 (*.f64 #s(literal -1/3 binary64) x) x))
(*.f64 (*.f64 (neg.f64 x) #s(literal -1 binary64)) x)
(*.f64 (neg.f64 (fabs.f64 x)) (neg.f64 (fabs.f64 x)))
(*.f64 (fabs.f64 (fabs.f64 x)) (fabs.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) (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) (neg.f64 x))
(*.f64 x (*.f64 #s(literal -1 binary64) (neg.f64 x)))
(*.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))
(neg.f64 (*.f64 (neg.f64 x) x))
(fabs.f64 (*.f64 x x))
(exp.f64 (*.f64 (log.f64 x) #s(literal 2 binary64)))
(+.f64 (cosh.f64 (*.f64 (log.f64 x) #s(literal 2 binary64))) (sinh.f64 (*.f64 (log.f64 x) #s(literal 2 binary64))))
x
#s(literal -1/3 binary64)
#s(literal 1 binary64)
#s(approx (/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) (fma.f64 (pow.f64 x #s(literal 3 binary64)) (fma.f64 (*.f64 x x) #s(literal 2/15 binary64) #s(literal -1/3 binary64)) x))
(*.f64 (fma.f64 (*.f64 (fma.f64 (*.f64 x x) #s(literal 2/15 binary64) #s(literal -1/3 binary64)) x) x #s(literal 1 binary64)) x)
(*.f64 x (fma.f64 (*.f64 (fma.f64 (*.f64 x x) #s(literal 2/15 binary64) #s(literal -1/3 binary64)) x) x #s(literal 1 binary64)))
(/.f64 (*.f64 (-.f64 #s(literal 1 binary64) (pow.f64 (*.f64 (*.f64 (fma.f64 (*.f64 x x) #s(literal 2/15 binary64) #s(literal -1/3 binary64)) x) x) #s(literal 2 binary64))) x) (-.f64 #s(literal 1 binary64) (*.f64 (*.f64 (fma.f64 (*.f64 x x) #s(literal 2/15 binary64) #s(literal -1/3 binary64)) x) x)))
(/.f64 (*.f64 (+.f64 (pow.f64 (*.f64 (*.f64 (fma.f64 (*.f64 x x) #s(literal 2/15 binary64) #s(literal -1/3 binary64)) x) x) #s(literal 3 binary64)) #s(literal 1 binary64)) x) (fma.f64 (*.f64 (*.f64 (fma.f64 (*.f64 x x) #s(literal 2/15 binary64) #s(literal -1/3 binary64)) x) x) (-.f64 (*.f64 (*.f64 (fma.f64 (*.f64 x x) #s(literal 2/15 binary64) #s(literal -1/3 binary64)) x) x) #s(literal 1 binary64)) #s(literal 1 binary64)))
(/.f64 (*.f64 x (-.f64 #s(literal 1 binary64) (pow.f64 (*.f64 (*.f64 (fma.f64 (*.f64 x x) #s(literal 2/15 binary64) #s(literal -1/3 binary64)) x) x) #s(literal 2 binary64)))) (-.f64 #s(literal 1 binary64) (*.f64 (*.f64 (fma.f64 (*.f64 x x) #s(literal 2/15 binary64) #s(literal -1/3 binary64)) x) x)))
(/.f64 (*.f64 x (+.f64 (pow.f64 (*.f64 (*.f64 (fma.f64 (*.f64 x x) #s(literal 2/15 binary64) #s(literal -1/3 binary64)) x) x) #s(literal 3 binary64)) #s(literal 1 binary64))) (fma.f64 (*.f64 (*.f64 (fma.f64 (*.f64 x x) #s(literal 2/15 binary64) #s(literal -1/3 binary64)) x) x) (-.f64 (*.f64 (*.f64 (fma.f64 (*.f64 x x) #s(literal 2/15 binary64) #s(literal -1/3 binary64)) x) x) #s(literal 1 binary64)) #s(literal 1 binary64)))
(/.f64 (-.f64 (*.f64 x x) (pow.f64 (*.f64 (pow.f64 x #s(literal 3 binary64)) (fma.f64 (*.f64 x x) #s(literal 2/15 binary64) #s(literal -1/3 binary64))) #s(literal 2 binary64))) (-.f64 x (*.f64 (pow.f64 x #s(literal 3 binary64)) (fma.f64 (*.f64 x x) #s(literal 2/15 binary64) #s(literal -1/3 binary64)))))
(/.f64 (neg.f64 (-.f64 (pow.f64 (*.f64 (pow.f64 x #s(literal 3 binary64)) (fma.f64 (*.f64 x x) #s(literal 2/15 binary64) #s(literal -1/3 binary64))) #s(literal 2 binary64)) (*.f64 x x))) (neg.f64 (-.f64 (*.f64 (pow.f64 x #s(literal 3 binary64)) (fma.f64 (*.f64 x x) #s(literal 2/15 binary64) #s(literal -1/3 binary64))) x)))
(/.f64 (neg.f64 (+.f64 (pow.f64 (*.f64 (pow.f64 x #s(literal 3 binary64)) (fma.f64 (*.f64 x x) #s(literal 2/15 binary64) #s(literal -1/3 binary64))) #s(literal 3 binary64)) (pow.f64 x #s(literal 3 binary64)))) (neg.f64 (fma.f64 x (-.f64 x (*.f64 (pow.f64 x #s(literal 3 binary64)) (fma.f64 (*.f64 x x) #s(literal 2/15 binary64) #s(literal -1/3 binary64)))) (pow.f64 (*.f64 (pow.f64 x #s(literal 3 binary64)) (fma.f64 (*.f64 x x) #s(literal 2/15 binary64) #s(literal -1/3 binary64))) #s(literal 2 binary64)))))
(/.f64 (-.f64 (pow.f64 (*.f64 (pow.f64 x #s(literal 3 binary64)) (fma.f64 (*.f64 x x) #s(literal 2/15 binary64) #s(literal -1/3 binary64))) #s(literal 2 binary64)) (*.f64 x x)) (-.f64 (*.f64 (pow.f64 x #s(literal 3 binary64)) (fma.f64 (*.f64 x x) #s(literal 2/15 binary64) #s(literal -1/3 binary64))) x))
(/.f64 (+.f64 (pow.f64 (*.f64 (pow.f64 x #s(literal 3 binary64)) (fma.f64 (*.f64 x x) #s(literal 2/15 binary64) #s(literal -1/3 binary64))) #s(literal 3 binary64)) (pow.f64 x #s(literal 3 binary64))) (fma.f64 x x (-.f64 (pow.f64 (*.f64 (pow.f64 x #s(literal 3 binary64)) (fma.f64 (*.f64 x x) #s(literal 2/15 binary64) #s(literal -1/3 binary64))) #s(literal 2 binary64)) (*.f64 (fma.f64 (*.f64 x x) #s(literal 2/15 binary64) #s(literal -1/3 binary64)) (pow.f64 x #s(literal 4 binary64))))))
(/.f64 (+.f64 (pow.f64 (*.f64 (pow.f64 x #s(literal 3 binary64)) (fma.f64 (*.f64 x x) #s(literal 2/15 binary64) #s(literal -1/3 binary64))) #s(literal 3 binary64)) (pow.f64 x #s(literal 3 binary64))) (fma.f64 x (-.f64 x (*.f64 (pow.f64 x #s(literal 3 binary64)) (fma.f64 (*.f64 x x) #s(literal 2/15 binary64) #s(literal -1/3 binary64)))) (pow.f64 (*.f64 (pow.f64 x #s(literal 3 binary64)) (fma.f64 (*.f64 x x) #s(literal 2/15 binary64) #s(literal -1/3 binary64))) #s(literal 2 binary64))))
(fma.f64 (*.f64 (*.f64 (fma.f64 (*.f64 x x) #s(literal 2/15 binary64) #s(literal -1/3 binary64)) x) (fabs.f64 x)) (fabs.f64 x) x)
(fma.f64 (*.f64 (*.f64 (fma.f64 (*.f64 x x) #s(literal 2/15 binary64) #s(literal -1/3 binary64)) x) (neg.f64 x)) (neg.f64 x) x)
(fma.f64 (*.f64 (fma.f64 (*.f64 x x) #s(literal 2/15 binary64) #s(literal -1/3 binary64)) (pow.f64 x #s(literal 3/2 binary64))) (pow.f64 x #s(literal 3/2 binary64)) x)
(fma.f64 (fabs.f64 x) (*.f64 (fabs.f64 x) (*.f64 (fma.f64 (*.f64 x x) #s(literal 2/15 binary64) #s(literal -1/3 binary64)) x)) x)
(fma.f64 (pow.f64 x #s(literal 3 binary64)) (fma.f64 (*.f64 x x) #s(literal 2/15 binary64) #s(literal -1/3 binary64)) x)
(fma.f64 (*.f64 (fma.f64 (*.f64 x x) #s(literal 2/15 binary64) #s(literal -1/3 binary64)) x) (*.f64 x x) x)
(fma.f64 (fma.f64 (*.f64 x x) #s(literal 2/15 binary64) #s(literal -1/3 binary64)) (pow.f64 x #s(literal 3 binary64)) x)
(fma.f64 (*.f64 x x) (*.f64 (fma.f64 (*.f64 x x) #s(literal 2/15 binary64) #s(literal -1/3 binary64)) x) x)
(fma.f64 (*.f64 (*.f64 (fma.f64 (*.f64 x x) #s(literal 2/15 binary64) #s(literal -1/3 binary64)) x) x) x x)
(fma.f64 (neg.f64 x) (*.f64 (neg.f64 x) (*.f64 (fma.f64 (*.f64 x x) #s(literal 2/15 binary64) #s(literal -1/3 binary64)) x)) x)
(fma.f64 x (*.f64 (*.f64 (fma.f64 (*.f64 x x) #s(literal 2/15 binary64) #s(literal -1/3 binary64)) x) x) x)
(-.f64 (/.f64 (pow.f64 (*.f64 (pow.f64 x #s(literal 3 binary64)) (fma.f64 (*.f64 x x) #s(literal 2/15 binary64) #s(literal -1/3 binary64))) #s(literal 2 binary64)) (-.f64 (*.f64 (pow.f64 x #s(literal 3 binary64)) (fma.f64 (*.f64 x x) #s(literal 2/15 binary64) #s(literal -1/3 binary64))) x)) (/.f64 (*.f64 x x) (-.f64 (*.f64 (pow.f64 x #s(literal 3 binary64)) (fma.f64 (*.f64 x x) #s(literal 2/15 binary64) #s(literal -1/3 binary64))) x)))
(-.f64 x (*.f64 (*.f64 (*.f64 (neg.f64 x) x) (fma.f64 (*.f64 x x) #s(literal 2/15 binary64) #s(literal -1/3 binary64))) x))
(-.f64 x (*.f64 (neg.f64 x) (*.f64 (*.f64 (fma.f64 (*.f64 x x) #s(literal 2/15 binary64) #s(literal -1/3 binary64)) x) x)))
(-.f64 x (*.f64 (neg.f64 (*.f64 (fma.f64 (*.f64 x x) #s(literal 2/15 binary64) #s(literal -1/3 binary64)) x)) (*.f64 x x)))
(-.f64 x (*.f64 (neg.f64 (fma.f64 (*.f64 x x) #s(literal 2/15 binary64) #s(literal -1/3 binary64))) (pow.f64 x #s(literal 3 binary64))))
(-.f64 x (*.f64 (*.f64 (neg.f64 x) x) (*.f64 (fma.f64 (*.f64 x x) #s(literal 2/15 binary64) #s(literal -1/3 binary64)) x)))
(+.f64 (/.f64 (pow.f64 (*.f64 (pow.f64 x #s(literal 3 binary64)) (fma.f64 (*.f64 x x) #s(literal 2/15 binary64) #s(literal -1/3 binary64))) #s(literal 3 binary64)) (fma.f64 x (-.f64 x (*.f64 (pow.f64 x #s(literal 3 binary64)) (fma.f64 (*.f64 x x) #s(literal 2/15 binary64) #s(literal -1/3 binary64)))) (pow.f64 (*.f64 (pow.f64 x #s(literal 3 binary64)) (fma.f64 (*.f64 x x) #s(literal 2/15 binary64) #s(literal -1/3 binary64))) #s(literal 2 binary64)))) (/.f64 (pow.f64 x #s(literal 3 binary64)) (fma.f64 x (-.f64 x (*.f64 (pow.f64 x #s(literal 3 binary64)) (fma.f64 (*.f64 x x) #s(literal 2/15 binary64) #s(literal -1/3 binary64)))) (pow.f64 (*.f64 (pow.f64 x #s(literal 3 binary64)) (fma.f64 (*.f64 x x) #s(literal 2/15 binary64) #s(literal -1/3 binary64))) #s(literal 2 binary64)))))
(+.f64 (*.f64 (pow.f64 x #s(literal 3 binary64)) (fma.f64 (*.f64 x x) #s(literal 2/15 binary64) #s(literal -1/3 binary64))) x)
(+.f64 x (*.f64 (pow.f64 x #s(literal 3 binary64)) (fma.f64 (*.f64 x x) #s(literal 2/15 binary64) #s(literal -1/3 binary64))))
(*.f64 (fma.f64 (*.f64 x x) #s(literal 2/15 binary64) #s(literal -1/3 binary64)) x)
(*.f64 x (fma.f64 (*.f64 x x) #s(literal 2/15 binary64) #s(literal -1/3 binary64)))
(/.f64 (*.f64 (fma.f64 (pow.f64 (*.f64 x x) #s(literal 3 binary64)) #s(literal 8/3375 binary64) #s(literal -1/27 binary64)) x) (fma.f64 #s(literal 4/225 binary64) (pow.f64 x #s(literal 4 binary64)) (-.f64 #s(literal 1/9 binary64) (*.f64 (*.f64 x x) #s(literal -2/45 binary64)))))
(/.f64 (*.f64 (fma.f64 #s(literal 4/225 binary64) (pow.f64 x #s(literal 4 binary64)) #s(literal -1/9 binary64)) x) (fma.f64 (*.f64 x x) #s(literal 2/15 binary64) #s(literal 1/3 binary64)))
(/.f64 (*.f64 (-.f64 (pow.f64 (*.f64 (*.f64 x x) #s(literal 2/15 binary64)) #s(literal 3 binary64)) #s(literal 1/27 binary64)) x) (fma.f64 #s(literal 4/225 binary64) (pow.f64 x #s(literal 4 binary64)) (fma.f64 (*.f64 x x) #s(literal 2/45 binary64) #s(literal 1/9 binary64))))
(/.f64 (*.f64 x (fma.f64 (pow.f64 (*.f64 x x) #s(literal 3 binary64)) #s(literal 8/3375 binary64) #s(literal -1/27 binary64))) (fma.f64 #s(literal 4/225 binary64) (pow.f64 x #s(literal 4 binary64)) (-.f64 #s(literal 1/9 binary64) (*.f64 (*.f64 x x) #s(literal -2/45 binary64)))))
(/.f64 (*.f64 x (fma.f64 #s(literal 4/225 binary64) (pow.f64 x #s(literal 4 binary64)) #s(literal -1/9 binary64))) (fma.f64 (*.f64 x x) #s(literal 2/15 binary64) #s(literal 1/3 binary64)))
(/.f64 (*.f64 x (-.f64 (pow.f64 (*.f64 (*.f64 x x) #s(literal 2/15 binary64)) #s(literal 3 binary64)) #s(literal 1/27 binary64))) (fma.f64 #s(literal 4/225 binary64) (pow.f64 x #s(literal 4 binary64)) (fma.f64 (*.f64 x x) #s(literal 2/45 binary64) #s(literal 1/9 binary64))))
(fma.f64 (*.f64 #s(literal 2/15 binary64) (pow.f64 x #s(literal 3/2 binary64))) (pow.f64 x #s(literal 3/2 binary64)) (*.f64 #s(literal -1/3 binary64) x))
(fma.f64 (*.f64 #s(literal 2/15 binary64) x) (*.f64 x x) (*.f64 #s(literal -1/3 binary64) x))
(fma.f64 (pow.f64 x #s(literal 3/2 binary64)) (*.f64 (pow.f64 x #s(literal 3/2 binary64)) #s(literal 2/15 binary64)) (*.f64 #s(literal -1/3 binary64) x))
(fma.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal 2/15 binary64) (*.f64 #s(literal -1/3 binary64) x))
(fma.f64 (*.f64 (*.f64 x x) #s(literal 2/15 binary64)) x (*.f64 #s(literal -1/3 binary64) x))
(fma.f64 (*.f64 x x) (*.f64 #s(literal 2/15 binary64) x) (*.f64 #s(literal -1/3 binary64) x))
(fma.f64 #s(literal 2/15 binary64) (pow.f64 x #s(literal 3 binary64)) (*.f64 #s(literal -1/3 binary64) x))
(fma.f64 #s(literal -1/3 binary64) x (*.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal 2/15 binary64)))
(fma.f64 x (*.f64 (*.f64 x x) #s(literal 2/15 binary64)) (*.f64 #s(literal -1/3 binary64) x))
(fma.f64 x #s(literal -1/3 binary64) (*.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal 2/15 binary64)))
(+.f64 (*.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal 2/15 binary64)) (*.f64 #s(literal -1/3 binary64) x))
(+.f64 (*.f64 #s(literal -1/3 binary64) x) (*.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal 2/15 binary64)))
(/.f64 (-.f64 #s(literal 1/9 binary64) (*.f64 #s(literal 4/225 binary64) (pow.f64 x #s(literal 4 binary64)))) (-.f64 #s(literal -1/3 binary64) (*.f64 (*.f64 x x) #s(literal 2/15 binary64))))
(/.f64 (neg.f64 (-.f64 (pow.f64 (*.f64 (*.f64 x x) #s(literal 2/15 binary64)) #s(literal 3 binary64)) #s(literal 1/27 binary64))) (neg.f64 (fma.f64 #s(literal 4/225 binary64) (pow.f64 x #s(literal 4 binary64)) (fma.f64 (*.f64 x x) #s(literal 2/45 binary64) #s(literal 1/9 binary64)))))
(/.f64 (neg.f64 (fma.f64 #s(literal 4/225 binary64) (pow.f64 x #s(literal 4 binary64)) #s(literal -1/9 binary64))) (neg.f64 (fma.f64 (*.f64 x x) #s(literal 2/15 binary64) #s(literal 1/3 binary64))))
(/.f64 (neg.f64 (fma.f64 (pow.f64 (*.f64 x x) #s(literal 3 binary64)) #s(literal 8/3375 binary64) #s(literal -1/27 binary64))) (neg.f64 (fma.f64 #s(literal 4/225 binary64) (pow.f64 x #s(literal 4 binary64)) (-.f64 #s(literal 1/9 binary64) (*.f64 (*.f64 x x) #s(literal -2/45 binary64))))))
(/.f64 (fma.f64 #s(literal 4/225 binary64) (pow.f64 x #s(literal 4 binary64)) #s(literal -1/9 binary64)) (fma.f64 (*.f64 x x) #s(literal 2/15 binary64) #s(literal 1/3 binary64)))
(/.f64 (-.f64 (pow.f64 (*.f64 (*.f64 x x) #s(literal 2/15 binary64)) #s(literal 3 binary64)) #s(literal 1/27 binary64)) (fma.f64 #s(literal 4/225 binary64) (pow.f64 x #s(literal 4 binary64)) (fma.f64 (*.f64 x x) #s(literal 2/45 binary64) #s(literal 1/9 binary64))))
(/.f64 (fma.f64 (pow.f64 (*.f64 x x) #s(literal 3 binary64)) #s(literal 8/3375 binary64) #s(literal -1/27 binary64)) (+.f64 #s(literal 1/9 binary64) (-.f64 (*.f64 #s(literal 4/225 binary64) (pow.f64 x #s(literal 4 binary64))) (*.f64 (*.f64 x x) #s(literal -2/45 binary64)))))
(/.f64 (fma.f64 (pow.f64 (*.f64 x x) #s(literal 3 binary64)) #s(literal 8/3375 binary64) #s(literal -1/27 binary64)) (fma.f64 #s(literal 4/225 binary64) (pow.f64 x #s(literal 4 binary64)) (-.f64 #s(literal 1/9 binary64) (*.f64 (*.f64 x x) #s(literal -2/45 binary64)))))
(fma.f64 (*.f64 #s(literal 2/15 binary64) (fabs.f64 x)) (fabs.f64 x) #s(literal -1/3 binary64))
(fma.f64 (*.f64 #s(literal 2/15 binary64) (neg.f64 x)) (neg.f64 x) #s(literal -1/3 binary64))
(fma.f64 (*.f64 #s(literal 2/15 binary64) x) x #s(literal -1/3 binary64))
(fma.f64 (fabs.f64 x) (*.f64 (fabs.f64 x) #s(literal 2/15 binary64)) #s(literal -1/3 binary64))
(fma.f64 (*.f64 x x) #s(literal 2/15 binary64) #s(literal -1/3 binary64))
(fma.f64 #s(literal 2/15 binary64) (*.f64 x x) #s(literal -1/3 binary64))
(fma.f64 (neg.f64 x) (*.f64 (neg.f64 x) #s(literal 2/15 binary64)) #s(literal -1/3 binary64))
(fma.f64 x (*.f64 #s(literal 2/15 binary64) x) #s(literal -1/3 binary64))
(-.f64 (/.f64 (*.f64 #s(literal 4/225 binary64) (pow.f64 x #s(literal 4 binary64))) (fma.f64 (*.f64 x x) #s(literal 2/15 binary64) #s(literal 1/3 binary64))) (/.f64 #s(literal 1/9 binary64) (fma.f64 (*.f64 x x) #s(literal 2/15 binary64) #s(literal 1/3 binary64))))
(-.f64 (/.f64 (pow.f64 (*.f64 (*.f64 x x) #s(literal 2/15 binary64)) #s(literal 3 binary64)) (fma.f64 #s(literal 4/225 binary64) (pow.f64 x #s(literal 4 binary64)) (fma.f64 (*.f64 x x) #s(literal 2/45 binary64) #s(literal 1/9 binary64)))) (/.f64 #s(literal 1/27 binary64) (fma.f64 #s(literal 4/225 binary64) (pow.f64 x #s(literal 4 binary64)) (fma.f64 (*.f64 x x) #s(literal 2/45 binary64) #s(literal 1/9 binary64)))))
(-.f64 (*.f64 (*.f64 x x) #s(literal 2/15 binary64)) #s(literal 1/3 binary64))
(-.f64 #s(literal -1/3 binary64) (*.f64 (*.f64 (neg.f64 x) x) #s(literal 2/15 binary64)))
(-.f64 #s(literal -1/3 binary64) (*.f64 #s(literal -2/15 binary64) (*.f64 x x)))
(-.f64 #s(literal -1/3 binary64) (*.f64 (neg.f64 x) (*.f64 #s(literal 2/15 binary64) x)))
(+.f64 (/.f64 (pow.f64 (*.f64 (*.f64 x x) #s(literal 2/15 binary64)) #s(literal 3 binary64)) (fma.f64 #s(literal 4/225 binary64) (pow.f64 x #s(literal 4 binary64)) (-.f64 #s(literal 1/9 binary64) (*.f64 (*.f64 x x) #s(literal -2/45 binary64))))) (/.f64 #s(literal -1/27 binary64) (fma.f64 #s(literal 4/225 binary64) (pow.f64 x #s(literal 4 binary64)) (-.f64 #s(literal 1/9 binary64) (*.f64 (*.f64 x x) #s(literal -2/45 binary64))))))
(+.f64 (*.f64 (*.f64 x x) #s(literal 2/15 binary64)) #s(literal -1/3 binary64))
(+.f64 #s(literal -1/3 binary64) (*.f64 (*.f64 x x) #s(literal 2/15 binary64)))
#s(literal 2/15 binary64)
#s(approx (/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) x)
#s(approx (/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) (fma.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal -1/3 binary64) x))
#s(approx (/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) (fma.f64 (pow.f64 x #s(literal 3 binary64)) (fma.f64 (*.f64 x x) #s(literal 2/15 binary64) #s(literal -1/3 binary64)) x))
#s(approx (/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) (fma.f64 (pow.f64 x #s(literal 3 binary64)) (fma.f64 (*.f64 x x) (fma.f64 (*.f64 #s(literal -17/315 binary64) x) x #s(literal 2/15 binary64)) #s(literal -1/3 binary64)) x))
#s(approx (* (+ (* (* x x) -1/3) 1) x) x)
#s(approx (* (+ (* (* x x) -1/3) 1) x) (fma.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal -1/3 binary64) x))
#s(approx (+ (* (* x x) -1/3) 1) #s(literal 1 binary64))
#s(approx (+ (* (* x x) -1/3) 1) (fma.f64 (*.f64 x x) #s(literal -1/3 binary64) #s(literal 1 binary64)))
#s(approx (* x x) (*.f64 x x))
#s(approx x x)
#s(approx (+ (* (* (+ (* (* x x) 2/15) -1/3) x) (* x x)) x) x)
#s(approx (+ (* (* (+ (* (* x x) 2/15) -1/3) x) (* x x)) x) (fma.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal -1/3 binary64) x))
#s(approx (+ (* (* (+ (* (* x x) 2/15) -1/3) x) (* x x)) x) (fma.f64 (pow.f64 x #s(literal 3 binary64)) (fma.f64 (*.f64 x x) #s(literal 2/15 binary64) #s(literal -1/3 binary64)) x))
#s(approx (* (+ (* (* x x) 2/15) -1/3) x) (*.f64 #s(literal -1/3 binary64) x))
#s(approx (* (+ (* (* x x) 2/15) -1/3) x) (*.f64 (fma.f64 (*.f64 x x) #s(literal 2/15 binary64) #s(literal -1/3 binary64)) x))
#s(approx (+ (* (* x x) 2/15) -1/3) #s(literal -1/3 binary64))
#s(approx (+ (* (* x x) 2/15) -1/3) (fma.f64 (*.f64 x x) #s(literal 2/15 binary64) #s(literal -1/3 binary64)))
#s(approx (/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) (tanh.f64 x))
#s(approx (* (+ (* (* x x) -1/3) 1) x) (*.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal -1/3 binary64)))
#s(approx (* (+ (* (* x x) -1/3) 1) x) (*.f64 (-.f64 (pow.f64 x #s(literal -2 binary64)) #s(literal 1/3 binary64)) (pow.f64 x #s(literal 3 binary64))))
#s(approx (+ (* (* x x) -1/3) 1) (*.f64 (*.f64 #s(literal -1/3 binary64) x) x))
#s(approx (+ (* (* x x) -1/3) 1) (*.f64 (*.f64 (-.f64 (pow.f64 x #s(literal -2 binary64)) #s(literal 1/3 binary64)) x) x))
#s(approx (+ (* (* (+ (* (* x x) 2/15) -1/3) x) (* x x)) x) (*.f64 (pow.f64 x #s(literal 5 binary64)) #s(literal 2/15 binary64)))
#s(approx (+ (* (* (+ (* (* x x) 2/15) -1/3) x) (* x x)) x) (*.f64 (fma.f64 (pow.f64 x #s(literal -2 binary64)) #s(literal -1/3 binary64) #s(literal 2/15 binary64)) (pow.f64 x #s(literal 5 binary64))))
#s(approx (+ (* (* (+ (* (* x x) 2/15) -1/3) x) (* x x)) x) (*.f64 (fma.f64 (pow.f64 x #s(literal -2 binary64)) #s(literal -1/3 binary64) (+.f64 (pow.f64 x #s(literal -4 binary64)) #s(literal 2/15 binary64))) (pow.f64 x #s(literal 5 binary64))))
#s(approx (* (+ (* (* x x) 2/15) -1/3) x) (*.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal 2/15 binary64)))
#s(approx (* (+ (* (* x x) 2/15) -1/3) x) (*.f64 (fma.f64 (pow.f64 x #s(literal -2 binary64)) #s(literal -1/3 binary64) #s(literal 2/15 binary64)) (pow.f64 x #s(literal 3 binary64))))
#s(approx (+ (* (* x x) 2/15) -1/3) (*.f64 (*.f64 x x) #s(literal 2/15 binary64)))
#s(approx (+ (* (* x x) 2/15) -1/3) (*.f64 (*.f64 (fma.f64 (pow.f64 x #s(literal -2 binary64)) #s(literal -1/3 binary64) #s(literal 2/15 binary64)) x) x))
#s(approx (/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) (tanh.f64 x))
#s(approx (* (+ (* (* x x) -1/3) 1) x) (*.f64 (neg.f64 (-.f64 #s(literal 1/3 binary64) (pow.f64 x #s(literal -2 binary64)))) (pow.f64 x #s(literal 3 binary64))))
#s(approx (+ (* (* (+ (* (* x x) 2/15) -1/3) x) (* x x)) x) (*.f64 (neg.f64 (pow.f64 x #s(literal 5 binary64))) (-.f64 (*.f64 (pow.f64 x #s(literal -2 binary64)) #s(literal 1/3 binary64)) #s(literal 2/15 binary64))))
#s(approx (+ (* (* (+ (* (* x x) 2/15) -1/3) x) (* x x)) x) (*.f64 (neg.f64 (pow.f64 x #s(literal 5 binary64))) (-.f64 (-.f64 (*.f64 (pow.f64 x #s(literal -2 binary64)) #s(literal 1/3 binary64)) #s(literal 2/15 binary64)) (pow.f64 x #s(literal -4 binary64)))))
#s(approx (* (+ (* (* x x) 2/15) -1/3) x) (*.f64 (neg.f64 (-.f64 (*.f64 (pow.f64 x #s(literal -2 binary64)) #s(literal 1/3 binary64)) #s(literal 2/15 binary64))) (pow.f64 x #s(literal 3 binary64))))

eval36.0ms (0.7%)

Memory
-7.0MiB live, 43.2MiB allocated; 6ms collecting garbage
Compiler

Compiled 7 756 to 916 computations (88.2% saved)

prune8.0ms (0.1%)

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

4 alts after pruning (0 fresh and 4 done)

PrunedKeptTotal
New2530253
Fresh000
Picked022
Done022
Total2534257
Accuracy
100.0%
Counts
257 → 4
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
(tanh.f64 x)
98.2%
#s(approx (/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) (fma.f64 (*.f64 (fma.f64 (*.f64 x x) #s(literal 2/15 binary64) #s(literal -1/3 binary64)) x) (*.f64 x x) x))
97.9%
#s(approx (/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) (*.f64 (fma.f64 (*.f64 x x) #s(literal -1/3 binary64) #s(literal 1 binary64)) x))
97.6%
#s(approx (/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) x)
Compiler

Compiled 191 to 72 computations (62.3% saved)

regimes5.0ms (0.1%)

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

2 calls:

2.0ms
x
2.0ms
(/.f64 (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))
Results
AccuracySegmentsBranch
100.0%1(/.f64 (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))
100.0%1x
Compiler

Compiled 14 to 8 computations (42.9% saved)

regimes3.0ms (0.1%)

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

2 calls:

1.0ms
x
1.0ms
(/.f64 (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))
Results
AccuracySegmentsBranch
98.2%1(/.f64 (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))
98.2%1x
Compiler

Compiled 14 to 8 computations (42.9% saved)

regimes3.0ms (0.1%)

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

2 calls:

2.0ms
x
1.0ms
(/.f64 (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))
Results
AccuracySegmentsBranch
97.9%1(/.f64 (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))
97.9%1x
Compiler

Compiled 14 to 8 computations (42.9% saved)

regimes2.0ms (0%)

Memory
4.1MiB live, 4.1MiB 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 (neg x))) (+ (exp x) (exp (neg x)))) x)
Outputs
#s(approx (/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) x)
Calls

2 calls:

1.0ms
x
1.0ms
(/.f64 (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))
Results
AccuracySegmentsBranch
97.6%1(/.f64 (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))
97.6%1x
Compiler

Compiled 14 to 8 computations (42.9% saved)

simplify55.0ms (1%)

Memory
1.5MiB live, 47.8MiB allocated; 2ms collecting garbage
Iterations

Useful iterations: 4 (0.0ms)

IterNodesCost
02066
13466
27766
328566
4175354
Stop Event
node limit
Calls
Call 1
Inputs
(tanh.f64 x)
#s(approx (/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) (fma.f64 (*.f64 (fma.f64 (*.f64 x x) #s(literal 2/15 binary64) #s(literal -1/3 binary64)) x) (*.f64 x x) x))
#s(approx (/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) (*.f64 (fma.f64 (*.f64 x x) #s(literal -1/3 binary64) #s(literal 1 binary64)) x))
#s(approx (/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) x)
Outputs
(tanh.f64 x)
#s(approx (/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) (fma.f64 (*.f64 (fma.f64 (*.f64 x x) #s(literal 2/15 binary64) #s(literal -1/3 binary64)) x) (*.f64 x x) x))
#s(approx (/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) (*.f64 (fma.f64 (*.f64 x x) #s(literal -1/3 binary64) #s(literal 1 binary64)) x))
#s(approx (/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) x)

derivations123.0ms (2.2%)

Memory
-5.2MiB live, 90.5MiB allocated; 6ms collecting garbage
Stop Event
done
Compiler

Compiled 66 to 20 computations (69.7% saved)

preprocess28.0ms (0.5%)

Memory
39.4MiB live, 39.5MiB allocated; 0ms collecting garbage
Remove

(negabs x)

Compiler

Compiled 290 to 128 computations (55.9% saved)

end0.0ms (0%)

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

Profiling

Loading profile data...