Details

Time bar (total: 10.0s)

sample190.0ms

Algorithm
intervals
Results
128.0ms129×body1280valid
34.0ms59×body640valid
9.0ms22×body320valid
4.0ms37×body80valid
2.0msbody160valid

simplify51.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
02310
13510
26310
313710
441710
5179810
6500210

prune4.0ms

Filtered
1 candidates to 0 candidates (0.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 3.0b

Counts
2 → 1

localize16.0ms

Local error

Found 4 expressions with local error:

0.2b
(/ (sin ky) (sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0))))
0.3b
(pow (sin ky) 2.0)
0.3b
(pow (sin kx) 2.0)
2.7b
(sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))

rewrite31.0ms

Algorithm
rewrite-expression-head
Rules
46×*-un-lft-identity
27×add-sqr-sqrt
26×add-cube-cbrt
25×sqrt-prod
24×times-frac
16×unpow-prod-down
10×distribute-lft-out
add-exp-log associate-/r*
pow1
pow-unpow add-cbrt-cube
sqrt-div add-log-exp
associate-/l*
pow-to-exp pow-pow flip3-+ pow-exp associate-/r/ flip-+ sqr-pow
cbrt-undiv rem-sqrt-square frac-2neg sqrt-pow1 pow1/2 div-exp clear-num div-inv
Counts
4 → 100
Calls
4 calls:
16.0ms
(/ (sin ky) (sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0))))
2.0ms
(pow (sin ky) 2.0)
3.0ms
(pow (sin kx) 2.0)
7.0ms
(sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))

series409.0ms

Counts
4 → 12
Calls
4 calls:
125.0ms
(/ (sin ky) (sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0))))
102.0ms
(pow (sin ky) 2.0)
109.0ms
(pow (sin kx) 2.0)
72.0ms
(sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))

simplify43.0ms

Algorithm
egg-herbie
Counts
112 → 112
Iterations

Useful iterations: 2 (29.0ms)

IterNodesCost
03291021
11106946
25001943

prune347.0ms

Filtered
112 candidates to 70 candidates (62.5%)
Pruning

12 alts after pruning (12 fresh and 0 done)

PrunedKeptTotal
New10012112
Fresh000
Picked101
Done000
Total10112113

Merged error: 1.6b

Counts
113 → 12

localize17.0ms

Local error

Found 4 expressions with local error:

0.2b
(/ 1 (/ (sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0))) (sin ky)))
0.3b
(pow (sin ky) 2.0)
0.3b
(pow (sin kx) 2.0)
2.7b
(sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))

rewrite39.0ms

Algorithm
rewrite-expression-head
Rules
180×times-frac
150×*-un-lft-identity
99×add-sqr-sqrt
98×add-cube-cbrt
65×sqrt-prod
32×unpow-prod-down
28×associate-/r*
26×distribute-lft-out
17×add-exp-log
add-cbrt-cube
pow1
div-exp
pow-unpow
div-inv
add-log-exp
cbrt-undiv associate-/l*
pow-to-exp rec-exp pow-pow sqrt-div 1-exp pow-exp sqr-pow
rem-sqrt-square pow-flip frac-2neg sqrt-pow1 flip3-+ pow1/2 clear-num associate-/r/ flip-+ inv-pow
Counts
4 → 187
Calls
4 calls:
17.0ms
(/ 1 (/ (sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0))) (sin ky)))
3.0ms
(pow (sin ky) 2.0)
3.0ms
(pow (sin kx) 2.0)
7.0ms
(sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))

series403.0ms

Counts
4 → 12
Calls
4 calls:
119.0ms
(/ 1 (/ (sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0))) (sin ky)))
102.0ms
(pow (sin ky) 2.0)
104.0ms
(pow (sin kx) 2.0)
79.0ms
(sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))

simplify78.0ms

Algorithm
egg-herbie
Counts
199 → 199
Iterations

Useful iterations: 2 (52.0ms)

IterNodesCost
06422586
128822323
250032175

prune357.0ms

Filtered
199 candidates to 79 candidates (39.7%)
Pruning

12 alts after pruning (12 fresh and 0 done)

PrunedKeptTotal
New1963199
Fresh2911
Picked101
Done000
Total19912211

Merged error: 1.6b

Counts
211 → 12

localize17.0ms

Local error

Found 4 expressions with local error:

0.2b
(* (sin ky) (/ 1 (sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))))
0.3b
(pow (sin ky) 2.0)
0.3b
(pow (sin kx) 2.0)
2.7b
(sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))

rewrite39.0ms

Algorithm
rewrite-expression-head
Rules
43×*-un-lft-identity
38×add-sqr-sqrt
30×associate-*r*
28×times-frac
25×add-cube-cbrt
22×sqrt-prod
15×add-exp-log
14×unpow-prod-down
pow1 add-cbrt-cube
distribute-lft-out
pow-unpow
unswap-sqr
sqrt-div prod-exp add-log-exp
associate-*l*
pow-to-exp pow-pow flip3-+ div-exp pow-exp associate-/r/ cbrt-unprod flip-+ sqr-pow
cbrt-undiv rem-sqrt-square rec-exp sqrt-pow1 pow1/2 1-exp associate-*r/ pow-prod-down un-div-inv *-commutative div-inv
Counts
4 → 106
Calls
4 calls:
22.0ms
(* (sin ky) (/ 1 (sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))))
3.0ms
(pow (sin ky) 2.0)
3.0ms
(pow (sin kx) 2.0)
7.0ms
(sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))

series411.0ms

Counts
4 → 12
Calls
4 calls:
126.0ms
(* (sin ky) (/ 1 (sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))))
103.0ms
(pow (sin ky) 2.0)
108.0ms
(pow (sin kx) 2.0)
74.0ms
(sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))

simplify57.0ms

Algorithm
egg-herbie
Counts
118 → 118
Iterations

Useful iterations: 2 (43.0ms)

IterNodesCost
0449931
12141850
25002809

prune315.0ms

Filtered
118 candidates to 69 candidates (58.5%)
Pruning

12 alts after pruning (11 fresh and 1 done)

PrunedKeptTotal
New1180118
Fresh01111
Picked011
Done000
Total11812130

Merged error: 1.6b

Counts
130 → 12

localize18.0ms

Local error

Found 4 expressions with local error:

0.3b
(pow (sin kx) 2.0)
0.5b
(* (sqrt (sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))) (sqrt (sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))))
2.7b
(sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))
2.7b
(sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))

rewrite49.0ms

Algorithm
rewrite-expression-head
Rules
100×sqrt-prod
52×add-sqr-sqrt
50×*-un-lft-identity
34×sqrt-pow1
30×pow1
28×sqrt-div
20×add-cube-cbrt
19×swap-sqr
18×pow1/2
15×unpow-prod-down
14×distribute-lft-out
11×associate-*r* associate-*l*
pow-prod-up unswap-sqr
flip3-+ flip-+
add-exp-log
add-cbrt-cube
pow-prod-down pow-sqr
frac-times add-log-exp
pow-unpow
rem-sqrt-square associate-*r/ associate-*l/
pow2 pow-to-exp pow-pow pow-plus sqrt-unprod pow-exp prod-exp rem-square-sqrt *-commutative cbrt-unprod sqr-pow
Counts
4 → 142
Calls
4 calls:
3.0ms
(pow (sin kx) 2.0)
23.0ms
(* (sqrt (sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))) (sqrt (sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))))
11.0ms
(sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))
7.0ms
(sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))

series336.0ms

Counts
4 → 12
Calls
4 calls:
109.0ms
(pow (sin kx) 2.0)
73.0ms
(* (sqrt (sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))) (sqrt (sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))))
76.0ms
(sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))
78.0ms
(sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))

simplify57.0ms

Algorithm
egg-herbie
Counts
154 → 154
Iterations

Useful iterations: 2 (41.0ms)

IterNodesCost
03091456
111741355
250011324

prune343.0ms

Filtered
154 candidates to 73 candidates (47.4%)
Pruning

12 alts after pruning (10 fresh and 2 done)

PrunedKeptTotal
New1540154
Fresh01010
Picked011
Done011
Total15412166

Merged error: 1.6b

Counts
166 → 12

regimes540.0ms

Accuracy

61.8% (0.4b remaining)

Error of 3.1b against oracle of 2.6b and baseline of 3.8b

bsearch2.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03224
13224

end0.0ms

sample5.8s

Algorithm
intervals
Results
3.8s3731×body1280valid
1.2s2028×body640valid
299.0ms694×body320valid
144.0ms1270×body80valid
69.0ms277×body160valid

Profiling

Loading profile data...