Details

Time bar (total: 5.4s)

analyze143.0ms (2.6%)

Algorithm
search
Search
TrueOtherFalseIter
0%99.9%0.1%0
0%99.9%0.1%1
0%99.9%0.1%2
0%99.9%0.1%3
0%99.9%0.1%4
12.5%87.4%0.1%5
31.2%68.7%0.1%6
50%50%0.1%7
67.1%32.8%0.1%8
74.9%25%0.1%9
83.9%16%0.1%10
87.4%12.5%0.1%11
92%7.9%0.1%12
93.7%6.2%0.1%13
96%3.9%0.1%14
Compiler

Compiled 14 to 10 computations (28.6% saved)

sample1.2s (21.6%)

Results
831.0ms8254×body128valid
8.0msbody2048valid
0.0msbody1024valid
Compiler

Compiled 41 to 29 computations (29.3% saved)

simplify222.0ms (4.1%)

Algorithm
egg-herbie
Rules
2174×fma-neg_binary64
1504×div-sub_binary64
895×associate-/l/_binary64
827×fma-def_binary64
818×associate-/l*_binary64
Counts
1 → 2
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
01016
11816
22814
34114
45714
59114
613414
719314
835614
952114
1082514
11147514
12200214
13187714
14193114
15196114
16196714
17196714
18259014
19236614
20236614
21325414
22405214
23402414
24450414
25447014
26470614
27491314

prune3.0ms (0.1%)

Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New112
Fresh101
Picked000
Done000
Total213
Error
0.0b
Counts
3 → 1
Alt Table
StatusErrorProgram
0.0b
(-.f64 x (/.f64 y (fma.f64 x (/.f64 y 2) 1)))
Compiler

Compiled 47 to 31 computations (34% saved)

localize6.0ms (0.1%)

Local error

Found 2 expressions with local error:

NewErrorProgram
0.0b
(-.f64 x (/.f64 y (fma.f64 x (/.f64 y 2) 1)))
8.3b
(/.f64 y (fma.f64 x (/.f64 y 2) 1))

series21.0ms (0.4%)

Counts
2 → 48
Calls

2 calls:

11.0ms
(-.f64 x (/.f64 y (fma.f64 x (/.f64 y 2) 1)))
10.0ms
(/.f64 y (fma.f64 x (/.f64 y 2) 1))

rewrite18.0ms (0.3%)

Algorithm
rewrite-expression-head
Rules
57×add-sqr-sqrt_binary64
54×*-un-lft-identity_binary64
52×add-cube-cbrt_binary64
46×times-frac_binary64
39×prod-diff_binary64
Counts
2 → 100
Calls

2 calls:

6.0ms
(-.f64 x (/.f64 y (fma.f64 x (/.f64 y 2) 1)))
2.0ms
(/.f64 y (fma.f64 x (/.f64 y 2) 1))

simplify159.0ms (2.9%)

Algorithm
egg-herbie
Rules
666×fma-def_binary64
422×fma-neg_binary64
414×associate-/l*_binary64
273×cancel-sign-sub-inv_binary64
190×times-frac_binary64
Counts
148 → 149
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
02434990
16373475
216832934
346332926
449942926
549942926
647952926

prune126.0ms (2.3%)

Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New1463149
Fresh000
Picked011
Done000
Total1464150
Error
0b
Counts
150 → 4
Alt Table
StatusErrorProgram
14.5b
(-.f64 x (/.f64 (/.f64 y (sqrt.f64 (fma.f64 x (/.f64 y 2) 1))) (sqrt.f64 (fma.f64 x (/.f64 y 2) 1))))
7.9b
(-.f64 x (expm1.f64 (log1p.f64 (/.f64 y (fma.f64 x (/.f64 y 2) 1)))))
21.3b
(-.f64 x (/.f64 2 x))
0.0b
(-.f64 x (/.f64 y (fma.f64 x (/.f64 y 2) 1)))
Compiler

Compiled 4901 to 3111 computations (36.5% saved)

localize9.0ms (0.2%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.0b
(-.f64 x (expm1.f64 (log1p.f64 (/.f64 y (fma.f64 x (/.f64 y 2) 1)))))
0.0b
(log1p.f64 (/.f64 y (fma.f64 x (/.f64 y 2) 1)))
0.4b
(expm1.f64 (log1p.f64 (/.f64 y (fma.f64 x (/.f64 y 2) 1))))
8.3b
(/.f64 y (fma.f64 x (/.f64 y 2) 1))

series50.0ms (0.9%)

Counts
3 → 72
Calls

3 calls:

29.0ms
(log1p.f64 (/.f64 y (fma.f64 x (/.f64 y 2) 1)))
10.0ms
(-.f64 x (expm1.f64 (log1p.f64 (/.f64 y (fma.f64 x (/.f64 y 2) 1)))))
10.0ms
(expm1.f64 (log1p.f64 (/.f64 y (fma.f64 x (/.f64 y 2) 1))))

rewrite9.0ms (0.2%)

Algorithm
rewrite-expression-head
Rules
13×*-un-lft-identity_binary64
13×add-sqr-sqrt_binary64
11×add-cube-cbrt_binary64
prod-diff_binary64
add-log-exp_binary64
Counts
3 → 53
Calls

3 calls:

6.0ms
(-.f64 x (expm1.f64 (log1p.f64 (/.f64 y (fma.f64 x (/.f64 y 2) 1)))))
0.0ms
(log1p.f64 (/.f64 y (fma.f64 x (/.f64 y 2) 1)))
0.0ms
(expm1.f64 (log1p.f64 (/.f64 y (fma.f64 x (/.f64 y 2) 1))))

simplify82.0ms (1.5%)

Algorithm
egg-herbie
Rules
708×times-frac_binary64
246×sub-neg_binary64
245×fma-neg_binary64
232×unswap-sqr_binary64
229×fma-def_binary64
Counts
125 → 136
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
02683629
17573311
228253191
349733191

prune155.0ms (2.9%)

Pruning

4 alts after pruning (2 fresh and 2 done)

PrunedKeptTotal
New1820182
Fresh022
Picked011
Done011
Total1824186
Error
0b
Counts
186 → 4
Alt Table
StatusErrorProgram
14.5b
(-.f64 x (/.f64 (/.f64 y (sqrt.f64 (fma.f64 x (/.f64 y 2) 1))) (sqrt.f64 (fma.f64 x (/.f64 y 2) 1))))
7.9b
(-.f64 x (expm1.f64 (log1p.f64 (/.f64 y (fma.f64 x (/.f64 y 2) 1)))))
21.3b
(-.f64 x (/.f64 2 x))
0.0b
(-.f64 x (/.f64 y (fma.f64 x (/.f64 y 2) 1)))
Compiler

Compiled 4972 to 3468 computations (30.2% saved)

localize9.0ms (0.2%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.0b
(-.f64 x (/.f64 (/.f64 y (sqrt.f64 (fma.f64 x (/.f64 y 2) 1))) (sqrt.f64 (fma.f64 x (/.f64 y 2) 1))))
0.1b
(/.f64 y (sqrt.f64 (fma.f64 x (/.f64 y 2) 1)))
0.1b
(/.f64 (/.f64 y (sqrt.f64 (fma.f64 x (/.f64 y 2) 1))) (sqrt.f64 (fma.f64 x (/.f64 y 2) 1)))
3.6b
(sqrt.f64 (fma.f64 x (/.f64 y 2) 1))

series92.0ms (1.7%)

Counts
4 → 64
Calls

4 calls:

45.0ms
(/.f64 y (sqrt.f64 (fma.f64 x (/.f64 y 2) 1)))
24.0ms
(sqrt.f64 (fma.f64 x (/.f64 y 2) 1))
10.0ms
(-.f64 x (/.f64 (/.f64 y (sqrt.f64 (fma.f64 x (/.f64 y 2) 1))) (sqrt.f64 (fma.f64 x (/.f64 y 2) 1))))
10.0ms
(/.f64 (/.f64 y (sqrt.f64 (fma.f64 x (/.f64 y 2) 1))) (sqrt.f64 (fma.f64 x (/.f64 y 2) 1)))

rewrite255.0ms (4.7%)

Algorithm
rewrite-expression-head
Rules
1246×times-frac_binary64
811×add-sqr-sqrt_binary64
788×*-un-lft-identity_binary64
786×add-cube-cbrt_binary64
632×sqrt-prod_binary64
Counts
4 → 801
Calls

4 calls:

40.0ms
(-.f64 x (/.f64 (/.f64 y (sqrt.f64 (fma.f64 x (/.f64 y 2) 1))) (sqrt.f64 (fma.f64 x (/.f64 y 2) 1))))
7.0ms
(/.f64 (/.f64 y (sqrt.f64 (fma.f64 x (/.f64 y 2) 1))) (sqrt.f64 (fma.f64 x (/.f64 y 2) 1)))
3.0ms
(/.f64 y (sqrt.f64 (fma.f64 x (/.f64 y 2) 1)))
1.0ms
(sqrt.f64 (fma.f64 x (/.f64 y 2) 1))

simplify1.2s (22.1%)

Algorithm
egg-herbie
Rules
575×fma-def_binary64
351×distribute-neg-frac_binary64
328×associate-/l*_binary64
265×associate-/l/_binary64
253×fma-udef_binary64
Counts
865 → 836
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
088587844
1254156677
2474556677
3508456677

prune1.4s (26.2%)

Pruning

4 alts after pruning (1 fresh and 3 done)

PrunedKeptTotal
New8590859
Fresh011
Picked011
Done022
Total8594863
Error
0b
Counts
863 → 4
Alt Table
StatusErrorProgram
14.5b
(-.f64 x (/.f64 (/.f64 y (sqrt.f64 (fma.f64 x (/.f64 y 2) 1))) (sqrt.f64 (fma.f64 x (/.f64 y 2) 1))))
7.9b
(-.f64 x (expm1.f64 (log1p.f64 (/.f64 y (fma.f64 x (/.f64 y 2) 1)))))
21.3b
(-.f64 x (/.f64 2 x))
0.0b
(-.f64 x (/.f64 y (fma.f64 x (/.f64 y 2) 1)))
Compiler

Compiled 61290 to 43342 computations (29.3% saved)

localize3.0ms (0%)

Local error

Found 1 expressions with local error:

NewErrorProgram
0.0b
(-.f64 x (/.f64 2 x))

series2.0ms (0%)

Counts
1 → 12
Calls

1 calls:

2.0ms
(-.f64 x (/.f64 2 x))

rewrite12.0ms (0.2%)

Algorithm
rewrite-expression-head
Rules
48×add-sqr-sqrt_binary64
45×*-un-lft-identity_binary64
43×add-cube-cbrt_binary64
39×prod-diff_binary64
37×times-frac_binary64
Counts
1 → 71
Calls

1 calls:

6.0ms
(-.f64 x (/.f64 2 x))

simplify96.0ms (1.8%)

Algorithm
egg-herbie
Rules
365×associate-*l/_binary64
360×fma-neg_binary64
342×exp-prod_binary64
332×associate-*r/_binary64
332×fma-def_binary64
Counts
83 → 89
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
01701025
1409890
2989651
33477651
44031651
54942651
64527651

prune57.0ms (1%)

Pruning

4 alts after pruning (0 fresh and 4 done)

PrunedKeptTotal
New89089
Fresh000
Picked011
Done033
Total89493
Error
0b
Counts
93 → 4
Alt Table
StatusErrorProgram
14.5b
(-.f64 x (/.f64 (/.f64 y (sqrt.f64 (fma.f64 x (/.f64 y 2) 1))) (sqrt.f64 (fma.f64 x (/.f64 y 2) 1))))
7.9b
(-.f64 x (expm1.f64 (log1p.f64 (/.f64 y (fma.f64 x (/.f64 y 2) 1)))))
21.3b
(-.f64 x (/.f64 2 x))
0.0b
(-.f64 x (/.f64 y (fma.f64 x (/.f64 y 2) 1)))
Compiler

Compiled 2184 to 1432 computations (34.4% saved)

regimes50.0ms (0.9%)

Accuracy

Total 0.0b remaining (81.2%)

Threshold costs 0.0b (81.2%)

Counts
16 → 1
Compiler

Compiled 518 to 380 computations (26.6% saved)

simplify3.0ms (0%)

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
01016
11616
22216
32616
42916
53016
62916

end60.0ms (1.1%)

Compiler

Compiled 80 to 56 computations (30% saved)

Profiling

Loading profile data...