ILE Home Intuitionistic Logic Explorer < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  ILE Home  >  Th. List  >  brecop GIF version

Theorem brecop 6603
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 6568 . . 3 ((𝐴𝐺𝐵𝐺) → [⟨𝐴, 𝐵⟩] 𝐻)
41, 2ecopqsi 6568 . . 3 ((𝐶𝐺𝐷𝐺) → [⟨𝐶, 𝐷⟩] 𝐻)
5 df-br 3990 . . . . 5 ([⟨𝐴, 𝐵⟩] [⟨𝐶, 𝐷⟩] ↔ ⟨[⟨𝐴, 𝐵⟩] , [⟨𝐶, 𝐷⟩] ⟩ ∈ )
6 brecop.5 . . . . . 6 = {⟨𝑥, 𝑦⟩ ∣ ((𝑥𝐻𝑦𝐻) ∧ ∃𝑧𝑤𝑣𝑢((𝑥 = [⟨𝑧, 𝑤⟩] 𝑦 = [⟨𝑣, 𝑢⟩] ) ∧ 𝜑))}
76eleq2i 2237 . . . . 5 (⟨[⟨𝐴, 𝐵⟩] , [⟨𝐶, 𝐷⟩] ⟩ ∈ ↔ ⟨[⟨𝐴, 𝐵⟩] , [⟨𝐶, 𝐷⟩] ⟩ ∈ {⟨𝑥, 𝑦⟩ ∣ ((𝑥𝐻𝑦𝐻) ∧ ∃𝑧𝑤𝑣𝑢((𝑥 = [⟨𝑧, 𝑤⟩] 𝑦 = [⟨𝑣, 𝑢⟩] ) ∧ 𝜑))})
85, 7bitri 183 . . . 4 ([⟨𝐴, 𝐵⟩] [⟨𝐶, 𝐷⟩] ↔ ⟨[⟨𝐴, 𝐵⟩] , [⟨𝐶, 𝐷⟩] ⟩ ∈ {⟨𝑥, 𝑦⟩ ∣ ((𝑥𝐻𝑦𝐻) ∧ ∃𝑧𝑤𝑣𝑢((𝑥 = [⟨𝑧, 𝑤⟩] 𝑦 = [⟨𝑣, 𝑢⟩] ) ∧ 𝜑))})
9 eqeq1 2177 . . . . . . . 8 (𝑥 = [⟨𝐴, 𝐵⟩] → (𝑥 = [⟨𝑧, 𝑤⟩] ↔ [⟨𝐴, 𝐵⟩] = [⟨𝑧, 𝑤⟩] ))
109anbi1d 462 . . . . . . 7 (𝑥 = [⟨𝐴, 𝐵⟩] → ((𝑥 = [⟨𝑧, 𝑤⟩] 𝑦 = [⟨𝑣, 𝑢⟩] ) ↔ ([⟨𝐴, 𝐵⟩] = [⟨𝑧, 𝑤⟩] 𝑦 = [⟨𝑣, 𝑢⟩] )))
1110anbi1d 462 . . . . . 6 (𝑥 = [⟨𝐴, 𝐵⟩] → (((𝑥 = [⟨𝑧, 𝑤⟩] 𝑦 = [⟨𝑣, 𝑢⟩] ) ∧ 𝜑) ↔ (([⟨𝐴, 𝐵⟩] = [⟨𝑧, 𝑤⟩] 𝑦 = [⟨𝑣, 𝑢⟩] ) ∧ 𝜑)))
12114exbidv 1863 . . . . 5 (𝑥 = [⟨𝐴, 𝐵⟩] → (∃𝑧𝑤𝑣𝑢((𝑥 = [⟨𝑧, 𝑤⟩] 𝑦 = [⟨𝑣, 𝑢⟩] ) ∧ 𝜑) ↔ ∃𝑧𝑤𝑣𝑢(([⟨𝐴, 𝐵⟩] = [⟨𝑧, 𝑤⟩] 𝑦 = [⟨𝑣, 𝑢⟩] ) ∧ 𝜑)))
13 eqeq1 2177 . . . . . . . 8 (𝑦 = [⟨𝐶, 𝐷⟩] → (𝑦 = [⟨𝑣, 𝑢⟩] ↔ [⟨𝐶, 𝐷⟩] = [⟨𝑣, 𝑢⟩] ))
1413anbi2d 461 . . . . . . 7 (𝑦 = [⟨𝐶, 𝐷⟩] → (([⟨𝐴, 𝐵⟩] = [⟨𝑧, 𝑤⟩] 𝑦 = [⟨𝑣, 𝑢⟩] ) ↔ ([⟨𝐴, 𝐵⟩] = [⟨𝑧, 𝑤⟩] ∧ [⟨𝐶, 𝐷⟩] = [⟨𝑣, 𝑢⟩] )))
1514anbi1d 462 . . . . . 6 (𝑦 = [⟨𝐶, 𝐷⟩] → ((([⟨𝐴, 𝐵⟩] = [⟨𝑧, 𝑤⟩] 𝑦 = [⟨𝑣, 𝑢⟩] ) ∧ 𝜑) ↔ (([⟨𝐴, 𝐵⟩] = [⟨𝑧, 𝑤⟩] ∧ [⟨𝐶, 𝐷⟩] = [⟨𝑣, 𝑢⟩] ) ∧ 𝜑)))
16154exbidv 1863 . . . . 5 (𝑦 = [⟨𝐶, 𝐷⟩] → (∃𝑧𝑤𝑣𝑢(([⟨𝐴, 𝐵⟩] = [⟨𝑧, 𝑤⟩] 𝑦 = [⟨𝑣, 𝑢⟩] ) ∧ 𝜑) ↔ ∃𝑧𝑤𝑣𝑢(([⟨𝐴, 𝐵⟩] = [⟨𝑧, 𝑤⟩] ∧ [⟨𝐶, 𝐷⟩] = [⟨𝑣, 𝑢⟩] ) ∧ 𝜑)))
1712, 16opelopab2 4255 . . . 4 (([⟨𝐴, 𝐵⟩] 𝐻 ∧ [⟨𝐶, 𝐷⟩] 𝐻) → (⟨[⟨𝐴, 𝐵⟩] , [⟨𝐶, 𝐷⟩] ⟩ ∈ {⟨𝑥, 𝑦⟩ ∣ ((𝑥𝐻𝑦𝐻) ∧ ∃𝑧𝑤𝑣𝑢((𝑥 = [⟨𝑧, 𝑤⟩] 𝑦 = [⟨𝑣, 𝑢⟩] ) ∧ 𝜑))} ↔ ∃𝑧𝑤𝑣𝑢(([⟨𝐴, 𝐵⟩] = [⟨𝑧, 𝑤⟩] ∧ [⟨𝐶, 𝐷⟩] = [⟨𝑣, 𝑢⟩] ) ∧ 𝜑)))
188, 17syl5bb 191 . . 3 (([⟨𝐴, 𝐵⟩] 𝐻 ∧ [⟨𝐶, 𝐷⟩] 𝐻) → ([⟨𝐴, 𝐵⟩] [⟨𝐶, 𝐷⟩] ↔ ∃𝑧𝑤𝑣𝑢(([⟨𝐴, 𝐵⟩] = [⟨𝑧, 𝑤⟩] ∧ [⟨𝐶, 𝐷⟩] = [⟨𝑣, 𝑢⟩] ) ∧ 𝜑)))
193, 4, 18syl2an 287 . 2 (((𝐴𝐺𝐵𝐺) ∧ (𝐶𝐺𝐷𝐺)) → ([⟨𝐴, 𝐵⟩] [⟨𝐶, 𝐷⟩] ↔ ∃𝑧𝑤𝑣𝑢(([⟨𝐴, 𝐵⟩] = [⟨𝑧, 𝑤⟩] ∧ [⟨𝐶, 𝐷⟩] = [⟨𝑣, 𝑢⟩] ) ∧ 𝜑)))
20 opeq12 3767 . . . . . 6 ((𝑧 = 𝐴𝑤 = 𝐵) → ⟨𝑧, 𝑤⟩ = ⟨𝐴, 𝐵⟩)
2120eceq1d 6549 . . . . 5 ((𝑧 = 𝐴𝑤 = 𝐵) → [⟨𝑧, 𝑤⟩] = [⟨𝐴, 𝐵⟩] )
22 opeq12 3767 . . . . . 6 ((𝑣 = 𝐶𝑢 = 𝐷) → ⟨𝑣, 𝑢⟩ = ⟨𝐶, 𝐷⟩)
2322eceq1d 6549 . . . . 5 ((𝑣 = 𝐶𝑢 = 𝐷) → [⟨𝑣, 𝑢⟩] = [⟨𝐶, 𝐷⟩] )
2421, 23anim12i 336 . . . 4 (((𝑧 = 𝐴𝑤 = 𝐵) ∧ (𝑣 = 𝐶𝑢 = 𝐷)) → ([⟨𝑧, 𝑤⟩] = [⟨𝐴, 𝐵⟩] ∧ [⟨𝑣, 𝑢⟩] = [⟨𝐶, 𝐷⟩] ))
25 opelxpi 4643 . . . . . . . 8 ((𝐴𝐺𝐵𝐺) → ⟨𝐴, 𝐵⟩ ∈ (𝐺 × 𝐺))
26 opelxp 4641 . . . . . . . . 9 (⟨𝑧, 𝑤⟩ ∈ (𝐺 × 𝐺) ↔ (𝑧𝐺𝑤𝐺))
27 brecop.2 . . . . . . . . . . 11 Er (𝐺 × 𝐺)
2827a1i 9 . . . . . . . . . 10 ([⟨𝑧, 𝑤⟩] = [⟨𝐴, 𝐵⟩] Er (𝐺 × 𝐺))
29 id 19 . . . . . . . . . 10 ([⟨𝑧, 𝑤⟩] = [⟨𝐴, 𝐵⟩] → [⟨𝑧, 𝑤⟩] = [⟨𝐴, 𝐵⟩] )
3028, 29ereldm 6556 . . . . . . . . 9 ([⟨𝑧, 𝑤⟩] = [⟨𝐴, 𝐵⟩] → (⟨𝑧, 𝑤⟩ ∈ (𝐺 × 𝐺) ↔ ⟨𝐴, 𝐵⟩ ∈ (𝐺 × 𝐺)))
3126, 30bitr3id 193 . . . . . . . 8 ([⟨𝑧, 𝑤⟩] = [⟨𝐴, 𝐵⟩] → ((𝑧𝐺𝑤𝐺) ↔ ⟨𝐴, 𝐵⟩ ∈ (𝐺 × 𝐺)))
3225, 31syl5ibr 155 . . . . . . 7 ([⟨𝑧, 𝑤⟩] = [⟨𝐴, 𝐵⟩] → ((𝐴𝐺𝐵𝐺) → (𝑧𝐺𝑤𝐺)))
33 opelxpi 4643 . . . . . . . 8 ((𝐶𝐺𝐷𝐺) → ⟨𝐶, 𝐷⟩ ∈ (𝐺 × 𝐺))
34 opelxp 4641 . . . . . . . . 9 (⟨𝑣, 𝑢⟩ ∈ (𝐺 × 𝐺) ↔ (𝑣𝐺𝑢𝐺))
3527a1i 9 . . . . . . . . . 10 ([⟨𝑣, 𝑢⟩] = [⟨𝐶, 𝐷⟩] Er (𝐺 × 𝐺))
36 id 19 . . . . . . . . . 10 ([⟨𝑣, 𝑢⟩] = [⟨𝐶, 𝐷⟩] → [⟨𝑣, 𝑢⟩] = [⟨𝐶, 𝐷⟩] )
3735, 36ereldm 6556 . . . . . . . . 9 ([⟨𝑣, 𝑢⟩] = [⟨𝐶, 𝐷⟩] → (⟨𝑣, 𝑢⟩ ∈ (𝐺 × 𝐺) ↔ ⟨𝐶, 𝐷⟩ ∈ (𝐺 × 𝐺)))
3834, 37bitr3id 193 . . . . . . . 8 ([⟨𝑣, 𝑢⟩] = [⟨𝐶, 𝐷⟩] → ((𝑣𝐺𝑢𝐺) ↔ ⟨𝐶, 𝐷⟩ ∈ (𝐺 × 𝐺)))
3933, 38syl5ibr 155 . . . . . . 7 ([⟨𝑣, 𝑢⟩] = [⟨𝐶, 𝐷⟩] → ((𝐶𝐺𝐷𝐺) → (𝑣𝐺𝑢𝐺)))
4032, 39im2anan9 593 . . . . . 6 (([⟨𝑧, 𝑤⟩] = [⟨𝐴, 𝐵⟩] ∧ [⟨𝑣, 𝑢⟩] = [⟨𝐶, 𝐷⟩] ) → (((𝐴𝐺𝐵𝐺) ∧ (𝐶𝐺𝐷𝐺)) → ((𝑧𝐺𝑤𝐺) ∧ (𝑣𝐺𝑢𝐺))))
41 brecop.6 . . . . . . . . 9 ((((𝑧𝐺𝑤𝐺) ∧ (𝐴𝐺𝐵𝐺)) ∧ ((𝑣𝐺𝑢𝐺) ∧ (𝐶𝐺𝐷𝐺))) → (([⟨𝑧, 𝑤⟩] = [⟨𝐴, 𝐵⟩] ∧ [⟨𝑣, 𝑢⟩] = [⟨𝐶, 𝐷⟩] ) → (𝜑𝜓)))
4241an4s 583 . . . . . . . 8 ((((𝑧𝐺𝑤𝐺) ∧ (𝑣𝐺𝑢𝐺)) ∧ ((𝐴𝐺𝐵𝐺) ∧ (𝐶𝐺𝐷𝐺))) → (([⟨𝑧, 𝑤⟩] = [⟨𝐴, 𝐵⟩] ∧ [⟨𝑣, 𝑢⟩] = [⟨𝐶, 𝐷⟩] ) → (𝜑𝜓)))
4342ex 114 . . . . . . 7 (((𝑧𝐺𝑤𝐺) ∧ (𝑣𝐺𝑢𝐺)) → (((𝐴𝐺𝐵𝐺) ∧ (𝐶𝐺𝐷𝐺)) → (([⟨𝑧, 𝑤⟩] = [⟨𝐴, 𝐵⟩] ∧ [⟨𝑣, 𝑢⟩] = [⟨𝐶, 𝐷⟩] ) → (𝜑𝜓))))
4443com13 80 . . . . . 6 (([⟨𝑧, 𝑤⟩] = [⟨𝐴, 𝐵⟩] ∧ [⟨𝑣, 𝑢⟩] = [⟨𝐶, 𝐷⟩] ) → (((𝐴𝐺𝐵𝐺) ∧ (𝐶𝐺𝐷𝐺)) → (((𝑧𝐺𝑤𝐺) ∧ (𝑣𝐺𝑢𝐺)) → (𝜑𝜓))))
4540, 44mpdd 41 . . . . 5 (([⟨𝑧, 𝑤⟩] = [⟨𝐴, 𝐵⟩] ∧ [⟨𝑣, 𝑢⟩] = [⟨𝐶, 𝐷⟩] ) → (((𝐴𝐺𝐵𝐺) ∧ (𝐶𝐺𝐷𝐺)) → (𝜑𝜓)))
4645pm5.74d 181 . . . 4 (([⟨𝑧, 𝑤⟩] = [⟨𝐴, 𝐵⟩] ∧ [⟨𝑣, 𝑢⟩] = [⟨𝐶, 𝐷⟩] ) → ((((𝐴𝐺𝐵𝐺) ∧ (𝐶𝐺𝐷𝐺)) → 𝜑) ↔ (((𝐴𝐺𝐵𝐺) ∧ (𝐶𝐺𝐷𝐺)) → 𝜓)))
4724, 46cgsex4g 2767 . . 3 (((𝐴𝐺𝐵𝐺) ∧ (𝐶𝐺𝐷𝐺)) → (∃𝑧𝑤𝑣𝑢(([⟨𝑧, 𝑤⟩] = [⟨𝐴, 𝐵⟩] ∧ [⟨𝑣, 𝑢⟩] = [⟨𝐶, 𝐷⟩] ) ∧ (((𝐴𝐺𝐵𝐺) ∧ (𝐶𝐺𝐷𝐺)) → 𝜑)) ↔ (((𝐴𝐺𝐵𝐺) ∧ (𝐶𝐺𝐷𝐺)) → 𝜓)))
48 eqcom 2172 . . . . . . 7 ([⟨𝐴, 𝐵⟩] = [⟨𝑧, 𝑤⟩] ↔ [⟨𝑧, 𝑤⟩] = [⟨𝐴, 𝐵⟩] )
49 eqcom 2172 . . . . . . 7 ([⟨𝐶, 𝐷⟩] = [⟨𝑣, 𝑢⟩] ↔ [⟨𝑣, 𝑢⟩] = [⟨𝐶, 𝐷⟩] )
5048, 49anbi12i 457 . . . . . 6 (([⟨𝐴, 𝐵⟩] = [⟨𝑧, 𝑤⟩] ∧ [⟨𝐶, 𝐷⟩] = [⟨𝑣, 𝑢⟩] ) ↔ ([⟨𝑧, 𝑤⟩] = [⟨𝐴, 𝐵⟩] ∧ [⟨𝑣, 𝑢⟩] = [⟨𝐶, 𝐷⟩] ))
5150a1i 9 . . . . 5 (((𝐴𝐺𝐵𝐺) ∧ (𝐶𝐺𝐷𝐺)) → (([⟨𝐴, 𝐵⟩] = [⟨𝑧, 𝑤⟩] ∧ [⟨𝐶, 𝐷⟩] = [⟨𝑣, 𝑢⟩] ) ↔ ([⟨𝑧, 𝑤⟩] = [⟨𝐴, 𝐵⟩] ∧ [⟨𝑣, 𝑢⟩] = [⟨𝐶, 𝐷⟩] )))
52 biimt 240 . . . . 5 (((𝐴𝐺𝐵𝐺) ∧ (𝐶𝐺𝐷𝐺)) → (𝜑 ↔ (((𝐴𝐺𝐵𝐺) ∧ (𝐶𝐺𝐷𝐺)) → 𝜑)))
5351, 52anbi12d 470 . . . 4 (((𝐴𝐺𝐵𝐺) ∧ (𝐶𝐺𝐷𝐺)) → ((([⟨𝐴, 𝐵⟩] = [⟨𝑧, 𝑤⟩] ∧ [⟨𝐶, 𝐷⟩] = [⟨𝑣, 𝑢⟩] ) ∧ 𝜑) ↔ (([⟨𝑧, 𝑤⟩] = [⟨𝐴, 𝐵⟩] ∧ [⟨𝑣, 𝑢⟩] = [⟨𝐶, 𝐷⟩] ) ∧ (((𝐴𝐺𝐵𝐺) ∧ (𝐶𝐺𝐷𝐺)) → 𝜑))))
54534exbidv 1863 . . 3 (((𝐴𝐺𝐵𝐺) ∧ (𝐶𝐺𝐷𝐺)) → (∃𝑧𝑤𝑣𝑢(([⟨𝐴, 𝐵⟩] = [⟨𝑧, 𝑤⟩] ∧ [⟨𝐶, 𝐷⟩] = [⟨𝑣, 𝑢⟩] ) ∧ 𝜑) ↔ ∃𝑧𝑤𝑣𝑢(([⟨𝑧, 𝑤⟩] = [⟨𝐴, 𝐵⟩] ∧ [⟨𝑣, 𝑢⟩] = [⟨𝐶, 𝐷⟩] ) ∧ (((𝐴𝐺𝐵𝐺) ∧ (𝐶𝐺𝐷𝐺)) → 𝜑))))
55 biimt 240 . . 3 (((𝐴𝐺𝐵𝐺) ∧ (𝐶𝐺𝐷𝐺)) → (𝜓 ↔ (((𝐴𝐺𝐵𝐺) ∧ (𝐶𝐺𝐷𝐺)) → 𝜓)))
5647, 54, 553bitr4d 219 . 2 (((𝐴𝐺𝐵𝐺) ∧ (𝐶𝐺𝐷𝐺)) → (∃𝑧𝑤𝑣𝑢(([⟨𝐴, 𝐵⟩] = [⟨𝑧, 𝑤⟩] ∧ [⟨𝐶, 𝐷⟩] = [⟨𝑣, 𝑢⟩] ) ∧ 𝜑) ↔ 𝜓))
5719, 56bitrd 187 1 (((𝐴𝐺𝐵𝐺) ∧ (𝐶𝐺𝐷𝐺)) → ([⟨𝐴, 𝐵⟩] [⟨𝐶, 𝐷⟩] 𝜓))
Colors of variables: wff set class
Syntax hints:  wi 4  wa 103  wb 104   = wceq 1348  wex 1485  wcel 2141  Vcvv 2730  cop 3586   class class class wbr 3989  {copab 4049   × cxp 4609   Er wer 6510  [cec 6511   / cqs 6512
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-ia1 105  ax-ia2 106  ax-ia3 107  ax-io 704  ax-5 1440  ax-7 1441  ax-gen 1442  ax-ie1 1486  ax-ie2 1487  ax-8 1497  ax-10 1498  ax-11 1499  ax-i12 1500  ax-bndl 1502  ax-4 1503  ax-17 1519  ax-i9 1523  ax-ial 1527  ax-i5r 1528  ax-13 2143  ax-14 2144  ax-ext 2152  ax-sep 4107  ax-pow 4160  ax-pr 4194  ax-un 4418
This theorem depends on definitions:  df-bi 116  df-3an 975  df-tru 1351  df-nf 1454  df-sb 1756  df-eu 2022  df-mo 2023  df-clab 2157  df-cleq 2163  df-clel 2166  df-nfc 2301  df-ral 2453  df-rex 2454  df-v 2732  df-sbc 2956  df-un 3125  df-in 3127  df-ss 3134  df-pw 3568  df-sn 3589  df-pr 3590  df-op 3592  df-uni 3797  df-br 3990  df-opab 4051  df-xp 4617  df-cnv 4619  df-dm 4621  df-rn 4622  df-res 4623  df-ima 4624  df-er 6513  df-ec 6515  df-qs 6519
This theorem is referenced by:  ordpipqqs  7336  ltsrprg  7709
  Copyright terms: Public domain W3C validator