@@ -2482,7 +2482,7 @@ Proof. by apply/eqP => /seteqP[] /(_ point) /(_ Logic.I). Qed.
24822482
24832483End PointedTheory.
24842484
2485- HB.mixin Record isBiPointed (X : Type ) of Equality X := {
2485+ HB.mixin Record isBiPointed (X : Type ) & Equality X := {
24862486 zero : X;
24872487 one : X;
24882488 zero_one_neq : zero != one;
@@ -2511,10 +2511,10 @@ HB.mixin Record isEmpty T := {
25112511#[short(type="emptyType")]
25122512HB.structure Definition Empty := {T of isEmpty T & Finite T}.
25132513
2514- HB.factory Record Choice_isEmpty T of Choice T := {
2514+ HB.factory Record Choice_isEmpty T & Choice T := {
25152515 axiom : T -> False
25162516}.
2517- HB.builders Context T of Choice_isEmpty T.
2517+ HB.builders Context T & Choice_isEmpty T.
25182518
25192519Definition pickle : T -> nat := fun=> 0%N.
25202520Definition unpickle : nat -> option T := fun=> None.
@@ -2532,12 +2532,12 @@ HB.end.
25322532HB.factory Record Type_isEmpty T := {
25332533 axiom : T -> False
25342534}.
2535- HB.builders Context T of Type_isEmpty T.
2535+ HB.builders Context T & Type_isEmpty T.
25362536Definition eq_op (x y : T) := true.
25372537Lemma eq_opP : Equality.axiom eq_op. Proof . by move=> ? /[dup]/axiom. Qed .
25382538HB.instance Definition _ := hasDecEq.Build T eq_opP.
25392539
2540- Definition find of pred T & nat : option T := None.
2540+ Definition find & pred T & nat : option T := None.
25412541Lemma findP (P : pred T) (n : nat) (x : T) : find P n = Some x -> P x.
25422542Proof . by []. Qed .
25432543Lemma ex_find (P : pred T) : (exists x : T, P x) -> exists n : nat, find P n.
0 commit comments