-
-
Notifications
You must be signed in to change notification settings - Fork 3
Propositional Types
Andrew Johnson edited this page Nov 20, 2024
·
14 revisions
A propositional type is a type that is not a traditional datatype but rather asserts some other logical "property" on a term.
A corollary is a function that produces only propositional types as a return value. Corollaries are used to enrich existing terms with new type information.
let prop assert-is-sorted(x: List<i>): List::Sorted = (
... what does it mean for a list to be sorted ...
);
The LSTS source code and documentation are released under the terms of the attached permissive MIT license. This license is intended only to protect the future development of the project while otherwise allowing people to use the code and IP as they would like. Please, just be nice.