Details

Time bar (total: 3.7s)

analyze4.0ms (0.1%)

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%0.8%49.2%9
50.4%0.4%49.2%10
50.4%0.2%49.4%11
50.4%0.1%49.5%12
50.4%0%49.6%13
50.4%0%49.6%14
Compiler

Compiled 10 to 8 computations (20% saved)

sample3.0s (82.4%)

Results
1.9s4098×body1024valid
626.0ms2065×body512valid
201.0ms409×body2048valid
194.0ms1029×body256valid
66.0ms655×body128valid
0.0msbody128invalid

preprocess37.0ms (1%)

Algorithm
egg-herbie
Rules
618×fma-neg_binary64
508×associate-/l*_binary64
414×associate-/r/_binary64
307×associate-/l/_binary64
215×fma-def_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0813
11913
23413
35813
412013
526113
671413
7210013
8493912
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))) 2)
Outputs
(/.f64 (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) 2)
(*.f64 -1/2 (-.f64 (exp.f64 (neg.f64 x)) (exp.f64 x)))
(*.f64 (-.f64 (exp.f64 (neg.f64 x)) (exp.f64 x)) -1/2)
(fma.f64 1/2 (exp.f64 x) (/.f64 -1/2 (exp.f64 x)))
Compiler

Compiled 9 to 7 computations (22.2% saved)

simplify26.0ms (0.7%)

Algorithm
egg-herbie
Rules
618×fma-neg_binary64
508×associate-/l*_binary64
414×associate-/r/_binary64
307×associate-/l/_binary64
215×fma-def_binary64
Iterations

Useful iterations: 8 (0.0ms)

IterNodesCost
0813
11913
23413
35813
412013
526113
671413
7210013
8493912
Stop Event
node limit
Counts
1 → 2
Calls
Call 1
Inputs
(/.f64 (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) 2)
Outputs
(/.f64 (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) 2)
(*.f64 -1/2 (-.f64 (exp.f64 (neg.f64 x)) (exp.f64 x)))
(*.f64 (-.f64 (exp.f64 (neg.f64 x)) (exp.f64 x)) -1/2)
(fma.f64 1/2 (exp.f64 x) (/.f64 -1/2 (exp.f64 x)))

prune2.0ms (0.1%)

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New112
Fresh011
Picked000
Done000
Total123
Error
58.0b
Counts
3 → 1
Alt Table
StatusErrorProgram
58.0b
(/.f64 (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) 2)
Compiler

Compiled 35 to 25 computations (28.6% saved)

localize5.0ms (0.1%)

Local error

Found 1 expressions with local error:

NewErrorProgram
5.8b
(-.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))

series2.0ms (0%)

Counts
1 → 8
Calls

3 calls:

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

rewrite30.0ms (0.8%)

Algorithm
egg-rewrite-iter-limit
batch-egg-rewrite
Rules
70×add-sqr-sqrt_binary64
67×add-log-exp_binary64
66×*-un-lft-identity_binary64
66×pow1_binary64
65×add-exp-log_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
066
11306
221496
066
Stop Event
iter limit
unsound
Counts
1 → 13
Calls
Call 1
Inputs
(-.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))
Outputs
((#(struct:change #<rule egg-rr> (2) ((x +.f64 (exp.f64 x) (neg.f64 (exp.f64 (neg.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (*.f64 2 (sinh.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (cbrt.f64 (*.f64 2 (sinh.f64 x))) (cbrt.f64 (*.f64 2 (sinh.f64 x)))) (cbrt.f64 (*.f64 2 (sinh.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (*.f64 2 (sinh.f64 x))) (sqrt.f64 (*.f64 2 (sinh.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 2 (sinh.f64 x))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (pow.f64 (exp.f64 x) 3) (pow.f64 (exp.f64 (neg.f64 x)) 3)) (+.f64 (*.f64 (exp.f64 x) (exp.f64 x)) (+.f64 (*.f64 (exp.f64 (neg.f64 x)) (exp.f64 (neg.f64 x))) (*.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (*.f64 (exp.f64 x) (exp.f64 x)) (*.f64 (exp.f64 (neg.f64 x)) (exp.f64 (neg.f64 x)))) (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 2 (sinh.f64 x)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (*.f64 2 (sinh.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (*.f64 (*.f64 (*.f64 2 (sinh.f64 x)) (*.f64 2 (sinh.f64 x))) (*.f64 2 (sinh.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 2 (sinh.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 2 (sinh.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (*.f64 2 (sinh.f64 x))))))))

simplify31.0ms (0.9%)

Algorithm
egg-herbie
Rules
700×fma-def_binary64
676×unswap-sqr_binary64
322×associate-*l*_binary64
265×*-commutative_binary64
204×associate-*r*_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02798
16898
215198
338898
473998
5163598
6253998
7412898
Stop Event
node limit
Counts
21 → 22
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)))
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)))
(*.f64 x (fma.f64 x (*.f64 x 1/3) 2))
(*.f64 x (fma.f64 1/3 (*.f64 x x) 2))
(+.f64 (*.f64 2 x) (+.f64 (*.f64 1/3 (pow.f64 x 3)) (*.f64 1/60 (pow.f64 x 5))))
(fma.f64 2 x (fma.f64 1/3 (pow.f64 x 3) (*.f64 1/60 (pow.f64 x 5))))
(fma.f64 x (fma.f64 x (*.f64 x 1/3) 2) (*.f64 1/60 (pow.f64 x 5)))
(fma.f64 x (fma.f64 1/3 (*.f64 x x) 2) (*.f64 1/60 (pow.f64 x 5)))
(+.f64 (*.f64 2 x) (+.f64 (*.f64 1/3 (pow.f64 x 3)) (+.f64 (*.f64 1/2520 (pow.f64 x 7)) (*.f64 1/60 (pow.f64 x 5)))))
(fma.f64 2 x (fma.f64 1/3 (pow.f64 x 3) (fma.f64 1/2520 (pow.f64 x 7) (*.f64 1/60 (pow.f64 x 5)))))
(fma.f64 2 x (fma.f64 1/3 (pow.f64 x 3) (fma.f64 1/60 (pow.f64 x 5) (*.f64 1/2520 (pow.f64 x 7)))))
(fma.f64 1/3 (pow.f64 x 3) (fma.f64 1/60 (pow.f64 x 5) (fma.f64 1/2520 (pow.f64 x 7) (*.f64 2 x))))
(fma.f64 x (fma.f64 1/3 (*.f64 x x) 2) (fma.f64 1/60 (pow.f64 x 5) (*.f64 1/2520 (pow.f64 x 7))))
(fma.f64 1/60 (pow.f64 x 5) (fma.f64 x (fma.f64 1/3 (*.f64 x x) 2) (*.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)))

