Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

§3, (3.1)–(3.11), Definition 3.1, Assumption 3.1, pp. 10–13 — continuous-time MDP with rate matrices: values, concatenation, equilibria, Gibbs and argmax operators

Definition
RelaxedEqMDP_Discrete_Supplement_ContinuousTime

by mikedeng1 · Nov 23, 2026 · Mathlib 0df444a (Lean v4.33.1)

continuous-time-markov-chainentropy-regularizationmarkov-decision-processp2o-batch-supp500p2o-gran-per-chapterp2o-plan-paperp2o-v1relaxed-controltime-inconsistency

Continuous-time version of the time-inconsistent MDP of the base mission. The state space is S={1,…,d}\mathcal S=\{1,\dots,d\}S={1,…,d} and the action space is a compact set U⊂RℓU\subset\mathbb R^\ellU⊂Rℓ with Leb(U)>0\mathrm{Leb}(U)>0Leb(U)>0. Each action u∈Uu\in Uu∈U carries a rate matrix quq^uqu: qiju≥0q^u_{ij}\ge0qiju​≥0 for j≠ij\ne ij=i and qiiu=−∑j≠iqijuq^u_{ii}=-\sum_{j\ne i}q^u_{ij}qiiu​=−∑j=i​qiju​. A relaxed control π∈Π\pi\in\Piπ∈Π assigns to every state a probability measure π(i)\pi(i)π(i) on UUU (base IsRelaxed); π∈Πr\pi\in\Pi_rπ∈Πr​ if each π(i)\pi(i)π(i) has a density with finite differential entropy H(π(i))\mathcal H(\pi(i))H(π(i)) (base IsRegular, ent). The relaxed rate matrix of μ\muμ is Qijμ=∫Uqiju μ(du)Q^\mu_{ij}=\int_U q^u_{ij}\,\mu(du)Qijμ​=∫U​qiju​μ(du), and under π\piπ the chain jumps from iii according to the row Qiπ(i)Q^{\pi(i)}_iQiπ(i)​; its transition matrix is Pi(Xs=j)=(esQπ)ijP_i(X_s=j)=\big(e^{sQ^\pi}\big)_{ij}Pi​(Xs​=j)=(esQπ)ij​.

With fμ(s,i)=∫Uf(s,i,u) μ(du)f^\mu(s,i)=\int_U f(s,i,u)\,\mu(du)fμ(s,i)=∫U​f(s,i,u)μ(du) and a discount δ:[0,∞)→[0,1]\delta:[0,\infty)\to[0,1]δ:[0,∞)→[0,1] (nonincreasing, δ(0)=1\delta(0)=1δ(0)=1), the file defines:

  1. the values (3.1)–(3.2) and the auxiliary values (3.4)–(3.5),
J~π(i)=∫0∞(esQπrπ(s))i ds,V~λπ(t,i)=∫0∞(esQπrλπ(t+s))i ds,\widetilde J^\pi(i)=\int_0^\infty\big(e^{sQ^\pi}r^\pi(s)\big)_i\,ds,\qquad \widetilde V^\pi_\lambda(t,i)=\int_0^\infty\big(e^{sQ^\pi}r^\pi_\lambda(t+s)\big)_i\,ds,Jπ(i)=∫0∞​(esQπrπ(s))i​ds,Vλπ​(t,i)=∫0∞​(esQπrλπ​(t+s))i​ds,

where rπ(s)j=fπ(j)(s,j)r^\pi(s)_j=f^{\pi(j)}(s,j)rπ(s)j​=fπ(j)(s,j) and rλπ(s)j=fπ(j)(s,j)+λδ(s)H(π(j))r^\pi_\lambda(s)_j=f^{\pi(j)}(s,j)+\lambda\delta(s)\mathcal H(\pi(j))rλπ​(s)j​=fπ(j)(s,j)+λδ(s)H(π(j)) (J~λπ\widetilde J^\pi_\lambdaJλπ​ and V~π\widetilde V^\piVπ likewise); 2. the values of the concatenation π′⊗επ\pi'\otimes_\varepsilon\piπ′⊗ε​π (π′\pi'π′ on [0,ε)[0,\varepsilon)[0,ε), π\piπ afterwards), through the Markov property at time ε\varepsilonε:

J~π′⊗επ(i)=∫0ε(esQπ′rπ′(s))i ds+(eεQπ′V~π(ε))i,\widetilde J^{\pi'\otimes_\varepsilon\pi}(i)=\int_0^\varepsilon\big(e^{sQ^{\pi'}}r^{\pi'}(s)\big)_i\,ds+\big(e^{\varepsilon Q^{\pi'}}\widetilde V^\pi(\varepsilon)\big)_i,Jπ′⊗ε​π(i)=∫0ε​(esQπ′rπ′(s))i​ds+(eεQπ′Vπ(ε))i​,

and J~λπ′⊗επ\widetilde J^{\pi'\otimes_\varepsilon\pi}_\lambdaJλπ′⊗ε​π​ with rλr_\lambdarλ​, V~λ\widetilde V_\lambdaVλ​; 3. Definition 3.1: π∈Πr\pi\in\Pi_rπ∈Πr​ is a regular relaxed equilibrium for (3.2) if lim sup⁡ε↓0(J~λπ′⊗επ(i)−J~λπ(i))/ε≤0\limsup_{\varepsilon\downarrow0}\big(\widetilde J^{\pi'\otimes_\varepsilon\pi}_\lambda(i)-\widetilde J^\pi_\lambda(i)\big)/\varepsilon\le0limsupε↓0​(Jλπ′⊗ε​π​(i)−Jλπ​(i))/ε≤0 for all π′∈Πr\pi'\in\Pi_rπ′∈Πr​ and iii; π∈Π\pi\in\Piπ∈Π is a relaxed equilibrium for (3.1) if the same holds with J~\widetilde JJ and all π′∈Π\pi'\in\Piπ′∈Π; 4. the Gibbs density (3.8) Γ~λ(y,i)(u)=e(f(0,i,u)+qiu⋅y)/λ/∫Ue(f(0,i,v)+qiv⋅y)/λdv\widetilde\Gamma_\lambda(y,i)(u)=e^{(f(0,i,u)+q^u_i\cdot y)/\lambda}\big/\int_Ue^{(f(0,i,v)+q^v_i\cdot y)/\lambda}dvΓλ​(y,i)(u)=e(f(0,i,u)+qiu​⋅y)/λ/∫U​e(f(0,i,v)+qiv​⋅y)/λdv, the control Γ~λ(y,⋅)\widetilde\Gamma_\lambda(y,\cdot)Γλ​(y,⋅), Ψ~λ(y)=J~λΓ~λ(y,⋅)\widetilde\Psi_\lambda(y)=\widetilde J^{\widetilde\Gamma_\lambda(y,\cdot)}_\lambdaΨλ​(y)=JλΓλ​(y,⋅)​ and Φ~λ(π)=Γ~λ(J~λπ,⋅)\widetilde\Phi_\lambda(\pi)=\widetilde\Gamma_\lambda(\widetilde J^\pi_\lambda,\cdot)Φλ​(π)=Γλ​(Jλπ​,⋅); 5. (3.9)–(3.11): E~(y,i)=arg⁡max⁡u∈U{f(0,i,u)+qiu⋅y}\widetilde E(y,i)=\arg\max_{u\in U}\{f(0,i,u)+q^u_i\cdot y\}E(y,i)=argmaxu∈U​{f(0,i,u)+qiu​⋅y}, Γ~(y)={π∈Π:supp⁡π(i)⊆E~(y,i) ∀i}\widetilde\Gamma(y)=\{\pi\in\Pi:\operatorname{supp}\pi(i)\subseteq\widetilde E(y,i)\ \forall i\}Γ(y)={π∈Π:suppπ(i)⊆E(y,i) ∀i}, Ψ~(y)={J~π:π∈Γ~(y)}\widetilde\Psi(y)=\{\widetilde J^\pi:\pi\in\widetilde\Gamma(y)\}Ψ(y)={Jπ:π∈Γ(y)} and Φ~(π)=Γ~(J~π)\widetilde\Phi(\pi)=\widetilde\Gamma(\widetilde J^\pi)Φ(π)=Γ(Jπ); 6. the hypotheses: the standing setup, measurability, Assumption 3.1 (∫0∞(sup⁡i,u∣f(s,i,u)∣+δ(s)) ds<∞\int_0^\infty(\sup_{i,u}|f(s,i,u)|+\delta(s))\,ds<\infty∫0∞​(supi,u​∣f(s,i,u)∣+δ(s))ds<∞), Assumption 2.2 with qqq for ppp, boundedness of the rates, and right continuity of t↦f(t,i,u)t\mapsto f(t,i,u)t↦f(t,i,u) at zero uniformly in uuu.

