Graph Colouring The Team : Aymen Dammak Sébastien Jagueneau Florian Lajus Xavier Loubatier Cyril Rayot Mathieu Rey Mentor : Paul-Yves Gloess.

Slides:



Advertisements
Similar presentations
TWO STEP EQUATIONS 1. SOLVE FOR X 2. DO THE ADDITION STEP FIRST
Advertisements

You have been given a mission and a code. Use the code to complete the mission and you will save the world from obliteration…
Mathematical Preliminaries
Advanced Piloting Cruise Plot.
Chapter 1 The Study of Body Function Image PowerPoint
Copyright © 2011, Elsevier Inc. All rights reserved. Chapter 5 Author: Julia Richards and R. Scott Hawley.
1 Copyright © 2013 Elsevier Inc. All rights reserved. Appendix 01.
1 Copyright © 2010, Elsevier Inc. All rights Reserved Fig 2.1 Chapter 2.
By D. Fisher Geometric Transformations. Reflection, Rotation, or Translation 1.
Business Transaction Management Software for Application Coordination 1 Business Processes and Coordination.
Jeopardy Q 1 Q 6 Q 11 Q 16 Q 21 Q 2 Q 7 Q 12 Q 17 Q 22 Q 3 Q 8 Q 13
Jeopardy Q 1 Q 6 Q 11 Q 16 Q 21 Q 2 Q 7 Q 12 Q 17 Q 22 Q 3 Q 8 Q 13
Title Subtitle.
Determine Eligibility Chapter 4. Determine Eligibility 4-2 Objectives Search for Customer on database Enter application signed date and eligibility determination.
My Alphabet Book abcdefghijklm nopqrstuvwxyz.
Multiplying binomials You will have 20 seconds to answer each of the following multiplication problems. If you get hung up, go to the next problem when.
0 - 0.
DIVIDING INTEGERS 1. IF THE SIGNS ARE THE SAME THE ANSWER IS POSITIVE 2. IF THE SIGNS ARE DIFFERENT THE ANSWER IS NEGATIVE.
ADDING INTEGERS 1. POS. + POS. = POS. 2. NEG. + NEG. = NEG. 3. POS. + NEG. OR NEG. + POS. SUBTRACT TAKE SIGN OF BIGGER ABSOLUTE VALUE.
MULT. INTEGERS 1. IF THE SIGNS ARE THE SAME THE ANSWER IS POSITIVE 2. IF THE SIGNS ARE DIFFERENT THE ANSWER IS NEGATIVE.
FACTORING Think Distributive property backwards Work down, Show all steps ax + ay = a(x + y)
FACTORING ax2 + bx + c Think “unfoil” Work down, Show all steps.
Addition Facts
Year 6 mental test 5 second questions
Around the World AdditionSubtraction MultiplicationDivision AdditionSubtraction MultiplicationDivision.
ZMQS ZMQS
Richmond House, Liverpool (1) 26 th January 2004.
REVIEW: Arthropod ID. 1. Name the subphylum. 2. Name the subphylum. 3. Name the order.
BT Wholesale October Creating your own telephone network WHOLESALE CALLS LINE ASSOCIATED.
Randomized Algorithms Randomized Algorithms CS648 1.
ABC Technology Project
Comp 122, Spring 2004 Graph Algorithms – 2. graphs Lin / Devi Comp 122, Fall 2004 Identification of Edges Edge type for edge (u, v) can be identified.
1 Undirected Breadth First Search F A BCG DE H 2 F A BCG DE H Queue: A get Undiscovered Fringe Finished Active 0 distance from A visit(A)
VOORBLAD.
1 Breadth First Search s s Undiscovered Discovered Finished Queue: s Top of queue 2 1 Shortest path from s.
“Start-to-End” Simulations Imaging of Single Molecules at the European XFEL Igor Zagorodnov S2E Meeting DESY 10. February 2014.
Factor P 16 8(8-5ab) 4(d² + 4) 3rs(2r – s) 15cd(1 + 2cd) 8(4a² + 3b²)
Squares and Square Root WALK. Solve each problem REVIEW:
Basel-ICU-Journal Challenge18/20/ Basel-ICU-Journal Challenge8/20/2014.
Do you have the Maths Factor?. Maths Can you beat this term’s Maths Challenge?
© 2012 National Heart Foundation of Australia. Slide 2.
Lets play bingo!!. Calculate: MEAN Calculate: MEDIAN
Understanding Generalist Practice, 5e, Kirst-Ashman/Hull
Chapter 5 Test Review Sections 5-1 through 5-4.
SIMOCODE-DP Software.
GG Consulting, LLC I-SUITE. Source: TEA SHARS Frequently asked questions 2.
Addition 1’s to 20.
25 seconds left…...
Slippery Slope
U1A L1 Examples FACTORING REVIEW EXAMPLES.
H to shape fully developed personality to shape fully developed personality for successful application in life for successful.
Januar MDMDFSSMDMDFSSS
Week 1.
We will resume in: 25 Minutes.
©Brooks/Cole, 2001 Chapter 12 Derived Types-- Enumerated, Structure and Union.
Intracellular Compartments and Transport
A SMALL TRUTH TO MAKE LIFE 100%
1 Unit 1 Kinematics Chapter 1 Day
PSSA Preparation.
Essential Cell Biology
How Cells Obtain Energy from Food
Immunobiology: The Immune System in Health & Disease Sixth Edition
CpSc 3220 Designing a Database
Epp, section 10.? CS 202 Aaron Bloomfield
Equivalence Relations
Traktor- og motorlære Kapitel 1 1 Kopiering forbudt.
Presentation transcript:

Graph Colouring The Team : Aymen Dammak Sébastien Jagueneau Florian Lajus Xavier Loubatier Cyril Rayot Mathieu Rey Mentor : Paul-Yves Gloess

First Definitions A graph is a set of vertices linked by edges A graph

Neighbours A vertex is a neighbour of another vertex if they are linked by an edge

Colouring Notions A colour is associated to each vertex A graph is well-coloured if no neighbouring vertices share the same colour A well-coloured graph

Degree Notions The vertex degree is the number of neighbours of this vertex The graph degree is the maximum degree of its vertices

The Theorem Choose randomly a vertex H which has all its neighbours well-coloured Choose randomly a color C unused by the neighbours of H Color H with C and graph is still well-coloured Imagine (with these pictures, it’s easier) that you have a well colored graph (non oriented as we can see). Bla bla And it’s true for a n degree graph if you have n+1 choices of color. It is the interresant fact: A n degree graph can be colored with only n +1 colors

What is PVS ? PVS : Prototype Verification System Proof assistant SRI international (by the way) A big place for computer science, it was there where the mouse and the first graphic interface was invented ( in 1968 ) So Why a proof assistant? Why do we need an assistant? proving is so hard, so difficult that we need an assistant? In fact, yes. It’s a very fastidious task. Indeed when you prove something manually you can skip many step which seems obvious. But a 100% sure theorem require to be proofed whithout admitting some obvious fact (or at least the minimum). So, this assistant is used to help us to automatically proove some obvious fact (but this has to be done) and divide some theorem to make them easier to prove. Of course we can say, that the proof given by PVS rely on the fact that PVS funcionate well. But how to prove it? With a proof assistant. That’s a bit anoying, but the scientific community agreed pvs is sure.

Divide and Conquer Type Checking -> TCC : Type Correctness Condition Corrections Definition of degree Graph non oriented After correction, 3 TCCs required to be proved Coloring_vertex_TCC1 Coloring_vertex_TCC2 Coloring_TCC5 So to prove it, we have differents lemmas that has to be proved and the typecheking function of pvs has been really helpful to do it. This function split a lemma into different TCCs Type corectness conditon => that is to say: Statements that must hold in order to prove that a term has a given type. So it’s a kind of tiny proof. Most of the TCCs was proved automatically and by the other student last year. But errors has been found in their algorythm: First: the defnition of degree was false. Vertexes was counted twice... (quite anoying) An hypothesis was missing (unless the theorem can’t be proved) : graphs are non-oriented. It means that if a vertex “a” is in relation with a vertex “b”, the vertex “b” is in relation with “a”. : Finally after that some TCCs has been automatically proved and there was only 3 tccs left:

Proof of coloring_vertex_tcc1 Main idea : nonempty (difference (below (1+degree (R)), image (f, neighbours (R) (t))) below (1+degree (R)): N+1 colours of the graph image (f, neighbours (R) (t)): colours of t neighbours The set of colours used to colour the neighbours of vertex T, can not include all the graph colours.

Proof of coloring_vertex_tcc1 Graph colours:

Proof of coloring_vertex_tcc1 Colours of vertex V neighbours: There is always a colour left for vertex V, different from the colours of its neighbours.

Proof of coloring_vertex_tcc1 Proof idea: If a set has more elements than another one, the difference between these two sets is not empty. The notion of cardinality Three new lemmas to prove the tcc1

Proof of coloring_vertex_tcc1 Encountered problems: Not acquainted with the PVS syntax Too strong hypothesis in one of the three lemmas not easy to prove The card_subset_difference_nonempty, the strong hypothesis is: subset?(tsA,tsB)

Proof of coloring_vertex_tcc2 Main idea : a well coloured  graph can be created by adding a coloured vertex to a well coloured graph.

Proof of coloring_vertex_tcc2 A well-coloured graph

Proof of coloring_vertex_tcc2 A vertex is selected

Proof of coloring_vertex_tcc2 An unused colour is selected

Proof of coloring_vertex_tcc2 The coloured vertex is added to the well-coloured graph

Proof of coloring_vertex_tcc2 Two steps : Modification of the colouring function. Modification of the well-coloured graph.

Proof of coloring_tcc5 Main idea : Set “S” representing the vertices (coloured or not) of a graph Strict subset “s” of the set (coloured vertices) An element “x” not part of the subset (vertex about to be coloured) The number of vertices to be coloured is always decreasing

Proof of coloring_tcc5 A subset, a strict subset and an element Yellow area : vertices remaining uncoloured X

Proof of coloring_tcc5 Adding the element to the subset Yellow area becomes the green one X

Proof of coloring_tcc5 Green area strict subset of the yellow area X X

Proof Result In order to compare: last year, at the end of their project, they had 36 proved and 6 unproved lemmas with 11 TCCs for a total of nearly 21 seconds.

Conclusion Proofs are complete Using PVS Finishing the project Think whether what we are writing is correct and why Step by step correction Mathematical logic Finishing the project

Thanks for your attention