Details

Time bar (total: 1.9s)

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)

sample1.1s (60.5%)

Results
1.1s8256×body256valid

preprocess95.0ms (5.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
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)

simplify66.0ms (3.6%)

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

eval1.0ms (0%)

Compiler

Compiled 9 to 7 computations (22.2% saved)

prune1.0ms (0.1%)

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)

localize15.0ms (0.8%)

Local error

Found 1 expressions with local error:

NewErrorProgram
0.0b
(+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))
Compiler

Compiled 24 to 8 computations (66.7% saved)

series2.0ms (0.1%)

Counts
1 → 12
Calls

3 calls:

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

rewrite33.0ms (1.8%)

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

Useful iterations: 0 (0.0ms)

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

simplify49.0ms (2.7%)

Algorithm
egg-herbie
Rules
702×fma-def_binary64
587×fma-neg_binary64
403×associate-/l/_binary64
341×*-commutative_binary64
304×associate-/r/_binary64
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
025127
157121
2121117
3319117
41077117
52993117
64203117
77163117
Stop Event
node limit
Counts
24 → 22
Calls
Call 1
Inputs
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
2
(+.f64 2 (pow.f64 x 2))
(+.f64 2 (*.f64 x x))
(fma.f64 x x 2)
(+.f64 2 (+.f64 (pow.f64 x 2) (*.f64 1/12 (pow.f64 x 4))))
(+.f64 2 (+.f64 (*.f64 x x) (*.f64 1/12 (pow.f64 x 4))))
(+.f64 (fma.f64 x x 2) (*.f64 1/12 (pow.f64 x 4)))
(fma.f64 1/12 (pow.f64 x 4) (fma.f64 x x 2))
(fma.f64 x x (fma.f64 1/12 (pow.f64 x 4) 2))
(+.f64 2 (+.f64 (*.f64 1/360 (pow.f64 x 6)) (+.f64 (pow.f64 x 2) (*.f64 1/12 (pow.f64 x 4)))))
(+.f64 2 (fma.f64 1/360 (pow.f64 x 6) (+.f64 (*.f64 x x) (*.f64 1/12 (pow.f64 x 4)))))
(+.f64 2 (fma.f64 1/360 (pow.f64 x 6) (fma.f64 x x (*.f64 1/12 (pow.f64 x 4)))))
(fma.f64 1/360 (pow.f64 x 6) (fma.f64 1/12 (pow.f64 x 4) (fma.f64 x x 2)))
(fma.f64 x x (fma.f64 1/12 (pow.f64 x 4) (fma.f64 1/360 (pow.f64 x 6) 2)))
(+.f64 (exp.f64 (neg.f64 x)) (exp.f64 x))
(+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))
(+.f64 (exp.f64 (neg.f64 x)) (exp.f64 x))
(+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))
(+.f64 (exp.f64 (neg.f64 x)) (exp.f64 x))
(+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))
(+.f64 (exp.f64 (neg.f64 x)) (exp.f64 x))
(+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))
(+.f64 (exp.f64 x) (exp.f64 (*.f64 -1 x)))
(+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))
(+.f64 (exp.f64 x) (exp.f64 (*.f64 -1 x)))
(+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))
(+.f64 (exp.f64 x) (exp.f64 (*.f64 -1 x)))
(+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))
(+.f64 (exp.f64 x) (exp.f64 (*.f64 -1 x)))
(+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))

eval5.0ms (0.3%)

Compiler

Compiled 259 to 168 computations (35.1% saved)

prune4.0ms (0.2%)

Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New19322
Fresh000
Picked101
Done000
Total20323
Error
0b
Counts
23 → 3
Alt Table
Click to see full alt table
StatusErrorProgram
0.4b
(/.f64 2 (expm1.f64 (log1p.f64 (*.f64 2 (cosh.f64 x)))))
35.7b
(/.f64 2 2)
0.0b
(/.f64 2 (*.f64 2 (cosh.f64 x)))
Compiler

