Details

Time bar (total: 4.2s)

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

Results
1.0s2165×body2048valid
474.0ms4280×body128valid
386.0ms1027×body1024valid
148.0ms539×body512valid
44.0ms245×body256valid
Compiler

Compiled 28 to 26 computations (7.1% saved)

preprocess17.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

prune3.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)))))

series11.0ms (0.3%)

Counts
3 → 36
Calls

9 calls:

3.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

rewrite48.0ms (1.1%)

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
120226
2257626
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

prune144.0ms (3.4%)

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)

localize9.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
2.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

rewrite51.0ms (1.2%)

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
122625
2296725
Stop Event
node limit
Counts
2 → 88

simplify34.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.5%)

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))))

series15.0ms (0.4%)

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 69/1024 (pow.f64 x 6))
x
inf
1.0ms
(*.f64 69/1024 (pow.f64 x 6))
x
-inf

rewrite41.0ms (1%)

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

Useful iterations: 0 (0.0ms)

IterNodesCost
02151
147051
Stop Event
node limit
Counts
4 → 82

simplify28.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
91 → 93

prune100.0ms (2.4%)

Pruning

3 alts after pruning (1 fresh and 2 done)

PrunedKeptTotal
New93093
Fresh011
Picked011
Done011
Total93396
Error
0b
Counts
96 → 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 3374 to 2667 computations (21% 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

rewrite54.0ms (1.3%)

Algorithm
batch-egg-rewrite
Rules
258×expm1-udef_binary64
258×log1p-udef_binary64
201×prod-diff_binary64
158×log1p-expm1-u_binary64
158×expm1-log1p-u_binary64
Iterations

Useful iterations: 0 (0.0ms)

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

simplify40.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

prune114.0ms (2.7%)

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 3736 to 2959 computations (20.8% saved)

regimes904.0ms (21.5%)

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)

bsearch4.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.3%)

Stop Event
done
Compiler

Compiled 167 to 139 computations (16.8% saved)

Profiling

Loading profile data...