lean2/library/hott/set.lean
Leonardo de Moura dfe48e6abe feat(library/hott): add more hott definitions
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
2014-07-15 22:42:38 +01:00

9 lines
320 B
Text

-- Copyright (c) 2014 Microsoft Corporation. All rights reserved.
-- Released under Apache 2.0 license as described in the file LICENSE.
-- Author: Leonardo de Moura
import logic
definition is_set (A : Type) := Π (x y : A) (p q : x = y), p = q
inductive hset : Type :=
| hset_intro : Π (A : Type), is_set A → hset