Details

Time bar (total: 5.6s)

sample85.0ms

Algorithm
intervals
Results
24.0ms190×body80valid
22.0ms28×body1280valid
10.0ms19×body640valid
5.0ms13×body320valid
2.0msbody160valid

simplify42.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: 0.8b

localize24.0ms

Local error

Found 4 expressions with local error:

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

rewrite34.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:
6.0ms
(pow (/ (* 2.0 l) Om) 2.0)
3.0ms
(pow (sin ky) 2.0)
20.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)))))

series872.0ms

Counts
4 → 12
Calls
4 calls:
85.0ms
(pow (/ (* 2.0 l) Om) 2.0)
102.0ms
(pow (sin ky) 2.0)
371.0ms
(* (pow (/ (* 2.0 l) Om) 2.0) (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))
315.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
112 → 112
Iterations

Useful iterations: 1 (12.0ms)

IterNodesCost
0515957
12069914
25001914

prune466.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 0.6b

localize27.0ms

Local error

Found 4 expressions with local error:

1.1b
(* (pow (/ (* 2.0 l) Om) (/ 2.0 2)) (sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0))))
2.2b
(sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))
2.2b
(sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))
10.1b
(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)))))))

rewrite41.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:
18.0ms
(* (pow (/ (* 2.0 l) Om) (/ 2.0 2)) (sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0))))
8.0ms
(sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))
8.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)))))))

series943.0ms

Counts
4 → 12
Calls
4 calls:
481.0ms
(* (pow (/ (* 2.0 l) Om) (/ 2.0 2)) (sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0))))
74.0ms
(sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))
79.0ms
(sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))
309.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
03781613
112321509
250011507

prune668.0ms

Pruning

2 alts after pruning (1 fresh and 1 done)

Merged error: 0.6b

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

2 alts after pruning (0 fresh and 2 done)

Merged error: 0.6b

regimes240.0ms

Accuracy

0% (0.1b remaining)

Error of 0.8b against oracle of 0.7b and baseline of 0.8b

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03230
13230

end0.0ms

sample2.0s

Algorithm
intervals
Results
796.0ms6257×body80valid
443.0ms540×body1280valid
340.0ms631×body640valid
145.0ms374×body320valid
51.0ms198×body160valid