AFTD Auto-Formalizing Theoretical Domains

SpectralMeasure.comp_eq_of_inter

theoremverifiedformalizationimported Lean

SpectralMeasure.comp_eq_of_inter

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.comp_eq_of_inter {A B : Set α} (hA : MeasurableSet A) (hB : MeasurableSet B) :
    μS A ∘L μS B = μS (A ∩ B)
Formalizes
Physlib, `SpectralMeasure.comp_eq_of_inter`
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
Used by 1

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.comp_eq_of_inter {A B : Set α} (hA : MeasurableSet A) (hB : MeasurableSet B) :    μS A ∘L μS B = μS (A ∩ B) := by  nth_rw 1 [← inter_union_sdiff B A, ← inter_union_sdiff A B]  simp only [μS.of_union, hA.inter hB, hB.inter hA, hA.diff hB, hB.diff hA,    disjoint_sdiff_inter.symm, add_comp, comp_add]  rw [inter_comm B A, μS.comp_of_disjoint disjoint_sdiff_inter (hA.diff hB) (hA.inter hB),    inter_comm A B, μS.comp_of_disjoint disjoint_sdiff_inter.symm (hB.inter hA) (hB.diff hA)]  simp [μS.comp_of_disjoint disjoint_sdiff_sdiff (hA.diff hB) (hB.diff hA)]
See it in the graphDiscuss this resultChallenge it