Details

Time bar (total: 3.6s)

analyze7.0ms (0.2%)

Algorithm
search
Search
ProbabilityValidUnknownPreconditionInfiniteDomainCan'tIter
0%0%100%0%0%0%0%0
0%0%100%0%0%0%0%1
0%0%100%0%0%0%0%2
50%50%50%0%0%0%0%3
66.7%50%25%0%0%0%25%4
80%50%12.5%0%0%0%37.5%5
88.9%50%6.2%0%0%0%43.7%6
94.1%50%3.1%0%0%0%46.9%7
97%50%1.6%0%0%0%48.4%8
97%50%1.6%0%0%0%48.4%9
97.7%50.4%1.2%0%0%0%48.4%10
97.7%50.4%1.2%0%0%0%48.4%11
97.9%50.4%1.1%0%0%0%48.5%12
Compiler

Compiled 15 to 8 computations (46.7% saved)

sample2.8s (77.6%)

Results
1.9s4018×body1024valid
494.0ms2026×body512valid
205.0ms1810×body256valid
203.0ms402×body2048valid
0.0msbody256unsamplable
Bogosity

preprocess54.0ms (1.5%)

Algorithm
egg-herbie
Rules
720×fma-def_binary64
478×fma-neg_binary64
463×times-frac_binary64
381×associate-/r/_binary64
306×associate-/l/_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0822
12022
23522
35922
413322
533622
689122
7260122
8664122
011
Stop Event
saturated
node limit
Calls
Call 1
Inputs
0
Outputs
0
Call 2
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))))
Compiler

Compiled 15 to 8 computations (46.7% saved)

simplify45.0ms (1.2%)

Algorithm
egg-herbie
Rules
720×fma-def_binary64
478×fma-neg_binary64
463×times-frac_binary64
381×associate-/r/_binary64
306×associate-/l/_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0822
12022
23522
35922
413322
533622
689122
7260122
8664122
Stop Event
node limit
Counts
1 → 1
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))))

eval0.0ms (0%)

Compiler

Compiled 14 to 7 computations (50% saved)

prune1.0ms (0%)

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022
Error
58.1b
Counts
2 → 1
Alt Table
Click to see full alt table
StatusErrorProgram
58.1b
(/.f64 (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))
Compiler

Compiled 14 to 7 computations (50% saved)

localize11.0ms (0.3%)

Local error

Found 3 expressions with local error:

NewErrorProgram
0.0b
(+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))
0.7b
(/.f64 (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))
5.1b
(-.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))
Compiler

Compiled 34 to 7 computations (79.4% saved)

series4.0ms (0.1%)

Counts
3 → 32
Calls

9 calls:

TimeVariablePointExpression
1.0ms
x
@inf
(/.f64 (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))
1.0ms
x
@-inf
(/.f64 (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))
1.0ms
x
@0
(-.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))
0.0ms
x
@-inf
(-.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))
0.0ms
x
@0
(/.f64 (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))

rewrite63.0ms (1.7%)