Compiled 20 to 18 computations (10% saved)

localize2.0ms (0.1%)

Compiler

Compiled 5 to 5 computations (0% saved)

localize14.0ms (0.8%)

Local error

Found 3 expressions with local error:

NewErrorProgram
0.0b
(cosh.f64 x)
0.0b
(expm1.f64 (log1p.f64 (*.f64 2 (cosh.f64 x))))
0.9b
(log1p.f64 (*.f64 2 (cosh.f64 x)))
Compiler

Compiled 28 to 18 computations (35.7% saved)

series58.0ms (3.1%)

Counts
3 → 36
Calls

9 calls:

TimeVariablePointExpression
28.0ms
x
@inf
(log1p.f64 (*.f64 2 (cosh.f64 x)))
27.0ms
x
@-inf
(log1p.f64 (*.f64 2 (cosh.f64 x)))
1.0ms
x
@0
(log1p.f64 (*.f64 2 (cosh.f64 x)))
0.0ms
x
@0
(expm1.f64 (log1p.f64 (*.f64 2 (cosh.f64 x))))
0.0ms
x
@inf
(expm1.f64 (log1p.f64 (*.f64 2 (cosh.f64 x))))

rewrite53.0ms (2.8%)

Algorithm
batch-egg-rewrite
Rules
544×pow1_binary64
528×add-sqr-sqrt_binary64
503×add-log-exp_binary64
502×expm1-log1p-u_binary64
501×log1p-expm1-u_binary64
Iterations

Useful iterations: 0 (0.0ms)

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

simplify67.0ms (3.6%)

