summaryrefslogtreecommitdiff
path: root/Examples.agda
AgeCommit message (Collapse)Author
2018-11-25reorganize equality importsHelmut Grohne
Since we are working with multiple setoids now, it makes more sense to qualify their members. Follow the "as P" pattern from the standard library. Also stop importing those symbols from Relation.Binary.Core as later agda-stdlib versions will move them away. Rather than EqSetoid or PropEq, use P.setoid consistently.
2018-01-01fix compilation with agda 2.5.3, agda-stdlib 0.14Helmut Grohne
2015-06-12add example applications of bffHelmut Grohne
2015-06-09drop the Function.Equality requirement from GetTypesHelmut Grohne
We never used the equality property. Thus a simple function is sufficient here. We always fulfilled the property using ≡-to-Π anyway.
2014-10-14drop the injection requirement for gl₁Helmut Grohne
Turns out, we never use this requirement. The only place where it may come in relevant is the free theorems. But here non-injectivity turns out to be reasoning about multiple get functions that are selected by the additional index each individually satisfying the free theorem and thus commonly satisfying it as well.
2014-06-06drop-suc is cong predHelmut Grohne
2014-03-10Example: show that PairVec is ShapedHelmut Grohne
Example inspired in VoigtlaenderHMW13. Note that Vec (α × β) (length s) is not Shaped in this way since its real index is only a number.
2014-02-24add intersperse as another exampleHelmut Grohne
2014-02-17use drop, tail and take from Data.Vec in examplesHelmut Grohne
This is possible using the PartialVecVec implementation.
2014-02-17switch examples to PartialVecVecHelmut Grohne
2014-02-10add sieve to examplesHelmut Grohne
2014-02-05add examplesHelmut Grohne