Details

Time bar (total: 10.4s)

sample187.0ms

Algorithm
intervals
Results
118.0ms118×body1280valid
43.0ms73×body640valid
5.0ms13×body320valid
5.0ms44×body80valid
2.0msbody160valid

simplify54.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
02310
13510
26310
313710
441710
5179810
6500210

prune3.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.5b

Counts
2 → 1

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

rewrite27.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))))
3.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)))

series420.0ms

Counts
4 → 12
Calls
4 calls:
133.0ms
(/ (sin ky) (sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0))))
103.0ms
(pow (sin kx) 2.0)
104.0ms
(pow (sin ky) 2.0)
80.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
03291021
11106946
25001943

prune342.0ms

Filtered
112 candidates to 70 candidates (62.5%)
Pruning

11 alts after pruning (11 fresh and 0 done)

PrunedKeptTotal
New10111112
Fresh000
Picked101
Done000
Total10211113

Merged error: 2.6b

Counts
113 → 11

localize16.0ms

Local error

Found 4 expressions with local error:

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

rewrite30.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-/l*
pow1
pow-unpow add-cbrt-cube
sqrt-div add-log-exp
associate-/r*
pow-to-exp pow-pow flip3-+ pow-exp flip-+ associate-/l/ 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
(/ (sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0))) (sin ky))
3.0ms
(pow (sin kx) 2.0)
3.0ms
(pow (sin ky) 2.0)
10.0ms
(sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))

series432.0ms

Counts
4 → 12
Calls
4 calls:
140.0ms
(/ (sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0))) (sin ky))
105.0ms
(pow (sin kx) 2.0)
106.0ms
(pow (sin ky) 2.0)
80.0ms
(sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))

simplify145.0ms

Algorithm
egg-herbie
Counts
112 → 112
Iterations

Useful iterations: 2 (29.0ms)

IterNodesCost
03271017
11117969
24630966
35001966

prune323.0ms

Filtered
112 candidates to 71 candidates (63.4%)
Pruning

11 alts after pruning (10 fresh and 1 done)

PrunedKeptTotal
New1111112
Fresh1910
Picked011
Done000
Total11211123

Merged error: 2.6b

Counts
123 → 11

localize16.0ms

Local error

Found 4 expressions with local error:

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

rewrite38.0ms

Algorithm
rewrite-expression-head
Rules
54×*-un-lft-identity
45×sqrt-prod
41×add-sqr-sqrt
34×times-frac
28×add-cube-cbrt
24×associate-*l*
18×unpow-prod-down
12×distribute-lft-out
10×pow1
add-exp-log
pow-unpow add-cbrt-cube
associate-/r/ add-log-exp unswap-sqr
rem-sqrt-square sqrt-pow1 associate-*r*
pow-to-exp pow-pow flip3-+ sqrt-div pow-exp flip-+ div-inv unpow2 sqr-pow
pow-flip pow1/2 pow-prod-down associate-*l/ prod-exp *-commutative cbrt-unprod inv-pow
Counts
4 → 115
Calls
4 calls:
3.0ms
(pow (sin kx) 2)
17.0ms
(* (sqrt (/ 1 (+ (pow (sin kx) 2) (pow (sin ky) 2)))) (sin ky))
3.0ms
(pow (sin ky) 2)
11.0ms
(sqrt (/ 1 (+ (pow (sin kx) 2) (pow (sin ky) 2))))

series267.0ms

Counts
4 → 12
Calls
4 calls:
18.0ms
(pow (sin kx) 2)
119.0ms
(* (sqrt (/ 1 (+ (pow (sin kx) 2) (pow (sin ky) 2)))) (sin ky))
24.0ms
(pow (sin ky) 2)
105.0ms
(sqrt (/ 1 (+ (pow (sin kx) 2) (pow (sin ky) 2))))

simplify47.0ms

Algorithm
egg-herbie
Counts
127 → 127
Iterations

Useful iterations: 2 (35.0ms)

IterNodesCost
03691075
11256984
25001947

prune342.0ms

Filtered
127 candidates to 75 candidates (59.1%)
Pruning

11 alts after pruning (9 fresh and 2 done)

PrunedKeptTotal
New1261127
Fresh189
Picked011
Done011
Total12711138

Merged error: 2.6b

Counts
138 → 11

localize19.0ms

Local error

Found 4 expressions with local error:

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

rewrite98.0ms

Algorithm
rewrite-expression-head
Rules
185×sqrt-prod
163×add-sqr-sqrt
144×times-frac
132×*-un-lft-identity
72×add-cube-cbrt
39×associate-*r* associate-*l*
28×add-exp-log unswap-sqr
24×unpow-prod-down distribute-lft-out
18×add-cbrt-cube
16×sqrt-div
11×associate-/r*
div-exp
pow1 prod-exp
associate-/r/
cbrt-undiv flip3-+ flip-+
cbrt-unprod add-log-exp
div-inv associate-/l*
rem-sqrt-square rec-exp sqrt-pow1 pow1/2 1-exp
frac-times frac-2neg associate-*r/ pow-prod-down associate-*l/ clear-num *-commutative
Counts
4 → 225
Calls
4 calls:
53.0ms
(* (/ 1 (sqrt (sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0))))) (/ (sin ky) (sqrt (sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0))))))
13.0ms
(/ (sin ky) (sqrt (sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))))
8.0ms
(sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))
12.0ms
(sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))

series443.0ms

Counts
4 → 12
Calls
4 calls:
122.0ms
(* (/ 1 (sqrt (sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0))))) (/ (sin ky) (sqrt (sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0))))))
168.0ms
(/ (sin ky) (sqrt (sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))))
73.0ms
(sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))
80.0ms
(sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))

simplify107.0ms

Algorithm
egg-herbie
Counts
237 → 237
Iterations

Useful iterations: 2 (67.0ms)

IterNodesCost
06824592
132934120
250013911

prune601.0ms

Filtered
237 candidates to 125 candidates (52.7%)
Pruning

11 alts after pruning (8 fresh and 3 done)

PrunedKeptTotal
New2370237
Fresh088
Picked011
Done022
Total23711248

Merged error: 2.6b

Counts
248 → 11

regimes446.0ms

Accuracy

0% (1.2b remaining)

Error of 3.9b against oracle of 2.7b and baseline of 3.9b

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01911
11911

end0.0ms

sample5.9s

Algorithm
intervals
Results
3.7s3711×body1280valid
1.4s2013×body640valid
307.0ms720×body320valid
152.0ms1246×body80valid
79.0ms310×body160valid

Profiling

Loading profile data...