Algorithm
egg-herbie
Rules
597×fma-def_binary64
536×distribute-rgt-out_binary64
460×*-commutative_binary64
400×associate-*l*_binary64
391×associate-/l/_binary64
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
048433
1116425
2274411
3770409
42669409
54839409
65285409
76490409
Stop Event
node limit
Counts
101 → 91
Calls
Call 1
Inputs
(log.f64 3)
(+.f64 (*.f64 1/3 (pow.f64 x 2)) (log.f64 3))
(+.f64 (*.f64 1/3 (pow.f64 x 2)) (+.f64 (*.f64 -1/36 (pow.f64 x 4)) (log.f64 3)))
(+.f64 (*.f64 13/3240 (pow.f64 x 6)) (+.f64 (*.f64 1/3 (pow.f64 x 2)) (+.f64 (*.f64 -1/36 (pow.f64 x 4)) (log.f64 3))))
(log.f64 (+.f64 1 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x))))
(log.f64 (+.f64 1 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x))))
(log.f64 (+.f64 1 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x))))
(log.f64 (+.f64 1 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x))))
(log.f64 (+.f64 1 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x))))
(log.f64 (+.f64 1 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x))))
(log.f64 (+.f64 1 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x))))
(log.f64 (+.f64 1 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 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 (/.f64 1 (exp.f64 x)) (exp.f64 x))
(+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x))
(+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x))
(+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x))
(+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x))
(+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x))
(+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x))
(+.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 1/24 (pow.f64 x 4))))
(+.f64 1 (+.f64 (*.f64 1/2 (pow.f64 x 2)) (+.f64 (*.f64 1/24 (pow.f64 x 4)) (*.f64 1/720 (pow.f64 x 6)))))
(*.f64 1/2 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x)))
(*.f64 1/2 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x)))
(*.f64 1/2 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x)))
(*.f64 1/2 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x)))
(*.f64 1/2 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x)))
(*.f64 1/2 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x)))
(*.f64 1/2 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x)))
(*.f64 1/2 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x)))
Outputs
(log.f64 3)
(+.f64 (*.f64 1/3 (pow.f64 x 2)) (log.f64 3))
(fma.f64 1/3 (*.f64 x x) (log.f64 3))
(+.f64 (*.f64 1/3 (pow.f64 x 2)) (+.f64 (*.f64 -1/36 (pow.f64 x 4)) (log.f64 3)))
(fma.f64 1/3 (*.f64 x x) (fma.f64 -1/36 (pow.f64 x 4) (log.f64 3)))
(+.f64 (*.f64 13/3240 (pow.f64 x 6)) (+.f64 (*.f64 1/3 (pow.f64 x 2)) (+.f64 (*.f64 -1/36 (pow.f64 x 4)) (log.f64 3))))
(fma.f64 13/3240 (pow.f64 x 6) (fma.f64 1/3 (*.f64 x x) (fma.f64 -1/36 (pow.f64 x 4) (log.f64 3))))
(fma.f64 1/3 (*.f64 x x) (fma.f64 13/3240 (pow.f64 x 6) (fma.f64 -1/36 (pow.f64 x 4) (log.f64 3))))
(fma.f64 (*.f64 x x) (fma.f64 x (*.f64 x -1/36) 1/3) (fma.f64 13/3240 (pow.f64 x 6) (log.f64 3)))
(fma.f64 1/3 (*.f64 x x) (fma.f64 -1/36 (pow.f64 x 4) (fma.f64 13/3240 (pow.f64 x 6) (log.f64 3))))
(log.f64 (+.f64 1 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x))))
(log1p.f64 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))
(log.f64 (+.f64 1 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x))))
(log1p.f64 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))
(log.f64 (+.f64 1 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x))))
(log1p.f64 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))
(log.f64 (+.f64 1 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x))))
(log1p.f64 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))
(log.f64 (+.f64 1 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x))))
(log1p.f64 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))
(log.f64 (+.f64 1 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x))))
(log1p.f64 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))
(log.f64 (+.f64 1 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x))))
(log1p.f64 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))
(log.f64 (+.f64 1 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x))))
(log1p.f64 (+.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))
(fma.f64 (pow.f64 x 4) 1/12 (fma.f64 x x 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 4) 1/12 (fma.f64 (pow.f64 x 6) 1/360 2)))
(fma.f64 (pow.f64 x 4) 1/12 (fma.f64 (pow.f64 x 6) 1/360 (fma.f64 x x 2)))
(+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x))
(+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))
(+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x))
(+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))
(+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x))
(+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))
(+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x))
(+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))
(+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x))
(+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))
(+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x))
(+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))
(+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x))
(+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))
(+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x))
(+.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 1/24 (pow.f64 x 4))))
(+.f64 1 (fma.f64 1/2 (*.f64 x x) (*.f64 (pow.f64 x 4) 1/24)))
(+.f64 1 (fma.f64 (*.f64 x x) 1/2 (*.f64 (pow.f64 x 4) 1/24)))
(fma.f64 x (*.f64 x 1/2) (fma.f64 (pow.f64 x 4) 1/24 1))
(+.f64 1 (+.f64 (*.f64 1/2 (pow.f64 x 2)) (+.f64 (*.f64 1/24 (pow.f64 x 4)) (*.f64 1/720 (pow.f64 x 6)))))
(+.f64 1 (fma.f64 1/2 (*.f64 x x) (fma.f64 1/24 (pow.f64 x 4) (*.f64 (pow.f64 x 6) 1/720))))
(+.f64 1 (fma.f64 (*.f64 x x) 1/2 (fma.f64 (pow.f64 x 4) 1/24 (*.f64 (pow.f64 x 6) 1/720))))
(+.f64 1 (fma.f64 x (*.f64 x 1/2) (fma.f64 (pow.f64 x 4) 1/24 (*.f64 (pow.f64 x 6) 1/720))))
(fma.f64 (*.f64 x x) (fma.f64 x (*.f64 x 1/24) 1/2) (fma.f64 (pow.f64 x 6) 1/720 1))
(fma.f64 (pow.f64 x 4) 1/24 (fma.f64 x (*.f64 x 1/2) (fma.f64 (pow.f64 x 6) 1/720 1)))
(*.f64 1/2 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x)))
(*.f64 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) 1/2)
(fma.f64 (exp.f64 x) 1/2 (/.f64 1/2 (exp.f64 x)))
(*.f64 1/2 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x)))
(*.f64 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) 1/2)
(fma.f64 (exp.f64 x) 1/2 (/.f64 1/2 (exp.f64 x)))
(*.f64 1/2 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x)))
(*.f64 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) 1/2)
(fma.f64 (exp.f64 x) 1/2 (/.f64 1/2 (exp.f64 x)))
(*.f64 1/2 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x)))
(*.f64 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) 1/2)
(fma.f64 (exp.f64 x) 1/2 (/.f64 1/2 (exp.f64 x)))
(*.f64 1/2 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x)))
(*.f64 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) 1/2)
(fma.f64 (exp.f64 x) 1/2 (/.f64 1/2 (exp.f64 x)))
(*.f64 1/2 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x)))
(*.f64 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) 1/2)
(fma.f64 (exp.f64 x) 1/2 (/.f64 1/2 (exp.f64 x)))
(*.f64 1/2 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x)))
(*.f64 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) 1/2)
(fma.f64 (exp.f64 x) 1/2 (/.f64 1/2 (exp.f64 x)))
(*.f64 1/2 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x)))
(*.f64 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) 1/2)
(fma.f64 (exp.f64 x) 1/2 (/.f64 1/2 (exp.f64 x)))

