file_path stringlengths 11 79 | full_name stringlengths 2 100 | traced_tactics list | end list | commit stringclasses 4
values | url stringclasses 4
values | start list |
|---|---|---|---|---|---|---|
Mathlib/Computability/TuringMachine.lean | Turing.eval_maximal | [
{
"state_after": "no goals",
"state_before": "σ : Type u_1\nf : σ → Option σ\na b : σ\nh : b ∈ eval f a\nc : σ\nleft✝ : Reaches f a b\nb0 : f b = none\nb' : σ\nh' : b' ∈ f b\n⊢ False",
"tactic": "cases b0.symm.trans h'"
}
] | [
863,
60
] | 5a919533f110b7d76410134a237ee374f24eaaad | https://github.com/leanprover-community/mathlib4 | [
861,
1
] |
Mathlib/Data/Stream/Init.lean | Stream'.nth_drop | [] | [
59,
6
] | 5a919533f110b7d76410134a237ee374f24eaaad | https://github.com/leanprover-community/mathlib4 | [
58,
1
] |
Mathlib/Order/Monotone/Basic.lean | strictMono_toDual_comp_iff | [] | [
192,
10
] | 5a919533f110b7d76410134a237ee374f24eaaad | https://github.com/leanprover-community/mathlib4 | [
191,
1
] |
Mathlib/Data/Polynomial/Taylor.lean | Polynomial.sum_taylor_eq | [
{
"state_after": "no goals",
"state_before": "R✝ : Type ?u.229785\ninst✝¹ : Semiring R✝\nr✝ : R✝\nf✝ : R✝[X]\nR : Type u_1\ninst✝ : CommRing R\nf : R[X]\nr : R\n⊢ (sum (↑(taylor r) f) fun i a => ↑C a * (X - ↑C r) ^ i) = f",
"tactic": "rw [← comp_eq_sum_left, sub_eq_add_neg, ← C_neg, ← taylor_apply, tayl... | [
152,
17
] | 5a919533f110b7d76410134a237ee374f24eaaad | https://github.com/leanprover-community/mathlib4 | [
149,
1
] |
Mathlib/Data/Polynomial/UnitTrinomial.lean | Polynomial.IsUnitTrinomial.ne_zero | [
{
"state_after": "q : ℤ[X]\nhp : IsUnitTrinomial 0\n⊢ False",
"state_before": "p q : ℤ[X]\nhp : IsUnitTrinomial p\n⊢ p ≠ 0",
"tactic": "rintro rfl"
},
{
"state_after": "no goals",
"state_before": "q : ℤ[X]\nhp : IsUnitTrinomial 0\n⊢ False",
"tactic": "exact Nat.zero_ne_bit1 1 hp.card_sup... | [
156,
52
] | 5a919533f110b7d76410134a237ee374f24eaaad | https://github.com/leanprover-community/mathlib4 | [
154,
1
] |
Mathlib/Data/Multiset/FinsetOps.lean | Multiset.ndinsert_zero | [] | [
44,
6
] | 5a919533f110b7d76410134a237ee374f24eaaad | https://github.com/leanprover-community/mathlib4 | [
43,
1
] |
Mathlib/Topology/Separation.lean | injective_nhdsSet | [] | [
697,
25
] | 5a919533f110b7d76410134a237ee374f24eaaad | https://github.com/leanprover-community/mathlib4 | [
696,
1
] |
Mathlib/Analysis/Calculus/Monotone.lean | tendsto_apply_add_mul_sq_div_sub | [
{
"state_after": "f : ℝ → ℝ\nx a c d : ℝ\nl : Filter ℝ\nhl : l ≤ 𝓝[{x}ᶜ] x\nhf : Tendsto (fun y => (f y - d) / (y - x)) l (𝓝 a)\nh' : Tendsto (fun y => y + c * (y - x) ^ 2) l l\nL : Tendsto (fun y => (y + c * (y - x) ^ 2 - x) / (y - x)) l (𝓝 1)\n⊢ Tendsto (fun y => (f (y + c * (y - x) ^ 2) - d) / (y - x)) l ... | [
67,
32
] | 5a919533f110b7d76410134a237ee374f24eaaad | https://github.com/leanprover-community/mathlib4 | [
49,
1
] |
Mathlib/Order/Bounds/Basic.lean | isLeast_Ici | [] | [
511,
30
] | 5a919533f110b7d76410134a237ee374f24eaaad | https://github.com/leanprover-community/mathlib4 | [
510,
1
] |
Mathlib/Data/Set/Pairwise/Basic.lean | Set.pairwiseDisjoint_insert_of_not_mem | [] | [
279,
74
] | 5a919533f110b7d76410134a237ee374f24eaaad | https://github.com/leanprover-community/mathlib4 | [
277,
1
] |
Mathlib/Algebra/Lie/Nilpotent.lean | LieModule.lowerCentralSeriesLast_le_max_triv | [
{
"state_after": "R : Type u\nL : Type v\nM : Type w\ninst✝⁶ : CommRing R\ninst✝⁵ : LieRing L\ninst✝⁴ : LieAlgebra R L\ninst✝³ : AddCommGroup M\ninst✝² : Module R M\ninst✝¹ : LieRingModule L M\ninst✝ : LieModule R L M\nk : ℕ\nN : LieSubmodule R L M\n⊢ (match nilpotencyLength R L M with\n | 0 => ⊥\n | Nat.... | [
304,
14
] | 5a919533f110b7d76410134a237ee374f24eaaad | https://github.com/leanprover-community/mathlib4 | [
297,
1
] |
Mathlib/Algebra/Ring/Defs.lean | neg_one_mul | [
{
"state_after": "no goals",
"state_before": "α : Type u\nβ : Type v\nγ : Type w\nR : Type x\ninst✝¹ : MulOneClass α\ninst✝ : HasDistribNeg α\na : α\n⊢ -1 * a = -a",
"tactic": "simp"
}
] | [
331,
53
] | 5a919533f110b7d76410134a237ee374f24eaaad | https://github.com/leanprover-community/mathlib4 | [
331,
1
] |
Mathlib/MeasureTheory/Function/LpSeminorm.lean | MeasureTheory.snorm_mono | [] | [
413,
52
] | 5a919533f110b7d76410134a237ee374f24eaaad | https://github.com/leanprover-community/mathlib4 | [
412,
1
] |
Mathlib/RingTheory/Ideal/Cotangent.lean | Ideal.toCotangent_range | [] | [
90,
87
] | 5a919533f110b7d76410134a237ee374f24eaaad | https://github.com/leanprover-community/mathlib4 | [
90,
1
] |
Mathlib/NumberTheory/Bernoulli.lean | bernoulli'_odd_eq_zero | [
{
"state_after": "A : Type ?u.472720\ninst✝¹ : CommRing A\ninst✝ : Algebra ℚ A\nn : ℕ\nh_odd : Odd n\nhlt : 1 < n\nB : PowerSeries ℚ := PowerSeries.mk fun n => bernoulli' n / ↑n !\n⊢ bernoulli' n = 0",
"state_before": "A : Type ?u.472720\ninst✝¹ : CommRing A\ninst✝ : Algebra ℚ A\nn : ℕ\nh_odd : Odd n\nhlt :... | [
200,
8
] | 5a919533f110b7d76410134a237ee374f24eaaad | https://github.com/leanprover-community/mathlib4 | [
185,
1
] |
Mathlib/Data/Rat/Cast.lean | Rat.cast_zero | [] | [
61,
39
] | 5a919533f110b7d76410134a237ee374f24eaaad | https://github.com/leanprover-community/mathlib4 | [
60,
1
] |
Mathlib/Algebra/Hom/Centroid.lean | CentroidHom.coe_int_cast | [] | [
451,
6
] | 5a919533f110b7d76410134a237ee374f24eaaad | https://github.com/leanprover-community/mathlib4 | [
450,
1
] |
Mathlib/Data/Vector.lean | Vector.tail_cons | [] | [
77,
18
] | 5a919533f110b7d76410134a237ee374f24eaaad | https://github.com/leanprover-community/mathlib4 | [
76,
1
] |
Mathlib/Order/Filter/Pointwise.lean | Filter.pure_vsub | [] | [
1130,
17
] | 5a919533f110b7d76410134a237ee374f24eaaad | https://github.com/leanprover-community/mathlib4 | [
1129,
1
] |
Mathlib/Data/Analysis/Filter.lean | Filter.Realizer.ofEquiv_σ | [] | [
146,
6
] | 5a919533f110b7d76410134a237ee374f24eaaad | https://github.com/leanprover-community/mathlib4 | [
145,
1
] |
Mathlib/AlgebraicTopology/SplitSimplicialObject.lean | SimplicialObject.Splitting.hom_ext' | [
{
"state_after": "C : Type u_2\ninst✝¹ : Category C\ninst✝ : HasFiniteCoproducts C\nX Y : SimplicialObject C\ns : Splitting X\nZ : C\nΔ : SimplexCategoryᵒᵖ\nf g : X.obj Δ ⟶ Z\nh : ∀ (A : IndexSet Δ), ιSummand s A ≫ f = ιSummand s A ≫ g\n⊢ (iso s Δ).hom ≫ f = (iso s Δ).hom ≫ g",
"state_before": "C : Type u_2... | [
306,
89
] | 5a919533f110b7d76410134a237ee374f24eaaad | https://github.com/leanprover-community/mathlib4 | [
301,
1
] |
Mathlib/Topology/Instances/ENNReal.lean | summable_of_sum_le | [] | [
1346,
91
] | 5a919533f110b7d76410134a237ee374f24eaaad | https://github.com/leanprover-community/mathlib4 | [
1343,
1
] |
Mathlib/Combinatorics/SimpleGraph/Connectivity.lean | SimpleGraph.subgraphOfAdj_connected | [
{
"state_after": "case preconnected\nV : Type u\nV' : Type v\nV'' : Type w\nG : SimpleGraph V\nG' : SimpleGraph V'\nG'' : SimpleGraph V''\nv w : V\nhvw : Adj G v w\n⊢ Preconnected (Subgraph.coe (subgraphOfAdj G hvw))",
"state_before": "V : Type u\nV' : Type v\nV'' : Type w\nG : SimpleGraph V\nG' : SimpleGra... | [
2198,
46
] | 5a919533f110b7d76410134a237ee374f24eaaad | https://github.com/leanprover-community/mathlib4 | [
2193,
1
] |
Mathlib/Data/List/Func.lean | List.Func.length_set | [
{
"state_after": "α : Type u\nβ : Type v\nγ : Type w\na✝ : α\nas✝ as1 as2 as3 : List α\ninst✝¹ : Inhabited α\ninst✝ : Inhabited β\na : α\nas : List α\n⊢ length ((a :: as) {0 ↦ a✝}) = length (a :: as)\n\nα : Type u\nβ : Type v\nγ : Type w\na✝ : α\nas✝ as1 as2 as3 : List α\ninst✝¹ : Inhabited α\ninst✝ : Inhabited... | [
115,
57
] | 5a919533f110b7d76410134a237ee374f24eaaad | https://github.com/leanprover-community/mathlib4 | [
104,
1
] |
Mathlib/Analysis/SpecialFunctions/ExpDeriv.lean | Real.hasStrictDerivAt_exp | [] | [
184,
51
] | 5a919533f110b7d76410134a237ee374f24eaaad | https://github.com/leanprover-community/mathlib4 | [
183,
1
] |
Mathlib/LinearAlgebra/AffineSpace/AffineEquiv.lean | AffineEquiv.coe_refl_to_affineMap | [] | [
303,
6
] | 5a919533f110b7d76410134a237ee374f24eaaad | https://github.com/leanprover-community/mathlib4 | [
302,
1
] |
Mathlib/Computability/TMToPartrec.lean | Turing.PartrecToTM2.trPosNum_natEnd | [] | [
1459,
65
] | 5a919533f110b7d76410134a237ee374f24eaaad | https://github.com/leanprover-community/mathlib4 | [
1454,
1
] |
Mathlib/GroupTheory/GroupAction/FixingSubgroup.lean | mem_fixingSubmonoid_iff | [] | [
63,
55
] | 5a919533f110b7d76410134a237ee374f24eaaad | https://github.com/leanprover-community/mathlib4 | [
61,
1
] |
Mathlib/Data/Multiset/Basic.lean | Multiset.mem_union | [] | [
1721,
84
] | 5a919533f110b7d76410134a237ee374f24eaaad | https://github.com/leanprover-community/mathlib4 | [
1719,
1
] |
Mathlib/Algebra/Order/Ring/Abs.lean | abs_eq_self | [
{
"state_after": "no goals",
"state_before": "α : Type u_1\ninst✝ : LinearOrderedRing α\na b c : α\n⊢ abs a = a ↔ 0 ≤ a",
"tactic": "simp [abs_eq_max_neg]"
}
] | [
61,
66
] | 5a919533f110b7d76410134a237ee374f24eaaad | https://github.com/leanprover-community/mathlib4 | [
61,
1
] |
Mathlib/Data/Nat/ModEq.lean | Nat.modEq_iff_dvd' | [
{
"state_after": "no goals",
"state_before": "m n a b c d : ℕ\nh : a ≤ b\n⊢ a ≡ b [MOD n] ↔ n ∣ b - a",
"tactic": "rw [modEq_iff_dvd, ← Int.coe_nat_dvd, Int.ofNat_sub h]"
}
] | [
101,
57
] | 5a919533f110b7d76410134a237ee374f24eaaad | https://github.com/leanprover-community/mathlib4 | [
100,
1
] |
Mathlib/Data/IsROrC/Basic.lean | IsROrC.natCast_im | [
{
"state_after": "no goals",
"state_before": "K : Type u_1\nE : Type ?u.6253389\ninst✝ : IsROrC K\nn : ℕ\n⊢ ↑im ↑n = 0",
"tactic": "rw [← ofReal_natCast, ofReal_im]"
}
] | [
640,
83
] | 5a919533f110b7d76410134a237ee374f24eaaad | https://github.com/leanprover-community/mathlib4 | [
640,
1
] |
Mathlib/GroupTheory/Perm/Cycle/Basic.lean | Equiv.Perm.IsCycle.cycleOf | [
{
"state_after": "case pos\nι : Type ?u.2436705\nα : Type u_1\nβ : Type ?u.2436711\ninst✝¹ : DecidableEq α\ninst✝ : Fintype α\nf g : Perm α\nx y : α\nhf : IsCycle f\nhx : ↑f x = x\n⊢ cycleOf f x = if ↑f x = x then 1 else f\n\ncase neg\nι : Type ?u.2436705\nα : Type u_1\nβ : Type ?u.2436711\ninst✝¹ : DecidableEq... | [
1076,
35
] | 5a919533f110b7d76410134a237ee374f24eaaad | https://github.com/leanprover-community/mathlib4 | [
1073,
11
] |
Mathlib/Analysis/SpecialFunctions/Trigonometric/Deriv.lean | Real.deriv_cos' | [] | [
628,
28
] | 5a919533f110b7d76410134a237ee374f24eaaad | https://github.com/leanprover-community/mathlib4 | [
627,
1
] |
Mathlib/Data/Set/Function.lean | Monotone.codRestrict | [] | [
1333,
4
] | 5a919533f110b7d76410134a237ee374f24eaaad | https://github.com/leanprover-community/mathlib4 | [
1331,
11
] |
Mathlib/MeasureTheory/Function/AEEqFun.lean | MeasureTheory.AEEqFun.comp₂_toGerm | [
{
"state_after": "no goals",
"state_before": "α : Type u_4\nβ : Type u_2\nγ : Type u_1\nδ : Type u_3\ninst✝³ : MeasurableSpace α\nμ ν : Measure α\ninst✝² : TopologicalSpace β\ninst✝¹ : TopologicalSpace γ\ninst✝ : TopologicalSpace δ\ng : β → γ → δ\nhg : Continuous (uncurry g)\nf₁✝ : α →ₘ[μ] β\nf₂✝ : α →ₘ[μ] ... | [
404,
47
] | 5a919533f110b7d76410134a237ee374f24eaaad | https://github.com/leanprover-community/mathlib4 | [
402,
1
] |
Mathlib/Algebra/Module/Basic.lean | inv_nat_cast_smul_comm | [] | [
530,
77
] | 5a919533f110b7d76410134a237ee374f24eaaad | https://github.com/leanprover-community/mathlib4 | [
527,
1
] |
Mathlib/ModelTheory/Semantics.lean | FirstOrder.Language.Formula.realize_iff | [] | [
670,
29
] | 5a919533f110b7d76410134a237ee374f24eaaad | https://github.com/leanprover-community/mathlib4 | [
669,
1
] |
Mathlib/AlgebraicGeometry/ProjectiveSpectrum/Topology.lean | ProjectiveSpectrum.zeroLocus_union | [] | [
245,
19
] | 5a919533f110b7d76410134a237ee374f24eaaad | https://github.com/leanprover-community/mathlib4 | [
244,
1
] |
Mathlib/Logic/Pairwise.lean | Set.Pairwise.on_injective | [] | [
87,
71
] | 5a919533f110b7d76410134a237ee374f24eaaad | https://github.com/leanprover-community/mathlib4 | [
86,
1
] |
Mathlib/Algebra/Order/WithZero.lean | div_le_div₀ | [
{
"state_after": "no goals",
"state_before": "α : Type u_1\na✝ b✝ c✝ d✝ x y z : α\ninst✝ : LinearOrderedCommGroupWithZero α\na b c d : α\nhb : b ≠ 0\nhd : d ≠ 0\n⊢ a * b⁻¹ ≤ c * d⁻¹ ↔ a * d ≤ c * b",
"tactic": "rw [mul_inv_le_iff₀ hb, mul_right_comm, le_mul_inv_iff₀ hd]"
}
] | [
167,
65
] | 5a919533f110b7d76410134a237ee374f24eaaad | https://github.com/leanprover-community/mathlib4 | [
166,
1
] |
Mathlib/Analysis/Normed/Group/Basic.lean | nnnorm_prod_le_of_le | [] | [
1697,
56
] | 5a919533f110b7d76410134a237ee374f24eaaad | https://github.com/leanprover-community/mathlib4 | [
1695,
1
] |
Mathlib/Algebra/GroupPower/Lemmas.lean | isUnit_ofPowEqOne | [] | [
104,
38
] | 5a919533f110b7d76410134a237ee374f24eaaad | https://github.com/leanprover-community/mathlib4 | [
103,
1
] |
Mathlib/Order/BooleanAlgebra.lean | compl_himp_compl | [] | [
731,
31
] | 5a919533f110b7d76410134a237ee374f24eaaad | https://github.com/leanprover-community/mathlib4 | [
730,
1
] |
Mathlib/RingTheory/PowerSeries/WellKnown.lean | PowerSeries.constantCoeff_exp | [
{
"state_after": "A : Type u_1\nA' : Type ?u.330522\ninst✝⁷ : Ring A\ninst✝⁶ : Ring A'\ninst✝⁵ : Algebra ℚ A\ninst✝⁴ : Algebra ℚ A'\ninst✝³ : Ring A\ninst✝² : Ring A'\ninst✝¹ : Algebra ℚ A\ninst✝ : Algebra ℚ A'\nn : ℕ\nf : A →+* A'\n⊢ ↑(algebraMap ℚ A) (1 / ↑0!) = 1",
"state_before": "A : Type u_1\nA' : Typ... | [
103,
7
] | 5a919533f110b7d76410134a237ee374f24eaaad | https://github.com/leanprover-community/mathlib4 | [
101,
1
] |
Mathlib/MeasureTheory/Decomposition/Lebesgue.lean | MeasureTheory.Measure.eq_withDensity_rnDeriv | [
{
"state_after": "α : Type u_1\nβ : Type ?u.56874\nm : MeasurableSpace α\nμ ν s : Measure α\nf : α → ℝ≥0∞\nhf : Measurable f\nhs : s ⟂ₘ ν\nhadd : μ = s + withDensity ν f\nthis : HaveLebesgueDecomposition μ ν\n⊢ withDensity ν f = withDensity ν (rnDeriv μ ν)",
"state_before": "α : Type u_1\nβ : Type ?u.56874\... | [
351,
76
] | 5a919533f110b7d76410134a237ee374f24eaaad | https://github.com/leanprover-community/mathlib4 | [
315,
1
] |
Mathlib/Order/SuccPred/Basic.lean | Order.Ico_succ_right_eq_insert_of_not_isMax | [
{
"state_after": "no goals",
"state_before": "α : Type u_1\ninst✝¹ : PartialOrder α\ninst✝ : SuccOrder α\na b : α\nh₁ : a ≤ b\nh₂ : ¬IsMax b\n⊢ Ico a (succ b) = insert b (Ico a b)",
"tactic": "simp_rw [← Iio_inter_Ici, Iio_succ_eq_insert_of_not_isMax h₂, insert_inter_of_mem (mem_Ici.2 h₁)]"
}
] | [
466,
100
] | 5a919533f110b7d76410134a237ee374f24eaaad | https://github.com/leanprover-community/mathlib4 | [
464,
1
] |
Mathlib/Data/Finset/Basic.lean | Finset.inter_distrib_right | [] | [
1745,
16
] | 5a919533f110b7d76410134a237ee374f24eaaad | https://github.com/leanprover-community/mathlib4 | [
1744,
1
] |
Mathlib/Topology/MetricSpace/Holder.lean | HolderWith.edist_le | [] | [
196,
8
] | 5a919533f110b7d76410134a237ee374f24eaaad | https://github.com/leanprover-community/mathlib4 | [
194,
1
] |
Mathlib/Data/Complex/Basic.lean | Complex.abs_re_lt_abs | [
{
"state_after": "no goals",
"state_before": "z : ℂ\n⊢ Abs.abs z.re < ↑abs z ↔ z.im ≠ 0",
"tactic": "rw [Complex.abs, AbsoluteValue.coe_mk, MulHom.coe_mk, Real.lt_sqrt (abs_nonneg _), normSq_apply,\n _root_.sq_abs, ← sq, lt_add_iff_pos_right, mul_self_pos]"
}
] | [
1053,
61
] | 5a919533f110b7d76410134a237ee374f24eaaad | https://github.com/leanprover-community/mathlib4 | [
1051,
1
] |
Mathlib/Analysis/Calculus/FDeriv/Mul.lean | DifferentiableAt.pow | [] | [
351,
68
] | 5a919533f110b7d76410134a237ee374f24eaaad | https://github.com/leanprover-community/mathlib4 | [
349,
1
] |
Mathlib/Topology/LocalHomeomorph.lean | LocalHomeomorph.restr_eq_of_source_subset | [] | [
721,
101
] | 5a919533f110b7d76410134a237ee374f24eaaad | https://github.com/leanprover-community/mathlib4 | [
719,
1
] |
Mathlib/GroupTheory/SchurZassenhaus.lean | Subgroup.smul_diff' | [
{
"state_after": "G : Type u_1\ninst✝³ : Group G\nH : Subgroup G\ninst✝² : IsCommutative H\ninst✝¹ : FiniteIndex H\nα β : ↑(leftTransversals ↑H)\ninst✝ : Normal H\nh : { x // x ∈ H }\nthis : Fintype (G ⧸ H) := fintypeQuotientOfFiniteIndex H\n⊢ diff (MonoidHom.id { x // x ∈ H }) α (op ↑h • β) = diff (MonoidHom.i... | [
99,
69
] | 5a919533f110b7d76410134a237ee374f24eaaad | https://github.com/leanprover-community/mathlib4 | [
91,
1
] |
Mathlib/Data/Finset/LocallyFinite.lean | Finset.Ioc_diff_Ioo_self | [
{
"state_after": "no goals",
"state_before": "ι : Type ?u.104989\nα : Type u_1\ninst✝² : PartialOrder α\ninst✝¹ : LocallyFiniteOrder α\na b c : α\ninst✝ : DecidableEq α\nh : a < b\n⊢ Ioc a b \\ Ioo a b = {b}",
"tactic": "simp [← coe_inj, h]"
}
] | [
601,
90
] | 5a919533f110b7d76410134a237ee374f24eaaad | https://github.com/leanprover-community/mathlib4 | [
601,
1
] |
Mathlib/MeasureTheory/Function/LpSeminorm.lean | MeasureTheory.le_mul_iff_eq_zero_of_nonneg_of_neg_of_nonneg | [
{
"state_after": "case mp\nα✝ : Type ?u.5062900\nE : Type ?u.5062903\nF : Type ?u.5062906\nG : Type ?u.5062909\nm m0 : MeasurableSpace α✝\np : ℝ≥0∞\nq : ℝ\nμ ν : Measure α✝\ninst✝³ : NormedAddCommGroup E\ninst✝² : NormedAddCommGroup F\ninst✝¹ : NormedAddCommGroup G\nα : Type u_1\ninst✝ : LinearOrderedSemiring α... | [
1297,
31
] | 5a919533f110b7d76410134a237ee374f24eaaad | https://github.com/leanprover-community/mathlib4 | [
1289,
9
] |
Mathlib/Data/Pi/Interval.lean | Pi.card_Ici | [] | [
94,
18
] | 5a919533f110b7d76410134a237ee374f24eaaad | https://github.com/leanprover-community/mathlib4 | [
93,
1
] |
Mathlib/GroupTheory/GroupAction/Group.lean | smul_inv_smul₀ | [] | [
201,
35
] | 5a919533f110b7d76410134a237ee374f24eaaad | https://github.com/leanprover-community/mathlib4 | [
200,
1
] |
Mathlib/Probability/Kernel/Basic.lean | ProbabilityTheory.kernel.measurable | [] | [
209,
9
] | 5a919533f110b7d76410134a237ee374f24eaaad | https://github.com/leanprover-community/mathlib4 | [
208,
11
] |
Mathlib/Data/Polynomial/Degree/Definitions.lean | Polynomial.leadingCoeff_X_pow_add_one | [] | [
1438,
30
] | 5a919533f110b7d76410134a237ee374f24eaaad | https://github.com/leanprover-community/mathlib4 | [
1437,
1
] |
src/lean/Init/SimpLemmas.lean | decide_not | [
{
"state_after": "no goals",
"state_before": "p : Prop\nh : Decidable p\n⊢ (decide ¬p) = !decide p",
"tactic": "cases h <;> rfl"
}
] | [
140,
94
] | d5348dfac847a56a4595fb6230fd0708dcb4e7e9 | https://github.com/leanprover/lean4 | [
140,
9
] |
Mathlib/LinearAlgebra/Matrix/BilinearForm.lean | BilinForm.toMatrix_mul_basis_toMatrix | [
{
"state_after": "no goals",
"state_before": "R : Type ?u.1598572\nM : Type ?u.1598575\ninst✝²⁰ : Semiring R\ninst✝¹⁹ : AddCommMonoid M\ninst✝¹⁸ : Module R M\nR₁ : Type ?u.1598611\nM₁ : Type ?u.1598614\ninst✝¹⁷ : Ring R₁\ninst✝¹⁶ : AddCommGroup M₁\ninst✝¹⁵ : Module R₁ M₁\nR₂ : Type u_2\nM₂ : Type u_3\ninst✝... | [
401,
98
] | 5a919533f110b7d76410134a237ee374f24eaaad | https://github.com/leanprover-community/mathlib4 | [
399,
1
] |
Mathlib/Analysis/Convex/Segment.lean | segment_symm | [] | [
81,
72
] | 5a919533f110b7d76410134a237ee374f24eaaad | https://github.com/leanprover-community/mathlib4 | [
77,
1
] |
Mathlib/Topology/MetricSpace/Basic.lean | Metric.mem_closure_iff | [
{
"state_after": "no goals",
"state_before": "α : Type u\nβ : Type v\nX : Type ?u.302924\nι : Type ?u.302927\ninst✝ : PseudoMetricSpace α\nx y z : α\nε ε₁ ε₂ : ℝ\ns✝ s : Set α\na : α\n⊢ (∀ (i : ℝ), 0 < i → ∃ y, y ∈ s ∧ y ∈ ball a i) ↔ ∀ (ε : ℝ), ε > 0 → ∃ b, b ∈ s ∧ dist a b < ε",
"tactic": "simp only [... | [
1899,
91
] | 5a919533f110b7d76410134a237ee374f24eaaad | https://github.com/leanprover-community/mathlib4 | [
1898,
1
] |
Std/Data/List/Lemmas.lean | List.length_take_le | [
{
"state_after": "no goals",
"state_before": "α : Type u_1\nn : Nat\nl : List α\n⊢ length (take n l) ≤ n",
"tactic": "simp [Nat.min_le_left]"
}
] | [
697,
93
] | e68aa8f5fe47aad78987df45f99094afbcb5e936 | https://github.com/leanprover/std4 | [
697,
1
] |
Mathlib/Algebra/Module/Zlattice.lean | Zspan.ceil_eq_self_of_mem | [
{
"state_after": "E : Type u_1\nι : Type u_2\nK : Type u_3\ninst✝⁴ : NormedLinearOrderedField K\ninst✝³ : NormedAddCommGroup E\ninst✝² : NormedSpace K E\nb : Basis ι K E\ninst✝¹ : FloorRing K\ninst✝ : Fintype ι\nm : E\nh : m ∈ span ℤ (Set.range ↑b)\n⊢ ∀ (i : ι), ↑(↑b.repr ↑(ceil b m)) i = ↑(↑b.repr m) i",
"... | [
109,
58
] | 5a919533f110b7d76410134a237ee374f24eaaad | https://github.com/leanprover-community/mathlib4 | [
103,
1
] |
Mathlib/CategoryTheory/Sites/SheafOfTypes.lean | CategoryTheory.Presieve.IsSeparatedFor.isSheafFor | [
{
"state_after": "C : Type u₁\ninst✝ : Category C\nP Q U : Cᵒᵖ ⥤ Type w\nX Y : C\nS : Sieve X\nR : Presieve X\nJ J₂ : GrothendieckTopology C\nt : IsSeparatedFor P R\n⊢ (∀ (x : FamilyOfElements P R), FamilyOfElements.Compatible x → ∃ t, FamilyOfElements.IsAmalgamation x t) →\n IsSeparatedFor P R ∧\n ∀ (x... | [
601,
20
] | 5a919533f110b7d76410134a237ee374f24eaaad | https://github.com/leanprover-community/mathlib4 | [
598,
1
] |
Mathlib/Algebra/Bounds.lean | isLUB_inv' | [] | [
66,
35
] | 5a919533f110b7d76410134a237ee374f24eaaad | https://github.com/leanprover-community/mathlib4 | [
65,
1
] |
Std/Data/HashMap/WF.lean | Std.HashMap.Imp.erase_WF | [
{
"state_after": "α : Type u_1\nβ : Type u_2\ninst✝¹ : BEq α\ninst✝ : Hashable α\nm : Imp α β\nk : α\nh : Bucket.WF m.buckets\n⊢ Bucket.WF\n (match\n AssocList.contains k\n m.buckets.val[USize.toNat (mkIdx (_ : 0 < Array.size m.buckets.val) (UInt64.toUSize (hash k))).val] with\n | true =... | [
263,
12
] | e68aa8f5fe47aad78987df45f99094afbcb5e936 | https://github.com/leanprover/std4 | [
257,
1
] |
Mathlib/Analysis/Normed/Group/Quotient.lean | quotient_norm_eq_zero_iff | [
{
"state_after": "M : Type u_1\nN : Type ?u.167794\ninst✝¹ : SeminormedAddCommGroup M\ninst✝ : SeminormedAddCommGroup N\nS : AddSubgroup M\nm : M\n⊢ Set.Nonempty ↑S",
"state_before": "M : Type u_1\nN : Type ?u.167794\ninst✝¹ : SeminormedAddCommGroup M\ninst✝ : SeminormedAddCommGroup N\nS : AddSubgroup M\nm ... | [
186,
24
] | 5a919533f110b7d76410134a237ee374f24eaaad | https://github.com/leanprover-community/mathlib4 | [
183,
1
] |
Mathlib/Logic/Basic.lean | bex_congr | [] | [
1039,
42
] | 5a919533f110b7d76410134a237ee374f24eaaad | https://github.com/leanprover-community/mathlib4 | [
1038,
1
] |
Mathlib/Data/Int/GCD.lean | Int.gcd_eq_gcd_ab | [
{
"state_after": "m n : ℕ\n⊢ ↑(gcd ↑m -[n+1]) = ↑m * gcdA ↑m -[n+1] + (↑n + 1) * Nat.gcdB (natAbs ↑m) (Nat.succ n)",
"state_before": "m n : ℕ\n⊢ ↑(gcd ↑m -[n+1]) = ↑m * gcdA ↑m -[n+1] + -(↑n + 1) * -Nat.gcdB (natAbs ↑m) (Nat.succ n)",
"tactic": "rw [neg_mul_neg]"
},
{
"state_after": "no goals",
... | [
210,
30
] | 5a919533f110b7d76410134a237ee374f24eaaad | https://github.com/leanprover-community/mathlib4 | [
201,
1
] |
Std/Data/List/Lemmas.lean | List.take_sublist | [] | [
1722,
28
] | e68aa8f5fe47aad78987df45f99094afbcb5e936 | https://github.com/leanprover/std4 | [
1721,
1
] |
Mathlib/CategoryTheory/Limits/Shapes/BinaryProducts.lean | CategoryTheory.Limits.pairFunction_left | [] | [
123,
6
] | 5a919533f110b7d76410134a237ee374f24eaaad | https://github.com/leanprover-community/mathlib4 | [
122,
1
] |
Mathlib/FieldTheory/Subfield.lean | Subfield.coe_set_mk | [] | [
193,
6
] | 5a919533f110b7d76410134a237ee374f24eaaad | https://github.com/leanprover-community/mathlib4 | [
192,
1
] |
Mathlib/NumberTheory/ArithmeticFunction.lean | Nat.ArithmeticFunction.cardFactors_apply | [] | [
855,
6
] | 5a919533f110b7d76410134a237ee374f24eaaad | https://github.com/leanprover-community/mathlib4 | [
854,
1
] |
Mathlib/RingTheory/Ideal/Operations.lean | Ideal.span_singleton_mul_right_mono | [
{
"state_after": "no goals",
"state_before": "R : Type u\nι : Type ?u.236329\ninst✝¹ : CommSemiring R\nI J K L : Ideal R\ninst✝ : IsDomain R\nx : R\nhx : x ≠ 0\n⊢ span {x} * I ≤ span {x} * J ↔ I ≤ J",
"tactic": "simp_rw [span_singleton_mul_le_span_singleton_mul, mul_right_inj' hx,\n exists_eq_right', S... | [
571,
38
] | 5a919533f110b7d76410134a237ee374f24eaaad | https://github.com/leanprover-community/mathlib4 | [
568,
1
] |
Mathlib/Analysis/Calculus/IteratedDeriv.lean | iteratedDerivWithin_succ' | [
{
"state_after": "𝕜 : Type u_1\ninst✝⁴ : NontriviallyNormedField 𝕜\nF : Type u_2\ninst✝³ : NormedAddCommGroup F\ninst✝² : NormedSpace 𝕜 F\nE : Type ?u.87857\ninst✝¹ : NormedAddCommGroup E\ninst✝ : NormedSpace 𝕜 E\nn : ℕ\nf : 𝕜 → F\ns : Set 𝕜\nx✝ x : 𝕜\nhxs : UniqueDiffOn 𝕜 s\nhx : x ∈ s\n⊢ ((fun g => de... | [
213,
89
] | 5a919533f110b7d76410134a237ee374f24eaaad | https://github.com/leanprover-community/mathlib4 | [
211,
1
] |
Mathlib/Algebra/Order/Field/Basic.lean | inv_le_of_inv_le | [] | [
269,
46
] | 5a919533f110b7d76410134a237ee374f24eaaad | https://github.com/leanprover-community/mathlib4 | [
268,
1
] |
Mathlib/Data/Polynomial/Derivative.lean | Polynomial.coeff_iterate_derivative_as_prod_Ico | [
{
"state_after": "case zero\nR : Type u\nS : Type v\nT : Type w\nι : Type y\nA : Type z\na b : R\nn : ℕ\ninst✝ : Semiring R\np : R[X]\n⊢ ∀ (m : ℕ),\n coeff ((↑derivative^[Nat.zero]) p) m = (∏ i in Ico (Nat.succ m) (m + Nat.succ Nat.zero), i) • coeff p (m + Nat.zero)\n\ncase succ\nR : Type u\nS : Type v\nT : ... | [
410,
43
] | 5a919533f110b7d76410134a237ee374f24eaaad | https://github.com/leanprover-community/mathlib4 | [
394,
1
] |
Mathlib/Data/Matrix/Notation.lean | Matrix.vecMul_cons | [
{
"state_after": "case h\nα : Type u\no n m : ℕ\nm' : Type uₘ\nn' : Type uₙ\no' : Type uₒ\na b : ℕ\ninst✝ : Semiring α\nv : Fin (Nat.succ n) → α\nw : o' → α\nB : Fin n → o' → α\ni : o'\n⊢ vecMul v (↑of (vecCons w B)) i = (vecHead v • w + vecMul (vecTail v) (↑of B)) i",
"state_before": "α : Type u\no n m : ℕ... | [
286,
16
] | 5a919533f110b7d76410134a237ee374f24eaaad | https://github.com/leanprover-community/mathlib4 | [
283,
1
] |
Mathlib/Algebra/Algebra/Hom.lean | AlgHom.toLinearMap_apply | [] | [
371,
6
] | 5a919533f110b7d76410134a237ee374f24eaaad | https://github.com/leanprover-community/mathlib4 | [
370,
1
] |
Mathlib/Control/EquivFunctor.lean | EquivFunctor.mapEquiv_refl | [
{
"state_after": "f : Type u₀ → Type u₁\ninst✝ : EquivFunctor f\nα✝ β : Type u₀\ne : α✝ ≃ β\nα : Type u₀\n⊢ { toFun := id, invFun := id, left_inv := (_ : LeftInverse id id), right_inv := (_ : Function.RightInverse id id) } =\n Equiv.refl (f α)",
"state_before": "f : Type u₀ → Type u₁\ninst✝ : EquivFuncto... | [
73,
35
] | 5a919533f110b7d76410134a237ee374f24eaaad | https://github.com/leanprover-community/mathlib4 | [
72,
1
] |
Mathlib/Topology/LocallyConstant/Basic.lean | IsLocallyConstant.prod_mk | [] | [
140,
90
] | 5a919533f110b7d76410134a237ee374f24eaaad | https://github.com/leanprover-community/mathlib4 | [
137,
1
] |
Mathlib/LinearAlgebra/TensorProduct.lean | TensorProduct.ext_threefold | [
{
"state_after": "case H.H.h.h.h\nR : Type u_1\ninst✝¹⁴ : CommSemiring R\nR' : Type ?u.714453\ninst✝¹³ : Monoid R'\nR'' : Type ?u.714459\ninst✝¹² : Semiring R''\nM : Type u_4\nN : Type u_3\nP : Type u_2\nQ : Type u_5\nS : Type ?u.714477\ninst✝¹¹ : AddCommMonoid M\ninst✝¹⁰ : AddCommMonoid N\ninst✝⁹ : AddCommMono... | [
596,
16
] | 5a919533f110b7d76410134a237ee374f24eaaad | https://github.com/leanprover-community/mathlib4 | [
593,
1
] |
Mathlib/Topology/Sheaves/Stalks.lean | TopCat.Presheaf.stalkSpecializes_stalkFunctor_map | [
{
"state_after": "C : Type u\ninst✝¹ : Category C\ninst✝ : HasColimits C\nX Y Z : TopCat\nF G : Presheaf C X\nf : F ⟶ G\nx y : ↑X\nh : x ⤳ y\n⊢ stalkSpecializes F h ≫ (stalkFunctor C x).map f = (stalkFunctor C y).map f ≫ stalkSpecializes G h",
"state_before": "C : Type u\ninst✝¹ : Category C\ninst✝ : HasCol... | [
362,
65
] | 5a919533f110b7d76410134a237ee374f24eaaad | https://github.com/leanprover-community/mathlib4 | [
358,
1
] |
Mathlib/Order/Hom/CompleteLattice.lean | sSupHom.coe_id | [] | [
300,
6
] | 5a919533f110b7d76410134a237ee374f24eaaad | https://github.com/leanprover-community/mathlib4 | [
299,
1
] |
Mathlib/Init/Algebra/Order.lean | lt_asymm | [] | [
111,
97
] | 5a919533f110b7d76410134a237ee374f24eaaad | https://github.com/leanprover-community/mathlib4 | [
111,
1
] |
Mathlib/MeasureTheory/Measure/MeasureSpace.lean | MeasureTheory.Measure.comapₗ_eq_comap | [] | [
1337,
70
] | 5a919533f110b7d76410134a237ee374f24eaaad | https://github.com/leanprover-community/mathlib4 | [
1334,
1
] |
Mathlib/Topology/Separation.lean | SeparatedNhds.preimage | [] | [
134,
19
] | 5a919533f110b7d76410134a237ee374f24eaaad | https://github.com/leanprover-community/mathlib4 | [
130,
1
] |
Mathlib/RingTheory/OreLocalization/Basic.lean | OreLocalization.mul_assoc | [
{
"state_after": "case c\nR : Type u_1\ninst✝¹ : Monoid R\nS : Submonoid R\ninst✝ : OreSet S\ny z : OreLocalization R S\nr₁ : R\ns₁ : { x // x ∈ S }\n⊢ r₁ /ₒ s₁ * y * z = r₁ /ₒ s₁ * (y * z)",
"state_before": "R : Type u_1\ninst✝¹ : Monoid R\nS : Submonoid R\ninst✝ : OreSet S\nx y z : OreLocalization R S\n⊢ ... | [
319,
61
] | 5a919533f110b7d76410134a237ee374f24eaaad | https://github.com/leanprover-community/mathlib4 | [
305,
11
] |
Mathlib/Data/Rat/Denumerable.lean | Cardinal.mkRat | [
{
"state_after": "no goals",
"state_before": "⊢ (#ℚ) = ℵ₀",
"tactic": "simp only [mk_eq_aleph0]"
}
] | [
46,
66
] | 5a919533f110b7d76410134a237ee374f24eaaad | https://github.com/leanprover-community/mathlib4 | [
46,
1
] |
Mathlib/ModelTheory/Basic.lean | FirstOrder.Language.Embedding.ofInjective_toHom | [
{
"state_after": "case h\nL : Language\nL' : Language\nM : Type w\nN : Type w'\ninst✝⁴ : Structure L M\ninst✝³ : Structure L N\nP : Type ?u.148304\ninst✝² : Structure L P\nQ : Type ?u.148312\ninst✝¹ : Structure L Q\ninst✝ : IsAlgebraic L\nf : M →[L] N\nhf : Function.Injective ↑f\nx✝ : M\n⊢ ↑(toHom (ofInjective ... | [
685,
12
] | 5a919533f110b7d76410134a237ee374f24eaaad | https://github.com/leanprover-community/mathlib4 | [
683,
1
] |
Mathlib/FieldTheory/Adjoin.lean | IntermediateField.induction_on_adjoin_finset | [
{
"state_after": "case refine'_1\nF : Type u_2\ninst✝² : Field F\nE : Type u_1\ninst✝¹ : Field E\ninst✝ : Algebra F E\nS : Finset E\nP : IntermediateField F E → Prop\nbase : P ⊥\nih : ∀ (K : IntermediateField F E) (x : E), x ∈ S → P K → P (restrictScalars F { x // x ∈ K }⟮x⟯)\n⊢ P (adjoin F ↑∅)\n\ncase refine'_... | [
951,
33
] | 5a919533f110b7d76410134a237ee374f24eaaad | https://github.com/leanprover-community/mathlib4 | [
945,
1
] |
Mathlib/Order/Filter/Germ.lean | Filter.Germ.const_div | [] | [
476,
6
] | 5a919533f110b7d76410134a237ee374f24eaaad | https://github.com/leanprover-community/mathlib4 | [
475,
1
] |
Mathlib/Topology/MetricSpace/Lipschitz.lean | LipschitzWith.dist_le_mul_of_le | [
{
"state_after": "no goals",
"state_before": "α : Type u\nβ : Type v\nγ : Type w\nι : Type x\ninst✝² : PseudoMetricSpace α\ninst✝¹ : PseudoMetricSpace β\ninst✝ : PseudoMetricSpace γ\nK : ℝ≥0\nf : α → β\nx y : α\nr : ℝ\nhf : LipschitzWith K f\nhr : dist x y ≤ r\n⊢ ↑K * dist x y ≤ ↑K * r",
"tactic": "gcon... | [
356,
42
] | 5a919533f110b7d76410134a237ee374f24eaaad | https://github.com/leanprover-community/mathlib4 | [
355,
1
] |
Mathlib/MeasureTheory/Measure/MeasureSpace.lean | MeasureTheory.Measure.isTopologicalBasis_isOpen_lt_top | [
{
"state_after": "α : Type u_1\nβ : Type ?u.831042\nγ : Type ?u.831045\nδ : Type ?u.831048\nι : Type ?u.831051\nR : Type ?u.831054\nR' : Type ?u.831057\nm0 : MeasurableSpace α\ninst✝³ : MeasurableSpace β\ninst✝² : MeasurableSpace γ\nμ✝ μ₁ μ₂ μ₃ ν ν' ν₁ ν₂ : Measure α\ns s' t : Set α\ninst✝¹ : TopologicalSpace α... | [
3928,
45
] | 5a919533f110b7d76410134a237ee374f24eaaad | https://github.com/leanprover-community/mathlib4 | [
3921,
11
] |
Mathlib/Analysis/Normed/Group/Seminorm.lean | GroupSeminorm.le_def | [] | [
225,
10
] | 5a919533f110b7d76410134a237ee374f24eaaad | https://github.com/leanprover-community/mathlib4 | [
224,
1
] |
Mathlib/Topology/ContinuousFunction/StoneWeierstrass.lean | ContinuousMap.comp_attachBound_mem_closure | [
{
"state_after": "X : Type u_1\ninst✝¹ : TopologicalSpace X\ninst✝ : CompactSpace X\nA : Subalgebra ℝ C(X, ℝ)\nf : { x // x ∈ A }\np : C(↑(Set.Icc (-‖f‖) ‖f‖), ℝ)\nmem_closure : p ∈ Subalgebra.topologicalClosure (polynomialFunctions (Set.Icc (-‖f‖) ‖f‖))\n⊢ comp p (attachBound ↑f) ∈ Subalgebra.topologicalClosur... | [
111,
40
] | 5a919533f110b7d76410134a237ee374f24eaaad | https://github.com/leanprover-community/mathlib4 | [
92,
1
] |
Mathlib/Order/Hom/Basic.lean | OrderEmbedding.map_inf_le | [] | [
1188,
28
] | 5a919533f110b7d76410134a237ee374f24eaaad | https://github.com/leanprover-community/mathlib4 | [
1186,
1
] |
Mathlib/Data/Finset/Powerset.lean | Finset.mem_ssubsets | [
{
"state_after": "no goals",
"state_before": "α : Type u_1\ns✝ t✝ : Finset α\ninst✝ : DecidableEq α\ns t : Finset α\n⊢ t ∈ ssubsets s ↔ t ⊂ s",
"tactic": "rw [ssubsets, mem_erase, mem_powerset, ssubset_iff_subset_ne, and_comm]"
}
] | [
159,
74
] | 5a919533f110b7d76410134a237ee374f24eaaad | https://github.com/leanprover-community/mathlib4 | [
158,
1
] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.