lean4-htt/old_tests/tests/lean/run/uni_var_bug.lean
2018-04-10 12:56:55 -07:00

13 lines
292 B
Text

section
universe variable u
variables {A B : Type.{u}}
theorem foo (H : A = B) : A = B := H
theorem bar {C D : Type} (H : C = D) : C = D :=
foo H
end
universe variable u
variables {A B : Type.{u}}
theorem foo2 (H : A = B) : A = B := H
theorem bar2 {C D : Type} (H : C = D) : C = D :=
foo2 H