Details

Time bar (total: 14.7s)

analyze738.0ms (5%)

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)

sample84.0ms (0.6%)

Algorithm
intervals
Results
19.0ms57×body1024valid
17.0ms51×body1024invalid
15.0ms156×body128valid
7.0ms31×body512invalid
6.0ms27×body512valid
2.0ms16×body256valid
2.0ms13×body256invalid
2.0ms22×body128invalid
Compiler

Compiled 39 to 34 computations (12.8% saved)

simplify176.0ms (1.2%)

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (4.0ms)

IterNodesCost
010620
110620

prune4.0ms (0%)

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 0.4b

Counts
2 → 2
Compiler

Compiled 45 to 37 computations (17.8% saved)

localize10.0ms (0.1%)

Local error

Found 2 expressions with local error:

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

rewrite34.0ms (0.2%)

Algorithm
rewrite-expression-head
Rules
39×add-sqr-sqrt_binary64_441
38×times-frac_binary64_425
31×*-un-lft-identity_binary64_419 add-cube-cbrt_binary64_454
22×associate-*r*_binary64_359 sqrt-prod_binary64_435
add-cbrt-cube_binary64_455 add-exp-log_binary64_457
associate-/r*_binary64_363
pow1_binary64_480
unswap-sqr_binary64_387 associate-*l*_binary64_360 associate-/l*_binary64_364
add-log-exp_binary64_458 div-inv_binary64_416 prod-exp_binary64_468 cbrt-unprod_binary64_452 div-exp_binary64_470 cbrt-undiv_binary64_453 associate-/l/_binary64_366
flip3-+_binary64_422 pow-prod-down_binary64_490 clear-num_binary64_418 associate-*r/_binary64_361 *-commutative_binary64_350 frac-2neg_binary64_430 flip-+_binary64_393
Counts
2 → 83
Calls

2 calls:

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

series435.0ms (3%)

Counts
2 → 6
Calls

2 calls:

330.0ms
(*.f64 (cos.f64 th) (/.f64 (+.f64 (*.f64 a1 a1) (*.f64 a2 a2)) (sqrt.f64 2)))
104.0ms
(/.f64 (+.f64 (*.f64 a1 a1) (*.f64 a2 a2)) (sqrt.f64 2))

simplify55.0ms (0.4%)

Algorithm
egg-herbie
Counts
89 → 89
Iterations

Useful iterations: 0 (32.0ms)

IterNodesCost
056782187

prune113.0ms (0.8%)

Pruning

8 alts after pruning (8 fresh and 0 done)

PrunedKeptTotal
New82789
Fresh011
Picked101
Done000
Total83891

Merged error: 0.0b

Counts
91 → 8
Compiler

Compiled 2181 to 855 computations (60.8% saved)

localize10.0ms (0.1%)

Local error

Found 2 expressions with local error:

0.1b
(*.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))

rewrite22.0ms (0.1%)

Algorithm
rewrite-expression-head
Rules
10×add-sqr-sqrt_binary64_441
add-cbrt-cube_binary64_455 add-exp-log_binary64_457
*-un-lft-identity_binary64_419 add-cube-cbrt_binary64_454
times-frac_binary64_425 sqrt-prod_binary64_435 associate-/r*_binary64_363
associate-*l/_binary64_362 pow1_binary64_480
associate-*r*_binary64_359 associate-*l*_binary64_360
flip3-+_binary64_422 add-log-exp_binary64_458 prod-exp_binary64_468 cbrt-unprod_binary64_452 flip-+_binary64_393 div-exp_binary64_470 cbrt-undiv_binary64_453 associate-/l/_binary64_366
pow-prod-down_binary64_490 clear-num_binary64_418 div-inv_binary64_416 unswap-sqr_binary64_387 *-commutative_binary64_350 frac-2neg_binary64_430 associate-/l*_binary64_364
Counts
2 → 49
Calls

2 calls:

10.0ms
(/.f64 (*.f64 (+.f64 (*.f64 a1 a1) (*.f64 a2 a2)) (cos.f64 th)) (sqrt.f64 2))
8.0ms
(*.f64 (+.f64 (*.f64 a1 a1) (*.f64 a2 a2)) (cos.f64 th))

series400.0ms (2.7%)

Counts
2 → 6
Calls

2 calls:

245.0ms
(/.f64 (*.f64 (+.f64 (*.f64 a1 a1) (*.f64 a2 a2)) (cos.f64 th)) (sqrt.f64 2))
154.0ms
(*.f64 (+.f64 (*.f64 a1 a1) (*.f64 a2 a2)) (cos.f64 th))

