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 33729
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 4491 . 2 (𝑖 = 1 → if(𝑖 = 1, 𝐼, if(𝑖 ≤ 𝐼, (𝑖 − 1), 𝑖)) = 𝐼)
3 elfzuz2 13686 . . . 4 (𝐼 ∈ (1...𝑁) → 𝑁 ∈ (ℤ≥‘1))
4 psgnfzto1st.d . . . 4 𝐷 = (1...𝑁)
53, 4eleq2s 2882 . . 3 (𝐼 ∈ 𝐷 → 𝑁 ∈ (ℤ≥‘1))
6 eluzfz1 13688 . . . 4 (𝑁 ∈ (ℤ≥‘1) → 1 ∈ (1...𝑁))
76, 4eleqtrrdi 2875 . . 3 (𝑁 ∈ (ℤ≥‘1) → 1 ∈ 𝐷)
85, 7syl 18 . 2 (𝐼 ∈ 𝐷 → 1 ∈ 𝐷)
9 id 23 . 2 (𝐼 ∈ 𝐷 → 𝐼 ∈ 𝐷)
101, 2, 8, 9fvmptd3 7037 1 (𝐼 ∈ 𝐷 → (𝑃‘1) = 𝐼)
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   → wi 4   = wceq 1570   ∈ wcel 2147  ifcif 4485   class class class wbr 5106   ↦ cmpt 5189  ‘cfv 6555  (class class class)co 7440  1c1 11225   ≤ cle 11368   − cmin 11565  ℤ≥cuz 12989  ...cfz 13663
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 1945  ax-6 2002  ax-7 2043  ax-8 2149  ax-9 2157  ax-10 2180  ax-11 2197  ax-12 2216  ax-ext 2735  ax-sep 5252  ax-nul 5263  ax-pow 5331  ax-pr 5395  ax-un 7772  ax-cnex 11280  ax-resscn 11281  ax-pre-lttri 11298  ax-pre-lttrn 11299
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 2102  df-mo 2567  df-eu 2597  df-clab 2742  df-cleq 2755  df-clel 2839  df-nfc 2913  df-ne 2960  df-nel 3066  df-ral 3081  df-rex 3091  df-rab 3417  df-v 3456  df-sbc 3743  df-csb 3852  df-ss 3901  df-dif 4050  df-in 4094  df-un 4154  df-nul 4282  df-if 4486  df-pw 4562  df-sn 4589  df-pr 4591  df-op 4839  df-uni 4871  df-iun 4956  df-br 5107  df-opab 5171  df-mpt 5190  df-id 5550  df-xp 5661  df-rel 5662  df-cnv 5663  df-co 5664  df-dm 5665  df-rn 5666  df-res 5667  df-ima 5668  df-iota 6509  df-fun 6557  df-fn 6558  df-f 6559  df-f1 6560  df-fo 6561  df-f1o 6562  df-fv 6563  df-ov 7443  df-oprab 7444  df-mpo 7445  df-1st 8022  df-2nd 8023  df-er 8742  df-en 8999  df-dom 9000  df-sdom 9001  df-pnf 11369  df-mnf 11370  df-xr 11371  df-ltxr 11372  df-le 11373  df-neg 11568  df-z 12718  df-uz 12990  df-fz 13664
This theorem is used by:  fzto1stinvn  33732  madjusmdetlem4  34529
  Copyright terms: Public domain W3C validator