Details

Time bar (total: 4.8s)

analyze36.0ms (0.8%)

Algorithm
search
Search
TrueOtherFalseIter
0%37.5%62.5%0
0%37.5%62.5%1
0%18.7%81.3%2
0%9.4%90.6%3
0%9.4%90.6%4
0%7%93%5
1.2%4.7%94.1%6
1.2%3.5%95.3%7
1.8%2.6%95.6%8
2%1.9%96%9
2.4%1.3%96.3%10
2.6%1%96.5%11
2.7%0.7%96.6%12
2.8%0.5%96.7%13
2.9%0.3%96.7%14
Compiler

Compiled 26 to 15 computations (42.3% saved)

sample1.1s (22.8%)

Results
966.0ms8256×body128valid
51.0ms421×body128invalid
Compiler

Compiled 67 to 38 computations (43.3% saved)

simplify54.0ms (1.1%)

Algorithm
egg-herbie
Rules
704×fma-def_binary64
643×fma-neg_binary64
603×associate-/r*_binary64
566×associate-*l*_binary64
362×distribute-rgt-in_binary64
Counts
1 → 2
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
0920
12617
26915
319415
446415
5152115
6478115
7516015

prune3.0ms (0.1%)

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New112
Fresh011
Picked000
Done000
Total123
Error
13.8b
Counts
3 → 1
Alt Table
StatusErrorProgram
13.8b
(sqrt.f64 (fabs.f64 (/.f64 (-.f64 (*.f64 a a) (*.f64 b b)) (*.f64 a a))))
Compiler

Compiled 55 to 29 computations (47.3% saved)

localize7.0ms (0.1%)

Local error

Found 3 expressions with local error:

NewErrorProgram
0.0b
(-.f64 (*.f64 a a) (*.f64 b b))
0.0b
(sqrt.f64 (fabs.f64 (/.f64 (-.f64 (*.f64 a a) (*.f64 b b)) (*.f64 a a))))
13.3b
(/.f64 (-.f64 (*.f64 a a) (*.f64 b b)) (*.f64 a a))

series54.0ms (1.1%)

Counts
3 → 72
Calls

3 calls:

24.0ms
(/.f64 (-.f64 (*.f64 a a) (*.f64 b b)) (*.f64 a a))
24.0ms
(sqrt.f64 (fabs.f64 (/.f64 (-.f64 (*.f64 a a) (*.f64 b b)) (*.f64 a a))))
7.0ms
(-.f64 (*.f64 a a) (*.f64 b b))

rewrite280.0ms (5.9%)

Algorithm
egg-rewrite
Rules
120×egg
65×egg
30×egg
Counts
3 → 215
Calls

3 calls:

122.0ms
(sqrt.f64 (fabs.f64 (/.f64 (-.f64 (*.f64 a a) (*.f64 b b)) (*.f64 a a))))
93.0ms
(/.f64 (-.f64 (*.f64 a a) (*.f64 b b)) (*.f64 a a))
60.0ms
(-.f64 (*.f64 a a) (*.f64 b b))
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0716
116913
2241913
3477813
4497013
0920
121215
2270315
3470715
4464114
5515214
0610
113810
2171010
3534610

simplify71.0ms (1.5%)

Algorithm
egg-herbie
Rules
735×associate-/r*_binary64
707×associate-/l/_binary64
519×associate-/r/_binary64
498×fma-def_binary64
444×fma-neg_binary64
Counts
287 → 225
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
016963
137891
284843
3258843
41055843
54523843
65163843

prune142.0ms (3%)

Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New2223225
Fresh000
Picked101
Done000
Total2233226
Error
0.0b
Counts
226 → 3
Alt Table
StatusErrorProgram
0.0b
(sqrt.f64 (fabs.f64 (*.f64 (/.f64 (+.f64 a b) a) (/.f64 (-.f64 a b) a))))
0.8b
(sqrt.f64 (fabs.f64 1))
13.8b
(exp.f64 (*.f64 (log1p.f64 (neg.f64 (/.f64 (*.f64 b b) (*.f64 a a)))) 1/2))
Compiler

Compiled 5264 to 1883 computations (64.2% saved)

