Details

Time bar (total: 9.7s)

analyze2.2s (22.2%)

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)

sample95.0ms (1%)

Algorithm
intervals
Results
19.0ms189×body128valid
16.0ms33×body1024valid
9.0ms15×body256valid
9.0ms85×body128invalid
8.0ms17×body1024invalid
6.0ms19×body512valid
3.0msbody512invalid
2.0msbody256invalid
Compiler

Compiled 65 to 48 computations (26.2% saved)

simplify131.0ms (1.4%)

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (125.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.8b
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))))
3.5b
(cos.f64 (/.f64 (+.f64 phi1 phi2) 2))
3.5b
(cos.f64 (/.f64 (+.f64 phi1 phi2) 2))
37.5b
(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))))

rewrite77.0ms (0.8%)

Algorithm
rewrite-expression-head
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-cbrt-cube_binary64_1819 add-exp-log_binary64_1821
cbrt-unprod_binary64_1816 prod-exp_binary64_1832
add-sqr-sqrt_binary64_1805
add-cube-cbrt_binary64_1818 *-un-lft-identity_binary64_1783
pow-prod-up_binary64_1853 pow-sqr_binary64_1756 add-log-exp_binary64_1822
sqrt-prod_binary64_1799
pow-plus_binary64_1846
swap-sqr_binary64_1750 flip-+_binary64_1757 pow1/2_binary64_1863 associate-*l*_binary64_1724 *-commutative_binary64_1714 flip3-+_binary64_1786 sqrt-pow1_binary64_1801 rem-sqrt-square_binary64_1796 pow2_binary64_1864 associate-*r*_binary64_1723
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))))
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))

series921.0ms (9.5%)

Counts
4 → 12
Calls

4 calls:

732.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))))
156.0ms
(*.f64 (*.f64 (-.f64 lambda1 lambda2) (cos.f64 (/.f64 (+.f64 phi1 phi2) 2))) (*.f64 (-.f64 lambda1 lambda2) (cos.f64 (/.f64 (+.f64 phi1 phi2) 2))))
17.0ms
(cos.f64 (/.f64 (+.f64 phi1 phi2) 2))
16.0ms
(cos.f64 (/.f64 (+.f64 phi1 phi2) 2))

simplify96.0ms (1%)

Algorithm
egg-herbie
Counts
147 → 147
Iterations

Useful iterations: 0 (20.0ms)

IterNodesCost
0522810334

prune301.0ms (3.1%)

Pruning

8 alts after pruning (8 fresh and 0 done)

PrunedKeptTotal
New1398147
Fresh000
Picked101
Done000
Total1408148
Error
18.1b
Counts
148 → 8
Compiler

Compiled 8789 to 2950 computations (66.4% saved)

localize4.0ms (0%)

Local error

Found 1 expressions with local error:

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

rewrite11.0ms (0.1%)

Algorithm
rewrite-expression-head
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-lft-in_binary64_1732 distribute-rgt-in_binary64_1733
add-cbrt-cube_binary64_1819 add-exp-log_binary64_1821 associate-*l*_binary64_1724 pow1_binary64_1844
associate-*r/_binary64_1725 sub-neg_binary64_1776
flip3--_binary64_1787 difference-of-squares_binary64_1752 cbrt-unprod_binary64_1816 prod-exp_binary64_1832 distribute-lft-out--_binary64_1735 *-commutative_binary64_1714 pow-prod-down_binary64_1854 unswap-sqr_binary64_1751 flip--_binary64_1758 add-log-exp_binary64_1822
Counts
1 → 30
Calls

1 calls:

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

series33.0ms (0.3%)

Counts
1 → 3
Calls

1 calls:

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

simplify45.0ms (0.5%)

Algorithm
egg-herbie
Counts
33 → 33
Iterations

Useful iterations: 0 (37.0ms)

IterNodesCost
05688314

prune42.0ms (0.4%)

Pruning

17 alts after pruning (17 fresh and 0 done)

PrunedKeptTotal
New231033
Fresh077
Picked101
Done000
Total241741
Error
18.1b
Counts
41 → 17
Compiler

Compiled 683 to 347 computations (49.2% 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%)

