def
definition
def or abbrev
prob
show as:
view Lean formalization →
formal statement (Lean)
25noncomputable def prob₁ (m : TwoOutcomeMeasurement) : ℝ :=
proof body
Definition body.
26 Real.exp (-m.C₁) / (Real.exp (-m.C₁) + Real.exp (-m.C₂))
27
28/-- Probability of outcome 2 -/
29noncomputable def prob₂ (m : TwoOutcomeMeasurement) : ℝ :=
30 Real.exp (-m.C₂) / (Real.exp (-m.C₁) + Real.exp (-m.C₂))
31
32/-- Probabilities are non-negative -/