Details

Time bar (total: 3.2s)

analyze355.0ms (11.3%)

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 23 to 16 computations (30.4% saved)

sample26.0ms (0.8%)

Algorithm
intervals
Results
11.0ms256×body128valid
5.0ms257×pre128true
0.0msbody128invalid
Compiler

Compiled 38 to 27 computations (28.9% saved)

simplify125.0ms (4%)

Algorithm
egg-herbie
Rules
1186×fma-def_binary64
913×fma-neg_binary64
520×distribute-rgt-in_binary64
481×div-sub_binary64
441×unsub-neg_binary64
Counts
1 → 2
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
0916
12016
23914
37814
423314
552914
697614
7168614
8174614
9195214
10233414
11281814
12310414
13456014
14419514
15479914

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.2b
(*.f64 (-.f64 (/.f64 (*.f64 m (-.f64 1 m)) v) 1) m)
0.2b
(*.f64 m (fma.f64 m (/.f64 (-.f64 1 m) v) -1))
Compiler

Compiled 73 to 49 computations (32.9% 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) m)

rewrite28.0ms (0.9%)

Algorithm
rewrite-expression-head
Rules
34×add-sqr-sqrt_binary64
29×*-un-lft-identity_binary64
23×add-cube-cbrt_binary64
18×prod-diff_binary64
13×distribute-lft-in_binary64
Counts
3 → 102
Calls

3 calls:

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

series59.0ms (1.9%)

Counts
3 → 56
Calls

3 calls:

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

simplify100.0ms (3.2%)

Algorithm
egg-herbie
Rules
519×fma-def_binary64
423×distribute-rgt-in_binary64
385×distribute-lft-in_binary64
346×associate-/l/_binary64
288×fma-neg_binary64
Counts
158 → 299
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
01782119
13641923
215971729
344951728
449501728

prune136.0ms (4.3%)

Pruning

7 alts after pruning (6 fresh and 1 done)

PrunedKeptTotal
New2945299
Fresh011
Picked011
Done000
Total2947301
Error
0b
Counts
301 → 7
Alt Table
StatusErrorProgram
0.5b
(*.f64 (*.f64 (-.f64 (/.f64 (*.f64 m (-.f64 1 m)) v) 1) (sqrt.f64 m)) (sqrt.f64 m))
32.1b
(/.f64 (*.f64 (-.f64 m (pow.f64 m 2)) m) v)
0.3b
(*.f64 (-.f64 (*.f64 (/.f64 m (sqrt.f64 v)) (/.f64 (-.f64 1 m) (sqrt.f64 v))) 1) m)
0.2b
(*.f64 m (fma.f64 m (/.f64 (-.f64 1 m) v) -1))
0.2b
(*.f64 (-.f64 (/.f64 (*.f64 m (-.f64 1 m)) v) 1) m)
6.8b
(-.f64 (/.f64 (pow.f64 m 2) v) (+.f64 (/.f64 (pow.f64 m 3) v) m))
42.5b
(cbrt.f64 (pow.f64 (*.f64 m (fma.f64 (/.f64 m v) (-.f64 1 m) -1)) 3))
Compiler

Compiled 3317 to 1855 computations (44.1% saved)

localize7.0ms (0.2%)

Local error

Found 3 expressions with local error:

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

rewrite13.0ms (0.4%)

Algorithm
rewrite-expression-head
Rules
30×add-sqr-sqrt_binary64
28×*-un-lft-identity_binary64
18×times-frac_binary64
16×add-cube-cbrt_binary64
difference-of-squares_binary64
Counts
3 → 76
Calls

3 calls:

5.0ms
(/.f64 (-.f64 1 m) v)
4.0ms
(*.f64 m (fma.f64 m (/.f64 (-.f64 1 m) v) -1))
0.0ms
(fma.f64 m (/.f64 (-.f64 1 m) v) -1)

series59.0ms (1.9%)

Counts
3 → 64
Calls

3 calls:

25.0ms
(*.f64 m (fma.f64 m (/.f64 (-.f64 1 m) v) -1))
17.0ms
(fma.f64 m (/.f64 (-.f64 1 m) v) -1)
16.0ms
(/.f64 (-.f64 1 m) v)

simplify133.0ms (4.2%)

Algorithm
egg-herbie
Rules
562×fma-neg_binary64
332×distribute-rgt-neg-out_binary64
307×associate-*l*_binary64
305×div-sub_binary64
264×exp-prod_binary64
Counts
140 → 243
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
01352018
12851760
27451726
325531726
444781726
549761726

prune95.0ms (3%)

Pruning

7 alts after pruning (5 fresh and 2 done)

PrunedKeptTotal
New2430243
Fresh055
Picked011
Done011
Total2437250
Error
0b
Counts
250 → 7
Alt Table
StatusErrorProgram
0.5b
(*.f64 (*.f64 (-.f64 (/.f64 (*.f64 m (-.f64 1 m)) v) 1) (sqrt.f64 m)) (sqrt.f64 m))
32.1b
(/.f64 (*.f64 (-.f64 m (pow.f64 m 2)) m) v)
0.3b
(*.f64 (-.f64 (*.f64 (/.f64 m (sqrt.f64 v)) (/.f64 (-.f64 1 m) (sqrt.f64 v))) 1) m)
0.2b
(*.f64 m (fma.f64 m (/.f64 (-.f64 1 m) v) -1))
0.2b
(*.f64 (-.f64 (/.f64 (*.f64 m (-.f64 1 m)) v) 1) m)
6.8b
(-.f64 (/.f64 (pow.f64 m 2) v) (+.f64 (/.f64 (pow.f64 m 3) v) m))
42.5b
(cbrt.f64 (pow.f64 (*.f64 m (fma.f64 (/.f64 m v) (-.f64 1 m) -1)) 3))
Compiler

Compiled 2127 to 1295 computations (39.1% saved)

