Details

Time bar (total: 8.0s)

sample153.0ms

Algorithm
intervals
Results
92.0ms120×body1280valid
29.0ms62×body640valid
12.0ms26×body320valid
4.0ms38×body80valid
2.0ms10×body160valid

simplify50.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 (0.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)))) (sin th))
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)))

rewrite22.0ms

Algorithm
rewrite-expression-head
Rules
sqrt-div sqr-pow
associate-*l* associate-*l/
pow-to-exp flip3-+ associate-/r/ flip-+
frac-2neg pow1/2 clear-num *-commutative hypot-def div-inv
Counts
4 → 15
Calls
4 calls:
6.0ms
(* (/ (sin ky) (sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))) (sin th))
2.0ms
(pow (sin kx) 2.0)
2.0ms
(pow (sin ky) 2.0)
12.0ms
(sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))

series433.0ms

Counts
4 → 12
Calls
4 calls:
150.0ms
(* (/ (sin ky) (sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))) (sin th))
101.0ms
(pow (sin kx) 2.0)
107.0ms
(pow (sin ky) 2.0)
74.0ms
(sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))

simplify71.0ms

Algorithm
egg-herbie
Counts
27 → 27
Iterations

Useful iterations: 2 (17.0ms)

IterNodesCost
0178169
1604160
22428159
35001159

prune107.0ms

Filtered
27 candidates to 21 candidates (77.8%)
Pruning

6 alts after pruning (6 fresh and 0 done)

PrunedKeptTotal
New21627
Fresh000
Picked101
Done000
Total22628

Merged error: 0.0b

Counts
28 → 6

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

rewrite8.0ms

Algorithm
rewrite-expression-head
Rules
associate-*l/
frac-2neg clear-num div-inv
hypot-udef associate-*l* *-commutative
Counts
3 → 9
Calls
3 calls:
1.0ms
(hypot (sin ky) (sin kx))
3.0ms
(/ (sin ky) (hypot (sin ky) (sin kx)))
4.0ms
(* (/ (sin ky) (hypot (sin ky) (sin kx))) (sin th))

series488.0ms

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

simplify147.0ms

Algorithm
egg-herbie
Counts
18 → 18
Iterations

Useful iterations: 3 (39.0ms)

IterNodesCost
0116105
135697
2131797
3495396
4500196

prune62.0ms

Filtered
18 candidates to 13 candidates (72.2%)
Pruning

6 alts after pruning (6 fresh and 0 done)

PrunedKeptTotal
New15318
Fresh235
Picked101
Done000
Total18624

Merged error: 0.0b

Counts
24 → 6

localize15.0ms

Local error

Found 3 expressions with local error:

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

rewrite7.0ms

Algorithm
rewrite-expression-head
Rules
frac-2neg clear-num associate-/r/ div-inv
hypot-udef associate-/r*
Counts
3 → 11
Calls
3 calls:
1.0ms
(hypot (sin ky) (sin kx))
2.0ms
(/ (hypot (sin ky) (sin kx)) (sin ky))
4.0ms
(/ (sin th) (/ (hypot (sin ky) (sin kx)) (sin ky)))

series486.0ms

Counts
3 → 9
Calls
3 calls:
112.0ms
(hypot (sin ky) (sin kx))
140.0ms
(/ (hypot (sin ky) (sin kx)) (sin ky))
233.0ms
(/ (sin th) (/ (hypot (sin ky) (sin kx)) (sin ky)))

simplify35.0ms

Algorithm
egg-herbie
Counts
20 → 20
Iterations

Useful iterations: 2 (9.0ms)

IterNodesCost
0110126
1292111
21043109
35001109

prune63.0ms

Filtered
20 candidates to 13 candidates (65.0%)
Pruning

7 alts after pruning (6 fresh and 1 done)

PrunedKeptTotal
New19120
Fresh055
Picked011
Done000
Total19726

Merged error: 0.0b

Counts
26 → 7

localize13.0ms

Local error

Found 4 expressions with local error:

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

rewrite12.0ms

Algorithm
rewrite-expression-head
Rules
associate-*r/
associate-*l/ clear-num
un-div-inv
frac-2neg associate-*l* *-commutative div-inv
associate-*r*
hypot-udef inv-pow
Counts
4 → 21
Calls
4 calls:
1.0ms
(hypot (sin ky) (sin kx))
2.0ms
(/ 1 (hypot (sin ky) (sin kx)))
5.0ms
(* (* (sin ky) (/ 1 (hypot (sin ky) (sin kx)))) (sin th))
3.0ms
(* (sin ky) (/ 1 (hypot (sin ky) (sin kx))))

series659.0ms

Counts
4 → 12
Calls
4 calls:
119.0ms
(hypot (sin ky) (sin kx))
139.0ms
(/ 1 (hypot (sin ky) (sin kx)))
236.0ms
(* (* (sin ky) (/ 1 (hypot (sin ky) (sin kx)))) (sin th))
165.0ms
(* (sin ky) (/ 1 (hypot (sin ky) (sin kx))))

simplify48.0ms

Algorithm
egg-herbie
Counts
33 → 33
Iterations

Useful iterations: 3 (45.0ms)

IterNodesCost
0139147
1445136
21602135
35001134

prune70.0ms

Filtered
33 candidates to 21 candidates (63.6%)
Pruning

7 alts after pruning (5 fresh and 2 done)

PrunedKeptTotal
New32133
Fresh145
Picked011
Done011
Total33740

Merged error: 0.0b

Counts
40 → 7

regimes279.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
097

end0.0ms

sample4.7s

Algorithm
intervals
Results
3.1s3781×body1280valid
977.0ms2014×body640valid
237.0ms686×body320valid
138.0ms1252×body80valid
56.0ms267×body160valid