lean2/library/data/empty.lean
Leonardo de Moura 9412e604c8 refactor(library/data): cleanup datatypes
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
2014-09-04 22:31:52 -07:00

15 lines
391 B
Text

-- Copyright (c) 2014 Microsoft Corporation. All rights reserved.
-- Released under Apache 2.0 license as described in the file LICENSE.
-- Author: Jeremy Avigad
-- TODO: add notation for negation (in the sense of homotopy type theory)
-- Empty type
-- ----------
inductive empty : Type
namespace empty
theorem elim [protected] (A : Type) (H : empty) : A :=
rec (λe, A) H
end empty