Algorithm
egg-rewrite-iter-limit
egg-rewrite
batch-egg-rewrite
Rules
99×add-sqr-sqrt_binary64
99×add-sqr-sqrt_binary64
95×*-un-lft-identity_binary64
95×pow1_binary64
95×*-un-lft-identity_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0818
118618
2365218
066
11306
221886
066
083
11863
236523
083
066
11296
221506
066
Stop Event
iter limit
unsound
iter limit
unsound
iter limit
unsound
unsound
Counts
3 → 37
Calls
Call 1
Inputs
(-.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))
(/.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)))
Outputs
((#(struct:change #<rule egg-rr> (2) ((x +.f64 (exp.f64 x) (neg.f64 (exp.f64 (neg.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (*.f64 2 (sinh.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (cbrt.f64 (*.f64 2 (sinh.f64 x))) (cbrt.f64 (*.f64 2 (sinh.f64 x)))) (cbrt.f64 (*.f64 2 (sinh.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (*.f64 2 (sinh.f64 x))) (sqrt.f64 (*.f64 2 (sinh.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 2 (sinh.f64 x))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (pow.f64 (exp.f64 x) 3) (pow.f64 (exp.f64 (neg.f64 x)) 3)) (+.f64 (*.f64 (exp.f64 x) (exp.f64 x)) (+.f64 (*.f64 (exp.f64 (neg.f64 x)) (exp.f64 (neg.f64 x))) (*.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (*.f64 (exp.f64 x) (exp.f64 x)) (*.f64 (exp.f64 (neg.f64 x)) (exp.f64 (neg.f64 x)))) (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 2 (sinh.f64 x)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (*.f64 2 (sinh.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (*.f64 (*.f64 (*.f64 2 (sinh.f64 x)) (*.f64 2 (sinh.f64 x))) (*.f64 2 (sinh.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 2 (sinh.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 2 (sinh.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (*.f64 2 (sinh.f64 x))))))))
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (/.f64 (exp.f64 x) (*.f64 2 (cosh.f64 x))) (/.f64 (exp.f64 (neg.f64 x)) (*.f64 2 (cosh.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 2 (sinh.f64 x)) (/.f64 1 (*.f64 2 (cosh.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (tanh.f64 x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (cbrt.f64 (tanh.f64 x)) (cbrt.f64 (tanh.f64 x))) (cbrt.f64 (tanh.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (tanh.f64 x)) (sqrt.f64 (tanh.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (tanh.f64 x) 1)))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (tanh.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (*.f64 (*.f64 (tanh.f64 x) (tanh.f64 x)) (tanh.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (tanh.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (tanh.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (tanh.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x tanh.f64 x)))))
((#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (*.f64 2 (cosh.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (cbrt.f64 (*.f64 2 (cosh.f64 x))) (cbrt.f64 (*.f64 2 (cosh.f64 x)))) (cbrt.f64 (*.f64 2 (cosh.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (*.f64 2 (cosh.f64 x))) (sqrt.f64 (*.f64 2 (cosh.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 2 (cosh.f64 x))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 (exp.f64 x) 3) (pow.f64 (exp.f64 (neg.f64 x)) 3)) (+.f64 (*.f64 (exp.f64 x) (exp.f64 x)) (-.f64 (*.f64 (exp.f64 (neg.f64 x)) (exp.f64 (neg.f64 x))) (*.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (*.f64 (exp.f64 x) (exp.f64 x)) (*.f64 (exp.f64 (neg.f64 x)) (exp.f64 (neg.f64 x)))) (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 2 (cosh.f64 x)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (*.f64 2 (cosh.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (*.f64 (*.f64 (*.f64 2 (cosh.f64 x)) (*.f64 2 (cosh.f64 x))) (*.f64 2 (cosh.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 2 (cosh.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 2 (cosh.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (*.f64 2 (cosh.f64 x))))))))

simplify46.0ms (1.3%)

Algorithm
egg-herbie
Rules
618×times-frac_binary64
292×fma-def_binary64
282×associate-*l/_binary64
265×associate-*r/_binary64
257×div-sub_binary64
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
0142623
1358597
21369586
35740526
Stop Event
node limit
Counts
69 → 91
Calls
Call 1
Inputs
(*.f64 2 x)
(+.f64 (*.f64 2 x) (*.f64 1/3 (pow.f64 x 3)))
(+.f64 (*.f64 2 x) (+.f64 (*.f64 1/3 (pow.f64 x 3)) (*.f64 1/60 (pow.f64 x 5))))
(+.f64 (*.f64 2 x) (+.f64 (*.f64 1/3 (pow.f64 x 3)) (+.f64 (*.f64 1/2520 (pow.f64 x 7)) (*.f64 1/60 (pow.f64 x 5)))))
(-.f64 (exp.f64 x) (exp.f64 (*.f64 -1 x)))
(-.f64 (exp.f64 x) (exp.f64 (*.f64 -1 x)))
(-.f64 (exp.f64 x) (exp.f64 (*.f64 -1 x)))
(-.f64 (exp.f64 x) (exp.f64 (*.f64 -1 x)))
x
(+.f64 (*.f64 -1/3 (pow.f64 x 3)) x)
(+.f64 (*.f64 -1/3 (pow.f64 x 3)) (+.f64 (*.f64 2/15 (pow.f64 x 5)) x))
(+.f64 (*.f64 -17/315 (pow.f64 x 7)) (+.f64 (*.f64 -1/3 (pow.f64 x 3)) (+.f64 (*.f64 2/15 (pow.f64 x 5)) x)))
(/.f64 (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) (+.f64 (exp.f64 (neg.f64 x)) (exp.f64 x)))
(/.f64 (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) (+.f64 (exp.f64 (neg.f64 x)) (exp.f64 x)))
(/.f64 (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) (+.f64 (exp.f64 (neg.f64 x)) (exp.f64 x)))
(/.f64 (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) (+.f64 (exp.f64 (neg.f64 x)) (exp.f64 x)))
(/.f64 (-.f64 (exp.f64 x) (exp.f64 (*.f64 -1 x))) (+.f64 (exp.f64 x) (exp.f64 (*.f64 -1 x))))
(/.f64 (-.f64 (exp.f64 x) (exp.f64 (*.f64 -1 x))) (+.f64 (exp.f64 x) (exp.f64 (*.f64 -1 x))))
(/.f64 (-.f64 (exp.f64 x) (exp.f64 (*.f64 -1 x))) (+.f64 (exp.f64 x) (exp.f64 (*.f64 -1 x))))
(/.f64 (-.f64 (exp.f64 x) (exp.f64 (*.f64 -1 x))) (+.f64 (exp.f64 x) (exp.f64 (*.f64 -1 x))))
2
(+.f64 2 (pow.f64 x 2))
(+.f64 2 (+.f64 (pow.f64 x 2) (*.f64 1/12 (pow.f64 x 4))))
(+.f64 2 (+.f64 (*.f64 1/360 (pow.f64 x 6)) (+.f64 (pow.f64 x 2) (*.f64 1/12 (pow.f64 x 4)))))
(+.f64 (exp.f64 (neg.f64 x)) (exp.f64 x))
(+.f64 (exp.f64 (neg.f64 x)) (exp.f64 x))
(+.f64 (exp.f64 (neg.f64 x)) (exp.f64 x))
(+.f64 (exp.f64 (neg.f64 x)) (exp.f64 x))
(+.f64 (exp.f64 x) (exp.f64 (*.f64 -1 x)))
(+.f64 (exp.f64 x) (exp.f64 (*.f64 -1 x)))
(+.f64 (exp.f64 x) (exp.f64 (*.f64 -1 x)))
(+.f64 (exp.f64 x) (exp.f64 (*.f64 -1 x)))
(+.f64 (exp.f64 x) (neg.f64 (exp.f64 (neg.f64 x))))
(*.f64 1 (*.f64 2 (sinh.f64 x)))
(*.f64 (*.f64 (cbrt.f64 (*.f64 2 (sinh.f64 x))) (cbrt.f64 (*.f64 2 (sinh.f64 x)))) (cbrt.f64 (*.f64 2 (sinh.f64 x))))
(*.f64 (sqrt.f64 (*.f64 2 (sinh.f64 x))) (sqrt.f64 (*.f64 2 (sinh.f64 x))))
(*.f64 2 (sinh.f64 x))
(/.f64 (-.f64 (pow.f64 (exp.f64 x) 3) (pow.f64 (exp.f64 (neg.f64 x)) 3)) (+.f64 (*.f64 (exp.f64 x) (exp.f64 x)) (+.f64 (*.f64 (exp.f64 (neg.f64 x)) (exp.f64 (neg.f64 x))) (*.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))))
(/.f64 (-.f64 (*.f64 (exp.f64 x) (exp.f64 x)) (*.f64 (exp.f64 (neg.f64 x)) (exp.f64 (neg.f64 x)))) (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))
(pow.f64 (*.f64 2 (sinh.f64 x)) 1)
(log.f64 (exp.f64 (*.f64 2 (sinh.f64 x))))
(cbrt.f64 (*.f64 (*.f64 (*.f64 2 (sinh.f64 x)) (*.f64 2 (sinh.f64 x))) (*.f64 2 (sinh.f64 x))))
(expm1.f64 (log1p.f64 (*.f64 2 (sinh.f64 x))))
(log1p.f64 (expm1.f64 (*.f64 2 (sinh.f64 x))))
(exp.f64 (log.f64 (*.f64 2 (sinh.f64 x))))
(-.f64 (/.f64 (exp.f64 x) (*.f64 2 (cosh.f64 x))) (/.f64 (exp.f64 (neg.f64 x)) (*.f64 2 (cosh.f64 x))))
(*.f64 (*.f64 2 (sinh.f64 x)) (/.f64 1 (*.f64 2 (cosh.f64 x))))
(*.f64 1 (tanh.f64 x))
(*.f64 (*.f64 (cbrt.f64 (tanh.f64 x)) (cbrt.f64 (tanh.f64 x))) (cbrt.f64 (tanh.f64 x)))
(*.f64 (sqrt.f64 (tanh.f64 x)) (sqrt.f64 (tanh.f64 x)))
(pow.f64 (tanh.f64 x) 1)
(log.f64 (exp.f64 (tanh.f64 x)))
(cbrt.f64 (*.f64 (*.f64 (tanh.f64 x) (tanh.f64 x)) (tanh.f64 x)))
(expm1.f64 (log1p.f64 (tanh.f64 x)))
(log1p.f64 (expm1.f64 (tanh.f64 x)))
(exp.f64 (log.f64 (tanh.f64 x)))
(tanh.f64 x)
(*.f64 1 (*.f64 2 (cosh.f64 x)))
(*.f64 (*.f64 (cbrt.f64 (*.f64 2 (cosh.f64 x))) (cbrt.f64 (*.f64 2 (cosh.f64 x)))) (cbrt.f64 (*.f64 2 (cosh.f64 x))))
(*.f64 (sqrt.f64 (*.f64 2 (cosh.f64 x))) (sqrt.f64 (*.f64 2 (cosh.f64 x))))
(*.f64 2 (cosh.f64 x))
(/.f64 (+.f64 (pow.f64 (exp.f64 x) 3) (pow.f64 (exp.f64 (neg.f64 x)) 3)) (+.f64 (*.f64 (exp.f64 x) (exp.f64 x)) (-.f64 (*.f64 (exp.f64 (neg.f64 x)) (exp.f64 (neg.f64 x))) (*.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))))
(/.f64 (-.f64 (*.f64 (exp.f64 x) (exp.f64 x)) (*.f64 (exp.f64 (neg.f64 x)) (exp.f64 (neg.f64 x)))) (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))
(pow.f64 (*.f64 2 (cosh.f64 x)) 1)
(log.f64 (exp.f64 (*.f64 2 (cosh.f64 x))))
(cbrt.f64 (*.f64 (*.f64 (*.f64 2 (cosh.f64 x)) (*.f64 2 (cosh.f64 x))) (*.f64 2 (cosh.f64 x))))
(expm1.f64 (log1p.f64 (*.f64 2 (cosh.f64 x))))
(log1p.f64 (expm1.f64 (*.f64 2 (cosh.f64 x))))
(exp.f64 (log.f64 (*.f64 2 (cosh.f64 x))))
Outputs
(*.f64 2 x)
(+.f64 x x)
(+.f64 (*.f64 2 x) (*.f64 1/3 (pow.f64 x 3)))
(fma.f64 2 x (*.f64 1/3 (pow.f64 x 3)))
(fma.f64 1/3 (pow.f64 x 3) (+.f64 x x))
(+.f64 (*.f64 2 x) (+.f64 (*.f64 1/3 (pow.f64 x 3)) (*.f64 1/60 (pow.f64 x 5))))
(fma.f64 2 x (fma.f64 1/3 (pow.f64 x 3) (*.f64 1/60 (pow.f64 x 5))))
(fma.f64 1/60 (pow.f64 x 5) (fma.f64 1/3 (pow.f64 x 3) (+.f64 x x)))
(+.f64 (*.f64 2 x) (+.f64 (*.f64 1/3 (pow.f64 x 3)) (+.f64 (*.f64 1/2520 (pow.f64 x 7)) (*.f64 1/60 (pow.f64 x 5)))))
(fma.f64 2 x (fma.f64 1/3 (pow.f64 x 3) (fma.f64 1/2520 (pow.f64 x 7) (*.f64 1/60 (pow.f64 x 5)))))
(fma.f64 2 x (fma.f64 1/3 (pow.f64 x 3) (fma.f64 1/60 (pow.f64 x 5) (*.f64 1/2520 (pow.f64 x 7)))))
(fma.f64 2 x (fma.f64 1/60 (pow.f64 x 5) (fma.f64 1/3 (pow.f64 x 3) (*.f64 1/2520 (pow.f64 x 7)))))
(-.f64 (exp.f64 x) (exp.f64 (*.f64 -1 x)))
(-.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))
(*.f64 2 (sinh.f64 x))
(-.f64 (exp.f64 x) (exp.f64 (*.f64 -1 x)))
(-.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))
(*.f64 2 (sinh.f64 x))
(-.f64 (exp.f64 x) (exp.f64 (*.f64 -1 x)))
(-.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))
(*.f64 2 (sinh.f64 x))
(-.f64 (exp.f64 x) (exp.f64 (*.f64 -1 x)))
(-.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))
(*.f64 2 (sinh.f64 x))
x
(+.f64 (*.f64 -1/3 (pow.f64 x 3)) x)
(fma.f64 -1/3 (pow.f64 x 3) x)
(fma.f64 (pow.f64 x 3) -1/3 x)
(+.f64 (*.f64 -1/3 (pow.f64 x 3)) (+.f64 (*.f64 2/15 (pow.f64 x 5)) x))
(fma.f64 -1/3 (pow.f64 x 3) (fma.f64 2/15 (pow.f64 x 5) x))
(fma.f64 (pow.f64 x 3) -1/3 (fma.f64 (pow.f64 x 5) 2/15 x))
(fma.f64 (pow.f64 x 5) 2/15 (fma.f64 (pow.f64 x 3) -1/3 x))
(+.f64 (*.f64 -17/315 (pow.f64 x 7)) (+.f64 (*.f64 -1/3 (pow.f64 x 3)) (+.f64 (*.f64 2/15 (pow.f64 x 5)) x)))
(fma.f64 -17/315 (pow.f64 x 7) (fma.f64 -1/3 (pow.f64 x 3) (fma.f64 2/15 (pow.f64 x 5) x)))
(fma.f64 (pow.f64 x 7) -17/315 (fma.f64 (pow.f64 x 3) -1/3 (fma.f64 (pow.f64 x 5) 2/15 x)))
(fma.f64 (pow.f64 x 7) -17/315 (fma.f64 (pow.f64 x 5) 2/15 (fma.f64 (pow.f64 x 3) -1/3 x)))
(/.f64 (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) (+.f64 (exp.f64 (neg.f64 x)) (exp.f64 x)))
(tanh.f64 x)
(/.f64 (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) (+.f64 (exp.f64 (neg.f64 x)) (exp.f64 x)))
(tanh.f64 x)
(/.f64 (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) (+.f64 (exp.f64 (neg.f64 x)) (exp.f64 x)))
(tanh.f64 x)
(/.f64 (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) (+.f64 (exp.f64 (neg.f64 x)) (exp.f64 x)))
(tanh.f64 x)
(/.f64 (-.f64 (exp.f64 x) (exp.f64 (*.f64 -1 x))) (+.f64 (exp.f64 x) (exp.f64 (*.f64 -1 x))))
(tanh.f64 x)
(/.f64 (-.f64 (exp.f64 x) (exp.f64 (*.f64 -1 x))) (+.f64 (exp.f64 x) (exp.f64 (*.f64 -1 x))))
(tanh.f64 x)
(/.f64 (-.f64 (exp.f64 x) (exp.f64 (*.f64 -1 x))) (+.f64 (exp.f64 x) (exp.f64 (*.f64 -1 x))))
(tanh.f64 x)
(/.f64 (-.f64 (exp.f64 x) (exp.f64 (*.f64 -1 x))) (+.f64 (exp.f64 x) (exp.f64 (*.f64 -1 x))))
(tanh.f64 x)
2
(+.f64 2 (pow.f64 x 2))
(+.f64 2 (*.f64 x x))
(fma.f64 x x 2)
(+.f64 2 (+.f64 (pow.f64 x 2) (*.f64 1/12 (pow.f64 x 4))))
(+.f64 (+.f64 2 (*.f64 x x)) (*.f64 1/12 (pow.f64 x 4)))
(+.f64 2 (fma.f64 1/12 (pow.f64 x 4) (*.f64 x x)))
(fma.f64 x x (fma.f64 1/12 (pow.f64 x 4) 2))
(+.f64 2 (+.f64 (*.f64 1/360 (pow.f64 x 6)) (+.f64 (pow.f64 x 2) (*.f64 1/12 (pow.f64 x 4)))))
(+.f64 2 (fma.f64 1/360 (pow.f64 x 6) (+.f64 (*.f64 x x) (*.f64 1/12 (pow.f64 x 4)))))
(+.f64 2 (fma.f64 1/360 (pow.f64 x 6) (fma.f64 1/12 (pow.f64 x 4) (*.f64 x x))))
(fma.f64 1/360 (pow.f64 x 6) (fma.f64 x x (fma.f64 1/12 (pow.f64 x 4) 2)))
(+.f64 (exp.f64 (neg.f64 x)) (exp.f64 x))
(+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))
(+.f64 (exp.f64 (neg.f64 x)) (exp.f64 x))
(+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))
(+.f64 (exp.f64 (neg.f64 x)) (exp.f64 x))
(+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))
(+.f64 (exp.f64 (neg.f64 x)) (exp.f64 x))
(+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))
(+.f64 (exp.f64 x) (exp.f64 (*.f64 -1 x)))
(+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))
(+.f64 (exp.f64 x) (exp.f64 (*.f64 -1 x)))
(+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))
(+.f64 (exp.f64 x) (exp.f64 (*.f64 -1 x)))
(+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))
(+.f64 (exp.f64 x) (exp.f64 (*.f64 -1 x)))
(+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))
(+.f64 (exp.f64 x) (neg.f64 (exp.f64 (neg.f64 x))))
(-.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))
(*.f64 2 (sinh.f64 x))
(*.f64 1 (*.f64 2 (sinh.f64 x)))
(-.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))
(*.f64 2 (sinh.f64 x))
(*.f64 (*.f64 (cbrt.f64 (*.f64 2 (sinh.f64 x))) (cbrt.f64 (*.f64 2 (sinh.f64 x)))) (cbrt.f64 (*.f64 2 (sinh.f64 x))))
(-.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))
(*.f64 2 (sinh.f64 x))
(*.f64 (sqrt.f64 (*.f64 2 (sinh.f64 x))) (sqrt.f64 (*.f64 2 (sinh.f64 x))))
(-.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))
(*.f64 2 (sinh.f64 x))
(*.f64 2 (sinh.f64 x))
(-.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))
(/.f64 (-.f64 (pow.f64 (exp.f64 x) 3) (pow.f64 (exp.f64 (neg.f64 x)) 3)) (+.f64 (*.f64 (exp.f64 x) (exp.f64 x)) (+.f64 (*.f64 (exp.f64 (neg.f64 x)) (exp.f64 (neg.f64 x))) (*.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))))
(/.f64 (-.f64 (pow.f64 (exp.f64 x) 3) (pow.f64 (exp.f64 (neg.f64 x)) 3)) (+.f64 (exp.f64 (+.f64 x x)) (*.f64 (exp.f64 (neg.f64 x)) (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))))
(/.f64 (-.f64 (pow.f64 (exp.f64 x) 3) (pow.f64 (exp.f64 (neg.f64 x)) 3)) (+.f64 1 (+.f64 (pow.f64 (exp.f64 x) 2) (pow.f64 (exp.f64 -2) x))))
(/.f64 (-.f64 (pow.f64 (exp.f64 x) 3) (exp.f64 (*.f64 x -3))) (+.f64 1 (+.f64 (pow.f64 (exp.f64 x) 2) (pow.f64 (exp.f64 x) -2))))
(/.f64 (-.f64 (pow.f64 (exp.f64 x) 3) (pow.f64 (exp.f64 x) -3)) (+.f64 1 (+.f64 (pow.f64 (exp.f64 x) 2) (pow.f64 (exp.f64 x) -2))))
(/.f64 (-.f64 (*.f64 (exp.f64 x) (exp.f64 x)) (*.f64 (exp.f64 (neg.f64 x)) (exp.f64 (neg.f64 x)))) (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))
(/.f64 (-.f64 (exp.f64 (+.f64 x x)) (exp.f64 (+.f64 (neg.f64 x) (neg.f64 x)))) (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))
(/.f64 (-.f64 (pow.f64 (exp.f64 x) 2) (pow.f64 (exp.f64 -2) x)) (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))
(/.f64 (-.f64 (pow.f64 (exp.f64 x) 2) (pow.f64 (exp.f64 x) -2)) (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))
(pow.f64 (*.f64 2 (sinh.f64 x)) 1)
(-.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))
(*.f64 2 (sinh.f64 x))
(log.f64 (exp.f64 (*.f64 2 (sinh.f64 x))))
(-.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))
(*.f64 2 (sinh.f64 x))
(cbrt.f64 (*.f64 (*.f64 (*.f64 2 (sinh.f64 x)) (*.f64 2 (sinh.f64 x))) (*.f64 2 (sinh.f64 x))))
(-.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))
(*.f64 2 (sinh.f64 x))
(expm1.f64 (log1p.f64 (*.f64 2 (sinh.f64 x))))
(-.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))
(*.f64 2 (sinh.f64 x))
(log1p.f64 (expm1.f64 (*.f64 2 (sinh.f64 x))))
(-.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))
(*.f64 2 (sinh.f64 x))
(exp.f64 (log.f64 (*.f64 2 (sinh.f64 x))))
(-.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))
(*.f64 2 (sinh.f64 x))
(-.f64 (/.f64 (exp.f64 x) (*.f64 2 (cosh.f64 x))) (/.f64 (exp.f64 (neg.f64 x)) (*.f64 2 (cosh.f64 x))))
(tanh.f64 x)
(*.f64 (*.f64 2 (sinh.f64 x)) (/.f64 1 (*.f64 2 (cosh.f64 x))))
(tanh.f64 x)
(*.f64 1 (tanh.f64 x))
(tanh.f64 x)
(*.f64 (*.f64 (cbrt.f64 (tanh.f64 x)) (cbrt.f64 (tanh.f64 x))) (cbrt.f64 (tanh.f64 x)))
(tanh.f64 x)
(*.f64 (sqrt.f64 (tanh.f64 x)) (sqrt.f64 (tanh.f64 x)))
(tanh.f64 x)
(pow.f64 (tanh.f64 x) 1)
(tanh.f64 x)
(log.f64 (exp.f64 (tanh.f64 x)))
(tanh.f64 x)
(cbrt.f64 (*.f64 (*.f64 (tanh.f64 x) (tanh.f64 x)) (tanh.f64 x)))
(tanh.f64 x)
(expm1.f64 (log1p.f64 (tanh.f64 x)))
(tanh.f64 x)
(log1p.f64 (expm1.f64 (tanh.f64 x)))
(tanh.f64 x)
(exp.f64 (log.f64 (tanh.f64 x)))
(tanh.f64 x)
(tanh.f64 x)
(*.f64 1 (*.f64 2 (cosh.f64 x)))
(*.f64 2 (cosh.f64 x))
(*.f64 (*.f64 (cbrt.f64 (*.f64 2 (cosh.f64 x))) (cbrt.f64 (*.f64 2 (cosh.f64 x)))) (cbrt.f64 (*.f64 2 (cosh.f64 x))))
(*.f64 2 (cosh.f64 x))
(*.f64 (sqrt.f64 (*.f64 2 (cosh.f64 x))) (sqrt.f64 (*.f64 2 (cosh.f64 x))))
(*.f64 2 (cosh.f64 x))
(*.f64 2 (cosh.f64 x))
(/.f64 (+.f64 (pow.f64 (exp.f64 x) 3) (pow.f64 (exp.f64 (neg.f64 x)) 3)) (+.f64 (*.f64 (exp.f64 x) (exp.f64 x)) (-.f64 (*.f64 (exp.f64 (neg.f64 x)) (exp.f64 (neg.f64 x))) (*.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))))
(/.f64 (+.f64 (pow.f64 (exp.f64 x) 3) (pow.f64 (exp.f64 (neg.f64 x)) 3)) (+.f64 (exp.f64 (+.f64 x x)) (*.f64 (exp.f64 (neg.f64 x)) (-.f64 (exp.f64 (neg.f64 x)) (exp.f64 x)))))
(/.f64 (+.f64 (pow.f64 (exp.f64 x) 3) (pow.f64 (exp.f64 (neg.f64 x)) 3)) (+.f64 (pow.f64 (exp.f64 x) 2) (+.f64 -1 (pow.f64 (exp.f64 -2) x))))
(/.f64 (+.f64 (pow.f64 (exp.f64 x) 3) (exp.f64 (*.f64 x -3))) (+.f64 (pow.f64 (exp.f64 x) 2) (expm1.f64 (*.f64 x -2))))
(/.f64 (+.f64 (pow.f64 (exp.f64 x) 3) (pow.f64 (exp.f64 x) -3)) (+.f64 (pow.f64 (exp.f64 x) 2) (expm1.f64 (*.f64 x -2))))
(/.f64 (-.f64 (*.f64 (exp.f64 x) (exp.f64 x)) (*.f64 (exp.f64 (neg.f64 x)) (exp.f64 (neg.f64 x)))) (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))
(*.f64 2 (cosh.f64 x))
(pow.f64 (*.f64 2 (cosh.f64 x)) 1)
(*.f64 2 (cosh.f64 x))
(log.f64 (exp.f64 (*.f64 2 (cosh.f64 x))))
(*.f64 2 (cosh.f64 x))
(cbrt.f64 (*.f64 (*.f64 (*.f64 2 (cosh.f64 x)) (*.f64 2 (cosh.f64 x))) (*.f64 2 (cosh.f64 x))))
(*.f64 2 (cosh.f64 x))
(expm1.f64 (log1p.f64 (*.f64 2 (cosh.f64 x))))
(*.f64 2 (cosh.f64 x))
(log1p.f64 (expm1.f64 (*.f64 2 (cosh.f64 x))))
(*.f64 2 (cosh.f64 x))
(exp.f64 (log.f64 (*.f64 2 (cosh.f64 x))))
(*.f64 2 (cosh.f64 x))

eval28.0ms (0.8%)

Compiler

Compiled 1495 to 660 computations (55.9% saved)

prune11.0ms (0.3%)

Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New88391
Fresh000
Picked101
Done000
Total89392
Error
0b
Counts
92 → 3
Alt Table
Click to see full alt table
StatusErrorProgram
58.1b
(/.f64 (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) (*.f64 2 (cosh.f64 x)))
0.0b
(tanh.f64 x)
2.3b
x
Compiler

Compiled 17 to 12 computations (29.4% saved)

localize2.0ms (0.1%)

Local error

Found 1 expressions with local error:

NewErrorProgram
0.0b
(tanh.f64 x)
Compiler

Compiled 4 to 2 computations (50% saved)

series3.0ms (0.1%)

Counts
1 → 12
Calls

3 calls:

TimeVariablePointExpression
2.0ms
x
@-inf
(tanh.f64 x)
1.0ms
x
@inf
(tanh.f64 x)
0.0ms
x
@0
(tanh.f64 x)

rewrite34.0ms (0.9%)

Algorithm
batch-egg-rewrite
Rules
465×pow1_binary64
459×add-sqr-sqrt_binary64
450×*-un-lft-identity_binary64
437×add-log-exp_binary64
435×log1p-expm1-u_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
033
1753
210793
Stop Event
node limit
Counts
1 → 31
Calls
Call 1
Inputs
(tanh.f64 x)
Outputs
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (tanh.f64 x)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (/.f64 1 (+.f64 1 (exp.f64 (*.f64 x -2)))) (/.f64 (exp.f64 (*.f64 x -2)) (+.f64 1 (exp.f64 (*.f64 x -2)))))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (/.f64 (pow.f64 (exp.f64 2) x) (+.f64 1 (pow.f64 (exp.f64 2) x))) (/.f64 1 (+.f64 1 (pow.f64 (exp.f64 2) x))))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (/.f64 (exp.f64 x) (*.f64 2 (cosh.f64 x))) (/.f64 (exp.f64 (neg.f64 x)) (*.f64 2 (cosh.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (tanh.f64 x) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (tanh.f64 x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (tanh.f64 x)) (pow.f64 (cbrt.f64 (tanh.f64 x)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (tanh.f64 x)) 2) (cbrt.f64 (tanh.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (tanh.f64 x)) (sqrt.f64 (tanh.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (-.f64 1 (exp.f64 (*.f64 x -2))) (/.f64 1 (+.f64 1 (exp.f64 (*.f64 x -2)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (expm1.f64 (*.f64 x 2)) (/.f64 1 (+.f64 1 (pow.f64 (exp.f64 2) x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 2 (sinh.f64 x)) (/.f64 1 (*.f64 2 (cosh.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (+.f64 1 (exp.f64 (*.f64 x -2))) (-.f64 1 (exp.f64 (*.f64 x -2)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (+.f64 1 (pow.f64 (exp.f64 2) x)) (expm1.f64 (*.f64 x 2))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (*.f64 2 (cosh.f64 x)) (*.f64 2 (sinh.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 1 (exp.f64 (*.f64 x -2))) (+.f64 1 (exp.f64 (*.f64 x -2))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (expm1.f64 (*.f64 x 2)) (+.f64 1 (pow.f64 (exp.f64 2) x)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 2 (sinh.f64 x)) (*.f64 2 (cosh.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (-.f64 1 (exp.f64 (*.f64 x -2)))) (neg.f64 (+.f64 1 (exp.f64 (*.f64 x -2)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (expm1.f64 (*.f64 x 2))) (neg.f64 (+.f64 1 (pow.f64 (exp.f64 2) x))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (*.f64 2 (sinh.f64 x))) (neg.f64 (*.f64 2 (cosh.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (tanh.f64 x) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (tanh.f64 x) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (tanh.f64 x)) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (tanh.f64 x)) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (tanh.f64 x) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (tanh.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (tanh.f64 x) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (tanh.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (tanh.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (tanh.f64 x)))))))

simplify39.0ms (1.1%)

Algorithm
egg-herbie
Rules
536×log-prod_binary64
500×fma-neg_binary64
421×associate-*l*_binary64
410×associate-*r*_binary64
264×log-div_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0100163
1261163
2921163
35940163
Stop Event
node limit
Counts
43 → 41
Calls
Call 1
Inputs
x
(+.f64 (*.f64 -1/3 (pow.f64 x 3)) x)
(+.f64 (*.f64 -1/3 (pow.f64 x 3)) (+.f64 (*.f64 2/15 (pow.f64 x 5)) x))
(+.f64 (*.f64 -17/315 (pow.f64 x 7)) (+.f64 (*.f64 -1/3 (pow.f64 x 3)) (+.f64 (*.f64 2/15 (pow.f64 x 5)) x)))
(/.f64 (-.f64 (exp.f64 x) (/.f64 1 (exp.f64 x))) (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x)))
(/.f64 (-.f64 (exp.f64 x) (/.f64 1 (exp.f64 x))) (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x)))
(/.f64 (-.f64 (exp.f64 x) (/.f64 1 (exp.f64 x))) (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x)))
(/.f64 (-.f64 (exp.f64 x) (/.f64 1 (exp.f64 x))) (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x)))
(/.f64 (-.f64 (exp.f64 x) (/.f64 1 (exp.f64 x))) (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x)))
(/.f64 (-.f64 (exp.f64 x) (/.f64 1 (exp.f64 x))) (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x)))
(/.f64 (-.f64 (exp.f64 x) (/.f64 1 (exp.f64 x))) (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x)))
(/.f64 (-.f64 (exp.f64 x) (/.f64 1 (exp.f64 x))) (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x)))
(-.f64 (+.f64 1 (tanh.f64 x)) 1)
(-.f64 (/.f64 1 (+.f64 1 (exp.f64 (*.f64 x -2)))) (/.f64 (exp.f64 (*.f64 x -2)) (+.f64 1 (exp.f64 (*.f64 x -2)))))
(-.f64 (/.f64 (pow.f64 (exp.f64 2) x) (+.f64 1 (pow.f64 (exp.f64 2) x))) (/.f64 1 (+.f64 1 (pow.f64 (exp.f64 2) x))))
(-.f64 (/.f64 (exp.f64 x) (*.f64 2 (cosh.f64 x))) (/.f64 (exp.f64 (neg.f64 x)) (*.f64 2 (cosh.f64 x))))
(*.f64 (tanh.f64 x) 1)
(*.f64 1 (tanh.f64 x))
(*.f64 (cbrt.f64 (tanh.f64 x)) (pow.f64 (cbrt.f64 (tanh.f64 x)) 2))
(*.f64 (pow.f64 (cbrt.f64 (tanh.f64 x)) 2) (cbrt.f64 (tanh.f64 x)))
(*.f64 (sqrt.f64 (tanh.f64 x)) (sqrt.f64 (tanh.f64 x)))
(*.f64 (-.f64 1 (exp.f64 (*.f64 x -2))) (/.f64 1 (+.f64 1 (exp.f64 (*.f64 x -2)))))
(*.f64 (expm1.f64 (*.f64 x 2)) (/.f64 1 (+.f64 1 (pow.f64 (exp.f64 2) x))))
(*.f64 (*.f64 2 (sinh.f64 x)) (/.f64 1 (*.f64 2 (cosh.f64 x))))
(/.f64 1 (/.f64 (+.f64 1 (exp.f64 (*.f64 x -2))) (-.f64 1 (exp.f64 (*.f64 x -2)))))
(/.f64 1 (/.f64 (+.f64 1 (pow.f64 (exp.f64 2) x)) (expm1.f64 (*.f64 x 2))))
(/.f64 1 (/.f64 (*.f64 2 (cosh.f64 x)) (*.f64 2 (sinh.f64 x))))
(/.f64 (-.f64 1 (exp.f64 (*.f64 x -2))) (+.f64 1 (exp.f64 (*.f64 x -2))))
(/.f64 (expm1.f64 (*.f64 x 2)) (+.f64 1 (pow.f64 (exp.f64 2) x)))
(/.f64 (*.f64 2 (sinh.f64 x)) (*.f64 2 (cosh.f64 x)))
(/.f64 (neg.f64 (-.f64 1 (exp.f64 (*.f64 x -2)))) (neg.f64 (+.f64 1 (exp.f64 (*.f64 x -2)))))
(/.f64 (neg.f64 (expm1.f64 (*.f64 x 2))) (neg.f64 (+.f64 1 (pow.f64 (exp.f64 2) x))))
(/.f64 (neg.f64 (*.f64 2 (sinh.f64 x))) (neg.f64 (*.f64 2 (cosh.f64 x))))
(pow.f64 (tanh.f64 x) 1)
(pow.f64 (pow.f64 (tanh.f64 x) 3) 1/3)
(pow.f64 (cbrt.f64 (tanh.f64 x)) 3)
(pow.f64 (sqrt.f64 (tanh.f64 x)) 2)
(sqrt.f64 (pow.f64 (tanh.f64 x) 2))
(log.f64 (exp.f64 (tanh.f64 x)))
(cbrt.f64 (pow.f64 (tanh.f64 x) 3))
(expm1.f64 (log1p.f64 (tanh.f64 x)))
(log1p.f64 (expm1.f64 (tanh.f64 x)))
(exp.f64 (log.f64 (tanh.f64 x)))
Outputs
x
(+.f64 (*.f64 -1/3 (pow.f64 x 3)) x)
(fma.f64 -1/3 (pow.f64 x 3) x)
(+.f64 (*.f64 -1/3 (pow.f64 x 3)) (+.f64 (*.f64 2/15 (pow.f64 x 5)) x))
(fma.f64 -1/3 (pow.f64 x 3) (fma.f64 2/15 (pow.f64 x 5) x))
(+.f64 (*.f64 -17/315 (pow.f64 x 7)) (+.f64 (*.f64 -1/3 (pow.f64 x 3)) (+.f64 (*.f64 2/15 (pow.f64 x 5)) x)))
(fma.f64 -17/315 (pow.f64 x 7) (fma.f64 -1/3 (pow.f64 x 3) (fma.f64 2/15 (pow.f64 x 5) x)))
(fma.f64 -1/3 (pow.f64 x 3) (fma.f64 -17/315 (pow.f64 x 7) (fma.f64 2/15 (pow.f64 x 5) x)))
(/.f64 (-.f64 (exp.f64 x) (/.f64 1 (exp.f64 x))) (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x)))
(tanh.f64 x)
(/.f64 (-.f64 (exp.f64 x) (/.f64 1 (exp.f64 x))) (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x)))
(tanh.f64 x)
(/.f64 (-.f64 (exp.f64 x) (/.f64 1 (exp.f64 x))) (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x)))
(tanh.f64 x)
(/.f64 (-.f64 (exp.f64 x) (/.f64 1 (exp.f64 x))) (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x)))
(tanh.f64 x)
(/.f64 (-.f64 (exp.f64 x) (/.f64 1 (exp.f64 x))) (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x)))
(tanh.f64 x)
(/.f64 (-.f64 (exp.f64 x) (/.f64 1 (exp.f64 x))) (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x)))
(tanh.f64 x)
(/.f64 (-.f64 (exp.f64 x) (/.f64 1 (exp.f64 x))) (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x)))
(tanh.f64 x)
(/.f64 (-.f64 (exp.f64 x) (/.f64 1 (exp.f64 x))) (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x)))
(tanh.f64 x)
(-.f64 (+.f64 1 (tanh.f64 x)) 1)
(tanh.f64 x)
(-.f64 (/.f64 1 (+.f64 1 (exp.f64 (*.f64 x -2)))) (/.f64 (exp.f64 (*.f64 x -2)) (+.f64 1 (exp.f64 (*.f64 x -2)))))
(tanh.f64 x)
(-.f64 (/.f64 (pow.f64 (exp.f64 2) x) (+.f64 1 (pow.f64 (exp.f64 2) x))) (/.f64 1 (+.f64 1 (pow.f64 (exp.f64 2) x))))
(tanh.f64 x)
(-.f64 (/.f64 (exp.f64 x) (*.f64 2 (cosh.f64 x))) (/.f64 (exp.f64 (neg.f64 x)) (*.f64 2 (cosh.f64 x))))
(tanh.f64 x)
(*.f64 (tanh.f64 x) 1)
(tanh.f64 x)
(*.f64 1 (tanh.f64 x))
(tanh.f64 x)
(*.f64 (cbrt.f64 (tanh.f64 x)) (pow.f64 (cbrt.f64 (tanh.f64 x)) 2))
(tanh.f64 x)
(*.f64 (pow.f64 (cbrt.f64 (tanh.f64 x)) 2) (cbrt.f64 (tanh.f64 x)))
(tanh.f64 x)
(*.f64 (sqrt.f64 (tanh.f64 x)) (sqrt.f64 (tanh.f64 x)))
(tanh.f64 x)
(*.f64 (-.f64 1 (exp.f64 (*.f64 x -2))) (/.f64 1 (+.f64 1 (exp.f64 (*.f64 x -2)))))
(tanh.f64 x)
(*.f64 (expm1.f64 (*.f64 x 2)) (/.f64 1 (+.f64 1 (pow.f64 (exp.f64 2) x))))
(tanh.f64 x)
(*.f64 (*.f64 2 (sinh.f64 x)) (/.f64 1 (*.f64 2 (cosh.f64 x))))
(tanh.f64 x)
(/.f64 1 (/.f64 (+.f64 1 (exp.f64 (*.f64 x -2))) (-.f64 1 (exp.f64 (*.f64 x -2)))))
(tanh.f64 x)
(/.f64 1 (/.f64 (+.f64 1 (pow.f64 (exp.f64 2) x)) (expm1.f64 (*.f64 x 2))))
(tanh.f64 x)
(/.f64 1 (/.f64 (*.f64 2 (cosh.f64 x)) (*.f64 2 (sinh.f64 x))))
(tanh.f64 x)
(/.f64 (-.f64 1 (exp.f64 (*.f64 x -2))) (+.f64 1 (exp.f64 (*.f64 x -2))))
(tanh.f64 x)
(/.f64 (expm1.f64 (*.f64 x 2)) (+.f64 1 (pow.f64 (exp.f64 2) x)))
(tanh.f64 x)
(/.f64 (*.f64 2 (sinh.f64 x)) (*.f64 2 (cosh.f64 x)))
(tanh.f64 x)
(/.f64 (neg.f64 (-.f64 1 (exp.f64 (*.f64 x -2)))) (neg.f64 (+.f64 1 (exp.f64 (*.f64 x -2)))))
(tanh.f64 x)
(/.f64 (neg.f64 (expm1.f64 (*.f64 x 2))) (neg.f64 (+.f64 1 (pow.f64 (exp.f64 2) x))))
(tanh.f64 x)
(/.f64 (neg.f64 (*.f64 2 (sinh.f64 x))) (neg.f64 (*.f64 2 (cosh.f64 x))))
(tanh.f64 x)
(pow.f64 (tanh.f64 x) 1)
(tanh.f64 x)
(pow.f64 (pow.f64 (tanh.f64 x) 3) 1/3)
(tanh.f64 x)
(pow.f64 (cbrt.f64 (tanh.f64 x)) 3)
(tanh.f64 x)
(pow.f64 (sqrt.f64 (tanh.f64 x)) 2)
(tanh.f64 x)
(sqrt.f64 (pow.f64 (tanh.f64 x) 2))
(tanh.f64 x)
(log.f64 (exp.f64 (tanh.f64 x)))
(tanh.f64 x)
(cbrt.f64 (pow.f64 (tanh.f64 x) 3))
(tanh.f64 x)
(expm1.f64 (log1p.f64 (tanh.f64 x)))
(tanh.f64 x)
(log1p.f64 (expm1.f64 (tanh.f64 x)))
(tanh.f64 x)
(exp.f64 (log.f64 (tanh.f64 x)))
(tanh.f64 x)

localize12.0ms (0.3%)

Local error

Found 3 expressions with local error:

NewErrorProgram
0.0b
(cosh.f64 x)
0.7b
(/.f64 (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) (*.f64 2 (cosh.f64 x)))
5.1b
(-.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))
Compiler

Compiled 33 to 12 computations (63.6% saved)

series6.0ms (0.2%)

Counts
2 → 24
Calls

6 calls:

TimeVariablePointExpression
2.0ms
x
@0
(/.f64 (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) (*.f64 2 (cosh.f64 x)))
1.0ms
x
@-inf
(/.f64 (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) (*.f64 2 (cosh.f64 x)))
1.0ms
x
@inf
(/.f64 (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) (*.f64 2 (cosh.f64 x)))
0.0ms
x
@0
(cosh.f64 x)
0.0ms
x
@inf
(cosh.f64 x)

rewrite71.0ms (2%)

Algorithm
egg-rewrite-iter-limit
egg-rewrite
batch-egg-rewrite
Rules
315×pow1_binary64
308×add-sqr-sqrt_binary64
299×*-un-lft-identity_binary64
294×add-log-exp_binary64
293×log1p-expm1-u_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01028
122128
2400928
01014
122114
2400914
01014
033
1633
27813
033
Stop Event
iter limit
node limit
iter limit
unsound
unsound
Counts
2 → 21
Calls
Call 1
Inputs
(/.f64 (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) (*.f64 2 (cosh.f64 x)))
(cosh.f64 x)
Outputs
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (/.f64 (exp.f64 x) (*.f64 2 (cosh.f64 x))) (/.f64 (exp.f64 (neg.f64 x)) (*.f64 2 (cosh.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 2 (sinh.f64 x)) (/.f64 1 (*.f64 2 (cosh.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (/.f64 (*.f64 2 (sinh.f64 x)) (*.f64 2 (cosh.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (cbrt.f64 (/.f64 (*.f64 2 (sinh.f64 x)) (*.f64 2 (cosh.f64 x)))) (cbrt.f64 (/.f64 (*.f64 2 (sinh.f64 x)) (*.f64 2 (cosh.f64 x))))) (cbrt.f64 (/.f64 (*.f64 2 (sinh.f64 x)) (*.f64 2 (cosh.f64 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (/.f64 (*.f64 2 (sinh.f64 x)) (*.f64 2 (cosh.f64 x)))) (sqrt.f64 (/.f64 (*.f64 2 (sinh.f64 x)) (*.f64 2 (cosh.f64 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 (*.f64 2 (sinh.f64 x)) (*.f64 2 (cosh.f64 x))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (/.f64 (*.f64 2 (sinh.f64 x)) (*.f64 2 (cosh.f64 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (*.f64 (*.f64 (/.f64 (*.f64 2 (sinh.f64 x)) (*.f64 2 (cosh.f64 x))) (/.f64 (*.f64 2 (sinh.f64 x)) (*.f64 2 (cosh.f64 x)))) (/.f64 (*.f64 2 (sinh.f64 x)) (*.f64 2 (cosh.f64 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (/.f64 (*.f64 2 (sinh.f64 x)) (*.f64 2 (cosh.f64 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (/.f64 (*.f64 2 (sinh.f64 x)) (*.f64 2 (cosh.f64 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (/.f64 (*.f64 2 (sinh.f64 x)) (*.f64 2 (cosh.f64 x)))))))))
((#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (cosh.f64 x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (cbrt.f64 (cosh.f64 x)) (cbrt.f64 (cosh.f64 x))) (cbrt.f64 (cosh.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (cosh.f64 x)) (sqrt.f64 (cosh.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cosh.f64 x) 1)))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (cosh.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (*.f64 (*.f64 (cosh.f64 x) (cosh.f64 x)) (cosh.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (cosh.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (cosh.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (cosh.f64 x)))))))

simplify42.0ms (1.2%)

Algorithm
egg-herbie
Rules
656×fma-def_binary64
500×associate-*l*_binary64
407×associate-*r*_binary64
352×associate-*l/_binary64
314×associate-*r/_binary64
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
098694
1220692
2786484
35492482
Stop Event
node limit
Counts
45 → 51
Calls
Call 1
Inputs
x
(+.f64 (*.f64 -1/3 (pow.f64 x 3)) x)
(+.f64 (*.f64 -1/3 (pow.f64 x 3)) (+.f64 (*.f64 2/15 (pow.f64 x 5)) x))
(+.f64 (*.f64 -17/315 (pow.f64 x 7)) (+.f64 (*.f64 -1/3 (pow.f64 x 3)) (+.f64 (*.f64 2/15 (pow.f64 x 5)) x)))
(/.f64 (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x)))
(/.f64 (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x)))
(/.f64 (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x)))
(/.f64 (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x)))
(/.f64 (-.f64 (exp.f64 x) (exp.f64 (*.f64 -1 x))) (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x)))
(/.f64 (-.f64 (exp.f64 x) (exp.f64 (*.f64 -1 x))) (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x)))
(/.f64 (-.f64 (exp.f64 x) (exp.f64 (*.f64 -1 x))) (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x)))
(/.f64 (-.f64 (exp.f64 x) (exp.f64 (*.f64 -1 x))) (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x)))
1
(+.f64 1 (*.f64 1/2 (pow.f64 x 2)))
(+.f64 1 (+.f64 (*.f64 1/2 (pow.f64 x 2)) (*.f64 1/24 (pow.f64 x 4))))
(+.f64 1 (+.f64 (*.f64 1/2 (pow.f64 x 2)) (+.f64 (*.f64 1/24 (pow.f64 x 4)) (*.f64 1/720 (pow.f64 x 6)))))
(*.f64 1/2 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x)))
(*.f64 1/2 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x)))
(*.f64 1/2 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x)))
(*.f64 1/2 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x)))
(*.f64 1/2 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x)))
(*.f64 1/2 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x)))
(*.f64 1/2 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x)))
(*.f64 1/2 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x)))
(-.f64 (/.f64 (exp.f64 x) (*.f64 2 (cosh.f64 x))) (/.f64 (exp.f64 (neg.f64 x)) (*.f64 2 (cosh.f64 x))))
(*.f64 (*.f64 2 (sinh.f64 x)) (/.f64 1 (*.f64 2 (cosh.f64 x))))
(*.f64 1 (/.f64 (*.f64 2 (sinh.f64 x)) (*.f64 2 (cosh.f64 x))))
(*.f64 (*.f64 (cbrt.f64 (/.f64 (*.f64 2 (sinh.f64 x)) (*.f64 2 (cosh.f64 x)))) (cbrt.f64 (/.f64 (*.f64 2 (sinh.f64 x)) (*.f64 2 (cosh.f64 x))))) (cbrt.f64 (/.f64 (*.f64 2 (sinh.f64 x)) (*.f64 2 (cosh.f64 x)))))
(*.f64 (sqrt.f64 (/.f64 (*.f64 2 (sinh.f64 x)) (*.f64 2 (cosh.f64 x)))) (sqrt.f64 (/.f64 (*.f64 2 (sinh.f64 x)) (*.f64 2 (cosh.f64 x)))))
(pow.f64 (/.f64 (*.f64 2 (sinh.f64 x)) (*.f64 2 (cosh.f64 x))) 1)
(log.f64 (exp.f64 (/.f64 (*.f64 2 (sinh.f64 x)) (*.f64 2 (cosh.f64 x)))))
(cbrt.f64 (*.f64 (*.f64 (/.f64 (*.f64 2 (sinh.f64 x)) (*.f64 2 (cosh.f64 x))) (/.f64 (*.f64 2 (sinh.f64 x)) (*.f64 2 (cosh.f64 x)))) (/.f64 (*.f64 2 (sinh.f64 x)) (*.f64 2 (cosh.f64 x)))))
(expm1.f64 (log1p.f64 (/.f64 (*.f64 2 (sinh.f64 x)) (*.f64 2 (cosh.f64 x)))))
(log1p.f64 (expm1.f64 (/.f64 (*.f64 2 (sinh.f64 x)) (*.f64 2 (cosh.f64 x)))))
(exp.f64 (log.f64 (/.f64 (*.f64 2 (sinh.f64 x)) (*.f64 2 (cosh.f64 x)))))
(*.f64 1 (cosh.f64 x))
(*.f64 (*.f64 (cbrt.f64 (cosh.f64 x)) (cbrt.f64 (cosh.f64 x))) (cbrt.f64 (cosh.f64 x)))
(*.f64 (sqrt.f64 (cosh.f64 x)) (sqrt.f64 (cosh.f64 x)))
(/.f64 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) 2)
(pow.f64 (cosh.f64 x) 1)
(log.f64 (exp.f64 (cosh.f64 x)))
(cbrt.f64 (*.f64 (*.f64 (cosh.f64 x) (cosh.f64 x)) (cosh.f64 x)))
(expm1.f64 (log1p.f64 (cosh.f64 x)))
(log1p.f64 (expm1.f64 (cosh.f64 x)))
(exp.f64 (log.f64 (cosh.f64 x)))
Outputs
x
(+.f64 (*.f64 -1/3 (pow.f64 x 3)) x)
(fma.f64 -1/3 (pow.f64 x 3) x)
(+.f64 (*.f64 -1/3 (pow.f64 x 3)) (+.f64 (*.f64 2/15 (pow.f64 x 5)) x))
(fma.f64 -1/3 (pow.f64 x 3) (fma.f64 2/15 (pow.f64 x 5) x))
(+.f64 (*.f64 -17/315 (pow.f64 x 7)) (+.f64 (*.f64 -1/3 (pow.f64 x 3)) (+.f64 (*.f64 2/15 (pow.f64 x 5)) x)))
(fma.f64 -17/315 (pow.f64 x 7) (fma.f64 -1/3 (pow.f64 x 3) (fma.f64 2/15 (pow.f64 x 5) x)))
(fma.f64 -1/3 (pow.f64 x 3) (fma.f64 -17/315 (pow.f64 x 7) (fma.f64 2/15 (pow.f64 x 5) x)))
(fma.f64 -1/3 (pow.f64 x 3) (fma.f64 2/15 (pow.f64 x 5) (fma.f64 -17/315 (pow.f64 x 7) x)))
(/.f64 (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x)))
(/.f64 (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))
(/.f64 (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x)))
(/.f64 (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))
(/.f64 (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x)))
(/.f64 (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))
(/.f64 (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x)))
(/.f64 (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))
(/.f64 (-.f64 (exp.f64 x) (exp.f64 (*.f64 -1 x))) (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x)))
(/.f64 (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))
(/.f64 (-.f64 (exp.f64 x) (exp.f64 (*.f64 -1 x))) (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x)))
(/.f64 (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))
(/.f64 (-.f64 (exp.f64 x) (exp.f64 (*.f64 -1 x))) (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x)))
(/.f64 (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))
(/.f64 (-.f64 (exp.f64 x) (exp.f64 (*.f64 -1 x))) (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x)))
(/.f64 (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))
1
(+.f64 1 (*.f64 1/2 (pow.f64 x 2)))
(+.f64 1 (*.f64 1/2 (*.f64 x x)))
(fma.f64 1/2 (*.f64 x x) 1)
(fma.f64 x (*.f64 x 1/2) 1)
(+.f64 1 (+.f64 (*.f64 1/2 (pow.f64 x 2)) (*.f64 1/24 (pow.f64 x 4))))
(+.f64 1 (fma.f64 1/2 (*.f64 x x) (*.f64 1/24 (pow.f64 x 4))))
(fma.f64 1/24 (pow.f64 x 4) (fma.f64 x (*.f64 x 1/2) 1))
(fma.f64 (*.f64 x x) (fma.f64 x (*.f64 x 1/24) 1/2) 1)
(+.f64 1 (+.f64 (*.f64 1/2 (pow.f64 x 2)) (+.f64 (*.f64 1/24 (pow.f64 x 4)) (*.f64 1/720 (pow.f64 x 6)))))
(+.f64 1 (fma.f64 1/2 (*.f64 x x) (fma.f64 1/24 (pow.f64 x 4) (*.f64 1/720 (pow.f64 x 6)))))
(+.f64 1 (fma.f64 1/24 (pow.f64 x 4) (fma.f64 1/720 (pow.f64 x 6) (*.f64 x (*.f64 x 1/2)))))
(fma.f64 (*.f64 x x) (fma.f64 x (*.f64 x 1/24) 1/2) (fma.f64 1/720 (pow.f64 x 6) 1))
(*.f64 1/2 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x)))
(*.f64 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) 1/2)
(fma.f64 (exp.f64 x) 1/2 (/.f64 1/2 (exp.f64 x)))
(*.f64 1/2 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x)))
(*.f64 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) 1/2)
(fma.f64 (exp.f64 x) 1/2 (/.f64 1/2 (exp.f64 x)))
(*.f64 1/2 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x)))
(*.f64 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) 1/2)
(fma.f64 (exp.f64 x) 1/2 (/.f64 1/2 (exp.f64 x)))
(*.f64 1/2 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x)))
(*.f64 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) 1/2)
(fma.f64 (exp.f64 x) 1/2 (/.f64 1/2 (exp.f64 x)))
(*.f64 1/2 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x)))
(*.f64 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) 1/2)
(fma.f64 (exp.f64 x) 1/2 (/.f64 1/2 (exp.f64 x)))
(*.f64 1/2 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x)))
(*.f64 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) 1/2)
(fma.f64 (exp.f64 x) 1/2 (/.f64 1/2 (exp.f64 x)))
(*.f64 1/2 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x)))
(*.f64 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) 1/2)
(fma.f64 (exp.f64 x) 1/2 (/.f64 1/2 (exp.f64 x)))
(*.f64 1/2 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x)))
(*.f64 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) 1/2)
(fma.f64 (exp.f64 x) 1/2 (/.f64 1/2 (exp.f64 x)))
(-.f64 (/.f64 (exp.f64 x) (*.f64 2 (cosh.f64 x))) (/.f64 (exp.f64 (neg.f64 x)) (*.f64 2 (cosh.f64 x))))
(/.f64 (sinh.f64 x) (cosh.f64 x))
(*.f64 (*.f64 2 (sinh.f64 x)) (/.f64 1 (*.f64 2 (cosh.f64 x))))
(-.f64 (/.f64 (exp.f64 x) (*.f64 2 (cosh.f64 x))) (/.f64 (exp.f64 (neg.f64 x)) (*.f64 2 (cosh.f64 x))))
(/.f64 (sinh.f64 x) (cosh.f64 x))
(*.f64 1 (/.f64 (*.f64 2 (sinh.f64 x)) (*.f64 2 (cosh.f64 x))))
(-.f64 (/.f64 (exp.f64 x) (*.f64 2 (cosh.f64 x))) (/.f64 (exp.f64 (neg.f64 x)) (*.f64 2 (cosh.f64 x))))
(/.f64 (sinh.f64 x) (cosh.f64 x))
(*.f64 (*.f64 (cbrt.f64 (/.f64 (*.f64 2 (sinh.f64 x)) (*.f64 2 (cosh.f64 x)))) (cbrt.f64 (/.f64 (*.f64 2 (sinh.f64 x)) (*.f64 2 (cosh.f64 x))))) (cbrt.f64 (/.f64 (*.f64 2 (sinh.f64 x)) (*.f64 2 (cosh.f64 x)))))
(-.f64 (/.f64 (exp.f64 x) (*.f64 2 (cosh.f64 x))) (/.f64 (exp.f64 (neg.f64 x)) (*.f64 2 (cosh.f64 x))))
(/.f64 (sinh.f64 x) (cosh.f64 x))
(*.f64 (sqrt.f64 (/.f64 (*.f64 2 (sinh.f64 x)) (*.f64 2 (cosh.f64 x)))) (sqrt.f64 (/.f64 (*.f64 2 (sinh.f64 x)) (*.f64 2 (cosh.f64 x)))))
(-.f64 (/.f64 (exp.f64 x) (*.f64 2 (cosh.f64 x))) (/.f64 (exp.f64 (neg.f64 x)) (*.f64 2 (cosh.f64 x))))
(/.f64 (sinh.f64 x) (cosh.f64 x))
(pow.f64 (/.f64 (*.f64 2 (sinh.f64 x)) (*.f64 2 (cosh.f64 x))) 1)
(-.f64 (/.f64 (exp.f64 x) (*.f64 2 (cosh.f64 x))) (/.f64 (exp.f64 (neg.f64 x)) (*.f64 2 (cosh.f64 x))))
(/.f64 (sinh.f64 x) (cosh.f64 x))
(log.f64 (exp.f64 (/.f64 (*.f64 2 (sinh.f64 x)) (*.f64 2 (cosh.f64 x)))))
(-.f64 (/.f64 (exp.f64 x) (*.f64 2 (cosh.f64 x))) (/.f64 (exp.f64 (neg.f64 x)) (*.f64 2 (cosh.f64 x))))
(/.f64 (sinh.f64 x) (cosh.f64 x))
(cbrt.f64 (*.f64 (*.f64 (/.f64 (*.f64 2 (sinh.f64 x)) (*.f64 2 (cosh.f64 x))) (/.f64 (*.f64 2 (sinh.f64 x)) (*.f64 2 (cosh.f64 x)))) (/.f64 (*.f64 2 (sinh.f64 x)) (*.f64 2 (cosh.f64 x)))))
(-.f64 (/.f64 (exp.f64 x) (*.f64 2 (cosh.f64 x))) (/.f64 (exp.f64 (neg.f64 x)) (*.f64 2 (cosh.f64 x))))
(/.f64 (sinh.f64 x) (cosh.f64 x))
(expm1.f64 (log1p.f64 (/.f64 (*.f64 2 (sinh.f64 x)) (*.f64 2 (cosh.f64 x)))))
(-.f64 (/.f64 (exp.f64 x) (*.f64 2 (cosh.f64 x))) (/.f64 (exp.f64 (neg.f64 x)) (*.f64 2 (cosh.f64 x))))
(/.f64 (sinh.f64 x) (cosh.f64 x))
(log1p.f64 (expm1.f64 (/.f64 (*.f64 2 (sinh.f64 x)) (*.f64 2 (cosh.f64 x)))))
(-.f64 (/.f64 (exp.f64 x) (*.f64 2 (cosh.f64 x))) (/.f64 (exp.f64 (neg.f64 x)) (*.f64 2 (cosh.f64 x))))
(/.f64 (sinh.f64 x) (cosh.f64 x))
(exp.f64 (log.f64 (/.f64 (*.f64 2 (sinh.f64 x)) (*.f64 2 (cosh.f64 x)))))
(-.f64 (/.f64 (exp.f64 x) (*.f64 2 (cosh.f64 x))) (/.f64 (exp.f64 (neg.f64 x)) (*.f64 2 (cosh.f64 x))))
(/.f64 (sinh.f64 x) (cosh.f64 x))
(*.f64 1 (cosh.f64 x))
(cosh.f64 x)
(*.f64 (*.f64 (cbrt.f64 (cosh.f64 x)) (cbrt.f64 (cosh.f64 x))) (cbrt.f64 (cosh.f64 x)))
(cosh.f64 x)
(*.f64 (sqrt.f64 (cosh.f64 x)) (sqrt.f64 (cosh.f64 x)))
(cosh.f64 x)
(/.f64 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) 2)
(cosh.f64 x)
(pow.f64 (cosh.f64 x) 1)
(cosh.f64 x)
(log.f64 (exp.f64 (cosh.f64 x)))
(cosh.f64 x)
(cbrt.f64 (*.f64 (*.f64 (cosh.f64 x) (cosh.f64 x)) (cosh.f64 x)))
(cosh.f64 x)
(expm1.f64 (log1p.f64 (cosh.f64 x)))
(cosh.f64 x)
(log1p.f64 (expm1.f64 (cosh.f64 x)))
(cosh.f64 x)
(exp.f64 (log.f64 (cosh.f64 x)))
(cosh.f64 x)

eval34.0ms (0.9%)

Compiler

Compiled 1809 to 1048 computations (42.1% saved)

prune14.0ms (0.4%)

Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New1251126
Fresh011
Picked101
Done011
Total1263129
Error
0b
Counts
129 → 3
Alt Table
Click to see full alt table
StatusErrorProgram
57.3b
(-.f64 (+.f64 1 (tanh.f64 x)) 1)
0.0b
(tanh.f64 x)
2.3b
x
Compiler

Compiled 12 to 9 computations (25% saved)

localize7.0ms (0.2%)

Local error

Found 3 expressions with local error:

NewErrorProgram
0.0b
(tanh.f64 x)
0.2b
(+.f64 1 (tanh.f64 x))
5.1b
(-.f64 (+.f64 1 (tanh.f64 x)) 1)
Compiler

Compiled 15 to 9 computations (40% saved)

series2.0ms (0.1%)

Counts
2 → 24
Calls

6 calls:

TimeVariablePointExpression
1.0ms
x
@inf
(+.f64 1 (tanh.f64 x))
0.0ms
x
@-inf
(+.f64 1 (tanh.f64 x))
0.0ms
x
@0
(-.f64 (+.f64 1 (tanh.f64 x)) 1)
0.0ms
x
@inf
(-.f64 (+.f64 1 (tanh.f64 x)) 1)
0.0ms
x
@0
(+.f64 1 (tanh.f64 x))

