Details

Time bar (total: 33.4s)

analyze5.5s (16.4%)

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%0
0%99.8%0.2%1
0%99.8%0.2%1
0%99.8%0.2%2
0%99.8%0.2%2
0%99.8%0.2%3
0%99.8%0.2%3
0%99.8%0.2%4
0%99.8%0.2%4
0%99.8%0.2%5
0%99.8%0.2%5
0%99.8%0.2%6
0%99.8%0.2%6
0%99.8%0.2%7
0%99.8%0.2%7
0%99.8%0.2%8
0%99.8%0.2%8
0%99.8%0.2%9
0%99.8%0.2%9
0%99.8%0.2%10
0%99.8%0.2%10
0.8%99%0.2%11
0.8%99%0.2%11
4.7%95.1%0.2%12
4.7%95.1%0.2%12
5.9%93.2%0.8%13
5.9%93.2%0.8%13
8.5%90.2%1.3%14
8.5%90.2%1.3%14
Symmetry

(sort lambda1 lambda2)

(sort phi1 phi2)

Compiler

Compiled 66 to 44 computations (33.3% saved)

sample1.8s (5.5%)

Algorithm
intervals
Results
41.0ms380×body128valid
27.0ms54×body1024valid
22.0ms165×body128invalid
18.0ms50×body512valid
17.0ms34×body1024invalid
7.0ms28×body256valid
6.0ms18×body512invalid
3.0ms12×body256invalid
Compiler

Compiled 11945 to 9768 computations (18.2% saved)

simplify126.0ms (0.4%)

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (121.0ms)

IterNodesCost
0496049
1496049

prune8.0ms (0%)

Pruning

2 alts after pruning (2 fresh and 0 done)

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

Compiled 64 to 42 computations (34.4% saved)

localize18.0ms (0.1%)

Local error

Found 4 expressions with local error:

0.2b
(*.f64 (-.f64 lambda1 lambda2) (cos.f64 (/.f64 (+.f64 phi1 phi2) 2)))
3.4b
(cos.f64 (/.f64 (+.f64 phi1 phi2) 2))
3.4b
(cos.f64 (/.f64 (+.f64 phi1 phi2) 2))
35.3b
(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))))

rewrite386.0ms (1.2%)

Algorithm
rewrite-expression-head
Error
38.3b
Rules
130×associate-*l/_binary64_2067
97×flip3--_binary64_2128 flip--_binary64_2099
66×sqrt-div_binary64_2141
64×frac-times_binary64_2134 frac-add_binary64_2132
32×associate-*r/_binary64_2066
12×add-sqr-sqrt_binary64_2146
*-un-lft-identity_binary64_2124
pow1_binary64_2185 add-cube-cbrt_binary64_2159
add-exp-log_binary64_2162 add-cbrt-cube_binary64_2160
associate-*l*_binary64_2065
add-log-exp_binary64_2163
sqrt-prod_binary64_2140 associate-*r*_binary64_2064
pow1/2_binary64_2204 sqrt-pow1_binary64_2142 flip3-+_binary64_2127 flip-+_binary64_2098 rem-sqrt-square_binary64_2137 pow-prod-down_binary64_2195 prod-exp_binary64_2173 cbrt-unprod_binary64_2157 unswap-sqr_binary64_2092 difference-of-squares_binary64_2093 distribute-lft-out--_binary64_2076 *-commutative_binary64_2055
Counts
4 → 115
Calls

4 calls:

20.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))))
8.0ms
(*.f64 (-.f64 lambda1 lambda2) (cos.f64 (/.f64 (+.f64 phi1 phi2) 2)))
5.0ms
(cos.f64 (/.f64 (+.f64 phi1 phi2) 2))
5.0ms
(cos.f64 (/.f64 (+.f64 phi1 phi2) 2))
Compiler

Compiled 8305 to 2543 computations (69.4% saved)

series13.1s (39.4%)

Error
3.1b
Counts
4 → 71
Calls

4 calls:

12.2s
(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))))
470.0ms
(*.f64 (-.f64 lambda1 lambda2) (cos.f64 (/.f64 (+.f64 phi1 phi2) 2)))
73.0ms
(cos.f64 (/.f64 (+.f64 phi1 phi2) 2))
68.0ms
(cos.f64 (/.f64 (+.f64 phi1 phi2) 2))
Compiler

