Details

Time bar (total: 6.5s)

sample45.0ms

Algorithm
intervals
Results
25.0ms256×body80valid

simplify43.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
05216
113116
234216
3120216
4500216

prune5.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 1.3b

localize23.0ms

Local error

Found 4 expressions with local error:

0.2b
(pow (sin kx) 2.0)
0.3b
(pow (/ (* 2.0 l) Om) 2.0)
2.2b
(* (pow (/ (* 2.0 l) Om) 2.0) (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))
8.0b
(sqrt (+ 1.0 (* (pow (/ (* 2.0 l) Om) 2.0) (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))))

rewrite57.0ms

Algorithm
rewrite-expression-head
Rules
23×add-exp-log
20×add-sqr-sqrt unpow-prod-down
18×*-un-lft-identity
14×add-cube-cbrt
11×associate-*l*
pow1 pow-exp prod-exp
pow-unpow times-frac add-cbrt-cube
associate-*r*
expm1-log1p-u div-exp log1p-expm1-u add-log-exp sqr-pow
pow-to-exp sqrt-prod unswap-sqr
pow-pow flip3-+ sqrt-div associate-*r/ flip-+ div-inv distribute-lft-out
distribute-rgt-in rem-sqrt-square distribute-lft-in sqrt-pow1 pow1/2 *-commutative cbrt-unprod
Counts
4 → 100
Calls
4 calls:
1.0ms
(pow (sin kx) 2.0)
4.0ms
(pow (/ (* 2.0 l) Om) 2.0)
46.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)))))

series857.0ms

Counts
4 → 12
Calls
4 calls:
104.0ms
(pow (sin kx) 2.0)
83.0ms
(pow (/ (* 2.0 l) Om) 2.0)
362.0ms
(* (pow (/ (* 2.0 l) Om) 2.0) (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))
308.0ms
(sqrt (+ 1.0 (* (pow (/ (* 2.0 l) Om) 2.0) (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))))

simplify60.0ms

Algorithm
egg-herbie
Counts
112 → 112
Iterations

Useful iterations: 1 (12.0ms)

IterNodesCost
0514958
12067914
25002914

prune466.0ms

Pruning

3 alts after pruning (3 fresh and 0 done)

Merged error: 1.1b

localize25.0ms

Local error

Found 4 expressions with local error:

1.9b
(* (pow (/ (* 2.0 l) Om) (/ 2.0 2)) (sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0))))
4.2b
(sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))
4.2b
(sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))
8.0b
(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)))))))

rewrite89.0ms

Algorithm
rewrite-expression-head
Rules
50×add-sqr-sqrt
27×unpow-prod-down
24×*-un-lft-identity
21×sqrt-prod
19×hypot-def
16×add-exp-log
15×sqr-pow
12×add-cube-cbrt
11×associate-*l*
sqrt-div associate-*r*
pow1
prod-exp add-cbrt-cube distribute-lft-out unswap-sqr
expm1-log1p-u flip3-+ flip-+ log1p-expm1-u add-log-exp
rem-sqrt-square sqrt-pow1 times-frac pow1/2 pow-exp
associate-*r/ div-exp
pow-to-exp *-commutative cbrt-unprod div-inv
Counts
4 → 117
Calls
4 calls:
45.0ms
(* (pow (/ (* 2.0 l) Om) (/ 2.0 2)) (sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0))))
17.0ms
(sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))
20.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)))))))

series925.0ms

Counts
4 → 12
Calls
4 calls:
465.0ms
(* (pow (/ (* 2.0 l) Om) (/ 2.0 2)) (sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0))))
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)))
310.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)))))))

simplify49.0ms

Algorithm
egg-herbie
Counts
129 → 129
Iterations

Useful iterations: 2 (35.0ms)

IterNodesCost
03781610
112321509
250011507

prune656.0ms

Pruning

3 alts after pruning (2 fresh and 1 done)

Merged error: 1.1b

localize28.0ms

Local error

Found 4 expressions with local error:

1.9b
(* (pow (/ (* 2.0 l) Om) (/ 2.0 2)) (sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0))))
4.2b
(sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))
4.2b
(sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))
8.0b
(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)))))))

rewrite88.0ms

Algorithm
rewrite-expression-head
Rules
50×add-sqr-sqrt
27×unpow-prod-down
24×*-un-lft-identity
21×sqrt-prod
19×hypot-def
16×add-exp-log
15×sqr-pow
12×add-cube-cbrt
11×associate-*l*
sqrt-div associate-*r*
pow1
prod-exp add-cbrt-cube distribute-lft-out unswap-sqr
expm1-log1p-u flip3-+ flip-+ log1p-expm1-u add-log-exp
rem-sqrt-square sqrt-pow1 times-frac pow1/2 pow-exp
associate-*r/ div-exp
pow-to-exp *-commutative cbrt-unprod div-inv
Counts
4 → 117
Calls
4 calls:
44.0ms
(* (pow (/ (* 2.0 l) Om) (/ 2.0 2)) (sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0))))
20.0ms
(sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))
17.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)))))))

series925.0ms

Counts
4 → 12
Calls
4 calls:
470.0ms
(* (pow (/ (* 2.0 l) Om) (/ 2.0 2)) (sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0))))
76.0ms
(sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))
71.0ms
(sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))
308.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)))))))

simplify51.0ms

Algorithm
egg-herbie
Counts
129 → 129
Iterations

Useful iterations: 2 (36.0ms)

IterNodesCost
03781610
112321509
250011507

prune739.0ms

Pruning

3 alts after pruning (1 fresh and 2 done)

Merged error: 1.1b

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

Merged error: 1.1b

regimes302.0ms

Accuracy

0% (0.1b remaining)

Error of 1.3b against oracle of 1.3b and baseline of 1.3b

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03230
13230

end0.0ms

sample1.0s

Algorithm
intervals
Results
791.0ms8000×body80valid