- Instructor: Prof. Chung-Kil Hur
- TA: Jeehoon Kang
- Email address: [email protected].
- Send emails for personal matters only. Use the GitHub repository issue tracker.
- DO NOT send emails to
[email protected]. - In the case you send TA an email, specify your name and your student ID.
- Place: Bldg 301 Rm 554-1
- Office Hour: Please email me to make an appointment.
- Email address: [email protected].
- There will be a lab session on 2016/03/08 (Tue).
| Due | Description | Notes |
|---|---|---|
| NO | Assignment 00 | No scores |
- READ VERY CAREFULLY this section.
- Assignments: 45%
- Coq problems in the software foundations material. Read carefully the next subsections.
- Exams: 50% (mid-term 20% and final 30%)
- You will solve Coq problems at the lab during the exam.
- Attendance: 5%
- -1% per absence. IMPORTANT: 6 absences make an F.
- In class: if you speak Korean, ask in Korean. Otherwise, ask in English.
- In the GitHub repository issue tracker: ask in English.
- Send email for PERSONAL MATTERS ONLY.
- If you want to post a piece of source code, please DO NOT upload an image of it. Because it is hard to reconstruct texts from images.
- Instead, use GitHub Markdown's "fenced code blocks" feature.
- Or, you can always use GitHub Gist.
-
Use Coq 8.4pl5. DO NOT use Coq 8.5!
- If not, your submissions (assignments & exams) will not be properly graded.
-
Install Coq.
- Linux
- Install opam, and make sure you can use OCaml 4.02.3.
- Install
libgtk2bysudo apt-get install libgtk2.0-devorsudo yum install gtk2-devel. - Install lablgtk2 by
opam install lablgtk - Download tarball file.
- Extract the tarball,
./configure -coqide opt,make, and thenmake install. - Test by
coqc -vin the command line. Check yourPATHvariable if you get an error. - Run CoqIDE by
coqide.
- For Windows / OS X
- Install Coq for Windows
- Install Coq for OS X
- Linux
-
Use IDEs supporting Coq.
- CoqIDE: Download those bundled with CoqIDE in the Download page.
- In OS X, at first run, you may see an error message saying "Failed to load coqtop." Then click "No", and then find
/Applications/CoqIDE_8.4pl5.app/Contents/Resources/bin/coqtopand open for once. Then gotoCoqIDE>Preferences>Externals. And then changecoqtopinto/Applications/CoqIDE_8.4pl5.app/Contents/Resources/bin/coqtop.
- In OS X, at first run, you may see an error message saying "Failed to load coqtop." Then click "No", and then find
- Emacs: Company-Coq. Follow the setup instructions.
- CoqIDE: Download those bundled with CoqIDE in the Download page.
- The textbook is in this repository's
sf/directory. - DO NOT DOWNLOAD the textbook from The official Software Foundation website in order to keep in sync.
- If you copy others' source code, you will get F.
- "Others' source code" includes other students' and resources around the web. Especially, do not consult with public repositories on software foundations.
- Note that we have a good automatic clone detector. I found out that a lot of students cheated last time. I hope we all be happy at the end of the semester..
assignments/$NAMEdirectory is the assignment$NAME.- You submit
P??.vfiles. You should edit onlyP??.v. DO NOT TOUCH ANYTHING ELSE. E??.vfiles are for evaluation.- Everything else are for relevant the definitions for the assignment.
- You submit
- Edit
P??.vfiles to do the assignment. maketo compile your submission.make evalto grade your submission yourself.- Both
makeandmake evalSHOULD SUCCEED. If not, your score will be 0. - Check your submission by
../check.shP??.vfiles SHOULD NOT containadmitandAdmitted.- If a
P??.vfile contains stringGIVEUP, then it will be scored 0.
- Submit at: http://147.46.15.109:9480/
- DO NOT ATTACK. Please.
- DO NOT USE A STRONG PASSWORD. It is
http. - If your submission status is
SYSTEM ERRORorRUNNINGfor a long time, please ask the TA.