All Projects → achlipala → Frap

achlipala / Frap

Licence: other
Formal Reasoning About Programs

Labels

Projects that are alternatives of or similar to Frap

finmap
Finite sets, finite maps, multisets and generic sets
Stars: ✭ 45 (-90.32%)
Mutual labels:  coq
Vst
Verified Software Toolchain
Stars: ✭ 264 (-43.23%)
Mutual labels:  coq
Coq
Coq is a formal proof management system. It provides a formal language to write mathematical definitions, executable algorithms and theorems together with an environment for semi-interactive development of machine-checked proofs.
Stars: ✭ 3,566 (+666.88%)
Mutual labels:  coq
coq-of-ocaml
Formal verification of OCaml programs
Stars: ✭ 161 (-65.38%)
Mutual labels:  coq
coq-simple-io
IO for Gallina
Stars: ✭ 21 (-95.48%)
Mutual labels:  coq
Hs To Coq
Convert Haskell source code to Coq source code
Stars: ✭ 273 (-41.29%)
Mutual labels:  coq
MtacAR
Mtac in Agda
Stars: ✭ 29 (-93.76%)
Mutual labels:  coq
Pg
This repo is the new home of Proof General
Stars: ✭ 367 (-21.08%)
Mutual labels:  coq
topology
General topology in Coq [maintainers=@amiloradovsky,@Columbus240,@stop-cran]
Stars: ✭ 36 (-92.26%)
Mutual labels:  coq
Coq Tricks
Tricks you wish the Coq manual told you
Stars: ✭ 302 (-35.05%)
Mutual labels:  coq
Abel
A proof of Abel-Ruffini theorem.
Stars: ✭ 26 (-94.41%)
Mutual labels:  coq
Set-Theory
Coq encoding of ZFC and formalization of the textbook Elements of Set Theory
Stars: ✭ 55 (-88.17%)
Mutual labels:  coq
Hott Intro
An introductory course to Homotopy Type Theory
Stars: ✭ 277 (-40.43%)
Mutual labels:  coq
chapar
A framework for verification of causal consistency for distributed key-value stores and their clients in Coq [maintainer=@palmskog]
Stars: ✭ 29 (-93.76%)
Mutual labels:  coq
Math Comp
Mathematical Components
Stars: ✭ 344 (-26.02%)
Mutual labels:  coq
ltac2-tutorial
Ltac2 tutorial
Stars: ✭ 27 (-94.19%)
Mutual labels:  coq
Practical Fm
A gently curated list of companies using verification formal methods in industry
Stars: ✭ 272 (-41.51%)
Mutual labels:  coq
Jscoq
A port of Coq to Javascript -- Run Coq in your Browser
Stars: ✭ 380 (-18.28%)
Mutual labels:  coq
Fiat Crypto
Cryptographic Primitive Code Generation by Fiat
Stars: ✭ 359 (-22.8%)
Mutual labels:  coq
Company Coq
A Coq IDE build on top of Proof General's Coq mode
Stars: ✭ 297 (-36.13%)
Mutual labels:  coq

Formal Reasoning About Programs

This is an in-progress, open-source book by Adam Chlipala simultaneously introducing the Coq proof assistant and techniques for proving correctness of programs. That is, the game is doing completely rigorous, machine-checked mathematical proofs, showing that programs meet their specifications.

Just run make here to build everything, including the book frap_book.pdf and the accompanying Coq source modules. Alternatively, run make lib to build just the book library, not the chapter example files or PDF.

Code associated with the different chapters

The main narrative, also present in the book PDF, presents standard program-proof ideas, without rigorous proofs. Matching Coq files here show how to make it rigorous. Interleaved with that narrative, there are also other lectures' worth of material, for building up more practical background on Coq itself. That secondary track appears in this list, too, at a higher level of indentation.

  • Chapter 2: BasicSyntax.v
    • Polymorphism.v: polymorphism and generic data structures
  • Chapter 3: DataAbstraction.v
  • Chapter 4: Interpreters.v
    • FirstClassFunctions.v: functions as data; continuations and continuation-passing style
  • Chapter 5: TransitionSystems.v
    • IntroToProofScripting.v: writing scripts to find proofs in Coq
  • Chapter 6: ModelChecking.v
    • ProofByReflection.v: writing verified proof procedures in Coq
  • Chapter 7: OperationalSemantics.v
    • LogicProgramming.v: 'eauto' and friends, to automate proofs via logic programming
  • Chapter 8: AbstractInterpretation.v
  • Chapter 9: CompilerCorrectness.v
  • Chapter 10: LambdaCalculusAndTypeSoundness.v
  • Chapter 11: TypesAndMutation.v
  • Chapter 12: HoareLogic.v
  • Chapter 13: DeepAndShallowEmbeddings.v
  • Chapter 14: SeparationLogic.v
  • Chapter 15: Connecting.v
  • Chapter 16: ProgramDerivation.v
  • Chapter 17: SharedMemory.v
  • Chapter 18: ConcurrentSeparationLogic.v
  • Chapter 19: MessagesAndRefinement.v

There are also two supplementary files that are independent of the main narrative, for introducing programming with dependent types, a distinctive Coq feature that we neither use nor recommend for the problem sets, but which many students find interesting (and useful in other contexts).

  • SubsetTypes.v: a first introduction to dependent types by attaching predicates to normal types (used after CompilerCorrectness.v in the last course offering)
  • DependentInductiveTypes.v: building type dependency into datatype definitions (used after LambdaCalculusAndTypeSoundness.v in the last course offering)
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].