Proof. Previously... Art Communicates Subjective, Qualitative Science Establishes Facts Objective, Quantitative, Reproducible Experiments Proofs Game.

Slides:



Advertisements
Similar presentations
Introduction to Proofs
Advertisements

Lecture 2 Based on Chapter 1, Weiss. Mathematical Foundation Series and summation: ……. N = N(N+1)/2 (arithmetic series) 1 + r+ r 2 + r 3 +………r.
Proofs, Recursion and Analysis of Algorithms Mathematical Structures for Computer Science Chapter 2 Copyright © 2006 W.H. Freeman & Co.MSCS SlidesProofs,
Lecture 3 Outline: Thurs, Sept 11 Chapters Probability model for 2-group randomized experiment Randomization test p-value Probability model for.
SEQUENCES and INFINITE SERIES
A. What is Proof? Math 20: Foundations FM20.2
Tutorial 6 of CSCI2110 Bipartite Matching Tutor: Zhou Hong ( 周宏 )
Critical Thinking: Chapter 10
Induction and recursion
CS 454 Theory of Computation Sonoma State University, Fall 2011 Instructor: B. (Ravi) Ravikumar Office: 116 I Darwin Hall Original slides by Vahid and.
So far we have learned about:
CS 454 Theory of Computation Sonoma State University, Fall 2011 Instructor: B. (Ravi) Ravikumar Office: 116 I Darwin Hall Original slides by Vahid and.
Proofs, Recursion and Analysis of Algorithms Mathematical Structures for Computer Science Chapter 2.1 Copyright © 2006 W.H. Freeman & Co.MSCS SlidesProofs,
Need to know in order to do the normal dist problems How to calculate Z How to read a probability from the table, knowing Z **** how to convert table values.
Introduction to Proofs ch. 1.6, pg. 87,93 Muhammad Arief download dari
CSE115/ENGR160 Discrete Mathematics 03/29/11 Ming-Hsuan Yang UC Merced 1.
TR1413: Discrete Mathematics For Computer Science Lecture 1: Mathematical System.
Survey of Mathematical Ideas Math 100 Chapter 1 John Rosson Thursday January 18.
Statistical Methods For Engineers ChE 477 (UO Lab) Larry Baxter & Stan Harding Brigham Young University.
C OURSE : D ISCRETE STRUCTURE CODE : ICS 252 Lecturer: Shamiel Hashim 1 lecturer:Shamiel Hashim second semester Prepared by: amani Omer.
Methods of Proof & Proof Strategies
Hypothesis Testing.
Towers of Hanoi. Introduction This problem is discussed in many maths texts, And in computer science an AI as an illustration of recursion and problem.
A Brief Summary for Exam 1 Subject Topics Propositional Logic (sections 1.1, 1.2) –Propositions Statement, Truth value, Proposition, Propositional symbol,
Experiments & Statistics. Experiment Design Playtesting Experiments don’t have to be “big”--many game design experiments take only 30 minutes to design.
Evidence Based Medicine
STA Lecture 161 STA 291 Lecture 16 Normal distributions: ( mean and SD ) use table or web page. The sampling distribution of and are both (approximately)
Introduction to Proofs
Reading and Writing Mathematical Proofs
Introduction to Proofs
Copyright © 2012 by Nelson Education Limited. Chapter 7 Hypothesis Testing I: The One-Sample Case 7-1.
MATH 224 – Discrete Mathematics
Section 8.1 Estimating  When  is Known In this section, we develop techniques for estimating the population mean μ using sample data. We assume that.
Section 1.8. Section Summary Proof by Cases Existence Proofs Constructive Nonconstructive Disproof by Counterexample Nonexistence Proofs Uniqueness Proofs.
8 th Grade Math Common Core Standards. The Number System 8.NS Know that there are numbers that are not rational, and approximate them by rational numbers.
Art and Science. Art Goal: Communicate Human perception and aesthetics Grounded in Science Admits Qualitative and Subjective elements ConcreteAbstract.
1 Section 1.1 A Proof Primer A proof is a demonstration that some statement is true. We normally demonstrate proofs by writing English sentences mixed.
1 Sections 1.5 & 3.1 Methods of Proof / Proof Strategy.
Chapter 2 Mathematical preliminaries 2.1 Set, Relation and Functions 2.2 Proof Methods 2.3 Logarithms 2.4 Floor and Ceiling Functions 2.5 Factorial and.
Methods of Proof Lecture 3: Sep 9. This Lecture Now we have learnt the basics in logic. We are going to apply the logical rules in proving mathematical.
Games. Adversaries Consider the process of reasoning when an adversary is trying to defeat our efforts In game playing situations one searches down the.
Mathematical Induction I Lecture 4: Sep 16. This Lecture Last time we have discussed different proof techniques. This time we will focus on probably the.
Experimental Design and Analysis Instructor: Mark Hancock February 8, 2008Slides by Mark Hancock.
1 1-1 Patterns and Inductive Reasoning Objectives: Define: –Conjectures –Inductive reasoning –Counterexamples Make conjectures based on inductive reasoning.
Discrete Structures & Algorithms More on Methods of Proof / Mathematical Induction EECE 320 — UBC.
CompSci 102 Discrete Math for Computer Science March 1, 2012 Prof. Rodger Slides modified from Rosen.
1 INFO 2950 Prof. Carla Gomes Module Induction Rosen, Chapter 4.
1 G Lect 7a G Lecture 7a Comparing proportions from independent samples Analysis of matched samples Small samples and 2  2 Tables Strength.
Method of proofs.  Consider the statements: “Humans have two eyes”  It implies the “universal quantification”  If a is a Human then a has two eyes.
Year 9 Proof Dr J Frost Last modified: 19 th February 2015 Objectives: Understand what is meant by a proof, and examples.
Nirmalya Roy School of Electrical Engineering and Computer Science Washington State University Cpt S 223 – Advanced Data Structures Math Review 1.
Properties of Real Numbers
Mathematical Induction
ECE 8443 – Pattern Recognition ECE 8527 – Introduction to Machine Learning and Pattern Recognition Objectives: Statistical Significance Hypothesis Testing.
CS104:Discrete Structures Chapter 2: Proof Techniques.
1 2/21/2016 MATH 224 – Discrete Mathematics Sequences and Sums A sequence of the form ar 0, ar 1, ar 2, ar 3, ar 4, …, ar n, is called a geometric sequence.
Models of Computation: Automata and Formal Languages Sam M. Kim.
Introduction to Proofs
Chapter 5. Section 5.1 Climbing an Infinite Ladder Suppose we have an infinite ladder: 1.We can reach the first rung of the ladder. 2.If we can reach.
Mathematical Induction I Lecture 5: Sep 20 (chapter of the textbook and chapter of the course notes)
Section 1.7. Definitions A theorem is a statement that can be shown to be true using: definitions other theorems axioms (statements which are given as.
Reading and Writing Mathematical Proofs Spring 2016 Lecture 2: Basic Proving Techniques II.
Mathematical Induction Thinking Skill: Develop Confidence in Reason Warm Up: Find the k+1 term (P k+1 ) 1) 2)
Notions & Notations - 1ICOM 4075 (Fall 2010) UPRM Department of Electrical and Computer Engineering University of Puerto Rico at Mayagüez Fall 2010 ICOM.
Section 1.7. Section Summary Mathematical Proofs Forms of Theorems Direct Proofs Indirect Proofs Proof of the Contrapositive Proof by Contradiction.
1.2 Reasoning Mathematically Two Types of Reasoning Remember to Silence Your Cell Phone and Put It in Your Bag!
Lecture 2: Proofs and Recursion. Lecture 2-1: Proof Techniques Proof methods : –Inductive reasoning Lecture 2-2 –Deductive reasoning Using counterexample.
The Foundations: Logic and Proofs
Induction and recursion
CS 220: Discrete Structures and their Applications
Presentation transcript:

Proof

Previously... Art Communicates Subjective, Qualitative Science Establishes Facts Objective, Quantitative, Reproducible Experiments Proofs Game Design Unifies Both

Experiments Design Measure appropriate value Avoid bias Analysis Sample (m, s) vs. population (μ, σ) statistics Confidence that μ is within m ± t*s Percentage of population within μ ± k*σ

Example

The Magistrates ‘A’-level mechanics analysis Brief summary of rules (2 pages w/pics) Introduces terminology ‘feature’, ‘completed’, ‘follower’ Uses technical language ‘finite’, ‘score’, ‘connected’, ‘adjacent’

Analysis Techniques Define Terms ‘trivially bad’, ‘strategic complexity’ Experimental Evidence Section 3.5: Play Time Proof Section using math Section using text Argument & Discussion Section 3.2: Random Tile Distribution Section 3.6: Adjusted Point Awards

Experimental Evidence Read Section 3.5 Outliers What does t = mean? m-ts < μ < m+ts Where did equation for s Δ come from? Variance of a sum or difference is the sum of the variances (CG ch. 9) Why prove that 0 < μ Δ with high probability? If the difference of the before and after sample times is likely greater than zero, then it is likely that the after time truly is less than the before time; this proves that the mod really makes the game shorter.

Proof Example Read section of The Magistrates Uses no math symbols! Proves a (weak) bound on the change in complexity Actual case was too hard, so bounds are the best we can do Follows up in with arguments (but not proof) for a stronger result

Proof Proof or Derivation Experimental Evidence (Persuasive Argument) Fact Opinion Historical Observation

Vocabulary Theorem: statement you’re trying to prove. e.g., “Players are more likely to draw city tiles than road tiles in Carcassonne” “Checkers is a fair game” Axiom: unproven theorems that we take as given parts of our mathematics. e.g., If a > b and b > c, then a > c Assumption: something that you’ll pretend is true throughout the proof; if it turns out to not be true then your proof does not hold. Proof: Sequence of individually “obvious” statements that reduce the theorem statement to a known true statement.

Techniques Some common proof structures: Exhaustion Induction Derivation Contradiction Reduction Methods for simplifying complex cases: Bounding Approximation Game problems are so complex that we frequently have to rely on the bold techniques

Exhaustion Go through every possible case and show that it follows your theorem This does not work for large or variable-size problems! Examples: “There are more city tiles than road tiles in Carcassonne” “No hex in Through the Desert is more than 2 hexes from a water feature”

Exercise

Induction Induction Axiom: A theorem holds for n > k if it can be proven for n = k and can be proven for n = m + 1 by assuming that it is true for n = m.

Exercise Theorem: “The expected value of 1dn is (n+1)/2 for n >= 1” Approach: 1. Prove that E[1d1] = (1+1)/2 2. Assume that E[1dm] = (m+1)/2 and prove that E[1d(m+1)] = (m+1+1)/2

Induction Exercise Theorem: “The expected value of 1dn is (n+1)/2 for n >= 1” a) E[1d1] = 1 * P(x = 1) = 1 * 1 = 1 i.e., definition of expected value 1 = (1+1)/2, therefore the theorem holds for n = 1 b) Assume E[1dm] = (m+1)/2 E[1d(m+1)] = E[1dm] * m/(m+1) + (m+1)*P(x = m+1) i.e., the summation for m+1 contains only one more term = (m+1)/2 * m/(m+1) + (m+1)*1/(m+1) = m/2 + 1 = (m+1) + 1) / 2, therefore the theorem holds for n = m + 1 By induction, the theorem is true.

Derivation In some cases we want to directly derive the solution rather than proving properties about it. Examples: Number n-player rounds in a Carcassonne game = 71 / n Minimum round-trip latency using UDP: t = 2 * [ encode time + transmit time] = 2 * [ number of bits / (bits/sec encode) + distance / (propagation rate)]

Dirty Secret Run the derivation backwards and it is a proof.

Example The Magistrates, section : Derivation Example 3.3.2: Proof Example Induction using derivation for the 2nd part

Contradiction Prove that the opposite of the statement is false

Reduction Show that this is equivalent to a previously solved problem Example: Magic 15 Game

“Magic 15” 1. Place cards with numbers face up 2. Two players take turns drawing one card each 3. First player with three cards that sum to exactly 15 wins Theorem: Magic 15 is fair and always ends in a draw with perfect play.

Proof by Reduction Theorem: Magic 15 is fair and always ends in a draw with perfect play. Proof: Arrange the 9 cards in the magic square shown on the right Drawing a card is equivalent to “marking” one grid cell of the magic square Only rows, columns, and diagonals sum to exactly 15, so winning requires marking one of those The above two rules describe Tic-Tac-Toe, so Magic 15 reduces to Tic-Tac-Toe Tic-Tac-Toe is fair and always ends in a draw.

Bounding Solve two simpler problems, whose results must be bigger and smaller, thus proving that the result for the original problem lies between them. Example: The Magistrates section This is weaker than finding an exact solution

Approximation Solve a simpler problem and then prove (or argue) that the difference in result from the simplification is bounded. This is generally weaker than bounding, and is at best equivalent to it Example: The Magistrates, section 3.3 “For simplicity, assume that all tiles are unique...our evaluation of U will be an upper bound.”