These objects carry the continuous-time results of §3 and the limit theorem of §5.

Formalization Note The Gibbs objects reuse the base mission's gibbsDensity, gibbsCtrl, argmaxSet and GammaSet with qqq for ppp and the time-000 reward f(0,⋅,⋅)f(0,\cdot,\cdot)f(0,⋅,⋅). The relaxed generator is the base averaged matrix Pbar applied to qqq. The matrix exponential is Mathlib's NormedSpace.exp. Integrals over [0,∞)[0,\infty)[0,∞) are over (0,∞)(0,\infty)(0,∞), which is the same Lebesgue integral. The page prints E(y,i)E(y,i)E(y,i) in (3.10); it is read as E~(y,i)\widetilde E(y,i)E(y,i). The lim sup in Definition 3.1 is written as "for every η>0\eta>0η>0 the quotient is eventually ≤η\le\eta≤η". Measurability of (s,u)↦f(s,i,u)(s,u)\mapsto f(s,i,u)(s,u)↦f(s,i,u) on [0,∞)×U[0,\infty)\times U[0,∞)×U and u↦qijuu\mapsto q^u_{ij}u↦qiju​ on UUU is the standing convention implicit in the integrals. The rate bound RatesBdd is what makes QμQ^\muQμ defined for every μ∈P(U)\mu\in\mathcal P(U)μ∈P(U). TimeContAtZeroUnif is the repaired time-continuity hypothesis (see the theorems that use it).

Definition code
import Mathlib
import Definitions.Def_RelaxedEqMDP_Discrete_Setting

open MeasureTheory Filter Topology Matrix

namespace RelaxedEqMDP.Discrete.Supplement

/-- A `d × d` rate matrix (generator) (p. 10): `Q_{ij} ≥ 0` for `j ≠ i` and
`Q_{ii} = −∑_{j≠i} Q_{ij}`, i.e. every row sums to `0`. -/
structure IsRateMatrix {d : ℕ} (Q : Matrix (Fin d) (Fin d) ℝ) : Prop where
  offdiag_nonneg : ∀ i j, i ≠ j → 0 ≤ Q i j
  row_sum : ∀ i, ∑ j, Q i j = 0

/-- Standing setup of §3 (pp. 4 and 10): the action space `U ⊂ ℝ^ℓ` is compact with `Leb(U) > 0`,
and every action `u ∈ U` carries a rate matrix `q^u`. -/
structure StandingCT {d ℓ : ℕ} (U : Set (A ℓ)) (q : A ℓ → Matrix (Fin d) (Fin d) ℝ) : Prop where
  compact : IsCompact U
  vol_pos : 0 < volume U
  rate : ∀ u ∈ U, IsRateMatrix (q u)

/-- The rates are bounded on `U`: `|q^u_{ij}| ≤ C` for all `u ∈ U`. For measurable `q` this is
exactly what is needed for the relaxed rate matrix `Q^μ_{ij} = ∫_U q^u_{ij} μ(du)` (p. 10) to be
defined for every `μ ∈ 𝒫(U)`. -/
def RatesBdd {d ℓ : ℕ} (U : Set (A ℓ)) (q : A ℓ → Matrix (Fin d) (Fin d) ℝ) : Prop :=
  ∃ C : ℝ, ∀ u ∈ U, ∀ i j, |q u i j| ≤ C

/-- Measurability implicit in `f^μ(t,i) = ∫_U f(t,i,u) μ(du)`, `Q^μ_{ij} = ∫_U q^u_{ij} μ(du)` and
in the time integrals (3.1)–(3.5): `(s,u) ↦ f(s,i,u)` is jointly measurable and `u ↦ q^u_{ij}` is
measurable on their source domains `[0,∞) × U` and `U`. -/
structure MeasMapsCT {d ℓ : ℕ} (U : Set (A ℓ)) (f : ℝ → Fin d → A ℓ → ℝ) (q : A ℓ → Matrix (Fin d) (Fin d) ℝ) :
    Prop where
  f_meas : ∀ i, Measurable (fun z : Set.Ici (0 : ℝ) × U => f z.1.1 i z.2.1)
  q_meas : ∀ i j, Measurable (fun u : U => q u.1 i j)

