The product, by its maps
هذه الصفحة غير مترجمة بعدُ إلى العربية، لذلك تُعرض باللغة English.
ساعد في الترجمة →السؤال
Can you describe the set of pairs without ever looking inside it — only by how functions go into it?
جرّب التجربة قبل متابعة القراءة. لا توجد طريقة خاطئة للاستكشاف.
التجربة
الضرب الديكارتي عبر دواله
اختر دالتين f : Z → A وg : Z → B. ثم حاول بناء دالة h : Z → A × B يعطي إسقاطاها f وg.
f : Z → A
g : Z → B
⟨f, g⟩ : Z → A × B
p ↦ (أحمر, 2) q ↦ (أزرق, 2) r ↦ (أحمر, 3)
دورك: اختر h(p) وh(q) وh(r) بالنقر على الخانات.
| A × B | 1 | 2 | 3 |
|---|---|---|---|
| أحمر | |||
| أزرق |
تلميحات، إن أردتها
ما الذي يحدث
ما الذي يحدث
The product comes with two projections, and . Given any set and any functions and , there is a function
with and . The experiment shows more: it is the only such function. Any with and must send to the pair with first coordinate and second coordinate — that is, .
/-- Following `pair f g` by the first projection gives back `f`. -/
theorem fst_comp_pair (f : Z → A) (g : Z → B) : Prod.fst ∘ pair f g = f := rfl/-- **Universal property of the product, uniqueness half.** Any `h : Z → A × B` whose two
coordinates are `f` and `g` *is* `pair f g`. Together with `fst_comp_pair` and
`snd_comp_pair` (existence), this says: maps into `A × B` are the same thing as pairs of
maps into `A` and into `B`. -/
theorem pair_unique {f : Z → A} {g : Z → B} (h : Z → A × B)
(hf : Prod.fst ∘ h = f) (hg : Prod.snd ∘ h = g) : h = pair f g := by
funext z
show h z = (f z, g z)
rw [← hf, ← hg]
-- The goal is now `h z = ((h z).1, (h z).2)`: every pair is built from its coordinates.
rflThis "exists and is unique" statement is called the universal property of the product. It describes entirely through its relationships with all other sets, without mentioning ordered pairs at all. In any category, an object with two arrows satisfying this property is called a product of and .
The universal property pins the product down up to isomorphism: any two products of and are related by a unique isomorphism compatible with the projections — though they need not be literally equal. In the category of subsets of a set ordered by , the product of and turns out to be ; in other categories products look different again. Universal properties like this one are the starting point for limits, adjunctions and the Yoneda lemma.
إلى أين يقود هذا
- بداية المرحلة الجامعية · مُخطَّط لهUniversal propertiesDescribing objects by their relationships rather than their elements: universal properties of products, quotients, free objects and fields of fractions, and the fact that an object with a universal property is unique up to unique isomorphism.
- المرحلة الجامعية المتقدمة · مُخطَّط لهLimits and colimitsDiagrams, cones and limits: equalisers, pullbacks and inverse limits and their duals, completeness of Set, Grp and Top, the construction of all limits from products and equalisers, and preservation of limits by functors.