(************************************************************************) (* * 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) *) (************************************************************************)
open Environ open Evd open EConstr
(** [telescope env sigma ctx] turns a context [x1:A1;...;xn:An] into a right-associatednestedsigma-typeoftherightsort.Itreturns: -thenestedsigma-type[T:={x1:A1&...{xn-1:An-1&...An}...}] -thecanonicaltuple[(existsT_x1...(existsT_xn-1xn)...)] inhabitingthesigma-typeinthegivencontext -aninstantiationoftheassumptionsof[ctx]withvaluesthey haveinthecontext[x:T],thatis [x1:=projT1x;...;xn-1:=projT1...(projT2x);xn:=projT2...(projT2x)]; notethatlet-insintheoriginalcontextarepreserved Dependingonthesortsoftypes,ituseseither[ex],[sig]or [sigT],evenifwealwaysused[sigT]aboveasanexample.
*)
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.