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

Theorem mreexmrid 17352
Description: In a Moore system whose closure operator has the exchange property, if a set is independent and an element is not in its closure, then adding the element to the set gives another independent set. Lemma 4.1.5 in [FaureFrolicher] p. 84. (Contributed by David Moews, 1-May-2017.)
Hypotheses
Ref Expression
mreexmrid.1 (𝜑𝐴 ∈ (Moore‘𝑋))
mreexmrid.2 𝑁 = (mrCls‘𝐴)
mreexmrid.3 𝐼 = (mrInd‘𝐴)
mreexmrid.4 (𝜑 → ∀𝑠 ∈ 𝒫 𝑋𝑦𝑋𝑧 ∈ ((𝑁‘(𝑠 ∪ {𝑦})) ∖ (𝑁𝑠))𝑦 ∈ (𝑁‘(𝑠 ∪ {𝑧})))
mreexmrid.5 (𝜑𝑆𝐼)
mreexmrid.6 (𝜑𝑌𝑋)
mreexmrid.7 (𝜑 → ¬ 𝑌 ∈ (𝑁𝑆))
Assertion
Ref Expression
mreexmrid (𝜑 → (𝑆 ∪ {𝑌}) ∈ 𝐼)
Distinct variable groups:   𝑋,𝑠,𝑦   𝑆,𝑠,𝑧,𝑦   𝜑,𝑠,𝑦,𝑧   𝑌,𝑠,𝑦,𝑧   𝑁,𝑠,𝑦,𝑧
Allowed substitution hints:   𝐴(𝑦,𝑧,𝑠)   𝐼(𝑦,𝑧,𝑠)   𝑋(𝑧)

