CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutSign UpSign In

Real-time collaboration for Jupyter Notebooks, Linux Terminals, LaTeX, VS Code, R IDE, and more,
all in one place.

| Download

Try doing some basic maths questions in the Lean Theorem Prover. Functions, real numbers, equivalence relations and groups. Click on README.md and then on "Open in CoCalc with one click".

Project: Xena
Views: 18536
License: APACHE
oleanfile3.4.2, commit cbd2b6686ddb�ƺ�)inittacticcoremetarb_map�/�export_decloptionnonenonesomesomeexport_declboolffffttttexport_declhas_andthenandthenandthenexport_declhas_powpowpowexport_declhas_appendappendappendexport_decldecidableis_trueis_trueis_falseis_falseto_boolto_boolexport_declhas_purepurepureexport_declhas_bindbindbindexport_declhas_monad_lift_tmonad_lift!monad_liftexport_declmonad_functor_tmonad_map$monad_mapexport_declmonad_runrun'runexport_decllistmmap*mmapmmap'*mmap'mfilter*mfiltermfoldl*mfoldlexport_declnativenat_map3rb_mapmkexport_declname_mapnativerb_mapmkexport_declexpr_mapnativerb_mapmkexport_decltacticinteraction_monadfailedfailexport_decltactic_resultinteraction_monadresultexport_decltacticFtransparencyreducibleGreduciblesemireducibleGsemireducibleexport_decltacticmk_simp_attrLmk_simp_attrexport_declmonad_exceptthrowOthrowcatchOcatchexport_declmonad_except_adapteradapt_exceptTadapt_exceptexport_declmonad_state_adapteradapt_stateWadapt_stateexport_declmonad_readerreadZreadexport_declmonad_reader_adapteradapt_reader]adapt_readerexport_declis_lawful_functormap_const_eq`map_const_eqid_map`id_mapcomp_map`comp_mapexport_declis_lawful_applicativeseq_left_eqgseq_left_eqseq_right_eqgseq_right_eqpure_seq_eq_mapgpure_seq_eq_mapmap_puregmap_pureseq_puregseq_pureseq_assocgseq_assocexport_declis_lawful_monadbind_pure_comp_eq_maptbind_pure_comp_eq_mapbind_map_eq_seqtbind_map_eq_seqpure_bindtpure_bindbind_assoctbind_assocTKlocalized�NOTAlocalizedlocalized��decllocalized_attruser_attribute3rb_lmapnamestringunitid_rhs	user_attributemkcoecoe_to_liftcoe_basestring_to_name
Str_localized
Str(interal) attribute that flags localized commandsoptionnonedeclprionatpersistentbooltactic!decl&user_attribute_cache_cfgmknslist $monadto_has_bind$interaction_monadmonadtactic_state0prod�mmap$8=n:exprbooltt=Fmk_constFeval_expr=
Quote=Ldcls>return$8nativerb_lmapof_listnamehas_ltabnameltdecidable_relLLlistnilapunitreflectLhas_purepureleanparserapplicativeto_has_purewalternativeto_applicativewleanparseralternativeunitstar
�PInfo'	VMR_lambda_1VMR_lambda_2VMR_lambda_3VMR_lambda_4VMRVMC�'	αVMC�**s7��	=tacticeval_exprVMC�*�7�1���listmmap_main	���of_list_mainVMC�'	sleanparser_stateVMC�4'	nameanonymousdcharof_nate�z�i�l�a�c�o�l�_�stringemptystringstr���������namemk_strings�d�n�a�m�m�o�c� �d�e�z�i�l�a�c�o�l� �s�g�a�l�f� �t�a�h�t� �e�t�u�b�i�r�t�t�a� �)�l�a�r�e�t�n�i�(������������������������������������������������������ATTRuser_attribute��USR_ATTRdeclget_localizedns1$0�1
�:��get_cachelocalized_attrmZ�listbindbnm�findbL�PInfo�/	VMR�VMC�/	�7�1user_attributeget_cache	3rb_lmapfindlistmap_main�join_maindoc�Get all commands in the given notation namespace and return them as a list of stringsdeclopen_locale_cmdmeta_infointeractivedecl_meta_info_x�parset�parsertk
Stropen_localew����
�2w4w6�1�manyw�}�identns1���w�����leanparserhas_coe'�get_localizedLcmds��mmap'w��emit_code_hereL�PInfo�4VMR�_lambda_1VMR�VMC�4αVMC�)4������leanparserident�alternative���many_main	
#��of_tactic'	���listmmap'_main!doc�Execute all commands in the given notation namespaceATTRuser_command���USR_CMD�decllocalized_cmdmeta_info�_x��
Strlocalized�������pexpr�pexprstdprecmaxcmd��H$HwH�����Htactici_to_exprLcmdH�$w�����O
QuoteLcmd	cmdhas_appendappendstringhas_append
Strlocal L��L_x��
Strin_x��nm�environment$�#w�#�&�(�&�(��#Fget_envenv�#	dummy_decl_namemk_num_namenamemk_string
Str_localized_declnameanonymoushas_modmod"nathas_modhas_addadd"nathas_addstringhash�nameto_stringb�%fingerprintLunsigned_sz�%�%�%��Fadd_decldeclarationdefnLoreflected=H�dH�dHexprhas_coe�b=
Quote=reflected=prodmkH�}H�}H�A=�|reflect=�|reflectedsubst_x=��x���_x�=�$��xb��y
Quote��namereflect�ystringreflect��reducibility_hintsregularhas_oneone"nathas_oneG_x�\�set
Quote�b�G!"�PInfo�=VMR�_rec_2VMR�_rec_1VMR�_rec_3VMR�_lambda_1VMR�_lambda_2VMR�VMC�VH=nH_fresh
���exprcases_on
	%,3:A�K_main��exprapp�b���d�b���d�b���d�b���d�b���d�b��exprsubst�b���d�b���d�b���dVMC�W\=�[H�\_fresh
����\_fresh
����a
&/8AJSstringreflect���V�d�n���V�d�n���V�d�n���V�d�n���V�d�n���V�d�n���V�f�n���V�d�n���V�d�n���V�dVMC�XH=�[H�i�a
	%,3:A�b���d�b���d�b���d�b���d�b���d�b���d�b���f�b���d�b���d�b���dVMC�Y,=���\_fresh
���\_fresh
���\_fresh
��
�\_fresh
�����X�Wreflect=declarationdefntacticadd_decl�	&user_attributeset�VMC�Z�=���w�z�emit_code_here_main	�n�i����leanparsertk	��	��&�	�
_�_c_1l�
_c_2c�_c_3e�_c_4d�_c_5unsigned_sz	environmentfingerprintnameto_stringstringappendstringhashnataddnatmod�
z�i�
a�o�
�����������������mk_num_name�(�Y�	
�	�VMC�Q=������stdprecmaxleanparserpexpr	K��	
D��	=l�
_c_6 �
a�c�o�
�����������ZB	Idoc�Add a new command to a notation namespace and execute it right now.
 The new command is added as a declaration to the environment with name `_localized_decl.<number>`.
 This declaration has attribute `_localized` and as value a name-string pair.ATTR����USR_CMD�declprint_localized_commandsns1%��1
%:��cmds��$8Ftracehas_to_format_to_has_to_tactic_formatstringhas_to_formatL�PInfo��L	VMR��_lambda_1VMR��VMC��L	�VMC��L	�7��1�	stringhas_to_format��������doc��Print all commands in a given notation namespacedecl_localized_decl����=�x�6
Strclassical�9�
Strattribute [instance, priority 9] classical.prop_decidable�VMR��VMC���p�l�a�c�i�s�s�a�l�c������������e�l�b�a�d�i�c�e�d�_�p�o�r�p�.�l�a�c�i�s�s�a�l�c� �]�9� �y�t�i�r�o�i�r�p� �,�e�c�n�a�t�s�n�i�[� �e�t�u�b�i�r�t�t�a����������������������������������������������������������� �l�a�c�o�l����������ATTR_localized�����decl_localized_decl�����=�x�6
Strparser�9�
Strpostfix `?`:9001 := optional�VMR��VMC����r�e�s�r�a�p���������l�a�n�o�i�t�p�o� �=�:� �1�0�0�9�:�`�?�`� �x�i�f�t�s�o�p������������������������������ �l�a�c�o�l����������ATTR�������decl_localized_decl����=���
Strpostfix *:9001 := lean.parser.many�VMR��VMC����r�e�s�r�a�p���������y�n�a�m�.�r�e�s�r�a�p�.�n�a�e�l� �=�:� �1�0�0�9�:�*� �x�i�f�t�s�o�p������������������������������������ �l�a�c�o�l����������ATTR�������EndFile