Details

Time bar (total: 4.5s)

analyze11.0ms (0.2%)

Algorithm
search
Search
TrueOtherFalseIter
0%100%0%0
0%100%0%1
0%100%0%2
50%50%0%3
50%25%25%4
50%12.5%37.5%5
50%6.2%43.8%6
50%3.1%46.9%7
50%1.6%48.5%8
50%1.6%48.5%9
50.4%1.2%48.5%10
50.4%1.2%48.5%11
50.4%1.1%48.6%12
Compiler

Compiled 15 to 8 computations (46.7% saved)

sample3.0s (66.5%)

Results
1.9s4047×body1024valid
526.0ms2011×body512valid
257.0ms393×body2048valid
236.0ms1805×body256valid
0.0msbody256invalid

preprocess64.0ms (1.4%)

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)

simplify53.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))))

eval1.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.5b
Counts
2 → 1
Alt Table
Click to see full alt table
StatusErrorProgram
58.5b
(/.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)

localize10.0ms (0.2%)

Local error

Found 3 expressions with local error:

NewErrorProgram
0.0b
(+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))
2.5b
(/.f64 (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))
4.9b
(-.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
@0
(/.f64 (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))
0.0ms
x
@0
(+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))

rewrite122.0ms (2.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))))))))

simplify73.0ms (1.6%)

Algorithm
egg-herbie
Rules
686×fma-def_binary64
528×fma-neg_binary64
514×unswap-sqr_binary64
469×associate-*l*_binary64
380×associate-*r*_binary64
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
058447
1150441
2350437
3995437
43266437
55399437
67520437
Stop Event
node limit
Counts
69 → 67
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)))
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 2 x))
(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 x (fma.f64 x (*.f64 x 1/3) 2) (*.f64 1/60 (pow.f64 x 5)))
(fma.f64 x (fma.f64 1/3 (*.f64 x x) 2) (*.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)))))
(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 1/60 (pow.f64 x 5) (fma.f64 1/3 (pow.f64 x 3) (fma.f64 1/2520 (pow.f64 x 7) (*.f64 2 x))))
(fma.f64 1/60 (pow.f64 x 5) (fma.f64 1/3 (pow.f64 x 3) (fma.f64 1/2520 (pow.f64 x 7) (+.f64 x 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)))
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 3) -1/3 (fma.f64 (pow.f64 x 7) -17/315 (fma.f64 (pow.f64 x 5) 2/15 x)))
(fma.f64 (pow.f64 x 3) -1/3 (fma.f64 (pow.f64 x 5) 2/15 (fma.f64 (pow.f64 x 7) -17/315 x)))
(fma.f64 (pow.f64 x 5) 2/15 (fma.f64 (pow.f64 x 7) -17/315 (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)))
(/.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 (exp.f64 (neg.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 (exp.f64 (neg.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 (exp.f64 (neg.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 (exp.f64 x) (exp.f64 (*.f64 -1 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 (exp.f64 x) (exp.f64 (*.f64 -1 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 (exp.f64 x) (exp.f64 (*.f64 -1 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 (exp.f64 x) (exp.f64 (*.f64 -1 x))))
(/.f64 (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) (+.f64 (exp.f64 x) (exp.f64 (neg.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 2 (+.f64 (*.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)))
(fma.f64 1/12 (pow.f64 x 4) (fma.f64 1/360 (pow.f64 x 6) (fma.f64 x x 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)))

eval16.0ms (0.4%)

Compiler

Compiled 968 to 399 computations (58.8% saved)

prune12.0ms (0.3%)

Pruning

4 alts after pruning (4 fresh and 0 done)

PrunedKeptTotal
New63467
Fresh000
Picked101
Done000
Total64468
Error
0b
Counts
68 → 4
Alt Table
Click to see full alt table
StatusErrorProgram
2.5b
(*.f64 (*.f64 2 (sinh.f64 x)) (/.f64 1 (*.f64 2 (cosh.f64 x))))
3.3b
x
43.1b
(/.f64 (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))))
0.0b
(tanh.f64 x)
Compiler

Compiled 40 to 29 computations (27.5% 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)

rewrite64.0ms (1.4%)

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)))))))

simplify78.0ms (1.7%)

Algorithm
egg-herbie
Rules
871×div-sub_binary64
830×fma-def_binary64
624×unswap-sqr_binary64
590×fma-neg_binary64
303×associate-*l*_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
024222
165222
2140222
3333222
4688222
51579222
62473222
73981222
86252222
Stop Event
node limit
Counts
43 → 40
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)))
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) (/.f64 1 (exp.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) (/.f64 1 (exp.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) (/.f64 1 (exp.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) (/.f64 1 (exp.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) (/.f64 1 (exp.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) (/.f64 1 (exp.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) (/.f64 1 (exp.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) (/.f64 1 (exp.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))))

localize26.0ms (0.6%)

Local error

Found 3 expressions with local error:

NewErrorProgram
0.0b
(sinh.f64 x)
0.0b
(/.f64 1 (*.f64 2 (cosh.f64 x)))
2.5b
(*.f64 (*.f64 2 (sinh.f64 x)) (/.f64 1 (*.f64 2 (cosh.f64 x))))
Compiler

Compiled 33 to 20 computations (39.4% saved)

series12.0ms (0.3%)

Counts
3 → 36
Calls

9 calls:

TimeVariablePointExpression
3.0ms
x
@-inf
(*.f64 (*.f64 2 (sinh.f64 x)) (/.f64 1 (*.f64 2 (cosh.f64 x))))
3.0ms
x
@inf
(*.f64 (*.f64 2 (sinh.f64 x)) (/.f64 1 (*.f64 2 (cosh.f64 x))))
1.0ms
x
@-inf
(/.f64 1 (*.f64 2 (cosh.f64 x)))
1.0ms
x
@inf
(/.f64 1 (*.f64 2 (cosh.f64 x)))
1.0ms
x
@0
(*.f64 (*.f64 2 (sinh.f64 x)) (/.f64 1 (*.f64 2 (cosh.f64 x))))

rewrite87.0ms (2%)

Algorithm
batch-egg-rewrite
Rules
977×pow1_binary64
904×add-log-exp_binary64
903×log1p-expm1-u_binary64
903×expm1-log1p-u_binary64
103×add-sqr-sqrt_binary64
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
01023
121117
2262817
Stop Event
node limit
Counts
3 → 76
Calls
Call 1
Inputs
(*.f64 (*.f64 2 (sinh.f64 x)) (/.f64 1 (*.f64 2 (cosh.f64 x))))
(/.f64 1 (*.f64 2 (cosh.f64 x)))
(sinh.f64 x)
Outputs
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (/.f64 (sinh.f64 x) (cosh.f64 x)))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 2 (/.f64 (*.f64 2 (cosh.f64 x)) (sinh.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (sinh.f64 x) (cosh.f64 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 1 (/.f64 (*.f64 2 (cosh.f64 x)) (*.f64 2 (sinh.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (cbrt.f64 (*.f64 4 (pow.f64 (sinh.f64 x) 2))) (/.f64 (*.f64 2 (cosh.f64 x)) (cbrt.f64 (*.f64 2 (sinh.f64 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (sqrt.f64 (*.f64 2 (sinh.f64 x))) (/.f64 (*.f64 2 (cosh.f64 x)) (sqrt.f64 (*.f64 2 (sinh.f64 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (*.f64 2 (sinh.f64 x))) (*.f64 (cosh.f64 x) -2))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (*.f64 2 (sinh.f64 x)) -1) (*.f64 (cosh.f64 x) -2))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (/.f64 (*.f64 2 (sinh.f64 x)) (cosh.f64 x)) 2)))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (/.f64 (*.f64 2 (sinh.f64 x)) (sqrt.f64 (*.f64 2 (cosh.f64 x)))) (sqrt.f64 (*.f64 2 (cosh.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (/.f64 (*.f64 2 (sinh.f64 x)) 1) (*.f64 2 (cosh.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (/.f64 (*.f64 2 (sinh.f64 x)) (cbrt.f64 (*.f64 4 (pow.f64 (cosh.f64 x) 2)))) (cbrt.f64 (*.f64 2 (cosh.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 -1 (*.f64 2 (sinh.f64 x))) (*.f64 (cosh.f64 x) -2))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 1/2 (*.f64 2 (sinh.f64 x))) (cosh.f64 x))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 (sinh.f64 x) (cosh.f64 x)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (/.f64 (sinh.f64 x) (cosh.f64 x)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (/.f64 (sinh.f64 x) (cosh.f64 x))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (/.f64 (sinh.f64 x) (cosh.f64 x))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (/.f64 (sinh.f64 x) (cosh.f64 x)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (/.f64 (sinh.f64 x) (cosh.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (/.f64 (sinh.f64 x) (cosh.f64 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (/.f64 (sinh.f64 x) (cosh.f64 x)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (/.f64 (pow.f64 (*.f64 2 (sinh.f64 x)) 3) (pow.f64 (*.f64 2 (cosh.f64 x)) 3)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (*.f64 (pow.f64 (*.f64 2 (sinh.f64 x)) 3) (pow.f64 (/.f64 1/2 (cosh.f64 x)) 3)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (*.f64 (pow.f64 (/.f64 1/2 (cosh.f64 x)) 3) (pow.f64 (*.f64 2 (sinh.f64 x)) 3)))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (/.f64 (sinh.f64 x) (cosh.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (/.f64 (sinh.f64 x) (cosh.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (/.f64 (sinh.f64 x) (cosh.f64 x))))))))
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (/.f64 1/2 (cosh.f64 x)))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (/.f64 1/2 (cosh.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 1/2 (cosh.f64 x)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (/.f64 1/2 (cosh.f64 x))) (cbrt.f64 (/.f64 1/4 (pow.f64 (cosh.f64 x) 2))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (/.f64 1/4 (pow.f64 (cosh.f64 x) 2))) (cbrt.f64 (/.f64 1/2 (cosh.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (/.f64 1/2 (cosh.f64 x))) (sqrt.f64 (/.f64 1/2 (cosh.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 -1 (/.f64 1 (*.f64 (cosh.f64 x) -2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1/2 (pow.f64 (cosh.f64 x) -1))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1/2 (/.f64 1 (cosh.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cosh.f64 x) -1) 1/2)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (*.f64 4 (pow.f64 (cosh.f64 x) 2))) -1) (pow.f64 (cbrt.f64 (*.f64 2 (cosh.f64 x))) -1))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (sqrt.f64 (*.f64 2 (cosh.f64 x))) -1) (pow.f64 (sqrt.f64 (*.f64 2 (cosh.f64 x))) -1))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 1/2 (*.f64 2 (cosh.f64 x))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 2 (cosh.f64 x)) -1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 1/2 (cosh.f64 x)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (/.f64 1/2 (cosh.f64 x)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (/.f64 1/2 (cosh.f64 x))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (/.f64 1/2 (cosh.f64 x))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (/.f64 1/4 (pow.f64 (cosh.f64 x) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (/.f64 1/2 (cosh.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (/.f64 1/2 (cosh.f64 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (/.f64 1/2 (cosh.f64 x)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (/.f64 1/2 (cosh.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (/.f64 1/2 (cosh.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (/.f64 1/2 (cosh.f64 x))))))))
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (sinh.f64 x))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (/.f64 (exp.f64 x) 2) (/.f64 (exp.f64 (neg.f64 x)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sinh.f64 x) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 2 (sinh.f64 x)) 1/2)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (sinh.f64 x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (sinh.f64 x)) (pow.f64 (cbrt.f64 (sinh.f64 x)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (sinh.f64 x)) 2) (cbrt.f64 (sinh.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (sinh.f64 x)) (sqrt.f64 (sinh.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 2 (sinh.f64 x)) 2)))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 2 (*.f64 2 (sinh.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (*.f64 2 (sinh.f64 x))) -2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sinh.f64 x) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (sinh.f64 x) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (sinh.f64 x)) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (sinh.f64 x)) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (sinh.f64 x) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (sinh.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (sinh.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (sinh.f64 x) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (sinh.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (sinh.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (sinh.f64 x)))))))

simplify85.0ms (1.9%)

Algorithm
egg-herbie
Rules
723×distribute-lft-out_binary64
677×fma-def_binary64
508×unswap-sqr_binary64
466×associate-*l*_binary64
386×associate-*r*_binary64
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
054528
1134526
2330514
3975514
43199514
55113514
67238514
Stop Event
node limit
Counts
112 → 102
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/2
(+.f64 1/2 (*.f64 -1/4 (pow.f64 x 2)))
(+.f64 1/2 (+.f64 (*.f64 -1/4 (pow.f64 x 2)) (*.f64 5/48 (pow.f64 x 4))))
(+.f64 (*.f64 -61/1440 (pow.f64 x 6)) (+.f64 1/2 (+.f64 (*.f64 -1/4 (pow.f64 x 2)) (*.f64 5/48 (pow.f64 x 4)))))
(/.f64 1 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x)))
(/.f64 1 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x)))
(/.f64 1 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x)))
(/.f64 1 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x)))
(/.f64 1 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x)))
(/.f64 1 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x)))
(/.f64 1 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x)))
(/.f64 1 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x)))
x
(+.f64 (*.f64 1/6 (pow.f64 x 3)) x)
(+.f64 (*.f64 1/6 (pow.f64 x 3)) (+.f64 (*.f64 1/120 (pow.f64 x 5)) x))
(+.f64 (*.f64 1/6 (pow.f64 x 3)) (+.f64 (*.f64 1/5040 (pow.f64 x 7)) (+.f64 (*.f64 1/120 (pow.f64 x 5)) x)))
(*.f64 1/2 (-.f64 (exp.f64 x) (/.f64 1 (exp.f64 x))))
(*.f64 1/2 (-.f64 (exp.f64 x) (/.f64 1 (exp.f64 x))))
(*.f64 1/2 (-.f64 (exp.f64 x) (/.f64 1 (exp.f64 x))))
(*.f64 1/2 (-.f64 (exp.f64 x) (/.f64 1 (exp.f64 x))))
(*.f64 1/2 (-.f64 (exp.f64 x) (/.f64 1 (exp.f64 x))))
(*.f64 1/2 (-.f64 (exp.f64 x) (/.f64 1 (exp.f64 x))))
(*.f64 1/2 (-.f64 (exp.f64 x) (/.f64 1 (exp.f64 x))))
(*.f64 1/2 (-.f64 (exp.f64 x) (/.f64 1 (exp.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) (/.f64 1 (exp.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) (/.f64 1 (exp.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) (/.f64 1 (exp.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) (/.f64 1 (exp.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) (/.f64 1 (exp.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) (/.f64 1 (exp.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) (/.f64 1 (exp.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) (/.f64 1 (exp.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))))
1/2
(+.f64 1/2 (*.f64 -1/4 (pow.f64 x 2)))
(+.f64 1/2 (*.f64 -1/4 (*.f64 x x)))
(fma.f64 -1/4 (*.f64 x x) 1/2)
(fma.f64 x (*.f64 x -1/4) 1/2)
(+.f64 1/2 (+.f64 (*.f64 -1/4 (pow.f64 x 2)) (*.f64 5/48 (pow.f64 x 4))))
(+.f64 1/2 (fma.f64 -1/4 (*.f64 x x) (*.f64 5/48 (pow.f64 x 4))))
(fma.f64 x (*.f64 x -1/4) (fma.f64 5/48 (pow.f64 x 4) 1/2))
(fma.f64 (*.f64 x x) (fma.f64 (*.f64 x x) 5/48 -1/4) 1/2)
(+.f64 (*.f64 -61/1440 (pow.f64 x 6)) (+.f64 1/2 (+.f64 (*.f64 -1/4 (pow.f64 x 2)) (*.f64 5/48 (pow.f64 x 4)))))
(fma.f64 -61/1440 (pow.f64 x 6) (+.f64 1/2 (fma.f64 -1/4 (*.f64 x x) (*.f64 5/48 (pow.f64 x 4)))))
(+.f64 (fma.f64 -1/4 (*.f64 x x) (*.f64 5/48 (pow.f64 x 4))) (fma.f64 -61/1440 (pow.f64 x 6) 1/2))
(fma.f64 -61/1440 (pow.f64 x 6) (fma.f64 x (*.f64 x -1/4) (fma.f64 5/48 (pow.f64 x 4) 1/2)))
(fma.f64 x (*.f64 x -1/4) (fma.f64 -61/1440 (pow.f64 x 6) (fma.f64 5/48 (pow.f64 x 4) 1/2)))
(fma.f64 -61/1440 (pow.f64 x 6) (fma.f64 (*.f64 x x) (fma.f64 (*.f64 x x) 5/48 -1/4) 1/2))
(/.f64 1 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x)))
(/.f64 1 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))
(/.f64 1 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x)))
(/.f64 1 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))
(/.f64 1 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x)))
(/.f64 1 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))
(/.f64 1 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x)))
(/.f64 1 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))
(/.f64 1 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x)))
(/.f64 1 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))
(/.f64 1 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x)))
(/.f64 1 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))
(/.f64 1 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x)))
(/.f64 1 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))
(/.f64 1 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x)))
(/.f64 1 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))
x
(+.f64 (*.f64 1/6 (pow.f64 x 3)) x)
(fma.f64 1/6 (pow.f64 x 3) x)
(fma.f64 (pow.f64 x 3) 1/6 x)
(+.f64 (*.f64 1/6 (pow.f64 x 3)) (+.f64 (*.f64 1/120 (pow.f64 x 5)) x))
(fma.f64 1/6 (pow.f64 x 3) (fma.f64 1/120 (pow.f64 x 5) x))
(fma.f64 (pow.f64 x 3) 1/6 (fma.f64 (pow.f64 x 5) 1/120 x))
(+.f64 (*.f64 1/6 (pow.f64 x 3)) (+.f64 (*.f64 1/5040 (pow.f64 x 7)) (+.f64 (*.f64 1/120 (pow.f64 x 5)) x)))
(fma.f64 1/6 (pow.f64 x 3) (fma.f64 1/5040 (pow.f64 x 7) (fma.f64 1/120 (pow.f64 x 5) x)))
(fma.f64 (pow.f64 x 3) 1/6 (fma.f64 (pow.f64 x 7) 1/5040 (fma.f64 (pow.f64 x 5) 1/120 x)))
(fma.f64 (pow.f64 x 3) 1/6 (fma.f64 (pow.f64 x 5) 1/120 (fma.f64 (pow.f64 x 7) 1/5040 x)))
(*.f64 1/2 (-.f64 (exp.f64 x) (/.f64 1 (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 (exp.f64 x) (/.f64 1 (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 (exp.f64 x) (/.f64 1 (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 (exp.f64 x) (/.f64 1 (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 (exp.f64 x) (/.f64 1 (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 (exp.f64 x) (/.f64 1 (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 (exp.f64 x) (/.f64 1 (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 (exp.f64 x) (/.f64 1 (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)))

localize30.0ms (0.7%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.0b
(*.f64 (*.f64 2 (sinh.f64 x)) (*.f64 2 (sinh.f64 x)))
0.1b
(*.f64 (*.f64 (*.f64 2 (sinh.f64 x)) (*.f64 2 (sinh.f64 x))) (*.f64 2 (sinh.f64 x)))
2.5b
(/.f64 (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))))
40.6b
(cbrt.f64 (*.f64 (*.f64 (*.f64 2 (sinh.f64 x)) (*.f64 2 (sinh.f64 x))) (*.f64 2 (sinh.f64 x))))
Compiler

Compiled 82 to 41 computations (50% saved)

series12.0ms (0.3%)

Counts
4 → 48
Calls

12 calls:

TimeVariablePointExpression
2.0ms
x
@inf
(/.f64 (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))))
2.0ms
x
@0
(cbrt.f64 (*.f64 (*.f64 (*.f64 2 (sinh.f64 x)) (*.f64 2 (sinh.f64 x))) (*.f64 2 (sinh.f64 x))))
1.0ms
x
@-inf
(/.f64 (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))))
1.0ms
x
@inf
(*.f64 (*.f64 (*.f64 2 (sinh.f64 x)) (*.f64 2 (sinh.f64 x))) (*.f64 2 (sinh.f64 x)))
1.0ms
x
@-inf
(*.f64 (*.f64 (*.f64 2 (sinh.f64 x)) (*.f64 2 (sinh.f64 x))) (*.f64 2 (sinh.f64 x)))

rewrite208.0ms (4.7%)

Algorithm
egg-rewrite
egg-rewrite-iter-limit
batch-egg-rewrite
Rules
661×pow1_binary64
649×pow1_binary64
620×add-log-exp_binary64
618×log1p-expm1-u_binary64
618×expm1-log1p-u_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01324
127624
2441224
086
11636
218166
01314
127614
2441214
01314
079
11479
217599
069
11279
215099
Stop Event
node limit
node limit
iter limit
unsound
node limit
unsound
Counts
4 → 69
Calls
Call 1
Inputs
(cbrt.f64 (*.f64 (*.f64 (*.f64 2 (sinh.f64 x)) (*.f64 2 (sinh.f64 x))) (*.f64 2 (sinh.f64 x))))
(/.f64 (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 (*.f64 (*.f64 2 (sinh.f64 x)) (*.f64 2 (sinh.f64 x))) (*.f64 2 (sinh.f64 x)))
(*.f64 (*.f64 2 (sinh.f64 x)) (*.f64 2 (sinh.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 (exp.f64 x) (exp.f64 (neg.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (*.f64 2 (sinh.f64 x))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 2 (sinh.f64 x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sinh.f64 x) 2)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 2 (sinh.f64 x)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (*.f64 2 (sinh.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (*.f64 2 (sinh.f64 x))) (pow.f64 (cbrt.f64 (*.f64 2 (sinh.f64 x))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (*.f64 2 (sinh.f64 x))) 2) (cbrt.f64 (*.f64 2 (sinh.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (sinh.f64 x)) 2) (*.f64 (cbrt.f64 (sinh.f64 x)) 2))))) (#(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 (sqrt.f64 2) (sqrt.f64 (*.f64 (pow.f64 (sinh.f64 x) 2) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (sinh.f64 x)) (*.f64 (sqrt.f64 (sinh.f64 x)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (*.f64 2 (pow.f64 (*.f64 2 (sinh.f64 x)) 2))) (cbrt.f64 (sinh.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (*.f64 (sinh.f64 x) 4)) (sqrt.f64 (sinh.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (cbrt.f64 (pow.f64 (*.f64 2 (sinh.f64 x)) 4))) (sqrt.f64 (pow.f64 (cbrt.f64 (*.f64 2 (sinh.f64 x))) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 1 1/3) (*.f64 2 (sinh.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (pow.f64 (*.f64 2 (sinh.f64 x)) 3/2) 1/3) (pow.f64 (pow.f64 (*.f64 2 (sinh.f64 x)) 3/2) 1/3))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (*.f64 2 (pow.f64 (*.f64 2 (sinh.f64 x)) 2)) 1/3) (cbrt.f64 (sinh.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 2 (pow.f64 (cbrt.f64 (sinh.f64 x)) 2)) (cbrt.f64 (sinh.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 2 (sqrt.f64 (sinh.f64 x))) (sqrt.f64 (sinh.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (sinh.f64 x) 4) 2)))) (#(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 pow.f64 (pow.f64 (*.f64 2 (sinh.f64 x)) 2) 1/2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 8 (pow.f64 (sinh.f64 x) 3)) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (*.f64 2 (sinh.f64 x))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (*.f64 2 (sinh.f64 x))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (*.f64 2 (sinh.f64 x)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x fabs.f64 (*.f64 2 (sinh.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (pow.f64 (exp.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 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 (+.f64 1 (*.f64 8 (pow.f64 (sinh.f64 x) 3))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (*.f64 2 (pow.f64 (*.f64 2 (sinh.f64 x)) 2)) (*.f64 2 (sinh.f64 x))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 2 (sinh.f64 x)) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 8 (pow.f64 (sinh.f64 x) 3)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 8 (pow.f64 (sinh.f64 x) 3)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 2 (sinh.f64 x)) 3/2) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (*.f64 2 (sinh.f64 x)) 6))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (*.f64 8 (pow.f64 (sinh.f64 x) 3))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (*.f64 8 (pow.f64 (sinh.f64 x) 3)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 8 (pow.f64 (sinh.f64 x) 3))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 8 (pow.f64 (sinh.f64 x) 3))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (*.f64 2 (sinh.f64 x))) 3))))))
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (pow.f64 (*.f64 2 (sinh.f64 x)) 2)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (*.f64 (sinh.f64 x) 4) (*.f64 2 (sinh.f64 x))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 2 (sinh.f64 x)) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 2 (sinh.f64 x)) 2) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (pow.f64 (*.f64 2 (sinh.f64 x)) 2) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (cbrt.f64 (*.f64 2 (sinh.f64 x))) 2) 3)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (*.f64 2 (sinh.f64 x)) 4))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (pow.f64 (exp.f64 4) (pow.f64 (sinh.f64 x) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (pow.f64 (*.f64 2 (sinh.f64 x)) 2) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (pow.f64 (*.f64 2 (sinh.f64 x)) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (pow.f64 (*.f64 2 (sinh.f64 x)) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (pow.f64 (*.f64 2 (sinh.f64 x)) 2)))))))

simplify67.0ms (1.5%)

Algorithm
egg-herbie
Rules
553×distribute-lft-out_binary64
504×unswap-sqr_binary64
404×times-frac_binary64
398×fma-def_binary64
376×*-commutative_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
081708
1209708
2499708
31607708
42744708
56977708
Stop Event
node limit
Counts
117 → 108
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) (/.f64 1 (exp.f64 x)))
(-.f64 (exp.f64 x) (/.f64 1 (exp.f64 x)))
(-.f64 (exp.f64 x) (/.f64 1 (exp.f64 x)))
(-.f64 (exp.f64 x) (/.f64 1 (exp.f64 x)))
(-.f64 (exp.f64 x) (/.f64 1 (exp.f64 x)))
(-.f64 (exp.f64 x) (/.f64 1 (exp.f64 x)))
(-.f64 (exp.f64 x) (/.f64 1 (exp.f64 x)))
(-.f64 (exp.f64 x) (/.f64 1 (exp.f64 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) (/.f64 1 (exp.f64 x))) (+.f64 (exp.f64 (neg.f64 x)) (exp.f64 x)))
(/.f64 (-.f64 (exp.f64 x) (/.f64 1 (exp.f64 x))) (+.f64 (exp.f64 (neg.f64 x)) (exp.f64 x)))
(/.f64 (-.f64 (exp.f64 x) (/.f64 1 (exp.f64 x))) (+.f64 (exp.f64 (neg.f64 x)) (exp.f64 x)))
(/.f64 (-.f64 (exp.f64 x) (/.f64 1 (exp.f64 x))) (+.f64 (exp.f64 (neg.f64 x)) (exp.f64 x)))
(/.f64 (-.f64 (exp.f64 x) (/.f64 1 (exp.f64 x))) (+.f64 (exp.f64 x) (exp.f64 (*.f64 -1 x))))
(/.f64 (-.f64 (exp.f64 x) (/.f64 1 (exp.f64 x))) (+.f64 (exp.f64 x) (exp.f64 (*.f64 -1 x))))
(/.f64 (-.f64 (exp.f64 x) (/.f64 1 (exp.f64 x))) (+.f64 (exp.f64 x) (exp.f64 (*.f64 -1 x))))
(/.f64 (-.f64 (exp.f64 x) (/.f64 1 (exp.f64 x))) (+.f64 (exp.f64 x) (exp.f64 (*.f64 -1 x))))
(*.f64 8 (pow.f64 x 3))
(+.f64 (*.f64 4 (pow.f64 x 5)) (*.f64 8 (pow.f64 x 3)))
(+.f64 (*.f64 4 (pow.f64 x 5)) (+.f64 (*.f64 8 (pow.f64 x 3)) (*.f64 13/15 (pow.f64 x 7))))
(+.f64 (*.f64 4 (pow.f64 x 5)) (+.f64 (*.f64 8 (pow.f64 x 3)) (+.f64 (*.f64 13/15 (pow.f64 x 7)) (*.f64 41/378 (pow.f64 x 9)))))
(pow.f64 (-.f64 (exp.f64 x) (/.f64 1 (exp.f64 x))) 3)
(pow.f64 (-.f64 (exp.f64 x) (/.f64 1 (exp.f64 x))) 3)
(pow.f64 (-.f64 (exp.f64 x) (/.f64 1 (exp.f64 x))) 3)
(pow.f64 (-.f64 (exp.f64 x) (/.f64 1 (exp.f64 x))) 3)
(pow.f64 (-.f64 (exp.f64 x) (/.f64 1 (exp.f64 x))) 3)
(pow.f64 (-.f64 (exp.f64 x) (/.f64 1 (exp.f64 x))) 3)
(pow.f64 (-.f64 (exp.f64 x) (/.f64 1 (exp.f64 x))) 3)
(pow.f64 (-.f64 (exp.f64 x) (/.f64 1 (exp.f64 x))) 3)
(*.f64 4 (pow.f64 x 2))
(+.f64 (*.f64 4 (pow.f64 x 2)) (*.f64 4/3 (pow.f64 x 4)))
(+.f64 (*.f64 4 (pow.f64 x 2)) (+.f64 (*.f64 4/3 (pow.f64 x 4)) (*.f64 8/45 (pow.f64 x 6))))
(+.f64 (*.f64 4 (pow.f64 x 2)) (+.f64 (*.f64 4/3 (pow.f64 x 4)) (+.f64 (*.f64 4/315 (pow.f64 x 8)) (*.f64 8/45 (pow.f64 x 6)))))
(pow.f64 (-.f64 (exp.f64 x) (/.f64 1 (exp.f64 x))) 2)
(pow.f64 (-.f64 (exp.f64 x) (/.f64 1 (exp.f64 x))) 2)
(pow.f64 (-.f64 (exp.f64 x) (/.f64 1 (exp.f64 x))) 2)
(pow.f64 (-.f64 (exp.f64 x) (/.f64 1 (exp.f64 x))) 2)
(pow.f64 (-.f64 (exp.f64 x) (/.f64 1 (exp.f64 x))) 2)
(pow.f64 (-.f64 (exp.f64 x) (/.f64 1 (exp.f64 x))) 2)
(pow.f64 (-.f64 (exp.f64 x) (/.f64 1 (exp.f64 x))) 2)
(pow.f64 (-.f64 (exp.f64 x) (/.f64 1 (exp.f64 x))) 2)
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 2 x))
(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/3 (pow.f64 x 3) (fma.f64 1/60 (pow.f64 x 5) (*.f64 2 x)))
(fma.f64 1/3 (pow.f64 x 3) (fma.f64 1/60 (pow.f64 x 5) (+.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) (/.f64 1 (exp.f64 x)))
(-.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))
(-.f64 (exp.f64 x) (/.f64 1 (exp.f64 x)))
(-.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))
(-.f64 (exp.f64 x) (/.f64 1 (exp.f64 x)))
(-.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))
(-.f64 (exp.f64 x) (/.f64 1 (exp.f64 x)))
(-.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))
(-.f64 (exp.f64 x) (/.f64 1 (exp.f64 x)))
(-.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))
(-.f64 (exp.f64 x) (/.f64 1 (exp.f64 x)))
(-.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))
(-.f64 (exp.f64 x) (/.f64 1 (exp.f64 x)))
(-.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))
(-.f64 (exp.f64 x) (/.f64 1 (exp.f64 x)))
(-.f64 (exp.f64 x) (exp.f64 (neg.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)))
(fma.f64 (pow.f64 x 3) -1/3 (fma.f64 (pow.f64 x 7) -17/315 (fma.f64 (pow.f64 x 5) 2/15 x)))
(/.f64 (-.f64 (exp.f64 x) (/.f64 1 (exp.f64 x))) (+.f64 (exp.f64 (neg.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) (/.f64 1 (exp.f64 x))) (+.f64 (exp.f64 (neg.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) (/.f64 1 (exp.f64 x))) (+.f64 (exp.f64 (neg.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) (/.f64 1 (exp.f64 x))) (+.f64 (exp.f64 (neg.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) (/.f64 1 (exp.f64 x))) (+.f64 (exp.f64 x) (exp.f64 (*.f64 -1 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) (/.f64 1 (exp.f64 x))) (+.f64 (exp.f64 x) (exp.f64 (*.f64 -1 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) (/.f64 1 (exp.f64 x))) (+.f64 (exp.f64 x) (exp.f64 (*.f64 -1 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) (/.f64 1 (exp.f64 x))) (+.f64 (exp.f64 x) (exp.f64 (*.f64 -1 x))))
(/.f64 (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))
(*.f64 8 (pow.f64 x 3))
(*.f64 (pow.f64 x 3) 8)
(+.f64 (*.f64 4 (pow.f64 x 5)) (*.f64 8 (pow.f64 x 3)))
(fma.f64 4 (pow.f64 x 5) (*.f64 (pow.f64 x 3) 8))
(fma.f64 (pow.f64 x 3) 8 (*.f64 (pow.f64 x 5) 4))
(+.f64 (*.f64 4 (pow.f64 x 5)) (+.f64 (*.f64 8 (pow.f64 x 3)) (*.f64 13/15 (pow.f64 x 7))))
(fma.f64 4 (pow.f64 x 5) (fma.f64 8 (pow.f64 x 3) (*.f64 (pow.f64 x 7) 13/15)))
(fma.f64 (pow.f64 x 5) 4 (fma.f64 (pow.f64 x 3) 8 (*.f64 (pow.f64 x 7) 13/15)))
(fma.f64 (pow.f64 x 3) 8 (fma.f64 (pow.f64 x 5) 4 (*.f64 (pow.f64 x 7) 13/15)))
(+.f64 (*.f64 4 (pow.f64 x 5)) (+.f64 (*.f64 8 (pow.f64 x 3)) (+.f64 (*.f64 13/15 (pow.f64 x 7)) (*.f64 41/378 (pow.f64 x 9)))))
(fma.f64 4 (pow.f64 x 5) (fma.f64 8 (pow.f64 x 3) (fma.f64 13/15 (pow.f64 x 7) (*.f64 41/378 (pow.f64 x 9)))))
(fma.f64 (pow.f64 x 5) 4 (fma.f64 (pow.f64 x 3) 8 (fma.f64 (pow.f64 x 7) 13/15 (*.f64 41/378 (pow.f64 x 9)))))
(fma.f64 (pow.f64 x 3) 8 (fma.f64 (pow.f64 x 5) 4 (fma.f64 (pow.f64 x 7) 13/15 (*.f64 41/378 (pow.f64 x 9)))))
(fma.f64 (pow.f64 x 5) 4 (fma.f64 (pow.f64 x 7) 13/15 (fma.f64 41/378 (pow.f64 x 9) (*.f64 (pow.f64 x 3) 8))))
(pow.f64 (-.f64 (exp.f64 x) (/.f64 1 (exp.f64 x))) 3)
(pow.f64 (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) 3)
(pow.f64 (-.f64 (exp.f64 x) (/.f64 1 (exp.f64 x))) 3)
(pow.f64 (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) 3)
(pow.f64 (-.f64 (exp.f64 x) (/.f64 1 (exp.f64 x))) 3)
(pow.f64 (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) 3)
(pow.f64 (-.f64 (exp.f64 x) (/.f64 1 (exp.f64 x))) 3)
(pow.f64 (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) 3)
(pow.f64 (-.f64 (exp.f64 x) (/.f64 1 (exp.f64 x))) 3)
(pow.f64 (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) 3)
(pow.f64 (-.f64 (exp.f64 x) (/.f64 1 (exp.f64 x))) 3)
(pow.f64 (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) 3)
(pow.f64 (-.f64 (exp.f64 x) (/.f64 1 (exp.f64 x))) 3)
(pow.f64 (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) 3)
(pow.f64 (-.f64 (exp.f64 x) (/.f64 1 (exp.f64 x))) 3)
(pow.f64 (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) 3)
(*.f64 4 (pow.f64 x 2))
(*.f64 4 (*.f64 x x))
(*.f64 x (*.f64 x 4))
(+.f64 (*.f64 4 (pow.f64 x 2)) (*.f64 4/3 (pow.f64 x 4)))
(fma.f64 4 (*.f64 x x) (*.f64 4/3 (pow.f64 x 4)))
(fma.f64 x (*.f64 x 4) (*.f64 4/3 (pow.f64 x 4)))
(fma.f64 4/3 (pow.f64 x 4) (*.f64 x (*.f64 x 4)))
(+.f64 (*.f64 4 (pow.f64 x 2)) (+.f64 (*.f64 4/3 (pow.f64 x 4)) (*.f64 8/45 (pow.f64 x 6))))
(fma.f64 4 (*.f64 x x) (fma.f64 4/3 (pow.f64 x 4) (*.f64 8/45 (pow.f64 x 6))))
(fma.f64 x (*.f64 x 4) (fma.f64 4/3 (pow.f64 x 4) (*.f64 8/45 (pow.f64 x 6))))
(fma.f64 4/3 (pow.f64 x 4) (fma.f64 x (*.f64 x 4) (*.f64 8/45 (pow.f64 x 6))))
(fma.f64 4/3 (pow.f64 x 4) (fma.f64 8/45 (pow.f64 x 6) (*.f64 x (*.f64 x 4))))
(+.f64 (*.f64 4 (pow.f64 x 2)) (+.f64 (*.f64 4/3 (pow.f64 x 4)) (+.f64 (*.f64 4/315 (pow.f64 x 8)) (*.f64 8/45 (pow.f64 x 6)))))
(fma.f64 4 (*.f64 x x) (fma.f64 4/3 (pow.f64 x 4) (fma.f64 4/315 (pow.f64 x 8) (*.f64 8/45 (pow.f64 x 6)))))
(fma.f64 4 (*.f64 x x) (fma.f64 4/3 (pow.f64 x 4) (fma.f64 8/45 (pow.f64 x 6) (*.f64 4/315 (pow.f64 x 8)))))
(fma.f64 x (*.f64 x 4) (fma.f64 4/3 (pow.f64 x 4) (fma.f64 8/45 (pow.f64 x 6) (*.f64 4/315 (pow.f64 x 8)))))
(fma.f64 x (*.f64 x 4) (fma.f64 8/45 (pow.f64 x 6) (fma.f64 4/315 (pow.f64 x 8) (*.f64 4/3 (pow.f64 x 4)))))
(pow.f64 (-.f64 (exp.f64 x) (/.f64 1 (exp.f64 x))) 2)
(pow.f64 (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) 2)
(pow.f64 (-.f64 (exp.f64 x) (/.f64 1 (exp.f64 x))) 2)
(pow.f64 (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) 2)
(pow.f64 (-.f64 (exp.f64 x) (/.f64 1 (exp.f64 x))) 2)
(pow.f64 (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) 2)
(pow.f64 (-.f64 (exp.f64 x) (/.f64 1 (exp.f64 x))) 2)
(pow.f64 (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) 2)
(pow.f64 (-.f64 (exp.f64 x) (/.f64 1 (exp.f64 x))) 2)
(pow.f64 (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) 2)
(pow.f64 (-.f64 (exp.f64 x) (/.f64 1 (exp.f64 x))) 2)
(pow.f64 (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) 2)
(pow.f64 (-.f64 (exp.f64 x) (/.f64 1 (exp.f64 x))) 2)
(pow.f64 (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) 2)
(pow.f64 (-.f64 (exp.f64 x) (/.f64 1 (exp.f64 x))) 2)
(pow.f64 (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) 2)

eval72.0ms (1.6%)

Compiler

Compiled 3673 to 2096 computations (42.9% saved)

prune33.0ms (0.7%)

Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New2473250
Fresh101
Picked101
Done112
Total2504254
Error
0b
Counts
254 → 4
Alt Table
Click to see full alt table
StatusErrorProgram
2.5b
(/.f64 (sinh.f64 x) (cosh.f64 x))
40.4b
(cbrt.f64 (pow.f64 (tanh.f64 x) 3))
3.3b
x
0.0b
(tanh.f64 x)
Compiler

Compiled 17 to 12 computations (29.4% saved)

localize9.0ms (0.2%)

Local error

Found 3 expressions with local error:

NewErrorProgram
0.0b
(tanh.f64 x)
0.0b
(pow.f64 (tanh.f64 x) 3)
40.4b
(cbrt.f64 (pow.f64 (tanh.f64 x) 3))
Compiler

Compiled 14 to 8 computations (42.9% saved)

series4.0ms (0.1%)

Counts
2 → 24
Calls

6 calls:

TimeVariablePointExpression
1.0ms
x
@inf
(pow.f64 (tanh.f64 x) 3)
1.0ms
x
@-inf
(pow.f64 (tanh.f64 x) 3)
0.0ms
x
@0
(pow.f64 (tanh.f64 x) 3)
0.0ms
x
@inf
(cbrt.f64 (pow.f64 (tanh.f64 x) 3))
0.0ms
x
@0
(cbrt.f64 (pow.f64 (tanh.f64 x) 3))

rewrite53.0ms (1.2%)

Algorithm
batch-egg-rewrite
Rules
637×pow1_binary64
606×add-log-exp_binary64
604×log1p-expm1-u_binary64
604×expm1-log1p-u_binary64
592×add-exp-log_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
069
11429
215799
Stop Event
node limit
Counts
2 → 63
Calls
Call 1
Inputs
(cbrt.f64 (pow.f64 (tanh.f64 x) 3))
(pow.f64 (tanh.f64 x) 3)
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 (pow.f64 (exp.f64 -2) x))) (/.f64 (pow.f64 (exp.f64 -2) x) (+.f64 1 (pow.f64 (exp.f64 -2) x))))))) (#(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 (cbrt.f64 (tanh.f64 x)) (pow.f64 (pow.f64 (tanh.f64 x) 2) 1/3))))) (#(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 (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 (pow.f64 (pow.f64 (tanh.f64 x) 2) 1/3) (cbrt.f64 (tanh.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 1 1/3) (tanh.f64 x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (pow.f64 (tanh.f64 x) 3/2) 1/3) (pow.f64 (pow.f64 (tanh.f64 x) 3/2) 1/3))))) (#(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 (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 (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 (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 (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 (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 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 (+.f64 1 (pow.f64 (tanh.f64 x) 3)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (tanh.f64 x) (pow.f64 (tanh.f64 x) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (tanh.f64 x) 3) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (pow.f64 (tanh.f64 x) 3))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (tanh.f64 x) 2) (tanh.f64 x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (tanh.f64 x)) 2) (*.f64 (cbrt.f64 (tanh.f64 x)) (pow.f64 (tanh.f64 x) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (tanh.f64 x)) (*.f64 (sqrt.f64 (tanh.f64 x)) (pow.f64 (tanh.f64 x) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (tanh.f64 x) 3/2) (pow.f64 (tanh.f64 x) 3/2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (pow.f64 (cbrt.f64 (tanh.f64 x)) 2) 3) (tanh.f64 x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (sqrt.f64 (tanh.f64 x)) 3) (pow.f64 (sqrt.f64 (tanh.f64 x)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (pow.f64 (tanh.f64 x) 2) 1) (tanh.f64 x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (pow.f64 (tanh.f64 x) 2) (pow.f64 (cbrt.f64 (tanh.f64 x)) 2)) (cbrt.f64 (tanh.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (pow.f64 (tanh.f64 x) 2) (sqrt.f64 (tanh.f64 x))) (sqrt.f64 (tanh.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (pow.f64 (-.f64 1 (pow.f64 (exp.f64 -2) x)) 3) (pow.f64 (+.f64 1 (pow.f64 (exp.f64 -2) x)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (pow.f64 (expm1.f64 (*.f64 x 2)) 3) (pow.f64 (+.f64 1 (pow.f64 (exp.f64 2) x)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (pow.f64 (*.f64 2 (sinh.f64 x)) 3) (pow.f64 (*.f64 2 (cosh.f64 x)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (-.f64 1 (pow.f64 (exp.f64 -2) x)) (pow.f64 (tanh.f64 x) 2)) (+.f64 1 (pow.f64 (exp.f64 -2) x)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (expm1.f64 (*.f64 x 2)) (pow.f64 (tanh.f64 x) 2)) (+.f64 1 (pow.f64 (exp.f64 2) x)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (*.f64 2 (sinh.f64 x)) (pow.f64 (tanh.f64 x) 2)) (*.f64 2 (cosh.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (pow.f64 (tanh.f64 x) 2) (-.f64 1 (pow.f64 (exp.f64 -2) x))) (+.f64 1 (pow.f64 (exp.f64 -2) x)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (pow.f64 (tanh.f64 x) 2) (expm1.f64 (*.f64 x 2))) (+.f64 1 (pow.f64 (exp.f64 2) x)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (pow.f64 (tanh.f64 x) 2) (*.f64 2 (sinh.f64 x))) (*.f64 2 (cosh.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (tanh.f64 x) 6))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (pow.f64 (tanh.f64 x) 3)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (pow.f64 (tanh.f64 x) 3) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (pow.f64 (tanh.f64 x) 3)))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (pow.f64 (tanh.f64 x) 3)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 3 (log.f64 (tanh.f64 x))))))))

simplify48.0ms (1.1%)

Algorithm
egg-herbie
Rules
729×distribute-rgt-in_binary64
696×distribute-lft-in_binary64
439×fma-def_binary64
389×associate-/r/_binary64
342×associate-/l/_binary64
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
040504
1115501
2314501
31020477
43065477
Stop Event
node limit
Counts
87 → 81
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)))
(pow.f64 x 3)
(+.f64 (*.f64 -1 (pow.f64 x 5)) (pow.f64 x 3))
(+.f64 (*.f64 -1 (pow.f64 x 5)) (+.f64 (*.f64 11/15 (pow.f64 x 7)) (pow.f64 x 3)))
(+.f64 (*.f64 -1 (pow.f64 x 5)) (+.f64 (*.f64 -88/189 (pow.f64 x 9)) (+.f64 (*.f64 11/15 (pow.f64 x 7)) (pow.f64 x 3))))
(/.f64 (pow.f64 (-.f64 (exp.f64 x) (/.f64 1 (exp.f64 x))) 3) (pow.f64 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x)) 3))
(/.f64 (pow.f64 (-.f64 (exp.f64 x) (/.f64 1 (exp.f64 x))) 3) (pow.f64 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x)) 3))
(/.f64 (pow.f64 (-.f64 (exp.f64 x) (/.f64 1 (exp.f64 x))) 3) (pow.f64 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x)) 3))
(/.f64 (pow.f64 (-.f64 (exp.f64 x) (/.f64 1 (exp.f64 x))) 3) (pow.f64 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x)) 3))
(/.f64 (pow.f64 (-.f64 (exp.f64 x) (/.f64 1 (exp.f64 x))) 3) (pow.f64 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x)) 3))
(/.f64 (pow.f64 (-.f64 (exp.f64 x) (/.f64 1 (exp.f64 x))) 3) (pow.f64 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x)) 3))
(/.f64 (pow.f64 (-.f64 (exp.f64 x) (/.f64 1 (exp.f64 x))) 3) (pow.f64 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x)) 3))
(/.f64 (pow.f64 (-.f64 (exp.f64 x) (/.f64 1 (exp.f64 x))) 3) (pow.f64 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x)) 3))
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) (/.f64 1 (exp.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) (/.f64 1 (exp.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) (/.f64 1 (exp.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) (/.f64 1 (exp.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) (/.f64 1 (exp.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) (/.f64 1 (exp.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) (/.f64 1 (exp.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) (/.f64 1 (exp.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))))
(pow.f64 x 3)
(+.f64 (*.f64 -1 (pow.f64 x 5)) (pow.f64 x 3))
(fma.f64 -1 (pow.f64 x 5) (pow.f64 x 3))
(-.f64 (pow.f64 x 3) (pow.f64 x 5))
(+.f64 (*.f64 -1 (pow.f64 x 5)) (+.f64 (*.f64 11/15 (pow.f64 x 7)) (pow.f64 x 3)))
(fma.f64 -1 (pow.f64 x 5) (fma.f64 11/15 (pow.f64 x 7) (pow.f64 x 3)))
(-.f64 (fma.f64 (pow.f64 x 7) 11/15 (pow.f64 x 3)) (pow.f64 x 5))
(+.f64 (*.f64 -1 (pow.f64 x 5)) (+.f64 (*.f64 -88/189 (pow.f64 x 9)) (+.f64 (*.f64 11/15 (pow.f64 x 7)) (pow.f64 x 3))))
(fma.f64 -1 (pow.f64 x 5) (fma.f64 -88/189 (pow.f64 x 9) (fma.f64 11/15 (pow.f64 x 7) (pow.f64 x 3))))
(-.f64 (fma.f64 -88/189 (pow.f64 x 9) (fma.f64 (pow.f64 x 7) 11/15 (pow.f64 x 3))) (pow.f64 x 5))
(-.f64 (fma.f64 (pow.f64 x 7) 11/15 (fma.f64 -88/189 (pow.f64 x 9) (pow.f64 x 3))) (pow.f64 x 5))
(fma.f64 (pow.f64 x 7) 11/15 (-.f64 (fma.f64 -88/189 (pow.f64 x 9) (pow.f64 x 3)) (pow.f64 x 5)))
(/.f64 (pow.f64 (-.f64 (exp.f64 x) (/.f64 1 (exp.f64 x))) 3) (pow.f64 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x)) 3))
(/.f64 (pow.f64 (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) 3) (pow.f64 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) 3))
(pow.f64 (/.f64 (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))) 3)
(/.f64 (pow.f64 (-.f64 (exp.f64 x) (/.f64 1 (exp.f64 x))) 3) (pow.f64 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x)) 3))
(/.f64 (pow.f64 (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) 3) (pow.f64 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) 3))
(pow.f64 (/.f64 (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))) 3)
(/.f64 (pow.f64 (-.f64 (exp.f64 x) (/.f64 1 (exp.f64 x))) 3) (pow.f64 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x)) 3))
(/.f64 (pow.f64 (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) 3) (pow.f64 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) 3))
(pow.f64 (/.f64 (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))) 3)
(/.f64 (pow.f64 (-.f64 (exp.f64 x) (/.f64 1 (exp.f64 x))) 3) (pow.f64 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x)) 3))
(/.f64 (pow.f64 (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) 3) (pow.f64 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) 3))
(pow.f64 (/.f64 (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))) 3)
(/.f64 (pow.f64 (-.f64 (exp.f64 x) (/.f64 1 (exp.f64 x))) 3) (pow.f64 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x)) 3))
(/.f64 (pow.f64 (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) 3) (pow.f64 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) 3))
(pow.f64 (/.f64 (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))) 3)
(/.f64 (pow.f64 (-.f64 (exp.f64 x) (/.f64 1 (exp.f64 x))) 3) (pow.f64 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x)) 3))
(/.f64 (pow.f64 (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) 3) (pow.f64 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) 3))
(pow.f64 (/.f64 (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))) 3)
(/.f64 (pow.f64 (-.f64 (exp.f64 x) (/.f64 1 (exp.f64 x))) 3) (pow.f64 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x)) 3))
(/.f64 (pow.f64 (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) 3) (pow.f64 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) 3))
(pow.f64 (/.f64 (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))) 3)
(/.f64 (pow.f64 (-.f64 (exp.f64 x) (/.f64 1 (exp.f64 x))) 3) (pow.f64 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x)) 3))
(/.f64 (pow.f64 (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) 3) (pow.f64 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) 3))
(pow.f64 (/.f64 (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))) 3)

