Details

Time bar (total: 3.6s)

analyze81.0ms (2.2%)

Algorithm
search
Search
TrueOtherFalseIter
0%12.5%87.5%0
0%12.5%87.5%1
0%12.5%87.5%2
3.1%9.3%87.5%3
3.1%6.2%90.7%4
4.7%4.7%90.7%5
4.7%3.5%91.8%6
5.6%2.5%91.8%7
5.9%1.8%92.3%8
6.4%1.3%92.3%9
6.6%0.9%92.5%10
6.8%0.6%92.5%11
6.9%0.5%92.6%12
7%0.3%92.6%13
7.1%0.2%92.7%14
Compiler

Compiled 26 to 19 computations (26.9% saved)

sample1.1s (30.4%)

Results
983.0ms8256×body128valid
7.0ms59×body128invalid
Compiler

Compiled 67 to 49 computations (26.9% saved)

simplify121.0ms (3.3%)

Algorithm
egg-herbie
Rules
1247×unsub-neg_binary64
616×neg-sub0_binary64
571×neg-mul-1_binary64
560×fma-neg_binary64
452×sub-neg_binary64
Counts
1 → 2
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
0919
12019
24617
311617
435817
5133117
6346317
7362517
8429317
9467817
10465017
11489517
12490517

prune3.0ms (0.1%)

Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New022
Fresh011
Picked000
Done000
Total033
Error
0.1b
Counts
3 → 2
Alt Table
StatusErrorProgram
0.1b
(*.f64 (-.f64 (/.f64 (*.f64 m (-.f64 1 m)) v) 1) (-.f64 1 m))
0.2b
(*.f64 (-.f64 1 m) (fma.f64 m (/.f64 (-.f64 1 m) v) -1))
Compiler

Compiled 85 to 61 computations (28.2% saved)

localize6.0ms (0.2%)

Local error

Found 3 expressions with local error:

NewErrorProgram
0.0b
(*.f64 m (-.f64 1 m))
0.0b
(*.f64 (-.f64 (/.f64 (*.f64 m (-.f64 1 m)) v) 1) (-.f64 1 m))
0.0b
(/.f64 (*.f64 m (-.f64 1 m)) v)

series24.0ms (0.7%)

Counts
3 → 56
Calls

3 calls:

12.0ms
(*.f64 (-.f64 (/.f64 (*.f64 m (-.f64 1 m)) v) 1) (-.f64 1 m))
9.0ms
(/.f64 (*.f64 m (-.f64 1 m)) v)
4.0ms
(*.f64 m (-.f64 1 m))

rewrite37.0ms (1%)

Algorithm
rewrite-expression-head
Rules
51×add-sqr-sqrt_binary64
46×*-un-lft-identity_binary64
37×add-cube-cbrt_binary64
36×prod-diff_binary64
26×distribute-lft-in_binary64
Counts
3 → 137
Calls

3 calls:

12.0ms
(*.f64 (-.f64 (/.f64 (*.f64 m (-.f64 1 m)) v) 1) (-.f64 1 m))
6.0ms
(*.f64 m (-.f64 1 m))
6.0ms
(/.f64 (*.f64 m (-.f64 1 m)) v)

simplify113.0ms (3.1%)

Algorithm
egg-herbie
Rules
806×distribute-rgt-in_binary64
733×distribute-lft-in_binary64
365×fma-neg_binary64
242×associate-*l*_binary64
194×associate-*r*_binary64
Counts
193 → 219
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
02193683
14643476
219993134
349093134
450603134

prune223.0ms (6.1%)

Pruning

4 alts after pruning (4 fresh and 0 done)

PrunedKeptTotal
New2154219
Fresh101
Picked101
Done000
Total2174221
Error
0b
Counts
221 → 4
Alt Table
StatusErrorProgram
0.1b
(-.f64 (+.f64 (/.f64 (pow.f64 m 3) v) (+.f64 (/.f64 m v) m)) (+.f64 1 (*.f64 2 (/.f64 (pow.f64 m 2) v))))
0.1b
(+.f64 (fma.f64 (/.f64 m v) (-.f64 1 m) -1) (*.f64 (fma.f64 (/.f64 m v) (-.f64 1 m) -1) (neg.f64 m)))
0.1b
(*.f64 (-.f64 (/.f64 (-.f64 m (pow.f64 m 2)) v) 1) (-.f64 1 m))
0.1b
(*.f64 (-.f64 (/.f64 m (/.f64 v (-.f64 1 m))) 1) (-.f64 1 m))
Compiler

Compiled 5381 to 3250 computations (39.6% saved)

