Details

Time bar (total: 4.6s)

analyze20.0ms (0.4%)

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)

sample3.1s (66.1%)

Results
1.9s4013×body1024valid
639.0ms1991×body512valid
240.0ms402×body2048valid
198.0ms1036×body256valid
107.0ms814×body128valid
0.0msbody128invalid

preprocess33.0ms (0.7%)

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)

simplify22.0ms (0.5%)

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

prune2.0ms (0%)

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022
Error
58.2b
Counts
2 → 1
Alt Table
StatusErrorProgram
58.2b
(/.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)

localize7.0ms (0.2%)

Local error

Found 3 expressions with local error:

NewErrorProgram
0.0b
(+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))
1.5b
(/.f64 (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))
5.9b
(-.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))

series5.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
@0
(-.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))))
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)))

rewrite111.0ms (2.4%)

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 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 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 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 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 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))))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 2 (cosh.f64 x))))))))

simplify59.0ms (1.3%)

Algorithm
egg-herbie
Rules
686×fma-def_binary64
513×unswap-sqr_binary64
470×associate-*l*_binary64
347×associate-*r*_binary64
238×distribute-rgt-out_binary64
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
058447
1150441
2350437
3996437
43086437
Stop Event
node limit
Counts
69 → 66
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 (*.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))
(+.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)))
(+.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 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 (*.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 (+.f64 2 (*.f64 x x)) (*.f64 1/12 (pow.f64 x 4)))
(+.f64 2 (fma.f64 1/12 (pow.f64 x 4) (*.f64 x x)))
(fma.f64 x x (fma.f64 1/12 (pow.f64 x 4) 2))
(+.f64 2 (+.f64 (*.f64 1/360 (pow.f64 x 6)) (+.f64 (pow.f64 x 2) (*.f64 1/12 (pow.f64 x 4)))))
(+.f64 2 (fma.f64 1/360 (pow.f64 x 6) (+.f64 (*.f64 x x) (*.f64 1/12 (pow.f64 x 4)))))
(+.f64 2 (fma.f64 1/360 (pow.f64 x 6) (fma.f64 1/12 (pow.f64 x 4) (*.f64 x x))))
(fma.f64 1/360 (pow.f64 x 6) (fma.f64 x x (fma.f64 1/12 (pow.f64 x 4) 2)))
(fma.f64 x x (fma.f64 1/12 (pow.f64 x 4) (fma.f64 1/360 (pow.f64 x 6) 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)))

prune63.0ms (1.4%)

Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New63366
Fresh000
Picked101
Done000
Total64367
Error
0b
Counts
67 → 3
Alt Table
StatusErrorProgram
1.5b
(/.f64 (log1p.f64 (expm1.f64 (*.f64 2 (sinh.f64 x)))) (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))
0.0b
(tanh.f64 x)
1.5b
(/.f64 (*.f64 2 (sinh.f64 x)) (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))
Compiler

Compiled 1016 to 444 computations (56.3% saved)

localize2.0ms (0%)

Local error

Found 1 expressions with local error:

NewErrorProgram
0.0b
(tanh.f64 x)

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)

rewrite33.0ms (0.7%)

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 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 expm1.f64 (log1p.f64 (tanh.f64 x)))))))

simplify37.0ms (0.8%)

Algorithm
egg-herbie
Rules
830×fma-def_binary64
624×unswap-sqr_binary64
298×associate-*l*_binary64
232×*-commutative_binary64
198×associate-*r*_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
024222
165222
2140222
3334222
4688222
51542222
62432222
73940222
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))))

prune43.0ms (0.9%)

Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New39140
Fresh112
Picked011
Done000
Total40343
Error
0b
Counts
43 → 3
Alt Table
StatusErrorProgram
0.0b
(tanh.f64 x)
1.0b
(/.f64 (expm1.f64 (*.f64 x 2)) (+.f64 1 (pow.f64 (exp.f64 2) x)))
1.5b
(/.f64 (*.f64 2 (sinh.f64 x)) (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))
Compiler

Compiled 444 to 311 computations (30% saved)

localize7.0ms (0.2%)

Local error

Found 3 expressions with local error:

NewErrorProgram
0.0b
(expm1.f64 (*.f64 x 2))
0.0b
(+.f64 1 (pow.f64 (exp.f64 2) x))
1.0b
(/.f64 (expm1.f64 (*.f64 x 2)) (+.f64 1 (pow.f64 (exp.f64 2) x)))

series5.0ms (0.1%)

Counts
3 → 36
Calls

9 calls:

TimeVariablePointExpression
1.0ms
x
@0
(/.f64 (expm1.f64 (*.f64 x 2)) (+.f64 1 (pow.f64 (exp.f64 2) x)))
1.0ms
x
@-inf
(/.f64 (expm1.f64 (*.f64 x 2)) (+.f64 1 (pow.f64 (exp.f64 2) x)))
1.0ms
x
@inf
(/.f64 (expm1.f64 (*.f64 x 2)) (+.f64 1 (pow.f64 (exp.f64 2) x)))
0.0ms
x
@0
(+.f64 1 (pow.f64 (exp.f64 2) x))
0.0ms
x
@0
(expm1.f64 (*.f64 x 2))

rewrite55.0ms (1.2%)

