Details

Time bar (total: 2.3min)

analyze18.0s (13.2%)

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

Algorithm
intervals
Results
1.2s116×body4096valid
893.0ms51×body8192valid
303.0ms57×body2048valid
81.0ms20×body1024valid
28.0msbody512valid
5.0msbody2048invalid
4.0msbody512invalid
3.0msbody256valid
1.0msbody128valid
Compiler

Compiled 367 to 254 computations (30.8% saved)

simplify24.0ms (0%)

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (15.0ms)

IterNodesCost
05065287

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

localize74.0ms (0.1%)

Local error

Found 4 expressions with local error:

23.4b
(cos.f64 (*.f64 (/.f64 angle 180) PI.f64))
23.4b
(cos.f64 (*.f64 (/.f64 angle 180) PI.f64))
23.4b
(cos.f64 (*.f64 (/.f64 angle 180) PI.f64))
40.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.2s (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:

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

series21.2s (15.5%)

Error
63.1b
Counts
4 → 26
Calls

4 calls:

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

Compiled 26431 to 18091 computations (31.6% saved)

simplify175.0ms (0.1%)

Algorithm
egg-herbie
Counts
79 → 79
Iterations

Useful iterations: 0 (37.0ms)

IterNodesCost
0507116488

prune1.2s (0.9%)

Pruning

5 alts after pruning (5 fresh and 0 done)

PrunedKeptTotal
New74579
Fresh000
Picked101
Done000
Total75580
Error
63.1b
Counts
80 → 5
Compiler

Compiled 19213 to 11052 computations (42.5% saved)

localize64.0ms (0%)

Local error

Found 4 expressions with local error:

23.4b
(sin.f64 (*.f64 1/180 (*.f64 angle PI.f64)))
23.4b
(sin.f64 (*.f64 1/180 (*.f64 angle PI.f64)))
23.4b
(sin.f64 (*.f64 1/180 (*.f64 angle PI.f64)))
32.8b
(-.f64 (+.f64 (/.f64 (*.f64 (pow.f64 (cos.f64 (*.f64 1/180 (*.f64 angle PI.f64))) 2) (*.f64 b b)) (*.f64 x-scale x-scale)) (/.f64 (*.f64 (pow.f64 (sin.f64 (*.f64 1/180 (*.f64 angle PI.f64))) 2) (*.f64 a a)) (*.f64 x-scale x-scale))) (sqrt.f64 (+.f64 (/.f64 (*.f64 (pow.f64 (sin.f64 (*.f64 1/180 (*.f64 angle PI.f64))) 4) (pow.f64 a 4)) (pow.f64 x-scale 4)) (+.f64 (/.f64 (*.f64 (pow.f64 b 4) (pow.f64 (cos.f64 (*.f64 1/180 (*.f64 angle PI.f64))) 4)) (pow.f64 x-scale 4)) (*.f64 2 (/.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))) (pow.f64 x-scale 4)))))))

rewrite1.0s (0.8%)

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

4 calls:

61.0ms
(-.f64 (+.f64 (/.f64 (*.f64 (pow.f64 (cos.f64 (*.f64 1/180 (*.f64 angle PI.f64))) 2) (*.f64 b b)) (*.f64 x-scale x-scale)) (/.f64 (*.f64 (pow.f64 (sin.f64 (*.f64 1/180 (*.f64 angle PI.f64))) 2) (*.f64 a a)) (*.f64 x-scale x-scale))) (sqrt.f64 (+.f64 (/.f64 (*.f64 (pow.f64 (sin.f64 (*.f64 1/180 (*.f64 angle PI.f64))) 4) (pow.f64 a 4)) (pow.f64 x-scale 4)) (+.f64 (/.f64 (*.f64 (pow.f64 b 4) (pow.f64 (cos.f64 (*.f64 1/180 (*.f64 angle PI.f64))) 4)) (pow.f64 x-scale 4)) (*.f64 2 (/.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))) (pow.f64 x-scale 4)))))))
3.0ms
(sin.f64 (*.f64 1/180 (*.f64 angle PI.f64)))
3.0ms
(sin.f64 (*.f64 1/180 (*.f64 angle PI.f64)))
3.0ms
(sin.f64 (*.f64 1/180 (*.f64 angle PI.f64)))
Compiler

Compiled 15984 to 8826 computations (44.8% saved)

series5.8s (4.3%)

Error
60.2b
Counts
4 → 21
Calls

4 calls:

5.6s
(-.f64 (+.f64 (/.f64 (*.f64 (pow.f64 (cos.f64 (*.f64 1/180 (*.f64 angle PI.f64))) 2) (*.f64 b b)) (*.f64 x-scale x-scale)) (/.f64 (*.f64 (pow.f64 (sin.f64 (*.f64 1/180 (*.f64 angle PI.f64))) 2) (*.f64 a a)) (*.f64 x-scale x-scale))) (sqrt.f64 (+.f64 (/.f64 (*.f64 (pow.f64 (sin.f64 (*.f64 1/180 (*.f64 angle PI.f64))) 4) (pow.f64 a 4)) (pow.f64 x-scale 4)) (+.f64 (/.f64 (*.f64 (pow.f64 b 4) (pow.f64 (cos.f64 (*.f64 1/180 (*.f64 angle PI.f64))) 4)) (pow.f64 x-scale 4)) (*.f64 2 (/.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))) (pow.f64 x-scale 4)))))))
50.0ms
(sin.f64 (*.f64 1/180 (*.f64 angle PI.f64)))
48.0ms
(sin.f64 (*.f64 1/180 (*.f64 angle PI.f64)))
46.0ms
(sin.f64 (*.f64 1/180 (*.f64 angle PI.f64)))
Compiler

Compiled 7000 to 4115 computations (41.2% saved)

simplify178.0ms (0.1%)

Algorithm
egg-herbie
Counts
81 → 81
Iterations

Useful iterations: 0 (56.0ms)

IterNodesCost
0521714694

prune949.0ms (0.7%)

Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New79281
Fresh224
Picked011
Done000
Total81586
Error
60.2b
Counts
86 → 5
Compiler

Compiled 16654 to 9194 computations (44.8% saved)

localize19.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.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))) 0))) (*.f64 (*.f64 b a) (*.f64 b (neg.f64 a)))) (pow.f64 (*.f64 x-scale y-scale) 2))
19.0b
(*.f64 (*.f64 (*.f64 b a) (*.f64 b (neg.f64 a))) 0)
23.2b
(*.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))

rewrite1.3s (0.9%)

Algorithm
rewrite-expression-head
Error
56.8b
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×add-cube-cbrt_binary64 *-un-lft-identity_binary64 associate-*l*_binary64 associate-*r*_binary64
distribute-rgt-neg-out_binary64 times-frac_binary64
associate-*l/_binary64
add-log-exp_binary64 associate-/l*_binary64
distribute-lft-neg-out_binary64 *-commutative_binary64 unswap-sqr_binary64 sqrt-prod_binary64
unpow2_binary64 sqr-pow_binary64 div-inv_binary64
mul0-rgt_binary64 unpow-prod-down_binary64 frac-2neg_binary64 clear-num_binary64 sqrt-div_binary64 associate-/l/_binary64 associate-/r*_binary64
Counts
4 → 386
Calls

4 calls:

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))) 0))) (*.f64 (*.f64 b a) (*.f64 b (neg.f64 a)))) (pow.f64 (*.f64 x-scale y-scale) 2))
34.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))))
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)
Compiler

Compiled 25029 to 8310 computations (66.8% saved)

series211.0ms (0.2%)

Error
42.0b
Counts
4 → 42
Calls

4 calls:

50.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))
50.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))))
45.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))
27.0ms
(*.f64 (*.f64 (*.f64 b a) (*.f64 b (neg.f64 a))) 0)
Compiler

Compiled 1764 to 1498 computations (15.1% saved)

simplify182.0ms (0.1%)

Algorithm
egg-herbie
Counts
428 → 428
Iterations

Useful iterations: 0 (77.0ms)

IterNodesCost
047152635
147152635

prune575.0ms (0.4%)

Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New4271428
Fresh033
Picked101
Done011
Total4285433
Error
42.0b
Counts
433 → 5
Compiler

Compiled 10212 to 4734 computations (53.6% saved)

localize5.0ms (0%)

rewrite0.0ms (0%)

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

Compiled 0 to 0 computations (0% saved)

series0.0ms (0%)

Error
42.0b
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

5 alts after pruning (3 fresh and 2 done)

PrunedKeptTotal
New000
Fresh033
Picked011
Done011
Total055
Error
42.0b
Counts
5 → 5
Compiler

Compiled 0 to 0 computations (0% saved)

regimes2.0s (1.5%)

Accuracy

Total 0.1b remaining (0.1%)

Threshold costs 0.1b (0.1%)

Compiler

Compiled 35064 to 21954 computations (37.4% saved)

bsearch0.0ms (0%)

simplify3.0ms (0%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
031
131

end0.0ms (0%)

sample1.3min (58.4%)

Algorithm
intervals
Results
34.2s3720×body4096valid
28.5s1545×body8192valid
9.5s1755×body2048valid
2.2s628×body1024valid
501.0ms222×body512valid
149.0ms24×body2048invalid
145.0ms40×body1024invalid
121.0ms77×body256valid
56.0msbody4096invalid
43.0ms53×body128valid
39.0ms19×body512invalid
19.0msbody8192exit
11.0msbody256invalid
7.0ms10×body128invalid
Compiler

Compiled 4519 to 2839 computations (37.2% saved)

Profiling

Loading profile data...