agda-core icon indicating copy to clipboard operation
agda-core copied to clipboard

Check strict positivity of datatypes

Open jespercockx opened this issue 1 year ago • 0 comments

Currently we do not check positivity in any way, we should actually check that the datatypes we define are strictly positive (see also https://github.com/jespercockx/agda-core/issues/29). However, we should be careful to not be too restrictive: Agda has a broad range of datatypes that it recognizes as strictly positive. Hence it might make sense to add some extra judgements for proving that a certain function or type is strictly positive in one of its arguments.

jespercockx avatar Aug 01 '24 09:08 jespercockx