MPE Home Metamath Proof Explorer < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >  brecop2 Structured version   Visualization version   GIF version

Theorem brecop2 8810
Description: Binary relation on a quotient set. Lemma for real number construction. Eliminates antecedent from last hypothesis. (Contributed by NM, 13-Feb-1996.) (Revised by AV, 12-Jul-2022.)
Hypotheses
Ref Expression
brecop2.1 dom ∼ = (𝐺 × 𝐺)
brecop2.2 𝐻 = ((𝐺 × 𝐺) / ∼ )
brecop2.3 𝑅 ⊆ (𝐻 × 𝐻)
brecop2.4 ≤ ⊆ (𝐺 × 𝐺)
brecop2.5 ¬ ∅ ∈ 𝐺
brecop2.6 dom + = (𝐺 × 𝐺)
brecop2.7 (((𝐴 ∈ 𝐺 ∧ 𝐵 ∈ 𝐺) ∧ (𝐶 ∈ 𝐺 ∧ 𝐷 ∈ 𝐺)) → ([⟨𝐴, 𝐵⟩] ∼ 𝑅[⟨𝐶, 𝐷⟩] ∼ ↔ (𝐴 + 𝐷) ≤ (𝐵 + 𝐶)))
Assertion
Ref Expression
brecop2 ([⟨𝐴, 𝐵⟩] ∼ 𝑅[⟨𝐶, 𝐷⟩] ∼ ↔ (𝐴 + 𝐷) ≤ (𝐵 + 𝐶))

