Details

Time bar (total: 3.6s)

analyze18.0ms (0.5%)

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
50.4%1%48.6%13
50.5%0.9%48.6%14
Compiler

Compiled 15 to 8 computations (46.7% saved)

sample2.9s (80.2%)

Results
1.8s4102×body1024valid
567.0ms1993×body512valid
209.0ms416×body2048valid
185.0ms966×body256valid
80.0ms779×body128valid
Compiler

Compiled 30 to 16 computations (46.7% saved)

preprocess29.0ms (0.8%)

Algorithm
egg-herbie
Rules
720×fma-def_binary64
478×fma-neg_binary64
464×times-frac_binary64
264×associate-*l*_binary64
226×associate-*r*_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0822
12022
23522
35922
413322
533622
687822
7256922
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 14 to 7 computations (50% saved)

simplify21.0ms (0.6%)

Algorithm
egg-herbie
Rules
720×fma-def_binary64
478×fma-neg_binary64
464×times-frac_binary64
264×associate-*l*_binary64
226×associate-*r*_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0822
12022
23522
35922
413322
533622
687822
7256922
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))))

prune1.0ms (0%)

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022
Error
57.7b
Counts
2 → 1
Alt Table
StatusErrorProgram
57.7b
(/.f64 (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))
Compiler

Compiled 42 to 21 computations (50% saved)

localize6.0ms (0.2%)

Local error

Found 3 expressions with local error:

NewErrorProgram
0.0b
(+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))
1.0b
(/.f64 (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))
5.7b
(-.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))

series16.0ms (0.5%)

Counts
3 → 24
Calls

9 calls:

TimeVariablePointExpression
7.0ms
x
@inf
(/.f64 (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))
5.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)))
1.0ms
x
@0
(/.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)))

rewrite102.0ms (2.9%)

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
2369018
066
11306
221496
066
083
11863
236903
083
066
11296
221296
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 exp.f64 (log.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 expm1.f64 (log1p.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 exp.f64 (log.f64 (tanh.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x tanh.f64 x)))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.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 *.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 exp.f64 (log.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 expm1.f64 (log1p.f64 (*.f64 2 (cosh.f64 x))))))))

simplify35.0ms (1%)

Algorithm
egg-herbie
Rules
783×fma-def_binary64
695×fma-neg_binary64
507×unswap-sqr_binary64
471×associate-*l*_binary64
377×associate-*r*_binary64
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
050321
1138317
2352311
31114309
43894309
Stop Event
node limit
Counts
61 → 64
Calls
Call 1
Inputs
(*.f64 2 x)
(+.f64 (*.f64 1/3 (pow.f64 x 3)) (*.f64 2 x))
(+.f64 (*.f64 1/60 (pow.f64 x 5)) (+.f64 (*.f64 1/3 (pow.f64 x 3)) (*.f64 2 x)))
(+.f64 (*.f64 1/60 (pow.f64 x 5)) (+.f64 (*.f64 1/2520 (pow.f64 x 7)) (+.f64 (*.f64 1/3 (pow.f64 x 3)) (*.f64 2 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)))
x
(-.f64 x (*.f64 1/3 (pow.f64 x 3)))
(-.f64 (+.f64 (*.f64 2/15 (pow.f64 x 5)) x) (*.f64 1/3 (pow.f64 x 3)))
(-.f64 (+.f64 (*.f64 2/15 (pow.f64 x 5)) x) (+.f64 (*.f64 17/315 (pow.f64 x 7)) (*.f64 1/3 (pow.f64 x 3))))
(/.f64 (-.f64 (exp.f64 x) (exp.f64 (*.f64 -1 x))) (+.f64 (exp.f64 (*.f64 -1 x)) (exp.f64 x)))
(/.f64 (-.f64 (exp.f64 x) (exp.f64 (*.f64 -1 x))) (+.f64 (exp.f64 (*.f64 -1 x)) (exp.f64 x)))
(/.f64 (-.f64 (exp.f64 x) (exp.f64 (*.f64 -1 x))) (+.f64 (exp.f64 (*.f64 -1 x)) (exp.f64 x)))
(/.f64 (-.f64 (exp.f64 x) (exp.f64 (*.f64 -1 x))) (+.f64 (exp.f64 (*.f64 -1 x)) (exp.f64 x)))
2
(+.f64 2 (pow.f64 x 2))
(+.f64 (*.f64 1/12 (pow.f64 x 4)) (+.f64 2 (pow.f64 x 2)))
(+.f64 (*.f64 1/12 (pow.f64 x 4)) (+.f64 2 (+.f64 (*.f64 1/360 (pow.f64 x 6)) (pow.f64 x 2))))
(+.f64 (exp.f64 (*.f64 -1 x)) (exp.f64 x))
(+.f64 (exp.f64 (*.f64 -1 x)) (exp.f64 x))
(+.f64 (exp.f64 (*.f64 -1 x)) (exp.f64 x))
(+.f64 (exp.f64 (*.f64 -1 x)) (exp.f64 x))
Outputs
(*.f64 2 x)
(+.f64 (*.f64 1/3 (pow.f64 x 3)) (*.f64 2 x))
(fma.f64 1/3 (pow.f64 x 3) (*.f64 2 x))
(fma.f64 2 x (*.f64 1/3 (pow.f64 x 3)))
(+.f64 (*.f64 1/60 (pow.f64 x 5)) (+.f64 (*.f64 1/3 (pow.f64 x 3)) (*.f64 2 x)))
(fma.f64 1/60 (pow.f64 x 5) (fma.f64 1/3 (pow.f64 x 3) (*.f64 2 x)))
(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 2 x (*.f64 1/3 (pow.f64 x 3))))
(+.f64 (*.f64 1/60 (pow.f64 x 5)) (+.f64 (*.f64 1/2520 (pow.f64 x 7)) (+.f64 (*.f64 1/3 (pow.f64 x 3)) (*.f64 2 x))))
(fma.f64 1/60 (pow.f64 x 5) (fma.f64 1/2520 (pow.f64 x 7) (fma.f64 1/3 (pow.f64 x 3) (*.f64 2 x))))
(fma.f64 1/60 (pow.f64 x 5) (fma.f64 1/3 (pow.f64 x 3) (fma.f64 2 x (*.f64 1/2520 (pow.f64 x 7)))))
(fma.f64 1/2520 (pow.f64 x 7) (fma.f64 1/60 (pow.f64 x 5) (fma.f64 1/3 (pow.f64 x 3) (*.f64 2 x))))
(fma.f64 x (fma.f64 x (*.f64 x 1/3) 2) (fma.f64 1/60 (pow.f64 x 5) (*.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 (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 x (*.f64 1/3 (pow.f64 x 3)))
(+.f64 x (*.f64 (pow.f64 x 3) -1/3))
(fma.f64 (pow.f64 x 3) -1/3 x)
(-.f64 (+.f64 (*.f64 2/15 (pow.f64 x 5)) x) (*.f64 1/3 (pow.f64 x 3)))
(+.f64 (fma.f64 2/15 (pow.f64 x 5) x) (*.f64 -1/3 (pow.f64 x 3)))
(+.f64 (fma.f64 (pow.f64 x 5) 2/15 x) (*.f64 (pow.f64 x 3) -1/3))
(fma.f64 (pow.f64 x 5) 2/15 (fma.f64 (pow.f64 x 3) -1/3 x))
(-.f64 (+.f64 (*.f64 2/15 (pow.f64 x 5)) x) (+.f64 (*.f64 17/315 (pow.f64 x 7)) (*.f64 1/3 (pow.f64 x 3))))
(-.f64 (fma.f64 2/15 (pow.f64 x 5) x) (fma.f64 17/315 (pow.f64 x 7) (*.f64 1/3 (pow.f64 x 3))))
(-.f64 (fma.f64 (pow.f64 x 5) 2/15 x) (fma.f64 1/3 (pow.f64 x 3) (*.f64 (pow.f64 x 7) 17/315)))
(+.f64 (fma.f64 (pow.f64 x 5) 2/15 x) (fma.f64 (pow.f64 x 3) -1/3 (*.f64 (pow.f64 x 7) -17/315)))
(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 (*.f64 -1 x))) (+.f64 (exp.f64 (*.f64 -1 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 (*.f64 -1 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 (*.f64 -1 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 (*.f64 -1 x)) (exp.f64 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 (*.f64 1/12 (pow.f64 x 4)) (+.f64 2 (pow.f64 x 2)))
(fma.f64 1/12 (pow.f64 x 4) (+.f64 2 (*.f64 x x)))
(fma.f64 1/12 (pow.f64 x 4) (fma.f64 x x 2))
(fma.f64 x x (fma.f64 1/12 (pow.f64 x 4) 2))
(+.f64 (*.f64 1/12 (pow.f64 x 4)) (+.f64 2 (+.f64 (*.f64 1/360 (pow.f64 x 6)) (pow.f64 x 2))))
(fma.f64 1/12 (pow.f64 x 4) (+.f64 2 (fma.f64 1/360 (pow.f64 x 6) (*.f64 x x))))
(+.f64 (fma.f64 1/360 (pow.f64 x 6) (*.f64 x x)) (fma.f64 1/12 (pow.f64 x 4) 2))
(fma.f64 1/12 (pow.f64 x 4) (fma.f64 x x (fma.f64 1/360 (pow.f64 x 6) 2)))
(fma.f64 1/360 (pow.f64 x 6) (fma.f64 1/12 (pow.f64 x 4) (fma.f64 x x 2)))
(+.f64 (exp.f64 (*.f64 -1 x)) (exp.f64 x))
(+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))
(+.f64 (exp.f64 (*.f64 -1 x)) (exp.f64 x))
(+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))
(+.f64 (exp.f64 (*.f64 -1 x)) (exp.f64 x))
(+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))
(+.f64 (exp.f64 (*.f64 -1 x)) (exp.f64 x))
(+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))

prune42.0ms (1.2%)

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New62264
Fresh000
Picked101
Done000
Total63265
Error
0b
Counts
65 → 2
Alt Table
StatusErrorProgram
1.4b
(-.f64 (+.f64 (*.f64 2/15 (pow.f64 x 5)) x) (+.f64 (*.f64 17/315 (pow.f64 x 7)) (*.f64 1/3 (pow.f64 x 3))))
0.0b
(tanh.f64 x)
Compiler

Compiled 978 to 435 computations (55.5% saved)

localize1.0ms (0%)

Local error

Found 1 expressions with local error:

NewErrorProgram
0.0b
(tanh.f64 x)

series19.0ms (0.5%)

Counts
1 → 12
Calls

3 calls:

TimeVariablePointExpression
10.0ms
x
@-inf
(tanh.f64 x)
8.0ms
x
@inf
(tanh.f64 x)
1.0ms
x
@0
(tanh.f64 x)

rewrite29.0ms (0.8%)

Algorithm
batch-egg-rewrite
Rules
465×pow1_binary64
437×add-log-exp_binary64
435×log1p-expm1-u_binary64
435×expm1-log1p-u_binary64
428×add-exp-log_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 (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 (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 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 cbrt.f64 (pow.f64 (tanh.f64 x) 3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.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 expm1.f64 (log1p.f64 (tanh.f64 x)))))))

simplify40.0ms (1.1%)

