Details

Time bar (total: 1.3s)

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)

sample757.0ms (56.6%)

Results
739.0ms8256×body128valid
Compiler

Compiled 20 to 16 computations (20% saved)

preprocess50.0ms (3.7%)

Algorithm
egg-herbie
Rules
434×unswap-sqr_binary64
366×fma-def_binary64
257×associate-/l*_binary64
247×*-commutative_binary64
242×associate-*l*_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0813
11513
22113
32813
44713
58713
618413
741913
8113313
9311113
10430213
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 9 to 7 computations (22.2% saved)

simplify30.0ms (2.2%)

Algorithm
egg-herbie
Rules
434×unswap-sqr_binary64
366×fma-def_binary64
257×associate-/l*_binary64
247×*-commutative_binary64
242×associate-*l*_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0813
11513
22113
32813
44713
58713
618413
741913
8113313
9311113
10430213
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))))

prune2.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
StatusErrorProgram
0.0b
(/.f64 2 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))
Compiler

Compiled 27 to 21 computations (22.2% saved)

localize5.0ms (0.4%)

Local error

Found 1 expressions with local error:

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

series4.0ms (0.3%)

Counts
1 → 8
Calls

3 calls:

TimeVariablePointExpression
3.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))))

rewrite29.0ms (2.2%)

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

Useful iterations: 0 (0.0ms)

IterNodesCost
089
11769
228249
089
Stop Event
iter limit
unsound
Counts
1 → 10
Calls
Call 1
Inputs
(/.f64 2 (+.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)))))))))

simplify24.0ms (1.8%)

Algorithm
egg-herbie
Rules
981×fma-neg_binary64
390×distribute-rgt-neg-in_binary64
348×distribute-lft-neg-in_binary64
287×unswap-sqr_binary64
234×associate-*l*_binary64
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
026104
165104
2152100
347998
4205698
Stop Event
node limit
Counts
18 → 19
Calls
Call 1
Inputs
1
(-.f64 1 (*.f64 1/2 (pow.f64 x 2)))
(-.f64 (+.f64 (*.f64 5/24 (pow.f64 x 4)) 1) (*.f64 1/2 (pow.f64 x 2)))
(-.f64 (+.f64 (*.f64 5/24 (pow.f64 x 4)) 1) (+.f64 (*.f64 61/720 (pow.f64 x 6)) (*.f64 1/2 (pow.f64 x 2))))
(/.f64 2 (+.f64 (exp.f64 (*.f64 -1 x)) (exp.f64 x)))
(/.f64 2 (+.f64 (exp.f64 (*.f64 -1 x)) (exp.f64 x)))
(/.f64 2 (+.f64 (exp.f64 (*.f64 -1 x)) (exp.f64 x)))
(/.f64 2 (+.f64 (exp.f64 (*.f64 -1 x)) (exp.f64 x)))
Outputs
1
(-.f64 1 (*.f64 1/2 (pow.f64 x 2)))
(+.f64 1 (*.f64 -1/2 (*.f64 x x)))
(-.f64 1 (*.f64 1/2 (*.f64 x x)))
(fma.f64 (*.f64 x x) -1/2 1)
(fma.f64 x (*.f64 x -1/2) 1)
(-.f64 (+.f64 (*.f64 5/24 (pow.f64 x 4)) 1) (*.f64 1/2 (pow.f64 x 2)))
(-.f64 (fma.f64 5/24 (pow.f64 x 4) 1) (*.f64 1/2 (*.f64 x x)))
(+.f64 (fma.f64 5/24 (pow.f64 x 4) 1) (*.f64 (*.f64 x x) -1/2))
(fma.f64 (*.f64 x x) -1/2 (fma.f64 5/24 (pow.f64 x 4) 1))
(fma.f64 x (*.f64 x -1/2) (fma.f64 5/24 (pow.f64 x 4) 1))
(-.f64 (+.f64 (*.f64 5/24 (pow.f64 x 4)) 1) (+.f64 (*.f64 61/720 (pow.f64 x 6)) (*.f64 1/2 (pow.f64 x 2))))
(-.f64 (fma.f64 5/24 (pow.f64 x 4) 1) (fma.f64 61/720 (pow.f64 x 6) (*.f64 1/2 (*.f64 x x))))
(-.f64 (fma.f64 5/24 (pow.f64 x 4) 1) (fma.f64 1/2 (*.f64 x x) (*.f64 61/720 (pow.f64 x 6))))
(+.f64 1 (fma.f64 5/24 (pow.f64 x 4) (fma.f64 (*.f64 x x) -1/2 (*.f64 (pow.f64 x 6) -61/720))))
(fma.f64 x (*.f64 x -1/2) (fma.f64 (pow.f64 x 6) -61/720 (fma.f64 5/24 (pow.f64 x 4) 1)))
(/.f64 2 (+.f64 (exp.f64 (*.f64 -1 x)) (exp.f64 x)))
(/.f64 2 (+.f64 (exp.f64 (neg.f64 x)) (exp.f64 x)))
(/.f64 2 (+.f64 (exp.f64 (*.f64 -1 x)) (exp.f64 x)))
(/.f64 2 (+.f64 (exp.f64 (neg.f64 x)) (exp.f64 x)))
(/.f64 2 (+.f64 (exp.f64 (*.f64 -1 x)) (exp.f64 x)))
(/.f64 2 (+.f64 (exp.f64 (neg.f64 x)) (exp.f64 x)))
(/.f64 2 (+.f64 (exp.f64 (*.f64 -1 x)) (exp.f64 x)))
(/.f64 2 (+.f64 (exp.f64 (neg.f64 x)) (exp.f64 x)))

