filename
stringlengths
5
42
content
stringlengths
15
319k
Bounds.lean
/- Copyright (c) 2024 Arend Mellendijk. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Arend Mellendijk -/ import Mathlib.Analysis.SpecialFunctions.Integrals.Basic import Mathlib.Analysis.SumIntegralComparisons import Mathlib.NumberTheory.Harmonic.Defs /-! This file...
FiniteDimension.lean
/- Copyright (c) 2019 Sébastien Gouëzel. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Sébastien Gouëzel, Floris van Doorn -/ import Mathlib.Analysis.Calculus.ContDiff.Operations import Mathlib.Analysis.Normed.Module.FiniteDimension /-! # Higher differentiability in ...
Over.lean
/- Copyright (c) 2024 Andrew Yang. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Andrew Yang -/ import Mathlib.AlgebraicGeometry.Scheme import Mathlib.CategoryTheory.Comma.Over.OverClass /-! # Typeclasses for `S`-schemes and `S`-morphisms We define these as thin wra...
Products.lean
/- Copyright (c) 2018 Kim Morrison. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Kim Morrison, Bhavik Mehta -/ import Mathlib.CategoryTheory.Limits.HasLimits import Mathlib.CategoryTheory.Discrete.Basic /-! # Categorical (co)products This file defines (co)products ...
generic_quotient.v
(* (c) Copyright 2006-2016 Microsoft Corporation and Inria. *) (* Distributed under the terms of CeCILL-B. *) From HB Require Import structures. From mathcomp Require Import ssreflect ssrfun ssrbool eqtype ssrnat choice. From mathcomp Require Import seq fintype. (*****...
OpenImmersion.lean
/- Copyright (c) 2021 Andrew Yang. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Andrew Yang -/ import Mathlib.Topology.Category.TopCat.Limits.Pullbacks import Mathlib.Geometry.RingedSpace.LocallyRingedSpace /-! # Open immersions of structured spaces We say that a m...
Divisor.lean
/- Copyright (c) 2025 Stefan Kebekus. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Stefan Kebekus -/ import Mathlib.Algebra.Order.WithTop.Untop0 import Mathlib.Analysis.Meromorphic.Order import Mathlib.Topology.LocallyFinsupp /-! # The Divisor of a meromorphic funct...
SMul.lean
/- Copyright (c) 2017 Johannes Hölzl. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Johannes Hölzl, Kim Morrison -/ import Mathlib.Algebra.Group.Action.Basic import Mathlib.Algebra.Module.Basic import Mathlib.Algebra.Regular.SMul import Mathlib.Data.Finsupp.Basic impo...
Fermat.lean
/- Copyright (c) 2024 Moritz Firsching. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Moritz Firsching -/ import Mathlib.NumberTheory.LegendreSymbol.QuadraticReciprocity import Mathlib.NumberTheory.LucasPrimality /-! # Fermat numbers The Fermat numbers are a sequenc...
Properties.lean
/- Copyright (c) 2022 Anand Rao, Rémi Bottinelli. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Anand Rao, Rémi Bottinelli -/ import Mathlib.Combinatorics.SimpleGraph.Ends.Defs import Mathlib.CategoryTheory.CofilteredSystem /-! # Properties of the ends of graphs Thi...
Power.lean
/- Copyright (c) 2021 Manuel Candales. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Manuel Candales, Benjamin Davidson -/ import Mathlib.Geometry.Euclidean.Angle.Unoriented.Affine import Mathlib.Geometry.Euclidean.Sphere.Basic /-! # Power of a point (intersecting ch...
StringDiagram.lean
/- Copyright (c) 2024 Yuma Mizuno. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Yuma Mizuno -/ import ProofWidgets.Component.PenroseDiagram import ProofWidgets.Component.Panel.Basic import ProofWidgets.Presentation.Expr import ProofWidgets.Component.HtmlDisplay impor...
ContinuousLinearMap.lean
/- Copyright (c) 2024 Jireh Loreaux. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Jireh Loreaux -/ import Mathlib.Analysis.CStarAlgebra.Classes import Mathlib.Analysis.InnerProductSpace.Adjoint /-! # `E →L[ℂ] E` as a C⋆-algebra We place this here because, for reaso...
Limits.lean
/- Copyright (c) 2022 Andrew Yang. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Andrew Yang, Joël Riou -/ import Mathlib.CategoryTheory.Limits.Final import Mathlib.CategoryTheory.Limits.Connected import Mathlib.CategoryTheory.Filtered.Connected import Mathlib.Categor...
Lattice.lean
/- Copyright (c) 2022 Yaël Dillies. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Yaël Dillies -/ import Mathlib.Order.Hom.Basic /-! # Unbounded lattice homomorphisms This file defines unbounded lattice homomorphisms. _Bounded_ lattice homomorphisms are defined in `...
qpoly.v
From HB Require Import structures. From mathcomp Require Import ssreflect ssrfun ssrbool eqtype ssrnat seq choice. From mathcomp Require Import fintype tuple bigop binomial finset finfun ssralg. From mathcomp Require Import countalg finalg poly polydiv perm fingroup matrix. From mathcomp Require Import mxalgebra mxpoly...
Tape.lean
/- Copyright (c) 2018 Mario Carneiro. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Mario Carneiro -/ import Mathlib.Data.Vector.Basic import Mathlib.Logic.Function.Iterate import Mathlib.Order.Basic import Mathlib.Tactic.ApplyFun import Mathlib.Data.List.GetD /-! # ...
KrullsHeightTheorem.lean
/- Copyright (c) 2025 Andrew Yang. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Wanyi He, Jiedong Jiang, Christian Merten, Jingting Wang, Andrew Yang, Shouxin Zhang -/ import Mathlib.RingTheory.HopkinsLevitzki import Mathlib.RingTheory.Ideal.Height import Mathlib.Rin...
UniqueFactorization.lean
/- Copyright (c) 2019 Kenny Lau. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Kenny Lau -/ import Mathlib.RingTheory.Polynomial.Basic import Mathlib.RingTheory.Polynomial.Content import Mathlib.RingTheory.UniqueFactorizationDomain.Basic import Mathlib.RingTheory.Uniq...
Filtered.lean
/- Copyright (c) 2022 Markus Himmel. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Markus Himmel -/ import Mathlib.CategoryTheory.Filtered.Basic import Mathlib.CategoryTheory.Limits.HasLimits import Mathlib.CategoryTheory.Limits.Types.Yoneda /-! # Filtered categories...
Cycle.lean
/- Copyright (c) 2021 Yakov Pechersky. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Yakov Pechersky -/ import Mathlib.Data.Fintype.List import Mathlib.Data.Fintype.OfMap /-! # Cycles of a list Lists have an equivalence relation of whether they are rotational permut...
HomCompletion.lean
/- Copyright (c) 2021 Patrick Massot. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Patrick Massot -/ import Mathlib.Analysis.Normed.Group.Hom import Mathlib.Analysis.Normed.Group.Completion /-! # Completion of normed group homs Given two (semi) normed groups `G` an...
apply_fun.lean
import Mathlib.Data.Nat.Notation import Mathlib.Tactic.Basic import Mathlib.Tactic.ApplyFun import Mathlib.Logic.Function.Defs import Mathlib.Data.Matrix.ConjTranspose private axiom test_sorry : ∀ {α}, α set_option autoImplicit true set_option linter.unusedVariables false open Function example (f : ℕ → ℕ) (h : f x ...
Imo1962Q4.lean
/- Copyright (c) 2020 Kevin Lacker. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Kevin Lacker, Heather Macbeth -/ import Mathlib.Analysis.SpecialFunctions.Trigonometric.Complex import Mathlib.Tactic.Polyrith /-! # IMO 1962 Q4 Solve the equation `cos x ^ 2 + cos (2 ...
StrongDual.lean
/- Copyright (c) 2020 Heather Macbeth. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Heather Macbeth -/ import Mathlib.Topology.Algebra.Module.LinearMap import Mathlib.Analysis.LocallyConvex.Polar /-! # The topological strong dual of a module ## Main definitions - ...
Preadditive.lean
/- Copyright (c) 2020 Markus Himmel. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Markus Himmel -/ import Mathlib.Algebra.Category.Grp.Basic import Mathlib.CategoryTheory.Preadditive.Basic /-! # The category of additive commutative groups is preadditive. -/ assert_...
Support.lean
/- Copyright (c) 2022 Yaël Dillies. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Yaël Dillies -/ import Mathlib.Algebra.Group.Action.Basic import Mathlib.Algebra.Group.Pointwise.Set.Scalar /-! # Support of an element under an action action Given an action of a grou...
PrimeIdeal.lean
/- Copyright (c) 2021 Noam Atar. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Noam Atar -/ import Mathlib.Order.Ideal import Mathlib.Order.PFilter /-! # Prime ideals ## Main definitions Throughout this file, `P` is at least a preorder, but some sections require mo...
MkIffOfInductiveProp.lean
/- Copyright (c) 2018 Johannes Hölzl. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Johannes Hölzl, David Renshaw -/ import Lean.Elab.DeclarationRange import Lean.Meta.Tactic.Cases import Mathlib.Lean.Meta import Mathlib.Lean.Name import Mathlib.Tactic.TypeStar /-! #...
Basic.lean
/- Copyright (c) 2020 Kenji Nakagawa. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Kenji Nakagawa, Anne Baanen, Filippo A. E. Nuccio -/ import Mathlib.Algebra.Algebra.Subalgebra.Pointwise import Mathlib.RingTheory.DedekindDomain.Basic import Mathlib.RingTheory.Fracti...
SimplexAlgorithm.lean
/- Copyright (c) 2024 Vasily Nesterov. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Vasily Nesterov -/ import Mathlib.Tactic.Linarith.Oracle.SimplexAlgorithm.Datatypes /-! # Simplex Algorithm To obtain required vector in `Linarith.SimplexAlgorithm.findPositiveVecto...
Convolution.lean
/- Copyright (c) 2024 Michael Stoll. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Michael Stoll -/ import Mathlib.Analysis.InnerProductSpace.Basic import Mathlib.Analysis.Normed.Ring.InfiniteSum import Mathlib.NumberTheory.ArithmeticFunction import Mathlib.NumberTheo...
EffectiveEpi.lean
/- Copyright (c) 2023 Jon Eugster. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Dagur Asgeirsson, Boris Bolvig Kjær, Jon Eugster, Sina Hazratpour -/ import Mathlib.CategoryTheory.Sites.Coherent.ReflectsPreregular import Mathlib.Topology.Category.CompHaus.EffectiveEpi...
Exponential.lean
/- Copyright (c) 2023 Claus Clausen. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Claus Clausen, Patrick Massot -/ import Mathlib.Probability.Notation import Mathlib.Probability.CDF import Mathlib.Probability.Distributions.Gamma /-! # Exponential distributions over ...
RefinedDiscrTree.lean
/- Copyright (c) 2024 Jovan Gerbscheid. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Jovan Gerbscheid -/ import Mathlib.Lean.Meta.RefinedDiscrTree.Lookup import Mathlib.Lean.Meta.RefinedDiscrTree.Initialize /-! A discrimination tree for the purpose of unifying local...
GaussLemma.lean
/- Copyright (c) 2020 Aaron Anderson. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Aaron Anderson -/ import Mathlib.FieldTheory.SplittingField.Construction import Mathlib.RingTheory.Localization.Integral import Mathlib.RingTheory.IntegralClosure.IntegrallyClosed impo...
sylow.v
(* (c) Copyright 2006-2016 Microsoft Corporation and Inria. *) (* Distributed under the terms of CeCILL-B. *) From mathcomp Require Import ssreflect ssrbool ssrfun eqtype ssrnat seq div. From mathcomp Require Import fintype prime bigop finset fingroup morphism. From mat...
presentation.v
(* (c) Copyright 2006-2016 Microsoft Corporation and Inria. *) (* Distributed under the terms of CeCILL-B. *) From mathcomp Require Import ssreflect ssrbool ssrfun eqtype ssrnat seq. From mathcomp Require Import fintype finset fingroup morphism. (**********************...
extremal.v
(* (c) Copyright 2006-2016 Microsoft Corporation and Inria. *) (* Distributed under the terms of CeCILL-B. *) From HB Require Import structures. From mathcomp Require Import ssreflect ssrbool ssrfun eqtype ssrnat seq div. From mathcomp Require Import choice fintype bigo...
numfield.v
(* (c) Copyright 2006-2016 Microsoft Corporation and Inria. *) (* Distributed under the terms of CeCILL-B. *) From HB Require Import structures. From mathcomp Require Import ssreflect ssrfun ssrbool eqtype ssrnat seq choice. From mathcomp Require Import ssrAC div fintyp...
PresentedGroup.lean
/- Copyright (c) 2019 Michael Howes. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Michael Howes, Newell Jensen -/ import Mathlib.Algebra.Group.Subgroup.Basic import Mathlib.GroupTheory.FreeGroup.Basic import Mathlib.GroupTheory.QuotientGroup.Defs /-! # Defining a gr...
Basic.lean
/- Copyright (c) 2021 Jakob von Raumer. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Jakob von Raumer -/ import Mathlib.Tactic.CategoryTheory.Monoidal.Basic import Mathlib.CategoryTheory.Closed.Monoidal import Mathlib.Tactic.ApplyFun /-! # Rigid (autonomous) monoida...
LibraryRewrite.lean
import Mathlib.Tactic.Widget.LibraryRewrite import Mathlib.Algebra.Group.Nat.Defs import Mathlib.Data.Subtype import Batteries.Data.Nat.Gcd -- set_option trace.profiler true -- set_option trace.rw?? true variable (n : Nat) (p q : Prop) /-- info: Pattern ∀ (p : P), P → Q p · p → q forall_self_imp Pattern a → b → c...
spectral.v
From HB Require Import structures. From mathcomp Require Import ssreflect ssrfun ssrbool eqtype choice ssrnat. From mathcomp Require Import seq div fintype bigop ssralg finset fingroup zmodp. From mathcomp Require Import poly polydiv order ssrnum matrix mxalgebra vector. From mathcomp Require Import mxpoly mxred sesqui...
PNat.lean
/- Copyright (c) 2023 Mario Carneiro. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Mario Carneiro -/ import Mathlib.Tactic.Ring.Basic import Mathlib.Data.PNat.Basic /-! # Additional instances for `ring` over `PNat` This adds some instances which enable `ring` to wo...
CardCommute.lean
/- Copyright (c) 2018 Chris Hughes. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Chris Hughes, Thomas Browning -/ import Mathlib.Algebra.Group.ConjFinite import Mathlib.GroupTheory.Coset.Card import Mathlib.GroupTheory.GroupAction.Quotient /-! # Properties of group ...
Preadditive.lean
/- Copyright (c) 2023 Joël Riou. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Joël Riou -/ import Mathlib.Algebra.Homology.ShortComplex.Homology import Mathlib.CategoryTheory.Preadditive.AdditiveFunctor import Mathlib.CategoryTheory.Preadditive.Opposite /-! # Homolo...
IntegrallyClosed.lean
/- Copyright (c) 2022 Andrew Yang. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Andrew Yang -/ import Mathlib.Algebra.GCDMonoid.Basic import Mathlib.RingTheory.IntegralClosure.IntegrallyClosed import Mathlib.RingTheory.Polynomial.Eisenstein.Basic /-! # GCD domains ...
Basic.lean
/- Copyright (c) 2021 Kim Morrison. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Johan Commelin, Kim Morrison, Adam Topaz -/ import Mathlib.AlgebraicTopology.SimplexCategory.Basic import Mathlib.CategoryTheory.Adjunction.Reflective import Mathlib.CategoryTheory.Comma...
FermatPsp.lean
/- Copyright (c) 2022 Niels Voss. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Niels Voss -/ import Mathlib.Algebra.Order.Archimedean.Basic import Mathlib.FieldTheory.Finite.Basic import Mathlib.Order.Filter.Cofinite import Mathlib.Tactic.GCongr /-! # Fermat Pseudop...
Set.lean
/- Copyright (c) 2020 Zhouhang Zhou. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Zhouhang Zhou, Yury Kudryashov -/ import Mathlib.Combinatorics.Enumerative.InclusionExclusion import Mathlib.MeasureTheory.Function.LocallyIntegrable import Mathlib.MeasureTheory.Integr...
output.v
From mathcomp Require Import all_boot all_order all_algebra all_field all_character all_fingroup all_solvable. Open Scope group_scope. Check @cyclic_pgroup_Aut_structure.
output.v
From mathcomp Require Import all_boot all_order all_algebra all_field all_character all_fingroup all_solvable. Open Scope group_scope. Check @cyclic_pgroup_Aut_structure.
FiveLemma.lean
/- Copyright (c) 2025 Christian Merten. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Christian Merten -/ import Mathlib.Algebra.Exact /-! # The five lemma in terms of modules The five lemma for all abelian categories is proven in `CategoryTheory.Abelian.isIso_of_ep...
WithinZpow.lean
/- Copyright (c) 2025 Chris Birkbeck. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Chris Birkbeck -/ import Mathlib.Analysis.Calculus.IteratedDeriv.Defs import Mathlib.Analysis.Calculus.Deriv.ZPow /-! # Derivatives of `x ^ m`, `m : ℤ` within an open set In this fil...
choice.v
(* (c) Copyright 2006-2016 Microsoft Corporation and Inria. *) (* Distributed under the terms of CeCILL-B. *) From HB Require Import structures. From mathcomp Require Import ssreflect ssrfun ssrbool eqtype ssrnat seq. (**************************************************...
Over.lean
/- Copyright (c) 2020 Anne Baanen. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Anne Baanen, Yongle Hu -/ import Mathlib.Algebra.Algebra.Tower import Mathlib.Algebra.Group.Subgroup.Actions import Mathlib.RingTheory.Ideal.Pointwise import Mathlib.RingTheory.Ideal.Quot...
HurwitzZeta.lean
/- Copyright (c) 2024 David Loeffler. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: David Loeffler -/ import Mathlib.NumberTheory.LSeries.HurwitzZetaEven import Mathlib.NumberTheory.LSeries.HurwitzZetaOdd import Mathlib.Analysis.SpecialFunctions.Gamma.Beta /-! # The...
Parsing.lean
/- Copyright (c) 2020 Robert Y. Lewis. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Robert Y. Lewis -/ import Mathlib.Tactic.Linarith.Datatypes /-! # Parsing input expressions into linear form `linarith` computes the linear form of its input expressions, assuming (...
ssrmatching.v
From Corelib Require Export ssrmatching.
VectorSpace.lean
/- Copyright (c) 2017 Johannes Hölzl. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Johannes Hölzl, Mario Carneiro, Alexander Bentkamp -/ import Mathlib.LinearAlgebra.FreeModule.Basic import Mathlib.LinearAlgebra.LinearIndependent.Lemmas import Mathlib.LinearAlgebra.L...
Multiset.lean
/- Copyright (c) 2019 Chris Hughes. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Chris Hughes, Bhavik Mehta, Eric Wieser -/ import Mathlib.Algebra.BigOperators.Group.Multiset.Basic import Mathlib.Algebra.BigOperators.Ring.List import Mathlib.Data.Multiset.Antidiagona...
SecondCountableSpace.lean
/- Copyright (c) 2024 Yury Kudryashov. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Yury Kudryashov -/ import Mathlib.Topology.CompactOpen /-! # Second countable topology on `C(X, Y)` In this file we prove that `C(X, Y)` with compact-open topology has second counta...
mxrepresentation.v
(* (c) Copyright 2006-2016 Microsoft Corporation and Inria. *) (* Distributed under the terms of CeCILL-B. *) From HB Require Import structures. From mathcomp Require Import ssreflect ssrbool ssrfun eqtype ssrnat seq path. From mathcomp Require Import div choice fintype...
primitive_action.v
(* (c) Copyright 2006-2016 Microsoft Corporation and Inria. *) (* Distributed under the terms of CeCILL-B. *) From mathcomp Require Import ssreflect ssrbool ssrfun eqtype ssrnat. From mathcomp Require Import div seq fintype tuple finset. From mathcomp Require Import fin...
AddCircle.lean
/- Copyright (c) 2022 Oliver Nash. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Oliver Nash -/ import Mathlib.MeasureTheory.Integral.IntervalIntegral.Periodic import Mathlib.Data.ZMod.QuotientGroup import Mathlib.MeasureTheory.Group.AEStabilizer /-! # Measure-theore...
AdmissibleAbsoluteValue.lean
/- Copyright (c) 2021 Anne Baanen. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Anne Baanen -/ import Mathlib.Data.Real.Basic import Mathlib.Combinatorics.Pigeonhole import Mathlib.Algebra.Order.AbsoluteValue.Euclidean /-! # Admissible absolute values This file defi...
Rolle.lean
/- Copyright (c) 2019 Yury Kudryashov. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Yury Kudryashov -/ import Mathlib.Topology.Order.ExtendFrom import Mathlib.Topology.Order.Compact import Mathlib.Topology.Order.LocalExtr import Mathlib.Topology.Order.T5 /-! # Rolle...
Basic.lean
/- Copyright (c) 2020 Yury Kudryashov. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Yury Kudryashov -/ import Mathlib.Algebra.Group.Submonoid.BigOperators import Mathlib.Algebra.Ring.Action.Subobjects import Mathlib.Algebra.Ring.Equiv import Mathlib.Algebra.Ring.Prod...
StupidTrunc.lean
/- Copyright (c) 2024 Joël Riou. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Joël Riou -/ import Mathlib.Algebra.Homology.Embedding.Extend import Mathlib.Algebra.Homology.Embedding.IsSupported import Mathlib.Algebra.Homology.Embedding.Restriction /-! # The stupid ...
RiemannLebesgueLemma.lean
/- Copyright (c) 2022 David Loeffler. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: David Loeffler -/ import Mathlib.Analysis.Fourier.FourierTransform import Mathlib.Analysis.InnerProductSpace.Dual import Mathlib.Analysis.InnerProductSpace.EuclideanDist import Mathlib...
globalAttributeIn.lean
/- Copyright (c) 2024 Michael Rothgang. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Michael Rothgang, Damiano Testa -/ import Mathlib.Tactic.Linter.GlobalAttributeIn /-! Tests for the `globalAttributeIn` linter. -/ -- Test disabling the linter. set_option linter....
PointwisePi.lean
/- Copyright (c) 2021 Alex J. Best. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Alex J. Best -/ import Mathlib.Algebra.GroupWithZero.Units.Basic import Mathlib.Algebra.Group.Action.Basic import Mathlib.Algebra.Group.Pointwise.Set.Scalar /-! # Pointwise actions on s...
Visible.lean
/- Copyright (c) 2024 Yaël Dillies. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Yaël Dillies -/ import Mathlib.Algebra.BigOperators.Field import Mathlib.Algebra.Group.Pointwise.Set.Card import Mathlib.Analysis.Convex.Between import Mathlib.Analysis.Convex.Combinatio...
AnnihilatingPolynomial.lean
/- Copyright (c) 2022 Justin Thomas. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Justin Thomas -/ import Mathlib.FieldTheory.Minpoly.Field import Mathlib.RingTheory.PrincipalIdealDomain import Mathlib.Algebra.Polynomial.Module.AEval /-! # Annihilating Ideal Given ...
qpoly.v
From HB Require Import structures. From mathcomp Require Import ssreflect ssrfun ssrbool eqtype ssrnat seq choice. From mathcomp Require Import fintype tuple bigop binomial finset finfun ssralg. From mathcomp Require Import countalg finalg poly polydiv perm fingroup matrix. From mathcomp Require Import mxalgebra mxpoly...
HaveLetLinter.lean
import Mathlib.Tactic.Linter.HaveLetLinter import Mathlib.Tactic.Tauto -- #adaptation_note -- The haveLet linter started failing after https://github.com/leanprover/lean4/pull/6299 -- Disabling aync elaboration fixes it, but of course we're not going to do that globally. set_option Elab.async false set_option linter...
BasedCategory.lean
/- Copyright (c) 2024 Calle Sönne. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Paul Lezeau, Calle Sönne -/ import Mathlib.CategoryTheory.FiberedCategory.HomLift import Mathlib.CategoryTheory.Bicategory.Strict import Mathlib.CategoryTheory.Functor.Category import Ma...
Lemmas.lean
/- Copyright (c) 2021 Eric Wieser. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Eric Wieser -/ import Mathlib.Algebra.Order.GroupWithZero.Unbundled.OrderIso import Mathlib.Tactic.Linter.DeprecatedModule deprecated_module (since := "2025-04-13")
DegreewiseSplit.lean
/- Copyright (c) 2023 Joël Riou. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Joël Riou -/ import Mathlib.Algebra.Homology.HomotopyCategory.Pretriangulated /-! # Degreewise split exact sequences of cochain complexes The main result of this file is the lemma `Homoto...
algC.v
(* (c) Copyright 2006-2016 Microsoft Corporation and Inria. *) (* Distributed under the terms of CeCILL-B. *) From HB Require Import structures. From mathcomp Require Import ssreflect ssrbool ssrfun ssrnat eqtype seq choice. From mathcomp Require Import div fintype path...
Basis.lean
/- Copyright (c) 2024 Eric Wieser. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Eric Wieser -/ import Mathlib.Algebra.BigOperators.Sym import Mathlib.Data.Finsupp.Pointwise import Mathlib.Data.Sym.Sym2.Finsupp import Mathlib.LinearAlgebra.QuadraticForm.Basic /-! # C...
Basic.lean
/- Copyright (c) 2022 Jakob von Raumer. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Jakob von Raumer -/ import Mathlib.CategoryTheory.Abelian.Exact import Mathlib.CategoryTheory.Preadditive.Yoneda.Projective import Mathlib.CategoryTheory.Preadditive.Yoneda.Limits im...
Aut.lean
/- Copyright (c) 2018 Johannes Hölzl. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Johannes Hölzl, Callum Sutton, Yury Kudryashov -/ import Mathlib.Algebra.Group.End import Mathlib.Algebra.Ring.Equiv /-! # Ring automorphisms This file defines the automorphism group...
OfStabilizer.lean
/- Copyright (c) 2025 Antoine Chambert-Loir. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Antoine Chambert-Loir -/ import Mathlib.GroupTheory.GroupAction.Basic import Mathlib.GroupTheory.GroupAction.Embedding import Mathlib.GroupTheory.GroupAction.SubMulAction impor...
FG.lean
/- Copyright (c) 2019 Kenny Lau. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Kenny Lau -/ import Mathlib.Algebra.EuclideanDomain.Int import Mathlib.Algebra.MvPolynomial.Eval import Mathlib.RingTheory.Adjoin.Basic import Mathlib.RingTheory.Polynomial.Basic import Mat...
Grothendieck.lean
/- Copyright (c) 2024 Jakob von Raumer. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Jakob von Raumer -/ import Mathlib.CategoryTheory.Grothendieck import Mathlib.CategoryTheory.Limits.HasLimits /-! # (Co)limits on the (strict) Grothendieck Construction * Shows tha...
Subspace.lean
/- Copyright (c) 2019 Zhouhang Zhou. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Zhouhang Zhou, Sébastien Gouëzel, Frédéric Dupuis -/ import Mathlib.Analysis.InnerProductSpace.Orthonormal /-! # Subspaces of inner product spaces This file defines the inner-product ...
WithZero.lean
/- Copyright (c) 2020 Mario Carneiro, Johan Commelin. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Mario Carneiro, Johan Commelin -/ import Mathlib.Algebra.GroupWithZero.WithZero import Mathlib.Algebra.Ring.Defs /-! # Adjoining a zero to a semiring -/ namespace Wit...
TensorProduct.lean
/- Copyright (c) 2024 Andrew Yang. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Andrew Yang -/ import Mathlib.RingTheory.Kaehler.Basic import Mathlib.RingTheory.Localization.BaseChange /-! # Kaehler differential module under base change ## Main results - `KaehlerDi...
Basic.lean
/- Copyright (c) 2020 Joseph Myers. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Joseph Myers -/ import Mathlib.Data.Finset.Sort import Mathlib.LinearAlgebra.AffineSpace.Independent import Mathlib.LinearAlgebra.AffineSpace.Restrict /-! # Simplex in affine space Thi...
all_solvable.v
From mathcomp Require Export abelian. From mathcomp Require Export alt. From mathcomp Require Export burnside_app. From mathcomp Require Export center. From mathcomp Require Export commutator. From mathcomp Require Export cyclic. From mathcomp Require Export extraspecial. From mathcomp Require Export extremal. From mat...
Prod.lean
/- Copyright (c) 2020 Floris van Doorn. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Floris van Doorn -/ import Mathlib.MeasureTheory.Integral.DominatedConvergence import Mathlib.MeasureTheory.Integral.Bochner.Set import Mathlib.MeasureTheory.Measure.Prod /-! # Inte...
Hom.lean
/- Copyright (c) 2018 Kenny Lau. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Kenny Lau, Yury Kudryashov -/ import Mathlib.Algebra.Algebra.Basic /-! # Homomorphisms of `R`-algebras This file defines bundled homomorphisms of `R`-algebras. ## Main definitions * `Al...
ProdLp.lean
/- Copyright (c) 2023 Moritz Doll. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Moritz Doll, Sébastien Gouëzel, Jireh Loreaux -/ import Mathlib.Analysis.MeanInequalities import Mathlib.Analysis.Normed.Lp.WithLp /-! # `L^p` distance on products of two metric spaces G...
FilteredColimits.lean
/- Copyright (c) 2021 Justus Springer. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Justus Springer -/ import Mathlib.Algebra.Category.Grp.Basic import Mathlib.Algebra.Category.MonCat.FilteredColimits /-! # The forgetful functor from (commutative) (additive) groups ...
FundThmCalculus.lean
/- Copyright (c) 2020 Yury Kudryashov. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Yury Kudryashov, Patrick Massot, Sébastien Gouëzel -/ import Mathlib.MeasureTheory.Integral.IntervalIntegral.FundThmCalculus deprecated_module (since := "2025-04-06")
Card.lean
/- Copyright (c) 2023 Peter Nelson. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Peter Nelson -/ import Mathlib.SetTheory.Cardinal.Finite import Mathlib.Data.Set.Finite.Powerset /-! # Noncomputable Set Cardinality We define the cardinality of set `s` as a term `Set...
Hom.lean
/- Copyright (c) 2022 Yaël Dillies. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Yaël Dillies -/ import Mathlib.Topology.Bornology.Basic /-! # Locally bounded maps This file defines locally bounded maps between bornologies. We use the `DFunLike` design, so each ty...
pgroup.v
(* (c) Copyright 2006-2016 Microsoft Corporation and Inria. *) (* Distributed under the terms of CeCILL-B. *) From mathcomp Require Import ssreflect ssrbool ssrfun eqtype ssrnat seq div. From mathcomp Require Import fintype bigop finset prime fingroup morphism. From mat...