package lambdapi
Proof assistant for the λΠ-calculus modulo rewriting
Install
dune-project
Dependency
Authors
Maintainers
Sources
lambdapi-2.2.1.tbz
sha256=ba73f288e435130293408bd44732f1dfc5ec8a8db91c7453c9baf9c740095829
sha512=f88bb92fdb8aee8add60588673040fac012b2eab17c2a1d529c4b7c795cf0e1a9168122dc19889f04a31bda2bb2cf820237cbbe7e319121618aba3d134381756
doc/lambdapi.handle/Handle/Query/index.html
Module Handle.Query
Source
Handling of queries.
Source
val infer :
Common.Pos.popt ->
Core.Term.problem ->
Core.Term.ctxt ->
Core.Term.term ->
Core.Term.term * Core.Term.term
infer pos p c t
returns a couple (t',a)
where a
is the type of t
in context c
and under constraints of problem p
; and t'
is the refinement of t
. Note that p
gets modified. Context c
must well sorted.
Source
val check :
Common.Pos.popt ->
Core.Term.problem ->
Core.Term.ctxt ->
Core.Term.term ->
Core.Term.term ->
Core.Term.term
check pos p c t a
checks that the term t
has type a
in context c
and under the constraints of p
, and returns t
refined. Context c
must be well-sorted. Note that p
is modified.
Source
val check_sort :
Common.Pos.popt ->
Core.Term.problem ->
Core.Term.ctxt ->
Core.Term.term ->
Core.Term.term * Core.Term.term
check_sort pos p c t
checks that the term t
has type Type
or Kind
in context c
and under the constraints of p
. Context c
must be well sorted.
Result of query displayed on hover in the editor.
handle_query ss ps q
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>