Documentation

Mathlib.Data.Set.CoeSort

Coercing sets to types. #

This file defines Set.Elem s as the type of all elements of the set s. More advanced theorems about these definitions are located in other files in Mathlib/Data/Set.

Main definitions #

@[reducible]
def Set.Elem {α : Type u} (s : Set α) :

Given the set s, Elem s is the Type of element of s.

Equations
  • s = { x : α // x s }
Instances For
    instance Set.instCoeSortType {α : Type u} :
    CoeSort (Set α) (Type u)

    Coercion from a set to the corresponding subtype.

    Equations