Algorithm
egg-herbie
Rules
490×fma-neg_binary64
404×distribute-rgt-neg-in_binary64
367×cancel-sign-sub-inv_binary64
299×distribute-lft-neg-in_binary64
281×fma-def_binary64
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
025228
173228
2179224
3535222
41589222
53314222
64744222
Stop Event
node limit
Counts
43 → 40
Calls
Call 1
Inputs
x
(-.f64 x (*.f64 1/3 (pow.f64 x 3)))
(-.f64 (+.f64 (*.f64 2/15 (pow.f64 x 5)) x) (*.f64 1/3 (pow.f64 x 3)))
(-.f64 (+.f64 (*.f64 2/15 (pow.f64 x 5)) x) (+.f64 (*.f64 17/315 (pow.f64 x 7)) (*.f64 1/3 (pow.f64 x 3))))
(/.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 x (*.f64 1/3 (pow.f64 x 3)))
(+.f64 x (*.f64 -1/3 (pow.f64 x 3)))
(fma.f64 (pow.f64 x 3) -1/3 x)
(-.f64 (+.f64 (*.f64 2/15 (pow.f64 x 5)) x) (*.f64 1/3 (pow.f64 x 3)))
(+.f64 (fma.f64 2/15 (pow.f64 x 5) x) (*.f64 -1/3 (pow.f64 x 3)))
(-.f64 (fma.f64 2/15 (pow.f64 x 5) x) (*.f64 1/3 (pow.f64 x 3)))
(fma.f64 (pow.f64 x 3) -1/3 (fma.f64 2/15 (pow.f64 x 5) x))
(-.f64 (+.f64 (*.f64 2/15 (pow.f64 x 5)) x) (+.f64 (*.f64 17/315 (pow.f64 x 7)) (*.f64 1/3 (pow.f64 x 3))))
(-.f64 (fma.f64 2/15 (pow.f64 x 5) x) (fma.f64 17/315 (pow.f64 x 7) (*.f64 1/3 (pow.f64 x 3))))
(-.f64 (fma.f64 2/15 (pow.f64 x 5) x) (fma.f64 1/3 (pow.f64 x 3) (*.f64 17/315 (pow.f64 x 7))))
(+.f64 x (fma.f64 2/15 (pow.f64 x 5) (fma.f64 (pow.f64 x 3) -1/3 (*.f64 (pow.f64 x 7) -17/315))))
(fma.f64 (pow.f64 x 7) -17/315 (fma.f64 (pow.f64 x 3) -1/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)))
(/.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))))

prune24.0ms (0.7%)

Pruning

2 alts after pruning (1 fresh and 1 done)

PrunedKeptTotal
New40040
Fresh011
Picked011
Done000
Total40242
Error
0b
Counts
42 → 2
Alt Table
StatusErrorProgram
1.4b
(-.f64 (+.f64 (*.f64 2/15 (pow.f64 x 5)) x) (+.f64 (*.f64 17/315 (pow.f64 x 7)) (*.f64 1/3 (pow.f64 x 3))))
0.0b
(tanh.f64 x)
Compiler

Compiled 436 to 305 computations (30% saved)

