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

Theorem findcard2d 9166
Description: Deduction version of findcard2 9164. (Contributed by SO, 16-Jul-2018.)
Hypotheses
Ref Expression
findcard2d.ch (𝑥 = ∅ → (𝜓 ↔ 𝜒))
findcard2d.th (𝑥 = 𝑦 → (𝜓 ↔ 𝜃))
findcard2d.ta (𝑥 = (𝑦 ∪ {𝑧}) → (𝜓 ↔ 𝜏))
findcard2d.et (𝑥 = 𝐴 → (𝜓 ↔ 𝜂))
findcard2d.z (𝜑 → 𝜒)
findcard2d.i ((𝜑 ∧ (𝑦 ⊆ 𝐴 ∧ 𝑧 ∈ (𝐴 ∖ 𝑦))) → (𝜃 → 𝜏))
findcard2d.a (𝜑 → 𝐴 ∈ Fin)
Assertion
Ref Expression
findcard2d (𝜑 → 𝜂)
Distinct variable groups:   𝑥,𝐴,𝑦,𝑧   𝜑,𝑥,𝑦,𝑧   𝜓,𝑦,𝑧   𝜒,𝑥   𝜃,𝑥   𝜏,𝑥   𝜂,𝑥
Allowed substitution hints:   𝜓(𝑥)   𝜒(𝑦, 𝑧)   𝜃(𝑦, 𝑧)   𝜏(𝑦, 𝑧)   𝜂(𝑦, 𝑧)

