Details

Time bar (total: 10.6s)

sample203.0ms

Algorithm
intervals
Results
130.0ms131×body1280valid
46.0ms69×body640valid
8.0ms21×body320valid
3.0ms29×body80valid
2.0msbody160valid

simplify52.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.8b

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

rewrite36.0ms

Algorithm
rewrite-expression-head
Rules
41×*-un-lft-identity
34×add-sqr-sqrt
30×associate-*l*
26×times-frac
25×add-cube-cbrt
21×sqrt-prod
14×unpow-prod-down
11×add-exp-log
pow1 add-cbrt-cube
distribute-lft-out
pow-unpow
sqrt-div add-log-exp
associate-*r* unswap-sqr
pow-to-exp pow-pow flip3-+ pow-exp prod-exp associate-/r/ cbrt-unprod flip-+ sqr-pow
cbrt-undiv rem-sqrt-square sqrt-pow1 pow1/2 div-exp pow-prod-down associate-*l/ *-commutative div-inv
Counts
4 → 101
Calls
4 calls:
16.0ms
(* (/ (sin ky) (sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))) (sin th))
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)))

series438.0ms

Counts
4 → 12
Calls
4 calls:
150.0ms
(* (/ (sin ky) (sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))) (sin th))
104.0ms
(pow (sin ky) 2.0)
110.0ms
(pow (sin kx) 2.0)
73.0ms
(sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))

simplify51.0ms

Algorithm
egg-herbie
Counts
113 → 113
Iterations

Useful iterations: 2 (34.0ms)

IterNodesCost
0391990
11382928
25001927

prune397.0ms

Filtered
113 candidates to 78 candidates (69.0%)
Pruning

13 alts after pruning (13 fresh and 0 done)

PrunedKeptTotal
New10013113
Fresh000
Picked101
Done000
Total10113114

Merged error: 2.8b

Counts
114 → 13

localize22.0ms

Local error

Found 4 expressions with local error:

0.5b
(cbrt (sin kx))
0.5b
(cbrt (sin kx))
0.5b
(cbrt (sin kx))
3.4b
(sqrt (+ (* (pow (* (cbrt (sin kx)) (cbrt (sin kx))) 2.0) (pow (cbrt (sin kx)) 2.0)) (pow (sin ky) 2.0)))

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

series384.0ms

Counts
4 → 12
Calls
4 calls:
106.0ms
(cbrt (sin kx))
99.0ms
(cbrt (sin kx))
99.0ms
(cbrt (sin kx))
79.0ms
(sqrt (+ (* (pow (* (cbrt (sin kx)) (cbrt (sin kx))) 2.0) (pow (cbrt (sin kx)) 2.0)) (pow (sin ky) 2.0)))

simplify78.0ms

Algorithm
egg-herbie
Counts
60 → 60
Iterations

Useful iterations: 3 (72.0ms)

IterNodesCost
0183511
1496483
22171477
35002476

prune267.0ms

Filtered
60 candidates to 46 candidates (76.7%)
Pruning

13 alts after pruning (12 fresh and 1 done)

PrunedKeptTotal
New60060
Fresh01212
Picked011
Done000
Total601373

Merged error: 2.8b

Counts
73 → 13

localize20.0ms

Local error

Found 4 expressions with local error:

0.4b
(/ (sin ky) (sqrt (sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))))
1.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))))) (sin th)))
3.4b
(sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))
3.4b
(sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))

rewrite74.0ms

Algorithm
rewrite-expression-head
Rules
101×sqrt-prod
87×*-un-lft-identity
66×times-frac
53×add-sqr-sqrt
51×add-cube-cbrt
45×add-exp-log
39×associate-*l*
27×add-cbrt-cube
20×prod-exp
18×unpow-prod-down distribute-lft-out
12×sqrt-div
11×pow1 div-exp associate-/r*
10×cbrt-unprod
cbrt-undiv
flip3-+ associate-/r/ flip-+ add-log-exp
rec-exp 1-exp pow-prod-down associate-*l/ associate-/l*
rem-sqrt-square sqrt-pow1 pow1/2 div-inv
frac-times frac-2neg associate-*r/ associate-*r* clear-num *-commutative
Counts
4 → 166
Calls
4 calls:
17.0ms
(/ (sin ky) (sqrt (sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))))
33.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))))) (sin th)))
8.0ms
(sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))
8.0ms
(sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))

series476.0ms

Counts
4 → 12
Calls
4 calls:
154.0ms
(/ (sin ky) (sqrt (sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))))
169.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))))) (sin th)))
80.0ms
(sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))
73.0ms
(sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))

simplify81.0ms

Algorithm
egg-herbie
Counts
178 → 178
Iterations

Useful iterations: 2 (58.0ms)

IterNodesCost
05773069
129342568
250012299

prune527.0ms

Filtered
178 candidates to 103 candidates (57.9%)
Pruning

14 alts after pruning (12 fresh and 2 done)

PrunedKeptTotal
New1771178
Fresh01111
Picked011
Done011
Total17714191

Merged error: 2.8b

Counts
191 → 14

localize26.0ms

Local error

Found 4 expressions with local error:

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

rewrite26.0ms

Algorithm
rewrite-expression-head
Rules
20×*-un-lft-identity
15×sqrt-prod
11×add-sqr-sqrt
add-cube-cbrt
pow1
unpow-prod-down sqrt-div distribute-lft-out
add-exp-log add-cbrt-cube add-log-exp
cbrt-prod rem-sqrt-square sqrt-pow1 flip3-+ pow1/2 flip-+
pow1/3
Counts
4 → 62
Calls
4 calls:
2.0ms
(cbrt (sin ky))
8.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)))
8.0ms
(sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))

series332.0ms

Counts
4 → 12
Calls
4 calls:
97.0ms
(cbrt (sin ky))
77.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)))
79.0ms
(sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))

simplify57.0ms

Algorithm
egg-herbie
Counts
74 → 74
Iterations

Useful iterations: 3 (50.0ms)

IterNodesCost
0171583
1424554
21478552
35002551

prune282.0ms

Filtered
74 candidates to 53 candidates (71.6%)
Pruning

14 alts after pruning (11 fresh and 3 done)

PrunedKeptTotal
New74074
Fresh01111
Picked011
Done022
Total741488

Merged error: 2.8b

Counts
88 → 14

regimes800.0ms

Accuracy

0% (1.6b remaining)

Error of 4.3b against oracle of 2.8b and baseline of 4.3b

bsearch0.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
02018
12018

end0.0ms

sample5.9s

Algorithm
intervals
Results
3.9s3788×body1280valid
1.2s1995×body640valid
298.0ms711×body320valid
139.0ms1201×body80valid
78.0ms305×body160valid