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

Theorem brecop2 8860
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 5720 . . 3 ([⟨𝐴, 𝐵⟩] ∼ 𝑅[⟨𝐶, 𝐷⟩] ∼ → ([⟨𝐴, 𝐵⟩] ∼ ∈ 𝐻 ∧ [⟨𝐶, 𝐷⟩] ∼ ∈ 𝐻))
3 brecop2.1 . . . . . . 7 dom ∼ = (𝐺 × 𝐺)
4 ecelqsdm 8834 . . . . . . 7 ((dom ∼ = (𝐺 × 𝐺) ∧ [⟨𝐴, 𝐵⟩] ∼ ∈ ((𝐺 × 𝐺) / ∼ )) → ⟨𝐴, 𝐵⟩ ∈ (𝐺 × 𝐺))
53, 4mpan 703 . . . . . 6 ([⟨𝐴, 𝐵⟩] ∼ ∈ ((𝐺 × 𝐺) / ∼ ) → ⟨𝐴, 𝐵⟩ ∈ (𝐺 × 𝐺))
6 brecop2.2 . . . . . 6 𝐻 = ((𝐺 × 𝐺) / ∼ )
75, 6eleq2s 2882 . . . . 5 ([⟨𝐴, 𝐵⟩] ∼ ∈ 𝐻 → ⟨𝐴, 𝐵⟩ ∈ (𝐺 × 𝐺))
8 opelxp 5691 . . . . 5 (⟨𝐴, 𝐵⟩ ∈ (𝐺 × 𝐺) ↔ (𝐴 ∈ 𝐺 ∧ 𝐵 ∈ 𝐺))
97, 8sylib 221 . . . 4 ([⟨𝐴, 𝐵⟩] ∼ ∈ 𝐻 → (𝐴 ∈ 𝐺 ∧ 𝐵 ∈ 𝐺))
10 ecelqsdm 8834 . . . . . . 7 ((dom ∼ = (𝐺 × 𝐺) ∧ [⟨𝐶, 𝐷⟩] ∼ ∈ ((𝐺 × 𝐺) / ∼ )) → ⟨𝐶, 𝐷⟩ ∈ (𝐺 × 𝐺))
113, 10mpan 703 . . . . . 6 ([⟨𝐶, 𝐷⟩] ∼ ∈ ((𝐺 × 𝐺) / ∼ ) → ⟨𝐶, 𝐷⟩ ∈ (𝐺 × 𝐺))
1211, 6eleq2s 2882 . . . . 5 ([⟨𝐶, 𝐷⟩] ∼ ∈ 𝐻 → ⟨𝐶, 𝐷⟩ ∈ (𝐺 × 𝐺))
13 opelxp 5691 . . . . 5 (⟨𝐶, 𝐷⟩ ∈ (𝐺 × 𝐺) ↔ (𝐶 ∈ 𝐺 ∧ 𝐷 ∈ 𝐺))
1412, 13sylib 221 . . . 4 ([⟨𝐶, 𝐷⟩] ∼ ∈ 𝐻 → (𝐶 ∈ 𝐺 ∧ 𝐷 ∈ 𝐺))
159, 14anim12i 625 . . 3 (([⟨𝐴, 𝐵⟩] ∼ ∈ 𝐻 ∧ [⟨𝐶, 𝐷⟩] ∼ ∈ 𝐻) → ((𝐴 ∈ 𝐺 ∧ 𝐵 ∈ 𝐺) ∧ (𝐶 ∈ 𝐺 ∧ 𝐷 ∈ 𝐺)))
162, 15syl 18 . 2 ([⟨𝐴, 𝐵⟩] ∼ 𝑅[⟨𝐶, 𝐷⟩] ∼ → ((𝐴 ∈ 𝐺 ∧ 𝐵 ∈ 𝐺) ∧ (𝐶 ∈ 𝐺 ∧ 𝐷 ∈ 𝐺)))
17 brecop2.4 . . . . 5 ≤ ⊆ (𝐺 × 𝐺)
1817brel 5720 . . . 4 ((𝐴 + 𝐷) ≤ (𝐵 + 𝐶) → ((𝐴 + 𝐷) ∈ 𝐺 ∧ (𝐵 + 𝐶) ∈ 𝐺))
19 brecop2.6 . . . . . 6 dom + = (𝐺 × 𝐺)
20 brecop2.5 . . . . . 6 ¬ ∅ ∈ 𝐺
2119, 20ndmovrcl 7631 . . . . 5 ((𝐴 + 𝐷) ∈ 𝐺 → (𝐴 ∈ 𝐺 ∧ 𝐷 ∈ 𝐺))
2219, 20ndmovrcl 7631 . . . . 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 2147   ⊆ wss 3900  ∅c0 4281  ⟨cop 4838   class class class wbr 5106   × cxp 5653  dom cdm 5655  (class class class)co 7443  [cec 8743   / cqs 8744
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 1945  ax-6 2002  ax-7 2043  ax-8 2149  ax-9 2157  ax-ext 2735  ax-sep 5252  ax-nul 5263  ax-pr 5395
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 2102  df-mo 2567  df-eu 2597  df-clab 2742  df-cleq 2755  df-clel 2839  df-ne 2960  df-ral 3081  df-rex 3091  df-rab 3417  df-v 3456  df-ss 3901  df-dif 4050  df-in 4094  df-un 4154  df-nul 4282  df-if 4486  df-sn 4589  df-pr 4591  df-op 4839  df-uni 4871  df-br 5107  df-opab 5171  df-xp 5661  df-cnv 5663  df-dm 5665  df-rn 5666  df-res 5667  df-ima 5668  df-iota 6512  df-fv 6566  df-ov 7446  df-ec 8747  df-qs 8751
This theorem is used by:  ltsrpr  11189
  Copyright terms: Public domain W3C validator