blob: 3de0134e451cfe881f91e8192d3242a222f2c9d4 [file]
example (k : Prop) (h : k) [Decidable k] (h' : c = 1) :
let ⟨a, _⟩ := if k then (1, 0) else (0, 1)
a = c := by
simp [h]
guard_target =ₛ 1 = c
rw [h']