Details

Time bar (total: 14.3s)

analyze2.1s (14.6%)

Algorithm
search
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)

sample93.0ms (0.7%)

Algorithm
intervals
Results
19.0ms191×body128valid
14.0ms27×body512valid
13.0ms25×body1024valid
9.0ms85×body128invalid
7.0ms14×body1024invalid
5.0ms14×body512invalid
3.0ms12×body256valid
2.0msbody256invalid
1.0msbody2048valid
Compiler

Compiled 65 to 48 computations (26.2% saved)

simplify300.0ms (2.1%)

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (142.0ms)

IterNodesCost
0498649
1498649

prune4.0ms (0%)

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 38.4b

Counts
2 → 1
Compiler

Compiled 64 to 42 computations (34.4% saved)

localize21.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))))
2.4b
(cos.f64 (/.f64 (+.f64 phi1 phi2) 2))
2.4b
(cos.f64 (/.f64 (+.f64 phi1 phi2) 2))
35.7b
(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))))

rewrite84.0ms (0.6%)

Algorithm
rewrite-expression-head
Rules
142×associate-*l/_binary64_710
102×flip--_binary64_742 flip3--_binary64_771
68×frac-times_binary64_777
66×sqrt-div_binary64_784
64×frac-add_binary64_775
44×pow1_binary64_828
34×associate-*r/_binary64_709
17×pow-prod-down_binary64_838
16×add-exp-log_binary64_805 add-cbrt-cube_binary64_803
cbrt-unprod_binary64_800 prod-exp_binary64_816
add-sqr-sqrt_binary64_789
*-un-lft-identity_binary64_767 add-cube-cbrt_binary64_802
pow-prod-up_binary64_837 add-log-exp_binary64_806 pow-sqr_binary64_740
sqrt-prod_binary64_783
pow-plus_binary64_830
associate-*l*_binary64_708 pow2_binary64_848 associate-*r*_binary64_707 swap-sqr_binary64_734 rem-sqrt-square_binary64_780 *-commutative_binary64_698 flip-+_binary64_741 pow1/2_binary64_847 flip3-+_binary64_770 sqrt-pow1_binary64_785
Counts
4 → 135
Calls

4 calls:

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

series1.6s (11.5%)

Counts
4 → 12
Calls

4 calls:

1.3s
(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))))
288.0ms
(*.f64 (*.f64 (-.f64 lambda1 lambda2) (cos.f64 (/.f64 (+.f64 phi1 phi2) 2))) (*.f64 (-.f64 lambda1 lambda2) (cos.f64 (/.f64 (+.f64 phi1 phi2) 2))))
26.0ms
(cos.f64 (/.f64 (+.f64 phi1 phi2) 2))
26.0ms
(cos.f64 (/.f64 (+.f64 phi1 phi2) 2))

simplify96.0ms (0.7%)

Algorithm
egg-herbie
Counts
147 → 147
Iterations

Useful iterations: 0 (20.0ms)

IterNodesCost
0522210334

prune413.0ms (2.9%)

Pruning

8 alts after pruning (8 fresh and 0 done)

PrunedKeptTotal
New1398147
Fresh000
Picked101
Done000
Total1408148

Merged error: 25.3b

Counts
148 → 8
Compiler

Compiled 11471 to 4559 computations (60.3% saved)

localize17.0ms (0.1%)

Local error

Found 4 expressions with local error:

0.3b
(*.f64 (cos.f64 (/.f64 (+.f64 phi1 phi2) 2)) (cos.f64 (/.f64 (+.f64 phi1 phi2) 2)))
2.4b
(cos.f64 (/.f64 (+.f64 phi1 phi2) 2))
2.4b
(cos.f64 (/.f64 (+.f64 phi1 phi2) 2))
35.7b
(sqrt.f64 (+.f64 (*.f64 (*.f64 (-.f64 lambda1 lambda2) (-.f64 lambda1 lambda2)) (*.f64 (cos.f64 (/.f64 (+.f64 phi1 phi2) 2)) (cos.f64 (/.f64 (+.f64 phi1 phi2) 2)))) (*.f64 (-.f64 phi1 phi2) (-.f64 phi1 phi2))))

