Metamath Proof Explorer


Theorem z12bdaylem2

Description: Lemma for z12bday . Show the first half of the equality. (Contributed by Scott Fenton, 22-Feb-2026)

Ref Expression
Hypotheses z12bdaylem.1 ⊢ φ → N ∈ ℕ 0s
z12bdaylem.2 ⊢ φ → M ∈ ℕ 0s
z12bdaylem.3 ⊢ φ → P ∈ ℕ 0s
z12bdaylem.4 No typesetting found for |- ( ph -> ( ( 2s x.s M ) +s 1s )
Assertion z12bdaylem2 Could not format assertion : No typesetting found for |- ( ph -> ( bday ` ( N +s ( ( ( 2s x.s M ) +s 1s ) /su ( 2s ^su P ) ) ) ) C_ ( bday ` ( ( N +s P ) +s 1s ) ) ) with typecode |-

Proof

Step Hyp Ref Expression
1 z12bdaylem.1 ⊢ φ → N ∈ ℕ 0s
2 z12bdaylem.2 ⊢ φ → M ∈ ℕ 0s
3 z12bdaylem.3 ⊢ φ → P ∈ ℕ 0s
4 z12bdaylem.4 Could not format ( ph -> ( ( 2s x.s M ) +s 1s ) ( ( 2s x.s M ) +s 1s )
5 1 n0nod ⊢ φ → N ∈ No
6 2no Could not format 2s e. No : No typesetting found for |- 2s e. No with typecode |-
7 6 a1i Could not format ( ph -> 2s e. No ) : No typesetting found for |- ( ph -> 2s e. No ) with typecode |-
8 2 n0nod ⊢ φ → M ∈ No
9 7 8 mulscld Could not format ( ph -> ( 2s x.s M ) e. No ) : No typesetting found for |- ( ph -> ( 2s x.s M ) e. No ) with typecode |-
10 1no ⊢ 1 s ∈ No
11 10 a1i ⊢ φ → 1 s ∈ No
12 9 11 addscld Could not format ( ph -> ( ( 2s x.s M ) +s 1s ) e. No ) : No typesetting found for |- ( ph -> ( ( 2s x.s M ) +s 1s ) e. No ) with typecode |-
13 12 3 pw2divscld Could not format ( ph -> ( ( ( 2s x.s M ) +s 1s ) /su ( 2s ^su P ) ) e. No ) : No typesetting found for |- ( ph -> ( ( ( 2s x.s M ) +s 1s ) /su ( 2s ^su P ) ) e. No ) with typecode |-
14 addbday Could not format ( ( N e. No /\ ( ( ( 2s x.s M ) +s 1s ) /su ( 2s ^su P ) ) e. No ) -> ( bday ` ( N +s ( ( ( 2s x.s M ) +s 1s ) /su ( 2s ^su P ) ) ) ) C_ ( ( bday ` N ) +no ( bday ` ( ( ( 2s x.s M ) +s 1s ) /su ( 2s ^su P ) ) ) ) ) : No typesetting found for |- ( ( N e. No /\ ( ( ( 2s x.s M ) +s 1s ) /su ( 2s ^su P ) ) e. No ) -> ( bday ` ( N +s ( ( ( 2s x.s M ) +s 1s ) /su ( 2s ^su P ) ) ) ) C_ ( ( bday ` N ) +no ( bday ` ( ( ( 2s x.s M ) +s 1s ) /su ( 2s ^su P ) ) ) ) ) with typecode |-
15 5 13 14 syl2anc Could not format ( ph -> ( bday ` ( N +s ( ( ( 2s x.s M ) +s 1s ) /su ( 2s ^su P ) ) ) ) C_ ( ( bday ` N ) +no ( bday ` ( ( ( 2s x.s M ) +s 1s ) /su ( 2s ^su P ) ) ) ) ) : No typesetting found for |- ( ph -> ( bday ` ( N +s ( ( ( 2s x.s M ) +s 1s ) /su ( 2s ^su P ) ) ) ) C_ ( ( bday ` N ) +no ( bday ` ( ( ( 2s x.s M ) +s 1s ) /su ( 2s ^su P ) ) ) ) ) with typecode |-
16 2nns Could not format 2s e. NN_s : No typesetting found for |- 2s e. NN_s with typecode |-
17 nnn0s Could not format ( 2s e. NN_s -> 2s e. NN0_s ) : No typesetting found for |- ( 2s e. NN_s -> 2s e. NN0_s ) with typecode |-
18 16 17 ax-mp Could not format 2s e. NN0_s : No typesetting found for |- 2s e. NN0_s with typecode |-
19 n0mulscl Could not format ( ( 2s e. NN0_s /\ M e. NN0_s ) -> ( 2s x.s M ) e. NN0_s ) : No typesetting found for |- ( ( 2s e. NN0_s /\ M e. NN0_s ) -> ( 2s x.s M ) e. NN0_s ) with typecode |-
20 18 2 19 sylancr Could not format ( ph -> ( 2s x.s M ) e. NN0_s ) : No typesetting found for |- ( ph -> ( 2s x.s M ) e. NN0_s ) with typecode |-
21 1n0s ⊢ 1 s ∈ ℕ 0s
22 n0addscl Could not format ( ( ( 2s x.s M ) e. NN0_s /\ 1s e. NN0_s ) -> ( ( 2s x.s M ) +s 1s ) e. NN0_s ) : No typesetting found for |- ( ( ( 2s x.s M ) e. NN0_s /\ 1s e. NN0_s ) -> ( ( 2s x.s M ) +s 1s ) e. NN0_s ) with typecode |-
23 20 21 22 sylancl Could not format ( ph -> ( ( 2s x.s M ) +s 1s ) e. NN0_s ) : No typesetting found for |- ( ph -> ( ( 2s x.s M ) +s 1s ) e. NN0_s ) with typecode |-
24 bdaypw2n0bnd Could not format ( ( ( ( 2s x.s M ) +s 1s ) e. NN0_s /\ P e. NN0_s /\ ( ( 2s x.s M ) +s 1s ) ( bday ` ( ( ( 2s x.s M ) +s 1s ) /su ( 2s ^su P ) ) ) C_ suc ( bday ` P ) ) : No typesetting found for |- ( ( ( ( 2s x.s M ) +s 1s ) e. NN0_s /\ P e. NN0_s /\ ( ( 2s x.s M ) +s 1s ) ( bday ` ( ( ( 2s x.s M ) +s 1s ) /su ( 2s ^su P ) ) ) C_ suc ( bday ` P ) ) with typecode |-
25 23 3 4 24 syl3anc Could not format ( ph -> ( bday ` ( ( ( 2s x.s M ) +s 1s ) /su ( 2s ^su P ) ) ) C_ suc ( bday ` P ) ) : No typesetting found for |- ( ph -> ( bday ` ( ( ( 2s x.s M ) +s 1s ) /su ( 2s ^su P ) ) ) C_ suc ( bday ` P ) ) with typecode |-
26 bdayon Could not format ( bday ` ( ( ( 2s x.s M ) +s 1s ) /su ( 2s ^su P ) ) ) e. On : No typesetting found for |- ( bday ` ( ( ( 2s x.s M ) +s 1s ) /su ( 2s ^su P ) ) ) e. On with typecode |-
27 bdayon ⊢ bday ⁡ P ∈ On
28 27 onsuci ⊢ suc ⁡ bday ⁡ P ∈ On
29 bdayon ⊢ bday ⁡ N ∈ On
30 naddss2 Could not format ( ( ( bday ` ( ( ( 2s x.s M ) +s 1s ) /su ( 2s ^su P ) ) ) e. On /\ suc ( bday ` P ) e. On /\ ( bday ` N ) e. On ) -> ( ( bday ` ( ( ( 2s x.s M ) +s 1s ) /su ( 2s ^su P ) ) ) C_ suc ( bday ` P ) <-> ( ( bday ` N ) +no ( bday ` ( ( ( 2s x.s M ) +s 1s ) /su ( 2s ^su P ) ) ) ) C_ ( ( bday ` N ) +no suc ( bday ` P ) ) ) ) : No typesetting found for |- ( ( ( bday ` ( ( ( 2s x.s M ) +s 1s ) /su ( 2s ^su P ) ) ) e. On /\ suc ( bday ` P ) e. On /\ ( bday ` N ) e. On ) -> ( ( bday ` ( ( ( 2s x.s M ) +s 1s ) /su ( 2s ^su P ) ) ) C_ suc ( bday ` P ) <-> ( ( bday ` N ) +no ( bday ` ( ( ( 2s x.s M ) +s 1s ) /su ( 2s ^su P ) ) ) ) C_ ( ( bday ` N ) +no suc ( bday ` P ) ) ) ) with typecode |-
31 26 28 29 30 mp3an Could not format ( ( bday ` ( ( ( 2s x.s M ) +s 1s ) /su ( 2s ^su P ) ) ) C_ suc ( bday ` P ) <-> ( ( bday ` N ) +no ( bday ` ( ( ( 2s x.s M ) +s 1s ) /su ( 2s ^su P ) ) ) ) C_ ( ( bday ` N ) +no suc ( bday ` P ) ) ) : No typesetting found for |- ( ( bday ` ( ( ( 2s x.s M ) +s 1s ) /su ( 2s ^su P ) ) ) C_ suc ( bday ` P ) <-> ( ( bday ` N ) +no ( bday ` ( ( ( 2s x.s M ) +s 1s ) /su ( 2s ^su P ) ) ) ) C_ ( ( bday ` N ) +no suc ( bday ` P ) ) ) with typecode |-
32 25 31 sylib Could not format ( ph -> ( ( bday ` N ) +no ( bday ` ( ( ( 2s x.s M ) +s 1s ) /su ( 2s ^su P ) ) ) ) C_ ( ( bday ` N ) +no suc ( bday ` P ) ) ) : No typesetting found for |- ( ph -> ( ( bday ` N ) +no ( bday ` ( ( ( 2s x.s M ) +s 1s ) /su ( 2s ^su P ) ) ) ) C_ ( ( bday ` N ) +no suc ( bday ` P ) ) ) with typecode |-
33 n0addscl ⊢ N ∈ ℕ 0s ∧ P ∈ ℕ 0s → N + s P ∈ ℕ 0s
34 1 3 33 syl2anc ⊢ φ → N + s P ∈ ℕ 0s
35 bdayn0p1 ⊢ N + s P ∈ ℕ 0s → bday ⁡ N + s P + s 1 s = suc ⁡ bday ⁡ N + s P
36 34 35 syl ⊢ φ → bday ⁡ N + s P + s 1 s = suc ⁡ bday ⁡ N + s P
37 n0on ⊢ N ∈ ℕ 0s → N ∈ On s
38 1 37 syl ⊢ φ → N ∈ On s
39 n0on ⊢ P ∈ ℕ 0s → P ∈ On s
40 3 39 syl ⊢ φ → P ∈ On s
41 addonbday ⊢ N ∈ On s ∧ P ∈ On s → bday ⁡ N + s P = bday ⁡ N + bday ⁡ P
42 38 40 41 syl2anc ⊢ φ → bday ⁡ N + s P = bday ⁡ N + bday ⁡ P
43 42 suceqd ⊢ φ → suc ⁡ bday ⁡ N + s P = suc ⁡ bday ⁡ N + bday ⁡ P
44 naddsuc2 ⊢ bday ⁡ N ∈ On ∧ bday ⁡ P ∈ On → bday ⁡ N + suc ⁡ bday ⁡ P = suc ⁡ bday ⁡ N + bday ⁡ P
45 29 27 44 mp2an ⊢ bday ⁡ N + suc ⁡ bday ⁡ P = suc ⁡ bday ⁡ N + bday ⁡ P
46 43 45 eqtr4di ⊢ φ → suc ⁡ bday ⁡ N + s P = bday ⁡ N + suc ⁡ bday ⁡ P
47 36 46 eqtrd ⊢ φ → bday ⁡ N + s P + s 1 s = bday ⁡ N + suc ⁡ bday ⁡ P
48 32 47 sseqtrrd Could not format ( ph -> ( ( bday ` N ) +no ( bday ` ( ( ( 2s x.s M ) +s 1s ) /su ( 2s ^su P ) ) ) ) C_ ( bday ` ( ( N +s P ) +s 1s ) ) ) : No typesetting found for |- ( ph -> ( ( bday ` N ) +no ( bday ` ( ( ( 2s x.s M ) +s 1s ) /su ( 2s ^su P ) ) ) ) C_ ( bday ` ( ( N +s P ) +s 1s ) ) ) with typecode |-
49 15 48 sstrd Could not format ( ph -> ( bday ` ( N +s ( ( ( 2s x.s M ) +s 1s ) /su ( 2s ^su P ) ) ) ) C_ ( bday ` ( ( N +s P ) +s 1s ) ) ) : No typesetting found for |- ( ph -> ( bday ` ( N +s ( ( ( 2s x.s M ) +s 1s ) /su ( 2s ^su P ) ) ) ) C_ ( bday ` ( ( N +s P ) +s 1s ) ) ) with typecode |-