lean4-htt/tests/lean/run/3395.lean
2024-03-05 14:56:27 +00:00

8 lines
152 B
Text

structure S where
f : Nat → Nat
example (h : g 1 = x) : { f := g : S }.f 1 = x := by
unfold S.f
dsimp
guard_target =ₛ g 1 = x
assumption