localize10.0ms (0.3%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.0b
(-.f64 (+.f64 (*.f64 2/15 (pow.f64 x 5)) x) (+.f64 (*.f64 17/315 (pow.f64 x 7)) (*.f64 1/3 (pow.f64 x 3))))
0.1b
(*.f64 2/15 (pow.f64 x 5))
0.1b
(*.f64 17/315 (pow.f64 x 7))
0.1b
(*.f64 1/3 (pow.f64 x 3))

series14.0ms (0.4%)

Counts
4 → 9
Calls

12 calls:

TimeVariablePointExpression
3.0ms
x
@-inf
(*.f64 17/315 (pow.f64 x 7))
1.0ms
x
@-inf
(-.f64 (+.f64 (*.f64 2/15 (pow.f64 x 5)) x) (+.f64 (*.f64 17/315 (pow.f64 x 7)) (*.f64 1/3 (pow.f64 x 3))))
1.0ms
x
@-inf
(*.f64 2/15 (pow.f64 x 5))
1.0ms
x
@inf
(*.f64 17/315 (pow.f64 x 7))
1.0ms
x
@inf
(-.f64 (+.f64 (*.f64 2/15 (pow.f64 x 5)) x) (+.f64 (*.f64 17/315 (pow.f64 x 7)) (*.f64 1/3 (pow.f64 x 3))))

rewrite41.0ms (1.1%)

Algorithm
batch-egg-rewrite
Rules
194×add-sqr-sqrt_binary64
187×add-log-exp_binary64
187×log1p-expm1-u_binary64
187×expm1-log1p-u_binary64
184×add-cube-cbrt_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01745
139945
Stop Event
node limit
Counts
4 → 97
Calls
Call 1
Inputs
(*.f64 1/3 (pow.f64 x 3))
(*.f64 17/315 (pow.f64 x 7))
(*.f64 2/15 (pow.f64 x 5))
(-.f64 (+.f64 (*.f64 2/15 (pow.f64 x 5)) x) (+.f64 (*.f64 17/315 (pow.f64 x 7)) (*.f64 1/3 (pow.f64 x 3))))
Outputs
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (*.f64 1/3 (pow.f64 x 3)))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 1/3 (pow.f64 x 3)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 x (cbrt.f64 1/3)) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 (sqrt.f64 1/3) (pow.f64 x 3/2)) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 1/3 (pow.f64 x 3)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (*.f64 (pow.f64 x 6) 1/9))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (pow.f64 (exp.f64 1/3) (pow.f64 x 3)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (*.f64 1/3 (pow.f64 x 3)))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (*.f64 1/3 (pow.f64 x 3)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (*.f64 1/3 (pow.f64 x 3))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (*.f64 1/3 (pow.f64 x 3))) 1))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 1/3 (pow.f64 x 3))))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 1/3 (pow.f64 x 3))))))))
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (*.f64 17/315 (pow.f64 x 7)))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 17/315 (pow.f64 x 7)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (*.f64 17/315 (pow.f64 x 7))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 (sqrt.f64 17/315) (pow.f64 x 7/2)) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 (pow.f64 (pow.f64 x 7) 3) 4913/31255875) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (*.f64 (pow.f64 x 14) 289/99225))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (pow.f64 (exp.f64 17/315) (pow.f64 x 7)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (*.f64 17/315 (pow.f64 x 7)))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (*.f64 (pow.f64 (pow.f64 x 7) 3) 4913/31255875))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (*.f64 17/315 (pow.f64 x 7))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (*.f64 17/315 (pow.f64 x 7))) 1))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 17/315 (pow.f64 x 7))))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 17/315 (pow.f64 x 7))))))))
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (*.f64 2/15 (pow.f64 x 5)))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 2/15 (pow.f64 x 5)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (*.f64 2/15 (pow.f64 x 5))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 (sqrt.f64 2/15) (pow.f64 x 5/2)) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 2/15 (pow.f64 x 5)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (*.f64 4/225 (pow.f64 x 10)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (pow.f64 (exp.f64 2/15) (pow.f64 x 5)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (*.f64 2/15 (pow.f64 x 5)))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (*.f64 2/15 (pow.f64 x 5)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (*.f64 2/15 (pow.f64 x 5))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (*.f64 2/15 (pow.f64 x 5))) 1))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 2/15 (pow.f64 x 5))))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 2/15 (pow.f64 x 5))))))))
((#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 2/15 (pow.f64 x 5)) (-.f64 x (fma.f64 1/3 (pow.f64 x 3) (*.f64 17/315 (pow.f64 x 7)))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (fma.f64 2/15 (pow.f64 x 5) x) (neg.f64 (fma.f64 1/3 (pow.f64 x 3) (*.f64 17/315 (pow.f64 x 7)))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (-.f64 (fma.f64 2/15 (pow.f64 x 5) x) (fma.f64 1/3 (pow.f64 x 3) (*.f64 17/315 (pow.f64 x 7)))) (fma.f64 (neg.f64 (cbrt.f64 (fma.f64 1/3 (pow.f64 x 3) (*.f64 17/315 (pow.f64 x 7))))) (cbrt.f64 (pow.f64 (fma.f64 1/3 (pow.f64 x 3) (*.f64 17/315 (pow.f64 x 7))) 2)) (fma.f64 1/3 (pow.f64 x 3) (*.f64 17/315 (pow.f64 x 7)))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (-.f64 (fma.f64 2/15 (pow.f64 x 5) x) (fma.f64 1/3 (pow.f64 x 3) (*.f64 17/315 (pow.f64 x 7)))) (fma.f64 (neg.f64 (sqrt.f64 (fma.f64 1/3 (pow.f64 x 3) (*.f64 17/315 (pow.f64 x 7))))) (sqrt.f64 (fma.f64 1/3 (pow.f64 x 3) (*.f64 17/315 (pow.f64 x 7)))) (fma.f64 1/3 (pow.f64 x 3) (*.f64 17/315 (pow.f64 x 7)))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (+.f64 (fma.f64 2/15 (pow.f64 x 5) x) (*.f64 -17/315 (pow.f64 x 7))) (neg.f64 (*.f64 1/3 (pow.f64 x 3))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (+.f64 (fma.f64 2/15 (pow.f64 x 5) x) (*.f64 -17/315 (pow.f64 x 7))) (*.f64 -1/3 (pow.f64 x 3)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (+.f64 (fma.f64 2/15 (pow.f64 x 5) x) (*.f64 -17/315 (pow.f64 x 7))) (*.f64 (neg.f64 (pow.f64 x 3)) 1/3))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (+.f64 (fma.f64 2/15 (pow.f64 x 5) x) (*.f64 -17/315 (pow.f64 x 7))) (*.f64 -1 (*.f64 1/3 (pow.f64 x 3))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (+.f64 (fma.f64 2/15 (pow.f64 x 5) x) (*.f64 -17/315 (pow.f64 x 7))) (*.f64 (neg.f64 (pow.f64 (*.f64 x (cbrt.f64 1/3)) 2)) (*.f64 x (cbrt.f64 1/3))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (+.f64 (fma.f64 2/15 (pow.f64 x 5) x) (*.f64 -17/315 (pow.f64 x 7))) (*.f64 (neg.f64 (*.f64 (sqrt.f64 1/3) (pow.f64 x 3/2))) (*.f64 (sqrt.f64 1/3) (pow.f64 x 3/2))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (fma.f64 1 (fma.f64 2/15 (pow.f64 x 5) x) (neg.f64 (*.f64 (fma.f64 1/3 (pow.f64 x 3) (*.f64 17/315 (pow.f64 x 7))) 1))) (fma.f64 (neg.f64 (fma.f64 1/3 (pow.f64 x 3) (*.f64 17/315 (pow.f64 x 7)))) 1 (*.f64 (fma.f64 1/3 (pow.f64 x 3) (*.f64 17/315 (pow.f64 x 7))) 1)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (fma.f64 (pow.f64 (cbrt.f64 (fma.f64 2/15 (pow.f64 x 5) x)) 2) (cbrt.f64 (fma.f64 2/15 (pow.f64 x 5) x)) (neg.f64 (*.f64 (fma.f64 1/3 (pow.f64 x 3) (*.f64 17/315 (pow.f64 x 7))) 1))) (fma.f64 (neg.f64 (fma.f64 1/3 (pow.f64 x 3) (*.f64 17/315 (pow.f64 x 7)))) 1 (*.f64 (fma.f64 1/3 (pow.f64 x 3) (*.f64 17/315 (pow.f64 x 7))) 1)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (fma.f64 (sqrt.f64 (fma.f64 2/15 (pow.f64 x 5) x)) (sqrt.f64 (fma.f64 2/15 (pow.f64 x 5) x)) (neg.f64 (*.f64 (fma.f64 1/3 (pow.f64 x 3) (*.f64 17/315 (pow.f64 x 7))) 1))) (fma.f64 (neg.f64 (fma.f64 1/3 (pow.f64 x 3) (*.f64 17/315 (pow.f64 x 7)))) 1 (*.f64 (fma.f64 1/3 (pow.f64 x 3) (*.f64 17/315 (pow.f64 x 7))) 1)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 (*.f64 2/15 (pow.f64 x 5)) 1) (*.f64 (-.f64 x (fma.f64 1/3 (pow.f64 x 3) (*.f64 17/315 (pow.f64 x 7)))) 1))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 (fma.f64 2/15 (pow.f64 x 5) x) 1) (*.f64 (neg.f64 (fma.f64 1/3 (pow.f64 x 3) (*.f64 17/315 (pow.f64 x 7)))) 1))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (-.f64 (fma.f64 2/15 (pow.f64 x 5) x) (fma.f64 1/3 (pow.f64 x 3) (*.f64 17/315 (pow.f64 x 7)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (-.f64 (fma.f64 2/15 (pow.f64 x 5) x) (fma.f64 1/3 (pow.f64 x 3) (*.f64 17/315 (pow.f64 x 7))))) (pow.f64 (cbrt.f64 (-.f64 (fma.f64 2/15 (pow.f64 x 5) x) (fma.f64 1/3 (pow.f64 x 3) (*.f64 17/315 (pow.f64 x 7))))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (-.f64 (fma.f64 2/15 (pow.f64 x 5) x) (fma.f64 1/3 (pow.f64 x 3) (*.f64 17/315 (pow.f64 x 7))))) 2) (cbrt.f64 (-.f64 (fma.f64 2/15 (pow.f64 x 5) x) (fma.f64 1/3 (pow.f64 x 3) (*.f64 17/315 (pow.f64 x 7))))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (-.f64 (fma.f64 2/15 (pow.f64 x 5) x) (fma.f64 1/3 (pow.f64 x 3) (*.f64 17/315 (pow.f64 x 7))))) (sqrt.f64 (-.f64 (fma.f64 2/15 (pow.f64 x 5) x) (fma.f64 1/3 (pow.f64 x 3) (*.f64 17/315 (pow.f64 x 7))))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (-.f64 (pow.f64 (fma.f64 2/15 (pow.f64 x 5) x) 3) (pow.f64 (fma.f64 1/3 (pow.f64 x 3) (*.f64 17/315 (pow.f64 x 7))) 3)) (/.f64 1 (+.f64 (pow.f64 (fma.f64 2/15 (pow.f64 x 5) x) 2) (*.f64 (fma.f64 1/3 (pow.f64 x 3) (*.f64 17/315 (pow.f64 x 7))) (+.f64 (fma.f64 1/3 (pow.f64 x 3) (*.f64 17/315 (pow.f64 x 7))) (fma.f64 2/15 (pow.f64 x 5) x))))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (-.f64 (pow.f64 (fma.f64 2/15 (pow.f64 x 5) x) 2) (pow.f64 (fma.f64 1/3 (pow.f64 x 3) (*.f64 17/315 (pow.f64 x 7))) 2)) (/.f64 1 (+.f64 (fma.f64 2/15 (pow.f64 x 5) x) (fma.f64 1/3 (pow.f64 x 3) (*.f64 17/315 (pow.f64 x 7))))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 (sqrt.f64 (fma.f64 2/15 (pow.f64 x 5) x)) (sqrt.f64 (fma.f64 1/3 (pow.f64 x 3) (*.f64 17/315 (pow.f64 x 7))))) (-.f64 (sqrt.f64 (fma.f64 2/15 (pow.f64 x 5) x)) (sqrt.f64 (fma.f64 1/3 (pow.f64 x 3) (*.f64 17/315 (pow.f64 x 7))))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (+.f64 (pow.f64 (fma.f64 2/15 (pow.f64 x 5) x) 2) (*.f64 (fma.f64 1/3 (pow.f64 x 3) (*.f64 17/315 (pow.f64 x 7))) (+.f64 (fma.f64 1/3 (pow.f64 x 3) (*.f64 17/315 (pow.f64 x 7))) (fma.f64 2/15 (pow.f64 x 5) x)))) (-.f64 (pow.f64 (fma.f64 2/15 (pow.f64 x 5) x) 3) (pow.f64 (fma.f64 1/3 (pow.f64 x 3) (*.f64 17/315 (pow.f64 x 7))) 3))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (+.f64 (fma.f64 2/15 (pow.f64 x 5) x) (fma.f64 1/3 (pow.f64 x 3) (*.f64 17/315 (pow.f64 x 7)))) (-.f64 (pow.f64 (fma.f64 2/15 (pow.f64 x 5) x) 2) (pow.f64 (fma.f64 1/3 (pow.f64 x 3) (*.f64 17/315 (pow.f64 x 7))) 2))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (pow.f64 (fma.f64 2/15 (pow.f64 x 5) x) 3) (pow.f64 (fma.f64 1/3 (pow.f64 x 3) (*.f64 17/315 (pow.f64 x 7))) 3)) (+.f64 (pow.f64 (fma.f64 2/15 (pow.f64 x 5) x) 2) (*.f64 (fma.f64 1/3 (pow.f64 x 3) (*.f64 17/315 (pow.f64 x 7))) (+.f64 (fma.f64 1/3 (pow.f64 x 3) (*.f64 17/315 (pow.f64 x 7))) (fma.f64 2/15 (pow.f64 x 5) x)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (pow.f64 (fma.f64 2/15 (pow.f64 x 5) x) 2) (pow.f64 (fma.f64 1/3 (pow.f64 x 3) (*.f64 17/315 (pow.f64 x 7))) 2)) (+.f64 (fma.f64 2/15 (pow.f64 x 5) x) (fma.f64 1/3 (pow.f64 x 3) (*.f64 17/315 (pow.f64 x 7)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (-.f64 (pow.f64 (fma.f64 2/15 (pow.f64 x 5) x) 3) (pow.f64 (fma.f64 1/3 (pow.f64 x 3) (*.f64 17/315 (pow.f64 x 7))) 3))) (neg.f64 (+.f64 (pow.f64 (fma.f64 2/15 (pow.f64 x 5) x) 2) (*.f64 (fma.f64 1/3 (pow.f64 x 3) (*.f64 17/315 (pow.f64 x 7))) (+.f64 (fma.f64 1/3 (pow.f64 x 3) (*.f64 17/315 (pow.f64 x 7))) (fma.f64 2/15 (pow.f64 x 5) x))))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (-.f64 (pow.f64 (fma.f64 2/15 (pow.f64 x 5) x) 2) (pow.f64 (fma.f64 1/3 (pow.f64 x 3) (*.f64 17/315 (pow.f64 x 7))) 2))) (neg.f64 (+.f64 (fma.f64 2/15 (pow.f64 x 5) x) (fma.f64 1/3 (pow.f64 x 3) (*.f64 17/315 (pow.f64 x 7))))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (*.f64 (+.f64 (pow.f64 (*.f64 2/15 (pow.f64 x 5)) 3) (pow.f64 x 3)) (+.f64 (*.f64 (pow.f64 x 14) 289/99225) (-.f64 (*.f64 (pow.f64 x 6) 1/9) (*.f64 17/315 (*.f64 (pow.f64 x 7) (*.f64 1/3 (pow.f64 x 3))))))) (*.f64 (+.f64 (*.f64 4/225 (pow.f64 x 10)) (*.f64 x (-.f64 x (*.f64 2/15 (pow.f64 x 5))))) (+.f64 (*.f64 (pow.f64 (pow.f64 x 7) 3) 4913/31255875) (pow.f64 (*.f64 1/3 (pow.f64 x 3)) 3)))) (*.f64 (+.f64 (*.f64 4/225 (pow.f64 x 10)) (*.f64 x (-.f64 x (*.f64 2/15 (pow.f64 x 5))))) (+.f64 (*.f64 (pow.f64 x 14) 289/99225) (-.f64 (*.f64 (pow.f64 x 6) 1/9) (*.f64 17/315 (*.f64 (pow.f64 x 7) (*.f64 1/3 (pow.f64 x 3))))))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (*.f64 (-.f64 (*.f64 4/225 (pow.f64 x 10)) (*.f64 x x)) (+.f64 (*.f64 (pow.f64 x 14) 289/99225) (-.f64 (*.f64 (pow.f64 x 6) 1/9) (*.f64 17/315 (*.f64 (pow.f64 x 7) (*.f64 1/3 (pow.f64 x 3))))))) (*.f64 (fma.f64 2/15 (pow.f64 x 5) (neg.f64 x)) (+.f64 (*.f64 (pow.f64 (pow.f64 x 7) 3) 4913/31255875) (pow.f64 (*.f64 1/3 (pow.f64 x 3)) 3)))) (*.f64 (fma.f64 2/15 (pow.f64 x 5) (neg.f64 x)) (+.f64 (*.f64 (pow.f64 x 14) 289/99225) (-.f64 (*.f64 (pow.f64 x 6) 1/9) (*.f64 17/315 (*.f64 (pow.f64 x 7) (*.f64 1/3 (pow.f64 x 3))))))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (*.f64 (+.f64 (pow.f64 (*.f64 2/15 (pow.f64 x 5)) 3) (pow.f64 x 3)) (+.f64 (*.f64 17/315 (pow.f64 x 7)) (*.f64 -1/3 (pow.f64 x 3)))) (*.f64 (+.f64 (*.f64 4/225 (pow.f64 x 10)) (*.f64 x (-.f64 x (*.f64 2/15 (pow.f64 x 5))))) (-.f64 (*.f64 (pow.f64 x 14) 289/99225) (*.f64 (pow.f64 x 6) 1/9)))) (*.f64 (+.f64 (*.f64 4/225 (pow.f64 x 10)) (*.f64 x (-.f64 x (*.f64 2/15 (pow.f64 x 5))))) (+.f64 (*.f64 17/315 (pow.f64 x 7)) (*.f64 -1/3 (pow.f64 x 3)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (*.f64 (-.f64 (*.f64 4/225 (pow.f64 x 10)) (*.f64 x x)) (+.f64 (*.f64 17/315 (pow.f64 x 7)) (*.f64 -1/3 (pow.f64 x 3)))) (*.f64 (fma.f64 2/15 (pow.f64 x 5) (neg.f64 x)) (-.f64 (*.f64 (pow.f64 x 14) 289/99225) (*.f64 (pow.f64 x 6) 1/9)))) (*.f64 (fma.f64 2/15 (pow.f64 x 5) (neg.f64 x)) (+.f64 (*.f64 17/315 (pow.f64 x 7)) (*.f64 -1/3 (pow.f64 x 3)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (pow.f64 (+.f64 (fma.f64 2/15 (pow.f64 x 5) x) (*.f64 -17/315 (pow.f64 x 7))) 3) (pow.f64 (*.f64 1/3 (pow.f64 x 3)) 3)) (+.f64 (*.f64 (+.f64 (fma.f64 2/15 (pow.f64 x 5) x) (*.f64 -17/315 (pow.f64 x 7))) (+.f64 (fma.f64 2/15 (pow.f64 x 5) x) (*.f64 -17/315 (pow.f64 x 7)))) (+.f64 (*.f64 (pow.f64 x 6) 1/9) (*.f64 (+.f64 (fma.f64 2/15 (pow.f64 x 5) x) (*.f64 -17/315 (pow.f64 x 7))) (*.f64 1/3 (pow.f64 x 3))))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 (*.f64 2/15 (pow.f64 x 5)) 3) (pow.f64 (-.f64 x (fma.f64 1/3 (pow.f64 x 3) (*.f64 17/315 (pow.f64 x 7)))) 3)) (+.f64 (*.f64 4/225 (pow.f64 x 10)) (-.f64 (*.f64 (-.f64 x (fma.f64 1/3 (pow.f64 x 3) (*.f64 17/315 (pow.f64 x 7)))) (-.f64 x (fma.f64 1/3 (pow.f64 x 3) (*.f64 17/315 (pow.f64 x 7))))) (*.f64 (*.f64 2/15 (pow.f64 x 5)) (-.f64 x (fma.f64 1/3 (pow.f64 x 3) (*.f64 17/315 (pow.f64 x 7))))))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 (fma.f64 2/15 (pow.f64 x 5) x) 3) (pow.f64 (neg.f64 (fma.f64 1/3 (pow.f64 x 3) (*.f64 17/315 (pow.f64 x 7)))) 3)) (+.f64 (pow.f64 (fma.f64 2/15 (pow.f64 x 5) x) 2) (-.f64 (*.f64 (neg.f64 (fma.f64 1/3 (pow.f64 x 3) (*.f64 17/315 (pow.f64 x 7)))) (neg.f64 (fma.f64 1/3 (pow.f64 x 3) (*.f64 17/315 (pow.f64 x 7))))) (*.f64 (fma.f64 2/15 (pow.f64 x 5) x) (neg.f64 (fma.f64 1/3 (pow.f64 x 3) (*.f64 17/315 (pow.f64 x 7))))))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (*.f64 (+.f64 (fma.f64 2/15 (pow.f64 x 5) x) (*.f64 -17/315 (pow.f64 x 7))) (+.f64 (fma.f64 2/15 (pow.f64 x 5) x) (*.f64 -17/315 (pow.f64 x 7)))) (*.f64 (pow.f64 x 6) 1/9)) (+.f64 (+.f64 (fma.f64 2/15 (pow.f64 x 5) x) (*.f64 -17/315 (pow.f64 x 7))) (*.f64 1/3 (pow.f64 x 3))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (*.f64 4/225 (pow.f64 x 10)) (*.f64 (-.f64 x (fma.f64 1/3 (pow.f64 x 3) (*.f64 17/315 (pow.f64 x 7)))) (-.f64 x (fma.f64 1/3 (pow.f64 x 3) (*.f64 17/315 (pow.f64 x 7)))))) (-.f64 (*.f64 2/15 (pow.f64 x 5)) (-.f64 x (fma.f64 1/3 (pow.f64 x 3) (*.f64 17/315 (pow.f64 x 7))))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (pow.f64 (fma.f64 2/15 (pow.f64 x 5) x) 2) (*.f64 (neg.f64 (fma.f64 1/3 (pow.f64 x 3) (*.f64 17/315 (pow.f64 x 7)))) (neg.f64 (fma.f64 1/3 (pow.f64 x 3) (*.f64 17/315 (pow.f64 x 7)))))) (-.f64 (fma.f64 2/15 (pow.f64 x 5) x) (neg.f64 (fma.f64 1/3 (pow.f64 x 3) (*.f64 17/315 (pow.f64 x 7))))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (-.f64 (fma.f64 2/15 (pow.f64 x 5) x) (fma.f64 1/3 (pow.f64 x 3) (*.f64 17/315 (pow.f64 x 7)))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (-.f64 (fma.f64 2/15 (pow.f64 x 5) x) (fma.f64 1/3 (pow.f64 x 3) (*.f64 17/315 (pow.f64 x 7)))) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (-.f64 (fma.f64 2/15 (pow.f64 x 5) x) (fma.f64 1/3 (pow.f64 x 3) (*.f64 17/315 (pow.f64 x 7))))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (-.f64 (fma.f64 2/15 (pow.f64 x 5) x) (fma.f64 1/3 (pow.f64 x 3) (*.f64 17/315 (pow.f64 x 7))))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (-.f64 (fma.f64 2/15 (pow.f64 x 5) x) (fma.f64 1/3 (pow.f64 x 3) (*.f64 17/315 (pow.f64 x 7)))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (-.f64 (fma.f64 2/15 (pow.f64 x 5) x) (fma.f64 1/3 (pow.f64 x 3) (*.f64 17/315 (pow.f64 x 7))))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (-.f64 (fma.f64 2/15 (pow.f64 x 5) x) (fma.f64 1/3 (pow.f64 x 3) (*.f64 17/315 (pow.f64 x 7)))))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (-.f64 (fma.f64 2/15 (pow.f64 x 5) x) (fma.f64 1/3 (pow.f64 x 3) (*.f64 17/315 (pow.f64 x 7)))) 3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (-.f64 (fma.f64 2/15 (pow.f64 x 5) x) (fma.f64 1/3 (pow.f64 x 3) (*.f64 17/315 (pow.f64 x 7))))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (-.f64 (fma.f64 2/15 (pow.f64 x 5) x) (fma.f64 1/3 (pow.f64 x 3) (*.f64 17/315 (pow.f64 x 7))))) 1))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 2/15 (pow.f64 x 5) (-.f64 x (fma.f64 1/3 (pow.f64 x 3) (*.f64 17/315 (pow.f64 x 7)))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 x 5) 2/15 (-.f64 x (fma.f64 1/3 (pow.f64 x 3) (*.f64 17/315 (pow.f64 x 7)))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (*.f64 2/15 (pow.f64 x 5)) (-.f64 x (fma.f64 1/3 (pow.f64 x 3) (*.f64 17/315 (pow.f64 x 7)))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (fma.f64 2/15 (pow.f64 x 5) x) (neg.f64 (fma.f64 1/3 (pow.f64 x 3) (*.f64 17/315 (pow.f64 x 7)))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 (fma.f64 2/15 (pow.f64 x 5) x)) 2) (cbrt.f64 (fma.f64 2/15 (pow.f64 x 5) x)) (neg.f64 (fma.f64 1/3 (pow.f64 x 3) (*.f64 17/315 (pow.f64 x 7)))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (*.f64 4/225 (pow.f64 x 10))) (cbrt.f64 (*.f64 2/15 (pow.f64 x 5))) (-.f64 x (fma.f64 1/3 (pow.f64 x 3) (*.f64 17/315 (pow.f64 x 7)))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 (fma.f64 2/15 (pow.f64 x 5) x)) (sqrt.f64 (fma.f64 2/15 (pow.f64 x 5) x)) (neg.f64 (fma.f64 1/3 (pow.f64 x 3) (*.f64 17/315 (pow.f64 x 7)))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 (sqrt.f64 2/15) (pow.f64 x 5/2)) (*.f64 (sqrt.f64 2/15) (pow.f64 x 5/2)) (-.f64 x (fma.f64 1/3 (pow.f64 x 3) (*.f64 17/315 (pow.f64 x 7)))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (-.f64 (fma.f64 2/15 (pow.f64 x 5) x) (fma.f64 1/3 (pow.f64 x 3) (*.f64 17/315 (pow.f64 x 7))))))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (-.f64 (fma.f64 2/15 (pow.f64 x 5) x) (fma.f64 1/3 (pow.f64 x 3) (*.f64 17/315 (pow.f64 x 7))))))))))

simplify33.0ms (0.9%)

Algorithm
egg-herbie
Rules
739×fma-neg_binary64
397×distribute-rgt-neg-in_binary64
360×unswap-sqr_binary64
292×distribute-lft-neg-in_binary64
260×cancel-sign-sub-inv_binary64
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
022120
164116
2154108
3479108
41409108
52605108
64161108
Stop Event
node limit
Counts
106 → 107
Calls
Call 1
Inputs
x
(-.f64 x (*.f64 1/3 (pow.f64 x 3)))
(-.f64 (+.f64 (*.f64 2/15 (pow.f64 x 5)) x) (*.f64 1/3 (pow.f64 x 3)))
(*.f64 -17/315 (pow.f64 x 7))
(-.f64 (*.f64 2/15 (pow.f64 x 5)) (*.f64 17/315 (pow.f64 x 7)))
(-.f64 (*.f64 2/15 (pow.f64 x 5)) (+.f64 (*.f64 17/315 (pow.f64 x 7)) (*.f64 1/3 (pow.f64 x 3))))
(*.f64 -17/315 (pow.f64 x 7))
(-.f64 (*.f64 2/15 (pow.f64 x 5)) (*.f64 17/315 (pow.f64 x 7)))
(-.f64 (*.f64 2/15 (pow.f64 x 5)) (+.f64 (*.f64 17/315 (pow.f64 x 7)) (*.f64 1/3 (pow.f64 x 3))))
Outputs
x
(-.f64 x (*.f64 1/3 (pow.f64 x 3)))
(+.f64 x (*.f64 -1/3 (pow.f64 x 3)))
(+.f64 x (*.f64 (pow.f64 x 3) -1/3))
(fma.f64 (pow.f64 x 3) -1/3 x)
(-.f64 (+.f64 (*.f64 2/15 (pow.f64 x 5)) x) (*.f64 1/3 (pow.f64 x 3)))
(+.f64 (fma.f64 2/15 (pow.f64 x 5) x) (*.f64 -1/3 (pow.f64 x 3)))
(+.f64 (fma.f64 2/15 (pow.f64 x 5) x) (*.f64 (pow.f64 x 3) -1/3))
(fma.f64 (pow.f64 x 3) -1/3 (fma.f64 2/15 (pow.f64 x 5) x))
(*.f64 -17/315 (pow.f64 x 7))
(-.f64 (*.f64 2/15 (pow.f64 x 5)) (*.f64 17/315 (pow.f64 x 7)))
(+.f64 (*.f64 2/15 (pow.f64 x 5)) (*.f64 -17/315 (pow.f64 x 7)))
(fma.f64 2/15 (pow.f64 x 5) (*.f64 -17/315 (pow.f64 x 7)))
(-.f64 (*.f64 2/15 (pow.f64 x 5)) (+.f64 (*.f64 17/315 (pow.f64 x 7)) (*.f64 1/3 (pow.f64 x 3))))
(-.f64 (*.f64 2/15 (pow.f64 x 5)) (fma.f64 17/315 (pow.f64 x 7) (*.f64 1/3 (pow.f64 x 3))))
(-.f64 (fma.f64 2/15 (pow.f64 x 5) (*.f64 -17/315 (pow.f64 x 7))) (*.f64 1/3 (pow.f64 x 3)))
(fma.f64 2/15 (pow.f64 x 5) (fma.f64 (pow.f64 x 3) -1/3 (*.f64 -17/315 (pow.f64 x 7))))
(fma.f64 (pow.f64 x 3) -1/3 (fma.f64 2/15 (pow.f64 x 5) (*.f64 -17/315 (pow.f64 x 7))))
(*.f64 -17/315 (pow.f64 x 7))
(-.f64 (*.f64 2/15 (pow.f64 x 5)) (*.f64 17/315 (pow.f64 x 7)))
(+.f64 (*.f64 2/15 (pow.f64 x 5)) (*.f64 -17/315 (pow.f64 x 7)))
(fma.f64 2/15 (pow.f64 x 5) (*.f64 -17/315 (pow.f64 x 7)))
(-.f64 (*.f64 2/15 (pow.f64 x 5)) (+.f64 (*.f64 17/315 (pow.f64 x 7)) (*.f64 1/3 (pow.f64 x 3))))
(-.f64 (*.f64 2/15 (pow.f64 x 5)) (fma.f64 17/315 (pow.f64 x 7) (*.f64 1/3 (pow.f64 x 3))))
(-.f64 (fma.f64 2/15 (pow.f64 x 5) (*.f64 -17/315 (pow.f64 x 7))) (*.f64 1/3 (pow.f64 x 3)))
(fma.f64 2/15 (pow.f64 x 5) (fma.f64 (pow.f64 x 3) -1/3 (*.f64 -17/315 (pow.f64 x 7))))
(fma.f64 (pow.f64 x 3) -1/3 (fma.f64 2/15 (pow.f64 x 5) (*.f64 -17/315 (pow.f64 x 7))))

prune109.0ms (3%)

Pruning

2 alts after pruning (0 fresh and 2 done)

PrunedKeptTotal
New1070107
Fresh000
Picked011
Done011
Total1072109
Error
0b
Counts
109 → 2
Alt Table
StatusErrorProgram
1.4b
(-.f64 (+.f64 (*.f64 2/15 (pow.f64 x 5)) x) (+.f64 (*.f64 17/315 (pow.f64 x 7)) (*.f64 1/3 (pow.f64 x 3))))
0.0b
(tanh.f64 x)
Compiler

Compiled 3136 to 2515 computations (19.8% saved)

regimes75.0ms (2.1%)

Accuracy

Total 0.0b remaining (74.7%)

Threshold costs 0.0b (74.7%)

Counts
44 → 1
Compiler

Compiled 1194 to 888 computations (25.6% saved)

simplify1.0ms (0%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
033
Stop Event
saturated
Calls
Call 1
Inputs
(tanh.f64 x)
Outputs
(tanh.f64 x)

end40.0ms (1.1%)

Stop Event
done
Compiler

Compiled 29 to 22 computations (24.1% saved)

Profiling

Loading profile data...