Details

Time bar (total: 4.1s)

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

Results
1.0s2165×body2048valid
443.0ms4280×body128valid
384.0ms1027×body1024valid
163.0ms539×body512valid
44.0ms245×body256valid
Compiler

Compiled 28 to 26 computations (7.1% saved)

preprocess18.0ms (0.4%)

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

Useful iterations: 0 (0.0ms)

IterNodesCost
01018
12215
22915
33715
44415
55415
66515
77715
88015
011
Stop Event
saturated
saturated
Compiler

Compiled 13 to 12 computations (7.7% saved)

simplify8.0ms (0.2%)

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

prune5.0ms (0.1%)

Pruning

1 alts after pruning (1 fresh and 0 done)

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

Compiled 45 to 41 computations (8.9% saved)

localize6.0ms (0.1%)

Local error

Found 3 expressions with local error:

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

series10.0ms (0.2%)

Counts
3 → 36
Calls

9 calls:

2.0ms
(-.f64 1 (sqrt.f64 (+.f64 1/2 (/.f64 1/2 (hypot.f64 1 x)))))
x
inf
2.0ms
(-.f64 1 (sqrt.f64 (+.f64 1/2 (/.f64 1/2 (hypot.f64 1 x)))))
x
-inf
1.0ms
(-.f64 1 (sqrt.f64 (+.f64 1/2 (/.f64 1/2 (hypot.f64 1 x)))))
x
0
1.0ms
(/.f64 1/2 (hypot.f64 1 x))
x
-inf
1.0ms
(/.f64 1/2 (hypot.f64 1 x))
x
inf

rewrite52.0ms (1.3%)

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
0926
120126
2259126
Stop Event
node limit
Counts
3 → 88

simplify41.0ms (1%)

Algorithm
egg-herbie
Rules
715×fma-neg_binary64
414×sub-neg_binary64
347×fma-def_binary64
185×associate--l+_binary64
179×associate-*r*_binary64
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
0116670
1365652
21120636
33998636
Stop Event
node limit
Counts
124 → 152

prune128.0ms (3.1%)

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New1502152
Fresh000
Picked101
Done000
Total1512153
Error
0.0b
Counts
153 → 2
Alt Table
StatusErrorProgram
14.1b
(/.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))))))
33.7b
(-.f64 (+.f64 (*.f64 69/1024 (pow.f64 x 6)) (*.f64 1/8 (pow.f64 x 2))) (+.f64 (*.f64 11/128 (pow.f64 x 4)) (*.f64 1843/32768 (pow.f64 x 8))))
Compiler

Compiled 2785 to 2461 computations (11.6% saved)

localize8.0ms (0.2%)

Local error

Found 4 expressions with local error:

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

series7.0ms (0.2%)

Counts
2 → 24
Calls

6 calls:

2.0ms
(+.f64 1 (sqrt.f64 (+.f64 1/2 (/.f64 1/2 (hypot.f64 1 x)))))
x
-inf
1.0ms
(+.f64 1 (sqrt.f64 (+.f64 1/2 (/.f64 1/2 (hypot.f64 1 x)))))
x
inf
1.0ms
(-.f64 1/2 (/.f64 1/2 (hypot.f64 1 x)))
x
0
1.0ms
(+.f64 1 (sqrt.f64 (+.f64 1/2 (/.f64 1/2 (hypot.f64 1 x)))))
x
0
1.0ms
(-.f64 1/2 (/.f64 1/2 (hypot.f64 1 x)))
x
inf

rewrite55.0ms (1.3%)

Algorithm
batch-egg-rewrite
Rules
474×prod-diff_binary64
311×fma-def_binary64
191×expm1-udef_binary64
191×log1p-udef_binary64
149×fma-neg_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01025
122525
2299625
Stop Event
node limit
Counts
2 → 88

simplify33.0ms (0.8%)

Algorithm
egg-herbie
Rules
529×fma-neg_binary64
322×sub-neg_binary64
231×fma-def_binary64
206×distribute-neg-frac_binary64
187×unswap-sqr_binary64
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
089470
1285460
2890448
33270448
Stop Event
node limit
Counts
112 → 130

