Details

Time bar (total: 9.1s)

sample191.0ms

Algorithm
intervals
Results
124.0ms121×body1280valid
34.0ms56×body640valid
9.0ms22×body320valid
5.0ms43×body80valid
4.0ms14×body160valid

simplify52.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 (100.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 6.1b

Counts
2 → 1

localize20.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
(* (/ (sin ky) (sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))) (sin th))
0.3b
(pow (sin kx) 2.0)
5.6b
(sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))

rewrite40.0ms

Algorithm
rewrite-expression-head
Rules
72×*-un-lft-identity
50×times-frac
49×add-sqr-sqrt
41×sqrt-prod
40×add-cube-cbrt
30×associate-*l*
19×unpow-prod-down
16×distribute-lft-out
12×add-exp-log
11×add-cbrt-cube
pow1 associate-/r*
sqrt-div
associate-/r/ add-log-exp
pow-unpow flip3-+ associate-*r* flip-+ associate-/l* unswap-sqr
cbrt-undiv div-exp prod-exp cbrt-unprod div-inv
pow-to-exp rem-sqrt-square pow-pow frac-2neg sqrt-pow1 pow1/2 pow-prod-down associate-*l/ pow-exp clear-num *-commutative sqr-pow
Counts
4 → 133
Calls
4 calls:
11.0ms
(/ (sin ky) (sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0))))
15.0ms
(* (/ (sin ky) (sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))) (sin th))
2.0ms
(pow (sin kx) 2.0)
7.0ms
(sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))

series119.0ms

Counts
4 → 12
Calls
4 calls:
34.0ms
(/ (sin ky) (sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0))))
47.0ms
(* (/ (sin ky) (sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))) (sin th))
19.0ms
(pow (sin kx) 2.0)
19.0ms
(sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))

simplify51.0ms

Algorithm
egg-herbie
Counts
145 → 145
Iterations

Useful iterations: 2 (35.0ms)

IterNodesCost
04181631
115081502
250011491

prune316.0ms

Filtered
145 candidates to 95 candidates (34.5%)
Pruning

11 alts after pruning (11 fresh and 0 done)

PrunedKeptTotal
New13411145
Fresh000
Picked101
Done000
Total13511146

Merged error: 4.1b

Counts
146 → 11

localize15.0ms

Local error

Found 4 expressions with local error:

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

rewrite40.0ms

Algorithm
rewrite-expression-head
Rules
72×*-un-lft-identity
50×times-frac
49×add-sqr-sqrt
41×sqrt-prod
40×add-cube-cbrt
30×associate-*r*
19×unpow-prod-down
16×distribute-lft-out
12×add-exp-log
11×add-cbrt-cube
pow1 associate-/r*
sqrt-div
associate-/r/ add-log-exp
pow-unpow flip3-+ associate-*l* flip-+ associate-/l* unswap-sqr
cbrt-undiv div-exp prod-exp cbrt-unprod div-inv
pow-to-exp rem-sqrt-square pow-pow frac-2neg sqrt-pow1 pow1/2 associate-*r/ pow-prod-down pow-exp clear-num *-commutative sqr-pow
Counts
4 → 133
Calls
4 calls:
16.0ms
(* (sin ky) (/ (sin th) (sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))))
2.0ms
(pow (sin kx) 2.0)
11.0ms
(/ (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)))

series123.0ms

Counts
4 → 12
Calls
4 calls:
44.0ms
(* (sin ky) (/ (sin th) (sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))))
18.0ms
(pow (sin kx) 2.0)
39.0ms
(/ (sin th) (sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0))))
21.0ms
(sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))

simplify55.0ms

Algorithm
egg-herbie
Counts
145 → 145
Iterations

Useful iterations: 2 (40.0ms)

IterNodesCost
04301588
117551442
250011432

prune251.0ms

Filtered
145 candidates to 86 candidates (40.7%)
Pruning

11 alts after pruning (10 fresh and 1 done)

PrunedKeptTotal
New1450145
Fresh01010
Picked011
Done000
Total14511156

Merged error: 4.1b

Counts
156 → 11

localize19.0ms

Local error

Found 4 expressions with local error:

0.2b
(* (* (sin ky) (/ 1 (sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0))))) (sin th))
0.3b
(pow (sin kx) 2.0)
0.3b
(* (sin ky) (/ 1 (sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))))
5.6b
(sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))

rewrite45.0ms

Algorithm
rewrite-expression-head
Rules
42×*-un-lft-identity
37×add-sqr-sqrt
33×associate-*r*
29×add-exp-log
28×times-frac
24×add-cube-cbrt
22×sqrt-prod
18×add-cbrt-cube
13×pow1 prod-exp
11×unpow-prod-down
distribute-lft-out
cbrt-unprod
unswap-sqr
sqrt-div div-exp associate-*l* pow-prod-down add-log-exp
pow-unpow
cbrt-undiv rec-exp flip3-+ 1-exp associate-*r/ associate-*l/ associate-/r/ un-div-inv *-commutative flip-+
pow-to-exp rem-sqrt-square pow-pow sqrt-pow1 pow1/2 pow-exp div-inv sqr-pow
Counts
4 → 113
Calls
4 calls:
15.0ms
(* (* (sin ky) (/ 1 (sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0))))) (sin th))
2.0ms
(pow (sin kx) 2.0)
17.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)))

series115.0ms

Counts
4 → 12
Calls
4 calls:
43.0ms
(* (* (sin ky) (/ 1 (sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0))))) (sin th))
17.0ms
(pow (sin kx) 2.0)
36.0ms
(* (sin ky) (/ 1 (sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))))
18.0ms
(sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))

simplify61.0ms

Algorithm
egg-herbie
Counts
125 → 125
Iterations

Useful iterations: 2 (48.0ms)

IterNodesCost
05071234
124571064
250011023

prune217.0ms

Filtered
125 candidates to 69 candidates (44.8%)
Pruning

11 alts after pruning (9 fresh and 2 done)

PrunedKeptTotal
New1250125
Fresh099
Picked011
Done011
Total12511136

Merged error: 4.1b

Counts
136 → 11

localize16.0ms

Local error

Found 4 expressions with local error:

0.2b
(/ 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))
5.8b
(sqrt (/ 1 (+ (pow (sin kx) 2) (pow (sin ky) 2))))

rewrite55.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:
9.0ms
(/ 1 (+ (pow (sin kx) 2) (pow (sin ky) 2)))
3.0ms
(pow (sin kx) 2)
19.0ms
(* (sqrt (/ 1 (+ (pow (sin kx) 2) (pow (sin ky) 2)))) (sin ky))
19.0ms
(sqrt (/ 1 (+ (pow (sin kx) 2) (pow (sin ky) 2))))

series85.0ms

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

simplify49.0ms

Algorithm
egg-herbie
Counts
150 → 150
Iterations

Useful iterations: 2 (36.0ms)

IterNodesCost
03841400
113501277
250021219

prune200.0ms

Filtered
150 candidates to 81 candidates (46.0%)
Pruning

11 alts after pruning (8 fresh and 3 done)

PrunedKeptTotal
New1482150
Fresh268
Picked011
Done022
Total15011161

Merged error: 4.1b

Counts
161 → 11

regimes943.0ms

Accuracy

65.8% (0.5b remaining)

Error of 2.8b against oracle of 2.4b and baseline of 3.8b

bsearch2.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03023
13023

end0.0ms

sample6.0s

Algorithm
intervals
Results
3.8s3728×body1280valid
1.3s2022×body640valid
289.0ms703×body320valid
162.0ms1273×body80valid
78.0ms274×body160valid

Profiling

Loading profile data...