Details

Time bar (total: 5.2s)

analyze62.0ms (1.2%)

Algorithm
search
Search
TrueOtherFalseIter
0%99.9%0.1%0
0%99.9%0.1%1
0%99.9%0.1%2
25%74.9%0.1%3
25%74.9%0.1%4
56.2%43.7%0.1%5
65.6%34.3%0.1%6
79.6%20.3%0.1%7
83.5%16.4%0.1%8
90.1%9.8%0.1%9
91.9%8%0.1%10
95.1%4.8%0.1%11
96%4%0.1%12
97.5%2.4%0.1%13
97.9%2%0.1%14
Compiler

Compiled 12 to 8 computations (33.3% saved)

sample1.2s (22.6%)

Results
871.0ms8254×body128valid
0.0msbody1024valid
0.0msbody512valid
Compiler

Compiled 35 to 23 computations (34.3% saved)

simplify265.0ms (5.1%)

Algorithm
egg-herbie
Rules
1222×fma-neg_binary64
983×fma-def_binary64
688×div-sub_binary64
423×sub-neg_binary64
412×distribute-rgt-in_binary64
Counts
1 → 1
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0813
11813
23513
37413
415113
524513
664113
7112513
8215813
9272913
10303713
11299513
12304913
13306313
14356913
15355913
16355913
17355913
18355913
19355913
20365513
21370313
22378513
23359313

prune2.0ms (0%)

Pruning

2 alts after pruning (2 fresh and 0 done)

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

Compiled 33 to 21 computations (36.4% saved)

localize6.0ms (0.1%)

Local error

Found 2 expressions with local error:

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

series22.0ms (0.4%)

Counts
2 → 48
Calls

2 calls:

19.0ms
(/.f64 (-.f64 x y) (-.f64 2 (+.f64 x y)))
3.0ms
(-.f64 2 (+.f64 x y))

rewrite187.0ms (3.6%)

Algorithm
batch-egg-rewrite
Rules
843×prod-diff_binary64
283×egg-rr
189×log1p-udef_binary64
103×add-sqr-sqrt_binary64
100×log1p-expm1-u_binary64
Counts
2 → 283
Calls

2 calls:

173.0ms
(-.f64 2 (+.f64 x y))
173.0ms
(/.f64 (-.f64 x y) (-.f64 2 (+.f64 x y)))
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0820
119720
2293820
3497920
000
100

simplify70.0ms (1.4%)

Algorithm
egg-herbie
Rules
600×fma-def_binary64
491×times-frac_binary64
379×associate-/l*_binary64
373×fma-neg_binary64
349×associate-/r*_binary64
Counts
331 → 319
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
01361184
14211176
215801064
349941064
452371064

prune388.0ms (7.5%)

Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New3163319
Fresh000
Picked011
Done000
Total3164320
Error
0b
Counts
320 → 4
Alt Table
StatusErrorProgram
30.8b
(pow.f64 (sqrt.f64 (/.f64 (-.f64 x y) (-.f64 2 (+.f64 x y)))) 2)
0.0b
(/.f64 (-.f64 x y) (-.f64 2 (+.f64 x y)))
39.2b
(+.f64 (fma.f64 2 (/.f64 y x) -1) (/.f64 -2 x))
13.8b
(log.f64 (exp.f64 (/.f64 (-.f64 x y) (-.f64 2 (+.f64 x y)))))
Compiler

Compiled 16260 to 9105 computations (44% saved)

