Details

Time bar (total: 1.9min)

analyze17.4s (15.3%)

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)

sample2.5s (2.2%)

Algorithm
intervals
Results
1.1s122×body4096valid
939.0ms42×body8192valid
337.0ms63×body2048valid
48.0ms15×body1024valid
12.0msbody512valid
8.0msbody256valid
5.0msbody2048invalid
3.0msbody1024invalid
2.0msbody512invalid
1.0msbody128valid
Compiler

Compiled 367 to 254 computations (30.8% saved)

simplify118.0ms (0.1%)

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (18.0ms)

IterNodesCost
05065287

prune19.0ms (0%)

Pruning

1 alts after pruning (1 fresh and 0 done)

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

Compiled 360 to 236 computations (34.4% saved)

localize80.0ms (0.1%)

Local error

Found 4 expressions with local error:

27.7b
(sin.f64 (*.f64 (/.f64 angle 180) PI.f64))
27.7b
(sin.f64 (*.f64 (/.f64 angle 180) PI.f64))
27.7b
(sin.f64 (*.f64 (/.f64 angle 180) PI.f64))
36.4b
(-.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 (cos.f64 (*.f64 (/.f64 angle 180) PI.f64)) (*.f64 (sin.f64 (*.f64 (/.f64 angle 180) PI.f64)) (*.f64 2 (-.f64 (*.f64 b b) (*.f64 a a))))) (*.f64 x-scale y-scale)) 2))))

rewrite329.0ms (0.3%)

Algorithm
rewrite-expression-head
Rules
18×*-un-lft-identity_binary64
10×add-sqr-sqrt_binary64
add-log-exp_binary64 cancel-sign-sub-inv_binary64
sqrt-prod_binary64
add-cube-cbrt_binary64 frac-sub_binary64 sqrt-div_binary64
flip3-+_binary64 flip-+_binary64
pow1_binary64 distribute-lft-out_binary64 add-exp-log_binary64 add-cbrt-cube_binary64 unpow-prod-down_binary64
distribute-lft-out--_binary64
diff-log_binary64 frac-add_binary64 difference-of-squares_binary64
sub-neg_binary64 flip3--_binary64 flip--_binary64 associate--l+_binary64 sum-log_binary64
Counts
4 → 53
Calls

4 calls:

291.0ms
(-.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 (cos.f64 (*.f64 (/.f64 angle 180) PI.f64)) (*.f64 (sin.f64 (*.f64 (/.f64 angle 180) PI.f64)) (*.f64 2 (-.f64 (*.f64 b b) (*.f64 a a))))) (*.f64 x-scale y-scale)) 2))))
2.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))

series11.7s (10.3%)

Counts
4 → 12
Calls

4 calls:

11.7s
(-.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 (cos.f64 (*.f64 (/.f64 angle 180) PI.f64)) (*.f64 (sin.f64 (*.f64 (/.f64 angle 180) PI.f64)) (*.f64 2 (-.f64 (*.f64 b b) (*.f64 a a))))) (*.f64 x-scale y-scale)) 2))))
13.0ms
(sin.f64 (*.f64 (/.f64 angle 180) PI.f64))
13.0ms
(sin.f64 (*.f64 (/.f64 angle 180) PI.f64))
11.0ms
(sin.f64 (*.f64 (/.f64 angle 180) PI.f64))

simplify140.0ms (0.1%)

Algorithm
egg-herbie
Counts
65 → 65
Iterations

Useful iterations: 0 (47.0ms)

IterNodesCost
0497111862
1497111862

prune829.0ms (0.7%)

Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New62365
Fresh000
Picked101
Done000
Total63366
Error
59.6b
Counts
66 → 3
Compiler

Compiled 15296 to 9177 computations (40% saved)

localize22.0ms (0%)

Local error

Found 4 expressions with local error:

15.1b
(/.f64 (sqrt.f64 (*.f64 (*.f64 (/.f64 8 (pow.f64 (*.f64 x-scale y-scale) 2)) (*.f64 (*.f64 b a) (*.f64 b (neg.f64 a)))) (*.f64 (*.f64 (*.f64 b a) (*.f64 b (neg.f64 a))) 0))) (*.f64 (*.f64 b a) (*.f64 b (neg.f64 a))))
16.3b
(*.f64 (/.f64 (sqrt.f64 (*.f64 (*.f64 (/.f64 8 (pow.f64 (*.f64 x-scale y-scale) 2)) (*.f64 (*.f64 b a) (*.f64 b (neg.f64 a)))) (*.f64 (*.f64 (*.f64 b a) (*.f64 b (neg.f64 a))) 0))) (*.f64 (*.f64 b a) (*.f64 b (neg.f64 a)))) (pow.f64 (*.f64 x-scale y-scale) 2))
19.5b
(*.f64 (*.f64 (*.f64 b a) (*.f64 b (neg.f64 a))) 0)
20.8b
(*.f64 (*.f64 (/.f64 8 (pow.f64 (*.f64 x-scale y-scale) 2)) (*.f64 (*.f64 b a) (*.f64 b (neg.f64 a)))) (*.f64 (*.f64 (*.f64 b a) (*.f64 b (neg.f64 a))) 0))

rewrite224.0ms (0.2%)

Algorithm
rewrite-expression-head
Rules
1300×add-exp-log_binary64
997×prod-exp_binary64
526×add-cbrt-cube_binary64
400×cbrt-unprod_binary64
250×pow1_binary64
205×pow-prod-down_binary64
145×div-exp_binary64
72×pow-exp_binary64
40×cbrt-undiv_binary64
36×pow-to-exp_binary64
14×add-sqr-sqrt_binary64
10×*-un-lft-identity_binary64 associate-*r*_binary64 add-cube-cbrt_binary64 associate-*l*_binary64
distribute-rgt-neg-out_binary64 times-frac_binary64
associate-*l/_binary64
add-log-exp_binary64 associate-/l*_binary64
distribute-lft-neg-out_binary64 unswap-sqr_binary64 sqrt-prod_binary64 *-commutative_binary64
unpow2_binary64 sqr-pow_binary64 div-inv_binary64
associate-/l/_binary64 associate-/r*_binary64 mul0-rgt_binary64 clear-num_binary64 unpow-prod-down_binary64 frac-2neg_binary64 sqrt-div_binary64
Counts
4 → 386
Calls

4 calls:

39.0ms
(/.f64 (sqrt.f64 (*.f64 (*.f64 (/.f64 8 (pow.f64 (*.f64 x-scale y-scale) 2)) (*.f64 (*.f64 b a) (*.f64 b (neg.f64 a)))) (*.f64 (*.f64 (*.f64 b a) (*.f64 b (neg.f64 a))) 0))) (*.f64 (*.f64 b a) (*.f64 b (neg.f64 a))))
37.0ms
(*.f64 (/.f64 (sqrt.f64 (*.f64 (*.f64 (/.f64 8 (pow.f64 (*.f64 x-scale y-scale) 2)) (*.f64 (*.f64 b a) (*.f64 b (neg.f64 a)))) (*.f64 (*.f64 (*.f64 b a) (*.f64 b (neg.f64 a))) 0))) (*.f64 (*.f64 b a) (*.f64 b (neg.f64 a)))) (pow.f64 (*.f64 x-scale y-scale) 2))
32.0ms
(*.f64 (*.f64 (/.f64 8 (pow.f64 (*.f64 x-scale y-scale) 2)) (*.f64 (*.f64 b a) (*.f64 b (neg.f64 a)))) (*.f64 (*.f64 (*.f64 b a) (*.f64 b (neg.f64 a))) 0))
11.0ms
(*.f64 (*.f64 (*.f64 b a) (*.f64 b (neg.f64 a))) 0)

series30.0ms (0%)

Counts
4 → 12
Calls

4 calls:

10.0ms
(*.f64 (/.f64 (sqrt.f64 (*.f64 (*.f64 (/.f64 8 (pow.f64 (*.f64 x-scale y-scale) 2)) (*.f64 (*.f64 b a) (*.f64 b (neg.f64 a)))) (*.f64 (*.f64 (*.f64 b a) (*.f64 b (neg.f64 a))) 0))) (*.f64 (*.f64 b a) (*.f64 b (neg.f64 a)))) (pow.f64 (*.f64 x-scale y-scale) 2))
9.0ms
(/.f64 (sqrt.f64 (*.f64 (*.f64 (/.f64 8 (pow.f64 (*.f64 x-scale y-scale) 2)) (*.f64 (*.f64 b a) (*.f64 b (neg.f64 a)))) (*.f64 (*.f64 (*.f64 b a) (*.f64 b (neg.f64 a))) 0))) (*.f64 (*.f64 b a) (*.f64 b (neg.f64 a))))
8.0ms
(*.f64 (*.f64 (/.f64 8 (pow.f64 (*.f64 x-scale y-scale) 2)) (*.f64 (*.f64 b a) (*.f64 b (neg.f64 a)))) (*.f64 (*.f64 (*.f64 b a) (*.f64 b (neg.f64 a))) 0))
3.0ms
(*.f64 (*.f64 (*.f64 b a) (*.f64 b (neg.f64 a))) 0)

