Details

Time bar (total: 10.9s)

analyze1.4s

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

sample208.0ms

Algorithm
intervals
Results
125.0ms120×body1280valid
53.0ms75×body640valid
11.0ms24×body320valid
3.0ms29×body80valid
2.0msbody160valid

simplify60.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (58.0ms)

IterNodesCost
0476616
1476616

prune16.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: 2.9b

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.3b
(pow (sin kx) 2.0)
0.3b
(pow (sin ky) 2.0)
2.8b
(sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))

rewrite36.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:
20.0ms
(* (/ (sin ky) (sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))) (sin th))
3.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)))

series112.0ms

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

simplify80.0ms

Algorithm
egg-herbie
Counts
113 → 113
Iterations

Useful iterations: 0 (70.0ms)

IterNodesCost
052281477

prune297.0ms

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

11 alts after pruning (11 fresh and 0 done)

PrunedKeptTotal
New10310113
Fresh011
Picked101
Done000
Total10411115

Merged error: 2.3b

Counts
115 → 11

localize15.0ms

Local error

Found 4 expressions with local error:

0.3b
(pow (sin ky) 2.0)
0.3b
(/ (sin th) (sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0))))
0.3b
(* (sin ky) (/ (sin th) (sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))))
2.8b
(sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))

rewrite42.0ms

Algorithm
rewrite-expression-head
Rules
72×*-un-lft-identity
50×times-frac
49×add-sqr-sqrt
41×sqrt-prod
40×add-cube-cbrt
30×associate-*r*
19×unpow-prod-down
16×distribute-lft-out
12×add-exp-log
11×add-cbrt-cube
pow1 associate-/r*
sqrt-div
associate-/r/ add-log-exp
pow-unpow flip3-+ associate-*l* flip-+ associate-/l* unswap-sqr
cbrt-undiv div-exp prod-exp cbrt-unprod div-inv
pow-to-exp rem-sqrt-square pow-pow frac-2neg sqrt-pow1 pow1/2 associate-*r/ pow-prod-down pow-exp clear-num *-commutative sqr-pow
Counts
4 → 133
Calls
4 calls:
2.0ms
(pow (sin ky) 2.0)
11.0ms
(/ (sin th) (sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0))))
17.0ms
(* (sin ky) (/ (sin th) (sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))))
7.0ms
(sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))

series132.0ms

Counts
4 → 12
Calls
4 calls:
20.0ms
(pow (sin ky) 2.0)
43.0ms
(/ (sin th) (sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0))))
46.0ms
(* (sin ky) (/ (sin th) (sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))))
23.0ms
(sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))

simplify71.0ms

Algorithm
egg-herbie
Counts
145 → 145
Iterations

Useful iterations: 0 (56.0ms)

IterNodesCost
049332217
149332217

prune297.0ms

Filtered
85 candidates to 145 candidates (-70.6%)
Pruning

11 alts after pruning (10 fresh and 1 done)

PrunedKeptTotal
New1450145
Fresh01010
Picked011
Done000
Total14511156

Merged error: 2.3b

Counts
156 → 11

localize18.0ms

Local error

Found 4 expressions with local error:

0.3b
(pow (sin kx) 2.0)
0.3b
(pow (sin ky) 2.0)
1.3b
(/ (* (sin ky) (sin th)) (sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0))))
2.8b
(sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))

rewrite26.0ms

Algorithm
rewrite-expression-head
Rules
25×*-un-lft-identity
15×sqrt-prod
14×add-sqr-sqrt
13×add-cube-cbrt
12×unpow-prod-down
11×add-exp-log
add-cbrt-cube
times-frac associate-/r*
pow1
pow-unpow distribute-lft-out
sqrt-div add-log-exp
cbrt-undiv pow-to-exp pow-pow flip3-+ div-exp pow-exp associate-/r/ flip-+ sqr-pow
rem-sqrt-square frac-2neg sqrt-pow1 pow1/2 prod-exp clear-num cbrt-unprod div-inv associate-/l/ sin-mult associate-/l*
Counts
4 → 85
Calls
4 calls:
2.0ms
(pow (sin kx) 2.0)
2.0ms
(pow (sin ky) 2.0)
12.0ms
(/ (* (sin ky) (sin th)) (sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0))))
7.0ms
(sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))

series106.0ms

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

simplify53.0ms

Algorithm
egg-herbie
Counts
97 → 97
Iterations

Useful iterations: 0 (44.0ms)

IterNodesCost
049811182
149811182

prune210.0ms

Filtered
60 candidates to 97 candidates (-61.7%)
Pruning

11 alts after pruning (9 fresh and 2 done)

PrunedKeptTotal
New97097
Fresh099
Picked011
Done011
Total9711108

Merged error: 2.3b

Counts
108 → 11

localize30.0ms

Local error

Found 4 expressions with local error:

1.2b
(sqrt (* (cbrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0))) (cbrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))))
3.3b
(cbrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))
3.3b
(cbrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))
3.3b
(cbrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))

rewrite39.0ms

Algorithm
rewrite-expression-head
Rules
19×*-un-lft-identity
18×cbrt-div
15×cbrt-prod
12×pow1
sqrt-pow1 flip3-+ pow1/3 flip-+
sqrt-div
add-sqr-sqrt add-cube-cbrt
unpow-prod-down distribute-lft-out
add-exp-log frac-times add-cbrt-cube add-log-exp
associate-*r/ pow-prod-down associate-*l/ pow-sqr pow-prod-up
pow2 rem-sqrt-square pow-plus pow1/2 sqrt-prod
Counts
4 → 72
Calls
4 calls:
16.0ms
(sqrt (* (cbrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0))) (cbrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))))
7.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)))
7.0ms
(cbrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))

series118.0ms

Counts
4 → 12
Calls
4 calls:
30.0ms
(sqrt (* (cbrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0))) (cbrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))))
29.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)))
29.0ms
(cbrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))

simplify50.0ms

Algorithm
egg-herbie
Counts
84 → 84
Iterations

Useful iterations: 0 (39.0ms)

IterNodesCost
048791362
148791362

prune309.0ms

Filtered
59 candidates to 84 candidates (-42.4%)
Pruning

11 alts after pruning (8 fresh and 3 done)

PrunedKeptTotal
New84084
Fresh088
Picked011
Done022
Total841195

Merged error: 2.3b

Counts
95 → 11

regimes903.0ms

Accuracy

0% (1.3b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01516
11516

end0.0ms

sample6.2s

Algorithm
intervals
Results
4.1s3748×body1280valid
1.4s2060×body640valid
321.0ms712×body320valid
157.0ms1191×body80valid
83.0ms289×body160valid

Profiling

Loading profile data...