Zulip Chat Archive

Stream: new members

Topic: Set membership and type judgements


Aniruddh Agarwal (May 22 2020 at 09:17):

Potentially dumb question. Are ex1 and ex2 below equivalent:

universe u

variable {α : Type u}

def P (a : α) (b : α) : Prop := sorry

def ex1 (S : set α) := { x : α |  y : α, y  S  P x y }
def ex2 (S : set α) := { x : α |  y  S, P x y }

Kenny Lau (May 22 2020 at 09:18):

yes, definitionally

Kevin Buzzard (May 22 2020 at 09:28):

You can check to see if rfl proves that they are equal

Aniruddh Agarwal (May 22 2020 at 09:31):

Good idea!


Last updated: Dec 20 2023 at 11:08 UTC