/-- The discount function (pp. 4–5) on `[0, ∞)`: `δ : [0,∞) → [0,1]`, nonincreasing, `δ(0) = 1`. -/
structure IsDiscountCT (δ : ℝ → ℝ) : Prop where
  nonneg : ∀ t, 0 ≤ t → 0 ≤ δ t
  le_one : ∀ t, 0 ≤ t → δ t ≤ 1
  anti : AntitoneOn δ (Set.Ici 0)
  zero : δ 0 = 1

/-- Assumption 3.1 (p. 11): `M̃ := ∫_0^∞ (sup_{i∈S,u∈U} |f(s,i,u)| + δ(s)) ds < ∞`, written as
integrability of `δ` on `[0,∞)` and of a majorant `b(s) ≥ sup_{i,u∈U} |f(s,i,u)|` on `[0,∞)`.
It also records that `δ` is a discount function. -/
structure Assumption31 {d ℓ : ℕ} (U : Set (A ℓ)) (f : ℝ → Fin d → A ℓ → ℝ) (δ : ℝ → ℝ) :
    Prop where
  discount : IsDiscountCT δ
  integrable_delta : IntegrableOn δ (Set.Ici 0)
  bound : ∃ b : ℝ → ℝ, IntegrableOn b (Set.Ici 0) ∧
    ∀ s, 0 ≤ s → ∀ i, ∀ u ∈ U, |f s i u| ≤ b s

/-- Assumption 2.2 (p. 8) with `p^u_i` replaced by `q^u_i` (p. 12), uniformly in `t ∈ [0,∞)`:
`|f(t,i,u₁) − f(t,i,u₂)| + |q^{u₁}_i − q^{u₂}_i| ≤ Θ |u₁ − u₂|` (Euclidean norms), `Θ > 0`. -/
structure Assumption22CT {d ℓ : ℕ} (U : Set (A ℓ)) (f : ℝ → Fin d → A ℓ → ℝ)
    (q : A ℓ → Matrix (Fin d) (Fin d) ℝ) (Theta : ℝ) : Prop where
  pos : 0 < Theta
  lip : ∀ t, 0 ≤ t → ∀ i, ∀ u₁ ∈ U, ∀ u₂ ∈ U,
    |f t i u₁ - f t i u₂| + enorm2 (q u₁ i - q u₂ i) ≤ Theta * ‖u₁ - u₂‖

/-- Right continuity of the reward at time zero, uniformly over actions in `U`.
This is the local repair needed for (3.6)–(3.7): no uniformity at positive times is imposed. -/
def TimeContAtZeroUnif {d ℓ : ℕ} (U : Set (A ℓ)) (f : ℝ → Fin d → A ℓ → ℝ) : Prop :=
  ∀ i, ∀ η > 0, ∃ ρ > 0, ∀ t, 0 ≤ t → t < ρ →
    ∀ u ∈ U, |f t i u - f 0 i u| < η

/-- `f^μ(s,i) := ∫_U f(s,i,u) μ(du)` (p. 4), continuous time. -/
noncomputable def fbarCT {d ℓ : ℕ} (f : ℝ → Fin d → A ℓ → ℝ) (μ : Measure (A ℓ)) (s : ℝ)
    (i : Fin d) : ℝ :=
  ∫ u, f s i u ∂μ

/-- The relaxed generator of a control (p. 10): row `i` is `Q^{π(i)}_i`, where
`Q^μ_{ij} := ∫_U q^u_{ij} μ(du)`. (This is the base averaged matrix `Pbar` with `q` for `p`.) -/
noncomputable abbrev Qbar {d ℓ : ℕ} (q : A ℓ → Matrix (Fin d) (Fin d) ℝ) (pol : Control d ℓ) :
    Matrix (Fin d) (Fin d) ℝ :=
  Pbar q pol

/-- The transition matrix `P_i(X^π_s = j) = exp(s Q^π)_{ij}` of the chain driven by the relaxed
feedback control `π` (p. 10–11). -/
noncomputable def trans {d ℓ : ℕ} (q : A ℓ → Matrix (Fin d) (Fin d) ℝ) (pol : Control d ℓ)
    (s : ℝ) : Matrix (Fin d) (Fin d) ℝ :=
  NormedSpace.exp (s • Qbar q pol)

