Documentation

DescriptiveComplexity.Problems.Wide.Tiling

The wide tiling: a square addressed by the subsets of its instance #

The tile system of DescriptiveComplexity.TILING with one exponent added in the semantics of the problem, exactly as DescriptiveComplexity.WideAccept adds one to a machine:

the grid is indexed by the subsets of the instance, while the tiles – with their compatibilities, the bottom row and the accepting mark – stay an ordinary part of the instance.

So an instance of size n asks whether a 2ⁿ × 2ⁿ square can be tiled, which is the classical second complete problem of NEXPTIME beside a machine. Nothing is said about resources: the universe of the tiling is the universe of an exponential expansion of the instance (DescriptiveComplexity.Problems.Wide.TilingExp), so membership is the composition TILING ∘ expansion.

Where the order comes from #

As for the wide machine, a decision problem may not read the ambient order of its instance, so the instance carries its own order wtLe and the order on addresses is the binary-number order it induces (DescriptiveComplexity.WMSetLe). Linearity is a promise, folded into the yes-instances through DescriptiveComplexity.TileData.WellFormed.

Where the bottom row goes #

The bottom row is described at the initial-segment addresses: the address {y | y ≤ x} may carry the tiles wtFirst x names, and every other address may carry those wtFirst names of no element at all – the same device as the wide machine's input (wmInp), and for the same reason: a first-order condition on the element is what an expansion can carry, while a listing of 2ⁿ cells is not.

Relation symbols of wide tile-system instances: the tiles of FirstOrder.Language.tiling with their compatibilities, and the positions and their order replaced by an order on the elements – the digits of an address.

  • wle : wtileRel 2

    wtLe x y: the order on the elements, along which an address is read as a binary number.

  • dig : wtileRel 1

    wtDig x: x is a digit – one of the elements the grid's coordinates are subsets of.

  • tile : wtileRel 1

    wtTile t: t is a tile.

  • tacc : wtileRel 1

    wtAcc t: t is an accepting tile.

  • horiz : wtileRel 2

    wtHoriz t t': t' may stand immediately to the right of t.

  • vert : wtileRel 2

    wtVert t t': t' may stand immediately above t.

  • first : wtileRel 2

    wtFirst x t: the bottom row's cell of x may carry t.

  • base : wtileRel 1

    wtBase t: t is a base tile – what the bottom row carries where the description says nothing.

  • tstart : wtileRel 1

    wtStart t: t is a start tile – what the corner of the grid carries.

  • ledge : wtileRel 1

    wtEdgeL t: t may stand in the leftmost column.

  • redge : wtileRel 1

    wtEdgeR t: t may stand in the rightmost column.

Instances For
    Dependency graph
    def FirstOrder.Language.instDecidableEqWtileRel.decEq {a✝ : } (x✝ x✝¹ : wtileRel a✝) :
    Decidable (x✝ = x✝¹)
    Equations
    • One or more equations did not get rendered due to their size.
    Instances For
      Dependency graph
      Dependency graph

      The relational vocabulary of wide tile-system instances.

      Equations
      Instances For
        Dependency graph
        Dependency graph
        @[reducible, inline]

        The order on the elements of the instance.

        Equations
        Instances For
          Dependency graph
          Dependency graph
          Dependency graph
          @[reducible, inline]

          The accepting-tile symbol.

          Equations
          Instances For
            Dependency graph
            @[reducible, inline]

            The horizontal-compatibility symbol.

            Equations
            Instances For
              Dependency graph
              @[reducible, inline]

              The vertical-compatibility symbol.

              Equations
              Instances For
                Dependency graph
                @[reducible, inline]

                The bottom-row symbol.

                Equations
                Instances For
                  Dependency graph
                  @[reducible, inline]

                  The base-tile symbol.

                  Equations
                  Instances For
                    Dependency graph
                    Dependency graph
                    Dependency graph
                    @[reducible, inline]

                    The right-edge symbol.

                    Equations
                    Instances For
                      Dependency graph

                      The shorthands of the vocabulary #

                      Dependency graph

                      Being a digit: one of the elements the grid's coordinates are subsets of.

                      Equations
                      Instances For
                        Dependency graph
                        Dependency graph
                        Dependency graph
                        Dependency graph
                        Dependency graph
                        Dependency graph
                        Dependency graph
                        Dependency graph
                        Dependency graph

                        Being a right-edge tile: one the rightmost column may carry.

                        Equations
                        Instances For
                          Dependency graph

                          An element the bottom row is described at: one whose cell carries a tile. These are the elements the file has cells for.

                          Equations
                          Instances For
                            Dependency graph

                            The universe and the tile system #

                            Being a position: an address is one exactly when it holds digits alone, so the grid is indexed by the subsets of the marked part of the instance. That is what leaves the instance room for its tiles: a tile is an element like any other, and only the digits are coordinates.

                            Equations
                            Instances For
                              Dependency graph

                              The order on the universe of the tiling: addresses first, in the binary-number order they inherit from the instance's own order, then the tiles in that same order.

                              Equations
                              Instances For
                                Dependency graph

                                The bottom row: the cell of x – the segment x cuts among the elements the description names – may carry the tiles of x, and every other address a base tile. That is the same device as the register channel's input (DescriptiveComplexity.wpInpReg): a file of cells, not the ruler of all the segments, because a clocked machine's tape is described the same way and that is where this problem's hardness comes from.

                                Equations
                                Instances For
                                  Dependency graph

                                  The wide tile system an instance describes: the tiles read off the instance, the positions being the addresses.

                                  Equations
                                  • One or more equations did not get rendered due to their size.
                                  Instances For
                                    Dependency graph

                                    The order of a wide tiling is linear as soon as the instance's is: the addresses are ordered as binary numbers, the tiles as in the instance, and the addresses come first.

                                    Dependency graph

                                    The promise of a wide tiling is a promise about its instance: the grid adds nothing to it, the empty address being a position whatever the instance says.

                                    Dependency graph

                                    Isomorphism-invariance #

                                    An isomorphism of instances is a bijection of the tilings' universes: an address goes to its image, a tile to its image.

                                    Equations
                                    • One or more equations did not get rendered due to their size.
                                    Instances For
                                      Dependency graph
                                      Dependency graph
                                      Dependency graph
                                      Dependency graph
                                      Dependency graph
                                      Dependency graph
                                      Dependency graph
                                      Dependency graph
                                      Dependency graph
                                      Dependency graph
                                      Dependency graph
                                      Dependency graph

                                      The elements the bottom row is described at correspond.

                                      Dependency graph

                                      And so do the cells of the file.

                                      Dependency graph

                                      The positions correspond: an address of digits is a position, a tile is not.

                                      Dependency graph

                                      The orders correspond: the binary-number order on addresses is the instance's order read through the isomorphism.

                                      Dependency graph
                                      Dependency graph
                                      Dependency graph
                                      Dependency graph
                                      Dependency graph

                                      The bottom row corresponds: the cell of an element goes to the cell of its image.

                                      Dependency graph
                                      Dependency graph
                                      Dependency graph
                                      Dependency graph
                                      Dependency graph

                                      The problem #

                                      The two halves transport, in either direction: the wide tile system of the image is the source's read through the isomorphism.

                                      Dependency graph

                                      Tiling a wide square. Can the square whose sides are the subsets of the instance be tiled, with the bottom row the description allows and an accepting tile somewhere? The well-formedness promises are folded into the yes-instances, exactly as for DescriptiveComplexity.WideAccept.

                                      Equations
                                      • One or more equations did not get rendered due to their size.
                                      Instances For
                                        Dependency graph