package coq

  1. Overview
  2. Docs
Formal proof management system

Install

Dune Dependency

Authors

Maintainers

Sources

coq-8.14.1.tar.gz
sha256=3cbfc1e1a72b16d4744f5b64ede59586071e31d9c11c811a0372060727bfd9c3

doc/coq-core.pretyping/Patternops/index.html

Module PatternopsSource

Functions on patterns
Sourceval constr_pattern_eq : Pattern.constr_pattern -> Pattern.constr_pattern -> bool
Sourceval occur_meta_pattern : Pattern.constr_pattern -> bool
Sourceval noccurn_pattern : int -> Pattern.constr_pattern -> bool
Sourceexception BoundPattern

head_pattern_bound t extracts the head variable/constant of the type t or raises BoundPattern (even if a sort); it raises an anomaly if t is an abstraction

Sourceval head_pattern_bound : Pattern.constr_pattern -> Names.GlobRef.t

head_of_constr_reference c assumes r denotes a reference and returns its label; raises an anomaly otherwise

Sourceval head_of_constr_reference : Evd.evar_map -> EConstr.constr -> Names.GlobRef.t
  • deprecated use [EConstr.destRef]

pattern_of_constr c translates a term c with metavariables into a pattern; currently, no destructor (Cases, Fix, Cofix) and no existential variable are allowed in c

pattern_of_glob_constr l c translates a term c with metavariables into a pattern; variables bound in l are replaced by the pattern to which they are bound

OCaml

Innovation. Community. Security.