# Basic Inframeasure Theory

$\newcommand{\m}{m} \newcommand{\vsupm}{\mathcal{M}^{sa}} \newcommand{\supm}{\mathcal{M}^{a}} \newcommand{\la}{\lambda} \newcommand{\pf}{f^{+}} \newcommand{\sm}{M} \newcommand{\sig}{\sigma} a$

Our task in this post will be to develop the basic theory and notation for inframeasures and sa-measures. The proofs and concepts require some topology and functional analysis. We assume the reader is familiar with topology and linear algebra but not functional analysis, and will explain the functional analysis concepts more. If you wish to read through these posts, PM me to get a link to MIRIxDiscord, we'll be doing a group readthrough where I or Vanessa can answer questions. [Here's the previous post](https://www.alignmentforum.org/posts/zB4f7QqKhBHa5b37a/introduction-to-the-inframeasure-sequence) and here [are the](https://www.alignmentforum.org/posts/PTcktJADsAmpYEjoP/proofs-section-1-1-initial-results-to-lf-duality) proof [sections](https://www.alignmentforum.org/posts/b9jubzqz866CModHB/proofs-section-1-2-mixtures-updates-pushforwards). Beware, the proof sections are hard.

**Notation Reference**
----------------------

Feel free to skip this segment and refer back to it when needed. Duplicate the tab, keep one of them on this section, and you can look up notation here.

$X,Y$: some compact metric space. Points in this are denoted by $x$ or $y$.

$d$: Some distance metric.

$\mathcal{M}^{\pm}(X)$: The topological vector space of finite signed measures over $X$ equipped with the weak topology. A sequence of measures $m_n$ converges to m in the weak topology iff, for all bounded continuous functions f of type $X\to\mathbb{R}$, $\int_{X} f(x) dm_{n}$ limits to $\int_{X} f(x) dm$. Elements are denoted by $\m$. By [Jordan decomposition](https://en.wikipedia.org/wiki/Hahn_decomposition_theorem), we can uniquely split it into $\m^{+}+\m^{-}$ where the former is all-positive and the latter is all-negative.

$C(X),C(X,[0,1])$: The Banach space of continuous functions $X\to\mathbb{R}$. The latter one is the space of continuous functions bounded in $[0,1]$. Elements of $C(X,[0,1])$ are typically denoted by $f$.

$\m(f)$: We can interpret signed measures as continuous linear functionals on $C(X)$. This is given by $\int_{X}f(x)d\m$. If $\m$ was actually a probability distribution, this would just be $\mathbb{E}_{\mu}(f)$. They're generalized expectations.

$b$: used to refer to the number component of an a-measure or sa-measure.

$\vsupm(X)$: The closed convex cone of sa-measures. An sa-meaure is a pair $(\m,b)$ where $b+\m^{-}(1)\ge 0$. Elements of this (sa-measures) are denoted by $\sm$.

$\pf$: A positive functional. A continuous linear functional that's nonnegative for all sa-measures.

$B$: A set of sa-measures.

$\mathbb{E}_{B}(f)$: The expectation of a function $f$ relative to a set of sa-measures. Defined as $\inf_{(\m,b)\in B}(\m(f)+b)$.

$B^{\min}, B^{uc}$: The set of minimal points of $B$ (points that can't be written as a different point in $B$ plus a nonzero sa-measure), and the upper completion of $B$ ($B+\vsupm(X)$), respectively.

$\supm(X):$ The closed convex cone of a-measures. An a-measure is a pair $(\m,b)$ where $\m$ is a measure (no negative component) and $b\ge 0$. It can also be written as $(\la\mu,b)$ where $\la\ge 0$, and $\mu$ is a probability distribution.

$\la$: Given an a-measure, its $\la$ value is the $\la$ from writing the a-measure as $(\la\mu,b)$. At the end, it's used for lambda-notation to describe complicated functions. Context distinguishes.

$\la^{\odot}$: Either the minimal upper bound on the $\la$ values of the minimal points of a set $B$, or the Lipschitz constant of a function $h$ (there's a close link between the two).

$\overline{B},c.h(B)$: The closure and convex hull of a set, respectively.

$H$: An infradistribution. A set of sa-measures fulfilling the properties of nonemptiness, closure, convexity, upper-completeness, positive-minimals, (weak)-bounded minimals, and normalization.

$\Box X$: The set of infradistributions over $X$. $\Box^{b} X$ is the set of bounded infradistributions over $X$.

$\Delta X$: The space of probability distributions over some set $X$.

$h$: The function induced by an $H$ that goes $f\mapsto\mathbb{E}_{H}(f)$. Or, just a function $C(X,[0,1])\to[0,1]$ that's concave, monotone, uniformly continuous, and normalized, there's a link with infradistributions.

$g,g_{*}$: If you're seeing it in the context of a pushforward, $g$ is a continuous function $X\to Y$, and $g_{*}$ is the induced function $\Box X\to\Box Y$. If you're seeing $g$ in the context of updating, it's a continuous function in $C(X,[0,1])$.

$\zeta$: Used to denote probability distributions used for mixing stuff together, a probability distribution over the natural numbers or a finite subset of them in all cases. $\zeta_i$ is the probability on the number $i$.

$i$: The index variable for mixing, like indexing infradistributions or points or functions.

$\mathbb{E}_{\zeta}H_i$: A mix of sets, defined as the set of every point that can be constructed by selecting a point from each $H_i$ and mixing according to $\zeta$.

$L$: A function in $C(X,[0,1])$, thought of as the indicator function for a fuzzy set, that we use for updating.

$f\bigstar^{L}g$: The function made by gluing $f$ and $g$ together via $L$, defined as $(f\bigstar^{L}g)(x):=L(x)f(x)+(1-L(x))g(x)$.

$supp(f)$: The support of a function $f$, the set of $x$ where $f(x)>0$.

$\textbf{1}_{E}$: The indicator function that's 1 on set $E$, 0 everywhere else.

$\mathbb{P}_{H}^{g}(L)$: The probability of $L$ relative to the function $g$ according to the infradistribution $H$, it's defined as $\mathbb{E}_{H}(1\bigstar^{L}g)-\mathbb{E}_{H}(0\bigstar^{L}g)$

$H|^{g}L$: The infradistribution $H$ updated on the fuzzy set $L$ relative to the function $g$.

$K$: An infrakernel, a function fulfilling some continuity properties, of type signature $X\to\Box Y$.

**Basic concepts**
------------------

Time to start laying our mathematical groundwork, like the spaces we'll be working in.

$X$ is some compact metric space, equipped with the Borel $\sig$-algebra (which, in this case, is the same as the Baire $\sig$-algebra) We could probably generalize this further to complete metric spaces, but things get significantly trickier (one of many directions for future research), and compact metric spaces are quite well-behaved.

Concrete examples of compact metric spaces include the space of infinite bitstrings, the color space for a mantis shrimp, the surface of a sphere, a set of finitely many points, the unit interval, the space of probability distributions over a compact metric space, and countable products of compact metric spaces.

Let's recap some functional analysis terminology for those seeing it for the first time, and a bit of the notation we're using, you can skip this part if you already know it. Vector spaces in full generality may lack much of the nice structure present in $\mathbb{R}^n$ that's used in Linear Algebra. Going from the strongest and most useful structure to the weakest, there's a chain of implication that goes inner product, norm, metric, topology. If you have an inner product, you can get a norm. If you have a norm, you can get a metric from that via $d(x,y)=||x-y||$, and if you have a metric, you can get a topology from that (with a basis of open balls centered at points). The structure must be imposed on the vector space, and there may be some freedom in doing so, like how $\mathbb{R}^n$ can have the $L^1$, $L^2$, or $L^{\infty}$ norm.

A Banach space is a vector space equipped with a norm (a notion of size for vectors), that's also closed under taking limits, just like $\mathbb{R}$ is.

The term "functional" is used for a function to $\mathbb{R}$. So, a continuous linear functional on a vector space $\mathcal{V}$ is a function that's: linear, continuous, and has type signature $\mathcal{V}\to\mathbb{R}$.

The term "dual space of $\mathcal{V}$" is used for the vector space of continuous linear functionals $\mathcal{V}\to\mathbb{R}$.

The space $C(X)$ is the Banach space of continuous functions $X\to\mathbb{R}$ equipped with the supremum norm. Ie, $||f||=\max_{x\in X}|f(x)|$. We'll also use $C(X,[0,1])$ to denote the subset that just consists of continuous functions bounded in $[0,1]$. The dual space of $C(X)$ is $\mathcal{M}^{\pm}(X)$, the vector space of finite signed measures over $X$ equipped with the weak topology.

Moving on from the functional analysis terminology, let's consider finite signed measures $\m$, an element of $\mathcal{M}^{\pm}(X)$. A signed measure $\m$ can be uniquely split into a positive  part and a negative part $\m^{+}+\m^{-}$, by the [Jordan Decomposition Theorem](https://en.wikipedia.org/wiki/Hahn_decomposition_theorem). The "finite" part just means that $\m^{+}$ doesn't assign any set $\infty$ measure and $\m^{-}$ doesn't asssign any set $-\infty$ measure.

Now, we said that the space of finite signed measures was the dual space of $C(X)$ (continuous functions $X\to\mathbb{R}$). So... how does a signed measure correspond to a continuous linear functional over $C(X)$? Well, that corresponds to $\m(f):=\int_{X}f(x)d\m$

If $\m$ was a probability distribution $\mu$, then $\mu(f)$ would be $\mathbb{E}_{\mu}(f)$, so this is just like taking the expected value, but generalizing to negative regions in $\m$. We'll be using this notation $\m(f)$ a whole lot. Because finite signed measures perfectly match up with continuous linear functionals $C(X)\to\mathbb{R}$, we can toggle back and forth between whichever view is the most convenient in the moment, viewing continuous linear functionals on $C(X)$ as finite signed measures, and vice-versa.

Our ambient vector space we work in is $\mathcal{M}^{\pm}(X)\oplus\mathbb{R}$, a pair of a signed measure and a number. $\oplus$ is the direct sum, which is basically Cartesian product for vector spaces.

EDIT: Definition 1 was eliminated as it turned out that weak convergence of measures was the concept to use instead of the Kantorovich-Rubenstein metric.

Why are we using the unfamiliar weak topology here, instead of the trusty old total variation distance between measures? Well, if we have a bunch of [Dirac-delta distributions](https://en.wikipedia.org/wiki/Dirac_measure) at 0.9, 0.99, 0.999..., then according to the weak topology, they'd limit to a Dirac-delta distribution at 1. According to total variation distance, these distributions wouldn't converge. Similarly, if we've got two probability distributions over histories for an environment we're in, and they behave *very* similarly and then start diverging after the gazillionth timestep, the weak topology would go "hm, those two distributions are very close to each other", while total variation distance says they're very different. Also, if we've got finitely many points at distance 1 from each other, the weak topology and topology induced by total variation distance match up with each other (up to a constant). But total variation distance is  a bit too restrictive for the continuous case.

There's a sense in which convergence in total variation distance is too strict because it requires a "perfect match" to exist in your hypothesis space, while convergence in the weak topology is just right for nonrealizability because, instead of requiring a "perfect match", it just requires that you get sufficiently close. Instead of getting accurate predictions for the rest of forever, it's a requirement that's something more like "you'll be accurate for the next zillion timesteps, and the time horizon where you start being inaccurate gets further and further away over time". You can draw an analogy to how utility functions with the time discount don't care that much about what happens at very late times.

Going with the weak topology means we've got very nice dual spaces and compactness properties, while with the topology induced total variation distance, Wikipedia doesn't even know what the dual space *is*.

So, tl;dr, the weak topology is a much better choice for our setting, and we're working in $\mathcal{M}^{\pm}(X)\oplus\mathbb{R}$ as our vector space, which is equipped with the weak topology and is closed under limits.

**Definition 2: Sa-Measure**

*A point *$\sm\in\mathcal{M}^{\pm}(X)\oplus\mathbb{R}$*, which, when written as a pair of a signed measure and a number *$(\m,b)$*, has *$b+\m^{-}(1)\ge 0$*. The set of sa-measures is denoted by *$\vsupm(X)$*.*

**Definition 3: A-Measure**

*A point *$\sm\in\mathcal{M}^{\pm}(X)\oplus\mathbb{R}$*, which, when written as a pair of a signed measure and a number *$(\m,b)$*, has *$\m$* as a measure, and *$b\ge 0$*. The set of a-measures is denoted by *$\supm(X)$*.*

Note that $\supm(X)$ and $\vsupm(X)$ are both closed [convex cones](https://en.wikipedia.org/wiki/Convex_cone). A closed convex cone is a subset of a vector space that: Is closed under multiplication by any $a\ge 0$, is closed under addition, and is closed under limits. For visual intuition, imagine a literal cone with its point at 0 in $\mathbb{R}^{3}$ that's heading off in some direction, and see how it fulfills those 3 properties.

**Basic Inframeasure Conditions**
---------------------------------

Before proceeding further, we should mention that Theorems 1, 2, and 3 are fairly elementary and have probably been proved in more generality in some different paper on convex analysis. We just call them theorems because they're important, not necessarily original. Past that, things get more novel. Sets of distributions instead of distributions have been considered before under the name "[Imprecise Probability](https://en.wikipedia.org/wiki/Imprecise_probability)", as have nonlinear expectations and some analogues to probability theory, Shige Peng [wrote a book](https://arxiv.org/pdf/1002.4546.pdf) on the latter. We found out about this after coming up with it independently. The main innovations that have not been found elsewhere are augmenting the sets of probability distributions with extra data (ie, our sa-measures) to get a dynamically consistent update rule, and how to deal with environments/link the setting to reinforcement learning. Let's move on.

Let $B$ be some arbitrary set of sa-measures. We're obviously nowhere near calling it an infradistribution, because we haven't imposed any properties on it. And different $B$ may have the same behavior, we're nowhere near our second desideratum of collapsing equivalence classes of $B$'s with the same behavior. Well, nonemptiness should be a fairly obvious property to add.

**Condition 1: Nonemptiness:** $B\neq\emptyset$

From here, let's see how we can enlarge $B$ without affecting its behavior. But hang on, what do we even mean by "behavior"??

**Definition 4: Expectation w.r.t. a Set of Sa-Measures**

$\mathbb{E}_{B}(f):=\inf_{(\m,b)\in B}(\m(f)+b)$* where *$f\in C(X,[0,1])$* and *$B$* is nonempty.*

This is what we mean by "behavior", all these values should be left unchanged, regardless of $f$.

**Proposition 1:** *If *$f\in C(X,[0,1])$* then *$\pf:(\m,b)\mapsto\m(f)+b$* is a positive functional for *$\vsupm(X)$*.*

A positive functional for $\vsupm(X)$ is a continuous linear function  $\mathcal{M}^{\pm}(X)\oplus\mathbb{R}\to\mathbb{R}$ that is nonnegative everywhere on $\vsupm(X)$.

This suggests two more conditions besides Nonemptiness.

**Condition 2: Closure:** $B=\overline{B}$

**Condition 3: Convexity:** $B=c.h(B)$

Why can we impose closure and convexity? Taking the closure of $B$ wouldn't affect any expectation values, it'd only swap $\inf$ for $\min$ in some cases because $(\m,b)\mapsto\m(f)+b$ is continuous. Also, since everything we're querying our set $B$ with is $\inf$ of a linear functional by Proposition 1, we can take the convex hull without changing anything. So, swapping $B$ out for its closed convex hull, no expectation values change at all.

But wait, we aren't querying $B$ with *all* linear functionals, we're *only* querying it with positive functionals that are constructed from a $f$ in $C(X,[0,1])$. Or does this class of positive functionals go further than we think? Yes, it does, actually.

**Theorem 1, Functionals To Functions:** *Every positive functional on *$\vsupm(X)$* can be written as *$(\m,b)\mapsto c(\m(f)+b)$*, where *$c\ge 0$*, and *$f\in C(X,[0,1])$

Nice! We actually are querying our set with all positive functionals, because we've pretty much got everything with just $f\in C(X,[0,1])$, and everything else is just a scalar multiple of that.

**Upper Completion and Minimal Points**
---------------------------------------

If you have a point $\sm\in B$, and some other point $\sm^{*}$ that's an sa-measure, we might as well add $\sm+\sm^{*}$ to $B$. Why? Well, given some positive functional $\pf$ (and everything we're querying our set $B$ with is a positive functional by Proposition 1,

$\pf(\sm+\sm^{*})=\pf(\sm)+\pf(\sm^{*})\ge\pf(\sm)$

By linearity and positive functionals being nonnegative on sa-measures, your new point $\sm+\sm^{*}$ has equal or greater value than $\sm$, so when we do $\inf_{\sm\in B}\pf(\sm)$, the addition of the new point didn't change anything at all, regardless of which positive functional/continuous function (by Theorem 1) we're using. So then, let's add in *all* the points like this! It's free. This would be done via [Minkowski sum](https://en.wikipedia.org/wiki/Minkowski_addition).

$B+\vsupm(X)=\{\sm|\sm=\sm^{B}+\sm^{*},\sm^{B}\in B,\sm^{*}\in \vsupm(X)\}$

**Definition 5: Upper Completion**

*The upper completion of a set *$B$*, *$B^{uc}$*, is *$B^{uc}:=B+\vsupm(X)$

**Condition 4: Upper Completeness:** $B=B+\vsupm(X)$

Ok, so we add in all those points. Since we're adding two nonempty convex sets, the result is also convex. As for closure...

**Lemma 2:** *The upper completion of a closed set of sa-measures is closed.*

However, $B+\vsupm(X)$ isn't *quite* what we wanted. Maybe there's more points we could add! We want to add in every sa-measure we possibly can to our set as long as it doesn't affect the essential "behavior"/worst-case values. So, we *should* be able to add in a point if every positive functional/continuous function (Proposition 1 and Theorem 1) goes "the value of the point you're looking is undershot by this preexisting point over here". This more inclusive notion of adding points to make $B$ as big as possible (adding any more points would start affecting the "behavior" of our set) would be:

Add a point $(\m',b')$ to $B$ if, for all $f$ in $C(X,[0,1])$, there's a $(\m,b)$ in $B$ where $\m'(f)+b'\ge\m(f)+b$

Actually, this gets us *nothing* over just taking the upper completion/adding $\vsupm(X)$! Check out the next result.

**Proposition 2:** *For closed convex nonempty* $B$,

$B+\vsupm(X)=\{\sm|\forall\pf\exists\sm'\in B:\pf(\sm)\ge\pf(\sm')\}$

Combining Proposition 2 and Theorem 1, our notion of upper closure is exactly the same as "add all the points you possibly can that don't affect the $\inf_{(\m,b)\in B}(\m(f)+b)$ value for any $f$"

Along with the the notion of the upper completion comes the notion of a minimal point.

**Definition 6: Minimal Point**

*A minimal point of a closed nonempty set of sa-measures *$B$* is a point *$\sm\in B$* where, if *$\sm=\sm^{B}+\sm^{*}$*, and *$\sm^{B}\in B$*, and *$\sm^{*}\in\vsupm(X)$* then *$\sm^{*}=0$*. The set of minimal points is denoted *$B^{\min}$

So, minimal points can't be written as a different point in the same set plus a nonzero sa-measure. It's something that can't possibly have been added by the upper-completion if it wasn't there originally. We'll show a picture of the upper completion and minimal points (these two notions generalize to any closed subset of any closed cone), to make things more concrete.

![](https://39669.cdn.cke-cs.com/rQvD3VnunXZu34m86e5f/images/2855032fc4f5401af30b44d93dd63c361d3d66570a67ca29.jpg)

**Theorem 2, Minimal Decomposition:** *Given a nonempty closed set of sa-measures *$B$*, the set of minimal points *$B^{\min}$* is nonempty and all points in *$B$* are above a minimal point.*

This means that we can take any point $\sm\in B$ and decompose it into $\sm^{\min}+\sm^{*}$, where $\sm^{\min}\in B^{\min}$, and $\sm^{*}$ is an sa-measure. We use this a whole lot in proofs. The proof of this uses the axiom of choice in the form of Zorn's Lemma, but separability may let us find some way to dodge the use of the full axiom of choice.

**Proposition 3:** *Given a *$f\in C(X,[0,1])$*, and a *$B$* that is nonempty closed, *$\inf_{(\m,b)\in B}(\m(f)+b)=\inf_{(\m,b)\in B^{\min}}(\m(f)+b)$

So when evaluating $\mathbb{E}_{B}(f)$, we can just minimize within the set of minimal points. Minimal points are the *only* thing that matters for the "behavior" of $B$.

**Proposition 4:** Given a nonempty closed convex $B$, $B^{\min}=(B^{uc})^{\min}$ and $(B^{\min})^{uc}=B^{uc}$

The set of minimal points is left unchanged when you take the upper completion, and taking the upper completion of the set of minimal points equals taking the upper completion of $B$. This is fairly intuitive from the picture.

**Theorem 3, Full Characterization:** *If the nonempty closed convex sets *$A$* and *$B$* have *$A^{\min}\neq B^{\min}$*, then there is some *$f\in C(X,[0,1])$* where *$\mathbb{E}_{A}(f)\neq\mathbb{E}_{B}(f)$

**Corollary 1:** *If two nonempty closed convex upper-complete sets *$A$* and *$B$* are different, then there is some *$f\in C(X,[0,1])$* where *$\mathbb{E}_{A}(f)\neq\mathbb{E}_{B}(f)$

Looking back at our second desideratum, it says "Our notion of a hypothesis in this setting should collapse "secretly equivalent" sets, such that any two distinct hypotheses behave differently in *some* relevant aspect. This will require formalizing what it means for two sets to be "meaningfully different", finding a canonical form for an equivalence class of sets that "behave the same in all relevant ways", and then proving some theorem that says we got everything."

And we did exactly that. Also, Theorem 3 and the other results justify the view of the minimal points as the "unique identifier" of a closed convex set. If two closed convex sets have the same minimal-point ID, then taking the upper completion gets you the same set, and they behave the same w.r.t all the queries we can throw at them. If two sets have a different minimal-point ID, then when we take the upper completion, they're different, and there's some query that distinguishes them.

**Minimal Point Conditions**
----------------------------

Well, this is the basics. But we can impose some more conditions. We don't really like these signed measures, it'd be nice to work *exclusively* with positive measures, if possible. The minimal points are all we really need to care about by Proposition 3, so let's require that they're all in the smaller cone $\supm(X)$, which has no negative-measure shenanigans afoot. Renormalization may fail if there's minimal points that have negative parts, which is analogous to how you can renormalize a positive measure back to a probability distribution, but a signed measure may not be able to be renormalized back to 1.

**Condition 5: Minimal-positivity:** $B^{\min}\subseteq\supm(X)$

Further, things can get a bit tricky in various places if the minimal points don't lie in some compact set. Applying compactness arguments lets you show that you don't have to close your set after updating, and show up a lot in our proofs of properties of belief functions. However, this next condition isn't essential, just convenient, and it's worthwhile looking at what happens when it's dropped, for future research.

**Condition 6a: Minimal-boundedness:** *There is a compact set *$C$* s.t. *$B^{\min}\subseteq C$*.*

**Proposition 5:** *Let *$\mu$* denote an arbitrary probability distribution. If *$B^{\min}\subseteq\supm(X)$*, then the condition "there is a *$\la^{\odot}$* where,  *$\forall(\la\mu,b)\in B^{\min}:\la\le\la^{\odot}$*" is equivalent to "there is a compact *$C$* s.t. *$B^{\min}\subseteq C$*"*

We mostly use this formulation of Minimal-boundedness instead of the compact set requirement. We only have to bound the scale-terms on the minimal points and we have this property. Again, it's not *essential*, but very convenient.

Is there a weakening of bounded-minimals? Yes there is. I haven't figured out what it means for the set of minimal points *(EDIT 8/28: got a clean iff result about what it means for minimal points while trying to prove something else)*, but it's more mathematically essential, and I don't think it can be dropped if some other post wants to go further than we did. It can't be motivated at this point, we'll have to wait until we get to Legendre-Fenchel Duality.

**Condition 6b: Weak minimal-boundedness:** $f\mapsto\mathbb{E}_{B}(f)$* is uniformly continuous.*

**Normalization**
-----------------

So, we have almost everything. Nonemptiness, closure, convexity, upper-completion, bounded-minimals, minimal-positivity, and minimal-boundedness/weak minimal-boundedness are our conditions so far.

However, there's one more condition. What's the analogue of renormalizing a measure back to 1 in this situation? Well, for standard probability distributions $\mu$, $\mathbb{E}_{\mu}(0)=0$, and $\mathbb{E}_{\mu}(1)=1$. This can be cleanly ported over. We shall require that $\mathbb{E}_{B}(0)=0$, $\mathbb{E}_{B}(1)=1$, that's our analogue of normalization. Unpacking what the expectation means, this corresponds to: There's minimal points $(\la\mu,b)$ where $b$ is arbitrarily close to 0, and there's some minimal point $(\la\mu,b)$ where $\la+b=1$, and there's no points with a lower $\la+b$ value.

**Condition 7: Normalization:** $\mathbb{E}_{B}(1)=1, \mathbb{E}_{B}(0)=0$

Let's recap all the conditions. We'll be using $H$ for something fulfilling all of the following conditions except maybe 6a.

**1: Nonemptiness:** $H\neq\emptyset$

**2: Closure:** $H=\overline{H}$

**3: Convexity:** $H=c.h(H)$

**4: Upper Completeness:** $H=H+\vsupm(X)$

**5: Positive-Minimals:** $H^{\min}\subseteq\supm(X)$

**6a: Bounded-Minimals:** $\exists\la^{\odot}:(\la\mu,b)\in H^{\min}\to\la\le\la^{\odot}$

**6b: Weak Bounded-Minimals:** The function $f\mapsto\mathbb{E}_{H}(f)$ is uniformly continuous.

**7: Normalization:** $\mathbb{E}_{H}(0)=0,\mathbb{E}_{H}(1)=1$

**Definition 7: (Bounded)-Infradistribution/Inframeasure**

*An inframeasure is a set of sa-measures that fulfills conditions 1-5 and 6b. An infradistribution *$H$* is a set of sa-measures that fulfills conditions 1-5, 6b, and 7. The "bounded" prefix refers to fulfilling condition 6a. The set of infradistributions is denoted as *$\Box X$*, the set of bounded infradistributions is denoted as *$\Box^{b}X$*. *

Now, how do we get normalization if it isn't already present? Closure, Convexity, and Upper Completeness can be introduced by closure, convex hull, and upper completion, respectively. How do we turn an inframeasure into an infradistribution?

Well, just take every $(\m,b)$ in your set, and map it to: $\frac{1}{\mathbb{E}_{B}(1)-\mathbb{E}_{B}(0)}(\m,b-\mathbb{E}_{B}(0))$

This may seem a bit mysterious. This normalization can be thought of as analogous to rescaling a utility function to be in $[0,1]$ via scale-and-shift.

What we're doing first, is shifting everything down by $\mathbb{E}_{B}(0)$, which is as much as we possibly can manage without making $b$ go negative anywhere. The utility function analogue would be, if your expected utilities are $(0.4,0.5,0.6)$, this is like shifting them down to $(0,0.1,0.2)$.

The second thing we do is go "ok, what's the lowest value at 1? Let's scale that back up to 1". Well, it'd be $\mathbb{E}_{B}(1)-\mathbb{E}_{B}(0)$ (remember, we shifted first), so we multiply everything by $(\mathbb{E}_{B}(1)-\mathbb{E}_{B}(0))^{-1}$ to get our set of interest.

Hang on, what if there's a divide-by-zero error? Well.. yes, that can happen. In order for it to happen, $\mathbb{E}_{B}(0)=\mathbb{E}_{B}(1)$. Does this correspond to any sensible condition which hopefully doesn't happen often?

**Proposition 6:** $\mathbb{E}_{B}(0)=\mathbb{E}_{B}(1)$* occurs iff there's only one minimal a-measure, of the form *$(0,b)$*.*

Put another way, divide by zero errors occur exactly when Murphy is like "oh cool, no matter what function they pick, the worst thing I can do is give them $b$ value, and then nothing happens so they can't pick up any more value than that", so nothing matters at all. This is exactly like Bayesian renormalization failing when you condition on a probability-0 event (note that the measure component is 0 before rescaling). You give up and cry because, in the worst case, nothing you do matters.

**Proposition 7:** *Renormalizing a (bounded)inframeasure produces a (bounded) infradistribution, if renormalization doesn't fail.*

And we're done for now, we've made it up to infradistributions. Now, how can we analyze them?

**Legendre-Fenchel Duality**
----------------------------

There's an powerful way of transforming an infradistribution to another form, to look at the same thing in two completely different mathematical contexts, and we can build up a sort of dictionary of what various different concepts are in two completely different settings, or develop concepts in one setting and figure out what they correspond to in the other setting.

An example of this sort of thing is Stone Duality, where you can represent a topological space as its lattice of open sets, to translate a huge array of concepts back and forth between topology and lattice theory and work in whichever setting is more convenient. And, working with special lattices that can't always translate to topological spaces, you get locales and pointless topology! Duality theorems are highly fruitful.

This result will be inspired by the well-known fact that signed measures correspond to continuous linear functionals on $C(X)$ via $f\mapsto m(f)$, and probability distributions, when translated over, have extra properties like monotonicity, being 1-Lipschitz, and $\mu(1)=1$.

**Theorem 4, LF-duality, Sets to Functionals:** *If *$H$* is an infradistribution/bounded infradistribution, then *$h:f\mapsto\mathbb{E}_{H}(f)$* is concave, monotone, uniformly continuous/Lipschitz over *$C(X,[0,1])$*, *$h(0)=0,h(1)=1$*, and *$\text{range}(f)\not\subseteq[0,1]\to h(f)=-\infty$

So, expectation w.r.t an infradistribution is concave (not linear, as probability distributions are) and if $f\ge f'$ then $\mathbb{E}_{H}(f)\ge\mathbb{E}_{H}(f')$ (monotonicity). Paired with normalization, this means every appropriate $f$ has $\mathbb{E}_{H}(f)\in[0,1]$.

You get concavity from convexity, the $-\infty$ thing from upper-completeness, monotonicity matches up with "all minimal points are a-measures", Lipschitz corresponds to "all minimal points have $\la\le\la^{\odot}$", uniform continuity corresponds to the weak-minimal-bound condition, and $h(0)=0,h(1)=1$ obviously corresponds to normalization. This is moderately suggestive, our conditions we're imposing on the set side are manifesting as natural conditions on the concave functional we get from $H$.

Is there a reverse direction? How do we start with a $h:C(X,[0,1])\to[0,1]$ that fulfills the conditions, and get an infradistribution from that?

**Theorem 5, LF-Duality, Functionals to Sets:** *If *$h$* is a function *$C(X)\to\mathbb{R}$* that is concave, monotone, uniformly-continuous/Lipschitz, *$h(0)=0,h(1)=1$*, and *$\text{range}(f)\not\subseteq[0,1]\to h(f)=-\infty$*, then it specifies a infradistribution/bounded infradistribution by: *$\{(\m,b)|b\ge(h')^{*}(\m)\}$

*Where *$h'$* is the function given by *$h'(-f)=-h(f)$*, and *$(h')^{*}$*is the* [*convex conjugate*](https://en.wikipedia.org/wiki/Convex_conjugate) *of*$h'$*. Also, going from a infradistribution to an *$h$* and back recovers exactly the infradistribution, and going from an *$h$* to a infradistribution and back recovers exactly *$h$*.*

Another name for the convex conjugate is the Legendre-Fenchel transformation, so that's where we get the term Legendre-Fenchel Duality from. If you want, you can shorten it as LF-duality.

So, (bounded)-infradistributions are isomorphic to concave monotone normalized Lipschitz/uniformly continuous functions $h:C(X,[0,1])\to\mathbb{R}$. This is the LF-Duality. We can freely translate concepts back and forth between "sets of sa-measures that fulfill some conditions" and "concave functionals on $C(X,[0,1])$ that fulfill some conditions".

In particular, actual probability distributions correspond to a: linear, monotone, 1-Lipschitz, normalized functional $C(X,[0,1])\to\mathbb{R}$. So, in the other half of the LF-duality, probability distributions and infradistributions are very nearly the same sort of thing, the only difference between them is that the former is linear and the latter is concave! This is the essential reason why so many probability theory concepts have analogues for infradistributions.

But... what does the LF-transformation actually do? Well, continuous linear functionals $C(X)\to\mathbb{R}$ are equivalent to signed measures, and continuous linear functionals $\mathcal{M}^{\pm}(X)\to\mathbb{R}$ correspond to continuous functions over $X$. A hyperplane in $\mathcal{M}^{\pm}(X)\oplus\mathbb{R}$ corresponds to a point in $C(X)\oplus\mathbb{R}$ and hyperplanes in the latter correspond to points in the former. Points in $H$ turn into hyperplanes above $h$, points on-or-below the graph of $h$ turn into hyperplanes below $H$.

What this transform basically does, is take each suitable $f$, check its value w.r.t $h$, convert the $(f,h(f))$ pair into a hyperplane in $\mathcal{M}^{\pm}(X)\oplus\mathbb{R}$, and go "alright, whichever set $h$ came from must be above this hyperplane". Eventually all the hyperplanes are drawn and you've recovered your infradistribution as the region above the graph of the hyperplanes.

Viewing $\Box X$ as suitable concave functionals on $C(X,[0,1])$, we now have a natural notion of distance between infradistributions analogous to total variation distance

$d(H_1,H_2):=\sup_{f\in C(X,[0,1])}|\mathbb{E}_{H_1}(f)-\mathbb{E}_{H_2}(f)|$

At this point, the use of our uniform-continuity condition is clearer. A uniform limit of Lipschitz functions may not be Lipschitz. However, a uniform limit of uniformly continuous functions is uniformly continuous, so the space $\Box X$ is complete (has all its limit points).

A lot of probability-theory concepts carry over to infradistributions. We have analogues of products, markov kernels, pushforwards, semidirect products, expectations, probabilities, updating, and mixtures. These are most naturally defined in the concave-functional side of the duality first, and then you can conjecture how they work  on sets, and you know you got the right set (modulo closure, convex hull, and upper completion) if the expectations w.r.t your set match up with the defining property in the concave functional picture. The post was getting long-enough as is, so we won't cover most of them in detail, and leave developing inframeasure theory more fully till later posts.

**Pushforwards and Mixing**
---------------------------

Let's look at the first one, pushforwards of a (bounded) infradistribution via a continuous $g:X\to Y$. The standard probability theory analogue of a pushforward is starting with a probability distribution over $X$, and going "what probability distribution over $Y$ is generated by selecting a point from $X$ according to its probability distribution and applying $g$?"

On the positive functional level, this is defined by: $(g_{*}(h))(f):=h(f\circ g)$

Let's take a guess as to what this is on the set level. The obvious candidate is: Take the $(\m,b)$ in $H$, do the usual pushforward of the measure via $g$ to get a signed measure over $Y$, and keep the $b$ term the same, getting a function $g_{*}:\vsupm(X)\to\vsupm(Y)$. If $g$ is something that maps everything to the same point, our resulting measures will only be supported on one point, so we'd have to take upper-completion again in that case. But maybe if $g$ is surjective we don't need to do that?

Let $g_{*}(H)$ be the set produced by applying $g_{*}$ to $H$ and taking the upper completion.

**Proposition 8:** *If *$f\in C(X,[0,1])$* and *$g:X\to Y$* is continuous, then *$\mathbb{E}_{g_{*}(H)}(f)=\mathbb{E}_{H}(f\circ g)$

**Proposition 9:** $g_{*}(H)$* is a (bounded) inframeasure if *$H$* is, and the image of *$H$* doesn't require upper completion if *$g$* is surjective.*

Proposition 8 certifies that our unique defining $(g_{*}(h))(f)=h(f\circ g)$ property is fulfilled by doing this to the set of sa-measures, so we have the proper set-analogue of the pushforward. And proposition 9 says we were right, the only thing that may go wrong is upper completion. Generally, doing operations like may not exactly make an inframeasure, but you're only a closed convex hull and upper completion away from your canonical form as long as you check that the expectations match up with what you'd expect on the concave functional side.

Alright now, what about mixing? Like, mixing hypotheses to make a prior, according to some distribution $\zeta$ on the numbers. The concave functional analogue is $(\mathbb{E}_{\zeta}h_i)(f):=\mathbb{E}_{\zeta}(h_i(f))$

This works just fine with no extra conditions if we have uniform continuity, but for Lipschitzness, we need an extra condition. Letting $\la^{\odot}_i$ be the Lipschitz constant for the functional $h_i$, we need $\sum_{i}\zeta_i\la^{\odot}_i<\infty$ in order for the result to be Lipschitz. The set version should just be mixing of sets.

**Definition 8: Mixing Sets**

*Given a countable family of inframeasures *$H_i$* where *$i\in I\subseteq\mathbb{N}$*, and a probability distribution *$\zeta\in\Delta I$*, then  *$\mathbb{E}_{\zeta}H_i:=\{\sm|\exists c\in\prod_{i} H_i:\sum_{i}\zeta_{i}c(i)=\sm\}$

*Ie, *$\mathbb{E}_{\zeta}H_i$* is the set of sa-measures that can be made by choosing one sa-measure from each *$H_i$* and mixing them together w.r.t. *$\zeta$*.*

Try sketching out two sets on a piece of paper and figure out what the 50/50 mix of them would be. This corresponds to "Murphy can pick whatever they want from each set, but they're constrained to play the points they selected according to the probability assigned to each $H_i$"

We should note that for bounded inframeasures, letting $\la^{\odot}_i$ be the bound on the $\la$ value of the minimal points of $H_i$ by minimal-boundedness, we want $\sum_{i}\zeta_i\la^{\odot}_i<\infty$ to preserve our minimal-bounded condition for the mix.

**Proposition 10:** $\mathbb{E}_{\mathbb{E}_{\zeta}H_i}(f)=\mathbb{E}_{\zeta}(\mathbb{E}_{H_i}(f))$

**Proposition 11:** *A mixture of infradistributions is an infradistribution. If it's a mixture of bounded infradistributions with minimal point *$\la$* bounds of *$\la^{\odot}_i$*, and *$\sum_{i}\zeta_{i}\la^{\odot}_{i}<\infty$*, then the mixture is a bounded infradistribution.*

Again, Proposition 10 certifies that we got the right notion on the set level, and Proposition 11 certifies that we don't need to do any closure or upper completion cleanup. Now, how do mixtures interact with pushforwards?

**Proposition 12:** $g_{*}(\mathbb{E}_{\zeta}(H_i))=\mathbb{E}_{\zeta}(g_{*}(H_i))$

So, it doesn't matter whether you mix before or after pushing your infradistribution through a continuous function. The proof of this is quite nontrivial if we were to do it on the set level because of exhaustive verification of each of the conditions, but now that we've shown that we have the right set-level analogue of mixing and pushforwards, we can just work entirely in the concave-functional picture and knock the proof out in a couple of lines, so our duality is doing useful work.

**Updating**
------------

Let's move on to updates. We should mention that we'll be taking a two-step view of updating. First, there is chopping down the measure so only measure remaining within the set we're updating on remains, and then there's renormalizing the measure back up to 1. Thinking of updating as a unitary process instead of separated into these two phases will confuse you.

First, what sorts of events can we update on? Well, we only have expectations of continuous functions, and in a classical setting, we can get probabilities from expectations (and then updates from that) by considering the expectation of an indicator function that's 1 on a set and 0 everywhere else. Sadly, in this setting, we can only take the expectation of a continuous function. A sharp indicator function for an event will be discontinuous unless the set we're updating on is clopen. Fortunately, the specific application of "conditioning on a finite history" (with discrete action and observation spaces) only involves conditioning on clopen sets, because the set of histories which have a certain finite history as a prefix are clopen. Similarly, if you've got a finite space of observations, observing "the true thing is in this subset of observations" is a clopen update.

This seems like a very harsh restriction, but we can generalize further to get something adequate for most applications. I had to rewrite this section, though, because the original motivation was too complicated and had too many moving parts, so I figured it'd be more sensible to motivate things from an entirely different direction.

Let's call our clopen set that we're updating on $Z$. Our task for the post-update infradistribution is to specify the expectation values of functions that are only defined on $Z$. And we only have expectation values for functions that are defined on all of $X$. So, we need some way to extend a function $f$ that's only defined on $Z$ to be defined on all of $X$. The obvious way is to specify some single function $g$ that tells you what happens outside of $Z$, and look at the expectation of $\textbf{1}_{Z}f+(1-\textbf{1}_{Z})g$ , ie, "look at the function that's $f$ on $Z$, and $g$ outside of $Z$". Admittedly, the obvious way to do this is to have $g=0$, and that produces the best analogies to probability theory for infradistributions, and is what standard updates do. However, it's worth looking at things in more generality and seeing what comes out.

So, our first stab (on the positive functional level) would be something like:

$h^g_Z(f):=h(\textbf{1}_{Z}f+(1-\textbf{1}_{Z})g)$

This is just"extend your function on $Z$ to all of $X$ by extending it with $g$" But, lamentably, this isn't normalized. This is more like a "raw update" without normalizing afterwards. But, we know how to renormalize. So, attempt 2:

$(h|^{g}Z)(f):=\frac{h^g_Z(f)-h^g_Z(0)}{h^g_Z(1)-h^g_Z(0)}=\frac{h(\textbf{1}_{Z}f+(1-\textbf{1}_{Z})g)-h((1-\textbf{1}_{Z})g)}{h(\textbf{1}_{Z}+(1-\textbf{1}_{Z})g)-h((1-\textbf{1}_{Z})g)}$

That's the renormalized form. As a sanity check, we should make sure that it recovers standard Bayesian updates. So, let's say our infradistribution is actually just $\mu$, a standard probability distribution. Then,

$\frac{\mu(\textbf{1}_{Z}f+(1-\textbf{1}_{Z})g)-\mu((1-\textbf{1}_{Z})g)}{\mu(\textbf{1}_{Z}+(1-\textbf{1}_{Z})g)-\mu((1-\textbf{1}_{Z})g)}=\frac{\mu(\textbf{1}_{Z}f)}{\mu(\textbf{1}_{Z})}=(\mu|Z)(f)$

Ok, so this recovers standard updating for actual probability distributions. But why did we introduce that $g$? Why does it matter how we extend our function to outside the area we're updating on? Just use $g=0$, we don't care about what's happening outside the area we're updating on. Well, that's exactly the problem. We actually *do* care about what's happening outside of what we're updating on. The whole reason dynamic inconsistency comes about for standard Bayesian updating on problems like counterfactual mugging is that past-you cares about what happens down both branches of the coinflip, but once Omega tells you what the coin comes up, you stop caring about what happens own the other branch of the coinflip and so you don't pay up. And that's why having $g\neq 0$ can permit you to get dynamic consistency, past-you and future-you don't have to have mismatches in what you care about.

For a single probability distribution, the reason why $g$ doesn't really matter is because, for probability distributions, we can split into "expected value coming from $Z$" and "expected value coming from outside $Z$" and cleanly add them up. So, specifying how well you do outside $Z$ just adds the same constant to everything, and then the shift part of scale-and-shift deletes it.

However, for infradistributions in general, you can't split things up like that! Your choice of $g$ affects how different $f$'s score relative to each other, so it matters quite a bit how you extend functions from $Z$ to all of $X$.

So, there's the motivation for updates. Really, it's a question of "how do we extend expectations of functions in $Z$ to a function over all of $X$ so we can take expectations", and it turns out that different choices of $g$ (to extend to all of $X$) produce different results, while this isn't the case with conventional probability distributions. And, while $g=0$ produces the best analogies to conventional probability theory and updating and has the most nice properties, $g=0$ pretty much corresponds to "I don't care about what happens outside of $Z$", and dynamic consistency mandates that you *do* care about what happens outside of the events you update on.

But still, only being able to update on clopen sets really sucks. Can we generalize it? Well, using a theorem not shown here (because this section is a later-edited addition), we can go:

"Lets say we've got an infradistribution $h$ on the space $X$, and a continuous function $L:X\to[0,1]$ that gives the probability of a particular point producing the observation we got. We use $h$ and $L$ to get a joint infradistribution over $X\times\{0,1\}$ (ie, did we see the observation or not). Then we update on 1 (ie, we saw the observation, this is a clopen update), and our function $g$ tells us how good things would be for a given $x$ conditional on not getting the observation. Our new infradistribution is over $X\times\{1\}$, which is isomorphic to $X$. This new infradistribution has thus-and-such form."

With that, we can update on observations where different points in $X$ have different odds of producing your observation of interest. $L$ is your function telling you how likely it is that a point would produce your observation you saw, $g$ is your function telling you how well things do for a given point $x$ if you didn't see the observation you saw. This is basically updating on any fuzzy set with a continuous indicator function ($L$ can be considered the indicator function for a fuzzy set), instead of just updating on clopen sets. Much more general! Also note how the logical induction paper had to use continuous indicator functions instead of sharp discontinuous ones, this is analogous. How do updates work when we're updating on fuzzy sets?

Well, a nifty feature of a continuous likelihood function $L$ is that it lets us glue two continuous functions $f,g\in C(X,[0,1])$ into another continuous function, in a similar way to our original attempt of "f in the region we're restricting to, g outside it"

**Definition 9: L-Gluing**

*Given three continuous functions *$L,f,g:X\to[0,1]$*, *$f$* glued to *$g$* via *$L$*, *$f\bigstar^{L}g$*, is the function defined as: *$f\bigstar^{L}g:=Lf+(1-L)g$

So, $f\bigstar^{L}g$ behaves like $f$ inside our region we're updating on, and $g$ outside of our region we're we're updating on, and get mixed in regions we're unsure of.

Going back to the positive functional picture with $h$ (our analogue of an expectation), we can now define the raw update relative to $L$ (likelihood function) and $g$ (off-observation value). The following form is derived from our theorem about reducing updates on fuzzy sets to sharp updates on "did I get this observation".

$h^{g}_{L}(f):=h(f\bigstar^{L}g)$, where $f\in C(\overline{\text{supp}(L)},[0,1])$

And then the full version of updating on fuzzy sets in all its generality (on the concave functional side of the duality) is:

$(h|^{g}L)(f):=\frac{1}{h^{g}_{L}(1)-h^{g}_{L}(0)}\left(h(f\bigstar^{L}g)-h^{g}_{L}(0)\right)=\frac{h(f\bigstar^{L}g)-h(0\bigstar^{L}g)}{h(1\bigstar^{L}g)-h(0\bigstar^{L}g)}$

Squinting at this, this is: "do a raw update. Then subtract the excess value off (first step of renormalizing), and then rescale according to $h(1\bigstar^{L}g)-h(0\bigstar^{L}g)$ which... well, ignoring the $g$ part, looks kinda like "expectation of 1 - expectation of 0"... oh, it's like using the gap between the measure on $X$ and the measure on $\emptyset$ to define how much you need to scale up a measure to be a probability distribution! That term on the bottom is the analogue of the probability of the event you're updating on, relative to the function $g$!"

Let's flesh this out a bit more in preparation for defining updates on the set side of the duality.

Backing up to our definition of renormalization, we required that $\mathbb{E}_{H}(1)=1$, and $\mathbb{E}_{H}(0)=0$. If we pivot to viewing the function inside the expectation as our $L$ that gives an indicator function for something, the normalization condition says something like "probability of $X$ is 1, probability of $\emptyset$ is 0".

Let's generalize this and define probabilities of fuzzy events relative to a function $g$.

**Definition 10: Probabilities of Fuzzy Sets**

*Given two functions *$g,L\in C(X,[0,1])$*, and a nonempty set of sa-measures *$B$*, the probability of *$L$* (interpreted as a fuzzy set) w.r.t *$B$* and *$g$* is: *$\mathbb{P}_{B}^{g}(L):=\mathbb{E}_{B}(1\bigstar^{L}g)-\mathbb{E}_{B}(0\bigstar^{L}g)$

If $g$ is 0, then for an infradistribution $H$, by normalization, and unpacking what that $\bigstar$ means, we get $\mathbb{P}^{0}_{H}(L)=\mathbb{E}_{H}(L)$. This is much like how the probability of a set is the expectation of the indicator function for the set, just interpret the $L$ as the indicator function for a fuzzy set on the right, and as a fuzzy set on the left. So, for $g=0$, it behaves like an actual probability.

However, when $g\neq 0$, then this is better interpreted as caring-measure. $\mathbb{P}^{g}_{B}(L)$ is the difference between the best score you can get vs Murphy and the worst score you can get vs Murphy if you know how things go outside of $L$ (interpreted as fuzzy set). This $g$-dependent "probability" is actually "how much value is at stake here/how much do I care about what happens inside set $L$ given that I know what happens outside of it."

And, further, our scaling term for renormalizing an inframeasure $B$ that isn't an infradistribution yet was $\left(\mathbb{E}_{B}(1)-\mathbb{E}_{B}(0)\right)^{-1}$. So, using this reformulation, our rescaling term turns into $\left(\mathbb{P}^{g}_{B}(\textbf{1}_{X})\right)^{-1}$ regardless of $g$. So, our renormalization term is "rescale according to the probability you assign to any event at all occuring"

Alright, we have enough tools to define updating on the set level. For the raw update (no rescaling yet), we need to chop the measure down according to $L$. We should also fold in the off-$L$ value (requires specifying $g$) to the $b$ term, by our dynamic consistency example. And then we do appropriate scale-and-shift terms to subtract as much as we can off the $b$ term, and rescale according to the probability of $L$ relative to the $g$ we're also updating on.

Let's use $\m\cdot L$ to denote the original finite signed measure but scaled down by the function $L$. If we view $L$ as an indicator function, this is just slicing out all of the measure outside of $L$, ie, usual conditioning.

**Definition 11: Updating**

$H|^{g}L$, $H$ *updated on *$g$* and *$L$*, is the set made by mapping *$H$* through the following function and taking closure and upper-completion.* $(\m,b)\mapsto\frac{1}{\mathbb{P}_{H}^{g}(L)}\left(\m\cdot L,b+\m(0\bigstar^{L}g)-\mathbb{E}_{H}(0\bigstar^{L}g)\right)$

Closure is unnecessary if $H$ is a bounded inframeasure, and upper-completion is uneccesary if your $L$ is the indicator function for a clopen set.

Roughly, this is: Chop down the measure according to your fuzzy set, $\m(0\bigstar^{L}g)$ is the fragment of expected value you get outside of your fuzzy set so you fold that into the $b$ term. For rescaling, when we unpack $\mathbb{E}_{H}(0\bigstar^{L}g)$, it's just $\inf_{(\m',b')\in H}(\m'(0\bigstar^{L}g)+b')$, so that's the maximum amount of value we can take away from the second vector component without ever making it go negative. And then rescale "how much do I care about this situation" ($\mathbb{P}^{g}_{H}(L)$) back up to 1.

Note that this updating process lands us in a different vector space. Our new vector space is $\mathcal{M}^{\pm}\left(\overline{\text{supp}(L)}\right)\oplus\mathbb{R}$. It still fulfills the nice properties we expect, because a closed subset of a compact space is compact so every nice property still carries over. And it still has a closed convex cone of sa-measures w.r.t. the new space, abbreviate that as $\vsupm(L)$.

What properties can we show about updates?

**Proposition 13:** *When updating a bounded infradistribution over *$\vsupm(X)$*, if the renormalization doesn't fail, you get a bounded infradistribution over the set *$\vsupm(L)$*. (for infradistributions in general, you may have to take the closure)*

**Proposition 14: **$\mathbb{E}_{H}(f\bigstar^{L}g)=\mathbb{E}_{H}(0\bigstar^{L}g)+\mathbb{P}^{g}_{H}(L)\mathbb{E}_{H|^{g}L}(f)$

Ok, so it's sensible on the set level. And for proposition 14, it means we can break down the expectation of two functions glued together by $L$ into the expectation of $g$ outside of $L$, and the probability of $L$ relative to $g$ times the updated expectation of $f$. We get something interesting when we reshuffle this. It rearranges to:

$\mathbb{E}_{H|^{g}L}(f)=\frac{1}{\mathbb{P}^{g}_{H}(L)}\left(\mathbb{E}_{H}(f\bigstar^{L}g)-\mathbb{E}_{H}(0\bigstar^{L}g)\right)$

Further unpacking the probability, we get

$\mathbb{E}_{H|^{g}L}(f)=\frac{\mathbb{E}_{H}(f\bigstar^{L}g)-\mathbb{E}_{H}(0\bigstar^{L}g)}{\mathbb{E}_{H}(1\bigstar^{L}g)-\mathbb{E}_{H}(0\bigstar^{L}g)}$

And then, translating to concave functionals via LF-duality, we get:

$(h|^{g}L)(f)=\frac{h(f\bigstar^{L}g)-h(0\bigstar^{L}g)}{h(1\bigstar^{L}g)-h(0\bigstar^{L}g)}$

So, this shows that we got the right update! What happens when we update twice?

**Proposition 15: **$(H|^{g}L)|^{g'}L'=H|^{\left(g\bigstar^{\frac{1-L}{1-LL'}}g'\right)}LL'$

So, updating twice in a row produces the same effect as one big modified update. It may be a bit clearer if we express it as:

**Corollary 2:** Regardless of $L$ and $L'$ and $g$, $(H|^{g}L)|^{g}L'=H|^{g}(LL')$

**Corollary 3:** *If *$X$* and *$Y$* are clopen sets, then, glossing over the difference between indicator functions and sets, *$(H|^{g}Y)|^{g}Z=H|^{g}(Y\cap Z)$

Now, what happens when you update a prior/mixture of infradistributions? We get something that recovers Bayesian updating.

**Theorem 6, InfraBayes:**

$(\mathbb{E}_{\zeta}H_i)|^{g}L=\frac{\mathbb{E}_{\zeta}\left(\mathbb{P}^{g}_{H_i}(L)\cdot (H_i|^{g}L)\right)}{\mathbb{E}_{\zeta}\left(\mathbb{P}^{g}_{H_i}(L)\right)}$* if the update doesn't fail.*

This means that when we update a prior, it's the same as updating everything individually, and then mixing those with probabilities weighted by the probability the infradistribution assigned to $L$, just like standard Bayes!

In particular, if some hypothesis goes "nothing matters anymore" and gives up and cries after seeing $L$, then its probability term is 0, so it will drop out of the updated prior entirely, and now you're only listening to hypotheses that think what you do matters. Thus, with a fairly broad prior, we don't have to worry about the agent giving up on life because nothing matters post-update, just as long as *some* component  in its prior gives it the will to continue living/says different policies have different values. Well, actually, we need to show an analogue of this for belief functions, but it pretty much works there too.

**Additional Constructions**
----------------------------

There are more probability theory analogues, but they are primarily material for a future post. We'll just give their forms in the concave functional view. If they look unmotivated, just note that they match up with the standard probability-theory notions if we use infradistributions corresponding to actual probability distributions. We'll be using lambda-notation for functions. If you haven't seen it before, $\lambda x.f(x,2)$ is the function that takes in an $x$, and returns $f(x,2)$. $\lambda z.(\lambda a.a+z)$ is the function that maps $z$ to the function that maps $a$ to $a+z$.

**Definition 12: Product**

*If *$h_1\in\Box X$* and *$h_2\in\Box Y$*, the product *$h_1\times h_2\in\Box(X\times Y)$* is given by: *$(h_1\times h_2)(f):=h_1(\lambda x.h_2(\lambda y.f(x,y)))$

These products are noncommutative! The product of bounded infradistributions is a bounded infradistribution.

There's also infrakernels, the infra-analogue of Markov kernels. A Markov kernel is a function $X\to\Delta Y$ that maps each $x$ to some probability distribution over $Y$. Concrete example: The function mapping income to a probability distribution over house size.

**Definition 13: Infrakernel**

*An infrakernel is a function *$X\to\Box Y$* that is:*

*1: Pointwise convergent. For all sequences *$x_n$* limiting to *$x$* and all *$f\in C(Y,[0,1])$*, *$\lim_{n\to\infty}K(x_n)(f)=K(x)(f)$

*2: Uniformly equicontinuous. For all *$\epsilon$*, there is a *$\delta$* where if *$|f-f'|<\delta$*, then *$\forall x:|K(x)(f)-K(x)(f')|<\epsilon$

*If there is some *$\la^{\odot}>0$* where property 2 works with *$\delta=\frac{\epsilon}{\la^{\odot}}$*, then it is a Lipschitz infrakernel.*

The first two conditions let you preserve uniform continuity, and the strengthening of the second condition lets you preserve Lipschitzness/being a bounded inframeasure.

Now, we can define the semidirect product, $h\ltimes K$. The semidirect product in the probability-theory case is... Consider the aforementioned Markov kernel mapping income to a probability distribution over house size. Given a starting probability distribution over income, the semidirect product of (income distribution) with (house size kernel) would be the joint distribution over income and house size. It's a critically important concept to know that isn't discussed much.

**Definition 14: Semidirect Product**

*If *$h\in\Box X$*, and *$K$* is an infrakernel *$X\to\Box Y$*, the semidirect product *$h\ltimes K\in\Box(X\times Y)$* is given by *$(h\ltimes K)(f):=h(\lambda x.K(x)(\lambda y.f(x,y)))$

Products are just a special case of this, where $K(x)=h_2$, regardless of $x$. If $h$ is a bounded infradistribution and $K$ is a Lipschitz infrakernel, then the semidirect product is a bounded infradistribution.

The pushforward of a probability distribution is... given the house size Markov kernel, and a distribution over income, the pushforward is the induced distribution over house size. We earlier gave pushforwards for a continuous function $g:X\to Y$. What's the analogue of the pushforward for an infrakernel? Or, can you do a pushforward w.r.t. a Markov kernel?

**Definition 15: Pushforward**

*If *$h\in\Box X$*, and *$K$* is an infrakernel *$X\to\Box Y$*, the pushforward *$K_{*}(h)\in\Box Y$* is given by *$K_{*}(h)(f):=h(\lambda x.K(x)(f))$*  And if *$k$* is a continuous (in the weak topology) Markov kernel *$X\to\Delta Y$*, the pushforward *$k_{*}(h)\in\Box Y$* is given by *$k_{*}(h)(f):=h(\lambda x.\mathbb{E}_{k(x)}(f))$

An interesting note about this is, if $h$ is a bounded infradistribution, then we need Lipschitz infrakernels to preserve that property for pushforwards, but we do not need any additional condition on a Markov kernel to preserve boundedness besides continuity. Exercise: Try to figure out why.

Really, everything originates from the semidirect product. The product is the special case of a semidirect product for a constant infrakernel, the pushforward is a semidirect product that's projected down to the $Y$ coordinate, the pushforward w.r.t a Markov kernel is a special case of pushforward w.r.t. an infrakernel, and the pushforward w.r.t. a continuous function is a special case of pushforward w.r.t. a Markov kernel.

And that's about it for now, see you in the [next post!](https://www.alignmentforum.org/posts/e8qFDMzs2u9xf5ie6/belief-functions-and-decision-theory)