localize8.0ms (0.2%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.0b
(sqrt.f64 (fabs.f64 (*.f64 (/.f64 (+.f64 a b) a) (/.f64 (-.f64 a b) a))))
0.0b
(/.f64 (+.f64 a b) a)
0.0b
(/.f64 (-.f64 a b) a)
0.0b
(*.f64 (/.f64 (+.f64 a b) a) (/.f64 (-.f64 a b) a))

series51.0ms (1.1%)

Counts
4 → 96
Calls

4 calls:

25.0ms
(*.f64 (/.f64 (+.f64 a b) a) (/.f64 (-.f64 a b) a))
16.0ms
(sqrt.f64 (fabs.f64 (*.f64 (/.f64 (+.f64 a b) a) (/.f64 (-.f64 a b) a))))
5.0ms
(/.f64 (-.f64 a b) a)
5.0ms
(/.f64 (+.f64 a b) a)

rewrite300.0ms (6.3%)

Algorithm
egg-rewrite
Rules
72×egg
54×egg
49×egg
29×egg
Counts
4 → 204
Calls

4 calls:

130.0ms
(*.f64 (/.f64 (+.f64 a b) a) (/.f64 (-.f64 a b) a))
69.0ms
(sqrt.f64 (fabs.f64 (*.f64 (/.f64 (+.f64 a b) a) (/.f64 (-.f64 a b) a))))
50.0ms
(/.f64 (-.f64 a b) a)
48.0ms
(/.f64 (+.f64 a b) a)
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0816
119316
2301616
3492216
4487616
5497116
057
11197
217837
353697
057
11157
216627
350327
01020
123615
2331115
3505615

simplify69.0ms (1.5%)

Algorithm
egg-herbie
Rules
468×cancel-sign-sub-inv_binary64
378×div-sub_binary64
321×fma-neg_binary64
291×fma-def_binary64
261×fabs-div_binary64
Counts
300 → 215
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0271041
1741041
21991041
36391041
427811041
551831041

prune122.0ms (2.6%)

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New2132215
Fresh202
Picked101
Done000
Total2162218
Error
0b
Counts
218 → 2
Alt Table
StatusErrorProgram
0.0b
(sqrt.f64 (fabs.f64 (/.f64 (*.f64 (+.f64 a b) (/.f64 (-.f64 a b) a)) a)))
0.0b
(sqrt.f64 (fabs.f64 (/.f64 (-.f64 a b) (*.f64 (/.f64 a (+.f64 a b)) a))))
Compiler

Compiled 3758 to 1187 computations (68.4% saved)

localize8.0ms (0.2%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.0b
(*.f64 (/.f64 a (+.f64 a b)) a)
0.0b
(sqrt.f64 (fabs.f64 (/.f64 (-.f64 a b) (*.f64 (/.f64 a (+.f64 a b)) a))))
0.0b
(/.f64 (-.f64 a b) (*.f64 (/.f64 a (+.f64 a b)) a))
0.0b
(/.f64 a (+.f64 a b))

series60.0ms (1.3%)

Counts
4 → 96
Calls

4 calls:

25.0ms
(/.f64 (-.f64 a b) (*.f64 (/.f64 a (+.f64 a b)) a))
15.0ms
(sqrt.f64 (fabs.f64 (/.f64 (-.f64 a b) (*.f64 (/.f64 a (+.f64 a b)) a))))
11.0ms
(*.f64 (/.f64 a (+.f64 a b)) a)
9.0ms
(/.f64 a (+.f64 a b))

rewrite468.0ms (9.8%)

Algorithm
egg-rewrite
Rules
431×egg
45×egg
44×egg
30×egg
Counts
4 → 550
Calls

4 calls:

280.0ms
(/.f64 (-.f64 a b) (*.f64 (/.f64 a (+.f64 a b)) a))
64.0ms
(sqrt.f64 (fabs.f64 (/.f64 (-.f64 a b) (*.f64 (/.f64 a (+.f64 a b)) a))))
52.0ms
(*.f64 (/.f64 a (+.f64 a b)) a)
46.0ms
(/.f64 a (+.f64 a b))
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
057
11157
216567
350107
0816
119216
2308716
3505416
01020
123517
2337617
3533917
0610
113610
2193410
3565410

simplify121.0ms (2.5%)

Algorithm
egg-herbie
Rules
981×fma-neg_binary64
498×cancel-sign-sub-inv_binary64
319×associate-/l/_binary64
180×sub-neg_binary64
177×distribute-neg-frac_binary64
Counts
646 → 581
Iterations

Useful iterations: 4 (0.0ms)

IterNodesCost
0621620
11661620
25061569
318811512
443721506
549931506
649511506

prune335.0ms (7%)

Pruning

2 alts after pruning (1 fresh and 1 done)

PrunedKeptTotal
New5810581
Fresh011
Picked011
Done000
Total5812583
Error
0b
Counts
583 → 2
Alt Table
StatusErrorProgram
0.0b
(sqrt.f64 (fabs.f64 (/.f64 (*.f64 (+.f64 a b) (/.f64 (-.f64 a b) a)) a)))
0.0b
(sqrt.f64 (fabs.f64 (/.f64 (-.f64 a b) (*.f64 (/.f64 a (+.f64 a b)) a))))
Compiler

Compiled 29263 to 4923 computations (83.2% saved)

localize10.0ms (0.2%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.0b
(sqrt.f64 (fabs.f64 (/.f64 (*.f64 (+.f64 a b) (/.f64 (-.f64 a b) a)) a)))
0.0b
(/.f64 (*.f64 (+.f64 a b) (/.f64 (-.f64 a b) a)) a)
0.0b
(*.f64 (+.f64 a b) (/.f64 (-.f64 a b) a))
0.0b
(/.f64 (-.f64 a b) a)

series51.0ms (1.1%)

Counts
3 → 72
Calls

3 calls:

25.0ms
(/.f64 (*.f64 (+.f64 a b) (/.f64 (-.f64 a b) a)) a)
16.0ms
(sqrt.f64 (fabs.f64 (/.f64 (*.f64 (+.f64 a b) (/.f64 (-.f64 a b) a)) a)))
10.0ms
(*.f64 (+.f64 a b) (/.f64 (-.f64 a b) a))

rewrite292.0ms (6.1%)

Algorithm
egg-rewrite
Rules
67×egg
62×egg
30×egg
Counts
3 → 159
Calls

3 calls:

128.0ms
(/.f64 (*.f64 (+.f64 a b) (/.f64 (-.f64 a b) a)) a)
95.0ms
(*.f64 (+.f64 a b) (/.f64 (-.f64 a b) a))
67.0ms
(sqrt.f64 (fabs.f64 (/.f64 (*.f64 (+.f64 a b) (/.f64 (-.f64 a b) a)) a)))
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0713
116513
2249913
3490613
4526413
0816
119116
2302616
3494416
4490416
5495316
01020
123418
2330718
3511818

simplify82.0ms (1.7%)

Algorithm
egg-herbie
Rules
405×fabs-mul_binary64
384×div-sub_binary64
362×fabs-div_binary64
349×fma-neg_binary64
273×fma-def_binary64
Counts
231 → 171
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
026963
171963
2197963
3644963
42840963
54634963
65114963

prune119.0ms (2.5%)

Pruning

2 alts after pruning (0 fresh and 2 done)

PrunedKeptTotal
New2270227
Fresh000
Picked011
Done011
Total2272229
Error
0b
Counts
229 → 2
Alt Table
StatusErrorProgram
0.0b
(sqrt.f64 (fabs.f64 (/.f64 (*.f64 (+.f64 a b) (/.f64 (-.f64 a b) a)) a)))
0.0b
(sqrt.f64 (fabs.f64 (/.f64 (-.f64 a b) (*.f64 (/.f64 a (+.f64 a b)) a))))
Compiler

Compiled 4145 to 1330 computations (67.9% saved)

regimes781.0ms (16.4%)

Accuracy

Total 0.0b remaining (49.2%)

Threshold costs 0.0b (49.2%)

Counts
44 → 1
Compiler

Compiled 4860 to 3171 computations (34.8% 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
01020
11720
22820
33420
43820
54020
64120
74120

end151.0ms (3.2%)

Compiler

Compiled 60 to 36 computations (40% saved)

Profiling

Loading profile data...