Metamath Proof Explorer


Theorem mndodcongi

Description: If two multipliers are congruent relative to the base point's order, the corresponding multiples are the same. For monoids, the reverse implication is false for elements with infinite order. For example, the powers of 2 mod 1 0 are 1,2,4,8,6,2,4,8,6,... so that the identity 1 never repeats, which is infinite order by our definition, yet other numbers like 6 appear many times in the sequence. (Contributed by Mario Carneiro, 23-Sep-2015)

Ref Expression
Hypotheses odcl.1 X = Base G
odcl.2 O = od G
odid.3 · ˙ = G
odid.4 0 ˙ = 0 G
Assertion mndodcongi G Mnd A X M 0 N 0 O A M N M · ˙ A = N · ˙ A

Proof

Step Hyp Ref Expression
1 odcl.1 X = Base G
2 odcl.2 O = od G
3 odid.3 · ˙ = G
4 odid.4 0 ˙ = 0 G
5 1 2 3 4 mndodcong G Mnd A X M 0 N 0 O A O A M N M · ˙ A = N · ˙ A
6 5 biimpd G Mnd A X M 0 N 0 O A O A M N M · ˙ A = N · ˙ A
7 6 3expia G Mnd A X M 0 N 0 O A O A M N M · ˙ A = N · ˙ A
8 7 3impa G Mnd A X M 0 N 0 O A O A M N M · ˙ A = N · ˙ A
9 nn0z M 0 M
10 nn0z N 0 N
11 zsubcl M N M N
12 9 10 11 syl2an M 0 N 0 M N
13 12 3ad2ant3 G Mnd A X M 0 N 0 M N
14 0dvds M N 0 M N M N = 0
15 13 14 syl G Mnd A X M 0 N 0 0 M N M N = 0
16 nn0cn M 0 M
17 nn0cn N 0 N
18 subeq0 M N M N = 0 M = N
19 16 17 18 syl2an M 0 N 0 M N = 0 M = N
20 19 3ad2ant3 G Mnd A X M 0 N 0 M N = 0 M = N
21 oveq1 M = N M · ˙ A = N · ˙ A
22 20 21 syl6bi G Mnd A X M 0 N 0 M N = 0 M · ˙ A = N · ˙ A
23 15 22 sylbid G Mnd A X M 0 N 0 0 M N M · ˙ A = N · ˙ A
24 breq1 O A = 0 O A M N 0 M N
25 24 imbi1d O A = 0 O A M N M · ˙ A = N · ˙ A 0 M N M · ˙ A = N · ˙ A
26 23 25 syl5ibrcom G Mnd A X M 0 N 0 O A = 0 O A M N M · ˙ A = N · ˙ A
27 1 2 odcl A X O A 0
28 27 3ad2ant2 G Mnd A X M 0 N 0 O A 0
29 elnn0 O A 0 O A O A = 0
30 28 29 sylib G Mnd A X M 0 N 0 O A O A = 0
31 8 26 30 mpjaod G Mnd A X M 0 N 0 O A M N M · ˙ A = N · ˙ A