Details

Time bar (total: 9.4s)

analyze2.3s (23.9%)

Algorithm
search
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
05562539
055
155
Search
TrueOtherFalseIter
0%99.8%0.2%0
0%99.8%0.2%1
0%99.8%0.2%2
0%99.8%0.2%3
0%99.8%0.2%4
0%99.8%0.2%5
0%99.8%0.2%6
0%99.8%0.2%7
0%99.8%0.2%8
0%99.8%0.2%9
0%99.8%0.2%10
0.8%99%0.2%11
4.7%95.1%0.2%12
5.9%93.2%0.8%13
8.5%90.2%1.3%14
Compiler

Compiled 33 to 22 computations (33.3% saved)

sample86.0ms (0.9%)

Algorithm
intervals
Results
26.0ms203×body128valid
10.0ms21×body1024valid
8.0ms76×body128invalid
7.0ms15×body1024invalid
6.0ms19×body512valid
3.0ms13×body256valid
2.0msbody512invalid
1.0msbody256invalid
Compiler

Compiled 65 to 48 computations (26.2% saved)

simplify129.0ms (1.4%)

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (123.0ms)

IterNodesCost
0496049
1496049

prune3.0ms (0%)

Pruning

2 alts after pruning (2 fresh and 0 done)

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

Compiled 64 to 42 computations (34.4% saved)

localize16.0ms (0.2%)

Local error

Found 4 expressions with local error:

0.2b
(*.f64 (*.f64 (-.f64 lambda1 lambda2) (cos.f64 (/.f64 (+.f64 phi1 phi2) 2))) (*.f64 (-.f64 lambda1 lambda2) (cos.f64 (/.f64 (+.f64 phi1 phi2) 2))))
2.7b
(cos.f64 (/.f64 (+.f64 phi1 phi2) 2))
2.7b
(cos.f64 (/.f64 (+.f64 phi1 phi2) 2))
33.9b
(sqrt.f64 (+.f64 (*.f64 (*.f64 (-.f64 lambda1 lambda2) (cos.f64 (/.f64 (+.f64 phi1 phi2) 2))) (*.f64 (-.f64 lambda1 lambda2) (cos.f64 (/.f64 (+.f64 phi1 phi2) 2)))) (*.f64 (-.f64 phi1 phi2) (-.f64 phi1 phi2))))

rewrite81.0ms (0.9%)

Algorithm
rewrite-expression-head
Rules
142×associate-*l/_binary64_703
102×flip--_binary64_735 flip3--_binary64_764
68×frac-times_binary64_770
66×sqrt-div_binary64_777
64×frac-add_binary64_768
44×pow1_binary64_821
34×associate-*r/_binary64_702
17×pow-prod-down_binary64_831
16×add-exp-log_binary64_798 add-cbrt-cube_binary64_796
prod-exp_binary64_809 cbrt-unprod_binary64_793
add-sqr-sqrt_binary64_782
*-un-lft-identity_binary64_760 add-cube-cbrt_binary64_795
add-log-exp_binary64_799 pow-sqr_binary64_733 pow-prod-up_binary64_830
sqrt-prod_binary64_776
pow-plus_binary64_823
pow2_binary64_841 rem-sqrt-square_binary64_773 flip3-+_binary64_763 sqrt-pow1_binary64_778 flip-+_binary64_734 swap-sqr_binary64_727 associate-*r*_binary64_700 associate-*l*_binary64_701 pow1/2_binary64_840 *-commutative_binary64_691
Counts
4 → 135
Calls

4 calls:

24.0ms
(sqrt.f64 (+.f64 (*.f64 (*.f64 (-.f64 lambda1 lambda2) (cos.f64 (/.f64 (+.f64 phi1 phi2) 2))) (*.f64 (-.f64 lambda1 lambda2) (cos.f64 (/.f64 (+.f64 phi1 phi2) 2)))) (*.f64 (-.f64 phi1 phi2) (-.f64 phi1 phi2))))
17.0ms
(*.f64 (*.f64 (-.f64 lambda1 lambda2) (cos.f64 (/.f64 (+.f64 phi1 phi2) 2))) (*.f64 (-.f64 lambda1 lambda2) (cos.f64 (/.f64 (+.f64 phi1 phi2) 2))))
6.0ms
(cos.f64 (/.f64 (+.f64 phi1 phi2) 2))
5.0ms
(cos.f64 (/.f64 (+.f64 phi1 phi2) 2))