prune28.0ms (0.8%)

Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New20222
Fresh000
Picked011
Done000
Total20323
Error
0.0b
Counts
23 → 3
Alt Table
StatusErrorProgram
58.0b
(/.f64 (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) 2)
0.0b
(/.f64 (*.f64 2 (sinh.f64 x)) 2)
0.3b
(/.f64 (+.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))))) 2)
Compiler

Compiled 357 to 245 computations (31.4% saved)

localize3.0ms (0.1%)

Local error

Found 1 expressions with local error:

NewErrorProgram
0.0b
(sinh.f64 x)

series3.0ms (0.1%)

Counts
1 → 12
Calls

3 calls:

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

rewrite32.0ms (0.9%)

Algorithm
batch-egg-rewrite
Rules
318×pow1_binary64
311×add-sqr-sqrt_binary64
297×add-log-exp_binary64
296×log1p-expm1-u_binary64
296×expm1-log1p-u_binary64
Iterations

Useful iterations: 0 (0.0ms)

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

simplify38.0ms (1%)

Algorithm
egg-herbie
Rules
872×fma-def_binary64
624×unswap-sqr_binary64
298×associate-*l*_binary64
228×*-commutative_binary64
217×fma-neg_binary64
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
025150
167150
2151142
3372142
4686142
51466142
62299142
73552142
84529142
Stop Event
node limit
Counts
33 → 30
Calls
Call 1
Inputs
x
(+.f64 (*.f64 1/6 (pow.f64 x 3)) x)
(+.f64 (*.f64 1/6 (pow.f64 x 3)) (+.f64 (*.f64 1/120 (pow.f64 x 5)) x))
(+.f64 (*.f64 1/6 (pow.f64 x 3)) (+.f64 (*.f64 1/5040 (pow.f64 x 7)) (+.f64 (*.f64 1/120 (pow.f64 x 5)) x)))
(*.f64 1/2 (-.f64 (exp.f64 x) (/.f64 1 (exp.f64 x))))
(*.f64 1/2 (-.f64 (exp.f64 x) (/.f64 1 (exp.f64 x))))
(*.f64 1/2 (-.f64 (exp.f64 x) (/.f64 1 (exp.f64 x))))
(*.f64 1/2 (-.f64 (exp.f64 x) (/.f64 1 (exp.f64 x))))
(*.f64 1/2 (-.f64 (exp.f64 x) (/.f64 1 (exp.f64 x))))
(*.f64 1/2 (-.f64 (exp.f64 x) (/.f64 1 (exp.f64 x))))
(*.f64 1/2 (-.f64 (exp.f64 x) (/.f64 1 (exp.f64 x))))
(*.f64 1/2 (-.f64 (exp.f64 x) (/.f64 1 (exp.f64 x))))
Outputs
x
(+.f64 (*.f64 1/6 (pow.f64 x 3)) x)
(fma.f64 1/6 (pow.f64 x 3) x)
(+.f64 (*.f64 1/6 (pow.f64 x 3)) (+.f64 (*.f64 1/120 (pow.f64 x 5)) x))
(fma.f64 1/6 (pow.f64 x 3) (fma.f64 1/120 (pow.f64 x 5) x))
(+.f64 (*.f64 1/6 (pow.f64 x 3)) (+.f64 (*.f64 1/5040 (pow.f64 x 7)) (+.f64 (*.f64 1/120 (pow.f64 x 5)) x)))
(fma.f64 1/6 (pow.f64 x 3) (fma.f64 1/5040 (pow.f64 x 7) (fma.f64 1/120 (pow.f64 x 5) x)))
(fma.f64 1/6 (pow.f64 x 3) (fma.f64 1/120 (pow.f64 x 5) (fma.f64 1/5040 (pow.f64 x 7) x)))
(*.f64 1/2 (-.f64 (exp.f64 x) (/.f64 1 (exp.f64 x))))
(*.f64 1/2 (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))
(fma.f64 1/2 (exp.f64 x) (/.f64 -1/2 (exp.f64 x)))
(*.f64 1/2 (-.f64 (exp.f64 x) (/.f64 1 (exp.f64 x))))
(*.f64 1/2 (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))
(fma.f64 1/2 (exp.f64 x) (/.f64 -1/2 (exp.f64 x)))
(*.f64 1/2 (-.f64 (exp.f64 x) (/.f64 1 (exp.f64 x))))
(*.f64 1/2 (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))
(fma.f64 1/2 (exp.f64 x) (/.f64 -1/2 (exp.f64 x)))
(*.f64 1/2 (-.f64 (exp.f64 x) (/.f64 1 (exp.f64 x))))
(*.f64 1/2 (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))
(fma.f64 1/2 (exp.f64 x) (/.f64 -1/2 (exp.f64 x)))
(*.f64 1/2 (-.f64 (exp.f64 x) (/.f64 1 (exp.f64 x))))
(*.f64 1/2 (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))
(fma.f64 1/2 (exp.f64 x) (/.f64 -1/2 (exp.f64 x)))
(*.f64 1/2 (-.f64 (exp.f64 x) (/.f64 1 (exp.f64 x))))
(*.f64 1/2 (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))
(fma.f64 1/2 (exp.f64 x) (/.f64 -1/2 (exp.f64 x)))
(*.f64 1/2 (-.f64 (exp.f64 x) (/.f64 1 (exp.f64 x))))
(*.f64 1/2 (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))
(fma.f64 1/2 (exp.f64 x) (/.f64 -1/2 (exp.f64 x)))
(*.f64 1/2 (-.f64 (exp.f64 x) (/.f64 1 (exp.f64 x))))
(*.f64 1/2 (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))
(fma.f64 1/2 (exp.f64 x) (/.f64 -1/2 (exp.f64 x)))

