Details

Time bar (total: 8.8s)

sample158.0ms

Algorithm
intervals
Results
93.0ms115×body1280valid
39.0ms68×body640valid
6.0ms20×body320valid
5.0ms49×body80valid
1.0msbody160valid

simplify54.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
02310
13910
26710
315310
443910
5181710
6500110

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: 3.2b

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

rewrite27.0ms

Algorithm
rewrite-expression-head
Rules
46×*-un-lft-identity
39×add-sqr-sqrt
26×add-cube-cbrt
25×sqrt-prod
24×times-frac
22×unpow-prod-down
10×distribute-lft-out
hypot-def
add-exp-log associate-/r* sqr-pow
pow1
pow-unpow add-cbrt-cube
expm1-log1p-u sqrt-div log1p-expm1-u add-log-exp
associate-/l*
pow-to-exp pow-pow flip3-+ pow-exp associate-/r/ flip-+
cbrt-undiv rem-sqrt-square frac-2neg sqrt-pow1 pow1/2 div-exp clear-num div-inv
Counts
4 → 117
Calls
4 calls:
11.0ms
(/ (sin ky) (sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0))))
2.0ms
(pow (sin kx) 2.0)
2.0ms
(pow (sin ky) 2.0)
8.0ms
(sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))

series439.0ms

Counts
4 → 12
Calls
4 calls:
135.0ms
(/ (sin ky) (sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0))))
106.0ms
(pow (sin kx) 2.0)
116.0ms
(pow (sin ky) 2.0)
82.0ms
(sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))

simplify44.0ms

Algorithm
egg-herbie
Counts
129 → 129
Iterations

Useful iterations: 2 (32.0ms)

IterNodesCost
03401065
11147981
25002976

prune341.0ms

Filtered
129 candidates to 87 candidates (32.6%)
Pruning

8 alts after pruning (8 fresh and 0 done)

PrunedKeptTotal
New1218129
Fresh000
Picked101
Done000
Total1228130

Merged error: 0.1b

Counts
130 → 8

localize11.0ms

Local error

Found 3 expressions with local error:

0.1b
(hypot (sin ky) (sin kx))
0.2b
(* (/ (sin ky) (hypot (sin ky) (sin kx))) (sin th))
0.2b
(/ (sin ky) (hypot (sin ky) (sin kx)))

rewrite15.0ms

Algorithm
rewrite-expression-head
Rules
26×add-sqr-sqrt
21×add-cube-cbrt *-un-lft-identity
19×times-frac
13×associate-*l*
10×add-exp-log add-cbrt-cube
associate-*l/
associate-/r* associate-/l*
pow1
expm1-log1p-u associate-*r* log1p-expm1-u add-log-exp
cbrt-undiv frac-2neg div-exp prod-exp clear-num cbrt-unprod div-inv unswap-sqr
hypot-udef pow-prod-down *-commutative
Counts
3 → 81
Calls
3 calls:
1.0ms
(hypot (sin ky) (sin kx))
8.0ms
(* (/ (sin ky) (hypot (sin ky) (sin kx))) (sin th))
4.0ms
(/ (sin ky) (hypot (sin ky) (sin kx)))

series524.0ms

Counts
3 → 9
Calls
3 calls:
119.0ms
(hypot (sin ky) (sin kx))
233.0ms
(* (/ (sin ky) (hypot (sin ky) (sin kx))) (sin th))
172.0ms
(/ (sin ky) (hypot (sin ky) (sin kx)))

simplify41.0ms

Algorithm
egg-herbie
Counts
90 → 90
Iterations

Useful iterations: 1 (8.0ms)

IterNodesCost
0299765
11286685
25001685

prune217.0ms

Filtered
90 candidates to 71 candidates (21.1%)
Pruning

8 alts after pruning (8 fresh and 0 done)

PrunedKeptTotal
New82890
Fresh707
Picked101
Done000
Total90898

Merged error: 0.0b

Counts
98 → 8

localize11.0ms

Local error

Found 3 expressions with local error:

0.1b
(hypot (sin ky) (sin kx))
0.2b
(/ (hypot (sin ky) (sin kx)) (sin ky))
0.2b
(/ (sin th) (/ (hypot (sin ky) (sin kx)) (sin ky)))

rewrite16.0ms

Algorithm
rewrite-expression-head
Rules
84×times-frac
55×add-sqr-sqrt add-cube-cbrt *-un-lft-identity
19×associate-/r*
10×add-exp-log add-cbrt-cube
associate-/r/ associate-/l*
div-inv
cbrt-undiv div-exp
pow1 expm1-log1p-u frac-2neg clear-num log1p-expm1-u add-log-exp
hypot-udef
Counts
3 → 119
Calls
3 calls:
1.0ms
(hypot (sin ky) (sin kx))
3.0ms
(/ (hypot (sin ky) (sin kx)) (sin ky))
7.0ms
(/ (sin th) (/ (hypot (sin ky) (sin kx)) (sin ky)))

series521.0ms

Counts
3 → 9
Calls
3 calls:
124.0ms
(hypot (sin ky) (sin kx))
144.0ms
(/ (hypot (sin ky) (sin kx)) (sin ky))
253.0ms
(/ (sin th) (/ (hypot (sin ky) (sin kx)) (sin ky)))

simplify57.0ms

Algorithm
egg-herbie
Counts
128 → 128
Iterations

Useful iterations: 2 (44.0ms)

IterNodesCost
04311463
117531371
250011369

prune310.0ms

Filtered
128 candidates to 103 candidates (19.5%)
Pruning

9 alts after pruning (8 fresh and 1 done)

PrunedKeptTotal
New1244128
Fresh347
Picked011
Done000
Total1279136

Merged error: 0b

Counts
136 → 9

localize12.0ms

Local error

Found 3 expressions with local error:

0.1b
(hypot (sin ky) (sin kx))
0.2b
(* (sin th) (/ (sin ky) (hypot (sin ky) (sin kx))))
0.2b
(/ (sin ky) (hypot (sin ky) (sin kx)))

rewrite16.0ms

Algorithm
rewrite-expression-head
Rules
26×add-sqr-sqrt
22×*-un-lft-identity
21×add-cube-cbrt
19×times-frac
13×associate-*r*
10×add-exp-log add-cbrt-cube
associate-*r/
associate-/l*
associate-/r*
pow1
expm1-log1p-u associate-*l* clear-num log1p-expm1-u add-log-exp
cbrt-undiv frac-2neg div-exp prod-exp un-div-inv cbrt-unprod div-inv unswap-sqr
hypot-udef pow-prod-down *-commutative
Counts
3 → 83
Calls
3 calls:
1.0ms
(hypot (sin ky) (sin kx))
8.0ms
(* (sin th) (/ (sin ky) (hypot (sin ky) (sin kx))))
4.0ms
(/ (sin ky) (hypot (sin ky) (sin kx)))

series700.0ms

Counts
3 → 9
Calls
3 calls:
267.0ms
(hypot (sin ky) (sin kx))
258.0ms
(* (sin th) (/ (sin ky) (hypot (sin ky) (sin kx))))
175.0ms
(/ (sin ky) (hypot (sin ky) (sin kx)))

simplify42.0ms

Algorithm
egg-herbie
Counts
92 → 92
Iterations

Useful iterations: 1 (9.0ms)

IterNodesCost
0298769
11227689
25001689

prune191.0ms

Filtered
92 candidates to 70 candidates (23.9%)
Pruning

9 alts after pruning (7 fresh and 2 done)

PrunedKeptTotal
New90292
Fresh257
Picked011
Done011
Total929101

Merged error: 0b

Counts
101 → 9

regimes246.0ms

Accuracy

0% (0.2b remaining)

Error of 0.2b against oracle of 0.0b and baseline of 0.2b

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0107
1107

end0.0ms

sample4.7s

Algorithm
intervals
Results
3.1s3676×body1280valid
1.0s2074×body640valid
245.0ms741×body320valid
120.0ms1237×body80valid
57.0ms272×body160valid