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

Theorem dfon2lem4 33334
Description: Lemma for dfon2 33340. If two sets satisfy the new definition, then one is a subset of the other. (Contributed by Scott Fenton, 25-Feb-2011.)
Hypotheses
Ref Expression
dfon2lem4.1 𝐴 ∈ V
dfon2lem4.2 𝐵 ∈ V
Assertion
Ref Expression
dfon2lem4 ((∀𝑥((𝑥𝐴 ∧ Tr 𝑥) → 𝑥𝐴) ∧ ∀𝑦((𝑦𝐵 ∧ Tr 𝑦) → 𝑦𝐵)) → (𝐴𝐵𝐵𝐴))
Distinct variable groups:   𝑥,𝐴,𝑦   𝑥,𝐵,𝑦

Proof of Theorem dfon2lem4
Dummy variable 𝑧 is distinct from all other variables.
StepHypRef Expression
1 inss1 4119 . . . . . . . . 9 (𝐴𝐵) ⊆ 𝐴
21sseli 3873 . . . . . . . 8 ((𝐴𝐵) ∈ (𝐴𝐵) → (𝐴𝐵) ∈ 𝐴)
3 dfon2lem4.1 . . . . . . . . . . . 12 𝐴 ∈ V
4 dfon2lem3 33333 . . . . . . . . . . . 12 (𝐴 ∈ V → (∀𝑥((𝑥𝐴 ∧ Tr 𝑥) → 𝑥𝐴) → (Tr 𝐴 ∧ ∀𝑧𝐴 ¬ 𝑧𝑧)))
53, 4ax-mp 5 . . . . . . . . . . 11 (∀𝑥((𝑥𝐴 ∧ Tr 𝑥) → 𝑥𝐴) → (Tr 𝐴 ∧ ∀𝑧𝐴 ¬ 𝑧𝑧))
65simprd 499 . . . . . . . . . 10 (∀𝑥((𝑥𝐴 ∧ Tr 𝑥) → 𝑥𝐴) → ∀𝑧𝐴 ¬ 𝑧𝑧)
7 eleq1 2820 . . . . . . . . . . . . 13 (𝑧 = (𝐴𝐵) → (𝑧𝑧 ↔ (𝐴𝐵) ∈ 𝑧))
8 eleq2 2821 . . . . . . . . . . . . 13 (𝑧 = (𝐴𝐵) → ((𝐴𝐵) ∈ 𝑧 ↔ (𝐴𝐵) ∈ (𝐴𝐵)))
97, 8bitrd 282 . . . . . . . . . . . 12 (𝑧 = (𝐴𝐵) → (𝑧𝑧 ↔ (𝐴𝐵) ∈ (𝐴𝐵)))
109notbid 321 . . . . . . . . . . 11 (𝑧 = (𝐴𝐵) → (¬ 𝑧𝑧 ↔ ¬ (𝐴𝐵) ∈ (𝐴𝐵)))
1110rspccv 3523 . . . . . . . . . 10 (∀𝑧𝐴 ¬ 𝑧𝑧 → ((𝐴𝐵) ∈ 𝐴 → ¬ (𝐴𝐵) ∈ (𝐴𝐵)))
126, 11syl 17 . . . . . . . . 9 (∀𝑥((𝑥𝐴 ∧ Tr 𝑥) → 𝑥𝐴) → ((𝐴𝐵) ∈ 𝐴 → ¬ (𝐴𝐵) ∈ (𝐴𝐵)))
1312adantr 484 . . . . . . . 8 ((∀𝑥((𝑥𝐴 ∧ Tr 𝑥) → 𝑥𝐴) ∧ ∀𝑦((𝑦𝐵 ∧ Tr 𝑦) → 𝑦𝐵)) → ((𝐴𝐵) ∈ 𝐴 → ¬ (𝐴𝐵) ∈ (𝐴𝐵)))
142, 13syl5 34 . . . . . . 7 ((∀𝑥((𝑥𝐴 ∧ Tr 𝑥) → 𝑥𝐴) ∧ ∀𝑦((𝑦𝐵 ∧ Tr 𝑦) → 𝑦𝐵)) → ((𝐴𝐵) ∈ (𝐴𝐵) → ¬ (𝐴𝐵) ∈ (𝐴𝐵)))
1514pm2.01d 193 . . . . . 6 ((∀𝑥((𝑥𝐴 ∧ Tr 𝑥) → 𝑥𝐴) ∧ ∀𝑦((𝑦𝐵 ∧ Tr 𝑦) → 𝑦𝐵)) → ¬ (𝐴𝐵) ∈ (𝐴𝐵))
16 elin 3859 . . . . . 6 ((𝐴𝐵) ∈ (𝐴𝐵) ↔ ((𝐴𝐵) ∈ 𝐴 ∧ (𝐴𝐵) ∈ 𝐵))
1715, 16sylnib 331 . . . . 5 ((∀𝑥((𝑥𝐴 ∧ Tr 𝑥) → 𝑥𝐴) ∧ ∀𝑦((𝑦𝐵 ∧ Tr 𝑦) → 𝑦𝐵)) → ¬ ((𝐴𝐵) ∈ 𝐴 ∧ (𝐴𝐵) ∈ 𝐵))
185simpld 498 . . . . . . . 8 (∀𝑥((𝑥𝐴 ∧ Tr 𝑥) → 𝑥𝐴) → Tr 𝐴)
19 dfon2lem4.2 . . . . . . . . . 10 𝐵 ∈ V
20 dfon2lem3 33333 . . . . . . . . . 10 (𝐵 ∈ V → (∀𝑦((𝑦𝐵 ∧ Tr 𝑦) → 𝑦𝐵) → (Tr 𝐵 ∧ ∀𝑧𝐵 ¬ 𝑧𝑧)))
2119, 20ax-mp 5 . . . . . . . . 9 (∀𝑦((𝑦𝐵 ∧ Tr 𝑦) → 𝑦𝐵) → (Tr 𝐵 ∧ ∀𝑧𝐵 ¬ 𝑧𝑧))
2221simpld 498 . . . . . . . 8 (∀𝑦((𝑦𝐵 ∧ Tr 𝑦) → 𝑦𝐵) → Tr 𝐵)
23 trin 5146 . . . . . . . 8 ((Tr 𝐴 ∧ Tr 𝐵) → Tr (𝐴𝐵))
2418, 22, 23syl2an 599 . . . . . . 7 ((∀𝑥((𝑥𝐴 ∧ Tr 𝑥) → 𝑥𝐴) ∧ ∀𝑦((𝑦𝐵 ∧ Tr 𝑦) → 𝑦𝐵)) → Tr (𝐴𝐵))
253inex1 5185 . . . . . . . . 9 (𝐴𝐵) ∈ V
26 psseq1 3978 . . . . . . . . . . 11 (𝑥 = (𝐴𝐵) → (𝑥𝐴 ↔ (𝐴𝐵) ⊊ 𝐴))
27 treq 5142 . . . . . . . . . . 11 (𝑥 = (𝐴𝐵) → (Tr 𝑥 ↔ Tr (𝐴𝐵)))
2826, 27anbi12d 634 . . . . . . . . . 10 (𝑥 = (𝐴𝐵) → ((𝑥𝐴 ∧ Tr 𝑥) ↔ ((𝐴𝐵) ⊊ 𝐴 ∧ Tr (𝐴𝐵))))
29 eleq1 2820 . . . . . . . . . 10 (𝑥 = (𝐴𝐵) → (𝑥𝐴 ↔ (𝐴𝐵) ∈ 𝐴))
3028, 29imbi12d 348 . . . . . . . . 9 (𝑥 = (𝐴𝐵) → (((𝑥𝐴 ∧ Tr 𝑥) → 𝑥𝐴) ↔ (((𝐴𝐵) ⊊ 𝐴 ∧ Tr (𝐴𝐵)) → (𝐴𝐵) ∈ 𝐴)))
3125, 30spcv 3509 . . . . . . . 8 (∀𝑥((𝑥𝐴 ∧ Tr 𝑥) → 𝑥𝐴) → (((𝐴𝐵) ⊊ 𝐴 ∧ Tr (𝐴𝐵)) → (𝐴𝐵) ∈ 𝐴))
3231adantr 484 . . . . . . 7 ((∀𝑥((𝑥𝐴 ∧ Tr 𝑥) → 𝑥𝐴) ∧ ∀𝑦((𝑦𝐵 ∧ Tr 𝑦) → 𝑦𝐵)) → (((𝐴𝐵) ⊊ 𝐴 ∧ Tr (𝐴𝐵)) → (𝐴𝐵) ∈ 𝐴))
3324, 32mpan2d 694 . . . . . 6 ((∀𝑥((𝑥𝐴 ∧ Tr 𝑥) → 𝑥𝐴) ∧ ∀𝑦((𝑦𝐵 ∧ Tr 𝑦) → 𝑦𝐵)) → ((𝐴𝐵) ⊊ 𝐴 → (𝐴𝐵) ∈ 𝐴))
34 psseq1 3978 . . . . . . . . . . 11 (𝑦 = (𝐴𝐵) → (𝑦𝐵 ↔ (𝐴𝐵) ⊊ 𝐵))
35 treq 5142 . . . . . . . . . . 11 (𝑦 = (𝐴𝐵) → (Tr 𝑦 ↔ Tr (𝐴𝐵)))
3634, 35anbi12d 634 . . . . . . . . . 10 (𝑦 = (𝐴𝐵) → ((𝑦𝐵 ∧ Tr 𝑦) ↔ ((𝐴𝐵) ⊊ 𝐵 ∧ Tr (𝐴𝐵))))
37 eleq1 2820 . . . . . . . . . 10 (𝑦 = (𝐴𝐵) → (𝑦𝐵 ↔ (𝐴𝐵) ∈ 𝐵))
3836, 37imbi12d 348 . . . . . . . . 9 (𝑦 = (𝐴𝐵) → (((𝑦𝐵 ∧ Tr 𝑦) → 𝑦𝐵) ↔ (((𝐴𝐵) ⊊ 𝐵 ∧ Tr (𝐴𝐵)) → (𝐴𝐵) ∈ 𝐵)))
3925, 38spcv 3509 . . . . . . . 8 (∀𝑦((𝑦𝐵 ∧ Tr 𝑦) → 𝑦𝐵) → (((𝐴𝐵) ⊊ 𝐵 ∧ Tr (𝐴𝐵)) → (𝐴𝐵) ∈ 𝐵))
4039adantl 485 . . . . . . 7 ((∀𝑥((𝑥𝐴 ∧ Tr 𝑥) → 𝑥𝐴) ∧ ∀𝑦((𝑦𝐵 ∧ Tr 𝑦) → 𝑦𝐵)) → (((𝐴𝐵) ⊊ 𝐵 ∧ Tr (𝐴𝐵)) → (𝐴𝐵) ∈ 𝐵))
4124, 40mpan2d 694 . . . . . 6 ((∀𝑥((𝑥𝐴 ∧ Tr 𝑥) → 𝑥𝐴) ∧ ∀𝑦((𝑦𝐵 ∧ Tr 𝑦) → 𝑦𝐵)) → ((𝐴𝐵) ⊊ 𝐵 → (𝐴𝐵) ∈ 𝐵))
4233, 41anim12d 612 . . . . 5 ((∀𝑥((𝑥𝐴 ∧ Tr 𝑥) → 𝑥𝐴) ∧ ∀𝑦((𝑦𝐵 ∧ Tr 𝑦) → 𝑦𝐵)) → (((𝐴𝐵) ⊊ 𝐴 ∧ (𝐴𝐵) ⊊ 𝐵) → ((𝐴𝐵) ∈ 𝐴 ∧ (𝐴𝐵) ∈ 𝐵)))
4317, 42mtod 201 . . . 4 ((∀𝑥((𝑥𝐴 ∧ Tr 𝑥) → 𝑥𝐴) ∧ ∀𝑦((𝑦𝐵 ∧ Tr 𝑦) → 𝑦𝐵)) → ¬ ((𝐴𝐵) ⊊ 𝐴 ∧ (𝐴𝐵) ⊊ 𝐵))
44 ianor 981 . . . 4 (¬ ((𝐴𝐵) ⊊ 𝐴 ∧ (𝐴𝐵) ⊊ 𝐵) ↔ (¬ (𝐴𝐵) ⊊ 𝐴 ∨ ¬ (𝐴𝐵) ⊊ 𝐵))
4543, 44sylib 221 . . 3 ((∀𝑥((𝑥𝐴 ∧ Tr 𝑥) → 𝑥𝐴) ∧ ∀𝑦((𝑦𝐵 ∧ Tr 𝑦) → 𝑦𝐵)) → (¬ (𝐴𝐵) ⊊ 𝐴 ∨ ¬ (𝐴𝐵) ⊊ 𝐵))
46 sspss 3990 . . . . 5 ((𝐴𝐵) ⊆ 𝐴 ↔ ((𝐴𝐵) ⊊ 𝐴 ∨ (𝐴𝐵) = 𝐴))
471, 46mpbi 233 . . . 4 ((𝐴𝐵) ⊊ 𝐴 ∨ (𝐴𝐵) = 𝐴)
48 inss2 4120 . . . . 5 (𝐴𝐵) ⊆ 𝐵
49 sspss 3990 . . . . 5 ((𝐴𝐵) ⊆ 𝐵 ↔ ((𝐴𝐵) ⊊ 𝐵 ∨ (𝐴𝐵) = 𝐵))
5048, 49mpbi 233 . . . 4 ((𝐴𝐵) ⊊ 𝐵 ∨ (𝐴𝐵) = 𝐵)
51 orel1 888 . . . . . 6 (¬ (𝐴𝐵) ⊊ 𝐴 → (((𝐴𝐵) ⊊ 𝐴 ∨ (𝐴𝐵) = 𝐴) → (𝐴𝐵) = 𝐴))
52 orc 866 . . . . . 6 ((𝐴𝐵) = 𝐴 → ((𝐴𝐵) = 𝐴 ∨ (𝐴𝐵) = 𝐵))
5351, 52syl6 35 . . . . 5 (¬ (𝐴𝐵) ⊊ 𝐴 → (((𝐴𝐵) ⊊ 𝐴 ∨ (𝐴𝐵) = 𝐴) → ((𝐴𝐵) = 𝐴 ∨ (𝐴𝐵) = 𝐵)))
54 orel1 888 . . . . . 6 (¬ (𝐴𝐵) ⊊ 𝐵 → (((𝐴𝐵) ⊊ 𝐵 ∨ (𝐴𝐵) = 𝐵) → (𝐴𝐵) = 𝐵))
55 olc 867 . . . . . 6 ((𝐴𝐵) = 𝐵 → ((𝐴𝐵) = 𝐴 ∨ (𝐴𝐵) = 𝐵))
5654, 55syl6 35 . . . . 5 (¬ (𝐴𝐵) ⊊ 𝐵 → (((𝐴𝐵) ⊊ 𝐵 ∨ (𝐴𝐵) = 𝐵) → ((𝐴𝐵) = 𝐴 ∨ (𝐴𝐵) = 𝐵)))
5753, 56jaoa 955 . . . 4 ((¬ (𝐴𝐵) ⊊ 𝐴 ∨ ¬ (𝐴𝐵) ⊊ 𝐵) → ((((𝐴𝐵) ⊊ 𝐴 ∨ (𝐴𝐵) = 𝐴) ∧ ((𝐴𝐵) ⊊ 𝐵 ∨ (𝐴𝐵) = 𝐵)) → ((𝐴𝐵) = 𝐴 ∨ (𝐴𝐵) = 𝐵)))
5847, 50, 57mp2ani 698 . . 3 ((¬ (𝐴𝐵) ⊊ 𝐴 ∨ ¬ (𝐴𝐵) ⊊ 𝐵) → ((𝐴𝐵) = 𝐴 ∨ (𝐴𝐵) = 𝐵))
5945, 58syl 17 . 2 ((∀𝑥((𝑥𝐴 ∧ Tr 𝑥) → 𝑥𝐴) ∧ ∀𝑦((𝑦𝐵 ∧ Tr 𝑦) → 𝑦𝐵)) → ((𝐴𝐵) = 𝐴 ∨ (𝐴𝐵) = 𝐵))
60 df-ss 3860 . . 3 (𝐴𝐵 ↔ (𝐴𝐵) = 𝐴)
61 sseqin2 4106 . . 3 (𝐵𝐴 ↔ (𝐴𝐵) = 𝐵)
6260, 61orbi12i 914 . 2 ((𝐴𝐵𝐵𝐴) ↔ ((𝐴𝐵) = 𝐴 ∨ (𝐴𝐵) = 𝐵))
6359, 62sylibr 237 1 ((∀𝑥((𝑥𝐴 ∧ Tr 𝑥) → 𝑥𝐴) ∧ ∀𝑦((𝑦𝐵 ∧ Tr 𝑦) → 𝑦𝐵)) → (𝐴𝐵𝐵𝐴))
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wi 4  wa 399  wo 846  wal 1540   = wceq 1542  wcel 2114  wral 3053  Vcvv 3398  cin 3842  wss 3843  wpss 3844  Tr wtr 5136
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1802  ax-4 1816  ax-5 1917  ax-6 1975  ax-7 2020  ax-8 2116  ax-9 2124  ax-10 2145  ax-11 2162  ax-12 2179  ax-ext 2710  ax-sep 5167  ax-nul 5174  ax-pr 5296  ax-un 7479
This theorem depends on definitions:  df-bi 210  df-an 400  df-or 847  df-3an 1090  df-tru 1545  df-fal 1555  df-ex 1787  df-nf 1791  df-sb 2075  df-clab 2717  df-cleq 2730  df-clel 2811  df-nfc 2881  df-ne 2935  df-ral 3058  df-rex 3059  df-rab 3062  df-v 3400  df-sbc 3681  df-dif 3846  df-un 3848  df-in 3850  df-ss 3860  df-pss 3862  df-nul 4212  df-pw 4490  df-sn 4517  df-pr 4519  df-uni 4797  df-iun 4883  df-tr 5137  df-suc 6178
This theorem is referenced by:  dfon2lem5  33335
  Copyright terms: Public domain W3C validator