Sign in
◑
Theme
fuchsia
/
third_party
/
github.com
/
leanprover
/
lean4
/
refs/heads/upstream/replace
/
.
/
tests
/
lean
/
emptyc.lean
blob: 2b5070c624cca0614e3a98981b8cb61992b4acf8 [
file
] [
edit
]
structure A
:=
(
x
:
Nat
:=
0
)
def
foo
:
A
:=
{}
theorem ex1
:
foo
=
{
x
:=
0
}
:=
rfl
theorem ex2
:
foo
.
x
=
0
:=
rfl
instance
:
EmptyCollection
A
:=
⟨{
x
:=
10
}⟩
def
boo
:
A
:=
{}
--
this
is
ambiguous