rewrite115.0ms (0.8%)

Algorithm
rewrite-expression-head
Rules
198×flip--_binary64_742 flip3--_binary64_771
196×frac-times_binary64_777
138×sqrt-div_binary64_784
136×frac-add_binary64_775
130×associate-*l/_binary64_710
74×associate-*r/_binary64_709
73×cos-mult_binary64_921
12×pow1_binary64_828 add-sqr-sqrt_binary64_789
*-un-lft-identity_binary64_767 add-cube-cbrt_binary64_802
add-exp-log_binary64_805 add-cbrt-cube_binary64_803
add-log-exp_binary64_806
associate-*l*_binary64_708 associate-*r*_binary64_707 swap-sqr_binary64_734 sqrt-prod_binary64_783
pow2_binary64_848 unswap-sqr_binary64_735 rem-sqrt-square_binary64_780 cbrt-unprod_binary64_800 pow-prod-up_binary64_837 pow-plus_binary64_830 prod-exp_binary64_816 *-commutative_binary64_698 flip-+_binary64_741 pow1/2_binary64_847 sqr-cos-a_binary64_916 flip3-+_binary64_770 sqrt-pow1_binary64_785 pow-prod-down_binary64_838 pow-sqr_binary64_740
Counts
4 → 192
Calls

4 calls:

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

series1.4s (9.8%)

Counts
4 → 12
Calls

4 calls:

1.3s
(sqrt.f64 (+.f64 (*.f64 (*.f64 (-.f64 lambda1 lambda2) (-.f64 lambda1 lambda2)) (*.f64 (cos.f64 (/.f64 (+.f64 phi1 phi2) 2)) (cos.f64 (/.f64 (+.f64 phi1 phi2) 2)))) (*.f64 (-.f64 phi1 phi2) (-.f64 phi1 phi2))))
60.0ms
(*.f64 (cos.f64 (/.f64 (+.f64 phi1 phi2) 2)) (cos.f64 (/.f64 (+.f64 phi1 phi2) 2)))
27.0ms
(cos.f64 (/.f64 (+.f64 phi1 phi2) 2))
26.0ms
(cos.f64 (/.f64 (+.f64 phi1 phi2) 2))

simplify190.0ms (1.3%)

Algorithm
egg-herbie
Counts
204 → 204
Iterations

Useful iterations: 0 (63.0ms)

IterNodesCost
0508617276

prune543.0ms (3.8%)

Pruning

8 alts after pruning (8 fresh and 0 done)

PrunedKeptTotal
New1995204
Fresh437
Picked101
Done000
Total2048212

Merged error: 24.5b

Counts
212 → 8
Compiler

Compiled 15645 to 5722 computations (63.4% saved)

localize19.0ms (0.1%)

Local error

Found 4 expressions with local error:

0.1b
(*.f64 (*.f64 (-.f64 lambda1 lambda2) (-.f64 lambda1 lambda2)) (pow.f64 (cos.f64 (/.f64 (+.f64 phi1 phi2) 2)) 2))
0.3b
(pow.f64 (cos.f64 (/.f64 (+.f64 phi1 phi2) 2)) 2)
2.4b
(cos.f64 (/.f64 (+.f64 phi1 phi2) 2))
35.7b
(sqrt.f64 (+.f64 (*.f64 (*.f64 (-.f64 lambda1 lambda2) (-.f64 lambda1 lambda2)) (pow.f64 (cos.f64 (/.f64 (+.f64 phi1 phi2) 2)) 2)) (pow.f64 (-.f64 phi1 phi2) 2)))

rewrite57.0ms (0.4%)

