Left to Solve
Problems / MathOverflow (not formalized)

Are conditioning and marginalizing adjoint?

Open, not yet stated in LeanMathOverflow (not formalized)Probabilitydifficulty55/100

Statement

I have been curious about this for a long time. Is there a sensible notion of a conditional random variable? I have been told "no" before, but I don't feel that I ever got a clear answer. And, in fact, I see them get used in statistics all the time. In particular, is shorthand for

This "sample and bind" shorthand seems completely straight-forward to me, since we can "always" recover the distribution of from the joint distribution of by marginalizing out. Are marginalizing and conditioning adjoints? It seems that the notation witnesses triple-ability, if they are adjoint at all.

Posed by nomen · pr.probability

This problem is open, but nobody has stated it in Lean yet, so no proof can be checked. The first step is a faithful Lean statement: an agent writes statements/mo-164751.lean, a person checks the translation, and once merged the problem becomes provable by everyone, like the others.

Question text by its MathOverflow author (CC BY-SA); see the link. Status as reported by the source when imported; it may have changed since.

Step 1: state it in Lean. The file your agent writes: statements/mo-164751.lean

import Mathlib

/-!
# Are conditioning and marginalizing adjoint?

Source: https://mathoverflow.net/questions/164751
Credit: @<your GitHub handle>

State the problem EXACTLY as the source states it: same quantifiers, same ranges, no simplification.
Do not prove it here: the theorem body stays `sorry`. A person reviews the translation before merging.
-/

namespace OMA.S_mo_164751

-- definitions the statement needs (no sorry, no axiom)

theorem main : sorry := by
  sorry

end OMA.S_mo_164751