Details

Time bar (total: 6.7s)

analyze757.0ms (11.4%)

Algorithm
search
Search
TrueOtherFalseIter
0%99.9%0.1%0
0%99.9%0.1%1
0%99.9%0.1%2
0%99.9%0.1%3
0%99.9%0.1%4
0%99.9%0.1%5
25%74.9%0.1%6
25%74.9%0.1%7
25%74.9%0.1%8
25%74.9%0.1%9
25%64%11.1%10
31.2%54.6%14.2%11
39%44.1%16.9%12
39%41.5%19.5%13
42.9%37%20.1%14
Compiler

Compiled 20 to 16 computations (20% saved)

sample87.0ms (1.3%)

Algorithm
intervals
Results
24.0ms57×body1024invalid
17.0ms49×body1024valid
13.0ms164×body128valid
7.0ms28×body512valid
6.0ms24×body512invalid
2.0ms14×body256valid
2.0ms14×body256invalid
1.0ms15×body128invalid
1.0msbody2048valid
Compiler

Compiled 39 to 34 computations (12.8% saved)

simplify161.0ms (2.4%)

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (4.0ms)

IterNodesCost
010620
110620

prune5.0ms (0.1%)

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 0.3b

Counts
2 → 2
Compiler

Compiled 45 to 37 computations (17.8% saved)

localize10.0ms (0.2%)

Local error

Found 3 expressions with local error:

0.0b
(+.f64 (*.f64 a1 a1) (*.f64 a2 a2))
0.1b
(*.f64 (cos.f64 th) (/.f64 (+.f64 (*.f64 a1 a1) (*.f64 a2 a2)) (sqrt.f64 2)))
0.4b
(/.f64 (+.f64 (*.f64 a1 a1) (*.f64 a2 a2)) (sqrt.f64 2))

rewrite38.0ms (0.6%)

Algorithm
rewrite-expression-head
Rules
40×add-sqr-sqrt_binary64_435
38×times-frac_binary64_420
32×add-cube-cbrt_binary64_446 *-un-lft-identity_binary64_414
22×sqrt-prod_binary64_429 associate-*r*_binary64_356
10×add-exp-log_binary64_449 add-cbrt-cube_binary64_447
associate-/r*_binary64_360
pow1_binary64_472 add-log-exp_binary64_450
associate-*l*_binary64_357 unswap-sqr_binary64_382 associate-/l*_binary64_361
flip3-+_binary64_417 div-inv_binary64_411 cbrt-undiv_binary64_445 prod-exp_binary64_460 flip-+_binary64_388 cbrt-unprod_binary64_444 associate-/l/_binary64_363 div-exp_binary64_462
clear-num_binary64_413 *-commutative_binary64_347 +-commutative_binary64_346 pow-prod-down_binary64_482 frac-2neg_binary64_425 sum-log_binary64_502 associate-*r/_binary64_358
Counts
3 → 94
Calls

3 calls:

13.0ms
(*.f64 (cos.f64 th) (/.f64 (+.f64 (*.f64 a1 a1) (*.f64 a2 a2)) (sqrt.f64 2)))
11.0ms
(/.f64 (+.f64 (*.f64 a1 a1) (*.f64 a2 a2)) (sqrt.f64 2))
4.0ms
(+.f64 (*.f64 a1 a1) (*.f64 a2 a2))

series466.0ms (7%)

Counts
3 → 9
Calls

3 calls:

325.0ms
(*.f64 (cos.f64 th) (/.f64 (+.f64 (*.f64 a1 a1) (*.f64 a2 a2)) (sqrt.f64 2)))
102.0ms
(/.f64 (+.f64 (*.f64 a1 a1) (*.f64 a2 a2)) (sqrt.f64 2))
39.0ms
(+.f64 (*.f64 a1 a1) (*.f64 a2 a2))

simplify57.0ms (0.9%)

Algorithm
egg-herbie
Counts
103 → 103
Iterations

Useful iterations: 0 (33.0ms)

IterNodesCost
060332380

prune126.0ms (1.9%)

Pruning

9 alts after pruning (9 fresh and 0 done)

PrunedKeptTotal
New958103
Fresh011
Picked101
Done000
Total969105

Merged error: 0b

Counts
105 → 9
Compiler

Compiled 2447 to 964 computations (60.6% saved)

localize10.0ms (0.2%)

Local error

Found 3 expressions with local error:

0.0b
(+.f64 (*.f64 a1 a1) (*.f64 a2 a2))
0.2b
(*.f64 (+.f64 (*.f64 a1 a1) (*.f64 a2 a2)) (cos.f64 th))
0.4b
(/.f64 (*.f64 (+.f64 (*.f64 a1 a1) (*.f64 a2 a2)) (cos.f64 th)) (sqrt.f64 2))

rewrite219.0ms (3.3%)

