Logical proof


A logical proof is a proof that shows an argument is valid by using logic laws and rules of inference to go from hypotheses to conclusion while preserving truth. The format of a logical proof differs from that of all other proofs, as you'll see below.

Logical proofs take the form of a table with numbered rows, a proposition column, and a justification column. First, understand what the hypotheses and conclusion of the argument are. Then, introduce the hypotheses into the first few rows, each with the justification "Hypothesis". From there, you can freely use logic laws and rules of inference to obtain new propositions that bring you closer to the conclusion. Make sure to justify each step, mentioning the name of which law or rule brought you to that proposition, as well as the row(s) it was applied to.

1. Proposition Hypothesis
2. Proposition Hypothesis
3. Proposition Hypothesis
4. Proposition Modus ponens (1, 2)
5. Proposition Hypothetical syllogism (3, 4)
⚠ Once a step has been justified, the justified proposition is known to be true. This allows you to use it as a hypothesis for a rule of inference! To speak more broadly, every justified proposition in a logical proof is true. So, never hesitate to use a proposition from a previous row because it's supposedly too far away... it's always in your toolkit.
Logic & Proofs
IntegerRational numberInequalityReal numberTheoremProofStatementProof by exhaustionUniversal generalizationCounterexampleExistence proofExistential instantiationAxiomLogicTruthPropositionCompound propositionLogical operationLogical equivalenceTautologyContradictionLogic lawPredicateDomainQuantifierArgumentRule of inferenceLogical proofDirect proofProof by contrapositiveIrrational numberProof by contradictionProof by casesSummationDisjunctive normal form
Set Theory
SetElementEmpty setUniversal setSubsetPower setCartesian productStringBinary stringEmpty stringSet operationSet identitySet proof
Functions
FunctionFloor functionCeiling functionInverse function
Algorithms
AlgorithmPseudocodeCommandAsymptotic notationTime complexityAtomic operationBrute-force algorithm
Relations
RelationReflexive relationSymmetric relationTransitive relationRelation compositionEquivalence relationEquivalence class
Number Theory
Integer divisionLinear combinationDivision algorithmModular arithmeticPrime factorizationGreatest common divisorLeast common multiplePrimality testFactoring algorithmEuclid's theoremPrime number theoremEuclidean algorithm
Induction
Proof by inductionFibonacci sequenceProof by strong inductionWell-ordering principleSequenceFactorialRecursive definition
Combinatorics
Rule of productRule of sumBijection rulePermutationCombinationComplement ruleExperimentOutcomeSample spaceEventProbabilityProbability distributionUniform distributionMultisetSixfold wayInclusion-exclusion principlePigeonhole principle
Graph Theory
GraphWalkSubgraphRegular graphComplete graphEmpty graphCycle graphHypercube graphBipartite graphComponentEulerian circuitEulerian trailHamiltonian cycleHamiltonian pathTreeHuffman treeSubstringForestPath graphStarSpanning treeWeighted graphMinimum spanning treeGreedy algorithmPrim's algorithm
Recursion
RecursionRecursive algorithmCorrectness proofDivide-and-conquer algorithmSorting algorithmMerge sort