AFTD Auto-Formalizing Theoretical Domains

Fermion.LeftHandedWeyl.basis_apply

theoremverifiedformalizationimported Lean

Fermion.LeftHandedWeyl.basis_apply

Statement

set_option autoImplicit true in
set_option relaxedAutoImplicit true in
open Module Matrix in
open MatrixGroups in
open Complex in
open TensorProduct in
lemma Fermion.LeftHandedWeyl.basis_apply (i j : Fin 2) : (basis i).1 j = if j = i then 1 else 0
Formalizes
Physlib, `Fermion.LeftHandedWeyl.basis_apply`
Lean proof
By Joseph Tooby-Smith, from github.com/leanprover-community/physlib at e411c6e89692 (Copyright (c) 2026 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 6
Used by 1

Lean source view module on GitHub

set_option autoImplicit true inset_option relaxedAutoImplicit true inopen Module Matrix inopen MatrixGroups inopen Complex inopen TensorProduct inlemma Fermion.LeftHandedWeyl.basis_apply (i j : Fin 2) : (basis i).1 j = if j = i then 1 else 0 := by  simp only [basis, AddEquiv.linearEquiv, AddEquiv.toEquiv_eq_coe, Equiv.toFun_as_coe,    EquivLike.coe_coe, Equiv.invFun_as_coe, AddEquiv.coe_toEquiv_symm, Basis.coe_ofEquivFun,    LinearEquiv.symm_mk, LinearMap.coe_mk, AddHom.coe_mk, LinearEquiv.coe_mk]  change Pi.single i 1 j = _  simp [Pi.single_apply]
See it in the graphDiscuss this resultChallenge it