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

Theorem ramub 16211
Description: The Ramsey number is a lower bound on the set of all numbers with the Ramsey number property. (Contributed by Mario Carneiro, 22-Apr-2015.)
Hypotheses
Ref Expression
rami.c 𝐶 = (𝑎 ∈ V, 𝑖 ∈ ℕ0 ↦ {𝑏 ∈ 𝒫 𝑎 ∣ (♯‘𝑏) = 𝑖})
rami.m (𝜑𝑀 ∈ ℕ0)
rami.r (𝜑𝑅𝑉)
rami.f (𝜑𝐹:𝑅⟶ℕ0)
ramub.n (𝜑𝑁 ∈ ℕ0)
ramub.i ((𝜑 ∧ (𝑁 ≤ (♯‘𝑠) ∧ 𝑓:(𝑠𝐶𝑀)⟶𝑅)) → ∃𝑐𝑅𝑥 ∈ 𝒫 𝑠((𝐹𝑐) ≤ (♯‘𝑥) ∧ (𝑥𝐶𝑀) ⊆ (𝑓 “ {𝑐})))
Assertion
Ref Expression
ramub (𝜑 → (𝑀 Ramsey 𝐹) ≤ 𝑁)
Distinct variable groups:   𝑓,𝑐,𝑠,𝑥,𝐶   𝜑,𝑐,𝑓,𝑠,𝑥   𝐹,𝑐,𝑓,𝑠,𝑥   𝑎,𝑏,𝑐,𝑓,𝑖,𝑠,𝑥,𝑀   𝑅,𝑐,𝑓,𝑠,𝑥   𝑁,𝑎,𝑐,𝑓,𝑖,𝑠,𝑥   𝑉,𝑐,𝑓,𝑠,𝑥
Allowed substitution hints:   𝜑(𝑖,𝑎,𝑏)   𝐶(𝑖,𝑎,𝑏)   𝑅(𝑖,𝑎,𝑏)   𝐹(𝑖,𝑎,𝑏)   𝑁(𝑏)   𝑉(𝑖,𝑎,𝑏)

