Details

Time bar (total: 54.3s)

analyze9.9s (18.2%)

Algorithm
search
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
051411925
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
6.2%93.5%0.2%11
6.2%93.5%0.2%12
7.8%92%0.2%13
8.6%91.2%0.2%14
Compiler

Compiled 110 to 84 computations (23.6% saved)

sample1.1s (2.1%)

Algorithm
intervals
Results
254.0ms39×body4096valid
180.0ms27×body4096invalid
176.0ms45×body2048valid
171.0ms45×body2048invalid
88.0ms35×body1024valid
65.0ms117×body128valid
58.0ms22×body1024invalid
27.0msbody8192valid
16.0ms36×body128invalid
13.0msbody8192invalid
13.0msbody512valid
11.0msbody512invalid
9.0msbody256valid
4.0msbody256invalid
Compiler

Compiled 219 to 172 computations (21.5% saved)

simplify26.0ms (0%)

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (20.0ms)

IterNodesCost
05232172

prune13.0ms (0%)

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 37.4b

Counts
2 → 2
Compiler

Compiled 323 to 229 computations (29.1% saved)

localize50.0ms (0.1%)

Local error

Found 4 expressions with local error:

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

rewrite68.0ms (0.1%)

Algorithm
rewrite-expression-head
Rules
15×associate-*r/_binary64_20
frac-sub_binary64_87
associate-*l/_binary64_21
add-log-exp_binary64_117 frac-times_binary64_88
add-cbrt-cube_binary64_114 add-sqr-sqrt_binary64_100 add-cube-cbrt_binary64_113 add-exp-log_binary64_116 *-un-lft-identity_binary64_78 pow1_binary64_139
sub-div_binary64_85
flip3--_binary64_82 diff-log_binary64_170 flip--_binary64_53 cancel-sign-sub-inv_binary64_44 sub-neg_binary64_71
Counts
4 → 44
Calls

4 calls:

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

series1.6s (3%)

Counts
4 → 12
Calls

4 calls:

1.6s
(-.f64 (*.f64 (/.f64 (/.f64 (*.f64 (*.f64 (*.f64 2 (-.f64 (pow.f64 b 2) (pow.f64 a 2))) (sin.f64 (*.f64 (/.f64 angle 180) PI.f64))) (cos.f64 (*.f64 (/.f64 angle 180) PI.f64))) x-scale) y-scale) (/.f64 (/.f64 (*.f64 (*.f64 (*.f64 2 (-.f64 (pow.f64 b 2) (pow.f64 a 2))) (sin.f64 (*.f64 (/.f64 angle 180) PI.f64))) (cos.f64 (*.f64 (/.f64 angle 180) PI.f64))) x-scale) y-scale)) (*.f64 (*.f64 4 (/.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)))
15.0ms
(sin.f64 (*.f64 (/.f64 angle 180) PI.f64))
14.0ms
(sin.f64 (*.f64 (/.f64 angle 180) PI.f64))
14.0ms
(sin.f64 (*.f64 (/.f64 angle 180) PI.f64))

simplify72.0ms (0.1%)

Algorithm
egg-herbie
Counts
56 → 56
Iterations

Useful iterations: 0 (28.0ms)

IterNodesCost
050545163

prune376.0ms (0.7%)

Pruning

6 alts after pruning (5 fresh and 1 done)

PrunedKeptTotal
New51556
Fresh101
Picked011
Done000
Total52658

Merged error: 26.0b

Counts
58 → 6
Compiler

Compiled 7246 to 4844 computations (33.1% saved)

localize34.0ms (0.1%)

Local error

Found 4 expressions with local error:

26.8b
(cos.f64 (*.f64 1/180 (*.f64 angle PI.f64)))
26.8b
(cos.f64 (*.f64 1/180 (*.f64 angle PI.f64)))
27.0b
(sin.f64 (*.f64 1/180 (*.f64 angle PI.f64)))
27.0b
(sin.f64 (*.f64 1/180 (*.f64 angle PI.f64)))

rewrite14.0ms (0%)

Algorithm
rewrite-expression-head
Rules
add-cbrt-cube_binary64_114 add-sqr-sqrt_binary64_100 add-log-exp_binary64_117 add-cube-cbrt_binary64_113 add-exp-log_binary64_116 *-un-lft-identity_binary64_78 pow1_binary64_139
Counts
4 → 28
Calls

4 calls:

3.0ms
(cos.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)))
2.0ms
(cos.f64 (*.f64 1/180 (*.f64 angle PI.f64)))