prune13.0ms (0.9%)

Pruning

2 alts after pruning (1 fresh and 1 done)

PrunedKeptTotal
New18119
Fresh000
Picked011
Done000
Total18220
Error
0.0b
Counts
20 → 2
Alt Table
StatusErrorProgram
0.7b
(log.f64 (exp.f64 (/.f64 2 (*.f64 2 (cosh.f64 x)))))
0.0b
(/.f64 2 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))
Compiler

Compiled 233 to 180 computations (22.7% saved)

localize9.0ms (0.7%)

Local error

Found 2 expressions with local error:

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

series5.0ms (0.4%)

Counts
2 → 24
Calls

6 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)))
0.0ms
x
@0
(log.f64 (exp.f64 (/.f64 2 (*.f64 2 (cosh.f64 x)))))
0.0ms
x
@inf
(log.f64 (exp.f64 (/.f64 2 (*.f64 2 (cosh.f64 x)))))

rewrite43.0ms (3.2%)

Algorithm
batch-egg-rewrite
Rules
672×pow1_binary64
621×add-log-exp_binary64
620×log1p-expm1-u_binary64
620×expm1-log1p-u_binary64
74×add-sqr-sqrt_binary64
Iterations

Useful iterations: 0 (0.0ms)

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

simplify25.0ms (1.9%)

Algorithm
egg-herbie
Rules
981×fma-neg_binary64
391×distribute-rgt-neg-in_binary64
343×distribute-lft-neg-in_binary64
285×unswap-sqr_binary64
230×associate-*l*_binary64
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
024312
161312
2145304
3463300
42007300
Stop Event
node limit
Counts
80 → 43
Calls
Call 1
Inputs
1
(-.f64 1 (*.f64 1/2 (pow.f64 x 2)))
(-.f64 (+.f64 (*.f64 5/24 (pow.f64 x 4)) 1) (*.f64 1/2 (pow.f64 x 2)))
(-.f64 (+.f64 (*.f64 5/24 (pow.f64 x 4)) 1) (+.f64 (*.f64 61/720 (pow.f64 x 6)) (*.f64 1/2 (pow.f64 x 2))))
(/.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 (+.f64 (*.f64 5/24 (pow.f64 x 4)) 1) (*.f64 1/2 (pow.f64 x 2)))
(-.f64 (+.f64 (*.f64 5/24 (pow.f64 x 4)) 1) (+.f64 (*.f64 61/720 (pow.f64 x 6)) (*.f64 1/2 (pow.f64 x 2))))
(/.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)))
(+.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 (+.f64 (*.f64 5/24 (pow.f64 x 4)) 1) (*.f64 1/2 (pow.f64 x 2)))
(-.f64 (fma.f64 5/24 (pow.f64 x 4) 1) (*.f64 1/2 (*.f64 x x)))
(+.f64 (fma.f64 5/24 (pow.f64 x 4) 1) (*.f64 (*.f64 x x) -1/2))
(fma.f64 (*.f64 x x) -1/2 (fma.f64 5/24 (pow.f64 x 4) 1))
(fma.f64 x (*.f64 x -1/2) (fma.f64 5/24 (pow.f64 x 4) 1))
(-.f64 (+.f64 (*.f64 5/24 (pow.f64 x 4)) 1) (+.f64 (*.f64 61/720 (pow.f64 x 6)) (*.f64 1/2 (pow.f64 x 2))))
(-.f64 (fma.f64 5/24 (pow.f64 x 4) 1) (fma.f64 61/720 (pow.f64 x 6) (*.f64 1/2 (*.f64 x x))))
(-.f64 (fma.f64 5/24 (pow.f64 x 4) 1) (fma.f64 1/2 (*.f64 x x) (*.f64 61/720 (pow.f64 x 6))))
(+.f64 (fma.f64 5/24 (pow.f64 x 4) 1) (fma.f64 (*.f64 x x) -1/2 (*.f64 (pow.f64 x 6) -61/720)))
(fma.f64 x (*.f64 x -1/2) (fma.f64 (pow.f64 x 6) -61/720 (fma.f64 5/24 (pow.f64 x 4) 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 -1/2 (*.f64 x x)))
(+.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 (+.f64 (*.f64 5/24 (pow.f64 x 4)) 1) (*.f64 1/2 (pow.f64 x 2)))
(-.f64 (fma.f64 5/24 (pow.f64 x 4) 1) (*.f64 1/2 (*.f64 x x)))
(+.f64 (fma.f64 5/24 (pow.f64 x 4) 1) (*.f64 (*.f64 x x) -1/2))
(fma.f64 (*.f64 x x) -1/2 (fma.f64 5/24 (pow.f64 x 4) 1))
(fma.f64 x (*.f64 x -1/2) (fma.f64 5/24 (pow.f64 x 4) 1))
(-.f64 (+.f64 (*.f64 5/24 (pow.f64 x 4)) 1) (+.f64 (*.f64 61/720 (pow.f64 x 6)) (*.f64 1/2 (pow.f64 x 2))))
(-.f64 (fma.f64 5/24 (pow.f64 x 4) 1) (fma.f64 61/720 (pow.f64 x 6) (*.f64 1/2 (*.f64 x x))))
(-.f64 (fma.f64 5/24 (pow.f64 x 4) 1) (fma.f64 1/2 (*.f64 x x) (*.f64 61/720 (pow.f64 x 6))))
(+.f64 (fma.f64 5/24 (pow.f64 x 4) 1) (fma.f64 (*.f64 x x) -1/2 (*.f64 (pow.f64 x 6) -61/720)))
(fma.f64 x (*.f64 x -1/2) (fma.f64 (pow.f64 x 6) -61/720 (fma.f64 5/24 (pow.f64 x 4) 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))))

