Skip to content

Commit aaadf18

Browse files
authored
Prove that a rank 4 module has finite rank (#364)
1 parent b1c082c commit aaadf18

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

FLT/Mathlib/Algebra/IsQuaternionAlgebra.lean

+2-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
import Mathlib.Algebra.Central.Defs
22
import Mathlib.LinearAlgebra.Dimension.Basic
33
import Mathlib.RingTheory.Finiteness.Defs
4+
import Mathlib.LinearAlgebra.FiniteDimensional
45

56
class IsQuaternionAlgebra (F : Type*) [Field F] (D : Type*) [Ring D] [Algebra F D] : Prop where
67
isSimpleRing : IsSimpleRing D
@@ -13,6 +14,4 @@ attribute [instance] isSimpleRing isCentral
1314

1415
variable (F : Type*) [Field F] (D : Type*) [Ring D] [Algebra F D] [IsQuaternionAlgebra F D]
1516

16-
instance : Module.Finite F D := by
17-
have := dim_four (F := F) (D := D)
18-
sorry
17+
instance : Module.Finite F D := FiniteDimensional.of_rank_eq_nat dim_four

0 commit comments

Comments
 (0)