Details

Time bar (total: 11.3s)

analyze1.3s

Algorithm
search
Search
TrueOtherFalseIter
0%99.9%0.1%0
0%99.9%0.1%1
0%99.9%0.1%2
0%99.9%0.1%3
0%99.9%0.1%4
0%99.9%0.1%5
0%99.9%0.1%6
0%99.9%0.1%7
25%74.9%0.1%8
54.6%45.2%0.1%9
56.2%43.7%0.1%10
62.4%37.4%0.1%11
65.9%33.9%0.1%12
66.3%33.5%0.1%13
69%30.8%0.1%14

sample211.0ms

Algorithm
intervals
Results
144.0ms126×body1280valid
38.0ms57×body640valid
6.0ms14×body320valid
6.0ms48×body80valid
3.0ms11×body160valid

simplify61.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (59.0ms)

IterNodesCost
0476616
1476616

prune15.0ms

Filtered
1 candidates to 1 candidates (0.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 3.7b

Counts
2 → 2

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)))) (sin th))
0.2b
(pow (sin kx) 2.0)
0.2b
(pow (sin ky) 2.0)
3.5b
(sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))

rewrite179.0ms

Algorithm
rewrite-expression-head
Rules
41×*-un-lft-identity
34×add-sqr-sqrt
30×associate-*l*
26×times-frac
25×add-cube-cbrt
21×sqrt-prod
14×unpow-prod-down
11×add-exp-log
pow1 add-cbrt-cube
distribute-lft-out
pow-unpow
sqrt-div add-log-exp
associate-*r* unswap-sqr
pow-to-exp pow-pow flip3-+ pow-exp prod-exp associate-/r/ cbrt-unprod flip-+ sqr-pow
cbrt-undiv rem-sqrt-square sqrt-pow1 pow1/2 div-exp pow-prod-down associate-*l/ *-commutative div-inv
Counts
4 → 101
Calls
4 calls:
15.0ms
(* (/ (sin ky) (sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))) (sin th))
2.0ms
(pow (sin kx) 2.0)
2.0ms
(pow (sin ky) 2.0)
155.0ms
(sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))

series108.0ms

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

simplify79.0ms

Algorithm
egg-herbie
Counts
113 → 113
Iterations

Useful iterations: 0 (69.0ms)

IterNodesCost
052281477

prune288.0ms

Filtered
77 candidates to 113 candidates (-46.8%)
Pruning

13 alts after pruning (13 fresh and 0 done)

PrunedKeptTotal
New10013113
Fresh101
Picked101
Done000
Total10213115

Merged error: 2.2b

Counts
115 → 13

localize23.0ms

Local error

Found 4 expressions with local error:

0.4b
(cbrt (/ (sin ky) (sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))))
3.5b
(sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))
3.5b
(sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))
3.5b
(sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))

rewrite38.0ms

Algorithm
rewrite-expression-head
Rules
46×*-un-lft-identity
30×cbrt-prod sqrt-prod
25×add-sqr-sqrt
24×times-frac
22×add-cube-cbrt
12×unpow-prod-down distribute-lft-out
sqrt-div
pow1
add-exp-log flip3-+ add-cbrt-cube flip-+ add-log-exp
rem-sqrt-square sqrt-pow1 pow1/2
associate-/r/
cbrt-div pow1/3 div-inv
Counts
4 → 90
Calls
4 calls:
10.0ms
(cbrt (/ (sin ky) (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)))
10.0ms
(sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))

series110.0ms

Counts
4 → 12
Calls
4 calls:
54.0ms
(cbrt (/ (sin ky) (sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))))
18.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)))
19.0ms
(sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))

simplify68.0ms

Algorithm
egg-herbie
Counts
102 → 102
Iterations

Useful iterations: 0 (56.0ms)

IterNodesCost
055421796

prune420.0ms

Filtered
68 candidates to 102 candidates (-50.0%)
Pruning

13 alts after pruning (12 fresh and 1 done)

PrunedKeptTotal
New1011102
Fresh11112
Picked011
Done000
Total10213115

Merged error: 2.2b

Counts
115 → 13

localize21.0ms

Local error

Found 4 expressions with local error:

0.2b
(pow (sin ky) 2.0)
0.3b
(* (fabs (cbrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))) (sqrt (cbrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))))
4.0b
(cbrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))
4.0b
(cbrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))

rewrite36.0ms

Algorithm
rewrite-expression-head
Rules
24×*-un-lft-identity
18×add-sqr-sqrt
16×cbrt-prod
12×add-cube-cbrt
11×associate-*r*
10×sqrt-prod
unpow-prod-down
pow1 add-exp-log
cbrt-div add-cbrt-cube distribute-lft-out
add-log-exp
pow-unpow flip3-+ associate-*l* flip-+ unswap-sqr
pow1/3 sqrt-div associate-*r/
pow-to-exp pow-pow pow-prod-down pow-exp prod-exp *-commutative cbrt-unprod sqr-pow
Counts
4 → 77
Calls
4 calls:
3.0ms
(pow (sin ky) 2.0)
13.0ms
(* (fabs (cbrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))) (sqrt (cbrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))))
10.0ms
(cbrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))
7.0ms
(cbrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))

series118.0ms

Counts
4 → 12
Calls
4 calls:
18.0ms
(pow (sin ky) 2.0)
41.0ms
(* (fabs (cbrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))) (sqrt (cbrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))))
27.0ms
(cbrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))
31.0ms
(cbrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))

simplify79.0ms

Algorithm
egg-herbie
Counts
89 → 89
Iterations

Useful iterations: 0 (69.0ms)

IterNodesCost
048911498
148911498

prune314.0ms

Filtered
62 candidates to 89 candidates (-43.5%)
Pruning

13 alts after pruning (12 fresh and 1 done)

PrunedKeptTotal
New87289
Fresh11011
Picked101
Done011
Total8913102

Merged error: 2.2b

Counts
102 → 13

localize21.0ms

Local error

Found 4 expressions with local error:

0.6b
(cbrt (sin ky))
0.6b
(cbrt (sin ky))
0.6b
(cbrt (sin ky))
3.5b
(sqrt (+ (pow (sin kx) 2.0) (* (pow (* (cbrt (sin ky)) (cbrt (sin ky))) 2.0) (pow (cbrt (sin ky)) 2.0))))

rewrite13.0ms

Algorithm
rewrite-expression-head
Rules
cbrt-prod add-sqr-sqrt
add-cube-cbrt *-un-lft-identity
pow1
add-exp-log add-cbrt-cube add-log-exp
pow1/3 sqrt-prod
sqrt-div
rem-sqrt-square sqrt-pow1 flip3-+ pow1/2 flip-+
Counts
4 → 48
Calls
4 calls:
2.0ms
(cbrt (sin ky))
2.0ms
(cbrt (sin ky))
2.0ms
(cbrt (sin ky))
7.0ms
(sqrt (+ (pow (sin kx) 2.0) (* (pow (* (cbrt (sin ky)) (cbrt (sin ky))) 2.0) (pow (cbrt (sin ky)) 2.0))))

series73.0ms

Counts
4 → 12
Calls
4 calls:
18.0ms
(cbrt (sin ky))
18.0ms
(cbrt (sin ky))
18.0ms
(cbrt (sin ky))
19.0ms
(sqrt (+ (pow (sin kx) 2.0) (* (pow (* (cbrt (sin ky)) (cbrt (sin ky))) 2.0) (pow (cbrt (sin ky)) 2.0))))

simplify70.0ms

Algorithm
egg-herbie
Counts
60 → 60
Iterations

Useful iterations: 0 (64.0ms)

IterNodesCost
04876603
14876603

prune113.0ms

Filtered
44 candidates to 60 candidates (-36.4%)
Pruning

13 alts after pruning (11 fresh and 2 done)

PrunedKeptTotal
New60060
Fresh01111
Picked011
Done011
Total601373

Merged error: 2.2b

Counts
73 → 13

regimes1.2s

Accuracy

53.6% (0.9b remaining)

Error of 3.3b against oracle of 2.4b and baseline of 4.3b

bsearch2.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
04184
14184

end0.0ms

sample6.3s

Algorithm
intervals
Results
4.0s3692×body1280valid
1.4s2071×body640valid
319.0ms693×body320valid
168.0ms1256×body80valid
82.0ms288×body160valid

Profiling

Loading profile data...