AFTD Auto-Formalizing Theoretical Domains

EuclideanGroup.smul_apply

theoremverifiedformalizationimported Lean

Coordinate formula for the action: (g • p) i = (Q • (p -ᵥ origin)) i + t i.

Statement

set_option autoImplicit true in
set_option relaxedAutoImplicit true in
open EuclideanGroup in
variable {d : ℕ} in
@[simp] lemma EuclideanGroup.smul_apply (g : EuclideanGroup d) (p : Space d) (i : Fin d) :
    (g • p) i = (g.linear • (p -ᵥ (0 : Space d))) i + g.translation i
Formalizes
Physlib, `EuclideanGroup.smul_apply`
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 42
Used by 7

Lean source view module on GitHub

set_option autoImplicit true inset_option relaxedAutoImplicit true inopen EuclideanGroup invariable {d : ℕ} in/-- Coordinate formula for the action: `(g • p) i = (Q • (p -ᵥ origin)) i + t i`. -/@[simp] lemma EuclideanGroup.smul_apply (g : EuclideanGroup d) (p : Space d) (i : Fin d) :    (g • p) i = (g.linear • (p -ᵥ (0 : Space d))) i + g.translation i := by  show ((g.linear • (p -ᵥ (0 : Space d)) + g.translation) +ᵥ (0 : Space d)) i    = (g.linear • (p -ᵥ (0 : Space d))) i + g.translation i  simp [Space.vadd_apply]
See it in the graphDiscuss this resultChallenge it