Details

Time bar (total: 19.4s)

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

sample107.0ms (0.5%)

Algorithm
intervals
Results
25.0ms52×body1024valid
20.0ms48×body1024invalid
15.0ms149×body128valid
12.0ms41×body512valid
5.0ms19×body512invalid
3.0ms13×body256valid
2.0ms23×body128invalid
2.0ms11×body256invalid
0.0msbody2048valid
Compiler

Compiled 39 to 34 computations (12.8% saved)

simplify143.0ms (0.7%)

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (8.0ms)

IterNodesCost
010620
110620

prune9.0ms (0%)

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022
Error
0.3b
Counts
2 → 2
Compiler

Compiled 45 to 37 computations (17.8% saved)

localize19.0ms (0.1%)

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

rewrite169.0ms (0.9%)

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

3 calls:

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

Compiled 2362 to 862 computations (63.5% saved)

series888.0ms (4.6%)

Error
0.3b
Counts
3 → 42
Calls

3 calls:

487.0ms
(*.f64 (cos.f64 th) (/.f64 (+.f64 (*.f64 a1 a1) (*.f64 a2 a2)) (sqrt.f64 2)))
219.0ms
(/.f64 (+.f64 (*.f64 a1 a1) (*.f64 a2 a2)) (sqrt.f64 2))
126.0ms
(+.f64 (*.f64 a1 a1) (*.f64 a2 a2))
Compiler

Compiled 1676 to 1476 computations (11.9% saved)

simplify90.0ms (0.5%)

Algorithm
egg-herbie
Counts
136 → 136
Iterations

Useful iterations: 0 (56.0ms)

IterNodesCost
050442993

prune192.0ms (1%)

Pruning

7 alts after pruning (7 fresh and 0 done)

PrunedKeptTotal
New1306136
Fresh011
Picked101
Done000
Total1317138
Error
0b
Counts
138 → 7
Compiler

Compiled 2871 to 1157 computations (59.7% saved)

localize20.0ms (0.1%)

Local error

Found 4 expressions with local error:

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

rewrite333.0ms (1.7%)

Algorithm
rewrite-expression-head
Error
0b
Rules
100×sqrt-prod_binary64_435
91×add-sqr-sqrt_binary64_441
80×times-frac_binary64_425
61×add-cube-cbrt_binary64_454 *-un-lft-identity_binary64_419
40×associate-*r*_binary64_359
11×add-exp-log_binary64_457 add-cbrt-cube_binary64_455
10×sqrt-div_binary64_436 unswap-sqr_binary64_387
pow1_binary64_480
associate-/l*_binary64_364 associate-/r*_binary64_363 associate-*l*_binary64_360
flip3-+_binary64_422 flip-+_binary64_393
add-log-exp_binary64_458
pow1/2_binary64_499 sqrt-pow1_binary64_437 rem-sqrt-square_binary64_432 div-exp_binary64_470 cbrt-undiv_binary64_453 sqrt-undiv_binary64_440 div-inv_binary64_416 associate-/l/_binary64_366 prod-exp_binary64_468 cbrt-unprod_binary64_452 frac-times_binary64_429 associate-*l/_binary64_362
frac-2neg_binary64_430 clear-num_binary64_418 pow-prod-down_binary64_490 sqrt-unprod_binary64_439 associate-*r/_binary64_361 *-commutative_binary64_350
Counts
4 → 168
Calls

4 calls:

31.0ms
(*.f64 (sqrt.f64 (+.f64 (*.f64 a2 a2) (*.f64 a1 a1))) (/.f64 (sqrt.f64 (+.f64 (*.f64 a2 a2) (*.f64 a1 a1))) (sqrt.f64 2)))
9.0ms
(/.f64 (sqrt.f64 (+.f64 (*.f64 a2 a2) (*.f64 a1 a1))) (sqrt.f64 2))
4.0ms
(sqrt.f64 (+.f64 (*.f64 a2 a2) (*.f64 a1 a1)))
4.0ms
(sqrt.f64 (+.f64 (*.f64 a2 a2) (*.f64 a1 a1)))
Compiler