localize6.0ms (0.1%)

Local error

Found 2 expressions with local error:

NewErrorProgram
0.0b
(sinh.f64 x)
2.5b
(/.f64 (sinh.f64 x) (cosh.f64 x))
Compiler

Compiled 11 to 4 computations (63.6% saved)

series3.0ms (0.1%)

Counts
1 → 12
Calls

3 calls:

TimeVariablePointExpression
3.0ms
x
@-inf
(/.f64 (sinh.f64 x) (cosh.f64 x))
0.0ms
x
@0
(/.f64 (sinh.f64 x) (cosh.f64 x))
0.0ms
x
@inf
(/.f64 (sinh.f64 x) (cosh.f64 x))

rewrite49.0ms (1.1%)

Algorithm
batch-egg-rewrite
Rules
625×pow1_binary64
581×add-log-exp_binary64
580×log1p-expm1-u_binary64
580×expm1-log1p-u_binary64
568×add-exp-log_binary64
Iterations

Useful iterations: 0 (0.0ms)

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

simplify68.0ms (1.5%)

Algorithm
egg-herbie
Rules
871×div-sub_binary64
830×fma-def_binary64
624×unswap-sqr_binary64
590×fma-neg_binary64
303×associate-*l*_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
024222
165222
2140222
3333222
4688222
51579222
62473222
73981222
86252222
Stop Event
node limit
Counts
43 → 40
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)))
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) (/.f64 1 (exp.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) (/.f64 1 (exp.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) (/.f64 1 (exp.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) (/.f64 1 (exp.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) (/.f64 1 (exp.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) (/.f64 1 (exp.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) (/.f64 1 (exp.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) (/.f64 1 (exp.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))))

eval53.0ms (1.2%)

Compiler

Compiled 2124 to 1296 computations (39% saved)

prune22.0ms (0.5%)

Pruning

4 alts after pruning (1 fresh and 3 done)

PrunedKeptTotal
New1901191
Fresh101
Picked011
Done022
Total1914195
Error
0b
Counts
195 → 4
Alt Table
Click to see full alt table
StatusErrorProgram
3.3b
x
2.5b
(/.f64 (sinh.f64 x) (cosh.f64 x))
40.4b
(cbrt.f64 (pow.f64 (tanh.f64 x) 3))
0.0b
(tanh.f64 x)
Compiler

Compiled 17 to 12 computations (29.4% saved)

eval0.0ms (0%)

Compiler

Compiled 1 to 1 computations (0% saved)

prune2.0ms (0%)

Pruning

4 alts after pruning (1 fresh and 3 done)

PrunedKeptTotal
New000
Fresh011
Picked000
Done033
Total044
Error
0b
Counts
4 → 4
Alt Table
Click to see full alt table
StatusErrorProgram
3.3b
x
2.5b
(/.f64 (sinh.f64 x) (cosh.f64 x))
40.4b
(cbrt.f64 (pow.f64 (tanh.f64 x) 3))
0.0b
(tanh.f64 x)
Compiler

Compiled 17 to 12 computations (29.4% saved)

regimes12.0ms (0.3%)

Counts
9 → 1
Calls
Call 1
Inputs
x
x
x
(tanh.f64 x)
(/.f64 (sinh.f64 x) (cosh.f64 x))
(*.f64 (*.f64 2 (sinh.f64 x)) (/.f64 1 (*.f64 2 (cosh.f64 x))))
(cbrt.f64 (pow.f64 (tanh.f64 x) 3))
(/.f64 (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))
(/.f64 (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))))
Outputs
(tanh.f64 x)
Calls

2 calls:

6.0ms
x
4.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 78 to 39 computations (50% saved)

regimes4.0ms (0.1%)

Accuracy

Total 0.0b remaining (0%)

Threshold costs 0.0b (0%)

Counts
3 → 1
Calls
Call 1
Inputs
x
x
x
Outputs
x
Calls

1 calls:

4.0ms
x
Results
ErrorSegmentsBranch
3.3b1x
Compiler

Compiled 6 to 2 computations (66.7% saved)

simplify3.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)

soundness0.0ms (0%)

end14.0ms (0.3%)

Compiler

Compiled 4 to 2 computations (50% saved)

Profiling

Loading profile data...