
    |e                     x    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e      ZeZy)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                      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      ef eddd      ej"                  f e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
j0                  fdej2                  fdej4                  j6                  fg eddd      ej8                  f eddd      ej:                  fd ej:                  d!f e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!y.)/r   zC
    For the Lean 3 theorem prover.

    .. versionadded:: 2.0
    Leanz,https://leanprover-community.github.io/lean3leanlean3z*.leanztext/x-leanztext/x-lean3z\s+z/--	docstringz/-commentz--.*?$)forallfunPifromhaveshowassumesufficesletifelsetheninwithcalcmatchdoz\b)prefixsuffix)sorryadmit)Sort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)importrenaminghiding	namespacelocalprivate	protectedsectionr   omitrA   r@   exportopen	attribute)(lemmatheoremdef
definitionexampleaxiomaxiomsconstant	constantsuniverse	universes	inductivecoinductive	structureextendsclassinstanceabbreviationznoncomputable theorynoncomputablemutualmetarE   	parameter
parametersvariable	variablesreserve
precedencepostfixr)   notationinfixinfixlinfixrbeginbyend
set_optionrun_cmdz@\[rE   )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})))rk   rootrE   r   r   r9   N)"__name__
__module____qualname____doc__nameurlaliases	filenames	mimetypesr   r   Docr   Singler   r
   r   Errorr/   r	   r   r   IntegerDoubleCharVariableBuiltinPseudo	NamespaceDeclarationr   	MultilineEscapetokens     6/usr/lib/python3/dist-packages/pygments/lexers/lean.pyr   r      s~   
 D
8CwG
I/I TNVZZ-GY''   	/ 18	9
 %eEBGMMR+E%H',,W  =>BD /(V^^$6==(+Mv{{[!4==1DLL''(1
6  	 E	+ -4,=,=	?  0 E1+0 -4,?,?1A2 W((+6   &' L!S*
X G''0L!

 w(()G%%w/G%%v.g''(	
 vzz"FJJ'fjj!
 'I6==Y&--(
kZFr   )rp   repygments.lexerr   r   r   r   pygments.tokenr   r   r	   r
   r   r   r   r   r   r   __all__r   	LeanLexerr   r   r   <module>r      sC    
 > >- - - .f fP 	r   