lean4-htt/tests/lean/unfoldDefEq.lean

17 lines
351 B
Text
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

def Wrapper (n : Nat) : Type × Type :=
(Fin n, Fin n)
def some_property {n} (x : Fin n) : Prop :=
True
example (x : (Wrapper n).1) (h : some_property x) : True := by
unfold Wrapper at x
trace_state
simp at x
trace_state
sorry
example (x : (Wrapper n).1) (h : some_property x) : True := by
simp [Wrapper] at x
trace_state
sorry