AFTD Auto-Formalizing Theoretical Domains

EuclideanGroup.rotation_smul_vsub_origin

theoremverifiedformalizationimported Lean

A rotation acts on the displacement from the origin by its orthogonal part, for every p: (r • p) -ᵥ origin = Q • (p -ᵥ origin).

Statement

set_option autoImplicit true in
set_option relaxedAutoImplicit true in
open EuclideanGroup in
variable {d : ℕ} in
lemma EuclideanGroup.rotation_smul_vsub_origin (r : RotationGroup d) (p : Space d) :
    (r • p) -ᵥ (0 : Space d) = (r : EuclideanGroup d).linear • (p -ᵥ (0 : Space d))
Formalizes
Physlib, `EuclideanGroup.rotation_smul_vsub_origin`
Lean proof
By Shaopeng Zhu, from github.com/leanprover-community/physlib at e411c6e89692 (Copyright (c) 2026 Shaopeng Zhu. 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 46

Lean source view module on GitHub

set_option autoImplicit true inset_option relaxedAutoImplicit true inopen EuclideanGroup invariable {d : ℕ} in/-- A rotation acts on the displacement from the origin by its orthogonal part, for every `p`: `(r • p) -ᵥ origin = Q • (p -ᵥ origin)`. -/lemma EuclideanGroup.rotation_smul_vsub_origin (r : RotationGroup d) (p : Space d) :    (r • p) -ᵥ (0 : Space d) = (r : EuclideanGroup d).linear • (p -ᵥ (0 : Space d)) := by  rw [rotation_smul_eq]  nth_rewrite 1 [← rotation_smul_origin r]  rw [smul_vsub_smul]
See it in the graphDiscuss this resultChallenge it