Details

Time bar (total: 14.1s)

analyze2.9s (20.2%)

Algorithm
search
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
05136473
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
12.5%87.3%0.2%9
12.5%87.3%0.2%10
18.7%81.1%0.2%11
18.7%81.1%0.2%12
18.7%81.1%0.2%13
20.5%79.3%0.2%14
Compiler

Compiled 30 to 24 computations (20% saved)

sample57.0ms (0.4%)

Algorithm
intervals
Results
32.0ms253×body128valid
2.0msbody1024invalid
1.0msbody512invalid
1.0msbody128invalid
1.0msbody256invalid
0.0msbody1024valid
0.0msbody512valid
0.0msbody256valid
Compiler

Compiled 59 to 52 computations (11.9% saved)

simplify66.0ms (0.5%)

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (59.0ms)

IterNodesCost
0509743

prune5.0ms (0%)

Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New011
Fresh101
Picked000
Done000
Total112
Error
16.5b
Counts
2 → 1
Compiler

Compiled 56 to 44 computations (21.4% saved)

localize19.0ms (0.1%)

Local error

Found 4 expressions with local error:

0.0b
(+.f64 (pow.f64 (-.f64 (/.f64 (+.f64 m n) 2) M) 2) l)
0.0b
(*.f64 K (+.f64 m n))
0.0b
(pow.f64 (-.f64 (/.f64 (+.f64 m n) 2) M) 2)
32.5b
(cos.f64 (-.f64 (/.f64 (*.f64 K (+.f64 m n)) 2) M))

rewrite210.0ms (1.5%)

Algorithm
rewrite-expression-head
Error
16.4b
Rules
16×add-sqr-sqrt_binary64_782
15×*-un-lft-identity_binary64_760
add-cube-cbrt_binary64_795
pow1_binary64_821 add-exp-log_binary64_798
add-log-exp_binary64_799 add-cbrt-cube_binary64_796 unpow-prod-down_binary64_839
cos-sum_binary64_894 associate-*r*_binary64_700
cancel-sign-sub-inv_binary64_726 pow-unpow_binary64_837 associate-*l*_binary64_701
difference-of-squares_binary64_729 flip3-+_binary64_763 associate-*r/_binary64_702 flip-+_binary64_734 distribute-lft-out_binary64_711
cos-diff_binary64_897 sub-neg_binary64_753 times-frac_binary64_766 distribute-lft-out--_binary64_712 pow-pow_binary64_832 pow-to-exp_binary64_829 pow-exp_binary64_828 unpow2_binary64_825 sqr-pow_binary64_732 pow-prod-down_binary64_831 prod-exp_binary64_809 cbrt-unprod_binary64_793 unswap-sqr_binary64_728 distribute-rgt-in_binary64_710 distribute-lft-in_binary64_709 *-commutative_binary64_691 sum-log_binary64_851 +-commutative_binary64_690
Counts
4 → 68
Calls

4 calls:

22.0ms
(pow.f64 (-.f64 (/.f64 (+.f64 m n) 2) M) 2)
20.0ms
(+.f64 (pow.f64 (-.f64 (/.f64 (+.f64 m n) 2) M) 2) l)
18.0ms
(cos.f64 (-.f64 (/.f64 (*.f64 K (+.f64 m n)) 2) M))
12.0ms
(*.f64 K (+.f64 m n))
Compiler

Compiled 2523 to 1267 computations (49.8% saved)

series1.5s (10.3%)

Error
0.6b
Counts
4 → 82
Calls

4 calls:

747.0ms
(+.f64 (pow.f64 (-.f64 (/.f64 (+.f64 m n) 2) M) 2) l)
330.0ms
(pow.f64 (-.f64 (/.f64 (+.f64 m n) 2) M) 2)
164.0ms
(cos.f64 (-.f64 (/.f64 (*.f64 K (+.f64 m n)) 2) M))
62.0ms
(*.f64 K (+.f64 m n))
Compiler

