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

Theorem brecop 8557
Description: Binary relation on a quotient set. Lemma for real number construction. (Contributed by NM, 29-Jan-1996.)
Hypotheses
Ref Expression
brecop.1 ∈ V
brecop.2 Er (𝐺 × 𝐺)
brecop.4 𝐻 = ((𝐺 × 𝐺) / )
brecop.5 = {⟨𝑥, 𝑦⟩ ∣ ((𝑥𝐻𝑦𝐻) ∧ ∃𝑧𝑤𝑣𝑢((𝑥 = [⟨𝑧, 𝑤⟩] 𝑦 = [⟨𝑣, 𝑢⟩] ) ∧ 𝜑))}
brecop.6 ((((𝑧𝐺𝑤𝐺) ∧ (𝐴𝐺𝐵𝐺)) ∧ ((𝑣𝐺𝑢𝐺) ∧ (𝐶𝐺𝐷𝐺))) → (([⟨𝑧, 𝑤⟩] = [⟨𝐴, 𝐵⟩] ∧ [⟨𝑣, 𝑢⟩] = [⟨𝐶, 𝐷⟩] ) → (𝜑𝜓)))
Assertion
Ref Expression
brecop (((𝐴𝐺𝐵𝐺) ∧ (𝐶𝐺𝐷𝐺)) → ([⟨𝐴, 𝐵⟩] [⟨𝐶, 𝐷⟩] 𝜓))
Distinct variable groups:   𝑥,𝑦,𝑧,𝑤,𝑣,𝑢,𝐴   𝑥,𝐵,𝑦,𝑧,𝑤,𝑣,𝑢   𝑥,𝐶,𝑦,𝑧,𝑤,𝑣,𝑢   𝑥,𝐷,𝑦,𝑧,𝑤,𝑣,𝑢   𝑥, ,𝑦,𝑧,𝑤,𝑣,𝑢   𝑥,𝐻,𝑦   𝑧,𝐺,𝑤,𝑣,𝑢   𝜑,𝑥,𝑦   𝜓,𝑧,𝑤,𝑣,𝑢
Allowed substitution hints:   𝜑(𝑧,𝑤,𝑣,𝑢)   𝜓(𝑥,𝑦)   𝐺(𝑥,𝑦)   𝐻(𝑧,𝑤,𝑣,𝑢)   (𝑥,𝑦,𝑧,𝑤,𝑣,𝑢)

