Details

Time bar (total: 11.7s)

analyze1.4s

Algorithm
search

sample207.0ms

Algorithm
intervals
Results
134.0ms130×body1280valid
42.0ms60×body640valid
10.0ms23×body320valid
4.0ms35×body80valid
2.0msbody160valid

simplify51.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
02310
13510
26310
313710
441710
5179810
6500210

prune5.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 4.2b

Counts
2 → 1

localize16.0ms

Local error

Found 4 expressions with local error:

0.2b
(/ (sin ky) (sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0))))
0.3b
(pow (sin kx) 2.0)
0.3b
(pow (sin ky) 2.0)
3.9b
(sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))

rewrite29.0ms

Algorithm
rewrite-expression-head
Rules
46×*-un-lft-identity
27×add-sqr-sqrt
26×add-cube-cbrt
25×sqrt-prod
24×times-frac
16×unpow-prod-down
10×distribute-lft-out
add-exp-log associate-/r*
pow1
pow-unpow add-cbrt-cube
sqrt-div add-log-exp
associate-/l*
pow-to-exp pow-pow flip3-+ pow-exp associate-/r/ flip-+ sqr-pow
cbrt-undiv rem-sqrt-square frac-2neg sqrt-pow1 pow1/2 div-exp clear-num div-inv
Counts
4 → 100
Calls
4 calls:
14.0ms
(/ (sin ky) (sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0))))
2.0ms
(pow (sin kx) 2.0)
2.0ms
(pow (sin ky) 2.0)
7.0ms
(sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))

series94.0ms

Counts
4 → 12
Calls
4 calls:
37.0ms
(/ (sin ky) (sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0))))
18.0ms
(pow (sin kx) 2.0)
18.0ms
(pow (sin ky) 2.0)
20.0ms
(sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))

simplify41.0ms

Algorithm
egg-herbie
Counts
112 → 112
Iterations

Useful iterations: 2 (31.0ms)

IterNodesCost
03631053
11249978
25002961

prune242.0ms

Filtered
70 candidates to 112 candidates (-60.0%)
Pruning

11 alts after pruning (11 fresh and 0 done)

PrunedKeptTotal
New10111112
Fresh000
Picked101
Done000
Total10211113

Merged error: 2.9b

Counts
113 → 11

localize20.0ms

Local error

Found 4 expressions with local error:

0.3b
(pow (sin ky) 2.0)
0.5b
(* (sqrt (sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))) (sqrt (sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))))
3.9b
(sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))
3.9b
(sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))

rewrite45.0ms

Algorithm
rewrite-expression-head
Rules
100×sqrt-prod
52×add-sqr-sqrt
50×*-un-lft-identity
34×sqrt-pow1
30×pow1
28×sqrt-div
20×add-cube-cbrt
19×swap-sqr
18×pow1/2
15×unpow-prod-down
14×distribute-lft-out
11×associate-*r* associate-*l*
pow-prod-up unswap-sqr
flip3-+ flip-+
add-exp-log
add-cbrt-cube
pow-prod-down pow-sqr
frac-times add-log-exp
pow-unpow
rem-sqrt-square associate-*r/ associate-*l/
pow2 pow-to-exp pow-pow pow-plus sqrt-unprod pow-exp prod-exp rem-square-sqrt *-commutative cbrt-unprod sqr-pow
Counts
4 → 142
Calls
4 calls:
2.0ms
(pow (sin ky) 2.0)
23.0ms
(* (sqrt (sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))) (sqrt (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)))

series77.0ms

Counts
4 → 12
Calls
4 calls:
18.0ms
(pow (sin ky) 2.0)
19.0ms
(* (sqrt (sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))) (sqrt (sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))))
21.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)))

simplify55.0ms

Algorithm
egg-herbie
Counts
154 → 154
Iterations

Useful iterations: 2 (39.0ms)

IterNodesCost
03301472
112661371
250021333

prune298.0ms

Filtered
72 candidates to 154 candidates (-113.9%)
Pruning

11 alts after pruning (11 fresh and 0 done)

PrunedKeptTotal
New1531154
Fresh01010
Picked101
Done000
Total15411165

Merged error: 2.9b

Counts
165 → 11

localize21.0ms

Local error

Found 4 expressions with local error:

0.3b
(pow (sin ky) 2.0)
0.4b
(/ (sin ky) (sqrt (sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))))
3.9b
(sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))
3.9b
(sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))

rewrite33.0ms

Algorithm
rewrite-expression-head
Rules
62×sqrt-prod
56×*-un-lft-identity
34×add-sqr-sqrt
33×times-frac
32×add-cube-cbrt
15×unpow-prod-down
12×distribute-lft-out
11×associate-/r*
sqrt-div
pow1 add-exp-log
add-cbrt-cube
add-log-exp
pow-unpow flip3-+ flip-+ associate-/l*
rem-sqrt-square sqrt-pow1 pow1/2 associate-/r/
cbrt-undiv pow-to-exp pow-pow frac-2neg div-exp pow-exp clear-num div-inv sqr-pow
Counts
4 → 112
Calls
4 calls:
2.0ms
(pow (sin ky) 2.0)
12.0ms
(/ (sin ky) (sqrt (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)))

series102.0ms

Counts
4 → 12
Calls
4 calls:
18.0ms
(pow (sin ky) 2.0)
46.0ms
(/ (sin ky) (sqrt (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)))

simplify45.0ms

Algorithm
egg-herbie
Counts
124 → 124
Iterations

Useful iterations: 2 (32.0ms)

IterNodesCost
03731454
113051344
250011333

prune331.0ms

Filtered
75 candidates to 124 candidates (-65.3%)
Pruning

12 alts after pruning (11 fresh and 1 done)

PrunedKeptTotal
New1231124
Fresh01010
Picked011
Done000
Total12312135

Merged error: 2.9b

Counts
135 → 12

localize19.0ms

Local error

Found 4 expressions with local error:

0.3b
(pow (sin ky) 2.0)
1.5b
(exp (log (pow (sin ky) 2.0)))
3.9b
(sqrt (+ (pow (sin kx) 2.0) (exp (log (pow (sin ky) 2.0)))))
13.9b
(log (pow (sin ky) 2.0))

rewrite20.0ms

Algorithm
rewrite-expression-head
Rules
14×log-prod *-un-lft-identity
13×add-sqr-sqrt
12×add-cube-cbrt
unpow-prod-down
add-exp-log exp-sum
pow1
exp-prod sqrt-prod add-cbrt-cube add-log-exp
pow-unpow rem-log-exp sqr-pow
pow-to-exp sqrt-div pow-exp log-pow
rem-sqrt-square pow-pow sqrt-pow1 flip3-+ pow1/2 flip-+ rem-exp-log distribute-lft-out
Counts
4 → 70
Calls
4 calls:
3.0ms
(pow (sin ky) 2.0)
5.0ms
(exp (log (pow (sin ky) 2.0)))
8.0ms
(sqrt (+ (pow (sin kx) 2.0) (exp (log (pow (sin ky) 2.0)))))
3.0ms
(log (pow (sin ky) 2.0))

series85.0ms

Counts
4 → 12
Calls
4 calls:
18.0ms
(pow (sin ky) 2.0)
18.0ms
(exp (log (pow (sin ky) 2.0)))
19.0ms
(sqrt (+ (pow (sin kx) 2.0) (exp (log (pow (sin ky) 2.0)))))
29.0ms
(log (pow (sin ky) 2.0))

simplify107.0ms

Algorithm
egg-herbie
Counts
82 → 82
Iterations

Useful iterations: 3 (98.0ms)

IterNodesCost
0265525
1832497
23150465
35001459

prune131.0ms

Filtered
51 candidates to 82 candidates (-60.8%)
Pruning

12 alts after pruning (10 fresh and 2 done)

PrunedKeptTotal
New82082
Fresh01010
Picked011
Done011
Total821294

Merged error: 2.9b

Counts
94 → 12

regimes829.0ms

Accuracy

0% (1.8b remaining)

Error of 4.3b against oracle of 2.6b and baseline of 4.3b

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01719
11719

end0.0ms

analyze1.2s

Algorithm
search

sample6.2s

Algorithm
intervals
Results
4.0s3722×body1280valid
1.3s1966×body640valid
329.0ms741×body320valid
168.0ms1293×body80valid
79.0ms278×body160valid

Profiling

Loading profile data...