Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
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".

31731 views
License: APACHE
oleanfile3.4.2, commit cbd2b6686ddb��)�initalgebragroupbasic��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_assocexport_decltraversabletraverse}traversePInfois_group_anti_homindlu_1u_2α

�Annotas_isAnnot�β

�Annot�Annot�_inst_1
groupAnnot�_inst_2
groupAnnot�fa
C�e_1map_mulabeq
has_mulmulsemigroupto_has_mulmonoidto_semigroupgroupto_monoid����
"
n���.
@������	���mk���	����.�@."&(*,
@"@;.
@���	����:���.xxx"&(*,."."�nspace�prt�recgind��decl�map_mul�����	��c;.
@"9���	����
"Proj�����9�rec��.
@9�9""�PInfo�ATTRreducibility���proj��decl�rec_on������	����p���@@���	����p���rec���.
@"�PInfo�ATTR����auxrec�prt�auxrec�rec_ondecl�cases_on������PInfo�ATTR����auxrec�decl�drec������	���h���9���.
@"�Ae���	�������A��;.
3���xx	���"&x(x*x,x"_;x.5""�PInfo�ATTR����auxrec�prt�decl�drec_on������	�����p���@�.
"g���	�����p��"���_�
g�PInfo�ATTR����auxrec�prt�decl�dcases_on����*�7�PInfo�ATTR����auxrec�prt�doc�Predicate for group anti-homomorphism, or a homomorphism
 into the opposite group.ATTRclass���class�declis_group_anti_hommap_one������fw�.has_oneone�to_has_one
�.�.,.@�������iffmp�8&.(.*.�H�A�A�A�Kmul_self_iff_eq_one.@�Aeqmpr�\�8�>�@�@�AideqJ�\�peqrec.�Z_a.�tPd@�9�;U��P"�eqreflJ�\�neqsymm.�n�Z�map_mul.
@"�@�@�d�p�B�A�r�t�p����m_a�tP@X�~�~�Pe����p�@one_mul�>�@eqrefl.�A�PInfo�decl�map_inv���������aP@has_invinv�to_has_inv."��
e��������eq_inv_of_mul_eq_one
��e�dPd��e�C�EaP@X"�����r�t�����x��_a�t2
����5�C�E/"���������������.
@"���d��P����r�t���#����_a�t
!���3������~mul_inv_self."�d�#P�����r�t�#�@���_a�t
�9�;�����#���map_one.
@�����PInfo�declinv_is_group_anti_hom���"is_group_anti_hom""x��@��@"���k�""�vmul_inv_rev"�PInfo�EndFile