Details

Time bar (total: 8.9s)

sample188.0ms

Algorithm
intervals
Results
115.0ms113×body1280valid
40.0ms66×body640valid
9.0ms23×body320valid
5.0ms43×body80valid
3.0ms11×body160valid

simplify53.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
02310
13510
26310
313710
441710
5179810
6500210

prune5.0ms

Filtered
1 candidates to 0 candidates (100.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 4.5b

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 ky) 2.0)
0.3b
(pow (sin kx) 2.0)
4.2b
(sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))

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

series99.0ms

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

simplify43.0ms

Algorithm
egg-herbie
Counts
112 → 112
Iterations

Useful iterations: 2 (32.0ms)

IterNodesCost
03631053
11249978
25001961

prune253.0ms

Filtered
112 candidates to 70 candidates (37.5%)
Pruning

12 alts after pruning (11 fresh and 1 done)

PrunedKeptTotal
New10111112
Fresh000
Picked011
Done000
Total10112113

Merged error: 3.0b

Counts
113 → 12

localize17.0ms

Local error

Found 4 expressions with local error:

0.2b
(pow (sin ky) 2.0)
0.3b
(pow (sin kx) 2.0)
0.3b
(* (sin ky) (/ 1 (sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))))
4.2b
(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 ky) 2.0)
3.0ms
(pow (sin kx) 2.0)
19.0ms
(* (sin ky) (/ 1 (sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))))
7.0ms
(sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))

series95.0ms

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

simplify57.0ms

Algorithm
egg-herbie
Counts
118 → 118
Iterations

Useful iterations: 2 (46.0ms)

IterNodesCost
0482963
12275882
25002841

prune229.0ms

Filtered
118 candidates to 69 candidates (41.5%)
Pruning

12 alts after pruning (10 fresh and 2 done)

PrunedKeptTotal
New1180118
Fresh01010
Picked011
Done011
Total11812130

Merged error: 3.0b

Counts
130 → 12

localize16.0ms

Local error

Found 4 expressions with local error:

0.3b
(/ 1 (+ (pow (sin kx) 2) (pow (sin ky) 2)))
0.3b
(pow (sin kx) 2)
0.3b
(* (sqrt (/ 1 (+ (pow (sin kx) 2) (pow (sin ky) 2)))) (sin ky))
4.4b
(sqrt (/ 1 (+ (pow (sin kx) 2) (pow (sin ky) 2))))

rewrite45.0ms

Algorithm
rewrite-expression-head
Rules
78×*-un-lft-identity
49×add-sqr-sqrt times-frac
45×sqrt-prod
36×add-cube-cbrt
24×associate-*l*
23×unpow-prod-down
20×distribute-lft-out
11×add-exp-log
10×pow1
add-cbrt-cube
associate-/r/
associate-/r*
add-log-exp unswap-sqr
rem-sqrt-square pow-unpow sqrt-pow1 flip3-+ associate-*r* flip-+ div-inv associate-/l*
pow-flip sqrt-div div-exp inv-pow
cbrt-undiv pow-to-exp rec-exp pow-pow frac-2neg pow1/2 1-exp pow-prod-down associate-*l/ pow-exp prod-exp clear-num *-commutative cbrt-unprod unpow2 sqr-pow
Counts
4 → 138
Calls
4 calls:
10.0ms
(/ 1 (+ (pow (sin kx) 2) (pow (sin ky) 2)))
2.0ms
(pow (sin kx) 2)
16.0ms
(* (sqrt (/ 1 (+ (pow (sin kx) 2) (pow (sin ky) 2)))) (sin ky))
10.0ms
(sqrt (/ 1 (+ (pow (sin kx) 2) (pow (sin ky) 2))))

series87.0ms

Counts
4 → 12
Calls
4 calls:
20.0ms
(/ 1 (+ (pow (sin kx) 2) (pow (sin ky) 2)))
4.0ms
(pow (sin kx) 2)
34.0ms
(* (sqrt (/ 1 (+ (pow (sin kx) 2) (pow (sin ky) 2)))) (sin ky))
29.0ms
(sqrt (/ 1 (+ (pow (sin kx) 2) (pow (sin ky) 2))))

simplify51.0ms

Algorithm
egg-herbie
Counts
150 → 150
Iterations

Useful iterations: 2 (35.0ms)

IterNodesCost
03841400
113501277
250021219

prune256.0ms

Filtered
150 candidates to 81 candidates (46.0%)
Pruning

12 alts after pruning (9 fresh and 3 done)

PrunedKeptTotal
New1482150
Fresh279
Picked011
Done022
Total15012162

Merged error: 3.0b

Counts
162 → 12

localize21.0ms

Local error

Found 4 expressions with local error:

0.7b
(cbrt (sin kx))
0.7b
(cbrt (sin kx))
0.7b
(cbrt (sin kx))
4.2b
(sqrt (+ (* (pow (* (cbrt (sin kx)) (cbrt (sin kx))) 2.0) (pow (cbrt (sin kx)) 2.0)) (pow (sin ky) 2.0)))

rewrite14.0ms

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

series78.0ms

Counts
4 → 12
Calls
4 calls:
18.0ms
(cbrt (sin kx))
19.0ms
(cbrt (sin kx))
19.0ms
(cbrt (sin kx))
22.0ms
(sqrt (+ (* (pow (* (cbrt (sin kx)) (cbrt (sin kx))) 2.0) (pow (cbrt (sin kx)) 2.0)) (pow (sin ky) 2.0)))

simplify90.0ms

Algorithm
egg-herbie
Counts
60 → 60
Iterations

Useful iterations: 3 (83.0ms)

IterNodesCost
0189553
1571525
22518507
35002503

prune115.0ms

Filtered
60 candidates to 47 candidates (21.7%)
Pruning

12 alts after pruning (8 fresh and 4 done)

PrunedKeptTotal
New60060
Fresh088
Picked011
Done033
Total601272

Merged error: 3.0b

Counts
72 → 12

regimes1.0s

Accuracy

57% (0.6b remaining)

Error of 3.0b against oracle of 2.5b and baseline of 3.8b

bsearch2.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02923
12923

end0.0ms

sample6.0s

Algorithm
intervals
Results
3.8s3705×body1280valid
1.3s2040×body640valid
274.0ms694×body320valid
145.0ms1252×body80valid
89.0ms309×body160valid

Profiling

Loading profile data...