LinearPMap.compRestricted_add_ge
theoremverifiedformalizationimported Lean
LinearPMap.compRestricted_add_ge
Statement
set_option autoImplicit true in set_option relaxedAutoImplicit true in open LinearPMap in open Submodule in variable {R : Type*} [Ring R] in variable {E : Type*} [AddCommGroup E] [Module R E] in variable {F : Type*} [AddCommGroup F] [Module R F] in variable {G : Type*} [AddCommGroup G] [Module R G] in variable (g g₁ g₂ : F →ₗ.[R] G) (f f₁ f₂ : E →ₗ.[R] F) in variable {v : F →ₗ.[R] G} {u : E →ₗ.[R] F} in lemma LinearPMap.compRestricted_add_ge : g ∘ᵣ f₁ + g ∘ᵣ f₂ ≤ g ∘ᵣ (f₁ + f₂)
- Formalizes
- Physlib, `LinearPMap.compRestricted_add_ge`
- 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.LinearPMap.compRestricted_add_ge← LinearPMap.compRestricted_add_ge (Physlib/Mathematics/ForMathlib/LinearPMap.lean:283): verbatim
- Verified
- 09 Oct 2026
- Axioms
Classical.choiceQuot.soundpropext- Built on 5
- LinearPMap.compRestricted
g ∘ᵣ fis the composition ofgwithfrestricted to a domain consisting of exactly thosex : f.domainfor whichf x ∈ g.domain. - LinearPMap.mem_domain_of_mem_compRestricted_domainLinearPMap.mem_domain_of_mem_compRestricted_domain
- LinearPMap.sum_applyLinearPMap.sum_apply
- LinearPMap.mem_compRestricted_domain_iffLinearPMap.mem_compRestricted_domain_iff
- LinearPMap.compRestricted_applyLinearPMap.compRestricted_apply
- LinearPMap.compRestricted
- Used by 1
- LinearPMap.compRestricted_sub_geLinearPMap.compRestricted_sub_ge
Lean source view module on GitHub
Choose a tactic — a marked line — to see the goals Lean had before and after it, as in Lean’s infoview. Step with ← → or j k.
set_option quotPrecheck falseopen LinearPMap@[inherit_doc compRestricted]local infixr:80 " ∘ᵣ " => compRestrictedset_option autoImplicit true inset_option relaxedAutoImplicit true inopen LinearPMap inopen Submodule invariable {R : Type*} [Ring R] invariable {E : Type*} [AddCommGroup E] [Module R E] invariable {F : Type*} [AddCommGroup F] [Module R F] invariable {G : Type*} [AddCommGroup G] [Module R G] invariable (g g₁ g₂ : F →ₗ.[R] G) (f f₁ f₂ : E →ₗ.[R] F) invariable {v : F →ₗ.[R] G} {u : E →ₗ.[R] F} inlemma LinearPMap.compRestricted_add_ge : g ∘ᵣ f₁ + g ∘ᵣ f₂ ≤ g ∘ᵣ (f₁ + f₂) := by constructor · intro x hx obtain ⟨h₁, h₁'⟩ := mem_compRestricted_domain_iff.mp hx.1 obtain ⟨h₂, h₂'⟩ := mem_compRestricted_domain_iff.mp hx.2 exact mem_compRestricted_domain_iff.mpr ⟨⟨h₁, h₂⟩, add_mem h₁' h₂'⟩ · intro x y hxy obtain ⟨h₁, h₁'⟩ := mem_compRestricted_domain_iff.mp x.2.1 obtain ⟨h₂, h₂'⟩ := mem_compRestricted_domain_iff.mp x.2.2 simp [← hxy, add_apply, ← g.map_add ⟨f₁ ⟨x, h₁⟩, h₁'⟩ ⟨f₂ ⟨x, h₂⟩, h₂'⟩]