prune273.0ms (6.6%)

Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New3091310
Fresh011
Picked011
Done000
Total3093312
Error
0b
Counts
312 → 3
Alt Table
StatusErrorProgram
14.1b
(/.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))))))
33.7b
(/.f64 (fma.f64 1/4 (*.f64 x x) (fma.f64 5/32 (pow.f64 x 6) (fma.f64 (pow.f64 x 4) -3/16 (*.f64 (pow.f64 x 8) -35/256)))) (+.f64 1 (sqrt.f64 (+.f64 1/2 (/.f64 1/2 (hypot.f64 1 x))))))
33.7b
(-.f64 (+.f64 (*.f64 69/1024 (pow.f64 x 6)) (*.f64 1/8 (pow.f64 x 2))) (+.f64 (*.f64 11/128 (pow.f64 x 4)) (*.f64 1843/32768 (pow.f64 x 8))))
Compiler

Compiled 7917 to 6952 computations (12.2% saved)

localize13.0ms (0.3%)

Local error

Found 4 expressions with local error:

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

series13.0ms (0.3%)

Counts
4 → 9
Calls

12 calls:

1.0ms
(-.f64 (+.f64 (*.f64 69/1024 (pow.f64 x 6)) (*.f64 1/8 (pow.f64 x 2))) (+.f64 (*.f64 11/128 (pow.f64 x 4)) (*.f64 1843/32768 (pow.f64 x 8))))
x
-inf
1.0ms
(-.f64 (+.f64 (*.f64 69/1024 (pow.f64 x 6)) (*.f64 1/8 (pow.f64 x 2))) (+.f64 (*.f64 11/128 (pow.f64 x 4)) (*.f64 1843/32768 (pow.f64 x 8))))
x
inf
1.0ms
(-.f64 (+.f64 (*.f64 69/1024 (pow.f64 x 6)) (*.f64 1/8 (pow.f64 x 2))) (+.f64 (*.f64 11/128 (pow.f64 x 4)) (*.f64 1843/32768 (pow.f64 x 8))))
x
0
1.0ms
(*.f64 1843/32768 (pow.f64 x 8))
x
inf
1.0ms
(*.f64 1843/32768 (pow.f64 x 8))
x
-inf

rewrite44.0ms (1.1%)

Algorithm
batch-egg-rewrite
Rules
222×add-sqr-sqrt_binary64
214×add-log-exp_binary64
214×log1p-expm1-u_binary64
214×expm1-log1p-u_binary64
212×pow1_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02151
147151
Stop Event
node limit
Counts
4 → 80

simplify30.0ms (0.7%)

Algorithm
egg-herbie
Rules
707×distribute-rgt-neg-in_binary64
558×associate-*l*_binary64
413×unswap-sqr_binary64
406×associate-*r*_binary64
279×fma-def_binary64
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
026138
168130
2161126
3563126
43490126
Stop Event
node limit
Counts
89 → 91

prune104.0ms (2.5%)

Pruning

3 alts after pruning (1 fresh and 2 done)

PrunedKeptTotal
New91091
Fresh011
Picked011
Done011
Total91394
Error
0b
Counts
94 → 3
Alt Table
StatusErrorProgram
14.1b
(/.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))))))
33.7b
(/.f64 (fma.f64 1/4 (*.f64 x x) (fma.f64 5/32 (pow.f64 x 6) (fma.f64 (pow.f64 x 4) -3/16 (*.f64 (pow.f64 x 8) -35/256)))) (+.f64 1 (sqrt.f64 (+.f64 1/2 (/.f64 1/2 (hypot.f64 1 x))))))
33.7b
(-.f64 (+.f64 (*.f64 69/1024 (pow.f64 x 6)) (*.f64 1/8 (pow.f64 x 2))) (+.f64 (*.f64 11/128 (pow.f64 x 4)) (*.f64 1843/32768 (pow.f64 x 8))))
Compiler

