Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(linear_algebra/tensor_product): tensor product of finite modules is finite #13705

Closed
wants to merge 3 commits into from

Conversation

antoinelab01
Copy link
Collaborator

I'm not sure where to put tensor_product.finite. It can't go in linear_algebra/tensor_product because I cannot import ring_theory/finiteness from there. I've put it in tensor_product_basis for now, let me know if you have a better idea of where it should go.


Open in Gitpod

@antoinelab01 antoinelab01 added the awaiting-review The author would like community review of the PR label Apr 26, 2022
@alreadydone
Copy link
Collaborator

I have another proof at https://github.com/leanprover-community/mathlib/compare/tensor_fin_dim?expand=1 and I put it the instance in ring_theory/finiteness. Your proof of span_tmul_set_eq_top is more direct without helper lemmas, but your proof of tensor_product.finite is longer; let us see if we can combine the best of both!


instance tensor_product.finite : module.finite R (M ⊗[R] N) :=
{ out := begin
rcases _inst_6.out with ⟨sM, hM⟩,
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Try to avoid using _inst_6 explicitly, it is unstable since we do not control its name. You can write : ... := infer_instance or something like that. Same below.

Co-authored-by: Junyan Xu <junyanxumath@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants