Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix unification errors #10

Merged
merged 1 commit into from
Jan 3, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Fix unification errors
I need these changes for LAProof to build on my configuration.  Not sure
which particular version needs this (Coq 8.18?)
  • Loading branch information
JasonGross committed Aug 23, 2023
commit 7e5c81dcfafde501e87a2c2db4021f5190dff960
4 changes: 2 additions & 2 deletions accuracy_proofs/gemv_acc.v
Original file line number Diff line number Diff line change
Expand Up @@ -333,7 +333,7 @@ apply ler_pmul => //.
apply normM_pos.
apply normv_pos.
rewrite /normM mulrC big_max_mul.
apply le_bigmax2 => i0 _.
apply: le_bigmax2 => i0 _.
rewrite /sum_abs.
rewrite big_mul => [ | i b | ]; try ring.
apply ler_sum => i _.
Expand All @@ -349,4 +349,4 @@ rewrite Hlenv1 in H2.
apply H2.
Qed.

End ForwardError.
End ForwardError.
2 changes: 1 addition & 1 deletion accuracy_proofs/mv_mathcomp.v
Original file line number Diff line number Diff line change
Expand Up @@ -614,7 +614,7 @@ Lemma subMultNorm m (A: 'M[R]_m.+1) (u : 'cV_m.+1) :
Proof.
remember (normv u) as umax.
rewrite /normr /normM /normv /sum_abs /= big_max_mul.
apply le_bigmax2 => i0 _.
apply: le_bigmax2 => i0 _.
rewrite mxE => /=.
eapply le_trans.
apply Rabs_sum .
Expand Down