Skip to content

Commit

Permalink
NIT
Browse files Browse the repository at this point in the history
  • Loading branch information
hei411 committed Nov 29, 2024
1 parent a32c4d2 commit a6dc977
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions theories/prob/distribution.v
Original file line number Diff line number Diff line change
Expand Up @@ -2449,6 +2449,7 @@ Ltac solve_distr :=
| |- (dmap _ _).(pmf) _ > 0 =>
apply dmap_pos; eexists; (split; [done|]); try done
| |- (dunifP _).(pmf) _ > 0 => apply dunifP_pos
| |- (dunifv _ _).(pmf) _ > 0 => apply dunifv_pos
end.

Ltac solve_distr_mass :=
Expand All @@ -2458,6 +2459,7 @@ Ltac solve_distr_mass :=
| |- SeriesC (dmap _ _).(pmf) = 1 => rewrite dmap_mass //
| |- SeriesC (dunif _).(pmf) = 1 => rewrite dunif_mass //
| |- SeriesC (dunifP _).(pmf) = 1 => rewrite dunifP_mass //
| |- SeriesC (dunifv _ _).(pmf) = 1 => rewrite dunifv_mass //
end .

Ltac inv_dzero :=
Expand Down

0 comments on commit a6dc977

Please sign in to comment.