+ Reply to Thread
Page 1 of 2 12 LastLast
Results 1 to 10 of 11

Thread: Logic For Dummies

  1. #1
    Wire Sofaking Officer Tibbles's Avatar
    Join Date
    Aug 2008
    Location
    Barnus Philbert Boulevard
    Posts
    867

    Arrow Logic For Dummies

    Introduction

    This tutorial is design to teach you how to "Think" wire and not "Build" wire. What I mean my this is that you should be able to create your own contraptions and code based on logic, rather than copying down instructions on how to build that turret you want.

    This is a novice guide that will teach beginners how to use the most of your brain to build machines and devices on your own. Nevertheless, this is a good guide for anybody.

    Definition
    As defined by Wikipedia,

    Logic is the study of the principles of valid demonstration and inference. Logic is a branch of philosophy, a part of the classical trivium.
    In layman's terms, it is the process of thought that solves problems and make's us think to do before we act.

    Terminology
    Theorem: A statement that is true in all situations that pertain to it
    Circularity: Another word's definition can not be used in a definition. (For Example,
    Def. Chocolate Chip Cookie can not be, a cookie with chocolate in it. It has to something like, a soft dough pastry that includes chocolate chips within it's structure.)
    Statement: A logic sentence



    Principles

    Form ~ Almost all of logic is based in form. Structure is the key to logic and is pretty much required for it to work. There are some forms of non-formal logic that include Informal Logic, Symbol Logic, and Mathematical Logic (Which is pretty much Symbolic Logic)

    Consistency ~ No Theorems have an effect on another Theorem
    Soundness ~ All Statements are true
    Completeness ~ No True statement can be used to prove a system. (Circularity)

    Statements

    Conditional
    Code:
    If P, Then Q
    P is an action, like You live in San Diego.
    Q is a consequence, like You like Mexican food.

    With that said, it flows together like this.
    Code:
    If you live in San Diego, then you like Mexican food.
    Converse
    The same as a condition, but in reverse

    Code:
    If you like Mexican food, then you live in San Diego.
    Even if the converse is true, it's result has no affect of whether the Conditional is true or false, but does ultimately prove the statement false.

    *Remember, Conditional is not being referred to as the "Conditional Statement", but as a PART of the Statement. <- Clarification

    In order for a statement to be true, both the Conditional and the Converse MUST be true.

    Here's some advanced statements.

    Contrapositive

    Code:
    If NOT P, Then NOT Q
    With that said, it would look something like this

    Code:
    If you DON'T live in San Diego, you DON'T like Mexican food.
    This too does not have to be true, it's just a way of thought.

    Wiremod

    Just about every bit of wiremod is made of, if not all, Logic.

    Almost all of wire consists of this structure.

    Code:
    Take "A", Preform fuction "B":: Output "C"
    In context, you take the Bearing of the target, add 30, then output (Bearing+30) to make an object circle around that target.

    For use in most of the Indicator and Physics parts of wire, they use a On / Off function.

    Code:
    If A is equal to 1, Then the lamp will turn On.
    Using what we learned before, we can conclude that,

    Code:
    If the lamp is On, Then A is equal to 1.
    And using the Contrapostive, we can ultimately say that

    Code:
    If A DOES NOT equal 1, Then the Lamp WILL NOT be On.
    Gates

    Gates use a similar form of logic, that is not quite If, Then.

    Gates use a form where you take Cookie "A", Do something to it to make it better, then output Cookie "B".

    If you were to have an add chip, you would take the input of A, add it to Input B(And to how ever many you Input) , then outputs the total answer.

    All gates (Except CPU and Expression) use this form.

    Expression 1
    Expression one uses this exact form of Logic, along with some other functions like Assignment.

    Expression follows this form.
    *-> is the same as Then.

    Code:
    If A = B -> C = D;
    Or using the example I used before.

    Code:
    I@ A
    O@ LampOn
    #This is the Conditional
    If A == 1 -> LampOn = 1; #Remember to use a semicolon (;) to end your conditionals.
    
    #This is the use of a Contrapositive to make sure the light is never on when A is not 1
    If A != 1 -> LampOn = 0; # != means DOES NOT equal.
    Expression 2
    Expression 2 uses the same form of Logic as E1, but with a different Syntax. A Syntax is a form of writing, to say.

    E2 uses the form of
    Code:
    if(A==1) {B=C}
    The first part of if(A==1), that is essentially the same as P.
    The later part of {B=C} is the same as Q.

    So

    Code:
    if(P) {Q}
    Post Script

    This tutorial is not complete and will be added too as time goes by. Feel free to post anything that you wish to be added, and I will work it in. Especially the Wiremod part. It is late and this is all I could come up with at the momemt.
    Last edited by Officer Tibbles; 12-24-2008 at 01:17 PM.

  2. #2
    Wirererer chiss's Avatar
    Join Date
    Feb 2008
    Posts
    207

    Default Re: Logic For Dummies

    Oh god this reminds me of a terrible first lecture i had in Mathematics for Computer Science.... D:



  3. #3
    Wire Weeaboo Pyro-Fire's Avatar
    Join Date
    Aug 2007
    Location
    WA, Australia
    Posts
    1,804

    Default Re: Logic For Dummies

    if you actually intended on this being targeted for dummies, you wouldn't use such complex sentences that don't even make sense to me.

    after reading this over a few times:
    Neither of these have to be true, but the Converse's True/False DOES NOT affect the overall truth of the statement.
    i still don't understand what it means, or what you are referring to.
    Last edited by Pyro-Fire; 12-24-2008 at 12:51 AM.



  4. #4
    Wirererer Free Fall's Avatar
    Join Date
    Dec 2007
    Location
    Got digitalized and now lives in his PC's RAM
    Posts
    349

    Default Re: Logic For Dummies

    I think what this sentence means, is that the result of the Converse doesn't matter at all for the original statement. So even if the Converse is true, that doesn't mean the original Conditional has to be true too.
    Needz moar Lua

  5. #5
    Wire Weeaboo Pyro-Fire's Avatar
    Join Date
    Aug 2007
    Location
    WA, Australia
    Posts
    1,804

    Default Re: Logic For Dummies

    ..but in his example, it is true, nor can i think of a situation where it is different from the original statement.



  6. #6
    Wire Sofaking Officer Tibbles's Avatar
    Join Date
    Aug 2008
    Location
    Barnus Philbert Boulevard
    Posts
    867

    Default Re: Logic For Dummies

    Quote Originally Posted by Free Fall View Post
    I think what this sentence means, is that the result of the Converse doesn't matter at all for the original statement. So even if the Converse is true, that doesn't mean the original Conditional has to be true too.
    100% absolutely true

    Sorry if it doesn't come off as being for "Dummies", I tried to simplify this the best that I could.

    Thanks for pointing that out, I will revise.

    And, Pyro-Fire

    ..but in his example, it is true, nor can i think of a situation where it is different from the original statement.
    And my example is

    If you wear tight pants, then you ride a skateboard.
    Umm girls that don't ride skateboards, wear tight pants most of the time?

    And please don't be sarcastic if your trying to help me. ^_^
    Last edited by Officer Tibbles; 12-24-2008 at 01:08 AM.

  7. #7
    Spucatum Tauri Bull's Avatar
    Join Date
    Jun 2008
    Location
    Finland
    Posts
    6,009

    Default Re: Logic For Dummies

    In my humble opinion:

    I was assuming it would teach how to use wire.
    Now you only throw a lot of difficult words at the reader.

    Use simple stuff to explain what you mean.
    With a skateboard and your pants isn't really close to the subject.

    A good tutorial should have useful examples.
    After reading this the reader hasn't learned anything practical.
    You don't need to know the names like Theorem, Circularity.

    Start with simple stuff like a lamp and a button, explain the logic behind that.
    In simple language

    Explain how you should think using wire.

    That were mine two cents.
    My signature has a point.
    Quote Originally Posted by Squeakyneb View Post
    when l3ulletje says do it, do it.
    That

    Quote Originally Posted by Anticept View Post
    By the way, Bull is in charge.

  8. #8
    Wire Amateur xshadow2468's Avatar
    Join Date
    Sep 2008
    Posts
    53

    Default Re: Logic For Dummies

    lol @ if you skateboard you wear tight pants
    IGN: Pillsbury

  9. #9
    Wire Sofaking Officer Tibbles's Avatar
    Join Date
    Aug 2008
    Location
    Barnus Philbert Boulevard
    Posts
    867

    Default Re: Logic For Dummies

    Quote Originally Posted by l3ulletje View Post
    Explain how you should think using wire.
    I actually intended to teach the reader to use Logic to "Think" wire, not build it.

    I love your suggestions and I have added them.

    Please take note that the first part under "Introduction" is to teach the reader Logic and nothing to do with Wiremod.

    The later part titled "Wiremod" is to tie the knot between Wire and real life Logic.

    With that said, I will try to tone down the vocabulary.

  10. #10
    Spucatum Tauri Bull's Avatar
    Join Date
    Jun 2008
    Location
    Finland
    Posts
    6,009

    Default Re: Logic For Dummies

    Quote Originally Posted by Officer Tibbles View Post

    Definition
    As defined by Wikipedia,

    In layman's terms, it is the process of thought that solves problems and make's us think to do before we act.

    Terminology
    Theorem: A statement that is true in all situations that pertain to it
    Circularity: Another word's definition can not be used in a definition. (For Example,
    Def. Chocolate Chip Cookie can not be, a cookie with chocolate in it. It has to something like, a soft dough pastry that includes chocolate chips within it's structure.)
    Statement: A logic sentence



    Principles

    Form ~ Almost all of logic is based in form. Structure is the key to logic and is pretty much required for it to work. There are some forms of non-formal logic that include Informal Logic, Symbol Logic, and Mathematical Logic (Which is pretty much Symbolic Logic)

    Consistency ~ No Theorems have an effect on another Theorem
    Soundness ~ All Statements are true
    Completeness ~ No True statement can be used to prove a system. (Circularity)
    In my humble opinion:
    I think you should get rid of that whole part for now.
    It adds nothing and only scares your reader away.
    As example:

    I want to learn you how to pick an apple from an appletree.
    Then I don't start to cover you with the scientific terms of different types of ladders, the right angle of the ladder and the latin name for apple tree.

    It won't bring your student any closer to actually getting up the stairs and pick the apple.

    But I explain how to do it and why..
    Why does the light go on?
    Why does the button need to be toggled?
    How does the lamp communicate with the button?
    My signature has a point.
    Quote Originally Posted by Squeakyneb View Post
    when l3ulletje says do it, do it.
    That

    Quote Originally Posted by Anticept View Post
    By the way, Bull is in charge.

+ Reply to Thread
Page 1 of 2 12 LastLast

Similar Threads

  1. ZCPU Tutorial for Dummies
    By CCFreak2K in forum CPU, GPU, and Hi-speed Discussion & Help
    Replies: 8
    Last Post: 10-10-2008, 02:35 PM
  2. Wire dummies and disposers (working titles)
    By shadowrath in forum Ideas & Suggestions
    Replies: 18
    Last Post: 07-08-2008, 02:48 AM
  3. Logic Gate models
    By jonty-comp in forum Ideas & Suggestions
    Replies: 4
    Last Post: 05-11-2008, 01:39 PM
  4. None of my logic tools work
    By 04ihegba in forum Installation and Malfunctions Support
    Replies: 5
    Last Post: 01-06-2008, 05:08 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
proceed-collector
proceed-collector
proceed-collector
proceed-collector
linguistic-parrots
linguistic-parrots
linguistic-parrots
linguistic-parrots