localize12.0ms (0.3%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.0b
(+.f64 (/.f64 m v) m)
0.0b
(-.f64 (+.f64 (/.f64 (pow.f64 m 3) v) (+.f64 (/.f64 m v) m)) (+.f64 1 (*.f64 2 (/.f64 (pow.f64 m 2) v))))
7.9b
(/.f64 (pow.f64 m 3) v)
14.8b
(/.f64 (pow.f64 m 2) v)

series47.0ms (1.3%)

Counts
4 → 27
Calls

4 calls:

17.0ms
(-.f64 (+.f64 (/.f64 (pow.f64 m 3) v) (+.f64 (/.f64 m v) m)) (+.f64 1 (*.f64 2 (/.f64 (pow.f64 m 2) v))))
13.0ms
(/.f64 (pow.f64 m 3) v)
11.0ms
(/.f64 (pow.f64 m 2) v)
6.0ms
(+.f64 (/.f64 m v) m)

rewrite48.0ms (1.3%)

Algorithm
rewrite-expression-head
Rules
94×*-un-lft-identity_binary64
69×times-frac_binary64
65×add-sqr-sqrt_binary64
63×add-cube-cbrt_binary64
27×add-log-exp_binary64
Counts
4 → 200
Calls

4 calls:

22.0ms
(-.f64 (+.f64 (/.f64 (pow.f64 m 3) v) (+.f64 (/.f64 m v) m)) (+.f64 1 (*.f64 2 (/.f64 (pow.f64 m 2) v))))
5.0ms
(+.f64 (/.f64 m v) m)
4.0ms
(/.f64 (pow.f64 m 3) v)
3.0ms
(/.f64 (pow.f64 m 2) v)

simplify152.0ms (4.2%)

Algorithm
egg-herbie
Rules
663×fma-neg_binary64
450×unswap-sqr_binary64
227×distribute-rgt-in_binary64
224×associate-*l*_binary64
223×associate-*r*_binary64
Counts
227 → 268
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
03266089
18154598
235074321
344804319
450014319

prune379.0ms (10.4%)

Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New2680268
Fresh033
Picked011
Done000
Total2684272
Error
0b
Counts
272 → 4
Alt Table
StatusErrorProgram
0.1b
(-.f64 (+.f64 (/.f64 (pow.f64 m 3) v) (+.f64 (/.f64 m v) m)) (+.f64 1 (*.f64 2 (/.f64 (pow.f64 m 2) v))))
0.1b
(+.f64 (fma.f64 (/.f64 m v) (-.f64 1 m) -1) (*.f64 (fma.f64 (/.f64 m v) (-.f64 1 m) -1) (neg.f64 m)))
0.1b
(*.f64 (-.f64 (/.f64 (-.f64 m (pow.f64 m 2)) v) 1) (-.f64 1 m))
0.1b
(*.f64 (-.f64 (/.f64 m (/.f64 v (-.f64 1 m))) 1) (-.f64 1 m))
Compiler

Compiled 9433 to 5173 computations (45.2% saved)

localize7.0ms (0.2%)

Local error

Found 3 expressions with local error:

NewErrorProgram
0.0b
(-.f64 m (pow.f64 m 2))
0.0b
(*.f64 (-.f64 (/.f64 (-.f64 m (pow.f64 m 2)) v) 1) (-.f64 1 m))
0.0b
(/.f64 (-.f64 m (pow.f64 m 2)) v)

series27.0ms (0.7%)

Counts
3 → 43
Calls

3 calls:

12.0ms
(/.f64 (-.f64 m (pow.f64 m 2)) v)
12.0ms
(*.f64 (-.f64 (/.f64 (-.f64 m (pow.f64 m 2)) v) 1) (-.f64 1 m))
2.0ms
(-.f64 m (pow.f64 m 2))

rewrite44.0ms (1.2%)

Algorithm
rewrite-expression-head
Rules
96×add-sqr-sqrt_binary64
72×*-un-lft-identity_binary64
50×add-cube-cbrt_binary64
42×prod-diff_binary64
30×times-frac_binary64
Counts
3 → 174
Calls

3 calls:

18.0ms
(*.f64 (-.f64 (/.f64 (-.f64 m (pow.f64 m 2)) v) 1) (-.f64 1 m))
7.0ms
(/.f64 (-.f64 m (pow.f64 m 2)) v)
5.0ms
(-.f64 m (pow.f64 m 2))

simplify161.0ms (4.4%)

Algorithm
egg-herbie
Rules
460×exp-prod_binary64
239×times-frac_binary64
225×fma-neg_binary64
210×log-prod_binary64
196×div-sub_binary64
Counts
217 → 266
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
03134995
15664142
220903907
338623907
445683907
548923907

prune244.0ms (6.7%)

Pruning

4 alts after pruning (2 fresh and 2 done)

PrunedKeptTotal
New2651266
Fresh112
Picked011
Done011
Total2664270
Error
0b
Counts
270 → 4
Alt Table
StatusErrorProgram
0.1b
(-.f64 (+.f64 (/.f64 (pow.f64 m 3) v) (+.f64 (/.f64 m v) m)) (+.f64 1 (*.f64 2 (/.f64 (pow.f64 m 2) v))))
0.1b
(*.f64 (-.f64 (/.f64 (-.f64 m (pow.f64 m 2)) v) 1) (-.f64 1 m))
0.1b
(*.f64 (-.f64 (/.f64 m (/.f64 v (-.f64 1 m))) 1) (-.f64 1 m))
0.1b
(*.f64 (-.f64 (-.f64 (/.f64 m v) (*.f64 (/.f64 m v) m)) 1) (-.f64 1 m))
Compiler

Compiled 6812 to 4166 computations (38.8% saved)

localize7.0ms (0.2%)

Local error

Found 3 expressions with local error:

NewErrorProgram
0.0b
(-.f64 (/.f64 m v) (*.f64 (/.f64 m v) m))
0.0b
(*.f64 (-.f64 (-.f64 (/.f64 m v) (*.f64 (/.f64 m v) m)) 1) (-.f64 1 m))
0.2b
(*.f64 (/.f64 m v) m)

series34.0ms (0.9%)

Counts
3 → 72
Calls

3 calls:

12.0ms
(-.f64 (/.f64 m v) (*.f64 (/.f64 m v) m))
12.0ms
(*.f64 (-.f64 (-.f64 (/.f64 m v) (*.f64 (/.f64 m v) m)) 1) (-.f64 1 m))
10.0ms
(*.f64 (/.f64 m v) m)

rewrite33.0ms (0.9%)

Algorithm
rewrite-expression-head
Rules
55×add-sqr-sqrt_binary64
47×*-un-lft-identity_binary64
41×add-cube-cbrt_binary64
31×prod-diff_binary64
28×times-frac_binary64
Counts
3 → 137
Calls

3 calls:

12.0ms
(*.f64 (-.f64 (-.f64 (/.f64 m v) (*.f64 (/.f64 m v) m)) 1) (-.f64 1 m))
6.0ms
(-.f64 (/.f64 m v) (*.f64 (/.f64 m v) m))
5.0ms
(*.f64 (/.f64 m v) m)

simplify147.0ms (4%)

Algorithm
egg-herbie
Rules
823×fma-neg_binary64
532×times-frac_binary64
324×cancel-sign-sub-inv_binary64
266×associate-*l*_binary64
255×associate-*r*_binary64
Counts
209 → 237
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
02454069
15473820
223613467
344483454
449773454
549093454

prune183.0ms (5%)

Pruning

4 alts after pruning (1 fresh and 3 done)

PrunedKeptTotal
New2370237
Fresh011
Picked011
Done022
Total2374241
Error
0b
Counts
241 → 4
Alt Table
StatusErrorProgram
0.1b
(-.f64 (+.f64 (/.f64 (pow.f64 m 3) v) (+.f64 (/.f64 m v) m)) (+.f64 1 (*.f64 2 (/.f64 (pow.f64 m 2) v))))
0.1b
(*.f64 (-.f64 (/.f64 (-.f64 m (pow.f64 m 2)) v) 1) (-.f64 1 m))
0.1b
(*.f64 (-.f64 (/.f64 m (/.f64 v (-.f64 1 m))) 1) (-.f64 1 m))
0.1b
(*.f64 (-.f64 (-.f64 (/.f64 m v) (*.f64 (/.f64 m v) m)) 1) (-.f64 1 m))
Compiler

Compiled 6167 to 2449 computations (60.3% saved)

regimes319.0ms (8.8%)

Accuracy

Total 0.1b remaining (82.2%)

Threshold costs 0.1b (82.2%)

Counts
119 → 1
Compiler

Compiled 6430 to 4475 computations (30.4% saved)

simplify3.0ms (0.1%)

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

Useful iterations: 0 (0.0ms)

IterNodesCost
01527
12927
24227
35227
45927
56227
66327
76127

end76.0ms (2.1%)

Compiler

Compiled 110 to 76 computations (30.9% saved)

Profiling

Loading profile data...