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

Theorem ndxarg 12538
Description: Get the numeric argument from a defined structure component extractor such as df-base 12521. (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 12518 . . . 4 ndx = ( I ↾ ℕ)
2 nnex 8956 . . . . 5 ℕ ∈ V
3 resiexg 4970 . . . . 5 (ℕ ∈ V → ( I ↾ ℕ) ∈ V)
42, 3ax-mp 5 . . . 4 ( I ↾ ℕ) ∈ V
51, 4eqeltri 2262 . . 3 ndx ∈ V
6 ndxarg.1 . . 3 𝐸 = Slot 𝑁
7 ndxarg.2 . . 3 𝑁 ∈ ℕ
85, 6, 7strnfvn 12536 . 2 (𝐸‘ndx) = (ndx‘𝑁)
91fveq1i 5535 . 2 (ndx‘𝑁) = (( I ↾ ℕ)‘𝑁)
10 fvresi 5730 . . 3 (𝑁 ∈ ℕ → (( I ↾ ℕ)‘𝑁) = 𝑁)
117, 10ax-mp 5 . 2 (( I ↾ ℕ)‘𝑁) = 𝑁
128, 9, 113eqtri 2214 1 (𝐸‘ndx) = 𝑁
Colors of variables: wff set class
Syntax hints:   = wceq 1364  wcel 2160  Vcvv 2752   I cid 4306  cres 4646  cfv 5235  cn 8950  ndxcnx 12512  Slot cslot 12514
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 710  ax-5 1458  ax-7 1459  ax-gen 1460  ax-ie1 1504  ax-ie2 1505  ax-8 1515  ax-10 1516  ax-11 1517  ax-i12 1518  ax-bndl 1520  ax-4 1521  ax-17 1537  ax-i9 1541  ax-ial 1545  ax-i5r 1546  ax-13 2162  ax-14 2163  ax-ext 2171  ax-sep 4136  ax-pow 4192  ax-pr 4227  ax-un 4451  ax-cnex 7933  ax-resscn 7934  ax-1re 7936  ax-addrcl 7939
This theorem depends on definitions:  df-bi 117  df-3an 982  df-tru 1367  df-nf 1472  df-sb 1774  df-eu 2041  df-mo 2042  df-clab 2176  df-cleq 2182  df-clel 2185  df-nfc 2321  df-ral 2473  df-rex 2474  df-v 2754  df-sbc 2978  df-un 3148  df-in 3150  df-ss 3157  df-pw 3592  df-sn 3613  df-pr 3614  df-op 3616  df-uni 3825  df-int 3860  df-br 4019  df-opab 4080  df-mpt 4081  df-id 4311  df-xp 4650  df-rel 4651  df-cnv 4652  df-co 4653  df-dm 4654  df-rn 4655  df-res 4656  df-iota 5196  df-fun 5237  df-fv 5243  df-inn 8951  df-ndx 12518  df-slot 12519
This theorem is referenced by:  ndxid  12539  ndxslid  12540  strndxid  12543  basendx  12570  basendxnn  12571  plusgndx  12624  2strstrg  12633  2strbasg  12634  2stropg  12635  2strstr1g  12636  2strop1g  12638  basendxnplusgndx  12639  mulrndx  12644  basendxnmulrndx  12648  starvndx  12653  scandx  12665  vscandx  12671  ipndx  12683  tsetndx  12700  plendx  12714  dsndx  12725  unifndx  12736
  Copyright terms: Public domain W3C validator