Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
bmtrager committed Jan 24, 2025
1 parent fe6d8e1 commit 55f411b
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 450 deletions.
8 changes: 8 additions & 0 deletions coq/ProbTheory/RealVectorHilbert.v
Original file line number Diff line number Diff line change
Expand Up @@ -586,6 +586,14 @@ Section Rvector_defs.
lra.
Qed.

Lemma Rvector_mult_plus_distr_l (x y z : vector R n) :
x * (y + z) = (x * y) + (x * z).
Proof.
rewrite Rvector_mult_comm.
rewrite Rvector_mult_plus_distr_r.
now repeat rewrite (Rvector_mult_comm x _).
Qed.

Lemma Rvector_sum_plus_distr (x y:vector R n) :
∑ (x + y) = (∑ x + ∑ y)%R.
Proof.
Expand Down
Loading

0 comments on commit 55f411b

Please sign in to comment.