Details

Time bar (total: 7.4s)

analyze769.0ms (10.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)

sample100.0ms (1.3%)

Algorithm
intervals
Results
21.0ms47×body1280invalid
14.0ms31×body1280valid
13.0ms167×body80valid
12.0ms37×body640invalid
10.0ms32×body640valid
4.0ms18×body320valid
4.0ms17×body320invalid
2.0ms12×body160invalid
2.0ms21×body80invalid
1.0msbody160valid
Compiler

Compiled 39 to 34 computations (12.8% saved)

simplify24.0ms (0.3%)

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (9.0ms)

IterNodesCost
010620
110620

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

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

rewrite32.0ms (0.4%)

Algorithm
rewrite-expression-head
Rules
40×add-sqr-sqrt_binary64
38×times-frac_binary64
32×*-un-lft-identity_binary64 add-cube-cbrt_binary64
22×associate-*r*_binary64 sqrt-prod_binary64
10×add-exp-log_binary64 add-cbrt-cube_binary64
associate-/r*_binary64
add-log-exp_binary64 pow1_binary64
associate-*l*_binary64 unswap-sqr_binary64 associate-/l*_binary64 insert-posit16
flip3-+_binary64 associate-/l/_binary64 cbrt-unprod_binary64 cbrt-undiv_binary64 prod-exp_binary64 div-inv_binary64 div-exp_binary64 flip-+_binary64
pow-prod-down_binary64 associate-*r/_binary64 clear-num_binary64 frac-2neg_binary64 +-commutative_binary64 sum-log_binary64 *-commutative_binary64
Counts
3 → 97
Calls

3 calls:

14.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))
5.0ms
(+.f64 (*.f64 a1 a1) (*.f64 a2 a2))

series455.0ms (6.1%)

Counts
3 → 9
Calls

3 calls:

306.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))
45.0ms
(+.f64 (*.f64 a1 a1) (*.f64 a2 a2))

simplify90.0ms (1.2%)

Algorithm
egg-herbie
Counts
106 → 106
Iterations

Useful iterations: 0 (55.0ms)

IterNodesCost
060382431

prune131.0ms (1.8%)

Pruning

9 alts after pruning (9 fresh and 0 done)

PrunedKeptTotal
New988106
Fresh011
Picked101
Done000
Total999108

Merged error: 0b

Counts
108 → 9
Compiler

Compiled 2494 to 983 computations (60.6% saved)

localize10.0ms (0.1%)

Local error

Found 3 expressions with local error:

0.0b
(+.f64 (*.f64 a1 a1) (*.f64 a2 a2))
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))

rewrite27.0ms (0.4%)

Algorithm
rewrite-expression-head
Rules
11×add-sqr-sqrt_binary64
10×add-exp-log_binary64 add-cbrt-cube_binary64
*-un-lft-identity_binary64 add-cube-cbrt_binary64
associate-/r*_binary64 times-frac_binary64 sqrt-prod_binary64
add-log-exp_binary64 pow1_binary64
associate-*l/_binary64
flip3-+_binary64 associate-*r*_binary64 associate-*l*_binary64 insert-posit16 flip-+_binary64
associate-/l/_binary64 cbrt-unprod_binary64 cbrt-undiv_binary64 prod-exp_binary64 div-exp_binary64
pow-prod-down_binary64 unswap-sqr_binary64 clear-num_binary64 frac-2neg_binary64 associate-/l*_binary64 div-inv_binary64 +-commutative_binary64 sum-log_binary64 *-commutative_binary64
Counts
3 → 63
Calls

3 calls:

11.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))
5.0ms
(+.f64 (*.f64 a1 a1) (*.f64 a2 a2))

series392.0ms (5.3%)

Counts
3 → 9
Calls

3 calls:

216.0ms
(/.f64 (*.f64 (+.f64 (*.f64 a1 a1) (*.f64 a2 a2)) (cos.f64 th)) (sqrt.f64 2))
132.0ms
(*.f64 (+.f64 (*.f64 a1 a1) (*.f64 a2 a2)) (cos.f64 th))
44.0ms
(+.f64 (*.f64 a1 a1) (*.f64 a2 a2))

simplify154.0ms (2.1%)

Algorithm
egg-herbie
Counts
72 → 72
Iterations

Useful iterations: 0 (129.0ms)

IterNodesCost
049331344
149331344

prune74.0ms (1%)

Pruning

9 alts after pruning (8 fresh and 1 done)

PrunedKeptTotal
New70272
Fresh268
Picked011
Done000
Total72981

Merged error: 0b

Counts
81 → 9
Compiler

Compiled 1487 to 592 computations (60.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 (sqrt.f64 2) (cos.f64 th))
0.3b
(/.f64 (+.f64 (*.f64 a1 a1) (*.f64 a2 a2)) (/.f64 (sqrt.f64 2) (cos.f64 th)))

rewrite34.0ms (0.5%)

Algorithm
rewrite-expression-head
Rules
156×times-frac_binary64
93×*-un-lft-identity_binary64 add-cube-cbrt_binary64 add-sqr-sqrt_binary64
48×sqrt-prod_binary64
25×associate-/r*_binary64
10×add-exp-log_binary64 add-cbrt-cube_binary64
associate-/l*_binary64
div-inv_binary64
add-log-exp_binary64
cbrt-undiv_binary64 div-exp_binary64
pow1_binary64 insert-posit16
flip3-+_binary64 associate-/l/_binary64 clear-num_binary64 frac-2neg_binary64 flip-+_binary64
associate-/r/_binary64 +-commutative_binary64 sum-log_binary64
Counts
3 → 161
Calls

