Preface
Basics: Functional Programming in Coq
- Introduction
- Enumerated Types
- Proof by Simplification
- Proof by Rewriting
- Proof by Case Analysis
- More Exercises
- Optional Material
Induction: Proof by Induction
Lists: Working with Structured Data
Poly: Polymorphism and Higher-Order Functions
MoreCoq: More About Coq
- The apply Tactic
- The apply ... with ... Tactic
- The inversion tactic
- Using Tactics on Hypotheses
- Varying the Induction Hypothesis
- Using destruct on Compound Expressions
- Review
- Additional Exercises
Logic: Logic in Coq
- Propositions
- Proofs and Evidence
- Conjunction (Logical "and")
- Iff
- Disjunction (Logical "or")
- Falsehood
- Negation
Prop: Propositions and Evidence
- Inductively Defined Propositions
- Using Evidence in Proofs
- Discussion and Variations
- Programming with Propositions Revisited
MoreLogic
ProofObjects: Working with Explicit Evidence in Coq
- Proof Scripts and Proof Objects
- Quantification, Implications and Functions
- Giving Explicit Arguments to Lemmas and Hypotheses
- Programming with Tactics (Optional)
MoreInd: More on Induction
SfLib: Software Foundations Library
- From the Coq Standard Library
- From Basics.v
- From Props.v
- From Logic.v
- From Later Files
- Some useful tactics
Rel: Properties of Relations
Imp: Simple Imperative Programs
- Arithmetic and Boolean Expressions
- Coq Automation
- Evaluation as a Relation
- Expressions With Variables
- Commands
- Evaluation
- Reasoning About Imp Programs
- Additional Exercises
ImpParser: Lexing and Parsing in Coq
ImpCEvalFun: Evaluation Function for Imp
- Evaluation Function
- Equivalence of Relational and Step-Indexed Evaluation
- Determinism of Evaluation (Simpler Proof)
Extraction: Extracting ML from Coq
Equiv: Program Equivalence
- Behavioral Equivalence
- Properties of Behavioral Equivalence
- Program Transformations
- Proving That Programs Are Not Equivalent
- Extended exercise: Non-deterministic Imp
- Doing Without Extensionality (Optional)
- Additional Exercises
Hoare: Hoare Logic, Part I
Hoare2: Hoare Logic, Part II
- Decorated Programs
- Finding Loop Invariants
- Weakest Preconditions (Advanced)
- Formal Decorated Programs (Advanced)
HoareAsLogic: Hoare Logic as a Logic
Smallstep: Small-step Operational Semantics
- A Toy Language
- Relations
- Multi-Step Reduction
- Small-Step Imp
- Concurrent Imp
- A Small-Step Stack Machine
Auto: More Automation
Types: Type Systems
Stlc: The Simply Typed Lambda-Calculus
StlcProp: Properties of STLC
MoreStlc: More on the Simply Typed Lambda-Calculus
Sub: Subtyping
Typechecking
Records: Adding Records to STLC
References: Typing Mutable References
- Definitions
- Syntax
- Pragmatics
- Operational Semantics
- Typing
- Properties
- References and Nontermination
- Additional Exercises
RecordSub: Subtyping with Records
Norm: Normalization of STLC
LibTactics: A Collection of Handy General-Purpose Tactics
- Additional notations for Coq
- Tools for programming with Ltac
- Identity continuation
- Untyped arguments for tactics
- Optional arguments for tactics
- Wildcard arguments for tactics
- Position markers
- List of arguments for tactics
- Databases of lemmas
- On-the-fly removal of hypotheses
- Numbers as arguments
- Testing tactics
- Check no evar in goal
- Tagging of hypotheses
- Tagging of hypotheses
- Deconstructing terms
- Action at occurence and action not at occurence
- An alias for eq
- Backward and forward chaining
- Introduction and generalization
- Rewriting
- Inversion
- Induction
- Decidable equality
- Equivalence
- N-ary Conjunctions and Disjunctions
- Tactics to prove typeclass instances
- Tactics to invoke automation
- Tactics to sort out the proof context
- Tactics for development purposes
- Compatibility with standard library
UseTactics: Tactic Library for Coq: A Gentle Introduction
- Tactics for introduction and case analysis
- Tactics for n-ary connectives
- Tactics for working with equality
- Some convenient shorthands
- Tactics for advanced lemma instantiation
- Summary
UseAuto: Theory and Practice of Automation in Coq Proofs
- Basic Features of Proof Search
- How Proof Search Works
- Examples of Use of Automation
- Advanced Topics in Proof Search
- Decision Procedures
- Summary
PE: Partial Evaluation
- Generalizing Constant Folding
- Partial Evaluation of Commands, Without Loops
- Partial Evaluation of Loops
- Partial Evaluation of Flowchart Programs
Postscript
Review1: Review Session for First Midterm
- General Notes
- Expressions and Their Types
- Inductive Definitions
- Tactics
- Proof Objects
- Functional Programming
- Judging Propositions
- More Type Checking
Review2: Review Session for Second Midterm
This page has been generated by coqdoc