Problem 4-I
Part of 1998 VJIMC
Problems(2)
quine in Pascal (VJIMC 1998 1.4-I)
Source:
8/1/2021
Prove that there exists a program in standard Pascal which prints out its own ASCII code. No disk operations are permitted.
Pascal
algorithm determining truth of statement (VJIMC 1998 2.4-I)
Source:
8/1/2021
Let us consider a first-order language with a ternary predicate . Hence (well-formed) formulas of are built of symbols for variables, logical connectives, quantifiers, brackets, and the predicate symbol .
is an example of such a formula. Recall that a formula is closed iff each variable symbol occurs within the scope of a quantifier. Show that there exists an algorithm which decides whether or not a given closed formula of is true for the set of natural numbers () where is interpreted as .
algorithm