Compiled 3197 to 2533 computations (20.8% saved)

localize19.0ms (0.5%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.0b
(*.f64 (pow.f64 x 8) -35/256)
0.1b
(fma.f64 (pow.f64 x 4) -3/16 (*.f64 (pow.f64 x 8) -35/256))
16.0b
(fma.f64 1/4 (*.f64 x x) (fma.f64 5/32 (pow.f64 x 6) (fma.f64 (pow.f64 x 4) -3/16 (*.f64 (pow.f64 x 8) -35/256))))
28.8b
(fma.f64 5/32 (pow.f64 x 6) (fma.f64 (pow.f64 x 4) -3/16 (*.f64 (pow.f64 x 8) -35/256)))

series15.0ms (0.4%)

Counts
4 → 48
Calls

12 calls:

1.0ms
(fma.f64 (pow.f64 x 4) -3/16 (*.f64 (pow.f64 x 8) -35/256))
x
-inf
1.0ms
(fma.f64 (pow.f64 x 4) -3/16 (*.f64 (pow.f64 x 8) -35/256))
x
inf
1.0ms
(fma.f64 5/32 (pow.f64 x 6) (fma.f64 (pow.f64 x 4) -3/16 (*.f64 (pow.f64 x 8) -35/256)))
x
inf
1.0ms
(fma.f64 5/32 (pow.f64 x 6) (fma.f64 (pow.f64 x 4) -3/16 (*.f64 (pow.f64 x 8) -35/256)))
x
-inf
1.0ms
(fma.f64 5/32 (pow.f64 x 6) (fma.f64 (pow.f64 x 4) -3/16 (*.f64 (pow.f64 x 8) -35/256)))
x
0

rewrite55.0ms (1.3%)

Algorithm
batch-egg-rewrite
Rules
258×expm1-udef_binary64
258×log1p-udef_binary64
201×prod-diff_binary64
160×add-sqr-sqrt_binary64
158×add-log-exp_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01770
136070
2366470
Stop Event
node limit
Counts
4 → 84

simplify41.0ms (1%)

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

Useful iterations: 2 (0.0ms)

IterNodesCost
031684
182670
2200630
3712630
44314630
Stop Event
node limit
Counts
132 → 103

prune119.0ms (2.9%)

Pruning

3 alts after pruning (0 fresh and 3 done)

PrunedKeptTotal
New1030103
Fresh000
Picked011
Done022
Total1033106
Error
0b
Counts
106 → 3
Alt Table
StatusErrorProgram
14.1b
(/.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))))))
33.7b
(/.f64 (fma.f64 1/4 (*.f64 x x) (fma.f64 5/32 (pow.f64 x 6) (fma.f64 (pow.f64 x 4) -3/16 (*.f64 (pow.f64 x 8) -35/256)))) (+.f64 1 (sqrt.f64 (+.f64 1/2 (/.f64 1/2 (hypot.f64 1 x))))))
33.7b
(-.f64 (+.f64 (*.f64 69/1024 (pow.f64 x 6)) (*.f64 1/8 (pow.f64 x 2))) (+.f64 (*.f64 11/128 (pow.f64 x 4)) (*.f64 1843/32768 (pow.f64 x 8))))
Compiler

Compiled 3741 to 2964 computations (20.8% saved)

regimes838.0ms (20.4%)

Accuracy

Total 0.0b remaining (29.2%)

Threshold costs 0.0b (29.2%)

Counts
114 → 2
Compiler

Compiled 13525 to 11920 computations (11.9% saved)

bsearch3.0ms (0.1%)

Algorithm
left-value
Calls

1 calls:

0.0ms
(hypot.f64 1 x)
Steps
ItersPointRange
1.0000053276938277
∈ [
1.0000053276938277
,
5.155564931657496
]
Compiler

Compiled 4 to 3 computations (25% 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
03166
14166
25166
35566
45766
Stop Event
saturated

end98.0ms (2.4%)

Stop Event
done
Compiler

Compiled 167 to 139 computations (16.8% saved)

Profiling

Loading profile data...