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

Theorem nninfsellemeq 17223
Description: Lemma for nninfsel 17226. (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 17222 . . . 4 𝐸:(2o ↑𝑚 ℕ∞)⟶ℕ∞
32a1i 9 . . 3 (𝜑 → 𝐸:(2o ↑𝑚 ℕ∞)⟶ℕ∞)
4 nninfsel.q . . 3 (𝜑 → 𝑄 ∈ (2o ↑𝑚 ℕ∞))
53, 4ffvelcdmd 5844 . 2 (𝜑 → (𝐸‘𝑄) ∈ ℕ∞)
6 nninfsel.n . 2 (𝜑 → 𝑁 ∈ ω)
7 fveq1 5694 . . . . . . . . . . 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 4222 . . . . . . 7 (𝑞 = 𝑄 → (𝑛 ∈ ω ↦ if(∀𝑘 ∈ suc 𝑛(𝑞‘(𝑖 ∈ ω ↦ if(𝑖 ∈ 𝑘, 1o, ∅))) = 1o, 1o, ∅)) = (𝑛 ∈ ω ↦ if(∀𝑘 ∈ suc 𝑛(𝑄‘(𝑖 ∈ ω ↦ if(𝑖 ∈ 𝑘, 1o, ∅))) = 1o, 1o, ∅)))
12 omex 4740 . . . . . . . 8 ω ∈ V
1312mptex 5943 . . . . . . 7 (𝑛 ∈ ω ↦ if(∀𝑘 ∈ suc 𝑛(𝑄‘(𝑖 ∈ ω ↦ if(𝑖 ∈ 𝑘, 1o, ∅))) = 1o, 1o, ∅)) ∈ V
1411, 1, 13fvmpt 5782 . . . . . 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 4759 . . . . . . . . 9 (𝑁 ∈ ω → Ord 𝑁)
21 vex 2824 . . . . . . . . . 10 𝑛 ∈ V
22 ordelsuc 4652 . . . . . . . . . 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 4753 . . . . 5 ((𝑗 ∈ 𝑁 ∧ 𝑁 ∈ ω) → 𝑗 ∈ ω)
3532, 33, 34syl2anc 415 . . . 4 ((𝜑 ∧ 𝑗 ∈ 𝑁) → 𝑗 ∈ ω)
36 1onn 6793 . . . . 5 1o ∈ ω
3736a1i 9 . . . 4 ((𝜑 ∧ 𝑗 ∈ 𝑁) → 1o ∈ ω)
3816, 31, 35, 37fvmptd 5786 . . 3 ((𝜑 ∧ 𝑗 ∈ 𝑁) → ((𝐸‘𝑄)‘𝑗) = 1o)
3938ralrimiva 2623 . 2 (𝜑 → ∀𝑗 ∈ 𝑁 ((𝐸‘𝑄)‘𝑗) = 1o)
4021sucid 4562 . . . . . . 7 𝑛 ∈ suc 𝑛
4140a1i 9 . . . . . 6 ((𝜑 ∧ 𝑛 = 𝑁) → 𝑛 ∈ suc 𝑛)
42 1n0 6705 . . . . . . . 8 1o ≠ ∅
4342nesymi 2466 . . . . . . 7 ¬ ∅ = 1o
44 simpr 110 . . . . . . . . . . . . 13 ((𝜑 ∧ 𝑛 = 𝑁) → 𝑛 = 𝑁)
4544eleq2d 2308 . . . . . . . . . . . 12 ((𝜑 ∧ 𝑛 = 𝑁) → (𝑖 ∈ 𝑛 ↔ 𝑖 ∈ 𝑁))
4645ifbid 3662 . . . . . . . . . . 11 ((𝜑 ∧ 𝑛 = 𝑁) → if(𝑖 ∈ 𝑛, 1o, ∅) = if(𝑖 ∈ 𝑁, 1o, ∅))
4746mpteq2dv 4222 . . . . . . . . . 10 ((𝜑 ∧ 𝑛 = 𝑁) → (𝑖 ∈ ω ↦ if(𝑖 ∈ 𝑛, 1o, ∅)) = (𝑖 ∈ ω ↦ if(𝑖 ∈ 𝑁, 1o, ∅)))
4847fveq2d 5699 . . . . . . . . 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 4222 . . . . . . . . . 10 (𝑘 = 𝑛 → (𝑖 ∈ ω ↦ if(𝑖 ∈ 𝑘, 1o, ∅)) = (𝑖 ∈ ω ↦ if(𝑖 ∈ 𝑛, 1o, ∅)))
5756fveq2d 5699 . . . . . . . . 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 4741 . . . 4 ∅ ∈ ω
6665a1i 9 . . 3 (𝜑 → ∅ ∈ ω)
6715, 64, 6, 66fvmptd 5786 . 2 (𝜑 → ((𝐸‘𝑄)‘𝑁) = ∅)
685, 6, 39, 67nnnninfeq 7469 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 4192  Ord word 4507  suc csuc 4510  ωcom 4737  ⟶wf 5373  ‘cfv 5377  (class class class)co 6085  1oc1o 6680  2oc2o 6681   ↑𝑚 cmap 6922  ℕ∞xnninf 7460
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 4246  ax-sep 4249  ax-nul 4259  ax-pow 4311  ax-pr 4346  ax-un 4578  ax-setind 4684  ax-iinf 4735
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 4131  df-opab 4193  df-mpt 4194  df-tr 4230  df-id 4438  df-iord 4511  df-on 4513  df-suc 4516  df-iom 4738  df-xp 4780  df-rel 4781  df-cnv 4782  df-co 4783  df-dm 4784  df-rn 4785  df-res 4786  df-ima 4787  df-iota 5337  df-fun 5379  df-fn 5380  df-f 5381  df-f1 5382  df-fo 5383  df-f1o 5384  df-fv 5385  df-ov 6088  df-oprab 6089  df-mpo 6090  df-1o 6687  df-2o 6688  df-map 6924  df-nninf 7461
This theorem is used by:  nninfsellemqall  17224
  Copyright terms: Public domain W3C validator