Details

Time bar (total: 8.5s)

analyze615.0ms

Algorithm
search

sample99.0ms

Algorithm
intervals
Results
38.0ms209×body80valid
25.0ms20×body1280valid
13.0ms13×body640valid
6.0ms10×body320valid
2.0msbody160valid

simplify39.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
05216
112316
229416
3108316
4500116

prune6.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 0.8b

Counts
2 → 1

localize23.0ms

Local error

Found 4 expressions with local error:

0.2b
(pow (sin kx) 2.0)
0.2b
(pow (sin ky) 2.0)
2.5b
(* (pow (/ (* 2.0 l) Om) 2.0) (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))
7.8b
(sqrt (+ 1.0 (* (pow (/ (* 2.0 l) Om) 2.0) (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))))

rewrite27.0ms

Algorithm
rewrite-expression-head
Rules
19×add-sqr-sqrt
18×add-exp-log
17×*-un-lft-identity
16×unpow-prod-down
13×add-cube-cbrt
11×associate-*l*
pow1
pow-unpow prod-exp add-cbrt-cube
associate-*r* pow-exp
add-log-exp sqr-pow
pow-to-exp times-frac sqrt-prod unswap-sqr
pow-pow flip3-+ sqrt-div associate-*r/ div-exp flip-+ distribute-lft-out
distribute-rgt-in rem-sqrt-square distribute-lft-in sqrt-pow1 pow1/2 *-commutative cbrt-unprod div-inv
Counts
4 → 86
Calls
4 calls:
3.0ms
(pow (sin kx) 2.0)
3.0ms
(pow (sin ky) 2.0)
14.0ms
(* (pow (/ (* 2.0 l) Om) 2.0) (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))
3.0ms
(sqrt (+ 1.0 (* (pow (/ (* 2.0 l) Om) 2.0) (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))))

series281.0ms

Counts
4 → 12
Calls
4 calls:
18.0ms
(pow (sin kx) 2.0)
19.0ms
(pow (sin ky) 2.0)
110.0ms
(* (pow (/ (* 2.0 l) Om) 2.0) (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))
134.0ms
(sqrt (+ 1.0 (* (pow (/ (* 2.0 l) Om) 2.0) (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))))

simplify63.0ms

Algorithm
egg-herbie
Counts
98 → 98
Iterations

Useful iterations: 1 (13.0ms)

IterNodesCost
0577885
12288858
25001858

prune277.0ms

Filtered
68 candidates to 98 candidates (-44.1%)
Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New95398
Fresh000
Picked101
Done000
Total96399

Merged error: 0.6b

Counts
99 → 3

localize28.0ms

Local error

Found 4 expressions with local error:

1.4b
(* (pow (/ (* 2.0 l) Om) (/ 2.0 2)) (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)))
7.8b
(sqrt (+ 1.0 (* (* (pow (/ (* 2.0 l) Om) (/ 2.0 2)) (sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))) (* (pow (/ (* 2.0 l) Om) (/ 2.0 2)) (sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))))))

rewrite38.0ms

Algorithm
rewrite-expression-head
Rules
25×add-sqr-sqrt
24×*-un-lft-identity
21×sqrt-prod
16×add-exp-log
15×unpow-prod-down
12×add-cube-cbrt
11×associate-*l*
sqrt-div associate-*r*
pow1
prod-exp add-cbrt-cube distribute-lft-out unswap-sqr
flip3-+ flip-+ add-log-exp
rem-sqrt-square sqrt-pow1 times-frac pow1/2 pow-exp sqr-pow
associate-*r/ div-exp
pow-to-exp *-commutative cbrt-unprod div-inv
Counts
4 → 90
Calls
4 calls:
18.0ms
(* (pow (/ (* 2.0 l) Om) (/ 2.0 2)) (sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0))))
7.0ms
(sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))
7.0ms
(sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))
3.0ms
(sqrt (+ 1.0 (* (* (pow (/ (* 2.0 l) Om) (/ 2.0 2)) (sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))) (* (pow (/ (* 2.0 l) Om) (/ 2.0 2)) (sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))))))

series309.0ms

