Details

Time bar (total: 9.2s)

sample42.0ms

Algorithm
intervals
Results
24.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: 2.2b

localize22.0ms

Local error

Found 4 expressions with local error:

0.3b
(pow (sin ky) 2.0)
0.5b
(/ 1.0 (sqrt (+ 1.0 (* (pow (/ (* 2.0 l) Om) 2.0) (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0))))))
2.7b
(* (pow (/ (* 2.0 l) Om) 2.0) (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))
9.6b
(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
32×add-sqr-sqrt
30×*-un-lft-identity
26×add-cube-cbrt
21×times-frac
19×add-exp-log
15×sqrt-prod
13×unpow-prod-down
11×associate-*l*
add-cbrt-cube
pow1 prod-exp associate-/r*
associate-*r*
expm1-log1p-u sqrt-div pow-exp log1p-expm1-u add-log-exp
pow-unpow flip3-+ div-exp flip-+ associate-/l* unswap-sqr sqr-pow
pow-to-exp associate-*r/ associate-/r/ div-inv distribute-lft-out
cbrt-undiv distribute-rgt-in rem-sqrt-square pow-pow frac-2neg distribute-lft-in sqrt-pow1 pow1/2 clear-num *-commutative cbrt-unprod
Counts
4 → 118
Calls
4 calls:
3.0ms
(pow (sin ky) 2.0)
6.0ms
(/ 1.0 (sqrt (+ 1.0 (* (pow (/ (* 2.0 l) Om) 2.0) (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0))))))
19.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)))))

series1.2s

Counts
4 → 12
Calls
4 calls:
105.0ms
(pow (sin ky) 2.0)
379.0ms
(/ 1.0 (sqrt (+ 1.0 (* (pow (/ (* 2.0 l) Om) 2.0) (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0))))))
370.0ms
(* (pow (/ (* 2.0 l) Om) 2.0) (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))
310.0ms
(sqrt (+ 1.0 (* (pow (/ (* 2.0 l) Om) 2.0) (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))))

simplify69.0ms

Algorithm
egg-herbie
Counts
130 → 130
Iterations

Useful iterations: 2 (53.0ms)

IterNodesCost
05211687
121351580
250021576

prune543.0ms

Pruning

3 alts after pruning (3 fresh and 0 done)

Merged error: 1.1b

localize30.0ms

Local error

Found 4 expressions with local error:

0.7b
(* (pow (/ (* 2.0 l) Om) (/ 2.0 2)) (sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0))))
4.0b
(sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))
4.0b
(sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))
9.6b
(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)))))))

rewrite39.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:
16.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)))))))

series934.0ms

Counts
4 → 12
Calls
4 calls:
475.0ms
(* (pow (/ (* 2.0 l) Om) (/ 2.0 2)) (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)))
311.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

prune675.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 1.1b

localize35.0ms

Local error

Found 4 expressions with local error:

0.7b
(* (pow (/ (* 2.0 l) Om) (/ 2.0 2)) (sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0))))
0.7b
(* (pow (/ (* 2.0 l) Om) (/ 2.0 2)) (sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0))))
4.0b
(sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))
4.0b
(sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))

rewrite55.0ms

Algorithm
rewrite-expression-head
Rules
62×add-sqr-sqrt
38×unpow-prod-down
32×*-un-lft-identity
28×add-exp-log
26×sqrt-prod
22×associate-*l*
18×hypot-def sqr-pow
16×add-cube-cbrt associate-*r*
12×prod-exp unswap-sqr
sqrt-div add-cbrt-cube distribute-lft-out
pow1 times-frac pow-exp
expm1-log1p-u flip3-+ associate-*r/ div-exp flip-+ log1p-expm1-u add-log-exp
pow-to-exp rem-sqrt-square sqrt-pow1 pow1/2 *-commutative cbrt-unprod div-inv
Counts
4 → 142
Calls
4 calls:
16.0ms
(* (pow (/ (* 2.0 l) Om) (/ 2.0 2)) (sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0))))
17.0ms
(* (pow (/ (* 2.0 l) Om) (/ 2.0 2)) (sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0))))
9.0ms
(sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))
9.0ms
(sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))

series1.1s

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))))
486.0ms
(* (pow (/ (* 2.0 l) Om) (/ 2.0 2)) (sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0))))
79.0ms
(sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))
81.0ms
(sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))

simplify123.0ms

Algorithm
egg-herbie
Counts
154 → 154
Iterations

Useful iterations: 2 (30.0ms)

IterNodesCost
03141654
19851558
248481556
350011556

prune999.0ms

Pruning

2 alts after pruning (1 fresh and 1 done)

Merged error: 1.1b

localize37.0ms

Local error

Found 4 expressions with local error:

6.4b
(cbrt (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))))))))
9.6b
(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)))))))
9.6b
(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)))))))
9.6b
(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)))))))

rewrite13.0ms

Algorithm
rewrite-expression-head
Rules
15×add-sqr-sqrt
12×sqrt-prod
add-cube-cbrt *-un-lft-identity
sqrt-div
pow1
cbrt-prod
add-exp-log expm1-log1p-u flip3-+ add-cbrt-cube flip-+ log1p-expm1-u add-log-exp
rem-sqrt-square sqrt-pow1 pow1/2 hypot-def
cbrt-div
pow1/3
Counts
4 → 72
Calls
4 calls:
3.0ms
(cbrt (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))))))))
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)))))))
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)))))))
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)))))))

series1.2s

Counts
4 → 12
Calls
4 calls:
287.0ms
(cbrt (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))))))))
311.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)))))))
313.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)))))))
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)))))))

simplify113.0ms

Algorithm
egg-herbie
Counts
84 → 84
Iterations

Useful iterations: 2 (16.0ms)

IterNodesCost
01352617
13982453
223422451
350032451

prune525.0ms

Pruning

2 alts after pruning (1 fresh and 1 done)

Merged error: 1.1b

regimes295.0ms

Accuracy

0% (0.1b remaining)

Error of 1.6b against oracle of 1.5b and baseline of 1.6b

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03532
13532

end0.0ms

sample987.0ms

Algorithm
intervals
Results
757.0ms8000×body80valid