Details

Time bar (total: 8.9s)

sample190.0ms

Algorithm
intervals
Results
99.0ms102×body1280valid
47.0ms69×body640valid
9.0ms22×body320valid
6.0ms54×body80valid
2.0msbody160valid

simplify50.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
02310
13510
26310
313710
441710
5179810
6500210

prune11.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 3.9b

Counts
2 → 1

localize15.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.2b
(pow (sin kx) 2.0)
0.2b
(pow (sin ky) 2.0)
3.6b
(sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))

rewrite26.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:
11.0ms
(/ (sin ky) (sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0))))
2.0ms
(pow (sin kx) 2.0)
2.0ms
(pow (sin ky) 2.0)
7.0ms
(sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))

series93.0ms

Counts
4 → 12
Calls
4 calls:
35.0ms
(/ (sin ky) (sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0))))
20.0ms
(pow (sin kx) 2.0)
19.0ms
(pow (sin ky) 2.0)
19.0ms
(sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))

simplify41.0ms

Algorithm
egg-herbie
Counts
112 → 112
Iterations

Useful iterations: 2 (30.0ms)

IterNodesCost
03631053
11249978
25002961

prune250.0ms

Filtered
70 candidates to 112 candidates (-60.0%)
Pruning

12 alts after pruning (12 fresh and 0 done)

PrunedKeptTotal
New10012112
Fresh000
Picked101
Done000
Total10112113

Merged error: 2.3b

Counts
113 → 12

localize16.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.2b
(pow (sin kx) 2.0)
0.2b
(pow (sin ky) 2.0)
3.6b
(sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))

rewrite36.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:
15.0ms
(/ 1 (/ (sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0))) (sin ky)))
2.0ms
(pow (sin kx) 2.0)
3.0ms
(pow (sin ky) 2.0)
7.0ms
(sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))

series90.0ms

Counts
4 → 12
Calls
4 calls:
36.0ms
(/ 1 (/ (sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0))) (sin ky)))
18.0ms
(pow (sin kx) 2.0)
18.0ms
(pow (sin ky) 2.0)
19.0ms
(sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))

simplify75.0ms

Algorithm
egg-herbie
Counts
199 → 199
Iterations

Useful iterations: 2 (53.0ms)

IterNodesCost
06752618
130162355
250022204

prune239.0ms

Filtered
77 candidates to 199 candidates (-158.4%)
Pruning

12 alts after pruning (11 fresh and 1 done)

PrunedKeptTotal
New1981199
Fresh11011
Picked011
Done000
Total19912211

Merged error: 2.3b

Counts
211 → 12

localize16.0ms

Local error

Found 4 expressions with local error:

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

rewrite35.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:
2.0ms
(pow (sin kx) 2.0)
18.0ms
(* (sin ky) (/ 1 (sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))))
2.0ms
(pow (sin ky) 2.0)
9.0ms
(sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))

series90.0ms

Counts
4 → 12
Calls
4 calls:
18.0ms
(pow (sin kx) 2.0)
37.0ms
(* (sin ky) (/ 1 (sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))))
17.0ms
(pow (sin ky) 2.0)
19.0ms
(sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))

simplify54.0ms

Algorithm
egg-herbie
Counts
118 → 118
Iterations

Useful iterations: 2 (44.0ms)

IterNodesCost
0482963
12275882
25002841

prune214.0ms

Filtered
70 candidates to 118 candidates (-68.6%)
Pruning

10 alts after pruning (9 fresh and 1 done)

PrunedKeptTotal
New1162118
Fresh3710
Picked101
Done011
Total12010130

Merged error: 2.3b

Counts
130 → 10

localize19.0ms

Local error

Found 4 expressions with local error:

3.6b
(sqrt (+ (* (* (cbrt (pow (sin kx) 2.0)) (cbrt (pow (sin kx) 2.0))) (cbrt (pow (sin kx) 2.0))) (pow (sin ky) 2.0)))
16.3b
(cbrt (pow (sin kx) 2.0))
16.3b
(cbrt (pow (sin kx) 2.0))
16.3b
(cbrt (pow (sin kx) 2.0))

rewrite22.0ms

Algorithm
rewrite-expression-head
Rules
21×cbrt-prod
12×add-sqr-sqrt
11×add-cube-cbrt *-un-lft-identity
unpow-prod-down
pow1
add-exp-log add-cbrt-cube add-log-exp
pow1/3 sqrt-prod sqr-pow
sqrt-div
rem-sqrt-square sqrt-pow1 flip3-+ pow1/2 flip-+
Counts
4 → 60
Calls
4 calls:
14.0ms
(sqrt (+ (* (* (cbrt (pow (sin kx) 2.0)) (cbrt (pow (sin kx) 2.0))) (cbrt (pow (sin kx) 2.0))) (pow (sin ky) 2.0)))
2.0ms
(cbrt (pow (sin kx) 2.0))
2.0ms
(cbrt (pow (sin kx) 2.0))
2.0ms
(cbrt (pow (sin kx) 2.0))

series132.0ms

Counts
4 → 12
Calls
4 calls:
20.0ms
(sqrt (+ (* (* (cbrt (pow (sin kx) 2.0)) (cbrt (pow (sin kx) 2.0))) (cbrt (pow (sin kx) 2.0))) (pow (sin ky) 2.0)))
36.0ms
(cbrt (pow (sin kx) 2.0))
36.0ms
(cbrt (pow (sin kx) 2.0))
39.0ms
(cbrt (pow (sin kx) 2.0))

simplify69.0ms

Algorithm
egg-herbie
Counts
72 → 72
Iterations

Useful iterations: 3 (62.0ms)

IterNodesCost
0212721
1576679
22020670
35002628

prune240.0ms

Filtered
56 candidates to 72 candidates (-28.6%)
Pruning

10 alts after pruning (8 fresh and 2 done)

PrunedKeptTotal
New72072
Fresh088
Picked011
Done011
Total721082

Merged error: 2.3b

Counts
82 → 10

regimes787.0ms

Accuracy

43.7% (0.7b remaining)

Error of 3.4b against oracle of 2.6b and baseline of 3.9b

bsearch2.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03124
13124

end0.0ms

sample6.1s

Algorithm
intervals
Results
3.9s3716×body1280valid
1.3s1990×body640valid
327.0ms725×body320valid
155.0ms1288×body80valid
74.0ms281×body160valid

Profiling

Loading profile data...