Compiled 7366 to 4981 computations (32.4% saved)

simplify106.0ms (0.8%)

Algorithm
egg-herbie
Counts
150 → 150
Iterations

Useful iterations: 0 (61.0ms)

IterNodesCost
050722692

prune244.0ms (1.7%)

Pruning

4 alts after pruning (4 fresh and 0 done)

PrunedKeptTotal
New1464150
Fresh000
Picked101
Done000
Total1474151
Error
0.6b
Counts
151 → 4
Compiler

Compiled 5023 to 2330 computations (53.6% saved)

localize19.0ms (0.1%)

Local error

Found 4 expressions with local error:

0.0b
(*.f64 (cos.f64 M) (exp.f64 (-.f64 (fabs.f64 (-.f64 m n)) (+.f64 (pow.f64 (-.f64 (/.f64 (+.f64 m n) 2) M) 2) l))))
0.0b
(-.f64 (/.f64 (+.f64 m n) 2) M)
0.0b
(+.f64 (pow.f64 (-.f64 (/.f64 (+.f64 m n) 2) M) 2) l)
0.0b
(pow.f64 (-.f64 (/.f64 (+.f64 m n) 2) M) 2)

rewrite192.0ms (1.4%)

Algorithm
rewrite-expression-head
Error
0.6b
Rules
22×add-sqr-sqrt_binary64_782
18×*-un-lft-identity_binary64_760
10×add-cube-cbrt_binary64_795
add-log-exp_binary64_799 associate-*r*_binary64_700
pow1_binary64_821 cancel-sign-sub-inv_binary64_726
unpow-prod-down_binary64_839 add-exp-log_binary64_798 add-cbrt-cube_binary64_796
exp-sum_binary64_806
difference-of-squares_binary64_729
pow-unpow_binary64_837 associate-*l*_binary64_701
times-frac_binary64_766 distribute-lft-out--_binary64_712 distribute-lft-out_binary64_711 sub-neg_binary64_753
pow-pow_binary64_832 pow-to-exp_binary64_829 pow-exp_binary64_828 unpow2_binary64_825 sqr-pow_binary64_732 sum-log_binary64_851 flip3-+_binary64_763 flip-+_binary64_734 +-commutative_binary64_690 diff-log_binary64_852 flip3--_binary64_764 flip--_binary64_735 pow-prod-down_binary64_831 prod-exp_binary64_809 cbrt-unprod_binary64_793 unswap-sqr_binary64_728 exp-diff_binary64_808 associate-*r/_binary64_702 *-commutative_binary64_691
Counts
4 → 74
Calls

4 calls:

30.0ms
(*.f64 (cos.f64 M) (exp.f64 (-.f64 (fabs.f64 (-.f64 m n)) (+.f64 (pow.f64 (-.f64 (/.f64 (+.f64 m n) 2) M) 2) l))))
18.0ms
(+.f64 (pow.f64 (-.f64 (/.f64 (+.f64 m n) 2) M) 2) l)
14.0ms
(-.f64 (/.f64 (+.f64 m n) 2) M)
11.0ms
(pow.f64 (-.f64 (/.f64 (+.f64 m n) 2) M) 2)
Compiler

Compiled 2266 to 1145 computations (49.5% saved)

series1.9s (13.3%)

Error
0.6b
Counts
4 → 90
Calls

4 calls:

729.0ms
(+.f64 (pow.f64 (-.f64 (/.f64 (+.f64 m n) 2) M) 2) l)
494.0ms
(*.f64 (cos.f64 M) (exp.f64 (-.f64 (fabs.f64 (-.f64 m n)) (+.f64 (pow.f64 (-.f64 (/.f64 (+.f64 m n) 2) M) 2) l))))
364.0ms
(pow.f64 (-.f64 (/.f64 (+.f64 m n) 2) M) 2)
160.0ms
(-.f64 (/.f64 (+.f64 m n) 2) M)
Compiler