rewrite48.0ms (1.3%)

Algorithm
batch-egg-rewrite
Rules
845×pow1_binary64
798×add-log-exp_binary64
795×log1p-expm1-u_binary64
795×expm1-log1p-u_binary64
785×add-exp-log_binary64
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
0615
11519
222989
Stop Event
node limit
Counts
2 → 84
Calls
Call 1
Inputs
(-.f64 (+.f64 1 (tanh.f64 x)) 1)
(+.f64 1 (tanh.f64 x))
Outputs
((#(struct:change #<rule egg-rr> (2) ((x +.f64 1 (+.f64 (tanh.f64 x) -1))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 1 (*.f64 (+.f64 (tanh.f64 x) -1) 1))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (tanh.f64 x) 0)))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (+.f64 1 (tanh.f64 x)) -1)))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 -1 (+.f64 1 (tanh.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (+.f64 (tanh.f64 x) -1) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (tanh.f64 x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (tanh.f64 x) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (tanh.f64 x)) (pow.f64 (cbrt.f64 (tanh.f64 x)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (tanh.f64 x)) 2) (cbrt.f64 (tanh.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (tanh.f64 x)) (sqrt.f64 (tanh.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (-.f64 1 (pow.f64 (exp.f64 -2) x)) (/.f64 1 (+.f64 1 (pow.f64 (exp.f64 -2) x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (expm1.f64 (*.f64 x 2)) (/.f64 1 (+.f64 1 (exp.f64 (*.f64 x 2)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 2 (sinh.f64 x)) (/.f64 1 (*.f64 2 (cosh.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 (pow.f64 (+.f64 1 (tanh.f64 x)) 3) -1) (/.f64 1 (+.f64 (pow.f64 (+.f64 1 (tanh.f64 x)) 2) (+.f64 (tanh.f64 x) 2))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (+.f64 (tanh.f64 x) 2) (tanh.f64 x)) (/.f64 1 (+.f64 (tanh.f64 x) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 (sqrt.f64 (+.f64 1 (tanh.f64 x))) 1) (-.f64 (sqrt.f64 (+.f64 1 (tanh.f64 x))) 1))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (+.f64 (pow.f64 (+.f64 1 (tanh.f64 x)) 2) (+.f64 (tanh.f64 x) 2)) (+.f64 (pow.f64 (+.f64 1 (tanh.f64 x)) 3) -1)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (+.f64 (tanh.f64 x) 2) (*.f64 (+.f64 (tanh.f64 x) 2) (tanh.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (+.f64 1 (pow.f64 (exp.f64 -2) x)) (-.f64 1 (pow.f64 (exp.f64 -2) x))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (+.f64 1 (exp.f64 (*.f64 x 2))) (expm1.f64 (*.f64 x 2))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (*.f64 2 (cosh.f64 x)) (*.f64 2 (sinh.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 1 (pow.f64 (exp.f64 -2) x)) (+.f64 1 (pow.f64 (exp.f64 -2) x)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (expm1.f64 (*.f64 x 2)) (+.f64 1 (exp.f64 (*.f64 x 2))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 2 (sinh.f64 x)) (*.f64 2 (cosh.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 (+.f64 1 (tanh.f64 x)) 3) -1) (+.f64 (pow.f64 (+.f64 1 (tanh.f64 x)) 2) (+.f64 (tanh.f64 x) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 (+.f64 1 (tanh.f64 x)) 3) -1) (+.f64 (pow.f64 (+.f64 1 (tanh.f64 x)) 2) (-.f64 1 (*.f64 (+.f64 1 (tanh.f64 x)) -1))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (+.f64 (tanh.f64 x) 2) (tanh.f64 x)) (+.f64 (tanh.f64 x) 2))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (+.f64 (tanh.f64 x) 2) (tanh.f64 x)) (-.f64 (+.f64 1 (tanh.f64 x)) -1))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (+.f64 (pow.f64 (+.f64 1 (tanh.f64 x)) 3) -1)) (neg.f64 (+.f64 (pow.f64 (+.f64 1 (tanh.f64 x)) 2) (+.f64 (tanh.f64 x) 2))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (*.f64 (+.f64 (tanh.f64 x) 2) (tanh.f64 x))) (neg.f64 (+.f64 (tanh.f64 x) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (-.f64 1 (pow.f64 (exp.f64 -2) x))) (neg.f64 (+.f64 1 (pow.f64 (exp.f64 -2) x))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (expm1.f64 (*.f64 x 2))) (neg.f64 (+.f64 1 (exp.f64 (*.f64 x 2)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (*.f64 2 (sinh.f64 x))) (neg.f64 (*.f64 2 (cosh.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 1 (pow.f64 (+.f64 (tanh.f64 x) -1) 3)) (+.f64 1 (-.f64 (*.f64 (+.f64 (tanh.f64 x) -1) (+.f64 (tanh.f64 x) -1)) (+.f64 (tanh.f64 x) -1))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 1 (*.f64 (+.f64 (tanh.f64 x) -1) (+.f64 (tanh.f64 x) -1))) (-.f64 1 (+.f64 (tanh.f64 x) -1)))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (tanh.f64 x) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (tanh.f64 x)) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (tanh.f64 x)) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (tanh.f64 x) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (tanh.f64 x) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (tanh.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (tanh.f64 x) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (tanh.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (tanh.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (tanh.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (+.f64 1 (tanh.f64 x)) -1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 (+.f64 1 (tanh.f64 x))) 2) (cbrt.f64 (+.f64 1 (tanh.f64 x))) -1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 (+.f64 1 (tanh.f64 x))) (sqrt.f64 (+.f64 1 (tanh.f64 x))) -1)))) (#(struct:change #<rule egg-rr> (2) ((x tanh.f64 x)))))
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 (tanh.f64 x) 2) 1)))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (/.f64 1 (-.f64 1 (tanh.f64 x))) (/.f64 (pow.f64 (tanh.f64 x) 2) (-.f64 1 (tanh.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (+.f64 1 (tanh.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 1 (tanh.f64 x)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (+.f64 1 (tanh.f64 x))) (pow.f64 (cbrt.f64 (+.f64 1 (tanh.f64 x))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (+.f64 1 (tanh.f64 x))) 2) (cbrt.f64 (+.f64 1 (tanh.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (+.f64 1 (tanh.f64 x))) 2) (*.f64 (cbrt.f64 (+.f64 1 (tanh.f64 x))) 1))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (+.f64 1 (tanh.f64 x))) (sqrt.f64 (+.f64 1 (tanh.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (+.f64 1 (tanh.f64 x))) (*.f64 (sqrt.f64 (+.f64 1 (tanh.f64 x))) 1))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 1 (pow.f64 (tanh.f64 x) 3)) (/.f64 1 (+.f64 1 (-.f64 (pow.f64 (tanh.f64 x) 2) (tanh.f64 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (-.f64 1 (pow.f64 (tanh.f64 x) 2)) (/.f64 1 (-.f64 1 (tanh.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (+.f64 1 (-.f64 (pow.f64 (tanh.f64 x) 2) (tanh.f64 x))) (+.f64 1 (pow.f64 (tanh.f64 x) 3))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (-.f64 1 (tanh.f64 x)) (-.f64 1 (pow.f64 (tanh.f64 x) 2))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 1 (pow.f64 (tanh.f64 x) 3)) (+.f64 1 (-.f64 (pow.f64 (tanh.f64 x) 2) (tanh.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 1 (pow.f64 (tanh.f64 x) 3)) (+.f64 (pow.f64 (tanh.f64 x) 2) (-.f64 1 (tanh.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 1 (pow.f64 (tanh.f64 x) 2)) (-.f64 1 (tanh.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (+.f64 1 (pow.f64 (tanh.f64 x) 3))) (neg.f64 (+.f64 1 (-.f64 (pow.f64 (tanh.f64 x) 2) (tanh.f64 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (-.f64 1 (pow.f64 (tanh.f64 x) 2))) (neg.f64 (-.f64 1 (tanh.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (pow.f64 (tanh.f64 x) 2) 1) (+.f64 (tanh.f64 x) -1))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (+.f64 1 (pow.f64 (tanh.f64 x) 3)) 1) (+.f64 1 (-.f64 (pow.f64 (tanh.f64 x) 2) (tanh.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (-.f64 1 (pow.f64 (tanh.f64 x) 2)) 1) (-.f64 1 (tanh.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (+.f64 1 (tanh.f64 x)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (+.f64 1 (tanh.f64 x))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (+.f64 1 (tanh.f64 x))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (+.f64 1 (tanh.f64 x)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (+.f64 1 (tanh.f64 x)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (+.f64 1 (tanh.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (+.f64 1 (tanh.f64 x)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log.f64 (+.f64 (tanh.f64 x) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (+.f64 1 (tanh.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log1p.f64 (tanh.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (tanh.f64 x) 1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 (tanh.f64 x)) 2) (cbrt.f64 (tanh.f64 x)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 (tanh.f64 x)) (sqrt.f64 (tanh.f64 x)) 1)))))

simplify59.0ms (1.6%)

Algorithm
egg-herbie
Rules
601×fma-neg_binary64
384×div-sub_binary64
300×unswap-sqr_binary64
274×associate-/r/_binary64
251×associate-/l/_binary64
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
02121826
1542915
22488915
Stop Event
node limit
Counts
108 → 113
Calls
Call 1
Inputs
x
(+.f64 (*.f64 -1/3 (pow.f64 x 3)) x)
(+.f64 (*.f64 -1/3 (pow.f64 x 3)) (+.f64 (*.f64 2/15 (pow.f64 x 5)) x))
(+.f64 (*.f64 -17/315 (pow.f64 x 7)) (+.f64 (*.f64 -1/3 (pow.f64 x 3)) (+.f64 (*.f64 2/15 (pow.f64 x 5)) x)))
(/.f64 (-.f64 (exp.f64 x) (/.f64 1 (exp.f64 x))) (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x)))
(/.f64 (-.f64 (exp.f64 x) (/.f64 1 (exp.f64 x))) (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x)))
(/.f64 (-.f64 (exp.f64 x) (/.f64 1 (exp.f64 x))) (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x)))
(/.f64 (-.f64 (exp.f64 x) (/.f64 1 (exp.f64 x))) (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x)))
(/.f64 (-.f64 (exp.f64 x) (/.f64 1 (exp.f64 x))) (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x)))
(/.f64 (-.f64 (exp.f64 x) (/.f64 1 (exp.f64 x))) (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x)))
(/.f64 (-.f64 (exp.f64 x) (/.f64 1 (exp.f64 x))) (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x)))
(/.f64 (-.f64 (exp.f64 x) (/.f64 1 (exp.f64 x))) (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x)))
1
(+.f64 1 x)
(+.f64 1 (+.f64 (*.f64 -1/3 (pow.f64 x 3)) x))
(+.f64 1 (+.f64 (*.f64 -1/3 (pow.f64 x 3)) (+.f64 x (*.f64 2/15 (pow.f64 x 5)))))
(-.f64 (+.f64 1 (/.f64 (exp.f64 x) (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x)))) (/.f64 1 (*.f64 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x)) (exp.f64 x))))
(-.f64 (+.f64 1 (/.f64 (exp.f64 x) (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x)))) (/.f64 1 (*.f64 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x)) (exp.f64 x))))
(-.f64 (+.f64 1 (/.f64 (exp.f64 x) (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x)))) (/.f64 1 (*.f64 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x)) (exp.f64 x))))
(-.f64 (+.f64 1 (/.f64 (exp.f64 x) (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x)))) (/.f64 1 (*.f64 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x)) (exp.f64 x))))
(-.f64 (+.f64 1 (/.f64 (exp.f64 x) (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x)))) (/.f64 1 (*.f64 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x)) (exp.f64 x))))
(-.f64 (+.f64 1 (/.f64 (exp.f64 x) (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x)))) (/.f64 1 (*.f64 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x)) (exp.f64 x))))
(-.f64 (+.f64 1 (/.f64 (exp.f64 x) (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x)))) (/.f64 1 (*.f64 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x)) (exp.f64 x))))
(-.f64 (+.f64 1 (/.f64 (exp.f64 x) (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x)))) (/.f64 1 (*.f64 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x)) (exp.f64 x))))
(+.f64 1 (+.f64 (tanh.f64 x) -1))
(+.f64 1 (*.f64 (+.f64 (tanh.f64 x) -1) 1))
(+.f64 (tanh.f64 x) 0)
(+.f64 (+.f64 1 (tanh.f64 x)) -1)
(+.f64 -1 (+.f64 1 (tanh.f64 x)))
(+.f64 (+.f64 (tanh.f64 x) -1) 1)
(*.f64 1 (tanh.f64 x))
(*.f64 (tanh.f64 x) 1)
(*.f64 (cbrt.f64 (tanh.f64 x)) (pow.f64 (cbrt.f64 (tanh.f64 x)) 2))
(*.f64 (pow.f64 (cbrt.f64 (tanh.f64 x)) 2) (cbrt.f64 (tanh.f64 x)))
(*.f64 (sqrt.f64 (tanh.f64 x)) (sqrt.f64 (tanh.f64 x)))
(*.f64 (-.f64 1 (pow.f64 (exp.f64 -2) x)) (/.f64 1 (+.f64 1 (pow.f64 (exp.f64 -2) x))))
(*.f64 (expm1.f64 (*.f64 x 2)) (/.f64 1 (+.f64 1 (exp.f64 (*.f64 x 2)))))
(*.f64 (*.f64 2 (sinh.f64 x)) (/.f64 1 (*.f64 2 (cosh.f64 x))))
(*.f64 (+.f64 (pow.f64 (+.f64 1 (tanh.f64 x)) 3) -1) (/.f64 1 (+.f64 (pow.f64 (+.f64 1 (tanh.f64 x)) 2) (+.f64 (tanh.f64 x) 2))))
(*.f64 (*.f64 (+.f64 (tanh.f64 x) 2) (tanh.f64 x)) (/.f64 1 (+.f64 (tanh.f64 x) 2)))
(*.f64 (+.f64 (sqrt.f64 (+.f64 1 (tanh.f64 x))) 1) (-.f64 (sqrt.f64 (+.f64 1 (tanh.f64 x))) 1))
(/.f64 1 (/.f64 (+.f64 (pow.f64 (+.f64 1 (tanh.f64 x)) 2) (+.f64 (tanh.f64 x) 2)) (+.f64 (pow.f64 (+.f64 1 (tanh.f64 x)) 3) -1)))
(/.f64 1 (/.f64 (+.f64 (tanh.f64 x) 2) (*.f64 (+.f64 (tanh.f64 x) 2) (tanh.f64 x))))
(/.f64 1 (/.f64 (+.f64 1 (pow.f64 (exp.f64 -2) x)) (-.f64 1 (pow.f64 (exp.f64 -2) x))))
(/.f64 1 (/.f64 (+.f64 1 (exp.f64 (*.f64 x 2))) (expm1.f64 (*.f64 x 2))))
(/.f64 1 (/.f64 (*.f64 2 (cosh.f64 x)) (*.f64 2 (sinh.f64 x))))
(/.f64 (-.f64 1 (pow.f64 (exp.f64 -2) x)) (+.f64 1 (pow.f64 (exp.f64 -2) x)))
(/.f64 (expm1.f64 (*.f64 x 2)) (+.f64 1 (exp.f64 (*.f64 x 2))))
(/.f64 (*.f64 2 (sinh.f64 x)) (*.f64 2 (cosh.f64 x)))
(/.f64 (+.f64 (pow.f64 (+.f64 1 (tanh.f64 x)) 3) -1) (+.f64 (pow.f64 (+.f64 1 (tanh.f64 x)) 2) (+.f64 (tanh.f64 x) 2)))
(/.f64 (+.f64 (pow.f64 (+.f64 1 (tanh.f64 x)) 3) -1) (+.f64 (pow.f64 (+.f64 1 (tanh.f64 x)) 2) (-.f64 1 (*.f64 (+.f64 1 (tanh.f64 x)) -1))))
(/.f64 (*.f64 (+.f64 (tanh.f64 x) 2) (tanh.f64 x)) (+.f64 (tanh.f64 x) 2))
(/.f64 (*.f64 (+.f64 (tanh.f64 x) 2) (tanh.f64 x)) (-.f64 (+.f64 1 (tanh.f64 x)) -1))
(/.f64 (neg.f64 (+.f64 (pow.f64 (+.f64 1 (tanh.f64 x)) 3) -1)) (neg.f64 (+.f64 (pow.f64 (+.f64 1 (tanh.f64 x)) 2) (+.f64 (tanh.f64 x) 2))))
(/.f64 (neg.f64 (*.f64 (+.f64 (tanh.f64 x) 2) (tanh.f64 x))) (neg.f64 (+.f64 (tanh.f64 x) 2)))
(/.f64 (neg.f64 (-.f64 1 (pow.f64 (exp.f64 -2) x))) (neg.f64 (+.f64 1 (pow.f64 (exp.f64 -2) x))))
(/.f64 (neg.f64 (expm1.f64 (*.f64 x 2))) (neg.f64 (+.f64 1 (exp.f64 (*.f64 x 2)))))
(/.f64 (neg.f64 (*.f64 2 (sinh.f64 x))) (neg.f64 (*.f64 2 (cosh.f64 x))))
(/.f64 (+.f64 1 (pow.f64 (+.f64 (tanh.f64 x) -1) 3)) (+.f64 1 (-.f64 (*.f64 (+.f64 (tanh.f64 x) -1) (+.f64 (tanh.f64 x) -1)) (+.f64 (tanh.f64 x) -1))))
(/.f64 (-.f64 1 (*.f64 (+.f64 (tanh.f64 x) -1) (+.f64 (tanh.f64 x) -1))) (-.f64 1 (+.f64 (tanh.f64 x) -1)))
(pow.f64 (tanh.f64 x) 1)
(pow.f64 (cbrt.f64 (tanh.f64 x)) 3)
(pow.f64 (sqrt.f64 (tanh.f64 x)) 2)
(pow.f64 (pow.f64 (tanh.f64 x) 3) 1/3)
(sqrt.f64 (pow.f64 (tanh.f64 x) 2))
(log.f64 (exp.f64 (tanh.f64 x)))
(cbrt.f64 (pow.f64 (tanh.f64 x) 3))
(expm1.f64 (log1p.f64 (tanh.f64 x)))
(log1p.f64 (expm1.f64 (tanh.f64 x)))
(exp.f64 (log.f64 (tanh.f64 x)))
(fma.f64 1 (+.f64 1 (tanh.f64 x)) -1)
(fma.f64 (pow.f64 (cbrt.f64 (+.f64 1 (tanh.f64 x))) 2) (cbrt.f64 (+.f64 1 (tanh.f64 x))) -1)
(fma.f64 (sqrt.f64 (+.f64 1 (tanh.f64 x))) (sqrt.f64 (+.f64 1 (tanh.f64 x))) -1)
(tanh.f64 x)
(-.f64 (+.f64 (tanh.f64 x) 2) 1)
(-.f64 (/.f64 1 (-.f64 1 (tanh.f64 x))) (/.f64 (pow.f64 (tanh.f64 x) 2) (-.f64 1 (tanh.f64 x))))
(*.f64 1 (+.f64 1 (tanh.f64 x)))
(*.f64 (+.f64 1 (tanh.f64 x)) 1)
(*.f64 (cbrt.f64 (+.f64 1 (tanh.f64 x))) (pow.f64 (cbrt.f64 (+.f64 1 (tanh.f64 x))) 2))
(*.f64 (pow.f64 (cbrt.f64 (+.f64 1 (tanh.f64 x))) 2) (cbrt.f64 (+.f64 1 (tanh.f64 x))))
(*.f64 (pow.f64 (cbrt.f64 (+.f64 1 (tanh.f64 x))) 2) (*.f64 (cbrt.f64 (+.f64 1 (tanh.f64 x))) 1))
(*.f64 (sqrt.f64 (+.f64 1 (tanh.f64 x))) (sqrt.f64 (+.f64 1 (tanh.f64 x))))
(*.f64 (sqrt.f64 (+.f64 1 (tanh.f64 x))) (*.f64 (sqrt.f64 (+.f64 1 (tanh.f64 x))) 1))
(*.f64 (+.f64 1 (pow.f64 (tanh.f64 x) 3)) (/.f64 1 (+.f64 1 (-.f64 (pow.f64 (tanh.f64 x) 2) (tanh.f64 x)))))
(*.f64 (-.f64 1 (pow.f64 (tanh.f64 x) 2)) (/.f64 1 (-.f64 1 (tanh.f64 x))))
(/.f64 1 (/.f64 (+.f64 1 (-.f64 (pow.f64 (tanh.f64 x) 2) (tanh.f64 x))) (+.f64 1 (pow.f64 (tanh.f64 x) 3))))
(/.f64 1 (/.f64 (-.f64 1 (tanh.f64 x)) (-.f64 1 (pow.f64 (tanh.f64 x) 2))))
(/.f64 (+.f64 1 (pow.f64 (tanh.f64 x) 3)) (+.f64 1 (-.f64 (pow.f64 (tanh.f64 x) 2) (tanh.f64 x))))
(/.f64 (+.f64 1 (pow.f64 (tanh.f64 x) 3)) (+.f64 (pow.f64 (tanh.f64 x) 2) (-.f64 1 (tanh.f64 x))))
(/.f64 (-.f64 1 (pow.f64 (tanh.f64 x) 2)) (-.f64 1 (tanh.f64 x)))
(/.f64 (neg.f64 (+.f64 1 (pow.f64 (tanh.f64 x) 3))) (neg.f64 (+.f64 1 (-.f64 (pow.f64 (tanh.f64 x) 2) (tanh.f64 x)))))
(/.f64 (neg.f64 (-.f64 1 (pow.f64 (tanh.f64 x) 2))) (neg.f64 (-.f64 1 (tanh.f64 x))))
(/.f64 (-.f64 (pow.f64 (tanh.f64 x) 2) 1) (+.f64 (tanh.f64 x) -1))
(/.f64 (*.f64 (+.f64 1 (pow.f64 (tanh.f64 x) 3)) 1) (+.f64 1 (-.f64 (pow.f64 (tanh.f64 x) 2) (tanh.f64 x))))
(/.f64 (*.f64 (-.f64 1 (pow.f64 (tanh.f64 x) 2)) 1) (-.f64 1 (tanh.f64 x)))
(pow.f64 (+.f64 1 (tanh.f64 x)) 1)
(pow.f64 (cbrt.f64 (+.f64 1 (tanh.f64 x))) 3)
(pow.f64 (sqrt.f64 (+.f64 1 (tanh.f64 x))) 2)
(pow.f64 (pow.f64 (+.f64 1 (tanh.f64 x)) 3) 1/3)
(sqrt.f64 (pow.f64 (+.f64 1 (tanh.f64 x)) 2))
(log.f64 (exp.f64 (+.f64 1 (tanh.f64 x))))
(cbrt.f64 (pow.f64 (+.f64 1 (tanh.f64 x)) 3))
(expm1.f64 (log.f64 (+.f64 (tanh.f64 x) 2)))
(log1p.f64 (expm1.f64 (+.f64 1 (tanh.f64 x))))
(exp.f64 (log1p.f64 (tanh.f64 x)))
(fma.f64 1 (tanh.f64 x) 1)
(fma.f64 (pow.f64 (cbrt.f64 (tanh.f64 x)) 2) (cbrt.f64 (tanh.f64 x)) 1)
(fma.f64 (sqrt.f64 (tanh.f64 x)) (sqrt.f64 (tanh.f64 x)) 1)
Outputs
x
(+.f64 (*.f64 -1/3 (pow.f64 x 3)) x)
(fma.f64 -1/3 (pow.f64 x 3) x)
(+.f64 (*.f64 -1/3 (pow.f64 x 3)) (+.f64 (*.f64 2/15 (pow.f64 x 5)) x))
(fma.f64 -1/3 (pow.f64 x 3) (fma.f64 2/15 (pow.f64 x 5) x))
(+.f64 (*.f64 -17/315 (pow.f64 x 7)) (+.f64 (*.f64 -1/3 (pow.f64 x 3)) (+.f64 (*.f64 2/15 (pow.f64 x 5)) x)))
(fma.f64 -17/315 (pow.f64 x 7) (fma.f64 -1/3 (pow.f64 x 3) (fma.f64 2/15 (pow.f64 x 5) x)))
(/.f64 (-.f64 (exp.f64 x) (/.f64 1 (exp.f64 x))) (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x)))
(tanh.f64 x)
(/.f64 (-.f64 (exp.f64 x) (/.f64 1 (exp.f64 x))) (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x)))
(tanh.f64 x)
(/.f64 (-.f64 (exp.f64 x) (/.f64 1 (exp.f64 x))) (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x)))
(tanh.f64 x)
(/.f64 (-.f64 (exp.f64 x) (/.f64 1 (exp.f64 x))) (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x)))
(tanh.f64 x)
(/.f64 (-.f64 (exp.f64 x) (/.f64 1 (exp.f64 x))) (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x)))
(tanh.f64 x)
(/.f64 (-.f64 (exp.f64 x) (/.f64 1 (exp.f64 x))) (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x)))
(tanh.f64 x)
(/.f64 (-.f64 (exp.f64 x) (/.f64 1 (exp.f64 x))) (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x)))
(tanh.f64 x)
(/.f64 (-.f64 (exp.f64 x) (/.f64 1 (exp.f64 x))) (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x)))
(tanh.f64 x)
1
(+.f64 1 x)
(+.f64 x 1)
(+.f64 1 (+.f64 (*.f64 -1/3 (pow.f64 x 3)) x))
(+.f64 (fma.f64 -1/3 (pow.f64 x 3) x) 1)
(+.f64 1 (+.f64 (*.f64 -1/3 (pow.f64 x 3)) (+.f64 x (*.f64 2/15 (pow.f64 x 5)))))
(+.f64 (fma.f64 -1/3 (pow.f64 x 3) (fma.f64 2/15 (pow.f64 x 5) x)) 1)
(-.f64 (+.f64 1 (/.f64 (exp.f64 x) (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x)))) (/.f64 1 (*.f64 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x)) (exp.f64 x))))
(+.f64 1 (-.f64 (/.f64 (exp.f64 x) (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))) (/.f64 1 (*.f64 (exp.f64 x) (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))))))
(+.f64 1 (tanh.f64 x))
(-.f64 (+.f64 1 (/.f64 (exp.f64 x) (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x)))) (/.f64 1 (*.f64 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x)) (exp.f64 x))))
(+.f64 1 (-.f64 (/.f64 (exp.f64 x) (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))) (/.f64 1 (*.f64 (exp.f64 x) (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))))))
(+.f64 1 (tanh.f64 x))
(-.f64 (+.f64 1 (/.f64 (exp.f64 x) (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x)))) (/.f64 1 (*.f64 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x)) (exp.f64 x))))
(+.f64 1 (-.f64 (/.f64 (exp.f64 x) (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))) (/.f64 1 (*.f64 (exp.f64 x) (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))))))
(+.f64 1 (tanh.f64 x))
(-.f64 (+.f64 1 (/.f64 (exp.f64 x) (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x)))) (/.f64 1 (*.f64 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x)) (exp.f64 x))))
(+.f64 1 (-.f64 (/.f64 (exp.f64 x) (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))) (/.f64 1 (*.f64 (exp.f64 x) (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))))))
(+.f64 1 (tanh.f64 x))
(-.f64 (+.f64 1 (/.f64 (exp.f64 x) (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x)))) (/.f64 1 (*.f64 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x)) (exp.f64 x))))
(+.f64 1 (-.f64 (/.f64 (exp.f64 x) (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))) (/.f64 1 (*.f64 (exp.f64 x) (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))))))
(+.f64 1 (tanh.f64 x))
(-.f64 (+.f64 1 (/.f64 (exp.f64 x) (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x)))) (/.f64 1 (*.f64 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x)) (exp.f64 x))))
(+.f64 1 (-.f64 (/.f64 (exp.f64 x) (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))) (/.f64 1 (*.f64 (exp.f64 x) (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))))))
(+.f64 1 (tanh.f64 x))
(-.f64 (+.f64 1 (/.f64 (exp.f64 x) (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x)))) (/.f64 1 (*.f64 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x)) (exp.f64 x))))
(+.f64 1 (-.f64 (/.f64 (exp.f64 x) (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))) (/.f64 1 (*.f64 (exp.f64 x) (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))))))
(+.f64 1 (tanh.f64 x))
(-.f64 (+.f64 1 (/.f64 (exp.f64 x) (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x)))) (/.f64 1 (*.f64 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x)) (exp.f64 x))))
(+.f64 1 (-.f64 (/.f64 (exp.f64 x) (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))) (/.f64 1 (*.f64 (exp.f64 x) (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))))))
(+.f64 1 (tanh.f64 x))
(+.f64 1 (+.f64 (tanh.f64 x) -1))
(tanh.f64 x)
(+.f64 1 (*.f64 (+.f64 (tanh.f64 x) -1) 1))
(tanh.f64 x)
(+.f64 (tanh.f64 x) 0)
(tanh.f64 x)
(+.f64 (+.f64 1 (tanh.f64 x)) -1)
(tanh.f64 x)
(+.f64 -1 (+.f64 1 (tanh.f64 x)))
(tanh.f64 x)
(+.f64 (+.f64 (tanh.f64 x) -1) 1)
(tanh.f64 x)
(*.f64 1 (tanh.f64 x))
(tanh.f64 x)
(*.f64 (tanh.f64 x) 1)
(tanh.f64 x)
(*.f64 (cbrt.f64 (tanh.f64 x)) (pow.f64 (cbrt.f64 (tanh.f64 x)) 2))
(tanh.f64 x)
(*.f64 (pow.f64 (cbrt.f64 (tanh.f64 x)) 2) (cbrt.f64 (tanh.f64 x)))
(tanh.f64 x)
(*.f64 (sqrt.f64 (tanh.f64 x)) (sqrt.f64 (tanh.f64 x)))
(tanh.f64 x)
(*.f64 (-.f64 1 (pow.f64 (exp.f64 -2) x)) (/.f64 1 (+.f64 1 (pow.f64 (exp.f64 -2) x))))
(tanh.f64 x)
(*.f64 (expm1.f64 (*.f64 x 2)) (/.f64 1 (+.f64 1 (exp.f64 (*.f64 x 2)))))
(tanh.f64 x)
(*.f64 (*.f64 2 (sinh.f64 x)) (/.f64 1 (*.f64 2 (cosh.f64 x))))
(*.f64 (*.f64 2 (sinh.f64 x)) (/.f64 1/2 (cosh.f64 x)))
(/.f64 (sinh.f64 x) (cosh.f64 x))
(*.f64 (+.f64 (pow.f64 (+.f64 1 (tanh.f64 x)) 3) -1) (/.f64 1 (+.f64 (pow.f64 (+.f64 1 (tanh.f64 x)) 2) (+.f64 (tanh.f64 x) 2))))
(*.f64 (+.f64 -1 (pow.f64 (+.f64 1 (tanh.f64 x)) 3)) (/.f64 1 (+.f64 (pow.f64 (+.f64 1 (tanh.f64 x)) 2) (+.f64 (tanh.f64 x) 2))))
(/.f64 (+.f64 -1 (pow.f64 (+.f64 1 (tanh.f64 x)) 3)) (+.f64 (tanh.f64 x) (+.f64 2 (pow.f64 (+.f64 1 (tanh.f64 x)) 2))))
(/.f64 (+.f64 -1 (pow.f64 (+.f64 1 (tanh.f64 x)) 3)) (+.f64 1 (*.f64 (+.f64 1 (tanh.f64 x)) (+.f64 (tanh.f64 x) 2))))
(*.f64 (*.f64 (+.f64 (tanh.f64 x) 2) (tanh.f64 x)) (/.f64 1 (+.f64 (tanh.f64 x) 2)))
(tanh.f64 x)
(*.f64 (+.f64 (sqrt.f64 (+.f64 1 (tanh.f64 x))) 1) (-.f64 (sqrt.f64 (+.f64 1 (tanh.f64 x))) 1))
(tanh.f64 x)
(/.f64 1 (/.f64 (+.f64 (pow.f64 (+.f64 1 (tanh.f64 x)) 2) (+.f64 (tanh.f64 x) 2)) (+.f64 (pow.f64 (+.f64 1 (tanh.f64 x)) 3) -1)))
(*.f64 (+.f64 -1 (pow.f64 (+.f64 1 (tanh.f64 x)) 3)) (/.f64 1 (+.f64 (pow.f64 (+.f64 1 (tanh.f64 x)) 2) (+.f64 (tanh.f64 x) 2))))
(/.f64 (+.f64 -1 (pow.f64 (+.f64 1 (tanh.f64 x)) 3)) (+.f64 (tanh.f64 x) (+.f64 2 (pow.f64 (+.f64 1 (tanh.f64 x)) 2))))
(/.f64 (+.f64 -1 (pow.f64 (+.f64 1 (tanh.f64 x)) 3)) (+.f64 1 (*.f64 (+.f64 1 (tanh.f64 x)) (+.f64 (tanh.f64 x) 2))))
(/.f64 1 (/.f64 (+.f64 (tanh.f64 x) 2) (*.f64 (+.f64 (tanh.f64 x) 2) (tanh.f64 x))))
(tanh.f64 x)
(/.f64 1 (/.f64 (+.f64 1 (pow.f64 (exp.f64 -2) x)) (-.f64 1 (pow.f64 (exp.f64 -2) x))))
(tanh.f64 x)
(/.f64 1 (/.f64 (+.f64 1 (exp.f64 (*.f64 x 2))) (expm1.f64 (*.f64 x 2))))
(tanh.f64 x)
(/.f64 1 (/.f64 (*.f64 2 (cosh.f64 x)) (*.f64 2 (sinh.f64 x))))
(*.f64 (*.f64 2 (sinh.f64 x)) (/.f64 1/2 (cosh.f64 x)))
(/.f64 (sinh.f64 x) (cosh.f64 x))
(/.f64 (-.f64 1 (pow.f64 (exp.f64 -2) x)) (+.f64 1 (pow.f64 (exp.f64 -2) x)))
(tanh.f64 x)
(/.f64 (expm1.f64 (*.f64 x 2)) (+.f64 1 (exp.f64 (*.f64 x 2))))
(tanh.f64 x)
(/.f64 (*.f64 2 (sinh.f64 x)) (*.f64 2 (cosh.f64 x)))
(*.f64 (*.f64 2 (sinh.f64 x)) (/.f64 1/2 (cosh.f64 x)))
(/.f64 (sinh.f64 x) (cosh.f64 x))
(/.f64 (+.f64 (pow.f64 (+.f64 1 (tanh.f64 x)) 3) -1) (+.f64 (pow.f64 (+.f64 1 (tanh.f64 x)) 2) (+.f64 (tanh.f64 x) 2)))
(*.f64 (+.f64 -1 (pow.f64 (+.f64 1 (tanh.f64 x)) 3)) (/.f64 1 (+.f64 (pow.f64 (+.f64 1 (tanh.f64 x)) 2) (+.f64 (tanh.f64 x) 2))))
(/.f64 (+.f64 -1 (pow.f64 (+.f64 1 (tanh.f64 x)) 3)) (+.f64 (tanh.f64 x) (+.f64 2 (pow.f64 (+.f64 1 (tanh.f64 x)) 2))))
(/.f64 (+.f64 -1 (pow.f64 (+.f64 1 (tanh.f64 x)) 3)) (+.f64 1 (*.f64 (+.f64 1 (tanh.f64 x)) (+.f64 (tanh.f64 x) 2))))
(/.f64 (+.f64 (pow.f64 (+.f64 1 (tanh.f64 x)) 3) -1) (+.f64 (pow.f64 (+.f64 1 (tanh.f64 x)) 2) (-.f64 1 (*.f64 (+.f64 1 (tanh.f64 x)) -1))))
(*.f64 (+.f64 -1 (pow.f64 (+.f64 1 (tanh.f64 x)) 3)) (/.f64 1 (+.f64 (pow.f64 (+.f64 1 (tanh.f64 x)) 2) (+.f64 (tanh.f64 x) 2))))
(/.f64 (+.f64 -1 (pow.f64 (+.f64 1 (tanh.f64 x)) 3)) (+.f64 (tanh.f64 x) (+.f64 2 (pow.f64 (+.f64 1 (tanh.f64 x)) 2))))
(/.f64 (+.f64 -1 (pow.f64 (+.f64 1 (tanh.f64 x)) 3)) (+.f64 1 (*.f64 (+.f64 1 (tanh.f64 x)) (+.f64 (tanh.f64 x) 2))))
(/.f64 (*.f64 (+.f64 (tanh.f64 x) 2) (tanh.f64 x)) (+.f64 (tanh.f64 x) 2))
(tanh.f64 x)
(/.f64 (*.f64 (+.f64 (tanh.f64 x) 2) (tanh.f64 x)) (-.f64 (+.f64 1 (tanh.f64 x)) -1))
(tanh.f64 x)
(/.f64 (neg.f64 (+.f64 (pow.f64 (+.f64 1 (tanh.f64 x)) 3) -1)) (neg.f64 (+.f64 (pow.f64 (+.f64 1 (tanh.f64 x)) 2) (+.f64 (tanh.f64 x) 2))))
(*.f64 (+.f64 -1 (pow.f64 (+.f64 1 (tanh.f64 x)) 3)) (/.f64 1 (+.f64 (pow.f64 (+.f64 1 (tanh.f64 x)) 2) (+.f64 (tanh.f64 x) 2))))
(/.f64 (+.f64 -1 (pow.f64 (+.f64 1 (tanh.f64 x)) 3)) (+.f64 (tanh.f64 x) (+.f64 2 (pow.f64 (+.f64 1 (tanh.f64 x)) 2))))
(/.f64 (+.f64 -1 (pow.f64 (+.f64 1 (tanh.f64 x)) 3)) (+.f64 1 (*.f64 (+.f64 1 (tanh.f64 x)) (+.f64 (tanh.f64 x) 2))))
(/.f64 (neg.f64 (*.f64 (+.f64 (tanh.f64 x) 2) (tanh.f64 x))) (neg.f64 (+.f64 (tanh.f64 x) 2)))
(tanh.f64 x)
(/.f64 (neg.f64 (-.f64 1 (pow.f64 (exp.f64 -2) x))) (neg.f64 (+.f64 1 (pow.f64 (exp.f64 -2) x))))
(tanh.f64 x)
(/.f64 (neg.f64 (expm1.f64 (*.f64 x 2))) (neg.f64 (+.f64 1 (exp.f64 (*.f64 x 2)))))
(tanh.f64 x)
(/.f64 (neg.f64 (*.f64 2 (sinh.f64 x))) (neg.f64 (*.f64 2 (cosh.f64 x))))
(*.f64 (*.f64 2 (sinh.f64 x)) (/.f64 1/2 (cosh.f64 x)))
(/.f64 (sinh.f64 x) (cosh.f64 x))
(/.f64 (+.f64 1 (pow.f64 (+.f64 (tanh.f64 x) -1) 3)) (+.f64 1 (-.f64 (*.f64 (+.f64 (tanh.f64 x) -1) (+.f64 (tanh.f64 x) -1)) (+.f64 (tanh.f64 x) -1))))
(/.f64 (+.f64 1 (pow.f64 (+.f64 (tanh.f64 x) -1) 3)) (+.f64 1 (*.f64 (+.f64 (tanh.f64 x) -1) (-.f64 (+.f64 (tanh.f64 x) -1) 1))))
(/.f64 (+.f64 1 (pow.f64 (+.f64 (tanh.f64 x) -1) 3)) (+.f64 1 (*.f64 (+.f64 (tanh.f64 x) -1) (*.f64 (-.f64 2 (tanh.f64 x)) -1))))
(/.f64 (-.f64 1 (*.f64 (+.f64 (tanh.f64 x) -1) (+.f64 (tanh.f64 x) -1))) (-.f64 1 (+.f64 (tanh.f64 x) -1)))
(/.f64 (-.f64 1 (*.f64 (+.f64 (tanh.f64 x) -1) (+.f64 (tanh.f64 x) -1))) (-.f64 2 (tanh.f64 x)))
(pow.f64 (tanh.f64 x) 1)
(tanh.f64 x)
(pow.f64 (cbrt.f64 (tanh.f64 x)) 3)
(tanh.f64 x)
(pow.f64 (sqrt.f64 (tanh.f64 x)) 2)
(tanh.f64 x)
(pow.f64 (pow.f64 (tanh.f64 x) 3) 1/3)
(tanh.f64 x)
(sqrt.f64 (pow.f64 (tanh.f64 x) 2))
(tanh.f64 x)
(log.f64 (exp.f64 (tanh.f64 x)))
(tanh.f64 x)
(cbrt.f64 (pow.f64 (tanh.f64 x) 3))
(tanh.f64 x)
(expm1.f64 (log1p.f64 (tanh.f64 x)))
(tanh.f64 x)
(log1p.f64 (expm1.f64 (tanh.f64 x)))
(tanh.f64 x)
(exp.f64 (log.f64 (tanh.f64 x)))
(tanh.f64 x)
(fma.f64 1 (+.f64 1 (tanh.f64 x)) -1)
(tanh.f64 x)
(fma.f64 (pow.f64 (cbrt.f64 (+.f64 1 (tanh.f64 x))) 2) (cbrt.f64 (+.f64 1 (tanh.f64 x))) -1)
(tanh.f64 x)
(fma.f64 (sqrt.f64 (+.f64 1 (tanh.f64 x))) (sqrt.f64 (+.f64 1 (tanh.f64 x))) -1)
(tanh.f64 x)
(tanh.f64 x)
(-.f64 (+.f64 (tanh.f64 x) 2) 1)
(+.f64 1 (-.f64 (/.f64 (exp.f64 x) (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))) (/.f64 1 (*.f64 (exp.f64 x) (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))))))
(+.f64 1 (tanh.f64 x))
(-.f64 (/.f64 1 (-.f64 1 (tanh.f64 x))) (/.f64 (pow.f64 (tanh.f64 x) 2) (-.f64 1 (tanh.f64 x))))
(/.f64 (-.f64 1 (pow.f64 (tanh.f64 x) 2)) (-.f64 1 (tanh.f64 x)))
(/.f64 (fma.f64 (tanh.f64 x) (tanh.f64 x) -1) (+.f64 (tanh.f64 x) -1))
(*.f64 1 (+.f64 1 (tanh.f64 x)))
(+.f64 1 (-.f64 (/.f64 (exp.f64 x) (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))) (/.f64 1 (*.f64 (exp.f64 x) (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))))))
(+.f64 1 (tanh.f64 x))
(*.f64 (+.f64 1 (tanh.f64 x)) 1)
(+.f64 1 (-.f64 (/.f64 (exp.f64 x) (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))) (/.f64 1 (*.f64 (exp.f64 x) (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))))))
(+.f64 1 (tanh.f64 x))
(*.f64 (cbrt.f64 (+.f64 1 (tanh.f64 x))) (pow.f64 (cbrt.f64 (+.f64 1 (tanh.f64 x))) 2))
(+.f64 1 (-.f64 (/.f64 (exp.f64 x) (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))) (/.f64 1 (*.f64 (exp.f64 x) (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))))))
(+.f64 1 (tanh.f64 x))
(*.f64 (pow.f64 (cbrt.f64 (+.f64 1 (tanh.f64 x))) 2) (cbrt.f64 (+.f64 1 (tanh.f64 x))))
(+.f64 1 (-.f64 (/.f64 (exp.f64 x) (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))) (/.f64 1 (*.f64 (exp.f64 x) (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))))))
(+.f64 1 (tanh.f64 x))
(*.f64 (pow.f64 (cbrt.f64 (+.f64 1 (tanh.f64 x))) 2) (*.f64 (cbrt.f64 (+.f64 1 (tanh.f64 x))) 1))
(+.f64 1 (-.f64 (/.f64 (exp.f64 x) (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))) (/.f64 1 (*.f64 (exp.f64 x) (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))))))
(+.f64 1 (tanh.f64 x))
(*.f64 (sqrt.f64 (+.f64 1 (tanh.f64 x))) (sqrt.f64 (+.f64 1 (tanh.f64 x))))
(+.f64 1 (-.f64 (/.f64 (exp.f64 x) (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))) (/.f64 1 (*.f64 (exp.f64 x) (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))))))
(+.f64 1 (tanh.f64 x))
(*.f64 (sqrt.f64 (+.f64 1 (tanh.f64 x))) (*.f64 (sqrt.f64 (+.f64 1 (tanh.f64 x))) 1))
(+.f64 1 (-.f64 (/.f64 (exp.f64 x) (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))) (/.f64 1 (*.f64 (exp.f64 x) (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))))))
(+.f64 1 (tanh.f64 x))
(*.f64 (+.f64 1 (pow.f64 (tanh.f64 x) 3)) (/.f64 1 (+.f64 1 (-.f64 (pow.f64 (tanh.f64 x) 2) (tanh.f64 x)))))
(/.f64 (+.f64 1 (pow.f64 (tanh.f64 x) 3)) (+.f64 1 (-.f64 (pow.f64 (tanh.f64 x) 2) (tanh.f64 x))))
(/.f64 (+.f64 1 (pow.f64 (tanh.f64 x) 3)) (-.f64 (pow.f64 (tanh.f64 x) 2) (+.f64 (tanh.f64 x) -1)))
(*.f64 (-.f64 1 (pow.f64 (tanh.f64 x) 2)) (/.f64 1 (-.f64 1 (tanh.f64 x))))
(/.f64 (-.f64 1 (pow.f64 (tanh.f64 x) 2)) (-.f64 1 (tanh.f64 x)))
(/.f64 (fma.f64 (tanh.f64 x) (tanh.f64 x) -1) (+.f64 (tanh.f64 x) -1))
(/.f64 1 (/.f64 (+.f64 1 (-.f64 (pow.f64 (tanh.f64 x) 2) (tanh.f64 x))) (+.f64 1 (pow.f64 (tanh.f64 x) 3))))
(/.f64 (+.f64 1 (pow.f64 (tanh.f64 x) 3)) (+.f64 1 (-.f64 (pow.f64 (tanh.f64 x) 2) (tanh.f64 x))))
(/.f64 (+.f64 1 (pow.f64 (tanh.f64 x) 3)) (-.f64 (pow.f64 (tanh.f64 x) 2) (+.f64 (tanh.f64 x) -1)))
(/.f64 1 (/.f64 (-.f64 1 (tanh.f64 x)) (-.f64 1 (pow.f64 (tanh.f64 x) 2))))
(/.f64 (-.f64 1 (pow.f64 (tanh.f64 x) 2)) (-.f64 1 (tanh.f64 x)))
(/.f64 (fma.f64 (tanh.f64 x) (tanh.f64 x) -1) (+.f64 (tanh.f64 x) -1))
(/.f64 (+.f64 1 (pow.f64 (tanh.f64 x) 3)) (+.f64 1 (-.f64 (pow.f64 (tanh.f64 x) 2) (tanh.f64 x))))
(/.f64 (+.f64 1 (pow.f64 (tanh.f64 x) 3)) (-.f64 (pow.f64 (tanh.f64 x) 2) (+.f64 (tanh.f64 x) -1)))
(/.f64 (+.f64 1 (pow.f64 (tanh.f64 x) 3)) (+.f64 (pow.f64 (tanh.f64 x) 2) (-.f64 1 (tanh.f64 x))))
(/.f64 (+.f64 1 (pow.f64 (tanh.f64 x) 3)) (+.f64 1 (-.f64 (pow.f64 (tanh.f64 x) 2) (tanh.f64 x))))
(/.f64 (+.f64 1 (pow.f64 (tanh.f64 x) 3)) (-.f64 (pow.f64 (tanh.f64 x) 2) (+.f64 (tanh.f64 x) -1)))
(/.f64 (-.f64 1 (pow.f64 (tanh.f64 x) 2)) (-.f64 1 (tanh.f64 x)))
(/.f64 (fma.f64 (tanh.f64 x) (tanh.f64 x) -1) (+.f64 (tanh.f64 x) -1))
(/.f64 (neg.f64 (+.f64 1 (pow.f64 (tanh.f64 x) 3))) (neg.f64 (+.f64 1 (-.f64 (pow.f64 (tanh.f64 x) 2) (tanh.f64 x)))))
(/.f64 (+.f64 1 (pow.f64 (tanh.f64 x) 3)) (+.f64 1 (-.f64 (pow.f64 (tanh.f64 x) 2) (tanh.f64 x))))
(/.f64 (+.f64 1 (pow.f64 (tanh.f64 x) 3)) (-.f64 (pow.f64 (tanh.f64 x) 2) (+.f64 (tanh.f64 x) -1)))
(/.f64 (neg.f64 (-.f64 1 (pow.f64 (tanh.f64 x) 2))) (neg.f64 (-.f64 1 (tanh.f64 x))))
(/.f64 (-.f64 1 (pow.f64 (tanh.f64 x) 2)) (-.f64 1 (tanh.f64 x)))
(/.f64 (fma.f64 (tanh.f64 x) (tanh.f64 x) -1) (+.f64 (tanh.f64 x) -1))
(/.f64 (-.f64 (pow.f64 (tanh.f64 x) 2) 1) (+.f64 (tanh.f64 x) -1))
(/.f64 (-.f64 1 (pow.f64 (tanh.f64 x) 2)) (-.f64 1 (tanh.f64 x)))
(/.f64 (fma.f64 (tanh.f64 x) (tanh.f64 x) -1) (+.f64 (tanh.f64 x) -1))
(/.f64 (*.f64 (+.f64 1 (pow.f64 (tanh.f64 x) 3)) 1) (+.f64 1 (-.f64 (pow.f64 (tanh.f64 x) 2) (tanh.f64 x))))
(/.f64 (+.f64 1 (pow.f64 (tanh.f64 x) 3)) (+.f64 1 (-.f64 (pow.f64 (tanh.f64 x) 2) (tanh.f64 x))))
(/.f64 (+.f64 1 (pow.f64 (tanh.f64 x) 3)) (-.f64 (pow.f64 (tanh.f64 x) 2) (+.f64 (tanh.f64 x) -1)))
(/.f64 (*.f64 (-.f64 1 (pow.f64 (tanh.f64 x) 2)) 1) (-.f64 1 (tanh.f64 x)))
(/.f64 (-.f64 1 (pow.f64 (tanh.f64 x) 2)) (-.f64 1 (tanh.f64 x)))
(/.f64 (fma.f64 (tanh.f64 x) (tanh.f64 x) -1) (+.f64 (tanh.f64 x) -1))
(pow.f64 (+.f64 1 (tanh.f64 x)) 1)
(+.f64 1 (-.f64 (/.f64 (exp.f64 x) (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))) (/.f64 1 (*.f64 (exp.f64 x) (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))))))
(+.f64 1 (tanh.f64 x))
(pow.f64 (cbrt.f64 (+.f64 1 (tanh.f64 x))) 3)
(+.f64 1 (-.f64 (/.f64 (exp.f64 x) (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))) (/.f64 1 (*.f64 (exp.f64 x) (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))))))
(+.f64 1 (tanh.f64 x))
(pow.f64 (sqrt.f64 (+.f64 1 (tanh.f64 x))) 2)
(+.f64 1 (-.f64 (/.f64 (exp.f64 x) (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))) (/.f64 1 (*.f64 (exp.f64 x) (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))))))
(+.f64 1 (tanh.f64 x))
(pow.f64 (pow.f64 (+.f64 1 (tanh.f64 x)) 3) 1/3)
(+.f64 1 (-.f64 (/.f64 (exp.f64 x) (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))) (/.f64 1 (*.f64 (exp.f64 x) (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))))))
(+.f64 1 (tanh.f64 x))
(sqrt.f64 (pow.f64 (+.f64 1 (tanh.f64 x)) 2))
(+.f64 1 (-.f64 (/.f64 (exp.f64 x) (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))) (/.f64 1 (*.f64 (exp.f64 x) (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))))))
(+.f64 1 (tanh.f64 x))
(log.f64 (exp.f64 (+.f64 1 (tanh.f64 x))))
(+.f64 1 (-.f64 (/.f64 (exp.f64 x) (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))) (/.f64 1 (*.f64 (exp.f64 x) (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))))))
(+.f64 1 (tanh.f64 x))
(cbrt.f64 (pow.f64 (+.f64 1 (tanh.f64 x)) 3))
(+.f64 1 (-.f64 (/.f64 (exp.f64 x) (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))) (/.f64 1 (*.f64 (exp.f64 x) (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))))))
(+.f64 1 (tanh.f64 x))
(expm1.f64 (log.f64 (+.f64 (tanh.f64 x) 2)))
(expm1.f64 (log1p.f64 (+.f64 1 (tanh.f64 x))))
(log1p.f64 (expm1.f64 (+.f64 1 (tanh.f64 x))))
(+.f64 1 (-.f64 (/.f64 (exp.f64 x) (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))) (/.f64 1 (*.f64 (exp.f64 x) (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))))))
(+.f64 1 (tanh.f64 x))
(exp.f64 (log1p.f64 (tanh.f64 x)))
(fma.f64 1 (tanh.f64 x) 1)
(+.f64 1 (-.f64 (/.f64 (exp.f64 x) (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))) (/.f64 1 (*.f64 (exp.f64 x) (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))))))
(+.f64 1 (tanh.f64 x))
(fma.f64 (pow.f64 (cbrt.f64 (tanh.f64 x)) 2) (cbrt.f64 (tanh.f64 x)) 1)
(+.f64 1 (-.f64 (/.f64 (exp.f64 x) (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))) (/.f64 1 (*.f64 (exp.f64 x) (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))))))
(+.f64 1 (tanh.f64 x))
(fma.f64 (sqrt.f64 (tanh.f64 x)) (sqrt.f64 (tanh.f64 x)) 1)
(+.f64 1 (-.f64 (/.f64 (exp.f64 x) (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))) (/.f64 1 (*.f64 (exp.f64 x) (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))))))
(+.f64 1 (tanh.f64 x))

