U
    luf                     @   sr   d Z ddlZddlmZmZmZmZ ddlmZm	Z	m
Z
mZmZmZmZmZmZmZ dgZG dd deZeZdS )z
    pygments.lexers.lean
    ~~~~~~~~~~~~~~~~~~~~

    Lexers for the Lean theorem prover.

    :copyright: Copyright 2006-2023 by the Pygments team, see AUTHORS.
    :license: BSD, see LICENSE for details.
    N)
RegexLexerdefaultwordsinclude)
TextCommentOperatorKeywordNameStringNumberPunctuationGeneric
Whitespace
Lean3Lexerc                   @   s  e Zd ZdZdZdZddgZdgZddgZd	e	fd
e
jdfdedfdejfeddddefeddddejfeddddejfedefdefdejfdejfdejfde
jdfde
jfdejfdejjfgeddddejfeddddejfd ejd!fed"dd#efed$gd%ejd&fed$gd'ejfdejd(fd)ejd&fd*ejfgd'e
jfd)e
jd&fd*e
jfgd+e
jfd,e
j fde
jd&fgd-Z!d.S )/r   zC
    For the Lean 3 theorem prover.

    .. versionadded:: 2.0
    ZLeanz,https://leanprover-community.github.io/lean3ZleanZlean3z*.leanztext/x-leanztext/x-lean3z\s+z/--	docstringz/-commentz--.*?$)forallZfunPifromZhaveshowZassumeZsufficesZletifelseZtheninwithZcalcmatchZdoz\b)prefixsuffix)ZsorryZadmit)ZSortZPropType)():{}[]u   ⟨u   ⟩u   ‹u   ›u   ⦃u   ⦄z:=,z[A-Za-z_\u03b1-\u03ba\u03bc-\u03fb\u1f00-\u1ffe\u2100-\u214f][.A-Za-z_\'\u03b1-\u03ba\u03bc-\u03fb\u1f00-\u1ffe\u2070-\u2079\u207f-\u2089\u2090-\u209c\u2100-\u214f0-9]*z0x[A-Za-z0-9]+z0b[01]+z\d+"stringz='(?:(\\[\\\"'nt])|(\\x[0-9a-fA-F]{2})|(\\u[0-9a-fA-F]{4})|.)'z[~?][a-z][\w\']*:z\S)importZrenamingZhiding	namespacelocalprivate	protectedsectionr   Zomitr.   r-   exportopen	attribute)(ZlemmaZtheoremdefZ
definitionZexampleZaxiomZaxiomsZconstant	constantsZuniverseZ	universesZ	inductiveZcoinductiveZ	structureZextendsclassinstanceZabbreviationznoncomputable theoryZnoncomputableZmutualmetar1   Z	parameter
parametersvariable	variablesZreserve
precedenceZpostfixr   notationZinfixZinfixlZinfixrbeginZbyendZ
set_optionZrun_cmdz@\[r1   )z#evalz#checkz#reducez#exitz#printz#help)r   
expressionz\]z#popz[^/-]z#pushz-/z[/-]z[^\\"]+z9(?:(\\[\\\"'nt])|(\\x[0-9a-fA-F]{2})|(\\u[0-9a-fA-F]{4})))r>   rootr1   r   r   r(   N)"__name__
__module____qualname____doc__nameurlaliases	filenames	mimetypesr   r   ZDocr   Singler   r	   r   Errorr   r   r
   r   ZIntegerDoubleCharVariableZBuiltinZPseudo	NamespaceZDeclarationr   Z	MultilineZEscapetokens rP   rP   8/tmp/pip-unpacked-wheel-7eq1ciah/pygments/lexers/lean.pyr      s   
 

	 	
 
,




)rC   reZpygments.lexerr   r   r   r   Zpygments.tokenr   r   r   r	   r
   r   r   r   r   r   __all__r   Z	LeanLexerrP   rP   rP   rQ   <module>   s   	0h