Details

Time bar (total: 9.1s)

sample120.0ms

Algorithm
intervals
Results
69.0ms96×body1280valid
23.0ms59×body640valid
6.0ms75×body80valid
4.0ms15×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

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 12.2b

localize16.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.4b
(sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))

rewrite83.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:
37.0ms
(/ (sin ky) (sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0))))
4.0ms
(pow (sin kx) 2.0)
4.0ms
(pow (sin ky) 2.0)
35.0ms
(sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))

series388.0ms

Counts
4 → 12
Calls
4 calls:
119.0ms
(/ (sin ky) (sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0))))
97.0ms
(pow (sin kx) 2.0)
105.0ms
(pow (sin ky) 2.0)
67.0ms
(sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))

simplify39.0ms

Algorithm
egg-herbie
Counts
129 → 129
Iterations

Useful iterations: 2 (29.0ms)

IterNodesCost
03411065
11159981
25001976

prune466.0ms

Pruning

15 alts after pruning (15 fresh and 0 done)

Merged error: 8.6b

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

rewrite30.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:
0.0ms
(hypot (sin ky) (sin kx))
19.0ms
(* (/ (sin ky) (hypot (sin ky) (sin kx))) (sin th))
9.0ms
(/ (sin ky) (hypot (sin ky) (sin kx)))

series463.0ms

Counts
3 → 9
Calls
3 calls:
106.0ms
(hypot (sin ky) (sin kx))
204.0ms
(* (/ (sin ky) (hypot (sin ky) (sin kx))) (sin th))
153.0ms
(/ (sin ky) (hypot (sin ky) (sin kx)))

simplify139.0ms

Algorithm
egg-herbie
Counts
82 → 82
Iterations

Useful iterations: 2 (27.0ms)

IterNodesCost
0287725
11045645
24962644
35001644

prune296.0ms

Pruning

14 alts after pruning (14 fresh and 0 done)

Merged error: 8.6b

localize12.0ms

Local error

Found 3 expressions with local error:

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

rewrite31.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:
0.0ms
(hypot (sin ky) (sin kx))
20.0ms
(* (sin ky) (/ (sin th) (hypot (sin ky) (sin kx))))
9.0ms
(/ (sin th) (hypot (sin ky) (sin kx)))

series495.0ms

Counts
3 → 9
Calls
3 calls:
108.0ms
(hypot (sin ky) (sin kx))
207.0ms
(* (sin ky) (/ (sin th) (hypot (sin ky) (sin kx))))
180.0ms
(/ (sin th) (hypot (sin ky) (sin kx)))

simplify34.0ms

Algorithm
egg-herbie
Counts
82 → 82
Iterations

Useful iterations: 1 (7.0ms)

IterNodesCost
0258719
11032641
25001641

prune307.0ms

Pruning

19 alts after pruning (18 fresh and 1 done)

Merged error: 8.6b

localize16.0ms

Local error

Found 4 expressions with local error:

0.3b
(* (cbrt (/ (sin ky) (hypot (sin ky) (sin kx)))) (cbrt (/ (sin ky) (hypot (sin ky) (sin kx)))))
0.4b
(cbrt (/ (sin ky) (hypot (sin ky) (sin kx))))
0.4b
(cbrt (/ (sin ky) (hypot (sin ky) (sin kx))))
0.4b
(cbrt (/ (sin ky) (hypot (sin ky) (sin kx))))

rewrite40.0ms

Algorithm
rewrite-expression-head
Rules
103×cbrt-prod
81×add-sqr-sqrt
69×times-frac
57×add-cube-cbrt *-un-lft-identity
16×swap-sqr associate-*r* associate-*l*
11×pow1
pow1/3 unswap-sqr
cbrt-div div-inv
add-exp-log
expm1-log1p-u add-cbrt-cube log1p-expm1-u add-log-exp
pow-prod-down pow-sqr pow-prod-up
pow2 frac-times pow-plus associate-*r/ associate-*l/ prod-exp *-commutative cbrt-unprod
Counts
4 → 152
Calls
4 calls:
26.0ms
(* (cbrt (/ (sin ky) (hypot (sin ky) (sin kx)))) (cbrt (/ (sin ky) (hypot (sin ky) (sin kx)))))
2.0ms
(cbrt (/ (sin ky) (hypot (sin ky) (sin kx))))
2.0ms
(cbrt (/ (sin ky) (hypot (sin ky) (sin kx))))
3.0ms
(cbrt (/ (sin ky) (hypot (sin ky) (sin kx))))

series841.0ms

Counts
4 → 12
Calls
4 calls:
224.0ms
(* (cbrt (/ (sin ky) (hypot (sin ky) (sin kx)))) (cbrt (/ (sin ky) (hypot (sin ky) (sin kx)))))
203.0ms
(cbrt (/ (sin ky) (hypot (sin ky) (sin kx))))
203.0ms
(cbrt (/ (sin ky) (hypot (sin ky) (sin kx))))
211.0ms
(cbrt (/ (sin ky) (hypot (sin ky) (sin kx))))

simplify52.0ms

Algorithm
egg-herbie
Counts
164 → 164
Iterations

Useful iterations: 2 (30.0ms)

IterNodesCost
02912447
19932341
250012212

prune646.0ms

Pruning

26 alts after pruning (25 fresh and 1 done)

Merged error: 8.6b

regimes886.0ms

Accuracy

0% (0.2b remaining)

Error of 8.8b against oracle of 8.7b and baseline of 8.8b

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0107
1107

end0.0ms

sample3.7s

Algorithm
intervals
Results
2.0s2698×body1280valid
774.0ms1845×body640valid
362.0ms751×body320valid
222.0ms2377×body80valid
58.0ms329×body160valid