Team Ai
Datasetpublic

codekingpro/portable-devtools

sourceHugging Faceupdated 5mo agoView on Hugging Face
1likes14kdownloads
lean.cpython-313.pyc61 linesDownload Raw Back to __pycache__
1�

2�j�!���SrSSKrSSKJrJrJr SSKJrJrJ	r	J3r4JrJrJ
r
Jr SS/r"SS\5r\r"SS\5rg)	z�5pygments.lexers.lean6~~~~~~~~~~~~~~~~~~~~7 8Lexers for the Lean theorem prover.9 10:copyright: Copyright 2006-present by the Pygments team, see AUTHORS.11:license: BSD, see LICENSE for details.12�N)�13RegexLexer�words�include)�Comment�Operator�Keyword�Name�String�Number�Generic�14Whitespace�15Lean3Lexer�16Lean4Lexerc���\rSrSrSrSrSrSS/rS/rSS	/r	S17r18Sr\S-\-S
-rS\
4S\RS4S\S4S\R"4\"SSSS9\4\"SSSS9\R*4\"SSSS9\R,4\"S5\4\\4S\-\R24S\R64S\R64S\R64S\R8S4S \R:4S!\R<4S"\R>R@4/\"S#SSS9\RB4\"S$SSS9\RD4S%\RDS&4\"S'SS(9\4\#"S)5/S*\RDS+4\#"S)5/S,\RH4S\RHS-4S.\RHS+4S/\RH4/S,\R4S.\RS+4S/\R4/S0\R84S1\RJ4S\R8S+4/S2.r&S3r'S4r(g5)6r�z 19For the Lean 3 theorem prover.20�Leanz,https://leanprover-community.github.io/lean3�lean�lean3�*.leanztext/x-leanztext/x-lean3z2.0u�(?![λΠΣ])[_a-zA-Zα-ωΑ-Ωϊ-ϻἀ-῾℀-⅏𝒜-𝖟](?:(?![λΠΣ])[_a-zA-Zα-ωΑ-Ωϊ-ϻἀ-῾℀-⅏𝒜-𝖟0-9'ⁿ-₉ₐ-ₜᵢ-ᵪ])*�(\.�)*�\s+�/--�	docstring�/-�commentz--.*?$)�forall�fun�Pi�from�have�show�assume�suffices�let�if�else�then�in�with�calc�match�do�\b��prefix�suffix��sorry�admit)�Sort�Prop�Type)�(�)�:�{�}�[�]�⟨�⟩u‹u›�⦃�⦄�:=�,�``?z0x[A-Za-z0-9]+z0b[01]+�\d+�"�stringz='(?:(\\[\\\"'nt])|(\\x[0-9a-fA-F]{2})|(\\u[0-9a-fA-F]{4})|.)'�[~?][a-z][\w\']*:�\S)�import�renaming�hiding�	namespace�local�private�	protected�sectionr�omitrRrQ�export�open�	attribute)(�lemma�theorem�def�21definition�example�axiom�axioms�constant�	constants�universe�	universes�	inductive�coinductive�	structure�extends�class�instance�abbreviationznoncomputable theory�
noncomputable�mutual�metarV�	parameter�22parameters�variable�	variables�reserve�23precedence�postfixr0�notation�infix�infixl�infixr�begin�by�end�24set_option�run_cmd�@\[rV)�#eval�#check�#reduce�#exit�#print�#help)r1�25expression�\]�#pop�[^/-]+�#push�-/�[/-]�[^\\"]+z9(?:(\\[\\\"'nt])|(\\x[0-9a-fA-F]{2})|(\\u[0-9a-fA-F]{4}))�r��rootrVrrrHc�\�[R"SU[R5(agg)Nz
^import [a-z]皙�����?��re�search�	MULTILINE��texts �ZD:\code\apps\devtools\python\user_packages\Python313\site-packages\pygments/lexers/lean.py�analyse_text�Lean3Lexer.analyse_text�"��
�9�9�%�t�R�\�\�:�:��;��N))�__name__�26__module__�__qualname__�__firstlineno__�__doc__�name�url�aliases�	filenames�	mimetypes�
version_added�
_name_segment�_namer
r27�Docr�Singlerrr�Errorr7rr	�Symbolr�Integer�Double�Char�Variable�Builtin�Pseudo�	Namespace�Declarationr�	Multiline�Escape�tokensr��__static_attributes__r�r�r�rrs�����D�288�C��w��G��29�I���/�I��M�	d��
�F�"�]�2�U�:�E��Z� �
�V�Z�Z��-�
�G�Y�'�
����'�
�� ��	/�18�	
9�30�%�e�E�
B�G�M�M�R�
�+�E�%�
H�'�,�,�W�
����
��D�M�
�e�^�V�]�]�+�
����/�
����(�
�V�^�^�$�
�6�=�=�(�+�
M�v�{�{�[�
!�4�=�=�1�
�D�L�L�'�'�(�/31�4�	��E�	+�-4�,=�,=�	
?���0�E�1+�0-4�,?�,?�1
A�2�W�(�(�+�6�
����&�
'�
�L�!�S*32�X�G�'�'��0��L�!�33�34��)�)�*�
�G�%�%�w�/�
�G�%�%�v�.�
�g�'�'�(�	35���36�37�#�
�F�J�J��'�
�f�j�j�!�38�����'�
I�6�=�=�Y�
�&�-�-��(�39�iY�F�vr�c��\rSrSrSrSrSrS/rS/rS/r	Sr40S	r\S41-\-S-rSr
S
rSrSrSrS\4S\R(S4S\S4S\R,4\"\SSS9\R24\"SSSS9\R64\"\5\R:R<4\"\5\4\\4S\-\R@4S\!4S\!RD4S\!RF4S\RHS4S \RJ4S!\R:R<4/\"\
SSS9\RL4\"\SSS9\4S"\RNS#4\("S$5/S%\RNS&4\("S$5/S'\RR4S\RRS(4S)\RRS&4S*\RR4/S'\R(4S)\R(S&4S*\R(4/S+\RH4S,\RT4S\RHS&4/S-.r+S.r,S/r-g0)1r�z 42For the Lean 4 theorem prover.43�Lean4z#https://github.com/leanprover/lean4�lean4rztext/x-lean4z2.18u�(?![λΠΣ])[_a-zA-Zα-ωΑ-Ωϊ-ϻἀ-῾℀-⅏𝒜-𝖟](?:(?![λΠΣ])[_a-zA-Zα-ωΑ-Ωϊ-ϻἀ-῾℀-⅏𝒜-𝖟0-9'ⁿ-₉ₐ-ₜᵢ-ᵪ!?])*rr)6rK�	unif_hintrL�inlinerMrWrnrXr\rbrdr`�aliasr�rqrrr0rtrurvrsr}r~rr�ryrP�usingrNrgrRrQrTrzrerUr[r��opaquerY�macro�elab�syntax�macro_rulesr�where�abbrevrirfrVz#synthrj�scopedrO)rr�obtainr r!r"r#r%r&r'r(rxr)r*r+r,�nomatchr-�at)r7r6r5)8z!=�#�&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⁻¹u⬝u▸u→u∃u≈�×u⌞u⌟u≡r?r@u↦)r8r9r:r;r<r=r>rArBrCrDz]'z]?z]!rrrrrz--.*$r.r/r2rEz44(?<=\.)\d+z(\d+\.\d*)([eE][+-]?[0-9]+)?rFrGrHrIrJr|rVr�r�r�r�r�r�r�r�z45\\[n"\\\n]r�c�\�[R"SU[R5(agg)Nz
^import [A-Z]r�r�r�s r�r��Lean4Lexer.analyse_text�r�r�r�N).r�r�r�r�r�r�r�r�r�r�r�r�r��	keywords1�	keywords2�	keywords3�	operators�punctuationr
r46r�rr�rrr7rr�r	r�r�rr�r�Floatr�r�r�r�r�rr�r�r�r�r�r�r�r�rr�si����D�47/�C��i�G��48�I�� �I��M�	f��
�F�"�]�2�U�:�E�
�I��I��I�49�I�1�K�50�Z� �
�V�Z�Z��-�
�G�Y�'�
�w�~�~�&�
�9�U�5�
9�7�<�<�H�
�%�e�E�
B�G�M�M�R�
�9�
�t�|�|�2�2�3�
�;�
��*�
�D�!�
�e�^�V�]�]�+�
�F�#�
,�f�l�l�;�
�V�^�^�$�
�6�=�=�(�+�
!�4�=�=�1�
�D�L�L�'�'�(�!51�&�9�U�5�
9�7�;L�;L�M�
�9�U�5�
9�7�C�
�W�(�(�+�6��L�!�	52��G�'�'��0��L�!�53���)�)�*�
�G�%�%�w�/�
�G�%�%�v�.�
�g�'�'�(�54���55�56�#�
�F�J�J��'�
�f�j�j�!�57�����'�
�F�M�M�*�
�&�-�-��(�58�S.�F�`r�)r�r��pygments.lexerrrr�pygments.tokenrrrr	r59rrr
�__all__r�	LeanLexerrr�r�r��<module>r�sT���60�5�5� � � ���61&��n��n�b
�	�j��jr�
codekingpro/portable-devtools · Team Ai