refactor: clean up redundent imports
This commit is contained in:
parent
b61203193f
commit
64f7dfd74f
15 changed files with 5 additions and 24 deletions
|
@ -4,7 +4,6 @@ Released under Apache 2.0 license as described in the file LICENSE.
|
|||
Authors: Joseph Tooby-Smith
|
||||
-/
|
||||
import PhysLean.Particles.StandardModel.HiggsBoson.Potential
|
||||
import PhysLean.Meta.TODO.Basic
|
||||
/-!
|
||||
|
||||
# The Two Higgs Doublet Model
|
||||
|
|
|
@ -5,7 +5,6 @@ Authors: Joseph Tooby-Smith
|
|||
-/
|
||||
import PhysLean.Particles.BeyondTheStandardModel.TwoHDM.Basic
|
||||
import PhysLean.Particles.StandardModel.HiggsBoson.GaugeAction
|
||||
import Mathlib.LinearAlgebra.Matrix.PosDef
|
||||
import Mathlib.Analysis.CStarAlgebra.Matrix
|
||||
/-!
|
||||
|
||||
|
|
|
@ -4,7 +4,6 @@ Released under Apache 2.0 license as described in the file LICENSE.
|
|||
Authors: Joseph Tooby-Smith
|
||||
-/
|
||||
import Mathlib.LinearAlgebra.UnitaryGroup
|
||||
import Mathlib.Data.Complex.Exponential
|
||||
import Mathlib.Data.Complex.Trigonometric
|
||||
import Mathlib.Tactic.Polyrith
|
||||
/-!
|
||||
|
|
|
@ -6,9 +6,9 @@ Authors: Joseph Tooby-Smith
|
|||
import PhysLean.Relativity.Tensors.Tree.NodeIdentities.ProdAssoc
|
||||
import PhysLean.Relativity.Tensors.Tree.NodeIdentities.ProdComm
|
||||
import PhysLean.Relativity.Tensors.Tree.NodeIdentities.ProdContr
|
||||
import PhysLean.Relativity.Tensors.Tree.NodeIdentities.ContrContr
|
||||
import PhysLean.Relativity.Tensors.Tree.NodeIdentities.ContrSwap
|
||||
import PhysLean.Relativity.Tensors.Tree.NodeIdentities.PermContr
|
||||
import PhysLean.Relativity.Lorentz.ComplexTensor.Basic
|
||||
import PhysLean.Relativity.Tensors.Tree.NodeIdentities.Basic
|
||||
/-!
|
||||
|
||||
## Metrics as complex Lorentz tensors
|
||||
|
|
|
@ -4,7 +4,6 @@ Released under Apache 2.0 license as described in the file LICENSE.
|
|||
Authors: Joseph Tooby-Smith
|
||||
-/
|
||||
import PhysLean.Relativity.Lorentz.ComplexVector.Modules
|
||||
import PhysLean.Meta.TODO.Basic
|
||||
/-!
|
||||
|
||||
# Complex Lorentz vectors
|
||||
|
|
|
@ -3,11 +3,7 @@ Copyright (c) 2025 Joseph Tooby-Smith. All rights reserved.
|
|||
Released under Apache 2.0 license as described in the file LICENSE.
|
||||
Authors: Joseph Tooby-Smith
|
||||
-/
|
||||
import PhysLean.Relativity.Tensors.Tree.Dot
|
||||
import PhysLean.Relativity.Lorentz.Weyl.Metric
|
||||
import PhysLean.Relativity.Lorentz.RealTensor.Metrics.Pre
|
||||
import PhysLean.Relativity.Lorentz.RealTensor.Vector.Pre.Basic
|
||||
import PhysLean.Relativity.Lorentz.PauliMatrices.AsTensor
|
||||
import PhysLean.Relativity.Lorentz.ComplexTensor.Basic
|
||||
/-!
|
||||
|
||||
|
|
|
@ -3,11 +3,7 @@ Copyright (c) 2025 Joseph Tooby-Smith. All rights reserved.
|
|||
Released under Apache 2.0 license as described in the file LICENSE.
|
||||
Authors: Joseph Tooby-Smith
|
||||
-/
|
||||
import PhysLean.Relativity.Tensors.Tree.Dot
|
||||
import PhysLean.Relativity.Lorentz.Weyl.Metric
|
||||
import PhysLean.Relativity.Lorentz.RealTensor.Basic
|
||||
import PhysLean.Relativity.Lorentz.RealTensor.Vector.Pre.Basic
|
||||
import PhysLean.Relativity.Lorentz.PauliMatrices.AsTensor
|
||||
/-!
|
||||
|
||||
## Derivative of Real Lorentz tensors
|
||||
|
|
|
@ -5,7 +5,6 @@ Authors: Joseph Tooby-Smith
|
|||
-/
|
||||
import PhysLean.Relativity.Tensors.Tree.NodeIdentities.PermContr
|
||||
import PhysLean.Relativity.Lorentz.RealTensor.Basic
|
||||
import PhysLean.Relativity.Tensors.Tree.NodeIdentities.Basic
|
||||
/-!
|
||||
|
||||
## Metrics as real Lorentz tensors
|
||||
|
|
|
@ -4,7 +4,6 @@ Released under Apache 2.0 license as described in the file LICENSE.
|
|||
Authors: Joseph Tooby-Smith
|
||||
-/
|
||||
import PhysLean.Relativity.Lorentz.RealTensor.Units.Pre
|
||||
import PhysLean.Relativity.Lorentz.RealTensor.Matrix.Pre
|
||||
/-!
|
||||
|
||||
# Metric for real Lorentz vectors
|
||||
|
|
|
@ -5,7 +5,6 @@ Authors: Matteo Cipollina, Joseph Tooby-Smith
|
|||
-/
|
||||
import PhysLean.Relativity.Lorentz.RealTensor.Metrics.Basic
|
||||
import Mathlib.Geometry.Manifold.IsManifold.Basic
|
||||
import Mathlib.Analysis.InnerProductSpace.PiL2
|
||||
/-!
|
||||
|
||||
## Metrics as real Lorentz tensors
|
||||
|
|
|
@ -3,9 +3,6 @@ Copyright (c) 2024 Joseph Tooby-Smith. All rights reserved.
|
|||
Released under Apache 2.0 license as described in the file LICENSE.
|
||||
Authors: Joseph Tooby-Smith
|
||||
-/
|
||||
import Mathlib.Geometry.Manifold.IsManifold.Basic
|
||||
import Mathlib.Analysis.InnerProductSpace.PiL2
|
||||
import PhysLean.Meta.TODO.Basic
|
||||
import PhysLean.Relativity.Lorentz.RealTensor.Vector.Basic
|
||||
/-!
|
||||
# Space time
|
||||
|
|
|
@ -4,7 +4,6 @@ Released under Apache 2.0 license as described in the file LICENSE.
|
|||
Authors: Joseph Tooby-Smith
|
||||
-/
|
||||
import PhysLean.Relativity.SpaceTime.ProperTime
|
||||
import PhysLean.Relativity.Lorentz.RealTensor.Vector.Causality
|
||||
/-!
|
||||
# Twin Paradox
|
||||
|
||||
|
|
|
@ -3,7 +3,6 @@ Copyright (c) 2024 Joseph Tooby-Smith. All rights reserved.
|
|||
Released under Apache 2.0 license as described in the file LICENSE.
|
||||
Authors: Joseph Tooby-Smith
|
||||
-/
|
||||
import PhysLean.Relativity.Tensors.TensorSpecies.Basic
|
||||
import PhysLean.Relativity.Tensors.TensorSpecies.Contractions.ContrMap
|
||||
/-!
|
||||
|
||||
|
|
|
@ -3,7 +3,6 @@ Copyright (c) 2024 Joseph Tooby-Smith. All rights reserved.
|
|||
Released under Apache 2.0 license as described in the file LICENSE.
|
||||
Authors: Joseph Tooby-Smith
|
||||
-/
|
||||
import PhysLean.Relativity.Tensors.TensorSpecies.Contractions.ContrMap
|
||||
import PhysLean.Relativity.Tensors.TensorSpecies.Basis
|
||||
/-!
|
||||
|
||||
|
|
|
@ -5,6 +5,8 @@ Authors: Joseph Tooby-Smith
|
|||
-/
|
||||
import PhysLean.Meta.Basic
|
||||
import ImportGraph.Imports
|
||||
import Mathlib.Lean.CoreM
|
||||
|
||||
/-!
|
||||
|
||||
# Extracting commands with no doc strings.
|
||||
|
@ -18,7 +20,7 @@ def Imports.RedundentImports (imp : Import) : MetaM UInt32 := do
|
|||
let x ← redundantImports (some imp.module)
|
||||
if x.isEmpty then return 0
|
||||
println! "\n"
|
||||
println! (← Name.toFile imp.module)
|
||||
println! (Name.toFilePath imp.module)
|
||||
println! x.toList
|
||||
return 0
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue