Details

Time bar (total: 2.6s)

analyze34.0ms (1.3%)

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

Results
945.0ms8256×body128valid
43.0ms360×body128invalid
Compiler

Compiled 67 to 38 computations (43.3% saved)

simplify46.0ms (1.8%)

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

prune5.0ms (0.2%)

Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New022
Fresh011
Picked000
Done000
Total033
Error
14.5b
Counts
3 → 2
Alt Table
StatusErrorProgram
14.5b
(sqrt.f64 (fabs.f64 (/.f64 (-.f64 (*.f64 a a) (*.f64 b b)) (*.f64 a a))))
14.5b
(sqrt.f64 (fabs.f64 (fma.f64 b (/.f64 b (*.f64 a a)) -1)))
Compiler

Compiled 79 to 45 computations (43% saved)

localize6.0ms (0.2%)

Local error

Found 2 expressions with local error:

NewErrorProgram
0.0b
(sqrt.f64 (fabs.f64 (fma.f64 b (/.f64 b (*.f64 a a)) -1)))
14.5b
(/.f64 b (*.f64 a a))

series34.0ms (1.3%)

Counts
2 → 48
Calls

2 calls:

21.0ms
(/.f64 b (*.f64 a a))
12.0ms
(sqrt.f64 (fabs.f64 (fma.f64 b (/.f64 b (*.f64 a a)) -1)))

rewrite48.0ms (1.8%)

Algorithm
batch-egg-rewrite
Rules
772×log1p-expm1-u_binary64
772×expm1-log1p-u_binary64
142×log1p-udef_binary64
90×add-sqr-sqrt_binary64
84×add-cbrt-cube_binary64
Counts
2 → 59
Calls

2 calls:

47.0ms
(sqrt.f64 (fabs.f64 (fma.f64 b (/.f64 b (*.f64 a a)) -1)))
47.0ms
(/.f64 b (*.f64 a a))
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0922
118220
2198920
3497520
000
100

simplify113.0ms (4.3%)

Algorithm
egg-herbie
Rules
1214×fma-def_binary64
706×associate-/r/_binary64
598×div-sub_binary64
525×fma-neg_binary64
434×unswap-sqr_binary64
Counts
107 → 62
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
010528
117528
229528
354528
4120528
5336528
61160528
71957528
82364528
92778528
103554528
114092528
124278528
134997528

prune32.0ms (1.2%)

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New61162
Fresh011
Picked101
Done000
Total62264
Error
0.0b
Counts
64 → 2
Alt Table
StatusErrorProgram
14.5b
(sqrt.f64 (fabs.f64 (/.f64 (-.f64 (*.f64 a a) (*.f64 b b)) (*.f64 a a))))
0.0b
(sqrt.f64 (fabs.f64 (fma.f64 b (pow.f64 (/.f64 (sqrt.f64 b) a) 2) -1)))
Compiler

Compiled 904 to 477 computations (47.2% saved)

localize9.0ms (0.3%)

Local error

Found 3 expressions with local error:

NewErrorProgram
0.0b
(sqrt.f64 (fabs.f64 (fma.f64 b (pow.f64 (/.f64 (sqrt.f64 b) a) 2) -1)))
0.3b
(/.f64 (sqrt.f64 b) a)
0.5b
(pow.f64 (/.f64 (sqrt.f64 b) a) 2)

series35.0ms (1.3%)

Counts
3 → 48
Calls

3 calls:

14.0ms
(pow.f64 (/.f64 (sqrt.f64 b) a) 2)
13.0ms
(sqrt.f64 (fabs.f64 (fma.f64 b (pow.f64 (/.f64 (sqrt.f64 b) a) 2) -1)))
8.0ms
(/.f64 (sqrt.f64 b) a)

rewrite67.0ms (2.6%)

Algorithm
batch-egg-rewrite
Rules
855×log1p-expm1-u_binary64
855×expm1-log1p-u_binary64
104×add-sqr-sqrt_binary64
98×add-cbrt-cube_binary64
98×add-log-exp_binary64
Counts
3 → 97
Calls

3 calls:

66.0ms
(sqrt.f64 (fabs.f64 (fma.f64 b (pow.f64 (/.f64 (sqrt.f64 b) a) 2) -1)))
66.0ms
(/.f64 (sqrt.f64 b) a)
66.0ms
(pow.f64 (/.f64 (sqrt.f64 b) a) 2)
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01132
122126
2221726
3518426
000
100

simplify92.0ms (3.5%)

Algorithm
egg-herbie
Rules
618×unswap-sqr_binary64
568×fma-def_binary64
412×associate-/l*_binary64
361×fma-neg_binary64
317×*-commutative_binary64
Counts
145 → 100
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
015672
129564
257516
3170516
4700516
51694516
62108516
72766516
83807516
94825516
104942516

prune52.0ms (2%)

Pruning

2 alts after pruning (1 fresh and 1 done)

PrunedKeptTotal
New1000100
Fresh011
Picked011
Done000
Total1002102
Error
0.0b
Counts
102 → 2
Alt Table
StatusErrorProgram
14.5b
(sqrt.f64 (fabs.f64 (/.f64 (-.f64 (*.f64 a a) (*.f64 b b)) (*.f64 a a))))
0.0b
(sqrt.f64 (fabs.f64 (fma.f64 b (pow.f64 (/.f64 (sqrt.f64 b) a) 2) -1)))
Compiler

