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

Theorem wunress 17439
Description: Closure of structure restriction in a weak universe. (Contributed by Mario Carneiro, 12-Jan-2017.) (Proof shortened by AV, 28-Oct-2024.)
Hypotheses
Ref Expression
wunress.1 (𝜑 → 𝑈 ∈ WUni)
wunress.2 (𝜑 → ω ∈ 𝑈)
wunress.3 (𝜑 → 𝑊 ∈ 𝑈)
Assertion
Ref Expression
wunress (𝜑 → (𝑊 ↾s 𝐴) ∈ 𝑈)

Proof of Theorem wunress
StepHypRef Expression
1 wunress.3 . . . . 5 (𝜑 → 𝑊 ∈ 𝑈)
2 eqid 2763 . . . . . 6 (𝑊 ↾s 𝐴) = (𝑊 ↾s 𝐴)
3 eqid 2763 . . . . . 6 (Base‘𝑊) = (Base‘𝑊)
42, 3ressval 17423 . . . . 5 ((𝑊 ∈ 𝑈 ∧ 𝐴 ∈ V) → (𝑊 ↾s 𝐴) = if((Base‘𝑊) ⊆ 𝐴, 𝑊, (𝑊 sSet ⟨(Base‘ndx), (𝐴 ∩ (Base‘𝑊))⟩)))
51, 4sylan 592 . . . 4 ((𝜑 ∧ 𝐴 ∈ V) → (𝑊 ↾s 𝐴) = if((Base‘𝑊) ⊆ 𝐴, 𝑊, (𝑊 sSet ⟨(Base‘ndx), (𝐴 ∩ (Base‘𝑊))⟩)))
6 wunress.1 . . . . . . 7 (𝜑 → 𝑈 ∈ WUni)
7 wunress.2 . . . . . . . . 9 (𝜑 → ω ∈ 𝑈)
86, 7basndxelwund 17410 . . . . . . . 8 (𝜑 → (Base‘ndx) ∈ 𝑈)
9 incom 4108 . . . . . . . . 9 (𝐴 ∩ (Base‘𝑊)) = ((Base‘𝑊) ∩ 𝐴)
10 baseid 17402 . . . . . . . . . . 11 Base = Slot (Base‘ndx)
1110, 6, 1wunstr 17378 . . . . . . . . . 10 (𝜑 → (Base‘𝑊) ∈ 𝑈)
126, 11wunin 10808 . . . . . . . . 9 (𝜑 → ((Base‘𝑊) ∩ 𝐴) ∈ 𝑈)
139, 12eqeltrid 2867 . . . . . . . 8 (𝜑 → (𝐴 ∩ (Base‘𝑊)) ∈ 𝑈)
146, 8, 13wunop 10817 . . . . . . 7 (𝜑 → ⟨(Base‘ndx), (𝐴 ∩ (Base‘𝑊))⟩ ∈ 𝑈)
156, 1, 14wunsets 17367 . . . . . 6 (𝜑 → (𝑊 sSet ⟨(Base‘ndx), (𝐴 ∩ (Base‘𝑊))⟩) ∈ 𝑈)
161, 15ifcld 4531 . . . . 5 (𝜑 → if((Base‘𝑊) ⊆ 𝐴, 𝑊, (𝑊 sSet ⟨(Base‘ndx), (𝐴 ∩ (Base‘𝑊))⟩)) ∈ 𝑈)
1716adantr 486 . . . 4 ((𝜑 ∧ 𝐴 ∈ V) → if((Base‘𝑊) ⊆ 𝐴, 𝑊, (𝑊 sSet ⟨(Base‘ndx), (𝐴 ∩ (Base‘𝑊))⟩)) ∈ 𝑈)
185, 17eqeltrd 2863 . . 3 ((𝜑 ∧ 𝐴 ∈ V) → (𝑊 ↾s 𝐴) ∈ 𝑈)
1918ex 418 . 2 (𝜑 → (𝐴 ∈ V → (𝑊 ↾s 𝐴) ∈ 𝑈))
206wun0 10813 . . 3 (𝜑 → ∅ ∈ 𝑈)
21 reldmress 17422 . . . . 5 Rel dom ↾s
2221ovprc2 7467 . . . 4 (¬ 𝐴 ∈ V → (𝑊 ↾s 𝐴) = ∅)
2322eleq1d 2848 . . 3 (¬ 𝐴 ∈ V → ((𝑊 ↾s 𝐴) ∈ 𝑈 ↔ ∅ ∈ 𝑈))
2420, 23syl5ibrcom 250 . 2 (𝜑 → (¬ 𝐴 ∈ V → (𝑊 ↾s 𝐴) ∈ 𝑈))
2519, 24pm2.61d 181 1 (𝜑 → (𝑊 ↾s 𝐴) ∈ 𝑈)
Colors of variables:    wff setvar class
This proof depends on syntax axioms:  ¬ wn 3   → wi 4   ∧ wa 401   = wceq 1569   ∈ wcel 2146  Vcvv 3453   ⊆ wss 3899   ∩ cin 4091  ∅c0 4280  ifcif 4484  ⟨cop 4837  ‘cfv 6546  (class class class)co 7427  ωcom 7884  WUnicwun 10795   sSet csts 17353  ndxcnx 17383  Basecbs 17399   ↾s cress 17420
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1827  ax-4 1841  ax-5 1944  ax-6 2001  ax-7 2042  ax-8 2148  ax-9 2156  ax-10 2179  ax-11 2196  ax-12 2215  ax-ext 2735  ax-sep 5251  ax-nul 5262  ax-pow 5330  ax-pr 5394  ax-un 7758  ax-inf2 9652  ax-cnex 11266  ax-1cn 11268  ax-addcl 11270
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3or 1104  df-3an 1105  df-tru 1572  df-fal 1582  df-ex 1812  df-nf 1816  df-sb 2101  df-mo 2567  df-eu 2597  df-clab 2742  df-cleq 2755  df-clel 2838  df-nfc 2912  df-ne 2959  df-ral 3080  df-rex 3090  df-rmo 3368  df-reu 3369  df-rab 3416  df-v 3455  df-sbc 3742  df-csb 3851  df-ss 3900  df-pss 4016  df-dif 4049  df-in 4093  df-un 4153  df-nul 4281  df-if 4485  df-pw 4561  df-sn 4588  df-pr 4590  df-op 4838  df-uni 4870  df-int 4910  df-iun 4955  df-br 5106  df-opab 5170  df-mpt 5189  df-tr 5215  df-id 5549  df-eprel 5554  df-po 5562  df-so 5563  df-fr 5607  df-we 5609  df-xp 5660  df-rel 5661  df-cnv 5662  df-co 5663  df-dm 5664  df-rn 5665  df-res 5666  df-ima 5667  df-pred 6310  df-ord 6371  df-on 6372  df-lim 6373  df-suc 6374  df-iota 6500  df-fun 6548  df-fn 6549  df-f 6550  df-f1 6551  df-fo 6552  df-f1o 6553  df-fv 6554  df-ov 7430  df-oprab 7431  df-mpo 7432  df-om 7885  df-1st 8008  df-2nd 8009  df-frecs 8310  df-wrecs 8341  df-recs 8390  df-rdg 8429  df-1o 8487  df-oadd 8491  df-omul 8492  df-er 8728  df-ec 8730  df-qs 8734  df-map 8860  df-pm 8861  df-wun 10797  df-ni 10967  df-pli 10968  df-mi 10969  df-lti 10970  df-plpq 11003  df-mpq 11004  df-ltpq 11005  df-enq 11006  df-nq 11007  df-erq 11008  df-plq 11009  df-mq 11010  df-1nq 11011  df-rq 11012  df-ltnq 11013  df-np 11076  df-plp 11078  df-ltp 11080  df-enr 11150  df-nr 11151  df-c 11216  df-nn 12346  df-sets 17354  df-slot 17372  df-ndx 17384  df-base 17400  df-ress 17421
This theorem is used by: (None)
  Copyright terms: Public domain W3C validator