Details

Time bar (total: 4.8s)

analyze1.0ms (0%)

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

Compiled 14 to 13 computations (7.1% saved)

sample71.0ms (1.5%)

Algorithm
intervals
Results
24.0ms76×body2048valid
9.0ms38×body1024valid
8.0ms126×body128valid
2.0ms14×body512valid
0.0msbody256valid
Compiler

Compiled 28 to 26 computations (7.1% saved)

simplify9.0ms (0.2%)

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

Useful iterations: 1 (0.0ms)

IterNodesCost
01018
12215
22715
33515
44215
55215
66015
76915
87215
95315

prune6.0ms (0.1%)

Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New112
Fresh101
Picked000
Done000
Total213
Error
14.7b
Counts
3 → 1
Alt Table
StatusErrorProgram
14.7b
(-.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
(/.f64 1/2 (hypot.f64 1 x))
0.0b
(+.f64 1/2 (/.f64 1/2 (hypot.f64 1 x)))
0.7b
(-.f64 1 (sqrt.f64 (+.f64 1/2 (/.f64 1/2 (hypot.f64 1 x)))))

series12.0ms (0.3%)

Counts
3 → 36
Calls

3 calls:

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

rewrite21.0ms (0.4%)

Algorithm
rewrite-expression-head
Rules
45×*-un-lft-identity_binary64
36×add-sqr-sqrt_binary64
28×add-cube-cbrt_binary64
21×prod-diff_binary64
20×sqrt-prod_binary64
Counts
3 → 97
Calls

3 calls:

9.0ms
(-.f64 1 (sqrt.f64 (+.f64 1/2 (/.f64 1/2 (hypot.f64 1 x)))))
4.0ms
(+.f64 1/2 (/.f64 1/2 (hypot.f64 1 x)))
2.0ms
(/.f64 1/2 (hypot.f64 1 x))

simplify168.0ms (3.5%)

Algorithm
egg-herbie
Rules
565×fma-def_binary64
469×associate-*l*_binary64
393×associate-*r*_binary64
375×fma-neg_binary64
233×cancel-sign-sub-inv_binary64
Counts
133 → 160
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
02362882
15702527
215562218
344712218
448362218

prune130.0ms (2.7%)

Pruning

4 alts after pruning (4 fresh and 0 done)

PrunedKeptTotal
New1564160
Fresh000
Picked101
Done000
Total1574161
Error
0.0b
Counts
161 → 4
Alt Table
StatusErrorProgram
14.7b
(expm1.f64 (log1p.f64 (-.f64 1 (sqrt.f64 (+.f64 1/2 (/.f64 1/2 (hypot.f64 1 x)))))))
30.7b
(*.f64 1/8 (pow.f64 x 2))
14.2b
(/.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))))))
14.7b
(/.f64 (-.f64 1 (pow.f64 (sqrt.f64 (+.f64 1/2 (/.f64 1/2 (hypot.f64 1 x)))) 3)) (+.f64 (sqrt.f64 (+.f64 1/2 (/.f64 1/2 (hypot.f64 1 x)))) (+.f64 3/2 (/.f64 1/2 (hypot.f64 1 x)))))
Compiler

Compiled 3754 to 3350 computations (10.8% saved)

localize9.0ms (0.2%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.0b
(+.f64 1/2 (/.f64 1/2 (hypot.f64 1 x)))
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 (sqrt.f64 (+.f64 1/2 (/.f64 1/2 (hypot.f64 1 x)))))
0.2b
(-.f64 1/2 (/.f64 1/2 (hypot.f64 1 x)))

series33.0ms (0.7%)

Counts
3 → 36
Calls

3 calls:

24.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))))))
5.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)))

rewrite44.0ms (0.9%)

Algorithm
rewrite-expression-head
Rules
116×*-un-lft-identity_binary64
116×add-sqr-sqrt_binary64
80×times-frac_binary64
60×add-cube-cbrt_binary64
39×prod-diff_binary64
Counts
3 → 157
Calls

3 calls:

15.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))))))
7.0ms
(+.f64 1 (sqrt.f64 (+.f64 1/2 (/.f64 1/2 (hypot.f64 1 x)))))
6.0ms
(-.f64 1/2 (/.f64 1/2 (hypot.f64 1 x)))

simplify158.0ms (3.3%)

Algorithm
egg-herbie
Rules
565×times-frac_binary64
260×fma-def_binary64
206×associate-*r*_binary64
200×associate-/r*_binary64
184×fma-neg_binary64
Counts
193 → 229
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
04488251
112495965
238875923
350505923

