lean_workbook_plus_19271
ProvedThis is a basic conditional probability problem, so let be the event that the sum of the two dice is 8 and the event that at least one die does not show a 5. You are basically looking for .\nHere we have and has 25 elements (too lazy to list them, but you can get the idea that out of the 36 ordered pairs, take out those with a 5 in it, so there are .)\n , so . Similarly, .\nThus, .
Preamble
import Mathlib.Analysis.Complex.Basic
Formal statement
theorem lean_workbook_plus_19271 : (3 : ℝ) / 25 = (3 / 36) / (25 / 36) := by sorry
Source