Users' Mathboxes Mathbox for Mario Carneiro < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >   Mathboxes  >  mclsrcl Structured version   Visualization version   GIF version

Theorem mclsrcl 31166
Description: Reverse closure for the closure function. (Contributed by Mario Carneiro, 18-Jul-2016.)
Hypotheses
Ref Expression
mclsval.d 𝐷 = (mDV‘𝑇)
mclsval.e 𝐸 = (mEx‘𝑇)
mclsval.c 𝐶 = (mCls‘𝑇)
Assertion
Ref Expression
mclsrcl (𝐴 ∈ (𝐾𝐶𝐵) → (𝑇 ∈ V ∧ 𝐾𝐷𝐵𝐸))

Proof of Theorem mclsrcl
Dummy variables 𝑑 𝑡 𝑐 𝑚 𝑜 𝑝 𝑠 𝑥 𝑦 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 n0i 3896 . . 3 (𝐴 ∈ (𝐾𝐶𝐵) → ¬ (𝐾𝐶𝐵) = ∅)
2 mclsval.c . . . . . 6 𝐶 = (mCls‘𝑇)
3 fvprc 6142 . . . . . 6 𝑇 ∈ V → (mCls‘𝑇) = ∅)
42, 3syl5eq 2667 . . . . 5 𝑇 ∈ V → 𝐶 = ∅)
54oveqd 6621 . . . 4 𝑇 ∈ V → (𝐾𝐶𝐵) = (𝐾𝐵))
6 0ov 6635 . . . 4 (𝐾𝐵) = ∅
75, 6syl6eq 2671 . . 3 𝑇 ∈ V → (𝐾𝐶𝐵) = ∅)
81, 7nsyl2 142 . 2 (𝐴 ∈ (𝐾𝐶𝐵) → 𝑇 ∈ V)
9 fveq2 6148 . . . . . . . . 9 (𝑡 = 𝑇 → (mCls‘𝑡) = (mCls‘𝑇))
109, 2syl6eqr 2673 . . . . . . . 8 (𝑡 = 𝑇 → (mCls‘𝑡) = 𝐶)
1110oveqd 6621 . . . . . . 7 (𝑡 = 𝑇 → (𝐾(mCls‘𝑡)𝐵) = (𝐾𝐶𝐵))
1211eleq2d 2684 . . . . . 6 (𝑡 = 𝑇 → (𝐴 ∈ (𝐾(mCls‘𝑡)𝐵) ↔ 𝐴 ∈ (𝐾𝐶𝐵)))
13 fvex 6158 . . . . . . . . 9 (mDV‘𝑡) ∈ V
1413elpw2 4788 . . . . . . . 8 (𝐾 ∈ 𝒫 (mDV‘𝑡) ↔ 𝐾 ⊆ (mDV‘𝑡))
15 fveq2 6148 . . . . . . . . . 10 (𝑡 = 𝑇 → (mDV‘𝑡) = (mDV‘𝑇))
16 mclsval.d . . . . . . . . . 10 𝐷 = (mDV‘𝑇)
1715, 16syl6eqr 2673 . . . . . . . . 9 (𝑡 = 𝑇 → (mDV‘𝑡) = 𝐷)
1817sseq2d 3612 . . . . . . . 8 (𝑡 = 𝑇 → (𝐾 ⊆ (mDV‘𝑡) ↔ 𝐾𝐷))
1914, 18syl5bb 272 . . . . . . 7 (𝑡 = 𝑇 → (𝐾 ∈ 𝒫 (mDV‘𝑡) ↔ 𝐾𝐷))
20 fvex 6158 . . . . . . . . 9 (mEx‘𝑡) ∈ V
2120elpw2 4788 . . . . . . . 8 (𝐵 ∈ 𝒫 (mEx‘𝑡) ↔ 𝐵 ⊆ (mEx‘𝑡))
22 fveq2 6148 . . . . . . . . . 10 (𝑡 = 𝑇 → (mEx‘𝑡) = (mEx‘𝑇))
23 mclsval.e . . . . . . . . . 10 𝐸 = (mEx‘𝑇)
2422, 23syl6eqr 2673 . . . . . . . . 9 (𝑡 = 𝑇 → (mEx‘𝑡) = 𝐸)
2524sseq2d 3612 . . . . . . . 8 (𝑡 = 𝑇 → (𝐵 ⊆ (mEx‘𝑡) ↔ 𝐵𝐸))
2621, 25syl5bb 272 . . . . . . 7 (𝑡 = 𝑇 → (𝐵 ∈ 𝒫 (mEx‘𝑡) ↔ 𝐵𝐸))
2719, 26anbi12d 746 . . . . . 6 (𝑡 = 𝑇 → ((𝐾 ∈ 𝒫 (mDV‘𝑡) ∧ 𝐵 ∈ 𝒫 (mEx‘𝑡)) ↔ (𝐾𝐷𝐵𝐸)))
2812, 27imbi12d 334 . . . . 5 (𝑡 = 𝑇 → ((𝐴 ∈ (𝐾(mCls‘𝑡)𝐵) → (𝐾 ∈ 𝒫 (mDV‘𝑡) ∧ 𝐵 ∈ 𝒫 (mEx‘𝑡))) ↔ (𝐴 ∈ (𝐾𝐶𝐵) → (𝐾𝐷𝐵𝐸))))
29 vex 3189 . . . . . . 7 𝑡 ∈ V
3013pwex 4808 . . . . . . . 8 𝒫 (mDV‘𝑡) ∈ V
3120pwex 4808 . . . . . . . 8 𝒫 (mEx‘𝑡) ∈ V
3230, 31mpt2ex 7192 . . . . . . 7 (𝑑 ∈ 𝒫 (mDV‘𝑡), ∈ 𝒫 (mEx‘𝑡) ↦ {𝑐 ∣ (( ∪ ran (mVH‘𝑡)) ⊆ 𝑐 ∧ ∀𝑚𝑜𝑝(⟨𝑚, 𝑜, 𝑝⟩ ∈ (mAx‘𝑡) → ∀𝑠 ∈ ran (mSubst‘𝑡)(((𝑠 “ (𝑜 ∪ ran (mVH‘𝑡))) ⊆ 𝑐 ∧ ∀𝑥𝑦(𝑥𝑚𝑦 → (((mVars‘𝑡)‘(𝑠‘((mVH‘𝑡)‘𝑥))) × ((mVars‘𝑡)‘(𝑠‘((mVH‘𝑡)‘𝑦)))) ⊆ 𝑑)) → (𝑠𝑝) ∈ 𝑐)))}) ∈ V
33 df-mcls 31102 . . . . . . . 8 mCls = (𝑡 ∈ V ↦ (𝑑 ∈ 𝒫 (mDV‘𝑡), ∈ 𝒫 (mEx‘𝑡) ↦ {𝑐 ∣ (( ∪ ran (mVH‘𝑡)) ⊆ 𝑐 ∧ ∀𝑚𝑜𝑝(⟨𝑚, 𝑜, 𝑝⟩ ∈ (mAx‘𝑡) → ∀𝑠 ∈ ran (mSubst‘𝑡)(((𝑠 “ (𝑜 ∪ ran (mVH‘𝑡))) ⊆ 𝑐 ∧ ∀𝑥𝑦(𝑥𝑚𝑦 → (((mVars‘𝑡)‘(𝑠‘((mVH‘𝑡)‘𝑥))) × ((mVars‘𝑡)‘(𝑠‘((mVH‘𝑡)‘𝑦)))) ⊆ 𝑑)) → (𝑠𝑝) ∈ 𝑐)))}))
3433fvmpt2 6248 . . . . . . 7 ((𝑡 ∈ V ∧ (𝑑 ∈ 𝒫 (mDV‘𝑡), ∈ 𝒫 (mEx‘𝑡) ↦ {𝑐 ∣ (( ∪ ran (mVH‘𝑡)) ⊆ 𝑐 ∧ ∀𝑚𝑜𝑝(⟨𝑚, 𝑜, 𝑝⟩ ∈ (mAx‘𝑡) → ∀𝑠 ∈ ran (mSubst‘𝑡)(((𝑠 “ (𝑜 ∪ ran (mVH‘𝑡))) ⊆ 𝑐 ∧ ∀𝑥𝑦(𝑥𝑚𝑦 → (((mVars‘𝑡)‘(𝑠‘((mVH‘𝑡)‘𝑥))) × ((mVars‘𝑡)‘(𝑠‘((mVH‘𝑡)‘𝑦)))) ⊆ 𝑑)) → (𝑠𝑝) ∈ 𝑐)))}) ∈ V) → (mCls‘𝑡) = (𝑑 ∈ 𝒫 (mDV‘𝑡), ∈ 𝒫 (mEx‘𝑡) ↦ {𝑐 ∣ (( ∪ ran (mVH‘𝑡)) ⊆ 𝑐 ∧ ∀𝑚𝑜𝑝(⟨𝑚, 𝑜, 𝑝⟩ ∈ (mAx‘𝑡) → ∀𝑠 ∈ ran (mSubst‘𝑡)(((𝑠 “ (𝑜 ∪ ran (mVH‘𝑡))) ⊆ 𝑐 ∧ ∀𝑥𝑦(𝑥𝑚𝑦 → (((mVars‘𝑡)‘(𝑠‘((mVH‘𝑡)‘𝑥))) × ((mVars‘𝑡)‘(𝑠‘((mVH‘𝑡)‘𝑦)))) ⊆ 𝑑)) → (𝑠𝑝) ∈ 𝑐)))}))
3529, 32, 34mp2an 707 . . . . . 6 (mCls‘𝑡) = (𝑑 ∈ 𝒫 (mDV‘𝑡), ∈ 𝒫 (mEx‘𝑡) ↦ {𝑐 ∣ (( ∪ ran (mVH‘𝑡)) ⊆ 𝑐 ∧ ∀𝑚𝑜𝑝(⟨𝑚, 𝑜, 𝑝⟩ ∈ (mAx‘𝑡) → ∀𝑠 ∈ ran (mSubst‘𝑡)(((𝑠 “ (𝑜 ∪ ran (mVH‘𝑡))) ⊆ 𝑐 ∧ ∀𝑥𝑦(𝑥𝑚𝑦 → (((mVars‘𝑡)‘(𝑠‘((mVH‘𝑡)‘𝑥))) × ((mVars‘𝑡)‘(𝑠‘((mVH‘𝑡)‘𝑦)))) ⊆ 𝑑)) → (𝑠𝑝) ∈ 𝑐)))})
3635elmpt2cl 6829 . . . . 5 (𝐴 ∈ (𝐾(mCls‘𝑡)𝐵) → (𝐾 ∈ 𝒫 (mDV‘𝑡) ∧ 𝐵 ∈ 𝒫 (mEx‘𝑡)))
3728, 36vtoclg 3252 . . . 4 (𝑇 ∈ V → (𝐴 ∈ (𝐾𝐶𝐵) → (𝐾𝐷𝐵𝐸)))
388, 37mpcom 38 . . 3 (𝐴 ∈ (𝐾𝐶𝐵) → (𝐾𝐷𝐵𝐸))
3938simpld 475 . 2 (𝐴 ∈ (𝐾𝐶𝐵) → 𝐾𝐷)
4038simprd 479 . 2 (𝐴 ∈ (𝐾𝐶𝐵) → 𝐵𝐸)
418, 39, 403jca 1240 1 (𝐴 ∈ (𝐾𝐶𝐵) → (𝑇 ∈ V ∧ 𝐾𝐷𝐵𝐸))
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wi 4  wa 384  w3a 1036  wal 1478   = wceq 1480  wcel 1987  {cab 2607  wral 2907  Vcvv 3186  cun 3553  wss 3555  c0 3891  𝒫 cpw 4130  cotp 4156   cint 4440   class class class wbr 4613   × cxp 5072  ran crn 5075  cima 5077  cfv 5847  (class class class)co 6604  cmpt2 6606  mAxcmax 31070  mExcmex 31072  mDVcmdv 31073  mVarscmvrs 31074  mSubstcmsub 31076  mVHcmvh 31077  mClscmcls 31082
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1719  ax-4 1734  ax-5 1836  ax-6 1885  ax-7 1932  ax-8 1989  ax-9 1996  ax-10 2016  ax-11 2031  ax-12 2044  ax-13 2245  ax-ext 2601  ax-rep 4731  ax-sep 4741  ax-nul 4749  ax-pow 4803  ax-pr 4867  ax-un 6902
This theorem depends on definitions:  df-bi 197  df-or 385  df-an 386  df-3an 1038  df-tru 1483  df-ex 1702  df-nf 1707  df-sb 1878  df-eu 2473  df-mo 2474  df-clab 2608  df-cleq 2614  df-clel 2617  df-nfc 2750  df-ne 2791  df-ral 2912  df-rex 2913  df-reu 2914  df-rab 2916  df-v 3188  df-sbc 3418  df-csb 3515  df-dif 3558  df-un 3560  df-in 3562  df-ss 3569  df-nul 3892  df-if 4059  df-pw 4132  df-sn 4149  df-pr 4151  df-op 4155  df-uni 4403  df-iun 4487  df-br 4614  df-opab 4674  df-mpt 4675  df-id 4989  df-xp 5080  df-rel 5081  df-cnv 5082  df-co 5083  df-dm 5084  df-rn 5085  df-res 5086  df-ima 5087  df-iota 5810  df-fun 5849  df-fn 5850  df-f 5851  df-f1 5852  df-fo 5853  df-f1o 5854  df-fv 5855  df-ov 6607  df-oprab 6608  df-mpt2 6609  df-1st 7113  df-2nd 7114  df-mcls 31102
This theorem is referenced by: (None)
  Copyright terms: Public domain W3C validator