Algorithm
batch-egg-rewrite
Rules
446×log-prod_binary64
182×fma-def_binary64
177×prod-diff_binary64
171×expm1-udef_binary64
171×log1p-udef_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01032
120732
2256732
Stop Event
node limit
Counts
3 → 111
Calls
Call 1
Inputs
(/.f64 (expm1.f64 (*.f64 x 2)) (+.f64 1 (pow.f64 (exp.f64 2) x)))
(+.f64 1 (pow.f64 (exp.f64 2) x))
(expm1.f64 (*.f64 x 2))
Outputs
((#(struct:change #<rule egg-rr> (2) ((x +.f64 0 (/.f64 (expm1.f64 (+.f64 x x)) (+.f64 1 (pow.f64 (exp.f64 2) x))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (*.f64 (cbrt.f64 (exp.f64 (/.f64 (expm1.f64 (+.f64 x x)) (+.f64 1 (pow.f64 (exp.f64 2) x))))) (cbrt.f64 (exp.f64 (/.f64 (expm1.f64 (+.f64 x x)) (+.f64 1 (pow.f64 (exp.f64 2) x))))))) (log.f64 (cbrt.f64 (exp.f64 (/.f64 (expm1.f64 (+.f64 x x)) (+.f64 1 (pow.f64 (exp.f64 2) x)))))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (sqrt.f64 (exp.f64 (/.f64 (expm1.f64 (+.f64 x x)) (+.f64 1 (pow.f64 (exp.f64 2) x)))))) (log.f64 (sqrt.f64 (exp.f64 (/.f64 (expm1.f64 (+.f64 x x)) (+.f64 1 (pow.f64 (exp.f64 2) x)))))))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (/.f64 (expm1.f64 (+.f64 x x)) (+.f64 1 (pow.f64 (exp.f64 2) x))))) 1)))) (#(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 (expm1.f64 (+.f64 x x)) (/.f64 1 (+.f64 1 (pow.f64 (exp.f64 2) x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (/.f64 (expm1.f64 (+.f64 x x)) (+.f64 1 (pow.f64 (exp.f64 2) x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (expm1.f64 (+.f64 x x)) (+.f64 1 (pow.f64 (exp.f64 2) x))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (expm1.f64 (+.f64 x x))) 2) (*.f64 (cbrt.f64 (expm1.f64 (+.f64 x x))) (/.f64 1 (+.f64 1 (pow.f64 (exp.f64 2) x)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (/.f64 (expm1.f64 (+.f64 x x)) (+.f64 1 (pow.f64 (exp.f64 2) x)))) (cbrt.f64 (pow.f64 (/.f64 (expm1.f64 (+.f64 x x)) (+.f64 1 (pow.f64 (exp.f64 2) x))) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (pow.f64 (/.f64 (expm1.f64 (+.f64 x x)) (+.f64 1 (pow.f64 (exp.f64 2) x))) 2)) (cbrt.f64 (/.f64 (expm1.f64 (+.f64 x x)) (+.f64 1 (pow.f64 (exp.f64 2) x)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (expm1.f64 (+.f64 x x))) (*.f64 (sqrt.f64 (expm1.f64 (+.f64 x x))) (/.f64 1 (+.f64 1 (pow.f64 (exp.f64 2) x)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (sqrt.f64 (expm1.f64 (+.f64 x x))) (hypot.f64 1 (exp.f64 x))) (/.f64 (sqrt.f64 (expm1.f64 (+.f64 x x))) (hypot.f64 1 (exp.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (neg.f64 (expm1.f64 (+.f64 x x))) (/.f64 1 (+.f64 (neg.f64 (pow.f64 (exp.f64 2) x)) -1)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 1 (+.f64 1 (pow.f64 (exp.f64 2) x))) (expm1.f64 (+.f64 x x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (pow.f64 (cbrt.f64 (expm1.f64 (+.f64 x x))) 2) 1) (/.f64 (cbrt.f64 (expm1.f64 (+.f64 x x))) (+.f64 1 (pow.f64 (exp.f64 2) x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (sqrt.f64 (expm1.f64 (+.f64 x x))) 1) (/.f64 (sqrt.f64 (expm1.f64 (+.f64 x x))) (+.f64 1 (pow.f64 (exp.f64 2) x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 1 (cbrt.f64 (pow.f64 (+.f64 1 (pow.f64 (exp.f64 2) x)) 2))) (/.f64 (expm1.f64 (+.f64 x x)) (cbrt.f64 (+.f64 1 (pow.f64 (exp.f64 2) x)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (pow.f64 (cbrt.f64 (expm1.f64 (+.f64 x x))) 2) (cbrt.f64 (pow.f64 (+.f64 1 (pow.f64 (exp.f64 2) x)) 2))) (cbrt.f64 (/.f64 (expm1.f64 (+.f64 x x)) (+.f64 1 (pow.f64 (exp.f64 2) x)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (sqrt.f64 (expm1.f64 (+.f64 x x))) (cbrt.f64 (pow.f64 (+.f64 1 (pow.f64 (exp.f64 2) x)) 2))) (/.f64 (sqrt.f64 (expm1.f64 (+.f64 x x))) (cbrt.f64 (+.f64 1 (pow.f64 (exp.f64 2) x)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 1 (hypot.f64 1 (exp.f64 x))) (/.f64 (expm1.f64 (+.f64 x x)) (hypot.f64 1 (exp.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (pow.f64 (cbrt.f64 (expm1.f64 (+.f64 x x))) 2) (hypot.f64 1 (exp.f64 x))) (/.f64 (cbrt.f64 (expm1.f64 (+.f64 x x))) (hypot.f64 1 (exp.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (expm1.f64 (+.f64 x x)) (+.f64 1 (pow.f64 (exp.f64 2) (*.f64 x 3)))) (fma.f64 (pow.f64 (exp.f64 2) x) (expm1.f64 (+.f64 x x)) 1))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (expm1.f64 (+.f64 x x)) (-.f64 1 (pow.f64 (exp.f64 4) x))) (-.f64 1 (pow.f64 (exp.f64 2) x)))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 (expm1.f64 (+.f64 x x)) (+.f64 1 (pow.f64 (exp.f64 2) x))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (/.f64 (expm1.f64 (+.f64 x x)) (+.f64 1 (pow.f64 (exp.f64 2) x))) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (/.f64 (expm1.f64 (+.f64 x x)) (+.f64 1 (pow.f64 (exp.f64 2) x)))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 (sqrt.f64 (expm1.f64 (+.f64 x x))) (hypot.f64 1 (exp.f64 x))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 (+.f64 1 (pow.f64 (exp.f64 2) x)) (expm1.f64 (+.f64 x x))) -1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 (/.f64 (+.f64 1 (pow.f64 (exp.f64 2) x)) (expm1.f64 (+.f64 x x))) 1) -1)))) (#(struct:change #<rule egg-rr> (2) ((x neg.f64 (/.f64 (expm1.f64 (+.f64 x x)) (+.f64 (neg.f64 (pow.f64 (exp.f64 2) x)) -1)))))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (/.f64 (expm1.f64 (+.f64 x x)) (+.f64 1 (pow.f64 (exp.f64 2) x))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (/.f64 (expm1.f64 (+.f64 x x)) (+.f64 1 (pow.f64 (exp.f64 2) x)))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (/.f64 (expm1.f64 (+.f64 x x)) (+.f64 1 (pow.f64 (exp.f64 2) x))))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (/.f64 (expm1.f64 (+.f64 x x)) (+.f64 1 (pow.f64 (exp.f64 2) x))) 3))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (/.f64 (pow.f64 (expm1.f64 (+.f64 x x)) 3) (pow.f64 (+.f64 1 (pow.f64 (exp.f64 2) x)) 3)))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (/.f64 (expm1.f64 (+.f64 x x)) (+.f64 1 (pow.f64 (exp.f64 2) x)))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (-.f64 (log.f64 (expm1.f64 (+.f64 x x))) (log1p.f64 (pow.f64 (exp.f64 2) x))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (-.f64 (log.f64 (expm1.f64 (+.f64 x x))) (log1p.f64 (pow.f64 (exp.f64 2) x))) 1))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (/.f64 (expm1.f64 (+.f64 x x)) (+.f64 1 (pow.f64 (exp.f64 2) x)))))))))
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (+.f64 1 (pow.f64 (exp.f64 2) 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 4) x) (-.f64 1 (pow.f64 (exp.f64 2) x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (+.f64 1 (pow.f64 (exp.f64 2) x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 1 (pow.f64 (exp.f64 2) x)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (+.f64 1 (pow.f64 (exp.f64 2) x))) (cbrt.f64 (pow.f64 (+.f64 1 (pow.f64 (exp.f64 2) x)) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (pow.f64 (+.f64 1 (pow.f64 (exp.f64 2) x)) 2)) (cbrt.f64 (+.f64 1 (pow.f64 (exp.f64 2) x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (hypot.f64 1 (exp.f64 x)) (hypot.f64 1 (exp.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 1 (pow.f64 (exp.f64 2) (*.f64 x 3))) (/.f64 1 (fma.f64 (pow.f64 (exp.f64 2) x) (expm1.f64 (+.f64 x x)) 1)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (-.f64 1 (pow.f64 (exp.f64 4) x)) (/.f64 1 (-.f64 1 (pow.f64 (exp.f64 2) x))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (fma.f64 (pow.f64 (exp.f64 2) x) (expm1.f64 (+.f64 x x)) 1) (+.f64 1 (pow.f64 (exp.f64 2) (*.f64 x 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 4) x))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 1 (pow.f64 (exp.f64 2) (*.f64 x 3))) (fma.f64 (pow.f64 (exp.f64 2) x) (expm1.f64 (+.f64 x x)) 1))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 1 (pow.f64 (exp.f64 2) (*.f64 x 3))) (+.f64 (pow.f64 (exp.f64 4) x) (-.f64 1 (pow.f64 (exp.f64 2) x))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 1 (pow.f64 (exp.f64 4) x)) (-.f64 1 (pow.f64 (exp.f64 2) x)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (+.f64 1 (pow.f64 (exp.f64 2) (*.f64 x 3)))) (neg.f64 (fma.f64 (pow.f64 (exp.f64 2) x) (expm1.f64 (+.f64 x x)) 1)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (-.f64 1 (pow.f64 (exp.f64 4) x))) (neg.f64 (-.f64 1 (pow.f64 (exp.f64 2) x))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (expm1.f64 (*.f64 x 4)) (expm1.f64 (+.f64 x x)))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (+.f64 1 (pow.f64 (exp.f64 2) x)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (+.f64 1 (pow.f64 (exp.f64 2) x)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (+.f64 1 (pow.f64 (exp.f64 2) x))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (hypot.f64 1 (exp.f64 x)) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 (fma.f64 (pow.f64 (exp.f64 2) x) (expm1.f64 (+.f64 x x)) 1) (+.f64 1 (pow.f64 (exp.f64 2) (*.f64 x 3)))) -1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 (-.f64 1 (pow.f64 (exp.f64 2) x)) (-.f64 1 (pow.f64 (exp.f64 4) x))) -1)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (+.f64 1 (pow.f64 (exp.f64 2) x)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (+.f64 1 (pow.f64 (exp.f64 2) x))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (+.f64 1 (pow.f64 (exp.f64 2) x)))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (+.f64 1 (pow.f64 (exp.f64 2) x)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (+.f64 1 (pow.f64 (exp.f64 2) x))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log1p.f64 (pow.f64 (exp.f64 2) x)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log1p.f64 (pow.f64 (exp.f64 2) x)) 1))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (pow.f64 (exp.f64 2) x) 1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (exp.f64 2) x) 1 1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (exp.f64 x) (exp.f64 x) 1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (pow.f64 (exp.f64 2) x)) (cbrt.f64 (pow.f64 (exp.f64 4) x)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (pow.f64 (exp.f64 4) x)) (cbrt.f64 (pow.f64 (exp.f64 2) x)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 (pow.f64 (exp.f64 2) x)) (sqrt.f64 (pow.f64 (exp.f64 2) x)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 1 x) (pow.f64 (exp.f64 2) x) 1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (exp.f64 4/3) x) (pow.f64 (exp.f64 2/3) x) 1)))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (+.f64 1 (pow.f64 (exp.f64 2) x))))))))
((#(struct:change #<rule egg-rr> (2) ((x +.f64 (pow.f64 (exp.f64 2) x) -1)))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 0 (expm1.f64 (+.f64 x x)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (*.f64 (cbrt.f64 (exp.f64 (expm1.f64 (+.f64 x x)))) (cbrt.f64 (exp.f64 (expm1.f64 (+.f64 x x)))))) (log.f64 (cbrt.f64 (exp.f64 (expm1.f64 (+.f64 x x))))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (sqrt.f64 (exp.f64 (expm1.f64 (+.f64 x x))))) (log.f64 (sqrt.f64 (exp.f64 (expm1.f64 (+.f64 x x))))))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (pow.f64 (exp.f64 2) x) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (expm1.f64 (+.f64 x x)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (expm1.f64 (+.f64 x x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (expm1.f64 (+.f64 x x))) (pow.f64 (cbrt.f64 (expm1.f64 (+.f64 x x))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (expm1.f64 (+.f64 x x))) 2) (cbrt.f64 (expm1.f64 (+.f64 x x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (expm1.f64 (+.f64 x x))) (sqrt.f64 (expm1.f64 (+.f64 x x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 (sqrt.f64 (pow.f64 (exp.f64 2) x)) 1) (expm1.f64 (*.f64 1/2 (+.f64 x x))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (expm1.f64 (*.f64 3 (+.f64 x x))) (+.f64 (pow.f64 (exp.f64 4) x) (+.f64 1 (pow.f64 (exp.f64 2) x))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (expm1.f64 (*.f64 x 4)) (+.f64 1 (pow.f64 (exp.f64 2) x)))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (expm1.f64 (+.f64 x x)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (expm1.f64 (+.f64 x x)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (expm1.f64 (+.f64 x x))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (expm1.f64 (+.f64 x x))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (expm1.f64 (+.f64 x x)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (expm1.f64 (+.f64 x x))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (expm1.f64 (+.f64 x x)))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (expm1.f64 (+.f64 x x)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (expm1.f64 (+.f64 x x))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (expm1.f64 (+.f64 x x))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (expm1.f64 (+.f64 x x))) 1))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (pow.f64 (exp.f64 2) x) -1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (exp.f64 2) x) 1 -1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (exp.f64 x) (exp.f64 x) -1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (pow.f64 (exp.f64 2) x)) (cbrt.f64 (pow.f64 (exp.f64 4) x)) -1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (pow.f64 (exp.f64 4) x)) (cbrt.f64 (pow.f64 (exp.f64 2) x)) -1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 (pow.f64 (exp.f64 2) x)) (sqrt.f64 (pow.f64 (exp.f64 2) x)) -1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 1 x) (pow.f64 (exp.f64 2) x) -1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (exp.f64 4/3) x) (pow.f64 (exp.f64 2/3) x) -1)))))

simplify39.0ms (0.8%)

Algorithm
egg-herbie
Rules
658×fma-def_binary64
609×distribute-lft-out_binary64
329×*-commutative_binary64
329×distribute-rgt-out_binary64
239×associate-*l*_binary64
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
041396
1120386
2290382
3832380
42299380
53913380
Stop Event
node limit
Counts
147 → 138
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 (*.f64 2 x)) 1) (+.f64 1 (exp.f64 (*.f64 2 x))))
(/.f64 (-.f64 (exp.f64 (*.f64 2 x)) 1) (+.f64 1 (exp.f64 (*.f64 2 x))))
(/.f64 (-.f64 (exp.f64 (*.f64 2 x)) 1) (+.f64 1 (exp.f64 (*.f64 2 x))))
(/.f64 (-.f64 (exp.f64 (*.f64 2 x)) 1) (+.f64 1 (exp.f64 (*.f64 2 x))))
(/.f64 (-.f64 (exp.f64 (*.f64 2 x)) 1) (+.f64 1 (exp.f64 (*.f64 2 x))))
(/.f64 (-.f64 (exp.f64 (*.f64 2 x)) 1) (+.f64 1 (exp.f64 (*.f64 2 x))))
(/.f64 (-.f64 (exp.f64 (*.f64 2 x)) 1) (+.f64 1 (exp.f64 (*.f64 2 x))))
(/.f64 (-.f64 (exp.f64 (*.f64 2 x)) 1) (+.f64 1 (exp.f64 (*.f64 2 x))))
2
(+.f64 (*.f64 2 x) 2)
(+.f64 (*.f64 2 (pow.f64 x 2)) (+.f64 (*.f64 2 x) 2))
(+.f64 (*.f64 4/3 (pow.f64 x 3)) (+.f64 (*.f64 2 (pow.f64 x 2)) (+.f64 (*.f64 2 x) 2)))
(+.f64 1 (exp.f64 (*.f64 2 x)))
(+.f64 1 (exp.f64 (*.f64 2 x)))
(+.f64 1 (exp.f64 (*.f64 2 x)))
(+.f64 1 (exp.f64 (*.f64 2 x)))
(+.f64 1 (exp.f64 (*.f64 2 x)))
(+.f64 1 (exp.f64 (*.f64 2 x)))
(+.f64 1 (exp.f64 (*.f64 2 x)))
(+.f64 1 (exp.f64 (*.f64 2 x)))
(*.f64 2 x)
(+.f64 (*.f64 2 (pow.f64 x 2)) (*.f64 2 x))
(+.f64 (*.f64 2 (pow.f64 x 2)) (+.f64 (*.f64 4/3 (pow.f64 x 3)) (*.f64 2 x)))
(+.f64 (*.f64 2 (pow.f64 x 2)) (+.f64 (*.f64 2/3 (pow.f64 x 4)) (+.f64 (*.f64 4/3 (pow.f64 x 3)) (*.f64 2 x))))
(-.f64 (exp.f64 (*.f64 2 x)) 1)
(-.f64 (exp.f64 (*.f64 2 x)) 1)
(-.f64 (exp.f64 (*.f64 2 x)) 1)
(-.f64 (exp.f64 (*.f64 2 x)) 1)
(-.f64 (exp.f64 (*.f64 2 x)) 1)
(-.f64 (exp.f64 (*.f64 2 x)) 1)
(-.f64 (exp.f64 (*.f64 2 x)) 1)
(-.f64 (exp.f64 (*.f64 2 x)) 1)
Outputs
x
(+.f64 (*.f64 -1/3 (pow.f64 x 3)) x)
(fma.f64 -1/3 (pow.f64 x 3) x)
(+.f64 (*.f64 -1/3 (pow.f64 x 3)) (+.f64 (*.f64 2/15 (pow.f64 x 5)) x))
(fma.f64 -1/3 (pow.f64 x 3) (fma.f64 2/15 (pow.f64 x 5) x))
(+.f64 (*.f64 -17/315 (pow.f64 x 7)) (+.f64 (*.f64 -1/3 (pow.f64 x 3)) (+.f64 (*.f64 2/15 (pow.f64 x 5)) x)))
(fma.f64 -17/315 (pow.f64 x 7) (fma.f64 -1/3 (pow.f64 x 3) (fma.f64 2/15 (pow.f64 x 5) x)))
(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 (*.f64 2 x)) 1) (+.f64 1 (exp.f64 (*.f64 2 x))))
(/.f64 (expm1.f64 (*.f64 x 2)) (+.f64 (pow.f64 (exp.f64 2) x) 1))
(/.f64 (expm1.f64 (+.f64 x x)) (fma.f64 (exp.f64 x) (exp.f64 x) 1))
(/.f64 (-.f64 (exp.f64 (*.f64 2 x)) 1) (+.f64 1 (exp.f64 (*.f64 2 x))))
(/.f64 (expm1.f64 (*.f64 x 2)) (+.f64 (pow.f64 (exp.f64 2) x) 1))
(/.f64 (expm1.f64 (+.f64 x x)) (fma.f64 (exp.f64 x) (exp.f64 x) 1))
(/.f64 (-.f64 (exp.f64 (*.f64 2 x)) 1) (+.f64 1 (exp.f64 (*.f64 2 x))))
(/.f64 (expm1.f64 (*.f64 x 2)) (+.f64 (pow.f64 (exp.f64 2) x) 1))
(/.f64 (expm1.f64 (+.f64 x x)) (fma.f64 (exp.f64 x) (exp.f64 x) 1))
(/.f64 (-.f64 (exp.f64 (*.f64 2 x)) 1) (+.f64 1 (exp.f64 (*.f64 2 x))))
(/.f64 (expm1.f64 (*.f64 x 2)) (+.f64 (pow.f64 (exp.f64 2) x) 1))
(/.f64 (expm1.f64 (+.f64 x x)) (fma.f64 (exp.f64 x) (exp.f64 x) 1))
(/.f64 (-.f64 (exp.f64 (*.f64 2 x)) 1) (+.f64 1 (exp.f64 (*.f64 2 x))))
(/.f64 (expm1.f64 (*.f64 x 2)) (+.f64 (pow.f64 (exp.f64 2) x) 1))
(/.f64 (expm1.f64 (+.f64 x x)) (fma.f64 (exp.f64 x) (exp.f64 x) 1))
(/.f64 (-.f64 (exp.f64 (*.f64 2 x)) 1) (+.f64 1 (exp.f64 (*.f64 2 x))))
(/.f64 (expm1.f64 (*.f64 x 2)) (+.f64 (pow.f64 (exp.f64 2) x) 1))
(/.f64 (expm1.f64 (+.f64 x x)) (fma.f64 (exp.f64 x) (exp.f64 x) 1))
(/.f64 (-.f64 (exp.f64 (*.f64 2 x)) 1) (+.f64 1 (exp.f64 (*.f64 2 x))))
(/.f64 (expm1.f64 (*.f64 x 2)) (+.f64 (pow.f64 (exp.f64 2) x) 1))
(/.f64 (expm1.f64 (+.f64 x x)) (fma.f64 (exp.f64 x) (exp.f64 x) 1))
(/.f64 (-.f64 (exp.f64 (*.f64 2 x)) 1) (+.f64 1 (exp.f64 (*.f64 2 x))))
(/.f64 (expm1.f64 (*.f64 x 2)) (+.f64 (pow.f64 (exp.f64 2) x) 1))
(/.f64 (expm1.f64 (+.f64 x x)) (fma.f64 (exp.f64 x) (exp.f64 x) 1))
2
(+.f64 (*.f64 2 x) 2)
(fma.f64 2 x 2)
(fma.f64 x 2 2)
(+.f64 (*.f64 2 (pow.f64 x 2)) (+.f64 (*.f64 2 x) 2))
(fma.f64 2 (*.f64 x x) (fma.f64 2 x 2))
(fma.f64 2 (fma.f64 x x x) 2)
(fma.f64 x (fma.f64 x 2 2) 2)
(+.f64 (*.f64 4/3 (pow.f64 x 3)) (+.f64 (*.f64 2 (pow.f64 x 2)) (+.f64 (*.f64 2 x) 2)))
(fma.f64 4/3 (pow.f64 x 3) (fma.f64 2 (*.f64 x x) (fma.f64 2 x 2)))
(fma.f64 (pow.f64 x 3) 4/3 (fma.f64 2 (fma.f64 x x x) 2))
(fma.f64 (*.f64 x x) (fma.f64 x 4/3 2) (fma.f64 x 2 2))
(fma.f64 x (fma.f64 x 2 2) (fma.f64 (pow.f64 x 3) 4/3 2))
(+.f64 1 (exp.f64 (*.f64 2 x)))
(+.f64 (pow.f64 (exp.f64 2) x) 1)
(fma.f64 (exp.f64 x) (exp.f64 x) 1)
(+.f64 1 (exp.f64 (*.f64 2 x)))
(+.f64 (pow.f64 (exp.f64 2) x) 1)
(fma.f64 (exp.f64 x) (exp.f64 x) 1)
(+.f64 1 (exp.f64 (*.f64 2 x)))
(+.f64 (pow.f64 (exp.f64 2) x) 1)
(fma.f64 (exp.f64 x) (exp.f64 x) 1)
(+.f64 1 (exp.f64 (*.f64 2 x)))
(+.f64 (pow.f64 (exp.f64 2) x) 1)
(fma.f64 (exp.f64 x) (exp.f64 x) 1)
(+.f64 1 (exp.f64 (*.f64 2 x)))
(+.f64 (pow.f64 (exp.f64 2) x) 1)
(fma.f64 (exp.f64 x) (exp.f64 x) 1)
(+.f64 1 (exp.f64 (*.f64 2 x)))
(+.f64 (pow.f64 (exp.f64 2) x) 1)
(fma.f64 (exp.f64 x) (exp.f64 x) 1)
(+.f64 1 (exp.f64 (*.f64 2 x)))
(+.f64 (pow.f64 (exp.f64 2) x) 1)
(fma.f64 (exp.f64 x) (exp.f64 x) 1)
(+.f64 1 (exp.f64 (*.f64 2 x)))
(+.f64 (pow.f64 (exp.f64 2) x) 1)
(fma.f64 (exp.f64 x) (exp.f64 x) 1)
(*.f64 2 x)
(*.f64 x 2)
(+.f64 x x)
(+.f64 (*.f64 2 (pow.f64 x 2)) (*.f64 2 x))
(*.f64 2 (+.f64 (*.f64 x x) x))
(*.f64 2 (fma.f64 x x x))
(*.f64 x (fma.f64 x 2 2))
(+.f64 (*.f64 2 (pow.f64 x 2)) (+.f64 (*.f64 4/3 (pow.f64 x 3)) (*.f64 2 x)))
(fma.f64 2 (*.f64 x x) (fma.f64 4/3 (pow.f64 x 3) (*.f64 x 2)))
(+.f64 (*.f64 (pow.f64 x 3) 4/3) (*.f64 2 (fma.f64 x x x)))
(fma.f64 (pow.f64 x 3) 4/3 (*.f64 2 (fma.f64 x x x)))
(*.f64 x (+.f64 2 (*.f64 x (fma.f64 x 4/3 2))))
(+.f64 (*.f64 2 (pow.f64 x 2)) (+.f64 (*.f64 2/3 (pow.f64 x 4)) (+.f64 (*.f64 4/3 (pow.f64 x 3)) (*.f64 2 x))))
(fma.f64 2 (*.f64 x x) (fma.f64 2/3 (pow.f64 x 4) (fma.f64 4/3 (pow.f64 x 3) (*.f64 x 2))))
(+.f64 (fma.f64 2/3 (pow.f64 x 4) (*.f64 (pow.f64 x 3) 4/3)) (*.f64 2 (fma.f64 x x x)))
(fma.f64 2/3 (pow.f64 x 4) (fma.f64 (pow.f64 x 3) 4/3 (*.f64 2 (fma.f64 x x x))))
(fma.f64 x (fma.f64 x 2 2) (*.f64 (pow.f64 x 3) (+.f64 4/3 (*.f64 x 2/3))))
(-.f64 (exp.f64 (*.f64 2 x)) 1)
(expm1.f64 (*.f64 x 2))
(expm1.f64 (+.f64 x x))
(-.f64 (exp.f64 (*.f64 2 x)) 1)
(expm1.f64 (*.f64 x 2))
(expm1.f64 (+.f64 x x))
(-.f64 (exp.f64 (*.f64 2 x)) 1)
(expm1.f64 (*.f64 x 2))
(expm1.f64 (+.f64 x x))
(-.f64 (exp.f64 (*.f64 2 x)) 1)
(expm1.f64 (*.f64 x 2))
(expm1.f64 (+.f64 x x))
(-.f64 (exp.f64 (*.f64 2 x)) 1)
(expm1.f64 (*.f64 x 2))
(expm1.f64 (+.f64 x x))
(-.f64 (exp.f64 (*.f64 2 x)) 1)
(expm1.f64 (*.f64 x 2))
(expm1.f64 (+.f64 x x))
(-.f64 (exp.f64 (*.f64 2 x)) 1)
(expm1.f64 (*.f64 x 2))
(expm1.f64 (+.f64 x x))
(-.f64 (exp.f64 (*.f64 2 x)) 1)
(expm1.f64 (*.f64 x 2))
(expm1.f64 (+.f64 x x))

