summaryrefslogtreecommitdiff
path: root/FreeTheorems.agda
AgeCommit message (Collapse)Author
2014-01-30express VecBFF via PartialVecBFFHelmut Grohne
2014-01-28define bff on a partial getlenHelmut Grohne
The representation chosen is to give both an injection gl₁ and a function gl₂ (formerly getlen), such that by choosing a non-identity for gl₁ partiality of getlen can be expressed. An alternative would have been to allow getlen to return a Maybe ℕ and have get return maybe (Vec A) ⊤ (getlen n) thus sending all inputs for which getlen yields nothing to tt. It seems that while there is no way to obtain a such a getlen predicate from an arbitrary index Setoid I, it should be possible to manufacture a Setoid from a predicate. Thanks to Stefan Mehner for the insightful discussion.
2012-10-05move all postulates to one moduleHelmut Grohne
This should make it easier to see what is assumed.