Details

Time bar (total: 2.5min)

analyze17.1s (11.4%)

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%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)

sample853.0ms (0.6%)

Algorithm
intervals
Results
317.0ms67×body1024valid
143.0ms31×body1024invalid
99.0ms30×body512valid
91.0ms140×body128valid
49.0msbody2048valid
44.0ms14×body512invalid
38.0ms59×body128invalid
23.0ms12×body256valid
14.0msbody256invalid
Compiler

Compiled 367 to 254 computations (30.8% saved)

simplify139.0ms (0.1%)

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (41.0ms)

IterNodesCost
05020283

prune16.0ms (0%)

Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New101
Fresh011
Picked000
Done000
Total112

Merged 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.8b
(sin.f64 (*.f64 (/.f64 angle 180) PI.f64))
28.8b
(sin.f64 (*.f64 (/.f64 angle 180) PI.f64))
28.8b
(sin.f64 (*.f64 (/.f64 angle 180) PI.f64))
46.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)))

rewrite209.0ms (0.1%)

Algorithm
rewrite-expression-head
Rules
198×times-frac_binary64_766
130×add-exp-log_binary64_798
63×*-un-lft-identity_binary64_760 add-cube-cbrt_binary64_795 add-sqr-sqrt_binary64_782
58×prod-exp_binary64_809
49×div-exp_binary64_811
44×distribute-lft-neg-in_binary64_717 distribute-rgt-neg-in_binary64_718
37×add-cbrt-cube_binary64_796
29×sqrt-div_binary64_777
22×sqrt-prod_binary64_776
17×distribute-neg-frac_binary64_724 associate-/l/_binary64_707 associate-*r/_binary64_702
16×frac-add_binary64_768
14×div-inv_binary64_757
13×cbrt-undiv_binary64_794 unpow2_binary64_825 sqr-pow_binary64_732 cbrt-unprod_binary64_793 unpow-prod-down_binary64_839
12×flip3-+_binary64_763 pow-exp_binary64_828 flip-+_binary64_734 associate-/l*_binary64_705
11×neg-mul-1_binary64_756
10×associate-*l/_binary64_703 associate-/r*_binary64_704
frac-times_binary64_770
pow-to-exp_binary64_829
add-log-exp_binary64_799 pow1_binary64_821
frac-2neg_binary64_771 associate-/r/_binary64_706 distribute-frac-neg_binary64_723 neg-sub0_binary64_755 div-sub_binary64_765 clear-num_binary64_759
Counts
4 → 225
Calls

4 calls:

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

series2.2min (87.7%)

Profiling

Loading profile data...