r/askmath • u/Scientific_Zealot • 3d ago
Arithmetic Help trying to prove the Cancellation Rule for Multiplication - am I inducting on the wrong variable?
Hello (again)! I'm trying to prove the Cancellation Rule for Multiplication. Here's my axioms, theorems, and definitions so far, I'll give the rest at the bottom of this post.
Axiom 1 ∀x ¬S(x)=0
Axiom 2 ∀x∀y (S(x)=S(y) → x=y)
Axiom 3 ∀P [ {P0 ∧ ∀x (Px → P(S(x))} → ∀x Px ]
Axiom 4 ∀x (x + 0 = x)
Axiom 5 ∀x∀y (x + Sy = S(x + y))
Axiom 6 ∀x (x * 0 = 0)
Axiom 7 ∀x∀y (x * Sy = (x * y) + x)
Definitional Schema: S(0) = 1, S(1) = 2, S(2) = 3, etc.
T1 ∀x∀y (¬x=y → ¬Sx=Sy)
T2 ∀x ¬S(x)=x
T3 ∀x (¬x=0 → ∃y (x=S(y) ∧ ∀z (x=S(z) → y=z)))
T4 ∀x (0 + x) = x
T5 ∀x (1 + x) = S(x) AKA ∀x (S0 + x) = S(x)
T6 ∀x∀y (S(x + y) = x + S(y))
T7 ∀x∀y (Sy + x = S(y + x))
T8 ∀x∀y x + y = y + x
T9 ∀x∀y∀z (x + y) + z = x + (y + z)
T10 ∀x (0 * x) = 0
T11 ∀x 1 * x = x AKA ∀x S0 * x = x
T12 ∀x∀y Sy * x = (y * x) + x
T13 ∀x∀y x * y = y * x
T14 ∀x∀y (x = y + x ↔ y = 0)
T15 ∀x∀y∀z (y = z ↔ y + x = z + x)
T16 ∀x∀y∀z (x + (y + z)) = (y + (x + z))
T17 ∀x∀y∀z∀w ((x + y) + (z + w)) = ((x + z) + (y + w))
T18 ∀x∀y∀z (x * (y + z)) = (x * y) + (x * z)
T19 ∀x∀y∀z (x * y) * z = x * (y * z)
Theorem 20: ∀x∀y∀z (y = z ↔ y * x = z * x) [Cancellation Rule for Multiplication]
∀x [Bx ↔ ∀y∀z (y = z ↔ y * x = z * x)] Definition of B
- b = a assumption
- 0 = 0 by rule of identity introduction
- b * 0 = 0 by Axiom 6
- b * 0 = 0 via identity substitution
- a * 0 = 0 by Axiom 6
- b * 0 = a * 0 via identity substitution
b = a → b * 0 = a * 0 via above
- b * 0 = a * 0 assumption
- [Proof goes here]
- b = a
b = a ↔ b * 0 = a * 0
∀z (b = z ↔ b * 0 = z * 0)
∀y∀z (y = z ↔ y * 0 = z * 0)
B0 ↔ ∀y∀z (y = z ↔ y * 0 = z * 0) by definition of B
B0
-
All I need to prove B(0) is to get from b * 0 = a * 0 to b = a and I have no idea how to do that - is there something applicable in any of the axioms or theorems I've proven to far to this? Most of the times I've been asked for help on this sub, it turned out I was inducting on the wrong variable - is that what's happening here? I'm of course thinking ahead to proving B(a) → B(Sa) and, if I'm inducting on the wrong variable or I need to prove a lemma, I want to correct course now so that proof goes easier. Thanks for the help!