filename
stringlengths
5
42
content
stringlengths
15
319k
binomial.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 path. From mathcomp Require Import div fintype tuple ...
Radical.lean
/- Copyright (c) 2022 Jujian Zhang. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Jujian Zhang, Eric Wieser -/ import Mathlib.RingTheory.GradedAlgebra.Homogeneous.Ideal /-! This file contains a proof that the radical of any homogeneous ideal is a homogeneous ideal ...
all_boot.v
Require Export ssreflect. Require Export ssrbool. Require Export ssrfun. Require Export eqtype. Require Export ssrnat. Require Export seq. Require Export choice. Require Export monoid. Require Export nmodule. Require Export path. Require Export div. Require Export fintype. Require Export fingraph. Require Export tuple....
abelian.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 path. From mathcomp Require Import choice div fintype finfun bigop finset prime. From ma...
TotallySeparated.lean
/- Copyright (c) 2024 Yakov Pechersky. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Yakov Pechersky, David Loeffler -/ import Mathlib.Topology.Connected.TotallyDisconnected import Mathlib.Topology.MetricSpace.Defs import Mathlib.Topology.MetricSpace.Ultra.Basic /-! ...
PoissonSummation.lean
/- Copyright (c) 2023 David Loeffler. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: David Loeffler -/ import Mathlib.Analysis.Fourier.AddCircle import Mathlib.Analysis.Fourier.FourierTransform import Mathlib.Analysis.PSeries import Mathlib.Analysis.Distribution.Fourie...
Perfect.lean
/- Copyright (c) 2023 Oliver Nash. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Oliver Nash -/ import Mathlib.Algebra.CharP.Basic import Mathlib.Algebra.CharP.Reduced import Mathlib.FieldTheory.KummerPolynomial import Mathlib.FieldTheory.Separable /-! # Perfect fie...
ssrmatching.v
From Corelib Require Export ssrmatching.
Basic.lean
/- Copyright (c) 2020 Johan Commelin. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Johan Commelin -/ import Mathlib.Order.Disjoint import Mathlib.Order.RelIso.Basic import Mathlib.Tactic.Monotonicity.Attr /-! # Order homomorphisms This file defines order homomorphi...
Abs.lean
/- Copyright (c) 2016 Jeremy Avigad. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Jeremy Avigad, Leonardo de Moura, Mario Carneiro -/ import Mathlib.Algebra.Order.Group.Abs import Mathlib.Algebra.Order.Ring.Basic import Mathlib.Algebra.Order.Ring.Int import Mathlib.A...
Colimit.lean
/- Copyright (c) 2025 Mario Carneiro and Emily Riehl. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Mario Carneiro, Emily Riehl -/ import Mathlib.AlgebraicTopology.SimplicialSet.NerveAdjunction import Mathlib.CategoryTheory.Monad.Limits /-! # The category of small c...
Affine.lean
/- Copyright (c) 2025 Eric Wieser. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Eric Wieser -/ import Mathlib.Analysis.InnerProductSpace.Basic import Mathlib.Analysis.Normed.Group.AddTorsor /-! # Normed affine spaces over an inner product space -/ variable {𝕜 V P :...
div.v
(* (c) Copyright 2006-2016 Microsoft Corporation and Inria. *) (* Distributed under the terms of CeCILL-B. *) From mathcomp Require Import ssreflect ssrfun ssrbool eqtype ssrnat seq. (******************************************************************************) (* Th...
Algebra.lean
/- Copyright (c) 2022 Joseph Hua. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Kim Morrison, Bhavik Mehta, Johan Commelin, Reid Barton, Robert Y. Lewis, Joseph Hua -/ import Mathlib.CategoryTheory.Limits.Shapes.IsTerminal import Mathlib.CategoryTheory.Functor.EpiMono...
interval_inference.v
(* mathcomp analysis (c) 2017 Inria and AIST. License: CeCILL-C. *) From HB Require Import structures. From mathcomp Require Import ssreflect ssrfun ssrbool ssrnat eqtype choice. From mathcomp Require Import order ssralg ssrnum ssrint interval. (**md********************************************************...
all.v
From mathcomp Require Export all_boot. From mathcomp Require Export all_order. From mathcomp Require Export all_fingroup. From mathcomp Require Export all_algebra. From mathcomp Require Export all_solvable. From mathcomp Require Export all_field. From mathcomp Require Export all_character.
Final.lean
/- Copyright (c) 2025 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.Functor.KanExtension.Adjunction import Mathlib.CategoryTheory.Limits.Final /-! # Finality on Costructured Arrow categories ## Refe...
CoeffMulMem.lean
/- Copyright (c) 2025 Jz Pan. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Jz Pan -/ import Mathlib.RingTheory.Ideal.Operations import Mathlib.RingTheory.Ideal.BigOperators import Mathlib.RingTheory.PowerSeries.Basic /-! # Some results on the coefficients of multip...
Tactic.lean
import Mathlib.Tactic.Abel import Mathlib.Tactic.AdaptationNote import Mathlib.Tactic.Algebraize import Mathlib.Tactic.ApplyAt import Mathlib.Tactic.ApplyCongr import Mathlib.Tactic.ApplyFun import Mathlib.Tactic.ApplyWith import Mathlib.Tactic.ArithMult import Mathlib.Tactic.ArithMult.Init import Mathlib.Tactic.Attr.C...
Defs.lean
/- Copyright (c) 2020 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.Geometry.Manifold.IsManifold.ExtChartAt import Mathlib.Geometry.Manifold.LocalInvariantProperties /-! # `C^n` functions betwee...
SobolevInequality.lean
/- Copyright (c) 2024 Floris van Doorn. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Floris van Doorn, Heather Macbeth -/ import Mathlib.Analysis.Calculus.Deriv.Pi import Mathlib.Analysis.InnerProductSpace.EuclideanDist import Mathlib.Analysis.InnerProductSpace.NormP...
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...
Adjoin.lean
/- Copyright (c) 2021 Chris Hughes. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Chris Hughes -/ import Mathlib.FieldTheory.IntermediateField.Adjoin.Algebra import Mathlib.RingTheory.AlgebraicIndependent.Defs /-! # Algebraic Independence This file concerns adjoinin...
hall.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 choice. From mathcomp Require Import fintype finset prime fingroup morphism. From ma...
WithZero.lean
/- Copyright (c) 2024 María Inés de Frutos-Fernández, Filippo A. E. Nuccio. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: María Inés de Frutos-Fernández, Filippo A. E. Nuccio -/ import Mathlib.Data.NNReal.Defs /-! # WithZero In this file we provide some basic API le...
Colimits.lean
/- Copyright (c) 2019 Kim Morrison. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Kim Morrison, Joël Riou -/ import Mathlib.Algebra.Category.ModuleCat.Basic import Mathlib.CategoryTheory.ConcreteCategory.Elementwise import Mathlib.Algebra.Category.Grp.Colimits /-! # ...
PSub.lean
/- Copyright (c) 2017 Mario Carneiro. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Mario Carneiro -/ import Mathlib.Algebra.Group.Basic import Mathlib.Algebra.Group.Nat.Defs import Mathlib.Data.Nat.Basic /-! # Partial predecessor and partial subtraction on the natur...
Preadditive.lean
/- Copyright (c) 2025 Joël Riou. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Joël Riou -/ import Mathlib.CategoryTheory.Localization.Predicate import Mathlib.CategoryTheory.Preadditive.FunctorCategory /-! # Localization of natural transformations to preadditive cat...
Lemmas.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.NumberTheory.MulChar.Basic import Mathlib.RingTheory.RootsOfUnity.Complex /-! # Further Results on multiplicative characters -/ namespace MulChar /-- ...
Imo1997Q3.lean
/- Copyright (c) 2025 Jeremy Tan. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Jeremy Tan -/ import Mathlib.Algebra.BigOperators.Ring.Finset import Mathlib.Algebra.Group.Submonoid.Membership import Mathlib.Data.Real.Basic import Mathlib.Data.Sign.Defs import Mathlib....
Real.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 -/ import Mathlib.Data.EReal.Operations import Mathlib.Topology.Algebra.Order.Field import Mathlib.Topology.Algebra.IsUniformGroup.Defs import Mathlib.To...
ConditionallyCompleteOrder.lean
/- Copyright (c) 2021 Floris van Doorn. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Floris van Doorn -/ import Mathlib.Order.ConditionallyCompleteLattice.Basic import Mathlib.Data.Int.LeastGreatest /-! ## `ℤ` forms a conditionally complete linear order The integer...
Basic.lean
/- Copyright (c) 2021 Yury Kudryashov. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Yury Kudryashov -/ import Mathlib.Data.NNReal.Basic import Mathlib.Order.Fin.Tuple import Mathlib.Order.Interval.Set.Monotone import Mathlib.Topology.MetricSpace.Basic import Mathlib....
FiniteDimensional.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.FieldTheory.Finiteness import Mathlib.LinearAlgebra.AffineSpace.Basis import Mathlib.LinearAlgebra.AffineSpace.Simplex.Basic import Mathlib.LinearAlgebra.F...
Basic.lean
/- Copyright (c) 2022 Adam Topaz. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Adam Topaz -/ import Mathlib.LinearAlgebra.Dimension.FreeAndStrongRankCondition import Mathlib.LinearAlgebra.FiniteDimensional.Basic /-! # Projective Spaces This file contains the defin...
AEMeasurableSequence.lean
/- Copyright (c) 2021 Rémy Degenne. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Rémy Degenne -/ import Mathlib.MeasureTheory.MeasurableSpace.Basic import Mathlib.MeasureTheory.Measure.MeasureSpaceDef /-! # Sequence of measurable functions associated to a sequence o...
test_regular_conv.v
From mathcomp Require Import all_boot all_order all_algebra all_field. Section regular. Import GRing. Goal forall R : ringType, [the lalgType R of R^o] = R :> ringType. Proof. by move=> [? []]. Qed. Goal forall R : comRingType, [the algType R of R^o] = R :> ringType. Proof. by move=> [? []]. Qed. Goal forall R : c...
CanonicallyOrderedCommSemiringTwoMul.lean
/- Copyright (c) 2021 Damiano Testa. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Damiano Testa -/ import Mathlib.Algebra.Ring.Subsemiring.Order import Mathlib.Data.ZMod.Basic /-! A canonically ordered commutative semiring with two different elements `a` and `b` su...
nmodule.v
From HB Require Import structures. From mathcomp Require Import ssreflect ssrfun ssrbool eqtype choice ssrnat seq. From mathcomp Require Import bigop fintype finfun monoid. (******************************************************************************) (* Additive group-like structures ...
Normalized.lean
/- Copyright (c) 2022 Joël Riou. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Joël Riou -/ import Mathlib.AlgebraicTopology.DoldKan.FunctorN /-! # Comparison with the normalized Moore complex functor In this file, we show that when the category `A` is abelian, the...
Basic.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.Order.Monoid.Canonical.Defs import Mathlib.Data.Finset.Lattice.Fold /-! # Extra lemmas about canonically ordered monoids -/ namespace Finset vari...
Basic.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.CategoryTheory.Adjunction.Limits import Mathlib.CategoryTheory.Limits.Preserves.Ulift import Mathlib.CategoryTheory.Presentable.IsCardinalFiltered import Mathlib...
Identities.lean
/- Copyright (c) 2024 Chris Birkbeck. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Chris Birkbeck -/ import Mathlib.NumberTheory.ModularForms.SlashInvariantForms import Mathlib.NumberTheory.ModularForms.CongruenceSubgroups /-! # Identities of ModularForms and Slash...
PInfty.lean
/- Copyright (c) 2022 Joël Riou. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Joël Riou -/ import Mathlib.AlgebraicTopology.DoldKan.Projections import Mathlib.CategoryTheory.Idempotents.FunctorCategories import Mathlib.CategoryTheory.Idempotents.FunctorExtension /-!...
all_algebra.v
(* N.B. interval_inference is not exported here. To enjoys the automation it provides, you need to explictly "Import interval_inference". *) From mathcomp Require Export ssralg. From mathcomp Require Export ssrnum. From mathcomp Require Export finalg. From mathcomp Require Export countalg. From mathcomp Require Export...
CountableSeparatingOn.lean
/- Copyright (c) 2023 Yury Kudryashov. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Yury Kudryashov -/ import Mathlib.Order.Filter.CountableSeparatingOn import Mathlib.Topology.Separation.Basic /-! # Countable separating families of sets in topological spaces In th...
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.Injective.Basic import Mathlib.CategoryTheory.Preadditive.Yoneda.Limits impo...
Tautological.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.Module.Presentation.Basic /-! # The tautological presentation of a module Given an `A`-module `M`, we provide its tautological presentation: * there i...
Opposites.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.Limits.Opposites import Mathlib.CategoryTheory.Limits.Preserves.Finite /-! # Limit preservation properties of `Functor.op` and related co...
itauto.lean
/- Copyright (c) 2021 Mario Carneiro. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Mario Carneiro -/ import Mathlib.Tactic.ITauto section ITauto₀ variable (p q r : Prop) variable (h : p ∧ q ∨ p ∧ r) example : p ∧ p := by itauto end ITauto₀ section ITauto₃ exampl...
fingroup.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 choice. From mathcomp Require Import fintype div path...
Independent.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.Fin.VecNotation import Mathlib.Data.Sign.Basic import Mathlib.LinearAlgebra.AffineSpace.Combination import Mathlib.LinearAlgebra.AffineSpace.AffineEqu...
Grading.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.LinearAlgebra.ExteriorAlgebra.Basic import Mathlib.RingTheory.GradedAlgebra.Basic /-! # Results about the grading structure of the exterior algebra Many of...
Functor.lean
/- Copyright (c) 2021 Johan Commelin. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Johan Commelin -/ import Mathlib.Algebra.Homology.HomologicalComplex /-! # Complexes in functor categories We can view a complex valued in a functor category `T ⥤ V` as a functor fro...
CharacteristicFunction.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.Analysis.Complex.ValueDistribution.CountingFunction import Mathlib.Analysis.Complex.ValueDistribution.ProximityFunction /-! # The Characteristic Funct...
Basic.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, Patrick Massot -/ import Mathlib.Topology.Order /-! # Specific classes of maps between topological spaces This file introduces the following propertie...
Short.lean
/- Copyright (c) 2019 Kim Morrison. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Kim Morrison -/ import Mathlib.Data.Fintype.Basic import Mathlib.SetTheory.Cardinal.Regular import Mathlib.SetTheory.Game.Birthday import Mathlib.Tactic.Linter.DeprecatedModule depreca...
CompleteLattice.lean
/- Copyright (c) 2021 Yury G. Kudryashov. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Yury G. Kudryashov -/ import Mathlib.Algebra.Order.Group.OrderIso import Mathlib.Order.ConditionallyCompleteLattice.Indexed /-! # Distributivity of group operations over supremum/...
FiveWheelLike.lean
/- Copyright (c) 2024 John Talbot and Lian Bremner Tattersall. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: John Talbot, Lian Bremner Tattersall -/ import Mathlib.Combinatorics.SimpleGraph.CompleteMultipartite /-! # Five-wheel like graphs This file defines an `IsFiv...
Commensurable.lean
/- Copyright (c) 2021 Chris Birkbeck. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Chris Birkbeck -/ import Mathlib.GroupTheory.Index /-! # Commensurability for subgroups Two subgroups `H` and `K` of a group `G` are commensurable if `H ∩ K` has finite index in both...
Basic.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.AlgebraicTopology.SimplicialSet.Monoidal import Mathlib.CategoryTheory.Enriched.Ordinary.Basic /-! # Simplicial categories A simplicial category is a category ...
Extension.lean
/- Copyright (c) 2022 Sébastien Gouëzel. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Sébastien Gouëzel, Yury Kudryashov -/ import Mathlib.Data.Set.Monotone import Mathlib.Order.ConditionallyCompleteLattice.Basic /-! # Extension of a monotone function from a set to ...
LinearCombination.lean
/- Copyright (c) 2022 Abby J. Goldberg. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Abby J. Goldberg, Mario Carneiro, Heather Macbeth -/ import Mathlib.Tactic.LinearCombination.Lemmas import Mathlib.Tactic.Positivity.Core import Mathlib.Tactic.Ring import Mathlib.Ta...
Cartesian.lean
/- Copyright (c) 2024 Sina Hazratpour. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Sina Hazratpour -/ import Mathlib.CategoryTheory.Distributive.Monoidal import Mathlib.CategoryTheory.Limits.MonoCoprod import Mathlib.CategoryTheory.Monoidal.Cartesian.Basic /-! # D...
Mor.lean
/- Copyright (c) 2024 Tomáš Skřivan. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Tomáš Skřivan -/ import Mathlib.Data.FunLike.Basic /-! ## `funProp` Meta programming functions like in Lean.Expr.* but for working with bundled morphisms. Function application in norm...
Convex.lean
/- Copyright (c) 2020 Yury Kudryashov. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Alexander Bentkamp, Yury Kudryashov -/ import Mathlib.Analysis.Convex.Jensen import Mathlib.Analysis.Convex.PathConnected import Mathlib.Analysis.Convex.Topology import Mathlib.Analys...
Mod_.lean
/- Copyright (c) 2025 Paul Lezeau. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Paul Lezeau -/ import Mathlib.CategoryTheory.Monoidal.Cartesian.Basic import Mathlib.CategoryTheory.Monoidal.Mod_ /-! # Additional results about module objects in cartesian monoidal cate...
Basic.lean
/- Copyright (c) 2019 Chris Hughes. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Chris Hughes, Yaël Dillies -/ import Mathlib.Algebra.Module.BigOperators import Mathlib.GroupTheory.Perm.Basic import Mathlib.GroupTheory.Perm.Finite import Mathlib.GroupTheory.Perm.Lis...
Order.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 -/ import Mathlib.Topology.Continuous import Mathlib.Topology.Defs.Induced /-! # Ordering on topologies and (co)induced topologies Topologies on a fixe...
test_ssrAC.v
From mathcomp Require Import all_boot ssralg. Section Tests. Lemma test_orb (a b c d : bool) : (a || b) || (c || d) = (a || c) || (b || d). Proof. time by rewrite orbACA. Abort. Lemma test_orb (a b c d : bool) : (a || b) || (c || d) = (a || c) || (b || d). Proof. time by rewrite (AC (2*2) ((1*3)*(2*4))). Abort. Lemma ...
GeomSum.lean
/- Copyright (c) 2019 Neil Strickland. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Neil Strickland -/ import Mathlib.Algebra.Field.GeomSum import Mathlib.Algebra.Order.Ring.Defs /-! # Partial sums of geometric series in an ordered field This file upper- and lower-...
ChangeOrigin.lean
/- Copyright (c) 2020 Sébastien Gouëzel. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Sébastien Gouëzel, Yury Kudryashov -/ import Mathlib.Analysis.Analytic.Basic /-! # Changing origin in a power series If a function is analytic in a disk `D(x, R)`, then it is anal...
ElementaryMaps.lean
/- Copyright (c) 2022 Aaron Anderson. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Aaron Anderson -/ import Mathlib.Data.Fintype.Basic import Mathlib.ModelTheory.Substructures /-! # Elementary Maps Between First-Order Structures ## Main Definitions - A `FirstOrder...
Functoriality.lean
/- Copyright (c) 2024 Judith Ludwig, Christian Merten. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Judith Ludwig, Christian Merten -/ import Mathlib.RingTheory.AdicCompletion.Basic import Mathlib.RingTheory.AdicCompletion.Algebra import Mathlib.Algebra.DirectSum.Bas...
Quot.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 -/ import Mathlib.Logic.Relation import Mathlib.Logic.Unique import Mathlib.Util.Notation3 /-! # Quotient types This module extends the core library's treatment of quo...
Discriminant.lean
/- Copyright (c) 2022 Riccardo Brasca. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Riccardo Brasca -/ import Mathlib.NumberTheory.Cyclotomic.PrimitiveRoots import Mathlib.RingTheory.DedekindDomain.Dvr import Mathlib.NumberTheory.NumberField.Discriminant.Defs /-! # ...
Exhaustion.lean
/- Copyright (c) 2024 Rémy Degenne. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Rémy Degenne -/ import Mathlib.MeasureTheory.Measure.Typeclasses.SFinite /-! # Method of exhaustion If `μ, ν` are two measures with `ν` s-finite, then there exists a set `s` such that ...
eqtype.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. (********************************************************************...
galois.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 tupl...
AreaOfACircle.lean
/- Copyright (c) 2021 James Arthur, Benjamin Davidson, Andrew Souther. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: James Arthur, Benjamin Davidson, Andrew Souther -/ import Mathlib.Analysis.SpecialFunctions.Sqrt import Mathlib.Analysis.SpecialFunctions.Trigonometric...
Ring.lean
/- Copyright (c) 2018 Mario Carneiro. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Mario Carneiro, Kevin Kappelmann -/ import Mathlib.Algebra.Order.Field.Basic import Mathlib.Algebra.Order.Floor.Defs import Mathlib.Tactic.Abel import Mathlib.Tactic.FieldSimp import M...
StarSubalgebra.lean
/- Copyright (c) 2022 Jireh Loreaux. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Jireh Loreaux -/ import Mathlib.Algebra.Star.Subalgebra import Mathlib.Topology.Algebra.Algebra import Mathlib.Topology.Algebra.Star /-! # Topological star (sub)algebras A topological...
Subsingleton.lean
import Mathlib.Tactic.Subsingleton private axiom test_sorry : ∀ {α}, α /-! Basic subsingleton instances -/ example (x y : Unit) : x = y := by subsingleton example (x y : Empty) : x = y := by subsingleton example {α : Type} [Subsingleton α] (x y : α) : x = y := by subsingleton /-! Proof irrelevance -/ example (p :...
Basic.lean
/- Copyright (c) 2015, 2017 Jeremy Avigad. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Jeremy Avigad, Robert Y. Lewis, Johannes Hölzl, Mario Carneiro, Sébastien Gouëzel -/ import Mathlib.Topology.MetricSpace.Pseudo.Basic import Mathlib.Topology.MetricSpace.Pseudo.Le...
Countable.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 -/ import Mathlib.Data.Countable.Basic import Mathlib.Data.Set.Finite.Basic import Mathlib.Data.Set.Subsingleton import Mathlib.Logic.Equiv.List import Mathlib.Order.Pre...
Quotient.lean
/- Copyright (c) 2021 Oliver Nash. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Oliver Nash -/ import Mathlib.Algebra.Lie.Ideal import Mathlib.Algebra.Lie.OfAssociative import Mathlib.LinearAlgebra.Isomorphisms import Mathlib.RingTheory.Noetherian.Basic /-! # Quotie...
Core.lean
/- Copyright (c) 2019 Kim Morrison. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Kim Morrison, Robin Carlier -/ import Mathlib.Control.EquivFunctor import Mathlib.CategoryTheory.Groupoid import Mathlib.CategoryTheory.Whiskering import Mathlib.CategoryTheory.Types /-...
TransferInstance.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 -/ import Mathlib.Algebra.Field.Basic import Mathlib.Algebra.Ring.TransferInstance /-! # Transfer algebraic structures across `Equiv`s This continues the pattern set i...
Translate.lean
/- Copyright (c) 2023 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.Pi import Mathlib.Algebra.Group.Action.Pointwise.Set.Basic import Mathlib.Algebra.Group.Pi.Basic import Mathlib.GroupTheory.GroupActio...
ComplexDeriv.lean
/- Copyright (c) 2018 Chris Hughes. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Chris Hughes, Abhimanyu Pallavi Sudhir, Jean Lo, Calle Sönne, Benjamin Davidson -/ import Mathlib.Analysis.SpecialFunctions.Trigonometric.Complex import Mathlib.Analysis.SpecialFunctions...
vcharacter.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...
OfFun.lean
/- Copyright (c) 2023 Yury Kudryashov. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Yury Kudryashov -/ import Mathlib.Topology.UniformSpace.Defs /-! # Construct a `UniformSpace` from a `dist`-like function In this file we provide a constructor for `UniformSpace` gi...
Submonoid.lean
/- Copyright (c) 2024 Yakov Pechersky. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Yakov Pechersky -/ import Mathlib.Algebra.Group.Submonoid.Defs import Mathlib.Algebra.Order.Archimedean.Basic /-! # Submonoids of archimedean monoids This file defines the instances...
QuotientInter.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.Order.BigOperators.Group.Finset import Mathlib.GroupTheory.QuotientGroup.Defs import Mathlib.Algebra.Group.Pointwise.Finset.Basic /-! # Growth in ...
Expand.lean
/- Copyright (c) 2020 Kenny Lau. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Kenny Lau -/ import Mathlib.Algebra.CharP.Frobenius import Mathlib.Algebra.Polynomial.Derivative import Mathlib.Algebra.Polynomial.RingDivision import Mathlib.RingTheory.Polynomial.Basic /...
Comap.lean
/- Copyright (c) 2020 Yury Kudryashov. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Yury Kudryashov, Rémy Degenne -/ import Mathlib.MeasureTheory.Measure.QuasiMeasurePreserving /-! # Pullback of a measure In this file we define the pullback `MeasureTheory.Measure.c...
ToExpr.lean
/- Copyright (c) 2023 Kyle Miller. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Kyle Miller -/ import Mathlib.Util.WhatsNew /-! # `ToExpr` instances for Mathlib -/ namespace Mathlib open Lean set_option autoImplicit true in deriving instance ToExpr for ULift univ...
ZeroAtInfty.lean
/- Copyright (c) 2024 Moritz Doll. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Moritz Doll -/ import Mathlib.Topology.ContinuousMap.ZeroAtInfty /-! # ZeroAtInftyContinuousMapClass in normed additive groups In this file we give a characterization of the predicate ...
ReesAlgebra.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.RingTheory.Ideal.BigOperators import Mathlib.RingTheory.FiniteType /-! # Rees algebra The Rees algebra of an ideal `I` is the subalgebra `R[It]` of `R[t]`...
nilpotent.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 path. From mathcomp Require Import fintype div bigop prime finset fingroup morphism. Fro...