Proof of Theorem mreexmrid
Dummy variable 𝑥 is distinct from all other variables.
StepHypRef Expression
1 mreexmrid.2 . 2 𝑁 = (mrCls‘𝐴)
2 mreexmrid.3 . 2 𝐼 = (mrInd‘𝐴)
3 mreexmrid.1 . 2 (𝜑𝐴 ∈ (Moore‘𝑋))
4 mreexmrid.5 . . . 4 (𝜑𝑆𝐼)
52, 3, 4mrissd 17345 . . 3 (𝜑𝑆𝑋)
6 mreexmrid.6 . . . 4 (𝜑𝑌𝑋)
76snssd 4742 . . 3 (𝜑 → {𝑌} ⊆ 𝑋)
85, 7unssd 4120 . 2 (𝜑 → (𝑆 ∪ {𝑌}) ⊆ 𝑋)
933ad2ant1 1132 . . . . . . . . . 10 ((𝜑𝑥𝑆𝑥 ∈ (𝑁‘((𝑆 ∪ {𝑌}) ∖ {𝑥}))) → 𝐴 ∈ (Moore‘𝑋))
109elfvexd 6808 . . . . . . . . 9 ((𝜑𝑥𝑆𝑥 ∈ (𝑁‘((𝑆 ∪ {𝑌}) ∖ {𝑥}))) → 𝑋 ∈ V)
11 mreexmrid.4 . . . . . . . . . 10 (𝜑 → ∀𝑠 ∈ 𝒫 𝑋𝑦𝑋𝑧 ∈ ((𝑁‘(𝑠 ∪ {𝑦})) ∖ (𝑁𝑠))𝑦 ∈ (𝑁‘(𝑠 ∪ {𝑧})))
12113ad2ant1 1132 . . . . . . . . 9 ((𝜑𝑥𝑆𝑥 ∈ (𝑁‘((𝑆 ∪ {𝑌}) ∖ {𝑥}))) → ∀𝑠 ∈ 𝒫 𝑋𝑦𝑋𝑧 ∈ ((𝑁‘(𝑠 ∪ {𝑦})) ∖ (𝑁𝑠))𝑦 ∈ (𝑁‘(𝑠 ∪ {𝑧})))
1343ad2ant1 1132 . . . . . . . . . . 11 ((𝜑𝑥𝑆𝑥 ∈ (𝑁‘((𝑆 ∪ {𝑌}) ∖ {𝑥}))) → 𝑆𝐼)
142, 9, 13mrissd 17345 . . . . . . . . . 10 ((𝜑𝑥𝑆𝑥 ∈ (𝑁‘((𝑆 ∪ {𝑌}) ∖ {𝑥}))) → 𝑆𝑋)
1514ssdifssd 4077 . . . . . . . . 9 ((𝜑𝑥𝑆𝑥 ∈ (𝑁‘((𝑆 ∪ {𝑌}) ∖ {𝑥}))) → (𝑆 ∖ {𝑥}) ⊆ 𝑋)
1663ad2ant1 1132 . . . . . . . . 9 ((𝜑𝑥𝑆𝑥 ∈ (𝑁‘((𝑆 ∪ {𝑌}) ∖ {𝑥}))) → 𝑌𝑋)
17 simp3 1137 . . . . . . . . . 10 ((𝜑𝑥𝑆𝑥 ∈ (𝑁‘((𝑆 ∪ {𝑌}) ∖ {𝑥}))) → 𝑥 ∈ (𝑁‘((𝑆 ∪ {𝑌}) ∖ {𝑥})))
18 difundir 4214 . . . . . . . . . . . 12 ((𝑆 ∪ {𝑌}) ∖ {𝑥}) = ((𝑆 ∖ {𝑥}) ∪ ({𝑌} ∖ {𝑥}))
19 simp2 1136 . . . . . . . . . . . . . . . 16 ((𝜑𝑥𝑆𝑥 ∈ (𝑁‘((𝑆 ∪ {𝑌}) ∖ {𝑥}))) → 𝑥𝑆)
203, 1, 5mrcssidd 17334 . . . . . . . . . . . . . . . . . 18 (𝜑𝑆 ⊆ (𝑁𝑆))
21 mreexmrid.7 . . . . . . . . . . . . . . . . . 18 (𝜑 → ¬ 𝑌 ∈ (𝑁𝑆))
2220, 21ssneldd 3924 . . . . . . . . . . . . . . . . 17 (𝜑 → ¬ 𝑌𝑆)
23223ad2ant1 1132 . . . . . . . . . . . . . . . 16 ((𝜑𝑥𝑆𝑥 ∈ (𝑁‘((𝑆 ∪ {𝑌}) ∖ {𝑥}))) → ¬ 𝑌𝑆)
24 nelneq 2863 . . . . . . . . . . . . . . . 16 ((𝑥𝑆 ∧ ¬ 𝑌𝑆) → ¬ 𝑥 = 𝑌)
2519, 23, 24syl2anc 584 . . . . . . . . . . . . . . 15 ((𝜑𝑥𝑆𝑥 ∈ (𝑁‘((𝑆 ∪ {𝑌}) ∖ {𝑥}))) → ¬ 𝑥 = 𝑌)
26 elsni 4578 . . . . . . . . . . . . . . 15 (𝑥 ∈ {𝑌} → 𝑥 = 𝑌)
2725, 26nsyl 140 . . . . . . . . . . . . . 14 ((𝜑𝑥𝑆𝑥 ∈ (𝑁‘((𝑆 ∪ {𝑌}) ∖ {𝑥}))) → ¬ 𝑥 ∈ {𝑌})
28 difsnb 4739 . . . . . . . . . . . . . 14 𝑥 ∈ {𝑌} ↔ ({𝑌} ∖ {𝑥}) = {𝑌})
2927, 28sylib 217 . . . . . . . . . . . . 13 ((𝜑𝑥𝑆𝑥 ∈ (𝑁‘((𝑆 ∪ {𝑌}) ∖ {𝑥}))) → ({𝑌} ∖ {𝑥}) = {𝑌})
3029uneq2d 4097 . . . . . . . . . . . 12 ((𝜑𝑥𝑆𝑥 ∈ (𝑁‘((𝑆 ∪ {𝑌}) ∖ {𝑥}))) → ((𝑆 ∖ {𝑥}) ∪ ({𝑌} ∖ {𝑥})) = ((𝑆 ∖ {𝑥}) ∪ {𝑌}))
3118, 30eqtrid 2790 . . . . . . . . . . 11 ((𝜑𝑥𝑆𝑥 ∈ (𝑁‘((𝑆 ∪ {𝑌}) ∖ {𝑥}))) → ((𝑆 ∪ {𝑌}) ∖ {𝑥}) = ((𝑆 ∖ {𝑥}) ∪ {𝑌}))
3231fveq2d 6778 . . . . . . . . . 10 ((𝜑𝑥𝑆𝑥 ∈ (𝑁‘((𝑆 ∪ {𝑌}) ∖ {𝑥}))) → (𝑁‘((𝑆 ∪ {𝑌}) ∖ {𝑥})) = (𝑁‘((𝑆 ∖ {𝑥}) ∪ {𝑌})))
3317, 32eleqtrd 2841 . . . . . . . . 9 ((𝜑𝑥𝑆𝑥 ∈ (𝑁‘((𝑆 ∪ {𝑌}) ∖ {𝑥}))) → 𝑥 ∈ (𝑁‘((𝑆 ∖ {𝑥}) ∪ {𝑌})))
341, 2, 9, 13, 19ismri2dad 17346 . . . . . . . . 9 ((𝜑𝑥𝑆𝑥 ∈ (𝑁‘((𝑆 ∪ {𝑌}) ∖ {𝑥}))) → ¬ 𝑥 ∈ (𝑁‘(𝑆 ∖ {𝑥})))
3510, 12, 15, 16, 33, 34mreexd 17351 . . . . . . . 8 ((𝜑𝑥𝑆𝑥 ∈ (𝑁‘((𝑆 ∪ {𝑌}) ∖ {𝑥}))) → 𝑌 ∈ (𝑁‘((𝑆 ∖ {𝑥}) ∪ {𝑥})))
36213ad2ant1 1132 . . . . . . . . 9 ((𝜑𝑥𝑆𝑥 ∈ (𝑁‘((𝑆 ∪ {𝑌}) ∖ {𝑥}))) → ¬ 𝑌 ∈ (𝑁𝑆))
37 undif1 4409 . . . . . . . . . . 11 ((𝑆 ∖ {𝑥}) ∪ {𝑥}) = (𝑆 ∪ {𝑥})
3819snssd 4742 . . . . . . . . . . . 12 ((𝜑𝑥𝑆𝑥 ∈ (𝑁‘((𝑆 ∪ {𝑌}) ∖ {𝑥}))) → {𝑥} ⊆ 𝑆)
39 ssequn2 4117 . . . . . . . . . . . 12 ({𝑥} ⊆ 𝑆 ↔ (𝑆 ∪ {𝑥}) = 𝑆)
4038, 39sylib 217 . . . . . . . . . . 11 ((𝜑𝑥𝑆𝑥 ∈ (𝑁‘((𝑆 ∪ {𝑌}) ∖ {𝑥}))) → (𝑆 ∪ {𝑥}) = 𝑆)
4137, 40eqtrid 2790 . . . . . . . . . 10 ((𝜑𝑥𝑆𝑥 ∈ (𝑁‘((𝑆 ∪ {𝑌}) ∖ {𝑥}))) → ((𝑆 ∖ {𝑥}) ∪ {𝑥}) = 𝑆)
4241fveq2d 6778 . . . . . . . . 9 ((𝜑𝑥𝑆𝑥 ∈ (𝑁‘((𝑆 ∪ {𝑌}) ∖ {𝑥}))) → (𝑁‘((𝑆 ∖ {𝑥}) ∪ {𝑥})) = (𝑁𝑆))
4336, 42neleqtrrd 2861 . . . . . . . 8 ((𝜑𝑥𝑆𝑥 ∈ (𝑁‘((𝑆 ∪ {𝑌}) ∖ {𝑥}))) → ¬ 𝑌 ∈ (𝑁‘((𝑆 ∖ {𝑥}) ∪ {𝑥})))
4435, 43pm2.65i 193 . . . . . . 7 ¬ (𝜑𝑥𝑆𝑥 ∈ (𝑁‘((𝑆 ∪ {𝑌}) ∖ {𝑥})))
45 df-3an 1088 . . . . . . 7 ((𝜑𝑥𝑆𝑥 ∈ (𝑁‘((𝑆 ∪ {𝑌}) ∖ {𝑥}))) ↔ ((𝜑𝑥𝑆) ∧ 𝑥 ∈ (𝑁‘((𝑆 ∪ {𝑌}) ∖ {𝑥}))))
4644, 45mtbi 322 . . . . . 6 ¬ ((𝜑𝑥𝑆) ∧ 𝑥 ∈ (𝑁‘((𝑆 ∪ {𝑌}) ∖ {𝑥})))
4746imnani 401 . . . . 5 ((𝜑𝑥𝑆) → ¬ 𝑥 ∈ (𝑁‘((𝑆 ∪ {𝑌}) ∖ {𝑥})))
4847adantlr 712 . . . 4 (((𝜑𝑥 ∈ (𝑆 ∪ {𝑌})) ∧ 𝑥𝑆) → ¬ 𝑥 ∈ (𝑁‘((𝑆 ∪ {𝑌}) ∖ {𝑥})))
4926adantl 482 . . . . . 6 (((𝜑𝑥 ∈ (𝑆 ∪ {𝑌})) ∧ 𝑥 ∈ {𝑌}) → 𝑥 = 𝑌)
5021ad2antrr 723 . . . . . 6 (((𝜑𝑥 ∈ (𝑆 ∪ {𝑌})) ∧ 𝑥 ∈ {𝑌}) → ¬ 𝑌 ∈ (𝑁𝑆))
5149, 50eqneltrd 2858 . . . . 5 (((𝜑𝑥 ∈ (𝑆 ∪ {𝑌})) ∧ 𝑥 ∈ {𝑌}) → ¬ 𝑥 ∈ (𝑁𝑆))
5249sneqd 4573 . . . . . . . . 9 (((𝜑𝑥 ∈ (𝑆 ∪ {𝑌})) ∧ 𝑥 ∈ {𝑌}) → {𝑥} = {𝑌})
5352difeq2d 4057 . . . . . . . 8 (((𝜑𝑥 ∈ (𝑆 ∪ {𝑌})) ∧ 𝑥 ∈ {𝑌}) → ((𝑆 ∪ {𝑌}) ∖ {𝑥}) = ((𝑆 ∪ {𝑌}) ∖ {𝑌}))
54 difun2 4414 . . . . . . . 8 ((𝑆 ∪ {𝑌}) ∖ {𝑌}) = (𝑆 ∖ {𝑌})
5553, 54eqtrdi 2794 . . . . . . 7 (((𝜑𝑥 ∈ (𝑆 ∪ {𝑌})) ∧ 𝑥 ∈ {𝑌}) → ((𝑆 ∪ {𝑌}) ∖ {𝑥}) = (𝑆 ∖ {𝑌}))
56 difsnb 4739 . . . . . . . . 9 𝑌𝑆 ↔ (𝑆 ∖ {𝑌}) = 𝑆)
5722, 56sylib 217 . . . . . . . 8 (𝜑 → (𝑆 ∖ {𝑌}) = 𝑆)
5857ad2antrr 723 . . . . . . 7 (((𝜑𝑥 ∈ (𝑆 ∪ {𝑌})) ∧ 𝑥 ∈ {𝑌}) → (𝑆 ∖ {𝑌}) = 𝑆)
5955, 58eqtrd 2778 . . . . . 6 (((𝜑𝑥 ∈ (𝑆 ∪ {𝑌})) ∧ 𝑥 ∈ {𝑌}) → ((𝑆 ∪ {𝑌}) ∖ {𝑥}) = 𝑆)
6059fveq2d 6778 . . . . 5 (((𝜑𝑥 ∈ (𝑆 ∪ {𝑌})) ∧ 𝑥 ∈ {𝑌}) → (𝑁‘((𝑆 ∪ {𝑌}) ∖ {𝑥})) = (𝑁𝑆))
6151, 60neleqtrrd 2861 . . . 4 (((𝜑𝑥 ∈ (𝑆 ∪ {𝑌})) ∧ 𝑥 ∈ {𝑌}) → ¬ 𝑥 ∈ (𝑁‘((𝑆 ∪ {𝑌}) ∖ {𝑥})))
62 simpr 485 . . . . 5 ((𝜑𝑥 ∈ (𝑆 ∪ {𝑌})) → 𝑥 ∈ (𝑆 ∪ {𝑌}))
63 elun 4083 . . . . 5 (𝑥 ∈ (𝑆 ∪ {𝑌}) ↔ (𝑥𝑆𝑥 ∈ {𝑌}))
6462, 63sylib 217 . . . 4 ((𝜑𝑥 ∈ (𝑆 ∪ {𝑌})) → (𝑥𝑆𝑥 ∈ {𝑌}))
6548, 61, 64mpjaodan 956 . . 3 ((𝜑𝑥 ∈ (𝑆 ∪ {𝑌})) → ¬ 𝑥 ∈ (𝑁‘((𝑆 ∪ {𝑌}) ∖ {𝑥})))
6665ralrimiva 3103 . 2 (𝜑 → ∀𝑥 ∈ (𝑆 ∪ {𝑌}) ¬ 𝑥 ∈ (𝑁‘((𝑆 ∪ {𝑌}) ∖ {𝑥})))
671, 2, 3, 8, 66ismri2dd 17343 1 (𝜑 → (𝑆 ∪ {𝑌}) ∈ 𝐼)
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wi 4  wa 396  wo 844  w3a 1086   = wceq 1539  wcel 2106  wral 3064  Vcvv 3432  cdif 3884  cun 3885  wss 3887  𝒫 cpw 4533  {csn 4561  cfv 6433  Moorecmre 17291  mrClscmrc 17292  mrIndcmri 17293
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1798  ax-4 1812  ax-5 1913  ax-6 1971  ax-7 2011  ax-8 2108  ax-9 2116  ax-10 2137  ax-11 2154  ax-12 2171  ax-ext 2709  ax-sep 5223  ax-nul 5230  ax-pow 5288  ax-pr 5352  ax-un 7588
This theorem depends on definitions:  df-bi 206  df-an 397  df-or 845  df-3an 1088  df-tru 1542  df-fal 1552  df-ex 1783  df-nf 1787  df-sb 2068  df-mo 2540  df-eu 2569  df-clab 2716  df-cleq 2730  df-clel 2816  df-nfc 2889  df-ne 2944  df-ral 3069  df-rex 3070  df-rab 3073  df-v 3434  df-sbc 3717  df-csb 3833  df-dif 3890  df-un 3892  df-in 3894  df-ss 3904  df-nul 4257  df-if 4460  df-pw 4535  df-sn 4562  df-pr 4564  df-op 4568  df-uni 4840  df-int 4880  df-br 5075  df-opab 5137  df-mpt 5158  df-id 5489  df-xp 5595  df-rel 5596  df-cnv 5597  df-co 5598  df-dm 5599  df-rn 5600  df-res 5601  df-ima 5602  df-iota 6391  df-fun 6435  df-fn 6436  df-f 6437  df-fv 6441  df-mre 17295  df-mrc 17296  df-mri 17297
This theorem is referenced by:  mreexexlem2d  17354
  Copyright terms: Public domain W3C validator