Nepedia
Back to Discover
Fluent Reader
🔢

Rule of inference

math Maturity 11-13 Next article →

Imagine you are solving a mystery. You have a few clues that you know are true. Based on these clues, you can make a smart guess about what happened. In logic, these clues are called premises. The smart guess you make is called a conclusion.

Modus ponens2
Modus ponens2

A rule of inference is a special way to connect these clues to your conclusion. These rules act like a guide for correct thinking. If your clues are true and you follow a rule of inference, your conclusion must also be true. This makes your argument valid. It is like a machine that takes true facts as input and always gives a true answer as output.

There are different ways these rules work. Some rules are called rules of implication. These only work in one direction. For example, if you know "If it rains, then the ground is wet" and you know "It rains," you can conclude "The ground is wet."

Modus ponens & affirming the consequent
Modus ponens & affirming the consequent

However, you cannot go backward from the wet ground to prove it rained. Other rules are called rules of replacement. These are different because they work in both directions. They tell you that two different ways of saying something are actually equal. You can swap one for the other whenever you want. This helps you change the way a statement looks without changing what it means.

People have been studying these patterns for a very long time. One of the earliest discussions of these rules comes from ancient times. The philosopher Aristotle wrote about them in his work on logic.

Aristotle Altemps Inv8575
Aristotle Altemps Inv8575

Later, during the middle ages and the early modern period, thinkers continued to refine these ideas. In the 1800s, a mathematician named George Boole made huge contributions. He helped create symbolic logic, which uses symbols instead of just words.

PSM V17 D740 George Boole
PSM V17 D740 George Boole

This helped people write down logical patterns very precisely. In the 1900s and 2000s, logicians created even more systems to explore different kinds of reasoning.

Logicians use different systems to organize these rules. Propositional logic is one common system. It looks at how simple statements can be joined together using words like "not," "and," or "if...then."

Wismar Marienkirche Bronzebüste Gottlob Frege (01-1)
Wismar Marienkirche Bronzebüste Gottlob Frege (01-1)

Another system is called first-order logic. This system is more detailed because it looks at the internal parts of a statement, like names and descriptions. There are also other systems that look at what is possible or what people believe. Some systems, like natural deduction, try to copy the way humans naturally think. Other systems, like Hilbert systems, use a very small and simple set of rules to build everything else.

These rules are not just for philosophers. They are very important in the world of math. Mathematicians use rules of inference to build proofs. A proof is a series of steps that shows a new idea is definitely true.

Modus ponens2
Modus ponens2

Rules of inference are also used in computer science. They help with automated reasoning, which is how computers solve problems on their own. Even psychologists study these rules. They want to understand how the human mind uses these patterns to think and learn. Whether in a math book or a computer chip, these rules help us find the truth.

522 words

Where will your curiosity go next?

Keep exploring at your chosen reading level.

🖼️ Images & Media (5)
File:Modus ponens2.svg
Modus ponens2.svg
File:PSM V17 D740 George Boole.jpg
PSM V17 D740 George Boole.jpg
File:Wismar Marienkirche Bronzebüste Gottlob Frege (01-1).JPG
Wismar Marienkirche Bronzebüste Gottlob...
File:Aristotle Altemps Inv8575.jpg
Aristotle Altemps Inv8575.jpg
File:Modus ponens & affirming the consequent.svg
Modus ponens & affirming the consequent.svg
More to explore

🔬 Go deeper

More advanced topics to explore

🪜 Step back

Simpler topics to build understanding

What is Nepedia?

A free, ad-free encyclopedia for children. Every article is written at five reading levels, so the same page works for a five-year-old and a fifteen-year-old — use the level switcher above to see this one change. No account needed to read.