Skip to content

Commit

Permalink
adapt to coq/coq#18729
Browse files Browse the repository at this point in the history
  • Loading branch information
andres-erbsen committed Mar 2, 2024
1 parent 06509a9 commit e5fe91b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
4 changes: 1 addition & 3 deletions theories/Torch/Tensor.v
Original file line number Diff line number Diff line change
Expand Up @@ -583,7 +583,7 @@ Module RawIndex.
end.
specialize (IHr ltac:(Z.to_euclidean_division_equations; nia)).
destruct IHr as [IHr1 IHr2].
rewrite IHr1; repeat split; try (now destruct r); try lia; [].
rewrite IHr1; repeat split; try (now destruct r); try lia;
Z.to_euclidean_division_equations; nia.
Qed.

Expand Down Expand Up @@ -1335,5 +1335,3 @@ Definition coer_tensor {r s A B} {coerAB : has_coer A B} : @tensor r s A -> @ten
#[export] Set Warnings Append "-uniform-inheritance,-ambiguous-paths".
#[local] Set Warnings Append "-unsupported-attributes".
#[export] Coercion coer_tensor : tensor >-> tensor.
#[local] Set Warnings Append "unsupported-attributes".
#[export] Set Warnings Append "uniform-inheritance,ambiguous-paths".
2 changes: 1 addition & 1 deletion theories/Util/Wf_Uint63.v
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ Proof.
else state)
i
init).
{ abstract
{ clear dependent A; abstract
(cbv [is_true];
pose proof (Uint63.to_Z_bounded max);
pose proof (Uint63.to_Z_bounded i);
Expand Down

0 comments on commit e5fe91b

Please sign in to comment.