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

Theorem ennnfonelemkh 12367
Description: Lemma for ennnfone 12380. Because we add zero or one entries for each new index, the length of each sequence is no greater than its index. (Contributed by Jim Kingdon, 19-Jul-2023.)
Hypotheses
Ref Expression
ennnfonelemh.dceq (𝜑 → ∀𝑥𝐴𝑦𝐴 DECID 𝑥 = 𝑦)
ennnfonelemh.f (𝜑𝐹:ω–onto𝐴)
ennnfonelemh.ne (𝜑 → ∀𝑛 ∈ ω ∃𝑘 ∈ ω ∀𝑗 ∈ suc 𝑛(𝐹𝑘) ≠ (𝐹𝑗))
ennnfonelemh.g 𝐺 = (𝑥 ∈ (𝐴pm ω), 𝑦 ∈ ω ↦ if((𝐹𝑦) ∈ (𝐹𝑦), 𝑥, (𝑥 ∪ {⟨dom 𝑥, (𝐹𝑦)⟩})))
ennnfonelemh.n 𝑁 = frec((𝑥 ∈ ℤ ↦ (𝑥 + 1)), 0)
ennnfonelemh.j 𝐽 = (𝑥 ∈ ℕ0 ↦ if(𝑥 = 0, ∅, (𝑁‘(𝑥 − 1))))
ennnfonelemh.h 𝐻 = seq0(𝐺, 𝐽)
ennnfonelemkh.p (𝜑𝑃 ∈ ℕ0)
Assertion
Ref Expression
ennnfonelemkh (𝜑 → dom (𝐻𝑃) ⊆ (𝑁𝑃))
Distinct variable groups:   𝐴,𝑗,𝑥,𝑦   𝑥,𝐹,𝑦   𝑗,𝐺   𝑗,𝐻,𝑥,𝑦   𝑗,𝐽   𝑗,𝑁,𝑥,𝑦   𝜑,𝑗,𝑥,𝑦
Allowed substitution hints:   𝜑(𝑘,𝑛)   𝐴(𝑘,𝑛)   𝑃(𝑥,𝑦,𝑗,𝑘,𝑛)   𝐹(𝑗,𝑘,𝑛)   𝐺(𝑥,𝑦,𝑘,𝑛)   𝐻(𝑘,𝑛)   𝐽(𝑥,𝑦,𝑘,𝑛)   𝑁(𝑘,𝑛)