prune26.0ms (0.7%)

Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New28230
Fresh101
Picked101
Done011
Total30333
Error
0b
Counts
33 → 3
Alt Table
StatusErrorProgram
58.0b
(/.f64 (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) 2)
52.7b
(/.f64 (*.f64 2 (pow.f64 (pow.f64 (sinh.f64 x) 3) 1/3)) 2)
0.3b
(/.f64 (*.f64 2 (fma.f64 1/6 (pow.f64 x 3) (fma.f64 1/120 (pow.f64 x 5) (fma.f64 1/5040 (pow.f64 x 7) x)))) 2)
Compiler

Compiled 406 to 314 computations (22.7% saved)

localize12.0ms (0.3%)

Local error

Found 1 expressions with local error:

NewErrorProgram
0.0b
(fma.f64 1/6 (pow.f64 x 3) (fma.f64 1/120 (pow.f64 x 5) (fma.f64 1/5040 (pow.f64 x 7) x)))

series3.0ms (0.1%)

Counts
1 → 12
Calls

3 calls:

TimeVariablePointExpression
1.0ms
x
@-inf
(fma.f64 1/6 (pow.f64 x 3) (fma.f64 1/120 (pow.f64 x 5) (fma.f64 1/5040 (pow.f64 x 7) x)))
1.0ms
x
@inf
(fma.f64 1/6 (pow.f64 x 3) (fma.f64 1/120 (pow.f64 x 5) (fma.f64 1/5040 (pow.f64 x 7) x)))
1.0ms
x
@0
(fma.f64 1/6 (pow.f64 x 3) (fma.f64 1/120 (pow.f64 x 5) (fma.f64 1/5040 (pow.f64 x 7) x)))

rewrite44.0ms (1.2%)

