Details

Time bar (total: 5.9s)

analyze1.0ms (0%)

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

Compiled 15 to 8 computations (46.7% saved)

sample4.8s (81%)

Results
2.4s4009×body1024valid
905.0ms8115×body128invalid
688.0ms1985×body512valid
294.0ms424×body2048valid
246.0ms1035×body256valid
97.0ms803×body128valid
Compiler

Compiled 44 to 23 computations (47.7% saved)

simplify107.0ms (1.8%)

Algorithm
egg-herbie
Rules
720×fma-def_binary64
658×unswap-sqr_binary64
478×fma-neg_binary64
464×times-frac_binary64
388×associate-/r/_binary64
Counts
1 → 1
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0822
12022
23422
35822
412522
528822
662422
7157722
8379822
9455322
10502322

prune3.0ms (0.1%)

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022
Error
57.8b
Counts
2 → 1
Alt Table
StatusErrorProgram
57.8b
(/.f64 (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))
Compiler

Compiled 42 to 21 computations (50% saved)

localize8.0ms (0.1%)

Local error

Found 2 expressions with local error:

NewErrorProgram
0.3b
(/.f64 (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))
7.4b
(-.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))

series20.0ms (0.3%)

Counts
2 → 16
Calls

2 calls:

17.0ms
(/.f64 (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))
3.0ms
(-.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))

rewrite37.0ms (0.6%)

Algorithm
rewrite-expression-head
Rules
51×*-un-lft-identity_binary64
37×add-sqr-sqrt_binary64
30×times-frac_binary64
23×add-cube-cbrt_binary64
prod-diff_binary64
Counts
2 → 92
Calls

2 calls:

17.0ms
(/.f64 (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))
9.0ms
(-.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))

simplify214.0ms (3.6%)

Algorithm
egg-herbie
Rules
436×fma-def_binary64
418×associate-*l*_binary64
364×associate-*r*_binary64
322×times-frac_binary64
220×fma-neg_binary64
Counts
108 → 123
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
01722760
13822556
211452481
343472481
448812481

prune192.0ms (3.2%)

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New1212123
Fresh000
Picked101
Done000
Total1222124
Error
0b
Counts
124 → 2
Alt Table
StatusErrorProgram
0.3b
(/.f64 (sinh.f64 x) (cosh.f64 x))
0.0b
(tanh.f64 x)
Compiler

Compiled 2826 to 590 computations (79.1% saved)

localize2.0ms (0%)

Local error

Found 1 expressions with local error:

NewErrorProgram
0.0b
(tanh.f64 x)

series31.0ms (0.5%)

Counts
1 → 12
Calls

1 calls:

31.0ms
(tanh.f64 x)

rewrite1.0ms (0%)

Algorithm
rewrite-expression-head
Rules
*-un-lft-identity_binary64
add-sqr-sqrt_binary64
add-cube-cbrt_binary64
add-cbrt-cube_binary64
add-exp-log_binary64
Counts
1 → 12
Calls

1 calls:

1.0ms
(tanh.f64 x)

simplify69.0ms (1.2%)

Algorithm
egg-herbie
Rules
748×times-frac_binary64
602×fma-neg_binary64
330×fma-def_binary64
236×distribute-rgt-in_binary64
234×distribute-lft-in_binary64
Counts
24 → 24
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
049189
1111182
2266178
3751175
43049175
54950175
65000175

prune13.0ms (0.2%)

Pruning

2 alts after pruning (1 fresh and 1 done)

PrunedKeptTotal
New24024
Fresh011
Picked011
Done000
Total24226
Error
0b
Counts
26 → 2
Alt Table
StatusErrorProgram
0.3b
(/.f64 (sinh.f64 x) (cosh.f64 x))
0.0b
(tanh.f64 x)
Compiler

Compiled 224 to 140 computations (37.5% saved)

localize7.0ms (0.1%)

Local error

Found 2 expressions with local error:

NewErrorProgram
0.0b
(sinh.f64 x)
0.3b
(/.f64 (sinh.f64 x) (cosh.f64 x))

series75.0ms (1.3%)

Counts
2 → 24
Calls

2 calls:

59.0ms
(/.f64 (sinh.f64 x) (cosh.f64 x))
16.0ms
(sinh.f64 x)

rewrite11.0ms (0.2%)

Algorithm
rewrite-expression-head
Rules
10×*-un-lft-identity_binary64
10×add-sqr-sqrt_binary64
10×add-cube-cbrt_binary64
times-frac_binary64
add-cbrt-cube_binary64
Counts
2 → 41
Calls

2 calls:

5.0ms
(/.f64 (sinh.f64 x) (cosh.f64 x))
1.0ms
(sinh.f64 x)

simplify149.0ms (2.5%)

Algorithm
egg-herbie
Rules
676×associate-/l/_binary64
520×fma-def_binary64
515×times-frac_binary64
352×associate-/r/_binary64
242×cancel-sign-sub-inv_binary64
Counts
65 → 63
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
097936
1198895
2518883
31423751
44125751
54893751
64996751
74884751

prune28.0ms (0.5%)

Pruning

2 alts after pruning (0 fresh and 2 done)

PrunedKeptTotal
New63063
Fresh000
Picked011
Done011
Total63265
Error
0b
Counts
65 → 2
Alt Table
StatusErrorProgram
0.3b
(/.f64 (sinh.f64 x) (cosh.f64 x))
0.0b
(tanh.f64 x)
Compiler

Compiled 727 to 281 computations (61.3% saved)

regimes85.0ms (1.4%)

Accuracy

Total 0.0b remaining (74.8%)

Threshold costs 0.0b (74.8%)

Counts
20 → 1
Compiler

Compiled 784 to 464 computations (40.8% saved)

simplify3.0ms (0.1%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
033
133

end63.0ms (1.1%)

Compiler

Compiled 15 to 10 computations (33.3% saved)

Profiling

Loading profile data...