Advertisement
SageTheWizard

cmpsc360notesAsOf2/13

Feb 14th, 2018
126
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 38.01 KB | None | 0 0
  1. EVERYTHING FROM THE CLASS THE WHOLE SEMESTER THE DOCUMENT~~~~~~~~~~~~~
  2. Day 1: HW: 1.1 1-37 odds + 1.2 1-7 odd
  3.  
  4. Discrete Objects vs. Continuous Objects
  5. 1. Discrete means it's segremented.. not continuous
  6. (That's kinda broad isn't it?)
  7. 1.1. Why is discrete math important to Comp Sci?
  8. 1.1.1 Logic! (Booleans and what not / Circuit gates / program flow)
  9. 1.1.2 Algorithms (Time Complexity / Storage Space + memory / Validity)
  10. 1.1.1.1 Validity means .. it does what it needs to all the time
  11. Justification (ie. Proofs) that it is valid is DMath
  12. 1.1.3 Objects and Terminology used in Algorithms and Analysis
  13.  
  14. FIRST TOPIC!!!!!!!!!!!!!!!!!______________________________________________________
  15. ****************************LOGIC*************************************************
  16. Defintion of Propositional Logic - is a declaration that is (True or False)
  17.  
  18. EXAMPLES
  19.  
  20. Sun Sets in the North (FALSE)
  21. Bob has Purple Hair (??? Whos is Bob... I guess he could but it is either True or False)
  22. Jane got up at 8am Today (Same as above)
  23.  
  24. you can do it with math too.. and not sentences
  25.  
  26. 1 + 3 = 4 (True)
  27. 2 < 1 (False)
  28.  
  29. x < 3 (Not a well defined truth value.. this is relevant currently but it will be)
  30.  
  31. LOGICAL OPERATORS
  32. let p == "Jane got up before 8am today"
  33. let q == "Jane is tired"
  34.  
  35. Logical Operator - NEGATION
  36. ~P = NOT P - "Jane did not get up before 8am"
  37.  
  38. Logical Operator - CONJUNCTION
  39. p ^ q - P and Q - "Jane got up before 8am and Jane is tired"
  40.  
  41. Logical Operator - DISJUNCTION
  42. p v q - P or Q - "Jane got up before 8am or Jane is tired"
  43. (This means Either one or the other, or BOTH)
  44.  
  45. TRUTH TABLES
  46. p|~p|q|~q|p v q|p + q|p->q|p^q|
  47. -------------------------------
  48. T| F|T| F| T | F | T | T |
  49. -------------------------------
  50. F| T|F| T| F | F | T | F |
  51. -------------------------------
  52. T| F|F| T| T | T | F | F |
  53. -------------------------------
  54. F| T|T| F| T | T | T | F |
  55.  
  56. Show all possible truth values
  57.  
  58. Logical Operator - Exclusive Disjunction (exclusive Or)
  59. p + q (p xor q)
  60. "Jane got up before 8am or Jane is tired... but not both"
  61. P = False & Q = False - P+Q = False
  62. P = True & Q = TRUE - P+Q = False
  63. P = True & Q = False - P+Q = True
  64. P = False & Q = True - P+Q = True
  65.  
  66. Logical Operator - Conditional (if then)
  67. p -> q
  68. "If jane got up before 8am then jane is tired"
  69. NOTE: If the p is false then q could be true (see truth table)
  70. ie. Only is false if q is false... true is p is false
  71.  
  72. EXPRESS THE FOLLOWING IN SYMBOLIC FORM
  73. r - "Bob takes the stairs"
  74. s - "The elevator is working"
  75. t - "It is over 90 degrees"
  76.  
  77. "It is over 90 degrees or the elevator is working" - Disjunction (t ^ s)
  78. "If the elevator is not working then Bob takes the stairs" - Conditional (~s -> r)
  79. "Bob takes the stairs only if it is not over 90 degrees" - Conditional (r -> ~t)
  80.  
  81. __________________________________________________________________________________________
  82. RELATED IMPLICATIONS
  83. P - "You clean your room"
  84. Q - "I will give you candy"
  85.  
  86. Original - (P -> Q) - "If you clean your room then I will give you candy"
  87. Converse - (Q -> P) - "If I give you candy then you cleaned your room"
  88. Inverse - (~P -> ~Q) - "If you didn't clean your room then I won't give you candy"
  89. ContraPositive - (~Q -> ~P) - "If I won't give you candy then you didn't clean your room"
  90.  
  91. NOTE: Then does not imply conrological events.. it's only an implication
  92.  
  93. Converse is not the same as the original (Original != Converse)
  94.  
  95. P|Q|P->Q|Q->P|
  96. ---------------
  97. T|T| T | T |
  98. ---------------
  99. F|T| T | F |
  100. ---------------
  101. T|F| F | T |
  102. ---------------
  103. F|F| T | F |
  104.  
  105. SEE! Not the same!
  106.  
  107. Logical Operator - Biconditional (if and only if)
  108. p <-> q (Can be written as (p->q) ^ (q->p) but no ones does cus that's gay)
  109. "I will give you candy if and only if you clean your room"
  110.  
  111. TRUTH TABLE FOR ~(p->q) ^ ~q
  112.  
  113. P|~P|Q|~Q|(P->Q)|~(P->Q)|~(P->Q) ^ ~Q|
  114. --------------------------------------
  115. T| F|T| F| T | F | F |
  116. --------------------------------------
  117. T| F|F| T| F | T | T |
  118. --------------------------------------
  119. F| T|T| F| T | F | F |
  120. --------------------------------------
  121. F| T|F| T| T | F | F |
  122. --------------------------------------
  123.  
  124. TRUTH TABLE FOR (p ^ q) <-> r
  125.  
  126. P|Q|R|(P^Q)|(P^Q)<->R|
  127. ----------------------
  128. T|T|T| T | T |
  129. ----------------------
  130. T|T|F| T | F |
  131. ----------------------
  132. T|F|T| F | F |
  133. ----------------------
  134. T|F|F| F | T |
  135. ----------------------
  136. F|T|T| F | F |
  137. ----------------------
  138. F|T|F| F | T |
  139. ----------------------
  140. F|F|T| F | F |
  141. ----------------------
  142. F|F|F| F | T |
  143. ----------------------
  144.  
  145.  
  146. DAY 2: HW: 1.3 1-15 odds + 61
  147. ASSIGNMENT 1: DUE THURSDAY Jan. 18
  148. DAILY REMINDER: Attendance + Particiaption is a big thing in this class
  149.  
  150. HW REVIEW:
  151. 1.1 15B
  152. P = "Grizzly bears have been seen in the area"
  153. q = "Hiking is safe on the trail"
  154. r = "Berrys are ripe along the trail"
  155. 15B) Grizzly bears have not been seen in the area and hiking is safe... but berrys are ripe along the trail
  156. (~p ^ q) ^ r
  157.  
  158. 1.1 23D
  159. "It is necessary to walk 8 miles to get to the top of Long's Peak"
  160. P = "walking 8 miles"
  161. Q = "To get to long's peak"
  162. Q -> P
  163. If you were to get to the top of long's peak then you walked 8 miles
  164. ______________________________________________________________________________________________________________
  165. NEW TOPIC: Compound Proposition
  166. definition: that is always true is called a "Tautology"
  167. definition: that is always false is called a "Contradiction"
  168. definition: that is sometimes true & sometimes false is called a "Contingency"
  169. definition: that is true in AT LEAST one case is "Satisfiable" (ie. is a Tautology or a Contingency)
  170. EXAMPLES:
  171. Tautology - (P v ~P)
  172. Contradiction - (P ^ ~P)
  173. Contingency - (P ^ Q) v R *****MOST COMPOUND PROPOSITIONS ARE LIKE THIS*******
  174.  
  175. Truth Table for Tautology and Contradiction
  176.  
  177. P|~P|(Pv~P)|(P^~P)|
  178. -------------------
  179. T|F| T | F |
  180. -------------------
  181. F|T| T | F |
  182. -------------------
  183.  
  184. Is the following a tautology, contradiction or contigency: r v (r -> ~s)
  185. Start with a truth table
  186.  
  187. r|s|~s|(r->~s)|rv(r->~s)|
  188. -------------------------
  189. T|T|F | F | T |
  190. -------------------------
  191. T|F|T | T | T | EVERYTHING IN THE FINAL LINE IS *TRUE* ERGO: IT'S A TAUTOLOGY
  192. -------------------------
  193. F|T|F | T | T |
  194. -------------------------
  195. F|F|T | T | T |
  196. -------------------------
  197.  
  198. LOGICAL EQUIVILENCE:
  199. U and Z are logically equivilent iff U <-> Z is a tautology!
  200. Remember... When is a biconditional (<->) always true: When both things (U&V) have the same truth values
  201. Represented by Three lines like an equals sign and I can't type that so... I'll denote it as =-
  202. (Just imagine that the left line is jammed in the middle of the equalsign)
  203. EXAMPLE: (P->Q) =- (~Q -> ~P)
  204.  
  205. P|Q|~P|~Q|(P->Q)|(~Q -> ~P)
  206. ---------------------------
  207. T|T|F | F| T | T |
  208. --------------------------
  209. T|F|F | T| F | F | Both are the same in the last column..
  210. --------------------------
  211. F|T|T | F| T | T | ERGO: (P->Q) =- (~Q->~P)
  212. ---------------------------
  213. F|F|T | T| T | T |
  214. ---------------------------
  215.  
  216. COMMON LOGICAL EQUIVELENCIES (Table in text)
  217.  
  218. IDENTITY LAWS
  219. P ^ T = P
  220. P v F = P
  221.  
  222. DOMINATION LAWS
  223. p v T = T
  224. p ^ F = F
  225.  
  226. IDEMPOTENT LAWS
  227. P v P = P
  228. P ^ P = P
  229.  
  230. DOUBLE NEGATION LAWS
  231. ~(~P) = P
  232.  
  233. COMMUNITATIVE LAWS
  234. P v Q = Q v P
  235. P ^ Q = Q ^ P
  236.  
  237. ASSOCIATIVE LAWS
  238. (P v Q) v R = P v (Q v R)
  239. (P ^ Q) ^ R = P ^ (Q ^ R)
  240.  
  241. DISTRIBUTIVE LAWS
  242. P v (Q ^ R) = (P v Q) ^ (P v R)
  243. P ^ (Q v R) = (P ^ Q) v (P ^ R)
  244.  
  245. DEMORGANS LAWS
  246. ~(P ^ Q) = ~P v ~Q
  247. ~(P v Q) = ~P ^ ~Q
  248.  
  249. ASBORPTION LAWS
  250. P v (P ^ Q) = P
  251. P ^ (P v Q) = P
  252.  
  253. NEGATION LAWS
  254. P v ~P = T
  255. P ^ ~P = F
  256.  
  257. CONDITONAL
  258. P -> Q = ~P v Q
  259.  
  260. CONTRAPOSITIVES
  261. P -> Q = ~Q -> ~P
  262.  
  263. NEGATION OF CONDITIONAL
  264. ~(P -> Q) = (P ^ ~Q)
  265.  
  266. BICONDITIONAL LAW
  267. P <-> Q = (P -> Q) ^ (Q -> P)
  268.  
  269. INVERSE OF BI CONDITIONAL
  270. P <-> Q = ~P <-> ~Q
  271.  
  272. Show using identities:
  273. (P v ~Q) -> r =- (~P v R) ^ (Q v R)
  274. ~(P v ~Q) v R (Conditional)
  275. (~P ^ Q) v R (deMorgans) - *NOTE* You used a (double negation) here too on the Q
  276. (~P v R) ^ (Q v R) (Distributive)
  277. DONE!
  278.  
  279. Identities can help simplify expressions too! *'Nam Flashbacks from Trig*
  280. SHOW (P ^ ~Q) -> (P v Q) is a tautlogy using identities
  281.  
  282. ~(P ^ ~Q) v (P v Q) - Conditional
  283. (~P v Q) v (P v Q) - deMorgans - and double negation
  284. ~P V P V Q V Q - Associative
  285. Q v ~P v P - Impodent
  286. Q v (T) - Negation
  287. T - Domination
  288.  
  289. _________________________________________________________________________________________________________
  290. PROPOSITONAL SATISFIABILITY!!!!
  291. def: A propsition is satisfiable iff it is true in at least one case!
  292. You can determine it in 2 different ways:
  293. 1. Truth Table.. the tried and true method! *BRUTE FORCE METHOD!* *VERY SYSTEMATIC* ... but takes ages as it gets a larger number of variables
  294. 2. Show one case where the statement is true! (more coming next time!)
  295.  
  296. __________________________________________________________________________________________________________
  297. Day 3:
  298. HW: 1.4 1-25 odds - REMINDER Assignment #1 is due next class
  299.  
  300. Note: Whenever you are doing identities with conditionals.. USUALLY 99% of the time you will use the conditional laws
  301. PROPOSITONAL SATISFIABILITY CONTINUED:
  302. a proposition must be true in at least one case
  303. The ideal methods for these is to find one case on your own without a truth table that would make the expression true
  304.  
  305. EXAMPLE:
  306. determine whether the following is satisfiable and justify your answer
  307. p^~q
  308. [the insite approach] ... Well.. we know it will be true when P is true and ~Q is True... therefore the expression will be true when P is true and Q is false
  309.  
  310. p^~p
  311. Not satisfiable by the Negation laws
  312.  
  313. ~(pvq) ^ ~(~p->r) *this would be a pain in the ass to do normally.. so lets do identities
  314. (~p ^ ~q) ^ (~p ^ ~r) // Demorgans and Negation of conditional
  315. (~p ^ ~p) ^ (~q ^ ~r) // Associative & communitiy
  316. (~p) ^ (~q ^ ~r) // idempotent identity
  317. If p = F and q = F and r = F then the statement is true.. Therefore the expression is satisfiable
  318. _____________________________________________________________________________________________________________
  319. NEW TOPIC: Section 1.4!!!!
  320. Predicate Logic!
  321. "Student X is Twenty years old"
  322. --------- -------------------
  323. SUBJECT PREDICATE
  324.  
  325. X > 3 .. x is the subject .. 3 is predicate
  326.  
  327. Propositional Function: EXAMPLE
  328. Let P(x) denote "x > 3"
  329. Let Q(x,y) denote "y = x^2"
  330.  
  331. P(2) = False
  332. P(8) = True
  333. Q(2,4) = True
  334. Q(4,2) = FALSE!
  335.  
  336. QUANTIFIERS
  337. ∀(x) - Universal - "For all x *in the domain* P(x) holds"
  338. ∃(x) - Existence - "There exists an x *in the domain* such that P(x) is true"
  339. ∃!(x)- Uniqueness - "There exists exactly one x *in the domain* such that P(x) is true"
  340.  
  341. EX.
  342. ∃x(x>3) - There exists an X that is greater than 3
  343. ∀x(x + 1 > x) - For all X there is a number greater than it
  344. A Propositional Function should have a DOMAIN! So there are *right* but too general
  345. Sometimes... The domain is implicit if it is obvious.. But sometimes you just have to
  346. specify to make it True
  347. EXAMPLE OF WHY THIS IS IMPORTANT:
  348. ∃x (x = pi) - Domain is Integers: False
  349. ∃x (x = pi) - Domain is all real numbers: True
  350. ∀x (x^2 >= x) - Domain is Integers: True
  351. ∀x (x^2 > = x) - Domain is all reals: False
  352.  
  353. Symbolic to English Translations
  354. P(x) = "x is enrolled in CMPSC360"
  355. Q(x) = "x knows C++"
  356. R(x) = "x likes basketball"
  357. DOMAIN: Students at PSU harrisburg
  358. ∃xP(x) - "At least one student at penn state harrisburg is enrolled in 360" = True
  359. ∀xQ(x) - "All students at PSH know c++" = FALSE
  360. ∃!x(P(x) ^ R(x)) = "There exists only one student enrolled in cmpsc360 and likes basketball" = Probably true there can't be more than 1 non-autistic cunt
  361. "There is a student at psh who does not like basketball" - ∃x(~R(x))
  362. "There is a student and PSH who knows C++ but is not enrolled in CMPSC 360" - ∃x(Q(x) ^ ~P(x))
  363.  
  364. RESTRICTING THE DOMAIN via DOMAIN NOTATION
  365. ∃x<0,(x^2=2) - "There is a negative real number that is equal to 2 when squared"
  366. ∀y!=0, (y^2 > 0) - "For all Y's that aren't 0, y^2 is greater than 0"
  367.  
  368. Existence and Uniqueness are restricted by adding AND
  369. ∃x[(x < 0) ^ (x^2 = 2)]
  370. There exists and X that is less than 0 and it's square is equal to 2
  371.  
  372. Universals are restricted by adding the restriction as a premise to an implication
  373. ∀y[(y!=0) -> (y^2 > 0)]
  374. "For all y, if y != 0 then y^2 > 0"
  375.  
  376. EXAMPLE:
  377. "Every student at PSH enrolled in CMPSC360 knows C++"
  378. ∀x[(P(x)) -> (Q(x))]
  379. "There is a student in psh who is enrolled in CMPSC360 who does not like basketball"
  380. ∃x[p(x) ^ ~R(x)]
  381. ________________________________________________________________________________________________________
  382. Thursday Jan. 25 - HW 2 Due! First Quiz too! All information from before and today!
  383. HW: 1.4 33 37 39 53 && 1.5 1-15 odd 19-27 odd 31 33
  384.  
  385. HW review: 1.4 19E
  386. Suppose domain contains {1,2,3,4,5}
  387. display (FOR ALL)x (x != 3) -> P(x)) v (THERE EXISTS)x(~P(x))
  388. (P(1) ^ P(2) ^ P(4) ^ P(5)) v (P(1) v P(2) v P(3) v P(4) v P(5))
  389. ________________________________________________________________________________________________________
  390. NEW TOPICS: Negation of Quantifiers
  391. DeMorgans
  392. ~(∀x(P(x))) =- ∃x(~P(x))
  393. ~(∃x(P(x))) =- ∀x(~P(x))
  394.  
  395. Examples:
  396. P(x) = "x has purple hair"
  397. S(x) = "x has a smart phone"
  398. Y(x) = "x is a new yorker"
  399. domain is everyone in class
  400.  
  401. ∀x(S(x)) = Everyone in class has a smart phone
  402. ~(∀x(S(x))) = ∃x(~S(x)) = someone in class does not have a smart phone
  403. ∃x(Y(x) ^ P(x)) = "Someone in class is a new yorker and has purple hair"
  404. ~(∃x(y(x) ^ (P(x)))) = ∀x(~y(x) v ~p(x)) = All people in class are not a new yorker or do not have purple hair
  405.  
  406. Negate and simplify the following (all negations directly precede predicates)
  407. (∀x(R(x))) ^ (∃x(Q(x)))
  408. ~((∀x(R(x))) ^ (∃x(Q(x)))) == ∃x(~R(x)) v ∀x(~Q(x)) // I used demorgans 2x on this one
  409.  
  410. Binding variables:
  411. ∀x(Q(x,y)) ... the x after the ∀ is the 'scope'
  412. note how variable y exists... x is bound and y is free
  413. The expression is called a "Propositional Function of Y"
  414. ∃x(x =1) ^ ∃x(x = 2) = TRUE
  415. It is true because each x is a different scope that's why it can be both 1 && 2
  416. ∃x(x = 1 ^ x = 2) = FALSE
  417. is false because X cannot be 1 and 2 at the same time
  418. Nested Qualifying statements
  419. ∃y∀x(Q(x,y)) <--- you can do this shit
  420. EXAMPLE
  421. Let P(x,y) denote "Student x has used computer y"
  422. x = all students, y = computers
  423. ∀x∃y(P(x,y)) = "For every student x, there exists a computer student x has used"
  424. = "Every student has used a computer" - almost certainly true
  425. ∃y∀x(P(x,y)) = "there exists a computer y, that all students x has used"
  426. = "There is a computer that all students have used" - certainly false
  427. The point of these 2 statements is that just because you flip the qualifiers doesn't mean it's equal
  428. EXAMPLE:
  429. Express the following in symbolic form...
  430. P(x,y) "Student x has taken course y"
  431. Q(y) "y is a programming course"
  432. R(x) "x has blond hair"
  433. *x is the domain of students && y is the domain of all courses*
  434. "Every course has been taken by at least one student" = ∀y(∃x(P(x,y)))
  435. "Every student has taken exactly one programming course" = ∀x(∃!y(Q(y) ^ P(x,y)))
  436. "No course has been taken by all students" = ~∃y(∀x(P(x,y))) // think of "No course" is ~∃y
  437.  
  438. SOLVE AND SHARE EXAMPLE:
  439. A(x) = "x likes apricots"
  440. B(x) = "x likes bread"
  441. C(x,y) = "x has called y"
  442. x & y domains = all people
  443. translate the following:
  444. ∃y∃x(A(x) ^ C(x,y)) = There exists Someone who likes apricots and has called someone // logically equivlent
  445. = There is a person called by someone who likes apricots // more proper english edition
  446. "There is someone who has called everyone" = ∃x∀y(C(x,y))
  447. Negate and simplify
  448. ∀x(Q(x) ^ ∃y(R(x,y)))
  449. ∃x(~(Q(x) ^ ∃y(R(x,y))))
  450. ∃x(~Q(x) v ∀y(~R(x,y)))
  451.  
  452. Why are Qualifiers important?: Many properties and theorems are expresable as quantified statement
  453. Communative property of addition ∀x∀y(x + y = y + x)
  454. Existence of a multiplicate identity : ∃x∀y(x*y = y = y * x)
  455. Existance of multiplicate inverse: ∀x((x!=0) -> ∃y(xy = 1)) (recipricols exist)
  456. __________________________________________________________________________________________________________
  457. Day: Already lost track of the Days: First day in the box
  458. HW Questions: 1.5
  459. QUIZ AND HW NEXT CLASS: Quiz is up til 1.5 (ie. EVERYTHING ABOVE THE LINE ABOVE)
  460.  
  461. Intoduction to Proofs:
  462. Rules of Inference and Logical Arguments:
  463. "You eat mushrooms... Then you will get sick"
  464. So... "You eat mushrooms" Therefore you will get sick
  465.  
  466. MODUS PONENS
  467. p -> q
  468. p
  469. therefore q
  470.  
  471. MODUS TOLLENS
  472. ~q
  473. p -> q
  474. therefore ~p
  475.  
  476. HYPOTHETICAL SYLLOGISM
  477. p->q
  478. q->r
  479. therefore p->r
  480.  
  481. DISJUNCTIVE SYLLOGISM
  482. p v q
  483. ~p
  484. therefore q
  485.  
  486. ADDITION
  487. p
  488. therefore p v q
  489.  
  490. SIMPIFICATIONS
  491. p ^ q
  492. therefore p (or q)
  493.  
  494. CONJUNCTION
  495. p
  496. q
  497. therefore p ^ q
  498.  
  499. RESOLUTION
  500. p v q
  501. ~p v r
  502. therefore q v r
  503.  
  504. PRACTICE: Identify the rule of inference in the following argument
  505. "I win or my name is mud"
  506. "I do not win"
  507. therefore "My name is mud"
  508. Disjunctive Syllogism
  509.  
  510. "I like playing checkers"
  511. "I like playing chess"
  512. therefore "I like playing checkers and chess"
  513. Conjunction
  514.  
  515. r -> u
  516. s v r
  517. ~u
  518. therefore s
  519.  
  520. We will justify this via a step reson table
  521.  
  522. step | reason
  523. ----------------------------------------------
  524. r -> u | Premise (Given assumed true)
  525. ~u | Premise (Given assumed true)
  526. ~r | True due to modus tolens
  527. s v r | Premise (given assumed true)
  528. s | True due to Disjunctive Syllogism
  529.  
  530. "If Herb plays guitar then he joins a band" (p -> q)
  531. "Herb gets a tattoo, but does not join a band" (r ^ ~q)
  532. therefore: "Herb gets a tattoo and does not play guitar" (r ^ ~p)
  533.  
  534. step | reason
  535. -----------------------------------------
  536. p -> q | Premise
  537. r ^ ~q | Premise
  538. ~q | Simplification
  539. ~p | Modus Tollens
  540. r | Simplification
  541. r ^ ~p | Conjunction
  542.  
  543. FALACIES:
  544. "If he was innocent then he would say he is innocent"
  545. "He says he is innocent"
  546. therefore he is innocent
  547. It's a fallacy known as "Affirming the conclusion"
  548.  
  549. AFFIRMING THE CONCLUSION
  550. p -> q
  551. q
  552. therefore p (FALSE)
  553.  
  554.  
  555.  
  556. 7 = 9
  557. -8 -8
  558. -1 = 1
  559. square both sides
  560. 1 = 1
  561. Once again affirming the conclusion
  562.  
  563. Solve and Share:
  564. "Alice is a programmer or a tester" (p v q)
  565. "Bob is a programmer but not a tester" (r ^ ~s)
  566. "Either alice or bob is not a programmer" (~p v ~r)
  567. therefore: Either alice or bob is a tester (q v s)
  568.  
  569. step | reason
  570. -----------------------------------------
  571. p v q | Premise
  572. r ^ ~s | Premise
  573. ~s | Simplification // This is Extranious... You can omitt this
  574. r | Simplfication
  575. ~p v ~r | Premise
  576. ~p | Disjunctive syllogism
  577. q | Disjunctive syllogism
  578. q v s | Addition
  579.  
  580. RULES OF INFERENCE FOR QUANTIFIED STATEMENTS
  581. UNIVERSAL INSTANTIATION
  582. ∀xP(x)
  583. therefore P(c)
  584.  
  585. UNIVERSAL GENERALIZATION
  586. P(c)
  587. therefore ∀xP(x)
  588.  
  589. EXISTENTIAL INSTANTIATION
  590. ∃xP(x)
  591. therefore P(c) // for some element C
  592.  
  593. EXISTENTIAL GENERALIZATION
  594. P(c) // for some element of C
  595. ∃xP(x)
  596.  
  597. PRACTICE
  598. R(x) - x has read War and Peace
  599. L(x) - x has had a Literature Class
  600.  
  601. ∀x(R(x) v ~L(x))
  602. ∃x(~R(x))
  603. therefore ∃x(~L(x))
  604.  
  605. step | reason
  606. -------------------------------------------
  607. ∀x(R(x) v ~L(x)) | Premise
  608. ∃x(~R(x)) | Premise
  609. ~R(c)) | Existential Instantiation (2)
  610. R(c) v ~L(c) | Universal Instantiation (1)
  611. ~L(c) | Disjunctive Syllogism (3 and 4)
  612. ∃x(~L(x)) | Existential Generalization (5)
  613.  
  614. Oh and guess what.. you gotta know all the names boi
  615.  
  616. INTRO TO PROOFS:
  617. Definition: An integer is Even iff
  618. n = 2K (ie. is a multiple of 2)
  619. Definition: An integer is odd iff
  620. n = 2K + 1 (ie. is a multiple of 2 plus 1)
  621. Definition: Every integer is even or odd but not both
  622. ____________________________________________________________________________________________________________
  623. Day 2 in the box - Proofs continued
  624. Normal Theorem Structure:
  625. ∀x(P(x) -> Q(x)) - P is the premises Q is the conclusion
  626. example:
  627. ∀x(x > 0 -> |x| = x)
  628. ---------------------------------------------------------------------------------------------
  629. Direct Proof: Assume P(x), show: Q(x)
  630.  
  631. Proposition: If N is even then 3n + 4 is even
  632. ∀n(n is even -> 3n+4 is even)
  633. Assume n is even, so n = 2k for some integer k
  634. TO SHOW: 3n + 4 is even 3n + 4 = 2()
  635. 3n + 4 = 3(2k) + 4 = 6k + 4 = 2(3k + 2)
  636. where 3k + 2 = j
  637. therefore 2(j)
  638. so 3n + 4 is even[] <--- use the silly box thing at the end of the proof
  639. ---------------------------------------------------------------------------------------------
  640. Proof by Contraposition
  641. Assume: ~Q(x)
  642. show: ~P(x)
  643. ∀x(~Q(x) -> ~P(x)) =- ∀x(P(x) -> Q(x)) (remember)
  644.  
  645. Proposition: For an integer n, if 3n+4 is even then n is even
  646. Proof: Proof by contraposition, assume n is odd
  647. to show: 3n+4 is odd
  648. so... n = 2k + 1 for some integer k
  649. Notice: 3(2k + 1) + 4 = 6k + 7 = 2(3k + 3) + 1
  650. As 3k + 3 is an integer, so 3n + 4 is odd. By contraposition, 3n + 4 is even implies n is even
  651. ------------------------------------------------------------------------------------------------
  652. Proof by Contradiction
  653. Assume: P(x) and also ~Q(x)
  654. Show: a contradiction follows (R(x) ^ ~R(x))
  655. Proposition: For integers p and q if pq = 800 then p is even or q us even
  656. Proof: Assume pq = 800 Assume for sake of contradiction that both p and q are odd
  657. so that p = 2k + 1 and q = 2l + 1
  658. so that (2k + 1)(2l + 1) = 4kl + 2k + 2l + 1 = 2(2kl + k + l) + 1
  659. as 2kl + k + l is an integer so pq is odd.. but 2(400) = 800 is even
  660. -><- So by contradiction p or q must be even
  661. -----------------------------------------EXAMPLE--------------------------------------------
  662. Definition:
  663. A Real Number is rational iff there exists integer p and q != 0 so that r = p/q if a real number is not rational it's called irrational
  664. Proposition: The sum of two rational numbers is rational
  665. Prof: Let r and s be two rational numbers so that
  666. r = p1/q1 and s = p2/q2 for some integers p1, p2, q1, q2
  667. r + s = p1/q1 + p2/q2 = (p1*q2)/(q2*q1) + (p2*q1)/(q1*q2) = (p1*q2 + p2*q1)/(q1*q2)
  668. Both the top and bottom are integers and as q1 !=0 and q2 != 0 so that q1*q2 != 0 therefore r + s is rational
  669. -----------------------------------------EXAMPLE--------------------------------------------------
  670. Prop: for an integer n, n is even iff n^2
  671. for all (n is even) <-> n^2 is even
  672. so...
  673. n is even -> n^2 is even and n^2 is even -> n is even
  674. We have to do both
  675.  
  676. n is even -> n^2 is even
  677. assume n is even, n = 2k for for some integer k
  678. such that n^2 = (2k)^2 = 4k^2 = 2(2k^2) where 2k^2 = j so that 2(j) .. therefore n^2 is even if n is even
  679.  
  680. n^2 is even -> n is even
  681. proof contrapositive
  682. n is odd -> n^2 is odd and n is some integer
  683. n = (2x + 1)
  684. n^2 = (2x + 1)^2
  685. n^2 = 4x^2 + 4x + 1 = 2(2x^2 + 2x) + 1 where an integer k = 2x^2 + 2x = 2k + 1 = n^2
  686. therefore
  687. by contraposition if n^2 is even then n is even
  688.  
  689. n is even -> n^2 is even
  690. direct proof
  691. n is even -> n^2 is even and n is some integer
  692. n = 2x
  693. n^2 = (2x)^2 = 4x^2 = 2(2x^2) let some integer k = 2x^2 such that n^2 = 2k
  694. therefore
  695. by direct proof is n is even then n^2 is even
  696. -----------------------------------------------------------------------------------------------------------------------
  697. The following are equivlent - if one is true all the others are true
  698. i)
  699. ii)
  700. iii)
  701. i -> iii and i -> ii and iii -> i (and the rest ie. ii -> iii is via hyper syllogism)
  702. it can get even simpler.. using hyper syllogism
  703. ________________________________________________________________________________________________________________________
  704. Prove if x is irrational then 1/x is irrational
  705. pf: Assume x is irrational assume for sake of contradiction that 1/x is rational
  706. So 1/x = p/q for some integers p and q where q!= 0
  707. Reciprocating both sides gives x/1 = q/p, so x = q/p
  708. NOTE: if p = 0 then 1/x = 0/q = 0... but multiplying this by x would return 1 = 0*x = 0 so p != 0
  709. so x is rational if x = q/p
  710. CONTRADICTION -><- we assumed x is irrational therefore by contradiction if x is irrational then 1/x is irrational
  711. _________________________________________________________________________________________________________________________
  712. Proof by classes!!!
  713. Prop: if m and n are integers and even then |m - n| is even
  714. pf: assume m and n are even integers so m = 2k and n = 2l for some integers k and l
  715. 2k - 2l = 2(k-l)
  716. you need 2 cases: if m-n >= 0 and if m-n < 0 because absolute value
  717. case 1:
  718. if m-n is >= 0 then |m-n| = 2(k-l) where some integer o = (k-l) so that |m-n| = 2o so that |m-n| is an even integer as k-l is an integer
  719. case 2:
  720. if m-n is < 0 then |m-n| = -2(k-l) = 2(-k + l) which is even as -k + l is an integer such that an integer o = -k + l |m - n| = 2o
  721.  
  722. in all cases |m-n| is even
  723. --------------------------------------------------------------------------------------------------------------------------
  724. Prop: for two integers m and n if one is even and the other is odd then m+n is odd
  725. pf. without loss of generality, assume m is even and n is odd, so m = 2k and n = 2l + 1
  726. notice that m+n = 2k + 2l + 1 where sume integer o = k + l such that m+n = 2(o) + 1
  727. therefore m+n is odd when m is even and n is odd
  728. _________________________________________________________________________________________________________________________________
  729. END OF CHAPTER 1!!!!!!!!
  730. Set Theory!!!!!
  731. A Set is an unordered collection of objects
  732. Ex.
  733. A = {1,2,3} // Roster Method.. good for finite small sets but.. sucks ass for big / infinite ones
  734.  
  735. Let B be the set of all students // Verbally define the collection
  736.  
  737. C = {x | x is an odd integer} // Set builder notation ... | is "such that"
  738. D = {x^2 | x is an integer}
  739. E = {C,D} // You can have sets inside sets
  740.  
  741. Special Mathematical Sets:
  742. Natural Numbers = {0,1,2,3,....INFINITY} = ℕ
  743. Integers = {-INFINITY... -1, 0, 1 ... INFINITY} = ℤ
  744. Positive Integers = {1,2,3,4...INFINITY} = ℤ+
  745. Quotient = {p/q | p,qϵℤ, q!= 0 } = ℚ
  746. ℝ = Real Numbers -> ℝ+ = {xϵℝ | x > 0}
  747. Complex Numbers = basically a cent symbol
  748. ∅ = Empty set = {}
  749.  
  750. Cardinality (Size) of a set
  751. If S is a finite set then |S| = n where n is the number of elements in S
  752. ex.
  753. E = {C,D} therefore the Cardinality is 2.. ez pz niga
  754. -------------------------------------------------------------------------------------------------------------------
  755. Subsets:
  756. Def: A Set of A is a subset of a set B such that A ⊆ B iff every element of A is an element of B
  757. ∀x((XϵA) -> (xϵB))
  758. fun fact: ∀x((Xϵ∅) -> (xϵℝ)) is true because Xϵ∅ is always false
  759. which means an empty set is a subset of the reals
  760. Example: Let S = {xϵℤ | x^2 <= 100}
  761. is S a subset of ℤ? - No! because of negatives S !⊆ ℤ+
  762.  
  763. __________________________________________________________________________________________________________________--
  764. Power Sets: For all sets S, the power set P(x) is the set of all subsets of S
  765. Ex: S={1,2}
  766. P(S) = {∅,{1},{2},{1,2}}
  767. Cardinality of a Power Set ...
  768. Note: if |S| = n (ie. is finite) then |P(S)| = 2^n
  769. _________________________________________________________________________________________
  770. We are still in the box.. Assignment #4 due thursday Feb8 and Quiz #2 Feb8 too
  771. Cartisian Products: 2 sets
  772. Set A
  773. Set B
  774. A x B = {(a,b)|aϵA, bϵB}
  775. EX: R = {a,b}, S = {1,2,3}
  776. R x S = {(a,1),(a,2),(a,3),(b,1),(b,2),(b,3)}
  777. NOTE: (a,3) ϵ R x S BUT (3,a) !ϵ R x S ... BUT (3,a) ϵ S x R
  778.  
  779. A^2 = A x A && A^n = A x A x A .... x A
  780. so.. from earlier.. R^2 = {(a,a),(a,b),(b,a),(b,b)}
  781. Relations of sets and Quantifiers and Predicate logic:
  782. ∀xϵℝ, x^2 >= 0 AND ∀xϵℤ, x^2 >= x
  783. They are used to specify the domain
  784.  
  785. Definition: The Truthset of a predicate P on domain D is {xϵD | P(x)}
  786. Example: P(x) donates "3x >= x"
  787. What is the truth set of P(x) over ℝ?
  788. 3x >= x ---> 2x >= 0 -----> x >= 0
  789. A: [0, INFINITY) so ∀xϵℝ, 3x >= x is FALSE
  790. so ∃xϵℝ, 3x >= x is TRUE
  791. Operations on Sets:
  792. Union - A u B = {x | xϵA or xϵB}
  793. --------------------- u would be everything in box
  794. | | | |
  795. | A | both| B |
  796. |______|_____|______|
  797. Intersection - A n B = {x | xϵA and xϵB}
  798. --------------------- n would be everything in BOTH box
  799. | | | |
  800. | A | both| B |
  801. |______|_____|______|
  802. Difference - A - B = {x | xϵA and x!ϵB}
  803. --------------------- - would be everything in A box
  804. | | | |
  805. | A | both| B |
  806. |______|_____|______|
  807. Complement à = U - A
  808. NOTE: U is the universe.. IE .. everything inside AND outside of the box
  809. --------------------- Ã would be everything outside of A box
  810. | | | |
  811. | U | A | U |
  812. |______|_____|______|
  813.  
  814. Example: A = {1,3,6} B = {1,2,4} U = All positive integers
  815. A u B = {1,2,3,4,6}
  816. A n B = {1}
  817. A - B = {3,6}
  818. Ã = {2,4,5,7,8,9.....}
  819.  
  820. Big Union
  821. n
  822. ⋂ Ai = A1 n A2 n A3 ... An
  823. i = 1
  824.  
  825. n
  826. ⋃ Ai = A1 u A2 u A3 ... An
  827. i = 1
  828. Think of these as effectively Sigma or Pi Summation and Products
  829.  
  830. Example:
  831. 5
  832. ⋃{i} = {1} u {2} u {3} u {4} u {5} = {1,2,3,4,5}
  833. i = 1
  834. 3
  835. ⋂{i} = {1}n{2}n{3} = {EMPTY SET}
  836. i=1
  837.  
  838. 3
  839. ⋂[0,i] = {0,1}n{0,1,2}n{0,1,2,3} = {0,1}
  840. i=1
  841.  
  842. Proving Set Inclusion:
  843. (P ⊆ Q) ∀x[(xϵP) -> (xϵQ)] "P is a subset of Q.. if X is in P then X is in Q"
  844. Ex. If A⊆B then AuC ⊆ BuC
  845. Proof: Assume A⊆B . Let xϵAuC
  846. to show: xϵBuC --> xϵB or XϵC
  847. By definition of union, xϵA or xϵC
  848. Case1: xϵA
  849. A⊆B .. Therefore xϵB by definition of Subset
  850. so if XϵB then it is in BuC by definition of union
  851. Case2: xϵC
  852. Well if xϵC then xϵ(BuC) by definition of union
  853. So in either case AuC ⊆ BuC[]
  854.  
  855. Prop: An(BnC) = (AnB)nC
  856. Pf: Let xϵAn(BnC)
  857. Show: xϵ(AnB)nC, xϵ(AnB) and xϵC
  858. By Intersection.. xϵA and xϵ(BnC) so xϵB and xϵC
  859. so..By intersection again.. xϵ(AnB) and we know xϵC.. therefore xϵ(AnB)nC
  860. Therefore: An(BnC) ⊆ (AnB)nC
  861. ===================================================
  862. Pf: Let xϵ(AnB)nC
  863. Show: xϵAn(BnC), xϵ(BnC) and xϵA
  864. By intersection.. xϵAnB and xϵC so xϵA, xϵC and xϵB
  865. so.. By intersection again.. xϵ(BnC) and xϵA .. therefore xϵAn(BnC)
  866. Therefore: (AnB)nC ⊆ An(BnC)
  867. therefore because each are a subset of either
  868. An(BnC) = (AnB)nC[]
  869.  
  870. Example 2:
  871. EmptySet -A = Empty Set
  872. Pf. Assume for sake of contradiction EmptySet - A != EmptySet so that there exists an element xϵEmptySet-A
  873. So by Set difference x belongs to emptySet but not A..
  874. CONTRADICTION =><= . Something cannot belong to the emptySet
  875. therefore emptySet -A = emptySet
  876.  
  877. Functions:
  878. A Function from A to B is an assignment of exactly one element of B for each element of A
  879. f: A ----> B where A is the domain and B is the codomain..
  880. The Set of images of all elements of A is called the range or image of f
  881. EXAMPLE:
  882. g: ℝ->ℝ, Where g(x) = x^2 .. Domain: ℝ, codomain: ℝ, Range: [0,infinity)
  883. h: ℝ->ℝ, Where h(x) = 2x + 3 .. Domain: ℝ, codomain: ℝ, Range: ℝ
  884.  
  885. If a function is...
  886. A->B it's called "INJECTIVE" or "One to One" iff for all a,b (f(a) = f(b)) -> (a = b) (same input = same output)
  887. If a function is...
  888. "Surjective" or "on to" for all elements of the codomain, there exists an element on the domain
  889. Every element of the codomain is attained as the output of at least one input
  890. https://en.wikipedia.org/wiki/Bijection,_injection_and_surjection <--- Pictures of these are here
  891.  
  892. _________________________________________________________________________________________________________________________________________________________
  893. Feb. 6th Class - Quiz next time up to 2.2 (Rules of inference to set theory)
  894. HW is also due next time
  895. HW review 2.2
  896. 9)
  897. A U Ã = u
  898. show: x belongs to u
  899. Let x be an element of A u Ã
  900. So by definition of Union.. x belongs to A or Ã
  901. Case 1: X belongs to A
  902. Then since A is a subset of U then x belongs to U!
  903. Case 2: X belongs to Ã
  904. Then since à is u - A, X belongs to U by definition of Set difference and Compliment
  905.  
  906. Let x be an element of u
  907. show: x belongs to A U Ã or x belongs to A or Ã
  908. Case 1: if x belongs to A
  909. Then by union x belongs to A U Ã
  910. Case 2: if x DOES NOT belong to A
  911. Then by definition of compliment, x belongs to à therefore belongs to A U Ã
  912.  
  913. In either case x belongs to A U Ã since subset in both directions is shown equality follows []
  914. ___________________________________________________________________________________________________________________________________________________________________
  915. Back to Functions:
  916. F: A -> B f is INJECTIVE
  917. ∀x∀y[(F(x) = F(y)) -> (x=y)]
  918.  
  919. F: A -> B f is Surjective
  920. ∀b belongs to B, ∃a That belongs to A , f(a) = b
  921.  
  922. Bijective iff f is both injective and surjective
  923.  
  924. H(x) = 2x + 3
  925. Prop: H is injective
  926. Prof. Let x,y be elements of all real numbers, Such that h(x) = h(y)
  927. Show: x = y
  928. 2x + 3 = 2y + 3
  929. -3 -3
  930. 2x = 2y
  931. /2 /2
  932. x = y
  933. therefore H is injective
  934.  
  935. Prop: H is surjective
  936. Prof. Let b be an element of the reals
  937. Show: find an a such that H(a) = b
  938. Such that a = (b - 3) / 2 which is a member of the reals
  939. H(a) = 2a + 3 = 2((b-3)/2) + 3 = (b-3) + 3 = b
  940.  
  941. therefore h is bijective
  942. ---------------------------------------------------------------------------------------------------
  943. Let f be an element of all positive integers such that Z+ -> Z+
  944. f(n){ n/2 if n is even /// 3n + 1 if n is odd
  945.  
  946. Prop: f is surjective
  947. Prof. Let b be an element of Z+
  948. Set a = 2b
  949. Note: a still belongs to Z+ and is even by definition of even
  950. f(a) = f(2b) = 2b/2 = b therefore f(a) = b []
  951. ___________________________________________________________________________________________________________________
  952. Composition of Functions:
  953. For f:A -> B and g:B -> C then the composition is A -> C ... gof(a) = g(f(a))
  954. EX. h R -> R h(x) = 2x + 3
  955. g R -> R g(x) = x^2
  956.  
  957. goh(x) = (2x + 3)^2
  958. hog(x) = 2x^2 + 3
  959.  
  960. Images and Preimages:
  961. f: A -> B .. S is a subset of A
  962. T is a subset of B
  963. f(S) = {b belongs to B | b = f(S) for some s that belongs to S}
  964. = {f(s) | s belongs to S}
  965.  
  966. f(T) = {a belongs to A | f(a) belongs to T}
  967.  
  968. Example:
  969. g: R -> R
  970. g(x^2)
  971.  
  972. g([0,2]) = [0,4]
  973. g^-1([0,2]) = [(-sqrt(2), sqrt(2))]
  974. g([-1,3]) = [0,9]
  975.  
  976. Prop: Let f: A->B
  977. if u is a subset of v are both subsets of A then f(u) is a subset of f(v)
  978. prof:
  979. Let x be subset of f(u) so x =f(a)
  980. for some a that exists in u
  981. therefore a belongs to v
  982. _________________________________________________________________________________________________________________________
  983. Prop: Suppose F A -> B and f(u) belongs to V, then u belongs to f^-1(V)
  984. let x be an arbitary element of u
  985. show: x exists of f^-1(V) therefore f(x) belongs to V
  986. f(x) belongs to f(u) by defintion of images
  987. therefore a F(u) belongs to v so by subset f(x)) belongs to u
  988. therefore x belongs to f^-1(V) so u is a subset of f^-1(V)[]
  989. _______________________________________________________________________________________________________________________________________________
  990. Sequences an ORDERED list of numbers
  991. a1, a2, a3, .. an
  992. an Infinite sequence can be viewed as a function from Z+ to S
  993. an = n^2 = {an}n=0 -> infinity = 0,1,4,9,16.....
  994. bn = 1+n = {bn}n=1 -> infinity = 2,3,4,5,6,7......
  995.  
  996. Ex. Let a0 = 1 and an = n*an-1 for n>=1
  997. a1 = 1
  998. a2 = 2
  999. a3 = 6
  1000. a4 = 24
  1001. .... (basically n!)
  1002.  
  1003. ex2. Let f0=1 and f1=1 and fn = fn-1 + fn-2
  1004. f2 = 2
  1005. f3 = 3
  1006. f4 = 5
  1007. f5 = 8
  1008. f6 = 13
  1009. f7 = 21
  1010. f8 = 34
  1011. ... Fibonacci numbers
  1012. ___________________________________________________________________________________________________________________________________________________
  1013. Cardinality:
  1014. Cardinality means SIZE!
  1015. Q: What is the size of the following sets
  1016. Z+ = infinite, Z = infinite, R = infinite, [0.1) = infinite....
  1017. THEY'RE ALL INFINITE BUT THEY HAVE DIFFERENT SIZES
  1018. Sets A and B have the same cardinality if and only if there is a bijection from A to B
  1019. |A|=|B|
  1020. A = {a,b,c}
  1021. B = {1,2,3}
  1022. f: A -> B
  1023. f(a) = 1
  1024. f(b) = 2
  1025. f(c) = 3
  1026. BIJECTIVE, each output has exactly 1 input
  1027. If there is an injection from A->B - |A| <= |B|
  1028. if there is a surjection from A->B - |A| >= |B|
  1029.  
  1030. Example... Let C = {n exist on Z | n>=5}
  1031. Prop: |N| = |C| // you have to show there is a bijection
  1032. Pf: Define f: N -> C such that f(n) = n+5
  1033. Well defined: Assume n exists on N so n exists on Z and and n>=0
  1034. Notice, f(n) = n+5 is an integer and n+5 >= 0+5
  1035. so that f(n) exists on C
  1036. Injective: So let x,y exits on N such that f(x) = f(y) so x+5 = y + 5 ---> x = y therefore injective
  1037. Surjective: let b exist on C let a = b - 5 note that b exists on C so b exits on Z and b >=5 so b-5 >= 5-5 = 0
  1038. so that f(a) = a + 5 = (b - 5) + 5 = b so f is surjective
  1039. Therefore f bijective therefore |N| = |C|
  1040.  
  1041. Definition: COUNTABLE: A is countable iff it is finite or |A| is the same as |Z+|
  1042. _________________________________________________________________________________________________________-
  1043. Let E = {Positive Odd numbers}
  1044. is E countable? .. yes.. 1,3,5,7 .. how do i show E and Z
  1045. F: Z+ -> E
  1046. f(k) = 2k - 1... then prove it
  1047.  
  1048. is Z countable? .. yes - f(k) = {k is even - -k/2, k is odd (k-1)/2}
  1049.  
  1050. is Q countable? Yes!
  1051.  
  1052. Prop: [0,1) is not countable
  1053. Proof: Assume for sake of contradiction [0,1) is countable so there is a squence such that [0,1) = union from 1 - infinity ({rn})
  1054. _____________________________________________________________________________________________________________________________________
  1055. 2.3 5a - Domain and range
  1056. a) the function that assigns to each bit string the number of 1s in the string - the number of zeros in the string
  1057. Domain - set of all bit strings ---> range - Z
  1058.  
  1059. b) The function that assigns to each bit string twice the number of zerosin the string
  1060. domain - set of all bit strings ---> range - {n exists on Z | n is even and n >= 0}
  1061. ___________________________________________________________________________________________________________________
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement