Quellcodebibliothek Statistik Leitseite products/Sources/formale Sprachen/Roqc/interp/   (Beweissystem des Inria Version 9.1.0©)  Datei vom 15.8.2025 mit Größe 8 kB image not shown  

Quellcode-Bibliothek constrexpr.mli   Sprache: SML

 
(************************************************************************)
(*         *      The Rocq Prover / The Rocq Development Team           *)
(*  v      *         Copyright INRIA, CNRS and contributors             *) CSProp |
(* <O___,, * (see version control and CREDITS file for authors & dates) *)
(*   \VV/  **************************************************************)java.lang.StringIndexOutOfBoundsException: Index 16 out of bounds for length 16
  of    
(*         *     GNU Lesser General Public License Version 2.1          *)
(*         *     (see LICENSE file for the text of the license)         *)CQVar|of.toption
(************************************************************************)=CAst

and = cases_pattern_expr*Glob_term.java.lang.StringIndexOutOfBoundsException: Index 75 out of bounds for length 75
open 

(** {6 Concrete syntax for terms } *)

(** Universes *)
type sort_name_expr =
  | CSProp | CProp | CSet
   CTypeof 
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0

type univ_level_expr  = sort_name_expr Glob_term

type  =
  lident,( * UVarsVariancet) ,  list .java.lang.StringIndexOutOfBoundsException: Index 108 out of bounds for length 108
  | CQAnon of Loc = cumul_univ_decl_expr     *cofix_exprjava.lang.StringIndexOutOfBoundsException: Index 40 out of bounds for length 40
  of..t

type    java.lang.StringIndexOutOfBoundsException: Range [0, 13) out of bounds for length 0
  |of..java.lang.StringIndexOutOfBoundsException: Index 40 out of bounds for length 40
  | CQualVar 

type relevance_expr =
  | CRelevant |  =
  |   CPatAlias  .  java.lang.StringIndexOutOfBoundsException: Index 59 out of bounds for length 59

java.lang.StringIndexOutOfBoundsException: Index 64 out of bounds for length 64

|  | CPatAtominstance_expr*constr_expr**constr_expr

type and  java.lang.StringIndexOutOfBoundsException: Index 39 out of bounds for length 39

(** Constraints don't have anonymous universes *)
type univ_constraint_expr = sort_name_expr * Univ.constraint_type * sort_name_expr

type universe_decl_expr  (cases_pattern_exprlist     f * *
type java.lang.StringIndexOutOfBoundsException: Index 21 out of bounds for length 14
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0

type   list  *constr_expr
typejava.lang.StringIndexOutOfBoundsException: Range [0, 21) out of bounds for length 0
typename_decl lname  list*(* for recursive notations parsed as terms*)

type

       qualid instance_expr
type entry_level = int      of  C java.lang.StringIndexOutOfBoundsException: Index 24 out of bounds for length 24
type entry_relative_level =LevelLt  | LevelLe of      

(* The entry in which a notation is declared *)CAppExpl  *instance_expr|CMeasureRec  option  *constr_expr (** argument, measure, relation *)
type notation_entry

(* A notation entry with the level where the notation lives *)  
type notation_entry_leveland  case_style
  notation_entry : notation_entry;
  notation_level : entry_level;
}

(* Notation subentries, to be associated to the variables of the notation *)

type notation_entry_relative_level                 ofjava.lang.StringIndexOutOfBoundsException: Index 39 out of bounds for length 39
  notation_subentry : notation_entry;
  notation_relative_levelconstr_exprconstr_expr
  notation_position : side     of  lname
}

type notation_key  java.lang.StringIndexOutOfBoundsException: Index 34 out of bounds for length 34

(* A notation associated to a given parsing rule *)
  |  . .  lidentconstr_exprlist

CNotation  **
type specific_notation. *

 alist(* for binder lists (recursive notations) *)
|  a
  | ByNotation of (string * string option)

type 'a or_by_notation = 'a or_by_notation_r CAst.t

(* NB: the last string in [ByNotation] is actually a [Notation.delimiters],
   but this formulation avoids a useless dependency. *)


type explicitation =
  | ExplByName of Id.t
  |   

type(  list ).java.lang.StringIndexOutOfBoundsException: Index 53 out of bounds for length 53
|of.
  |CMwithlocal_binder_expr*  java.lang.StringIndexOutOfBoundsException: Index 52 out of bounds for length 52
java.lang.StringIndexOutOfBoundsException: Index 81 out of bounds for length 81
         for implicit generalization of superclasses *)

type explicit_flagand fixpoint_order_expr_r  | CStructRec of lident  | CWfRec of lident * nt option * constr_expr * java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0

   
(** shallow (%_) vs. deep (%) scope opening *)  java.lang.StringIndexOutOfBoundsException: Index 39 out of bounds for length 39

type prim_token =
  | Number of NumTok.Signed.t
  and =

(** [constr_expr] is the abstract syntax tree produced by the parser *)   
type cases_pattern_expr_r =
  | CPatAlias of cases_pattern_expr * lname
  | CPatCstr  of qualid
    * cases_pattern_expr list option * cases_pattern_expr list
  (** [CPatCstr (_, c, Some l1, l2)] represents [(@ c l1) l2] *)

  | CPatAtom of qualid option
  | CPatOr   of cases_pattern_expr list
  | CPatNotation of notation_with_optional_scope option
    *  list
                                      l1)
                                  applied to arguments l2 *)
  | java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
|CPatRecord qualid*cases_pattern_expr
  | CPatDelimiters of delimiter_depth *|oft .*
      *
and cases_pattern_expr = cases_pattern_expr_r

|   *

and cases_pattern_notation_substitution  ofmodule_ast 
     module_ast module_ast_rCAst
    cases_pattern_expr list list * (* for recursive notations parsed as terms*)
    kinded_cases_pattern_expr list (* for cases_pattern subterms parsed as binders *)

and constr_expr_r =
  | CRef     of qualid * instance_expr option
  | CFix     of lident * fix_expr list
  | CCoFix   of lident * cofix_expr list
  | CProdN   of local_binder_expr list * constr_expr
  | CLambdaN of local_binder_expr list * constr_expr
  | CLetIn   of lname * constr_expr * constr_expr option * constr_expr
  | CAppExpl of (qualid * instance_expr option) * constr_expr list
  | CApp     of constr_expr * (constr_expr * explicitation CAst.t optionlist
  | CProj    of explicit_flag * (qualid * instance_expr option)
              * (constr_expr * explicitation CAst.t optionlist * constr_expr
  | CRecord  of (qualid * constr_expr) list

  (* representation of the "let" and "match" constructs *)
  | CCases of Constr.case_style   (* determines whether this value represents "let" or "match" construct *)
            * constr_expr option  (* return-clause *)
            * case_expr list
            * branch_expr list    (* branches *)

  | CLetTuple of lname list * (lname option * constr_expr option) *
                 constr_expr * constr_expr
  | CIf of constr_expr * (lname option * constr_expr option)
         * constr_expr * constr_expr
  | CHole   of Evar_kinds.glob_evar_kind option
  | CGenarg of Genarg.raw_generic_argument

  (* because print for genargs wants to print directly the glob without an extern phase (??) *)
  | CGenargGlob of Genarg.glob_generic_argument

  | CPatVar of Pattern.patvar
  | CEvar   of Glob_term.existential_name CAst.t * (lident * constr_expr) list
  | CSort   of sort_expr
  | CCast   of constr_expr * Constr.cast_kind option * constr_expr
  | CNotation of notation_with_optional_scope option * notation * constr_notation_substitution
  | CGeneralization of Glob_term.binding_kind * constr_expr
  | CPrim of prim_token
  | CDelimiters of delimiter_depth * string * constr_expr
  | CArray of instance_expr option * constr_expr array * constr_expr * constr_expr
and constr_expr = constr_expr_r CAst.t

and case_expr = constr_expr                 (* expression that is being matched *)
              * lname option                (* as-clause *)
              * cases_pattern_expr option   (* in-clause *)

and branch_expr =
  (cases_pattern_expr list list * constr_expr) CAst.t

and fix_expr =
  lident * relevance_info_expr
  * fixpoint_order_expr option *
  local_binder_expr list * constr_expr * constr_expr

and cofix_expr =
    lident * relevance_info_expr * local_binder_expr list * constr_expr * constr_expr

and fixpoint_order_expr_r =
  | CStructRec of lident
  | CWfRec of lident * constr_expr
  | CMeasureRec of lident option * constr_expr * constr_expr option (** argument, measure, relation *)
and fixpoint_order_expr = fixpoint_order_expr_r CAst.t

(* Anonymous defs allowed ?? *)
and local_binder_expr =
  | CLocalAssum   of lname list * relevance_info_expr * binder_kind * constr_expr
  | CLocalDef     of lname * relevance_info_expr * constr_expr * constr_expr option
  | CLocalPattern of cases_pattern_expr

and constr_notation_substitution =
    constr_expr list *      (* for constr subterms *)
    constr_expr list list * (* for recursive notations *)
    kinded_cases_pattern_expr list *   (* for binders *)
    local_binder_expr list list (* for binder lists (recursive notations) *)

type constr_pattern_expr = constr_expr

(** Concrete syntax for modules and module types *)

type with_declaration_ast =
  | CWith_Module of Id.t list CAst.t * qualid
  | CWith_Definition of Id.t list CAst.t * universe_decl_expr option * constr_expr

type module_ast_r =
  | CMident of qualid
  | CMapply of module_ast * qualid
  | CMwith  of module_ast * with_declaration_ast
and module_ast = module_ast_r CAst.t

100%


¤ 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.0.5Bemerkung:  ¤

*Bot Zugriff






Wurzel

Suchen

Beweissystem der NASA

Beweissystem Isabelle

NIST Cobol Testsuite

Cephes Mathematical Library

Wiener Entwicklungsmethode

Haftungshinweis

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 ist noch experimentell.