refactor: clean up redundent imports

This commit is contained in:
jstoobysmith 2025-03-20 05:02:38 -04:00
parent b61203193f
commit 64f7dfd74f
15 changed files with 5 additions and 24 deletions

View file

@ -4,7 +4,6 @@ Released under Apache 2.0 license as described in the file LICENSE.
Authors: Joseph Tooby-Smith Authors: Joseph Tooby-Smith
-/ -/
import PhysLean.Particles.StandardModel.HiggsBoson.Potential import PhysLean.Particles.StandardModel.HiggsBoson.Potential
import PhysLean.Meta.TODO.Basic
/-! /-!
# The Two Higgs Doublet Model # The Two Higgs Doublet Model

View file

@ -5,7 +5,6 @@ Authors: Joseph Tooby-Smith
-/ -/
import PhysLean.Particles.BeyondTheStandardModel.TwoHDM.Basic import PhysLean.Particles.BeyondTheStandardModel.TwoHDM.Basic
import PhysLean.Particles.StandardModel.HiggsBoson.GaugeAction import PhysLean.Particles.StandardModel.HiggsBoson.GaugeAction
import Mathlib.LinearAlgebra.Matrix.PosDef
import Mathlib.Analysis.CStarAlgebra.Matrix import Mathlib.Analysis.CStarAlgebra.Matrix
/-! /-!

View file

@ -4,7 +4,6 @@ Released under Apache 2.0 license as described in the file LICENSE.
Authors: Joseph Tooby-Smith Authors: Joseph Tooby-Smith
-/ -/
import Mathlib.LinearAlgebra.UnitaryGroup import Mathlib.LinearAlgebra.UnitaryGroup
import Mathlib.Data.Complex.Exponential
import Mathlib.Data.Complex.Trigonometric import Mathlib.Data.Complex.Trigonometric
import Mathlib.Tactic.Polyrith import Mathlib.Tactic.Polyrith
/-! /-!

View file

@ -6,9 +6,9 @@ Authors: Joseph Tooby-Smith
import PhysLean.Relativity.Tensors.Tree.NodeIdentities.ProdAssoc import PhysLean.Relativity.Tensors.Tree.NodeIdentities.ProdAssoc
import PhysLean.Relativity.Tensors.Tree.NodeIdentities.ProdComm import PhysLean.Relativity.Tensors.Tree.NodeIdentities.ProdComm
import PhysLean.Relativity.Tensors.Tree.NodeIdentities.ProdContr 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.Tensors.Tree.NodeIdentities.PermContr
import PhysLean.Relativity.Lorentz.ComplexTensor.Basic
import PhysLean.Relativity.Tensors.Tree.NodeIdentities.Basic
/-! /-!
## Metrics as complex Lorentz tensors ## Metrics as complex Lorentz tensors

View file

@ -4,7 +4,6 @@ Released under Apache 2.0 license as described in the file LICENSE.
Authors: Joseph Tooby-Smith Authors: Joseph Tooby-Smith
-/ -/
import PhysLean.Relativity.Lorentz.ComplexVector.Modules import PhysLean.Relativity.Lorentz.ComplexVector.Modules
import PhysLean.Meta.TODO.Basic
/-! /-!
# Complex Lorentz vectors # Complex Lorentz vectors

View file

@ -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. Released under Apache 2.0 license as described in the file LICENSE.
Authors: Joseph Tooby-Smith 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.Metrics.Pre
import PhysLean.Relativity.Lorentz.RealTensor.Vector.Pre.Basic
import PhysLean.Relativity.Lorentz.PauliMatrices.AsTensor
import PhysLean.Relativity.Lorentz.ComplexTensor.Basic import PhysLean.Relativity.Lorentz.ComplexTensor.Basic
/-! /-!

View file

@ -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. Released under Apache 2.0 license as described in the file LICENSE.
Authors: Joseph Tooby-Smith 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.Basic
import PhysLean.Relativity.Lorentz.RealTensor.Vector.Pre.Basic
import PhysLean.Relativity.Lorentz.PauliMatrices.AsTensor
/-! /-!
## Derivative of Real Lorentz tensors ## Derivative of Real Lorentz tensors

