I am trying to learn proof. I came across these 4 terms. I am trying to relate all.
A: X>Y B: Y<X
Necessary Condition
B implies A
Sufficient Condition
A implies B
And
A = { set of statements} Q= a statement
Soundness
if A derives Q then A is a logical consequence of Q
Completeness
if A is a logical consequence of Q then A derives Q.
What is relation between all? Help is appreciated.
Necessary / sufficient doesn't have much to do with soundness and completeness so I'll explain the two concepts separately.
Necessary / sufficient:
In your example, the two statements are equivalent:
X>Yif and only ifY<X. So it is indeed the case thatBimpliesAandAimpliesB. A better example would perhaps be:Here
Awould implyB, i.e.Awould be sufficient forBto hold. The other way would not hold:Bdoes not implyA(since you could haveX=10andY=9in which case onlyBwould hold). This means thatAis not necessary forB.Completeness/soundness:
This took a while for me to wrap my head around when I first encountered it. But it's really simple!
Suppose you have the following:
Now, soundsess says that we can't reach crazyness by sticking to the statements of
A. More formally, ifQdoes not hold, it can't be derived fromA. Or, only valid things can be derived fromA.It's easy to create an unsound set of statements. Take for instance
They contradict each other, so we can for instance derive
X>X(which is false) by using proof by contradiction.Completeness says the dual: All valid things can be derived from
A. Suppose thatX,YandZare the only variables in the world, and>is the only relation in the world. Then a set of statements such asis complete, since for any two given variables,
aandb, we can derivea>bif and only ifa>bin fact holds.If we would only have
then the set of statements would not be complete since there would be true statements about
Zwhich we could say nothing about.In a nutshell: Soundness says that you can't come to crazy conclusions, and completeness says that you can reach all sensible conclusions.