Skip to content

swtv-kaist/cs492-fall23

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

KAIST CS492 Formal SW Modeling and Verification (Fall'23)

Announcement

Administrative Information

  • Instructor: Prof. Moonzoo Kim

    • Office: 2434 (located at the east wing of E3-1)
    • Phone: 042-350-3543
    • E-mail: moonzoo.kim @ gmail.com
    • Office hour: Tues 4:30 - 5:30 PM (reservation e-mail is preferred)
  • Teaching assistants: Ahcheong Lee (ahcheong.lee@gmail.com)

  • Lecture hours: Tue/Thur 5:30 - 6:45 PM

  • Lecture room: E3 Rm#2443 (and through Zoom)

  • Recommended prerequisite: CS204 Discrete Mathematics

  • Grading: attendance/class participation/quiz: 30%, HW: 30%, mid/final exams:40%

    • You should turn on your web cam when you participate an online class; class attendance will not be counted otherwise.
    • More than 7 absences of the class will get F grade
    • Late attendance shall be counted as 1/3 absence. If a student is not able to attend a class due to an important event (e.g., attending conf., etc.), he/she should submit 1 week prior notice to the professor.
    • The official language in the class is English. All students should submit all written documents such as homework, project reports, exam, etc. in English; 20% penalty of the max score otherwise.
  • Homework:

    • Unlike CS458, this class has low HW workload; we plan to have only 4 homework assignments.
    • Homework should be submitted through KLMS https://klms.kaist.ac.kr/course/view.php?id=150535
      • Hint: many questions of exams are from the homeworks.
    • Late HW will be accepted with 10% penalty of the max score in 1 day, 30% penalty of the max score in 3 days. HW will not be accepted after then.
    • All programming HWs you submit must be able to be replayed by executing a single script file on a TA's server account (i.e., submitted HW should not have a dependency on your home directory, environment, etc.). Also, the replayed execution must demonstrate the same output to the submitted hw. You will get 10% penalty of the max score otherwise.
    • For your programming HWs, you should not use external libraries which are not available on the server machines. If you really need an external library, you have to ask TAs to install it on the server machines.
    • Please, include your student ID in the name of your submiited file(s), so that TAs can easily identify which files are yours.
  • Questions on the course materials and homeworks should be posted as github issues

Syllabus

This class covers formal techniques to model and verify complex systems. It is highly challenging to design and verify systems correctly because of the high complexity of systems caused by reactive characteristics, concurrency, platform dependency and so on. Students will learn formal techniques to resolve such challenges.

  • Students will learn formal semantics of a target system w.r.t. communication and concurrency through process algebraic framework.

    • Particularly, students will learn how to define/prove correctness of a target system in various ways.
  • Students will learn model checking techniques that automatically and exhaustively generate and explore a large state space of a target program.

    • This class guides students to learn the underlying verification engine of such techniques/tools such as SAT/SMT solvers.
  • This class focusses on practical applications of model checkers by applying open-source model checkers such as CWB-NC, Spin, CBMC, CROWN and so on.

Course Schedule

Part I: Overview of High Complexity of SW

Part II: Systematic Modeling and Verification by using Process Algebra CCS

Part III: State Model Checking by using SPIN

Part IV: SAT-based Model Checking by using CBMC Model Checker

  • Dec 7: (offline class) Using SAT solver for Sudoku [pdf],

    • "Sudoku as a SAT problem" by I.Lynce and J.Ouaknine, Intl. Symp. on Artificial Intelligence and Mathematics 2006
    • The SuDoku Puzzle as a Satisfiability Problem
  • Dec 14: Final exam (closed book) 5:30 - 7:00 pm

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages