Users' Mathboxes Mathbox for Jim Kingdon < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  ILE Home  >  Th. List  >   Mathboxes  >  nninfsellemeqinf GIF version

Theorem nninfsellemeqinf 14049
Description: Lemma for nninfsel 14050. (Contributed by Jim Kingdon, 9-Aug-2022.)
Hypotheses
Ref Expression
nninfsel.e 𝐸 = (𝑞 ∈ (2o𝑚) ↦ (𝑛 ∈ ω ↦ if(∀𝑘 ∈ suc 𝑛(𝑞‘(𝑖 ∈ ω ↦ if(𝑖𝑘, 1o, ∅))) = 1o, 1o, ∅)))
nninfsel.q (𝜑𝑄 ∈ (2o𝑚))
nninfsel.1 (𝜑 → (𝑄‘(𝐸𝑄)) = 1o)
Assertion
Ref Expression
nninfsellemeqinf (𝜑 → (𝐸𝑄) = (𝑖 ∈ ω ↦ 1o))
Distinct variable groups:   𝑄,𝑘,𝑛,𝑞   𝑖,𝑘,𝑛,𝑞   𝜑,𝑘,𝑛
Allowed substitution hints:   𝜑(𝑖,𝑞)   𝑄(𝑖)   𝐸(𝑖,𝑘,𝑛,𝑞)

Proof of Theorem nninfsellemeqinf
Dummy variable 𝑗 is distinct from all other variables.
StepHypRef Expression
1 nninfsel.e . . . . . . 7 𝐸 = (𝑞 ∈ (2o𝑚) ↦ (𝑛 ∈ ω ↦ if(∀𝑘 ∈ suc 𝑛(𝑞‘(𝑖 ∈ ω ↦ if(𝑖𝑘, 1o, ∅))) = 1o, 1o, ∅)))
21nninfself 14046 . . . . . 6 𝐸:(2o𝑚)⟶ℕ
32a1i 9 . . . . 5 (𝜑𝐸:(2o𝑚)⟶ℕ)
4 nninfsel.q . . . . 5 (𝜑𝑄 ∈ (2o𝑚))
53, 4ffvelrnd 5632 . . . 4 (𝜑 → (𝐸𝑄) ∈ ℕ)
6 nninff 7099 . . . 4 ((𝐸𝑄) ∈ ℕ → (𝐸𝑄):ω⟶2o)
75, 6syl 14 . . 3 (𝜑 → (𝐸𝑄):ω⟶2o)
87ffnd 5348 . 2 (𝜑 → (𝐸𝑄) Fn ω)
9 1onn 6499 . . . . 5 1o ∈ ω
10 fnconstg 5395 . . . . 5 (1o ∈ ω → (ω × {1o}) Fn ω)
119, 10ax-mp 5 . . . 4 (ω × {1o}) Fn ω
12 fconstmpt 4658 . . . . 5 (ω × {1o}) = (𝑖 ∈ ω ↦ 1o)
1312fneq1i 5292 . . . 4 ((ω × {1o}) Fn ω ↔ (𝑖 ∈ ω ↦ 1o) Fn ω)
1411, 13mpbi 144 . . 3 (𝑖 ∈ ω ↦ 1o) Fn ω
1514a1i 9 . 2 (𝜑 → (𝑖 ∈ ω ↦ 1o) Fn ω)
16 elequ2 2146 . . . . . . . . . 10 (𝑗 = 𝑘 → (𝑖𝑗𝑖𝑘))
1716ifbid 3547 . . . . . . . . 9 (𝑗 = 𝑘 → if(𝑖𝑗, 1o, ∅) = if(𝑖𝑘, 1o, ∅))
1817mpteq2dv 4080 . . . . . . . 8 (𝑗 = 𝑘 → (𝑖 ∈ ω ↦ if(𝑖𝑗, 1o, ∅)) = (𝑖 ∈ ω ↦ if(𝑖𝑘, 1o, ∅)))
1918fveq2d 5500 . . . . . . 7 (𝑗 = 𝑘 → (𝑄‘(𝑖 ∈ ω ↦ if(𝑖𝑗, 1o, ∅))) = (𝑄‘(𝑖 ∈ ω ↦ if(𝑖𝑘, 1o, ∅))))
2019eqeq1d 2179 . . . . . 6 (𝑗 = 𝑘 → ((𝑄‘(𝑖 ∈ ω ↦ if(𝑖𝑗, 1o, ∅))) = 1o ↔ (𝑄‘(𝑖 ∈ ω ↦ if(𝑖𝑘, 1o, ∅))) = 1o))
214adantr 274 . . . . . . . . 9 ((𝜑𝑗 ∈ ω) → 𝑄 ∈ (2o𝑚))
22 nninfsel.1 . . . . . . . . . 10 (𝜑 → (𝑄‘(𝐸𝑄)) = 1o)
2322adantr 274 . . . . . . . . 9 ((𝜑𝑗 ∈ ω) → (𝑄‘(𝐸𝑄)) = 1o)
24 simpr 109 . . . . . . . . 9 ((𝜑𝑗 ∈ ω) → 𝑗 ∈ ω)
251, 21, 23, 24nninfsellemqall 14048 . . . . . . . 8 ((𝜑𝑗 ∈ ω) → (𝑄‘(𝑖 ∈ ω ↦ if(𝑖𝑗, 1o, ∅))) = 1o)
2625ralrimiva 2543 . . . . . . 7 (𝜑 → ∀𝑗 ∈ ω (𝑄‘(𝑖 ∈ ω ↦ if(𝑖𝑗, 1o, ∅))) = 1o)
2726ad2antrr 485 . . . . . 6 (((𝜑𝑗 ∈ ω) ∧ 𝑘 ∈ suc 𝑗) → ∀𝑗 ∈ ω (𝑄‘(𝑖 ∈ ω ↦ if(𝑖𝑗, 1o, ∅))) = 1o)
28 simpr 109 . . . . . . 7 (((𝜑𝑗 ∈ ω) ∧ 𝑘 ∈ suc 𝑗) → 𝑘 ∈ suc 𝑗)
29 peano2 4579 . . . . . . . 8 (𝑗 ∈ ω → suc 𝑗 ∈ ω)
3029ad2antlr 486 . . . . . . 7 (((𝜑𝑗 ∈ ω) ∧ 𝑘 ∈ suc 𝑗) → suc 𝑗 ∈ ω)
31 elnn 4590 . . . . . . 7 ((𝑘 ∈ suc 𝑗 ∧ suc 𝑗 ∈ ω) → 𝑘 ∈ ω)
3228, 30, 31syl2anc 409 . . . . . 6 (((𝜑𝑗 ∈ ω) ∧ 𝑘 ∈ suc 𝑗) → 𝑘 ∈ ω)
3320, 27, 32rspcdva 2839 . . . . 5 (((𝜑𝑗 ∈ ω) ∧ 𝑘 ∈ suc 𝑗) → (𝑄‘(𝑖 ∈ ω ↦ if(𝑖𝑘, 1o, ∅))) = 1o)
3433ralrimiva 2543 . . . 4 ((𝜑𝑗 ∈ ω) → ∀𝑘 ∈ suc 𝑗(𝑄‘(𝑖 ∈ ω ↦ if(𝑖𝑘, 1o, ∅))) = 1o)
3534iftrued 3533 . . 3 ((𝜑𝑗 ∈ ω) → if(∀𝑘 ∈ suc 𝑗(𝑄‘(𝑖 ∈ ω ↦ if(𝑖𝑘, 1o, ∅))) = 1o, 1o, ∅) = 1o)
36 omex 4577 . . . . . . 7 ω ∈ V
3736mptex 5722 . . . . . 6 (𝑛 ∈ ω ↦ if(∀𝑘 ∈ suc 𝑛(𝑄‘(𝑖 ∈ ω ↦ if(𝑖𝑘, 1o, ∅))) = 1o, 1o, ∅)) ∈ V
3837a1i 9 . . . . 5 ((𝜑𝑗 ∈ ω) → (𝑛 ∈ ω ↦ if(∀𝑘 ∈ suc 𝑛(𝑄‘(𝑖 ∈ ω ↦ if(𝑖𝑘, 1o, ∅))) = 1o, 1o, ∅)) ∈ V)
39 fveq1 5495 . . . . . . . . . 10 (𝑞 = 𝑄 → (𝑞‘(𝑖 ∈ ω ↦ if(𝑖𝑘, 1o, ∅))) = (𝑄‘(𝑖 ∈ ω ↦ if(𝑖𝑘, 1o, ∅))))
4039eqeq1d 2179 . . . . . . . . 9 (𝑞 = 𝑄 → ((𝑞‘(𝑖 ∈ ω ↦ if(𝑖𝑘, 1o, ∅))) = 1o ↔ (𝑄‘(𝑖 ∈ ω ↦ if(𝑖𝑘, 1o, ∅))) = 1o))
4140ralbidv 2470 . . . . . . . 8 (𝑞 = 𝑄 → (∀𝑘 ∈ suc 𝑛(𝑞‘(𝑖 ∈ ω ↦ if(𝑖𝑘, 1o, ∅))) = 1o ↔ ∀𝑘 ∈ suc 𝑛(𝑄‘(𝑖 ∈ ω ↦ if(𝑖𝑘, 1o, ∅))) = 1o))
4241ifbid 3547 . . . . . . 7 (𝑞 = 𝑄 → if(∀𝑘 ∈ suc 𝑛(𝑞‘(𝑖 ∈ ω ↦ if(𝑖𝑘, 1o, ∅))) = 1o, 1o, ∅) = if(∀𝑘 ∈ suc 𝑛(𝑄‘(𝑖 ∈ ω ↦ if(𝑖𝑘, 1o, ∅))) = 1o, 1o, ∅))
4342mpteq2dv 4080 . . . . . 6 (𝑞 = 𝑄 → (𝑛 ∈ ω ↦ if(∀𝑘 ∈ suc 𝑛(𝑞‘(𝑖 ∈ ω ↦ if(𝑖𝑘, 1o, ∅))) = 1o, 1o, ∅)) = (𝑛 ∈ ω ↦ if(∀𝑘 ∈ suc 𝑛(𝑄‘(𝑖 ∈ ω ↦ if(𝑖𝑘, 1o, ∅))) = 1o, 1o, ∅)))
4443, 1fvmptg 5572 . . . . 5 ((𝑄 ∈ (2o𝑚) ∧ (𝑛 ∈ ω ↦ if(∀𝑘 ∈ suc 𝑛(𝑄‘(𝑖 ∈ ω ↦ if(𝑖𝑘, 1o, ∅))) = 1o, 1o, ∅)) ∈ V) → (𝐸𝑄) = (𝑛 ∈ ω ↦ if(∀𝑘 ∈ suc 𝑛(𝑄‘(𝑖 ∈ ω ↦ if(𝑖𝑘, 1o, ∅))) = 1o, 1o, ∅)))
4521, 38, 44syl2anc 409 . . . 4 ((𝜑𝑗 ∈ ω) → (𝐸𝑄) = (𝑛 ∈ ω ↦ if(∀𝑘 ∈ suc 𝑛(𝑄‘(𝑖 ∈ ω ↦ if(𝑖𝑘, 1o, ∅))) = 1o, 1o, ∅)))
46 suceq 4387 . . . . . . 7 (𝑛 = 𝑗 → suc 𝑛 = suc 𝑗)
4746adantl 275 . . . . . 6 (((𝜑𝑗 ∈ ω) ∧ 𝑛 = 𝑗) → suc 𝑛 = suc 𝑗)
4847raleqdv 2671 . . . . 5 (((𝜑𝑗 ∈ ω) ∧ 𝑛 = 𝑗) → (∀𝑘 ∈ suc 𝑛(𝑄‘(𝑖 ∈ ω ↦ if(𝑖𝑘, 1o, ∅))) = 1o ↔ ∀𝑘 ∈ suc 𝑗(𝑄‘(𝑖 ∈ ω ↦ if(𝑖𝑘, 1o, ∅))) = 1o))
4948ifbid 3547 . . . 4 (((𝜑𝑗 ∈ ω) ∧ 𝑛 = 𝑗) → if(∀𝑘 ∈ suc 𝑛(𝑄‘(𝑖 ∈ ω ↦ if(𝑖𝑘, 1o, ∅))) = 1o, 1o, ∅) = if(∀𝑘 ∈ suc 𝑗(𝑄‘(𝑖 ∈ ω ↦ if(𝑖𝑘, 1o, ∅))) = 1o, 1o, ∅))
5035, 9eqeltrdi 2261 . . . 4 ((𝜑𝑗 ∈ ω) → if(∀𝑘 ∈ suc 𝑗(𝑄‘(𝑖 ∈ ω ↦ if(𝑖𝑘, 1o, ∅))) = 1o, 1o, ∅) ∈ ω)
5145, 49, 24, 50fvmptd 5577 . . 3 ((𝜑𝑗 ∈ ω) → ((𝐸𝑄)‘𝑗) = if(∀𝑘 ∈ suc 𝑗(𝑄‘(𝑖 ∈ ω ↦ if(𝑖𝑘, 1o, ∅))) = 1o, 1o, ∅))
52 eqidd 2171 . . . . . 6 (𝑖 = 𝑗 → 1o = 1o)
53 eqid 2170 . . . . . 6 (𝑖 ∈ ω ↦ 1o) = (𝑖 ∈ ω ↦ 1o)
5452, 53fvmptg 5572 . . . . 5 ((𝑗 ∈ ω ∧ 1o ∈ ω) → ((𝑖 ∈ ω ↦ 1o)‘𝑗) = 1o)
559, 54mpan2 423 . . . 4 (𝑗 ∈ ω → ((𝑖 ∈ ω ↦ 1o)‘𝑗) = 1o)
5655adantl 275 . . 3 ((𝜑𝑗 ∈ ω) → ((𝑖 ∈ ω ↦ 1o)‘𝑗) = 1o)
5735, 51, 563eqtr4d 2213 . 2 ((𝜑𝑗 ∈ ω) → ((𝐸𝑄)‘𝑗) = ((𝑖 ∈ ω ↦ 1o)‘𝑗))
588, 15, 57eqfnfvd 5596 1 (𝜑 → (𝐸𝑄) = (𝑖 ∈ ω ↦ 1o))
Colors of variables: wff set class
Syntax hints:  wi 4  wa 103   = wceq 1348  wcel 2141  wral 2448  Vcvv 2730  c0 3414  ifcif 3526  {csn 3583  cmpt 4050  suc csuc 4350  ωcom 4574   × cxp 4609   Fn wfn 5193  wf 5194  cfv 5198  (class class class)co 5853  1oc1o 6388  2oc2o 6389  𝑚 cmap 6626  xnninf 7096
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-ia1 105  ax-ia2 106  ax-ia3 107  ax-in1 609  ax-in2 610  ax-io 704  ax-5 1440  ax-7 1441  ax-gen 1442  ax-ie1 1486  ax-ie2 1487  ax-8 1497  ax-10 1498  ax-11 1499  ax-i12 1500  ax-bndl 1502  ax-4 1503  ax-17 1519  ax-i9 1523  ax-ial 1527  ax-i5r 1528  ax-13 2143  ax-14 2144  ax-ext 2152  ax-coll 4104  ax-sep 4107  ax-nul 4115  ax-pow 4160  ax-pr 4194  ax-un 4418  ax-setind 4521  ax-iinf 4572
This theorem depends on definitions:  df-bi 116  df-dc 830  df-3or 974  df-3an 975  df-tru 1351  df-fal 1354  df-nf 1454  df-sb 1756  df-eu 2022  df-mo 2023  df-clab 2157  df-cleq 2163  df-clel 2166  df-nfc 2301  df-ne 2341  df-ral 2453  df-rex 2454  df-reu 2455  df-rab 2457  df-v 2732  df-sbc 2956  df-csb 3050  df-dif 3123  df-un 3125  df-in 3127  df-ss 3134  df-nul 3415  df-if 3527  df-pw 3568  df-sn 3589  df-pr 3590  df-op 3592  df-uni 3797  df-int 3832  df-iun 3875  df-br 3990  df-opab 4051  df-mpt 4052  df-tr 4088  df-id 4278  df-iord 4351  df-on 4353  df-suc 4356  df-iom 4575  df-xp 4617  df-rel 4618  df-cnv 4619  df-co 4620  df-dm 4621  df-rn 4622  df-res 4623  df-ima 4624  df-iota 5160  df-fun 5200  df-fn 5201  df-f 5202  df-f1 5203  df-fo 5204  df-f1o 5205  df-fv 5206  df-ov 5856  df-oprab 5857  df-mpo 5858  df-1o 6395  df-2o 6396  df-map 6628  df-nninf 7097
This theorem is referenced by:  nninfsel  14050
  Copyright terms: Public domain W3C validator