AFTD Auto-Formalizing Theoretical Domains

instRCLikeIsMaximalSelfAdjoint

instanceimported Lean

ℝ is the maximal self adjoint elements over RCLike

Statement

set_option autoImplicit true in
set_option relaxedAutoImplicit true in
instance instRCLikeIsMaximalSelfAdjoint {α : Type*} [RCLike α] : IsMaximalSelfAdjoint ℝ α
Defined in
QuantumInfo, `instRCLikeIsMaximalSelfAdjoint`
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.
What was changed in instRCLikeIsMaximalSelfAdjoint
--- QuantumInfo/ForMathlib/IsMaximalSelfAdjoint.lean:44 (instRCLikeIsMaximalSelfAdjoint)
+++ as compiled here
@@ -1,3 +1,4 @@
-/-- ℝ is the maximal self adjoint elements over RCLike -/
-instance instRCLikeIsMaximalSelfAdjoint {α} [RCLike α] : IsMaximalSelfAdjoint ℝ α where
+set_option autoImplicit true in
+set_option relaxedAutoImplicit true in
+instance instRCLikeIsMaximalSelfAdjoint {α : Type*} [RCLike α] : IsMaximalSelfAdjoint ℝ α where
   selfadjMap := RCLike.re
Verified
16 Oct 2026
Axioms
none listed
Built on 2
Used by 28

Lean source view module on GitHub

set_option autoImplicit true in
set_option relaxedAutoImplicit true in
/-- ℝ is the maximal self adjoint elements over RCLike -/
instance instRCLikeIsMaximalSelfAdjoint {α : Type*} [RCLike α] : IsMaximalSelfAdjoint ℝ α where
  selfadjMap := RCLike.re
  selfadj_smul := RCLike.smul_re
  selfadj_algebra := RCLike.conj_eq_iff_re.mp
See it in the graphDiscuss this resultChallenge it