Users' Mathboxes Mathbox for Mario Carneiro < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >   Mathboxes  >  erdszelem10 Structured version   Visualization version   GIF version

Theorem erdszelem10 30882
Description: Lemma for erdsze 30884. (Contributed by Mario Carneiro, 22-Jan-2015.)
Hypotheses
Ref Expression
erdsze.n (𝜑𝑁 ∈ ℕ)
erdsze.f (𝜑𝐹:(1...𝑁)–1-1→ℝ)
erdszelem.i 𝐼 = (𝑥 ∈ (1...𝑁) ↦ sup((# “ {𝑦 ∈ 𝒫 (1...𝑥) ∣ ((𝐹𝑦) Isom < , < (𝑦, (𝐹𝑦)) ∧ 𝑥𝑦)}), ℝ, < ))
erdszelem.j 𝐽 = (𝑥 ∈ (1...𝑁) ↦ sup((# “ {𝑦 ∈ 𝒫 (1...𝑥) ∣ ((𝐹𝑦) Isom < , < (𝑦, (𝐹𝑦)) ∧ 𝑥𝑦)}), ℝ, < ))
erdszelem.t 𝑇 = (𝑛 ∈ (1...𝑁) ↦ ⟨(𝐼𝑛), (𝐽𝑛)⟩)
erdszelem.r (𝜑𝑅 ∈ ℕ)
erdszelem.s (𝜑𝑆 ∈ ℕ)
erdszelem.m (𝜑 → ((𝑅 − 1) · (𝑆 − 1)) < 𝑁)
Assertion
Ref Expression
erdszelem10 (𝜑 → ∃𝑚 ∈ (1...𝑁)(¬ (𝐼𝑚) ∈ (1...(𝑅 − 1)) ∨ ¬ (𝐽𝑚) ∈ (1...(𝑆 − 1))))
Distinct variable groups:   𝑥,𝑦   𝑚,𝑛,𝑥,𝑦,𝐹   𝑛,𝐼,𝑥,𝑦   𝑛,𝐽,𝑥,𝑦   𝑅,𝑚,𝑥,𝑦   𝑚,𝑁,𝑛,𝑥,𝑦   𝜑,𝑚,𝑛,𝑥,𝑦   𝑆,𝑚,𝑥,𝑦   𝑇,𝑚
Allowed substitution hints:   𝑅(𝑛)   𝑆(𝑛)   𝑇(𝑥,𝑦,𝑛)   𝐼(𝑚)   𝐽(𝑚)

Proof of Theorem erdszelem10
Dummy variable 𝑠 is distinct from all other variables.
StepHypRef Expression
1 fzfi 12708 . . . . . . . 8 (1...(𝑅 − 1)) ∈ Fin
2 fzfi 12708 . . . . . . . 8 (1...(𝑆 − 1)) ∈ Fin
3 xpfi 8176 . . . . . . . 8 (((1...(𝑅 − 1)) ∈ Fin ∧ (1...(𝑆 − 1)) ∈ Fin) → ((1...(𝑅 − 1)) × (1...(𝑆 − 1))) ∈ Fin)
41, 2, 3mp2an 707 . . . . . . 7 ((1...(𝑅 − 1)) × (1...(𝑆 − 1))) ∈ Fin
5 ssdomg 7946 . . . . . . 7 (((1...(𝑅 − 1)) × (1...(𝑆 − 1))) ∈ Fin → (ran 𝑇 ⊆ ((1...(𝑅 − 1)) × (1...(𝑆 − 1))) → ran 𝑇 ≼ ((1...(𝑅 − 1)) × (1...(𝑆 − 1)))))
64, 5ax-mp 5 . . . . . 6 (ran 𝑇 ⊆ ((1...(𝑅 − 1)) × (1...(𝑆 − 1))) → ran 𝑇 ≼ ((1...(𝑅 − 1)) × (1...(𝑆 − 1))))
7 domnsym 8031 . . . . . 6 (ran 𝑇 ≼ ((1...(𝑅 − 1)) × (1...(𝑆 − 1))) → ¬ ((1...(𝑅 − 1)) × (1...(𝑆 − 1))) ≺ ran 𝑇)
86, 7syl 17 . . . . 5 (ran 𝑇 ⊆ ((1...(𝑅 − 1)) × (1...(𝑆 − 1))) → ¬ ((1...(𝑅 − 1)) × (1...(𝑆 − 1))) ≺ ran 𝑇)
9 erdszelem.m . . . . . . . 8 (𝜑 → ((𝑅 − 1) · (𝑆 − 1)) < 𝑁)
10 hashxp 13158 . . . . . . . . . 10 (((1...(𝑅 − 1)) ∈ Fin ∧ (1...(𝑆 − 1)) ∈ Fin) → (#‘((1...(𝑅 − 1)) × (1...(𝑆 − 1)))) = ((#‘(1...(𝑅 − 1))) · (#‘(1...(𝑆 − 1)))))
111, 2, 10mp2an 707 . . . . . . . . 9 (#‘((1...(𝑅 − 1)) × (1...(𝑆 − 1)))) = ((#‘(1...(𝑅 − 1))) · (#‘(1...(𝑆 − 1))))
12 erdszelem.r . . . . . . . . . . 11 (𝜑𝑅 ∈ ℕ)
13 nnm1nn0 11279 . . . . . . . . . . 11 (𝑅 ∈ ℕ → (𝑅 − 1) ∈ ℕ0)
14 hashfz1 13071 . . . . . . . . . . 11 ((𝑅 − 1) ∈ ℕ0 → (#‘(1...(𝑅 − 1))) = (𝑅 − 1))
1512, 13, 143syl 18 . . . . . . . . . 10 (𝜑 → (#‘(1...(𝑅 − 1))) = (𝑅 − 1))
16 erdszelem.s . . . . . . . . . . 11 (𝜑𝑆 ∈ ℕ)
17 nnm1nn0 11279 . . . . . . . . . . 11 (𝑆 ∈ ℕ → (𝑆 − 1) ∈ ℕ0)
18 hashfz1 13071 . . . . . . . . . . 11 ((𝑆 − 1) ∈ ℕ0 → (#‘(1...(𝑆 − 1))) = (𝑆 − 1))
1916, 17, 183syl 18 . . . . . . . . . 10 (𝜑 → (#‘(1...(𝑆 − 1))) = (𝑆 − 1))
2015, 19oveq12d 6623 . . . . . . . . 9 (𝜑 → ((#‘(1...(𝑅 − 1))) · (#‘(1...(𝑆 − 1)))) = ((𝑅 − 1) · (𝑆 − 1)))
2111, 20syl5eq 2672 . . . . . . . 8 (𝜑 → (#‘((1...(𝑅 − 1)) × (1...(𝑆 − 1)))) = ((𝑅 − 1) · (𝑆 − 1)))
22 erdsze.n . . . . . . . . . 10 (𝜑𝑁 ∈ ℕ)
2322nnnn0d 11296 . . . . . . . . 9 (𝜑𝑁 ∈ ℕ0)
24 hashfz1 13071 . . . . . . . . 9 (𝑁 ∈ ℕ0 → (#‘(1...𝑁)) = 𝑁)
2523, 24syl 17 . . . . . . . 8 (𝜑 → (#‘(1...𝑁)) = 𝑁)
269, 21, 253brtr4d 4650 . . . . . . 7 (𝜑 → (#‘((1...(𝑅 − 1)) × (1...(𝑆 − 1)))) < (#‘(1...𝑁)))
27 fzfid 12709 . . . . . . . 8 (𝜑 → (1...𝑁) ∈ Fin)
28 hashsdom 13107 . . . . . . . 8 ((((1...(𝑅 − 1)) × (1...(𝑆 − 1))) ∈ Fin ∧ (1...𝑁) ∈ Fin) → ((#‘((1...(𝑅 − 1)) × (1...(𝑆 − 1)))) < (#‘(1...𝑁)) ↔ ((1...(𝑅 − 1)) × (1...(𝑆 − 1))) ≺ (1...𝑁)))
294, 27, 28sylancr 694 . . . . . . 7 (𝜑 → ((#‘((1...(𝑅 − 1)) × (1...(𝑆 − 1)))) < (#‘(1...𝑁)) ↔ ((1...(𝑅 − 1)) × (1...(𝑆 − 1))) ≺ (1...𝑁)))
3026, 29mpbid 222 . . . . . 6 (𝜑 → ((1...(𝑅 − 1)) × (1...(𝑆 − 1))) ≺ (1...𝑁))
31 erdsze.f . . . . . . . 8 (𝜑𝐹:(1...𝑁)–1-1→ℝ)
32 erdszelem.i . . . . . . . 8 𝐼 = (𝑥 ∈ (1...𝑁) ↦ sup((# “ {𝑦 ∈ 𝒫 (1...𝑥) ∣ ((𝐹𝑦) Isom < , < (𝑦, (𝐹𝑦)) ∧ 𝑥𝑦)}), ℝ, < ))
33 erdszelem.j . . . . . . . 8 𝐽 = (𝑥 ∈ (1...𝑁) ↦ sup((# “ {𝑦 ∈ 𝒫 (1...𝑥) ∣ ((𝐹𝑦) Isom < , < (𝑦, (𝐹𝑦)) ∧ 𝑥𝑦)}), ℝ, < ))
34 erdszelem.t . . . . . . . 8 𝑇 = (𝑛 ∈ (1...𝑁) ↦ ⟨(𝐼𝑛), (𝐽𝑛)⟩)
3522, 31, 32, 33, 34erdszelem9 30881 . . . . . . 7 (𝜑𝑇:(1...𝑁)–1-1→(ℕ × ℕ))
36 f1f1orn 6107 . . . . . . 7 (𝑇:(1...𝑁)–1-1→(ℕ × ℕ) → 𝑇:(1...𝑁)–1-1-onto→ran 𝑇)
37 ovex 6633 . . . . . . . 8 (1...𝑁) ∈ V
3837f1oen 7921 . . . . . . 7 (𝑇:(1...𝑁)–1-1-onto→ran 𝑇 → (1...𝑁) ≈ ran 𝑇)
3935, 36, 383syl 18 . . . . . 6 (𝜑 → (1...𝑁) ≈ ran 𝑇)
40 sdomentr 8039 . . . . . 6 ((((1...(𝑅 − 1)) × (1...(𝑆 − 1))) ≺ (1...𝑁) ∧ (1...𝑁) ≈ ran 𝑇) → ((1...(𝑅 − 1)) × (1...(𝑆 − 1))) ≺ ran 𝑇)
4130, 39, 40syl2anc 692 . . . . 5 (𝜑 → ((1...(𝑅 − 1)) × (1...(𝑆 − 1))) ≺ ran 𝑇)
428, 41nsyl3 133 . . . 4 (𝜑 → ¬ ran 𝑇 ⊆ ((1...(𝑅 − 1)) × (1...(𝑆 − 1))))
43 nss 3647 . . . . 5 (¬ ran 𝑇 ⊆ ((1...(𝑅 − 1)) × (1...(𝑆 − 1))) ↔ ∃𝑠(𝑠 ∈ ran 𝑇 ∧ ¬ 𝑠 ∈ ((1...(𝑅 − 1)) × (1...(𝑆 − 1)))))
44 df-rex 2918 . . . . 5 (∃𝑠 ∈ ran 𝑇 ¬ 𝑠 ∈ ((1...(𝑅 − 1)) × (1...(𝑆 − 1))) ↔ ∃𝑠(𝑠 ∈ ran 𝑇 ∧ ¬ 𝑠 ∈ ((1...(𝑅 − 1)) × (1...(𝑆 − 1)))))
4543, 44bitr4i 267 . . . 4 (¬ ran 𝑇 ⊆ ((1...(𝑅 − 1)) × (1...(𝑆 − 1))) ↔ ∃𝑠 ∈ ran 𝑇 ¬ 𝑠 ∈ ((1...(𝑅 − 1)) × (1...(𝑆 − 1))))
4642, 45sylib 208 . . 3 (𝜑 → ∃𝑠 ∈ ran 𝑇 ¬ 𝑠 ∈ ((1...(𝑅 − 1)) × (1...(𝑆 − 1))))
47 f1fn 6061 . . . 4 (𝑇:(1...𝑁)–1-1→(ℕ × ℕ) → 𝑇 Fn (1...𝑁))
48 eleq1 2692 . . . . . 6 (𝑠 = (𝑇𝑚) → (𝑠 ∈ ((1...(𝑅 − 1)) × (1...(𝑆 − 1))) ↔ (𝑇𝑚) ∈ ((1...(𝑅 − 1)) × (1...(𝑆 − 1)))))
4948notbid 308 . . . . 5 (𝑠 = (𝑇𝑚) → (¬ 𝑠 ∈ ((1...(𝑅 − 1)) × (1...(𝑆 − 1))) ↔ ¬ (𝑇𝑚) ∈ ((1...(𝑅 − 1)) × (1...(𝑆 − 1)))))
5049rexrn 6318 . . . 4 (𝑇 Fn (1...𝑁) → (∃𝑠 ∈ ran 𝑇 ¬ 𝑠 ∈ ((1...(𝑅 − 1)) × (1...(𝑆 − 1))) ↔ ∃𝑚 ∈ (1...𝑁) ¬ (𝑇𝑚) ∈ ((1...(𝑅 − 1)) × (1...(𝑆 − 1)))))
5135, 47, 503syl 18 . . 3 (𝜑 → (∃𝑠 ∈ ran 𝑇 ¬ 𝑠 ∈ ((1...(𝑅 − 1)) × (1...(𝑆 − 1))) ↔ ∃𝑚 ∈ (1...𝑁) ¬ (𝑇𝑚) ∈ ((1...(𝑅 − 1)) × (1...(𝑆 − 1)))))
5246, 51mpbid 222 . 2 (𝜑 → ∃𝑚 ∈ (1...𝑁) ¬ (𝑇𝑚) ∈ ((1...(𝑅 − 1)) × (1...(𝑆 − 1))))
53 fveq2 6150 . . . . . . . . . 10 (𝑛 = 𝑚 → (𝐼𝑛) = (𝐼𝑚))
54 fveq2 6150 . . . . . . . . . 10 (𝑛 = 𝑚 → (𝐽𝑛) = (𝐽𝑚))
5553, 54opeq12d 4383 . . . . . . . . 9 (𝑛 = 𝑚 → ⟨(𝐼𝑛), (𝐽𝑛)⟩ = ⟨(𝐼𝑚), (𝐽𝑚)⟩)
56 opex 4898 . . . . . . . . 9 ⟨(𝐼𝑚), (𝐽𝑚)⟩ ∈ V
5755, 34, 56fvmpt 6240 . . . . . . . 8 (𝑚 ∈ (1...𝑁) → (𝑇𝑚) = ⟨(𝐼𝑚), (𝐽𝑚)⟩)
5857adantl 482 . . . . . . 7 ((𝜑𝑚 ∈ (1...𝑁)) → (𝑇𝑚) = ⟨(𝐼𝑚), (𝐽𝑚)⟩)
5958eleq1d 2688 . . . . . 6 ((𝜑𝑚 ∈ (1...𝑁)) → ((𝑇𝑚) ∈ ((1...(𝑅 − 1)) × (1...(𝑆 − 1))) ↔ ⟨(𝐼𝑚), (𝐽𝑚)⟩ ∈ ((1...(𝑅 − 1)) × (1...(𝑆 − 1)))))
60 opelxp 5111 . . . . . 6 (⟨(𝐼𝑚), (𝐽𝑚)⟩ ∈ ((1...(𝑅 − 1)) × (1...(𝑆 − 1))) ↔ ((𝐼𝑚) ∈ (1...(𝑅 − 1)) ∧ (𝐽𝑚) ∈ (1...(𝑆 − 1))))
6159, 60syl6bb 276 . . . . 5 ((𝜑𝑚 ∈ (1...𝑁)) → ((𝑇𝑚) ∈ ((1...(𝑅 − 1)) × (1...(𝑆 − 1))) ↔ ((𝐼𝑚) ∈ (1...(𝑅 − 1)) ∧ (𝐽𝑚) ∈ (1...(𝑆 − 1)))))
6261notbid 308 . . . 4 ((𝜑𝑚 ∈ (1...𝑁)) → (¬ (𝑇𝑚) ∈ ((1...(𝑅 − 1)) × (1...(𝑆 − 1))) ↔ ¬ ((𝐼𝑚) ∈ (1...(𝑅 − 1)) ∧ (𝐽𝑚) ∈ (1...(𝑆 − 1)))))
63 ianor 509 . . . 4 (¬ ((𝐼𝑚) ∈ (1...(𝑅 − 1)) ∧ (𝐽𝑚) ∈ (1...(𝑆 − 1))) ↔ (¬ (𝐼𝑚) ∈ (1...(𝑅 − 1)) ∨ ¬ (𝐽𝑚) ∈ (1...(𝑆 − 1))))
6462, 63syl6bb 276 . . 3 ((𝜑𝑚 ∈ (1...𝑁)) → (¬ (𝑇𝑚) ∈ ((1...(𝑅 − 1)) × (1...(𝑆 − 1))) ↔ (¬ (𝐼𝑚) ∈ (1...(𝑅 − 1)) ∨ ¬ (𝐽𝑚) ∈ (1...(𝑆 − 1)))))
6564rexbidva 3047 . 2 (𝜑 → (∃𝑚 ∈ (1...𝑁) ¬ (𝑇𝑚) ∈ ((1...(𝑅 − 1)) × (1...(𝑆 − 1))) ↔ ∃𝑚 ∈ (1...𝑁)(¬ (𝐼𝑚) ∈ (1...(𝑅 − 1)) ∨ ¬ (𝐽𝑚) ∈ (1...(𝑆 − 1)))))
6652, 65mpbid 222 1 (𝜑 → ∃𝑚 ∈ (1...𝑁)(¬ (𝐼𝑚) ∈ (1...(𝑅 − 1)) ∨ ¬ (𝐽𝑚) ∈ (1...(𝑆 − 1))))
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wi 4  wb 196  wo 383  wa 384   = wceq 1480  wex 1701  wcel 1992  wrex 2913  {crab 2916  wss 3560  𝒫 cpw 4135  cop 4159   class class class wbr 4618  cmpt 4678   × cxp 5077  ccnv 5078  ran crn 5080  cres 5081  cima 5082   Fn wfn 5845  1-1wf1 5847  1-1-ontowf1o 5849  cfv 5850   Isom wiso 5851  (class class class)co 6605  cen 7897  cdom 7898  csdm 7899  Fincfn 7900  supcsup 8291  cr 9880  1c1 9882   · cmul 9886   < clt 10019  cmin 10211  cn 10965  0cn0 11237  ...cfz 12265  #chash 13054
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1719  ax-4 1734  ax-5 1841  ax-6 1890  ax-7 1937  ax-8 1994  ax-9 2001  ax-10 2021  ax-11 2036  ax-12 2049  ax-13 2250  ax-ext 2606  ax-rep 4736  ax-sep 4746  ax-nul 4754  ax-pow 4808  ax-pr 4872  ax-un 6903  ax-cnex 9937  ax-resscn 9938  ax-1cn 9939  ax-icn 9940  ax-addcl 9941  ax-addrcl 9942  ax-mulcl 9943  ax-mulrcl 9944  ax-mulcom 9945  ax-addass 9946  ax-mulass 9947  ax-distr 9948  ax-i2m1 9949  ax-1ne0 9950  ax-1rid 9951  ax-rnegex 9952  ax-rrecex 9953  ax-cnre 9954  ax-pre-lttri 9955  ax-pre-lttrn 9956  ax-pre-ltadd 9957  ax-pre-mulgt0 9958  ax-pre-sup 9959
This theorem depends on definitions:  df-bi 197  df-or 385  df-an 386  df-3or 1037  df-3an 1038  df-tru 1483  df-ex 1702  df-nf 1707  df-sb 1883  df-eu 2478  df-mo 2479  df-clab 2613  df-cleq 2619  df-clel 2622  df-nfc 2756  df-ne 2797  df-nel 2900  df-ral 2917  df-rex 2918  df-reu 2919  df-rmo 2920  df-rab 2921  df-v 3193  df-sbc 3423  df-csb 3520  df-dif 3563  df-un 3565  df-in 3567  df-ss 3574  df-pss 3576  df-nul 3897  df-if 4064  df-pw 4137  df-sn 4154  df-pr 4156  df-tp 4158  df-op 4160  df-uni 4408  df-int 4446  df-iun 4492  df-br 4619  df-opab 4679  df-mpt 4680  df-tr 4718  df-eprel 4990  df-id 4994  df-po 5000  df-so 5001  df-fr 5038  df-we 5040  df-xp 5085  df-rel 5086  df-cnv 5087  df-co 5088  df-dm 5089  df-rn 5090  df-res 5091  df-ima 5092  df-pred 5642  df-ord 5688  df-on 5689  df-lim 5690  df-suc 5691  df-iota 5813  df-fun 5852  df-fn 5853  df-f 5854  df-f1 5855  df-fo 5856  df-f1o 5857  df-fv 5858  df-isom 5859  df-riota 6566  df-ov 6608  df-oprab 6609  df-mpt2 6610  df-om 7014  df-1st 7116  df-2nd 7117  df-wrecs 7353  df-recs 7414  df-rdg 7452  df-1o 7506  df-2o 7507  df-oadd 7510  df-er 7688  df-map 7805  df-en 7901  df-dom 7902  df-sdom 7903  df-fin 7904  df-sup 8293  df-card 8710  df-cda 8935  df-pnf 10021  df-mnf 10022  df-xr 10023  df-ltxr 10024  df-le 10025  df-sub 10213  df-neg 10214  df-nn 10966  df-n0 11238  df-xnn0 11309  df-z 11323  df-uz 11632  df-fz 12266  df-hash 13055
This theorem is referenced by:  erdszelem11  30883
  Copyright terms: Public domain W3C validator