localize6.0ms (0.3%)

Local error

Found 1 expressions with local error:

NewErrorProgram
0.0b
(cosh.f64 x)
Compiler

Compiled 15 to 9 computations (40% saved)

eval32.0ms (1.7%)

Compiler

Compiled 1454 to 1084 computations (25.4% saved)

prune21.0ms (1.1%)

Pruning

3 alts after pruning (1 fresh and 2 done)

PrunedKeptTotal
New1191120
Fresh000
Picked011
Done112
Total1203123
Error
0b
Counts
123 → 3
Alt Table
Click to see full alt table
StatusErrorProgram
0.0b
(/.f64 2 (*.f64 2 (-.f64 (+.f64 1 (cosh.f64 x)) 1)))
35.7b
(/.f64 2 2)
0.0b
(/.f64 2 (*.f64 2 (cosh.f64 x)))
Compiler

Compiled 22 to 20 computations (9.1% saved)

localize14.0ms (0.8%)

Local error

Found 3 expressions with local error:

NewErrorProgram
0.0b
(+.f64 1 (cosh.f64 x))
0.0b
(cosh.f64 x)
0.0b
(-.f64 (+.f64 1 (cosh.f64 x)) 1)
Compiler

Compiled 34 to 24 computations (29.4% saved)

series2.0ms (0.1%)

Counts
2 → 24
Calls

6 calls:

TimeVariablePointExpression
0.0ms
x
@0
(-.f64 (+.f64 1 (cosh.f64 x)) 1)
0.0ms
x
@0
(+.f64 1 (cosh.f64 x))
0.0ms
x
@inf
(+.f64 1 (cosh.f64 x))
0.0ms
x
@-inf
(+.f64 1 (cosh.f64 x))
0.0ms
x
@inf
(-.f64 (+.f64 1 (cosh.f64 x)) 1)

rewrite50.0ms (2.7%)

Algorithm
batch-egg-rewrite
Rules
690×pow1_binary64
650×add-log-exp_binary64
648×log1p-expm1-u_binary64
648×expm1-log1p-u_binary64
639×add-exp-log_binary64
Iterations

Useful iterations: 1 (0.0ms)

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

simplify52.0ms (2.8%)