/-- Per-time reward vector `r^π(s)_j := f^{π(j)}(s, j)`. -/
noncomputable def rew {d ℓ : ℕ} (f : ℝ → Fin d → A ℓ → ℝ) (pol : Control d ℓ) (s : ℝ) :
    Fin d → ℝ :=
  fun j => fbarCT f (pol j) s j

/-- Regularized per-time reward vector `r^π_λ(s)_j := f^{π(j)}(s, j) + λ δ(s) ℋ(π(j))`. -/
noncomputable def rewLam {d ℓ : ℕ} (U : Set (A ℓ)) (f : ℝ → Fin d → A ℓ → ℝ) (δ : ℝ → ℝ)
    (lam : ℝ) (pol : Control d ℓ) (s : ℝ) : Fin d → ℝ :=
  fun j => fbarCT f (pol j) s j + lam * δ s * ent U (pol j)

/-- (3.1) (p. 11): `J̃^π(i) = E_i[∫_0^∞ f^{π(X_s)}(s, X_s) ds] = ∫_0^∞ (exp(sQ^π) r^π(s))_i ds`. -/
noncomputable def Jt {d ℓ : ℕ} (q : A ℓ → Matrix (Fin d) (Fin d) ℝ) (f : ℝ → Fin d → A ℓ → ℝ)
    (pol : Control d ℓ) : Fin d → ℝ :=
  fun i => ∫ s in Set.Ioi 0, (trans q pol s *ᵥ rew f pol s) i

/-- (3.2) (p. 11): `J̃^π_λ(i) = E_i[∫_0^∞ (f^{π(X_s)}(s, X_s) + λ δ(s) ℋ(π(X_s))) ds]`. -/
noncomputable def Jlamt {d ℓ : ℕ} (U : Set (A ℓ)) (q : A ℓ → Matrix (Fin d) (Fin d) ℝ)
    (f : ℝ → Fin d → A ℓ → ℝ) (δ : ℝ → ℝ) (lam : ℝ) (pol : Control d ℓ) : Fin d → ℝ :=
  fun i => ∫ s in Set.Ioi 0, (trans q pol s *ᵥ rewLam U f δ lam pol s) i

/-- (3.4) (p. 11): `Ṽ^π(t,i) = E_i[∫_0^∞ f^{π(X_s)}(t + s, X_s) ds]`. -/
noncomputable def Vt {d ℓ : ℕ} (q : A ℓ → Matrix (Fin d) (Fin d) ℝ) (f : ℝ → Fin d → A ℓ → ℝ)
    (pol : Control d ℓ) (t : ℝ) : Fin d → ℝ :=
  fun i => ∫ s in Set.Ioi 0, (trans q pol s *ᵥ rew f pol (t + s)) i

/-- (3.5) (p. 11): `Ṽ^π_λ(t,i) = E_i[∫_0^∞ (f^{π(X_s)}(t + s, X_s) + λ δ(t + s) ℋ(π(X_s))) ds]`. -/
noncomputable def Vlamt {d ℓ : ℕ} (U : Set (A ℓ)) (q : A ℓ → Matrix (Fin d) (Fin d) ℝ)
    (f : ℝ → Fin d → A ℓ → ℝ) (δ : ℝ → ℝ) (lam : ℝ) (pol : Control d ℓ) (t : ℝ) : Fin d → ℝ :=
  fun i => ∫ s in Set.Ioi 0, (trans q pol s *ᵥ rewLam U f δ lam pol (t + s)) i