Algorithm
batch-egg-rewrite
Rules
507×log-prod_binary64
239×expm1-udef_binary64
239×log1p-udef_binary64
193×log-pow_binary64
152×prod-diff_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01422
130622
2317722
Stop Event
node limit
Counts
1 → 30
Calls
Call 1
Inputs
(fma.f64 1/6 (pow.f64 x 3) (fma.f64 1/120 (pow.f64 x 5) (fma.f64 1/5040 (pow.f64 x 7) x)))
Outputs
((#(struct:change #<rule egg-rr> (2) ((x +.f64 (fma.f64 1/120 (pow.f64 x 5) (fma.f64 1/5040 (pow.f64 x 7) x)) (*.f64 1/6 (pow.f64 x 3)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 1/6 (pow.f64 x 3)) (fma.f64 1/120 (pow.f64 x 5) (fma.f64 1/5040 (pow.f64 x 7) x)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 0 (fma.f64 1/6 (pow.f64 x 3) (fma.f64 1/120 (pow.f64 x 5) (fma.f64 1/5040 (pow.f64 x 7) x))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 (*.f64 1/6 (pow.f64 x 3)) 1) (fma.f64 1/120 (pow.f64 x 5) (fma.f64 1/5040 (pow.f64 x 7) x)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (fma.f64 1/6 (pow.f64 x 3) (*.f64 1/120 (pow.f64 x 5))) (fma.f64 1/5040 (pow.f64 x 7) x))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (*.f64 (cbrt.f64 (exp.f64 (fma.f64 1/6 (pow.f64 x 3) (fma.f64 1/120 (pow.f64 x 5) (fma.f64 1/5040 (pow.f64 x 7) x))))) (cbrt.f64 (exp.f64 (fma.f64 1/6 (pow.f64 x 3) (fma.f64 1/120 (pow.f64 x 5) (fma.f64 1/5040 (pow.f64 x 7) x))))))) (log.f64 (cbrt.f64 (exp.f64 (fma.f64 1/6 (pow.f64 x 3) (fma.f64 1/120 (pow.f64 x 5) (fma.f64 1/5040 (pow.f64 x 7) x)))))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (sqrt.f64 (exp.f64 (fma.f64 1/6 (pow.f64 x 3) (fma.f64 1/120 (pow.f64 x 5) (fma.f64 1/5040 (pow.f64 x 7) x)))))) (log.f64 (sqrt.f64 (exp.f64 (fma.f64 1/6 (pow.f64 x 3) (fma.f64 1/120 (pow.f64 x 5) (fma.f64 1/5040 (pow.f64 x 7) x)))))))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (fma.f64 1/6 (pow.f64 x 3) (fma.f64 1/120 (pow.f64 x 5) (fma.f64 1/5040 (pow.f64 x 7) x))))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (fma.f64 1/6 (pow.f64 x 3) (fma.f64 1/120 (pow.f64 x 5) (fma.f64 1/5040 (pow.f64 x 7) x))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (fma.f64 1/6 (pow.f64 x 3) (fma.f64 1/120 (pow.f64 x 5) (fma.f64 1/5040 (pow.f64 x 7) x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (fma.f64 1/6 (pow.f64 x 3) (fma.f64 1/120 (pow.f64 x 5) (fma.f64 1/5040 (pow.f64 x 7) x)))) (pow.f64 (cbrt.f64 (fma.f64 1/6 (pow.f64 x 3) (fma.f64 1/120 (pow.f64 x 5) (fma.f64 1/5040 (pow.f64 x 7) x)))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (fma.f64 1/6 (pow.f64 x 3) (fma.f64 1/120 (pow.f64 x 5) (fma.f64 1/5040 (pow.f64 x 7) x)))) 2) (cbrt.f64 (fma.f64 1/6 (pow.f64 x 3) (fma.f64 1/120 (pow.f64 x 5) (fma.f64 1/5040 (pow.f64 x 7) x)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (fma.f64 1/6 (pow.f64 x 3) (fma.f64 1/120 (pow.f64 x 5) (fma.f64 1/5040 (pow.f64 x 7) x)))) (sqrt.f64 (fma.f64 1/6 (pow.f64 x 3) (fma.f64 1/120 (pow.f64 x 5) (fma.f64 1/5040 (pow.f64 x 7) x)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 (*.f64 1/6 (pow.f64 x 3)) 3) (pow.f64 (fma.f64 1/120 (pow.f64 x 5) (fma.f64 1/5040 (pow.f64 x 7) x)) 3)) (fma.f64 (*.f64 1/6 (pow.f64 x 3)) (*.f64 1/6 (pow.f64 x 3)) (-.f64 (pow.f64 (fma.f64 1/120 (pow.f64 x 5) (fma.f64 1/5040 (pow.f64 x 7) x)) 2) (*.f64 (*.f64 1/6 (pow.f64 x 3)) (fma.f64 1/120 (pow.f64 x 5) (fma.f64 1/5040 (pow.f64 x 7) x))))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (*.f64 (*.f64 1/6 (pow.f64 x 3)) (*.f64 1/6 (pow.f64 x 3))) (pow.f64 (fma.f64 1/120 (pow.f64 x 5) (fma.f64 1/5040 (pow.f64 x 7) x)) 2)) (-.f64 (*.f64 1/6 (pow.f64 x 3)) (fma.f64 1/120 (pow.f64 x 5) (fma.f64 1/5040 (pow.f64 x 7) x))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (fma.f64 1/6 (pow.f64 x 3) (fma.f64 1/120 (pow.f64 x 5) (fma.f64 1/5040 (pow.f64 x 7) x))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (fma.f64 1/6 (pow.f64 x 3) (fma.f64 1/120 (pow.f64 x 5) (fma.f64 1/5040 (pow.f64 x 7) x))) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (fma.f64 1/6 (pow.f64 x 3) (fma.f64 1/120 (pow.f64 x 5) (fma.f64 1/5040 (pow.f64 x 7) x)))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (fma.f64 1/6 (pow.f64 x 3) (fma.f64 1/120 (pow.f64 x 5) (fma.f64 1/5040 (pow.f64 x 7) x)))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (fma.f64 1/6 (pow.f64 x 3) (fma.f64 1/120 (pow.f64 x 5) (fma.f64 1/5040 (pow.f64 x 7) x))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (fma.f64 1/6 (pow.f64 x 3) (fma.f64 1/120 (pow.f64 x 5) (fma.f64 1/5040 (pow.f64 x 7) x)))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (fma.f64 1/6 (pow.f64 x 3) (fma.f64 1/120 (pow.f64 x 5) (fma.f64 1/5040 (pow.f64 x 7) x))))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (exp.f64 (fma.f64 1/120 (pow.f64 x 5) (fma.f64 1/5040 (pow.f64 x 7) x))) (exp.f64 (*.f64 1/6 (pow.f64 x 3)))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (+.f64 1 (expm1.f64 (fma.f64 1/120 (pow.f64 x 5) (fma.f64 1/5040 (pow.f64 x 7) x)))) (exp.f64 (*.f64 1/6 (pow.f64 x 3)))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (exp.f64 (*.f64 1/6 (pow.f64 x 3))) (+.f64 1 (expm1.f64 (fma.f64 1/120 (pow.f64 x 5) (fma.f64 1/5040 (pow.f64 x 7) x))))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (fma.f64 1/6 (pow.f64 x 3) (fma.f64 1/120 (pow.f64 x 5) (fma.f64 1/5040 (pow.f64 x 7) x))) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (fma.f64 1/6 (pow.f64 x 3) (fma.f64 1/120 (pow.f64 x 5) (fma.f64 1/5040 (pow.f64 x 7) x)))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (fma.f64 1/6 (pow.f64 x 3) (fma.f64 1/120 (pow.f64 x 5) (fma.f64 1/5040 (pow.f64 x 7) x)))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (fma.f64 1/6 (pow.f64 x 3) (fma.f64 1/120 (pow.f64 x 5) (fma.f64 1/5040 (pow.f64 x 7) x)))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (fma.f64 1/6 (pow.f64 x 3) (fma.f64 1/120 (pow.f64 x 5) (fma.f64 1/5040 (pow.f64 x 7) x)))) 1))))))

simplify60.0ms (1.6%)

Algorithm
egg-herbie
Rules
624×unswap-sqr_binary64
516×sqr-pow_binary64
490×fma-def_binary64
298×associate-*l*_binary64
254×cube-prod_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
021174
160174
2133174
3327174
4602174
51337174
62005174
72972174
83126174
93373174
103690174
114171174
124850174
Stop Event
node limit
Counts
42 → 42
Calls
Call 1
Inputs
x
(+.f64 (*.f64 1/6 (pow.f64 x 3)) x)
(+.f64 (*.f64 1/6 (pow.f64 x 3)) (+.f64 (*.f64 1/120 (pow.f64 x 5)) x))
(+.f64 (*.f64 1/6 (pow.f64 x 3)) (+.f64 (*.f64 1/5040 (pow.f64 x 7)) (+.f64 (*.f64 1/120 (pow.f64 x 5)) x)))
(*.f64 1/5040 (pow.f64 x 7))
(+.f64 (*.f64 1/5040 (pow.f64 x 7)) (*.f64 1/120 (pow.f64 x 5)))
(+.f64 (*.f64 1/6 (pow.f64 x 3)) (+.f64 (*.f64 1/5040 (pow.f64 x 7)) (*.f64 1/120 (pow.f64 x 5))))
(+.f64 (*.f64 1/6 (pow.f64 x 3)) (+.f64 (*.f64 1/5040 (pow.f64 x 7)) (+.f64 (*.f64 1/120 (pow.f64 x 5)) x)))
(*.f64 1/5040 (pow.f64 x 7))
(+.f64 (*.f64 1/5040 (pow.f64 x 7)) (*.f64 1/120 (pow.f64 x 5)))
(+.f64 (*.f64 1/6 (pow.f64 x 3)) (+.f64 (*.f64 1/5040 (pow.f64 x 7)) (*.f64 1/120 (pow.f64 x 5))))
(+.f64 (*.f64 1/6 (pow.f64 x 3)) (+.f64 (*.f64 1/5040 (pow.f64 x 7)) (+.f64 (*.f64 1/120 (pow.f64 x 5)) x)))
Outputs
x
(+.f64 (*.f64 1/6 (pow.f64 x 3)) x)
(fma.f64 1/6 (pow.f64 x 3) x)
(+.f64 (*.f64 1/6 (pow.f64 x 3)) (+.f64 (*.f64 1/120 (pow.f64 x 5)) x))
(fma.f64 1/6 (pow.f64 x 3) (fma.f64 1/120 (pow.f64 x 5) x))
(+.f64 (*.f64 1/6 (pow.f64 x 3)) (+.f64 (*.f64 1/5040 (pow.f64 x 7)) (+.f64 (*.f64 1/120 (pow.f64 x 5)) x)))
(fma.f64 1/6 (pow.f64 x 3) (fma.f64 1/5040 (pow.f64 x 7) (fma.f64 1/120 (pow.f64 x 5) x)))
(fma.f64 1/5040 (pow.f64 x 7) (fma.f64 1/6 (pow.f64 x 3) (fma.f64 1/120 (pow.f64 x 5) x)))
(fma.f64 1/6 (pow.f64 x 3) (fma.f64 1/120 (pow.f64 x 5) (fma.f64 1/5040 (pow.f64 x 7) x)))
(fma.f64 1/120 (pow.f64 x 5) (fma.f64 1/6 (pow.f64 x 3) (fma.f64 1/5040 (pow.f64 x 7) x)))
(*.f64 1/5040 (pow.f64 x 7))
(+.f64 (*.f64 1/5040 (pow.f64 x 7)) (*.f64 1/120 (pow.f64 x 5)))
(fma.f64 1/5040 (pow.f64 x 7) (*.f64 1/120 (pow.f64 x 5)))
(fma.f64 1/120 (pow.f64 x 5) (*.f64 1/5040 (pow.f64 x 7)))
(+.f64 (*.f64 1/6 (pow.f64 x 3)) (+.f64 (*.f64 1/5040 (pow.f64 x 7)) (*.f64 1/120 (pow.f64 x 5))))
(fma.f64 1/6 (pow.f64 x 3) (fma.f64 1/5040 (pow.f64 x 7) (*.f64 1/120 (pow.f64 x 5))))
(fma.f64 1/6 (pow.f64 x 3) (fma.f64 1/120 (pow.f64 x 5) (*.f64 1/5040 (pow.f64 x 7))))
(fma.f64 1/5040 (pow.f64 x 7) (fma.f64 1/6 (pow.f64 x 3) (*.f64 1/120 (pow.f64 x 5))))
(+.f64 (*.f64 1/6 (pow.f64 x 3)) (+.f64 (*.f64 1/5040 (pow.f64 x 7)) (+.f64 (*.f64 1/120 (pow.f64 x 5)) x)))
(fma.f64 1/6 (pow.f64 x 3) (fma.f64 1/5040 (pow.f64 x 7) (fma.f64 1/120 (pow.f64 x 5) x)))
(fma.f64 1/5040 (pow.f64 x 7) (fma.f64 1/6 (pow.f64 x 3) (fma.f64 1/120 (pow.f64 x 5) x)))
(fma.f64 1/6 (pow.f64 x 3) (fma.f64 1/120 (pow.f64 x 5) (fma.f64 1/5040 (pow.f64 x 7) x)))
(fma.f64 1/120 (pow.f64 x 5) (fma.f64 1/6 (pow.f64 x 3) (fma.f64 1/5040 (pow.f64 x 7) x)))
(*.f64 1/5040 (pow.f64 x 7))
(+.f64 (*.f64 1/5040 (pow.f64 x 7)) (*.f64 1/120 (pow.f64 x 5)))
(fma.f64 1/5040 (pow.f64 x 7) (*.f64 1/120 (pow.f64 x 5)))
(fma.f64 1/120 (pow.f64 x 5) (*.f64 1/5040 (pow.f64 x 7)))
(+.f64 (*.f64 1/6 (pow.f64 x 3)) (+.f64 (*.f64 1/5040 (pow.f64 x 7)) (*.f64 1/120 (pow.f64 x 5))))
(fma.f64 1/6 (pow.f64 x 3) (fma.f64 1/5040 (pow.f64 x 7) (*.f64 1/120 (pow.f64 x 5))))
(fma.f64 1/6 (pow.f64 x 3) (fma.f64 1/120 (pow.f64 x 5) (*.f64 1/5040 (pow.f64 x 7))))
(fma.f64 1/5040 (pow.f64 x 7) (fma.f64 1/6 (pow.f64 x 3) (*.f64 1/120 (pow.f64 x 5))))
(+.f64 (*.f64 1/6 (pow.f64 x 3)) (+.f64 (*.f64 1/5040 (pow.f64 x 7)) (+.f64 (*.f64 1/120 (pow.f64 x 5)) x)))
(fma.f64 1/6 (pow.f64 x 3) (fma.f64 1/5040 (pow.f64 x 7) (fma.f64 1/120 (pow.f64 x 5) x)))
(fma.f64 1/5040 (pow.f64 x 7) (fma.f64 1/6 (pow.f64 x 3) (fma.f64 1/120 (pow.f64 x 5) x)))
(fma.f64 1/6 (pow.f64 x 3) (fma.f64 1/120 (pow.f64 x 5) (fma.f64 1/5040 (pow.f64 x 7) x)))
(fma.f64 1/120 (pow.f64 x 5) (fma.f64 1/6 (pow.f64 x 3) (fma.f64 1/5040 (pow.f64 x 7) x)))

prune41.0ms (1.1%)

Pruning

3 alts after pruning (1 fresh and 2 done)

PrunedKeptTotal
New42042
Fresh011
Picked011
Done011
Total42345
Error
0b
Counts
45 → 3
Alt Table
StatusErrorProgram
58.0b
(/.f64 (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) 2)
52.7b
(/.f64 (*.f64 2 (pow.f64 (pow.f64 (sinh.f64 x) 3) 1/3)) 2)
0.3b
(/.f64 (*.f64 2 (fma.f64 1/6 (pow.f64 x 3) (fma.f64 1/120 (pow.f64 x 5) (fma.f64 1/5040 (pow.f64 x 7) x)))) 2)
Compiler

Compiled 1099 to 903 computations (17.8% saved)

localize8.0ms (0.2%)

Local error

Found 3 expressions with local error:

NewErrorProgram
0.0b
(pow.f64 (sinh.f64 x) 3)
0.0b
(sinh.f64 x)
41.3b
(pow.f64 (pow.f64 (sinh.f64 x) 3) 1/3)

series7.0ms (0.2%)

Counts
2 → 24
Calls

6 calls:

TimeVariablePointExpression
3.0ms
x
@inf
(pow.f64 (pow.f64 (sinh.f64 x) 3) 1/3)
2.0ms
x
@-inf
(pow.f64 (pow.f64 (sinh.f64 x) 3) 1/3)
1.0ms
x
@0
(pow.f64 (pow.f64 (sinh.f64 x) 3) 1/3)
0.0ms
x
@0
(pow.f64 (sinh.f64 x) 3)
0.0ms
x
@inf
(pow.f64 (sinh.f64 x) 3)

rewrite36.0ms (1%)

Algorithm
batch-egg-rewrite
Rules
561×pow1_binary64
535×add-log-exp_binary64
534×log1p-expm1-u_binary64
534×expm1-log1p-u_binary64
522×add-exp-log_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
079
11609
215079
Stop Event
node limit
Counts
2 → 44
Calls
Call 1
Inputs
(pow.f64 (pow.f64 (sinh.f64 x) 3) 1/3)
(pow.f64 (sinh.f64 x) 3)
Outputs
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (sinh.f64 x)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (/.f64 (exp.f64 x) 2) (/.f64 (exp.f64 (neg.f64 x)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sinh.f64 x) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (sinh.f64 x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (sinh.f64 x)) (pow.f64 (cbrt.f64 (sinh.f64 x)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (sinh.f64 x)) (pow.f64 (pow.f64 (sinh.f64 x) 2) 1/3))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (sinh.f64 x)) 2) (cbrt.f64 (sinh.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (sinh.f64 x)) (sqrt.f64 (sinh.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 2 (sinh.f64 x)) 1/2)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (pow.f64 (sinh.f64 x) 2) 1/3) (cbrt.f64 (sinh.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 1 1/3) (sinh.f64 x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (pow.f64 (sinh.f64 x) 3/2) 1/3) (pow.f64 (pow.f64 (sinh.f64 x) 3/2) 1/3))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 2 (*.f64 2 (sinh.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 2 (sinh.f64 x)) 2)))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (*.f64 2 (sinh.f64 x))) -2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (sinh.f64 x) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (sinh.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (sinh.f64 x) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (sinh.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (sinh.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (sinh.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x sinh.f64 x)))))
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (pow.f64 (sinh.f64 x) 3)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sinh.f64 x) (pow.f64 (sinh.f64 x) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (sinh.f64 x) 3) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (pow.f64 (sinh.f64 x) 3))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (sinh.f64 x) 2) (sinh.f64 x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (sinh.f64 x)) 2) (*.f64 (cbrt.f64 (sinh.f64 x)) (pow.f64 (sinh.f64 x) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (sinh.f64 x)) (*.f64 (sqrt.f64 (sinh.f64 x)) (pow.f64 (sinh.f64 x) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (sinh.f64 x) 3/2) (pow.f64 (sinh.f64 x) 3/2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (pow.f64 (cbrt.f64 (sinh.f64 x)) 2) 3) (sinh.f64 x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (sqrt.f64 (sinh.f64 x)) 3) (pow.f64 (sqrt.f64 (sinh.f64 x)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (pow.f64 (sinh.f64 x) 2) 1) (sinh.f64 x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (pow.f64 (sinh.f64 x) 2) (pow.f64 (cbrt.f64 (sinh.f64 x)) 2)) (cbrt.f64 (sinh.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (pow.f64 (sinh.f64 x) 2) (sqrt.f64 (sinh.f64 x))) (sqrt.f64 (sinh.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (pow.f64 (*.f64 2 (sinh.f64 x)) 3) 8)))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (*.f64 2 (sinh.f64 x)) (pow.f64 (sinh.f64 x) 2)) 2)))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (pow.f64 (sinh.f64 x) 2) (*.f64 2 (sinh.f64 x))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (sinh.f64 x) 6))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (pow.f64 (sinh.f64 x) 3)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (pow.f64 (sinh.f64 x) 3) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (pow.f64 (sinh.f64 x) 3)))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (pow.f64 (sinh.f64 x) 3)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 3 (log.f64 (sinh.f64 x))))))))

