News for hackers. Stuff that matters.
Re:'Equals' Has More Than One Meaning in Math by staunton on Wednesday June 19, 2024 @03:00AM (#40725597)
What do you mean by "subtype"? Lean defines a thing calles `Subtype`, members of which are constructed from a value and a property.
Re:'Equals' Has More Than One Meaning in Math by auggierose on Wednesday June 19, 2024 @03:06AM (#40725640)
That might be called Subtype, but is a disjoint type containing different values than the original type. If S is a subtype of T, and x : S, then also x : T.