Users' Mathboxes Mathbox for Alexander van der Vekens < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >   Mathboxes  >  prproropf1olem4 Structured version   Visualization version   GIF version

Theorem prproropf1olem4 44958
Description: Lemma 4 for prproropf1o 44959. (Contributed by AV, 14-Mar-2023.)
Hypotheses
Ref Expression
prproropf1o.o 𝑂 = (𝑅 ∩ (𝑉 × 𝑉))
prproropf1o.p 𝑃 = {𝑝 ∈ 𝒫 𝑉 ∣ (♯‘𝑝) = 2}
prproropf1o.f 𝐹 = (𝑝𝑃 ↦ ⟨inf(𝑝, 𝑉, 𝑅), sup(𝑝, 𝑉, 𝑅)⟩)
Assertion
Ref Expression
prproropf1olem4 ((𝑅 Or 𝑉𝑊𝑃𝑍𝑃) → ((𝐹𝑍) = (𝐹𝑊) → 𝑍 = 𝑊))
Distinct variable groups:   𝑉,𝑝   𝑊,𝑝   𝑂,𝑝   𝑃,𝑝   𝑅,𝑝   𝑍,𝑝
Allowed substitution hint:   𝐹(𝑝)

Proof of Theorem prproropf1olem4
Dummy variables 𝑎 𝑏 𝑐 𝑑 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 prproropf1o.f . . . 4 𝐹 = (𝑝𝑃 ↦ ⟨inf(𝑝, 𝑉, 𝑅), sup(𝑝, 𝑉, 𝑅)⟩)
2 infeq1 9235 . . . . 5 (𝑝 = 𝑍 → inf(𝑝, 𝑉, 𝑅) = inf(𝑍, 𝑉, 𝑅))
3 supeq1 9204 . . . . 5 (𝑝 = 𝑍 → sup(𝑝, 𝑉, 𝑅) = sup(𝑍, 𝑉, 𝑅))
42, 3opeq12d 4812 . . . 4 (𝑝 = 𝑍 → ⟨inf(𝑝, 𝑉, 𝑅), sup(𝑝, 𝑉, 𝑅)⟩ = ⟨inf(𝑍, 𝑉, 𝑅), sup(𝑍, 𝑉, 𝑅)⟩)
5 simp3 1137 . . . 4 ((𝑅 Or 𝑉𝑊𝑃𝑍𝑃) → 𝑍𝑃)
6 opex 5379 . . . . 5 ⟨inf(𝑍, 𝑉, 𝑅), sup(𝑍, 𝑉, 𝑅)⟩ ∈ V
76a1i 11 . . . 4 ((𝑅 Or 𝑉𝑊𝑃𝑍𝑃) → ⟨inf(𝑍, 𝑉, 𝑅), sup(𝑍, 𝑉, 𝑅)⟩ ∈ V)
81, 4, 5, 7fvmptd3 6898 . . 3 ((𝑅 Or 𝑉𝑊𝑃𝑍𝑃) → (𝐹𝑍) = ⟨inf(𝑍, 𝑉, 𝑅), sup(𝑍, 𝑉, 𝑅)⟩)
9 infeq1 9235 . . . . 5 (𝑝 = 𝑊 → inf(𝑝, 𝑉, 𝑅) = inf(𝑊, 𝑉, 𝑅))
10 supeq1 9204 . . . . 5 (𝑝 = 𝑊 → sup(𝑝, 𝑉, 𝑅) = sup(𝑊, 𝑉, 𝑅))
119, 10opeq12d 4812 . . . 4 (𝑝 = 𝑊 → ⟨inf(𝑝, 𝑉, 𝑅), sup(𝑝, 𝑉, 𝑅)⟩ = ⟨inf(𝑊, 𝑉, 𝑅), sup(𝑊, 𝑉, 𝑅)⟩)
12 simp2 1136 . . . 4 ((𝑅 Or 𝑉𝑊𝑃𝑍𝑃) → 𝑊𝑃)
13 opex 5379 . . . . 5 ⟨inf(𝑊, 𝑉, 𝑅), sup(𝑊, 𝑉, 𝑅)⟩ ∈ V
1413a1i 11 . . . 4 ((𝑅 Or 𝑉𝑊𝑃𝑍𝑃) → ⟨inf(𝑊, 𝑉, 𝑅), sup(𝑊, 𝑉, 𝑅)⟩ ∈ V)
151, 11, 12, 14fvmptd3 6898 . . 3 ((𝑅 Or 𝑉𝑊𝑃𝑍𝑃) → (𝐹𝑊) = ⟨inf(𝑊, 𝑉, 𝑅), sup(𝑊, 𝑉, 𝑅)⟩)
168, 15eqeq12d 2754 . 2 ((𝑅 Or 𝑉𝑊𝑃𝑍𝑃) → ((𝐹𝑍) = (𝐹𝑊) ↔ ⟨inf(𝑍, 𝑉, 𝑅), sup(𝑍, 𝑉, 𝑅)⟩ = ⟨inf(𝑊, 𝑉, 𝑅), sup(𝑊, 𝑉, 𝑅)⟩))
17 prproropf1o.p . . . . 5 𝑃 = {𝑝 ∈ 𝒫 𝑉 ∣ (♯‘𝑝) = 2}
1817prpair 44953 . . . 4 (𝑍𝑃 ↔ ∃𝑐𝑉𝑑𝑉 (𝑍 = {𝑐, 𝑑} ∧ 𝑐𝑑))
1917prpair 44953 . . . . 5 (𝑊𝑃 ↔ ∃𝑎𝑉𝑏𝑉 (𝑊 = {𝑎, 𝑏} ∧ 𝑎𝑏))
20 id 22 . . . . . . . . . . . . . . . 16 (𝑅 Or 𝑉𝑅 Or 𝑉)
2120infexd 9242 . . . . . . . . . . . . . . 15 (𝑅 Or 𝑉 → inf({𝑐, 𝑑}, 𝑉, 𝑅) ∈ V)
2220supexd 9212 . . . . . . . . . . . . . . 15 (𝑅 Or 𝑉 → sup({𝑐, 𝑑}, 𝑉, 𝑅) ∈ V)
2321, 22jca 512 . . . . . . . . . . . . . 14 (𝑅 Or 𝑉 → (inf({𝑐, 𝑑}, 𝑉, 𝑅) ∈ V ∧ sup({𝑐, 𝑑}, 𝑉, 𝑅) ∈ V))
2423ad4antr 729 . . . . . . . . . . . . 13 (((((𝑅 Or 𝑉 ∧ (𝑎𝑉𝑏𝑉)) ∧ (𝑊 = {𝑎, 𝑏} ∧ 𝑎𝑏)) ∧ (𝑐𝑉𝑑𝑉)) ∧ (𝑍 = {𝑐, 𝑑} ∧ 𝑐𝑑)) → (inf({𝑐, 𝑑}, 𝑉, 𝑅) ∈ V ∧ sup({𝑐, 𝑑}, 𝑉, 𝑅) ∈ V))
25 opthg 5392 . . . . . . . . . . . . 13 ((inf({𝑐, 𝑑}, 𝑉, 𝑅) ∈ V ∧ sup({𝑐, 𝑑}, 𝑉, 𝑅) ∈ V) → (⟨inf({𝑐, 𝑑}, 𝑉, 𝑅), sup({𝑐, 𝑑}, 𝑉, 𝑅)⟩ = ⟨inf({𝑎, 𝑏}, 𝑉, 𝑅), sup({𝑎, 𝑏}, 𝑉, 𝑅)⟩ ↔ (inf({𝑐, 𝑑}, 𝑉, 𝑅) = inf({𝑎, 𝑏}, 𝑉, 𝑅) ∧ sup({𝑐, 𝑑}, 𝑉, 𝑅) = sup({𝑎, 𝑏}, 𝑉, 𝑅))))
2624, 25syl 17 . . . . . . . . . . . 12 (((((𝑅 Or 𝑉 ∧ (𝑎𝑉𝑏𝑉)) ∧ (𝑊 = {𝑎, 𝑏} ∧ 𝑎𝑏)) ∧ (𝑐𝑉𝑑𝑉)) ∧ (𝑍 = {𝑐, 𝑑} ∧ 𝑐𝑑)) → (⟨inf({𝑐, 𝑑}, 𝑉, 𝑅), sup({𝑐, 𝑑}, 𝑉, 𝑅)⟩ = ⟨inf({𝑎, 𝑏}, 𝑉, 𝑅), sup({𝑎, 𝑏}, 𝑉, 𝑅)⟩ ↔ (inf({𝑐, 𝑑}, 𝑉, 𝑅) = inf({𝑎, 𝑏}, 𝑉, 𝑅) ∧ sup({𝑐, 𝑑}, 𝑉, 𝑅) = sup({𝑎, 𝑏}, 𝑉, 𝑅))))
27 solin 5528 . . . . . . . . . . . . . . . . . . 19 ((𝑅 Or 𝑉 ∧ (𝑎𝑉𝑏𝑉)) → (𝑎𝑅𝑏𝑎 = 𝑏𝑏𝑅𝑎))
28 infpr 9262 . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29 ((𝑅 Or 𝑉𝑎𝑉𝑏𝑉) → inf({𝑎, 𝑏}, 𝑉, 𝑅) = if(𝑎𝑅𝑏, 𝑎, 𝑏))
29283expb 1119 . . . . . . . . . . . . . . . . . . . . . . . . . . . 28 ((𝑅 Or 𝑉 ∧ (𝑎𝑉𝑏𝑉)) → inf({𝑎, 𝑏}, 𝑉, 𝑅) = if(𝑎𝑅𝑏, 𝑎, 𝑏))
30 iftrue 4465 . . . . . . . . . . . . . . . . . . . . . . . . . . . 28 (𝑎𝑅𝑏 → if(𝑎𝑅𝑏, 𝑎, 𝑏) = 𝑎)
3129, 30sylan9eqr 2800 . . . . . . . . . . . . . . . . . . . . . . . . . . 27 ((𝑎𝑅𝑏 ∧ (𝑅 Or 𝑉 ∧ (𝑎𝑉𝑏𝑉))) → inf({𝑎, 𝑏}, 𝑉, 𝑅) = 𝑎)
3231eqeq2d 2749 . . . . . . . . . . . . . . . . . . . . . . . . . 26 ((𝑎𝑅𝑏 ∧ (𝑅 Or 𝑉 ∧ (𝑎𝑉𝑏𝑉))) → (inf({𝑐, 𝑑}, 𝑉, 𝑅) = inf({𝑎, 𝑏}, 𝑉, 𝑅) ↔ inf({𝑐, 𝑑}, 𝑉, 𝑅) = 𝑎))
33 suppr 9230 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30 ((𝑅 Or 𝑉𝑎𝑉𝑏𝑉) → sup({𝑎, 𝑏}, 𝑉, 𝑅) = if(𝑏𝑅𝑎, 𝑎, 𝑏))
34333expb 1119 . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29 ((𝑅 Or 𝑉 ∧ (𝑎𝑉𝑏𝑉)) → sup({𝑎, 𝑏}, 𝑉, 𝑅) = if(𝑏𝑅𝑎, 𝑎, 𝑏))
3534adantl 482 . . . . . . . . . . . . . . . . . . . . . . . . . . . 28 ((𝑎𝑅𝑏 ∧ (𝑅 Or 𝑉 ∧ (𝑎𝑉𝑏𝑉))) → sup({𝑎, 𝑏}, 𝑉, 𝑅) = if(𝑏𝑅𝑎, 𝑎, 𝑏))
36 sotric 5531 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30 ((𝑅 Or 𝑉 ∧ (𝑎𝑉𝑏𝑉)) → (𝑎𝑅𝑏 ↔ ¬ (𝑎 = 𝑏𝑏𝑅𝑎)))
37 ioran 981 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31 (¬ (𝑎 = 𝑏𝑏𝑅𝑎) ↔ (¬ 𝑎 = 𝑏 ∧ ¬ 𝑏𝑅𝑎))
38 iffalse 4468 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31 𝑏𝑅𝑎 → if(𝑏𝑅𝑎, 𝑎, 𝑏) = 𝑏)
3937, 38simplbiim 505 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30 (¬ (𝑎 = 𝑏𝑏𝑅𝑎) → if(𝑏𝑅𝑎, 𝑎, 𝑏) = 𝑏)
4036, 39syl6bi 252 . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29 ((𝑅 Or 𝑉 ∧ (𝑎𝑉𝑏𝑉)) → (𝑎𝑅𝑏 → if(𝑏𝑅𝑎, 𝑎, 𝑏) = 𝑏))
4140impcom 408 . . . . . . . . . . . . . . . . . . . . . . . . . . . 28 ((𝑎𝑅𝑏 ∧ (𝑅 Or 𝑉 ∧ (𝑎𝑉𝑏𝑉))) → if(𝑏𝑅𝑎, 𝑎, 𝑏) = 𝑏)
4235, 41eqtrd 2778 . . . . . . . . . . . . . . . . . . . . . . . . . . 27 ((𝑎𝑅𝑏 ∧ (𝑅 Or 𝑉 ∧ (𝑎𝑉𝑏𝑉))) → sup({𝑎, 𝑏}, 𝑉, 𝑅) = 𝑏)
4342eqeq2d 2749 . . . . . . . . . . . . . . . . . . . . . . . . . 26 ((𝑎𝑅𝑏 ∧ (𝑅 Or 𝑉 ∧ (𝑎𝑉𝑏𝑉))) → (sup({𝑐, 𝑑}, 𝑉, 𝑅) = sup({𝑎, 𝑏}, 𝑉, 𝑅) ↔ sup({𝑐, 𝑑}, 𝑉, 𝑅) = 𝑏))
4432, 43anbi12d 631 . . . . . . . . . . . . . . . . . . . . . . . . 25 ((𝑎𝑅𝑏 ∧ (𝑅 Or 𝑉 ∧ (𝑎𝑉𝑏𝑉))) → ((inf({𝑐, 𝑑}, 𝑉, 𝑅) = inf({𝑎, 𝑏}, 𝑉, 𝑅) ∧ sup({𝑐, 𝑑}, 𝑉, 𝑅) = sup({𝑎, 𝑏}, 𝑉, 𝑅)) ↔ (inf({𝑐, 𝑑}, 𝑉, 𝑅) = 𝑎 ∧ sup({𝑐, 𝑑}, 𝑉, 𝑅) = 𝑏)))
4544adantr 481 . . . . . . . . . . . . . . . . . . . . . . . 24 (((𝑎𝑅𝑏 ∧ (𝑅 Or 𝑉 ∧ (𝑎𝑉𝑏𝑉))) ∧ ((𝑐𝑉𝑑𝑉) ∧ 𝑐𝑑)) → ((inf({𝑐, 𝑑}, 𝑉, 𝑅) = inf({𝑎, 𝑏}, 𝑉, 𝑅) ∧ sup({𝑐, 𝑑}, 𝑉, 𝑅) = sup({𝑎, 𝑏}, 𝑉, 𝑅)) ↔ (inf({𝑐, 𝑑}, 𝑉, 𝑅) = 𝑎 ∧ sup({𝑐, 𝑑}, 𝑉, 𝑅) = 𝑏)))
46 solin 5528 . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29 ((𝑅 Or 𝑉 ∧ (𝑐𝑉𝑑𝑉)) → (𝑐𝑅𝑑𝑐 = 𝑑𝑑𝑅𝑐))
4746adantrr 714 . . . . . . . . . . . . . . . . . . . . . . . . . . . 28 ((𝑅 Or 𝑉 ∧ ((𝑐𝑉𝑑𝑉) ∧ 𝑐𝑑)) → (𝑐𝑅𝑑𝑐 = 𝑑𝑑𝑅𝑐))
48 simpl 483 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35 ((𝑅 Or 𝑉 ∧ ((𝑐𝑉𝑑𝑉) ∧ 𝑐𝑑)) → 𝑅 Or 𝑉)
49 simprll 776 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35 ((𝑅 Or 𝑉 ∧ ((𝑐𝑉𝑑𝑉) ∧ 𝑐𝑑)) → 𝑐𝑉)
50 simprlr 777 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35 ((𝑅 Or 𝑉 ∧ ((𝑐𝑉𝑑𝑉) ∧ 𝑐𝑑)) → 𝑑𝑉)
51 infpr 9262 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35 ((𝑅 Or 𝑉𝑐𝑉𝑑𝑉) → inf({𝑐, 𝑑}, 𝑉, 𝑅) = if(𝑐𝑅𝑑, 𝑐, 𝑑))
5248, 49, 50, 51syl3anc 1370 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34 ((𝑅 Or 𝑉 ∧ ((𝑐𝑉𝑑𝑉) ∧ 𝑐𝑑)) → inf({𝑐, 𝑑}, 𝑉, 𝑅) = if(𝑐𝑅𝑑, 𝑐, 𝑑))
53 iftrue 4465 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34 (𝑐𝑅𝑑 → if(𝑐𝑅𝑑, 𝑐, 𝑑) = 𝑐)
5452, 53sylan9eqr 2800 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33 ((𝑐𝑅𝑑 ∧ (𝑅 Or 𝑉 ∧ ((𝑐𝑉𝑑𝑉) ∧ 𝑐𝑑))) → inf({𝑐, 𝑑}, 𝑉, 𝑅) = 𝑐)
5554eqeq1d 2740 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32 ((𝑐𝑅𝑑 ∧ (𝑅 Or 𝑉 ∧ ((𝑐𝑉𝑑𝑉) ∧ 𝑐𝑑))) → (inf({𝑐, 𝑑}, 𝑉, 𝑅) = 𝑎𝑐 = 𝑎))
56 suppr 9230 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36 ((𝑅 Or 𝑉𝑐𝑉𝑑𝑉) → sup({𝑐, 𝑑}, 𝑉, 𝑅) = if(𝑑𝑅𝑐, 𝑐, 𝑑))
5748, 49, 50, 56syl3anc 1370 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35 ((𝑅 Or 𝑉 ∧ ((𝑐𝑉𝑑𝑉) ∧ 𝑐𝑑)) → sup({𝑐, 𝑑}, 𝑉, 𝑅) = if(𝑑𝑅𝑐, 𝑐, 𝑑))
5857adantl 482 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34 ((𝑐𝑅𝑑 ∧ (𝑅 Or 𝑉 ∧ ((𝑐𝑉𝑑𝑉) ∧ 𝑐𝑑))) → sup({𝑐, 𝑑}, 𝑉, 𝑅) = if(𝑑𝑅𝑐, 𝑐, 𝑑))
59 sotric 5531 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 37 ((𝑅 Or 𝑉 ∧ (𝑐𝑉𝑑𝑉)) → (𝑐𝑅𝑑 ↔ ¬ (𝑐 = 𝑑𝑑𝑅𝑐)))
6059adantrr 714 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36 ((𝑅 Or 𝑉 ∧ ((𝑐𝑉𝑑𝑉) ∧ 𝑐𝑑)) → (𝑐𝑅𝑑 ↔ ¬ (𝑐 = 𝑑𝑑𝑅𝑐)))
61 ioran 981 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 37 (¬ (𝑐 = 𝑑𝑑𝑅𝑐) ↔ (¬ 𝑐 = 𝑑 ∧ ¬ 𝑑𝑅𝑐))
62 iffalse 4468 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 37 𝑑𝑅𝑐 → if(𝑑𝑅𝑐, 𝑐, 𝑑) = 𝑑)
6361, 62simplbiim 505 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36 (¬ (𝑐 = 𝑑𝑑𝑅𝑐) → if(𝑑𝑅𝑐, 𝑐, 𝑑) = 𝑑)
6460, 63syl6bi 252 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35 ((𝑅 Or 𝑉 ∧ ((𝑐𝑉𝑑𝑉) ∧ 𝑐𝑑)) → (𝑐𝑅𝑑 → if(𝑑𝑅𝑐, 𝑐, 𝑑) = 𝑑))
6564impcom 408 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34 ((𝑐𝑅𝑑 ∧ (𝑅 Or 𝑉 ∧ ((𝑐𝑉𝑑𝑉) ∧ 𝑐𝑑))) → if(𝑑𝑅𝑐, 𝑐, 𝑑) = 𝑑)
6658, 65eqtrd 2778 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33 ((𝑐𝑅𝑑 ∧ (𝑅 Or 𝑉 ∧ ((𝑐𝑉𝑑𝑉) ∧ 𝑐𝑑))) → sup({𝑐, 𝑑}, 𝑉, 𝑅) = 𝑑)
6766eqeq1d 2740 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32 ((𝑐𝑅𝑑 ∧ (𝑅 Or 𝑉 ∧ ((𝑐𝑉𝑑𝑉) ∧ 𝑐𝑑))) → (sup({𝑐, 𝑑}, 𝑉, 𝑅) = 𝑏𝑑 = 𝑏))
6855, 67anbi12d 631 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31 ((𝑐𝑅𝑑 ∧ (𝑅 Or 𝑉 ∧ ((𝑐𝑉𝑑𝑉) ∧ 𝑐𝑑))) → ((inf({𝑐, 𝑑}, 𝑉, 𝑅) = 𝑎 ∧ sup({𝑐, 𝑑}, 𝑉, 𝑅) = 𝑏) ↔ (𝑐 = 𝑎𝑑 = 𝑏)))
69 orc 864 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31 ((𝑐 = 𝑎𝑑 = 𝑏) → ((𝑐 = 𝑎𝑑 = 𝑏) ∨ (𝑐 = 𝑏𝑑 = 𝑎)))
7068, 69syl6bi 252 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30 ((𝑐𝑅𝑑 ∧ (𝑅 Or 𝑉 ∧ ((𝑐𝑉𝑑𝑉) ∧ 𝑐𝑑))) → ((inf({𝑐, 𝑑}, 𝑉, 𝑅) = 𝑎 ∧ sup({𝑐, 𝑑}, 𝑉, 𝑅) = 𝑏) → ((𝑐 = 𝑎𝑑 = 𝑏) ∨ (𝑐 = 𝑏𝑑 = 𝑎))))
7170ex 413 . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29 (𝑐𝑅𝑑 → ((𝑅 Or 𝑉 ∧ ((𝑐𝑉𝑑𝑉) ∧ 𝑐𝑑)) → ((inf({𝑐, 𝑑}, 𝑉, 𝑅) = 𝑎 ∧ sup({𝑐, 𝑑}, 𝑉, 𝑅) = 𝑏) → ((𝑐 = 𝑎𝑑 = 𝑏) ∨ (𝑐 = 𝑏𝑑 = 𝑎)))))
72 eqneqall 2954 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31 (𝑐 = 𝑑 → (𝑐𝑑 → ((inf({𝑐, 𝑑}, 𝑉, 𝑅) = 𝑎 ∧ sup({𝑐, 𝑑}, 𝑉, 𝑅) = 𝑏) → ((𝑐 = 𝑎𝑑 = 𝑏) ∨ (𝑐 = 𝑏𝑑 = 𝑎)))))
7372adantld 491 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30 (𝑐 = 𝑑 → (((𝑐𝑉𝑑𝑉) ∧ 𝑐𝑑) → ((inf({𝑐, 𝑑}, 𝑉, 𝑅) = 𝑎 ∧ sup({𝑐, 𝑑}, 𝑉, 𝑅) = 𝑏) → ((𝑐 = 𝑎𝑑 = 𝑏) ∨ (𝑐 = 𝑏𝑑 = 𝑎)))))
7473adantld 491 . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29 (𝑐 = 𝑑 → ((𝑅 Or 𝑉 ∧ ((𝑐𝑉𝑑𝑉) ∧ 𝑐𝑑)) → ((inf({𝑐, 𝑑}, 𝑉, 𝑅) = 𝑎 ∧ sup({𝑐, 𝑑}, 𝑉, 𝑅) = 𝑏) → ((𝑐 = 𝑎𝑑 = 𝑏) ∨ (𝑐 = 𝑏𝑑 = 𝑎)))))
7552adantl 482 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33 ((𝑑𝑅𝑐 ∧ (𝑅 Or 𝑉 ∧ ((𝑐𝑉𝑑𝑉) ∧ 𝑐𝑑))) → inf({𝑐, 𝑑}, 𝑉, 𝑅) = if(𝑐𝑅𝑑, 𝑐, 𝑑))
7675eqeq1d 2740 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32 ((𝑑𝑅𝑐 ∧ (𝑅 Or 𝑉 ∧ ((𝑐𝑉𝑑𝑉) ∧ 𝑐𝑑))) → (inf({𝑐, 𝑑}, 𝑉, 𝑅) = 𝑎 ↔ if(𝑐𝑅𝑑, 𝑐, 𝑑) = 𝑎))
77 iftrue 4465 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34 (𝑑𝑅𝑐 → if(𝑑𝑅𝑐, 𝑐, 𝑑) = 𝑐)
7857, 77sylan9eqr 2800 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33 ((𝑑𝑅𝑐 ∧ (𝑅 Or 𝑉 ∧ ((𝑐𝑉𝑑𝑉) ∧ 𝑐𝑑))) → sup({𝑐, 𝑑}, 𝑉, 𝑅) = 𝑐)
7978eqeq1d 2740 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32 ((𝑑𝑅𝑐 ∧ (𝑅 Or 𝑉 ∧ ((𝑐𝑉𝑑𝑉) ∧ 𝑐𝑑))) → (sup({𝑐, 𝑑}, 𝑉, 𝑅) = 𝑏𝑐 = 𝑏))
8076, 79anbi12d 631 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31 ((𝑑𝑅𝑐 ∧ (𝑅 Or 𝑉 ∧ ((𝑐𝑉𝑑𝑉) ∧ 𝑐𝑑))) → ((inf({𝑐, 𝑑}, 𝑉, 𝑅) = 𝑎 ∧ sup({𝑐, 𝑑}, 𝑉, 𝑅) = 𝑏) ↔ (if(𝑐𝑅𝑑, 𝑐, 𝑑) = 𝑎𝑐 = 𝑏)))
81 simpl 483 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 37 (((𝑐𝑉𝑑𝑉) ∧ 𝑐𝑑) → (𝑐𝑉𝑑𝑉))
8281ancomd 462 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36 (((𝑐𝑉𝑑𝑉) ∧ 𝑐𝑑) → (𝑑𝑉𝑐𝑉))
83 sotric 5531 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36 ((𝑅 Or 𝑉 ∧ (𝑑𝑉𝑐𝑉)) → (𝑑𝑅𝑐 ↔ ¬ (𝑑 = 𝑐𝑐𝑅𝑑)))
8482, 83sylan2 593 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35 ((𝑅 Or 𝑉 ∧ ((𝑐𝑉𝑑𝑉) ∧ 𝑐𝑑)) → (𝑑𝑅𝑐 ↔ ¬ (𝑑 = 𝑐𝑐𝑅𝑑)))
85 ioran 981 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 37 (¬ (𝑑 = 𝑐𝑐𝑅𝑑) ↔ (¬ 𝑑 = 𝑐 ∧ ¬ 𝑐𝑅𝑑))
86 iffalse 4468 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 37 𝑐𝑅𝑑 → if(𝑐𝑅𝑑, 𝑐, 𝑑) = 𝑑)
8785, 86simplbiim 505 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36 (¬ (𝑑 = 𝑐𝑐𝑅𝑑) → if(𝑐𝑅𝑑, 𝑐, 𝑑) = 𝑑)
8887eqeq1d 2740 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35 (¬ (𝑑 = 𝑐𝑐𝑅𝑑) → (if(𝑐𝑅𝑑, 𝑐, 𝑑) = 𝑎𝑑 = 𝑎))
8984, 88syl6bi 252 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34 ((𝑅 Or 𝑉 ∧ ((𝑐𝑉𝑑𝑉) ∧ 𝑐𝑑)) → (𝑑𝑅𝑐 → (if(𝑐𝑅𝑑, 𝑐, 𝑑) = 𝑎𝑑 = 𝑎)))
9089impcom 408 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33 ((𝑑𝑅𝑐 ∧ (𝑅 Or 𝑉 ∧ ((𝑐𝑉𝑑𝑉) ∧ 𝑐𝑑))) → (if(𝑐𝑅𝑑, 𝑐, 𝑑) = 𝑎𝑑 = 𝑎))
9190anbi1d 630 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32 ((𝑑𝑅𝑐 ∧ (𝑅 Or 𝑉 ∧ ((𝑐𝑉𝑑𝑉) ∧ 𝑐𝑑))) → ((if(𝑐𝑅𝑑, 𝑐, 𝑑) = 𝑎𝑐 = 𝑏) ↔ (𝑑 = 𝑎𝑐 = 𝑏)))
92 olc 865 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33 ((𝑐 = 𝑏𝑑 = 𝑎) → ((𝑐 = 𝑎𝑑 = 𝑏) ∨ (𝑐 = 𝑏𝑑 = 𝑎)))
9392ancoms 459 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32 ((𝑑 = 𝑎𝑐 = 𝑏) → ((𝑐 = 𝑎𝑑 = 𝑏) ∨ (𝑐 = 𝑏𝑑 = 𝑎)))
9491, 93syl6bi 252 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31 ((𝑑𝑅𝑐 ∧ (𝑅 Or 𝑉 ∧ ((𝑐𝑉𝑑𝑉) ∧ 𝑐𝑑))) → ((if(𝑐𝑅𝑑, 𝑐, 𝑑) = 𝑎𝑐 = 𝑏) → ((𝑐 = 𝑎𝑑 = 𝑏) ∨ (𝑐 = 𝑏𝑑 = 𝑎))))
9580, 94sylbid 239 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30 ((𝑑𝑅𝑐 ∧ (𝑅 Or 𝑉 ∧ ((𝑐𝑉𝑑𝑉) ∧ 𝑐𝑑))) → ((inf({𝑐, 𝑑}, 𝑉, 𝑅) = 𝑎 ∧ sup({𝑐, 𝑑}, 𝑉, 𝑅) = 𝑏) → ((𝑐 = 𝑎𝑑 = 𝑏) ∨ (𝑐 = 𝑏𝑑 = 𝑎))))
9695ex 413 . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29 (𝑑𝑅𝑐 → ((𝑅 Or 𝑉 ∧ ((𝑐𝑉𝑑𝑉) ∧ 𝑐𝑑)) → ((inf({𝑐, 𝑑}, 𝑉, 𝑅) = 𝑎 ∧ sup({𝑐, 𝑑}, 𝑉, 𝑅) = 𝑏) → ((𝑐 = 𝑎𝑑 = 𝑏) ∨ (𝑐 = 𝑏𝑑 = 𝑎)))))
9771, 74, 963jaoi 1426 . . . . . . . . . . . . . . . . . . . . . . . . . . . 28 ((𝑐𝑅𝑑𝑐 = 𝑑𝑑𝑅𝑐) → ((𝑅 Or 𝑉 ∧ ((𝑐𝑉𝑑𝑉) ∧ 𝑐𝑑)) → ((inf({𝑐, 𝑑}, 𝑉, 𝑅) = 𝑎 ∧ sup({𝑐, 𝑑}, 𝑉, 𝑅) = 𝑏) → ((𝑐 = 𝑎𝑑 = 𝑏) ∨ (𝑐 = 𝑏𝑑 = 𝑎)))))
9847, 97mpcom 38 . . . . . . . . . . . . . . . . . . . . . . . . . . 27 ((𝑅 Or 𝑉 ∧ ((𝑐𝑉𝑑𝑉) ∧ 𝑐𝑑)) → ((inf({𝑐, 𝑑}, 𝑉, 𝑅) = 𝑎 ∧ sup({𝑐, 𝑑}, 𝑉, 𝑅) = 𝑏) → ((𝑐 = 𝑎𝑑 = 𝑏) ∨ (𝑐 = 𝑏𝑑 = 𝑎))))
9998ex 413 . . . . . . . . . . . . . . . . . . . . . . . . . 26 (𝑅 Or 𝑉 → (((𝑐𝑉𝑑𝑉) ∧ 𝑐𝑑) → ((inf({𝑐, 𝑑}, 𝑉, 𝑅) = 𝑎 ∧ sup({𝑐, 𝑑}, 𝑉, 𝑅) = 𝑏) → ((𝑐 = 𝑎𝑑 = 𝑏) ∨ (𝑐 = 𝑏𝑑 = 𝑎)))))
10099ad2antrl 725 . . . . . . . . . . . . . . . . . . . . . . . . 25 ((𝑎𝑅𝑏 ∧ (𝑅 Or 𝑉 ∧ (𝑎𝑉𝑏𝑉))) → (((𝑐𝑉𝑑𝑉) ∧ 𝑐𝑑) → ((inf({𝑐, 𝑑}, 𝑉, 𝑅) = 𝑎 ∧ sup({𝑐, 𝑑}, 𝑉, 𝑅) = 𝑏) → ((𝑐 = 𝑎𝑑 = 𝑏) ∨ (𝑐 = 𝑏𝑑 = 𝑎)))))
101100imp 407 . . . . . . . . . . . . . . . . . . . . . . . 24 (((𝑎𝑅𝑏 ∧ (𝑅 Or 𝑉 ∧ (𝑎𝑉𝑏𝑉))) ∧ ((𝑐𝑉𝑑𝑉) ∧ 𝑐𝑑)) → ((inf({𝑐, 𝑑}, 𝑉, 𝑅) = 𝑎 ∧ sup({𝑐, 𝑑}, 𝑉, 𝑅) = 𝑏) → ((𝑐 = 𝑎𝑑 = 𝑏) ∨ (𝑐 = 𝑏𝑑 = 𝑎))))
10245, 101sylbid 239 . . . . . . . . . . . . . . . . . . . . . . 23 (((𝑎𝑅𝑏 ∧ (𝑅 Or 𝑉 ∧ (𝑎𝑉𝑏𝑉))) ∧ ((𝑐𝑉𝑑𝑉) ∧ 𝑐𝑑)) → ((inf({𝑐, 𝑑}, 𝑉, 𝑅) = inf({𝑎, 𝑏}, 𝑉, 𝑅) ∧ sup({𝑐, 𝑑}, 𝑉, 𝑅) = sup({𝑎, 𝑏}, 𝑉, 𝑅)) → ((𝑐 = 𝑎𝑑 = 𝑏) ∨ (𝑐 = 𝑏𝑑 = 𝑎))))
103102ex 413 . . . . . . . . . . . . . . . . . . . . . 22 ((𝑎𝑅𝑏 ∧ (𝑅 Or 𝑉 ∧ (𝑎𝑉𝑏𝑉))) → (((𝑐𝑉𝑑𝑉) ∧ 𝑐𝑑) → ((inf({𝑐, 𝑑}, 𝑉, 𝑅) = inf({𝑎, 𝑏}, 𝑉, 𝑅) ∧ sup({𝑐, 𝑑}, 𝑉, 𝑅) = sup({𝑎, 𝑏}, 𝑉, 𝑅)) → ((𝑐 = 𝑎𝑑 = 𝑏) ∨ (𝑐 = 𝑏𝑑 = 𝑎)))))
104103a1d 25 . . . . . . . . . . . . . . . . . . . . 21 ((𝑎𝑅𝑏 ∧ (𝑅 Or 𝑉 ∧ (𝑎𝑉𝑏𝑉))) → (𝑎𝑏 → (((𝑐𝑉𝑑𝑉) ∧ 𝑐𝑑) → ((inf({𝑐, 𝑑}, 𝑉, 𝑅) = inf({𝑎, 𝑏}, 𝑉, 𝑅) ∧ sup({𝑐, 𝑑}, 𝑉, 𝑅) = sup({𝑎, 𝑏}, 𝑉, 𝑅)) → ((𝑐 = 𝑎𝑑 = 𝑏) ∨ (𝑐 = 𝑏𝑑 = 𝑎))))))
105104ex 413 . . . . . . . . . . . . . . . . . . . 20 (𝑎𝑅𝑏 → ((𝑅 Or 𝑉 ∧ (𝑎𝑉𝑏𝑉)) → (𝑎𝑏 → (((𝑐𝑉𝑑𝑉) ∧ 𝑐𝑑) → ((inf({𝑐, 𝑑}, 𝑉, 𝑅) = inf({𝑎, 𝑏}, 𝑉, 𝑅) ∧ sup({𝑐, 𝑑}, 𝑉, 𝑅) = sup({𝑎, 𝑏}, 𝑉, 𝑅)) → ((𝑐 = 𝑎𝑑 = 𝑏) ∨ (𝑐 = 𝑏𝑑 = 𝑎)))))))
106 eqneqall 2954 . . . . . . . . . . . . . . . . . . . . 21 (𝑎 = 𝑏 → (𝑎𝑏 → (((𝑐𝑉𝑑𝑉) ∧ 𝑐𝑑) → ((inf({𝑐, 𝑑}, 𝑉, 𝑅) = inf({𝑎, 𝑏}, 𝑉, 𝑅) ∧ sup({𝑐, 𝑑}, 𝑉, 𝑅) = sup({𝑎, 𝑏}, 𝑉, 𝑅)) → ((𝑐 = 𝑎𝑑 = 𝑏) ∨ (𝑐 = 𝑏𝑑 = 𝑎))))))
107106a1d 25 . . . . . . . . . . . . . . . . . . . 20 (𝑎 = 𝑏 → ((𝑅 Or 𝑉 ∧ (𝑎𝑉𝑏𝑉)) → (𝑎𝑏 → (((𝑐𝑉𝑑𝑉) ∧ 𝑐𝑑) → ((inf({𝑐, 𝑑}, 𝑉, 𝑅) = inf({𝑎, 𝑏}, 𝑉, 𝑅) ∧ sup({𝑐, 𝑑}, 𝑉, 𝑅) = sup({𝑎, 𝑏}, 𝑉, 𝑅)) → ((𝑐 = 𝑎𝑑 = 𝑏) ∨ (𝑐 = 𝑏𝑑 = 𝑎)))))))
10829adantl 482 . . . . . . . . . . . . . . . . . . . . . . . . . . . 28 ((𝑏𝑅𝑎 ∧ (𝑅 Or 𝑉 ∧ (𝑎𝑉𝑏𝑉))) → inf({𝑎, 𝑏}, 𝑉, 𝑅) = if(𝑎𝑅𝑏, 𝑎, 𝑏))
109 sotric 5531 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31 ((𝑅 Or 𝑉 ∧ (𝑏𝑉𝑎𝑉)) → (𝑏𝑅𝑎 ↔ ¬ (𝑏 = 𝑎𝑎𝑅𝑏)))
110109ancom2s 647 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30 ((𝑅 Or 𝑉 ∧ (𝑎𝑉𝑏𝑉)) → (𝑏𝑅𝑎 ↔ ¬ (𝑏 = 𝑎𝑎𝑅𝑏)))
111 ioran 981 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31 (¬ (𝑏 = 𝑎𝑎𝑅𝑏) ↔ (¬ 𝑏 = 𝑎 ∧ ¬ 𝑎𝑅𝑏))
112 iffalse 4468 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31 𝑎𝑅𝑏 → if(𝑎𝑅𝑏, 𝑎, 𝑏) = 𝑏)
113111, 112simplbiim 505 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30 (¬ (𝑏 = 𝑎𝑎𝑅𝑏) → if(𝑎𝑅𝑏, 𝑎, 𝑏) = 𝑏)
114110, 113syl6bi 252 . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29 ((𝑅 Or 𝑉 ∧ (𝑎𝑉𝑏𝑉)) → (𝑏𝑅𝑎 → if(𝑎𝑅𝑏, 𝑎, 𝑏) = 𝑏))
115114impcom 408 . . . . . . . . . . . . . . . . . . . . . . . . . . . 28 ((𝑏𝑅𝑎 ∧ (𝑅 Or 𝑉 ∧ (𝑎𝑉𝑏𝑉))) → if(𝑎𝑅𝑏, 𝑎, 𝑏) = 𝑏)
116108, 115eqtrd 2778 . . . . . . . . . . . . . . . . . . . . . . . . . . 27 ((𝑏𝑅𝑎 ∧ (𝑅 Or 𝑉 ∧ (𝑎𝑉𝑏𝑉))) → inf({𝑎, 𝑏}, 𝑉, 𝑅) = 𝑏)
117116eqeq2d 2749 . . . . . . . . . . . . . . . . . . . . . . . . . 26 ((𝑏𝑅𝑎 ∧ (𝑅 Or 𝑉 ∧ (𝑎𝑉𝑏𝑉))) → (inf({𝑐, 𝑑}, 𝑉, 𝑅) = inf({𝑎, 𝑏}, 𝑉, 𝑅) ↔ inf({𝑐, 𝑑}, 𝑉, 𝑅) = 𝑏))
118 iftrue 4465 . . . . . . . . . . . . . . . . . . . . . . . . . . . 28 (𝑏𝑅𝑎 → if(𝑏𝑅𝑎, 𝑎, 𝑏) = 𝑎)
11934, 118sylan9eqr 2800 . . . . . . . . . . . . . . . . . . . . . . . . . . 27 ((𝑏𝑅𝑎 ∧ (𝑅 Or 𝑉 ∧ (𝑎𝑉𝑏𝑉))) → sup({𝑎, 𝑏}, 𝑉, 𝑅) = 𝑎)
120119eqeq2d 2749 . . . . . . . . . . . . . . . . . . . . . . . . . 26 ((𝑏𝑅𝑎 ∧ (𝑅 Or 𝑉 ∧ (𝑎𝑉𝑏𝑉))) → (sup({𝑐, 𝑑}, 𝑉, 𝑅) = sup({𝑎, 𝑏}, 𝑉, 𝑅) ↔ sup({𝑐, 𝑑}, 𝑉, 𝑅) = 𝑎))
121117, 120anbi12d 631 . . . . . . . . . . . . . . . . . . . . . . . . 25 ((𝑏𝑅𝑎 ∧ (𝑅 Or 𝑉 ∧ (𝑎𝑉𝑏𝑉))) → ((inf({𝑐, 𝑑}, 𝑉, 𝑅) = inf({𝑎, 𝑏}, 𝑉, 𝑅) ∧ sup({𝑐, 𝑑}, 𝑉, 𝑅) = sup({𝑎, 𝑏}, 𝑉, 𝑅)) ↔ (inf({𝑐, 𝑑}, 𝑉, 𝑅) = 𝑏 ∧ sup({𝑐, 𝑑}, 𝑉, 𝑅) = 𝑎)))
122121adantr 481 . . . . . . . . . . . . . . . . . . . . . . . 24 (((𝑏𝑅𝑎 ∧ (𝑅 Or 𝑉 ∧ (𝑎𝑉𝑏𝑉))) ∧ ((𝑐𝑉𝑑𝑉) ∧ 𝑐𝑑)) → ((inf({𝑐, 𝑑}, 𝑉, 𝑅) = inf({𝑎, 𝑏}, 𝑉, 𝑅) ∧ sup({𝑐, 𝑑}, 𝑉, 𝑅) = sup({𝑎, 𝑏}, 𝑉, 𝑅)) ↔ (inf({𝑐, 𝑑}, 𝑉, 𝑅) = 𝑏 ∧ sup({𝑐, 𝑑}, 𝑉, 𝑅) = 𝑎)))
12354eqeq1d 2740 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32 ((𝑐𝑅𝑑 ∧ (𝑅 Or 𝑉 ∧ ((𝑐𝑉𝑑𝑉) ∧ 𝑐𝑑))) → (inf({𝑐, 𝑑}, 𝑉, 𝑅) = 𝑏𝑐 = 𝑏))
12466eqeq1d 2740 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32 ((𝑐𝑅𝑑 ∧ (𝑅 Or 𝑉 ∧ ((𝑐𝑉𝑑𝑉) ∧ 𝑐𝑑))) → (sup({𝑐, 𝑑}, 𝑉, 𝑅) = 𝑎𝑑 = 𝑎))
125123, 124anbi12d 631 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31 ((𝑐𝑅𝑑 ∧ (𝑅 Or 𝑉 ∧ ((𝑐𝑉𝑑𝑉) ∧ 𝑐𝑑))) → ((inf({𝑐, 𝑑}, 𝑉, 𝑅) = 𝑏 ∧ sup({𝑐, 𝑑}, 𝑉, 𝑅) = 𝑎) ↔ (𝑐 = 𝑏𝑑 = 𝑎)))
126125, 92syl6bi 252 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30 ((𝑐𝑅𝑑 ∧ (𝑅 Or 𝑉 ∧ ((𝑐𝑉𝑑𝑉) ∧ 𝑐𝑑))) → ((inf({𝑐, 𝑑}, 𝑉, 𝑅) = 𝑏 ∧ sup({𝑐, 𝑑}, 𝑉, 𝑅) = 𝑎) → ((𝑐 = 𝑎𝑑 = 𝑏) ∨ (𝑐 = 𝑏𝑑 = 𝑎))))
127126ex 413 . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29 (𝑐𝑅𝑑 → ((𝑅 Or 𝑉 ∧ ((𝑐𝑉𝑑𝑉) ∧ 𝑐𝑑)) → ((inf({𝑐, 𝑑}, 𝑉, 𝑅) = 𝑏 ∧ sup({𝑐, 𝑑}, 𝑉, 𝑅) = 𝑎) → ((𝑐 = 𝑎𝑑 = 𝑏) ∨ (𝑐 = 𝑏𝑑 = 𝑎)))))
128 eqneqall 2954 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31 (𝑐 = 𝑑 → (𝑐𝑑 → ((inf({𝑐, 𝑑}, 𝑉, 𝑅) = 𝑏 ∧ sup({𝑐, 𝑑}, 𝑉, 𝑅) = 𝑎) → ((𝑐 = 𝑎𝑑 = 𝑏) ∨ (𝑐 = 𝑏𝑑 = 𝑎)))))
129128adantld 491 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30 (𝑐 = 𝑑 → (((𝑐𝑉𝑑𝑉) ∧ 𝑐𝑑) → ((inf({𝑐, 𝑑}, 𝑉, 𝑅) = 𝑏 ∧ sup({𝑐, 𝑑}, 𝑉, 𝑅) = 𝑎) → ((𝑐 = 𝑎𝑑 = 𝑏) ∨ (𝑐 = 𝑏𝑑 = 𝑎)))))
130129adantld 491 . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29 (𝑐 = 𝑑 → ((𝑅 Or 𝑉 ∧ ((𝑐𝑉𝑑𝑉) ∧ 𝑐𝑑)) → ((inf({𝑐, 𝑑}, 𝑉, 𝑅) = 𝑏 ∧ sup({𝑐, 𝑑}, 𝑉, 𝑅) = 𝑎) → ((𝑐 = 𝑎𝑑 = 𝑏) ∨ (𝑐 = 𝑏𝑑 = 𝑎)))))
13184, 87syl6bi 252 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35 ((𝑅 Or 𝑉 ∧ ((𝑐𝑉𝑑𝑉) ∧ 𝑐𝑑)) → (𝑑𝑅𝑐 → if(𝑐𝑅𝑑, 𝑐, 𝑑) = 𝑑))
132131impcom 408 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34 ((𝑑𝑅𝑐 ∧ (𝑅 Or 𝑉 ∧ ((𝑐𝑉𝑑𝑉) ∧ 𝑐𝑑))) → if(𝑐𝑅𝑑, 𝑐, 𝑑) = 𝑑)
13375, 132eqtrd 2778 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33 ((𝑑𝑅𝑐 ∧ (𝑅 Or 𝑉 ∧ ((𝑐𝑉𝑑𝑉) ∧ 𝑐𝑑))) → inf({𝑐, 𝑑}, 𝑉, 𝑅) = 𝑑)
134133eqeq1d 2740 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32 ((𝑑𝑅𝑐 ∧ (𝑅 Or 𝑉 ∧ ((𝑐𝑉𝑑𝑉) ∧ 𝑐𝑑))) → (inf({𝑐, 𝑑}, 𝑉, 𝑅) = 𝑏𝑑 = 𝑏))
13578eqeq1d 2740 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32 ((𝑑𝑅𝑐 ∧ (𝑅 Or 𝑉 ∧ ((𝑐𝑉𝑑𝑉) ∧ 𝑐𝑑))) → (sup({𝑐, 𝑑}, 𝑉, 𝑅) = 𝑎𝑐 = 𝑎))
136134, 135anbi12d 631 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31 ((𝑑𝑅𝑐 ∧ (𝑅 Or 𝑉 ∧ ((𝑐𝑉𝑑𝑉) ∧ 𝑐𝑑))) → ((inf({𝑐, 𝑑}, 𝑉, 𝑅) = 𝑏 ∧ sup({𝑐, 𝑑}, 𝑉, 𝑅) = 𝑎) ↔ (𝑑 = 𝑏𝑐 = 𝑎)))
13769ancoms 459 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31 ((𝑑 = 𝑏𝑐 = 𝑎) → ((𝑐 = 𝑎𝑑 = 𝑏) ∨ (𝑐 = 𝑏𝑑 = 𝑎)))
138136, 137syl6bi 252 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30 ((𝑑𝑅𝑐 ∧ (𝑅 Or 𝑉 ∧ ((𝑐𝑉𝑑𝑉) ∧ 𝑐𝑑))) → ((inf({𝑐, 𝑑}, 𝑉, 𝑅) = 𝑏 ∧ sup({𝑐, 𝑑}, 𝑉, 𝑅) = 𝑎) → ((𝑐 = 𝑎𝑑 = 𝑏) ∨ (𝑐 = 𝑏𝑑 = 𝑎))))
139138ex 413 . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29 (𝑑𝑅𝑐 → ((𝑅 Or 𝑉 ∧ ((𝑐𝑉𝑑𝑉) ∧ 𝑐𝑑)) → ((inf({𝑐, 𝑑}, 𝑉, 𝑅) = 𝑏 ∧ sup({𝑐, 𝑑}, 𝑉, 𝑅) = 𝑎) → ((𝑐 = 𝑎𝑑 = 𝑏) ∨ (𝑐 = 𝑏𝑑 = 𝑎)))))
140127, 130, 1393jaoi 1426 . . . . . . . . . . . . . . . . . . . . . . . . . . . 28 ((𝑐𝑅𝑑𝑐 = 𝑑𝑑𝑅𝑐) → ((𝑅 Or 𝑉 ∧ ((𝑐𝑉𝑑𝑉) ∧ 𝑐𝑑)) → ((inf({𝑐, 𝑑}, 𝑉, 𝑅) = 𝑏 ∧ sup({𝑐, 𝑑}, 𝑉, 𝑅) = 𝑎) → ((𝑐 = 𝑎𝑑 = 𝑏) ∨ (𝑐 = 𝑏𝑑 = 𝑎)))))
14147, 140mpcom 38 . . . . . . . . . . . . . . . . . . . . . . . . . . 27 ((𝑅 Or 𝑉 ∧ ((𝑐𝑉𝑑𝑉) ∧ 𝑐𝑑)) → ((inf({𝑐, 𝑑}, 𝑉, 𝑅) = 𝑏 ∧ sup({𝑐, 𝑑}, 𝑉, 𝑅) = 𝑎) → ((𝑐 = 𝑎𝑑 = 𝑏) ∨ (𝑐 = 𝑏𝑑 = 𝑎))))
142141ex 413 . . . . . . . . . . . . . . . . . . . . . . . . . 26 (𝑅 Or 𝑉 → (((𝑐𝑉𝑑𝑉) ∧ 𝑐𝑑) → ((inf({𝑐, 𝑑}, 𝑉, 𝑅) = 𝑏 ∧ sup({𝑐, 𝑑}, 𝑉, 𝑅) = 𝑎) → ((𝑐 = 𝑎𝑑 = 𝑏) ∨ (𝑐 = 𝑏𝑑 = 𝑎)))))
143142ad2antrl 725 . . . . . . . . . . . . . . . . . . . . . . . . 25 ((𝑏𝑅𝑎 ∧ (𝑅 Or 𝑉 ∧ (𝑎𝑉𝑏𝑉))) → (((𝑐𝑉𝑑𝑉) ∧ 𝑐𝑑) → ((inf({𝑐, 𝑑}, 𝑉, 𝑅) = 𝑏 ∧ sup({𝑐, 𝑑}, 𝑉, 𝑅) = 𝑎) → ((𝑐 = 𝑎𝑑 = 𝑏) ∨ (𝑐 = 𝑏𝑑 = 𝑎)))))
144143imp 407 . . . . . . . . . . . . . . . . . . . . . . . 24 (((𝑏𝑅𝑎 ∧ (𝑅 Or 𝑉 ∧ (𝑎𝑉𝑏𝑉))) ∧ ((𝑐𝑉𝑑𝑉) ∧ 𝑐𝑑)) → ((inf({𝑐, 𝑑}, 𝑉, 𝑅) = 𝑏 ∧ sup({𝑐, 𝑑}, 𝑉, 𝑅) = 𝑎) → ((𝑐 = 𝑎𝑑 = 𝑏) ∨ (𝑐 = 𝑏𝑑 = 𝑎))))
145122, 144sylbid 239 . . . . . . . . . . . . . . . . . . . . . . 23 (((𝑏𝑅𝑎 ∧ (𝑅 Or 𝑉 ∧ (𝑎𝑉𝑏𝑉))) ∧ ((𝑐𝑉𝑑𝑉) ∧ 𝑐𝑑)) → ((inf({𝑐, 𝑑}, 𝑉, 𝑅) = inf({𝑎, 𝑏}, 𝑉, 𝑅) ∧ sup({𝑐, 𝑑}, 𝑉, 𝑅) = sup({𝑎, 𝑏}, 𝑉, 𝑅)) → ((𝑐 = 𝑎𝑑 = 𝑏) ∨ (𝑐 = 𝑏𝑑 = 𝑎))))
146145ex 413 . . . . . . . . . . . . . . . . . . . . . 22 ((𝑏𝑅𝑎 ∧ (𝑅 Or 𝑉 ∧ (𝑎𝑉𝑏𝑉))) → (((𝑐𝑉𝑑𝑉) ∧ 𝑐𝑑) → ((inf({𝑐, 𝑑}, 𝑉, 𝑅) = inf({𝑎, 𝑏}, 𝑉, 𝑅) ∧ sup({𝑐, 𝑑}, 𝑉, 𝑅) = sup({𝑎, 𝑏}, 𝑉, 𝑅)) → ((𝑐 = 𝑎𝑑 = 𝑏) ∨ (𝑐 = 𝑏𝑑 = 𝑎)))))
147146a1d 25 . . . . . . . . . . . . . . . . . . . . 21 ((𝑏𝑅𝑎 ∧ (𝑅 Or 𝑉 ∧ (𝑎𝑉𝑏𝑉))) → (𝑎𝑏 → (((𝑐𝑉𝑑𝑉) ∧ 𝑐𝑑) → ((inf({𝑐, 𝑑}, 𝑉, 𝑅) = inf({𝑎, 𝑏}, 𝑉, 𝑅) ∧ sup({𝑐, 𝑑}, 𝑉, 𝑅) = sup({𝑎, 𝑏}, 𝑉, 𝑅)) → ((𝑐 = 𝑎𝑑 = 𝑏) ∨ (𝑐 = 𝑏𝑑 = 𝑎))))))
148147ex 413 . . . . . . . . . . . . . . . . . . . 20 (𝑏𝑅𝑎 → ((𝑅 Or 𝑉 ∧ (𝑎𝑉𝑏𝑉)) → (𝑎𝑏 → (((𝑐𝑉𝑑𝑉) ∧ 𝑐𝑑) → ((inf({𝑐, 𝑑}, 𝑉, 𝑅) = inf({𝑎, 𝑏}, 𝑉, 𝑅) ∧ sup({𝑐, 𝑑}, 𝑉, 𝑅) = sup({𝑎, 𝑏}, 𝑉, 𝑅)) → ((𝑐 = 𝑎𝑑 = 𝑏) ∨ (𝑐 = 𝑏𝑑 = 𝑎)))))))
149105, 107, 1483jaoi 1426 . . . . . . . . . . . . . . . . . . 19 ((𝑎𝑅𝑏𝑎 = 𝑏𝑏𝑅𝑎) → ((𝑅 Or 𝑉 ∧ (𝑎𝑉𝑏𝑉)) → (𝑎𝑏 → (((𝑐𝑉𝑑𝑉) ∧ 𝑐𝑑) → ((inf({𝑐, 𝑑}, 𝑉, 𝑅) = inf({𝑎, 𝑏}, 𝑉, 𝑅) ∧ sup({𝑐, 𝑑}, 𝑉, 𝑅) = sup({𝑎, 𝑏}, 𝑉, 𝑅)) → ((𝑐 = 𝑎𝑑 = 𝑏) ∨ (𝑐 = 𝑏𝑑 = 𝑎)))))))
15027, 149mpcom 38 . . . . . . . . . . . . . . . . . 18 ((𝑅 Or 𝑉 ∧ (𝑎𝑉𝑏𝑉)) → (𝑎𝑏 → (((𝑐𝑉𝑑𝑉) ∧ 𝑐𝑑) → ((inf({𝑐, 𝑑}, 𝑉, 𝑅) = inf({𝑎, 𝑏}, 𝑉, 𝑅) ∧ sup({𝑐, 𝑑}, 𝑉, 𝑅) = sup({𝑎, 𝑏}, 𝑉, 𝑅)) → ((𝑐 = 𝑎𝑑 = 𝑏) ∨ (𝑐 = 𝑏𝑑 = 𝑎))))))
151150adantld 491 . . . . . . . . . . . . . . . . 17 ((𝑅 Or 𝑉 ∧ (𝑎𝑉𝑏𝑉)) → ((𝑊 = {𝑎, 𝑏} ∧ 𝑎𝑏) → (((𝑐𝑉𝑑𝑉) ∧ 𝑐𝑑) → ((inf({𝑐, 𝑑}, 𝑉, 𝑅) = inf({𝑎, 𝑏}, 𝑉, 𝑅) ∧ sup({𝑐, 𝑑}, 𝑉, 𝑅) = sup({𝑎, 𝑏}, 𝑉, 𝑅)) → ((𝑐 = 𝑎𝑑 = 𝑏) ∨ (𝑐 = 𝑏𝑑 = 𝑎))))))
152151imp 407 . . . . . . . . . . . . . . . 16 (((𝑅 Or 𝑉 ∧ (𝑎𝑉𝑏𝑉)) ∧ (𝑊 = {𝑎, 𝑏} ∧ 𝑎𝑏)) → (((𝑐𝑉𝑑𝑉) ∧ 𝑐𝑑) → ((inf({𝑐, 𝑑}, 𝑉, 𝑅) = inf({𝑎, 𝑏}, 𝑉, 𝑅) ∧ sup({𝑐, 𝑑}, 𝑉, 𝑅) = sup({𝑎, 𝑏}, 𝑉, 𝑅)) → ((𝑐 = 𝑎𝑑 = 𝑏) ∨ (𝑐 = 𝑏𝑑 = 𝑎)))))
153152expdimp 453 . . . . . . . . . . . . . . 15 ((((𝑅 Or 𝑉 ∧ (𝑎𝑉𝑏𝑉)) ∧ (𝑊 = {𝑎, 𝑏} ∧ 𝑎𝑏)) ∧ (𝑐𝑉𝑑𝑉)) → (𝑐𝑑 → ((inf({𝑐, 𝑑}, 𝑉, 𝑅) = inf({𝑎, 𝑏}, 𝑉, 𝑅) ∧ sup({𝑐, 𝑑}, 𝑉, 𝑅) = sup({𝑎, 𝑏}, 𝑉, 𝑅)) → ((𝑐 = 𝑎𝑑 = 𝑏) ∨ (𝑐 = 𝑏𝑑 = 𝑎)))))
154153adantld 491 . . . . . . . . . . . . . 14 ((((𝑅 Or 𝑉 ∧ (𝑎𝑉𝑏𝑉)) ∧ (𝑊 = {𝑎, 𝑏} ∧ 𝑎𝑏)) ∧ (𝑐𝑉𝑑𝑉)) → ((𝑍 = {𝑐, 𝑑} ∧ 𝑐𝑑) → ((inf({𝑐, 𝑑}, 𝑉, 𝑅) = inf({𝑎, 𝑏}, 𝑉, 𝑅) ∧ sup({𝑐, 𝑑}, 𝑉, 𝑅) = sup({𝑎, 𝑏}, 𝑉, 𝑅)) → ((𝑐 = 𝑎𝑑 = 𝑏) ∨ (𝑐 = 𝑏𝑑 = 𝑎)))))
155154imp 407 . . . . . . . . . . . . 13 (((((𝑅 Or 𝑉 ∧ (𝑎𝑉𝑏𝑉)) ∧ (𝑊 = {𝑎, 𝑏} ∧ 𝑎𝑏)) ∧ (𝑐𝑉𝑑𝑉)) ∧ (𝑍 = {𝑐, 𝑑} ∧ 𝑐𝑑)) → ((inf({𝑐, 𝑑}, 𝑉, 𝑅) = inf({𝑎, 𝑏}, 𝑉, 𝑅) ∧ sup({𝑐, 𝑑}, 𝑉, 𝑅) = sup({𝑎, 𝑏}, 𝑉, 𝑅)) → ((𝑐 = 𝑎𝑑 = 𝑏) ∨ (𝑐 = 𝑏𝑑 = 𝑎))))
156 vex 3436 . . . . . . . . . . . . . 14 𝑐 ∈ V
157 vex 3436 . . . . . . . . . . . . . 14 𝑑 ∈ V
158 vex 3436 . . . . . . . . . . . . . 14 𝑎 ∈ V
159 vex 3436 . . . . . . . . . . . . . 14 𝑏 ∈ V
160156, 157, 158, 159preq12b 4781 . . . . . . . . . . . . 13 ({𝑐, 𝑑} = {𝑎, 𝑏} ↔ ((𝑐 = 𝑎𝑑 = 𝑏) ∨ (𝑐 = 𝑏𝑑 = 𝑎)))
161155, 160syl6ibr 251 . . . . . . . . . . . 12 (((((𝑅 Or 𝑉 ∧ (𝑎𝑉𝑏𝑉)) ∧ (𝑊 = {𝑎, 𝑏} ∧ 𝑎𝑏)) ∧ (𝑐𝑉𝑑𝑉)) ∧ (𝑍 = {𝑐, 𝑑} ∧ 𝑐𝑑)) → ((inf({𝑐, 𝑑}, 𝑉, 𝑅) = inf({𝑎, 𝑏}, 𝑉, 𝑅) ∧ sup({𝑐, 𝑑}, 𝑉, 𝑅) = sup({𝑎, 𝑏}, 𝑉, 𝑅)) → {𝑐, 𝑑} = {𝑎, 𝑏}))
16226, 161sylbid 239 . . . . . . . . . . 11 (((((𝑅 Or 𝑉 ∧ (𝑎𝑉𝑏𝑉)) ∧ (𝑊 = {𝑎, 𝑏} ∧ 𝑎𝑏)) ∧ (𝑐𝑉𝑑𝑉)) ∧ (𝑍 = {𝑐, 𝑑} ∧ 𝑐𝑑)) → (⟨inf({𝑐, 𝑑}, 𝑉, 𝑅), sup({𝑐, 𝑑}, 𝑉, 𝑅)⟩ = ⟨inf({𝑎, 𝑏}, 𝑉, 𝑅), sup({𝑎, 𝑏}, 𝑉, 𝑅)⟩ → {𝑐, 𝑑} = {𝑎, 𝑏}))
163 infeq1 9235 . . . . . . . . . . . . . . . . . . . 20 (𝑍 = {𝑐, 𝑑} → inf(𝑍, 𝑉, 𝑅) = inf({𝑐, 𝑑}, 𝑉, 𝑅))
164 supeq1 9204 . . . . . . . . . . . . . . . . . . . 20 (𝑍 = {𝑐, 𝑑} → sup(𝑍, 𝑉, 𝑅) = sup({𝑐, 𝑑}, 𝑉, 𝑅))
165163, 164opeq12d 4812 . . . . . . . . . . . . . . . . . . 19 (𝑍 = {𝑐, 𝑑} → ⟨inf(𝑍, 𝑉, 𝑅), sup(𝑍, 𝑉, 𝑅)⟩ = ⟨inf({𝑐, 𝑑}, 𝑉, 𝑅), sup({𝑐, 𝑑}, 𝑉, 𝑅)⟩)
166 infeq1 9235 . . . . . . . . . . . . . . . . . . . 20 (𝑊 = {𝑎, 𝑏} → inf(𝑊, 𝑉, 𝑅) = inf({𝑎, 𝑏}, 𝑉, 𝑅))
167 supeq1 9204 . . . . . . . . . . . . . . . . . . . 20 (𝑊 = {𝑎, 𝑏} → sup(𝑊, 𝑉, 𝑅) = sup({𝑎, 𝑏}, 𝑉, 𝑅))
168166, 167opeq12d 4812 . . . . . . . . . . . . . . . . . . 19 (𝑊 = {𝑎, 𝑏} → ⟨inf(𝑊, 𝑉, 𝑅), sup(𝑊, 𝑉, 𝑅)⟩ = ⟨inf({𝑎, 𝑏}, 𝑉, 𝑅), sup({𝑎, 𝑏}, 𝑉, 𝑅)⟩)
169165, 168eqeqan12rd 2753 . . . . . . . . . . . . . . . . . 18 ((𝑊 = {𝑎, 𝑏} ∧ 𝑍 = {𝑐, 𝑑}) → (⟨inf(𝑍, 𝑉, 𝑅), sup(𝑍, 𝑉, 𝑅)⟩ = ⟨inf(𝑊, 𝑉, 𝑅), sup(𝑊, 𝑉, 𝑅)⟩ ↔ ⟨inf({𝑐, 𝑑}, 𝑉, 𝑅), sup({𝑐, 𝑑}, 𝑉, 𝑅)⟩ = ⟨inf({𝑎, 𝑏}, 𝑉, 𝑅), sup({𝑎, 𝑏}, 𝑉, 𝑅)⟩))
170 eqeq12 2755 . . . . . . . . . . . . . . . . . . 19 ((𝑍 = {𝑐, 𝑑} ∧ 𝑊 = {𝑎, 𝑏}) → (𝑍 = 𝑊 ↔ {𝑐, 𝑑} = {𝑎, 𝑏}))
171170ancoms 459 . . . . . . . . . . . . . . . . . 18 ((𝑊 = {𝑎, 𝑏} ∧ 𝑍 = {𝑐, 𝑑}) → (𝑍 = 𝑊 ↔ {𝑐, 𝑑} = {𝑎, 𝑏}))
172169, 171imbi12d 345 . . . . . . . . . . . . . . . . 17 ((𝑊 = {𝑎, 𝑏} ∧ 𝑍 = {𝑐, 𝑑}) → ((⟨inf(𝑍, 𝑉, 𝑅), sup(𝑍, 𝑉, 𝑅)⟩ = ⟨inf(𝑊, 𝑉, 𝑅), sup(𝑊, 𝑉, 𝑅)⟩ → 𝑍 = 𝑊) ↔ (⟨inf({𝑐, 𝑑}, 𝑉, 𝑅), sup({𝑐, 𝑑}, 𝑉, 𝑅)⟩ = ⟨inf({𝑎, 𝑏}, 𝑉, 𝑅), sup({𝑎, 𝑏}, 𝑉, 𝑅)⟩ → {𝑐, 𝑑} = {𝑎, 𝑏})))
173172ex 413 . . . . . . . . . . . . . . . 16 (𝑊 = {𝑎, 𝑏} → (𝑍 = {𝑐, 𝑑} → ((⟨inf(𝑍, 𝑉, 𝑅), sup(𝑍, 𝑉, 𝑅)⟩ = ⟨inf(𝑊, 𝑉, 𝑅), sup(𝑊, 𝑉, 𝑅)⟩ → 𝑍 = 𝑊) ↔ (⟨inf({𝑐, 𝑑}, 𝑉, 𝑅), sup({𝑐, 𝑑}, 𝑉, 𝑅)⟩ = ⟨inf({𝑎, 𝑏}, 𝑉, 𝑅), sup({𝑎, 𝑏}, 𝑉, 𝑅)⟩ → {𝑐, 𝑑} = {𝑎, 𝑏}))))
174173ad2antrl 725 . . . . . . . . . . . . . . 15 (((𝑅 Or 𝑉 ∧ (𝑎𝑉𝑏𝑉)) ∧ (𝑊 = {𝑎, 𝑏} ∧ 𝑎𝑏)) → (𝑍 = {𝑐, 𝑑} → ((⟨inf(𝑍, 𝑉, 𝑅), sup(𝑍, 𝑉, 𝑅)⟩ = ⟨inf(𝑊, 𝑉, 𝑅), sup(𝑊, 𝑉, 𝑅)⟩ → 𝑍 = 𝑊) ↔ (⟨inf({𝑐, 𝑑}, 𝑉, 𝑅), sup({𝑐, 𝑑}, 𝑉, 𝑅)⟩ = ⟨inf({𝑎, 𝑏}, 𝑉, 𝑅), sup({𝑎, 𝑏}, 𝑉, 𝑅)⟩ → {𝑐, 𝑑} = {𝑎, 𝑏}))))
175174adantr 481 . . . . . . . . . . . . . 14 ((((𝑅 Or 𝑉 ∧ (𝑎𝑉𝑏𝑉)) ∧ (𝑊 = {𝑎, 𝑏} ∧ 𝑎𝑏)) ∧ (𝑐𝑉𝑑𝑉)) → (𝑍 = {𝑐, 𝑑} → ((⟨inf(𝑍, 𝑉, 𝑅), sup(𝑍, 𝑉, 𝑅)⟩ = ⟨inf(𝑊, 𝑉, 𝑅), sup(𝑊, 𝑉, 𝑅)⟩ → 𝑍 = 𝑊) ↔ (⟨inf({𝑐, 𝑑}, 𝑉, 𝑅), sup({𝑐, 𝑑}, 𝑉, 𝑅)⟩ = ⟨inf({𝑎, 𝑏}, 𝑉, 𝑅), sup({𝑎, 𝑏}, 𝑉, 𝑅)⟩ → {𝑐, 𝑑} = {𝑎, 𝑏}))))
176175com12 32 . . . . . . . . . . . . 13 (𝑍 = {𝑐, 𝑑} → ((((𝑅 Or 𝑉 ∧ (𝑎𝑉𝑏𝑉)) ∧ (𝑊 = {𝑎, 𝑏} ∧ 𝑎𝑏)) ∧ (𝑐𝑉𝑑𝑉)) → ((⟨inf(𝑍, 𝑉, 𝑅), sup(𝑍, 𝑉, 𝑅)⟩ = ⟨inf(𝑊, 𝑉, 𝑅), sup(𝑊, 𝑉, 𝑅)⟩ → 𝑍 = 𝑊) ↔ (⟨inf({𝑐, 𝑑}, 𝑉, 𝑅), sup({𝑐, 𝑑}, 𝑉, 𝑅)⟩ = ⟨inf({𝑎, 𝑏}, 𝑉, 𝑅), sup({𝑎, 𝑏}, 𝑉, 𝑅)⟩ → {𝑐, 𝑑} = {𝑎, 𝑏}))))
177176adantr 481 . . . . . . . . . . . 12 ((𝑍 = {𝑐, 𝑑} ∧ 𝑐𝑑) → ((((𝑅 Or 𝑉 ∧ (𝑎𝑉𝑏𝑉)) ∧ (𝑊 = {𝑎, 𝑏} ∧ 𝑎𝑏)) ∧ (𝑐𝑉𝑑𝑉)) → ((⟨inf(𝑍, 𝑉, 𝑅), sup(𝑍, 𝑉, 𝑅)⟩ = ⟨inf(𝑊, 𝑉, 𝑅), sup(𝑊, 𝑉, 𝑅)⟩ → 𝑍 = 𝑊) ↔ (⟨inf({𝑐, 𝑑}, 𝑉, 𝑅), sup({𝑐, 𝑑}, 𝑉, 𝑅)⟩ = ⟨inf({𝑎, 𝑏}, 𝑉, 𝑅), sup({𝑎, 𝑏}, 𝑉, 𝑅)⟩ → {𝑐, 𝑑} = {𝑎, 𝑏}))))
178177impcom 408 . . . . . . . . . . 11 (((((𝑅 Or 𝑉 ∧ (𝑎𝑉𝑏𝑉)) ∧ (𝑊 = {𝑎, 𝑏} ∧ 𝑎𝑏)) ∧ (𝑐𝑉𝑑𝑉)) ∧ (𝑍 = {𝑐, 𝑑} ∧ 𝑐𝑑)) → ((⟨inf(𝑍, 𝑉, 𝑅), sup(𝑍, 𝑉, 𝑅)⟩ = ⟨inf(𝑊, 𝑉, 𝑅), sup(𝑊, 𝑉, 𝑅)⟩ → 𝑍 = 𝑊) ↔ (⟨inf({𝑐, 𝑑}, 𝑉, 𝑅), sup({𝑐, 𝑑}, 𝑉, 𝑅)⟩ = ⟨inf({𝑎, 𝑏}, 𝑉, 𝑅), sup({𝑎, 𝑏}, 𝑉, 𝑅)⟩ → {𝑐, 𝑑} = {𝑎, 𝑏})))
179162, 178mpbird 256 . . . . . . . . . 10 (((((𝑅 Or 𝑉 ∧ (𝑎𝑉𝑏𝑉)) ∧ (𝑊 = {𝑎, 𝑏} ∧ 𝑎𝑏)) ∧ (𝑐𝑉𝑑𝑉)) ∧ (𝑍 = {𝑐, 𝑑} ∧ 𝑐𝑑)) → (⟨inf(𝑍, 𝑉, 𝑅), sup(𝑍, 𝑉, 𝑅)⟩ = ⟨inf(𝑊, 𝑉, 𝑅), sup(𝑊, 𝑉, 𝑅)⟩ → 𝑍 = 𝑊))
180179ex 413 . . . . . . . . 9 ((((𝑅 Or 𝑉 ∧ (𝑎𝑉𝑏𝑉)) ∧ (𝑊 = {𝑎, 𝑏} ∧ 𝑎𝑏)) ∧ (𝑐𝑉𝑑𝑉)) → ((𝑍 = {𝑐, 𝑑} ∧ 𝑐𝑑) → (⟨inf(𝑍, 𝑉, 𝑅), sup(𝑍, 𝑉, 𝑅)⟩ = ⟨inf(𝑊, 𝑉, 𝑅), sup(𝑊, 𝑉, 𝑅)⟩ → 𝑍 = 𝑊)))
181180rexlimdvva 3223 . . . . . . . 8 (((𝑅 Or 𝑉 ∧ (𝑎𝑉𝑏𝑉)) ∧ (𝑊 = {𝑎, 𝑏} ∧ 𝑎𝑏)) → (∃𝑐𝑉𝑑𝑉 (𝑍 = {𝑐, 𝑑} ∧ 𝑐𝑑) → (⟨inf(𝑍, 𝑉, 𝑅), sup(𝑍, 𝑉, 𝑅)⟩ = ⟨inf(𝑊, 𝑉, 𝑅), sup(𝑊, 𝑉, 𝑅)⟩ → 𝑍 = 𝑊)))
182181ex 413 . . . . . . 7 ((𝑅 Or 𝑉 ∧ (𝑎𝑉𝑏𝑉)) → ((𝑊 = {𝑎, 𝑏} ∧ 𝑎𝑏) → (∃𝑐𝑉𝑑𝑉 (𝑍 = {𝑐, 𝑑} ∧ 𝑐𝑑) → (⟨inf(𝑍, 𝑉, 𝑅), sup(𝑍, 𝑉, 𝑅)⟩ = ⟨inf(𝑊, 𝑉, 𝑅), sup(𝑊, 𝑉, 𝑅)⟩ → 𝑍 = 𝑊))))
183182rexlimdvva 3223 . . . . . 6 (𝑅 Or 𝑉 → (∃𝑎𝑉𝑏𝑉 (𝑊 = {𝑎, 𝑏} ∧ 𝑎𝑏) → (∃𝑐𝑉𝑑𝑉 (𝑍 = {𝑐, 𝑑} ∧ 𝑐𝑑) → (⟨inf(𝑍, 𝑉, 𝑅), sup(𝑍, 𝑉, 𝑅)⟩ = ⟨inf(𝑊, 𝑉, 𝑅), sup(𝑊, 𝑉, 𝑅)⟩ → 𝑍 = 𝑊))))
184183com13 88 . . . . 5 (∃𝑐𝑉𝑑𝑉 (𝑍 = {𝑐, 𝑑} ∧ 𝑐𝑑) → (∃𝑎𝑉𝑏𝑉 (𝑊 = {𝑎, 𝑏} ∧ 𝑎𝑏) → (𝑅 Or 𝑉 → (⟨inf(𝑍, 𝑉, 𝑅), sup(𝑍, 𝑉, 𝑅)⟩ = ⟨inf(𝑊, 𝑉, 𝑅), sup(𝑊, 𝑉, 𝑅)⟩ → 𝑍 = 𝑊))))
18519, 184syl5bi 241 . . . 4 (∃𝑐𝑉𝑑𝑉 (𝑍 = {𝑐, 𝑑} ∧ 𝑐𝑑) → (𝑊𝑃 → (𝑅 Or 𝑉 → (⟨inf(𝑍, 𝑉, 𝑅), sup(𝑍, 𝑉, 𝑅)⟩ = ⟨inf(𝑊, 𝑉, 𝑅), sup(𝑊, 𝑉, 𝑅)⟩ → 𝑍 = 𝑊))))
18618, 185sylbi 216 . . 3 (𝑍𝑃 → (𝑊𝑃 → (𝑅 Or 𝑉 → (⟨inf(𝑍, 𝑉, 𝑅), sup(𝑍, 𝑉, 𝑅)⟩ = ⟨inf(𝑊, 𝑉, 𝑅), sup(𝑊, 𝑉, 𝑅)⟩ → 𝑍 = 𝑊))))
1871863imp31 1111 . 2 ((𝑅 Or 𝑉𝑊𝑃𝑍𝑃) → (⟨inf(𝑍, 𝑉, 𝑅), sup(𝑍, 𝑉, 𝑅)⟩ = ⟨inf(𝑊, 𝑉, 𝑅), sup(𝑊, 𝑉, 𝑅)⟩ → 𝑍 = 𝑊))
18816, 187sylbid 239 1 ((𝑅 Or 𝑉𝑊𝑃𝑍𝑃) → ((𝐹𝑍) = (𝐹𝑊) → 𝑍 = 𝑊))
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wi 4  wb 205  wa 396  wo 844  w3o 1085  w3a 1086   = wceq 1539  wcel 2106  wne 2943  wrex 3065  {crab 3068  Vcvv 3432  cin 3886  ifcif 4459  𝒫 cpw 4533  {cpr 4563  cop 4567   class class class wbr 5074  cmpt 5157   Or wor 5502   × cxp 5587  cfv 6433  supcsup 9199  infcinf 9200  2c2 12028  chash 14044
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1798  ax-4 1812  ax-5 1913  ax-6 1971  ax-7 2011  ax-8 2108  ax-9 2116  ax-10 2137  ax-11 2154  ax-12 2171  ax-ext 2709  ax-sep 5223  ax-nul 5230  ax-pow 5288  ax-pr 5352  ax-un 7588  ax-cnex 10927  ax-resscn 10928  ax-1cn 10929  ax-icn 10930  ax-addcl 10931  ax-addrcl 10932  ax-mulcl 10933  ax-mulrcl 10934  ax-mulcom 10935  ax-addass 10936  ax-mulass 10937  ax-distr 10938  ax-i2m1 10939  ax-1ne0 10940  ax-1rid 10941  ax-rnegex 10942  ax-rrecex 10943  ax-cnre 10944  ax-pre-lttri 10945  ax-pre-lttrn 10946  ax-pre-ltadd 10947  ax-pre-mulgt0 10948
This theorem depends on definitions:  df-bi 206  df-an 397  df-or 845  df-3or 1087  df-3an 1088  df-tru 1542  df-fal 1552  df-ex 1783  df-nf 1787  df-sb 2068  df-mo 2540  df-eu 2569  df-clab 2716  df-cleq 2730  df-clel 2816  df-nfc 2889  df-ne 2944  df-nel 3050  df-ral 3069  df-rex 3070  df-rmo 3071  df-reu 3072  df-rab 3073  df-v 3434  df-sbc 3717  df-csb 3833  df-dif 3890  df-un 3892  df-in 3894  df-ss 3904  df-pss 3906  df-nul 4257  df-if 4460  df-pw 4535  df-sn 4562  df-pr 4564  df-op 4568  df-uni 4840  df-int 4880  df-iun 4926  df-br 5075  df-opab 5137  df-mpt 5158  df-tr 5192  df-id 5489  df-eprel 5495  df-po 5503  df-so 5504  df-fr 5544  df-we 5546  df-xp 5595  df-rel 5596  df-cnv 5597  df-co 5598  df-dm 5599  df-rn 5600  df-res 5601  df-ima 5602  df-pred 6202  df-ord 6269  df-on 6270  df-lim 6271  df-suc 6272  df-iota 6391  df-fun 6435  df-fn 6436  df-f 6437  df-f1 6438  df-fo 6439  df-f1o 6440  df-fv 6441  df-riota 7232  df-ov 7278  df-oprab 7279  df-mpo 7280  df-om 7713  df-1st 7831  df-2nd 7832  df-frecs 8097  df-wrecs 8128  df-recs 8202  df-rdg 8241  df-1o 8297  df-2o 8298  df-oadd 8301  df-er 8498  df-en 8734  df-dom 8735  df-sdom 8736  df-fin 8737  df-sup 9201  df-inf 9202  df-dju 9659  df-card 9697  df-pnf 11011  df-mnf 11012  df-xr 11013  df-ltxr 11014  df-le 11015  df-sub 11207  df-neg 11208  df-nn 11974  df-2 12036  df-n0 12234  df-z 12320  df-uz 12583  df-fz 13240  df-hash 14045
This theorem is referenced by:  prproropf1o  44959
  Copyright terms: Public domain W3C validator