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

Theorem llyidm 22547
Description: Idempotence of the "locally" predicate, i.e. being "locally 𝐴 " is a local property. (Contributed by Mario Carneiro, 2-Mar-2015.)
Assertion
Ref Expression
llyidm Locally Locally 𝐴 = Locally 𝐴

Proof of Theorem llyidm
Dummy variables 𝑗 𝑢 𝑣 𝑥 𝑦 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 llytop 22531 . . . 4 (𝑗 ∈ Locally Locally 𝐴𝑗 ∈ Top)
2 llyi 22533 . . . . . . 7 ((𝑗 ∈ Locally Locally 𝐴𝑥𝑗𝑦𝑥) → ∃𝑢𝑗 (𝑢𝑥𝑦𝑢 ∧ (𝑗t 𝑢) ∈ Locally 𝐴))
3 simprr3 1221 . . . . . . . . 9 (((𝑗 ∈ Locally Locally 𝐴𝑥𝑗𝑦𝑥) ∧ (𝑢𝑗 ∧ (𝑢𝑥𝑦𝑢 ∧ (𝑗t 𝑢) ∈ Locally 𝐴))) → (𝑗t 𝑢) ∈ Locally 𝐴)
4 simprl 767 . . . . . . . . . 10 (((𝑗 ∈ Locally Locally 𝐴𝑥𝑗𝑦𝑥) ∧ (𝑢𝑗 ∧ (𝑢𝑥𝑦𝑢 ∧ (𝑗t 𝑢) ∈ Locally 𝐴))) → 𝑢𝑗)
5 ssidd 3940 . . . . . . . . . 10 (((𝑗 ∈ Locally Locally 𝐴𝑥𝑗𝑦𝑥) ∧ (𝑢𝑗 ∧ (𝑢𝑥𝑦𝑢 ∧ (𝑗t 𝑢) ∈ Locally 𝐴))) → 𝑢𝑢)
613ad2ant1 1131 . . . . . . . . . . . 12 ((𝑗 ∈ Locally Locally 𝐴𝑥𝑗𝑦𝑥) → 𝑗 ∈ Top)
76adantr 480 . . . . . . . . . . 11 (((𝑗 ∈ Locally Locally 𝐴𝑥𝑗𝑦𝑥) ∧ (𝑢𝑗 ∧ (𝑢𝑥𝑦𝑢 ∧ (𝑗t 𝑢) ∈ Locally 𝐴))) → 𝑗 ∈ Top)
8 restopn2 22236 . . . . . . . . . . 11 ((𝑗 ∈ Top ∧ 𝑢𝑗) → (𝑢 ∈ (𝑗t 𝑢) ↔ (𝑢𝑗𝑢𝑢)))
97, 4, 8syl2anc 583 . . . . . . . . . 10 (((𝑗 ∈ Locally Locally 𝐴𝑥𝑗𝑦𝑥) ∧ (𝑢𝑗 ∧ (𝑢𝑥𝑦𝑢 ∧ (𝑗t 𝑢) ∈ Locally 𝐴))) → (𝑢 ∈ (𝑗t 𝑢) ↔ (𝑢𝑗𝑢𝑢)))
104, 5, 9mpbir2and 709 . . . . . . . . 9 (((𝑗 ∈ Locally Locally 𝐴𝑥𝑗𝑦𝑥) ∧ (𝑢𝑗 ∧ (𝑢𝑥𝑦𝑢 ∧ (𝑗t 𝑢) ∈ Locally 𝐴))) → 𝑢 ∈ (𝑗t 𝑢))
11 simprr2 1220 . . . . . . . . 9 (((𝑗 ∈ Locally Locally 𝐴𝑥𝑗𝑦𝑥) ∧ (𝑢𝑗 ∧ (𝑢𝑥𝑦𝑢 ∧ (𝑗t 𝑢) ∈ Locally 𝐴))) → 𝑦𝑢)
12 llyi 22533 . . . . . . . . 9 (((𝑗t 𝑢) ∈ Locally 𝐴𝑢 ∈ (𝑗t 𝑢) ∧ 𝑦𝑢) → ∃𝑣 ∈ (𝑗t 𝑢)(𝑣𝑢𝑦𝑣 ∧ ((𝑗t 𝑢) ↾t 𝑣) ∈ 𝐴))
133, 10, 11, 12syl3anc 1369 . . . . . . . 8 (((𝑗 ∈ Locally Locally 𝐴𝑥𝑗𝑦𝑥) ∧ (𝑢𝑗 ∧ (𝑢𝑥𝑦𝑢 ∧ (𝑗t 𝑢) ∈ Locally 𝐴))) → ∃𝑣 ∈ (𝑗t 𝑢)(𝑣𝑢𝑦𝑣 ∧ ((𝑗t 𝑢) ↾t 𝑣) ∈ 𝐴))
14 restopn2 22236 . . . . . . . . . . . 12 ((𝑗 ∈ Top ∧ 𝑢𝑗) → (𝑣 ∈ (𝑗t 𝑢) ↔ (𝑣𝑗𝑣𝑢)))
157, 4, 14syl2anc 583 . . . . . . . . . . 11 (((𝑗 ∈ Locally Locally 𝐴𝑥𝑗𝑦𝑥) ∧ (𝑢𝑗 ∧ (𝑢𝑥𝑦𝑢 ∧ (𝑗t 𝑢) ∈ Locally 𝐴))) → (𝑣 ∈ (𝑗t 𝑢) ↔ (𝑣𝑗𝑣𝑢)))
16 simpl 482 . . . . . . . . . . 11 ((𝑣𝑗𝑣𝑢) → 𝑣𝑗)
1715, 16syl6bi 252 . . . . . . . . . 10 (((𝑗 ∈ Locally Locally 𝐴𝑥𝑗𝑦𝑥) ∧ (𝑢𝑗 ∧ (𝑢𝑥𝑦𝑢 ∧ (𝑗t 𝑢) ∈ Locally 𝐴))) → (𝑣 ∈ (𝑗t 𝑢) → 𝑣𝑗))
18 simprl 767 . . . . . . . . . . . . 13 ((((𝑗 ∈ Locally Locally 𝐴𝑥𝑗𝑦𝑥) ∧ (𝑢𝑗 ∧ (𝑢𝑥𝑦𝑢 ∧ (𝑗t 𝑢) ∈ Locally 𝐴))) ∧ (𝑣𝑗 ∧ (𝑣𝑢𝑦𝑣 ∧ ((𝑗t 𝑢) ↾t 𝑣) ∈ 𝐴))) → 𝑣𝑗)
19 simprr1 1219 . . . . . . . . . . . . . . 15 ((((𝑗 ∈ Locally Locally 𝐴𝑥𝑗𝑦𝑥) ∧ (𝑢𝑗 ∧ (𝑢𝑥𝑦𝑢 ∧ (𝑗t 𝑢) ∈ Locally 𝐴))) ∧ (𝑣𝑗 ∧ (𝑣𝑢𝑦𝑣 ∧ ((𝑗t 𝑢) ↾t 𝑣) ∈ 𝐴))) → 𝑣𝑢)
20 simprr1 1219 . . . . . . . . . . . . . . . 16 (((𝑗 ∈ Locally Locally 𝐴𝑥𝑗𝑦𝑥) ∧ (𝑢𝑗 ∧ (𝑢𝑥𝑦𝑢 ∧ (𝑗t 𝑢) ∈ Locally 𝐴))) → 𝑢𝑥)
2120adantr 480 . . . . . . . . . . . . . . 15 ((((𝑗 ∈ Locally Locally 𝐴𝑥𝑗𝑦𝑥) ∧ (𝑢𝑗 ∧ (𝑢𝑥𝑦𝑢 ∧ (𝑗t 𝑢) ∈ Locally 𝐴))) ∧ (𝑣𝑗 ∧ (𝑣𝑢𝑦𝑣 ∧ ((𝑗t 𝑢) ↾t 𝑣) ∈ 𝐴))) → 𝑢𝑥)
2219, 21sstrd 3927 . . . . . . . . . . . . . 14 ((((𝑗 ∈ Locally Locally 𝐴𝑥𝑗𝑦𝑥) ∧ (𝑢𝑗 ∧ (𝑢𝑥𝑦𝑢 ∧ (𝑗t 𝑢) ∈ Locally 𝐴))) ∧ (𝑣𝑗 ∧ (𝑣𝑢𝑦𝑣 ∧ ((𝑗t 𝑢) ↾t 𝑣) ∈ 𝐴))) → 𝑣𝑥)
23 velpw 4535 . . . . . . . . . . . . . 14 (𝑣 ∈ 𝒫 𝑥𝑣𝑥)
2422, 23sylibr 233 . . . . . . . . . . . . 13 ((((𝑗 ∈ Locally Locally 𝐴𝑥𝑗𝑦𝑥) ∧ (𝑢𝑗 ∧ (𝑢𝑥𝑦𝑢 ∧ (𝑗t 𝑢) ∈ Locally 𝐴))) ∧ (𝑣𝑗 ∧ (𝑣𝑢𝑦𝑣 ∧ ((𝑗t 𝑢) ↾t 𝑣) ∈ 𝐴))) → 𝑣 ∈ 𝒫 𝑥)
2518, 24elind 4124 . . . . . . . . . . . 12 ((((𝑗 ∈ Locally Locally 𝐴𝑥𝑗𝑦𝑥) ∧ (𝑢𝑗 ∧ (𝑢𝑥𝑦𝑢 ∧ (𝑗t 𝑢) ∈ Locally 𝐴))) ∧ (𝑣𝑗 ∧ (𝑣𝑢𝑦𝑣 ∧ ((𝑗t 𝑢) ↾t 𝑣) ∈ 𝐴))) → 𝑣 ∈ (𝑗 ∩ 𝒫 𝑥))
26 simprr2 1220 . . . . . . . . . . . 12 ((((𝑗 ∈ Locally Locally 𝐴𝑥𝑗𝑦𝑥) ∧ (𝑢𝑗 ∧ (𝑢𝑥𝑦𝑢 ∧ (𝑗t 𝑢) ∈ Locally 𝐴))) ∧ (𝑣𝑗 ∧ (𝑣𝑢𝑦𝑣 ∧ ((𝑗t 𝑢) ↾t 𝑣) ∈ 𝐴))) → 𝑦𝑣)
277adantr 480 . . . . . . . . . . . . . 14 ((((𝑗 ∈ Locally Locally 𝐴𝑥𝑗𝑦𝑥) ∧ (𝑢𝑗 ∧ (𝑢𝑥𝑦𝑢 ∧ (𝑗t 𝑢) ∈ Locally 𝐴))) ∧ (𝑣𝑗 ∧ (𝑣𝑢𝑦𝑣 ∧ ((𝑗t 𝑢) ↾t 𝑣) ∈ 𝐴))) → 𝑗 ∈ Top)
28 simplrl 773 . . . . . . . . . . . . . 14 ((((𝑗 ∈ Locally Locally 𝐴𝑥𝑗𝑦𝑥) ∧ (𝑢𝑗 ∧ (𝑢𝑥𝑦𝑢 ∧ (𝑗t 𝑢) ∈ Locally 𝐴))) ∧ (𝑣𝑗 ∧ (𝑣𝑢𝑦𝑣 ∧ ((𝑗t 𝑢) ↾t 𝑣) ∈ 𝐴))) → 𝑢𝑗)
29 restabs 22224 . . . . . . . . . . . . . 14 ((𝑗 ∈ Top ∧ 𝑣𝑢𝑢𝑗) → ((𝑗t 𝑢) ↾t 𝑣) = (𝑗t 𝑣))
3027, 19, 28, 29syl3anc 1369 . . . . . . . . . . . . 13 ((((𝑗 ∈ Locally Locally 𝐴𝑥𝑗𝑦𝑥) ∧ (𝑢𝑗 ∧ (𝑢𝑥𝑦𝑢 ∧ (𝑗t 𝑢) ∈ Locally 𝐴))) ∧ (𝑣𝑗 ∧ (𝑣𝑢𝑦𝑣 ∧ ((𝑗t 𝑢) ↾t 𝑣) ∈ 𝐴))) → ((𝑗t 𝑢) ↾t 𝑣) = (𝑗t 𝑣))
31 simprr3 1221 . . . . . . . . . . . . 13 ((((𝑗 ∈ Locally Locally 𝐴𝑥𝑗𝑦𝑥) ∧ (𝑢𝑗 ∧ (𝑢𝑥𝑦𝑢 ∧ (𝑗t 𝑢) ∈ Locally 𝐴))) ∧ (𝑣𝑗 ∧ (𝑣𝑢𝑦𝑣 ∧ ((𝑗t 𝑢) ↾t 𝑣) ∈ 𝐴))) → ((𝑗t 𝑢) ↾t 𝑣) ∈ 𝐴)
3230, 31eqeltrrd 2840 . . . . . . . . . . . 12 ((((𝑗 ∈ Locally Locally 𝐴𝑥𝑗𝑦𝑥) ∧ (𝑢𝑗 ∧ (𝑢𝑥𝑦𝑢 ∧ (𝑗t 𝑢) ∈ Locally 𝐴))) ∧ (𝑣𝑗 ∧ (𝑣𝑢𝑦𝑣 ∧ ((𝑗t 𝑢) ↾t 𝑣) ∈ 𝐴))) → (𝑗t 𝑣) ∈ 𝐴)
3325, 26, 32jca32 515 . . . . . . . . . . 11 ((((𝑗 ∈ Locally Locally 𝐴𝑥𝑗𝑦𝑥) ∧ (𝑢𝑗 ∧ (𝑢𝑥𝑦𝑢 ∧ (𝑗t 𝑢) ∈ Locally 𝐴))) ∧ (𝑣𝑗 ∧ (𝑣𝑢𝑦𝑣 ∧ ((𝑗t 𝑢) ↾t 𝑣) ∈ 𝐴))) → (𝑣 ∈ (𝑗 ∩ 𝒫 𝑥) ∧ (𝑦𝑣 ∧ (𝑗t 𝑣) ∈ 𝐴)))
3433ex 412 . . . . . . . . . 10 (((𝑗 ∈ Locally Locally 𝐴𝑥𝑗𝑦𝑥) ∧ (𝑢𝑗 ∧ (𝑢𝑥𝑦𝑢 ∧ (𝑗t 𝑢) ∈ Locally 𝐴))) → ((𝑣𝑗 ∧ (𝑣𝑢𝑦𝑣 ∧ ((𝑗t 𝑢) ↾t 𝑣) ∈ 𝐴)) → (𝑣 ∈ (𝑗 ∩ 𝒫 𝑥) ∧ (𝑦𝑣 ∧ (𝑗t 𝑣) ∈ 𝐴))))
3517, 34syland 602 . . . . . . . . 9 (((𝑗 ∈ Locally Locally 𝐴𝑥𝑗𝑦𝑥) ∧ (𝑢𝑗 ∧ (𝑢𝑥𝑦𝑢 ∧ (𝑗t 𝑢) ∈ Locally 𝐴))) → ((𝑣 ∈ (𝑗t 𝑢) ∧ (𝑣𝑢𝑦𝑣 ∧ ((𝑗t 𝑢) ↾t 𝑣) ∈ 𝐴)) → (𝑣 ∈ (𝑗 ∩ 𝒫 𝑥) ∧ (𝑦𝑣 ∧ (𝑗t 𝑣) ∈ 𝐴))))
3635reximdv2 3198 . . . . . . . 8 (((𝑗 ∈ Locally Locally 𝐴𝑥𝑗𝑦𝑥) ∧ (𝑢𝑗 ∧ (𝑢𝑥𝑦𝑢 ∧ (𝑗t 𝑢) ∈ Locally 𝐴))) → (∃𝑣 ∈ (𝑗t 𝑢)(𝑣𝑢𝑦𝑣 ∧ ((𝑗t 𝑢) ↾t 𝑣) ∈ 𝐴) → ∃𝑣 ∈ (𝑗 ∩ 𝒫 𝑥)(𝑦𝑣 ∧ (𝑗t 𝑣) ∈ 𝐴)))
3713, 36mpd 15 . . . . . . 7 (((𝑗 ∈ Locally Locally 𝐴𝑥𝑗𝑦𝑥) ∧ (𝑢𝑗 ∧ (𝑢𝑥𝑦𝑢 ∧ (𝑗t 𝑢) ∈ Locally 𝐴))) → ∃𝑣 ∈ (𝑗 ∩ 𝒫 𝑥)(𝑦𝑣 ∧ (𝑗t 𝑣) ∈ 𝐴))
382, 37rexlimddv 3219 . . . . . 6 ((𝑗 ∈ Locally Locally 𝐴𝑥𝑗𝑦𝑥) → ∃𝑣 ∈ (𝑗 ∩ 𝒫 𝑥)(𝑦𝑣 ∧ (𝑗t 𝑣) ∈ 𝐴))
39383expb 1118 . . . . 5 ((𝑗 ∈ Locally Locally 𝐴 ∧ (𝑥𝑗𝑦𝑥)) → ∃𝑣 ∈ (𝑗 ∩ 𝒫 𝑥)(𝑦𝑣 ∧ (𝑗t 𝑣) ∈ 𝐴))
4039ralrimivva 3114 . . . 4 (𝑗 ∈ Locally Locally 𝐴 → ∀𝑥𝑗𝑦𝑥𝑣 ∈ (𝑗 ∩ 𝒫 𝑥)(𝑦𝑣 ∧ (𝑗t 𝑣) ∈ 𝐴))
41 islly 22527 . . . 4 (𝑗 ∈ Locally 𝐴 ↔ (𝑗 ∈ Top ∧ ∀𝑥𝑗𝑦𝑥𝑣 ∈ (𝑗 ∩ 𝒫 𝑥)(𝑦𝑣 ∧ (𝑗t 𝑣) ∈ 𝐴)))
421, 40, 41sylanbrc 582 . . 3 (𝑗 ∈ Locally Locally 𝐴𝑗 ∈ Locally 𝐴)
4342ssriv 3921 . 2 Locally Locally 𝐴 ⊆ Locally 𝐴
44 llyrest 22544 . . . . 5 ((𝑗 ∈ Locally 𝐴𝑥𝑗) → (𝑗t 𝑥) ∈ Locally 𝐴)
4544adantl 481 . . . 4 ((⊤ ∧ (𝑗 ∈ Locally 𝐴𝑥𝑗)) → (𝑗t 𝑥) ∈ Locally 𝐴)
46 llytop 22531 . . . . . 6 (𝑗 ∈ Locally 𝐴𝑗 ∈ Top)
4746ssriv 3921 . . . . 5 Locally 𝐴 ⊆ Top
4847a1i 11 . . . 4 (⊤ → Locally 𝐴 ⊆ Top)
4945, 48restlly 22542 . . 3 (⊤ → Locally 𝐴 ⊆ Locally Locally 𝐴)
5049mptru 1546 . 2 Locally 𝐴 ⊆ Locally Locally 𝐴
5143, 50eqssi 3933 1 Locally Locally 𝐴 = Locally 𝐴
Colors of variables: wff setvar class
Syntax hints:  wb 205  wa 395  w3a 1085   = wceq 1539  wtru 1540  wcel 2108  wral 3063  wrex 3064  cin 3882  wss 3883  𝒫 cpw 4530  (class class class)co 7255  t crest 17048  Topctop 21950  Locally clly 22523
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-rep 5205  ax-sep 5218  ax-nul 5225  ax-pow 5283  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-mo 2540  df-eu 2569  df-clab 2716  df-cleq 2730  df-clel 2817  df-nfc 2888  df-ne 2943  df-ral 3068  df-rex 3069  df-reu 3070  df-rab 3072  df-v 3424  df-sbc 3712  df-csb 3829  df-dif 3886  df-un 3888  df-in 3890  df-ss 3900  df-pss 3902  df-nul 4254  df-if 4457  df-pw 4532  df-sn 4559  df-pr 4561  df-tp 4563  df-op 4565  df-uni 4837  df-int 4877  df-iun 4923  df-br 5071  df-opab 5133  df-mpt 5154  df-tr 5188  df-id 5480  df-eprel 5486  df-po 5494  df-so 5495  df-fr 5535  df-we 5537  df-xp 5586  df-rel 5587  df-cnv 5588  df-co 5589  df-dm 5590  df-rn 5591  df-res 5592  df-ima 5593  df-ord 6254  df-on 6255  df-lim 6256  df-suc 6257  df-iota 6376  df-fun 6420  df-fn 6421  df-f 6422  df-f1 6423  df-fo 6424  df-f1o 6425  df-fv 6426  df-ov 7258  df-oprab 7259  df-mpo 7260  df-om 7688  df-1st 7804  df-2nd 7805  df-en 8692  df-fin 8695  df-fi 9100  df-rest 17050  df-topgen 17071  df-top 21951  df-topon 21968  df-bases 22004  df-lly 22525
This theorem is referenced by: (None)
  Copyright terms: Public domain W3C validator