Compiled 6288 to 1682 computations (73.3% saved)

series896.0ms (4.6%)

Error
0b
Counts
4 → 66
Calls

4 calls:

292.0ms
(/.f64 (sqrt.f64 (+.f64 (*.f64 a2 a2) (*.f64 a1 a1))) (sqrt.f64 2))
210.0ms
(*.f64 (sqrt.f64 (+.f64 (*.f64 a2 a2) (*.f64 a1 a1))) (/.f64 (sqrt.f64 (+.f64 (*.f64 a2 a2) (*.f64 a1 a1))) (sqrt.f64 2)))
156.0ms
(sqrt.f64 (+.f64 (*.f64 a2 a2) (*.f64 a1 a1)))
152.0ms
(sqrt.f64 (+.f64 (*.f64 a2 a2) (*.f64 a1 a1)))
Compiler

Compiled 4050 to 2888 computations (28.7% saved)

simplify122.0ms (0.6%)

Algorithm
egg-herbie
Counts
234 → 234
Iterations

Useful iterations: 0 (65.0ms)

IterNodesCost
050345581

prune288.0ms (1.5%)

Pruning

7 alts after pruning (6 fresh and 1 done)

PrunedKeptTotal
New2340234
Fresh066
Picked011
Done000
Total2347241
Error
0b
Counts
241 → 7
Compiler

Compiled 6939 to 2325 computations (66.5% saved)

localize12.0ms (0.1%)

Local error

Found 4 expressions with local error:

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

rewrite294.0ms (1.5%)

Algorithm
rewrite-expression-head
Error
0b
Rules
76×times-frac_binary64_425
70×add-sqr-sqrt_binary64_441
60×add-cube-cbrt_binary64_454 *-un-lft-identity_binary64_419
44×sqrt-prod_binary64_435 associate-*l*_binary64_360
32×add-exp-log_binary64_457 add-cbrt-cube_binary64_455
14×pow1_binary64_480
12×associate-/r*_binary64_363 prod-exp_binary64_468 cbrt-unprod_binary64_452
div-exp_binary64_470 cbrt-undiv_binary64_453 associate-/l*_binary64_364 pow-prod-down_binary64_490 unswap-sqr_binary64_387
add-log-exp_binary64_458 div-inv_binary64_416
frac-2neg_binary64_430 clear-num_binary64_418 associate-*l/_binary64_362 associate-*r*_binary64_359 *-commutative_binary64_350
Counts
4 → 168
Calls

4 calls:

11.0ms
(*.f64 (/.f64 (cos.f64 th) (sqrt.f64 2)) (*.f64 a2 a2))
10.0ms
(*.f64 (/.f64 (cos.f64 th) (sqrt.f64 2)) (*.f64 a1 a1))
5.0ms
(/.f64 (cos.f64 th) (sqrt.f64 2))
5.0ms
(/.f64 (cos.f64 th) (sqrt.f64 2))
Compiler

Compiled 4634 to 2439 computations (47.4% saved)

series572.0ms (2.9%)

Error
0b
Counts
4 → 30
Calls

4 calls:

192.0ms
(*.f64 (/.f64 (cos.f64 th) (sqrt.f64 2)) (*.f64 a1 a1))
177.0ms
(*.f64 (/.f64 (cos.f64 th) (sqrt.f64 2)) (*.f64 a2 a2))
82.0ms
(/.f64 (cos.f64 th) (sqrt.f64 2))
76.0ms
(/.f64 (cos.f64 th) (sqrt.f64 2))
Compiler

Compiled 1870 to 1456 computations (22.1% saved)

simplify83.0ms (0.4%)

Algorithm
egg-herbie
Counts
198 → 198
Iterations

Useful iterations: 0 (41.0ms)

IterNodesCost
050873432

prune332.0ms (1.7%)

Pruning

7 alts after pruning (5 fresh and 2 done)

PrunedKeptTotal
New1980198
Fresh055
Picked011
Done011
Total1987205
Error
0b
Counts
205 → 7
Compiler

Compiled 5223 to 2838 computations (45.7% saved)

