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

Theorem flge 13858
Description: The floor function value is the greatest integer less than or equal to its argument. (Contributed by NM, 15-Nov-2004.) (Proof shortened by Fan Zheng, 14-Jul-2016.)
Assertion
Ref Expression
flge ((𝐴 ∈ ℝ ∧ 𝐵 ∈ ℤ) → (𝐵𝐴𝐵 ≤ (⌊‘𝐴)))

Proof of Theorem flge
StepHypRef Expression
1 flltp1 13853 . . . . 5 (𝐴 ∈ ℝ → 𝐴 < ((⌊‘𝐴) + 1))
21adantr 486 . . . 4 ((𝐴 ∈ ℝ ∧ 𝐵 ∈ ℤ) → 𝐴 < ((⌊‘𝐴) + 1))
3 simpr 490 . . . . . 6 ((𝐴 ∈ ℝ ∧ 𝐵 ∈ ℤ) → 𝐵 ∈ ℤ)
43zred 12718 . . . . 5 ((𝐴 ∈ ℝ ∧ 𝐵 ∈ ℤ) → 𝐵 ∈ ℝ)
5 simpl 488 . . . . 5 ((𝐴 ∈ ℝ ∧ 𝐵 ∈ ℤ) → 𝐴 ∈ ℝ)
65flcld 13851 . . . . . . 7 ((𝐴 ∈ ℝ ∧ 𝐵 ∈ ℤ) → (⌊‘𝐴) ∈ ℤ)
76peano2zd 12721 . . . . . 6 ((𝐴 ∈ ℝ ∧ 𝐵 ∈ ℤ) → ((⌊‘𝐴) + 1) ∈ ℤ)
87zred 12718 . . . . 5 ((𝐴 ∈ ℝ ∧ 𝐵 ∈ ℤ) → ((⌊‘𝐴) + 1) ∈ ℝ)
9 lelttr 11318 . . . . 5 ((𝐵 ∈ ℝ ∧ 𝐴 ∈ ℝ ∧ ((⌊‘𝐴) + 1) ∈ ℝ) → ((𝐵𝐴𝐴 < ((⌊‘𝐴) + 1)) → 𝐵 < ((⌊‘𝐴) + 1)))
104, 5, 8, 9syl3anc 1398 . . . 4 ((𝐴 ∈ ℝ ∧ 𝐵 ∈ ℤ) → ((𝐵𝐴𝐴 < ((⌊‘𝐴) + 1)) → 𝐵 < ((⌊‘𝐴) + 1)))
112, 10mpan2d 707 . . 3 ((𝐴 ∈ ℝ ∧ 𝐵 ∈ ℤ) → (𝐵𝐴𝐵 < ((⌊‘𝐴) + 1)))
12 zleltp1 12663 . . . 4 ((𝐵 ∈ ℤ ∧ (⌊‘𝐴) ∈ ℤ) → (𝐵 ≤ (⌊‘𝐴) ↔ 𝐵 < ((⌊‘𝐴) + 1)))
133, 6, 12syl2anc 596 . . 3 ((𝐴 ∈ ℝ ∧ 𝐵 ∈ ℤ) → (𝐵 ≤ (⌊‘𝐴) ↔ 𝐵 < ((⌊‘𝐴) + 1)))
1411, 13sylibrd 262 . 2 ((𝐴 ∈ ℝ ∧ 𝐵 ∈ ℤ) → (𝐵𝐴𝐵 ≤ (⌊‘𝐴)))
15 flle 13852 . . . 4 (𝐴 ∈ ℝ → (⌊‘𝐴) ≤ 𝐴)
1615adantr 486 . . 3 ((𝐴 ∈ ℝ ∧ 𝐵 ∈ ℤ) → (⌊‘𝐴) ≤ 𝐴)
176zred 12718 . . . 4 ((𝐴 ∈ ℝ ∧ 𝐵 ∈ ℤ) → (⌊‘𝐴) ∈ ℝ)
18 letr 11322 . . . 4 ((𝐵 ∈ ℝ ∧ (⌊‘𝐴) ∈ ℝ ∧ 𝐴 ∈ ℝ) → ((𝐵 ≤ (⌊‘𝐴) ∧ (⌊‘𝐴) ≤ 𝐴) → 𝐵𝐴))
194, 17, 5, 18syl3anc 1398 . . 3 ((𝐴 ∈ ℝ ∧ 𝐵 ∈ ℤ) → ((𝐵 ≤ (⌊‘𝐴) ∧ (⌊‘𝐴) ≤ 𝐴) → 𝐵𝐴))
2016, 19mpan2d 707 . 2 ((𝐴 ∈ ℝ ∧ 𝐵 ∈ ℤ) → (𝐵 ≤ (⌊‘𝐴) → 𝐵𝐴))
2114, 20impbid 215 1 ((𝐴 ∈ ℝ ∧ 𝐵 ∈ ℤ) → (𝐵𝐴𝐵 ≤ (⌊‘𝐴)))
Colors of variables:    wff setvar class
This proof depends on syntax axioms:  wi 4  wb 209  wa 401  wcel 2146   class class class wbr 5114  cfv 6543  (class class class)co 7423  cr 11117  1c1 11119   + caddc 11121   < clt 11261  cle 11262  cz 12609  cfl 13843
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1828  ax-4 1842  ax-5 1943  ax-6 2000  ax-7 2041  ax-8 2148  ax-9 2156  ax-10 2179  ax-11 2195  ax-12 2216  ax-ext 2738  ax-sep 5262  ax-nul 5274  ax-pow 5341  ax-pr 5409  ax-un 7745  ax-cnex 11174  ax-resscn 11175  ax-1cn 11176  ax-icn 11177  ax-addcl 11178  ax-addrcl 11179  ax-mulcl 11180  ax-mulrcl 11181  ax-mulcom 11182  ax-addass 11183  ax-mulass 11184  ax-distr 11185  ax-i2m1 11186  ax-1ne0 11187  ax-1rid 11188  ax-rnegex 11189  ax-rrecex 11190  ax-cnre 11191  ax-pre-lttri 11192  ax-pre-lttrn 11193  ax-pre-ltadd 11194  ax-pre-mulgt0 11195  ax-pre-sup 11196
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3or 1104  df-3an 1105  df-tru 1573  df-fal 1583  df-ex 1813  df-nf 1817  df-sb 2100  df-mo 2570  df-eu 2600  df-clab 2745  df-cleq 2758  df-clel 2841  df-nfc 2915  df-ne 2962  df-nel 3068  df-ral 3083  df-rex 3093  df-rmo 3372  df-reu 3373  df-rab 3420  df-v 3460  df-sbc 3748  df-csb 3857  df-dif 3911  df-un 3913  df-in 3915  df-ss 3925  df-pss 3928  df-nul 4290  df-if 4493  df-pw 4569  df-sn 4595  df-pr 4597  df-op 4601  df-uni 4878  df-iun 4963  df-br 5115  df-opab 5179  df-mpt 5198  df-tr 5224  df-id 5561  df-eprel 5566  df-po 5574  df-so 5575  df-fr 5619  df-we 5621  df-xp 5672  df-rel 5673  df-cnv 5674  df-co 5675  df-dm 5676  df-rn 5677  df-res 5678  df-ima 5679  df-pred 6309  df-ord 6370  df-on 6371  df-lim 6372  df-suc 6373  df-iota 6499  df-fun 6545  df-fn 6546  df-f 6547  df-f1 6548  df-fo 6549  df-f1o 6550  df-fv 6551  df-riota 7380  df-ov 7426  df-oprab 7427  df-mpo 7428  df-om 7872  df-2nd 7996  df-frecs 8287  df-wrecs 8318  df-recs 8367  df-rdg 8406  df-er 8703  df-en 8953  df-dom 8954  df-sdom 8955  df-sup 9412  df-inf 9413  df-pnf 11263  df-mnf 11264  df-xr 11265  df-ltxr 11266  df-le 11267  df-sub 11461  df-neg 11462  df-nn 12252  df-n0 12523  df-z 12610  df-uz 12881  df-fl 13845
This theorem is used by:  fllt  13859  flid  13861  flwordi  13865  flval2  13867  flval3  13868  flge0nn0  13873  flge1nn  13874  flmulnn0  13880  btwnzge0  13881  fznnfl  13915  modmuladdnn0  13971  absrdbnd  15419  limsupgre  15558  climrlim2  15624  isprm7  16792  hashdvds  16859  prmreclem3  17003  ovolunlem1a  25692  mbfi1fseqlem4  25914  mbfi1fseqlem5  25915  dvfsumlem1  26222  dvfsumlem3  26224  ppisval  27305  dvdsflf1o  27388  ppiub  27405  chtub  27413  fsumvma2  27415  chpval2  27419  chpchtsum  27420  efexple  27482  bposlem3  27487  bposlem4  27488  bposlem5  27489  gausslemma2dlem4  27570  lgsquadlem1  27581  lgsquadlem2  27582  chebbnd1lem2  27671  chebbnd1lem3  27672  dchrisum0lem1  27717  pntrlog2bndlem6  27784  pntpbnd1  27787  pntpbnd2  27788  pntlemh  27800  pntlemj  27804  pntlemf  27806  aks4d1p1p2  42878  aks4d1p3  42886  aks4d1p6  42889  aks4d1p7d1  42890  aks4d1p7  42891  aks4d1p8  42895  aks4d1p9  42896  aks6d1c2lem4  42935  aks6d1c2  42938  aks6d1c6lem4  42981  aks6d1c7lem1  42988  aks6d1c7lem2  42989  dirkertrigeqlem3  46855  nnolog2flm1  49411
  Copyright terms: Public domain W3C validator