Details

Time bar (total: 2.3min)

analyze17.3s (12.5%)

Algorithm
search
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
050013121
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)

sample2.5s (1.8%)

Algorithm
intervals
Results
1.0s116×body4096valid
795.0ms45×body8192valid
496.0ms58×body2048valid
68.0ms19×body1024valid
20.0ms10×body512valid
11.0msbody2048invalid
9.0msbody256valid
3.0msbody1024invalid
1.0msbody256invalid
1.0msbody128valid
Compiler

Compiled 367 to 254 computations (30.8% saved)

simplify27.0ms (0%)

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (18.0ms)

IterNodesCost
05065287

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

localize75.0ms (0.1%)

Local error

Found 4 expressions with local error:

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

rewrite1.1s (0.8%)

Algorithm
rewrite-expression-head
Error
63.9b
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 sqrt-div_binary64 frac-sub_binary64
flip3-+_binary64 flip-+_binary64
pow1_binary64 add-exp-log_binary64 add-cbrt-cube_binary64 unpow-prod-down_binary64 distribute-lft-out_binary64
distribute-lft-out--_binary64
diff-log_binary64 frac-add_binary64 difference-of-squares_binary64
sum-log_binary64 flip3--_binary64 sub-neg_binary64 flip--_binary64 associate--l+_binary64
Counts
4 → 53
Calls

4 calls:

293.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
(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 15167 to 9281 computations (38.8% saved)

series25.1s (18.2%)

Error
62.8b
Counts
4 → 27
Calls

4 calls:

24.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))))
51.0ms
(cos.f64 (*.f64 (/.f64 angle 180) PI.f64))
49.0ms
(cos.f64 (*.f64 (/.f64 angle 180) PI.f64))
48.0ms
(cos.f64 (*.f64 (/.f64 angle 180) PI.f64))
Compiler

Compiled 27235 to 18843 computations (30.8% saved)

simplify177.0ms (0.1%)

Algorithm
egg-herbie
Counts
80 → 80
Iterations

Useful iterations: 0 (46.0ms)

IterNodesCost
0507217047

prune1.1s (0.8%)

Pruning

6 alts after pruning (6 fresh and 0 done)

PrunedKeptTotal
New74680
Fresh000
Picked101
Done000
Total75681
Error
62.8b
Counts
81 → 6
Compiler

Compiled 19800 to 11350 computations (42.7% saved)

localize68.0ms (0%)

Local error

Found 4 expressions with local error:

27.9b
(cos.f64 (*.f64 1/180 (*.f64 angle PI.f64)))
27.9b
(cos.f64 (*.f64 1/180 (*.f64 angle PI.f64)))
27.9b
(cos.f64 (*.f64 1/180 (*.f64 angle PI.f64)))
33.1b
(-.f64 (+.f64 (*.f64 (*.f64 b b) (pow.f64 (sin.f64 (*.f64 1/180 (*.f64 angle PI.f64))) 2)) (*.f64 (pow.f64 (cos.f64 (*.f64 1/180 (*.f64 angle PI.f64))) 2) (*.f64 a a))) (sqrt.f64 (+.f64 (*.f64 (pow.f64 (cos.f64 (*.f64 1/180 (*.f64 angle PI.f64))) 4) (pow.f64 a 4)) (+.f64 (*.f64 (pow.f64 (sin.f64 (*.f64 1/180 (*.f64 angle PI.f64))) 4) (pow.f64 b 4)) (*.f64 2 (*.f64 (*.f64 (pow.f64 (cos.f64 (*.f64 1/180 (*.f64 angle PI.f64))) 2) (*.f64 b b)) (*.f64 (pow.f64 (sin.f64 (*.f64 1/180 (*.f64 angle PI.f64))) 2) (*.f64 a a))))))))

rewrite527.0ms (0.4%)

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

4 calls:

33.0ms
(-.f64 (+.f64 (*.f64 (*.f64 b b) (pow.f64 (sin.f64 (*.f64 1/180 (*.f64 angle PI.f64))) 2)) (*.f64 (pow.f64 (cos.f64 (*.f64 1/180 (*.f64 angle PI.f64))) 2) (*.f64 a a))) (sqrt.f64 (+.f64 (*.f64 (pow.f64 (cos.f64 (*.f64 1/180 (*.f64 angle PI.f64))) 4) (pow.f64 a 4)) (+.f64 (*.f64 (pow.f64 (sin.f64 (*.f64 1/180 (*.f64 angle PI.f64))) 4) (pow.f64 b 4)) (*.f64 2 (*.f64 (*.f64 (pow.f64 (cos.f64 (*.f64 1/180 (*.f64 angle PI.f64))) 2) (*.f64 b b)) (*.f64 (pow.f64 (sin.f64 (*.f64 1/180 (*.f64 angle PI.f64))) 2) (*.f64 a a))))))))
3.0ms
(cos.f64 (*.f64 1/180 (*.f64 angle PI.f64)))
3.0ms
(cos.f64 (*.f64 1/180 (*.f64 angle PI.f64)))
3.0ms
(cos.f64 (*.f64 1/180 (*.f64 angle PI.f64)))
Compiler

Compiled 8985 to 4820 computations (46.4% saved)

series3.3s (2.4%)

Error
60.5b
Counts
4 → 18
Calls

4 calls:

3.1s
(-.f64 (+.f64 (*.f64 (*.f64 b b) (pow.f64 (sin.f64 (*.f64 1/180 (*.f64 angle PI.f64))) 2)) (*.f64 (pow.f64 (cos.f64 (*.f64 1/180 (*.f64 angle PI.f64))) 2) (*.f64 a a))) (sqrt.f64 (+.f64 (*.f64 (pow.f64 (cos.f64 (*.f64 1/180 (*.f64 angle PI.f64))) 4) (pow.f64 a 4)) (+.f64 (*.f64 (pow.f64 (sin.f64 (*.f64 1/180 (*.f64 angle PI.f64))) 4) (pow.f64 b 4)) (*.f64 2 (*.f64 (*.f64 (pow.f64 (cos.f64 (*.f64 1/180 (*.f64 angle PI.f64))) 2) (*.f64 b b)) (*.f64 (pow.f64 (sin.f64 (*.f64 1/180 (*.f64 angle PI.f64))) 2) (*.f64 a a))))))))
38.0ms
(cos.f64 (*.f64 1/180 (*.f64 angle PI.f64)))
35.0ms
(cos.f64 (*.f64 1/180 (*.f64 angle PI.f64)))
35.0ms
(cos.f64 (*.f64 1/180 (*.f64 angle PI.f64)))
Compiler

Compiled 5372 to 3066 computations (42.9% saved)

simplify122.0ms (0.1%)

Algorithm
egg-herbie
Counts
65 → 65
Iterations

Useful iterations: 0 (69.0ms)

IterNodesCost
049936330
149936330

prune460.0ms (0.3%)

Pruning

7 alts after pruning (7 fresh and 0 done)

PrunedKeptTotal
New62365
Fresh145
Picked101
Done000
Total64771
Error
60.5b
Counts
71 → 7
Compiler

Compiled 10578 to 5561 computations (47.4% saved)

localize20.0ms (0%)

Local error

Found 4 expressions with local error:

17.8b
(*.f64 (*.f64 (*.f64 b a) (*.f64 b (neg.f64 a))) (/.f64 0 (*.f64 y-scale y-scale)))
18.5b
(/.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 0 (*.f64 y-scale y-scale))))) (*.f64 (*.f64 b a) (*.f64 b (neg.f64 a))))
19.0b
(*.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 0 (*.f64 y-scale y-scale))))) (*.f64 (*.f64 b a) (*.f64 b (neg.f64 a)))) (pow.f64 (*.f64 x-scale y-scale) 2))
19.5b
(*.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 0 (*.f64 y-scale y-scale))))

rewrite3.0s (2.1%)

