Details

Time bar (total: 5.0s)

analyze1.0ms (0%)

Algorithm
search
Search
TrueOtherFalseIter
0%100%0%0
100%0%0%1
Compiler

Compiled 14 to 13 computations (7.1% saved)

sample2.1s (42.7%)

Results
1.0s2147×body2048valid
445.0ms4258×body128valid
411.0ms1089×body1024valid
140.0ms503×body512valid
48.0ms259×body256valid
Compiler

Compiled 41 to 38 computations (7.3% saved)

simplify7.0ms (0.1%)

Algorithm
egg-herbie
Rules
sub-neg_binary64
fma-def_binary64
+-commutative_binary64
*-commutative_binary64
associate-+l-_binary64
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
01018
12215
22915
33715
44415
55415
66515
77715
88015
Stop Event
saturated
Counts
1 → 2

prune3.0ms (0.1%)

Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New112
Fresh101
Picked000
Done000
Total213
Error
17.2b
Counts
3 → 1
Alt Table
StatusErrorProgram
17.2b
(-.f64 1 (sqrt.f64 (+.f64 1/2 (/.f64 1/2 (hypot.f64 1 x)))))
Compiler

Compiled 45 to 41 computations (8.9% saved)

localize7.0ms (0.1%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.0b
(+.f64 1/2 (/.f64 1/2 (hypot.f64 1 x)))
0.0b
(sqrt.f64 (+.f64 1/2 (/.f64 1/2 (hypot.f64 1 x))))
0.0b
(/.f64 1/2 (hypot.f64 1 x))
2.5b
(-.f64 1 (sqrt.f64 (+.f64 1/2 (/.f64 1/2 (hypot.f64 1 x)))))

series13.0ms (0.3%)

Counts
4 → 48
Calls

4 calls:

5.0ms
(-.f64 1 (sqrt.f64 (+.f64 1/2 (/.f64 1/2 (hypot.f64 1 x)))))
3.0ms
(sqrt.f64 (+.f64 1/2 (/.f64 1/2 (hypot.f64 1 x))))
3.0ms
(/.f64 1/2 (hypot.f64 1 x))
2.0ms
(+.f64 1/2 (/.f64 1/2 (hypot.f64 1 x)))

rewrite60.0ms (1.2%)

Algorithm
batch-egg-rewrite
Rules
406×log-prod_binary64
387×prod-diff_binary64
205×fma-def_binary64
170×expm1-udef_binary64
169×log1p-udef_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0944
120244
2257644
Stop Event
node limit
Counts
4 → 139
Calls

4 calls:

55.0ms
(+.f64 1/2 (/.f64 1/2 (hypot.f64 1 x)))
55.0ms
(sqrt.f64 (+.f64 1/2 (/.f64 1/2 (hypot.f64 1 x))))
55.0ms
(/.f64 1/2 (hypot.f64 1 x))
55.0ms
(-.f64 1 (sqrt.f64 (+.f64 1/2 (/.f64 1/2 (hypot.f64 1 x)))))

simplify47.0ms (0.9%)

Algorithm
egg-herbie
Rules
752×fma-neg_binary64
422×fma-def_binary64
239×associate--l+_binary64
232×cancel-sign-sub-inv_binary64
188×+-commutative_binary64
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
0120934
1400916
21253892
34392892
Stop Event
node limit
Counts
187 → 219

prune187.0ms (3.8%)

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New2172219
Fresh000
Picked101
Done000
Total2182220
Error
0.0b
Counts
220 → 2
Alt Table
StatusErrorProgram
29.2b
(fma.f64 1/8 (*.f64 x x) (fma.f64 69/1024 (pow.f64 x 6) (fma.f64 (pow.f64 x 4) -11/128 (*.f64 (pow.f64 x 8) -1843/32768))))
16.8b
(/.f64 (-.f64 1/2 (/.f64 1/2 (hypot.f64 1 x))) (+.f64 1 (sqrt.f64 (+.f64 1/2 (/.f64 1/2 (hypot.f64 1 x))))))
Compiler

Compiled 4077 to 3612 computations (11.4% saved)

localize9.0ms (0.2%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.0b
(/.f64 (-.f64 1/2 (/.f64 1/2 (hypot.f64 1 x))) (+.f64 1 (sqrt.f64 (+.f64 1/2 (/.f64 1/2 (hypot.f64 1 x))))))
0.0b
(/.f64 1/2 (hypot.f64 1 x))
0.0b
(+.f64 1 (sqrt.f64 (+.f64 1/2 (/.f64 1/2 (hypot.f64 1 x)))))
2.0b
(-.f64 1/2 (/.f64 1/2 (hypot.f64 1 x)))

series24.0ms (0.5%)

Counts
3 → 36
Calls

3 calls:

17.0ms
(/.f64 (-.f64 1/2 (/.f64 1/2 (hypot.f64 1 x))) (+.f64 1 (sqrt.f64 (+.f64 1/2 (/.f64 1/2 (hypot.f64 1 x))))))
4.0ms
(+.f64 1 (sqrt.f64 (+.f64 1/2 (/.f64 1/2 (hypot.f64 1 x)))))
3.0ms
(-.f64 1/2 (/.f64 1/2 (hypot.f64 1 x)))

rewrite128.0ms (2.6%)

Algorithm
batch-egg-rewrite
Rules
614×prod-diff_binary64
219×log1p-udef_binary64
217×egg-rr
124×add-sqr-sqrt_binary64
120×log1p-expm1-u_binary64
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
01152
125540
2361640
Stop Event
node limit
Counts
3 → 217
Calls

3 calls:

119.0ms
(/.f64 (-.f64 1/2 (/.f64 1/2 (hypot.f64 1 x))) (+.f64 1 (sqrt.f64 (+.f64 1/2 (/.f64 1/2 (hypot.f64 1 x))))))
119.0ms
(+.f64 1 (sqrt.f64 (+.f64 1/2 (/.f64 1/2 (hypot.f64 1 x)))))
119.0ms
(-.f64 1/2 (/.f64 1/2 (hypot.f64 1 x)))

simplify47.0ms (0.9%)

Algorithm
egg-herbie
Rules
778×fma-def_binary64
455×distribute-rgt-in_binary64
222×cancel-sign-sub-inv_binary64
178×associate-/r*_binary64
163×sub-neg_binary64
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
02061608
17361428
227621385
Stop Event
node limit
Counts
253 → 281

prune509.0ms (10.3%)

Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New3712373
Fresh101
Picked011
Done000
Total3723375
Error
0b
Counts
375 → 3
Alt Table
StatusErrorProgram
29.2b
(/.f64 (-.f64 (+.f64 (*.f64 5/32 (pow.f64 x 6)) (*.f64 1/4 (pow.f64 x 2))) (+.f64 (*.f64 3/16 (pow.f64 x 4)) (*.f64 35/256 (pow.f64 x 8)))) (+.f64 1 (sqrt.f64 (+.f64 1/2 (/.f64 1/2 (hypot.f64 1 x))))))
29.2b
(fma.f64 (pow.f64 x 6) 69/1024 (fma.f64 x (*.f64 x 1/8) (fma.f64 (pow.f64 x 4) -11/128 (*.f64 (pow.f64 x 8) -1843/32768))))
16.8b
(/.f64 (-.f64 1/2 (/.f64 1/2 (hypot.f64 1 x))) (+.f64 1 (sqrt.f64 (+.f64 1/2 (/.f64 1/2 (hypot.f64 1 x))))))
Compiler

Compiled 19905 to 17832 computations (10.4% saved)

localize12.0ms (0.2%)

Local error

Found 3 expressions with local error:

NewErrorProgram
0.0b
(fma.f64 (pow.f64 x 4) -11/128 (*.f64 (pow.f64 x 8) -1843/32768))
0.1b
(*.f64 (pow.f64 x 8) -1843/32768)
23.8b
(fma.f64 (pow.f64 x 6) 69/1024 (fma.f64 x (*.f64 x 1/8) (fma.f64 (pow.f64 x 4) -11/128 (*.f64 (pow.f64 x 8) -1843/32768))))

series11.0ms (0.2%)

Counts
3 → 36
Calls

3 calls:

4.0ms
(fma.f64 (pow.f64 x 4) -11/128 (*.f64 (pow.f64 x 8) -1843/32768))
4.0ms
(fma.f64 (pow.f64 x 6) 69/1024 (fma.f64 x (*.f64 x 1/8) (fma.f64 (pow.f64 x 4) -11/128 (*.f64 (pow.f64 x 8) -1843/32768))))
3.0ms
(*.f64 (pow.f64 x 8) -1843/32768)

rewrite53.0ms (1.1%)

Algorithm
batch-egg-rewrite
Rules
271×expm1-udef_binary64
271×log1p-udef_binary64
221×prod-diff_binary64
161×log1p-expm1-u_binary64
161×expm1-log1p-u_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01749
136149
2375049
Stop Event
node limit
Counts
3 → 60
Calls

3 calls:

52.0ms
(fma.f64 (pow.f64 x 4) -11/128 (*.f64 (pow.f64 x 8) -1843/32768))
52.0ms
(*.f64 (pow.f64 x 8) -1843/32768)
52.0ms
(fma.f64 (pow.f64 x 6) 69/1024 (fma.f64 x (*.f64 x 1/8) (fma.f64 (pow.f64 x 4) -11/128 (*.f64 (pow.f64 x 8) -1843/32768))))

simplify38.0ms (0.8%)

Algorithm
egg-herbie
Rules
622×associate-*l*_binary64
475×fma-def_binary64
417×associate-*r*_binary64
413×unswap-sqr_binary64
315×fma-neg_binary64
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
030477
179469
2197441
3702441
44339441
Stop Event
node limit
Counts
96 → 78

prune75.0ms (1.5%)

Pruning

3 alts after pruning (1 fresh and 2 done)

PrunedKeptTotal
New78078
Fresh011
Picked011
Done011
Total78381
Error
0b
Counts
81 → 3
Alt Table
StatusErrorProgram
29.2b
(/.f64 (-.f64 (+.f64 (*.f64 5/32 (pow.f64 x 6)) (*.f64 1/4 (pow.f64 x 2))) (+.f64 (*.f64 3/16 (pow.f64 x 4)) (*.f64 35/256 (pow.f64 x 8)))) (+.f64 1 (sqrt.f64 (+.f64 1/2 (/.f64 1/2 (hypot.f64 1 x))))))
29.2b
(fma.f64 (pow.f64 x 6) 69/1024 (fma.f64 x (*.f64 x 1/8) (fma.f64 (pow.f64 x 4) -11/128 (*.f64 (pow.f64 x 8) -1843/32768))))
16.8b
(/.f64 (-.f64 1/2 (/.f64 1/2 (hypot.f64 1 x))) (+.f64 1 (sqrt.f64 (+.f64 1/2 (/.f64 1/2 (hypot.f64 1 x))))))
Compiler

Compiled 1942 to 1521 computations (21.7% saved)

localize20.0ms (0.4%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.0b
(*.f64 5/32 (pow.f64 x 6))
0.0b
(*.f64 35/256 (pow.f64 x 8))
0.1b
(*.f64 3/16 (pow.f64 x 4))
23.8b
(-.f64 (+.f64 (*.f64 5/32 (pow.f64 x 6)) (*.f64 1/4 (pow.f64 x 2))) (+.f64 (*.f64 3/16 (pow.f64 x 4)) (*.f64 35/256 (pow.f64 x 8))))

series14.0ms (0.3%)

Counts
4 → 9
Calls

4 calls:

4.0ms
(*.f64 5/32 (pow.f64 x 6))
4.0ms
(-.f64 (+.f64 (*.f64 5/32 (pow.f64 x 6)) (*.f64 1/4 (pow.f64 x 2))) (+.f64 (*.f64 3/16 (pow.f64 x 4)) (*.f64 35/256 (pow.f64 x 8))))
3.0ms
(*.f64 35/256 (pow.f64 x 8))
3.0ms
(*.f64 3/16 (pow.f64 x 4))

rewrite41.0ms (0.8%)

Algorithm
batch-egg-rewrite
Rules
214×log1p-expm1-u_binary64
214×expm1-log1p-u_binary64
210×add-cbrt-cube_binary64
205×add-sqr-sqrt_binary64
201×add-cube-cbrt_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02151
147151
Stop Event
node limit
Counts
4 → 82
Calls

4 calls:

39.0ms
(*.f64 5/32 (pow.f64 x 6))
39.0ms
(*.f64 35/256 (pow.f64 x 8))
39.0ms
(*.f64 3/16 (pow.f64 x 4))
39.0ms
(-.f64 (+.f64 (*.f64 5/32 (pow.f64 x 6)) (*.f64 1/4 (pow.f64 x 2))) (+.f64 (*.f64 3/16 (pow.f64 x 4)) (*.f64 35/256 (pow.f64 x 8))))

simplify26.0ms (0.5%)

Algorithm
egg-herbie
Rules
699×distribute-rgt-neg-in_binary64
551×associate-*l*_binary64
413×unswap-sqr_binary64
405×associate-*r*_binary64
279×fma-def_binary64
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
026138
168130
2161126
3562126
43466126
Stop Event
node limit
Counts
91 → 93

prune122.0ms (2.5%)

Pruning

3 alts after pruning (0 fresh and 3 done)

PrunedKeptTotal
New93093
Fresh000
Picked011
Done022
Total93396
Error
0b
Counts
96 → 3
Alt Table
StatusErrorProgram
29.2b
(/.f64 (-.f64 (+.f64 (*.f64 5/32 (pow.f64 x 6)) (*.f64 1/4 (pow.f64 x 2))) (+.f64 (*.f64 3/16 (pow.f64 x 4)) (*.f64 35/256 (pow.f64 x 8)))) (+.f64 1 (sqrt.f64 (+.f64 1/2 (/.f64 1/2 (hypot.f64 1 x))))))
29.2b
(fma.f64 (pow.f64 x 6) 69/1024 (fma.f64 x (*.f64 x 1/8) (fma.f64 (pow.f64 x 4) -11/128 (*.f64 (pow.f64 x 8) -1843/32768))))
16.8b
(/.f64 (-.f64 1/2 (/.f64 1/2 (hypot.f64 1 x))) (+.f64 1 (sqrt.f64 (+.f64 1/2 (/.f64 1/2 (hypot.f64 1 x))))))
Compiler

Compiled 4359 to 3578 computations (17.9% saved)

regimes1.2s (25.1%)

Accuracy

Total 0.0b remaining (14.7%)

Threshold costs 0.0b (14.7%)

Counts
146 → 2
Compiler

Compiled 16600 to 14754 computations (11.1% saved)

bsearch4.0ms (0.1%)

Compiler

Compiled 4 to 3 computations (25% saved)

simplify3.0ms (0.1%)

Algorithm
egg-herbie
Rules
+-commutative_binary64
*-commutative_binary64
sub-neg_binary64
distribute-neg-frac_binary64
neg-sub0_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03064
13864
24564
34764
44864
Stop Event
saturated

end138.0ms (2.8%)

Compiler

Compiled 165 to 137 computations (17% saved)

Profiling

Loading profile data...