Details

Time bar (total: 1.6s)

analyze0.0ms (0%)

Algorithm
search
Search
TrueOtherFalseIter
0%100%0%0
0%100%0%1
100%0%0%2
Compiler

Compiled 10 to 8 computations (20% saved)

sample746.0ms (45.3%)

Results
734.0ms8256×body256valid

preprocess61.0ms (3.7%)

Algorithm
egg-herbie
Rules
700×fma-def_binary64
434×unswap-sqr_binary64
345×fma-neg_binary64
311×fabs-div_binary64
290×exp-prod_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0813
11513
22113
32813
44713
58713
618413
741913
8113313
9311113
10430213
11548413
12719113
011
Stop Event
saturated
node limit
Calls
Call 1
Inputs
0
Outputs
0
Call 2
Inputs
(/.f64 2 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))
Outputs
(/.f64 2 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))
Compiler

Compiled 10 to 8 computations (20% saved)

simplify51.0ms (3.1%)

Algorithm
egg-herbie
Rules
700×fma-def_binary64
434×unswap-sqr_binary64
345×fma-neg_binary64
311×fabs-div_binary64
290×exp-prod_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0813
11513
22113
32813
44713
58713
618413
741913
8113313
9311113
10430213
11548413
12719113
Stop Event
node limit
Counts
1 → 1
Calls
Call 1
Inputs
(/.f64 2 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))
Outputs
(/.f64 2 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))

eval0.0ms (0%)

Compiler

Compiled 9 to 7 computations (22.2% saved)

prune1.0ms (0%)

Pruning

2 alts after pruning (2 fresh and 0 done)

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

Compiled 9 to 7 computations (22.2% saved)

localize5.0ms (0.3%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.0b
(/.f64 2 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))
0.0b
(+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))
0.0b
(+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))
0.0b
(/.f64 2 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))

series3.0ms (0.2%)

Counts
2 → 24
Calls

6 calls:

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

rewrite75.0ms (4.5%)

Algorithm
egg-rewrite-iter-limit
egg-rewrite
batch-egg-rewrite
Rules
91×add-sqr-sqrt_binary64
91×add-sqr-sqrt_binary64
87×add-log-exp_binary64
87×add-log-exp_binary64
85×*-un-lft-identity_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0818
117618
2282418
089
11769
228249
089
066
11296
221296
066
Stop Event
iter limit
unsound
iter limit
unsound
unsound
Counts
2 → 22
Calls
Call 1
Inputs
(/.f64 2 (+.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 2 (/.f64 1 (*.f64 2 (cosh.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (/.f64 2 (*.f64 2 (cosh.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (cbrt.f64 (/.f64 2 (*.f64 2 (cosh.f64 x)))) (cbrt.f64 (/.f64 2 (*.f64 2 (cosh.f64 x))))) (cbrt.f64 (/.f64 2 (*.f64 2 (cosh.f64 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (/.f64 2 (*.f64 2 (cosh.f64 x)))) (sqrt.f64 (/.f64 2 (*.f64 2 (cosh.f64 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 2 (*.f64 2 (cosh.f64 x))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (/.f64 2 (*.f64 2 (cosh.f64 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (*.f64 (*.f64 (/.f64 2 (*.f64 2 (cosh.f64 x))) (/.f64 2 (*.f64 2 (cosh.f64 x)))) (/.f64 2 (*.f64 2 (cosh.f64 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (/.f64 2 (*.f64 2 (cosh.f64 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (/.f64 2 (*.f64 2 (cosh.f64 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (/.f64 2 (*.f64 2 (cosh.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))))))))

simplify46.0ms (2.8%)

Algorithm
egg-herbie
Rules
620×distribute-lft-out_binary64
428×associate-/l/_binary64
396×associate-+l+_binary64
388×fma-def_binary64
344×associate-/r/_binary64
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
040283
188275
2196269
3545267
41913267
53666267
65200267
Stop Event
node limit
Counts
46 → 42
Calls
Call 1
Inputs
1
(+.f64 1 (*.f64 -1/2 (pow.f64 x 2)))
(+.f64 1 (+.f64 (*.f64 -1/2 (pow.f64 x 2)) (*.f64 5/24 (pow.f64 x 4))))
(+.f64 1 (+.f64 (*.f64 -1/2 (pow.f64 x 2)) (+.f64 (*.f64 -61/720 (pow.f64 x 6)) (*.f64 5/24 (pow.f64 x 4)))))
(/.f64 2 (+.f64 (exp.f64 (neg.f64 x)) (exp.f64 x)))
(/.f64 2 (+.f64 (exp.f64 (neg.f64 x)) (exp.f64 x)))
(/.f64 2 (+.f64 (exp.f64 (neg.f64 x)) (exp.f64 x)))
(/.f64 2 (+.f64 (exp.f64 (neg.f64 x)) (exp.f64 x)))
(/.f64 2 (+.f64 (exp.f64 x) (exp.f64 (*.f64 -1 x))))
(/.f64 2 (+.f64 (exp.f64 x) (exp.f64 (*.f64 -1 x))))
(/.f64 2 (+.f64 (exp.f64 x) (exp.f64 (*.f64 -1 x))))
(/.f64 2 (+.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
1
(+.f64 1 (*.f64 -1/2 (pow.f64 x 2)))
(+.f64 1 (*.f64 -1/2 (*.f64 x x)))
(fma.f64 -1/2 (*.f64 x x) 1)
(fma.f64 x (*.f64 -1/2 x) 1)
(+.f64 1 (+.f64 (*.f64 -1/2 (pow.f64 x 2)) (*.f64 5/24 (pow.f64 x 4))))
(+.f64 1 (fma.f64 -1/2 (*.f64 x x) (*.f64 5/24 (pow.f64 x 4))))
(fma.f64 -1/2 (*.f64 x x) (fma.f64 5/24 (pow.f64 x 4) 1))
(+.f64 1 (+.f64 (*.f64 -1/2 (pow.f64 x 2)) (+.f64 (*.f64 -61/720 (pow.f64 x 6)) (*.f64 5/24 (pow.f64 x 4)))))
(+.f64 1 (fma.f64 -1/2 (*.f64 x x) (fma.f64 -61/720 (pow.f64 x 6) (*.f64 5/24 (pow.f64 x 4)))))
(+.f64 1 (fma.f64 -1/2 (*.f64 x x) (fma.f64 5/24 (pow.f64 x 4) (*.f64 -61/720 (pow.f64 x 6)))))
(+.f64 (fma.f64 -1/2 (*.f64 x x) 1) (fma.f64 -61/720 (pow.f64 x 6) (*.f64 5/24 (pow.f64 x 4))))
(fma.f64 -1/2 (*.f64 x x) (fma.f64 5/24 (pow.f64 x 4) (fma.f64 -61/720 (pow.f64 x 6) 1)))
(/.f64 2 (+.f64 (exp.f64 (neg.f64 x)) (exp.f64 x)))
(/.f64 2 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))
(/.f64 2 (+.f64 (exp.f64 (neg.f64 x)) (exp.f64 x)))
(/.f64 2 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))
(/.f64 2 (+.f64 (exp.f64 (neg.f64 x)) (exp.f64 x)))
(/.f64 2 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))
(/.f64 2 (+.f64 (exp.f64 (neg.f64 x)) (exp.f64 x)))
(/.f64 2 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))
(/.f64 2 (+.f64 (exp.f64 x) (exp.f64 (*.f64 -1 x))))
(/.f64 2 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))
(/.f64 2 (+.f64 (exp.f64 x) (exp.f64 (*.f64 -1 x))))
(/.f64 2 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))
(/.f64 2 (+.f64 (exp.f64 x) (exp.f64 (*.f64 -1 x))))
(/.f64 2 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))
(/.f64 2 (+.f64 (exp.f64 x) (exp.f64 (*.f64 -1 x))))
(/.f64 2 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))
2
(+.f64 2 (pow.f64 x 2))
(+.f64 2 (*.f64 x x))
(fma.f64 x x 2)
(+.f64 2 (+.f64 (pow.f64 x 2) (*.f64 1/12 (pow.f64 x 4))))
(+.f64 2 (+.f64 (*.f64 x x) (*.f64 (pow.f64 x 4) 1/12)))
(+.f64 2 (fma.f64 x x (*.f64 (pow.f64 x 4) 1/12)))
(fma.f64 x x (fma.f64 (pow.f64 x 4) 1/12 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 (pow.f64 x 4) 1/12))))
(+.f64 2 (fma.f64 (pow.f64 x 6) 1/360 (fma.f64 x x (*.f64 (pow.f64 x 4) 1/12))))
(fma.f64 (pow.f64 x 6) 1/360 (fma.f64 x x (fma.f64 (pow.f64 x 4) 1/12 2)))
(fma.f64 x x (fma.f64 (pow.f64 x 6) 1/360 (fma.f64 (pow.f64 x 4) 1/12 2)))
(fma.f64 (pow.f64 x 4) 1/12 (fma.f64 (pow.f64 x 6) 1/360 (fma.f64 x x 2)))
(+.f64 (exp.f64 (neg.f64 x)) (exp.f64 x))
(+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))
(+.f64 (exp.f64 (neg.f64 x)) (exp.f64 x))
(+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))
(+.f64 (exp.f64 (neg.f64 x)) (exp.f64 x))
(+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))
(+.f64 (exp.f64 (neg.f64 x)) (exp.f64 x))
(+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))
(+.f64 (exp.f64 x) (exp.f64 (*.f64 -1 x)))
(+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))
(+.f64 (exp.f64 x) (exp.f64 (*.f64 -1 x)))
(+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))
(+.f64 (exp.f64 x) (exp.f64 (*.f64 -1 x)))
(+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))
(+.f64 (exp.f64 x) (exp.f64 (*.f64 -1 x)))
(+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))

eval10.0ms (0.6%)

Compiler

Compiled 472 to 320 computations (32.2% saved)

prune8.0ms (0.5%)

Pruning

4 alts after pruning (4 fresh and 0 done)

PrunedKeptTotal
New38442
Fresh000
Picked101
Done000
Total39443
Error
0b
Counts
43 → 4
Alt Table
Click to see full alt table
StatusErrorProgram
34.1b
1
0.0b
(cbrt.f64 (*.f64 (*.f64 (/.f64 2 (*.f64 2 (cosh.f64 x))) (/.f64 2 (*.f64 2 (cosh.f64 x)))) (/.f64 2 (*.f64 2 (cosh.f64 x)))))
34.6b
(fma.f64 x (*.f64 -1/2 x) 1)
0.0b
(/.f64 2 (*.f64 2 (cosh.f64 x)))
Compiler

Compiled 38 to 30 computations (21.1% saved)

localize3.0ms (0.2%)

Local error

Found 2 expressions with local error:

NewErrorProgram
0.0b
(/.f64 2 (*.f64 2 (cosh.f64 x)))
0.0b
(/.f64 2 (*.f64 2 (cosh.f64 x)))

series4.0ms (0.2%)

Counts
1 → 12
Calls

3 calls:

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

rewrite39.0ms (2.4%)

Algorithm
batch-egg-rewrite
Rules
603×pow1_binary64
559×add-log-exp_binary64
558×log1p-expm1-u_binary64
558×expm1-log1p-u_binary64
547×add-exp-log_binary64
Iterations

Useful iterations: 0 (0.0ms)

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

simplify57.0ms (3.4%)

Algorithm
egg-herbie
Rules
713×fma-def_binary64
391×*-commutative_binary64
372×associate-/l/_binary64
345×fma-neg_binary64
326×distribute-lft-out_binary64
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
025156
156154
2120152
3331150
41128150
52950150
63717150
74649150
87728150
Stop Event
node limit
Counts
32 → 29
Calls
Call 1
Inputs
1
(+.f64 1 (*.f64 -1/2 (pow.f64 x 2)))
(+.f64 1 (+.f64 (*.f64 -1/2 (pow.f64 x 2)) (*.f64 5/24 (pow.f64 x 4))))
(+.f64 1 (+.f64 (*.f64 -1/2 (pow.f64 x 2)) (+.f64 (*.f64 -61/720 (pow.f64 x 6)) (*.f64 5/24 (pow.f64 x 4)))))
(/.f64 2 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x)))
(/.f64 2 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x)))
(/.f64 2 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x)))
(/.f64 2 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x)))
(/.f64 2 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x)))
(/.f64 2 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x)))
(/.f64 2 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x)))
(/.f64 2 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x)))
Outputs
1
(+.f64 1 (*.f64 -1/2 (pow.f64 x 2)))
(+.f64 1 (*.f64 -1/2 (*.f64 x x)))
(fma.f64 -1/2 (*.f64 x x) 1)
(fma.f64 x (*.f64 -1/2 x) 1)
(+.f64 1 (+.f64 (*.f64 -1/2 (pow.f64 x 2)) (*.f64 5/24 (pow.f64 x 4))))
(+.f64 1 (fma.f64 -1/2 (*.f64 x x) (*.f64 5/24 (pow.f64 x 4))))
(fma.f64 -1/2 (*.f64 x x) (fma.f64 5/24 (pow.f64 x 4) 1))
(fma.f64 5/24 (pow.f64 x 4) (fma.f64 x (*.f64 -1/2 x) 1))
(+.f64 1 (+.f64 (*.f64 -1/2 (pow.f64 x 2)) (+.f64 (*.f64 -61/720 (pow.f64 x 6)) (*.f64 5/24 (pow.f64 x 4)))))
(+.f64 1 (fma.f64 -1/2 (*.f64 x x) (fma.f64 -61/720 (pow.f64 x 6) (*.f64 5/24 (pow.f64 x 4)))))
(+.f64 1 (fma.f64 -1/2 (*.f64 x x) (fma.f64 5/24 (pow.f64 x 4) (*.f64 -61/720 (pow.f64 x 6)))))
(fma.f64 -1/2 (*.f64 x x) (+.f64 (*.f64 -61/720 (pow.f64 x 6)) (fma.f64 5/24 (pow.f64 x 4) 1)))
(fma.f64 -1/2 (*.f64 x x) (fma.f64 -61/720 (pow.f64 x 6) (fma.f64 5/24 (pow.f64 x 4) 1)))
(fma.f64 -1/2 (*.f64 x x) (fma.f64 5/24 (pow.f64 x 4) (fma.f64 -61/720 (pow.f64 x 6) 1)))
(/.f64 2 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x)))
(/.f64 2 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))
(/.f64 2 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x)))
(/.f64 2 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))
(/.f64 2 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x)))
(/.f64 2 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))
(/.f64 2 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x)))
(/.f64 2 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))
(/.f64 2 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x)))
(/.f64 2 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))
(/.f64 2 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x)))
(/.f64 2 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))
(/.f64 2 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x)))
(/.f64 2 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))
(/.f64 2 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x)))
(/.f64 2 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))

