Details

Time bar (total: 27.6s)

analyze2.7s (9.8%)

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
Symmetry

sort(lambda1 lambda2)

sort(phi1 phi2)

Compiler

Compiled 33 to 22 computations (33.3% saved)

sample109.0ms (0.4%)

Algorithm
intervals
Results
25.0ms185×body128valid
14.0ms30×body1024valid
9.0ms27×body512valid
8.0ms84×body128invalid
4.0ms10×body1024invalid
4.0ms12×body512invalid
3.0ms14×body256valid
2.0msbody256invalid
Compiler

Compiled 65 to 48 computations (26.2% saved)

simplify134.0ms (0.5%)

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (129.0ms)

IterNodesCost
0496049
1496049

prune4.0ms (0%)

Pruning

2 alts after pruning (2 fresh and 0 done)

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

Compiled 64 to 42 computations (34.4% saved)

localize15.0ms (0.1%)

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))))
3.4b
(cos.f64 (/.f64 (+.f64 phi1 phi2) 2))
3.4b
(cos.f64 (/.f64 (+.f64 phi1 phi2) 2))
37.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))))

rewrite372.0ms (1.3%)

Algorithm
rewrite-expression-head
Error
40.4b
Rules
142×associate-*l/_binary64_1726
102×flip3--_binary64_1787 flip--_binary64_1758
68×frac-times_binary64_1793
66×sqrt-div_binary64_1800
64×frac-add_binary64_1791
44×pow1_binary64_1844
34×associate-*r/_binary64_1725
17×pow-prod-down_binary64_1854
16×add-exp-log_binary64_1821 add-cbrt-cube_binary64_1819
prod-exp_binary64_1832 cbrt-unprod_binary64_1816
add-sqr-sqrt_binary64_1805
add-cube-cbrt_binary64_1818 *-un-lft-identity_binary64_1783
add-log-exp_binary64_1822 pow-prod-up_binary64_1853 pow-sqr_binary64_1756
sqrt-prod_binary64_1799
pow-plus_binary64_1846
pow1/2_binary64_1863 sqrt-pow1_binary64_1801 flip3-+_binary64_1786 flip-+_binary64_1757 rem-sqrt-square_binary64_1796 pow2_binary64_1864 swap-sqr_binary64_1750 associate-*l*_binary64_1724 associate-*r*_binary64_1723 *-commutative_binary64_1714
Counts
4 → 135
Calls

4 calls:

25.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))))
14.0ms
(*.f64 (*.f64 (-.f64 lambda1 lambda2) (cos.f64 (/.f64 (+.f64 phi1 phi2) 2))) (*.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 9145 to 2868 computations (68.6% saved)

series6.6s (23.9%)

Error
3.8b
Counts
4 → 68
Calls

4 calls:

5.7s
(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))))
559.0ms
(*.f64 (*.f64 (-.f64 lambda1 lambda2) (cos.f64 (/.f64 (+.f64 phi1 phi2) 2))) (*.f64 (-.f64 lambda1 lambda2) (cos.f64 (/.f64 (+.f64 phi1 phi2) 2))))
38.0ms
(cos.f64 (/.f64 (+.f64 phi1 phi2) 2))
37.0ms
(cos.f64 (/.f64 (+.f64 phi1 phi2) 2))
Compiler

Compiled 16070 to 12073 computations (24.9% saved)

simplify136.0ms (0.5%)

Algorithm
egg-herbie
Counts
203 → 203
Iterations

Useful iterations: 0 (29.0ms)

IterNodesCost
0576614592

prune486.0ms (1.8%)

Pruning

9 alts after pruning (9 fresh and 0 done)

PrunedKeptTotal
New1949203
Fresh000
Picked101
Done000
Total1959204
Error
3.8b
Counts
204 → 9
Compiler

Compiled 12138 to 4802 computations (60.4% saved)

localize4.0ms (0%)

Local error

Found 1 expressions with local error:

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

rewrite28.0ms (0.1%)

Algorithm
rewrite-expression-head
Error
3.8b
Rules
add-sqr-sqrt_binary64_1805
*-un-lft-identity_binary64_1783
cancel-sign-sub-inv_binary64_1749
add-cube-cbrt_binary64_1818 associate-*r*_binary64_1723
distribute-rgt-in_binary64_1733 distribute-lft-in_binary64_1732
pow1_binary64_1844 add-exp-log_binary64_1821 add-cbrt-cube_binary64_1819 associate-*l*_binary64_1724
sub-neg_binary64_1776 associate-*r/_binary64_1725
pow-prod-down_binary64_1854 prod-exp_binary64_1832 add-log-exp_binary64_1822 cbrt-unprod_binary64_1816 unswap-sqr_binary64_1751 flip3--_binary64_1787 flip--_binary64_1758 difference-of-squares_binary64_1752 distribute-lft-out--_binary64_1735 *-commutative_binary64_1714
Counts
1 → 30
Calls

