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

Theorem nninfsellemeq 17263
Description: Lemma for nninfsel 17266. (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)
nninfsel.n (𝜑 → 𝑁 ∈ ω)
nninfsel.qk (𝜑 → ∀𝑘 ∈ 𝑁 (𝑄‘(𝑖 ∈ ω ↦ if(𝑖 ∈ 𝑘, 1o, ∅))) = 1o)
nninfsel.qn (𝜑 → (𝑄‘(𝑖 ∈ ω ↦ if(𝑖 ∈ 𝑁, 1o, ∅))) = ∅)
Assertion
Ref Expression
nninfsellemeq (𝜑 → (𝐸‘𝑄) = (𝑖 ∈ ω ↦ if(𝑖 ∈ 𝑁, 1o, ∅)))
Distinct variable groups:   𝑖,𝑁,𝑘,𝑛   𝑄,𝑛,𝑘,𝑞   𝜑,𝑖,𝑛   𝑖,𝑞
Allowed substitution hints:   𝜑(𝑘, 𝑞)   𝑄(𝑖)   𝐸(𝑖, 𝑘, 𝑛, 𝑞)   𝑁(𝑞)

Proof of Theorem nninfsellemeq
Dummy variable 𝑗 is distinct from all other variables.
StepHypRef Expression
1 nninfsel.e . . . . 5 𝐸 = (𝑞 ∈ (2o ↑𝑚 ℕ∞) ↦ (𝑛 ∈ ω ↦ if(∀𝑘 ∈ suc 𝑛(𝑞‘(𝑖 ∈ ω ↦ if(𝑖 ∈ 𝑘, 1o, ∅))) = 1o, 1o, ∅)))
21nninfself 17262 . . . 4 𝐸:(2o ↑𝑚 ℕ∞)⟶ℕ∞
32a1i 9 . . 3 (𝜑 → 𝐸:(2o ↑𝑚 ℕ∞)⟶ℕ∞)
4 nninfsel.q . . 3 (𝜑 → 𝑄 ∈ (2o ↑𝑚 ℕ∞))
53, 4ffvelcdmd 5847 . 2 (𝜑 → (𝐸‘𝑄) ∈ ℕ∞)
6 nninfsel.n . 2 (𝜑 → 𝑁 ∈ ω)
7 fveq1 5697 . . . . . . . . . . 11 (𝑞 = 𝑄 → (𝑞‘(𝑖 ∈ ω ↦ if(𝑖 ∈ 𝑘, 1o, ∅))) = (𝑄‘(𝑖 ∈ ω ↦ if(𝑖 ∈ 𝑘, 1o, ∅))))
87eqeq1d 2247 . . . . . . . . . 10 (𝑞 = 𝑄 → ((𝑞‘(𝑖 ∈ ω ↦ if(𝑖 ∈ 𝑘, 1o, ∅))) = 1o ↔ (𝑄‘(𝑖 ∈ ω ↦ if(𝑖 ∈ 𝑘, 1o, ∅))) = 1o))
98ralbidv 2550 . . . . . . . . 9 (𝑞 = 𝑄 → (∀𝑘 ∈ suc 𝑛(𝑞‘(𝑖 ∈ ω ↦ if(𝑖 ∈ 𝑘, 1o, ∅))) = 1o ↔ ∀𝑘 ∈ suc 𝑛(𝑄‘(𝑖 ∈ ω ↦ if(𝑖 ∈ 𝑘, 1o, ∅))) = 1o))
109ifbid 3662 . . . . . . . 8 (𝑞 = 𝑄 → if(∀𝑘 ∈ suc 𝑛(𝑞‘(𝑖 ∈ ω ↦ if(𝑖 ∈ 𝑘, 1o, ∅))) = 1o, 1o, ∅) = if(∀𝑘 ∈ suc 𝑛(𝑄‘(𝑖 ∈ ω ↦ if(𝑖 ∈ 𝑘, 1o, ∅))) = 1o, 1o, ∅))
1110mpteq2dv 4224 . . . . . . 7 (𝑞 = 𝑄 → (𝑛 ∈ ω ↦ if(∀𝑘 ∈ suc 𝑛(𝑞‘(𝑖 ∈ ω ↦ if(𝑖 ∈ 𝑘, 1o, ∅))) = 1o, 1o, ∅)) = (𝑛 ∈ ω ↦ if(∀𝑘 ∈ suc 𝑛(𝑄‘(𝑖 ∈ ω ↦ if(𝑖 ∈ 𝑘, 1o, ∅))) = 1o, 1o, ∅)))
12 omex 4742 . . . . . . . 8 ω ∈ V
1312mptex 5946 . . . . . . 7 (𝑛 ∈ ω ↦ if(∀𝑘 ∈ suc 𝑛(𝑄‘(𝑖 ∈ ω ↦ if(𝑖 ∈ 𝑘, 1o, ∅))) = 1o, 1o, ∅)) ∈ V
1411, 1, 13fvmpt 5785 . . . . . 6 (𝑄 ∈ (2o ↑𝑚 ℕ∞) → (𝐸‘𝑄) = (𝑛 ∈ ω ↦ if(∀𝑘 ∈ suc 𝑛(𝑄‘(𝑖 ∈ ω ↦ if(𝑖 ∈ 𝑘, 1o, ∅))) = 1o, 1o, ∅)))
154, 14syl 14 . . . . 5 (𝜑 → (𝐸‘𝑄) = (𝑛 ∈ ω ↦ if(∀𝑘 ∈ suc 𝑛(𝑄‘(𝑖 ∈ ω ↦ if(𝑖 ∈ 𝑘, 1o, ∅))) = 1o, 1o, ∅)))
1615adantr 276 . . . 4 ((𝜑 ∧ 𝑗 ∈ 𝑁) → (𝐸‘𝑄) = (𝑛 ∈ ω ↦ if(∀𝑘 ∈ suc 𝑛(𝑄‘(𝑖 ∈ ω ↦ if(𝑖 ∈ 𝑘, 1o, ∅))) = 1o, 1o, ∅)))
17 simpr 110 . . . . . . . 8 (((𝜑 ∧ 𝑗 ∈ 𝑁) ∧ 𝑛 = 𝑗) → 𝑛 = 𝑗)
18 simplr 533 . . . . . . . 8 (((𝜑 ∧ 𝑗 ∈ 𝑁) ∧ 𝑛 = 𝑗) → 𝑗 ∈ 𝑁)
1917, 18eqeltrd 2315 . . . . . . 7 (((𝜑 ∧ 𝑗 ∈ 𝑁) ∧ 𝑛 = 𝑗) → 𝑛 ∈ 𝑁)
20 nnord 4761 . . . . . . . . 9 (𝑁 ∈ ω → Ord 𝑁)
21 vex 2824 . . . . . . . . . 10 𝑛 ∈ V
22 ordelsuc 4654 . . . . . . . . . 10 ((𝑛 ∈ V ∧ Ord 𝑁) → (𝑛 ∈ 𝑁 ↔ suc 𝑛 ⊆ 𝑁))
2321, 22mpan 428 . . . . . . . . 9 (Ord 𝑁 → (𝑛 ∈ 𝑁 ↔ suc 𝑛 ⊆ 𝑁))
246, 20, 233syl 17 . . . . . . . 8 (𝜑 → (𝑛 ∈ 𝑁 ↔ suc 𝑛 ⊆ 𝑁))
2524ad2antrr 492 . . . . . . 7 (((𝜑 ∧ 𝑗 ∈ 𝑁) ∧ 𝑛 = 𝑗) → (𝑛 ∈ 𝑁 ↔ suc 𝑛 ⊆ 𝑁))
2619, 25mpbid 147 . . . . . 6 (((𝜑 ∧ 𝑗 ∈ 𝑁) ∧ 𝑛 = 𝑗) → suc 𝑛 ⊆ 𝑁)
27 nninfsel.qk . . . . . . 7 (𝜑 → ∀𝑘 ∈ 𝑁 (𝑄‘(𝑖 ∈ ω ↦ if(𝑖 ∈ 𝑘, 1o, ∅))) = 1o)
2827ad2antrr 492 . . . . . 6 (((𝜑 ∧ 𝑗 ∈ 𝑁) ∧ 𝑛 = 𝑗) → ∀𝑘 ∈ 𝑁 (𝑄‘(𝑖 ∈ ω ↦ if(𝑖 ∈ 𝑘, 1o, ∅))) = 1o)
29 ssralv 3312 . . . . . 6 (suc 𝑛 ⊆ 𝑁 → (∀𝑘 ∈ 𝑁 (𝑄‘(𝑖 ∈ ω ↦ if(𝑖 ∈ 𝑘, 1o, ∅))) = 1o → ∀𝑘 ∈ suc 𝑛(𝑄‘(𝑖 ∈ ω ↦ if(𝑖 ∈ 𝑘, 1o, ∅))) = 1o))
3026, 28, 29sylc 62 . . . . 5 (((𝜑 ∧ 𝑗 ∈ 𝑁) ∧ 𝑛 = 𝑗) → ∀𝑘 ∈ suc 𝑛(𝑄‘(𝑖 ∈ ω ↦ if(𝑖 ∈ 𝑘, 1o, ∅))) = 1o)
3130iftrued 3647 . . . 4 (((𝜑 ∧ 𝑗 ∈ 𝑁) ∧ 𝑛 = 𝑗) → if(∀𝑘 ∈ suc 𝑛(𝑄‘(𝑖 ∈ ω ↦ if(𝑖 ∈ 𝑘, 1o, ∅))) = 1o, 1o, ∅) = 1o)
32 simpr 110 . . . . 5 ((𝜑 ∧ 𝑗 ∈ 𝑁) → 𝑗 ∈ 𝑁)
336adantr 276 . . . . 5 ((𝜑 ∧ 𝑗 ∈ 𝑁) → 𝑁 ∈ ω)
34 elnn 4755 . . . . 5 ((𝑗 ∈ 𝑁 ∧ 𝑁 ∈ ω) → 𝑗 ∈ ω)
3532, 33, 34syl2anc 415 . . . 4 ((𝜑 ∧ 𝑗 ∈ 𝑁) → 𝑗 ∈ ω)
36 1onn 6797 . . . . 5 1o ∈ ω
3736a1i 9 . . . 4 ((𝜑 ∧ 𝑗 ∈ 𝑁) → 1o ∈ ω)
3816, 31, 35, 37fvmptd 5789 . . 3 ((𝜑 ∧ 𝑗 ∈ 𝑁) → ((𝐸‘𝑄)‘𝑗) = 1o)
3938ralrimiva 2623 . 2 (𝜑 → ∀𝑗 ∈ 𝑁 ((𝐸‘𝑄)‘𝑗) = 1o)
4021sucid 4564 . . . . . . 7 𝑛 ∈ suc 𝑛
4140a1i 9 . . . . . 6 ((𝜑 ∧ 𝑛 = 𝑁) → 𝑛 ∈ suc 𝑛)
42 1n0 6709 . . . . . . . 8 1o ≠ ∅
4342nesymi 2466 . . . . . . 7 ¬ ∅ = 1o
44 simpr 110 . . . . . . . . . . . . 13 ((𝜑 ∧ 𝑛 = 𝑁) → 𝑛 = 𝑁)
4544eleq2d 2308 . . . . . . . . . . . 12 ((𝜑 ∧ 𝑛 = 𝑁) → (𝑖 ∈ 𝑛 ↔ 𝑖 ∈ 𝑁))
4645ifbid 3662 . . . . . . . . . . 11 ((𝜑 ∧ 𝑛 = 𝑁) → if(𝑖 ∈ 𝑛, 1o, ∅) = if(𝑖 ∈ 𝑁, 1o, ∅))
4746mpteq2dv 4224 . . . . . . . . . 10 ((𝜑 ∧ 𝑛 = 𝑁) → (𝑖 ∈ ω ↦ if(𝑖 ∈ 𝑛, 1o, ∅)) = (𝑖 ∈ ω ↦ if(𝑖 ∈ 𝑁, 1o, ∅)))
4847fveq2d 5702 . . . . . . . . 9 ((𝜑 ∧ 𝑛 = 𝑁) → (𝑄‘(𝑖 ∈ ω ↦ if(𝑖 ∈ 𝑛, 1o, ∅))) = (𝑄‘(𝑖 ∈ ω ↦ if(𝑖 ∈ 𝑁, 1o, ∅))))
49 nninfsel.qn . . . . . . . . . 10 (𝜑 → (𝑄‘(𝑖 ∈ ω ↦ if(𝑖 ∈ 𝑁, 1o, ∅))) = ∅)
5049adantr 276 . . . . . . . . 9 ((𝜑 ∧ 𝑛 = 𝑁) → (𝑄‘(𝑖 ∈ ω ↦ if(𝑖 ∈ 𝑁, 1o, ∅))) = ∅)
5148, 50eqtrd 2271 . . . . . . . 8 ((𝜑 ∧ 𝑛 = 𝑁) → (𝑄‘(𝑖 ∈ ω ↦ if(𝑖 ∈ 𝑛, 1o, ∅))) = ∅)
5251eqeq1d 2247 . . . . . . 7 ((𝜑 ∧ 𝑛 = 𝑁) → ((𝑄‘(𝑖 ∈ ω ↦ if(𝑖 ∈ 𝑛, 1o, ∅))) = 1o ↔ ∅ = 1o))
5343, 52mtbiri 686 . . . . . 6 ((𝜑 ∧ 𝑛 = 𝑁) → ¬ (𝑄‘(𝑖 ∈ ω ↦ if(𝑖 ∈ 𝑛, 1o, ∅))) = 1o)
54 elequ2 2214 . . . . . . . . . . . 12 (𝑘 = 𝑛 → (𝑖 ∈ 𝑘 ↔ 𝑖 ∈ 𝑛))
5554ifbid 3662 . . . . . . . . . . 11 (𝑘 = 𝑛 → if(𝑖 ∈ 𝑘, 1o, ∅) = if(𝑖 ∈ 𝑛, 1o, ∅))
5655mpteq2dv 4224 . . . . . . . . . 10 (𝑘 = 𝑛 → (𝑖 ∈ ω ↦ if(𝑖 ∈ 𝑘, 1o, ∅)) = (𝑖 ∈ ω ↦ if(𝑖 ∈ 𝑛, 1o, ∅)))
5756fveq2d 5702 . . . . . . . . 9 (𝑘 = 𝑛 → (𝑄‘(𝑖 ∈ ω ↦ if(𝑖 ∈ 𝑘, 1o, ∅))) = (𝑄‘(𝑖 ∈ ω ↦ if(𝑖 ∈ 𝑛, 1o, ∅))))
5857eqeq1d 2247 . . . . . . . 8 (𝑘 = 𝑛 → ((𝑄‘(𝑖 ∈ ω ↦ if(𝑖 ∈ 𝑘, 1o, ∅))) = 1o ↔ (𝑄‘(𝑖 ∈ ω ↦ if(𝑖 ∈ 𝑛, 1o, ∅))) = 1o))
5958notbid 677 . . . . . . 7 (𝑘 = 𝑛 → (¬ (𝑄‘(𝑖 ∈ ω ↦ if(𝑖 ∈ 𝑘, 1o, ∅))) = 1o ↔ ¬ (𝑄‘(𝑖 ∈ ω ↦ if(𝑖 ∈ 𝑛, 1o, ∅))) = 1o))
6059rspcev 2929 . . . . . 6 ((𝑛 ∈ suc 𝑛 ∧ ¬ (𝑄‘(𝑖 ∈ ω ↦ if(𝑖 ∈ 𝑛, 1o, ∅))) = 1o) → ∃𝑘 ∈ suc 𝑛 ¬ (𝑄‘(𝑖 ∈ ω ↦ if(𝑖 ∈ 𝑘, 1o, ∅))) = 1o)
6141, 53, 60syl2anc 415 . . . . 5 ((𝜑 ∧ 𝑛 = 𝑁) → ∃𝑘 ∈ suc 𝑛 ¬ (𝑄‘(𝑖 ∈ ω ↦ if(𝑖 ∈ 𝑘, 1o, ∅))) = 1o)
62 rexnalim 2539 . . . . 5 (∃𝑘 ∈ suc 𝑛 ¬ (𝑄‘(𝑖 ∈ ω ↦ if(𝑖 ∈ 𝑘, 1o, ∅))) = 1o → ¬ ∀𝑘 ∈ suc 𝑛(𝑄‘(𝑖 ∈ ω ↦ if(𝑖 ∈ 𝑘, 1o, ∅))) = 1o)
6361, 62syl 14 . . . 4 ((𝜑 ∧ 𝑛 = 𝑁) → ¬ ∀𝑘 ∈ suc 𝑛(𝑄‘(𝑖 ∈ ω ↦ if(𝑖 ∈ 𝑘, 1o, ∅))) = 1o)
6463iffalsed 3650 . . 3 ((𝜑 ∧ 𝑛 = 𝑁) → if(∀𝑘 ∈ suc 𝑛(𝑄‘(𝑖 ∈ ω ↦ if(𝑖 ∈ 𝑘, 1o, ∅))) = 1o, 1o, ∅) = ∅)
65 peano1 4743 . . . 4 ∅ ∈ ω
6665a1i 9 . . 3 (𝜑 → ∅ ∈ ω)
6715, 64, 6, 66fvmptd 5789 . 2 (𝜑 → ((𝐸‘𝑄)‘𝑁) = ∅)
685, 6, 39, 67nnnninfeq 7474 1 (𝜑 → (𝐸‘𝑄) = (𝑖 ∈ ω ↦ if(𝑖 ∈ 𝑁, 1o, ∅)))
Colors of variables:    wff set class
This proof depends on syntax axioms:  ¬ wn 3   → wi 4   ∧ wa 104   ↔ wb 105   = wceq 1402   ∈ wcel 2209  ∀wral 2528  ∃wrex 2529  Vcvv 2821   ⊆ wss 3220  ∅c0 3520  ifcif 3638   ↦ cmpt 4193  Ord word 4509  suc csuc 4512  ωcom 4739  ⟶wf 5376  ‘cfv 5380  (class class class)co 6088  1oc1o 6684  2oc2o 6685   ↑𝑚 cmap 6926  ℕ∞xnninf 7465
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-ia1 106  ax-ia2 107  ax-ia3 108  ax-in1 623  ax-in2 624  ax-io 721  ax-5 1500  ax-7 1501  ax-gen 1502  ax-ie1 1546  ax-ie2 1547  ax-8 1557  ax-10 1558  ax-11 1559  ax-i12 1560  ax-bndl 1562  ax-4 1563  ax-17 1579  ax-i9 1583  ax-ial 1587  ax-i5r 1588  ax-14 2212  ax-ext 2220  ax-coll 4248  ax-sep 4251  ax-nul 4261  ax-pow 4313  ax-pr 4348  ax-un 4580  ax-setind 4686  ax-iinf 4737
This proof depends on definitions:  df-bi 117  df-dc 847  df-3or 1010  df-3an 1011  df-tru 1405  df-fal 1408  df-nf 1514  df-sb 1816  df-eu 2089  df-mo 2090  df-clab 2225  df-cleq 2231  df-clel 2234  df-nfc 2381  df-ne 2421  df-ral 2533  df-rex 2534  df-reu 2535  df-rab 2537  df-v 2823  df-sbc 3052  df-csb 3148  df-dif 3222  df-un 3224  df-in 3226  df-ss 3233  df-nul 3521  df-if 3639  df-pw 3690  df-sn 3715  df-pr 3716  df-op 3718  df-uni 3936  df-int 3971  df-iun 4014  df-br 4132  df-opab 4194  df-mpt 4195  df-tr 4232  df-id 4440  df-iord 4513  df-on 4515  df-suc 4518  df-iom 4740  df-xp 4782  df-rel 4783  df-cnv 4784  df-co 4785  df-dm 4786  df-rn 4787  df-res 4788  df-ima 4789  df-iota 5340  df-fun 5382  df-fn 5383  df-f 5384  df-f1 5385  df-fo 5386  df-f1o 5387  df-fv 5388  df-ov 6091  df-oprab 6092  df-mpo 6093  df-1o 6691  df-2o 6692  df-map 6928  df-nninf 7466
This theorem is used by:  nninfsellemqall  17264
  Copyright terms: Public domain W3C validator