localize3.0ms (0.2%)

localize7.0ms (0.4%)

Local error

Found 6 expressions with local error:

NewErrorProgram
0.0b
(*.f64 (/.f64 2 (*.f64 2 (cosh.f64 x))) (/.f64 2 (*.f64 2 (cosh.f64 x))))
0.0b
(/.f64 2 (*.f64 2 (cosh.f64 x)))
0.0b
(cbrt.f64 (*.f64 (*.f64 (/.f64 2 (*.f64 2 (cosh.f64 x))) (/.f64 2 (*.f64 2 (cosh.f64 x)))) (/.f64 2 (*.f64 2 (cosh.f64 x)))))
0.0b
(cbrt.f64 (*.f64 (*.f64 (/.f64 2 (*.f64 2 (cosh.f64 x))) (/.f64 2 (*.f64 2 (cosh.f64 x)))) (/.f64 2 (*.f64 2 (cosh.f64 x)))))
0.0b
(/.f64 2 (*.f64 2 (cosh.f64 x)))
0.0b
(*.f64 (/.f64 2 (*.f64 2 (cosh.f64 x))) (/.f64 2 (*.f64 2 (cosh.f64 x))))

series4.0ms (0.2%)

Counts
2 → 24
Calls

6 calls:

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

rewrite58.0ms (3.5%)

Algorithm
batch-egg-rewrite
Rules
815×pow1_binary64
765×add-log-exp_binary64
763×log1p-expm1-u_binary64
763×expm1-log1p-u_binary64
747×add-exp-log_binary64
Iterations

Useful iterations: 0 (0.0ms)

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

simplify44.0ms (2.7%)

Algorithm
egg-herbie
Rules
701×distribute-rgt-neg-in_binary64
634×distribute-lft-neg-in_binary64
432×fma-def_binary64
353×cancel-sign-sub-inv_binary64
344×*-commutative_binary64
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
038334
188327
2212323
3661321
42462321
56059321
Stop Event
node limit
Counts
93 → 86
Calls
Call 1
Inputs
1
(+.f64 1 (*.f64 -1 (pow.f64 x 2)))
(+.f64 (*.f64 2/3 (pow.f64 x 4)) (+.f64 1 (*.f64 -1 (pow.f64 x 2))))
(+.f64 (*.f64 2/3 (pow.f64 x 4)) (+.f64 1 (+.f64 (*.f64 -1 (pow.f64 x 2)) (*.f64 -17/45 (pow.f64 x 6)))))
(/.f64 4 (pow.f64 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x)) 2))
(/.f64 4 (pow.f64 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x)) 2))
(/.f64 4 (pow.f64 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x)) 2))
(/.f64 4 (pow.f64 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x)) 2))
(/.f64 4 (pow.f64 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x)) 2))
(/.f64 4 (pow.f64 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x)) 2))
(/.f64 4 (pow.f64 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x)) 2))
(/.f64 4 (pow.f64 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x)) 2))
1
(+.f64 1 (*.f64 -1/2 (pow.f64 x 2)))
(+.f64 1 (+.f64 (*.f64 -1/2 (pow.f64 x 2)) (*.f64 5/24 (pow.f64 x 4))))
(+.f64 1 (+.f64 (*.f64 -1/2 (pow.f64 x 2)) (+.f64 (*.f64 -61/720 (pow.f64 x 6)) (*.f64 5/24 (pow.f64 x 4)))))
(/.f64 2 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x)))
(/.f64 2 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x)))
(/.f64 2 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x)))
(/.f64 2 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x)))
(/.f64 2 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x)))
(/.f64 2 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x)))
(/.f64 2 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x)))
(/.f64 2 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x)))
Outputs
1
(+.f64 1 (*.f64 -1 (pow.f64 x 2)))
(+.f64 1 (neg.f64 (*.f64 x x)))
(-.f64 1 (*.f64 x x))
(neg.f64 (fma.f64 x x -1))
(+.f64 (*.f64 2/3 (pow.f64 x 4)) (+.f64 1 (*.f64 -1 (pow.f64 x 2))))
(fma.f64 2/3 (pow.f64 x 4) (+.f64 1 (neg.f64 (*.f64 x x))))
(-.f64 (fma.f64 2/3 (pow.f64 x 4) 1) (*.f64 x x))
(-.f64 (*.f64 2/3 (pow.f64 x 4)) (fma.f64 x x -1))
(-.f64 1 (fma.f64 x x (*.f64 (pow.f64 x 4) -2/3)))
(+.f64 (*.f64 2/3 (pow.f64 x 4)) (+.f64 1 (+.f64 (*.f64 -1 (pow.f64 x 2)) (*.f64 -17/45 (pow.f64 x 6)))))
(fma.f64 2/3 (pow.f64 x 4) (+.f64 1 (fma.f64 -1 (*.f64 x x) (*.f64 -17/45 (pow.f64 x 6)))))
(+.f64 (-.f64 (*.f64 -17/45 (pow.f64 x 6)) (*.f64 x x)) (fma.f64 2/3 (pow.f64 x 4) 1))
(fma.f64 2/3 (pow.f64 x 4) (-.f64 (fma.f64 -17/45 (pow.f64 x 6) 1) (*.f64 x x)))
(-.f64 (fma.f64 2/3 (pow.f64 x 4) (fma.f64 -17/45 (pow.f64 x 6) 1)) (*.f64 x x))
(-.f64 (fma.f64 -17/45 (pow.f64 x 6) (fma.f64 2/3 (pow.f64 x 4) 1)) (*.f64 x x))
(/.f64 4 (pow.f64 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x)) 2))
(/.f64 4 (pow.f64 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) 2))
(/.f64 4 (pow.f64 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x)) 2))
(/.f64 4 (pow.f64 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) 2))
(/.f64 4 (pow.f64 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x)) 2))
(/.f64 4 (pow.f64 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) 2))
(/.f64 4 (pow.f64 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x)) 2))
(/.f64 4 (pow.f64 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) 2))
(/.f64 4 (pow.f64 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x)) 2))
(/.f64 4 (pow.f64 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) 2))
(/.f64 4 (pow.f64 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x)) 2))
(/.f64 4 (pow.f64 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) 2))
(/.f64 4 (pow.f64 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x)) 2))
(/.f64 4 (pow.f64 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) 2))
(/.f64 4 (pow.f64 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x)) 2))
(/.f64 4 (pow.f64 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) 2))
1
(+.f64 1 (*.f64 -1/2 (pow.f64 x 2)))
(+.f64 1 (*.f64 (*.f64 x x) -1/2))
(fma.f64 (*.f64 x x) -1/2 1)
(fma.f64 x (*.f64 x -1/2) 1)
(+.f64 1 (+.f64 (*.f64 -1/2 (pow.f64 x 2)) (*.f64 5/24 (pow.f64 x 4))))
(+.f64 1 (fma.f64 -1/2 (*.f64 x x) (*.f64 (pow.f64 x 4) 5/24)))
(+.f64 1 (fma.f64 (*.f64 x x) -1/2 (*.f64 (pow.f64 x 4) 5/24)))
(fma.f64 x (*.f64 x -1/2) (fma.f64 (pow.f64 x 4) 5/24 1))
(+.f64 1 (+.f64 (*.f64 -1/2 (pow.f64 x 2)) (+.f64 (*.f64 -61/720 (pow.f64 x 6)) (*.f64 5/24 (pow.f64 x 4)))))
(+.f64 1 (fma.f64 -1/2 (*.f64 x x) (fma.f64 -61/720 (pow.f64 x 6) (*.f64 (pow.f64 x 4) 5/24))))
(+.f64 (fma.f64 (*.f64 x x) -1/2 1) (fma.f64 (pow.f64 x 6) -61/720 (*.f64 (pow.f64 x 4) 5/24)))
(+.f64 (fma.f64 x (*.f64 x -1/2) 1) (fma.f64 (pow.f64 x 6) -61/720 (*.f64 (pow.f64 x 4) 5/24)))
(fma.f64 x (*.f64 x -1/2) (fma.f64 (pow.f64 x 6) -61/720 (fma.f64 (pow.f64 x 4) 5/24 1)))
(/.f64 2 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x)))
(/.f64 2 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))
(/.f64 2 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x)))
(/.f64 2 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))
(/.f64 2 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x)))
(/.f64 2 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))
(/.f64 2 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x)))
(/.f64 2 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))
(/.f64 2 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x)))
(/.f64 2 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))
(/.f64 2 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x)))
(/.f64 2 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))
(/.f64 2 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x)))
(/.f64 2 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))
(/.f64 2 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x)))
(/.f64 2 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))

eval64.0ms (3.9%)

Compiler

Compiled 3378 to 2355 computations (30.3% saved)

prune24.0ms (1.4%)

Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New1993202
Fresh101
Picked101
Done112
Total2024206
Error
0b
Counts
206 → 4
Alt Table
Click to see full alt table
StatusErrorProgram
34.1b
1
0.0b
(/.f64 1 (cosh.f64 x))
0.0b
(cbrt.f64 (pow.f64 (/.f64 1 (cosh.f64 x)) 3))
34.6b
(fma.f64 x (*.f64 -1/2 x) 1)
Compiler

Compiled 22 to 18 computations (18.2% saved)

localize4.0ms (0.3%)

Local error

Found 6 expressions with local error:

NewErrorProgram
0.0b
(pow.f64 (/.f64 1 (cosh.f64 x)) 3)
0.0b
(/.f64 1 (cosh.f64 x))
0.0b
(cbrt.f64 (pow.f64 (/.f64 1 (cosh.f64 x)) 3))
0.0b
(cbrt.f64 (pow.f64 (/.f64 1 (cosh.f64 x)) 3))
0.0b
(/.f64 1 (cosh.f64 x))
0.0b
(pow.f64 (/.f64 1 (cosh.f64 x)) 3)

series6.0ms (0.3%)

Counts
3 → 36
Calls

9 calls:

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

rewrite54.0ms (3.3%)

Algorithm
batch-egg-rewrite
Rules
634×pow1_binary64
600×add-log-exp_binary64
598×log1p-expm1-u_binary64
598×expm1-log1p-u_binary64
584×add-exp-log_binary64
Iterations

Useful iterations: 1 (0.0ms)

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

simplify44.0ms (2.6%)

Algorithm
egg-herbie
Rules
706×times-frac_binary64
448×associate-/r*_binary64
432×fma-def_binary64
420×distribute-rgt-out_binary64
376×distribute-rgt-in_binary64
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
039492
188486
2218478
3679474
42268474
54921474
Stop Event
node limit
Counts
117 → 74
Calls
Call 1
Inputs
1
(+.f64 1 (*.f64 -3/2 (pow.f64 x 2)))
(+.f64 1 (+.f64 (*.f64 -3/2 (pow.f64 x 2)) (*.f64 11/8 (pow.f64 x 4))))
(+.f64 (*.f64 -241/240 (pow.f64 x 6)) (+.f64 1 (+.f64 (*.f64 -3/2 (pow.f64 x 2)) (*.f64 11/8 (pow.f64 x 4)))))
(/.f64 8 (pow.f64 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x)) 3))
(/.f64 8 (pow.f64 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x)) 3))
(/.f64 8 (pow.f64 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x)) 3))
(/.f64 8 (pow.f64 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x)) 3))
(/.f64 8 (pow.f64 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x)) 3))
(/.f64 8 (pow.f64 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x)) 3))
(/.f64 8 (pow.f64 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x)) 3))
(/.f64 8 (pow.f64 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x)) 3))
1
(+.f64 1 (*.f64 -1/2 (pow.f64 x 2)))
(+.f64 1 (+.f64 (*.f64 -1/2 (pow.f64 x 2)) (*.f64 5/24 (pow.f64 x 4))))
(+.f64 1 (+.f64 (*.f64 -1/2 (pow.f64 x 2)) (+.f64 (*.f64 -61/720 (pow.f64 x 6)) (*.f64 5/24 (pow.f64 x 4)))))
(/.f64 2 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x)))
(/.f64 2 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x)))
(/.f64 2 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x)))
(/.f64 2 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x)))
(/.f64 2 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x)))
(/.f64 2 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x)))
(/.f64 2 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x)))
(/.f64 2 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x)))
1
(+.f64 1 (*.f64 -1/2 (pow.f64 x 2)))
(+.f64 1 (+.f64 (*.f64 -1/2 (pow.f64 x 2)) (*.f64 5/24 (pow.f64 x 4))))
(+.f64 1 (+.f64 (*.f64 -1/2 (pow.f64 x 2)) (+.f64 (*.f64 -61/720 (pow.f64 x 6)) (*.f64 5/24 (pow.f64 x 4)))))
(/.f64 2 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x)))
(/.f64 2 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x)))
(/.f64 2 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x)))
(/.f64 2 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x)))
(/.f64 2 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x)))
(/.f64 2 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x)))
(/.f64 2 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x)))
(/.f64 2 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x)))
Outputs
1
(+.f64 1 (*.f64 -3/2 (pow.f64 x 2)))
(+.f64 1 (*.f64 -3/2 (*.f64 x x)))
(fma.f64 -3/2 (*.f64 x x) 1)
(+.f64 1 (+.f64 (*.f64 -3/2 (pow.f64 x 2)) (*.f64 11/8 (pow.f64 x 4))))
(+.f64 1 (fma.f64 -3/2 (*.f64 x x) (*.f64 11/8 (pow.f64 x 4))))
(fma.f64 -3/2 (*.f64 x x) (fma.f64 11/8 (pow.f64 x 4) 1))
(+.f64 (*.f64 -241/240 (pow.f64 x 6)) (+.f64 1 (+.f64 (*.f64 -3/2 (pow.f64 x 2)) (*.f64 11/8 (pow.f64 x 4)))))
(fma.f64 -241/240 (pow.f64 x 6) (+.f64 1 (fma.f64 -3/2 (*.f64 x x) (*.f64 11/8 (pow.f64 x 4)))))
(+.f64 (fma.f64 -3/2 (*.f64 x x) (*.f64 11/8 (pow.f64 x 4))) (fma.f64 -241/240 (pow.f64 x 6) 1))
(fma.f64 -241/240 (pow.f64 x 6) (fma.f64 -3/2 (*.f64 x x) (fma.f64 11/8 (pow.f64 x 4) 1)))
(fma.f64 -3/2 (*.f64 x x) (fma.f64 11/8 (pow.f64 x 4) (fma.f64 -241/240 (pow.f64 x 6) 1)))
(fma.f64 (*.f64 x x) (fma.f64 (*.f64 x x) 11/8 -3/2) (fma.f64 -241/240 (pow.f64 x 6) 1))
(/.f64 8 (pow.f64 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x)) 3))
(/.f64 8 (pow.f64 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) 3))
(/.f64 8 (pow.f64 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x)) 3))
(/.f64 8 (pow.f64 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) 3))
(/.f64 8 (pow.f64 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x)) 3))
(/.f64 8 (pow.f64 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) 3))
(/.f64 8 (pow.f64 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x)) 3))
(/.f64 8 (pow.f64 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) 3))
(/.f64 8 (pow.f64 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x)) 3))
(/.f64 8 (pow.f64 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) 3))
(/.f64 8 (pow.f64 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x)) 3))
(/.f64 8 (pow.f64 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) 3))
(/.f64 8 (pow.f64 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x)) 3))
(/.f64 8 (pow.f64 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) 3))
(/.f64 8 (pow.f64 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x)) 3))
(/.f64 8 (pow.f64 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) 3))
1
(+.f64 1 (*.f64 -1/2 (pow.f64 x 2)))
(+.f64 1 (*.f64 (*.f64 x x) -1/2))
(fma.f64 (*.f64 x x) -1/2 1)
(fma.f64 x (*.f64 x -1/2) 1)
(+.f64 1 (+.f64 (*.f64 -1/2 (pow.f64 x 2)) (*.f64 5/24 (pow.f64 x 4))))
(+.f64 1 (fma.f64 -1/2 (*.f64 x x) (*.f64 (pow.f64 x 4) 5/24)))
(+.f64 1 (fma.f64 (*.f64 x x) -1/2 (*.f64 (pow.f64 x 4) 5/24)))
(fma.f64 (pow.f64 x 4) 5/24 (fma.f64 x (*.f64 x -1/2) 1))
(fma.f64 x (*.f64 x -1/2) (fma.f64 (pow.f64 x 4) 5/24 1))
(+.f64 1 (+.f64 (*.f64 -1/2 (pow.f64 x 2)) (+.f64 (*.f64 -61/720 (pow.f64 x 6)) (*.f64 5/24 (pow.f64 x 4)))))
(+.f64 1 (fma.f64 -1/2 (*.f64 x x) (fma.f64 -61/720 (pow.f64 x 6) (*.f64 (pow.f64 x 4) 5/24))))
(+.f64 1 (fma.f64 (*.f64 x x) -1/2 (fma.f64 (pow.f64 x 4) 5/24 (*.f64 (pow.f64 x 6) -61/720))))
(+.f64 (*.f64 (pow.f64 x 6) -61/720) (fma.f64 (pow.f64 x 4) 5/24 (fma.f64 x (*.f64 x -1/2) 1)))
(fma.f64 (*.f64 x x) (fma.f64 x (*.f64 x 5/24) -1/2) (fma.f64 (pow.f64 x 6) -61/720 1))
(/.f64 2 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x)))
(/.f64 2 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))
(/.f64 2 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x)))
(/.f64 2 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))
(/.f64 2 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x)))
(/.f64 2 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))
(/.f64 2 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x)))
(/.f64 2 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))
(/.f64 2 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x)))
(/.f64 2 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))
(/.f64 2 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x)))
(/.f64 2 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))
(/.f64 2 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x)))
(/.f64 2 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))
(/.f64 2 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x)))
(/.f64 2 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))
1
(+.f64 1 (*.f64 -1/2 (pow.f64 x 2)))
(+.f64 1 (*.f64 (*.f64 x x) -1/2))
(fma.f64 (*.f64 x x) -1/2 1)
(fma.f64 x (*.f64 x -1/2) 1)
(+.f64 1 (+.f64 (*.f64 -1/2 (pow.f64 x 2)) (*.f64 5/24 (pow.f64 x 4))))
(+.f64 1 (fma.f64 -1/2 (*.f64 x x) (*.f64 (pow.f64 x 4) 5/24)))
(+.f64 1 (fma.f64 (*.f64 x x) -1/2 (*.f64 (pow.f64 x 4) 5/24)))
(fma.f64 (pow.f64 x 4) 5/24 (fma.f64 x (*.f64 x -1/2) 1))
(fma.f64 x (*.f64 x -1/2) (fma.f64 (pow.f64 x 4) 5/24 1))
(+.f64 1 (+.f64 (*.f64 -1/2 (pow.f64 x 2)) (+.f64 (*.f64 -61/720 (pow.f64 x 6)) (*.f64 5/24 (pow.f64 x 4)))))
(+.f64 1 (fma.f64 -1/2 (*.f64 x x) (fma.f64 -61/720 (pow.f64 x 6) (*.f64 (pow.f64 x 4) 5/24))))
(+.f64 1 (fma.f64 (*.f64 x x) -1/2 (fma.f64 (pow.f64 x 4) 5/24 (*.f64 (pow.f64 x 6) -61/720))))
(+.f64 (*.f64 (pow.f64 x 6) -61/720) (fma.f64 (pow.f64 x 4) 5/24 (fma.f64 x (*.f64 x -1/2) 1)))
(fma.f64 (*.f64 x x) (fma.f64 x (*.f64 x 5/24) -1/2) (fma.f64 (pow.f64 x 6) -61/720 1))
(/.f64 2 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x)))
(/.f64 2 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))
(/.f64 2 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x)))
(/.f64 2 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))
(/.f64 2 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x)))
(/.f64 2 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))
(/.f64 2 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x)))
(/.f64 2 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))
(/.f64 2 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x)))
(/.f64 2 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))
(/.f64 2 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x)))
(/.f64 2 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))
(/.f64 2 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x)))
(/.f64 2 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))
(/.f64 2 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x)))
(/.f64 2 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))