series45.0ms (0.1%)

Counts
4 → 12
Calls

4 calls:

14.0ms
(sin.f64 (*.f64 1/180 (*.f64 angle PI.f64)))
14.0ms
(sin.f64 (*.f64 1/180 (*.f64 angle PI.f64)))
9.0ms
(cos.f64 (*.f64 1/180 (*.f64 angle PI.f64)))
9.0ms
(cos.f64 (*.f64 1/180 (*.f64 angle PI.f64)))

simplify63.0ms (0.1%)

Algorithm
egg-herbie
Counts
40 → 40
Iterations

Useful iterations: 0 (47.0ms)

IterNodesCost
04902610
14902610

prune109.0ms (0.2%)

Pruning

6 alts after pruning (4 fresh and 2 done)

PrunedKeptTotal
New40040
Fresh044
Picked011
Done011
Total40646

Merged error: 26.0b

Counts
46 → 6
Compiler

Compiled 2926 to 1657 computations (43.4% saved)

localize11.0ms (0%)

Local error

Found 4 expressions with local error:

2.2b
(*.f64 x-scale (*.f64 x-scale (*.f64 y-scale y-scale)))
8.2b
(*.f64 x-scale (*.f64 y-scale y-scale))
14.8b
(*.f64 (*.f64 b b) (*.f64 a a))
15.4b
(/.f64 (*.f64 (*.f64 b b) (*.f64 a a)) (*.f64 x-scale (*.f64 x-scale (*.f64 y-scale y-scale))))

rewrite56.0ms (0.1%)

Algorithm
rewrite-expression-head
Rules
132×add-cbrt-cube_binary64_114 add-exp-log_binary64_116
79×cbrt-unprod_binary64_111 prod-exp_binary64_127
46×pow1_binary64_139
23×pow-prod-down_binary64_149
20×cbrt-undiv_binary64_112 div-exp_binary64_129
add-sqr-sqrt_binary64_100 associate-*l*_binary64_19
add-cube-cbrt_binary64_113 *-un-lft-identity_binary64_78
add-log-exp_binary64_117 pow-prod-up_binary64_148 pow-plus_binary64_141
*-commutative_binary64_9 associate-*r*_binary64_18
pow2_binary64_159 pow-sqr_binary64_51 unswap-sqr_binary64_46
frac-2neg_binary64_89 times-frac_binary64_84 div-inv_binary64_75 associate-/l*_binary64_23 associate-/r*_binary64_22 clear-num_binary64_77
Counts
4 → 122
Calls

4 calls:

19.0ms
(/.f64 (*.f64 (*.f64 b b) (*.f64 a a)) (*.f64 x-scale (*.f64 x-scale (*.f64 y-scale y-scale))))
9.0ms
(*.f64 (*.f64 b b) (*.f64 a a))
8.0ms
(*.f64 x-scale (*.f64 x-scale (*.f64 y-scale y-scale)))
6.0ms
(*.f64 x-scale (*.f64 y-scale y-scale))

series160.0ms (0.3%)

Counts
4 → 12
Calls

4 calls:

80.0ms
(/.f64 (*.f64 (*.f64 b b) (*.f64 a a)) (*.f64 x-scale (*.f64 x-scale (*.f64 y-scale y-scale))))
30.0ms
(*.f64 (*.f64 b b) (*.f64 a a))
26.0ms
(*.f64 x-scale (*.f64 y-scale y-scale))
24.0ms
(*.f64 x-scale (*.f64 x-scale (*.f64 y-scale y-scale)))

simplify71.0ms (0.1%)

Algorithm
egg-herbie
Counts
134 → 134
Iterations

Useful iterations: 0 (45.0ms)

IterNodesCost
049961898
149961898

prune146.0ms (0.3%)

Pruning

14 alts after pruning (12 fresh and 2 done)

