Details

Time bar (total: 10.4s)

sample191.0ms

Algorithm
intervals
Results
125.0ms135×body1280valid
33.0ms56×body640valid
10.0ms42×body80valid
6.0ms16×body320valid
2.0msbody160valid

simplify53.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: 4.4b

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)
4.1b
(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:
20.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)))

series441.0ms

Counts
4 → 12
Calls
4 calls:
153.0ms
(* (/ (sin ky) (sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))) (sin th))
103.0ms
(pow (sin ky) 2.0)
111.0ms
(pow (sin kx) 2.0)
74.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

14 alts after pruning (14 fresh and 0 done)

PrunedKeptTotal
New9914113
Fresh000
Picked101
Done000
Total10014114

Merged error: 2.8b

Counts
114 → 14

localize15.0ms

Local error

Found 4 expressions with local error:

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

rewrite33.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)
3.0ms
(pow (sin kx) 2.0)
17.0ms
(* (sin ky) (/ (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)))

series440.0ms

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

simplify56.0ms

Algorithm
egg-herbie
Counts
113 → 113
Iterations

Useful iterations: 1 (12.0ms)

IterNodesCost
0437948
11864870
25002870

prune320.0ms

Filtered
113 candidates to 68 candidates (60.2%)
Pruning

14 alts after pruning (13 fresh and 1 done)

PrunedKeptTotal
New1121113
Fresh11213
Picked011
Done000
Total11314127

Merged error: 2.8b

Counts
127 → 14

localize18.0ms

Local error

Found 4 expressions with local error:

0.3b
(pow (sin kx) 2.0)
0.5b
(* (sqrt (sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))) (sqrt (sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))))
4.1b
(sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))
4.1b
(sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))

rewrite50.0ms

Algorithm
rewrite-expression-head
Rules
100×sqrt-prod
52×add-sqr-sqrt
50×*-un-lft-identity
34×sqrt-pow1
30×pow1
28×sqrt-div
20×add-cube-cbrt
19×swap-sqr
18×pow1/2
15×unpow-prod-down
14×distribute-lft-out
11×associate-*r* associate-*l*
pow-prod-up unswap-sqr
flip3-+ flip-+
add-exp-log
add-cbrt-cube
pow-prod-down pow-sqr
frac-times add-log-exp
pow-unpow
rem-sqrt-square associate-*r/ associate-*l/
pow2 pow-to-exp pow-pow pow-plus sqrt-unprod pow-exp prod-exp rem-square-sqrt *-commutative cbrt-unprod sqr-pow
Counts
4 → 142
Calls
4 calls:
3.0ms
(pow (sin kx) 2.0)
23.0ms
(* (sqrt (sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))) (sqrt (sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))))
11.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)))

series346.0ms

Counts
4 → 12
Calls
4 calls:
111.0ms
(pow (sin kx) 2.0)
73.0ms
(* (sqrt (sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))) (sqrt (sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))))
78.0ms
(sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))
83.0ms
(sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))

simplify56.0ms

Algorithm
egg-herbie
Counts
154 → 154
Iterations

Useful iterations: 2 (40.0ms)

IterNodesCost
03091456
111741355
250011324

prune385.0ms

Filtered
154 candidates to 72 candidates (46.8%)
Pruning

14 alts after pruning (12 fresh and 2 done)

PrunedKeptTotal
New1540154
Fresh01212
Picked011
Done011
Total15414168

Merged error: 2.8b

Counts
168 → 14

localize20.0ms

Local error

Found 4 expressions with local error:

0.3b
(* (sin ky) (/ (sin th) (sqrt (+ (exp (log (pow (sin kx) 2.0))) (pow (sin ky) 2.0)))))
1.6b
(exp (log (pow (sin kx) 2.0)))
4.1b
(sqrt (+ (exp (log (pow (sin kx) 2.0))) (pow (sin ky) 2.0)))
16.1b
(log (pow (sin kx) 2.0))

rewrite39.0ms

Algorithm
rewrite-expression-head
Rules
34×add-sqr-sqrt
33×*-un-lft-identity
27×associate-*r*
25×add-cube-cbrt
23×times-frac
17×sqrt-prod
14×log-prod
11×add-exp-log
add-cbrt-cube
pow1 exp-sum
unpow-prod-down
exp-prod sqrt-div distribute-lft-out add-log-exp
rem-log-exp associate-*l* unswap-sqr
flip3-+ prod-exp associate-/r/ log-pow cbrt-unprod flip-+ sqr-pow
cbrt-undiv pow-to-exp rem-sqrt-square sqrt-pow1 pow1/2 associate-*r/ div-exp pow-prod-down pow-exp *-commutative div-inv rem-exp-log
Counts
4 → 100
Calls
4 calls:
19.0ms
(* (sin ky) (/ (sin th) (sqrt (+ (exp (log (pow (sin kx) 2.0))) (pow (sin ky) 2.0)))))
4.0ms
(exp (log (pow (sin kx) 2.0)))
9.0ms
(sqrt (+ (exp (log (pow (sin kx) 2.0))) (pow (sin ky) 2.0)))
3.0ms
(log (pow (sin kx) 2.0))

series494.0ms

Counts
4 → 12
Calls
4 calls:
148.0ms
(* (sin ky) (/ (sin th) (sqrt (+ (exp (log (pow (sin kx) 2.0))) (pow (sin ky) 2.0)))))
106.0ms
(exp (log (pow (sin kx) 2.0)))
81.0ms
(sqrt (+ (exp (log (pow (sin kx) 2.0))) (pow (sin ky) 2.0)))
158.0ms
(log (pow (sin kx) 2.0))

simplify52.0ms

Algorithm
egg-herbie
Counts
112 → 112
Iterations

Useful iterations: 2 (40.0ms)

IterNodesCost
04221121
116351024
250011022

prune319.0ms

Filtered
112 candidates to 71 candidates (63.4%)
Pruning

14 alts after pruning (11 fresh and 3 done)

PrunedKeptTotal
New1120112
Fresh01111
Picked011
Done022
Total11214126

Merged error: 2.8b

Counts
126 → 14

regimes731.0ms

Accuracy

70.3% (0.4b remaining)

Error of 3.1b against oracle of 2.6b and baseline of 4.2b

bsearch3.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03729
13729

end0.0ms

sample5.8s

Algorithm
intervals
Results
3.8s3820×body1280valid
1.2s1975×body640valid
288.0ms691×body320valid
157.0ms1246×body80valid
80.0ms268×body160valid

Profiling

Loading profile data...