AFTD Auto-Formalizing Theoretical Domains

Space.norm_vadd_le_add

theoremverifiedformalizationimported Lean

Space.norm_vadd_le_add

Statement

set_option autoImplicit true in
set_option relaxedAutoImplicit true in
open InnerProductSpace in
open ContDiff in
open MeasureTheory in
lemma Space.norm_vadd_le_add {d} (v : EuclideanSpace ℝ (Fin d)) (s : Space d) :
    ‖v +ᵥ s‖ ≤ ‖v‖ + ‖s‖
Formalizes
Physlib, `Space.norm_vadd_le_add`
Lean proof
By Joseph Tooby-Smith, from github.com/leanprover-community/physlib at e411c6e89692 (Copyright (c) 2025 Joseph Tooby-Smith. 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 72

Lean source view module on GitHub

set_option autoImplicit true inset_option relaxedAutoImplicit true inopen InnerProductSpace inopen ContDiff inopen MeasureTheory inlemma Space.norm_vadd_le_add {d} (v : EuclideanSpace ℝ (Fin d)) (s : Space d) :    ‖v +ᵥ s‖ ≤ ‖v‖ + ‖s‖ := by  trans ‖s - (-v +ᵥ (0 : Space d))‖  · apply le_of_eq    congr    ext i    simp only [vadd_apply, sub_apply, PiLp.neg_apply, zero_apply, add_zero, sub_neg_eq_add]    ring  · apply (norm_sub_le _ _).trans <| le_of_eq _    simp only [norm_vadd_zero, norm_neg]    ring
See it in the graphDiscuss this resultChallenge it