TensorSpecies.Tensor.IsReindexing.symm
theoremverifiedformalizationimported Lean
The inverse of a map satisfying IsReindexing c c1 σ is a reindexing of c1 by c.
Statement
set_option autoImplicit true in set_option relaxedAutoImplicit true in open TensorSpecies TensorSpecies.Tensor TensorSpecies.Tensor.IsReindexing in open Module in variable {C : Type} in open Fin in lemma TensorSpecies.Tensor.IsReindexing.symm {n m : ℕ} {c : Fin n → C} {c1 : Fin m → C} {σ : Fin m → Fin n} (h : IsReindexing c c1 σ) : IsReindexing c1 c (h.inv σ)
- Formalizes
- Physlib, `TensorSpecies.Tensor.IsReindexing.symm`
- 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.TensorSpecies.Tensor.IsReindexing.symm← TensorSpecies.Tensor.IsReindexing.symm (Physlib/Relativity/Tensors/Reindexing.lean:204): verbatim
- Verified
- 09 Oct 2026
- Axioms
Classical.choiceQuot.soundpropext- Built on 6
- TensorSpecies.Tensor.IsReindexing.invFor a map
σsatisfyingIsReindexing c c1 σ, the inverse of that map. - TensorSpecies.Tensor.IsReindexing.on_idTensorSpecies.Tensor.IsReindexing.on_id
- TensorSpecies.Tensor.IsReindexing.inv_perserve_colorTensorSpecies.Tensor.IsReindexing.inv_perserve_color
- TensorSpecies.Tensor.IsReindexing.toEquivFor a map
σ : Fin m → Fin nsatisfyingIsReindexing c c1 σ, that map lifted to an equivalence betweenFin nandFin m. - TensorSpecies.Tensor.IsReindexing.toEquiv_symm_perserve_colorTensorSpecies.Tensor.IsReindexing.toEquiv_symm_perserve_color
- TensorSpecies.Tensor.IsReindexingGiven two lists of indices
c : Fin n → Candc1 : Fin m → Ca mapσ : Fin m → Fin nsatisfies the conditionIsReindexing c c1 σif…
- TensorSpecies.Tensor.IsReindexing.invFor a map
- Used by 5
- TensorSpecies.Tensor.IsReindexing.succAbove_succSuccAbove_commRemoving one entry and then a pair of entries from
cin either order gives the same colour list: removing thek-th entry and then the… - TensorSpecies.Tensor.IsReindexing.inv_equiv_symm_eqTensorSpecies.Tensor.IsReindexing.inv_equiv_symm_eq
- TensorSpecies.Tensor.IsReindexing.succAbove_of_neq_zeroGiven a reindexing of
cbyc1viaσfor which the indexiis not sent to0, removing thei-th entry ofc1and the(σ i)-th… - TensorSpecies.Tensor.IsReindexing.inv_cast_eqTensorSpecies.Tensor.IsReindexing.inv_cast_eq
- TensorSpecies.Tensor.IsReindexing.symm_of_idTensorSpecies.Tensor.IsReindexing.symm_of_id
- TensorSpecies.Tensor.IsReindexing.succAbove_succSuccAbove_commRemoving one entry and then a pair of entries from
Lean source view module on GitHub
set_option autoImplicit true in set_option relaxedAutoImplicit true in open TensorSpecies TensorSpecies.Tensor TensorSpecies.Tensor.IsReindexing in open Module in variable {C : Type} in open Fin in /-- The inverse of a map satisfying `IsReindexing c c1 σ` is a reindexing of `c1` by `c`. -/ lemma TensorSpecies.Tensor.IsReindexing.symm {n m : ℕ} {c : Fin n → C} {c1 : Fin m → C} {σ : Fin m → Fin n} (h : IsReindexing c c1 σ) : IsReindexing c1 c (h.inv σ) := ⟨h.toEquiv.bijective, h.inv_perserve_color⟩