localize2.0ms (0.2%)

Local error

Found 2 expressions with local error:

NewErrorProgram
0.0b
(/.f64 1 (cosh.f64 x))
0.0b
(/.f64 1 (cosh.f64 x))

rewrite0.0ms (0%)

Counts
0 → 0

simplify6.0ms (0.4%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
000
Stop Event
saturated
Counts
0 → 0
Calls
Call 1
Inputs
Outputs

eval28.0ms (1.7%)

Compiler

Compiled 1081 to 737 computations (31.8% saved)

prune12.0ms (0.7%)

Pruning

4 alts after pruning (2 fresh and 2 done)

PrunedKeptTotal
New1061107
Fresh011
Picked011
Done112
Total1074111
Error
0b
Counts
111 → 4
Alt Table
Click to see full alt table
StatusErrorProgram
34.1b
1
0.0b
(/.f64 1 (cosh.f64 x))
0.0b
(sqrt.f64 (pow.f64 (cosh.f64 x) -2))
34.6b
(fma.f64 x (*.f64 -1/2 x) 1)
Compiler

Compiled 20 to 16 computations (20% saved)

localize5.0ms (0.3%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.0b
(pow.f64 (cosh.f64 x) -2)
0.0b
(sqrt.f64 (pow.f64 (cosh.f64 x) -2))
0.0b
(sqrt.f64 (pow.f64 (cosh.f64 x) -2))
0.0b
(pow.f64 (cosh.f64 x) -2)

series3.0ms (0.2%)

Counts
2 → 24
Calls

6 calls:

TimeVariablePointExpression
1.0ms
x
@inf
(pow.f64 (cosh.f64 x) -2)
1.0ms
x
@-inf
(pow.f64 (cosh.f64 x) -2)
0.0ms
x
@0
(pow.f64 (cosh.f64 x) -2)
0.0ms
x
@0
(sqrt.f64 (pow.f64 (cosh.f64 x) -2))
0.0ms
x
@-inf
(sqrt.f64 (pow.f64 (cosh.f64 x) -2))

rewrite40.0ms (2.4%)

Algorithm
batch-egg-rewrite
Rules
557×pow1_binary64
521×add-log-exp_binary64
519×log1p-expm1-u_binary64
519×expm1-log1p-u_binary64
507×add-exp-log_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0612
112812
2144312
Stop Event
node limit
Counts
2 → 42
Calls
Call 1
Inputs
(pow.f64 (cosh.f64 x) -2)
(sqrt.f64 (pow.f64 (cosh.f64 x) -2))
Outputs
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (pow.f64 (cosh.f64 x) -2)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cosh.f64 x) -2) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 1 (cosh.f64 x)) (/.f64 1 (cosh.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (pow.f64 (cosh.f64 x) -2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (pow.f64 (cosh.f64 x) -2)) (cbrt.f64 (pow.f64 (cosh.f64 x) -4)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (pow.f64 (cosh.f64 x) -2)) (*.f64 (cbrt.f64 (/.f64 1 (cosh.f64 x))) (/.f64 1 (cosh.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (pow.f64 (cosh.f64 x) -4)) (cbrt.f64 (pow.f64 (cosh.f64 x) -2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cosh.f64 x) -1/2) (*.f64 (pow.f64 (cosh.f64 x) -1/2) (/.f64 1 (cosh.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (/.f64 1 (cosh.f64 x)) (pow.f64 (cosh.f64 x) -1/2)) (pow.f64 (cosh.f64 x) -1/2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (pow.f64 (cbrt.f64 (cosh.f64 x)) 2) -2) (pow.f64 (cbrt.f64 (cosh.f64 x)) -2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (sqrt.f64 (cosh.f64 x)) -2) (pow.f64 (sqrt.f64 (cosh.f64 x)) -2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (/.f64 1 (cosh.f64 x)) (cbrt.f64 (pow.f64 (cosh.f64 x) -2))) (cbrt.f64 (/.f64 1 (cosh.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (cosh.f64 x) -4))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (pow.f64 (cosh.f64 x) -2)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (pow.f64 (cosh.f64 x) -2) 3))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (pow.f64 (cosh.f64 x) -2)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 -2 (log.f64 (cosh.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (pow.f64 (cosh.f64 x) -2)))))))
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (/.f64 1 (cosh.f64 x))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 1 (cosh.f64 x)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (/.f64 1 (cosh.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (/.f64 1 (cosh.f64 x))) (cbrt.f64 (pow.f64 (cosh.f64 x) -2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (pow.f64 (cosh.f64 x) -2)) (cbrt.f64 (/.f64 1 (cosh.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cosh.f64 x) -1/2) (pow.f64 (cosh.f64 x) -1/2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (cbrt.f64 (pow.f64 (cosh.f64 x) -4))) (sqrt.f64 (cbrt.f64 (pow.f64 (cosh.f64 x) -2))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (pow.f64 (cbrt.f64 (cosh.f64 x)) 2) -1) (pow.f64 (cbrt.f64 (cosh.f64 x)) -1))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (sqrt.f64 (cosh.f64 x)) -1) (pow.f64 (sqrt.f64 (cosh.f64 x)) -1))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 1 1/2) (/.f64 1 (cosh.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (pow.f64 (cosh.f64 x) -4)) 1/2) (pow.f64 (cbrt.f64 (pow.f64 (cosh.f64 x) -2)) 1/2))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (cosh.f64 x))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cosh.f64 x) -1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (cosh.f64 x) -2) 1/2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 1 (cosh.f64 x)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (cosh.f64 x) -3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (/.f64 1 (cosh.f64 x))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (cosh.f64 x) -1/2) 2)))) (#(struct:change #<rule egg-rr> (2) ((x fabs.f64 (/.f64 1 (cosh.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (/.f64 1 (cosh.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (cosh.f64 x) -3))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (/.f64 1 (cosh.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (cosh.f64 x)) -1))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (/.f64 1 (cosh.f64 x))))))))

simplify43.0ms (2.6%)

Algorithm
egg-herbie
Rules
701×distribute-rgt-neg-in_binary64
634×distribute-lft-neg-in_binary64
432×fma-def_binary64
353×cancel-sign-sub-inv_binary64
344×*-commutative_binary64
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
038334
188327
2212323
3661321
42462321
56059321
Stop Event
node limit
Counts
66 → 59
Calls
Call 1
Inputs
1
(+.f64 1 (*.f64 -1 (pow.f64 x 2)))
(+.f64 (*.f64 2/3 (pow.f64 x 4)) (+.f64 1 (*.f64 -1 (pow.f64 x 2))))
(+.f64 (*.f64 2/3 (pow.f64 x 4)) (+.f64 1 (+.f64 (*.f64 -1 (pow.f64 x 2)) (*.f64 -17/45 (pow.f64 x 6)))))
(/.f64 4 (pow.f64 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x)) 2))
(/.f64 4 (pow.f64 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x)) 2))
(/.f64 4 (pow.f64 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x)) 2))
(/.f64 4 (pow.f64 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x)) 2))
(/.f64 4 (pow.f64 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x)) 2))
(/.f64 4 (pow.f64 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x)) 2))
(/.f64 4 (pow.f64 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x)) 2))
(/.f64 4 (pow.f64 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x)) 2))
1
(+.f64 1 (*.f64 -1/2 (pow.f64 x 2)))
(+.f64 1 (+.f64 (*.f64 -1/2 (pow.f64 x 2)) (*.f64 5/24 (pow.f64 x 4))))
(+.f64 1 (+.f64 (*.f64 -1/2 (pow.f64 x 2)) (+.f64 (*.f64 -61/720 (pow.f64 x 6)) (*.f64 5/24 (pow.f64 x 4)))))
(/.f64 2 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x)))
(/.f64 2 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x)))
(/.f64 2 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x)))
(/.f64 2 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x)))
(/.f64 2 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x)))
(/.f64 2 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x)))
(/.f64 2 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x)))
(/.f64 2 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x)))
Outputs
1
(+.f64 1 (*.f64 -1 (pow.f64 x 2)))
(+.f64 1 (neg.f64 (*.f64 x x)))
(-.f64 1 (*.f64 x x))
(neg.f64 (fma.f64 x x -1))
(+.f64 (*.f64 2/3 (pow.f64 x 4)) (+.f64 1 (*.f64 -1 (pow.f64 x 2))))
(fma.f64 2/3 (pow.f64 x 4) (+.f64 1 (neg.f64 (*.f64 x x))))
(-.f64 (fma.f64 2/3 (pow.f64 x 4) 1) (*.f64 x x))
(-.f64 (*.f64 2/3 (pow.f64 x 4)) (fma.f64 x x -1))
(-.f64 1 (fma.f64 x x (*.f64 (pow.f64 x 4) -2/3)))
(+.f64 (*.f64 2/3 (pow.f64 x 4)) (+.f64 1 (+.f64 (*.f64 -1 (pow.f64 x 2)) (*.f64 -17/45 (pow.f64 x 6)))))
(fma.f64 2/3 (pow.f64 x 4) (+.f64 1 (fma.f64 -1 (*.f64 x x) (*.f64 -17/45 (pow.f64 x 6)))))
(+.f64 (-.f64 (*.f64 -17/45 (pow.f64 x 6)) (*.f64 x x)) (fma.f64 2/3 (pow.f64 x 4) 1))
(fma.f64 2/3 (pow.f64 x 4) (-.f64 (fma.f64 -17/45 (pow.f64 x 6) 1) (*.f64 x x)))
(-.f64 (fma.f64 2/3 (pow.f64 x 4) (fma.f64 -17/45 (pow.f64 x 6) 1)) (*.f64 x x))
(-.f64 (fma.f64 -17/45 (pow.f64 x 6) (fma.f64 2/3 (pow.f64 x 4) 1)) (*.f64 x x))
(/.f64 4 (pow.f64 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x)) 2))
(/.f64 4 (pow.f64 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) 2))
(/.f64 4 (pow.f64 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x)) 2))
(/.f64 4 (pow.f64 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) 2))
(/.f64 4 (pow.f64 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x)) 2))
(/.f64 4 (pow.f64 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) 2))
(/.f64 4 (pow.f64 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x)) 2))
(/.f64 4 (pow.f64 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) 2))
(/.f64 4 (pow.f64 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x)) 2))
(/.f64 4 (pow.f64 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) 2))
(/.f64 4 (pow.f64 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x)) 2))
(/.f64 4 (pow.f64 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) 2))
(/.f64 4 (pow.f64 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x)) 2))
(/.f64 4 (pow.f64 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) 2))
(/.f64 4 (pow.f64 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x)) 2))
(/.f64 4 (pow.f64 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) 2))
1
(+.f64 1 (*.f64 -1/2 (pow.f64 x 2)))
(+.f64 1 (*.f64 (*.f64 x x) -1/2))
(fma.f64 (*.f64 x x) -1/2 1)
(fma.f64 x (*.f64 x -1/2) 1)
(+.f64 1 (+.f64 (*.f64 -1/2 (pow.f64 x 2)) (*.f64 5/24 (pow.f64 x 4))))
(+.f64 1 (fma.f64 -1/2 (*.f64 x x) (*.f64 (pow.f64 x 4) 5/24)))
(+.f64 1 (fma.f64 (*.f64 x x) -1/2 (*.f64 (pow.f64 x 4) 5/24)))
(fma.f64 x (*.f64 x -1/2) (fma.f64 (pow.f64 x 4) 5/24 1))
(+.f64 1 (+.f64 (*.f64 -1/2 (pow.f64 x 2)) (+.f64 (*.f64 -61/720 (pow.f64 x 6)) (*.f64 5/24 (pow.f64 x 4)))))
(+.f64 1 (fma.f64 -1/2 (*.f64 x x) (fma.f64 -61/720 (pow.f64 x 6) (*.f64 (pow.f64 x 4) 5/24))))
(+.f64 (fma.f64 (*.f64 x x) -1/2 1) (fma.f64 (pow.f64 x 6) -61/720 (*.f64 (pow.f64 x 4) 5/24)))
(+.f64 (fma.f64 x (*.f64 x -1/2) 1) (fma.f64 (pow.f64 x 6) -61/720 (*.f64 (pow.f64 x 4) 5/24)))
(fma.f64 x (*.f64 x -1/2) (fma.f64 (pow.f64 x 6) -61/720 (fma.f64 (pow.f64 x 4) 5/24 1)))
(/.f64 2 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x)))
(/.f64 2 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))
(/.f64 2 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x)))
(/.f64 2 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))
(/.f64 2 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x)))
(/.f64 2 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))
(/.f64 2 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x)))
(/.f64 2 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))
(/.f64 2 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x)))
(/.f64 2 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))
(/.f64 2 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x)))
(/.f64 2 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))
(/.f64 2 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x)))
(/.f64 2 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))
(/.f64 2 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x)))
(/.f64 2 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))

