Users' Mathboxes Mathbox for Scott Fenton < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >   Mathboxes  >  dfon2lem5 Structured version   Visualization version   GIF version

Theorem dfon2lem5 33669
Description: Lemma for dfon2 33674. Two sets satisfying the new definition also satisfy trichotomy with respect to . (Contributed by Scott Fenton, 25-Feb-2011.)
Hypotheses
Ref Expression
dfon2lem5.1 𝐴 ∈ V
dfon2lem5.2 𝐵 ∈ V
Assertion
Ref Expression
dfon2lem5 ((∀𝑥((𝑥𝐴 ∧ Tr 𝑥) → 𝑥𝐴) ∧ ∀𝑦((𝑦𝐵 ∧ Tr 𝑦) → 𝑦𝐵)) → (𝐴𝐵𝐴 = 𝐵𝐵𝐴))
Distinct variable groups:   𝑥,𝐴,𝑦   𝑥,𝐵,𝑦

Proof of Theorem dfon2lem5
Dummy variable 𝑧 is distinct from all other variables.
StepHypRef Expression
1 dfon2lem5.1 . . . 4 𝐴 ∈ V
2 dfon2lem5.2 . . . 4 𝐵 ∈ V
31, 2dfon2lem4 33668 . . 3 ((∀𝑥((𝑥𝐴 ∧ Tr 𝑥) → 𝑥𝐴) ∧ ∀𝑦((𝑦𝐵 ∧ Tr 𝑦) → 𝑦𝐵)) → (𝐴𝐵𝐵𝐴))
4 dfpss2 4016 . . . . . 6 (𝐴𝐵 ↔ (𝐴𝐵 ∧ ¬ 𝐴 = 𝐵))
5 dfpss2 4016 . . . . . . 7 (𝐵𝐴 ↔ (𝐵𝐴 ∧ ¬ 𝐵 = 𝐴))
6 eqcom 2745 . . . . . . . . 9 (𝐵 = 𝐴𝐴 = 𝐵)
76notbii 319 . . . . . . . 8 𝐵 = 𝐴 ↔ ¬ 𝐴 = 𝐵)
87anbi2i 622 . . . . . . 7 ((𝐵𝐴 ∧ ¬ 𝐵 = 𝐴) ↔ (𝐵𝐴 ∧ ¬ 𝐴 = 𝐵))
95, 8bitri 274 . . . . . 6 (𝐵𝐴 ↔ (𝐵𝐴 ∧ ¬ 𝐴 = 𝐵))
104, 9orbi12i 911 . . . . 5 ((𝐴𝐵𝐵𝐴) ↔ ((𝐴𝐵 ∧ ¬ 𝐴 = 𝐵) ∨ (𝐵𝐴 ∧ ¬ 𝐴 = 𝐵)))
11 andir 1005 . . . . 5 (((𝐴𝐵𝐵𝐴) ∧ ¬ 𝐴 = 𝐵) ↔ ((𝐴𝐵 ∧ ¬ 𝐴 = 𝐵) ∨ (𝐵𝐴 ∧ ¬ 𝐴 = 𝐵)))
1210, 11bitr4i 277 . . . 4 ((𝐴𝐵𝐵𝐴) ↔ ((𝐴𝐵𝐵𝐴) ∧ ¬ 𝐴 = 𝐵))
13 orcom 866 . . . . 5 ((𝐴𝐵𝐵𝐴) ↔ (𝐵𝐴𝐴𝐵))
14 dfon2lem3 33667 . . . . . . . . 9 (𝐵 ∈ V → (∀𝑦((𝑦𝐵 ∧ Tr 𝑦) → 𝑦𝐵) → (Tr 𝐵 ∧ ∀𝑧𝐵 ¬ 𝑧𝑧)))
152, 14ax-mp 5 . . . . . . . 8 (∀𝑦((𝑦𝐵 ∧ Tr 𝑦) → 𝑦𝐵) → (Tr 𝐵 ∧ ∀𝑧𝐵 ¬ 𝑧𝑧))
1615simpld 494 . . . . . . 7 (∀𝑦((𝑦𝐵 ∧ Tr 𝑦) → 𝑦𝐵) → Tr 𝐵)
17 psseq1 4018 . . . . . . . . . . . 12 (𝑥 = 𝐵 → (𝑥𝐴𝐵𝐴))
18 treq 5193 . . . . . . . . . . . 12 (𝑥 = 𝐵 → (Tr 𝑥 ↔ Tr 𝐵))
1917, 18anbi12d 630 . . . . . . . . . . 11 (𝑥 = 𝐵 → ((𝑥𝐴 ∧ Tr 𝑥) ↔ (𝐵𝐴 ∧ Tr 𝐵)))
20 eleq1 2826 . . . . . . . . . . 11 (𝑥 = 𝐵 → (𝑥𝐴𝐵𝐴))
2119, 20imbi12d 344 . . . . . . . . . 10 (𝑥 = 𝐵 → (((𝑥𝐴 ∧ Tr 𝑥) → 𝑥𝐴) ↔ ((𝐵𝐴 ∧ Tr 𝐵) → 𝐵𝐴)))
222, 21spcv 3534 . . . . . . . . 9 (∀𝑥((𝑥𝐴 ∧ Tr 𝑥) → 𝑥𝐴) → ((𝐵𝐴 ∧ Tr 𝐵) → 𝐵𝐴))
2322expcomd 416 . . . . . . . 8 (∀𝑥((𝑥𝐴 ∧ Tr 𝑥) → 𝑥𝐴) → (Tr 𝐵 → (𝐵𝐴𝐵𝐴)))
2423imp 406 . . . . . . 7 ((∀𝑥((𝑥𝐴 ∧ Tr 𝑥) → 𝑥𝐴) ∧ Tr 𝐵) → (𝐵𝐴𝐵𝐴))
2516, 24sylan2 592 . . . . . 6 ((∀𝑥((𝑥𝐴 ∧ Tr 𝑥) → 𝑥𝐴) ∧ ∀𝑦((𝑦𝐵 ∧ Tr 𝑦) → 𝑦𝐵)) → (𝐵𝐴𝐵𝐴))
26 dfon2lem3 33667 . . . . . . . . 9 (𝐴 ∈ V → (∀𝑥((𝑥𝐴 ∧ Tr 𝑥) → 𝑥𝐴) → (Tr 𝐴 ∧ ∀𝑧𝐴 ¬ 𝑧𝑧)))
271, 26ax-mp 5 . . . . . . . 8 (∀𝑥((𝑥𝐴 ∧ Tr 𝑥) → 𝑥𝐴) → (Tr 𝐴 ∧ ∀𝑧𝐴 ¬ 𝑧𝑧))
2827simpld 494 . . . . . . 7 (∀𝑥((𝑥𝐴 ∧ Tr 𝑥) → 𝑥𝐴) → Tr 𝐴)
29 psseq1 4018 . . . . . . . . . . 11 (𝑦 = 𝐴 → (𝑦𝐵𝐴𝐵))
30 treq 5193 . . . . . . . . . . 11 (𝑦 = 𝐴 → (Tr 𝑦 ↔ Tr 𝐴))
3129, 30anbi12d 630 . . . . . . . . . 10 (𝑦 = 𝐴 → ((𝑦𝐵 ∧ Tr 𝑦) ↔ (𝐴𝐵 ∧ Tr 𝐴)))
32 eleq1 2826 . . . . . . . . . 10 (𝑦 = 𝐴 → (𝑦𝐵𝐴𝐵))
3331, 32imbi12d 344 . . . . . . . . 9 (𝑦 = 𝐴 → (((𝑦𝐵 ∧ Tr 𝑦) → 𝑦𝐵) ↔ ((𝐴𝐵 ∧ Tr 𝐴) → 𝐴𝐵)))
341, 33spcv 3534 . . . . . . . 8 (∀𝑦((𝑦𝐵 ∧ Tr 𝑦) → 𝑦𝐵) → ((𝐴𝐵 ∧ Tr 𝐴) → 𝐴𝐵))
3534expcomd 416 . . . . . . 7 (∀𝑦((𝑦𝐵 ∧ Tr 𝑦) → 𝑦𝐵) → (Tr 𝐴 → (𝐴𝐵𝐴𝐵)))
3628, 35mpan9 506 . . . . . 6 ((∀𝑥((𝑥𝐴 ∧ Tr 𝑥) → 𝑥𝐴) ∧ ∀𝑦((𝑦𝐵 ∧ Tr 𝑦) → 𝑦𝐵)) → (𝐴𝐵𝐴𝐵))
3725, 36orim12d 961 . . . . 5 ((∀𝑥((𝑥𝐴 ∧ Tr 𝑥) → 𝑥𝐴) ∧ ∀𝑦((𝑦𝐵 ∧ Tr 𝑦) → 𝑦𝐵)) → ((𝐵𝐴𝐴𝐵) → (𝐵𝐴𝐴𝐵)))
3813, 37syl5bi 241 . . . 4 ((∀𝑥((𝑥𝐴 ∧ Tr 𝑥) → 𝑥𝐴) ∧ ∀𝑦((𝑦𝐵 ∧ Tr 𝑦) → 𝑦𝐵)) → ((𝐴𝐵𝐵𝐴) → (𝐵𝐴𝐴𝐵)))
3912, 38syl5bir 242 . . 3 ((∀𝑥((𝑥𝐴 ∧ Tr 𝑥) → 𝑥𝐴) ∧ ∀𝑦((𝑦𝐵 ∧ Tr 𝑦) → 𝑦𝐵)) → (((𝐴𝐵𝐵𝐴) ∧ ¬ 𝐴 = 𝐵) → (𝐵𝐴𝐴𝐵)))
403, 39mpand 691 . 2 ((∀𝑥((𝑥𝐴 ∧ Tr 𝑥) → 𝑥𝐴) ∧ ∀𝑦((𝑦𝐵 ∧ Tr 𝑦) → 𝑦𝐵)) → (¬ 𝐴 = 𝐵 → (𝐵𝐴𝐴𝐵)))
41 3orrot 1090 . . 3 ((𝐴𝐵𝐴 = 𝐵𝐵𝐴) ↔ (𝐴 = 𝐵𝐵𝐴𝐴𝐵))
42 3orass 1088 . . . 4 ((𝐴 = 𝐵𝐵𝐴𝐴𝐵) ↔ (𝐴 = 𝐵 ∨ (𝐵𝐴𝐴𝐵)))
43 df-or 844 . . . 4 ((𝐴 = 𝐵 ∨ (𝐵𝐴𝐴𝐵)) ↔ (¬ 𝐴 = 𝐵 → (𝐵𝐴𝐴𝐵)))
4442, 43bitri 274 . . 3 ((𝐴 = 𝐵𝐵𝐴𝐴𝐵) ↔ (¬ 𝐴 = 𝐵 → (𝐵𝐴𝐴𝐵)))
4541, 44bitri 274 . 2 ((𝐴𝐵𝐴 = 𝐵𝐵𝐴) ↔ (¬ 𝐴 = 𝐵 → (𝐵𝐴𝐴𝐵)))
4640, 45sylibr 233 1 ((∀𝑥((𝑥𝐴 ∧ Tr 𝑥) → 𝑥𝐴) ∧ ∀𝑦((𝑦𝐵 ∧ Tr 𝑦) → 𝑦𝐵)) → (𝐴𝐵𝐴 = 𝐵𝐵𝐴))
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wi 4  wa 395  wo 843  w3o 1084  wal 1537   = wceq 1539  wcel 2108  wral 3063  Vcvv 3422  wss 3883  wpss 3884  Tr wtr 5187
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-3or 1086  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-nfc 2888  df-ne 2943  df-ral 3068  df-rex 3069  df-rab 3072  df-v 3424  df-sbc 3712  df-dif 3886  df-un 3888  df-in 3890  df-ss 3900  df-pss 3902  df-nul 4254  df-pw 4532  df-sn 4559  df-pr 4561  df-uni 4837  df-iun 4923  df-tr 5188  df-suc 6257
This theorem is referenced by:  dfon2lem6  33670  dfon2  33674
  Copyright terms: Public domain W3C validator