File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -323,7 +323,8 @@ proof.
323323elim: s => // x s IHs F_ge0; rewrite BMul.big_cons.
324324have {IHs} IHs := IHs _; first by smt().
325325case: (P x) => [Px F_big_gt0 a a_x_s Pa| nPx /IHs]; 2:smt().
326- smt(pmulr_gt0 prodr_ge0_seq).
326+ rewrite pmulr_gt0 in F_big_gt0; 1, 3:smt().
327+ apply: prodr_ge0_seq; smt().
327328qed.
328329
329330lemma ler_prod_seq (P : ' a -> bool ) (F1 F2 : ' a -> t) s:
Original file line number Diff line number Diff line change @@ -1133,7 +1133,8 @@ proof.
11331133 move=> s_x; pose i := index x s.
11341134 exists i; exists (drop (i + 1) s ++ take i s).
11351135 rewrite -cat_cons /i /rot => {i}; congr=> //=.
1136- elim: s s_x => //= y s IHs; case: (x = y); smt().
1136+ elim: s s_x=> //= y s IHs; rewrite index_cons.
1137+ by case: (x = y)=> [<- /= | /#]; rewrite drop0.
11371138qed.
11381139
11391140(* -------------------------------------------------------------------- *)
You can’t perform that action at this time.
0 commit comments