You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
abbrev Pos := { n : Nat // n > 0 }
privatedefPos.le (x y : Pos) : Prop :=
x.val ≤ y.val
instance : LE Pos where
le x y := Pos.le x y
instance : DecidableRel (α := Pos) (· ≤ ·) := by
dsimp [(· ≤ ·)]
dsimp [Pos.le]
infer_instance
いい例があったら紹介したい。
The text was updated successfully, but these errors were encountered: