ILE Home Intuitionistic Logic Explorer < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  ILE Home  >  Th. List  >  ndxarg GIF version

Theorem ndxarg 12899
Description: Get the numeric argument from a defined structure component extractor such as df-base 12882. (Contributed by Mario Carneiro, 6-Oct-2013.)
Hypotheses
Ref Expression
ndxarg.1 𝐸 = Slot 𝑁
ndxarg.2 𝑁 ∈ ℕ
Assertion
Ref Expression
ndxarg (𝐸‘ndx) = 𝑁

Proof of Theorem ndxarg
StepHypRef Expression
1 df-ndx 12879 . . . 4 ndx = ( I ↾ ℕ)
2 nnex 9049 . . . . 5 ℕ ∈ V
3 resiexg 5009 . . . . 5 (ℕ ∈ V → ( I ↾ ℕ) ∈ V)
42, 3ax-mp 5 . . . 4 ( I ↾ ℕ) ∈ V
51, 4eqeltri 2279 . . 3 ndx ∈ V
6 ndxarg.1 . . 3 𝐸 = Slot 𝑁
7 ndxarg.2 . . 3 𝑁 ∈ ℕ
85, 6, 7strnfvn 12897 . 2 (𝐸‘ndx) = (ndx‘𝑁)
91fveq1i 5584 . 2 (ndx‘𝑁) = (( I ↾ ℕ)‘𝑁)
10 fvresi 5784 . . 3 (𝑁 ∈ ℕ → (( I ↾ ℕ)‘𝑁) = 𝑁)
117, 10ax-mp 5 . 2 (( I ↾ ℕ)‘𝑁) = 𝑁
128, 9, 113eqtri 2231 1 (𝐸‘ndx) = 𝑁
Colors of variables: wff set class
Syntax hints:   = wceq 1373  wcel 2177  Vcvv 2773   I cid 4339  cres 4681  cfv 5276  cn 9043  ndxcnx 12873  Slot cslot 12875
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-ia1 106  ax-ia2 107  ax-ia3 108  ax-io 711  ax-5 1471  ax-7 1472  ax-gen 1473  ax-ie1 1517  ax-ie2 1518  ax-8 1528  ax-10 1529  ax-11 1530  ax-i12 1531  ax-bndl 1533  ax-4 1534  ax-17 1550  ax-i9 1554  ax-ial 1558  ax-i5r 1559  ax-13 2179  ax-14 2180  ax-ext 2188  ax-sep 4166  ax-pow 4222  ax-pr 4257  ax-un 4484  ax-cnex 8023  ax-resscn 8024  ax-1re 8026  ax-addrcl 8029
This theorem depends on definitions:  df-bi 117  df-3an 983  df-tru 1376  df-nf 1485  df-sb 1787  df-eu 2058  df-mo 2059  df-clab 2193  df-cleq 2199  df-clel 2202  df-nfc 2338  df-ral 2490  df-rex 2491  df-v 2775  df-sbc 3000  df-un 3171  df-in 3173  df-ss 3180  df-pw 3619  df-sn 3640  df-pr 3641  df-op 3643  df-uni 3853  df-int 3888  df-br 4048  df-opab 4110  df-mpt 4111  df-id 4344  df-xp 4685  df-rel 4686  df-cnv 4687  df-co 4688  df-dm 4689  df-rn 4690  df-res 4691  df-iota 5237  df-fun 5278  df-fv 5284  df-inn 9044  df-ndx 12879  df-slot 12880
This theorem is referenced by:  ndxid  12900  ndxslid  12901  strndxid  12904  basendx  12931  basendxnn  12932  plusgndx  12985  2strstrg  12995  2strbasg  12996  2stropg  12997  2strstr1g  12998  2strop1g  13000  basendxnplusgndx  13001  mulrndx  13006  basendxnmulrndx  13010  starvndx  13015  scandx  13027  vscandx  13033  ipndx  13045  tsetndx  13062  plendx  13076  ocndx  13087  dsndx  13091  unifndx  13102  homndx  13109  ccondx  13112  edgfndx  15650
  Copyright terms: Public domain W3C validator