Proof of Theorem findcard2d
StepHypRef Expression
1 ssid 3953 . 2 𝐴 ⊆ 𝐴
2 findcard2d.a . . . 4 (𝜑 → 𝐴 ∈ Fin)
32adantr 486 . . 3 ((𝜑 ∧ 𝐴 ⊆ 𝐴) → 𝐴 ∈ Fin)
4 sseq1 3956 . . . . . 6 (𝑥 = ∅ → (𝑥 ⊆ 𝐴 ↔ ∅ ⊆ 𝐴))
54anbi2d 642 . . . . 5 (𝑥 = ∅ → ((𝜑 ∧ 𝑥 ⊆ 𝐴) ↔ (𝜑 ∧ ∅ ⊆ 𝐴)))
6 findcard2d.ch . . . . 5 (𝑥 = ∅ → (𝜓 ↔ 𝜒))
75, 6imbi12d 347 . . . 4 (𝑥 = ∅ → (((𝜑 ∧ 𝑥 ⊆ 𝐴) → 𝜓) ↔ ((𝜑 ∧ ∅ ⊆ 𝐴) → 𝜒)))
8 sseq1 3956 . . . . . 6 (𝑥 = 𝑦 → (𝑥 ⊆ 𝐴 ↔ 𝑦 ⊆ 𝐴))
98anbi2d 642 . . . . 5 (𝑥 = 𝑦 → ((𝜑 ∧ 𝑥 ⊆ 𝐴) ↔ (𝜑 ∧ 𝑦 ⊆ 𝐴)))
10 findcard2d.th . . . . 5 (𝑥 = 𝑦 → (𝜓 ↔ 𝜃))
119, 10imbi12d 347 . . . 4 (𝑥 = 𝑦 → (((𝜑 ∧ 𝑥 ⊆ 𝐴) → 𝜓) ↔ ((𝜑 ∧ 𝑦 ⊆ 𝐴) → 𝜃)))
12 sseq1 3956 . . . . . 6 (𝑥 = (𝑦 ∪ {𝑧}) → (𝑥 ⊆ 𝐴 ↔ (𝑦 ∪ {𝑧}) ⊆ 𝐴))
1312anbi2d 642 . . . . 5 (𝑥 = (𝑦 ∪ {𝑧}) → ((𝜑 ∧ 𝑥 ⊆ 𝐴) ↔ (𝜑 ∧ (𝑦 ∪ {𝑧}) ⊆ 𝐴)))
14 findcard2d.ta . . . . 5 (𝑥 = (𝑦 ∪ {𝑧}) → (𝜓 ↔ 𝜏))
1513, 14imbi12d 347 . . . 4 (𝑥 = (𝑦 ∪ {𝑧}) → (((𝜑 ∧ 𝑥 ⊆ 𝐴) → 𝜓) ↔ ((𝜑 ∧ (𝑦 ∪ {𝑧}) ⊆ 𝐴) → 𝜏)))
16 sseq1 3956 . . . . . 6 (𝑥 = 𝐴 → (𝑥 ⊆ 𝐴 ↔ 𝐴 ⊆ 𝐴))
1716anbi2d 642 . . . . 5 (𝑥 = 𝐴 → ((𝜑 ∧ 𝑥 ⊆ 𝐴) ↔ (𝜑 ∧ 𝐴 ⊆ 𝐴)))
18 findcard2d.et . . . . 5 (𝑥 = 𝐴 → (𝜓 ↔ 𝜂))
1917, 18imbi12d 347 . . . 4 (𝑥 = 𝐴 → (((𝜑 ∧ 𝑥 ⊆ 𝐴) → 𝜓) ↔ ((𝜑 ∧ 𝐴 ⊆ 𝐴) → 𝜂)))
20 findcard2d.z . . . . 5 (𝜑 → 𝜒)
2120adantr 486 . . . 4 ((𝜑 ∧ ∅ ⊆ 𝐴) → 𝜒)
22 simprl 783 . . . . . . . 8 (((𝑦 ∈ Fin ∧ ¬ 𝑧 ∈ 𝑦) ∧ (𝜑 ∧ (𝑦 ∪ {𝑧}) ⊆ 𝐴)) → 𝜑)
23 simprr 785 . . . . . . . . 9 (((𝑦 ∈ Fin ∧ ¬ 𝑧 ∈ 𝑦) ∧ (𝜑 ∧ (𝑦 ∪ {𝑧}) ⊆ 𝐴)) → (𝑦 ∪ {𝑧}) ⊆ 𝐴)
2423unssad 4139 . . . . . . . 8 (((𝑦 ∈ Fin ∧ ¬ 𝑧 ∈ 𝑦) ∧ (𝜑 ∧ (𝑦 ∪ {𝑧}) ⊆ 𝐴)) → 𝑦 ⊆ 𝐴)
2522, 24jca 521 . . . . . . 7 (((𝑦 ∈ Fin ∧ ¬ 𝑧 ∈ 𝑦) ∧ (𝜑 ∧ (𝑦 ∪ {𝑧}) ⊆ 𝐴)) → (𝜑 ∧ 𝑦 ⊆ 𝐴))
26 id 23 . . . . . . . . . . 11 ((𝑦 ∪ {𝑧}) ⊆ 𝐴 → (𝑦 ∪ {𝑧}) ⊆ 𝐴)
27 vsnid 4624 . . . . . . . . . . . 12 𝑧 ∈ {𝑧}
28 elun2 4129 . . . . . . . . . . . 12 (𝑧 ∈ {𝑧} → 𝑧 ∈ (𝑦 ∪ {𝑧}))
2927, 28mp1i 14 . . . . . . . . . . 11 ((𝑦 ∪ {𝑧}) ⊆ 𝐴 → 𝑧 ∈ (𝑦 ∪ {𝑧}))
3026, 29sseldd 3932 . . . . . . . . . 10 ((𝑦 ∪ {𝑧}) ⊆ 𝐴 → 𝑧 ∈ 𝐴)
3130ad2antll 742 . . . . . . . . 9 (((𝑦 ∈ Fin ∧ ¬ 𝑧 ∈ 𝑦) ∧ (𝜑 ∧ (𝑦 ∪ {𝑧}) ⊆ 𝐴)) → 𝑧 ∈ 𝐴)
32 simplr 781 . . . . . . . . 9 (((𝑦 ∈ Fin ∧ ¬ 𝑧 ∈ 𝑦) ∧ (𝜑 ∧ (𝑦 ∪ {𝑧}) ⊆ 𝐴)) → ¬ 𝑧 ∈ 𝑦)
3331, 32eldifd 3910 . . . . . . . 8 (((𝑦 ∈ Fin ∧ ¬ 𝑧 ∈ 𝑦) ∧ (𝜑 ∧ (𝑦 ∪ {𝑧}) ⊆ 𝐴)) → 𝑧 ∈ (𝐴 ∖ 𝑦))
34 findcard2d.i . . . . . . . 8 ((𝜑 ∧ (𝑦 ⊆ 𝐴 ∧ 𝑧 ∈ (𝐴 ∖ 𝑦))) → (𝜃 → 𝜏))
3522, 24, 33, 34syl12anc 850 . . . . . . 7 (((𝑦 ∈ Fin ∧ ¬ 𝑧 ∈ 𝑦) ∧ (𝜑 ∧ (𝑦 ∪ {𝑧}) ⊆ 𝐴)) → (𝜃 → 𝜏))
3625, 35embantd 60 . . . . . 6 (((𝑦 ∈ Fin ∧ ¬ 𝑧 ∈ 𝑦) ∧ (𝜑 ∧ (𝑦 ∪ {𝑧}) ⊆ 𝐴)) → (((𝜑 ∧ 𝑦 ⊆ 𝐴) → 𝜃) → 𝜏))
3736ex 418 . . . . 5 ((𝑦 ∈ Fin ∧ ¬ 𝑧 ∈ 𝑦) → ((𝜑 ∧ (𝑦 ∪ {𝑧}) ⊆ 𝐴) → (((𝜑 ∧ 𝑦 ⊆ 𝐴) → 𝜃) → 𝜏)))
3837com23 87 . . . 4 ((𝑦 ∈ Fin ∧ ¬ 𝑧 ∈ 𝑦) → (((𝜑 ∧ 𝑦 ⊆ 𝐴) → 𝜃) → ((𝜑 ∧ (𝑦 ∪ {𝑧}) ⊆ 𝐴) → 𝜏)))
397, 11, 15, 19, 21, 38findcard2s 9165 . . 3 (𝐴 ∈ Fin → ((𝜑 ∧ 𝐴 ⊆ 𝐴) → 𝜂))
403, 39mpcom 39 . 2 ((𝜑 ∧ 𝐴 ⊆ 𝐴) → 𝜂)
411, 40mpan2 704 1 (𝜑 → 𝜂)
Colors of variables:    wff setvar class
This proof depends on syntax axioms:  ¬ wn 3   → wi 4   ↔ wb 209   ∧ wa 401   = wceq 1570   ∈ wcel 2145   ∖ cdif 3896   ∪ cun 3897   ⊆ wss 3899  ∅c0 4279  {csn 4584  Fincfn 8957
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1828  ax-4 1842  ax-5 1943  ax-6 2000  ax-7 2041  ax-8 2147  ax-9 2155  ax-10 2178  ax-11 2194  ax-12 2213  ax-ext 2733  ax-sep 5249  ax-nul 5260  ax-pr 5391  ax-un 7740
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3or 1104  df-3an 1105  df-tru 1573  df-fal 1583  df-ex 1813  df-nf 1817  df-sb 2100  df-mo 2565  df-eu 2595  df-clab 2740  df-cleq 2753  df-clel 2836  df-nfc 2910  df-ne 2957  df-ral 3078  df-rex 3088  df-reu 3367  df-rab 3414  df-v 3453  df-sbc 3740  df-dif 3902  df-un 3904  df-in 3906  df-ss 3916  df-pss 3919  df-nul 4280  df-if 4483  df-pw 4559  df-sn 4585  df-pr 4587  df-op 4591  df-uni 4868  df-br 5104  df-opab 5168  df-tr 5213  df-id 5546  df-eprel 5551  df-po 5559  df-so 5560  df-fr 5604  df-we 5606  df-xp 5657  df-rel 5658  df-cnv 5659  df-co 5660  df-dm 5661  df-rn 5662  df-res 5663  df-ima 5664  df-ord 6358  df-on 6359  df-lim 6360  df-suc 6361  df-iota 6487  df-fun 6533  df-fn 6534  df-f 6535  df-f1 6536  df-fo 6537  df-f1o 6538  df-fv 6539  df-om 7867  df-en 8958  df-fin 8961
This theorem is used by:  elhf3OLD  9904  fprodmodd  16144  sumeven  16537  sumodd  16538  maducoeval2  22935  madugsum  22938  elrgspnlem4  33788  domnprodeq0  33822  rprmdvdsprod  34048  deg1prod  34097  mplidomlem  34141  psrgsum  34162  psrmonprod  34166  vieta  34194  constrextdg2lem  34362  constrfiss  34365  esum2dlem  34706  fiunelcarsg  34931  carsgclctunlem1  34932  evl1gprodd  43135  idomnnzgmulnz  43151  deg1gprod  43158  fiiuncl  46025  mpct  46158  fprodexp  46550  fprodabs2  46551  mccl  46554  fprodcn  46556  fprodcncf  46854  dvnprodlem3  46902  sge0iunmptlemfi  47367  hoidmvle  47554
  Copyright terms: Public domain W3C validator