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

Theorem findcard2s 8086
Description: Variation of findcard2 8085 requiring that the element added in the induction step not be a member of the original set. (Contributed by Paul Chapman, 30-Nov-2012.)
Hypotheses
Ref Expression
findcard2s.1 (𝑥 = ∅ → (𝜑𝜓))
findcard2s.2 (𝑥 = 𝑦 → (𝜑𝜒))
findcard2s.3 (𝑥 = (𝑦 ∪ {𝑧}) → (𝜑𝜃))
findcard2s.4 (𝑥 = 𝐴 → (𝜑𝜏))
findcard2s.5 𝜓
findcard2s.6 ((𝑦 ∈ Fin ∧ ¬ 𝑧𝑦) → (𝜒𝜃))
Assertion
Ref Expression
findcard2s (𝐴 ∈ Fin → 𝜏)
Distinct variable groups:   𝑥,𝐴,𝑦,𝑧   𝜒,𝑥   𝜑,𝑦,𝑧   𝜓,𝑥   𝜏,𝑥   𝜃,𝑥
Allowed substitution hints:   𝜑(𝑥)   𝜓(𝑦,𝑧)   𝜒(𝑦,𝑧)   𝜃(𝑦,𝑧)   𝜏(𝑦,𝑧)

Proof of Theorem findcard2s
StepHypRef Expression
1 findcard2s.1 . 2 (𝑥 = ∅ → (𝜑𝜓))
2 findcard2s.2 . 2 (𝑥 = 𝑦 → (𝜑𝜒))
3 findcard2s.3 . 2 (𝑥 = (𝑦 ∪ {𝑧}) → (𝜑𝜃))
4 findcard2s.4 . 2 (𝑥 = 𝐴 → (𝜑𝜏))
5 findcard2s.5 . 2 𝜓
6 findcard2s.6 . . . 4 ((𝑦 ∈ Fin ∧ ¬ 𝑧𝑦) → (𝜒𝜃))
76ex 449 . . 3 (𝑦 ∈ Fin → (¬ 𝑧𝑦 → (𝜒𝜃)))
8 uncom 3719 . . . . . . 7 ({𝑧} ∪ 𝑦) = (𝑦 ∪ {𝑧})
9 snssi 4280 . . . . . . . 8 (𝑧𝑦 → {𝑧} ⊆ 𝑦)
10 ssequn1 3745 . . . . . . . 8 ({𝑧} ⊆ 𝑦 ↔ ({𝑧} ∪ 𝑦) = 𝑦)
119, 10sylib 207 . . . . . . 7 (𝑧𝑦 → ({𝑧} ∪ 𝑦) = 𝑦)
128, 11syl5reqr 2659 . . . . . 6 (𝑧𝑦𝑦 = (𝑦 ∪ {𝑧}))
13 vex 3176 . . . . . . 7 𝑦 ∈ V
1413eqvinc 3300 . . . . . 6 (𝑦 = (𝑦 ∪ {𝑧}) ↔ ∃𝑥(𝑥 = 𝑦𝑥 = (𝑦 ∪ {𝑧})))
1512, 14sylib 207 . . . . 5 (𝑧𝑦 → ∃𝑥(𝑥 = 𝑦𝑥 = (𝑦 ∪ {𝑧})))
162bicomd 212 . . . . . . 7 (𝑥 = 𝑦 → (𝜒𝜑))
1716, 3sylan9bb 732 . . . . . 6 ((𝑥 = 𝑦𝑥 = (𝑦 ∪ {𝑧})) → (𝜒𝜃))
1817exlimiv 1845 . . . . 5 (∃𝑥(𝑥 = 𝑦𝑥 = (𝑦 ∪ {𝑧})) → (𝜒𝜃))
1915, 18syl 17 . . . 4 (𝑧𝑦 → (𝜒𝜃))
2019biimpd 218 . . 3 (𝑧𝑦 → (𝜒𝜃))
217, 20pm2.61d2 171 . 2 (𝑦 ∈ Fin → (𝜒𝜃))
221, 2, 3, 4, 5, 21findcard2 8085 1 (𝐴 ∈ Fin → 𝜏)
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wi 4  wb 195  wa 383   = wceq 1475  wex 1695  wcel 1977  cun 3538  wss 3540  c0 3874  {csn 4125  Fincfn 7841
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1713  ax-4 1728  ax-5 1827  ax-6 1875  ax-7 1922  ax-8 1979  ax-9 1986  ax-10 2006  ax-11 2021  ax-12 2034  ax-13 2234  ax-ext 2590  ax-sep 4709  ax-nul 4717  ax-pow 4769  ax-pr 4833  ax-un 6847
This theorem depends on definitions:  df-bi 196  df-or 384  df-an 385  df-3or 1032  df-3an 1033  df-tru 1478  df-ex 1696  df-nf 1701  df-sb 1868  df-eu 2462  df-mo 2463  df-clab 2597  df-cleq 2603  df-clel 2606  df-nfc 2740  df-ne 2782  df-ral 2901  df-rex 2902  df-rab 2905  df-v 3175  df-sbc 3403  df-dif 3543  df-un 3545  df-in 3547  df-ss 3554  df-pss 3556  df-nul 3875  df-if 4037  df-pw 4110  df-sn 4126  df-pr 4128  df-tp 4130  df-op 4132  df-uni 4373  df-br 4584  df-opab 4644  df-tr 4681  df-eprel 4949  df-id 4953  df-po 4959  df-so 4960  df-fr 4997  df-we 4999  df-xp 5044  df-rel 5045  df-cnv 5046  df-co 5047  df-dm 5048  df-rn 5049  df-res 5050  df-ima 5051  df-ord 5643  df-on 5644  df-lim 5645  df-suc 5646  df-iota 5768  df-fun 5806  df-fn 5807  df-f 5808  df-f1 5809  df-fo 5810  df-f1o 5811  df-fv 5812  df-om 6958  df-1o 7447  df-er 7629  df-en 7842  df-fin 7845
This theorem is referenced by:  findcard2d  8087  ac6sfi  8089  domunfican  8118  fodomfi  8124  hashxplem  13080  hashmap  13082  hashbc  13094  hashf1lem2  13097  hashf1  13098  fsum2d  14344  fsumabs  14374  fsumrlim  14384  fsumo1  14385  fsumiun  14394  incexclem  14407  fprod2d  14550  coprmprod  15213  coprmproddvds  15215  gsum2dlem2  18193  ablfac1eulem  18294  mplcoe1  19286  mplcoe5  19289  coe1fzgsumd  19493  evl1gsumd  19542  mdetunilem9  20245  ptcmpfi  21426  tmdgsum  21709  fsumcn  22481  ovolfiniun  23076  volfiniun  23122  itgfsum  23399  dvmptfsum  23542  jensen  24515  gsumle  29110  gsumvsca1  29113  gsumvsca2  29114  finixpnum  32564  matunitlindflem1  32575  pwslnm  36682  fnchoice  38211  dvmptfprod  38835
  Copyright terms: Public domain W3C validator