Extraction of a maximal common sub-formula of predicate formulas for the solving of some artificial intelligence problems
Vestnik Sankt-Peterburgskogo universiteta. Prikladnaâ matematika, informatika, processy upravleniâ, Tome 13 (2017) no. 3, pp. 250-263 Cet article a éte moissonné depuis la source Math-Net.Ru

Voir la notice de l'article

If an investigated object in an Artificial Intelligence problem is regarded as a set of its elements and is characterized by properties of these elements and relations between them, then a predicate calculus language is an adequate one for the description of an object and classes of objects. Such a way formalized problems are NP-complete or NP-hard. Example of such an NP-hard problem is the problem of the analysis of a complex object presented as a set of its elements and described by a set of atomic formulas with the predicates setting properties of these elements and relation between them. To solve such a problem, a problem of extraction of a maximal common up to the names of variables sub-formula of two elementary conjunctions of atomic predicate formulas is under consideration in the paper. Extraction of these sub-formulas allows us to reduce a recognition problem to a series of analogous problems with the less input data length by means of construction a level description of classes, which essentially decreases an exponent in the exponential upper bound for a number of solution algorithm steps for NP-hard problem of checking whether an object belongs to this class. An algorithm of extraction of a maximal common up to the names of variables sub-formula of two elementary conjunctions of atomic predicate formulas is presented in the paper. Bounds on number of the algorithm run number of steps are proved. The time of its implementation in dependence on the input data structure is analyzed. The analysis of the number of algorithm steps shows that the proposed algorithm may be successfully implemented in order to decrease computational complexity of many Artificial Intelligence problems which are formalized by means of predicate calculus. The results of numerical experiments show the influence of input data structure on the algorithm run time. For example, the increasing of amount of predicate arguments involves essential decreasing of the algorithm run time, which is a consequence of the recursion depth decreasing. The number of different predicate symbols occurred in the formula notation also essentially influences on the algorithm run time. At larger input data the effectiveness of the offered algorithm, cutting obviously unsuccessful “brunches”, is especially noticeable. The strong impact on the algorithm run time is exerted by distribution of variables as arguments of predicates. Results show its considerable decreasing at a nonuniform distribution of variables. During the described algorithm run a problem of checking the coincidence up to the names of variables (isomorphism) of two elementary conjunctions appears. This problem has the greatest computational complexity among the other problems arising on other steps of the algorithm. A polynomial algorithm of checking whether two elementary conjunctions of atomic predicate formulas coincide up to the names of variables (are isomorphic) is offered. The algorithm is not a precise one. The correctness of this algorithm implementation exceeds 99,5%. It is proved that if the algorithm gives a negative answer then the formulas are not isomorphic. If the algorithm gives a positive answer then the results of numerical experiments show that 99,5% pairs of formulas are isomorphic. Refs 14. Tables 2.
Keywords: Artificial Intelligence, predicate calculus, algorithmic complexity, isomorphism of predicate formulas.
@article{VSPUI_2017_13_3_a2,
     author = {T. M. Kosovskaya and D. A. Petrov},
     title = {Extraction of a maximal common sub-formula of predicate formulas for the solving of some artificial intelligence problems},
     journal = {Vestnik Sankt-Peterburgskogo universiteta. Prikladna\^a matematika, informatika, processy upravleni\^a},
     pages = {250--263},
     year = {2017},
     volume = {13},
     number = {3},
     language = {ru},
     url = {http://geodesic.mathdoc.fr/item/VSPUI_2017_13_3_a2/}
}
TY  - JOUR
AU  - T. M. Kosovskaya
AU  - D. A. Petrov
TI  - Extraction of a maximal common sub-formula of predicate formulas for the solving of some artificial intelligence problems
JO  - Vestnik Sankt-Peterburgskogo universiteta. Prikladnaâ matematika, informatika, processy upravleniâ
PY  - 2017
SP  - 250
EP  - 263
VL  - 13
IS  - 3
UR  - http://geodesic.mathdoc.fr/item/VSPUI_2017_13_3_a2/
LA  - ru
ID  - VSPUI_2017_13_3_a2
ER  - 
%0 Journal Article
%A T. M. Kosovskaya
%A D. A. Petrov
%T Extraction of a maximal common sub-formula of predicate formulas for the solving of some artificial intelligence problems
%J Vestnik Sankt-Peterburgskogo universiteta. Prikladnaâ matematika, informatika, processy upravleniâ
%D 2017
%P 250-263
%V 13
%N 3
%U http://geodesic.mathdoc.fr/item/VSPUI_2017_13_3_a2/
%G ru
%F VSPUI_2017_13_3_a2
T. M. Kosovskaya; D. A. Petrov. Extraction of a maximal common sub-formula of predicate formulas for the solving of some artificial intelligence problems. Vestnik Sankt-Peterburgskogo universiteta. Prikladnaâ matematika, informatika, processy upravleniâ, Tome 13 (2017) no. 3, pp. 250-263. http://geodesic.mathdoc.fr/item/VSPUI_2017_13_3_a2/

[1] Nilson Nils J., Problem-solving methods in artificial intelligence, McGraw-Hill Book Company Press, New York, 1971, 280 pp. | MR

[2] Garey M. R., Johnson D. S., Computers and Intractability: A Guide to the Theory of NP-Completeness, Freeman Press, San Francisco, 1979, 340 pp. | MR | Zbl

[3] Kosovskaya T. M., “Some artificial intelligence problems permitting formalization by means of predicate calculus language and upper bounds of their solution steps”, SPIIRAS Proceedings, 2010, no. 14, 58–75 (In Russian)

[4] Kossovskaya T. M., “Partial deduction of predicate formula as an instrument for recognition of an object with incomplete description”, Vestnik of Saint-Petersburg University. Series 10. Applied Mathematics. Computer Science. Control Processes, 2009, no. 3, 45–55 (In Russian)

[5] Zhuravlev Yu. I., “Recognition algorithms with representative sets (logical algorithms)”, Computational Mathematics and Mathematical Physics, 42:9 (2002), 1425–1435 (In Russian) | Zbl

[6] Kossovskaya T. M., “Proofs of the number of steps bounds for solving of some pattern recognition problems with logical description”, Vestnik of Saint Petersburg University. Series 1. Mathematics. Mechanics. Astronomy, 2007, no. 4, 82–90 (In Russian)

[7] Russel S. J., Norvig P., Artificial Intelligence. A Modern Approach, Pearson Education, Inc., 2003, 1412 pp.

[8] Kossovskaya T. M., “Level descriptions of classes for decreasing step number of pattern recognition problem solving described by predicate calculus formulas”, Vestnik of Saint Petersburg University. Series 10. Applied Mathematics. Computer Science. Control Processes, 2008, no. 1, 64–72 (In Russian)

[9] Kosovskaya T. M., “An approach to the construction of a level description of classes by means of a predicate calculus language”, SPIIRAS Proceedings, 2014, no. 3(34), 204–217 (In Russian) | DOI

[10] Kleene S. C., Mathematical logic, Wiley, Dover Publ., New York, 1967, 398 pp. | MR | Zbl

[11] Kossovskaya T. M., “Partial deduction of predicate formula as an instrument for recognition of an object with incomplete description”, Vestnik of Saint Petersburg University. Series 10. Applied Mathematics. Computer Science. Control Processes, 2009, no. 1, 74–84 (In Russian)

[12] Rybalov A. N., “A Generic relation on Recursively Enumerable Sets”, Algebra and Logic, 55:5 (2016), 587–596 (In Russian) | Zbl

[13] Kosovskaya T., “Distance between objects described by predicate formulas”, Mathematics of Distances and Applications, Information Science and Computing, 25, eds. M. Deza, M. Petitjean, K. Markov, ITHEA Publ., Sofia, Bulgaria, 2012, 153–159

[14] Kosovskaya T. M., “Self-training network with the nells implementing predicate formulas”, SPIIRAS Proceedings, 2015, no. 6(43), 94–113 (In Russian) | DOI