Proof of Theorem brecop2
StepHypRef Expression
1 brecop2.3 . . . 4 𝑅 ⊆ (𝐻 × 𝐻)
21brel 5712 . . 3 ([⟨𝐴, 𝐵⟩] ∼ 𝑅[⟨𝐶, 𝐷⟩] ∼ → ([⟨𝐴, 𝐵⟩] ∼ ∈ 𝐻 ∧ [⟨𝐶, 𝐷⟩] ∼ ∈ 𝐻))
3 brecop2.1 . . . . . . 7 dom ∼ = (𝐺 × 𝐺)
4 ecelqsdm 8784 . . . . . . 7 ((dom ∼ = (𝐺 × 𝐺) ∧ [⟨𝐴, 𝐵⟩] ∼ ∈ ((𝐺 × 𝐺) / ∼ )) → ⟨𝐴, 𝐵⟩ ∈ (𝐺 × 𝐺))
53, 4mpan 703 . . . . . 6 ([⟨𝐴, 𝐵⟩] ∼ ∈ ((𝐺 × 𝐺) / ∼ ) → ⟨𝐴, 𝐵⟩ ∈ (𝐺 × 𝐺))
6 brecop2.2 . . . . . 6 𝐻 = ((𝐺 × 𝐺) / ∼ )
75, 6eleq2s 2878 . . . . 5 ([⟨𝐴, 𝐵⟩] ∼ ∈ 𝐻 → ⟨𝐴, 𝐵⟩ ∈ (𝐺 × 𝐺))
8 opelxp 5683 . . . . 5 (⟨𝐴, 𝐵⟩ ∈ (𝐺 × 𝐺) ↔ (𝐴 ∈ 𝐺 ∧ 𝐵 ∈ 𝐺))
97, 8sylib 221 . . . 4 ([⟨𝐴, 𝐵⟩] ∼ ∈ 𝐻 → (𝐴 ∈ 𝐺 ∧ 𝐵 ∈ 𝐺))
10 ecelqsdm 8784 . . . . . . 7 ((dom ∼ = (𝐺 × 𝐺) ∧ [⟨𝐶, 𝐷⟩] ∼ ∈ ((𝐺 × 𝐺) / ∼ )) → ⟨𝐶, 𝐷⟩ ∈ (𝐺 × 𝐺))
113, 10mpan 703 . . . . . 6 ([⟨𝐶, 𝐷⟩] ∼ ∈ ((𝐺 × 𝐺) / ∼ ) → ⟨𝐶, 𝐷⟩ ∈ (𝐺 × 𝐺))
1211, 6eleq2s 2878 . . . . 5 ([⟨𝐶, 𝐷⟩] ∼ ∈ 𝐻 → ⟨𝐶, 𝐷⟩ ∈ (𝐺 × 𝐺))
13 opelxp 5683 . . . . 5 (⟨𝐶, 𝐷⟩ ∈ (𝐺 × 𝐺) ↔ (𝐶 ∈ 𝐺 ∧ 𝐷 ∈ 𝐺))
1412, 13sylib 221 . . . 4 ([⟨𝐶, 𝐷⟩] ∼ ∈ 𝐻 → (𝐶 ∈ 𝐺 ∧ 𝐷 ∈ 𝐺))
159, 14anim12i 625 . . 3 (([⟨𝐴, 𝐵⟩] ∼ ∈ 𝐻 ∧ [⟨𝐶, 𝐷⟩] ∼ ∈ 𝐻) → ((𝐴 ∈ 𝐺 ∧ 𝐵 ∈ 𝐺) ∧ (𝐶 ∈ 𝐺 ∧ 𝐷 ∈ 𝐺)))
162, 15syl 18 . 2 ([⟨𝐴, 𝐵⟩] ∼ 𝑅[⟨𝐶, 𝐷⟩] ∼ → ((𝐴 ∈ 𝐺 ∧ 𝐵 ∈ 𝐺) ∧ (𝐶 ∈ 𝐺 ∧ 𝐷 ∈ 𝐺)))
17 brecop2.4 . . . . 5 ≤ ⊆ (𝐺 × 𝐺)
1817brel 5712 . . . 4 ((𝐴 + 𝐷) ≤ (𝐵 + 𝐶) → ((𝐴 + 𝐷) ∈ 𝐺 ∧ (𝐵 + 𝐶) ∈ 𝐺))
19 brecop2.6 . . . . . 6 dom + = (𝐺 × 𝐺)
20 brecop2.5 . . . . . 6 ¬ ∅ ∈ 𝐺
2119, 20ndmovrcl 7595 . . . . 5 ((𝐴 + 𝐷) ∈ 𝐺 → (𝐴 ∈ 𝐺 ∧ 𝐷 ∈ 𝐺))
2219, 20ndmovrcl 7595 . . . . 5 ((𝐵 + 𝐶) ∈ 𝐺 → (𝐵 ∈ 𝐺 ∧ 𝐶 ∈ 𝐺))
2321, 22anim12i 625 . . . 4 (((𝐴 + 𝐷) ∈ 𝐺 ∧ (𝐵 + 𝐶) ∈ 𝐺) → ((𝐴 ∈ 𝐺 ∧ 𝐷 ∈ 𝐺) ∧ (𝐵 ∈ 𝐺 ∧ 𝐶 ∈ 𝐺)))
2418, 23syl 18 . . 3 ((𝐴 + 𝐷) ≤ (𝐵 + 𝐶) → ((𝐴 ∈ 𝐺 ∧ 𝐷 ∈ 𝐺) ∧ (𝐵 ∈ 𝐺 ∧ 𝐶 ∈ 𝐺)))
25 an42 670 . . 3 (((𝐴 ∈ 𝐺 ∧ 𝐷 ∈ 𝐺) ∧ (𝐵 ∈ 𝐺 ∧ 𝐶 ∈ 𝐺)) ↔ ((𝐴 ∈ 𝐺 ∧ 𝐵 ∈ 𝐺) ∧ (𝐶 ∈ 𝐺 ∧ 𝐷 ∈ 𝐺)))
2624, 25sylib 221 . 2 ((𝐴 + 𝐷) ≤ (𝐵 + 𝐶) → ((𝐴 ∈ 𝐺 ∧ 𝐵 ∈ 𝐺) ∧ (𝐶 ∈ 𝐺 ∧ 𝐷 ∈ 𝐺)))
27 brecop2.7 . 2 (((𝐴 ∈ 𝐺 ∧ 𝐵 ∈ 𝐺) ∧ (𝐶 ∈ 𝐺 ∧ 𝐷 ∈ 𝐺)) → ([⟨𝐴, 𝐵⟩] ∼ 𝑅[⟨𝐶, 𝐷⟩] ∼ ↔ (𝐴 + 𝐷) ≤ (𝐵 + 𝐶)))
2816, 26, 27pm5.21nii 381 1 ([⟨𝐴, 𝐵⟩] ∼ 𝑅[⟨𝐶, 𝐷⟩] ∼ ↔ (𝐴 + 𝐷) ≤ (𝐵 + 𝐶))
Colors of variables:    wff setvar class
This proof depends on syntax axioms:  ¬ wn 3   → wi 4   ↔ wb 209   ∧ wa 401   = wceq 1570   ∈ wcel 2145   ⊆ wss 3898  ∅c0 4278  ⟨cop 4589   class class class wbr 5102   × cxp 5645  dom cdm 5647  (class class class)co 7408  [cec 8693   / cqs 8694
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1828  ax-4 1842  ax-5 1943  ax-6 2000  ax-7 2041  ax-8 2147  ax-9 2155  ax-ext 2732  ax-sep 5248  ax-nul 5259  ax-pr 5390
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3an 1105  df-tru 1573  df-fal 1583  df-ex 1813  df-sb 2100  df-mo 2564  df-eu 2594  df-clab 2739  df-cleq 2752  df-clel 2835  df-ne 2956  df-ral 3077  df-rex 3087  df-rab 3413  df-v 3452  df-dif 3901  df-un 3903  df-in 3905  df-ss 3915  df-nul 4279  df-if 4482  df-sn 4584  df-pr 4586  df-op 4590  df-uni 4867  df-br 5103  df-opab 5167  df-xp 5653  df-cnv 5655  df-dm 5657  df-rn 5658  df-res 5659  df-ima 5660  df-iota 6483  df-fv 6535  df-ov 7411  df-ec 8697  df-qs 8701
This theorem is used by:  ltsrpr  11133
  Copyright terms: Public domain W3C validator