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 8498a19 commit 521b002
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions coq/FHE/encode.v
Original file line number Diff line number Diff line change
Expand Up @@ -1953,8 +1953,7 @@ Section norms.
- generalize (diag_mx_is_diag v) => H.
move /is_diag_mxP in H.
intros.
rewrite -tr_diag_mx mxE.
rewrite H //.
rewrite H; [|rewrite eq_sym //].
by rewrite ComplexField.Normc.normc0.
Qed.

Expand All @@ -1967,10 +1966,9 @@ Section norms.
- by rewrite /diag_mx mxE eq_refl /= mulr1n.
- intros.
rewrite mxE.
Admitted.
(*
by rewrite ComplexField.Normc.normc0.
*)
rewrite eq_sym (Bool.negb_involutive_reverse (@eq_op (Finite.eqType (ordinal_finType n)) i0 i)).
by rewrite H ComplexField.Normc.normc0.
Qed.

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

0 comments on commit 521b002

Please sign in to comment.