∀ {X : ℕ → Type u_1} {mX : (n : ℕ) → MeasurableSpace (X n)} {a b : ℕ}
  {κ : (n : ℕ) → ProbabilityTheory.Kernel ((i : ↥(Finset.Iic n)) → X ↑i) (X (n + 1))}
  [∀ (n : ℕ), ProbabilityTheory.IsMarkovKernel (κ n)] (c : ℕ) {f : ((n : ℕ) → X n) → ENNReal},
  Measurable f → DependsOn f ↑(Finset.Iic a) → a ≤ b → ProbabilityTheory.Kernel.lmarginalPartialTraj κ b c f = f