1 calls:

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

Compiled 338 to 113 computations (66.6% saved)

series95.0ms (0.3%)

Error
3.8b
Counts
1 → 15
Calls

1 calls:

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

Compiled 219 to 198 computations (9.6% saved)

simplify48.0ms (0.2%)

Algorithm
egg-herbie
Counts
45 → 45
Iterations

Useful iterations: 0 (39.0ms)

IterNodesCost
05690386

prune36.0ms (0.1%)

Pruning

11 alts after pruning (10 fresh and 1 done)

PrunedKeptTotal
New43245
Fresh088
Picked011
Done000
Total431154
Error
3.8b
Counts
54 → 11
Compiler

Compiled 760 to 338 computations (55.5% saved)

localize10.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.1b
(cbrt.f64 (*.f64 (-.f64 phi2 phi1) R))
2.1b
(cbrt.f64 (*.f64 (-.f64 phi2 phi1) R))
2.1b
(cbrt.f64 (*.f64 (-.f64 phi2 phi1) R))

rewrite92.0ms (0.3%)

Algorithm
rewrite-expression-head
Error
3.8b
Rules
20×associate-*l/_binary64_1726
18×cbrt-div_binary64_1815
11×pow1_binary64_1844
10×add-sqr-sqrt_binary64_1805
pow1/3_binary64_1865 flip3--_binary64_1787 flip--_binary64_1758
add-cube-cbrt_binary64_1818 *-un-lft-identity_binary64_1783
cbrt-prod_binary64_1814
add-exp-log_binary64_1821
add-log-exp_binary64_1822 add-cbrt-cube_binary64_1819 frac-times_binary64_1793 swap-sqr_binary64_1750 associate-*l*_binary64_1724 associate-*r*_binary64_1723
pow-prod-down_binary64_1854 pow-prod-up_binary64_1853 pow-sqr_binary64_1756 associate-*r/_binary64_1725
pow2_binary64_1864 pow-plus_binary64_1846 prod-exp_binary64_1832 cbrt-unprod_binary64_1816 unswap-sqr_binary64_1751 *-commutative_binary64_1714
Counts
4 → 72
Calls

4 calls:

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

series1.2s (4.3%)

Error
3.8b
Counts
4 → 63
Calls

4 calls:

287.0ms
(*.f64 (cbrt.f64 (*.f64 (-.f64 phi2 phi1) R)) (cbrt.f64 (*.f64 (-.f64 phi2 phi1) R)))
282.0ms
(cbrt.f64 (*.f64 (-.f64 phi2 phi1) R))
266.0ms
(cbrt.f64 (*.f64 (-.f64 phi2 phi1) R))
261.0ms
(cbrt.f64 (*.f64 (-.f64 phi2 phi1) R))
Compiler

Compiled 5740 to 3878 computations (32.4% saved)

simplify52.0ms (0.2%)

Algorithm
egg-herbie
Counts
135 → 135
Iterations

Useful iterations: 0 (24.0ms)

IterNodesCost
053842907

prune141.0ms (0.5%)

Pruning

12 alts after pruning (10 fresh and 2 done)

PrunedKeptTotal
New1341135
Fresh099
Picked011
Done011
Total13412146
Error
3.8b
Counts
146 → 12
Compiler

Compiled 4058 to 1114 computations (72.5% saved)

localize26.0ms (0.1%)

Local error

Found 4 expressions with local error:

0.5b
(pow.f64 (cos.f64 (/.f64 (+.f64 phi2 phi1) 2)) 3)
3.4b
(cos.f64 (/.f64 (+.f64 phi2 phi1) 2))
3.4b
(cos.f64 (/.f64 (+.f64 phi1 phi2) 2))
37.3b
(sqrt.f64 (+.f64 (*.f64 (*.f64 (-.f64 lambda1 lambda2) (cos.f64 (/.f64 (+.f64 phi1 phi2) 2))) (*.f64 (-.f64 lambda1 lambda2) (cbrt.f64 (pow.f64 (cos.f64 (/.f64 (+.f64 phi2 phi1) 2)) 3)))) (*.f64 (-.f64 phi1 phi2) (-.f64 phi1 phi2))))

