Manuscript Offprint
arXiv:2609.11576Medvedev Logic is Not Decidable. It is π01 -complete. Who Would Have Guessed?
Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.
MEDVEDEV LOGIC IS NOT DECIDABLE. IT IS -COMPLETE. WHO WOULD HAVE GUESSED?
PAWEL PAWLOWSKI
ABSTRACT. This project began as an attempt to prove that Medvedev logic is decidable with the help of generative AI systems. The author (as well as the generative AI systems, or at least they claim to be since I have asked them) was surprised by its eventual conclusion. We prove that Medvedev logic ML, the intermediate logic of finite problems, is -complete under computable many-one reductions. Consequently, ML is not recursively enumerable, a fortiori undecidable, and admits no recursively enumerable sound and complete proof calculus.
The proof connects the periodic domino problem with intuitionistic formulas through a shared intermediate structure that we call a Wang–Medvedev pair. Such a pair consists of a finite partially ordered set of roles together with demands. Demands define the interaction between roles. A realization labels nonempty subsets of a finite set with these roles, respecting the order and satisfying the demands. We associate a pair with each finite Wang system and show that it has a realization iff the system tiles a finite torus. We then construct an intuitionistic formula that fails on some finite Medvedev frame iff the same pair is realizable. Realizability thus provides the link between periodic tilings and the countermodels.
(1.1)
Here frame validity means truth at every world under every persistent valuation. Thus ML is the intermediate logic of all finite Medvedev frames.
The decision problem for ML has a long pedigree. Levin established its disjunction property [10], and Maksimova, Skvortsov, and Shehtman proved that it is not finitely axiomatizable [11]. However, whether it is decidable, or admits a recursively enumerable axiomatization, remained open [2, 3].
A distinctly Polish thread runs through this history. The notion of structural completeness goes back to Pogorzelski [13]. Prucnal proved that ML is structurally complete [15] and subsequently settled Friedman's Problem 41 by proving the existence of a greatest structurally complete intermediate logic with the disjunction property [16]. Szatkowski identified fragments on which ML and intuitionistic logic coincide, including the disjunction-free fragment [18]. Łazarz later characterized ML using Kubiński's frames [9].
In this paper we prove that ML is -complete under computable many-one reductions (Theorem 6.3). Consequently, it is not recursively enumerable, a fortiori undecidable, and
Date: Version 8, 9 September 2026.
Key words and phrases. Medvedev logic, intermediate logics, undecidability, periodic domino problem, Wang tiles.
Every finite nonempty carrier of size n gives an isomorphic copy of . We recall the forcing clauses in Section 5.
For a modern presentation of the Levin and Prucnal theorems, see [14]. Recent work also includes the logics of individual Medvedev frames [3] and a finitely axiomatized logic contained in ML with the disjunction property [2].
PAWEL PAWLOWSKI
admits no recursively enumerable sound and complete proof calculus. The upper bound follows by enumerating finite countermodels. The lower bound turns on a translation from finite Wang systems to formulas, which we describe below. There is also a connection with the logic of questions: ML coincides with the schematic fragment of inquisitive logic [4], consisting of the formulas whose substitution instances are all inquisitively valid.
We fix a finite Wang system . It specifies tile types and the allowed horizontal and vertical neighbours. The question is whether these tiles cover some finite rectangular torus, with the dimensions and the assignment of tiles left to be found. From , we define a finite poset of roles and a list of demands, . A realization assigns roles to some nonempty subsets of a finite set , subject to containment restrictions. Each demand requires a labelled subset of the union of two input sets, called a response. Demands are unordered pairs of roles, so their requirements are unchanged when the inputs are exchanged.
Suppose first that a realization is given. Responses generate a column cycle and a row cycle, whose lengths give the dimensions of the torus. A response to each column–row pair selects the tile at that position. At this stage we still need to prove that the matching rules hold. We take adjacent cells and suppose their tile types form a forbidden pair. Further responses give sets with the corresponding Expected and Candidate roles. Because the tile pair is forbidden, the code contains a demand between these roles. Their required response would violate the containment restrictions, giving a contradiction. This proves compatibility in both directions (Section 3).
For the converse, we fix a torus tiling and construct the subsets that realize the code. Each set is described by the symbols it omits from copies of a common finite set. Shared omissions record the column and row comparisons. The construction must supply a response to every demanded pair, including pairs associated with unrelated positions. Section 4 gives the lists of omissions and checks these requirements.
It remains to express realizability by a formula. We introduce one variable for each role, intended to say that no subset of the current world has that role. Using these variables, we construct so that a realization yields a refutation on a finite Medvedev frame, and any such refutation yields a realization. Hence tiles a finite torus iff . The effective periodic domino theorem of Gurevich and Koryakov [6], in the form given by Jeandel [7], supplies a Wang system that tiles a finite torus iff a given machine halts. Applying our translation to that system gives a formula in ML exactly when the machine does not halt, as required.
The paper is organized as follows. Section 2 fixes the code and the notion of realization. Its main product is the response-role table, which settles once and for all which roles a response can have. Sections 3 and 4 prove the two directions of the equivalence between realizability and torus tilability. The first is a short extraction argument. The second, the construction, is where most of the bookkeeping lives. Section 5 homes in on the link between realizability and formulas of Medvedev logic: it translates realizability into a formula and proves the recognition theorem on a fixed carrier. Section 6 then assembles the complexity result in a few lines. Proofs of the opening lemmas and of the response-role table are deferred to Appendix A.
2. THE WANG SYSTEM AND ITS WANG-MEDVEDEV CODE
We begin with the notation used throughout the paper. We write , for the nonempty subsets of , and for disjoint union. For a map , its direct and inverse images are and , for and .
A poset is a set with a reflexive, antisymmetric, transitive relation ≤. The principal upset of a is ↑a = {b : a ≤ b}. An upset is closed upwards under ≤. A least point lies below every point, and a maximal point has no strictly greater point.
Our propositional language has countably infinitely many variables and the connectives . We write for and for . Finite conjunctions and disjunctions are iterated binary ones, with empty cases and , respectively.
For , we use with addition modulo . So the successor of is 0, and period one is allowed. Superscripts and subscripts col, row indicate the horizontal and vertical directions. Notation depending on the code, such as role(A), Resp(A, B), and , is introduced with the realization conditions below.
Our encoding assigns abstract roles to some worlds of a finite Medvedev frame , hence to nonempty subsets of K. Intuitively, the role says what a set is used for, such as representing a column or a cell of a particular tile type. Different subsets may have the same role. The role poset specifies which containments are permitted, and its demands specify which response sets must exist.
Definition 2.1 (Finite Wang system). A finite Wang system [19] is a triple , where is a finite nonempty set of tile types, is the horizontal compatibility relation, and is the vertical compatibility relation. Thus means that may occur immediately to the right of , while means that may occur immediately above . Both relations are directed, so the order of matters.
Definition 2.2 (Finite torus tiling). A finite torus tiling of is a map , for some , such that and for every , with both coordinates read cyclically. Thus the last column is adjacent to the first, and the last row is adjacent to the first.
The system D specifies the available tiles and the matching rules. A torus tiling chooses dimensions and an assignment satisfying those rules. We fix an arbitrary D and define its code below. The code depends only on D, so it is fixed before any tiling or realization is chosen.
Definition 2.3 (Wang–Medvedev pair). Fix a finite Wang system . The Wang–Medvedev pair associated with , also called the code of , is , defined as follows.
(1) Points. The poset has three levels: the root , the Mid-points, and the Max-points. Put .
The set consists of the four roles , the tags , and a private key for every . Thus .
The set consists of the horizontal generator roles Column, ColumnSep and mismatch roles , , their vertical analogues Row, RowSep and , , and the step roles ColStep, RowStep. For every , it also contains the cell role , the horizontal projections , , the vertical projections , , and the expected-neighbour roles , . Finally, for every , it contains a provider role . All names introduced above denote pairwise distinct points, and .
(2) Order. The root r is the least point. Distinct Mid-points are incomparable, as are distinct Max-points. The remaining strict comparabilities are exactly those given by the following table: the right-hand entry lists all Max-points lying above the Mid-point or Mid-points on the left.
PAWEL PAWLOWSKI
| Mid-role(s) | Max-points above |
|---|---|
| Column, ColumnSep | {samecol, nextcol, tagcol} |
| NotNextcol | {nextcol} |
| NotSamecol | {samecol} |
| Row, RowSep | {samerow, nextrow, tagrow} |
| NotNextrow | {nextrow} |
| NotSamerow | {samerow} |
| Cellt | {samecol, nextcol, samerow, nextrow} |
| Sourceth | {samecol, samerow, κSourceh} |
| Candidateh | {nextcol, samerow, κCandidateh} |
| Sourcev | {samerow, samecol, κSourcev} |
| Candidatev | {nextrow, samecol, κCandidatev} |
| ColStep | {samecol, nextcol, κColStep} |
| RowStep | {samerow, nextrow, κRowStep} |
| Expectedh | {nextcol, samerow, κSourceh, κColStep} |
| Expectedv | {nextrow, samecol, κSourcev, κRowStep} |
| KeyG | {κG} (G ∈ G) |
Here . Every row is nonempty and every Max-point occurs in at least one row. For , write ; thus is exactly the corresponding entry of the table. There are no other strict comparabilities. We call the support of the Mid-role . Two different roles may have the same support. For example, Column and ColumnSep are distinct incomparable points, even though they have the same three Max-points above them.
(3) Demands. The demand set consists of the following unordered pairs of distinct Mid-points. Thus , and exchanging the two inputs does not give a new demand.
(D1) {Column, NotNext }, {ColumnSep, NotSame }, {Row, NotNext }, and {RowSep, NotSame }.
(D2) {Column, Row}.
(D3) For each , , , , and .
(D4) {ColumnSep, KeyColStep} and {RowSep, KeyRowStep}.
(D5) For each , and .
(D6) For each , .
(D7) For each , .
The pairs in (D6) and (D7) are unordered as well. The tile order is recorded by the different Expected and Candidate roles. For example, exchanging the two entries of preserves that demand, whereas exchanging gives , a different pair when .
The seven families are disjoint, and distinct tile indices give distinct pairs. Hence .
From now on, we abbreviate , , , and . In particular, for every Mid-role .
We read the roles in the order in which the extraction proof will use them. First come the column and row generators, then the cells, and finally the comparison roles.
In the following support diagrams, blue boxes are Mid-roles and orange boxes are Max-roles, including the private keys. Every box names an abstract point of . A solid line from a lower box to an upper box means in the role poset. The root lies below every displayed role and is omitted. The diagrams show order relations; the response rules will concern nonempty subsets of a carrier that bear these roles.
Family (D1) generates an alternating cycle of column and separator sets, and an analogous cycle of row and separator sets. The respective numbers of column and row positions will be m and n. These two cycles supply the torus indices and . Figure 1 shows the roles used for this first task.
Horizontal generator
Vertical generator