prune349.0ms (7.3%)

Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New2653268
Fresh303
Picked101
Done000
Total2693272
Error
0b
Counts
272 → 3
Alt Table
StatusErrorProgram
31.2b
(fma.f64 x (*.f64 x 1/8) (*.f64 (pow.f64 x 4) -11/128))
14.2b
(/.f64 1 (/.f64 (+.f64 1 (sqrt.f64 (+.f64 1/2 (/.f64 1/2 (hypot.f64 1 x))))) (-.f64 1/2 (/.f64 1/2 (hypot.f64 1 x)))))
14.7b
(*.f64 (*.f64 (cbrt.f64 (/.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))))))) (cbrt.f64 (/.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)))))))) (cbrt.f64 (/.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 9941 to 8889 computations (10.6% saved)

localize9.0ms (0.2%)

Local error

Found 4 expressions with local error:

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

series37.0ms (0.8%)

Counts
2 → 24
Calls

2 calls:

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

rewrite76.0ms (1.6%)

Algorithm
rewrite-expression-head
Rules
337×times-frac_binary64
328×*-un-lft-identity_binary64
328×add-sqr-sqrt_binary64
124×distribute-lft-out_binary64
111×add-cube-cbrt_binary64
Counts
2 → 260
Calls

2 calls:

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

simplify269.0ms (5.6%)

Algorithm
egg-herbie
Rules
474×times-frac_binary64
296×associate-+r+_binary64
279×fma-def_binary64
228×+-commutative_binary64
217×associate-/r*_binary64
Counts
284 → 278
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
038813307
1106012630
2383612437
3494112437

prune538.0ms (11.3%)

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New4241425
Fresh112
Picked101
Done000
Total4262428
Error
0b
Counts
428 → 2
Alt Table
StatusErrorProgram
31.2b
(fma.f64 x (*.f64 x 1/8) (*.f64 (pow.f64 x 4) -11/128))
31.7b
(/.f64 1 (/.f64 (+.f64 1 (sqrt.f64 (+.f64 1/2 (/.f64 1/2 (hypot.f64 1 x))))) (+.f64 (fma.f64 1 1/2 (neg.f64 (*.f64 (sqrt.f64 (/.f64 1/2 (hypot.f64 1 x))) (sqrt.f64 (/.f64 1/2 (hypot.f64 1 x)))))) (fma.f64 (neg.f64 (sqrt.f64 (/.f64 1/2 (hypot.f64 1 x)))) (sqrt.f64 (/.f64 1/2 (hypot.f64 1 x))) (*.f64 (sqrt.f64 (/.f64 1/2 (hypot.f64 1 x))) (sqrt.f64 (/.f64 1/2 (hypot.f64 1 x))))))))
Compiler

Compiled 17374 to 15666 computations (9.8% saved)

localize6.0ms (0.1%)

Local error

Found 2 expressions with local error:

NewErrorProgram
0.0b
(fma.f64 x (*.f64 x 1/8) (*.f64 (pow.f64 x 4) -11/128))
0.1b
(*.f64 (pow.f64 x 4) -11/128)

series7.0ms (0.1%)

Counts
2 → 24
Calls

2 calls:

4.0ms
(fma.f64 x (*.f64 x 1/8) (*.f64 (pow.f64 x 4) -11/128))
3.0ms
(*.f64 (pow.f64 x 4) -11/128)

rewrite6.0ms (0.1%)

Algorithm
rewrite-expression-head
Rules
10×add-sqr-sqrt_binary64
associate-*l*_binary64
add-exp-log_binary64
*-un-lft-identity_binary64
add-cube-cbrt_binary64
Counts
2 → 37
Calls

2 calls:

4.0ms
(*.f64 (pow.f64 x 4) -11/128)
0.0ms
(fma.f64 x (*.f64 x 1/8) (*.f64 (pow.f64 x 4) -11/128))

simplify73.0ms (1.5%)

Algorithm
egg-herbie
Rules
461×unsub-neg_binary64
423×*-commutative_binary64
388×distribute-rgt-neg-in_binary64
343×exp-prod_binary64
304×log-prod_binary64
Counts
61 → 63
Iterations

Useful iterations: 4 (0.0ms)

IterNodesCost
070724
1123683
2317665
31110665
42628659
54199659
65084659

prune60.0ms (1.3%)

Pruning

2 alts after pruning (1 fresh and 1 done)

PrunedKeptTotal
New63063
Fresh011
Picked011
Done000
Total63265
Error
0b
Counts
65 → 2
Alt Table
StatusErrorProgram
31.2b
(fma.f64 x (*.f64 x 1/8) (*.f64 (pow.f64 x 4) -11/128))
31.7b
(/.f64 1 (/.f64 (+.f64 1 (sqrt.f64 (+.f64 1/2 (/.f64 1/2 (hypot.f64 1 x))))) (+.f64 (fma.f64 1 1/2 (neg.f64 (*.f64 (sqrt.f64 (/.f64 1/2 (hypot.f64 1 x))) (sqrt.f64 (/.f64 1/2 (hypot.f64 1 x)))))) (fma.f64 (neg.f64 (sqrt.f64 (/.f64 1/2 (hypot.f64 1 x)))) (sqrt.f64 (/.f64 1/2 (hypot.f64 1 x))) (*.f64 (sqrt.f64 (/.f64 1/2 (hypot.f64 1 x))) (sqrt.f64 (/.f64 1/2 (hypot.f64 1 x))))))))
Compiler

Compiled 1054 to 774 computations (26.6% saved)

regimes992.0ms (20.7%)

Accuracy

Total 0.3b remaining (84.1%)

Threshold costs 0.3b (84.1%)

Counts
102 → 2
Compiler

Compiled 19760 to 17883 computations (9.5% saved)

bsearch4.0ms (0.1%)

Compiler

Compiled 4 to 3 computations (25% saved)

simplify6.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
028113
142113
246113
348113
447113

end2.0ms (0%)

Compiler

Compiled 75 to 64 computations (14.7% saved)

sample1.7s (35.1%)

Algorithm
intervals
Results
684.0ms2103×body2048valid
261.0ms1017×body1024valid
253.0ms4133×body128valid
101.0ms500×body512valid
28.0ms247×body256valid
Compiler

Compiled 160 to 138 computations (13.8% saved)

Profiling

Loading profile data...