Details

Time bar (total: 11.3s)

analyze961.0ms (8.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)

sample81.0ms (0.7%)

Algorithm
intervals
Results
19.0ms55×body1024valid
14.0ms39×body1024invalid
11.0ms150×body128valid
8.0ms32×body512valid
6.0ms24×body512invalid
3.0ms19×body256valid
2.0ms26×body128invalid
2.0ms11×body256invalid
Compiler

Compiled 39 to 34 computations (12.8% saved)

simplify179.0ms (1.6%)

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (4.0ms)

IterNodesCost
010620
110620

prune5.0ms (0%)

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 0.6b

Counts
2 → 2
Compiler

Compiled 45 to 37 computations (17.8% saved)

localize10.0ms (0.1%)

Local error

Found 3 expressions with local error:

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

rewrite34.0ms (0.3%)

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)))
8.0ms
(/.f64 (+.f64 (*.f64 a1 a1) (*.f64 a2 a2)) (sqrt.f64 2))
5.0ms
(+.f64 (*.f64 a1 a1) (*.f64 a2 a2))

series493.0ms (4.4%)

Counts
3 → 9
Calls

3 calls:

341.0ms
(*.f64 (cos.f64 th) (/.f64 (+.f64 (*.f64 a1 a1) (*.f64 a2 a2)) (sqrt.f64 2)))
110.0ms
(/.f64 (+.f64 (*.f64 a1 a1) (*.f64 a2 a2)) (sqrt.f64 2))
42.0ms
(+.f64 (*.f64 a1 a1) (*.f64 a2 a2))

simplify61.0ms (0.5%)

Algorithm
egg-herbie
Counts
103 → 103
Iterations

Useful iterations: 0 (34.0ms)

IterNodesCost
060332380

prune127.0ms (1.1%)

Pruning

7 alts after pruning (7 fresh and 0 done)

PrunedKeptTotal
New967103
Fresh101
Picked101
Done000
Total987105

Merged error: 0.3b

Counts
105 → 7
Compiler

Compiled 2444 to 950 computations (61.1% saved)

localize16.0ms (0.1%)

Local error

Found 4 expressions with local error:

0.2b
(/.f64 (sqrt.f64 (+.f64 (*.f64 a1 a1) (*.f64 a2 a2))) (cbrt.f64 (sqrt.f64 2)))
0.3b
(*.f64 (/.f64 (sqrt.f64 (+.f64 (*.f64 a1 a1) (*.f64 a2 a2))) (*.f64 (cbrt.f64 (sqrt.f64 2)) (cbrt.f64 (sqrt.f64 2)))) (/.f64 (sqrt.f64 (+.f64 (*.f64 a1 a1) (*.f64 a2 a2))) (cbrt.f64 (sqrt.f64 2))))
5.9b
(sqrt.f64 (+.f64 (*.f64 a1 a1) (*.f64 a2 a2)))
5.9b
(sqrt.f64 (+.f64 (*.f64 a1 a1) (*.f64 a2 a2)))

rewrite96.0ms (0.8%)

Algorithm
rewrite-expression-head
Rules
149×add-sqr-sqrt_binary64_435
146×times-frac_binary64_420
127×sqrt-prod_binary64_429
90×cbrt-prod_binary64_442
87×add-cube-cbrt_binary64_446 *-un-lft-identity_binary64_414
58×associate-*r*_binary64_356
27×add-exp-log_binary64_449
21×unswap-sqr_binary64_382
19×add-cbrt-cube_binary64_447
10×associate-*l*_binary64_357
associate-/r*_binary64_360
pow1_binary64_472 cbrt-undiv_binary64_445 prod-exp_binary64_460 cbrt-unprod_binary64_444 div-exp_binary64_462
sqrt-div_binary64_430 associate-/l*_binary64_361
add-log-exp_binary64_450
flip3-+_binary64_417 div-inv_binary64_411 flip-+_binary64_388
sqrt-pow1_binary64_431 pow1/2_binary64_491 associate-/l/_binary64_363 rem-sqrt-square_binary64_427
clear-num_binary64_413 associate-*l/_binary64_359 *-commutative_binary64_347 pow-prod-down_binary64_482 frac-2neg_binary64_425 frac-times_binary64_424 associate-*r/_binary64_358
Counts
4 → 226
Calls

