AFTD Auto-Formalizing Theoretical Domains

instTrivialStarIsMaximalSelfAdjoint

instanceimported Lean

Every TrivialStar CommSemiring is its own maximal self adjoints.

Statement

set_option autoImplicit true in
set_option relaxedAutoImplicit true in
instance instTrivialStarIsMaximalSelfAdjoint {R} [Star R] [TrivialStar R] [CommSemiring R] :
    IsMaximalSelfAdjoint R R
Defined in
QuantumInfo, `instTrivialStarIsMaximalSelfAdjoint`
Lean proof
By Alex Meiburg, from github.com/leanprover-community/physlib at e411c6e89692 (Copyright (c) 2025 Alex Meiburg. All rights reserved, Apache-2.0). Compiled here against leanprover/lean4:v4.33.1, Mathlib v4.33.1; written for leanprover/lean4:v4.34.1.
Verified
16 Oct 2026
Axioms
none listed
Built on 1
  • IsMaximalSelfAdjointIsMaximalSelfAdjoint R α witnesses that R is the maximal TrivialStar subring of the star ring α, via an additive map…
Used by 29

Lean source view module on GitHub

set_option autoImplicit true in
set_option relaxedAutoImplicit true in
/-- Every `TrivialStar` `CommSemiring` is its own maximal self adjoints. -/
instance instTrivialStarIsMaximalSelfAdjoint {R} [Star R] [TrivialStar R] [CommSemiring R] :
    IsMaximalSelfAdjoint R R where
  selfadjMap := AddMonoidHom.id R
  selfadj_smul _ __ := rfl
  selfadj_algebra {_} _ := rfl
See it in the graphDiscuss this resultChallenge it