Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(ring_theory/ideal): ideal norm evaluation lemmas (#17299)
This PR continues on #17203 by adding a couple lemmas on the ideal norm of some specific ideals: * the norm of `⊥` and `⊤` * the norm of an ideal `I : ideal S` given an additive isomorphism between `I` and `S` * the norm of the ideal generated by `a` * the norm of the ideal generated by `insert a s` It also adds a selection of dependent lemmas. I couldn't find a really neat place for some of them: I think the current places are the least worst but I am very much open to suggestions. Co-authored-by: Alex J Best <alex.j.best@gmail.com> Co-authored-by: Anne Baanen <Vierkantor@users.noreply.github.com>
- Loading branch information
1 parent
563bbc0
commit 31c458d
Showing
7 changed files
with
290 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
/- | ||
Copyright (c) 2022 Anne Baanen. All rights reserved. | ||
Released under Apache 2.0 license as described in the file LICENSE. | ||
Authors: Anne Baanen | ||
-/ | ||
|
||
import algebra.associated | ||
import data.int.units | ||
|
||
/-! | ||
# Associated elements and the integers | ||
This file contains some results on equality up to units in the integers. | ||
## Main results | ||
* `int.nat_abs_eq_iff_associated`: the absolute value is equal iff integers are associated | ||
-/ | ||
|
||
lemma int.nat_abs_eq_iff_associated {a b : ℤ} : | ||
a.nat_abs = b.nat_abs ↔ associated a b := | ||
begin | ||
refine int.nat_abs_eq_nat_abs_iff.trans _, | ||
split, | ||
{ rintro (rfl | rfl), | ||
{ refl }, | ||
{ exact ⟨-1, by simp⟩ } }, | ||
{ rintro ⟨u, rfl⟩, | ||
obtain (rfl | rfl) := int.units_eq_one_or u, | ||
{ exact or.inl (by simp) }, | ||
{ exact or.inr (by simp) } } | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
/- | ||
Copyright (c) 2022 Anne Baanen. All rights reserved. | ||
Released under Apache 2.0 license as described in the file LICENSE. | ||
Authors: Anne Baanen, Alex J. Best | ||
-/ | ||
|
||
import linear_algebra.determinant | ||
import linear_algebra.free_module.finite.basic | ||
|
||
/-! | ||
# Determinants in free (finite) modules | ||
Quite a lot of our results on determinants (that you might know in vector spaces) will work for all | ||
free (finite) modules over any commutative ring. | ||
## Main results | ||
* `linear_map.det_zero''`: The determinant of the constant zero map is zero, in a finite free | ||
nontrivial module. | ||
-/ | ||
|
||
@[simp] lemma linear_map.det_zero'' {R M : Type*} [comm_ring R] [add_comm_group M] [module R M] | ||
[module.free R M] [module.finite R M] [nontrivial M] : | ||
linear_map.det (0 : M →ₗ[R] M) = 0 := | ||
begin | ||
letI : nonempty (module.free.choose_basis_index R M) := | ||
(module.free.choose_basis R M).index_nonempty, | ||
nontriviality R, | ||
exact linear_map.det_zero' (module.free.choose_basis R M) | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters