1/17
Looks like no tags are added yet.
Name | Mastery | Learn | Test | Matching | Spaced | Call with Kai |
|---|
No analytics yet
Send a link to your students to track their progress
Rocq Proof Assistant
Proof assistant for functional programming
Verifies correctness of programs
Uses Gallina for definitions, functions, proofs
Named after Thierry Coquand
Functional Programming Characteristics
Pure functions (no side effects)
First-class functions
Algebraic data types with pattern matching
Polymorphic type systems
Easier reasoning, testing, parallel programming
Functional vs Imperative Programming
Rocq Basic Workflow
Inductive Type Definition
Pattern Matching Functions
Compute Command
Example Assertion
Proof State Display
Wildcard Pattern
Boolean Type in Rocq
Custom Notation
Conditional Expressions
Check Command
Constructors with Arguments
Pattern Matching with Arguments
Modules in Rocq
Programs Are Data Principle