eval17.0ms (1%)

Compiler

Compiled 563 to 387 computations (31.3% saved)

prune8.0ms (0.5%)

Pruning

4 alts after pruning (1 fresh and 3 done)

PrunedKeptTotal
New59059
Fresh011
Picked011
Done022
Total59463
Error
0b
Counts
63 → 4
Alt Table
Click to see full alt table
StatusErrorProgram
34.1b
1
0.0b
(/.f64 1 (cosh.f64 x))
0.0b
(sqrt.f64 (pow.f64 (cosh.f64 x) -2))
34.6b
(fma.f64 x (*.f64 -1/2 x) 1)
Compiler

Compiled 20 to 16 computations (20% saved)

regimes19.0ms (1.1%)

Counts
9 → 1
Calls
Call 1
Inputs
1
1
(/.f64 1 (cosh.f64 x))
(fma.f64 x (*.f64 -1/2 x) 1)
(/.f64 2 (*.f64 2 (cosh.f64 x)))
(/.f64 2 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))
(sqrt.f64 (pow.f64 (cosh.f64 x) -2))
(cbrt.f64 (pow.f64 (/.f64 1 (cosh.f64 x)) 3))
(cbrt.f64 (*.f64 (*.f64 (/.f64 2 (*.f64 2 (cosh.f64 x))) (/.f64 2 (*.f64 2 (cosh.f64 x)))) (/.f64 2 (*.f64 2 (cosh.f64 x)))))
Outputs
(sqrt.f64 (pow.f64 (cosh.f64 x) -2))
Calls

