∀ {Ω : Type u_1} {β : Type u_6} {β' : Type u_7} {_mΩ : MeasurableSpace Ω} {μ : MeasureTheory.Measure Ω} {f : Ω → β}
  {g : Ω → β'} {mβ : MeasurableSpace β} {mβ' : MeasurableSpace β'} {f' : Ω → β} {g' : Ω → β'},
  ProbabilityTheory.IndepFun f g μ → f =ᵐ[μ] f' → g =ᵐ[μ] g' → ProbabilityTheory.IndepFun f' g' μ