Counts
4 → 12
Calls
4 calls:
136.0ms
(* (pow (/ (* 2.0 l) Om) (/ 2.0 2)) (sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0))))
19.0ms
(sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))
19.0ms
(sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))
135.0ms
(sqrt (+ 1.0 (* (* (pow (/ (* 2.0 l) Om) (/ 2.0 2)) (sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))) (* (pow (/ (* 2.0 l) Om) (/ 2.0 2)) (sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))))))

simplify52.0ms

Algorithm
egg-herbie
Counts
102 → 102
Iterations

Useful iterations: 2 (37.0ms)

IterNodesCost
04601540
114001467
250021465

prune473.0ms

Filtered
69 candidates to 102 candidates (-47.8%)
Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New1020102
Fresh022
Picked011
Done000
Total1023105

Merged error: 0.6b

Counts
105 → 3

localize31.0ms

Local error

Found 4 expressions with local error:

7.4b
(cbrt (sqrt (+ 1.0 (* (pow (/ (* 2.0 l) Om) 2.0) (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0))))))
7.8b
(sqrt (+ 1.0 (* (pow (/ (* 2.0 l) Om) 2.0) (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))))
7.8b
(sqrt (+ 1.0 (* (pow (/ (* 2.0 l) Om) 2.0) (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))))
7.8b
(sqrt (+ 1.0 (* (pow (/ (* 2.0 l) Om) 2.0) (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))))

rewrite12.0ms

Algorithm
rewrite-expression-head
Rules
12×add-sqr-sqrt sqrt-prod
add-cube-cbrt *-un-lft-identity
sqrt-div
pow1
cbrt-prod
add-exp-log flip3-+ add-cbrt-cube flip-+ add-log-exp
rem-sqrt-square sqrt-pow1 pow1/2
cbrt-div
pow1/3
Counts
4 → 61
Calls
4 calls:
3.0ms
(cbrt (sqrt (+ 1.0 (* (pow (/ (* 2.0 l) Om) 2.0) (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0))))))
3.0ms
(sqrt (+ 1.0 (* (pow (/ (* 2.0 l) Om) 2.0) (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))))
3.0ms
(sqrt (+ 1.0 (* (pow (/ (* 2.0 l) Om) 2.0) (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))))
3.0ms
(sqrt (+ 1.0 (* (pow (/ (* 2.0 l) Om) 2.0) (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))))

series523.0ms

Counts
4 → 12
Calls
4 calls:
128.0ms
(cbrt (sqrt (+ 1.0 (* (pow (/ (* 2.0 l) Om) 2.0) (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0))))))
131.0ms
(sqrt (+ 1.0 (* (pow (/ (* 2.0 l) Om) 2.0) (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))))
130.0ms
(sqrt (+ 1.0 (* (pow (/ (* 2.0 l) Om) 2.0) (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))))
134.0ms
(sqrt (+ 1.0 (* (pow (/ (* 2.0 l) Om) 2.0) (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))))

simplify84.0ms

Algorithm
egg-herbie
Counts
73 → 73
Iterations

Useful iterations: 2 (13.0ms)

IterNodesCost
01281119
14031064
221671062
350021062

prune466.0ms

Filtered
57 candidates to 73 candidates (-28.1%)
Pruning

3 alts after pruning (1 fresh and 2 done)

PrunedKeptTotal
New73073
Fresh011
Picked011
Done011
Total73376

Merged error: 0.6b

Counts
76 → 3

localize7.0ms

rewrite0.0ms

Algorithm
rewrite-expression-head
Rules
Counts
0 → 0

series0.0ms

Counts
0 → 0

simplify2.0ms

Algorithm
egg-herbie
Counts
0 → 0
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
000

prune0.0ms

Pruning

3 alts after pruning (0 fresh and 3 done)

PrunedKeptTotal
New000
Fresh000
Picked011
Done022
Total033

Merged error: 0.6b

Counts
3 → 3

regimes1.4s

Accuracy

0% (0.1b remaining)

Error of 0.6b against oracle of 0.5b and baseline of 0.6b

bsearch0.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03230
13230

end0.0ms

analyze602.0ms

Algorithm
search

sample3.0s

Algorithm
intervals
Results
1.3s6266×body80valid
657.0ms542×body1280valid
529.0ms631×body640valid
226.0ms370×body320valid
78.0ms191×body160valid

Profiling

Loading profile data...