Compiled 6640 to 4644 computations (30.1% saved)

simplify111.0ms (0.8%)

Algorithm
egg-herbie
Counts
164 → 164
Iterations

Useful iterations: 0 (54.0ms)

IterNodesCost
049843619
149843619

prune201.0ms (1.4%)

Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New1640164
Fresh033
Picked011
Done000
Total1644168
Error
0.6b
Counts
168 → 4
Compiler

Compiled 4340 to 1985 computations (54.3% saved)

localize36.0ms (0.3%)

Local error

Found 4 expressions with local error:

0.0b
(+.f64 (pow.f64 (-.f64 (/.f64 (+.f64 m n) 2) M) 2) l)
0.0b
(-.f64 (*.f64 1/2 (*.f64 K n)) M)
0.0b
(pow.f64 (-.f64 (/.f64 (+.f64 m n) 2) M) 2)
24.0b
(cos.f64 (-.f64 (*.f64 1/2 (*.f64 K n)) M))

rewrite167.0ms (1.2%)

Algorithm
rewrite-expression-head
Error
0.6b
Rules
13×add-sqr-sqrt_binary64_782
12×*-un-lft-identity_binary64_760
add-cube-cbrt_binary64_795 add-log-exp_binary64_799
cancel-sign-sub-inv_binary64_726 unpow-prod-down_binary64_839
pow1_binary64_821 add-exp-log_binary64_798
cos-sum_binary64_894 add-cbrt-cube_binary64_796
pow-unpow_binary64_837
sub-neg_binary64_753 difference-of-squares_binary64_729
cos-diff_binary64_897 times-frac_binary64_766 distribute-lft-out--_binary64_712 pow-pow_binary64_832 pow-to-exp_binary64_829 pow-exp_binary64_828 unpow2_binary64_825 sqr-pow_binary64_732 diff-log_binary64_852 flip3--_binary64_764 flip--_binary64_735 sum-log_binary64_851 flip3-+_binary64_763 flip-+_binary64_734 distribute-lft-out_binary64_711 +-commutative_binary64_690
Counts
4 → 59
Calls

4 calls:

20.0ms
(pow.f64 (-.f64 (/.f64 (+.f64 m n) 2) M) 2)
17.0ms
(+.f64 (pow.f64 (-.f64 (/.f64 (+.f64 m n) 2) M) 2) l)
13.0ms
(cos.f64 (-.f64 (*.f64 1/2 (*.f64 K n)) M))
9.0ms
(-.f64 (*.f64 1/2 (*.f64 K n)) M)
Compiler

Compiled 2117 to 1140 computations (46.2% saved)

series1.4s (9.6%)

Error
0.6b
Counts
4 → 82
Calls

4 calls:

686.0ms
(+.f64 (pow.f64 (-.f64 (/.f64 (+.f64 m n) 2) M) 2) l)
361.0ms
(pow.f64 (-.f64 (/.f64 (+.f64 m n) 2) M) 2)
108.0ms
(-.f64 (*.f64 1/2 (*.f64 K n)) M)
87.0ms
(cos.f64 (-.f64 (*.f64 1/2 (*.f64 K n)) M))
Compiler

Compiled 6627 to 4626 computations (30.2% saved)

simplify126.0ms (0.9%)

Algorithm
egg-herbie
Counts
141 → 141
Iterations

Useful iterations: 0 (89.0ms)

IterNodesCost
049382561
149382561

prune201.0ms (1.4%)

Pruning

4 alts after pruning (2 fresh and 2 done)

PrunedKeptTotal
New1401141
Fresh112
Picked011
Done011
Total1414145
Error
0.6b
Counts
145 → 4
Compiler

Compiled 4375 to 2137 computations (51.2% saved)

localize21.0ms (0.1%)

Local error

Found 4 expressions with local error:

