Details

Time bar (total: 1.4s)

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)

sample711.0ms (49.7%)

Results
663.0ms8256×body128valid
Compiler

Compiled 29 to 23 computations (20.7% saved)

simplify27.0ms (1.9%)

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

prune3.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.4%)

Local error

Found 2 expressions with local error:

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

series14.0ms (1%)

Counts
2 → 16
Calls

2 calls:

12.0ms
(/.f64 2 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))
2.0ms
(+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))

rewrite70.0ms (4.9%)

Algorithm
egg-rewrite
batch-egg-rewrite
Rules
88×add-sqr-sqrt_binary64
85×log1p-expm1-u_binary64
85×expm1-log1p-u_binary64
83×add-cbrt-cube_binary64
83×add-log-exp_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0818
117618
2279618
089
11769
227969
089
066
11296
221306
066
Stop Event
iter limit
unsound
iter limit
unsound
unsound
Counts
2 → 22
Calls

2 calls:

69.0ms
(+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))
69.0ms
(/.f64 2 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))

simplify25.0ms (1.8%)

Algorithm
egg-herbie
Rules
981×fma-neg_binary64
391×distribute-rgt-neg-in_binary64
370×fma-def_binary64
346×distribute-lft-neg-in_binary64
330×associate-*l*_binary64
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
035187
189183
2217177
3655175
42761175
Stop Event
node limit
Counts
38 → 40

prune28.0ms (2%)

Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New38240
Fresh000
Picked011
Done000
Total38341
Error
0b
Counts
41 → 3
Alt Table
StatusErrorProgram
0.0b
(*.f64 (sqrt.f64 (/.f64 2 (*.f64 2 (cosh.f64 x)))) (sqrt.f64 (/.f64 2 (*.f64 2 (cosh.f64 x)))))
29.6b
(fma.f64 x (*.f64 x -1/2) (fma.f64 5/24 (pow.f64 x 4) 1))
0.0b
(/.f64 2 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))
Compiler

Compiled 521 to 367 computations (29.6% saved)

localize5.0ms (0.4%)

Local error

Found 2 expressions with local error:

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

series42.0ms (2.9%)

Counts
2 → 24
Calls

2 calls:

21.0ms
(/.f64 2 (*.f64 2 (cosh.f64 x)))
21.0ms
(*.f64 (sqrt.f64 (/.f64 2 (*.f64 2 (cosh.f64 x)))) (sqrt.f64 (/.f64 2 (*.f64 2 (cosh.f64 x)))))

rewrite37.0ms (2.6%)

Algorithm
batch-egg-rewrite
Rules
639×log1p-expm1-u_binary64
639×expm1-log1p-u_binary64
333×log-prod_binary64
128×expm1-udef_binary64
128×log1p-udef_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0812
117412
2183512
Stop Event
node limit
Counts
2 → 64
Calls

2 calls:

36.0ms
(/.f64 2 (*.f64 2 (cosh.f64 x)))
36.0ms
(*.f64 (sqrt.f64 (/.f64 2 (*.f64 2 (cosh.f64 x)))) (sqrt.f64 (/.f64 2 (*.f64 2 (cosh.f64 x)))))

simplify26.0ms (1.8%)

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
88 → 53

prune48.0ms (3.4%)

Pruning

2 alts after pruning (1 fresh and 1 done)

PrunedKeptTotal
New64165
Fresh101
Picked011
Done101
Total66268
Error
0b
Counts
68 → 2
Alt Table
StatusErrorProgram
0.0b
(*.f64 (sqrt.f64 (/.f64 2 (*.f64 2 (cosh.f64 x)))) (sqrt.f64 (/.f64 2 (*.f64 2 (cosh.f64 x)))))
0.0b
(sqrt.f64 (/.f64 1 (pow.f64 (cosh.f64 x) 2)))
Compiler

Compiled 891 to 607 computations (31.9% saved)

localize5.0ms (0.4%)

Local error

Found 3 expressions with local error:

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

series72.0ms (5.1%)

Counts
3 → 36
Calls

3 calls:

41.0ms
(/.f64 1 (pow.f64 (cosh.f64 x) 2))
20.0ms
(sqrt.f64 (/.f64 1 (pow.f64 (cosh.f64 x) 2)))
11.0ms
(pow.f64 (cosh.f64 x) 2)

rewrite52.0ms (3.6%)

Algorithm
batch-egg-rewrite
Rules
619×log1p-expm1-u_binary64
619×expm1-log1p-u_binary64
302×log-prod_binary64
126×expm1-udef_binary64
126×log1p-udef_binary64
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
0820
116818
2184718
Stop Event
node limit
Counts
3 → 95
Calls

3 calls:

51.0ms
(sqrt.f64 (/.f64 1 (pow.f64 (cosh.f64 x) 2)))
51.0ms
(pow.f64 (cosh.f64 x) 2)
51.0ms
(/.f64 1 (pow.f64 (cosh.f64 x) 2))

simplify37.0ms (2.6%)

Algorithm
egg-herbie
Rules
554×fma-def_binary64
505×associate-*l*_binary64
428×associate-*r*_binary64
309×unswap-sqr_binary64
297×cancel-sign-sub-inv_binary64
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
046498
1118494
2315488
31023486
44502486
Stop Event
node limit
Counts
131 → 120

prune74.0ms (5.2%)

Pruning

2 alts after pruning (0 fresh and 2 done)

PrunedKeptTotal
New1200120
Fresh000
Picked011
Done011
Total1202122
Error
0b
Counts
122 → 2
Alt Table
StatusErrorProgram
0.0b
(*.f64 (sqrt.f64 (/.f64 2 (*.f64 2 (cosh.f64 x)))) (sqrt.f64 (/.f64 2 (*.f64 2 (cosh.f64 x)))))
0.0b
(sqrt.f64 (/.f64 1 (pow.f64 (cosh.f64 x) 2)))
Compiler

Compiled 1259 to 870 computations (30.9% saved)

regimes101.0ms (7%)

Accuracy

Total 0.0b remaining (74.6%)

Threshold costs 0.0b (74.6%)

Counts
49 → 1
Compiler

Compiled 1349 to 1099 computations (18.5% saved)

simplify2.0ms (0.1%)

Algorithm
egg-herbie
Rules
1-exp_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0914
11114
Stop Event
saturated

end46.0ms (3.2%)

Compiler

Compiled 44 to 38 computations (13.6% saved)

Profiling

Loading profile data...