AFTD Auto-Formalizing Theoretical Domains

SpectralMeasure.commute

theoremverifiedformalizationimported Lean

SpectralMeasure.commute

Statement

set_option autoImplicit true in
set_option relaxedAutoImplicit true in
open SpectralMeasure in
open ContinuousLinearMap in
open MeasureTheory in
open Set in
variable {α : Type*} [MeasurableSpace α] in
variable {H : Type*} [NormedAddCommGroup H] [InnerProductSpace ℂ H] [CompleteSpace H] in
variable (μS : SpectralMeasure α H) in
lemma SpectralMeasure.commute (A B : Set α) : Commute (μS A) (μS B)
Formalizes
Physlib, `SpectralMeasure.commute`
Lean proof
By Gregory J. Loges, from github.com/leanprover-community/physlib at e411c6e89692 (Copyright (c) 2026 Gregory J. Loges. 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
10 Oct 2026
Axioms
Classical.choiceQuot.soundpropext
Built on 8

Lean source view module on GitHub

set_option autoImplicit true inset_option relaxedAutoImplicit true inopen SpectralMeasure inopen ContinuousLinearMap inopen MeasureTheory inopen Set invariable {α : Type*} [MeasurableSpace α] invariable {H : Type*} [NormedAddCommGroup H] [InnerProductSpace ℂ H] [CompleteSpace H] invariable (μS : SpectralMeasure α H) inlemma SpectralMeasure.commute (A B : Set α) : Commute (μS A) (μS B) := by  by_cases hAB : MeasurableSet A ∧ MeasurableSet B  · simp [commute_iff_eq, mul_def, comp_eq_of_inter, hAB, inter_comm]  · rcases not_and_or.mp hAB with hA | hB <;> simp [*]
See it in the graphDiscuss this resultChallenge it