Details

Time bar (total: 2.1min)

analyze17.6s (13.7%)

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

Algorithm
intervals
Results
1.1s59×body8192valid
979.0ms115×body4096valid
498.0ms60×body2048valid
32.0ms11×body1024valid
12.0msbody512valid
3.0msbody256valid
2.0msbody128valid
Compiler

Compiled 367 to 254 computations (30.8% saved)

simplify28.0ms (0%)

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (19.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)

localize79.0ms (0.1%)

Local error

Found 4 expressions with local error:

27.9b
(cos.f64 (*.f64 (/.f64 angle 180) PI.f64))
27.9b
(cos.f64 (*.f64 (/.f64 angle 180) PI.f64))
27.9b
(cos.f64 (*.f64 (/.f64 angle 180) PI.f64))
38.7b
(-.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.9%)

Algorithm
rewrite-expression-head
Error
64.0b
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:

277.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))))
3.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)

series18.4s (14.3%)

Error
62.7b
Counts
4 → 25
Calls

4 calls:

18.0s
(-.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))))
47.0ms
(cos.f64 (*.f64 (/.f64 angle 180) PI.f64))
45.0ms
(cos.f64 (*.f64 (/.f64 angle 180) PI.f64))
44.0ms
(cos.f64 (*.f64 (/.f64 angle 180) PI.f64))
Compiler

Compiled 21445 to 14533 computations (32.2% saved)

simplify148.0ms (0.1%)

Algorithm
egg-herbie
Counts
78 → 78
Iterations

Useful iterations: 0 (36.0ms)

IterNodesCost
0500015710

prune1.2s (0.9%)

Pruning

6 alts after pruning (6 fresh and 0 done)

PrunedKeptTotal
New72678
Fresh000
Picked101
Done000
Total73679
Error
62.7b
Counts
79 → 6
Compiler

Compiled 19333 to 11180 computations (42.2% saved)

localize62.0ms (0%)

Local error

Found 4 expressions with local error:

28.3b
(cos.f64 (*.f64 1/180 (*.f64 angle PI.f64)))
28.3b
(cos.f64 (*.f64 1/180 (*.f64 angle PI.f64)))
28.3b
(cos.f64 (*.f64 1/180 (*.f64 angle PI.f64)))
30.5b
(-.f64 (+.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))) (sqrt.f64 (+.f64 (*.f64 (pow.f64 (sin.f64 (*.f64 1/180 (*.f64 angle PI.f64))) 4) (pow.f64 a 4)) (+.f64 (*.f64 (pow.f64 b 4) (pow.f64 (cos.f64 (*.f64 1/180 (*.f64 angle PI.f64))) 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))))))))

rewrite507.0ms (0.4%)

Algorithm
rewrite-expression-head
Error
62.7b
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:

30.0ms
(-.f64 (+.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))) (sqrt.f64 (+.f64 (*.f64 (pow.f64 (sin.f64 (*.f64 1/180 (*.f64 angle PI.f64))) 4) (pow.f64 a 4)) (+.f64 (*.f64 (pow.f64 b 4) (pow.f64 (cos.f64 (*.f64 1/180 (*.f64 angle PI.f64))) 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.6%)

Error
61.5b
Counts
4 → 18
Calls

4 calls:

3.2s
(-.f64 (+.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))) (sqrt.f64 (+.f64 (*.f64 (pow.f64 (sin.f64 (*.f64 1/180 (*.f64 angle PI.f64))) 4) (pow.f64 a 4)) (+.f64 (*.f64 (pow.f64 b 4) (pow.f64 (cos.f64 (*.f64 1/180 (*.f64 angle PI.f64))) 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))))))))
36.0ms
(cos.f64 (*.f64 1/180 (*.f64 angle PI.f64)))
36.0ms
(cos.f64 (*.f64 1/180 (*.f64 angle PI.f64)))
35.0ms
(cos.f64 (*.f64 1/180 (*.f64 angle PI.f64)))
Compiler

Compiled 5336 to 3038 computations (43.1% saved)

simplify120.0ms (0.1%)

Algorithm
egg-herbie
Counts
65 → 65
Iterations

Useful iterations: 0 (67.0ms)

IterNodesCost
049646330
149646330

prune462.0ms (0.4%)

Pruning

5 alts after pruning (5 fresh and 0 done)

PrunedKeptTotal
New63265
Fresh235
Picked101
Done000
Total66571
Error
61.5b
Counts
71 → 5
Compiler

Compiled 10814 to 5714 computations (47.2% saved)

localize21.0ms (0%)

Local error

Found 4 expressions with local error:

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

rewrite2.8s (2.2%)

Algorithm
rewrite-expression-head
Error
58.1b
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:

43.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 x-scale x-scale))))) (*.f64 (*.f64 b a) (*.f64 b (neg.f64 a))))
41.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 x-scale x-scale))))
38.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 x-scale x-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 x-scale x-scale)))
Compiler

Compiled 57176 to 17864 computations (68.8% saved)

series227.0ms (0.2%)

Error
43.2b
Counts
4 → 45
Calls

4 calls:

52.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 x-scale x-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 x-scale x-scale))))) (*.f64 (*.f64 b a) (*.f64 b (neg.f64 a)))) (pow.f64 (*.f64 x-scale y-scale) 2))
48.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 x-scale x-scale))))
35.0ms
(*.f64 (*.f64 (*.f64 b a) (*.f64 b (neg.f64 a))) (/.f64 0 (*.f64 x-scale x-scale)))
Compiler

Compiled 2088 to 1684 computations (19.3% saved)

simplify264.0ms (0.2%)

Algorithm
egg-herbie
Counts
829 → 829
Iterations

Useful iterations: 0 (71.0ms)

IterNodesCost
047643685
147643685

prune1.2s (0.9%)

Pruning

4 alts after pruning (4 fresh and 0 done)

PrunedKeptTotal
New8281829
Fresh134
Picked101
Done000
Total8304834
Error
43.2b
Counts
834 → 4
Compiler

Compiled 19716 to 9174 computations (53.5% saved)

localize2.0ms (0%)

rewrite0.0ms (0%)

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

Compiled 0 to 0 computations (0% saved)

series0.0ms (0%)

Error
43.2b
Counts
0 → 0
Compiler

Compiled 0 to 0 computations (0% saved)

simplify6.0ms (0%)

Algorithm
egg-herbie
Counts
0 → 0
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
000

prune1.0ms (0%)

Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New000
Fresh033
Picked011
Done000
Total044
Error
43.2b
Counts
4 → 4
Compiler

Compiled 0 to 0 computations (0% saved)

regimes1.9s (1.5%)

Accuracy

Total 0.1b remaining (0.2%)

Threshold costs 0.1b (0.2%)

Compiler

Compiled 39696 to 24690 computations (37.8% saved)

bsearch0.0ms (0%)

simplify3.0ms (0%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
031
131

end0.0ms (0%)

sample1.3min (59.4%)

Algorithm
intervals
Results
32.8s3716×body4096valid
26.8s1477×body8192valid
9.9s1873×body2048valid
1.8s565×body1024valid
721.0ms215×body512valid
203.0ms34×body2048invalid
141.0ms41×body1024invalid
140.0ms97×body256valid
38.0ms57×body128valid
31.0ms15×body512invalid
19.0msbody4096invalid
19.0msbody8192exit
15.0ms11×body256invalid
5.0msbody128invalid
Compiler

Compiled 5098 to 3181 computations (37.6% saved)

Profiling

Loading profile data...