TheHoTTGame/Trinitarianism/Quest1.md
2021-07-23 13:29:48 +01:00

15 lines
324 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# Dependent Types
In a 'place to do maths'
we would like to be able to express and 'prove'
the statement
> There exists a natural that is even.
This requires the notion of a __predicate_.
In general a predicate on a type `A` is a term of type
`A → Type u`, for example
```agda
isEven : Type u
isEven n = ?
```