localize19.0ms (0.1%)

Local error

Found 4 expressions with local error:

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

rewrite2.5s (12.9%)

Algorithm
rewrite-expression-head
Error
0b
Rules
1137×sqrt-prod_binary64_435
1119×times-frac_binary64_425
625×add-sqr-sqrt_binary64_441
578×add-cube-cbrt_binary64_454 *-un-lft-identity_binary64_419
283×associate-*r*_binary64_359
34×associate-/l*_binary64_364
22×div-inv_binary64_416
20×add-exp-log_binary64_457 add-cbrt-cube_binary64_455
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
associate-/l/_binary64_366 prod-exp_binary64_468 cbrt-unprod_binary64_452 associate-*l*_binary64_360
frac-2neg_binary64_430 clear-num_binary64_418 flip3-+_binary64_422 flip-+_binary64_393
pow-prod-down_binary64_490 associate-*r/_binary64_361 *-commutative_binary64_350 sum-log_binary64_510 +-commutative_binary64_349
Counts
4 → 713
Calls

4 calls:

108.0ms
(*.f64 (cos.f64 th) (/.f64 (/.f64 (+.f64 (*.f64 a2 a2) (*.f64 a1 a1)) (sqrt.f64 (sqrt.f64 2))) (sqrt.f64 (sqrt.f64 2))))
23.0ms
(/.f64 (/.f64 (+.f64 (*.f64 a2 a2) (*.f64 a1 a1)) (sqrt.f64 (sqrt.f64 2))) (sqrt.f64 (sqrt.f64 2)))
9.0ms
(/.f64 (+.f64 (*.f64 a2 a2) (*.f64 a1 a1)) (sqrt.f64 (sqrt.f64 2)))
8.0ms
(+.f64 (*.f64 a2 a2) (*.f64 a1 a1))
Compiler

Compiled 27448 to 15232 computations (44.5% saved)

series1.2s (6.1%)

Error
0b
Counts
4 → 54
Calls

4 calls:

436.0ms
(*.f64 (cos.f64 th) (/.f64 (/.f64 (+.f64 (*.f64 a2 a2) (*.f64 a1 a1)) (sqrt.f64 (sqrt.f64 2))) (sqrt.f64 (sqrt.f64 2))))
327.0ms
(/.f64 (+.f64 (*.f64 a2 a2) (*.f64 a1 a1)) (sqrt.f64 (sqrt.f64 2)))
222.0ms
(/.f64 (/.f64 (+.f64 (*.f64 a2 a2) (*.f64 a1 a1)) (sqrt.f64 (sqrt.f64 2))) (sqrt.f64 (sqrt.f64 2)))
112.0ms
(+.f64 (*.f64 a2 a2) (*.f64 a1 a1))
Compiler

Compiled 2486 to 2250 computations (9.5% saved)

simplify376.0ms (1.9%)

Algorithm
egg-herbie
Counts
767 → 767
Iterations

Useful iterations: 0 (96.0ms)

IterNodesCost
0497026923
1497026923

prune2.0s (10.1%)

Pruning

7 alts after pruning (4 fresh and 3 done)

PrunedKeptTotal
New7661767
Fresh134
Picked011
Done022
Total7677774
Error
0b
Counts
774 → 7
Compiler

Compiled 24529 to 12118 computations (50.6% saved)

regimes2.1s (10.8%)

Accuracy

Total 0.3b remaining (99.7%)

Threshold costs 0.3b (99.7%)

Compiler

Compiled 19671 to 14367 computations (27% saved)

bsearch0.0ms (0%)

simplify3.0ms (0%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
01734
11734

end0.0ms (0%)

sample5.7s (29.5%)

Algorithm
intervals
Results
715.0ms1878×body1024valid
624.0ms1590×body1024invalid
419.0ms4751×body128valid
261.0ms886×body512valid
232.0ms817×body512invalid
90.0ms478×body256valid
72.0ms396×body256invalid
65.0ms665×body128invalid
4.0msbody2048valid
Compiler

Compiled 2471 to 1798 computations (27.2% saved)

Profiling

Loading profile data...