Details

Time bar (total: 2.5min)

analyze21.8s (14.5%)

Algorithm
search
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
049973121
149973121
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%99.8%0.2%11
0%99.8%0.2%12
0%99.8%0.2%13
0%99.8%0.2%14
Compiler

Compiled 184 to 125 computations (32.1% saved)

sample1.1s (0.8%)

Algorithm
intervals
Results
324.0ms59×body1024valid
244.0ms12×body256invalid
137.0ms24×body1024invalid
120.0ms26×body512valid
119.0ms154×body128valid
47.0ms52×body128invalid
41.0msbody2048valid
34.0msbody512invalid
22.0ms12×body256valid
Compiler

Compiled 367 to 254 computations (30.8% saved)

simplify65.0ms (0%)

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (51.0ms)

IterNodesCost
05020283

prune16.0ms (0%)

Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New101
Fresh011
Picked000
Done000
Total112
Error
63.5b
Counts
2 → 1
Compiler

Compiled 361 to 244 computations (32.4% saved)

localize92.0ms (0.1%)

Local error

Found 4 expressions with local error:

23.5b
(cos.f64 (*.f64 (/.f64 angle 180) PI.f64))
23.5b
(cos.f64 (*.f64 (/.f64 angle 180) PI.f64))
23.5b
(cos.f64 (*.f64 (/.f64 angle 180) PI.f64))
48.1b
(/.f64 (neg.f64 (sqrt.f64 (*.f64 (*.f64 (*.f64 2 (/.f64 (*.f64 4 (*.f64 (*.f64 b a) (*.f64 b (neg.f64 a)))) (pow.f64 (*.f64 x-scale y-scale) 2))) (*.f64 (*.f64 b a) (*.f64 b (neg.f64 a)))) (+.f64 (+.f64 (/.f64 (/.f64 (+.f64 (pow.f64 (*.f64 a (sin.f64 (*.f64 (/.f64 angle 180) PI.f64))) 2) (pow.f64 (*.f64 b (cos.f64 (*.f64 (/.f64 angle 180) PI.f64))) 2)) x-scale) x-scale) (/.f64 (/.f64 (+.f64 (pow.f64 (*.f64 a (cos.f64 (*.f64 (/.f64 angle 180) PI.f64))) 2) (pow.f64 (*.f64 b (sin.f64 (*.f64 (/.f64 angle 180) PI.f64))) 2)) y-scale) y-scale)) (sqrt.f64 (+.f64 (pow.f64 (-.f64 (/.f64 (/.f64 (+.f64 (pow.f64 (*.f64 a (sin.f64 (*.f64 (/.f64 angle 180) PI.f64))) 2) (pow.f64 (*.f64 b (cos.f64 (*.f64 (/.f64 angle 180) PI.f64))) 2)) x-scale) x-scale) (/.f64 (/.f64 (+.f64 (pow.f64 (*.f64 a (cos.f64 (*.f64 (/.f64 angle 180) PI.f64))) 2) (pow.f64 (*.f64 b (sin.f64 (*.f64 (/.f64 angle 180) PI.f64))) 2)) y-scale) y-scale)) 2) (pow.f64 (/.f64 (/.f64 (*.f64 (*.f64 (*.f64 2 (-.f64 (pow.f64 b 2) (pow.f64 a 2))) (sin.f64 (*.f64 (/.f64 angle 180) PI.f64))) (cos.f64 (*.f64 (/.f64 angle 180) PI.f64))) x-scale) y-scale) 2))))))) (/.f64 (*.f64 4 (*.f64 (*.f64 b a) (*.f64 b (neg.f64 a)))) (pow.f64 (*.f64 x-scale y-scale) 2)))

rewrite8.5s (5.6%)

