Documentation

LeanPool.DomainTheory.Neighborhood.Exercise626

Exercise 6.26 (Scott 1981, PRG-19, ยง6) โ€” the lifting ๐’Ÿ_โŠฅ over {0,1}* #

EXERCISE 6.26. For systems ๐’Ÿ as in 6.19 define ๐’Ÿ_โŠฅ = {{ฮ›} โˆช 0ฮ”} โˆช {0X โˆฃ X โˆˆ ๐’Ÿ}. Describe the construct in terms of elements. Is this a suitable functor? Prove that ๐’Ÿ_โŠฅ โŠ• โ„ฐ_โŠฅ โ‰… ๐’Ÿ + โ„ฐ. What is ๐’Ÿ_โŠฅ โŠ— โ„ฐ_โŠฅ โ‰… ??

The lifting ๐’Ÿ_โŠฅ adds a new bottom below a 0-tagged copy of ๐’Ÿ. Its master is {ฮ›} โˆช 0ฮ” and its proper neighbourhoods are the 0X for X โˆˆ ๐’Ÿ (including 0ฮ”, which sits strictly above the new bottom {{ฮ›} โˆช 0ฮ”}). It is the one-summand analogue of Exercise 6.19's sum.

Contents #

All constructions are choice-free (#print axioms โІ {propext, Quot.sound}); the lone exception is eq_liftBot_or_exists_liftUp, a Prop-level case split that uses excluded middle (Classical) to decide whether an element lies above the fresh bottom โ€” unavoidable and called out there.

The lifted system ๐’Ÿ_โŠฅ over {0,1}* #

Exercise 6.26 โ€” the lifted system ๐’Ÿ_โŠฅ over {0,1}*. A neighbourhood is the master {ฮ›} โˆช 0ฮ” or a tagged copy 0X (X โˆˆ ๐’Ÿ). โˆ…-freeness of ๐’Ÿ (hD) keeps it โˆ…-free.

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

    The lift object ๐’Ÿ_โŠฅ of Scott's category.

    Equations
    Instances For

      Elements: |๐’Ÿ_โŠฅ| โ‰… |๐’Ÿ|_โŠฅ #

      The fresh bottom of ๐’Ÿ_โŠฅ: the element whose only neighbourhood is the master {ฮ›} โˆช 0ฮ”.

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

        The embedding |๐’Ÿ| โ†ช |๐’Ÿ_โŠฅ|: liftUp x = {{ฮ›} โˆช 0ฮ”} โˆช {0X โˆฃ X โˆˆ x}, the image of x sitting above the fresh bottom.

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

          liftBot is the least element of ๐’Ÿ_โŠฅ.

          The fresh bottom is strictly below every lifted element.

          The unlift of an element that lies above the fresh bottom (i.e. contains 0ฮ”): the ๐’Ÿ-element {X โˆฃ 0X โˆˆ z}.

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

            Exercise 6.26 โ€” "describe in terms of elements". Every element of ๐’Ÿ_โŠฅ is either the fresh bottom or a lifted ๐’Ÿ-element: |๐’Ÿ_โŠฅ| โ‰… |๐’Ÿ|_โŠฅ. (Prop-level; the case split on "does z contain 0ฮ”?" uses excluded middle โ€” the only non-constructive step in this module.)

            Functoriality: (ยท)_โŠฅ is a strict functor #

            f_โŠฅ, the action of lifting on (approximable) maps. It carries the master to the master (so it is strict) and a copy 0X to 0X' whenever X f X'.

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

              f_โŠฅ is strict for any f: the master ฮ›-bearing input relates only to the master.

              (g โˆ˜ f)_โŠฅ = g_โŠฅ โˆ˜ f_โŠฅ.

              ๐’Ÿ_โŠฅ โŠ• โ„ฐ_โŠฅ โ‰…แดฐ ๐’Ÿ + โ„ฐ #

              The coalesced sum of the two lifts has tokens 0ยท0ยทX' (X' โˆˆ ๐’Ÿ) and 1ยท0ยทY' (Y' โˆˆ โ„ฐ), with the shared bottom {ฮ›} โˆช 0(liftTokMaster ๐’Ÿ) โˆช 1(liftTokMaster โ„ฐ). The separated sum ๐’Ÿ + โ„ฐ has tokens 0X', 1Y'. The element iso simply deletes the inner 0. The cross-tag intersections vanish (โˆ…-freeness), exactly as in Exercise 6.19's toSum/fromSum.

              The forward half |๐’Ÿ_โŠฅ โŠ• โ„ฐ_โŠฅ| โ†’ |๐’Ÿ + โ„ฐ|: delete the inner 0.

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

                The inverse half |๐’Ÿ + โ„ฐ| โ†’ |๐’Ÿ_โŠฅ โŠ• โ„ฐ_โŠฅ|: reinstate the inner 0.

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

                  The order-isomorphism |๐’Ÿ_โŠฅ โŠ• โ„ฐ_โŠฅ| โ‰ƒo |๐’Ÿ + โ„ฐ|.

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

                    Exercise 6.26 โ€” ๐’Ÿ_โŠฅ โŠ• โ„ฐ_โŠฅ โ‰… ๐’Ÿ + โ„ฐ. Coalescing the fresh bottoms of the two lifts reproduces the separated sum.

                    ๐’Ÿ_โŠฅ โŠ— โ„ฐ_โŠฅ โ‰…แดฐ (๐’Ÿ ร— โ„ฐ)_โŠฅ โ€” the answer to Scott's ?? #

                    The smash of the two lifts has proper neighbourhoods {ฮ›} โˆช 0(0X') โˆช 1(0Y') (i.e. prodTokNbhd (0X') (0Y'), with X' โˆˆ ๐’Ÿ, Y' โˆˆ โ„ฐ). The lift of the product has proper neighbourhoods 0(prodTokNbhd X' Y'). The element iso transports one rectangle presentation to the other. Unlike the sum there are no cross-tag intersections, so the proof is purely "rectangular".

                    The forward half |๐’Ÿ_โŠฅ โŠ— โ„ฐ_โŠฅ| โ†’ |(๐’Ÿ ร— โ„ฐ)_โŠฅ|.

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

                      The inverse half |(๐’Ÿ ร— โ„ฐ)_โŠฅ| โ†’ |๐’Ÿ_โŠฅ โŠ— โ„ฐ_โŠฅ|.

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

                        The order-isomorphism |๐’Ÿ_โŠฅ โŠ— โ„ฐ_โŠฅ| โ‰ƒo |(๐’Ÿ ร— โ„ฐ)_โŠฅ|.

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

                          Exercise 6.26 โ€” ๐’Ÿ_โŠฅ โŠ— โ„ฐ_โŠฅ โ‰… (๐’Ÿ ร— โ„ฐ)_โŠฅ (the answer to Scott's ??). The smash product of two lifts is the lift of the product.