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

Theorem llyidm 22201
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 22185 . . . 4 (𝑗 ∈ Locally Locally 𝐴𝑗 ∈ Top)
2 llyi 22187 . . . . . . 7 ((𝑗 ∈ Locally Locally 𝐴𝑥𝑗𝑦𝑥) → ∃𝑢𝑗 (𝑢𝑥𝑦𝑢 ∧ (𝑗t 𝑢) ∈ Locally 𝐴))
3 simprr3 1220 . . . . . . . . 9 (((𝑗 ∈ Locally Locally 𝐴𝑥𝑗𝑦𝑥) ∧ (𝑢𝑗 ∧ (𝑢𝑥𝑦𝑢 ∧ (𝑗t 𝑢) ∈ Locally 𝐴))) → (𝑗t 𝑢) ∈ Locally 𝐴)
4 simprl 770 . . . . . . . . . 10 (((𝑗 ∈ Locally Locally 𝐴𝑥𝑗𝑦𝑥) ∧ (𝑢𝑗 ∧ (𝑢𝑥𝑦𝑢 ∧ (𝑗t 𝑢) ∈ Locally 𝐴))) → 𝑢𝑗)
5 ssidd 3917 . . . . . . . . . 10 (((𝑗 ∈ Locally Locally 𝐴𝑥𝑗𝑦𝑥) ∧ (𝑢𝑗 ∧ (𝑢𝑥𝑦𝑢 ∧ (𝑗t 𝑢) ∈ Locally 𝐴))) → 𝑢𝑢)
613ad2ant1 1130 . . . . . . . . . . . 12 ((𝑗 ∈ Locally Locally 𝐴𝑥𝑗𝑦𝑥) → 𝑗 ∈ Top)
76adantr 484 . . . . . . . . . . 11 (((𝑗 ∈ Locally Locally 𝐴𝑥𝑗𝑦𝑥) ∧ (𝑢𝑗 ∧ (𝑢𝑥𝑦𝑢 ∧ (𝑗t 𝑢) ∈ Locally 𝐴))) → 𝑗 ∈ Top)
8 restopn2 21890 . . . . . . . . . . 11 ((𝑗 ∈ Top ∧ 𝑢𝑗) → (𝑢 ∈ (𝑗t 𝑢) ↔ (𝑢𝑗𝑢𝑢)))
97, 4, 8syl2anc 587 . . . . . . . . . 10 (((𝑗 ∈ Locally Locally 𝐴𝑥𝑗𝑦𝑥) ∧ (𝑢𝑗 ∧ (𝑢𝑥𝑦𝑢 ∧ (𝑗t 𝑢) ∈ Locally 𝐴))) → (𝑢 ∈ (𝑗t 𝑢) ↔ (𝑢𝑗𝑢𝑢)))
104, 5, 9mpbir2and 712 . . . . . . . . 9 (((𝑗 ∈ Locally Locally 𝐴𝑥𝑗𝑦𝑥) ∧ (𝑢𝑗 ∧ (𝑢𝑥𝑦𝑢 ∧ (𝑗t 𝑢) ∈ Locally 𝐴))) → 𝑢 ∈ (𝑗t 𝑢))
11 simprr2 1219 . . . . . . . . 9 (((𝑗 ∈ Locally Locally 𝐴𝑥𝑗𝑦𝑥) ∧ (𝑢𝑗 ∧ (𝑢𝑥𝑦𝑢 ∧ (𝑗t 𝑢) ∈ Locally 𝐴))) → 𝑦𝑢)
12 llyi 22187 . . . . . . . . 9 (((𝑗t 𝑢) ∈ Locally 𝐴𝑢 ∈ (𝑗t 𝑢) ∧ 𝑦𝑢) → ∃𝑣 ∈ (𝑗t 𝑢)(𝑣𝑢𝑦𝑣 ∧ ((𝑗t 𝑢) ↾t 𝑣) ∈ 𝐴))
133, 10, 11, 12syl3anc 1368 . . . . . . . 8 (((𝑗 ∈ Locally Locally 𝐴𝑥𝑗𝑦𝑥) ∧ (𝑢𝑗 ∧ (𝑢𝑥𝑦𝑢 ∧ (𝑗t 𝑢) ∈ Locally 𝐴))) → ∃𝑣 ∈ (𝑗t 𝑢)(𝑣𝑢𝑦𝑣 ∧ ((𝑗t 𝑢) ↾t 𝑣) ∈ 𝐴))
14 restopn2 21890 . . . . . . . . . . . 12 ((𝑗 ∈ Top ∧ 𝑢𝑗) → (𝑣 ∈ (𝑗t 𝑢) ↔ (𝑣𝑗𝑣𝑢)))
157, 4, 14syl2anc 587 . . . . . . . . . . 11 (((𝑗 ∈ Locally Locally 𝐴𝑥𝑗𝑦𝑥) ∧ (𝑢𝑗 ∧ (𝑢𝑥𝑦𝑢 ∧ (𝑗t 𝑢) ∈ Locally 𝐴))) → (𝑣 ∈ (𝑗t 𝑢) ↔ (𝑣𝑗𝑣𝑢)))
16 simpl 486 . . . . . . . . . . 11 ((𝑣𝑗𝑣𝑢) → 𝑣𝑗)
1715, 16syl6bi 256 . . . . . . . . . 10 (((𝑗 ∈ Locally Locally 𝐴𝑥𝑗𝑦𝑥) ∧ (𝑢𝑗 ∧ (𝑢𝑥𝑦𝑢 ∧ (𝑗t 𝑢) ∈ Locally 𝐴))) → (𝑣 ∈ (𝑗t 𝑢) → 𝑣𝑗))
18 simprl 770 . . . . . . . . . . . . 13 ((((𝑗 ∈ Locally Locally 𝐴𝑥𝑗𝑦𝑥) ∧ (𝑢𝑗 ∧ (𝑢𝑥𝑦𝑢 ∧ (𝑗t 𝑢) ∈ Locally 𝐴))) ∧ (𝑣𝑗 ∧ (𝑣𝑢𝑦𝑣 ∧ ((𝑗t 𝑢) ↾t 𝑣) ∈ 𝐴))) → 𝑣𝑗)
19 simprr1 1218 . . . . . . . . . . . . . . 15 ((((𝑗 ∈ Locally Locally 𝐴𝑥𝑗𝑦𝑥) ∧ (𝑢𝑗 ∧ (𝑢𝑥𝑦𝑢 ∧ (𝑗t 𝑢) ∈ Locally 𝐴))) ∧ (𝑣𝑗 ∧ (𝑣𝑢𝑦𝑣 ∧ ((𝑗t 𝑢) ↾t 𝑣) ∈ 𝐴))) → 𝑣𝑢)
20 simprr1 1218 . . . . . . . . . . . . . . . 16 (((𝑗 ∈ Locally Locally 𝐴𝑥𝑗𝑦𝑥) ∧ (𝑢𝑗 ∧ (𝑢𝑥𝑦𝑢 ∧ (𝑗t 𝑢) ∈ Locally 𝐴))) → 𝑢𝑥)
2120adantr 484 . . . . . . . . . . . . . . 15 ((((𝑗 ∈ Locally Locally 𝐴𝑥𝑗𝑦𝑥) ∧ (𝑢𝑗 ∧ (𝑢𝑥𝑦𝑢 ∧ (𝑗t 𝑢) ∈ Locally 𝐴))) ∧ (𝑣𝑗 ∧ (𝑣𝑢𝑦𝑣 ∧ ((𝑗t 𝑢) ↾t 𝑣) ∈ 𝐴))) → 𝑢𝑥)
2219, 21sstrd 3904 . . . . . . . . . . . . . 14 ((((𝑗 ∈ Locally Locally 𝐴𝑥𝑗𝑦𝑥) ∧ (𝑢𝑗 ∧ (𝑢𝑥𝑦𝑢 ∧ (𝑗t 𝑢) ∈ Locally 𝐴))) ∧ (𝑣𝑗 ∧ (𝑣𝑢𝑦𝑣 ∧ ((𝑗t 𝑢) ↾t 𝑣) ∈ 𝐴))) → 𝑣𝑥)
23 velpw 4502 . . . . . . . . . . . . . 14 (𝑣 ∈ 𝒫 𝑥𝑣𝑥)
2422, 23sylibr 237 . . . . . . . . . . . . 13 ((((𝑗 ∈ Locally Locally 𝐴𝑥𝑗𝑦𝑥) ∧ (𝑢𝑗 ∧ (𝑢𝑥𝑦𝑢 ∧ (𝑗t 𝑢) ∈ Locally 𝐴))) ∧ (𝑣𝑗 ∧ (𝑣𝑢𝑦𝑣 ∧ ((𝑗t 𝑢) ↾t 𝑣) ∈ 𝐴))) → 𝑣 ∈ 𝒫 𝑥)
2518, 24elind 4101 . . . . . . . . . . . 12 ((((𝑗 ∈ Locally Locally 𝐴𝑥𝑗𝑦𝑥) ∧ (𝑢𝑗 ∧ (𝑢𝑥𝑦𝑢 ∧ (𝑗t 𝑢) ∈ Locally 𝐴))) ∧ (𝑣𝑗 ∧ (𝑣𝑢𝑦𝑣 ∧ ((𝑗t 𝑢) ↾t 𝑣) ∈ 𝐴))) → 𝑣 ∈ (𝑗 ∩ 𝒫 𝑥))
26 simprr2 1219 . . . . . . . . . . . 12 ((((𝑗 ∈ Locally Locally 𝐴𝑥𝑗𝑦𝑥) ∧ (𝑢𝑗 ∧ (𝑢𝑥𝑦𝑢 ∧ (𝑗t 𝑢) ∈ Locally 𝐴))) ∧ (𝑣𝑗 ∧ (𝑣𝑢𝑦𝑣 ∧ ((𝑗t 𝑢) ↾t 𝑣) ∈ 𝐴))) → 𝑦𝑣)
277adantr 484 . . . . . . . . . . . . . 14 ((((𝑗 ∈ Locally Locally 𝐴𝑥𝑗𝑦𝑥) ∧ (𝑢𝑗 ∧ (𝑢𝑥𝑦𝑢 ∧ (𝑗t 𝑢) ∈ Locally 𝐴))) ∧ (𝑣𝑗 ∧ (𝑣𝑢𝑦𝑣 ∧ ((𝑗t 𝑢) ↾t 𝑣) ∈ 𝐴))) → 𝑗 ∈ Top)
28 simplrl 776 . . . . . . . . . . . . . 14 ((((𝑗 ∈ Locally Locally 𝐴𝑥𝑗𝑦𝑥) ∧ (𝑢𝑗 ∧ (𝑢𝑥𝑦𝑢 ∧ (𝑗t 𝑢) ∈ Locally 𝐴))) ∧ (𝑣𝑗 ∧ (𝑣𝑢𝑦𝑣 ∧ ((𝑗t 𝑢) ↾t 𝑣) ∈ 𝐴))) → 𝑢𝑗)
29 restabs 21878 . . . . . . . . . . . . . 14 ((𝑗 ∈ Top ∧ 𝑣𝑢𝑢𝑗) → ((𝑗t 𝑢) ↾t 𝑣) = (𝑗t 𝑣))
3027, 19, 28, 29syl3anc 1368 . . . . . . . . . . . . 13 ((((𝑗 ∈ Locally Locally 𝐴𝑥𝑗𝑦𝑥) ∧ (𝑢𝑗 ∧ (𝑢𝑥𝑦𝑢 ∧ (𝑗t 𝑢) ∈ Locally 𝐴))) ∧ (𝑣𝑗 ∧ (𝑣𝑢𝑦𝑣 ∧ ((𝑗t 𝑢) ↾t 𝑣) ∈ 𝐴))) → ((𝑗t 𝑢) ↾t 𝑣) = (𝑗t 𝑣))
31 simprr3 1220 . . . . . . . . . . . . 13 ((((𝑗 ∈ Locally Locally 𝐴𝑥𝑗𝑦𝑥) ∧ (𝑢𝑗 ∧ (𝑢𝑥𝑦𝑢 ∧ (𝑗t 𝑢) ∈ Locally 𝐴))) ∧ (𝑣𝑗 ∧ (𝑣𝑢𝑦𝑣 ∧ ((𝑗t 𝑢) ↾t 𝑣) ∈ 𝐴))) → ((𝑗t 𝑢) ↾t 𝑣) ∈ 𝐴)
3230, 31eqeltrrd 2853 . . . . . . . . . . . 12 ((((𝑗 ∈ Locally Locally 𝐴𝑥𝑗𝑦𝑥) ∧ (𝑢𝑗 ∧ (𝑢𝑥𝑦𝑢 ∧ (𝑗t 𝑢) ∈ Locally 𝐴))) ∧ (𝑣𝑗 ∧ (𝑣𝑢𝑦𝑣 ∧ ((𝑗t 𝑢) ↾t 𝑣) ∈ 𝐴))) → (𝑗t 𝑣) ∈ 𝐴)
3325, 26, 32jca32 519 . . . . . . . . . . 11 ((((𝑗 ∈ Locally Locally 𝐴𝑥𝑗𝑦𝑥) ∧ (𝑢𝑗 ∧ (𝑢𝑥𝑦𝑢 ∧ (𝑗t 𝑢) ∈ Locally 𝐴))) ∧ (𝑣𝑗 ∧ (𝑣𝑢𝑦𝑣 ∧ ((𝑗t 𝑢) ↾t 𝑣) ∈ 𝐴))) → (𝑣 ∈ (𝑗 ∩ 𝒫 𝑥) ∧ (𝑦𝑣 ∧ (𝑗t 𝑣) ∈ 𝐴)))
3433ex 416 . . . . . . . . . 10 (((𝑗 ∈ Locally Locally 𝐴𝑥𝑗𝑦𝑥) ∧ (𝑢𝑗 ∧ (𝑢𝑥𝑦𝑢 ∧ (𝑗t 𝑢) ∈ Locally 𝐴))) → ((𝑣𝑗 ∧ (𝑣𝑢𝑦𝑣 ∧ ((𝑗t 𝑢) ↾t 𝑣) ∈ 𝐴)) → (𝑣 ∈ (𝑗 ∩ 𝒫 𝑥) ∧ (𝑦𝑣 ∧ (𝑗t 𝑣) ∈ 𝐴))))
3517, 34syland 605 . . . . . . . . 9 (((𝑗 ∈ Locally Locally 𝐴𝑥𝑗𝑦𝑥) ∧ (𝑢𝑗 ∧ (𝑢𝑥𝑦𝑢 ∧ (𝑗t 𝑢) ∈ Locally 𝐴))) → ((𝑣 ∈ (𝑗t 𝑢) ∧ (𝑣𝑢𝑦𝑣 ∧ ((𝑗t 𝑢) ↾t 𝑣) ∈ 𝐴)) → (𝑣 ∈ (𝑗 ∩ 𝒫 𝑥) ∧ (𝑦𝑣 ∧ (𝑗t 𝑣) ∈ 𝐴))))
3635reximdv2 3195 . . . . . . . 8 (((𝑗 ∈ Locally Locally 𝐴𝑥𝑗𝑦𝑥) ∧ (𝑢𝑗 ∧ (𝑢𝑥𝑦𝑢 ∧ (𝑗t 𝑢) ∈ Locally 𝐴))) → (∃𝑣 ∈ (𝑗t 𝑢)(𝑣𝑢𝑦𝑣 ∧ ((𝑗t 𝑢) ↾t 𝑣) ∈ 𝐴) → ∃𝑣 ∈ (𝑗 ∩ 𝒫 𝑥)(𝑦𝑣 ∧ (𝑗t 𝑣) ∈ 𝐴)))
3713, 36mpd 15 . . . . . . 7 (((𝑗 ∈ Locally Locally 𝐴𝑥𝑗𝑦𝑥) ∧ (𝑢𝑗 ∧ (𝑢𝑥𝑦𝑢 ∧ (𝑗t 𝑢) ∈ Locally 𝐴))) → ∃𝑣 ∈ (𝑗 ∩ 𝒫 𝑥)(𝑦𝑣 ∧ (𝑗t 𝑣) ∈ 𝐴))
382, 37rexlimddv 3215 . . . . . 6 ((𝑗 ∈ Locally Locally 𝐴𝑥𝑗𝑦𝑥) → ∃𝑣 ∈ (𝑗 ∩ 𝒫 𝑥)(𝑦𝑣 ∧ (𝑗t 𝑣) ∈ 𝐴))
39383expb 1117 . . . . 5 ((𝑗 ∈ Locally Locally 𝐴 ∧ (𝑥𝑗𝑦𝑥)) → ∃𝑣 ∈ (𝑗 ∩ 𝒫 𝑥)(𝑦𝑣 ∧ (𝑗t 𝑣) ∈ 𝐴))
4039ralrimivva 3120 . . . 4 (𝑗 ∈ Locally Locally 𝐴 → ∀𝑥𝑗𝑦𝑥𝑣 ∈ (𝑗 ∩ 𝒫 𝑥)(𝑦𝑣 ∧ (𝑗t 𝑣) ∈ 𝐴))
41 islly 22181 . . . 4 (𝑗 ∈ Locally 𝐴 ↔ (𝑗 ∈ Top ∧ ∀𝑥𝑗𝑦𝑥𝑣 ∈ (𝑗 ∩ 𝒫 𝑥)(𝑦𝑣 ∧ (𝑗t 𝑣) ∈ 𝐴)))
421, 40, 41sylanbrc 586 . . 3 (𝑗 ∈ Locally Locally 𝐴𝑗 ∈ Locally 𝐴)
4342ssriv 3898 . 2 Locally Locally 𝐴 ⊆ Locally 𝐴
44 llyrest 22198 . . . . 5 ((𝑗 ∈ Locally 𝐴𝑥𝑗) → (𝑗t 𝑥) ∈ Locally 𝐴)
4544adantl 485 . . . 4 ((⊤ ∧ (𝑗 ∈ Locally 𝐴𝑥𝑗)) → (𝑗t 𝑥) ∈ Locally 𝐴)
46 llytop 22185 . . . . . 6 (𝑗 ∈ Locally 𝐴𝑗 ∈ Top)
4746ssriv 3898 . . . . 5 Locally 𝐴 ⊆ Top
4847a1i 11 . . . 4 (⊤ → Locally 𝐴 ⊆ Top)
4945, 48restlly 22196 . . 3 (⊤ → Locally 𝐴 ⊆ Locally Locally 𝐴)
5049mptru 1545 . 2 Locally 𝐴 ⊆ Locally Locally 𝐴
5143, 50eqssi 3910 1 Locally Locally 𝐴 = Locally 𝐴
Colors of variables: wff setvar class
Syntax hints:  wb 209  wa 399  w3a 1084   = wceq 1538  wtru 1539  wcel 2111  wral 3070  wrex 3071  cin 3859  wss 3860  𝒫 cpw 4497  (class class class)co 7156  t crest 16765  Topctop 21606  Locally clly 22177
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1797  ax-4 1811  ax-5 1911  ax-6 1970  ax-7 2015  ax-8 2113  ax-9 2121  ax-10 2142  ax-11 2158  ax-12 2175  ax-ext 2729  ax-rep 5160  ax-sep 5173  ax-nul 5180  ax-pow 5238  ax-pr 5302  ax-un 7465
This theorem depends on definitions:  df-bi 210  df-an 400  df-or 845  df-3or 1085  df-3an 1086  df-tru 1541  df-fal 1551  df-ex 1782  df-nf 1786  df-sb 2070  df-mo 2557  df-eu 2588  df-clab 2736  df-cleq 2750  df-clel 2830  df-nfc 2901  df-ne 2952  df-ral 3075  df-rex 3076  df-reu 3077  df-rab 3079  df-v 3411  df-sbc 3699  df-csb 3808  df-dif 3863  df-un 3865  df-in 3867  df-ss 3877  df-pss 3879  df-nul 4228  df-if 4424  df-pw 4499  df-sn 4526  df-pr 4528  df-tp 4530  df-op 4532  df-uni 4802  df-int 4842  df-iun 4888  df-br 5037  df-opab 5099  df-mpt 5117  df-tr 5143  df-id 5434  df-eprel 5439  df-po 5447  df-so 5448  df-fr 5487  df-we 5489  df-xp 5534  df-rel 5535  df-cnv 5536  df-co 5537  df-dm 5538  df-rn 5539  df-res 5540  df-ima 5541  df-ord 6177  df-on 6178  df-lim 6179  df-suc 6180  df-iota 6299  df-fun 6342  df-fn 6343  df-f 6344  df-f1 6345  df-fo 6346  df-f1o 6347  df-fv 6348  df-ov 7159  df-oprab 7160  df-mpo 7161  df-om 7586  df-1st 7699  df-2nd 7700  df-en 8541  df-fin 8544  df-fi 8921  df-rest 16767  df-topgen 16788  df-top 21607  df-topon 21624  df-bases 21659  df-lly 22179
This theorem is referenced by: (None)
  Copyright terms: Public domain W3C validator