Algorithm
rewrite-expression-head
Rules
18×add-exp-log_binary64_805
12×add-sqr-sqrt_binary64_789
10×associate-*l/_binary64_710
prod-exp_binary64_816 *-un-lft-identity_binary64_767 add-cbrt-cube_binary64_803 add-cube-cbrt_binary64_802
associate-*r*_binary64_707
unpow-prod-down_binary64_846
pow1_binary64_828 flip--_binary64_742 flip3--_binary64_771
frac-times_binary64_777 unswap-sqr_binary64_735 add-log-exp_binary64_806
pow-to-exp_binary64_836 cbrt-unprod_binary64_800 sqr-pow_binary64_739 pow-exp_binary64_835 pow-unpow_binary64_844 unpow2_binary64_832 sqrt-prod_binary64_783
associate-*r/_binary64_709 sqrt-div_binary64_784
associate-*l*_binary64_708 pow2_binary64_848 rem-sqrt-square_binary64_780 *-commutative_binary64_698 flip-+_binary64_741 pow1/2_binary64_847 flip3-+_binary64_770 sqrt-pow1_binary64_785 pow-prod-down_binary64_838 pow-pow_binary64_839
Counts
4 → 78
Calls

4 calls:

20.0ms
(sqrt.f64 (+.f64 (*.f64 (*.f64 (-.f64 lambda1 lambda2) (-.f64 lambda1 lambda2)) (pow.f64 (cos.f64 (/.f64 (+.f64 phi1 phi2) 2)) 2)) (pow.f64 (-.f64 phi1 phi2) 2)))
19.0ms
(*.f64 (*.f64 (-.f64 lambda1 lambda2) (-.f64 lambda1 lambda2)) (pow.f64 (cos.f64 (/.f64 (+.f64 phi1 phi2) 2)) 2))
5.0ms
(cos.f64 (/.f64 (+.f64 phi1 phi2) 2))
3.0ms
(pow.f64 (cos.f64 (/.f64 (+.f64 phi1 phi2) 2)) 2)

series1.7s (12%)

Counts
4 → 12
Calls

4 calls:

1.3s
(sqrt.f64 (+.f64 (*.f64 (*.f64 (-.f64 lambda1 lambda2) (-.f64 lambda1 lambda2)) (pow.f64 (cos.f64 (/.f64 (+.f64 phi1 phi2) 2)) 2)) (pow.f64 (-.f64 phi1 phi2) 2)))
298.0ms
(*.f64 (*.f64 (-.f64 lambda1 lambda2) (-.f64 lambda1 lambda2)) (pow.f64 (cos.f64 (/.f64 (+.f64 phi1 phi2) 2)) 2))
63.0ms
(pow.f64 (cos.f64 (/.f64 (+.f64 phi1 phi2) 2)) 2)
25.0ms
(cos.f64 (/.f64 (+.f64 phi1 phi2) 2))

simplify81.0ms (0.6%)

Algorithm
egg-herbie
Counts
90 → 90
Iterations

Useful iterations: 0 (58.0ms)

IterNodesCost
049862059
149862059

prune170.0ms (1.2%)

Pruning

9 alts after pruning (8 fresh and 1 done)

PrunedKeptTotal
New89190
Fresh077
Picked011
Done000
Total89998

Merged error: 24.5b

Counts
98 → 9
Compiler

Compiled 3659 to 2170 computations (40.7% saved)

localize20.0ms (0.1%)

Local error

Found 4 expressions with local error:

0.1b
(*.f64 (pow.f64 (-.f64 lambda1 lambda2) 2) (pow.f64 (cos.f64 (/.f64 (+.f64 phi1 phi2) 2)) 2))
0.3b
(pow.f64 (cos.f64 (/.f64 (+.f64 phi1 phi2) 2)) 2)
2.4b
(cos.f64 (/.f64 (+.f64 phi1 phi2) 2))
35.7b
(sqrt.f64 (+.f64 (*.f64 (pow.f64 (-.f64 lambda1 lambda2) 2) (pow.f64 (cos.f64 (/.f64 (+.f64 phi1 phi2) 2)) 2)) (pow.f64 (-.f64 phi1 phi2) 2)))

rewrite49.0ms (0.3%)

