Details

Time bar (total: 1.8min)

analyze17.3s (15.6%)

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.6s (2.4%)

Algorithm
intervals
Results
1.2s118×body4096valid
990.0ms57×body8192valid
282.0ms50×body2048valid
60.0ms20×body1024valid
16.0msbody512valid
6.0msbody2048invalid
4.0msbody1024invalid
4.0msbody256valid
Compiler

Compiled 367 to 254 computations (30.8% saved)

simplify114.0ms (0.1%)

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (16.0ms)

IterNodesCost
05065287

prune19.0ms (0%)

Pruning

1 alts after pruning (1 fresh and 0 done)

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

Compiled 360 to 236 computations (34.4% saved)

localize84.0ms (0.1%)

Local error

Found 4 expressions with local error:

28.1b
(sin.f64 (*.f64 (/.f64 angle 180) PI.f64))
28.1b
(sin.f64 (*.f64 (/.f64 angle 180) PI.f64))
28.1b
(sin.f64 (*.f64 (/.f64 angle 180) PI.f64))
40.9b
(-.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))))

rewrite338.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:

299.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.9s (10.7%)

Counts
4 → 12
Calls

4 calls:

11.8s
(-.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))))
14.0ms
(sin.f64 (*.f64 (/.f64 angle 180) PI.f64))
13.0ms
(sin.f64 (*.f64 (/.f64 angle 180) PI.f64))
13.0ms
(sin.f64 (*.f64 (/.f64 angle 180) PI.f64))

simplify140.0ms (0.1%)

Algorithm
egg-herbie
Counts
65 → 65
Iterations

Useful iterations: 0 (46.0ms)

IterNodesCost
0497111862
1497111862

prune907.0ms (0.8%)

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New63265
Fresh000
Picked101
Done000
Total64266
Error
59.3b
Counts
66 → 2
Compiler

Compiled 15116 to 9059 computations (40.1% saved)

localize18.0ms (0%)

Local error

Found 4 expressions with local error:

16.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))) 0))) (*.f64 (*.f64 b a) (*.f64 b (neg.f64 a))))
16.6b
(*.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))
17.8b
(*.f64 (*.f64 (*.f64 b a) (*.f64 b (neg.f64 a))) 0)
22.7b
(*.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))

rewrite232.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:

42.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))))
36.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))
34.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)

series31.0ms (0%)

Counts
4 → 12
Calls

4 calls:

11.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))))
7.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)

simplify182.0ms (0.2%)

Algorithm
egg-herbie
Counts
398 → 398
Iterations

Useful iterations: 0 (78.0ms)

IterNodesCost
047152605
147152605

prune496.0ms (0.4%)

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New3971398
Fresh011
Picked101
Done000
Total3982400
Error
42.6b
Counts
400 → 2
Compiler

Compiled 9460 to 4312 computations (54.4% saved)

localize2.0ms (0%)

rewrite0.0ms (0%)

Algorithm
rewrite-expression-head
Rules
Counts
0 → 0

series0.0ms (0%)

Counts
0 → 0

simplify6.0ms (0%)

Algorithm
egg-herbie
Counts
0 → 0
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
000

prune3.0ms (0%)

Pruning

2 alts after pruning (1 fresh and 1 done)

PrunedKeptTotal
New000
Fresh011
Picked011
Done000
Total022
Error
42.6b
Counts
2 → 2
Compiler

Compiled 53 to 29 computations (45.3% saved)

localize26.0ms (0%)

Local error

Found 4 expressions with local error:

11.3b
(/.f64 (*.f64 a a) (*.f64 y-scale y-scale))
12.8b
(*.f64 (/.f64 8 (pow.f64 (*.f64 x-scale y-scale) 2)) (*.f64 (*.f64 b a) (*.f64 b (neg.f64 a))))
34.4b
(/.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))))
34.8b
(*.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))

rewrite159.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))))
48.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))

series228.0ms (0.2%)

Counts
4 → 12
Calls

4 calls:

121.0ms
(*.f64 (/.f64 8 (pow.f64 (*.f64 x-scale y-scale) 2)) (*.f64 (*.f64 b a) (*.f64 b (neg.f64 a))))
47.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))))
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))) (*.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))
21.0ms
(/.f64 (*.f64 a a) (*.f64 y-scale y-scale))

simplify115.0ms (0.1%)

Algorithm
egg-herbie
Counts
194 → 194
Iterations

Useful iterations: 0 (47.0ms)

IterNodesCost
049647256
149647256

prune388.0ms (0.3%)

Pruning

7 alts after pruning (6 fresh and 1 done)

PrunedKeptTotal
New1886194
Fresh000
Picked101
Done011
Total1897196
Error
38.3b
Counts
196 → 7
Compiler

Compiled 10432 to 3933 computations (62.3% saved)

regimes606.0ms (0.5%)

Accuracy

Total 4.4b remaining (10.2%)

Threshold costs 0b (0%)

Compiler

Compiled 8776 to 5802 computations (33.9% saved)

bsearch1.4s (1.2%)

Steps
ItersRangePoint
10
-1.1007407326272853e-41
-6.575076000066281e-54
-4.099588275191431e-45
Compiler

Compiled 1 to 5 computations (-400% saved)

simplify2.0ms (0%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
01717
11717

end0.0ms (0%)

sample1.2min (66.4%)

Algorithm
intervals
Results
32.7s3709×body4096valid
27.1s1488×body8192valid
9.5s1825×body2048valid
2.0s611×body1024valid
460.0ms221×body512valid
209.0ms33×body2048invalid
128.0ms98×body256valid
83.0ms25×body1024invalid
48.0msbody4096invalid
40.0ms20×body512invalid
32.0ms48×body128valid
17.0ms13×body256invalid
4.0msbody128invalid
Compiler

Compiled 1244 to 828 computations (33.4% saved)

Profiling

Loading profile data...