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

Theorem ordthauslem 22534
Description: Lemma for ordthaus 22535. (Contributed by Mario Carneiro, 13-Sep-2015.)
Hypothesis
Ref Expression
ordthauslem.1 𝑋 = dom 𝑅
Assertion
Ref Expression
ordthauslem ((𝑅 ∈ TosetRel ∧ 𝐴𝑋𝐵𝑋) → (𝐴𝑅𝐵 → (𝐴𝐵 → ∃𝑚 ∈ (ordTop‘𝑅)∃𝑛 ∈ (ordTop‘𝑅)(𝐴𝑚𝐵𝑛 ∧ (𝑚𝑛) = ∅))))
Distinct variable groups:   𝑚,𝑛,𝐴   𝐵,𝑚,𝑛   𝑅,𝑚,𝑛   𝑚,𝑋,𝑛

Proof of Theorem ordthauslem
Dummy variables 𝑥 𝑦 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 simpll1 1211 . . . . . 6 ((((𝑅 ∈ TosetRel ∧ 𝐴𝑋𝐵𝑋) ∧ (𝐴𝑅𝐵𝐴𝐵)) ∧ {𝑥𝑋 ∣ (¬ 𝐵𝑅𝑥 ∧ ¬ 𝑥𝑅𝐴)} = ∅) → 𝑅 ∈ TosetRel )
2 simpll3 1213 . . . . . 6 ((((𝑅 ∈ TosetRel ∧ 𝐴𝑋𝐵𝑋) ∧ (𝐴𝑅𝐵𝐴𝐵)) ∧ {𝑥𝑋 ∣ (¬ 𝐵𝑅𝑥 ∧ ¬ 𝑥𝑅𝐴)} = ∅) → 𝐵𝑋)
3 ordthauslem.1 . . . . . . 7 𝑋 = dom 𝑅
43ordtopn2 22346 . . . . . 6 ((𝑅 ∈ TosetRel ∧ 𝐵𝑋) → {𝑥𝑋 ∣ ¬ 𝐵𝑅𝑥} ∈ (ordTop‘𝑅))
51, 2, 4syl2anc 584 . . . . 5 ((((𝑅 ∈ TosetRel ∧ 𝐴𝑋𝐵𝑋) ∧ (𝐴𝑅𝐵𝐴𝐵)) ∧ {𝑥𝑋 ∣ (¬ 𝐵𝑅𝑥 ∧ ¬ 𝑥𝑅𝐴)} = ∅) → {𝑥𝑋 ∣ ¬ 𝐵𝑅𝑥} ∈ (ordTop‘𝑅))
6 simpll2 1212 . . . . . 6 ((((𝑅 ∈ TosetRel ∧ 𝐴𝑋𝐵𝑋) ∧ (𝐴𝑅𝐵𝐴𝐵)) ∧ {𝑥𝑋 ∣ (¬ 𝐵𝑅𝑥 ∧ ¬ 𝑥𝑅𝐴)} = ∅) → 𝐴𝑋)
73ordtopn1 22345 . . . . . 6 ((𝑅 ∈ TosetRel ∧ 𝐴𝑋) → {𝑥𝑋 ∣ ¬ 𝑥𝑅𝐴} ∈ (ordTop‘𝑅))
81, 6, 7syl2anc 584 . . . . 5 ((((𝑅 ∈ TosetRel ∧ 𝐴𝑋𝐵𝑋) ∧ (𝐴𝑅𝐵𝐴𝐵)) ∧ {𝑥𝑋 ∣ (¬ 𝐵𝑅𝑥 ∧ ¬ 𝑥𝑅𝐴)} = ∅) → {𝑥𝑋 ∣ ¬ 𝑥𝑅𝐴} ∈ (ordTop‘𝑅))
9 breq2 5078 . . . . . . 7 (𝑥 = 𝐴 → (𝐵𝑅𝑥𝐵𝑅𝐴))
109notbid 318 . . . . . 6 (𝑥 = 𝐴 → (¬ 𝐵𝑅𝑥 ↔ ¬ 𝐵𝑅𝐴))
11 simprr 770 . . . . . . . 8 (((𝑅 ∈ TosetRel ∧ 𝐴𝑋𝐵𝑋) ∧ (𝐴𝑅𝐵𝐴𝐵)) → 𝐴𝐵)
12 simpl1 1190 . . . . . . . . . . 11 (((𝑅 ∈ TosetRel ∧ 𝐴𝑋𝐵𝑋) ∧ (𝐴𝑅𝐵𝐴𝐵)) → 𝑅 ∈ TosetRel )
13 tsrps 18305 . . . . . . . . . . 11 (𝑅 ∈ TosetRel → 𝑅 ∈ PosetRel)
1412, 13syl 17 . . . . . . . . . 10 (((𝑅 ∈ TosetRel ∧ 𝐴𝑋𝐵𝑋) ∧ (𝐴𝑅𝐵𝐴𝐵)) → 𝑅 ∈ PosetRel)
15 simprl 768 . . . . . . . . . 10 (((𝑅 ∈ TosetRel ∧ 𝐴𝑋𝐵𝑋) ∧ (𝐴𝑅𝐵𝐴𝐵)) → 𝐴𝑅𝐵)
16 psasym 18294 . . . . . . . . . . 11 ((𝑅 ∈ PosetRel ∧ 𝐴𝑅𝐵𝐵𝑅𝐴) → 𝐴 = 𝐵)
17163expia 1120 . . . . . . . . . 10 ((𝑅 ∈ PosetRel ∧ 𝐴𝑅𝐵) → (𝐵𝑅𝐴𝐴 = 𝐵))
1814, 15, 17syl2anc 584 . . . . . . . . 9 (((𝑅 ∈ TosetRel ∧ 𝐴𝑋𝐵𝑋) ∧ (𝐴𝑅𝐵𝐴𝐵)) → (𝐵𝑅𝐴𝐴 = 𝐵))
1918necon3ad 2956 . . . . . . . 8 (((𝑅 ∈ TosetRel ∧ 𝐴𝑋𝐵𝑋) ∧ (𝐴𝑅𝐵𝐴𝐵)) → (𝐴𝐵 → ¬ 𝐵𝑅𝐴))
2011, 19mpd 15 . . . . . . 7 (((𝑅 ∈ TosetRel ∧ 𝐴𝑋𝐵𝑋) ∧ (𝐴𝑅𝐵𝐴𝐵)) → ¬ 𝐵𝑅𝐴)
2120adantr 481 . . . . . 6 ((((𝑅 ∈ TosetRel ∧ 𝐴𝑋𝐵𝑋) ∧ (𝐴𝑅𝐵𝐴𝐵)) ∧ {𝑥𝑋 ∣ (¬ 𝐵𝑅𝑥 ∧ ¬ 𝑥𝑅𝐴)} = ∅) → ¬ 𝐵𝑅𝐴)
2210, 6, 21elrabd 3626 . . . . 5 ((((𝑅 ∈ TosetRel ∧ 𝐴𝑋𝐵𝑋) ∧ (𝐴𝑅𝐵𝐴𝐵)) ∧ {𝑥𝑋 ∣ (¬ 𝐵𝑅𝑥 ∧ ¬ 𝑥𝑅𝐴)} = ∅) → 𝐴 ∈ {𝑥𝑋 ∣ ¬ 𝐵𝑅𝑥})
23 breq1 5077 . . . . . . 7 (𝑥 = 𝐵 → (𝑥𝑅𝐴𝐵𝑅𝐴))
2423notbid 318 . . . . . 6 (𝑥 = 𝐵 → (¬ 𝑥𝑅𝐴 ↔ ¬ 𝐵𝑅𝐴))
2524, 2, 21elrabd 3626 . . . . 5 ((((𝑅 ∈ TosetRel ∧ 𝐴𝑋𝐵𝑋) ∧ (𝐴𝑅𝐵𝐴𝐵)) ∧ {𝑥𝑋 ∣ (¬ 𝐵𝑅𝑥 ∧ ¬ 𝑥𝑅𝐴)} = ∅) → 𝐵 ∈ {𝑥𝑋 ∣ ¬ 𝑥𝑅𝐴})
26 simpr 485 . . . . 5 ((((𝑅 ∈ TosetRel ∧ 𝐴𝑋𝐵𝑋) ∧ (𝐴𝑅𝐵𝐴𝐵)) ∧ {𝑥𝑋 ∣ (¬ 𝐵𝑅𝑥 ∧ ¬ 𝑥𝑅𝐴)} = ∅) → {𝑥𝑋 ∣ (¬ 𝐵𝑅𝑥 ∧ ¬ 𝑥𝑅𝐴)} = ∅)
27 eleq2 2827 . . . . . . 7 (𝑚 = {𝑥𝑋 ∣ ¬ 𝐵𝑅𝑥} → (𝐴𝑚𝐴 ∈ {𝑥𝑋 ∣ ¬ 𝐵𝑅𝑥}))
28 ineq1 4139 . . . . . . . 8 (𝑚 = {𝑥𝑋 ∣ ¬ 𝐵𝑅𝑥} → (𝑚𝑛) = ({𝑥𝑋 ∣ ¬ 𝐵𝑅𝑥} ∩ 𝑛))
2928eqeq1d 2740 . . . . . . 7 (𝑚 = {𝑥𝑋 ∣ ¬ 𝐵𝑅𝑥} → ((𝑚𝑛) = ∅ ↔ ({𝑥𝑋 ∣ ¬ 𝐵𝑅𝑥} ∩ 𝑛) = ∅))
3027, 293anbi13d 1437 . . . . . 6 (𝑚 = {𝑥𝑋 ∣ ¬ 𝐵𝑅𝑥} → ((𝐴𝑚𝐵𝑛 ∧ (𝑚𝑛) = ∅) ↔ (𝐴 ∈ {𝑥𝑋 ∣ ¬ 𝐵𝑅𝑥} ∧ 𝐵𝑛 ∧ ({𝑥𝑋 ∣ ¬ 𝐵𝑅𝑥} ∩ 𝑛) = ∅)))
31 eleq2 2827 . . . . . . 7 (𝑛 = {𝑥𝑋 ∣ ¬ 𝑥𝑅𝐴} → (𝐵𝑛𝐵 ∈ {𝑥𝑋 ∣ ¬ 𝑥𝑅𝐴}))
32 ineq2 4140 . . . . . . . . 9 (𝑛 = {𝑥𝑋 ∣ ¬ 𝑥𝑅𝐴} → ({𝑥𝑋 ∣ ¬ 𝐵𝑅𝑥} ∩ 𝑛) = ({𝑥𝑋 ∣ ¬ 𝐵𝑅𝑥} ∩ {𝑥𝑋 ∣ ¬ 𝑥𝑅𝐴}))
33 inrab 4240 . . . . . . . . 9 ({𝑥𝑋 ∣ ¬ 𝐵𝑅𝑥} ∩ {𝑥𝑋 ∣ ¬ 𝑥𝑅𝐴}) = {𝑥𝑋 ∣ (¬ 𝐵𝑅𝑥 ∧ ¬ 𝑥𝑅𝐴)}
3432, 33eqtrdi 2794 . . . . . . . 8 (𝑛 = {𝑥𝑋 ∣ ¬ 𝑥𝑅𝐴} → ({𝑥𝑋 ∣ ¬ 𝐵𝑅𝑥} ∩ 𝑛) = {𝑥𝑋 ∣ (¬ 𝐵𝑅𝑥 ∧ ¬ 𝑥𝑅𝐴)})
3534eqeq1d 2740 . . . . . . 7 (𝑛 = {𝑥𝑋 ∣ ¬ 𝑥𝑅𝐴} → (({𝑥𝑋 ∣ ¬ 𝐵𝑅𝑥} ∩ 𝑛) = ∅ ↔ {𝑥𝑋 ∣ (¬ 𝐵𝑅𝑥 ∧ ¬ 𝑥𝑅𝐴)} = ∅))
3631, 353anbi23d 1438 . . . . . 6 (𝑛 = {𝑥𝑋 ∣ ¬ 𝑥𝑅𝐴} → ((𝐴 ∈ {𝑥𝑋 ∣ ¬ 𝐵𝑅𝑥} ∧ 𝐵𝑛 ∧ ({𝑥𝑋 ∣ ¬ 𝐵𝑅𝑥} ∩ 𝑛) = ∅) ↔ (𝐴 ∈ {𝑥𝑋 ∣ ¬ 𝐵𝑅𝑥} ∧ 𝐵 ∈ {𝑥𝑋 ∣ ¬ 𝑥𝑅𝐴} ∧ {𝑥𝑋 ∣ (¬ 𝐵𝑅𝑥 ∧ ¬ 𝑥𝑅𝐴)} = ∅)))
3730, 36rspc2ev 3572 . . . . 5 (({𝑥𝑋 ∣ ¬ 𝐵𝑅𝑥} ∈ (ordTop‘𝑅) ∧ {𝑥𝑋 ∣ ¬ 𝑥𝑅𝐴} ∈ (ordTop‘𝑅) ∧ (𝐴 ∈ {𝑥𝑋 ∣ ¬ 𝐵𝑅𝑥} ∧ 𝐵 ∈ {𝑥𝑋 ∣ ¬ 𝑥𝑅𝐴} ∧ {𝑥𝑋 ∣ (¬ 𝐵𝑅𝑥 ∧ ¬ 𝑥𝑅𝐴)} = ∅)) → ∃𝑚 ∈ (ordTop‘𝑅)∃𝑛 ∈ (ordTop‘𝑅)(𝐴𝑚𝐵𝑛 ∧ (𝑚𝑛) = ∅))
385, 8, 22, 25, 26, 37syl113anc 1381 . . . 4 ((((𝑅 ∈ TosetRel ∧ 𝐴𝑋𝐵𝑋) ∧ (𝐴𝑅𝐵𝐴𝐵)) ∧ {𝑥𝑋 ∣ (¬ 𝐵𝑅𝑥 ∧ ¬ 𝑥𝑅𝐴)} = ∅) → ∃𝑚 ∈ (ordTop‘𝑅)∃𝑛 ∈ (ordTop‘𝑅)(𝐴𝑚𝐵𝑛 ∧ (𝑚𝑛) = ∅))
3938ex 413 . . 3 (((𝑅 ∈ TosetRel ∧ 𝐴𝑋𝐵𝑋) ∧ (𝐴𝑅𝐵𝐴𝐵)) → ({𝑥𝑋 ∣ (¬ 𝐵𝑅𝑥 ∧ ¬ 𝑥𝑅𝐴)} = ∅ → ∃𝑚 ∈ (ordTop‘𝑅)∃𝑛 ∈ (ordTop‘𝑅)(𝐴𝑚𝐵𝑛 ∧ (𝑚𝑛) = ∅)))
40 rabn0 4319 . . . 4 ({𝑥𝑋 ∣ (¬ 𝐵𝑅𝑥 ∧ ¬ 𝑥𝑅𝐴)} ≠ ∅ ↔ ∃𝑥𝑋𝐵𝑅𝑥 ∧ ¬ 𝑥𝑅𝐴))
41 simpll1 1211 . . . . . . 7 ((((𝑅 ∈ TosetRel ∧ 𝐴𝑋𝐵𝑋) ∧ (𝐴𝑅𝐵𝐴𝐵)) ∧ (𝑥𝑋 ∧ (¬ 𝐵𝑅𝑥 ∧ ¬ 𝑥𝑅𝐴))) → 𝑅 ∈ TosetRel )
42 simprl 768 . . . . . . 7 ((((𝑅 ∈ TosetRel ∧ 𝐴𝑋𝐵𝑋) ∧ (𝐴𝑅𝐵𝐴𝐵)) ∧ (𝑥𝑋 ∧ (¬ 𝐵𝑅𝑥 ∧ ¬ 𝑥𝑅𝐴))) → 𝑥𝑋)
433ordtopn2 22346 . . . . . . 7 ((𝑅 ∈ TosetRel ∧ 𝑥𝑋) → {𝑦𝑋 ∣ ¬ 𝑥𝑅𝑦} ∈ (ordTop‘𝑅))
4441, 42, 43syl2anc 584 . . . . . 6 ((((𝑅 ∈ TosetRel ∧ 𝐴𝑋𝐵𝑋) ∧ (𝐴𝑅𝐵𝐴𝐵)) ∧ (𝑥𝑋 ∧ (¬ 𝐵𝑅𝑥 ∧ ¬ 𝑥𝑅𝐴))) → {𝑦𝑋 ∣ ¬ 𝑥𝑅𝑦} ∈ (ordTop‘𝑅))
453ordtopn1 22345 . . . . . . 7 ((𝑅 ∈ TosetRel ∧ 𝑥𝑋) → {𝑦𝑋 ∣ ¬ 𝑦𝑅𝑥} ∈ (ordTop‘𝑅))
4641, 42, 45syl2anc 584 . . . . . 6 ((((𝑅 ∈ TosetRel ∧ 𝐴𝑋𝐵𝑋) ∧ (𝐴𝑅𝐵𝐴𝐵)) ∧ (𝑥𝑋 ∧ (¬ 𝐵𝑅𝑥 ∧ ¬ 𝑥𝑅𝐴))) → {𝑦𝑋 ∣ ¬ 𝑦𝑅𝑥} ∈ (ordTop‘𝑅))
47 breq2 5078 . . . . . . . 8 (𝑦 = 𝐴 → (𝑥𝑅𝑦𝑥𝑅𝐴))
4847notbid 318 . . . . . . 7 (𝑦 = 𝐴 → (¬ 𝑥𝑅𝑦 ↔ ¬ 𝑥𝑅𝐴))
49 simpll2 1212 . . . . . . 7 ((((𝑅 ∈ TosetRel ∧ 𝐴𝑋𝐵𝑋) ∧ (𝐴𝑅𝐵𝐴𝐵)) ∧ (𝑥𝑋 ∧ (¬ 𝐵𝑅𝑥 ∧ ¬ 𝑥𝑅𝐴))) → 𝐴𝑋)
50 simprrr 779 . . . . . . 7 ((((𝑅 ∈ TosetRel ∧ 𝐴𝑋𝐵𝑋) ∧ (𝐴𝑅𝐵𝐴𝐵)) ∧ (𝑥𝑋 ∧ (¬ 𝐵𝑅𝑥 ∧ ¬ 𝑥𝑅𝐴))) → ¬ 𝑥𝑅𝐴)
5148, 49, 50elrabd 3626 . . . . . 6 ((((𝑅 ∈ TosetRel ∧ 𝐴𝑋𝐵𝑋) ∧ (𝐴𝑅𝐵𝐴𝐵)) ∧ (𝑥𝑋 ∧ (¬ 𝐵𝑅𝑥 ∧ ¬ 𝑥𝑅𝐴))) → 𝐴 ∈ {𝑦𝑋 ∣ ¬ 𝑥𝑅𝑦})
52 breq1 5077 . . . . . . . 8 (𝑦 = 𝐵 → (𝑦𝑅𝑥𝐵𝑅𝑥))
5352notbid 318 . . . . . . 7 (𝑦 = 𝐵 → (¬ 𝑦𝑅𝑥 ↔ ¬ 𝐵𝑅𝑥))
54 simpll3 1213 . . . . . . 7 ((((𝑅 ∈ TosetRel ∧ 𝐴𝑋𝐵𝑋) ∧ (𝐴𝑅𝐵𝐴𝐵)) ∧ (𝑥𝑋 ∧ (¬ 𝐵𝑅𝑥 ∧ ¬ 𝑥𝑅𝐴))) → 𝐵𝑋)
55 simprrl 778 . . . . . . 7 ((((𝑅 ∈ TosetRel ∧ 𝐴𝑋𝐵𝑋) ∧ (𝐴𝑅𝐵𝐴𝐵)) ∧ (𝑥𝑋 ∧ (¬ 𝐵𝑅𝑥 ∧ ¬ 𝑥𝑅𝐴))) → ¬ 𝐵𝑅𝑥)
5653, 54, 55elrabd 3626 . . . . . 6 ((((𝑅 ∈ TosetRel ∧ 𝐴𝑋𝐵𝑋) ∧ (𝐴𝑅𝐵𝐴𝐵)) ∧ (𝑥𝑋 ∧ (¬ 𝐵𝑅𝑥 ∧ ¬ 𝑥𝑅𝐴))) → 𝐵 ∈ {𝑦𝑋 ∣ ¬ 𝑦𝑅𝑥})
5741, 42jca 512 . . . . . . . . . 10 ((((𝑅 ∈ TosetRel ∧ 𝐴𝑋𝐵𝑋) ∧ (𝐴𝑅𝐵𝐴𝐵)) ∧ (𝑥𝑋 ∧ (¬ 𝐵𝑅𝑥 ∧ ¬ 𝑥𝑅𝐴))) → (𝑅 ∈ TosetRel ∧ 𝑥𝑋))
583tsrlin 18303 . . . . . . . . . . 11 ((𝑅 ∈ TosetRel ∧ 𝑥𝑋𝑦𝑋) → (𝑥𝑅𝑦𝑦𝑅𝑥))
59583expa 1117 . . . . . . . . . 10 (((𝑅 ∈ TosetRel ∧ 𝑥𝑋) ∧ 𝑦𝑋) → (𝑥𝑅𝑦𝑦𝑅𝑥))
6057, 59sylan 580 . . . . . . . . 9 (((((𝑅 ∈ TosetRel ∧ 𝐴𝑋𝐵𝑋) ∧ (𝐴𝑅𝐵𝐴𝐵)) ∧ (𝑥𝑋 ∧ (¬ 𝐵𝑅𝑥 ∧ ¬ 𝑥𝑅𝐴))) ∧ 𝑦𝑋) → (𝑥𝑅𝑦𝑦𝑅𝑥))
61 oran 987 . . . . . . . . 9 ((𝑥𝑅𝑦𝑦𝑅𝑥) ↔ ¬ (¬ 𝑥𝑅𝑦 ∧ ¬ 𝑦𝑅𝑥))
6260, 61sylib 217 . . . . . . . 8 (((((𝑅 ∈ TosetRel ∧ 𝐴𝑋𝐵𝑋) ∧ (𝐴𝑅𝐵𝐴𝐵)) ∧ (𝑥𝑋 ∧ (¬ 𝐵𝑅𝑥 ∧ ¬ 𝑥𝑅𝐴))) ∧ 𝑦𝑋) → ¬ (¬ 𝑥𝑅𝑦 ∧ ¬ 𝑦𝑅𝑥))
6362ralrimiva 3103 . . . . . . 7 ((((𝑅 ∈ TosetRel ∧ 𝐴𝑋𝐵𝑋) ∧ (𝐴𝑅𝐵𝐴𝐵)) ∧ (𝑥𝑋 ∧ (¬ 𝐵𝑅𝑥 ∧ ¬ 𝑥𝑅𝐴))) → ∀𝑦𝑋 ¬ (¬ 𝑥𝑅𝑦 ∧ ¬ 𝑦𝑅𝑥))
64 rabeq0 4318 . . . . . . 7 ({𝑦𝑋 ∣ (¬ 𝑥𝑅𝑦 ∧ ¬ 𝑦𝑅𝑥)} = ∅ ↔ ∀𝑦𝑋 ¬ (¬ 𝑥𝑅𝑦 ∧ ¬ 𝑦𝑅𝑥))
6563, 64sylibr 233 . . . . . 6 ((((𝑅 ∈ TosetRel ∧ 𝐴𝑋𝐵𝑋) ∧ (𝐴𝑅𝐵𝐴𝐵)) ∧ (𝑥𝑋 ∧ (¬ 𝐵𝑅𝑥 ∧ ¬ 𝑥𝑅𝐴))) → {𝑦𝑋 ∣ (¬ 𝑥𝑅𝑦 ∧ ¬ 𝑦𝑅𝑥)} = ∅)
66 eleq2 2827 . . . . . . . 8 (𝑚 = {𝑦𝑋 ∣ ¬ 𝑥𝑅𝑦} → (𝐴𝑚𝐴 ∈ {𝑦𝑋 ∣ ¬ 𝑥𝑅𝑦}))
67 ineq1 4139 . . . . . . . . 9 (𝑚 = {𝑦𝑋 ∣ ¬ 𝑥𝑅𝑦} → (𝑚𝑛) = ({𝑦𝑋 ∣ ¬ 𝑥𝑅𝑦} ∩ 𝑛))
6867eqeq1d 2740 . . . . . . . 8 (𝑚 = {𝑦𝑋 ∣ ¬ 𝑥𝑅𝑦} → ((𝑚𝑛) = ∅ ↔ ({𝑦𝑋 ∣ ¬ 𝑥𝑅𝑦} ∩ 𝑛) = ∅))
6966, 683anbi13d 1437 . . . . . . 7 (𝑚 = {𝑦𝑋 ∣ ¬ 𝑥𝑅𝑦} → ((𝐴𝑚𝐵𝑛 ∧ (𝑚𝑛) = ∅) ↔ (𝐴 ∈ {𝑦𝑋 ∣ ¬ 𝑥𝑅𝑦} ∧ 𝐵𝑛 ∧ ({𝑦𝑋 ∣ ¬ 𝑥𝑅𝑦} ∩ 𝑛) = ∅)))
70 eleq2 2827 . . . . . . . 8 (𝑛 = {𝑦𝑋 ∣ ¬ 𝑦𝑅𝑥} → (𝐵𝑛𝐵 ∈ {𝑦𝑋 ∣ ¬ 𝑦𝑅𝑥}))
71 ineq2 4140 . . . . . . . . . 10 (𝑛 = {𝑦𝑋 ∣ ¬ 𝑦𝑅𝑥} → ({𝑦𝑋 ∣ ¬ 𝑥𝑅𝑦} ∩ 𝑛) = ({𝑦𝑋 ∣ ¬ 𝑥𝑅𝑦} ∩ {𝑦𝑋 ∣ ¬ 𝑦𝑅𝑥}))
72 inrab 4240 . . . . . . . . . 10 ({𝑦𝑋 ∣ ¬ 𝑥𝑅𝑦} ∩ {𝑦𝑋 ∣ ¬ 𝑦𝑅𝑥}) = {𝑦𝑋 ∣ (¬ 𝑥𝑅𝑦 ∧ ¬ 𝑦𝑅𝑥)}
7371, 72eqtrdi 2794 . . . . . . . . 9 (𝑛 = {𝑦𝑋 ∣ ¬ 𝑦𝑅𝑥} → ({𝑦𝑋 ∣ ¬ 𝑥𝑅𝑦} ∩ 𝑛) = {𝑦𝑋 ∣ (¬ 𝑥𝑅𝑦 ∧ ¬ 𝑦𝑅𝑥)})
7473eqeq1d 2740 . . . . . . . 8 (𝑛 = {𝑦𝑋 ∣ ¬ 𝑦𝑅𝑥} → (({𝑦𝑋 ∣ ¬ 𝑥𝑅𝑦} ∩ 𝑛) = ∅ ↔ {𝑦𝑋 ∣ (¬ 𝑥𝑅𝑦 ∧ ¬ 𝑦𝑅𝑥)} = ∅))
7570, 743anbi23d 1438 . . . . . . 7 (𝑛 = {𝑦𝑋 ∣ ¬ 𝑦𝑅𝑥} → ((𝐴 ∈ {𝑦𝑋 ∣ ¬ 𝑥𝑅𝑦} ∧ 𝐵𝑛 ∧ ({𝑦𝑋 ∣ ¬ 𝑥𝑅𝑦} ∩ 𝑛) = ∅) ↔ (𝐴 ∈ {𝑦𝑋 ∣ ¬ 𝑥𝑅𝑦} ∧ 𝐵 ∈ {𝑦𝑋 ∣ ¬ 𝑦𝑅𝑥} ∧ {𝑦𝑋 ∣ (¬ 𝑥𝑅𝑦 ∧ ¬ 𝑦𝑅𝑥)} = ∅)))
7669, 75rspc2ev 3572 . . . . . 6 (({𝑦𝑋 ∣ ¬ 𝑥𝑅𝑦} ∈ (ordTop‘𝑅) ∧ {𝑦𝑋 ∣ ¬ 𝑦𝑅𝑥} ∈ (ordTop‘𝑅) ∧ (𝐴 ∈ {𝑦𝑋 ∣ ¬ 𝑥𝑅𝑦} ∧ 𝐵 ∈ {𝑦𝑋 ∣ ¬ 𝑦𝑅𝑥} ∧ {𝑦𝑋 ∣ (¬ 𝑥𝑅𝑦 ∧ ¬ 𝑦𝑅𝑥)} = ∅)) → ∃𝑚 ∈ (ordTop‘𝑅)∃𝑛 ∈ (ordTop‘𝑅)(𝐴𝑚𝐵𝑛 ∧ (𝑚𝑛) = ∅))
7744, 46, 51, 56, 65, 76syl113anc 1381 . . . . 5 ((((𝑅 ∈ TosetRel ∧ 𝐴𝑋𝐵𝑋) ∧ (𝐴𝑅𝐵𝐴𝐵)) ∧ (𝑥𝑋 ∧ (¬ 𝐵𝑅𝑥 ∧ ¬ 𝑥𝑅𝐴))) → ∃𝑚 ∈ (ordTop‘𝑅)∃𝑛 ∈ (ordTop‘𝑅)(𝐴𝑚𝐵𝑛 ∧ (𝑚𝑛) = ∅))
7877rexlimdvaa 3214 . . . 4 (((𝑅 ∈ TosetRel ∧ 𝐴𝑋𝐵𝑋) ∧ (𝐴𝑅𝐵𝐴𝐵)) → (∃𝑥𝑋𝐵𝑅𝑥 ∧ ¬ 𝑥𝑅𝐴) → ∃𝑚 ∈ (ordTop‘𝑅)∃𝑛 ∈ (ordTop‘𝑅)(𝐴𝑚𝐵𝑛 ∧ (𝑚𝑛) = ∅)))
7940, 78syl5bi 241 . . 3 (((𝑅 ∈ TosetRel ∧ 𝐴𝑋𝐵𝑋) ∧ (𝐴𝑅𝐵𝐴𝐵)) → ({𝑥𝑋 ∣ (¬ 𝐵𝑅𝑥 ∧ ¬ 𝑥𝑅𝐴)} ≠ ∅ → ∃𝑚 ∈ (ordTop‘𝑅)∃𝑛 ∈ (ordTop‘𝑅)(𝐴𝑚𝐵𝑛 ∧ (𝑚𝑛) = ∅)))
8039, 79pm2.61dne 3031 . 2 (((𝑅 ∈ TosetRel ∧ 𝐴𝑋𝐵𝑋) ∧ (𝐴𝑅𝐵𝐴𝐵)) → ∃𝑚 ∈ (ordTop‘𝑅)∃𝑛 ∈ (ordTop‘𝑅)(𝐴𝑚𝐵𝑛 ∧ (𝑚𝑛) = ∅))
8180exp32 421 1 ((𝑅 ∈ TosetRel ∧ 𝐴𝑋𝐵𝑋) → (𝐴𝑅𝐵 → (𝐴𝐵 → ∃𝑚 ∈ (ordTop‘𝑅)∃𝑛 ∈ (ordTop‘𝑅)(𝐴𝑚𝐵𝑛 ∧ (𝑚𝑛) = ∅))))
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wi 4  wa 396  wo 844  w3a 1086   = wceq 1539  wcel 2106  wne 2943  wral 3064  wrex 3065  {crab 3068  cin 3886  c0 4256   class class class wbr 5074  dom cdm 5589  cfv 6433  ordTopcordt 17210  PosetRelcps 18282   TosetRel ctsr 18283
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
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-ral 3069  df-rex 3070  df-reu 3072  df-rab 3073  df-v 3434  df-sbc 3717  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-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-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-om 7713  df-1o 8297  df-en 8734  df-fin 8737  df-fi 9170  df-topgen 17154  df-ordt 17212  df-ps 18284  df-tsr 18285  df-bases 22096
This theorem is referenced by:  ordthaus  22535
  Copyright terms: Public domain W3C validator