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

Theorem ramcl2lem 16083
Description: Lemma for extended real closure of the Ramsey number function. (Contributed by Mario Carneiro, 20-Apr-2015.) (Revised by AV, 14-Sep-2020.)
Hypotheses
Ref Expression
ramval.c 𝐶 = (𝑎 ∈ V, 𝑖 ∈ ℕ0 ↦ {𝑏 ∈ 𝒫 𝑎 ∣ (♯‘𝑏) = 𝑖})
ramval.t 𝑇 = {𝑛 ∈ ℕ0 ∣ ∀𝑠(𝑛 ≤ (♯‘𝑠) → ∀𝑓 ∈ (𝑅𝑚 (𝑠𝐶𝑀))∃𝑐𝑅𝑥 ∈ 𝒫 𝑠((𝐹𝑐) ≤ (♯‘𝑥) ∧ (𝑥𝐶𝑀) ⊆ (𝑓 “ {𝑐})))}
Assertion
Ref Expression
ramcl2lem ((𝑀 ∈ ℕ0𝑅𝑉𝐹:𝑅⟶ℕ0) → (𝑀 Ramsey 𝐹) = if(𝑇 = ∅, +∞, inf(𝑇, ℝ, < )))
Distinct variable groups:   𝑓,𝑐,𝑥,𝐶   𝑛,𝑐,𝑠,𝐹,𝑓,𝑥   𝑎,𝑏,𝑐,𝑓,𝑖,𝑛,𝑠,𝑥,𝑀   𝑅,𝑐,𝑓,𝑛,𝑠,𝑥   𝑉,𝑐,𝑓,𝑛,𝑠,𝑥
Allowed substitution hints:   𝐶(𝑖,𝑛,𝑠,𝑎,𝑏)   𝑅(𝑖,𝑎,𝑏)   𝑇(𝑥,𝑓,𝑖,𝑛,𝑠,𝑎,𝑏,𝑐)   𝐹(𝑖,𝑎,𝑏)   𝑉(𝑖,𝑎,𝑏)

