Agda-2.4.0.2: A dependently typed functional programming language and proof assistant

Safe HaskellNone
LanguageHaskell98

Agda.TypeChecking.Tests

Contents

Synopsis

Tests for Agda.Utils.Permutation

Tests for Agda.TypeChecking.Telescope

prop_telToListInv :: TermConfiguration -> Property Source

telFromList . telToList == id

prop_flattenTelScope :: TermConfiguration -> Property Source

All elements of flattenTel are well-scoped under the original telescope.

prop_flattenTelInv :: TermConfiguration -> Property Source

unflattenTel . flattenTel == id

prop_splitTelescopeScope :: TermConfiguration -> Property Source

The result of splitting a telescope is well-scoped.

prop_splitTelescopePermScope :: TermConfiguration -> Property Source

The permutation generated when splitting a telescope preserves scoping.