@@ -255,19 +255,19 @@ Proof. by rewrite -implypN lax_notE. Qed.
255255Canonical and_nProp P tQ nQ Q :=
256256 ProperNegatedProp (@and_nPropP P tQ nQ Q).
257257
258- Fact and3_nPropP P Q tR nR R : (~ [/\ P, Q & nProp tR nR R]) = (P -> Q -> nR).
258+ Fact and3_nPropP P Q tR nR R : (~ [/\ P, Q & nProp tR nR R]) = (P -> Q -> nR).
259259Proof . by hnf; rewrite and3E notE. Qed .
260260Canonical and3_nProp P Q tR nR R :=
261261 ProperNegatedProp (@and3_nPropP P Q tR nR R).
262262
263263Fact and4_nPropP P Q R tS nS S :
264- (~ [/\ P, Q, R & nProp tS nS S]) = (P -> Q -> R -> nS).
264+ (~ [/\ P, Q, R & nProp tS nS S]) = (P -> Q -> R -> nS).
265265Proof . by hnf; rewrite and4E notE. Qed .
266266Canonical and4_nProp P Q R tS nS S :=
267267 ProperNegatedProp (@and4_nPropP P Q R tS nS S).
268268
269269Fact and5_nPropP P Q R S tT nT T :
270- (~ [/\ P, Q, R, S & nProp tT nT T]) = (P -> Q -> R -> S -> nT).
270+ (~ [/\ P, Q, R, S & nProp tT nT T]) = (P -> Q -> R -> S -> nT).
271271Proof . by hnf; rewrite and5E notE. Qed .
272272Canonical and5_nProp P Q R S tT nT T :=
273273 ProperNegatedProp (@and5_nPropP P Q R S tT nT T).
@@ -279,14 +279,14 @@ Canonical or_nProp tP nP P tQ nQ Q :=
279279 ProperNegatedProp (@or_nPropP tP nP P tQ nQ Q).
280280
281281Fact or3_nPropP tP nP P tQ nQ Q tR nR R :
282- (~ [\/ nProp tP nP P, nProp tQ nQ Q | nProp tR nR R]) = [/\ nP, nQ & nR].
282+ (~ [\/ nProp tP nP P, nProp tQ nQ Q | nProp tR nR R]) = [/\ nP, nQ & nR].
283283Proof . by rewrite or3E notE and3E. Qed .
284284Canonical or3_nProp tP nP P tQ nQ Q tR nR R :=
285285 ProperNegatedProp (@or3_nPropP tP nP P tQ nQ Q tR nR R).
286286
287287Fact or4_nPropP tP nP P tQ nQ Q tR nR R tS nS S :
288288 (~ [\/ nProp tP nP P, nProp tQ nQ Q, nProp tR nR R | nProp tS nS S])
289- = [/\ nP, nQ, nR & nS].
289+ = [/\ nP, nQ, nR & nS].
290290Proof . by rewrite or4E notE and4E. Qed .
291291Canonical or4_nProp tP nP P tQ nQ Q tR nR R tS nS S :=
292292 ProperNegatedProp (@or4_nPropP tP nP P tQ nQ Q tR nR R tS nS S).
@@ -451,7 +451,7 @@ Canonical leq_neg n lt_nm m := NegatedBool (@leq_negP n lt_nm m).
451451(***************************************************************************** *)
452452
453453Structure neqRHS nP T x :=
454- NeqRHS {neq_RHS :> wrapped T; _ : (x <> unwrap neq_RHS) = nP}.
454+ NeqRHS {neq_RHS :> wrapped T; _ : (x <> unwrap neq_RHS) = nP}.
455455Structure boolNeqRHS nP (x : bool) :=
456456 BoolNeqRHS {bool_neq_RHS; _ : (x <> bool_neq_RHS) = nP}.
457457
@@ -464,9 +464,7 @@ Proof. by case: y. Qed.
464464Canonical bool_neq nP x y := @NeqRHS nP bool x (wrap _) (@bool_neqP nP x y).
465465Canonical true_neq nP b := BoolNeqRHS (@is_true_nPropP nP b).
466466Local Fact false_neqP P (b : positedBool P) : (b <> false :> bool) = P.
467- Proof .
468- admit.
469- Admitted .
467+ Proof . by move: b => [] [] /= <-; exact/propext. Qed .
470468Canonical false_neq P b := BoolNeqRHS (@false_neqP P b).
471469
472470Local Fact eqType_neqP (T : eqType) (x y : T) : (x <> y) = (x != y).
@@ -561,16 +559,16 @@ Local Fact sumbool_wTypeP P Q : inhabited ({P} + {Q}) = (P \/ Q).
561559Proof . by eqInh=> [[] | /decide_or[]]; by [left | right]. Qed .
562560Canonical sumbool_wType P Q := ProperWitnessedType (@sumbool_wTypeP P Q).
563561
564- Local Fact sumor_wTypeP P Q T : inhabited (wType P T + {Q}) = (P \/ Q).
562+ Local Fact sumor_wTypeP P Q T : inhabited (wType P T + {Q}) = (P \/ Q).
565563Proof . by eqInh=> [[/wTypeP|] | /decide_or[/T|]]; by [left | right]. Qed .
566564Canonical sumor_wType P Q T := ProperWitnessedType (@sumor_wTypeP P Q T).
567565
568- Local Fact sig1_wTypeP T P : inhabited {x : T | P x} = (exists x : T, P x).
566+ Local Fact sig1_wTypeP T P : inhabited {x : T | P x} = (exists x : T, P x).
569567Proof . by eqInh=> [[x Px] | /cid//]; exists x. Qed .
570568Canonical sig1_wType T P := ProperWitnessedType (@sig1_wTypeP T P).
571569
572570Local Fact sig2_wTypeP T P Q :
573- inhabited {x : T | P x & Q x} = exists2 x : T, P x & Q x.
571+ inhabited {x : T | P x & Q x} = exists2 x : T, P x & Q x.
574572Proof . by eqInh=> [[x Px Qx] | /cid2//]; exists x. Qed .
575573Canonical sig2_wType T P Q := ProperWitnessedType (@sig2_wTypeP T P Q).
576574
0 commit comments