Details

Time bar (total: 56.7s)

analyze10.0s (17.6%)

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

Algorithm
intervals
Results
342.0ms55×body4096valid
239.0ms36×body4096invalid
162.0ms44×body2048valid
128.0ms31×body2048invalid
73.0ms29×body1024valid
54.0msbody8192valid
52.0ms103×body128valid
50.0ms21×body1024invalid
24.0ms17×body512valid
21.0ms11×body512invalid
17.0ms37×body128invalid
4.0msbody256valid
2.0msbody256invalid
Compiler

Compiled 219 to 172 computations (21.5% saved)

simplify26.0ms (0%)

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (19.0ms)

IterNodesCost
05232172

prune15.0ms (0%)

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022
Error
42.2b
Counts
2 → 2
Compiler

Compiled 323 to 229 computations (29.1% saved)

localize47.0ms (0.1%)

Local error

Found 4 expressions with local error:

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

rewrite62.0ms (0.1%)

Algorithm
rewrite-expression-head
Rules
15×associate-*r/_binary64_1725
frac-sub_binary64_1792
associate-*l/_binary64_1726
frac-times_binary64_1793 add-log-exp_binary64_1822
add-cbrt-cube_binary64_1819 add-sqr-sqrt_binary64_1805 add-exp-log_binary64_1821 add-cube-cbrt_binary64_1818 *-un-lft-identity_binary64_1783 pow1_binary64_1844
sub-div_binary64_1790
flip3--_binary64_1787 cancel-sign-sub-inv_binary64_1749 diff-log_binary64_1875 flip--_binary64_1758 sub-neg_binary64_1776
Counts
4 → 44
Calls

4 calls:

38.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
(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))

series1.6s (2.8%)

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)))
10.0ms
(cos.f64 (*.f64 (/.f64 angle 180) PI.f64))
9.0ms
(cos.f64 (*.f64 (/.f64 angle 180) PI.f64))
9.0ms
(cos.f64 (*.f64 (/.f64 angle 180) PI.f64))

simplify89.0ms (0.2%)

Algorithm
egg-herbie
Counts
56 → 56
Iterations

Useful iterations: 0 (46.0ms)

IterNodesCost
050655142

prune402.0ms (0.7%)

Pruning

8 alts after pruning (8 fresh and 0 done)

PrunedKeptTotal
New48856
Fresh101
Picked101
Done000
Total50858
Error
34.0b
Counts
58 → 8
Compiler

Compiled 7446 to 5012 computations (32.7% saved)

localize31.0ms (0.1%)

Local error

Found 4 expressions with local error:

28.7b
(sin.f64 (*.f64 1/180 (*.f64 angle PI.f64)))
28.7b
(sin.f64 (*.f64 1/180 (*.f64 angle PI.f64)))
29.0b
(cos.f64 (*.f64 1/180 (*.f64 angle PI.f64)))
29.0b
(cos.f64 (*.f64 1/180 (*.f64 angle PI.f64)))

rewrite14.0ms (0%)

Algorithm
rewrite-expression-head
Rules
add-cbrt-cube_binary64_1819 add-sqr-sqrt_binary64_1805 add-exp-log_binary64_1821 add-cube-cbrt_binary64_1818 *-un-lft-identity_binary64_1783 add-log-exp_binary64_1822 pow1_binary64_1844
Counts
4 → 28
Calls

4 calls:

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

series43.0ms (0.1%)

Counts
4 → 12
Calls

4 calls:

12.0ms
(sin.f64 (*.f64 1/180 (*.f64 angle PI.f64)))
12.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)))

simplify62.0ms (0.1%)

Algorithm
egg-herbie
Counts
40 → 40
Iterations

Useful iterations: 0 (48.0ms)

IterNodesCost
04902610
14902610

prune124.0ms (0.2%)

Pruning

8 alts after pruning (7 fresh and 1 done)

PrunedKeptTotal
New40040
Fresh077
Picked011
Done000
Total40848
Error
34.0b
Counts
48 → 8
Compiler

Compiled 3138 to 1833 computations (41.6% saved)

localize11.0ms (0%)

Local error

Found 4 expressions with local error:

3.2b
(*.f64 x-scale (*.f64 x-scale (*.f64 y-scale y-scale)))
7.3b
(*.f64 x-scale (*.f64 y-scale y-scale))
16.7b
(*.f64 (*.f64 b b) (*.f64 a a))
20.0b
(/.f64 (*.f64 (*.f64 b b) (*.f64 a a)) (*.f64 x-scale (*.f64 x-scale (*.f64 y-scale y-scale))))

rewrite53.0ms (0.1%)

Algorithm
rewrite-expression-head
Rules
132×add-cbrt-cube_binary64_1819 add-exp-log_binary64_1821
79×cbrt-unprod_binary64_1816 prod-exp_binary64_1832
46×pow1_binary64_1844
23×pow-prod-down_binary64_1854
20×cbrt-undiv_binary64_1817 div-exp_binary64_1834
add-sqr-sqrt_binary64_1805 associate-*l*_binary64_1724
add-cube-cbrt_binary64_1818 *-un-lft-identity_binary64_1783
pow-plus_binary64_1846 pow-prod-up_binary64_1853 add-log-exp_binary64_1822
*-commutative_binary64_1714 associate-*r*_binary64_1723
pow-sqr_binary64_1756 unswap-sqr_binary64_1751 pow2_binary64_1864
associate-/l*_binary64_1728 div-inv_binary64_1780 associate-/r*_binary64_1727 times-frac_binary64_1789 frac-2neg_binary64_1794 clear-num_binary64_1782
Counts
4 → 122
Calls

