r/learnmath • New User • 6d ago

TOPIC When is a simple proof enough?

I'm currently doing Serge Lang's Basic Mathematics and have found myself with the same question as many times in math before. When should I stop proving?

Let's take a random example, the very first exercise:

Justify each step, using commutativity and associativity in proving the following identities:
(a + b) + (c + d) = (a + d) + (b + c)

My solution:

Line 1: a + b + c + d = a + d + b + c      (Associativity)
Line 2: a + b + c + d = a + b + c + d      (Commutativity)
Line 3: a-a   + b-b   + c-c   + d-d   = 0  (-a-b-c-d)
Line 4: (a-a) + (b-b) + (c-c) + (d-d) = 0  (Associativity)
Line 5: 0     + 0     + 0     + 0     = 0
Line 6: 0                             = 0

If I'm lazy, I would say Line 2 is sufficient to see with plain eyes that they are equal. But if I would be in an exam, I would be worried if that would be sufficient for the prof.

I am aware that these are foundational exercises and meant to go into detail. But given different contexts (elemental teaching, everyday work math, science paper math) what level of proven is expected or accepted?

(Disclaimer: I found already the 10 year old post at [High School Math] Proofs but the question is slightly different and I hope 10 years is enough time in between to ask a question a second time)

6 Upvotes

21 comments sorted by

4

u/AlterEgo5695 New User 6d ago edited 6d ago

No, this is not enough. Here are some problems with your approach:

  1. None of your steps uses RHS or LHS of the statement you want to prove -- it is unclear how your steps relate to them
  2. You use addition with more than 2 arguments, even though that (likely) has not been introduced (yet)
  3. Formal problem: Disjointed (in-)equalities are considered bad proving style, since they are hard to read. For simple proofs like this, aim for one continuous chain of (in-)equalities

6

u/AlterEgo5695 New User 6d ago

Rem.: This is what a proof following those hints might look like:

Proof: Let "a, b, c, d in R". Then

(a + b) + (c + d)  =  a + (b + (c + d))         // associativity
                   =  a + ((b + c) + d)         // associativity
                   =  a + (d + (b + c))         // commutativity
                   =  (a + d) + (b + c)    ∎    // associativity

0

u/SelectHelicopter2 New User 6d ago

Thank you for the good response.

  1. This seems to be the core of my problem. It's natural to me to work on both sides at the same time and by the time I found an equality it's proven for me.
    You said it's unclear how my steps relate to them, but I did it step by step, how could it be unclear?
  2. Good point, wasn't aware of that
  3. I think this is related to 1? Can you give me some primer so I can read up to this?

2

u/AlterEgo5695 New User 6d ago

1.: Read my comment in 1. again -- "None of your steps uses RHS or LHS of the statement you want to prove". If you don't, they are unrelated to the assignment

3.: Check my follow-up comment to see what that would look like. This is nothing you can read up on -- you would need a very motivated teacher with practice in proof-writing (very rare) to get that kind of feedback at school. These kinds of feedback are usually only given to pure math students in university taking proof-based lectures, when good proving style matters

2

u/Dor_Min not a new user 6d ago

This seems to be the core of my problem. It's natural to me to work on both sides at the same time and by the time I found an equality it's proven for me.

You started with the statement you wanted to prove and manipulated it to something true, which isn't a valid method of proof. It's easy enough to start with a false statement (-1 = 1), apply valid manipulations (squaring both sides preserves equality), and end up with something true (1 = 1).

Instead when it comes to proving an equality you should start with one side of the statement and come up with a string of equalities that gets you to the other side, as this comment demonstrated. While you're trying to figure out the proof you might attack it from both sides and aim to join up in the middle, but when it comes to writing the proof down it should present a logical progression from one side to the other.

1

u/gondolin_star New User 6d ago

For 1, I think it's important to separate your draft work from the final proof. Working both sides together is fine as you're searching for a solution, but you should rewrite your findings after. 

Generally, taking a statement you're trying to prove and proving it's equivalent to a tautology is difficult to read because the proof reads "backwards" for the reader. "Oh, is this a true fact or something I'm trying to prove? Why are we starting with the thing we aren't sure is true?" 

Trying to go from one side to the other lets the reader have a better "narrative". 

21

u/JaguarMammoth6231 New User 6d ago edited 6d ago

For this level of proof, when you're using the associative property, you need to realize that addition is a binary operation: it takes only two inputs. You're not allowed to write a + b + c at all since it's ambiguous which one you do first. (Yes, you could rely on a convention like left-to-right but that just hides the problems).

So your first step of just removing all the parentheses was not valid.

When you're using the property of associativity, you have to replace an expression like (x + y) + z with one like x + (y + z), or vice versa.

When you have (a + b) + (c + d), you can choose x = a, y = b, and z = (c + d), and transform from (x + y) + z to x + (y + z), which is a + (b + (c + d)). Or you could have x = (a + b), y = c, and z = d, and transform x + (y + z) to (x + y) + z, which is ((a + b) + c) + d. Those are the only two transformations of (a + b) + (c + d) that use just associativity.

I'm not saying either of those is necessarily useful for this problem, but that's what you can use associativity for. You have to fill in the exact pattern of the rule.

11

u/bonebranch Mathematician 6d ago

I mean, all of this is "obvious"; the goal is to start with what is already established for our purposes, the basic principles, and to deduce this statement.

Right now we only know addition as a binary operation, meaning two inputs at a time. The phrase a + b + c + d is meaningless; some (read: a lot) of parentheses need to come into play here. And shuffling things in and out of parentheses is the point of this exercise.

9

u/mmurray1957 40 years at the chalkface 6d ago

Here is a simpler question that illustrates the method.

Show that (a+b) + c = (a + c ) + b

You could do:

(a+b) + c

= a + (b+c) (Assoc)

= a + (c + b) (Comm)

= (a+c ) + b (Assoc)

A similar approach will work for what you are trying to show. I got 7 lines including the beginning and end.

6

u/nog642 6d ago

In this context I think "associativity" doesn't just mean you can remove parentheses. If that was true then sure you could stop at step 2.

If you're being very formal, associativity means (a+b)+c=a+(b+c).

2

u/FlubberKitty New User 6d ago

Hello, logic nerd here. One issue is that Lang doesn't have very well specified rules in "Basic Mathematics". Thus, it's a bit fuzzy on where to stop proving.

So, Lang's rules for commutativity and associativity are stated in terms of addition and apply to integers. They are:

Commutativity: a + b = b + a

Associativity: (a + b) + c = a + (b + c)

Now, we try to prove the claim in question: (a + b) + (c + d) = (a + d) + (b + c)

The problem is that commutativity and associativity are not defined recursively in terms of expressions, but rather are defined in terms of integers. So, it's unclear what to do!

I propose doing something like this (and this is based on going through the book and considering how Lang proves claims in his answers to selected exercises in the back of the book, as well as my own preferences as a logic nerd).

  1. (a + b) + (c + d)
  2. a + (b + (c + d)) from 1 by Associativity
  3. a + ((b + c) + d) from 2 by Associativity
  4. a + (d + (b + c)) from 3 by Commutativity
  5. (a + d) + (b + c) from 4 by Associativity

Let me know what you think!

2

u/RingularCirc Math hobbyist 6d ago

The problem is that commutativity and associativity are not defined recursively in terms of expressions, but rather are defined in terms of integers. So, it's unclear what to do!

Erm, what? Where exactly are get to be "defined" recursively in terms of expressions at all? I haven't seen anything like that. There are two things every first-order theory with equality has that do away with anything like that, whatever it should even mean.


I. First is, for example there's the axiom of commutativity for our structure, with all necessary quantifiers:

∀x. ∀y. x + y = y + x.

And there's a rule, be it derived or not, of deducing ϕ[t] from ∀x. ϕ[x] where x is free in ϕ[x], for any term t. This way we can deduce

t + u = u + t

for any terms t, u, no trace of recursion needed.


II. Second, there's an axiom schema of substitution for equality:

∀x. ∀y. x = y ⟶ ϕ[x] ⟶ ϕ[y]

for every formula ϕ[z] with a free variable z. This allows us to take

t = u

for any terms t, u and derive

T[t] = T[u]

from it for any term T[z]: first we use a substitution axiom for ϕ[z] ≡ T[t] = T[z], getting us

t = u ⟶ T[t] = T[t] ⟶ T[t] = T[u],

then we use an instance of reflexivity T[t] = T[t] (deduced from the axiom of reflexivity ∀x. x = x by ∀-substitution similar to part I) and our hypothesis t = u to get T[t] = T[u] by wrangling required axioms of implication (which greatly differ book by book).


All in all we thus have that we can replace subterms with equal subterms (II) and replace any free variable from an universally-quantified axiom like associativity, commutativity etc. everywhere with any term. Thus we can state such axioms using just object variables. Recursion and induction are only needed for defining terms (expressions), formulas (propositions) and ways of low-level logical manipulation of those. This here is already on a level of object theory, no need to reiterate any recursive construction.

Some logic courses even have shortcut rules of inference like t = u ⟶ T[t] = T[u] and such, but in reality that's just syntactic sugar for using equality axioms (substitution schema and reflexivity) and ∀-specification.

2

u/dld2517 New User 5d ago

Great answer here. I love how you discussed each axiom.

1

u/FlubberKitty New User 6d ago

I'm just talking about how Lang lays out Commutativity and Associativity in Basic Mathematics.

1

u/RingularCirc Math hobbyist 6d ago

I mean, if he talks like "for any two integers x, y, commutativity holds, namely x + y = y + x", that's formalized precisely via ∀x. ∀y. x + y = y + x and we get equalities for complicated expressions just like in formal first-order theory, no recursion needed, via a corresponding informal argument. (Even simpler: as each integer-valued expression evaluates to an integer, it should be usable in place of a concrete integer constant.)

1

u/dld2517 New User 5d ago edited 5d ago

Let’s get back to basics here. Associativity says order doesn’t matter. Commutivity says we can use groups. Another way of saying it is this: in the additive (binary) operation, the values can freely associate. In the additive (binary) operation, the values can be grouped in any order and the sum can function in any direction with parenthesis.

1

u/elp1987 New User 6d ago edited 6d ago

You only need associativity and commutativity. No additive inverse involved.

The goal is to manipulate the left hand side to be equal to the right hand side. It's doable. 

ETA: 

HINT: Drop the parenthesis in (c + d), and it should be obvious what the next steps should be:

(a + b) + (c + d) = (a + b) + c + d

1

u/Such-Safety2498 New User 6d ago

The biggest problem is you started with what you wanted to prove.
You assumed LS ( left side) = RS (right side)
Then you manipulated until you got
LS=RS
That is not a proof
You need to start with LS and change it into the RS. That tells you when you are done proving.
RS implies (=>)Something (S1 meaning statement 1 )based on a reason.
Then
S1=>S2
S2=>S3
…
…
Sn=>RS

QED

1

u/mH48124 New User 6d ago

これは数学じゃ無く、問題文の意味を理解できるか?と言う言語理解の問題だね。

1

u/Closed_Circuit_0 New User 6d ago

There are no set standards. It is entirely possible to submit a paper to a journal where you give some mathematical result and prove it, and a reviewer asks you to include more of the intermediate steps in the proof.

The rule of thumb, which is subjective hence difficult to use, seems to be: "Prove enough that the intended audience can follow it or can ascertain your understanding, whichever is the goal." If you are writing a paper to publish, you want your audience to be able to follow. If you are submitting an assignment, you want the reader to be able to ascertain your understanding to give you credit.

BTW, in Line 1, you used commutativity, not associativity: you swapped d and (b+c):

Line 1: a + [(b + c) + d] = a + [d + (b + c)] 

1

u/gondolin_star New User 6d ago

These problems aren't about reaching the solution as quickly as possible, they're just drills forcing you to use the definitions as stated. Your proof cuts a lot of corners so you're robbing yourself of the benefits of the drill. 

For example, you write the expression (a + b + c + d) on line 1, which is already something different from (a + b) + (c + d). There's multiple applications of associativity required to even get to line 1.

Secondly, when manipulating both sides of an equation like this, you have to be extremely careful that all of your operations are invertible, so it's generally a more error-prone method. 

Consider instead something closer to:    (a + b) + (c + d) = = a + ( b + (c + d)) = // assoc on a, b, (c+d)  = a + ( (b + c) + d) = // assoc on b, c, d = a + ( d + (b + c)) = // comm on (b+c), d = (a + d) + (b + c)  // assoc on a, d, (b+c) 

This solution cleanly uses one property per transformation and is careful to be explicit about the arguments. Only once you've done this work can you freely start writing expressions like (a + b + c + d) since you now know they're well defined.