Compiled 17834 to 13137 computations (26.3% saved)

simplify134.0ms (0.4%)

Algorithm
egg-herbie
Counts
186 → 186
Iterations

Useful iterations: 0 (27.0ms)

IterNodesCost
0606614551

prune576.0ms (1.7%)

Pruning

7 alts after pruning (7 fresh and 0 done)

PrunedKeptTotal
New1797186
Fresh000
Picked101
Done000
Total1807187
Error
3.1b
Counts
187 → 7
Compiler

Compiled 12234 to 4818 computations (60.6% saved)

localize4.0ms (0%)

Local error

Found 1 expressions with local error:

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

rewrite30.0ms (0.1%)

Algorithm
rewrite-expression-head
Error
3.1b
Rules
add-sqr-sqrt_binary64_2146
*-un-lft-identity_binary64_2124
cancel-sign-sub-inv_binary64_2090
add-cube-cbrt_binary64_2159 associate-*r*_binary64_2064
distribute-rgt-in_binary64_2074 distribute-lft-in_binary64_2073
pow1_binary64_2185 add-exp-log_binary64_2162 add-cbrt-cube_binary64_2160 associate-*l*_binary64_2065
sub-neg_binary64_2117 associate-*r/_binary64_2066
pow-prod-down_binary64_2195 prod-exp_binary64_2173 add-log-exp_binary64_2163 cbrt-unprod_binary64_2157 unswap-sqr_binary64_2092 flip3--_binary64_2128 flip--_binary64_2099 difference-of-squares_binary64_2093 distribute-lft-out--_binary64_2076 *-commutative_binary64_2055
Counts
1 → 30
Calls

1 calls:

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

Compiled 338 to 113 computations (66.6% saved)

series152.0ms (0.5%)

Error
3.1b
Counts
1 → 15
Calls

1 calls:

145.0ms
(*.f64 R (-.f64 phi2 phi1))
Compiler

Compiled 219 to 198 computations (9.6% saved)

simplify45.0ms (0.1%)

Algorithm
egg-herbie
Counts
45 → 45
Iterations

Useful iterations: 0 (36.0ms)

IterNodesCost
05690386

prune47.0ms (0.1%)

Pruning

10 alts after pruning (10 fresh and 0 done)

PrunedKeptTotal
New41445
Fresh066
Picked101
Done000
Total421052
Error
3.1b
Counts
52 → 10
Compiler

Compiled 755 to 344 computations (54.4% saved)

localize6.0ms (0%)

Local error

Found 1 expressions with local error:

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

rewrite19.0ms (0.1%)

Algorithm
rewrite-expression-head
Error
3.1b
Rules
add-log-exp_binary64_2163
sum-log_binary64_2215
neg-log_binary64_2217 pow1_binary64_2185 add-exp-log_binary64_2162 add-cbrt-cube_binary64_2160 add-cube-cbrt_binary64_2159 add-sqr-sqrt_binary64_2146 flip3-+_binary64_2127 *-un-lft-identity_binary64_2124 unsub-neg_binary64_2118 flip-+_binary64_2098 distribute-lft-neg-in_binary64_2081 distribute-rgt-out_binary64_2077 neg-sub0_binary64_2119 associate-+r-_binary64_2058 +-commutative_binary64_2054
Counts
1 → 15
Calls

1 calls:

5.0ms
(+.f64 (*.f64 phi2 R) (neg.f64 (*.f64 phi1 R)))
Compiler

Compiled 233 to 56 computations (76% saved)

series167.0ms (0.5%)

Error
3.1b
Counts
1 → 15
Calls

1 calls:

159.0ms
(+.f64 (*.f64 phi2 R) (neg.f64 (*.f64 phi1 R)))
Compiler

Compiled 225 to 206 computations (8.4% saved)

simplify61.0ms (0.2%)

Algorithm
egg-herbie
Counts
30 → 30
Iterations

Useful iterations: 0 (51.0ms)

IterNodesCost
05032255

prune37.0ms (0.1%)

Pruning

10 alts after pruning (9 fresh and 1 done)

PrunedKeptTotal
New30030
Fresh099
Picked011
Done000
Total301040
Error
3.1b
Counts
40 → 10
Compiler

Compiled 620 to 312 computations (49.7% saved)