prune304.0ms (6.6%)

Pruning

3 alts after pruning (1 fresh and 2 done)

PrunedKeptTotal
New1371138
Fresh101
Picked011
Done011
Total1383141
Error
0b
Counts
141 → 3
Alt Table
StatusErrorProgram
1.0b
(/.f64 (/.f64 (expm1.f64 (*.f64 x 4)) (+.f64 1 (pow.f64 (exp.f64 2) x))) (+.f64 1 (pow.f64 (exp.f64 2) x)))
0.0b
(tanh.f64 x)
1.0b
(/.f64 (expm1.f64 (*.f64 x 2)) (+.f64 1 (pow.f64 (exp.f64 2) x)))
Compiler

Compiled 2330 to 1637 computations (29.7% saved)

localize8.0ms (0.2%)

Local error

Found 3 expressions with local error:

NewErrorProgram
0.0b
(+.f64 1 (pow.f64 (exp.f64 2) x))
0.8b
(/.f64 (expm1.f64 (*.f64 x 4)) (+.f64 1 (pow.f64 (exp.f64 2) x)))
1.0b
(/.f64 (/.f64 (expm1.f64 (*.f64 x 4)) (+.f64 1 (pow.f64 (exp.f64 2) x))) (+.f64 1 (pow.f64 (exp.f64 2) x)))