4 calls:

36.0ms
(*.f64 (/.f64 (sqrt.f64 (+.f64 (*.f64 a1 a1) (*.f64 a2 a2))) (*.f64 (cbrt.f64 (sqrt.f64 2)) (cbrt.f64 (sqrt.f64 2)))) (/.f64 (sqrt.f64 (+.f64 (*.f64 a1 a1) (*.f64 a2 a2))) (cbrt.f64 (sqrt.f64 2))))
10.0ms
(/.f64 (sqrt.f64 (+.f64 (*.f64 a1 a1) (*.f64 a2 a2))) (cbrt.f64 (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)))

series471.0ms (4.2%)

Counts
4 → 12
Calls

4 calls:

249.0ms
(/.f64 (sqrt.f64 (+.f64 (*.f64 a1 a1) (*.f64 a2 a2))) (cbrt.f64 (sqrt.f64 2)))
123.0ms
(*.f64 (/.f64 (sqrt.f64 (+.f64 (*.f64 a1 a1) (*.f64 a2 a2))) (*.f64 (cbrt.f64 (sqrt.f64 2)) (cbrt.f64 (sqrt.f64 2)))) (/.f64 (sqrt.f64 (+.f64 (*.f64 a1 a1) (*.f64 a2 a2))) (cbrt.f64 (sqrt.f64 2))))
53.0ms
(sqrt.f64 (+.f64 (*.f64 a1 a1) (*.f64 a2 a2)))
46.0ms
(sqrt.f64 (+.f64 (*.f64 a1 a1) (*.f64 a2 a2)))

simplify154.0ms (1.4%)

Algorithm
egg-herbie
Counts
238 → 238
Iterations

Useful iterations: 0 (81.0ms)

IterNodesCost
049058058
149058058

prune437.0ms (3.9%)

Pruning

7 alts after pruning (6 fresh and 1 done)

PrunedKeptTotal
New2371238
Fresh156
Picked011
Done000
Total2387245

Merged error: 0.3b

Counts
245 → 7
Compiler

Compiled 9564 to 4317 computations (54.9% saved)

localize15.0ms (0.1%)

Local error

Found 4 expressions with local error:

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

rewrite395.0ms (3.5%)

Algorithm
rewrite-expression-head
Rules
1707×times-frac_binary64_420
944×cbrt-prod_binary64_442
906×add-sqr-sqrt_binary64_435
829×add-cube-cbrt_binary64_446 *-un-lft-identity_binary64_414
558×unpow-prod-down_binary64_490
472×sqrt-prod_binary64_429
418×associate-*r*_binary64_356
64×sqr-pow_binary64_386 unpow2_binary64_476
49×associate-/l*_binary64_361
35×add-exp-log_binary64_449
23×associate-/r*_binary64_360
22×div-inv_binary64_411 unswap-sqr_binary64_382
17×div-exp_binary64_462
16×add-cbrt-cube_binary64_447
cbrt-undiv_binary64_445
pow1_binary64_472 add-log-exp_binary64_450
prod-exp_binary64_460
pow-exp_binary64_479 pow-to-exp_binary64_480 associate-*l*_binary64_357 cbrt-unprod_binary64_444 associate-/l/_binary64_363
clear-num_binary64_413 flip3-+_binary64_417 flip-+_binary64_388 frac-2neg_binary64_425
*-commutative_binary64_347 +-commutative_binary64_346 pow-prod-down_binary64_482 sum-log_binary64_502 associate-*r/_binary64_358
Counts
4 → 1033
Calls

4 calls:

126.0ms
(*.f64 (cos.f64 th) (/.f64 (/.f64 (+.f64 (*.f64 a1 a1) (*.f64 a2 a2)) (pow.f64 (cbrt.f64 (sqrt.f64 2)) 2)) (cbrt.f64 (sqrt.f64 2))))
27.0ms
(/.f64 (/.f64 (+.f64 (*.f64 a1 a1) (*.f64 a2 a2)) (pow.f64 (cbrt.f64 (sqrt.f64 2)) 2)) (cbrt.f64 (sqrt.f64 2)))
14.0ms
(/.f64 (+.f64 (*.f64 a1 a1) (*.f64 a2 a2)) (pow.f64 (cbrt.f64 (sqrt.f64 2)) 2))
5.0ms
(+.f64 (*.f64 a1 a1) (*.f64 a2 a2))

series834.0ms (7.4%)

Counts
4 → 12
Calls

4 calls:

345.0ms
(/.f64 (+.f64 (*.f64 a1 a1) (*.f64 a2 a2)) (pow.f64 (cbrt.f64 (sqrt.f64 2)) 2))
329.0ms
(*.f64 (cos.f64 th) (/.f64 (/.f64 (+.f64 (*.f64 a1 a1) (*.f64 a2 a2)) (pow.f64 (cbrt.f64 (sqrt.f64 2)) 2)) (cbrt.f64 (sqrt.f64 2))))
118.0ms
(/.f64 (/.f64 (+.f64 (*.f64 a1 a1) (*.f64 a2 a2)) (pow.f64 (cbrt.f64 (sqrt.f64 2)) 2)) (cbrt.f64 (sqrt.f64 2)))
41.0ms
(+.f64 (*.f64 a1 a1) (*.f64 a2 a2))

simplify380.0ms (3.4%)

Algorithm
egg-herbie
Counts
1045 → 1045
Iterations

Useful iterations: 0 (40.0ms)

IterNodesCost
0536143863

prune3.1s (27.1%)

Pruning

7 alts after pruning (5 fresh and 2 done)

PrunedKeptTotal
New104411045
Fresh145
Picked011
Done011
Total104571052

Merged error: 0.3b

Counts
1052 → 7
Compiler

Compiled 39406 to 21601 computations (45.2% saved)

localize10.0ms (0.1%)

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.6b
(/.f64 (*.f64 (+.f64 (*.f64 a1 a1) (*.f64 a2 a2)) (cos.f64 th)) (sqrt.f64 2))

rewrite26.0ms (0.2%)

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:

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

series416.0ms (3.7%)

Counts
3 → 9
Calls

3 calls:

229.0ms
(/.f64 (*.f64 (+.f64 (*.f64 a1 a1) (*.f64 a2 a2)) (cos.f64 th)) (sqrt.f64 2))
144.0ms
(*.f64 (+.f64 (*.f64 a1 a1) (*.f64 a2 a2)) (cos.f64 th))
43.0ms
(+.f64 (*.f64 a1 a1) (*.f64 a2 a2))

simplify93.0ms (0.8%)

Algorithm
egg-herbie
Counts
69 → 69
Iterations

Useful iterations: 0 (77.0ms)

IterNodesCost
049321293
149321293

prune57.0ms (0.5%)

Pruning

7 alts after pruning (4 fresh and 3 done)

PrunedKeptTotal
New69069
Fresh044
Picked011
Done022
Total69776

Merged error: 0.3b

Counts
76 → 7
Compiler

Compiled 1266 to 440 computations (65.2% saved)

regimes109.0ms (1%)

Compiler

Compiled 1114 to 858 computations (23% saved)

bsearch0.0ms (0%)

simplify2.0ms (0%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
02052
12052

end0.0ms (0%)

sample2.8s (24.4%)

Algorithm
intervals
Results
664.0ms1810×body1024valid
564.0ms1566×body1024invalid
386.0ms4818×body128valid
213.0ms889×body512valid
184.0ms749×body512invalid
77.0ms480×body256valid
63.0ms395×body256invalid
59.0ms660×body128invalid
4.0msbody2048valid
Compiler

Compiled 234 to 177 computations (24.4% saved)

Profiling

Loading profile data...