Download PFR/ForMathlib/Pair.lean from cfahlgren1/lean-pfr: direct link, hf CLI and curl.
- Browser
- Download file 441 Bytes
-
https://huggingface.co/datasets/cfahlgren1/lean-pfr/resolve/main/PFR/ForMathlib/Pair.lean
- Command line
-
hf download hf://datasets/cfahlgren1/lean-pfr/PFR/ForMathlib/Pair.lean
-
curl -L -o Pair.lean https://huggingface.co/datasets/cfahlgren1/lean-pfr/resolve/main/PFR/ForMathlib/Pair.lean
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 | |