The Wayback Machine - https://web.archive.org/web/20240725081113/https://www.geeksforgeeks.org/propositional-logic-reduction/
Open In App

Propositional Logic Reduction

Last Updated : 28 Feb, 2022
Comments
Improve
Suggest changes
Like Article
Like
Save
Share
Report

It is possible to reduce first-order inference to propositional inference once rules for inferring nonquantified sentences from quantified sentences are established. The first concept is that, just as one instantiation can replace an existentially quantified statement, the set of all potential instantiations can replace a universally quantified sentence. Consider the following scenario: our knowledge base only contains the lines 

\forall x \operatorname{King}(x) \wedge \operatorname{Greed} y(x) \Rightarrow \operatorname{Evil}(x)

\operatorname{King}(J o h n)

\operatorname{Greedy}(J o h n)

\operatorname{Brother}(Richard, J o h n)

Then, utilizing all feasible ground-term substitutions from the knowledge base vocabulary—in this case, \{x / J o h n\}   and \{x / \text { Richard }\}   — we apply UI to the first phrase. We get \begin{aligned} &\operatorname{King}(J o h n) \wedge \operatorname{Greedy}(J o h n) \Rightarrow \operatorname{Evil}(J o h n) \\ &\operatorname{King}(\text { Richard }) \wedge \text { Greedy }(\text { Richard }) \Rightarrow \text { Evil }(\text { Richard }) \end{aligned}

We don’t use the universally quantified sentence. If the ground atomic sentences — \operatorname{King}(J o h n), \text { Greedy }(J o h n)  , and so on—are viewed as proposition symbols, the knowledge base is now basically propositional. As a result, any of the comprehensive propositional procedures can be used to arrive at conclusions like \operatorname{Evil}(J o h n)  .

The propositionalization technique can be applied to any first-order knowledge base or query, preserving entailment. As a result, we have a comprehensive entailment decision method… or do we? There’s a catch: when a function symbol is included in the knowledge base, the number of possible ground-term substitutions is limitless! If the Father   symbol is mentioned in the knowledge base, for example, an unlimited number of nested terms can be created, such as \text { Father (Father (Father (John))) }   With an infinite number of sentences, our propositional algorithms will have problems.

Fortunately, Jacques Herbrand (1930) proved that if a statement is implied by the original, first-order knowledge base, then it can be proved using only a finite portion of the propositional knowledge base. We can discover the subset by producing all the instantiations with constant symbols (\text{Richard and John}  ), then all terms of depth 1 \text{(Father (Richard ) and Father (John ))}  , then all terms of depth 2, and so on, until we can produce a propositional proof of the entailed sentence.

We’ve sketched a full approach to first-order inference via propositionalization, which can prove any entailed phrase. Given the vast number of conceivable models, this is a significant accomplishment. However, we will not know whether the sentence is entailed until the proof is completed! What happens if the sentence isn’t followed by a clause? Is it possible to determine this? It turns out that we can’t for first-order logic. Our proving procedure can go on indefinitely, generating more and more deeply nested words, but we won’t know if it’s locked in an endless loop or if the proof is about to spring out. The halting problem for Turing machines is very similar to this. Alonzo Church (1936) and Alan Turing (1936) both demonstrated the inevitability of this situation in separate ways. For first-order logic, the question of entailment is semidecidable, meaning that there are algorithms that answer yes to every entailed statement but none that say no to every nonentailed sentence.



Similar Reads

Propositional Logic based Agent
Prerequisite: Wumpus World in Artificial Intelligence In this article, we'll use our understanding to make wumpus world agents that use propositional logic. The first stage is to enable the agent to deduce the state of the world from its percept history to the greatest extent possible. This necessitates the creation of a thorough logical model of t
8 min read
Propositional Logic Hybrid Agent and Logical State
Prerequisite: Wumpus World in Artificial Intelligence To create a hybrid agent for the wumpus world, the capacity to deduce various aspects of the state of the world may be integrated rather simply with the condition–action rules and problem-solving algorithms. The agent program keeps a knowledge base and a current strategy up to date. The atempora
5 min read
Propositional Logic in Artificial Intelligence
Propositional logic, also known as propositional calculus or sentential logic, forms the foundation of logical reasoning in artificial intelligence (AI). It is a branch of logic that deals with propositions, which can either be true or false. In AI, propositional logic is essential for knowledge representation, reasoning, and decision-making proces
8 min read
Difference between Propositional and First-Order Logic and How are they used in Knowledge Representation?
In artificial intelligence and computational logic, two fundamental types of logic are widely used for knowledge representation: propositional logic and first-order logic. These logical systems provide the foundation for constructing and manipulating knowledge in a formal and precise manner. This article explores the key differences between proposi
7 min read
Proofs and Inferences in Proving Propositional Theorem
This article discusses how to use inference rules to create proof—a series of conclusions that leads to the desired result. The most well-known rule is known as Modus Ponens (Latin for affirming mode) and is expressed as [Tex]\frac{\alpha \Rightarrow \beta, \quad \alpha}{\beta}[/Tex] Inferences in Proving Propositional Theorem The notation signifie
4 min read
Swiss Roll Reduction with LLE in Scikit Learn
This article discusses the concept of dimensionality reduction, specifically using the Swiss Roll dataset and the Locally Linear Embedding (LLE) algorithm. The article discusses the process involved in performing Swiss Roll reduction with LLE, including the steps of loading and preprocessing the data, fitting the LLE model, and visualizing the redu
9 min read
Model with Reduction Methods
Machine learning models are now more powerful and sophisticated than ever before, able to handle challenging problems and enormous datasets. But with great power also comes huge complexity, and occasionally these models grow too complicated to be useful for implementation in the real world. Methods of model reduction are useful in this situation. T
12 min read
Isomap | A Non-linear Dimensionality Reduction Technique
A nonlinear dimensionality reduction method used in data analysis and machine learning is called isomap, short for isometric mapping. Isomap was developed to maintain the inherent geometry of high-dimensional data as a substitute for conventional techniques like Principal Component Analysis (PCA). Isomap creates a low-dimensional representation, us
8 min read
Introduction to Dimensionality Reduction
Machine Learning: As discussed in this article, machine learning is nothing but a field of study which allows computers to "learn" like humans without any need of explicit programming. What is Predictive Modeling: Predictive modeling is a probabilistic process that allows us to forecast outcomes, on the basis of some predictors. These predictors ar
7 min read
Dimensionality Reduction with PCA: Selecting the Largest Eigenvalues and Eigenvectors
In data analysis, particularly in multivariate statistics and machine learning, the concepts of eigenvalues and eigenvectors of the covariance matrix play a crucial role. These mathematical constructs are fundamental in techniques such as Principal Component Analysis (PCA), which is widely used for dimensionality reduction and feature extraction. T
7 min read
three90RightbarBannerImg