Week 9
For some reason the contents this week seemed to make more sense to me than last.
At first I was a little bit confused on what and how to do these proofs and I was little confused with the idea of over and under-estimating certain terms when doing this. But all in all it's just really showing for what values of f(n) that is greater than (for big-O) or less than (for delta), therefore we can just overestimate/underestimate and omit certain values to make the equality still true. Proofs with complexity I find is not as bad as I've heard it to be. It seemed to have made more sense when not dealing with the amount of steps in a piece of code (for me at least).
Thursday 28 March 2013
Week 8
So this week we continue doing more of the complexity stuff but this time we introduce proofs into them.
The stuff on proofs using complexity I find is rather confusing. I find it the main problem for me is how to come up with a general expression from a piece of code.
Next, we did stuff on slicing and how it would affect run time. I am actually still rather confused about how the idea of how certain run times work and how many steps are involved in this. And as stated above I find it confusing to form a general expression for number of steps for a piece of code.
So this week we continue doing more of the complexity stuff but this time we introduce proofs into them.
The stuff on proofs using complexity I find is rather confusing. I find it the main problem for me is how to come up with a general expression from a piece of code.
Next, we did stuff on slicing and how it would affect run time. I am actually still rather confused about how the idea of how certain run times work and how many steps are involved in this. And as stated above I find it confusing to form a general expression for number of steps for a piece of code.
Week 7
Reading week was nice and only another half a semester to go. However, remaining of the semester I heard is rather difficult when we begin to do proofs with complexity.
So this week, we finished off the using proofs structures and were introduced a new way called proof by cases. My first thoughts on this was it really wasn't that difficult. It was really simply proofing a certain claim for more than one cases but in one statement. So overall, the proofs I feel relatively fine with.
For rest of the week, we began determining the run time of certain code (otherwise called complexity). I'm still rather slow on how many steps and what is meant by the upper bound and lower bound when doing these; so I am rather a little bit scared for this in the future.
Reading week was nice and only another half a semester to go. However, remaining of the semester I heard is rather difficult when we begin to do proofs with complexity.
So this week, we finished off the using proofs structures and were introduced a new way called proof by cases. My first thoughts on this was it really wasn't that difficult. It was really simply proofing a certain claim for more than one cases but in one statement. So overall, the proofs I feel relatively fine with.
For rest of the week, we began determining the run time of certain code (otherwise called complexity). I'm still rather slow on how many steps and what is meant by the upper bound and lower bound when doing these; so I am rather a little bit scared for this in the future.
Saturday 2 March 2013
Week 6
And now for the fun part. From doing proof structures, now we begin the actually proofs themselves.
So far this week, the professor has showed us the basic ideas of how to prove a certain proof. The proofs themselves really are just a bunch of algebraic manipulations to make the antecedent and consequent the same; which seems relatively easy for now. Some of the other things we started was using the contrapositive to prove a claim because it simplifies proving the claim as opposed to using direct proof (solving the proof as it is on the question). We also started slightly on the proof structures for the existential. Like the universal proofs, the structure is rather very simple to follow and as for the proofs for the existential, we get to set variable(s) -- which shows that it is in domain -- then substitute that variable into the claim and show that claim is true.
Some of the proof stuff is rather strange, because we need to define certain words when proving a claim. For example, in certain proof it is necessary to show that the definition of an odd number is n = 2k + 1. But as for the proofs so far, they seem a little bit understandable but I'm not so confident in my abilities to solve them.
And now for the fun part. From doing proof structures, now we begin the actually proofs themselves.
So far this week, the professor has showed us the basic ideas of how to prove a certain proof. The proofs themselves really are just a bunch of algebraic manipulations to make the antecedent and consequent the same; which seems relatively easy for now. Some of the other things we started was using the contrapositive to prove a claim because it simplifies proving the claim as opposed to using direct proof (solving the proof as it is on the question). We also started slightly on the proof structures for the existential. Like the universal proofs, the structure is rather very simple to follow and as for the proofs for the existential, we get to set variable(s) -- which shows that it is in domain -- then substitute that variable into the claim and show that claim is true.
Some of the proof stuff is rather strange, because we need to define certain words when proving a claim. For example, in certain proof it is necessary to show that the definition of an odd number is n = 2k + 1. But as for the proofs so far, they seem a little bit understandable but I'm not so confident in my abilities to solve them.
Week 5
Here is where I hear things begin to get interesting. The beginning of proofs. Several of friends have told me that the content on proof is where things seem to get rather strange.
My thoughts so far on the introduction of proof is rather simple; we started the small details of proofs such as writing them with structure first to get the hang of them before actually proving certain claims. The basic idea of the proof structures are to assume certain parts of the claim such as the what set x (just a random variable) belongs to and the antecedent. This is to apparently introduce the set as well as the implication (which is written at the bottom from basic structuring) which is then eventually proves the consequent is true.
So far, so good but I am rather scared.
Here is where I hear things begin to get interesting. The beginning of proofs. Several of friends have told me that the content on proof is where things seem to get rather strange.
My thoughts so far on the introduction of proof is rather simple; we started the small details of proofs such as writing them with structure first to get the hang of them before actually proving certain claims. The basic idea of the proof structures are to assume certain parts of the claim such as the what set x (just a random variable) belongs to and the antecedent. This is to apparently introduce the set as well as the implication (which is written at the bottom from basic structuring) which is then eventually proves the consequent is true.
So far, so good but I am rather scared.
Subscribe to:
Posts (Atom)