simplify26.0ms (0.7%)

Algorithm
egg-herbie
Rules
882×fma-def_binary64
494×distribute-rgt-in_binary64
448×distribute-lft-in_binary64
233×*-commutative_binary64
199×associate-*l*_binary64
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
039336
1108336
2274328
3810328
42116328
Stop Event
node limit
Counts
68 → 62
Calls
Call 1
Inputs
x
(+.f64 (*.f64 1/6 (pow.f64 x 3)) x)
(+.f64 (*.f64 1/6 (pow.f64 x 3)) (+.f64 (*.f64 1/120 (pow.f64 x 5)) x))
(+.f64 (*.f64 1/6 (pow.f64 x 3)) (+.f64 (*.f64 1/5040 (pow.f64 x 7)) (+.f64 (*.f64 1/120 (pow.f64 x 5)) x)))
(*.f64 1/2 (-.f64 (exp.f64 x) (/.f64 1 (exp.f64 x))))
(*.f64 1/2 (-.f64 (exp.f64 x) (/.f64 1 (exp.f64 x))))
(*.f64 1/2 (-.f64 (exp.f64 x) (/.f64 1 (exp.f64 x))))
(*.f64 1/2 (-.f64 (exp.f64 x) (/.f64 1 (exp.f64 x))))
(*.f64 1/2 (-.f64 (exp.f64 x) (/.f64 1 (exp.f64 x))))
(*.f64 1/2 (-.f64 (exp.f64 x) (/.f64 1 (exp.f64 x))))
(*.f64 1/2 (-.f64 (exp.f64 x) (/.f64 1 (exp.f64 x))))
(*.f64 1/2 (-.f64 (exp.f64 x) (/.f64 1 (exp.f64 x))))
(pow.f64 x 3)
(+.f64 (*.f64 1/2 (pow.f64 x 5)) (pow.f64 x 3))
(+.f64 (*.f64 13/120 (pow.f64 x 7)) (+.f64 (*.f64 1/2 (pow.f64 x 5)) (pow.f64 x 3)))
(+.f64 (*.f64 13/120 (pow.f64 x 7)) (+.f64 (*.f64 41/3024 (pow.f64 x 9)) (+.f64 (*.f64 1/2 (pow.f64 x 5)) (pow.f64 x 3))))
(*.f64 1/8 (pow.f64 (-.f64 (exp.f64 x) (/.f64 1 (exp.f64 x))) 3))
(*.f64 1/8 (pow.f64 (-.f64 (exp.f64 x) (/.f64 1 (exp.f64 x))) 3))
(*.f64 1/8 (pow.f64 (-.f64 (exp.f64 x) (/.f64 1 (exp.f64 x))) 3))
(*.f64 1/8 (pow.f64 (-.f64 (exp.f64 x) (/.f64 1 (exp.f64 x))) 3))
(*.f64 1/8 (pow.f64 (-.f64 (exp.f64 x) (/.f64 1 (exp.f64 x))) 3))
(*.f64 1/8 (pow.f64 (-.f64 (exp.f64 x) (/.f64 1 (exp.f64 x))) 3))
(*.f64 1/8 (pow.f64 (-.f64 (exp.f64 x) (/.f64 1 (exp.f64 x))) 3))
(*.f64 1/8 (pow.f64 (-.f64 (exp.f64 x) (/.f64 1 (exp.f64 x))) 3))
Outputs
x
(+.f64 (*.f64 1/6 (pow.f64 x 3)) x)
(fma.f64 1/6 (pow.f64 x 3) x)
(+.f64 (*.f64 1/6 (pow.f64 x 3)) (+.f64 (*.f64 1/120 (pow.f64 x 5)) x))
(fma.f64 1/6 (pow.f64 x 3) (fma.f64 1/120 (pow.f64 x 5) x))
(+.f64 (*.f64 1/6 (pow.f64 x 3)) (+.f64 (*.f64 1/5040 (pow.f64 x 7)) (+.f64 (*.f64 1/120 (pow.f64 x 5)) x)))
(fma.f64 1/6 (pow.f64 x 3) (fma.f64 1/5040 (pow.f64 x 7) (fma.f64 1/120 (pow.f64 x 5) x)))
(fma.f64 1/6 (pow.f64 x 3) (fma.f64 1/120 (pow.f64 x 5) (fma.f64 1/5040 (pow.f64 x 7) x)))
(*.f64 1/2 (-.f64 (exp.f64 x) (/.f64 1 (exp.f64 x))))
(*.f64 1/2 (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))
(fma.f64 1/2 (exp.f64 x) (/.f64 -1/2 (exp.f64 x)))
(*.f64 1/2 (-.f64 (exp.f64 x) (/.f64 1 (exp.f64 x))))
(*.f64 1/2 (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))
(fma.f64 1/2 (exp.f64 x) (/.f64 -1/2 (exp.f64 x)))
(*.f64 1/2 (-.f64 (exp.f64 x) (/.f64 1 (exp.f64 x))))
(*.f64 1/2 (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))
(fma.f64 1/2 (exp.f64 x) (/.f64 -1/2 (exp.f64 x)))
(*.f64 1/2 (-.f64 (exp.f64 x) (/.f64 1 (exp.f64 x))))
(*.f64 1/2 (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))
(fma.f64 1/2 (exp.f64 x) (/.f64 -1/2 (exp.f64 x)))
(*.f64 1/2 (-.f64 (exp.f64 x) (/.f64 1 (exp.f64 x))))
(*.f64 1/2 (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))
(fma.f64 1/2 (exp.f64 x) (/.f64 -1/2 (exp.f64 x)))
(*.f64 1/2 (-.f64 (exp.f64 x) (/.f64 1 (exp.f64 x))))
(*.f64 1/2 (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))
(fma.f64 1/2 (exp.f64 x) (/.f64 -1/2 (exp.f64 x)))
(*.f64 1/2 (-.f64 (exp.f64 x) (/.f64 1 (exp.f64 x))))
(*.f64 1/2 (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))
(fma.f64 1/2 (exp.f64 x) (/.f64 -1/2 (exp.f64 x)))
(*.f64 1/2 (-.f64 (exp.f64 x) (/.f64 1 (exp.f64 x))))
(*.f64 1/2 (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))
(fma.f64 1/2 (exp.f64 x) (/.f64 -1/2 (exp.f64 x)))
(pow.f64 x 3)
(+.f64 (*.f64 1/2 (pow.f64 x 5)) (pow.f64 x 3))
(fma.f64 1/2 (pow.f64 x 5) (pow.f64 x 3))
(fma.f64 (pow.f64 x 5) 1/2 (pow.f64 x 3))
(+.f64 (*.f64 13/120 (pow.f64 x 7)) (+.f64 (*.f64 1/2 (pow.f64 x 5)) (pow.f64 x 3)))
(fma.f64 13/120 (pow.f64 x 7) (fma.f64 1/2 (pow.f64 x 5) (pow.f64 x 3)))
(fma.f64 (pow.f64 x 7) 13/120 (fma.f64 (pow.f64 x 5) 1/2 (pow.f64 x 3)))
(fma.f64 (pow.f64 x 5) 1/2 (fma.f64 (pow.f64 x 7) 13/120 (pow.f64 x 3)))
(+.f64 (*.f64 13/120 (pow.f64 x 7)) (+.f64 (*.f64 41/3024 (pow.f64 x 9)) (+.f64 (*.f64 1/2 (pow.f64 x 5)) (pow.f64 x 3))))
(fma.f64 13/120 (pow.f64 x 7) (fma.f64 41/3024 (pow.f64 x 9) (fma.f64 1/2 (pow.f64 x 5) (pow.f64 x 3))))
(fma.f64 (pow.f64 x 7) 13/120 (fma.f64 41/3024 (pow.f64 x 9) (fma.f64 (pow.f64 x 5) 1/2 (pow.f64 x 3))))
(fma.f64 (pow.f64 x 7) 13/120 (fma.f64 (pow.f64 x 5) 1/2 (fma.f64 41/3024 (pow.f64 x 9) (pow.f64 x 3))))
(fma.f64 (pow.f64 x 5) 1/2 (fma.f64 (pow.f64 x 7) 13/120 (fma.f64 41/3024 (pow.f64 x 9) (pow.f64 x 3))))
(*.f64 1/8 (pow.f64 (-.f64 (exp.f64 x) (/.f64 1 (exp.f64 x))) 3))
(*.f64 1/8 (pow.f64 (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) 3))
(*.f64 1/8 (pow.f64 (-.f64 (exp.f64 x) (/.f64 1 (exp.f64 x))) 3))
(*.f64 1/8 (pow.f64 (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) 3))
(*.f64 1/8 (pow.f64 (-.f64 (exp.f64 x) (/.f64 1 (exp.f64 x))) 3))
(*.f64 1/8 (pow.f64 (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) 3))
(*.f64 1/8 (pow.f64 (-.f64 (exp.f64 x) (/.f64 1 (exp.f64 x))) 3))
(*.f64 1/8 (pow.f64 (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) 3))
(*.f64 1/8 (pow.f64 (-.f64 (exp.f64 x) (/.f64 1 (exp.f64 x))) 3))
(*.f64 1/8 (pow.f64 (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) 3))
(*.f64 1/8 (pow.f64 (-.f64 (exp.f64 x) (/.f64 1 (exp.f64 x))) 3))
(*.f64 1/8 (pow.f64 (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) 3))
(*.f64 1/8 (pow.f64 (-.f64 (exp.f64 x) (/.f64 1 (exp.f64 x))) 3))
(*.f64 1/8 (pow.f64 (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) 3))
(*.f64 1/8 (pow.f64 (-.f64 (exp.f64 x) (/.f64 1 (exp.f64 x))) 3))
(*.f64 1/8 (pow.f64 (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) 3))

