ILE Home Intuitionistic Logic Explorer < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  ILE Home  >  Th. List  >  ballotfilemelo GIF version

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

Proof of Theorem ballotfilemelo
Dummy variable 𝑑 is distinct from all other variables.
StepHypRef Expression
1 elfpw 7262 . . 3 (𝐶 ∈ (𝒫 (1...(𝑀 + 𝑁)) ∩ Fin) ↔ (𝐶 ⊆ (1...(𝑀 + 𝑁)) ∧ 𝐶 ∈ Fin))
21anbi1i 462 . 2 ((𝐶 ∈ (𝒫 (1...(𝑀 + 𝑁)) ∩ Fin) ∧ (♯‘𝐶) = 𝑀) ↔ ((𝐶 ⊆ (1...(𝑀 + 𝑁)) ∧ 𝐶 ∈ Fin) ∧ (♯‘𝐶) = 𝑀))
3 fveqeq2 5704 . . 3 (𝑑 = 𝐶 → ((♯‘𝑑) = 𝑀 ↔ (♯‘𝐶) = 𝑀))
4 ballotfilem.o . . . 4 𝑂 = {𝑐 ∈ (𝒫 (1...(𝑀 + 𝑁)) ∩ Fin) ∣ (♯‘𝑐) = 𝑀}
5 fveqeq2 5704 . . . . 5 (𝑐 = 𝑑 → ((♯‘𝑐) = 𝑀 ↔ (♯‘𝑑) = 𝑀))
65cbvrabv 2820 . . . 4 {𝑐 ∈ (𝒫 (1...(𝑀 + 𝑁)) ∩ Fin) ∣ (♯‘𝑐) = 𝑀} = {𝑑 ∈ (𝒫 (1...(𝑀 + 𝑁)) ∩ Fin) ∣ (♯‘𝑑) = 𝑀}
74, 6eqtri 2259 . . 3 𝑂 = {𝑑 ∈ (𝒫 (1...(𝑀 + 𝑁)) ∩ Fin) ∣ (♯‘𝑑) = 𝑀}
83, 7elrab2 2985 . 2 (𝐶𝑂 ↔ (𝐶 ∈ (𝒫 (1...(𝑀 + 𝑁)) ∩ Fin) ∧ (♯‘𝐶) = 𝑀))
9 df-3an 1011 . 2 ((𝐶 ⊆ (1...(𝑀 + 𝑁)) ∧ 𝐶 ∈ Fin ∧ (♯‘𝐶) = 𝑀) ↔ ((𝐶 ⊆ (1...(𝑀 + 𝑁)) ∧ 𝐶 ∈ Fin) ∧ (♯‘𝐶) = 𝑀))
102, 8, 93bitr4i 212 1 (𝐶𝑂 ↔ (𝐶 ⊆ (1...(𝑀 + 𝑁)) ∧ 𝐶 ∈ Fin ∧ (♯‘𝐶) = 𝑀))
Colors of variables:    wff set class
This proof depends on syntax axioms:  wa 104  wb 105  w3a 1009   = wceq 1402  wcel 2209  {crab 2532  cin 3219  wss 3220  𝒫 cpw 3688  cfv 5377  (class class class)co 6085  Fincfn 7022  1c1 8180   + caddc 8182  cn 9304  ...cfz 10411  chash 11214
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-ia1 106  ax-ia2 107  ax-ia3 108  ax-io 721  ax-5 1500  ax-7 1501  ax-gen 1502  ax-ie1 1546  ax-ie2 1547  ax-8 1557  ax-10 1558  ax-11 1559  ax-i12 1560  ax-bndl 1562  ax-4 1563  ax-17 1579  ax-i9 1583  ax-ial 1587  ax-i5r 1588  ax-ext 2220
This proof depends on definitions:  df-bi 117  df-3an 1011  df-tru 1405  df-nf 1514  df-sb 1816  df-clab 2225  df-cleq 2231  df-clel 2234  df-nfc 2381  df-rex 2534  df-rab 2537  df-v 2823  df-un 3224  df-in 3226  df-ss 3233  df-pw 3690  df-sn 3715  df-pr 3716  df-op 3718  df-uni 3936  df-br 4131  df-iota 5337  df-fv 5385
This theorem is used by:  ballotfilemcdc  13223  ballotfilemfc0  13232  ballotfilemscr  13262  ballotfilemro  13266  ballotfilemrinv0  13276
  Copyright terms: Public domain W3C validator