Tom de Jong, 4 June 2019
Updated 23 December 2021
Updated 12 and 14 June 2022

Index for the formalization of domain theory, briefly describing the contents of
each directory, ordered almost¹ alphabetically by directory name.
(¹ Basics is first.)

Several additional domain-theoretic formalization targets are listed at the end.

─────────────────────────────────────────────────────────────────────
This accompanies the PhD thesis
  Domain Theory in Constructive and Predicative Univalent Foundations
  Tom de Jong
  School of Computer Science, University of Birmingham
  https://arxiv.org/abs/2301.12405

  Submitted: 30 September 2022
  Defended:  20 December  2022
  Accepted:   1 February  2023
─────────────────────────────────────────────────────────────────────

\begin{code}

{-# OPTIONS --safe --without-K --exact-split #-}

module DomainTheory.index where

{- Basics

1. Basic definitions of directed complete posets and Scott continuous maps
2. Exponentials of (pointed) dcpos
3. Least fixed points of Scott continuous maps
4. Various general definitions and facts on directed complete posets and Scott
   continuous maps, e.g. embedding-projection pairs, locally small dcpos, etc.
5. Definitions and properties of pointed dcpos and strict Scott continuous maps
6. Useful facts about sup-complete dcpos, e.g. the directification of families
7. Definitions and basic properties of the way-below relation, including
   compactness
-}

import DomainTheory.Basics.Dcpo            -- (1)
import DomainTheory.Basics.Exponential     -- (2)
import DomainTheory.Basics.LeastFixedPoint -- (3)
import DomainTheory.Basics.Miscelanea      -- (4)
import DomainTheory.Basics.Pointed         -- (5)
import DomainTheory.Basics.SupComplete     -- (6)
import DomainTheory.Basics.WayBelow        -- (7)

{- BasesAndContinuity

1. The theory of small (compact) bases
2. The theory of continuous/algebraic dcpos
3. A discussion on possible definitions of continuous dcpo
4. The Ind-completion is used to discuss the notion of (structurally/pseudo-)
   continuous dcpos
5. Using step functions we show that sup-complete dcpos with small compact bases
   are closed under exponentials
-}

import DomainTheory.BasesAndContinuity.Bases                -- (1)
import DomainTheory.BasesAndContinuity.Continuity           -- (2)
import DomainTheory.BasesAndContinuity.ContinuityDiscussion -- (3)
import DomainTheory.BasesAndContinuity.IndCompletion        -- (4)
import DomainTheory.BasesAndContinuity.StepFunctions        -- (5)

{- Bilimits

1. Bilimits of directed diagrams
2. Specializing to bilimits of ℕ-indexed diagrams
3. Scott's famous D∞ that is isomorphic to its own function space
-}

import DomainTheory.Bilimits.Directed   -- (1)
import DomainTheory.Bilimits.Sequential -- (2)
import DomainTheory.Bilimits.Dinfinity  -- (3)

{- Examples

1. The ideal completion of the dyadics is a nice example of a continuous dcpo
   (with a small basis) that cannot be algebraic as it has no compact elements
   at all.
2. The type Ω of propositions is an examples of a pointed algebraic dcpo with
   the booleans giving a small compact basis
3. The powerset is an examples of a pointed algebraic dcpo with lists giving a
   small compact basis (through Kuratowski finite subsets)
-}

import DomainTheory.Examples.IdlDyadics -- (1)
import DomainTheory.Examples.Omega      -- (2)
import DomainTheory.Examples.Powerset   -- (3)

{- IdealCompletion

1. Construction of the rounded ideal completion of an abstract basis
2. Properties of the ideal completion, e.g. it has a small compact basis
3. Through the ideal completion, every continuous dcpo with a small basis is a
   continuous retract of an algebraic dcpo with a small compact basis
-}

import DomainTheory.IdealCompletion.IdealCompletion -- (1)
import DomainTheory.IdealCompletion.Properties      -- (2)
import DomainTheory.IdealCompletion.Retracts        -- (3)

{- Lifting

1. Freely adding a least element to a dcpo
2. The lifting is the free pointed dcpo on a set
3. The lifting of a set is algebraic with a small compact basis
-}

import DomainTheory.Lifting.LiftingDcpo         -- (1)
import DomainTheory.Lifting.LiftingSet          -- (2)
import DomainTheory.Lifting.LiftingSetAlgebraic -- (3)

{- ScottModelOfPCF

0. Combinatory version of PCF
1. Denotational semantics of the K, S and ifZero combinators of PCF
2. The Scott model of the typed programming language PCF
-}

import DomainTheory.ScottModelOfPCF.PCF             -- (0)
import DomainTheory.ScottModelOfPCF.PCFCombinators  -- (1)
import DomainTheory.ScottModelOfPCF.ScottModelOfPCF -- (2)

{- Topology (by Ayberk Tosun)

0. The definition of the Scott topology of a dcpo

-}

import DomainTheory.Topology.ScottTopology          -- (0)

\end{code}

Additional formalization targets
────────────────────────────────

The Formalization chapter in the aforementioned PhD thesis
(https://arxiv.org/abs/2301.12405) details a few things (in the form of specific
lemmas) that have been left unformalized.

We present a succinct list of domain-theoretic formalization targets here:

1. Complete the formalization that bounded complete (continuous) dcpos with a
   small basis are closed under exponentials. It follows from the case of
   algebraic domains through a lemma that is left unformalized.
   See DomainTheory.BasesAndContinuity.StepFunctions for details.

2. Formalize the untyped λ-calculus and its interpretation in Scott's D∞.
   See DomainTheory.Bilimits.Dinfinity for the construction of D∞.

3. Formalize the results in reverse mathematics and delta-complete posets.
   See Chapter 6 of the PhD thesis for details.

4. Formalize the definition of the Scott topology of a (continuous) dcpo and
   show that the Scott opens form a frame, using Ayberk Tosun's formalization of
   frames and locales, see Locales.index.

   Additionally, show that the Scott topology of a continuous dcpo is spectral,
   as defined in Locales.CompactRegular.


Item 2 should be a fun challenge for a student with an interest in
(domain-theoretic semantics of) programming languages.

If you'd like to work on Item 4, please get in touch with Ayberk Tosun.