(************************************************************************)
(*         *      The Rocq Prover / The Rocq Development Team           *)
(*  v      *         Copyright INRIA, CNRS and contributors             *)
(* <O___,, * (see version control and CREDITS file for authors & dates) *)
(*   \VV/  **************************************************************)
(*    //   *    This file is distributed under the terms of the         *)
(*         *     GNU Lesser General Public License Version 2.1          *)
(*         *     (see LICENSE file for the text of the license)         *)
(************************************************************************)
(** * Basic facts about Prop as a type *)
(** An intuitionistic theorem from topos theory [[LambekScott]]  References:  [[LambekScott]] Jim Lambek, Phil J. Scott, Introduction to higher order categorical logic, Cambridge Studies in Advanced Mathematics (Book 7), 1988.  *)

(* Specifications: *)
Theorem injection_is_involution_in_Prop
(f : Prop -> Prop)
(inj : forall A B, (f A <-> f B) -> (A <-> B))
(ext : forall A B, A <-> B -> f A <-> f B)
: forall A, f (f A) <-> A.