Datasets:

ArXiv:
License:
lean-pfr / PFR /ForMathlib /Pair.lean
cfahlgren1's picture
cfahlgren1 HF Staff
mirror at 1899ce8ed95fc310cce53d4c7ecfa2beb20ebec4
bf6216d verified
Raw History Blame Contribute Delete
441 Bytes
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