lean4-htt/tests/lean/run/5176.lean
2024-08-27 14:45:16 +00:00

14 lines
189 B
Text

class Foo where
class Bar extends Foo where
bar : True
def foo : Foo := {}
example [Bar] : Bar := {
foo with bar := by {
rename_i inst
guard_hyp inst : Bar
trivial
}
}