Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
bmtrager committed Dec 3, 2023
1 parent 19e428f commit 8498a19
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions coq/FHE/encode.v
Original file line number Diff line number Diff line change
Expand Up @@ -1958,6 +1958,20 @@ Section norms.
by rewrite ComplexField.Normc.normc0.
Qed.

Lemma norm_inf_diag_alt {n} (v : 'rV[R[i]]_n) :
norm_inf v = matrix_norm_inf (diag_mx v).
Proof.
rewrite /norm_inf /matrix_norm_inf.
apply eq_bigr => i _.
rewrite (bigD1 i) // /= big1_idem ?addr0 //.
- by rewrite /diag_mx mxE eq_refl /= mulr1n.
- intros.
rewrite mxE.
Admitted.
(*
by rewrite ComplexField.Normc.normc0.
*)

Lemma normc_nneg (x : R[i]) :
(R0 <= normc x)%O.
Proof.
Expand Down

0 comments on commit 8498a19

Please sign in to comment.