4 calls:

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

series163.0ms (0.3%)

Counts
4 → 12
Calls

4 calls:

87.0ms
(/.f64 (*.f64 (*.f64 b b) (*.f64 a a)) (*.f64 x-scale (*.f64 x-scale (*.f64 y-scale y-scale))))
26.0ms
(*.f64 (*.f64 b b) (*.f64 a a))
25.0ms
(*.f64 x-scale (*.f64 x-scale (*.f64 y-scale y-scale)))
24.0ms
(*.f64 x-scale (*.f64 y-scale y-scale))

simplify70.0ms (0.1%)

Algorithm
egg-herbie
Counts
134 → 134
Iterations

Useful iterations: 0 (45.0ms)

IterNodesCost
049961898
149961898

prune159.0ms (0.3%)

Pruning

15 alts after pruning (15 fresh and 0 done)

PrunedKeptTotal
New12410134
Fresh156
Picked101
Done101
Total12715142
Error
18.4b
Counts
142 → 15
Compiler

Compiled 3230 to 1525 computations (52.8% saved)

localize10.0ms (0%)

Local error

Found 4 expressions with local error:

0.2b
(pow.f64 (*.f64 b a) 2)
3.2b
(*.f64 x-scale (*.f64 x-scale (*.f64 y-scale y-scale)))
7.3b
(*.f64 x-scale (*.f64 y-scale y-scale))
20.0b
(/.f64 (pow.f64 (*.f64 b a) 2) (*.f64 x-scale (*.f64 x-scale (*.f64 y-scale y-scale))))

rewrite36.0ms (0.1%)

Algorithm
rewrite-expression-head
Rules
77×add-exp-log_binary64_1821
38×prod-exp_binary64_1832
32×add-cbrt-cube_binary64_1819
21×pow1_binary64_1844
16×div-exp_binary64_1834
15×cbrt-unprod_binary64_1816
10×add-sqr-sqrt_binary64_1805 pow-prod-down_binary64_1854 pow-exp_binary64_1851
add-cube-cbrt_binary64_1818 *-un-lft-identity_binary64_1783
associate-/l*_binary64_1728 associate-*l*_binary64_1724 times-frac_binary64_1789
pow-to-exp_binary64_1852
cbrt-undiv_binary64_1817 add-log-exp_binary64_1822
sqr-pow_binary64_1755 pow-unpow_binary64_1860 unpow2_binary64_1848 unpow-prod-down_binary64_1862
*-commutative_binary64_1714 pow-pow_binary64_1855 associate-*r*_binary64_1723
div-inv_binary64_1780 associate-/r*_binary64_1727 frac-2neg_binary64_1794 clear-num_binary64_1782 unswap-sqr_binary64_1751
Counts
4 → 101
Calls

4 calls:

10.0ms
(/.f64 (pow.f64 (*.f64 b a) 2) (*.f64 x-scale (*.f64 x-scale (*.f64 y-scale y-scale))))
7.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)

series153.0ms (0.3%)

Counts
4 → 12
Calls

4 calls:

78.0ms
(/.f64 (pow.f64 (*.f64 b a) 2) (*.f64 x-scale (*.f64 x-scale (*.f64 y-scale y-scale))))
27.0ms
(*.f64 x-scale (*.f64 y-scale y-scale))
25.0ms
(*.f64 x-scale (*.f64 x-scale (*.f64 y-scale y-scale)))
23.0ms
(pow.f64 (*.f64 b a) 2)

simplify71.0ms (0.1%)

Algorithm
egg-herbie
Counts
113 → 113
Iterations

Useful iterations: 0 (51.0ms)

IterNodesCost
049981469
149981469

prune117.0ms (0.2%)

Pruning

16 alts after pruning (16 fresh and 0 done)

PrunedKeptTotal
New10211113
Fresh9514
Picked101
Done000
Total11216128
Error
0.9b
Counts
128 → 16
Compiler

Compiled 1969 to 834 computations (57.6% saved)

regimes1.8s (3.2%)

Accuracy

Total 5.7b remaining (87.2%)

Threshold costs 0b (0%)

Compiler

Compiled 31796 to 22888 computations (28% saved)

bsearch2.0s (3.5%)

Steps
ItersRangePoint
9
-6.065715022386831e+177
-1.0780697884618504e+172
-5.990122747829383e+177
7
-1.0352135198425747e+234
-4.542278448423997e+231
-6.1587270237545874e+231
Compiler

Compiled 1 to 5 computations (-400% saved)

simplify3.0ms (0%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
03761
13761

end0.0ms (0%)

sample38.4s (67.7%)

Algorithm
intervals
Results
9.3s1446×body4096valid
6.6s1715×body2048valid
5.3s817×body4096invalid
4.6s1186×body2048invalid
2.2s860×body1024valid
1.8s3381×body128valid
1.7s659×body1024invalid
1.0s72×body8192valid
857.0ms383×body512valid
539.0ms37×body8192invalid
495.0ms1069×body128invalid
490.0ms291×body512invalid
140.0ms128×body256invalid
137.0ms143×body256valid
Compiler

Compiled 4095 to 2945 computations (28.1% saved)

Profiling

Loading profile data...