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

Theorem peano4nninf 14039
Description: The successor function on is one to one. Half of Lemma 3.4 of [PradicBrown2022], p. 5. (Contributed by Jim Kingdon, 31-Jul-2022.)
Hypothesis
Ref Expression
peano4nninf.s 𝑆 = (𝑝 ∈ ℕ ↦ (𝑖 ∈ ω ↦ if(𝑖 = ∅, 1o, (𝑝 𝑖))))
Assertion
Ref Expression
peano4nninf 𝑆:ℕ1-1→ℕ
Distinct variable groups:   𝑆,𝑖   𝑖,𝑝
Allowed substitution hint:   𝑆(𝑝)

Proof of Theorem peano4nninf
Dummy variables 𝑘 𝑥 𝑦 𝑓 𝑗 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 peano4nninf.s . . 3 𝑆 = (𝑝 ∈ ℕ ↦ (𝑖 ∈ ω ↦ if(𝑖 = ∅, 1o, (𝑝 𝑖))))
21nnsf 14038 . 2 𝑆:ℕ⟶ℕ
3 fveq1 5495 . . . . . . . . . . 11 (𝑓 = 𝑥 → (𝑓‘suc 𝑗) = (𝑥‘suc 𝑗))
4 fveq1 5495 . . . . . . . . . . 11 (𝑓 = 𝑥 → (𝑓𝑗) = (𝑥𝑗))
53, 4sseq12d 3178 . . . . . . . . . 10 (𝑓 = 𝑥 → ((𝑓‘suc 𝑗) ⊆ (𝑓𝑗) ↔ (𝑥‘suc 𝑗) ⊆ (𝑥𝑗)))
65ralbidv 2470 . . . . . . . . 9 (𝑓 = 𝑥 → (∀𝑗 ∈ ω (𝑓‘suc 𝑗) ⊆ (𝑓𝑗) ↔ ∀𝑗 ∈ ω (𝑥‘suc 𝑗) ⊆ (𝑥𝑗)))
7 df-nninf 7097 . . . . . . . . 9 = {𝑓 ∈ (2o𝑚 ω) ∣ ∀𝑗 ∈ ω (𝑓‘suc 𝑗) ⊆ (𝑓𝑗)}
86, 7elrab2 2889 . . . . . . . 8 (𝑥 ∈ ℕ ↔ (𝑥 ∈ (2o𝑚 ω) ∧ ∀𝑗 ∈ ω (𝑥‘suc 𝑗) ⊆ (𝑥𝑗)))
98simplbi 272 . . . . . . 7 (𝑥 ∈ ℕ𝑥 ∈ (2o𝑚 ω))
10 elmapfn 6649 . . . . . . 7 (𝑥 ∈ (2o𝑚 ω) → 𝑥 Fn ω)
119, 10syl 14 . . . . . 6 (𝑥 ∈ ℕ𝑥 Fn ω)
1211ad2antrr 485 . . . . 5 (((𝑥 ∈ ℕ𝑦 ∈ ℕ) ∧ (𝑆𝑥) = (𝑆𝑦)) → 𝑥 Fn ω)
13 fveq1 5495 . . . . . . . . . . 11 (𝑓 = 𝑦 → (𝑓‘suc 𝑗) = (𝑦‘suc 𝑗))
14 fveq1 5495 . . . . . . . . . . 11 (𝑓 = 𝑦 → (𝑓𝑗) = (𝑦𝑗))
1513, 14sseq12d 3178 . . . . . . . . . 10 (𝑓 = 𝑦 → ((𝑓‘suc 𝑗) ⊆ (𝑓𝑗) ↔ (𝑦‘suc 𝑗) ⊆ (𝑦𝑗)))
1615ralbidv 2470 . . . . . . . . 9 (𝑓 = 𝑦 → (∀𝑗 ∈ ω (𝑓‘suc 𝑗) ⊆ (𝑓𝑗) ↔ ∀𝑗 ∈ ω (𝑦‘suc 𝑗) ⊆ (𝑦𝑗)))
1716, 7elrab2 2889 . . . . . . . 8 (𝑦 ∈ ℕ ↔ (𝑦 ∈ (2o𝑚 ω) ∧ ∀𝑗 ∈ ω (𝑦‘suc 𝑗) ⊆ (𝑦𝑗)))
1817simplbi 272 . . . . . . 7 (𝑦 ∈ ℕ𝑦 ∈ (2o𝑚 ω))
19 elmapfn 6649 . . . . . . 7 (𝑦 ∈ (2o𝑚 ω) → 𝑦 Fn ω)
2018, 19syl 14 . . . . . 6 (𝑦 ∈ ℕ𝑦 Fn ω)
2120ad2antlr 486 . . . . 5 (((𝑥 ∈ ℕ𝑦 ∈ ℕ) ∧ (𝑆𝑥) = (𝑆𝑦)) → 𝑦 Fn ω)
22 simplr 525 . . . . . . 7 ((((𝑥 ∈ ℕ𝑦 ∈ ℕ) ∧ (𝑆𝑥) = (𝑆𝑦)) ∧ 𝑘 ∈ ω) → (𝑆𝑥) = (𝑆𝑦))
2322fveq1d 5498 . . . . . 6 ((((𝑥 ∈ ℕ𝑦 ∈ ℕ) ∧ (𝑆𝑥) = (𝑆𝑦)) ∧ 𝑘 ∈ ω) → ((𝑆𝑥)‘suc 𝑘) = ((𝑆𝑦)‘suc 𝑘))
24 fveq1 5495 . . . . . . . . . . . 12 (𝑝 = 𝑥 → (𝑝 𝑖) = (𝑥 𝑖))
2524ifeq2d 3544 . . . . . . . . . . 11 (𝑝 = 𝑥 → if(𝑖 = ∅, 1o, (𝑝 𝑖)) = if(𝑖 = ∅, 1o, (𝑥 𝑖)))
2625mpteq2dv 4080 . . . . . . . . . 10 (𝑝 = 𝑥 → (𝑖 ∈ ω ↦ if(𝑖 = ∅, 1o, (𝑝 𝑖))) = (𝑖 ∈ ω ↦ if(𝑖 = ∅, 1o, (𝑥 𝑖))))
27 omex 4577 . . . . . . . . . . 11 ω ∈ V
2827mptex 5722 . . . . . . . . . 10 (𝑖 ∈ ω ↦ if(𝑖 = ∅, 1o, (𝑥 𝑖))) ∈ V
2926, 1, 28fvmpt 5573 . . . . . . . . 9 (𝑥 ∈ ℕ → (𝑆𝑥) = (𝑖 ∈ ω ↦ if(𝑖 = ∅, 1o, (𝑥 𝑖))))
3029ad3antrrr 489 . . . . . . . 8 ((((𝑥 ∈ ℕ𝑦 ∈ ℕ) ∧ (𝑆𝑥) = (𝑆𝑦)) ∧ 𝑘 ∈ ω) → (𝑆𝑥) = (𝑖 ∈ ω ↦ if(𝑖 = ∅, 1o, (𝑥 𝑖))))
31 simpr 109 . . . . . . . . . 10 (((((𝑥 ∈ ℕ𝑦 ∈ ℕ) ∧ (𝑆𝑥) = (𝑆𝑦)) ∧ 𝑘 ∈ ω) ∧ 𝑖 = suc 𝑘) → 𝑖 = suc 𝑘)
3231eqeq1d 2179 . . . . . . . . 9 (((((𝑥 ∈ ℕ𝑦 ∈ ℕ) ∧ (𝑆𝑥) = (𝑆𝑦)) ∧ 𝑘 ∈ ω) ∧ 𝑖 = suc 𝑘) → (𝑖 = ∅ ↔ suc 𝑘 = ∅))
3331unieqd 3807 . . . . . . . . . 10 (((((𝑥 ∈ ℕ𝑦 ∈ ℕ) ∧ (𝑆𝑥) = (𝑆𝑦)) ∧ 𝑘 ∈ ω) ∧ 𝑖 = suc 𝑘) → 𝑖 = suc 𝑘)
3433fveq2d 5500 . . . . . . . . 9 (((((𝑥 ∈ ℕ𝑦 ∈ ℕ) ∧ (𝑆𝑥) = (𝑆𝑦)) ∧ 𝑘 ∈ ω) ∧ 𝑖 = suc 𝑘) → (𝑥 𝑖) = (𝑥 suc 𝑘))
3532, 34ifbieq2d 3550 . . . . . . . 8 (((((𝑥 ∈ ℕ𝑦 ∈ ℕ) ∧ (𝑆𝑥) = (𝑆𝑦)) ∧ 𝑘 ∈ ω) ∧ 𝑖 = suc 𝑘) → if(𝑖 = ∅, 1o, (𝑥 𝑖)) = if(suc 𝑘 = ∅, 1o, (𝑥 suc 𝑘)))
36 peano2 4579 . . . . . . . . 9 (𝑘 ∈ ω → suc 𝑘 ∈ ω)
3736adantl 275 . . . . . . . 8 ((((𝑥 ∈ ℕ𝑦 ∈ ℕ) ∧ (𝑆𝑥) = (𝑆𝑦)) ∧ 𝑘 ∈ ω) → suc 𝑘 ∈ ω)
38 1lt2o 6421 . . . . . . . . . 10 1o ∈ 2o
3938a1i 9 . . . . . . . . 9 ((((𝑥 ∈ ℕ𝑦 ∈ ℕ) ∧ (𝑆𝑥) = (𝑆𝑦)) ∧ 𝑘 ∈ ω) → 1o ∈ 2o)
40 nninff 7099 . . . . . . . . . . 11 (𝑥 ∈ ℕ𝑥:ω⟶2o)
4140ad3antrrr 489 . . . . . . . . . 10 ((((𝑥 ∈ ℕ𝑦 ∈ ℕ) ∧ (𝑆𝑥) = (𝑆𝑦)) ∧ 𝑘 ∈ ω) → 𝑥:ω⟶2o)
42 nnpredcl 4607 . . . . . . . . . . 11 (suc 𝑘 ∈ ω → suc 𝑘 ∈ ω)
4337, 42syl 14 . . . . . . . . . 10 ((((𝑥 ∈ ℕ𝑦 ∈ ℕ) ∧ (𝑆𝑥) = (𝑆𝑦)) ∧ 𝑘 ∈ ω) → suc 𝑘 ∈ ω)
4441, 43ffvelrnd 5632 . . . . . . . . 9 ((((𝑥 ∈ ℕ𝑦 ∈ ℕ) ∧ (𝑆𝑥) = (𝑆𝑦)) ∧ 𝑘 ∈ ω) → (𝑥 suc 𝑘) ∈ 2o)
45 nndceq0 4602 . . . . . . . . . 10 (suc 𝑘 ∈ ω → DECID suc 𝑘 = ∅)
4637, 45syl 14 . . . . . . . . 9 ((((𝑥 ∈ ℕ𝑦 ∈ ℕ) ∧ (𝑆𝑥) = (𝑆𝑦)) ∧ 𝑘 ∈ ω) → DECID suc 𝑘 = ∅)
4739, 44, 46ifcldcd 3561 . . . . . . . 8 ((((𝑥 ∈ ℕ𝑦 ∈ ℕ) ∧ (𝑆𝑥) = (𝑆𝑦)) ∧ 𝑘 ∈ ω) → if(suc 𝑘 = ∅, 1o, (𝑥 suc 𝑘)) ∈ 2o)
4830, 35, 37, 47fvmptd 5577 . . . . . . 7 ((((𝑥 ∈ ℕ𝑦 ∈ ℕ) ∧ (𝑆𝑥) = (𝑆𝑦)) ∧ 𝑘 ∈ ω) → ((𝑆𝑥)‘suc 𝑘) = if(suc 𝑘 = ∅, 1o, (𝑥 suc 𝑘)))
49 peano3 4580 . . . . . . . . . 10 (𝑘 ∈ ω → suc 𝑘 ≠ ∅)
5049adantl 275 . . . . . . . . 9 ((((𝑥 ∈ ℕ𝑦 ∈ ℕ) ∧ (𝑆𝑥) = (𝑆𝑦)) ∧ 𝑘 ∈ ω) → suc 𝑘 ≠ ∅)
5150neneqd 2361 . . . . . . . 8 ((((𝑥 ∈ ℕ𝑦 ∈ ℕ) ∧ (𝑆𝑥) = (𝑆𝑦)) ∧ 𝑘 ∈ ω) → ¬ suc 𝑘 = ∅)
5251iffalsed 3536 . . . . . . 7 ((((𝑥 ∈ ℕ𝑦 ∈ ℕ) ∧ (𝑆𝑥) = (𝑆𝑦)) ∧ 𝑘 ∈ ω) → if(suc 𝑘 = ∅, 1o, (𝑥 suc 𝑘)) = (𝑥 suc 𝑘))
53 nnord 4596 . . . . . . . . . . 11 (𝑘 ∈ ω → Ord 𝑘)
54 ordtr 4363 . . . . . . . . . . 11 (Ord 𝑘 → Tr 𝑘)
5553, 54syl 14 . . . . . . . . . 10 (𝑘 ∈ ω → Tr 𝑘)
56 unisucg 4399 . . . . . . . . . 10 (𝑘 ∈ ω → (Tr 𝑘 suc 𝑘 = 𝑘))
5755, 56mpbid 146 . . . . . . . . 9 (𝑘 ∈ ω → suc 𝑘 = 𝑘)
5857fveq2d 5500 . . . . . . . 8 (𝑘 ∈ ω → (𝑥 suc 𝑘) = (𝑥𝑘))
5958adantl 275 . . . . . . 7 ((((𝑥 ∈ ℕ𝑦 ∈ ℕ) ∧ (𝑆𝑥) = (𝑆𝑦)) ∧ 𝑘 ∈ ω) → (𝑥 suc 𝑘) = (𝑥𝑘))
6048, 52, 593eqtrd 2207 . . . . . 6 ((((𝑥 ∈ ℕ𝑦 ∈ ℕ) ∧ (𝑆𝑥) = (𝑆𝑦)) ∧ 𝑘 ∈ ω) → ((𝑆𝑥)‘suc 𝑘) = (𝑥𝑘))
61 fveq1 5495 . . . . . . . . . . . 12 (𝑝 = 𝑦 → (𝑝 𝑖) = (𝑦 𝑖))
6261ifeq2d 3544 . . . . . . . . . . 11 (𝑝 = 𝑦 → if(𝑖 = ∅, 1o, (𝑝 𝑖)) = if(𝑖 = ∅, 1o, (𝑦 𝑖)))
6362mpteq2dv 4080 . . . . . . . . . 10 (𝑝 = 𝑦 → (𝑖 ∈ ω ↦ if(𝑖 = ∅, 1o, (𝑝 𝑖))) = (𝑖 ∈ ω ↦ if(𝑖 = ∅, 1o, (𝑦 𝑖))))
6427mptex 5722 . . . . . . . . . 10 (𝑖 ∈ ω ↦ if(𝑖 = ∅, 1o, (𝑦 𝑖))) ∈ V
6563, 1, 64fvmpt 5573 . . . . . . . . 9 (𝑦 ∈ ℕ → (𝑆𝑦) = (𝑖 ∈ ω ↦ if(𝑖 = ∅, 1o, (𝑦 𝑖))))
6665ad3antlr 490 . . . . . . . 8 ((((𝑥 ∈ ℕ𝑦 ∈ ℕ) ∧ (𝑆𝑥) = (𝑆𝑦)) ∧ 𝑘 ∈ ω) → (𝑆𝑦) = (𝑖 ∈ ω ↦ if(𝑖 = ∅, 1o, (𝑦 𝑖))))
6733fveq2d 5500 . . . . . . . . 9 (((((𝑥 ∈ ℕ𝑦 ∈ ℕ) ∧ (𝑆𝑥) = (𝑆𝑦)) ∧ 𝑘 ∈ ω) ∧ 𝑖 = suc 𝑘) → (𝑦 𝑖) = (𝑦 suc 𝑘))
6832, 67ifbieq2d 3550 . . . . . . . 8 (((((𝑥 ∈ ℕ𝑦 ∈ ℕ) ∧ (𝑆𝑥) = (𝑆𝑦)) ∧ 𝑘 ∈ ω) ∧ 𝑖 = suc 𝑘) → if(𝑖 = ∅, 1o, (𝑦 𝑖)) = if(suc 𝑘 = ∅, 1o, (𝑦 suc 𝑘)))
69 nninff 7099 . . . . . . . . . . 11 (𝑦 ∈ ℕ𝑦:ω⟶2o)
7069ad3antlr 490 . . . . . . . . . 10 ((((𝑥 ∈ ℕ𝑦 ∈ ℕ) ∧ (𝑆𝑥) = (𝑆𝑦)) ∧ 𝑘 ∈ ω) → 𝑦:ω⟶2o)
7170, 43ffvelrnd 5632 . . . . . . . . 9 ((((𝑥 ∈ ℕ𝑦 ∈ ℕ) ∧ (𝑆𝑥) = (𝑆𝑦)) ∧ 𝑘 ∈ ω) → (𝑦 suc 𝑘) ∈ 2o)
7239, 71, 46ifcldcd 3561 . . . . . . . 8 ((((𝑥 ∈ ℕ𝑦 ∈ ℕ) ∧ (𝑆𝑥) = (𝑆𝑦)) ∧ 𝑘 ∈ ω) → if(suc 𝑘 = ∅, 1o, (𝑦 suc 𝑘)) ∈ 2o)
7366, 68, 37, 72fvmptd 5577 . . . . . . 7 ((((𝑥 ∈ ℕ𝑦 ∈ ℕ) ∧ (𝑆𝑥) = (𝑆𝑦)) ∧ 𝑘 ∈ ω) → ((𝑆𝑦)‘suc 𝑘) = if(suc 𝑘 = ∅, 1o, (𝑦 suc 𝑘)))
7451iffalsed 3536 . . . . . . 7 ((((𝑥 ∈ ℕ𝑦 ∈ ℕ) ∧ (𝑆𝑥) = (𝑆𝑦)) ∧ 𝑘 ∈ ω) → if(suc 𝑘 = ∅, 1o, (𝑦 suc 𝑘)) = (𝑦 suc 𝑘))
7557fveq2d 5500 . . . . . . . 8 (𝑘 ∈ ω → (𝑦 suc 𝑘) = (𝑦𝑘))
7675adantl 275 . . . . . . 7 ((((𝑥 ∈ ℕ𝑦 ∈ ℕ) ∧ (𝑆𝑥) = (𝑆𝑦)) ∧ 𝑘 ∈ ω) → (𝑦 suc 𝑘) = (𝑦𝑘))
7773, 74, 763eqtrd 2207 . . . . . 6 ((((𝑥 ∈ ℕ𝑦 ∈ ℕ) ∧ (𝑆𝑥) = (𝑆𝑦)) ∧ 𝑘 ∈ ω) → ((𝑆𝑦)‘suc 𝑘) = (𝑦𝑘))
7823, 60, 773eqtr3d 2211 . . . . 5 ((((𝑥 ∈ ℕ𝑦 ∈ ℕ) ∧ (𝑆𝑥) = (𝑆𝑦)) ∧ 𝑘 ∈ ω) → (𝑥𝑘) = (𝑦𝑘))
7912, 21, 78eqfnfvd 5596 . . . 4 (((𝑥 ∈ ℕ𝑦 ∈ ℕ) ∧ (𝑆𝑥) = (𝑆𝑦)) → 𝑥 = 𝑦)
8079ex 114 . . 3 ((𝑥 ∈ ℕ𝑦 ∈ ℕ) → ((𝑆𝑥) = (𝑆𝑦) → 𝑥 = 𝑦))
8180rgen2a 2524 . 2 𝑥 ∈ ℕ𝑦 ∈ ℕ ((𝑆𝑥) = (𝑆𝑦) → 𝑥 = 𝑦)
82 dff13 5747 . 2 (𝑆:ℕ1-1→ℕ ↔ (𝑆:ℕ⟶ℕ ∧ ∀𝑥 ∈ ℕ𝑦 ∈ ℕ ((𝑆𝑥) = (𝑆𝑦) → 𝑥 = 𝑦)))
832, 81, 82mpbir2an 937 1 𝑆:ℕ1-1→ℕ
Colors of variables: wff set class
Syntax hints:  wi 4  wa 103  DECID wdc 829   = wceq 1348  wcel 2141  wne 2340  wral 2448  wss 3121  c0 3414  ifcif 3526   cuni 3796  cmpt 4050  Tr wtr 4087  Ord word 4347  suc csuc 4350  ωcom 4574   Fn wfn 5193  wf 5194  1-1wf1 5195  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-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:  exmidsbthrlem  14054
  Copyright terms: Public domain W3C validator