simplify173.0ms (0.2%)

Algorithm
egg-herbie
Counts
398 → 398
Iterations

Useful iterations: 0 (77.0ms)

IterNodesCost
047152605
147152605

prune502.0ms (0.4%)

Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New3971398
Fresh022
Picked101
Done000
Total3983401
Error
43.7b
Counts
401 → 3
Compiler

Compiled 9640 to 4430 computations (54% saved)

localize2.0ms (0%)

rewrite0.0ms (0%)

Algorithm
rewrite-expression-head
Rules
Counts
0 → 0

series0.0ms (0%)

Counts
0 → 0

simplify8.0ms (0%)

Algorithm
egg-herbie
Counts
0 → 0
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
000

prune9.0ms (0%)

Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New000
Fresh022
Picked011
Done000
Total033
Error
43.7b
Counts
3 → 3
Compiler

Compiled 233 to 147 computations (36.9% saved)

localize23.0ms (0%)

Local error

Found 4 expressions with local error:

13.9b
(*.f64 (/.f64 8 (pow.f64 (*.f64 x-scale y-scale) 2)) (*.f64 (*.f64 b a) (*.f64 b (neg.f64 a))))
17.5b
(/.f64 (*.f64 a a) (*.f64 y-scale y-scale))
31.4b
(*.f64 (/.f64 (sqrt.f64 (*.f64 (*.f64 (/.f64 8 (pow.f64 (*.f64 x-scale y-scale) 2)) (*.f64 (*.f64 b a) (*.f64 b (neg.f64 a)))) (*.f64 (*.f64 (*.f64 b a) (*.f64 b (neg.f64 a))) (*.f64 2 (/.f64 (*.f64 a a) (*.f64 y-scale y-scale)))))) (*.f64 (*.f64 b a) (*.f64 b (neg.f64 a)))) (pow.f64 (*.f64 x-scale y-scale) 2))
33.6b
(/.f64 (sqrt.f64 (*.f64 (*.f64 (/.f64 8 (pow.f64 (*.f64 x-scale y-scale) 2)) (*.f64 (*.f64 b a) (*.f64 b (neg.f64 a)))) (*.f64 (*.f64 (*.f64 b a) (*.f64 b (neg.f64 a))) (*.f64 2 (/.f64 (*.f64 a a) (*.f64 y-scale y-scale)))))) (*.f64 (*.f64 b a) (*.f64 b (neg.f64 a))))

rewrite162.0ms (0.1%)

Algorithm
rewrite-expression-head
Rules
244×add-exp-log_binary64
144×prod-exp_binary64
100×add-cbrt-cube_binary64
52×cbrt-unprod_binary64
49×div-exp_binary64
30×associate-*l*_binary64
27×times-frac_binary64
23×add-sqr-sqrt_binary64
22×pow1_binary64 pow-exp_binary64
19×*-un-lft-identity_binary64 cbrt-undiv_binary64 add-cube-cbrt_binary64
13×pow-prod-down_binary64
11×pow-to-exp_binary64
associate-*r*_binary64
unpow2_binary64 associate-*r/_binary64 sqr-pow_binary64 associate-/l*_binary64 associate-*l/_binary64
add-log-exp_binary64 unpow-prod-down_binary64 div-inv_binary64
associate-/l/_binary64 distribute-rgt-neg-out_binary64 unswap-sqr_binary64 sqrt-prod_binary64 sqrt-div_binary64
associate-/r*_binary64 clear-num_binary64 frac-2neg_binary64 *-commutative_binary64
frac-times_binary64
Counts
4 → 182
Calls

4 calls:

51.0ms
(/.f64 (sqrt.f64 (*.f64 (*.f64 (/.f64 8 (pow.f64 (*.f64 x-scale y-scale) 2)) (*.f64 (*.f64 b a) (*.f64 b (neg.f64 a)))) (*.f64 (*.f64 (*.f64 b a) (*.f64 b (neg.f64 a))) (*.f64 2 (/.f64 (*.f64 a a) (*.f64 y-scale y-scale)))))) (*.f64 (*.f64 b a) (*.f64 b (neg.f64 a))))
47.0ms
(*.f64 (/.f64 (sqrt.f64 (*.f64 (*.f64 (/.f64 8 (pow.f64 (*.f64 x-scale y-scale) 2)) (*.f64 (*.f64 b a) (*.f64 b (neg.f64 a)))) (*.f64 (*.f64 (*.f64 b a) (*.f64 b (neg.f64 a))) (*.f64 2 (/.f64 (*.f64 a a) (*.f64 y-scale y-scale)))))) (*.f64 (*.f64 b a) (*.f64 b (neg.f64 a)))) (pow.f64 (*.f64 x-scale y-scale) 2))
17.0ms
(*.f64 (/.f64 8 (pow.f64 (*.f64 x-scale y-scale) 2)) (*.f64 (*.f64 b a) (*.f64 b (neg.f64 a))))
7.0ms
(/.f64 (*.f64 a a) (*.f64 y-scale y-scale))

series218.0ms (0.2%)

Counts
4 → 12
Calls

4 calls:

116.0ms
(*.f64 (/.f64 8 (pow.f64 (*.f64 x-scale y-scale) 2)) (*.f64 (*.f64 b a) (*.f64 b (neg.f64 a))))
51.0ms
(/.f64 (sqrt.f64 (*.f64 (*.f64 (/.f64 8 (pow.f64 (*.f64 x-scale y-scale) 2)) (*.f64 (*.f64 b a) (*.f64 b (neg.f64 a)))) (*.f64 (*.f64 (*.f64 b a) (*.f64 b (neg.f64 a))) (*.f64 2 (/.f64 (*.f64 a a) (*.f64 y-scale y-scale)))))) (*.f64 (*.f64 b a) (*.f64 b (neg.f64 a))))
31.0ms
(*.f64 (/.f64 (sqrt.f64 (*.f64 (*.f64 (/.f64 8 (pow.f64 (*.f64 x-scale y-scale) 2)) (*.f64 (*.f64 b a) (*.f64 b (neg.f64 a)))) (*.f64 (*.f64 (*.f64 b a) (*.f64 b (neg.f64 a))) (*.f64 2 (/.f64 (*.f64 a a) (*.f64 y-scale y-scale)))))) (*.f64 (*.f64 b a) (*.f64 b (neg.f64 a)))) (pow.f64 (*.f64 x-scale y-scale) 2))
20.0ms
(/.f64 (*.f64 a a) (*.f64 y-scale y-scale))

simplify112.0ms (0.1%)

Algorithm
egg-herbie
Counts
194 → 194
Iterations

Useful iterations: 0 (44.0ms)

IterNodesCost
049647256
149647256

prune425.0ms (0.4%)

Pruning

8 alts after pruning (7 fresh and 1 done)

PrunedKeptTotal
New1886194
Fresh011
Picked101
Done011
Total1898197
Error
38.5b
Counts
197 → 8
Compiler

Compiled 10432 to 3933 computations (62.3% saved)

regimes978.0ms (0.9%)

Accuracy

Total 3.6b remaining (8.7%)

Threshold costs 0b (0%)

Compiler

Compiled 15576 to 10274 computations (34% saved)

bsearch2.7s (2.3%)

Steps
ItersRangePoint
10
0.007136823325757612
49361768.15337886
44548204.38027624
9
-2.2579154152335891e+21
-147116139818481.25
-30869386633162908.0
Compiler

Compiled 1 to 5 computations (-400% saved)

simplify2.0ms (0%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
02325
12325

end0.0ms (0%)

sample1.2min (66%)

Algorithm
intervals
Results
33.3s3732×body4096valid
27.4s1483×body8192valid
9.4s1801×body2048valid
2.1s640×body1024valid
430.0ms197×body512valid
197.0ms35×body2048invalid
128.0ms97×body256valid
123.0ms34×body1024invalid
48.0msbody4096invalid
45.0ms22×body512invalid
33.0ms50×body128valid
13.0ms10×body256invalid
3.0msbody128invalid
Compiler

Compiled 2099 to 1391 computations (33.7% saved)

Profiling

Loading profile data...