prune51.0ms (1.4%)

Pruning

3 alts after pruning (0 fresh and 3 done)

PrunedKeptTotal
New92092
Fresh000
Picked011
Done022
Total92395
Error
0b
Counts
95 → 3
Alt Table
StatusErrorProgram
58.0b
(/.f64 (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) 2)
52.7b
(/.f64 (*.f64 2 (pow.f64 (pow.f64 (sinh.f64 x) 3) 1/3)) 2)
0.3b
(/.f64 (*.f64 2 (fma.f64 1/6 (pow.f64 x 3) (fma.f64 1/120 (pow.f64 x 5) (fma.f64 1/5040 (pow.f64 x 7) x)))) 2)
Compiler

Compiled 1336 to 1030 computations (22.9% saved)

regimes23.0ms (0.6%)

Accuracy

Total -59.8b remaining (-772257.2%)

Threshold costs -59.8b (-772257.2%)

Counts
17 → 1
Compiler

Compiled 223 to 171 computations (23.3% saved)

simplify2.0ms (0%)

Algorithm
egg-herbie
Rules
*-commutative_binary64
*-rgt-identity_binary64
1-exp_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
089
1139
Stop Event
saturated
Calls
Call 1
Inputs
(/.f64 (*.f64 2 (*.f64 (sinh.f64 x) 1)) 2)
Outputs
(/.f64 (*.f64 2 (*.f64 (sinh.f64 x) 1)) 2)
(/.f64 (*.f64 2 (sinh.f64 x)) 2)

end60.0ms (1.6%)

Stop Event
done
Compiler

Compiled 52 to 42 computations (19.2% saved)

Profiling

Loading profile data...