Proof of Theorem ennnfonelemkh
Dummy variables 𝑚 𝑤 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 ennnfonelemkh.p . 2 (𝜑𝑃 ∈ ℕ0)
2 fveq2 5496 . . . . . . 7 (𝑤 = 0 → (𝐻𝑤) = (𝐻‘0))
32dmeqd 4813 . . . . . 6 (𝑤 = 0 → dom (𝐻𝑤) = dom (𝐻‘0))
4 fveq2 5496 . . . . . 6 (𝑤 = 0 → (𝑁𝑤) = (𝑁‘0))
53, 4sseq12d 3178 . . . . 5 (𝑤 = 0 → (dom (𝐻𝑤) ⊆ (𝑁𝑤) ↔ dom (𝐻‘0) ⊆ (𝑁‘0)))
65imbi2d 229 . . . 4 (𝑤 = 0 → ((𝜑 → dom (𝐻𝑤) ⊆ (𝑁𝑤)) ↔ (𝜑 → dom (𝐻‘0) ⊆ (𝑁‘0))))
7 fveq2 5496 . . . . . . 7 (𝑤 = 𝑚 → (𝐻𝑤) = (𝐻𝑚))
87dmeqd 4813 . . . . . 6 (𝑤 = 𝑚 → dom (𝐻𝑤) = dom (𝐻𝑚))
9 fveq2 5496 . . . . . 6 (𝑤 = 𝑚 → (𝑁𝑤) = (𝑁𝑚))
108, 9sseq12d 3178 . . . . 5 (𝑤 = 𝑚 → (dom (𝐻𝑤) ⊆ (𝑁𝑤) ↔ dom (𝐻𝑚) ⊆ (𝑁𝑚)))
1110imbi2d 229 . . . 4 (𝑤 = 𝑚 → ((𝜑 → dom (𝐻𝑤) ⊆ (𝑁𝑤)) ↔ (𝜑 → dom (𝐻𝑚) ⊆ (𝑁𝑚))))
12 fveq2 5496 . . . . . . 7 (𝑤 = (𝑚 + 1) → (𝐻𝑤) = (𝐻‘(𝑚 + 1)))
1312dmeqd 4813 . . . . . 6 (𝑤 = (𝑚 + 1) → dom (𝐻𝑤) = dom (𝐻‘(𝑚 + 1)))
14 fveq2 5496 . . . . . 6 (𝑤 = (𝑚 + 1) → (𝑁𝑤) = (𝑁‘(𝑚 + 1)))
1513, 14sseq12d 3178 . . . . 5 (𝑤 = (𝑚 + 1) → (dom (𝐻𝑤) ⊆ (𝑁𝑤) ↔ dom (𝐻‘(𝑚 + 1)) ⊆ (𝑁‘(𝑚 + 1))))
1615imbi2d 229 . . . 4 (𝑤 = (𝑚 + 1) → ((𝜑 → dom (𝐻𝑤) ⊆ (𝑁𝑤)) ↔ (𝜑 → dom (𝐻‘(𝑚 + 1)) ⊆ (𝑁‘(𝑚 + 1)))))
17 fveq2 5496 . . . . . . 7 (𝑤 = 𝑃 → (𝐻𝑤) = (𝐻𝑃))
1817dmeqd 4813 . . . . . 6 (𝑤 = 𝑃 → dom (𝐻𝑤) = dom (𝐻𝑃))
19 fveq2 5496 . . . . . 6 (𝑤 = 𝑃 → (𝑁𝑤) = (𝑁𝑃))
2018, 19sseq12d 3178 . . . . 5 (𝑤 = 𝑃 → (dom (𝐻𝑤) ⊆ (𝑁𝑤) ↔ dom (𝐻𝑃) ⊆ (𝑁𝑃)))
2120imbi2d 229 . . . 4 (𝑤 = 𝑃 → ((𝜑 → dom (𝐻𝑤) ⊆ (𝑁𝑤)) ↔ (𝜑 → dom (𝐻𝑃) ⊆ (𝑁𝑃))))
22 ennnfonelemh.dceq . . . . . . . . 9 (𝜑 → ∀𝑥𝐴𝑦𝐴 DECID 𝑥 = 𝑦)
23 ennnfonelemh.f . . . . . . . . 9 (𝜑𝐹:ω–onto𝐴)
24 ennnfonelemh.ne . . . . . . . . 9 (𝜑 → ∀𝑛 ∈ ω ∃𝑘 ∈ ω ∀𝑗 ∈ suc 𝑛(𝐹𝑘) ≠ (𝐹𝑗))
25 ennnfonelemh.g . . . . . . . . 9 𝐺 = (𝑥 ∈ (𝐴pm ω), 𝑦 ∈ ω ↦ if((𝐹𝑦) ∈ (𝐹𝑦), 𝑥, (𝑥 ∪ {⟨dom 𝑥, (𝐹𝑦)⟩})))
26 ennnfonelemh.n . . . . . . . . 9 𝑁 = frec((𝑥 ∈ ℤ ↦ (𝑥 + 1)), 0)
27 ennnfonelemh.j . . . . . . . . 9 𝐽 = (𝑥 ∈ ℕ0 ↦ if(𝑥 = 0, ∅, (𝑁‘(𝑥 − 1))))
28 ennnfonelemh.h . . . . . . . . 9 𝐻 = seq0(𝐺, 𝐽)
2922, 23, 24, 25, 26, 27, 28ennnfonelem0 12360 . . . . . . . 8 (𝜑 → (𝐻‘0) = ∅)
3029dmeqd 4813 . . . . . . 7 (𝜑 → dom (𝐻‘0) = dom ∅)
31 dm0 4825 . . . . . . 7 dom ∅ = ∅
3230, 31eqtrdi 2219 . . . . . 6 (𝜑 → dom (𝐻‘0) = ∅)
33 0ss 3453 . . . . . 6 ∅ ⊆ (𝑁‘0)
3432, 33eqsstrdi 3199 . . . . 5 (𝜑 → dom (𝐻‘0) ⊆ (𝑁‘0))
3534a1i 9 . . . 4 (0 ∈ ℤ → (𝜑 → dom (𝐻‘0) ⊆ (𝑁‘0)))
3626frechashgf1o 10384 . . . . . . . . . . . . . 14 𝑁:ω–1-1-onto→ℕ0
37 f1of 5442 . . . . . . . . . . . . . 14 (𝑁:ω–1-1-onto→ℕ0𝑁:ω⟶ℕ0)
3836, 37mp1i 10 . . . . . . . . . . . . 13 ((((𝜑𝑚 ∈ (ℤ‘0)) ∧ dom (𝐻𝑚) ⊆ (𝑁𝑚)) ∧ (𝐹‘(𝑁𝑚)) ∈ (𝐹 “ (𝑁𝑚))) → 𝑁:ω⟶ℕ0)
3922ad2antrr 485 . . . . . . . . . . . . . . 15 (((𝜑𝑚 ∈ (ℤ‘0)) ∧ dom (𝐻𝑚) ⊆ (𝑁𝑚)) → ∀𝑥𝐴𝑦𝐴 DECID 𝑥 = 𝑦)
4023ad2antrr 485 . . . . . . . . . . . . . . 15 (((𝜑𝑚 ∈ (ℤ‘0)) ∧ dom (𝐻𝑚) ⊆ (𝑁𝑚)) → 𝐹:ω–onto𝐴)
4124ad2antrr 485 . . . . . . . . . . . . . . 15 (((𝜑𝑚 ∈ (ℤ‘0)) ∧ dom (𝐻𝑚) ⊆ (𝑁𝑚)) → ∀𝑛 ∈ ω ∃𝑘 ∈ ω ∀𝑗 ∈ suc 𝑛(𝐹𝑘) ≠ (𝐹𝑗))
42 simplr 525 . . . . . . . . . . . . . . . . 17 (((𝜑𝑚 ∈ (ℤ‘0)) ∧ dom (𝐻𝑚) ⊆ (𝑁𝑚)) → 𝑚 ∈ (ℤ‘0))
43 nn0uz 9521 . . . . . . . . . . . . . . . . 17 0 = (ℤ‘0)
4442, 43eleqtrrdi 2264 . . . . . . . . . . . . . . . 16 (((𝜑𝑚 ∈ (ℤ‘0)) ∧ dom (𝐻𝑚) ⊆ (𝑁𝑚)) → 𝑚 ∈ ℕ0)
45 peano2nn0 9175 . . . . . . . . . . . . . . . 16 (𝑚 ∈ ℕ0 → (𝑚 + 1) ∈ ℕ0)
4644, 45syl 14 . . . . . . . . . . . . . . 15 (((𝜑𝑚 ∈ (ℤ‘0)) ∧ dom (𝐻𝑚) ⊆ (𝑁𝑚)) → (𝑚 + 1) ∈ ℕ0)
4739, 40, 41, 25, 26, 27, 28, 46ennnfonelemom 12363 . . . . . . . . . . . . . 14 (((𝜑𝑚 ∈ (ℤ‘0)) ∧ dom (𝐻𝑚) ⊆ (𝑁𝑚)) → dom (𝐻‘(𝑚 + 1)) ∈ ω)
4847adantr 274 . . . . . . . . . . . . 13 ((((𝜑𝑚 ∈ (ℤ‘0)) ∧ dom (𝐻𝑚) ⊆ (𝑁𝑚)) ∧ (𝐹‘(𝑁𝑚)) ∈ (𝐹 “ (𝑁𝑚))) → dom (𝐻‘(𝑚 + 1)) ∈ ω)
4938, 48ffvelrnd 5632 . . . . . . . . . . . 12 ((((𝜑𝑚 ∈ (ℤ‘0)) ∧ dom (𝐻𝑚) ⊆ (𝑁𝑚)) ∧ (𝐹‘(𝑁𝑚)) ∈ (𝐹 “ (𝑁𝑚))) → (𝑁‘dom (𝐻‘(𝑚 + 1))) ∈ ℕ0)
5049nn0red 9189 . . . . . . . . . . 11 ((((𝜑𝑚 ∈ (ℤ‘0)) ∧ dom (𝐻𝑚) ⊆ (𝑁𝑚)) ∧ (𝐹‘(𝑁𝑚)) ∈ (𝐹 “ (𝑁𝑚))) → (𝑁‘dom (𝐻‘(𝑚 + 1))) ∈ ℝ)
5144nn0red 9189 . . . . . . . . . . . 12 (((𝜑𝑚 ∈ (ℤ‘0)) ∧ dom (𝐻𝑚) ⊆ (𝑁𝑚)) → 𝑚 ∈ ℝ)
5251adantr 274 . . . . . . . . . . 11 ((((𝜑𝑚 ∈ (ℤ‘0)) ∧ dom (𝐻𝑚) ⊆ (𝑁𝑚)) ∧ (𝐹‘(𝑁𝑚)) ∈ (𝐹 “ (𝑁𝑚))) → 𝑚 ∈ ℝ)
53 peano2re 8055 . . . . . . . . . . . 12 (𝑚 ∈ ℝ → (𝑚 + 1) ∈ ℝ)
5452, 53syl 14 . . . . . . . . . . 11 ((((𝜑𝑚 ∈ (ℤ‘0)) ∧ dom (𝐻𝑚) ⊆ (𝑁𝑚)) ∧ (𝐹‘(𝑁𝑚)) ∈ (𝐹 “ (𝑁𝑚))) → (𝑚 + 1) ∈ ℝ)
5539, 40, 41, 25, 26, 27, 28, 44ennnfonelemp1 12361 . . . . . . . . . . . . . . . 16 (((𝜑𝑚 ∈ (ℤ‘0)) ∧ dom (𝐻𝑚) ⊆ (𝑁𝑚)) → (𝐻‘(𝑚 + 1)) = if((𝐹‘(𝑁𝑚)) ∈ (𝐹 “ (𝑁𝑚)), (𝐻𝑚), ((𝐻𝑚) ∪ {⟨dom (𝐻𝑚), (𝐹‘(𝑁𝑚))⟩})))
5655adantr 274 . . . . . . . . . . . . . . 15 ((((𝜑𝑚 ∈ (ℤ‘0)) ∧ dom (𝐻𝑚) ⊆ (𝑁𝑚)) ∧ (𝐹‘(𝑁𝑚)) ∈ (𝐹 “ (𝑁𝑚))) → (𝐻‘(𝑚 + 1)) = if((𝐹‘(𝑁𝑚)) ∈ (𝐹 “ (𝑁𝑚)), (𝐻𝑚), ((𝐻𝑚) ∪ {⟨dom (𝐻𝑚), (𝐹‘(𝑁𝑚))⟩})))
57 simpr 109 . . . . . . . . . . . . . . . 16 ((((𝜑𝑚 ∈ (ℤ‘0)) ∧ dom (𝐻𝑚) ⊆ (𝑁𝑚)) ∧ (𝐹‘(𝑁𝑚)) ∈ (𝐹 “ (𝑁𝑚))) → (𝐹‘(𝑁𝑚)) ∈ (𝐹 “ (𝑁𝑚)))
5857iftrued 3533 . . . . . . . . . . . . . . 15 ((((𝜑𝑚 ∈ (ℤ‘0)) ∧ dom (𝐻𝑚) ⊆ (𝑁𝑚)) ∧ (𝐹‘(𝑁𝑚)) ∈ (𝐹 “ (𝑁𝑚))) → if((𝐹‘(𝑁𝑚)) ∈ (𝐹 “ (𝑁𝑚)), (𝐻𝑚), ((𝐻𝑚) ∪ {⟨dom (𝐻𝑚), (𝐹‘(𝑁𝑚))⟩})) = (𝐻𝑚))
5956, 58eqtrd 2203 . . . . . . . . . . . . . 14 ((((𝜑𝑚 ∈ (ℤ‘0)) ∧ dom (𝐻𝑚) ⊆ (𝑁𝑚)) ∧ (𝐹‘(𝑁𝑚)) ∈ (𝐹 “ (𝑁𝑚))) → (𝐻‘(𝑚 + 1)) = (𝐻𝑚))
6059dmeqd 4813 . . . . . . . . . . . . 13 ((((𝜑𝑚 ∈ (ℤ‘0)) ∧ dom (𝐻𝑚) ⊆ (𝑁𝑚)) ∧ (𝐹‘(𝑁𝑚)) ∈ (𝐹 “ (𝑁𝑚))) → dom (𝐻‘(𝑚 + 1)) = dom (𝐻𝑚))
6160fveq2d 5500 . . . . . . . . . . . 12 ((((𝜑𝑚 ∈ (ℤ‘0)) ∧ dom (𝐻𝑚) ⊆ (𝑁𝑚)) ∧ (𝐹‘(𝑁𝑚)) ∈ (𝐹 “ (𝑁𝑚))) → (𝑁‘dom (𝐻‘(𝑚 + 1))) = (𝑁‘dom (𝐻𝑚)))
62 simpr 109 . . . . . . . . . . . . . . 15 (((𝜑𝑚 ∈ (ℤ‘0)) ∧ dom (𝐻𝑚) ⊆ (𝑁𝑚)) → dom (𝐻𝑚) ⊆ (𝑁𝑚))
63 0zd 9224 . . . . . . . . . . . . . . . 16 (((𝜑𝑚 ∈ (ℤ‘0)) ∧ dom (𝐻𝑚) ⊆ (𝑁𝑚)) → 0 ∈ ℤ)
6439, 40, 41, 25, 26, 27, 28, 44ennnfonelemom 12363 . . . . . . . . . . . . . . . 16 (((𝜑𝑚 ∈ (ℤ‘0)) ∧ dom (𝐻𝑚) ⊆ (𝑁𝑚)) → dom (𝐻𝑚) ∈ ω)
65 f1ocnv 5455 . . . . . . . . . . . . . . . . . . . 20 (𝑁:ω–1-1-onto→ℕ0𝑁:ℕ01-1-onto→ω)
6636, 65ax-mp 5 . . . . . . . . . . . . . . . . . . 19 𝑁:ℕ01-1-onto→ω
67 f1of 5442 . . . . . . . . . . . . . . . . . . 19 (𝑁:ℕ01-1-onto→ω → 𝑁:ℕ0⟶ω)
6866, 67mp1i 10 . . . . . . . . . . . . . . . . . 18 (𝑚 ∈ ℕ0𝑁:ℕ0⟶ω)
69 id 19 . . . . . . . . . . . . . . . . . 18 (𝑚 ∈ ℕ0𝑚 ∈ ℕ0)
7068, 69ffvelrnd 5632 . . . . . . . . . . . . . . . . 17 (𝑚 ∈ ℕ0 → (𝑁𝑚) ∈ ω)
7144, 70syl 14 . . . . . . . . . . . . . . . 16 (((𝜑𝑚 ∈ (ℤ‘0)) ∧ dom (𝐻𝑚) ⊆ (𝑁𝑚)) → (𝑁𝑚) ∈ ω)
7263, 26, 64, 71frec2uzled 10385 . . . . . . . . . . . . . . 15 (((𝜑𝑚 ∈ (ℤ‘0)) ∧ dom (𝐻𝑚) ⊆ (𝑁𝑚)) → (dom (𝐻𝑚) ⊆ (𝑁𝑚) ↔ (𝑁‘dom (𝐻𝑚)) ≤ (𝑁‘(𝑁𝑚))))
7362, 72mpbid 146 . . . . . . . . . . . . . 14 (((𝜑𝑚 ∈ (ℤ‘0)) ∧ dom (𝐻𝑚) ⊆ (𝑁𝑚)) → (𝑁‘dom (𝐻𝑚)) ≤ (𝑁‘(𝑁𝑚)))
74 f1ocnvfv2 5757 . . . . . . . . . . . . . . 15 ((𝑁:ω–1-1-onto→ℕ0𝑚 ∈ ℕ0) → (𝑁‘(𝑁𝑚)) = 𝑚)
7536, 44, 74sylancr 412 . . . . . . . . . . . . . 14 (((𝜑𝑚 ∈ (ℤ‘0)) ∧ dom (𝐻𝑚) ⊆ (𝑁𝑚)) → (𝑁‘(𝑁𝑚)) = 𝑚)
7673, 75breqtrd 4015 . . . . . . . . . . . . 13 (((𝜑𝑚 ∈ (ℤ‘0)) ∧ dom (𝐻𝑚) ⊆ (𝑁𝑚)) → (𝑁‘dom (𝐻𝑚)) ≤ 𝑚)
7776adantr 274 . . . . . . . . . . . 12 ((((𝜑𝑚 ∈ (ℤ‘0)) ∧ dom (𝐻𝑚) ⊆ (𝑁𝑚)) ∧ (𝐹‘(𝑁𝑚)) ∈ (𝐹 “ (𝑁𝑚))) → (𝑁‘dom (𝐻𝑚)) ≤ 𝑚)
7861, 77eqbrtrd 4011 . . . . . . . . . . 11 ((((𝜑𝑚 ∈ (ℤ‘0)) ∧ dom (𝐻𝑚) ⊆ (𝑁𝑚)) ∧ (𝐹‘(𝑁𝑚)) ∈ (𝐹 “ (𝑁𝑚))) → (𝑁‘dom (𝐻‘(𝑚 + 1))) ≤ 𝑚)
7952lep1d 8847 . . . . . . . . . . 11 ((((𝜑𝑚 ∈ (ℤ‘0)) ∧ dom (𝐻𝑚) ⊆ (𝑁𝑚)) ∧ (𝐹‘(𝑁𝑚)) ∈ (𝐹 “ (𝑁𝑚))) → 𝑚 ≤ (𝑚 + 1))
8050, 52, 54, 78, 79letrd 8043 . . . . . . . . . 10 ((((𝜑𝑚 ∈ (ℤ‘0)) ∧ dom (𝐻𝑚) ⊆ (𝑁𝑚)) ∧ (𝐹‘(𝑁𝑚)) ∈ (𝐹 “ (𝑁𝑚))) → (𝑁‘dom (𝐻‘(𝑚 + 1))) ≤ (𝑚 + 1))
81 f1ocnvfv2 5757 . . . . . . . . . . . 12 ((𝑁:ω–1-1-onto→ℕ0 ∧ (𝑚 + 1) ∈ ℕ0) → (𝑁‘(𝑁‘(𝑚 + 1))) = (𝑚 + 1))
8236, 46, 81sylancr 412 . . . . . . . . . . 11 (((𝜑𝑚 ∈ (ℤ‘0)) ∧ dom (𝐻𝑚) ⊆ (𝑁𝑚)) → (𝑁‘(𝑁‘(𝑚 + 1))) = (𝑚 + 1))
8382adantr 274 . . . . . . . . . 10 ((((𝜑𝑚 ∈ (ℤ‘0)) ∧ dom (𝐻𝑚) ⊆ (𝑁𝑚)) ∧ (𝐹‘(𝑁𝑚)) ∈ (𝐹 “ (𝑁𝑚))) → (𝑁‘(𝑁‘(𝑚 + 1))) = (𝑚 + 1))
8480, 83breqtrrd 4017 . . . . . . . . 9 ((((𝜑𝑚 ∈ (ℤ‘0)) ∧ dom (𝐻𝑚) ⊆ (𝑁𝑚)) ∧ (𝐹‘(𝑁𝑚)) ∈ (𝐹 “ (𝑁𝑚))) → (𝑁‘dom (𝐻‘(𝑚 + 1))) ≤ (𝑁‘(𝑁‘(𝑚 + 1))))
8566, 67mp1i 10 . . . . . . . . . . . 12 (((𝜑𝑚 ∈ (ℤ‘0)) ∧ dom (𝐻𝑚) ⊆ (𝑁𝑚)) → 𝑁:ℕ0⟶ω)
8685, 46ffvelrnd 5632 . . . . . . . . . . 11 (((𝜑𝑚 ∈ (ℤ‘0)) ∧ dom (𝐻𝑚) ⊆ (𝑁𝑚)) → (𝑁‘(𝑚 + 1)) ∈ ω)
8763, 26, 47, 86frec2uzled 10385 . . . . . . . . . 10 (((𝜑𝑚 ∈ (ℤ‘0)) ∧ dom (𝐻𝑚) ⊆ (𝑁𝑚)) → (dom (𝐻‘(𝑚 + 1)) ⊆ (𝑁‘(𝑚 + 1)) ↔ (𝑁‘dom (𝐻‘(𝑚 + 1))) ≤ (𝑁‘(𝑁‘(𝑚 + 1)))))
8887adantr 274 . . . . . . . . 9 ((((𝜑𝑚 ∈ (ℤ‘0)) ∧ dom (𝐻𝑚) ⊆ (𝑁𝑚)) ∧ (𝐹‘(𝑁𝑚)) ∈ (𝐹 “ (𝑁𝑚))) → (dom (𝐻‘(𝑚 + 1)) ⊆ (𝑁‘(𝑚 + 1)) ↔ (𝑁‘dom (𝐻‘(𝑚 + 1))) ≤ (𝑁‘(𝑁‘(𝑚 + 1)))))
8984, 88mpbird 166 . . . . . . . 8 ((((𝜑𝑚 ∈ (ℤ‘0)) ∧ dom (𝐻𝑚) ⊆ (𝑁𝑚)) ∧ (𝐹‘(𝑁𝑚)) ∈ (𝐹 “ (𝑁𝑚))) → dom (𝐻‘(𝑚 + 1)) ⊆ (𝑁‘(𝑚 + 1)))
9055adantr 274 . . . . . . . . . . . . . . . . . 18 ((((𝜑𝑚 ∈ (ℤ‘0)) ∧ dom (𝐻𝑚) ⊆ (𝑁𝑚)) ∧ ¬ (𝐹‘(𝑁𝑚)) ∈ (𝐹 “ (𝑁𝑚))) → (𝐻‘(𝑚 + 1)) = if((𝐹‘(𝑁𝑚)) ∈ (𝐹 “ (𝑁𝑚)), (𝐻𝑚), ((𝐻𝑚) ∪ {⟨dom (𝐻𝑚), (𝐹‘(𝑁𝑚))⟩})))
91 simpr 109 . . . . . . . . . . . . . . . . . . 19 ((((𝜑𝑚 ∈ (ℤ‘0)) ∧ dom (𝐻𝑚) ⊆ (𝑁𝑚)) ∧ ¬ (𝐹‘(𝑁𝑚)) ∈ (𝐹 “ (𝑁𝑚))) → ¬ (𝐹‘(𝑁𝑚)) ∈ (𝐹 “ (𝑁𝑚)))
9291iffalsed 3536 . . . . . . . . . . . . . . . . . 18 ((((𝜑𝑚 ∈ (ℤ‘0)) ∧ dom (𝐻𝑚) ⊆ (𝑁𝑚)) ∧ ¬ (𝐹‘(𝑁𝑚)) ∈ (𝐹 “ (𝑁𝑚))) → if((𝐹‘(𝑁𝑚)) ∈ (𝐹 “ (𝑁𝑚)), (𝐻𝑚), ((𝐻𝑚) ∪ {⟨dom (𝐻𝑚), (𝐹‘(𝑁𝑚))⟩})) = ((𝐻𝑚) ∪ {⟨dom (𝐻𝑚), (𝐹‘(𝑁𝑚))⟩}))
9390, 92eqtrd 2203 . . . . . . . . . . . . . . . . 17 ((((𝜑𝑚 ∈ (ℤ‘0)) ∧ dom (𝐻𝑚) ⊆ (𝑁𝑚)) ∧ ¬ (𝐹‘(𝑁𝑚)) ∈ (𝐹 “ (𝑁𝑚))) → (𝐻‘(𝑚 + 1)) = ((𝐻𝑚) ∪ {⟨dom (𝐻𝑚), (𝐹‘(𝑁𝑚))⟩}))
9493dmeqd 4813 . . . . . . . . . . . . . . . 16 ((((𝜑𝑚 ∈ (ℤ‘0)) ∧ dom (𝐻𝑚) ⊆ (𝑁𝑚)) ∧ ¬ (𝐹‘(𝑁𝑚)) ∈ (𝐹 “ (𝑁𝑚))) → dom (𝐻‘(𝑚 + 1)) = dom ((𝐻𝑚) ∪ {⟨dom (𝐻𝑚), (𝐹‘(𝑁𝑚))⟩}))
95 dmun 4818 . . . . . . . . . . . . . . . 16 dom ((𝐻𝑚) ∪ {⟨dom (𝐻𝑚), (𝐹‘(𝑁𝑚))⟩}) = (dom (𝐻𝑚) ∪ dom {⟨dom (𝐻𝑚), (𝐹‘(𝑁𝑚))⟩})
9694, 95eqtrdi 2219 . . . . . . . . . . . . . . 15 ((((𝜑𝑚 ∈ (ℤ‘0)) ∧ dom (𝐻𝑚) ⊆ (𝑁𝑚)) ∧ ¬ (𝐹‘(𝑁𝑚)) ∈ (𝐹 “ (𝑁𝑚))) → dom (𝐻‘(𝑚 + 1)) = (dom (𝐻𝑚) ∪ dom {⟨dom (𝐻𝑚), (𝐹‘(𝑁𝑚))⟩}))
97 fof 5420 . . . . . . . . . . . . . . . . . . . 20 (𝐹:ω–onto𝐴𝐹:ω⟶𝐴)
9840, 97syl 14 . . . . . . . . . . . . . . . . . . 19 (((𝜑𝑚 ∈ (ℤ‘0)) ∧ dom (𝐻𝑚) ⊆ (𝑁𝑚)) → 𝐹:ω⟶𝐴)
9998, 71ffvelrnd 5632 . . . . . . . . . . . . . . . . . 18 (((𝜑𝑚 ∈ (ℤ‘0)) ∧ dom (𝐻𝑚) ⊆ (𝑁𝑚)) → (𝐹‘(𝑁𝑚)) ∈ 𝐴)
10099adantr 274 . . . . . . . . . . . . . . . . 17 ((((𝜑𝑚 ∈ (ℤ‘0)) ∧ dom (𝐻𝑚) ⊆ (𝑁𝑚)) ∧ ¬ (𝐹‘(𝑁𝑚)) ∈ (𝐹 “ (𝑁𝑚))) → (𝐹‘(𝑁𝑚)) ∈ 𝐴)
101 dmsnopg 5082 . . . . . . . . . . . . . . . . 17 ((𝐹‘(𝑁𝑚)) ∈ 𝐴 → dom {⟨dom (𝐻𝑚), (𝐹‘(𝑁𝑚))⟩} = {dom (𝐻𝑚)})
102100, 101syl 14 . . . . . . . . . . . . . . . 16 ((((𝜑𝑚 ∈ (ℤ‘0)) ∧ dom (𝐻𝑚) ⊆ (𝑁𝑚)) ∧ ¬ (𝐹‘(𝑁𝑚)) ∈ (𝐹 “ (𝑁𝑚))) → dom {⟨dom (𝐻𝑚), (𝐹‘(𝑁𝑚))⟩} = {dom (𝐻𝑚)})
103102uneq2d 3281 . . . . . . . . . . . . . . 15 ((((𝜑𝑚 ∈ (ℤ‘0)) ∧ dom (𝐻𝑚) ⊆ (𝑁𝑚)) ∧ ¬ (𝐹‘(𝑁𝑚)) ∈ (𝐹 “ (𝑁𝑚))) → (dom (𝐻𝑚) ∪ dom {⟨dom (𝐻𝑚), (𝐹‘(𝑁𝑚))⟩}) = (dom (𝐻𝑚) ∪ {dom (𝐻𝑚)}))
10496, 103eqtrd 2203 . . . . . . . . . . . . . 14 ((((𝜑𝑚 ∈ (ℤ‘0)) ∧ dom (𝐻𝑚) ⊆ (𝑁𝑚)) ∧ ¬ (𝐹‘(𝑁𝑚)) ∈ (𝐹 “ (𝑁𝑚))) → dom (𝐻‘(𝑚 + 1)) = (dom (𝐻𝑚) ∪ {dom (𝐻𝑚)}))
105 df-suc 4356 . . . . . . . . . . . . . 14 suc dom (𝐻𝑚) = (dom (𝐻𝑚) ∪ {dom (𝐻𝑚)})
106104, 105eqtr4di 2221 . . . . . . . . . . . . 13 ((((𝜑𝑚 ∈ (ℤ‘0)) ∧ dom (𝐻𝑚) ⊆ (𝑁𝑚)) ∧ ¬ (𝐹‘(𝑁𝑚)) ∈ (𝐹 “ (𝑁𝑚))) → dom (𝐻‘(𝑚 + 1)) = suc dom (𝐻𝑚))
107 simplr 525 . . . . . . . . . . . . . 14 ((((𝜑𝑚 ∈ (ℤ‘0)) ∧ dom (𝐻𝑚) ⊆ (𝑁𝑚)) ∧ ¬ (𝐹‘(𝑁𝑚)) ∈ (𝐹 “ (𝑁𝑚))) → dom (𝐻𝑚) ⊆ (𝑁𝑚))
10871adantr 274 . . . . . . . . . . . . . . 15 ((((𝜑𝑚 ∈ (ℤ‘0)) ∧ dom (𝐻𝑚) ⊆ (𝑁𝑚)) ∧ ¬ (𝐹‘(𝑁𝑚)) ∈ (𝐹 “ (𝑁𝑚))) → (𝑁𝑚) ∈ ω)
109 nnsucsssuc 6471 . . . . . . . . . . . . . . 15 ((dom (𝐻𝑚) ∈ ω ∧ (𝑁𝑚) ∈ ω) → (dom (𝐻𝑚) ⊆ (𝑁𝑚) ↔ suc dom (𝐻𝑚) ⊆ suc (𝑁𝑚)))
11064, 108, 109syl2an2r 590 . . . . . . . . . . . . . 14 ((((𝜑𝑚 ∈ (ℤ‘0)) ∧ dom (𝐻𝑚) ⊆ (𝑁𝑚)) ∧ ¬ (𝐹‘(𝑁𝑚)) ∈ (𝐹 “ (𝑁𝑚))) → (dom (𝐻𝑚) ⊆ (𝑁𝑚) ↔ suc dom (𝐻𝑚) ⊆ suc (𝑁𝑚)))
111107, 110mpbid 146 . . . . . . . . . . . . 13 ((((𝜑𝑚 ∈ (ℤ‘0)) ∧ dom (𝐻𝑚) ⊆ (𝑁𝑚)) ∧ ¬ (𝐹‘(𝑁𝑚)) ∈ (𝐹 “ (𝑁𝑚))) → suc dom (𝐻𝑚) ⊆ suc (𝑁𝑚))
112106, 111eqsstrd 3183 . . . . . . . . . . . 12 ((((𝜑𝑚 ∈ (ℤ‘0)) ∧ dom (𝐻𝑚) ⊆ (𝑁𝑚)) ∧ ¬ (𝐹‘(𝑁𝑚)) ∈ (𝐹 “ (𝑁𝑚))) → dom (𝐻‘(𝑚 + 1)) ⊆ suc (𝑁𝑚))
113 0zd 9224 . . . . . . . . . . . . 13 ((((𝜑𝑚 ∈ (ℤ‘0)) ∧ dom (𝐻𝑚) ⊆ (𝑁𝑚)) ∧ ¬ (𝐹‘(𝑁𝑚)) ∈ (𝐹 “ (𝑁𝑚))) → 0 ∈ ℤ)
11447adantr 274 . . . . . . . . . . . . 13 ((((𝜑𝑚 ∈ (ℤ‘0)) ∧ dom (𝐻𝑚) ⊆ (𝑁𝑚)) ∧ ¬ (𝐹‘(𝑁𝑚)) ∈ (𝐹 “ (𝑁𝑚))) → dom (𝐻‘(𝑚 + 1)) ∈ ω)
115 peano2 4579 . . . . . . . . . . . . . 14 ((𝑁𝑚) ∈ ω → suc (𝑁𝑚) ∈ ω)
116108, 115syl 14 . . . . . . . . . . . . 13 ((((𝜑𝑚 ∈ (ℤ‘0)) ∧ dom (𝐻𝑚) ⊆ (𝑁𝑚)) ∧ ¬ (𝐹‘(𝑁𝑚)) ∈ (𝐹 “ (𝑁𝑚))) → suc (𝑁𝑚) ∈ ω)
117113, 26, 114, 116frec2uzled 10385 . . . . . . . . . . . 12 ((((𝜑𝑚 ∈ (ℤ‘0)) ∧ dom (𝐻𝑚) ⊆ (𝑁𝑚)) ∧ ¬ (𝐹‘(𝑁𝑚)) ∈ (𝐹 “ (𝑁𝑚))) → (dom (𝐻‘(𝑚 + 1)) ⊆ suc (𝑁𝑚) ↔ (𝑁‘dom (𝐻‘(𝑚 + 1))) ≤ (𝑁‘suc (𝑁𝑚))))
118112, 117mpbid 146 . . . . . . . . . . 11 ((((𝜑𝑚 ∈ (ℤ‘0)) ∧ dom (𝐻𝑚) ⊆ (𝑁𝑚)) ∧ ¬ (𝐹‘(𝑁𝑚)) ∈ (𝐹 “ (𝑁𝑚))) → (𝑁‘dom (𝐻‘(𝑚 + 1))) ≤ (𝑁‘suc (𝑁𝑚)))
119113, 26, 108frec2uzsucd 10357 . . . . . . . . . . . 12 ((((𝜑𝑚 ∈ (ℤ‘0)) ∧ dom (𝐻𝑚) ⊆ (𝑁𝑚)) ∧ ¬ (𝐹‘(𝑁𝑚)) ∈ (𝐹 “ (𝑁𝑚))) → (𝑁‘suc (𝑁𝑚)) = ((𝑁‘(𝑁𝑚)) + 1))
12075adantr 274 . . . . . . . . . . . . 13 ((((𝜑𝑚 ∈ (ℤ‘0)) ∧ dom (𝐻𝑚) ⊆ (𝑁𝑚)) ∧ ¬ (𝐹‘(𝑁𝑚)) ∈ (𝐹 “ (𝑁𝑚))) → (𝑁‘(𝑁𝑚)) = 𝑚)
121120oveq1d 5868 . . . . . . . . . . . 12 ((((𝜑𝑚 ∈ (ℤ‘0)) ∧ dom (𝐻𝑚) ⊆ (𝑁𝑚)) ∧ ¬ (𝐹‘(𝑁𝑚)) ∈ (𝐹 “ (𝑁𝑚))) → ((𝑁‘(𝑁𝑚)) + 1) = (𝑚 + 1))
122119, 121eqtrd 2203 . . . . . . . . . . 11 ((((𝜑𝑚 ∈ (ℤ‘0)) ∧ dom (𝐻𝑚) ⊆ (𝑁𝑚)) ∧ ¬ (𝐹‘(𝑁𝑚)) ∈ (𝐹 “ (𝑁𝑚))) → (𝑁‘suc (𝑁𝑚)) = (𝑚 + 1))
123118, 122breqtrd 4015 . . . . . . . . . 10 ((((𝜑𝑚 ∈ (ℤ‘0)) ∧ dom (𝐻𝑚) ⊆ (𝑁𝑚)) ∧ ¬ (𝐹‘(𝑁𝑚)) ∈ (𝐹 “ (𝑁𝑚))) → (𝑁‘dom (𝐻‘(𝑚 + 1))) ≤ (𝑚 + 1))
12482adantr 274 . . . . . . . . . 10 ((((𝜑𝑚 ∈ (ℤ‘0)) ∧ dom (𝐻𝑚) ⊆ (𝑁𝑚)) ∧ ¬ (𝐹‘(𝑁𝑚)) ∈ (𝐹 “ (𝑁𝑚))) → (𝑁‘(𝑁‘(𝑚 + 1))) = (𝑚 + 1))
125123, 124breqtrrd 4017 . . . . . . . . 9 ((((𝜑𝑚 ∈ (ℤ‘0)) ∧ dom (𝐻𝑚) ⊆ (𝑁𝑚)) ∧ ¬ (𝐹‘(𝑁𝑚)) ∈ (𝐹 “ (𝑁𝑚))) → (𝑁‘dom (𝐻‘(𝑚 + 1))) ≤ (𝑁‘(𝑁‘(𝑚 + 1))))
12686adantr 274 . . . . . . . . . 10 ((((𝜑𝑚 ∈ (ℤ‘0)) ∧ dom (𝐻𝑚) ⊆ (𝑁𝑚)) ∧ ¬ (𝐹‘(𝑁𝑚)) ∈ (𝐹 “ (𝑁𝑚))) → (𝑁‘(𝑚 + 1)) ∈ ω)
127113, 26, 114, 126frec2uzled 10385 . . . . . . . . 9 ((((𝜑𝑚 ∈ (ℤ‘0)) ∧ dom (𝐻𝑚) ⊆ (𝑁𝑚)) ∧ ¬ (𝐹‘(𝑁𝑚)) ∈ (𝐹 “ (𝑁𝑚))) → (dom (𝐻‘(𝑚 + 1)) ⊆ (𝑁‘(𝑚 + 1)) ↔ (𝑁‘dom (𝐻‘(𝑚 + 1))) ≤ (𝑁‘(𝑁‘(𝑚 + 1)))))
128125, 127mpbird 166 . . . . . . . 8 ((((𝜑𝑚 ∈ (ℤ‘0)) ∧ dom (𝐻𝑚) ⊆ (𝑁𝑚)) ∧ ¬ (𝐹‘(𝑁𝑚)) ∈ (𝐹 “ (𝑁𝑚))) → dom (𝐻‘(𝑚 + 1)) ⊆ (𝑁‘(𝑚 + 1)))
12939, 40, 71ennnfonelemdc 12354 . . . . . . . . 9 (((𝜑𝑚 ∈ (ℤ‘0)) ∧ dom (𝐻𝑚) ⊆ (𝑁𝑚)) → DECID (𝐹‘(𝑁𝑚)) ∈ (𝐹 “ (𝑁𝑚)))
130 exmiddc 831 . . . . . . . . 9 (DECID (𝐹‘(𝑁𝑚)) ∈ (𝐹 “ (𝑁𝑚)) → ((𝐹‘(𝑁𝑚)) ∈ (𝐹 “ (𝑁𝑚)) ∨ ¬ (𝐹‘(𝑁𝑚)) ∈ (𝐹 “ (𝑁𝑚))))
131129, 130syl 14 . . . . . . . 8 (((𝜑𝑚 ∈ (ℤ‘0)) ∧ dom (𝐻𝑚) ⊆ (𝑁𝑚)) → ((𝐹‘(𝑁𝑚)) ∈ (𝐹 “ (𝑁𝑚)) ∨ ¬ (𝐹‘(𝑁𝑚)) ∈ (𝐹 “ (𝑁𝑚))))
13289, 128, 131mpjaodan 793 . . . . . . 7 (((𝜑𝑚 ∈ (ℤ‘0)) ∧ dom (𝐻𝑚) ⊆ (𝑁𝑚)) → dom (𝐻‘(𝑚 + 1)) ⊆ (𝑁‘(𝑚 + 1)))
133132ex 114 . . . . . 6 ((𝜑𝑚 ∈ (ℤ‘0)) → (dom (𝐻𝑚) ⊆ (𝑁𝑚) → dom (𝐻‘(𝑚 + 1)) ⊆ (𝑁‘(𝑚 + 1))))
134133expcom 115 . . . . 5 (𝑚 ∈ (ℤ‘0) → (𝜑 → (dom (𝐻𝑚) ⊆ (𝑁𝑚) → dom (𝐻‘(𝑚 + 1)) ⊆ (𝑁‘(𝑚 + 1)))))
135134a2d 26 . . . 4 (𝑚 ∈ (ℤ‘0) → ((𝜑 → dom (𝐻𝑚) ⊆ (𝑁𝑚)) → (𝜑 → dom (𝐻‘(𝑚 + 1)) ⊆ (𝑁‘(𝑚 + 1)))))
1366, 11, 16, 21, 35, 135uzind4 9547 . . 3 (𝑃 ∈ (ℤ‘0) → (𝜑 → dom (𝐻𝑃) ⊆ (𝑁𝑃)))
137136, 43eleq2s 2265 . 2 (𝑃 ∈ ℕ0 → (𝜑 → dom (𝐻𝑃) ⊆ (𝑁𝑃)))
1381, 137mpcom 36 1 (𝜑 → dom (𝐻𝑃) ⊆ (𝑁𝑃))
Colors of variables: wff set class
Syntax hints:  ¬ wn 3  wi 4  wa 103  wb 104  wo 703  DECID wdc 829   = wceq 1348  wcel 2141  wne 2340  wral 2448  wrex 2449  cun 3119  wss 3121  c0 3414  ifcif 3526  {csn 3583  cop 3586   class class class wbr 3989  cmpt 4050  suc csuc 4350  ωcom 4574  ccnv 4610  dom cdm 4611  cima 4614  wf 5194  ontowfo 5196  1-1-ontowf1o 5197  cfv 5198  (class class class)co 5853  cmpo 5855  freccfrec 6369  pm cpm 6627  cr 7773  0cc0 7774  1c1 7775   + caddc 7777  cle 7955  cmin 8090  0cn0 9135  cz 9212  cuz 9487  seqcseq 10401
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  ax-cnex 7865  ax-resscn 7866  ax-1cn 7867  ax-1re 7868  ax-icn 7869  ax-addcl 7870  ax-addrcl 7871  ax-mulcl 7872  ax-addcom 7874  ax-addass 7876  ax-distr 7878  ax-i2m1 7879  ax-0lt1 7880  ax-0id 7882  ax-rnegex 7883  ax-cnre 7885  ax-pre-ltirr 7886  ax-pre-ltwlin 7887  ax-pre-lttrn 7888  ax-pre-ltadd 7890
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-nel 2436  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-ilim 4354  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-riota 5809  df-ov 5856  df-oprab 5857  df-mpo 5858  df-1st 6119  df-2nd 6120  df-recs 6284  df-frec 6370  df-pm 6629  df-pnf 7956  df-mnf 7957  df-xr 7958  df-ltxr 7959  df-le 7960  df-sub 8092  df-neg 8093  df-inn 8879  df-n0 9136  df-z 9213  df-uz 9488  df-seqfrec 10402
This theorem is referenced by: (None)
  Copyright terms: Public domain W3C validator