Je suis en train de faire les travaux suivants: Definition gen `{A:Type}
{i o: nat}
(f: nat -> (option nat))
{ibound: forall (n n':nat), f n = Some n' -> n' < i}
(x: svecto
J'essaie d'écrire le tamis de Eratosthènes dans Coq. J'ai une fonction crossout : forall {n:nat}, vector bool n -> nat -> vector bool n. Lorsque le tamis trouve un nombre premier, il utilise crossout
J'ai la question suivante, regardez dans le code. (* Suppose we have type A *)
Variable A: Type.
(* Also we have a function that returns the type (option A) *)
Definition f_opt x: opti