lean4-htt/tests/lean/1301.lean
Leonardo de Moura cce2d3500e test: for issue #1301
closes #1301
2022-07-13 06:05:12 -07:00

10 lines
247 B
Text

syntax "tac" : tactic
theorem a : True := by tac
#check a -- should be declared
theorem a' : True ∧ True := ⟨by tac, by tac⟩
#check a' -- should be declared
syntax "term" : term
def b (n : Nat) : Nat := term
#print b -- should be declared