Details

Time bar (total: 9.5s)

sample184.0ms

Algorithm
intervals
Results
118.0ms122×body1280valid
35.0ms62×body640valid
5.0ms42×body80valid
5.0ms13×body320valid
4.0ms17×body160valid

simplify54.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
02310
13910
26710
315310
443910
5183010
6500110

prune3.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: 2.0b

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.3b
(pow (sin ky) 2.0)
0.3b
(pow (sin kx) 2.0)
1.8b
(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:
16.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)
8.0ms
(sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))

series444.0ms

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

prune446.0ms

Filtered
130 candidates to 95 candidates (73.1%)
Pruning

9 alts after pruning (9 fresh and 0 done)

PrunedKeptTotal
New1219130
Fresh000
Picked101
Done000
Total1229131

Merged error: 0b

Counts
131 → 9

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

series505.0ms

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

simplify142.0ms

Algorithm
egg-herbie
Counts
82 → 82
Iterations

Useful iterations: 2 (29.0ms)

IterNodesCost
0287725
11045645
24965644
35001644

prune244.0ms

Filtered
82 candidates to 66 candidates (80.5%)
Pruning

9 alts after pruning (8 fresh and 1 done)

PrunedKeptTotal
New77582
Fresh538
Picked011
Done000
Total82991

Merged error: 0b

Counts
91 → 9

localize11.0ms

Local error

Found 3 expressions with local error:

0.1b
(hypot (sin ky) (sin kx))
0.2b
(/ (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))))

series532.0ms

Counts
3 → 9
Calls
3 calls:
116.0ms
(hypot (sin ky) (sin kx))
196.0ms
(/ (sin th) (hypot (sin ky) (sin kx)))
220.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

prune224.0ms

Filtered
82 candidates to 65 candidates (79.3%)
Pruning

7 alts after pruning (6 fresh and 1 done)

PrunedKeptTotal
New81182
Fresh257
Picked011
Done101
Total84791

Merged error: 0b

Counts
91 → 7

localize13.0ms

Local error

Found 4 expressions with local error:

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

rewrite23.0ms

Algorithm
rewrite-expression-head
Rules
32×add-exp-log
28×add-sqr-sqrt
22×*-un-lft-identity
21×add-cube-cbrt
20×times-frac add-cbrt-cube
16×associate-*r*
13×prod-exp
12×pow1
cbrt-unprod
div-exp
expm1-log1p-u associate-*l* pow-prod-down log1p-expm1-u add-log-exp
cbrt-undiv rec-exp 1-exp associate-/r* associate-/l* unswap-sqr
associate-*r/ associate-*l/ un-div-inv *-commutative div-inv
hypot-udef pow-flip frac-2neg clear-num inv-pow
Counts
4 → 107
Calls
4 calls:
1.0ms
(hypot (sin ky) (sin kx))
9.0ms
(* (* (sin ky) (/ 1 (hypot (sin ky) (sin kx)))) (sin th))
3.0ms
(/ 1 (hypot (sin ky) (sin kx)))
8.0ms
(* (sin ky) (/ 1 (hypot (sin ky) (sin kx))))

series664.0ms

Counts
4 → 12
Calls
4 calls:
118.0ms
(hypot (sin ky) (sin kx))
231.0ms
(* (* (sin ky) (/ 1 (hypot (sin ky) (sin kx)))) (sin th))
143.0ms
(/ 1 (hypot (sin ky) (sin kx)))
173.0ms
(* (sin ky) (/ 1 (hypot (sin ky) (sin kx))))

simplify52.0ms

Algorithm
egg-herbie
Counts
119 → 119
Iterations

Useful iterations: 2 (42.0ms)

IterNodesCost
0389971
11695810
25001779

prune237.0ms

Filtered
119 candidates to 75 candidates (63.0%)
Pruning

7 alts after pruning (5 fresh and 2 done)

PrunedKeptTotal
New1190119
Fresh055
Picked011
Done011
Total1197126

Merged error: 0b

Counts
126 → 7

regimes335.0ms

Accuracy

0% (0.2b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0107
1107

end0.0ms

sample5.2s

Algorithm
intervals
Results
3.3s3713×body1280valid
1.1s2021×body640valid
415.0ms719×body320valid
145.0ms1260×body80valid
74.0ms287×body160valid