Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion Probability/Basic.lean
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
--Please add to main pretty pretty please
--Broke everything
import Mathlib.Data.Nat.Basic
import Mathlib.Data.Real.Basic
import Mathlib.Data.Rat.Defs
Expand Down Expand Up @@ -26,7 +28,7 @@ def indicator (cond : Bool) : ℚ := cond.rec 0 1
abbrev 𝕀 : Bool → ℚ := indicator

/-- Indicator is 0 or 1 -/
theorem ind_zero_one (cond : τ → Bool) (ω : τ) : ( (𝕀∘cond) ω = 1)∨((𝕀∘cond) ω = 0) := by
theorem ind_zero_on (cond : τ → Bool) : ( (𝕀∘cond) ω = 1)∨((𝕀∘cond) ω = 0) := by
by_cases h : cond ω
· left; simp only [Function.comp_apply, h, indicator]
· right; simp only [Function.comp_apply, h, indicator]
Expand Down
1 change: 1 addition & 0 deletions blueprint/src/print.tex
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
% (no ugly rectangles around links).
% It is otherwise a very minimal preamble (you should probably at least
% add cleveref and tikz-cd).
% broke everything

\documentclass[letterpaper]{article}

Expand Down