Proof of Theorem brecop
StepHypRef Expression
1 brecop.1 . . . 4 ∈ V
2 brecop.4 . . . 4 𝐻 = ((𝐺 × 𝐺) / )
31, 2ecopqsi 8521 . . 3 ((𝐴𝐺𝐵𝐺) → [⟨𝐴, 𝐵⟩] 𝐻)
41, 2ecopqsi 8521 . . 3 ((𝐶𝐺𝐷𝐺) → [⟨𝐶, 𝐷⟩] 𝐻)
5 df-br 5071 . . . . 5 ([⟨𝐴, 𝐵⟩] [⟨𝐶, 𝐷⟩] ↔ ⟨[⟨𝐴, 𝐵⟩] , [⟨𝐶, 𝐷⟩] ⟩ ∈ )
6 brecop.5 . . . . . 6 = {⟨𝑥, 𝑦⟩ ∣ ((𝑥𝐻𝑦𝐻) ∧ ∃𝑧𝑤𝑣𝑢((𝑥 = [⟨𝑧, 𝑤⟩] 𝑦 = [⟨𝑣, 𝑢⟩] ) ∧ 𝜑))}
76eleq2i 2830 . . . . 5 (⟨[⟨𝐴, 𝐵⟩] , [⟨𝐶, 𝐷⟩] ⟩ ∈ ↔ ⟨[⟨𝐴, 𝐵⟩] , [⟨𝐶, 𝐷⟩] ⟩ ∈ {⟨𝑥, 𝑦⟩ ∣ ((𝑥𝐻𝑦𝐻) ∧ ∃𝑧𝑤𝑣𝑢((𝑥 = [⟨𝑧, 𝑤⟩] 𝑦 = [⟨𝑣, 𝑢⟩] ) ∧ 𝜑))})
85, 7bitri 274 . . . 4 ([⟨𝐴, 𝐵⟩] [⟨𝐶, 𝐷⟩] ↔ ⟨[⟨𝐴, 𝐵⟩] , [⟨𝐶, 𝐷⟩] ⟩ ∈ {⟨𝑥, 𝑦⟩ ∣ ((𝑥𝐻𝑦𝐻) ∧ ∃𝑧𝑤𝑣𝑢((𝑥 = [⟨𝑧, 𝑤⟩] 𝑦 = [⟨𝑣, 𝑢⟩] ) ∧ 𝜑))})
9 eqeq1 2742 . . . . . . . 8 (𝑥 = [⟨𝐴, 𝐵⟩] → (𝑥 = [⟨𝑧, 𝑤⟩] ↔ [⟨𝐴, 𝐵⟩] = [⟨𝑧, 𝑤⟩] ))
109anbi1d 629 . . . . . . 7 (𝑥 = [⟨𝐴, 𝐵⟩] → ((𝑥 = [⟨𝑧, 𝑤⟩] 𝑦 = [⟨𝑣, 𝑢⟩] ) ↔ ([⟨𝐴, 𝐵⟩] = [⟨𝑧, 𝑤⟩] 𝑦 = [⟨𝑣, 𝑢⟩] )))
1110anbi1d 629 . . . . . 6 (𝑥 = [⟨𝐴, 𝐵⟩] → (((𝑥 = [⟨𝑧, 𝑤⟩] 𝑦 = [⟨𝑣, 𝑢⟩] ) ∧ 𝜑) ↔ (([⟨𝐴, 𝐵⟩] = [⟨𝑧, 𝑤⟩] 𝑦 = [⟨𝑣, 𝑢⟩] ) ∧ 𝜑)))
12114exbidv 1930 . . . . 5 (𝑥 = [⟨𝐴, 𝐵⟩] → (∃𝑧𝑤𝑣𝑢((𝑥 = [⟨𝑧, 𝑤⟩] 𝑦 = [⟨𝑣, 𝑢⟩] ) ∧ 𝜑) ↔ ∃𝑧𝑤𝑣𝑢(([⟨𝐴, 𝐵⟩] = [⟨𝑧, 𝑤⟩] 𝑦 = [⟨𝑣, 𝑢⟩] ) ∧ 𝜑)))
13 eqeq1 2742 . . . . . . . 8 (𝑦 = [⟨𝐶, 𝐷⟩] → (𝑦 = [⟨𝑣, 𝑢⟩] ↔ [⟨𝐶, 𝐷⟩] = [⟨𝑣, 𝑢⟩] ))
1413anbi2d 628 . . . . . . 7 (𝑦 = [⟨𝐶, 𝐷⟩] → (([⟨𝐴, 𝐵⟩] = [⟨𝑧, 𝑤⟩] 𝑦 = [⟨𝑣, 𝑢⟩] ) ↔ ([⟨𝐴, 𝐵⟩] = [⟨𝑧, 𝑤⟩] ∧ [⟨𝐶, 𝐷⟩] = [⟨𝑣, 𝑢⟩] )))
1514anbi1d 629 . . . . . 6 (𝑦 = [⟨𝐶, 𝐷⟩] → ((([⟨𝐴, 𝐵⟩] = [⟨𝑧, 𝑤⟩] 𝑦 = [⟨𝑣, 𝑢⟩] ) ∧ 𝜑) ↔ (([⟨𝐴, 𝐵⟩] = [⟨𝑧, 𝑤⟩] ∧ [⟨𝐶, 𝐷⟩] = [⟨𝑣, 𝑢⟩] ) ∧ 𝜑)))
16154exbidv 1930 . . . . 5 (𝑦 = [⟨𝐶, 𝐷⟩] → (∃𝑧𝑤𝑣𝑢(([⟨𝐴, 𝐵⟩] = [⟨𝑧, 𝑤⟩] 𝑦 = [⟨𝑣, 𝑢⟩] ) ∧ 𝜑) ↔ ∃𝑧𝑤𝑣𝑢(([⟨𝐴, 𝐵⟩] = [⟨𝑧, 𝑤⟩] ∧ [⟨𝐶, 𝐷⟩] = [⟨𝑣, 𝑢⟩] ) ∧ 𝜑)))
1712, 16opelopab2 5447 . . . 4 (([⟨𝐴, 𝐵⟩] 𝐻 ∧ [⟨𝐶, 𝐷⟩] 𝐻) → (⟨[⟨𝐴, 𝐵⟩] , [⟨𝐶, 𝐷⟩] ⟩ ∈ {⟨𝑥, 𝑦⟩ ∣ ((𝑥𝐻𝑦𝐻) ∧ ∃𝑧𝑤𝑣𝑢((𝑥 = [⟨𝑧, 𝑤⟩] 𝑦 = [⟨𝑣, 𝑢⟩] ) ∧ 𝜑))} ↔ ∃𝑧𝑤𝑣𝑢(([⟨𝐴, 𝐵⟩] = [⟨𝑧, 𝑤⟩] ∧ [⟨𝐶, 𝐷⟩] = [⟨𝑣, 𝑢⟩] ) ∧ 𝜑)))
188, 17syl5bb 282 . . 3 (([⟨𝐴, 𝐵⟩] 𝐻 ∧ [⟨𝐶, 𝐷⟩] 𝐻) → ([⟨𝐴, 𝐵⟩] [⟨𝐶, 𝐷⟩] ↔ ∃𝑧𝑤𝑣𝑢(([⟨𝐴, 𝐵⟩] = [⟨𝑧, 𝑤⟩] ∧ [⟨𝐶, 𝐷⟩] = [⟨𝑣, 𝑢⟩] ) ∧ 𝜑)))
193, 4, 18syl2an 595 . 2 (((𝐴𝐺𝐵𝐺) ∧ (𝐶𝐺𝐷𝐺)) → ([⟨𝐴, 𝐵⟩] [⟨𝐶, 𝐷⟩] ↔ ∃𝑧𝑤𝑣𝑢(([⟨𝐴, 𝐵⟩] = [⟨𝑧, 𝑤⟩] ∧ [⟨𝐶, 𝐷⟩] = [⟨𝑣, 𝑢⟩] ) ∧ 𝜑)))
20 opeq12 4803 . . . . . 6 ((𝑧 = 𝐴𝑤 = 𝐵) → ⟨𝑧, 𝑤⟩ = ⟨𝐴, 𝐵⟩)
2120eceq1d 8495 . . . . 5 ((𝑧 = 𝐴𝑤 = 𝐵) → [⟨𝑧, 𝑤⟩] = [⟨𝐴, 𝐵⟩] )
22 opeq12 4803 . . . . . 6 ((𝑣 = 𝐶𝑢 = 𝐷) → ⟨𝑣, 𝑢⟩ = ⟨𝐶, 𝐷⟩)
2322eceq1d 8495 . . . . 5 ((𝑣 = 𝐶𝑢 = 𝐷) → [⟨𝑣, 𝑢⟩] = [⟨𝐶, 𝐷⟩] )
2421, 23anim12i 612 . . . 4 (((𝑧 = 𝐴𝑤 = 𝐵) ∧ (𝑣 = 𝐶𝑢 = 𝐷)) → ([⟨𝑧, 𝑤⟩] = [⟨𝐴, 𝐵⟩] ∧ [⟨𝑣, 𝑢⟩] = [⟨𝐶, 𝐷⟩] ))
25 opelxpi 5617 . . . . . . . 8 ((𝐴𝐺𝐵𝐺) → ⟨𝐴, 𝐵⟩ ∈ (𝐺 × 𝐺))
26 opelxp 5616 . . . . . . . . 9 (⟨𝑧, 𝑤⟩ ∈ (𝐺 × 𝐺) ↔ (𝑧𝐺𝑤𝐺))
27 brecop.2 . . . . . . . . . . 11 Er (𝐺 × 𝐺)
2827a1i 11 . . . . . . . . . 10 ([⟨𝑧, 𝑤⟩] = [⟨𝐴, 𝐵⟩] Er (𝐺 × 𝐺))
29 id 22 . . . . . . . . . 10 ([⟨𝑧, 𝑤⟩] = [⟨𝐴, 𝐵⟩] → [⟨𝑧, 𝑤⟩] = [⟨𝐴, 𝐵⟩] )
3028, 29ereldm 8504 . . . . . . . . 9 ([⟨𝑧, 𝑤⟩] = [⟨𝐴, 𝐵⟩] → (⟨𝑧, 𝑤⟩ ∈ (𝐺 × 𝐺) ↔ ⟨𝐴, 𝐵⟩ ∈ (𝐺 × 𝐺)))
3126, 30bitr3id 284 . . . . . . . 8 ([⟨𝑧, 𝑤⟩] = [⟨𝐴, 𝐵⟩] → ((𝑧𝐺𝑤𝐺) ↔ ⟨𝐴, 𝐵⟩ ∈ (𝐺 × 𝐺)))
3225, 31syl5ibr 245 . . . . . . 7 ([⟨𝑧, 𝑤⟩] = [⟨𝐴, 𝐵⟩] → ((𝐴𝐺𝐵𝐺) → (𝑧𝐺𝑤𝐺)))
33 opelxpi 5617 . . . . . . . 8 ((𝐶𝐺𝐷𝐺) → ⟨𝐶, 𝐷⟩ ∈ (𝐺 × 𝐺))
34 opelxp 5616 . . . . . . . . 9 (⟨𝑣, 𝑢⟩ ∈ (𝐺 × 𝐺) ↔ (𝑣𝐺𝑢𝐺))
3527a1i 11 . . . . . . . . . 10 ([⟨𝑣, 𝑢⟩] = [⟨𝐶, 𝐷⟩] Er (𝐺 × 𝐺))
36 id 22 . . . . . . . . . 10 ([⟨𝑣, 𝑢⟩] = [⟨𝐶, 𝐷⟩] → [⟨𝑣, 𝑢⟩] = [⟨𝐶, 𝐷⟩] )
3735, 36ereldm 8504 . . . . . . . . 9 ([⟨𝑣, 𝑢⟩] = [⟨𝐶, 𝐷⟩] → (⟨𝑣, 𝑢⟩ ∈ (𝐺 × 𝐺) ↔ ⟨𝐶, 𝐷⟩ ∈ (𝐺 × 𝐺)))
3834, 37bitr3id 284 . . . . . . . 8 ([⟨𝑣, 𝑢⟩] = [⟨𝐶, 𝐷⟩] → ((𝑣𝐺𝑢𝐺) ↔ ⟨𝐶, 𝐷⟩ ∈ (𝐺 × 𝐺)))
3933, 38syl5ibr 245 . . . . . . 7 ([⟨𝑣, 𝑢⟩] = [⟨𝐶, 𝐷⟩] → ((𝐶𝐺𝐷𝐺) → (𝑣𝐺𝑢𝐺)))
4032, 39im2anan9 619 . . . . . 6 (([⟨𝑧, 𝑤⟩] = [⟨𝐴, 𝐵⟩] ∧ [⟨𝑣, 𝑢⟩] = [⟨𝐶, 𝐷⟩] ) → (((𝐴𝐺𝐵𝐺) ∧ (𝐶𝐺𝐷𝐺)) → ((𝑧𝐺𝑤𝐺) ∧ (𝑣𝐺𝑢𝐺))))
41 brecop.6 . . . . . . . . 9 ((((𝑧𝐺𝑤𝐺) ∧ (𝐴𝐺𝐵𝐺)) ∧ ((𝑣𝐺𝑢𝐺) ∧ (𝐶𝐺𝐷𝐺))) → (([⟨𝑧, 𝑤⟩] = [⟨𝐴, 𝐵⟩] ∧ [⟨𝑣, 𝑢⟩] = [⟨𝐶, 𝐷⟩] ) → (𝜑𝜓)))
4241an4s 656 . . . . . . . 8 ((((𝑧𝐺𝑤𝐺) ∧ (𝑣𝐺𝑢𝐺)) ∧ ((𝐴𝐺𝐵𝐺) ∧ (𝐶𝐺𝐷𝐺))) → (([⟨𝑧, 𝑤⟩] = [⟨𝐴, 𝐵⟩] ∧ [⟨𝑣, 𝑢⟩] = [⟨𝐶, 𝐷⟩] ) → (𝜑𝜓)))
4342ex 412 . . . . . . 7 (((𝑧𝐺𝑤𝐺) ∧ (𝑣𝐺𝑢𝐺)) → (((𝐴𝐺𝐵𝐺) ∧ (𝐶𝐺𝐷𝐺)) → (([⟨𝑧, 𝑤⟩] = [⟨𝐴, 𝐵⟩] ∧ [⟨𝑣, 𝑢⟩] = [⟨𝐶, 𝐷⟩] ) → (𝜑𝜓))))
4443com13 88 . . . . . 6 (([⟨𝑧, 𝑤⟩] = [⟨𝐴, 𝐵⟩] ∧ [⟨𝑣, 𝑢⟩] = [⟨𝐶, 𝐷⟩] ) → (((𝐴𝐺𝐵𝐺) ∧ (𝐶𝐺𝐷𝐺)) → (((𝑧𝐺𝑤𝐺) ∧ (𝑣𝐺𝑢𝐺)) → (𝜑𝜓))))
4540, 44mpdd 43 . . . . 5 (([⟨𝑧, 𝑤⟩] = [⟨𝐴, 𝐵⟩] ∧ [⟨𝑣, 𝑢⟩] = [⟨𝐶, 𝐷⟩] ) → (((𝐴𝐺𝐵𝐺) ∧ (𝐶𝐺𝐷𝐺)) → (𝜑𝜓)))
4645pm5.74d 272 . . . 4 (([⟨𝑧, 𝑤⟩] = [⟨𝐴, 𝐵⟩] ∧ [⟨𝑣, 𝑢⟩] = [⟨𝐶, 𝐷⟩] ) → ((((𝐴𝐺𝐵𝐺) ∧ (𝐶𝐺𝐷𝐺)) → 𝜑) ↔ (((𝐴𝐺𝐵𝐺) ∧ (𝐶𝐺𝐷𝐺)) → 𝜓)))
4724, 46cgsex4g 3466 . . 3 (((𝐴𝐺𝐵𝐺) ∧ (𝐶𝐺𝐷𝐺)) → (∃𝑧𝑤𝑣𝑢(([⟨𝑧, 𝑤⟩] = [⟨𝐴, 𝐵⟩] ∧ [⟨𝑣, 𝑢⟩] = [⟨𝐶, 𝐷⟩] ) ∧ (((𝐴𝐺𝐵𝐺) ∧ (𝐶𝐺𝐷𝐺)) → 𝜑)) ↔ (((𝐴𝐺𝐵𝐺) ∧ (𝐶𝐺𝐷𝐺)) → 𝜓)))
48 eqcom 2745 . . . . . . 7 ([⟨𝐴, 𝐵⟩] = [⟨𝑧, 𝑤⟩] ↔ [⟨𝑧, 𝑤⟩] = [⟨𝐴, 𝐵⟩] )
49 eqcom 2745 . . . . . . 7 ([⟨𝐶, 𝐷⟩] = [⟨𝑣, 𝑢⟩] ↔ [⟨𝑣, 𝑢⟩] = [⟨𝐶, 𝐷⟩] )
5048, 49anbi12i 626 . . . . . 6 (([⟨𝐴, 𝐵⟩] = [⟨𝑧, 𝑤⟩] ∧ [⟨𝐶, 𝐷⟩] = [⟨𝑣, 𝑢⟩] ) ↔ ([⟨𝑧, 𝑤⟩] = [⟨𝐴, 𝐵⟩] ∧ [⟨𝑣, 𝑢⟩] = [⟨𝐶, 𝐷⟩] ))
5150a1i 11 . . . . 5 (((𝐴𝐺𝐵𝐺) ∧ (𝐶𝐺𝐷𝐺)) → (([⟨𝐴, 𝐵⟩] = [⟨𝑧, 𝑤⟩] ∧ [⟨𝐶, 𝐷⟩] = [⟨𝑣, 𝑢⟩] ) ↔ ([⟨𝑧, 𝑤⟩] = [⟨𝐴, 𝐵⟩] ∧ [⟨𝑣, 𝑢⟩] = [⟨𝐶, 𝐷⟩] )))
52 biimt 360 . . . . 5 (((𝐴𝐺𝐵𝐺) ∧ (𝐶𝐺𝐷𝐺)) → (𝜑 ↔ (((𝐴𝐺𝐵𝐺) ∧ (𝐶𝐺𝐷𝐺)) → 𝜑)))
5351, 52anbi12d 630 . . . 4 (((𝐴𝐺𝐵𝐺) ∧ (𝐶𝐺𝐷𝐺)) → ((([⟨𝐴, 𝐵⟩] = [⟨𝑧, 𝑤⟩] ∧ [⟨𝐶, 𝐷⟩] = [⟨𝑣, 𝑢⟩] ) ∧ 𝜑) ↔ (([⟨𝑧, 𝑤⟩] = [⟨𝐴, 𝐵⟩] ∧ [⟨𝑣, 𝑢⟩] = [⟨𝐶, 𝐷⟩] ) ∧ (((𝐴𝐺𝐵𝐺) ∧ (𝐶𝐺𝐷𝐺)) → 𝜑))))
54534exbidv 1930 . . 3 (((𝐴𝐺𝐵𝐺) ∧ (𝐶𝐺𝐷𝐺)) → (∃𝑧𝑤𝑣𝑢(([⟨𝐴, 𝐵⟩] = [⟨𝑧, 𝑤⟩] ∧ [⟨𝐶, 𝐷⟩] = [⟨𝑣, 𝑢⟩] ) ∧ 𝜑) ↔ ∃𝑧𝑤𝑣𝑢(([⟨𝑧, 𝑤⟩] = [⟨𝐴, 𝐵⟩] ∧ [⟨𝑣, 𝑢⟩] = [⟨𝐶, 𝐷⟩] ) ∧ (((𝐴𝐺𝐵𝐺) ∧ (𝐶𝐺𝐷𝐺)) → 𝜑))))
55 biimt 360 . . 3 (((𝐴𝐺𝐵𝐺) ∧ (𝐶𝐺𝐷𝐺)) → (𝜓 ↔ (((𝐴𝐺𝐵𝐺) ∧ (𝐶𝐺𝐷𝐺)) → 𝜓)))
5647, 54, 553bitr4d 310 . 2 (((𝐴𝐺𝐵𝐺) ∧ (𝐶𝐺𝐷𝐺)) → (∃𝑧𝑤𝑣𝑢(([⟨𝐴, 𝐵⟩] = [⟨𝑧, 𝑤⟩] ∧ [⟨𝐶, 𝐷⟩] = [⟨𝑣, 𝑢⟩] ) ∧ 𝜑) ↔ 𝜓))
5719, 56bitrd 278 1 (((𝐴𝐺𝐵𝐺) ∧ (𝐶𝐺𝐷𝐺)) → ([⟨𝐴, 𝐵⟩] [⟨𝐶, 𝐷⟩] 𝜓))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 205  wa 395   = wceq 1539  wex 1783  wcel 2108  Vcvv 3422  cop 4564   class class class wbr 5070  {copab 5132   × cxp 5578   Er wer 8453  [cec 8454   / cqs 8455
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1799  ax-4 1813  ax-5 1914  ax-6 1972  ax-7 2012  ax-8 2110  ax-9 2118  ax-10 2139  ax-11 2156  ax-12 2173  ax-ext 2709  ax-sep 5218  ax-nul 5225  ax-pr 5347  ax-un 7566
This theorem depends on definitions:  df-bi 206  df-an 396  df-or 844  df-3an 1087  df-tru 1542  df-fal 1552  df-ex 1784  df-nf 1788  df-sb 2069  df-clab 2716  df-cleq 2730  df-clel 2817  df-ne 2943  df-ral 3068  df-rex 3069  df-rab 3072  df-v 3424  df-dif 3886  df-un 3888  df-in 3890  df-ss 3900  df-nul 4254  df-if 4457  df-sn 4559  df-pr 4561  df-op 4565  df-uni 4837  df-br 5071  df-opab 5133  df-xp 5586  df-cnv 5588  df-dm 5590  df-rn 5591  df-res 5592  df-ima 5593  df-er 8456  df-ec 8458  df-qs 8462
This theorem is referenced by:  ltsrpr  10764
  Copyright terms: Public domain W3C validator