package coq-serapi
Serialization library and protocol for machine interaction with the Coq proof assistant
Install
Dune Dependency
Authors
Maintainers
Sources
coq-serapi-8.16.0.0.16.1.tbz
sha256=f1070e6fa36ecf042319a14f621f26a331075f3777dfb85a0afbac6e3323e9d4
sha512=efbd947aa6750672f089b7b8604c798033793510eea1c45f4265df5f548b2ecdd3e69d5cb49b0714c09de1012fe358f618c9b1f4610a33339a151b4fdac42321
doc/coq-serapi.serlib/Serlib/Ser_vernacexpr/index.html
Module Serlib.Ser_vernacexpr
Source
Source
val notation_format_of_yojson :
Yojson.Safe.t ->
notation_format Ppx_deriving_yojson_runtime.error_or
Source
type syntax_modifier = Vernacexpr.syntax_modifier =
| SetItemLevel of string list * Notation_term.constr_as_binder_kind option * Extend.production_level
| SetItemScope of string list * scope_name
| SetLevel of int
| SetCustomEntry of string * int option
| SetAssoc of Gramlib.Gramext.g_assoc
| SetEntryType of string * Extend.simple_constr_prod_entry_key
| SetOnlyParsing
| SetOnlyPrinting
| SetFormat of notation_format
Source
val syntax_modifier_of_yojson :
Yojson.Safe.t ->
syntax_modifier Ppx_deriving_yojson_runtime.error_or
Source
val hash_fold_fixpoint_expr :
Ppx_hash_lib.Std.Hash.state ->
fixpoint_expr ->
Ppx_hash_lib.Std.Hash.state
Source
val constructor_list_or_record_decl_expr_of_sexp :
Sexplib.Sexp.t ->
constructor_list_or_record_decl_expr
Source
val sexp_of_constructor_list_or_record_decl_expr :
constructor_list_or_record_decl_expr ->
Sexplib.Sexp.t
Source
val equality_scheme_type_of_yojson :
Yojson.Safe.t ->
equality_scheme_type Ppx_deriving_yojson_runtime.error_or
Source
val import_categories_of_yojson :
Yojson.Safe.t ->
import_categories Ppx_deriving_yojson_runtime.error_or
Source
val export_with_cats_of_yojson :
Yojson.Safe.t ->
export_with_cats Ppx_deriving_yojson_runtime.error_or
Source
val one_import_filter_name_of_yojson :
Yojson.Safe.t ->
one_import_filter_name Ppx_deriving_yojson_runtime.error_or
Source
type import_filter_expr = Vernacexpr.import_filter_expr =
| ImportAll
| ImportNames of one_import_filter_name list
Source
val import_filter_expr_of_yojson :
Yojson.Safe.t ->
import_filter_expr Ppx_deriving_yojson_runtime.error_or
Source
val hint_info_expr_of_yojson :
Yojson.Safe.t ->
hint_info_expr Ppx_deriving_yojson_runtime.error_or
Source
val reference_or_constr_of_yojson :
Yojson.Safe.t ->
reference_or_constr Ppx_deriving_yojson_runtime.error_or
Source
type hints_expr = Vernacexpr.hints_expr =
| HintsResolve of (hint_info_expr * bool * reference_or_constr) list
| HintsResolveIFF of bool * Libnames.qualid list * int option
| HintsImmediate of reference_or_constr list
| HintsUnfold of Libnames.qualid list
| HintsTransparency of Libnames.qualid Hints.hints_transparency_target * bool
| HintsMode of Libnames.qualid * Hints.hint_mode list
| HintsConstructors of Libnames.qualid list
| HintsExtern of int * Constrexpr.constr_expr option * Genarg.raw_generic_argument
Source
type vernac_one_argument_status = Vernacexpr.vernac_one_argument_status = {
name : Names.Name.t;
recarg_like : bool;
notation_scope : string CAst.t option;
implicit_status : Glob_term.binding_kind;
}
Source
val vernac_one_argument_status_of_yojson :
Yojson.Safe.t ->
vernac_one_argument_status Ppx_deriving_yojson_runtime.error_or
Source
type vernac_argument_status = Vernacexpr.vernac_argument_status =
| VolatileArg
| BidiArg
| RealArg of vernac_one_argument_status
Source
val vernac_argument_status_of_yojson :
Yojson.Safe.t ->
vernac_argument_status Ppx_deriving_yojson_runtime.error_or
Source
type arguments_modifier = [
| `DefaultImplicits
| `ClearScopes
| `ReductionNeverUnfold
| `ExtraScopes
| `ClearImplicits
| `ClearBidiHint
| `Assert
| `Rename
| `ReductionDontExposeCase
]
Source
val arguments_modifier_of_yojson :
Yojson.Safe.t ->
arguments_modifier Ppx_deriving_yojson_runtime.error_or
Source
val option_setting_of_yojson :
Yojson.Safe.t ->
option_setting Ppx_deriving_yojson_runtime.error_or
Source
type vernac_expr = Vernacexpr.vernac_expr =
| VernacLoad of verbose_flag * string
| VernacReservedNotation of infix_flag * Names.lstring * syntax_modifier CAst.t list
| VernacOpenCloseScope of bool * scope_name
| VernacDeclareScope of scope_name
| VernacDelimiters of scope_name * string option
| VernacBindScope of scope_name * class_rawexpr list
| VernacNotation of infix_flag * Constrexpr.constr_expr * Names.lstring * syntax_modifier CAst.t list * scope_name option
| VernacNotationAddFormat of string * string * string
| VernacDeclareCustomEntry of string
| VernacDefinition of discharge * Decls.definition_object_kind * Constrexpr.name_decl * definition_expr
| VernacStartTheoremProof of Decls.theorem_kind * proof_expr list
| VernacEndProof of proof_end
| VernacExactProof of Constrexpr.constr_expr
| VernacAssumption of discharge * Decls.assumption_object_kind * Declaremods.inline * (Constrexpr.ident_decl list * Constrexpr.constr_expr) with_coercion list
| VernacInductive of inductive_kind * (inductive_expr * decl_notation list) list
| VernacFixpoint of discharge * fixpoint_expr list
| VernacCoFixpoint of discharge * cofixpoint_expr list
| VernacScheme of (Names.lident option * scheme) list
| VernacSchemeEquality of equality_scheme_type * Libnames.qualid Constrexpr.or_by_notation
| VernacCombinedScheme of Names.lident * Names.lident list
| VernacUniverse of Names.lident list
| VernacConstraint of Constrexpr.univ_constraint_expr list
| VernacBeginSection of Names.lident
| VernacEndSegment of Names.lident
| VernacExtraDependency of Libnames.qualid * string * Names.Id.t option
| VernacRequire of Libnames.qualid option * export_with_cats option * (Libnames.qualid * import_filter_expr) list
| VernacImport of export_with_cats * (Libnames.qualid * import_filter_expr) list
| VernacCanonical of Libnames.qualid Constrexpr.or_by_notation
| VernacCoercion of Libnames.qualid Constrexpr.or_by_notation * (class_rawexpr * class_rawexpr) option
| VernacIdentityCoercion of Names.lident * class_rawexpr * class_rawexpr
| VernacNameSectionHypSet of Names.lident * section_subset_expr
| VernacInstance of Constrexpr.name_decl * Constrexpr.local_binder_expr list * Constrexpr.constr_expr * (bool * Constrexpr.constr_expr) option * hint_info_expr
| VernacDeclareInstance of Constrexpr.ident_decl * Constrexpr.local_binder_expr list * Constrexpr.constr_expr * hint_info_expr
| VernacContext of Constrexpr.local_binder_expr list
| VernacExistingInstance of (Libnames.qualid * hint_info_expr) list
| VernacExistingClass of Libnames.qualid
| VernacDeclareModule of export_with_cats option * Names.lident * module_binder list * module_ast_inl
| VernacDefineModule of export_with_cats option * Names.lident * module_binder list * module_ast_inl Declaremods.module_signature * module_ast_inl list
| VernacDeclareModuleType of Names.lident * module_binder list * module_ast_inl list * module_ast_inl list
| VernacInclude of module_ast_inl list
| VernacAddLoadPath of {
}
| VernacRemoveLoadPath of string
| VernacAddMLPath of string
| VernacDeclareMLModule of string list
| VernacChdir of string option
| VernacResetName of Names.lident
| VernacResetInitial
| VernacBack of int
| VernacCreateHintDb of string * bool
| VernacRemoveHints of string list * Libnames.qualid list
| VernacHints of string list * hints_expr
| VernacSyntacticDefinition of Names.lident * Names.Id.t list * Constrexpr.constr_expr * syntax_modifier CAst.t list
| VernacArguments of Libnames.qualid Constrexpr.or_by_notation * vernac_argument_status list * (Names.Name.t * Glob_term.binding_kind) list list * arguments_modifier list
| VernacReserve of simple_binder list
| VernacGeneralizable of Names.lident list option
| VernacSetOpacity of Conv_oracle.level * Libnames.qualid Constrexpr.or_by_notation list
| VernacSetStrategy of (Conv_oracle.level * Libnames.qualid Constrexpr.or_by_notation list) list
| VernacSetOption of bool * Goptions.option_name * option_setting
| VernacAddOption of Goptions.option_name * Goptions.table_value list
| VernacRemoveOption of Goptions.option_name * Goptions.table_value list
| VernacMemOption of Goptions.option_name * Goptions.table_value list
| VernacPrintOption of Goptions.option_name
| VernacCheckMayEval of Genredexpr.raw_red_expr option * Goal_select.t option * Constrexpr.constr_expr
| VernacGlobalCheck of Constrexpr.constr_expr
| VernacDeclareReduction of string * Genredexpr.raw_red_expr
| VernacPrint of printable
| VernacSearch of searchable * Goal_select.t option * search_restriction
| VernacLocate of locatable
| VernacRegister of Libnames.qualid * register_kind
| VernacPrimitive of Constrexpr.ident_decl * CPrimitives.op_or_type * Constrexpr.constr_expr option
| VernacComments of comment list
| VernacAbort
| VernacAbortAll
| VernacRestart
| VernacUndo of int
| VernacUndoTo of int
| VernacFocus of int option
| VernacUnfocus
| VernacUnfocused
| VernacBullet of Proof_bullet.t
| VernacSubproof of Goal_select.t option
| VernacEndSubproof
| VernacShow of showable
| VernacCheckGuard
| VernacProof of Genarg.raw_generic_argument option * section_subset_expr option
| VernacProofMode of string
| VernacExtend of extend_name * Genarg.raw_generic_argument list
Source
val control_flag_of_yojson :
Yojson.Safe.t ->
control_flag Ppx_deriving_yojson_runtime.error_or
Source
type vernac_control_r = Vernacexpr.vernac_control_r = {
control : control_flag list;
attrs : Attributes.vernac_flags;
expr : vernac_expr;
}
Source
val vernac_control_r_of_yojson :
Yojson.Safe.t ->
vernac_control_r Ppx_deriving_yojson_runtime.error_or
Source
val vernac_control_of_yojson :
Yojson.Safe.t ->
vernac_control Ppx_deriving_yojson_runtime.error_or
Source
val hash_fold_vernac_control :
Ppx_hash_lib.Std.Hash.state ->
vernac_control ->
Ppx_hash_lib.Std.Hash.state
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>