CSCE 235
Light
Bulb 1
January 22, 2003
1. Logic is very useful in many areas. For example, if you are building a circuit board with AND gates, OR gates, multiplexers, and so on, then you need to know how to use logic to plot out your design, to implement the transformation that you want to perform on the input to get the output. Another example is in Artificial Intelligence (AI). Suppose you want to build a machine (or a software program) that reasons. That is, given data or observations, a machine that can think and derive some conclusions for you. Logic provides for that. Logic is well-defined. It has laws that bring one proposition to the next. It allows reasoning to be specified in valid steps that are consistent and predictable. In this way, we can build machines that think logically to perform menial tasks or time-consuming thinking tasks for us. Logic is very useful in AI.
2. When you argue with another person, there are two things that you can attack; or when you are involved in a debate, there are two things that you can focus on: the hypotheses and the logic. Sometimes, the hypotheses or assumptions are correct but the logic is incorrect. For example, suppose the assumption is “If I do not study hard, I will not get an A in the class.” But if you infer from the assumption the following conclusion, “If I study hard, then I will get an A in the class.” Then it is logically incorrect. The assumption does not guarantee an A. All it guarantees is that if you don’t study hard, you will not get an A in the class. So, the conclusion may be true in some cases, but it is not logically correct. So, pay attention to your future arguments and debates. Pinpoint the assumptions and the logic. Is the logic sound? If not, then the arguments should not hold even if the conclusions are correct. Are the assumptions incorrect even though the logic is sound? Then, you switch your debate focus to the assumptions. And so on. Logic should sharpen your analytic skills. A conclusion that is false may be false because of incorrect assumptions, or because of bad logic. Remember that.
3. One popular branch of AI is expert systems. Expert systems are software systems that are able to perform tasks for experts, replacing the experts to some degree and thus automating some processes. Tasks such as classifications and diagnostics are popular. In a classification task, the goal is to look at the input data, and classify them into some classes. In a diagnostic task, the goal is to look at the symptoms, and then find out the cause. In classification, the reasoning is forward. In diagnosis, the reasoning is backward. These expert systems usually end up using some sort of a variant of the formal prepositional logic. In the backward reasoning, for example, the contrapositive law is often not observed.
4. In the real world, you will encounter many types of logic. Fuzzy logic, for example. Do not be intimidated by them. The fundamental advantage of logic is that it defines a set of structures and a set of permissible, valid “moves” that allows you to traverse from one structure to another. It’s like a map of cities and the highways connecting the cities, where cities are the structures and the highways are the logical moves.
5. In Star Trek (the movie and the TV series), Spock the Vulcan is a being who thinks logically. That is, given assumptions, he can derive the proper conclusions without irrational or emotional considerations. So, in a way, we can say being logical is to be rational and not emotional. However, we can deal with emotions or irrationality with logic as well! If we know our decision-making or reasoning process is going to be emotional, then we can model that into our logic! So, being logical does not necessarily preclude you from considering emotional. You may still be logical as long as you are aware that you are being emotional!