File size: 441 Bytes
bf6216d | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 | module
public import Mathlib.Util.Notation3
public import Mathlib.Tactic.Basic
public section
/-- The pair of two random variables -/
abbrev prod {Ω S T : Type*} (X : Ω → S) (Y : Ω → T) (ω : Ω) : S × T := (X ω, Y ω)
@[inherit_doc prod] notation3:100 "⟨" X ", " Y "⟩" => prod X Y
@[simp]
lemma prod_eq {Ω S T : Type*} {X : Ω → S} {Y : Ω → T} {ω : Ω} :
(⟨ X, Y ⟩ : Ω → S × T) ω = (X ω, Y ω) := rfl
|