What is the Implication of a Formula in Propositional Calculus?

  • MHB
  • Thread starter solakis1
  • Start date
  • Tags
    Calculus
In summary, propositional calculus is a type of mathematical logic that uses symbols and rules to determine the validity of logical arguments. Its basic components include propositions, logical connectives, and inference rules. It is used in computer science to create logical reasoning algorithms and has applications in artificial intelligence, natural language processing, and automated theorem proving. However, it has limitations in handling quantification and natural language ambiguity. Some real-world applications include cryptography, circuit design, database query optimization, and legal reasoning.
  • #1
solakis1
422
0
Given : \(\displaystyle p\wedge\neg (q\vee r)\) then prove whether this formula implies:!) \(\displaystyle (p\wedge\neg q)\vee (p\wedge\neg r)\)

OR

2) \(\displaystyle (p\wedge\neg q)\wedge (p\wedge\neg r)\)
 
Mathematics news on Phys.org
  • #2
\(\displaystyle p\wedge\neg (q\vee r)\)
=\(\displaystyle p\wedge(\neg q\wedge\neg r)\)
=\(\displaystyle (p\wedge\neg q)\wedge (p\wedge\neg r)\)

So, it implies 2)
 
  • #3
Monoxdifly said:
\(\displaystyle p\wedge\neg (q\vee r)\)
=\(\displaystyle p\wedge(\neg q\wedge\neg r)\)
=\(\displaystyle (p\wedge\neg q)\wedge (p\wedge\neg r)\)

So, it implies 2)

Sorry,but i am trying to find out how you got \(\displaystyle (p\wedge\neg q)\wedge (p\wedge\neg r)\) from

\(\displaystyle p\wedge(\neg q\wedge\neg r)\)
 
  • #4
solakis said:
Sorry,but i am trying to find out how you got \(\displaystyle (p\wedge\neg q)\wedge (p\wedge\neg r)\) from

\(\displaystyle p\wedge(\neg q\wedge\neg r)\)
And ($\wedge$) is distributive over itself since it is associative, commutative and idempotent: https://proofwiki.org/wiki/Associative_Commutative_Idempotent_Operation_is_Distributive_over_Itself.
 
  • #5
Olinguito said:
And ($\wedge$) is distributive over itself since it is associative, commutative and idempotent: https://proofwiki.org/wiki/Associative_Commutative_Idempotent_Operation_is_Distributive_over_Itself.
If the system is associative ,then

(A*B)*C =A*(B*C)...(1) ,Note i use * instead the circle,where A,B,C are elements of the structure

And if we put :

A=a
B=b
C=(a*c), then by using (1) we have

(a*b)*(a*c)= a*[b*(a*c)]

Now where wiki gets : (a*b)*(a*c)=a*(b*a)*c ??
 
  • #6
solakis said:
(a*b)*(a*c)= a*[b*(a*c)]

Now where wiki gets : (a*b)*(a*c)=a*(b*a)*c ??
Aren’t the expressions in red equal?
 
  • #7
Olinguito said:
Aren’t the expressions in red equal?

By using associativity you can get them equal.

But i am asking ,how wiki gets, a*(b*a)*c from (a*b)*(a*c) by ‹using associativity

Parenthesis are very important in this kind of proof otherwise a lot of wrong proofs can be given

Look at the following proof:

(a*b)*(a*c)= (a*a)*b*c=............By commutativity

=a*b*c.................By indepondency
 
  • #8
solakis said:
By using associativity you can get them equal.

But i am asking ,how wiki gets, a*(b*a)*c from (a*b)*(a*c) by ‹using associativity

Parenthesis are very important in this kind of proof otherwise a lot of wrong proofs can be given

Look at the following proof:

(a*b)*(a*c)= (a*a)*b*c=............By commutativity

=a*b*c.................By indepondency

If we do not have associativity, parentheses are indeed very important.
If we do have associativity, parentheses are redundant, and often left out.
In this case we have associativity, don't we?
 
  • #9
I like Serena said:
If we do not have associativity, parentheses are indeed very important.
If we do have associativity, parentheses are redundant, and often left out.
In this case we have associativity, don't we?

Can you give an example of a system with a binary opperation where by using associativity you can prove that parenthesis are redundant
 
  • #10
solakis said:
Can you give an example of a system with a binary opperation where by using associativity you can prove that parenthesis are redundant
Use induction with a general expression like $a_1\circ a_2\circ\cdots\circ a_n$.

Obviously parentheses are redundant when $n=1$ or $n=2$. By the definition of associativity, they are redundant for $n=3$.

Suppose they are redundant for some $n$ and all $r$ with $3\leqslant r\leqslant n$. Consider the expression $a_1\circ\cdots\circ a_n\circ a_{n+1}$. You can have either
$$\left(a_1\circ\cdots\circ a_n\right)\circ a_{n+1}$$
or
$$\left(a_1\circ\cdots\circ a_i\right)\circ\left(a_{i+1}\circ\cdots\circ a_n\circ a_{n+1}\right)$$
(where $1\leqslant i\leqslant n-1$). In either case, the inductive hypothesis applies to all the expressions within parentheses; hence, by induction, parentheses are redundant.

So when you have an associative operation, it doesn’t matter how long the string is: you get the same answer no matter how you bracket it up.
 
Last edited:
  • #11
Monoxdifly said:
\(\displaystyle p\wedge\neg (q\vee r)\)
=\(\displaystyle p\wedge(\neg q\wedge\neg r)\)
=\(\displaystyle (p\wedge\neg q)\wedge (p\wedge\neg r)\)

So, it implies 2)
The following truth table indicates that it implies both (1) and (2)
pqr(p&~(qr))((p&~q)(p&~r))
TTTTFFTTTTTFFTFTFFT
TTFTFFTTFTTFFTTTTTF
TFTTFFFTTTTTTFTTFFT
TFFTTTFFFTTTTFTTTTF
FTTFFFTTTTFFFTFFFFT
FTFFFFTTFTFFFTFFFTF
FFTFFFFTTTFFTFFFFFT
 

Related to What is the Implication of a Formula in Propositional Calculus?

What is propositional calculus?

Propositional calculus is a type of mathematical logic that deals with the relationships between propositions or statements. It is a formal system that uses symbols and rules to determine the validity of logical arguments.

What are the basic components of propositional calculus?

The basic components of propositional calculus include propositions (statements that can be either true or false), logical connectives (such as "and", "or", and "not"), and inference rules (used to derive new propositions from existing ones).

How is propositional calculus used in computer science?

Propositional calculus is used in computer science to create logical reasoning algorithms that can be implemented in computer programs. It is also used in artificial intelligence, natural language processing, and automated theorem proving.

What are the limitations of propositional calculus?

One limitation of propositional calculus is that it cannot handle the concept of quantification, which is necessary for dealing with statements involving "all" or "some" objects. It also does not account for the ambiguity or context of natural language.

What are some real-world applications of propositional calculus?

Propositional calculus has various real-world applications, such as in cryptography, circuit design, and database query optimization. It is also used in legal reasoning and philosophy to analyze arguments and determine their validity.

Similar threads

Replies
1
Views
736
  • General Math
Replies
4
Views
2K
  • Calculus and Beyond Homework Help
Replies
2
Views
877
  • General Math
Replies
1
Views
1K
  • Engineering and Comp Sci Homework Help
Replies
1
Views
1K
Replies
6
Views
369
  • Calculus and Beyond Homework Help
Replies
8
Views
2K
  • General Math
Replies
2
Views
1K
Replies
1
Views
846
  • Set Theory, Logic, Probability, Statistics
Replies
6
Views
2K
Back
Top