Sign in
◑
Theme
fuchsia
/
third_party
/
github.com
/
leanprover
/
lean4
/
HEAD
/
.
/
tests
/
elab_fail
/
emptyc.lean
blob: b99312e567f5255148092b86fd832b08edd05fa2 [
file
]
structure A
where
(
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