Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
bmtrager committed Dec 3, 2023
1 parent 08b1eb1 commit b6b27b3
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions coq/FHE/encode.v
Original file line number Diff line number Diff line change
Expand Up @@ -2403,13 +2403,11 @@ Section norms.
Lemma matrix_norm_inf_scale {n m} (mat : 'M[R[i]]_(n,m)) (c : R[i]) :
matrix_norm_inf (scalemx c mat) = (normc c)*(matrix_norm_inf mat).
Proof.
rewrite /matrix_norm_inf /scalemx.
rewrite max_mult_distl.
rewrite /matrix_norm_inf /scalemx max_mult_distl.
- apply eq_bigr => j _.
rewrite sum_mult_distl.
apply eq_bigr => k _.
rewrite mxE.
by rewrite ComplexField.Normc.normcM.
by rewrite mxE ComplexField.Normc.normcM.
- apply normc_nnegR.
Qed.

Expand Down

0 comments on commit b6b27b3

Please sign in to comment.