Details

Time bar (total: 9.6s)

sample47.0ms

Algorithm
intervals
Results
28.0ms256×body80valid

simplify39.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
05216
112316
229416
3108316
4500116

prune5.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 1.8b

localize22.0ms

Local error

Found 4 expressions with local error:

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

rewrite89.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)
5.0ms
(pow (sin ky) 2.0)
73.0ms
(* (pow (/ (* 2.0 l) Om) 2.0) (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))
5.0ms
(sqrt (+ 1.0 (* (pow (/ (* 2.0 l) Om) 2.0) (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))))

series949.0ms

Counts
4 → 12
Calls
4 calls:
104.0ms
(pow (sin kx) 2.0)
105.0ms
(pow (sin ky) 2.0)
399.0ms
(* (pow (/ (* 2.0 l) Om) 2.0) (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))
341.0ms
(sqrt (+ 1.0 (* (pow (/ (* 2.0 l) Om) 2.0) (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))))

simplify55.0ms

Algorithm
egg-herbie
Counts
98 → 98
Iterations

Useful iterations: 1 (11.0ms)

IterNodesCost
0473829
11858802
25002802

prune411.0ms

Pruning

4 alts after pruning (4 fresh and 0 done)

Merged error: 0.9b

localize32.0ms

Local error

Found 4 expressions with local error:

0.3b
(pow (sin ky) 2.0)
2.7b
(* (pow (/ (* 2.0 l) Om) 2.0) (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))
7.0b
(sqrt (+ 1.0 (* (pow (/ (* 2.0 l) Om) 2.0) (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))))
9.7b
(cbrt (pow (sqrt (+ 1.0 (* (pow (/ (* 2.0 l) Om) 2.0) (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0))))) 3))

rewrite92.0ms

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

series1.2s

Counts
4 → 12
Calls
4 calls:
113.0ms
(pow (sin ky) 2.0)
395.0ms
(* (pow (/ (* 2.0 l) Om) 2.0) (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))
347.0ms
(sqrt (+ 1.0 (* (pow (/ (* 2.0 l) Om) 2.0) (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))))
343.0ms
(cbrt (pow (sqrt (+ 1.0 (* (pow (/ (* 2.0 l) Om) 2.0) (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0))))) 3))

simplify63.0ms

Algorithm
egg-herbie
Counts
110 → 110
Iterations

Useful iterations: 1 (12.0ms)

IterNodesCost
05191266
120581247
250011247

prune475.0ms

Pruning

4 alts after pruning (4 fresh and 0 done)

Merged error: 0.9b

localize31.0ms

Local error

Found 4 expressions with local error:

5.4b
(cbrt (sqrt (+ 1.0 (* (pow (/ (* 2.0 l) Om) 2.0) (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0))))))
7.0b
(sqrt (+ 1.0 (* (pow (/ (* 2.0 l) Om) 2.0) (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))))
9.7b
(cbrt (pow (* (cbrt (+ 1.0 (* (pow (/ (* 2.0 l) Om) 2.0) (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0))))) (cbrt (sqrt (+ 1.0 (* (pow (/ (* 2.0 l) Om) 2.0) (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0))))))) 3))
11.2b
(cbrt (+ 1.0 (* (pow (/ (* 2.0 l) Om) 2.0) (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))))

rewrite24.0ms

Algorithm
rewrite-expression-head
Rules
24×cbrt-div
17×cbrt-prod
10×add-sqr-sqrt sqrt-div
add-cube-cbrt *-un-lft-identity flip3-+ flip-+
cube-div
sqrt-prod
pow1
add-exp-log frac-times add-cbrt-cube add-log-exp
pow1/3
associate-*r/ associate-*l/
cube-mult unpow-prod-down rem-sqrt-square sqrt-pow1 pow1/2 unpow3 cube-prod rem-cbrt-cube sqr-pow
Counts
4 → 69
Calls
4 calls:
4.0ms
(cbrt (sqrt (+ 1.0 (* (pow (/ (* 2.0 l) Om) 2.0) (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0))))))
9.0ms
(sqrt (+ 1.0 (* (pow (/ (* 2.0 l) Om) 2.0) (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))))
6.0ms
(cbrt (pow (* (cbrt (+ 1.0 (* (pow (/ (* 2.0 l) Om) 2.0) (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0))))) (cbrt (sqrt (+ 1.0 (* (pow (/ (* 2.0 l) Om) 2.0) (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0))))))) 3))
3.0ms
(cbrt (+ 1.0 (* (pow (/ (* 2.0 l) Om) 2.0) (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))))

series1.5s

Counts
4 → 12
Calls
4 calls:
320.0ms
(cbrt (sqrt (+ 1.0 (* (pow (/ (* 2.0 l) Om) 2.0) (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0))))))
495.0ms
(sqrt (+ 1.0 (* (pow (/ (* 2.0 l) Om) 2.0) (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))))
352.0ms
(cbrt (pow (* (cbrt (+ 1.0 (* (pow (/ (* 2.0 l) Om) 2.0) (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0))))) (cbrt (sqrt (+ 1.0 (* (pow (/ (* 2.0 l) Om) 2.0) (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0))))))) 3))
321.0ms
(cbrt (+ 1.0 (* (pow (/ (* 2.0 l) Om) 2.0) (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))))

simplify47.0ms

Algorithm
egg-herbie
Counts
81 → 81
Iterations

Useful iterations: 2 (30.0ms)

IterNodesCost
03382002
113211979
250011710

prune504.0ms

Pruning

3 alts after pruning (3 fresh and 0 done)

Merged error: 0.9b

localize37.0ms

Local error

Found 4 expressions with local error:

7.0b
(sqrt (+ 1.0 (* (pow (/ (* 2.0 l) Om) 2.0) (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))))
7.0b
(sqrt (+ 1.0 (* (pow (/ (* 2.0 l) Om) 2.0) (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))))
9.7b
(cbrt (pow (* (cbrt (+ 1.0 (* (pow (/ (* 2.0 l) Om) 2.0) (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0))))) (* (* (cbrt (cbrt (sqrt (+ 1.0 (* (pow (/ (* 2.0 l) Om) 2.0) (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0))))))) (cbrt (cbrt (sqrt (+ 1.0 (* (pow (/ (* 2.0 l) Om) 2.0) (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))))))) (cbrt (cbrt (sqrt (+ 1.0 (* (pow (/ (* 2.0 l) Om) 2.0) (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0))))))))) 3))
11.2b
(cbrt (+ 1.0 (* (pow (/ (* 2.0 l) Om) 2.0) (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))))

rewrite98.0ms

Algorithm
rewrite-expression-head
Rules
460×cbrt-div
166×sqrt-div
136×frac-times
111×flip3-+ flip-+
80×cube-div
50×associate-*r/
44×associate-*l/
11×cbrt-prod
10×add-sqr-sqrt
add-cube-cbrt *-un-lft-identity
pow1 sqrt-prod
add-exp-log add-cbrt-cube add-log-exp
rem-sqrt-square sqrt-pow1 pow1/2 pow1/3
cube-mult unpow-prod-down unpow3 cube-prod rem-cbrt-cube sqr-pow
Counts
4 → 140
Calls
4 calls:
5.0ms
(sqrt (+ 1.0 (* (pow (/ (* 2.0 l) Om) 2.0) (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))))
5.0ms
(sqrt (+ 1.0 (* (pow (/ (* 2.0 l) Om) 2.0) (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))))
62.0ms
(cbrt (pow (* (cbrt (+ 1.0 (* (pow (/ (* 2.0 l) Om) 2.0) (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0))))) (* (* (cbrt (cbrt (sqrt (+ 1.0 (* (pow (/ (* 2.0 l) Om) 2.0) (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0))))))) (cbrt (cbrt (sqrt (+ 1.0 (* (pow (/ (* 2.0 l) Om) 2.0) (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))))))) (cbrt (cbrt (sqrt (+ 1.0 (* (pow (/ (* 2.0 l) Om) 2.0) (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0))))))))) 3))
3.0ms
(cbrt (+ 1.0 (* (pow (/ (* 2.0 l) Om) 2.0) (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))))

series1.4s

Counts
4 → 12
Calls
4 calls:
351.0ms
(sqrt (+ 1.0 (* (pow (/ (* 2.0 l) Om) 2.0) (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))))
348.0ms
(sqrt (+ 1.0 (* (pow (/ (* 2.0 l) Om) 2.0) (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))))
355.0ms
(cbrt (pow (* (cbrt (+ 1.0 (* (pow (/ (* 2.0 l) Om) 2.0) (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0))))) (* (* (cbrt (cbrt (sqrt (+ 1.0 (* (pow (/ (* 2.0 l) Om) 2.0) (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0))))))) (cbrt (cbrt (sqrt (+ 1.0 (* (pow (/ (* 2.0 l) Om) 2.0) (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))))))) (cbrt (cbrt (sqrt (+ 1.0 (* (pow (/ (* 2.0 l) Om) 2.0) (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0))))))))) 3))
324.0ms
(cbrt (+ 1.0 (* (pow (/ (* 2.0 l) Om) 2.0) (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))))

simplify118.0ms

Algorithm
egg-herbie
Counts
152 → 152
Iterations

Useful iterations: 1 (24.0ms)

IterNodesCost
0162912611
1500212366

prune848.0ms

Pruning

3 alts after pruning (3 fresh and 0 done)

Merged error: 0.9b

regimes472.0ms

Accuracy

0% (0.3b remaining)

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

bsearch0.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
04486
14486

end0.0ms

sample1.1s

Algorithm
intervals
Results
758.0ms7999×body80valid
0.0msbody160valid