prune35.0ms (2.6%)

Pruning

3 alts after pruning (1 fresh and 2 done)

PrunedKeptTotal
New42143
Fresh000
Picked011
Done011
Total42345
Error
0b
Counts
45 → 3
Alt Table
StatusErrorProgram
0.7b
(log.f64 (exp.f64 (/.f64 2 (*.f64 2 (cosh.f64 x)))))
0.4b
(/.f64 (/.f64 2 (sqrt.f64 (*.f64 2 (cosh.f64 x)))) (sqrt.f64 (*.f64 2 (cosh.f64 x))))
0.0b
(/.f64 2 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))
Compiler

Compiled 477 to 352 computations (26.2% saved)

localize6.0ms (0.4%)

Local error

Found 3 expressions with local error:

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

series11.0ms (0.8%)

Counts
3 → 36
Calls

9 calls:

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

rewrite51.0ms (3.8%)

Algorithm
batch-egg-rewrite
Rules
821×log1p-expm1-u_binary64
821×expm1-log1p-u_binary64
87×add-sqr-sqrt_binary64
83×*-un-lft-identity_binary64
83×pow1_binary64
Iterations

Useful iterations: 1 (0.0ms)

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

simplify36.0ms (2.7%)

Algorithm
egg-herbie
Rules
772×fma-def_binary64
404×associate-/l*_binary64
388×times-frac_binary64
380×cancel-sign-sub-inv_binary64
246×fma-neg_binary64
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
068807
1180675
2537662
31707642
Stop Event
node limit
Counts
125 → 117
Calls
Call 1
Inputs
(/.f64 2 (sqrt.f64 2))
(-.f64 (*.f64 2 (/.f64 1 (sqrt.f64 2))) (*.f64 1/2 (/.f64 (pow.f64 x 2) (sqrt.f64 2))))
(-.f64 (+.f64 (*.f64 2 (/.f64 1 (sqrt.f64 2))) (*.f64 7/48 (/.f64 (pow.f64 x 4) (sqrt.f64 2)))) (*.f64 1/2 (/.f64 (pow.f64 x 2) (sqrt.f64 2))))
(-.f64 (+.f64 (*.f64 2 (/.f64 1 (sqrt.f64 2))) (*.f64 7/48 (/.f64 (pow.f64 x 4) (sqrt.f64 2)))) (+.f64 (*.f64 1/2 (/.f64 (pow.f64 x 2) (sqrt.f64 2))) (*.f64 139/2880 (/.f64 (pow.f64 x 6) (sqrt.f64 2)))))
(*.f64 2 (sqrt.f64 (/.f64 1 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x)))))
(*.f64 2 (sqrt.f64 (/.f64 1 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x)))))
(*.f64 2 (sqrt.f64 (/.f64 1 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x)))))
(*.f64 2 (sqrt.f64 (/.f64 1 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x)))))
(*.f64 2 (sqrt.f64 (/.f64 1 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x)))))
(*.f64 2 (sqrt.f64 (/.f64 1 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x)))))
(*.f64 2 (sqrt.f64 (/.f64 1 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x)))))
(*.f64 2 (sqrt.f64 (/.f64 1 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x)))))
(/.f64 2 (pow.f64 (sqrt.f64 2) 2))
(-.f64 (*.f64 2 (/.f64 1 (pow.f64 (sqrt.f64 2) 2))) (/.f64 (pow.f64 x 2) (pow.f64 (sqrt.f64 2) 2)))
(-.f64 (+.f64 (*.f64 5/12 (/.f64 (pow.f64 x 4) (pow.f64 (sqrt.f64 2) 2))) (*.f64 2 (/.f64 1 (pow.f64 (sqrt.f64 2) 2)))) (/.f64 (pow.f64 x 2) (pow.f64 (sqrt.f64 2) 2)))
(-.f64 (+.f64 (*.f64 5/12 (/.f64 (pow.f64 x 4) (pow.f64 (sqrt.f64 2) 2))) (*.f64 2 (/.f64 1 (pow.f64 (sqrt.f64 2) 2)))) (+.f64 (/.f64 (pow.f64 x 2) (pow.f64 (sqrt.f64 2) 2)) (*.f64 61/360 (/.f64 (pow.f64 x 6) (pow.f64 (sqrt.f64 2) 2)))))
(/.f64 4 (*.f64 (pow.f64 (sqrt.f64 2) 2) (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x))))
(/.f64 4 (*.f64 (pow.f64 (sqrt.f64 2) 2) (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x))))
(/.f64 4 (*.f64 (pow.f64 (sqrt.f64 2) 2) (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x))))
(/.f64 4 (*.f64 (pow.f64 (sqrt.f64 2) 2) (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x))))
(/.f64 4 (*.f64 (pow.f64 (sqrt.f64 2) 2) (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x))))
(/.f64 4 (*.f64 (pow.f64 (sqrt.f64 2) 2) (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x))))
(/.f64 4 (*.f64 (pow.f64 (sqrt.f64 2) 2) (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x))))
(/.f64 4 (*.f64 (pow.f64 (sqrt.f64 2) 2) (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x))))
(sqrt.f64 2)
(+.f64 (*.f64 1/4 (*.f64 (sqrt.f64 2) (pow.f64 x 2))) (sqrt.f64 2))
(-.f64 (+.f64 (*.f64 1/4 (*.f64 (sqrt.f64 2) (pow.f64 x 2))) (sqrt.f64 2)) (*.f64 1/96 (*.f64 (sqrt.f64 2) (pow.f64 x 4))))
(-.f64 (+.f64 (*.f64 19/5760 (*.f64 (sqrt.f64 2) (pow.f64 x 6))) (+.f64 (*.f64 1/4 (*.f64 (sqrt.f64 2) (pow.f64 x 2))) (sqrt.f64 2))) (*.f64 1/96 (*.f64 (sqrt.f64 2) (pow.f64 x 4))))
(*.f64 (*.f64 (sqrt.f64 1/2) (sqrt.f64 2)) (sqrt.f64 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x))))
(*.f64 (*.f64 (sqrt.f64 1/2) (sqrt.f64 2)) (sqrt.f64 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x))))
(*.f64 (*.f64 (sqrt.f64 1/2) (sqrt.f64 2)) (sqrt.f64 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x))))
(*.f64 (*.f64 (sqrt.f64 1/2) (sqrt.f64 2)) (sqrt.f64 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x))))
(*.f64 (*.f64 (sqrt.f64 1/2) (sqrt.f64 2)) (sqrt.f64 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x))))
(*.f64 (*.f64 (sqrt.f64 1/2) (sqrt.f64 2)) (sqrt.f64 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x))))
(*.f64 (*.f64 (sqrt.f64 1/2) (sqrt.f64 2)) (sqrt.f64 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x))))
(*.f64 (*.f64 (sqrt.f64 1/2) (sqrt.f64 2)) (sqrt.f64 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x))))
Outputs
(/.f64 2 (sqrt.f64 2))
(-.f64 (*.f64 2 (/.f64 1 (sqrt.f64 2))) (*.f64 1/2 (/.f64 (pow.f64 x 2) (sqrt.f64 2))))
(+.f64 (/.f64 2 (sqrt.f64 2)) (*.f64 -1/2 (/.f64 (*.f64 x x) (sqrt.f64 2))))
(+.f64 (/.f64 2 (sqrt.f64 2)) (/.f64 (*.f64 -1/2 (*.f64 x x)) (sqrt.f64 2)))
(fma.f64 (/.f64 (*.f64 x x) (sqrt.f64 2)) -1/2 (/.f64 2 (sqrt.f64 2)))
(fma.f64 (*.f64 (/.f64 x (sqrt.f64 2)) x) -1/2 (/.f64 2 (sqrt.f64 2)))
(-.f64 (+.f64 (*.f64 2 (/.f64 1 (sqrt.f64 2))) (*.f64 7/48 (/.f64 (pow.f64 x 4) (sqrt.f64 2)))) (*.f64 1/2 (/.f64 (pow.f64 x 2) (sqrt.f64 2))))
(+.f64 (/.f64 2 (sqrt.f64 2)) (-.f64 (*.f64 7/48 (/.f64 (pow.f64 x 4) (sqrt.f64 2))) (*.f64 1/2 (/.f64 (*.f64 x x) (sqrt.f64 2)))))
(+.f64 (/.f64 2 (sqrt.f64 2)) (fma.f64 7/48 (/.f64 (pow.f64 x 4) (sqrt.f64 2)) (/.f64 (*.f64 -1/2 (*.f64 x x)) (sqrt.f64 2))))
(fma.f64 7/48 (/.f64 (pow.f64 x 4) (sqrt.f64 2)) (fma.f64 (/.f64 (*.f64 x x) (sqrt.f64 2)) -1/2 (/.f64 2 (sqrt.f64 2))))
(fma.f64 (*.f64 (/.f64 x (sqrt.f64 2)) x) -1/2 (fma.f64 7/48 (/.f64 (pow.f64 x 4) (sqrt.f64 2)) (/.f64 2 (sqrt.f64 2))))
(-.f64 (+.f64 (*.f64 2 (/.f64 1 (sqrt.f64 2))) (*.f64 7/48 (/.f64 (pow.f64 x 4) (sqrt.f64 2)))) (+.f64 (*.f64 1/2 (/.f64 (pow.f64 x 2) (sqrt.f64 2))) (*.f64 139/2880 (/.f64 (pow.f64 x 6) (sqrt.f64 2)))))
(+.f64 (/.f64 2 (sqrt.f64 2)) (-.f64 (*.f64 7/48 (/.f64 (pow.f64 x 4) (sqrt.f64 2))) (fma.f64 1/2 (/.f64 (*.f64 x x) (sqrt.f64 2)) (*.f64 139/2880 (/.f64 (pow.f64 x 6) (sqrt.f64 2))))))
(-.f64 (fma.f64 7/48 (/.f64 (pow.f64 x 4) (sqrt.f64 2)) (/.f64 2 (sqrt.f64 2))) (fma.f64 139/2880 (/.f64 (pow.f64 x 6) (sqrt.f64 2)) (/.f64 (*.f64 (*.f64 1/2 x) x) (sqrt.f64 2))))
(+.f64 (fma.f64 7/48 (/.f64 (pow.f64 x 4) (sqrt.f64 2)) (fma.f64 (/.f64 (*.f64 x x) (sqrt.f64 2)) -1/2 (/.f64 2 (sqrt.f64 2)))) (*.f64 (/.f64 (pow.f64 x 6) (sqrt.f64 2)) -139/2880))
(fma.f64 (*.f64 (/.f64 x (sqrt.f64 2)) x) -1/2 (fma.f64 (/.f64 (pow.f64 x 6) (sqrt.f64 2)) -139/2880 (fma.f64 7/48 (/.f64 (pow.f64 x 4) (sqrt.f64 2)) (/.f64 2 (sqrt.f64 2)))))
(*.f64 2 (sqrt.f64 (/.f64 1 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x)))))
(*.f64 2 (sqrt.f64 (/.f64 1 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))))
(*.f64 2 (sqrt.f64 (/.f64 1 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x)))))
(*.f64 2 (sqrt.f64 (/.f64 1 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))))
(*.f64 2 (sqrt.f64 (/.f64 1 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x)))))
(*.f64 2 (sqrt.f64 (/.f64 1 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))))
(*.f64 2 (sqrt.f64 (/.f64 1 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x)))))
(*.f64 2 (sqrt.f64 (/.f64 1 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))))
(*.f64 2 (sqrt.f64 (/.f64 1 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x)))))
(*.f64 2 (sqrt.f64 (/.f64 1 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))))
(*.f64 2 (sqrt.f64 (/.f64 1 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x)))))
(*.f64 2 (sqrt.f64 (/.f64 1 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))))
(*.f64 2 (sqrt.f64 (/.f64 1 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x)))))
(*.f64 2 (sqrt.f64 (/.f64 1 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))))
(*.f64 2 (sqrt.f64 (/.f64 1 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x)))))
(*.f64 2 (sqrt.f64 (/.f64 1 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))))
(/.f64 2 (pow.f64 (sqrt.f64 2) 2))
1
(-.f64 (*.f64 2 (/.f64 1 (pow.f64 (sqrt.f64 2) 2))) (/.f64 (pow.f64 x 2) (pow.f64 (sqrt.f64 2) 2)))
(-.f64 (/.f64 2 (pow.f64 (sqrt.f64 2) 2)) (/.f64 (*.f64 x x) (pow.f64 (sqrt.f64 2) 2)))
(-.f64 1 (/.f64 x (/.f64 2 x)))
(-.f64 1 (/.f64 (*.f64 x x) 2))
(-.f64 (+.f64 (*.f64 5/12 (/.f64 (pow.f64 x 4) (pow.f64 (sqrt.f64 2) 2))) (*.f64 2 (/.f64 1 (pow.f64 (sqrt.f64 2) 2)))) (/.f64 (pow.f64 x 2) (pow.f64 (sqrt.f64 2) 2)))
(-.f64 (fma.f64 5/12 (/.f64 (pow.f64 x 4) (pow.f64 (sqrt.f64 2) 2)) (/.f64 2 (pow.f64 (sqrt.f64 2) 2))) (/.f64 (*.f64 x x) (pow.f64 (sqrt.f64 2) 2)))
(-.f64 (fma.f64 5/12 (/.f64 (pow.f64 x 4) 2) 1) (/.f64 x (/.f64 2 x)))
(+.f64 (*.f64 5/24 (pow.f64 x 4)) (-.f64 1 (/.f64 (*.f64 x x) 2)))
(-.f64 (fma.f64 5/24 (pow.f64 x 4) 1) (/.f64 (*.f64 x x) 2))
(-.f64 (+.f64 (*.f64 5/12 (/.f64 (pow.f64 x 4) (pow.f64 (sqrt.f64 2) 2))) (*.f64 2 (/.f64 1 (pow.f64 (sqrt.f64 2) 2)))) (+.f64 (/.f64 (pow.f64 x 2) (pow.f64 (sqrt.f64 2) 2)) (*.f64 61/360 (/.f64 (pow.f64 x 6) (pow.f64 (sqrt.f64 2) 2)))))
(-.f64 (fma.f64 5/12 (/.f64 (pow.f64 x 4) (pow.f64 (sqrt.f64 2) 2)) (/.f64 2 (pow.f64 (sqrt.f64 2) 2))) (+.f64 (/.f64 (*.f64 x x) (pow.f64 (sqrt.f64 2) 2)) (*.f64 61/360 (/.f64 (pow.f64 x 6) (pow.f64 (sqrt.f64 2) 2)))))
(-.f64 (fma.f64 5/12 (/.f64 (pow.f64 x 4) 2) 1) (fma.f64 61/360 (/.f64 (pow.f64 x 6) 2) (/.f64 x (/.f64 2 x))))
(+.f64 (-.f64 1 (/.f64 (*.f64 x x) 2)) (-.f64 (*.f64 5/24 (pow.f64 x 4)) (*.f64 61/720 (pow.f64 x 6))))
(-.f64 (fma.f64 5/24 (pow.f64 x 4) 1) (fma.f64 61/720 (pow.f64 x 6) (/.f64 (*.f64 x x) 2)))
(/.f64 4 (*.f64 (pow.f64 (sqrt.f64 2) 2) (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x))))
(/.f64 (/.f64 4 (pow.f64 (sqrt.f64 2) 2)) (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))
(/.f64 2 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))
(/.f64 4 (*.f64 (pow.f64 (sqrt.f64 2) 2) (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x))))
(/.f64 (/.f64 4 (pow.f64 (sqrt.f64 2) 2)) (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))
(/.f64 2 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))
(/.f64 4 (*.f64 (pow.f64 (sqrt.f64 2) 2) (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x))))
(/.f64 (/.f64 4 (pow.f64 (sqrt.f64 2) 2)) (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))
(/.f64 2 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))
(/.f64 4 (*.f64 (pow.f64 (sqrt.f64 2) 2) (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x))))
(/.f64 (/.f64 4 (pow.f64 (sqrt.f64 2) 2)) (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))
(/.f64 2 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))
(/.f64 4 (*.f64 (pow.f64 (sqrt.f64 2) 2) (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x))))
(/.f64 (/.f64 4 (pow.f64 (sqrt.f64 2) 2)) (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))
(/.f64 2 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))
(/.f64 4 (*.f64 (pow.f64 (sqrt.f64 2) 2) (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x))))
(/.f64 (/.f64 4 (pow.f64 (sqrt.f64 2) 2)) (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))
(/.f64 2 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))
(/.f64 4 (*.f64 (pow.f64 (sqrt.f64 2) 2) (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x))))
(/.f64 (/.f64 4 (pow.f64 (sqrt.f64 2) 2)) (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))
(/.f64 2 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))
(/.f64 4 (*.f64 (pow.f64 (sqrt.f64 2) 2) (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x))))
(/.f64 (/.f64 4 (pow.f64 (sqrt.f64 2) 2)) (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))
(/.f64 2 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))
(sqrt.f64 2)
(+.f64 (*.f64 1/4 (*.f64 (sqrt.f64 2) (pow.f64 x 2))) (sqrt.f64 2))
(fma.f64 1/4 (*.f64 (sqrt.f64 2) (*.f64 x x)) (sqrt.f64 2))
(fma.f64 (sqrt.f64 2) (*.f64 x (*.f64 x 1/4)) (sqrt.f64 2))
(*.f64 (fma.f64 x (*.f64 x 1/4) 1) (sqrt.f64 2))
(-.f64 (+.f64 (*.f64 1/4 (*.f64 (sqrt.f64 2) (pow.f64 x 2))) (sqrt.f64 2)) (*.f64 1/96 (*.f64 (sqrt.f64 2) (pow.f64 x 4))))
(+.f64 (fma.f64 1/4 (*.f64 (sqrt.f64 2) (*.f64 x x)) (sqrt.f64 2)) (*.f64 -1/96 (*.f64 (sqrt.f64 2) (pow.f64 x 4))))
(+.f64 (fma.f64 1/4 (*.f64 (sqrt.f64 2) (*.f64 x x)) (sqrt.f64 2)) (*.f64 (*.f64 -1/96 (pow.f64 x 4)) (sqrt.f64 2)))
(+.f64 (sqrt.f64 2) (*.f64 (sqrt.f64 2) (-.f64 (*.f64 x (*.f64 x 1/4)) (*.f64 (pow.f64 x 4) 1/96))))
(*.f64 (sqrt.f64 2) (-.f64 (fma.f64 x (*.f64 x 1/4) 1) (*.f64 (pow.f64 x 4) 1/96)))
(-.f64 (+.f64 (*.f64 19/5760 (*.f64 (sqrt.f64 2) (pow.f64 x 6))) (+.f64 (*.f64 1/4 (*.f64 (sqrt.f64 2) (pow.f64 x 2))) (sqrt.f64 2))) (*.f64 1/96 (*.f64 (sqrt.f64 2) (pow.f64 x 4))))
(-.f64 (fma.f64 19/5760 (*.f64 (sqrt.f64 2) (pow.f64 x 6)) (fma.f64 1/4 (*.f64 (sqrt.f64 2) (*.f64 x x)) (sqrt.f64 2))) (*.f64 1/96 (*.f64 (sqrt.f64 2) (pow.f64 x 4))))
(+.f64 (fma.f64 19/5760 (*.f64 (sqrt.f64 2) (pow.f64 x 6)) (fma.f64 1/4 (*.f64 (sqrt.f64 2) (*.f64 x x)) (sqrt.f64 2))) (*.f64 (*.f64 -1/96 (pow.f64 x 4)) (sqrt.f64 2)))
(+.f64 (fma.f64 (sqrt.f64 2) (*.f64 x (*.f64 x 1/4)) (sqrt.f64 2)) (*.f64 (sqrt.f64 2) (-.f64 (*.f64 (pow.f64 x 6) 19/5760) (*.f64 (pow.f64 x 4) 1/96))))
(fma.f64 (sqrt.f64 2) (fma.f64 x (*.f64 x 1/4) (*.f64 (pow.f64 x 6) 19/5760)) (*.f64 (fma.f64 (pow.f64 x 4) -1/96 1) (sqrt.f64 2)))
(*.f64 (*.f64 (sqrt.f64 1/2) (sqrt.f64 2)) (sqrt.f64 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x))))
(*.f64 (sqrt.f64 1/2) (*.f64 (sqrt.f64 2) (sqrt.f64 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))))
(*.f64 (*.f64 (sqrt.f64 2) (sqrt.f64 1/2)) (sqrt.f64 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))))
(*.f64 (sqrt.f64 2) (*.f64 (sqrt.f64 1/2) (sqrt.f64 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))))
(*.f64 (*.f64 (sqrt.f64 1/2) (sqrt.f64 2)) (sqrt.f64 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x))))
(*.f64 (sqrt.f64 1/2) (*.f64 (sqrt.f64 2) (sqrt.f64 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))))
(*.f64 (*.f64 (sqrt.f64 2) (sqrt.f64 1/2)) (sqrt.f64 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))))
(*.f64 (sqrt.f64 2) (*.f64 (sqrt.f64 1/2) (sqrt.f64 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))))
(*.f64 (*.f64 (sqrt.f64 1/2) (sqrt.f64 2)) (sqrt.f64 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x))))
(*.f64 (sqrt.f64 1/2) (*.f64 (sqrt.f64 2) (sqrt.f64 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))))
(*.f64 (*.f64 (sqrt.f64 2) (sqrt.f64 1/2)) (sqrt.f64 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))))
(*.f64 (sqrt.f64 2) (*.f64 (sqrt.f64 1/2) (sqrt.f64 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))))
(*.f64 (*.f64 (sqrt.f64 1/2) (sqrt.f64 2)) (sqrt.f64 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x))))
(*.f64 (sqrt.f64 1/2) (*.f64 (sqrt.f64 2) (sqrt.f64 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))))
(*.f64 (*.f64 (sqrt.f64 2) (sqrt.f64 1/2)) (sqrt.f64 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))))
(*.f64 (sqrt.f64 2) (*.f64 (sqrt.f64 1/2) (sqrt.f64 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))))
(*.f64 (*.f64 (sqrt.f64 1/2) (sqrt.f64 2)) (sqrt.f64 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x))))
(*.f64 (sqrt.f64 1/2) (*.f64 (sqrt.f64 2) (sqrt.f64 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))))
(*.f64 (*.f64 (sqrt.f64 2) (sqrt.f64 1/2)) (sqrt.f64 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))))
(*.f64 (sqrt.f64 2) (*.f64 (sqrt.f64 1/2) (sqrt.f64 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))))
(*.f64 (*.f64 (sqrt.f64 1/2) (sqrt.f64 2)) (sqrt.f64 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x))))
(*.f64 (sqrt.f64 1/2) (*.f64 (sqrt.f64 2) (sqrt.f64 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))))
(*.f64 (*.f64 (sqrt.f64 2) (sqrt.f64 1/2)) (sqrt.f64 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))))
(*.f64 (sqrt.f64 2) (*.f64 (sqrt.f64 1/2) (sqrt.f64 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))))
(*.f64 (*.f64 (sqrt.f64 1/2) (sqrt.f64 2)) (sqrt.f64 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x))))
(*.f64 (sqrt.f64 1/2) (*.f64 (sqrt.f64 2) (sqrt.f64 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))))
(*.f64 (*.f64 (sqrt.f64 2) (sqrt.f64 1/2)) (sqrt.f64 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))))
(*.f64 (sqrt.f64 2) (*.f64 (sqrt.f64 1/2) (sqrt.f64 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))))
(*.f64 (*.f64 (sqrt.f64 1/2) (sqrt.f64 2)) (sqrt.f64 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x))))
(*.f64 (sqrt.f64 1/2) (*.f64 (sqrt.f64 2) (sqrt.f64 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))))
(*.f64 (*.f64 (sqrt.f64 2) (sqrt.f64 1/2)) (sqrt.f64 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))))
(*.f64 (sqrt.f64 2) (*.f64 (sqrt.f64 1/2) (sqrt.f64 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))))