Algorithm
rewrite-expression-head
Error
63.2b
Rules
198×times-frac_binary64_1107
130×add-exp-log_binary64_1139
63×add-cube-cbrt_binary64_1136 add-sqr-sqrt_binary64_1123 *-un-lft-identity_binary64_1101
58×prod-exp_binary64_1150
49×div-exp_binary64_1152
44×distribute-rgt-neg-in_binary64_1059 distribute-lft-neg-in_binary64_1058
37×add-cbrt-cube_binary64_1137
29×sqrt-div_binary64_1118
22×sqrt-prod_binary64_1117
17×associate-*r/_binary64_1043 distribute-neg-frac_binary64_1065 associate-/l/_binary64_1048
16×frac-add_binary64_1109
14×div-inv_binary64_1098
13×cbrt-undiv_binary64_1135 cbrt-unprod_binary64_1134 unpow-prod-down_binary64_1180 unpow2_binary64_1166 sqr-pow_binary64_1073
12×pow-exp_binary64_1169 flip3-+_binary64_1104 flip-+_binary64_1075 associate-/l*_binary64_1046
11×neg-mul-1_binary64_1097
10×associate-*l/_binary64_1044 associate-/r*_binary64_1045
frac-times_binary64_1111
pow-to-exp_binary64_1170
pow1_binary64_1162 add-log-exp_binary64_1140
frac-2neg_binary64_1112 neg-sub0_binary64_1096 div-sub_binary64_1106 clear-num_binary64_1100 distribute-frac-neg_binary64_1064 associate-/r/_binary64_1047
Counts
4 → 225
Calls

4 calls:

36.0ms
(/.f64 (neg.f64 (sqrt.f64 (*.f64 (*.f64 (*.f64 2 (/.f64 (*.f64 4 (*.f64 (*.f64 b a) (*.f64 b (neg.f64 a)))) (pow.f64 (*.f64 x-scale y-scale) 2))) (*.f64 (*.f64 b a) (*.f64 b (neg.f64 a)))) (+.f64 (+.f64 (/.f64 (/.f64 (+.f64 (pow.f64 (*.f64 a (sin.f64 (*.f64 (/.f64 angle 180) PI.f64))) 2) (pow.f64 (*.f64 b (cos.f64 (*.f64 (/.f64 angle 180) PI.f64))) 2)) x-scale) x-scale) (/.f64 (/.f64 (+.f64 (pow.f64 (*.f64 a (cos.f64 (*.f64 (/.f64 angle 180) PI.f64))) 2) (pow.f64 (*.f64 b (sin.f64 (*.f64 (/.f64 angle 180) PI.f64))) 2)) y-scale) y-scale)) (sqrt.f64 (+.f64 (pow.f64 (-.f64 (/.f64 (/.f64 (+.f64 (pow.f64 (*.f64 a (sin.f64 (*.f64 (/.f64 angle 180) PI.f64))) 2) (pow.f64 (*.f64 b (cos.f64 (*.f64 (/.f64 angle 180) PI.f64))) 2)) x-scale) x-scale) (/.f64 (/.f64 (+.f64 (pow.f64 (*.f64 a (cos.f64 (*.f64 (/.f64 angle 180) PI.f64))) 2) (pow.f64 (*.f64 b (sin.f64 (*.f64 (/.f64 angle 180) PI.f64))) 2)) y-scale) y-scale)) 2) (pow.f64 (/.f64 (/.f64 (*.f64 (*.f64 (*.f64 2 (-.f64 (pow.f64 b 2) (pow.f64 a 2))) (sin.f64 (*.f64 (/.f64 angle 180) PI.f64))) (cos.f64 (*.f64 (/.f64 angle 180) PI.f64))) x-scale) y-scale) 2))))))) (/.f64 (*.f64 4 (*.f64 (*.f64 b a) (*.f64 b (neg.f64 a)))) (pow.f64 (*.f64 x-scale y-scale) 2)))
2.0ms
(cos.f64 (*.f64 (/.f64 angle 180) PI.f64))
2.0ms
(cos.f64 (*.f64 (/.f64 angle 180) PI.f64))
2.0ms
(cos.f64 (*.f64 (/.f64 angle 180) PI.f64))
Compiler

Compiled 70937 to 45015 computations (36.5% saved)

series2.0min (78.9%)

Compiler

Compiled 50237 to 36150 computations (28% saved)

Profiling

Loading profile data...