localize9.0ms (0%)

Local error

Found 4 expressions with local error:

0.5b
(*.f64 (cbrt.f64 (*.f64 (-.f64 phi2 phi1) R)) (cbrt.f64 (*.f64 (-.f64 phi2 phi1) R)))
2.2b
(cbrt.f64 (*.f64 (-.f64 phi2 phi1) R))
2.2b
(cbrt.f64 (*.f64 (-.f64 phi2 phi1) R))
2.2b
(cbrt.f64 (*.f64 (-.f64 phi2 phi1) R))

rewrite109.0ms (0.3%)

Algorithm
rewrite-expression-head
Error
3.1b
Rules
20×associate-*l/_binary64_2067
18×cbrt-div_binary64_2156
11×pow1_binary64_2185
10×add-sqr-sqrt_binary64_2146
pow1/3_binary64_2206 flip3--_binary64_2128 flip--_binary64_2099
add-cube-cbrt_binary64_2159 *-un-lft-identity_binary64_2124
cbrt-prod_binary64_2155
add-exp-log_binary64_2162
add-log-exp_binary64_2163 add-cbrt-cube_binary64_2160 frac-times_binary64_2134 swap-sqr_binary64_2091 associate-*l*_binary64_2065 associate-*r*_binary64_2064
pow-prod-down_binary64_2195 pow-prod-up_binary64_2194 pow-sqr_binary64_2097 associate-*r/_binary64_2066
pow2_binary64_2205 pow-plus_binary64_2187 prod-exp_binary64_2173 cbrt-unprod_binary64_2157 unswap-sqr_binary64_2092 *-commutative_binary64_2055
Counts
4 → 72
Calls

4 calls:

7.0ms
(*.f64 (cbrt.f64 (*.f64 (-.f64 phi2 phi1) R)) (cbrt.f64 (*.f64 (-.f64 phi2 phi1) R)))
5.0ms
(cbrt.f64 (*.f64 (-.f64 phi2 phi1) R))
5.0ms
(cbrt.f64 (*.f64 (-.f64 phi2 phi1) R))
5.0ms
(cbrt.f64 (*.f64 (-.f64 phi2 phi1) R))
Compiler

Compiled 2027 to 304 computations (85% saved)

series2.0s (5.8%)

Error
3.1b
Counts
4 → 71
Calls

4 calls:

478.0ms
(cbrt.f64 (*.f64 (-.f64 phi2 phi1) R))
457.0ms
(*.f64 (cbrt.f64 (*.f64 (-.f64 phi2 phi1) R)) (cbrt.f64 (*.f64 (-.f64 phi2 phi1) R)))
455.0ms
(cbrt.f64 (*.f64 (-.f64 phi2 phi1) R))
432.0ms
(cbrt.f64 (*.f64 (-.f64 phi2 phi1) R))
Compiler

Compiled 6966 to 4796 computations (31.2% saved)

simplify79.0ms (0.2%)

Algorithm
egg-herbie
Counts
143 → 143
Iterations

Useful iterations: 0 (43.0ms)

IterNodesCost
049723670
149723670

prune197.0ms (0.6%)

Pruning

11 alts after pruning (10 fresh and 1 done)

PrunedKeptTotal
New1394143
Fresh268
Picked101
Done011
Total14211153
Error
3.0b
Counts
153 → 11
Compiler

Compiled 4221 to 1227 computations (70.9% saved)

regimes3.1s (9.4%)

Accuracy

Total 20.7b remaining (83.9%)

Threshold costs 0b (0%)

Compiler

Compiled 24626 to 18385 computations (25.3% saved)

bsearch5.0ms (0%)

Compiler

Compiled 3 to 6 computations (-100% saved)

simplify61.0ms (0.2%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
0131250
1131250
Compiler

Compiled 664 to 316 computations (52.4% saved)

end0.0ms (0%)

sample5.6s (16.7%)

Algorithm
intervals
Results
667.0ms5986×body128valid
576.0ms751×body512valid
429.0ms820×body1024valid
282.0ms2543×body128invalid
229.0ms459×body1024invalid
131.0ms358×body512invalid
113.0ms436×body256valid
43.0ms186×body256invalid
5.0msbody2048valid
Compiler

Compiled 2767 to 2026 computations (26.8% saved)

Profiling

Loading profile data...