series927.0ms (9.8%)

Counts
4 → 12
Calls

4 calls:

731.0ms
(sqrt.f64 (+.f64 (*.f64 (*.f64 (-.f64 lambda1 lambda2) (cos.f64 (/.f64 (+.f64 phi1 phi2) 2))) (*.f64 (-.f64 lambda1 lambda2) (cos.f64 (/.f64 (+.f64 phi1 phi2) 2)))) (*.f64 (-.f64 phi1 phi2) (-.f64 phi1 phi2))))
161.0ms
(*.f64 (*.f64 (-.f64 lambda1 lambda2) (cos.f64 (/.f64 (+.f64 phi1 phi2) 2))) (*.f64 (-.f64 lambda1 lambda2) (cos.f64 (/.f64 (+.f64 phi1 phi2) 2))))
18.0ms
(cos.f64 (/.f64 (+.f64 phi1 phi2) 2))
16.0ms
(cos.f64 (/.f64 (+.f64 phi1 phi2) 2))

simplify100.0ms (1.1%)

Algorithm
egg-herbie
Counts
147 → 147
Iterations

Useful iterations: 0 (19.0ms)

IterNodesCost
0522810334

prune307.0ms (3.3%)

Pruning

10 alts after pruning (9 fresh and 1 done)

PrunedKeptTotal
New1389147
Fresh000
Picked011
Done000
Total13810148
Error
12.7b
Counts
148 → 10
Compiler

Compiled 8917 to 3005 computations (66.3% saved)

localize4.0ms (0%)

Local error

Found 1 expressions with local error:

0.0b
(*.f64 R (-.f64 phi2 phi1))

rewrite9.0ms (0.1%)

Algorithm
rewrite-expression-head
Rules
add-sqr-sqrt_binary64_782
*-un-lft-identity_binary64_760
cancel-sign-sub-inv_binary64_726
add-cube-cbrt_binary64_795 associate-*r*_binary64_700
distribute-lft-in_binary64_709 distribute-rgt-in_binary64_710
add-exp-log_binary64_798 add-cbrt-cube_binary64_796 associate-*l*_binary64_701 pow1_binary64_821
associate-*r/_binary64_702 sub-neg_binary64_753
unswap-sqr_binary64_728 prod-exp_binary64_809 add-log-exp_binary64_799 difference-of-squares_binary64_729 distribute-lft-out--_binary64_712 cbrt-unprod_binary64_793 pow-prod-down_binary64_831 *-commutative_binary64_691 flip--_binary64_735 flip3--_binary64_764
Counts
1 → 30
Calls

1 calls:

7.0ms
(*.f64 R (-.f64 phi2 phi1))

series34.0ms (0.4%)

Counts
1 → 3
Calls

1 calls:

34.0ms
(*.f64 R (-.f64 phi2 phi1))

simplify49.0ms (0.5%)

Algorithm
egg-herbie
Counts
33 → 33
Iterations

Useful iterations: 0 (38.0ms)

IterNodesCost
05688314

prune47.0ms (0.5%)

Pruning

17 alts after pruning (16 fresh and 1 done)

PrunedKeptTotal
New24933
Fresh178
Picked101
Done011
Total261743
Error
12.7b
Counts
43 → 17
Compiler

Compiled 721 to 351 computations (51.3% saved)

localize6.0ms (0.1%)

Local error

Found 1 expressions with local error:

0.0b
(+.f64 (*.f64 R phi2) (*.f64 R (neg.f64 phi1)))

rewrite5.0ms (0.1%)

Algorithm
rewrite-expression-head
Rules
add-log-exp_binary64_799
distribute-rgt-neg-out_binary64_720 *-un-lft-identity_binary64_760 distribute-lft-out_binary64_711 flip3-+_binary64_763 add-exp-log_binary64_798 add-cube-cbrt_binary64_795 unsub-neg_binary64_754 flip-+_binary64_734 add-cbrt-cube_binary64_796 +-commutative_binary64_690 sum-log_binary64_851 pow1_binary64_821 add-sqr-sqrt_binary64_782
Counts
1 → 13
Calls

1 calls:

4.0ms
(+.f64 (*.f64 R phi2) (*.f64 R (neg.f64 phi1)))

series36.0ms (0.4%)

Counts
1 → 3
Calls

1 calls:

36.0ms
(+.f64 (*.f64 R phi2) (*.f64 R (neg.f64 phi1)))

simplify74.0ms (0.8%)

Algorithm
egg-herbie
Counts
16 → 16
Iterations

Useful iterations: 0 (67.0ms)

IterNodesCost
05235170

prune29.0ms (0.3%)

Pruning

18 alts after pruning (16 fresh and 2 done)

PrunedKeptTotal
New15116
Fresh01515
Picked011
Done011
Total151833
Error
12.7b
Counts
33 → 18
Compiler

Compiled 589 to 331 computations (43.8% saved)

localize6.0ms (0.1%)

Local error

Found 4 expressions with local error:

0.0b
(sqrt.f64 (-.f64 phi2 phi1))
0.0b
(sqrt.f64 (-.f64 phi2 phi1))
0.2b
(*.f64 R (sqrt.f64 (-.f64 phi2 phi1)))
0.3b
(*.f64 (*.f64 R (sqrt.f64 (-.f64 phi2 phi1))) (sqrt.f64 (-.f64 phi2 phi1)))

rewrite37.0ms (0.4%)

Algorithm
rewrite-expression-head
Rules
25×add-sqr-sqrt_binary64_782
21×sqrt-prod_binary64_776
19×*-un-lft-identity_binary64_760
18×sqrt-div_binary64_777
16×associate-*r*_binary64_700
13×pow1_binary64_821
11×add-exp-log_binary64_798 add-cube-cbrt_binary64_795 add-cbrt-cube_binary64_796
10×associate-*r/_binary64_702
flip--_binary64_735 flip3--_binary64_764
prod-exp_binary64_809 add-log-exp_binary64_799 difference-of-squares_binary64_729 distribute-lft-out--_binary64_712 frac-times_binary64_770 associate-*l*_binary64_701 cbrt-unprod_binary64_793 pow-prod-down_binary64_831
unswap-sqr_binary64_728 rem-sqrt-square_binary64_773 associate-*l/_binary64_703 sqrt-pow1_binary64_778 pow1/2_binary64_840 *-commutative_binary64_691
Counts
4 → 91
Calls

4 calls:

16.0ms
(*.f64 (*.f64 R (sqrt.f64 (-.f64 phi2 phi1))) (sqrt.f64 (-.f64 phi2 phi1)))
8.0ms
(*.f64 R (sqrt.f64 (-.f64 phi2 phi1)))
3.0ms
(sqrt.f64 (-.f64 phi2 phi1))
3.0ms
(sqrt.f64 (-.f64 phi2 phi1))

series172.0ms (1.8%)

Counts
4 → 12
Calls

4 calls:

71.0ms
(*.f64 R (sqrt.f64 (-.f64 phi2 phi1)))
34.0ms
(sqrt.f64 (-.f64 phi2 phi1))
34.0ms
(*.f64 (*.f64 R (sqrt.f64 (-.f64 phi2 phi1))) (sqrt.f64 (-.f64 phi2 phi1)))
33.0ms
(sqrt.f64 (-.f64 phi2 phi1))

simplify50.0ms (0.5%)

Algorithm
egg-herbie
Counts
103 → 103
Iterations

Useful iterations: 0 (31.0ms)

IterNodesCost
052721453

prune74.0ms (0.8%)

Pruning

20 alts after pruning (18 fresh and 2 done)

PrunedKeptTotal
New967103
Fresh41115
Picked101
Done022
Total10120121
Error
12.7b
Counts
121 → 20
Compiler

Compiled 1683 to 392 computations (76.7% saved)

regimes1.3s (14%)

Accuracy

Total 3.3b remaining (17.3%)

Threshold costs 0b (0%)

Compiler

Compiled 11999 to 7575 computations (36.9% saved)

bsearch4.0ms (0%)

Compiler

Compiled 29 to 19 computations (34.5% saved)

simplify15.0ms (0.2%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
05891
15891
Compiler

Compiled 240 to 132 computations (45% saved)

end0.0ms (0%)

sample3.5s (37.6%)

Algorithm
intervals
Results
667.0ms6046×body128valid
395.0ms833×body1024valid
261.0ms2465×body128invalid
245.0ms709×body512valid
216.0ms474×body1024invalid
121.0ms360×body512invalid
97.0ms401×body256valid
36.0ms162×body256invalid
12.0ms11×body2048valid
Compiler

Compiled 1347 to 846 computations (37.2% saved)

Profiling

Loading profile data...