0.0b
(pow.f64 (-.f64 (/.f64 (+.f64 m n) 2) M) 2)
2.2b
(exp.f64 (log.f64 (-.f64 (*.f64 1/2 (*.f64 K n)) M)))
4.9b
(log.f64 (-.f64 (*.f64 1/2 (*.f64 K n)) M))
19.0b
(cos.f64 (exp.f64 (log.f64 (-.f64 (*.f64 1/2 (*.f64 K n)) M))))

rewrite154.0ms (1.1%)

Algorithm
rewrite-expression-head
Error
0.6b
Rules
14×add-sqr-sqrt_binary64_782
11×*-un-lft-identity_binary64_760
add-cube-cbrt_binary64_795
pow1_binary64_821
add-exp-log_binary64_798 log-prod_binary64_846 unpow-prod-down_binary64_839
add-log-exp_binary64_799 add-cbrt-cube_binary64_796 log-div_binary64_847 exp-prod_binary64_812
exp-sum_binary64_806 pow-unpow_binary64_837
log-pow_binary64_849 flip3--_binary64_764 flip--_binary64_735 exp-diff_binary64_808 difference-of-squares_binary64_729
rem-log-exp_binary64_801 rem-exp-log_binary64_800 times-frac_binary64_766 distribute-lft-out--_binary64_712 pow-pow_binary64_832 pow-to-exp_binary64_829 pow-exp_binary64_828 unpow2_binary64_825 sqr-pow_binary64_732
Counts
4 → 59
Calls

4 calls:

11.0ms
(cos.f64 (exp.f64 (log.f64 (-.f64 (*.f64 1/2 (*.f64 K n)) M))))
10.0ms
(pow.f64 (-.f64 (/.f64 (+.f64 m n) 2) M) 2)
10.0ms
(log.f64 (-.f64 (*.f64 1/2 (*.f64 K n)) M))
7.0ms
(exp.f64 (log.f64 (-.f64 (*.f64 1/2 (*.f64 K n)) M)))
Compiler

Compiled 2219 to 1270 computations (42.8% saved)

series874.0ms (6.2%)

Error
0.6b
Counts
4 → 54
Calls

4 calls:

381.0ms
(pow.f64 (-.f64 (/.f64 (+.f64 m n) 2) M) 2)
211.0ms
(cos.f64 (exp.f64 (log.f64 (-.f64 (*.f64 1/2 (*.f64 K n)) M))))
115.0ms
(exp.f64 (log.f64 (-.f64 (*.f64 1/2 (*.f64 K n)) M)))
75.0ms
(log.f64 (-.f64 (*.f64 1/2 (*.f64 K n)) M))
Compiler

Compiled 5029 to 3733 computations (25.8% saved)

simplify127.0ms (0.9%)

Algorithm
egg-herbie
Counts
113 → 113
Iterations

Useful iterations: 0 (85.0ms)

IterNodesCost
050661734

prune173.0ms (1.2%)

Pruning

4 alts after pruning (1 fresh and 3 done)

PrunedKeptTotal
New1130113
Fresh011
Picked011
Done022
Total1134117
Error
0.6b
Counts
117 → 4
Compiler

Compiled 3527 to 1888 computations (46.5% saved)

regimes672.0ms (4.8%)

Accuracy

Total 0.2b remaining (14.6%)

Threshold costs 0.2b (14.6%)

Compiler

Compiled 6272 to 5394 computations (14% saved)

bsearch0.0ms (0%)

simplify3.0ms (0%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
06233
16233

end0.0ms (0%)

sample2.8s (19.8%)

Algorithm
intervals
Results
922.0ms7834×body128valid
42.0ms68×body1024valid
34.0ms76×body1024invalid
33.0ms288×body128invalid
26.0ms76×body512invalid
22.0ms61×body512valid
17.0ms18×body2048invalid
13.0ms55×body256invalid
9.0ms37×body256valid
Compiler

Compiled 1085 to 931 computations (14.2% saved)

Profiling

Loading profile data...