View file

@ -5,7 +5,6 @@ Authors: Joseph Tooby-Smith
-/ -/
import PhysLean.Relativity.Tensors.Tree.NodeIdentities.PermContr import PhysLean.Relativity.Tensors.Tree.NodeIdentities.PermContr
import PhysLean.Relativity.Lorentz.RealTensor.Basic import PhysLean.Relativity.Lorentz.RealTensor.Basic
import PhysLean.Relativity.Tensors.Tree.NodeIdentities.Basic
/-! /-!
## Metrics as real Lorentz tensors ## Metrics as real Lorentz tensors

View file

@ -4,7 +4,6 @@ Released under Apache 2.0 license as described in the file LICENSE.
Authors: Joseph Tooby-Smith Authors: Joseph Tooby-Smith
-/ -/
import PhysLean.Relativity.Lorentz.RealTensor.Units.Pre import PhysLean.Relativity.Lorentz.RealTensor.Units.Pre
import PhysLean.Relativity.Lorentz.RealTensor.Matrix.Pre
/-! /-!
# Metric for real Lorentz vectors # Metric for real Lorentz vectors

View file

@ -5,7 +5,6 @@ Authors: Matteo Cipollina, Joseph Tooby-Smith
-/ -/
import PhysLean.Relativity.Lorentz.RealTensor.Metrics.Basic import PhysLean.Relativity.Lorentz.RealTensor.Metrics.Basic
import Mathlib.Geometry.Manifold.IsManifold.Basic import Mathlib.Geometry.Manifold.IsManifold.Basic
import Mathlib.Analysis.InnerProductSpace.PiL2
/-! /-!
## Metrics as real Lorentz tensors ## Metrics as real Lorentz tensors

View file

@ -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. Released under Apache 2.0 license as described in the file LICENSE.
Authors: Joseph Tooby-Smith 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 import PhysLean.Relativity.Lorentz.RealTensor.Vector.Basic
/-! /-!
# Space time # Space time

View file

@ -4,7 +4,6 @@ Released under Apache 2.0 license as described in the file LICENSE.
Authors: Joseph Tooby-Smith Authors: Joseph Tooby-Smith
-/ -/
import PhysLean.Relativity.SpaceTime.ProperTime import PhysLean.Relativity.SpaceTime.ProperTime
import PhysLean.Relativity.Lorentz.RealTensor.Vector.Causality
/-! /-!
# Twin Paradox # Twin Paradox

View file

@ -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. Released under Apache 2.0 license as described in the file LICENSE.
Authors: Joseph Tooby-Smith Authors: Joseph Tooby-Smith
-/ -/
import PhysLean.Relativity.Tensors.TensorSpecies.Basic
import PhysLean.Relativity.Tensors.TensorSpecies.Contractions.ContrMap import PhysLean.Relativity.Tensors.TensorSpecies.Contractions.ContrMap
/-! /-!

View file

@ -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. Released under Apache 2.0 license as described in the file LICENSE.
Authors: Joseph Tooby-Smith Authors: Joseph Tooby-Smith
-/ -/
import PhysLean.Relativity.Tensors.TensorSpecies.Contractions.ContrMap
import PhysLean.Relativity.Tensors.TensorSpecies.Basis import PhysLean.Relativity.Tensors.TensorSpecies.Basis
/-! /-!

View file

@ -5,6 +5,8 @@ Authors: Joseph Tooby-Smith
-/ -/
import PhysLean.Meta.Basic import PhysLean.Meta.Basic
import ImportGraph.Imports import ImportGraph.Imports
import Mathlib.Lean.CoreM
/-! /-!
# Extracting commands with no doc strings. # Extracting commands with no doc strings.
@ -18,7 +20,7 @@ def Imports.RedundentImports (imp : Import) : MetaM UInt32 := do
let x ← redundantImports (some imp.module) let x ← redundantImports (some imp.module)
if x.isEmpty then return 0 if x.isEmpty then return 0
println! "\n" println! "\n"
println! (Name.toFile imp.module) println! (Name.toFilePath imp.module)
println! x.toList println! x.toList
return 0 return 0