eval46.0ms (1.3%)

Compiler

Compiled 1917 to 1359 computations (29.1% saved)

prune18.0ms (0.5%)

Pruning

3 alts after pruning (1 fresh and 2 done)

PrunedKeptTotal
New1540154
Fresh011
Picked011
Done011
Total1543157
Error
0b
Counts
157 → 3
Alt Table
Click to see full alt table
StatusErrorProgram
57.3b
(-.f64 (+.f64 1 (tanh.f64 x)) 1)
0.0b
(tanh.f64 x)
2.3b
x
Compiler

Compiled 12 to 9 computations (25% saved)

eval0.0ms (0%)

Compiler

Compiled 1 to 1 computations (0% saved)

prune1.0ms (0%)

Pruning

3 alts after pruning (1 fresh and 2 done)

PrunedKeptTotal
New000
Fresh011
Picked000
Done022
Total033
Error
0b
Counts
3 → 3
Alt Table
Click to see full alt table
StatusErrorProgram
57.3b
(-.f64 (+.f64 1 (tanh.f64 x)) 1)
0.0b
(tanh.f64 x)
2.3b
x
Compiler

Compiled 12 to 9 computations (25% saved)

regimes12.0ms (0.3%)

Accuracy

Total -59.7b remaining (-764399.7%)

Threshold costs -59.7b (-764399.7%)

Counts
5 → 1
Calls
Call 1
Inputs
x
(tanh.f64 x)
(-.f64 (+.f64 1 (tanh.f64 x)) 1)
(/.f64 (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) (*.f64 2 (cosh.f64 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:

8.0ms
x
2.0ms
(/.f64 (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))
Results
ErrorSegmentsBranch
0.0b1x
0.0b1(/.f64 (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))
Compiler

Compiled 50 to 24 computations (52% saved)

simplify2.0ms (0.1%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
034
Stop Event
fuel
saturated
Calls
Call 1
Inputs
(tanh.f64 x)
x
Outputs
(tanh.f64 x)
x
Compiler

Compiled 5 to 3 computations (40% saved)

soundness76.0ms (2.1%)

Algorithm
egg-herbie
Rules
618×times-frac_binary64
292×fma-def_binary64
282×associate-*l/_binary64
265×associate-*r/_binary64
257×div-sub_binary64
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
0142623
1358597
21369586
35740526
Stop Event
node limit
Compiler

Compiled 31 to 16 computations (48.4% saved)

end14.0ms (0.4%)

Compiler

Compiled 4 to 2 computations (50% saved)

Profiling

Loading profile data...