Algorithm
egg-herbie
Rules
1067×fma-def_binary64
404×associate-/l/_binary64
392×*-commutative_binary64
326×distribute-lft-out_binary64
319×associate-/l*_binary64
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
029336
172316
2169304
3475300
41397300
53499300
64274300
75237300
Stop Event
node limit
Counts
100 → 94
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 1/24 (pow.f64 x 4))))
(+.f64 1 (+.f64 (*.f64 1/2 (pow.f64 x 2)) (+.f64 (*.f64 1/24 (pow.f64 x 4)) (*.f64 1/720 (pow.f64 x 6)))))
(*.f64 1/2 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x)))
(*.f64 1/2 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x)))
(*.f64 1/2 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x)))
(*.f64 1/2 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x)))
(*.f64 1/2 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x)))
(*.f64 1/2 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x)))
(*.f64 1/2 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x)))
(*.f64 1/2 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x)))
2
(+.f64 2 (*.f64 1/2 (pow.f64 x 2)))
(+.f64 2 (+.f64 (*.f64 1/2 (pow.f64 x 2)) (*.f64 1/24 (pow.f64 x 4))))
(+.f64 2 (+.f64 (*.f64 1/2 (pow.f64 x 2)) (+.f64 (*.f64 1/24 (pow.f64 x 4)) (*.f64 1/720 (pow.f64 x 6)))))
(+.f64 1 (*.f64 1/2 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x))))
(+.f64 1 (*.f64 1/2 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x))))
(+.f64 1 (*.f64 1/2 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x))))
(+.f64 1 (*.f64 1/2 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x))))
(+.f64 1 (*.f64 1/2 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x))))
(+.f64 1 (*.f64 1/2 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x))))
(+.f64 1 (*.f64 1/2 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x))))
(+.f64 1 (*.f64 1/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 1/24 (pow.f64 x 4))))
(+.f64 1 (fma.f64 1/2 (*.f64 x x) (*.f64 1/24 (pow.f64 x 4))))
(fma.f64 1/2 (*.f64 x x) (fma.f64 1/24 (pow.f64 x 4) 1))
(fma.f64 (*.f64 x x) (fma.f64 x (*.f64 x 1/24) 1/2) 1)
(+.f64 1 (+.f64 (*.f64 1/2 (pow.f64 x 2)) (+.f64 (*.f64 1/24 (pow.f64 x 4)) (*.f64 1/720 (pow.f64 x 6)))))
(+.f64 1 (fma.f64 1/2 (*.f64 x x) (fma.f64 1/24 (pow.f64 x 4) (*.f64 1/720 (pow.f64 x 6)))))
(+.f64 1 (fma.f64 1/2 (*.f64 x x) (fma.f64 1/720 (pow.f64 x 6) (*.f64 1/24 (pow.f64 x 4)))))
(fma.f64 1/2 (*.f64 x x) (fma.f64 1/720 (pow.f64 x 6) (fma.f64 1/24 (pow.f64 x 4) 1)))
(fma.f64 x (*.f64 x (fma.f64 x (*.f64 x 1/24) 1/2)) (fma.f64 1/720 (pow.f64 x 6) 1))
(*.f64 1/2 (+.f64 (/.f64 1 (exp.f64 x)) (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 (/.f64 1 (exp.f64 x)) (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 (/.f64 1 (exp.f64 x)) (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 (/.f64 1 (exp.f64 x)) (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 (/.f64 1 (exp.f64 x)) (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 (/.f64 1 (exp.f64 x)) (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 (/.f64 1 (exp.f64 x)) (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 (/.f64 1 (exp.f64 x)) (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)))
2
(+.f64 2 (*.f64 1/2 (pow.f64 x 2)))
(+.f64 2 (*.f64 1/2 (*.f64 x x)))
(fma.f64 1/2 (*.f64 x x) 2)
(+.f64 2 (+.f64 (*.f64 1/2 (pow.f64 x 2)) (*.f64 1/24 (pow.f64 x 4))))
(+.f64 2 (fma.f64 1/2 (*.f64 x x) (*.f64 1/24 (pow.f64 x 4))))
(fma.f64 1/2 (*.f64 x x) (fma.f64 1/24 (pow.f64 x 4) 2))
(fma.f64 x (*.f64 x (fma.f64 x (*.f64 x 1/24) 1/2)) 2)
(+.f64 2 (+.f64 (*.f64 1/2 (pow.f64 x 2)) (+.f64 (*.f64 1/24 (pow.f64 x 4)) (*.f64 1/720 (pow.f64 x 6)))))
(+.f64 2 (fma.f64 1/2 (*.f64 x x) (fma.f64 1/24 (pow.f64 x 4) (*.f64 1/720 (pow.f64 x 6)))))
(+.f64 2 (fma.f64 1/2 (*.f64 x x) (fma.f64 1/720 (pow.f64 x 6) (*.f64 1/24 (pow.f64 x 4)))))
(fma.f64 1/2 (*.f64 x x) (fma.f64 1/720 (pow.f64 x 6) (fma.f64 1/24 (pow.f64 x 4) 2)))
(fma.f64 1/2 (*.f64 x x) (fma.f64 1/24 (pow.f64 x 4) (fma.f64 1/720 (pow.f64 x 6) 2)))
(+.f64 1 (*.f64 1/2 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x))))
(+.f64 1 (*.f64 1/2 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))))
(fma.f64 1/2 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) 1)
(+.f64 1 (*.f64 1/2 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x))))
(+.f64 1 (*.f64 1/2 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))))
(fma.f64 1/2 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) 1)
(+.f64 1 (*.f64 1/2 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x))))
(+.f64 1 (*.f64 1/2 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))))
(fma.f64 1/2 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) 1)
(+.f64 1 (*.f64 1/2 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x))))
(+.f64 1 (*.f64 1/2 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))))
(fma.f64 1/2 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) 1)
(+.f64 1 (*.f64 1/2 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x))))
(+.f64 1 (*.f64 1/2 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))))
(fma.f64 1/2 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) 1)
(+.f64 1 (*.f64 1/2 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x))))
(+.f64 1 (*.f64 1/2 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))))
(fma.f64 1/2 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) 1)
(+.f64 1 (*.f64 1/2 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x))))
(+.f64 1 (*.f64 1/2 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))))
(fma.f64 1/2 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) 1)
(+.f64 1 (*.f64 1/2 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x))))
(+.f64 1 (*.f64 1/2 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))))
(fma.f64 1/2 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) 1)

