Details

Time bar (total: 3.9s)

analyze101.0ms (2.5%)

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

Results
1.0s8256×body128valid
6.0ms52×body128invalid
Compiler

Compiled 67 to 49 computations (26.9% saved)

simplify121.0ms (3.1%)

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

prune4.0ms (0.1%)

Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New022
Fresh011
Picked000
Done000
Total033
Error
0.0b
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)

localize7.0ms (0.2%)

Local error

Found 3 expressions with local error:

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

series27.0ms (0.7%)

Counts
3 → 56
Calls

3 calls:

13.0ms
(*.f64 (-.f64 (/.f64 (*.f64 m (-.f64 1 m)) v) 1) (-.f64 1 m))
9.0ms
(/.f64 (*.f64 m (-.f64 1 m)) v)
5.0ms
(*.f64 m (-.f64 1 m))

rewrite34.0ms (0.9%)

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 (*.f64 m (-.f64 1 m)) v)
6.0ms
(*.f64 m (-.f64 1 m))

simplify118.0ms (3%)

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

Useful iterations: 2 (0.0ms)

IterNodesCost
02193683
14643476
219993134
349093134
450603134

prune228.0ms (5.8%)

Pruning

6 alts after pruning (6 fresh and 0 done)

PrunedKeptTotal
New2136219
Fresh101
Picked101
Done000
Total2156221
Error
0b
Counts
221 → 6
Alt Table
StatusErrorProgram
0.1b
(*.f64 (-.f64 (/.f64 (-.f64 m (pow.f64 m 2)) v) 1) (-.f64 1 m))
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 1 m))
0.2b
(*.f64 (-.f64 (/.f64 1 (/.f64 v (*.f64 m (-.f64 1 m)))) 1) (-.f64 1 m))
22.6b
(/.f64 (*.f64 (-.f64 (pow.f64 (/.f64 (*.f64 m (-.f64 1 m)) v) 3) (pow.f64 1 3)) (-.f64 1 m)) (+.f64 (*.f64 (/.f64 (*.f64 m (-.f64 1 m)) v) (/.f64 (*.f64 m (-.f64 1 m)) v)) (+.f64 (*.f64 1 1) (*.f64 (/.f64 (*.f64 m (-.f64 1 m)) v) 1))))
0.4b
(*.f64 (-.f64 (*.f64 (/.f64 m (sqrt.f64 v)) (/.f64 (-.f64 1 m) (sqrt.f64 v))) 1) (-.f64 1 m))
Compiler

Compiled 5505 to 3344 computations (39.3% saved)

localize16.0ms (0.4%)

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)
10.6b
(/.f64 (pow.f64 m 2) v)

series48.0ms (1.2%)

Counts
4 → 27
Calls

4 calls:

18.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)
10.0ms
(/.f64 (pow.f64 m 2) v)
6.0ms
(+.f64 (/.f64 m v) m)

rewrite51.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:

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

simplify154.0ms (3.9%)

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

prune408.0ms (10.3%)

Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New2662268
Fresh325
Picked011
Done000
Total2695274
Error
0b
Counts
274 → 5
Alt Table
StatusErrorProgram
0.1b
(*.f64 (-.f64 (/.f64 (-.f64 m (pow.f64 m 2)) v) 1) (-.f64 1 m))
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 m (/.f64 v (*.f64 m m))) (+.f64 (/.f64 m v) m)) (+.f64 1 (*.f64 2 (/.f64 (pow.f64 m 2) v))))
0.1b
(-.f64 (+.f64 (*.f64 (pow.f64 m 3/2) (/.f64 (pow.f64 m 3/2) v)) (+.f64 (/.f64 m v) m)) (+.f64 1 (*.f64 2 (/.f64 (pow.f64 m 2) v))))
0.4b
(*.f64 (-.f64 (*.f64 (/.f64 m (sqrt.f64 v)) (/.f64 (-.f64 1 m) (sqrt.f64 v))) 1) (-.f64 1 m))
Compiler

Compiled 9501 to 5219 computations (45.1% saved)

localize9.0ms (0.2%)

Local error

Found 3 expressions with local error:

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

series27.0ms (0.7%)

Counts
3 → 43
Calls

3 calls:

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

rewrite45.0ms (1.1%)

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

simplify165.0ms (4.2%)

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

prune265.0ms (6.7%)

Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New2642266
Fresh213
Picked101
Done011
Total2674271
Error
0b
Counts
271 → 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 v) (*.f64 (/.f64 m v) m)) 1) (-.f64 1 m))
0.1b
(-.f64 (+.f64 (/.f64 m (/.f64 v (*.f64 m m))) (+.f64 (/.f64 m v) m)) (+.f64 1 (*.f64 2 (/.f64 (pow.f64 m 2) v))))
0.4b
(*.f64 (-.f64 (/.f64 (/.f64 (-.f64 m (pow.f64 m 2)) (sqrt.f64 v)) (sqrt.f64 v)) 1) (-.f64 1 m))
Compiler

Compiled 6855 to 4190 computations (38.9% saved)

localize8.0ms (0.2%)

Local error

Found 3 expressions with local error:

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

series36.0ms (0.9%)

Counts
3 → 72
Calls

3 calls:

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

rewrite34.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:

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

simplify158.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

prune197.0ms (5%)

Pruning

4 alts after pruning (2 fresh and 2 done)

PrunedKeptTotal
New2370237
Fresh022
Picked011
Done011
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 v) (*.f64 (/.f64 m v) m)) 1) (-.f64 1 m))
0.1b
(-.f64 (+.f64 (/.f64 m (/.f64 v (*.f64 m m))) (+.f64 (/.f64 m v) m)) (+.f64 1 (*.f64 2 (/.f64 (pow.f64 m 2) v))))
0.4b
(*.f64 (-.f64 (/.f64 (/.f64 (-.f64 m (pow.f64 m 2)) (sqrt.f64 v)) (sqrt.f64 v)) 1) (-.f64 1 m))
Compiler

Compiled 6181 to 2456 computations (60.3% saved)

regimes462.0ms (11.7%)

Accuracy

Total 0.1b remaining (80%)

Threshold costs 0.1b (80%)

Counts
156 → 1
Compiler

Compiled 8891 to 6202 computations (30.2% saved)

simplify2.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
0919
11719
22119
32319
42419
52219

end74.0ms (1.9%)

Compiler

Compiled 114 to 77 computations (32.5% saved)

Profiling

Loading profile data...