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

Theorem chnpolleha 18636
Description: A chain under relation which orders the alphabet has at most alphabet's size elements in it. (Contributed by Ender Ting, 20-Jan-2026.)
Hypotheses
Ref Expression
chnpoadomd.1 (𝜑< Po 𝐴)
chnpoadomd.2 (𝜑𝐵 ∈ ( < Chain 𝐴))
chnpoadomd.3 (𝜑𝐴𝑉)
Assertion
Ref Expression
chnpolleha (𝜑 → (♯‘𝐵) ≤ (♯‘𝐴))

Proof of Theorem chnpolleha
StepHypRef Expression
1 chnpoadomd.2 . . . . 5 (𝜑𝐵 ∈ ( < Chain 𝐴))
21chnwrd 18612 . . . 4 (𝜑𝐵 ∈ Word 𝐴)
3 lencl 14532 . . . 4 (𝐵 ∈ Word 𝐴 → (♯‘𝐵) ∈ ℕ0)
42, 3syl 17 . . 3 (𝜑 → (♯‘𝐵) ∈ ℕ0)
5 hashfzo0 14429 . . . 4 ((♯‘𝐵) ∈ ℕ0 → (♯‘(0..^(♯‘𝐵))) = (♯‘𝐵))
65eqcomd 2758 . . 3 ((♯‘𝐵) ∈ ℕ0 → (♯‘𝐵) = (♯‘(0..^(♯‘𝐵))))
74, 6syl 17 . 2 (𝜑 → (♯‘𝐵) = (♯‘(0..^(♯‘𝐵))))
8 chnpoadomd.3 . . 3 (𝜑𝐴𝑉)
9 chnpoadomd.1 . . . 4 (𝜑< Po 𝐴)
109, 1chnpof1 18634 . . 3 (𝜑𝐵:(0..^(♯‘𝐵))–1-1𝐴)
11 hashf1dmcdm 14443 . . 3 ((𝐵 ∈ ( < Chain 𝐴) ∧ 𝐴𝑉𝐵:(0..^(♯‘𝐵))–1-1𝐴) → (♯‘(0..^(♯‘𝐵))) ≤ (♯‘𝐴))
121, 8, 10, 11syl3anc 1382 . 2 (𝜑 → (♯‘(0..^(♯‘𝐵))) ≤ (♯‘𝐴))
137, 12eqbrtrd 5112 1 (𝜑 → (♯‘𝐵) ≤ (♯‘𝐴))
Colors of variables: wff setvar class
Syntax hints:  wi 4   = wceq 1550  wcel 2132   class class class wbr 5090   Po wpo 5542  1-1wf1 6503  cfv 6506  (class class class)co 7381  0cc0 11059  cle 11203  0cn0 12467  ..^cfzo 13645  chash 14329  Word cword 14512   Chain cchn 18609
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1805  ax-4 1819  ax-5 1920  ax-6 1977  ax-7 2018  ax-8 2134  ax-9 2142  ax-10 2165  ax-11 2181  ax-12 2202  ax-ext 2724  ax-rep 5217  ax-sep 5236  ax-nul 5246  ax-pow 5312  ax-pr 5380  ax-un 7703  ax-cnex 11115  ax-resscn 11116  ax-1cn 11117  ax-icn 11118  ax-addcl 11119  ax-addrcl 11120  ax-mulcl 11121  ax-mulrcl 11122  ax-mulcom 11123  ax-addass 11124  ax-mulass 11125  ax-distr 11126  ax-i2m1 11127  ax-1ne0 11128  ax-1rid 11129  ax-rnegex 11130  ax-rrecex 11131  ax-cnre 11132  ax-pre-lttri 11133  ax-pre-lttrn 11134  ax-pre-ltadd 11135  ax-pre-mulgt0 11136
This theorem depends on definitions:  df-bi 209  df-an 399  df-or 857  df-3or 1096  df-3an 1097  df-tru 1553  df-fal 1563  df-ex 1790  df-nf 1794  df-sb 2081  df-mo 2556  df-eu 2586  df-clab 2731  df-cleq 2744  df-clel 2827  df-nfc 2901  df-ne 2948  df-nel 3052  df-ral 3067  df-rex 3077  df-reu 3358  df-rab 3405  df-v 3446  df-sbc 3736  df-csb 3844  df-dif 3898  df-un 3900  df-in 3902  df-ss 3912  df-pss 3915  df-nul 4277  df-if 4471  df-pw 4547  df-sn 4573  df-pr 4575  df-op 4579  df-uni 4856  df-int 4896  df-iun 4941  df-br 5091  df-opab 5153  df-mpt 5172  df-tr 5198  df-id 5531  df-eprel 5536  df-po 5544  df-so 5545  df-fr 5589  df-we 5591  df-xp 5642  df-rel 5643  df-cnv 5644  df-co 5645  df-dm 5646  df-rn 5647  df-res 5648  df-ima 5649  df-pred 6273  df-ord 6334  df-on 6335  df-lim 6336  df-suc 6337  df-iota 6462  df-fun 6508  df-fn 6509  df-f 6510  df-f1 6511  df-fo 6512  df-f1o 6513  df-fv 6514  df-riota 7338  df-ov 7384  df-oprab 7385  df-mpo 7386  df-om 7832  df-1st 7955  df-2nd 7956  df-frecs 8246  df-wrecs 8277  df-recs 8326  df-rdg 8365  df-1o 8421  df-2o 8422  df-oadd 8425  df-er 8662  df-en 8913  df-dom 8914  df-sdom 8915  df-fin 8916  df-dju 9845  df-card 9883  df-pnf 11204  df-mnf 11205  df-xr 11206  df-ltxr 11207  df-le 11208  df-sub 11402  df-neg 11403  df-nn 12197  df-2 12266  df-n0 12468  df-xnn0 12541  df-z 12555  df-uz 12826  df-rp 12980  df-fz 13499  df-fzo 13646  df-hash 14330  df-word 14513  df-lsw 14562  df-concat 14570  df-s1 14596  df-substr 14641  df-pfx 14671  df-chn 18610
This theorem is referenced by:  chnpolfz  18637  chnsuslle  47395
  Copyright terms: Public domain W3C validator