Users' Mathboxes Mathbox for Thierry Arnoux < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >   Mathboxes  >  ballotlemelo Structured version   Visualization version   GIF version

Theorem ballotlemelo 32454
Description: Elementhood in 𝑂. (Contributed by Thierry Arnoux, 17-Apr-2017.)
Hypotheses
Ref Expression
ballotth.m 𝑀 ∈ ℕ
ballotth.n 𝑁 ∈ ℕ
ballotth.o 𝑂 = {𝑐 ∈ 𝒫 (1...(𝑀 + 𝑁)) ∣ (♯‘𝑐) = 𝑀}
Assertion
Ref Expression
ballotlemelo (𝐶𝑂 ↔ (𝐶 ⊆ (1...(𝑀 + 𝑁)) ∧ (♯‘𝐶) = 𝑀))
Distinct variable groups:   𝑀,𝑐   𝑁,𝑐   𝑂,𝑐
Allowed substitution hint:   𝐶(𝑐)

Proof of Theorem ballotlemelo
Dummy variable 𝑑 is distinct from all other variables.
StepHypRef Expression
1 fveqeq2 6783 . . 3 (𝑑 = 𝐶 → ((♯‘𝑑) = 𝑀 ↔ (♯‘𝐶) = 𝑀))
2 ballotth.o . . . 4 𝑂 = {𝑐 ∈ 𝒫 (1...(𝑀 + 𝑁)) ∣ (♯‘𝑐) = 𝑀}
3 fveqeq2 6783 . . . . 5 (𝑐 = 𝑑 → ((♯‘𝑐) = 𝑀 ↔ (♯‘𝑑) = 𝑀))
43cbvrabv 3426 . . . 4 {𝑐 ∈ 𝒫 (1...(𝑀 + 𝑁)) ∣ (♯‘𝑐) = 𝑀} = {𝑑 ∈ 𝒫 (1...(𝑀 + 𝑁)) ∣ (♯‘𝑑) = 𝑀}
52, 4eqtri 2766 . . 3 𝑂 = {𝑑 ∈ 𝒫 (1...(𝑀 + 𝑁)) ∣ (♯‘𝑑) = 𝑀}
61, 5elrab2 3627 . 2 (𝐶𝑂 ↔ (𝐶 ∈ 𝒫 (1...(𝑀 + 𝑁)) ∧ (♯‘𝐶) = 𝑀))
7 ovex 7308 . . . 4 (1...(𝑀 + 𝑁)) ∈ V
87elpw2 5269 . . 3 (𝐶 ∈ 𝒫 (1...(𝑀 + 𝑁)) ↔ 𝐶 ⊆ (1...(𝑀 + 𝑁)))
98anbi1i 624 . 2 ((𝐶 ∈ 𝒫 (1...(𝑀 + 𝑁)) ∧ (♯‘𝐶) = 𝑀) ↔ (𝐶 ⊆ (1...(𝑀 + 𝑁)) ∧ (♯‘𝐶) = 𝑀))
106, 9bitri 274 1 (𝐶𝑂 ↔ (𝐶 ⊆ (1...(𝑀 + 𝑁)) ∧ (♯‘𝐶) = 𝑀))
Colors of variables: wff setvar class
Syntax hints:  wb 205  wa 396   = wceq 1539  wcel 2106  {crab 3068  wss 3887  𝒫 cpw 4533  cfv 6433  (class class class)co 7275  1c1 10872   + caddc 10874  cn 11973  ...cfz 13239  chash 14044
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
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-ral 3069  df-rex 3070  df-rab 3073  df-v 3434  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-br 5075  df-iota 6391  df-fv 6441  df-ov 7278
This theorem is referenced by:  ballotlemscr  32485  ballotlemro  32489  ballotlemfg  32492  ballotlemfrc  32493  ballotlemfrceq  32495  ballotlemrinv0  32499
  Copyright terms: Public domain W3C validator