Documentation

QuasiBorelSpaces.ProbabilisticPowerdomain

Probabilistic powerdomain (sections 4.1–4.4) #

This file follows Sections 4.1–4.4 of [VKS19]. It records the basic structures (randomizations, expectation operators, sampling, scoring, closures under ω-sups).

Reals with the Lebesgue measure and a discrete ωCPO structure

  • val :

    The underlying real number

Instances For

    Discrete order on the randomness carrier

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

    Trivial ωCPO on R: chains are constant by discreteness

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

    ωQBS structure on R (compatibility axiom holds vacuously)

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

    ωCPO on extended non-negative reals using the usual supremum of a chain

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

    ωQBS structure on ENNReal

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

    Trivial ωQBS on the unit type

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

    ωQBS structure on lifted values

    Equations
    • One or more equations did not get rendered due to their size.
    @[reducible, inline]

    Randomizations of X are partial maps from the randomness source

    Equations
    Instances For
      @[reducible, inline]

      Expectation operators on X (the Giry-style exponential)

      Equations
      Instances For
        def QuasiBorelSpaces.liftWeight (X : Type u_1) (w : XENNReal) :

        Lift a weight to a partial result

        Equations
        Instances For

          Domain of a randomization

          Equations
          Instances For

            Evaluate the expectation of a weight under a randomization

            Equations
            Instances For
              def QuasiBorelSpaces.E_op (X : Type u_1) [OmegaQuasiBorelSpace X] (α : RX X) :
              JX X

              Bundle the expectation operator arising from a randomization

              Equations
              Instances For

                The expectation morphism E : RXJX

                Equations
                Instances For

                  Monad unit on randomizations (Dirac)

                  Equations
                  Instances For

                    A measurable splitting of randomness as in the transfer principle

                    Instances

                      A default instance of RandomSplit (placeholder for now)

                      Equations
                      def QuasiBorelSpaces.bind_R (X : Type u_1) [OmegaQuasiBorelSpace X] [RandomSplit] {Y : Type u_1} [OmegaQuasiBorelSpace Y] (α : RX X) (k : XRX Y) :
                      RX Y

                      Monad bind on randomizations using the randomness splitting

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

                        Monad unit on expectation operators

                        Equations
                        Instances For
                          def QuasiBorelSpaces.bind_J (X : Type u_1) [OmegaQuasiBorelSpace X] {Y : Type u_2} [OmegaQuasiBorelSpace Y] (μ : JX X) (k : XJX Y) :
                          JX Y

                          Monad bind on expectation operators

                          Equations
                          Instances For
                            theorem QuasiBorelSpaces.return_bind_J (X : Type u_1) [OmegaQuasiBorelSpace X] {Y : Type u_2} [OmegaQuasiBorelSpace Y] {x : X} {f : XJX Y} :
                            bind_J X (return_J X x) f = f x
                            theorem QuasiBorelSpaces.bind_bind_J (X : Type u_1) [OmegaQuasiBorelSpace X] {Y : Type u_2} {Z : Type u_3} [OmegaQuasiBorelSpace Y] [OmegaQuasiBorelSpace Z] {x : JX X} {f : XJX Y} {g : YJX Z} :
                            bind_J Y (bind_J X x f) g = bind_J X x fun (y : X) => bind_J Y (f y) g

                            Expectation preserves the monad structure on randomizations

                            theorem QuasiBorelSpaces.E_preserves_bind (X : Type u_1) [OmegaQuasiBorelSpace X] {Y : Type u_1} [OmegaQuasiBorelSpace Y] (α : RX X) (k : X →ω𝒒 RX Y) :
                            (E Y) (bind_R X α k) = bind_J X ((E X) α) fun (x : X) => (E Y) (k x)

                            Predicate: expectation operator arising from a randomization

                            Equations
                            Instances For

                              Randomizable expectation operators as a subtype

                              Equations
                              Instances For
                                @[reducible, inline]

                                Randomizations valued in randomizations

                                Equations
                                Instances For
                                  @[reducible, inline]

                                  Randomizable random operators (random elements of JX)

                                  Equations
                                  Instances For
                                    noncomputable def QuasiBorelSpaces.E_rand (X : Type u_1) [OmegaQuasiBorelSpace X] (β : MRX X) :
                                    MSX X

                                    Extend E pointwise to random randomizations

                                    Equations
                                    Instances For
                                      inductive QuasiBorelSpaces.InTX (X : Type u_1) [OmegaQuasiBorelSpace X] :
                                      JX XProp

                                      Membership in the ω-sup-closure of randomizable operators

                                      Instances For

                                        Membership in the ω-sup-closure of randomizable random operators

                                        Instances For
                                          @[reducible, inline]

                                          Probabilistic powerdomain: smallest ω-subcpo of JX

                                          Equations
                                          Instances For
                                            @[reducible, inline]

                                            Random elements of the powerdomain

                                            Equations
                                            Instances For

                                              Order structure on T X inherited from the ambient JX

                                              Equations

                                              Order structure on M T X inherited from the ambient M JX

                                              Equations

                                              Inclusion of TX into JX

                                              Equations
                                              Instances For

                                                Inclusion of MTX into MSX

                                                Equations
                                                Instances For
                                                  noncomputable def QuasiBorelSpaces.E_T (X : Type u_1) [OmegaQuasiBorelSpace X] (α : RX X) :
                                                  TX X

                                                  Expectation factors through T

                                                  Equations
                                                  Instances For
                                                    noncomputable def QuasiBorelSpaces.E_MT (X : Type u_1) [OmegaQuasiBorelSpace X] (β : MRX X) :
                                                    MTX X

                                                    Pointwise extension of E_T to random randomizations

                                                    Equations
                                                    Instances For

                                                      TX inherits an ωCPO structure from JX

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

                                                      TX is an ωQBS as a full subobject of JX

                                                      Equations

                                                      MTX inherits an ωCPO structure from MSX

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

                                                      MTX is an ωQBS as a full subobject of MSX

                                                      Equations

                                                      Monad unit on T obtained by restriction

                                                      Equations
                                                      Instances For
                                                        def QuasiBorelSpaces.bind_T (X : Type u_1) [OmegaQuasiBorelSpace X] {Y : Type u_2} [OmegaQuasiBorelSpace Y] (t : TX X) (k : XTX Y) :
                                                        TX Y

                                                        Monad bind on T, restricting the J bind

                                                        Equations
                                                        Instances For

                                                          (placeholder) The inclusion T ↪ J is a monad morphism (See theorem 4.3 of [VKS19])

                                                          noncomputable def QuasiBorelSpaces.sample_map :
                                                          UnitRX R

                                                          sample : 1 → R R is the identity randomization on reals

                                                          Equations
                                                          • One or more equations did not get rendered due to their size.
                                                          Instances For
                                                            noncomputable def QuasiBorelSpaces.score_map (r : R) :

                                                            score : R → R⊥ truncates Lebesgue to an interval of length |r|

                                                            Equations
                                                            Instances For
                                                              noncomputable def QuasiBorelSpaces.sample_T :
                                                              UnitTX R

                                                              Sampling lifted to the powerdomain

                                                              Equations
                                                              Instances For
                                                                noncomputable def QuasiBorelSpaces.score_T (r : R) :

                                                                Conditioning lifted to the powerdomain

                                                                Equations
                                                                Instances For