fix(library/data/unit): missing file
This commit is contained in:
parent
707584376a
commit
aafdbf57f0
1 changed files with 12 additions and 0 deletions
12
library/data/unit/thms.lean
Normal file
12
library/data/unit/thms.lean
Normal file
|
@ -0,0 +1,12 @@
|
||||||
|
-- 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 data.unit.decl logic.eq
|
||||||
|
|
||||||
|
namespace unit
|
||||||
|
protected theorem equal (a b : unit) : a = b :=
|
||||||
|
rec_on a (rec_on b rfl)
|
||||||
|
|
||||||
|
theorem eq_star (a : unit) : a = star :=
|
||||||
|
equal a star
|
||||||
|
end unit
|
Loading…
Reference in a new issue