Proof of Theorem ramub
Dummy variable 𝑛 is distinct from all other variables.
StepHypRef Expression
1 rami.m . 2 (𝜑𝑀 ∈ ℕ0)
2 rami.r . 2 (𝜑𝑅𝑉)
3 rami.f . 2 (𝜑𝐹:𝑅⟶ℕ0)
4 breq1 4937 . . . . 5 (𝑛 = 𝑁 → (𝑛 ≤ (♯‘𝑠) ↔ 𝑁 ≤ (♯‘𝑠)))
54imbi1d 334 . . . 4 (𝑛 = 𝑁 → ((𝑛 ≤ (♯‘𝑠) → ∀𝑓 ∈ (𝑅𝑚 (𝑠𝐶𝑀))∃𝑐𝑅𝑥 ∈ 𝒫 𝑠((𝐹𝑐) ≤ (♯‘𝑥) ∧ (𝑥𝐶𝑀) ⊆ (𝑓 “ {𝑐}))) ↔ (𝑁 ≤ (♯‘𝑠) → ∀𝑓 ∈ (𝑅𝑚 (𝑠𝐶𝑀))∃𝑐𝑅𝑥 ∈ 𝒫 𝑠((𝐹𝑐) ≤ (♯‘𝑥) ∧ (𝑥𝐶𝑀) ⊆ (𝑓 “ {𝑐})))))
65albidv 1880 . . 3 (𝑛 = 𝑁 → (∀𝑠(𝑛 ≤ (♯‘𝑠) → ∀𝑓 ∈ (𝑅𝑚 (𝑠𝐶𝑀))∃𝑐𝑅𝑥 ∈ 𝒫 𝑠((𝐹𝑐) ≤ (♯‘𝑥) ∧ (𝑥𝐶𝑀) ⊆ (𝑓 “ {𝑐}))) ↔ ∀𝑠(𝑁 ≤ (♯‘𝑠) → ∀𝑓 ∈ (𝑅𝑚 (𝑠𝐶𝑀))∃𝑐𝑅𝑥 ∈ 𝒫 𝑠((𝐹𝑐) ≤ (♯‘𝑥) ∧ (𝑥𝐶𝑀) ⊆ (𝑓 “ {𝑐})))))
7 ramub.n . . 3 (𝜑𝑁 ∈ ℕ0)
8 elmapi 8234 . . . . . 6 (𝑓 ∈ (𝑅𝑚 (𝑠𝐶𝑀)) → 𝑓:(𝑠𝐶𝑀)⟶𝑅)
9 ramub.i . . . . . . . 8 ((𝜑 ∧ (𝑁 ≤ (♯‘𝑠) ∧ 𝑓:(𝑠𝐶𝑀)⟶𝑅)) → ∃𝑐𝑅𝑥 ∈ 𝒫 𝑠((𝐹𝑐) ≤ (♯‘𝑥) ∧ (𝑥𝐶𝑀) ⊆ (𝑓 “ {𝑐})))
109ancom2s 638 . . . . . . 7 ((𝜑 ∧ (𝑓:(𝑠𝐶𝑀)⟶𝑅𝑁 ≤ (♯‘𝑠))) → ∃𝑐𝑅𝑥 ∈ 𝒫 𝑠((𝐹𝑐) ≤ (♯‘𝑥) ∧ (𝑥𝐶𝑀) ⊆ (𝑓 “ {𝑐})))
1110expr 449 . . . . . 6 ((𝜑𝑓:(𝑠𝐶𝑀)⟶𝑅) → (𝑁 ≤ (♯‘𝑠) → ∃𝑐𝑅𝑥 ∈ 𝒫 𝑠((𝐹𝑐) ≤ (♯‘𝑥) ∧ (𝑥𝐶𝑀) ⊆ (𝑓 “ {𝑐}))))
128, 11sylan2 584 . . . . 5 ((𝜑𝑓 ∈ (𝑅𝑚 (𝑠𝐶𝑀))) → (𝑁 ≤ (♯‘𝑠) → ∃𝑐𝑅𝑥 ∈ 𝒫 𝑠((𝐹𝑐) ≤ (♯‘𝑥) ∧ (𝑥𝐶𝑀) ⊆ (𝑓 “ {𝑐}))))
1312ralrimdva 3141 . . . 4 (𝜑 → (𝑁 ≤ (♯‘𝑠) → ∀𝑓 ∈ (𝑅𝑚 (𝑠𝐶𝑀))∃𝑐𝑅𝑥 ∈ 𝒫 𝑠((𝐹𝑐) ≤ (♯‘𝑥) ∧ (𝑥𝐶𝑀) ⊆ (𝑓 “ {𝑐}))))
1413alrimiv 1887 . . 3 (𝜑 → ∀𝑠(𝑁 ≤ (♯‘𝑠) → ∀𝑓 ∈ (𝑅𝑚 (𝑠𝐶𝑀))∃𝑐𝑅𝑥 ∈ 𝒫 𝑠((𝐹𝑐) ≤ (♯‘𝑥) ∧ (𝑥𝐶𝑀) ⊆ (𝑓 “ {𝑐}))))
156, 7, 14elrabd 3600 . 2 (𝜑𝑁 ∈ {𝑛 ∈ ℕ0 ∣ ∀𝑠(𝑛 ≤ (♯‘𝑠) → ∀𝑓 ∈ (𝑅𝑚 (𝑠𝐶𝑀))∃𝑐𝑅𝑥 ∈ 𝒫 𝑠((𝐹𝑐) ≤ (♯‘𝑥) ∧ (𝑥𝐶𝑀) ⊆ (𝑓 “ {𝑐})))})
16 rami.c . . 3 𝐶 = (𝑎 ∈ V, 𝑖 ∈ ℕ0 ↦ {𝑏 ∈ 𝒫 𝑎 ∣ (♯‘𝑏) = 𝑖})
17 eqid 2780 . . 3 {𝑛 ∈ ℕ0 ∣ ∀𝑠(𝑛 ≤ (♯‘𝑠) → ∀𝑓 ∈ (𝑅𝑚 (𝑠𝐶𝑀))∃𝑐𝑅𝑥 ∈ 𝒫 𝑠((𝐹𝑐) ≤ (♯‘𝑥) ∧ (𝑥𝐶𝑀) ⊆ (𝑓 “ {𝑐})))} = {𝑛 ∈ ℕ0 ∣ ∀𝑠(𝑛 ≤ (♯‘𝑠) → ∀𝑓 ∈ (𝑅𝑚 (𝑠𝐶𝑀))∃𝑐𝑅𝑥 ∈ 𝒫 𝑠((𝐹𝑐) ≤ (♯‘𝑥) ∧ (𝑥𝐶𝑀) ⊆ (𝑓 “ {𝑐})))}
1816, 17ramtub 16210 . 2 (((𝑀 ∈ ℕ0𝑅𝑉𝐹:𝑅⟶ℕ0) ∧ 𝑁 ∈ {𝑛 ∈ ℕ0 ∣ ∀𝑠(𝑛 ≤ (♯‘𝑠) → ∀𝑓 ∈ (𝑅𝑚 (𝑠𝐶𝑀))∃𝑐𝑅𝑥 ∈ 𝒫 𝑠((𝐹𝑐) ≤ (♯‘𝑥) ∧ (𝑥𝐶𝑀) ⊆ (𝑓 “ {𝑐})))}) → (𝑀 Ramsey 𝐹) ≤ 𝑁)
191, 2, 3, 15, 18syl31anc 1354 1 (𝜑 → (𝑀 Ramsey 𝐹) ≤ 𝑁)
Colors of variables: wff setvar class
Syntax hints:  wi 4  wa 387  wal 1506   = wceq 1508  wcel 2051  wral 3090  wrex 3091  {crab 3094  Vcvv 3417  wss 3831  𝒫 cpw 4425  {csn 4444   class class class wbr 4934  ccnv 5410  cima 5414  wf 6189  cfv 6193  (class class class)co 6982  cmpo 6984  𝑚 cmap 8212  cle 10481  0cn0 11713  chash 13511   Ramsey cram 16197
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1759  ax-4 1773  ax-5 1870  ax-6 1929  ax-7 1966  ax-8 2053  ax-9 2060  ax-10 2080  ax-11 2094  ax-12 2107  ax-13 2302  ax-ext 2752  ax-rep 5053  ax-sep 5064  ax-nul 5071  ax-pow 5123  ax-pr 5190  ax-un 7285  ax-cnex 10397  ax-resscn 10398  ax-1cn 10399  ax-icn 10400  ax-addcl 10401  ax-addrcl 10402  ax-mulcl 10403  ax-mulrcl 10404  ax-mulcom 10405  ax-addass 10406  ax-mulass 10407  ax-distr 10408  ax-i2m1 10409  ax-1ne0 10410  ax-1rid 10411  ax-rnegex 10412  ax-rrecex 10413  ax-cnre 10414  ax-pre-lttri 10415  ax-pre-lttrn 10416  ax-pre-ltadd 10417  ax-pre-mulgt0 10418
This theorem depends on definitions:  df-bi 199  df-an 388  df-or 835  df-3or 1070  df-3an 1071  df-tru 1511  df-ex 1744  df-nf 1748  df-sb 2017  df-mo 2551  df-eu 2589  df-clab 2761  df-cleq 2773  df-clel 2848  df-nfc 2920  df-ne 2970  df-nel 3076  df-ral 3095  df-rex 3096  df-reu 3097  df-rmo 3098  df-rab 3099  df-v 3419  df-sbc 3684  df-csb 3789  df-dif 3834  df-un 3836  df-in 3838  df-ss 3845  df-pss 3847  df-nul 4182  df-if 4354  df-pw 4427  df-sn 4445  df-pr 4447  df-tp 4449  df-op 4451  df-uni 4718  df-iun 4799  df-br 4935  df-opab 4997  df-mpt 5014  df-tr 5036  df-id 5316  df-eprel 5321  df-po 5330  df-so 5331  df-fr 5370  df-we 5372  df-xp 5417  df-rel 5418  df-cnv 5419  df-co 5420  df-dm 5421  df-rn 5422  df-res 5423  df-ima 5424  df-pred 5991  df-ord 6037  df-on 6038  df-lim 6039  df-suc 6040  df-iota 6157  df-fun 6195  df-fn 6196  df-f 6197  df-f1 6198  df-fo 6199  df-f1o 6200  df-fv 6201  df-riota 6943  df-ov 6985  df-oprab 6986  df-mpo 6987  df-om 7403  df-1st 7507  df-2nd 7508  df-wrecs 7756  df-recs 7818  df-rdg 7856  df-er 8095  df-map 8214  df-en 8313  df-dom 8314  df-sdom 8315  df-sup 8707  df-inf 8708  df-pnf 10482  df-mnf 10483  df-xr 10484  df-ltxr 10485  df-le 10486  df-sub 10678  df-neg 10679  df-nn 11446  df-n0 11714  df-z 11800  df-uz 12065  df-ram 16199
This theorem is referenced by:  ramub2  16212  0ram  16218  ram0  16220  ramz2  16222
  Copyright terms: Public domain W3C validator