lean2/library/data/empty.lean
Leonardo de Moura 8743394627 refactor(kernel/inductive): replace recursor name, use '.rec' instead of '_rec'
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
2014-09-04 15:04:57 -07:00

12 lines
361 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
theorem empty_elim (A : Type) (H : empty) : A := empty.rec (λe, A) H