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

Theorem rexuzre 15529
Description: Convert an upper real quantifier to an upper integer quantifier. (Contributed by Mario Carneiro, 7-May-2016.)
Hypothesis
Ref Expression
rexuz3.1 𝑍 = (ℤ≥‘𝑀)
Assertion
Ref Expression
rexuzre (𝑀 ∈ ℤ → (∃𝑗 ∈ 𝑍 ∀𝑘 ∈ (ℤ≥‘𝑗)𝜑 ↔ ∃𝑗 ∈ ℝ ∀𝑘 ∈ 𝑍 (𝑗 ≤ 𝑘 → 𝜑)))
Distinct variable groups:   𝑗,𝑀   𝜑,𝑗   𝑗,𝑘,𝑍   𝑘,𝑀
Allowed substitution hint:   𝜑(𝑘)

Proof of Theorem rexuzre
Dummy variable 𝑚 is distinct from all other variables.
StepHypRef Expression
1 eluzelre 12983 . . . . . 6 (𝑗 ∈ (ℤ≥‘𝑀) → 𝑗 ∈ ℝ)
2 rexuz3.1 . . . . . 6 𝑍 = (ℤ≥‘𝑀)
31, 2eleq2s 2878 . . . . 5 (𝑗 ∈ 𝑍 → 𝑗 ∈ ℝ)
43adantr 486 . . . 4 ((𝑗 ∈ 𝑍 ∧ ∀𝑘 ∈ (ℤ≥‘𝑗)𝜑) → 𝑗 ∈ ℝ)
5 eluzelz 12982 . . . . . . . . . . . 12 (𝑗 ∈ (ℤ≥‘𝑀) → 𝑗 ∈ ℤ)
65, 2eleq2s 2878 . . . . . . . . . . 11 (𝑗 ∈ 𝑍 → 𝑗 ∈ ℤ)
7 eluzelz 12982 . . . . . . . . . . . 12 (𝑘 ∈ (ℤ≥‘𝑀) → 𝑘 ∈ ℤ)
87, 2eleq2s 2878 . . . . . . . . . . 11 (𝑘 ∈ 𝑍 → 𝑘 ∈ ℤ)
9 eluz 12986 . . . . . . . . . . 11 ((𝑗 ∈ ℤ ∧ 𝑘 ∈ ℤ) → (𝑘 ∈ (ℤ≥‘𝑗) ↔ 𝑗 ≤ 𝑘))
106, 8, 9syl2an 608 . . . . . . . . . 10 ((𝑗 ∈ 𝑍 ∧ 𝑘 ∈ 𝑍) → (𝑘 ∈ (ℤ≥‘𝑗) ↔ 𝑗 ≤ 𝑘))
1110biimprd 251 . . . . . . . . 9 ((𝑗 ∈ 𝑍 ∧ 𝑘 ∈ 𝑍) → (𝑗 ≤ 𝑘 → 𝑘 ∈ (ℤ≥‘𝑗)))
1211expimpd 459 . . . . . . . 8 (𝑗 ∈ 𝑍 → ((𝑘 ∈ 𝑍 ∧ 𝑗 ≤ 𝑘) → 𝑘 ∈ (ℤ≥‘𝑗)))
1312imim1d 83 . . . . . . 7 (𝑗 ∈ 𝑍 → ((𝑘 ∈ (ℤ≥‘𝑗) → 𝜑) → ((𝑘 ∈ 𝑍 ∧ 𝑗 ≤ 𝑘) → 𝜑)))
1413exp4a 437 . . . . . 6 (𝑗 ∈ 𝑍 → ((𝑘 ∈ (ℤ≥‘𝑗) → 𝜑) → (𝑘 ∈ 𝑍 → (𝑗 ≤ 𝑘 → 𝜑))))
1514ralimdv2 3171 . . . . 5 (𝑗 ∈ 𝑍 → (∀𝑘 ∈ (ℤ≥‘𝑗)𝜑 → ∀𝑘 ∈ 𝑍 (𝑗 ≤ 𝑘 → 𝜑)))
1615imp 412 . . . 4 ((𝑗 ∈ 𝑍 ∧ ∀𝑘 ∈ (ℤ≥‘𝑗)𝜑) → ∀𝑘 ∈ 𝑍 (𝑗 ≤ 𝑘 → 𝜑))
174, 16jca 521 . . 3 ((𝑗 ∈ 𝑍 ∧ ∀𝑘 ∈ (ℤ≥‘𝑗)𝜑) → (𝑗 ∈ ℝ ∧ ∀𝑘 ∈ 𝑍 (𝑗 ≤ 𝑘 → 𝜑)))
1817reximi2 3095 . 2 (∃𝑗 ∈ 𝑍 ∀𝑘 ∈ (ℤ≥‘𝑗)𝜑 → ∃𝑗 ∈ ℝ ∀𝑘 ∈ 𝑍 (𝑗 ≤ 𝑘 → 𝜑))
19 simpl 488 . . . . . . 7 ((𝑀 ∈ ℤ ∧ 𝑗 ∈ ℝ) → 𝑀 ∈ ℤ)
20 flcl 13942 . . . . . . . . . 10 (𝑗 ∈ ℝ → (⌊‘𝑗) ∈ ℤ)
2120adantl 487 . . . . . . . . 9 ((𝑀 ∈ ℤ ∧ 𝑗 ∈ ℝ) → (⌊‘𝑗) ∈ ℤ)
2221peano2zd 12813 . . . . . . . 8 ((𝑀 ∈ ℤ ∧ 𝑗 ∈ ℝ) → ((⌊‘𝑗) + 1) ∈ ℤ)
2322, 19ifcld 4528 . . . . . . 7 ((𝑀 ∈ ℤ ∧ 𝑗 ∈ ℝ) → if(𝑀 ≤ ((⌊‘𝑗) + 1), ((⌊‘𝑗) + 1), 𝑀) ∈ ℤ)
24 zre 12704 . . . . . . . 8 (𝑀 ∈ ℤ → 𝑀 ∈ ℝ)
25 reflcl 13943 . . . . . . . . 9 (𝑗 ∈ ℝ → (⌊‘𝑗) ∈ ℝ)
26 peano2re 11490 . . . . . . . . 9 ((⌊‘𝑗) ∈ ℝ → ((⌊‘𝑗) + 1) ∈ ℝ)
2725, 26syl 18 . . . . . . . 8 (𝑗 ∈ ℝ → ((⌊‘𝑗) + 1) ∈ ℝ)
28 max1 13322 . . . . . . . 8 ((𝑀 ∈ ℝ ∧ ((⌊‘𝑗) + 1) ∈ ℝ) → 𝑀 ≤ if(𝑀 ≤ ((⌊‘𝑗) + 1), ((⌊‘𝑗) + 1), 𝑀))
2924, 27, 28syl2an 608 . . . . . . 7 ((𝑀 ∈ ℤ ∧ 𝑗 ∈ ℝ) → 𝑀 ≤ if(𝑀 ≤ ((⌊‘𝑗) + 1), ((⌊‘𝑗) + 1), 𝑀))
30 eluz2 12978 . . . . . . 7 (if(𝑀 ≤ ((⌊‘𝑗) + 1), ((⌊‘𝑗) + 1), 𝑀) ∈ (ℤ≥‘𝑀) ↔ (𝑀 ∈ ℤ ∧ if(𝑀 ≤ ((⌊‘𝑗) + 1), ((⌊‘𝑗) + 1), 𝑀) ∈ ℤ ∧ 𝑀 ≤ if(𝑀 ≤ ((⌊‘𝑗) + 1), ((⌊‘𝑗) + 1), 𝑀)))
3119, 23, 29, 30syl3anbrc 1362 . . . . . 6 ((𝑀 ∈ ℤ ∧ 𝑗 ∈ ℝ) → if(𝑀 ≤ ((⌊‘𝑗) + 1), ((⌊‘𝑗) + 1), 𝑀) ∈ (ℤ≥‘𝑀))
3231, 2eleqtrrdi 2871 . . . . 5 ((𝑀 ∈ ℤ ∧ 𝑗 ∈ ℝ) → if(𝑀 ≤ ((⌊‘𝑗) + 1), ((⌊‘𝑗) + 1), 𝑀) ∈ 𝑍)
33 impexp 456 . . . . . . 7 (((𝑘 ∈ 𝑍 ∧ 𝑗 ≤ 𝑘) → 𝜑) ↔ (𝑘 ∈ 𝑍 → (𝑗 ≤ 𝑘 → 𝜑)))
34 uzss 12995 . . . . . . . . . . . . 13 (if(𝑀 ≤ ((⌊‘𝑗) + 1), ((⌊‘𝑗) + 1), 𝑀) ∈ (ℤ≥‘𝑀) → (ℤ≥‘if(𝑀 ≤ ((⌊‘𝑗) + 1), ((⌊‘𝑗) + 1), 𝑀)) ⊆ (ℤ≥‘𝑀))
3531, 34syl 18 . . . . . . . . . . . 12 ((𝑀 ∈ ℤ ∧ 𝑗 ∈ ℝ) → (ℤ≥‘if(𝑀 ≤ ((⌊‘𝑗) + 1), ((⌊‘𝑗) + 1), 𝑀)) ⊆ (ℤ≥‘𝑀))
3635, 2sseqtrrdi 3950 . . . . . . . . . . 11 ((𝑀 ∈ ℤ ∧ 𝑗 ∈ ℝ) → (ℤ≥‘if(𝑀 ≤ ((⌊‘𝑗) + 1), ((⌊‘𝑗) + 1), 𝑀)) ⊆ 𝑍)
3736sselda 3909 . . . . . . . . . 10 (((𝑀 ∈ ℤ ∧ 𝑗 ∈ ℝ) ∧ 𝑘 ∈ (ℤ≥‘if(𝑀 ≤ ((⌊‘𝑗) + 1), ((⌊‘𝑗) + 1), 𝑀))) → 𝑘 ∈ 𝑍)
38 simplr 781 . . . . . . . . . . 11 (((𝑀 ∈ ℤ ∧ 𝑗 ∈ ℝ) ∧ 𝑘 ∈ (ℤ≥‘if(𝑀 ≤ ((⌊‘𝑗) + 1), ((⌊‘𝑗) + 1), 𝑀))) → 𝑗 ∈ ℝ)
3923adantr 486 . . . . . . . . . . . 12 (((𝑀 ∈ ℤ ∧ 𝑗 ∈ ℝ) ∧ 𝑘 ∈ (ℤ≥‘if(𝑀 ≤ ((⌊‘𝑗) + 1), ((⌊‘𝑗) + 1), 𝑀))) → if(𝑀 ≤ ((⌊‘𝑗) + 1), ((⌊‘𝑗) + 1), 𝑀) ∈ ℤ)
4039zred 12810 . . . . . . . . . . 11 (((𝑀 ∈ ℤ ∧ 𝑗 ∈ ℝ) ∧ 𝑘 ∈ (ℤ≥‘if(𝑀 ≤ ((⌊‘𝑗) + 1), ((⌊‘𝑗) + 1), 𝑀))) → if(𝑀 ≤ ((⌊‘𝑗) + 1), ((⌊‘𝑗) + 1), 𝑀) ∈ ℝ)
41 eluzelre 12983 . . . . . . . . . . . 12 (𝑘 ∈ (ℤ≥‘if(𝑀 ≤ ((⌊‘𝑗) + 1), ((⌊‘𝑗) + 1), 𝑀)) → 𝑘 ∈ ℝ)
4241adantl 487 . . . . . . . . . . 11 (((𝑀 ∈ ℤ ∧ 𝑗 ∈ ℝ) ∧ 𝑘 ∈ (ℤ≥‘if(𝑀 ≤ ((⌊‘𝑗) + 1), ((⌊‘𝑗) + 1), 𝑀))) → 𝑘 ∈ ℝ)
43 simpr 490 . . . . . . . . . . . . 13 ((𝑀 ∈ ℤ ∧ 𝑗 ∈ ℝ) → 𝑗 ∈ ℝ)
4427adantl 487 . . . . . . . . . . . . 13 ((𝑀 ∈ ℤ ∧ 𝑗 ∈ ℝ) → ((⌊‘𝑗) + 1) ∈ ℝ)
4523zred 12810 . . . . . . . . . . . . 13 ((𝑀 ∈ ℤ ∧ 𝑗 ∈ ℝ) → if(𝑀 ≤ ((⌊‘𝑗) + 1), ((⌊‘𝑗) + 1), 𝑀) ∈ ℝ)
46 fllep1 13948 . . . . . . . . . . . . . 14 (𝑗 ∈ ℝ → 𝑗 ≤ ((⌊‘𝑗) + 1))
4746adantl 487 . . . . . . . . . . . . 13 ((𝑀 ∈ ℤ ∧ 𝑗 ∈ ℝ) → 𝑗 ≤ ((⌊‘𝑗) + 1))
48 max2 13324 . . . . . . . . . . . . . 14 ((𝑀 ∈ ℝ ∧ ((⌊‘𝑗) + 1) ∈ ℝ) → ((⌊‘𝑗) + 1) ≤ if(𝑀 ≤ ((⌊‘𝑗) + 1), ((⌊‘𝑗) + 1), 𝑀))
4924, 27, 48syl2an 608 . . . . . . . . . . . . 13 ((𝑀 ∈ ℤ ∧ 𝑗 ∈ ℝ) → ((⌊‘𝑗) + 1) ≤ if(𝑀 ≤ ((⌊‘𝑗) + 1), ((⌊‘𝑗) + 1), 𝑀))
5043, 44, 45, 47, 49letrd 11474 . . . . . . . . . . . 12 ((𝑀 ∈ ℤ ∧ 𝑗 ∈ ℝ) → 𝑗 ≤ if(𝑀 ≤ ((⌊‘𝑗) + 1), ((⌊‘𝑗) + 1), 𝑀))
5150adantr 486 . . . . . . . . . . 11 (((𝑀 ∈ ℤ ∧ 𝑗 ∈ ℝ) ∧ 𝑘 ∈ (ℤ≥‘if(𝑀 ≤ ((⌊‘𝑗) + 1), ((⌊‘𝑗) + 1), 𝑀))) → 𝑗 ≤ if(𝑀 ≤ ((⌊‘𝑗) + 1), ((⌊‘𝑗) + 1), 𝑀))
52 eluzle 12985 . . . . . . . . . . . 12 (𝑘 ∈ (ℤ≥‘if(𝑀 ≤ ((⌊‘𝑗) + 1), ((⌊‘𝑗) + 1), 𝑀)) → if(𝑀 ≤ ((⌊‘𝑗) + 1), ((⌊‘𝑗) + 1), 𝑀) ≤ 𝑘)
5352adantl 487 . . . . . . . . . . 11 (((𝑀 ∈ ℤ ∧ 𝑗 ∈ ℝ) ∧ 𝑘 ∈ (ℤ≥‘if(𝑀 ≤ ((⌊‘𝑗) + 1), ((⌊‘𝑗) + 1), 𝑀))) → if(𝑀 ≤ ((⌊‘𝑗) + 1), ((⌊‘𝑗) + 1), 𝑀) ≤ 𝑘)
5438, 40, 42, 51, 53letrd 11474 . . . . . . . . . 10 (((𝑀 ∈ ℤ ∧ 𝑗 ∈ ℝ) ∧ 𝑘 ∈ (ℤ≥‘if(𝑀 ≤ ((⌊‘𝑗) + 1), ((⌊‘𝑗) + 1), 𝑀))) → 𝑗 ≤ 𝑘)
5537, 54jca 521 . . . . . . . . 9 (((𝑀 ∈ ℤ ∧ 𝑗 ∈ ℝ) ∧ 𝑘 ∈ (ℤ≥‘if(𝑀 ≤ ((⌊‘𝑗) + 1), ((⌊‘𝑗) + 1), 𝑀))) → (𝑘 ∈ 𝑍 ∧ 𝑗 ≤ 𝑘))
5655ex 418 . . . . . . . 8 ((𝑀 ∈ ℤ ∧ 𝑗 ∈ ℝ) → (𝑘 ∈ (ℤ≥‘if(𝑀 ≤ ((⌊‘𝑗) + 1), ((⌊‘𝑗) + 1), 𝑀)) → (𝑘 ∈ 𝑍 ∧ 𝑗 ≤ 𝑘)))
5756imim1d 83 . . . . . . 7 ((𝑀 ∈ ℤ ∧ 𝑗 ∈ ℝ) → (((𝑘 ∈ 𝑍 ∧ 𝑗 ≤ 𝑘) → 𝜑) → (𝑘 ∈ (ℤ≥‘if(𝑀 ≤ ((⌊‘𝑗) + 1), ((⌊‘𝑗) + 1), 𝑀)) → 𝜑)))
5833, 57biimtrrid 246 . . . . . 6 ((𝑀 ∈ ℤ ∧ 𝑗 ∈ ℝ) → ((𝑘 ∈ 𝑍 → (𝑗 ≤ 𝑘 → 𝜑)) → (𝑘 ∈ (ℤ≥‘if(𝑀 ≤ ((⌊‘𝑗) + 1), ((⌊‘𝑗) + 1), 𝑀)) → 𝜑)))
5958ralimdv2 3171 . . . . 5 ((𝑀 ∈ ℤ ∧ 𝑗 ∈ ℝ) → (∀𝑘 ∈ 𝑍 (𝑗 ≤ 𝑘 → 𝜑) → ∀𝑘 ∈ (ℤ≥‘if(𝑀 ≤ ((⌊‘𝑗) + 1), ((⌊‘𝑗) + 1), 𝑀))𝜑))
60 fveq2 6890 . . . . . . 7 (𝑚 = if(𝑀 ≤ ((⌊‘𝑗) + 1), ((⌊‘𝑗) + 1), 𝑀) → (ℤ≥‘𝑚) = (ℤ≥‘if(𝑀 ≤ ((⌊‘𝑗) + 1), ((⌊‘𝑗) + 1), 𝑀)))
6160raleqdv 3319 . . . . . 6 (𝑚 = if(𝑀 ≤ ((⌊‘𝑗) + 1), ((⌊‘𝑗) + 1), 𝑀) → (∀𝑘 ∈ (ℤ≥‘𝑚)𝜑 ↔ ∀𝑘 ∈ (ℤ≥‘if(𝑀 ≤ ((⌊‘𝑗) + 1), ((⌊‘𝑗) + 1), 𝑀))𝜑))
6261rspcev 3576 . . . . 5 ((if(𝑀 ≤ ((⌊‘𝑗) + 1), ((⌊‘𝑗) + 1), 𝑀) ∈ 𝑍 ∧ ∀𝑘 ∈ (ℤ≥‘if(𝑀 ≤ ((⌊‘𝑗) + 1), ((⌊‘𝑗) + 1), 𝑀))𝜑) → ∃𝑚 ∈ 𝑍 ∀𝑘 ∈ (ℤ≥‘𝑚)𝜑)
6332, 59, 62syl6an 697 . . . 4 ((𝑀 ∈ ℤ ∧ 𝑗 ∈ ℝ) → (∀𝑘 ∈ 𝑍 (𝑗 ≤ 𝑘 → 𝜑) → ∃𝑚 ∈ 𝑍 ∀𝑘 ∈ (ℤ≥‘𝑚)𝜑))
6463rexlimdva 3163 . . 3 (𝑀 ∈ ℤ → (∃𝑗 ∈ ℝ ∀𝑘 ∈ 𝑍 (𝑗 ≤ 𝑘 → 𝜑) → ∃𝑚 ∈ 𝑍 ∀𝑘 ∈ (ℤ≥‘𝑚)𝜑))
65 fveq2 6890 . . . . 5 (𝑚 = 𝑗 → (ℤ≥‘𝑚) = (ℤ≥‘𝑗))
6665raleqdv 3319 . . . 4 (𝑚 = 𝑗 → (∀𝑘 ∈ (ℤ≥‘𝑚)𝜑 ↔ ∀𝑘 ∈ (ℤ≥‘𝑗)𝜑))
6766cbvrexvw 3241 . . 3 (∃𝑚 ∈ 𝑍 ∀𝑘 ∈ (ℤ≥‘𝑚)𝜑 ↔ ∃𝑗 ∈ 𝑍 ∀𝑘 ∈ (ℤ≥‘𝑗)𝜑)
6864, 67imbitrdi 254 . 2 (𝑀 ∈ ℤ → (∃𝑗 ∈ ℝ ∀𝑘 ∈ 𝑍 (𝑗 ≤ 𝑘 → 𝜑) → ∃𝑗 ∈ 𝑍 ∀𝑘 ∈ (ℤ≥‘𝑗)𝜑))
6918, 68impbid2 229 1 (𝑀 ∈ ℤ → (∃𝑗 ∈ 𝑍 ∀𝑘 ∈ (ℤ≥‘𝑗)𝜑 ↔ ∃𝑗 ∈ ℝ ∀𝑘 ∈ 𝑍 (𝑗 ≤ 𝑘 → 𝜑)))
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   → wi 4   ↔ wb 209   ∧ wa 401   = wceq 1569   ∈ wcel 2144  ∀wral 3076  ∃wrex 3086   ⊆ wss 3896  ifcif 4481   class class class wbr 5102  ‘cfv 6543  (class class class)co 7424  ℝcr 11206  1c1 11208   + caddc 11210   ≤ cle 11351  ℤcz 12700  ℤ≥cuz 12972  ⌊cfl 13937
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1827  ax-4 1841  ax-5 1942  ax-6 1999  ax-7 2040  ax-8 2146  ax-9 2154  ax-10 2177  ax-11 2193  ax-12 2212  ax-ext 2732  ax-sep 5248  ax-nul 5259  ax-pow 5327  ax-pr 5391  ax-un 7755  ax-cnex 11263  ax-resscn 11264  ax-1cn 11265  ax-icn 11266  ax-addcl 11267  ax-addrcl 11268  ax-mulcl 11269  ax-mulrcl 11270  ax-mulcom 11271  ax-addass 11272  ax-mulass 11273  ax-distr 11274  ax-i2m1 11275  ax-1ne0 11276  ax-1rid 11277  ax-rnegex 11278  ax-rrecex 11279  ax-cnre 11280  ax-pre-lttri 11281  ax-pre-lttrn 11282  ax-pre-ltadd 11283  ax-pre-mulgt0 11284  ax-pre-sup 11285
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3or 1104  df-3an 1105  df-tru 1572  df-fal 1582  df-ex 1812  df-nf 1816  df-sb 2099  df-mo 2564  df-eu 2594  df-clab 2739  df-cleq 2752  df-clel 2835  df-nfc 2909  df-ne 2956  df-nel 3062  df-ral 3077  df-rex 3087  df-rmo 3365  df-reu 3366  df-rab 3413  df-v 3452  df-sbc 3739  df-csb 3848  df-ss 3897  df-pss 4013  df-dif 4046  df-in 4090  df-un 4150  df-nul 4278  df-if 4482  df-pw 4558  df-sn 4585  df-pr 4587  df-op 4835  df-uni 4867  df-iun 4952  df-br 5103  df-opab 5167  df-mpt 5186  df-tr 5212  df-id 5546  df-eprel 5551  df-po 5559  df-so 5560  df-fr 5604  df-we 5606  df-xp 5657  df-rel 5658  df-cnv 5659  df-co 5660  df-dm 5661  df-rn 5662  df-res 5663  df-ima 5664  df-pred 6307  df-ord 6368  df-on 6369  df-lim 6370  df-suc 6371  df-iota 6497  df-fun 6545  df-fn 6546  df-f 6547  df-f1 6548  df-fo 6549  df-f1o 6550  df-fv 6551  df-riota 7381  df-ov 7427  df-oprab 7428  df-mpo 7429  df-om 7882  df-2nd 8006  df-frecs 8307  df-wrecs 8338  df-recs 8387  df-rdg 8426  df-er 8725  df-en 8982  df-dom 8983  df-sdom 8984  df-sup 9441  df-inf 9442  df-pnf 11352  df-mnf 11353  df-xr 11354  df-ltxr 11355  df-le 11356  df-sub 11550  df-neg 11551  df-nn 12343  df-n0 12614  df-z 12701  df-uz 12973  df-fl 13939
This theorem is used by:  limsupubuz2  46959
  Copyright terms: Public domain W3C validator