Proof of Theorem ramcl2lem
Dummy variable 𝑧 is distinct from all other variables.
StepHypRef Expression
1 eqeq2 2835 . 2 (+∞ = if(𝑇 = ∅, +∞, inf(𝑇, ℝ, < )) → ((𝑀 Ramsey 𝐹) = +∞ ↔ (𝑀 Ramsey 𝐹) = if(𝑇 = ∅, +∞, inf(𝑇, ℝ, < ))))
2 eqeq2 2835 . 2 (inf(𝑇, ℝ, < ) = if(𝑇 = ∅, +∞, inf(𝑇, ℝ, < )) → ((𝑀 Ramsey 𝐹) = inf(𝑇, ℝ, < ) ↔ (𝑀 Ramsey 𝐹) = if(𝑇 = ∅, +∞, inf(𝑇, ℝ, < ))))
3 ramval.c . . . 4 𝐶 = (𝑎 ∈ V, 𝑖 ∈ ℕ0 ↦ {𝑏 ∈ 𝒫 𝑎 ∣ (♯‘𝑏) = 𝑖})
4 ramval.t . . . 4 𝑇 = {𝑛 ∈ ℕ0 ∣ ∀𝑠(𝑛 ≤ (♯‘𝑠) → ∀𝑓 ∈ (𝑅𝑚 (𝑠𝐶𝑀))∃𝑐𝑅𝑥 ∈ 𝒫 𝑠((𝐹𝑐) ≤ (♯‘𝑥) ∧ (𝑥𝐶𝑀) ⊆ (𝑓 “ {𝑐})))}
53, 4ramval 16082 . . 3 ((𝑀 ∈ ℕ0𝑅𝑉𝐹:𝑅⟶ℕ0) → (𝑀 Ramsey 𝐹) = inf(𝑇, ℝ*, < ))
6 infeq1 8650 . . . 4 (𝑇 = ∅ → inf(𝑇, ℝ*, < ) = inf(∅, ℝ*, < ))
7 xrinf0 12455 . . . 4 inf(∅, ℝ*, < ) = +∞
86, 7syl6eq 2876 . . 3 (𝑇 = ∅ → inf(𝑇, ℝ*, < ) = +∞)
95, 8sylan9eq 2880 . 2 (((𝑀 ∈ ℕ0𝑅𝑉𝐹:𝑅⟶ℕ0) ∧ 𝑇 = ∅) → (𝑀 Ramsey 𝐹) = +∞)
10 df-ne 2999 . . 3 (𝑇 ≠ ∅ ↔ ¬ 𝑇 = ∅)
115adantr 474 . . . 4 (((𝑀 ∈ ℕ0𝑅𝑉𝐹:𝑅⟶ℕ0) ∧ 𝑇 ≠ ∅) → (𝑀 Ramsey 𝐹) = inf(𝑇, ℝ*, < ))
12 xrltso 12259 . . . . . 6 < Or ℝ*
1312a1i 11 . . . . 5 (((𝑀 ∈ ℕ0𝑅𝑉𝐹:𝑅⟶ℕ0) ∧ 𝑇 ≠ ∅) → < Or ℝ*)
14 ssrab2 3911 . . . . . . . . 9 {𝑛 ∈ ℕ0 ∣ ∀𝑠(𝑛 ≤ (♯‘𝑠) → ∀𝑓 ∈ (𝑅𝑚 (𝑠𝐶𝑀))∃𝑐𝑅𝑥 ∈ 𝒫 𝑠((𝐹𝑐) ≤ (♯‘𝑥) ∧ (𝑥𝐶𝑀) ⊆ (𝑓 “ {𝑐})))} ⊆ ℕ0
154, 14eqsstri 3859 . . . . . . . 8 𝑇 ⊆ ℕ0
16 nn0ssre 11621 . . . . . . . 8 0 ⊆ ℝ
1715, 16sstri 3835 . . . . . . 7 𝑇 ⊆ ℝ
18 nn0uz 12003 . . . . . . . . . 10 0 = (ℤ‘0)
1915, 18sseqtri 3861 . . . . . . . . 9 𝑇 ⊆ (ℤ‘0)
2019a1i 11 . . . . . . . 8 ((𝑀 ∈ ℕ0𝑅𝑉𝐹:𝑅⟶ℕ0) → 𝑇 ⊆ (ℤ‘0))
21 infssuzcl 12054 . . . . . . . 8 ((𝑇 ⊆ (ℤ‘0) ∧ 𝑇 ≠ ∅) → inf(𝑇, ℝ, < ) ∈ 𝑇)
2220, 21sylan 577 . . . . . . 7 (((𝑀 ∈ ℕ0𝑅𝑉𝐹:𝑅⟶ℕ0) ∧ 𝑇 ≠ ∅) → inf(𝑇, ℝ, < ) ∈ 𝑇)
2317, 22sseldi 3824 . . . . . 6 (((𝑀 ∈ ℕ0𝑅𝑉𝐹:𝑅⟶ℕ0) ∧ 𝑇 ≠ ∅) → inf(𝑇, ℝ, < ) ∈ ℝ)
2423rexrd 10405 . . . . 5 (((𝑀 ∈ ℕ0𝑅𝑉𝐹:𝑅⟶ℕ0) ∧ 𝑇 ≠ ∅) → inf(𝑇, ℝ, < ) ∈ ℝ*)
25 simpr 479 . . . . . . 7 ((((𝑀 ∈ ℕ0𝑅𝑉𝐹:𝑅⟶ℕ0) ∧ 𝑇 ≠ ∅) ∧ 𝑧𝑇) → 𝑧𝑇)
26 infssuzle 12053 . . . . . . 7 ((𝑇 ⊆ (ℤ‘0) ∧ 𝑧𝑇) → inf(𝑇, ℝ, < ) ≤ 𝑧)
2719, 25, 26sylancr 583 . . . . . 6 ((((𝑀 ∈ ℕ0𝑅𝑉𝐹:𝑅⟶ℕ0) ∧ 𝑇 ≠ ∅) ∧ 𝑧𝑇) → inf(𝑇, ℝ, < ) ≤ 𝑧)
2823adantr 474 . . . . . . 7 ((((𝑀 ∈ ℕ0𝑅𝑉𝐹:𝑅⟶ℕ0) ∧ 𝑇 ≠ ∅) ∧ 𝑧𝑇) → inf(𝑇, ℝ, < ) ∈ ℝ)
2917a1i 11 . . . . . . . 8 (((𝑀 ∈ ℕ0𝑅𝑉𝐹:𝑅⟶ℕ0) ∧ 𝑇 ≠ ∅) → 𝑇 ⊆ ℝ)
3029sselda 3826 . . . . . . 7 ((((𝑀 ∈ ℕ0𝑅𝑉𝐹:𝑅⟶ℕ0) ∧ 𝑇 ≠ ∅) ∧ 𝑧𝑇) → 𝑧 ∈ ℝ)
3128, 30lenltd 10501 . . . . . 6 ((((𝑀 ∈ ℕ0𝑅𝑉𝐹:𝑅⟶ℕ0) ∧ 𝑇 ≠ ∅) ∧ 𝑧𝑇) → (inf(𝑇, ℝ, < ) ≤ 𝑧 ↔ ¬ 𝑧 < inf(𝑇, ℝ, < )))
3227, 31mpbid 224 . . . . 5 ((((𝑀 ∈ ℕ0𝑅𝑉𝐹:𝑅⟶ℕ0) ∧ 𝑇 ≠ ∅) ∧ 𝑧𝑇) → ¬ 𝑧 < inf(𝑇, ℝ, < ))
3313, 24, 22, 32infmin 8668 . . . 4 (((𝑀 ∈ ℕ0𝑅𝑉𝐹:𝑅⟶ℕ0) ∧ 𝑇 ≠ ∅) → inf(𝑇, ℝ*, < ) = inf(𝑇, ℝ, < ))
3411, 33eqtrd 2860 . . 3 (((𝑀 ∈ ℕ0𝑅𝑉𝐹:𝑅⟶ℕ0) ∧ 𝑇 ≠ ∅) → (𝑀 Ramsey 𝐹) = inf(𝑇, ℝ, < ))
3510, 34sylan2br 590 . 2 (((𝑀 ∈ ℕ0𝑅𝑉𝐹:𝑅⟶ℕ0) ∧ ¬ 𝑇 = ∅) → (𝑀 Ramsey 𝐹) = inf(𝑇, ℝ, < ))
361, 2, 9, 35ifbothda 4342 1 ((𝑀 ∈ ℕ0𝑅𝑉𝐹:𝑅⟶ℕ0) → (𝑀 Ramsey 𝐹) = if(𝑇 = ∅, +∞, inf(𝑇, ℝ, < )))
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wi 4  wa 386  w3a 1113  wal 1656   = wceq 1658  wcel 2166  wne 2998  wral 3116  wrex 3117  {crab 3120  Vcvv 3413  wss 3797  c0 4143  ifcif 4305  𝒫 cpw 4377  {csn 4396   class class class wbr 4872   Or wor 5261  ccnv 5340  cima 5344  wf 6118  cfv 6122  (class class class)co 6904  cmpt2 6906  𝑚 cmap 8121  infcinf 8615  cr 10250  0cc0 10251  +∞cpnf 10387  *cxr 10389   < clt 10390  cle 10391  0cn0 11617  cuz 11967  chash 13409   Ramsey cram 16073
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1896  ax-4 1910  ax-5 2011  ax-6 2077  ax-7 2114  ax-8 2168  ax-9 2175  ax-10 2194  ax-11 2209  ax-12 2222  ax-13 2390  ax-ext 2802  ax-rep 4993  ax-sep 5004  ax-nul 5012  ax-pow 5064  ax-pr 5126  ax-un 7208  ax-cnex 10307  ax-resscn 10308  ax-1cn 10309  ax-icn 10310  ax-addcl 10311  ax-addrcl 10312  ax-mulcl 10313  ax-mulrcl 10314  ax-mulcom 10315  ax-addass 10316  ax-mulass 10317  ax-distr 10318  ax-i2m1 10319  ax-1ne0 10320  ax-1rid 10321  ax-rnegex 10322  ax-rrecex 10323  ax-cnre 10324  ax-pre-lttri 10325  ax-pre-lttrn 10326  ax-pre-ltadd 10327  ax-pre-mulgt0 10328
This theorem depends on definitions:  df-bi 199  df-an 387  df-or 881  df-3or 1114  df-3an 1115  df-tru 1662  df-ex 1881  df-nf 1885  df-sb 2070  df-mo 2604  df-eu 2639  df-clab 2811  df-cleq 2817  df-clel 2820  df-nfc 2957  df-ne 2999  df-nel 3102  df-ral 3121  df-rex 3122  df-reu 3123  df-rmo 3124  df-rab 3125  df-v 3415  df-sbc 3662  df-csb 3757  df-dif 3800  df-un 3802  df-in 3804  df-ss 3811  df-pss 3813  df-nul 4144  df-if 4306  df-pw 4379  df-sn 4397  df-pr 4399  df-tp 4401  df-op 4403  df-uni 4658  df-iun 4741  df-br 4873  df-opab 4935  df-mpt 4952  df-tr 4975  df-id 5249  df-eprel 5254  df-po 5262  df-so 5263  df-fr 5300  df-we 5302  df-xp 5347  df-rel 5348  df-cnv 5349  df-co 5350  df-dm 5351  df-rn 5352  df-res 5353  df-ima 5354  df-pred 5919  df-ord 5965  df-on 5966  df-lim 5967  df-suc 5968  df-iota 6085  df-fun 6124  df-fn 6125  df-f 6126  df-f1 6127  df-fo 6128  df-f1o 6129  df-fv 6130  df-riota 6865  df-ov 6907  df-oprab 6908  df-mpt2 6909  df-om 7326  df-1st 7427  df-2nd 7428  df-wrecs 7671  df-recs 7733  df-rdg 7771  df-er 8008  df-map 8123  df-en 8222  df-dom 8223  df-sdom 8224  df-sup 8616  df-inf 8617  df-pnf 10392  df-mnf 10393  df-xr 10394  df-ltxr 10395  df-le 10396  df-sub 10586  df-neg 10587  df-nn 11350  df-n0 11618  df-z 11704  df-uz 11968  df-ram 16075
This theorem is referenced by:  ramtcl  16084  ramtcl2  16085  ramtub  16086  ramcl2  16090
  Copyright terms: Public domain W3C validator