Details

Time bar (total: 9.3s)

sample156.0ms

Algorithm
intervals
Results
100.0ms123×body1280valid
29.0ms58×body640valid
6.0ms48×body80valid
5.0ms16×body320valid
2.0ms11×body160valid

simplify52.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
02310
13910
26710
315310
443910
5183010
6500110

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.8b

Counts
2 → 1

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

rewrite28.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))))
3.0ms
(pow (sin kx) 2.0)
3.0ms
(pow (sin ky) 2.0)
8.0ms
(sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))

series418.0ms

Counts
4 → 12
Calls
4 calls:
132.0ms
(/ (sin ky) (sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0))))
105.0ms
(pow (sin kx) 2.0)
102.0ms
(pow (sin ky) 2.0)
78.0ms
(sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))

simplify42.0ms

Algorithm
egg-herbie
Counts
129 → 129
Iterations

Useful iterations: 2 (30.0ms)

IterNodesCost
03411065
11159981
25001976

prune401.0ms

Filtered
129 candidates to 87 candidates (67.4%)
Pruning

9 alts after pruning (9 fresh and 0 done)

PrunedKeptTotal
New1209129
Fresh000
Picked101
Done000
Total1219130

Merged error: 0.1b

Counts
130 → 9

localize12.0ms

Local error

Found 3 expressions with local error:

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

rewrite19.0ms

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

series499.0ms

Counts
3 → 9
Calls
3 calls:
113.0ms
(hypot (sin ky) (sin kx))
226.0ms
(* (/ (sin ky) (hypot (sin ky) (sin kx))) (sin th))
160.0ms
(/ (sin ky) (hypot (sin ky) (sin kx)))

simplify140.0ms

Algorithm
egg-herbie
Counts
82 → 82
Iterations

Useful iterations: 2 (28.0ms)

IterNodesCost
0287725
11045645
24962644
35001644

prune263.0ms

Filtered
82 candidates to 65 candidates (79.3%)
Pruning

10 alts after pruning (10 fresh and 0 done)

PrunedKeptTotal
New74882
Fresh628
Picked101
Done000
Total811091

Merged error: 0b

Counts
91 → 10

localize20.0ms

Local error

Found 4 expressions with local error:

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

rewrite11.0ms

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

series711.0ms

Counts
4 → 12
Calls
4 calls:
116.0ms
(hypot (sin ky) (sin kx))
210.0ms
(* (expm1 (log1p (/ (sin ky) (hypot (sin ky) (sin kx))))) (sin th))
167.0ms
(/ (sin ky) (hypot (sin ky) (sin kx)))
217.0ms
(log1p (/ (sin ky) (hypot (sin ky) (sin kx))))

simplify129.0ms

Algorithm
egg-herbie
Counts
82 → 82
Iterations

Useful iterations: 3 (115.0ms)

IterNodesCost
0269738
1880648
24089647
35002645

prune262.0ms

Filtered
82 candidates to 67 candidates (81.7%)
Pruning

10 alts after pruning (9 fresh and 1 done)

PrunedKeptTotal
New82082
Fresh099
Picked011
Done000
Total821092

Merged error: 0b

Counts
92 → 10

localize17.0ms

Local error

Found 3 expressions with local error:

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

rewrite14.0ms

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

series528.0ms

Counts
3 → 9
Calls
3 calls:
115.0ms
(hypot (sin ky) (sin kx))
216.0ms
(* (sin ky) (/ (sin th) (hypot (sin ky) (sin kx))))
197.0ms
(/ (sin th) (hypot (sin ky) (sin kx)))

simplify42.0ms

Algorithm
egg-herbie
Counts
82 → 82
Iterations

Useful iterations: 1 (8.0ms)

IterNodesCost
0258719
11032641
25001641

prune193.0ms

Filtered
82 candidates to 65 candidates (79.3%)
Pruning

8 alts after pruning (8 fresh and 0 done)

PrunedKeptTotal
New80282
Fresh268
Picked101
Done101
Total84892

Merged error: 0b

Counts
92 → 8

regimes231.0ms

Accuracy

0% (0.3b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0148
1148

end0.0ms

sample5.1s

Algorithm
intervals
Results
3.2s3727×body1280valid
1.2s2003×body640valid
233.0ms684×body320valid
140.0ms1280×body80valid
67.0ms306×body160valid