Details

Time bar (total: 9.1s)

sample190.0ms

Algorithm
intervals
Results
118.0ms121×body1280valid
33.0ms56×body640valid
10.0ms43×body80valid
9.0ms22×body320valid
4.0ms14×body160valid

simplify50.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
02310
13510
26310
313710
441710
5179810
6500210

prune5.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 6.1b

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

rewrite45.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))))
19.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)))

series123.0ms

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

simplify49.0ms

Algorithm
egg-herbie
Counts
145 → 145
Iterations

Useful iterations: 2 (35.0ms)

IterNodesCost
04181631
115081502
250011491

prune323.0ms

Filtered
95 candidates to 145 candidates (-52.6%)
Pruning

11 alts after pruning (11 fresh and 0 done)

PrunedKeptTotal
New13411145
Fresh000
Picked101
Done000
Total13511146

Merged error: 4.1b

Counts
146 → 11

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

rewrite42.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:
17.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)))

series126.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)
44.0ms
(/ (sin th) (sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0))))
19.0ms
(sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))

simplify58.0ms

Algorithm
egg-herbie
Counts
145 → 145
Iterations

Useful iterations: 2 (42.0ms)

IterNodesCost
04301588
117551442
250011432

prune260.0ms

Filtered
86 candidates to 145 candidates (-68.6%)
Pruning

11 alts after pruning (10 fresh and 1 done)

PrunedKeptTotal
New1450145
Fresh01010
Picked011
Done000
Total14511156

Merged error: 4.1b

Counts
156 → 11

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

rewrite50.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:
16.0ms
(* (* (sin ky) (/ 1 (sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0))))) (sin th))
3.0ms
(pow (sin kx) 2.0)
20.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)))

series120.0ms

Counts
4 → 12
Calls
4 calls:
45.0ms
(* (* (sin ky) (/ 1 (sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0))))) (sin th))
18.0ms
(pow (sin kx) 2.0)
37.0ms
(* (sin ky) (/ 1 (sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))))
19.0ms
(sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))

simplify62.0ms

Algorithm
egg-herbie
Counts
125 → 125
Iterations

Useful iterations: 2 (51.0ms)

IterNodesCost
05071234
124571064
250011023

prune213.0ms

Filtered
69 candidates to 125 candidates (-81.2%)
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))))

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

series88.0ms

Counts
4 → 12
Calls
4 calls:
20.0ms
(/ 1 (+ (pow (sin kx) 2) (pow (sin ky) 2)))
7.0ms
(pow (sin kx) 2)
33.0ms
(* (sqrt (/ 1 (+ (pow (sin kx) 2) (pow (sin ky) 2)))) (sin ky))
28.0ms
(sqrt (/ 1 (+ (pow (sin kx) 2) (pow (sin ky) 2))))

simplify47.0ms

Algorithm
egg-herbie
Counts
150 → 150
Iterations

Useful iterations: 2 (34.0ms)

IterNodesCost
03841400
113501277
250021219

prune200.0ms

Filtered
81 candidates to 150 candidates (-85.2%)
Pruning

11 alts after pruning (8 fresh and 3 done)

PrunedKeptTotal
New1482150
Fresh268
Picked011
Done022
Total15011161

Merged error: 4.1b

Counts
161 → 11

regimes1.1s

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

sample5.8s

Algorithm
intervals
Results
3.7s3728×body1280valid
1.2s2022×body640valid
293.0ms703×body320valid
142.0ms1273×body80valid
68.0ms274×body160valid

Profiling

Loading profile data...