5 calls:

5.0ms
x
4.0ms
(+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))
2.0ms
(/.f64 2 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))
2.0ms
(/.f64 2 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))
2.0ms
(+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))
Results
ErrorSegmentsBranch
0.0b1x
0.0b1(/.f64 2 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))
0.0b1(/.f64 2 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))
0.0b1(+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))
0.0b1(+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))
Compiler

Compiled 94 to 68 computations (27.7% saved)

regimes16.0ms (0.9%)

Counts
6 → 1
Calls
Call 1
Inputs
1
1
(/.f64 1 (cosh.f64 x))
(fma.f64 x (*.f64 -1/2 x) 1)
(/.f64 2 (*.f64 2 (cosh.f64 x)))
(/.f64 2 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))
Outputs
(/.f64 1 (cosh.f64 x))
Calls

5 calls:

5.0ms
x
3.0ms
(+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))
2.0ms
(/.f64 2 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))
2.0ms
(/.f64 2 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))
2.0ms
(+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))
Results
ErrorSegmentsBranch
0.0b1x
0.0b1(/.f64 2 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))
0.0b1(/.f64 2 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))
0.0b1(+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))
0.0b1(+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))
Compiler

Compiled 61 to 45 computations (26.2% saved)

regimes4.0ms (0.2%)

Accuracy

Total 0.0b remaining (0%)

Threshold costs 0.0b (0%)

Counts
2 → 1
Calls
Call 1
Inputs
1
1
Outputs
1
Calls

1 calls:

3.0ms
x
Results
ErrorSegmentsBranch
34.1b1x
Compiler

Compiled 5 to 4 computations (20% saved)

simplify3.0ms (0.2%)

Algorithm
egg-herbie
Rules
1-exp_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0815
11015
Stop Event
saturated
Calls
Call 1
Inputs
(sqrt.f64 (pow.f64 (cosh.f64 x) -2))
(/.f64 1 (cosh.f64 x))
1
Outputs
(sqrt.f64 (pow.f64 (cosh.f64 x) -2))
(/.f64 1 (cosh.f64 x))
1

end22.0ms (1.3%)

Stop Event
fuel
Compiler

Compiled 24 to 19 computations (20.8% saved)

Profiling

Loading profile data...