Details

Time bar (total: 10.1s)

sample178.0ms

Algorithm
intervals
Results
112.0ms118×body1280valid
36.0ms61×body640valid
9.0ms24×body320valid
5.0ms43×body80valid
2.0ms10×body160valid

simplify50.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
02310
13510
26310
313710
441710
5179810
6500210

prune4.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: 5.4b

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

rewrite30.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:
15.0ms
(* (/ (sin ky) (sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))) (sin th))
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)))

series426.0ms

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

simplify42.0ms

Algorithm
egg-herbie
Counts
113 → 113
Iterations

Useful iterations: 2 (32.0ms)

IterNodesCost
0391990
11382928
25001927

prune387.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: 4.0b

Counts
114 → 11

localize15.0ms

Local error

Found 4 expressions with local error:

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

rewrite35.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:
2.0ms
(pow (sin ky) 2.0)
17.0ms
(* (sin ky) (/ (sin th) (sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))))
5.0ms
(pow (sin kx) 2.0)
7.0ms
(sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))

series425.0ms

Counts
4 → 12
Calls
4 calls:
108.0ms
(pow (sin ky) 2.0)
138.0ms
(* (sin ky) (/ (sin th) (sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))))
102.0ms
(pow (sin kx) 2.0)
76.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

prune309.0ms

Filtered
113 candidates to 69 candidates (61.1%)
Pruning

11 alts after pruning (10 fresh and 1 done)

PrunedKeptTotal
New1121113
Fresh1910
Picked011
Done000
Total11311124

Merged error: 4.0b

Counts
124 → 11

localize24.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)))))
5.0b
(sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))
5.0b
(sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))
5.0b
(sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))

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

series385.0ms

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

simplify98.0ms

Algorithm
egg-herbie
Counts
102 → 102
Iterations

Useful iterations: 3 (86.0ms)

IterNodesCost
02821291
18191231
234751224
350021219

prune386.0ms

Filtered
102 candidates to 68 candidates (66.7%)
Pruning

11 alts after pruning (9 fresh and 2 done)

PrunedKeptTotal
New1020102
Fresh099
Picked011
Done011
Total10211113

Merged error: 4.0b

Counts
113 → 11

localize25.0ms

Local error

Found 4 expressions with local error:

1.0b
(sqrt (* (cbrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0))) (cbrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))))
5.5b
(cbrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))
5.5b
(cbrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))
5.5b
(cbrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))

rewrite41.0ms

Algorithm
rewrite-expression-head
Rules
19×*-un-lft-identity
18×cbrt-div
15×cbrt-prod
12×pow1
sqrt-pow1 flip3-+ pow1/3 flip-+
sqrt-div
add-sqr-sqrt add-cube-cbrt
unpow-prod-down distribute-lft-out
add-exp-log frac-times add-cbrt-cube add-log-exp
associate-*r/ pow-prod-down associate-*l/ pow-sqr pow-prod-up
pow2 rem-sqrt-square pow-plus pow1/2 sqrt-prod
Counts
4 → 72
Calls
4 calls:
16.0ms
(sqrt (* (cbrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0))) (cbrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))))
7.0ms
(cbrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))
9.0ms
(cbrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))
7.0ms
(cbrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))

series382.0ms

Counts
4 → 12
Calls
4 calls:
96.0ms
(sqrt (* (cbrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0))) (cbrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))))
95.0ms
(cbrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))
95.0ms
(cbrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))
96.0ms
(cbrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))

simplify95.0ms

Algorithm
egg-herbie
Counts
84 → 84
Iterations

Useful iterations: 3 (85.0ms)

IterNodesCost
01971015
1566963
22309957
35001948

prune342.0ms

Filtered
84 candidates to 59 candidates (70.2%)
Pruning

11 alts after pruning (8 fresh and 3 done)

PrunedKeptTotal
New84084
Fresh088
Picked011
Done022
Total841195

Merged error: 4.0b

Counts
95 → 11

regimes501.0ms

Accuracy

0% (1.4b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01510
11510

end0.0ms

sample5.9s

Algorithm
intervals
Results
3.8s3760×body1280valid
1.3s2008×body640valid
303.0ms730×body320valid
139.0ms1219×body80valid
77.0ms283×body160valid