Composition and Substitution: Learning about Language from Algebra Ken Presting University of North Carolina at Chapel Hill.

Slides:



Advertisements
Similar presentations
Chapter 0 Review of Algebra.
Advertisements

Chapter 1 Review In Algebra, we use symbols to stand for various numbers. One type of symbol used is a variable. An expression that contains at least one.
College Algebra Review Section 1 Objectives of this Section Classify Numbers Evaluate Numerical Expressions Work with Properties of Real Numbers.
A Quick Review of MTH070 Elementary Algebra Algebraic Notation Algebraic Properties & Simplifying Expressions Linear Equations, Formulas, & Inequalities.
A Quick Review of MTH060 Elementary Algebra I Algebraic Notation Algebraic Properties & Simplifying Expressions Linear Equations, Formulas, & Inequalities.
Activator 1. Evaluate y^2 / ( 3ab + 2) if y = 4; a = -2; and b = Find the value: √17 = 0.25 x 0 = 6 : 10 =
Algebra 1 Glencoe McGraw-Hill JoAnn Evans
Properties of Real Numbers Math 0099
A whole number or the quotient of any whole numbers, excluding zero as a denominator A whole number or the quotient of any whole numbers, excluding zero.
(2 + 1) + 4 = 2 + (1 + 4) Associative Property of Addition.
7.1 - Introduction To Signed Numbers
Copyright © Cengage Learning. All rights reserved.
Basic Concepts of Algebra
Sullivan Algebra and Trigonometry: Section R.1 Real Numbers Objectives of this Section Classify Numbers Evaluate Numerical Expressions Work with Properties.
Real Numbers and Algebraic Expressions
Chapter 1 Foundations for Algebra
Copyright © 2010 Pearson Education, Inc
Chapter 2 Review Algebra 1.
Algebraic Properties Learning Goal: The student will be able to summarize properties and make connections between real number operations.
Operations: Add, Subtract, Multiply, Divide
Multiplying and Dividing Real Numbers Objective: To multiply and divide real numbers.
Mathematical Properties Algebra I. Associative Property of Addition and Multiplication The associative property means that you will get the same result.
Math 002 College Algebra Final Exam Review.
Chapter 6 Polynomial Functions and Inequalities. 6.1 Properties of Exponents Negative Exponents a -n = –Move the base with the negative exponent to the.
Expressions, Equations, and Functions Chapter 1 Introductory terms and symbols: Algebraic expression – One or more numbers or variables along with one.
Objectives: To evaluate and simplify algebraic expressions.
Algebraic Expressions & Polynomials
+ Adding and Subtracting. + How do you add or subtract fractions?
Order in the Integers Characterization of the Ring of Integers.
Expressions, Equations, and Functions Chapter 1 Introductory terms and symbols: Variable – A letter or symbol to represent an unknown – Examples: Algebraic.
Introduction to Numerical Analysis I MATH/CMPSC 455 Binary Numbers.
P.1 Real Numbers. 2 What You Should Learn Represent and classify real numbers. Order real numbers and use inequalities. Find the absolute values of real.
Lesson 1 Using properties of real numbers. A set is a collection of objects  If all the members of one set are also members of a second set, then the.
Set A formal collection of objects, which can be anything May be finite or infinite Can be defined by: – Listing the elements – Drawing a picture – Writing.
Properties of Real Numbers List of Properties of Real Numbers Commutative Associative Distributive Identity Inverse.
Thinking Mathematically Number Theory and the Real Number System 5.5 Real Numbers and Their Properties.
Properties of Real Numbers The properties of real numbers allow us to manipulate expressions and equations and find the values of a variable.
MM150 Unit 3 Seminar Agenda Seminar Topics Order of Operations Linear Equations in One Variable Formulas Applications of Linear Equations.
Properties of Real Numbers The properties of real numbers allow us to manipulate expressions and equations and find the values of a variable.
Analyzing Equations and Inequalities Objectives: - evaluate expressions and formulas using order of operations - understand/use properties & classifications.
Chapter 2 Real Numbers and algebraic expressions ©2002 by R. Villar All Rights Reserved Re-engineered by Mistah Flynn 2015.
Properties of Addition & Multiplication. Before We Begin… What is a VARIABLE? A variable is an unknown amount in a number sentence represented as a letter:
(2 + 1) + 4 = 2 + (1 + 4) Associative Property of Addition.
Chapter 1. Introduction In this chapter we will: model relationships using variables, expressions, and equations. apply order of operations to simplify.
PROPERTIES OF REAL NUMBERS. COMMUTATIVE PROPERTY OF ADDITION What it means We can add numbers in any order Numeric Example Algebraic Example
1.2 Variables, Expressions, and Properties
by D. Fisher (2 + 1) + 4 = 2 + (1 + 4) Associative Property of Addition 1.
(2 + 1) + 4 = 2 + (1 + 4) Associative Property of Addition.
Algebra 2 Properties of Real Numbers Lesson 1-2 Goals Goal To graph and order real numbers. To Identity properties of real numbers. Rubric Level 1 –
Choose a category. You will be given the answer. You must give the correct question. Click to begin.
Introductory Algebra Glossary The Language of Math.
3.1 – Simplifying Algebraic Expressions
Properties of Real Numbers
The Mysterious World of Number Identity…
Rational Expressions with Like Denominators
A.2 Simplifying Simplify means combine Like Terms.
Properties of Real Numbers Math 0099
Basic Rules Of ALGEBRA.
Algebraic Properties.
Learning Resource Services
Algebra 1 Section 1.5.
Write out factors in expanded form.
Solving Equations: The Addition and Multiplication Properties
PROPERTIES OF ALGEBRA.
Copyright © Cengage Learning. All rights reserved.
Equivalent Fractions.
Turn in HW Date Page # Assignment Name Poss. Pts. 3/1 70
Properties of Numbers Lesson 1-3.
Properties of Real Numbers Math 0099
Equivalent Fractions.
Presentation transcript:

Composition and Substitution: Learning about Language from Algebra Ken Presting University of North Carolina at Chapel Hill

Introduction Intensional contexts are defined by substitution failure –Johnny heard that Venus is the Morning Star –Johnny heard that Venus is Venus Composition accounts for indefinite application of finite knowledge –‘p and q’ is a sentence –‘p and q and r’ is a sentence –…

Role of Recursion Syntax –Atomic symbols –Combination rules –Closure principle Finiteness –Limited symbols, rules –Infinitely many expressions

Compositional Semantics The usual: –Choose assignments to atoms –Forced valuations for molecules

The Two-Element Boolean Algebra The Truth Values Just two atomic objects: 2BA = {0, 1} –Disjunction = max(a, b) –Conjunction = min(a, b) –Negation = 1 – a

It’s almost familiar Boolean arithmetic –0  1 = 1 –0  1 = 0 Boolean algebra –A  B = C –(A  B)  ~C = C  ~C –(A  B)  ~C = 0

A Homomorphism to 2BA Take any old function that labels sentences with 0 or 1. For example: –f(S) = 0 –f(P  Q) = 1 –etc.

A Homomorphism to 2BA Ask: Does this function have the ‘distributive’ –a(b + c) = ab + ac –f(S  P) = f(S)  f(P) and ‘commutative’ properties? –ac = ca –f(~S) = ~f(S)

A Homomorphism to 2BA …is a compositional semantics for propositional calculus

Sentence Diagrams Tree diagrams –Binary –Associativity allows n-ary nodes (advanced topic: add leaves for empty expression)

Repetition Identical Subtrees –In many sentences, certain letters appear twice or more P & Q  P –Sometimes whole expressions recur (P & R)  (P & R)

Reducing the diagram Identify like-labeled leaves Identify like-labeled nodes Form equivalence classes Redraw tree as lattice –(advanced topics: empty expression as zero; quotient)

Set Membership Model Mapping sentences to sets –Set of letters = conjunction –Singleton set = negation –Associativity And vs. Nand –Naturalness of negation –Failure of associativity

Comparing lattices Embeddings Homomorphism

Substitution for a Letter Single-letter expressions –Every sentence is a substitution-instance of ‘P’ –Substitution for single letters is easy Multiple occurrences of a letter

Substitution for Expressions What do these sentences have in common? (P & Q) v ~(P & Q) (T & S) v ~(T & S)

Subalgebras A subalgebra is a subset which follows the same rules as its container In our case, that means ‘is also a sentence’

Quotients Ignore specfied details In our case, treat a subsentence as a letter

Sentences as Functions In Algebra, formulas map numbers to each other –F(x) = mx + b Sentences map the language to itself –(P v ~P)(Q) = Q v ~Q

Sentences as Functions Mapping the language to itself –Atomic Sentence letters map L to itself –No other sentence does Complex sentences map the language to a subset of itself

Image of a Sentence Image = all the substitution-instances Image of ‘P v ~P’ is: Q v ~Q R v ~R (Q & R) v ~(Q & R) (P & Q) v ~(P & Q) …

Composition of mappings Substitute into a substitution-instance Start with –P v ~P Substitute for P –(Q v R) v ~(Q v R) Substitute for R –(Q v (S & T)) v ~(Q v (S & T))

Sentence Fractions Here’s a fraction R (P & Q) The numerator is R The denominator is (P & Q)

Fractions and Substitution ‘Multiply’ (P & Q) v ~(P & Q) by the fraction R (P & Q) This will be a substitution!

Sentence Arithmetic Start with –(P & Q) v ~(P & Q) Dividing by (P & Q), gives a lattice with a missing label: –‘x’ v ~ ‘x’ But R replaces ‘x’ (this step is by fiat) –R v ~R