Algorithm
rewrite-expression-head
Rules
11×add-sqr-sqrt_binary64_435
10×add-exp-log_binary64_449 add-cbrt-cube_binary64_447
add-cube-cbrt_binary64_446 *-un-lft-identity_binary64_414
times-frac_binary64_420 sqrt-prod_binary64_429 associate-/r*_binary64_360
pow1_binary64_472 add-log-exp_binary64_450
associate-*l/_binary64_359
flip3-+_binary64_417 associate-*l*_binary64_357 flip-+_binary64_388 associate-*r*_binary64_356
cbrt-undiv_binary64_445 prod-exp_binary64_460 cbrt-unprod_binary64_444 associate-/l/_binary64_363 div-exp_binary64_462
clear-num_binary64_413 div-inv_binary64_411 *-commutative_binary64_347 +-commutative_binary64_346 pow-prod-down_binary64_482 frac-2neg_binary64_425 unswap-sqr_binary64_382 associate-/l*_binary64_361 sum-log_binary64_502
Counts
3 → 60
Calls

3 calls:

199.0ms
(*.f64 (+.f64 (*.f64 a1 a1) (*.f64 a2 a2)) (cos.f64 th))
9.0ms
(/.f64 (*.f64 (+.f64 (*.f64 a1 a1) (*.f64 a2 a2)) (cos.f64 th)) (sqrt.f64 2))
4.0ms
(+.f64 (*.f64 a1 a1) (*.f64 a2 a2))

series418.0ms (6.3%)

Counts
3 → 9
Calls

3 calls:

239.0ms
(/.f64 (*.f64 (+.f64 (*.f64 a1 a1) (*.f64 a2 a2)) (cos.f64 th)) (sqrt.f64 2))
137.0ms
(*.f64 (+.f64 (*.f64 a1 a1) (*.f64 a2 a2)) (cos.f64 th))
41.0ms
(+.f64 (*.f64 a1 a1) (*.f64 a2 a2))

simplify97.0ms (1.5%)

Algorithm
egg-herbie
Counts
69 → 69
Iterations

Useful iterations: 0 (79.0ms)

IterNodesCost
049321293
149321293

prune67.0ms (1%)

Pruning

6 alts after pruning (6 fresh and 0 done)

PrunedKeptTotal
New67269
Fresh448
Picked101
Done000
Total72678

Merged error: 0b

Counts
78 → 6
Compiler

Compiled 1390 to 536 computations (61.4% saved)

localize10.0ms (0.2%)

Local error

Found 3 expressions with local error:

0.0b
(+.f64 (*.f64 a1 a1) (*.f64 a2 a2))
0.2b
(/.f64 (sqrt.f64 2) (cos.f64 th))
0.3b
(/.f64 (+.f64 (*.f64 a1 a1) (*.f64 a2 a2)) (/.f64 (sqrt.f64 2) (cos.f64 th)))

rewrite40.0ms (0.6%)

Algorithm
rewrite-expression-head
Rules
156×times-frac_binary64_420
93×add-cube-cbrt_binary64_446 *-un-lft-identity_binary64_414 add-sqr-sqrt_binary64_435
48×sqrt-prod_binary64_429
25×associate-/r*_binary64_360
10×add-exp-log_binary64_449 add-cbrt-cube_binary64_447
associate-/l*_binary64_361
div-inv_binary64_411
add-log-exp_binary64_450
cbrt-undiv_binary64_445 div-exp_binary64_462
pow1_binary64_472
clear-num_binary64_413 flip3-+_binary64_417 flip-+_binary64_388 frac-2neg_binary64_425 associate-/l/_binary64_363
associate-/r/_binary64_362 +-commutative_binary64_346 sum-log_binary64_502
Counts
3 → 158
Calls

3 calls:

12.0ms
(/.f64 (+.f64 (*.f64 a1 a1) (*.f64 a2 a2)) (/.f64 (sqrt.f64 2) (cos.f64 th)))
5.0ms
(/.f64 (sqrt.f64 2) (cos.f64 th))
4.0ms
(+.f64 (*.f64 a1 a1) (*.f64 a2 a2))

series341.0ms (5.1%)

Counts
3 → 9
Calls

3 calls:

237.0ms
(/.f64 (+.f64 (*.f64 a1 a1) (*.f64 a2 a2)) (/.f64 (sqrt.f64 2) (cos.f64 th)))
61.0ms
(/.f64 (sqrt.f64 2) (cos.f64 th))
42.0ms
(+.f64 (*.f64 a1 a1) (*.f64 a2 a2))

simplify85.0ms (1.3%)

Algorithm
egg-herbie
Counts
167 → 167
Iterations

Useful iterations: 0 (40.0ms)

IterNodesCost
051025041

prune174.0ms (2.6%)

Pruning

6 alts after pruning (5 fresh and 1 done)

PrunedKeptTotal
New1670167
Fresh055
Picked011
Done000
Total1676173