Algorithm
rewrite-expression-head
Rules
add-log-exp_binary64_1822
add-cbrt-cube_binary64_1819 unsub-neg_binary64_1777 +-commutative_binary64_1713 add-sqr-sqrt_binary64_1805 add-exp-log_binary64_1821 add-cube-cbrt_binary64_1818 distribute-lft-out_binary64_1734 flip-+_binary64_1757 distribute-rgt-neg-out_binary64_1743 *-un-lft-identity_binary64_1783 sum-log_binary64_1874 flip3-+_binary64_1786 pow1_binary64_1844
Counts
1 → 13
Calls

1 calls:

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

series32.0ms (0.3%)

Counts
1 → 3
Calls

1 calls:

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

simplify72.0ms (0.7%)

Algorithm
egg-herbie
Counts
16 → 16
Iterations

Useful iterations: 0 (65.0ms)

IterNodesCost
05235170

prune32.0ms (0.3%)

Pruning

17 alts after pruning (16 fresh and 1 done)

PrunedKeptTotal
New15116
Fresh11516
Picked011
Done000
Total161733
Error
18.1b
Counts
33 → 17
Compiler

Compiled 553 to 323 computations (41.6% 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)))

rewrite34.0ms (0.3%)

Algorithm
rewrite-expression-head
Rules
25×add-sqr-sqrt_binary64_1805
21×sqrt-prod_binary64_1799
19×*-un-lft-identity_binary64_1783
18×sqrt-div_binary64_1800
16×associate-*r*_binary64_1723
13×pow1_binary64_1844
11×add-cbrt-cube_binary64_1819 add-exp-log_binary64_1821 add-cube-cbrt_binary64_1818
10×associate-*r/_binary64_1725
flip3--_binary64_1787 flip--_binary64_1758
difference-of-squares_binary64_1752 cbrt-unprod_binary64_1816 prod-exp_binary64_1832 distribute-lft-out--_binary64_1735 associate-*l*_binary64_1724 frac-times_binary64_1793 pow-prod-down_binary64_1854 add-log-exp_binary64_1822
pow1/2_binary64_1863 associate-*l/_binary64_1726 *-commutative_binary64_1714 sqrt-pow1_binary64_1801 unswap-sqr_binary64_1751 rem-sqrt-square_binary64_1796
Counts
4 → 91
Calls

4 calls:

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

series168.0ms (1.7%)

Counts
4 → 12
Calls

4 calls:

68.0ms
(*.f64 R (sqrt.f64 (-.f64 phi2 phi1)))
35.0ms
(*.f64 (*.f64 R (sqrt.f64 (-.f64 phi2 phi1))) (sqrt.f64 (-.f64 phi2 phi1)))
33.0ms
(sqrt.f64 (-.f64 phi2 phi1))
31.0ms
(sqrt.f64 (-.f64 phi2 phi1))

simplify52.0ms (0.5%)

Algorithm
egg-herbie
Counts
103 → 103
Iterations

Useful iterations: 0 (32.0ms)

IterNodesCost
052721453

prune74.0ms (0.8%)

Pruning

22 alts after pruning (21 fresh and 1 done)

PrunedKeptTotal
New9310103
Fresh41115
Picked101
Done011
Total9822120
Error
18.1b
Counts
120 → 22
Compiler

Compiled 1683 to 392 computations (76.7% saved)

regimes1.7s (17.3%)

Accuracy

Total 3.8b remaining (18.7%)

Threshold costs 0b (0%)

Compiler

Compiled 13133 to 8518 computations (35.1% saved)

bsearch4.0ms (0%)

Compiler

Compiled 32 to 21 computations (34.4% saved)

simplify24.0ms (0.2%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
092178
192178
Compiler

Compiled 464 to 232 computations (50% saved)

end0.0ms (0%)

sample3.6s (36.9%)

Algorithm
intervals
Results
633.0ms5995×body128valid
406.0ms839×body1024valid
260.0ms2384×body128invalid
257.0ms728×body512valid
204.0ms437×body1024invalid
122.0ms378×body512invalid
103.0ms435×body256valid
38.0ms175×body256invalid
2.0msbody2048valid
Compiler

Compiled 1437 to 912 computations (36.5% saved)

Profiling

Loading profile data...