Details

Time bar (total: 10.3s)

sample191.0ms

Algorithm
intervals
Results
121.0ms118×body1280valid
41.0ms67×body640valid
9.0ms21×body320valid
5.0ms40×body80valid
3.0ms10×body160valid

simplify51.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: 5.0b

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)))) (sin th))
0.3b
(pow (sin kx) 2.0)
0.3b
(pow (sin ky) 2.0)
4.6b
(sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))

rewrite33.0ms

Algorithm
rewrite-expression-head
Rules
46×add-sqr-sqrt
41×*-un-lft-identity
30×associate-*l*
26×times-frac
25×add-cube-cbrt
21×sqrt-prod
20×unpow-prod-down
11×add-exp-log
pow1 add-cbrt-cube hypot-def
distribute-lft-out sqr-pow
pow-unpow
expm1-log1p-u sqrt-div log1p-expm1-u add-log-exp
associate-*r* unswap-sqr
pow-to-exp pow-pow flip3-+ pow-exp prod-exp associate-/r/ cbrt-unprod flip-+
cbrt-undiv rem-sqrt-square sqrt-pow1 pow1/2 div-exp pow-prod-down associate-*l/ *-commutative div-inv
Counts
4 → 118
Calls
4 calls:
15.0ms
(* (/ (sin ky) (sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))) (sin th))
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)))

series423.0ms

Counts
4 → 12
Calls
4 calls:
146.0ms
(* (/ (sin ky) (sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))) (sin th))
99.0ms
(pow (sin kx) 2.0)
102.0ms
(pow (sin ky) 2.0)
75.0ms
(sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))

simplify45.0ms

Algorithm
egg-herbie
Counts
130 → 130
Iterations

Useful iterations: 2 (34.0ms)

IterNodesCost
04031038
11435967
25002965

prune442.0ms

Filtered
130 candidates to 95 candidates (73.1%)
Pruning

10 alts after pruning (10 fresh and 0 done)

PrunedKeptTotal
New12010130
Fresh000
Picked101
Done000
Total12110131

Merged error: 0.0b

Counts
131 → 10

localize12.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)))
0.2b
(* (/ (sin ky) (hypot (sin ky) (sin kx))) (sin th))

rewrite13.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))
4.0ms
(/ (sin ky) (hypot (sin ky) (sin kx)))
7.0ms
(* (/ (sin ky) (hypot (sin ky) (sin kx))) (sin th))

series494.0ms

Counts
3 → 9
Calls
3 calls:
114.0ms
(hypot (sin ky) (sin kx))
159.0ms
(/ (sin ky) (hypot (sin ky) (sin kx)))
221.0ms
(* (/ (sin ky) (hypot (sin ky) (sin kx))) (sin th))

simplify138.0ms

Algorithm
egg-herbie
Counts
82 → 82
Iterations

Useful iterations: 2 (28.0ms)

IterNodesCost
0287725
11045645
24965644
35001644

prune242.0ms

Filtered
82 candidates to 65 candidates (79.3%)
Pruning

9 alts after pruning (9 fresh and 0 done)

PrunedKeptTotal
New76682
Fresh639
Picked101
Done000
Total83992

Merged error: 0b

Counts
92 → 9

localize15.0ms

Local error

Found 4 expressions with local error:

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

rewrite10.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 expm1-log1p frac-2neg log1p-expm1 div-exp pow-prod-down prod-exp clear-num *-commutative cbrt-unprod div-inv expm1-udef unswap-sqr
Counts
4 → 71
Calls
4 calls:
1.0ms
(expm1 (log1p (/ (sin ky) (hypot (sin ky) (sin kx)))))
4.0ms
(/ (sin ky) (hypot (sin ky) (sin kx)))
4.0ms
(* (expm1 (log1p (/ (sin ky) (hypot (sin ky) (sin kx))))) (sin th))
1.0ms
(log1p (/ (sin ky) (hypot (sin ky) (sin kx))))

series778.0ms

Counts
4 → 12
Calls
4 calls:
195.0ms
(expm1 (log1p (/ (sin ky) (hypot (sin ky) (sin kx)))))
163.0ms
(/ (sin ky) (hypot (sin ky) (sin kx)))
205.0ms
(* (expm1 (log1p (/ (sin ky) (hypot (sin ky) (sin kx))))) (sin th))
214.0ms
(log1p (/ (sin ky) (hypot (sin ky) (sin kx))))

simplify120.0ms

Algorithm
egg-herbie
Counts
83 → 83
Iterations

Useful iterations: 3 (111.0ms)

IterNodesCost
0248767
1818670
23832669
35002667

prune242.0ms

Filtered
83 candidates to 65 candidates (78.3%)
Pruning

9 alts after pruning (8 fresh and 1 done)

PrunedKeptTotal
New83083
Fresh088
Picked011
Done000
Total83992

Merged error: 0b

Counts
92 → 9

localize12.0ms

Local error

Found 3 expressions with local error:

0.1b
(hypot (sin ky) (sin kx))
0.3b
(/ (sin th) (hypot (sin ky) (sin kx)))
0.3b
(* (sin ky) (/ (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))
4.0ms
(/ (sin th) (hypot (sin ky) (sin kx)))
7.0ms
(* (sin ky) (/ (sin th) (hypot (sin ky) (sin kx))))

series525.0ms

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

simplify37.0ms

Algorithm
egg-herbie
Counts
82 → 82
Iterations

Useful iterations: 1 (8.0ms)

IterNodesCost
0258719
11032641
25002641

prune199.0ms

Filtered
82 candidates to 64 candidates (78.0%)
Pruning

8 alts after pruning (6 fresh and 2 done)

PrunedKeptTotal
New81182
Fresh257
Picked011
Done011
Total83891

Merged error: 0b

Counts
91 → 8

regimes311.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
0129
1129

end0.0ms

sample5.9s

Algorithm
intervals
Results
3.8s3765×body1280valid
1.3s1998×body640valid
309.0ms697×body320valid
152.0ms1272×body80valid
71.0ms268×body160valid