सामग्री पर जाएँ
The Lumenary
विस्मय पथवैकल्पिक · कभी अंक नहीं दिए जातेयहाँ से शुरू होता है Integers

Inverses and structure

यह पृष्ठ अभी हिन्दी में अनूदित नहीं है, इसलिए इसे English में दिखाया जा रहा है।

अनुवाद में मदद करें →
1

प्रश्न

Every integer can be added to another integer to get 00. So why can almost no integer be multiplied by another integer to get 11?

आगे पढ़ने से पहले प्रयोग करके देखें। खोजबीन का कोई गलत तरीका नहीं है।

2

प्रयोग

साथी की खोज

हर पूर्णांक a के लिए एक ऐसा साथी b खोजें जो आपको तत्समक पर वापस ले आए।

ऐसा b खोजा जा रहा है कि 4 + b = 0

−12
−11
−10
−9
−8
−7
−6
−5
−4
−3
−2
−1
0
1
2
3
4
5
6
7
8
9
10
11
12

मिल गया: b = −4।

3

संकेत, यदि आप चाहें

    4

    क्या हो रहा है

    क्या हो रहा है

    Addition and multiplication of integers look alike: each combines two integers into a third, each is associative, and each has a "do nothing" number — 00 for addition, 11 for multiplication. Mathematicians call such a number an identity.

    The difference is inverses. For addition, every integer aa has a partner −a-a with a+(−a)=0a + (-a) = 0. For multiplication, a partner bb with ab=1ab = 1 exists only for a=1a = 1 and a=−1a = -1: if ∣a∣≥2|a| \geq 2 and b≠0b \neq 0, then ∣ab∣≥2|ab| \geq 2.

    Mathematicians give names to these patterns:

    • A set with an associative operation and an identity is a monoid. The integers under multiplication form a monoid.
    • A monoid in which every element has an inverse is a group. The integers under addition form a group; under multiplication they do not.
    • The integers with both operations, linked by distributivity, form a ring.

    When we move to the rational numbers, every non-zero number gains a multiplicative inverse (23⋅32=1\tfrac{2}{3} \cdot \tfrac{3}{2} = 1), and the non-zero rationals form a group under multiplication. Zero never has a multiplicative inverse, in any ring with 0≠10 \neq 1: 0⋅b=00 \cdot b = 0 for every bb.

    These definitions are precise enough for a computer to check. In Lean:

    Group'Lean 4औपचारिक रूप से सत्यापित
    /-- A **group**: a monoid in which every element `a` has an inverse `inv a` with
    `mul (inv a) a = one`. Together with the monoid laws this one-sided law already implies
    `mul a (inv a) = one` (proved below as `Group'.mul_inv_cancel`); Mathlib's `Group` uses the
    same axiom, `inv_mul_cancel`. -/
    structure Group' (G : Type u) extends Monoid' G where
      inv : G → G
      inv_mul_cancel : ∀ a : G, mul (inv a) a = one
    प्रयुक्त अभिगृहीत: कोई अभिगृहीत नहींformal/Lumenary/Category.leanLean वेब संपादक में आज़माएँ
    intAddLean 4औपचारिक रूप से सत्यापित
    /-- The integers under addition form a group: the operation is `+`, the identity is `0`,
    and the inverse of `a` is `-a`. (We still call the operation `mul`; Mathlib instead has a
    separate `AddGroup` with additive notation.) -/
    def intAdd : Group' Int where
      mul a b := a + b
      one := 0
      inv a := -a
      mul_assoc := Int.add_assoc
      one_mul := Int.zero_add
      mul_one := Int.add_zero
      inv_mul_cancel := Int.add_left_neg
    प्रयुक्त अभिगृहीत: propextformal/Lumenary/Category.leanLean वेब संपादक में आज़माएँ
    int_mul_not_groupLean 4यहाँ मूल तथ्यों से सिद्ध किया गयाऔपचारिक रूप से सत्यापित
    /-- …but the integers under multiplication are **not** a group: not every integer has a
    multiplicative inverse. Indeed `2 · b = 1` has no integer solution
    (`Lumenary.Integers.no_int_half`). -/
    theorem int_mul_not_group : ¬ ∀ a : Int, ∃ b, a * b = 1 := by
      intro h
      obtain ⟨b, hb⟩ := h 2        -- `hb : 2 * b = 1`
      exact Lumenary.Integers.no_int_half ⟨b, hb⟩
    प्रयुक्त अभिगृहीत: propextformal/Lumenary/Category.leanLean वेब संपादक में आज़माएँ

    The same few words — identity, inverse, associativity — describe symmetries of shapes, shuffles of cards, rotations in space and clock arithmetic. That is the power of an algebraic structure: understand it once, and you understand every example.

    औपचारिक रूप से सत्यापित · 6 Leanसंगणना द्वारा परखा गयाAI द्वारा तैयार मसौदा · मानवीय समीक्षा की प्रतीक्षा में
    5

    यह कहाँ ले जाता है