-
Notifications
You must be signed in to change notification settings - Fork 373
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
[Merged by Bors] - feat(Mathlib/Algebra/BrauerGroup/Defs): define Brauer Equivalence and Brauer Group #20968
Closed
Closed
Changes from all commits
Commits
Show all changes
12 commits
Select commit
Hold shift + click to select a range
1e73d9b
brauer
Whysoserioushah f528e5d
Update Mathlib/Algebra/BrauerGroup/Defs.lean
Whysoserioushah 48ed88f
Update Mathlib/Algebra/BrauerGroup/Defs.lean
Whysoserioushah 0720584
Update Mathlib/Algebra/BrauerGroup/Defs.lean
Whysoserioushah 0f6826f
apply eric suggestion1
Whysoserioushah 8f91cdc
eric suggestion 2
Whysoserioushah 9fef1ca
eric suggestion 3
Whysoserioushah 4dd08ba
Update Mathlib/Algebra/BrauerGroup/Defs.lean
Whysoserioushah cb258ea
Update Mathlib/Algebra/BrauerGroup/Defs.lean
Whysoserioushah c672292
Update Mathlib/Algebra/BrauerGroup/Defs.lean
Whysoserioushah 6163382
apply kevin suggestion
Whysoserioushah ba507b2
Merge branch 'CSA' of https://github.com/leanprover-community/mathlib…
Whysoserioushah File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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,93 @@ | ||
/- | ||
Copyright (c) 2025 Yunzhou Xie. All rights reserved. | ||
Released under Apache 2.0 license as described in the file LICENSE. | ||
Authors: Yunzhou Xie, Jujian Zhang | ||
-/ | ||
import Mathlib.Algebra.Central.Defs | ||
import Mathlib.LinearAlgebra.FiniteDimensional.Defs | ||
import Mathlib.LinearAlgebra.Matrix.Reindex | ||
import Mathlib.Algebra.Category.AlgebraCat.Basic | ||
|
||
/-! | ||
# Definition of Brauer group of a field K | ||
|
||
We introduce the definition of Brauer group of a field K, which is the quotient of the set of | ||
all finite-dimensional central simple algebras over K modulo the Brauer Equivalence where two | ||
central simple algebras `A` and `B` are Brauer Equivalent if there exist `n, m ∈ ℕ+` such | ||
that `Mₙ(A) ≃ₐ[K] Mₙ(B)`. | ||
|
||
# TODOs | ||
1. Prove that the Brauer group is an abelian group where multiplication is defined as tensorproduct. | ||
2. Prove that the Brauer group is a functor from the category of fields to the category of groups. | ||
3. Prove that over a field, being Brauer equivalent is the same as being Morita equivalent. | ||
|
||
# References | ||
* [Algebraic Number Theory, *J.W.S Cassels*][cassels1967algebraic] | ||
|
||
## Tags | ||
Brauer group, Central simple algebra, Galois Cohomology | ||
-/ | ||
|
||
universe u v | ||
|
||
/-- `CSA` is the set of all finite dimensional central simple algebras over field `K`, for its | ||
generalisation over a `CommRing` please find `IsAzumaya` in `Mathlib.Algebra.Azumaya.Defs`. -/ | ||
structure CSA (K : Type u) [Field K] extends AlgebraCat.{v} K where | ||
/-- Any member of `CSA` is central. -/ | ||
[isCentral : Algebra.IsCentral K carrier] | ||
/-- Any member of `CSA` is simple. -/ | ||
[isSimple : IsSimpleRing carrier] | ||
/-- Any member of `CSA` is finite-dimensional. -/ | ||
[fin_dim : FiniteDimensional K carrier] | ||
|
||
variable {K : Type u} [Field K] | ||
|
||
instance : CoeSort (CSA.{u, v} K) (Type v) := ⟨(·.carrier)⟩ | ||
|
||
attribute [instance] CSA.isCentral CSA.isSimple CSA.fin_dim | ||
|
||
/-- Two finite dimensional central simple algebras `A` and `B` are Brauer Equivalent | ||
if there exist `n, m ∈ ℕ+` such that the `Mₙ(A) ≃ₐ[K] Mₙ(B)`. -/ | ||
abbrev IsBrauerEquivalent (A B : CSA K) : Prop := | ||
∃n m : ℕ, n ≠ 0 ∧ m ≠ 0 ∧ (Nonempty <| Matrix (Fin n) (Fin n) A ≃ₐ[K] Matrix (Fin m) (Fin m) B) | ||
|
||
namespace IsBrauerEquivalent | ||
|
||
@[refl] | ||
lemma refl (A : CSA K) : IsBrauerEquivalent A A := | ||
⟨1, 1, one_ne_zero, one_ne_zero, ⟨AlgEquiv.refl⟩⟩ | ||
|
||
@[symm] | ||
lemma symm {A B : CSA K} (h : IsBrauerEquivalent A B) : IsBrauerEquivalent B A := | ||
let ⟨n, m, hn, hm, ⟨iso⟩⟩ := h | ||
⟨m, n, hm, hn, ⟨iso.symm⟩⟩ | ||
|
||
open Matrix in | ||
@[trans] | ||
lemma trans {A B C : CSA K} (hAB : IsBrauerEquivalent A B) (hBC : IsBrauerEquivalent B C) : | ||
IsBrauerEquivalent A C := by | ||
obtain ⟨n, m, hn, hm, ⟨iso1⟩⟩ := hAB | ||
obtain ⟨p, q, hp, hq, ⟨iso2⟩⟩ := hBC | ||
exact ⟨p * n, m * q, by simp_all, by simp_all, | ||
⟨reindexAlgEquiv _ _ finProdFinEquiv |>.symm.trans <| compAlgEquiv _ _ _ _|>.symm.trans <| | ||
iso1.mapMatrix (m := Fin p)|>.trans <| compAlgEquiv _ _ _ _|>.trans <| | ||
reindexAlgEquiv K B (.prodComm (Fin p) (Fin m))|>.trans <| compAlgEquiv _ _ _ _|>.symm.trans <| | ||
iso2.mapMatrix.trans <| compAlgEquiv _ _ _ _|>.trans <| reindexAlgEquiv _ _ finProdFinEquiv⟩⟩ | ||
|
||
lemma is_eqv : Equivalence (IsBrauerEquivalent (K := K)) where | ||
refl := refl | ||
symm := symm | ||
trans := trans | ||
|
||
end IsBrauerEquivalent | ||
|
||
variable (K) | ||
|
||
/-- `CSA` equipped with Brauer Equivalence is indeed a setoid. -/ | ||
def Brauer.CSA_Setoid: Setoid (CSA K) where | ||
r := IsBrauerEquivalent | ||
iseqv := IsBrauerEquivalent.is_eqv | ||
|
||
/-- `BrauerGroup` is the set of all finite-dimensional central simple algebras quotient | ||
by Brauer Equivalence. -/ | ||
abbrev BrauerGroup := Quotient (Brauer.CSA_Setoid K) |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
For this we do need to use the notion of Morita equivalence over a base field/commutative ring, which is now in #20632: see https://mathoverflow.net/questions/344673/are-azumaya-algebras-of-trivial-brauer-class-isomorphic-to-mathcalend-mathc#comment1183423_344684
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
the official PR is actually #20640, I have a WIP branch on mathlib called
azumaya_wip
that's gonna be about proving azumaya algebras on fields aare indeed central simple algebras but a lot prerequists are yet to implement,optimistically speaking that part of content is about 2-3 PRs away?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
equivalency of
Azumaya
andCSA
sorry-freed! Next step is to proveMorita
iffBrauerEquivalent
over field!There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm inclined to wait with this PR for a little time while mathlib learns more about Azumaya algebras. Because I imagine that most of this file will have to be rewritten anyways once you have Morita equivalence for Azumaya algebras available.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No I think my current plan is (because I have lots of materials on
CSA
andBrauerGroup
awaiting PR) to PR only about fields and I'm proving over fields this is equivalent to azumaya algebra and morita equivalence if that's okayThere was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ok, let's go for it.
bors merge