Users' Mathboxes Mathbox for Thierry Arnoux < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >   Mathboxes  >  fzto1stfv1 Structured version   Visualization version   GIF version

Theorem fzto1stfv1 33762
Description: Value of our permutation 𝑃 at 1. (Contributed by Thierry Arnoux, 23-Aug-2020.)
Hypotheses
Ref Expression
psgnfzto1st.d 𝐷 = (1...𝑁)
psgnfzto1st.p 𝑃 = (𝑖 ∈ 𝐷 ↦ if(𝑖 = 1, 𝐼, if(𝑖 ≤ 𝐼, (𝑖 − 1), 𝑖)))
Assertion
Ref Expression
fzto1stfv1 (𝐼 ∈ 𝐷 → (𝑃‘1) = 𝐼)
Distinct variable groups:   𝐷,𝑖   𝑖,𝐼   𝑖,𝑁
Allowed substitution hint:   𝑃(𝑖)

Proof of Theorem fzto1stfv1
StepHypRef Expression
1 psgnfzto1st.p . 2 𝑃 = (𝑖 ∈ 𝐷 ↦ if(𝑖 = 1, 𝐼, if(𝑖 ≤ 𝐼, (𝑖 − 1), 𝑖)))
2 iftrue 4490 . 2 (𝑖 = 1 → if(𝑖 = 1, 𝐼, if(𝑖 ≤ 𝐼, (𝑖 − 1), 𝑖)) = 𝐼)
3 elfzuz2 13701 . . . 4 (𝐼 ∈ (1...𝑁) → 𝑁 ∈ (ℤ≥‘1))
4 psgnfzto1st.d . . . 4 𝐷 = (1...𝑁)
53, 4eleq2s 2885 . . 3 (𝐼 ∈ 𝐷 → 𝑁 ∈ (ℤ≥‘1))
6 eluzfz1 13703 . . . 4 (𝑁 ∈ (ℤ≥‘1) → 1 ∈ (1...𝑁))
76, 4eleqtrrdi 2878 . . 3 (𝑁 ∈ (ℤ≥‘1) → 1 ∈ 𝐷)
85, 7syl 18 . 2 (𝐼 ∈ 𝐷 → 1 ∈ 𝐷)
9 id 23 . 2 (𝐼 ∈ 𝐷 → 𝐼 ∈ 𝐷)
101, 2, 8, 9fvmptd3 7047 1 (𝐼 ∈ 𝐷 → (𝑃‘1) = 𝐼)
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   → wi 4   = wceq 1572   ∈ wcel 2150  ifcif 4484   class class class wbr 5107   ↦ cmpt 5191  ‘cfv 6565  (class class class)co 7450  1c1 11239   ≤ cle 11382   − cmin 11579  ℤ≥cuz 13004  ...cfz 13678
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1830  ax-4 1844  ax-5 1947  ax-6 2004  ax-7 2045  ax-8 2152  ax-9 2160  ax-10 2183  ax-11 2200  ax-12 2219  ax-ext 2738  ax-sep 5254  ax-nul 5265  ax-pow 5333  ax-pr 5397  ax-un 7782  ax-cnex 11294  ax-resscn 11295  ax-pre-lttri 11312  ax-pre-lttrn 11313
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3or 1105  df-3an 1106  df-tru 1575  df-fal 1585  df-ex 1815  df-nf 1819  df-sb 2104  df-mo 2570  df-eu 2600  df-clab 2745  df-cleq 2758  df-clel 2842  df-nfc 2916  df-ne 2963  df-nel 3069  df-ral 3084  df-rex 3094  df-rab 3416  df-v 3455  df-sbc 3742  df-csb 3851  df-ss 3900  df-dif 4049  df-in 4093  df-un 4153  df-nul 4281  df-if 4485  df-pw 4561  df-sn 4588  df-pr 4590  df-op 4840  df-uni 4872  df-iun 4957  df-br 5108  df-opab 5173  df-mpt 5192  df-id 5552  df-xp 5663  df-rel 5664  df-cnv 5665  df-co 5666  df-dm 5667  df-rn 5668  df-res 5669  df-ima 5670  df-iota 6519  df-fun 6567  df-fn 6568  df-f 6569  df-f1 6570  df-fo 6571  df-f1o 6572  df-fv 6573  df-ov 7453  df-oprab 7454  df-mpo 7455  df-1st 8034  df-2nd 8035  df-er 8754  df-en 9011  df-dom 9012  df-sdom 9013  df-pnf 11383  df-mnf 11384  df-xr 11385  df-ltxr 11386  df-le 11387  df-neg 11582  df-z 12733  df-uz 13005  df-fz 13679
This theorem is used by:  fzto1stinvn  33765  madjusmdetlem4  34574
  Copyright terms: Public domain W3C validator