localize11.0ms (0.2%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.0b
(-.f64 2 (+.f64 x y))
0.0b
(/.f64 (-.f64 x y) (-.f64 2 (+.f64 x y)))
0.0b
(exp.f64 (/.f64 (-.f64 x y) (-.f64 2 (+.f64 x y))))
2.8b
(log.f64 (exp.f64 (/.f64 (-.f64 x y) (-.f64 2 (+.f64 x y)))))

series39.0ms (0.8%)

Counts
2 → 48
Calls

2 calls:

26.0ms
(exp.f64 (/.f64 (-.f64 x y) (-.f64 2 (+.f64 x y))))
13.0ms
(log.f64 (exp.f64 (/.f64 (-.f64 x y) (-.f64 2 (+.f64 x y)))))

rewrite141.0ms (2.7%)

Algorithm
batch-egg-rewrite
Rules
843×prod-diff_binary64
276×egg-rr
203×log1p-udef_binary64
111×add-sqr-sqrt_binary64
108×log1p-expm1-u_binary64
Counts
2 → 276
Calls

2 calls:

129.0ms
(exp.f64 (/.f64 (-.f64 x y) (-.f64 2 (+.f64 x y))))
129.0ms
(log.f64 (exp.f64 (/.f64 (-.f64 x y) (-.f64 2 (+.f64 x y)))))
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01028
121328
2310928
3517328
000
100

simplify104.0ms (2%)

Algorithm
egg-herbie
Rules
466×cancel-sign-sub-inv_binary64
353×sub-neg_binary64
272×times-frac_binary64
223×fma-def_binary64
206×+-commutative_binary64
Counts
324 → 334
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
03022786
19552762
239922726
352952726

prune834.0ms (16.1%)

Pruning

4 alts after pruning (2 fresh and 2 done)

PrunedKeptTotal
New6530653
Fresh022
Picked011
Done011
Total6534657
Error
0b
Counts
657 → 4
Alt Table
StatusErrorProgram
30.8b
(pow.f64 (sqrt.f64 (/.f64 (-.f64 x y) (-.f64 2 (+.f64 x y)))) 2)
0.0b
(/.f64 (-.f64 x y) (-.f64 2 (+.f64 x y)))
39.2b
(+.f64 (fma.f64 2 (/.f64 y x) -1) (/.f64 -2 x))
13.8b
(log.f64 (exp.f64 (/.f64 (-.f64 x y) (-.f64 2 (+.f64 x y)))))
Compiler

Compiled 34765 to 20035 computations (42.4% saved)

localize7.0ms (0.1%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.0b
(-.f64 2 (+.f64 x y))
0.0b
(sqrt.f64 (/.f64 (-.f64 x y) (-.f64 2 (+.f64 x y))))
0.0b
(/.f64 (-.f64 x y) (-.f64 2 (+.f64 x y)))
0.1b
(pow.f64 (sqrt.f64 (/.f64 (-.f64 x y) (-.f64 2 (+.f64 x y)))) 2)

series101.0ms (2%)

Counts
2 → 48
Calls

2 calls:

51.0ms
(sqrt.f64 (/.f64 (-.f64 x y) (-.f64 2 (+.f64 x y))))
50.0ms
(pow.f64 (sqrt.f64 (/.f64 (-.f64 x y) (-.f64 2 (+.f64 x y)))) 2)

rewrite148.0ms (2.8%)

Algorithm
batch-egg-rewrite
Rules
843×prod-diff_binary64
286×egg-rr
202×log1p-udef_binary64
111×add-sqr-sqrt_binary64
110×log1p-expm1-u_binary64
Counts
2 → 286
Calls

2 calls:

135.0ms
(sqrt.f64 (/.f64 (-.f64 x y) (-.f64 2 (+.f64 x y))))
135.0ms
(pow.f64 (sqrt.f64 (/.f64 (-.f64 x y) (-.f64 2 (+.f64 x y)))) 2)
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01028
122328
2316328
3520228
000
100

simplify124.0ms (2.4%)

Algorithm
egg-herbie
Rules
430×associate-/r*_binary64
425×fma-def_binary64
393×times-frac_binary64
248×associate-*r*_binary64
237×associate-/l*_binary64
Counts
334 → 345
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
04383931
114693819
249913819
351083819

prune844.0ms (16.2%)

Pruning

4 alts after pruning (1 fresh and 3 done)

PrunedKeptTotal
New6640664
Fresh011
Picked011
Done022
Total6644668
Error
0b
Counts
668 → 4
Alt Table
StatusErrorProgram
30.8b
(pow.f64 (sqrt.f64 (/.f64 (-.f64 x y) (-.f64 2 (+.f64 x y)))) 2)
0.0b
(/.f64 (-.f64 x y) (-.f64 2 (+.f64 x y)))
39.2b
(+.f64 (fma.f64 2 (/.f64 y x) -1) (/.f64 -2 x))
13.8b
(log.f64 (exp.f64 (/.f64 (-.f64 x y) (-.f64 2 (+.f64 x y)))))
Compiler

Compiled 37008 to 21848 computations (41% saved)

localize6.0ms (0.1%)

Local error

Found 1 expressions with local error:

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

series15.0ms (0.3%)

Counts
1 → 24
Calls

1 calls:

15.0ms
(+.f64 (fma.f64 2 (/.f64 y x) -1) (/.f64 -2 x))

rewrite108.0ms (2.1%)

Algorithm
batch-egg-rewrite
Rules
694×prod-diff_binary64
561×fma-udef_binary64
321×fma-def_binary64
186×expm1-udef_binary64
186×log1p-udef_binary64
Counts
1 → 57
Calls

1 calls:

106.0ms
(+.f64 (fma.f64 2 (/.f64 y x) -1) (/.f64 -2 x))
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01014
121614
2262814
3482614
4488114
5489114
000
100

simplify49.0ms (0.9%)

Algorithm
egg-herbie
Rules
674×fma-neg_binary64
639×fma-def_binary64
281×cancel-sign-sub-inv_binary64
106×distribute-rgt-in_binary64
84×distribute-lft-in_binary64
Counts
81 → 65
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
016321
142229
279229
3108229
4184229
5306229
6582229
7876229
8984229
91072229
101065229
11992229

prune49.0ms (0.9%)

Pruning

4 alts after pruning (0 fresh and 4 done)

PrunedKeptTotal
New65065
Fresh000
Picked011
Done033
Total65469
Error
0b
Counts
69 → 4
Alt Table
StatusErrorProgram
30.8b
(pow.f64 (sqrt.f64 (/.f64 (-.f64 x y) (-.f64 2 (+.f64 x y)))) 2)
0.0b
(/.f64 (-.f64 x y) (-.f64 2 (+.f64 x y)))
39.2b
(+.f64 (fma.f64 2 (/.f64 y x) -1) (/.f64 -2 x))
13.8b
(log.f64 (exp.f64 (/.f64 (-.f64 x y) (-.f64 2 (+.f64 x y)))))
Compiler

Compiled 1142 to 764 computations (33.1% saved)

regimes329.0ms (6.3%)

Accuracy

Total 0.0b remaining (30.2%)

Threshold costs 0.0b (30.2%)

Counts
40 → 1
Compiler

Compiled 1756 to 1207 computations (31.3% saved)

simplify5.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
0813
11313
22413
33213
43613
53713
63713

end103.0ms (2%)

Compiler

Compiled 72 to 49 computations (31.9% saved)

Profiling

Loading profile data...