Skip to content

Commit

Permalink
mat_vec_norm_inf
Browse files Browse the repository at this point in the history
  • Loading branch information
bmtrager committed Nov 29, 2023
1 parent aa885d6 commit b047de4
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions coq/FHE/encode.v
Original file line number Diff line number Diff line change
Expand Up @@ -1965,12 +1965,13 @@ Section norms.
Qed.

Lemma mat_vec_norm_inf {n} (v : 'rV[R[i]]_n) :
norm1 v = matrix_norm1 v.
norm_inf v = matrix_norm1 v.
Proof.
unfold norm1, matrix_norm1, matrix_norm_inf.
symmetry.
Admitted.

rewrite /norm_inf /matrix_norm1 /matrix_norm_inf /=.
apply eq_bigr.
intros.
by rewrite big_ord_recl big_ord0 addr0 mxE.
Qed.

Lemma matrix_norm_inf_sub_mult {n m p}
(mat1 : 'M[R[i]]_(n, m))
Expand Down

0 comments on commit b047de4

Please sign in to comment.