Details

Time bar (total: 10.1s)

sample125.0ms

Algorithm
intervals
Results
74.0ms96×body1280valid
22.0ms55×body640valid
6.0ms23×body320valid
6.0ms68×body80valid
2.0ms14×body160valid

simplify53.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: 11.4b

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

rewrite72.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:
48.0ms
(* (/ (sin ky) (sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))) (sin th))
1.0ms
(pow (sin ky) 2.0)
1.0ms
(pow (sin kx) 2.0)
17.0ms
(sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))

series448.0ms

Counts
4 → 12
Calls
4 calls:
154.0ms
(* (/ (sin ky) (sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))) (sin th))
106.0ms
(pow (sin ky) 2.0)
107.0ms
(pow (sin kx) 2.0)
80.0ms
(sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))

simplify44.0ms

Algorithm
egg-herbie
Counts
130 → 130
Iterations

Useful iterations: 2 (34.0ms)

IterNodesCost
04031038
11435967
25002965

prune492.0ms

Pruning

15 alts after pruning (15 fresh and 0 done)

Merged error: 8.3b

localize16.0ms

Local error

Found 3 expressions with local error:

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

rewrite18.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 (pow (sin kx) (/ 2.0 2)) (pow (sin ky) (/ 2.0 2)))
7.0ms
(/ (sin ky) (hypot (pow (sin kx) (/ 2.0 2)) (pow (sin ky) (/ 2.0 2))))
9.0ms
(* (/ (sin ky) (hypot (pow (sin kx) (/ 2.0 2)) (pow (sin ky) (/ 2.0 2)))) (sin th))

series988.0ms

Counts
3 → 9
Calls
3 calls:
255.0ms
(hypot (pow (sin kx) (/ 2.0 2)) (pow (sin ky) (/ 2.0 2)))
386.0ms
(/ (sin ky) (hypot (pow (sin kx) (/ 2.0 2)) (pow (sin ky) (/ 2.0 2))))
347.0ms
(* (/ (sin ky) (hypot (pow (sin kx) (/ 2.0 2)) (pow (sin ky) (/ 2.0 2)))) (sin th))

simplify38.0ms

Algorithm
egg-herbie
Counts
82 → 82
Iterations

Useful iterations: 2 (28.0ms)

IterNodesCost
02951114
11091988
25001986

prune375.0ms

Pruning

19 alts after pruning (19 fresh and 0 done)

Merged error: 8.3b

localize16.0ms

Local error

Found 3 expressions with local error:

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

rewrite17.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 (pow (sin kx) (/ 2.0 2)) (pow (sin ky) (/ 2.0 2)))
3.0ms
(/ (sin th) (hypot (pow (sin kx) (/ 2.0 2)) (pow (sin ky) (/ 2.0 2))))
8.0ms
(* (sin ky) (/ (sin th) (hypot (pow (sin kx) (/ 2.0 2)) (pow (sin ky) (/ 2.0 2)))))

series949.0ms

Counts
3 → 9
Calls
3 calls:
253.0ms
(hypot (pow (sin kx) (/ 2.0 2)) (pow (sin ky) (/ 2.0 2)))
328.0ms
(/ (sin th) (hypot (pow (sin kx) (/ 2.0 2)) (pow (sin ky) (/ 2.0 2))))
367.0ms
(* (sin ky) (/ (sin th) (hypot (pow (sin kx) (/ 2.0 2)) (pow (sin ky) (/ 2.0 2)))))

simplify47.0ms

Algorithm
egg-herbie
Counts
82 → 82
Iterations

Useful iterations: 2 (32.0ms)

IterNodesCost
02911109
11164984
25001983

prune357.0ms

Pruning

19 alts after pruning (18 fresh and 1 done)

Merged error: 8.3b

localize22.0ms

Local error

Found 4 expressions with local error:

0.1b
(hypot (pow (sin kx) (/ 2.0 2)) (pow (sin ky) (/ 2.0 2)))
0.2b
(/ 1 (hypot (pow (sin kx) (/ 2.0 2)) (pow (sin ky) (/ 2.0 2))))
0.3b
(* (sin ky) (* (sin th) (/ 1 (hypot (pow (sin kx) (/ 2.0 2)) (pow (sin ky) (/ 2.0 2))))))
0.4b
(* (sin th) (/ 1 (hypot (pow (sin kx) (/ 2.0 2)) (pow (sin ky) (/ 2.0 2)))))

rewrite27.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
14×associate-*r*
13×prod-exp
12×pow1
cbrt-unprod
div-exp associate-*l*
expm1-log1p-u associate-*r/ pow-prod-down log1p-expm1-u add-log-exp
cbrt-undiv rec-exp 1-exp associate-/r* associate-/l* unswap-sqr
un-div-inv *-commutative div-inv
hypot-udef pow-flip frac-2neg clear-num inv-pow
Counts
4 → 107
Calls
4 calls:
0.0ms
(hypot (pow (sin kx) (/ 2.0 2)) (pow (sin ky) (/ 2.0 2)))
2.0ms
(/ 1 (hypot (pow (sin kx) (/ 2.0 2)) (pow (sin ky) (/ 2.0 2))))
13.0ms
(* (sin ky) (* (sin th) (/ 1 (hypot (pow (sin kx) (/ 2.0 2)) (pow (sin ky) (/ 2.0 2))))))
8.0ms
(* (sin th) (/ 1 (hypot (pow (sin kx) (/ 2.0 2)) (pow (sin ky) (/ 2.0 2)))))

series1.2s

Counts
4 → 12
Calls
4 calls:
262.0ms
(hypot (pow (sin kx) (/ 2.0 2)) (pow (sin ky) (/ 2.0 2)))
268.0ms
(/ 1 (hypot (pow (sin kx) (/ 2.0 2)) (pow (sin ky) (/ 2.0 2))))
381.0ms
(* (sin ky) (* (sin th) (/ 1 (hypot (pow (sin kx) (/ 2.0 2)) (pow (sin ky) (/ 2.0 2))))))
330.0ms
(* (sin th) (/ 1 (hypot (pow (sin kx) (/ 2.0 2)) (pow (sin ky) (/ 2.0 2)))))

simplify50.0ms

Algorithm
egg-herbie
Counts
119 → 119
Iterations

Useful iterations: 2 (37.0ms)

IterNodesCost
03831500
116041266
250021238

prune483.0ms

Pruning

20 alts after pruning (18 fresh and 2 done)

Merged error: 8.3b

regimes663.0ms

Accuracy

0% (0.2b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01511
11511

end0.0ms

sample3.5s

Algorithm
intervals
Results
2.1s2782×body1280valid
754.0ms1765×body640valid
215.0ms2351×body80valid
206.0ms734×body320valid
71.0ms368×body160valid