prune109.0ms (8.2%)

Pruning

3 alts after pruning (0 fresh and 3 done)

PrunedKeptTotal
New1510151
Fresh000
Picked011
Done022
Total1513154
Error
0b
Counts
154 → 3
Alt Table
StatusErrorProgram
0.7b
(log.f64 (exp.f64 (/.f64 2 (*.f64 2 (cosh.f64 x)))))
0.4b
(/.f64 (/.f64 2 (sqrt.f64 (*.f64 2 (cosh.f64 x)))) (sqrt.f64 (*.f64 2 (cosh.f64 x))))
0.0b
(/.f64 2 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))
Compiler

Compiled 2507 to 1854 computations (26% saved)

regimes43.0ms (3.2%)

Accuracy

Total 0.0b remaining (47.6%)

Threshold costs 0.0b (47.6%)

Counts
34 → 1
Compiler

Compiled 274 to 189 computations (31% saved)

simplify2.0ms (0.1%)

Algorithm
egg-herbie
Rules
1-exp_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0710
1910
Stop Event
saturated
Calls
Call 1
Inputs
(expm1.f64 (log1p.f64 (/.f64 1 (cosh.f64 x))))
Outputs
(expm1.f64 (log1p.f64 (/.f64 1 (cosh.f64 x))))

end51.0ms (3.8%)

Stop Event
done
Compiler

Compiled 46 to 38 computations (17.4% saved)

Profiling

Loading profile data...