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

Theorem brecop2 8870
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 5722 . . 3 ([⟨𝐴, 𝐵⟩] ∼ 𝑅[⟨𝐶, 𝐷⟩] ∼ → ([⟨𝐴, 𝐵⟩] ∼ ∈ 𝐻 ∧ [⟨𝐶, 𝐷⟩] ∼ ∈ 𝐻))
3 brecop2.1 . . . . . . 7 dom ∼ = (𝐺 × 𝐺)
4 ecelqsdm 8844 . . . . . . 7 ((dom ∼ = (𝐺 × 𝐺) ∧ [⟨𝐴, 𝐵⟩] ∼ ∈ ((𝐺 × 𝐺) / ∼ )) → ⟨𝐴, 𝐵⟩ ∈ (𝐺 × 𝐺))
53, 4mpan 703 . . . . . 6 ([⟨𝐴, 𝐵⟩] ∼ ∈ ((𝐺 × 𝐺) / ∼ ) → ⟨𝐴, 𝐵⟩ ∈ (𝐺 × 𝐺))
6 brecop2.2 . . . . . 6 𝐻 = ((𝐺 × 𝐺) / ∼ )
75, 6eleq2s 2885 . . . . 5 ([⟨𝐴, 𝐵⟩] ∼ ∈ 𝐻 → ⟨𝐴, 𝐵⟩ ∈ (𝐺 × 𝐺))
8 opelxp 5693 . . . . 5 (⟨𝐴, 𝐵⟩ ∈ (𝐺 × 𝐺) ↔ (𝐴 ∈ 𝐺 ∧ 𝐵 ∈ 𝐺))
97, 8sylib 221 . . . 4 ([⟨𝐴, 𝐵⟩] ∼ ∈ 𝐻 → (𝐴 ∈ 𝐺 ∧ 𝐵 ∈ 𝐺))
10 ecelqsdm 8844 . . . . . . 7 ((dom ∼ = (𝐺 × 𝐺) ∧ [⟨𝐶, 𝐷⟩] ∼ ∈ ((𝐺 × 𝐺) / ∼ )) → ⟨𝐶, 𝐷⟩ ∈ (𝐺 × 𝐺))
113, 10mpan 703 . . . . . 6 ([⟨𝐶, 𝐷⟩] ∼ ∈ ((𝐺 × 𝐺) / ∼ ) → ⟨𝐶, 𝐷⟩ ∈ (𝐺 × 𝐺))
1211, 6eleq2s 2885 . . . . 5 ([⟨𝐶, 𝐷⟩] ∼ ∈ 𝐻 → ⟨𝐶, 𝐷⟩ ∈ (𝐺 × 𝐺))
13 opelxp 5693 . . . . 5 (⟨𝐶, 𝐷⟩ ∈ (𝐺 × 𝐺) ↔ (𝐶 ∈ 𝐺 ∧ 𝐷 ∈ 𝐺))
1412, 13sylib 221 . . . 4 ([⟨𝐶, 𝐷⟩] ∼ ∈ 𝐻 → (𝐶 ∈ 𝐺 ∧ 𝐷 ∈ 𝐺))
159, 14anim12i 625 . . 3 (([⟨𝐴, 𝐵⟩] ∼ ∈ 𝐻 ∧ [⟨𝐶, 𝐷⟩] ∼ ∈ 𝐻) → ((𝐴 ∈ 𝐺 ∧ 𝐵 ∈ 𝐺) ∧ (𝐶 ∈ 𝐺 ∧ 𝐷 ∈ 𝐺)))
162, 15syl 18 . 2 ([⟨𝐴, 𝐵⟩] ∼ 𝑅[⟨𝐶, 𝐷⟩] ∼ → ((𝐴 ∈ 𝐺 ∧ 𝐵 ∈ 𝐺) ∧ (𝐶 ∈ 𝐺 ∧ 𝐷 ∈ 𝐺)))
17 brecop2.4 . . . . 5 ≤ ⊆ (𝐺 × 𝐺)
1817brel 5722 . . . 4 ((𝐴 + 𝐷) ≤ (𝐵 + 𝐶) → ((𝐴 + 𝐷) ∈ 𝐺 ∧ (𝐵 + 𝐶) ∈ 𝐺))
19 brecop2.6 . . . . . 6 dom + = (𝐺 × 𝐺)
20 brecop2.5 . . . . . 6 ¬ ∅ ∈ 𝐺
2119, 20ndmovrcl 7639 . . . . 5 ((𝐴 + 𝐷) ∈ 𝐺 → (𝐴 ∈ 𝐺 ∧ 𝐷 ∈ 𝐺))
2219, 20ndmovrcl 7639 . . . . 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 1572   ∈ wcel 2150   ⊆ wss 3899  ∅c0 4280  ⟨cop 4839   class class class wbr 5107   × cxp 5655  dom cdm 5657  (class class class)co 7451  [cec 8753   / cqs 8754
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1830  ax-4 1844  ax-5 1947  ax-6 2004  ax-7 2045  ax-8 2152  ax-9 2160  ax-ext 2738  ax-sep 5254  ax-nul 5265  ax-pr 5397
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3an 1106  df-tru 1575  df-fal 1585  df-ex 1815  df-sb 2104  df-mo 2570  df-eu 2600  df-clab 2745  df-cleq 2758  df-clel 2842  df-ne 2963  df-ral 3084  df-rex 3094  df-rab 3416  df-v 3455  df-ss 3900  df-dif 4049  df-in 4093  df-un 4153  df-nul 4281  df-if 4485  df-sn 4588  df-pr 4590  df-op 4840  df-uni 4872  df-br 5108  df-opab 5173  df-xp 5663  df-cnv 5665  df-dm 5667  df-rn 5668  df-res 5669  df-ima 5670  df-iota 6520  df-fv 6574  df-ov 7454  df-ec 8757  df-qs 8761
This theorem is used by:  ltsrpr  11201
  Copyright terms: Public domain W3C validator