Пункт 3

Основные операции над множествами

Пусть U U - универсум. Тогда:

  • A∪B={x∈Ux∈A∨x∈B} A union B equals the 1 by 2 row matrix Column 1: x is a member of U Column 2: x is a member of A or x is a member of B

  • A∩B={x∈Ux∈A∧x∈B} A intersection B equals the 1 by 2 row matrix Column 1: x is a member of U Column 2: x is a member of A and x is a member of B

  • A∖B={x∈Ax∉B} A set minus B equals the 1 by 2 row matrix Column 1: x is a member of A Column 2: x is not a member of B

  • A¯=U∖A={x∈Ux∉A} A bar equals U set minus A equals the 1 by 2 row matrix Column 1: x is a member of U Column 2: x is not a member of A

  • A△B=(A∪B)∖(A∩B) A white up pointing triangle B equals open paren A union B close paren set minus open paren A intersection B close paren - что-то в духе xor

Законы Де Моргана

  • U∖(A∩B)=A¯∪B¯ U set minus open paren A intersection B close paren equals A bar union B bar

  • U∖(A∪B)=A¯∩B¯ U set minus open paren A union B close paren equals A bar intersection B bar

доказывается смотрением по элементам

Пары и кортежи

(a,b)≔{{a},{a,b}} open paren a comma b close paren colon equals the set the set a comma the set a comma b

(x,y,z)≔(x,(y,z)) open paren x comma y comma z close paren colon equals open paren x comma open paren y comma z close paren close paren

Аналогично для кортежей большего размера

Декартово произведение множеств. Возведение в степень

A⨉B={(a,b)a∈A,b∈B} A the n ary times of B equals the 1 by 2 row matrix Column 1: open paren a comma b close paren Column 2: a is a member of A comma b is a member of B

Возведение в степень:

A1≔A A to the first power colon equals A

An≔A⨉An-1 A to the n-th power colon equals A the n ary times of A raised to the n minus 1 power