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

Theorem repsf 14585
Description: The constructed function mapping a half-open range of nonnegative integers to a constant is a function. (Contributed by AV, 4-Nov-2018.)
Assertion
Ref Expression
repsf ((𝑆𝑉𝑁 ∈ ℕ0) → (𝑆 repeatS 𝑁):(0..^𝑁)⟶𝑉)

Proof of Theorem repsf
Dummy variable 𝑥 is distinct from all other variables.
StepHypRef Expression
1 simpl 483 . . . . 5 ((𝑆𝑉𝑥 ∈ (0..^𝑁)) → 𝑆𝑉)
21ralrimiva 3139 . . . 4 (𝑆𝑉 → ∀𝑥 ∈ (0..^𝑁)𝑆𝑉)
32adantr 481 . . 3 ((𝑆𝑉𝑁 ∈ ℕ0) → ∀𝑥 ∈ (0..^𝑁)𝑆𝑉)
4 eqid 2736 . . . 4 (𝑥 ∈ (0..^𝑁) ↦ 𝑆) = (𝑥 ∈ (0..^𝑁) ↦ 𝑆)
54fmpt 7041 . . 3 (∀𝑥 ∈ (0..^𝑁)𝑆𝑉 ↔ (𝑥 ∈ (0..^𝑁) ↦ 𝑆):(0..^𝑁)⟶𝑉)
63, 5sylib 217 . 2 ((𝑆𝑉𝑁 ∈ ℕ0) → (𝑥 ∈ (0..^𝑁) ↦ 𝑆):(0..^𝑁)⟶𝑉)
7 reps 14582 . . 3 ((𝑆𝑉𝑁 ∈ ℕ0) → (𝑆 repeatS 𝑁) = (𝑥 ∈ (0..^𝑁) ↦ 𝑆))
87feq1d 6637 . 2 ((𝑆𝑉𝑁 ∈ ℕ0) → ((𝑆 repeatS 𝑁):(0..^𝑁)⟶𝑉 ↔ (𝑥 ∈ (0..^𝑁) ↦ 𝑆):(0..^𝑁)⟶𝑉))
96, 8mpbird 256 1 ((𝑆𝑉𝑁 ∈ ℕ0) → (𝑆 repeatS 𝑁):(0..^𝑁)⟶𝑉)
Colors of variables: wff setvar class
Syntax hints:  wi 4  wa 396  wcel 2105  wral 3061  cmpt 5176  wf 6476  (class class class)co 7338  0cc0 10973  0cn0 12335  ..^cfzo 13484   repeatS creps 14580
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1796  ax-4 1810  ax-5 1912  ax-6 1970  ax-7 2010  ax-8 2107  ax-9 2115  ax-10 2136  ax-11 2153  ax-12 2170  ax-ext 2707  ax-rep 5230  ax-sep 5244  ax-nul 5251  ax-pr 5373
This theorem depends on definitions:  df-bi 206  df-an 397  df-or 845  df-3an 1088  df-tru 1543  df-fal 1553  df-ex 1781  df-nf 1785  df-sb 2067  df-mo 2538  df-eu 2567  df-clab 2714  df-cleq 2728  df-clel 2814  df-nfc 2886  df-ne 2941  df-ral 3062  df-rex 3071  df-reu 3350  df-rab 3404  df-v 3443  df-sbc 3728  df-csb 3844  df-dif 3901  df-un 3903  df-in 3905  df-ss 3915  df-nul 4271  df-if 4475  df-sn 4575  df-pr 4577  df-op 4581  df-uni 4854  df-iun 4944  df-br 5094  df-opab 5156  df-mpt 5177  df-id 5519  df-xp 5627  df-rel 5628  df-cnv 5629  df-co 5630  df-dm 5631  df-rn 5632  df-res 5633  df-ima 5634  df-iota 6432  df-fun 6482  df-fn 6483  df-f 6484  df-f1 6485  df-fo 6486  df-f1o 6487  df-fv 6488  df-ov 7341  df-oprab 7342  df-mpo 7343  df-reps 14581
This theorem is referenced by:  repsw  14587  repswlen  14588  repswswrd  14596  repsco  14653
  Copyright terms: Public domain W3C validator