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 32029
Description: Lemma for dfon2 32034. 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 32028 . . 3 ((∀𝑥((𝑥𝐴 ∧ Tr 𝑥) → 𝑥𝐴) ∧ ∀𝑦((𝑦𝐵 ∧ Tr 𝑦) → 𝑦𝐵)) → (𝐴𝐵𝐵𝐴))
4 dfpss2 3843 . . . . . 6 (𝐴𝐵 ↔ (𝐴𝐵 ∧ ¬ 𝐴 = 𝐵))
5 dfpss2 3843 . . . . . . 7 (𝐵𝐴 ↔ (𝐵𝐴 ∧ ¬ 𝐵 = 𝐴))
6 eqcom 2778 . . . . . . . . 9 (𝐵 = 𝐴𝐴 = 𝐵)
76notbii 309 . . . . . . . 8 𝐵 = 𝐴 ↔ ¬ 𝐴 = 𝐵)
87anbi2i 603 . . . . . . 7 ((𝐵𝐴 ∧ ¬ 𝐵 = 𝐴) ↔ (𝐵𝐴 ∧ ¬ 𝐴 = 𝐵))
95, 8bitri 264 . . . . . 6 (𝐵𝐴 ↔ (𝐵𝐴 ∧ ¬ 𝐴 = 𝐵))
104, 9orbi12i 892 . . . . 5 ((𝐴𝐵𝐵𝐴) ↔ ((𝐴𝐵 ∧ ¬ 𝐴 = 𝐵) ∨ (𝐵𝐴 ∧ ¬ 𝐴 = 𝐵)))
11 andir 982 . . . . 5 (((𝐴𝐵𝐵𝐴) ∧ ¬ 𝐴 = 𝐵) ↔ ((𝐴𝐵 ∧ ¬ 𝐴 = 𝐵) ∨ (𝐵𝐴 ∧ ¬ 𝐴 = 𝐵)))
1210, 11bitr4i 267 . . . 4 ((𝐴𝐵𝐵𝐴) ↔ ((𝐴𝐵𝐵𝐴) ∧ ¬ 𝐴 = 𝐵))
13 orcom 851 . . . . 5 ((𝐴𝐵𝐵𝐴) ↔ (𝐵𝐴𝐴𝐵))
14 dfon2lem3 32027 . . . . . . . . 9 (𝐵 ∈ V → (∀𝑦((𝑦𝐵 ∧ Tr 𝑦) → 𝑦𝐵) → (Tr 𝐵 ∧ ∀𝑧𝐵 ¬ 𝑧𝑧)))
152, 14ax-mp 5 . . . . . . . 8 (∀𝑦((𝑦𝐵 ∧ Tr 𝑦) → 𝑦𝐵) → (Tr 𝐵 ∧ ∀𝑧𝐵 ¬ 𝑧𝑧))
1615simpld 478 . . . . . . 7 (∀𝑦((𝑦𝐵 ∧ Tr 𝑦) → 𝑦𝐵) → Tr 𝐵)
17 psseq1 3845 . . . . . . . . . . . 12 (𝑥 = 𝐵 → (𝑥𝐴𝐵𝐴))
18 treq 4893 . . . . . . . . . . . 12 (𝑥 = 𝐵 → (Tr 𝑥 ↔ Tr 𝐵))
1917, 18anbi12d 610 . . . . . . . . . . 11 (𝑥 = 𝐵 → ((𝑥𝐴 ∧ Tr 𝑥) ↔ (𝐵𝐴 ∧ Tr 𝐵)))
20 eleq1 2838 . . . . . . . . . . 11 (𝑥 = 𝐵 → (𝑥𝐴𝐵𝐴))
2119, 20imbi12d 333 . . . . . . . . . 10 (𝑥 = 𝐵 → (((𝑥𝐴 ∧ Tr 𝑥) → 𝑥𝐴) ↔ ((𝐵𝐴 ∧ Tr 𝐵) → 𝐵𝐴)))
222, 21spcv 3451 . . . . . . . . 9 (∀𝑥((𝑥𝐴 ∧ Tr 𝑥) → 𝑥𝐴) → ((𝐵𝐴 ∧ Tr 𝐵) → 𝐵𝐴))
2322expcomd 402 . . . . . . . 8 (∀𝑥((𝑥𝐴 ∧ Tr 𝑥) → 𝑥𝐴) → (Tr 𝐵 → (𝐵𝐴𝐵𝐴)))
2423imp 393 . . . . . . 7 ((∀𝑥((𝑥𝐴 ∧ Tr 𝑥) → 𝑥𝐴) ∧ Tr 𝐵) → (𝐵𝐴𝐵𝐴))
2516, 24sylan2 574 . . . . . 6 ((∀𝑥((𝑥𝐴 ∧ Tr 𝑥) → 𝑥𝐴) ∧ ∀𝑦((𝑦𝐵 ∧ Tr 𝑦) → 𝑦𝐵)) → (𝐵𝐴𝐵𝐴))
26 dfon2lem3 32027 . . . . . . . . 9 (𝐴 ∈ V → (∀𝑥((𝑥𝐴 ∧ Tr 𝑥) → 𝑥𝐴) → (Tr 𝐴 ∧ ∀𝑧𝐴 ¬ 𝑧𝑧)))
271, 26ax-mp 5 . . . . . . . 8 (∀𝑥((𝑥𝐴 ∧ Tr 𝑥) → 𝑥𝐴) → (Tr 𝐴 ∧ ∀𝑧𝐴 ¬ 𝑧𝑧))
2827simpld 478 . . . . . . 7 (∀𝑥((𝑥𝐴 ∧ Tr 𝑥) → 𝑥𝐴) → Tr 𝐴)
29 psseq1 3845 . . . . . . . . . . 11 (𝑦 = 𝐴 → (𝑦𝐵𝐴𝐵))
30 treq 4893 . . . . . . . . . . 11 (𝑦 = 𝐴 → (Tr 𝑦 ↔ Tr 𝐴))
3129, 30anbi12d 610 . . . . . . . . . 10 (𝑦 = 𝐴 → ((𝑦𝐵 ∧ Tr 𝑦) ↔ (𝐴𝐵 ∧ Tr 𝐴)))
32 eleq1 2838 . . . . . . . . . 10 (𝑦 = 𝐴 → (𝑦𝐵𝐴𝐵))
3331, 32imbi12d 333 . . . . . . . . 9 (𝑦 = 𝐴 → (((𝑦𝐵 ∧ Tr 𝑦) → 𝑦𝐵) ↔ ((𝐴𝐵 ∧ Tr 𝐴) → 𝐴𝐵)))
341, 33spcv 3451 . . . . . . . 8 (∀𝑦((𝑦𝐵 ∧ Tr 𝑦) → 𝑦𝐵) → ((𝐴𝐵 ∧ Tr 𝐴) → 𝐴𝐵))
3534expcomd 402 . . . . . . 7 (∀𝑦((𝑦𝐵 ∧ Tr 𝑦) → 𝑦𝐵) → (Tr 𝐴 → (𝐴𝐵𝐴𝐵)))
3628, 35mpan9 492 . . . . . 6 ((∀𝑥((𝑥𝐴 ∧ Tr 𝑥) → 𝑥𝐴) ∧ ∀𝑦((𝑦𝐵 ∧ Tr 𝑦) → 𝑦𝐵)) → (𝐴𝐵𝐴𝐵))
3725, 36orim12d 939 . . . . 5 ((∀𝑥((𝑥𝐴 ∧ Tr 𝑥) → 𝑥𝐴) ∧ ∀𝑦((𝑦𝐵 ∧ Tr 𝑦) → 𝑦𝐵)) → ((𝐵𝐴𝐴𝐵) → (𝐵𝐴𝐴𝐵)))
3813, 37syl5bi 232 . . . 4 ((∀𝑥((𝑥𝐴 ∧ Tr 𝑥) → 𝑥𝐴) ∧ ∀𝑦((𝑦𝐵 ∧ Tr 𝑦) → 𝑦𝐵)) → ((𝐴𝐵𝐵𝐴) → (𝐵𝐴𝐴𝐵)))
3912, 38syl5bir 233 . . 3 ((∀𝑥((𝑥𝐴 ∧ Tr 𝑥) → 𝑥𝐴) ∧ ∀𝑦((𝑦𝐵 ∧ Tr 𝑦) → 𝑦𝐵)) → (((𝐴𝐵𝐵𝐴) ∧ ¬ 𝐴 = 𝐵) → (𝐵𝐴𝐴𝐵)))
403, 39mpand 669 . 2 ((∀𝑥((𝑥𝐴 ∧ Tr 𝑥) → 𝑥𝐴) ∧ ∀𝑦((𝑦𝐵 ∧ Tr 𝑦) → 𝑦𝐵)) → (¬ 𝐴 = 𝐵 → (𝐵𝐴𝐴𝐵)))
41 3orrot 1076 . . 3 ((𝐴𝐵𝐴 = 𝐵𝐵𝐴) ↔ (𝐴 = 𝐵𝐵𝐴𝐴𝐵))
42 3orass 1074 . . . 4 ((𝐴 = 𝐵𝐵𝐴𝐴𝐵) ↔ (𝐴 = 𝐵 ∨ (𝐵𝐴𝐴𝐵)))
43 df-or 829 . . . 4 ((𝐴 = 𝐵 ∨ (𝐵𝐴𝐴𝐵)) ↔ (¬ 𝐴 = 𝐵 → (𝐵𝐴𝐴𝐵)))
4442, 43bitri 264 . . 3 ((𝐴 = 𝐵𝐵𝐴𝐴𝐵) ↔ (¬ 𝐴 = 𝐵 → (𝐵𝐴𝐴𝐵)))
4541, 44bitri 264 . 2 ((𝐴𝐵𝐴 = 𝐵𝐵𝐴) ↔ (¬ 𝐴 = 𝐵 → (𝐵𝐴𝐴𝐵)))
4640, 45sylibr 224 1 ((∀𝑥((𝑥𝐴 ∧ Tr 𝑥) → 𝑥𝐴) ∧ ∀𝑦((𝑦𝐵 ∧ Tr 𝑦) → 𝑦𝐵)) → (𝐴𝐵𝐴 = 𝐵𝐵𝐴))
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wi 4  wa 382  wo 828  w3o 1070  wal 1629   = wceq 1631  wcel 2145  wral 3061  Vcvv 3351  wss 3724  wpss 3725  Tr wtr 4887
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1870  ax-4 1885  ax-5 1991  ax-6 2057  ax-7 2093  ax-8 2147  ax-9 2154  ax-10 2174  ax-11 2190  ax-12 2203  ax-13 2408  ax-ext 2751  ax-sep 4916  ax-nul 4924  ax-pr 5035  ax-un 7097
This theorem depends on definitions:  df-bi 197  df-an 383  df-or 829  df-3or 1072  df-3an 1073  df-tru 1634  df-ex 1853  df-nf 1858  df-sb 2050  df-clab 2758  df-cleq 2764  df-clel 2767  df-nfc 2902  df-ne 2944  df-ral 3066  df-rex 3067  df-v 3353  df-sbc 3589  df-dif 3727  df-un 3729  df-in 3731  df-ss 3738  df-pss 3740  df-nul 4065  df-pw 4300  df-sn 4318  df-pr 4320  df-uni 4576  df-iun 4657  df-tr 4888  df-suc 5873
This theorem is referenced by:  dfon2lem6  32030  dfon2  32034
  Copyright terms: Public domain W3C validator