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>Y
if and only ifY<X
. So it is indeed the case thatB
impliesA
andA
impliesB
. A better example would perhaps be:Here
A
would implyB
, i.e.A
would be sufficient forB
to hold. The other way would not hold:B
does not implyA
(since you could haveX=10
andY=9
in which case onlyB
would hold). This means thatA
is 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, ifQ
does 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
,Y
andZ
are 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,
a
andb
, we can derivea>b
if and only ifa>b
in fact holds.If we would only have
then the set of statements would not be complete since there would be true statements about
Z
which 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.