Theorem: MeasureTheory.addContent_eq_add_diffFinset₀_of_subset
File: Mathlib/MeasureTheory/Measure/AddContent.lean

tactic: conv_lhs => rw [← hC.sUnion_union_diffFinset₀_of_subset hs hI hI_ss]
state_before: α : Type u_1
C : Set (Set α)
s t : Set α
I : Finset (Set α)
m m' : AddContent C
hC : IsSetSemiring C
hs : s ∈ C
hI : ↑I ⊆ C
hI_ss : ∀ t ∈ I, t ⊆ s
h_dis : (↑I).PairwiseDisjoint id
⊢ m s = ∑ i ∈ I, m i + ∑ i ∈ hC.diffFinset₀ hs hI, m i
state_after: α : Type u_1
C : Set (Set α)
s t : Set α
I : Finset (Set α)
m m' : AddContent C
hC : IsSetSemiring C
hs : s ∈ C
hI : ↑I ⊆ C
hI_ss : ∀ t ∈ I, t ⊆ s
h_dis : (↑I).PairwiseDisjoint id
⊢ m (⋃₀ ↑(I ∪ hC.diffFinset₀ hs hI)) = ∑ i ∈ I, m i + ∑ i ∈ hC.diffFinset₀ hs hI, m i

tactic: rw [addContent_sUnion]
state_before: α : Type u_1
C : Set (Set α)
s t : Set α
I : Finset (Set α)
m m' : AddContent C
hC : IsSetSemiring C
hs : s ∈ C
hI : ↑I ⊆ C
hI_ss : ∀ t ∈ I, t ⊆ s
h_dis : (↑I).PairwiseDisjoint id
⊢ m (⋃₀ ↑(I ∪ hC.diffFinset₀ hs hI)) = ∑ i ∈ I, m i + ∑ i ∈ hC.diffFinset₀ hs hI, m i
state_after: α : Type u_1
C : Set (Set α)
s t : Set α
I : Finset (Set α)
m m' : AddContent C
hC : IsSetSemiring C
hs : s ∈ C
hI : ↑I ⊆ C
hI_ss : ∀ t ∈ I, t ⊆ s
h_dis : (↑I).PairwiseDisjoint id
⊢ ∑ u ∈ I ∪ hC.diffFinset₀ hs hI, m u = ∑ i ∈ I, m i + ∑ i ∈ hC.diffFinset₀ hs hI, m i

case h_ss
α : Type u_1
C : Set (Set α)
s t : Set α
I : Finset (Set α)
m m' : AddContent C
hC : IsSetSemiring C
hs : s ∈ C
hI : ↑I ⊆ C
hI_ss : ∀ t ∈ I, t ⊆ s
h_dis : (↑I).PairwiseDisjoint id
⊢ ↑(I ∪ hC.diffFinset₀ hs hI) ⊆ C

case h_dis
α : Type u_1
C : Set (Set α)
s t : Set α
I : Finset (Set α)
m m' : AddContent C
hC : IsSetSemiring C
hs : s ∈ C
hI : ↑I ⊆ C
hI_ss : ∀ t ∈ I, t ⊆ s
h_dis : (↑I).PairwiseDisjoint id
⊢ (↑(I ∪ hC.diffFinset₀ hs hI)).PairwiseDisjoint id

case h_mem
α : Type u_1
C : Set (Set α)
s t : Set α
I : Finset (Set α)
m m' : AddContent C
hC : IsSetSemiring C
hs : s ∈ C
hI : ↑I ⊆ C
hI_ss : ∀ t ∈ I, t ⊆ s
h_dis : (↑I).PairwiseDisjoint id
⊢ ⋃₀ ↑(I ∪ hC.diffFinset₀ hs hI) ∈ C

tactic: rw [sum_union]
state_before: α : Type u_1
C : Set (Set α)
s t : Set α
I : Finset (Set α)
m m' : AddContent C
hC : IsSetSemiring C
hs : s ∈ C
hI : ↑I ⊆ C
hI_ss : ∀ t ∈ I, t ⊆ s
h_dis : (↑I).PairwiseDisjoint id
⊢ ∑ u ∈ I ∪ hC.diffFinset₀ hs hI, m u = ∑ i ∈ I, m i + ∑ i ∈ hC.diffFinset₀ hs hI, m i
state_after: α : Type u_1
C : Set (Set α)
s t : Set α
I : Finset (Set α)
m m' : AddContent C
hC : IsSetSemiring C
hs : s ∈ C
hI : ↑I ⊆ C
hI_ss : ∀ t ∈ I, t ⊆ s
h_dis : (↑I).PairwiseDisjoint id
⊢ Disjoint I (hC.diffFinset₀ hs hI)