Merged error: 0b

Counts
173 → 6
Compiler

Compiled 4133 to 1511 computations (63.4% saved)

localize13.0ms (0.2%)

Local error

Found 4 expressions with local error:

0.3b
(*.f64 (*.f64 (sqrt.f64 (+.f64 (*.f64 a1 a1) (*.f64 a2 a2))) (cos.f64 th)) (/.f64 (sqrt.f64 (+.f64 (*.f64 a1 a1) (*.f64 a2 a2))) (sqrt.f64 2)))
0.4b
(/.f64 (sqrt.f64 (+.f64 (*.f64 a1 a1) (*.f64 a2 a2))) (sqrt.f64 2))
5.3b
(sqrt.f64 (+.f64 (*.f64 a1 a1) (*.f64 a2 a2)))
5.3b
(sqrt.f64 (+.f64 (*.f64 a1 a1) (*.f64 a2 a2)))

rewrite60.0ms (0.9%)

Algorithm
rewrite-expression-head
Rules
84×sqrt-prod_binary64_429
72×times-frac_binary64_420
61×add-sqr-sqrt_binary64_435
59×add-cube-cbrt_binary64_446 *-un-lft-identity_binary64_414
40×associate-*r*_binary64_356
18×add-exp-log_binary64_449 add-cbrt-cube_binary64_447
11×pow1_binary64_472
10×sqrt-div_binary64_430
associate-*l/_binary64_359 prod-exp_binary64_460 associate-/l*_binary64_361 cbrt-unprod_binary64_444 associate-/r*_binary64_360
flip3-+_binary64_417 flip-+_binary64_388
add-log-exp_binary64_450
cbrt-undiv_binary64_445 pow-prod-down_binary64_482 div-exp_binary64_462
div-inv_binary64_411 sqrt-pow1_binary64_431 pow1/2_binary64_491 frac-times_binary64_424 associate-/l/_binary64_363 rem-sqrt-square_binary64_427
clear-num_binary64_413 *-commutative_binary64_347 sqrt-undiv_binary64_434 associate-*l*_binary64_357 frac-2neg_binary64_425 associate-*r/_binary64_358
Counts
4 → 157
Calls

4 calls:

21.0ms
(*.f64 (*.f64 (sqrt.f64 (+.f64 (*.f64 a1 a1) (*.f64 a2 a2))) (cos.f64 th)) (/.f64 (sqrt.f64 (+.f64 (*.f64 a1 a1) (*.f64 a2 a2))) (sqrt.f64 2)))
9.0ms
(/.f64 (sqrt.f64 (+.f64 (*.f64 a1 a1) (*.f64 a2 a2))) (sqrt.f64 2))
5.0ms
(sqrt.f64 (+.f64 (*.f64 a1 a1) (*.f64 a2 a2)))
4.0ms
(sqrt.f64 (+.f64 (*.f64 a1 a1) (*.f64 a2 a2)))

series441.0ms (6.6%)

Counts
4 → 12
Calls

4 calls:

249.0ms
(*.f64 (*.f64 (sqrt.f64 (+.f64 (*.f64 a1 a1) (*.f64 a2 a2))) (cos.f64 th)) (/.f64 (sqrt.f64 (+.f64 (*.f64 a1 a1) (*.f64 a2 a2))) (sqrt.f64 2)))
101.0ms
(/.f64 (sqrt.f64 (+.f64 (*.f64 a1 a1) (*.f64 a2 a2))) (sqrt.f64 2))
47.0ms
(sqrt.f64 (+.f64 (*.f64 a1 a1) (*.f64 a2 a2)))
43.0ms
(sqrt.f64 (+.f64 (*.f64 a1 a1) (*.f64 a2 a2)))

simplify83.0ms (1.3%)

Algorithm
egg-herbie
Counts
169 → 169
Iterations

Useful iterations: 0 (38.0ms)

IterNodesCost
050724501

prune173.0ms (2.6%)

Pruning

6 alts after pruning (4 fresh and 2 done)

PrunedKeptTotal
New1681169
Fresh134
Picked011
Done011
Total1696175

Merged error: 0b

Counts
175 → 6
Compiler

Compiled 5156 to 1365 computations (73.5% saved)

regimes89.0ms (1.3%)

Compiler

Compiled 730 to 588 computations (19.5% saved)

bsearch0.0ms (0%)

simplify2.0ms (0%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01734
11734

end0.0ms (0%)

sample2.6s (39.5%)

Algorithm
intervals
Results
643.0ms1793×body1024valid
542.0ms1502×body1024invalid
377.0ms4845×body128valid
219.0ms904×body512valid
193.0ms805×body512invalid
75.0ms455×body256valid
60.0ms381×body256invalid
57.0ms650×body128invalid
2.0msbody2048valid
Compiler

Compiled 160 to 123 computations (23.1% saved)

Profiling

Loading profile data...