Algorithm
rewrite-expression-head
Error
57.3b
Rules
3787×add-exp-log_binary64
2794×prod-exp_binary64
1558×add-cbrt-cube_binary64
1142×cbrt-unprod_binary64
615×div-exp_binary64
250×pow1_binary64
210×cbrt-undiv_binary64
205×pow-prod-down_binary64
172×pow-exp_binary64
86×pow-to-exp_binary64
15×add-sqr-sqrt_binary64
14×associate-*r*_binary64
11×add-cube-cbrt_binary64 *-un-lft-identity_binary64 times-frac_binary64
10×associate-*l*_binary64
distribute-rgt-neg-out_binary64
associate-*r/_binary64 associate-*l/_binary64
add-log-exp_binary64 associate-/l*_binary64
distribute-lft-neg-out_binary64 *-commutative_binary64 unswap-sqr_binary64 sqrt-prod_binary64 div-inv_binary64 sqrt-div_binary64 associate-/l/_binary64
frac-times_binary64 unpow2_binary64 sqr-pow_binary64
unpow-prod-down_binary64 frac-2neg_binary64 clear-num_binary64 associate-/r*_binary64
Counts
4 → 784
Calls

4 calls:

45.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 0 (*.f64 y-scale y-scale))))) (*.f64 (*.f64 b a) (*.f64 b (neg.f64 a))))
44.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))) (/.f64 0 (*.f64 y-scale y-scale))))
40.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 0 (*.f64 y-scale y-scale))))) (*.f64 (*.f64 b a) (*.f64 b (neg.f64 a)))) (pow.f64 (*.f64 x-scale y-scale) 2))
14.0ms
(*.f64 (*.f64 (*.f64 b a) (*.f64 b (neg.f64 a))) (/.f64 0 (*.f64 y-scale y-scale)))
Compiler

Compiled 57176 to 17864 computations (68.8% saved)

series240.0ms (0.2%)

Error
42.3b
Counts
4 → 45
Calls

4 calls:

54.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))) (/.f64 0 (*.f64 y-scale y-scale))))
53.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 0 (*.f64 y-scale y-scale))))) (*.f64 (*.f64 b a) (*.f64 b (neg.f64 a))))
49.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 0 (*.f64 y-scale y-scale))))) (*.f64 (*.f64 b a) (*.f64 b (neg.f64 a)))) (pow.f64 (*.f64 x-scale y-scale) 2))
40.0ms
(*.f64 (*.f64 (*.f64 b a) (*.f64 b (neg.f64 a))) (/.f64 0 (*.f64 y-scale y-scale)))
Compiler

Compiled 2088 to 1684 computations (19.3% saved)

simplify262.0ms (0.2%)

Algorithm
egg-herbie
Counts
829 → 829
Iterations

Useful iterations: 0 (68.0ms)

IterNodesCost
047473685
147473685

prune1.1s (0.8%)

Pruning

7 alts after pruning (7 fresh and 0 done)

PrunedKeptTotal
New8281829
Fresh066
Picked101
Done000
Total8297836
Error
42.3b
Counts
836 → 7
Compiler

Compiled 19608 to 9100 computations (53.6% saved)

localize2.0ms (0%)

rewrite1.0ms (0%)

Algorithm
rewrite-expression-head
Error
42.3b
Counts
0 → 0
Compiler

Compiled 0 to 0 computations (0% saved)

series0.0ms (0%)

Error
42.3b
Counts
0 → 0
Compiler

Compiled 0 to 0 computations (0% saved)

simplify7.0ms (0%)

Algorithm
egg-herbie
Counts
0 → 0
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
000

prune1.0ms (0%)

Pruning

7 alts after pruning (6 fresh and 1 done)

PrunedKeptTotal
New000
Fresh066
Picked011
Done000
Total077
Error
42.3b
Counts
7 → 7
Compiler

Compiled 0 to 0 computations (0% saved)

regimes2.8s (2%)

Accuracy

Total 0.1b remaining (0.2%)

Threshold costs 0.1b (0.2%)

Compiler

Compiled 56000 to 35322 computations (36.9% saved)

bsearch0.0ms (0%)

simplify3.0ms (0%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
031
131

end0.0ms (0%)

sample1.3min (57%)

Algorithm
intervals
Results
32.5s3697×body4096valid
28.6s1538×body8192valid
9.7s1824×body2048valid
1.8s560×body1024valid
482.0ms224×body512valid
150.0ms25×body2048invalid
136.0ms39×body1024invalid
126.0ms95×body256valid
42.0ms62×body128valid
38.0msbody4096invalid
11.0msbody256invalid
10.0msbody512invalid
6.0ms10×body128invalid
Compiler

Compiled 7136 to 4510 computations (36.8% saved)

Profiling

Loading profile data...