Download data/lean/OAI/AlgebraicGeometry/AbelianModuli/HilbertConstruction/FreeCech/TupleSupport.lean from introvoyz045/math: direct link, hf CLI and curl.
theoremTupleChains.CechTupleChain.supportedBy_single {ι : Type u} {n : ℕ} {N : Set ι}
(i : Fin (n + 1) → ι) (a : ℤ) (hi : Set.range i ⊆N) :
TupleChains.CechTupleChain.SupportedBy (Finsupp.single i a) N:=by
proof · 5
lines
intro j hj
have hji :=Finsupp.support_single_subset hj
simp only [Finset.mem_singleton] at hji
subst j
exact hi
theoremTupleChains.CechTupleChain.supportedBy_sum {ι : Type u} {n : ℕ} {N : Set ι}
{κ : Type*} (s : Finset κ) (f : κ →TupleChains.CechTupleChain ι n)
(hf : ∀ k ∈ s, TupleChains.CechTupleChain.SupportedBy (f k) N) :
TupleChains.CechTupleChain.SupportedBy (∑ k ∈ s, f k) N:=by
proof · 7
lines
classical
induction s usingFinset.induction_on with
| empty => simp [TupleChains.CechTupleChain.supportedBy_zero]
| @insert k s hk ih =>
rw [Finset.sum_insert hk]
exact (hf k (Finset.mem_insert_self k s)).add
(ih fun l hl => hf l (Finset.mem_insert_of_mem hl))
theoremTupleChains.CechTupleChain.supportedBy_linearExtension
{ι : Type u} {n m : ℕ} {N : Set ι}
(f : (Fin (n + 1) → ι) →TupleChains.CechTupleChain ι m)
(x : TupleChains.CechTupleChain ι n)
(hf : ∀ i ∈ x.support, TupleChains.CechTupleChain.SupportedBy (f i) N) :
TupleChains.CechTupleChain.SupportedBy (TupleChains.cechTupleLinearExtension f x) N:=by
proof · 7
lines
classical
intro j hj
rw [TupleChains.cechTupleLinearExtension, Finsupp.lsum_apply] at hj
change j ∈ (x.sum fun i a => a • f i).support at hj
obtain ⟨i, hi, hj⟩ :=Finset.mem_biUnion.mp (Finsupp.support_sum hj)
exact hf i hi (Finsupp.support_smul hj)