Algorithm
rewrite-expression-head
Rules
30×add-sqr-sqrt_binary64_789
19×unpow-prod-down_binary64_846
17×add-exp-log_binary64_805
16×unswap-sqr_binary64_735
13×*-un-lft-identity_binary64_767
11×sqr-pow_binary64_739 unpow2_binary64_832 add-cube-cbrt_binary64_802
10×associate-*l*_binary64_708
prod-exp_binary64_816
associate-*r*_binary64_707
pow-to-exp_binary64_836 pow-exp_binary64_835
pow1_binary64_828 add-cbrt-cube_binary64_803
add-log-exp_binary64_806
pow-unpow_binary64_844 sqrt-prod_binary64_783
sqrt-div_binary64_784
rem-sqrt-square_binary64_780 cbrt-unprod_binary64_800 *-commutative_binary64_698 flip-+_binary64_741 distribute-lft-out--_binary64_719 pow1/2_binary64_847 flip3-+_binary64_770 sqrt-pow1_binary64_785 pow-prod-down_binary64_838 pow-pow_binary64_839 difference-of-squares_binary64_736
Counts
4 → 93
Calls

4 calls:

15.0ms
(sqrt.f64 (+.f64 (*.f64 (pow.f64 (-.f64 lambda1 lambda2) 2) (pow.f64 (cos.f64 (/.f64 (+.f64 phi1 phi2) 2)) 2)) (pow.f64 (-.f64 phi1 phi2) 2)))
12.0ms
(*.f64 (pow.f64 (-.f64 lambda1 lambda2) 2) (pow.f64 (cos.f64 (/.f64 (+.f64 phi1 phi2) 2)) 2))
5.0ms
(cos.f64 (/.f64 (+.f64 phi1 phi2) 2))
2.0ms
(pow.f64 (cos.f64 (/.f64 (+.f64 phi1 phi2) 2)) 2)

series1.7s (12.1%)

Counts
4 → 12
Calls

4 calls:

1.3s
(sqrt.f64 (+.f64 (*.f64 (pow.f64 (-.f64 lambda1 lambda2) 2) (pow.f64 (cos.f64 (/.f64 (+.f64 phi1 phi2) 2)) 2)) (pow.f64 (-.f64 phi1 phi2) 2)))
285.0ms
(*.f64 (pow.f64 (-.f64 lambda1 lambda2) 2) (pow.f64 (cos.f64 (/.f64 (+.f64 phi1 phi2) 2)) 2))
61.0ms
(pow.f64 (cos.f64 (/.f64 (+.f64 phi1 phi2) 2)) 2)
26.0ms
(cos.f64 (/.f64 (+.f64 phi1 phi2) 2))

simplify78.0ms (0.5%)

Algorithm
egg-herbie
Counts
105 → 105
Iterations

Useful iterations: 0 (53.0ms)

IterNodesCost
049392424
149392424

prune152.0ms (1.1%)

Pruning

9 alts after pruning (7 fresh and 2 done)

PrunedKeptTotal
New1050105
Fresh077
Picked011
Done011
Total1059114

Merged error: 24.5b

Counts
114 → 9
Compiler

Compiled 3248 to 1929 computations (40.6% saved)

regimes265.0ms (1.9%)

Compiler

Compiled 1618 to 1308 computations (19.2% saved)

bsearch66.0ms (0.5%)

Steps
ItersRangePoint
8
-1.9564235207466203e+94
-1.9901349408174056e+91
-3.716661685574004e+93
Compiler

Compiled 1 to 5 computations (-400% saved)

simplify3.0ms (0%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
05548
15548

end0.0ms (0%)

sample2.9s (20.1%)

Algorithm
intervals
Results
628.0ms6037×body128valid
446.0ms787×body1024valid
269.0ms745×body512valid
260.0ms483×body1024invalid
242.0ms2385×body128invalid
128.0ms362×body512invalid
103.0ms425×body256valid
38.0ms169×body256invalid
7.0msbody2048valid
Compiler

Compiled 306 to 236 computations (22.9% saved)

Profiling

Loading profile data...