tactic: exact hC.disjoint_diffFinset₀ hs hI
state_before: α : Type u_1
C : Set (Set α)
s t : Set α
I : Finset (Set α)
m m' : AddContent C
hC : IsSetSemiring C
hs : s ∈ C
hI : ↑I ⊆ C
hI_ss : ∀ t ∈ I, t ⊆ s
h_dis : (↑I).PairwiseDisjoint id
⊢ Disjoint I (hC.diffFinset₀ hs hI)
state_after: no goals

tactic: rw [coe_union]
state_before: case h_ss
α : Type u_1
C : Set (Set α)
s t : Set α
I : Finset (Set α)
m m' : AddContent C
hC : IsSetSemiring C
hs : s ∈ C
hI : ↑I ⊆ C
hI_ss : ∀ t ∈ I, t ⊆ s
h_dis : (↑I).PairwiseDisjoint id
⊢ ↑(I ∪ hC.diffFinset₀ hs hI) ⊆ C
state_after: case h_ss
α : Type u_1
C : Set (Set α)
s t : Set α
I : Finset (Set α)
m m' : AddContent C
hC : IsSetSemiring C
hs : s ∈ C
hI : ↑I ⊆ C
hI_ss : ∀ t ∈ I, t ⊆ s
h_dis : (↑I).PairwiseDisjoint id
⊢ ↑I ∪ ↑(hC.diffFinset₀ hs hI) ⊆ C

tactic: exact Set.union_subset hI (hC.diffFinset₀_subset hs hI)
state_before: case h_ss
α : Type u_1
C : Set (Set α)
s t : Set α
I : Finset (Set α)
m m' : AddContent C
hC : IsSetSemiring C
hs : s ∈ C
hI : ↑I ⊆ C
hI_ss : ∀ t ∈ I, t ⊆ s
h_dis : (↑I).PairwiseDisjoint id
⊢ ↑I ∪ ↑(hC.diffFinset₀ hs hI) ⊆ C
state_after: no goals

tactic: rw [coe_union]
state_before: case h_dis
α : Type u_1
C : Set (Set α)
s t : Set α
I : Finset (Set α)
m m' : AddContent C
hC : IsSetSemiring C
hs : s ∈ C
hI : ↑I ⊆ C
hI_ss : ∀ t ∈ I, t ⊆ s
h_dis : (↑I).PairwiseDisjoint id
⊢ (↑(I ∪ hC.diffFinset₀ hs hI)).PairwiseDisjoint id
state_after: case h_dis
α : Type u_1
C : Set (Set α)
s t : Set α
I : Finset (Set α)
m m' : AddContent C
hC : IsSetSemiring C
hs : s ∈ C
hI : ↑I ⊆ C
hI_ss : ∀ t ∈ I, t ⊆ s
h_dis : (↑I).PairwiseDisjoint id
⊢ (↑I ∪ ↑(hC.diffFinset₀ hs hI)).PairwiseDisjoint id

tactic: exact hC.pairwiseDisjoint_union_diffFinset₀ hs hI h_dis
state_before: case h_dis
α : Type u_1
C : Set (Set α)
s t : Set α
I : Finset (Set α)
m m' : AddContent C
hC : IsSetSemiring C
hs : s ∈ C
hI : ↑I ⊆ C
hI_ss : ∀ t ∈ I, t ⊆ s
h_dis : (↑I).PairwiseDisjoint id
⊢ (↑I ∪ ↑(hC.diffFinset₀ hs hI)).PairwiseDisjoint id
state_after: no goals

tactic: rwa [hC.sUnion_union_diffFinset₀_of_subset hs hI hI_ss]
state_before: case h_mem
α : Type u_1
C : Set (Set α)
s t : Set α
I : Finset (Set α)
m m' : AddContent C
hC : IsSetSemiring C
hs : s ∈ C
hI : ↑I ⊆ C
hI_ss : ∀ t ∈ I, t ⊆ s
h_dis : (↑I).PairwiseDisjoint id
⊢ ⋃₀ ↑(I ∪ hC.diffFinset₀ hs hI) ∈ C
state_after: no goals