The Mathlib Handbook

The volumes of the handbook are not written yet. This site shows the map of Mathlib that they will follow, at Mathlib 4472534b60.

The areas / V06. Rings, fields and ordered algebra

Mathlib.Algebra.Ring.Pointwise.Finset

3 declarations. Mathlib docs · Source

Pointwise operations of sets in a ring

This file proves properties of pointwise operations of sets in a ring.

Tags

set multiplication, set addition, pointwise addition, pointwise multiplication, pointwise subtraction

Note that Finset α is not a Distrib because s * t + s * u has cross terms that s * (t + u) lacks.

-- {10, 16, 18, 20, 8, 9}
#eval {1, 2} * ({3, 4} + {5, 6} : Finset ℕ)

-- {10, 11, 12, 13, 14, 15, 16, 18, 20, 8, 9}
#eval ({1, 2} : Finset ℕ) * {3, 4} + {1, 2} * {5, 6}

def Finset.distribNeg E1 #

{α : Type u_1} → [inst : DecidableEq α] → [inst_1 : Mul α] → [HasDistribNeg α] → HasDistribNeg (Finset α)

Finset α has distributive negation if α has.

theorem Finset.mul_add_subset E1 #

∀ {α : Type u_1} [inst : DecidableEq α] [inst_1 : Distrib α] (s t u : Finset α), s * (t + u) ⊆ s * t + s * u

theorem Finset.add_mul_subset E1 #

∀ {α : Type u_1} [inst : DecidableEq α] [inst_1 : Distrib α] (s t u : Finset α), (s + t) * u ⊆ s * u + t * u