PrunedKeptTotal
New12410134
Fresh123
Picked101
Done022
Total12614140

Merged error: 14.9b

Counts
140 → 14
Compiler

Compiled 2903 to 1267 computations (56.4% saved)

localize10.0ms (0%)

Local error

Found 4 expressions with local error:

0.2b
(pow.f64 (*.f64 b a) 2)
2.2b
(*.f64 x-scale (*.f64 x-scale (*.f64 y-scale y-scale)))
8.2b
(*.f64 x-scale (*.f64 y-scale y-scale))
15.4b
(/.f64 (pow.f64 (*.f64 b a) 2) (*.f64 x-scale (*.f64 x-scale (*.f64 y-scale y-scale))))

rewrite37.0ms (0.1%)

Algorithm
rewrite-expression-head
Rules
77×add-exp-log_binary64_116
38×prod-exp_binary64_127
32×add-cbrt-cube_binary64_114
21×pow1_binary64_139
16×div-exp_binary64_129
15×cbrt-unprod_binary64_111
10×add-sqr-sqrt_binary64_100 pow-exp_binary64_146 pow-prod-down_binary64_149
add-cube-cbrt_binary64_113 *-un-lft-identity_binary64_78
associate-*l*_binary64_19 times-frac_binary64_84 associate-/l*_binary64_23
pow-to-exp_binary64_147
add-log-exp_binary64_117 cbrt-undiv_binary64_112
unpow-prod-down_binary64_157 unpow2_binary64_143 sqr-pow_binary64_50 pow-unpow_binary64_155
*-commutative_binary64_9 associate-*r*_binary64_18 pow-pow_binary64_150
frac-2neg_binary64_89 div-inv_binary64_75 associate-/r*_binary64_22 unswap-sqr_binary64_46 clear-num_binary64_77
Counts
4 → 101
Calls

4 calls:

11.0ms
(/.f64 (pow.f64 (*.f64 b a) 2) (*.f64 x-scale (*.f64 x-scale (*.f64 y-scale y-scale))))
8.0ms
(*.f64 x-scale (*.f64 x-scale (*.f64 y-scale y-scale)))
6.0ms
(*.f64 x-scale (*.f64 y-scale y-scale))
4.0ms
(pow.f64 (*.f64 b a) 2)

series156.0ms (0.3%)

Counts
4 → 12
Calls

4 calls:

80.0ms
(/.f64 (pow.f64 (*.f64 b a) 2) (*.f64 x-scale (*.f64 x-scale (*.f64 y-scale y-scale))))
30.0ms
(*.f64 x-scale (*.f64 y-scale y-scale))
25.0ms
(*.f64 x-scale (*.f64 x-scale (*.f64 y-scale y-scale)))
21.0ms
(pow.f64 (*.f64 b a) 2)

simplify76.0ms (0.1%)

Algorithm
egg-herbie
Counts
113 → 113
Iterations

Useful iterations: 0 (55.0ms)

IterNodesCost
049981469
149981469

prune112.0ms (0.2%)

Pruning

13 alts after pruning (11 fresh and 2 done)

PrunedKeptTotal
New1049113
Fresh9211
Picked101
Done022
Total11413127

Merged error: 0.4b

Counts
127 → 13
Compiler

Compiled 1969 to 834 computations (57.6% saved)

regimes1.8s (3.3%)

Compiler

Compiled 29364 to 20968 computations (28.6% saved)

bsearch0.0ms (0%)

simplify2.0ms (0%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
01525
11525

end0.0ms (0%)

sample38.2s (70.3%)

Algorithm
intervals
Results
8.9s1374×body4096valid
6.9s1703×body2048valid
5.4s812×body4096invalid
4.8s1224×body2048invalid
2.2s867×body1024valid
1.9s3480×body128valid
1.6s624×body1024invalid
1.1s75×body8192valid
561.0ms348×body512valid
512.0ms1040×body128invalid
472.0ms34×body8192invalid
465.0ms282×body512invalid
156.0ms153×body256valid
106.0ms107×body256invalid
Compiler

Compiled 3767 to 2690 computations (28.6% saved)

Profiling

Loading profile data...