Physlib.List.get_eq_insertIdx_succAbove
theoremverifiedformalizationimported Lean
Physlib.List.get_eq_insertIdx_succAbove
Statement
set_option autoImplicit true in set_option relaxedAutoImplicit true in open Physlib Physlib.List in open Physlib in variable {n : Nat} in lemma Physlib.List.get_eq_insertIdx_succAbove {I : Type} (i : I) (r : List I) (k : Fin r.length.succ) : r.get = (List.insertIdx r k i).get ∘ (finCongr (insertIdx_length_fin i r k).symm) ∘ k.succAbove
- Formalizes
- Physlib, `Physlib.List.get_eq_insertIdx_succAbove`
- Lean proof
- By Joseph Tooby-Smith, from github.com/leanprover-community/physlib at
e411c6e89692(Copyright (c) 2024 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.Physlib.List.get_eq_insertIdx_succAbove← Physlib.List.get_eq_insertIdx_succAbove (Physlib/Mathematics/ForMathlib/List/InsertIdx.lean:135): verbatim
- Verified
- 09 Oct 2026
- Axioms
Classical.choiceQuot.soundpropext- Built on 2
- Physlib.List.insertIdx_getElem_finPhyslib.List.insertIdx_getElem_fin
- Physlib.List.insertIdx_length_finPhyslib.List.insertIdx_length_fin
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 autoImplicit true inset_option relaxedAutoImplicit true inopen Physlib Physlib.List inopen Physlib invariable {n : Nat} inlemma Physlib.List.get_eq_insertIdx_succAbove {I : Type} (i : I) (r : List I) (k : Fin r.length.succ) : r.get = (List.insertIdx r k i).get ∘ (finCongr (insertIdx_length_fin i r k).symm) ∘ k.succAbove := by funext i simp