Skip to content

Commit 15d3340

Browse files
committed
final cleanup
1 parent f8e030a commit 15d3340

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

PFR/ForMathlib/Entropy/Basic.lean

-1
Original file line numberDiff line numberDiff line change
@@ -1087,4 +1087,3 @@ example (hX : Measurable X) (hY : Measurable Y) :
10871087
H[⟨X, Y⟩] = H[Y] + H[X | Y] := chain_rule _ hX hY
10881088

10891089
end MeasureSpace_example
1090-

PFR/ForMathlib/Entropy/Measure.lean

+1-1
Original file line numberDiff line numberDiff line change
@@ -404,7 +404,7 @@ lemma entropy_of_uniformOn (H : Set S) [Nonempty H] [Finite H] :
404404
simp only [negMulLog, one_div, log_inv, mul_neg, neg_mul, neg_neg, ← mul_assoc]
405405
rw [mul_inv_cancel₀, one_mul]
406406
simp only [ne_eq, Nat.cast_eq_zero, Nat.card_ne_zero]
407-
exact ⟨ ‹_›, ‹_›
407+
exact ⟨‹_›, ‹_›⟩
408408

409409
lemma measureEntropy_eq_card_iff_measure_eq [Fintype S] [IsFiniteMeasure μ] [NeZero μ] :
410410
Hm[μ] = log (Fintype.card S) ↔

0 commit comments

Comments
 (0)