Details

Time bar (total: 2.5min)

analyze17.6s (11.7%)

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)

sample837.0ms (0.6%)

Algorithm
intervals
Results
307.0ms64×body1024valid
146.0ms31×body1024invalid
100.0ms143×body128valid
89.0ms29×body512valid
47.0ms14×body512invalid
43.0ms63×body128invalid
35.0ms18×body256valid
20.0ms11×body256invalid
13.0msbody2048valid
Compiler

Compiled 367 to 254 computations (30.8% saved)

simplify51.0ms (0%)

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (43.0ms)

IterNodesCost
05020283

prune19.0ms (0%)

Pruning

1 alts after pruning (1 fresh and 0 done)

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

Compiled 361 to 244 computations (32.4% saved)

localize76.0ms (0.1%)

Local error

Found 4 expressions with local error:

28.4b
(cos.f64 (*.f64 (/.f64 angle 180) PI.f64))
28.4b
(cos.f64 (*.f64 (/.f64 angle 180) PI.f64))
28.4b
(cos.f64 (*.f64 (/.f64 angle 180) PI.f64))
45.3b
(/.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)))

rewrite200.0ms (0.1%)

Algorithm
rewrite-expression-head
Rules
198×times-frac_binary64_1107
130×add-exp-log_binary64_1139
63×add-sqr-sqrt_binary64_1123 *-un-lft-identity_binary64_1101 add-cube-cbrt_binary64_1136
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×distribute-neg-frac_binary64_1065 associate-/l/_binary64_1048 associate-*r/_binary64_1043
16×frac-add_binary64_1109
14×div-inv_binary64_1098
13×cbrt-unprod_binary64_1134 unpow-prod-down_binary64_1180 cbrt-undiv_binary64_1135 sqr-pow_binary64_1073 unpow2_binary64_1166
12×pow-exp_binary64_1169 flip3-+_binary64_1104 associate-/l*_binary64_1046 flip-+_binary64_1075
11×neg-mul-1_binary64_1097
10×associate-*l/_binary64_1044 associate-/r*_binary64_1045
frac-times_binary64_1111
pow-to-exp_binary64_1170
add-log-exp_binary64_1140 pow1_binary64_1162
frac-2neg_binary64_1112 clear-num_binary64_1100 neg-sub0_binary64_1096 distribute-frac-neg_binary64_1064 associate-/r/_binary64_1047 div-sub_binary64_1106
Counts
4 → 225
Calls

4 calls:

40.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)))
6.0ms
(cos.f64 (*.f64 (/.f64 angle 180) PI.f64))
3.0ms
(cos.f64 (*.f64 (/.f64 angle 180) PI.f64))
2.0ms
(cos.f64 (*.f64 (/.f64 angle 180) PI.f64))

series2.2min (87.5%)

Profiling

Loading profile data...