Details

Time bar (total: 9.8s)

sample169.0ms

Algorithm
intervals
Results
109.0ms122×body1280valid
32.0ms62×body640valid
5.0ms13×body320valid
5.0ms42×body80valid
4.0ms17×body160valid

simplify51.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: 2.0b

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

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

series440.0ms

Counts
4 → 12
Calls
4 calls:
147.0ms
(* (/ (sin ky) (sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))) (sin th))
110.0ms
(pow (sin ky) 2.0)
105.0ms
(pow (sin kx) 2.0)
77.0ms
(sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))

simplify44.0ms

Algorithm
egg-herbie
Counts
113 → 113
Iterations

Useful iterations: 2 (34.0ms)

IterNodesCost
0391990
11382928
25001927

prune385.0ms

Filtered
113 candidates to 78 candidates (69.0%)
Pruning

11 alts after pruning (11 fresh and 0 done)

PrunedKeptTotal
New10211113
Fresh000
Picked101
Done000
Total10311114

Merged error: 0.8b

Counts
114 → 11

localize15.0ms

Local error

Found 4 expressions with local error:

0.3b
(pow (sin ky) 2.0)
0.3b
(* (sin ky) (/ (sin th) (sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))))
0.3b
(pow (sin kx) 2.0)
1.8b
(sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))

rewrite34.0ms

Algorithm
rewrite-expression-head
Rules
41×*-un-lft-identity
34×add-sqr-sqrt
30×associate-*r*
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-*l* 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 associate-*r/ div-exp pow-prod-down *-commutative div-inv
Counts
4 → 101
Calls
4 calls:
3.0ms
(pow (sin ky) 2.0)
17.0ms
(* (sin ky) (/ (sin th) (sqrt (+ (pow (sin kx) 2.0) (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)))

series436.0ms

Counts
4 → 12
Calls
4 calls:
105.0ms
(pow (sin ky) 2.0)
150.0ms
(* (sin ky) (/ (sin th) (sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))))
103.0ms
(pow (sin kx) 2.0)
78.0ms
(sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))

simplify55.0ms

Algorithm
egg-herbie
Counts
113 → 113
Iterations

Useful iterations: 1 (11.0ms)

IterNodesCost
0437948
11864870
25002870

prune305.0ms

Filtered
113 candidates to 69 candidates (61.1%)
Pruning

12 alts after pruning (11 fresh and 1 done)

PrunedKeptTotal
New1121113
Fresh01010
Picked011
Done000
Total11212124

Merged error: 0.8b

Counts
124 → 12

localize21.0ms

Local error

Found 4 expressions with local error:

0.4b
(cbrt (/ (sin ky) (sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))))
1.8b
(sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))
1.8b
(sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))
1.8b
(sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))

rewrite35.0ms

Algorithm
rewrite-expression-head
Rules
46×*-un-lft-identity
30×cbrt-prod sqrt-prod
25×add-sqr-sqrt
24×times-frac
22×add-cube-cbrt
12×unpow-prod-down distribute-lft-out
sqrt-div
pow1
add-exp-log flip3-+ add-cbrt-cube flip-+ add-log-exp
rem-sqrt-square sqrt-pow1 pow1/2
associate-/r/
cbrt-div pow1/3 div-inv
Counts
4 → 90
Calls
4 calls:
10.0ms
(cbrt (/ (sin ky) (sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))))
7.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)))
7.0ms
(sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))

series401.0ms

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

simplify99.0ms

Algorithm
egg-herbie
Counts
102 → 102
Iterations

Useful iterations: 3 (87.0ms)

IterNodesCost
02821291
18191231
234751224
350021219

prune384.0ms

Filtered
102 candidates to 68 candidates (66.7%)
Pruning

12 alts after pruning (10 fresh and 2 done)

PrunedKeptTotal
New1020102
Fresh01010
Picked011
Done011
Total10212114

Merged error: 0.8b

Counts
114 → 12

localize24.0ms

Local error

Found 4 expressions with local error:

0.6b
(cbrt (/ (sin th) (sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))))
1.8b
(sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))
1.8b
(sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))
1.8b
(sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))

rewrite35.0ms

Algorithm
rewrite-expression-head
Rules
46×*-un-lft-identity
30×cbrt-prod sqrt-prod
25×add-sqr-sqrt
24×times-frac
22×add-cube-cbrt
12×unpow-prod-down distribute-lft-out
sqrt-div
pow1
add-exp-log flip3-+ add-cbrt-cube flip-+ add-log-exp
rem-sqrt-square sqrt-pow1 pow1/2
associate-/r/
cbrt-div pow1/3 div-inv
Counts
4 → 90
Calls
4 calls:
10.0ms
(cbrt (/ (sin th) (sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))))
7.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)))
7.0ms
(sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))

series429.0ms

Counts
4 → 12
Calls
4 calls:
190.0ms
(cbrt (/ (sin th) (sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))))
81.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)))
78.0ms
(sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))

simplify89.0ms

Algorithm
egg-herbie
Counts
102 → 102
Iterations

Useful iterations: 3 (77.0ms)

IterNodesCost
02751282
17701227
232181225
350011220

prune353.0ms

Filtered
102 candidates to 68 candidates (66.7%)
Pruning

12 alts after pruning (10 fresh and 2 done)

PrunedKeptTotal
New1011102
Fresh099
Picked101
Done022
Total10212114

Merged error: 0.8b

Counts
114 → 12

regimes654.0ms

Accuracy

67.6% (0.5b remaining)

Error of 3.2b against oracle of 2.7b and baseline of 4.2b

bsearch3.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03729
13729

end0.0ms

sample5.3s

Algorithm
intervals
Results
3.3s3713×body1280valid
1.2s2021×body640valid
258.0ms719×body320valid
147.0ms1260×body80valid
69.0ms287×body160valid