(************************************************************************) (* * 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) *) (************************************************************************)
RequireExport Notations. RequireExport Logic. RequireExport Datatypes. RequireExport Specif. Require Corelib.Init.Byte. Require Corelib.Init.Decimal. Require Corelib.Init.Hexadecimal. Require Corelib.Init.Number. Require Corelib.Init.Nat. RequireExport Peano. RequireExport Corelib.Init.Wf. RequireExport Corelib.Init.Ltac. RequireExport Corelib.Init.Tactics. RequireExport Corelib.Init.Tauto. RequireExport Corelib.Init.Sumbool. (* Some initially available plugins. See also: - ltac_plugin (in Ltac) - tauto_plugin (in Tauto).
*) Declare ML Module"rocq-runtime.plugins.cc_core". Declare ML Module"rocq-runtime.plugins.cc". Declare ML Module"rocq-runtime.plugins.firstorder_core". Declare ML Module"rocq-runtime.plugins.firstorder".
GlobalSet Firstorder Solver auto.
(* Parsing / printing of hexadecimal numbers *) Arguments Nat.of_hex_uint d%_hex_uint_scope. Arguments Nat.of_hex_int d%_hex_int_scope.
Number Notation Number.uint Number.uint_of_uint Number.uint_of_uint
: hex_uint_scope.
Number Notation Number.int Number.int_of_int Number.int_of_int
: hex_int_scope.
(* Parsing / printing of decimal numbers *) Arguments Nat.of_uint d%_dec_uint_scope. Arguments Nat.of_int d%_dec_int_scope.
Number Notation Number.uint Number.uint_of_uint Number.uint_of_uint
: dec_uint_scope.
Number Notation Number.int Number.int_of_int Number.int_of_int
: dec_int_scope.
(* Parsing / printing of [nat] numbers *)
Number Notation nat Nat.of_num_uint Nat.to_num_hex_uint (abstract after 5000) : hex_nat_scope.
Number Notation nat Nat.of_num_uint Nat.to_num_uint (abstract after 5000) : nat_scope.
(* Printing/Parsing of bytes *) Export Byte.ByteSyntaxNotations.
(* Default substrings not considered by queries like Search *)
Add Search Blacklist "_subproof""_subterm""Private_".
(* Dummy coercion used by the elaborator to leave a trace in its result. When [x] is (reversible) coerced to [x'], the result [reverse_coercion x' x], convertible to [x'] will still be displayed [x]
thanks to the reverse_coercion coercion. *)
#[universes(polymorphic=yes)] Definition ReverseCoercionSource (T : Type) := T.
#[universes(polymorphic=yes)] Definition ReverseCoercionTarget (T : Type) := T.
#[warning="-uniform-inheritance", reversible=no, universes(polymorphic=yes)]
Coercion reverse_coercion {T' T} (x' : T') (x : ReverseCoercionSource T)
: ReverseCoercionTarget T' := x'.
Register reverse_coercion as core.coercion.reverse_coercion.
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.