Commit 108140a
committed
Golf many proofs using `grw`, `gcongr`, `cutsat`, `linarith`... For this, tag a few more lemmas with `gcongr`, and make some existing ones stronger.
The goal here is not necessarily to golf (although it usually is the case), but instead to reduce the number of explicit mentions of lemmas, as these are a maintainability concern.
The precise golfs that are performed are motivated by leanprover-community#30242, where four pairs of very basic and widespread lemmas get swapped. The best way to reduce the number of swaps needed is to simply not mention the lemmas explicitly.
1 parent 5a6cfc3 commit 108140a
File tree
220 files changed
+670
-958
lines changed- Archive/Imo
- Mathlib
- AlgebraicGeometry
- EllipticCurve/Affine
- ProjectiveSpectrum
- Algebra
- AddConstMap
- MonoidAlgebra
- MvPolynomial
- Order
- BigOperators
- Group
- Ring
- CauSeq
- Field
- GroupWithZero
- Group
- Int
- Pointwise
- Unbundled
- Interval/Set
- Monoid
- Unbundled
- Ring
- Unbundled
- Star
- Sub
- Unbundled
- Polynomial
- Degree
- Analysis
- Analytic
- Asymptotics
- BoxIntegral
- Box
- CStarAlgebra
- Calculus
- ContDiff
- FDeriv
- LocalExtr
- Complex
- Convex
- SpecificFunctions
- InnerProductSpace/Projection
- NormedSpace
- Normed
- Affine
- Algebra
- Group
- Order
- Unbundled
- ODE
- Real
- SpecialFunctions
- Log
- Trigonometric
- SpecificLimits
- Combinatorics
- Additive
- Enumerative
- Extremal
- Matroid
- Rank
- SetFamily
- SimpleGraph
- Extremal
- Regularity
- Triangle
- Computability
- Data
- DFinsupp
- ENNReal
- ENat
- EReal
- Finset
- Finsupp
- Int
- NNReal
- Nat
- Cast/Order
- Choose
- Digits
- Factorization
- Fib
- Num
- Set
- Dynamics/Circle/RotationNumber
- Geometry/Manifold/VectorField
- GroupTheory
- MonoidLocalization
- Perm/Cycle
- InformationTheory
- LinearAlgebra
- AffineSpace
- Dimension
- MeasureTheory
- Constructions/Polish
- Covering
- Function
- ConditionalExpectation
- L1Space
- LpSpace
- Integral
- Bochner
- Lebesgue
- Measure
- Decomposition
- Typeclasses
- OuterMeasure
- VectorMeasure
- ModelTheory
- NumberTheory
- Harmonic
- Padics/PadicVal
- Zsqrtd
- Order
- Filter
- AtTopBot
- Germ
- SuccPred
- Probability
- Kernel
- Disintegration
- RingTheory
- DedekindDomain
- Ideal
- Finiteness
- GradedAlgebra
- HahnSeries
- KrullDimension
- MvPolynomial
- MvPowerSeries
- PowerSeries
- Valuation
- ValuativeRel
- SetTheory
- Cardinal
- Ordinal
- PGame
- Surreal
- Tactic/LinearCombination
- Topology
- Algebra
- Order
- Valued
- CWComplex/Classical
- ContinuousMap
- Bounded
- EMetricSpace
- Instances/ENNReal
- MetricSpace
- Pseudo
- Metrizable
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
220 files changed
+670
-958
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
87 | 87 | | |
88 | 88 | | |
89 | 89 | | |
90 | | - | |
91 | | - | |
| 90 | + | |
92 | 91 | | |
93 | 92 | | |
94 | 93 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
257 | 257 | | |
258 | 258 | | |
259 | 259 | | |
260 | | - | |
| 260 | + | |
261 | 261 | | |
262 | 262 | | |
263 | 263 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
52 | 52 | | |
53 | 53 | | |
54 | 54 | | |
55 | | - | |
56 | | - | |
| 55 | + | |
57 | 56 | | |
58 | 57 | | |
59 | 58 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
97 | 97 | | |
98 | 98 | | |
99 | 99 | | |
100 | | - | |
| 100 | + | |
101 | 101 | | |
102 | 102 | | |
103 | 103 | | |
104 | | - | |
105 | | - | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
106 | 107 | | |
107 | | - | |
| 108 | + | |
108 | 109 | | |
109 | 110 | | |
110 | 111 | | |
| |||
126 | 127 | | |
127 | 128 | | |
128 | 129 | | |
129 | | - | |
130 | | - | |
| 130 | + | |
131 | 131 | | |
132 | 132 | | |
133 | 133 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
402 | 402 | | |
403 | 403 | | |
404 | 404 | | |
405 | | - | |
| 405 | + | |
406 | 406 | | |
407 | 407 | | |
408 | 408 | | |
| |||
434 | 434 | | |
435 | 435 | | |
436 | 436 | | |
437 | | - | |
438 | | - | |
| 437 | + | |
439 | 438 | | |
440 | 439 | | |
441 | 440 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
100 | 100 | | |
101 | 101 | | |
102 | 102 | | |
103 | | - | |
| 103 | + | |
104 | 104 | | |
105 | 105 | | |
106 | 106 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
352 | 352 | | |
353 | 353 | | |
354 | 354 | | |
355 | | - | |
356 | | - | |
357 | | - | |
358 | | - | |
359 | | - | |
360 | | - | |
| 355 | + | |
| 356 | + | |
361 | 357 | | |
362 | 358 | | |
363 | | - | |
364 | | - | |
365 | | - | |
366 | | - | |
| 359 | + | |
| 360 | + | |
| 361 | + | |
367 | 362 | | |
368 | 363 | | |
369 | 364 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
45 | 45 | | |
46 | 46 | | |
47 | 47 | | |
48 | | - | |
| 48 | + | |
49 | 49 | | |
50 | 50 | | |
51 | 51 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
89 | 89 | | |
90 | 90 | | |
91 | 91 | | |
92 | | - | |
93 | | - | |
| 92 | + | |
| 93 | + | |
94 | 94 | | |
95 | 95 | | |
96 | 96 | | |
| |||
112 | 112 | | |
113 | 113 | | |
114 | 114 | | |
115 | | - | |
| 115 | + | |
116 | 116 | | |
117 | 117 | | |
118 | 118 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
166 | 166 | | |
167 | 167 | | |
168 | 168 | | |
169 | | - | |
170 | | - | |
| 169 | + | |
171 | 170 | | |
172 | 171 | | |
173 | 172 | | |
| |||
0 commit comments