chars
int64
40
24k
content_type
stringclasses
9 values
id
stringlengths
13
64
source
stringclasses
5 values
subset
stringclasses
31 values
text
stringlengths
40
24k
1,716
lean_file_chunk
59f834e042493b6ad1f000e47f84090263c8e2c97cfd48d5db3cf80e4fa241bf
lean_source_file
physlib_source_file_chunks
/- Copyright (c) 2026 Florian Wiesner. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Florian Wiesner -/ module public import Physlib.FluidDynamics.FluidFlow.Basic public import Physlib.SpaceAndTime.Space.Derivatives.Div /-! # Newtonian stress tensors for fluid flows...
1,770
lean_file_chunk
14cf061b9782ca6478f69c178a68d45f161ad8f8465fca6e189b31aa47b6fabc
lean_source_file
physlib_source_file_chunks
/- Copyright (c) 2026 Florian Wiesner. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Florian Wiesner -/ module public import Physlib.FluidDynamics.CauchyFlow.Basic /-! # Basic predicates for thermodynamic Cauchy flows ## i. Overview This module defines `Thermodyna...
1,985
lean_file_chunk
a6052b7c06d69fd72e10ffadd139216316255fe50093bd108f3a8e40fc7ff0e1
lean_source_file
physlib_source_file_chunks
/- Copyright (c) 2026 Florian Wiesner. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Florian Wiesner, Michał Mogielnicki -/ module public import Physlib.FluidDynamics.CauchyFlow.BodyForce public import Physlib.FluidDynamics.FluidFlow.Kinematics public import Physlib....
1,099
lean_file_chunk
e155c48d41687ef868a17984a3b9627e30dbadbf8cf3940ef70ffa749aea6811
lean_source_file
physlib_source_file_chunks
/- Copyright (c) 2026 Florian Wiesner. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Florian Wiesner -/ module public import Physlib.FluidDynamics.FluidFlow.Kinematics public import Physlib.FluidDynamics.ThermodynamicCauchyFlow.Basic /-! # Isentropic thermodynamic C...
13,599
lean_file_chunk
f41b93e87ee2e6aa9a4acdd6950a29e56fe23d06783d1aa86cae6e6030bf4d8a
lean_source_file
physlib_source_file_chunks
/- Copyright (c) 2025 Tomas Skrivan. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Tomas Skrivan -/ module public import Mathlib.Analysis.Calculus.Gradient.Basic public import Physlib.Mathematics.FDerivCurry public import Physlib.Mathematics.InnerProductSpace.Adjoint...
4,765
lean_file_chunk
9819e5d152aa5f2b620e0eb4785f88f2a5cc23657b75b011cb04153860082761
lean_source_file
physlib_source_file_chunks
/- Copyright (c) 2025 Tomas Skrivan. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Tomas Skrivan -/ module public import Mathlib.LinearAlgebra.Trace public import Physlib.Mathematics.Calculus.AdjFDeriv public import Physlib.SpaceAndTime.Space.Derivatives.Div /-! # D...
4,437
lean_file_chunk
1d3e20e9c281ddf275cc39cc160b774b917795dbd6be07abfca2352ed1384cef
lean_source_file
physlib_source_file_chunks
/- Copyright (c) 2026 Joseph Tooby-Smith. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Joseph Tooby-Smith -/ module public import Mathlib.Analysis.Calculus.ContDiff.FiniteDimension public import Mathlib.Analysis.Calculus.ParametricIntervalIntegral public import Math...
23,937
lean_file_chunk
9d86c02957412f713680c58f531b7cbe2c6826c90a0cc7c687530047658bdd2b
lean_source_file
physlib_source_file_chunks
/- Copyright (c) 2026 Andrea Pari. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Andrea Pari -/ module public import Mathlib.Analysis.Calculus.FDeriv.Symmetric public import Mathlib.Analysis.Complex.Basic /-! # Wirtinger calculus ## Notation * The differentiation...
15,068
lean_file_chunk
4afcb68c71361b07be860ee15655b85df8a0ef8c78260e82a20cb89fc688af88
lean_source_file
physlib_source_file_chunks
variable {V' : Type*} [NormedAddCommGroup V'] [NormedSpace ℝ V'] [NormedSpace ℂ V'] omit [NormedSpace ℂ V] [NormedSpace ℂ V'] in /-- Chain rule for an inner continuous linear map `L`. Because the derivative of a linear map is the map itself, the real Fréchet derivative of `g ∘ L` at `u`, applied to `x`, equals the der...
23,981
lean_file_chunk
0d5e1e160fcf46a83a45f5cdc0aaa20813c89459de663ced722c2a1d96870450
lean_source_file
physlib_source_file_chunks
/- Copyright (c) 2026 Andrea Pari. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Andrea Pari -/ module public import Physlib.Mathematics.Calculus.Wirtinger.Basic public import Mathlib.Analysis.Calculus.FDeriv.Pi public import Mathlib.Analysis.Calculus.FDeriv.Restrict...
9,663
lean_file_chunk
ccd51911ffc45c5e051e346e54452daf41609388547c0ab7c76aa094dfbb872d
lean_source_file
physlib_source_file_chunks
lemma dWirtingerAntiCoord_eq_zero_of_holomorphic_apply {u : (ι → ℂ)} (hf : DifferentiableAt ℂ f u) (I : ι) : dWirtingerAntiCoord f I u = 0 := dWirtingerAntiDir_eq_zero_of_clinear (clinear_of_holomorphic hf _) /-! ### Coordinate-difference Wirtinger derivatives The Wirtinger derivatives of the coordinate di...
4,483
lean_file_chunk
65e9bb389813e4148c6bc690a52c908198f8728d7a27beea9c406b6d8dfb7666
lean_source_file
physlib_source_file_chunks
/- Copyright (c) 2026 Andrea Pari. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Andrea Pari -/ module public import Mathlib.Algebra.Module.Equiv.Defs public import Mathlib.Algebra.Star.Module public import Mathlib.LinearAlgebra.Basis.Defs public import Mathlib.Tacti...
1,899
lean_file_chunk
8d524216c11c1296c9f3885b4d0ee46a91a77b093fb6c20e3c142d23891b032f
lean_source_file
physlib_source_file_chunks
/- Copyright (c) 2026 Giuseppe Sorge. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Giuseppe Sorge -/ module public import Mathlib.Analysis.Calculus.ContDiff.Operations public import Mathlib.Data.Matrix.Mul public import Mathlib.Data.Real.Basic public import Mathlib....
2,646
lean_file_chunk
512e10de7e72650d13f430c80c55165f6977571e7be2f5153e228f1041eb63b9
lean_source_file
physlib_source_file_chunks
/- Copyright (c) 2026 Giuseppe Sorge. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Giuseppe Sorge -/ module public import Mathlib.Data.Matrix.Mul public import Mathlib.Data.Real.Basic public import Mathlib.LinearAlgebra.CrossProduct public import Mathlib.LinearAlgeb...
9,645
lean_file_chunk
a533f1c2b77502a2e6355f45529a6149ad9778dcc8087e990a78deb776f5d613
lean_source_file
physlib_source_file_chunks
/- 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 -/ module public import Mathlib.Data.Multiset.Bind public import Mathlib.Data.Multiset.Sort /-! ## The data type FourTree We define a tree-like structure, cal...
8,324
lean_file_chunk
f5e863b57299f75401a394b9dbf6c3d7ae9bf89833cb654f62af4a34a50d56be
lean_source_file
physlib_source_file_chunks
/- 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 -/ module public import Physlib.Mathematics.DataStructures.FourTree.Basic /-! ## Unique maps for `FourTree` We define the `uniqueMap4` and `uniqueMap3` functi...
11,666
lean_file_chunk
abf74af8b4c9476bf4be38a1e497be45ca92c445916266abf1cff9d051eed9a6
lean_source_file
physlib_source_file_chunks
/- Copyright (c) 2025 Matteo Cipollina. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Matteo Cipollina -/ module public import Mathlib.Analysis.Complex.Polynomial.Basic public import Mathlib.Analysis.Normed.Algebra.MatrixExponential public import Physlib.Mathematics....
23,996
lean_file_chunk
6a252b42fda45208cbca5d2f96249fbf16178b42c431e58da7d6a66a0616237c
lean_source_file
physlib_source_file_chunks
/- Copyright (c) 2025 Kenny Lau. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Kenny Lau, Joseph Tooby-Smith -/ module public import Physlib.Meta.TODO.Basic public import Mathlib.Analysis.Distribution.TemperedDistribution public import Mathlib.MeasureTheory.Measure.C...
1,016
lean_file_chunk
fb9c099c2e9006186136d6d0a75578a4b6b03e910c242ef114ef524a254bf246
lean_source_file
physlib_source_file_chunks
trans ∫ x, ‖η x‖ ∂(volume (α := EuclideanSpace ℝ (Fin d.succ))) · refine setIntegral_le_integral ?_ ?_ · have hi := integrable η (μ := volume) fun_prop · filter_upwards with x simp · have h' : ∀ x, ‖η x‖ ≤ (1 + ‖x‖) ^ (-(n : ℝ)) * (2 ^ n * ((Finset.Iic m).sup (fun m' => SchwartzMap.seminor...
5,161
lean_file_chunk
2c3880eae62df139b6905cbbf3f49ce23ebb0e8e79e83176758e76a1a6168c56
lean_source_file
physlib_source_file_chunks
/- 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 -/ module public import Mathlib.Analysis.Distribution.SchwartzSpace.Basic public import Mathlib.Analysis.Calculus.ContDiff.Bounds /-! ## The multiple of a Schw...
8,470
lean_file_chunk
e3c60c452edf791ebeba3bdc06da2f98696a7380753f9a2be6c470625e6bd156
lean_source_file
physlib_source_file_chunks
/- Copyright (c) 2025 Joseph Tooby-Smith. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Zhi Kai Pong, Tomáš Skřivan, Joseph Tooby-Smith -/ module public import Mathlib.Analysis.Calculus.FDeriv.Symmetric /-! # fderiv currying lemmas Various lemmas related to fderiv o...
20,062
lean_file_chunk
7ba3d6eb4ce2211b898bcb6df5ab7a5fbb7ba5d72471067260e8db4fbf307e8d
lean_source_file
physlib_source_file_chunks
/- 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 -/ module public import Mathlib.Data.Finset.Sort public import Mathlib.Data.Fintype.Pi public import Mathlib.Data.Fintype.Prod public import Mathlib.Data.Nat.Fa...
11,481
lean_file_chunk
9bbabdfe83852c90815bb2e5b51a9be8255499d25464e6128ddb553492c4ef3f
lean_source_file
physlib_source_file_chunks
/- 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 -/ module public import Mathlib.Algebra.Order.Group.Nat public import Mathlib.Algebra.Order.Monoid.NatCast public import Mathlib.Logic.Equiv.Fin.Basic /-! # Fin...
23,951
lean_file_chunk
9e52fe6c7681c3b900824d55f4cb985ef6fc3fb3574e1525d83f48b1972bdcf1
lean_source_file
physlib_source_file_chunks
/- Copyright (c) 2025 Matteo Cipollina. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Matteo Cipollina -/ module public import Mathlib.Analysis.InnerProductSpace.Basic public import Mathlib.Geometry.Manifold.MFDeriv.Defs public import Mathlib.LinearAlgebra.BilinearFo...
1,457
lean_file_chunk
6f983ba0142ff3058ab393850212e066a7753248851269e40e26ae758f397a74
lean_source_file
physlib_source_file_chunks
lemma cotangentToBilinForm_apply (g : PseudoRiemannianMetric E H M n I) (x : M) (ω₁ ω₂ : TangentSpace I x →L[ℝ] ℝ) : cotangentToBilinForm g x ω₁ ω₂ = cotangentMetricVal g x ω₁ ω₂ := rfl @[simp] lemma cotangentToQuadraticForm_apply (g : PseudoRiemannianMetric E H M n I) (x : M) (ω : TangentSpace I x →L[ℝ] ℝ) ...
9,959
lean_file_chunk
45c2b8edaa182abe5184bbd16a6541ba5816a3ada05e90cd66296c6f935f9c0c
lean_source_file
physlib_source_file_chunks
/- Copyright (c) 2025 Matteo Cipollina. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Matteo Cipollina -/ module public import Physlib.Mathematics.Geometry.Metric.PseudoRiemannian.Defs public import Mathlib.MeasureTheory.Integral.IntervalIntegral.Basic /-! # Riemanni...
5,684
lean_file_chunk
d7045bf7505816c86441967755878d3cd717d09d62c99b7380249a02b211a116
lean_source_file
physlib_source_file_chunks
/- Copyright (c) 2025 Tomas Skrivan. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Tomas Skrivan -/ module public import Physlib.Mathematics.InnerProductSpace.Basic public import Mathlib.Analysis.InnerProductSpace.Adjoint /-! # Adjoint of a linear map This module d...
21,554
lean_file_chunk
71c09c2a5d21d1111f6eed5b5a1d014c72eadb9f03c2497b909ce8a57d622943
lean_source_file
physlib_source_file_chunks
/- Copyright (c) 2025 Tomas Skrivan. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Tomas Skrivan -/ module public import Mathlib.Analysis.InnerProductSpace.Calculus public import Mathlib.Analysis.InnerProductSpace.ProdL2 /-! # Inner product space In this module we ...
1,953
lean_file_chunk
4684f0594c8e35de63cc63f9428193f41a694aaf96cd0912f503fc1155c8aa99
lean_source_file
physlib_source_file_chunks
/- Copyright (c) 2025 Tomas Skrivan. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Tomas Skrivan -/ module public import Physlib.Mathematics.InnerProductSpace.Basic /-! # Generalization of calculus results to `InnerProductSpace'` -/ @[expose] public section variabl...
8,449
lean_file_chunk
6c400d4dcb2459cf643d13d497ff5f9f1154751fb0b4790c75f8bd7da8baf819
lean_source_file
physlib_source_file_chunks
/- Copyright (c) 2026 Gregory J. Loges. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Gregory J. Loges -/ module public import Mathlib.Analysis.Calculus.ContDiff.Bounds public import Mathlib.Analysis.Distribution.SchwartzSpace.Basic public import Mathlib.Analysis.Inn...
4,520
lean_file_chunk
fd8f64c2fcb5df1ff15941f489cc3ad1fb425807e54bd467f92f3c41c5879411
lean_source_file
physlib_source_file_chunks
/- Copyright (c) 2026 Gregory J. Loges. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Gregory J. Loges -/ module public import Mathlib.Analysis.InnerProductSpace.LinearPMap /-! # Submodules of `E × F` In this module we define `submoduleToLp` which reinterprets a su...
6,290
lean_file_chunk
cb2d92e23990c835193e8d2b513b078a3afa87492de8acde971b0f87739de980
lean_source_file
physlib_source_file_chunks
/- Copyright (c) 2026 Gregory J. Loges. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Gregory J. Loges -/ module public import Mathlib.Algebra.BigOperators.Group.Finset.Piecewise public import Mathlib.Algebra.CharZero.Defs public import Mathlib.Algebra.Field.Defs pub...
15,391
lean_file_chunk
a21626091e9601d29666121f048b39d7da69656d721d05d6af467d4a27fb8611
lean_source_file
physlib_source_file_chunks
/- Copyright (c) 2026 Robert Sneiderman. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Robert Sneiderman -/ module public import Physlib.Mathematics.KroneckerDelta.Basic public import Mathlib.LinearAlgebra.Matrix.SchurComplement /-! # Contraction identities for the ...
5,766
lean_file_chunk
6bf4ec6e4f21783eafcb3d37855c3adf09e526b3a9c87ad20c63057e3309fbe3
lean_source_file
physlib_source_file_chunks
/- Copyright (c) 2026 Robert Sneiderman. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Robert Sneiderman -/ module public import Physlib.Mathematics.KroneckerDelta.Basic public import Mathlib.LinearAlgebra.Matrix.Permutation /-! # The Levi-Civita symbol in general d...
10,174
lean_file_chunk
dc7f3c8127006ce5412df3a82b033e02ec649fbc3d0f1ba29f347777711211fb
lean_source_file
physlib_source_file_chunks
/- 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 -/ module public import Mathlib.Algebra.Module.LinearMap.Defs public import Mathlib.Data.Fintype.BigOperators public import Physlib.Meta.TODO.Basic public impor...
12,930
lean_file_chunk
4b2c1bc45944a2f3d4d7de887ddcd8e8e0f0733cfe495a379433c9cbc9d3a613
lean_source_file
physlib_source_file_chunks
/- Copyright (c) 2026 Gregory J. Loges. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Gregory J. Loges -/ module public import Mathlib.Analysis.InnerProductSpace.LinearPMap /-! # LinearPMap ## i. Overview In this module we collect some basic results about `LinearP...
7,280
lean_file_chunk
fda21847b7d5055e9c7d9b68dd7e6bfe21d5a06adcf55ea85df830cc557bf6d8
lean_source_file
physlib_source_file_chunks
/- 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 -/ module public import Mathlib.Algebra.GroupWithZero.Nat public import Mathlib.Algebra.Order.Group.Nat public import Mathlib.Data.Fin.SuccPred /-! # List lemma...
23,994
lean_file_chunk
69a098ebab685c3b5fb5a9b1922de116f78f99587c31d078f0f3353c8cbfde71
lean_source_file
physlib_source_file_chunks
/- 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 -/ module public import Physlib.Mathematics.List import all Physlib.Mathematics.List /-! # List lemmas -/ @[expose] public section namespace Physlib.List ope...
3,849
lean_file_chunk
5e16be56db74a3eec830e399ff84c3f7dbc476f9fbf942d93230502dac9391b0
lean_source_file
physlib_source_file_chunks
have hx := List.getElem_mem hl simp only [List.mem_filter, List.mem_insertionSort, Bool.and_eq_true, decide_eq_true_eq] at hx apply IsTrans.trans b a _ h.2 simp_all only [decide_not, List.takeWhile_eq_nil_iff, List.get_eq_getElem, Bool.not_eq_eq_eq_not, Bool.not_true, decide_eq_false_iff_not, ...
23,990
lean_file_chunk
72d97e25dfeaf102cbd05be16b1f91b6415a15bfb9bae242f79b8c81a3fc6b61
lean_source_file
physlib_source_file_chunks
/- 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 -/ module public import Physlib.Mathematics.Fin public import Mathlib.Order.Lattice.Nat public import Mathlib.Data.List.TakeWhile import all Mathlib.Data.List.So...
9,693
lean_file_chunk
2e0d3a0867c9738768b9296acc0ecae97358722b199d24ea37a38dbe9811a287
lean_source_file
physlib_source_file_chunks
lemma insertionSortEquiv_congr {α : Type} {r : α → α → Prop} [DecidableRel r] (l l' : List α) (h : l = l') : insertionSortEquiv r l = (Fin.castOrderIso (by simp [h])).toEquiv.trans ((insertionSortEquiv r l').trans (Fin.castOrderIso (by simp [h])).toEquiv) := by subst h rfl lemma insertionSortEquiv_congr_...
1,082
lean_file_chunk
ec88f560e003d56259893f7a495400fc3a497a44dbf39fba51854d3a9eeca88e
lean_source_file
physlib_source_file_chunks
/- Copyright (c) 2026 Giuseppe Sorge. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Giuseppe Sorge -/ module public import Mathlib.Data.Matrix.Mul /-! # Orthogonal matrices and the dot product An orthogonal matrix — a square matrix `A` with `Aᵀ A = 1` — preserves t...
10,864
lean_file_chunk
05b741bba1280115828c336dfe865c6d1e2639be2f7a4178a229e36b4ac7615b
lean_source_file
physlib_source_file_chunks
/- 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 -/ module public import Mathlib.LinearAlgebra.PiTensorProduct.Basic /-! # Pi Tensor Products The purpose of this file is to define some results about Pi tensor...
6,235
lean_file_chunk
a71facc0e6543917fe754dfd17ae4969bb6a797f9c2e56c5e5cb70909fe6fe4d
lean_source_file
physlib_source_file_chunks
/- 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 -/ module public import Mathlib.Analysis.Complex.Basic /-! # Rational complex numbers -/ @[expose] public section namespace Physlib /-- Rational complex num...
4,830
lean_file_chunk
5322dc5014768ceb93cf0936a3954e2a8033f10630f392dea23d57649a7baa8e
lean_source_file
physlib_source_file_chunks
/- Copyright (c) 2026 Adam Bornemann. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Adam Bornemann -/ module public import Mathlib.Analysis.Calculus.Deriv.Pow public import Mathlib.Analysis.Calculus.IteratedDeriv.Lemmas public import Mathlib.Analysis.Distribution.Tem...
7,212
lean_file_chunk
107399064c1a60ee591b15b2c9ef9d0399735b555fe0083d5d4e7f8a2074e1d2
lean_source_file
physlib_source_file_chunks
/- 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 -/ module public import Mathlib.LinearAlgebra.Eigenspace.Basic public import Mathlib.Analysis.InnerProductSpace.PiL2 /-! # The group SO(3) -/ @[expose] public...
13,738
lean_file_chunk
c92c56babac82f6a102060bfe17f4eb4f93ac807c8c421c8ebd1b3e3f1e9a715
lean_source_file
physlib_source_file_chunks
/- Copyright (c) 2025 Gordon Hsu. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Gordon Hsu -/ module public import Mathlib.LinearAlgebra.Eigenspace.Triangularizable public import Mathlib.Analysis.InnerProductSpace.Adjoint /-! # Schur triangulation Schur triangulatio...
19,704
lean_file_chunk
199a532aa0068fe44a9ab2837a96cb1902888db14e495e50721b8935ed242527
lean_source_file
physlib_source_file_chunks
/- Copyright (c) 2025 Joseph Tooby-Smith. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Gregory J. Loges, Tomas Skrivan, Joseph Tooby-Smith -/ module public import Mathlib.Analysis.Calculus.Deriv.Polynomial public import Mathlib.Analysis.Calculus.ContDiff.Polynomial ...
7,989
lean_file_chunk
e0e0ffb28ae4fd19a27a4f31d20cae241e878bd8999384e8d9d6f0e8f5bc7726
lean_source_file
physlib_source_file_chunks
/- Copyright (c) 2025 Afiq Hatta. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Afiq Hatta -/ module public import Mathlib.Topology.Algebra.Polynomial public import Mathlib.Analysis.Calculus.Deriv.Polynomial public import Mathlib.Analysis.SpecialFunctions.Trigonometr...
11,350
lean_file_chunk
e9ab78a9a9d04c9ab0b090f6ba5ecb3af4672218182e5b1880758eb80f92fc0b
lean_source_file
physlib_source_file_chunks
/- Copyright (c) 2025 Tomas Skrivan. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Tomas Skrivan, Joseph Tooby-Smith -/ module public import Physlib.Mathematics.VariationalCalculus.IsTestFunction public import Mathlib.Analysis.Calculus.BumpFunction.InnerProduct /-! ...
23,987
lean_file_chunk
428fb376c654d8f1ac70cccffa5d1ea5120f7d70a03b436a6a8d1148d0265fbc
lean_source_file
physlib_source_file_chunks
/- Copyright (c) 2025 Tomas Skrivan. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Tomas Skrivan, Joseph Tooby-Smith -/ module public import Physlib.Mathematics.VariationalCalculus.HasVarAdjoint /-! # Variational adjoint derivative Variational adjoint derivative of ...
7,586
lean_file_chunk
fbf2069eedc6c17eb2e728d45c26d321b23aa119fcd98ab83aab9ba5ddc517bf
lean_source_file
physlib_source_file_chunks
rw [deriv_smul_const, deriv_id'', one_smul] fun_prop · exact apply_smooth_self hG · apply HasVarAdjoint.mul_left · convert hG.adjoint rw [deriv_smul_const, deriv_id'', one_smul] fun_prop · exact apply_smooth_self hF lemma const_mul (F : (X → U) → (X → ℝ))...
23,963
lean_file_chunk
901700368ea2bf8d6b0c5b043dfa9da86563a45f610b12db0779f0a08db682de
lean_source_file
physlib_source_file_chunks
/- Copyright (c) 2025 Tomas Skrivan. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Tomas Skrivan, Joseph Tooby-Smith -/ module public import Physlib.Mathematics.VariationalCalculus.IsLocalizedfunctionTransform public import Physlib.Mathematics.VariationalCalculus.Bas...
3,331
lean_file_chunk
5467644fb2d89f9affb78189051789e35e18915f6094832d6c8431db97722075
lean_source_file
physlib_source_file_chunks
[IsFiniteMeasureOnCompacts (@volume X _)] [OpensMeasurableSpace X] {F : (X → U) → (X → V)} {G : (X → U) → (X → W)} {F' G'} (hF : HasVarAdjoint F F') (hG : HasVarAdjoint G G') : HasVarAdjoint (fun φ x => (F φ x, G φ x)) (fun φ x => F' (fun x' => (φ x').1) x + G' (fun x' => (φ x').2) x) where te...
5,633
lean_file_chunk
0e04f12a8310d84e22b8d5febc5d2dc1a8c25420a91a7537b26cb11ee1e21a49
lean_source_file
physlib_source_file_chunks
/- Copyright (c) 2025 Tomas Skrivan. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Tomas Skrivan, Joseph Tooby-Smith -/ module public import Physlib.Mathematics.VariationalCalculus.HasVarAdjDeriv /-! # Variational gradient Definition of variational gradient that al...
10,008
lean_file_chunk
54748fbfed9492bc72527b13445d0f77860fd8c23dc670cbf24b434beffd6833
lean_source_file
physlib_source_file_chunks
/- Copyright (c) 2025 Tomas Skrivan. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Tomas Skrivan, Joseph Tooby-Smith -/ module public import Physlib.SpaceAndTime.Space.Derivatives.Div public import Physlib.Mathematics.Calculus.AdjFDeriv /-! # Localized function tran...
11,179
lean_file_chunk
fa16e8c4696fab1db8f5b2c4dcf2a45360cc2a92cca1ccc00dc5407e42e0fa71
lean_source_file
physlib_source_file_chunks
/- Copyright (c) 2025 Tomas Skrivan. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Tomas Skrivan, Joseph Tooby-Smith -/ module public import Physlib.Mathematics.Calculus.Divergence public import Mathlib.Topology.ContinuousMap.CompactlySupported /-! # Test functions ...
1,271
lean_file_chunk
41555d23adb6389aaee95e96f63a36b4f863c20e6d7e47d8a854ae961e24120e
lean_source_file
physlib_source_file_chunks
/- Copyright (c) 2024 Joseph Tooby-Smith. All rights reserved. Released under Apache 2.0 license. Authors: Joseph Tooby-Smith -/ module public import Physlib.Meta.TODO.Basic /-! ## Getting an array of all file paths in Physlib. -/ @[expose] public section open System /-- The recursive function underlying `allFile...
8,212
lean_file_chunk
622de3f843eab7272105ebeabcaecb873f51f96e785d3c66bf65a11b1998aa58
lean_source_file
physlib_source_file_chunks
/- Copyright (c) 2024 Joseph Tooby-Smith. All rights reserved. Released under Apache 2.0 license. Authors: Joseph Tooby-Smith -/ module public import Mathlib.Lean.Expr.Basic /-! ## Basic Lean meta programming commands -/ @[expose] public section /-- The size of a flattened array of arrays. -/ def Array.flatSize {α...
2,522
lean_file_chunk
f2ea0a33e1df9c97c85a310e7f27def07f3287cab4073c30db24cbdb68b18c53
lean_source_file
physlib_source_file_chunks
/- Copyright (c) 2024 Joseph Tooby-Smith. All rights reserved. Released under Apache 2.0 license. Authors: Joseph Tooby-Smith -/ module public meta import Lean.Parser.Term /-! ## Informal definitions and lemmas This file contains the necessary structures that must be imported into a file for it to contain informal d...
2,908
lean_file_chunk
dd7f2c7fc5fb1086f7fe299fa3dd8ff9b677095e913009b1c3b91f3f25b574f5
lean_source_file
physlib_source_file_chunks
/- Copyright (c) 2024 Joseph Tooby-Smith. All rights reserved. Released under Apache 2.0 license. Authors: Joseph Tooby-Smith -/ module public import Physlib.Meta.Basic public import Physlib.Meta.Informal.Basic public import Physlib.Meta.TODO.Basic /-! ## Informal definitions and lemmas -/ @[expose] public section ...
3,075
lean_file_chunk
30050a303fff33c0bc6279ddd016056c72744cfd4d02ef1cc3a04fc421c6f21d
lean_source_file
physlib_source_file_chunks
/- Copyright (c) 2025 Joseph Tooby-Smith. All rights reserved. Released under Apache 2.0 license. Authors: Joseph Tooby-Smith -/ module public meta import Lean.Elab.Command /-! # Semiformal results Semiformal results sit in between informal and formal results. There type or proposition is defined, by the proof or d...
3,963
lean_file_chunk
f6ea36702545f4dabc30889808eda6d839129aa40263ebd5b34cf9ee31aeffd8
lean_source_file
physlib_source_file_chunks
/- Copyright (c) 2026 Robert Sneiderman. All rights reserved. Released under Apache 2.0 license. Authors: Robert Sneiderman -/ module public import Physlib.Meta.Informal.Basic public meta import Batteries.Tactic.Lint /-! # Physlib exemptions for the `defsWithUnderscore` linter Mathlib's `defsWithUnderscore` environm...
4,783
lean_file_chunk
5ecd5da12a4deae44bcb3f7a401419d96987455ce1ef94ebc34e8f0dce25933a
lean_source_file
physlib_source_file_chunks
/- Copyright (c) 2025 Joseph Tooby-Smith. All rights reserved. Released under Apache 2.0 license. Authors: Joseph Tooby-Smith -/ module public meta import Physlib.Meta.Basic /-! # The linter for `sorry` declarations and the sorryful attribute This module defines an attribute `sorryful` and a linter `noSorry`. The a...
3,629
lean_file_chunk
b980b6e744c7d25d13afbd4b1fe6e21ee3acbcfde95858936a60791e29b8f8bb
lean_source_file
physlib_source_file_chunks
/- Copyright (c) 2024 Joseph Tooby-Smith. All rights reserved. Released under Apache 2.0 license. Authors: Joseph Tooby-Smith -/ module public meta import Lean.Elab.Command /-! ## Underlying structure for notes This file contains the necessary structures that must be imported into a file for it to be turned into a L...
2,581
lean_file_chunk
519790f21c7fac19be91c797bb68930574d6654f8033eb1e7528627d3d153e87
lean_source_file
physlib_source_file_chunks
/- Copyright (c) 2024 Joseph Tooby-Smith. All rights reserved. Released under Apache 2.0 license. Authors: Joseph Tooby-Smith -/ -- import DocGen4.Output.DocString module public import Physlib.Meta.Basic public import Physlib.Meta.Notes.Basic public import Physlib.Meta.Informal.Basic /-! ## Turns a declaration into a...
877
lean_file_chunk
d83b572075058c21fedb4c015b0693b9d381de249ab6a751899d4cf5d6d8a980
lean_source_file
physlib_source_file_chunks
/- Copyright (c) 2024 Joseph Tooby-Smith. All rights reserved. Released under Apache 2.0 license. Authors: Joseph Tooby-Smith -/ module public import Lean.Setup /-! # Note file A note file is a structure which contains the information to go into a note. -/ @[expose] public section namespace Physlib open Lean /--...
6,810
lean_file_chunk
0ca9409b5d0d24d1db8a2591f0a5a70c61d8324c61efe34e04b2636911d7ded5
lean_source_file
physlib_source_file_chunks
/- Copyright (c) 2024 Joseph Tooby-Smith. All rights reserved. Released under Apache 2.0 license. Authors: Joseph Tooby-Smith -/ module public meta import Physlib.Meta.Notes.HTMLNote public import Physlib.Meta.Notes.NoteFile /-! ## Turns a declaration into a html note structure. -/ @[expose] public section namespa...
2,003
lean_file_chunk
9846b92a6e1b0ea38212941877c6851d1d493c2db91b20d7b9774f79d2f83feb
lean_source_file
physlib_source_file_chunks
/- Copyright (c) 2024 Joseph Tooby-Smith. All rights reserved. Released under Apache 2.0 license. Authors: Joseph Tooby-Smith -/ module public meta import Lean.Elab.Command /-! ## Underlying structure for remarks -/ @[expose] public section namespace Physlib open Lean /-- The information from a `remark ...` comman...
1,212
lean_file_chunk
7acc06369e1c12d2e35de6ec77bed687ef8b00dc053520cd49f349bc487e2268
lean_source_file
physlib_source_file_chunks
/- Copyright (c) 2024 Joseph Tooby-Smith. All rights reserved. Released under Apache 2.0 license. Authors: Joseph Tooby-Smith -/ module public import Physlib.Meta.Remark.Basic /-! ## Underlying structure for remarks -/ @[expose] public section namespace Physlib open Lean variable {m} [Monad m] [MonadEnv m] [MonadEr...
7,729
lean_file_chunk
5bc4a286b805a86eaefacdd959a6ee653abb68bf2fc671522f90b3d9463707be
lean_source_file
physlib_source_file_chunks
/- Copyright (c) 2025 Joseph Tooby-Smith. All rights reserved. Released under Apache 2.0 license. Authors: Joseph Tooby-Smith -/ module public import Physlib.Meta.Linters.Sorry /-! # Meta results regarding `sorry` and `pseudo` attributions ## i. Overview The purpose of this module is to collect all results which de...
1,919
lean_file_chunk
16866c4b22545483e472b9e8c7f51c22fcd3b9cfe527d9ec369a61c944f66be4
lean_source_file
physlib_source_file_chunks
/- Copyright (c) 2024 Joseph Tooby-Smith. All rights reserved. Released under Apache 2.0 license. Authors: Joseph Tooby-Smith -/ module public meta import Lean.Elab.Command /-! # Basic underlying structure for TODOs. -/ @[expose] public section namespace Physlib open Lean /-- The information from a `TODO ...` com...
923
lean_file_chunk
398b0189190c95f3d88ed2127db39de5424acae8f3c9989e1d202ee7c26ba1a6
lean_source_file
physlib_source_file_chunks
/- Copyright (c) 2026 Joseph Tooby-Smith. All rights reserved. Released under Apache 2.0 license. Authors: Joseph Tooby-Smith -/ module public import Physlib.Meta.TODO.Basic /-! # Global TODO items This module contains global TODO items, which are not specific to any particular module, but are still important for th...
5,597
lean_file_chunk
3ca1457dccb7077c47a35801d1c01a641d60ffb74a85e2a6777b303034ffb9d7
lean_source_file
physlib_source_file_chunks
/- Copyright (c) 2024 Joseph Tooby-Smith. All rights reserved. Released under Apache 2.0 license. Authors: Joseph Tooby-Smith -/ module public import Lean public import Physlib.Meta.TODO.Basic /-! This file enables us to transverse tactics and test for conditions. ## References The content of this file is based on t...
421
lean_file_chunk
500de93c76ec681c4d094145d2a9aa47e7a2abb4fa865e63e09b7d562f76e1c1
lean_source_file
physlib_source_file_chunks
/- 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 -/ module /-! # Optics This directory is currently a place holder. Please feel free to contribute! Some directories which are NOT currently place holders are...
806
lean_file_chunk
7b80f4dff5dfad8e7f6deb71d2899a0b1c5c2e10ccfe9620066835d8b7047ab6
lean_source_file
physlib_source_file_chunks
/- Copyright (c) 2025 Zhi Kai Pong. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Zhi Kai Pong -/ module /-! # Polarization In this file the real representation is used to develop representations of polarizations such as the polarization ellipse, Stokes parameters ...
1,499
lean_file_chunk
0c9656b335f80328196b65c7f75f774fa9c4847b1d103e9ffe1bca0b89398898
lean_source_file
physlib_source_file_chunks
/- 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 -/ module public import Physlib.Particles.StandardModel.Basic /-! # The Georgi-Glashow Model The Georgi-Glashow model is a grand unified theory that unifies t...
2,977
lean_file_chunk
79c09cebcd866ede103b5dfdba19602d0315dd52d2c1a3d014edbc7eaac02647
lean_source_file
physlib_source_file_chunks
/- 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 -/ module public import Physlib.Particles.StandardModel.Basic /-! # The Pati-Salam Model The Pati-Salam model is a petite unified theory that unifies the Stan...
11,624
lean_file_chunk
248cf4d708a5cfcab85c0ae5cdfbcd740e828f18c06b63163d84ddebfae7eb2c
lean_source_file
physlib_source_file_chunks
/- 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 -/ module public import Physlib.QFT.AnomalyCancellation.Basic /-! # Anomaly cancellation conditions for the Standard Model with right-handed neutrinos This di...
9,076
lean_file_chunk
dc28375e784f6c1c11710367e73311f4b21828b70aa8599eebde630b8e0b9644
lean_source_file
physlib_source_file_chunks
/- 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 -/ module public import Physlib.Particles.BeyondTheStandardModel.RHN.AnomalyCancellation.Basic /-! # Family maps for the Standard Model for RHN ACCs We define ...
3,274
lean_file_chunk
dd6974028e440034b7cb7bce7728f82a9a7cd970863d076143576cf310454400
lean_source_file
physlib_source_file_chunks
/- 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 -/ module public import Physlib.Particles.BeyondTheStandardModel.RHN.AnomalyCancellation.Permutations public import Physlib.QFT.AnomalyCancellation.GroupActions...
3,338
lean_file_chunk
1e63c633436632d952f9b9ed20a517a0388f03272c5a0076e71759332b27d6bf
lean_source_file
physlib_source_file_chunks
/- 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 -/ module public import Physlib.Particles.BeyondTheStandardModel.RHN.AnomalyCancellation.Permutations public import Physlib.QFT.AnomalyCancellation.GroupActions...
9,546
lean_file_chunk
0dee3046f8cb248ada18f05ac272e3c4d87d41277bb8bece2dd8174aef8ada01
lean_source_file
physlib_source_file_chunks
/- 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 -/ module public import Physlib.Particles.BeyondTheStandardModel.RHN.AnomalyCancellation.Ordinary.Basic /-! # Dimension 7 plane We work here in the three famil...
1,985
lean_file_chunk
80d58ff15e1216d5581d9024f501192511925cdaf998c087ec7cf4902cd8bec4
lean_source_file
physlib_source_file_chunks
/- 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 -/ module public import Physlib.Particles.BeyondTheStandardModel.RHN.AnomalyCancellation.Ordinary.Basic public import Physlib.Particles.BeyondTheStandardModel.R...
3,241
lean_file_chunk
978eb038c7045eaee36e2a43d3ac1eceb6d893058644ae5b9c55052d7fbe7a80
lean_source_file
physlib_source_file_chunks
/- 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 -/ module public import Physlib.Particles.BeyondTheStandardModel.RHN.AnomalyCancellation.Basic public import Mathlib.RepresentationTheory.Basic /-! # Permutatio...
3,580
lean_file_chunk
9f89958dd59868db8ebb2419429999c5cbe672a68e57fe914ea1369d66a9766b
lean_source_file
physlib_source_file_chunks
/- 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 -/ module public import Physlib.Particles.BeyondTheStandardModel.RHN.AnomalyCancellation.PlusU1.FamilyMaps /-! # B Minus L in SM with RHN. Relevant definitions...
4,231
lean_file_chunk
774516045e483ad9694b9630ba4503eeb605a4a31242ae1b0781c3d6c39904a5
lean_source_file
physlib_source_file_chunks
/- 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 -/ module public import Physlib.Particles.BeyondTheStandardModel.RHN.AnomalyCancellation.Permutations public import Physlib.QFT.AnomalyCancellation.GroupActions...
2,084
lean_file_chunk
d8215cc79264aef4fd8723909b90b3c019d18d80426e3a72827348d4bfed4936
lean_source_file
physlib_source_file_chunks
/- 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 -/ module public import Physlib.Particles.BeyondTheStandardModel.RHN.AnomalyCancellation.PlusU1.PlaneNonSols /-! # Bound on plane dimension We place an upper b...
2,170
lean_file_chunk
8f6135e98d092d8e22bb123dc2cfa1f0e95b92e7838d7dbe71836956de8303a6
lean_source_file
physlib_source_file_chunks
/- 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 -/ module public import Physlib.Particles.BeyondTheStandardModel.RHN.AnomalyCancellation.PlusU1.Basic public import Physlib.Particles.BeyondTheStandardModel.RHN...
4,399
lean_file_chunk
28519ec30282706899ffca6ab579b0df2009dc816e763f0cfb69c62b7acb7016
lean_source_file
physlib_source_file_chunks
/- 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 -/ module public import Physlib.Particles.BeyondTheStandardModel.RHN.AnomalyCancellation.PlusU1.FamilyMaps /-! # Hypercharge in SM with RHN. Relevant definitio...
10,055
lean_file_chunk
c6911ba69df7075052e41f779dbe057722b98764cb6ae33d522d08ee983bc492
lean_source_file
physlib_source_file_chunks
/- 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 -/ module public import Physlib.Particles.BeyondTheStandardModel.RHN.AnomalyCancellation.PlusU1.Basic public import Mathlib.Tactic.LinearCombination /-! # Plane...
5,050
lean_file_chunk
0ca58f80abb72e572de9dc48ca077f9ee7ebeed2ac227a23f62205d6ecb7f32e
lean_source_file
physlib_source_file_chunks
/- 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 -/ module public import Physlib.Particles.BeyondTheStandardModel.RHN.AnomalyCancellation.PlusU1.Basic /-! # Properties of Quad Sols for SM with RHN We give a s...
5,140
lean_file_chunk
86d423769b33bbe2be9a2d259a4e34d1c915826fe6adbebfd15286317da4dcb7
lean_source_file
physlib_source_file_chunks
/- 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 -/ module public import Physlib.Particles.BeyondTheStandardModel.RHN.AnomalyCancellation.PlusU1.BMinusL /-! # Solutions from quad solutions We use $B-L$ to for...
2,263
lean_file_chunk
3eb4d459f69b883425160de40f4836c7f37963356af313d36bd6a1f634185453
lean_source_file
physlib_source_file_chunks
/- 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 -/ module public import Physlib.Particles.BeyondTheStandardModel.PatiSalam.Basic public import Physlib.Particles.BeyondTheStandardModel.GeorgiGlashow.Basic /-! ...
1,885
lean_file_chunk
81eacaa1be3c5801506b488333a995a10afa1c93c13218b9a4b3038699bbd5ff
lean_source_file
physlib_source_file_chunks
/- 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 -/ module public import Physlib.Particles.StandardModel.HiggsBoson.Basic /-! # The Two Higgs Doublet Model The two Higgs doublet model is the standard model p...
17,418
lean_file_chunk
9745fe256b871f5b9af983ff83e37c1cd546ae798c9e57665eb6120baaf07121
lean_source_file
physlib_source_file_chunks
/- 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 -/ module public import Physlib.Particles.BeyondTheStandardModel.TwoHDM.Basic /-! # The gram matrix for the two Higgs doublet model The main reference for mat...
23,984
lean_file_chunk
e7d810270998b1ac787b6781dd74248392b7dee30d2e139ec2efd7ea047dd550
lean_source_file
physlib_source_file_chunks
/- 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 -/ module public import Physlib.Particles.BeyondTheStandardModel.TwoHDM.GramMatrix /-! # The potential of the Two Higgs doublet model ## i. Overview In this ...
9,268
lean_file_chunk
683b0a61d8ab4021705d093f807a922ec695d6d3a62bc770da981d66f355d670
lean_source_file
physlib_source_file_chunks
+ 2 * K0 * ∑ b, K b * P.η (Sum.inl 0) (Sum.inr b) + ∑ a, ∑ b, K a * K b * P.η (Sum.inr a) (Sum.inr b) := by rw [potentialIsStable_iff_forall_euclid] apply Iff.intro · rintro ⟨c, hc⟩ refine ⟨c, ?_, fun K0 K hk0 hle => hc K0 K hk0.le hle⟩ simpa using hc 0 0 (by simp) (by simp) · rintro ⟨c, hc₀, hc⟩ ...
14,098
lean_file_chunk
505543d047b9e8b1cfd0465477124077983e0fe9e6cb0ac590f00350658688c6
lean_source_file
physlib_source_file_chunks
/- 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 -/ module public import Mathlib.LinearAlgebra.UnitaryGroup public import Mathlib.Analysis.Complex.Trigonometric /-! # The CKM Matrix The definition of the type...
2,016
lean_file_chunk
ee042da42daaf90327d9d744b69dc88200835997e82fe5dbda92ecf3f3fd9abc
lean_source_file
physlib_source_file_chunks
/- 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 -/ module public import Physlib.Particles.FlavorPhysics.CKMMatrix.Basic public import Mathlib.Analysis.Complex.Basic /-! # Invariants of the CKM Matrix The CKM...