simplify68.0ms (0.5%)

Algorithm
egg-herbie
Counts
55 → 55
Iterations

Useful iterations: 0 (54.0ms)

IterNodesCost
052651100

prune62.0ms (0.4%)

Pruning

8 alts after pruning (8 fresh and 0 done)

PrunedKeptTotal
New53255
Fresh167
Picked101
Done000
Total55863

Merged error: 0.0b

Counts
63 → 8
Compiler

Compiled 1207 to 477 computations (60.5% saved)

localize13.0ms (0.1%)

Local error

Found 3 expressions with local error:

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

rewrite267.0ms (1.8%)

Algorithm
rewrite-expression-head
Rules
1137×sqrt-prod_binary64_435
1119×times-frac_binary64_425
624×add-sqr-sqrt_binary64_441
577×*-un-lft-identity_binary64_419 add-cube-cbrt_binary64_454
283×associate-*r*_binary64_359
34×associate-/l*_binary64_364
22×div-inv_binary64_416
19×add-cbrt-cube_binary64_455 add-exp-log_binary64_457
18×associate-/r*_binary64_363
13×unswap-sqr_binary64_387
div-exp_binary64_470 cbrt-undiv_binary64_453
pow1_binary64_480
add-log-exp_binary64_458 prod-exp_binary64_468 cbrt-unprod_binary64_452 associate-*l*_binary64_360 associate-/l/_binary64_366
clear-num_binary64_418 frac-2neg_binary64_430
flip3-+_binary64_422 pow-prod-down_binary64_490 associate-*r/_binary64_361 *-commutative_binary64_350 flip-+_binary64_393
Counts
3 → 702
Calls

3 calls:

92.0ms
(*.f64 (cos.f64 th) (/.f64 (/.f64 (+.f64 (*.f64 a1 a1) (*.f64 a2 a2)) (sqrt.f64 (sqrt.f64 2))) (sqrt.f64 (sqrt.f64 2))))
22.0ms
(/.f64 (/.f64 (+.f64 (*.f64 a1 a1) (*.f64 a2 a2)) (sqrt.f64 (sqrt.f64 2))) (sqrt.f64 (sqrt.f64 2)))
10.0ms
(/.f64 (+.f64 (*.f64 a1 a1) (*.f64 a2 a2)) (sqrt.f64 (sqrt.f64 2)))

series614.0ms (4.2%)

Counts
3 → 9
Calls

3 calls:

328.0ms
(*.f64 (cos.f64 th) (/.f64 (/.f64 (+.f64 (*.f64 a1 a1) (*.f64 a2 a2)) (sqrt.f64 (sqrt.f64 2))) (sqrt.f64 (sqrt.f64 2))))
172.0ms
(/.f64 (+.f64 (*.f64 a1 a1) (*.f64 a2 a2)) (sqrt.f64 (sqrt.f64 2)))
113.0ms
(/.f64 (/.f64 (+.f64 (*.f64 a1 a1) (*.f64 a2 a2)) (sqrt.f64 (sqrt.f64 2))) (sqrt.f64 (sqrt.f64 2)))

simplify290.0ms (2%)

Algorithm
egg-herbie
Counts
711 → 711
Iterations

Useful iterations: 0 (86.0ms)

IterNodesCost
0495625973
1495625973

prune1.4s (9.6%)

Pruning

7 alts after pruning (7 fresh and 0 done)

PrunedKeptTotal
New7083711
Fresh347
Picked101
Done000
Total7127719

Merged error: 0b

Counts
719 → 7
Compiler

Compiled 23689 to 11678 computations (50.7% saved)

localize21.0ms (0.1%)

Local error

Found 4 expressions with local error:

0.2b
(/.f64 (+.f64 (*.f64 a1 a1) (*.f64 a2 a2)) (fabs.f64 (cbrt.f64 (sqrt.f64 2))))
0.4b
(*.f64 (/.f64 (+.f64 (*.f64 a1 a1) (*.f64 a2 a2)) (fabs.f64 (cbrt.f64 (sqrt.f64 2)))) (/.f64 (/.f64 1 (sqrt.f64 (sqrt.f64 2))) (sqrt.f64 (cbrt.f64 (sqrt.f64 2)))))
1.0b
(/.f64 1 (sqrt.f64 (sqrt.f64 2)))
1.0b
(/.f64 (/.f64 1 (sqrt.f64 (sqrt.f64 2))) (sqrt.f64 (cbrt.f64 (sqrt.f64 2))))