Compiled 1522 to 789 computations (48.2% saved)

localize7.0ms (0.3%)

Local error

Found 2 expressions with local error:

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

series40.0ms (1.5%)

Counts
2 → 48
Calls

2 calls:

21.0ms
(/.f64 (-.f64 (*.f64 a a) (*.f64 b b)) (*.f64 a a))
20.0ms
(sqrt.f64 (fabs.f64 (/.f64 (-.f64 (*.f64 a a) (*.f64 b b)) (*.f64 a a))))

rewrite116.0ms (4.5%)

Algorithm
batch-egg-rewrite
Rules
881×prod-diff_binary64
644×fma-udef_binary64
290×fma-neg_binary64
168×expm1-udef_binary64
168×log1p-udef_binary64
Counts
2 → 79
Calls

2 calls:

115.0ms
(sqrt.f64 (fabs.f64 (/.f64 (-.f64 (*.f64 a a) (*.f64 b b)) (*.f64 a a))))
115.0ms
(/.f64 (-.f64 (*.f64 a a) (*.f64 b b)) (*.f64 a a))
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0936
121228
2270328
3470728
4464127
5515227
000
100

simplify57.0ms (2.2%)

Algorithm
egg-herbie
Rules
722×associate-/r*_binary64
695×associate-/l/_binary64
512×associate-/r/_binary64
495×fma-def_binary64
443×associate-*l/_binary64
Counts
127 → 85
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
015753
136681
279633
3250633
41040633
54492633
65129633

prune52.0ms (2%)

Pruning

4 alts after pruning (2 fresh and 2 done)

PrunedKeptTotal
New83285
Fresh000
Picked011
Done011
Total83487
Error
0.0b
Counts
87 → 4
Alt Table
StatusErrorProgram
14.5b
(sqrt.f64 (fabs.f64 (/.f64 (-.f64 (*.f64 a a) (*.f64 b b)) (*.f64 a a))))
0.0b
(sqrt.f64 (fabs.f64 (*.f64 (/.f64 (+.f64 a b) a) (/.f64 (-.f64 a b) a))))
1.2b
(sqrt.f64 (fabs.f64 1))
0.0b
(sqrt.f64 (fabs.f64 (fma.f64 b (pow.f64 (/.f64 (sqrt.f64 b) a) 2) -1)))
Compiler

Compiled 1436 to 565 computations (60.7% saved)

localize8.0ms (0.3%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.0b
(/.f64 (+.f64 a b) a)
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.1b
(*.f64 (/.f64 (+.f64 a b) a) (/.f64 (-.f64 a b) a))

series43.0ms (1.7%)

Counts
4 → 96
Calls

4 calls:

20.0ms
(*.f64 (/.f64 (+.f64 a b) a) (/.f64 (-.f64 a b) a))
13.0ms
(sqrt.f64 (fabs.f64 (*.f64 (/.f64 (+.f64 a b) a) (/.f64 (-.f64 a b) a))))
5.0ms
(/.f64 (-.f64 a b) a)
4.0ms
(/.f64 (+.f64 a b) a)

rewrite77.0ms (3%)

Algorithm
batch-egg-rewrite
Rules
588×prod-diff_binary64
197×expm1-udef_binary64
197×log1p-udef_binary64
161×egg-rr
121×add-sqr-sqrt_binary64
Counts
4 → 161
Calls

4 calls:

75.0ms
(/.f64 (+.f64 a b) a)
75.0ms
(sqrt.f64 (fabs.f64 (*.f64 (/.f64 (+.f64 a b) a) (/.f64 (-.f64 a b) a))))
75.0ms
(/.f64 (-.f64 a b) a)
74.0ms
(*.f64 (/.f64 (+.f64 a b) a) (/.f64 (-.f64 a b) a))
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01050
123645
2331145
3505645
000
100

simplify60.0ms (2.3%)

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
257 → 173
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0271041
1741041
21991041
36391041
427811041
551831041

prune126.0ms (4.8%)

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New1712173
Fresh101
Picked101
Done202
Total1752177
Error
0b
Counts
177 → 2
Alt Table
StatusErrorProgram
0.0b
(sqrt.f64 (fabs.f64 (expm1.f64 (log1p.f64 (*.f64 (/.f64 (+.f64 a b) a) (/.f64 (-.f64 a b) a))))))
0.0b
(sqrt.f64 (fabs.f64 (/.f64 1 (*.f64 (/.f64 a (+.f64 a b)) (/.f64 a (-.f64 a b))))))
Compiler

Compiled 2834 to 898 computations (68.3% saved)

regimes345.0ms (13.2%)

Accuracy

Total 0.0b remaining (60%)

Threshold costs 0.0b (60%)

Counts
66 → 1
Compiler

Compiled 7826 to 5031 computations (35.7% 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
01224
11624
22124
32324
42424
52424

end50.0ms (1.9%)

Compiler

Compiled 68 to 44 computations (35.3% saved)

Profiling

Loading profile data...