theorem uniform_onOpenSimplex (hJ : 0 < J) :
OnOpenSimplex J (fun _ : Fin J => (1 : ℝ) / ↑J) := by
constructor
· intro _
exact div_pos one_pos (Nat.cast_pos.mpr hJ)
· rw [Finset.sum_const, Finset.card_univ, Fintype.card_fin, nsmul_eq_mul]
field_simpCore definitions for the Lean formalization of Paper 2: