aboutsummaryrefslogtreecommitdiff
path: root/hott/Propositions.thy
blob: 2c98a5af1b858ececd5ed8c8af0b1021b2516707 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
theory Propositions
imports
  MLTT.Prelude
  Equivalence

begin

Definition isProp: ":= \<Prod>x y: A. x = y"
  where "A: U i" by typechk

Definition isSet: ":=\<Prod>x y: A. \<Prod>p q: x = y. p = q"
  where "A: U i" by typechk

Theorem isProp_Top: "isProp \<top>"
  unfolding isProp_def
  by (intros, elims, refl)

Theorem isProp_Bot: "isProp \<bottom>"
  unfolding isProp_def
  by (intros, elim)


end