package rocq-runtime

  1. Overview
  2. Docs
The Rocq Prover -- Core Binaries and Tools

Install

Dune Dependency

Authors

Maintainers

Sources

rocq-9.0.0.tar.gz
md5=8d522602d23e7a665631826dab9aa92b
sha512=f4f76a6a178e421c99ee7a331a2fd97a06e9c5d0168d7e60c44e3820d8e1a124370ea104ad90c7f87a9a1e9d87b2d0d7d2d387c998feeaed4a75ed04e176a4be

doc/rocq-runtime.kernel/Genlambda/index.html

Module GenlambdaSource

Intermediate language used by both the VM and native.

Sourcetype reloc_table = (int * int) array
Sourcetype 'v lambda =
  1. | Lrel of Names.Name.t * int
  2. | Lvar of Names.Id.t
  3. | Levar of Evar.t * 'v lambda array
  4. | Lprod of 'v lambda * 'v lambda
  5. | Llam of Names.Name.t Constr.binder_annot array * 'v lambda
  6. | Llet of Names.Name.t Constr.binder_annot * 'v lambda * 'v lambda
  7. | Lapp of 'v lambda * 'v lambda array
  8. | Lconst of Constr.pconstant
  9. | Lproj of Names.Projection.Repr.t * 'v lambda
  10. | Lprim of Constr.pconstant * CPrimitives.t * 'v lambda array
  11. | Lcase of case_annot * 'v lambda * 'v lambda * 'v lam_branches
  12. | Lfix of int array * Names.inductive array * int * 'v fix_decl
  13. | Lcofix of int * 'v fix_decl
  14. | Lint of int
  15. | Lparray of 'v lambda array * 'v lambda
  16. | Lmakeblock of Names.inductive * int * 'v lambda array
  17. | Luint of Uint63.t
  18. | Lfloat of Float64.t
  19. | Lstring of Pstring.t
  20. | Lval of 'v
  21. | Lsort of Sorts.t
  22. | Lind of Constr.pinductive
Sourceand 'v lam_branches = {
  1. constant_branches : 'v lambda array;
  2. nonconstant_branches : (Names.Name.t Constr.binder_annot array * 'v lambda) array;
}
Sourceand 'v fix_decl = Names.Name.t Constr.binder_annot array * 'v lambda array * 'v lambda array
Sourcetype evars = {
  1. evars_val : CClosure.evar_handler;
}
Sourceval empty_evars : Environ.env -> evars
Manipulation functions
Sourceval mkLapp : 'v lambda -> 'v lambda array -> 'v lambda
Sourceval mkLlam : Names.Name.t Constr.binder_annot array -> 'v lambda -> 'v lambda
Sourceval decompose_Llam : 'v lambda -> Names.Name.t Constr.binder_annot array * 'v lambda
Sourceval decompose_Llam_Llet : 'v lambda -> (Names.Name.t Constr.binder_annot * 'v lambda option) array * 'v lambda
Sourceval free_rels : 'v lambda -> Int.Set.t
Sourceval optimize : 'v lambda -> 'v lambda
Translation functions
Sourceval get_alias : Environ.env -> Names.Constant.t -> Names.Constant.t * bool array
Sourcemodule type S = sig ... end
Sourcemodule Make (Val : S) : sig ... end
Printing
Sourceval pp_lam : 'v lambda -> Pp.t
OCaml

Innovation. Community. Security.