Details

Time bar (total: 9.2s)

sample129.0ms

Algorithm
intervals
Results
63.0ms80×body1280valid
28.0ms60×body640valid
14.0ms84×body80valid
8.0ms21×body320valid
3.0ms11×body160valid

simplify50.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
02310
13510
26310
313710
441710
5179810
6500210

prune3.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 12.9b

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.2b
(pow (sin ky) 2.0)
0.3b
(pow (sin kx) 2.0)
3.2b
(sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))

rewrite68.0ms

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

series419.0ms

Counts
4 → 12
Calls
4 calls:
145.0ms
(* (/ (sin ky) (sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))) (sin th))
99.0ms
(pow (sin ky) 2.0)
105.0ms
(pow (sin kx) 2.0)
70.0ms
(sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))

simplify41.0ms

Algorithm
egg-herbie
Counts
113 → 113
Iterations

Useful iterations: 2 (32.0ms)

IterNodesCost
0391990
11382928
25001927

prune395.0ms

Pruning

17 alts after pruning (17 fresh and 0 done)

Merged error: 11.2b

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

rewrite68.0ms

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

series417.0ms

Counts
4 → 12
Calls
4 calls:
145.0ms
(* (/ (sin ky) (sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))) (sin th))
99.0ms
(pow (sin ky) 2.0)
100.0ms
(pow (sin kx) 2.0)
73.0ms
(sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))

simplify41.0ms

Algorithm
egg-herbie
Counts
113 → 113
Iterations

Useful iterations: 2 (31.0ms)

IterNodesCost
0391990
11382928
25001927

prune418.0ms

Pruning

17 alts after pruning (16 fresh and 1 done)

Merged error: 11.2b

localize22.0ms

Local error

Found 4 expressions with local error:

0.4b
(cbrt (/ (sin ky) (sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))))
3.2b
(sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))
3.2b
(sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))
3.2b
(sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))

rewrite61.0ms

Algorithm
rewrite-expression-head
Rules
46×*-un-lft-identity
30×cbrt-prod sqrt-prod
25×add-sqr-sqrt
24×times-frac
22×add-cube-cbrt
12×unpow-prod-down distribute-lft-out
sqrt-div
pow1
add-exp-log flip3-+ add-cbrt-cube flip-+ add-log-exp
rem-sqrt-square sqrt-pow1 pow1/2
associate-/r/
cbrt-div pow1/3 div-inv
Counts
4 → 90
Calls
4 calls:
10.0ms
(cbrt (/ (sin ky) (sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))))
15.0ms
(sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))
15.0ms
(sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))
18.0ms
(sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))

series379.0ms

Counts
4 → 12
Calls
4 calls:
156.0ms
(cbrt (/ (sin ky) (sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))))
75.0ms
(sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))
74.0ms
(sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))
74.0ms
(sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))

simplify100.0ms

Algorithm
egg-herbie
Counts
102 → 102
Iterations

Useful iterations: 3 (83.0ms)

IterNodesCost
02821291
18191231
234751224
350021219

prune482.0ms

Pruning

21 alts after pruning (20 fresh and 1 done)

Merged error: 11.2b

localize31.0ms

Local error

Found 4 expressions with local error:

3.2b
(sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))
3.2b
(sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))
3.2b
(sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))
3.2b
(sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))

rewrite64.0ms

Algorithm
rewrite-expression-head
Rules
24×*-un-lft-identity
20×sqrt-prod
12×add-sqr-sqrt
pow1 add-cube-cbrt unpow-prod-down sqrt-div distribute-lft-out
add-exp-log rem-sqrt-square sqrt-pow1 flip3-+ pow1/2 add-cbrt-cube flip-+ add-log-exp
Counts
4 → 68
Calls
4 calls:
17.0ms
(sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))
15.0ms
(sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))
15.0ms
(sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))
15.0ms
(sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))

series293.0ms

Counts
4 → 12
Calls
4 calls:
76.0ms
(sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))
74.0ms
(sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))
69.0ms
(sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))
74.0ms
(sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))

simplify125.0ms

Algorithm
egg-herbie
Counts
80 → 80
Iterations

Useful iterations: 1 (4.0ms)

IterNodesCost
0118696
1301664
21019664
34120664
45001664

prune387.0ms

Pruning

21 alts after pruning (20 fresh and 1 done)

Merged error: 11.2b

regimes977.0ms

Accuracy

0% (1.3b remaining)

Error of 12.4b against oracle of 11.2b and baseline of 12.4b

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02110
12310
22310

end0.0ms

sample4.2s

Algorithm
intervals
Results
2.2s2714×body1280valid
913.0ms1839×body640valid
458.0ms2389×body80valid
247.0ms700×body320valid
84.0ms358×body160valid