localize9.0ms (0.3%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.1b
(*.f64 (-.f64 (*.f64 (/.f64 m (sqrt.f64 v)) (/.f64 (-.f64 1 m) (sqrt.f64 v))) 1) m)
0.3b
(/.f64 m (sqrt.f64 v))
0.3b
(/.f64 (-.f64 1 m) (sqrt.f64 v))
0.4b
(*.f64 (/.f64 m (sqrt.f64 v)) (/.f64 (-.f64 1 m) (sqrt.f64 v)))

rewrite60.0ms (1.9%)

Algorithm
rewrite-expression-head
Rules
145×add-sqr-sqrt_binary64
120×times-frac_binary64
113×*-un-lft-identity_binary64
74×add-cube-cbrt_binary64
66×sqrt-prod_binary64
Counts
4 → 221
Calls

4 calls:

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

series136.0ms (4.3%)

Counts
4 → 64
Calls

4 calls:

40.0ms
(*.f64 (-.f64 (*.f64 (/.f64 m (sqrt.f64 v)) (/.f64 (-.f64 1 m) (sqrt.f64 v))) 1) m)
35.0ms
(/.f64 m (sqrt.f64 v))
31.0ms
(*.f64 (/.f64 m (sqrt.f64 v)) (/.f64 (-.f64 1 m) (sqrt.f64 v)))
29.0ms
(/.f64 (-.f64 1 m) (sqrt.f64 v))

simplify175.0ms (5.5%)

Algorithm
egg-herbie
Rules
481×associate-/l/_binary64
442×distribute-rgt-in_binary64
429×distribute-lft-in_binary64
194×fma-def_binary64
178×associate-*l*_binary64
Counts
285 → 493
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
02405114
15984634
219764496
347844496
449844496

prune214.0ms (6.8%)

Pruning

7 alts after pruning (4 fresh and 3 done)

PrunedKeptTotal
New4930493
Fresh044
Picked011
Done022
Total4937500
Error
0b
Counts
500 → 7
Alt Table
StatusErrorProgram
0.5b
(*.f64 (*.f64 (-.f64 (/.f64 (*.f64 m (-.f64 1 m)) v) 1) (sqrt.f64 m)) (sqrt.f64 m))
32.1b
(/.f64 (*.f64 (-.f64 m (pow.f64 m 2)) m) v)
0.3b
(*.f64 (-.f64 (*.f64 (/.f64 m (sqrt.f64 v)) (/.f64 (-.f64 1 m) (sqrt.f64 v))) 1) m)
0.2b
(*.f64 m (fma.f64 m (/.f64 (-.f64 1 m) v) -1))
0.2b
(*.f64 (-.f64 (/.f64 (*.f64 m (-.f64 1 m)) v) 1) m)
6.8b
(-.f64 (/.f64 (pow.f64 m 2) v) (+.f64 (/.f64 (pow.f64 m 3) v) m))
42.5b
(cbrt.f64 (pow.f64 (*.f64 m (fma.f64 (/.f64 m v) (-.f64 1 m) -1)) 3))
Compiler

Compiled 6784 to 3294 computations (51.4% saved)

localize10.0ms (0.3%)

Local error

Found 4 expressions with local error:

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

rewrite26.0ms (0.8%)

Algorithm
rewrite-expression-head
Rules
15×add-sqr-sqrt_binary64
12×associate-*r*_binary64
10×*-un-lft-identity_binary64
add-cbrt-cube_binary64
add-exp-log_binary64
Counts
2 → 55
Calls

2 calls:

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

series60.0ms (1.9%)

Counts
2 → 32
Calls

2 calls:

31.0ms
(*.f64 (-.f64 (/.f64 (*.f64 m (-.f64 1 m)) v) 1) (sqrt.f64 m))
29.0ms
(*.f64 (*.f64 (-.f64 (/.f64 (*.f64 m (-.f64 1 m)) v) 1) (sqrt.f64 m)) (sqrt.f64 m))

simplify101.0ms (3.2%)

Algorithm
egg-herbie
Rules
626×fma-neg_binary64
546×associate-/l*_binary64
487×fma-def_binary64
357×times-frac_binary64
305×associate-/r/_binary64
Counts
87 → 168
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
01021884
12501638
27271451
319391448
447671448
552481448

prune136.0ms (4.3%)

Pruning

7 alts after pruning (3 fresh and 4 done)

PrunedKeptTotal
New3700370
Fresh033
Picked011
Done033
Total3707377
Error
0b
Counts
377 → 7
Alt Table
StatusErrorProgram
0.5b
(*.f64 (*.f64 (-.f64 (/.f64 (*.f64 m (-.f64 1 m)) v) 1) (sqrt.f64 m)) (sqrt.f64 m))
32.1b
(/.f64 (*.f64 (-.f64 m (pow.f64 m 2)) m) v)
0.3b
(*.f64 (-.f64 (*.f64 (/.f64 m (sqrt.f64 v)) (/.f64 (-.f64 1 m) (sqrt.f64 v))) 1) m)
0.2b
(*.f64 m (fma.f64 m (/.f64 (-.f64 1 m) v) -1))
0.2b
(*.f64 (-.f64 (/.f64 (*.f64 m (-.f64 1 m)) v) 1) m)
6.8b
(-.f64 (/.f64 (pow.f64 m 2) v) (+.f64 (/.f64 (pow.f64 m 3) v) m))
42.5b
(cbrt.f64 (pow.f64 (*.f64 m (fma.f64 (/.f64 m v) (-.f64 1 m) -1)) 3))
Compiler

Compiled 4873 to 2500 computations (48.7% saved)

regimes188.0ms (6%)

Accuracy

Total 0.2b remaining (84.9%)

Threshold costs 0.2b (84.9%)

Compiler

Compiled 3101 to 2076 computations (33.1% saved)

simplify3.0ms (0.1%)

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
0914
11414
21714
31914
42014
51914

end0.0ms (0%)

Compiler

Compiled 12 to 8 computations (33.3% saved)

sample893.0ms (28.3%)

Algorithm
intervals
Results
348.0ms8000×body128valid
180.0ms8044×pre128true
2.0ms44×body128invalid
Compiler

Compiled 137 to 93 computations (32.1% saved)

Profiling

Loading profile data...