series6.0ms (0.1%)

Counts
2 → 24
Calls

6 calls:

TimeVariablePointExpression
2.0ms
x
@0
(/.f64 (/.f64 (expm1.f64 (*.f64 x 4)) (+.f64 1 (pow.f64 (exp.f64 2) x))) (+.f64 1 (pow.f64 (exp.f64 2) x)))
1.0ms
x
@inf
(/.f64 (/.f64 (expm1.f64 (*.f64 x 4)) (+.f64 1 (pow.f64 (exp.f64 2) x))) (+.f64 1 (pow.f64 (exp.f64 2) x)))
1.0ms
x
@-inf
(/.f64 (/.f64 (expm1.f64 (*.f64 x 4)) (+.f64 1 (pow.f64 (exp.f64 2) x))) (+.f64 1 (pow.f64 (exp.f64 2) x)))
1.0ms
x
@-inf
(/.f64 (expm1.f64 (*.f64 x 4)) (+.f64 1 (pow.f64 (exp.f64 2) x)))
1.0ms
x
@inf
(/.f64 (expm1.f64 (*.f64 x 4)) (+.f64 1 (pow.f64 (exp.f64 2) x)))

rewrite58.0ms (1.3%)

Algorithm
batch-egg-rewrite
Rules
203×expm1-udef_binary64
203×log1p-udef_binary64
180×prod-diff_binary64
175×fma-def_binary64
171×log-pow_binary64
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
01245
125137
2323037
Stop Event
node limit
Counts
2 → 78
Calls
Call 1
Inputs
(/.f64 (/.f64 (expm1.f64 (*.f64 x 4)) (+.f64 1 (pow.f64 (exp.f64 2) x))) (+.f64 1 (pow.f64 (exp.f64 2) x)))
(/.f64 (expm1.f64 (*.f64 x 4)) (+.f64 1 (pow.f64 (exp.f64 2) x)))
Outputs
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (/.f64 (expm1.f64 (*.f64 x 4)) (pow.f64 (+.f64 1 (exp.f64 (+.f64 x x))) 2)))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (/.f64 (pow.f64 (exp.f64 4) x) (pow.f64 (+.f64 1 (exp.f64 (+.f64 x x))) 2)) (/.f64 1 (pow.f64 (+.f64 1 (exp.f64 (+.f64 x x))) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (expm1.f64 (*.f64 x 4)) (*.f64 (/.f64 1 (+.f64 1 (exp.f64 (+.f64 x x)))) (/.f64 1 (+.f64 1 (exp.f64 (+.f64 x x))))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (expm1.f64 (*.f64 x 4)) (/.f64 1 (pow.f64 (+.f64 1 (exp.f64 (+.f64 x x))) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (/.f64 (expm1.f64 (*.f64 x 4)) (pow.f64 (+.f64 1 (exp.f64 (+.f64 x x))) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (expm1.f64 (*.f64 x 4)) (+.f64 1 (exp.f64 (+.f64 x x)))) (/.f64 1 (+.f64 1 (exp.f64 (+.f64 x x)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (expm1.f64 (*.f64 x 4)) (pow.f64 (+.f64 1 (exp.f64 (+.f64 x x))) 2)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (/.f64 (expm1.f64 (*.f64 x 4)) (+.f64 1 (exp.f64 (+.f64 x x))))) 2) (*.f64 (cbrt.f64 (/.f64 (expm1.f64 (*.f64 x 4)) (+.f64 1 (exp.f64 (+.f64 x x))))) (/.f64 1 (+.f64 1 (exp.f64 (+.f64 x x))))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (/.f64 (expm1.f64 (*.f64 x 4)) (pow.f64 (+.f64 1 (exp.f64 (+.f64 x x))) 2))) (pow.f64 (cbrt.f64 (/.f64 (expm1.f64 (*.f64 x 4)) (pow.f64 (+.f64 1 (exp.f64 (+.f64 x x))) 2))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (/.f64 (expm1.f64 (*.f64 x 4)) (pow.f64 (+.f64 1 (exp.f64 (+.f64 x x))) 2))) 2) (cbrt.f64 (/.f64 (expm1.f64 (*.f64 x 4)) (pow.f64 (+.f64 1 (exp.f64 (+.f64 x x))) 2))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (sqrt.f64 (expm1.f64 (*.f64 x 4))) (hypot.f64 1 (exp.f64 x))) (*.f64 (/.f64 (sqrt.f64 (expm1.f64 (*.f64 x 4))) (hypot.f64 1 (exp.f64 x))) (/.f64 1 (+.f64 1 (exp.f64 (+.f64 x x))))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (sqrt.f64 (expm1.f64 (*.f64 x 4))) (+.f64 1 (exp.f64 (+.f64 x x)))) (/.f64 (sqrt.f64 (expm1.f64 (*.f64 x 4))) (+.f64 1 (exp.f64 (+.f64 x x)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (neg.f64 (expm1.f64 (*.f64 x 4))) (+.f64 1 (exp.f64 (+.f64 x x)))) (/.f64 1 (+.f64 (neg.f64 (exp.f64 (+.f64 x x))) -1)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 1 (+.f64 1 (exp.f64 (+.f64 x x)))) (/.f64 (expm1.f64 (*.f64 x 4)) (+.f64 1 (exp.f64 (+.f64 x x)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 1 (cbrt.f64 (pow.f64 (+.f64 1 (exp.f64 (+.f64 x x))) 2))) (/.f64 (/.f64 (expm1.f64 (*.f64 x 4)) (+.f64 1 (exp.f64 (+.f64 x x)))) (cbrt.f64 (+.f64 1 (exp.f64 (+.f64 x x))))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 1 (hypot.f64 1 (exp.f64 x))) (/.f64 (/.f64 (expm1.f64 (*.f64 x 4)) (+.f64 1 (exp.f64 (+.f64 x x)))) (hypot.f64 1 (exp.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (expm1.f64 (*.f64 x 4)) (hypot.f64 1 (exp.f64 x))) (/.f64 (/.f64 1 (+.f64 1 (exp.f64 (+.f64 x x)))) (hypot.f64 1 (exp.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (pow.f64 (cbrt.f64 (expm1.f64 (*.f64 x 4))) 2) (+.f64 1 (exp.f64 (+.f64 x x)))) (/.f64 (cbrt.f64 (expm1.f64 (*.f64 x 4))) (+.f64 1 (exp.f64 (+.f64 x x)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (expm1.f64 (*.f64 x 4)) 1) (/.f64 (/.f64 1 (+.f64 1 (exp.f64 (+.f64 x x)))) (+.f64 1 (exp.f64 (+.f64 x x)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (pow.f64 (cbrt.f64 (/.f64 (expm1.f64 (*.f64 x 4)) (+.f64 1 (exp.f64 (+.f64 x x))))) 2) 1) (/.f64 (cbrt.f64 (/.f64 (expm1.f64 (*.f64 x 4)) (+.f64 1 (exp.f64 (+.f64 x x))))) (+.f64 1 (exp.f64 (+.f64 x x)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (/.f64 (sqrt.f64 (expm1.f64 (*.f64 x 4))) (hypot.f64 1 (exp.f64 x))) 1) (/.f64 (/.f64 (sqrt.f64 (expm1.f64 (*.f64 x 4))) (hypot.f64 1 (exp.f64 x))) (+.f64 1 (exp.f64 (+.f64 x x)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (expm1.f64 (*.f64 x 4)) (cbrt.f64 (pow.f64 (+.f64 1 (exp.f64 (+.f64 x x))) 2))) (/.f64 (/.f64 1 (+.f64 1 (exp.f64 (+.f64 x x)))) (cbrt.f64 (+.f64 1 (exp.f64 (+.f64 x x))))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (pow.f64 (cbrt.f64 (/.f64 (expm1.f64 (*.f64 x 4)) (+.f64 1 (exp.f64 (+.f64 x x))))) 2) (cbrt.f64 (pow.f64 (+.f64 1 (exp.f64 (+.f64 x x))) 2))) (cbrt.f64 (/.f64 (expm1.f64 (*.f64 x 4)) (pow.f64 (+.f64 1 (exp.f64 (+.f64 x x))) 2))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (/.f64 (sqrt.f64 (expm1.f64 (*.f64 x 4))) (hypot.f64 1 (exp.f64 x))) (cbrt.f64 (pow.f64 (+.f64 1 (exp.f64 (+.f64 x x))) 2))) (/.f64 (/.f64 (sqrt.f64 (expm1.f64 (*.f64 x 4))) (hypot.f64 1 (exp.f64 x))) (cbrt.f64 (+.f64 1 (exp.f64 (+.f64 x x))))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (pow.f64 (cbrt.f64 (/.f64 (expm1.f64 (*.f64 x 4)) (+.f64 1 (exp.f64 (+.f64 x x))))) 2) (hypot.f64 1 (exp.f64 x))) (/.f64 (cbrt.f64 (/.f64 (expm1.f64 (*.f64 x 4)) (+.f64 1 (exp.f64 (+.f64 x x))))) (hypot.f64 1 (exp.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (/.f64 (expm1.f64 (*.f64 x 4)) (+.f64 1 (exp.f64 (+.f64 x x)))) (+.f64 1 (pow.f64 (exp.f64 2) (*.f64 x 3)))) (fma.f64 (exp.f64 (+.f64 x x)) (expm1.f64 (+.f64 x x)) 1))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (/.f64 (expm1.f64 (*.f64 x 4)) (+.f64 1 (exp.f64 (+.f64 x x)))) (-.f64 1 (pow.f64 (exp.f64 4) x))) (-.f64 1 (exp.f64 (+.f64 x x))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 (expm1.f64 (*.f64 x 4)) (pow.f64 (+.f64 1 (exp.f64 (+.f64 x x))) 2)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (/.f64 (expm1.f64 (*.f64 x 4)) (pow.f64 (+.f64 1 (exp.f64 (+.f64 x x))) 2)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (/.f64 (expm1.f64 (*.f64 x 4)) (pow.f64 (+.f64 1 (exp.f64 (+.f64 x x))) 2))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 (sqrt.f64 (expm1.f64 (*.f64 x 4))) (+.f64 1 (exp.f64 (+.f64 x x)))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 1 (/.f64 (expm1.f64 (*.f64 x 4)) (pow.f64 (+.f64 1 (exp.f64 (+.f64 x x))) 2))) -1)))) (#(struct:change #<rule egg-rr> (2) ((x neg.f64 (/.f64 (/.f64 (expm1.f64 (*.f64 x 4)) (+.f64 1 (exp.f64 (+.f64 x x)))) (+.f64 (neg.f64 (exp.f64 (+.f64 x x))) -1)))))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (/.f64 (expm1.f64 (*.f64 x 4)) (pow.f64 (+.f64 1 (exp.f64 (+.f64 x x))) 2)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (/.f64 (expm1.f64 (*.f64 x 4)) (pow.f64 (+.f64 1 (exp.f64 (+.f64 x x))) 2))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (/.f64 (expm1.f64 (*.f64 x 4)) (pow.f64 (+.f64 1 (exp.f64 (+.f64 x x))) 2)))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (/.f64 (expm1.f64 (*.f64 x 4)) (pow.f64 (+.f64 1 (exp.f64 (+.f64 x x))) 2)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (/.f64 (pow.f64 (/.f64 (expm1.f64 (*.f64 x 4)) (+.f64 1 (exp.f64 (+.f64 x x)))) 3) (pow.f64 (+.f64 1 (exp.f64 (+.f64 x x))) 3)))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (/.f64 (expm1.f64 (*.f64 x 4)) (pow.f64 (+.f64 1 (exp.f64 (+.f64 x x))) 2))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (-.f64 (log.f64 (expm1.f64 (*.f64 x 4))) (*.f64 2 (log1p.f64 (exp.f64 (+.f64 x x))))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (-.f64 (log.f64 (expm1.f64 (*.f64 x 4))) (*.f64 2 (log1p.f64 (exp.f64 (+.f64 x x))))) 1))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (/.f64 (expm1.f64 (*.f64 x 4)) (pow.f64 (+.f64 1 (exp.f64 (+.f64 x x))) 2))))))))
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (/.f64 (expm1.f64 (*.f64 x 4)) (+.f64 1 (exp.f64 (+.f64 x x)))))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (/.f64 (pow.f64 (exp.f64 4) x) (+.f64 1 (exp.f64 (+.f64 x x)))) (/.f64 1 (+.f64 1 (exp.f64 (+.f64 x x)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (expm1.f64 (*.f64 x 4)) (/.f64 1 (+.f64 1 (exp.f64 (+.f64 x x)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (/.f64 (expm1.f64 (*.f64 x 4)) (+.f64 1 (exp.f64 (+.f64 x x)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (expm1.f64 (*.f64 x 4)) (+.f64 1 (exp.f64 (+.f64 x x)))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (/.f64 (expm1.f64 (*.f64 x 4)) (+.f64 1 (exp.f64 (+.f64 x x))))) (pow.f64 (cbrt.f64 (/.f64 (expm1.f64 (*.f64 x 4)) (+.f64 1 (exp.f64 (+.f64 x x))))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (/.f64 (expm1.f64 (*.f64 x 4)) (+.f64 1 (exp.f64 (+.f64 x x))))) 2) (cbrt.f64 (/.f64 (expm1.f64 (*.f64 x 4)) (+.f64 1 (exp.f64 (+.f64 x x))))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (expm1.f64 (*.f64 x 4))) 2) (*.f64 (cbrt.f64 (expm1.f64 (*.f64 x 4))) (/.f64 1 (+.f64 1 (exp.f64 (+.f64 x x))))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (sqrt.f64 (expm1.f64 (*.f64 x 4))) (hypot.f64 1 (exp.f64 x))) (/.f64 (sqrt.f64 (expm1.f64 (*.f64 x 4))) (hypot.f64 1 (exp.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (expm1.f64 (*.f64 x 4))) (*.f64 (sqrt.f64 (expm1.f64 (*.f64 x 4))) (/.f64 1 (+.f64 1 (exp.f64 (+.f64 x x))))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (neg.f64 (expm1.f64 (*.f64 x 4))) (/.f64 1 (+.f64 (neg.f64 (exp.f64 (+.f64 x x))) -1)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 1 (+.f64 1 (exp.f64 (+.f64 x x)))) (expm1.f64 (*.f64 x 4)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (pow.f64 (cbrt.f64 (expm1.f64 (*.f64 x 4))) 2) 1) (/.f64 (cbrt.f64 (expm1.f64 (*.f64 x 4))) (+.f64 1 (exp.f64 (+.f64 x x)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (sqrt.f64 (expm1.f64 (*.f64 x 4))) 1) (/.f64 (sqrt.f64 (expm1.f64 (*.f64 x 4))) (+.f64 1 (exp.f64 (+.f64 x x)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 1 (cbrt.f64 (pow.f64 (+.f64 1 (exp.f64 (+.f64 x x))) 2))) (/.f64 (expm1.f64 (*.f64 x 4)) (cbrt.f64 (+.f64 1 (exp.f64 (+.f64 x x))))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (pow.f64 (cbrt.f64 (expm1.f64 (*.f64 x 4))) 2) (cbrt.f64 (pow.f64 (+.f64 1 (exp.f64 (+.f64 x x))) 2))) (cbrt.f64 (/.f64 (expm1.f64 (*.f64 x 4)) (+.f64 1 (exp.f64 (+.f64 x x))))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (sqrt.f64 (expm1.f64 (*.f64 x 4))) (cbrt.f64 (pow.f64 (+.f64 1 (exp.f64 (+.f64 x x))) 2))) (/.f64 (sqrt.f64 (expm1.f64 (*.f64 x 4))) (cbrt.f64 (+.f64 1 (exp.f64 (+.f64 x x))))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 1 (hypot.f64 1 (exp.f64 x))) (/.f64 (expm1.f64 (*.f64 x 4)) (hypot.f64 1 (exp.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (pow.f64 (cbrt.f64 (expm1.f64 (*.f64 x 4))) 2) (hypot.f64 1 (exp.f64 x))) (/.f64 (cbrt.f64 (expm1.f64 (*.f64 x 4))) (hypot.f64 1 (exp.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (expm1.f64 (*.f64 x 4)) (+.f64 1 (pow.f64 (exp.f64 2) (*.f64 x 3)))) (fma.f64 (exp.f64 (+.f64 x x)) (expm1.f64 (+.f64 x x)) 1))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (expm1.f64 (*.f64 x 4)) (-.f64 1 (pow.f64 (exp.f64 4) x))) (-.f64 1 (exp.f64 (+.f64 x x))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 (expm1.f64 (*.f64 x 4)) (+.f64 1 (exp.f64 (+.f64 x x)))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (/.f64 (expm1.f64 (*.f64 x 4)) (+.f64 1 (exp.f64 (+.f64 x x)))) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (/.f64 (expm1.f64 (*.f64 x 4)) (+.f64 1 (exp.f64 (+.f64 x x))))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 (sqrt.f64 (expm1.f64 (*.f64 x 4))) (hypot.f64 1 (exp.f64 x))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 (+.f64 1 (exp.f64 (+.f64 x x))) (expm1.f64 (*.f64 x 4))) -1)))) (#(struct:change #<rule egg-rr> (2) ((x neg.f64 (/.f64 (expm1.f64 (*.f64 x 4)) (+.f64 (neg.f64 (exp.f64 (+.f64 x x))) -1)))))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (/.f64 (expm1.f64 (*.f64 x 4)) (+.f64 1 (exp.f64 (+.f64 x x)))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (/.f64 (expm1.f64 (*.f64 x 4)) (+.f64 1 (exp.f64 (+.f64 x x))))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (/.f64 (expm1.f64 (*.f64 x 4)) (+.f64 1 (exp.f64 (+.f64 x x)))))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (/.f64 (expm1.f64 (*.f64 x 4)) (+.f64 1 (exp.f64 (+.f64 x x)))) 3))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (/.f64 (pow.f64 (expm1.f64 (*.f64 x 4)) 3) (pow.f64 (+.f64 1 (exp.f64 (+.f64 x x))) 3)))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (/.f64 (expm1.f64 (*.f64 x 4)) (+.f64 1 (exp.f64 (+.f64 x x))))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (-.f64 (log.f64 (expm1.f64 (*.f64 x 4))) (log1p.f64 (exp.f64 (+.f64 x x)))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (-.f64 (log.f64 (expm1.f64 (*.f64 x 4))) (log1p.f64 (exp.f64 (+.f64 x x)))) 1))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (/.f64 (expm1.f64 (*.f64 x 4)) (+.f64 1 (exp.f64 (+.f64 x x))))))))))

simplify32.0ms (0.7%)

Algorithm
egg-herbie
Rules
554×fma-def_binary64
339×unswap-sqr_binary64
337×associate-/l*_binary64
322×distribute-lft-out_binary64
279×associate-*l*_binary64
Iterations

Useful iterations: 4 (0.0ms)

IterNodesCost
042399
1121395
2284391
3837389
42651365
Stop Event
node limit
Counts
102 → 97
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 (*.f64 4 x)) 1) (pow.f64 (+.f64 1 (exp.f64 (*.f64 2 x))) 2))
(/.f64 (-.f64 (exp.f64 (*.f64 4 x)) 1) (pow.f64 (+.f64 1 (exp.f64 (*.f64 2 x))) 2))
(/.f64 (-.f64 (exp.f64 (*.f64 4 x)) 1) (pow.f64 (+.f64 1 (exp.f64 (*.f64 2 x))) 2))
(/.f64 (-.f64 (exp.f64 (*.f64 4 x)) 1) (pow.f64 (+.f64 1 (exp.f64 (*.f64 2 x))) 2))
(/.f64 (-.f64 (exp.f64 (*.f64 4 x)) 1) (pow.f64 (+.f64 1 (exp.f64 (*.f64 2 x))) 2))
(/.f64 (-.f64 (exp.f64 (*.f64 4 x)) 1) (pow.f64 (+.f64 1 (exp.f64 (*.f64 2 x))) 2))
(/.f64 (-.f64 (exp.f64 (*.f64 4 x)) 1) (pow.f64 (+.f64 1 (exp.f64 (*.f64 2 x))) 2))
(/.f64 (-.f64 (exp.f64 (*.f64 4 x)) 1) (pow.f64 (+.f64 1 (exp.f64 (*.f64 2 x))) 2))
(*.f64 2 x)
(+.f64 (*.f64 2 (pow.f64 x 2)) (*.f64 2 x))
(+.f64 (*.f64 2 (pow.f64 x 2)) (+.f64 (*.f64 4/3 (pow.f64 x 3)) (*.f64 2 x)))
(+.f64 (*.f64 2 (pow.f64 x 2)) (+.f64 (*.f64 2/3 (pow.f64 x 4)) (+.f64 (*.f64 4/3 (pow.f64 x 3)) (*.f64 2 x))))
(/.f64 (-.f64 (exp.f64 (*.f64 4 x)) 1) (+.f64 1 (exp.f64 (*.f64 2 x))))
(/.f64 (-.f64 (exp.f64 (*.f64 4 x)) 1) (+.f64 1 (exp.f64 (*.f64 2 x))))
(/.f64 (-.f64 (exp.f64 (*.f64 4 x)) 1) (+.f64 1 (exp.f64 (*.f64 2 x))))
(/.f64 (-.f64 (exp.f64 (*.f64 4 x)) 1) (+.f64 1 (exp.f64 (*.f64 2 x))))
(/.f64 (-.f64 (exp.f64 (*.f64 4 x)) 1) (+.f64 1 (exp.f64 (*.f64 2 x))))
(/.f64 (-.f64 (exp.f64 (*.f64 4 x)) 1) (+.f64 1 (exp.f64 (*.f64 2 x))))
(/.f64 (-.f64 (exp.f64 (*.f64 4 x)) 1) (+.f64 1 (exp.f64 (*.f64 2 x))))
(/.f64 (-.f64 (exp.f64 (*.f64 4 x)) 1) (+.f64 1 (exp.f64 (*.f64 2 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 (*.f64 4 x)) 1) (pow.f64 (+.f64 1 (exp.f64 (*.f64 2 x))) 2))
(/.f64 (expm1.f64 (*.f64 x 4)) (pow.f64 (+.f64 1 (exp.f64 (*.f64 x 2))) 2))
(/.f64 (expm1.f64 (*.f64 x 4)) (pow.f64 (+.f64 1 (pow.f64 (exp.f64 2) x)) 2))
(/.f64 (expm1.f64 (*.f64 x 4)) (pow.f64 (fma.f64 (exp.f64 x) (exp.f64 x) 1) 2))
(/.f64 (expm1.f64 (*.f64 x 4)) (pow.f64 (hypot.f64 1 (exp.f64 x)) 4))
(/.f64 (-.f64 (exp.f64 (*.f64 4 x)) 1) (pow.f64 (+.f64 1 (exp.f64 (*.f64 2 x))) 2))
(/.f64 (expm1.f64 (*.f64 x 4)) (pow.f64 (+.f64 1 (exp.f64 (*.f64 x 2))) 2))
(/.f64 (expm1.f64 (*.f64 x 4)) (pow.f64 (+.f64 1 (pow.f64 (exp.f64 2) x)) 2))
(/.f64 (expm1.f64 (*.f64 x 4)) (pow.f64 (fma.f64 (exp.f64 x) (exp.f64 x) 1) 2))
(/.f64 (expm1.f64 (*.f64 x 4)) (pow.f64 (hypot.f64 1 (exp.f64 x)) 4))
(/.f64 (-.f64 (exp.f64 (*.f64 4 x)) 1) (pow.f64 (+.f64 1 (exp.f64 (*.f64 2 x))) 2))
(/.f64 (expm1.f64 (*.f64 x 4)) (pow.f64 (+.f64 1 (exp.f64 (*.f64 x 2))) 2))
(/.f64 (expm1.f64 (*.f64 x 4)) (pow.f64 (+.f64 1 (pow.f64 (exp.f64 2) x)) 2))
(/.f64 (expm1.f64 (*.f64 x 4)) (pow.f64 (fma.f64 (exp.f64 x) (exp.f64 x) 1) 2))
(/.f64 (expm1.f64 (*.f64 x 4)) (pow.f64 (hypot.f64 1 (exp.f64 x)) 4))
(/.f64 (-.f64 (exp.f64 (*.f64 4 x)) 1) (pow.f64 (+.f64 1 (exp.f64 (*.f64 2 x))) 2))
(/.f64 (expm1.f64 (*.f64 x 4)) (pow.f64 (+.f64 1 (exp.f64 (*.f64 x 2))) 2))
(/.f64 (expm1.f64 (*.f64 x 4)) (pow.f64 (+.f64 1 (pow.f64 (exp.f64 2) x)) 2))
(/.f64 (expm1.f64 (*.f64 x 4)) (pow.f64 (fma.f64 (exp.f64 x) (exp.f64 x) 1) 2))
(/.f64 (expm1.f64 (*.f64 x 4)) (pow.f64 (hypot.f64 1 (exp.f64 x)) 4))
(/.f64 (-.f64 (exp.f64 (*.f64 4 x)) 1) (pow.f64 (+.f64 1 (exp.f64 (*.f64 2 x))) 2))
(/.f64 (expm1.f64 (*.f64 x 4)) (pow.f64 (+.f64 1 (exp.f64 (*.f64 x 2))) 2))
(/.f64 (expm1.f64 (*.f64 x 4)) (pow.f64 (+.f64 1 (pow.f64 (exp.f64 2) x)) 2))
(/.f64 (expm1.f64 (*.f64 x 4)) (pow.f64 (fma.f64 (exp.f64 x) (exp.f64 x) 1) 2))
(/.f64 (expm1.f64 (*.f64 x 4)) (pow.f64 (hypot.f64 1 (exp.f64 x)) 4))
(/.f64 (-.f64 (exp.f64 (*.f64 4 x)) 1) (pow.f64 (+.f64 1 (exp.f64 (*.f64 2 x))) 2))
(/.f64 (expm1.f64 (*.f64 x 4)) (pow.f64 (+.f64 1 (exp.f64 (*.f64 x 2))) 2))
(/.f64 (expm1.f64 (*.f64 x 4)) (pow.f64 (+.f64 1 (pow.f64 (exp.f64 2) x)) 2))
(/.f64 (expm1.f64 (*.f64 x 4)) (pow.f64 (fma.f64 (exp.f64 x) (exp.f64 x) 1) 2))
(/.f64 (expm1.f64 (*.f64 x 4)) (pow.f64 (hypot.f64 1 (exp.f64 x)) 4))
(/.f64 (-.f64 (exp.f64 (*.f64 4 x)) 1) (pow.f64 (+.f64 1 (exp.f64 (*.f64 2 x))) 2))
(/.f64 (expm1.f64 (*.f64 x 4)) (pow.f64 (+.f64 1 (exp.f64 (*.f64 x 2))) 2))
(/.f64 (expm1.f64 (*.f64 x 4)) (pow.f64 (+.f64 1 (pow.f64 (exp.f64 2) x)) 2))
(/.f64 (expm1.f64 (*.f64 x 4)) (pow.f64 (fma.f64 (exp.f64 x) (exp.f64 x) 1) 2))
(/.f64 (expm1.f64 (*.f64 x 4)) (pow.f64 (hypot.f64 1 (exp.f64 x)) 4))
(/.f64 (-.f64 (exp.f64 (*.f64 4 x)) 1) (pow.f64 (+.f64 1 (exp.f64 (*.f64 2 x))) 2))
(/.f64 (expm1.f64 (*.f64 x 4)) (pow.f64 (+.f64 1 (exp.f64 (*.f64 x 2))) 2))
(/.f64 (expm1.f64 (*.f64 x 4)) (pow.f64 (+.f64 1 (pow.f64 (exp.f64 2) x)) 2))
(/.f64 (expm1.f64 (*.f64 x 4)) (pow.f64 (fma.f64 (exp.f64 x) (exp.f64 x) 1) 2))
(/.f64 (expm1.f64 (*.f64 x 4)) (pow.f64 (hypot.f64 1 (exp.f64 x)) 4))
(*.f64 2 x)
(*.f64 x 2)
(+.f64 x x)
(+.f64 (*.f64 2 (pow.f64 x 2)) (*.f64 2 x))
(*.f64 2 (+.f64 (*.f64 x x) x))
(*.f64 2 (fma.f64 x x x))
(*.f64 x (fma.f64 x 2 2))
(+.f64 (*.f64 2 (pow.f64 x 2)) (+.f64 (*.f64 4/3 (pow.f64 x 3)) (*.f64 2 x)))
(fma.f64 2 (*.f64 x x) (fma.f64 4/3 (pow.f64 x 3) (*.f64 x 2)))
(+.f64 (*.f64 (pow.f64 x 3) 4/3) (*.f64 2 (fma.f64 x x x)))
(fma.f64 (pow.f64 x 3) 4/3 (*.f64 2 (fma.f64 x x x)))
(*.f64 x (+.f64 2 (*.f64 x (fma.f64 x 4/3 2))))
(*.f64 x (+.f64 (*.f64 x (fma.f64 x 4/3 2)) 2))
(+.f64 (*.f64 2 (pow.f64 x 2)) (+.f64 (*.f64 2/3 (pow.f64 x 4)) (+.f64 (*.f64 4/3 (pow.f64 x 3)) (*.f64 2 x))))
(fma.f64 2 (*.f64 x x) (fma.f64 2/3 (pow.f64 x 4) (fma.f64 4/3 (pow.f64 x 3) (*.f64 x 2))))
(+.f64 (fma.f64 2/3 (pow.f64 x 4) (*.f64 (pow.f64 x 3) 4/3)) (*.f64 2 (fma.f64 x x x)))
(fma.f64 2/3 (pow.f64 x 4) (fma.f64 (pow.f64 x 3) 4/3 (*.f64 2 (fma.f64 x x x))))
(fma.f64 x (fma.f64 x 2 2) (*.f64 (pow.f64 x 3) (+.f64 4/3 (*.f64 x 2/3))))
(fma.f64 2/3 (pow.f64 x 4) (*.f64 x (+.f64 (*.f64 x (fma.f64 x 4/3 2)) 2)))
(/.f64 (-.f64 (exp.f64 (*.f64 4 x)) 1) (+.f64 1 (exp.f64 (*.f64 2 x))))
(/.f64 (expm1.f64 (*.f64 x 4)) (+.f64 1 (exp.f64 (*.f64 x 2))))
(/.f64 (expm1.f64 (*.f64 x 4)) (+.f64 1 (pow.f64 (exp.f64 2) x)))
(/.f64 (expm1.f64 (*.f64 x 4)) (fma.f64 (exp.f64 x) (exp.f64 x) 1))
(/.f64 (expm1.f64 (*.f64 x 4)) (+.f64 1 (exp.f64 (+.f64 x x))))
(/.f64 (-.f64 (exp.f64 (*.f64 4 x)) 1) (+.f64 1 (exp.f64 (*.f64 2 x))))
(/.f64 (expm1.f64 (*.f64 x 4)) (+.f64 1 (exp.f64 (*.f64 x 2))))
(/.f64 (expm1.f64 (*.f64 x 4)) (+.f64 1 (pow.f64 (exp.f64 2) x)))
(/.f64 (expm1.f64 (*.f64 x 4)) (fma.f64 (exp.f64 x) (exp.f64 x) 1))
(/.f64 (expm1.f64 (*.f64 x 4)) (+.f64 1 (exp.f64 (+.f64 x x))))
(/.f64 (-.f64 (exp.f64 (*.f64 4 x)) 1) (+.f64 1 (exp.f64 (*.f64 2 x))))
(/.f64 (expm1.f64 (*.f64 x 4)) (+.f64 1 (exp.f64 (*.f64 x 2))))
(/.f64 (expm1.f64 (*.f64 x 4)) (+.f64 1 (pow.f64 (exp.f64 2) x)))
(/.f64 (expm1.f64 (*.f64 x 4)) (fma.f64 (exp.f64 x) (exp.f64 x) 1))
(/.f64 (expm1.f64 (*.f64 x 4)) (+.f64 1 (exp.f64 (+.f64 x x))))
(/.f64 (-.f64 (exp.f64 (*.f64 4 x)) 1) (+.f64 1 (exp.f64 (*.f64 2 x))))
(/.f64 (expm1.f64 (*.f64 x 4)) (+.f64 1 (exp.f64 (*.f64 x 2))))
(/.f64 (expm1.f64 (*.f64 x 4)) (+.f64 1 (pow.f64 (exp.f64 2) x)))
(/.f64 (expm1.f64 (*.f64 x 4)) (fma.f64 (exp.f64 x) (exp.f64 x) 1))
(/.f64 (expm1.f64 (*.f64 x 4)) (+.f64 1 (exp.f64 (+.f64 x x))))
(/.f64 (-.f64 (exp.f64 (*.f64 4 x)) 1) (+.f64 1 (exp.f64 (*.f64 2 x))))
(/.f64 (expm1.f64 (*.f64 x 4)) (+.f64 1 (exp.f64 (*.f64 x 2))))
(/.f64 (expm1.f64 (*.f64 x 4)) (+.f64 1 (pow.f64 (exp.f64 2) x)))
(/.f64 (expm1.f64 (*.f64 x 4)) (fma.f64 (exp.f64 x) (exp.f64 x) 1))
(/.f64 (expm1.f64 (*.f64 x 4)) (+.f64 1 (exp.f64 (+.f64 x x))))
(/.f64 (-.f64 (exp.f64 (*.f64 4 x)) 1) (+.f64 1 (exp.f64 (*.f64 2 x))))
(/.f64 (expm1.f64 (*.f64 x 4)) (+.f64 1 (exp.f64 (*.f64 x 2))))
(/.f64 (expm1.f64 (*.f64 x 4)) (+.f64 1 (pow.f64 (exp.f64 2) x)))
(/.f64 (expm1.f64 (*.f64 x 4)) (fma.f64 (exp.f64 x) (exp.f64 x) 1))
(/.f64 (expm1.f64 (*.f64 x 4)) (+.f64 1 (exp.f64 (+.f64 x x))))
(/.f64 (-.f64 (exp.f64 (*.f64 4 x)) 1) (+.f64 1 (exp.f64 (*.f64 2 x))))
(/.f64 (expm1.f64 (*.f64 x 4)) (+.f64 1 (exp.f64 (*.f64 x 2))))
(/.f64 (expm1.f64 (*.f64 x 4)) (+.f64 1 (pow.f64 (exp.f64 2) x)))
(/.f64 (expm1.f64 (*.f64 x 4)) (fma.f64 (exp.f64 x) (exp.f64 x) 1))
(/.f64 (expm1.f64 (*.f64 x 4)) (+.f64 1 (exp.f64 (+.f64 x x))))
(/.f64 (-.f64 (exp.f64 (*.f64 4 x)) 1) (+.f64 1 (exp.f64 (*.f64 2 x))))
(/.f64 (expm1.f64 (*.f64 x 4)) (+.f64 1 (exp.f64 (*.f64 x 2))))
(/.f64 (expm1.f64 (*.f64 x 4)) (+.f64 1 (pow.f64 (exp.f64 2) x)))
(/.f64 (expm1.f64 (*.f64 x 4)) (fma.f64 (exp.f64 x) (exp.f64 x) 1))
(/.f64 (expm1.f64 (*.f64 x 4)) (+.f64 1 (exp.f64 (+.f64 x x))))

prune589.0ms (12.7%)

Pruning

3 alts after pruning (0 fresh and 3 done)

PrunedKeptTotal
New1910191
Fresh000
Picked011
Done022
Total1913194
Error
0b
Counts
194 → 3
Alt Table
StatusErrorProgram
1.0b
(/.f64 (/.f64 (expm1.f64 (*.f64 x 4)) (+.f64 1 (pow.f64 (exp.f64 2) x))) (+.f64 1 (pow.f64 (exp.f64 2) x)))
0.0b
(tanh.f64 x)
1.0b
(/.f64 (expm1.f64 (*.f64 x 2)) (+.f64 1 (pow.f64 (exp.f64 2) x)))
Compiler

Compiled 4344 to 3268 computations (24.8% saved)

regimes9.0ms (0.2%)

Accuracy

Total -58.2b remaining (-496213.8%)

Threshold costs -58.2b (-496213.8%)

Counts
6 → 1
Calls
Call 1
Inputs
(/.f64 (/.f64 (expm1.f64 (*.f64 x 4)) (+.f64 1 (pow.f64 (exp.f64 2) x))) (+.f64 1 (pow.f64 (exp.f64 2) x)))
(/.f64 (expm1.f64 (*.f64 x 2)) (+.f64 1 (pow.f64 (exp.f64 2) x)))
(/.f64 (log1p.f64 (expm1.f64 (*.f64 2 (sinh.f64 x)))) (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))
(tanh.f64 x)
(/.f64 (*.f64 2 (sinh.f64 x)) (+.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))))
Outputs
(tanh.f64 x)
Results
5.0ms0.0bx
2.0ms0.0b(/.f64 (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))
Compiler

Compiled 85 to 49 computations (42.4% saved)

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

end14.0ms (0.3%)

Stop Event
done
Compiler

Compiled 6 to 4 computations (33.3% saved)

Profiling

Loading profile data...