3 calls:

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

series313.0ms (4.2%)

Counts
3 → 9
Calls

3 calls:

215.0ms
(/.f64 (+.f64 (*.f64 a1 a1) (*.f64 a2 a2)) (/.f64 (sqrt.f64 2) (cos.f64 th)))
59.0ms
(/.f64 (sqrt.f64 2) (cos.f64 th))
38.0ms
(+.f64 (*.f64 a1 a1) (*.f64 a2 a2))

simplify127.0ms (1.7%)

Algorithm
egg-herbie
Counts
170 → 170
Iterations

Useful iterations: 0 (72.0ms)

IterNodesCost
051075085

prune180.0ms (2.4%)

Pruning

7 alts after pruning (6 fresh and 1 done)

PrunedKeptTotal
New1691170
Fresh257
Picked101
Done011
Total1727179

Merged error: 0b

Counts
179 → 7
Compiler

Compiled 4195 to 1550 computations (63.1% saved)

localize13.0ms (0.2%)

Local error

Found 4 expressions with local error:

0.2b
(/.f64 (sqrt.f64 (+.f64 (*.f64 a1 a1) (*.f64 a2 a2))) (/.f64 (sqrt.f64 2) (sqrt.f64 (+.f64 (*.f64 a1 a1) (*.f64 a2 a2)))))
0.4b
(/.f64 (sqrt.f64 2) (sqrt.f64 (+.f64 (*.f64 a1 a1) (*.f64 a2 a2))))
8.0b
(sqrt.f64 (+.f64 (*.f64 a1 a1) (*.f64 a2 a2)))
8.0b
(sqrt.f64 (+.f64 (*.f64 a1 a1) (*.f64 a2 a2)))

rewrite81.0ms (1.1%)

Algorithm
rewrite-expression-head
Rules
540×times-frac_binary64
429×sqrt-prod_binary64
297×add-sqr-sqrt_binary64
295×*-un-lft-identity_binary64 add-cube-cbrt_binary64
48×associate-/r*_binary64
22×sqrt-div_binary64
17×associate-/r/_binary64
12×associate-/l*_binary64
11×flip3-+_binary64 add-exp-log_binary64 add-cbrt-cube_binary64 flip-+_binary64
div-inv_binary64
pow1_binary64
add-log-exp_binary64 cbrt-undiv_binary64 div-exp_binary64 insert-posit16
sqrt-undiv_binary64
associate-/l/_binary64 pow1/2_binary64 sqrt-pow1_binary64 rem-sqrt-square_binary64 clear-num_binary64 frac-2neg_binary64
Counts
4 → 415
Calls

4 calls:

28.0ms
(/.f64 (sqrt.f64 (+.f64 (*.f64 a1 a1) (*.f64 a2 a2))) (/.f64 (sqrt.f64 2) (sqrt.f64 (+.f64 (*.f64 a1 a1) (*.f64 a2 a2)))))
10.0ms
(/.f64 (sqrt.f64 2) (sqrt.f64 (+.f64 (*.f64 a1 a1) (*.f64 a2 a2))))
5.0ms
(sqrt.f64 (+.f64 (*.f64 a1 a1) (*.f64 a2 a2)))
5.0ms
(sqrt.f64 (+.f64 (*.f64 a1 a1) (*.f64 a2 a2)))

series280.0ms (3.8%)

Counts
4 → 12
Calls

4 calls:

104.0ms
(/.f64 (sqrt.f64 (+.f64 (*.f64 a1 a1) (*.f64 a2 a2))) (/.f64 (sqrt.f64 2) (sqrt.f64 (+.f64 (*.f64 a1 a1) (*.f64 a2 a2)))))
86.0ms
(/.f64 (sqrt.f64 2) (sqrt.f64 (+.f64 (*.f64 a1 a1) (*.f64 a2 a2))))
47.0ms
(sqrt.f64 (+.f64 (*.f64 a1 a1) (*.f64 a2 a2)))
43.0ms
(sqrt.f64 (+.f64 (*.f64 a1 a1) (*.f64 a2 a2)))

simplify287.0ms (3.9%)

Algorithm
egg-herbie
Counts
427 → 427
Iterations

Useful iterations: 0 (132.0ms)

IterNodesCost
0494316840
1494316840

prune554.0ms (7.5%)

Pruning

7 alts after pruning (5 fresh and 2 done)

PrunedKeptTotal
New4270427
Fresh055
Picked011
Done011
Total4277434

Merged error: 0b

Counts
434 → 7
Compiler

Compiled 14268 to 4413 computations (69.1% saved)

regimes101.0ms (1.4%)

Compiler

Compiled 868 to 744 computations (14.3% saved)

bsearch0.0ms (0%)

simplify6.0ms (0.1%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
01420
11420

end0.0ms (0%)

sample3.1s (42.5%)

Algorithm
intervals
Results
622.0ms1334×body1280valid
570.0ms1238×body1280invalid
382.0ms1160×body640valid
369.0ms4690×body80valid
332.0ms1004×body640invalid
126.0ms547×body320valid
120.0ms498×body320invalid
44.0ms269×body160valid
43.0ms517×body80invalid
37.0ms225×body160invalid
Compiler

Compiled 174 to 147 computations (15.5% saved)

Profiling

Loading profile data...