/-- `J̃^{π′⊗_ε π}(i)` (p. 11): the value of the control that uses `π′` on `[0, ε)` and `π` on
`[ε, ∞)`. It is written through the Markov property at time `ε` (no process is constructed):
`∫_0^ε (exp(sQ^{π′}) r^{π′}(s))_i ds + (exp(εQ^{π′}) Ṽ^π(ε))_i`. -/
noncomputable def JconcatT {d ℓ : ℕ} (q : A ℓ → Matrix (Fin d) (Fin d) ℝ)
    (f : ℝ → Fin d → A ℓ → ℝ) (pol' pol : Control d ℓ) (ε : ℝ) : Fin d → ℝ :=
  fun i => (∫ s in (0 : ℝ)..ε, (trans q pol' s *ᵥ rew f pol' s) i) +
    (trans q pol' ε *ᵥ Vt q f pol ε) i

/-- `J̃^{π′⊗_ε π}_λ(i)` (p. 11), the regularized value of the concatenation, written through the
Markov property at time `ε`:
`∫_0^ε (exp(sQ^{π′}) r^{π′}_λ(s))_i ds + (exp(εQ^{π′}) Ṽ^π_λ(ε))_i`. -/
noncomputable def JlamConcatT {d ℓ : ℕ} (U : Set (A ℓ)) (q : A ℓ → Matrix (Fin d) (Fin d) ℝ)
    (f : ℝ → Fin d → A ℓ → ℝ) (δ : ℝ → ℝ) (lam : ℝ) (pol' pol : Control d ℓ) (ε : ℝ) :
    Fin d → ℝ :=
  fun i => (∫ s in (0 : ℝ)..ε, (trans q pol' s *ᵥ rewLam U f δ lam pol' s) i) +
    (trans q pol' ε *ᵥ Vlamt U q f δ lam pol ε) i

/-- Definition 3.1, (3.3) (p. 11): `π ∈ Π_r` is a regular relaxed equilibrium for (3.2) if
`limsup_{ε↓0} (J̃^{π′⊗_ε π}_λ(i) − J̃^π_λ(i))/ε ≤ 0` for all `π′ ∈ Π_r` and `i ∈ S`. The
`limsup ≤ 0` is written as: for every `η > 0`, the quotient is `≤ η` for all small `ε > 0`. -/
def IsRegularRelaxedEqCT {d ℓ : ℕ} (U : Set (A ℓ)) (q : A ℓ → Matrix (Fin d) (Fin d) ℝ)
    (f : ℝ → Fin d → A ℓ → ℝ) (δ : ℝ → ℝ) (lam : ℝ) (pol : Control d ℓ) : Prop :=
  IsRegular U pol ∧ ∀ i, ∀ pol' : Control d ℓ, IsRegular U pol' → ∀ η > 0,
    ∀ᶠ ε in 𝓝[>] (0 : ℝ),
      (JlamConcatT U q f δ lam pol' pol ε i - Jlamt U q f δ lam pol i) / ε ≤ η

/-- Definition 3.1 (p. 11): `π ∈ Π` is a relaxed equilibrium for (3.1) if
`limsup_{ε↓0} (J̃^{π′⊗_ε π}(i) − J̃^π(i))/ε ≤ 0` for all `π′ ∈ Π` and `i ∈ S`. -/
def IsRelaxedEqCT {d ℓ : ℕ} (U : Set (A ℓ)) (q : A ℓ → Matrix (Fin d) (Fin d) ℝ)
    (f : ℝ → Fin d → A ℓ → ℝ) (pol : Control d ℓ) : Prop :=
  IsRelaxed U pol ∧ ∀ i, ∀ pol' : Control d ℓ, IsRelaxed U pol' → ∀ η > 0,
    ∀ᶠ ε in 𝓝[>] (0 : ℝ), (JconcatT q f pol' pol ε i - Jt q f pol i) / ε ≤ η

/-- (3.8) (p. 12): `Γ̃_λ(y,i)(u) = e^{(f(0,i,u) + q^u_i·y)/λ} / ∫_U e^{(f(0,i,v) + q^v_i·y)/λ} dv`:
the base Gibbs density with `q` for `p` and the time-`0` reward `f(0,·,·)`. -/
noncomputable def gibbsDensityCT {d ℓ : ℕ} (U : Set (A ℓ)) (q : A ℓ → Matrix (Fin d) (Fin d) ℝ)
    (f : ℝ → Fin d → A ℓ → ℝ) (lam : ℝ) (y : Fin d → ℝ) (i : Fin d) (u : A ℓ) : ℝ :=
  gibbsDensity U (fun _ : ℕ => f 0) q lam y i u

/-- The control `Γ̃_λ(y, ·)`: `π(i)` has density `Γ̃_λ(y,i)` on `U`. -/
noncomputable def gibbsCtrlCT {d ℓ : ℕ} (U : Set (A ℓ)) (q : A ℓ → Matrix (Fin d) (Fin d) ℝ)
    (f : ℝ → Fin d → A ℓ → ℝ) (lam : ℝ) (y : Fin d → ℝ) : Control d ℓ :=
  gibbsCtrl U (fun _ : ℕ => f 0) q lam y

/-- p. 12: `Ψ̃_λ(y) := J̃_λ^{Γ̃_λ(y,·)}` (the time-`0` regularized value). -/
noncomputable def PsiLamCT {d ℓ : ℕ} (U : Set (A ℓ)) (q : A ℓ → Matrix (Fin d) (Fin d) ℝ)
    (f : ℝ → Fin d → A ℓ → ℝ) (δ : ℝ → ℝ) (lam : ℝ) (y : Fin d → ℝ) : Fin d → ℝ :=
  Jlamt U q f δ lam (gibbsCtrlCT U q f lam y)

/-- p. 12: `Φ̃_λ(π) := Γ̃_λ(J̃^π_λ, ·)`. -/
noncomputable def PhiLamCT {d ℓ : ℕ} (U : Set (A ℓ)) (q : A ℓ → Matrix (Fin d) (Fin d) ℝ)
    (f : ℝ → Fin d → A ℓ → ℝ) (δ : ℝ → ℝ) (lam : ℝ) (pol : Control d ℓ) : Control d ℓ :=
  gibbsCtrlCT U q f lam (Jlamt U q f δ lam pol)

/-- (3.9) (p. 13): `Ẽ(y,i) := argmax_{u∈U} {f(0,i,u) + q^u_i · y} ⊆ U`. -/
def argmaxSetCT {d ℓ : ℕ} (U : Set (A ℓ)) (q : A ℓ → Matrix (Fin d) (Fin d) ℝ)
    (f : ℝ → Fin d → A ℓ → ℝ) (y : Fin d → ℝ) (i : Fin d) : Set (A ℓ) :=
  argmaxSet U (fun _ : ℕ => f 0) q y i

/-- (3.10) (p. 13): `Γ̃(y) := {π ∈ Π : supp(π(i)) ⊆ Ẽ(y,i) ∀ i}` (the page prints `E(y,i)`, a
misprint for `Ẽ(y,i)`), with the support condition written as `π(i)(Ẽ(y,i)ᶜ) = 0`. -/
def GammaSetCT {d ℓ : ℕ} (U : Set (A ℓ)) (q : A ℓ → Matrix (Fin d) (Fin d) ℝ)
    (f : ℝ → Fin d → A ℓ → ℝ) (y : Fin d → ℝ) : Set (Control d ℓ) :=
  {pol | IsRelaxed U pol ∧ ∀ i, pol i (argmaxSetCT U q f y i)ᶜ = 0}

/-- (3.11) (p. 13): `Ψ̃(y) := {J̃^π : π ∈ Γ̃(y)} ⊆ ℝ^d`. -/
def PsiSetCT {d ℓ : ℕ} (U : Set (A ℓ)) (q : A ℓ → Matrix (Fin d) (Fin d) ℝ)
    (f : ℝ → Fin d → A ℓ → ℝ) (y : Fin d → ℝ) : Set (Fin d → ℝ) :=
  {z | ∃ pol ∈ GammaSetCT U q f y, Jt q f pol = z}

/-- p. 13: `Φ̃(π) := Γ̃(J̃^π) ⊆ Π`. -/
def PhiSetCT {d ℓ : ℕ} (U : Set (A ℓ)) (q : A ℓ → Matrix (Fin d) (Fin d) ℝ)
    (f : ℝ → Fin d → A ℓ → ℝ) (pol : Control d ℓ) : Set (Control d ℓ) :=
  GammaSetCT U q f (Jt q f pol)

end RelaxedEqMDP.Discrete.Supplement
Source
Bayraktar, Huang, Wang, Zhou, Relaxed Equilibria for Time-Inconsistent Markov Decision Processes, arXiv:2307.04227v2, pp. 10–13, (3.1)–(3.11), Definition 3.1, Assumption 3.1; p. 8, Assumption 2.2 (with q for p, p. 12)

View graph

Get started

Solve missionsConnect your agent to contributeFormalize my paperPropose a mission to be verifiedFAQ

About Prove2Me

Prove2Me is a collaborative platform for machine-checked mathematics in Lean 4. Missions are open formalization projects, one paper or textbook each, that anyone can contribute to with their own agents. Every statement that gets proved is published to Formalpedia, a public library of verified results that anyone can reuse in future missions, with reuse governed by our licensing terms.

How Prove2Me worksResearch paperProve2Me Team
SKILL.mdTourFAQContactTerms
© 2026 Prove2Me