- GitHib Link Fixed
- Everything is graded
- March 31 Class
- Pset15 Added
- GitHub Repo
- March 26 Class
- Class Tuesday
- Pset3 due date clarification
- Class Going Forward
- Pset14 udpate

Blog

Software Requirements Modeling and Analysis is an advanced introduction to modern techniques for specification, verification and implementation of computer-based systems. Students will learn to write formal specifications, refine specifications and verify that implementations meet their requirements. Specific topics include axiomatic specification, invariants, algebraic types and induction, constructive specification, assume-guarantees style specification, safety and liveness, and intuitionistic logic. We use the Coq proof system, but techniques learned apply equally well to other verification systems.

- Room and Time
- 2112 Learned Hall
- 2:30-3:45 TR
- Prerequisites
- Some discrete mathematics and knowledge of at least one modern programming language.
- Instructor Information
- Dr. Perry Alexander
- Office Hours: 1:30-2:30 TR in 2022 Eaton Hall, or by appointment
- Office: 2022 Eaton Hall / 208 Nichols Hall
- Phone: 4-7741
- Web: http://perry.alexander.name
- Email: palexand@ku.edu
- Textbooks
- Benjamin Pierce,
*Software Foundations*, published online (required) - Adam Chlipala,
*Formal Reasoning About Programs*, published online (required) - Resources
- Coq proof system.
- CoqIDE if you don’t want to use emacs.
- ProofGeneral if you do want to use emacs. ProofGeneral is also available via melpa if you prefer not to install by hand.
- Chlipala’s Coq Quick Reference.

- pset14.tgz - Problem set verifying a simple compiler. Untar in the directory with your other problem sets.
- More_class.v - Coq specifications associatd with more commands lecture. Taken from Pierce.
- Induct_class.v - Coq specifications associatd with induction lecture. Taken from Pierce.
- AE_class.v - Coq specifications associated with Chapter 2 lectures.
- Stacks.v - Specifications for several stacks discussed initlally in lecture on 2/13.
- Class Repo - Solutions to assignments and other materials that need to remain private. If you wish to have access to this private repo, send email to the instructor with your GitHub ID. Do not post anything in this repo publicly! Adam Chlipala has done us a great service by making his materials public. Please respect that by not posting solutions to his problem sets.

You will perform several projects that involve developing specifications and proofs using the Coq verification system. These projects are an exceptionally important part of the course and provide insight into writing and verifying specifications and code that cannot be gained by simply attending lectures. Verification projects will be assigned every 1-2 weeks. The Coq verification environment will be available on the EECS Department’s Linux systems. Interpreters for virtually any platform you might have are also available for download from the Coq website.

Please use KU’s Blackboard system for project submissions. Your
specification files should be self-contained including any
needed documentation. `coqdoc`

is a great way to document your
specifications, but is not required. Note that
this and reporting grades are the only Blackboard functions we will
use.

- Homework 1 - Due: February 10 11:59pm
- Homework 4 - Due: April 9, 2020 11:59pm

All exams are close book, closed notes, in-class exams. The final exam will be held during the time assigned by the University in our regular classroom.

Grades are assigned on a standard 10 point scale:

- A = 90-100%
- B = 80-90%
- C = 70-80%
- F = 0-60%

I do not use +/- grading scale. As this is a graduate class, the lowest passing grade is a C.

Classroom tasks are weighted using the following scale:

- Midterm Exam 30%
- Final Exam 30%
- Mini Projects 40%

You must pass both mini projects and exams separately to pass the class. Specifically, if you get less than 60% on your projects and homework or less than 60% on your exams, you will not pass the course.

I may curve final grades at the end of the semester. However, I will never curve individual assignments or exams. If I curve and how much I curve is at my discretion.

Pretty simple. Follow them and we’ll be great friends!

- Don’t whine
- Don’t cheat
- Don’t tell me what you don’t need to know

I do not take attendance in class, however participation in class is important to its success. How much homework and how rigorously it is graded will definitely depend on class participation. Please ask questions and participate in class discussions. When assigning final grades, borderline cases will be decided based on class participation.

If I have made an error in grading an exam or assignment, you have two weeks following the date the item is available to see me about correcting the problem. Note that this includes the final! After that time, your grade is set and will not be changed. I also request that you wait 24 hours after an exam is returned before coming to me with questions.

I may decide to curve final scores when the semester is over. Whether I curve and how much I curve is at my discretion. I will never curve up, but may curve down. Specifically, 90% and above will always be an “A”, but I may choose to lower the cutoff percentage. Whether I curve and how much I curve is at my discretion. I will never curve scores on an individual graded assignment or exam.

I encourage you to use email to contact me. I am logged in whenever I am working and check my mail frequently. Email is my preferred means of communication.__

The course blog is available on the website. I will post late-breaking news about projects, homework and class administration on the blog. Check the website and blog frequently, particularly around project due dates and exams.

Feel free to call me in any of my office at any time. I would prefer not to be called at home.

I will make every effort to be in my office during scheduled office hours. If there are exceptions, I will let you know as early as is possible. If you have a conflict with my office hours, please make an appointment. I have an open door policy, you are free to come by whenever you choose. If I am busy, I may ask that you come back later, but please don’t hesitate to ask!

Academic misconduct of any kind will automatically result in a 0 score on the homework, lab, project, or exam in question and your actions will be reported to the department chair. Your homework, exams and projects must be individually prepared unless otherwise noted. Posting your assignments to internet discussion lists is considered academic misconduct. Sharing your solutions with others is considered academic misconduct. Turning in solutions from previous semesters is considered academic misconduct. Paying people to prepare solutions is academic misconduct. Automated mechanisms are available for checking the originality of source code. Please spend your time trying to solve assigned problems rather than trying to get around the system. Don’t risk it!

Excusing a missed exam or assignment is left to my discretion. Illness, family emergencies, and religious observances are examples of acceptable excuses. Computer down time, over sleeping, and social events are examples of unacceptable excuses. Please try to let me know of problems in advance when possible and be prepared to provide verification of your excuse.

As a policy, I do not extend due dates of homework and projects. If I choose to do so, I will only announce the extension in class, via email or on the blog. If you hear an extension has been granted and I have not announced it, your information is incorrect. Remember that if I grant extensions early in the semester, it will necessarily compress due dates the end of the semester.

Ties are expressly forbidden in my classroom. If you wear one you will be taunted mercilessly. Exceptions are made for bow ties which are cool.

We will do quite a bit of bouncing around between topics and between our two texts. It is quite important that you be in class. I will also add miscellaneous topics throughout the semester. Specific topics are subject to change without notice and topics marked “(tentative)” will be covered as time permits.

- Formal Systems
- Introduction to Coq
- Concrete and Abstract Syntax
- Inductive Types
- Constructive Specification
- Interpreters
- Transition Systems and Invariants
- Assume-Guarantee Reasoning
- Model Checking
- Safety and Liveness
- Compiler Verification
- Operational Semantics
- Dependent Types (tentative)
- Curry-Howard Correspondence (tentative)
- Proofs and Proof Objects (tentative)
- Proof Tactics and Tacticals (tentative)