package coq-coqutil
  Coq library for tactics, basic definitions, sets, maps
Install
Dune Dependency
Authors
Maintainers
Sources
  
    
      v0.0.7.tar.gz
    
    
        
    
  
  
  
    
  
        sha512=7800c6403de65d2d090b69a5161ff16916878f06fd08627c70dfd899db94850353d1e0c6dad119ebbe7f4e72148c8b7ad834471e93f1822b232faeded512bb68
    
    
  Description
coqutil -- Various Coq Utilities
Contents:
- Datatypes: Some utilities for existing datatypes, and new datatypes.
- Decidable: BoolSpec-based decidability typeclasses. Allows one to writeif MyType_eqb a b then ... else ...whereMyType_eqb a breturns abool, instead of writingif MyType_eq_dec a b then ... else ...whereMyType_eq_dec a breturns asumbool, while still gettinga = banda <> bas hypotheses (as opposed toMyType_eqb a b = trueandMyType_eqb a b = false) after destructing theif(need to usedestrinstead ofdestruct). So one gets the benefits ofSumboolwithout getting its disadvantage of having to carry around proof terms, which can cause a blow-up under reduction if one is not careful.
- Map: A typeclass based map library allowing one to abstract over the concrete implementation of maps. The implementations have to be extensional, which excludes certain efficient implementations, but simplifies proofs, because one can replace mapA with mapBif one can prove thatmapAandmapBhave the same contents. Comes with a solver which works reasonably fast on most map goals we have encountered so far.
- Tactics: A collection of useful general-purpose tactics.
- Word: Fixed width words for any width, in the same typeclass based style as the map library. Designed for the case where all words have the same (potentially abstract) bit width. Therefore, it does not provide functions to concatenate and split words, which is better addressed by bbv.
- Z: Utilities to work with the Ztype from Coq's standard library, including a tactic to proveZequalities by splitting the equality into equalities on bit index ranges, a tactic to makeliacapable of reasoning about goals with division and modulo, and a tactic to simplify expressions containing nested occurrences ofmod, and more misc utilities.
- Various macros, notations, and desirable default settings.
Each feature is intended to be as minimal and as independent of the other features as possible, so that users can pick just what they need.
Dependencies (2)
- 
  
    coq
  
  
    >= "9.0"
- 
  
    conf-findutils
  
  
    build
Dev Dependencies
None
Used by (2)
- 
  
    coq-bedrock2
  
  
    >= "0.0.9"
- 
  
    coq-riscv
  
  
    >= "0.0.6"
Conflicts
None
 sectionYPositions = computeSectionYPositions($el), 10)"
  x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
  >
  
  
On This Page