Documentation

LeanPool.DomainTheory.Neighborhood.Exercise119

Exercise 1.19 (Scott 1981, PRG-19, ยง1) โ€” positive neighbourhood systems #

Scott replaces condition (ii) of Definition 1.1 by the biconditional (iiโ€ฒ): whenever X, Y โˆˆ ๐’Ÿ, then X โˆฉ Y โ‰  โˆ… iff X โˆฉ Y โˆˆ ๐’Ÿ. The predicate IsPositive and the builder ofPositive (positive โŸน neighbourhood system) live in Basic.lean.

This file supplies the two examples requested by the exercise:

Everything is [propext, Quot.sound].

A positive system: all non-empty subsets of Fin 2. #

All non-empty subsets of Fin 2 form a positive neighbourhood system: there X โˆฉ Y โˆˆ ๐’Ÿ literally is (X โˆฉ Y).Nonempty, so (iiโ€ฒ) is Iff.rfl.

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

    A non-positive system over ฮ” = {0,1,2}. #

    @[reducible, inline]

    Tokens ฮ” = {0, 1, 2}.

    Equations
    Instances For

      The neighbourhood {0, 1}.

      Equations
      Instances For

        The neighbourhood {1, 2}.

        Equations
        Instances For

          {0,1} โˆฉ {1,2} = {1}.

          {1} is not a neighbourhood (it is neither ฮ”, {0,1}, nor {1,2}).

          No neighbourhood is contained in {1} (each contains a token other than 1). This is why the overlapping pair {0,1}, {1,2} never triggers condition (ii).

          Classification of binary intersections in ๐’Ÿ.

          Exercise 1.19 โ€” the non-positive example is a neighbourhood system. The only intersection that is not already a neighbourhood is {0,1} โˆฉ {1,2} = {1}, and that case is impossible: a consistency witness Z โІ {1} with Z โˆˆ ๐’Ÿ does not exist (not_mem_sub_one).

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

            Exercise 1.19 โ€” the example is not positive. {0,1} and {1,2} are neighbourhoods whose intersection {1} is non-empty but is not a neighbourhood, contradicting (iiโ€ฒ).