rewrite424.0ms (2.9%)

Algorithm
rewrite-expression-head
Rules
1597×times-frac_binary64_425
1571×sqrt-prod_binary64_435
994×add-sqr-sqrt_binary64_441
793×*-un-lft-identity_binary64_419
769×add-cube-cbrt_binary64_454
406×cbrt-prod_binary64_450
376×associate-*r*_binary64_359
58×unswap-sqr_binary64_387
54×add-exp-log_binary64_457
37×associate-/l*_binary64_364
34×add-cbrt-cube_binary64_455
30×div-inv_binary64_416
26×div-exp_binary64_470
24×associate-/r*_binary64_363
14×cbrt-undiv_binary64_453
13×associate-*l*_binary64_360
10×prod-exp_binary64_468 pow1_binary64_480
pow-flip_binary64_493 sqrt-pow1_binary64_437
cbrt-unprod_binary64_452
1-exp_binary64_463 add-log-exp_binary64_458 rec-exp_binary64_469
clear-num_binary64_418 pow1/2_binary64_499 frac-2neg_binary64_430 associate-/l/_binary64_366
pow1/3_binary64_501 pow-div_binary64_494
flip3-+_binary64_422 associate-*l/_binary64_362 pow-prod-down_binary64_490 inv-pow_binary64_504 frac-times_binary64_429 associate-*r/_binary64_361 *-commutative_binary64_350 flip-+_binary64_393
Counts
4 → 997
Calls

4 calls:

165.0ms
(*.f64 (/.f64 (+.f64 (*.f64 a1 a1) (*.f64 a2 a2)) (fabs.f64 (cbrt.f64 (sqrt.f64 2)))) (/.f64 (/.f64 1 (sqrt.f64 (sqrt.f64 2))) (sqrt.f64 (cbrt.f64 (sqrt.f64 2)))))
24.0ms
(/.f64 (/.f64 1 (sqrt.f64 (sqrt.f64 2))) (sqrt.f64 (cbrt.f64 (sqrt.f64 2))))
7.0ms
(/.f64 (+.f64 (*.f64 a1 a1) (*.f64 a2 a2)) (fabs.f64 (cbrt.f64 (sqrt.f64 2))))
6.0ms
(/.f64 1 (sqrt.f64 (sqrt.f64 2)))

series558.0ms (3.8%)

Counts
4 → 8
Calls

4 calls:

452.0ms
(*.f64 (/.f64 (+.f64 (*.f64 a1 a1) (*.f64 a2 a2)) (fabs.f64 (cbrt.f64 (sqrt.f64 2)))) (/.f64 (/.f64 1 (sqrt.f64 (sqrt.f64 2))) (sqrt.f64 (cbrt.f64 (sqrt.f64 2)))))
106.0ms
(/.f64 (+.f64 (*.f64 a1 a1) (*.f64 a2 a2)) (fabs.f64 (cbrt.f64 (sqrt.f64 2))))
0.0ms
(/.f64 (/.f64 1 (sqrt.f64 (sqrt.f64 2))) (sqrt.f64 (cbrt.f64 (sqrt.f64 2))))
0.0ms
(/.f64 1 (sqrt.f64 (sqrt.f64 2)))

simplify366.0ms (2.5%)

Algorithm
egg-herbie
Counts
1005 → 1005
Iterations

Useful iterations: 0 (69.0ms)

IterNodesCost
0496538537
1496538537

prune4.2s (28.8%)

Pruning

7 alts after pruning (6 fresh and 1 done)

PrunedKeptTotal
New100501005
Fresh066
Picked011
Done000
Total100571012

Merged error: 0b

Counts
1012 → 7
Compiler

Compiled 38938 to 29177 computations (25.1% saved)

regimes808.0ms (5.5%)

Compiler

Compiled 10162 to 7583 computations (25.4% saved)

bsearch0.0ms (0%)

simplify4.0ms (0%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
02443
12443

end0.0ms (0%)

sample3.5s (23.6%)

Algorithm
intervals
Results
603.0ms1790×body1024valid
510.0ms1499×body1024invalid
356.0ms4859×body128valid
215.0ms919×body512valid
159.0ms720×body512invalid
69.0ms428×body256valid
63.0ms420×body256invalid
52.0ms651×body128invalid
2.0msbody2048valid
Compiler

Compiled 1301 to 974 computations (25.1% saved)

Profiling

Loading profile data...