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��Fvinittacticcore� 6export_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_assocdecltacticclear'clear_dependentboolhypsexpr_settacticunit�id_rhs	hyps_listlistexprboolttnativerb_setto_list monadto_has_bindinteraction_monadmonadtactic_stateFtargettgt�mmap'hFkdepends_onFtransparencyreducibledepwhencoe_sortcoe_sort_boolbooldecidable_eq?failformatformathas_to_formathas_appendappend>formathas_appendEto_fmtstringstringhas_to_format
StrCannot clear hypothesis Fexprhas_to_format)J
Str since the target depends on it.)_xnatFrevert_lstn` 15bandbnotdecidableto_boolne`�size�decidable`a`b`natdecidable_eq)s8�Aformatjoinlistcons>coeG>coe_to_liftG>coe_baseG>string_to_format
StrSome of the following hypotheses cannot be cleared because other ��
Strhypotheses depend on (some of) them:
�formatintercalate�
Str, �map>Qrlistnil>_xFmk_meta_varv Fintrond_x Fexact)�semireducible_x
Fget_goalsgs
Fset_goals���PInfo~$	VMR~_lambda_1VMR~_lambda_2VMR~_lambda_3VMR~VMC�$	αVMC��7*s�_fresh
��tactickdepends_on	�1acharof_nat_c_1n�_c_2o�_c_3t�_c_4 �	_c_5c�
_c_6e�_c_7r�_c_8h�
_c_9p�_c_10s�_c_11i�_c_12d�_c_13.�			g�	
	
	stringemptystringstr�������������������������������stringhas_to_formatto_fmt��	
y�
	l�
	C����������������������������formatcompose����_main��whenVMC���$	��_fresh
��
�_fresh
���_fresh
��tactictarget	�����listmmap'_main	��tacticrevert_lst	��	 �r�e�h�t�o� �e�s�u�a�c�e�b� �d�e�r�a�e�l�c� �e�b� �t�o�n�n�a�c� �s�e�s�e�h�t�o�p�y�h� �g�n�i�w�o�l�l�o�f� �e�h�t� �f�o� �e�m�o�S�������������������������������������������������������������������formatof_string
�:�m�e�h�t� �)�f�o� �e�m�o�s�(� �n�o� �d�n�e�p�e�d� �s�e�s�e�h�t�o�p�y�h����������������������������������������3rb_setto_list��listmap_main �,�����formatintercalateformatjoin��	�9�;�<	�=�?�R�sizenatdecidable_eq	�E�G�L	�I�K�Ldecidableto_bool	�O�Q�R����	�Z��tacticmk_meta_var	�^��
tacticintron	�b�tacticexact	�g�xtacticget_goals	�j�qtacticset_goals�v�}����
��
��	
��VMC~
$	��
�
�doc~ Clears all the hypotheses in `hyps`. The tactic fails if any of the `hyps`
is not a local or if the target depends on any of the `hyps`.

If there are local hypotheses or definitions, say `H`, which are not in `hyps`
but depend on one of the `hyps`, what we do depends on `clear_dependent`. If it
is true, `H` is implicitly also cleared. If it is false, `clear'` fails.decltacticinteractiveclear'pinteractiveparse	namea�listreflect��+�namereflect
Quote�leanparsermanyleanparser�0parser_state�1alternative��1ident�'��listmmap�Fget_localhyps
tacticclear'lfalsedecidablefalse3rb_mapset_of_listexprhas_lt���Cdecidable_rel)�PInfo�&C	VMR�&_lambda_1VMR�&VMC�FC	�VMC�&C	��'�tacticget_local��Flistmmap_main	�E�D�Aset_of_list_main�~doc�& Clears the given hypotheses. In contrast to `clear`, the order of hypotheses
does not matter, even if there are dependencies between them. Fails if the
target or any local hypotheses (other than the given ones) depend on the given
hypotheses.decl�%clear_dependentp��+��
Quote���O���hyps
�ltruedecidabletrue��PInfo�NJ	VMR�N_lambda_1VMR�NVMC�TJ	�VMC�NJ	��O��H��T�K	�E�D�M�~doc�N Clears the given hypotheses and any other hypotheses that depend on them.
The hypotheses can be given in any order. Fails if the target depends on any of
the given hypotheses.EndFile