rewrite343.0ms (1.2%)

Algorithm
rewrite-expression-head
Error
3.8b
Rules
128×associate-*l/_binary64_1726
96×flip3--_binary64_1787 flip--_binary64_1758
66×sqrt-div_binary64_1800
64×frac-times_binary64_1793 frac-add_binary64_1791
32×associate-*r/_binary64_1725
add-sqr-sqrt_binary64_1805
add-cube-cbrt_binary64_1818 *-un-lft-identity_binary64_1783
pow1_binary64_1844
add-exp-log_binary64_1821 add-cbrt-cube_binary64_1819
add-log-exp_binary64_1822
sqrt-prod_binary64_1799 unpow-prod-down_binary64_1862 pow-unpow_binary64_1860 cube-prod_binary64_1811
pow1/2_binary64_1863 sqrt-pow1_binary64_1801 flip3-+_binary64_1786 flip-+_binary64_1757 rem-sqrt-square_binary64_1796 pow-pow_binary64_1855 pow-to-exp_binary64_1852 pow-exp_binary64_1851 unpow3_binary64_1849 cube-mult_binary64_1813 rem-cube-cbrt_binary64_1806 sqr-pow_binary64_1755
Counts
4 → 116
Calls

4 calls:

22.0ms
(sqrt.f64 (+.f64 (*.f64 (*.f64 (-.f64 lambda1 lambda2) (cos.f64 (/.f64 (+.f64 phi1 phi2) 2))) (*.f64 (-.f64 lambda1 lambda2) (cbrt.f64 (pow.f64 (cos.f64 (/.f64 (+.f64 phi2 phi1) 2)) 3)))) (*.f64 (-.f64 phi1 phi2) (-.f64 phi1 phi2))))
6.0ms
(cos.f64 (/.f64 (+.f64 phi2 phi1) 2))
5.0ms
(cos.f64 (/.f64 (+.f64 phi1 phi2) 2))
2.0ms
(pow.f64 (cos.f64 (/.f64 (+.f64 phi2 phi1) 2)) 3)
Compiler

Compiled 8726 to 2982 computations (65.8% saved)

series6.3s (22.7%)

Error
3.8b
Counts
4 → 52
Calls

4 calls:

5.8s
(sqrt.f64 (+.f64 (*.f64 (*.f64 (-.f64 lambda1 lambda2) (cos.f64 (/.f64 (+.f64 phi1 phi2) 2))) (*.f64 (-.f64 lambda1 lambda2) (cbrt.f64 (pow.f64 (cos.f64 (/.f64 (+.f64 phi2 phi1) 2)) 3)))) (*.f64 (-.f64 phi1 phi2) (-.f64 phi1 phi2))))
170.0ms
(pow.f64 (cos.f64 (/.f64 (+.f64 phi2 phi1) 2)) 3)
41.0ms
(cos.f64 (/.f64 (+.f64 phi2 phi1) 2))
37.0ms
(cos.f64 (/.f64 (+.f64 phi1 phi2) 2))
Compiler

Compiled 14880 to 11279 computations (24.2% saved)

simplify129.0ms (0.5%)

Algorithm
egg-herbie
Counts
168 → 168
Iterations

Useful iterations: 0 (32.0ms)

IterNodesCost
0582013223

prune402.0ms (1.5%)

Pruning

11 alts after pruning (8 fresh and 3 done)

PrunedKeptTotal
New1653168
Fresh459
Picked011
Done022
Total16911180
Error
3.8b
Counts
180 → 11
Compiler

Compiled 10883 to 4243 computations (61% saved)

regimes3.2s (11.6%)

Accuracy

Total 20.8b remaining (71.3%)

Threshold costs 0b (0%)

Compiler

Compiled 31328 to 21210 computations (32.3% saved)

bsearch8.0ms (0%)

Compiler

Compiled 29 to 19 computations (34.5% saved)

simplify50.0ms (0.2%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
065129
165129
Removed

((sort lambda1 lambda2))

Compiler

Compiled 504 to 270 computations (46.4% saved)

end0.0ms (0%)

sample4.9s (17.9%)

Algorithm
intervals
Results
644.0ms6034×body128valid
397.0ms811×body1024valid
264.0ms2437×body128invalid
258.0ms740×body512valid
220.0ms477×body1024invalid
106.0ms329×body512invalid
103.0ms410×body256valid
38.0ms173×body256invalid
4.0msbody2048valid
Compiler

Compiled 3363 to 2272 computations (32.4% saved)

Profiling

Loading profile data...