/-
Copyright (c) 2025 Junyan Xu. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Johannes Hölzl, Kim Morrison, Eric Wieser, Junyan Xu, Andrew Yang
-/
module
public import Mathlib.LinearAlgebra.Dimension.Basic
set_option doc.verso true
set_option doc.verso.suggestions false
/-!
# Dimension of trivial modules
-/
public section
variable (R M : Type*) [Semiring R] [AddCommMonoid M] [Module R M]
section
variable [Nontrivial R]
/-- See `rank_subsingleton` that assumes `Subsingleton R` instead. -/
@[simp, nontriviality] theorem rank_subsingleton' [Subsingleton M] : Module.rank R M = 0 := by
rw [Module.rank_def, ← bot_eq_zero, eq_bot_iff]
exact ciSup_le fun s ↦ by simp [(linearIndependent_subsingleton_iff _).mp s.2]
theorem rank_punit : Module.rank R PUnit = 0 := rank_subsingleton' _ _
theorem rank_bot : Module.rank R (⊥ : Submodule R M) = 0 := rank_subsingleton' _ _
end
¤ Dauer der Verarbeitung: 0.1 Sekunden
(vorverarbeitet am 2026-11-24)
¤
*© Formatika GbR, Deutschland