Details

Time bar (total: 2.4min)

analyze18.4s (12.9%)

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 (1.8%)

Algorithm
intervals
Results
1.3s113×body4096valid
806.0ms44×body8192valid
401.0ms69×body2048valid
76.0ms23×body1024valid
14.0msbody2048invalid
11.0msbody512valid
2.0msbody512invalid
1.0msbody128valid
Compiler

Compiled 367 to 254 computations (30.8% saved)

simplify121.0ms (0.1%)

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
63.9b
Counts
2 → 1
Compiler

Compiled 360 to 236 computations (34.4% saved)

localize81.0ms (0.1%)

Local error

Found 4 expressions with local error:

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

rewrite351.0ms (0.2%)

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:

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

series30.4s (21.3%)

Counts
4 → 29
Calls

4 calls:

30.3s
(-.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))))
49.0ms
(sin.f64 (*.f64 (/.f64 angle 180) PI.f64))
49.0ms
(sin.f64 (*.f64 (/.f64 angle 180) PI.f64))
49.0ms
(sin.f64 (*.f64 (/.f64 angle 180) PI.f64))
Compiler

Compiled 27091 to 19090 computations (29.5% saved)

simplify186.0ms (0.1%)

Algorithm
egg-herbie
Counts
82 → 82
Iterations

Useful iterations: 0 (33.0ms)

IterNodesCost
0528518656

prune1.2s (0.9%)

Pruning

6 alts after pruning (6 fresh and 0 done)

PrunedKeptTotal
New76682
Fresh000
Picked101
Done000
Total77683
Error
62.7b
Counts
83 → 6
Compiler

Compiled 20893 to 12216 computations (41.5% saved)

localize68.0ms (0%)

Local error

Found 4 expressions with local error:

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

rewrite112.0ms (0.1%)

Algorithm
rewrite-expression-head
Rules
17×frac-add_binary64
15×frac-sub_binary64 sqrt-div_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 associate-*l/_binary64
diff-log_binary64 distribute-lft-out_binary64 difference-of-squares_binary64 distribute-lft-out--_binary64
sub-neg_binary64 flip3--_binary64 flip--_binary64 associate--l+_binary64 sum-log_binary64
Counts
4 → 60
Calls

4 calls:

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

series7.4s (5.2%)

Counts
4 → 21
Calls

4 calls:

7.3s
(-.f64 (+.f64 (/.f64 (*.f64 (*.f64 a a) (pow.f64 (cos.f64 (*.f64 1/180 (*.f64 angle PI.f64))) 2)) (*.f64 y-scale y-scale)) (/.f64 (*.f64 (*.f64 a a) (pow.f64 (sin.f64 (*.f64 1/180 (*.f64 angle PI.f64))) 2)) (*.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 2 (/.f64 (*.f64 (*.f64 (pow.f64 (cos.f64 (*.f64 1/180 (*.f64 angle PI.f64))) 2) (pow.f64 (sin.f64 (*.f64 1/180 (*.f64 angle PI.f64))) 2)) (pow.f64 a 4)) (*.f64 (*.f64 x-scale y-scale) (*.f64 x-scale y-scale)))) (*.f64 (/.f64 (pow.f64 a 4) (pow.f64 y-scale 4)) (pow.f64 (cos.f64 (*.f64 1/180 (*.f64 angle PI.f64))) 4))))))
44.0ms
(sin.f64 (*.f64 1/180 (*.f64 angle PI.f64)))
42.0ms
(sin.f64 (*.f64 1/180 (*.f64 angle PI.f64)))
39.0ms
(sin.f64 (*.f64 1/180 (*.f64 angle PI.f64)))
Compiler

Compiled 4590 to 2862 computations (37.6% saved)

simplify148.0ms (0.1%)

Algorithm
egg-herbie
Counts
81 → 81
Iterations

Useful iterations: 0 (40.0ms)

IterNodesCost
0498815249
1498815249

prune982.0ms (0.7%)

Pruning

7 alts after pruning (7 fresh and 0 done)

PrunedKeptTotal
New78381
Fresh145
Picked101
Done000
Total80787
Error
60.5b
Counts
87 → 7
Compiler

Compiled 17683 to 9538 computations (46.1% saved)

localize19.0ms (0%)

Local error

Found 4 expressions with local error:

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

rewrite248.0ms (0.2%)

Algorithm
rewrite-expression-head
Rules
1392×add-exp-log_binary64
1054×prod-exp_binary64
549×add-cbrt-cube_binary64
413×cbrt-unprod_binary64
250×pow1_binary64
205×pow-prod-down_binary64
165×div-exp_binary64
82×pow-exp_binary64
45×cbrt-undiv_binary64
41×pow-to-exp_binary64
31×associate-*l*_binary64
26×times-frac_binary64
23×add-sqr-sqrt_binary64
19×*-un-lft-identity_binary64 add-cube-cbrt_binary64
distribute-rgt-neg-out_binary64
associate-*r*_binary64
associate-*l/_binary64
unpow2_binary64 sqr-pow_binary64
add-log-exp_binary64 unpow-prod-down_binary64 associate-/l*_binary64
unswap-sqr_binary64 div-inv_binary64 sqrt-prod_binary64 *-commutative_binary64
distribute-lft-neg-out_binary64
associate-/l/_binary64 associate-/r*_binary64 clear-num_binary64 frac-2neg_binary64 sqrt-div_binary64
Counts
4 → 430
Calls

4 calls:

41.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))
36.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))))
33.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))
17.0ms
(*.f64 (/.f64 8 (pow.f64 (*.f64 x-scale y-scale) 2)) (*.f64 (*.f64 b a) (*.f64 b (neg.f64 a))))

series618.0ms (0.4%)

Counts
4 → 48
Calls

4 calls:

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

Compiled 1848 to 1704 computations (7.8% saved)

simplify177.0ms (0.1%)

Algorithm
egg-herbie
Counts
478 → 478
Iterations

Useful iterations: 0 (69.0ms)

IterNodesCost
047244526
147244526

prune661.0ms (0.5%)

Pruning

7 alts after pruning (7 fresh and 0 done)

PrunedKeptTotal
New4771478
Fresh066
Picked101
Done000
Total4787485
Error
43.5b
Counts
485 → 7
Compiler

Compiled 13637 to 6144 computations (54.9% 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

prune1.0ms (0%)

Pruning

7 alts after pruning (6 fresh and 1 done)

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

Compiled 0 to 0 computations (0% saved)

regimes975.0ms (0.7%)

Accuracy

Total 0.1b remaining (0.2%)

Threshold costs 0.1b (0.2%)

Compiler

Compiled 18968 to 12042 computations (36.5% saved)

bsearch0.0ms (0%)

simplify2.0ms (0%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
031
131

end0.0ms (0%)

sample1.3min (54.5%)

Algorithm
intervals
Results
33.8s3713×body4096valid
28.7s1529×body8192valid
9.9s1803×body2048valid
2.0s594×body1024valid
526.0ms224×body512valid
266.0ms42×body2048invalid
158.0ms98×body256valid
110.0ms35×body1024invalid
40.0msbody8192exit
35.0ms39×body128valid
33.0ms12×body512invalid
20.0msbody4096invalid
14.0ms10×body256invalid
4.0msbody128invalid
Compiler

Compiled 2507 to 1600 computations (36.2% saved)

Profiling

Loading profile data...