Übung 1 Löse folgendes Erfüllbarkeitsproblem mit dem

Slides:



Advertisements
Similar presentations
Visualisierung der Funktionsweise des Programms auf S. 9 des Skripts
Advertisements

Fachbereich Elektrotechnik und Informationstechnik
YOSI! BLUE (30 sec play) Ball moves to X1 from X2
An Introduction to Calculus. Calculus Study of how things change Allows us to model real-life situations very accurately.
robot con 6 gradi di mobilità
Adjektivendungen Spickzettel
1 Übung 1 Sei D = { a,b,c,d,e } ein skalarer Datentyp Bestimme den kanonischen Repräsentanten von s: x1 = bla x2[a] = 5 x2[b] = 3 x2[c] = 3 x2[d] = 4 x2[e]
Diskrete Mathe Diskrete Mathematik I Rekursion Vorlesung 3.
Informatik mit Java Grundkurs
EOG Vocabulary Week of March 28, 2011 Math Words: Fractions and Properties.
Suggested Activities Unit 1: Unraveling the Problem- Solving Process.
The Derivative in Graphing and Application
Chances Are… You can do it! Activity #5 Five baseball players threw their caps into a sports bag after a ball game. What is the probability that each.
Maximal Independent Subsets of Linear Spaces. Whats a linear space? Given a set of points V a set of lines where a line is a k-set of points each pair.
Markov models and HMMs. Probabilistic Inference P(X,H,E) P(X|E=e) = P(X,E=e) / P(E=e) with P(X,E=e) = sum h P(X, H=h, E=e) P(X,E=e) = sum h,x P(X=x, H=h,
View from BEHIND backplate Notch View from BEHIND backplate 2x5 and 5x2 partial SCs SC assembly jig views.
I have lost my voice. I am asking you for your cooperation today and asking you to be a leader in your class. When I choose a student to help me today,
Adjective Declension in German
WAS LERNEN WIR UND WARUM? What are we learning and why?
Rule Learning – Overview Goal: learn transfer rules for a language pair where one language is resource-rich, the other is resource-poor Learning proceeds.
COMPANY CONFIDENTIAL PM43C Doors Media Door Used to protect media and print mechanism Front access Door Used for front access to tear bar NOT INCLUDED.
PROLOG MORE PROBLEMS.
BASED ON THE TUTORIAL ON THE BOOK CD Verilog: Gate Level Design 6/11/
Inverting a Singly Linked List Instructor : Prof. Jyh-Shing Roger Jang Designer : Shao-Huan Wang The ideas are reference to the textbook “Fundamentals.
Factoring Polynomials to Find Roots. Factoring a Polynomial to Find Roots Factor 3x x x x – 24 and find all of the roots. Roots: Factors:
TS: Explicitly assessing information and drawing conclusions Increasing & Decreasing Functions.
On / By / With The building blocks of the Mplus language.
←Two-Way-Prepositions→ A study of motion and lack thereof.
2 x0 0 12/13/2014 Know Your Facts!. 2 x1 2 12/13/2014 Know Your Facts!
2 x /18/2014 Know Your Facts!. 11 x /18/2014 Know Your Facts!
2 x /10/2015 Know Your Facts!. 8 x /10/2015 Know Your Facts!
2.4 – Factoring Polynomials Tricky Trinomials The Tabletop Method.
Properties of Multiplication Zero property of multiplication Identity property of multiplication Commutative property of multiplication Associative property.
U n i v e r s i t y o f S o u t h e r n Q u e e n s l a n d Neural Networks and Self-Organising Maps CSC3417 Semester 1, 2007.
1 Lecture 5 PRAM Algorithm: Parallel Prefix Parallel Computing Fall 2008.
16.410: Eric Feron / MIT, Spring 2001 Introduction to the Simplex Method to solve Linear Programs Eric Feron Spring 2001.
5 x4. 10 x2 9 x3 10 x9 10 x4 10 x8 9 x2 9 x4.
EMIS 8374 LP Review: The Ratio Test. 1 Main Steps of the Simplex Method 1.Put the problem in row-0 form. 2.Construct the simplex tableau. 3.Obtain an.
DIRECTIONAL ARC-CONSISTENCY ANIMATION Fernando Miranda 5986/M
Linear Programming – Simplex Method: Computational Problems Breaking Ties in Selection of Non-Basic Variable – if tie for non-basic variable with largest.
The Problem of K Maximum Sums and its VLSI Implementation Sung Eun Bae, Tadao Takaoka University of Canterbury Christchurch New Zealand.
Multiplication Facts Practice
A Case Study  Some Advice on How to Go about Solving Problems in Prolog  A Program to Play Connect-4 Game.
SATISFIABILITY Eric L. Frederich.
Whiteboardmaths.com © 2010 All rights reserved
Chapter 8: The Solver and Mathematical Programming Spreadsheet-Based Decision Support Systems Prof. Name Position (123) University.
Computational Facility Layout
Shannon Expansion Given Boolean expression F = w 2 ’ + w 1 ’w 3 ’ + w 1 w 3 Shannon Expansion of F on a variable, say w 2, is to write F as two parts:
Graeme Henchel Multiples Graeme Henchel
(1) MAX X1+3X2+2X3+4X4 X1=AM PHONE, X2=AM RIDE, X3=AFT PHONE, X4=AFT RIDE CONSTRAINTS AM: X1+20X2 < 12(60)=720 AFT: 2X3+30X4 < 14(60) = 840 GAS: X2+X4.
The Project Problem formulation (one page) Literature review –“Related work" section of final paper, –Go to writing center, –Present paper(s) to class.
0 x x2 0 0 x1 0 0 x3 0 1 x7 7 2 x0 0 9 x0 0.
MULTIPLICATION OF INTEGERS
Simplex (quick recap). Replace all the inequality constraints by equalities, using slack variables.
Select Team Man Up Offense: Greyhound. Greyhound: Level of Play Greyhound is appropriate for teams with good stickwork that are capable of executing the.
BINARY/MIXED-INTEGER PROGRAMMING ( A SPECIAL TYPE OF INTEGER PROGRAMMING)
7x7=.
A* Pathfinding. Basis A* Algorithmus add the starting node to the open list while the open list is not empty { current node=node from open list with the.
The Dative Case. Uses of the Dative Case Dative Verbs (gefallen, schmecken, helfen) Prepositions (aus, ausser, bei, mit, nach, seit, von zu) Indirect.
DEN 10. SEPTEMBER Deutsch 1. Game: Food Vocabulary Revision.
Questions words Asking for persons: Sie sieht den Mann. Asking for the subject: Wer sieht den Mann? Asking for the direct object: Wen sieht sie?
pictures_slideshow/article.htm.
Hello. ok Hello ja.
ist ein Außerirdischer mit hellseherischen Fähigkeiten, der in riskanten Situationen mit seinem Raumschiff zur Stelle ist. Sicherheit macht mich richtig.
Cryring Operator School
Cases with prepositions
Locations -> Dative Motion / Destinations -> Accusative
Cases with prepositions
Wie beheben wir Probleme bei der Produktrückgabeschlüsseln bei der technischen Unterstützungsnummer von Microsoft ?
r e s e n e s e m r m n s r s r Key Sounds in German maskulin feminin
Presentation transcript:

Übung 1 Löse folgendes Erfüllbarkeitsproblem mit dem Davis-Putnam-Algorithmus! (rs)  (¬pq)  (¬rs)  (¬qp)  (¬r¬sp)  (¬p¬qr)  (¬p¬q¬r) p ¬p (rs)  (¬rs)  (¬q)  (¬r¬s) (rs)  (q)  (¬rs)  (¬qr)  (¬q¬r) q (unit) ¬q (unit) (rs)  (¬rs)  (r)  (¬r) (rs)  (¬rs)  (¬r¬s) s (pur literal) ¬r r (r)  (¬r) (s) (s)  (¬s) s (unit) Wid ok Wid

Übung 2 Konstruiere unter Verwendung des Stålmarck-Algorithmus eine Belegung, die jede der folgenden Formeln erfüllt! (p  q) , (p  r) , ((q r)  p) , (q  (s  t)) , (q  (s  u)) , (q  ((t  u)  s)) keine Simple rules anwendbar  Dilemma(p) Tripelmenge: 1  (p  q) 1  (p  r) x1  (q  r) 1  (x1  p) x2  (s  t) 1  (q  x2) x3  (s  u) 1  (q  x3) x4  (t  u) x5  (x4  s) 1  (q  x5) ¬p  1  (0  q) 1  (0  r) x1  (q  r) 1  (x1  0) x2  (s  t) 1  (q  x2) x3  (s  u) 1  (q  x3) x4  (t  u) x5  (x4  s) 1  (q  x5) ¬p + simple 1  (0  1) 1  (0  0) 0  (1  0) 1  (s  t) 1  (1  1) 1  (s  u) x4  (t  u) 1  (x4  s) p  1  (1  q) 1  (1  r) x1  (q  r) 1  (x1  1) x2  (s  t) 1  (q  x2) x3  (s  u) 1  (q  x3) x4  (t  u) x5  (x4  s) 1  (q  x5) p + simple  1  (1  1) 1  (s  t) 1  (s  u) x4  (t  u) 1  (x4  s)  q x2 x3 x5 x1=r p = r

Alle Tripel erfüllt,  erfüllende Belegungen q=1 t=1 p=r=0 s=u=0 Dilemma(s) Resultat nach Dilemma(p) 1  (p  1) 1  (p  r) r  (1  r) 1  (r  p) 1  (s  t) 1  (1  1) 1  (s  u) x4  (t  u) 1  (x4  s) ¬s  1  (p  1) 1  (p  p) p  (1  p) 1  (0  t) 1  (1  1) 1  (0  u) x4  (t  u) 1  (x4  0) ¬s + simple 1  (p  1) 1  (p  p) p  (1  p) 1  (0  1) 1  (1  1) 1  (0  0) 0  (1  0) s  1  (p  1) 1  (p  p) p  (1  p) 1  (1  t) 1  (1  1) 1  (1  u) x4  (t  u) 1  (x4  1) s + simple 1  (p  1) 1  (p  p) p  (1  p) 1  (1  1) q,x2,x3,x5,x1=r,p=r,t,x4=u,u=s Dilemma(t) Resultat nach Dilemma(s) 1  (p  1) 1  (p  p) p  (1  p) 1  (s  1) 1  (1  1) 1  (s  s) s  (1  s) Alle Tripel erfüllt,  erfüllende Belegungen q=1 t=1 p=r=0 s=u=0 q=1 t=1 p=r=0 s=u=1 q=1 t=1 p=r=1 s=u=0 q=1 t=1 p=r=1 s=u=1

Übung 3 Generiere die aussagenlogische Formel, die einen kreisfreien Pfad der Länge 2 für den 3-Bit-Zähler (Anfangszustand: alle Bits auf Null) beschreibt, der die Formel F (x1 U ¬ x0) bezeugt! ¬x0(0) ¬x1(0) ¬x2(0) (x0(1)   x0 (0) )(x1(1)  (¬ x1(0)  x0(0))) (x2(1)  (¬ x2(0) (x0(0)  x1(0) )))  (x0(2)   x0(1) )(x1(2)  (¬ x1(1)  x0(1))) (x2(2)  (¬ x2(1) (x0(1)  x1(1) )))  (¬x0(0)  [(¬x0(1)  (x1(0)  ¬x0(1))]  [(¬x0(2)  (x1(1)  ¬x0(2))  (x1(0)  x1(1)  ¬x0(2)) ]) Ist diese Formel erfüllbar? Ja. x0(0),x1(0),x2(0),x1(1),x2(1),x0(2),x2(2) = 0 x0(1),x1(2) = 1