| Server IP : 127.0.0.1 / Your IP : 216.73.216.109 Web Server : Apache/2.4.54 (Win64) OpenSSL/1.1.1q PHP/8.1.10 System : Windows NT DESKTOP-E5T4RUN 10.0 build 19045 (Windows 10) AMD64 User : SERVERWEB ( 0) PHP Version : 8.1.10 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : C:/cygwin64/lib/python3.9/site-packages/pygments/lexers/__pycache__/ |
Upload File : |
a
SҼa3L � @ s� d Z ddlZddlmZmZmZ ddlmZmZm Z m
Z
mZmZm
Z
mZmZ g d�ZG dd� de�ZG dd � d e�ZG d
d� de�ZdS )z�
pygments.lexers.theorem
~~~~~~~~~~~~~~~~~~~~~~~
Lexers for theorem-proving languages.
:copyright: Copyright 2006-2021 by the Pygments team, see AUTHORS.
:license: BSD, see LICENSE for details.
� N)�
RegexLexer�default�words) �Text�Comment�Operator�Keyword�Name�String�Number�Punctuation�Generic)�CoqLexer�
IsabelleLexer� LeanLexerc @ s� e Zd ZdZdZdgZdgZdgZej Z
dZdZdZ
d Zd
ZdZdZd
ZdZdZdefdejjfdedfeeddd�ejfeeddd�efee
ddd�ejfeeddd�efeeddd�ejfeeddd�ejfdefdd�eddd� � e fdeeef e fdefde!j"fde!j#fde!j$fd e!j%fd!e!j&fd"e'j(fd#e'j(fd$efd%e'j)d&fd'efd(ejjfgd)efded*fd+ed,fd-efgd.e'j)fd/e'j)fd%e'j)d,fgdefd0e*fd1ejfd2ej+d,fd3ed,fe,d,�gd4�Z-d5d6� Z.dS )7r zZ
For the `Coq <http://coq.inria.fr/>`_ theorem prover.
.. versionadded:: 1.5
ZCoqZcoqz*.vz
text/x-coq)OZSectionZModuleZEndZRequireZImportZExport�VariableZ VariablesZ ParameterZ
ParametersZAxiomZ
HypothesisZ
HypothesesZNotationZLocalZTactic�ReservedZScopeZOpenZCloseZBindZDelimitZ
DefinitionZLetZLtacZFixpointZ
CoFixpointZMorphismZRelationZImplicitZ Arguments�SetZUnsetZ
ContextualZStrictZPrenexZ ImplicitsZ InductiveZCoInductiveZRecordZ StructureZ CanonicalZCoercionZTheoremZLemmaZ CorollaryZPropositionZFactZRemarkZExample�ProofZGoalZSave�QedZDefinedZHintZResolveZRewriteZViewZSearchZAbortZAdmittedZShowZPrintZPrintingZAllZGraphZProjectionsZinsideZoutsideZCheckZGlobalZInstance�ClassZExistingZUniverseZPolymorphicZMonomorphicZContext)�forall�existsZexists2�fun�fixZcofix�struct�match�end�in�return�let�if�is�then�else�forZofZnosimpl�with�as)�Type�PropZSProp)CZpose�set�move�caseZelim�apply�clearZhnfZintroZintrosZ
generalize�rename�patternZafterZdestructZ induction�usingZrefineZ inversionZ injectionZrewriteZcongrZunlockZcomputeZringZfield�replaceZfoldZunfoldZchangeZ
cutrewriteZsimpl�haveZsuffZwlog�sufficesZwithoutZlossZnat_norm�assertZcutZtrivialZrevertZ
bool_congrZ nat_congrZsymmetryZtransitivity�auto�split�left�rightZautorewrite�tautoZsetoid_rewriteZ intuitionZeautoZeapplyZeconstructorZ
etransitivity�constructorZerewriteZredZcbv�lazyZ
vm_computeZnative_compute�subst)�by�done�exactZreflexivityr: ZromegaZomegaZ
assumptionZsolveZ
contradictionZdiscriminateZ
congruence)�doZlast�first�tryZidtac�repeat):z!=�#�&z&&z\(z\)�\*z\+�,�-z-\.z->�\.z\.\.�:�::�:=z:>�;z;;�<z<-z<->�=�>z>]z>\}z\?z\?\?z\[z\[<z\[>z\[\|�]�_�`z\{z\{<z\|z\|]�\}�~z=>z/\\z\\/z\{\|z\|\}u λ� ¬u ∧u ∨u ∀u ∃u →u ↔u ≠u ≤u ≥z[!$%&*+\./:<=>?@^|~-]z[!?~]z[=<>@^|&+\*/$%-]�\s+zfalse|true|\(\)|\[\]�\(\*�comment�\b��prefix�suffixz\b([A-Z][\w\']*)z(%s)�|N���z
(%s|%s)?%sz
[^\W\d][\w']*�\d[\d_]*�0[xX][\da-fA-F][\da-fA-F_]*�0[oO][0-7][0-7_]*�0[bB][01][01_]*z(-?\d[\d_]*(.[\d_]*)?([eE][+\-]?\d[\d_]*)z7'(?:(\\[\\\"'ntbr ])|(\\[0-9]{3})|(\\x[0-9a-fA-F]{2}))'z'.'�'�"�string�[~?][a-z][\w\']*:�\S�[^(*)]+�#push�\*\)�#pop�[(*)]z[^"]+z""rJ z[A-Z][\w\']*(?=\s*\.)z[A-Z][\w\']*z[a-z][a-z0-9_\']*)�rootrZ rg Zdottedc C s d| v rd| v rdS d S )Nr r � � )�textrq rq �;/usr/lib/python3.9/site-packages/pygments/lexers/theorem.py�analyse_text� s zCoqLexer.analyse_text)/�__name__�
__module__�__qualname__�__doc__�name�aliases� filenames� mimetypes�re�UNICODE�flagsZ keywords1Z keywords2Z keywords3Z keywords4Z keywords5Z keywords6Zkeyopts� operatorsZprefix_symsZ
infix_symsr r �Builtin�Pseudor r r � Namespacer( r �joinr r �Integer�Hex�Oct�BinZFloatr
�Char�Doubler r r �tokensrt rq rq rq rs r sv
�"�
�
��7r c "