eval39.0ms (2.1%)

Compiler

Compiled 1857 to 1444 computations (22.2% saved)

prune16.0ms (0.8%)

Pruning

3 alts after pruning (0 fresh and 3 done)

PrunedKeptTotal
New1230123
Fresh000
Picked011
Done022
Total1233126
Error
0b
Counts
126 → 3
Alt Table
Click to see full alt table
StatusErrorProgram
0.0b
(/.f64 2 (*.f64 2 (-.f64 (+.f64 1 (cosh.f64 x)) 1)))
35.7b
(/.f64 2 2)
0.0b
(/.f64 2 (*.f64 2 (cosh.f64 x)))
Compiler

Compiled 22 to 20 computations (9.1% saved)

regimes14.0ms (0.8%)

Accuracy

Total -36.1b remaining (-924683.6%)

Threshold costs -36.1b (-924683.6%)

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

5 calls:

4.0ms
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)))
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 70 to 54 computations (22.9% saved)

simplify2.0ms (0.1%)

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

Useful iterations: 0 (0.0ms)

IterNodesCost
0810
11110
Stop Event
saturated
Calls
Call 1
Inputs
(/.f64 2 (*.f64 2 (cosh.f64 x)))
(/.f64 2 2)
Outputs
(/.f64 2 (*.f64 2 (cosh.f64 x)))
(/.f64 2 2)
1

end18.0ms (1%)

Stop Event
done
Compiler

Compiled 17 to 15 computations (11.8% saved)

Profiling

Loading profile data...