FIGURE 1. The roles used to generate the two cyclic coordinate systems. Their supports allow the demands in (D1) to produce the required alternating responses.
Once these positions have been chosen, family (D2) requests a cell response to each column-row pair. The response has role for some , and we assign tile type to that position. Figure 2 shows the common support of these cell roles. The tile label belongs to the Mid-role. The four Max-roles above it will be used to compare neighbouring positions.

FIGURE 2. The cell role assigns a tile type to a chosen column-row position. There is one distinct role for each .
Repeated labels name the same point of
The remaining roles form the comparison machinery. Choosing cell responses gives a tile assignment, but nothing yet guarantees that neighbouring tile types satisfy H and V, and checking this is the raison d'être of the roles that follow. For a horizontal edge, the Source retains the left tile type, the ColStep supplies information from the intervening column separator, and the Expected response combines the two. The Candidate retains the tile type chosen in the right cell. We then compare Expected and Candidate. If their tile pair were forbidden, (D6) would require a response that the coordinate containments make impossible.
Figure 3 separates the supports used in this comparison. A provider Key is a Mid-role whose only Max-role is . A set bearing this provider role supplies the private-key points needed to obtain the auxiliary role G from a chosen cell or separator. Families (D3)–(D4) make these requests. We then use (D5) to form the Expected response. The detailed proof below explains both the response roles and the required containments.
For example, the lines from Column and Cell to same end at the same Max-point. Drawing it in separate panels does not create new points. The same convention applies to the private keys.
PAWEL PAWLOWSKI
Source and its provider
Step and its provider


Expected neighbour of the source tile
Candidate and its provider

