package lambdapi
Proof assistant for the λΠ-calculus modulo rewriting
Install
Dune Dependency
Authors
Maintainers
Sources
lambdapi-2.6.0.tbz
sha256=d01e5f13db2eaba6e4fe330667149e0059d4886c651ff9d6b672db2dfc9765ed
sha512=33b68c972aca37985ed73c527076198e7d4961c7e27c89cdabfe4d1cff97cd41ccfb85ae9499eb98ad9a0aefd920bc55555df6393fc441ac2429e4d99cddafa8
doc/lambdapi.export/Export/Coq/index.html
Module Export.Coq
Source
Translate the parser-level AST to Coq.
There are two modes:
- raw_coq mode (option -o raw_coq): translation of the AST as it is (lambdapi-calculus is a subset system of coq if we ignore rules)
- stt_coq mode (option -o stt_coq): translation of the AST as an encoding in simple type theory.
The encoding can be specified through a lambdapi file (option --encoding).
In both modes, a renaming map can be provided to rename some identifiers.
The renaming map can be specified through a lambdapi file (option --renaming).
Symbols necessary to encode STT.
Set renaming map from file.
Set symbols whose declarations have to be erased.
Set encoding.
Basic printing functions. We use Printf for efficiency reasons.
Translation of identifiers.
Translation of terms.
Source
val app :
Parsing.Syntax.p_term ->
(Parsing.Syntax.p_term -> Parsing.Syntax.p_term list -> 'a) ->
(Parsing.Syntax.p_term ->
Parsing.Syntax.p_term list ->
bool ->
builtin ->
'a) ->
'a
Translation of commands.
Set Coq required file.
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>