Details

Time bar (total: 7.2s)

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

sample97.0ms (1.3%)

Algorithm
intervals
Results
20.0ms47×body1280invalid
15.0ms37×body640invalid
13.0ms31×body1280valid
12.0ms167×body80valid
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

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

rewrite36.0ms (0.5%)

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:

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

series443.0ms (6.2%)

Counts
3 → 9
Calls

3 calls:

306.0ms
(*.f64 (cos.f64 th) (/.f64 (+.f64 (*.f64 a1 a1) (*.f64 a2 a2)) (sqrt.f64 2)))
97.0ms
(/.f64 (+.f64 (*.f64 a1 a1) (*.f64 a2 a2)) (sqrt.f64 2))
40.0ms
(+.f64 (*.f64 a1 a1) (*.f64 a2 a2))

simplify86.0ms (1.2%)

Algorithm
egg-herbie
Counts
106 → 106
Iterations

Useful iterations: 0 (53.0ms)

IterNodesCost
060382431

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

rewrite30.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:

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

series403.0ms (5.6%)

Counts
3 → 9
Calls

3 calls:

225.0ms
(/.f64 (*.f64 (+.f64 (*.f64 a1 a1) (*.f64 a2 a2)) (cos.f64 th)) (sqrt.f64 2))
131.0ms
(*.f64 (+.f64 (*.f64 a1 a1) (*.f64 a2 a2)) (cos.f64 th))
47.0ms
(+.f64 (*.f64 a1 a1) (*.f64 a2 a2))

simplify154.0ms (2.2%)

Algorithm
egg-herbie
Counts
72 → 72
Iterations

Useful iterations: 0 (127.0ms)

IterNodesCost
049331344
149331344

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

series321.0ms (4.5%)

Counts
3 → 9
Calls

3 calls:

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

simplify125.0ms (1.7%)

Algorithm
egg-herbie
Counts
170 → 170
Iterations

Useful iterations: 0 (70.0ms)

IterNodesCost
051075085

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

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

rewrite77.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:

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

series278.0ms (3.9%)

Counts
4 → 12
Calls

4 calls:

100.0ms
(/.f64 (sqrt.f64 (+.f64 (*.f64 a1 a1) (*.f64 a2 a2))) (/.f64 (sqrt.f64 2) (sqrt.f64 (+.f64 (*.f64 a1 a1) (*.f64 a2 a2)))))
82.0ms
(/.f64 (sqrt.f64 2) (sqrt.f64 (+.f64 (*.f64 a1 a1) (*.f64 a2 a2))))
52.0ms
(sqrt.f64 (+.f64 (*.f64 a1 a1) (*.f64 a2 a2)))
43.0ms
(sqrt.f64 (+.f64 (*.f64 a1 a1) (*.f64 a2 a2)))

simplify281.0ms (3.9%)

Algorithm
egg-herbie
Counts
427 → 427
Iterations

Useful iterations: 0 (130.0ms)

IterNodesCost
0494316840
1494316840

prune516.0ms (7.2%)

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)

regimes102.0ms (1.4%)

Compiler

Compiled 868 to 744 computations (14.3% saved)

bsearch0.0ms (0%)

simplify5.0ms (0.1%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
01420
11420

end0.0ms (0%)

sample3.0s (41.7%)

Algorithm
intervals
Results
583.0ms1334×body1280valid
551.0ms1238×body1280invalid
358.0ms1160×body640valid
353.0ms4690×body80valid
303.0ms1004×body640invalid
121.0ms547×body320valid
109.0ms498×body320invalid
41.0ms517×body80invalid
41.0ms269×body160valid
36.0ms225×body160invalid
Compiler

Compiled 174 to 147 computations (15.5% saved)

Profiling

Loading profile data...