FIGURE 3. Horizontal comparison roles for tile types . Providers remain Mid-roles; their private keys are Max-roles. For vertical comparison, exchange h with v, column with row, and ColStep with RowStep. Family (D7) then tests forbidden vertical pairs.
Definition 2.4 (Finite realization). A finite realization of consists of a finite nonempty carrier and a partial function role: satisfying the following conditions. A subset is role-bearing when this function is defined on it.
(H0): Base and singleton roles. The whole carrier has role , and every singleton has a Max-role: role() = and role() Max for every .
(H1): Containment and order. (a) For every role-bearing with role() = , and every with , there is a nonempty with role() = . (b) For every two role-bearing sets , if role() = , role() = , and , then .
(H2): Demand responses. For every demand , and every two sets with and , there is a nonempty role-bearing whose role lies outside . Such a set is a response to ; its role is a legal response role for this demand.
In a fixed realization, consider role-bearing sets whose roles form a demand. We choose one response for each unordered input pair and denote it by . By (H2), , and . The notation is used only for demanded pairs and refers to these fixed choices.
For any subset and , we write . Thus is the set of elements of whose singletons have role . The subset may be empty or have no assigned role. The following fact explains how these parts behave inside an input union.
Fact 2.5 (Parts of a union). Let and . If , then . In particular, if , then . If also , this yields .
Proof. Every element of belongs to X or Y and its singleton has role , so it belongs to or . The two consequences follow immediately.
By (H0), every point of has a singleton role. Moreover , since otherwise one set would carry both the root role and a Max-role. Clause (H1)(a) supplies representatives of larger roles inside an assigned set, while (H1)(b) restricts which assigned sets may contain one another. In particular, sets with distinct Mid-roles never contain one another.
Notice that condition (H2) applies to every pair of sets carrying a demanded pair of roles. The response may depend on the chosen sets, and it need only lie in their union. This is all that Section 4 will have to supply. A Mid-role is legal iff it differs from both input roles.
Lemma 2.6 (Properties of realizations). The following statements hold in every realization.
(a) If role(C) = χ for χ ∈ Max, then every k ∈ C satisfies role({k}) = χ.
(b) If role(A) = λ for λ ∈ Mid, then every k ∈ A satisfies role({k}) ∈ Max(λ). Conversely, for every χ ∈ Max(λ), the set A contains at least one element k with role({k}) = χ. Hence the singleton roles occurring in A are exactly the Max-points above λ.
(c) If role(A) = λ, role(B) = γ, and λ ≠ γ, then B ⊆ A. In particular, a set with one Mid-role cannot be contained in a set with a distinct Mid-role.
The proof is given in Appendix A.
Corollary 2.7 (Every role occurs; one role per labelled set). Every has a nonempty representative with role( . Every role-bearing subset of has exactly one role.
Proof. By (H0), role(K) = r. Since , condition (H1)(a) supplies the required nonempty subset of K. Uniqueness of a set's role follows because role is a partial function.
A role may have several representatives, and some nonempty subsets may be unlabelled. Corollary 2.7 guarantees representatives somewhere in K. To serve as a response to a particular pair, a representative must also satisfy the containment and role requirements in (H2).
For instance, if role(A) = Cell_t, then the singleton roles occurring in A are exactly same_col, next_col, same_row, and next_row, and each of these four roles occurs at least once.
These facts let us check response roles using the support table. An input union contains only singleton roles supplied by its two inputs. Moreover, a legal response cannot obtain all its elements from just one input, by Lemma 2.6(c).
Lemma 2.8 (Response test). Let , with and , and let be a response to and , with . Then:
(a) ;
(b)
(c) and .
The proof is given in Appendix A.
Call a Mid-role admissible for a pair if it differs from both input roles, its support is contained in the union of their supports, and its support meets each input support. These are three checks in the finite support table. The response test says that every actual response has an admissible role. Admissibility is a necessary condition on a response, not a sufficient one. It does not per se supply a concrete response set.
We can exchange the two axes in any such calculation.
For a tile , write . The screening procedure gives the following table.
Proposition 2.9 (Forced response-role table). For a demanded input pair, every response has one of the roles in the corresponding row below. The displayed roles are exactly the admissible ones. Their admissibility does not guarantee that each has a witness for every concrete input pair.
Formally, let exchange Column, ColumnSep with Row, RowSep and exchange the superscripts and the subscripts col, row in all other role names, tags and keys (so ColStep with RowStep), while fixing and the cell roles. The support table gives , where . Thus is an order automorphism of , and it preserves all three admissibility checks. This remains true when : admissibility concerns the supports of a pair, irrespective of whether that pair is a demand.
PAWEL PAWLOWSKI
| demand | admissible response roles | |
|---|---|---|
| (M1) | {Column, NotNextcol} | {ColumnSep} |
| (M2) | {ColumnSep, NotSamecol} | {Column} |
| (M3) | {Row, NotNextrow} | {RowSep} |
| (M4) | {RowSep, NotSamerow} | {Row} |
| (M5) | {Column, Row} | {Cellt : t ∈ T} |
| (M6) | {Cellt, KeyGt} | {Gt} |
| (M7) | {ColumnSep, KeyColStep} | {ColStep} |
| (M8) | {RowSep, KeyRowStep} | {RowStep} |
| (M9) | {Sourceh, ColStep} | {NotSamecol, Expectedh} |
| (M10) | {Sourcev, RowStep} | {NotSamerow, Expectedv} |
| (M11) | {Expectedh, Candidateh}, (t, u) ∉ H | {NotNextcol, NotSamerow} |
| (M12) | {Expectedv, Candidatev}, (t, u) ∉ V | {NotNextrow, NotSamecol} |
The proof is given in Appendix A.
The table separates two tasks. It determines the possible roles from the abstract code. The following section uses concrete containments to rule out mismatch responses when the coordinates really are neighbours.
3. FROM A FINITE REALIZATION TO A TORUS TILING
We fix a Wang system and a finite realization of . We will obtain a finite torus tiling of : responses first give column and row cycles, then assign tiles to their intersections. We prove that these tiles satisfy , including across the cyclic boundaries.
We begin with the columns. We fix nonempty auxiliary sets such that and . Take a set with , again by Corollary 2.7, and put , so that by (M1). Then put , which has role Column by (M2). These two responses thus lead from one column set, through a separator, to another.
Since Resp is fixed, this procedure defines a successor function on the finite family of sets with role Column or ColumnSep. Iteration eventually repeats a set. We discard the initial path and retain a cycle , starting at a column set. Here , , and . For every , and . We use to represent column , with the separator leading to column .
Rows are handled in the same way. Fix nonempty with and . Using (M3)-(M4), we obtain a cycle , where , , and . Thus and . We use for row , with the separator leading to row .
The cycles satisfy the following containments. Parts (b) and (d) will be important when comparing neighbouring tiles.
Fact 3.1 (Column and row cycles). For every and , the following hold:
(a) and .
(b) and .
(c) and .
(d) and .
These sets exist by Corollary 2.7. The support table and Lemma 2.6(b) give and . The vertical helpers below exist for the same reason.
Here , whereas is the vertical compatibility relation.
Proof. Parts (a) and (c) follow from the defining properties of Resp, including the returns to and . For (b), and , so Fact 2.5 gives the two containments. Part (d) follows in the same way using , .
From now on both cycles are fixed, and all indices are read cyclically. The position corresponds to the pair . We put . By (M5), for some . This is unique for the chosen , by Corollary 2.7 and the distinctness of the cell roles. We define , obtaining an assignment .

FIGURE 4. The cycles supply the column and row indices. Arrows follow chosen responses, with auxiliary inputs omitted. Each cell is . Its role determines the tile at . All indices are cyclic.
Fact 3.2 (Parts of the cell responses). For every and , , and:
(a) ;
(b) .
Proof. The first containment follows from the definition of Resp. By the support table and Lemma 2.6(b), , so Fact 2.5 gives (a). The same argument gives (b), using .
We now check the horizontal matching rule for this assignment. Consider neighbouring cells , and write , . Suppose, for a contradiction, that . Then (D6) places in the demand set. Our task is to obtain sets with these two roles from the chosen cells and show that their required response cannot exist. The intermediate Source and Step responses will produce the Expected set from the left cell.
For each , we fix a nonempty set such that , called its provider. The support table gives . For every , (H0) assigns a Max-role to , and (H1)(b) gives . The only possible role is therefore . Thus every element of belongs to , so . The whole set has role , while each singleton inside it has role . Consequently, whenever form a demanded pair and , Fact 2.5 gives . This will keep the indicated parts of a response inside its cell or separator input.
We first obtain the Source set by pairing the left cell with the provider specifically for . Condition (D3) makes a demanded pair, so we put . By (M6), . The provider contributes only its private-key role, so Fact 3.2 gives and . The tile index is inherited from the left cell's role.
We next pair the separator with the step provider. By (D4), we can put , and (M7) gives . We have . Also
Finiteness and (H2) let us fix Resp simultaneously for all demanded pairs. Different choices may give different assignments, each of which the argument below proves legal.
Corollary 2.7 supplies these sets.
PAWEL PAWLOWSKI
, by Fact 3.1(b). So the same_col-parts of both and lie in .
Condition (D5) lets us combine these sets: we put . By (M9), its role is or . If , the support table and Fact 2.5 give
This contradicts Lemma 2.6(c), since and Column are distinct Mid-roles. Hence . The support of excludes , so . The support of ColStep excludes , so . The Expected set therefore retains the left tile label and has the two parts needed for comparison with the right cell.
We put , using (D3) for the right cell and its candidate provider. By (M6), . Fact 3.2 gives . For its other relevant part, the same fact and Fact 3.1(b) give . We have now constructed the two inputs required by (D6):
| A | role(A) | A[next_col] | A[same_row] |
|---|---|---|---|
| Expected | |||
| Candidate |
The common containing sets arise because the chosen cells lie in consecutive columns and the same row. Our assumption , together with (D6) and (H2), now gives . This is a nonempty subset of . By (M11), or .
If , every singleton in has role . The table and Fact 2.5 therefore give . This contradicts Lemma 2.6(c), since . If , the same argument gives , again a contradiction, since . Both permitted response roles are impossible. Hence .
The vertical check is the same argument mutatis mutandis. We fix cells , write , , and suppose . By (D3)-(D4), we put
Rows (M6) and (M8) give , , and . By Facts 3.2 and 3.1(d), and . Also and .
We put , using (D5). By (M10), its role is or . The first possibility would give , contrary to Lemma 2.6(c). Hence . The supports and Fact 2.5 give and . For the Candidate set, Fact 3.2 and Fact 3.1(d) give and .
Since , (D7) and (H2) give . By (M12), or . The first case forces , and the second forces . Both contradict Lemma 2.6(c), since and . Therefore .
Theorem 3.3 (Realization implies torus tiling). If has a finite realization, then tiles a finite torus.
Proof. The cycles give positive periods , and the cell responses define . The two checks establish Definition 2.2, including the last column's and row's returns to index 0. They also apply when or , so the corresponding index returns to itself.
MEDVEDEV LOGIC IS -COMPLETE
11
4. FROM A TORUS TILING TO A FINITE REALIZATION
We now fix a tiling of . We write and read the first index modulo and the second modulo . We construct a finite set and a partial role assignment satisfying (H0)-(H2) for .
Each column, row and cell will be represented by a subset of . We also need source, candidate, step, and expected sets, and finally a response to every demanded pair. We arrange the sets so that, when positions fail the required comparison, their union contains a response with role NotSame, NotNext, or, mutatis mutandis, its vertical counterpart. The construction uses different missing symbols to make these containments hold.
Let us first list the sets we intend to construct. A state is a formal name for one of these sets. We let be the finite set of names in the table below, and write for the role listed beside . We will define a subset and assign role . For instance, is a name, is the set it names, and its prescribed role is .
An unbarred cell, source, candidate, or expected state refers to an actual position of the tiling. A barred state is a seed: an extra representative ensuring that its tile's role exists even if that tile never occurs in the chosen tiling. Indices range over , , , and . All listed state names are distinct.
| States | Roles |
|---|---|
| Column, ColumnSep, respectively | |
| Row, RowSep, respectively | |
| NotNextcol, NotSamecol, NotNextrow, NotSamerow, respectively | |
| Cell, Cell, respectively | |
| Key | |
| Source, Candidate, respectively | |
| Source, Candidate, respectively | |
| Source, Candidate, respectively | |
| Source, Candidate, respectively | |
| ColStep, RowStep, respectively | |
| Expected, Expected, respectively | |
| Expected, Expected, respectively |
Every Mid-role occurs in the table, so is surjective.
Choose pairwise distinct formal symbols and put
A carrier point is a pair : a marker and a Max-role. For each maximal role , the set is its block. The marker records torus column , and records torus row . The marker helps separate the column and row sets from their separator sets. We reserve for the seeds of tile . The symbols are also distinct from the state names.
We write for the support prescribed by . Thus must meet exactly the blocks with . For each , we specify a blocklist , listing the symbols omitted from that block. We then define
Thus includes the entire supported block. A block outside contributes no points at all.
This includes pairs associated with unrelated positions.
For m = 1 or n = 1, cyclic indices can coincide within a marker family. Different families remain disjoint.
PAWEL PAWLOWSKI
To see how this records coordinates, consider two sets that contain all of one block except the points marked and , respectively. Their union fills that block iff :
(4.3)
If the symbols agree, that point remains missing from both inputs. For a next-column test, we use in place of . The missing symbols then agree iff . So the same test can compare either two columns or a column and its intended successor. The following lemma also handles blocks that only one input supports.
Lemma 4.1 (How to check a response containment). Suppose every supported block of is populated. Then holds iff and, for every ,
| inputs supporting | required inclusion |
|---|---|
| a only | |
| b only | |
| a and b | . |
(4.4)
Proof. We first check that each block used by occurs in at least one input. Otherwise a point of in that block would lie outside . Within a covered block, the symbols missing from the input union are , , or , according to the three cases. Containment holds iff all those symbols are also missing from . These are the displayed inclusions.
In particular, when both inputs support a block, their union fills it iff their blocklists have empty intersection. We use this test for the mismatch responses.
We now specify every supported blocklist. To copy a list from another state means to use the same subset of in that block.
For the position and separator states, the horizontal lists are
| a | |||
|---|---|---|---|
| . |
(4.5)
For , replace by , respectively. The lists for both contain at same_col, and those for both contain at next_col. These shared omissions will give the required column sequence. The extra makes column and separator sets incomparable by inclusion (Lemma 4.3).
We next specify the mismatch and provider states. Each of has an empty blocklist in its unique supported block. Thus and , with the corresponding vertical formulas for . Each provider fills its key block: .
We give the cell at the same horizontal lists as column and the same vertical lists as row :
The seed cell has in all four coordinate blocks.
We define the source and candidate sets by copying two blocklists from the cell and adding the private-key block prescribed by their respective roles. For an actual cell we copy from , and for a seed we copy from . The private-key list is always . The support table determines which two coordinate blocks to copy: uses same_col, same_row, and uses next_col, same_row. Vertically, uses same_row, same_col, and uses next_row, same_col. For instance, the lists of are at same_col, at same_row, and at its private key. The tile index determines this private key, whereas the coordinates determine the two coordinate lists.
We obtain the step by copying the next_col- and same_col-lists of , and using at its private key. So its coordinate lists are and , respectively. The vertical step copies in the same way.
Now, the expected set for the tile at will be compared with a candidate for its neighbour. Horizontally, the missing marker will match a candidate from column , whose next-column list contains . The missing marker will check that the row is still . We therefore set
(4.7)
Both private-key lists of each actual expected state are .
For the expected seeds, in every one of their four supported blocks, put and . In the next-column block, a horizontal expected seed omits . Every horizontal candidate omits only column symbols, , or seed symbols. These blocklists are disjoint, so the union of the represented sets fills the block and supplies the mismatch response. The vertical check uses the next-row block.
Lemma 4.2 (Sizes and exact supports). Each is a proper subset of K with at least two points. The second components of its elements are exactly the roles in .
Proof. We have , and every supported blocklist has at most two elements. So each supported block contains at least two points. Every Mid-support is nonempty, so . By definition, the second components occurring in are exactly .
Every Mid-support has at most four singleton roles, whereas . A singleton role outside supplies a point of . Hence .
Lemma 4.3 (Separation of different roles). If , then and .
Proof. Every support has size one, three, or four. No three-element support is properly contained in a four-element support: a generator uses a tag, which no four-element support has. A keyed three-element support cannot lie in a cell support. The source or step sharing a key with an expected role needs the same-axis coordinate missing from that expected support. Candidate keys occur in no expected support.
Equal nonsingleton supports of different roles occur only in {Column, ColumnSep}, in {Row, RowSep}, and among cell roles. Private keys distinguish the other supports. Each singleton support belongs to exactly one Mid-role. We can therefore check separation in the following four cases.
First, suppose the supports are incomparable. We choose . A point in the populated -block of lies outside . A singleton role in gives the reverse witness.
Second, suppose . The state is a mismatch or provider, so . Every supported list of the nonsingleton-support state is nonempty. We choose . The point belongs to . A point in any other supported block of lies outside .
Third, we compare a column set with a column separator set. For every , the point belongs to , while belongs to . The vertical witnesses are and .
Finally, we compare sets with different cell roles. If actual cells carry different tiles, their coordinates differ. If , the point lies in the first set difference, and lies in the reverse difference. If , then , and the corresponding witnesses are and . For an actual cell and a seed , we use in the first difference and in the reverse difference. For two different seeds , we use in the first difference and in the second.
Proposition 4.4 (Assigning the roles). Put role(K) = r, role({(u, )}) = for every , and role( ) = for every . Leave all other nonempty subsets unassigned. These prescriptions define a partial function satisfying (H0) and (H1).
PAWEL PAWLOWSKI
Proof. Sizes and properness separate each from the root set and all singletons. If , the separation lemma forces . Thus no set receives conflicting roles, and (H0) holds.
For (H1), consider the three kinds of assigned sets. The root K contains a representative of every Mid-role by the state table, and a singleton of every Max-role by the definition of K. It also contains itself. These are exactly all roles above r.
Inside , the set itself witnesses , and its populated blocks supply singletons of each maximal role in . These are exactly the roles above . Conversely, any assigned set contained in is either a singleton of a supported singleton role or some . In the latter case separation forces . The root set is excluded by properness. This proves both directions of (H1) at a Mid-set.
Finally, a singleton contains only itself as a nonempty subset, and its assigned role is maximal. This proves (H1) there as well.
It remains to check (H2). We must provide a response for every pair of assigned sets whose roles form a demand. The two sets need not refer to matching coordinates, which makes the check a bit more tricky. For example, a horizontal source at can be paired with a step for any column . We must also handle seeds.
For each pair of states with , we choose a state and prove that is a response to . We give the choices in the order (D1)-(D7) of Definition 2.3, and set . We check using Lemma 4.1. Each chosen output has a Mid-role different from both input roles, so . Nonemptiness follows from Lemma 4.2.
For (D1), we make the column and row sequences follow the fixed torus indices. We define
For , the set supplies the whole next_col-block. The other output blocks come from : the required blocklist inclusions are at same_col and at the tag. Thus .
For , the helper fills the same_col-block. At next_col the inclusion is , and the tag list is unchanged. This gives . Replacing by proves the two vertical responses by the same three block checks.
For (D2), the inputs are , with roles Column, Row. We put , so the proposed response is , with role( ) = Cell . Here is the tile assigned by our fixed tiling. The inputs have disjoint supports. The cell's two horizontal lists are copied from , and its two vertical lists from . Each required one-input inclusion is therefore an equality. Thus .
For (D3), the inputs are a cell set with role and a provider set , with role( ) = Key_G. We need a response with role G. For , we define
For seed cells, we replace by and each output by its barred version indexed by t.
Each of the two output blocks copied from the cell is supported by that input alone, so its required inclusion is an equality. The private-key block is supplied by the provider alone, with required inclusion . This proves the response containments for all four roles, both for actual cells and for seeds.
For (D4), we use as a response to , , and as a response to , . Thus and . The two blocklists copied from the separator give equalities in the containment test. The provider supplies the key block, again with inclusion .
For (D5), the horizontal inputs are and , with roles and ColStep. When , we use the expected set . When , the two sets together fill the same-column
MEDVEDEV LOGIC IS -COMPLETE
15
block and give a response of role NotSame . The vertical choice follows the same rule for rows. We define
For seed sources, we put and .
For the aligned horizontal output , write . The complete block check is
| output block | sole supporting input | |
|---|---|---|
| . |
Every required inclusion is an equality. Notice that the common input coordinate is absent from the expected output. For an aligned vertical output, the four corresponding blocks are , , , , with lists .
For the horizontal mismatch branch, the proposed output is . Both inputs support this singleton role, and their blocklists have intersection
So every point of that block is present in at least one input. The output list is empty, so (4.4) holds. For a seed source the intersection is , for every . Vertically the intersections are and . They are empty in exactly the required cases.
For (D6), we consider an expected set for tile and a candidate set for tile , where . Because the fixed tiling is legal, actual occurrences of these tiles cannot be horizontal neighbours in that order. Their column or row coordinates must therefore fail the neighbour test. We use that failure to obtain a response. If either input is a seed, we choose . For two actual inputs, we define
Here the demanded tiles are , . The two common coordinate blocks have blocked intersections
The first is nonempty iff , and the second iff .
If , (4.11) is empty and the union of the inputs contains the entire -block. This is , proving the first branch. If , then : otherwise the two input tiles would lie on the actual horizontal edge from to , and legality of would put their pair in . Consequently (4.12) is empty, and the union contains . This proves the second branch.
For seed cases, the next-column lists are
| actual | seed | |
|---|---|---|
| expected input | ||
| candidate input | . |
Whenever at least one input is a seed, these lists are disjoint by the distinctness of the symbols. Hence the union of the two inputs contains the whole -block , proving all three seed cases.
PAWEL PAWLOWSKI
We verify (D7) using the corresponding vertical comparison. For , we choose whenever either input is a seed. For actual inputs, we define
The two tests are
The first is empty when , giving . If , legality and the forbidden tile pair force . The second intersection is then empty, giving . For a seed expected input we use , which is disjoint from every actual candidate list and every seed candidate list . If only the candidate is a seed, its list is disjoint from . This verifies all vertical seed cases.
The seven families cover every demanded state pair, including seeds. Legality of was needed in (D6) and (D7): a forbidden tile pair cannot occur at positions with both coordinates required for adjacency.
Theorem 4.5 (Compressed construction). If has a legal m-by-n torus tiling, then has a realization on
Proof. Proposition 4.4 gives (H0) and (H1). For (H2), we take any assigned sets X, Y whose roles form a demand. Only sets of the form carry Mid-roles, so we choose states with and . The choices above supply a state such that and role( ) role( ) role( ). Hence is the required response. The cardinality follows from (4.1).
5. RECOGNIZING A REALIZATION BY A FORMULA
We fix and . We construct a formula from this pair alone that fails on iff the pair has a realization on .
Recall that the successors of a world X in are its nonempty subsets.
A valuation assigns each variable a set of worlds. It must be persistent: if and , then . Forcing under this valuation is defined recursively:
(i) iff .
(ii) No world forces .
(iii) iff it forces both conjuncts.
(iv) iff it forces at least one disjunct at itself.
(v) iff every nonempty forcing also forces .
Consequently, means that no nonempty subset of forces . Every world forces . Persistence follows by induction: in the implication step, every successor of is also a successor of .
Failure of forcing, written , is weaker than forcing : a variable may fail at X and hold at a proper subset. We repeatedly use the following direct consequence of the implication clause:
(5.1)
Recall that supplies a valuation and a world failing .
The idea is to introduce one variable for each role . Given a realization, we will define to mean that no nonempty has role( . This valuation is persistent: if no such set exists inside , none exists inside a subset of . So means that some has role( , even when itself has no assigned role. We call visible at
Several states may name the same set. Any names work because every demanded state pair was checked. Condition (H1)(b) also permits sets with the same role to contain one another.
when . For the converse direction, we will use the formula clauses to recover a role assignment from these failures of forcing.
We put , and define
(5.2)
Thus says that no role is visible, and says that all visible roles lie above . It does not assert that is visible. The formula says that every visible role lies above or above .
We let be the conjunction of the following clauses.
(N): . Some role must be visible at every successor. This includes singleton worlds.
(O): for each , and whenever . Visibility is thereby closed upwards: if fails and holds, then fails too.
(B): for every . In other words, if fails, the inner implication must fail. Equivalence (5.1) supplies a successor where holds and still fails. Together with (O), this makes the visible roles exactly .
(S): for each demand . When both input roles are visible, some visible role must lie outside their two upsets. That role will provide a legal response.
Finally, we put . Refuting this formula supplies a world satisfying all the clauses while the root remains visible. The formula has variables and size polynomial in : each clause uses at most linearly many variables, and there are at most quadratically many order clauses.
Suppose first that a realization on K is given. From it we build a valuation that refutes the formula. To record which roles occur inside a world, we define its trace by
(5.3)
Lemma 5.1 (Properties of traces). Every trace is a nonempty upset. If , then . If , then .
Proof. Every world contains a singleton, which has a Max-role by (H0), so . If and , we choose with . By (H1)(a), some nonempty has , so . Thus is an upset. Every assigned subset of is also a subset of , giving . Finally, if , (H1)(a) gives , and (H1)(b) gives the reverse inclusion.
It turns out that the response condition can be read off the traces.
Lemma 5.2 (Responses as forbidden traces). For an assignment satisfying (H0) and (H1), the response condition for a demand is equivalent to the absence of a world with trace .
Proof. Suppose the response condition holds, and assume for contradiction that . We choose with and . By (H2), there is a response . Since , its role belongs to , but a response must have its role outside . This is a contradiction.
Conversely, suppose no world has that trace. We take any sets with role and role. Lemma 5.1 gives . Equality is excluded, so we choose . By the definition of trace, some nonempty has role. This is the response required by (H2).
We now define the valuation by iff . Trace monotonicity proves persistence. For any , forces the conjunction of variables indexed outside iff .
PAWEL PAWLOWSKI
Proposition 5.3 (Forward recognition). A realization on K yields .
Proof. Under the preceding valuation, every world forces all four clause families, as follows.
For (N), every trace is nonempty, so no world forces N. Hence every world forces .
For (O), upward closure of traces makes forcing entail forcing whenever . Since this holds at all worlds, the required implications hold everywhere.
For (B), suppose but . Then , so we choose with . By Lemma 5.1, . Hence and , contradicting the implication at . Thus every world forcing the inner implication forces its consequent, which proves (B).
For (S), suppose while both input variables fail there. Its trace lies in . Visibility of both roles and upward closure give the reverse inclusion. This contradicts Lemma 5.2. Thus at least one input variable is forced whenever the antecedent is forced, proving (S).
Finally, role(K) = r makes r visible at K. Therefore and , so K refutes their implication.
For the converse, we start with a valuation and a world such that and . We must assign roles to subsets of . Persistence makes every clause available throughout . For each nonempty , put . We will recover roles from the sets .
Lemma 5.4 (Properties recovered from the clauses). For every nonempty , is a nonempty upset. If , then . For any , forcing at is equivalent to .
Proof. Clause (N) prevents X from forcing all the point variables, so . The (O) implications give upward closure along each step from the root to a Mid-role and from a Mid-role to a supported maximal role. These steps generate the order, because every maximal role appears in a support in the table defining . Persistence of the variables gives . For the last assertion, X forces the conjunction iff for every , which is equivalent to .
We can assign role to X when . If has no least element, X remains unassigned. The next lemma supplies subsets to which we can assign the required roles.
Lemma 5.5 (Principalization). If , some nonempty has .
Proof. If , upward closure gives , so we take . Otherwise, (B) together with gives . By (5.1), some nonempty forces and fails . Thus , and upward closure makes the containment an equality.
Proposition 5.6 (Reverse recognition on the refuting world). If and , then has a realization on .
Proof. We assign a role precisely when the set of visible roles has a least element:
(5.4)
Other worlds remain unassigned. This defines a partial function, since entails both and , hence equality.
For (H0), the root is visible at , so and . On a singleton , we choose any visible . Principalization has only one nonempty subset to choose, so . So the singleton receives a role. This role is maximal: if , then is also visible, and principalization would give , contradicting . In particular, itself cannot be a singleton, since is nonmaximal.
For (H1)(a), if and , then . Principalization gives a nonempty with , hence role .
For (H1)(b), suppose , , and . Then . Since , we obtain .
For (H2), we take any demand and any sets with and . We must find a nonempty subset of whose assigned role lies outside the two input upsets. Put . Monotonicity gives . If equality held, would force while failing both and , contrary to (S). We therefore choose . Lemma 5.5 gives a nonempty with . By our assignment, . Thus has the required role and is a response to .
However, the formula may fail at a proper subset W of the original carrier K. What we have obtained is a realization on W, and still need one on K. To obtain it, we map K onto W and give each subset of K the role of its image, whenever that image has a role.
Lemma 5.7 (Lifting along a surjection). Let be a surjection of finite nonempty sets. Given a realization , define , with the left side defined iff the right side is. This is a realization on .
Proof. Since , the carrier receives the root role. A singleton maps to a singleton, so it receives a maximal role. This proves (H0).
For (H1)(a), suppose and . Since , (H1)(a) on supplies a nonempty with . We put . Each has a preimage in , which belongs to , so . Thus is nonempty, , and . For (H1)(b), gives , and (H1)(b) on gives .
For (H2), take with , , and . Their images have these same roles on , so we take in that realization. Put . The same preimage argument gives . Hence is a nonempty subset of , and . It is therefore a response to on .
Theorem 5.8 (Recognition on a fixed carrier). For every finite nonempty K,
(5.5)
Proof. If has a realization on , Proposition 5.3 gives . Conversely, frame invalidity supplies a valuation and, by (5.1), a nonempty with and . Proposition 5.6 gives a realization on . Choose , and define by fixing and sending every element of to . This map is surjective, so Lemma 5.7 gives a realization on .
Corollary 5.9 (Finite recognition). The pair has a finite realization iff some finite Medvedev frame refutes . If finite realizations exist, their carrier sizes are exactly the integers , for some .
Proof. The equivalence follows from the theorem. Every larger finite carrier maps onto a given one, so lifting makes the possible sizes upward closed. Their least member is at least two by (H0), since the root is nonmaximal.
6. THE COMPLEXITY OF MEDVEDEV LOGIC
It remains to combine torus tilability, finite realizability, and failure of the recognizing formula into a proof of -hardness. Membership in follows by searching for a countermodel to an input formula.
We use effective natural-number encodings of formulas, finite Wang systems, and Turing machines. A set of codes is recursively enumerable (r.e.), or semidecidable, if an algorithm halts on exactly its members. It may run forever on a nonmember. A set A belongs to when its complement is r.e., equivalently, when holds exactly if holds for every
PAWEL PAWLOWSKI
, for some decidable relation . A decision procedure must halt on every input and correctly determine membership.
A computable many-one reduction from to is a function , computed by an algorithm that halts on every input, such that iff . A set is -hard if every set reduces to it, and -complete if it is also in . For the lower bound, it suffices to reduce nonhalting on empty input to membership in ML, since nonhalting is -complete.
The reduction uses the following form of the periodic domino theorem. The result is due to Gurevich and Koryakov [6]. We use Jeandel's construction [7], which yields it directly in the form needed here.
Theorem 6.1 (Effective periodic domino theorem). From an index of a Turing machine M, one can compute a finite Wang system such that
(6.1)
M halts on the empty input tiles a finite torus.
Explanation of the formulation. We first put into the machine format used in the construction and prepend two dummy transitions. This effective change preserves halting and ensures that any halting computation has at least two steps, as the construction requires. Jeandel's construction takes as input an arbitrary aperiodic tileset, which we fix once and for all, and produces a finite tileset admitting a periodic plane tiling iff the padded machine halts. We convert it to by making match east colours to west colours, and match north colours to south colours. These relations are computable from the tiles. Jeandel calls a plane tiling periodic when for some and all . Such a tiling descends to a torus tiling of . Conversely, a tiling of extends to a periodic plane tiling with .
Proposition 6.2. The set ML belongs to .
Proof. Given a formula , we search in order. On each finite frame, we list its upsets by testing all sets of worlds. For the finitely many variables occurring in , all assignments of these upsets form a finite, effectively enumerable list of persistent valuations.
For each valuation and each world, we compute forcing recursively on . The implication clause is a finite check over the nonempty subsets of that world. We halt if any world fails . Every stage of the search is finite, and the search halts iff a finite Medvedev frame refutes . It therefore semidecides the complement of ML, as required.
Theorem 6.3 (Main theorem). Medvedev logic is -complete under computable many-one reductions.
Proof. For a finite Wang system , we put , using the recognizing formula of Section 5. The transformation is computable. Its steps list the roles, read off their supports, list the demands, and write the corresponding formula clauses. Each list is obtained by finite loops over , , and . In the explicit relational presentation of , the resulting formula has polynomial size.
The preceding sections establish
(6.2)
The first equivalence combines Theorems 3.3 and 4.5. The second is Corollary 5.9 applied to .
Given , construct a machine that tests , , ... and halts at the first failure. It runs forever iff .
An aperiodic tileset tiles the plane but admits no periodic tiling. Jeandel's construction requires this property of its input and does not itself produce aperiodic tilesets. Any aperiodic tileset may be used, and the choice does not affect the theorem. Such tilesets exist by Berger's theorem [1]. Robinson [17] gave the first small explicit set, and Kari [8] and Culik [5] gave aperiodic sets of fourteen and thirteen Wang tiles. We take Culik's tiles. With the tileset fixed, the construction is uniform in M, so is computable from an index of M.
Given , we compute by Theorem 6.1 and then . Combining that theorem with (6.2) and taking complements gives
(6.3)
M does not halt on the empty input .
This computable many-one reduction proves -hardness. Proposition 6.2 establishes membership in .
Corollary 6.4. Medvedev logic is undecidable and is not recursively enumerable. In particular, it admits no recursively enumerable sound and complete proof calculus.
Proof. A decision procedure for ML, composed with the reduction in (6.3), would decide nonhalting, and eo ipso the halting problem, which is impossible. Now suppose ML were r.e. Its complement is already r.e. by Proposition 6.2, so we could run both membership searches in parallel. Exactly one would halt, providing a decision procedure, again a contradiction. Finally, a recursively enumerable sound and complete proof calculus would enumerate exactly the formulas in ML, which has just been excluded.
Use of Generative AI
This work began as an attempt to establish the decidability of Medvedev logic. The initial investigation relied heavily on generative AI systems for proof search. During the dialogue and prompting I obtained numerous partial results and simplifications, but these eventually suggested that the project should proceed in the opposite direction, namely to prove undecidability. The initial construction, the proof sketches, and the idea of using tilings were obtained from generative AI systems. The construction was further honed in cooperation with AI systems. In that process I subsequently reconstructed, revised and clarified the preliminary results. Furthermore, with the help of generative AI I obtained a formalization of the paper in Lean up to Section 6, available at https://github.com/Haptism89/medvedev-lean. For the computability results of Section 6, I was unable, even with the help of AI, to reconstruct the halting problem for a machine model slightly different from the one used by default in the standard mathematical library of Lean. These results about the halting problem are standard, however, and play no role in the correctness of the paper.
For proof search, prompting and dialogue I used models such as Fable, Sonnet, Opus, and ChatGPT 5.6 SOL. The same models also produced parts of the IATEX source, including the diagrams, and were used to improve the language throughout the paper.
This paper is the first part of a broader project in which I use generative AI to address open problems in philosophical logic, in particular questions of decidability and the theory of non-deterministic matrix semantics. I have already obtained partial results in both areas which I find promising, but they have not yet been checked. Personally, I find this time quite interesting, given the possibilities of interaction between human researchers and generative AI. These possibilities seem to me practically limitless, and I would greatly appreciate finding like-minded researchers to help with the ideas mentioned above. Two kinds of help in particular would be welcome. My knowledge of Lean is basic, and the repository accompanying this paper is my first, so I would be glad to cooperate with anyone experienced in formalization. I would equally be glad to join forces with anyone interested in the logical topics above, so that we can work on these questions together. Please contact me at haptism89@gmail.com.
APPENDIX A. PROOFS OF THE OPENING LEMMAS AND THE RESPONSE-ROLE TABLE
We use the notation of Section 2, fixing an arbitrary finite realization for the two lemma proofs.
Proof of Lemma 2.6. For (a), choose , and let be the Max-role of . Since , condition (H1)(b) gives . Both roles are maximal, so .
For the first direction of (b), choose , and let be the Max-role of . The containment and (H1)(b) give , hence . Conversely, fix . Since ,
PAWEL PAWLOWSKI
condition (H1)(a) supplies a nonempty set with role. Part (a) shows that every element of has singleton role , so at least one such element occurs in .
For (c), if , condition (H1)(b) gives , contrary to the hypothesis.
Proof of Lemma 2.8. Every singleton role in lies in , by Lemma 2.6(b).
For (a), inspection of (D1)–(D7) shows that the union of the input supports always omits at least one of the two step keys , . Call an omitted key . If had role , then (H1)(a) would give a nonempty subset of with role . By Lemma 2.6(a), that subset would contain elements of singleton role , which are absent from . Thus . If were a Max-role, the same lemma would make every element of have singleton role . Hence would belong to an input support and therefore to , contrary to legality. Only Mid-roles remain.
For (b), every singleton role in occurs in , by Lemma 2.6(b). Since , it belongs to one of the input supports.
For (c), suppose misses . Then , because an element in the intersection would have a singleton role in both supports. Consequently . By (H1)(b), , contradicting legality. Exchanging X and Y proves the other intersection is nonempty.
Proof of Proposition 2.9. For an input pair , put and . Thus lists all Mid-roles whose required singleton roles are available in the input supports. A role is admissible iff
The first condition is legality, since distinct Mid-roles are incomparable. We compute from the support table, then apply these three conditions. All private keys are distinct, including keys for different roles with the same tile index.
(M1) and (M2). In both cases , and . For (M1), legality removes Column and NotNext_{col}. The role NotSame_{col} misses the support of the second input, whereas ColumnSep meets both input supports. Hence only ColumnSep is admissible. For (M2), legality removes ColumnSep and NotSame_{col}. The role NotNext_{col} misses the support of the second input, whereas Column meets both input supports. Hence only Column is admissible.
(M5). Here U consists of the four Max-roles above a cell role and the two tags. Since it contains no private key, the complete candidate set is
Each of the first four roles misses the row input support, and each of the next four misses the column input support. Every cell role is distinct from the inputs. Its support meets the column support in and the row support in . Thus exactly the cell roles are admissible.
(M6). Fix one of the four projection roles . The union consists of the four Max-roles above a cell role and , so
Indeed, a generator requires a tag, and every other keyed role requires an unavailable key. In particular, if is a source, its expected-neighbour role also requires a step key. Meeting the provider support leaves only and . Legality removes the former. The latter is distinct from both inputs, and its support meets the cell support in two Max-roles. Hence only is admissible.
(M7). Here , and
An expected-neighbour role is excluded because its source key is absent. Meeting the provider support leaves only and ColStep; legality removes the provider. The step role meets the separator support in , so it is admissible and unique.
(M9). The input union is . There is no tag or , and the only available keys are those of this source and this step. The support table therefore gives
REFERENCES
23
Legality removes the source and step inputs. The roles NotNext_col and KeyColStep miss the source support; NotSame_row and KeySource_t miss the step support. The two remaining roles pass both intersection tests: NotSame_col uses the common Max-point same_col, while Expected_t meets the source support in {same_row, } and the step support in {next_col, }. Thus precisely NotSame_col and Expected_t are admissible.
(M11). For any , the supports of and have union . Since , and both tags are absent,
Legality removes the two inputs. The source-key and step-key providers miss the candidate support, and the candidate-key provider misses the expected support. The remaining roles NotNext_col and NotSame_row have supports {next_col} and {same_row}, respectively, both contained in each input support. These are exactly the admissible roles. When , the input pair is a demand, giving (M11).
(M3), (M4), (M8), (M10), and (M12). Apply the axis exchange defined in Section 2 to the calculations for (M1), (M2), (M7), (M9), and (M11), respectively. As established there, preserves legality, support containment, and both intersection tests. The resulting admissible sets are, respectively, {RowSep}, {Row}, {RowStep}, {NotSame_row, Expected_t^v}, and {NotNext_row, NotSame_col}. The last support calculation holds for every ; it applies to the demand in (M12) when . No equality between and is needed.
We have thus computed exactly the admissible roles in every row. Lemma 2.8 places the role of every actual response among them.
REFERENCES
[1] Robert Berger. The undecidability of the domino problem. Memoirs of the American Mathematical Society 66. Providence, RI: American Mathematical Society, 1966. DOI: 10.1090/memo/0066.
[2] Zhicheng Chen. “An intermediate logic contained in Medvedev’s logic with the disjunction property”. In: Studia Logica (2026). DOI: 10.1007/s11225-026-10244-x. Published online 16 May 2026.
[3] Zhicheng Chen and Yifeng Ding. “The logics of individual Medvedev frames”. In: Logic Journal of the IGPL 33.5 (2025), jzaf064. DOI: 10.1093/jigpal/jzaf064.
[4] Ivano Ciardelli and Floris Roelofsen. “Inquisitive logic”. In: Journal of Philosophical Logic 40.1 (2011), pp. 55–94. DOI: 10.1007/s10992-010-9142-6.
[5] Karel Culik II. “An aperiodic set of 13 Wang tiles”. In: Discrete Mathematics 160 (1996), pp. 245–251. DOI: 10.1016/S0012-365X(96)00118-5.
[6] Yuri Gurevich and Igor O. Koryakov. “Remarks on Berger’s paper on the domino problem”. In: Siberian Mathematical Journal 13.2 (1972), pp. 319–321. DOI: 10.1007/BF00971620. Russian original: Sibirskii Matematicheskii Zhurnal 13 (1972), no. 2, 459–463.
[7] Emmanuel Jeandel. “The periodic domino problem revisited”. In: Theoretical Computer Science 411 (2010), pp. 4010–4016. DOI: 10.1016/j.tcs.2010.08.017.
[8] Jarkko Kari. “A small aperiodic set of Wang tiles”. In: Discrete Mathematics 160 (1996), pp. 259–264. DOI: 10.1016/0012-365X(95)00120-L.
[9] Marcin Łazarz. “Characterization of Medvedev’s logic by means of Kubiński’s frames”. In: Bulletin of the Section of Logic 42.1–2 (2013), pp. 83–90.
[10] Leonid A. Levin. “Some syntactic theorems on the calculus of finite problems of Ju. T. Medvedev”. In: Soviet Mathematics Doklady 10 (1969), pp. 288–290.
[11] Larisa L. Maksimova, Dmitrij P. Skvortsov, and Valentin B. Shehtman. “The impossibility of a finite axiomatization of Medvedev’s logic of finitary problems”. In: Soviet Mathematics Doklady 20 (1979), pp. 394–398. Russian original: Doklady Akademii Nauk SSSR 245 (1979), no. 5, 1051–1054.
[12] Yu. T. Medvedev. “Finite problems”. In: Soviet Mathematics Doklady 3 (1962), pp. 227–230. Russian original: Doklady Akademii Nauk SSSR 142 (1962), no. 5, 1015–1018.
REFERENCES
[13] Witold A. Pogorzelski. “Structural completeness of the propositional calculus”. In: Bulletin de l’Académie Polonaise des Sciences, Série des Sciences Mathématiques, Astronomiques et Physiques 19 (1971), pp. 349–351.
[14] Adam Přenosil. Levin’s and Prucnal’s theorems on Medvedev’s logic of finite problems. 2024. arXiv: 2404.04349.
[15] Tadeusz Prucnal. “Structural completeness of Medvedev’s propositional calculus”. In: Reports on Mathematical Logic 6 (1976), pp. 103–105.
[16] Tadeusz Prucnal. “On two problems of Harvey Friedman”. In: Studia Logica 38.3 (1979), pp. 247–262. DOI: 10.1007/BF00405383.
[17] Raphael M. Robinson. “Undecidability and nonperiodicity for tilings of the plane”. In: Inventions Mathematicae 12 (1971), pp. 177–209. DOI: 10.1007/BF01418780.
[18] Miroslav Szatkowski. “On fragments of Medvedev’s logic”. In: Studia Logica 40.1 (1981), pp. 39–54. DOI: 10.1007/BF01837554.
[19] Hao Wang. “Proving theorems by pattern recognition II”. In: Bell System Technical Journal 40 (1961), pp. 1–41. DOI: 10.1002/j.1538-7305.1961.tb03975.x.
CLPS, GHENT UNIVERSITY, BELGIUM