Details

Time bar (total: 884.0ms)

analyze1.0ms (0.1%)

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

Compiled 10 to 8 computations (20% saved)

sample695.0ms (78.6%)

Results
684.0ms8256×body128valid
Compiler

Compiled 20 to 16 computations (20% saved)

preprocess38.0ms (4.3%)

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 (3.4%)

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

prune1.0ms (0.2%)

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.6%)

Local error

Found 1 expressions with local error:

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

series2.0ms (0.3%)

Counts
1 → 8
Calls

3 calls:

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

rewrite28.0ms (3.1%)

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

simplify20.0ms (2.3%)

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

prune11.0ms (1.2%)

Pruning

2 alts after pruning (1 fresh and 1 done)

PrunedKeptTotal
New18119
Fresh000
Picked011
Done000
Total18220
Error
0b
Counts
20 → 2
Alt Table
StatusErrorProgram
34.4b
(fma.f64 x (*.f64 x -1/2) 1)
0.0b
(/.f64 2 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))
Compiler

Compiled 229 to 174 computations (24% saved)

localize3.0ms (0.4%)

prune1.0ms (0.1%)

Pruning

2 alts after pruning (0 fresh and 2 done)

PrunedKeptTotal
New000
Fresh000
Picked011
Done011
Total022
Error
0b
Counts
2 → 2
Alt Table
StatusErrorProgram
34.4b
(fma.f64 x (*.f64 x -1/2) 1)
0.0b
(/.f64 2 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))
Compiler

Compiled 16 to 12 computations (25% saved)

regimes10.0ms (1.1%)

Accuracy

Total 0.0b remaining (42.1%)

Threshold costs 0.0b (42.1%)

Counts
4 → 1
Compiler

Compiled 41 to 31 computations (24.4% saved)

simplify2.0ms (0.2%)

Algorithm
egg-herbie
Rules
+-commutative_binary64
*-commutative_binary64
sub-neg_binary64
neg-sub0_binary64
neg-mul-1_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0813
11313
21513
31613
Stop Event
saturated
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))))

end37.0ms (4.2%)

Stop Event
done
Compiler

Compiled 34 to 26 computations (23.5% saved)

Profiling

Loading profile data...